@maggioli-design-system/magma 2.4.0 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1205) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +36 -0
  3. package/agents/assets.md +10 -0
  4. package/agents/components.md +2 -1
  5. package/agents/conventions.md +5 -0
  6. package/dist/cjs/{floating-controller-BxER7sig.js → floating-controller-DaFymQCT.js} +2 -2
  7. package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
  8. package/dist/cjs/{index-B5DKRaVO.js → index-CWTZb9W2.js} +1 -1
  9. package/dist/cjs/index.cjs.js +3 -63
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/{locale-D9XY8LN9.js → locale-Os4wg65H.js} +1 -1
  12. package/dist/cjs/magma-components.cjs.js +2 -2
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  16. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  17. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  31. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  36. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +5 -5
  38. package/dist/cjs/mds-emoji.cjs.entry.js +38 -8
  39. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  41. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
  45. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +5 -5
  47. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  51. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  52. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-input-select.cjs.entry.js +5 -5
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
  59. package/dist/cjs/mds-input.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  65. package/dist/cjs/mds-link.cjs.entry.js +147 -0
  66. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  67. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  68. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  69. package/dist/cjs/mds-modal.cjs.entry.js +8 -8
  70. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  71. package/dist/cjs/mds-notification.cjs.entry.js +4 -4
  72. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
  74. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  75. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  76. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  78. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  79. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  80. package/dist/cjs/mds-pref-mode.cjs.entry.js +6 -6
  81. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  82. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  83. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  84. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  85. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  90. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
  92. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  93. package/dist/cjs/mds-push-notification.cjs.entry.js +6 -6
  94. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -7
  97. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  98. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
  99. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +5 -5
  100. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  101. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  102. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  103. package/dist/cjs/mds-tab_2.cjs.entry.js +7 -7
  104. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  105. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  106. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  107. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  108. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  109. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  110. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  111. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  112. package/dist/cjs/mds-toast.cjs.entry.js +6 -6
  113. package/dist/cjs/mds-tooltip.cjs.entry.js +6 -6
  114. package/dist/cjs/mds-tree-item.cjs.entry.js +6 -6
  115. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  116. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  118. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  119. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  120. package/dist/cjs/navigation-5yeOyO6F.js +64 -0
  121. package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
  122. package/dist/cjs/{unit-Cm341q1R.js → unit-JdmHaLT3.js} +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/common/unit.js +1 -1
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  141. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  143. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-badge/documentation.json +1 -1
  147. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-banner/documentation.json +1 -1
  149. package/dist/collection/components/mds-banner/mds-banner.css +3 -3
  150. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  152. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  157. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  159. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  160. package/dist/collection/components/mds-button/antipattern.md +16 -0
  161. package/dist/collection/components/mds-button/documentation.json +2 -2
  162. package/dist/collection/components/mds-button/mds-button.css +4 -2
  163. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  165. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  167. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  169. package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
  170. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  172. package/dist/collection/components/mds-card/AGENTS.md +2 -1
  173. package/dist/collection/components/mds-card/documentation.json +2 -2
  174. package/dist/collection/components/mds-card/mds-card.css +9 -5
  175. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  177. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  179. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  181. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  183. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-chip/documentation.json +1 -1
  185. package/dist/collection/components/mds-chip/mds-chip.css +1 -1
  186. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-details/documentation.json +1 -1
  188. package/dist/collection/components/mds-details/mds-details.css +2 -2
  189. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  190. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  191. package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
  192. package/dist/collection/components/mds-emoji/AGENTS.md +2 -2
  193. package/dist/collection/components/mds-emoji/documentation.json +2 -2
  194. package/dist/collection/components/mds-emoji/mds-emoji.css +11 -5
  195. package/dist/collection/components/mds-emoji/mds-emoji.js +34 -4
  196. package/dist/collection/components/mds-entity/AGENTS.md +3 -2
  197. package/dist/collection/components/mds-entity/documentation.json +11 -3
  198. package/dist/collection/components/mds-entity/mds-entity.css +1 -1
  199. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  200. package/dist/collection/components/mds-entity/pattern.md +10 -0
  201. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  202. package/dist/collection/components/mds-file/documentation.json +1 -1
  203. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  205. package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
  206. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-filter/documentation.json +1 -1
  208. package/dist/collection/components/mds-filter/mds-filter.css +1 -1
  209. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  210. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  211. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-header/documentation.json +1 -1
  213. package/dist/collection/components/mds-header/mds-header.css +4 -4
  214. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  216. package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
  217. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  218. package/dist/collection/components/mds-help/documentation.json +1 -1
  219. package/dist/collection/components/mds-help/mds-help.css +7 -5
  220. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  222. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
  223. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  224. package/dist/collection/components/mds-hr/documentation.json +1 -1
  225. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  226. package/dist/collection/components/mds-icon/documentation.json +5 -1
  227. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  228. package/dist/collection/components/mds-img/documentation.json +1 -1
  229. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  230. package/dist/collection/components/mds-input/documentation.json +1 -1
  231. package/dist/collection/components/mds-input/mds-input.css +8 -8
  232. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  234. package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
  235. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  237. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
  238. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  240. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  242. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  243. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  244. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  245. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  246. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  248. package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
  249. package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
  250. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  251. package/dist/collection/components/mds-input-switch/mds-input-switch.css +12 -10
  252. package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
  253. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  254. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  255. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  257. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  259. package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
  260. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  262. package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
  263. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  265. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  266. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  268. package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
  269. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  271. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  272. package/dist/collection/components/mds-label/documentation.json +1 -1
  273. package/dist/collection/components/mds-link/AGENTS.md +81 -0
  274. package/dist/collection/components/mds-link/antipattern.md +96 -0
  275. package/dist/collection/components/mds-link/documentation.json +407 -0
  276. package/dist/collection/components/mds-link/mds-link.css +301 -0
  277. package/dist/collection/components/mds-link/mds-link.js +335 -0
  278. package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
  279. package/dist/collection/components/mds-link/meta/types.js +1 -0
  280. package/dist/collection/components/mds-link/pattern.md +100 -0
  281. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-list/documentation.json +1 -1
  283. package/dist/collection/components/mds-list/mds-list.js +1 -1
  284. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  286. package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
  287. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  288. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-mention/documentation.json +1 -1
  290. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  291. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  292. package/dist/collection/components/mds-modal/documentation.json +1 -1
  293. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  294. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  295. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-note/documentation.json +1 -1
  297. package/dist/collection/components/mds-note/mds-note.css +3 -3
  298. package/dist/collection/components/mds-note/mds-note.js +1 -1
  299. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  300. package/dist/collection/components/mds-notification/documentation.json +1 -1
  301. package/dist/collection/components/mds-notification/mds-notification.css +22 -22
  302. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  303. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  304. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  305. package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
  306. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  307. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  308. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  309. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  310. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  311. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  312. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  313. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-pref/documentation.json +1 -1
  315. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  316. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  318. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  319. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  321. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  322. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  324. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  325. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  327. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  328. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  330. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  331. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  332. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  333. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
  334. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  335. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  337. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  338. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  340. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  341. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  343. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  344. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  346. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  347. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  349. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  350. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  352. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  353. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  355. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  356. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  358. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  359. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  361. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  362. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-progress/documentation.json +1 -1
  364. package/dist/collection/components/mds-progress/mds-progress.css +2 -0
  365. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  366. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  367. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  368. package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
  369. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  370. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  372. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
  373. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  374. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-quote/documentation.json +1 -1
  376. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  377. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  378. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  379. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
  380. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  381. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  382. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  383. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
  384. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  385. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  387. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
  388. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  389. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  390. package/dist/collection/components/mds-separator/documentation.json +1 -1
  391. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  392. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  393. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  394. package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
  395. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  396. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  397. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  398. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -3
  399. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  400. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  402. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  403. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  405. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
  406. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  407. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  408. package/dist/collection/components/mds-tab/documentation.json +1 -1
  409. package/dist/collection/components/mds-tab/mds-tab.css +9 -7
  410. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  411. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  413. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  414. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  416. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  417. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  418. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  420. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  421. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  422. package/dist/collection/components/mds-table/documentation.json +1 -1
  423. package/dist/collection/components/mds-table/mds-table.css +1 -1
  424. package/dist/collection/components/mds-table/mds-table.js +1 -1
  425. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  426. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  427. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  428. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  429. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  430. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  431. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  433. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  434. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  436. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  437. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  439. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  440. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  442. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  443. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  444. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  445. package/dist/collection/components/mds-text/antipattern.md +1 -1
  446. package/dist/collection/components/mds-text/documentation.json +4 -4
  447. package/dist/collection/components/mds-text/mds-text.js +1 -1
  448. package/dist/collection/components/mds-text/pattern.md +10 -0
  449. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  450. package/dist/collection/components/mds-toast/documentation.json +1 -1
  451. package/dist/collection/components/mds-toast/mds-toast.css +2 -2
  452. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  453. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  454. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  455. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  456. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  457. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  458. package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
  459. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  460. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  461. package/dist/collection/components/mds-tree/documentation.json +1 -1
  462. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  463. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  464. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  465. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  466. package/dist/collection/components/mds-tree-item/mds-tree-item.css +8 -6
  467. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  468. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  470. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  471. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-usage/documentation.json +1 -1
  473. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  474. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  476. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  477. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-zero/documentation.json +1 -1
  479. package/dist/collection/components/mds-zero/mds-zero.css +2 -2
  480. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  481. package/dist/components/index.d.ts +2 -0
  482. package/dist/components/index.js +1 -1
  483. package/dist/components/mds-accordion-item.js +1 -1
  484. package/dist/components/mds-accordion-timer-item.js +1 -1
  485. package/dist/components/mds-accordion-timer.js +1 -1
  486. package/dist/components/mds-accordion.js +1 -1
  487. package/dist/components/mds-author.js +1 -1
  488. package/dist/components/mds-avatar-stack-item.js +1 -1
  489. package/dist/components/mds-avatar-stack.js +1 -1
  490. package/dist/components/mds-avatar.js +1 -1
  491. package/dist/components/mds-badge.js +1 -1
  492. package/dist/components/mds-banner.js +1 -1
  493. package/dist/components/mds-benchmark-bar.js +1 -1
  494. package/dist/components/mds-bibliography.js +1 -1
  495. package/dist/components/mds-breadcrumb-item.js +1 -1
  496. package/dist/components/mds-breadcrumb.js +1 -1
  497. package/dist/components/mds-button-dropdown.js +1 -1
  498. package/dist/components/mds-button-group.js +1 -1
  499. package/dist/components/mds-button.js +1 -1
  500. package/dist/components/mds-calendar-cell.js +1 -1
  501. package/dist/components/mds-calendar.js +1 -1
  502. package/dist/components/mds-card-content.js +1 -1
  503. package/dist/components/mds-card-footer.js +1 -1
  504. package/dist/components/mds-card-header.js +1 -1
  505. package/dist/components/mds-card-media.js +1 -1
  506. package/dist/components/mds-card.js +1 -1
  507. package/dist/components/mds-chip.js +1 -1
  508. package/dist/components/mds-details.js +1 -1
  509. package/dist/components/mds-dropdown.js +1 -1
  510. package/dist/components/mds-emoji.js +3 -3
  511. package/dist/components/mds-entity.js +1 -1
  512. package/dist/components/mds-file-preview.js +1 -1
  513. package/dist/components/mds-file.js +1 -1
  514. package/dist/components/mds-filter-item.js +1 -1
  515. package/dist/components/mds-filter.js +1 -1
  516. package/dist/components/mds-header-bar.js +1 -1
  517. package/dist/components/mds-header.js +1 -1
  518. package/dist/components/mds-help.js +1 -1
  519. package/dist/components/mds-horizontal-scroll.js +1 -1
  520. package/dist/components/mds-hr.js +1 -1
  521. package/dist/components/mds-icon.js +1 -1
  522. package/dist/components/mds-img.js +1 -1
  523. package/dist/components/mds-input-date-range-preselection.js +1 -1
  524. package/dist/components/mds-input-date-range.js +1 -1
  525. package/dist/components/mds-input-date.js +1 -1
  526. package/dist/components/mds-input-field.js +1 -1
  527. package/dist/components/mds-input-otp.js +1 -1
  528. package/dist/components/mds-input-range.js +1 -1
  529. package/dist/components/mds-input-select.js +1 -1
  530. package/dist/components/mds-input-switch.js +1 -1
  531. package/dist/components/mds-input-tip-item.js +1 -1
  532. package/dist/components/mds-input-tip.js +1 -1
  533. package/dist/components/mds-input-upload.js +1 -1
  534. package/dist/components/mds-input.js +1 -1
  535. package/dist/components/mds-keyboard-key.js +1 -1
  536. package/dist/components/mds-keyboard.js +1 -1
  537. package/dist/components/mds-kpi-item.js +1 -1
  538. package/dist/components/mds-kpi.js +1 -1
  539. package/dist/components/mds-label.js +1 -1
  540. package/dist/components/mds-link.d.ts +11 -0
  541. package/dist/components/mds-link.js +1 -0
  542. package/dist/components/mds-list-item.js +1 -1
  543. package/dist/components/mds-list.js +1 -1
  544. package/dist/components/mds-mention.js +1 -1
  545. package/dist/components/mds-modal.js +1 -1
  546. package/dist/components/mds-note.js +1 -1
  547. package/dist/components/mds-notification.js +1 -1
  548. package/dist/components/mds-paginator-item.js +1 -1
  549. package/dist/components/mds-paginator.js +1 -1
  550. package/dist/components/mds-policy-ai.js +1 -1
  551. package/dist/components/mds-pref-animation.js +1 -1
  552. package/dist/components/mds-pref-consumption.js +1 -1
  553. package/dist/components/mds-pref-contrast.js +1 -1
  554. package/dist/components/mds-pref-language-item.js +1 -1
  555. package/dist/components/mds-pref-language.js +1 -1
  556. package/dist/components/mds-pref-mode.js +1 -1
  557. package/dist/components/mds-pref-theme-item.js +1 -1
  558. package/dist/components/mds-pref-theme.js +1 -1
  559. package/dist/components/mds-pref.js +1 -1
  560. package/dist/components/mds-price-table-features-cell.js +1 -1
  561. package/dist/components/mds-price-table-features-row.js +1 -1
  562. package/dist/components/mds-price-table-features.js +1 -1
  563. package/dist/components/mds-price-table-header.js +1 -1
  564. package/dist/components/mds-price-table-list-item.js +1 -1
  565. package/dist/components/mds-price-table-list.js +1 -1
  566. package/dist/components/mds-price-table.js +1 -1
  567. package/dist/components/mds-progress.js +1 -1
  568. package/dist/components/mds-push-notification-item.js +1 -1
  569. package/dist/components/mds-push-notification.js +1 -1
  570. package/dist/components/mds-quote.js +1 -1
  571. package/dist/components/mds-radial-menu-item.js +1 -1
  572. package/dist/components/mds-radial-menu.js +1 -1
  573. package/dist/components/mds-radial-progress.js +1 -1
  574. package/dist/components/mds-separator.js +1 -1
  575. package/dist/components/mds-spinner.js +1 -1
  576. package/dist/components/mds-status-bar.js +1 -1
  577. package/dist/components/mds-stepper-bar-item.js +1 -1
  578. package/dist/components/mds-stepper-bar.js +1 -1
  579. package/dist/components/mds-tab-bar-item.js +1 -1
  580. package/dist/components/mds-tab-bar.js +1 -1
  581. package/dist/components/mds-tab-item.js +1 -1
  582. package/dist/components/mds-tab.js +1 -1
  583. package/dist/components/mds-table-body.js +1 -1
  584. package/dist/components/mds-table-cell.js +1 -1
  585. package/dist/components/mds-table-footer.js +1 -1
  586. package/dist/components/mds-table-header-cell.js +1 -1
  587. package/dist/components/mds-table-header.js +1 -1
  588. package/dist/components/mds-table-row.js +1 -1
  589. package/dist/components/mds-table.js +1 -1
  590. package/dist/components/mds-text.js +1 -1
  591. package/dist/components/mds-toast-region.js +1 -1
  592. package/dist/components/mds-toast.js +1 -1
  593. package/dist/components/mds-tooltip.js +1 -1
  594. package/dist/components/mds-tree-item.js +1 -1
  595. package/dist/components/mds-tree.js +1 -1
  596. package/dist/components/mds-url-view.js +1 -1
  597. package/dist/components/mds-usage.js +1 -1
  598. package/dist/components/mds-video-wall.js +1 -1
  599. package/dist/components/mds-zero.js +1 -1
  600. package/dist/components/p-B0AnE3sA.js +1 -0
  601. package/dist/{magma-components/p-BmT_DEV2.js → components/p-B8x-d2fx.js} +2 -2
  602. package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
  603. package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
  604. package/dist/components/p-BbTcXgbr.js +1 -0
  605. package/dist/components/p-BwJQB6rG.js +1 -0
  606. package/dist/components/p-Bz1eiKqd.js +1 -0
  607. package/dist/components/p-C1CTahjH.js +1 -0
  608. package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
  609. package/dist/components/p-C99SMdU_.js +1 -0
  610. package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
  611. package/dist/components/{p-DSxDXNWp.js → p-CLe_N2_H.js} +1 -1
  612. package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
  613. package/dist/components/p-CNZ8_QvE.js +8 -0
  614. package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
  615. package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
  616. package/dist/components/p-CWk1SCJg.js +1 -0
  617. package/dist/components/{p-sM-eFjwq.js → p-Cd8id3Br.js} +1 -1
  618. package/dist/components/p-CfQETwAK.js +1 -0
  619. package/dist/components/p-ClPv-Ljc.js +1 -0
  620. package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
  621. package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
  622. package/dist/components/{p-D4JiVIoh.js → p-D2d9eOLi.js} +1 -1
  623. package/dist/components/p-D8wd-EZX.js +1 -0
  624. package/dist/components/{p-B1bYa-o0.js → p-DCrdKrky.js} +1 -1
  625. package/dist/components/{p-D_0rjNZp.js → p-DF3PrYBI.js} +1 -1
  626. package/dist/components/p-DNeEn8Rr.js +1 -0
  627. package/dist/components/{p-Bg5E4Wnq.js → p-DiUUZ7ZA.js} +1 -1
  628. package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
  629. package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
  630. package/dist/components/p-DnySYX0L.js +1 -0
  631. package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
  632. package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
  633. package/dist/{magma-components/p-ZaZnuNvg.js → components/p-jasGzfhE.js} +1 -1
  634. package/dist/components/p-nsbhb0lz.js +1 -0
  635. package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
  636. package/dist/components/{p-NOw8-OrM.js → p-uqwixjju.js} +1 -1
  637. package/dist/documentation.json +431 -11
  638. package/dist/esm/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +2 -2
  639. package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
  640. package/dist/esm/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
  641. package/dist/esm/index.js +3 -63
  642. package/dist/esm/loader.js +3 -3
  643. package/dist/esm/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
  644. package/dist/esm/magma-components.js +3 -3
  645. package/dist/esm/mds-accordion-item.entry.js +3 -3
  646. package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
  647. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  648. package/dist/esm/mds-accordion.entry.js +3 -3
  649. package/dist/esm/mds-author.entry.js +1 -1
  650. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  651. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  652. package/dist/esm/mds-avatar.entry.js +2 -2
  653. package/dist/esm/mds-badge.entry.js +2 -2
  654. package/dist/esm/mds-banner_3.entry.js +6 -6
  655. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  656. package/dist/esm/mds-bibliography.entry.js +1 -1
  657. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  658. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  659. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  660. package/dist/esm/mds-button-group.entry.js +1 -1
  661. package/dist/esm/mds-button_3.entry.js +6 -5
  662. package/dist/esm/mds-calendar_2.entry.js +4 -4
  663. package/dist/esm/mds-card-content.entry.js +1 -1
  664. package/dist/esm/mds-card-footer.entry.js +1 -1
  665. package/dist/esm/mds-card-header.entry.js +1 -1
  666. package/dist/esm/mds-card-media.entry.js +1 -1
  667. package/dist/esm/mds-card.entry.js +3 -3
  668. package/dist/esm/mds-details.entry.js +3 -3
  669. package/dist/esm/mds-dropdown.entry.js +5 -5
  670. package/dist/esm/mds-emoji.entry.js +38 -8
  671. package/dist/esm/mds-entity.entry.js +4 -4
  672. package/dist/esm/mds-file-preview.entry.js +4 -4
  673. package/dist/esm/mds-file.entry.js +3 -3
  674. package/dist/esm/mds-filter-item.entry.js +3 -3
  675. package/dist/esm/mds-filter.entry.js +4 -4
  676. package/dist/esm/mds-header-bar.entry.js +4 -4
  677. package/dist/esm/mds-header.entry.js +3 -3
  678. package/dist/esm/mds-horizontal-scroll.entry.js +5 -5
  679. package/dist/esm/mds-hr.entry.js +2 -2
  680. package/dist/esm/mds-img.entry.js +3 -3
  681. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  682. package/dist/esm/mds-input-date-range.entry.js +4 -4
  683. package/dist/esm/mds-input-date.entry.js +5 -5
  684. package/dist/esm/mds-input-field.entry.js +1 -1
  685. package/dist/esm/mds-input-otp.entry.js +3 -3
  686. package/dist/esm/mds-input-range.entry.js +2 -2
  687. package/dist/esm/mds-input-select.entry.js +5 -5
  688. package/dist/esm/mds-input-switch_2.entry.js +7 -7
  689. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  690. package/dist/esm/mds-input-upload.entry.js +4 -4
  691. package/dist/esm/mds-input.entry.js +5 -5
  692. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  693. package/dist/esm/mds-keyboard.entry.js +4 -4
  694. package/dist/esm/mds-kpi-item.entry.js +2 -2
  695. package/dist/esm/mds-kpi.entry.js +2 -2
  696. package/dist/esm/mds-label.entry.js +3 -3
  697. package/dist/esm/mds-link.entry.js +145 -0
  698. package/dist/esm/mds-list-item.entry.js +3 -3
  699. package/dist/esm/mds-list.entry.js +2 -2
  700. package/dist/esm/mds-mention.entry.js +4 -4
  701. package/dist/esm/mds-modal.entry.js +8 -8
  702. package/dist/esm/mds-note.entry.js +5 -5
  703. package/dist/esm/mds-notification.entry.js +4 -4
  704. package/dist/esm/mds-paginator-item.entry.js +3 -3
  705. package/dist/esm/mds-paginator.entry.js +5 -5
  706. package/dist/esm/mds-policy-ai.entry.js +4 -4
  707. package/dist/esm/mds-pref-animation.entry.js +4 -4
  708. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  709. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  710. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  711. package/dist/esm/mds-pref-language.entry.js +4 -4
  712. package/dist/esm/mds-pref-mode.entry.js +6 -6
  713. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  714. package/dist/esm/mds-pref-theme.entry.js +4 -4
  715. package/dist/esm/mds-pref.entry.js +4 -4
  716. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  717. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  718. package/dist/esm/mds-price-table-features.entry.js +3 -3
  719. package/dist/esm/mds-price-table-header.entry.js +2 -2
  720. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  721. package/dist/esm/mds-price-table-list.entry.js +3 -3
  722. package/dist/esm/mds-price-table.entry.js +2 -2
  723. package/dist/esm/mds-progress_2.entry.js +5 -5
  724. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  725. package/dist/esm/mds-push-notification.entry.js +6 -6
  726. package/dist/esm/mds-quote.entry.js +3 -3
  727. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  728. package/dist/esm/mds-radial-menu.entry.js +7 -7
  729. package/dist/esm/mds-separator.entry.js +3 -3
  730. package/dist/esm/mds-status-bar.entry.js +4 -4
  731. package/dist/esm/mds-stepper-bar-item.entry.js +5 -5
  732. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  733. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  734. package/dist/esm/mds-tab-bar.entry.js +3 -3
  735. package/dist/esm/mds-tab_2.entry.js +7 -7
  736. package/dist/esm/mds-table-body.entry.js +3 -3
  737. package/dist/esm/mds-table-footer.entry.js +3 -3
  738. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  739. package/dist/esm/mds-table-header.entry.js +4 -4
  740. package/dist/esm/mds-table-row.entry.js +6 -6
  741. package/dist/esm/mds-table.entry.js +5 -5
  742. package/dist/esm/mds-text.entry.js +3 -3
  743. package/dist/esm/mds-toast-region.entry.js +2 -2
  744. package/dist/esm/mds-toast.entry.js +6 -6
  745. package/dist/esm/mds-tooltip.entry.js +6 -6
  746. package/dist/esm/mds-tree-item.entry.js +6 -6
  747. package/dist/esm/mds-tree.entry.js +3 -3
  748. package/dist/esm/mds-url-view.entry.js +4 -4
  749. package/dist/esm/mds-usage.entry.js +4 -4
  750. package/dist/esm/mds-video-wall.entry.js +3 -3
  751. package/dist/esm/mds-zero.entry.js +4 -4
  752. package/dist/esm/navigation-Bz1eiKqd.js +62 -0
  753. package/dist/esm/polyfills/core-js.js +0 -0
  754. package/dist/esm/polyfills/dom.js +0 -0
  755. package/dist/esm/polyfills/es5-html-element.js +0 -0
  756. package/dist/esm/polyfills/index.js +0 -0
  757. package/dist/esm/polyfills/system.js +0 -0
  758. package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
  759. package/dist/esm/{unit-D8eZRaSQ.js → unit-CWk1SCJg.js} +1 -1
  760. package/dist/esm-es5/{floating-controller-BV0E_Juq.js → floating-controller-BVlbYYkf.js} +1 -1
  761. package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
  762. package/dist/esm-es5/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
  763. package/dist/esm-es5/index.js +20 -37
  764. package/dist/esm-es5/loader.js +1 -1
  765. package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
  766. package/dist/esm-es5/magma-components.js +2 -2
  767. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  768. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  769. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  770. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  771. package/dist/esm-es5/mds-author.entry.js +1 -1
  772. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  773. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  774. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  775. package/dist/esm-es5/mds-badge.entry.js +1 -1
  776. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  777. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  778. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  779. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  780. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  781. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  782. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  783. package/dist/esm-es5/mds-button_3.entry.js +2 -2
  784. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  785. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  786. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  787. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  788. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  789. package/dist/esm-es5/mds-card.entry.js +1 -1
  790. package/dist/esm-es5/mds-details.entry.js +1 -1
  791. package/dist/esm-es5/mds-dropdown.entry.js +15 -15
  792. package/dist/esm-es5/mds-emoji.entry.js +271 -251
  793. package/dist/esm-es5/mds-entity.entry.js +1 -1
  794. package/dist/esm-es5/mds-file-preview.entry.js +10 -10
  795. package/dist/esm-es5/mds-file.entry.js +1 -1
  796. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  797. package/dist/esm-es5/mds-filter.entry.js +1 -1
  798. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  799. package/dist/esm-es5/mds-header.entry.js +1 -1
  800. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  801. package/dist/esm-es5/mds-hr.entry.js +1 -1
  802. package/dist/esm-es5/mds-img.entry.js +1 -1
  803. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  804. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  805. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  806. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  807. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  808. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  809. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  810. package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
  811. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  812. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  813. package/dist/esm-es5/mds-input.entry.js +2 -2
  814. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  815. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  817. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  818. package/dist/esm-es5/mds-label.entry.js +1 -1
  819. package/dist/esm-es5/mds-link.entry.js +39 -0
  820. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  821. package/dist/esm-es5/mds-list.entry.js +1 -1
  822. package/dist/esm-es5/mds-mention.entry.js +2 -2
  823. package/dist/esm-es5/mds-modal.entry.js +3 -3
  824. package/dist/esm-es5/mds-note.entry.js +2 -2
  825. package/dist/esm-es5/mds-notification.entry.js +8 -8
  826. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  827. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  828. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  830. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  831. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  832. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  833. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  834. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  835. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  836. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  837. package/dist/esm-es5/mds-pref.entry.js +2 -2
  838. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  839. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  841. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  842. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  843. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  844. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  845. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  846. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  847. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  848. package/dist/esm-es5/mds-quote.entry.js +2 -2
  849. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  850. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  851. package/dist/esm-es5/mds-separator.entry.js +1 -1
  852. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  853. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  854. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  855. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  856. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  857. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  858. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  859. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  860. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  861. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  862. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  863. package/dist/esm-es5/mds-table.entry.js +2 -2
  864. package/dist/esm-es5/mds-text.entry.js +2 -2
  865. package/dist/esm-es5/mds-toast-region.entry.js +3 -3
  866. package/dist/esm-es5/mds-toast.entry.js +2 -2
  867. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  868. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  869. package/dist/esm-es5/mds-tree.entry.js +2 -2
  870. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  871. package/dist/esm-es5/mds-usage.entry.js +2 -2
  872. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  873. package/dist/esm-es5/mds-zero.entry.js +1 -1
  874. package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
  875. package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
  876. package/dist/esm-es5/unit-CWk1SCJg.js +1 -0
  877. package/dist/hydrate/index.js +496 -304
  878. package/dist/hydrate/index.mjs +496 -304
  879. package/dist/magma-components/index.esm.js +1 -1
  880. package/dist/magma-components/magma-components.esm.js +1 -1
  881. package/dist/magma-components/magma-components.js +1 -1
  882. package/dist/magma-components/{p-028f3717.entry.js → p-000c315c.entry.js} +1 -1
  883. package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
  884. package/dist/magma-components/{p-2a2b7c43.entry.js → p-0148cf0a.entry.js} +1 -1
  885. package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
  886. package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
  887. package/dist/magma-components/p-05ed801b.system.entry.js +14 -0
  888. package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
  889. package/dist/magma-components/{p-3bb26611.entry.js → p-068e30a5.entry.js} +1 -1
  890. package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
  891. package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
  892. package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
  893. package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
  894. package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
  895. package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
  896. package/dist/magma-components/p-0a8e8525.entry.js +1 -0
  897. package/dist/magma-components/p-0b3e4a97.system.entry.js +39 -0
  898. package/dist/magma-components/p-0d32e196.system.entry.js +81 -0
  899. package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
  900. package/dist/magma-components/p-0eb3558a.entry.js +1 -0
  901. package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
  902. package/dist/magma-components/{p-8d8c9c90.entry.js → p-15ffdcf6.entry.js} +1 -1
  903. package/dist/magma-components/{p-3ac09ace.entry.js → p-1908f808.entry.js} +1 -1
  904. package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
  905. package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
  906. package/dist/magma-components/{p-36ad5759.system.entry.js → p-1eee93c8.system.entry.js} +1 -1
  907. package/dist/magma-components/p-1f623b75.entry.js +1 -0
  908. package/dist/magma-components/{p-a1443292.entry.js → p-1faa4f71.entry.js} +1 -1
  909. package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
  910. package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
  911. package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
  912. package/dist/magma-components/p-23c057a9.entry.js +1 -0
  913. package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
  914. package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
  915. package/dist/magma-components/{p-3fb98529.system.entry.js → p-244676d3.system.entry.js} +1 -1
  916. package/dist/magma-components/{p-cc0cb701.entry.js → p-254ee71d.entry.js} +1 -1
  917. package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
  918. package/dist/magma-components/p-26451eb6.entry.js +1 -0
  919. package/dist/magma-components/p-26b9f2b7.system.entry.js +80 -0
  920. package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
  921. package/dist/magma-components/{p-3725c2c1.entry.js → p-287601bb.entry.js} +1 -1
  922. package/dist/magma-components/{p-b62bbd07.entry.js → p-29162c98.entry.js} +1 -1
  923. package/dist/magma-components/{p-166c0190.entry.js → p-29450db3.entry.js} +1 -1
  924. package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
  925. package/dist/magma-components/p-29ab84bf.system.entry.js +41 -0
  926. package/dist/magma-components/p-2a964578.entry.js +1 -0
  927. package/dist/magma-components/{p-a7bad4e8.entry.js → p-2aac4003.entry.js} +1 -1
  928. package/dist/magma-components/p-2c845743.system.entry.js +1 -0
  929. package/dist/magma-components/{p-be32b7a9.system.entry.js → p-2cbd532a.system.entry.js} +1 -1
  930. package/dist/magma-components/{p-e471decd.system.entry.js → p-2cdf450c.system.entry.js} +1 -1
  931. package/dist/magma-components/{p-3ba5ddae.entry.js → p-2d3b5eb5.entry.js} +1 -1
  932. package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
  933. package/dist/magma-components/{p-8f5f2dfe.system.entry.js → p-2eb4efcd.system.entry.js} +2 -2
  934. package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
  935. package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
  936. package/dist/magma-components/{p-e49818c4.entry.js → p-336f56a4.entry.js} +1 -1
  937. package/dist/magma-components/p-34c2daa9.system.entry.js +25 -0
  938. package/dist/magma-components/p-357724ab.entry.js +1 -0
  939. package/dist/magma-components/{p-911dc847.entry.js → p-358aa5e7.entry.js} +1 -1
  940. package/dist/magma-components/p-377d0661.entry.js +1 -0
  941. package/dist/magma-components/{p-23bf1afa.system.entry.js → p-396d95a1.system.entry.js} +2 -2
  942. package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
  943. package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
  944. package/dist/magma-components/{p-a61623f9.system.entry.js → p-3d162e99.system.entry.js} +2 -2
  945. package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
  946. package/dist/magma-components/{p-721b625a.system.entry.js → p-3dc81ab9.system.entry.js} +9 -9
  947. package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
  948. package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
  949. package/dist/magma-components/{p-4a051ef5.system.entry.js → p-3fd8ff0e.system.entry.js} +2 -2
  950. package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
  951. package/dist/magma-components/{p-4d079b1a.system.entry.js → p-41a28f2a.system.entry.js} +3 -3
  952. package/dist/magma-components/p-42e50f25.system.entry.js +55 -0
  953. package/dist/magma-components/{p-95328cc7.system.entry.js → p-458eb34c.system.entry.js} +2 -2
  954. package/dist/magma-components/p-464e6431.entry.js +1 -0
  955. package/dist/magma-components/p-471227f2.system.entry.js +27 -0
  956. package/dist/magma-components/{p-8e08ae08.system.entry.js → p-47717251.system.entry.js} +3 -3
  957. package/dist/magma-components/p-4776ac1f.entry.js +1 -0
  958. package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
  959. package/dist/magma-components/p-481897a7.entry.js +1 -0
  960. package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
  961. package/dist/magma-components/{p-b58363e2.system.entry.js → p-4bc47ff0.system.entry.js} +2 -2
  962. package/dist/magma-components/{p-648ec03b.system.entry.js → p-4c6da1db.system.entry.js} +5 -5
  963. package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
  964. package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
  965. package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
  966. package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
  967. package/dist/magma-components/{p-29d4605e.system.entry.js → p-5533b60d.system.entry.js} +4 -4
  968. package/dist/magma-components/p-55746791.entry.js +1 -0
  969. package/dist/magma-components/{p-37b801d0.system.entry.js → p-577ae081.system.entry.js} +2 -2
  970. package/dist/magma-components/{p-52d5d104.system.entry.js → p-57839384.system.entry.js} +2 -2
  971. package/dist/magma-components/p-5c4e41d3.system.entry.js +54 -0
  972. package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
  973. package/dist/magma-components/{p-9bdca8b4.entry.js → p-5da14e81.entry.js} +1 -1
  974. package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
  975. package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
  976. package/dist/magma-components/p-617370e7.system.entry.js +98 -0
  977. package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
  978. package/dist/magma-components/{p-d9551916.system.entry.js → p-632ad925.system.entry.js} +22 -22
  979. package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
  980. package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
  981. package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
  982. package/dist/magma-components/p-644e64a0.entry.js +1 -0
  983. package/dist/magma-components/p-6560b426.system.entry.js +4 -0
  984. package/dist/magma-components/p-656b00df.system.entry.js +34 -0
  985. package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
  986. package/dist/magma-components/p-69abd1d1.entry.js +1 -0
  987. package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
  988. package/dist/magma-components/p-6e32bf99.entry.js +1 -0
  989. package/dist/magma-components/{p-7497b39d.system.entry.js → p-6f81c9ef.system.entry.js} +2 -2
  990. package/dist/magma-components/p-70d38284.entry.js +1 -0
  991. package/dist/magma-components/{p-1f5cd2b5.entry.js → p-71cbc840.entry.js} +1 -1
  992. package/dist/magma-components/{p-4582aa3e.system.entry.js → p-729c89f9.system.entry.js} +1 -1
  993. package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
  994. package/dist/magma-components/p-73833405.entry.js +18 -0
  995. package/dist/magma-components/{p-aa8653b1.system.entry.js → p-74f515c3.system.entry.js} +2 -2
  996. package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
  997. package/dist/magma-components/p-772c18f4.entry.js +1 -0
  998. package/dist/magma-components/p-77939a25.system.entry.js +20 -0
  999. package/dist/magma-components/{p-88ac5d50.entry.js → p-791a6a6f.entry.js} +1 -1
  1000. package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
  1001. package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
  1002. package/dist/magma-components/p-7c217aa5.entry.js +1 -0
  1003. package/dist/magma-components/{p-2abfc393.entry.js → p-7ec1ea2e.entry.js} +1 -1
  1004. package/dist/magma-components/{p-db75bf05.system.entry.js → p-7fde3025.system.entry.js} +3 -3
  1005. package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
  1006. package/dist/magma-components/{p-11e50140.system.entry.js → p-80eea067.system.entry.js} +2 -2
  1007. package/dist/magma-components/p-8173ed07.entry.js +8 -0
  1008. package/dist/magma-components/{p-8059aa67.system.entry.js → p-81e02997.system.entry.js} +3 -3
  1009. package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
  1010. package/dist/magma-components/{p-f5a08dca.system.entry.js → p-8279056b.system.entry.js} +2 -2
  1011. package/dist/magma-components/{p-d8d87750.system.entry.js → p-835d79e5.system.entry.js} +1 -1
  1012. package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
  1013. package/dist/magma-components/{p-342770d2.system.entry.js → p-84777b38.system.entry.js} +2 -2
  1014. package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
  1015. package/dist/magma-components/{p-dfbecf72.system.entry.js → p-860bce85.system.entry.js} +3 -3
  1016. package/dist/magma-components/p-8645533a.entry.js +1 -0
  1017. package/dist/magma-components/{p-7d548a19.entry.js → p-8680f63e.entry.js} +1 -1
  1018. package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
  1019. package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
  1020. package/dist/magma-components/p-87ce9d6c.entry.js +1 -0
  1021. package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
  1022. package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
  1023. package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
  1024. package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
  1025. package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
  1026. package/dist/magma-components/p-8d6470fb.system.entry.js +13 -0
  1027. package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
  1028. package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
  1029. package/dist/magma-components/{p-cc109576.entry.js → p-919f9dce.entry.js} +1 -1
  1030. package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
  1031. package/dist/magma-components/{p-547f657e.system.entry.js → p-94289f3d.system.entry.js} +5 -5
  1032. package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
  1033. package/dist/magma-components/p-96bb36b9.entry.js +1 -0
  1034. package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
  1035. package/dist/magma-components/p-984dd850.entry.js +1 -0
  1036. package/dist/magma-components/{p-8b081ba9.entry.js → p-9855b517.entry.js} +1 -1
  1037. package/dist/magma-components/{p-2f3c6105.entry.js → p-9a3ddc91.entry.js} +1 -1
  1038. package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
  1039. package/dist/magma-components/p-9fc385aa.entry.js +1 -0
  1040. package/dist/magma-components/p-B-nayZ3E.system.js +1 -0
  1041. package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
  1042. package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
  1043. package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
  1044. package/dist/magma-components/p-Bz1eiKqd.js +1 -0
  1045. package/dist/{components/p-Dleapw-k.js → magma-components/p-CLhuNxYQ.js} +1 -1
  1046. package/dist/magma-components/p-CWk1SCJg.js +1 -0
  1047. package/dist/magma-components/{p-5vJawLPw.system.js → p-CZuIEo2v.system.js} +1 -1
  1048. package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
  1049. package/dist/magma-components/{p-LUd56iG_.system.js → p-DXAjcaHM.system.js} +1 -1
  1050. package/dist/magma-components/{p-C1ailvfu.system.js → p-OOCOFWC0.system.js} +18 -18
  1051. package/dist/{components/p-B9dgiq4u.js → magma-components/p-Raj-urIN.js} +1 -1
  1052. package/dist/magma-components/{p-zQY2FlcD.js → p-U5iXN1wy.js} +1 -1
  1053. package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
  1054. package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
  1055. package/dist/magma-components/{p-1809e47d.system.entry.js → p-a76a9f92.system.entry.js} +153 -133
  1056. package/dist/magma-components/p-a7c01334.entry.js +1 -0
  1057. package/dist/magma-components/p-a8e1ce2f.entry.js +1 -0
  1058. package/dist/magma-components/{p-d0c0c195.entry.js → p-a9ba496d.entry.js} +1 -1
  1059. package/dist/magma-components/{p-ef4d07ba.entry.js → p-ab00b7b9.entry.js} +1 -1
  1060. package/dist/magma-components/p-ab4b617d.entry.js +1 -0
  1061. package/dist/magma-components/p-ae3bf24c.system.entry.js +12 -0
  1062. package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
  1063. package/dist/magma-components/p-b476435f.entry.js +1 -0
  1064. package/dist/magma-components/p-b5789a7c.entry.js +1 -0
  1065. package/dist/magma-components/{p-bc30508b.entry.js → p-b738d3c1.entry.js} +1 -1
  1066. package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
  1067. package/dist/magma-components/p-bf0cb77d.system.entry.js +29 -0
  1068. package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
  1069. package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
  1070. package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
  1071. package/dist/magma-components/p-c6819aad.entry.js +1 -0
  1072. package/dist/magma-components/p-ca1969c5.entry.js +1 -0
  1073. package/dist/magma-components/p-cbb80188.entry.js +1 -0
  1074. package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
  1075. package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
  1076. package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
  1077. package/dist/magma-components/p-d0a93a14.system.entry.js +22 -0
  1078. package/dist/magma-components/{p-dbf69d54.system.entry.js → p-d0bfdb44.system.entry.js} +2 -2
  1079. package/dist/magma-components/p-d37fe692.system.entry.js +10 -0
  1080. package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
  1081. package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
  1082. package/dist/magma-components/{p-b728638c.system.entry.js → p-d561062f.system.entry.js} +4 -4
  1083. package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
  1084. package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
  1085. package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
  1086. package/dist/magma-components/{p-a2d10402.system.entry.js → p-d980c3d2.system.entry.js} +1 -1
  1087. package/dist/magma-components/p-da24a265.entry.js +1 -0
  1088. package/dist/magma-components/p-dbd34e3b.entry.js +1 -0
  1089. package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
  1090. package/dist/magma-components/p-e1383302.entry.js +1 -0
  1091. package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
  1092. package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
  1093. package/dist/magma-components/{p-1a5411a8.entry.js → p-e5950aee.entry.js} +1 -1
  1094. package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
  1095. package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
  1096. package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
  1097. package/dist/magma-components/p-f1aafe07.entry.js +1 -0
  1098. package/dist/magma-components/{p-69b37755.system.entry.js → p-f2f992c2.system.entry.js} +2 -2
  1099. package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
  1100. package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
  1101. package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
  1102. package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
  1103. package/dist/magma-components/{p-4225484c.entry.js → p-f670ed20.entry.js} +1 -1
  1104. package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
  1105. package/dist/magma-components/{p-4f24ccf3.entry.js → p-f78c1699.entry.js} +1 -1
  1106. package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
  1107. package/dist/magma-components/{p-ce2ef293.system.entry.js → p-f889d413.system.entry.js} +7 -7
  1108. package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
  1109. package/dist/magma-components/{p-90fe332f.entry.js → p-fc2d1134.entry.js} +1 -1
  1110. package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
  1111. package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
  1112. package/dist/stats.json +3560 -2714
  1113. package/dist/types/components/mds-emoji/mds-emoji.d.ts +2 -0
  1114. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1115. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
  1116. package/dist/types/components/mds-link/mds-link.d.ts +71 -0
  1117. package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
  1118. package/dist/types/components/mds-link/meta/types.d.ts +3 -0
  1119. package/dist/types/components.d.ts +103 -4
  1120. package/package.json +11 -10
  1121. package/dist/components/p-2gaGDQwL.js +0 -1
  1122. package/dist/components/p-AFBkzOrP.js +0 -1
  1123. package/dist/components/p-BN5kmfLJ.js +0 -8
  1124. package/dist/components/p-BUr3NqxM.js +0 -1
  1125. package/dist/components/p-BjFCjSw6.js +0 -1
  1126. package/dist/components/p-CIWWmisz.js +0 -1
  1127. package/dist/components/p-CJyTL7Mj.js +0 -1
  1128. package/dist/components/p-CylHulxe.js +0 -1
  1129. package/dist/components/p-D3_jgpKd.js +0 -1
  1130. package/dist/components/p-D8eZRaSQ.js +0 -1
  1131. package/dist/components/p-DGGk8PS_.js +0 -1
  1132. package/dist/components/p-DYpfVn7a.js +0 -1
  1133. package/dist/components/p-wHQGpA62.js +0 -1
  1134. package/dist/esm-es5/unit-D8eZRaSQ.js +0 -1
  1135. package/dist/magma-components/p-0b5fe949.entry.js +0 -1
  1136. package/dist/magma-components/p-0b7a884e.system.entry.js +0 -29
  1137. package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
  1138. package/dist/magma-components/p-1989c0b4.entry.js +0 -8
  1139. package/dist/magma-components/p-20608f69.system.entry.js +0 -35
  1140. package/dist/magma-components/p-2061e567.entry.js +0 -1
  1141. package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
  1142. package/dist/magma-components/p-2294945a.system.entry.js +0 -34
  1143. package/dist/magma-components/p-2aab3752.entry.js +0 -1
  1144. package/dist/magma-components/p-2c4d2717.entry.js +0 -1
  1145. package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
  1146. package/dist/magma-components/p-3b36319a.entry.js +0 -1
  1147. package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
  1148. package/dist/magma-components/p-3eaeb263.system.entry.js +0 -25
  1149. package/dist/magma-components/p-4116e328.system.entry.js +0 -1
  1150. package/dist/magma-components/p-4191bf22.entry.js +0 -1
  1151. package/dist/magma-components/p-4260da67.system.entry.js +0 -12
  1152. package/dist/magma-components/p-43338a07.entry.js +0 -1
  1153. package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
  1154. package/dist/magma-components/p-505fb7d4.entry.js +0 -1
  1155. package/dist/magma-components/p-51a869ee.entry.js +0 -1
  1156. package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
  1157. package/dist/magma-components/p-53bcfdbb.entry.js +0 -1
  1158. package/dist/magma-components/p-5439125d.system.entry.js +0 -10
  1159. package/dist/magma-components/p-5a2deba5.entry.js +0 -1
  1160. package/dist/magma-components/p-6b01ef3b.entry.js +0 -1
  1161. package/dist/magma-components/p-6da68fd5.entry.js +0 -1
  1162. package/dist/magma-components/p-6ebbcd7b.system.entry.js +0 -14
  1163. package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
  1164. package/dist/magma-components/p-765ff9a3.system.entry.js +0 -98
  1165. package/dist/magma-components/p-7a568cbf.entry.js +0 -1
  1166. package/dist/magma-components/p-7f776dff.entry.js +0 -1
  1167. package/dist/magma-components/p-811272a9.entry.js +0 -1
  1168. package/dist/magma-components/p-87b15008.entry.js +0 -1
  1169. package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
  1170. package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
  1171. package/dist/magma-components/p-972ff8a9.entry.js +0 -18
  1172. package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
  1173. package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
  1174. package/dist/magma-components/p-9e4e1a86.system.entry.js +0 -111
  1175. package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
  1176. package/dist/magma-components/p-D8eZRaSQ.js +0 -1
  1177. package/dist/magma-components/p-QYez4sql.system.js +0 -5
  1178. package/dist/magma-components/p-_X0N_X__.system.js +0 -1
  1179. package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
  1180. package/dist/magma-components/p-a51f849a.entry.js +0 -1
  1181. package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
  1182. package/dist/magma-components/p-a8593847.entry.js +0 -1
  1183. package/dist/magma-components/p-ac4109e3.entry.js +0 -1
  1184. package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
  1185. package/dist/magma-components/p-b48fc62e.entry.js +0 -1
  1186. package/dist/magma-components/p-b6b7dc40.entry.js +0 -1
  1187. package/dist/magma-components/p-b9e0b31d.entry.js +0 -1
  1188. package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
  1189. package/dist/magma-components/p-be741e35.entry.js +0 -1
  1190. package/dist/magma-components/p-c3622315.entry.js +0 -1
  1191. package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
  1192. package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
  1193. package/dist/magma-components/p-d0f257d9.system.entry.js +0 -80
  1194. package/dist/magma-components/p-d3678561.system.entry.js +0 -35
  1195. package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
  1196. package/dist/magma-components/p-dba5a6da.entry.js +0 -1
  1197. package/dist/magma-components/p-dbb82d72.system.entry.js +0 -54
  1198. package/dist/magma-components/p-dc3ef031.system.entry.js +0 -27
  1199. package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
  1200. package/dist/magma-components/p-e15a874b.entry.js +0 -1
  1201. package/dist/magma-components/p-e954b5c5.entry.js +0 -1
  1202. package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
  1203. package/dist/magma-components/p-f28e048b.system.entry.js +0 -55
  1204. package/dist/magma-components/p-f454c06b.entry.js +0 -1
  1205. package/dist/magma-components/p-f7f6881a.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as a,H as t,h as s,c as e,t as r}from"./p-B2p5a1Y8.js";import{m as i}from"./p-CvUz9jjh.js";import{m as o}from"./p-J-ikDhyq.js";import{L as d}from"./p-B9dgiq4u.js";import{p as n}from"./p-BlnEiKN4.js";import{k as m}from"./p-C4ckbXOl.js";import{d as l}from"./p-BUr3NqxM.js";import{d as c}from"./p-cIZniMh0.js";import{d as h}from"./p-B6B6q5kP.js";import{d as b}from"./p-DezdwzYQ.js";import{d as u}from"./p-2gaGDQwL.js";var y={testKeyCombination:"Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο",testPassed:"Ο συνδυασμός είναι σωστός",wrongKeysCombination:"Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά."},k={testKeyCombination:"Click to test the combination by typing on the keyboard",testPassed:"The combination is correct",wrongKeysCombination:"The combination you entered does not seem to be correct. Please try again."},v={testKeyCombination:"Haz clic para probar la combinación escribiendo en el teclado",testPassed:"La combinación es correcta",wrongKeysCombination:"La combinación que introdujiste no parece ser correcta. Inténtalo de nuevo."},g={testKeyCombination:"Clicca per provare la combinazione digitando da tastiera",testPassed:"La combinazione è corretta",wrongKeysCombination:"La combinazione che hai digitato non sembra essere corretta, riprova."};const p=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.errors=new Set,this.keyEls=[],this.testInit=!1,this.pressedKeys=new Set,this.keyCombination=new Set,this.t=new d({el:y,en:k,es:v,it:g}),this.testPassed=void 0,this.initKeyboardTest=()=>{var a,t;this.testInit||(this.testInit=!0,this.updateElements(),this.shortcutsEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".shortcuts"),this.buttonTrigger=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".combination-checker"),this.buttonTrigger.removeAttribute("title"))},this.separateKeys=()=>{this.filteredNodes.forEach(((a,t)=>{if(t<this.filteredNodes.length-1){const t=document.createElement("mds-text");t.typography="detail",t.innerHTML="<b>+</b>",a.after(t)}}))},this.updateElements=()=>{this.filteredNodes.forEach((a=>{var t;const s=null!==(t=a.name)&&void 0!==t?t:"";""!==s&&(this.keyEls.push(a),this.keyCombination.add(""+this.keyCodes(s.toLowerCase())))}))},this.checkTest=()=>!0===this.testPassed?"pass":!1===this.testPassed?"fail":void 0,this.checkKeyboardShortcut=()=>{this.stopKeyboardShortcutTest(),this.testPassed=this.areEquivalent(this.keyCombination,this.pressedKeys),this.test=this.checkTest(),this.keyEls.forEach((a=>{a.removeAttribute("pressed")}))},this.keyCodes=a=>m[a.toLowerCase()].keyCodes,this.hasKeyCode=(a,t)=>m[a.toLowerCase()].keyCodes.includes(t),this.areEquivalent=(a,t)=>{const s=Array.from(a),e=Array.from(t);let r=!0;if(s.length!==e.length)return this.errors.add("wrongKeysCombination"),!1;const i=[...e];return r=s.every((a=>{const t=a.split(","),s=i.findIndex((a=>t.includes(a)));return-1!==s&&(i.splice(s,1),!0)})),r||this.errors.add("wrongKeysCombination"),r},this.addKeyboardShortcut=a=>{if("undefined"==typeof document)return;a.stopPropagation(),a.preventDefault();const{code:t}=a;this.pressedKeys.add(t),this.keyEls.forEach((a=>{this.hasKeyCode(a.name,t)&&(a.pressed=!0)}))},this.startKeyboardShortcutTest=()=>{this.pressedKeys.clear(),this.testPassed=void 0,this.test=this.testPassed,this.buttonTrigger.blur(),this.buttonTrigger.await=!0,this.buttonTrigger.removeAttribute("tabindex"),this.shortcutsEl.setAttribute("tabindex","0"),this.shortcutsEl.focus(),this.shortcutsEl.addEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.addEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.addEventListener("keyup",this.checkKeyboardShortcut)},this.stopKeyboardShortcutTest=()=>{this.buttonTrigger.await=!1,this.buttonTrigger.setAttribute("tabindex","0"),this.shortcutsEl.removeAttribute("tabindex"),this.shortcutsEl.removeEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.removeEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.removeEventListener("keyup",this.checkKeyboardShortcut)},this.getButtonIcon=()=>"pass"===this.test?i:"fail"===this.test?o:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/></svg>'}disconnectedCallback(){this.testInit&&this.stopKeyboardShortcutTest()}handleTryProperty(a){a&&this.initKeyboardTest()}componentDidLoad(){var a,t;this.nodes=null===(t=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===t?void 0:t.assignedNodes(),this.filteredNodes=this.nodes.filter((a=>1===a.nodeType)),this.separateKeys(),this.try&&this.initKeyboardTest()}render(){return s(e,{key:"6603e4de385bb9a42724bf3d05f7ebfc929181d8","pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},s("div",{key:"c43f49f4328527e752a347fbfae3929d35e68f0e",class:"shortcuts"},s("slot",{key:"11bf3ca3acbf3b70b00e946d0e429aa7b39f1ca4"})),this.try&&s("mds-button",{key:"98239fedca4b3b0621237328f119c2f58b7d503c",icon:this.getButtonIcon(),"aria-label":this.t.get("testKeyCombination"),class:"combination-checker",variant:"dark",tone:"text",onClick:this.startKeyboardShortcutTest}),this.try&&s("mds-tooltip",{key:"78bd07aa0fd0c472a414650b4a8595abca54d690",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&s("div",{key:"8727138f2acef9497ebaca4974359577f1f087d4",class:"errors"},[...this.errors].map((a=>s("mds-text",{typography:"tip"},this.t.get(a)))))))}get host(){return this}static get watchers(){return{try:[{handleTryProperty:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-keyboard-background-default:var(--mds-keyboard-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-keyboard-background-fail:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-keyboard-background-pass:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-keyboard-background:var(--private-keyboard-tray);--mds-keyboard-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-keyboard-fill-fail:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-keyboard-fill-pass:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-dark:0 calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-illumination-dark-opacity,.05)) inset;--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-illumination-light:0 var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem)*25)) 0 0 rgb(255 255 255/var(--mds-keyboard-illumination-light-opacity,.075)) inset;--mds-keyboard-illumination-shadow:0 0 1px 0 #0000;--mds-keyboard-key-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-key-illumination-shadow:var(--shadow-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:1s;--private-keyboard-tray:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));background-color:var(--mds-keyboard-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);color:var(--mds-keyboard-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));corner-shape:var(--magma-corner-shape,squircle);align-items:center;align-self:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);justify-self:flex-start;padding:calc(var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem) * 25)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200)) calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200));transition-duration:.2s;transition-property:background-color;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}.errors{display:grid}.errors,.shortcuts{gap:calc(var(--spacing,.0025rem)*100)}.shortcuts{align-items:center;display:inline-flex;outline:0}:host(:focus-within){--mds-keyboard-background:var(--private-keyboard-tray)}@supports (color:color-mix(in lab,red,red)){:host(:focus-within){--mds-keyboard-background:color-mix(in oklab,var(--private-keyboard-tray) 88%,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}}mds-tooltip{--mds-tooltip-delay:0}.combination-checker{--mds-button-await-duration:var(--mds-keyboard-spinner-duration,1s);border-radius:var(--magma-radius-full,var(--radius-full,1000px))}::slotted(mds-keyboard-key){align-self:flex-end}:host([test=pass]){--mds-keyboard-background-default:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))))}:host([test=fail]){--mds-keyboard-background-default:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))))}:host([test=pass]) .combination-checker{background-color:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))));fill:var(--mds-keyboard-fill-pass,rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0))))}:host([test=fail]) .combination-checker{background-color:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));fill:var(--mds-keyboard-fill-fail,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--private-keyboard-tray:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-keyboard-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--private-keyboard-tray:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-keyboard-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}}"}},[257,"mds-keyboard",{test:[1537],try:[516],testPassed:[32]},void 0,{try:[{handleTryProperty:0}]}]),f=p,x=function(){"undefined"!=typeof customElements&&["mds-keyboard","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((a=>{switch(a){case"mds-keyboard":customElements.get(r(a))||customElements.define(r(a),p);break;case"mds-button":customElements.get(r(a))||l();break;case"mds-icon":customElements.get(r(a))||c();break;case"mds-spinner":customElements.get(r(a))||h();break;case"mds-text":customElements.get(r(a))||b();break;case"mds-tooltip":customElements.get(r(a))||u()}}))};export{f as MdsKeyboard,x as defineCustomElement}
1
+ import{p as a,H as t,h as s,c as r,t as e}from"./p-TZJN-ygm.js";import{m as i}from"./p-CvUz9jjh.js";import{m as o}from"./p-J-ikDhyq.js";import{L as d}from"./p-B8x-d2fx.js";import{p as n}from"./p-CVRN4LDc.js";import{k as m}from"./p-C4ckbXOl.js";import{d as l}from"./p-ClPv-Ljc.js";import{d as c}from"./p-Cmn1DJAB.js";import{d as h}from"./p-ZuubAcA3.js";import{d as b}from"./p-CNF3u0Li.js";import{d as u}from"./p-D8wd-EZX.js";var y={testKeyCombination:"Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο",testPassed:"Ο συνδυασμός είναι σωστός",wrongKeysCombination:"Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά."},k={testKeyCombination:"Click to test the combination by typing on the keyboard",testPassed:"The combination is correct",wrongKeysCombination:"The combination you entered does not seem to be correct. Please try again."},v={testKeyCombination:"Haz clic para probar la combinación escribiendo en el teclado",testPassed:"La combinación es correcta",wrongKeysCombination:"La combinación que introdujiste no parece ser correcta. Inténtalo de nuevo."},g={testKeyCombination:"Clicca per provare la combinazione digitando da tastiera",testPassed:"La combinazione è corretta",wrongKeysCombination:"La combinazione che hai digitato non sembra essere corretta, riprova."};const p=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.errors=new Set,this.keyEls=[],this.testInit=!1,this.pressedKeys=new Set,this.keyCombination=new Set,this.t=new d({el:y,en:k,es:v,it:g}),this.testPassed=void 0,this.initKeyboardTest=()=>{var a,t;this.testInit||(this.testInit=!0,this.updateElements(),this.shortcutsEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".shortcuts"),this.buttonTrigger=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".combination-checker"),this.buttonTrigger.removeAttribute("title"))},this.separateKeys=()=>{this.filteredNodes.forEach(((a,t)=>{if(t<this.filteredNodes.length-1){const t=document.createElement("mds-text");t.typography="detail",t.innerHTML="<b>+</b>",a.after(t)}}))},this.updateElements=()=>{this.filteredNodes.forEach((a=>{var t;const s=null!==(t=a.name)&&void 0!==t?t:"";""!==s&&(this.keyEls.push(a),this.keyCombination.add(""+this.keyCodes(s.toLowerCase())))}))},this.checkTest=()=>!0===this.testPassed?"pass":!1===this.testPassed?"fail":void 0,this.checkKeyboardShortcut=()=>{this.stopKeyboardShortcutTest(),this.testPassed=this.areEquivalent(this.keyCombination,this.pressedKeys),this.test=this.checkTest(),this.keyEls.forEach((a=>{a.removeAttribute("pressed")}))},this.keyCodes=a=>m[a.toLowerCase()].keyCodes,this.hasKeyCode=(a,t)=>m[a.toLowerCase()].keyCodes.includes(t),this.areEquivalent=(a,t)=>{const s=Array.from(a),r=Array.from(t);let e=!0;if(s.length!==r.length)return this.errors.add("wrongKeysCombination"),!1;const i=[...r];return e=s.every((a=>{const t=a.split(","),s=i.findIndex((a=>t.includes(a)));return-1!==s&&(i.splice(s,1),!0)})),e||this.errors.add("wrongKeysCombination"),e},this.addKeyboardShortcut=a=>{if("undefined"==typeof document)return;a.stopPropagation(),a.preventDefault();const{code:t}=a;this.pressedKeys.add(t),this.keyEls.forEach((a=>{this.hasKeyCode(a.name,t)&&(a.pressed=!0)}))},this.startKeyboardShortcutTest=()=>{this.pressedKeys.clear(),this.testPassed=void 0,this.test=this.testPassed,this.buttonTrigger.blur(),this.buttonTrigger.await=!0,this.buttonTrigger.removeAttribute("tabindex"),this.shortcutsEl.setAttribute("tabindex","0"),this.shortcutsEl.focus(),this.shortcutsEl.addEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.addEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.addEventListener("keyup",this.checkKeyboardShortcut)},this.stopKeyboardShortcutTest=()=>{this.buttonTrigger.await=!1,this.buttonTrigger.setAttribute("tabindex","0"),this.shortcutsEl.removeAttribute("tabindex"),this.shortcutsEl.removeEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.removeEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.removeEventListener("keyup",this.checkKeyboardShortcut)},this.getButtonIcon=()=>"pass"===this.test?i:"fail"===this.test?o:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/></svg>'}disconnectedCallback(){this.testInit&&this.stopKeyboardShortcutTest()}handleTryProperty(a){a&&this.initKeyboardTest()}componentDidLoad(){var a,t;this.nodes=null===(t=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===t?void 0:t.assignedNodes(),this.filteredNodes=this.nodes.filter((a=>1===a.nodeType)),this.separateKeys(),this.try&&this.initKeyboardTest()}render(){return s(r,{key:"6603e4de385bb9a42724bf3d05f7ebfc929181d8","pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},s("div",{key:"c43f49f4328527e752a347fbfae3929d35e68f0e",class:"shortcuts"},s("slot",{key:"11bf3ca3acbf3b70b00e946d0e429aa7b39f1ca4"})),this.try&&s("mds-button",{key:"98239fedca4b3b0621237328f119c2f58b7d503c",icon:this.getButtonIcon(),"aria-label":this.t.get("testKeyCombination"),class:"combination-checker",variant:"dark",tone:"text",onClick:this.startKeyboardShortcutTest}),this.try&&s("mds-tooltip",{key:"78bd07aa0fd0c472a414650b4a8595abca54d690",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&s("div",{key:"8727138f2acef9497ebaca4974359577f1f087d4",class:"errors"},[...this.errors].map((a=>s("mds-text",{typography:"tip"},this.t.get(a)))))))}get host(){return this}static get watchers(){return{try:[{handleTryProperty:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-keyboard-background-default:var(--mds-keyboard-background,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--mds-keyboard-background-fail:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-keyboard-background-pass:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-keyboard-background:var(--private-keyboard-tray);--mds-keyboard-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-keyboard-fill-fail:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-keyboard-fill-pass:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-dark:0 calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-illumination-dark-opacity,.05)) inset;--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-illumination-light:0 var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem)*25)) 0 0 rgb(255 255 255/var(--mds-keyboard-illumination-light-opacity,.075)) inset;--mds-keyboard-illumination-shadow:0 0 1px 0 #0000;--mds-keyboard-key-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-key-illumination-shadow:var(--shadow-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:var(--duration-1000,1s);--private-keyboard-tray:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));background-color:var(--mds-keyboard-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);color:var(--mds-keyboard-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));corner-shape:var(--magma-corner-shape,squircle);align-items:center;align-self:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);justify-self:flex-start;padding:calc(var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem) * 25)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200)) calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200));transition-duration:var(--duration-200,.2s);transition-property:background-color;transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}.errors{display:grid}.errors,.shortcuts{gap:calc(var(--spacing,.0025rem)*100)}.shortcuts{align-items:center;display:inline-flex;outline:0}:host(:focus-within){--mds-keyboard-background:var(--private-keyboard-tray)}@supports (color:color-mix(in lab,red,red)){:host(:focus-within){--mds-keyboard-background:color-mix(in oklab,var(--private-keyboard-tray) 88%,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}}mds-tooltip{--mds-tooltip-delay:0}.combination-checker{--mds-button-await-duration:var(--mds-keyboard-spinner-duration,var(--duration-1000,1s));border-radius:var(--magma-radius-full,var(--radius-full,1000px))}::slotted(mds-keyboard-key){align-self:flex-end}:host([test=pass]){--mds-keyboard-background-default:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))))}:host([test=fail]){--mds-keyboard-background-default:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))))}:host([test=pass]) .combination-checker{background-color:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))));fill:var(--mds-keyboard-fill-pass,rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0))))}:host([test=fail]) .combination-checker{background-color:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));fill:var(--mds-keyboard-fill-fail,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--private-keyboard-tray:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-keyboard-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 calc(var(--spacing,.0025rem)*75) 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--private-keyboard-tray:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-keyboard-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 calc(var(--spacing,.0025rem)*75) 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}}"}},[257,"mds-keyboard",{test:[1537],try:[516],testPassed:[32]},void 0,{try:[{handleTryProperty:0}]}]),f=p,x=function(){"undefined"!=typeof customElements&&["mds-keyboard","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((a=>{switch(a){case"mds-keyboard":customElements.get(e(a))||customElements.define(e(a),p);break;case"mds-button":customElements.get(e(a))||l();break;case"mds-icon":customElements.get(e(a))||c();break;case"mds-spinner":customElements.get(e(a))||h();break;case"mds-text":customElements.get(e(a))||b();break;case"mds-tooltip":customElements.get(e(a))||u()}}))};export{f as MdsKeyboard,x as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as t,h as r,c as e,t as i}from"./p-B2p5a1Y8.js";import{p as o}from"./p-BlnEiKN4.js";import{d as n}from"./p-cIZniMh0.js";import{d as s}from"./p-DezdwzYQ.js";const d=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.threshold=0,this.reserveLine=a=>" ".repeat(a.length),this.setObserver=()=>{"undefined"!=typeof window&&(this.observer=new window.IntersectionObserver((([a])=>{this.isIntersecting=a.isIntersecting}),{root:null,threshold:this.threshold}),this.observer.observe(this.hostElement))},this.resolveName=()=>{const a=[this.label,this.description].filter((a=>""!==(null!=a?a:""))).join(": ")||void 0,t=this.hostElement.getAttribute("aria-label");return null!==t&&t!==this.appliedName&&t!==a?t:(this.appliedName=a,a)}}componentWillLoad(){0!==this.threshold&&this.setObserver()}render(){return r(e,{key:"5cbed18a9cb97bbd03df61ec36cf86b91a06801c","aria-label":this.resolveName(),role:"listitem","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.icon&&r("div",{key:"490dc56de9a08150db81c337bccbd0aded6f7ef3",class:"icon-container",part:"icon-container"},r("mds-icon",{key:"868e8cf72c9a2a40132ba1863338b37a1ac5370f",class:"icon",name:this.icon,part:"icon"})),r("div",{key:"cbc86abd25360a1483c11322c3c56defa08629c5",class:"info",part:"content","aria-hidden":"true"},this.label&&0!==this.threshold&&r("mds-text",{key:"5e5b143e9cfd068cfa72b47faa71b71e18bafe5b",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&0===this.threshold&&r("mds-text",{key:"bbeb36dcdab97c85338ecfc413d5014778aad53b",class:"value",typography:"h2"},this.label),this.description&&0!==this.threshold&&r("mds-text",{key:"ae02c0e2147ebfec870da601995bc207abd80ce8",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&0===this.threshold&&r("mds-text",{key:"bb070606b4c32f80e18e26e7ae94f491ee3a2838",class:"description",typography:"label"},this.description)))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(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{--mds-kpi-item-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-kpi-item-text-animation-placeholder-char:var(--mds-kpi-text-animation-placeholder-char," ");--mds-kpi-item-text-animation-speed:var(--mds-kpi-text-animation-speed,.15);--mds-kpi-item-transition-duration:var(--duration-300,.3s);--private-kpi-item-padding:calc(var(--spacing,.0025rem)*400);--private-kpi-item-radius:var(--magma-radius-4xl,var(--radius-squircle-4xl,80px));--private-kpi-item-transition-duration:var(--mds-kpi-item-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));aspect-ratio:1;background-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));border-radius:var(--private-kpi-item-radius);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;flex-direction:column;gap:0;overflow:hidden;padding:var(--private-kpi-item-padding);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,box-shadow}.icon-container{align-items:center;display:flex;flex-grow:1;justify-content:center;transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon,.icon-container{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon{fill:var(--mds-kpi-item-icon-color);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:40%}.info{background-color:var(--mds-kpi-item-info-background);border-radius:max(0px,calc(var(--private-kpi-item-radius) - var(--private-kpi-item-padding)));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:inherit;display:grid;flex-shrink:0;gap:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);text-align:center;transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,border-radius,box-shadow}.description,.info,.value{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.description,.value{transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));--mds-text-animation-speed:var(--mds-kpi-item-text-animation-speed);--mds-text-animation-placeholder-char:var(--mds-kpi-item-text-animation-placeholder-char);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill}: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-kpi-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .info{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@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-kpi-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .info{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[1,"mds-kpi-item",{label:[1],description:[1],threshold:[2],icon:[1],isIntersecting:[32]}]),c=d,m=function(){"undefined"!=typeof customElements&&["mds-kpi-item","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-kpi-item":customElements.get(i(a))||customElements.define(i(a),d);break;case"mds-icon":customElements.get(i(a))||n();break;case"mds-text":customElements.get(i(a))||s()}}))};export{c as MdsKpiItem,m as defineCustomElement}
1
+ import{p as a,H as t,h as r,c as e,t as i}from"./p-TZJN-ygm.js";import{p as o}from"./p-CVRN4LDc.js";import{d as n}from"./p-Cmn1DJAB.js";import{d as s}from"./p-CNF3u0Li.js";const d=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.threshold=0,this.reserveLine=a=>" ".repeat(a.length),this.setObserver=()=>{"undefined"!=typeof window&&(this.observer=new window.IntersectionObserver((([a])=>{this.isIntersecting=a.isIntersecting}),{root:null,threshold:this.threshold}),this.observer.observe(this.hostElement))},this.resolveName=()=>{const a=[this.label,this.description].filter((a=>""!==(null!=a?a:""))).join(": ")||void 0,t=this.hostElement.getAttribute("aria-label");return null!==t&&t!==this.appliedName&&t!==a?t:(this.appliedName=a,a)}}componentWillLoad(){0!==this.threshold&&this.setObserver()}render(){return r(e,{key:"5cbed18a9cb97bbd03df61ec36cf86b91a06801c","aria-label":this.resolveName(),role:"listitem","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.icon&&r("div",{key:"490dc56de9a08150db81c337bccbd0aded6f7ef3",class:"icon-container",part:"icon-container"},r("mds-icon",{key:"868e8cf72c9a2a40132ba1863338b37a1ac5370f",class:"icon",name:this.icon,part:"icon"})),r("div",{key:"cbc86abd25360a1483c11322c3c56defa08629c5",class:"info",part:"content","aria-hidden":"true"},this.label&&0!==this.threshold&&r("mds-text",{key:"5e5b143e9cfd068cfa72b47faa71b71e18bafe5b",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&0===this.threshold&&r("mds-text",{key:"bbeb36dcdab97c85338ecfc413d5014778aad53b",class:"value",typography:"h2"},this.label),this.description&&0!==this.threshold&&r("mds-text",{key:"ae02c0e2147ebfec870da601995bc207abd80ce8",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&0===this.threshold&&r("mds-text",{key:"bb070606b4c32f80e18e26e7ae94f491ee3a2838",class:"description",typography:"label"},this.description)))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(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{--mds-kpi-item-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-kpi-item-text-animation-placeholder-char:var(--mds-kpi-text-animation-placeholder-char," ");--mds-kpi-item-text-animation-speed:var(--mds-kpi-text-animation-speed,.15);--mds-kpi-item-transition-duration:var(--duration-300,.3s);--private-kpi-item-padding:calc(var(--spacing,.0025rem)*400);--private-kpi-item-radius:var(--magma-radius-4xl,var(--radius-squircle-4xl,80px));--private-kpi-item-transition-duration:var(--mds-kpi-item-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));aspect-ratio:1;background-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));border-radius:var(--private-kpi-item-radius);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;flex-direction:column;gap:0;overflow:hidden;padding:var(--private-kpi-item-padding);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,box-shadow}.icon-container{align-items:center;display:flex;flex-grow:1;justify-content:center;transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon,.icon-container{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon{fill:var(--mds-kpi-item-icon-color);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:40%}.info{background-color:var(--mds-kpi-item-info-background);border-radius:max(0px,calc(var(--private-kpi-item-radius) - var(--private-kpi-item-padding)));box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:inherit;display:grid;flex-shrink:0;gap:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);text-align:center;transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,border-radius,box-shadow}.description,.info,.value{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.description,.value{transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));--mds-text-animation-speed:var(--mds-kpi-item-text-animation-speed);--mds-text-animation-placeholder-char:var(--mds-kpi-item-text-animation-placeholder-char);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill}: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-kpi-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([pref-contrast=more]) .info{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@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-kpi-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .info{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'}},[1,"mds-kpi-item",{label:[1],description:[1],threshold:[2],icon:[1],isIntersecting:[32]}]),m=d,c=function(){"undefined"!=typeof customElements&&["mds-kpi-item","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-kpi-item":customElements.get(i(a))||customElements.define(i(a),d);break;case"mds-icon":customElements.get(i(a))||n();break;case"mds-text":customElements.get(i(a))||s()}}))};export{m as MdsKpiItem,c as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as s,c as i,t as o}from"./p-B2p5a1Y8.js";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"efc7c5f2d0b3edb52ea3d67df78cd460edf2c46c",role:"list"},s("slot",{key:"ba0f918fc0fe6f3dbe848843bb9c12f071fb7883"}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-kpi-item: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-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}'}},[257,"mds-kpi"]),d=a,r=function(){"undefined"!=typeof customElements&&["mds-kpi"].forEach((t=>{"mds-kpi"===t&&(customElements.get(o(t))||customElements.define(o(t),a))}))};export{d as MdsKpi,r as defineCustomElement}
1
+ import{p as t,H as e,h as s,c as i,t as a}from"./p-TZJN-ygm.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"efc7c5f2d0b3edb52ea3d67df78cd460edf2c46c",role:"list"},s("slot",{key:"ba0f918fc0fe6f3dbe848843bb9c12f071fb7883"}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-kpi-item: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-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(calc(var(--spacing,.0025rem)*4500),1fr))}'}},[257,"mds-kpi"]),d=o,r=function(){"undefined"!=typeof customElements&&["mds-kpi"].forEach((t=>{"mds-kpi"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{d as MdsKpi,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as a,H as l,d as r,h as e,c as o,t as b}from"./p-B2p5a1Y8.js";import{m as s}from"./p-BJ8rpzfj.js";import{L as t}from"./p-B9dgiq4u.js";import{p as n}from"./p-BlnEiKN4.js";import{d as c}from"./p-BUr3NqxM.js";import{d}from"./p-cIZniMh0.js";import{d as g}from"./p-B6B6q5kP.js";import{d as m}from"./p-DezdwzYQ.js";var i={remove:"Αφαίρεση"},v={remove:"Remove"},u={remove:"Eliminar"},h={remove:"Rimuovi"};const k=a(class extends l{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.deletedEvent=r(this,"mdsLabelDelete",7),this.t=new t({el:i,en:v,es:u,it:h}),this.variant="sky",this.tone="weak",this.truncate="word",this.typography="caption",this.deletable=!1,this.onClickDelete=a=>{a.stopPropagation(),a.preventDefault(),this.deletedEvent.emit()}}render(){return e(o,{key:"8f6ca08bbc9cfa1ea3998c2d375b7adbc19dee80","pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("mds-text",{key:"a02aa83c34deff7dfd83dcd3d586da5d06106e69",class:"text",truncate:this.truncate,typography:this.typography},this.label),this.deletable&&e("mds-button",{key:"074e518bf6aae0dda189a6ccc52d8f81d8663a04",class:"button-close",icon:s,onClick:this.onClickDelete,title:this.t.get("remove"),size:"sm"}))}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))),:is(mds-button,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-label-background:rgb(var(--label-yellow-09,251 221 131));--mds-label-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-blue-02,7 39 192)));--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-label-button-background:#0000;--mds-label-button-background-hover:rgb(var(--label-yellow-07,239 183 8));--mds-label-button-icon-color:rgb(var(--label-yellow-03,112 85 4));--private-bevel-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-label-background,rgb(var(--label-blue-08,200 210 253)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-label-color,rgb(var(--label-blue-02,7 39 192)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;fill:var(--mds-label-icon-color,rgb(var(--label-blue-02,7 39 192)));flex:1;gap:calc(var(--spacing,.0025rem)*50);max-width:fit-content;min-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,fill;--mds-label-background:rgb(var(--label-blue-08,200 210 253));--mds-label-button-background-hover:rgb(var(--label-blue-09,216 222 254));--mds-label-button-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-label-color:rgb(var(--label-blue-02,7 39 192));--mds-label-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-label-selection-background:rgb(var(--label-blue-06,149 166 251));--mds-label-selection-color:rgb(var(--label-blue-10,233 236 254))}@supports (corner-shape:bevel){:host{corner-left-shape:superellipse(.25);corner-right-shape:var(--magma-corner-shape,squircle);align-items:stretch;padding-left:calc(var(--private-bevel-size)/2);padding-right:0}}:host::selection{background-color:var(--mds-label-selection-background,rgb(var(--label-blue-06,149 166 251)));color:var(--mds-label-selection-color,rgb(var(--label-blue-10,233 236 254)))}:host([truncate=word]) .text{white-space:nowrap}.text{--mds-text-selection-background:var(--mds-label-selection-background,rgb(var(--label-blue-06,149 166 251)));--mds-text-selection-color:var(--mds-label-selection-color,rgb(var(--label-blue-10,233 236 254)));align-self:center;display:block;flex-grow:1}.text:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}.button-close{--mds-button-background:var(--mds-label-button-background,#0000);--mds-button-border-opacity:0;align-self:center;fill:var(--mds-label-button-icon-color,rgb(var(--label-blue-04,63 94 248)));flex-shrink:0}.button-close:hover{--mds-button-background:var(--mds-label-button-background-hover,rgb(var(--label-blue-08,200 210 253)))}:host([variant=red]){--mds-label-background:rgb(var(--label-red-04,212 28 28));--mds-label-button-background-hover:rgb(var(--label-red-05,230 66 66));--mds-label-button-icon-color:rgb(var(--label-red-10,252 233 233));--mds-label-color:rgb(var(--label-red-10,252 233 233));--mds-label-icon-color:rgb(var(--label-red-10,252 233 233));--mds-label-selection-background:rgb(var(--label-red-08,248 201 201));--mds-label-selection-color:rgb(var(--label-red-02,131 17 17))}:host([variant=red]):host([tone=weak]){--mds-label-background:rgb(var(--label-red-08,248 201 201));--mds-label-button-background-hover:rgb(var(--label-red-09,250 215 215));--mds-label-button-icon-color:rgb(var(--label-red-04,212 28 28));--mds-label-color:rgb(var(--label-red-02,131 17 17));--mds-label-icon-color:rgb(var(--label-red-02,131 17 17));--mds-label-selection-background:rgb(var(--label-red-06,241 144 144));--mds-label-selection-color:rgb(var(--label-red-10,252 233 233))}:host([variant=amaranth]){--mds-label-background:rgb(var(--label-amaranth-04,213 12 47));--mds-label-button-background-hover:rgb(var(--label-amaranth-05,242 37 72));--mds-label-button-icon-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-icon-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-label-selection-color:rgb(var(--label-amaranth-02,131 8 29))}:host([variant=amaranth]):host([tone=weak]){--mds-label-background:rgb(var(--label-amaranth-08,252 197 207));--mds-label-button-background-hover:rgb(var(--label-amaranth-09,253 214 221));--mds-label-button-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-label-color:rgb(var(--label-amaranth-02,131 8 29));--mds-label-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-label-selection-background:rgb(var(--label-amaranth-06,248 138 157));--mds-label-selection-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=aqua]){--mds-label-background:rgb(var(--label-aqua-04,4 122 143));--mds-label-button-background-hover:rgb(var(--label-aqua-05,5 141 165));--mds-label-button-icon-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-icon-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-label-selection-color:rgb(var(--label-aqua-02,2 75 88))}:host([variant=aqua]):host([tone=weak]){--mds-label-background:rgb(var(--label-aqua-08,99 229 251));--mds-label-button-background-hover:rgb(var(--label-aqua-09,151 237 252));--mds-label-button-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-label-color:rgb(var(--label-aqua-02,2 75 88));--mds-label-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-label-selection-background:rgb(var(--label-aqua-06,6 186 217));--mds-label-selection-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=blue]){--mds-label-background:rgb(var(--label-blue-04,63 94 248));--mds-label-button-background-hover:rgb(var(--label-blue-05,90 117 249));--mds-label-button-icon-color:rgb(var(--label-blue-10,233 236 254));--mds-label-color:rgb(var(--label-blue-10,233 236 254));--mds-label-icon-color:rgb(var(--label-blue-10,233 236 254));--mds-label-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-label-selection-color:rgb(var(--label-blue-02,7 39 192))}:host([variant=blue]):host([tone=weak]){--mds-label-background:rgb(var(--label-blue-08,200 210 253));--mds-label-button-background-hover:rgb(var(--label-blue-09,216 222 254));--mds-label-button-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-label-color:rgb(var(--label-blue-02,7 39 192));--mds-label-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-label-selection-background:rgb(var(--label-blue-06,149 166 251));--mds-label-selection-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=green]){--mds-label-background:rgb(var(--label-green-04,22 128 61));--mds-label-button-background-hover:rgb(var(--label-green-05,26 148 71));--mds-label-button-icon-color:rgb(var(--label-green-10,206 247 221));--mds-label-color:rgb(var(--label-green-10,206 247 221));--mds-label-icon-color:rgb(var(--label-green-10,206 247 221));--mds-label-selection-background:rgb(var(--label-green-08,125 232 164));--mds-label-selection-color:rgb(var(--label-green-02,14 80 38))}:host([variant=green]):host([tone=weak]){--mds-label-background:rgb(var(--label-green-08,125 232 164));--mds-label-button-background-hover:rgb(var(--label-green-09,165 240 193));--mds-label-button-icon-color:rgb(var(--label-green-04,22 128 61));--mds-label-color:rgb(var(--label-green-02,14 80 38));--mds-label-icon-color:rgb(var(--label-green-02,14 80 38));--mds-label-selection-background:rgb(var(--label-green-06,34 195 93));--mds-label-selection-color:rgb(var(--label-green-10,206 247 221))}:host([variant=lime]){--mds-label-background:rgb(var(--label-lime-04,81 124 13));--mds-label-button-background-hover:rgb(var(--label-lime-05,93 143 15));--mds-label-button-icon-color:rgb(var(--label-lime-10,219 247 178));--mds-label-color:rgb(var(--label-lime-10,219 247 178));--mds-label-icon-color:rgb(var(--label-lime-10,219 247 178));--mds-label-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-label-selection-color:rgb(var(--label-lime-02,49 76 8))}:host([variant=lime]):host([tone=weak]){--mds-label-background:rgb(var(--label-lime-08,159 232 46));--mds-label-button-background-hover:rgb(var(--label-lime-09,189 239 111));--mds-label-button-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-label-color:rgb(var(--label-lime-02,49 76 8));--mds-label-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-label-selection-background:rgb(var(--label-lime-06,123 189 20));--mds-label-selection-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=orange]){--mds-label-background:rgb(var(--label-orange-04,185 78 5));--mds-label-button-background-hover:rgb(var(--label-orange-05,213 90 5));--mds-label-button-icon-color:rgb(var(--label-orange-10,254 233 219));--mds-label-color:rgb(var(--label-orange-10,254 233 219));--mds-label-icon-color:rgb(var(--label-orange-10,254 233 219));--mds-label-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-label-selection-color:rgb(var(--label-orange-02,114 48 3))}:host([variant=orange]):host([tone=weak]){--mds-label-background:rgb(var(--label-orange-08,253 201 166));--mds-label-button-background-hover:rgb(var(--label-orange-09,253 217 191));--mds-label-button-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-label-color:rgb(var(--label-orange-02,114 48 3));--mds-label-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-label-selection-background:rgb(var(--label-orange-06,250 143 69));--mds-label-selection-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orchid]){--mds-label-background:rgb(var(--label-orchid-04,206 21 113));--mds-label-button-background-hover:rgb(var(--label-orchid-05,233 44 137));--mds-label-button-icon-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-icon-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-label-selection-color:rgb(var(--label-orchid-02,127 13 70))}:host([variant=orchid]):host([tone=weak]){--mds-label-background:rgb(var(--label-orchid-08,249 197 223));--mds-label-button-background-hover:rgb(var(--label-orchid-09,251 213 232));--mds-label-button-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-label-color:rgb(var(--label-orchid-02,127 13 70));--mds-label-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-label-selection-background:rgb(var(--label-orchid-06,243 137 189));--mds-label-selection-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=sky]){--mds-label-background:rgb(var(--label-sky-04,10 118 167));--mds-label-button-background-hover:rgb(var(--label-sky-05,12 136 193));--mds-label-button-icon-color:rgb(var(--label-sky-10,217 241 253));--mds-label-color:rgb(var(--label-sky-10,217 241 253));--mds-label-icon-color:rgb(var(--label-sky-10,217 241 253));--mds-label-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-label-selection-color:rgb(var(--label-sky-02,6 73 104))}:host([variant=sky]):host([tone=weak]){--mds-label-background:rgb(var(--label-sky-08,157 220 249));--mds-label-button-background-hover:rgb(var(--label-sky-09,185 231 251));--mds-label-button-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-label-color:rgb(var(--label-sky-02,6 73 104));--mds-label-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-label-selection-background:rgb(var(--label-sky-06,47 182 243));--mds-label-selection-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=violet]){--mds-label-background:rgb(var(--label-violet-04,126 73 245));--mds-label-button-background-hover:rgb(var(--label-violet-05,145 100 246));--mds-label-button-icon-color:rgb(var(--label-violet-10,240 234 254));--mds-label-color:rgb(var(--label-violet-10,240 234 254));--mds-label-icon-color:rgb(var(--label-violet-10,240 234 254));--mds-label-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-label-selection-color:rgb(var(--label-violet-02,65 11 190))}:host([variant=violet]):host([tone=weak]){--mds-label-background:rgb(var(--label-violet-08,219 205 252));--mds-label-button-background-hover:rgb(var(--label-violet-09,229 218 253));--mds-label-button-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-label-color:rgb(var(--label-violet-02,65 11 190));--mds-label-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-label-selection-background:rgb(var(--label-violet-06,184 156 250));--mds-label-selection-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=purple]){--mds-label-background:rgb(var(--label-purple-04,150 51 245));--mds-label-button-background-hover:rgb(var(--label-purple-05,168 86 247));--mds-label-button-icon-color:rgb(var(--label-purple-10,244 233 254));--mds-label-color:rgb(var(--label-purple-10,244 233 254));--mds-label-icon-color:rgb(var(--label-purple-10,244 233 254));--mds-label-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-label-selection-color:rgb(var(--label-purple-02,90 8 168))}:host([variant=purple]):host([tone=weak]){--mds-label-background:rgb(var(--label-purple-08,228 202 252));--mds-label-button-background-hover:rgb(var(--label-purple-09,235 216 253));--mds-label-button-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-label-color:rgb(var(--label-purple-02,90 8 168));--mds-label-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-label-selection-background:rgb(var(--label-purple-06,201 149 250));--mds-label-selection-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=yellow]){--mds-label-background:rgb(var(--label-yellow-04,141 107 5));--mds-label-button-background-hover:rgb(var(--label-yellow-05,161 124 6));--mds-label-button-icon-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-icon-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-label-selection-color:rgb(var(--label-yellow-02,87 67 3))}:host([variant=yellow]):host([tone=weak]){--mds-label-background:rgb(var(--label-yellow-08,249 207 78));--mds-label-button-background-hover:rgb(var(--label-yellow-09,251 221 131));--mds-label-button-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-label-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-selection-background:rgb(var(--label-yellow-06,214 163 7));--mds-label-selection-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=error]){--mds-label-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-label-button-background-hover:rgb(var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40)));--mds-label-button-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-label-selection-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=weak]){--mds-label-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-label-button-background-hover:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-label-button-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-label-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-label-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-label-selection-background:rgb(var(--magma-danger-border-strong,var(--border-error-strong,218 96 93)));--mds-label-selection-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-label-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-label-button-background-hover:rgb(var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0)));--mds-label-button-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-label-selection-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=weak]){--mds-label-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-label-button-background-hover:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-label-button-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-label-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-label-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-label-selection-background:rgb(var(--magma-warning-border-strong,var(--border-warning-strong,184 130 0)));--mds-label-selection-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success]){--mds-label-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-label-button-background-hover:rgb(var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32)));--mds-label-button-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-label-selection-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=weak]){--mds-label-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-label-button-background-hover:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-label-button-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-label-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-label-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-label-selection-background:rgb(var(--magma-success-border-strong,var(--border-success-strong,17 166 98)));--mds-label-selection-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info]){--mds-label-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-label-button-background-hover:rgb(var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137)));--mds-label-button-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-label-selection-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=weak]){--mds-label-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-label-button-background-hover:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-label-button-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-label-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-label-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-label-selection-background:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-label-selection-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'}},[1,"mds-label",{label:[513],variant:[513],tone:[513],truncate:[513],typography:[1],deletable:[4]}]),p=k,w=function(){"undefined"!=typeof customElements&&["mds-label","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-label":customElements.get(b(a))||customElements.define(b(a),k);break;case"mds-button":customElements.get(b(a))||c();break;case"mds-icon":customElements.get(b(a))||d();break;case"mds-spinner":customElements.get(b(a))||g();break;case"mds-text":customElements.get(b(a))||m()}}))};export{p as MdsLabel,w as defineCustomElement}
1
+ import{p as a,H as l,d as r,h as e,c as o,t as b}from"./p-TZJN-ygm.js";import{m as s}from"./p-BJ8rpzfj.js";import{L as t}from"./p-B8x-d2fx.js";import{p as n}from"./p-CVRN4LDc.js";import{d as c}from"./p-ClPv-Ljc.js";import{d}from"./p-Cmn1DJAB.js";import{d as g}from"./p-ZuubAcA3.js";import{d as m}from"./p-CNF3u0Li.js";var i={remove:"Αφαίρεση"},v={remove:"Remove"},u={remove:"Eliminar"},h={remove:"Rimuovi"};const k=a(class extends l{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.deletedEvent=r(this,"mdsLabelDelete",7),this.t=new t({el:i,en:v,es:u,it:h}),this.variant="sky",this.tone="weak",this.truncate="word",this.typography="caption",this.deletable=!1,this.onClickDelete=a=>{a.stopPropagation(),a.preventDefault(),this.deletedEvent.emit()}}render(){return e(o,{key:"8f6ca08bbc9cfa1ea3998c2d375b7adbc19dee80","pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("mds-text",{key:"a02aa83c34deff7dfd83dcd3d586da5d06106e69",class:"text",truncate:this.truncate,typography:this.typography},this.label),this.deletable&&e("mds-button",{key:"074e518bf6aae0dda189a6ccc52d8f81d8663a04",class:"button-close",icon:s,onClick:this.onClickDelete,title:this.t.get("remove"),size:"sm"}))}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))),:is(mds-button,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-label-background:rgb(var(--label-yellow-09,251 221 131));--mds-label-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-blue-02,7 39 192)));--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-label-button-background:#0000;--mds-label-button-background-hover:rgb(var(--label-yellow-07,239 183 8));--mds-label-button-icon-color:rgb(var(--label-yellow-03,112 85 4));--private-bevel-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-label-background,rgb(var(--label-blue-08,200 210 253)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-label-color,rgb(var(--label-blue-02,7 39 192)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;fill:var(--mds-label-icon-color,rgb(var(--label-blue-02,7 39 192)));flex:1;gap:calc(var(--spacing,.0025rem)*50);max-width:fit-content;min-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,fill;--mds-label-background:rgb(var(--label-blue-08,200 210 253));--mds-label-button-background-hover:rgb(var(--label-blue-09,216 222 254));--mds-label-button-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-label-color:rgb(var(--label-blue-02,7 39 192));--mds-label-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-label-selection-background:rgb(var(--label-blue-06,149 166 251));--mds-label-selection-color:rgb(var(--label-blue-10,233 236 254))}@supports (corner-shape:bevel){:host{corner-left-shape:superellipse(.25);corner-right-shape:var(--magma-corner-shape,squircle);align-items:stretch;padding-left:calc(var(--private-bevel-size)/2);padding-right:0}}:host::selection{background-color:var(--mds-label-selection-background,rgb(var(--label-blue-06,149 166 251)));color:var(--mds-label-selection-color,rgb(var(--label-blue-10,233 236 254)))}:host([truncate=word]) .text{white-space:nowrap}.text{--mds-text-selection-background:var(--mds-label-selection-background,rgb(var(--label-blue-06,149 166 251)));--mds-text-selection-color:var(--mds-label-selection-color,rgb(var(--label-blue-10,233 236 254)));align-self:center;display:block;flex-grow:1}.text:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}.button-close{--mds-button-background:var(--mds-label-button-background,#0000);--mds-button-border-opacity:0;align-self:center;fill:var(--mds-label-button-icon-color,rgb(var(--label-blue-04,63 94 248)));flex-shrink:0}.button-close:hover{--mds-button-background:var(--mds-label-button-background-hover,rgb(var(--label-blue-08,200 210 253)))}:host([variant=red]){--mds-label-background:rgb(var(--label-red-04,212 28 28));--mds-label-button-background-hover:rgb(var(--label-red-05,230 66 66));--mds-label-button-icon-color:rgb(var(--label-red-10,252 233 233));--mds-label-color:rgb(var(--label-red-10,252 233 233));--mds-label-icon-color:rgb(var(--label-red-10,252 233 233));--mds-label-selection-background:rgb(var(--label-red-08,248 201 201));--mds-label-selection-color:rgb(var(--label-red-02,131 17 17))}:host([variant=red]):host([tone=weak]){--mds-label-background:rgb(var(--label-red-08,248 201 201));--mds-label-button-background-hover:rgb(var(--label-red-09,250 215 215));--mds-label-button-icon-color:rgb(var(--label-red-04,212 28 28));--mds-label-color:rgb(var(--label-red-02,131 17 17));--mds-label-icon-color:rgb(var(--label-red-02,131 17 17));--mds-label-selection-background:rgb(var(--label-red-06,241 144 144));--mds-label-selection-color:rgb(var(--label-red-10,252 233 233))}:host([variant=amaranth]){--mds-label-background:rgb(var(--label-amaranth-04,213 12 47));--mds-label-button-background-hover:rgb(var(--label-amaranth-05,242 37 72));--mds-label-button-icon-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-icon-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-label-selection-color:rgb(var(--label-amaranth-02,131 8 29))}:host([variant=amaranth]):host([tone=weak]){--mds-label-background:rgb(var(--label-amaranth-08,252 197 207));--mds-label-button-background-hover:rgb(var(--label-amaranth-09,253 214 221));--mds-label-button-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-label-color:rgb(var(--label-amaranth-02,131 8 29));--mds-label-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-label-selection-background:rgb(var(--label-amaranth-06,248 138 157));--mds-label-selection-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=aqua]){--mds-label-background:rgb(var(--label-aqua-04,4 122 143));--mds-label-button-background-hover:rgb(var(--label-aqua-05,5 141 165));--mds-label-button-icon-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-icon-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-label-selection-color:rgb(var(--label-aqua-02,2 75 88))}:host([variant=aqua]):host([tone=weak]){--mds-label-background:rgb(var(--label-aqua-08,99 229 251));--mds-label-button-background-hover:rgb(var(--label-aqua-09,151 237 252));--mds-label-button-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-label-color:rgb(var(--label-aqua-02,2 75 88));--mds-label-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-label-selection-background:rgb(var(--label-aqua-06,6 186 217));--mds-label-selection-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=blue]){--mds-label-background:rgb(var(--label-blue-04,63 94 248));--mds-label-button-background-hover:rgb(var(--label-blue-05,90 117 249));--mds-label-button-icon-color:rgb(var(--label-blue-10,233 236 254));--mds-label-color:rgb(var(--label-blue-10,233 236 254));--mds-label-icon-color:rgb(var(--label-blue-10,233 236 254));--mds-label-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-label-selection-color:rgb(var(--label-blue-02,7 39 192))}:host([variant=blue]):host([tone=weak]){--mds-label-background:rgb(var(--label-blue-08,200 210 253));--mds-label-button-background-hover:rgb(var(--label-blue-09,216 222 254));--mds-label-button-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-label-color:rgb(var(--label-blue-02,7 39 192));--mds-label-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-label-selection-background:rgb(var(--label-blue-06,149 166 251));--mds-label-selection-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=green]){--mds-label-background:rgb(var(--label-green-04,22 128 61));--mds-label-button-background-hover:rgb(var(--label-green-05,26 148 71));--mds-label-button-icon-color:rgb(var(--label-green-10,206 247 221));--mds-label-color:rgb(var(--label-green-10,206 247 221));--mds-label-icon-color:rgb(var(--label-green-10,206 247 221));--mds-label-selection-background:rgb(var(--label-green-08,125 232 164));--mds-label-selection-color:rgb(var(--label-green-02,14 80 38))}:host([variant=green]):host([tone=weak]){--mds-label-background:rgb(var(--label-green-08,125 232 164));--mds-label-button-background-hover:rgb(var(--label-green-09,165 240 193));--mds-label-button-icon-color:rgb(var(--label-green-04,22 128 61));--mds-label-color:rgb(var(--label-green-02,14 80 38));--mds-label-icon-color:rgb(var(--label-green-02,14 80 38));--mds-label-selection-background:rgb(var(--label-green-06,34 195 93));--mds-label-selection-color:rgb(var(--label-green-10,206 247 221))}:host([variant=lime]){--mds-label-background:rgb(var(--label-lime-04,81 124 13));--mds-label-button-background-hover:rgb(var(--label-lime-05,93 143 15));--mds-label-button-icon-color:rgb(var(--label-lime-10,219 247 178));--mds-label-color:rgb(var(--label-lime-10,219 247 178));--mds-label-icon-color:rgb(var(--label-lime-10,219 247 178));--mds-label-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-label-selection-color:rgb(var(--label-lime-02,49 76 8))}:host([variant=lime]):host([tone=weak]){--mds-label-background:rgb(var(--label-lime-08,159 232 46));--mds-label-button-background-hover:rgb(var(--label-lime-09,189 239 111));--mds-label-button-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-label-color:rgb(var(--label-lime-02,49 76 8));--mds-label-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-label-selection-background:rgb(var(--label-lime-06,123 189 20));--mds-label-selection-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=orange]){--mds-label-background:rgb(var(--label-orange-04,185 78 5));--mds-label-button-background-hover:rgb(var(--label-orange-05,213 90 5));--mds-label-button-icon-color:rgb(var(--label-orange-10,254 233 219));--mds-label-color:rgb(var(--label-orange-10,254 233 219));--mds-label-icon-color:rgb(var(--label-orange-10,254 233 219));--mds-label-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-label-selection-color:rgb(var(--label-orange-02,114 48 3))}:host([variant=orange]):host([tone=weak]){--mds-label-background:rgb(var(--label-orange-08,253 201 166));--mds-label-button-background-hover:rgb(var(--label-orange-09,253 217 191));--mds-label-button-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-label-color:rgb(var(--label-orange-02,114 48 3));--mds-label-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-label-selection-background:rgb(var(--label-orange-06,250 143 69));--mds-label-selection-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orchid]){--mds-label-background:rgb(var(--label-orchid-04,206 21 113));--mds-label-button-background-hover:rgb(var(--label-orchid-05,233 44 137));--mds-label-button-icon-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-icon-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-label-selection-color:rgb(var(--label-orchid-02,127 13 70))}:host([variant=orchid]):host([tone=weak]){--mds-label-background:rgb(var(--label-orchid-08,249 197 223));--mds-label-button-background-hover:rgb(var(--label-orchid-09,251 213 232));--mds-label-button-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-label-color:rgb(var(--label-orchid-02,127 13 70));--mds-label-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-label-selection-background:rgb(var(--label-orchid-06,243 137 189));--mds-label-selection-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=sky]){--mds-label-background:rgb(var(--label-sky-04,10 118 167));--mds-label-button-background-hover:rgb(var(--label-sky-05,12 136 193));--mds-label-button-icon-color:rgb(var(--label-sky-10,217 241 253));--mds-label-color:rgb(var(--label-sky-10,217 241 253));--mds-label-icon-color:rgb(var(--label-sky-10,217 241 253));--mds-label-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-label-selection-color:rgb(var(--label-sky-02,6 73 104))}:host([variant=sky]):host([tone=weak]){--mds-label-background:rgb(var(--label-sky-08,157 220 249));--mds-label-button-background-hover:rgb(var(--label-sky-09,185 231 251));--mds-label-button-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-label-color:rgb(var(--label-sky-02,6 73 104));--mds-label-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-label-selection-background:rgb(var(--label-sky-06,47 182 243));--mds-label-selection-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=violet]){--mds-label-background:rgb(var(--label-violet-04,126 73 245));--mds-label-button-background-hover:rgb(var(--label-violet-05,145 100 246));--mds-label-button-icon-color:rgb(var(--label-violet-10,240 234 254));--mds-label-color:rgb(var(--label-violet-10,240 234 254));--mds-label-icon-color:rgb(var(--label-violet-10,240 234 254));--mds-label-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-label-selection-color:rgb(var(--label-violet-02,65 11 190))}:host([variant=violet]):host([tone=weak]){--mds-label-background:rgb(var(--label-violet-08,219 205 252));--mds-label-button-background-hover:rgb(var(--label-violet-09,229 218 253));--mds-label-button-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-label-color:rgb(var(--label-violet-02,65 11 190));--mds-label-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-label-selection-background:rgb(var(--label-violet-06,184 156 250));--mds-label-selection-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=purple]){--mds-label-background:rgb(var(--label-purple-04,150 51 245));--mds-label-button-background-hover:rgb(var(--label-purple-05,168 86 247));--mds-label-button-icon-color:rgb(var(--label-purple-10,244 233 254));--mds-label-color:rgb(var(--label-purple-10,244 233 254));--mds-label-icon-color:rgb(var(--label-purple-10,244 233 254));--mds-label-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-label-selection-color:rgb(var(--label-purple-02,90 8 168))}:host([variant=purple]):host([tone=weak]){--mds-label-background:rgb(var(--label-purple-08,228 202 252));--mds-label-button-background-hover:rgb(var(--label-purple-09,235 216 253));--mds-label-button-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-label-color:rgb(var(--label-purple-02,90 8 168));--mds-label-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-label-selection-background:rgb(var(--label-purple-06,201 149 250));--mds-label-selection-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=yellow]){--mds-label-background:rgb(var(--label-yellow-04,141 107 5));--mds-label-button-background-hover:rgb(var(--label-yellow-05,161 124 6));--mds-label-button-icon-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-icon-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-label-selection-color:rgb(var(--label-yellow-02,87 67 3))}:host([variant=yellow]):host([tone=weak]){--mds-label-background:rgb(var(--label-yellow-08,249 207 78));--mds-label-button-background-hover:rgb(var(--label-yellow-09,251 221 131));--mds-label-button-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-label-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-selection-background:rgb(var(--label-yellow-06,214 163 7));--mds-label-selection-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=error]){--mds-label-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-label-button-background-hover:rgb(var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40)));--mds-label-button-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-label-selection-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=weak]){--mds-label-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-label-button-background-hover:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-label-button-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-label-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-label-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-label-selection-background:rgb(var(--magma-danger-border-strong,var(--border-error-strong,218 96 93)));--mds-label-selection-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-label-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-label-button-background-hover:rgb(var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0)));--mds-label-button-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-label-selection-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=weak]){--mds-label-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-label-button-background-hover:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-label-button-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-label-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-label-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-label-selection-background:rgb(var(--magma-warning-border-strong,var(--border-warning-strong,184 130 0)));--mds-label-selection-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success]){--mds-label-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-label-button-background-hover:rgb(var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32)));--mds-label-button-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-label-selection-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=weak]){--mds-label-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-label-button-background-hover:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-label-button-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-label-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-label-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-label-selection-background:rgb(var(--magma-success-border-strong,var(--border-success-strong,17 166 98)));--mds-label-selection-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info]){--mds-label-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-label-button-background-hover:rgb(var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137)));--mds-label-button-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-icon-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-label-selection-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-label-selection-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=weak]){--mds-label-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-label-button-background-hover:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-label-button-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-label-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-label-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-label-selection-background:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-label-selection-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'}},[1,"mds-label",{label:[513],variant:[513],tone:[513],truncate:[513],typography:[1],deletable:[4]}]),p=k,w=function(){"undefined"!=typeof customElements&&["mds-label","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-label":customElements.get(b(a))||customElements.define(b(a),k);break;case"mds-button":customElements.get(b(a))||c();break;case"mds-icon":customElements.get(b(a))||d();break;case"mds-spinner":customElements.get(b(a))||g();break;case"mds-text":customElements.get(b(a))||m()}}))};export{p as MdsLabel,w as defineCustomElement}
@@ -0,0 +1,11 @@
1
+ import type { Components, JSX } from "../types/components";
2
+
3
+ interface MdsLink extends Components.MdsLink, HTMLElement {}
4
+ export const MdsLink: {
5
+ prototype: MdsLink;
6
+ new (): MdsLink;
7
+ };
8
+ /**
9
+ * Used to define this component and all nested components recursively.
10
+ */
11
+ export const defineCustomElement: () => void;
@@ -0,0 +1 @@
1
+ import{p as i,H as n,h as e,c as t,t as r}from"./p-TZJN-ygm.js";import{K as o}from"./p-CGrPq3C4.js";import{L as a}from"./p-B8x-d2fx.js";import{N as s}from"./p-Bz1eiKqd.js";import{p as l}from"./p-CVRN4LDc.js";import{d as c}from"./p-Cmn1DJAB.js";var d={newTab:"(ανοίγει σε νέα καρτέλα)"},u={newTab:"(opens in a new tab)"},m={newTab:"(se abre en una pestaña nueva)"},k={newTab:"(si apre in una nuova scheda)"};const p=i(class extends n{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.km=new o,this.t=new a({el:d,en:u,es:m,it:k}),this.target="self",this.iconPosition="right",this.variant="primary",this.tone="strong",this.underline="solid",this.isLink=()=>{var i;return""!==(null!==(i=this.href)&&void 0!==i?i:"")},this.opensInNewTab=()=>this.isLink()&&"blank"===this.target,this.opensElsewhere=i=>"blank"===this.target||i.ctrlKey||i.metaKey||i.shiftKey,this.handleClick=i=>{var n;if(!this.isLink())return;const e=null!==(n=this.href)&&void 0!==n?n:"";if(this.link&&i.composedPath().includes(this.link)){if(this.opensElsewhere(i)||!s.canHandle(e,i))return;return i.preventDefault(),void this.route(e,i)}setTimeout((()=>{i.defaultPrevented||this.follow(i)}))},this.follow=i=>{var n;if("undefined"==typeof window)return;const e=null!==(n=this.href)&&void 0!==n?n:"";this.opensElsewhere(i)?window.open(e,"_blank","noopener,noreferrer"):s.canHandle(e,i)?this.route(e,i):window.location.assign(e)},this.route=(i,n)=>{s.handle(i,n)||window.location.assign(i)}}componentDidRender(){this.km.detachClickBehavior(),!this.isLink()&&this.link&&(this.km.addElement(this.link),this.km.attachClickBehavior("element",{space:!0}))}render(){const i=this.isLink()?"a":"span",n=this.opensInNewTab(),r=this.isLink()?{href:this.href,rel:n?"noopener noreferrer":void 0,target:n?"_blank":void 0}:{role:"button",tabindex:"0"},o=this.icon&&e("span",{key:"2ce36fbab5a1a9f7b017854585ba4fe1b44b00fe",class:"glue glue-"+("left"===this.iconPosition?"left":"right")},"⁠",e("mds-icon",{key:"f295524673c50279d3c523f950a9bf3cb979650d","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}));return e(t,{key:"aff12fd1def2c1d9779999ab08840c91b30fdfea",onClick:this.handleClick,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast},e(i,Object.assign({key:"cea0efc1a59ae3e46b92dc210a48ed74e6f0edd2",class:"link",part:"link",ref:i=>{this.link=i}},r),"left"===this.iconPosition&&o,this.label||e("slot",{key:"9444794ad233e4e32f87df5015a4cd20fca0d76a"}),n&&e("span",{key:"9459414eb904daa4093555a308ec8efcafb00102",class:"hint"}," "+this.t.get("newTab")),"left"!==this.iconPosition&&o))}static get delegatesFocus(){return!0}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}.link:is(:hover,:active){--private-link-fill:2cap}:host([underline=solid]) .link{text-decoration-line:underline}:host([underline=dotted]){--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*50)}:host([underline=dotted]) .link{text-decoration-line:underline;text-decoration-style:dotted}:host([tone=weak]) .link{--private-link-ink:35%}:host([tone=weak]) .link:is(:hover,:active){--private-link-ink:100%}:host([underline=marker]){--mds-link-underline-color:currentcolor;--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*100)}@supports (color:color-mix(in lab,red,red)){:host([underline=marker]){--mds-link-underline-color:color-mix(in srgb,currentcolor 30%,#0000)}}:host([underline=marker][tone=weak]){--mds-link-underline-color:currentcolor}@supports (color:color-mix(in lab,red,red)){:host([underline=marker][tone=weak]){--mds-link-underline-color:color-mix(in srgb,currentcolor 20%,#0000)}}:host([underline=marker]) .link{--private-link-band:var(--mds-link-underline-thickness);text-decoration-line:none}:host([underline=marker]) .link:is(:hover,:active){--private-link-band:0px}: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-link-transition-duration:0s}:host([pref-contrast=more][tone=weak]:not([underline=marker])) .link{--private-link-ink:100%}:host([pref-contrast=more][underline=marker]) .link{text-decoration-color:initial;text-decoration-line:underline;text-decoration-thickness:calc(var(--spacing,.0025rem)*25)}:host{--mds-link-background-hover:currentcolor;--mds-link-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-link-icon-gap:calc(var(--spacing,.0025rem)*100);--mds-link-icon-size:calc(var(--spacing,.0025rem)*400);--mds-link-transition-duration:var(--duration-500,.5s);--mds-link-underline-color:currentcolor;--mds-link-underline-offset:calc(var(--spacing,.0025rem)*100);--mds-link-underline-thickness:calc(var(--spacing,.0025rem)*25);--private-link-transition-duration:var(--mds-link-transition-duration);display:inline}@supports (color:color-mix(in lab,red,red)){:host{--mds-link-background-hover:color-mix(in srgb,currentcolor 12%,#0000)}}:host([variant=inherit]){--mds-link-color:currentcolor}.link{--private-link-band:0px;--private-link-fill:0px;--private-link-ink:100%;animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));box-shadow:inset 0 calc(var(--private-link-band,0px)*-1) var(--mds-link-underline-color),inset 0 calc(var(--private-link-fill,0px)*-1) var(--mds-link-background-hover);color:var(--mds-link-color);cursor:pointer;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));-webkit-text-decoration-color:var(--mds-link-underline-color);text-decoration-color:var(--mds-link-underline-color);transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;-webkit-text-decoration-skip:ink;-webkit-text-decoration-skip-ink:auto;text-decoration-skip-ink:auto;text-decoration-thickness:var(--mds-link-underline-thickness);text-underline-offset:var(--mds-link-underline-offset);transition-duration:var(--private-link-transition-duration);transition-property:--private-link-band,--private-link-fill,--private-link-ink,color,outline,outline-offset;transition-timing-function:var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-quint,cubic-bezier(.23,1,.32,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1)),var(--ease-out-sine,cubic-bezier(.39,.575,.565,1))}@supports (color:color-mix(in lab,red,red)){.link{-webkit-text-decoration-color:color-mix(in srgb,var(--mds-link-underline-color) var(--private-link-ink,100%),#0000);text-decoration-color:color-mix(in srgb,var(--mds-link-underline-color) var(--private-link-ink,100%),#0000)}}.link:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.glue{position:relative}.glue-right{padding-inline-start:calc(var(--mds-link-icon-size) + var(--mds-link-icon-gap))}.glue-left{padding-inline-end:calc(var(--mds-link-icon-size) + var(--mds-link-icon-gap))}.icon{fill:currentColor;height:var(--mds-link-icon-size);position:absolute;top:50%;translate:0 -50%;width:var(--mds-link-icon-size)}.glue-right .icon{inset-inline-end:0}.glue-left .icon{inset-inline-start:0}.hint{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}@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-link-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])[tone=weak]:not([underline=marker])) .link,:host([pref-contrast=system][tone=weak]:not([underline=marker])) .link{--private-link-ink:100%}:host(:not([pref-contrast])[underline=marker]) .link,:host([pref-contrast=system][underline=marker]) .link{text-decoration-color:initial;text-decoration-line:underline;text-decoration-thickness:calc(var(--spacing,.0025rem)*25)}}"}},[273,"mds-link",{label:[513],href:[513],target:[1],icon:[513],iconPosition:[513,"icon-position"],variant:[513],tone:[513],underline:[513]}]),h=p,f=function(){"undefined"!=typeof customElements&&["mds-link","mds-icon"].forEach((i=>{switch(i){case"mds-link":customElements.get(r(i))||customElements.define(r(i),p);break;case"mds-icon":customElements.get(r(i))||c()}}))};export{h as MdsLink,f as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as s,h as i,c as a,t as e}from"./p-B2p5a1Y8.js";import{d as r}from"./p-cIZniMh0.js";import{d as n}from"./p-DezdwzYQ.js";const c=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.typography="detail",this.variant="info"}render(){var t;return i(a,{key:"e8b358da2cc4621d883f5f1175905d0691ed4454",role:"listitem"},i("mds-icon",{key:"9ca63553709a5702840c71861e4403efb81e4847","aria-hidden":"true",class:"icon",name:null!==(t=this.icon)&&void 0!==t?t:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n',part:"icon"}),i("mds-text",{key:"1a20c4b3110c7027bdc42c1cbfdd690140d7c172",tag:"span",typography:this.typography,variant:this.variant,part:"text"},i("slot",{key:"5cb71d6870644790c1bb7dfe251a0d857fcf4058"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(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{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:-.125rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:-.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:-.5rem calc(var(--spacing,.0025rem)*200) 0 0}"}},[257,"mds-list-item",{typography:[513],variant:[1],icon:[1]}]),o=c,m=function(){"undefined"!=typeof customElements&&["mds-list-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-list-item":customElements.get(e(t))||customElements.define(e(t),c);break;case"mds-icon":customElements.get(e(t))||r();break;case"mds-text":customElements.get(e(t))||n()}}))};export{o as MdsListItem,m as defineCustomElement}
1
+ import{p as t,H as a,h as s,c as i,t as e}from"./p-TZJN-ygm.js";import{d as r}from"./p-Cmn1DJAB.js";import{d as c}from"./p-CNF3u0Li.js";const n=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.typography="detail",this.variant="info"}render(){var t;return s(i,{key:"fff0acba842bb1d2a9aeea3bdbf5eefe54dee797",role:"listitem"},s("mds-icon",{key:"0069980ad2855fbf4c8d6f24674dcc7278e79795","aria-hidden":"true",class:"icon",name:null!==(t=this.icon)&&void 0!==t?t:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n',part:"icon"}),s("mds-text",{key:"cfe17aebe2d78ae500a799a6de2d811b1bc50c58",tag:"span",typography:this.typography,variant:this.variant,part:"text"},s("slot",{key:"7822a2ea0234bf4665865b397ca4c6b9a184ad4f"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(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{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-50) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-100) calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:calc(var(--spacing,.0025rem)*-200) calc(var(--spacing,.0025rem)*200) 0 0}"}},[257,"mds-list-item",{typography:[513],variant:[1],icon:[1]}]),o=n,m=function(){"undefined"!=typeof customElements&&["mds-list-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-list-item":customElements.get(e(t))||customElements.define(e(t),n);break;case"mds-icon":customElements.get(e(t))||r();break;case"mds-text":customElements.get(e(t))||c()}}))};export{o as MdsListItem,m as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as s,c as i,t as a}from"./p-B2p5a1Y8.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"98e0965a6f27061ee301b4f6ef10a2c4547ac14b",role:"list"},s("slot",{key:"01767929b805b2546266057a66ea8539589d6de6"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-item: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);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}"}},[257,"mds-list"]),r=o,n=function(){"undefined"!=typeof customElements&&["mds-list"].forEach((t=>{"mds-list"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{r as MdsList,n as defineCustomElement}
1
+ import{p as t,H as e,h as s,c as a,t as i}from"./p-TZJN-ygm.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(a,{key:"5aa287b388e2dba8f9ad931c07297a25d3a7b830",role:"list"},s("slot",{key:"6628dd86d2f93287e7547fbd2b800c6aeee2a3c6"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-item: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);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}"}},[257,"mds-list"]),o=d,r=function(){"undefined"!=typeof customElements&&["mds-list"].forEach((t=>{"mds-list"===t&&(customElements.get(i(t))||customElements.define(i(t),d))}))};export{o as MdsList,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as s,d as t,h as i,c as a,t as r}from"./p-B2p5a1Y8.js";import{m as n}from"./p-BJ8rpzfj.js";import{L as o}from"./p-B9dgiq4u.js";import{d as m}from"./p-BUr3NqxM.js";import{d as c}from"./p-cIZniMh0.js";import{d}from"./p-B6B6q5kP.js";import{d as l}from"./p-DezdwzYQ.js";var h={remove:"Αφαίρεση"},p={remove:"Remove"},v={remove:"Eliminar"},u={remove:"Rimuovi"};const g=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=t(this,"mdsMentionDelete",7),this.t=new o({el:h,en:p,es:v,it:u}),this.size="sm",this.sizeTypography={sm:"caption",md:"detail",lg:"h6"},this.onDeleteHandler=e=>{e.stopPropagation(),this.deleteEvent.emit({event:e,element:this.host})}}render(){var e,s,t;const r=null!==(e=this.icon)&&void 0!==e?e:"";return i(a,{key:"b3c6e2c49efec8b216f29186462ee7139909c740"},i("mds-icon",{key:"1c9092aaece4d634dd0a2a3b1dd016ce05e82da0",name:""!==r?r:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>'}),i("mds-text",{key:"bc1db38beeafe9e6a4d41c19e991d286069499ae",typography:this.sizeTypography[null!==(s=this.size)&&void 0!==s?s:"md"]},"lg"===this.size?this.label:i("b",null,this.label)),this.deletable&&i("mds-button",{key:"f5149f1e5aa66b055d864b0fe24b1ce8a4d01dde",class:"action-remove",icon:n,onClick:this.onDeleteHandler,size:"sm",title:`${this.t.get("remove")} ${null!==(t=this.label)&&void 0!==t?t:""}`.trim(),tone:"text",variant:"dark"}))}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(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{--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([deletable]){padding-right:calc(var(--spacing,.0025rem)*25)}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}.action-remove{border-radius:var(--magma-radius-full,var(--radius-full,1000px));corner-shape:round;flex-shrink:0;height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));margin-left:calc(var(--spacing,.0025rem)*50);min-height:0;min-width:0;padding:0;width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}"}},[1,"mds-mention",{deletable:[516],icon:[513],label:[513],size:[513]}]),b=g,f=function(){"undefined"!=typeof customElements&&["mds-mention","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-mention":customElements.get(r(e))||customElements.define(r(e),g);break;case"mds-button":customElements.get(r(e))||m();break;case"mds-icon":customElements.get(r(e))||c();break;case"mds-spinner":customElements.get(r(e))||d();break;case"mds-text":customElements.get(r(e))||l()}}))};export{b as MdsMention,f as defineCustomElement}
1
+ import{p as e,H as s,d as t,h as i,c as a,t as r}from"./p-TZJN-ygm.js";import{m as n}from"./p-BJ8rpzfj.js";import{L as m}from"./p-B8x-d2fx.js";import{d as o}from"./p-ClPv-Ljc.js";import{d as c}from"./p-Cmn1DJAB.js";import{d}from"./p-ZuubAcA3.js";import{d as l}from"./p-CNF3u0Li.js";var h={remove:"Αφαίρεση"},v={remove:"Remove"},p={remove:"Eliminar"},u={remove:"Rimuovi"};const g=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=t(this,"mdsMentionDelete",7),this.t=new m({el:h,en:v,es:p,it:u}),this.size="sm",this.sizeTypography={sm:"caption",md:"detail",lg:"h6"},this.onDeleteHandler=e=>{e.stopPropagation(),this.deleteEvent.emit({event:e,element:this.host})}}render(){var e,s,t;const r=null!==(e=this.icon)&&void 0!==e?e:"";return i(a,{key:"d5b62985b3bfe772e3ff2c98a4f882e37c7af50d"},i("mds-icon",{key:"9bc1377d7a562e12bc048373ef80c18c7577be11",name:""!==r?r:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>'}),i("mds-text",{key:"861281abdf7b9984828b3b57e2a6c807091c0d4c",typography:this.sizeTypography[null!==(s=this.size)&&void 0!==s?s:"md"]},"lg"===this.size?this.label:i("b",null,this.label)),this.deletable&&i("mds-button",{key:"11b6be3cd9c24032ca7276c58feda6ab21ceb93d",class:"action-remove",icon:n,onClick:this.onDeleteHandler,size:"sm",title:`${this.t.get("remove")} ${null!==(t=this.label)&&void 0!==t?t:""}`.trim(),tone:"text",variant:"dark"}))}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(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{--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([deletable]){padding-right:calc(var(--spacing,.0025rem)*25)}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}.action-remove{border-radius:var(--magma-radius-full,var(--radius-full,1000px));corner-shape:round;flex-shrink:0;height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));margin-left:calc(var(--spacing,.0025rem)*50);min-height:0;min-width:0;padding:0;width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}"}},[1,"mds-mention",{deletable:[516],icon:[513],label:[513],size:[513]}]),b=g,f=function(){"undefined"!=typeof customElements&&["mds-mention","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-mention":customElements.get(r(e))||customElements.define(r(e),g);break;case"mds-button":customElements.get(r(e))||o();break;case"mds-icon":customElements.get(r(e))||c();break;case"mds-spinner":customElements.get(r(e))||d();break;case"mds-text":customElements.get(r(e))||l()}}))};export{b as MdsMention,f as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./p-CylHulxe.js";const p=o,r=s;export{p as MdsModal,r as defineCustomElement}
1
+ import{M as o,d as s}from"./p-CfQETwAK.js";const p=o,r=s;export{p as MdsModal,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as e,H as o,d as r,h as a,c as t,t as l}from"./p-B2p5a1Y8.js";import{m as n}from"./p-J-ikDhyq.js";import{K as s}from"./p-CGrPq3C4.js";import{L as b}from"./p-B9dgiq4u.js";import{p as d}from"./p-BlnEiKN4.js";import{d as i}from"./p-BUr3NqxM.js";import{d as m}from"./p-cIZniMh0.js";import{d as c}from"./p-B6B6q5kP.js";import{d as g}from"./p-DezdwzYQ.js";var v={deleteLabel:"Αφαίρεση"},h={deleteLabel:"Remove"},u={deleteLabel:"Eliminar"},p={deleteLabel:"Rimuovi"};const f=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=r(this,"mdsNoteDelete",7),this.km=new s,this.t=new b({el:v,en:h,es:u,it:p}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()},this.syncClickBehavior=()=>{if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}}componentDidLoad(){this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return a(t,{key:"afc4f6edaa1335d3fa8f423868a7360123ddd092",role:"note","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"14c72715f75fbe34ecbce103857344c5b8c156c7",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"3aee270bd7e583869d0804597c2d87380f274a7b",name:"title"}),a("slot",{key:"151050ec4554c2bfd050806226abf3de06f92b13"}),a("div",{key:"fe68e569f2f7571dcb0c565e030a5c1683647e39","aria-hidden":"true",class:"fold"}))}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-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-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'}},[257,"mds-note",{deletable:[4],variant:[513]}]),k=f,y=function(){"undefined"!=typeof customElements&&["mds-note","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-note":customElements.get(l(e))||customElements.define(l(e),f);break;case"mds-button":customElements.get(l(e))||i();break;case"mds-icon":customElements.get(l(e))||m();break;case"mds-spinner":customElements.get(l(e))||c();break;case"mds-text":customElements.get(l(e))||g()}}))};export{k as MdsNote,y as defineCustomElement}
1
+ import{p as e,H as o,d as r,h as a,c as t,t as l}from"./p-TZJN-ygm.js";import{m as n}from"./p-J-ikDhyq.js";import{K as s}from"./p-CGrPq3C4.js";import{L as b}from"./p-B8x-d2fx.js";import{p as d}from"./p-CVRN4LDc.js";import{d as i}from"./p-ClPv-Ljc.js";import{d as c}from"./p-Cmn1DJAB.js";import{d as m}from"./p-ZuubAcA3.js";import{d as g}from"./p-CNF3u0Li.js";var v={deleteLabel:"Αφαίρεση"},h={deleteLabel:"Remove"},u={deleteLabel:"Eliminar"},p={deleteLabel:"Rimuovi"};const f=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=r(this,"mdsNoteDelete",7),this.km=new s,this.t=new b({el:v,en:h,es:u,it:p}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()},this.syncClickBehavior=()=>{if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}}componentDidLoad(){this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return a(t,{key:"b2cc0eb39fcef353546703ed693a862470e004d7",role:"note","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"80b44a61b565486c39c3508e6d7377015e7c7e7d",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"413c652f0e81f523594e601fe2746e81bd4d9978",name:"title"}),a("slot",{key:"d4c2afdf5ce30fc48cc959ec59dc2fb349e40cbf"}),a("div",{key:"91df0088460291b5b0ed1dc74c2c66aa676b204b","aria-hidden":"true",class:"fold"}))}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-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-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-note-fold-size:calc(var(--spacing,.0025rem)*1000);--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-note-transition-duration);transition-property:color,background-color}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000));bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,calc(var(--spacing,.0025rem)*1000)) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--magma-radius-full,var(--radius-full,1000px));cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))/.5)}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'}},[257,"mds-note",{deletable:[4],variant:[513]}]),k=f,y=function(){"undefined"!=typeof customElements&&["mds-note","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-note":customElements.get(l(e))||customElements.define(l(e),f);break;case"mds-button":customElements.get(l(e))||i();break;case"mds-icon":customElements.get(l(e))||c();break;case"mds-spinner":customElements.get(l(e))||m();break;case"mds-text":customElements.get(l(e))||g()}}))};export{k as MdsNote,y as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as i,h as s,c as a,t as o}from"./p-B2p5a1Y8.js";import{p as n}from"./p-BlnEiKN4.js";import{r as e,s as r,h as d,a as c}from"./p-Cvhn9asj.js";import{o as m,s as f,c as h,b as l}from"./p-BaFfIZGB.js";import{d as p}from"./p-DezdwzYQ.js";const u=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.describing=!1,this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=[],i="disabled"===this.strategy?"absolute":"fixed";t.push(m(0)),t.push(f({padding:0})),h(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:t+"px",top:i+"px"})}))},this.clean=t=>{var i;if(0===(null!=t?t:0)||isNaN(t))return"";const s=null!==(i=this.max)&&void 0!==i?i:0;return 0!==s&&!Number.isNaN(s)&&t>s?"+"+Number(s).toLocaleString():Number(t).toLocaleString()},this.describeCaller=t=>{const i=this.host.id;this.describedCaller&&this.describedCaller!==t&&i&&e(this.describedCaller,"aria-describedby",i);const s=void 0!==t&&!this.dismissed&&""!==this.clean(this.value)&&t.getRootNode()===this.host.getRootNode();if(this.describing=s,!s)return t&&i&&e(t,"aria-describedby",i),void(this.describedCaller=void 0);const a=r(this.host,"id",d("mds-notification"));c(t,"aria-describedby",a),this.describedCaller=t},this.startAutoUpdate=()=>{var t;"disabled"!==this.strategy&&""!==(null!==(t=this.target)&&void 0!==t?t:"")&&this.caller&&(this.cleanupAutoUpdate||void 0!==this.autoUpdateTimer||(this.autoUpdateTimer=setTimeout((()=>{this.autoUpdateTimer=void 0,this.cleanupAutoUpdate=l(this.caller,this.host,this.updatePosition)}),100)))},this.stopAutoUpdate=()=>{var t;clearTimeout(this.autoUpdateTimer),this.autoUpdateTimer=void 0,null===(t=this.cleanupAutoUpdate)||void 0===t||t.call(this),this.cleanupAutoUpdate=void 0}}componentDidRender(){var t;if(""===(null!==(t=this.target)&&void 0!==t?t:""))return void(this.strategy="disabled");const i=document.querySelector(this.target);if(null==i)return console.warn("mds-notification: no valid target found: "+this.target),void(this.strategy="disabled");this.caller=i,this.describeCaller(i)}componentDidLoad(){"disabled"!==this.strategy&&this.startAutoUpdate()}connectedCallback(){this.startAutoUpdate()}disconnectedCallback(){this.stopAutoUpdate(),this.describeCaller(void 0)}strategyHandler(t){"disabled"===t&&this.stopAutoUpdate()}render(){return s(a,{key:"a9e2d0a288c4b30a84389cf94fdad02e9795481d","aria-hidden":this.describing?"true":void 0,"pref-animation":n.state.animation},s("mds-text",{key:"3ad8f42e7772e356011f9763c0f99d2e0f0809ce",typography:"caption",class:"dot"},this.clean(this.value)))}get host(){return this}static get watchers(){return{strategy:[{strategyHandler:0}]}}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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--private-notification-transition-duration:var(--mds-notification-transition-duration,.2s);--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--magma-radius-full,var(--radius-full,1000px));bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,20px);padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,20px)}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([dismissed]:not([dismissed=false]):not([target])),:host([dismissed]:not([dismissed=false])[strategy=disabled]){display:none}: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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}@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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}'}},[1,"mds-notification",{target:[1],value:[1538],dismissed:[1540],strategy:[1537],max:[514],describing:[32]},void 0,{strategy:[{strategyHandler:0}]}]),b=u,g=function(){"undefined"!=typeof customElements&&["mds-notification","mds-text"].forEach((t=>{switch(t){case"mds-notification":customElements.get(o(t))||customElements.define(o(t),u);break;case"mds-text":customElements.get(o(t))||p()}}))};export{b as MdsNotification,g as defineCustomElement}
1
+ import{p as t,H as i,h as a,c as s,t as n}from"./p-TZJN-ygm.js";import{p as o}from"./p-CVRN4LDc.js";import{r as e,s as r,h as d,a as c}from"./p-Cvhn9asj.js";import{o as m,s as l,c as h,b as f}from"./p-BaFfIZGB.js";import{d as p}from"./p-CNF3u0Li.js";const u=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.describing=!1,this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=[],i="disabled"===this.strategy?"absolute":"fixed";t.push(m(0)),t.push(l({padding:0})),h(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:t+"px",top:i+"px"})}))},this.clean=t=>{var i;if(0===(null!=t?t:0)||isNaN(t))return"";const a=null!==(i=this.max)&&void 0!==i?i:0;return 0!==a&&!Number.isNaN(a)&&t>a?"+"+Number(a).toLocaleString():Number(t).toLocaleString()},this.describeCaller=t=>{const i=this.host.id;this.describedCaller&&this.describedCaller!==t&&i&&e(this.describedCaller,"aria-describedby",i);const a=void 0!==t&&!this.dismissed&&""!==this.clean(this.value)&&t.getRootNode()===this.host.getRootNode();if(this.describing=a,!a)return t&&i&&e(t,"aria-describedby",i),void(this.describedCaller=void 0);const s=r(this.host,"id",d("mds-notification"));c(t,"aria-describedby",s),this.describedCaller=t},this.startAutoUpdate=()=>{var t;"disabled"!==this.strategy&&""!==(null!==(t=this.target)&&void 0!==t?t:"")&&this.caller&&(this.cleanupAutoUpdate||void 0!==this.autoUpdateTimer||(this.autoUpdateTimer=setTimeout((()=>{this.autoUpdateTimer=void 0,this.cleanupAutoUpdate=f(this.caller,this.host,this.updatePosition)}),100)))},this.stopAutoUpdate=()=>{var t;clearTimeout(this.autoUpdateTimer),this.autoUpdateTimer=void 0,null===(t=this.cleanupAutoUpdate)||void 0===t||t.call(this),this.cleanupAutoUpdate=void 0}}componentDidRender(){var t;if(""===(null!==(t=this.target)&&void 0!==t?t:""))return void(this.strategy="disabled");const i=document.querySelector(this.target);if(null==i)return console.warn("mds-notification: no valid target found: "+this.target),void(this.strategy="disabled");this.caller=i,this.describeCaller(i)}componentDidLoad(){"disabled"!==this.strategy&&this.startAutoUpdate()}connectedCallback(){this.startAutoUpdate()}disconnectedCallback(){this.stopAutoUpdate(),this.describeCaller(void 0)}strategyHandler(t){"disabled"===t&&this.stopAutoUpdate()}render(){return a(s,{key:"c0385551029c586598e4b944cc18910e9fb25da3","aria-hidden":this.describing?"true":void 0,"pref-animation":o.state.animation},a("mds-text",{key:"32157874be31b5431be6991ae96bfc9da9935456",typography:"caption",class:"dot"},this.clean(this.value)))}get host(){return this}static get watchers(){return{strategy:[{strategyHandler:0}]}}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-notification-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:calc(var(--spacing,.0025rem)*150);--mds-notification-min-width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-ring-size:calc(var(--spacing,.0025rem)*50);--mds-notification-size:calc(var(--spacing,.0025rem)*500);--mds-notification-transition-duration:var(--duration-200,.2s);--private-notification-transition-duration:var(--mds-notification-transition-duration,var(--duration-200,.2s));--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--magma-radius-full,var(--radius-full,1000px));bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transform-origin:calc(100% - calc(var(--mds-notification-size,calc(var(--spacing,.0025rem) * 500)) / 2)) 50%;transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-shadow:0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));min-width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500));padding-left:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));padding-right:var(--mds-notification-dot-padding,calc(var(--spacing,.0025rem)*150));position:static;transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,calc(var(--spacing,.0025rem)*500));width:var(--mds-notification-min-width,calc(var(--spacing,.0025rem)*500))}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;transform:var(--mds-notification-translate,translate(calc(var(--spacing,.0025rem)*500/-1.75),calc(var(--spacing,.0025rem)*500/-2))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([dismissed]:not([dismissed=false]):not([target])),:host([dismissed]:not([dismissed=false])[strategy=disabled]){display:none}: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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}@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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}'}},[1,"mds-notification",{target:[1],value:[1538],dismissed:[1540],strategy:[1537],max:[514],describing:[32]},void 0,{strategy:[{strategyHandler:0}]}]),v=u,g=function(){"undefined"!=typeof customElements&&["mds-notification","mds-text"].forEach((t=>{switch(t){case"mds-notification":customElements.get(n(t))||customElements.define(n(t),u);break;case"mds-text":customElements.get(n(t))||p()}}))};export{v as MdsNotification,g as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as r}from"./p-BLiWCyrD.js";const s=o,p=r;export{s as MdsPaginatorItem,p as defineCustomElement}
1
+ import{M as o,d as s}from"./p-C4XdTZQ-.js";const p=o,r=s;export{p as MdsPaginatorItem,r as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as a,d as e,h as r,c as s,t as i}from"./p-B2p5a1Y8.js";import{p as o}from"./p-BlnEiKN4.js";import{m as n}from"./p-DnEUG7st.js";import{m}from"./p-Bd0uuNDE.js";import{L as d}from"./p-B9dgiq4u.js";import{d as h}from"./p-cIZniMh0.js";import{d as p}from"./p-BLiWCyrD.js";import{d as c}from"./p-DezdwzYQ.js";var g={nextPage:"Επόμενη σελίδα",previousPage:"Προηγούμενη σελίδα"},l={nextPage:"Next page",previousPage:"Previous page"},u={nextPage:"Página siguiente",previousPage:"Página anterior"},f={nextPage:"Pagina successiva",previousPage:"Pagina precedente"};const v=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.pageChangedEvent=e(this,"mdsPaginatorChange",7),this.t=new d({el:g,en:l,es:u,it:f}),this.pages=0,this.currentPage=1,this.scrollPage=t=>{var a;const e=t,r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),s=null==r?void 0:r.querySelectorAll("mds-paginator-item");if(!r||!s)return;if(e<0)return void(r.scrollLeft=0);if(e>s.length-1)return void(r.scrollLeft=s[s.length-1].offsetLeft-r.offsetLeft);const i=s[e];r.scrollLeft=i.offsetLeft-r.offsetLeft-r.offsetWidth/2+i.offsetWidth/2},this.isKeyboardFocus=t=>{try{return t.matches(":focus-visible")}catch(t){return!0}},this.handleItemFocus=t=>{var a;const e=t.target;if(!e||!this.isKeyboardFocus(e))return;const r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),s=null==r?void 0:r.querySelectorAll("mds-paginator-item");s&&this.scrollPage(Array.from(s).indexOf(e))},this.goToPage=(t,a)=>{t<1||t>this.pages||(this.currentPage=t,this.pages>2&&this.scrollPage(this.currentPage-2),this.pageChangedEvent.emit({page:this.currentPage,caller:a}))},this.handlePrevClick=t=>{this.goToPage(this.currentPage-1,t.target)},this.handleFirstClick=t=>{this.goToPage(1,t.target)},this.handlePageClick=t=>a=>{this.goToPage(t,a.target)},this.handleLastClick=t=>{this.goToPage(this.pages,t.target)},this.handleNextClick=t=>{this.goToPage(this.currentPage+1,t.target)}}componentDidLoad(){setTimeout((()=>{this.goToPage(this.currentPage)}),10)}render(){return r(s,{key:"e20e7b29c9fe42d766107ed7097cd08282ffcc73","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("mds-paginator-item",{key:"d02d4d5ffcf0c85293a0143d5fe4d3f4c9a928be","aria-label":this.t.get("previousPage"),class:"item-icon",icon:n,disabled:1===this.currentPage,onClick:this.handlePrevClick}),this.pages>0&&r("mds-paginator-item",{key:"4923f3b79bebc256d8ac606352921d8c1a09edb7",class:"item-first",selected:1===this.currentPage,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"e365c0c4aa2491823adc3a392554c7255ec778c3",class:"pages"},Array.from(Array(this.pages-2).keys()).map((t=>r("mds-paginator-item",{key:t,class:"item",selected:this.currentPage===t+2,onClick:this.handlePageClick(t+2),onFocus:this.handleItemFocus},t+2)))),this.pages>1&&r("mds-paginator-item",{key:"4d0243029c0124b09555ed3d5164b2224394ee88",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"9f68afdf9e667ac6864f764c7e9a32049e9814af","aria-label":this.t.get("nextPage"),class:"item-icon",icon:m,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))}get element(){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-paginator-item: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-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;flex-shrink:1;gap:2px;margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}: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-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}: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-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'}},[1,"mds-paginator",{pages:[2],currentPage:[1538,"current-page"]}]),b=v,w=function(){"undefined"!=typeof customElements&&["mds-paginator","mds-icon","mds-paginator-item","mds-text"].forEach((t=>{switch(t){case"mds-paginator":customElements.get(i(t))||customElements.define(i(t),v);break;case"mds-icon":customElements.get(i(t))||h();break;case"mds-paginator-item":customElements.get(i(t))||p();break;case"mds-text":customElements.get(i(t))||c()}}))};export{b as MdsPaginator,w as defineCustomElement}
1
+ import{p as t,H as a,d as e,h as r,c as s,t as i}from"./p-TZJN-ygm.js";import{p as o}from"./p-CVRN4LDc.js";import{m as n}from"./p-DnEUG7st.js";import{m}from"./p-Bd0uuNDE.js";import{L as d}from"./p-B8x-d2fx.js";import{d as h}from"./p-Cmn1DJAB.js";import{d as p}from"./p-C4XdTZQ-.js";import{d as c}from"./p-CNF3u0Li.js";var g={nextPage:"Επόμενη σελίδα",previousPage:"Προηγούμενη σελίδα"},l={nextPage:"Next page",previousPage:"Previous page"},u={nextPage:"Página siguiente",previousPage:"Página anterior"},f={nextPage:"Pagina successiva",previousPage:"Pagina precedente"};const v=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.pageChangedEvent=e(this,"mdsPaginatorChange",7),this.t=new d({el:g,en:l,es:u,it:f}),this.pages=0,this.currentPage=1,this.scrollPage=t=>{var a;const e=t,r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),s=null==r?void 0:r.querySelectorAll("mds-paginator-item");if(!r||!s)return;if(e<0)return void(r.scrollLeft=0);if(e>s.length-1)return void(r.scrollLeft=s[s.length-1].offsetLeft-r.offsetLeft);const i=s[e];r.scrollLeft=i.offsetLeft-r.offsetLeft-r.offsetWidth/2+i.offsetWidth/2},this.isKeyboardFocus=t=>{try{return t.matches(":focus-visible")}catch(t){return!0}},this.handleItemFocus=t=>{var a;const e=t.target;if(!e||!this.isKeyboardFocus(e))return;const r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".pages"),s=null==r?void 0:r.querySelectorAll("mds-paginator-item");s&&this.scrollPage(Array.from(s).indexOf(e))},this.goToPage=(t,a)=>{t<1||t>this.pages||(this.currentPage=t,this.pages>2&&this.scrollPage(this.currentPage-2),this.pageChangedEvent.emit({page:this.currentPage,caller:a}))},this.handlePrevClick=t=>{this.goToPage(this.currentPage-1,t.target)},this.handleFirstClick=t=>{this.goToPage(1,t.target)},this.handlePageClick=t=>a=>{this.goToPage(t,a.target)},this.handleLastClick=t=>{this.goToPage(this.pages,t.target)},this.handleNextClick=t=>{this.goToPage(this.currentPage+1,t.target)}}componentDidLoad(){setTimeout((()=>{this.goToPage(this.currentPage)}),10)}render(){return r(s,{key:"a7088a949fee47fed5f9093b3983cd35e9a82919","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},r("mds-paginator-item",{key:"90fcc7976b1082465af822d923e98ecf57c1cd42","aria-label":this.t.get("previousPage"),class:"item-icon",icon:n,disabled:1===this.currentPage,onClick:this.handlePrevClick}),this.pages>0&&r("mds-paginator-item",{key:"ce60c06480116361bec2a6161e3e94249c7c315f",class:"item-first",selected:1===this.currentPage,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"74cb836cdbaf6cbca30168f812b049a6bb50fde1",class:"pages"},Array.from(Array(this.pages-2).keys()).map((t=>r("mds-paginator-item",{key:t,class:"item",selected:this.currentPage===t+2,onClick:this.handlePageClick(t+2),onFocus:this.handleItemFocus},t+2)))),this.pages>1&&r("mds-paginator-item",{key:"967f87c48e836da09d9ac1931ecdbe8789223186",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"96d7d15254f878570dc153d9b8c976e265248fdd","aria-label":this.t.get("nextPage"),class:"item-icon",icon:m,disabled:this.currentPage===this.pages,onClick:this.handleNextClick}))}get element(){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-paginator-item: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-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-paginator-scroll-behavior:smooth;--mds-paginator-transition-duration:var(--duration-200,.2s);--private-paginator-transition-duration:var(--mds-paginator-transition-duration);align-items:center;display:flex;gap:calc(var(--spacing,.0025rem)*100)}.pages{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none;--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-paginator-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));display:flex;flex-shrink:1;gap:calc(var(--spacing,.0025rem)*50);margin-inline:calc(var(--spacing,.0025rem)*200);overflow:auto;padding:calc(var(--spacing,.0025rem)*200);scroll-behavior:var(--mds-paginator-scroll-behavior,smooth);transition-duration:var(--private-paginator-transition-duration);transition-property:background-color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}.pages::-webkit-scrollbar{display:none}: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-paginator-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:host([pref-contrast=more]) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host{--mds-paginator-scroll-behavior:auto}: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-paginator-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .pages{box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .pages{box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .item{--mds-paginator-item-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:none}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.item-first,.item-icon,.item-last){--mds-paginator-item-shadow-disabled:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow-hover:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;--mds-paginator-item-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'}},[1,"mds-paginator",{pages:[2],currentPage:[1538,"current-page"]}]),b=v,w=function(){"undefined"!=typeof customElements&&["mds-paginator","mds-icon","mds-paginator-item","mds-text"].forEach((t=>{switch(t){case"mds-paginator":customElements.get(i(t))||customElements.define(i(t),v);break;case"mds-icon":customElements.get(i(t))||h();break;case"mds-paginator-item":customElements.get(i(t))||p();break;case"mds-text":customElements.get(i(t))||c()}}))};export{b as MdsPaginator,w as defineCustomElement}