@maggioli-design-system/magma 2.1.0 → 2.3.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 (1307) hide show
  1. package/AGENTS.md +26 -10
  2. package/CHANGELOG.md +475 -0
  3. package/README.md +5 -2
  4. package/agents/assets.md +231 -28
  5. package/agents/color.md +5 -3
  6. package/agents/components.md +3 -3
  7. package/agents/install.md +25 -4
  8. package/agents/reporting.md +127 -0
  9. package/agents/theming.md +15 -0
  10. package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
  11. package/dist/cjs/{floating-controller-uOCBLTk2.js → floating-controller-D7Ekjocg.js} +18 -4
  12. package/dist/cjs/{floating-ui.dom-DflSHZIo.js → floating-ui.dom-EMHL7uyZ.js} +146 -94
  13. package/dist/cjs/icon-MMHcqbgv.js +20 -0
  14. package/dist/cjs/index-UmmmCMIG.js +40 -40
  15. package/dist/cjs/index.cjs.js +62 -0
  16. package/dist/cjs/loader.cjs.js +1 -1
  17. package/dist/cjs/magma-components.cjs.js +1 -1
  18. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button-dropdown.cjs.entry.js +30 -2
  31. package/dist/cjs/mds-button_3.cjs.entry.js +125 -58
  32. package/dist/cjs/mds-calendar_2.cjs.entry.js +59 -6
  33. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-dropdown.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-file-preview.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-file.cjs.entry.js +29 -7520
  41. package/dist/cjs/mds-filter-item.cjs.entry.js +89 -3
  42. package/dist/cjs/mds-filter.cjs.entry.js +113 -19
  43. package/dist/cjs/mds-header-bar.cjs.entry.js +29 -2
  44. package/dist/cjs/mds-header.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +38 -2
  46. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-img.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-input-date-range.cjs.entry.js +16 -2
  50. package/dist/cjs/mds-input-date.cjs.entry.js +36 -4
  51. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-input-select.cjs.entry.js +32 -5
  54. package/dist/cjs/mds-input-switch_2.cjs.entry.js +21 -8
  55. package/dist/cjs/mds-input-tip_2.cjs.entry.js +2 -2
  56. package/dist/cjs/mds-input-upload.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-input.cjs.entry.js +12 -3
  58. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  60. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  61. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-list-item.cjs.entry.js +2 -3
  63. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-modal.cjs.entry.js +32 -5
  65. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-notification.cjs.entry.js +2 -2
  67. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +4 -3
  76. package/dist/cjs/mds-pref-theme.cjs.entry.js +29 -2
  77. package/dist/cjs/mds-pref.cjs.entry.js +24 -53
  78. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +2 -2
  79. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +2 -2
  80. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  81. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  83. package/dist/cjs/mds-price-table-list.cjs.entry.js +2 -2
  84. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  86. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  87. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-radial-menu.cjs.entry.js +40 -4
  91. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-status-bar.cjs.entry.js +2 -2
  93. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-tab-bar.cjs.entry.js +2 -2
  97. package/dist/cjs/mds-tab_2.cjs.entry.js +43 -8
  98. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  99. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  100. package/dist/cjs/mds-table-header-cell.cjs.entry.js +116 -77
  101. package/dist/cjs/mds-table-header.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-table-row.cjs.entry.js +22 -16
  103. package/dist/cjs/mds-table.cjs.entry.js +9 -2
  104. package/dist/cjs/mds-text.cjs.entry.js +37 -27
  105. package/dist/cjs/mds-toast.cjs.entry.js +2 -2
  106. package/dist/cjs/mds-tooltip.cjs.entry.js +17 -4
  107. package/dist/cjs/mds-tree-item.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-tree.cjs.entry.js +2 -2
  109. package/dist/cjs/mds-url-view.cjs.entry.js +2 -2
  110. package/dist/cjs/mds-usage.cjs.entry.js +23 -4
  111. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  112. package/dist/cjs/mds-zero.cjs.entry.js +2 -2
  113. package/dist/cjs/string-RoXIuD3q.js +7 -0
  114. package/dist/collection/common/floating-controller.js +17 -3
  115. package/dist/collection/common/hash.js +15 -0
  116. package/dist/collection/common/navigation.js +60 -0
  117. package/dist/collection/common/string.js +3 -1
  118. package/dist/collection/common/yugop/random-text.js +5 -0
  119. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  121. package/dist/collection/components/mds-accordion/mds-accordion.css +5 -5
  122. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  123. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  124. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +11 -11
  125. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -2
  128. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +6 -6
  131. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-author/documentation.json +2 -2
  133. package/dist/collection/components/mds-author/mds-author.css +2 -1
  134. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  136. package/dist/collection/components/mds-avatar/mds-avatar.css +18 -17
  137. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +3 -3
  140. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  142. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -6
  143. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-badge/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/mds-badge.css +13 -13
  146. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-banner/documentation.json +1 -1
  148. package/dist/collection/components/mds-banner/mds-banner.css +56 -56
  149. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  151. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  152. package/dist/collection/components/mds-bibliography/documentation.json +2 -2
  153. package/dist/collection/components/mds-bibliography/mds-bibliography.css +8 -6
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -6
  157. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  159. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +14 -13
  160. package/dist/collection/components/mds-button/AGENTS.md +5 -5
  161. package/dist/collection/components/mds-button/antipattern.md +20 -2
  162. package/dist/collection/components/mds-button/documentation.json +5 -5
  163. package/dist/collection/components/mds-button/mds-button.css +239 -417
  164. package/dist/collection/components/mds-button/mds-button.js +120 -38
  165. package/dist/collection/components/mds-button/pattern.md +34 -1
  166. package/dist/collection/components/mds-button-dropdown/AGENTS.md +2 -2
  167. package/dist/collection/components/mds-button-dropdown/documentation.json +2 -2
  168. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +10 -10
  169. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +12 -1
  170. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  172. package/dist/collection/components/mds-calendar/AGENTS.md +2 -2
  173. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  174. package/dist/collection/components/mds-calendar/mds-calendar.css +5 -5
  175. package/dist/collection/components/mds-calendar/mds-calendar.js +17 -4
  176. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  178. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +58 -58
  179. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card/documentation.json +1 -1
  181. package/dist/collection/components/mds-card/mds-card.css +2 -2
  182. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  184. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  186. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  188. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  190. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-chip/documentation.json +1 -1
  192. package/dist/collection/components/mds-chip/mds-chip.css +90 -90
  193. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  194. package/dist/collection/components/mds-details/documentation.json +1 -1
  195. package/dist/collection/components/mds-details/mds-details.css +6 -6
  196. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  197. package/dist/collection/components/mds-dropdown/documentation.json +2 -2
  198. package/dist/collection/components/mds-dropdown/mds-dropdown.css +26 -26
  199. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  200. package/dist/collection/components/mds-emoji/documentation.json +3 -3
  201. package/dist/collection/components/mds-emoji/mds-emoji.css +5 -5
  202. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-entity/documentation.json +1 -1
  204. package/dist/collection/components/mds-entity/mds-entity.css +8 -8
  205. package/dist/collection/components/mds-file/AGENTS.md +2 -2
  206. package/dist/collection/components/mds-file/documentation.json +3 -3
  207. package/dist/collection/components/mds-file/mds-file.css +13 -13
  208. package/dist/collection/components/mds-file/mds-file.js +15 -9
  209. package/dist/collection/components/mds-file/pattern.md +1 -1
  210. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  212. package/dist/collection/components/mds-file-preview/mds-file-preview.css +21 -21
  213. package/dist/collection/components/mds-filter/AGENTS.md +5 -3
  214. package/dist/collection/components/mds-filter/documentation.json +3 -3
  215. package/dist/collection/components/mds-filter/mds-filter.css +16 -16
  216. package/dist/collection/components/mds-filter/mds-filter.js +97 -19
  217. package/dist/collection/components/mds-filter/pattern.md +34 -4
  218. package/dist/collection/components/mds-filter-item/AGENTS.md +9 -8
  219. package/dist/collection/components/mds-filter-item/documentation.json +4 -4
  220. package/dist/collection/components/mds-filter-item/mds-filter-item.css +27 -17
  221. package/dist/collection/components/mds-filter-item/mds-filter-item.js +65 -3
  222. package/dist/collection/components/mds-filter-item/pattern.md +5 -5
  223. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-header/documentation.json +1 -1
  225. package/dist/collection/components/mds-header/mds-header.css +21 -13
  226. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -2
  227. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  228. package/dist/collection/components/mds-header-bar/mds-header-bar.css +5 -5
  229. package/dist/collection/components/mds-header-bar/mds-header-bar.js +12 -1
  230. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  231. package/dist/collection/components/mds-help/documentation.json +2 -2
  232. package/dist/collection/components/mds-help/mds-help.css +1 -1
  233. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +2 -2
  234. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  235. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +10 -10
  236. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +12 -1
  237. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-hr/documentation.json +1 -1
  239. package/dist/collection/components/mds-hr/mds-hr.css +1 -1
  240. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-icon/documentation.json +2 -2
  242. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-img/documentation.json +1 -1
  244. package/dist/collection/components/mds-img/mds-img.css +6 -6
  245. package/dist/collection/components/mds-input/AGENTS.md +3 -1
  246. package/dist/collection/components/mds-input/documentation.json +52 -4
  247. package/dist/collection/components/mds-input/mds-input.css +133 -62
  248. package/dist/collection/components/mds-input/mds-input.js +38 -2
  249. package/dist/collection/components/mds-input/pattern.md +15 -0
  250. package/dist/collection/components/mds-input-date/AGENTS.md +5 -2
  251. package/dist/collection/components/mds-input-date/documentation.json +50 -2
  252. package/dist/collection/components/mds-input-date/mds-input-date.css +52 -26
  253. package/dist/collection/components/mds-input-date/mds-input-date.js +46 -2
  254. package/dist/collection/components/mds-input-date-range/AGENTS.md +4 -2
  255. package/dist/collection/components/mds-input-date-range/documentation.json +50 -2
  256. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +51 -25
  257. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +34 -1
  258. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  260. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +18 -18
  261. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  262. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  263. package/dist/collection/components/mds-input-field/mds-input-field.css +7 -7
  264. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  265. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  266. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  268. package/dist/collection/components/mds-input-range/mds-input-range.css +13 -12
  269. package/dist/collection/components/mds-input-select/AGENTS.md +7 -4
  270. package/dist/collection/components/mds-input-select/documentation.json +58 -7
  271. package/dist/collection/components/mds-input-select/mds-input-select.css +103 -29
  272. package/dist/collection/components/mds-input-select/mds-input-select.js +61 -7
  273. package/dist/collection/components/mds-input-select/pattern.md +3 -3
  274. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -2
  275. package/dist/collection/components/mds-input-switch/documentation.json +2 -2
  276. package/dist/collection/components/mds-input-switch/mds-input-switch.css +86 -65
  277. package/dist/collection/components/mds-input-switch/mds-input-switch.js +19 -6
  278. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  280. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  281. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  283. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +21 -20
  284. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  286. package/dist/collection/components/mds-input-upload/mds-input-upload.css +13 -12
  287. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  289. package/dist/collection/components/mds-keyboard/mds-keyboard.css +4 -3
  290. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  292. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -1
  293. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  294. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  295. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  297. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +13 -13
  298. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-label/documentation.json +1 -1
  300. package/dist/collection/components/mds-label/mds-label.css +12 -12
  301. package/dist/collection/components/mds-list/AGENTS.md +2 -2
  302. package/dist/collection/components/mds-list/documentation.json +2 -2
  303. package/dist/collection/components/mds-list-item/AGENTS.md +2 -1
  304. package/dist/collection/components/mds-list-item/documentation.json +3 -3
  305. package/dist/collection/components/mds-list-item/mds-list-item.css +0 -18
  306. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -2
  307. package/dist/collection/components/mds-list-item/pattern.md +11 -0
  308. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-mention/documentation.json +1 -1
  310. package/dist/collection/components/mds-mention/mds-mention.css +2 -2
  311. package/dist/collection/components/mds-modal/AGENTS.md +2 -2
  312. package/dist/collection/components/mds-modal/documentation.json +2 -2
  313. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  314. package/dist/collection/components/mds-modal/mds-modal.js +14 -3
  315. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  316. package/dist/collection/components/mds-note/documentation.json +1 -1
  317. package/dist/collection/components/mds-note/mds-note.css +3 -3
  318. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  319. package/dist/collection/components/mds-notification/documentation.json +2 -2
  320. package/dist/collection/components/mds-notification/mds-notification.css +4 -4
  321. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  323. package/dist/collection/components/mds-paginator/mds-paginator.css +6 -6
  324. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  325. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  326. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +31 -30
  327. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  328. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  329. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +8 -8
  330. package/dist/collection/components/mds-pref/AGENTS.md +2 -2
  331. package/dist/collection/components/mds-pref/documentation.json +14 -3
  332. package/dist/collection/components/mds-pref/mds-pref.js +39 -53
  333. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  335. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +7 -7
  336. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  337. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  338. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +4 -4
  339. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  340. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  341. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +5 -5
  342. package/dist/collection/components/mds-pref-language/AGENTS.md +3 -3
  343. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  344. package/dist/collection/components/mds-pref-language/mds-pref-language.css +10 -2
  345. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  346. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  347. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  348. package/dist/collection/components/mds-pref-mode/documentation.json +2 -2
  349. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +5 -5
  350. package/dist/collection/components/mds-pref-theme/AGENTS.md +4 -3
  351. package/dist/collection/components/mds-pref-theme/documentation.json +2 -2
  352. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +10 -2
  353. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +29 -2
  354. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  355. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  356. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +10 -9
  357. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +3 -2
  358. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  359. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  360. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  361. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  362. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  363. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +2 -2
  364. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  365. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  366. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  367. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +11 -11
  368. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  369. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  370. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  371. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +12 -12
  372. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  373. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  374. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  375. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  376. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  378. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +8 -8
  379. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  380. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  382. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +2 -2
  383. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  384. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  385. package/dist/collection/components/mds-progress/documentation.json +1 -1
  386. package/dist/collection/components/mds-progress/mds-progress.css +20 -20
  387. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  388. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  389. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  390. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  391. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  393. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +16 -16
  394. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  395. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-quote/documentation.json +1 -1
  397. package/dist/collection/components/mds-quote/mds-quote.css +6 -4
  398. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  399. package/dist/collection/components/mds-radial-menu/AGENTS.md +2 -2
  400. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  401. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +5 -3
  402. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +12 -1
  403. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  405. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  406. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  408. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +15 -15
  409. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  410. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  411. package/dist/collection/components/mds-separator/documentation.json +1 -1
  412. package/dist/collection/components/mds-separator/mds-separator.css +2 -2
  413. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  414. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  416. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -3
  417. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  418. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  420. package/dist/collection/components/mds-status-bar/mds-status-bar.css +7 -6
  421. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  422. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  423. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  424. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +6 -6
  425. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  426. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  427. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  428. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +15 -15
  429. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  430. package/dist/collection/components/mds-tab/AGENTS.md +6 -5
  431. package/dist/collection/components/mds-tab/antipattern.md +27 -0
  432. package/dist/collection/components/mds-tab/documentation.json +6 -6
  433. package/dist/collection/components/mds-tab/mds-tab.css +61 -24
  434. package/dist/collection/components/mds-tab/mds-tab.js +34 -6
  435. package/dist/collection/components/mds-tab/pattern.md +33 -1
  436. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  438. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +1 -1
  439. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  440. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  442. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +14 -14
  443. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  444. package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
  445. package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
  446. package/dist/collection/components/mds-tab-item/documentation.json +5 -5
  447. package/dist/collection/components/mds-tab-item/mds-tab-item.css +2 -2
  448. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  449. package/dist/collection/components/mds-tab-item/pattern.md +25 -7
  450. package/dist/collection/components/mds-table/AGENTS.md +4 -2
  451. package/dist/collection/components/mds-table/documentation.json +48 -4
  452. package/dist/collection/components/mds-table/mds-table.css +33 -22
  453. package/dist/collection/components/mds-table/mds-table.js +35 -1
  454. package/dist/collection/components/mds-table/pattern.md +30 -0
  455. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  457. package/dist/collection/components/mds-table-body/mds-table-body.css +8 -8
  458. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  459. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  461. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  462. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  463. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  464. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  465. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  467. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  468. package/dist/collection/components/mds-table-header-cell/AGENTS.md +14 -5
  469. package/dist/collection/components/mds-table-header-cell/antipattern.md +17 -10
  470. package/dist/collection/components/mds-table-header-cell/documentation.json +54 -6
  471. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +159 -82
  472. package/dist/collection/components/mds-table-header-cell/meta/event-detail.js +1 -0
  473. package/dist/collection/components/mds-table-header-cell/pattern.md +27 -6
  474. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  476. package/dist/collection/components/mds-table-row/mds-table-row.css +12 -12
  477. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  478. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  479. package/dist/collection/components/mds-text/documentation.json +2 -2
  480. package/dist/collection/components/mds-text/mds-text.css +3 -3
  481. package/dist/collection/components/mds-text/mds-text.js +31 -26
  482. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-toast/documentation.json +1 -1
  484. package/dist/collection/components/mds-toast/mds-toast.css +18 -18
  485. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  486. package/dist/collection/components/mds-tooltip/AGENTS.md +4 -2
  487. package/dist/collection/components/mds-tooltip/antipattern.md +14 -0
  488. package/dist/collection/components/mds-tooltip/documentation.json +46 -5
  489. package/dist/collection/components/mds-tooltip/mds-tooltip.css +10 -10
  490. package/dist/collection/components/mds-tooltip/mds-tooltip.js +41 -1
  491. package/dist/collection/components/mds-tooltip/pattern.md +9 -0
  492. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  493. package/dist/collection/components/mds-tree/documentation.json +1 -1
  494. package/dist/collection/components/mds-tree/mds-tree.css +13 -13
  495. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  496. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  498. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  499. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  500. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  501. package/dist/collection/components/mds-url-view/mds-url-view.css +7 -7
  502. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  503. package/dist/collection/components/mds-usage/AGENTS.md +5 -3
  504. package/dist/collection/components/mds-usage/antipattern.md +17 -1
  505. package/dist/collection/components/mds-usage/documentation.json +31 -5
  506. package/dist/collection/components/mds-usage/mds-usage.css +6 -6
  507. package/dist/collection/components/mds-usage/mds-usage.js +26 -4
  508. package/dist/collection/components/mds-usage/meta/variants.js +14 -18
  509. package/dist/collection/components/mds-usage/pattern.md +10 -0
  510. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  511. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  512. package/dist/collection/components/mds-video-wall/mds-video-wall.css +3 -3
  513. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  514. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  515. package/dist/collection/components/mds-zero/documentation.json +1 -1
  516. package/dist/collection/components/mds-zero/mds-zero.css +3 -3
  517. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  518. package/dist/collection/index.js +11 -4
  519. package/dist/collection/type/floating-ui.js +1 -0
  520. package/dist/collection/type/input.js +2 -0
  521. package/dist/components/index.js +1 -1
  522. package/dist/components/mds-accordion-item.js +1 -1
  523. package/dist/components/mds-accordion-timer-item.js +1 -1
  524. package/dist/components/mds-accordion-timer.js +1 -1
  525. package/dist/components/mds-accordion.js +1 -1
  526. package/dist/components/mds-avatar-stack-item.js +1 -1
  527. package/dist/components/mds-avatar-stack.js +1 -1
  528. package/dist/components/mds-avatar.js +1 -1
  529. package/dist/components/mds-badge.js +1 -1
  530. package/dist/components/mds-banner.js +1 -1
  531. package/dist/components/mds-benchmark-bar.js +1 -1
  532. package/dist/components/mds-bibliography.js +1 -1
  533. package/dist/components/mds-breadcrumb-item.js +1 -1
  534. package/dist/components/mds-breadcrumb.js +1 -1
  535. package/dist/components/mds-button-dropdown.js +1 -1
  536. package/dist/components/mds-button.js +1 -1
  537. package/dist/components/mds-calendar-cell.js +1 -1
  538. package/dist/components/mds-calendar.js +1 -1
  539. package/dist/components/mds-card-media.js +1 -1
  540. package/dist/components/mds-card.js +1 -1
  541. package/dist/components/mds-chip.js +1 -1
  542. package/dist/components/mds-details.js +1 -1
  543. package/dist/components/mds-dropdown.js +1 -1
  544. package/dist/components/mds-emoji.js +2 -2
  545. package/dist/components/mds-entity.js +1 -1
  546. package/dist/components/mds-file-preview.js +1 -1
  547. package/dist/components/mds-file.js +1 -18
  548. package/dist/components/mds-filter-item.js +1 -1
  549. package/dist/components/mds-filter.js +1 -1
  550. package/dist/components/mds-header-bar.js +1 -1
  551. package/dist/components/mds-header.js +1 -1
  552. package/dist/components/mds-help.js +1 -1
  553. package/dist/components/mds-horizontal-scroll.js +1 -1
  554. package/dist/components/mds-hr.js +1 -1
  555. package/dist/components/mds-img.js +1 -1
  556. package/dist/components/mds-input-date-range-preselection.js +1 -1
  557. package/dist/components/mds-input-date-range.js +1 -1
  558. package/dist/components/mds-input-date.js +1 -1
  559. package/dist/components/mds-input-field.js +1 -1
  560. package/dist/components/mds-input-otp.js +1 -1
  561. package/dist/components/mds-input-range.js +1 -1
  562. package/dist/components/mds-input-select.js +1 -1
  563. package/dist/components/mds-input-switch.js +1 -1
  564. package/dist/components/mds-input-tip-item.js +1 -1
  565. package/dist/components/mds-input-tip.js +1 -1
  566. package/dist/components/mds-input-upload.js +1 -1
  567. package/dist/components/mds-input.js +1 -1
  568. package/dist/components/mds-keyboard-key.js +1 -1
  569. package/dist/components/mds-keyboard.js +1 -1
  570. package/dist/components/mds-kpi-item.js +1 -1
  571. package/dist/components/mds-label.js +1 -1
  572. package/dist/components/mds-list-item.js +1 -1
  573. package/dist/components/mds-mention.js +1 -1
  574. package/dist/components/mds-modal.js +1 -1
  575. package/dist/components/mds-note.js +1 -1
  576. package/dist/components/mds-notification.js +1 -1
  577. package/dist/components/mds-paginator-item.js +1 -1
  578. package/dist/components/mds-paginator.js +1 -1
  579. package/dist/components/mds-policy-ai.js +1 -1
  580. package/dist/components/mds-pref-animation.js +1 -1
  581. package/dist/components/mds-pref-consumption.js +1 -1
  582. package/dist/components/mds-pref-contrast.js +1 -1
  583. package/dist/components/mds-pref-language-item.js +1 -1
  584. package/dist/components/mds-pref-language.js +1 -1
  585. package/dist/components/mds-pref-mode.js +1 -1
  586. package/dist/components/mds-pref-theme-item.js +1 -1
  587. package/dist/components/mds-pref-theme.js +1 -1
  588. package/dist/components/mds-pref.js +1 -1
  589. package/dist/components/mds-price-table-features-cell.js +1 -1
  590. package/dist/components/mds-price-table-features-row.js +1 -1
  591. package/dist/components/mds-price-table-features.js +1 -1
  592. package/dist/components/mds-price-table-header.js +1 -1
  593. package/dist/components/mds-price-table-list-item.js +1 -1
  594. package/dist/components/mds-price-table-list.js +1 -1
  595. package/dist/components/mds-price-table.js +1 -1
  596. package/dist/components/mds-progress.js +1 -1
  597. package/dist/components/mds-push-notification-item.js +1 -1
  598. package/dist/components/mds-push-notification.js +1 -1
  599. package/dist/components/mds-quote.js +1 -1
  600. package/dist/components/mds-radial-menu-item.js +1 -1
  601. package/dist/components/mds-radial-menu.js +1 -1
  602. package/dist/components/mds-radial-progress.js +1 -1
  603. package/dist/components/mds-separator.js +1 -1
  604. package/dist/components/mds-spinner.js +1 -1
  605. package/dist/components/mds-status-bar.js +1 -1
  606. package/dist/components/mds-stepper-bar-item.js +1 -1
  607. package/dist/components/mds-stepper-bar.js +1 -1
  608. package/dist/components/mds-tab-bar-item.js +1 -1
  609. package/dist/components/mds-tab-bar.js +1 -1
  610. package/dist/components/mds-tab-item.js +1 -1
  611. package/dist/components/mds-tab.js +1 -1
  612. package/dist/components/mds-table-body.js +1 -1
  613. package/dist/components/mds-table-cell.js +1 -1
  614. package/dist/components/mds-table-footer.js +1 -1
  615. package/dist/components/mds-table-header-cell.js +1 -1
  616. package/dist/components/mds-table-header.js +1 -1
  617. package/dist/components/mds-table-row.js +1 -1
  618. package/dist/components/mds-table.js +1 -1
  619. package/dist/components/mds-text.js +1 -1
  620. package/dist/components/mds-toast.js +1 -1
  621. package/dist/components/mds-tooltip.js +1 -1
  622. package/dist/components/mds-tree-item.js +1 -1
  623. package/dist/components/mds-tree.js +1 -1
  624. package/dist/components/mds-url-view.js +1 -1
  625. package/dist/components/mds-usage.js +1 -1
  626. package/dist/components/mds-video-wall.js +1 -1
  627. package/dist/components/mds-zero.js +1 -1
  628. package/dist/components/p--5KZXaZp.js +1 -0
  629. package/dist/components/p--OCrgFeE.js +1 -0
  630. package/dist/components/p-6LGfUDQ4.js +1 -0
  631. package/dist/components/p-6pgPWpGI.js +1 -0
  632. package/dist/components/p-B8BWxSho.js +1 -0
  633. package/dist/components/p-B9uIL9KO.js +1 -0
  634. package/dist/components/p-BBDliSai.js +1 -0
  635. package/dist/components/p-BCwcnHFh.js +1 -0
  636. package/dist/components/p-BRf-u585.js +1 -0
  637. package/dist/components/p-BSeokAdy.js +1 -0
  638. package/dist/components/p-BXUJgu8l.js +1 -0
  639. package/dist/components/p-BXYUyw7p.js +1 -0
  640. package/dist/components/{p-s2Gu6hY7.js → p-BcUY-9n7.js} +1 -1
  641. package/dist/components/p-BfgJ-hHQ.js +1 -0
  642. package/dist/components/{p-x_c_51aL.js → p-CIfGjW_Z.js} +1 -1
  643. package/dist/components/p-CMp9rP7L.js +1 -0
  644. package/dist/components/p-CUmJoPAI.js +1 -0
  645. package/dist/components/p-CZjHixVB.js +1 -0
  646. package/dist/components/p-Ck0q_n7I.js +1 -0
  647. package/dist/components/p-CrCa_6a1.js +8 -0
  648. package/dist/components/p-Cv7lqHIc.js +1 -0
  649. package/dist/components/p-Cw6_ooFx.js +1 -0
  650. package/dist/components/p-DGYRngAi.js +1 -0
  651. package/dist/components/p-DHu8X7zF.js +1 -0
  652. package/dist/components/{p-BW24ByN-.js → p-DLCcW1Q5.js} +1 -1
  653. package/dist/components/p-DOzcuSrZ.js +1 -0
  654. package/dist/components/p-DZPHWQtD.js +1 -0
  655. package/dist/components/p-DlRjt7nE.js +1 -0
  656. package/dist/components/p-HSM_x8fD.js +1 -0
  657. package/dist/components/p-JMPfVnGv.js +1 -0
  658. package/dist/components/p-ay5NzZ_x.js +1 -0
  659. package/dist/components/p-lNY_3s6S.js +1 -0
  660. package/dist/components/p-qYRtWYC8.js +1 -0
  661. package/dist/documentation.json +469 -84
  662. package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
  663. package/dist/esm/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +18 -4
  664. package/dist/esm/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +146 -94
  665. package/dist/esm/icon-pNJmnrhq.js +16 -0
  666. package/dist/esm/index-BxPbQB28.js +40 -40
  667. package/dist/esm/index.js +62 -1
  668. package/dist/esm/loader.js +1 -1
  669. package/dist/esm/magma-components.js +1 -1
  670. package/dist/esm/mds-accordion-item.entry.js +1 -1
  671. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  672. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  673. package/dist/esm/mds-accordion.entry.js +1 -1
  674. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  675. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  676. package/dist/esm/mds-avatar.entry.js +2 -2
  677. package/dist/esm/mds-badge.entry.js +1 -1
  678. package/dist/esm/mds-banner_3.entry.js +3 -3
  679. package/dist/esm/mds-bibliography.entry.js +1 -1
  680. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  681. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  682. package/dist/esm/mds-button-dropdown.entry.js +30 -2
  683. package/dist/esm/mds-button_3.entry.js +123 -56
  684. package/dist/esm/mds-calendar_2.entry.js +59 -6
  685. package/dist/esm/mds-card-media.entry.js +1 -1
  686. package/dist/esm/mds-card.entry.js +1 -1
  687. package/dist/esm/mds-details.entry.js +1 -1
  688. package/dist/esm/mds-dropdown.entry.js +3 -3
  689. package/dist/esm/mds-emoji.entry.js +1 -1
  690. package/dist/esm/mds-entity.entry.js +1 -1
  691. package/dist/esm/mds-file-preview.entry.js +1 -1
  692. package/dist/esm/mds-file.entry.js +30 -7521
  693. package/dist/esm/mds-filter-item.entry.js +89 -3
  694. package/dist/esm/mds-filter.entry.js +114 -20
  695. package/dist/esm/mds-header-bar.entry.js +29 -2
  696. package/dist/esm/mds-header.entry.js +1 -1
  697. package/dist/esm/mds-horizontal-scroll.entry.js +38 -2
  698. package/dist/esm/mds-hr.entry.js +1 -1
  699. package/dist/esm/mds-img.entry.js +1 -1
  700. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  701. package/dist/esm/mds-input-date-range.entry.js +16 -2
  702. package/dist/esm/mds-input-date.entry.js +36 -4
  703. package/dist/esm/mds-input-field.entry.js +1 -1
  704. package/dist/esm/mds-input-range.entry.js +1 -1
  705. package/dist/esm/mds-input-select.entry.js +32 -5
  706. package/dist/esm/mds-input-switch_2.entry.js +21 -8
  707. package/dist/esm/mds-input-tip_2.entry.js +2 -2
  708. package/dist/esm/mds-input-upload.entry.js +1 -1
  709. package/dist/esm/mds-input.entry.js +12 -3
  710. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  711. package/dist/esm/mds-keyboard.entry.js +1 -1
  712. package/dist/esm/mds-kpi-item.entry.js +1 -1
  713. package/dist/esm/mds-label.entry.js +1 -1
  714. package/dist/esm/mds-list-item.entry.js +2 -3
  715. package/dist/esm/mds-mention.entry.js +1 -1
  716. package/dist/esm/mds-modal.entry.js +31 -4
  717. package/dist/esm/mds-note.entry.js +1 -1
  718. package/dist/esm/mds-notification.entry.js +2 -2
  719. package/dist/esm/mds-paginator-item.entry.js +1 -1
  720. package/dist/esm/mds-paginator.entry.js +1 -1
  721. package/dist/esm/mds-policy-ai.entry.js +1 -1
  722. package/dist/esm/mds-pref-animation.entry.js +1 -1
  723. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  724. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  725. package/dist/esm/mds-pref-language.entry.js +1 -1
  726. package/dist/esm/mds-pref-mode.entry.js +1 -1
  727. package/dist/esm/mds-pref-theme-item.entry.js +4 -3
  728. package/dist/esm/mds-pref-theme.entry.js +30 -3
  729. package/dist/esm/mds-pref.entry.js +24 -53
  730. package/dist/esm/mds-price-table-features-cell.entry.js +2 -2
  731. package/dist/esm/mds-price-table-features-row.entry.js +2 -2
  732. package/dist/esm/mds-price-table-features.entry.js +2 -2
  733. package/dist/esm/mds-price-table-header.entry.js +1 -1
  734. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  735. package/dist/esm/mds-price-table-list.entry.js +2 -2
  736. package/dist/esm/mds-price-table.entry.js +1 -1
  737. package/dist/esm/mds-progress_2.entry.js +4 -4
  738. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  739. package/dist/esm/mds-push-notification.entry.js +2 -2
  740. package/dist/esm/mds-quote.entry.js +2 -2
  741. package/dist/esm/mds-radial-menu-item.entry.js +2 -2
  742. package/dist/esm/mds-radial-menu.entry.js +40 -4
  743. package/dist/esm/mds-separator.entry.js +2 -2
  744. package/dist/esm/mds-status-bar.entry.js +2 -2
  745. package/dist/esm/mds-stepper-bar-item.entry.js +2 -2
  746. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  747. package/dist/esm/mds-tab-bar-item.entry.js +2 -2
  748. package/dist/esm/mds-tab-bar.entry.js +2 -2
  749. package/dist/esm/mds-tab_2.entry.js +43 -8
  750. package/dist/esm/mds-table-body.entry.js +2 -2
  751. package/dist/esm/mds-table-footer.entry.js +2 -2
  752. package/dist/esm/mds-table-header-cell.entry.js +117 -78
  753. package/dist/esm/mds-table-header.entry.js +2 -2
  754. package/dist/esm/mds-table-row.entry.js +23 -17
  755. package/dist/esm/mds-table.entry.js +9 -2
  756. package/dist/esm/mds-text.entry.js +37 -27
  757. package/dist/esm/mds-toast.entry.js +2 -2
  758. package/dist/esm/mds-tooltip.entry.js +17 -4
  759. package/dist/esm/mds-tree-item.entry.js +2 -2
  760. package/dist/esm/mds-tree.entry.js +2 -2
  761. package/dist/esm/mds-url-view.entry.js +2 -2
  762. package/dist/esm/mds-usage.entry.js +23 -4
  763. package/dist/esm/mds-video-wall.entry.js +2 -2
  764. package/dist/esm/mds-zero.entry.js +2 -2
  765. package/dist/esm/string-6pgPWpGI.js +5 -0
  766. package/dist/esm-es5/_commonjsHelpers-B85MJLTf.js +1 -0
  767. package/dist/esm-es5/{floating-controller-BTYkH_Ih.js → floating-controller-D5-8D9mH.js} +11 -5
  768. package/dist/esm-es5/{floating-ui.dom-CHAGzQT-.js → floating-ui.dom-JMPfVnGv.js} +80 -48
  769. package/dist/esm-es5/icon-pNJmnrhq.js +1 -0
  770. package/dist/esm-es5/index-BxPbQB28.js +36 -36
  771. package/dist/esm-es5/index.js +37 -20
  772. package/dist/esm-es5/loader.js +1 -1
  773. package/dist/esm-es5/magma-components.js +1 -1
  774. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  775. package/dist/esm-es5/mds-accordion-timer-item.entry.js +2 -2
  776. package/dist/esm-es5/mds-accordion-timer.entry.js +2 -2
  777. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  778. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  779. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  780. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  781. package/dist/esm-es5/mds-badge.entry.js +1 -1
  782. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  783. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  784. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  785. package/dist/esm-es5/mds-breadcrumb.entry.js +2 -2
  786. package/dist/esm-es5/mds-button-dropdown.entry.js +3 -3
  787. package/dist/esm-es5/mds-button_3.entry.js +50 -7
  788. package/dist/esm-es5/mds-calendar_2.entry.js +8 -6
  789. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  790. package/dist/esm-es5/mds-card.entry.js +5 -5
  791. package/dist/esm-es5/mds-details.entry.js +2 -2
  792. package/dist/esm-es5/mds-dropdown.entry.js +16 -16
  793. package/dist/esm-es5/mds-emoji.entry.js +18 -18
  794. package/dist/esm-es5/mds-entity.entry.js +1 -1
  795. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  796. package/dist/esm-es5/mds-file.entry.js +15 -2835
  797. package/dist/esm-es5/mds-filter-item.entry.js +16 -1
  798. package/dist/esm-es5/mds-filter.entry.js +18 -2
  799. package/dist/esm-es5/mds-header-bar.entry.js +3 -3
  800. package/dist/esm-es5/mds-header.entry.js +7 -7
  801. package/dist/esm-es5/mds-horizontal-scroll.entry.js +13 -13
  802. package/dist/esm-es5/mds-hr.entry.js +1 -1
  803. package/dist/esm-es5/mds-img.entry.js +1 -1
  804. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  805. package/dist/esm-es5/mds-input-date-range.entry.js +7 -2
  806. package/dist/esm-es5/mds-input-date.entry.js +8 -3
  807. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  808. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  809. package/dist/esm-es5/mds-input-select.entry.js +14 -5
  810. package/dist/esm-es5/mds-input-switch_2.entry.js +17 -9
  811. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  812. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  813. package/dist/esm-es5/mds-input.entry.js +30 -25
  814. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  815. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi-item.entry.js +2 -2
  817. package/dist/esm-es5/mds-label.entry.js +2 -2
  818. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  819. package/dist/esm-es5/mds-mention.entry.js +1 -1
  820. package/dist/esm-es5/mds-modal.entry.js +5 -5
  821. package/dist/esm-es5/mds-note.entry.js +1 -1
  822. package/dist/esm-es5/mds-notification.entry.js +3 -3
  823. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  824. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  825. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  826. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  827. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  828. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  830. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  831. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  832. package/dist/esm-es5/mds-pref-theme.entry.js +15 -7
  833. package/dist/esm-es5/mds-pref.entry.js +14 -5
  834. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  835. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  836. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  837. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  838. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  839. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  841. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  842. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  843. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  844. package/dist/esm-es5/mds-quote.entry.js +2 -2
  845. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  846. package/dist/esm-es5/mds-radial-menu.entry.js +2 -2
  847. package/dist/esm-es5/mds-separator.entry.js +1 -1
  848. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  849. package/dist/esm-es5/mds-stepper-bar-item.entry.js +3 -3
  850. package/dist/esm-es5/mds-stepper-bar.entry.js +4 -4
  851. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  852. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  853. package/dist/esm-es5/mds-tab_2.entry.js +25 -4
  854. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  855. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  856. package/dist/esm-es5/mds-table-header-cell.entry.js +22 -3
  857. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  858. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  859. package/dist/esm-es5/mds-table.entry.js +11 -5
  860. package/dist/esm-es5/mds-text.entry.js +25 -7
  861. package/dist/esm-es5/mds-toast.entry.js +2 -2
  862. package/dist/esm-es5/mds-tooltip.entry.js +8 -3
  863. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  864. package/dist/esm-es5/mds-tree.entry.js +3 -3
  865. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  866. package/dist/esm-es5/mds-usage.entry.js +9 -3
  867. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  868. package/dist/esm-es5/mds-zero.entry.js +1 -1
  869. package/dist/esm-es5/string-6pgPWpGI.js +2 -0
  870. package/dist/hydrate/index.js +1580 -8246
  871. package/dist/hydrate/index.mjs +1580 -8246
  872. package/dist/magma-components/index.esm.js +1 -1
  873. package/dist/magma-components/magma-components.esm.js +1 -1
  874. package/dist/magma-components/p-00ce5c81.entry.js +1 -0
  875. package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-00ff586a.system.entry.js} +2 -2
  876. package/dist/magma-components/p-01f05a56.entry.js +1 -0
  877. package/dist/magma-components/p-0345cbd0.system.entry.js +83 -0
  878. package/dist/magma-components/p-03a6a8bd.system.entry.js +46 -0
  879. package/dist/magma-components/p-05de42e1.system.entry.js +1 -0
  880. package/dist/magma-components/p-063bccb3.entry.js +1 -0
  881. package/dist/magma-components/p-0c89c485.entry.js +1 -0
  882. package/dist/magma-components/p-0d94a2b8.entry.js +8 -0
  883. package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-0d97e28d.system.entry.js} +1 -1
  884. package/dist/magma-components/p-108e31e6.entry.js +1 -0
  885. package/dist/magma-components/p-114f0bb7.system.entry.js +14 -0
  886. package/dist/magma-components/{p-e8ed096b.entry.js → p-121730d1.entry.js} +1 -1
  887. package/dist/magma-components/p-137116df.entry.js +1 -0
  888. package/dist/magma-components/p-13b0babc.system.entry.js +1 -0
  889. package/dist/magma-components/p-14a108e8.system.entry.js +8 -0
  890. package/dist/magma-components/p-14eadf95.system.entry.js +21 -0
  891. package/dist/magma-components/p-154aff83.entry.js +1 -0
  892. package/dist/magma-components/p-155f79f4.system.entry.js +47 -0
  893. package/dist/magma-components/p-17b62839.entry.js +1 -0
  894. package/dist/magma-components/{p-0a551e86.entry.js → p-1802d6a7.entry.js} +1 -1
  895. package/dist/magma-components/{p-91c4015f.system.entry.js → p-188d9770.system.entry.js} +1 -1
  896. package/dist/magma-components/p-18ba4766.entry.js +1 -0
  897. package/dist/magma-components/p-1c63801f.system.entry.js +11 -0
  898. package/dist/magma-components/p-1c6a507c.system.entry.js +17 -0
  899. package/dist/magma-components/p-1e2388be.entry.js +1 -0
  900. package/dist/magma-components/{p-eaff7300.entry.js → p-22e9a507.entry.js} +1 -1
  901. package/dist/magma-components/p-24a9871a.system.entry.js +1 -0
  902. package/dist/magma-components/p-26332bce.system.entry.js +1 -0
  903. package/dist/magma-components/p-26c85354.system.entry.js +1 -0
  904. package/dist/magma-components/p-2708561b.system.entry.js +10 -0
  905. package/dist/magma-components/{p-a4a83a63.entry.js → p-2710ddc4.entry.js} +1 -1
  906. package/dist/magma-components/p-294241fa.entry.js +1 -0
  907. package/dist/magma-components/p-2b2d0910.system.entry.js +1 -0
  908. package/dist/magma-components/p-2c940d19.entry.js +1 -0
  909. package/dist/magma-components/{p-93d39066.entry.js → p-2de5f5fe.entry.js} +1 -1
  910. package/dist/magma-components/p-2e74231d.system.entry.js +4 -0
  911. package/dist/magma-components/p-2e83f801.system.entry.js +1 -0
  912. package/dist/magma-components/{p-dd58f9ee.entry.js → p-2f0815f3.entry.js} +1 -1
  913. package/dist/magma-components/p-30d36dfe.entry.js +1 -0
  914. package/dist/magma-components/p-323c7aa4.system.entry.js +25 -0
  915. package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32e077c0.system.entry.js} +2 -2
  916. package/dist/magma-components/p-334b305d.system.entry.js +16 -0
  917. package/dist/magma-components/{p-6c18c40e.system.entry.js → p-341994b3.system.entry.js} +1 -1
  918. package/dist/magma-components/p-35434d4b.system.entry.js +32 -0
  919. package/dist/magma-components/p-37495e03.entry.js +1 -0
  920. package/dist/magma-components/{p-439c9ce3.system.entry.js → p-38e0379a.system.entry.js} +2 -2
  921. package/dist/magma-components/p-3b91efd1.entry.js +1 -0
  922. package/dist/magma-components/p-3dc4db04.system.entry.js +16 -0
  923. package/dist/magma-components/p-3f0e82bc.entry.js +1 -0
  924. package/dist/magma-components/p-3fa6cf85.system.entry.js +1 -0
  925. package/dist/magma-components/p-40e97485.entry.js +1 -0
  926. package/dist/magma-components/p-4159c306.entry.js +1 -0
  927. package/dist/magma-components/p-42411854.system.entry.js +102 -0
  928. package/dist/magma-components/{p-2f520704.entry.js → p-42ebba8c.entry.js} +1 -1
  929. package/dist/magma-components/p-4356d96e.system.entry.js +21 -0
  930. package/dist/magma-components/p-4577948d.system.entry.js +12 -0
  931. package/dist/magma-components/p-4658a200.entry.js +1 -0
  932. package/dist/magma-components/{p-b431ca8a.entry.js → p-4cfa925a.entry.js} +1 -1
  933. package/dist/magma-components/p-4dfeb655.system.entry.js +23 -0
  934. package/dist/magma-components/p-4ef19542.entry.js +1 -0
  935. package/dist/magma-components/{p-ac81f63a.system.entry.js → p-508e10b5.system.entry.js} +1 -1
  936. package/dist/magma-components/p-522fd3d0.system.entry.js +4 -0
  937. package/dist/magma-components/p-528d913c.system.entry.js +17 -0
  938. package/dist/magma-components/p-569cbe13.entry.js +1 -0
  939. package/dist/magma-components/p-574c2c13.system.entry.js +222 -0
  940. package/dist/magma-components/{p-218d8254.system.entry.js → p-584a4ee8.system.entry.js} +1 -1
  941. package/dist/magma-components/{p-577db922.entry.js → p-595fde64.entry.js} +1 -1
  942. package/dist/magma-components/p-5989cdf2.system.entry.js +16 -0
  943. package/dist/magma-components/p-5c17a324.entry.js +1 -0
  944. package/dist/magma-components/p-5df91427.system.entry.js +15 -0
  945. package/dist/magma-components/p-5fcc1455.entry.js +1 -0
  946. package/dist/magma-components/p-61638aa3.entry.js +1 -0
  947. package/dist/magma-components/p-634727e6.system.entry.js +22 -0
  948. package/dist/magma-components/{p-03c2060d.entry.js → p-6465c8f4.entry.js} +1 -1
  949. package/dist/magma-components/p-6764b13a.entry.js +1 -0
  950. package/dist/magma-components/p-6812f01b.entry.js +1 -0
  951. package/dist/magma-components/{p-4211ce6c.system.entry.js → p-6901428b.system.entry.js} +1 -1
  952. package/dist/magma-components/p-699a7926.entry.js +1 -0
  953. package/dist/magma-components/p-69d6cc9e.system.entry.js +7 -0
  954. package/dist/magma-components/p-6a798061.entry.js +1 -0
  955. package/dist/magma-components/p-6d350c7c.entry.js +1 -0
  956. package/dist/magma-components/p-6f5a1248.entry.js +1 -0
  957. package/dist/magma-components/p-6fba5e6c.entry.js +1 -0
  958. package/dist/magma-components/p-6fd9a2ae.entry.js +1 -0
  959. package/dist/magma-components/p-6pgPWpGI.js +1 -0
  960. package/dist/magma-components/p-70caf05b.system.entry.js +10 -0
  961. package/dist/magma-components/{p-832883c4.entry.js → p-70cc167f.entry.js} +1 -1
  962. package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-736c0e25.system.entry.js} +2 -2
  963. package/dist/magma-components/p-73e593a2.system.entry.js +95 -0
  964. package/dist/magma-components/p-7450a7a7.system.entry.js +49 -0
  965. package/dist/magma-components/p-7535328a.entry.js +1 -0
  966. package/dist/magma-components/{p-4cb88b06.system.entry.js → p-76f02296.system.entry.js} +1 -1
  967. package/dist/magma-components/p-79bc2e81.entry.js +1 -0
  968. package/dist/magma-components/p-79dc2243.entry.js +1 -0
  969. package/dist/magma-components/p-7b1c6eb0.entry.js +1 -0
  970. package/dist/magma-components/p-7b8b51c8.entry.js +1 -0
  971. package/dist/magma-components/p-7bc0a6c4.entry.js +1 -0
  972. package/dist/magma-components/{p-8d53bd61.system.entry.js → p-7c8e79a7.system.entry.js} +1 -1
  973. package/dist/magma-components/p-7c90298a.entry.js +1 -0
  974. package/dist/magma-components/p-7e02237b.entry.js +1 -0
  975. package/dist/magma-components/{p-f733ae92.system.entry.js → p-7f247e64.system.entry.js} +2 -2
  976. package/dist/magma-components/p-808f6796.entry.js +1 -0
  977. package/dist/magma-components/{p-e213640b.entry.js → p-82480df5.entry.js} +1 -1
  978. package/dist/magma-components/p-842b1dfc.entry.js +1 -0
  979. package/dist/magma-components/p-88c7be3d.system.entry.js +68 -0
  980. package/dist/magma-components/p-89733d3a.system.entry.js +14 -0
  981. package/dist/magma-components/p-8c75425d.entry.js +1 -0
  982. package/dist/magma-components/{p-5ac9e2f4.entry.js → p-8c76410b.entry.js} +1 -1
  983. package/dist/magma-components/p-8cdad12f.entry.js +1 -0
  984. package/dist/magma-components/p-8d2a6896.entry.js +1 -0
  985. package/dist/magma-components/p-8d7835e2.system.entry.js +10 -0
  986. package/dist/magma-components/p-8f039ca0.system.entry.js +7 -0
  987. package/dist/magma-components/p-8f54cf62.system.entry.js +4 -0
  988. package/dist/magma-components/p-8f6bd147.entry.js +1 -0
  989. package/dist/magma-components/p-9017022c.system.entry.js +15 -0
  990. package/dist/magma-components/p-909f5b60.system.entry.js +55 -0
  991. package/dist/magma-components/p-94e9f2be.system.entry.js +11 -0
  992. package/dist/magma-components/p-976bb373.system.entry.js +90 -0
  993. package/dist/magma-components/p-97d82884.system.entry.js +16 -0
  994. package/dist/magma-components/p-97de86c6.system.entry.js +16 -0
  995. package/dist/magma-components/p-97e9a197.system.entry.js +32 -0
  996. package/dist/magma-components/p-9a936cae.system.entry.js +45 -0
  997. package/dist/magma-components/p-9c6d184f.entry.js +1 -0
  998. package/dist/magma-components/p-9db0a6e9.entry.js +1 -0
  999. package/dist/magma-components/p-9e662528.entry.js +1 -0
  1000. package/dist/magma-components/{p-7ffda4f5.entry.js → p-9ff02a82.entry.js} +1 -1
  1001. package/dist/magma-components/p-B85MJLTf.js +1 -0
  1002. package/dist/magma-components/p-BJqUjYIG.system.js +1 -0
  1003. package/dist/magma-components/{p-Dg8nxRUX.system.js → p-BcYSdbK0.system.js} +85 -53
  1004. package/dist/magma-components/p-BeYLDgbf.js +1 -0
  1005. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  1006. package/dist/magma-components/p-D6-Ny6z1.system.js +1 -0
  1007. package/dist/magma-components/{p-BPNsbMrg.system.js → p-DhhAXEdA.system.js} +11 -5
  1008. package/dist/magma-components/p-JMPfVnGv.js +1 -0
  1009. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  1010. package/dist/magma-components/p-a3e3a653.system.entry.js +81 -0
  1011. package/dist/magma-components/p-a4c26b4d.system.entry.js +19 -0
  1012. package/dist/magma-components/{p-dcc3be64.system.entry.js → p-a61c7ae9.system.entry.js} +1 -1
  1013. package/dist/magma-components/p-a653e096.entry.js +1 -0
  1014. package/dist/magma-components/p-a8bf46cb.system.entry.js +1 -0
  1015. package/dist/magma-components/p-a9736d68.system.entry.js +4 -0
  1016. package/dist/magma-components/p-ac4435e7.entry.js +1 -0
  1017. package/dist/magma-components/p-ac873ab4.entry.js +1 -0
  1018. package/dist/magma-components/p-acae292f.system.entry.js +28 -0
  1019. package/dist/magma-components/p-add1a8d0.system.entry.js +7 -0
  1020. package/dist/magma-components/p-b1a0e56e.system.entry.js +42 -0
  1021. package/dist/magma-components/p-b33a6f7e.system.entry.js +13 -0
  1022. package/dist/magma-components/p-b492dd4c.entry.js +1 -0
  1023. package/dist/magma-components/p-b99cac43.entry.js +1 -0
  1024. package/dist/magma-components/p-baf0359b.entry.js +1 -0
  1025. package/dist/magma-components/p-bbd414dc.entry.js +1 -0
  1026. package/dist/magma-components/p-be1aad5f.entry.js +1 -0
  1027. package/dist/magma-components/p-bf05f9f3.entry.js +1 -0
  1028. package/dist/magma-components/p-bf8c6647.system.entry.js +11 -0
  1029. package/dist/magma-components/p-bfe19e4b.entry.js +1 -0
  1030. package/dist/magma-components/p-c1a7266a.entry.js +1 -0
  1031. package/dist/magma-components/p-c3585de7.system.entry.js +7 -0
  1032. package/dist/magma-components/p-c45d9a64.system.entry.js +32 -0
  1033. package/dist/magma-components/p-c4ceaef6.system.entry.js +10 -0
  1034. package/dist/magma-components/{p-57762bae.entry.js → p-c575cb7b.entry.js} +1 -1
  1035. package/dist/magma-components/p-c644c5fc.system.entry.js +1 -0
  1036. package/dist/magma-components/{p-61bedbe7.system.entry.js → p-c69ec735.system.entry.js} +8 -3
  1037. package/dist/magma-components/p-c7d84d1c.system.entry.js +1 -0
  1038. package/dist/magma-components/p-cb8b45fd.entry.js +1 -0
  1039. package/dist/magma-components/p-cbfd8b10.system.entry.js +16 -0
  1040. package/dist/magma-components/{p-ed897f9f.entry.js → p-ce46191c.entry.js} +1 -1
  1041. package/dist/magma-components/p-cebe7b52.entry.js +1 -0
  1042. package/dist/magma-components/p-cefdc01f.system.entry.js +7 -0
  1043. package/dist/magma-components/{p-f29a059d.system.entry.js → p-d025a34f.system.entry.js} +1 -1
  1044. package/dist/magma-components/p-d1c47baa.entry.js +1 -0
  1045. package/dist/magma-components/p-d269bfb0.entry.js +1 -0
  1046. package/dist/magma-components/p-d42f267b.system.entry.js +40 -0
  1047. package/dist/magma-components/p-d65d8a09.system.entry.js +1 -0
  1048. package/dist/magma-components/p-d6eca2ef.entry.js +1 -0
  1049. package/dist/magma-components/p-d716efe9.system.entry.js +1 -0
  1050. package/dist/magma-components/{p-314abfba.entry.js → p-da6ccc03.entry.js} +1 -1
  1051. package/dist/magma-components/p-dbaf5368.system.entry.js +7 -0
  1052. package/dist/magma-components/p-dc340618.entry.js +1 -0
  1053. package/dist/magma-components/p-dc752e9b.entry.js +1 -0
  1054. package/dist/magma-components/p-e238e2eb.entry.js +1 -0
  1055. package/dist/magma-components/p-e388f1f2.system.entry.js +19 -0
  1056. package/dist/magma-components/{p-74b51db8.entry.js → p-e50fdcee.entry.js} +1 -1
  1057. package/dist/magma-components/{p-2c44c961.system.entry.js → p-e779a67f.system.entry.js} +3 -3
  1058. package/dist/magma-components/p-e8ae4016.system.entry.js +1 -0
  1059. package/dist/magma-components/{p-9eb1e154.system.entry.js → p-e8d95868.system.entry.js} +2 -2
  1060. package/dist/magma-components/p-ed232c76.entry.js +1 -0
  1061. package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-ed6e287d.system.entry.js} +25 -7
  1062. package/dist/magma-components/{p-88287207.system.entry.js → p-ed87425c.system.entry.js} +1 -1
  1063. package/dist/magma-components/p-ed897125.entry.js +1 -0
  1064. package/dist/magma-components/p-ee876b20.system.entry.js +4 -0
  1065. package/dist/magma-components/p-efe0bb12.system.entry.js +7 -0
  1066. package/dist/magma-components/p-f2412853.system.entry.js +27 -0
  1067. package/dist/magma-components/p-f2743a2b.entry.js +1 -0
  1068. package/dist/magma-components/p-f2f2945b.entry.js +1 -0
  1069. package/dist/magma-components/p-f37f1343.entry.js +1 -0
  1070. package/dist/magma-components/p-f3dd135e.system.entry.js +32 -0
  1071. package/dist/magma-components/p-f5ce24e8.entry.js +1 -0
  1072. package/dist/magma-components/p-f8a88f11.entry.js +1 -0
  1073. package/dist/magma-components/p-f900fe90.entry.js +1 -0
  1074. package/dist/magma-components/p-pNJmnrhq.js +1 -0
  1075. package/dist/magma-components/p-pxyGaQ-P.system.js +2 -0
  1076. package/dist/stats.json +2920 -2147
  1077. package/dist/types/common/floating-controller.d.ts +8 -1
  1078. package/dist/types/common/hash.d.ts +8 -0
  1079. package/dist/types/common/navigation.d.ts +32 -0
  1080. package/dist/types/common/string.d.ts +3 -1
  1081. package/dist/types/components/mds-button/mds-button.d.ts +33 -2
  1082. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1083. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1084. package/dist/types/components/mds-file/mds-file.d.ts +6 -1
  1085. package/dist/types/components/mds-filter/mds-filter.d.ts +15 -0
  1086. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +18 -1
  1087. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1088. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1089. package/dist/types/components/mds-input/mds-input.d.ts +8 -1
  1090. package/dist/types/components/mds-input-date/mds-input-date.d.ts +6 -0
  1091. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +5 -0
  1092. package/dist/types/components/mds-input-select/mds-input-select.d.ts +15 -2
  1093. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +8 -3
  1094. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1095. package/dist/types/components/mds-pref/mds-pref.d.ts +5 -8
  1096. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +8 -0
  1097. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1098. package/dist/types/components/mds-tab/mds-tab.d.ts +14 -1
  1099. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  1100. package/dist/types/components/mds-table/mds-table.d.ts +8 -1
  1101. package/dist/types/components/mds-table/meta/type.d.ts +1 -0
  1102. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +33 -14
  1103. package/dist/types/components/mds-table-header-cell/meta/event-detail.d.ts +6 -0
  1104. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  1105. package/dist/types/components/mds-text/mds-text.d.ts +8 -4
  1106. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +8 -1
  1107. package/dist/types/components/mds-usage/mds-usage.d.ts +5 -1
  1108. package/dist/types/components/mds-usage/meta/variants.d.ts +7 -19
  1109. package/dist/types/components.d.ts +127 -22
  1110. package/dist/types/index.d.ts +12 -4
  1111. package/dist/types/type/floating-ui.d.ts +2 -0
  1112. package/dist/types/type/input.d.ts +3 -0
  1113. package/package.json +18 -18
  1114. package/dist/cjs/_commonjsHelpers-B83fTs8d.js +0 -36
  1115. package/dist/collection/dictionary/icon.js +0 -10
  1116. package/dist/collection/type/icon.js +0 -1
  1117. package/dist/components/p-1aH7xiMs.js +0 -1
  1118. package/dist/components/p-B05zwjTY.js +0 -1
  1119. package/dist/components/p-BOu_NOgd.js +0 -1
  1120. package/dist/components/p-BTpjOy0A.js +0 -1
  1121. package/dist/components/p-BVw5aqzn.js +0 -1
  1122. package/dist/components/p-BWpSxp3h.js +0 -1
  1123. package/dist/components/p-BXPIlPIF.js +0 -1
  1124. package/dist/components/p-BzvYQBdf.js +0 -1
  1125. package/dist/components/p-C3Sn8bRc.js +0 -1
  1126. package/dist/components/p-CGkSDkOY.js +0 -1
  1127. package/dist/components/p-CHAGzQT-.js +0 -1
  1128. package/dist/components/p-CIcshx6K.js +0 -1
  1129. package/dist/components/p-CKS4r32k.js +0 -1
  1130. package/dist/components/p-COkF_8bh.js +0 -1
  1131. package/dist/components/p-CmHMhHMt.js +0 -1
  1132. package/dist/components/p-Cnt6G6GK.js +0 -1
  1133. package/dist/components/p-CsL9U6eU.js +0 -1
  1134. package/dist/components/p-Cyj1BFxx.js +0 -1
  1135. package/dist/components/p-DQqUzCGR.js +0 -1
  1136. package/dist/components/p-DR46G4-6.js +0 -1
  1137. package/dist/components/p-DcW0iRnZ.js +0 -1
  1138. package/dist/components/p-DebgFlHq.js +0 -1
  1139. package/dist/components/p-Dpf8NWF9.js +0 -1
  1140. package/dist/components/p-DwA-5c8G.js +0 -1
  1141. package/dist/components/p-Dws02cT2.js +0 -8
  1142. package/dist/components/p-E-ZsRS8r.js +0 -1
  1143. package/dist/components/p-K3QNYRhf.js +0 -1
  1144. package/dist/components/p-PQ_EO5-U.js +0 -1
  1145. package/dist/components/p-akEzGmDD.js +0 -1
  1146. package/dist/components/p-bDVBqkn0.js +0 -1
  1147. package/dist/esm/_commonjsHelpers-E-ZsRS8r.js +0 -32
  1148. package/dist/esm-es5/_commonjsHelpers-E-ZsRS8r.js +0 -1
  1149. package/dist/magma-components/p-00e47e49.system.entry.js +0 -14
  1150. package/dist/magma-components/p-0141c597.system.entry.js +0 -15
  1151. package/dist/magma-components/p-021f96f8.entry.js +0 -1
  1152. package/dist/magma-components/p-0255924b.system.entry.js +0 -22
  1153. package/dist/magma-components/p-05014374.entry.js +0 -1
  1154. package/dist/magma-components/p-05f73994.entry.js +0 -1
  1155. package/dist/magma-components/p-0646392d.entry.js +0 -1
  1156. package/dist/magma-components/p-0a904a12.entry.js +0 -1
  1157. package/dist/magma-components/p-106f39c6.entry.js +0 -1
  1158. package/dist/magma-components/p-10ad73e3.system.entry.js +0 -19
  1159. package/dist/magma-components/p-1150ffb8.system.entry.js +0 -10
  1160. package/dist/magma-components/p-12c5ae26.entry.js +0 -1
  1161. package/dist/magma-components/p-13a1d35f.entry.js +0 -1
  1162. package/dist/magma-components/p-15d4846d.entry.js +0 -1
  1163. package/dist/magma-components/p-1673225e.system.entry.js +0 -8
  1164. package/dist/magma-components/p-188f4b1d.system.entry.js +0 -7
  1165. package/dist/magma-components/p-18c8628c.entry.js +0 -1
  1166. package/dist/magma-components/p-1be45c75.entry.js +0 -1
  1167. package/dist/magma-components/p-1e3d89cd.system.entry.js +0 -1
  1168. package/dist/magma-components/p-1e700f0a.entry.js +0 -1
  1169. package/dist/magma-components/p-20e4f7dd.system.entry.js +0 -15
  1170. package/dist/magma-components/p-21865dd2.entry.js +0 -1
  1171. package/dist/magma-components/p-21c46e74.system.entry.js +0 -4
  1172. package/dist/magma-components/p-231b604f.system.entry.js +0 -1
  1173. package/dist/magma-components/p-2507f5cf.entry.js +0 -1
  1174. package/dist/magma-components/p-277444bc.entry.js +0 -1
  1175. package/dist/magma-components/p-283b0548.system.entry.js +0 -102
  1176. package/dist/magma-components/p-2ec0db8e.entry.js +0 -1
  1177. package/dist/magma-components/p-30c3872d.entry.js +0 -1
  1178. package/dist/magma-components/p-322a5452.entry.js +0 -1
  1179. package/dist/magma-components/p-3231a6a3.entry.js +0 -1
  1180. package/dist/magma-components/p-34401d35.entry.js +0 -1
  1181. package/dist/magma-components/p-35aa29c5.entry.js +0 -1
  1182. package/dist/magma-components/p-36a67b51.entry.js +0 -1
  1183. package/dist/magma-components/p-3a1339bb.system.entry.js +0 -4
  1184. package/dist/magma-components/p-3d56e3f4.entry.js +0 -1
  1185. package/dist/magma-components/p-3e0eed90.system.entry.js +0 -12
  1186. package/dist/magma-components/p-3ecade3c.system.entry.js +0 -11
  1187. package/dist/magma-components/p-3eefca33.system.entry.js +0 -16
  1188. package/dist/magma-components/p-436f9b27.system.entry.js +0 -38
  1189. package/dist/magma-components/p-44e2a945.system.entry.js +0 -1
  1190. package/dist/magma-components/p-4658154f.entry.js +0 -1
  1191. package/dist/magma-components/p-474047fa.system.entry.js +0 -10
  1192. package/dist/magma-components/p-474c5d53.system.entry.js +0 -11
  1193. package/dist/magma-components/p-4ac94b84.system.entry.js +0 -32
  1194. package/dist/magma-components/p-4c73f14b.system.entry.js +0 -14
  1195. package/dist/magma-components/p-4dd6a39b.entry.js +0 -1
  1196. package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
  1197. package/dist/magma-components/p-4f14a166.entry.js +0 -1
  1198. package/dist/magma-components/p-50ea11c9.system.entry.js +0 -32
  1199. package/dist/magma-components/p-52793bdb.system.entry.js +0 -1
  1200. package/dist/magma-components/p-5299f709.system.entry.js +0 -26
  1201. package/dist/magma-components/p-58b82b40.system.entry.js +0 -10
  1202. package/dist/magma-components/p-5a7267e8.system.entry.js +0 -4
  1203. package/dist/magma-components/p-5a911e7b.system.entry.js +0 -13
  1204. package/dist/magma-components/p-5ccf493c.system.entry.js +0 -7
  1205. package/dist/magma-components/p-5d119459.entry.js +0 -1
  1206. package/dist/magma-components/p-5fd04ce1.entry.js +0 -1
  1207. package/dist/magma-components/p-60f67c37.entry.js +0 -1
  1208. package/dist/magma-components/p-632bc44c.entry.js +0 -1
  1209. package/dist/magma-components/p-69c21eae.entry.js +0 -1
  1210. package/dist/magma-components/p-6a6326c6.entry.js +0 -1
  1211. package/dist/magma-components/p-6c800411.entry.js +0 -1
  1212. package/dist/magma-components/p-6e03b83a.entry.js +0 -1
  1213. package/dist/magma-components/p-6ed05d99.entry.js +0 -1
  1214. package/dist/magma-components/p-6f74cdf5.system.entry.js +0 -12
  1215. package/dist/magma-components/p-73fde271.system.entry.js +0 -72
  1216. package/dist/magma-components/p-76ecad2f.entry.js +0 -18
  1217. package/dist/magma-components/p-774ce1d2.entry.js +0 -1
  1218. package/dist/magma-components/p-77615947.system.entry.js +0 -1
  1219. package/dist/magma-components/p-7770b989.system.entry.js +0 -1
  1220. package/dist/magma-components/p-7787ebaf.system.entry.js +0 -1
  1221. package/dist/magma-components/p-7927010f.system.entry.js +0 -25
  1222. package/dist/magma-components/p-79421ee1.system.entry.js +0 -11
  1223. package/dist/magma-components/p-7ab15184.entry.js +0 -1
  1224. package/dist/magma-components/p-7afec7ee.entry.js +0 -1
  1225. package/dist/magma-components/p-7e085c82.entry.js +0 -1
  1226. package/dist/magma-components/p-7e7cf986.system.entry.js +0 -7
  1227. package/dist/magma-components/p-809adece.system.entry.js +0 -17
  1228. package/dist/magma-components/p-8183b7ed.entry.js +0 -1
  1229. package/dist/magma-components/p-83394280.system.entry.js +0 -32
  1230. package/dist/magma-components/p-835fc007.entry.js +0 -1
  1231. package/dist/magma-components/p-84645c60.system.entry.js +0 -1
  1232. package/dist/magma-components/p-87026d34.entry.js +0 -1
  1233. package/dist/magma-components/p-87faaa8e.system.entry.js +0 -16
  1234. package/dist/magma-components/p-883c223a.system.entry.js +0 -4
  1235. package/dist/magma-components/p-88f99a4f.system.entry.js +0 -81
  1236. package/dist/magma-components/p-8a3d2259.system.entry.js +0 -17
  1237. package/dist/magma-components/p-8aafbfdf.system.entry.js +0 -49
  1238. package/dist/magma-components/p-8afc9bc4.system.entry.js +0 -2838
  1239. package/dist/magma-components/p-8ca1d30d.system.entry.js +0 -1
  1240. package/dist/magma-components/p-8ccd187a.entry.js +0 -1
  1241. package/dist/magma-components/p-90993b0b.system.entry.js +0 -68
  1242. package/dist/magma-components/p-915c5f06.system.entry.js +0 -47
  1243. package/dist/magma-components/p-91ff1560.system.entry.js +0 -7
  1244. package/dist/magma-components/p-92d9b537.entry.js +0 -1
  1245. package/dist/magma-components/p-932620b6.entry.js +0 -1
  1246. package/dist/magma-components/p-9344a234.entry.js +0 -1
  1247. package/dist/magma-components/p-97f6166e.system.entry.js +0 -28
  1248. package/dist/magma-components/p-9d1cdb42.system.entry.js +0 -15
  1249. package/dist/magma-components/p-9dcfc247.entry.js +0 -1
  1250. package/dist/magma-components/p-9fe14430.system.entry.js +0 -7
  1251. package/dist/magma-components/p-BpVYIPkx.js +0 -1
  1252. package/dist/magma-components/p-CHAGzQT-.js +0 -1
  1253. package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
  1254. package/dist/magma-components/p-DIUTGDX_.system.js +0 -1
  1255. package/dist/magma-components/p-E-ZsRS8r.js +0 -1
  1256. package/dist/magma-components/p-a64bbb36.system.entry.js +0 -40
  1257. package/dist/magma-components/p-a6af4083.system.entry.js +0 -32
  1258. package/dist/magma-components/p-a7e7f2c0.entry.js +0 -1
  1259. package/dist/magma-components/p-aba96089.entry.js +0 -1
  1260. package/dist/magma-components/p-aed8b119.entry.js +0 -1
  1261. package/dist/magma-components/p-b24b5179.entry.js +0 -1
  1262. package/dist/magma-components/p-b295e4ab.system.entry.js +0 -1
  1263. package/dist/magma-components/p-b2c62b6e.system.entry.js +0 -7
  1264. package/dist/magma-components/p-b5559b28.system.entry.js +0 -1
  1265. package/dist/magma-components/p-b897c97d.entry.js +0 -1
  1266. package/dist/magma-components/p-bab4c75e.system.entry.js +0 -45
  1267. package/dist/magma-components/p-bc53c19e.entry.js +0 -8
  1268. package/dist/magma-components/p-bf2fe278.system.entry.js +0 -16
  1269. package/dist/magma-components/p-c0136138.entry.js +0 -1
  1270. package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
  1271. package/dist/magma-components/p-c22887f7.system.entry.js +0 -90
  1272. package/dist/magma-components/p-c28fce23.entry.js +0 -1
  1273. package/dist/magma-components/p-c48bad95.entry.js +0 -1
  1274. package/dist/magma-components/p-cb2c5f1b.entry.js +0 -1
  1275. package/dist/magma-components/p-cc0c6ae7.entry.js +0 -1
  1276. package/dist/magma-components/p-cc2a09f2.system.entry.js +0 -16
  1277. package/dist/magma-components/p-cc9d9458.entry.js +0 -1
  1278. package/dist/magma-components/p-ccb14076.system.entry.js +0 -217
  1279. package/dist/magma-components/p-ccb6898a.system.entry.js +0 -4
  1280. package/dist/magma-components/p-d04ac65d.entry.js +0 -1
  1281. package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
  1282. package/dist/magma-components/p-d1faf129.entry.js +0 -1
  1283. package/dist/magma-components/p-d282a929.entry.js +0 -1
  1284. package/dist/magma-components/p-d2f134ac.entry.js +0 -1
  1285. package/dist/magma-components/p-d47df503.system.entry.js +0 -37
  1286. package/dist/magma-components/p-d9804d2f.entry.js +0 -1
  1287. package/dist/magma-components/p-dc06b29e.entry.js +0 -1
  1288. package/dist/magma-components/p-dc59b764.entry.js +0 -1
  1289. package/dist/magma-components/p-dc7bada4.entry.js +0 -1
  1290. package/dist/magma-components/p-de091be7.system.entry.js +0 -7
  1291. package/dist/magma-components/p-dfe8552c.system.entry.js +0 -11
  1292. package/dist/magma-components/p-e1e69217.system.entry.js +0 -1
  1293. package/dist/magma-components/p-e2ef5996.entry.js +0 -1
  1294. package/dist/magma-components/p-e7751639.entry.js +0 -1
  1295. package/dist/magma-components/p-e887a14c.entry.js +0 -1
  1296. package/dist/magma-components/p-e8cd2b93.system.entry.js +0 -4
  1297. package/dist/magma-components/p-eb681207.system.entry.js +0 -1
  1298. package/dist/magma-components/p-ec9cc7b9.entry.js +0 -1
  1299. package/dist/magma-components/p-eca99a0a.system.entry.js +0 -1
  1300. package/dist/magma-components/p-ecd3c27f.entry.js +0 -1
  1301. package/dist/magma-components/p-ef3424e3.entry.js +0 -1
  1302. package/dist/magma-components/p-f654eafe.entry.js +0 -1
  1303. package/dist/magma-components/p-f8eb19b3.entry.js +0 -1
  1304. package/dist/magma-components/p-f8feee93.system.entry.js +0 -4
  1305. package/dist/magma-components/p-ffa1a0b4.system.entry.js +0 -1
  1306. package/dist/types/dictionary/icon.d.ts +0 -4
  1307. package/dist/types/type/icon.d.ts +0 -1
@@ -1 +1 @@
1
- import{p as t,H as e,d as s,h as a,c as i,t as r}from"./p-pBvN1uAc.js";import{m as o}from"./p-XQgkfNpn.js";import{L as m}from"./p--miH951G.js";import{p as n}from"./p-zHpei4x6.js";import{d as l}from"./p-COkF_8bh.js";import{d}from"./p-DmPLOktp.js";import{d as c}from"./p-DebgFlHq.js";import{d as h}from"./p-CKS4r32k.js";import{d as f}from"./p-DQqUzCGR.js";import{d as p}from"./p-BW24ByN-.js";var b={contrastMore:"Περισσότερο",contrastDefault:"Προεπιλογή",label:"Αντίθεση",systemSettings:"Ρυθμίσεις συστήματος"},u={contrastMore:"More",contrastDefault:"Default",label:"Contrast",systemSettings:"System settings"},g={contrastMore:"Mayor",contrastDefault:"Predeterminado",label:"Contraste",systemSettings:"Sistema operativo"},v={contrastMore:"Maggiore",contrastDefault:"Predefinito",label:"Contrasto",systemSettings:"Sistema operativo"};const y=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefContrast",this.customPropertyAlias="--magma-pref-contrast",this.defaultMode="system",this.syncingFromStore=!1,this.t=new m({el:b,en:u,es:g,it:v}),this.prefersDefaults={custom:"no-preference",less:"no-preference",more:"more","no-preference":"no-preference"},this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}},this.syncContrast=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.syncingFromStore=!1)},this.rollbackContrast=()=>{if("undefined"==typeof window)return this.defaultMode;for(const t in this.prefersDefaults)if({}.hasOwnProperty.call(this.prefersDefaults,t)&&window.matchMedia(`(prefers-contrast: ${t})`).matches)return this.prefersDefaults[t];return this.defaultMode},this.setContrast=t=>{if(this.prefChangeEvent.emit({preference:"contrast"}),this.rollbackContrast(),this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.contrast)({}).hasOwnProperty.call(this.contrast,t)&&(null==e||e.classList.remove(this.contrast[t].selector));null==e||e.classList.add(this.contrast[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}n.state.contrast=t},this.handleModeClick=t=>()=>{this.setContrast(t)}}componentWillLoad(){var t,e;this.setContrast(null!==(e=null!==(t=this.mode)&&void 0!==t?t:localStorage.getItem(this.localStorageAlias))&&void 0!==e?e:this.defaultMode)}connectedCallback(){this.unsubscribeStore=n.onChange("contrast",this.syncContrast)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t,e){t===e||this.syncingFromStore||this.setContrast(t)}render(){var t;return a(i,{key:"e616ac6092e299e246f1d1eb53c39f45f241ac95","pref-contrast":n.state.contrast},a("mds-text",{key:"68d13eb8be2ee6adaf88e78bc9b2be38dc70feca",class:"info",typography:"caption"},a("b",{key:"47e8b4c296c88bb4e860135b846c536197312443"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),a("mds-tab",{key:"24a16f9b5bd82bc838a899b75399817d73d1dfb0",fill:!0,size:this.size},a("mds-tab-item",{key:"ac1df9489fe6df41d8040e30da99d095fa8db50d",selected:"more"===this.mode,onClick:this.handleModeClick("more"),class:"item item--more",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>',title:this.t.get(this.contrast.more.label)}),a("mds-tab-item",{key:"d7a46a75971a9f66e6283fa717e46c8940c16f59",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:o,title:this.t.get(this.contrast.system.label)}),a("mds-tab-item",{key:"8838c3b0829cc9f8ec387dd0f5dfb5c7ebea8994",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:"no-preference"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>',title:this.t.get(this.contrast["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*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--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"}},[1,"mds-pref-contrast",{size:[513],mode:[1537]},void 0,{mode:[{modeChanged:0}]}]),L=y,x=function(){"undefined"!=typeof customElements&&["mds-pref-contrast","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-contrast":customElements.get(r(t))||customElements.define(r(t),y);break;case"mds-button":customElements.get(r(t))||l();break;case"mds-icon":customElements.get(r(t))||d();break;case"mds-spinner":customElements.get(r(t))||c();break;case"mds-tab":customElements.get(r(t))||h();break;case"mds-tab-item":customElements.get(r(t))||f();break;case"mds-text":customElements.get(r(t))||p()}}))};export{L as MdsPrefContrast,x as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as i,c as a,t as r}from"./p-pBvN1uAc.js";import{m as o}from"./p-XQgkfNpn.js";import{L as m}from"./p--miH951G.js";import{p as n}from"./p-zHpei4x6.js";import{d as l}from"./p-DHu8X7zF.js";import{d}from"./p-DmPLOktp.js";import{d as c}from"./p-BBDliSai.js";import{d as h}from"./p-BCwcnHFh.js";import{d as f}from"./p-DZPHWQtD.js";import{d as p}from"./p-DLCcW1Q5.js";var b={contrastMore:"Περισσότερο",contrastDefault:"Προεπιλογή",label:"Αντίθεση",systemSettings:"Ρυθμίσεις συστήματος"},u={contrastMore:"More",contrastDefault:"Default",label:"Contrast",systemSettings:"System settings"},g={contrastMore:"Mayor",contrastDefault:"Predeterminado",label:"Contraste",systemSettings:"Sistema operativo"},y={contrastMore:"Maggiore",contrastDefault:"Predefinito",label:"Contrasto",systemSettings:"Sistema operativo"};const v=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefContrast",this.customPropertyAlias="--magma-pref-contrast",this.defaultMode="system",this.syncingFromStore=!1,this.t=new m({el:b,en:u,es:g,it:y}),this.prefersDefaults={custom:"no-preference",less:"no-preference",more:"more","no-preference":"no-preference"},this.contrast={more:{selector:"pref-contrast-more",label:"contrastMore"},system:{selector:"pref-contrast-system",label:"systemSettings"},"no-preference":{selector:"pref-contrast-no-preference",label:"contrastDefault"}},this.syncContrast=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.syncingFromStore=!1)},this.rollbackContrast=()=>{if("undefined"==typeof window)return this.defaultMode;for(const t in this.prefersDefaults)if({}.hasOwnProperty.call(this.prefersDefaults,t)&&window.matchMedia(`(prefers-contrast: ${t})`).matches)return this.prefersDefaults[t];return this.defaultMode},this.setContrast=t=>{if(this.prefChangeEvent.emit({preference:"contrast"}),this.rollbackContrast(),this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.contrast)({}).hasOwnProperty.call(this.contrast,t)&&(null==e||e.classList.remove(this.contrast[t].selector));null==e||e.classList.add(this.contrast[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}n.state.contrast=t},this.handleModeClick=t=>()=>{this.setContrast(t)}}componentWillLoad(){var t,e;this.setContrast(null!==(e=null!==(t=this.mode)&&void 0!==t?t:localStorage.getItem(this.localStorageAlias))&&void 0!==e?e:this.defaultMode)}connectedCallback(){this.unsubscribeStore=n.onChange("contrast",this.syncContrast)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t,e){t===e||this.syncingFromStore||this.setContrast(t)}render(){var t;return i(a,{key:"e616ac6092e299e246f1d1eb53c39f45f241ac95","pref-contrast":n.state.contrast},i("mds-text",{key:"68d13eb8be2ee6adaf88e78bc9b2be38dc70feca",class:"info",typography:"caption"},i("b",{key:"47e8b4c296c88bb4e860135b846c536197312443"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"24a16f9b5bd82bc838a899b75399817d73d1dfb0",fill:!0,size:this.size},i("mds-tab-item",{key:"ac1df9489fe6df41d8040e30da99d095fa8db50d",selected:"more"===this.mode,onClick:this.handleModeClick("more"),class:"item item--more",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 22c5.52 0 10-4.48 10-10S17.52 2 12 2S2 6.48 2 12s4.48 10 10 10zm1-17.93c3.94.49 7 3.85 7 7.93s-3.05 7.44-7 7.93V4.07z"/></svg>',title:this.t.get(this.contrast.more.label)}),i("mds-tab-item",{key:"d7a46a75971a9f66e6283fa717e46c8940c16f59",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:o,title:this.t.get(this.contrast.system.label)}),i("mds-tab-item",{key:"8838c3b0829cc9f8ec387dd0f5dfb5c7ebea8994",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--default",icon:"no-preference"===this.mode?'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25L19 9zm-7.5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25L19 15z"/></svg>':'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zm0 6l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25zm-7.5-5.5L9 4L6.5 9.5L1 12l5.5 2.5L9 20l2.5-5.5L17 12l-5.5-2.5zm-1.51 3.49L9 15.17l-.99-2.18L5.83 12l2.18-.99L9 8.83l.99 2.18l2.18.99l-2.18.99z"/></svg>',title:this.t.get(this.contrast["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-tab,mds-tab-item,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--default,.item--more,.item--system{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"}},[1,"mds-pref-contrast",{size:[513],mode:[1537]},void 0,{mode:[{modeChanged:0}]}]),L=v,w=function(){"undefined"!=typeof customElements&&["mds-pref-contrast","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-contrast":customElements.get(r(t))||customElements.define(r(t),v);break;case"mds-button":customElements.get(r(t))||l();break;case"mds-icon":customElements.get(r(t))||d();break;case"mds-spinner":customElements.get(r(t))||c();break;case"mds-tab":customElements.get(r(t))||h();break;case"mds-tab-item":customElements.get(r(t))||f();break;case"mds-text":customElements.get(r(t))||p()}}))};export{L as MdsPrefContrast,w as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,d as a,h as t,c as o,t as i}from"./p-pBvN1uAc.js";import{L as n}from"./p--miH951G.js";import{m as r}from"./p-BFhO-KUe.js";import{m as d}from"./p-lZldSMeV.js";import{d as m}from"./p-COkF_8bh.js";import{d as l}from"./p-DmPLOktp.js";import{d as h}from"./p-DebgFlHq.js";import{d as u}from"./p-BW24ByN-.js";var c={af:"Afrikaans",ar:"العربية",az:"Azərbaycanca",be:"Беларуская",bg:"Български",bn:"বাংলা",bs:"Bosanski",ca:"Català",ceb:"Cebuano",cs:"Čeština",cy:"Cymraeg",da:"Dansk",de:"Deutsch",el:"Ελληνικά",en:"English",eo:"Esperanto",es:"Español",et:"Eesti",eu:"Euskara",fa:"فارسی",fi:"Suomi",fr:"Français",fy:"Frysk",ga:"Gaeilge",gd:"Gàidhlig",gl:"Galego",gu:"ગુજરાતી",ha:"Hausa",haw:"ʻŌlelo Hawaiʻi",he:"עברית",hi:"हिन्दी",hmn:"Hmoob",hr:"Hrvatski",ht:"Kreyòl ayisyen",hu:"Magyar",hy:"Հայերեն",id:"Bahasa Indonesia",ig:"Igbo",is:"Íslenska",it:"Italiano",ja:"日本語",jv:"Basa Jawa",ka:"ქართული",kk:"Қазақ тілі",km:"ភាសាខ្មែរ",kn:"ಕನ್ನಡ",ko:"한국어",ku:"Kurdî",ky:"Кыргызча",la:"Latina",lb:"Lëtzebuergesch",lo:"ພາສາລາວ",lt:"Lietuvių",lv:"Latviešu",mg:"Malagasy",mi:"Māori",mk:"Македонски",ml:"മലയാളം",mn:"Монгол",mr:"मराठी",ms:"Bahasa Melayu",mt:"Malti",my:"မြန်မာ",ne:"नेपाली",nl:"Nederlands",no:"Norsk",ny:"Chinyanja",or:"ଓଡ଼ିଆ",pa:"ਪੰਜਾਬੀ",pl:"Polski",ps:"پښتو",pt:"Português",ro:"Română",ru:"Русский",sd:"سنڌي",si:"සිංහල",sk:"Slovenčina",sl:"Slovenščina",sm:"Gagana Sāmoa",sn:"ChiShona",so:"Soomaali",sq:"Shqip",sr:"Српски",st:"Sesotho",su:"Basa Sunda",sv:"Svenska",sw:"Kiswahili",ta:"தமிழ்",te:"తెలుగు",tg:"Тоҷикӣ",th:"ไทย",tr:"Türkçe",tt:"Tatarça",uk:"Українська",ur:"اردو",uz:"Oʻzbek",vi:"Tiếng Việt",xh:"isiXhosa",yi:"ייִדיש",yo:"Yorùbá",zh:"中文",zu:"isiZulu"},p={noCode:"Nessun code impostato"},g={noCode:"No code set"};const b=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectLanguageEvent=a(this,"mdsPrefLanguageItemSelect",7),this.t=new n({en:g,it:p}),this.selected=!1,this.validateCode=e=>{if(null!=e&&""!==e&&void 0===c[e])throw Error("Language code not found: "+e)},this.handleClick=()=>{this.selectLanguageEvent.emit({language:this.code})}}componentWillLoad(){this.validateCode(this.code)}handleCodeChange(e){this.validateCode(e)}render(){var e;return t(o,{key:"968d0f761a2c4b2de6652069dc1db4f51d61ee76",onClick:this.handleClick,role:"menuitem"},""!==(null!==(e=this.code)&&void 0!==e?e:"")?t("mds-button",{icon:this.selected?r:d,variant:"dark",tone:"text",label:c[this.code]}):t("mds-button",{icon:r,variant:"error",tone:"text",label:this.t.get("noCode")}))}static get watchers(){return{code:[{handleCodeChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:block}"}},[1,"mds-pref-language-item",{code:[513],selected:[516]},void 0,{code:[{handleCodeChange:0}]}]),k=b,y=function(){"undefined"!=typeof customElements&&["mds-pref-language-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-pref-language-item":customElements.get(i(e))||customElements.define(i(e),b);break;case"mds-button":customElements.get(i(e))||m();break;case"mds-icon":customElements.get(i(e))||l();break;case"mds-spinner":customElements.get(i(e))||h();break;case"mds-text":customElements.get(i(e))||u()}}))};export{k as MdsPrefLanguageItem,y as defineCustomElement}
1
+ import{p as e,H as s,d as a,h as t,c as o,t as i}from"./p-pBvN1uAc.js";import{L as n}from"./p--miH951G.js";import{m as r}from"./p-BFhO-KUe.js";import{m as d}from"./p-lZldSMeV.js";import{d as m}from"./p-DHu8X7zF.js";import{d as l}from"./p-DmPLOktp.js";import{d as h}from"./p-BBDliSai.js";import{d as u}from"./p-DLCcW1Q5.js";var c={af:"Afrikaans",ar:"العربية",az:"Azərbaycanca",be:"Беларуская",bg:"Български",bn:"বাংলা",bs:"Bosanski",ca:"Català",ceb:"Cebuano",cs:"Čeština",cy:"Cymraeg",da:"Dansk",de:"Deutsch",el:"Ελληνικά",en:"English",eo:"Esperanto",es:"Español",et:"Eesti",eu:"Euskara",fa:"فارسی",fi:"Suomi",fr:"Français",fy:"Frysk",ga:"Gaeilge",gd:"Gàidhlig",gl:"Galego",gu:"ગુજરાતી",ha:"Hausa",haw:"ʻŌlelo Hawaiʻi",he:"עברית",hi:"हिन्दी",hmn:"Hmoob",hr:"Hrvatski",ht:"Kreyòl ayisyen",hu:"Magyar",hy:"Հայերեն",id:"Bahasa Indonesia",ig:"Igbo",is:"Íslenska",it:"Italiano",ja:"日本語",jv:"Basa Jawa",ka:"ქართული",kk:"Қазақ тілі",km:"ភាសាខ្មែរ",kn:"ಕನ್ನಡ",ko:"한국어",ku:"Kurdî",ky:"Кыргызча",la:"Latina",lb:"Lëtzebuergesch",lo:"ພາສາລາວ",lt:"Lietuvių",lv:"Latviešu",mg:"Malagasy",mi:"Māori",mk:"Македонски",ml:"മലയാളം",mn:"Монгол",mr:"मराठी",ms:"Bahasa Melayu",mt:"Malti",my:"မြန်မာ",ne:"नेपाली",nl:"Nederlands",no:"Norsk",ny:"Chinyanja",or:"ଓଡ଼ିଆ",pa:"ਪੰਜਾਬੀ",pl:"Polski",ps:"پښتو",pt:"Português",ro:"Română",ru:"Русский",sd:"سنڌي",si:"සිංහල",sk:"Slovenčina",sl:"Slovenščina",sm:"Gagana Sāmoa",sn:"ChiShona",so:"Soomaali",sq:"Shqip",sr:"Српски",st:"Sesotho",su:"Basa Sunda",sv:"Svenska",sw:"Kiswahili",ta:"தமிழ்",te:"తెలుగు",tg:"Тоҷикӣ",th:"ไทย",tr:"Türkçe",tt:"Tatarça",uk:"Українська",ur:"اردو",uz:"Oʻzbek",vi:"Tiếng Việt",xh:"isiXhosa",yi:"ייִדיש",yo:"Yorùbá",zh:"中文",zu:"isiZulu"},p={noCode:"Nessun code impostato"},g={noCode:"No code set"};const k=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectLanguageEvent=a(this,"mdsPrefLanguageItemSelect",7),this.t=new n({en:g,it:p}),this.selected=!1,this.validateCode=e=>{if(null!=e&&""!==e&&void 0===c[e])throw Error("Language code not found: "+e)},this.handleClick=()=>{this.selectLanguageEvent.emit({language:this.code})}}componentWillLoad(){this.validateCode(this.code)}handleCodeChange(e){this.validateCode(e)}render(){var e;return t(o,{key:"968d0f761a2c4b2de6652069dc1db4f51d61ee76",onClick:this.handleClick,role:"menuitem"},""!==(null!==(e=this.code)&&void 0!==e?e:"")?t("mds-button",{icon:this.selected?r:d,variant:"dark",tone:"text",label:c[this.code]}):t("mds-button",{icon:r,variant:"error",tone:"text",label:this.t.get("noCode")}))}static get watchers(){return{code:[{handleCodeChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:block}"}},[1,"mds-pref-language-item",{code:[513],selected:[516]},void 0,{code:[{handleCodeChange:0}]}]),b=k,y=function(){"undefined"!=typeof customElements&&["mds-pref-language-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-pref-language-item":customElements.get(i(e))||customElements.define(i(e),k);break;case"mds-button":customElements.get(i(e))||m();break;case"mds-icon":customElements.get(i(e))||l();break;case"mds-spinner":customElements.get(i(e))||h();break;case"mds-text":customElements.get(i(e))||u()}}))};export{b as MdsPrefLanguageItem,y as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as e,d as s,h as i,c as t,t as o}from"./p-pBvN1uAc.js";import{L as n}from"./p--miH951G.js";import{p as r}from"./p-zHpei4x6.js";import{m as l}from"./p-DiWN48aq.js";import{m as d}from"./p-Ccz0jCNB.js";import{d as m}from"./p-COkF_8bh.js";import{d as u}from"./p-Cyj1BFxx.js";import{d as h}from"./p-DmPLOktp.js";import{d as g}from"./p-DebgFlHq.js";import{d as c}from"./p-CKS4r32k.js";import{d as b}from"./p-DQqUzCGR.js";import{d as p}from"./p-BW24ByN-.js";var f={auto:"Αυτόματο",label:"Γλώσσα",af:"Αφρικάανς",ar:"Αραβικά",az:"Αζερμπαϊτζανικά",be:"Λευκορωσικά",bg:"Βουλγαρικά",bn:"Μπενγκάλι",bs:"Βοσνιακά",ca:"Καταλανικά",ceb:"Σεμπουάνο",cs:"Τσεχικά",cy:"Ουαλικά",da:"Δανικά",de:"Γερμανικά",el:"Ελληνικά",en:"Αγγλικά",eo:"Εσπεράντο",es:"Ισπανικά",et:"Εσθονικά",eu:"Βασκικά",fa:"Περσικά",fi:"Φινλανδικά",fr:"Γαλλικά",fy:"Φριζικά",ga:"Ιρλανδικά",gd:"Σκωτικά Κέλτικα",gl:"Γαλικιανά",gu:"Γκουτζαράτι",ha:"Χάουσα",haw:"Χαβαϊκά",he:"Εβραϊκά",hi:"Χίντι",hmn:"Χμονγκ",hr:"Κροατικά",ht:"Κρεολικά Αϊτής",hu:"Ουγγρικά",hy:"Αρμενικά",id:"Ινδονησιακά",ig:"Ίγκμπο",is:"Ισλανδικά",it:"Ιταλικά",ja:"Ιαπωνικά",jv:"Ιαβανικά",ka:"Γεωργιανά",kk:"Καζακικά",km:"Χμερ",kn:"Κανάντα",ko:"Κορεατικά",ku:"Κουρδικά",ky:"Κιργιζικά",la:"Λατινικά",lb:"Λουξεμβουργιανά",lo:"Λάο",lt:"Λιθουανικά",lv:"Λετονικά",mg:"Μαλαγάσι",mi:"Μαορί",mk:"Μακεδονικά",ml:"Μαλαγιαλαμικά",mn:"Μογγολικά",mr:"Μαράθι",ms:"Μαλαϊκά",mt:"Μαλτέζικα",my:"Βιρμανικά",ne:"Νεπαλικά",nl:"Ολλανδικά",no:"Νορβηγικά",ny:"Τσιτσέουα",or:"Ορίγια",pa:"Παντζαπικά",pl:"Πολωνικά",ps:"Πάστο",pt:"Πορτογαλικά",ro:"Ρουμανικά",ru:"Ρωσικά",sd:"Σιντ",si:"Σινχαλέζικα",sk:"Σλοβακικά",sl:"Σλοβενικά",sm:"Σαμοανά",sn:"Σόνα",so:"Σομαλικά",sq:"Αλβανικά",sr:"Σερβικά",st:"Σόθο",su:"Σουνδανικά",sv:"Σουηδικά",sw:"Σουαχίλι",ta:"Ταμίλ",te:"Τελούγκου",tg:"Τατζικικά",th:"Ταϊλανδικά",tr:"Τουρκικά",tt:"Ταταρικά",uk:"Ουκρανικά",ur:"Ουρντού",uz:"Ουζμπεκικά",vi:"Βιετναμέζικα",xh:"Ξόσα",yi:"Γίντις",yo:"Γιορούμπα",zh:"Κινέζικα",zu:"Ζουλού",defaultLanguage:"Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά"},k={auto:"Automatic",label:"Language",af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bn:"Bengali",bs:"Bosnian",ca:"Catalan",ceb:"Cebuano",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",fy:"Frisian",ga:"Irish",gd:"Scottish Gaelic",gl:"Galician",gu:"Gujarati",ha:"Hausa",haw:"Hawaiian",he:"Hebrew",hi:"Hindi",hmn:"Hmong",hr:"Croatian",ht:"Haitian Creole",hu:"Hungarian",hy:"Armenian",id:"Indonesian",ig:"Igbo",is:"Icelandic",it:"Italian",ja:"Japanese",jv:"Javanese",ka:"Georgian",kk:"Kazakh",km:"Khmer",kn:"Kannada",ko:"Korean",ku:"Kurdish",ky:"Kyrgyz",la:"Latin",lb:"Luxembourgish",lo:"Lao",lt:"Lithuanian",lv:"Latvian",mg:"Malagasy",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mr:"Marathi",ms:"Malay",mt:"Maltese",my:"Burmese",ne:"Nepali",nl:"Dutch",no:"Norwegian",ny:"Chichewa",or:"Odia",pa:"Punjabi",pl:"Polish",ps:"Pashto",pt:"Portuguese",ro:"Romanian",ru:"Russian",sd:"Sindhi",si:"Sinhala",sk:"Slovak",sl:"Slovenian",sm:"Samoan",sn:"Shona",so:"Somali",sq:"Albanian",sr:"Serbian",st:"Sesotho",su:"Sundanese",sv:"Swedish",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",tr:"Turkish",tt:"Tatar",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",vi:"Vietnamese",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Chinese",zu:"Zulu",defaultLanguage:"If the translation is not available, English will be used"},y={auto:"Automático",label:"Idioma",af:"Afrikáans",ar:"Árabe",az:"Azerbaiyano",be:"Bielorruso",bg:"Búlgaro",bn:"Bengalí",bs:"Bosnio",ca:"Catalán",ceb:"Cebuano",cs:"Checo",cy:"Galés",da:"Danés",de:"Alemán",el:"Griego",en:"Inglés",eo:"Esperanto",es:"Español",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finlandés",fr:"Francés",fy:"Frisón",ga:"Irlandés",gd:"Gaélico escocés",gl:"Gallego",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Hebreo",hi:"Hindi",hmn:"Hmong",hr:"Croata",ht:"Criollo haitiano",hu:"Húngaro",hy:"Armenio",id:"Indonesio",ig:"Igbo",is:"Islandés",it:"Italiano",ja:"Japonés",jv:"Javanés",ka:"Georgiano",kk:"Kazajo",km:"Jemer",kn:"Canarés",ko:"Coreano",ku:"Kurdo",ky:"Kirguís",la:"Latín",lb:"Luxemburgués",lo:"Lao",lt:"Lituano",lv:"Letón",mg:"Malgache",mi:"Maorí",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",mr:"Maratí",ms:"Malayo",mt:"Maltés",my:"Birmano",ne:"Nepalí",nl:"Holandés",no:"Noruego",ny:"Chichewa",or:"Oriya",pa:"Panyabí",pl:"Polaco",ps:"Pastún",pt:"Portugués",ro:"Rumano",ru:"Ruso",sd:"Sindhi",si:"Cingalés",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",sn:"Shona",so:"Somalí",sq:"Albanés",sr:"Serbio",st:"Sesotho",su:"Sundanés",sv:"Sueco",sw:"Suajili",ta:"Tamil",te:"Telugu",tg:"Tayiko",th:"Tailandés",tr:"Turco",tt:"Tártaro",uk:"Ucraniano",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yidis",yo:"Yoruba",zh:"Chino",zu:"Zulú",defaultLanguage:"Si la traducción no está disponible, se utilizará el inglés"},v={auto:"Automatico",label:"Lingua",af:"Afrikaans",ar:"Arabo",az:"Azero",be:"Bielorusso",bg:"Bulgaro",bn:"Bengalese",bs:"Bosniaco",ca:"Catalano",ceb:"Cebuano",cs:"Ceco",cy:"Gallese",da:"Danese",de:"Tedesco",el:"Greco",en:"Inglese",eo:"Esperanto",es:"Spagnolo",et:"Estone",eu:"Basco",fa:"Persiano",fi:"Finlandese",fr:"Francese",fy:"Frisone",ga:"Irlandese",gd:"Gaelico scozzese",gl:"Galiziano",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Ebraico",hi:"Hindi",hmn:"Hmong",hr:"Croato",ht:"Creolo haitiano",hu:"Ungherese",hy:"Armeno",id:"Indonesiano",ig:"Igbo",is:"Islandese",it:"Italiano",ja:"Giapponese",jv:"Giavanese",ka:"Georgiano",kk:"Kazako",km:"Khmer",kn:"Kannada",ko:"Coreano",ku:"Curdo",ky:"Kirghiso",la:"Latino",lb:"Lussemburghese",lo:"Lao",lt:"Lituano",lv:"Lettone",mg:"Malgascio",mi:"Maori",mk:"Macedone",ml:"Malayalam",mn:"Mongolo",mr:"Marathi",ms:"Malese",mt:"Maltese",my:"Birmano",ne:"Nepalese",nl:"Olandese",no:"Norvegese",ny:"Chichewa",or:"Oriya",pa:"Punjabi",pl:"Polacco",ps:"Pashtu",pt:"Portoghese",ro:"Rumeno",ru:"Russo",sd:"Sindhi",si:"Singalese",sk:"Slovacco",sl:"Sloveno",sm:"Samoano",sn:"Shona",so:"Somalo",sq:"Albanese",sr:"Serbo",st:"Sesotho",su:"Sundanese",sv:"Svedese",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tagico",th:"Thai",tr:"Turco",tt:"Tataro",uk:"Ucraino",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Cinese",zu:"Zulu",defaultLanguage:"Se la traduzione non è disponibile, verrà utilizzato l'Inglese"};const S=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.languageChangeEvent=s(this,"mdsPrefLanguageChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAlias="mdsPrefLanguage",this.defaultLanguage="en",this.t=new n({el:f,en:k,es:y,it:v}),this.set="auto",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideLanguageSelectDropdown=()=>{this.showDropdown=!1},this.changeLanguageSelectItem=()=>{this.elPreferLanguageItems.forEach((a=>{a.selected=!1}))},this.checkLanguageSelect=()=>{this.elPreferLanguageItems=this.element.querySelectorAll("mds-pref-language-item"),this.elPreferLanguageItems.forEach((a=>{a.addEventListener("mdsPrefLanguageItemSelect",(a=>{this.changeLanguageSelectItem(),this.currentSelectedItem=a.currentTarget,this.currentSelectedItem.selected=!0,this.languageChangeEvent.emit({language:this.currentSelectedItem.code}),this.showDropdown=!1,this.setLanguage(a.detail.language)}))})),this.elPreferLanguageItems.forEach((a=>{a.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s,i,t,o;if(!/(auto)|^[a-z]{2}(-[A-Z]{2})?$/gm.exec(a))throw Error("Language code set not reconized: "+a);const n=this.sanitizeLanguage(null!==(e=navigator.language)&&void 0!==e?e:"en"),l=localStorage.getItem(this.localStorageAlias),d=null!==(i=null===(s=document.querySelector("html"))||void 0===s?void 0:s.getAttribute("lang"))&&void 0!==i?i:null,m="auto"===a?null!==(t=null!=l?l:d)&&void 0!==t?t:n:this.sanitizeLanguage(a);if(this.set=m,m===this.appliedLanguage)return;const u=void 0===this.appliedLanguage;this.appliedLanguage=m,localStorage.setItem(this.localStorageAlias,m),"undefined"!=typeof document&&(null===(o=document.querySelector("html"))||void 0===o||o.setAttribute("lang",m)),r.state.language=m,u||this.prefChangeEvent.emit({preference:"language"})}}componentWillLoad(){this.setLanguage(this.set)}componentDidLoad(){this.checkLanguageSelect()}handleSetChange(a){this.setLanguage(a)}render(){var a;return i(t,{key:"21129a3d751feb56d928d2bc9f5e39f0f548f909"},i("div",{key:"bcfbe0dd6918f8a37d26ecfd57da156c78e94582",class:"menu"},i("mds-text",{key:"6386b4d771c1fca8efbede23f69ea56dbbee4947",class:"info",typography:"caption"},i("b",{key:"4d309028a088aacfac87ee401daaafdc75163d4c"},this.t.get("label"))),i("mds-tab",{key:"ad09f6d0f37a6570d77341456b7b2fcc0a6987a6",fill:!0,size:this.size},i("mds-tab-item",{key:"8230f8238bd9e68211d41098af53d78e86711c97",selected:!0,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?d:l,label:this.t.get(null!==(a=this.set)&&void 0!==a?a:"auto")}))),i("mds-dropdown",{key:"333d1c56ea5e1a7ec3266d25fb4fd46481b18829",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},i("slot",{key:"82f649867dbf53c395dcbdc17690512019f0e6b3"})),this.set!==this.defaultLanguage&&i("mds-text",{key:"0ecda6e3832b41bb0e8127ff88a9122eab4459e7",typography:"caption"},this.t.get("defaultLanguage")))}get element(){return this}static get watchers(){return{set:[{handleSetChange:0}]}}static get style(){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-language-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--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))))}"}},[257,"mds-pref-language",{size:[513],set:[1537],showDropdown:[32]},void 0,{set:[{handleSetChange:0}]}]),z=S,C=function(){"undefined"!=typeof customElements&&["mds-pref-language","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((a=>{switch(a){case"mds-pref-language":customElements.get(o(a))||customElements.define(o(a),S);break;case"mds-button":customElements.get(o(a))||m();break;case"mds-dropdown":customElements.get(o(a))||u();break;case"mds-icon":customElements.get(o(a))||h();break;case"mds-spinner":customElements.get(o(a))||g();break;case"mds-tab":customElements.get(o(a))||c();break;case"mds-tab-item":customElements.get(o(a))||b();break;case"mds-text":customElements.get(o(a))||p()}}))};export{z as MdsPrefLanguage,C as defineCustomElement}
1
+ import{p as a,H as e,d as s,h as i,c as o,t}from"./p-pBvN1uAc.js";import{L as n}from"./p--miH951G.js";import{p as r}from"./p-zHpei4x6.js";import{m as l}from"./p-DiWN48aq.js";import{m as d}from"./p-Ccz0jCNB.js";import{d as m}from"./p-DHu8X7zF.js";import{d as u}from"./p-Ck0q_n7I.js";import{d as h}from"./p-DmPLOktp.js";import{d as c}from"./p-BBDliSai.js";import{d as g}from"./p-BCwcnHFh.js";import{d as b}from"./p-DZPHWQtD.js";import{d as p}from"./p-DLCcW1Q5.js";var f={auto:"Αυτόματο",label:"Γλώσσα",af:"Αφρικάανς",ar:"Αραβικά",az:"Αζερμπαϊτζανικά",be:"Λευκορωσικά",bg:"Βουλγαρικά",bn:"Μπενγκάλι",bs:"Βοσνιακά",ca:"Καταλανικά",ceb:"Σεμπουάνο",cs:"Τσεχικά",cy:"Ουαλικά",da:"Δανικά",de:"Γερμανικά",el:"Ελληνικά",en:"Αγγλικά",eo:"Εσπεράντο",es:"Ισπανικά",et:"Εσθονικά",eu:"Βασκικά",fa:"Περσικά",fi:"Φινλανδικά",fr:"Γαλλικά",fy:"Φριζικά",ga:"Ιρλανδικά",gd:"Σκωτικά Κέλτικα",gl:"Γαλικιανά",gu:"Γκουτζαράτι",ha:"Χάουσα",haw:"Χαβαϊκά",he:"Εβραϊκά",hi:"Χίντι",hmn:"Χμονγκ",hr:"Κροατικά",ht:"Κρεολικά Αϊτής",hu:"Ουγγρικά",hy:"Αρμενικά",id:"Ινδονησιακά",ig:"Ίγκμπο",is:"Ισλανδικά",it:"Ιταλικά",ja:"Ιαπωνικά",jv:"Ιαβανικά",ka:"Γεωργιανά",kk:"Καζακικά",km:"Χμερ",kn:"Κανάντα",ko:"Κορεατικά",ku:"Κουρδικά",ky:"Κιργιζικά",la:"Λατινικά",lb:"Λουξεμβουργιανά",lo:"Λάο",lt:"Λιθουανικά",lv:"Λετονικά",mg:"Μαλαγάσι",mi:"Μαορί",mk:"Μακεδονικά",ml:"Μαλαγιαλαμικά",mn:"Μογγολικά",mr:"Μαράθι",ms:"Μαλαϊκά",mt:"Μαλτέζικα",my:"Βιρμανικά",ne:"Νεπαλικά",nl:"Ολλανδικά",no:"Νορβηγικά",ny:"Τσιτσέουα",or:"Ορίγια",pa:"Παντζαπικά",pl:"Πολωνικά",ps:"Πάστο",pt:"Πορτογαλικά",ro:"Ρουμανικά",ru:"Ρωσικά",sd:"Σιντ",si:"Σινχαλέζικα",sk:"Σλοβακικά",sl:"Σλοβενικά",sm:"Σαμοανά",sn:"Σόνα",so:"Σομαλικά",sq:"Αλβανικά",sr:"Σερβικά",st:"Σόθο",su:"Σουνδανικά",sv:"Σουηδικά",sw:"Σουαχίλι",ta:"Ταμίλ",te:"Τελούγκου",tg:"Τατζικικά",th:"Ταϊλανδικά",tr:"Τουρκικά",tt:"Ταταρικά",uk:"Ουκρανικά",ur:"Ουρντού",uz:"Ουζμπεκικά",vi:"Βιετναμέζικα",xh:"Ξόσα",yi:"Γίντις",yo:"Γιορούμπα",zh:"Κινέζικα",zu:"Ζουλού",defaultLanguage:"Εάν η μετάφραση δεν είναι διαθέσιμη, θα χρησιμοποιηθούν τα Αγγλικά"},k={auto:"Automatic",label:"Language",af:"Afrikaans",ar:"Arabic",az:"Azerbaijani",be:"Belarusian",bg:"Bulgarian",bn:"Bengali",bs:"Bosnian",ca:"Catalan",ceb:"Cebuano",cs:"Czech",cy:"Welsh",da:"Danish",de:"German",el:"Greek",en:"English",eo:"Esperanto",es:"Spanish",et:"Estonian",eu:"Basque",fa:"Persian",fi:"Finnish",fr:"French",fy:"Frisian",ga:"Irish",gd:"Scottish Gaelic",gl:"Galician",gu:"Gujarati",ha:"Hausa",haw:"Hawaiian",he:"Hebrew",hi:"Hindi",hmn:"Hmong",hr:"Croatian",ht:"Haitian Creole",hu:"Hungarian",hy:"Armenian",id:"Indonesian",ig:"Igbo",is:"Icelandic",it:"Italian",ja:"Japanese",jv:"Javanese",ka:"Georgian",kk:"Kazakh",km:"Khmer",kn:"Kannada",ko:"Korean",ku:"Kurdish",ky:"Kyrgyz",la:"Latin",lb:"Luxembourgish",lo:"Lao",lt:"Lithuanian",lv:"Latvian",mg:"Malagasy",mi:"Maori",mk:"Macedonian",ml:"Malayalam",mn:"Mongolian",mr:"Marathi",ms:"Malay",mt:"Maltese",my:"Burmese",ne:"Nepali",nl:"Dutch",no:"Norwegian",ny:"Chichewa",or:"Odia",pa:"Punjabi",pl:"Polish",ps:"Pashto",pt:"Portuguese",ro:"Romanian",ru:"Russian",sd:"Sindhi",si:"Sinhala",sk:"Slovak",sl:"Slovenian",sm:"Samoan",sn:"Shona",so:"Somali",sq:"Albanian",sr:"Serbian",st:"Sesotho",su:"Sundanese",sv:"Swedish",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tajik",th:"Thai",tr:"Turkish",tt:"Tatar",uk:"Ukrainian",ur:"Urdu",uz:"Uzbek",vi:"Vietnamese",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Chinese",zu:"Zulu",defaultLanguage:"If the translation is not available, English will be used"},y={auto:"Automático",label:"Idioma",af:"Afrikáans",ar:"Árabe",az:"Azerbaiyano",be:"Bielorruso",bg:"Búlgaro",bn:"Bengalí",bs:"Bosnio",ca:"Catalán",ceb:"Cebuano",cs:"Checo",cy:"Galés",da:"Danés",de:"Alemán",el:"Griego",en:"Inglés",eo:"Esperanto",es:"Español",et:"Estonio",eu:"Vasco",fa:"Persa",fi:"Finlandés",fr:"Francés",fy:"Frisón",ga:"Irlandés",gd:"Gaélico escocés",gl:"Gallego",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Hebreo",hi:"Hindi",hmn:"Hmong",hr:"Croata",ht:"Criollo haitiano",hu:"Húngaro",hy:"Armenio",id:"Indonesio",ig:"Igbo",is:"Islandés",it:"Italiano",ja:"Japonés",jv:"Javanés",ka:"Georgiano",kk:"Kazajo",km:"Jemer",kn:"Canarés",ko:"Coreano",ku:"Kurdo",ky:"Kirguís",la:"Latín",lb:"Luxemburgués",lo:"Lao",lt:"Lituano",lv:"Letón",mg:"Malgache",mi:"Maorí",mk:"Macedonio",ml:"Malayalam",mn:"Mongol",mr:"Maratí",ms:"Malayo",mt:"Maltés",my:"Birmano",ne:"Nepalí",nl:"Holandés",no:"Noruego",ny:"Chichewa",or:"Oriya",pa:"Panyabí",pl:"Polaco",ps:"Pastún",pt:"Portugués",ro:"Rumano",ru:"Ruso",sd:"Sindhi",si:"Cingalés",sk:"Eslovaco",sl:"Esloveno",sm:"Samoano",sn:"Shona",so:"Somalí",sq:"Albanés",sr:"Serbio",st:"Sesotho",su:"Sundanés",sv:"Sueco",sw:"Suajili",ta:"Tamil",te:"Telugu",tg:"Tayiko",th:"Tailandés",tr:"Turco",tt:"Tártaro",uk:"Ucraniano",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yidis",yo:"Yoruba",zh:"Chino",zu:"Zulú",defaultLanguage:"Si la traducción no está disponible, se utilizará el inglés"},v={auto:"Automatico",label:"Lingua",af:"Afrikaans",ar:"Arabo",az:"Azero",be:"Bielorusso",bg:"Bulgaro",bn:"Bengalese",bs:"Bosniaco",ca:"Catalano",ceb:"Cebuano",cs:"Ceco",cy:"Gallese",da:"Danese",de:"Tedesco",el:"Greco",en:"Inglese",eo:"Esperanto",es:"Spagnolo",et:"Estone",eu:"Basco",fa:"Persiano",fi:"Finlandese",fr:"Francese",fy:"Frisone",ga:"Irlandese",gd:"Gaelico scozzese",gl:"Galiziano",gu:"Gujarati",ha:"Hausa",haw:"Hawaiano",he:"Ebraico",hi:"Hindi",hmn:"Hmong",hr:"Croato",ht:"Creolo haitiano",hu:"Ungherese",hy:"Armeno",id:"Indonesiano",ig:"Igbo",is:"Islandese",it:"Italiano",ja:"Giapponese",jv:"Giavanese",ka:"Georgiano",kk:"Kazako",km:"Khmer",kn:"Kannada",ko:"Coreano",ku:"Curdo",ky:"Kirghiso",la:"Latino",lb:"Lussemburghese",lo:"Lao",lt:"Lituano",lv:"Lettone",mg:"Malgascio",mi:"Maori",mk:"Macedone",ml:"Malayalam",mn:"Mongolo",mr:"Marathi",ms:"Malese",mt:"Maltese",my:"Birmano",ne:"Nepalese",nl:"Olandese",no:"Norvegese",ny:"Chichewa",or:"Oriya",pa:"Punjabi",pl:"Polacco",ps:"Pashtu",pt:"Portoghese",ro:"Rumeno",ru:"Russo",sd:"Sindhi",si:"Singalese",sk:"Slovacco",sl:"Sloveno",sm:"Samoano",sn:"Shona",so:"Somalo",sq:"Albanese",sr:"Serbo",st:"Sesotho",su:"Sundanese",sv:"Svedese",sw:"Swahili",ta:"Tamil",te:"Telugu",tg:"Tagico",th:"Thai",tr:"Turco",tt:"Tataro",uk:"Ucraino",ur:"Urdu",uz:"Uzbeko",vi:"Vietnamita",xh:"Xhosa",yi:"Yiddish",yo:"Yoruba",zh:"Cinese",zu:"Zulu",defaultLanguage:"Se la traduzione non è disponibile, verrà utilizzato l'Inglese"};const S=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.languageChangeEvent=s(this,"mdsPrefLanguageChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAlias="mdsPrefLanguage",this.defaultLanguage="en",this.t=new n({el:f,en:k,es:y,it:v}),this.set="auto",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideLanguageSelectDropdown=()=>{this.showDropdown=!1},this.changeLanguageSelectItem=()=>{this.elPreferLanguageItems.forEach((a=>{a.selected=!1}))},this.checkLanguageSelect=()=>{this.elPreferLanguageItems=this.element.querySelectorAll("mds-pref-language-item"),this.elPreferLanguageItems.forEach((a=>{a.addEventListener("mdsPrefLanguageItemSelect",(a=>{this.changeLanguageSelectItem(),this.currentSelectedItem=a.currentTarget,this.currentSelectedItem.selected=!0,this.languageChangeEvent.emit({language:this.currentSelectedItem.code}),this.showDropdown=!1,this.setLanguage(a.detail.language)}))})),this.elPreferLanguageItems.forEach((a=>{a.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s,i,o,t;if(!/(auto)|^[a-z]{2}(-[A-Z]{2})?$/gm.exec(a))throw Error("Language code set not reconized: "+a);const n=this.sanitizeLanguage(null!==(e=navigator.language)&&void 0!==e?e:"en"),l=localStorage.getItem(this.localStorageAlias),d=null!==(i=null===(s=document.querySelector("html"))||void 0===s?void 0:s.getAttribute("lang"))&&void 0!==i?i:null,m="auto"===a?null!==(o=null!=l?l:d)&&void 0!==o?o:n:this.sanitizeLanguage(a);if(this.set=m,m===this.appliedLanguage)return;const u=void 0===this.appliedLanguage;this.appliedLanguage=m,localStorage.setItem(this.localStorageAlias,m),"undefined"!=typeof document&&(null===(t=document.querySelector("html"))||void 0===t||t.setAttribute("lang",m)),r.state.language=m,u||this.prefChangeEvent.emit({preference:"language"})}}componentWillLoad(){this.setLanguage(this.set)}componentDidLoad(){this.checkLanguageSelect()}handleSetChange(a){this.setLanguage(a)}render(){var a;return i(o,{key:"21129a3d751feb56d928d2bc9f5e39f0f548f909"},i("div",{key:"bcfbe0dd6918f8a37d26ecfd57da156c78e94582",class:"menu"},i("mds-text",{key:"6386b4d771c1fca8efbede23f69ea56dbbee4947",class:"info",typography:"caption"},i("b",{key:"4d309028a088aacfac87ee401daaafdc75163d4c"},this.t.get("label"))),i("mds-tab",{key:"ad09f6d0f37a6570d77341456b7b2fcc0a6987a6",fill:!0,size:this.size},i("mds-tab-item",{key:"8230f8238bd9e68211d41098af53d78e86711c97",selected:!0,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-language-nav",class:"item item--custom-language","icon-position":"right",icon:this.showDropdown?d:l,label:this.t.get(null!==(a=this.set)&&void 0!==a?a:"auto")}))),i("mds-dropdown",{key:"333d1c56ea5e1a7ec3266d25fb4fd46481b18829",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},i("slot",{key:"82f649867dbf53c395dcbdc17690512019f0e6b3"})),this.set!==this.defaultLanguage&&i("mds-text",{key:"0ecda6e3832b41bb0e8127ff88a9122eab4459e7",typography:"caption"},this.t.get("defaultLanguage")))}get element(){return this}static get watchers(){return{set:[{handleSetChange:0}]}}static get style(){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)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.mds-pref-language-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(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--custom-language{cursor:pointer}.item--auto,.item--custom-language{--mds-tab-item-selected-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}"}},[257,"mds-pref-language",{size:[513],set:[1537],showDropdown:[32]},void 0,{set:[{handleSetChange:0}]}]),z=S,C=function(){"undefined"!=typeof customElements&&["mds-pref-language","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((a=>{switch(a){case"mds-pref-language":customElements.get(t(a))||customElements.define(t(a),S);break;case"mds-button":customElements.get(t(a))||m();break;case"mds-dropdown":customElements.get(t(a))||u();break;case"mds-icon":customElements.get(t(a))||h();break;case"mds-spinner":customElements.get(t(a))||c();break;case"mds-tab":customElements.get(t(a))||g();break;case"mds-tab-item":customElements.get(t(a))||b();break;case"mds-text":customElements.get(t(a))||p()}}))};export{z as MdsPrefLanguage,C as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as s,h as i,c as a,t as o}from"./p-pBvN1uAc.js";import{c as d}from"./p-D8eZRaSQ.js";import{m as r}from"./p-XQgkfNpn.js";import{L as h}from"./p--miH951G.js";import{i as m}from"./p-Dje8Mggf.js";import{p as l}from"./p-zHpei4x6.js";import{d as c}from"./p-COkF_8bh.js";import{d as n}from"./p-DmPLOktp.js";import{d as f}from"./p-DebgFlHq.js";import{d as b}from"./p-CKS4r32k.js";import{d as p}from"./p-DQqUzCGR.js";import{d as g}from"./p-BW24ByN-.js";var u={darkMode:"Σκούρο",label:"Λειτουργία",lightMode:"Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}",systemSettings:"Με βάση το λειτουργικό σύστημα"},v={darkMode:"Dark",label:"Mode",lightMode:"Light{{#forced}} (forced on Safari){{/forced}}",systemSettings:"Based on operating system"},y={darkMode:"Oscura",label:"Modo",lightMode:"Clara{{#forced}} (forzada en Safari){{/forced}}",systemSettings:"Basado en el sistema operativo"},k={darkMode:"Scura",label:"Modalità",lightMode:"Chiara{{#forced}} (forzata su Safari){{/forced}}",systemSettings:"Basato sul sistema operativo"};const w=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.defaultMode="system",this.t=new h({el:u,en:v,es:y,it:k}),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=!1,this.syncingFromStore=!1,this.disabled=!1,this.updateCSSCustomProps=()=>{var t,e,s;if("undefined"==typeof window)return;const i=window.getComputedStyle(this.element);this.cssOverlayShowDuration=null!==(t=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))&&void 0!==t?t:"300",this.cssOverlayFadeoutDuration=null!==(e=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))&&void 0!==e?e:"200",this.cssOverlayZIndex=null!==(s=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))&&void 0!==s?s:"6000"},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.syncMode=t=>{void 0===t||t===this.mode||this.disabled||(this.syncingFromStore=!0,this.mode=t,this.syncingFromStore=!1)},this.setMode=t=>{if(this.prefChangeEvent.emit({preference:"mode"}),this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.modes)({}).hasOwnProperty.call(this.modes,t)&&(null==e||e.classList.remove(this.modes[t].selector));null==e||e.classList.add(this.modes[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}l.state.mode=t},this.isDarkMode=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.getColorScheme=t=>void 0!==t?"system"===t?this.isDarkMode()?"dark":"light":t:"system"===this.mode?this.isDarkMode()?"dark":"light":this.mode,this.instanceOverlay=()=>{null==this.overlayEl&&(this.overlayEl=document.createElement("div"),this.overlayEl.className=this.overlayId,this.overlayEl.style.inset="0",this.overlayEl.style.pointerEvents="none",this.overlayEl.style.position="fixed",this.overlayEl.style.transition=`background-color ${this.cssOverlayFadeoutDuration} ease-out`,this.overlayEl.style.zIndex=this.cssOverlayZIndex),this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden},this.attachFlashOverlayTransition=()=>{this.overlayShow=!0,this.instanceOverlay(),this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,document.body.appendChild(this.overlayEl),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),d(this.cssOverlayShowDuration))},this.attachSmoothOverlayTransition=t=>{this.overlayShow=!0,this.instanceOverlay(),document.body.appendChild(this.overlayEl),clearTimeout(this.overlaySmoothTimer),this.overlaySmoothTimer=setTimeout((()=>{this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.setMode(t),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),d(this.cssOverlayFadeoutDuration))}),d(this.cssOverlayShowDuration))}),1)},this.isModeDisabled=t=>!!this.disabled||("light"===this.lockedScheme?"dark"===t:"dark"===this.lockedScheme&&"light"===t),this.changeMode=t=>{if(!this.isModeDisabled(t))if(this.getColorScheme()!==this.getColorScheme(t))switch(this.transition){case"none":default:this.setMode(t);break;case"flash":this.setMode(t),this.attachFlashOverlayTransition();break;case"smooth":this.attachSmoothOverlayTransition(t)}else this.setMode(t)},this.handleModeClick=t=>()=>{this.overlayShow||this.changeMode(t)}}componentWillLoad(){var t,e;m()?(this.disabled=!0,this.mode="light"):this.setMode(null!==(e=null!==(t=this.mode)&&void 0!==t?t:localStorage.getItem(this.localStorageAlias))&&void 0!==e?e:this.defaultMode)}connectedCallback(){this.unsubscribeStore=l.onChange("mode",this.syncMode)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}componentDidLoad(){this.updateCSSCustomProps()}modeChanged(t,e){t===e||this.syncingFromStore||this.setMode(t)}detachOverlayTransition(){null!=this.overlayEl&&(this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayEl.remove()}),d(this.cssOverlayFadeoutDuration)))}render(){var t,e;return i(a,{key:"38b5a158f45cd24c544afceb41f0baf1e04910da","pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},i("mds-text",{key:"cc086f42401d84ab5ae370d406ba5e6b28cf1d29",class:"info",typography:"caption"},i("b",{key:"945bdb711e6038f86f3bf5ffcaaafb4c362191e5"},this.t.get("label"))," ",this.disabled?this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label,{forced:!0}):this.t.get(this.modes[null!==(e=this.mode)&&void 0!==e?e:this.defaultMode].label,{forced:!1})),i("mds-tab",{key:"d40d4317bdcd1bf41b5d516c0d8a6c5c2f6e6689",fill:!0,size:this.size},i("mds-tab-item",{key:"13ddcc4bab79d042f1171d383c800eb309c59299",disabled:this.isModeDisabled("light"),selected:"light"===this.mode,onClick:this.handleModeClick("light"),class:"item item--light",icon:'<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>',title:this.t.get(this.modes.light.label,{forced:!1})}),i("mds-tab-item",{key:"84b9c4484e359a81e0cc57f447bc911c723aea30",disabled:this.isModeDisabled("system"),selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:r,title:this.t.get(this.modes.system.label)}),i("mds-tab-item",{key:"6d4092d1145c98051a4fb526ca24e1d6caa1e900",disabled:this.isModeDisabled("dark"),selected:"dark"===this.mode,onClick:this.handleModeClick("dark"),class:"item item--dark",icon:"dark"===this.mode?'<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>':'<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>',title:this.t.get(this.modes.dark.label)})))}get element(){return this}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){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))}}"}},[1,"mds-pref-mode",{size:[513],mode:[1537],transition:[1537],lockedScheme:[513,"locked-scheme"],disabled:[32]},void 0,{mode:[{modeChanged:0}]}]),x=w,M=function(){"undefined"!=typeof customElements&&["mds-pref-mode","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-mode":customElements.get(o(t))||customElements.define(o(t),w);break;case"mds-button":customElements.get(o(t))||c();break;case"mds-icon":customElements.get(o(t))||n();break;case"mds-spinner":customElements.get(o(t))||f();break;case"mds-tab":customElements.get(o(t))||b();break;case"mds-tab-item":customElements.get(o(t))||p();break;case"mds-text":customElements.get(o(t))||g()}}))};export{x as MdsPrefMode,M as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as i,c as a,t as o}from"./p-pBvN1uAc.js";import{c as d}from"./p-D8eZRaSQ.js";import{m as h}from"./p-XQgkfNpn.js";import{L as r}from"./p--miH951G.js";import{i as m}from"./p-Dje8Mggf.js";import{p as l}from"./p-zHpei4x6.js";import{d as c}from"./p-DHu8X7zF.js";import{d as n}from"./p-DmPLOktp.js";import{d as f}from"./p-BBDliSai.js";import{d as p}from"./p-BCwcnHFh.js";import{d as b}from"./p-DZPHWQtD.js";import{d as u}from"./p-DLCcW1Q5.js";var g={darkMode:"Σκούρο",label:"Λειτουργία",lightMode:"Ανοιχτό{{#forced}} (επιβεβλημένο στο Safari){{/forced}}",systemSettings:"Με βάση το λειτουργικό σύστημα"},v={darkMode:"Dark",label:"Mode",lightMode:"Light{{#forced}} (forced on Safari){{/forced}}",systemSettings:"Based on operating system"},y={darkMode:"Oscura",label:"Modo",lightMode:"Clara{{#forced}} (forzada en Safari){{/forced}}",systemSettings:"Basado en el sistema operativo"},k={darkMode:"Scura",label:"Modalità",lightMode:"Chiara{{#forced}} (forzata su Safari){{/forced}}",systemSettings:"Basato sul sistema operativo"};const w=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.defaultMode="system",this.t=new r({el:g,en:v,es:y,it:k}),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=!1,this.syncingFromStore=!1,this.disabled=!1,this.updateCSSCustomProps=()=>{var t,e,s;if("undefined"==typeof window)return;const i=window.getComputedStyle(this.element);this.cssOverlayShowDuration=null!==(t=i.getPropertyValue("--mds-pref-mode-overlay-show-duration"))&&void 0!==t?t:"300",this.cssOverlayFadeoutDuration=null!==(e=i.getPropertyValue("--mds-pref-mode-overlay-fadeout-duration"))&&void 0!==e?e:"200",this.cssOverlayZIndex=null!==(s=i.getPropertyValue("--mds-pref-mode-overlay-z-index"))&&void 0!==s?s:"6000"},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.syncMode=t=>{void 0===t||t===this.mode||this.disabled||(this.syncingFromStore=!0,this.mode=t,this.syncingFromStore=!1)},this.setMode=t=>{if(this.prefChangeEvent.emit({preference:"mode"}),this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.modes)({}).hasOwnProperty.call(this.modes,t)&&(null==e||e.classList.remove(this.modes[t].selector));null==e||e.classList.add(this.modes[t].selector),null==e||e.style.setProperty(this.customPropertyAlias,this.mode)}l.state.mode=t},this.isDarkMode=()=>window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.getColorScheme=t=>void 0!==t?"system"===t?this.isDarkMode()?"dark":"light":t:"system"===this.mode?this.isDarkMode()?"dark":"light":this.mode,this.instanceOverlay=()=>{null==this.overlayEl&&(this.overlayEl=document.createElement("div"),this.overlayEl.className=this.overlayId,this.overlayEl.style.inset="0",this.overlayEl.style.pointerEvents="none",this.overlayEl.style.position="fixed",this.overlayEl.style.transition=`background-color ${this.cssOverlayFadeoutDuration} ease-out`,this.overlayEl.style.zIndex=this.cssOverlayZIndex),this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden},this.attachFlashOverlayTransition=()=>{this.overlayShow=!0,this.instanceOverlay(),this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,document.body.appendChild(this.overlayEl),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),d(this.cssOverlayShowDuration))},this.attachSmoothOverlayTransition=t=>{this.overlayShow=!0,this.instanceOverlay(),document.body.appendChild(this.overlayEl),clearTimeout(this.overlaySmoothTimer),this.overlaySmoothTimer=setTimeout((()=>{this.overlayEl.style.backgroundColor=this.overlayBackgroundVisible,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.setMode(t),clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayShow=!1,this.detachOverlayTransition()}),d(this.cssOverlayFadeoutDuration))}),d(this.cssOverlayShowDuration))}),1)},this.isModeDisabled=t=>!!this.disabled||("light"===this.lockedScheme?"dark"===t:"dark"===this.lockedScheme&&"light"===t),this.changeMode=t=>{if(!this.isModeDisabled(t))if(this.getColorScheme()!==this.getColorScheme(t))switch(this.transition){case"none":default:this.setMode(t);break;case"flash":this.setMode(t),this.attachFlashOverlayTransition();break;case"smooth":this.attachSmoothOverlayTransition(t)}else this.setMode(t)},this.handleModeClick=t=>()=>{this.overlayShow||this.changeMode(t)}}componentWillLoad(){var t,e;m()?(this.disabled=!0,this.mode="light"):this.setMode(null!==(e=null!==(t=this.mode)&&void 0!==t?t:localStorage.getItem(this.localStorageAlias))&&void 0!==e?e:this.defaultMode)}connectedCallback(){this.unsubscribeStore=l.onChange("mode",this.syncMode)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}componentDidLoad(){this.updateCSSCustomProps()}modeChanged(t,e){t===e||this.syncingFromStore||this.setMode(t)}detachOverlayTransition(){null!=this.overlayEl&&(this.overlayEl.style.backgroundColor=this.overlayBackgroundHidden,clearTimeout(this.overlayTimer),this.overlayTimer=setTimeout((()=>{this.overlayEl.remove()}),d(this.cssOverlayFadeoutDuration)))}render(){var t,e;return i(a,{key:"38b5a158f45cd24c544afceb41f0baf1e04910da","pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},i("mds-text",{key:"cc086f42401d84ab5ae370d406ba5e6b28cf1d29",class:"info",typography:"caption"},i("b",{key:"945bdb711e6038f86f3bf5ffcaaafb4c362191e5"},this.t.get("label"))," ",this.disabled?this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label,{forced:!0}):this.t.get(this.modes[null!==(e=this.mode)&&void 0!==e?e:this.defaultMode].label,{forced:!1})),i("mds-tab",{key:"d40d4317bdcd1bf41b5d516c0d8a6c5c2f6e6689",fill:!0,size:this.size},i("mds-tab-item",{key:"13ddcc4bab79d042f1171d383c800eb309c59299",disabled:this.isModeDisabled("light"),selected:"light"===this.mode,onClick:this.handleModeClick("light"),class:"item item--light",icon:'<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>',title:this.t.get(this.modes.light.label,{forced:!1})}),i("mds-tab-item",{key:"84b9c4484e359a81e0cc57f447bc911c723aea30",disabled:this.isModeDisabled("system"),selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:h,title:this.t.get(this.modes.system.label)}),i("mds-tab-item",{key:"6d4092d1145c98051a4fb526ca24e1d6caa1e900",disabled:this.isModeDisabled("dark"),selected:"dark"===this.mode,onClick:this.handleModeClick("dark"),class:"item item--dark",icon:"dark"===this.mode?'<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>':'<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>',title:this.t.get(this.modes.dark.label)})))}get element(){return this}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){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)*200)}.item{--mds-tab-item-default-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));flex-basis:0;flex-grow:1}.item--system{--mds-tab-item-selected-color:rgb(var(--magma-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(--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(--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))}}"}},[1,"mds-pref-mode",{size:[513],mode:[1537],transition:[1537],lockedScheme:[513,"locked-scheme"],disabled:[32]},void 0,{mode:[{modeChanged:0}]}]),x=w,M=function(){"undefined"!=typeof customElements&&["mds-pref-mode","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-mode":customElements.get(o(t))||customElements.define(o(t),w);break;case"mds-button":customElements.get(o(t))||c();break;case"mds-icon":customElements.get(o(t))||n();break;case"mds-spinner":customElements.get(o(t))||f();break;case"mds-tab":customElements.get(o(t))||p();break;case"mds-tab-item":customElements.get(o(t))||b();break;case"mds-text":customElements.get(o(t))||u()}}))};export{x as MdsPrefMode,M as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,d as r,h as s,c as t,t as m}from"./p-pBvN1uAc.js";import{m as o}from"./p-BFhO-KUe.js";import{m as c}from"./p-lZldSMeV.js";import{d as i}from"./p-COkF_8bh.js";import{d as n}from"./p-DmPLOktp.js";import{d}from"./p-DebgFlHq.js";import{d as l}from"./p-BW24ByN-.js";const h=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectThemeEvent=r(this,"mdsPrefThemeItemSelect",7),this.name="default",this.scheme="all",this.selected=!1,this.handleClick=()=>{this.selectThemeEvent.emit({name:this.name,scheme:this.scheme})}}componentWillRender(){var e;""===(null!==(e=this.label)&&void 0!==e?e:"")&&(this.label=this.name.charAt(0).toUpperCase()+this.name.slice(1).replace(/-/g," "))}render(){return s(t,{key:"d14e86d120deb8ce9c1425dafb96c93e9cba4005",onClick:this.handleClick,role:"menuitem"},s("mds-button",{key:"60a1cf50d3875d1a6aa5493d6436edab1d96349e",icon:this.selected?o:c,variant:"dark",tone:"text"},s("div",{key:"b6cd3b716ea2bf811c90c63156ad5d57e5bd7aed",class:"label"},s("div",{key:"cf8468e4b9f3d3b03d5060c9531ae1035555270e",class:"theme-preview"},s("div",{key:"b634d507168fdec1c9536d7cac619ff1195ca9f1",class:"theme-color theme-color--variant-primary"}),s("div",{key:"67c459ade780433bde32a6a2ba302ae9814a275c",class:"theme-color theme-color--status-success"}),s("div",{key:"e68b927681b50d439bf937c55fb33b06b01463f6",class:"theme-color theme-color--status-warning"}),s("div",{key:"eb392e74cecbeb00d06989d3fe5650977e0328ea",class:"theme-color theme-color--status-error"})),this.label)))}static get style(){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))))}'}},[1,"mds-pref-theme-item",{label:[1537],name:[513],scheme:[513],selected:[516]}]),p=h,b=function(){"undefined"!=typeof customElements&&["mds-pref-theme-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme-item":customElements.get(m(e))||customElements.define(m(e),h);break;case"mds-button":customElements.get(m(e))||i();break;case"mds-icon":customElements.get(m(e))||n();break;case"mds-spinner":customElements.get(m(e))||d();break;case"mds-text":customElements.get(m(e))||l()}}))};export{p as MdsPrefThemeItem,b as defineCustomElement}
1
+ import{p as e,H as a,d as r,h as s,c as t,t as m}from"./p-pBvN1uAc.js";import{m as o}from"./p-BFhO-KUe.js";import{m as c}from"./p-lZldSMeV.js";import{l as i}from"./p-6pgPWpGI.js";import{d as n}from"./p-DHu8X7zF.js";import{d as l}from"./p-DmPLOktp.js";import{d}from"./p-BBDliSai.js";import{d as p}from"./p-DLCcW1Q5.js";const h=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectThemeEvent=r(this,"mdsPrefThemeItemSelect",7),this.name="default",this.scheme="all",this.selected=!1,this.handleClick=()=>{this.selectThemeEvent.emit({name:this.name,scheme:this.scheme})}}componentWillRender(){var e;""===(null!==(e=this.label)&&void 0!==e?e:"")&&(this.label=i(this.name))}render(){return s(t,{key:"636dc92f89f7208b697920c318a88cc63c0aab46",onClick:this.handleClick,role:"menuitem"},s("mds-button",{key:"6357df5430cdae6cc51cd0e21f33c5cb6cdd9676",icon:this.selected?o:c,variant:"dark",tone:"text",label:this.label}),s("span",{key:"66cca748d3c24f75b0ecd1f2449e767a3fca9f8d","aria-hidden":"true",class:"theme-preview"},s("span",{key:"2aa5d3d9b53ea382ead103498e2220e70398d9e2",class:"theme-color theme-color--variant-primary"}),s("span",{key:"03a1a2c6d9a38683b9e059776541c2306bf16f4f",class:"theme-color theme-color--status-success"}),s("span",{key:"0e503434cc6e768737b6a16983f5ac0ae3d54919",class:"theme-color theme-color--status-warning"}),s("span",{key:"af8088939cebac6afd8a0e22734f96695ccd07e3",class:"theme-color theme-color--status-error"})))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host{--mds-pref-theme-item-color-background:rgb(var(--magma-wash-base,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(--variant-primary-04,36 103 231)));align-items:center;cursor:pointer;display:flex;gap:calc(var(--spacing,.0025rem)*400);justify-content:space-between}.theme-preview{background-color:var(--mds-pref-theme-item-color-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--radius-md,12px);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:none;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;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(--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))))}'}},[1,"mds-pref-theme-item",{label:[1537],name:[513],scheme:[513],selected:[516]}]),u=h,g=function(){"undefined"!=typeof customElements&&["mds-pref-theme-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme-item":customElements.get(m(e))||customElements.define(m(e),h);break;case"mds-button":customElements.get(m(e))||n();break;case"mds-icon":customElements.get(m(e))||l();break;case"mds-spinner":customElements.get(m(e))||d();break;case"mds-text":customElements.get(m(e))||p()}}))};export{u as MdsPrefThemeItem,g as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as s,h as i,c as a,t as m}from"./p-pBvN1uAc.js";import{L as r}from"./p--miH951G.js";import{M as h,p as o}from"./p-zHpei4x6.js";import{m as d}from"./p-DiWN48aq.js";import{m as n}from"./p-Ccz0jCNB.js";import{d as l}from"./p-COkF_8bh.js";import{d as c}from"./p-Cyj1BFxx.js";import{d as p}from"./p-DmPLOktp.js";import{d as f}from"./p-DebgFlHq.js";import{d as u}from"./p-CKS4r32k.js";import{d as b}from"./p-DQqUzCGR.js";import{d as g}from"./p-BW24ByN-.js";const v=["bevel","notch","round","scoop","square","squircle","default"];var y={label:"Θέμα"},k={label:"Theme"},x={label:"Tema"},w={label:"Tema"};const j=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.themeChangeEvent=s(this,"mdsPrefThemeChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAliasThemeName="mdsPrefTheme",this.localStorageAliasThemeScheme="mdsPrefThemeScheme",this.localStorageAliasCornerShape="mdsPrefCornerShape",this.t=new r({el:y,en:k,es:x,it:w}),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"},this.name="default",this.scheme="all",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideThemeDropdownSelect=()=>{this.showDropdown=!1},this.changeThemeItem=()=>{this.themeItems.forEach((e=>{e.selected=!1}))},this.checkThemeSelect=()=>{this.themeItems=this.element.querySelectorAll("mds-pref-theme-item"),this.themeItems.forEach((e=>{e.addEventListener("mdsPrefThemeItemSelect",(e=>{this.changeThemeItem(),this.currentSelectedItem=e.currentTarget,this.currentSelectedItem.selected=!0;const t=e.detail.name.toLowerCase(),s=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:s}),this.showDropdown=!1,this.setTheme(t,s)}))})),this.themeItems.forEach((e=>{e.selected=e.name===this.name}))},this.setTheme=(e,t)=>{if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e))throw Error("Theme name not valid: "+e);if(h.includes(e)||"scheme"===e||e.startsWith("scheme-"))throw Error("Theme name reserved: "+e);if(this.name=e,this.scheme=t,this.prefChangeEvent.emit({preference:"theme"}),localStorage.setItem(this.localStorageAliasThemeName,this.name),localStorage.setItem(this.localStorageAliasThemeScheme,this.scheme),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.schemeSet)({}).hasOwnProperty.call(this.schemeSet,t)&&(null==e||e.classList.remove(this.schemeSet[t]));null!==this.previousName&&""!==this.previousName&&(null==e||e.classList.remove(this.clasNameThemeNamePrefix+this.previousName)),null==e||e.setAttribute("data-theme-name",this.name),null==e||e.classList.add(this.schemeSet[this.scheme]),null==e||e.classList.add(this.clasNameThemeNamePrefix+this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeName,this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeScheme,this.scheme),this.previousName=this.name}o.state["theme-scheme"]=this.scheme},this.setCornerShape=e=>{if(null!=e){if(!v.includes(e))throw Error("Corner shape not valid: "+e);if(this.cornerShape=e,this.prefChangeEvent.emit({preference:"corner-shape"}),localStorage.setItem(this.localStorageAliasCornerShape,e),"undefined"!=typeof document){const t=document.querySelector("html");"default"===e?null==t||t.removeAttribute("data-corner-shape"):null==t||t.setAttribute("data-corner-shape",e)}o.state["corner-shape"]="default"===e?void 0:e}}}componentDidLoad(){this.checkThemeSelect()}componentWillRender(){var e,t,s;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName),this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme),this.setTheme(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape),this.setCornerShape(null!==(s=this.userCornerShape)&&void 0!==s?s:this.cornerShape)}render(){return i(a,{key:"a987a2b4933078d3452f78dc04744e9d9885092c"},i("div",{key:"4c439a804622caae8194d846b5480ac29bb5251d",class:"menu"},i("mds-text",{key:"7e623faaab3bb6658baeb122e47c890fd85447ca",class:"info",typography:"caption"},i("b",{key:"2ff9690158e739206c6537deab6d35e09278f0ba"},this.t.get("label"))),i("mds-tab",{key:"fa84137e83f74c4a971d0996b34f08231d1a389e",fill:!0,size:this.size},i("mds-tab-item",{key:"2ab9c8235ffd1c30c71bee6c7a4f4f26d8d4edb1",selected:!0,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?n:d,label:this.name}))),i("mds-dropdown",{key:"e8a39c2158e253c3da5ee64156f499545b1ecd79",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},i("slot",{key:"03d9ede427f0fca46ba54e46cdb625855910e421"})))}get element(){return this}static get style(){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))))}"}},[257,"mds-pref-theme",{size:[513],name:[1537],scheme:[1537],cornerShape:[1537,"corner-shape"],showDropdown:[32]}]),E=j,C=function(){"undefined"!=typeof customElements&&["mds-pref-theme","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme":customElements.get(m(e))||customElements.define(m(e),j);break;case"mds-button":customElements.get(m(e))||l();break;case"mds-dropdown":customElements.get(m(e))||c();break;case"mds-icon":customElements.get(m(e))||p();break;case"mds-spinner":customElements.get(m(e))||f();break;case"mds-tab":customElements.get(m(e))||u();break;case"mds-tab-item":customElements.get(m(e))||b();break;case"mds-text":customElements.get(m(e))||g()}}))};export{E as MdsPrefTheme,C as defineCustomElement}
1
+ import{p as e,H as t,d as s,f as i,h as a,c as r,t as m,B as h}from"./p-pBvN1uAc.js";import{L as o}from"./p--miH951G.js";import{M as d,p as n}from"./p-zHpei4x6.js";import{l}from"./p-6pgPWpGI.js";import{m as c}from"./p-DiWN48aq.js";import{m as p}from"./p-Ccz0jCNB.js";import{d as f}from"./p-DHu8X7zF.js";import{d as u}from"./p-Ck0q_n7I.js";import{d as b}from"./p-DmPLOktp.js";import{d as g}from"./p-BBDliSai.js";import{d as v}from"./p-BCwcnHFh.js";import{d as y}from"./p-DZPHWQtD.js";import{d as k}from"./p-DLCcW1Q5.js";const w=["bevel","notch","round","scoop","square","squircle","default"];var x={label:"Θέμα"},j={label:"Theme"},E={label:"Tema"},C={label:"Tema"};const S=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.themeChangeEvent=s(this,"mdsPrefThemeChange",7),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.showDropdown=!1,this.localStorageAliasThemeName="mdsPrefTheme",this.localStorageAliasThemeScheme="mdsPrefThemeScheme",this.localStorageAliasCornerShape="mdsPrefCornerShape",this.t=new o({el:x,en:j,es:E,it:C}),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"},this.name="default",this.scheme="all",this.triggerLabel=()=>{const e=Array.from(this.element.querySelectorAll("mds-pref-theme-item")).find((e=>{var t,s;return(null!==(s=null!==(t=e.name)&&void 0!==t?t:e.getAttribute("name"))&&void 0!==s?s:"default")===this.name}));return(null==e?void 0:e.label)||(null==e?void 0:e.getAttribute("label"))||l(this.name)},this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideThemeDropdownSelect=()=>{this.showDropdown=!1},this.changeThemeItem=()=>{this.themeItems.forEach((e=>{e.selected=!1}))},this.checkThemeSelect=()=>{this.themeItems=this.element.querySelectorAll("mds-pref-theme-item"),this.themeItems.forEach((e=>{e.addEventListener("mdsPrefThemeItemSelect",(e=>{this.changeThemeItem(),this.currentSelectedItem=e.currentTarget,this.currentSelectedItem.selected=!0;const t=e.detail.name.toLowerCase(),s=e.detail.scheme.toLowerCase();this.themeChangeEvent.emit({name:t,scheme:s}),this.showDropdown=!1,this.setTheme(t,s)}))})),this.themeItems.forEach((e=>{e.selected=e.name===this.name}))},this.setTheme=(e,t)=>{if(!/^[a-z]+(-[a-z]+)*$/gm.exec(e))throw Error("Theme name not valid: "+e);if(d.includes(e)||"scheme"===e||e.startsWith("scheme-"))throw Error("Theme name reserved: "+e);if(this.name=e,this.scheme=t,this.prefChangeEvent.emit({preference:"theme"}),localStorage.setItem(this.localStorageAliasThemeName,this.name),localStorage.setItem(this.localStorageAliasThemeScheme,this.scheme),"undefined"!=typeof document){const e=document.querySelector("html");for(const t in this.schemeSet)({}).hasOwnProperty.call(this.schemeSet,t)&&(null==e||e.classList.remove(this.schemeSet[t]));null!==this.previousName&&""!==this.previousName&&(null==e||e.classList.remove(this.clasNameThemeNamePrefix+this.previousName)),null==e||e.setAttribute("data-theme-name",this.name),null==e||e.classList.add(this.schemeSet[this.scheme]),null==e||e.classList.add(this.clasNameThemeNamePrefix+this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeName,this.name),null==e||e.style.setProperty(this.customPropertyAliasThemeScheme,this.scheme),this.previousName=this.name}n.state["theme-scheme"]=this.scheme},this.setCornerShape=e=>{if(null!=e){if(!w.includes(e))throw Error("Corner shape not valid: "+e);if(this.cornerShape=e,this.prefChangeEvent.emit({preference:"corner-shape"}),localStorage.setItem(this.localStorageAliasCornerShape,e),"undefined"!=typeof document){const t=document.querySelector("html");"default"===e?null==t||t.removeAttribute("data-corner-shape"):null==t||t.setAttribute("data-corner-shape",e)}n.state["corner-shape"]="default"===e?void 0:e}}}connectedCallback(){h.isBrowser&&(this.itemsObserver=new MutationObserver((()=>i(this.element))),this.itemsObserver.observe(this.element,{attributeFilter:["label","name"],childList:!0,subtree:!0}))}componentDidLoad(){this.checkThemeSelect()}disconnectedCallback(){var e;null===(e=this.itemsObserver)||void 0===e||e.disconnect(),this.itemsObserver=void 0}componentWillRender(){var e,t,s;this.userThemeName=localStorage.getItem(this.localStorageAliasThemeName),this.userThemeScheme=localStorage.getItem(this.localStorageAliasThemeScheme),this.setTheme(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.userCornerShape=localStorage.getItem(this.localStorageAliasCornerShape),this.setCornerShape(null!==(s=this.userCornerShape)&&void 0!==s?s:this.cornerShape)}render(){return a(r,{key:"2c1cc087d9f72e3c0c76aaee36895d0e0fd082fe"},a("div",{key:"b9747c6a330efebb17feee19b843496c1d571695",class:"menu"},a("mds-text",{key:"4a4489bc428dfbd95c5c7839dc69ff47f65946e9",class:"info",typography:"caption"},a("b",{key:"b3334ccaf13ccb33cedfe7c8da069155712cbf8a"},this.t.get("label"))),a("mds-tab",{key:"6ebd788130fdd32f4195522842d4375b82e8ff4b",fill:!0,size:this.size},a("mds-tab-item",{key:"d5f4df2c25d2f842e5540bd573e0e20a55935a47",selected:!0,onClick:this.toggleDropdown,expanded:this.showDropdown,id:"mds-pref-theme-nav",class:"item item--theme","icon-position":"right",icon:this.showDropdown?p:c,label:this.triggerLabel()}))),a("mds-dropdown",{key:"f1df1944eaabdf48ff970ed2e004b756479e9a87",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"e52ede9b85614201d9a988c27572004c4e396a74"})))}get element(){return this}static get style(){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)}.menu{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.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(--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(--text-neutral-muted,73 73 73)))}"}},[257,"mds-pref-theme",{size:[513],name:[1537],scheme:[1537],cornerShape:[1537,"corner-shape"],showDropdown:[32]}]),D=S,P=function(){"undefined"!=typeof customElements&&["mds-pref-theme","mds-button","mds-dropdown","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((e=>{switch(e){case"mds-pref-theme":customElements.get(m(e))||customElements.define(m(e),S);break;case"mds-button":customElements.get(m(e))||f();break;case"mds-dropdown":customElements.get(m(e))||u();break;case"mds-icon":customElements.get(m(e))||b();break;case"mds-spinner":customElements.get(m(e))||g();break;case"mds-tab":customElements.get(m(e))||v();break;case"mds-tab-item":customElements.get(m(e))||y();break;case"mds-text":customElements.get(m(e))||k()}}))};export{D as MdsPrefTheme,P as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,h as t,c as i,t as a}from"./p-pBvN1uAc.js";import{L as o}from"./p--miH951G.js";import{d as r}from"./p-BW24ByN-.js";var n={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},h={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},d={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},l={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const m=new Set,c=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.t=new o({el:n,en:h,es:d,it:l}),this.addPerfEvents=()=>{this.addEvent(this.host.querySelector("mds-pref-consumption")),this.addEvent(this.host.querySelector("mds-pref-contrast")),this.addEvent(this.host.querySelector("mds-pref-language")),this.addEvent(this.host.querySelector("mds-pref-mode")),this.addEvent(this.host.querySelector("mds-pref-theme"))},this.removePerfEvents=()=>{this.removeEvent(this.host.querySelector("mds-pref-consumption")),this.removeEvent(this.host.querySelector("mds-pref-contrast")),this.removeEvent(this.host.querySelector("mds-pref-language")),this.removeEvent(this.host.querySelector("mds-pref-mode")),this.removeEvent(this.host.querySelector("mds-pref-theme"))},this.handlePrefChangeEvent=e=>{this.prefNeedsReload.includes(e.detail.preference)&&(this.showReload=!0)},this.addEvent=e=>{e&&e.addEventListener("mdsPrefChange",this.handlePrefChangeEvent.bind(this))},this.removeEvent=e=>{e&&e.removeEventListener("mdsPrefChange",this.handlePrefChangeEvent.bind(this))},this.handleThemeChangeEvent=e=>{const s=e.detail;this.applySchemeLock(null==s?void 0:s.scheme)},this.addThemeEvent=e=>{e&&e.addEventListener("mdsPrefThemeChange",this.handleThemeChangeEvent)},this.removeThemeEvent=e=>{e&&e.removeEventListener("mdsPrefThemeChange",this.handleThemeChangeEvent)},this.applySchemeLock=e=>{const s=this.host.querySelector("mds-pref-mode");s&&(s.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((s=>{s.size=e}))}componentDidLoad(){var e;m.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref","")),this.controller&&this.addPerfEvents(),this.addThemeEvent(this.host.querySelector("mds-pref-theme")),this.applyInitialSchemeLock()}disconnectedCallback(){var e;m.delete(this.host),"undefined"!=typeof window&&0===m.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")),this.removePerfEvents(),this.removeThemeEvent(this.host.querySelector("mds-pref-theme"))}render(){return t(i,{key:"3e9d23654e644bc31a70425bfd5a4e0cca0d3d74"},t("slot",{key:"6688f1a65df7f2197bf6f4456e9d644b446a84b5"}),this.showReload&&t("div",{key:"2283359a9f78f4465e334f1fabe89b1e5300d993",class:"reload-required"},t("mds-text",{key:"37a204636723d04c4a9d46d39d84296f6535f2ca",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return this}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"}},[257,"mds-pref",{size:[513],controller:[1540],showReload:[32]},void 0,{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}]),p=c,f=function(){"undefined"!=typeof customElements&&["mds-pref","mds-text"].forEach((e=>{switch(e){case"mds-pref":customElements.get(a(e))||customElements.define(a(e),c);break;case"mds-text":customElements.get(a(e))||r()}}))};export{p as MdsPref,f as defineCustomElement}
1
+ import{p as e,H as a,h as t,c as s,t as o}from"./p-pBvN1uAc.js";import{L as i}from"./p--miH951G.js";import{d as n}from"./p-DLCcW1Q5.js";var r={reloadPageToSeeChanges:"Πρέπει να ανανεώσετε τη σελίδα για να δείτε όλες τις αλλαγές, διαφορετικά θα είναι ορατές μόνο για τα πρόσφατα μεταφορτωμένα στοιχεία."},d={reloadPageToSeeChanges:"You must refresh the page to see all changes, or they will only be visible for new items uploaded."},l={reloadPageToSeeChanges:"Es necesario actualizar la página para ver todos los cambios, o solo serán visibles para los nuevos elementos cargados."},h={reloadPageToSeeChanges:"È necessario aggiornare la pagina per vedere tutti i cambiamenti, oppure saranno visibili solo per i nuovi elementi caricati."};const c=new Set,m=e(class extends a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.t=new i({el:r,en:d,es:l,it:h}),this.applySchemeLock=e=>{const a=this.host.querySelector("mds-pref-mode");a&&(a.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((a=>{a.size=e}))}connectedCallback(){var e;c.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(c.delete(this.host),"undefined"!=typeof window&&0===c.size&&(null===(e=document.documentElement)||void 0===e||e.removeAttribute("data-magma-pref")))}handlePrefChange(e){var a;this.controller&&this.prefNeedsReload.includes(null===(a=e.detail)||void 0===a?void 0:a.preference)&&(this.showReload=!0)}handleThemeChange(e){var a;this.applySchemeLock(null===(a=e.detail)||void 0===a?void 0:a.scheme)}render(){return t(s,{key:"398722954628ee536a383665b71cce3b14a37179"},t("slot",{key:"5dfa0ddd02d59442be36bd88f3f3779dbe086f9c"}),this.showReload&&t("div",{key:"9bef0a9920c3b11aa62705707d07110b0b1f93ca",class:"reload-required"},t("mds-text",{key:"9e988b1dc3115da795d829de7153ff998d831388",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return this}static get watchers(){return{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host(:empty),:host([controller]){display:none}.reload-required{display:grid;gap:calc(var(--spacing,.0025rem)*200)}"}},[257,"mds-pref",{size:[513],controller:[1540],showReload:[32]},[[0,"mdsPrefChange","handlePrefChange"],[0,"mdsPrefThemeChange","handleThemeChange"]],{controller:[{handleControllerChange:0}],size:[{handleSizeChange:0}]}]),p=m,g=function(){"undefined"!=typeof customElements&&["mds-pref","mds-text"].forEach((e=>{switch(e){case"mds-pref":customElements.get(o(e))||customElements.define(o(e),m);break;case"mds-text":customElements.get(o(e))||n()}}))};export{p as MdsPref,g as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as o}from"./p-pBvN1uAc.js";import{p as i}from"./p-zHpei4x6.js";import{m as s}from"./p-BFhO-KUe.js";import{m as l}from"./p-BE8xuIpS.js";import{d as n}from"./p-BW24ByN-.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return r(a,{key:"6672e980cb96c65971d4bfa8fe61ee6043f0fc09","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},"supported"===this.type&&r("i",{key:"3bbfede28639b01f1f06620e6295ed0007c3c8dd",class:"icon icon--supported",innerHTML:s,part:"icon"}),"unsupported"===this.type&&r("i",{key:"f465be7d986b13a119a8a43c880e2789c3e03304",class:"icon icon--unsupported",innerHTML:l,part:"icon"}),"text"===this.type&&r("mds-text",{key:"00b63cc837f7abd6b394f41fe0c066287c7d7755",part:"text",typography:"detail"},r("slot",{key:"279f5010a519b0adbe2aa4f84275ec7cd590a42c"})),"custom"===this.type&&r("slot",{key:"aba0dd7e32e62baafe4f2eb78bebf3a12bdfe2c5"}),"label"===this.type&&r("slot",{key:"5571dff3f60a05d615f8b75c5e883def96ab20df"}))}static get style(){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))))}}'}},[257,"mds-price-table-features-cell",{type:[513]}]),d=c,p=function(){"undefined"!=typeof customElements&&["mds-price-table-features-cell","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features-cell":customElements.get(o(e))||customElements.define(o(e),c);break;case"mds-text":customElements.get(o(e))||n()}}))};export{d as MdsPriceTableFeaturesCell,p as defineCustomElement}
1
+ import{p as e,H as r,h as t,c as a,t as o}from"./p-pBvN1uAc.js";import{p as s}from"./p-zHpei4x6.js";import{m as i}from"./p-BFhO-KUe.js";import{m as l}from"./p-BE8xuIpS.js";import{d as n}from"./p-DLCcW1Q5.js";const c=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return t(a,{key:"7a61b8937a719cb7a9b529430a1e7531202d83ae","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},"supported"===this.type&&t("i",{key:"31bd664666209f752504669255b3a4b49d98301d",class:"icon icon--supported",innerHTML:i,part:"icon"}),"unsupported"===this.type&&t("i",{key:"2d493f1e6e5f594f4ee6fefef84f4be3325a7988",class:"icon icon--unsupported",innerHTML:l,part:"icon"}),"text"===this.type&&t("mds-text",{key:"b93130017c7de4584627f47bd2b760e90bdeec09",part:"text",typography:"detail"},t("slot",{key:"a8bb5a4433ffe2907d868684f6dc1313acc3f942"})),"custom"===this.type&&t("slot",{key:"f41bd59e0493e36d8995ffafa2e7291ec4f7cead"}),"label"===this.type&&t("slot",{key:"27b4ab7dafd5a18ebfd68e587c558a0684857927"}))}static get style(){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(--text-neutral-disabled,119 119 119)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-price-table-features-cell-border-color:rgb(var(--magma-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(--border-neutral-muted,219 219 219))));display:table-cell;padding:var(--mds-price-table-features-cell-padding,calc(var(--spacing,.0025rem)*300));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);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(--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(--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(--text-neutral-default,5 5 5)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-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(--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(--text-neutral-default,5 5 5)));--mds-price-table-features-cell-icon-unsupported-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-price-table-features-cell",{type:[513]}]),d=c,p=function(){"undefined"!=typeof customElements&&["mds-price-table-features-cell","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features-cell":customElements.get(o(e))||customElements.define(o(e),c);break;case"mds-text":customElements.get(o(e))||n()}}))};export{d as MdsPriceTableFeaturesCell,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as o}from"./p-pBvN1uAc.js";import{p as s}from"./p-zHpei4x6.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return r(a,{key:"fc7e157e50d8f86dfa97670a825d77b112c2cbaa","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("slot",{key:"355d8418d3d7af7955096db0760ab3579e71cd21"}))}get host(){return this}static get style(){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))))}}'}},[257,"mds-price-table-features-row",{cellPercWidth:[32]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-price-table-features-row"].forEach((e=>{"mds-price-table-features-row"===e&&(customElements.get(o(e))||customElements.define(o(e),i))}))};export{n as MdsPriceTableFeaturesRow,l as defineCustomElement}
1
+ import{p as e,H as t,h as r,c as a,t as o}from"./p-pBvN1uAc.js";import{p as s}from"./p-zHpei4x6.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}componentWillRender(){this.horizontalCells=this.host.querySelectorAll("mds-price-table-features-cell"),this.cellPercWidth=Number(100/this.horizontalCells.length).toFixed(4)+"%",this.horizontalCells.forEach((e=>{e.style.width=this.cellPercWidth}))}render(){return r(a,{key:"71c5f7f87c650da87b61a42081e3b615e552ed5e","pref-animation":s.state.animation,"pref-contrast":s.state.contrast,"pref-mode":s.state.mode,"pref-theme-scheme":s.state["theme-scheme"]},r("slot",{key:"757480f6519ad2f7ec3d5f11006a1babbf826d45"}))}get host(){return this}static get style(){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(--tone-neutral-10,237 237 237)));--mds-price-table-features-row-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-price-table-features-row-color-hover:rgb(var(--magma-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(--text-neutral-subtle,99 99 99))));display:table-row;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(--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(--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]){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(--text-neutral-default,5 5 5)));--mds-price-table-features-row-color-hover:rgb(var(--magma-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(--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(--text-neutral-default,5 5 5)));--mds-price-table-features-row-color-hover:rgb(var(--magma-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(--tone-neutral-09,225 225 225)))}}'}},[257,"mds-price-table-features-row",{cellPercWidth:[32]}]),n=i,l=function(){"undefined"!=typeof customElements&&["mds-price-table-features-row"].forEach((e=>{"mds-price-table-features-row"===e&&(customElements.get(o(e))||customElements.define(o(e),i))}))};export{n as MdsPriceTableFeaturesRow,l as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as r,c as a,t as i}from"./p-pBvN1uAc.js";import{p as o}from"./p-zHpei4x6.js";import{d as s}from"./p-BW24ByN-.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return r(a,{key:"4cea40f8e29d671ebd61fba34cb9a7edb7517b3b","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("div",{key:"7e8b20fafe83f27b3c7d031e8875c0e254e3c82c",class:"table-wrapper"},this.label&&r("header",{key:"7ff3827ecf98976e0f73a8c1dbefc55aa0ec21b1",part:"header"},r("mds-text",{key:"e5f383837d852c48ffd2fdc9555b667cc4822f2f",typography:"detail"},r("b",{key:"0df39a3221f8a463a3d677a89d429d5f3b9f1827"},this.label))),r("table",{key:"6ff8b551d1ac18d48bbf4c98c86a30e057f56b33"},r("tbody",{key:"3daa55e6d546ebffe8695b35340536b73338045c"},r("slot",{key:"6dc5df72184166bd4b444801466f8decbe7db006"})))))}static get style(){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}}'}},[257,"mds-price-table-features",{label:[1]}]),d=n,m=function(){"undefined"!=typeof customElements&&["mds-price-table-features","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features":customElements.get(i(e))||customElements.define(i(e),n);break;case"mds-text":customElements.get(i(e))||s()}}))};export{d as MdsPriceTableFeatures,m as defineCustomElement}
1
+ import{p as e,H as t,h as a,c as r,t as i}from"./p-pBvN1uAc.js";import{p as o}from"./p-zHpei4x6.js";import{d as s}from"./p-DLCcW1Q5.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"032fdbedd1cf80d3a8a716b1571d3c7bae3e4840","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},a("div",{key:"90e60aef4ccf5ed738f8a4956f4736f862c030f9",class:"table-wrapper"},this.label&&a("header",{key:"de3182c7c6aa95126ec91f2007dcf8d221b9664d",part:"header"},a("mds-text",{key:"18f1534e76cd65335ebfb951f85e61972663203c",typography:"detail"},a("b",{key:"f6ec20a772d88a63bf6304d428a6b0f6e5e0e8b7"},this.label))),a("table",{key:"554304915280955a12a9bba42da99cb0b5e8dab0"},a("tbody",{key:"fed0f4347a8143d750bc6f8a13708a1d71a6c1bf"},a("slot",{key:"2bcbd39532bbc7be08693bfa960553bca9f98c46"})))))}static get style(){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(--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;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(--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}}'}},[257,"mds-price-table-features",{label:[1]}]),d=n,p=function(){"undefined"!=typeof customElements&&["mds-price-table-features","mds-text"].forEach((e=>{switch(e){case"mds-price-table-features":customElements.get(i(e))||customElements.define(i(e),n);break;case"mds-text":customElements.get(i(e))||s()}}))};export{d as MdsPriceTableFeatures,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as r,t as a}from"./p-pBvN1uAc.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"cb5a7e40673f0304f0ed00cae9f93753bc848717"},s("slot",{key:"7bbefb79891067cf911dd2d0042e269e2e14bbbc"}))}static get style(){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))}"}},[257,"mds-price-table-header"]),o=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table-header"].forEach((e=>{"mds-price-table-header"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))};export{o as MdsPriceTableHeader,d as defineCustomElement}
1
+ import{p as e,H as t,h as a,c as s,t as r}from"./p-pBvN1uAc.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(s,{key:"a0b9e147af9885a54e9940a458b4506b45722d22"},a("slot",{key:"75075b864f1368f840e90bd49a9b1d7aaac0ac0d"}))}static get style(){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))}"}},[257,"mds-price-table-header"]),o=i,d=function(){"undefined"!=typeof customElements&&["mds-price-table-header"].forEach((e=>{"mds-price-table-header"===e&&(customElements.get(r(e))||customElements.define(r(e),i))}))};export{o as MdsPriceTableHeader,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as i,c as a,t as r}from"./p-pBvN1uAc.js";import{m as s}from"./p-BFhO-KUe.js";import{m as o}from"./p-BE8xuIpS.js";import{d as n}from"./p-BW24ByN-.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return i(a,{key:"9f970a01728c3729c604119a3f9e8ba520754ee9",slot:"item"},i("mds-text",{key:"07f98b7344b20804848c534460eaa84fa3d9c402",class:"icon-container",typography:this.typography},i("i",this.supported?{class:"icon",innerHTML:s,part:"icon"}:{class:"icon",innerHTML:o,part:"icon"})),i("mds-text",{key:"992dc84f0b8fd8ed025e971c3537ce98b675985a",class:"text",typography:this.typography},i("slot",{key:"ff21af191088a6f5555002508e1ef6bf71f61aaf"})))}static get style(){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}'}},[257,"mds-price-table-list-item",{supported:[516],typography:[513]}]),c=l,d=function(){"undefined"!=typeof customElements&&["mds-price-table-list-item","mds-text"].forEach((t=>{switch(t){case"mds-price-table-list-item":customElements.get(r(t))||customElements.define(r(t),l);break;case"mds-text":customElements.get(r(t))||n()}}))};export{c as MdsPriceTableListItem,d as defineCustomElement}
1
+ import{p as e,H as t,h as i,c as r,t as s}from"./p-pBvN1uAc.js";import{m as a}from"./p-BFhO-KUe.js";import{m as o}from"./p-BE8xuIpS.js";import{d as n}from"./p-DLCcW1Q5.js";const c=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.supported=!1,this.typography="detail"}render(){return i(r,{key:"7459e68a6cfb58006da08afb19ec7d5afc4d8421",slot:"item"},i("mds-text",{key:"b899d61c804df296c9f9e77fdfa13c954f23fac3",class:"icon-container",typography:this.typography},i("i",this.supported?{class:"icon",innerHTML:a,part:"icon"}:{class:"icon",innerHTML:o,part:"icon"})),i("mds-text",{key:"f63a123031e6c433d2981d7c86cfc4201d806a4a",class:"text",typography:this.typography},i("slot",{key:"65bbf326b4ec0ae972dca846c2d9530ba31e6a97"})))}static get style(){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(--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(--text-neutral-disabled,119 119 119))));height:calc(var(--spacing,.0025rem)*600);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}'}},[257,"mds-price-table-list-item",{supported:[516],typography:[513]}]),l=c,d=function(){"undefined"!=typeof customElements&&["mds-price-table-list-item","mds-text"].forEach((e=>{switch(e){case"mds-price-table-list-item":customElements.get(s(e))||customElements.define(s(e),c);break;case"mds-text":customElements.get(s(e))||n()}}))};export{l as MdsPriceTableListItem,d as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,h as e,c as r,t as o}from"./p-pBvN1uAc.js";import{p as i}from"./p-zHpei4x6.js";import{d as n}from"./p-PQ_EO5-U.js";const s=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}render(){return e(r,{key:"8f6c18b0be237134b286ba1faa692c4fa31155dc","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},e("div",{key:"06ba4d154016b4c30b425d6009c225ecedbfa3f4",class:"header",part:"header"},e("slot",{key:"d50c50297f94298059944dd3a38786dd51756deb",name:"header"})),this.hasItems&&e("mds-separator",{key:"036b691220ae29cb33594cc9c0e872dced72d91c",class:"separator"}),this.hasItems&&e("main",{key:"5b2c708505362b90a26e3865dab3801464c18d1a",class:"main",part:"content"},e("slot",{key:"e322ccf035d2f735cb831ec7f535fa24c9601bc6",name:"item"})),e("div",{key:"30dc745b260d5634d831da707ed81d7edff6dada",class:"footer",part:"footer"},e("slot",{key:"0aa70ea54972d949a7a8f5153a10efdb76a3554d",name:"price"}),e("slot",{key:"d4e804ba15e8f1b63d1d60e14a3e05520f85734d",name:"action"})))}get hostElement(){return this}static get style(){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))))}}'}},[257,"mds-price-table-list",{hasItems:[32]}]),d=s,m=function(){"undefined"!=typeof customElements&&["mds-price-table-list","mds-separator"].forEach((t=>{switch(t){case"mds-price-table-list":customElements.get(o(t))||customElements.define(o(t),s);break;case"mds-separator":customElements.get(o(t))||n()}}))};export{d as MdsPriceTableList,m as defineCustomElement}
1
+ import{p as t,H as e,h as a,c as r,t as o}from"./p-pBvN1uAc.js";import{p as i}from"./p-zHpei4x6.js";import{d as s}from"./p-CMp9rP7L.js";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){this.hasItems=this.hostElement.querySelectorAll('[slot="item"], mds-price-table-list-item').length>0}render(){return a(r,{key:"d39ffdfa0fb1036dba1b746ec975aeab5b662558","pref-animation":i.state.animation,"pref-contrast":i.state.contrast,"pref-mode":i.state.mode,"pref-theme-scheme":i.state["theme-scheme"]},a("div",{key:"bc74a53592db291d615efa57292b1016e19da478",class:"header",part:"header"},a("slot",{key:"5aa7ddd5735185acd26b235556fc26eb16dd0610",name:"header"})),this.hasItems&&a("mds-separator",{key:"fefd5cf1468f6b650d741bb23ab3315cae62484c",class:"separator"}),this.hasItems&&a("main",{key:"ba420a43c973af9c0f4a26a318d0a26811148d04",class:"main",part:"content"},a("slot",{key:"9e08c042dd20fdff0c2fdc06c64d6b460c2e2903",name:"item"})),a("div",{key:"1c7715dd787279c5b22bff294f6e0d9eb84754ce",class:"footer",part:"footer"},a("slot",{key:"7e7371607cf405c7d0c03ce0f695a8df4ee8b007",name:"price"}),a("slot",{key:"34897f9d033aa6c739f63276d5e526337951b337",name:"action"})))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-separator:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-price-table-list-separator-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))/.5);--mds-price-table-list-transition-duration:var(--duration-200,.2s);--private-price-table-list-transition-duration:var(--mds-price-table-list-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:rgb(var(--label-green-10,206 247 221));border-radius:var(--radius-xl,20px);display:grid;gap:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*600);transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color,color;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(--text-neutral-muted,73 73 73))/.5));transition-duration:var(--private-price-table-list-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.header,.main{display:grid}.main{gap:calc(var(--spacing,.0025rem)*300)}.footer{display:grid;gap:calc(var(--spacing,.0025rem)*400)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-price-table-list-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-price-table-list-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);background-color:rgb(var(--label-green-09,165 240 193));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-price-table-list-separator-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.5);box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-price-table-list",{hasItems:[32]}]),d=n,c=function(){"undefined"!=typeof customElements&&["mds-price-table-list","mds-separator"].forEach((t=>{switch(t){case"mds-price-table-list":customElements.get(o(t))||customElements.define(o(t),n);break;case"mds-separator":customElements.get(o(t))||s()}}))};export{d as MdsPriceTableList,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as s,c as a,t as r}from"./p-pBvN1uAc.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"e4da51ef603eedd6790e360ded6fba0bef194887"},s("slot",{key:"5e97c1ecdbfe5a322283f41a9b65af0179be8559"}))}static get style(){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)}"}},[257,"mds-price-table"]),d=i,o=function(){"undefined"!=typeof customElements&&["mds-price-table"].forEach((e=>{"mds-price-table"===e&&(customElements.get(r(e))||customElements.define(r(e),i))}))};export{d as MdsPriceTable,o as defineCustomElement}
1
+ import{p as e,H as t,h as s,c as r,t as a}from"./p-pBvN1uAc.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"b7187bc770d466cd85133019f4756b6dcdc4286b"},s("slot",{key:"a42f4e35abb9da528f19fdfd90c4b7708b9a80c5"}))}static get style(){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)}"}},[257,"mds-price-table"]),d=i,o=function(){"undefined"!=typeof customElements&&["mds-price-table"].forEach((e=>{"mds-price-table"===e&&(customElements.get(a(e))||customElements.define(a(e),i))}))};export{d as MdsPriceTable,o as defineCustomElement}
@@ -1 +1 @@
1
- import{M as s,d as o}from"./p-CIcshx6K.js";const p=s,r=o;export{p as MdsProgress,r as defineCustomElement}
1
+ import{M as o,d as p}from"./p--5KZXaZp.js";const s=o,a=p;export{s as MdsProgress,a as defineCustomElement}