@maggioli-design-system/magma 2.4.0 → 2.5.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 (1205) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +36 -0
  3. package/agents/assets.md +10 -0
  4. package/agents/components.md +2 -1
  5. package/agents/conventions.md +5 -0
  6. package/dist/cjs/{floating-controller-BxER7sig.js → floating-controller-DaFymQCT.js} +2 -2
  7. package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
  8. package/dist/cjs/{index-B5DKRaVO.js → index-CWTZb9W2.js} +1 -1
  9. package/dist/cjs/index.cjs.js +3 -63
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/{locale-D9XY8LN9.js → locale-Os4wg65H.js} +1 -1
  12. package/dist/cjs/magma-components.cjs.js +2 -2
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  16. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  17. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  31. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  36. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
  38. package/dist/cjs/mds-emoji.cjs.entry.js +38 -8
  39. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  41. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
  45. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +5 -5
  47. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  51. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  52. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-input-select.cjs.entry.js +5 -5
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
  59. package/dist/cjs/mds-input.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  65. package/dist/cjs/mds-link.cjs.entry.js +147 -0
  66. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  67. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  68. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  69. package/dist/cjs/mds-modal.cjs.entry.js +8 -8
  70. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  71. package/dist/cjs/mds-notification.cjs.entry.js +4 -4
  72. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
  74. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  75. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  76. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  78. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  79. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  80. package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -6
  81. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  82. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  83. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  84. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  85. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  90. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
  92. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  93. package/dist/cjs/mds-push-notification.cjs.entry.js +6 -6
  94. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -7
  97. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  98. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
  99. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +5 -5
  100. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  101. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  102. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  103. package/dist/cjs/mds-tab_2.cjs.entry.js +7 -7
  104. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  105. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  106. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  107. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  108. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  109. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  110. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  111. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  112. package/dist/cjs/mds-toast.cjs.entry.js +6 -6
  113. package/dist/cjs/mds-tooltip.cjs.entry.js +6 -6
  114. package/dist/cjs/mds-tree-item.cjs.entry.js +6 -6
  115. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  116. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  118. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  119. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  120. package/dist/cjs/navigation-5yeOyO6F.js +64 -0
  121. package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
  122. package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/common/unit.js +1 -1
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  141. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  143. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-badge/documentation.json +1 -1
  147. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-banner/documentation.json +1 -1
  149. package/dist/collection/components/mds-banner/mds-banner.css +3 -3
  150. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  152. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  157. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  159. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  160. package/dist/collection/components/mds-button/antipattern.md +16 -0
  161. package/dist/collection/components/mds-button/documentation.json +2 -2
  162. package/dist/collection/components/mds-button/mds-button.css +4 -2
  163. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  165. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  167. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  169. package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
  170. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  172. package/dist/collection/components/mds-card/AGENTS.md +2 -1
  173. package/dist/collection/components/mds-card/documentation.json +2 -2
  174. package/dist/collection/components/mds-card/mds-card.css +9 -5
  175. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  177. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  179. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  181. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  183. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-chip/documentation.json +1 -1
  185. package/dist/collection/components/mds-chip/mds-chip.css +1 -1
  186. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-details/documentation.json +1 -1
  188. package/dist/collection/components/mds-details/mds-details.css +2 -2
  189. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  190. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  191. package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
  192. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  193. package/dist/collection/components/mds-emoji/documentation.json +2 -2
  194. package/dist/collection/components/mds-emoji/mds-emoji.css +11 -5
  195. package/dist/collection/components/mds-emoji/mds-emoji.js +34 -4
  196. package/dist/collection/components/mds-entity/AGENTS.md +3 -2
  197. package/dist/collection/components/mds-entity/documentation.json +11 -3
  198. package/dist/collection/components/mds-entity/mds-entity.css +1 -1
  199. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  200. package/dist/collection/components/mds-entity/pattern.md +10 -0
  201. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  202. package/dist/collection/components/mds-file/documentation.json +1 -1
  203. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  205. package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
  206. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-filter/documentation.json +1 -1
  208. package/dist/collection/components/mds-filter/mds-filter.css +1 -1
  209. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  210. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  211. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-header/documentation.json +1 -1
  213. package/dist/collection/components/mds-header/mds-header.css +4 -4
  214. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  216. package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
  217. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  218. package/dist/collection/components/mds-help/documentation.json +1 -1
  219. package/dist/collection/components/mds-help/mds-help.css +7 -5
  220. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  222. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
  223. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-hr/documentation.json +1 -1
  225. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  226. package/dist/collection/components/mds-icon/documentation.json +5 -1
  227. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-img/documentation.json +1 -1
  229. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  230. package/dist/collection/components/mds-input/documentation.json +1 -1
  231. package/dist/collection/components/mds-input/mds-input.css +8 -8
  232. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  234. package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
  235. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  237. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
  238. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  240. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  242. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  244. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  246. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  248. package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
  249. package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
  250. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  251. package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -10
  252. package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
  253. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  254. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  255. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  257. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  259. package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
  260. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  262. package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
  263. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  265. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  266. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  268. package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
  269. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  271. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  272. package/dist/collection/components/mds-label/documentation.json +1 -1
  273. package/dist/collection/components/mds-link/AGENTS.md +81 -0
  274. package/dist/collection/components/mds-link/antipattern.md +96 -0
  275. package/dist/collection/components/mds-link/documentation.json +407 -0
  276. package/dist/collection/components/mds-link/mds-link.css +301 -0
  277. package/dist/collection/components/mds-link/mds-link.js +335 -0
  278. package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
  279. package/dist/collection/components/mds-link/meta/types.js +1 -0
  280. package/dist/collection/components/mds-link/pattern.md +100 -0
  281. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-list/documentation.json +1 -1
  283. package/dist/collection/components/mds-list/mds-list.js +1 -1
  284. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  286. package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
  287. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  288. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-mention/documentation.json +1 -1
  290. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  291. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  292. package/dist/collection/components/mds-modal/documentation.json +1 -1
  293. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  294. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  295. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-note/documentation.json +1 -1
  297. package/dist/collection/components/mds-note/mds-note.css +3 -3
  298. package/dist/collection/components/mds-note/mds-note.js +1 -1
  299. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  300. package/dist/collection/components/mds-notification/documentation.json +1 -1
  301. package/dist/collection/components/mds-notification/mds-notification.css +22 -22
  302. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  303. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  304. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  305. package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
  306. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  307. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  308. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  309. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  310. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  311. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  312. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  313. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-pref/documentation.json +1 -1
  315. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  316. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  318. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  319. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  321. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  322. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  324. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  325. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  327. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  328. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  330. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  331. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  332. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  333. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
  334. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  335. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  337. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  338. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  340. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  341. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  343. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  344. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  346. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  347. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  349. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  350. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  352. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  353. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  355. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  356. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  358. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  359. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  361. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  362. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-progress/documentation.json +1 -1
  364. package/dist/collection/components/mds-progress/mds-progress.css +2 -0
  365. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  366. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  367. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  368. package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
  369. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  370. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  372. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
  373. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  374. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-quote/documentation.json +1 -1
  376. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  377. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  378. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  379. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
  380. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  381. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  382. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  383. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
  384. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  385. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  387. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
  388. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  389. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  390. package/dist/collection/components/mds-separator/documentation.json +1 -1
  391. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  392. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  393. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  394. package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
  395. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  396. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  397. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  398. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -3
  399. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  400. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  402. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  403. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  405. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
  406. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  407. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  408. package/dist/collection/components/mds-tab/documentation.json +1 -1
  409. package/dist/collection/components/mds-tab/mds-tab.css +9 -7
  410. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  411. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  413. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  414. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  416. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  417. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  418. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  420. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  421. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  422. package/dist/collection/components/mds-table/documentation.json +1 -1
  423. package/dist/collection/components/mds-table/mds-table.css +1 -1
  424. package/dist/collection/components/mds-table/mds-table.js +1 -1
  425. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  426. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  427. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  428. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  429. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  430. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  431. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  433. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  434. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  436. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  437. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  439. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  440. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  442. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  443. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  444. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  445. package/dist/collection/components/mds-text/antipattern.md +1 -1
  446. package/dist/collection/components/mds-text/documentation.json +4 -4
  447. package/dist/collection/components/mds-text/mds-text.js +1 -1
  448. package/dist/collection/components/mds-text/pattern.md +10 -0
  449. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  450. package/dist/collection/components/mds-toast/documentation.json +1 -1
  451. package/dist/collection/components/mds-toast/mds-toast.css +2 -2
  452. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  453. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  454. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  455. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  456. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  457. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  458. package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
  459. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  460. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  461. package/dist/collection/components/mds-tree/documentation.json +1 -1
  462. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  463. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  464. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  465. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  466. package/dist/collection/components/mds-tree-item/mds-tree-item.css +8 -6
  467. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  468. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  470. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  471. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-usage/documentation.json +1 -1
  473. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  474. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  476. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  477. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-zero/documentation.json +1 -1
  479. package/dist/collection/components/mds-zero/mds-zero.css +2 -2
  480. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  481. package/dist/components/index.d.ts +2 -0
  482. package/dist/components/index.js +1 -1
  483. package/dist/components/mds-accordion-item.js +1 -1
  484. package/dist/components/mds-accordion-timer-item.js +1 -1
  485. package/dist/components/mds-accordion-timer.js +1 -1
  486. package/dist/components/mds-accordion.js +1 -1
  487. package/dist/components/mds-author.js +1 -1
  488. package/dist/components/mds-avatar-stack-item.js +1 -1
  489. package/dist/components/mds-avatar-stack.js +1 -1
  490. package/dist/components/mds-avatar.js +1 -1
  491. package/dist/components/mds-badge.js +1 -1
  492. package/dist/components/mds-banner.js +1 -1
  493. package/dist/components/mds-benchmark-bar.js +1 -1
  494. package/dist/components/mds-bibliography.js +1 -1
  495. package/dist/components/mds-breadcrumb-item.js +1 -1
  496. package/dist/components/mds-breadcrumb.js +1 -1
  497. package/dist/components/mds-button-dropdown.js +1 -1
  498. package/dist/components/mds-button-group.js +1 -1
  499. package/dist/components/mds-button.js +1 -1
  500. package/dist/components/mds-calendar-cell.js +1 -1
  501. package/dist/components/mds-calendar.js +1 -1
  502. package/dist/components/mds-card-content.js +1 -1
  503. package/dist/components/mds-card-footer.js +1 -1
  504. package/dist/components/mds-card-header.js +1 -1
  505. package/dist/components/mds-card-media.js +1 -1
  506. package/dist/components/mds-card.js +1 -1
  507. package/dist/components/mds-chip.js +1 -1
  508. package/dist/components/mds-details.js +1 -1
  509. package/dist/components/mds-dropdown.js +1 -1
  510. package/dist/components/mds-emoji.js +3 -3
  511. package/dist/components/mds-entity.js +1 -1
  512. package/dist/components/mds-file-preview.js +1 -1
  513. package/dist/components/mds-file.js +1 -1
  514. package/dist/components/mds-filter-item.js +1 -1
  515. package/dist/components/mds-filter.js +1 -1
  516. package/dist/components/mds-header-bar.js +1 -1
  517. package/dist/components/mds-header.js +1 -1
  518. package/dist/components/mds-help.js +1 -1
  519. package/dist/components/mds-horizontal-scroll.js +1 -1
  520. package/dist/components/mds-hr.js +1 -1
  521. package/dist/components/mds-icon.js +1 -1
  522. package/dist/components/mds-img.js +1 -1
  523. package/dist/components/mds-input-date-range-preselection.js +1 -1
  524. package/dist/components/mds-input-date-range.js +1 -1
  525. package/dist/components/mds-input-date.js +1 -1
  526. package/dist/components/mds-input-field.js +1 -1
  527. package/dist/components/mds-input-otp.js +1 -1
  528. package/dist/components/mds-input-range.js +1 -1
  529. package/dist/components/mds-input-select.js +1 -1
  530. package/dist/components/mds-input-switch.js +1 -1
  531. package/dist/components/mds-input-tip-item.js +1 -1
  532. package/dist/components/mds-input-tip.js +1 -1
  533. package/dist/components/mds-input-upload.js +1 -1
  534. package/dist/components/mds-input.js +1 -1
  535. package/dist/components/mds-keyboard-key.js +1 -1
  536. package/dist/components/mds-keyboard.js +1 -1
  537. package/dist/components/mds-kpi-item.js +1 -1
  538. package/dist/components/mds-kpi.js +1 -1
  539. package/dist/components/mds-label.js +1 -1
  540. package/dist/components/mds-link.d.ts +11 -0
  541. package/dist/components/mds-link.js +1 -0
  542. package/dist/components/mds-list-item.js +1 -1
  543. package/dist/components/mds-list.js +1 -1
  544. package/dist/components/mds-mention.js +1 -1
  545. package/dist/components/mds-modal.js +1 -1
  546. package/dist/components/mds-note.js +1 -1
  547. package/dist/components/mds-notification.js +1 -1
  548. package/dist/components/mds-paginator-item.js +1 -1
  549. package/dist/components/mds-paginator.js +1 -1
  550. package/dist/components/mds-policy-ai.js +1 -1
  551. package/dist/components/mds-pref-animation.js +1 -1
  552. package/dist/components/mds-pref-consumption.js +1 -1
  553. package/dist/components/mds-pref-contrast.js +1 -1
  554. package/dist/components/mds-pref-language-item.js +1 -1
  555. package/dist/components/mds-pref-language.js +1 -1
  556. package/dist/components/mds-pref-mode.js +1 -1
  557. package/dist/components/mds-pref-theme-item.js +1 -1
  558. package/dist/components/mds-pref-theme.js +1 -1
  559. package/dist/components/mds-pref.js +1 -1
  560. package/dist/components/mds-price-table-features-cell.js +1 -1
  561. package/dist/components/mds-price-table-features-row.js +1 -1
  562. package/dist/components/mds-price-table-features.js +1 -1
  563. package/dist/components/mds-price-table-header.js +1 -1
  564. package/dist/components/mds-price-table-list-item.js +1 -1
  565. package/dist/components/mds-price-table-list.js +1 -1
  566. package/dist/components/mds-price-table.js +1 -1
  567. package/dist/components/mds-progress.js +1 -1
  568. package/dist/components/mds-push-notification-item.js +1 -1
  569. package/dist/components/mds-push-notification.js +1 -1
  570. package/dist/components/mds-quote.js +1 -1
  571. package/dist/components/mds-radial-menu-item.js +1 -1
  572. package/dist/components/mds-radial-menu.js +1 -1
  573. package/dist/components/mds-radial-progress.js +1 -1
  574. package/dist/components/mds-separator.js +1 -1
  575. package/dist/components/mds-spinner.js +1 -1
  576. package/dist/components/mds-status-bar.js +1 -1
  577. package/dist/components/mds-stepper-bar-item.js +1 -1
  578. package/dist/components/mds-stepper-bar.js +1 -1
  579. package/dist/components/mds-tab-bar-item.js +1 -1
  580. package/dist/components/mds-tab-bar.js +1 -1
  581. package/dist/components/mds-tab-item.js +1 -1
  582. package/dist/components/mds-tab.js +1 -1
  583. package/dist/components/mds-table-body.js +1 -1
  584. package/dist/components/mds-table-cell.js +1 -1
  585. package/dist/components/mds-table-footer.js +1 -1
  586. package/dist/components/mds-table-header-cell.js +1 -1
  587. package/dist/components/mds-table-header.js +1 -1
  588. package/dist/components/mds-table-row.js +1 -1
  589. package/dist/components/mds-table.js +1 -1
  590. package/dist/components/mds-text.js +1 -1
  591. package/dist/components/mds-toast-region.js +1 -1
  592. package/dist/components/mds-toast.js +1 -1
  593. package/dist/components/mds-tooltip.js +1 -1
  594. package/dist/components/mds-tree-item.js +1 -1
  595. package/dist/components/mds-tree.js +1 -1
  596. package/dist/components/mds-url-view.js +1 -1
  597. package/dist/components/mds-usage.js +1 -1
  598. package/dist/components/mds-video-wall.js +1 -1
  599. package/dist/components/mds-zero.js +1 -1
  600. package/dist/components/p-B0AnE3sA.js +1 -0
  601. package/dist/{magma-components/p-BmT_DEV2.js → components/p-B8x-d2fx.js} +2 -2
  602. package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
  603. package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
  604. package/dist/components/p-BbTcXgbr.js +1 -0
  605. package/dist/components/p-BwJQB6rG.js +1 -0
  606. package/dist/components/p-Bz1eiKqd.js +1 -0
  607. package/dist/components/p-C1CTahjH.js +1 -0
  608. package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
  609. package/dist/components/p-C99SMdU_.js +1 -0
  610. package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
  611. package/dist/components/{p-DSxDXNWp.js → p-CLe_N2_H.js} +1 -1
  612. package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
  613. package/dist/components/p-CNZ8_QvE.js +8 -0
  614. package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
  615. package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
  616. package/dist/components/p-CWk1SCJg.js +1 -0
  617. package/dist/components/{p-sM-eFjwq.js → p-Cd8id3Br.js} +1 -1
  618. package/dist/components/p-CfQETwAK.js +1 -0
  619. package/dist/components/p-ClPv-Ljc.js +1 -0
  620. package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
  621. package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
  622. package/dist/components/{p-D4JiVIoh.js → p-D2d9eOLi.js} +1 -1
  623. package/dist/components/p-D8wd-EZX.js +1 -0
  624. package/dist/components/{p-B1bYa-o0.js → p-DCrdKrky.js} +1 -1
  625. package/dist/components/{p-D_0rjNZp.js → p-DF3PrYBI.js} +1 -1
  626. package/dist/components/p-DNeEn8Rr.js +1 -0
  627. package/dist/components/{p-Bg5E4Wnq.js → p-DiUUZ7ZA.js} +1 -1
  628. package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
  629. package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
  630. package/dist/components/p-DnySYX0L.js +1 -0
  631. package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
  632. package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
  633. package/dist/{magma-components/p-ZaZnuNvg.js → components/p-jasGzfhE.js} +1 -1
  634. package/dist/components/p-nsbhb0lz.js +1 -0
  635. package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
  636. package/dist/components/{p-NOw8-OrM.js → p-uqwixjju.js} +1 -1
  637. package/dist/documentation.json +431 -11
  638. package/dist/esm/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +2 -2
  639. package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
  640. package/dist/esm/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
  641. package/dist/esm/index.js +3 -63
  642. package/dist/esm/loader.js +3 -3
  643. package/dist/esm/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
  644. package/dist/esm/magma-components.js +3 -3
  645. package/dist/esm/mds-accordion-item.entry.js +3 -3
  646. package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
  647. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  648. package/dist/esm/mds-accordion.entry.js +3 -3
  649. package/dist/esm/mds-author.entry.js +1 -1
  650. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  651. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  652. package/dist/esm/mds-avatar.entry.js +2 -2
  653. package/dist/esm/mds-badge.entry.js +2 -2
  654. package/dist/esm/mds-banner_3.entry.js +6 -6
  655. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  656. package/dist/esm/mds-bibliography.entry.js +1 -1
  657. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  658. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  659. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  660. package/dist/esm/mds-button-group.entry.js +1 -1
  661. package/dist/esm/mds-button_3.entry.js +6 -5
  662. package/dist/esm/mds-calendar_2.entry.js +4 -4
  663. package/dist/esm/mds-card-content.entry.js +1 -1
  664. package/dist/esm/mds-card-footer.entry.js +1 -1
  665. package/dist/esm/mds-card-header.entry.js +1 -1
  666. package/dist/esm/mds-card-media.entry.js +1 -1
  667. package/dist/esm/mds-card.entry.js +3 -3
  668. package/dist/esm/mds-details.entry.js +3 -3
  669. package/dist/esm/mds-dropdown.entry.js +5 -5
  670. package/dist/esm/mds-emoji.entry.js +38 -8
  671. package/dist/esm/mds-entity.entry.js +4 -4
  672. package/dist/esm/mds-file-preview.entry.js +4 -4
  673. package/dist/esm/mds-file.entry.js +3 -3
  674. package/dist/esm/mds-filter-item.entry.js +3 -3
  675. package/dist/esm/mds-filter.entry.js +4 -4
  676. package/dist/esm/mds-header-bar.entry.js +4 -4
  677. package/dist/esm/mds-header.entry.js +3 -3
  678. package/dist/esm/mds-horizontal-scroll.entry.js +5 -5
  679. package/dist/esm/mds-hr.entry.js +2 -2
  680. package/dist/esm/mds-img.entry.js +3 -3
  681. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  682. package/dist/esm/mds-input-date-range.entry.js +4 -4
  683. package/dist/esm/mds-input-date.entry.js +5 -5
  684. package/dist/esm/mds-input-field.entry.js +1 -1
  685. package/dist/esm/mds-input-otp.entry.js +3 -3
  686. package/dist/esm/mds-input-range.entry.js +2 -2
  687. package/dist/esm/mds-input-select.entry.js +5 -5
  688. package/dist/esm/mds-input-switch_2.entry.js +7 -7
  689. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  690. package/dist/esm/mds-input-upload.entry.js +4 -4
  691. package/dist/esm/mds-input.entry.js +5 -5
  692. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  693. package/dist/esm/mds-keyboard.entry.js +4 -4
  694. package/dist/esm/mds-kpi-item.entry.js +2 -2
  695. package/dist/esm/mds-kpi.entry.js +2 -2
  696. package/dist/esm/mds-label.entry.js +3 -3
  697. package/dist/esm/mds-link.entry.js +145 -0
  698. package/dist/esm/mds-list-item.entry.js +3 -3
  699. package/dist/esm/mds-list.entry.js +2 -2
  700. package/dist/esm/mds-mention.entry.js +4 -4
  701. package/dist/esm/mds-modal.entry.js +8 -8
  702. package/dist/esm/mds-note.entry.js +5 -5
  703. package/dist/esm/mds-notification.entry.js +4 -4
  704. package/dist/esm/mds-paginator-item.entry.js +3 -3
  705. package/dist/esm/mds-paginator.entry.js +5 -5
  706. package/dist/esm/mds-policy-ai.entry.js +4 -4
  707. package/dist/esm/mds-pref-animation.entry.js +4 -4
  708. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  709. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  710. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  711. package/dist/esm/mds-pref-language.entry.js +4 -4
  712. package/dist/esm/mds-pref-mode.entry.js +6 -6
  713. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  714. package/dist/esm/mds-pref-theme.entry.js +4 -4
  715. package/dist/esm/mds-pref.entry.js +4 -4
  716. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  717. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  718. package/dist/esm/mds-price-table-features.entry.js +3 -3
  719. package/dist/esm/mds-price-table-header.entry.js +2 -2
  720. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  721. package/dist/esm/mds-price-table-list.entry.js +3 -3
  722. package/dist/esm/mds-price-table.entry.js +2 -2
  723. package/dist/esm/mds-progress_2.entry.js +5 -5
  724. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  725. package/dist/esm/mds-push-notification.entry.js +6 -6
  726. package/dist/esm/mds-quote.entry.js +3 -3
  727. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  728. package/dist/esm/mds-radial-menu.entry.js +7 -7
  729. package/dist/esm/mds-separator.entry.js +3 -3
  730. package/dist/esm/mds-status-bar.entry.js +4 -4
  731. package/dist/esm/mds-stepper-bar-item.entry.js +5 -5
  732. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  733. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  734. package/dist/esm/mds-tab-bar.entry.js +3 -3
  735. package/dist/esm/mds-tab_2.entry.js +7 -7
  736. package/dist/esm/mds-table-body.entry.js +3 -3
  737. package/dist/esm/mds-table-footer.entry.js +3 -3
  738. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  739. package/dist/esm/mds-table-header.entry.js +4 -4
  740. package/dist/esm/mds-table-row.entry.js +6 -6
  741. package/dist/esm/mds-table.entry.js +5 -5
  742. package/dist/esm/mds-text.entry.js +3 -3
  743. package/dist/esm/mds-toast-region.entry.js +2 -2
  744. package/dist/esm/mds-toast.entry.js +6 -6
  745. package/dist/esm/mds-tooltip.entry.js +6 -6
  746. package/dist/esm/mds-tree-item.entry.js +6 -6
  747. package/dist/esm/mds-tree.entry.js +3 -3
  748. package/dist/esm/mds-url-view.entry.js +4 -4
  749. package/dist/esm/mds-usage.entry.js +4 -4
  750. package/dist/esm/mds-video-wall.entry.js +3 -3
  751. package/dist/esm/mds-zero.entry.js +4 -4
  752. package/dist/esm/navigation-Bz1eiKqd.js +62 -0
  753. package/dist/esm/polyfills/core-js.js +0 -0
  754. package/dist/esm/polyfills/dom.js +0 -0
  755. package/dist/esm/polyfills/es5-html-element.js +0 -0
  756. package/dist/esm/polyfills/index.js +0 -0
  757. package/dist/esm/polyfills/system.js +0 -0
  758. package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
  759. package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
  760. package/dist/esm-es5/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +1 -1
  761. package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
  762. package/dist/esm-es5/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
  763. package/dist/esm-es5/index.js +20 -37
  764. package/dist/esm-es5/loader.js +1 -1
  765. package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
  766. package/dist/esm-es5/magma-components.js +2 -2
  767. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  768. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  769. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  770. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  771. package/dist/esm-es5/mds-author.entry.js +1 -1
  772. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  773. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  774. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  775. package/dist/esm-es5/mds-badge.entry.js +1 -1
  776. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  777. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  778. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  779. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  780. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  781. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  782. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  783. package/dist/esm-es5/mds-button_3.entry.js +2 -2
  784. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  785. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  786. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  787. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  788. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  789. package/dist/esm-es5/mds-card.entry.js +1 -1
  790. package/dist/esm-es5/mds-details.entry.js +1 -1
  791. package/dist/esm-es5/mds-dropdown.entry.js +15 -15
  792. package/dist/esm-es5/mds-emoji.entry.js +271 -251
  793. package/dist/esm-es5/mds-entity.entry.js +1 -1
  794. package/dist/esm-es5/mds-file-preview.entry.js +10 -10
  795. package/dist/esm-es5/mds-file.entry.js +1 -1
  796. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  797. package/dist/esm-es5/mds-filter.entry.js +1 -1
  798. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  799. package/dist/esm-es5/mds-header.entry.js +1 -1
  800. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  801. package/dist/esm-es5/mds-hr.entry.js +1 -1
  802. package/dist/esm-es5/mds-img.entry.js +1 -1
  803. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  804. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  805. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  806. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  807. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  808. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  809. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  810. package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
  811. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  812. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  813. package/dist/esm-es5/mds-input.entry.js +2 -2
  814. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  815. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  817. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  818. package/dist/esm-es5/mds-label.entry.js +1 -1
  819. package/dist/esm-es5/mds-link.entry.js +39 -0
  820. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  821. package/dist/esm-es5/mds-list.entry.js +1 -1
  822. package/dist/esm-es5/mds-mention.entry.js +2 -2
  823. package/dist/esm-es5/mds-modal.entry.js +3 -3
  824. package/dist/esm-es5/mds-note.entry.js +2 -2
  825. package/dist/esm-es5/mds-notification.entry.js +8 -8
  826. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  827. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  828. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  830. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  831. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  832. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  833. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  834. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  835. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  836. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  837. package/dist/esm-es5/mds-pref.entry.js +2 -2
  838. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  839. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  841. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  842. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  843. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  844. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  845. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  846. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  847. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  848. package/dist/esm-es5/mds-quote.entry.js +2 -2
  849. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  850. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  851. package/dist/esm-es5/mds-separator.entry.js +1 -1
  852. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  853. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  854. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  855. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  856. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  857. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  858. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  859. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  860. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  861. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  862. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  863. package/dist/esm-es5/mds-table.entry.js +2 -2
  864. package/dist/esm-es5/mds-text.entry.js +2 -2
  865. package/dist/esm-es5/mds-toast-region.entry.js +3 -3
  866. package/dist/esm-es5/mds-toast.entry.js +2 -2
  867. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  868. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  869. package/dist/esm-es5/mds-tree.entry.js +2 -2
  870. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  871. package/dist/esm-es5/mds-usage.entry.js +2 -2
  872. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  873. package/dist/esm-es5/mds-zero.entry.js +1 -1
  874. package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
  875. package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
  876. package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
  877. package/dist/hydrate/index.js +496 -304
  878. package/dist/hydrate/index.mjs +496 -304
  879. package/dist/magma-components/index.esm.js +1 -1
  880. package/dist/magma-components/magma-components.esm.js +1 -1
  881. package/dist/magma-components/magma-components.js +1 -1
  882. package/dist/magma-components/{p-028f3717.entry.js → p-000c315c.entry.js} +1 -1
  883. package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
  884. package/dist/magma-components/{p-2a2b7c43.entry.js → p-0148cf0a.entry.js} +1 -1
  885. package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
  886. package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
  887. package/dist/magma-components/p-05ed801b.system.entry.js +14 -0
  888. package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
  889. package/dist/magma-components/{p-3bb26611.entry.js → p-068e30a5.entry.js} +1 -1
  890. package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
  891. package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
  892. package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
  893. package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
  894. package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
  895. package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
  896. package/dist/magma-components/p-0a8e8525.entry.js +1 -0
  897. package/dist/magma-components/p-0b3e4a97.system.entry.js +39 -0
  898. package/dist/magma-components/p-0d32e196.system.entry.js +81 -0
  899. package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
  900. package/dist/magma-components/p-0eb3558a.entry.js +1 -0
  901. package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
  902. package/dist/magma-components/{p-8d8c9c90.entry.js → p-15ffdcf6.entry.js} +1 -1
  903. package/dist/magma-components/{p-3ac09ace.entry.js → p-1908f808.entry.js} +1 -1
  904. package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
  905. package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
  906. package/dist/magma-components/{p-36ad5759.system.entry.js → p-1eee93c8.system.entry.js} +1 -1
  907. package/dist/magma-components/p-1f623b75.entry.js +1 -0
  908. package/dist/magma-components/{p-a1443292.entry.js → p-1faa4f71.entry.js} +1 -1
  909. package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
  910. package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
  911. package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
  912. package/dist/magma-components/p-23c057a9.entry.js +1 -0
  913. package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
  914. package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
  915. package/dist/magma-components/{p-3fb98529.system.entry.js → p-244676d3.system.entry.js} +1 -1
  916. package/dist/magma-components/{p-cc0cb701.entry.js → p-254ee71d.entry.js} +1 -1
  917. package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
  918. package/dist/magma-components/p-26451eb6.entry.js +1 -0
  919. package/dist/magma-components/p-26b9f2b7.system.entry.js +80 -0
  920. package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
  921. package/dist/magma-components/{p-3725c2c1.entry.js → p-287601bb.entry.js} +1 -1
  922. package/dist/magma-components/{p-b62bbd07.entry.js → p-29162c98.entry.js} +1 -1
  923. package/dist/magma-components/{p-166c0190.entry.js → p-29450db3.entry.js} +1 -1
  924. package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
  925. package/dist/magma-components/p-29ab84bf.system.entry.js +41 -0
  926. package/dist/magma-components/p-2a964578.entry.js +1 -0
  927. package/dist/magma-components/{p-a7bad4e8.entry.js → p-2aac4003.entry.js} +1 -1
  928. package/dist/magma-components/p-2c845743.system.entry.js +1 -0
  929. package/dist/magma-components/{p-be32b7a9.system.entry.js → p-2cbd532a.system.entry.js} +1 -1
  930. package/dist/magma-components/{p-e471decd.system.entry.js → p-2cdf450c.system.entry.js} +1 -1
  931. package/dist/magma-components/{p-3ba5ddae.entry.js → p-2d3b5eb5.entry.js} +1 -1
  932. package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
  933. package/dist/magma-components/{p-8f5f2dfe.system.entry.js → p-2eb4efcd.system.entry.js} +2 -2
  934. package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
  935. package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
  936. package/dist/magma-components/{p-e49818c4.entry.js → p-336f56a4.entry.js} +1 -1
  937. package/dist/magma-components/p-34c2daa9.system.entry.js +25 -0
  938. package/dist/magma-components/p-357724ab.entry.js +1 -0
  939. package/dist/magma-components/{p-911dc847.entry.js → p-358aa5e7.entry.js} +1 -1
  940. package/dist/magma-components/p-377d0661.entry.js +1 -0
  941. package/dist/magma-components/{p-23bf1afa.system.entry.js → p-396d95a1.system.entry.js} +2 -2
  942. package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
  943. package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
  944. package/dist/magma-components/{p-a61623f9.system.entry.js → p-3d162e99.system.entry.js} +2 -2
  945. package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
  946. package/dist/magma-components/{p-721b625a.system.entry.js → p-3dc81ab9.system.entry.js} +9 -9
  947. package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
  948. package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
  949. package/dist/magma-components/{p-4a051ef5.system.entry.js → p-3fd8ff0e.system.entry.js} +2 -2
  950. package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
  951. package/dist/magma-components/{p-4d079b1a.system.entry.js → p-41a28f2a.system.entry.js} +3 -3
  952. package/dist/magma-components/p-42e50f25.system.entry.js +55 -0
  953. package/dist/magma-components/{p-95328cc7.system.entry.js → p-458eb34c.system.entry.js} +2 -2
  954. package/dist/magma-components/p-464e6431.entry.js +1 -0
  955. package/dist/magma-components/p-471227f2.system.entry.js +27 -0
  956. package/dist/magma-components/{p-8e08ae08.system.entry.js → p-47717251.system.entry.js} +3 -3
  957. package/dist/magma-components/p-4776ac1f.entry.js +1 -0
  958. package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
  959. package/dist/magma-components/p-481897a7.entry.js +1 -0
  960. package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
  961. package/dist/magma-components/{p-b58363e2.system.entry.js → p-4bc47ff0.system.entry.js} +2 -2
  962. package/dist/magma-components/{p-648ec03b.system.entry.js → p-4c6da1db.system.entry.js} +5 -5
  963. package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
  964. package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
  965. package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
  966. package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
  967. package/dist/magma-components/{p-29d4605e.system.entry.js → p-5533b60d.system.entry.js} +4 -4
  968. package/dist/magma-components/p-55746791.entry.js +1 -0
  969. package/dist/magma-components/{p-37b801d0.system.entry.js → p-577ae081.system.entry.js} +2 -2
  970. package/dist/magma-components/{p-52d5d104.system.entry.js → p-57839384.system.entry.js} +2 -2
  971. package/dist/magma-components/p-5c4e41d3.system.entry.js +54 -0
  972. package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
  973. package/dist/magma-components/{p-9bdca8b4.entry.js → p-5da14e81.entry.js} +1 -1
  974. package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
  975. package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
  976. package/dist/magma-components/p-617370e7.system.entry.js +98 -0
  977. package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
  978. package/dist/magma-components/{p-d9551916.system.entry.js → p-632ad925.system.entry.js} +22 -22
  979. package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
  980. package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
  981. package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
  982. package/dist/magma-components/p-644e64a0.entry.js +1 -0
  983. package/dist/magma-components/p-6560b426.system.entry.js +4 -0
  984. package/dist/magma-components/p-656b00df.system.entry.js +34 -0
  985. package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
  986. package/dist/magma-components/p-69abd1d1.entry.js +1 -0
  987. package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
  988. package/dist/magma-components/p-6e32bf99.entry.js +1 -0
  989. package/dist/magma-components/{p-7497b39d.system.entry.js → p-6f81c9ef.system.entry.js} +2 -2
  990. package/dist/magma-components/p-70d38284.entry.js +1 -0
  991. package/dist/magma-components/{p-1f5cd2b5.entry.js → p-71cbc840.entry.js} +1 -1
  992. package/dist/magma-components/{p-4582aa3e.system.entry.js → p-729c89f9.system.entry.js} +1 -1
  993. package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
  994. package/dist/magma-components/p-73833405.entry.js +18 -0
  995. package/dist/magma-components/{p-aa8653b1.system.entry.js → p-74f515c3.system.entry.js} +2 -2
  996. package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
  997. package/dist/magma-components/p-772c18f4.entry.js +1 -0
  998. package/dist/magma-components/p-77939a25.system.entry.js +20 -0
  999. package/dist/magma-components/{p-88ac5d50.entry.js → p-791a6a6f.entry.js} +1 -1
  1000. package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
  1001. package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
  1002. package/dist/magma-components/p-7c217aa5.entry.js +1 -0
  1003. package/dist/magma-components/{p-2abfc393.entry.js → p-7ec1ea2e.entry.js} +1 -1
  1004. package/dist/magma-components/{p-db75bf05.system.entry.js → p-7fde3025.system.entry.js} +3 -3
  1005. package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
  1006. package/dist/magma-components/{p-11e50140.system.entry.js → p-80eea067.system.entry.js} +2 -2
  1007. package/dist/magma-components/p-8173ed07.entry.js +8 -0
  1008. package/dist/magma-components/{p-8059aa67.system.entry.js → p-81e02997.system.entry.js} +3 -3
  1009. package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
  1010. package/dist/magma-components/{p-f5a08dca.system.entry.js → p-8279056b.system.entry.js} +2 -2
  1011. package/dist/magma-components/{p-d8d87750.system.entry.js → p-835d79e5.system.entry.js} +1 -1
  1012. package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
  1013. package/dist/magma-components/{p-342770d2.system.entry.js → p-84777b38.system.entry.js} +2 -2
  1014. package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
  1015. package/dist/magma-components/{p-dfbecf72.system.entry.js → p-860bce85.system.entry.js} +3 -3
  1016. package/dist/magma-components/p-8645533a.entry.js +1 -0
  1017. package/dist/magma-components/{p-7d548a19.entry.js → p-8680f63e.entry.js} +1 -1
  1018. package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
  1019. package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
  1020. package/dist/magma-components/p-87ce9d6c.entry.js +1 -0
  1021. package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
  1022. package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
  1023. package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
  1024. package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
  1025. package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
  1026. package/dist/magma-components/p-8d6470fb.system.entry.js +13 -0
  1027. package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
  1028. package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
  1029. package/dist/magma-components/{p-cc109576.entry.js → p-919f9dce.entry.js} +1 -1
  1030. package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
  1031. package/dist/magma-components/{p-547f657e.system.entry.js → p-94289f3d.system.entry.js} +5 -5
  1032. package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
  1033. package/dist/magma-components/p-96bb36b9.entry.js +1 -0
  1034. package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
  1035. package/dist/magma-components/p-984dd850.entry.js +1 -0
  1036. package/dist/magma-components/{p-8b081ba9.entry.js → p-9855b517.entry.js} +1 -1
  1037. package/dist/magma-components/{p-2f3c6105.entry.js → p-9a3ddc91.entry.js} +1 -1
  1038. package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
  1039. package/dist/magma-components/p-9fc385aa.entry.js +1 -0
  1040. package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
  1041. package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
  1042. package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
  1043. package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
  1044. package/dist/magma-components/p-Bz1eiKqd.js +1 -0
  1045. package/dist/{components/p-Dleapw-k.js → magma-components/p-CLhuNxYQ.js} +1 -1
  1046. package/dist/magma-components/p-CWk1SCJg.js +1 -0
  1047. package/dist/magma-components/{p-5vJawLPw.system.js → p-CZuIEo2v.system.js} +1 -1
  1048. package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
  1049. package/dist/magma-components/{p-LUd56iG_.system.js → p-DXAjcaHM.system.js} +1 -1
  1050. package/dist/magma-components/{p-C1ailvfu.system.js → p-OOCOFWC0.system.js} +18 -18
  1051. package/dist/{components/p-B9dgiq4u.js → magma-components/p-Raj-urIN.js} +1 -1
  1052. package/dist/magma-components/{p-zQY2FlcD.js → p-U5iXN1wy.js} +1 -1
  1053. package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
  1054. package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
  1055. package/dist/magma-components/{p-1809e47d.system.entry.js → p-a76a9f92.system.entry.js} +153 -133
  1056. package/dist/magma-components/p-a7c01334.entry.js +1 -0
  1057. package/dist/magma-components/p-a8e1ce2f.entry.js +1 -0
  1058. package/dist/magma-components/{p-d0c0c195.entry.js → p-a9ba496d.entry.js} +1 -1
  1059. package/dist/magma-components/{p-ef4d07ba.entry.js → p-ab00b7b9.entry.js} +1 -1
  1060. package/dist/magma-components/p-ab4b617d.entry.js +1 -0
  1061. package/dist/magma-components/p-ae3bf24c.system.entry.js +12 -0
  1062. package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
  1063. package/dist/magma-components/p-b476435f.entry.js +1 -0
  1064. package/dist/magma-components/p-b5789a7c.entry.js +1 -0
  1065. package/dist/magma-components/{p-bc30508b.entry.js → p-b738d3c1.entry.js} +1 -1
  1066. package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
  1067. package/dist/magma-components/p-bf0cb77d.system.entry.js +29 -0
  1068. package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
  1069. package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
  1070. package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
  1071. package/dist/magma-components/p-c6819aad.entry.js +1 -0
  1072. package/dist/magma-components/p-ca1969c5.entry.js +1 -0
  1073. package/dist/magma-components/p-cbb80188.entry.js +1 -0
  1074. package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
  1075. package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
  1076. package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
  1077. package/dist/magma-components/p-d0a93a14.system.entry.js +22 -0
  1078. package/dist/magma-components/{p-dbf69d54.system.entry.js → p-d0bfdb44.system.entry.js} +2 -2
  1079. package/dist/magma-components/p-d37fe692.system.entry.js +10 -0
  1080. package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
  1081. package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
  1082. package/dist/magma-components/{p-b728638c.system.entry.js → p-d561062f.system.entry.js} +4 -4
  1083. package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
  1084. package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
  1085. package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
  1086. package/dist/magma-components/{p-a2d10402.system.entry.js → p-d980c3d2.system.entry.js} +1 -1
  1087. package/dist/magma-components/p-da24a265.entry.js +1 -0
  1088. package/dist/magma-components/p-dbd34e3b.entry.js +1 -0
  1089. package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
  1090. package/dist/magma-components/p-e1383302.entry.js +1 -0
  1091. package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
  1092. package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
  1093. package/dist/magma-components/{p-1a5411a8.entry.js → p-e5950aee.entry.js} +1 -1
  1094. package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
  1095. package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
  1096. package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
  1097. package/dist/magma-components/p-f1aafe07.entry.js +1 -0
  1098. package/dist/magma-components/{p-69b37755.system.entry.js → p-f2f992c2.system.entry.js} +2 -2
  1099. package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
  1100. package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
  1101. package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
  1102. package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
  1103. package/dist/magma-components/{p-4225484c.entry.js → p-f670ed20.entry.js} +1 -1
  1104. package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
  1105. package/dist/magma-components/{p-4f24ccf3.entry.js → p-f78c1699.entry.js} +1 -1
  1106. package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
  1107. package/dist/magma-components/{p-ce2ef293.system.entry.js → p-f889d413.system.entry.js} +7 -7
  1108. package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
  1109. package/dist/magma-components/{p-90fe332f.entry.js → p-fc2d1134.entry.js} +1 -1
  1110. package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
  1111. package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
  1112. package/dist/stats.json +3560 -2714
  1113. package/dist/types/components/mds-emoji/mds-emoji.d.ts +2 -0
  1114. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1115. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
  1116. package/dist/types/components/mds-link/mds-link.d.ts +71 -0
  1117. package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
  1118. package/dist/types/components/mds-link/meta/types.d.ts +3 -0
  1119. package/dist/types/components.d.ts +103 -4
  1120. package/package.json +11 -10
  1121. package/dist/components/p-2gaGDQwL.js +0 -1
  1122. package/dist/components/p-AFBkzOrP.js +0 -1
  1123. package/dist/components/p-BN5kmfLJ.js +0 -8
  1124. package/dist/components/p-BUr3NqxM.js +0 -1
  1125. package/dist/components/p-BjFCjSw6.js +0 -1
  1126. package/dist/components/p-CIWWmisz.js +0 -1
  1127. package/dist/components/p-CJyTL7Mj.js +0 -1
  1128. package/dist/components/p-CylHulxe.js +0 -1
  1129. package/dist/components/p-D3_jgpKd.js +0 -1
  1130. package/dist/components/p-D8eZRaSQ.js +0 -1
  1131. package/dist/components/p-DGGk8PS_.js +0 -1
  1132. package/dist/components/p-DYpfVn7a.js +0 -1
  1133. package/dist/components/p-wHQGpA62.js +0 -1
  1134. package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
  1135. package/dist/magma-components/p-0b5fe949.entry.js +0 -1
  1136. package/dist/magma-components/p-0b7a884e.system.entry.js +0 -29
  1137. package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
  1138. package/dist/magma-components/p-1989c0b4.entry.js +0 -8
  1139. package/dist/magma-components/p-20608f69.system.entry.js +0 -35
  1140. package/dist/magma-components/p-2061e567.entry.js +0 -1
  1141. package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
  1142. package/dist/magma-components/p-2294945a.system.entry.js +0 -34
  1143. package/dist/magma-components/p-2aab3752.entry.js +0 -1
  1144. package/dist/magma-components/p-2c4d2717.entry.js +0 -1
  1145. package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
  1146. package/dist/magma-components/p-3b36319a.entry.js +0 -1
  1147. package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
  1148. package/dist/magma-components/p-3eaeb263.system.entry.js +0 -25
  1149. package/dist/magma-components/p-4116e328.system.entry.js +0 -1
  1150. package/dist/magma-components/p-4191bf22.entry.js +0 -1
  1151. package/dist/magma-components/p-4260da67.system.entry.js +0 -12
  1152. package/dist/magma-components/p-43338a07.entry.js +0 -1
  1153. package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
  1154. package/dist/magma-components/p-505fb7d4.entry.js +0 -1
  1155. package/dist/magma-components/p-51a869ee.entry.js +0 -1
  1156. package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
  1157. package/dist/magma-components/p-53bcfdbb.entry.js +0 -1
  1158. package/dist/magma-components/p-5439125d.system.entry.js +0 -10
  1159. package/dist/magma-components/p-5a2deba5.entry.js +0 -1
  1160. package/dist/magma-components/p-6b01ef3b.entry.js +0 -1
  1161. package/dist/magma-components/p-6da68fd5.entry.js +0 -1
  1162. package/dist/magma-components/p-6ebbcd7b.system.entry.js +0 -14
  1163. package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
  1164. package/dist/magma-components/p-765ff9a3.system.entry.js +0 -98
  1165. package/dist/magma-components/p-7a568cbf.entry.js +0 -1
  1166. package/dist/magma-components/p-7f776dff.entry.js +0 -1
  1167. package/dist/magma-components/p-811272a9.entry.js +0 -1
  1168. package/dist/magma-components/p-87b15008.entry.js +0 -1
  1169. package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
  1170. package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
  1171. package/dist/magma-components/p-972ff8a9.entry.js +0 -18
  1172. package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
  1173. package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
  1174. package/dist/magma-components/p-9e4e1a86.system.entry.js +0 -111
  1175. package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
  1176. package/dist/magma-components/p-D8eZRaSQ.js +0 -1
  1177. package/dist/magma-components/p-QYez4sql.system.js +0 -5
  1178. package/dist/magma-components/p-_X0N_X__.system.js +0 -1
  1179. package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
  1180. package/dist/magma-components/p-a51f849a.entry.js +0 -1
  1181. package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
  1182. package/dist/magma-components/p-a8593847.entry.js +0 -1
  1183. package/dist/magma-components/p-ac4109e3.entry.js +0 -1
  1184. package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
  1185. package/dist/magma-components/p-b48fc62e.entry.js +0 -1
  1186. package/dist/magma-components/p-b6b7dc40.entry.js +0 -1
  1187. package/dist/magma-components/p-b9e0b31d.entry.js +0 -1
  1188. package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
  1189. package/dist/magma-components/p-be741e35.entry.js +0 -1
  1190. package/dist/magma-components/p-c3622315.entry.js +0 -1
  1191. package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
  1192. package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
  1193. package/dist/magma-components/p-d0f257d9.system.entry.js +0 -80
  1194. package/dist/magma-components/p-d3678561.system.entry.js +0 -35
  1195. package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
  1196. package/dist/magma-components/p-dba5a6da.entry.js +0 -1
  1197. package/dist/magma-components/p-dbb82d72.system.entry.js +0 -54
  1198. package/dist/magma-components/p-dc3ef031.system.entry.js +0 -27
  1199. package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
  1200. package/dist/magma-components/p-e15a874b.entry.js +0 -1
  1201. package/dist/magma-components/p-e954b5c5.entry.js +0 -1
  1202. package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
  1203. package/dist/magma-components/p-f28e048b.system.entry.js +0 -55
  1204. package/dist/magma-components/p-f454c06b.entry.js +0 -1
  1205. package/dist/magma-components/p-f7f6881a.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as a,H as e,h as i,c as n,t}from"./p-B2p5a1Y8.js";import{L as r}from"./p-B9dgiq4u.js";import{d as c}from"./p-DYpfVn7a.js";import{d as o}from"./p-BUr3NqxM.js";import{d as s}from"./p-CJyTL7Mj.js";import{d as l}from"./p-DGGk8PS_.js";import{d}from"./p-BjFCjSw6.js";import{d as m}from"./p-cIZniMh0.js";import{d as p}from"./p-B6B6q5kP.js";import{d as b}from"./p-DezdwzYQ.js";import{d as u}from"./p-2gaGDQwL.js";var f='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill-rule="evenodd" d="M15.318 3a3 3 0 0 1 2.56 1.436l3.666 6a3 3 0 0 1 0 3.129l-3.667 6A3 3 0 0 1 15.317 21H8.684a3 3 0 0 1-2.56-1.436l-3.667-6a3 3 0 0 1 0-3.129l3.666-6A3 3 0 0 1 8.682 3zm-.025 11.293c-.77.77-1.991 1.207-3.293 1.207-1.301 0-2.523-.437-3.293-1.207l-1.414 1.414C8.523 16.937 10.302 17.5 12 17.5c1.699 0 3.477-.563 4.707-1.793zM8 11h2V8H8zm6 0h2V8h-2z" clip-rule="evenodd"/>\n</svg>\n',h='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29a5.003 5.003 0 0 0-7.07 0a5.003 5.003 0 0 0 0 7.07a5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04c-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11l7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>',g={bannerDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες. Σας συνιστούμε να επαληθεύσετε την ακρίβειά του και να συμβουλευτείτε επίσημες πηγές για οριστικές πληροφορίες.",bannerTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",cardDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",cardTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",chipLabel:"Δημιουργήθηκε με MIA",iconTooltip:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",iconLinkLabel:"Κάντε κλικ για να διαβάσετε τις πολιτικές μας για την τεχνητή νοημοσύνη",linkLabel:"Πολιτική τεχνητής νοημοσύνης MIA",linkLabelShort:"Πολιτική MIA",linkLabelTitle:"Διαβάστε τις πολιτικές μας για τη χρήση της MIA, της τεχνητής μας νοημοσύνης, και τη δημιουργία αυτόματου περιεχομένου"},v={bannerDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies. Please verify its accuracy and consult official sources for definitive information.",bannerTitle:"Content generated with MIA",cardDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",cardTitle:"Content generated with MIA",chipLabel:"Generated with MIA",iconTooltip:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",iconLinkLabel:"Click to read our artificial intelligence policies",linkLabel:"MIA Artificial Intelligence Policy",linkLabelShort:"MIA Policy",linkLabelTitle:"Read our policies on the use of MIA, our artificial intelligence, and the automatic generation of content"},y={bannerDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes. Te recomendamos verificar su precisión y consultar fuentes oficiales para obtener información definitiva.",bannerTitle:"Contenido generado con MIA",cardDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",cardTitle:"Contenido generado con MIA",chipLabel:"Generado con MIA",iconTooltip:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",iconLinkLabel:"Haz clic para leer nuestras políticas sobre inteligencia artificial",linkLabel:"Política de inteligencia artificial de MIA",linkLabelShort:"Política MIA",linkLabelTitle:"Lee nuestras políticas sobre el uso de MIA, nuestra inteligencia artificial, y la generación automática de contenidos"},k={bannerDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze, ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali per informazioni definitive.",bannerTitle:"Contenuto generato con MIA",cardDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",cardTitle:"Contenuto generato con MIA",chipLabel:"Generato con MIA",iconTooltip:"Questo contenuto è stato generato automaticamente dalla nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",iconLinkLabel:"Clicca per leggere le nostre policy sulla intelligenza artificiale",linkLabel:"Policy MIA intelligenza artificiale",linkLabelShort:"Policy MIA",linkLabelTitle:"Leggi le nostre policy sull'utilizzo di MIA, la nostra intelligenza artificiale e la generazione automatica dei contenuti"};const w=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new r({el:g,en:v,es:y,it:k}),this.variant="chip",this.href="https://www.maggiolieditore.it/il-regolamento-europeo-sull-intelligenza-artificiale.html",this.handleIconClick=()=>{window.open(this.href,"_blank")}}render(){var a,e,t,r,c,o,s;return i(n,{key:"1ccdc2dcb6ab702f2a8e04fc4880ec3e43a5654a"},"icon"===this.variant&&i("mds-help",{key:"b266e724ff53551047268a2fdbc67ae6191d92da",icon:f,class:"icon-help",onClick:this.handleIconClick,part:"icon"},i("div",{key:"26cf223be1bbda7afa815fe1d2bf08a52e562770",class:"icon-tip-content"},i("mds-text",{key:"06592e711eade042b5ad9d45fcadc44102990150",typography:"tip"},null!==(a=this.headline)&&void 0!==a?a:this.t.get("iconTooltip")),i("mds-text",{key:"7b7a66a274c96256be0659e26315f59a198dbe82",typography:"tip"},null!==(e=this.description)&&void 0!==e?e:this.t.get("iconLinkLabel")))),"chip"===this.variant&&i("div",{key:"2fde8d3749975560d057b68d725deae08b53c770",class:"chip-wrapper",part:"chip-wrapper"},i("mds-chip",{key:"a12acecd67ee9581ddf0ca657c1e6465577c8013",id:"chip",icon:f,class:"chip",part:"chip",variant:"ai",label:null!==(t=this.headline)&&void 0!==t?t:this.t.get("chipLabel")}),i("mds-dropdown",{key:"f73697af232bc455d443f4a8b7685ff9fd0a94b7",target:"#chip",class:"chip-dropdown",interaction:"mouseover",role:"group"},i("mds-text",{key:"7ffa330e8b22700d0be5dde58152b587e6c53970",typography:"tip"},null!==(r=this.description)&&void 0!==r?r:this.t.get("cardDescription")),i("mds-button",{key:"5acf7ffe6f5a1579230de75f3ab18155d4b80ba8",icon:h,href:this.href,variant:"ai",tone:"weak",size:"sm",label:this.t.get("linkLabel")}))),"card"===this.variant&&i("div",{key:"cfb0a483cbaf71f5fce63fd0af8502f269d83b3d",class:"mini-card",part:"card"},i("mds-icon",{key:"56ea13a8780ce2bdd0c14688bcec0424af2e81e6",name:f,class:"mini-card-icon"}),i("div",{key:"e4b20168f2f6e4aaf8d982c9f22d39303e718fc5",class:"mini-card-content"},i("mds-text",{key:"ea6f0011968ea29299a50d5a58230e888789722d",typography:"caption"},null!==(c=this.description)&&void 0!==c?c:this.t.get("iconTooltip")),i("mds-button",{key:"fd52cad25457fd5382dcf3b2c6d74071a47f18ba",class:"mini-card-button",icon:h,href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"d74f5d3ec01167ed69ec1dc88a60ca1305324115",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"416c71642e6f420c883e589197ad6bb8499c6bc9",class:"link-label-short"},this.t.get("linkLabelShort"))))),"banner"===this.variant&&i("mds-banner",{key:"0810588c81cc164da24bb4bdef69cf4e06dcf8cc",class:"banner",variant:"ai",tone:"weak",icon:f,headline:null!==(o=this.headline)&&void 0!==o?o:this.t.get("bannerTitle"),part:"banner"},i("mds-text",{key:"525a6002422e5c0005fe92367c85450aea31cff1",typography:"caption"},null!==(s=this.description)&&void 0!==s?s:this.t.get("bannerDescription")),i("mds-button",{key:"e5d5d053a5d9542b7d148055128861d87c2e906f",icon:h,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"69f593298072fda78629c0220ed96989fa530c38",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"de2c28bf3083fd309d01322385cdb84ca5334618",class:"link-label-short"},this.t.get("linkLabelShort")))))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-banner,mds-button,mds-chip,mds-dropdown,mds-help,mds-icon,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:inline-flex}:host(:not([variant=icon])){container:mds-policy-ai/inline-size;width:100%}mds-button{justify-self:start}.banner{--mds-banner-cockade-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)))}.mini-card{background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*400)}.mini-card-icon{background-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));border-top-left-radius:var(--magma-radius-none,var(--radius-none,0));border-top-right-radius:var(--magma-radius-none,var(--radius-none,0));fill:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)));height:calc(var(--spacing,.0025rem)*600);margin-top:calc(var(--spacing,.0025rem)*-400);padding:calc(var(--spacing,.0025rem)*100);padding-top:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*600)}.link-label-short{display:none}.mini-card-content{display:grid;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%))}.mini-card-button{max-width:min-content;min-width:0;width:100%}@container mds-policy-ai (max-width:260px){.mini-card{display:grid}.mini-card-icon{border-top-left-radius:var(--magma-radius-none,var(--radius-none,0));border-top-right-radius:var(--magma-radius-none,var(--radius-none,0));margin-top:calc(var(--spacing,.0025rem)*-400);padding-top:calc(var(--spacing,.0025rem)*200)}.mini-card-button{max-width:none}.link-label-long{display:none}.link-label-short{display:inline}}.chip{cursor:help}.chip-dropdown{max-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400)}.icon-help{background-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));border:1px solid rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)));height:min-content;width:min-content}.icon-tip-content{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.icon-help::part(icon){height:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}"}},[1,"mds-policy-ai",{headline:[513],description:[513],variant:[513],href:[513]}]),M=w,x=function(){"undefined"!=typeof customElements&&["mds-policy-ai","mds-banner","mds-button","mds-chip","mds-dropdown","mds-help","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((a=>{switch(a){case"mds-policy-ai":customElements.get(t(a))||customElements.define(t(a),w);break;case"mds-banner":customElements.get(t(a))||c();break;case"mds-button":customElements.get(t(a))||o();break;case"mds-chip":customElements.get(t(a))||s();break;case"mds-dropdown":customElements.get(t(a))||l();break;case"mds-help":customElements.get(t(a))||d();break;case"mds-icon":customElements.get(t(a))||m();break;case"mds-spinner":customElements.get(t(a))||p();break;case"mds-text":customElements.get(t(a))||b();break;case"mds-tooltip":customElements.get(t(a))||u()}}))};export{M as MdsPolicyAi,x as defineCustomElement}
1
+ import{p as a,H as e,h as i,c as n,t}from"./p-TZJN-ygm.js";import{L as r}from"./p-B8x-d2fx.js";import{d as c}from"./p-C99SMdU_.js";import{d as o}from"./p-ClPv-Ljc.js";import{d as s}from"./p-nsbhb0lz.js";import{d as l}from"./p-BwJQB6rG.js";import{d}from"./p-DNeEn8Rr.js";import{d as m}from"./p-Cmn1DJAB.js";import{d as p}from"./p-ZuubAcA3.js";import{d as b}from"./p-CNF3u0Li.js";import{d as u}from"./p-D8wd-EZX.js";var h='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path fill-rule="evenodd" d="M15.318 3a3 3 0 0 1 2.56 1.436l3.666 6a3 3 0 0 1 0 3.129l-3.667 6A3 3 0 0 1 15.317 21H8.684a3 3 0 0 1-2.56-1.436l-3.667-6a3 3 0 0 1 0-3.129l3.666-6A3 3 0 0 1 8.682 3zm-.025 11.293c-.77.77-1.991 1.207-3.293 1.207-1.301 0-2.523-.437-3.293-1.207l-1.414 1.414C8.523 16.937 10.302 17.5 12 17.5c1.699 0 3.477-.563 4.707-1.793zM8 11h2V8H8zm6 0h2V8h-2z" clip-rule="evenodd"/>\n</svg>\n',g='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 1L3 5v6c0 5.55 3.84 10.74 9 12c5.16-1.26 9-6.45 9-12V5l-9-4zm7 10c0 1.85-.51 3.65-1.38 5.21l-1.45-1.45a4.994 4.994 0 0 0-.64-6.29a5.003 5.003 0 0 0-7.07 0a5.003 5.003 0 0 0 0 7.07a5.006 5.006 0 0 0 6.29.64l1.72 1.72c-1.19 1.42-2.73 2.51-4.47 3.04c-4.02-1.25-7-5.42-7-9.94V6.3l7-3.11l7 3.11V11zm-7 4c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>',f={bannerDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες. Σας συνιστούμε να επαληθεύσετε την ακρίβειά του και να συμβουλευτείτε επίσημες πηγές για οριστικές πληροφορίες.",bannerTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",cardDescription:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",cardTitle:"Περιεχόμενο που δημιουργήθηκε με την MIA",chipLabel:"Δημιουργήθηκε με MIA",iconTooltip:"Αυτό το περιεχόμενο δημιουργήθηκε αυτόματα από την τεχνητή μας νοημοσύνη MIA και ενδέχεται να περιέχει ανακρίβειες.",iconLinkLabel:"Κάντε κλικ για να διαβάσετε τις πολιτικές μας για την τεχνητή νοημοσύνη",linkLabel:"Πολιτική τεχνητής νοημοσύνης MIA",linkLabelShort:"Πολιτική MIA",linkLabelTitle:"Διαβάστε τις πολιτικές μας για τη χρήση της MIA, της τεχνητής μας νοημοσύνης, και τη δημιουργία αυτόματου περιεχομένου"},v={bannerDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies. Please verify its accuracy and consult official sources for definitive information.",bannerTitle:"Content generated with MIA",cardDescription:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",cardTitle:"Content generated with MIA",chipLabel:"Generated with MIA",iconTooltip:"This content was automatically generated by our artificial intelligence MIA and may contain inaccuracies.",iconLinkLabel:"Click to read our artificial intelligence policies",linkLabel:"MIA Artificial Intelligence Policy",linkLabelShort:"MIA Policy",linkLabelTitle:"Read our policies on the use of MIA, our artificial intelligence, and the automatic generation of content"},y={bannerDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes. Te recomendamos verificar su precisión y consultar fuentes oficiales para obtener información definitiva.",bannerTitle:"Contenido generado con MIA",cardDescription:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",cardTitle:"Contenido generado con MIA",chipLabel:"Generado con MIA",iconTooltip:"Este contenido fue generado automáticamente por nuestra inteligencia artificial MIA y puede contener inexactitudes.",iconLinkLabel:"Haz clic para leer nuestras políticas sobre inteligencia artificial",linkLabel:"Política de inteligencia artificial de MIA",linkLabelShort:"Política MIA",linkLabelTitle:"Lee nuestras políticas sobre el uso de MIA, nuestra inteligencia artificial, y la generación automática de contenidos"},k={bannerDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze, ti invitiamo a verificarne l'accuratezza e a consultare fonti ufficiali per informazioni definitive.",bannerTitle:"Contenuto generato con MIA",cardDescription:"Questo contenuto è stato generato automaticamente tramite la nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",cardTitle:"Contenuto generato con MIA",chipLabel:"Generato con MIA",iconTooltip:"Questo contenuto è stato generato automaticamente dalla nostra intelligenza artificiale MIA e potrebbe contenere inesattezze.",iconLinkLabel:"Clicca per leggere le nostre policy sulla intelligenza artificiale",linkLabel:"Policy MIA intelligenza artificiale",linkLabelShort:"Policy MIA",linkLabelTitle:"Leggi le nostre policy sull'utilizzo di MIA, la nostra intelligenza artificiale e la generazione automatica dei contenuti"};const w=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new r({el:f,en:v,es:y,it:k}),this.variant="chip",this.href="https://www.maggiolieditore.it/il-regolamento-europeo-sull-intelligenza-artificiale.html",this.handleIconClick=()=>{window.open(this.href,"_blank")}}render(){var a,e,t,r,c,o,s;return i(n,{key:"cd0b650744f98551ee0484d241aa37c8dc6beec0"},"icon"===this.variant&&i("mds-help",{key:"10506cbc944a4c4dbb1ffc96418c5b654bbc0775",icon:h,class:"icon-help",onClick:this.handleIconClick,part:"icon"},i("div",{key:"ef02f0896899a887e740a3d35c51a06a8e3b3b35",class:"icon-tip-content"},i("mds-text",{key:"67f562ad2aaab7f5acd03d47a8bcd43cb1cbe4cd",typography:"tip"},null!==(a=this.headline)&&void 0!==a?a:this.t.get("iconTooltip")),i("mds-text",{key:"0c4306505234dc3bdb585bc1e3100f1dea8be8d6",typography:"tip"},null!==(e=this.description)&&void 0!==e?e:this.t.get("iconLinkLabel")))),"chip"===this.variant&&i("div",{key:"8712ba1826b44d8e82e89c46630290764315ee5f",class:"chip-wrapper",part:"chip-wrapper"},i("mds-chip",{key:"ade5e64e69f49ddf399b64205eefbaa61c1c19a8",id:"chip",icon:h,class:"chip",part:"chip",variant:"ai",label:null!==(t=this.headline)&&void 0!==t?t:this.t.get("chipLabel")}),i("mds-dropdown",{key:"c5d66b6896cca58bcf6441512a75508c8cab7ca4",target:"#chip",class:"chip-dropdown",interaction:"mouseover",role:"group"},i("mds-text",{key:"546f687a50a9ed82f39cd02f06021078788e16d5",typography:"tip"},null!==(r=this.description)&&void 0!==r?r:this.t.get("cardDescription")),i("mds-button",{key:"be9692605134f875875977081466fb4351e0186c",icon:g,href:this.href,variant:"ai",tone:"weak",size:"sm",label:this.t.get("linkLabel")}))),"card"===this.variant&&i("div",{key:"3615c363fefaa00cc673d0508c3118a3b769cb73",class:"mini-card",part:"card"},i("mds-icon",{key:"20da9206b0e7775201121c737a6e6513c516a3b6",name:h,class:"mini-card-icon"}),i("div",{key:"18d2c2c195fd182a2eb2b061933e6eb73f5941df",class:"mini-card-content"},i("mds-text",{key:"83b0ef95ec83f831f1f5e149bd6f972cd0b61d7f",typography:"caption"},null!==(c=this.description)&&void 0!==c?c:this.t.get("iconTooltip")),i("mds-button",{key:"19524d6816f3292eaaf83588b2faf1fd54edd7b0",class:"mini-card-button",icon:g,href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"ee9ba61552b3e61b099be02d7453612befd0d734",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"3b94bfa7a41e559c5cee95e21ced24e2e69d1b68",class:"link-label-short"},this.t.get("linkLabelShort"))))),"banner"===this.variant&&i("mds-banner",{key:"edb62b8eb833be66aa35e60b00f9f88bea9f39fd",class:"banner",variant:"ai",tone:"weak",icon:h,headline:null!==(o=this.headline)&&void 0!==o?o:this.t.get("bannerTitle"),part:"banner"},i("mds-text",{key:"497153835184fc4ab0fec639b8a52e2309e156e6",typography:"caption"},null!==(s=this.description)&&void 0!==s?s:this.t.get("bannerDescription")),i("mds-button",{key:"5ac2628e679ef055af1c3a97e8920c04a3e3a24b",icon:g,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"0aab8e80c26c3881d86c410d6a88977824aed091",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"abe8787d42a4ca7704f552de7c9390db27ac8e1f",class:"link-label-short"},this.t.get("linkLabelShort")))))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-banner,mds-button,mds-chip,mds-dropdown,mds-help,mds-icon,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:inline-flex}:host(:not([variant=icon])){container:mds-policy-ai/inline-size;width:100%}mds-button{justify-self:start}.banner{--mds-banner-cockade-background:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)))}.mini-card{background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));box-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*400)}.mini-card-icon{background-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));border-top-left-radius:var(--magma-radius-none,var(--radius-none,0));border-top-right-radius:var(--magma-radius-none,var(--radius-none,0));fill:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)));height:calc(var(--spacing,.0025rem)*600);margin-top:calc(var(--spacing,.0025rem)*-400);padding:calc(var(--spacing,.0025rem)*100);padding-top:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*600)}.link-label-short{display:none}.mini-card-content{display:grid;gap:calc(var(--spacing,.0025rem)*300);grid-template-columns:repeat(1,minmax(1px,100%))}.mini-card-button{max-width:min-content;min-width:0;width:100%}@container mds-policy-ai (max-width:260px){.mini-card{display:grid}.mini-card-icon{border-top-left-radius:var(--magma-radius-none,var(--radius-none,0));border-top-right-radius:var(--magma-radius-none,var(--radius-none,0));margin-top:calc(var(--spacing,.0025rem)*-400);padding-top:calc(var(--spacing,.0025rem)*200)}.mini-card-button{max-width:none}.link-label-long{display:none}.link-label-short{display:inline}}.chip{cursor:help}.chip-dropdown{max-width:calc(var(--spacing,.0025rem)*7200);padding:calc(var(--spacing,.0025rem)*300) calc(var(--spacing,.0025rem)*400)}.icon-help{background-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));border:1px solid rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)));height:min-content;width:min-content}.icon-tip-content{display:grid;gap:calc(var(--spacing,.0025rem)*200)}.icon-help::part(icon){height:calc(var(--spacing,.0025rem)*600);padding:calc(var(--spacing,.0025rem)*100);width:calc(var(--spacing,.0025rem)*600)}"}},[1,"mds-policy-ai",{headline:[513],description:[513],variant:[513],href:[513]}]),A=w,x=function(){"undefined"!=typeof customElements&&["mds-policy-ai","mds-banner","mds-button","mds-chip","mds-dropdown","mds-help","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((a=>{switch(a){case"mds-policy-ai":customElements.get(t(a))||customElements.define(t(a),w);break;case"mds-banner":customElements.get(t(a))||c();break;case"mds-button":customElements.get(t(a))||o();break;case"mds-chip":customElements.get(t(a))||s();break;case"mds-dropdown":customElements.get(t(a))||l();break;case"mds-help":customElements.get(t(a))||d();break;case"mds-icon":customElements.get(t(a))||m();break;case"mds-spinner":customElements.get(t(a))||p();break;case"mds-text":customElements.get(t(a))||b();break;case"mds-tooltip":customElements.get(t(a))||u()}}))};export{A as MdsPolicyAi,x as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,d as s,h as i,c as a,t as n}from"./p-B2p5a1Y8.js";import{m as o}from"./p-lZldSMeV.js";import{m}from"./p-XQgkfNpn.js";import{L as r}from"./p-B9dgiq4u.js";import{p as d}from"./p-BlnEiKN4.js";import{d as l}from"./p-BUr3NqxM.js";import{d as c}from"./p-cIZniMh0.js";import{d as h}from"./p-B6B6q5kP.js";import{d as f}from"./p-wHQGpA62.js";import{d as b}from"./p-NlPseOAv.js";import{d as p}from"./p-DezdwzYQ.js";var u={animationDisabled:"Απενεργοποιημένο",animationEnabled:"Ενεργοποιημένο",label:"Κινηματογραφήσεις",systemSettings:"Ρυθμίσεις συστήματος"},y={animationDisabled:"Disabled",animationEnabled:"Enabled",label:"Animations",systemSettings:"System settings"},g={animationDisabled:"Deshabilitadas",animationEnabled:"Habilitadas",label:"Animaciones",systemSettings:"Sistema operativo"},v={animationDisabled:"Disabilitate",animationEnabled:"Abilitate",label:"Animazioni",systemSettings:"Sistema operativo"};const k=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefAnimation",this.customPropertyAlias="--magma-pref-animation",this.defaultMode="system",this.syncingFromStore=!1,this.t=new r({el:u,en:y,es:g,it:v}),this.animation={reduce:{selector:"pref-animation-reduce",label:"animationDisabled"},system:{selector:"pref-animation-system",label:"systemSettings"},"no-preference":{selector:"pref-animation-no-preference",label:"animationEnabled"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.animation,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-animation: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.animation).join(", ")}`)},this.syncAnimation=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setAnimation=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const t=document.querySelector("html");for(const e in this.animation)({}).hasOwnProperty.call(this.animation,e)&&(null==t||t.classList.remove(this.animation[e].selector));null==t||t.classList.add(this.animation[this.mode].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}d.state.animation=t,e||this.prefChangeEvent.emit({preference:"animation"})},this.handleModeClick=t=>()=>{this.setAnimation(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setAnimation(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=d.onChange("animation",this.syncAnimation)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t){if(!this.syncingFromStore)return this.isMode(t)?void this.setAnimation(t):(null!=t&&this.warnInvalidMode(t),void this.syncAnimation(d.state.animation))}render(){var t;return i(a,{key:"276d5f317595e88054db0a9ec69fa1095cbbef91","pref-contrast":d.state.contrast},i("mds-text",{key:"cb56097bc048b24883184aefe88a49fb712a373c",class:"info",typography:"caption"},i("b",{key:"35b7f4c98ed90859fe5e31835949a73ab5382419"},this.t.get("label"))," ",this.t.get(this.animation[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"b107564f88693d770e13159cec20e2542bfd6ebf",fill:!0,size:this.size},i("mds-tab-item",{key:"1885f9d746e40500be35c1ce061d92ce2b84f808",selected:"reduce"===this.mode,onClick:this.handleModeClick("reduce"),class:"item item--reduce",icon:o,title:this.t.get(this.animation.reduce.label)}),i("mds-tab-item",{key:"d45fe7770fdbe0d8bdd3c0a05f18e885c03dbe74",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:m,title:this.t.get(this.animation.system.label)}),i("mds-tab-item",{key:"70c2ad0603eb95517ef509897f70277a5e41dd94",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--no-preference",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2c-2.71 0-5.05 1.54-6.22 3.78a7.062 7.062 0 0 0-3 3A7.014 7.014 0 0 0 2 15c0 3.87 3.13 7 7 7c2.71 0 5.05-1.54 6.22-3.78a7.062 7.062 0 0 0 3-3A7.014 7.014 0 0 0 22 9c0-3.87-3.13-7-7-7zM9 20a5.002 5.002 0 0 1-4-8c0 3.87 3.13 7 7 7c-.84.63-1.88 1-3 1zm3-3a5.002 5.002 0 0 1-4-8c0 3.86 3.13 6.99 7 7c-.84.63-1.88 1-3 1zm4.7-3.3c-.53.19-1.1.3-1.7.3c-2.76 0-5-2.24-5-5c0-.6.11-1.17.3-1.7c.53-.19 1.1-.3 1.7-.3c2.76 0 5 2.24 5 5c0 .6-.11 1.17-.3 1.7zM19 12c0-3.86-3.13-6.99-7-7a5.002 5.002 0 0 1 7 7z"/></svg>',title:this.t.get(this.animation["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}: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--disabled,.item--enabled,.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-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"}},[1,"mds-pref-animation",{size:[513],mode:[1537]},void 0,{mode:[{modeChanged:0}]}]),x=k,E=function(){"undefined"!=typeof customElements&&["mds-pref-animation","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-animation":customElements.get(n(t))||customElements.define(n(t),k);break;case"mds-button":customElements.get(n(t))||l();break;case"mds-icon":customElements.get(n(t))||c();break;case"mds-spinner":customElements.get(n(t))||h();break;case"mds-tab":customElements.get(n(t))||f();break;case"mds-tab-item":customElements.get(n(t))||b();break;case"mds-text":customElements.get(n(t))||p()}}))};export{x as MdsPrefAnimation,E as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as i,c as a,t as n}from"./p-TZJN-ygm.js";import{m as o}from"./p-lZldSMeV.js";import{m}from"./p-XQgkfNpn.js";import{L as r}from"./p-B8x-d2fx.js";import{p as d}from"./p-CVRN4LDc.js";import{d as c}from"./p-ClPv-Ljc.js";import{d as l}from"./p-Cmn1DJAB.js";import{d as h}from"./p-ZuubAcA3.js";import{d as f}from"./p-B0AnE3sA.js";import{d as b}from"./p-BbK4qeM7.js";import{d as p}from"./p-CNF3u0Li.js";var u={animationDisabled:"Απενεργοποιημένο",animationEnabled:"Ενεργοποιημένο",label:"Κινηματογραφήσεις",systemSettings:"Ρυθμίσεις συστήματος"},y={animationDisabled:"Disabled",animationEnabled:"Enabled",label:"Animations",systemSettings:"System settings"},g={animationDisabled:"Deshabilitadas",animationEnabled:"Habilitadas",label:"Animaciones",systemSettings:"Sistema operativo"},v={animationDisabled:"Disabilitate",animationEnabled:"Abilitate",label:"Animazioni",systemSettings:"Sistema operativo"};const x=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=s(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefAnimation",this.customPropertyAlias="--magma-pref-animation",this.defaultMode="system",this.syncingFromStore=!1,this.t=new r({el:u,en:y,es:g,it:v}),this.animation={reduce:{selector:"pref-animation-reduce",label:"animationDisabled"},system:{selector:"pref-animation-system",label:"systemSettings"},"no-preference":{selector:"pref-animation-no-preference",label:"animationEnabled"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.animation,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-animation: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.animation).join(", ")}`)},this.syncAnimation=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setAnimation=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const t=document.querySelector("html");for(const e in this.animation)({}).hasOwnProperty.call(this.animation,e)&&(null==t||t.classList.remove(this.animation[e].selector));null==t||t.classList.add(this.animation[this.mode].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}d.state.animation=t,e||this.prefChangeEvent.emit({preference:"animation"})},this.handleModeClick=t=>()=>{this.setAnimation(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setAnimation(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=d.onChange("animation",this.syncAnimation)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t){if(!this.syncingFromStore)return this.isMode(t)?void this.setAnimation(t):(null!=t&&this.warnInvalidMode(t),void this.syncAnimation(d.state.animation))}render(){var t;return i(a,{key:"6717c68ac4b9e4cd1c7f12198323f6081c25c129","pref-contrast":d.state.contrast},i("mds-text",{key:"23e23dab2dcbfdde04b9aa8fb6be50dcc5866e89",class:"info",typography:"caption"},i("b",{key:"092e77db78d6dc2e063778ee11c5aeffffad888b"},this.t.get("label"))," ",this.t.get(this.animation[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"0e0edf58d5eaca903b56055541d8620167ddaa0e",fill:!0,size:this.size},i("mds-tab-item",{key:"a36ada0fbd8dbd722298e5f82160b0699ede2574",selected:"reduce"===this.mode,onClick:this.handleModeClick("reduce"),class:"item item--reduce",icon:o,title:this.t.get(this.animation.reduce.label)}),i("mds-tab-item",{key:"955d3cee5b7c2ecf601d637d5508ee91f9f652a7",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:m,title:this.t.get(this.animation.system.label)}),i("mds-tab-item",{key:"31160b89fc2e79ae25fd80ebf8d88f9ab4fdc162",selected:"no-preference"===this.mode,onClick:this.handleModeClick("no-preference"),class:"item item--no-preference",icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 2c-2.71 0-5.05 1.54-6.22 3.78a7.062 7.062 0 0 0-3 3A7.014 7.014 0 0 0 2 15c0 3.87 3.13 7 7 7c2.71 0 5.05-1.54 6.22-3.78a7.062 7.062 0 0 0 3-3A7.014 7.014 0 0 0 22 9c0-3.87-3.13-7-7-7zM9 20a5.002 5.002 0 0 1-4-8c0 3.87 3.13 7 7 7c-.84.63-1.88 1-3 1zm3-3a5.002 5.002 0 0 1-4-8c0 3.86 3.13 6.99 7 7c-.84.63-1.88 1-3 1zm4.7-3.3c-.53.19-1.1.3-1.7.3c-2.76 0-5-2.24-5-5c0-.6.11-1.17.3-1.7c.53-.19 1.1-.3 1.7-.3c2.76 0 5 2.24 5 5c0 .6-.11 1.17-.3 1.7zM19 12c0-3.86-3.13-6.99-7-7a5.002 5.002 0 0 1 7 7z"/></svg>',title:this.t.get(this.animation["no-preference"].label)})))}static get watchers(){return{mode:[{modeChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}: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--disabled,.item--enabled,.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-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}"}},[1,"mds-pref-animation",{size:[513],mode:[1537]},void 0,{mode:[{modeChanged:0}]}]),k=x,E=function(){"undefined"!=typeof customElements&&["mds-pref-animation","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-animation":customElements.get(n(t))||customElements.define(n(t),x);break;case"mds-button":customElements.get(n(t))||c();break;case"mds-icon":customElements.get(n(t))||l();break;case"mds-spinner":customElements.get(n(t))||h();break;case"mds-tab":customElements.get(n(t))||f();break;case"mds-tab-item":customElements.get(n(t))||b();break;case"mds-text":customElements.get(n(t))||p()}}))};export{k as MdsPrefAnimation,E as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,d as e,h as i,c as o,t as a}from"./p-B2p5a1Y8.js";import{L as m}from"./p-B9dgiq4u.js";import{p as n}from"./p-BlnEiKN4.js";import{d as r}from"./p-BUr3NqxM.js";import{d}from"./p-cIZniMh0.js";import{d as c}from"./p-B6B6q5kP.js";import{d as l}from"./p-wHQGpA62.js";import{d as h}from"./p-NlPseOAv.js";import{d as u}from"./p-DezdwzYQ.js";var f={consumptionHigh:"Υψηλή",consumptionLow:"Χαμηλή",consumptionMedium:"Μεσαία",label:"Κατανάλωση"},p={consumptionHigh:"High",consumptionLow:"Low",consumptionMedium:"Medium",label:"Consumption"},g={consumptionHigh:"Alto",consumptionLow:"Bajo",consumptionMedium:"Medio",label:"Consumo"},b={consumptionHigh:"Alto",consumptionLow:"Basso",consumptionMedium:"Medio",label:"Consumo"};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefConsumption",this.customPropertyAlias="--magma-pref-consumption",this.defaultMode="high",this.syncingFromStore=!1,this.t=new m({el:f,en:p,es:g,it:b}),this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.consumption,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-consumption: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.consumption).join(", ")}`)},this.syncConsumption=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setConsumption=t=>{if(t===this.appliedMode)return void(this.mode=t);const s=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const t=document.querySelector("html");for(const s in this.consumption)({}).hasOwnProperty.call(this.consumption,s)&&(null==t||t.classList.remove(this.consumption[s].selector));null==t||t.classList.add(this.consumption[this.mode].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}n.state.consumption=t,s||this.prefChangeEvent.emit({preference:"consumption"})},this.handleModeClick=t=>()=>{this.setConsumption(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const s=localStorage.getItem(this.localStorageAlias);null===s||this.isMode(s)||localStorage.removeItem(this.localStorageAlias),this.setConsumption(null!==(t=[this.mode,s].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=n.onChange("consumption",this.syncConsumption)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t){if(!this.syncingFromStore)return this.isMode(t)?void this.setConsumption(t):(null!=t&&this.warnInvalidMode(t),void this.syncConsumption(n.state.consumption))}render(){var t;return i(o,{key:"8cefd0a0898e2865f7c3262cdf1b7d4cff70ca48","pref-contrast":n.state.contrast},i("mds-text",{key:"d87939dcf15a0f3e4f217c97fafb6dc6564cee5b",class:"info",typography:"caption"},i("b",{key:"205fe30173dec1c6a63b4dd2bf008d7edcea2900"},this.t.get("label"))," ",this.t.get(this.consumption[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"6e87fd04f67fb8ca65a41469d8690cb7d6225fcd",fill:!0,size:this.size},i("mds-tab-item",{key:"cec3f2a522431fe305489abb616afa87e52f8540",selected:"low"===this.mode,onClick:this.handleModeClick("low"),class:"item item--low",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n',title:this.t.get(this.consumption.low.label)}),i("mds-tab-item",{key:"c92c93637404a8391c1e7b76b93e35dfaf420612",selected:"medium"===this.mode,onClick:this.handleModeClick("medium"),class:"item item--medium",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n',title:this.t.get(this.consumption.medium.label)}),i("mds-tab-item",{key:"6ffb2cc2f73ddd53e010376549e75f9e01f517a7",selected:"high"===this.mode,onClick:this.handleModeClick("high"),class:"item item--high",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n',title:this.t.get(this.consumption.high.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--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"}},[1,"mds-pref-consumption",{size:[513],mode:[1537]},void 0,{mode:[{modeChanged:0}]}]),w=v,x=function(){"undefined"!=typeof customElements&&["mds-pref-consumption","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-consumption":customElements.get(a(t))||customElements.define(a(t),v);break;case"mds-button":customElements.get(a(t))||r();break;case"mds-icon":customElements.get(a(t))||d();break;case"mds-spinner":customElements.get(a(t))||c();break;case"mds-tab":customElements.get(a(t))||l();break;case"mds-tab-item":customElements.get(a(t))||h();break;case"mds-text":customElements.get(a(t))||u()}}))};export{w as MdsPrefConsumption,x as defineCustomElement}
1
+ import{p as t,H as s,d as e,h as i,c as o,t as a}from"./p-TZJN-ygm.js";import{L as m}from"./p-B8x-d2fx.js";import{p as n}from"./p-CVRN4LDc.js";import{d as r}from"./p-ClPv-Ljc.js";import{d}from"./p-Cmn1DJAB.js";import{d as c}from"./p-ZuubAcA3.js";import{d as l}from"./p-B0AnE3sA.js";import{d as h}from"./p-BbK4qeM7.js";import{d as u}from"./p-CNF3u0Li.js";var p={consumptionHigh:"Υψηλή",consumptionLow:"Χαμηλή",consumptionMedium:"Μεσαία",label:"Κατανάλωση"},f={consumptionHigh:"High",consumptionLow:"Low",consumptionMedium:"Medium",label:"Consumption"},b={consumptionHigh:"Alto",consumptionLow:"Bajo",consumptionMedium:"Medio",label:"Consumo"},g={consumptionHigh:"Alto",consumptionLow:"Basso",consumptionMedium:"Medio",label:"Consumo"};const v=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.prefChangeEvent=e(this,"mdsPrefChange",7),this.localStorageAlias="mdsPrefConsumption",this.customPropertyAlias="--magma-pref-consumption",this.defaultMode="high",this.syncingFromStore=!1,this.t=new m({el:p,en:f,es:b,it:g}),this.consumption={high:{selector:"pref-consumption-high",label:"consumptionHigh"},medium:{selector:"pref-consumption-medium",label:"consumptionMedium"},low:{selector:"pref-consumption-low",label:"consumptionLow"}},this.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.consumption,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-consumption: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.consumption).join(", ")}`)},this.syncConsumption=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setConsumption=t=>{if(t===this.appliedMode)return void(this.mode=t);const s=void 0===this.appliedMode;if(this.appliedMode=t,this.mode=t,localStorage.setItem(this.localStorageAlias,this.mode),"undefined"!=typeof document){const t=document.querySelector("html");for(const s in this.consumption)({}).hasOwnProperty.call(this.consumption,s)&&(null==t||t.classList.remove(this.consumption[s].selector));null==t||t.classList.add(this.consumption[this.mode].selector),null==t||t.style.setProperty(this.customPropertyAlias,this.mode)}n.state.consumption=t,s||this.prefChangeEvent.emit({preference:"consumption"})},this.handleModeClick=t=>()=>{this.setConsumption(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const s=localStorage.getItem(this.localStorageAlias);null===s||this.isMode(s)||localStorage.removeItem(this.localStorageAlias),this.setConsumption(null!==(t=[this.mode,s].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=n.onChange("consumption",this.syncConsumption)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t){if(!this.syncingFromStore)return this.isMode(t)?void this.setConsumption(t):(null!=t&&this.warnInvalidMode(t),void this.syncConsumption(n.state.consumption))}render(){var t;return i(o,{key:"777d84c1ea70c2df44e612c9033fd0b0e2ce2d30","pref-contrast":n.state.contrast},i("mds-text",{key:"8298e8e63c21a10b83884a38d245b3d9b70f96c7",class:"info",typography:"caption"},i("b",{key:"e5ff08e164555675f8ae0c725299db9820d3e705"},this.t.get("label"))," ",this.t.get(this.consumption[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"dd6938db0bb68ab284fbe97cafd1b1a609294f93",fill:!0,size:this.size},i("mds-tab-item",{key:"2233c7c429eb2860653965b9a90451343d1b0fe9",selected:"low"===this.mode,onClick:this.handleModeClick("low"),class:"item item--low",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.314 12.492c-.943-.837-4.99-3.526-8.385-5.563 2.037 3.395 4.726 7.442 5.563 8.384q.045.052.094.101a2 2 0 1 0 2.728-2.922"/>\n <path d="M2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-5.523-4.477-10-10-10a9.95 9.95 0 0 0-5.416 1.592c.64.39 1.292.795 1.937 1.202A8 8 0 0 1 18.93 18H5.07A7.96 7.96 0 0 1 4 14c0-1.247.285-2.427.794-3.48-.407-.644-.812-1.297-1.202-1.936A9.95 9.95 0 0 0 2 14"/>\n</svg>\n',title:this.t.get(this.consumption.low.label)}),i("mds-tab-item",{key:"6cd992bd9430c4eda19e5773196d4ce18146b379",selected:"medium"===this.mode,onClick:this.handleModeClick("medium"),class:"item item--medium",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M9.885 4.224C5.378 5.194 2 9.203 2 14c0 1.893.526 3.663 1.44 5.173.326.538.93.827 1.558.827h14.004c.629 0 1.232-.29 1.558-.827A9.95 9.95 0 0 0 22 14c0-4.797-3.378-8.805-7.885-9.776.177.728.352 1.476.52 2.22A8.003 8.003 0 0 1 18.93 18H5.07A8.003 8.003 0 0 1 9.365 6.444a137 137 0 0 1 .52-2.22"/>\n <path d="M13.995 13.862C13.921 12.605 12.96 7.842 12 4c-.96 3.841-1.92 8.605-1.995 9.862a2 2 0 1 0 3.99 0"/>\n</svg>\n',title:this.t.get(this.consumption.medium.label)}),i("mds-tab-item",{key:"fe328a1ec3387dac74bd831c550294920ebb0781",selected:"high"===this.mode,onClick:this.handleModeClick("high"),class:"item item--high",icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M13.508 15.314c.837-.943 3.526-4.99 5.563-8.385-3.395 2.037-7.443 4.726-8.385 5.563q-.051.045-.1.094a2 2 0 1 0 2.922 2.728"/>\n <path d="M3.44 19.173A9.95 9.95 0 0 1 2 14C2 8.477 6.477 4 12 4c1.996 0 3.855.585 5.416 1.592-.64.39-1.292.795-1.937 1.202A8 8 0 0 0 5.07 18h13.86A7.96 7.96 0 0 0 20 14a8 8 0 0 0-.794-3.48c.407-.644.813-1.297 1.202-1.936A9.95 9.95 0 0 1 22 14a9.95 9.95 0 0 1-1.44 5.173c-.326.538-.93.827-1.558.827H4.998c-.629 0-1.232-.29-1.558-.827"/>\n</svg>\n',title:this.t.get(this.consumption.high.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--high{--mds-tab-item-selected-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)))}.item--medium{--mds-tab-item-selected-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}.item--low{--mds-tab-item-selected-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([pref-contrast=more]) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-tab-item-default-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--high{--mds-tab-item-default-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--medium{--mds-tab-item-default-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item--low{--mds-tab-item-default-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}}"}},[1,"mds-pref-consumption",{size:[513],mode:[1537]},void 0,{mode:[{modeChanged:0}]}]),w=v,x=function(){"undefined"!=typeof customElements&&["mds-pref-consumption","mds-button","mds-icon","mds-spinner","mds-tab","mds-tab-item","mds-text"].forEach((t=>{switch(t){case"mds-pref-consumption":customElements.get(a(t))||customElements.define(a(t),v);break;case"mds-button":customElements.get(a(t))||r();break;case"mds-icon":customElements.get(a(t))||d();break;case"mds-spinner":customElements.get(a(t))||c();break;case"mds-tab":customElements.get(a(t))||l();break;case"mds-tab-item":customElements.get(a(t))||h();break;case"mds-text":customElements.get(a(t))||u()}}))};export{w as MdsPrefConsumption,x 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-B2p5a1Y8.js";import{m as r}from"./p-XQgkfNpn.js";import{L as m}from"./p-B9dgiq4u.js";import{p as l}from"./p-BlnEiKN4.js";import{d as n}from"./p-BUr3NqxM.js";import{d}from"./p-cIZniMh0.js";import{d as c}from"./p-B6B6q5kP.js";import{d as h}from"./p-wHQGpA62.js";import{d as f}from"./p-NlPseOAv.js";import{d as b}from"./p-DezdwzYQ.js";var p={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:p,en:u,es:g,it:v}),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.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.contrast,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-contrast: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.contrast).join(", ")}`)},this.syncContrast=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setContrast=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,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)}l.state.contrast=t,e||this.prefChangeEvent.emit({preference:"contrast"})},this.handleModeClick=t=>()=>{this.setContrast(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setContrast(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=l.onChange("contrast",this.syncContrast)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t,e){if(t!==e&&!this.syncingFromStore)return this.isMode(t)?void this.setContrast(t):(null!=t&&this.warnInvalidMode(t),void this.syncContrast(l.state.contrast))}render(){var t;return i(a,{key:"d4ad6082a705d8fa265be7c30040b81170efbfa4","pref-contrast":l.state.contrast},i("mds-text",{key:"6037b766860e0f93c7e2289d21cbbb669b28293d",class:"info",typography:"caption"},i("b",{key:"dd2e6b16ff58c451fc3fdccda29c0a54773ecce6"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"69f4fa8346254e2f75b3bf25db1fb4f31b4764c3",fill:!0,size:this.size},i("mds-tab-item",{key:"f982afc65f6e8132b4b40503d449acf5a00211b4",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:"5af099ed436409828c3b1351e82e782f5fe84c8e",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:r,title:this.t.get(this.contrast.system.label)}),i("mds-tab-item",{key:"ccea16fc8543aba4a72382bb36b2b614af0f138e",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=y,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(o(t))||customElements.define(o(t),y);break;case"mds-button":customElements.get(o(t))||n();break;case"mds-icon":customElements.get(o(t))||d();break;case"mds-spinner":customElements.get(o(t))||c();break;case"mds-tab":customElements.get(o(t))||h();break;case"mds-tab-item":customElements.get(o(t))||f();break;case"mds-text":customElements.get(o(t))||b()}}))};export{L as MdsPrefContrast,w as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as i,c as a,t as o}from"./p-TZJN-ygm.js";import{m as r}from"./p-XQgkfNpn.js";import{L as m}from"./p-B8x-d2fx.js";import{p as l}from"./p-CVRN4LDc.js";import{d as n}from"./p-ClPv-Ljc.js";import{d}from"./p-Cmn1DJAB.js";import{d as c}from"./p-ZuubAcA3.js";import{d as h}from"./p-B0AnE3sA.js";import{d as f}from"./p-BbK4qeM7.js";import{d as p}from"./p-CNF3u0Li.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.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.isMode=t=>null!=t&&{}.hasOwnProperty.call(this.contrast,t),this.warnInvalidMode=t=>{console.warn(`mds-pref-contrast: ignoring the invalid mode "${t}", use one of: ${Object.keys(this.contrast).join(", ")}`)},this.syncContrast=t=>{void 0!==t&&t!==this.mode&&(this.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setContrast=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,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)}l.state.contrast=t,e||this.prefChangeEvent.emit({preference:"contrast"})},this.handleModeClick=t=>()=>{this.setContrast(t)}}componentWillLoad(){var t;null==this.mode||this.isMode(this.mode)||this.warnInvalidMode(this.mode);const e=localStorage.getItem(this.localStorageAlias);null===e||this.isMode(e)||localStorage.removeItem(this.localStorageAlias),this.setContrast(null!==(t=[this.mode,e].find(this.isMode))&&void 0!==t?t:this.defaultMode)}connectedCallback(){this.unsubscribeStore=l.onChange("contrast",this.syncContrast)}disconnectedCallback(){var t;null===(t=this.unsubscribeStore)||void 0===t||t.call(this)}modeChanged(t,e){if(t!==e&&!this.syncingFromStore)return this.isMode(t)?void this.setContrast(t):(null!=t&&this.warnInvalidMode(t),void this.syncContrast(l.state.contrast))}render(){var t;return i(a,{key:"e8e9fab3c5c55cffada5b32a852bb09932f3e55d","pref-contrast":l.state.contrast},i("mds-text",{key:"6a51de9d5a8fb9e626b303e8446b8d323ae205ac",class:"info",typography:"caption"},i("b",{key:"657eafe63ad055867d4cda430247cf17f13fadf9"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"1a29789a16dff8a2f01e1320235623947f1d69db",fill:!0,size:this.size},i("mds-tab-item",{key:"64797429e9b2fddb0154c7a1bc26c492e23a46ee",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:"862873757e5ccbc8c08577173e67402bf036356d",selected:"system"===this.mode,onClick:this.handleModeClick("system"),class:"item item--system",icon:r,title:this.t.get(this.contrast.system.label)}),i("mds-tab-item",{key:"3ad11533cb04847d96a4938991f2adb8d700444f",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=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(o(t))||customElements.define(o(t),y);break;case"mds-button":customElements.get(o(t))||n();break;case"mds-icon":customElements.get(o(t))||d();break;case"mds-spinner":customElements.get(o(t))||c();break;case"mds-tab":customElements.get(o(t))||h();break;case"mds-tab-item":customElements.get(o(t))||f();break;case"mds-text":customElements.get(o(t))||p()}}))};export{L as MdsPrefContrast,x 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-B2p5a1Y8.js";import{L as n}from"./p-B9dgiq4u.js";import{m as r}from"./p-BFhO-KUe.js";import{m as d}from"./p-lZldSMeV.js";import{d as m}from"./p-BUr3NqxM.js";import{d as l}from"./p-cIZniMh0.js";import{d as h}from"./p-B6B6q5kP.js";import{d as u}from"./p-DezdwzYQ.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"},g={noCode:"Nessun code impostato"},p={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:p,it:g}),this.selected=!1,this.validateCode=e=>{null!=e&&""!==e&&void 0===c[e]&&console.warn(`mds-pref-language-item: no language name for the code "${e}"`)},this.handleClick=()=>{this.selectLanguageEvent.emit({language:this.code})}}componentWillLoad(){this.validateCode(this.code)}handleCodeChange(e){this.validateCode(e)}render(){var e,s;return t(o,{key:"8cd1db27f65ac1b3e66c43135ff9de75628cb898",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:null!==(s=c[this.code])&&void 0!==s?s: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-TZJN-ygm.js";import{L as n}from"./p-B8x-d2fx.js";import{m as r}from"./p-BFhO-KUe.js";import{m as d}from"./p-lZldSMeV.js";import{d as m}from"./p-ClPv-Ljc.js";import{d as l}from"./p-Cmn1DJAB.js";import{d as h}from"./p-ZuubAcA3.js";import{d as u}from"./p-CNF3u0Li.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"},g={noCode:"Nessun code impostato"},p={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:p,it:g}),this.selected=!1,this.validateCode=e=>{null!=e&&""!==e&&void 0===c[e]&&console.warn(`mds-pref-language-item: no language name for the code "${e}"`)},this.handleClick=()=>{this.selectLanguageEvent.emit({language:this.code})}}componentWillLoad(){this.validateCode(this.code)}handleCodeChange(e){this.validateCode(e)}render(){var e,s;return t(o,{key:"1c2d0ed10565c4a50fb187d5cedf0d6e33924a8b",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:null!==(s=c[this.code])&&void 0!==s?s: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 +1 @@
1
- import{p as a,H as e,d as s,h as i,c as n,t}from"./p-B2p5a1Y8.js";import{L as o}from"./p-B9dgiq4u.js";import{p as l}from"./p-BlnEiKN4.js";import{m as r}from"./p-DiWN48aq.js";import{m as d}from"./p-Ccz0jCNB.js";import{d as m}from"./p-BUr3NqxM.js";import{d as u}from"./p-DGGk8PS_.js";import{d as h}from"./p-cIZniMh0.js";import{d as c}from"./p-B6B6q5kP.js";import{d as g}from"./p-wHQGpA62.js";import{d as b}from"./p-NlPseOAv.js";import{d as p}from"./p-DezdwzYQ.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-z]{2,3}(-[A-Za-z0-9]{1,8})*$/,z=a=>null!=a&&S.test(a),w=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 o({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.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s,i,n,t;if("auto"!==a&&!z(a)&&(null!=a&&console.warn(`mds-pref-language: ignoring the invalid language code "${a}"`),void 0!==this.appliedLanguage))return void(this.set=this.appliedLanguage);const o=z(a)?a:"auto",r=this.sanitizeLanguage(null!==(e=navigator.language)&&void 0!==e?e:"en"),d=localStorage.getItem(this.localStorageAlias);null===d||z(d)||localStorage.removeItem(this.localStorageAlias);const m=null!==(i=null===(s=document.querySelector("html"))||void 0===s?void 0:s.getAttribute("lang"))&&void 0!==i?i:null,u="auto"===o?null!==(n=[d,m].find(z))&&void 0!==n?n:r:this.sanitizeLanguage(o);if(this.set=u,u===this.appliedLanguage)return;const h=void 0===this.appliedLanguage;this.appliedLanguage=u,localStorage.setItem(this.localStorageAlias,u),"undefined"!=typeof document&&(null===(t=document.querySelector("html"))||void 0===t||t.setAttribute("lang",u)),l.state.language=u,h||this.prefChangeEvent.emit({preference:"language"})}}componentWillLoad(){this.setLanguage(this.set)}componentDidLoad(){this.checkLanguageSelect()}handleSetChange(a){var e;this.setLanguage(a),null===(e=this.elPreferLanguageItems)||void 0===e||e.forEach((a=>{a.selected=a.code===this.set}))}handleItemSelect(a){this.changeLanguageSelectItem(),this.currentSelectedItem=a.target,this.currentSelectedItem.selected=!0,this.languageChangeEvent.emit({language:this.currentSelectedItem.code}),this.showDropdown=!1,this.setLanguage(a.detail.language)}render(){var a;return i(n,{key:"75783c164d28a49147705263cc4ba5786caa887b"},i("div",{key:"d2f6ac30e51f0c7c120ff9dba5a04b2a802d5cf1",class:"menu"},i("mds-text",{key:"89369b36ce7920bebc0c6e0e72a8637c559fb817",class:"info",typography:"caption"},i("b",{key:"6f6fcc375a4fe68a97bdd5f0c2ffdbd15e5266d6"},this.t.get("label"))),i("mds-tab",{key:"8cb1b2afa124bf426bbd3298b1c434fe18a8aee0",fill:!0,size:this.size},i("mds-tab-item",{key:"96b0de3f6a68511e45f2fb650d8be11be739a820",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:r,label:this.t.get(null!==(a=this.set)&&void 0!==a?a:"auto")}))),i("mds-dropdown",{key:"3d59d19f0c5487c9bb76c5cb54843127e9506234",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},i("slot",{key:"96dc9d4379426589a42df4f7adaac4c69ce68b04",onSlotchange:this.checkLanguageSelect})),this.set!==this.defaultLanguage&&i("mds-text",{key:"3b735f3e02bc9ac41bf4b9d30583d735a4c0bc76",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]},[[0,"mdsPrefLanguageItemSelect","handleItemSelect"]],{set:[{handleSetChange:0}]}]),C=w,j=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),w);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{C as MdsPrefLanguage,j as defineCustomElement}
1
+ import{p as a,H as e,d as s,h as i,c as n,t}from"./p-TZJN-ygm.js";import{L as o}from"./p-B8x-d2fx.js";import{p as r}from"./p-CVRN4LDc.js";import{m as l}from"./p-DiWN48aq.js";import{m as d}from"./p-Ccz0jCNB.js";import{d as m}from"./p-ClPv-Ljc.js";import{d as u}from"./p-BwJQB6rG.js";import{d as h}from"./p-Cmn1DJAB.js";import{d as g}from"./p-ZuubAcA3.js";import{d as c}from"./p-B0AnE3sA.js";import{d as b}from"./p-BbK4qeM7.js";import{d as p}from"./p-CNF3u0Li.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-z]{2,3}(-[A-Za-z0-9]{1,8})*$/,z=a=>null!=a&&S.test(a),C=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 o({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.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s,i,n,t;if("auto"!==a&&!z(a)&&(null!=a&&console.warn(`mds-pref-language: ignoring the invalid language code "${a}"`),void 0!==this.appliedLanguage))return void(this.set=this.appliedLanguage);const o=z(a)?a:"auto",l=this.sanitizeLanguage(null!==(e=navigator.language)&&void 0!==e?e:"en"),d=localStorage.getItem(this.localStorageAlias);null===d||z(d)||localStorage.removeItem(this.localStorageAlias);const m=null!==(i=null===(s=document.querySelector("html"))||void 0===s?void 0:s.getAttribute("lang"))&&void 0!==i?i:null,u="auto"===o?null!==(n=[d,m].find(z))&&void 0!==n?n:l:this.sanitizeLanguage(o);if(this.set=u,u===this.appliedLanguage)return;const h=void 0===this.appliedLanguage;this.appliedLanguage=u,localStorage.setItem(this.localStorageAlias,u),"undefined"!=typeof document&&(null===(t=document.querySelector("html"))||void 0===t||t.setAttribute("lang",u)),r.state.language=u,h||this.prefChangeEvent.emit({preference:"language"})}}componentWillLoad(){this.setLanguage(this.set)}componentDidLoad(){this.checkLanguageSelect()}handleSetChange(a){var e;this.setLanguage(a),null===(e=this.elPreferLanguageItems)||void 0===e||e.forEach((a=>{a.selected=a.code===this.set}))}handleItemSelect(a){this.changeLanguageSelectItem(),this.currentSelectedItem=a.target,this.currentSelectedItem.selected=!0,this.languageChangeEvent.emit({language:this.currentSelectedItem.code}),this.showDropdown=!1,this.setLanguage(a.detail.language)}render(){var a;return i(n,{key:"6f361581434f573274701cae880e1aeff41391a1"},i("div",{key:"fcab55511e455ba97a53738ea9b075fd7aa3138f",class:"menu"},i("mds-text",{key:"2a36179e20d5df12a06477af28d2d1910089c396",class:"info",typography:"caption"},i("b",{key:"a5f60d1122d09e24f01700c04be549405da0bc46"},this.t.get("label"))),i("mds-tab",{key:"4e2afb36a089711638550892111a3fc5b8985e65",fill:!0,size:this.size},i("mds-tab-item",{key:"eb815c824b22a64091e2f68fc3ab00d146078280",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:"52e4c5386b8755ee870e30ff86180cde4ebe7e5d",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},i("slot",{key:"626a5b5f10c5e5ab593fdb1a8a57e812d2deba44",onSlotchange:this.checkLanguageSelect})),this.set!==this.defaultLanguage&&i("mds-text",{key:"7133d6737a6e4a2edff8fad7a0ba1a4bf204e391",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]},[[0,"mdsPrefLanguageItemSelect","handleItemSelect"]],{set:[{handleSetChange:0}]}]),w=C,j=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),C);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))||g();break;case"mds-tab":customElements.get(t(a))||c();break;case"mds-tab-item":customElements.get(t(a))||b();break;case"mds-text":customElements.get(t(a))||p()}}))};export{w as MdsPrefLanguage,j 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-B2p5a1Y8.js";import{c as d}from"./p-D8eZRaSQ.js";import{m as h}from"./p-XQgkfNpn.js";import{L as m}from"./p-B9dgiq4u.js";import{p as r}from"./p-BlnEiKN4.js";import{d as l}from"./p-BUr3NqxM.js";import{d as c}from"./p-cIZniMh0.js";import{d as n}from"./p-B6B6q5kP.js";import{d as f}from"./p-wHQGpA62.js";import{d as b}from"./p-NlPseOAv.js";import{d as p}from"./p-DezdwzYQ.js";var u={darkMode:"Σκούρο",label:"Λειτουργία",lightMode:"Ανοιχτό",systemSettings:"Με βάση το λειτουργικό σύστημα"},g={darkMode:"Dark",label:"Mode",lightMode:"Light",systemSettings:"Based on operating system"},v={darkMode:"Oscura",label:"Modo",lightMode:"Clara",systemSettings:"Basado en el sistema operativo"},y={darkMode:"Scura",label:"Modalità",lightMode:"Chiara",systemSettings:"Basato sul sistema operativo"};const k=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 m({el:u,en:g,es:v,it:y}),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.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.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setMode=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,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)}r.state.mode=t,e||this.prefChangeEvent.emit({preference:"mode"})},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=>"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;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=r.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;return i(a,{key:"54942d5c0b4d9a9bd64491cf336f0781a7c2f48b","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},i("mds-text",{key:"0febf8db8b0d509c7fe8493add1adcbd51b2b685",class:"info",typography:"caption"},i("b",{key:"cdfe50fb106eb352ece6c95cd4849182fd3100a2"},this.t.get("label"))," ",this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"91b9a987e51b1723eaa9ed8dafd1eb885df7bbf4",fill:!0,size:this.size},i("mds-tab-item",{key:"f8b02536a2ff93163881f8d8cd9487c8c1dc57d5",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)}),i("mds-tab-item",{key:"24171536adfeacd0820757c9645563de1f104499",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:"a8a70270da474426111975d6e636f97b1c2ad0fc",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"]},void 0,{mode:[{modeChanged:0}]}]),w=k,x=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),k);break;case"mds-button":customElements.get(o(t))||l();break;case"mds-icon":customElements.get(o(t))||c();break;case"mds-spinner":customElements.get(o(t))||n();break;case"mds-tab":customElements.get(o(t))||f();break;case"mds-tab-item":customElements.get(o(t))||b();break;case"mds-text":customElements.get(o(t))||p()}}))};export{w as MdsPrefMode,x as defineCustomElement}
1
+ import{p as t,H as e,d as s,h as i,c as a,t as o}from"./p-TZJN-ygm.js";import{c as d}from"./p-CWk1SCJg.js";import{m as h}from"./p-XQgkfNpn.js";import{L as m}from"./p-B8x-d2fx.js";import{p as r}from"./p-CVRN4LDc.js";import{d as l}from"./p-ClPv-Ljc.js";import{d as c}from"./p-Cmn1DJAB.js";import{d as n}from"./p-ZuubAcA3.js";import{d as f}from"./p-B0AnE3sA.js";import{d as b}from"./p-BbK4qeM7.js";import{d as u}from"./p-CNF3u0Li.js";var p={darkMode:"Σκούρο",label:"Λειτουργία",lightMode:"Ανοιχτό",systemSettings:"Με βάση το λειτουργικό σύστημα"},g={darkMode:"Dark",label:"Mode",lightMode:"Light",systemSettings:"Based on operating system"},v={darkMode:"Oscura",label:"Modo",lightMode:"Clara",systemSettings:"Basado en el sistema operativo"},y={darkMode:"Scura",label:"Modalità",lightMode:"Chiara",systemSettings:"Basato sul sistema operativo"};const k=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 m({el:p,en:g,es:v,it:y}),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.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.syncingFromStore=!0,this.mode=t,this.appliedMode=t,this.syncingFromStore=!1)},this.setMode=t=>{if(t===this.appliedMode)return void(this.mode=t);const e=void 0===this.appliedMode;if(this.appliedMode=t,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)}r.state.mode=t,e||this.prefChangeEvent.emit({preference:"mode"})},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=>"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;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=r.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;return i(a,{key:"c90ace27bbcc9871cb2eda2bdda513a1e17a870b","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},i("mds-text",{key:"a87034357d303ac2b7518c4678ce73145a0c1db2",class:"info",typography:"caption"},i("b",{key:"808defa5197422f98caa05acfd8029b0c406acd8"},this.t.get("label"))," ",this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"d718be92b56f2ac557bf656890b62d66a8511d98",fill:!0,size:this.size},i("mds-tab-item",{key:"c270f7b5c97ed82197954bf602717435f3e16491",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)}),i("mds-tab-item",{key:"eebd2655d419493dfdd93dda350488573b52d581",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:"20ac8784df7897df0ffe9e5204c89b8a64257e27",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:var(--duration-200,.2s);--mds-pref-mode-overlay-show-duration:var(--duration-300,.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"]},void 0,{mode:[{modeChanged:0}]}]),w=k,x=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),k);break;case"mds-button":customElements.get(o(t))||l();break;case"mds-icon":customElements.get(o(t))||c();break;case"mds-spinner":customElements.get(o(t))||n();break;case"mds-tab":customElements.get(o(t))||f();break;case"mds-tab-item":customElements.get(o(t))||b();break;case"mds-text":customElements.get(o(t))||u()}}))};export{w as MdsPrefMode,x as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as a,d as r,h as s,c as t,t as o}from"./p-B2p5a1Y8.js";import{m}from"./p-BFhO-KUe.js";import{m as i}from"./p-lZldSMeV.js";import{l as c}from"./p-6pgPWpGI.js";import{d as n}from"./p-BUr3NqxM.js";import{d}from"./p-cIZniMh0.js";import{d as l}from"./p-B6B6q5kP.js";import{d as h}from"./p-DezdwzYQ.js";const p=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=c(this.name))}render(){return s(t,{key:"376855afd8265abad7f37cc531bb9f5aa0b17487",onClick:this.handleClick,role:"menuitem"},s("mds-button",{key:"64c699062ecffdbf5915bdb54d27c67f6d0547c6",icon:this.selected?m:i,variant:"dark",tone:"text",label:this.label}),s("span",{key:"30171992d107f7927d0d6f19d443ccd27b832129","aria-hidden":"true",class:"theme-preview"},s("span",{key:"4502ad054a4d8b022eea73ee55f2073cb4e3b64d",class:"theme-color theme-color--variant-primary"}),s("span",{key:"596f8fa455ff83fe81b715d911cb97c0453d03ef",class:"theme-color theme-color--status-success"}),s("span",{key:"35de493fc8169369aba33b6aa30a22dfb03420eb",class:"theme-color theme-color--status-warning"}),s("span",{key:"af4baec5cddce4b67d26e76e639097be65501a7d",class:"theme-color theme-color--status-error"})))}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{--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))));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,.theme-preview{border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.theme-color{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));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=p,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(o(e))||customElements.define(o(e),p);break;case"mds-button":customElements.get(o(e))||n();break;case"mds-icon":customElements.get(o(e))||d();break;case"mds-spinner":customElements.get(o(e))||l();break;case"mds-text":customElements.get(o(e))||h()}}))};export{u as MdsPrefThemeItem,b as defineCustomElement}
1
+ import{p as e,H as a,d as r,h as s,c as t,t as o}from"./p-TZJN-ygm.js";import{m}from"./p-BFhO-KUe.js";import{m as i}from"./p-lZldSMeV.js";import{l as c}from"./p-6pgPWpGI.js";import{d as n}from"./p-ClPv-Ljc.js";import{d}from"./p-Cmn1DJAB.js";import{d as l}from"./p-ZuubAcA3.js";import{d as h}from"./p-CNF3u0Li.js";const p=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=c(this.name))}render(){return s(t,{key:"627562cca262f7312a396f5992e89b669d486479",onClick:this.handleClick,role:"menuitem"},s("mds-button",{key:"37d57676506f68caaa3798392378d317182f1387",icon:this.selected?m:i,variant:"dark",tone:"text",label:this.label}),s("span",{key:"8c6efef51d3b5bf176c21016bdf01b6819592cd2","aria-hidden":"true",class:"theme-preview"},s("span",{key:"ba2924fb18bb4c361879fb920976cf2114040d5c",class:"theme-color theme-color--variant-primary"}),s("span",{key:"175e3a376dcda2ecd0af5a3f80f7f868dceee3c9",class:"theme-color theme-color--status-success"}),s("span",{key:"84e1c1a78c08edeb7bf1db66e72d3e6de3f4f7eb",class:"theme-color theme-color--status-warning"}),s("span",{key:"2876be1030ec9ed45154b34ffcf49fc796d38250",class:"theme-color theme-color--status-error"})))}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{--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))));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,.theme-preview{border-radius:var(--magma-radius-full,var(--radius-full,1000px))}.theme-color{background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));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=p,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(o(e))||customElements.define(o(e),p);break;case"mds-button":customElements.get(o(e))||n();break;case"mds-icon":customElements.get(o(e))||d();break;case"mds-spinner":customElements.get(o(e))||l();break;case"mds-text":customElements.get(o(e))||h()}}))};export{u as MdsPrefThemeItem,b as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,d as s,f as i,h as a,c as h,t as n,B as r}from"./p-B2p5a1Y8.js";import{L as m}from"./p-B9dgiq4u.js";import{M as o,p as d}from"./p-BlnEiKN4.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 u}from"./p-BUr3NqxM.js";import{d as f}from"./p-DGGk8PS_.js";import{d as b}from"./p-cIZniMh0.js";import{d as g}from"./p-B6B6q5kP.js";import{d as v}from"./p-wHQGpA62.js";import{d as y}from"./p-NlPseOAv.js";import{d as S}from"./p-DezdwzYQ.js";const k=["bevel","notch","round","scoop","square","squircle","default"];var C={label:"Θέμα"},w={label:"Theme"},j={label:"Tema"},x={label:"Tema"};const E=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 m({el:C,en:w,es:j,it:x}),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.storedChoice=(e,t)=>{const s=localStorage.getItem(e);return null===s||t(s)?s:(localStorage.removeItem(e),null)},this.isThemeName=e=>null!=e&&/^[a-z]+(-[a-z]+)*$/.test(e)&&!o.includes(e)&&"scheme"!==e&&!e.startsWith("scheme-"),this.isScheme=e=>null!=e&&{}.hasOwnProperty.call(this.schemeSet,e),this.isCornerShape=e=>k.includes(e),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.selected=e.name===this.name}))},this.setTheme=(e,t)=>{if(!this.isThemeName(e))return void console.warn(`mds-pref-theme: ignoring the invalid theme name "${e}", a kebab-case name that is no mode or scheme name`);if(!this.isScheme(t))return void console.warn(`mds-pref-theme: ignoring the invalid scheme "${t}", use one of: ${Object.keys(this.schemeSet).join(", ")}`);this.name=e,this.scheme=t;const s=`${e}/${t}`;if(s===this.appliedTheme)return;const i=void 0===this.appliedTheme;if(this.appliedTheme=s,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}d.state["theme-scheme"]=this.scheme,i||this.prefChangeEvent.emit({preference:"theme"})},this.setCornerShape=e=>{if(null==e)return;if(!this.isCornerShape(e))return void console.warn(`mds-pref-theme: ignoring the invalid corner shape "${e}", use one of: ${k.join(", ")}`);if(this.cornerShape=e,e===this.appliedCornerShape)return;const t=void 0===this.appliedCornerShape;if(this.appliedCornerShape=e,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)}d.state["corner-shape"]="default"===e?void 0:e,t||this.prefChangeEvent.emit({preference:"corner-shape"})}}handleNameChange(e){null!=e&&/^[a-z]+(-[a-z]+)*$/.test(e)&&(o.includes(e)||"scheme"===e||e.startsWith("scheme-")||localStorage.setItem(this.localStorageAliasThemeName,e))}handleSchemeChange(e){null!=e&&{}.hasOwnProperty.call(this.schemeSet,e)&&localStorage.setItem(this.localStorageAliasThemeScheme,e)}handleCornerShapeChange(e){null!=e&&k.includes(e)&&localStorage.setItem(this.localStorageAliasCornerShape,e)}connectedCallback(){r.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=this.storedChoice(this.localStorageAliasThemeName,this.isThemeName),this.userThemeScheme=this.storedChoice(this.localStorageAliasThemeScheme,this.isScheme),this.setTheme(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.userCornerShape=this.storedChoice(this.localStorageAliasCornerShape,this.isCornerShape),this.setCornerShape(null!==(s=this.userCornerShape)&&void 0!==s?s:this.cornerShape)}handleItemSelect(e){this.changeThemeItem(),this.currentSelectedItem=e.target,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)}render(){return a(h,{key:"81e2da6f34e0adfa480cc449d39a71daf8e30316"},a("div",{key:"5a9207cc4428708a1152ba29466c745d0e6f2179",class:"menu"},a("mds-text",{key:"8b7def39b891b27457644c2e18dd13757372aca0",class:"info",typography:"caption"},a("b",{key:"052971a544101c8669399926625f90851a252151"},this.t.get("label"))),a("mds-tab",{key:"39801be2bdf68f4c846faf2244fca297821ebd7e",fill:!0,size:this.size},a("mds-tab-item",{key:"ed7a7c06baf7dacd740f91ec1f5d88b1bfadeab8",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:"9ed8c4da64a39a08faba6c4ed8e3b55d42343c6b",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"0975986278a5b59343bc01b789e610361ad3a238",onSlotchange:this.checkThemeSelect})))}get element(){return this}static get watchers(){return{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange: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-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]},[[0,"mdsPrefThemeItemSelect","handleItemSelect"]],{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange:0}]}]),P=E,z=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(n(e))||customElements.define(n(e),E);break;case"mds-button":customElements.get(n(e))||u();break;case"mds-dropdown":customElements.get(n(e))||f();break;case"mds-icon":customElements.get(n(e))||b();break;case"mds-spinner":customElements.get(n(e))||g();break;case"mds-tab":customElements.get(n(e))||v();break;case"mds-tab-item":customElements.get(n(e))||y();break;case"mds-text":customElements.get(n(e))||S()}}))};export{P as MdsPrefTheme,z as defineCustomElement}
1
+ import{p as e,H as t,d as s,f as i,h as a,c as h,t as n,B as r}from"./p-TZJN-ygm.js";import{L as m}from"./p-B8x-d2fx.js";import{M as o,p as d}from"./p-CVRN4LDc.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 u}from"./p-ClPv-Ljc.js";import{d as f}from"./p-BwJQB6rG.js";import{d as b}from"./p-Cmn1DJAB.js";import{d as g}from"./p-ZuubAcA3.js";import{d as v}from"./p-B0AnE3sA.js";import{d as y}from"./p-BbK4qeM7.js";import{d as C}from"./p-CNF3u0Li.js";const S=["bevel","notch","round","scoop","square","squircle","default"];var k={label:"Θέμα"},j={label:"Theme"},w={label:"Tema"},x={label:"Tema"};const E=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 m({el:k,en:j,es:w,it:x}),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.storedChoice=(e,t)=>{const s=localStorage.getItem(e);return null===s||t(s)?s:(localStorage.removeItem(e),null)},this.isThemeName=e=>null!=e&&/^[a-z]+(-[a-z]+)*$/.test(e)&&!o.includes(e)&&"scheme"!==e&&!e.startsWith("scheme-"),this.isScheme=e=>null!=e&&{}.hasOwnProperty.call(this.schemeSet,e),this.isCornerShape=e=>S.includes(e),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.selected=e.name===this.name}))},this.setTheme=(e,t)=>{if(!this.isThemeName(e))return void console.warn(`mds-pref-theme: ignoring the invalid theme name "${e}", a kebab-case name that is no mode or scheme name`);if(!this.isScheme(t))return void console.warn(`mds-pref-theme: ignoring the invalid scheme "${t}", use one of: ${Object.keys(this.schemeSet).join(", ")}`);this.name=e,this.scheme=t;const s=`${e}/${t}`;if(s===this.appliedTheme)return;const i=void 0===this.appliedTheme;if(this.appliedTheme=s,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}d.state["theme-scheme"]=this.scheme,i||this.prefChangeEvent.emit({preference:"theme"})},this.setCornerShape=e=>{if(null==e)return;if(!this.isCornerShape(e))return void console.warn(`mds-pref-theme: ignoring the invalid corner shape "${e}", use one of: ${S.join(", ")}`);if(this.cornerShape=e,e===this.appliedCornerShape)return;const t=void 0===this.appliedCornerShape;if(this.appliedCornerShape=e,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)}d.state["corner-shape"]="default"===e?void 0:e,t||this.prefChangeEvent.emit({preference:"corner-shape"})}}handleNameChange(e){null!=e&&/^[a-z]+(-[a-z]+)*$/.test(e)&&(o.includes(e)||"scheme"===e||e.startsWith("scheme-")||localStorage.setItem(this.localStorageAliasThemeName,e))}handleSchemeChange(e){null!=e&&{}.hasOwnProperty.call(this.schemeSet,e)&&localStorage.setItem(this.localStorageAliasThemeScheme,e)}handleCornerShapeChange(e){null!=e&&S.includes(e)&&localStorage.setItem(this.localStorageAliasCornerShape,e)}connectedCallback(){r.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=this.storedChoice(this.localStorageAliasThemeName,this.isThemeName),this.userThemeScheme=this.storedChoice(this.localStorageAliasThemeScheme,this.isScheme),this.setTheme(null!==(e=this.userThemeName)&&void 0!==e?e:this.name,null!==(t=this.userThemeScheme)&&void 0!==t?t:this.scheme),this.userCornerShape=this.storedChoice(this.localStorageAliasCornerShape,this.isCornerShape),this.setCornerShape(null!==(s=this.userCornerShape)&&void 0!==s?s:this.cornerShape)}handleItemSelect(e){this.changeThemeItem(),this.currentSelectedItem=e.target,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)}render(){return a(h,{key:"b791443dbe44e7fdacdd9d6b053b9061fde94e00"},a("div",{key:"d15ecd2de7a96eb6738232615864908d11bb14b8",class:"menu"},a("mds-text",{key:"00ab4d5873154e0f12cf3d4884153212d37e34a3",class:"info",typography:"caption"},a("b",{key:"c29fd2837733effc70e31c7d5e76f2f8d3c63843"},this.t.get("label"))),a("mds-tab",{key:"9a861567518b31749237636b68b4ad2a3709a405",fill:!0,size:this.size},a("mds-tab-item",{key:"0c31c771324ac4cacff400e7a4eaca68abaa242e",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:"02fd1e078b4ce374f6805b27b71b421f0cc45a2a",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"51fce1b2ddc5325d0bead3bd539fba19315c1bae",onSlotchange:this.checkThemeSelect})))}get element(){return this}static get watchers(){return{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange: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-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]},[[0,"mdsPrefThemeItemSelect","handleItemSelect"]],{name:[{handleNameChange:0}],scheme:[{handleSchemeChange:0}],cornerShape:[{handleCornerShapeChange:0}]}]),$=E,B=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(n(e))||customElements.define(n(e),E);break;case"mds-button":customElements.get(n(e))||u();break;case"mds-dropdown":customElements.get(n(e))||f();break;case"mds-icon":customElements.get(n(e))||b();break;case"mds-spinner":customElements.get(n(e))||g();break;case"mds-tab":customElements.get(n(e))||v();break;case"mds-tab-item":customElements.get(n(e))||y();break;case"mds-text":customElements.get(n(e))||C()}}))};export{$ as MdsPrefTheme,B as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as t,h as a,c as s,t as o}from"./p-B2p5a1Y8.js";import{L as i}from"./p-B9dgiq4u.js";import{d as n}from"./p-DezdwzYQ.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 t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.showReload=!1,this.prefNeedsReload=["consumption","language"],this.loaded=!1,this.t=new i({el:r,en:d,es:l,it:h}),this.sizeChildren=e=>{Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((t=>{t.size=e}))},this.applySize=()=>{void 0!==this.size&&this.sizeChildren(this.size)},this.applySchemeLock=e=>{const t=this.host.querySelector("mds-pref-mode");t&&(t.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){this.sizeChildren(e)}componentWillLoad(){this.applySize()}connectedCallback(){var e;c.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.loaded=!0,this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(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 t;this.loaded&&!this.controller&&this.prefNeedsReload.includes(null===(t=e.detail)||void 0===t?void 0:t.preference)&&(this.showReload=!0)}handleThemeChange(e){var t;this.applySchemeLock(null===(t=e.detail)||void 0===t?void 0:t.scheme)}render(){return a(s,{key:"5b69ed67ebf12ceee2c010795b6b8fb01ede21c0"},a("slot",{key:"4d059f4ba6e4cd74bd0387d3fa59909c4a80590b",onSlotchange:this.applySize}),this.showReload&&a("div",{key:"998c080264836779c2bdeb8ef0d6551c32421a01",class:"reload-required"},a("mds-text",{key:"d36aee958b2662e46570cfebee882d0cfe4d751f",typography:"caption"},this.t.get("reloadPageToSeeChanges"))))}get host(){return 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
+ import{p as e,H as a,h as t,c as s,t as o}from"./p-TZJN-ygm.js";import{L as i}from"./p-B8x-d2fx.js";import{d as n}from"./p-CNF3u0Li.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.loaded=!1,this.t=new i({el:r,en:d,es:l,it:h}),this.sizeChildren=e=>{Array.from(this.host.querySelectorAll("*")).filter((e=>e.tagName.toLowerCase().startsWith("mds-pref-"))).forEach((a=>{a.size=e}))},this.applySize=()=>{void 0!==this.size&&this.sizeChildren(this.size)},this.applySchemeLock=e=>{const a=this.host.querySelector("mds-pref-mode");a&&(a.lockedScheme="light"===e||"dark"===e?e:void 0)},this.applyInitialSchemeLock=()=>{const e=this.host.querySelector("mds-pref-theme");this.applySchemeLock(null==e?void 0:e.scheme)}}handleControllerChange(e){!1===e&&(this.controller=void 0)}handleSizeChange(e){this.sizeChildren(e)}componentWillLoad(){this.applySize()}connectedCallback(){var e;c.add(this.host),"undefined"!=typeof window&&(null===(e=document.documentElement)||void 0===e||e.setAttribute("data-magma-pref",""))}componentDidLoad(){this.loaded=!0,this.applyInitialSchemeLock()}disconnectedCallback(){var e;this.host.isConnected||(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.loaded&&!this.controller&&this.prefNeedsReload.includes(null===(a=e.detail)||void 0===a?void 0:a.preference)&&(this.showReload=!0)}handleThemeChange(e){var a;this.applySchemeLock(null===(a=e.detail)||void 0===a?void 0:a.scheme)}render(){return t(s,{key:"846811677c2dbe5d37f30d507cbe7ba3acada58f"},t("slot",{key:"624bd6ece46213ed6017676f3490ef1da819c3f4",onSlotchange:this.applySize}),this.showReload&&t("div",{key:"fc1a30362e0bf8aa8223b0858aa332c676e04a58",class:"reload-required"},t("mds-text",{key:"bb7497975b087d87f3b320cccb877cca1adf06f7",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}]}]),g=m,p=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{g as MdsPref,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as r,h as t,c as a,t as o}from"./p-B2p5a1Y8.js";import{p as s}from"./p-BlnEiKN4.js";import{m as i}from"./p-BFhO-KUe.js";import{m as l}from"./p-BE8xuIpS.js";import{d as n}from"./p-DezdwzYQ.js";const c=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return t(a,{key:"6672e980cb96c65971d4bfa8fe61ee6043f0fc09","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:"3bbfede28639b01f1f06620e6295ed0007c3c8dd",class:"icon icon--supported",innerHTML:i,part:"icon"}),"unsupported"===this.type&&t("i",{key:"f465be7d986b13a119a8a43c880e2789c3e03304",class:"icon icon--unsupported",innerHTML:l,part:"icon"}),"text"===this.type&&t("mds-text",{key:"00b63cc837f7abd6b394f41fe0c066287c7d7755",part:"text",typography:"detail"},t("slot",{key:"279f5010a519b0adbe2aa4f84275ec7cd590a42c"})),"custom"===this.type&&t("slot",{key:"aba0dd7e32e62baafe4f2eb78bebf3a12bdfe2c5"}),"label"===this.type&&t("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(--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:var(--mds-price-table-features-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
+ import{p as e,H as r,h as t,c as a,t as o}from"./p-TZJN-ygm.js";import{p as s}from"./p-CVRN4LDc.js";import{m as i}from"./p-BFhO-KUe.js";import{m as l}from"./p-BE8xuIpS.js";import{d as n}from"./p-CNF3u0Li.js";const c=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return t(a,{key:"dbe6f1de29ba063c9292d9c743b120b5218a5d3a","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:"962b58891ad776f74e5311a84cae4e04ea4458ab",class:"icon icon--supported",innerHTML:i,part:"icon"}),"unsupported"===this.type&&t("i",{key:"ca6d6453fd2419028b33d621750881a4ad13ac9b",class:"icon icon--unsupported",innerHTML:l,part:"icon"}),"text"===this.type&&t("mds-text",{key:"6667f1ba515d9d4b6a5e8cba5cce4923c6f14051",part:"text",typography:"detail"},t("slot",{key:"0888091c04585b69663ee11a8b8ebc22fce0749a"})),"custom"===this.type&&t("slot",{key:"a893e8d9a0334baa4e078c134326b967cecb90a5"}),"label"===this.type&&t("slot",{key:"0bf770cb0028679d4bf3ab3fcc3c432b00d2505e"}))}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:var(--mds-price-table-features-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-B2p5a1Y8.js";import{p as s}from"./p-BlnEiKN4.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(--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
+ import{p as e,H as t,h as r,c as a,t as o}from"./p-TZJN-ygm.js";import{p as s}from"./p-CVRN4LDc.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:"319e638cc56848ef69f872af74b127a9bd570f92","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:"e93a508d6320fd3764fddc3c8a0cefce204801c2"}))}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 a,c as r,t as i}from"./p-B2p5a1Y8.js";import{p as o}from"./p-BlnEiKN4.js";import{d as s}from"./p-DezdwzYQ.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"4cea40f8e29d671ebd61fba34cb9a7edb7517b3b","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:"7e8b20fafe83f27b3c7d031e8875c0e254e3c82c",class:"table-wrapper"},this.label&&a("header",{key:"7ff3827ecf98976e0f73a8c1dbefc55aa0ec21b1",part:"header"},a("mds-text",{key:"e5f383837d852c48ffd2fdc9555b667cc4822f2f",typography:"detail"},a("b",{key:"0df39a3221f8a463a3d677a89d429d5f3b9f1827"},this.label))),a("table",{key:"6ff8b551d1ac18d48bbf4c98c86a30e057f56b33"},a("tbody",{key:"3daa55e6d546ebffe8695b35340536b73338045c"},a("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(--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);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
+ import{p as e,H as t,h as a,c as r,t as i}from"./p-TZJN-ygm.js";import{p as o}from"./p-CVRN4LDc.js";import{d as s}from"./p-CNF3u0Li.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"c33ab5dbff684027a3a393a595245c80651cef88","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:"9d291b309b8fabed5c6ffc720d036a46f34a6eb8",class:"table-wrapper"},this.label&&a("header",{key:"5526267622a1d3a827dada777f3de01d8de4c837",part:"header"},a("mds-text",{key:"3db3f819a07b82d9fadfb14dd68eaefb9ed296fd",typography:"detail"},a("b",{key:"cb9bc08bcd04048b27848906bd2013b067719e1f"},this.label))),a("table",{key:"2e07e744f18b4245e09f3070f724cce3a2d92cca"},a("tbody",{key:"44b7685fa7a53a6082e04b45207e5e3fc5752e5e"},a("slot",{key:"e4040403dc7e481c62983671edd1f6eb1274dc00"})))))}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);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-B2p5a1Y8.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 s,c as r,t as a}from"./p-TZJN-ygm.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(r,{key:"4023308c4a929158dab131b1151a99cc9d9d9c65"},s("slot",{key:"f2c4f45cd9887077f33b78dc4711062d5025ff01"}))}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"]),d=i,o=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{d as MdsPriceTableHeader,o as defineCustomElement}