@maggioli-design-system/magma 2.5.1 → 2.7.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 (1485) hide show
  1. package/AGENTS.md +19 -4
  2. package/CHANGELOG.md +69 -0
  3. package/agents/assets.md +24 -10
  4. package/agents/color.md +22 -4
  5. package/agents/components.md +164 -92
  6. package/agents/conventions.md +19 -8
  7. package/agents/install.md +7 -0
  8. package/agents/lint.md +298 -0
  9. package/agents/mcp.md +107 -0
  10. package/agents/reporting.md +53 -2
  11. package/agents/theming.md +8 -0
  12. package/dist/cjs/index-BQNHYWJg.js +4 -0
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/magma-components.cjs.js +1 -1
  15. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  25. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-book.cjs.entry.js +703 -0
  28. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-button_3.cjs.entry.js +6 -6
  33. package/dist/cjs/mds-calendar_2.cjs.entry.js +6 -6
  34. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  41. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  44. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-input-date-range.cjs.entry.js +2 -2
  53. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  54. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  59. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  60. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  61. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  62. package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-link.cjs.entry.js +3 -3
  68. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  72. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  81. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  86. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  96. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  97. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  98. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  99. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  100. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  102. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  103. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  104. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  105. package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
  106. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  107. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  108. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  109. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  110. package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
  111. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  112. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  113. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  114. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  115. package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  117. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  118. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  119. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  120. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  121. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  122. package/dist/collection/collection-manifest.json +1 -0
  123. package/dist/collection/components/mds-accordion/AGENTS.md +3 -5
  124. package/dist/collection/components/mds-accordion/antipattern.md +1 -2
  125. package/dist/collection/components/mds-accordion/documentation.json +21 -10
  126. package/dist/collection/components/mds-accordion/mds-accordion.css +3 -3
  127. package/dist/collection/components/mds-accordion/mds-accordion.js +2 -1
  128. package/dist/collection/components/mds-accordion/pattern.md +1 -4
  129. package/dist/collection/components/mds-accordion-item/AGENTS.md +3 -7
  130. package/dist/collection/components/mds-accordion-item/documentation.json +20 -9
  131. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +1 -1
  132. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
  133. package/dist/collection/components/mds-accordion-item/pattern.md +3 -5
  134. package/dist/collection/components/mds-accordion-timer/AGENTS.md +3 -5
  135. package/dist/collection/components/mds-accordion-timer/antipattern.md +5 -3
  136. package/dist/collection/components/mds-accordion-timer/documentation.json +17 -8
  137. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  138. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +2 -1
  139. package/dist/collection/components/mds-accordion-timer/pattern.md +6 -6
  140. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +3 -5
  141. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +1 -2
  142. package/dist/collection/components/mds-accordion-timer-item/documentation.json +17 -8
  143. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +1 -1
  144. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
  145. package/dist/collection/components/mds-accordion-timer-item/pattern.md +1 -5
  146. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-author/documentation.json +5 -1
  148. package/dist/collection/components/mds-author/mds-author.js +2 -1
  149. package/dist/collection/components/mds-avatar/AGENTS.md +3 -3
  150. package/dist/collection/components/mds-avatar/antipattern.md +1 -1
  151. package/dist/collection/components/mds-avatar/documentation.json +17 -8
  152. package/dist/collection/components/mds-avatar/mds-avatar.css +3 -3
  153. package/dist/collection/components/mds-avatar/mds-avatar.js +2 -1
  154. package/dist/collection/components/mds-avatar/pattern.md +1 -2
  155. package/dist/collection/components/mds-avatar-stack/AGENTS.md +3 -12
  156. package/dist/collection/components/mds-avatar-stack/antipattern.md +1 -2
  157. package/dist/collection/components/mds-avatar-stack/documentation.json +31 -15
  158. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  159. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +2 -1
  160. package/dist/collection/components/mds-avatar-stack/pattern.md +2 -5
  161. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +3 -6
  162. package/dist/collection/components/mds-avatar-stack-item/documentation.json +22 -10
  163. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +2 -2
  164. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +4 -1
  165. package/dist/collection/components/mds-avatar-stack-item/pattern.md +4 -5
  166. package/dist/collection/components/mds-badge/AGENTS.md +3 -3
  167. package/dist/collection/components/mds-badge/antipattern.md +1 -1
  168. package/dist/collection/components/mds-badge/documentation.json +17 -8
  169. package/dist/collection/components/mds-badge/mds-badge.css +3 -3
  170. package/dist/collection/components/mds-badge/mds-badge.js +2 -1
  171. package/dist/collection/components/mds-badge/pattern.md +4 -7
  172. package/dist/collection/components/mds-banner/AGENTS.md +3 -8
  173. package/dist/collection/components/mds-banner/antipattern.md +1 -2
  174. package/dist/collection/components/mds-banner/documentation.json +29 -14
  175. package/dist/collection/components/mds-banner/mds-banner.css +4 -4
  176. package/dist/collection/components/mds-banner/mds-banner.js +2 -1
  177. package/dist/collection/components/mds-banner/pattern.md +1 -2
  178. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  179. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -1
  180. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +2 -1
  181. package/dist/collection/components/mds-bibliography/AGENTS.md +3 -3
  182. package/dist/collection/components/mds-bibliography/antipattern.md +1 -3
  183. package/dist/collection/components/mds-bibliography/documentation.json +15 -7
  184. package/dist/collection/components/mds-bibliography/mds-bibliography.css +1 -1
  185. package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -1
  186. package/dist/collection/components/mds-bibliography/pattern.md +1 -3
  187. package/dist/collection/components/mds-book/AGENTS.md +79 -0
  188. package/dist/collection/components/mds-book/antipattern.md +88 -0
  189. package/dist/collection/components/mds-book/documentation.json +482 -0
  190. package/dist/collection/components/mds-book/mds-book.css +901 -0
  191. package/dist/collection/components/mds-book/mds-book.js +731 -0
  192. package/dist/collection/components/mds-book/meta/dictionary.js +5 -0
  193. package/dist/collection/components/mds-book/meta/format.js +57 -0
  194. package/dist/collection/components/mds-book/meta/pose.js +107 -0
  195. package/dist/collection/components/mds-book/meta/spine.js +61 -0
  196. package/dist/collection/components/mds-book/meta/types.js +1 -0
  197. package/dist/collection/components/mds-book/meta/volume.js +23 -0
  198. package/dist/collection/components/mds-book/pattern.md +111 -0
  199. package/dist/collection/components/mds-breadcrumb/AGENTS.md +3 -14
  200. package/dist/collection/components/mds-breadcrumb/antipattern.md +1 -1
  201. package/dist/collection/components/mds-breadcrumb/documentation.json +28 -14
  202. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -1
  203. package/dist/collection/components/mds-breadcrumb/pattern.md +6 -6
  204. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +3 -11
  205. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +3 -3
  206. package/dist/collection/components/mds-breadcrumb-item/documentation.json +22 -11
  207. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +2 -1
  208. package/dist/collection/components/mds-breadcrumb-item/pattern.md +12 -14
  209. package/dist/collection/components/mds-button/AGENTS.md +3 -12
  210. package/dist/collection/components/mds-button/documentation.json +37 -17
  211. package/dist/collection/components/mds-button/mds-button.css +5 -5
  212. package/dist/collection/components/mds-button/mds-button.js +5 -4
  213. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-button-dropdown/documentation.json +7 -2
  215. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +1 -1
  216. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +2 -1
  217. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  218. package/dist/collection/components/mds-button-group/documentation.json +5 -1
  219. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -1
  220. package/dist/collection/components/mds-calendar/AGENTS.md +3 -6
  221. package/dist/collection/components/mds-calendar/antipattern.md +1 -1
  222. package/dist/collection/components/mds-calendar/documentation.json +25 -12
  223. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -4
  224. package/dist/collection/components/mds-calendar/mds-calendar.js +6 -5
  225. package/dist/collection/components/mds-calendar/pattern.md +1 -3
  226. package/dist/collection/components/mds-calendar-cell/AGENTS.md +3 -35
  227. package/dist/collection/components/mds-calendar-cell/antipattern.md +1 -2
  228. package/dist/collection/components/mds-calendar-cell/documentation.json +81 -40
  229. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +2 -2
  230. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +4 -1
  231. package/dist/collection/components/mds-calendar-cell/pattern.md +4 -5
  232. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-card/antipattern.md +2 -2
  234. package/dist/collection/components/mds-card/documentation.json +13 -6
  235. package/dist/collection/components/mds-card/mds-card.css +3 -3
  236. package/dist/collection/components/mds-card/mds-card.js +2 -1
  237. package/dist/collection/components/mds-card/pattern.md +4 -4
  238. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-card-content/documentation.json +5 -1
  240. package/dist/collection/components/mds-card-content/mds-card-content.js +2 -1
  241. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-card-footer/documentation.json +5 -1
  243. package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -1
  244. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-card-header/documentation.json +5 -1
  246. package/dist/collection/components/mds-card-header/mds-card-header.js +2 -1
  247. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  248. package/dist/collection/components/mds-card-media/documentation.json +5 -1
  249. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  250. package/dist/collection/components/mds-chip/AGENTS.md +3 -10
  251. package/dist/collection/components/mds-chip/antipattern.md +2 -3
  252. package/dist/collection/components/mds-chip/documentation.json +35 -17
  253. package/dist/collection/components/mds-chip/mds-chip.css +4 -4
  254. package/dist/collection/components/mds-chip/mds-chip.js +4 -1
  255. package/dist/collection/components/mds-chip/pattern.md +4 -6
  256. package/dist/collection/components/mds-details/AGENTS.md +3 -7
  257. package/dist/collection/components/mds-details/antipattern.md +1 -5
  258. package/dist/collection/components/mds-details/documentation.json +14 -7
  259. package/dist/collection/components/mds-details/mds-details.js +2 -1
  260. package/dist/collection/components/mds-details/pattern.md +4 -6
  261. package/dist/collection/components/mds-dropdown/AGENTS.md +3 -9
  262. package/dist/collection/components/mds-dropdown/antipattern.md +1 -1
  263. package/dist/collection/components/mds-dropdown/documentation.json +31 -15
  264. package/dist/collection/components/mds-dropdown/mds-dropdown.css +4 -4
  265. package/dist/collection/components/mds-dropdown/mds-dropdown.js +3 -2
  266. package/dist/collection/components/mds-dropdown/pattern.md +2 -4
  267. package/dist/collection/components/mds-emoji/AGENTS.md +8 -32
  268. package/dist/collection/components/mds-emoji/antipattern.md +0 -18
  269. package/dist/collection/components/mds-emoji/documentation.json +73 -35
  270. package/dist/collection/components/mds-emoji/mds-emoji.css +8 -4
  271. package/dist/collection/components/mds-emoji/mds-emoji.js +4 -1
  272. package/dist/collection/components/mds-emoji/pattern.md +9 -25
  273. package/dist/collection/components/mds-entity/AGENTS.md +3 -4
  274. package/dist/collection/components/mds-entity/antipattern.md +10 -3
  275. package/dist/collection/components/mds-entity/documentation.json +17 -8
  276. package/dist/collection/components/mds-entity/mds-entity.css +2 -2
  277. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  278. package/dist/collection/components/mds-entity/pattern.md +1 -4
  279. package/dist/collection/components/mds-file/AGENTS.md +3 -3
  280. package/dist/collection/components/mds-file/antipattern.md +2 -3
  281. package/dist/collection/components/mds-file/documentation.json +15 -7
  282. package/dist/collection/components/mds-file/mds-file.css +1 -1
  283. package/dist/collection/components/mds-file/mds-file.js +4 -1
  284. package/dist/collection/components/mds-file/pattern.md +1 -3
  285. package/dist/collection/components/mds-file-preview/AGENTS.md +3 -3
  286. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  287. package/dist/collection/components/mds-file-preview/documentation.json +17 -8
  288. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -3
  289. package/dist/collection/components/mds-file-preview/mds-file-preview.js +3 -2
  290. package/dist/collection/components/mds-file-preview/pattern.md +2 -3
  291. package/dist/collection/components/mds-filter/AGENTS.md +3 -8
  292. package/dist/collection/components/mds-filter/antipattern.md +2 -2
  293. package/dist/collection/components/mds-filter/documentation.json +27 -13
  294. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  295. package/dist/collection/components/mds-filter/mds-filter.js +2 -1
  296. package/dist/collection/components/mds-filter/pattern.md +2 -5
  297. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -7
  298. package/dist/collection/components/mds-filter-item/antipattern.md +4 -4
  299. package/dist/collection/components/mds-filter-item/documentation.json +17 -8
  300. package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -1
  301. package/dist/collection/components/mds-filter-item/pattern.md +5 -7
  302. package/dist/collection/components/mds-header/AGENTS.md +4 -8
  303. package/dist/collection/components/mds-header/documentation.json +28 -13
  304. package/dist/collection/components/mds-header/mds-header.css +7 -7
  305. package/dist/collection/components/mds-header/mds-header.js +2 -1
  306. package/dist/collection/components/mds-header/pattern.md +1 -3
  307. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -4
  308. package/dist/collection/components/mds-header-bar/antipattern.md +6 -8
  309. package/dist/collection/components/mds-header-bar/documentation.json +9 -4
  310. package/dist/collection/components/mds-header-bar/mds-header-bar.js +2 -1
  311. package/dist/collection/components/mds-header-bar/pattern.md +10 -6
  312. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  313. package/dist/collection/components/mds-help/documentation.json +13 -5
  314. package/dist/collection/components/mds-help/mds-help.css +4 -4
  315. package/dist/collection/components/mds-help/mds-help.js +2 -1
  316. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +5 -11
  317. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +2 -2
  318. package/dist/collection/components/mds-horizontal-scroll/documentation.json +34 -14
  319. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -1
  320. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +2 -1
  321. package/dist/collection/components/mds-horizontal-scroll/pattern.md +4 -15
  322. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-hr/documentation.json +7 -2
  324. package/dist/collection/components/mds-hr/mds-hr.js +4 -1
  325. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-icon/documentation.json +5 -1
  327. package/dist/collection/components/mds-icon/mds-icon.js +2 -1
  328. package/dist/collection/components/mds-img/AGENTS.md +3 -5
  329. package/dist/collection/components/mds-img/antipattern.md +1 -1
  330. package/dist/collection/components/mds-img/documentation.json +19 -9
  331. package/dist/collection/components/mds-img/mds-img.css +2 -2
  332. package/dist/collection/components/mds-img/mds-img.js +1 -0
  333. package/dist/collection/components/mds-img/pattern.md +1 -4
  334. package/dist/collection/components/mds-input/AGENTS.md +3 -9
  335. package/dist/collection/components/mds-input/antipattern.md +1 -1
  336. package/dist/collection/components/mds-input/documentation.json +39 -19
  337. package/dist/collection/components/mds-input/mds-input.css +8 -8
  338. package/dist/collection/components/mds-input/mds-input.js +3 -2
  339. package/dist/collection/components/mds-input/pattern.md +1 -3
  340. package/dist/collection/components/mds-input-date/AGENTS.md +3 -8
  341. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  342. package/dist/collection/components/mds-input-date/documentation.json +31 -15
  343. package/dist/collection/components/mds-input-date/mds-input-date.css +5 -5
  344. package/dist/collection/components/mds-input-date/mds-input-date.js +3 -2
  345. package/dist/collection/components/mds-input-date/pattern.md +1 -2
  346. package/dist/collection/components/mds-input-date-range/AGENTS.md +3 -4
  347. package/dist/collection/components/mds-input-date-range/documentation.json +22 -10
  348. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +5 -5
  349. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +3 -2
  350. package/dist/collection/components/mds-input-date-range/pattern.md +1 -2
  351. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -13
  352. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +11 -6
  353. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -13
  354. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +2 -1
  355. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +1 -11
  356. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-input-field/documentation.json +9 -3
  358. package/dist/collection/components/mds-input-field/mds-input-field.css +2 -2
  359. package/dist/collection/components/mds-input-field/mds-input-field.js +2 -1
  360. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  361. package/dist/collection/components/mds-input-otp/documentation.json +7 -2
  362. package/dist/collection/components/mds-input-otp/mds-input-otp.js +4 -1
  363. package/dist/collection/components/mds-input-range/AGENTS.md +3 -13
  364. package/dist/collection/components/mds-input-range/antipattern.md +1 -5
  365. package/dist/collection/components/mds-input-range/documentation.json +26 -13
  366. package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
  367. package/dist/collection/components/mds-input-range/pattern.md +2 -12
  368. package/dist/collection/components/mds-input-select/AGENTS.md +3 -7
  369. package/dist/collection/components/mds-input-select/antipattern.md +1 -1
  370. package/dist/collection/components/mds-input-select/documentation.json +25 -12
  371. package/dist/collection/components/mds-input-select/mds-input-select.css +3 -3
  372. package/dist/collection/components/mds-input-select/mds-input-select.js +3 -2
  373. package/dist/collection/components/mds-input-select/pattern.md +1 -3
  374. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -30
  375. package/dist/collection/components/mds-input-switch/antipattern.md +5 -6
  376. package/dist/collection/components/mds-input-switch/documentation.json +61 -30
  377. package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -1
  378. package/dist/collection/components/mds-input-switch/pattern.md +2 -11
  379. package/dist/collection/components/mds-input-tip/AGENTS.md +3 -5
  380. package/dist/collection/components/mds-input-tip/antipattern.md +10 -6
  381. package/dist/collection/components/mds-input-tip/documentation.json +17 -8
  382. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  383. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
  384. package/dist/collection/components/mds-input-tip/pattern.md +1 -4
  385. package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -3
  386. package/dist/collection/components/mds-input-tip-item/antipattern.md +2 -2
  387. package/dist/collection/components/mds-input-tip-item/documentation.json +14 -7
  388. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +2 -2
  389. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -2
  390. package/dist/collection/components/mds-input-tip-item/pattern.md +1 -2
  391. package/dist/collection/components/mds-input-upload/AGENTS.md +3 -5
  392. package/dist/collection/components/mds-input-upload/antipattern.md +2 -3
  393. package/dist/collection/components/mds-input-upload/documentation.json +19 -9
  394. package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
  395. package/dist/collection/components/mds-input-upload/mds-input-upload.js +8 -5
  396. package/dist/collection/components/mds-input-upload/pattern.md +1 -5
  397. package/dist/collection/components/mds-keyboard/AGENTS.md +3 -18
  398. package/dist/collection/components/mds-keyboard/antipattern.md +3 -3
  399. package/dist/collection/components/mds-keyboard/documentation.json +47 -23
  400. package/dist/collection/components/mds-keyboard/mds-keyboard.css +17 -5
  401. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -1
  402. package/dist/collection/components/mds-keyboard/pattern.md +1 -2
  403. package/dist/collection/components/mds-keyboard-key/AGENTS.md +3 -6
  404. package/dist/collection/components/mds-keyboard-key/antipattern.md +1 -2
  405. package/dist/collection/components/mds-keyboard-key/documentation.json +21 -10
  406. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +7 -3
  407. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +4 -1
  408. package/dist/collection/components/mds-keyboard-key/pattern.md +1 -12
  409. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-kpi/documentation.json +10 -4
  411. package/dist/collection/components/mds-kpi/mds-kpi.css +2 -2
  412. package/dist/collection/components/mds-kpi/mds-kpi.js +2 -1
  413. package/dist/collection/components/mds-kpi/pattern.md +7 -4
  414. package/dist/collection/components/mds-kpi-item/AGENTS.md +3 -8
  415. package/dist/collection/components/mds-kpi-item/antipattern.md +2 -4
  416. package/dist/collection/components/mds-kpi-item/documentation.json +16 -8
  417. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -1
  418. package/dist/collection/components/mds-kpi-item/pattern.md +9 -7
  419. package/dist/collection/components/mds-label/AGENTS.md +3 -7
  420. package/dist/collection/components/mds-label/documentation.json +24 -11
  421. package/dist/collection/components/mds-label/mds-label.css +2 -2
  422. package/dist/collection/components/mds-label/mds-label.js +4 -1
  423. package/dist/collection/components/mds-label/pattern.md +1 -3
  424. package/dist/collection/components/mds-link/AGENTS.md +4 -9
  425. package/dist/collection/components/mds-link/documentation.json +22 -10
  426. package/dist/collection/components/mds-link/mds-link.css +1 -1
  427. package/dist/collection/components/mds-link/mds-link.js +4 -3
  428. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  429. package/dist/collection/components/mds-list/documentation.json +6 -2
  430. package/dist/collection/components/mds-list/mds-list.js +2 -1
  431. package/dist/collection/components/mds-list/pattern.md +5 -5
  432. package/dist/collection/components/mds-list-item/AGENTS.md +2 -4
  433. package/dist/collection/components/mds-list-item/antipattern.md +1 -1
  434. package/dist/collection/components/mds-list-item/documentation.json +9 -4
  435. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
  436. package/dist/collection/components/mds-list-item/pattern.md +4 -4
  437. package/dist/collection/components/mds-mention/AGENTS.md +2 -4
  438. package/dist/collection/components/mds-mention/antipattern.md +5 -5
  439. package/dist/collection/components/mds-mention/documentation.json +11 -5
  440. package/dist/collection/components/mds-mention/mds-mention.js +4 -1
  441. package/dist/collection/components/mds-mention/pattern.md +3 -5
  442. package/dist/collection/components/mds-modal/AGENTS.md +3 -9
  443. package/dist/collection/components/mds-modal/antipattern.md +1 -3
  444. package/dist/collection/components/mds-modal/documentation.json +37 -18
  445. package/dist/collection/components/mds-modal/mds-modal.css +7 -7
  446. package/dist/collection/components/mds-modal/mds-modal.js +4 -3
  447. package/dist/collection/components/mds-modal/pattern.md +2 -6
  448. package/dist/collection/components/mds-note/AGENTS.md +3 -5
  449. package/dist/collection/components/mds-note/documentation.json +18 -8
  450. package/dist/collection/components/mds-note/mds-note.css +2 -2
  451. package/dist/collection/components/mds-note/mds-note.js +2 -1
  452. package/dist/collection/components/mds-note/pattern.md +1 -3
  453. package/dist/collection/components/mds-notification/AGENTS.md +3 -11
  454. package/dist/collection/components/mds-notification/antipattern.md +2 -2
  455. package/dist/collection/components/mds-notification/documentation.json +33 -16
  456. package/dist/collection/components/mds-notification/mds-notification.css +2 -2
  457. package/dist/collection/components/mds-notification/mds-notification.js +4 -1
  458. package/dist/collection/components/mds-notification/pattern.md +3 -5
  459. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-paginator/documentation.json +12 -5
  461. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  462. package/dist/collection/components/mds-paginator/mds-paginator.js +4 -1
  463. package/dist/collection/components/mds-paginator/pattern.md +1 -3
  464. package/dist/collection/components/mds-paginator-item/AGENTS.md +3 -10
  465. package/dist/collection/components/mds-paginator-item/documentation.json +34 -16
  466. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +5 -5
  467. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
  468. package/dist/collection/components/mds-paginator-item/pattern.md +5 -6
  469. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  470. package/dist/collection/components/mds-policy-ai/documentation.json +6 -2
  471. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +2 -1
  472. package/dist/collection/components/mds-policy-ai/pattern.md +4 -4
  473. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  474. package/dist/collection/components/mds-pref/documentation.json +5 -5
  475. package/dist/collection/components/mds-pref/mds-pref.js +2 -2
  476. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  477. package/dist/collection/components/mds-pref-animation/documentation.json +7 -2
  478. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -1
  479. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  480. package/dist/collection/components/mds-pref-consumption/documentation.json +7 -2
  481. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -1
  482. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  483. package/dist/collection/components/mds-pref-contrast/documentation.json +7 -2
  484. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +4 -1
  485. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  486. package/dist/collection/components/mds-pref-language/documentation.json +5 -1
  487. package/dist/collection/components/mds-pref-language/mds-pref-language.js +2 -1
  488. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  489. package/dist/collection/components/mds-pref-language-item/documentation.json +7 -2
  490. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +4 -1
  491. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  492. package/dist/collection/components/mds-pref-mode/antipattern.md +1 -2
  493. package/dist/collection/components/mds-pref-mode/documentation.json +15 -7
  494. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  495. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +4 -1
  496. package/dist/collection/components/mds-pref-mode/pattern.md +1 -3
  497. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  498. package/dist/collection/components/mds-pref-theme/documentation.json +6 -2
  499. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +2 -1
  500. package/dist/collection/components/mds-pref-theme/pattern.md +1 -2
  501. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +3 -5
  502. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -2
  503. package/dist/collection/components/mds-pref-theme-item/documentation.json +19 -9
  504. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +1 -1
  505. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +4 -1
  506. package/dist/collection/components/mds-pref-theme-item/pattern.md +2 -6
  507. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  508. package/dist/collection/components/mds-price-table/documentation.json +6 -2
  509. package/dist/collection/components/mds-price-table/mds-price-table.js +2 -1
  510. package/dist/collection/components/mds-price-table/pattern.md +4 -4
  511. package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -3
  512. package/dist/collection/components/mds-price-table-features/antipattern.md +0 -1
  513. package/dist/collection/components/mds-price-table-features/documentation.json +12 -6
  514. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
  515. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
  516. package/dist/collection/components/mds-price-table-features/pattern.md +2 -3
  517. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +3 -6
  518. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +3 -3
  519. package/dist/collection/components/mds-price-table-features-cell/documentation.json +19 -9
  520. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +1 -1
  521. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
  522. package/dist/collection/components/mds-price-table-features-cell/pattern.md +1 -6
  523. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +3 -3
  524. package/dist/collection/components/mds-price-table-features-row/documentation.json +14 -6
  525. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +2 -2
  526. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
  527. package/dist/collection/components/mds-price-table-features-row/pattern.md +1 -3
  528. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  529. package/dist/collection/components/mds-price-table-header/documentation.json +5 -1
  530. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +2 -1
  531. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -5
  532. package/dist/collection/components/mds-price-table-list/antipattern.md +1 -4
  533. package/dist/collection/components/mds-price-table-list/documentation.json +10 -5
  534. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
  535. package/dist/collection/components/mds-price-table-list/pattern.md +12 -7
  536. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +2 -6
  537. package/dist/collection/components/mds-price-table-list-item/antipattern.md +1 -5
  538. package/dist/collection/components/mds-price-table-list-item/documentation.json +13 -6
  539. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  540. package/dist/collection/components/mds-price-table-list-item/pattern.md +7 -4
  541. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  542. package/dist/collection/components/mds-progress/documentation.json +15 -6
  543. package/dist/collection/components/mds-progress/mds-progress.css +5 -5
  544. package/dist/collection/components/mds-progress/mds-progress.js +2 -1
  545. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -7
  546. package/dist/collection/components/mds-push-notification/antipattern.md +2 -2
  547. package/dist/collection/components/mds-push-notification/documentation.json +24 -12
  548. package/dist/collection/components/mds-push-notification/mds-push-notification.css +11 -11
  549. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
  550. package/dist/collection/components/mds-push-notification/pattern.md +2 -5
  551. package/dist/collection/components/mds-push-notification-item/AGENTS.md +3 -5
  552. package/dist/collection/components/mds-push-notification-item/documentation.json +20 -9
  553. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +3 -3
  554. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +3 -2
  555. package/dist/collection/components/mds-push-notification-item/pattern.md +1 -3
  556. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-quote/documentation.json +5 -1
  558. package/dist/collection/components/mds-quote/mds-quote.js +2 -1
  559. package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -11
  560. package/dist/collection/components/mds-radial-menu/documentation.json +31 -15
  561. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +3 -3
  562. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +2 -1
  563. package/dist/collection/components/mds-radial-menu/pattern.md +2 -6
  564. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +2 -5
  565. package/dist/collection/components/mds-radial-menu-item/antipattern.md +7 -5
  566. package/dist/collection/components/mds-radial-menu-item/documentation.json +13 -6
  567. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +4 -1
  568. package/dist/collection/components/mds-radial-menu-item/pattern.md +6 -8
  569. package/dist/collection/components/mds-radial-progress/AGENTS.md +3 -3
  570. package/dist/collection/components/mds-radial-progress/documentation.json +15 -6
  571. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +3 -3
  572. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +2 -1
  573. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  574. package/dist/collection/components/mds-separator/documentation.json +9 -3
  575. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  576. package/dist/collection/components/mds-separator/mds-separator.js +4 -1
  577. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  578. package/dist/collection/components/mds-spinner/documentation.json +9 -3
  579. package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
  580. package/dist/collection/components/mds-spinner/mds-spinner.js +4 -1
  581. package/dist/collection/components/mds-status-bar/AGENTS.md +3 -3
  582. package/dist/collection/components/mds-status-bar/antipattern.md +0 -1
  583. package/dist/collection/components/mds-status-bar/documentation.json +13 -6
  584. package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -1
  585. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -1
  586. package/dist/collection/components/mds-status-bar/pattern.md +1 -3
  587. package/dist/collection/components/mds-stepper-bar/AGENTS.md +3 -7
  588. package/dist/collection/components/mds-stepper-bar/documentation.json +22 -10
  589. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +2 -2
  590. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +2 -1
  591. package/dist/collection/components/mds-stepper-bar/pattern.md +2 -6
  592. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +3 -11
  593. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +3 -3
  594. package/dist/collection/components/mds-stepper-bar-item/documentation.json +31 -15
  595. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
  596. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +2 -1
  597. package/dist/collection/components/mds-stepper-bar-item/pattern.md +2 -5
  598. package/dist/collection/components/mds-tab/AGENTS.md +3 -27
  599. package/dist/collection/components/mds-tab/antipattern.md +1 -3
  600. package/dist/collection/components/mds-tab/documentation.json +67 -33
  601. package/dist/collection/components/mds-tab/mds-tab.css +5 -5
  602. package/dist/collection/components/mds-tab/mds-tab.js +3 -2
  603. package/dist/collection/components/mds-tab/pattern.md +3 -13
  604. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  605. package/dist/collection/components/mds-tab-bar/antipattern.md +2 -2
  606. package/dist/collection/components/mds-tab-bar/documentation.json +7 -3
  607. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
  608. package/dist/collection/components/mds-tab-bar/pattern.md +3 -3
  609. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
  610. package/dist/collection/components/mds-tab-bar-item/documentation.json +15 -7
  611. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  612. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
  613. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -3
  614. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -8
  615. package/dist/collection/components/mds-tab-item/antipattern.md +3 -3
  616. package/dist/collection/components/mds-tab-item/documentation.json +17 -8
  617. package/dist/collection/components/mds-tab-item/mds-tab-item.js +2 -1
  618. package/dist/collection/components/mds-tab-item/pattern.md +6 -5
  619. package/dist/collection/components/mds-table/AGENTS.md +3 -7
  620. package/dist/collection/components/mds-table/documentation.json +24 -11
  621. package/dist/collection/components/mds-table/mds-table.css +3 -3
  622. package/dist/collection/components/mds-table/mds-table.js +2 -1
  623. package/dist/collection/components/mds-table/pattern.md +2 -6
  624. package/dist/collection/components/mds-table-body/AGENTS.md +3 -4
  625. package/dist/collection/components/mds-table-body/antipattern.md +1 -2
  626. package/dist/collection/components/mds-table-body/documentation.json +17 -8
  627. package/dist/collection/components/mds-table-body/mds-table-body.css +2 -2
  628. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
  629. package/dist/collection/components/mds-table-body/pattern.md +1 -4
  630. package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
  631. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  632. package/dist/collection/components/mds-table-cell/documentation.json +16 -8
  633. package/dist/collection/components/mds-table-cell/mds-table-cell.css +2 -2
  634. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
  635. package/dist/collection/components/mds-table-cell/pattern.md +1 -7
  636. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  637. package/dist/collection/components/mds-table-footer/antipattern.md +2 -2
  638. package/dist/collection/components/mds-table-footer/documentation.json +7 -3
  639. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
  640. package/dist/collection/components/mds-table-footer/pattern.md +2 -4
  641. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  642. package/dist/collection/components/mds-table-header/documentation.json +5 -1
  643. package/dist/collection/components/mds-table-header/mds-table-header.js +2 -1
  644. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  645. package/dist/collection/components/mds-table-header-cell/documentation.json +5 -1
  646. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
  647. package/dist/collection/components/mds-table-row/AGENTS.md +2 -8
  648. package/dist/collection/components/mds-table-row/antipattern.md +4 -5
  649. package/dist/collection/components/mds-table-row/documentation.json +17 -8
  650. package/dist/collection/components/mds-table-row/mds-table-row.js +4 -3
  651. package/dist/collection/components/mds-table-row/pattern.md +5 -8
  652. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  653. package/dist/collection/components/mds-text/antipattern.md +1 -2
  654. package/dist/collection/components/mds-text/documentation.json +17 -8
  655. package/dist/collection/components/mds-text/mds-text.css +3 -3
  656. package/dist/collection/components/mds-text/mds-text.js +2 -1
  657. package/dist/collection/components/mds-text/pattern.md +0 -11
  658. package/dist/collection/components/mds-toast/AGENTS.md +3 -3
  659. package/dist/collection/components/mds-toast/antipattern.md +2 -2
  660. package/dist/collection/components/mds-toast/documentation.json +19 -9
  661. package/dist/collection/components/mds-toast/mds-toast.css +4 -4
  662. package/dist/collection/components/mds-toast/mds-toast.js +2 -1
  663. package/dist/collection/components/mds-toast/pattern.md +2 -3
  664. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  665. package/dist/collection/components/mds-toast-region/documentation.json +7 -2
  666. package/dist/collection/components/mds-toast-region/mds-toast-region.css +1 -1
  667. package/dist/collection/components/mds-toast-region/mds-toast-region.js +2 -1
  668. package/dist/collection/components/mds-tooltip/AGENTS.md +3 -8
  669. package/dist/collection/components/mds-tooltip/antipattern.md +1 -1
  670. package/dist/collection/components/mds-tooltip/documentation.json +27 -13
  671. package/dist/collection/components/mds-tooltip/mds-tooltip.css +5 -5
  672. package/dist/collection/components/mds-tooltip/mds-tooltip.js +2 -1
  673. package/dist/collection/components/mds-tooltip/pattern.md +1 -3
  674. package/dist/collection/components/mds-tree/AGENTS.md +3 -28
  675. package/dist/collection/components/mds-tree/antipattern.md +3 -4
  676. package/dist/collection/components/mds-tree/documentation.json +63 -31
  677. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  678. package/dist/collection/components/mds-tree/mds-tree.js +2 -1
  679. package/dist/collection/components/mds-tree/pattern.md +3 -9
  680. package/dist/collection/components/mds-tree-item/AGENTS.md +2 -33
  681. package/dist/collection/components/mds-tree-item/antipattern.md +1 -5
  682. package/dist/collection/components/mds-tree-item/documentation.json +67 -33
  683. package/dist/collection/components/mds-tree-item/mds-tree-item.js +2 -1
  684. package/dist/collection/components/mds-tree-item/pattern.md +5 -10
  685. package/dist/collection/components/mds-url-view/AGENTS.md +3 -2
  686. package/dist/collection/components/mds-url-view/antipattern.md +1 -2
  687. package/dist/collection/components/mds-url-view/documentation.json +19 -9
  688. package/dist/collection/components/mds-url-view/mds-url-view.css +4 -4
  689. package/dist/collection/components/mds-url-view/mds-url-view.js +4 -1
  690. package/dist/collection/components/mds-url-view/pattern.md +1 -2
  691. package/dist/collection/components/mds-usage/AGENTS.md +2 -6
  692. package/dist/collection/components/mds-usage/antipattern.md +6 -4
  693. package/dist/collection/components/mds-usage/documentation.json +13 -6
  694. package/dist/collection/components/mds-usage/mds-usage.js +2 -1
  695. package/dist/collection/components/mds-usage/pattern.md +10 -6
  696. package/dist/collection/components/mds-video-wall/AGENTS.md +3 -4
  697. package/dist/collection/components/mds-video-wall/antipattern.md +5 -5
  698. package/dist/collection/components/mds-video-wall/documentation.json +15 -7
  699. package/dist/collection/components/mds-video-wall/mds-video-wall.css +1 -1
  700. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  701. package/dist/collection/components/mds-video-wall/pattern.md +2 -4
  702. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  703. package/dist/collection/components/mds-zero/antipattern.md +6 -6
  704. package/dist/collection/components/mds-zero/documentation.json +9 -4
  705. package/dist/collection/components/mds-zero/mds-zero.css +1 -1
  706. package/dist/collection/components/mds-zero/mds-zero.js +2 -1
  707. package/dist/collection/components/mds-zero/pattern.md +3 -3
  708. package/dist/components/index.d.ts +2 -0
  709. package/dist/components/index.js +1 -1
  710. package/dist/components/mds-accordion-item.js +1 -1
  711. package/dist/components/mds-accordion-timer-item.js +1 -1
  712. package/dist/components/mds-accordion-timer.js +1 -1
  713. package/dist/components/mds-accordion.js +1 -1
  714. package/dist/components/mds-author.js +1 -1
  715. package/dist/components/mds-avatar-stack-item.js +1 -1
  716. package/dist/components/mds-avatar-stack.js +1 -1
  717. package/dist/components/mds-avatar.js +1 -1
  718. package/dist/components/mds-badge.js +1 -1
  719. package/dist/components/mds-banner.js +1 -1
  720. package/dist/components/mds-benchmark-bar.js +1 -1
  721. package/dist/components/mds-bibliography.js +1 -1
  722. package/dist/components/mds-book.d.ts +11 -0
  723. package/dist/components/mds-book.js +1 -0
  724. package/dist/components/mds-breadcrumb-item.js +1 -1
  725. package/dist/components/mds-breadcrumb.js +1 -1
  726. package/dist/components/mds-button-dropdown.js +1 -1
  727. package/dist/components/mds-button-group.js +1 -1
  728. package/dist/components/mds-button.js +1 -1
  729. package/dist/components/mds-calendar-cell.js +1 -1
  730. package/dist/components/mds-calendar.js +1 -1
  731. package/dist/components/mds-card-content.js +1 -1
  732. package/dist/components/mds-card-footer.js +1 -1
  733. package/dist/components/mds-card-header.js +1 -1
  734. package/dist/components/mds-card-media.js +1 -1
  735. package/dist/components/mds-card.js +1 -1
  736. package/dist/components/mds-chip.js +1 -1
  737. package/dist/components/mds-details.js +1 -1
  738. package/dist/components/mds-dropdown.js +1 -1
  739. package/dist/components/mds-emoji.js +2 -2
  740. package/dist/components/mds-entity.js +1 -1
  741. package/dist/components/mds-file-preview.js +1 -1
  742. package/dist/components/mds-file.js +1 -1
  743. package/dist/components/mds-filter-item.js +1 -1
  744. package/dist/components/mds-filter.js +1 -1
  745. package/dist/components/mds-header-bar.js +1 -1
  746. package/dist/components/mds-header.js +1 -1
  747. package/dist/components/mds-help.js +1 -1
  748. package/dist/components/mds-horizontal-scroll.js +1 -1
  749. package/dist/components/mds-hr.js +1 -1
  750. package/dist/components/mds-icon.js +1 -1
  751. package/dist/components/mds-img.js +1 -1
  752. package/dist/components/mds-input-date-range-preselection.js +1 -1
  753. package/dist/components/mds-input-date-range.js +1 -1
  754. package/dist/components/mds-input-date.js +1 -1
  755. package/dist/components/mds-input-field.js +1 -1
  756. package/dist/components/mds-input-otp.js +1 -1
  757. package/dist/components/mds-input-range.js +1 -1
  758. package/dist/components/mds-input-select.js +1 -1
  759. package/dist/components/mds-input-switch.js +1 -1
  760. package/dist/components/mds-input-tip-item.js +1 -1
  761. package/dist/components/mds-input-tip.js +1 -1
  762. package/dist/components/mds-input-upload.js +1 -1
  763. package/dist/components/mds-input.js +1 -1
  764. package/dist/components/mds-keyboard-key.js +1 -1
  765. package/dist/components/mds-keyboard.js +1 -1
  766. package/dist/components/mds-kpi-item.js +1 -1
  767. package/dist/components/mds-kpi.js +1 -1
  768. package/dist/components/mds-label.js +1 -1
  769. package/dist/components/mds-link.js +1 -1
  770. package/dist/components/mds-list-item.js +1 -1
  771. package/dist/components/mds-list.js +1 -1
  772. package/dist/components/mds-mention.js +1 -1
  773. package/dist/components/mds-modal.js +1 -1
  774. package/dist/components/mds-note.js +1 -1
  775. package/dist/components/mds-notification.js +1 -1
  776. package/dist/components/mds-paginator-item.js +1 -1
  777. package/dist/components/mds-paginator.js +1 -1
  778. package/dist/components/mds-policy-ai.js +1 -1
  779. package/dist/components/mds-pref-animation.js +1 -1
  780. package/dist/components/mds-pref-consumption.js +1 -1
  781. package/dist/components/mds-pref-contrast.js +1 -1
  782. package/dist/components/mds-pref-language-item.js +1 -1
  783. package/dist/components/mds-pref-language.js +1 -1
  784. package/dist/components/mds-pref-mode.js +1 -1
  785. package/dist/components/mds-pref-theme-item.js +1 -1
  786. package/dist/components/mds-pref-theme.js +1 -1
  787. package/dist/components/mds-pref.js +1 -1
  788. package/dist/components/mds-price-table-features-cell.js +1 -1
  789. package/dist/components/mds-price-table-features-row.js +1 -1
  790. package/dist/components/mds-price-table-features.js +1 -1
  791. package/dist/components/mds-price-table-header.js +1 -1
  792. package/dist/components/mds-price-table-list-item.js +1 -1
  793. package/dist/components/mds-price-table-list.js +1 -1
  794. package/dist/components/mds-price-table.js +1 -1
  795. package/dist/components/mds-progress.js +1 -1
  796. package/dist/components/mds-push-notification-item.js +1 -1
  797. package/dist/components/mds-push-notification.js +1 -1
  798. package/dist/components/mds-quote.js +1 -1
  799. package/dist/components/mds-radial-menu-item.js +1 -1
  800. package/dist/components/mds-radial-menu.js +1 -1
  801. package/dist/components/mds-radial-progress.js +1 -1
  802. package/dist/components/mds-separator.js +1 -1
  803. package/dist/components/mds-spinner.js +1 -1
  804. package/dist/components/mds-status-bar.js +1 -1
  805. package/dist/components/mds-stepper-bar-item.js +1 -1
  806. package/dist/components/mds-stepper-bar.js +1 -1
  807. package/dist/components/mds-tab-bar-item.js +1 -1
  808. package/dist/components/mds-tab-bar.js +1 -1
  809. package/dist/components/mds-tab-item.js +1 -1
  810. package/dist/components/mds-tab.js +1 -1
  811. package/dist/components/mds-table-body.js +1 -1
  812. package/dist/components/mds-table-cell.js +1 -1
  813. package/dist/components/mds-table-footer.js +1 -1
  814. package/dist/components/mds-table-header-cell.js +1 -1
  815. package/dist/components/mds-table-header.js +1 -1
  816. package/dist/components/mds-table-row.js +1 -1
  817. package/dist/components/mds-table.js +1 -1
  818. package/dist/components/mds-text.js +1 -1
  819. package/dist/components/mds-toast-region.js +1 -1
  820. package/dist/components/mds-toast.js +1 -1
  821. package/dist/components/mds-tooltip.js +1 -1
  822. package/dist/components/mds-tree-item.js +1 -1
  823. package/dist/components/mds-tree.js +1 -1
  824. package/dist/components/mds-url-view.js +1 -1
  825. package/dist/components/mds-usage.js +1 -1
  826. package/dist/components/mds-video-wall.js +1 -1
  827. package/dist/components/mds-zero.js +1 -1
  828. package/dist/components/p-B8hgyXdE.js +1 -0
  829. package/dist/components/{p-DkUdrGHq.js → p-BBO_llcO.js} +1 -1
  830. package/dist/components/{p-D0A8gS-P.js → p-BM7joOdq.js} +1 -1
  831. package/dist/components/{p-DNeEn8Rr.js → p-BMIaZ4HY.js} +1 -1
  832. package/dist/components/{p-BwJQB6rG.js → p-BOJQ3tkp.js} +1 -1
  833. package/dist/components/{p-CJYY4da7.js → p-BU1O2DcC.js} +1 -1
  834. package/dist/components/{p-CaROqeeK.js → p-Bo6ezD1p.js} +1 -1
  835. package/dist/components/p-C0H8bZpf.js +1 -0
  836. package/dist/components/{p-s1CktmPS.js → p-C1YH20BL.js} +1 -1
  837. package/dist/components/{p-Cmn1DJAB.js → p-CEw7GvM-.js} +1 -1
  838. package/dist/components/{p-D-DdDIb9.js → p-CNUWS_Mg.js} +1 -1
  839. package/dist/components/{p-DucY18_e.js → p-CNpL55c-.js} +1 -1
  840. package/dist/components/{p-DnySYX0L.js → p-CV7wjM1c.js} +1 -1
  841. package/dist/components/{p-BU3bsIX2.js → p-CWSIl1jl.js} +1 -1
  842. package/dist/components/{p-DFD4E9zJ.js → p-CYK2Xr_v.js} +1 -1
  843. package/dist/components/p-Czqtt8kO.js +1 -0
  844. package/dist/components/{p-Dm-OUwDe.js → p-DD2muCqG.js} +1 -1
  845. package/dist/components/{p-ZuubAcA3.js → p-DDTJwlAd.js} +1 -1
  846. package/dist/components/{p-5lLueiFt.js → p-DJ401QTd.js} +1 -1
  847. package/dist/components/{p-BbK4qeM7.js → p-DMyL4CYh.js} +1 -1
  848. package/dist/components/{p-Cu5nEwMu.js → p-DbVGGhs_.js} +1 -1
  849. package/dist/components/{p-C4XdTZQ-.js → p-DccBbfK8.js} +1 -1
  850. package/dist/components/{p-BbgQG1UL.js → p-H0YXZ5fD.js} +2 -2
  851. package/dist/components/{p-yNPPTJ7i.js → p-IaXq1Xsc.js} +1 -1
  852. package/dist/components/{p-ClPv-Ljc.js → p-M8dGB4KH.js} +1 -1
  853. package/dist/components/{p-CPvuXO7s.js → p-TNn_HE5x.js} +1 -1
  854. package/dist/components/{p-CNF3u0Li.js → p-aujz-VM9.js} +1 -1
  855. package/dist/components/{p-CSxW5f2f.js → p-e9NGNm7d.js} +1 -1
  856. package/dist/components/{p-DkYDXDkD.js → p-kZBPId_x.js} +1 -1
  857. package/dist/components/{p-BO-jHv-F.js → p-qnCVkeGX.js} +1 -1
  858. package/dist/documentation.json +2613 -918
  859. package/dist/esm/index-CvLLN-QH.js +4 -0
  860. package/dist/esm/loader.js +1 -1
  861. package/dist/esm/magma-components.js +1 -1
  862. package/dist/esm/mds-accordion-item.entry.js +1 -1
  863. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  864. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  865. package/dist/esm/mds-accordion.entry.js +1 -1
  866. package/dist/esm/mds-author.entry.js +1 -1
  867. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  868. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  869. package/dist/esm/mds-avatar.entry.js +1 -1
  870. package/dist/esm/mds-badge.entry.js +1 -1
  871. package/dist/esm/mds-banner_3.entry.js +3 -3
  872. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  873. package/dist/esm/mds-bibliography.entry.js +1 -1
  874. package/dist/esm/mds-book.entry.js +701 -0
  875. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  876. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  877. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  878. package/dist/esm/mds-button-group.entry.js +1 -1
  879. package/dist/esm/mds-button_3.entry.js +6 -6
  880. package/dist/esm/mds-calendar_2.entry.js +6 -6
  881. package/dist/esm/mds-card-content.entry.js +1 -1
  882. package/dist/esm/mds-card-footer.entry.js +1 -1
  883. package/dist/esm/mds-card-header.entry.js +1 -1
  884. package/dist/esm/mds-card-media.entry.js +1 -1
  885. package/dist/esm/mds-card.entry.js +1 -1
  886. package/dist/esm/mds-details.entry.js +1 -1
  887. package/dist/esm/mds-dropdown.entry.js +2 -2
  888. package/dist/esm/mds-emoji.entry.js +1 -1
  889. package/dist/esm/mds-entity.entry.js +1 -1
  890. package/dist/esm/mds-file-preview.entry.js +2 -2
  891. package/dist/esm/mds-file.entry.js +1 -1
  892. package/dist/esm/mds-filter-item.entry.js +1 -1
  893. package/dist/esm/mds-filter.entry.js +1 -1
  894. package/dist/esm/mds-header-bar.entry.js +1 -1
  895. package/dist/esm/mds-header.entry.js +2 -2
  896. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  897. package/dist/esm/mds-hr.entry.js +1 -1
  898. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  899. package/dist/esm/mds-input-date-range.entry.js +2 -2
  900. package/dist/esm/mds-input-date.entry.js +2 -2
  901. package/dist/esm/mds-input-field.entry.js +1 -1
  902. package/dist/esm/mds-input-otp.entry.js +1 -1
  903. package/dist/esm/mds-input-range.entry.js +1 -1
  904. package/dist/esm/mds-input-select.entry.js +2 -2
  905. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  906. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  907. package/dist/esm/mds-input-upload.entry.js +5 -5
  908. package/dist/esm/mds-input.entry.js +2 -2
  909. package/dist/esm/mds-keyboard-key.entry.js +2 -2
  910. package/dist/esm/mds-keyboard.entry.js +2 -2
  911. package/dist/esm/mds-kpi-item.entry.js +1 -1
  912. package/dist/esm/mds-kpi.entry.js +1 -1
  913. package/dist/esm/mds-label.entry.js +1 -1
  914. package/dist/esm/mds-link.entry.js +3 -3
  915. package/dist/esm/mds-list-item.entry.js +1 -1
  916. package/dist/esm/mds-list.entry.js +1 -1
  917. package/dist/esm/mds-mention.entry.js +1 -1
  918. package/dist/esm/mds-modal.entry.js +3 -3
  919. package/dist/esm/mds-note.entry.js +1 -1
  920. package/dist/esm/mds-notification.entry.js +1 -1
  921. package/dist/esm/mds-paginator-item.entry.js +1 -1
  922. package/dist/esm/mds-paginator.entry.js +1 -1
  923. package/dist/esm/mds-policy-ai.entry.js +1 -1
  924. package/dist/esm/mds-pref-animation.entry.js +1 -1
  925. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  926. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  927. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  928. package/dist/esm/mds-pref-language.entry.js +1 -1
  929. package/dist/esm/mds-pref-mode.entry.js +1 -1
  930. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  931. package/dist/esm/mds-pref-theme.entry.js +1 -1
  932. package/dist/esm/mds-pref.entry.js +1 -1
  933. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  934. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  935. package/dist/esm/mds-price-table-features.entry.js +1 -1
  936. package/dist/esm/mds-price-table-header.entry.js +1 -1
  937. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  938. package/dist/esm/mds-price-table-list.entry.js +1 -1
  939. package/dist/esm/mds-price-table.entry.js +1 -1
  940. package/dist/esm/mds-progress_2.entry.js +2 -2
  941. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  942. package/dist/esm/mds-push-notification.entry.js +2 -2
  943. package/dist/esm/mds-quote.entry.js +1 -1
  944. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  945. package/dist/esm/mds-radial-menu.entry.js +1 -1
  946. package/dist/esm/mds-separator.entry.js +1 -1
  947. package/dist/esm/mds-status-bar.entry.js +1 -1
  948. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  949. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  950. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  951. package/dist/esm/mds-tab-bar.entry.js +1 -1
  952. package/dist/esm/mds-tab_2.entry.js +4 -4
  953. package/dist/esm/mds-table-body.entry.js +1 -1
  954. package/dist/esm/mds-table-footer.entry.js +1 -1
  955. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  956. package/dist/esm/mds-table-header.entry.js +1 -1
  957. package/dist/esm/mds-table-row.entry.js +2 -2
  958. package/dist/esm/mds-table.entry.js +1 -1
  959. package/dist/esm/mds-text.entry.js +1 -1
  960. package/dist/esm/mds-toast-region.entry.js +1 -1
  961. package/dist/esm/mds-toast.entry.js +1 -1
  962. package/dist/esm/mds-tooltip.entry.js +2 -2
  963. package/dist/esm/mds-tree-item.entry.js +1 -1
  964. package/dist/esm/mds-tree.entry.js +1 -1
  965. package/dist/esm/mds-url-view.entry.js +1 -1
  966. package/dist/esm/mds-usage.entry.js +1 -1
  967. package/dist/esm/mds-video-wall.entry.js +1 -1
  968. package/dist/esm/mds-zero.entry.js +1 -1
  969. package/dist/esm-es5/index-CvLLN-QH.js +8 -6
  970. package/dist/esm-es5/loader.js +1 -1
  971. package/dist/esm-es5/magma-components.js +2 -2
  972. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  973. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  974. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  975. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  976. package/dist/esm-es5/mds-author.entry.js +1 -1
  977. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  978. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  979. package/dist/esm-es5/mds-avatar.entry.js +5 -5
  980. package/dist/esm-es5/mds-badge.entry.js +1 -1
  981. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  982. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  983. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  984. package/dist/esm-es5/mds-book.entry.js +207 -0
  985. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  986. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  987. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  988. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  989. package/dist/esm-es5/mds-button_3.entry.js +5 -5
  990. package/dist/esm-es5/mds-calendar_2.entry.js +3 -3
  991. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  992. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  993. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  994. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  995. package/dist/esm-es5/mds-card.entry.js +1 -1
  996. package/dist/esm-es5/mds-details.entry.js +1 -1
  997. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  998. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  999. package/dist/esm-es5/mds-entity.entry.js +1 -1
  1000. package/dist/esm-es5/mds-file-preview.entry.js +3 -3
  1001. package/dist/esm-es5/mds-file.entry.js +1 -1
  1002. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  1003. package/dist/esm-es5/mds-filter.entry.js +1 -1
  1004. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  1005. package/dist/esm-es5/mds-header.entry.js +2 -2
  1006. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  1007. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1008. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1009. package/dist/esm-es5/mds-input-date-range.entry.js +2 -2
  1010. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  1011. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  1012. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  1013. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  1014. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  1015. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  1016. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  1017. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  1018. package/dist/esm-es5/mds-input.entry.js +1 -1
  1019. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1020. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1021. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1022. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1023. package/dist/esm-es5/mds-label.entry.js +1 -1
  1024. package/dist/esm-es5/mds-link.entry.js +1 -1
  1025. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  1026. package/dist/esm-es5/mds-list.entry.js +1 -1
  1027. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1028. package/dist/esm-es5/mds-modal.entry.js +1 -1
  1029. package/dist/esm-es5/mds-note.entry.js +1 -1
  1030. package/dist/esm-es5/mds-notification.entry.js +1 -1
  1031. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  1032. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1033. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  1034. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  1035. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  1036. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  1037. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  1038. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  1039. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  1040. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  1041. package/dist/esm-es5/mds-pref-theme.entry.js +6 -6
  1042. package/dist/esm-es5/mds-pref.entry.js +1 -1
  1043. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  1044. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1045. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1046. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1047. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  1048. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  1049. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1050. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  1051. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1052. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  1053. package/dist/esm-es5/mds-quote.entry.js +1 -1
  1054. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  1055. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  1056. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1057. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  1058. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  1059. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  1060. package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
  1061. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  1062. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1063. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1064. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  1065. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  1066. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  1067. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  1068. package/dist/esm-es5/mds-table.entry.js +2 -2
  1069. package/dist/esm-es5/mds-text.entry.js +1 -1
  1070. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  1071. package/dist/esm-es5/mds-toast.entry.js +1 -1
  1072. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1073. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  1074. package/dist/esm-es5/mds-tree.entry.js +1 -1
  1075. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  1076. package/dist/esm-es5/mds-usage.entry.js +1 -1
  1077. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  1078. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1079. package/dist/hydrate/index.js +1044 -156
  1080. package/dist/hydrate/index.mjs +1044 -156
  1081. package/dist/lint/core/checks.d.ts +40 -0
  1082. package/dist/lint/core/checks.js +143 -0
  1083. package/dist/lint/core/colors.d.ts +2 -0
  1084. package/dist/lint/core/colors.js +40 -0
  1085. package/dist/lint/core/data.d.ts +90 -0
  1086. package/dist/lint/core/data.js +186 -0
  1087. package/dist/lint/core/element.d.ts +55 -0
  1088. package/dist/lint/core/element.js +19 -0
  1089. package/dist/lint/eslint/adapters.d.ts +55 -0
  1090. package/dist/lint/eslint/adapters.js +254 -0
  1091. package/dist/lint/eslint/index.d.ts +7 -0
  1092. package/dist/lint/eslint/index.js +87 -0
  1093. package/dist/lint/index.d.ts +4 -0
  1094. package/dist/lint/index.js +10 -0
  1095. package/dist/lint/mcp/checks.d.ts +15 -0
  1096. package/dist/lint/mcp/checks.js +443 -0
  1097. package/dist/lint/mcp/cli.d.ts +2 -0
  1098. package/dist/lint/mcp/cli.js +29 -0
  1099. package/dist/lint/mcp/color.d.ts +12 -0
  1100. package/dist/lint/mcp/color.js +87 -0
  1101. package/dist/lint/mcp/components.d.ts +5 -0
  1102. package/dist/lint/mcp/components.js +362 -0
  1103. package/dist/lint/mcp/context.d.ts +36 -0
  1104. package/dist/lint/mcp/context.js +98 -0
  1105. package/dist/lint/mcp/guides.d.ts +3 -0
  1106. package/dist/lint/mcp/guides.js +137 -0
  1107. package/dist/lint/mcp/icon.svg +11 -0
  1108. package/dist/lint/mcp/icons.d.ts +3 -0
  1109. package/dist/lint/mcp/icons.js +196 -0
  1110. package/dist/lint/mcp/protocol.d.ts +59 -0
  1111. package/dist/lint/mcp/protocol.js +111 -0
  1112. package/dist/lint/mcp/server.d.ts +37 -0
  1113. package/dist/lint/mcp/server.js +73 -0
  1114. package/dist/lint/mcp/tokens.d.ts +37 -0
  1115. package/dist/lint/mcp/tokens.js +629 -0
  1116. package/dist/lint/mcp/tools.json +962 -0
  1117. package/dist/lint/package.json +3 -0
  1118. package/dist/lint/stylelint/index.d.ts +3 -0
  1119. package/dist/lint/stylelint/index.js +203 -0
  1120. package/dist/lint/stylelint/recommended.d.ts +3 -0
  1121. package/dist/lint/stylelint/recommended.js +11 -0
  1122. package/dist/lint/stylelint/strict.d.ts +3 -0
  1123. package/dist/lint/stylelint/strict.js +11 -0
  1124. package/dist/magma-components/magma-components.esm.js +1 -1
  1125. package/dist/magma-components/{p-a8a0a9ba.entry.js → p-00aa9a51.entry.js} +1 -1
  1126. package/dist/magma-components/{p-62e94d78.system.entry.js → p-00acb2e1.system.entry.js} +2 -2
  1127. package/dist/magma-components/{p-4bc3335f.system.entry.js → p-037126b7.system.entry.js} +1 -1
  1128. package/dist/magma-components/{p-e5d41024.system.entry.js → p-03da0376.system.entry.js} +1 -1
  1129. package/dist/magma-components/{p-25a6e977.entry.js → p-0417391b.entry.js} +1 -1
  1130. package/dist/magma-components/{p-377d0661.entry.js → p-05ef91a5.entry.js} +1 -1
  1131. package/dist/magma-components/{p-7b300282.entry.js → p-07d35da6.entry.js} +1 -1
  1132. package/dist/magma-components/{p-f4d80d9a.entry.js → p-09c80fdb.entry.js} +1 -1
  1133. package/dist/magma-components/{p-5cfa0dce.entry.js → p-0b0ca53c.entry.js} +1 -1
  1134. package/dist/magma-components/{p-624a3909.system.entry.js → p-0babf674.system.entry.js} +3 -3
  1135. package/dist/magma-components/{p-b01118cc.entry.js → p-0d90c991.entry.js} +1 -1
  1136. package/dist/magma-components/{p-9745dc51.entry.js → p-103465cf.entry.js} +1 -1
  1137. package/dist/magma-components/{p-d608b79c.entry.js → p-10983da0.entry.js} +1 -1
  1138. package/dist/magma-components/{p-52d905fe.system.entry.js → p-109926ce.system.entry.js} +2 -2
  1139. package/dist/magma-components/{p-770b3c4b.entry.js → p-14b13850.entry.js} +1 -1
  1140. package/dist/magma-components/{p-b5cc09c7.system.entry.js → p-154ba354.system.entry.js} +2 -2
  1141. package/dist/magma-components/{p-f5a33058.entry.js → p-160cd923.entry.js} +1 -1
  1142. package/dist/magma-components/{p-5ef0fb69.system.entry.js → p-1685e74c.system.entry.js} +1 -1
  1143. package/dist/magma-components/p-1748ca8b.system.entry.js +1 -0
  1144. package/dist/magma-components/{p-c03fc4fe.system.entry.js → p-17a43cb6.system.entry.js} +2 -2
  1145. package/dist/magma-components/p-17ccfc01.system.entry.js +208 -0
  1146. package/dist/magma-components/{p-f0285a1e.system.entry.js → p-1b415625.system.entry.js} +3 -3
  1147. package/dist/magma-components/{p-3e18b181.system.entry.js → p-1b67b149.system.entry.js} +1 -1
  1148. package/dist/magma-components/p-1c00d0f7.entry.js +1 -0
  1149. package/dist/magma-components/{p-79f543fc.system.entry.js → p-1cd75adf.system.entry.js} +3 -3
  1150. package/dist/magma-components/{p-8f47eb63.system.entry.js → p-1d8485de.system.entry.js} +4 -4
  1151. package/dist/magma-components/{p-168d5fad.entry.js → p-2006cfeb.entry.js} +1 -1
  1152. package/dist/magma-components/{p-02fe26b4.system.entry.js → p-2216f207.system.entry.js} +2 -2
  1153. package/dist/magma-components/{p-edf003f1.system.entry.js → p-22f24125.system.entry.js} +1 -1
  1154. package/dist/magma-components/{p-6560b426.system.entry.js → p-25c07b67.system.entry.js} +1 -1
  1155. package/dist/magma-components/{p-e3a65644.entry.js → p-29fbb7cf.entry.js} +1 -1
  1156. package/dist/magma-components/{p-f7147d05.entry.js → p-2a26b614.entry.js} +1 -1
  1157. package/dist/magma-components/p-2a6c2a41.entry.js +1 -0
  1158. package/dist/magma-components/{p-06fde29d.entry.js → p-2c28056d.entry.js} +1 -1
  1159. package/dist/magma-components/{p-23722401.entry.js → p-2c5e5cd1.entry.js} +1 -1
  1160. package/dist/magma-components/{p-d92ccce5.system.entry.js → p-2c7d091e.system.entry.js} +3 -3
  1161. package/dist/magma-components/{p-3abaa053.entry.js → p-2c997b47.entry.js} +1 -1
  1162. package/dist/magma-components/{p-0a8e8525.entry.js → p-2f39f4e4.entry.js} +1 -1
  1163. package/dist/magma-components/{p-02298ed0.system.entry.js → p-31370fdb.system.entry.js} +1 -1
  1164. package/dist/magma-components/{p-3df07021.system.entry.js → p-3139988c.system.entry.js} +1 -1
  1165. package/dist/magma-components/p-32418266.entry.js +1 -0
  1166. package/dist/magma-components/{p-cc9659e1.system.entry.js → p-33c80de3.system.entry.js} +1 -1
  1167. package/dist/magma-components/{p-09a7b578.system.entry.js → p-34c0e63c.system.entry.js} +1 -1
  1168. package/dist/magma-components/{p-3c669cfb.entry.js → p-354a5b47.entry.js} +1 -1
  1169. package/dist/magma-components/{p-071f5c7b.system.entry.js → p-35c6341a.system.entry.js} +3 -3
  1170. package/dist/magma-components/{p-f09b08f9.entry.js → p-379f51a6.entry.js} +1 -1
  1171. package/dist/magma-components/{p-7c217aa5.entry.js → p-381f49ea.entry.js} +1 -1
  1172. package/dist/magma-components/{p-221c2f0d.entry.js → p-384ab014.entry.js} +1 -1
  1173. package/dist/magma-components/{p-6af00399.system.entry.js → p-386bb24e.system.entry.js} +3 -3
  1174. package/dist/magma-components/{p-1e18fcc5.system.entry.js → p-39a2df98.system.entry.js} +1 -1
  1175. package/dist/magma-components/{p-2752b45a.system.entry.js → p-3a7c4314.system.entry.js} +3 -3
  1176. package/dist/magma-components/{p-7be0d28b.entry.js → p-3a9a75e5.entry.js} +1 -1
  1177. package/dist/magma-components/{p-5435f2a9.entry.js → p-3b691cc3.entry.js} +1 -1
  1178. package/dist/magma-components/{p-88460d31.system.entry.js → p-3bdb541f.system.entry.js} +1 -1
  1179. package/dist/magma-components/{p-85fb1d08.entry.js → p-3ca004c3.entry.js} +1 -1
  1180. package/dist/magma-components/{p-4776ac1f.entry.js → p-3caf6a26.entry.js} +1 -1
  1181. package/dist/magma-components/{p-ced3ebb8.entry.js → p-3dccd446.entry.js} +1 -1
  1182. package/dist/magma-components/{p-55b10b70.system.entry.js → p-3dde41b0.system.entry.js} +1 -1
  1183. package/dist/magma-components/{p-be6e156a.system.entry.js → p-3e8e0003.system.entry.js} +2 -2
  1184. package/dist/magma-components/{p-21547758.system.entry.js → p-3f0e6729.system.entry.js} +3 -3
  1185. package/dist/magma-components/{p-f306b5c1.entry.js → p-42ab27de.entry.js} +1 -1
  1186. package/dist/magma-components/{p-803957de.system.entry.js → p-430a4c4b.system.entry.js} +1 -1
  1187. package/dist/magma-components/{p-d48c40ab.system.entry.js → p-47b05fa1.system.entry.js} +1 -1
  1188. package/dist/magma-components/{p-e5eb2390.entry.js → p-47db3155.entry.js} +1 -1
  1189. package/dist/magma-components/{p-2c845743.system.entry.js → p-48f86057.system.entry.js} +1 -1
  1190. package/dist/magma-components/{p-7961c335.system.entry.js → p-4a72d72c.system.entry.js} +1 -1
  1191. package/dist/magma-components/{p-227f57e6.entry.js → p-4aa94380.entry.js} +1 -1
  1192. package/dist/magma-components/{p-b9ca6c2e.entry.js → p-4ab2eb7e.entry.js} +1 -1
  1193. package/dist/magma-components/{p-c3c487aa.system.entry.js → p-4bea91e1.system.entry.js} +1 -1
  1194. package/dist/magma-components/{p-f588cf9e.entry.js → p-4cd21f19.entry.js} +1 -1
  1195. package/dist/magma-components/{p-dbca23af.entry.js → p-4de89d1b.entry.js} +1 -1
  1196. package/dist/magma-components/{p-23fabd66.system.entry.js → p-50c8f36c.system.entry.js} +1 -1
  1197. package/dist/magma-components/{p-f39416e9.system.entry.js → p-5200ab23.system.entry.js} +2 -2
  1198. package/dist/magma-components/{p-f35608b2.entry.js → p-52211fa3.entry.js} +1 -1
  1199. package/dist/magma-components/{p-37487e8b.system.entry.js → p-53981624.system.entry.js} +1 -1
  1200. package/dist/magma-components/p-53acdc6b.entry.js +1 -0
  1201. package/dist/magma-components/p-5660182a.system.entry.js +1 -0
  1202. package/dist/magma-components/{p-464e6431.entry.js → p-56c5ca6f.entry.js} +1 -1
  1203. package/dist/magma-components/p-57e92942.system.entry.js +20 -0
  1204. package/dist/magma-components/{p-63b10a6e.entry.js → p-59aa4994.entry.js} +1 -1
  1205. package/dist/magma-components/{p-9a3ddc91.entry.js → p-59f06b9c.entry.js} +1 -1
  1206. package/dist/magma-components/{p-3d95e688.system.entry.js → p-5aa78075.system.entry.js} +3 -3
  1207. package/dist/magma-components/{p-14635a8f.entry.js → p-5cf87a7f.entry.js} +1 -1
  1208. package/dist/magma-components/{p-87baf82a.entry.js → p-5e8df58d.entry.js} +1 -1
  1209. package/dist/magma-components/{p-880f3eac.system.entry.js → p-5ed74216.system.entry.js} +1 -1
  1210. package/dist/magma-components/{p-50705d36.system.entry.js → p-5f064376.system.entry.js} +1 -1
  1211. package/dist/magma-components/{p-93d7485d.entry.js → p-60727165.entry.js} +2 -2
  1212. package/dist/magma-components/{p-278c362d.entry.js → p-6093aa8e.entry.js} +1 -1
  1213. package/dist/magma-components/{p-b8a59768.entry.js → p-62d9eaca.entry.js} +1 -1
  1214. package/dist/magma-components/{p-947fcf74.system.entry.js → p-6b402a09.system.entry.js} +9 -9
  1215. package/dist/magma-components/p-6b55c5fe.system.entry.js +1 -0
  1216. package/dist/magma-components/{p-3d162e99.system.entry.js → p-6d57674c.system.entry.js} +2 -2
  1217. package/dist/magma-components/p-6d96d223.entry.js +1 -0
  1218. package/dist/magma-components/{p-38b16983.system.entry.js → p-6df26141.system.entry.js} +3 -3
  1219. package/dist/magma-components/{p-5f8db04c.system.entry.js → p-6df7da52.system.entry.js} +1 -1
  1220. package/dist/magma-components/{p-9250ec26.system.entry.js → p-6e751bcc.system.entry.js} +2 -2
  1221. package/dist/magma-components/{p-fc22f5e0.system.entry.js → p-718d6384.system.entry.js} +1 -1
  1222. package/dist/magma-components/{p-b4633c9c.system.entry.js → p-71dab494.system.entry.js} +3 -3
  1223. package/dist/magma-components/{p-ec635255.entry.js → p-732d09b6.entry.js} +1 -1
  1224. package/dist/magma-components/{p-fac6f123.entry.js → p-73f4f67e.entry.js} +1 -1
  1225. package/dist/magma-components/{p-772c18f4.entry.js → p-785fa112.entry.js} +1 -1
  1226. package/dist/magma-components/{p-9cf81575.system.entry.js → p-79fd07e7.system.entry.js} +1 -1
  1227. package/dist/magma-components/{p-0033cb92.system.entry.js → p-7acbc6ea.system.entry.js} +1 -1
  1228. package/dist/magma-components/{p-67eb3881.entry.js → p-7dd0364b.entry.js} +1 -1
  1229. package/dist/magma-components/{p-85a31141.entry.js → p-7e7391fd.entry.js} +1 -1
  1230. package/dist/magma-components/{p-f5326224.system.entry.js → p-7ec28ff1.system.entry.js} +2 -2
  1231. package/dist/magma-components/{p-f901c844.entry.js → p-7f74ec99.entry.js} +1 -1
  1232. package/dist/magma-components/{p-0679c988.system.entry.js → p-7ffce9e8.system.entry.js} +1 -1
  1233. package/dist/magma-components/{p-06ccc40d.entry.js → p-81212e34.entry.js} +1 -1
  1234. package/dist/magma-components/{p-cf6f54e5.system.entry.js → p-8219e58f.system.entry.js} +2 -2
  1235. package/dist/magma-components/{p-eb92312f.system.entry.js → p-84711ab6.system.entry.js} +3 -3
  1236. package/dist/magma-components/p-84bf333b.entry.js +1 -0
  1237. package/dist/magma-components/{p-4792ff7f.entry.js → p-84d0d701.entry.js} +1 -1
  1238. package/dist/magma-components/{p-30be5c39.entry.js → p-857ae762.entry.js} +1 -1
  1239. package/dist/magma-components/{p-8f63f1a1.system.entry.js → p-87395a4d.system.entry.js} +1 -1
  1240. package/dist/magma-components/{p-2431fbfa.system.entry.js → p-87831da2.system.entry.js} +1 -1
  1241. package/dist/magma-components/{p-e39518b4.system.entry.js → p-896310aa.system.entry.js} +2 -2
  1242. package/dist/magma-components/{p-dc1a5826.system.entry.js → p-8ac1ba5c.system.entry.js} +1 -1
  1243. package/dist/magma-components/{p-86cf87fb.entry.js → p-8b8a6662.entry.js} +1 -1
  1244. package/dist/magma-components/{p-62fc9695.entry.js → p-8d7093af.entry.js} +1 -1
  1245. package/dist/magma-components/{p-8ab9ff37.system.entry.js → p-8e15c151.system.entry.js} +1 -1
  1246. package/dist/magma-components/{p-075acd04.entry.js → p-8f1c529f.entry.js} +1 -1
  1247. package/dist/magma-components/{p-07a3c63c.system.entry.js → p-8f1e9021.system.entry.js} +1 -1
  1248. package/dist/magma-components/{p-69abd1d1.entry.js → p-904c1222.entry.js} +1 -1
  1249. package/dist/magma-components/{p-a70fb4fb.system.entry.js → p-907f06cd.system.entry.js} +9 -9
  1250. package/dist/magma-components/{p-3f68ddca.entry.js → p-9332358d.entry.js} +1 -1
  1251. package/dist/magma-components/{p-44998584.system.entry.js → p-93b9d39d.system.entry.js} +2 -2
  1252. package/dist/magma-components/{p-d8ae0f02.system.entry.js → p-965e7a82.system.entry.js} +1 -1
  1253. package/dist/magma-components/{p-c50e20cf.system.entry.js → p-96dfb60e.system.entry.js} +1 -1
  1254. package/dist/magma-components/{p-3beea731.system.entry.js → p-9c408768.system.entry.js} +1 -1
  1255. package/dist/magma-components/{p-1d2220f0.system.entry.js → p-9e792bed.system.entry.js} +1 -1
  1256. package/dist/magma-components/{p-8258733b.entry.js → p-9fdd477a.entry.js} +1 -1
  1257. package/dist/magma-components/{p-f82c2b7e.system.entry.js → p-9fefa077.system.entry.js} +1 -1
  1258. package/dist/magma-components/p-B8zYiZQY.system.js +2 -2
  1259. package/dist/magma-components/{p-97eb734a.system.entry.js → p-a0d637b6.system.entry.js} +1 -1
  1260. package/dist/magma-components/p-a26c05b6.entry.js +1 -0
  1261. package/dist/magma-components/{p-ccc40c6a.system.entry.js → p-a7baf451.system.entry.js} +2 -2
  1262. package/dist/magma-components/{p-77545238.entry.js → p-ac9feb04.entry.js} +1 -1
  1263. package/dist/magma-components/{p-dedbf8d6.entry.js → p-ad383f92.entry.js} +1 -1
  1264. package/dist/magma-components/{p-1ea582a9.system.entry.js → p-ae4736a0.system.entry.js} +3 -3
  1265. package/dist/magma-components/{p-9fc385aa.entry.js → p-b3332c5f.entry.js} +1 -1
  1266. package/dist/magma-components/{p-a987086b.system.entry.js → p-b3e2b68a.system.entry.js} +1 -1
  1267. package/dist/magma-components/{p-808b9277.entry.js → p-b86144d4.entry.js} +1 -1
  1268. package/dist/magma-components/{p-a0612465.system.entry.js → p-bbde5701.system.entry.js} +1 -1
  1269. package/dist/magma-components/{p-5472f18d.system.entry.js → p-bc075b3b.system.entry.js} +2 -2
  1270. package/dist/magma-components/{p-29971e1d.entry.js → p-bc19b136.entry.js} +1 -1
  1271. package/dist/magma-components/{p-17ec24dc.entry.js → p-bcca26d9.entry.js} +1 -1
  1272. package/dist/magma-components/{p-8b501f92.entry.js → p-bf35627d.entry.js} +1 -1
  1273. package/dist/magma-components/p-bfd95736.entry.js +1 -0
  1274. package/dist/magma-components/{p-6a2d67d1.system.entry.js → p-c086a5a4.system.entry.js} +1 -1
  1275. package/dist/magma-components/{p-41a0f896.entry.js → p-c27206ca.entry.js} +1 -1
  1276. package/dist/magma-components/{p-762a6b7b.entry.js → p-c2758b81.entry.js} +1 -1
  1277. package/dist/magma-components/{p-d3491226.system.entry.js → p-c2c693ed.system.entry.js} +1 -1
  1278. package/dist/magma-components/{p-642925b7.system.entry.js → p-c4a5ab6e.system.entry.js} +1 -1
  1279. package/dist/magma-components/{p-b23bee0c.entry.js → p-c58157cf.entry.js} +1 -1
  1280. package/dist/magma-components/{p-8a9544aa.entry.js → p-c597ad47.entry.js} +1 -1
  1281. package/dist/magma-components/{p-295d8fab.entry.js → p-c7b2ebb5.entry.js} +1 -1
  1282. package/dist/magma-components/{p-046697e4.system.entry.js → p-c8b06821.system.entry.js} +1 -1
  1283. package/dist/magma-components/p-ca1143bc.entry.js +1 -0
  1284. package/dist/magma-components/p-cb88fa71.entry.js +1 -0
  1285. package/dist/magma-components/{p-cc954b22.system.entry.js → p-cd783f9e.system.entry.js} +1 -1
  1286. package/dist/magma-components/{p-bd97e368.system.entry.js → p-cd955bc7.system.entry.js} +1 -1
  1287. package/dist/magma-components/{p-1f623b75.entry.js → p-ce42e251.entry.js} +1 -1
  1288. package/dist/magma-components/{p-7bf46d43.entry.js → p-cf4f4561.entry.js} +1 -1
  1289. package/dist/magma-components/{p-44333d50.system.entry.js → p-d0a15a3a.system.entry.js} +1 -1
  1290. package/dist/magma-components/{p-f616f467.entry.js → p-d218ae47.entry.js} +1 -1
  1291. package/dist/magma-components/{p-69badbba.entry.js → p-d331ff5c.entry.js} +1 -1
  1292. package/dist/magma-components/{p-f75935ed.system.entry.js → p-d3844c9a.system.entry.js} +4 -4
  1293. package/dist/magma-components/{p-837d31b8.entry.js → p-d3ac9a1a.entry.js} +1 -1
  1294. package/dist/magma-components/{p-8740403e.system.entry.js → p-d4c3250f.system.entry.js} +2 -2
  1295. package/dist/magma-components/p-d638bbb0.entry.js +1 -0
  1296. package/dist/magma-components/{p-72ad419d.system.entry.js → p-d65e9f0a.system.entry.js} +1 -1
  1297. package/dist/magma-components/{p-7d0c8177.entry.js → p-d87ecd68.entry.js} +1 -1
  1298. package/dist/magma-components/{p-2e48f88d.system.entry.js → p-d93b48b4.system.entry.js} +1 -1
  1299. package/dist/magma-components/{p-de1ae02c.entry.js → p-d94281cb.entry.js} +1 -1
  1300. package/dist/magma-components/{p-b467f737.entry.js → p-d9f92ff8.entry.js} +1 -1
  1301. package/dist/magma-components/{p-4cabfdbc.entry.js → p-da9bc02a.entry.js} +1 -1
  1302. package/dist/magma-components/{p-521ba3a8.entry.js → p-dc618cae.entry.js} +1 -1
  1303. package/dist/magma-components/p-de38f745.entry.js +1 -0
  1304. package/dist/magma-components/{p-e2fa6300.system.entry.js → p-dee123c7.system.entry.js} +1 -1
  1305. package/dist/magma-components/p-df387755.entry.js +1 -0
  1306. package/dist/magma-components/{p-b373cc32.entry.js → p-dfab370b.entry.js} +1 -1
  1307. package/dist/magma-components/{p-0e887379.system.entry.js → p-e30d0684.system.entry.js} +2 -2
  1308. package/dist/magma-components/{p-f66675f5.system.entry.js → p-e371f9e1.system.entry.js} +1 -1
  1309. package/dist/magma-components/{p-8f7daab1.system.entry.js → p-e3b9ea0b.system.entry.js} +1 -1
  1310. package/dist/magma-components/{p-104ba54e.system.entry.js → p-e3d262d9.system.entry.js} +2 -2
  1311. package/dist/magma-components/{p-7fde3025.system.entry.js → p-e54587e7.system.entry.js} +3 -3
  1312. package/dist/magma-components/{p-ad05ef26.system.entry.js → p-e5f893f9.system.entry.js} +1 -1
  1313. package/dist/magma-components/{p-2c3f518c.system.entry.js → p-e709a52e.system.entry.js} +2 -2
  1314. package/dist/magma-components/{p-8d14f146.entry.js → p-e8452cce.entry.js} +1 -1
  1315. package/dist/magma-components/{p-09f621ea.entry.js → p-ea503851.entry.js} +1 -1
  1316. package/dist/magma-components/{p-6dff107d.system.entry.js → p-ec44a4ea.system.entry.js} +2 -2
  1317. package/dist/magma-components/{p-9f6c502b.entry.js → p-ed133270.entry.js} +1 -1
  1318. package/dist/magma-components/{p-bb282bc1.system.entry.js → p-ee780f82.system.entry.js} +2 -2
  1319. package/dist/magma-components/p-ef4ee9ca.entry.js +1 -0
  1320. package/dist/magma-components/{p-7ca73c56.entry.js → p-f045b018.entry.js} +1 -1
  1321. package/dist/magma-components/{p-b69c3126.entry.js → p-f2211b1f.entry.js} +1 -1
  1322. package/dist/magma-components/{p-c40ad03a.entry.js → p-f267ff68.entry.js} +1 -1
  1323. package/dist/magma-components/{p-d254de66.system.entry.js → p-f27de6cb.system.entry.js} +1 -1
  1324. package/dist/magma-components/{p-2d9c9ef9.entry.js → p-f2ef884c.entry.js} +1 -1
  1325. package/dist/magma-components/{p-9f8ce68f.entry.js → p-f3f88f32.entry.js} +1 -1
  1326. package/dist/magma-components/{p-94439d8b.system.entry.js → p-f40e3918.system.entry.js} +2 -2
  1327. package/dist/magma-components/{p-6e32bf99.entry.js → p-f4181b35.entry.js} +1 -1
  1328. package/dist/magma-components/{p-8a76097f.entry.js → p-f4351160.entry.js} +1 -1
  1329. package/dist/magma-components/{p-c3a3caae.system.entry.js → p-f4fc9f29.system.entry.js} +1 -1
  1330. package/dist/magma-components/{p-da93a00b.system.entry.js → p-f5c7b147.system.entry.js} +1 -1
  1331. package/dist/magma-components/{p-84ed22ea.system.entry.js → p-f7d5445c.system.entry.js} +1 -1
  1332. package/dist/magma-components/{p-08370fc2.system.entry.js → p-f7e9af99.system.entry.js} +1 -1
  1333. package/dist/magma-components/{p-95478664.system.entry.js → p-f8c85ad7.system.entry.js} +1 -1
  1334. package/dist/magma-components/{p-c6819aad.entry.js → p-f9b601de.entry.js} +1 -1
  1335. package/dist/magma-components/{p-ffbf7448.entry.js → p-fa44d0d2.entry.js} +1 -1
  1336. package/dist/magma-components/{p-d3d74616.entry.js → p-fba648e0.entry.js} +1 -1
  1337. package/dist/magma-components/{p-35528bdd.system.entry.js → p-fe8e3721.system.entry.js} +1 -1
  1338. package/dist/magma-components/{p-2a4d22c9.system.entry.js → p-fe98a77e.system.entry.js} +2 -2
  1339. package/dist/magma-components/{p-8ca2e879.system.entry.js → p-ff7fc1f6.system.entry.js} +2 -2
  1340. package/dist/stats.json +3133 -1157
  1341. package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -0
  1342. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -0
  1343. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -0
  1344. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -0
  1345. package/dist/types/components/mds-author/mds-author.d.ts +1 -0
  1346. package/dist/types/components/mds-avatar/mds-avatar.d.ts +1 -0
  1347. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +1 -0
  1348. package/dist/types/components/mds-avatar-stack-item/mds-avatar-stack-item.d.ts +3 -0
  1349. package/dist/types/components/mds-badge/mds-badge.d.ts +1 -0
  1350. package/dist/types/components/mds-banner/mds-banner.d.ts +1 -0
  1351. package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -0
  1352. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +3 -0
  1353. package/dist/types/components/mds-book/mds-book.d.ts +114 -0
  1354. package/dist/types/components/mds-book/meta/dictionary.d.ts +4 -0
  1355. package/dist/types/components/mds-book/meta/format.d.ts +30 -0
  1356. package/dist/types/components/mds-book/meta/pose.d.ts +64 -0
  1357. package/dist/types/components/mds-book/meta/spine.d.ts +33 -0
  1358. package/dist/types/components/mds-book/meta/types.d.ts +3 -0
  1359. package/dist/types/components/mds-book/meta/volume.d.ts +22 -0
  1360. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +1 -0
  1361. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +1 -0
  1362. package/dist/types/components/mds-button/mds-button.d.ts +1 -0
  1363. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1364. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -0
  1365. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1366. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +3 -0
  1367. package/dist/types/components/mds-card/mds-card.d.ts +1 -0
  1368. package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -0
  1369. package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -0
  1370. package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -0
  1371. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1372. package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
  1373. package/dist/types/components/mds-details/mds-details.d.ts +1 -0
  1374. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1375. package/dist/types/components/mds-emoji/mds-emoji.d.ts +3 -0
  1376. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1377. package/dist/types/components/mds-file/mds-file.d.ts +3 -0
  1378. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +1 -0
  1379. package/dist/types/components/mds-filter/mds-filter.d.ts +1 -0
  1380. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +3 -0
  1381. package/dist/types/components/mds-header/mds-header.d.ts +1 -0
  1382. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1383. package/dist/types/components/mds-help/mds-help.d.ts +1 -0
  1384. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1385. package/dist/types/components/mds-hr/mds-hr.d.ts +3 -0
  1386. package/dist/types/components/mds-icon/mds-icon.d.ts +1 -0
  1387. package/dist/types/components/mds-img/mds-img.d.ts +1 -0
  1388. package/dist/types/components/mds-input/mds-input.d.ts +1 -0
  1389. package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
  1390. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +1 -0
  1391. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +1 -0
  1392. package/dist/types/components/mds-input-field/mds-input-field.d.ts +1 -0
  1393. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +3 -0
  1394. package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
  1395. package/dist/types/components/mds-input-select/mds-input-select.d.ts +1 -0
  1396. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +1 -0
  1397. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +1 -0
  1398. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +1 -0
  1399. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
  1400. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -0
  1401. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
  1402. package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -0
  1403. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -0
  1404. package/dist/types/components/mds-label/mds-label.d.ts +3 -0
  1405. package/dist/types/components/mds-link/mds-link.d.ts +1 -0
  1406. package/dist/types/components/mds-list/mds-list.d.ts +1 -0
  1407. package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -0
  1408. package/dist/types/components/mds-mention/mds-mention.d.ts +3 -0
  1409. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1410. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1411. package/dist/types/components/mds-notification/mds-notification.d.ts +3 -0
  1412. package/dist/types/components/mds-paginator/mds-paginator.d.ts +3 -0
  1413. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +1 -0
  1414. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -0
  1415. package/dist/types/components/mds-pref/mds-pref.d.ts +1 -1
  1416. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
  1417. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
  1418. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
  1419. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +1 -0
  1420. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
  1421. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +3 -0
  1422. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +1 -0
  1423. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +3 -0
  1424. package/dist/types/components/mds-price-table/mds-price-table.d.ts +1 -0
  1425. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -0
  1426. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -0
  1427. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -0
  1428. package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +1 -0
  1429. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1430. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1431. package/dist/types/components/mds-progress/mds-progress.d.ts +1 -0
  1432. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +1 -0
  1433. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +1 -0
  1434. package/dist/types/components/mds-quote/mds-quote.d.ts +1 -0
  1435. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1436. package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
  1437. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +1 -0
  1438. package/dist/types/components/mds-separator/mds-separator.d.ts +3 -0
  1439. package/dist/types/components/mds-spinner/mds-spinner.d.ts +3 -0
  1440. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -0
  1441. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -0
  1442. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -0
  1443. package/dist/types/components/mds-tab/mds-tab.d.ts +1 -0
  1444. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -0
  1445. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -0
  1446. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -0
  1447. package/dist/types/components/mds-table/mds-table.d.ts +1 -0
  1448. package/dist/types/components/mds-table-body/mds-table-body.d.ts +1 -0
  1449. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -0
  1450. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -0
  1451. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -0
  1452. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +1 -0
  1453. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1454. package/dist/types/components/mds-text/mds-text.d.ts +1 -0
  1455. package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
  1456. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +1 -0
  1457. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -0
  1458. package/dist/types/components/mds-tree/mds-tree.d.ts +1 -0
  1459. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -0
  1460. package/dist/types/components/mds-url-view/mds-url-view.d.ts +3 -0
  1461. package/dist/types/components/mds-usage/mds-usage.d.ts +1 -0
  1462. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -0
  1463. package/dist/types/components/mds-zero/mds-zero.d.ts +1 -0
  1464. package/dist/types/components.d.ts +1517 -6
  1465. package/package.json +43 -5
  1466. package/dist/components/p-B0AnE3sA.js +0 -1
  1467. package/dist/components/p-CHHEp_7y.js +0 -1
  1468. package/dist/components/p-D8wd-EZX.js +0 -1
  1469. package/dist/magma-components/p-0193734e.entry.js +0 -1
  1470. package/dist/magma-components/p-083dceb8.system.entry.js +0 -1
  1471. package/dist/magma-components/p-093b8fbc.system.entry.js +0 -20
  1472. package/dist/magma-components/p-0e2cd21e.entry.js +0 -1
  1473. package/dist/magma-components/p-11320427.entry.js +0 -1
  1474. package/dist/magma-components/p-1c2c4670.entry.js +0 -1
  1475. package/dist/magma-components/p-335244bb.entry.js +0 -1
  1476. package/dist/magma-components/p-3fb46ab9.system.entry.js +0 -1
  1477. package/dist/magma-components/p-4d485e1f.system.entry.js +0 -1
  1478. package/dist/magma-components/p-6436178a.entry.js +0 -1
  1479. package/dist/magma-components/p-7ad68b2f.entry.js +0 -1
  1480. package/dist/magma-components/p-89d4b6e9.entry.js +0 -1
  1481. package/dist/magma-components/p-984dd850.entry.js +0 -1
  1482. package/dist/magma-components/p-a7c01334.entry.js +0 -1
  1483. package/dist/magma-components/p-ab4b617d.entry.js +0 -1
  1484. package/dist/magma-components/p-d6b38d8a.entry.js +0 -1
  1485. package/dist/magma-components/p-e1383302.entry.js +0 -1
@@ -1 +1 @@
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-CZjwSwe5.js";import{d as c}from"./p-DFD4E9zJ.js";import{d as o}from"./p-ClPv-Ljc.js";import{d as s}from"./p-D0A8gS-P.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 g='<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>',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:g,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:g,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:h,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:g,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:h,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:g,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:h,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,M=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,M 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-CZjwSwe5.js";import{d as c}from"./p-CYK2Xr_v.js";import{d as o}from"./p-M8dGB4KH.js";import{d as s}from"./p-BM7joOdq.js";import{d as l}from"./p-BOJQ3tkp.js";import{d}from"./p-BMIaZ4HY.js";import{d as m}from"./p-CEw7GvM-.js";import{d as p}from"./p-DDTJwlAd.js";import{d as b}from"./p-aujz-VM9.js";import{d as u}from"./p-Czqtt8kO.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:"e396029f5bfbf222ea96b6fd5b3a8e537662f545"},"icon"===this.variant&&i("mds-help",{key:"912ff694de75dc4e8ef6a173a9cbb3bd3b4f1839",icon:f,class:"icon-help",onClick:this.handleIconClick,part:"icon"},i("div",{key:"535c6c2abc0ae5a526281f460d05a234c836d251",class:"icon-tip-content"},i("mds-text",{key:"23d6530d8e0bb947115e1fb246523f5e5a178bbc",typography:"tip"},null!==(a=this.headline)&&void 0!==a?a:this.t.get("iconTooltip")),i("mds-text",{key:"fbe3a65e8f80c8d518e1b83ce310d4b3387593d8",typography:"tip"},null!==(e=this.description)&&void 0!==e?e:this.t.get("iconLinkLabel")))),"chip"===this.variant&&i("div",{key:"ac4e56d1ff38beda6e08056c42fe0a94426a3048",class:"chip-wrapper",part:"chip-wrapper"},i("mds-chip",{key:"7ef457c70df985f6445c8f4d826493320f40e56a",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:"3bdd4739442b7d55390a9a7af27071e31851b9d7",target:"#chip",class:"chip-dropdown",interaction:"mouseover",role:"group"},i("mds-text",{key:"4070ca71a7c867f326f6ff2724110f3d92e39fb8",typography:"tip"},null!==(r=this.description)&&void 0!==r?r:this.t.get("cardDescription")),i("mds-button",{key:"6e4fd66dd3b15601460f7cef69ee0e10e6def9c0",icon:h,href:this.href,variant:"ai",tone:"weak",size:"sm",label:this.t.get("linkLabel")}))),"card"===this.variant&&i("div",{key:"00b442e4c52eb8b3736d21fab046da055feba94d",class:"mini-card",part:"card"},i("mds-icon",{key:"66b11c2516b4ef5ca346d7a89998679d1885136e",name:f,class:"mini-card-icon"}),i("div",{key:"17a4c3839f1e338be4ccc1e03ed92dd4a00d70b0",class:"mini-card-content"},i("mds-text",{key:"f09ada514361dad4ca98b9e4ad3307739787c043",typography:"caption"},null!==(c=this.description)&&void 0!==c?c:this.t.get("iconTooltip")),i("mds-button",{key:"bfeffbba85e9925c9920a16eeda457056997e45f",class:"mini-card-button",icon:h,href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"ea620c5b245bf129b88d63b60b4669d2ca510847",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"cd9ff21de165f6bf202b1e4f0e0e422a44a71deb",class:"link-label-short"},this.t.get("linkLabelShort"))))),"banner"===this.variant&&i("mds-banner",{key:"586d6d4042d63c9e47ce3afa8c286a5c7278c878",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:"f0135bf6d2cfa451dbb086530a3ea9a5f2ed408c",typography:"caption"},null!==(s=this.description)&&void 0!==s?s:this.t.get("bannerDescription")),i("mds-button",{key:"31f0cd851e57e3144bbc9fd70726372173eca2b0",icon:h,slot:"action",href:this.href,variant:"ai",tone:"weak",size:"sm"},i("span",{key:"c9f99cdcb14ac610111f7184b91f2b640a16603c",class:"link-label-long"},this.t.get("linkLabel")),i("span",{key:"b752c254af256f0f590f6332f74af60af65c9a48",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,A=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,A 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-TZJN-ygm.js";import{m as o}from"./p-lZldSMeV.js";import{m}from"./p-XQgkfNpn.js";import{L as r}from"./p-CZjwSwe5.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 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:"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}]}]),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))||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{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-CZjwSwe5.js";import{p as d}from"./p-CVRN4LDc.js";import{d as l}from"./p-M8dGB4KH.js";import{d as c}from"./p-CEw7GvM-.js";import{d as h}from"./p-DDTJwlAd.js";import{d as b}from"./p-C0H8bZpf.js";import{d as f}from"./p-DMyL4CYh.js";import{d as p}from"./p-aujz-VM9.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:"428bb5a4625df782d168fb5f380fadf0c413e348","pref-contrast":d.state.contrast},i("mds-text",{key:"a4f40eabe7223651d02a84eecf395cd324704d60",class:"info",typography:"caption"},i("b",{key:"99ebfd5e700a86c29e08203da675247a552d327c"},this.t.get("label"))," ",this.t.get(this.animation[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"d1bc4e6dbb5658f9995ef351a7e500a32cbd2f29",fill:!0,size:this.size},i("mds-tab-item",{key:"8c4d7bdd22db2fd6d7be48b8f1707a309b65c235",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:"7e9d2a5602d84c756be013dcc40bea382ba35c1f",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:"0ec4356e24b277d1f1188b5f3b6d8b4feb664cb9",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))||b();break;case"mds-tab-item":customElements.get(n(t))||f();break;case"mds-text":customElements.get(n(t))||p()}}))};export{x 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-TZJN-ygm.js";import{L as m}from"./p-CZjwSwe5.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
+ 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-CZjwSwe5.js";import{p as n}from"./p-CVRN4LDc.js";import{d as r}from"./p-M8dGB4KH.js";import{d}from"./p-CEw7GvM-.js";import{d as c}from"./p-DDTJwlAd.js";import{d as l}from"./p-C0H8bZpf.js";import{d as h}from"./p-DMyL4CYh.js";import{d as u}from"./p-aujz-VM9.js";var p={consumptionHigh:"Υψηλή",consumptionLow:"Χαμηλή",consumptionMedium:"Μεσαία",label:"Κατανάλωση"},f={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:p,en:f,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:"9367f3e92755506d8b404e8c5aa248d0814cd7db","pref-contrast":n.state.contrast},i("mds-text",{key:"52bd6278f1dfd82dac98cde7c13990942fdf06d1",class:"info",typography:"caption"},i("b",{key:"432086ce482f81f100496eed9ec40114342f973c"},this.t.get("label"))," ",this.t.get(this.consumption[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"665cd3ff4d33c2043666a2ad247cc7ada966c5ca",fill:!0,size:this.size},i("mds-tab-item",{key:"becc9045f1ebc0d775e970b00acfef1f9ece3459",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:"dd1bf365662e59f840549aa7600146d738d3328a",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:"17179440e1f9ad67f35de6cc2721077f48938482",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-TZJN-ygm.js";import{m as r}from"./p-XQgkfNpn.js";import{L as m}from"./p-CZjwSwe5.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,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))||p()}}))};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-CZjwSwe5.js";import{p as l}from"./p-CVRN4LDc.js";import{d as n}from"./p-M8dGB4KH.js";import{d as c}from"./p-CEw7GvM-.js";import{d}from"./p-DDTJwlAd.js";import{d as h}from"./p-C0H8bZpf.js";import{d as f}from"./p-DMyL4CYh.js";import{d as p}from"./p-aujz-VM9.js";var u={contrastMore:"Περισσότερο",contrastDefault:"Προεπιλογή",label:"Αντίθεση",systemSettings:"Ρυθμίσεις συστήματος"},b={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:u,en:b,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:"1f7f219d7a3c33550f11616d92ff49cf4fa06b68","pref-contrast":l.state.contrast},i("mds-text",{key:"44cf8c9a3ce2c279d7290b33acc43eaece3aab39",class:"info",typography:"caption"},i("b",{key:"4060396cd5a2c224c3df668b0912e0a0b341308c"},this.t.get("label"))," ",this.t.get(this.contrast[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"13b99bae22c3a901f318834ee8ad0f34d3f20176",fill:!0,size:this.size},i("mds-tab-item",{key:"7bf8568caa1128ce60c9a92675e9353c60d4e180",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:"f8b439f1cb2e3e9047acccdc81d55c141b38894f",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:"ed5c810f80249768aed0c947b9324cb182873d60",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))||c();break;case"mds-spinner":customElements.get(o(t))||d();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,w as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,d as a,h as t,c as o,t as i}from"./p-TZJN-ygm.js";import{L as n}from"./p-CZjwSwe5.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
+ import{p as e,H as a,d as s,h as t,c as o,t as i}from"./p-TZJN-ygm.js";import{L as n}from"./p-CZjwSwe5.js";import{m as r}from"./p-BFhO-KUe.js";import{m}from"./p-lZldSMeV.js";import{d}from"./p-M8dGB4KH.js";import{d as l}from"./p-CEw7GvM-.js";import{d as h}from"./p-DDTJwlAd.js";import{d as u}from"./p-aujz-VM9.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 a{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.selectLanguageEvent=s(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,a;return t(o,{key:"d4315f73e815a9be621bafa3091e197f510a4f51",onClick:this.handleClick,role:"menuitem"},""!==(null!==(e=this.code)&&void 0!==e?e:"")?t("mds-button",{icon:this.selected?r:m,variant:"dark",tone:"text",label:null!==(a=c[this.code])&&void 0!==a?a: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))||d();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-TZJN-ygm.js";import{L as o}from"./p-CZjwSwe5.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
+ import{p as a,H as e,d as s,h as i,c as t,t as o}from"./p-TZJN-ygm.js";import{L as n}from"./p-CZjwSwe5.js";import{p as l}from"./p-CVRN4LDc.js";import{m as r}from"./p-DiWN48aq.js";import{m as d}from"./p-Ccz0jCNB.js";import{d as m}from"./p-M8dGB4KH.js";import{d as u}from"./p-BOJQ3tkp.js";import{d as h}from"./p-CEw7GvM-.js";import{d as g}from"./p-DDTJwlAd.js";import{d as c}from"./p-C0H8bZpf.js";import{d as b}from"./p-DMyL4CYh.js";import{d as p}from"./p-aujz-VM9.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 n({el:f,en:k,es:y,it:v}),this.set="auto",this.toggleDropdown=()=>{this.showDropdown=!this.showDropdown},this.hideLanguageSelectDropdown=()=>{this.showDropdown=!1},this.changeLanguageSelectItem=()=>{this.elPreferLanguageItems.forEach((a=>{a.selected=!1}))},this.checkLanguageSelect=()=>{this.elPreferLanguageItems=this.element.querySelectorAll("mds-pref-language-item"),this.elPreferLanguageItems.forEach((a=>{a.selected=a.code===this.set}))},this.sanitizeLanguage=a=>a.includes("-")?a.split("-")[0].toLowerCase():a,this.setLanguage=a=>{var e,s,i,t,o;if("auto"!==a&&!z(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 n=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"===n?null!==(t=[d,m].find(z))&&void 0!==t?t:r:this.sanitizeLanguage(n);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===(o=document.querySelector("html"))||void 0===o||o.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(t,{key:"8b32b725ddce601609db53475859b2aa85c03d33"},i("div",{key:"bdef922d7164b935a12df6188d0ef56a6f911cde",class:"menu"},i("mds-text",{key:"9562bbe7ef25020121082bab58850795eef236ca",class:"info",typography:"caption"},i("b",{key:"b704931108c89d12413f97e4e3643fc28974254c"},this.t.get("label"))),i("mds-tab",{key:"d694472d851c9d794ff5d65a11bdea5d66db59fd",fill:!0,size:this.size},i("mds-tab-item",{key:"7c2d180947fa64c9c8306b43f20bf90e98063bb8",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:"09ea686a6bda3163aedae2e1bb76e89f67a5b791",class:"mds-pref-language-dropdown",target:"#mds-pref-language-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideLanguageSelectDropdown},i("slot",{key:"81024d5bc1441304a54c17eaa2210356c5802635",onSlotchange:this.checkLanguageSelect})),this.set!==this.defaultLanguage&&i("mds-text",{key:"10418f466459f5b207c3a571c3e9ddf75f3240b2",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(o(a))||customElements.define(o(a),C);break;case"mds-button":customElements.get(o(a))||m();break;case"mds-dropdown":customElements.get(o(a))||u();break;case"mds-icon":customElements.get(o(a))||h();break;case"mds-spinner":customElements.get(o(a))||g();break;case"mds-tab":customElements.get(o(a))||c();break;case"mds-tab-item":customElements.get(o(a))||b();break;case"mds-text":customElements.get(o(a))||p()}}))};export{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-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-CZjwSwe5.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
+ 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-CZjwSwe5.js";import{p as r}from"./p-CVRN4LDc.js";import{d as l}from"./p-M8dGB4KH.js";import{d as c}from"./p-CEw7GvM-.js";import{d as n}from"./p-DDTJwlAd.js";import{d as f}from"./p-C0H8bZpf.js";import{d as b}from"./p-DMyL4CYh.js";import{d as p}from"./p-aujz-VM9.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:"8cd7d190d15c44c67b89147d4b16404f5cb95800","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},i("mds-text",{key:"14cd73bd20d61e354734a351cf991970f0ebc5ec",class:"info",typography:"caption"},i("b",{key:"86ee2ea0a64ade8fbe329a0f96182c3b67d9ff5e"},this.t.get("label"))," ",this.t.get(this.modes[null!==(t=this.mode)&&void 0!==t?t:this.defaultMode].label)),i("mds-tab",{key:"57b1029715dc8e06cc0c8313aef1d97b86e5862f",fill:!0,size:this.size},i("mds-tab-item",{key:"4dfba447dcefe6dbbbbfc15ab1e47431dea40ef0",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:"ae48429db039f79a022a1888436ab55b477d0556",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:"0b56971502285a300258fbebee3e4d1cb9bb11d0",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))||p()}}))};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-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
+ 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-M8dGB4KH.js";import{d}from"./p-CEw7GvM-.js";import{d as l}from"./p-DDTJwlAd.js";import{d as h}from"./p-aujz-VM9.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:"7ab7329e7b30d20901f5c6bd1a5bcc737280775c",onClick:this.handleClick,role:"menuitem"},s("mds-button",{key:"2b7f1d8c1e41895e15af85004969d1a7381e7b1e",icon:this.selected?m:i,variant:"dark",tone:"text",label:this.label}),s("span",{key:"6e656b3d65de4e6f8d2a0c5b99a3ca791039e296","aria-hidden":"true",class:"theme-preview"},s("span",{key:"61adb19c93abff560beb89ba4a432334cc23cf36",class:"theme-color theme-color--variant-primary"}),s("span",{key:"f54dbb0a2058820059f16011779a9ad9eb6a46fe",class:"theme-color theme-color--status-success"}),s("span",{key:"a3bfab2e262e45a373c4cf27827f55237c0aa2a9",class:"theme-color theme-color--status-warning"}),s("span",{key:"f6f6b7fcb29b0dc194b6986015703920d67597f8",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-TZJN-ygm.js";import{L as m}from"./p-CZjwSwe5.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:"Θέμα"},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:k,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=>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,N=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,N 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-CZjwSwe5.js";import{M as o,p as l}from"./p-CVRN4LDc.js";import{l as d}from"./p-6pgPWpGI.js";import{m as c}from"./p-DiWN48aq.js";import{m as p}from"./p-Ccz0jCNB.js";import{d as f}from"./p-M8dGB4KH.js";import{d as u}from"./p-BOJQ3tkp.js";import{d as b}from"./p-CEw7GvM-.js";import{d as g}from"./p-DDTJwlAd.js";import{d as v}from"./p-C0H8bZpf.js";import{d as y}from"./p-DMyL4CYh.js";import{d as C}from"./p-aujz-VM9.js";const S=["bevel","notch","round","scoop","square","squircle","default"];var k={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:k,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=>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"))||d(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}l.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)}l.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:"2f7083702541d768d35ca35d53f69c826dd48c54"},a("div",{key:"bf697e45493915b806a8065ee2744440d5367891",class:"menu"},a("mds-text",{key:"e176eb31c64c0a126536c76c4eb1db108aacb329",class:"info",typography:"caption"},a("b",{key:"d166e86a8944ffa6dfbb3ffd612b3260bb6e3fe6"},this.t.get("label"))),a("mds-tab",{key:"48e477229e5232e92559b892285c3f05823b1e20",fill:!0,size:this.size},a("mds-tab-item",{key:"f0302e5380b09f69a6e99bc7562a765fbb2d1c4b",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:"e427f49597147ce8c098fdfb77eac5ebff784409",class:"mds-pref-theme-dropdown",target:"#mds-pref-theme-nav",interaction:"none",visible:this.showDropdown,onMdsDropdownHide:this.hideThemeDropdownSelect},a("slot",{key:"cf784a34089d3fe41fe8edc1c72a1632e9d8b843",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}]}]),T=E,$=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))||f();break;case"mds-dropdown":customElements.get(n(e))||u();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{T as MdsPrefTheme,$ as defineCustomElement}
@@ -1 +1 @@
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-CZjwSwe5.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
+ import{p as e,H as t,h as a,c as s,t as o}from"./p-TZJN-ygm.js";import{L as i}from"./p-CZjwSwe5.js";import{d as n}from"./p-aujz-VM9.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:"30bd8f30a00b2455586fe367bed1f7059d97cef7"},a("slot",{key:"32d04eaa08e7758f393146d6d3100377645d70ed",onSlotchange:this.applySize}),this.showReload&&a("div",{key:"7670cfbf461d545f531357e450db72149ddba693",class:"reload-required"},a("mds-text",{key:"b35c1ad9a555600b6b461823e51f62be4309c56c",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-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
+ 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-aujz-VM9.js";const c=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.type="text"}render(){return t(a,{key:"6b664a8c9173cd1063a08e4c72254156a77010f4","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:"f07cbc007529c0450cae5e1de65407ad3ab9fae7",class:"icon icon--supported",innerHTML:i,part:"icon"}),"unsupported"===this.type&&t("i",{key:"38fcdaaf74473d8b1d81cd1280ef5a591b4cf3c2",class:"icon icon--unsupported",innerHTML:l,part:"icon"}),"text"===this.type&&t("mds-text",{key:"630ee8deb80284a583fd5f272f79de7d65ce0db1",part:"text",typography:"detail"},t("slot",{key:"c18c7b1c70434e0c06eaa9d5fbfad8da930cff0b"})),"custom"===this.type&&t("slot",{key:"02d281aa7df9ad04076b869a0d869ec54bf7c92b"}),"label"===this.type&&t("slot",{key:"59b84c57ff79b3f541404358bb12161513d4338a"}))}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-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
+ 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:"d41f21d223d154e41ca4a2cc65c4ab23a66fa227","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:"71997d0c0b04dd775392ff3653a302080642c2d7"}))}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-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
+ 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-aujz-VM9.js";const n=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a(r,{key:"fd780347090550a18136e4969079e1e07606cfbc","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:"fac623347dd8aacf34f305b79e509899a6e0f6bf",class:"table-wrapper"},this.label&&a("header",{key:"7c9e3b8030f64bb02e793d21dbe1142a3025f6b3",part:"header"},a("mds-text",{key:"978b0a219f520271b370a5c465e01b30e2fe28de",typography:"detail"},a("b",{key:"f6038de8f324d7d355f16006fbcf8d09be349b39"},this.label))),a("table",{key:"2077b36b6c979c8e96e30989ff7cb2437d189844"},a("tbody",{key:"47912a9ae06c7db2b41db658272e70ce0b99f20e"},a("slot",{key:"91e19e971ebe3dcc5b36dccb9acb1d37a8cb3a8d"})))))}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-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}
1
+ import{p as e,H as t,h as s,c as a,t as r}from"./p-TZJN-ygm.js";const i=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"b401e09db75feb79fdb2f9dbaae3cbeb8d8c4380"},s("slot",{key:"fb9db117e8e948a182ba305590863a9d424f1ca4"}))}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(r(e))||customElements.define(r(e),i))}))};export{d as MdsPriceTableHeader,o as defineCustomElement}