@maggioli-design-system/magma 2.0.0-beta.3 → 2.0.0

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 (1639) hide show
  1. package/README.md +37 -4
  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/locale.it-CfUV2hxK.js +515 -0
  12. package/dist/cjs/magma-components.cjs.js +31 -4
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
  17. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  20. package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
  21. package/dist/cjs/mds-badge.cjs.entry.js +5 -26
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
  31. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  34. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-card.cjs.entry.js +4 -21
  36. package/dist/cjs/mds-details.cjs.entry.js +8 -18
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
  38. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  39. package/dist/cjs/mds-entity.cjs.entry.js +11 -23
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +9 -37
  41. package/dist/cjs/mds-file.cjs.entry.js +7 -35
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
  43. package/dist/cjs/mds-filter.cjs.entry.js +19 -32
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
  45. package/dist/cjs/mds-header.cjs.entry.js +8 -22
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  47. package/dist/cjs/mds-hr.cjs.entry.js +4 -17
  48. package/dist/cjs/mds-img.cjs.entry.js +8 -16
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
  51. package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
  52. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
  55. package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
  59. package/dist/cjs/mds-input.cjs.entry.js +23 -52
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +7 -29
  65. package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
  66. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  68. package/dist/cjs/mds-modal.cjs.entry.js +54 -47
  69. package/dist/cjs/mds-note.cjs.entry.js +7 -35
  70. package/dist/cjs/mds-notification.cjs.entry.js +12 -14
  71. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
  72. package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
  73. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
  74. package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
  75. package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
  76. package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
  77. package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
  78. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  79. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  80. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  81. package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
  82. package/dist/cjs/mds-pref.cjs.entry.js +40 -17
  83. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
  84. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
  85. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
  86. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
  89. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
  91. package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
  92. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
  93. package/dist/cjs/mds-quote.cjs.entry.js +4 -13
  94. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  96. package/dist/cjs/mds-separator.cjs.entry.js +4 -21
  97. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
  98. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
  99. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  100. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
  101. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
  102. package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
  103. package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
  104. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
  105. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
  106. package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
  107. package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
  108. package/dist/cjs/mds-table.cjs.entry.js +60 -50
  109. package/dist/cjs/mds-text.cjs.entry.js +36 -21
  110. package/dist/cjs/mds-toast.cjs.entry.js +10 -27
  111. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
  112. package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
  113. package/dist/cjs/mds-tree.cjs.entry.js +12 -6
  114. package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
  115. package/dist/cjs/mds-usage.cjs.entry.js +5 -33
  116. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  117. package/dist/cjs/mds-zero.cjs.entry.js +4 -25
  118. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  119. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  120. package/dist/collection/collection-manifest.json +3 -3
  121. package/dist/collection/common/date.js +9 -1
  122. package/dist/collection/common/file.js +13 -10
  123. package/dist/collection/common/floating-controller.js +175 -9
  124. package/dist/collection/common/form.js +18 -0
  125. package/dist/collection/common/keyboard-manager.js +5 -5
  126. package/dist/collection/common/locale.js +9 -31
  127. package/dist/collection/common/preference.js +83 -59
  128. package/dist/collection/common/slot.js +14 -1
  129. package/dist/collection/common/yugop/random-text.js +12 -3
  130. package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
  131. package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
  132. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
  133. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
  134. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
  135. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
  137. package/dist/collection/components/mds-author/mds-author.css +4 -0
  138. package/dist/collection/components/mds-author/mds-author.js +14 -2
  139. package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
  140. package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
  141. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
  142. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  143. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
  144. package/dist/collection/components/mds-badge/mds-badge.css +168 -155
  145. package/dist/collection/components/mds-badge/mds-badge.js +2 -31
  146. package/dist/collection/components/mds-banner/mds-banner.css +149 -192
  147. package/dist/collection/components/mds-banner/mds-banner.js +10 -58
  148. package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
  149. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
  150. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
  151. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  152. package/dist/collection/components/mds-button/mds-button.css +285 -333
  153. package/dist/collection/components/mds-button/mds-button.js +4 -24
  154. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  155. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  156. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
  157. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  158. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  159. package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
  160. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  161. package/dist/collection/components/mds-card/mds-card.css +11 -35
  162. package/dist/collection/components/mds-card/mds-card.js +2 -22
  163. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  164. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  165. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  166. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  167. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  168. package/dist/collection/components/mds-chip/mds-chip.css +317 -278
  169. package/dist/collection/components/mds-chip/mds-chip.js +19 -61
  170. package/dist/collection/components/mds-details/mds-details.css +52 -28
  171. package/dist/collection/components/mds-details/mds-details.js +4 -16
  172. package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
  173. package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
  174. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  175. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  176. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  177. package/dist/collection/components/mds-entity/mds-entity.css +25 -76
  178. package/dist/collection/components/mds-entity/mds-entity.js +13 -24
  179. package/dist/collection/components/mds-file/mds-file.css +103 -79
  180. package/dist/collection/components/mds-file/mds-file.js +2 -56
  181. package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
  182. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
  183. package/dist/collection/components/mds-filter/mds-filter.css +66 -78
  184. package/dist/collection/components/mds-filter/mds-filter.js +16 -33
  185. package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
  186. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
  187. package/dist/collection/components/mds-header/mds-header.css +15 -68
  188. package/dist/collection/components/mds-header/mds-header.js +5 -22
  189. package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
  191. package/dist/collection/components/mds-help/mds-help.css +1 -19
  192. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
  193. package/dist/collection/components/mds-hr/mds-hr.css +6 -18
  194. package/dist/collection/components/mds-hr/mds-hr.js +2 -21
  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 +5 -36
  198. package/dist/collection/components/mds-input/mds-input.css +120 -158
  199. package/dist/collection/components/mds-input/mds-input.js +33 -65
  200. package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
  201. package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
  202. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
  203. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
  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 +33 -45
  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 +61 -19
  209. package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
  210. package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
  211. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
  212. package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
  213. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
  214. package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
  215. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
  216. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
  217. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
  218. package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
  219. package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
  220. package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
  221. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
  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 +103 -40
  226. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
  227. package/dist/collection/components/mds-label/mds-label.css +265 -354
  228. package/dist/collection/components/mds-label/mds-label.js +3 -54
  229. package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
  230. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
  231. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  232. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  233. package/dist/collection/components/mds-modal/mds-modal.css +71 -101
  234. package/dist/collection/components/mds-modal/mds-modal.js +72 -45
  235. package/dist/collection/components/mds-note/mds-note.css +220 -198
  236. package/dist/collection/components/mds-note/mds-note.js +3 -61
  237. package/dist/collection/components/mds-notification/mds-notification.css +55 -89
  238. package/dist/collection/components/mds-notification/mds-notification.js +9 -16
  239. package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
  240. package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
  241. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
  242. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
  243. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
  244. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
  245. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  246. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
  247. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
  248. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
  249. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
  250. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
  251. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
  252. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  253. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  254. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  255. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  256. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  257. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  258. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  259. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
  260. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  261. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  262. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  263. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  264. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
  265. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
  266. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
  267. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
  268. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
  269. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
  270. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  271. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
  272. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
  273. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
  274. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  275. package/dist/collection/components/mds-progress/mds-progress.css +100 -94
  276. package/dist/collection/components/mds-progress/mds-progress.js +2 -27
  277. package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
  278. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
  279. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
  280. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
  281. package/dist/collection/components/mds-quote/mds-quote.css +2 -2
  282. package/dist/collection/components/mds-quote/mds-quote.js +2 -16
  283. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  284. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  285. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  286. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  287. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  288. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  289. package/dist/collection/components/mds-separator/mds-separator.css +12 -42
  290. package/dist/collection/components/mds-separator/mds-separator.js +2 -26
  291. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
  292. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
  293. package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
  294. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
  295. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
  296. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  297. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
  298. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
  299. package/dist/collection/components/mds-tab/mds-tab.css +85 -189
  300. package/dist/collection/components/mds-tab/mds-tab.js +5 -27
  301. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
  302. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
  303. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
  304. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
  305. package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
  306. package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
  307. package/dist/collection/components/mds-table/mds-table.css +86 -130
  308. package/dist/collection/components/mds-table/mds-table.js +57 -52
  309. package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
  310. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
  311. package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
  312. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
  313. package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
  314. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
  315. package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
  316. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
  317. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
  318. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
  319. package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
  320. package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
  321. package/dist/collection/components/mds-text/mds-text.css +18 -38
  322. package/dist/collection/components/mds-text/mds-text.js +23 -22
  323. package/dist/collection/components/mds-toast/mds-toast.css +99 -90
  324. package/dist/collection/components/mds-toast/mds-toast.js +8 -28
  325. package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
  326. package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
  327. package/dist/collection/components/mds-tree/mds-tree.css +20 -212
  328. package/dist/collection/components/mds-tree/mds-tree.js +10 -4
  329. package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
  330. package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
  331. package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
  332. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
  333. package/dist/collection/components/mds-usage/mds-usage.css +80 -95
  334. package/dist/collection/components/mds-usage/mds-usage.js +2 -60
  335. package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
  336. package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
  337. package/dist/collection/components/mds-zero/mds-zero.css +56 -18
  338. package/dist/collection/components/mds-zero/mds-zero.js +2 -31
  339. package/dist/collection/event-detail/theme.js +1 -0
  340. package/dist/collection/type/preference.js +22 -3
  341. package/dist/components/index.d.ts +230 -0
  342. package/dist/components/index.js +1 -1
  343. package/dist/components/mds-accordion-item.js +1 -1
  344. package/dist/components/mds-accordion-timer-item.js +1 -1
  345. package/dist/components/mds-accordion-timer.js +1 -1
  346. package/dist/components/mds-accordion.js +1 -1
  347. package/dist/components/mds-author.js +1 -1
  348. package/dist/components/mds-avatar-stack-item.js +1 -1
  349. package/dist/components/mds-avatar-stack.js +1 -1
  350. package/dist/components/mds-avatar.js +1 -1
  351. package/dist/components/mds-badge.js +1 -1
  352. package/dist/components/mds-banner.js +1 -1
  353. package/dist/components/mds-benchmark-bar.js +1 -1
  354. package/dist/components/mds-bibliography.js +1 -1
  355. package/dist/components/mds-breadcrumb-item.js +1 -1
  356. package/dist/components/mds-breadcrumb.js +1 -1
  357. package/dist/components/mds-button-dropdown.js +1 -1
  358. package/dist/components/mds-button-group.js +1 -1
  359. package/dist/components/mds-button.js +1 -1
  360. package/dist/components/mds-calendar-cell.js +1 -1
  361. package/dist/components/mds-calendar.js +1 -1
  362. package/dist/components/mds-card-content.js +1 -1
  363. package/dist/components/mds-card-footer.js +1 -1
  364. package/dist/components/mds-card-header.js +1 -1
  365. package/dist/components/mds-card-media.js +1 -1
  366. package/dist/components/mds-card.js +1 -1
  367. package/dist/components/mds-chip.js +1 -1
  368. package/dist/components/mds-details.js +1 -1
  369. package/dist/components/mds-dropdown.js +1 -1
  370. package/dist/components/mds-emoji.js +3 -3
  371. package/dist/components/mds-entity.js +1 -1
  372. package/dist/components/mds-file-preview.js +1 -1
  373. package/dist/components/mds-file.js +3 -3
  374. package/dist/components/mds-filter-item.js +1 -1
  375. package/dist/components/mds-filter.js +1 -1
  376. package/dist/components/mds-header-bar.js +1 -1
  377. package/dist/components/mds-header.js +1 -1
  378. package/dist/components/mds-help.js +1 -1
  379. package/dist/components/mds-horizontal-scroll.js +1 -1
  380. package/dist/components/mds-hr.js +1 -1
  381. package/dist/components/mds-icon.js +1 -1
  382. package/dist/components/mds-img.js +1 -1
  383. package/dist/components/mds-input-date-range-preselection.js +1 -1
  384. package/dist/components/mds-input-date-range.js +1 -1
  385. package/dist/components/mds-input-date.js +1 -1
  386. package/dist/components/mds-input-field.js +1 -1
  387. package/dist/components/mds-input-otp.js +1 -1
  388. package/dist/components/mds-input-range.js +1 -1
  389. package/dist/components/mds-input-select.js +1 -1
  390. package/dist/components/mds-input-switch.js +1 -1
  391. package/dist/components/mds-input-tip-item.js +1 -1
  392. package/dist/components/mds-input-tip.js +1 -1
  393. package/dist/components/mds-input-upload.js +1 -1
  394. package/dist/components/mds-input.js +1 -1
  395. package/dist/components/mds-keyboard-key.js +1 -1
  396. package/dist/components/mds-keyboard.js +1 -1
  397. package/dist/components/mds-kpi-item.js +1 -1
  398. package/dist/components/mds-kpi.js +1 -1
  399. package/dist/components/mds-label.js +1 -1
  400. package/dist/components/mds-list-item.js +1 -1
  401. package/dist/components/mds-list.js +1 -1
  402. package/dist/components/mds-mention.js +1 -1
  403. package/dist/components/mds-modal.js +1 -1
  404. package/dist/components/mds-note.js +1 -1
  405. package/dist/components/mds-notification.js +1 -1
  406. package/dist/components/mds-paginator-item.js +1 -1
  407. package/dist/components/mds-paginator.js +1 -1
  408. package/dist/components/mds-policy-ai.js +1 -1
  409. package/dist/components/mds-pref-animation.js +1 -1
  410. package/dist/components/mds-pref-consumption.js +1 -1
  411. package/dist/components/mds-pref-contrast.js +1 -1
  412. package/dist/components/mds-pref-language-item.js +1 -1
  413. package/dist/components/mds-pref-language.js +1 -1
  414. package/dist/components/mds-pref-mode.d.ts +11 -0
  415. package/dist/components/mds-pref-mode.js +1 -0
  416. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  417. package/dist/components/mds-pref-theme-item.js +1 -0
  418. package/dist/components/mds-pref-theme.js +1 -1
  419. package/dist/components/mds-pref.js +1 -1
  420. package/dist/components/mds-price-table-features-cell.js +1 -1
  421. package/dist/components/mds-price-table-features-row.js +1 -1
  422. package/dist/components/mds-price-table-features.js +1 -1
  423. package/dist/components/mds-price-table-header.js +1 -1
  424. package/dist/components/mds-price-table-list-item.js +1 -1
  425. package/dist/components/mds-price-table-list.js +1 -1
  426. package/dist/components/mds-price-table.js +1 -1
  427. package/dist/components/mds-progress.js +1 -1
  428. package/dist/components/mds-push-notification-item.js +1 -1
  429. package/dist/components/mds-push-notification.js +1 -1
  430. package/dist/components/mds-quote.js +1 -1
  431. package/dist/components/mds-radial-menu-item.js +1 -1
  432. package/dist/components/mds-radial-menu.js +1 -1
  433. package/dist/components/mds-radial-progress.js +1 -1
  434. package/dist/components/mds-separator.js +1 -1
  435. package/dist/components/mds-spinner.js +1 -1
  436. package/dist/components/mds-status-bar.js +1 -1
  437. package/dist/components/mds-stepper-bar-item.js +1 -1
  438. package/dist/components/mds-stepper-bar.js +1 -1
  439. package/dist/components/mds-tab-bar-item.js +1 -1
  440. package/dist/components/mds-tab-bar.js +1 -1
  441. package/dist/components/mds-tab-item.js +1 -1
  442. package/dist/components/mds-tab.js +1 -1
  443. package/dist/components/mds-table-body.js +1 -1
  444. package/dist/components/mds-table-cell.js +1 -1
  445. package/dist/components/mds-table-footer.js +1 -1
  446. package/dist/components/mds-table-header-cell.js +1 -1
  447. package/dist/components/mds-table-header.js +1 -1
  448. package/dist/components/mds-table-row.js +1 -1
  449. package/dist/components/mds-table.js +1 -1
  450. package/dist/components/mds-text.js +1 -1
  451. package/dist/components/mds-toast.js +1 -1
  452. package/dist/components/mds-tooltip.js +1 -1
  453. package/dist/components/mds-tree-item.js +1 -1
  454. package/dist/components/mds-tree.js +1 -1
  455. package/dist/components/mds-url-view.js +1 -1
  456. package/dist/components/mds-usage.js +1 -1
  457. package/dist/components/mds-video-wall.js +1 -1
  458. package/dist/components/mds-zero.js +1 -1
  459. package/dist/components/p--8aaJX-p.js +1 -0
  460. package/dist/components/p-A9TZf0Ii.js +1 -0
  461. package/dist/components/p-B2A_hlV2.js +1 -0
  462. package/dist/components/p-B9DJLgwr.js +1 -0
  463. package/dist/components/p-BH3bWzRT.js +1 -0
  464. package/dist/components/p-BJNK4p33.js +1 -0
  465. package/dist/components/p-BNHXZ-JR.js +1 -0
  466. package/dist/components/p-BSxuG1vZ.js +1 -0
  467. package/dist/components/p-BTHR4xXu.js +1 -0
  468. package/dist/components/p-BhFTcUD0.js +3 -0
  469. package/dist/components/p-BouRLCYL.js +1 -0
  470. package/dist/components/p-Bss3F51Q.js +5 -0
  471. package/dist/components/p-Bt4xX5ww.js +1 -0
  472. package/dist/components/p-C03KYHGv.js +1 -0
  473. package/dist/components/p-C58NKMEE.js +1 -0
  474. package/dist/components/p-CACEYk42.js +1 -0
  475. package/dist/components/p-CBLAz3_J.js +1 -0
  476. package/dist/components/p-CHAGzQT-.js +1 -0
  477. package/dist/components/p-CVgKDZPF.js +1 -0
  478. package/dist/components/p-CVpjH8Un.js +1 -0
  479. package/dist/components/p-Caksrfcd.js +1 -0
  480. package/dist/components/p-CatD1iUY.js +1 -0
  481. package/dist/components/p-CbufYCNj.js +1 -0
  482. package/dist/components/p-Cehcn85x.js +1 -0
  483. package/dist/components/p-ClKNADBg.js +8 -0
  484. package/dist/components/p-CsgCQiHG.js +1 -0
  485. package/dist/components/p-CvIFS8oA.js +1 -0
  486. package/dist/components/p-D3-GP4KF.js +1 -0
  487. package/dist/components/p-D8I1RblC.js +1 -0
  488. package/dist/components/p-DLE5TNTp.js +1 -0
  489. package/dist/components/p-DaI5QqNu.js +1 -0
  490. package/dist/components/p-Deh5Aia-.js +1 -0
  491. package/dist/components/p-Dj_oN194.js +1 -0
  492. package/dist/components/p-DmELzfvf.js +1 -0
  493. package/dist/components/p-DtxB7DYE.js +1 -0
  494. package/dist/components/p-KRu9I7dw.js +1 -0
  495. package/dist/components/p-cBZsPiMJ.js +1 -0
  496. package/dist/components/p-s2Gu6hY7.js +1 -0
  497. package/dist/components/p-sqRs6oj4.js +1 -0
  498. package/dist/components/p-wq6nWuWE.js +1 -0
  499. package/dist/documentation.json +751 -1138
  500. package/dist/esm/date-CACEYk42.js +22 -0
  501. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  502. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  503. package/dist/esm/form-A9TZf0Ii.js +19 -0
  504. package/dist/esm/index-DIiEV39g.js +5149 -0
  505. package/dist/esm/index.js +17 -0
  506. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  507. package/dist/esm/loader.js +3 -3
  508. package/dist/esm/locale-CbJbTW_c.js +814 -0
  509. package/dist/esm/locale.it-Cvxh7La5.js +506 -0
  510. package/dist/esm/magma-components.js +32 -5
  511. package/dist/esm/mds-accordion-item.entry.js +7 -28
  512. package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
  513. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  514. package/dist/esm/mds-accordion.entry.js +5 -22
  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 +8 -21
  519. package/dist/esm/mds-badge.entry.js +5 -26
  520. package/dist/esm/mds-banner_3.entry.js +35 -70
  521. package/dist/esm/mds-benchmark-bar.entry.js +2 -2
  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 +7 -15
  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 +10 -32
  528. package/dist/esm/mds-calendar_2.entry.js +123 -102
  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 +4 -21
  534. package/dist/esm/mds-details.entry.js +8 -18
  535. package/dist/esm/mds-dropdown.entry.js +184 -58
  536. package/dist/esm/mds-emoji.entry.js +301 -181
  537. package/dist/esm/mds-entity.entry.js +11 -23
  538. package/dist/esm/mds-file-preview.entry.js +9 -37
  539. package/dist/esm/mds-file.entry.js +7 -35
  540. package/dist/esm/mds-filter-item.entry.js +6 -25
  541. package/dist/esm/mds-filter.entry.js +19 -32
  542. package/dist/esm/mds-header-bar.entry.js +11 -27
  543. package/dist/esm/mds-header.entry.js +8 -22
  544. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  545. package/dist/esm/mds-hr.entry.js +4 -17
  546. package/dist/esm/mds-img.entry.js +8 -16
  547. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  548. package/dist/esm/mds-input-date-range.entry.js +57 -43
  549. package/dist/esm/mds-input-date.entry.js +14 -44
  550. package/dist/esm/mds-input-field.entry.js +42 -6
  551. package/dist/esm/mds-input-otp.entry.js +37 -3
  552. package/dist/esm/mds-input-range.entry.js +9 -29
  553. package/dist/esm/mds-input-select.entry.js +11 -41
  554. package/dist/esm/mds-input-switch_2.entry.js +19 -55
  555. package/dist/esm/mds-input-tip_2.entry.js +8 -40
  556. package/dist/esm/mds-input-upload.entry.js +34 -36
  557. package/dist/esm/mds-input.entry.js +23 -52
  558. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  559. package/dist/esm/mds-keyboard.entry.js +5 -25
  560. package/dist/esm/mds-kpi-item.entry.js +12 -25
  561. package/dist/esm/mds-kpi.entry.js +2 -2
  562. package/dist/esm/mds-label.entry.js +7 -29
  563. package/dist/esm/mds-list-item.entry.js +4 -13
  564. package/dist/esm/mds-list.entry.js +1 -1
  565. package/dist/esm/mds-mention.entry.js +38 -4
  566. package/dist/esm/mds-modal.entry.js +54 -47
  567. package/dist/esm/mds-note.entry.js +7 -35
  568. package/dist/esm/mds-notification.entry.js +12 -14
  569. package/dist/esm/mds-paginator-item.entry.js +5 -20
  570. package/dist/esm/mds-paginator.entry.js +27 -32
  571. package/dist/esm/mds-policy-ai.entry.js +5 -15
  572. package/dist/esm/mds-pref-animation.entry.js +7 -23
  573. package/dist/esm/mds-pref-consumption.entry.js +7 -23
  574. package/dist/esm/mds-pref-contrast.entry.js +10 -24
  575. package/dist/esm/mds-pref-language-item.entry.js +27 -15
  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 +147 -230
  580. package/dist/esm/mds-pref.entry.js +40 -17
  581. package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
  582. package/dist/esm/mds-price-table-features-row.entry.js +4 -25
  583. package/dist/esm/mds-price-table-features.entry.js +4 -25
  584. package/dist/esm/mds-price-table-header.entry.js +2 -2
  585. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  586. package/dist/esm/mds-price-table-list.entry.js +4 -25
  587. package/dist/esm/mds-price-table.entry.js +2 -2
  588. package/dist/esm/mds-progress_2.entry.js +7 -33
  589. package/dist/esm/mds-push-notification-item.entry.js +16 -39
  590. package/dist/esm/mds-push-notification.entry.js +7 -20
  591. package/dist/esm/mds-quote.entry.js +4 -13
  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 -21
  595. package/dist/esm/mds-status-bar.entry.js +4 -25
  596. package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
  597. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  598. package/dist/esm/mds-tab-bar-item.entry.js +6 -27
  599. package/dist/esm/mds-tab-bar.entry.js +5 -26
  600. package/dist/esm/mds-tab_2.entry.js +14 -47
  601. package/dist/esm/mds-table-body.entry.js +4 -13
  602. package/dist/esm/mds-table-footer.entry.js +4 -13
  603. package/dist/esm/mds-table-header-cell.entry.js +4 -13
  604. package/dist/esm/mds-table-header.entry.js +19 -31
  605. package/dist/esm/mds-table-row.entry.js +20 -29
  606. package/dist/esm/mds-table.entry.js +60 -50
  607. package/dist/esm/mds-text.entry.js +36 -21
  608. package/dist/esm/mds-toast.entry.js +10 -27
  609. package/dist/esm/mds-tooltip.entry.js +16 -27
  610. package/dist/esm/mds-tree-item.entry.js +12 -14
  611. package/dist/esm/mds-tree.entry.js +12 -6
  612. package/dist/esm/mds-url-view.entry.js +21 -41
  613. package/dist/esm/mds-usage.entry.js +5 -33
  614. package/dist/esm/mds-video-wall.entry.js +8 -4
  615. package/dist/esm/mds-zero.entry.js +4 -25
  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/locale.it-Cvxh7La5.js +6 -0
  629. package/dist/esm-es5/magma-components.js +4 -1
  630. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  631. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  632. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  633. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  634. package/dist/esm-es5/mds-author.entry.js +1 -1
  635. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  636. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  637. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  638. package/dist/esm-es5/mds-badge.entry.js +12 -1
  639. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  640. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  641. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  642. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  643. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  644. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  645. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  646. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  647. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  648. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  649. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  650. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  651. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  652. package/dist/esm-es5/mds-card.entry.js +7 -1
  653. package/dist/esm-es5/mds-details.entry.js +4 -1
  654. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  655. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  656. package/dist/esm-es5/mds-entity.entry.js +1 -1
  657. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  658. package/dist/esm-es5/mds-file.entry.js +2823 -3
  659. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  660. package/dist/esm-es5/mds-filter.entry.js +11 -1
  661. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  662. package/dist/esm-es5/mds-header.entry.js +30 -1
  663. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  664. package/dist/esm-es5/mds-hr.entry.js +1 -1
  665. package/dist/esm-es5/mds-img.entry.js +15 -1
  666. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  667. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  668. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  669. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  670. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  671. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  672. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  673. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  674. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  675. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  676. package/dist/esm-es5/mds-input.entry.js +134 -1
  677. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  678. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  679. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  680. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  681. package/dist/esm-es5/mds-label.entry.js +16 -1
  682. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  683. package/dist/esm-es5/mds-list.entry.js +1 -1
  684. package/dist/esm-es5/mds-mention.entry.js +4 -1
  685. package/dist/esm-es5/mds-modal.entry.js +68 -1
  686. package/dist/esm-es5/mds-note.entry.js +7 -1
  687. package/dist/esm-es5/mds-notification.entry.js +13 -1
  688. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  689. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  690. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  691. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  692. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  693. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  694. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  695. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  696. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  697. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  698. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  699. package/dist/esm-es5/mds-pref.entry.js +9 -1
  700. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  701. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  703. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  704. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  705. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  706. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  707. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  708. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  709. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  710. package/dist/esm-es5/mds-quote.entry.js +7 -1
  711. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  712. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  713. package/dist/esm-es5/mds-separator.entry.js +1 -1
  714. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  715. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  716. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  717. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  718. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  719. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  720. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  721. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  722. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  723. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  724. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  725. package/dist/esm-es5/mds-table.entry.js +15 -1
  726. package/dist/esm-es5/mds-text.entry.js +27 -1
  727. package/dist/esm-es5/mds-toast.entry.js +15 -1
  728. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  729. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  730. package/dist/esm-es5/mds-tree.entry.js +20 -1
  731. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  732. package/dist/esm-es5/mds-usage.entry.js +4 -1
  733. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  734. package/dist/esm-es5/mds-zero.entry.js +1 -1
  735. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  736. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  737. package/dist/hydrate/index.js +4281 -3175
  738. package/dist/hydrate/index.mjs +4281 -3175
  739. package/dist/magma-components/index.esm.js +1 -1
  740. package/dist/magma-components/magma-components.esm.js +1 -1
  741. package/dist/magma-components/magma-components.js +1 -1
  742. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  743. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  744. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  745. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  746. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  747. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  748. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  749. package/dist/magma-components/p-0a691082.entry.js +1 -0
  750. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  751. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  752. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  753. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  754. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  755. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  756. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  757. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  758. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  759. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  760. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  761. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  762. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  763. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  764. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  765. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  766. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  767. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  768. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  769. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  770. package/dist/magma-components/p-21891a24.entry.js +1 -0
  771. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  772. package/dist/magma-components/p-231505e8.entry.js +1 -0
  773. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  774. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  775. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  776. package/dist/magma-components/p-27ea99ee.entry.js +8 -0
  777. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  778. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  779. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  780. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  781. package/dist/magma-components/p-2de17848.entry.js +1 -0
  782. package/dist/magma-components/p-34482514.entry.js +1 -0
  783. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  784. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  785. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  786. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  787. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  788. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  789. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  790. package/dist/magma-components/p-40563e33.entry.js +1 -0
  791. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  792. package/dist/magma-components/p-421a630e.entry.js +1 -0
  793. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  794. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  795. package/dist/magma-components/p-4543501c.entry.js +1 -0
  796. package/dist/magma-components/p-454c4774.entry.js +1 -0
  797. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  798. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  799. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  800. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  801. package/dist/magma-components/p-48d37230.entry.js +1 -0
  802. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  803. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  804. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  805. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  806. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  807. package/dist/magma-components/p-4f107cb2.system.entry.js +2838 -0
  808. package/dist/magma-components/p-4oB0woT9.system.js +6 -0
  809. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  810. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  811. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  812. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  813. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  814. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  815. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  816. package/dist/magma-components/p-636cc471.entry.js +1 -0
  817. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  818. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  819. package/dist/magma-components/p-6937f340.entry.js +1 -0
  820. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  821. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  822. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  823. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  824. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  825. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  826. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  827. package/dist/magma-components/p-6de37588.entry.js +1 -0
  828. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  829. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  830. package/dist/magma-components/p-7090184f.entry.js +1 -0
  831. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  832. package/dist/magma-components/p-71804224.entry.js +1 -0
  833. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  834. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  835. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  836. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  837. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  838. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  839. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  840. package/dist/magma-components/p-78248693.entry.js +1 -0
  841. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  842. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  843. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  844. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  845. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  846. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  847. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  848. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  849. package/dist/magma-components/p-8c4fb7ec.system.entry.js +30 -0
  850. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  851. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  852. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  853. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  854. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  855. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  856. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  857. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  858. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  859. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  860. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  861. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  862. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  863. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  864. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  865. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  866. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  867. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  868. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  869. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  870. package/dist/magma-components/p-B6mQg6yQ.js +1 -0
  871. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  872. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  873. package/dist/magma-components/p-BbMKuVem.js +1 -0
  874. package/dist/magma-components/p-C0o_l0td.js +1 -0
  875. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  876. package/dist/magma-components/p-CACEYk42.js +1 -0
  877. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  878. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  879. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  880. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  881. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  882. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  883. package/dist/magma-components/p-DIiEV39g.js +3 -0
  884. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  885. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  886. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  887. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  888. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  889. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  890. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  891. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  892. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  893. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  894. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  895. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  896. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  897. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  898. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  899. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  900. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  901. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  902. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  903. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  904. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  905. package/dist/magma-components/p-b35c26f8.entry.js +18 -0
  906. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  907. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  908. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  909. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  910. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  911. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  912. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  913. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  914. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  915. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  916. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  917. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  918. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  919. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  920. package/dist/magma-components/p-c573de10.entry.js +1 -0
  921. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  922. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  923. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  924. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  925. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  926. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  927. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  928. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  929. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  930. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  931. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  932. package/dist/magma-components/p-d3116844.entry.js +1 -0
  933. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  934. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  935. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  936. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  937. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  938. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  939. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  940. package/dist/magma-components/p-d921d876.entry.js +1 -0
  941. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  942. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  943. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  944. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  945. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  946. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  947. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  948. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  949. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  950. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  951. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  952. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  953. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  954. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  955. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  956. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  957. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  958. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  959. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  960. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  961. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  962. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  963. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  964. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  965. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  966. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  967. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  968. package/dist/magma-components/p-f8369939.entry.js +1 -0
  969. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  970. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  971. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  972. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  973. package/dist/magma-components/p-fff44704.entry.js +1 -0
  974. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  975. package/dist/stats.json +5356 -7143
  976. package/dist/types/common/date.d.ts +5 -1
  977. package/dist/types/common/floating-controller.d.ts +56 -2
  978. package/dist/types/common/form.d.ts +10 -0
  979. package/dist/types/common/locale.d.ts +0 -5
  980. package/dist/types/common/preference.d.ts +48 -16
  981. package/dist/types/common/slot.d.ts +11 -1
  982. package/dist/types/common/yugop/random-text.d.ts +8 -0
  983. package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
  984. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
  985. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
  986. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  987. package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
  988. package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
  989. package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
  990. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
  991. package/dist/types/components/mds-button/mds-button.d.ts +0 -7
  992. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  993. package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
  994. package/dist/types/components/mds-card/mds-card.d.ts +0 -8
  995. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  996. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
  997. package/dist/types/components/mds-details/mds-details.d.ts +0 -5
  998. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
  999. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  1000. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
  1001. package/dist/types/components/mds-file/mds-file.d.ts +0 -15
  1002. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
  1003. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
  1004. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
  1005. package/dist/types/components/mds-header/mds-header.d.ts +0 -7
  1006. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
  1007. package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
  1008. package/dist/types/components/mds-img/mds-img.d.ts +1 -7
  1009. package/dist/types/components/mds-input/mds-input.d.ts +7 -15
  1010. package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
  1011. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
  1012. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1013. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1014. package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
  1015. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
  1016. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
  1017. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
  1018. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
  1019. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
  1020. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1021. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
  1022. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1023. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1024. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
  1025. package/dist/types/components/mds-label/mds-label.d.ts +0 -12
  1026. package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
  1027. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1028. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1029. package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
  1030. package/dist/types/components/mds-note/mds-note.d.ts +0 -15
  1031. package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
  1032. package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
  1033. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
  1034. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
  1035. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1036. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
  1037. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
  1038. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
  1039. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1040. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1041. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1042. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1043. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
  1044. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1045. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1046. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
  1047. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
  1048. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
  1049. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
  1050. package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
  1051. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
  1052. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
  1053. package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
  1054. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1055. package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
  1056. package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
  1057. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
  1058. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1059. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
  1060. package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
  1061. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
  1062. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
  1063. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
  1064. package/dist/types/components/mds-table/mds-table.d.ts +10 -14
  1065. package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
  1066. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
  1067. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
  1068. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
  1069. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
  1070. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
  1071. package/dist/types/components/mds-text/mds-text.d.ts +0 -4
  1072. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
  1073. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
  1074. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
  1075. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
  1076. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
  1077. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1078. package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
  1079. package/dist/types/components.d.ts +243 -239
  1080. package/dist/types/event-detail/preference.d.ts +2 -2
  1081. package/dist/types/event-detail/theme.d.ts +5 -0
  1082. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1083. package/dist/types/type/preference.d.ts +16 -3
  1084. package/loader/index.d.ts +1 -1
  1085. package/package.json +60 -66
  1086. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1087. package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
  1088. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1089. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1090. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1091. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1092. package/dist/cjs/locale.it-D-rxNDkm.js +0 -512
  1093. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1094. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1095. package/dist/cjs/preference-BdpIXWLP.js +0 -81
  1096. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1097. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
  1098. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1099. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1100. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1101. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1102. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1103. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1104. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1105. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1106. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1107. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1108. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1109. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1110. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1111. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1112. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1113. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1114. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1115. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1116. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1117. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1118. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1119. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1120. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1121. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1122. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1123. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1124. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1125. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1126. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1127. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1128. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1129. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1130. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1131. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1132. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1133. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1134. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1135. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1136. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1137. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1138. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1139. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1140. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1141. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1142. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1143. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1144. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1145. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1146. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1147. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1148. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1149. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1150. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1151. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1152. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
  1153. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1154. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1155. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1156. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1157. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1158. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1159. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1160. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1161. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1162. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1163. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1164. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1165. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1166. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1167. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1168. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1169. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1170. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1171. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1172. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1173. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1174. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1175. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1176. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1177. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1178. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1179. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1180. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1181. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1182. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1183. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1184. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1185. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1186. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1187. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1188. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1189. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1190. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1191. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1192. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1193. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1194. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1195. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1196. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1197. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1198. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1199. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1200. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1201. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1202. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1203. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1204. package/dist/collection/storybook/example-page.stories.js +0 -10
  1205. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1206. package/dist/collection/storybook/input-form.stories.js +0 -40
  1207. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1208. package/dist/collection/test/file.js +0 -53
  1209. package/dist/collection/test/mock.js +0 -19
  1210. package/dist/components/date.js +0 -1
  1211. package/dist/components/floating-controller.js +0 -1
  1212. package/dist/components/floating-ui.dom.js +0 -1
  1213. package/dist/components/icons-set.service.js +0 -1
  1214. package/dist/components/keyboard-manager.js +0 -1
  1215. package/dist/components/locale.it.js +0 -1
  1216. package/dist/components/locale.js +0 -5
  1217. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1218. package/dist/components/mds-avatar2.js +0 -1
  1219. package/dist/components/mds-badge2.js +0 -1
  1220. package/dist/components/mds-banner2.js +0 -1
  1221. package/dist/components/mds-button2.js +0 -1
  1222. package/dist/components/mds-calendar-cell2.js +0 -1
  1223. package/dist/components/mds-calendar2.js +0 -1
  1224. package/dist/components/mds-chip2.js +0 -1
  1225. package/dist/components/mds-dropdown2.js +0 -1
  1226. package/dist/components/mds-file-preview2.js +0 -8
  1227. package/dist/components/mds-filter-item2.js +0 -1
  1228. package/dist/components/mds-help2.js +0 -1
  1229. package/dist/components/mds-icon2.js +0 -1
  1230. package/dist/components/mds-img2.js +0 -1
  1231. package/dist/components/mds-input-switch2.js +0 -1
  1232. package/dist/components/mds-input-tip-item2.js +0 -1
  1233. package/dist/components/mds-input-tip2.js +0 -1
  1234. package/dist/components/mds-input2.js +0 -1
  1235. package/dist/components/mds-modal2.js +0 -1
  1236. package/dist/components/mds-paginator-item2.js +0 -1
  1237. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1238. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1239. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1240. package/dist/components/mds-pref-theme-variant.js +0 -1
  1241. package/dist/components/mds-progress2.js +0 -1
  1242. package/dist/components/mds-radial-progress2.js +0 -1
  1243. package/dist/components/mds-separator2.js +0 -1
  1244. package/dist/components/mds-spinner2.js +0 -1
  1245. package/dist/components/mds-tab-item2.js +0 -1
  1246. package/dist/components/mds-tab2.js +0 -1
  1247. package/dist/components/mds-table-cell2.js +0 -1
  1248. package/dist/components/mds-table-header-cell2.js +0 -1
  1249. package/dist/components/mds-text2.js +0 -1
  1250. package/dist/components/mds-tooltip2.js +0 -1
  1251. package/dist/components/preference.js +0 -1
  1252. package/dist/components/slot.js +0 -1
  1253. package/dist/esm/date-C1oxPa_J.js +0 -14
  1254. package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
  1255. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1256. package/dist/esm/index-CAd5312P.js +0 -2869
  1257. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1258. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1259. package/dist/esm/locale.it-Dj8sWDfj.js +0 -503
  1260. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1261. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1262. package/dist/esm/preference-fMwnXhio.js +0 -79
  1263. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1264. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1265. package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
  1266. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1267. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1268. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1269. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1270. package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
  1271. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1272. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1273. package/dist/esm-es5/preference-fMwnXhio.js +0 -1
  1274. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1275. package/dist/magma-components/p-0105d7c7.entry.js +0 -8
  1276. package/dist/magma-components/p-022defe8.entry.js +0 -1
  1277. package/dist/magma-components/p-02d858d0.entry.js +0 -1
  1278. package/dist/magma-components/p-0607a2b3.entry.js +0 -1
  1279. package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
  1280. package/dist/magma-components/p-0b91aae4.entry.js +0 -1
  1281. package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
  1282. package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
  1283. package/dist/magma-components/p-0e986d85.entry.js +0 -18
  1284. package/dist/magma-components/p-0ea42813.entry.js +0 -1
  1285. package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
  1286. package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
  1287. package/dist/magma-components/p-11567740.entry.js +0 -1
  1288. package/dist/magma-components/p-116238cf.system.entry.js +0 -1
  1289. package/dist/magma-components/p-1239667c.system.entry.js +0 -1
  1290. package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
  1291. package/dist/magma-components/p-16c94506.system.entry.js +0 -1
  1292. package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
  1293. package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
  1294. package/dist/magma-components/p-19446c9e.entry.js +0 -1
  1295. package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
  1296. package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
  1297. package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
  1298. package/dist/magma-components/p-2035564c.system.entry.js +0 -1
  1299. package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
  1300. package/dist/magma-components/p-21ee64ec.entry.js +0 -1
  1301. package/dist/magma-components/p-224d2f55.entry.js +0 -1
  1302. package/dist/magma-components/p-23791e85.system.entry.js +0 -1
  1303. package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
  1304. package/dist/magma-components/p-249b80a5.entry.js +0 -1
  1305. package/dist/magma-components/p-262daf4f.entry.js +0 -1
  1306. package/dist/magma-components/p-288ce251.entry.js +0 -1
  1307. package/dist/magma-components/p-2a804b82.entry.js +0 -1
  1308. package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
  1309. package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
  1310. package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
  1311. package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
  1312. package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
  1313. package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
  1314. package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
  1315. package/dist/magma-components/p-31403b12.entry.js +0 -1
  1316. package/dist/magma-components/p-31616d0b.entry.js +0 -1
  1317. package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
  1318. package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
  1319. package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
  1320. package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
  1321. package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
  1322. package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
  1323. package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
  1324. package/dist/magma-components/p-385f395d.system.entry.js +0 -1
  1325. package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
  1326. package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
  1327. package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
  1328. package/dist/magma-components/p-3de6fa18.entry.js +0 -1
  1329. package/dist/magma-components/p-41da539f.entry.js +0 -1
  1330. package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
  1331. package/dist/magma-components/p-447c2d1b.entry.js +0 -1
  1332. package/dist/magma-components/p-44e2965d.entry.js +0 -1
  1333. package/dist/magma-components/p-46266f27.entry.js +0 -1
  1334. package/dist/magma-components/p-4630472f.entry.js +0 -1
  1335. package/dist/magma-components/p-4671336c.entry.js +0 -1
  1336. package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
  1337. package/dist/magma-components/p-4a929c1c.entry.js +0 -1
  1338. package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
  1339. package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
  1340. package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
  1341. package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
  1342. package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
  1343. package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
  1344. package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
  1345. package/dist/magma-components/p-5724212b.entry.js +0 -1
  1346. package/dist/magma-components/p-5be1c273.entry.js +0 -1
  1347. package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
  1348. package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
  1349. package/dist/magma-components/p-5e626696.entry.js +0 -1
  1350. package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
  1351. package/dist/magma-components/p-5fe8c814.entry.js +0 -1
  1352. package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
  1353. package/dist/magma-components/p-611fa0a4.entry.js +0 -1
  1354. package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
  1355. package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
  1356. package/dist/magma-components/p-652b4e43.entry.js +0 -1
  1357. package/dist/magma-components/p-6a92f533.entry.js +0 -1
  1358. package/dist/magma-components/p-6b3569a0.entry.js +0 -1
  1359. package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
  1360. package/dist/magma-components/p-6ecfec17.entry.js +0 -1
  1361. package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
  1362. package/dist/magma-components/p-6ee86191.entry.js +0 -1
  1363. package/dist/magma-components/p-70719b58.entry.js +0 -1
  1364. package/dist/magma-components/p-70e1a436.entry.js +0 -1
  1365. package/dist/magma-components/p-725d9e09.entry.js +0 -1
  1366. package/dist/magma-components/p-726a76f0.entry.js +0 -1
  1367. package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
  1368. package/dist/magma-components/p-73926a10.entry.js +0 -1
  1369. package/dist/magma-components/p-7499262d.system.entry.js +0 -1
  1370. package/dist/magma-components/p-750214a3.entry.js +0 -1
  1371. package/dist/magma-components/p-7590a160.entry.js +0 -1
  1372. package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
  1373. package/dist/magma-components/p-765447d4.system.entry.js +0 -1
  1374. package/dist/magma-components/p-76cb480d.entry.js +0 -1
  1375. package/dist/magma-components/p-79e12ac8.entry.js +0 -1
  1376. package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
  1377. package/dist/magma-components/p-7c464f28.entry.js +0 -1
  1378. package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
  1379. package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
  1380. package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
  1381. package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
  1382. package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
  1383. package/dist/magma-components/p-85a2d99d.entry.js +0 -1
  1384. package/dist/magma-components/p-8620f425.entry.js +0 -1
  1385. package/dist/magma-components/p-89581b08.system.entry.js +0 -1
  1386. package/dist/magma-components/p-8964a9fe.entry.js +0 -1
  1387. package/dist/magma-components/p-899cd759.entry.js +0 -1
  1388. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1389. package/dist/magma-components/p-8b2408b2.entry.js +0 -1
  1390. package/dist/magma-components/p-8b9f6896.entry.js +0 -1
  1391. package/dist/magma-components/p-8bde0c42.entry.js +0 -1
  1392. package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
  1393. package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
  1394. package/dist/magma-components/p-93538408.system.entry.js +0 -1
  1395. package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
  1396. package/dist/magma-components/p-96f7ec63.entry.js +0 -1
  1397. package/dist/magma-components/p-97144490.entry.js +0 -1
  1398. package/dist/magma-components/p-999b0698.system.entry.js +0 -1
  1399. package/dist/magma-components/p-9e533765.system.entry.js +0 -18
  1400. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1401. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1402. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1403. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1404. package/dist/magma-components/p-CAd5312P.js +0 -2
  1405. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1406. package/dist/magma-components/p-CSb7Iu19.js +0 -1
  1407. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1408. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1409. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1410. package/dist/magma-components/p-DssKRrAV.system.js +0 -1
  1411. package/dist/magma-components/p-MSUJeuJp.js +0 -1
  1412. package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
  1413. package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
  1414. package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
  1415. package/dist/magma-components/p-a2d761d6.entry.js +0 -1
  1416. package/dist/magma-components/p-a379adca.entry.js +0 -1
  1417. package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
  1418. package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
  1419. package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
  1420. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1421. package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
  1422. package/dist/magma-components/p-a6103622.entry.js +0 -1
  1423. package/dist/magma-components/p-a6b8b861.entry.js +0 -1
  1424. package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
  1425. package/dist/magma-components/p-a716833c.system.entry.js +0 -1
  1426. package/dist/magma-components/p-a877906d.system.entry.js +0 -1
  1427. package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
  1428. package/dist/magma-components/p-a92edada.entry.js +0 -1
  1429. package/dist/magma-components/p-aafec5fe.entry.js +0 -1
  1430. package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
  1431. package/dist/magma-components/p-ac2ee475.entry.js +0 -1
  1432. package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
  1433. package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
  1434. package/dist/magma-components/p-ae433eb9.entry.js +0 -1
  1435. package/dist/magma-components/p-afaef9a1.entry.js +0 -1
  1436. package/dist/magma-components/p-b257222c.system.entry.js +0 -1
  1437. package/dist/magma-components/p-b472ed3c.entry.js +0 -1
  1438. package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
  1439. package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
  1440. package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
  1441. package/dist/magma-components/p-b97edfb5.entry.js +0 -1
  1442. package/dist/magma-components/p-bc851caf.entry.js +0 -1
  1443. package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
  1444. package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
  1445. package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
  1446. package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
  1447. package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
  1448. package/dist/magma-components/p-c01c49b6.entry.js +0 -1
  1449. package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
  1450. package/dist/magma-components/p-c036f516.entry.js +0 -1
  1451. package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
  1452. package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
  1453. package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
  1454. package/dist/magma-components/p-c92a772e.entry.js +0 -1
  1455. package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
  1456. package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
  1457. package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
  1458. package/dist/magma-components/p-cd49c455.entry.js +0 -1
  1459. package/dist/magma-components/p-d0542487.entry.js +0 -1
  1460. package/dist/magma-components/p-d0dfe659.entry.js +0 -1
  1461. package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
  1462. package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
  1463. package/dist/magma-components/p-d4295773.entry.js +0 -1
  1464. package/dist/magma-components/p-d5700423.system.entry.js +0 -1
  1465. package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
  1466. package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
  1467. package/dist/magma-components/p-daa8f835.entry.js +0 -1
  1468. package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
  1469. package/dist/magma-components/p-de0dac8f.entry.js +0 -1
  1470. package/dist/magma-components/p-de8204f9.entry.js +0 -1
  1471. package/dist/magma-components/p-e0b841e3.entry.js +0 -1
  1472. package/dist/magma-components/p-e35ab355.entry.js +0 -1
  1473. package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
  1474. package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
  1475. package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
  1476. package/dist/magma-components/p-e57698df.system.entry.js +0 -1
  1477. package/dist/magma-components/p-e669739e.entry.js +0 -1
  1478. package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
  1479. package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
  1480. package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
  1481. package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
  1482. package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
  1483. package/dist/magma-components/p-ef142420.system.entry.js +0 -1
  1484. package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
  1485. package/dist/magma-components/p-f0762290.entry.js +0 -1
  1486. package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
  1487. package/dist/magma-components/p-f4b1974a.entry.js +0 -1
  1488. package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
  1489. package/dist/magma-components/p-f83a9e08.entry.js +0 -1
  1490. package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
  1491. package/dist/magma-components/p-f91dab2b.entry.js +0 -1
  1492. package/dist/magma-components/p-fMwnXhio.js +0 -1
  1493. package/dist/magma-components/p-fa61d03c.entry.js +0 -1
  1494. package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
  1495. package/dist/magma-components/p-fbfb589c.entry.js +0 -1
  1496. package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
  1497. package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
  1498. package/dist/magma-components/p-fd574e21.entry.js +0 -1
  1499. package/dist/magma-components/p-fd649ac2.entry.js +0 -1
  1500. package/dist/magma-components/p-fed36619.entry.js +0 -1
  1501. package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
  1502. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1503. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1504. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1505. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
  1506. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1507. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1508. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1509. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1510. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1511. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1512. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1513. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1514. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1515. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1516. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1517. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1518. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1519. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1520. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1521. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1522. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1523. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1524. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1525. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1526. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1527. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1528. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1529. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1530. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1531. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1532. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1533. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1534. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1535. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1536. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1537. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1538. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1539. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1540. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1541. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1542. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1543. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1544. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1545. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1546. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1547. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1548. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1549. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1550. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1551. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1552. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1553. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1554. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1555. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1556. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1557. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1558. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1559. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1560. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
  1561. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1562. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1563. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1564. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1565. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1566. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1567. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1568. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1569. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1570. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1571. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1572. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1573. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1574. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1575. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1576. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1577. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1578. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1579. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1580. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1581. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1582. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1583. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1584. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1585. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1586. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1587. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1588. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1589. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1590. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1591. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1592. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1593. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1594. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1595. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1596. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1597. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1598. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1599. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1600. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1601. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1602. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1603. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1604. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1605. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1606. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1607. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1608. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1609. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1610. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1611. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1612. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1613. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1614. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1615. package/dist/types/test/file.d.ts +0 -35
  1616. package/dist/types/test/mock.d.ts +0 -2
  1617. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1618. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1619. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1620. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1621. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1622. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1623. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1624. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1625. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1626. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1627. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1628. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1629. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1630. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1631. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1632. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1633. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1634. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1635. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1636. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1637. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1638. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1639. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -0,0 +1,4 @@
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var miBaselineLightMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var miOutlineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var miBaselineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var darkMode$3="Σκούρο";var label$3="Λειτουργία";var lightMode$3="Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}";var systemSettings$3="Με βάση το λειτουργικό σύστημα";var localeEl={darkMode:darkMode$3,label:label$3,lightMode:lightMode$3,systemSettings:systemSettings$3};var darkMode$2="Dark";var label$2="Mode";var lightMode$2="Light{{#forced}} (forced on Safari){{/forced}}";var systemSettings$2="Based on operating system";var localeEn={darkMode:darkMode$2,label:label$2,lightMode:lightMode$2,systemSettings:systemSettings$2};var darkMode$1="Oscura";var label$1="Modo";var lightMode$1="Clara{{#forced}} (forzada en Safari){{/forced}}";var systemSettings$1="Basado en el sistema operativo";var localeEs={darkMode:darkMode$1,label:label$1,lightMode:lightMode$1,systemSettings:systemSettings$1};var darkMode="Scura";var label="Modalità";var lightMode="Chiara{{#forced}} (forzata su Safari){{/forced}}";var systemSettings="Basato sul sistema operativo";var localeIt={darkMode:darkMode,label:label,lightMode:lightMode,systemSettings:systemSettings};var mdsPrefModeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-pref-mode-overlay-fadeout-duration:.2s;--mds-pref-mode-overlay-show-duration:.3s;--mds-pref-mode-overlay-z-index:var(--magma-theme-overlay-z-index,7000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,214 163 7))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,47 182 243))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,112 85 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,8 94 133))}}"};var MdsPrefMode=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.localStorageAlias="mdsPrefMode";this.customPropertyAlias="--magma-pref-mode";this.overlayBackgroundVisible="rgb(var(--magma-surface-default))";this.overlayBackgroundHidden="rgb(var(--magma-surface-default) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-mode-overlay";this.overlayShow=false;this.disabled=false;this.updateCSSCustomProps=function(){var e,s,a;if(typeof window==="undefined")return;var i=window.getComputedStyle(t.element);t.cssOverlayShowDuration=(e=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))!==null&&e!==void 0?e:"300";t.cssOverlayFadeoutDuration=(s=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))!==null&&s!==void 0?s:"200";t.cssOverlayZIndex=(a=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))!==null&&a!==void 0?a:"6000"};
2
+ /**
3
+ * Specifies the transition of switching from a mode to another one
4
+ */this.transition="smooth";this.modes={dark:{selector:"pref-mode-dark",label:"darkMode"},system:{selector:"pref-mode-system",label:"systemSettings"},light:{selector:"pref-mode-light",label:"lightMode"}};this.setMode=function(e){t.prefChangeEvent.emit({preference:"mode"});t.mode=e;localStorage.setItem(t.localStorageAlias,t.mode);if(typeof document!=="undefined"){var s=document.querySelector("html");for(var a in t.modes){if({}.hasOwnProperty.call(t.modes,a)){s===null||s===void 0?void 0:s.classList.remove(t.modes[a].selector)}}s===null||s===void 0?void 0:s.classList.add(t.modes[e].selector);s===null||s===void 0?void 0:s.style.setProperty(t.customPropertyAlias,t.mode)}preferenceStore.state.mode=e};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return t.isDarkMode()?"dark":"light"}return e}if(t.mode==="system"){return t.isDarkMode()?"dark":"light"}return t.mode};this.instanceOverlay=function(){if(t.overlayEl==null){t.overlayEl=document.createElement("div");t.overlayEl.className=t.overlayId;t.overlayEl.style.inset="0";t.overlayEl.style.pointerEvents="none";t.overlayEl.style.position="fixed";t.overlayEl.style.transition="background-color ".concat(t.cssOverlayFadeoutDuration," ease-out");t.overlayEl.style.zIndex=t.cssOverlayZIndex}t.overlayEl.style.backgroundColor=t.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){t.overlayShow=true;t.instanceOverlay();t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;document.body.appendChild(t.overlayEl);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){t.overlayShow=true;t.instanceOverlay();document.body.appendChild(t.overlayEl);clearTimeout(t.overlaySmoothTimer);t.overlaySmoothTimer=setTimeout((function(){t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.setMode(e);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayFadeoutDuration))}),cssDurationToMilliseconds(t.cssOverlayShowDuration))}),1)};this.isModeDisabled=function(e){if(t.disabled){return true}if(t.lockedScheme==="light"){return e==="dark"}if(t.lockedScheme==="dark"){return e==="light"}return false};this.changeMode=function(e){if(t.isModeDisabled(e)){return}var s=t.getColorScheme();var a=t.getColorScheme(e);if(s===a){t.setMode(e);return}switch(t.transition){case"none":t.setMode(e);break;case"flash":t.setMode(e);t.attachFlashOverlayTransition();break;case"smooth":t.attachSmoothOverlayTransition(e);break;default:t.setMode(e);break}};this.handleModeClick=function(e){return function(){if(t.overlayShow){return}t.changeMode(e)}}}e.prototype.componentWillRender=function(){var e,t;if(!isSafari()){this.setMode((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode);return}this.disabled=true;this.mode="light"};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t){return}this.setMode(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),cssDurationToMilliseconds(this.cssOverlayFadeoutDuration))};e.prototype.render=function(){var e,t;return h(Host,{key:"93052dfea650c0b96b0818b6ded53b40b35c7490","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-text",{key:"b19e1fde7bdc84765cee7145dc6fdfd3c779339e",class:"info",typography:"caption"},h("b",{key:"5eae911ede8699c5b53d293ec195957e67a2716e"},this.t.get("label"))," ",this.disabled?this.t.get(this.modes[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label,{forced:true}):this.t.get(this.modes[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label,{forced:false})),h("mds-tab",{key:"6d7ad904ef9072c72502dcf0e49584b3784531f7",fill:true,size:this.size},h("mds-tab-item",{key:"410152bae335d83120e70f60339abe481106042d",disabled:this.isModeDisabled("light"),selected:this.mode==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:miBaselineLightMode,title:this.t.get(this.modes.light.label,{forced:false})}),h("mds-tab-item",{key:"ce522eddaeab3dec97e65d5b4ed0e7b31a8767c7",disabled:this.isModeDisabled("system"),selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings,title:this.t.get(this.modes.system.label)}),h("mds-tab-item",{key:"67889e2b7d49ab1832cb1a874624d2c5896c8738",disabled:this.isModeDisabled("dark"),selected:this.mode==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.mode==="dark"?miBaselineDarkMode:miOutlineDarkMode,title:this.t.get(this.modes.dark.label)})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefMode.style=mdsPrefModeCss();export{MdsPrefMode as mds_pref_mode};
@@ -0,0 +1,13 @@
1
+ import{r as registerInstance,d as createEvent,h,e as Host}from"./index-DIiEV39g.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miOutlineCircle}from"./circle-lZldSMeV.js";var mdsPrefThemeItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host{--mds-pref-theme-item-color-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-pref-theme-item-color-status-error:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-pref-theme-item-color-status-success:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-pref-theme-item-color-status-warning:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-pref-theme-item-color-variant-primary:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));display:flex}.label{align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.theme-preview{background-color:var(--mds-pref-theme-item-color-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225)))));border-radius:var(--radius-md,12px);-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15));box-sizing:border-box;display:inline-flex;flex-wrap:wrap;gap:calc(var(--spacing,.0025rem)*100);height:calc(var(--spacing,.0025rem)*600);margin:1px;padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}.theme-color{background-color:var(--color-tone-neutral-09,rgb(var(--tone-neutral-09,225 225 225)));border-radius:var(--radius-lg,16px);height:calc(var(--spacing,.0025rem)*150);position:relative;width:calc(var(--spacing,.0025rem)*150)}.theme-color:after{border-radius:inherit;-webkit-box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15)) inset;box-shadow:var(--shadow-ring-weak,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.15)) inset;content:"";display:flex;inset:0;position:absolute}.theme-color--variant-primary{background-color:var(--mds-pref-theme-item-color-variant-primary,rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231)))))}.theme-color--status-success{background-color:var(--mds-pref-theme-item-color-status-success,rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57))))}.theme-color--status-warning{background-color:var(--mds-pref-theme-item-color-status-warning,rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0))))}.theme-color--status-error{background-color:var(--mds-pref-theme-item-color-status-error,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}'};var MdsPrefThemeItem=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.selectThemeEvent=createEvent(this,"mdsPrefThemeItemSelect",7);
2
+ /**
3
+ * Specifies the theme name
4
+ */this.name="default";
5
+ /**
6
+ * Specifies the theme scheme which can be 'light', 'dark' or 'all'
7
+ */this.scheme="all";
8
+ /**
9
+ * Specifies if the element is selected
10
+ */this.selected=false;this.handleClick=function(){a.selectThemeEvent.emit({name:a.name,scheme:a.scheme})}}e.prototype.componentWillRender=function(){if(this.label===undefined||this.label===""){this.label=this.name.charAt(0).toUpperCase()+this.name.slice(1).replace(/-/g," ")}};e.prototype.render=function(){
11
+ // the item is an entry of the `menu` the mds-dropdown of the controller opens:
12
+ // without the role axe rejects it as a child of that menu (aria-required-children)
13
+ return h(Host,{key:"ec551ae30ccae450c5d414c0895025bed0dd170e",onClick:this.handleClick,role:"menuitem"},h("mds-button",{key:"30844b1044098c19553c4eca4295057f4a11c8da",icon:this.selected?miBaselineCheckCircle:miOutlineCircle,variant:"dark",tone:"text"},h("div",{key:"fa16e08a71bb62d516c9304a66fbf3a753fa5683",class:"label"},h("div",{key:"9fb479719afdb1ebc5059de1f243a33d7f45fcbd",class:"theme-preview"},h("div",{key:"1ea92220bd3422a2834845f2332d2e07d02e829f",class:"theme-color theme-color--variant-primary"}),h("div",{key:"9668014487ad4f523f20bed4711bd01d78667b69",class:"theme-color theme-color--status-success"}),h("div",{key:"a0db61833b779d3cd5aab5c9912b4c589ed48306",class:"theme-color theme-color--status-warning"}),h("div",{key:"33e01beea19854485d7780d92657f0c6ac89a6f5",class:"theme-color theme-color--status-error"})),this.label)))};return e}();MdsPrefThemeItem.style=mdsPrefThemeItemCss();export{MdsPrefThemeItem as mds_pref_theme_item};
@@ -1 +1,38 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,s){function r(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,a){function o(e){try{l(s.next(e))}catch(e){a(e)}}function n(e){try{l(s["throw"](e))}catch(e){a(e)}}function l(e){e.done?i(e.value):r(e.value).then(o,n)}l((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},s,r,a,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=n(0),o["throw"]=n(1),o["return"]=n(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function n(e){return function(t){return l([e,t])}}function l(n){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,n[0]&&(i=0)),i)try{if(s=1,r&&(a=n[0]&2?r["return"]:n[0]?r["throw"]||((a=r["return"])&&a.call(r),0):r.next)&&!(a=a.call(r,n[1])).done)return a;if(r=0,a)n=[n[0]&2,a.value];switch(n[0]){case 0:case 1:a=n;break;case 4:i.label++;return{value:n[1],done:false};case 5:i.label++;r=n[1];n=[0];continue;case 7:n=i.ops.pop();i.trys.pop();continue;default:if(!(a=i.trys,a=a.length>0&&a[a.length-1])&&(n[0]===6||n[0]===2)){i=0;continue}if(n[0]===3&&(!a||n[1]>a[0]&&n[1]<a[3])){i.label=n[1];break}if(n[0]===6&&i.label<a[1]){i.label=a[1];a=n;break}if(a&&i.label<a[2]){i.label=a[2];i.ops.push(n);break}if(a[2])i.ops.pop();i.trys.pop();continue}n=t.call(e,i)}catch(e){n=[6,e];r=0}finally{s=a=0}if(n[0]&5)throw n[1];return{value:n[0]?n[1]:void 0,done:true}}};import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{m as miBaselineSettings}from"./settings-XQgkfNpn.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var miBaselineLightMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5s5-2.24 5-5s-2.24-5-5-5zM2 13h2c.55 0 1-.45 1-1s-.45-1-1-1H2c-.55 0-1 .45-1 1s.45 1 1 1zm18 0h2c.55 0 1-.45 1-1s-.45-1-1-1h-2c-.55 0-1 .45-1 1s.45 1 1 1zM11 2v2c0 .55.45 1 1 1s1-.45 1-1V2c0-.55-.45-1-1-1s-1 .45-1 1zm0 18v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1zM5.99 4.58a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0s.39-1.03 0-1.41L5.99 4.58zm12.37 12.37a.996.996 0 0 0-1.41 0a.996.996 0 0 0 0 1.41l1.06 1.06c.39.39 1.03.39 1.41 0a.996.996 0 0 0 0-1.41l-1.06-1.06zm1.06-10.96a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06zM7.05 18.36a.996.996 0 0 0 0-1.41a.996.996 0 0 0-1.41 0l-1.06 1.06c-.39.39-.39 1.03 0 1.41s1.03.39 1.41 0l1.06-1.06z"/></svg>';var miOutlineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M9.37 5.51A7.35 7.35 0 0 0 9.1 7.5c0 4.08 3.32 7.4 7.4 7.4c.68 0 1.35-.09 1.99-.27A7.014 7.014 0 0 1 12 19c-3.86 0-7-3.14-7-7c0-2.93 1.81-5.45 4.37-6.49zM12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var miBaselineDarkMode='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 3a9 9 0 1 0 9 9c0-.46-.04-.92-.1-1.36a5.389 5.389 0 0 1-4.4 2.26a5.403 5.403 0 0 1-3.14-9.8c-.44-.06-.9-.1-1.36-.1z"/></svg>';var darkMode$3="Σκούρο";var label$3="Λειτουργία θέματος";var lightMode$3="Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}";var systemSettings$3="Με βάση το λειτουργικό σύστημα";var localeEl={darkMode:darkMode$3,label:label$3,lightMode:lightMode$3,systemSettings:systemSettings$3};var darkMode$2="Dark";var label$2="Theme mode";var lightMode$2="Light{{#forced}} (forced on Safari){{/forced}}";var systemSettings$2="Based on operating system";var localeEn={darkMode:darkMode$2,label:label$2,lightMode:lightMode$2,systemSettings:systemSettings$2};var darkMode$1="Oscura";var label$1="Modo de tema";var lightMode$1="Clara{{#forced}} (forzada en Safari){{/forced}}";var systemSettings$1="Basado en el sistema operativo";var localeEs={darkMode:darkMode$1,label:label$1,lightMode:lightMode$1,systemSettings:systemSettings$1};var darkMode="Scura";var label="Modalità tema";var lightMode="Chiara{{#forced}} (forzata su Safari){{/forced}}";var systemSettings="Basato sul sistema operativo";var localeIt={darkMode:darkMode,label:label,lightMode:lightMode,systemSettings:systemSettings};var mdsPrefThemeCss=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-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000)}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-pref-theme-overlay-fadeout-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-pref-theme-overlay-show-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-pref-theme-overlay-fadeout-duration:.2s;--mds-pref-theme-overlay-show-duration:.3s;--mds-pref-theme-overlay-z-index:var(--magma-theme-overlay-z-index,6000);display:grid;gap:calc(var(--spacing,.0025rem)*100)}.item{--mds-tab-item-default-color:rgb(var(--tone-neutral-05,197 197 197));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}.item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-06,188 143 6))}.item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-06,13 158 224))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:host([pref-theme=dark]:not([pref-theme-scheme=light])) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}@media (prefers-color-scheme:dark){:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--system{--mds-tab-item-selected-color:rgb(var(--tone-neutral-03,233 233 233))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--light{--mds-tab-item-selected-color:rgb(var(--label-yellow-03,251 224 142))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-contrast]))) .item--dark{--mds-tab-item-selected-color:rgb(var(--label-sky-03,191 232 251))}}'};var MdsPrefTheme=function(){function e(e){var t=this;registerInstance(this,e);this.prefChangeEvent=createEvent(this,"mdsPrefChange");this.defaultMode="system";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.localStorageAlias="mdsPrefTheme";this.customPropertyAlias="--magma-pref-user-theme";this.overlayBackgroundVisible="rgb(var(--tone-neutral))";this.overlayBackgroundHidden="rgb(var(--tone-neutral) / 0)";this.cssOverlayShowDuration="300";this.cssOverlayFadeoutDuration="200";this.cssOverlayZIndex="6000";this.overlayId="mds-pref-theme-overlay";this.overlayShow=false;this.disabled=false;this.updateCSSCustomProps=function(){var e,i,s;if(typeof window==="undefined")return;var r=window.getComputedStyle(t.element);t.cssOverlayShowDuration=(e=r.getPropertyValue("--mds-pref-theme-overlay-show-duration"))!==null&&e!==void 0?e:"300";t.cssOverlayFadeoutDuration=(i=r.getPropertyValue("--mds-pref-theme-overlay-fadeout-duration"))!==null&&i!==void 0?i:"200";t.cssOverlayZIndex=(s=r.getPropertyValue("--mds-pref-theme-overlay-z-index"))!==null&&s!==void 0?s:"6000"};this.transition="smooth";this.theme={dark:{selector:"pref-theme-dark",label:"darkMode"},system:{selector:"pref-theme-system",label:"systemSettings"},light:{selector:"pref-theme-light",label:"lightMode"}};this.setTheme=function(e){t.prefChangeEvent.emit({preference:"theme-mode"});t.mode=e;localStorage.setItem(t.localStorageAlias,t.mode);if(typeof document!=="undefined"){var i=document.querySelector("html");for(var s in t.theme){if({}.hasOwnProperty.call(t.theme,s)){i===null||i===void 0?void 0:i.classList.remove(t.theme[s].selector)}}i===null||i===void 0?void 0:i.classList.add(t.theme[e].selector);i===null||i===void 0?void 0:i.style.setProperty(t.customPropertyAlias,t.mode)}};this.isDarkMode=function(){return window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches};this.getColorScheme=function(e){if(e!==undefined){if(e==="system"){return t.isDarkMode()?"dark":"light"}return e}if(t.mode==="system"){return t.isDarkMode()?"dark":"light"}return t.mode};this.instanceOverlay=function(){if(t.overlayEl==null){t.overlayEl=document.createElement("div");t.overlayEl.className=t.overlayId;t.overlayEl.style.inset="0";t.overlayEl.style.pointerEvents="none";t.overlayEl.style.position="fixed";t.overlayEl.style.transition="background-color ".concat(t.cssOverlayFadeoutDuration," ease-out");t.overlayEl.style.zIndex=t.cssOverlayZIndex}t.overlayEl.style.backgroundColor=t.overlayBackgroundHidden};this.attachFlashOverlayTransition=function(){t.overlayShow=true;t.instanceOverlay();t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;document.body.appendChild(t.overlayEl);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayShowDuration))};this.attachSmoothOverlayTransition=function(e){t.overlayShow=true;t.instanceOverlay();document.body.appendChild(t.overlayEl);clearTimeout(t.overlaySmoothTimer);t.overlaySmoothTimer=setTimeout((function(){t.overlayEl.style.backgroundColor=t.overlayBackgroundVisible;clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.setTheme(e);clearTimeout(t.overlayTimer);t.overlayTimer=setTimeout((function(){t.overlayShow=false;t.detachOverlayTransition()}),cssDurationToMilliseconds(t.cssOverlayFadeoutDuration))}),cssDurationToMilliseconds(t.cssOverlayShowDuration))}),1)};this.changeTheme=function(e){if(t.disabled){return}var i=t.getColorScheme();var s=t.getColorScheme(e);if(i===s){t.setTheme(e);return}switch(t.transition){case"none":t.setTheme(e);break;case"flash":t.setTheme(e);t.attachFlashOverlayTransition();break;case"smooth":t.attachSmoothOverlayTransition(e);break;default:t.setTheme(e);break}};this.handleModeClick=function(e){return function(){if(t.overlayShow){return}t.changeTheme(e)}}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.element);return[2]}))}))};e.prototype.componentWillRender=function(){var e,t;this.t.lang(this.element);if(!isSafari()){this.setTheme((t=(e=this.mode)!==null&&e!==void 0?e:localStorage.getItem(this.localStorageAlias))!==null&&t!==void 0?t:this.defaultMode);return}this.disabled=true;this.mode="light"};e.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};e.prototype.modeChanged=function(e,t){if(e===t){return}this.setTheme(e)};e.prototype.detachOverlayTransition=function(){var e=this;if(this.overlayEl==null){return}this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden;clearTimeout(this.overlayTimer);this.overlayTimer=setTimeout((function(){e.overlayEl.remove()}),cssDurationToMilliseconds(this.cssOverlayFadeoutDuration))};e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefContrast=subscribePreference("contrast",(function(t){e.prefContrast=t}));this.unsubscribePrefTheme=subscribePreference("theme",(function(t){e.prefTheme=t}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(t){e.prefThemeScheme=t}))};e.prototype.disconnectedCallback=function(){var e,t,i;(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(i=this.unsubscribePrefThemeScheme)===null||i===void 0?void 0:i.call(this)};e.prototype.render=function(){var e,t;return h(Host,{key:"7280b0d7c2ad7329e4170fc9a039575086debf30","pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("mds-text",{key:"db45fd3a2e56c6f4cb6e9a8c2f7305aae9ea891e",class:"info",typography:"caption"},h("b",{key:"2b94106cf9f48d0dd17010d3202d4a115cf98915"},this.t.get("label"))," ",this.disabled?this.t.get(this.theme[(e=this.mode)!==null&&e!==void 0?e:this.defaultMode].label,{forced:true}):this.t.get(this.theme[(t=this.mode)!==null&&t!==void 0?t:this.defaultMode].label,{forced:false})),h("mds-tab",{key:"cd9873a00095c71a5ff81f38dae8d685ad37a6f0",fill:true,size:this.size},h("mds-tab-item",{key:"a85d3c5f6b9be4adb37638e45a5d75536e3dd442",disabled:this.disabled,selected:this.mode==="light",onClick:this.handleModeClick("light"),class:"item item--light",icon:miBaselineLightMode}),h("mds-tab-item",{key:"713173f22fceff76de9f6751bd0a753f68aac8c7",disabled:this.disabled,selected:this.mode==="system",onClick:this.handleModeClick("system"),class:"item item--system",icon:miBaselineSettings}),h("mds-tab-item",{key:"766dbe686e2fd8609ec3a1a6716d4c428bc1391e",disabled:this.disabled,selected:this.mode==="dark",onClick:this.handleModeClick("dark"),class:"item item--dark",icon:this.mode==="dark"?miBaselineDarkMode:miOutlineDarkMode})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{mode:[{modeChanged:0}]}},enumerable:false,configurable:true});return e}();MdsPrefTheme.style=mdsPrefThemeCss();export{MdsPrefTheme as mds_pref_theme};
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,a){if(a||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++){if(o||!(r in t)){if(!o)o=Array.prototype.slice.call(t,0,r);o[r]=t[r]}}return e.concat(o||Array.prototype.slice.call(t))};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{M as MODE_VALUES,p as preferenceStore}from"./preference-CKerJx2M.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";var preferenceCornerShapeType=["bevel","notch","round","scoop","square","squircle"];
2
+ /**
3
+ * What a user can pick for the corner axis: a shape, or `default`.
4
+ *
5
+ * `default` is not a shape, it is the ABSENCE of a deviation - whatever the
6
+ * stylesheet currently ships. It exists so choosing the shape that happens to be
7
+ * today's default removes the attribute instead of freezing that default into
8
+ * the consumer's markup, which would keep a later change of default from
9
+ * reaching anybody who never chose.
10
+ */var preferenceCornerShapeChoiceType=__spreadArray(__spreadArray([],preferenceCornerShapeType,true),["default"],false);var label$3="Θέμα";var localeEl={label:label$3};var label$2="Theme";var localeEn={label:label$2};var label$1="Tema";var localeEs={label:label$1};var label="Tema";var localeIt={label:label};var mdsPrefThemeCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-dropdown,mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}.mds-pref-theme-dropdown{gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*400)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));flex-basis:0;flex-grow:1}.item--theme{cursor:pointer}.item--auto,.item--theme{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}"};var MdsPrefTheme=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.themeChangeEvent=createEvent(this,"mdsPrefThemeChange",7);this.prefChangeEvent=createEvent(this,"mdsPrefChange",7);this.showDropdown=false;this.localStorageAliasThemeName="mdsPrefTheme";this.localStorageAliasThemeScheme="mdsPrefThemeScheme";this.localStorageAliasCornerShape="mdsPrefCornerShape";this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.clasNameThemeNamePrefix="pref-theme-";this.previousName=null;this.customPropertyAliasThemeScheme="--magma-pref-theme-scheme";this.customPropertyAliasThemeName="--magma-pref-theme";this.schemeSet={light:"pref-theme-scheme-light",dark:"pref-theme-scheme-dark",all:"pref-theme-scheme-all"};
11
+ /**
12
+ * Specifies the theme name attribute
13
+ * A string representing the theme name, should be a simple string name or kebab kase name.
14
+ * `Examples of valid language codes include "magma", "maggioli-editore", etc.`
15
+ */this.name="default";
16
+ /**
17
+ * Specifies the theme scheme which can be 'light', 'dark' or 'all'
18
+ * Default is 'all' which means this theme supporto both light and dark.
19
+ * If you set 'light' means this theme support only light mode and will be forced and shown light colors mode only.
20
+ */this.scheme="all";this.toggleDropdown=function(){t.showDropdown=!t.showDropdown};this.hideThemeDropdownSelect=function(){t.showDropdown=false};this.changeThemeItem=function(){t.themeItems.forEach((function(e){e.selected=false}))};this.checkThemeSelect=function(){t.themeItems=t.element.querySelectorAll("mds-pref-theme-item");t.themeItems.forEach((function(e){e.addEventListener("mdsPrefThemeItemSelect",(function(e){t.changeThemeItem();t.currentSelectedItem=e.currentTarget;t.currentSelectedItem.selected=true;var a=e.detail.name.toLowerCase();var r=e.detail.scheme.toLowerCase();t.themeChangeEvent.emit({name:a,scheme:r});t.showDropdown=false;t.setTheme(a,r)}))}));t.themeItems.forEach((function(e){e.selected=e.name===t.name}))};this.setTheme=function(e,a){if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e)){throw Error("Theme name not valid: ".concat(e))}
21
+ // A mode value would be taken for a v1 mode by the storage migration, and a
22
+ // `scheme` name would write a `pref-theme-scheme-*` class of the scheme axis.
23
+ if(MODE_VALUES.includes(e)||e==="scheme"||e.startsWith("scheme-")){throw Error("Theme name reserved: ".concat(e))}t.name=e;t.scheme=a;t.prefChangeEvent.emit({preference:"theme"});localStorage.setItem(t.localStorageAliasThemeName,t.name);localStorage.setItem(t.localStorageAliasThemeScheme,t.scheme);if(typeof document!=="undefined"){var r=document.querySelector("html");
24
+ // cleanup previeous selection
25
+ for(var i in t.schemeSet){if({}.hasOwnProperty.call(t.schemeSet,i)){r===null||r===void 0?void 0:r.classList.remove(t.schemeSet[i])}}if(t.previousName!==null&&t.previousName!==""){r===null||r===void 0?void 0:r.classList.remove(t.clasNameThemeNamePrefix+t.previousName)}
26
+ // set new selection
27
+ r===null||r===void 0?void 0:r.setAttribute("data-theme-name",t.name);r===null||r===void 0?void 0:r.classList.add(t.schemeSet[t.scheme]);r===null||r===void 0?void 0:r.classList.add(t.clasNameThemeNamePrefix+t.name);r===null||r===void 0?void 0:r.style.setProperty(t.customPropertyAliasThemeName,t.name);r===null||r===void 0?void 0:r.style.setProperty(t.customPropertyAliasThemeScheme,t.scheme);t.previousName=t.name}preferenceStore.state["theme-scheme"]=t.scheme};
28
+ /**
29
+ * Apply a corner choice, or do nothing at all when there is none: an unset prop
30
+ * with nothing in storage must leave the page exactly as the stylesheet ships
31
+ * it.
32
+ *
33
+ * Note the one place this deliberately does NOT follow `setTheme`:
34
+ * `data-theme-name` is always written, `default` included, which is harmless
35
+ * only because no CSS block defines a theme called `default`. Here the default
36
+ * IS a live block, so writing it would freeze today's default into the
37
+ * consumer's page - `default` removes the attribute instead.
38
+ */this.setCornerShape=function(e){if(e===undefined||e===null){return}if(!preferenceCornerShapeChoiceType.includes(e)){throw Error("Corner shape not valid: ".concat(e))}t.cornerShape=e;t.prefChangeEvent.emit({preference:"corner-shape"});localStorage.setItem(t.localStorageAliasCornerShape,e);if(typeof document!=="undefined"){var a=document.querySelector("html");if(e==="default"){a===null||a===void 0?void 0:a.removeAttribute("data-corner-shape")}else{a===null||a===void 0?void 0:a.setAttribute("data-corner-shape",e)}}preferenceStore.state["corner-shape"]=e==="default"?undefined:e}}e.prototype.componentDidLoad=function(){this.checkThemeSelect()};e.prototype.componentWillRender=function(){var e,t,a;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName);this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme);this.setTheme((e=this.userThemeName)!==null&&e!==void 0?e:this.name,(t=this.userThemeScheme)!==null&&t!==void 0?t:this.scheme);this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape);this.setCornerShape((a=this.userCornerShape)!==null&&a!==void 0?a:this.cornerShape)};e.prototype.render=function(){return h(Host,{key:"a987a2b4933078d3452f78dc04744e9d9885092c"},h("div",{key:"4c439a804622caae8194d846b5480ac29bb5251d",class:"menu"},h("mds-text",{key:"7e623faaab3bb6658baeb122e47c890fd85447ca",class:"info",typography:"caption"},h("b",{key:"2ff9690158e739206c6537deab6d35e09278f0ba"},this.t.get("label"))),h("mds-tab",{key:"fa84137e83f74c4a971d0996b34f08231d1a389e",fill:true,size:this.size},h("mds-tab-item",{key:"2ab9c8235ffd1c30c71bee6c7a4f4f26d8d4edb1",selected:true,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?miBaselineKeyboardArrowUp:miBaselineKeyboardArrowDown,label:this.name}))),h("mds-dropdown",{key:"e8a39c2158e253c3da5ee64156f499545b1ecd79",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},h("slot",{key:"03d9ede427f0fca46ba54e46cdb625855910e421"})))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPrefTheme.style=mdsPrefThemeCss();export{MdsPrefTheme as mds_pref_theme};
@@ -1 +1,9 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,n){function r(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,o){function i(e){try{c(n.next(e))}catch(e){o(e)}}function s(e){try{c(n["throw"](e))}catch(e){o(e)}}function c(e){e.done?a(e.value):r(e.value).then(i,s)}c((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,r,o,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return c([e,t])}}function c(s){if(n)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(a=0)),a)try{if(n=1,r&&(o=s[0]&2?r["return"]:s[0]?r["throw"]||((o=r["return"])&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;if(r=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;r=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];r=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";var reloadPageToSeeChanges$3="Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία.";var localeEl={reloadPageToSeeChanges:reloadPageToSeeChanges$3};var reloadPageToSeeChanges$2="You must refresh the page to see all changes, or they will only be visible for new items uploaded.";var localeEn={reloadPageToSeeChanges:reloadPageToSeeChanges$2};var reloadPageToSeeChanges$1="Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados.";var localeEs={reloadPageToSeeChanges:reloadPageToSeeChanges$1};var reloadPageToSeeChanges="È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati.";var localeIt={reloadPageToSeeChanges:reloadPageToSeeChanges};var mdsPrefCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"};var MdsPref=function(){function e(e){var t=this;registerInstance(this,e);this.showReload=false;this.prefNeedsReload=["consumption","language"];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.addPerfEvents=function(){t.addEvent(t.host.querySelector("mds-pref-consumption"));t.addEvent(t.host.querySelector("mds-pref-contrast"));t.addEvent(t.host.querySelector("mds-pref-language"));t.addEvent(t.host.querySelector("mds-pref-theme"));t.addEvent(t.host.querySelector("mds-pref-theme-variant"))};this.removePerfEvents=function(){t.removeEvent(t.host.querySelector("mds-pref-consumption"));t.removeEvent(t.host.querySelector("mds-pref-contrast"));t.removeEvent(t.host.querySelector("mds-pref-language"));t.removeEvent(t.host.querySelector("mds-pref-theme"));t.removeEvent(t.host.querySelector("mds-pref-theme-variant"))};this.handlePrefChangeEvent=function(e){if(t.prefNeedsReload.includes(e.detail.preference)){t.showReload=true;if(e.detail.preference==="language"){t.t.lang(t.host)}}};this.addEvent=function(e){if(!e)return;e.addEventListener("mdsPrefChange",t.handlePrefChangeEvent.bind(t))};this.removeEvent=function(e){if(!e)return;e.removeEventListener("mdsPrefChange",t.handlePrefChangeEvent.bind(t))}}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.handleControllerChange=function(e){if(e===false){this.controller=undefined}};e.prototype.handleSizeChange=function(e){var t=Array.from(this.host.querySelectorAll("*"));var a=t.filter((function(e){return e.tagName.toLowerCase().startsWith("mds-pref-")}));a.forEach((function(t){t.size=e}))};e.prototype.componentWillRender=function(){this.t.lang(this.host)};e.prototype.componentDidLoad=function(){var e;if(typeof window!=="undefined"){(e=document.documentElement)===null||e===void 0?void 0:e.setAttribute("data-magma-pref","")}if(this.controller){this.addPerfEvents()}};e.prototype.disconnectedCallback=function(){var e;if(typeof window!=="undefined"){(e=document.documentElement)===null||e===void 0?void 0:e.removeAttribute("data-magma-pref")}this.removePerfEvents()};e.prototype.render=function(){return h(Host,{key:"fb9caf5c41dde41d29c82cdb48f3d4472dc27719"},h("slot",{key:"ce22594b814f4d3e6f26df1aef9b291bcd3f5e21"}),this.showReload&&h("div",{key:"e155da0815e661dfcd2acbc9b0c96aaa87ca56cb",class:"reload-required"},h("mds-text",{key:"4ed6190393fc4ff247285e4085d52ace60027c75",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return e}();MdsPref.style=mdsPrefCss();export{MdsPref as mds_pref};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import"./preference-CKerJx2M.js";var reloadPageToSeeChanges$3="Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία.";var localeEl={reloadPageToSeeChanges:reloadPageToSeeChanges$3};var reloadPageToSeeChanges$2="You must refresh the page to see all changes, or they will only be visible for new items uploaded.";var localeEn={reloadPageToSeeChanges:reloadPageToSeeChanges$2};var reloadPageToSeeChanges$1="Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados.";var localeEs={reloadPageToSeeChanges:reloadPageToSeeChanges$1};var reloadPageToSeeChanges="È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati.";var localeIt={reloadPageToSeeChanges:reloadPageToSeeChanges};var mdsPrefCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"};var MdsPref=/** @class */function(){function e(e){var a=this;registerInstance(this,e);this.showReload=false;this.prefNeedsReload=["consumption","language"];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.addPerfEvents=function(){a.addEvent(a.host.querySelector("mds-pref-consumption"));a.addEvent(a.host.querySelector("mds-pref-contrast"));a.addEvent(a.host.querySelector("mds-pref-language"));a.addEvent(a.host.querySelector("mds-pref-mode"));a.addEvent(a.host.querySelector("mds-pref-theme"))};this.removePerfEvents=function(){a.removeEvent(a.host.querySelector("mds-pref-consumption"));a.removeEvent(a.host.querySelector("mds-pref-contrast"));a.removeEvent(a.host.querySelector("mds-pref-language"));a.removeEvent(a.host.querySelector("mds-pref-mode"));a.removeEvent(a.host.querySelector("mds-pref-theme"))};this.handlePrefChangeEvent=function(e){if(a.prefNeedsReload.includes(e.detail.preference)){a.showReload=true}};this.addEvent=function(e){if(!e)return;e.addEventListener("mdsPrefChange",a.handlePrefChangeEvent.bind(a))};this.removeEvent=function(e){if(!e)return;e.removeEventListener("mdsPrefChange",a.handlePrefChangeEvent.bind(a))};this.handleThemeChangeEvent=function(e){var r=e.detail;a.applySchemeLock(r===null||r===void 0?void 0:r.scheme)};this.addThemeEvent=function(e){if(!e)return;e.addEventListener("mdsPrefThemeChange",a.handleThemeChangeEvent)};this.removeThemeEvent=function(e){if(!e)return;e.removeEventListener("mdsPrefThemeChange",a.handleThemeChangeEvent)};
2
+ /**
3
+ * Cross-lane coordination: a scheme-constrained theme locks the matching mode
4
+ * item in `mds-pref-mode`. This is a UI concern only - it never writes the
5
+ * stored mode preference, which the theme's `scheme` overrides at render time.
6
+ */this.applySchemeLock=function(e){var r=a.host.querySelector("mds-pref-mode");if(!r)return;r.lockedScheme=e==="light"||e==="dark"?e:undefined};this.applyInitialSchemeLock=function(){var e=a.host.querySelector("mds-pref-theme");a.applySchemeLock(e===null||e===void 0?void 0:e.scheme)}}e.prototype.handleControllerChange=function(e){if(e===false){this.controller=undefined}};e.prototype.handleSizeChange=function(e){var a=Array.from(this.host.querySelectorAll("*"));var r=a.filter((function(e){return e.tagName.toLowerCase().startsWith("mds-pref-")}));r.forEach((function(a){a.size=e}))};e.prototype.componentDidLoad=function(){var e;if(typeof window!=="undefined"){(e=document.documentElement)===null||e===void 0?void 0:e.setAttribute("data-magma-pref","")}if(this.controller){this.addPerfEvents()}
7
+ // The lock coordination drives the visible-mode UI (the controller mode is
8
+ // hidden via CSS), so it is wired regardless of the controller prop.
9
+ this.addThemeEvent(this.host.querySelector("mds-pref-theme"));this.applyInitialSchemeLock()};e.prototype.disconnectedCallback=function(){var e;if(typeof window!=="undefined"){(e=document.documentElement)===null||e===void 0?void 0:e.removeAttribute("data-magma-pref")}this.removePerfEvents();this.removeThemeEvent(this.host.querySelector("mds-pref-theme"))};e.prototype.render=function(){return h(Host,{key:"75bd4a024ef7e6fbf97a1bcb90f5927423959565"},h("slot",{key:"68400b48511b1089063665c6b33331629207135f"}),this.showReload&&h("div",{key:"d07255c793b3f93c42b6c86e972416651d13a701",class:"reload-required"},h("mds-text",{key:"d19ea1765dea329590fa7d7a81186f3d4775106b",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return e}();MdsPref.style=mdsPrefCss();export{MdsPref as mds_pref};
@@ -1 +1,4 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableFeaturesCellCss=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-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-08,107 107 107));--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-08,107 107 107));--mds-price-table-features-cell-transition-duration:var(--duration-200,.2s);--private-price-table-features-cell-transition-duration:var(--mds-price-table-features-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--tone-neutral-08,107 107 107)));display:table-cell;padding:var(--mds-price-table-features-cell-padding,var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)));-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:calc(var(--spacing,.0025rem)*600)}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,30 171 82)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--tone-neutral-06,158 158 158)))}:host([pref-animation=reduce]){--private-price-table-features-cell-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-07,134 134 134));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,173 241 198));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-04,218 218 218))}:host([pref-contrast=more]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,231 251 239));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-04,218 218 218))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-cell-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-07,134 134 134));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,173 241 198));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-04,218 218 218))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,231 251 239));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,211 247 224));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--tone-neutral-02,244 244 244));--mds-price-table-features-cell-border-color:rgb(var(--tone-neutral-04,218 218 218))}}'};var MdsPriceTableFeaturesCell=function(){function e(e){registerInstance(this,e);this.type="text"}e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(r){e.prefAnimation=r}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(r){e.prefContrast=r}));this.unsubscribePrefTheme=subscribePreference("theme",(function(r){e.prefTheme=r}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(r){e.prefThemeScheme=r}))};e.prototype.disconnectedCallback=function(){var e,r,t,a;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefContrast)===null||r===void 0?void 0:r.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this)};e.prototype.render=function(){return h(Host,{key:"0685a3ee7e1b48602dd2fe5de72ab1bfa3911d4e","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.type==="supported"&&h("i",{key:"fa867367c20a71b03f45b35b45a3e63a9439f55d",class:"icon icon--supported",innerHTML:miBaselineCheckCircle,part:"icon"}),this.type==="unsupported"&&h("i",{key:"9c02e9b23f20a58074b4f2fbadadb100acdc6ae7",class:"icon icon--unsupported",innerHTML:miBaselineHorizontalRule,part:"icon"}),this.type==="text"&&h("mds-text",{key:"431f38647428bb78f23a5b4c9b9f1d74a7e0843a",part:"text",typography:"detail"},h("slot",{key:"b4e1c215cd40869a188d6ffda706305296130ef1"})),this.type==="custom"&&h("slot",{key:"7d36a04177fa01a991a7ea41e5ce7edf8679335d"}),this.type==="label"&&h("slot",{key:"05027dbdb0fa2e7a59ca6942e8e38f89375e5819"}))};return e}();MdsPriceTableFeaturesCell.style=mdsPriceTableFeaturesCellCss();export{MdsPriceTableFeaturesCell as mds_price_table_features_cell};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableFeaturesCellCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-features-cell-padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));--mds-price-table-features-cell-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-cell-transition-duration:var(--duration-200,.2s);--private-price-table-features-cell-transition-duration:var(--mds-price-table-features-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:1px solid var(--mds-price-table-features-cell-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));display:table-cell;padding:var(--mds-price-table-features-cell-padding,calc(var(--spacing,.0025rem)*300));-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:border-color,transform;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.icon{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));display:flex;fill:var(--icon-fill-color,currentColor);height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-features-cell-transition-duration);transition-duration:var(--private-price-table-features-cell-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:calc(var(--spacing,.0025rem)*600)}.icon--supported{--icon-fill-color:var(--mds-price-table-features-cell-icon-supported-color,rgb(var(--label-green-06,34 195 93)))}.icon--unsupported{--icon-fill-color:var(--mds-price-table-features-cell-icon-unsupported-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-cell-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}:host([pref-contrast=more]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-cell-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-03,18 103 49));--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-cell-icon-supported-color-hover:rgb(var(--label-green-01,9 52 25));--mds-price-table-features-cell-icon-supported-color:rgb(var(--label-green-02,14 80 38));--mds-price-table-features-cell-icon-unsupported-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsPriceTableFeaturesCell=/** @class */function(){function e(e){registerInstance(this,e);
2
+ /**
3
+ * Specifies the support type which is represented
4
+ */this.type="text"}e.prototype.render=function(){return h(Host,{key:"6672e980cb96c65971d4bfa8fe61ee6043f0fc09","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.type==="supported"&&h("i",{key:"3bbfede28639b01f1f06620e6295ed0007c3c8dd",class:"icon icon--supported",innerHTML:miBaselineCheckCircle,part:"icon"}),this.type==="unsupported"&&h("i",{key:"f465be7d986b13a119a8a43c880e2789c3e03304",class:"icon icon--unsupported",innerHTML:miBaselineHorizontalRule,part:"icon"}),this.type==="text"&&h("mds-text",{key:"00b63cc837f7abd6b394f41fe0c066287c7d7755",part:"text",typography:"detail"},h("slot",{key:"279f5010a519b0adbe2aa4f84275ec7cd590a42c"})),this.type==="custom"&&h("slot",{key:"aba0dd7e32e62baafe4f2eb78bebf3a12bdfe2c5"}),this.type==="label"&&h("slot",{key:"5571dff3f60a05d615f8b75c5e883def96ab20df"}))};return e}();MdsPriceTableFeaturesCell.style=mdsPriceTableFeaturesCellCss();export{MdsPriceTableFeaturesCell as mds_price_table_features_cell};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsPriceTableFeaturesRowCss=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-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-price-table-features-row-color:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255));--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-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-price-table-features-row-background{syntax:"<color>";inherits:false;initial-value:#0000}:host{--mds-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-price-table-features-row-color:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--tone-neutral-04,218 218 218)));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--tone-neutral-10,60 60 60)));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--tone-neutral-01,255 255 255)))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover,rgb(var(--label-green-06,30 171 82)));--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover,rgb(var(--tone-neutral-06,158 158 158)))}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}:host([pref-animation=reduce]){--private-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-09,76 76 76))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--tone-neutral-01,255 255 255));--mds-price-table-features-row-color-hover:rgb(var(--tone-neutral-01,255 255 255))}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--tone-neutral-09,76 76 76))}}'};var MdsPriceTableFeaturesRow=function(){function e(e){registerInstance(this,e)}e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(r){e.prefAnimation=r}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(r){e.prefContrast=r}));this.unsubscribePrefTheme=subscribePreference("theme",(function(r){e.prefTheme=r}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(r){e.prefThemeScheme=r}))};e.prototype.disconnectedCallback=function(){var e,r,t,a;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefContrast)===null||r===void 0?void 0:r.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this)};e.prototype.componentWillRender=function(){var e=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(r){r.style.width=e.cellPercWidth}))};e.prototype.render=function(){return h(Host,{key:"aa643a67f90377589c46362cad147ea0133bc36a","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("slot",{key:"8aa2a7633dc5196acd823229e3ba1b6cb1103345"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPriceTableFeaturesRow.style=mdsPriceTableFeaturesRowCss();export{MdsPriceTableFeaturesRow as mds_price_table_features_row};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPriceTableFeaturesRowCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-price-table-features-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-price-table-features-row-background:#0000;--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-transition-duration:var(--duration-200,.2s);--private-price-table-features-row-transition-duration:var(--mds-price-table-features-row-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-features-row-background,#0000);color:var(--mds-price-table-features-row-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));display:table-row;-webkit-transition-duration:var(--private-price-table-features-row-transition-duration);transition-duration:var(--private-price-table-features-row-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host(:hover){--mds-price-table-features-row-background:var(--mds-price-table-features-row-background-hover,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));--mds-price-table-features-row-color:var(--mds-price-table-features-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))))}:host(:hover)>::slotted(mds-price-table-features-cell){--mds-price-table-features-cell-icon-supported-color:var(--mds-price-table-features-cell-icon-supported-color-hover);--mds-price-table-features-cell-icon-unsupported-color:var(--mds-price-table-features-cell-icon-unsupported-color-hover)}:host>::slotted([type=label]){padding-left:0}:host(:hover)>::slotted([type=label]){-webkit-transform:translate(calc(var(--spacing,.0025rem)*200));transform:translate(calc(var(--spacing,.0025rem)*200))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-row-transition-duration:0s}:host([pref-contrast=more]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-row-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-row-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-price-table-features-row-color-hover:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-features-row-background-hover:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}}'};var MdsPriceTableFeaturesRow=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.componentWillRender=function(){var e=this;this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell");this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%";this.horizontalCells.forEach((function(t){t.style.width=e.cellPercWidth}))};e.prototype.render=function(){return h(Host,{key:"fc7e157e50d8f86dfa97670a825d77b112c2cbaa","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("slot",{key:"355d8418d3d7af7955096db0760ab3579e71cd21"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPriceTableFeaturesRow.style=mdsPriceTableFeaturesRowCss();export{MdsPriceTableFeaturesRow as mds_price_table_features_row};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsPriceTableFeaturesCss=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-price-table-features-border-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--tone-neutral-06,158 158 158));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--tone-neutral-06,158 158 158)));padding:var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)) var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)) var(--mds-price-table-features-padding,calc(var(--spacing,.0025rem)*300)) 0}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-price-table-features-border-color:rgb(var(--tone-neutral-05,197 197 197))}:host([pref-contrast=more]){--mds-price-table-features-border-color:rgb(var(--tone-neutral-03,233 233 233))}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-price-table-features-border-color:rgb(var(--tone-neutral-05,197 197 197))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-features-border-color:rgb(var(--tone-neutral-03,233 233 233))}}'};var MdsPriceTableFeatures=function(){function e(e){registerInstance(this,e)}e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(r){e.prefAnimation=r}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(r){e.prefContrast=r}));this.unsubscribePrefTheme=subscribePreference("theme",(function(r){e.prefTheme=r}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(r){e.prefThemeScheme=r}))};e.prototype.disconnectedCallback=function(){var e,r,t,a;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefContrast)===null||r===void 0?void 0:r.call(this);(t=this.unsubscribePrefTheme)===null||t===void 0?void 0:t.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this)};e.prototype.render=function(){return h(Host,{key:"8e62f7d1059d8019a154f056af2ab80f01180948","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("div",{key:"f5549dee3de6907b99053dede90e44d1ede4e716",class:"table-wrapper"},this.label&&h("header",{key:"de99381048be9911fa2ae6c0f6b653b9798dd294",part:"header"},h("mds-text",{key:"d858f7e01d9f8703ac074a7975095a0c2663e5ef",typography:"detail"},h("b",{key:"34030d403e10d06b1f4426e239844fcdd8e62266"},this.label))),h("table",{key:"21984eaac54df90380f4ea1ffd4e7ceb3b4fc5bc"},h("tbody",{key:"b79a8e3d5e54d4627909e1136dcfe83147419316"},h("slot",{key:"a6f87f4b2e3ad4a8b19a9cdd7f56c5b9f9e3ba14"})))))};return e}();MdsPriceTableFeatures.style=mdsPriceTableFeaturesCss();export{MdsPriceTableFeatures as mds_price_table_features};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPriceTableFeaturesCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-price-table-features-border-color:rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219))));--mds-price-table-features-padding:calc(var(--spacing,.0025rem)*300);--mds-price-table-features-transition-duration:var(--duration-200,.2s);--private-price-table-features-transition-duration:var(--mds-price-table-features-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;-webkit-transition-duration:var(--private-price-table-features-transition-duration);transition-duration:var(--private-price-table-features-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));width:100%}.table-wrapper{scroll-margin-inline:calc(var(--spacing,.0025rem)*600);width:100%}table{border-collapse:collapse;min-width:100%;table-layout:fixed}header{border-bottom:1px solid var(--mds-price-table-features-border-color,rgb(var(--magma-border-muted,var(--magma-tint-border-muted,var(--border-neutral-muted,219 219 219)))));padding:var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) var(--mds-price-table-features-padding) 0}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-features-transition-duration:0s}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-features-transition-duration:0s}}'};var MdsPriceTableFeatures=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"4cea40f8e29d671ebd61fba34cb9a7edb7517b3b","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:"7e8b20fafe83f27b3c7d031e8875c0e254e3c82c",class:"table-wrapper"},this.label&&h("header",{key:"7ff3827ecf98976e0f73a8c1dbefc55aa0ec21b1",part:"header"},h("mds-text",{key:"e5f383837d852c48ffd2fdc9555b667cc4822f2f",typography:"detail"},h("b",{key:"0df39a3221f8a463a3d677a89d429d5f3b9f1827"},this.label))),h("table",{key:"6ff8b551d1ac18d48bbf4c98c86a30e057f56b33"},h("tbody",{key:"3daa55e6d546ebffe8695b35340536b73338045c"},h("slot",{key:"6dc5df72184166bd4b444801466f8decbe7db006"})))))};return e}();MdsPriceTableFeatures.style=mdsPriceTableFeaturesCss();export{MdsPriceTableFeatures as mds_price_table_features};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";var mdsPriceTableHeaderCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var MdsPriceTableHeader=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"0d876dc90072b896419158ba31b1f52e935b4aa6"},h("slot",{key:"db1c232ed329a09b1c1365d8d4aa2cd1c4352382"}))};return e}();MdsPriceTableHeader.style=mdsPriceTableHeaderCss();export{MdsPriceTableHeader as mds_price_table_header};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsPriceTableHeaderCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-price-table-list: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)*600);grid-template-columns:repeat(auto-fit,minmax(1px,1fr))}"};var MdsPriceTableHeader=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"cb5a7e40673f0304f0ed00cae9f93753bc848717"},h("slot",{key:"7bbefb79891067cf911dd2d0042e269e2e14bbbc"}))};return e}();MdsPriceTableHeader.style=mdsPriceTableHeaderCss();export{MdsPriceTableHeader as mds_price_table_header};
@@ -1 +1,7 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableListItemCss=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-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,37 213 102));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-list-item-unsupported-icon-color-hover:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--tone-neutral-05,197 197 197));--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,37 213 102));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,30 171 82));--mds-price-table-list-item-unsupported-icon-color-hover:rgb(var(--tone-neutral-04,218 218 218));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--tone-neutral-05,197 197 197));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--tone-neutral-05,197 197 197)));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,30 171 82)))}@property --tw-ease{syntax:"*";inherits:false}'};var MdsPriceTableListItem=function(){function e(e){registerInstance(this,e);this.supported=false;this.typography="detail"}e.prototype.render=function(){return h(Host,{key:"9a74af393bc74c765497cf213e572a4bb1f85bc3",slot:"item"},h("mds-text",{key:"f96de44e9d6c686f51f13cb461e0bacaef9f4077",class:"icon-container",typography:this.typography},this.supported?h("i",{class:"icon",innerHTML:miBaselineCheckCircle,part:"icon"}):h("i",{class:"icon",innerHTML:miBaselineHorizontalRule,part:"icon"})),h("mds-text",{key:"d232620f35303d3b4200cd89f7028b9a6073d69f",class:"text",typography:this.typography},h("slot",{key:"b9b38a813b5f7666040552b480c4081b1823a47b"})))};return e}();MdsPriceTableListItem.style=mdsPriceTableListItemCss();export{MdsPriceTableListItem as mds_price_table_list_item};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{m as miBaselineCheckCircle}from"./check-circle-BFhO-KUe.js";import{m as miBaselineHorizontalRule}from"./horizontal-rule-BE8xuIpS.js";var mdsPriceTableListItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-item-supported-icon-color-hover:rgb(var(--label-green-05,26 148 71));--mds-price-table-list-item-supported-icon-color:rgb(var(--label-green-06,34 195 93));--mds-price-table-list-item-unsupported-icon-color:rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.text{flex-grow:1}.icon-container{flex-shrink:0}.icon{display:flex;--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));fill:var(--mds-price-table-list-item-unsupported-icon-color,rgb(var(--magma-text-disabled,var(--magma-tint-text-disabled,var(--text-neutral-disabled,119 119 119)))));height:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--duration-500,.5s);transition-duration:var(--duration-500,.5s);transition-property:fill;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:calc(var(--spacing,.0025rem)*600)}.icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}:host([supported]:not([supported=false])) .icon{fill:var(--mds-price-table-list-item-supported-icon-color,rgb(var(--label-green-06,34 195 93)))}@property --tw-ease{syntax:"*";inherits:false}'};var MdsPriceTableListItem=/** @class */function(){function e(e){registerInstance(this,e);
2
+ /**
3
+ * Specifies if the feature is supported or not
4
+ */this.supported=false;
5
+ /**
6
+ * Specifies if the feature is supported or not
7
+ */this.typography="detail"}e.prototype.render=function(){return h(Host,{key:"9f970a01728c3729c604119a3f9e8ba520754ee9",slot:"item"},h("mds-text",{key:"07f98b7344b20804848c534460eaa84fa3d9c402",class:"icon-container",typography:this.typography},this.supported?h("i",{class:"icon",innerHTML:miBaselineCheckCircle,part:"icon"}):h("i",{class:"icon",innerHTML:miBaselineHorizontalRule,part:"icon"})),h("mds-text",{key:"992dc84f0b8fd8ed025e971c3537ce98b675985a",class:"text",typography:this.typography},h("slot",{key:"ff21af191088a6f5555002508e1ef6bf71f61aaf"})))};return e}();MdsPriceTableListItem.style=mdsPriceTableListItemCss();export{MdsPriceTableListItem as mds_price_table_list_item};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsPriceTableListCss=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-price-table-list-separator-color:rgb(var(--tone-neutral-03,233 233 233)/.5);--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--tone-neutral-03,233 233 233)/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,12 68 33));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--tone-neutral-03,233 233 233)/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]){--private-price-table-list-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);background-color:rgb(var(--label-green-09,14 81 39));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset;color:rgb(var(--tone-neutral-01,255 255 255))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);background-color:rgb(var(--label-green-09,14 81 39));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--tone-neutral-01,255 255 255)/.5);-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset;color:rgb(var(--tone-neutral-01,255 255 255))}}'};var MdsPriceTableList=function(){function e(e){registerInstance(this,e)}e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(t){e.prefAnimation=t}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(t){e.prefContrast=t}));this.unsubscribePrefTheme=subscribePreference("theme",(function(t){e.prefTheme=t}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(t){e.prefThemeScheme=t}))};e.prototype.disconnectedCallback=function(){var e,t,r,a;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this);(t=this.unsubscribePrefContrast)===null||t===void 0?void 0:t.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this)};e.prototype.componentWillLoad=function(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0};e.prototype.render=function(){return h(Host,{key:"e7dea8205b847700337422933069730885cebcfe","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("div",{key:"8652686305e3eec80ffc95c86d6fae8472d3bdf0",class:"header",part:"header"},h("slot",{key:"05dbf39029dc681ce1dfe7842c7fea92959a1112",name:"header"})),this.hasItems&&h("mds-separator",{key:"88a2d6d76477d31551968b938801d2ab8dfece12",class:"separator"}),this.hasItems&&h("main",{key:"260a30a69cd000ec83e5bae13fffdb1d1933389b",class:"main",part:"content"},h("slot",{key:"251f8f9f6aa1b53d77cbb3b63285edc8afe49c6c",name:"item"})),h("div",{key:"d46082dd8a242025c895dd9255e6079f5baf17c8",class:"footer",part:"footer"},h("slot",{key:"7b7320bb4b89c31e566517ce280d877b0976d4cc",name:"price"}),h("slot",{key:"fec836e98ecdb4f0be4bc8265cd8d65241e2a14f",name:"action"})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsPriceTableList.style=mdsPriceTableListCss();export{MdsPriceTableList as mds_price_table_list};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsPriceTableListCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.separator{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-price-table-list-separator-color,rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))/.5));-webkit-transition-duration:var(--private-price-table-list-transition-duration);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);background-color:rgb(var(--label-green-09,165 240 193));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))/.5);-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsPriceTableList=/** @class */function(){function t(t){registerInstance(this,t)}t.prototype.componentWillLoad=function(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0};t.prototype.render=function(){return h(Host,{key:"8f6c18b0be237134b286ba1faa692c4fa31155dc","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:"06ba4d154016b4c30b425d6009c225ecedbfa3f4",class:"header",part:"header"},h("slot",{key:"d50c50297f94298059944dd3a38786dd51756deb",name:"header"})),this.hasItems&&h("mds-separator",{key:"036b691220ae29cb33594cc9c0e872dced72d91c",class:"separator"}),this.hasItems&&h("main",{key:"5b2c708505362b90a26e3865dab3801464c18d1a",class:"main",part:"content"},h("slot",{key:"e322ccf035d2f735cb831ec7f535fa24c9601bc6",name:"item"})),h("div",{key:"30dc745b260d5634d831da707ed81d7edff6dada",class:"footer",part:"footer"},h("slot",{key:"0aa70ea54972d949a7a8f5153a10efdb76a3554d",name:"price"}),h("slot",{key:"d4e804ba15e8f1b63d1d60e14a3e05520f85734d",name:"action"})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsPriceTableList.style=mdsPriceTableListCss();export{MdsPriceTableList as mds_price_table_list};
@@ -1 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";var mdsPriceTableCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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)*600)}"};var MdsPriceTable=function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"baecd51ddff0ed0b1479c17c87537eeeeffab1a5"},h("slot",{key:"69d9c761c54799ffbac258ce299878b825af12ba"}))};return e}();MdsPriceTable.style=mdsPriceTableCss();export{MdsPriceTable as mds_price_table};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";var mdsPriceTableCss=function(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-price-table-features,mds-price-table-header,mds-price-table-list):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)*600)}"};var MdsPriceTable=/** @class */function(){function e(e){registerInstance(this,e)}e.prototype.render=function(){return h(Host,{key:"e4da51ef603eedd6790e360ded6fba0bef194887"},h("slot",{key:"5e97c1ecdbfe5a322283f41a9b65af0179be8559"}))};return e}();MdsPriceTable.style=mdsPriceTableCss();export{MdsPriceTable as mds_price_table};
@@ -1 +1,32 @@
1
- import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{r as removeAttributesIf,i as ifAttribute}from"./aria-CSCy6TMW.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsProgressCss=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-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--mds-progress-radius:var(--radius-lg,16px);--mds-progress-thickness:var(--height-200);--tw-ease:initial}}}: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-progress-duration{syntax:"<time>";inherits:false;initial-value:.75s}:host{--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107));--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-duration:.75s;--private-progress-duration:var(--mds-progress-duration,.75s);--mds-progress-transition-duration:var(--duration-300,.3s);--private-progress-transition-duration:var(--mds-progress-transition-duration);--mds-progress-thickness:var(--height-200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--tone-neutral-08,107 107 107)));border-radius:var(--radius-2xl,24px);transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,round);display:flex;height:var(--mds-progress-thickness,var(--height-200));min-height:var(--mds-progress-thickness,var(--height-200));min-width:var(--mds-progress-thickness,var(--height-200));overflow:hidden;position:relative;-webkit-transition-duration:var(--private-progress-transition-duration);transition-duration:var(--private-progress-transition-duration);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,var(--height-200));width:var(--mds-progress-thickness,var(--height-200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--variant-primary-03,211 226 255)));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;-webkit-transition-duration:var(--private-progress-duration);transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--tone-neutral-03,233 233 233));--mds-progress-background:rgb(var(--tone-neutral-10,60 60 60))}:host([variant=light]){--mds-progress-color:rgb(var(--tone-neutral,0 0 0));--mds-progress-background:rgb(var(--tone-neutral-05,197 197 197))}:host([variant=error]){--mds-progress-color:rgb(var(--status-error-05,250 165 160));--mds-progress-background:rgb(var(--status-error-09,135 0 14))}:host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-05,237 177 0));--mds-progress-background:rgb(var(--status-warning-09,90 67 0))}:host([variant=success]){--mds-progress-color:rgb(var(--status-success-05,107 206 147));--mds-progress-background:rgb(var(--status-success-09,0 82 9))}:host([variant=info]){--mds-progress-color:rgb(var(--status-info-05,112 198 234));--mds-progress-background:rgb(var(--status-info-09,0 73 116))}:host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-progress-background:rgb(var(--tone-neutral-08,107 107 107))}:host([variant=ai]){--mds-progress-color:rgb(var(--variant-ai-05,202 174 251));--mds-progress-background:rgb(var(--variant-ai-09,75 8 189))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}:host([pref-animation=reduce]){--private-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])),:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-progress-duration:0s;--private-progress-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])),:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=error]){--mds-progress-color:rgb(var(--status-error-04,254 193 189));--mds-progress-background:rgb(var(--status-error-07,212 80 79))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=warning]){--mds-progress-color:rgb(var(--status-warning-04,255 200 33));--mds-progress-background:rgb(var(--status-warning-07,159 120 0))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=success]){--mds-progress-color:rgb(var(--status-success-04,158 222 181));--mds-progress-background:rgb(var(--status-success-07,0 144 72))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=info]){--mds-progress-color:rgb(var(--status-info-04,159 216 241));--mds-progress-background:rgb(var(--status-info-07,0 134 180))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary]){--mds-progress-color:rgb(var(--variant-primary-05,152 188 255));--mds-progress-background:rgb(var(--tone-neutral-07,134 134 134))}}'};var MdsProgress=function(){function r(r){registerInstance(this,r);this.stepsList=new Array;this.progress=0;this.direction="horizontal";this.variant="primary";this.typography="option";this.size="sm";this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.connectedCallback=function(){var r=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(s){r.prefAnimation=s}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(s){r.prefContrast=s}));this.unsubscribePrefTheme=subscribePreference("theme",(function(s){r.prefTheme=s}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(s){r.prefThemeScheme=s}))};r.prototype.disconnectedCallback=function(){var r,s,a,t;(r=this.unsubscribePrefAnimation)===null||r===void 0?void 0:r.call(this);(s=this.unsubscribePrefContrast)===null||s===void 0?void 0:s.call(this);(a=this.unsubscribePrefTheme)===null||a===void 0?void 0:a.call(this);(t=this.unsubscribePrefThemeScheme)===null||t===void 0?void 0:t.call(this)};r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){removeAttributesIf(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps!==""){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!ifAttribute(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{key:"0ab0f8e5741890ca0270ee8b3e898cfa6b128966","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!ifAttribute(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.direction==="radial"?h("mds-radial-progress",{progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):h("div",{class:"progress",part:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss();var mdsRadialProgressCss=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-radial-progress:0%}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):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-radial-progress{syntax:"<length-percentage>";inherits:false;initial-value:0%}:host{--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76));--mds-radial-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--tone-neutral,0 0 0));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:3.40282e+38px;box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:.5s;transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;-webkit-box-shadow:var(--mds-radial-progress-text-background-shadow);box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]){--mds-radial-progress-color:rgb(var(--variant-primary-03,211 226 255));--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--variant-secondary-03,215 226 252));--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--variant-ai-04,218 199 253));--mds-radial-progress-background:rgb(var(--variant-ai-09,75 8 189))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--status-error-05,250 165 160));--mds-radial-progress-background:rgb(var(--status-error-09,135 0 14))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--status-warning-05,237 177 0));--mds-radial-progress-background:rgb(var(--status-warning-09,90 67 0))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--status-success-05,107 206 147));--mds-radial-progress-background:rgb(var(--status-success-09,0 82 9))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--status-info-05,112 198 234));--mds-radial-progress-background:rgb(var(--status-info-09,0 73 116))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--tone-neutral-03,233 233 233));--mds-radial-progress-background:rgb(var(--tone-neutral-09,76 76 76))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--tone-neutral-09,76 76 76));--mds-radial-progress-background:rgb(var(--tone-neutral-02,244 244 244));--mds-radial-progress-text-background:rgb(var(--tone-neutral-04,218 218 218));color:rgb(var(--tone-neutral,0 0 0))}'};var MdsRadialProgress=function(){function r(r){var s=this;registerInstance(this,r);this.progress=0;this.animatedProgress=0;this.rafId=null;this.typography="option";this.variant="primary";this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.prefersReducedMotion=function(){var r,s;return typeof window!=="undefined"&&((s=(r=window.matchMedia)===null||r===void 0?void 0:r.call(window,"(prefers-reduced-motion: reduce)"))===null||s===void 0?void 0:s.matches)===true};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(s.rafId!==null){cancelAnimationFrame(s.rafId);s.rafId=null}};this.animateTo=function(r){var a=s.clampProgress(r);var t=s.animatedProgress;s.stopAnimation();if(s.prefersReducedMotion()){s.animatedProgress=a;return}var e=500;var o=performance.now();var i=function(r){var n=Math.min(1,(r-o)/e);var d=s.easeOutExpo(n);s.animatedProgress=t+(a-t)*d;if(n<1)s.rafId=requestAnimationFrame(i);else s.rafId=null};s.rafId=requestAnimationFrame(i)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var s=this.progressPercentage(this.clampProgress(this.progress));return h(Host,{key:"83881b4057b76db8a56eff2185522ab7394f11aa",style:{"--mds-radial-progress":r},role:"progressbar"},h("div",{key:"f21da1d993decfa5cd242186559f2c25c0209030",class:"value-container",part:"value-container"},this.icon&&h("mds-icon",{key:"1f53b8c170ae2657ae097e4207e32b75ce91cf91",class:"icon",name:this.icon,part:"icon"}),h("div",{key:"7f5b4e719ccb8c484c633b2cfc07cb02f90b14f0",class:"value-container__text"},h("mds-text",{key:"2a379a399770d3a0dac5dc5bf88fcda83ff9ad43",class:"value",typography:this.typography},s))))};Object.defineProperty(r,"watchers",{get:function(){return{progress:[{onProgressChange:0}]}},enumerable:false,configurable:true});return r}();MdsRadialProgress.style=mdsRadialProgressCss();export{MdsProgress as mds_progress,MdsRadialProgress as mds_radial_progress};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{r as removeAttributesIf,i as ifAttribute}from"./aria-CSCy6TMW.js";import{p as preferenceStore,a as prefersReducedMotion}from"./preference-CKerJx2M.js";var mdsProgressCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))){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-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-progress-duration:.75s;--private-progress-duration:var(--mds-progress-duration,.75s);--mds-progress-transition-duration:var(--duration-300,.3s);--private-progress-transition-duration:var(--mds-progress-transition-duration);--mds-progress-thickness:calc(var(--spacing,.0025rem)*200);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-progress-background,rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208)))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));min-width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));overflow:hidden;position:relative;-webkit-transition-duration:var(--private-progress-transition-duration);transition-duration:var(--private-progress-transition-duration);transition-property:background-color;width:100%}:host([direction=vertical]){flex-direction:column;height:unset;min-height:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200));width:var(--mds-progress-thickness,calc(var(--spacing,.0025rem)*200))}:host([direction=radial]){aspect-ratio:1;background-color:#0000;height:auto}:host([direction=radial]) mds-radial-progress{width:inherit}.progress{--tw-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));background-color:var(--mds-progress-color,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));border-radius:inherit;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));corner-shape:inherit;-webkit-transition-duration:var(--private-progress-duration);transition-duration:var(--private-progress-duration);transition-property:background-color,flex-grow,-ms-flex-positive}:host([variant=dark]){--mds-progress-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-progress-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))}:host([variant=light]){--mds-progress-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-progress-background:rgb(var(--magma-surface-inverse-muted,var(--magma-tint-scale-03,var(--tone-neutral-03,73 73 73))))}:host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-progress-background:rgb(var(--magma-wash-strong,var(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))))}:host([variant=ai]){--mds-progress-color:rgb(var(--magma-accent-ai-fg,var(--magma-tint-accent-ai-fg,var(--variant-ai-03,87 20 242))));--mds-progress-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))))}:host([size=sm]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*200)}:host([size=md]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*300)}:host([size=lg]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*400)}:host([size=xl]){--mds-progress-thickness:calc(var(--spacing,.0025rem)*600)}: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-progress-duration:0s;--private-progress-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([pref-contrast=more]),:host([pref-contrast=more]):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-progress-duration:0s;--private-progress-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])),:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=error]){--mds-progress-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=warning]){--mds-progress-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=success]){--mds-progress-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=info]){--mds-progress-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary]){--mds-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))))}}'};var MdsProgress=/** @class */function(){function r(r){registerInstance(this,r);this.stepsList=new Array;
2
+ /**
3
+ * A value between 0 and 1 that rapresents the status progress
4
+ */this.progress=0;
5
+ /**
6
+ * Specifies the direction of the progress bar, if horizonatl or vertical
7
+ */this.direction="horizontal";
8
+ /**
9
+ * Sets the theme variant colors
10
+ */this.variant="primary";
11
+ /**
12
+ * The typography of the component
13
+ */this.typography="option";
14
+ /**
15
+ * Sets the size of the component
16
+ */this.size="sm";
17
+ /**
18
+ * Sets the steps that can be pronounced by accessibility technologies
19
+ */this.steps="Inizio,Un quarto,Metà,Tre quarti,Fine"}r.prototype.componentWillLoad=function(){this.stepsList=this.steps.split(",");this.setProgress(this.progress)};r.prototype.componentDidLoad=function(){removeAttributesIf(this.element,"aria-hidden","true",["aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","role"])};r.prototype.setProgress=function(r){if(this.steps!==""){this.currentStep=this.stepsList[Math.round(r*(this.stepsList.length-1))];if(!ifAttribute(this.element,"aria-hidden")){this.element.setAttribute("aria-valuetext",this.currentStep)}}};r.prototype.progressChanged=function(r){this.setProgress(r)};r.prototype.stepsChanged=function(r){this.stepsList=r.split(",")};r.prototype.render=function(){return h(Host,{key:"4ca4d52eabbe9fd5f275c45127eb698d96d3c255","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":!ifAttribute(this.element,"aria-hidden")&&Math.round(this.progress*100),role:"progressbar","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},this.direction==="radial"?h("mds-radial-progress",{"aria-hidden":"true",progress:this.progress,part:"radial-progress",typography:this.typography,variant:this.variant}):h("div",{class:"progress",part:"progress",style:this.direction==="horizontal"?{flexGrow:"".concat(this.progress)}:{flexGrow:"".concat(this.progress),width:"100%"}}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(r,"watchers",{get:function(){return{progress:[{progressChanged:0}],steps:[{stepsChanged:0}]}},enumerable:false,configurable:true});return r}();MdsProgress.style=mdsProgressCss();var mdsRadialProgressCss=function(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-tooltip):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-radial-progress-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:var(--radius-full,1000px);box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:.5s;transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;-webkit-box-shadow:var(--mds-radial-progress-text-background-shadow);box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]),:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--magma-tint-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--magma-tint-accent-ai-emphasis,var(--variant-ai-04,126 73 245))));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--magma-tint-accent-ai-surface,var(--variant-ai-09,229 218 253))))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-radial-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-radial-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-radial-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-radial-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42))));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))/.15);color:rgb(var(--magma-on-inverse,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}'};var MdsRadialProgress=/** @class */function(){function r(r){var a=this;registerInstance(this,r);
20
+ /**
21
+ * A value between 0 and 1 that rapresents the status progress
22
+ */this.progress=0;this.animatedProgress=0;this.rafId=null;
23
+ /**
24
+ * The typography of the component
25
+ */this.typography="option";
26
+ /**
27
+ * Sets the theme variant colors
28
+ */this.variant="primary";
29
+ /**
30
+ * Returns the displayed progress percentage
31
+ * @returns {string} The progress percentage
32
+ */this.progressPercentage=function(r){return"".concat(Math.round(r*100))};this.clampProgress=function(r){return Math.min(1,Math.max(0,r))};this.easeOutExpo=function(r){return r===1?1:1-Math.pow(2,-10*r)};this.stopAnimation=function(){if(a.rafId!==null){cancelAnimationFrame(a.rafId);a.rafId=null}};this.animateTo=function(r){var s=a.clampProgress(r);var e=a.animatedProgress;a.stopAnimation();if(prefersReducedMotion()){a.animatedProgress=s;return}var t=500;var o=performance.now();var i=function(r){var n=Math.min(1,(r-o)/t);var m=a.easeOutExpo(n);a.animatedProgress=e+(s-e)*m;if(n<1)a.rafId=requestAnimationFrame(i);else a.rafId=null};a.rafId=requestAnimationFrame(i)}}r.prototype.componentWillLoad=function(){this.animatedProgress=this.clampProgress(this.progress)};r.prototype.disconnectedCallback=function(){this.stopAnimation()};r.prototype.onProgressChange=function(r){this.animateTo(r)};r.prototype.render=function(){var r="".concat((this.animatedProgress*100).toFixed(2),"%");var a=this.progressPercentage(this.clampProgress(this.progress));return h(Host,{key:"a6b6be85cf9edec9b959dc408453df22a7259293","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":a,role:"progressbar",style:{"--mds-radial-progress":r}},h("div",{key:"601ad68d20b60661443e9d2a91c7245b14bb8cef",class:"value-container",part:"value-container"},this.icon&&h("mds-icon",{key:"d179a8847a1e6a0116d47f337efb66b4ef8499d6",class:"icon",name:this.icon,part:"icon"}),h("div",{key:"4bf2f076b9a9b796022bcd2358cf07f336d41040",class:"value-container__text"},h("mds-text",{key:"f34d46b90c233a1334f1f6c1cc09bf77ca36e1b7",class:"value",typography:this.typography},a))))};Object.defineProperty(r,"watchers",{get:function(){return{progress:[{onProgressChange:0}]}},enumerable:false,configurable:true});return r}();MdsRadialProgress.style=mdsRadialProgressCss();export{MdsProgress as mds_progress,MdsRadialProgress as mds_radial_progress};