@maggioli-design-system/magma 2.11.0 → 2.12.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 (1228) hide show
  1. package/AGENTS.md +2 -2
  2. package/CHANGELOG.md +38 -0
  3. package/README.md +9 -6
  4. package/agents/color.md +1 -0
  5. package/agents/mcp.md +5 -5
  6. package/agents/patterns/actions.md +4 -3
  7. package/agents/patterns/app-shell.md +70 -22
  8. package/agents/patterns/density.md +4 -3
  9. package/agents/patterns/previews/app-shell/back-office.dark.webp +0 -0
  10. package/agents/patterns/previews/app-shell/back-office.html +2 -2
  11. package/agents/patterns/previews/app-shell/back-office.light.webp +0 -0
  12. package/agents/patterns/previews/app-shell/many-sections.html +1 -1
  13. package/agents/patterns/previews/app-shell/public-service.dark.webp +0 -0
  14. package/agents/patterns/previews/app-shell/public-service.html +2 -2
  15. package/agents/patterns/previews/app-shell/public-service.light.webp +0 -0
  16. package/agents/patterns/previews/app-shell/section-menus.dark.webp +0 -0
  17. package/agents/patterns/previews/app-shell/section-menus.html +68 -0
  18. package/agents/patterns/previews/app-shell/section-menus.light.webp +0 -0
  19. package/agents/patterns/previews/empty-state/not-found.dark.webp +0 -0
  20. package/agents/patterns/previews/empty-state/not-found.html +2 -2
  21. package/agents/patterns/previews/empty-state/not-found.light.webp +0 -0
  22. package/agents/patterns/previews/item-list/queue-of-a-desk.dark.webp +0 -0
  23. package/agents/patterns/previews/item-list/queue-of-a-desk.light.webp +0 -0
  24. package/agents/patterns/previews/item-list/requests-of-an-office.dark.webp +0 -0
  25. package/agents/patterns/previews/item-list/requests-of-an-office.light.webp +0 -0
  26. package/agents/patterns/previews/list-with-filters/act-on-many.dark.webp +0 -0
  27. package/agents/patterns/previews/list-with-filters/act-on-many.html +2 -2
  28. package/agents/patterns/previews/list-with-filters/act-on-many.light.webp +0 -0
  29. package/agents/patterns/previews/list-with-filters/find-and-open.dark.webp +0 -0
  30. package/agents/patterns/previews/list-with-filters/find-and-open.html +2 -2
  31. package/agents/patterns/previews/list-with-filters/find-and-open.light.webp +0 -0
  32. package/agents/patterns/previews/list-with-filters/show-new-items.dark.webp +0 -0
  33. package/agents/patterns/previews/list-with-filters/show-new-items.html +2 -2
  34. package/agents/patterns/previews/list-with-filters/show-new-items.light.webp +0 -0
  35. package/agents/patterns/previews/loading/first-load.dark.webp +0 -0
  36. package/agents/patterns/previews/loading/first-load.light.webp +0 -0
  37. package/agents/patterns/previews/loading/keep-while-reloading.dark.webp +0 -0
  38. package/agents/patterns/previews/loading/keep-while-reloading.light.webp +0 -0
  39. package/agents/patterns/previews/loading/long-load-measured.dark.webp +0 -0
  40. package/agents/patterns/previews/loading/long-load-measured.light.webp +0 -0
  41. package/agents/patterns/previews/loading/long-load.dark.webp +0 -0
  42. package/agents/patterns/previews/loading/long-load.light.webp +0 -0
  43. package/agents/patterns/previews/message-placement/action-failed-elsewhere.light.webp +0 -0
  44. package/agents/patterns/previews/message-placement/app-failed.dark.webp +0 -0
  45. package/agents/patterns/previews/message-placement/app-failed.html +2 -2
  46. package/agents/patterns/previews/message-placement/app-failed.light.webp +0 -0
  47. package/agents/patterns/previews/record-detail/ask-for-words.dark.webp +0 -0
  48. package/agents/patterns/previews/record-detail/ask-for-words.html +2 -2
  49. package/agents/patterns/previews/record-detail/ask-for-words.light.webp +0 -0
  50. package/agents/patterns/previews/record-detail/edit-data.dark.webp +0 -0
  51. package/agents/patterns/previews/record-detail/edit-data.html +2 -2
  52. package/agents/patterns/previews/record-detail/edit-data.light.webp +0 -0
  53. package/agents/patterns/previews/record-detail/read-the-data.dark.webp +0 -0
  54. package/agents/patterns/previews/record-detail/read-the-data.html +2 -2
  55. package/agents/patterns/previews/record-detail/read-the-data.light.webp +0 -0
  56. package/agents/patterns/previews/record-detail/record-changed.dark.webp +0 -0
  57. package/agents/patterns/previews/record-detail/record-changed.html +2 -2
  58. package/agents/patterns/previews/record-detail/record-changed.light.webp +0 -0
  59. package/agents/patterns/previews/record-detail/run-at-once.dark.webp +0 -0
  60. package/agents/patterns/previews/record-detail/run-at-once.html +2 -2
  61. package/agents/patterns/previews/record-detail/run-at-once.light.webp +0 -0
  62. package/agents/patterns/previews/record-detail/work-on-it.dark.webp +0 -0
  63. package/agents/patterns/previews/record-detail/work-on-it.html +2 -2
  64. package/agents/patterns/previews/record-detail/work-on-it.light.webp +0 -0
  65. package/agents/patterns/previews/surfaces/band.dark.webp +0 -0
  66. package/agents/patterns/previews/surfaces/band.html +2 -2
  67. package/agents/patterns/previews/surfaces/band.light.webp +0 -0
  68. package/agents/patterns/previews/surfaces/canvas.dark.webp +0 -0
  69. package/agents/patterns/previews/surfaces/canvas.html +2 -2
  70. package/agents/patterns/previews/surfaces/canvas.light.webp +0 -0
  71. package/agents/patterns/previews/titles/page.dark.webp +0 -0
  72. package/agents/patterns/previews/widths/page.dark.webp +0 -0
  73. package/agents/patterns/previews/widths/page.html +2 -2
  74. package/agents/patterns/previews/widths/page.light.webp +0 -0
  75. package/agents/patterns/rhythm.md +2 -1
  76. package/agents/patterns/surfaces.md +4 -3
  77. package/agents/patterns/titles.md +4 -3
  78. package/agents/patterns/widths.md +4 -3
  79. package/agents/patterns.md +8 -7
  80. package/agents/theming.md +7 -0
  81. package/dist/cjs/{aria-CzO5Rp1y.js → aria-r1anAHBr.js} +12 -0
  82. package/dist/cjs/{floating-controller-DaFymQCT.js → floating-controller-B4YhrWm8.js} +1 -1
  83. package/dist/cjs/{index-Bg68W-da.js → index-Csgx951d.js} +1 -1
  84. package/dist/cjs/loader.cjs.js +1 -1
  85. package/dist/cjs/{locale-CaR39iYg.js → locale-DgMC52AD.js} +1 -1
  86. package/dist/cjs/magma-components.cjs.js +1 -1
  87. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-banner_3.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-book.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-breadcrumb.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-button-dropdown.cjs.entry.js +6 -4
  96. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  97. package/dist/cjs/mds-button_3.cjs.entry.js +78 -16
  98. package/dist/cjs/mds-calendar_2.cjs.entry.js +8 -8
  99. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  100. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  102. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  103. package/dist/cjs/mds-card.cjs.entry.js +2 -2
  104. package/dist/cjs/mds-details.cjs.entry.js +2 -2
  105. package/dist/cjs/mds-dropdown.cjs.entry.js +6 -6
  106. package/dist/cjs/mds-emoji.cjs.entry.js +2 -2
  107. package/dist/cjs/mds-entity.cjs.entry.js +2 -2
  108. package/dist/cjs/mds-file-preview.cjs.entry.js +5 -5
  109. package/dist/cjs/mds-file.cjs.entry.js +5 -5
  110. package/dist/cjs/mds-filter-item.cjs.entry.js +5 -5
  111. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  112. package/dist/cjs/mds-header-bar.cjs.entry.js +3 -3
  113. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  114. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +3 -3
  115. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  116. package/dist/cjs/mds-img.cjs.entry.js +2 -2
  117. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  118. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-input-date.cjs.entry.js +6 -6
  120. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  121. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  122. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  123. package/dist/cjs/mds-input-select.cjs.entry.js +6 -6
  124. package/dist/cjs/mds-input-switch_2.cjs.entry.js +6 -6
  125. package/dist/cjs/mds-input-tip_2.cjs.entry.js +5 -5
  126. package/dist/cjs/mds-input-upload.cjs.entry.js +7 -7
  127. package/dist/cjs/mds-input.cjs.entry.js +8 -8
  128. package/dist/cjs/mds-keyboard-key.cjs.entry.js +3 -3
  129. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  130. package/dist/cjs/mds-kpi-item.cjs.entry.js +3 -3
  131. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  132. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  133. package/dist/cjs/mds-link.cjs.entry.js +5 -5
  134. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  135. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  136. package/dist/cjs/mds-mention.cjs.entry.js +3 -3
  137. package/dist/cjs/mds-modal.cjs.entry.js +34 -15
  138. package/dist/cjs/mds-note.cjs.entry.js +4 -4
  139. package/dist/cjs/mds-notification.cjs.entry.js +3 -3
  140. package/dist/cjs/mds-paginator-item.cjs.entry.js +2 -2
  141. package/dist/cjs/mds-paginator.cjs.entry.js +4 -4
  142. package/dist/cjs/mds-policy-ai.cjs.entry.js +3 -3
  143. package/dist/cjs/mds-pref-animation.cjs.entry.js +3 -3
  144. package/dist/cjs/mds-pref-consumption.cjs.entry.js +3 -3
  145. package/dist/cjs/mds-pref-contrast.cjs.entry.js +3 -3
  146. package/dist/cjs/mds-pref-language-item.cjs.entry.js +3 -3
  147. package/dist/cjs/mds-pref-language.cjs.entry.js +3 -3
  148. package/dist/cjs/mds-pref-mode.cjs.entry.js +22 -13
  149. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  150. package/dist/cjs/mds-pref-theme.cjs.entry.js +31 -8
  151. package/dist/cjs/mds-pref.cjs.entry.js +3 -25
  152. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  153. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  154. package/dist/cjs/mds-price-table-features.cjs.entry.js +2 -2
  155. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  156. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  157. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  158. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  159. package/dist/cjs/mds-progress_2.cjs.entry.js +4 -4
  160. package/dist/cjs/mds-push-notification-item.cjs.entry.js +4 -4
  161. package/dist/cjs/mds-push-notification.cjs.entry.js +4 -4
  162. package/dist/cjs/mds-quote.cjs.entry.js +2 -2
  163. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  164. package/dist/cjs/mds-radial-menu.cjs.entry.js +5 -5
  165. package/dist/cjs/mds-separator.cjs.entry.js +2 -2
  166. package/dist/cjs/mds-status-bar.cjs.entry.js +3 -3
  167. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +3 -3
  168. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  169. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  170. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  171. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  172. package/dist/cjs/mds-table-body.cjs.entry.js +2 -2
  173. package/dist/cjs/mds-table-footer.cjs.entry.js +2 -2
  174. package/dist/cjs/mds-table-header-cell.cjs.entry.js +2 -2
  175. package/dist/cjs/mds-table-header.cjs.entry.js +3 -3
  176. package/dist/cjs/mds-table-row.cjs.entry.js +4 -4
  177. package/dist/cjs/mds-table.cjs.entry.js +4 -4
  178. package/dist/cjs/mds-text.cjs.entry.js +2 -2
  179. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  180. package/dist/cjs/mds-toast.cjs.entry.js +3 -3
  181. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  182. package/dist/cjs/mds-tree-item.cjs.entry.js +3 -3
  183. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  184. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  185. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  186. package/dist/cjs/mds-video-wall.cjs.entry.js +2 -2
  187. package/dist/cjs/mds-zero.cjs.entry.js +3 -3
  188. package/dist/cjs/{preference-CQQ3eb9W.js → preference-DhNxLZ4R.js} +20 -0
  189. package/dist/collection/common/aria.js +12 -1
  190. package/dist/collection/common/preference.js +19 -1
  191. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  193. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  194. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  195. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  196. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  197. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  199. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  200. package/dist/collection/components/mds-author/documentation.json +1 -1
  201. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  202. package/dist/collection/components/mds-avatar/documentation.json +2 -2
  203. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-avatar-stack/documentation.json +2 -2
  205. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-avatar-stack-item/documentation.json +2 -2
  207. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  208. package/dist/collection/components/mds-badge/documentation.json +1 -1
  209. package/dist/collection/components/mds-badge/mds-badge.css +15 -10
  210. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-banner/documentation.json +2 -2
  212. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  214. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  216. package/dist/collection/components/mds-book/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-book/documentation.json +1 -1
  218. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  219. package/dist/collection/components/mds-breadcrumb/documentation.json +2 -2
  220. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-breadcrumb-item/documentation.json +2 -2
  222. package/dist/collection/components/mds-button/AGENTS.md +9 -4
  223. package/dist/collection/components/mds-button/documentation.json +100 -7
  224. package/dist/collection/components/mds-button/examples.md +73 -0
  225. package/dist/collection/components/mds-button/mds-button.css +122 -14
  226. package/dist/collection/components/mds-button/mds-button.js +139 -13
  227. package/dist/collection/components/mds-button/mistakes.md +35 -0
  228. package/dist/collection/components/mds-button-dropdown/AGENTS.md +7 -2
  229. package/dist/collection/components/mds-button-dropdown/documentation.json +97 -4
  230. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +69 -3
  231. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  233. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  234. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-calendar/documentation.json +2 -2
  236. package/dist/collection/components/mds-calendar/mds-calendar.js +5 -5
  237. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-calendar-cell/documentation.json +2 -2
  239. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  240. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-card/documentation.json +1 -1
  242. package/dist/collection/components/mds-card/mds-card.js +1 -1
  243. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  245. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  246. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  248. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  249. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  251. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  252. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  254. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  255. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  256. package/dist/collection/components/mds-chip/documentation.json +2 -2
  257. package/dist/collection/components/mds-chip/mds-chip.css +3 -2
  258. package/dist/collection/components/mds-chip/mds-chip.js +1 -1
  259. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  260. package/dist/collection/components/mds-details/documentation.json +1 -1
  261. package/dist/collection/components/mds-details/mds-details.js +1 -1
  262. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  264. package/dist/collection/components/mds-dropdown/mds-dropdown.css +12 -14
  265. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  266. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  268. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  269. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-entity/documentation.json +2 -2
  271. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  272. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-file/documentation.json +1 -1
  274. package/dist/collection/components/mds-file/mds-file.css +3 -2
  275. package/dist/collection/components/mds-file/mds-file.js +1 -1
  276. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  277. package/dist/collection/components/mds-file-preview/documentation.json +2 -2
  278. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -2
  279. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  280. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  281. package/dist/collection/components/mds-filter/documentation.json +1 -1
  282. package/dist/collection/components/mds-filter/mds-filter.css +3 -2
  283. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  284. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  286. package/dist/collection/components/mds-filter-item/mds-filter-item.css +3 -2
  287. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  288. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-header/documentation.json +2 -2
  290. package/dist/collection/components/mds-header/mds-header.css +3 -2
  291. package/dist/collection/components/mds-header/mds-header.js +1 -1
  292. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-header-bar/documentation.json +2 -2
  294. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  295. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  296. package/dist/collection/components/mds-help/documentation.json +1 -1
  297. package/dist/collection/components/mds-help/mds-help.js +1 -1
  298. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  299. package/dist/collection/components/mds-horizontal-scroll/documentation.json +2 -2
  300. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  301. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  302. package/dist/collection/components/mds-hr/documentation.json +1 -1
  303. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  304. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  305. package/dist/collection/components/mds-icon/documentation.json +1 -1
  306. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  307. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  308. package/dist/collection/components/mds-img/documentation.json +2 -2
  309. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-input/documentation.json +2 -2
  311. package/dist/collection/components/mds-input/mds-input.css +16 -8
  312. package/dist/collection/components/mds-input/mds-input.js +3 -3
  313. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-input-date/documentation.json +2 -2
  315. package/dist/collection/components/mds-input-date/mds-input-date.css +3 -2
  316. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  317. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-input-date-range/documentation.json +2 -2
  319. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +3 -2
  320. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +2 -2
  322. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  323. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  325. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  326. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-input-otp/documentation.json +2 -2
  328. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  329. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  331. package/dist/collection/components/mds-input-range/mds-input-range.css +3 -2
  332. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  333. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  334. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  335. package/dist/collection/components/mds-input-select/mds-input-select.css +15 -11
  336. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  337. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  339. package/dist/collection/components/mds-input-switch/mds-input-switch.css +3 -2
  340. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  341. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  343. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  344. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  347. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-input-upload/documentation.json +2 -2
  349. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  350. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  352. package/dist/collection/components/mds-keyboard/mds-keyboard.css +3 -2
  353. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  354. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  355. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  356. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  357. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  358. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  359. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  360. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  361. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  362. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +9 -6
  363. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  364. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  365. package/dist/collection/components/mds-label/documentation.json +2 -2
  366. package/dist/collection/components/mds-label/mds-label.css +3 -2
  367. package/dist/collection/components/mds-link/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-link/documentation.json +1 -1
  369. package/dist/collection/components/mds-link/mds-link.js +3 -3
  370. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  371. package/dist/collection/components/mds-list/documentation.json +1 -1
  372. package/dist/collection/components/mds-list/mds-list.js +1 -1
  373. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  374. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  375. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  376. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-mention/documentation.json +2 -2
  378. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  379. package/dist/collection/components/mds-modal/AGENTS.md +3 -3
  380. package/dist/collection/components/mds-modal/documentation.json +4 -4
  381. package/dist/collection/components/mds-modal/mds-modal.css +3 -2
  382. package/dist/collection/components/mds-modal/mds-modal.js +32 -13
  383. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-note/documentation.json +2 -2
  385. package/dist/collection/components/mds-note/mds-note.css +3 -2
  386. package/dist/collection/components/mds-note/mds-note.js +1 -1
  387. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-notification/documentation.json +1 -1
  389. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  390. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  391. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  392. package/dist/collection/components/mds-paginator/mds-paginator.css +3 -2
  393. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  394. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  396. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  397. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-policy-ai/documentation.json +2 -2
  399. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  400. package/dist/collection/components/mds-pref/AGENTS.md +3 -3
  401. package/dist/collection/components/mds-pref/documentation.json +4 -9
  402. package/dist/collection/components/mds-pref/examples.md +1 -1
  403. package/dist/collection/components/mds-pref/mds-pref.js +1 -29
  404. package/dist/collection/components/mds-pref/mistakes.md +1 -1
  405. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  406. package/dist/collection/components/mds-pref-animation/documentation.json +2 -2
  407. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  408. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-pref-consumption/documentation.json +2 -2
  410. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  411. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-pref-contrast/documentation.json +2 -2
  413. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  414. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  415. package/dist/collection/components/mds-pref-language/documentation.json +2 -2
  416. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  417. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-pref-language-item/documentation.json +2 -2
  419. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  420. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -2
  421. package/dist/collection/components/mds-pref-mode/documentation.json +5 -5
  422. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -1
  423. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +20 -11
  424. package/dist/collection/components/mds-pref-mode/mistakes.md +1 -1
  425. package/dist/collection/components/mds-pref-theme/AGENTS.md +6 -5
  426. package/dist/collection/components/mds-pref-theme/documentation.json +7 -7
  427. package/dist/collection/components/mds-pref-theme/examples.md +1 -1
  428. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +32 -9
  429. package/dist/collection/components/mds-pref-theme/mistakes.md +1 -1
  430. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +2 -2
  431. package/dist/collection/components/mds-pref-theme-item/documentation.json +3 -3
  432. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  433. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  434. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  435. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  436. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  437. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  438. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  439. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  440. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  441. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +3 -2
  442. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  443. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  445. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +3 -2
  446. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  447. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  448. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  449. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  450. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  452. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +3 -2
  453. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  454. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  455. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  456. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  457. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-progress/documentation.json +1 -1
  459. package/dist/collection/components/mds-progress/mds-progress.css +3 -2
  460. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  461. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-push-notification/documentation.json +2 -2
  463. package/dist/collection/components/mds-push-notification/mds-push-notification.css +3 -2
  464. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  465. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-push-notification-item/documentation.json +2 -2
  467. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  468. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-quote/documentation.json +1 -1
  470. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  471. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-radial-menu/documentation.json +2 -2
  473. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  474. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-radial-menu-item/documentation.json +2 -2
  476. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  477. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  479. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  480. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-separator/documentation.json +1 -1
  482. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  483. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  485. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  486. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  487. package/dist/collection/components/mds-status-bar/documentation.json +2 -2
  488. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -2
  489. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  490. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  491. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  492. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  493. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  494. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  495. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  496. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-tab/documentation.json +1 -1
  498. package/dist/collection/components/mds-tab/mds-tab.css +3 -2
  499. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  500. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  501. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  502. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +3 -2
  503. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  504. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  505. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  506. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +3 -2
  507. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  508. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  509. package/dist/collection/components/mds-tab-item/documentation.json +2 -2
  510. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  511. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  512. package/dist/collection/components/mds-table/documentation.json +1 -1
  513. package/dist/collection/components/mds-table/mds-table.css +6 -4
  514. package/dist/collection/components/mds-table/mds-table.js +1 -1
  515. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  516. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  517. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  518. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  519. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  520. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  521. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  522. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  523. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  524. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  525. package/dist/collection/components/mds-table-header/documentation.json +2 -2
  526. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  527. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  528. package/dist/collection/components/mds-table-header-cell/documentation.json +2 -2
  529. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  530. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  531. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  532. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  533. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  534. package/dist/collection/components/mds-text/documentation.json +1 -1
  535. package/dist/collection/components/mds-text/mds-text.js +1 -1
  536. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  537. package/dist/collection/components/mds-toast/documentation.json +2 -2
  538. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  539. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  540. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  541. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  542. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  543. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  544. package/dist/collection/components/mds-tooltip/mds-tooltip.css +4 -2
  545. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  546. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  547. package/dist/collection/components/mds-tree/documentation.json +1 -1
  548. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  549. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  550. package/dist/collection/components/mds-tree-item/documentation.json +2 -2
  551. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  552. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  553. package/dist/collection/components/mds-url-view/documentation.json +2 -2
  554. package/dist/collection/components/mds-url-view/mds-url-view.css +3 -2
  555. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  556. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  557. package/dist/collection/components/mds-usage/documentation.json +1 -1
  558. package/dist/collection/components/mds-usage/mds-usage.css +3 -2
  559. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  560. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  561. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  562. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  563. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  564. package/dist/collection/components/mds-zero/documentation.json +1 -1
  565. package/dist/collection/components/mds-zero/mds-zero.css +3 -2
  566. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  567. package/dist/collection/type/button.js +3 -0
  568. package/dist/components/index.js +1 -1
  569. package/dist/components/mds-accordion-item.js +1 -1
  570. package/dist/components/mds-accordion-timer-item.js +1 -1
  571. package/dist/components/mds-accordion.js +1 -1
  572. package/dist/components/mds-avatar-stack-item.js +1 -1
  573. package/dist/components/mds-avatar-stack.js +1 -1
  574. package/dist/components/mds-avatar.js +1 -1
  575. package/dist/components/mds-badge.js +1 -1
  576. package/dist/components/mds-banner.js +1 -1
  577. package/dist/components/mds-benchmark-bar.js +1 -1
  578. package/dist/components/mds-bibliography.js +1 -1
  579. package/dist/components/mds-book.js +1 -1
  580. package/dist/components/mds-breadcrumb-item.js +1 -1
  581. package/dist/components/mds-breadcrumb.js +1 -1
  582. package/dist/components/mds-button-dropdown.js +1 -1
  583. package/dist/components/mds-button-group.js +1 -1
  584. package/dist/components/mds-button.js +1 -1
  585. package/dist/components/mds-calendar-cell.js +1 -1
  586. package/dist/components/mds-calendar.js +1 -1
  587. package/dist/components/mds-card-content.js +1 -1
  588. package/dist/components/mds-card-footer.js +1 -1
  589. package/dist/components/mds-card-header.js +1 -1
  590. package/dist/components/mds-card-media.js +1 -1
  591. package/dist/components/mds-card.js +1 -1
  592. package/dist/components/mds-chip.js +1 -1
  593. package/dist/components/mds-details.js +1 -1
  594. package/dist/components/mds-dropdown.js +1 -1
  595. package/dist/components/mds-emoji.js +3 -3
  596. package/dist/components/mds-entity.js +1 -1
  597. package/dist/components/mds-file-preview.js +1 -1
  598. package/dist/components/mds-file.js +1 -1
  599. package/dist/components/mds-filter-item.js +1 -1
  600. package/dist/components/mds-filter.js +1 -1
  601. package/dist/components/mds-header-bar.js +1 -1
  602. package/dist/components/mds-header.js +1 -1
  603. package/dist/components/mds-help.js +1 -1
  604. package/dist/components/mds-horizontal-scroll.js +1 -1
  605. package/dist/components/mds-hr.js +1 -1
  606. package/dist/components/mds-icon.js +1 -1
  607. package/dist/components/mds-img.js +1 -1
  608. package/dist/components/mds-input-date-range-preselection.js +1 -1
  609. package/dist/components/mds-input-date-range.js +1 -1
  610. package/dist/components/mds-input-date.js +1 -1
  611. package/dist/components/mds-input-field.js +1 -1
  612. package/dist/components/mds-input-otp.js +1 -1
  613. package/dist/components/mds-input-range.js +1 -1
  614. package/dist/components/mds-input-select.js +1 -1
  615. package/dist/components/mds-input-switch.js +1 -1
  616. package/dist/components/mds-input-tip-item.js +1 -1
  617. package/dist/components/mds-input-tip.js +1 -1
  618. package/dist/components/mds-input-upload.js +1 -1
  619. package/dist/components/mds-input.js +1 -1
  620. package/dist/components/mds-keyboard-key.js +1 -1
  621. package/dist/components/mds-keyboard.js +1 -1
  622. package/dist/components/mds-kpi-item.js +1 -1
  623. package/dist/components/mds-kpi.js +1 -1
  624. package/dist/components/mds-label.js +1 -1
  625. package/dist/components/mds-link.js +1 -1
  626. package/dist/components/mds-list-item.js +1 -1
  627. package/dist/components/mds-list.js +1 -1
  628. package/dist/components/mds-mention.js +1 -1
  629. package/dist/components/mds-modal.js +1 -1
  630. package/dist/components/mds-note.js +1 -1
  631. package/dist/components/mds-notification.js +1 -1
  632. package/dist/components/mds-paginator-item.js +1 -1
  633. package/dist/components/mds-paginator.js +1 -1
  634. package/dist/components/mds-policy-ai.js +1 -1
  635. package/dist/components/mds-pref-animation.js +1 -1
  636. package/dist/components/mds-pref-consumption.js +1 -1
  637. package/dist/components/mds-pref-contrast.js +1 -1
  638. package/dist/components/mds-pref-language-item.js +1 -1
  639. package/dist/components/mds-pref-language.js +1 -1
  640. package/dist/components/mds-pref-mode.js +1 -1
  641. package/dist/components/mds-pref-theme-item.js +1 -1
  642. package/dist/components/mds-pref-theme.js +1 -1
  643. package/dist/components/mds-pref.js +1 -1
  644. package/dist/components/mds-price-table-features-cell.js +1 -1
  645. package/dist/components/mds-price-table-features-row.js +1 -1
  646. package/dist/components/mds-price-table-features.js +1 -1
  647. package/dist/components/mds-price-table-header.js +1 -1
  648. package/dist/components/mds-price-table-list-item.js +1 -1
  649. package/dist/components/mds-price-table-list.js +1 -1
  650. package/dist/components/mds-price-table.js +1 -1
  651. package/dist/components/mds-progress.js +1 -1
  652. package/dist/components/mds-push-notification-item.js +1 -1
  653. package/dist/components/mds-push-notification.js +1 -1
  654. package/dist/components/mds-quote.js +1 -1
  655. package/dist/components/mds-radial-menu-item.js +1 -1
  656. package/dist/components/mds-radial-menu.js +1 -1
  657. package/dist/components/mds-radial-progress.js +1 -1
  658. package/dist/components/mds-separator.js +1 -1
  659. package/dist/components/mds-spinner.js +1 -1
  660. package/dist/components/mds-status-bar.js +1 -1
  661. package/dist/components/mds-stepper-bar-item.js +1 -1
  662. package/dist/components/mds-stepper-bar.js +1 -1
  663. package/dist/components/mds-tab-bar-item.js +1 -1
  664. package/dist/components/mds-tab-bar.js +1 -1
  665. package/dist/components/mds-tab-item.js +1 -1
  666. package/dist/components/mds-tab.js +1 -1
  667. package/dist/components/mds-table-body.js +1 -1
  668. package/dist/components/mds-table-cell.js +1 -1
  669. package/dist/components/mds-table-footer.js +1 -1
  670. package/dist/components/mds-table-header-cell.js +1 -1
  671. package/dist/components/mds-table-header.js +1 -1
  672. package/dist/components/mds-table-row.js +1 -1
  673. package/dist/components/mds-table.js +1 -1
  674. package/dist/components/mds-text.js +1 -1
  675. package/dist/components/mds-toast-region.js +1 -1
  676. package/dist/components/mds-toast.js +1 -1
  677. package/dist/components/mds-tooltip.js +1 -1
  678. package/dist/components/mds-tree-item.js +1 -1
  679. package/dist/components/mds-tree.js +1 -1
  680. package/dist/components/mds-url-view.js +1 -1
  681. package/dist/components/mds-usage.js +1 -1
  682. package/dist/components/mds-video-wall.js +1 -1
  683. package/dist/components/mds-zero.js +1 -1
  684. package/dist/components/p-3rr6yzu-.js +1 -0
  685. package/dist/components/{p-DvDB_L_5.js → p-BBZyH3mn.js} +1 -1
  686. package/dist/components/{p-C7rDjrH4.js → p-BBrPpCNK.js} +1 -1
  687. package/dist/components/p-BE05D6Pe.js +1 -0
  688. package/dist/components/{p-ikNX7XDH.js → p-BI1ShBQG.js} +1 -1
  689. package/dist/components/p-BQSO-HFx.js +1 -0
  690. package/dist/components/{p-CVRN4LDc.js → p-Bbrei_yQ.js} +1 -1
  691. package/dist/components/{p-DhpcFZrc.js → p-BpND63Kl.js} +1 -1
  692. package/dist/components/{p-DqdlT4UG.js → p-BuhoBOYR.js} +1 -1
  693. package/dist/components/p-Bw-eI2ca.js +1 -0
  694. package/dist/components/{p-DTtmr_Y9.js → p-BwwiliWt.js} +1 -1
  695. package/dist/components/{p-COkn4Vtq.js → p-C6LU1s8K.js} +1 -1
  696. package/dist/components/{p-Br6-kva-.js → p-CWOW2Vna.js} +1 -1
  697. package/dist/components/{p-B6AFku7a.js → p-CZX6N7ce.js} +1 -1
  698. package/dist/components/{p-BFDRt7-n.js → p-CZwKeFQT.js} +1 -1
  699. package/dist/components/{p-CKnbQQUb.js → p-ClvoVgmw.js} +1 -1
  700. package/dist/{magma-components/p-CLhuNxYQ.js → components/p-CpuUmvdl.js} +1 -1
  701. package/dist/components/{p-C_Pc94vn.js → p-CrOv4KdL.js} +1 -1
  702. package/dist/components/{p-CZjwSwe5.js → p-CvbuCEYD.js} +2 -2
  703. package/dist/components/{p-D8CloC8I.js → p-DN1yF-xO.js} +1 -1
  704. package/dist/components/{p-4LbHmDXv.js → p-DUgCzZw9.js} +1 -1
  705. package/dist/components/{p-DJd8f8dz.js → p-DWOg4-dH.js} +1 -1
  706. package/dist/components/{p-FsctOap9.js → p-DZ4_zLTp.js} +1 -1
  707. package/dist/components/{p-gLo3t_qO.js → p-Do7IoDLD.js} +2 -2
  708. package/dist/components/{p-BiW6luA5.js → p-DrtIqOQn.js} +1 -1
  709. package/dist/components/p-DwKxtKwS.js +1 -0
  710. package/dist/components/{p-DOdUioZq.js → p-F0qhFsF0.js} +1 -1
  711. package/dist/components/p-J48g0t65.js +1 -0
  712. package/dist/components/{p-BaynxVRZ.js → p-NNPsVjnj.js} +1 -1
  713. package/dist/components/{p-CP5Qw9_T.js → p-UfaGafRS.js} +1 -1
  714. package/dist/components/{p-DdzJfsw7.js → p-Vgo7t88R.js} +1 -1
  715. package/dist/components/{p-D_RIY063.js → p-j5Hnbfv9.js} +1 -1
  716. package/dist/components/{p-DW6ie49j.js → p-k_Ly95Tj.js} +1 -1
  717. package/dist/components/{p-DlglisEn.js → p-lXKBo6V3.js} +1 -1
  718. package/dist/components/{p-DGhzWuCS.js → p-oFHbHRLX.js} +1 -1
  719. package/dist/documentation.json +263 -77
  720. package/dist/esm/{aria-Cvhn9asj.js → aria-DwKxtKwS.js} +12 -1
  721. package/dist/esm/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  722. package/dist/esm/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  723. package/dist/esm/loader.js +1 -1
  724. package/dist/esm/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +1 -1
  725. package/dist/esm/magma-components.js +1 -1
  726. package/dist/esm/mds-accordion-item.entry.js +1 -1
  727. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  728. package/dist/esm/mds-accordion.entry.js +1 -1
  729. package/dist/esm/mds-avatar.entry.js +1 -1
  730. package/dist/esm/mds-badge.entry.js +2 -2
  731. package/dist/esm/mds-banner_3.entry.js +5 -5
  732. package/dist/esm/mds-book.entry.js +2 -2
  733. package/dist/esm/mds-breadcrumb.entry.js +2 -2
  734. package/dist/esm/mds-button-dropdown.entry.js +6 -4
  735. package/dist/esm/mds-button-group.entry.js +1 -1
  736. package/dist/esm/mds-button_3.entry.js +78 -16
  737. package/dist/esm/mds-calendar_2.entry.js +8 -8
  738. package/dist/esm/mds-card-content.entry.js +1 -1
  739. package/dist/esm/mds-card-footer.entry.js +1 -1
  740. package/dist/esm/mds-card-header.entry.js +1 -1
  741. package/dist/esm/mds-card-media.entry.js +1 -1
  742. package/dist/esm/mds-card.entry.js +2 -2
  743. package/dist/esm/mds-details.entry.js +2 -2
  744. package/dist/esm/mds-dropdown.entry.js +6 -6
  745. package/dist/esm/mds-emoji.entry.js +2 -2
  746. package/dist/esm/mds-entity.entry.js +2 -2
  747. package/dist/esm/mds-file-preview.entry.js +5 -5
  748. package/dist/esm/mds-file.entry.js +5 -5
  749. package/dist/esm/mds-filter-item.entry.js +5 -5
  750. package/dist/esm/mds-filter.entry.js +4 -4
  751. package/dist/esm/mds-header-bar.entry.js +3 -3
  752. package/dist/esm/mds-header.entry.js +3 -3
  753. package/dist/esm/mds-horizontal-scroll.entry.js +3 -3
  754. package/dist/esm/mds-hr.entry.js +2 -2
  755. package/dist/esm/mds-img.entry.js +2 -2
  756. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  757. package/dist/esm/mds-input-date-range.entry.js +4 -4
  758. package/dist/esm/mds-input-date.entry.js +6 -6
  759. package/dist/esm/mds-input-field.entry.js +1 -1
  760. package/dist/esm/mds-input-otp.entry.js +3 -3
  761. package/dist/esm/mds-input-range.entry.js +3 -3
  762. package/dist/esm/mds-input-select.entry.js +6 -6
  763. package/dist/esm/mds-input-switch_2.entry.js +6 -6
  764. package/dist/esm/mds-input-tip_2.entry.js +5 -5
  765. package/dist/esm/mds-input-upload.entry.js +7 -7
  766. package/dist/esm/mds-input.entry.js +8 -8
  767. package/dist/esm/mds-keyboard-key.entry.js +3 -3
  768. package/dist/esm/mds-keyboard.entry.js +4 -4
  769. package/dist/esm/mds-kpi-item.entry.js +3 -3
  770. package/dist/esm/mds-kpi.entry.js +1 -1
  771. package/dist/esm/mds-label.entry.js +3 -3
  772. package/dist/esm/mds-link.entry.js +5 -5
  773. package/dist/esm/mds-list-item.entry.js +1 -1
  774. package/dist/esm/mds-list.entry.js +1 -1
  775. package/dist/esm/mds-mention.entry.js +3 -3
  776. package/dist/esm/mds-modal.entry.js +34 -15
  777. package/dist/esm/mds-note.entry.js +4 -4
  778. package/dist/esm/mds-notification.entry.js +3 -3
  779. package/dist/esm/mds-paginator-item.entry.js +2 -2
  780. package/dist/esm/mds-paginator.entry.js +4 -4
  781. package/dist/esm/mds-policy-ai.entry.js +3 -3
  782. package/dist/esm/mds-pref-animation.entry.js +3 -3
  783. package/dist/esm/mds-pref-consumption.entry.js +3 -3
  784. package/dist/esm/mds-pref-contrast.entry.js +3 -3
  785. package/dist/esm/mds-pref-language-item.entry.js +3 -3
  786. package/dist/esm/mds-pref-language.entry.js +3 -3
  787. package/dist/esm/mds-pref-mode.entry.js +22 -13
  788. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  789. package/dist/esm/mds-pref-theme.entry.js +31 -8
  790. package/dist/esm/mds-pref.entry.js +3 -25
  791. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  792. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  793. package/dist/esm/mds-price-table-features.entry.js +2 -2
  794. package/dist/esm/mds-price-table-header.entry.js +1 -1
  795. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  796. package/dist/esm/mds-price-table-list.entry.js +3 -3
  797. package/dist/esm/mds-price-table.entry.js +1 -1
  798. package/dist/esm/mds-progress_2.entry.js +4 -4
  799. package/dist/esm/mds-push-notification-item.entry.js +4 -4
  800. package/dist/esm/mds-push-notification.entry.js +4 -4
  801. package/dist/esm/mds-quote.entry.js +2 -2
  802. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  803. package/dist/esm/mds-radial-menu.entry.js +5 -5
  804. package/dist/esm/mds-separator.entry.js +2 -2
  805. package/dist/esm/mds-status-bar.entry.js +3 -3
  806. package/dist/esm/mds-stepper-bar-item.entry.js +3 -3
  807. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  808. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  809. package/dist/esm/mds-tab-bar.entry.js +3 -3
  810. package/dist/esm/mds-tab_2.entry.js +6 -6
  811. package/dist/esm/mds-table-body.entry.js +2 -2
  812. package/dist/esm/mds-table-footer.entry.js +2 -2
  813. package/dist/esm/mds-table-header-cell.entry.js +2 -2
  814. package/dist/esm/mds-table-header.entry.js +3 -3
  815. package/dist/esm/mds-table-row.entry.js +4 -4
  816. package/dist/esm/mds-table.entry.js +4 -4
  817. package/dist/esm/mds-text.entry.js +2 -2
  818. package/dist/esm/mds-toast-region.entry.js +1 -1
  819. package/dist/esm/mds-toast.entry.js +3 -3
  820. package/dist/esm/mds-tooltip.entry.js +5 -5
  821. package/dist/esm/mds-tree-item.entry.js +3 -3
  822. package/dist/esm/mds-tree.entry.js +1 -1
  823. package/dist/esm/mds-url-view.entry.js +4 -4
  824. package/dist/esm/mds-usage.entry.js +4 -4
  825. package/dist/esm/mds-video-wall.entry.js +2 -2
  826. package/dist/esm/mds-zero.entry.js +3 -3
  827. package/dist/esm/{preference-C5XjgGCb.js → preference-C8foBO86.js} +19 -1
  828. package/dist/esm-es5/aria-DwKxtKwS.js +12 -0
  829. package/dist/esm-es5/{floating-controller-BVlbYYkf.js → floating-controller-xixU_s1w.js} +1 -1
  830. package/dist/esm-es5/{index-BJVvHlvf.js → index-DEL0bLpb.js} +1 -1
  831. package/dist/esm-es5/loader.js +1 -1
  832. package/dist/esm-es5/{locale-B6cOkl4I.js → locale-DhP1Ge2o.js} +18 -18
  833. package/dist/esm-es5/magma-components.js +1 -1
  834. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  835. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  836. package/dist/esm-es5/mds-accordion.entry.js +1 -1
  837. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  838. package/dist/esm-es5/mds-badge.entry.js +1 -1
  839. package/dist/esm-es5/mds-banner_3.entry.js +4 -4
  840. package/dist/esm-es5/mds-book.entry.js +1 -1
  841. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  842. package/dist/esm-es5/mds-button-dropdown.entry.js +6 -4
  843. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  844. package/dist/esm-es5/mds-button_3.entry.js +39 -17
  845. package/dist/esm-es5/mds-calendar_2.entry.js +4 -4
  846. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  847. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  848. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  849. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  850. package/dist/esm-es5/mds-card.entry.js +2 -2
  851. package/dist/esm-es5/mds-details.entry.js +2 -2
  852. package/dist/esm-es5/mds-dropdown.entry.js +13 -13
  853. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  854. package/dist/esm-es5/mds-entity.entry.js +1 -1
  855. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  856. package/dist/esm-es5/mds-file.entry.js +3 -3
  857. package/dist/esm-es5/mds-filter-item.entry.js +2 -2
  858. package/dist/esm-es5/mds-filter.entry.js +2 -2
  859. package/dist/esm-es5/mds-header-bar.entry.js +2 -2
  860. package/dist/esm-es5/mds-header.entry.js +2 -2
  861. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  862. package/dist/esm-es5/mds-hr.entry.js +1 -1
  863. package/dist/esm-es5/mds-img.entry.js +1 -1
  864. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +3 -3
  865. package/dist/esm-es5/mds-input-date-range.entry.js +1 -1
  866. package/dist/esm-es5/mds-input-date.entry.js +3 -3
  867. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  868. package/dist/esm-es5/mds-input-otp.entry.js +2 -2
  869. package/dist/esm-es5/mds-input-range.entry.js +2 -2
  870. package/dist/esm-es5/mds-input-select.entry.js +10 -10
  871. package/dist/esm-es5/mds-input-switch_2.entry.js +2 -2
  872. package/dist/esm-es5/mds-input-tip_2.entry.js +3 -3
  873. package/dist/esm-es5/mds-input-upload.entry.js +2 -2
  874. package/dist/esm-es5/mds-input.entry.js +3 -3
  875. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  876. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  877. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  878. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  879. package/dist/esm-es5/mds-label.entry.js +1 -1
  880. package/dist/esm-es5/mds-link.entry.js +2 -2
  881. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  882. package/dist/esm-es5/mds-list.entry.js +1 -1
  883. package/dist/esm-es5/mds-mention.entry.js +2 -2
  884. package/dist/esm-es5/mds-modal.entry.js +23 -11
  885. package/dist/esm-es5/mds-note.entry.js +2 -2
  886. package/dist/esm-es5/mds-notification.entry.js +2 -2
  887. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  888. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  889. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  890. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  891. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  892. package/dist/esm-es5/mds-pref-contrast.entry.js +3 -3
  893. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  894. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  895. package/dist/esm-es5/mds-pref-mode.entry.js +13 -3
  896. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  897. package/dist/esm-es5/mds-pref-theme.entry.js +19 -6
  898. package/dist/esm-es5/mds-pref.entry.js +4 -12
  899. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  900. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  901. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  902. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  903. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  904. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  905. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  906. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  907. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  908. package/dist/esm-es5/mds-push-notification.entry.js +6 -6
  909. package/dist/esm-es5/mds-quote.entry.js +2 -2
  910. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  911. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  912. package/dist/esm-es5/mds-separator.entry.js +1 -1
  913. package/dist/esm-es5/mds-status-bar.entry.js +3 -3
  914. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  915. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  916. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  917. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  918. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  919. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  920. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  921. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  922. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  923. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  924. package/dist/esm-es5/mds-table.entry.js +2 -2
  925. package/dist/esm-es5/mds-text.entry.js +2 -2
  926. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  927. package/dist/esm-es5/mds-toast.entry.js +2 -2
  928. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  929. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  930. package/dist/esm-es5/mds-tree.entry.js +1 -1
  931. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  932. package/dist/esm-es5/mds-usage.entry.js +3 -3
  933. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  934. package/dist/esm-es5/mds-zero.entry.js +1 -1
  935. package/dist/esm-es5/{preference-C5XjgGCb.js → preference-C8foBO86.js} +14 -4
  936. package/dist/hydrate/index.js +343 -216
  937. package/dist/hydrate/index.mjs +343 -216
  938. package/dist/lint/core/patterns.d.ts +26 -16
  939. package/dist/lint/core/patterns.js +55 -38
  940. package/dist/lint/mcp/tools.json +7 -7
  941. package/dist/magma-components/magma-components.esm.js +1 -1
  942. package/dist/magma-components/{p-0384db44.system.entry.js → p-00d2ef14.system.entry.js} +5 -5
  943. package/dist/magma-components/{p-ff65fc97.entry.js → p-02aed12a.entry.js} +1 -1
  944. package/dist/magma-components/{p-7c055074.entry.js → p-08f7a84b.entry.js} +1 -1
  945. package/dist/magma-components/{p-8239e526.system.entry.js → p-09a7c1de.system.entry.js} +1 -1
  946. package/dist/magma-components/{p-18244fd7.system.entry.js → p-0da5c696.system.entry.js} +3 -3
  947. package/dist/magma-components/{p-5575f198.entry.js → p-0df067b4.entry.js} +1 -1
  948. package/dist/magma-components/{p-b6412ddd.system.entry.js → p-0e1d239b.system.entry.js} +1 -1
  949. package/dist/magma-components/{p-ac161cb5.entry.js → p-0f4c2de6.entry.js} +1 -1
  950. package/dist/magma-components/{p-0c8f22dc.system.entry.js → p-11456781.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-a2e3a545.entry.js → p-14de26d5.entry.js} +1 -1
  952. package/dist/magma-components/p-163eccbd.entry.js +1 -0
  953. package/dist/magma-components/{p-844bce77.entry.js → p-167ba07a.entry.js} +1 -1
  954. package/dist/magma-components/{p-f4fc9f29.system.entry.js → p-16bbff4e.system.entry.js} +1 -1
  955. package/dist/magma-components/{p-e059aaa9.entry.js → p-17249b74.entry.js} +1 -1
  956. package/dist/magma-components/{p-95ddc950.system.entry.js → p-188a55ac.system.entry.js} +3 -3
  957. package/dist/magma-components/{p-c9bd81c5.system.entry.js → p-1a53d9d0.system.entry.js} +7 -7
  958. package/dist/magma-components/{p-27254fbd.entry.js → p-1cc379d6.entry.js} +1 -1
  959. package/dist/magma-components/{p-ae9735e4.system.entry.js → p-1dc0d59c.system.entry.js} +2 -2
  960. package/dist/magma-components/{p-384d93dc.system.entry.js → p-1e24aafa.system.entry.js} +1 -1
  961. package/dist/magma-components/p-223efc32.entry.js +1 -0
  962. package/dist/magma-components/{p-1467ded5.system.entry.js → p-2454e4cd.system.entry.js} +2 -2
  963. package/dist/magma-components/{p-18b27217.entry.js → p-24a69c45.entry.js} +1 -1
  964. package/dist/magma-components/{p-fae9612b.system.entry.js → p-24fb2c5c.system.entry.js} +2 -2
  965. package/dist/magma-components/{p-ef1bdd44.entry.js → p-259d9380.entry.js} +1 -1
  966. package/dist/magma-components/{p-4fc0e294.entry.js → p-26b08e33.entry.js} +1 -1
  967. package/dist/magma-components/{p-c35ea44d.system.entry.js → p-27a32865.system.entry.js} +2 -2
  968. package/dist/magma-components/{p-299dab17.entry.js → p-2940499f.entry.js} +1 -1
  969. package/dist/magma-components/{p-6129954d.system.entry.js → p-2a5167e3.system.entry.js} +1 -1
  970. package/dist/magma-components/{p-ad13ade5.system.entry.js → p-2e825656.system.entry.js} +3 -3
  971. package/dist/magma-components/{p-308a4ae5.system.entry.js → p-2f4a7253.system.entry.js} +1 -1
  972. package/dist/magma-components/{p-29dd6d94.entry.js → p-2ffa4d4a.entry.js} +1 -1
  973. package/dist/magma-components/{p-d360e4c5.entry.js → p-32b3ad6f.entry.js} +1 -1
  974. package/dist/magma-components/{p-5686da49.system.entry.js → p-33129e0c.system.entry.js} +3 -3
  975. package/dist/magma-components/{p-9c2b67fc.system.entry.js → p-372fa5d4.system.entry.js} +3 -3
  976. package/dist/magma-components/p-380adee8.system.entry.js +5 -0
  977. package/dist/magma-components/{p-b0749f83.system.entry.js → p-390d0672.system.entry.js} +3 -3
  978. package/dist/magma-components/p-397c0686.entry.js +1 -0
  979. package/dist/magma-components/{p-e0049e96.system.entry.js → p-3a836de8.system.entry.js} +1 -1
  980. package/dist/magma-components/{p-fff26731.system.entry.js → p-3ba14295.system.entry.js} +2 -2
  981. package/dist/magma-components/{p-741f8f45.system.entry.js → p-3bf4f012.system.entry.js} +2 -2
  982. package/dist/magma-components/{p-5d56a7cd.system.entry.js → p-3c911608.system.entry.js} +3 -3
  983. package/dist/magma-components/{p-aac622ef.system.entry.js → p-3cf8ed46.system.entry.js} +1 -1
  984. package/dist/magma-components/{p-61e11cd0.system.entry.js → p-3ddae677.system.entry.js} +3 -3
  985. package/dist/magma-components/{p-2d2cdf0d.entry.js → p-3de37b32.entry.js} +1 -1
  986. package/dist/magma-components/{p-90d50492.system.entry.js → p-3f17a06f.system.entry.js} +2 -2
  987. package/dist/magma-components/{p-4f0153cd.entry.js → p-40c59c18.entry.js} +1 -1
  988. package/dist/magma-components/p-411fca2f.system.entry.js +14 -0
  989. package/dist/magma-components/{p-7f418ae1.entry.js → p-43c307f5.entry.js} +1 -1
  990. package/dist/magma-components/{p-14122f2d.entry.js → p-440d7942.entry.js} +1 -1
  991. package/dist/magma-components/{p-6a994dc1.entry.js → p-4541c233.entry.js} +1 -1
  992. package/dist/magma-components/{p-c915fba5.system.entry.js → p-45c26a24.system.entry.js} +1 -1
  993. package/dist/magma-components/{p-948ecde4.entry.js → p-4612bc78.entry.js} +2 -2
  994. package/dist/magma-components/{p-be2ca282.entry.js → p-4718a71d.entry.js} +1 -1
  995. package/dist/magma-components/{p-8a8cad6c.system.entry.js → p-48a1871f.system.entry.js} +1 -1
  996. package/dist/magma-components/{p-7ee31f2e.entry.js → p-4a1f7eb5.entry.js} +1 -1
  997. package/dist/magma-components/{p-adab176e.system.entry.js → p-4a2ed30e.system.entry.js} +2 -2
  998. package/dist/magma-components/{p-efe27253.system.entry.js → p-4a9ed4f7.system.entry.js} +1 -1
  999. package/dist/magma-components/{p-2d199db0.system.entry.js → p-4c3b3913.system.entry.js} +2 -2
  1000. package/dist/magma-components/p-4c955367.entry.js +1 -0
  1001. package/dist/magma-components/p-4ebb0a9e.entry.js +1 -0
  1002. package/dist/magma-components/{p-02b106c2.entry.js → p-4f80bf37.entry.js} +1 -1
  1003. package/dist/magma-components/{p-a65ce11a.system.entry.js → p-527569a3.system.entry.js} +2 -2
  1004. package/dist/magma-components/{p-0d42ac4a.entry.js → p-52cc5a93.entry.js} +1 -1
  1005. package/dist/magma-components/{p-3139988c.system.entry.js → p-54abba52.system.entry.js} +1 -1
  1006. package/dist/magma-components/{p-4fd0fdb8.system.entry.js → p-555ba0e0.system.entry.js} +2 -2
  1007. package/dist/magma-components/{p-5c8f408e.entry.js → p-56cf1cab.entry.js} +1 -1
  1008. package/dist/magma-components/{p-bba4f1f0.system.entry.js → p-5794053b.system.entry.js} +10 -10
  1009. package/dist/magma-components/{p-57ee6e32.entry.js → p-5a754d7b.entry.js} +1 -1
  1010. package/dist/magma-components/{p-f09f3fe1.system.entry.js → p-5c6fdabd.system.entry.js} +3 -3
  1011. package/dist/magma-components/{p-c683cd13.entry.js → p-5ca6063a.entry.js} +1 -1
  1012. package/dist/magma-components/{p-ac099ed6.entry.js → p-5cb581df.entry.js} +1 -1
  1013. package/dist/magma-components/{p-445198a1.entry.js → p-5d825728.entry.js} +1 -1
  1014. package/dist/magma-components/{p-60b21db7.entry.js → p-5dfca9f0.entry.js} +1 -1
  1015. package/dist/magma-components/{p-f181c679.system.entry.js → p-5f20592f.system.entry.js} +1 -1
  1016. package/dist/magma-components/p-5f38e95b.entry.js +1 -0
  1017. package/dist/magma-components/p-5f4bec31.entry.js +1 -0
  1018. package/dist/magma-components/p-627f5956.entry.js +1 -0
  1019. package/dist/magma-components/{p-a9caed77.entry.js → p-6336d979.entry.js} +1 -1
  1020. package/dist/magma-components/{p-7837856f.entry.js → p-6352c2ea.entry.js} +1 -1
  1021. package/dist/magma-components/{p-10d52280.entry.js → p-64884d84.entry.js} +1 -1
  1022. package/dist/magma-components/{p-98e167e8.system.entry.js → p-64f86e46.system.entry.js} +2 -2
  1023. package/dist/magma-components/{p-9a0f8eb1.entry.js → p-65ea6fc9.entry.js} +1 -1
  1024. package/dist/magma-components/{p-cf42d6ea.system.entry.js → p-66f7f9b1.system.entry.js} +3 -3
  1025. package/dist/magma-components/{p-13cfc01a.entry.js → p-68b0d45a.entry.js} +1 -1
  1026. package/dist/magma-components/{p-b61546fd.entry.js → p-6a4d44e2.entry.js} +1 -1
  1027. package/dist/magma-components/p-6a90caf5.system.entry.js +1 -0
  1028. package/dist/magma-components/{p-dfab370b.entry.js → p-6c4f2de0.entry.js} +1 -1
  1029. package/dist/magma-components/{p-12be0f43.system.entry.js → p-6f90c2c9.system.entry.js} +2 -2
  1030. package/dist/magma-components/p-70faf379.entry.js +1 -0
  1031. package/dist/magma-components/{p-e7f717ab.entry.js → p-71d03e56.entry.js} +1 -1
  1032. package/dist/magma-components/{p-b30b487c.system.entry.js → p-720e9291.system.entry.js} +3 -3
  1033. package/dist/magma-components/{p-bc054ffa.system.entry.js → p-724b7fff.system.entry.js} +2 -2
  1034. package/dist/magma-components/{p-6896786e.entry.js → p-73dc7c66.entry.js} +1 -1
  1035. package/dist/magma-components/{p-34421ef2.system.entry.js → p-7476cf76.system.entry.js} +3 -3
  1036. package/dist/magma-components/{p-0fc41e34.system.entry.js → p-7701a318.system.entry.js} +1 -1
  1037. package/dist/magma-components/{p-85bf9c93.entry.js → p-77707706.entry.js} +1 -1
  1038. package/dist/magma-components/{p-c9553777.entry.js → p-78d00f88.entry.js} +1 -1
  1039. package/dist/magma-components/{p-4f48c171.system.entry.js → p-79085c46.system.entry.js} +1 -1
  1040. package/dist/magma-components/{p-ccffdf0b.system.entry.js → p-793072e1.system.entry.js} +23 -11
  1041. package/dist/magma-components/{p-b2763352.entry.js → p-79392a0a.entry.js} +1 -1
  1042. package/dist/magma-components/{p-7ff5552f.entry.js → p-7a33ab3c.entry.js} +1 -1
  1043. package/dist/magma-components/{p-625de2e6.system.entry.js → p-7a4e8bc0.system.entry.js} +4 -4
  1044. package/dist/magma-components/p-7a73fd19.system.entry.js +127 -0
  1045. package/dist/magma-components/p-7b552dbe.entry.js +1 -0
  1046. package/dist/magma-components/{p-84aac233.entry.js → p-7c13ccb0.entry.js} +1 -1
  1047. package/dist/magma-components/{p-d81fcbde.system.entry.js → p-7e0a8194.system.entry.js} +5 -5
  1048. package/dist/magma-components/{p-45b19935.system.entry.js → p-7fbdf896.system.entry.js} +3 -3
  1049. package/dist/magma-components/{p-35c170ba.system.entry.js → p-804f4794.system.entry.js} +2 -2
  1050. package/dist/magma-components/{p-6c73689a.system.entry.js → p-840c19ee.system.entry.js} +4 -4
  1051. package/dist/magma-components/p-848d1b42.system.entry.js +30 -0
  1052. package/dist/magma-components/{p-81212e34.entry.js → p-86494ea9.entry.js} +1 -1
  1053. package/dist/magma-components/p-8915347f.entry.js +1 -0
  1054. package/dist/magma-components/{p-f493fdc3.entry.js → p-8c20ac0c.entry.js} +1 -1
  1055. package/dist/magma-components/{p-f22b8091.entry.js → p-90c60c48.entry.js} +1 -1
  1056. package/dist/magma-components/{p-60d6e60f.entry.js → p-90e20ad3.entry.js} +1 -1
  1057. package/dist/magma-components/{p-797c64f4.system.entry.js → p-9228db0b.system.entry.js} +13 -3
  1058. package/dist/magma-components/p-94548d43.entry.js +1 -0
  1059. package/dist/magma-components/{p-9c784173.entry.js → p-95020326.entry.js} +1 -1
  1060. package/dist/magma-components/{p-8feba226.entry.js → p-970f45df.entry.js} +1 -1
  1061. package/dist/magma-components/{p-9303fb16.system.entry.js → p-97a501cd.system.entry.js} +2 -2
  1062. package/dist/magma-components/{p-9e07535e.system.entry.js → p-98cc6473.system.entry.js} +26 -13
  1063. package/dist/magma-components/p-99d2ace2.system.entry.js +5 -0
  1064. package/dist/magma-components/{p-627c2780.entry.js → p-9aba3769.entry.js} +1 -1
  1065. package/dist/magma-components/{p-6d009b42.system.entry.js → p-9b0b65f0.system.entry.js} +2 -2
  1066. package/dist/magma-components/{p-f40e3918.system.entry.js → p-9b0d7f7d.system.entry.js} +2 -2
  1067. package/dist/magma-components/{p-5d1cba9c.system.entry.js → p-9b8d15a8.system.entry.js} +1 -1
  1068. package/dist/magma-components/{p-5931fdfc.system.entry.js → p-9e94f4a3.system.entry.js} +4 -4
  1069. package/dist/magma-components/{p-3b578659.system.entry.js → p-9f0100f2.system.entry.js} +2 -2
  1070. package/dist/magma-components/p-B8zYiZQY.system.js +1 -1
  1071. package/dist/magma-components/{p-CuHZXISO.system.js → p-BHdlb7Fr.system.js} +19 -19
  1072. package/dist/magma-components/p-BXVzhErg.system.js +12 -0
  1073. package/dist/magma-components/{p-OafT80hV.js → p-CATyfc78.js} +2 -2
  1074. package/dist/magma-components/{p-CZuIEo2v.system.js → p-Cbabyppz.system.js} +1 -1
  1075. package/dist/magma-components/{p-Dx_cCOTw.js → p-CxzVgcYv.js} +1 -1
  1076. package/dist/magma-components/{p-CxTugGM9.system.js → p-D3J9KZKy.system.js} +1 -1
  1077. package/dist/magma-components/{p-mGgjNqBm.system.js → p-DOisMne4.system.js} +17 -7
  1078. package/dist/magma-components/p-DwKxtKwS.js +1 -0
  1079. package/dist/{components/p-jasGzfhE.js → magma-components/p-Dx7iOdVP.js} +1 -1
  1080. package/dist/magma-components/{p-iX3kcwYg.js → p-DxR4rGsw.js} +1 -1
  1081. package/dist/magma-components/{p-ecc2893d.system.entry.js → p-a112a0e2.system.entry.js} +1 -1
  1082. package/dist/magma-components/{p-86f11a5a.entry.js → p-a2767235.entry.js} +1 -1
  1083. package/dist/magma-components/{p-c0286dc3.system.entry.js → p-a2c3b294.system.entry.js} +6 -6
  1084. package/dist/magma-components/{p-4669334a.system.entry.js → p-a2d4d849.system.entry.js} +2 -2
  1085. package/dist/magma-components/{p-cfbf3a76.system.entry.js → p-a48c73b1.system.entry.js} +2 -2
  1086. package/dist/magma-components/{p-4e8c5b68.entry.js → p-a4f53c83.entry.js} +1 -1
  1087. package/dist/magma-components/{p-e92327a2.entry.js → p-a58e8a5c.entry.js} +1 -1
  1088. package/dist/magma-components/{p-1a20f239.system.entry.js → p-a5ca10ae.system.entry.js} +1 -1
  1089. package/dist/magma-components/{p-46a928c3.entry.js → p-a9a872e1.entry.js} +1 -1
  1090. package/dist/magma-components/{p-0a0dfdf4.system.entry.js → p-a9ab9eb0.system.entry.js} +2 -2
  1091. package/dist/magma-components/{p-72971cf7.system.entry.js → p-ab1c3fb0.system.entry.js} +1 -1
  1092. package/dist/magma-components/{p-074d7b75.entry.js → p-ab445c2b.entry.js} +1 -1
  1093. package/dist/magma-components/{p-45a3e7eb.entry.js → p-abe32d5b.entry.js} +1 -1
  1094. package/dist/magma-components/{p-2e68180d.system.entry.js → p-af56e3e4.system.entry.js} +2 -2
  1095. package/dist/magma-components/{p-ed4fd7a4.entry.js → p-b1238d48.entry.js} +1 -1
  1096. package/dist/magma-components/{p-4748378e.system.entry.js → p-b129b127.system.entry.js} +14 -14
  1097. package/dist/magma-components/{p-e79eb427.system.entry.js → p-b1cd3acf.system.entry.js} +2 -2
  1098. package/dist/magma-components/{p-5aa8f150.entry.js → p-b705b805.entry.js} +1 -1
  1099. package/dist/magma-components/{p-2111aa67.system.entry.js → p-b7d18d7a.system.entry.js} +1 -1
  1100. package/dist/magma-components/{p-3be9b384.system.entry.js → p-b871ad36.system.entry.js} +10 -10
  1101. package/dist/magma-components/{p-f7426a75.entry.js → p-ba871d9c.entry.js} +1 -1
  1102. package/dist/magma-components/{p-5a8fa2d0.entry.js → p-ba95bf93.entry.js} +1 -1
  1103. package/dist/magma-components/{p-3af8a86a.system.entry.js → p-bc054fa3.system.entry.js} +3 -3
  1104. package/dist/magma-components/{p-05455645.system.entry.js → p-bcc6c358.system.entry.js} +2 -2
  1105. package/dist/magma-components/{p-7c3a7521.entry.js → p-bd489df9.entry.js} +1 -1
  1106. package/dist/magma-components/{p-60acbc5f.system.entry.js → p-c0295a0e.system.entry.js} +2 -2
  1107. package/dist/magma-components/p-c06d8b5a.entry.js +1 -0
  1108. package/dist/magma-components/p-c131d726.entry.js +1 -0
  1109. package/dist/magma-components/{p-198ea5d8.entry.js → p-c49676e6.entry.js} +1 -1
  1110. package/dist/magma-components/{p-2a445b98.system.entry.js → p-c4c1ef48.system.entry.js} +78 -78
  1111. package/dist/magma-components/{p-87831da2.system.entry.js → p-c54f2089.system.entry.js} +1 -1
  1112. package/dist/magma-components/{p-8b8cd213.system.entry.js → p-c691f27e.system.entry.js} +3 -3
  1113. package/dist/magma-components/p-c8414ee6.entry.js +1 -0
  1114. package/dist/magma-components/{p-9ef64212.entry.js → p-c8c918d2.entry.js} +3 -3
  1115. package/dist/magma-components/{p-85376ff5.entry.js → p-c91cb63a.entry.js} +1 -1
  1116. package/dist/magma-components/{p-9f55fa7a.system.entry.js → p-c94e7973.system.entry.js} +2 -2
  1117. package/dist/magma-components/{p-387fa36d.system.entry.js → p-c9baa3fb.system.entry.js} +1 -1
  1118. package/dist/magma-components/{p-b781c932.system.entry.js → p-ca4e8601.system.entry.js} +1 -1
  1119. package/dist/magma-components/{p-445bc62a.system.entry.js → p-ca5427d4.system.entry.js} +1 -1
  1120. package/dist/magma-components/{p-4646cdc0.system.entry.js → p-caca78ff.system.entry.js} +2 -2
  1121. package/dist/magma-components/{p-d85f3e5e.system.entry.js → p-caf478ff.system.entry.js} +2 -2
  1122. package/dist/magma-components/{p-b8f4938a.entry.js → p-cb06839f.entry.js} +1 -1
  1123. package/dist/magma-components/{p-d29c959d.entry.js → p-ce42734f.entry.js} +1 -1
  1124. package/dist/magma-components/{p-8aa4cd10.entry.js → p-d1e4a032.entry.js} +1 -1
  1125. package/dist/magma-components/{p-cd6dd836.entry.js → p-d25a47fa.entry.js} +1 -1
  1126. package/dist/magma-components/{p-0d3da482.system.entry.js → p-d29b32b4.system.entry.js} +1 -1
  1127. package/dist/magma-components/{p-1f746ad1.system.entry.js → p-d2ba5851.system.entry.js} +9 -9
  1128. package/dist/magma-components/{p-d50d4023.entry.js → p-d365c6b6.entry.js} +1 -1
  1129. package/dist/magma-components/{p-7a920b70.entry.js → p-d3b06151.entry.js} +1 -1
  1130. package/dist/magma-components/{p-4cd21f19.entry.js → p-d45f65e0.entry.js} +1 -1
  1131. package/dist/magma-components/{p-fdedc0ba.entry.js → p-d51ec950.entry.js} +1 -1
  1132. package/dist/magma-components/{p-4606d11f.entry.js → p-d760c1fa.entry.js} +1 -1
  1133. package/dist/magma-components/p-d785d7ee.entry.js +1 -0
  1134. package/dist/magma-components/{p-08da465d.entry.js → p-d9092133.entry.js} +1 -1
  1135. package/dist/magma-components/{p-03fb86a6.system.entry.js → p-dd348171.system.entry.js} +2 -2
  1136. package/dist/magma-components/{p-dcb5f965.entry.js → p-de423b11.entry.js} +1 -1
  1137. package/dist/magma-components/{p-97217527.system.entry.js → p-df78b7ac.system.entry.js} +1 -1
  1138. package/dist/magma-components/{p-fba648e0.entry.js → p-e39b5e12.entry.js} +1 -1
  1139. package/dist/magma-components/{p-99bfa07e.system.entry.js → p-eac943e5.system.entry.js} +1 -1
  1140. package/dist/magma-components/{p-9ef0d4e5.system.entry.js → p-eb220deb.system.entry.js} +2 -2
  1141. package/dist/magma-components/{p-fd81c4ef.system.entry.js → p-eca42fe8.system.entry.js} +2 -2
  1142. package/dist/magma-components/{p-56a25ec6.entry.js → p-ecda3e45.entry.js} +1 -1
  1143. package/dist/magma-components/{p-b523fabe.system.entry.js → p-f0909679.system.entry.js} +2 -2
  1144. package/dist/magma-components/{p-8bf8e032.entry.js → p-f2649031.entry.js} +1 -1
  1145. package/dist/magma-components/{p-30f95d10.entry.js → p-f51ed098.entry.js} +1 -1
  1146. package/dist/magma-components/{p-11210b60.system.entry.js → p-f5bd5b64.system.entry.js} +3 -3
  1147. package/dist/magma-components/p-f6358241.system.entry.js +19 -0
  1148. package/dist/magma-components/{p-b0850daa.entry.js → p-f9f3ad86.entry.js} +1 -1
  1149. package/dist/magma-components/{p-a3d09996.entry.js → p-fb4b648a.entry.js} +1 -1
  1150. package/dist/magma-components/{p-81d2582a.entry.js → p-fd4588c5.entry.js} +1 -1
  1151. package/dist/magma-components/{p-3b494de7.entry.js → p-fdd17ee6.entry.js} +1 -1
  1152. package/dist/magma-components/p-fe51c0cb.system.entry.js +10 -0
  1153. package/dist/magma-components/{p-a3156523.system.entry.js → p-ff6cf4f8.system.entry.js} +3 -3
  1154. package/dist/magma-components/{p-4da1c089.entry.js → p-ff76c614.entry.js} +1 -1
  1155. package/dist/{lint/mcp → mcp}/checks.js +4 -4
  1156. package/dist/{lint/mcp → mcp}/components.js +4 -6
  1157. package/dist/{lint/mcp → mcp}/guides.js +11 -9
  1158. package/dist/{lint/mcp → mcp}/icons.js +21 -0
  1159. package/dist/mcp/package.json +3 -0
  1160. package/dist/{lint/mcp → mcp}/patterns.js +8 -9
  1161. package/dist/{lint/mcp → mcp}/protocol.js +1 -1
  1162. package/dist/{lint/mcp → mcp}/render.js +61 -33
  1163. package/dist/{lint/mcp → mcp}/server.js +4 -4
  1164. package/dist/{lint/mcp → mcp}/tokens.js +1 -2
  1165. package/dist/mcp/tools.json +1374 -0
  1166. package/dist/stats.json +2304 -2021
  1167. package/dist/types/common/aria.d.ts +8 -1
  1168. package/dist/types/common/preference.d.ts +13 -1
  1169. package/dist/types/components/mds-button/mds-button.d.ts +50 -4
  1170. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +22 -2
  1171. package/dist/types/components/mds-modal/mds-modal.d.ts +8 -1
  1172. package/dist/types/components/mds-pref/mds-pref.d.ts +0 -9
  1173. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +16 -5
  1174. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +14 -1
  1175. package/dist/types/components.d.ts +67 -13
  1176. package/dist/types/type/button.d.ts +2 -0
  1177. package/package.json +12 -11
  1178. package/dist/components/p-BwT0RJip.js +0 -1
  1179. package/dist/components/p-COUgBzJ4.js +0 -1
  1180. package/dist/components/p-Cvhn9asj.js +0 -1
  1181. package/dist/components/p-G7Udw5H5.js +0 -1
  1182. package/dist/components/p-Ic8cYsgt.js +0 -1
  1183. package/dist/components/p-l0KS6hTQ.js +0 -1
  1184. package/dist/esm-es5/aria-Cvhn9asj.js +0 -6
  1185. package/dist/lint/mcp/checks.d.ts +0 -29
  1186. package/dist/lint/mcp/cli.d.ts +0 -2
  1187. package/dist/lint/mcp/color.d.ts +0 -12
  1188. package/dist/lint/mcp/components.d.ts +0 -5
  1189. package/dist/lint/mcp/context.d.ts +0 -45
  1190. package/dist/lint/mcp/guides.d.ts +0 -3
  1191. package/dist/lint/mcp/icons.d.ts +0 -9
  1192. package/dist/lint/mcp/patterns.d.ts +0 -75
  1193. package/dist/lint/mcp/protocol.d.ts +0 -77
  1194. package/dist/lint/mcp/render-page.d.ts +0 -40
  1195. package/dist/lint/mcp/render.d.ts +0 -130
  1196. package/dist/lint/mcp/server.d.ts +0 -39
  1197. package/dist/lint/mcp/tokens.d.ts +0 -37
  1198. package/dist/magma-components/p-06691ab3.system.entry.js +0 -27
  1199. package/dist/magma-components/p-1d8485de.system.entry.js +0 -28
  1200. package/dist/magma-components/p-21345ecc.entry.js +0 -1
  1201. package/dist/magma-components/p-25dcbf22.entry.js +0 -1
  1202. package/dist/magma-components/p-37881115.system.entry.js +0 -14
  1203. package/dist/magma-components/p-4e5b8618.system.entry.js +0 -1
  1204. package/dist/magma-components/p-69319301.system.entry.js +0 -10
  1205. package/dist/magma-components/p-7b06b2f2.entry.js +0 -1
  1206. package/dist/magma-components/p-7d61f442.entry.js +0 -1
  1207. package/dist/magma-components/p-97c6e10a.entry.js +0 -1
  1208. package/dist/magma-components/p-9e2b1a29.entry.js +0 -1
  1209. package/dist/magma-components/p-9ed54db1.entry.js +0 -1
  1210. package/dist/magma-components/p-Cvhn9asj.js +0 -1
  1211. package/dist/magma-components/p-a8206d9c.entry.js +0 -1
  1212. package/dist/magma-components/p-b464668b.system.entry.js +0 -105
  1213. package/dist/magma-components/p-b85f56d7.entry.js +0 -1
  1214. package/dist/magma-components/p-c7dc17f8.entry.js +0 -1
  1215. package/dist/magma-components/p-d43e2a9a.entry.js +0 -1
  1216. package/dist/magma-components/p-ddfb4da3.entry.js +0 -1
  1217. package/dist/magma-components/p-e428490d.system.entry.js +0 -5
  1218. package/dist/magma-components/p-f045b018.entry.js +0 -1
  1219. package/dist/magma-components/p-f5d9f625.entry.js +0 -1
  1220. package/dist/magma-components/p-fa387b74.system.entry.js +0 -5
  1221. package/dist/magma-components/p-fbf563c8.entry.js +0 -1
  1222. package/dist/magma-components/p-ff82edad.entry.js +0 -1
  1223. package/dist/magma-components/p-sm_-_oFY.system.js +0 -6
  1224. /package/dist/{lint/mcp → mcp}/cli.js +0 -0
  1225. /package/dist/{lint/mcp → mcp}/color.js +0 -0
  1226. /package/dist/{lint/mcp → mcp}/context.js +0 -0
  1227. /package/dist/{lint/mcp → mcp}/icon.svg +0 -0
  1228. /package/dist/{lint/mcp → mcp}/render-page.js +0 -0
@@ -1 +1 @@
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-CZjwSwe5.js";import{p as n}from"./p-CVRN4LDc.js";import{k as m}from"./p-C4ckbXOl.js";import{d as c}from"./p-Ic8cYsgt.js";import{d as l}from"./p-C7rDjrH4.js";import{d as h}from"./p-COkn4Vtq.js";import{d as b}from"./p-D8CloC8I.js";import{d as u}from"./p-B6AFku7a.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=a=>{this.pressedKeys.has(a.code)&&(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:"25a7d04a835806f1bbabdb6c2a61ffdc9ccb7b65","pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},s("div",{key:"89196a5a2a00de82d57b3c8f211aef5dc2bc18de",class:"shortcuts"},s("slot",{key:"4cc3d37cabf7c4352e692fb7a7e79026f1519e2d"})),this.try&&s("mds-button",{key:"1e0f8a0b3f203c0e11af250692e49f94c7e8b94b",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:"d79df1ffafab7735c7ac6d396a04e66f3459bfe5",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&s("div",{key:"557179739e725d988c894b3ec4c8634d8450be35",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(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/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 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/0);--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,w=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))||c();break;case"mds-icon":customElements.get(e(a))||l();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,w as defineCustomElement}
1
+ import{p as a,H as t,h as s,c as e,t as r}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-CvbuCEYD.js";import{p as n}from"./p-Bbrei_yQ.js";import{k as m}from"./p-C4ckbXOl.js";import{d as l}from"./p-BE05D6Pe.js";import{d as c}from"./p-BBrPpCNK.js";import{d as h}from"./p-C6LU1s8K.js";import{d as b}from"./p-DN1yF-xO.js";import{d as u}from"./p-CZX6N7ce.js";var y={testKeyCombination:"Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο",testPassed:"Ο συνδυασμός είναι σωστός",wrongKeysCombination:"Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά."},v={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."},k={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:v,es:k,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=a=>{this.pressedKeys.has(a.code)&&(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:"ef1ec2d6381c46cb215a326a5de5389baddb0377","pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},s("div",{key:"78b636c3beacb1ab9a45c4eea042e7bf52a26842",class:"shortcuts"},s("slot",{key:"f9d1793fbe90b27b1c5d9a196c3537fd63944a45"})),this.try&&s("mds-button",{key:"a6ac86cf10114b110b9d0fc4a04ebbe302adceab",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:"8abaab5c9b01433eaffe5094f5a412e54369a38e",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&s("div",{key:"82a4b6ca0141669f2a1db78d0e5f3444d5152613",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(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/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 rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/0);--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])),:host([pref-theme-scheme=dark]){--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]):not([pref-theme-scheme=light])),: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(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 +1 @@
1
- import{p as t,H as a,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-C7rDjrH4.js";import{d as s}from"./p-D8CloC8I.js";const d=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.threshold=0,this.reserveLine=t=>" ".repeat(t.length),this.setObserver=()=>{"undefined"!=typeof window&&(this.observer=new window.IntersectionObserver((([t])=>{this.isIntersecting=t.isIntersecting}),{root:null,threshold:this.threshold}),this.observer.observe(this.hostElement))},this.resolveName=()=>{const t=[this.label,this.description].filter((t=>""!==(null!=t?t:""))).join(": ")||void 0,a=this.hostElement.getAttribute("aria-label");return null!==a&&a!==this.appliedName&&a!==t?a:(this.appliedName=t,t)}}componentWillLoad(){0!==this.threshold&&this.setObserver()}render(){return r(e,{key:"a7e5fb92c21e9d57810f4311c8d713875f58472b","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:"37b1a451b728377887d2af973c70dcb23b68154c",class:"icon-container",part:"icon-container"},r("mds-icon",{key:"029aff32d27e3bf3988643ebdde160633e894de3",class:"icon",name:this.icon,part:"icon"})),r("div",{key:"0e3903e5a05e25c76f28132c3cb64e99fb54554f",class:"info",part:"content","aria-hidden":"true"},this.label&&0!==this.threshold&&r("mds-text",{key:"89346fe339b5c7e1f6b31c010d92564306902f46",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&0===this.threshold&&r("mds-text",{key:"49e95e00e2053c4d5394f63a660dc78fb50e05db",class:"value",typography:"h2"},this.label),this.description&&0!==this.threshold&&r("mds-text",{key:"2105b55b883f289c3bbd4b8dc672dd2033a53154",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&0===this.threshold&&r("mds-text",{key:"691817b281e4502367d7a0f4ab67410bdc1f0f46",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:block))) 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,p=function(){"undefined"!=typeof customElements&&["mds-kpi-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-kpi-item":customElements.get(i(t))||customElements.define(i(t),d);break;case"mds-icon":customElements.get(i(t))||n();break;case"mds-text":customElements.get(i(t))||s()}}))};export{m as MdsKpiItem,p as defineCustomElement}
1
+ import{p as t,H as e,h as a,c as r,t as i}from"./p-TZJN-ygm.js";import{p as o}from"./p-Bbrei_yQ.js";import{d as s}from"./p-BBrPpCNK.js";import{d as n}from"./p-DN1yF-xO.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.threshold=0,this.reserveLine=t=>" ".repeat(t.length),this.setObserver=()=>{"undefined"!=typeof window&&(this.observer=new window.IntersectionObserver((([t])=>{this.isIntersecting=t.isIntersecting}),{root:null,threshold:this.threshold}),this.observer.observe(this.hostElement))},this.resolveName=()=>{const t=[this.label,this.description].filter((t=>""!==(null!=t?t:""))).join(": ")||void 0,e=this.hostElement.getAttribute("aria-label");return null!==e&&e!==this.appliedName&&e!==t?e:(this.appliedName=t,t)}}componentWillLoad(){0!==this.threshold&&this.setObserver()}render(){return a(r,{key:"a244d99c2831d09643405a7350fa4a80976a96cb","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&&a("div",{key:"e975984d9fc8d543e05638ac112d0c49812d0750",class:"icon-container",part:"icon-container"},a("mds-icon",{key:"a86d6ae7eb0c05021e3a1d60e5a3e174f05efaaf",class:"icon",name:this.icon,part:"icon"})),a("div",{key:"fa6b5940b1e4251563955d0c6e2080afe3ee057e",class:"info",part:"content","aria-hidden":"true"},this.label&&0!==this.threshold&&a("mds-text",{key:"60feca2ccd5cd758149b2e30ca46a4228eb261b7",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&0===this.threshold&&a("mds-text",{key:"96488fa7e80f6fe4f917bffb51a65adea72ec65c",class:"value",typography:"h2"},this.label),this.description&&0!==this.threshold&&a("mds-text",{key:"a4d1ba6111307b67581ae7157ca7f849acd63846",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&0===this.threshold&&a("mds-text",{key:"48e63034817e6662404f60d0790fb99390071916",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:block))) 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])),:host([pref-theme-scheme=dark]){--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]:not([pref-theme-scheme=light])),:host([pref-contrast=more][pref-theme-scheme=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]):not([pref-theme-scheme=light])),: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]:not([pref-theme-scheme=light])){--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]:not([pref-theme-scheme=light])),:host([pref-contrast=system][pref-theme-scheme=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]:not([pref-theme-scheme=light])){--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,p=function(){"undefined"!=typeof customElements&&["mds-kpi-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-kpi-item":customElements.get(i(t))||customElements.define(i(t),d);break;case"mds-icon":customElements.get(i(t))||s();break;case"mds-text":customElements.get(i(t))||n()}}))};export{m as MdsKpiItem,p as defineCustomElement}
@@ -1 +1 @@
1
- import{p as t,H as e,h as s,c as i,t as a}from"./p-TZJN-ygm.js";const d=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"239d426de996f4121a43a3606d2fc439785db8cf",role:"list"},s("slot",{key:"162b79739cdd3985fa832b329dbdb6922eed905d"}))}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"]),o=d,r=function(){"undefined"!=typeof customElements&&["mds-kpi"].forEach((t=>{"mds-kpi"===t&&(customElements.get(a(t))||customElements.define(a(t),d))}))};export{o 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:"ac931a26cdd93a5fe4db659b7b8c6c9b32465ec7",role:"list"},s("slot",{key:"acb9ea880b26ef009ee192f572dd64d61c394ccc"}))}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"]),r=o,d=function(){"undefined"!=typeof customElements&&["mds-kpi"].forEach((t=>{"mds-kpi"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{r as MdsKpi,d 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-TZJN-ygm.js";import{m as s}from"./p-BJ8rpzfj.js";import{L as t}from"./p-CZjwSwe5.js";import{p as n}from"./p-CVRN4LDc.js";import{d as c}from"./p-Ic8cYsgt.js";import{d}from"./p-C7rDjrH4.js";import{d as g}from"./p-COkn4Vtq.js";import{d as m}from"./p-D8CloC8I.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:"c6814ff8779caf22519cea2b3ef701568a39c288","pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("mds-text",{key:"a6e78f175598833e568fb0f0f12273f1373ea9b4",class:"text",truncate:this.truncate,typography:this.typography},this.label),this.deletable&&e("mds-button",{key:"fb323c41fc0a8f95aa78463b64c0c1dc76d410b1",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:block))) 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,f=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,f 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-CvbuCEYD.js";import{p as n}from"./p-Bbrei_yQ.js";import{d as c}from"./p-BE05D6Pe.js";import{d}from"./p-BBrPpCNK.js";import{d as g}from"./p-C6LU1s8K.js";import{d as m}from"./p-DN1yF-xO.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:"c6814ff8779caf22519cea2b3ef701568a39c288","pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},e("mds-text",{key:"a6e78f175598833e568fb0f0f12273f1373ea9b4",class:"text",truncate:this.truncate,typography:this.typography},this.label),this.deletable&&e("mds-button",{key:"fb323c41fc0a8f95aa78463b64c0c1dc76d410b1",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:block))) 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])),:host([pref-theme-scheme=dark]){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]):not([pref-theme-scheme=light])),: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,f=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,f as defineCustomElement}
@@ -1 +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-CZjwSwe5.js";import{N as s}from"./p-Bz1eiKqd.js";import{p as l}from"./p-CVRN4LDc.js";import{d as c}from"./p-C7rDjrH4.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:"196be7e05bcb4fa4007cf5e9e284999fab414e47",class:"glue glue-"+("left"===this.iconPosition?"left":"right")},"⁠",e("mds-icon",{key:"f40d03f72e37dd7e721be97e58d477edaae8e2c4","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}));return e(t,{key:"c26c1f6a036fc1a1caae480e0fd0157d62ee3d30",onClick:this.handleClick,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast},e(i,Object.assign({key:"a8ec3a7c0a404f52026a4e132ac78f18a15ab861",class:"link",part:"link",ref:i=>{this.link=i}},r),"left"===this.iconPosition&&o,this.label||e("slot",{key:"962d001d94b5e8dc549032132b53685205aa1ed5"}),n&&e("span",{key:"f64cbbb2717dba3d22a70227d2390ceafd18b436",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
+ 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-CvbuCEYD.js";import{N as s}from"./p-Bz1eiKqd.js";import{p as l}from"./p-Bbrei_yQ.js";import{d as c}from"./p-BBrPpCNK.js";var d={newTab:"(ανοίγει σε νέα καρτέλα)"},u={newTab:"(opens in a new tab)"},m={newTab:"(se abre en una pestaña nueva)"},p={newTab:"(si apre in una nuova scheda)"};const k=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:p}),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:"c8b0f70a7e9664213fbcbe4d4761799c296ecf29",class:"glue glue-"+("left"===this.iconPosition?"left":"right")},"⁠",e("mds-icon",{key:"3d2c83a4b95db00d3c9b4d76ec58fe0bdc7a6641","aria-hidden":"true",class:"icon",name:this.icon,part:"icon"}));return e(t,{key:"06f8925167258d31ae54a3b0d37a6b2a12b4d301",onClick:this.handleClick,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast},e(i,Object.assign({key:"91c86cd0a0aa2af8d5077ea777b43172c452424d",class:"link",part:"link",ref:i=>{this.link=i}},r),"left"===this.iconPosition&&o,this.label||e("slot",{key:"0c9a65c01ce56955256fe5c37dc35d776462523a"}),n&&e("span",{key:"a2260dc96b33b328ebb75369fd1bebef42c15039",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=k,f=function(){"undefined"!=typeof customElements&&["mds-link","mds-icon"].forEach((i=>{switch(i){case"mds-link":customElements.get(r(i))||customElements.define(r(i),k);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 a,h as s,c as i,t as e}from"./p-TZJN-ygm.js";import{d as r}from"./p-C7rDjrH4.js";import{d as c}from"./p-D8CloC8I.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:"706be98de8711d0407750efac9c65076bfbc84f3",role:"listitem"},s("mds-icon",{key:"551e070330fcad66d1a7a66d3cefae23f4bc27fb","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:"be4101da560b6766d867a87e772b1c08db6faa6b",tag:"span",typography:this.typography,variant:this.variant,part:"text"},s("slot",{key:"06bd2ec3cd35e3270c44dd74cd7977bf315e6f55"})))}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
+ import{p as t,H as s,h as a,c as i,t as e}from"./p-TZJN-ygm.js";import{d as r}from"./p-BBrPpCNK.js";import{d as c}from"./p-DN1yF-xO.js";const n=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.typography="detail",this.variant="info"}render(){var t;return a(i,{key:"11fea5ddc8fc222b0954e2162c6d89830fd1ac5b",role:"listitem"},a("mds-icon",{key:"495bf2820bd1cd28dcf3e46c2efd31a5afb115d5","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"}),a("mds-text",{key:"bc0806e8a6648f6dc595b460021e00e532f2fb99",tag:"span",typography:this.typography,variant:this.variant,part:"text"},a("slot",{key:"448c140e5cf391723745f349584d6e81124c593a"})))}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 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:"0f28dd354bc80491bc6d5abd0f7aaa6a42eff11e",role:"list"},s("slot",{key:"e561e4138afca86794af395895c1ce5f8f60267a"}))}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
+ import{p as t,H as s,h as e,c as i,t as a}from"./p-TZJN-ygm.js";const o=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return e(i,{key:"89511c1764fdc90707ea5967108d096e5c62a59a",role:"list"},e("slot",{key:"9ae5371a71bc4efb19007569819a350b76b0a91d"}))}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,d=function(){"undefined"!=typeof customElements&&["mds-list"].forEach((t=>{"mds-list"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{r as MdsList,d 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-TZJN-ygm.js";import{m as n}from"./p-BJ8rpzfj.js";import{L as o}from"./p-CZjwSwe5.js";import{d as m}from"./p-Ic8cYsgt.js";import{d}from"./p-C7rDjrH4.js";import{d as c}from"./p-COkn4Vtq.js";import{d as l}from"./p-D8CloC8I.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:"2cc2255c3f3e54d17dea2fb8758b55de6319976e"},i("mds-icon",{key:"05586a40dcef97fc0b353ada10ff7ced492d4f95",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:"8d95cc608b772b07b59fd4d3d3da543abf32bda6",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:"8ef64bd8bf5fd367e2fd99231fcab8f8d33d2ea5",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]}]),f=g,b=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))||d();break;case"mds-spinner":customElements.get(r(e))||c();break;case"mds-text":customElements.get(r(e))||l()}}))};export{f as MdsMention,b 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 o}from"./p-CvbuCEYD.js";import{d as m}from"./p-BE05D6Pe.js";import{d}from"./p-BBrPpCNK.js";import{d as c}from"./p-C6LU1s8K.js";import{d as l}from"./p-DN1yF-xO.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:"3bd2b60b8f640aa3b48e139154236b153dafb70b"},i("mds-icon",{key:"89d12c603b0df036db57830b1965453bb91a16a7",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:"0c7d327f9747ddb6adf0191578c49725ed4d8ab3",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:"b2ede997d27673d1332445a45072a29740a7230b",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))||d();break;case"mds-spinner":customElements.get(r(e))||c();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-COUgBzJ4.js";const p=o,r=s;export{p as MdsModal,r as defineCustomElement}
1
+ import{M as r,d as o}from"./p-3rr6yzu-.js";const s=r,p=o;export{s as MdsModal,p 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-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-CZjwSwe5.js";import{p as d}from"./p-CVRN4LDc.js";import{d as i}from"./p-Ic8cYsgt.js";import{d as c}from"./p-C7rDjrH4.js";import{d as m}from"./p-COkn4Vtq.js";import{d as g}from"./p-D8CloC8I.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:"c35582b371682defc36ce83a07b578ea47a79bae",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:"f382186bccb732247b6c3f64a1ea4398cad8b3a8",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"b8ad10ac19653be29b5bf37c095621bbb4d1bc81",name:"title"}),a("slot",{key:"bd9dcf05f15202bcc41ad9f7d014e2740228e623"}),a("div",{key:"601c649283a0923d08d14cef3fa20ffccd491b8b","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:block))) 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
+ 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 s}from"./p-J-ikDhyq.js";import{K as n}from"./p-CGrPq3C4.js";import{L as b}from"./p-CvbuCEYD.js";import{p as d}from"./p-Bbrei_yQ.js";import{d as i}from"./p-BE05D6Pe.js";import{d as m}from"./p-BBrPpCNK.js";import{d as c}from"./p-C6LU1s8K.js";import{d as g}from"./p-DN1yF-xO.js";var h={deleteLabel:"Αφαίρεση"},v={deleteLabel:"Remove"},p={deleteLabel:"Eliminar"},u={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 n,this.t=new b({el:h,en:v,es:p,it:u}),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:"a9bfcd5e936af6359ea3ec0f5927e9da8c019be8",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:"72c2221af777320b6c809560b9d22e7c01bca115",title:this.t.get("deleteLabel"),icon:s,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"5b719af6a356a2a9f83b4c0fd35a5fa26cd30d7f",name:"title"}),a("slot",{key:"eef330096a06bad54a607f5e447bff9c5b3f5449"}),a("div",{key:"1e265463246b09a4578e7ba0e339edc8f74f0c61","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:block))) 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])),:host([pref-theme-scheme=dark]){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])):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]):not([pref-theme-scheme=light])),: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]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]):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))}}@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 +1 @@
1
- import{p as i,H as t,h as a,c as s,t as n}from"./p-TZJN-ygm.js";import{a as o,p as r}from"./p-CVRN4LDc.js";import{r as e,s as c,h as d,a as m}from"./p-Cvhn9asj.js";import{o as l,s as f,c as h,b as u}from"./p-BaFfIZGB.js";import{d as v}from"./p-D8CloC8I.js";const p=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.describing=!1,this.pulsing=!1,this.value=0,this.dismissed=!1,this.strategy="fixed",this.variant="error",this.pulse=!1,this.placement="right-start",this.updatePosition=()=>{const i=[],t="disabled"===this.strategy?"absolute":"fixed";i.push(l(0)),i.push(f({padding:0})),h(this.caller,this.host,{middleware:i,placement:this.placement,strategy:t}).then((({x:i,y:t})=>{Object.assign(this.host.style,{left:i+"px",top:t+"px"})}))},this.clean=i=>{var t;if(0===(null!=i?i:0)||isNaN(i))return"";const a=null!==(t=this.max)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)&&i>a?"+"+Number(a).toLocaleString():Number(i).toLocaleString()},this.describeCaller=i=>{const t=this.host.id;this.describedCaller&&this.describedCaller!==i&&t&&e(this.describedCaller,"aria-describedby",t);const a=void 0!==i&&!this.dismissed&&""!==this.clean(this.value)&&i.getRootNode()===this.host.getRootNode();if(this.describing=a,!a)return i&&t&&e(i,"aria-describedby",t),void(this.describedCaller=void 0);const s=c(this.host,"id",d("mds-notification"));m(i,"aria-describedby",s),this.describedCaller=i},this.startAutoUpdate=()=>{var i;"disabled"!==this.strategy&&""!==(null!==(i=this.target)&&void 0!==i?i:"")&&this.caller&&(this.cleanupAutoUpdate||void 0!==this.autoUpdateTimer||(this.autoUpdateTimer=setTimeout((()=>{this.autoUpdateTimer=void 0,this.cleanupAutoUpdate=u(this.caller,this.host,this.updatePosition)}),100)))},this.stopAutoUpdate=()=>{var i;clearTimeout(this.autoUpdateTimer),this.autoUpdateTimer=void 0,null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0},this.endPulse=i=>{"notification-pulse"===i.animationName&&(this.pulsing=!1)}}componentDidRender(){var i;if(""===(null!==(i=this.target)&&void 0!==i?i:""))return void(this.strategy="disabled");const t=document.querySelector(this.target);if(null==t)return console.warn("mds-notification: no valid target found: "+this.target),void(this.strategy="disabled");this.caller=t,this.describeCaller(t)}componentDidLoad(){var i,t;null===(i=this.host.shadowRoot)||void 0===i||i.addEventListener("animationend",this.endPulse),null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("animationcancel",this.endPulse),"disabled"!==this.strategy&&this.startAutoUpdate()}connectedCallback(){this.startAutoUpdate()}disconnectedCallback(){this.stopAutoUpdate(),this.describeCaller(void 0),this.pulsing=!1}valueHandler(i,t){this.pulse&&!this.pulsing&&(null!=i?i:0)>(null!=t?t:0)&&(o()||(this.pulsing=!0))}strategyHandler(i){"disabled"===i&&this.stopAutoUpdate()}render(){return a(s,{key:"0cd7987a457c509276e22d9f915f94d68f954590","aria-hidden":this.describing?"true":void 0,"pref-animation":r.state.animation},a("mds-text",{key:"f6bc061623bf46f19a6fbf98bce42f5373e93598",typography:"caption",class:{dot:!0,pulse:this.pulse&&this.pulsing}},this.clean(this.value)))}get host(){return this}static get watchers(){return{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) 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-pulse-duration:var(--duration-1000,1s);--private-notification-pulse-duration:var(--mds-notification-pulse-duration);--mds-notification-pulse-spread:calc(var(--spacing,.0025rem)*200);--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}.pulse{animation-duration:var(--private-notification-pulse-duration);animation-iteration-count:3;animation-name:notification-pulse;animation-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}@keyframes notification-pulse{0%{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)))),0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}to{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)))),0 0 0 calc(var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-notification-pulse-spread)) #0000}}.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([variant=error]){--mds-notification-color:rgb(var(--magma-danger-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)))}:host([variant=info]){--mds-notification-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=success]){--mds-notification-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=warning]){--mds-notification-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-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;--private-notification-pulse-duration:0s}}'}},[1,"mds-notification",{target:[1],value:[1538],dismissed:[1540],strategy:[1537],max:[514],variant:[513],pulse:[4],describing:[32],pulsing:[32]},void 0,{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}]),g=p,b=function(){"undefined"!=typeof customElements&&["mds-notification","mds-text"].forEach((i=>{switch(i){case"mds-notification":customElements.get(n(i))||customElements.define(n(i),p);break;case"mds-text":customElements.get(n(i))||v()}}))};export{g as MdsNotification,b as defineCustomElement}
1
+ import{p as i,H as t,h as a,c as s,t as n}from"./p-TZJN-ygm.js";import{a as o,p as r}from"./p-Bbrei_yQ.js";import{r as e,s as c,h as d,a as m}from"./p-DwKxtKwS.js";import{o as l,s as f,c as h,b as u}from"./p-BaFfIZGB.js";import{d as v}from"./p-DN1yF-xO.js";const p=i(class extends t{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow(),this.describing=!1,this.pulsing=!1,this.value=0,this.dismissed=!1,this.strategy="fixed",this.variant="error",this.pulse=!1,this.placement="right-start",this.updatePosition=()=>{const i=[],t="disabled"===this.strategy?"absolute":"fixed";i.push(l(0)),i.push(f({padding:0})),h(this.caller,this.host,{middleware:i,placement:this.placement,strategy:t}).then((({x:i,y:t})=>{Object.assign(this.host.style,{left:i+"px",top:t+"px"})}))},this.clean=i=>{var t;if(0===(null!=i?i:0)||isNaN(i))return"";const a=null!==(t=this.max)&&void 0!==t?t:0;return 0!==a&&!Number.isNaN(a)&&i>a?"+"+Number(a).toLocaleString():Number(i).toLocaleString()},this.describeCaller=i=>{const t=this.host.id;this.describedCaller&&this.describedCaller!==i&&t&&e(this.describedCaller,"aria-describedby",t);const a=void 0!==i&&!this.dismissed&&""!==this.clean(this.value)&&i.getRootNode()===this.host.getRootNode();if(this.describing=a,!a)return i&&t&&e(i,"aria-describedby",t),void(this.describedCaller=void 0);const s=c(this.host,"id",d("mds-notification"));m(i,"aria-describedby",s),this.describedCaller=i},this.startAutoUpdate=()=>{var i;"disabled"!==this.strategy&&""!==(null!==(i=this.target)&&void 0!==i?i:"")&&this.caller&&(this.cleanupAutoUpdate||void 0!==this.autoUpdateTimer||(this.autoUpdateTimer=setTimeout((()=>{this.autoUpdateTimer=void 0,this.cleanupAutoUpdate=u(this.caller,this.host,this.updatePosition)}),100)))},this.stopAutoUpdate=()=>{var i;clearTimeout(this.autoUpdateTimer),this.autoUpdateTimer=void 0,null===(i=this.cleanupAutoUpdate)||void 0===i||i.call(this),this.cleanupAutoUpdate=void 0},this.endPulse=i=>{"notification-pulse"===i.animationName&&(this.pulsing=!1)}}componentDidRender(){var i;if(""===(null!==(i=this.target)&&void 0!==i?i:""))return void(this.strategy="disabled");const t=document.querySelector(this.target);if(null==t)return console.warn("mds-notification: no valid target found: "+this.target),void(this.strategy="disabled");this.caller=t,this.describeCaller(t)}componentDidLoad(){var i,t;null===(i=this.host.shadowRoot)||void 0===i||i.addEventListener("animationend",this.endPulse),null===(t=this.host.shadowRoot)||void 0===t||t.addEventListener("animationcancel",this.endPulse),"disabled"!==this.strategy&&this.startAutoUpdate()}connectedCallback(){this.startAutoUpdate()}disconnectedCallback(){this.stopAutoUpdate(),this.describeCaller(void 0),this.pulsing=!1}valueHandler(i,t){this.pulse&&!this.pulsing&&(null!=i?i:0)>(null!=t?t:0)&&(o()||(this.pulsing=!0))}strategyHandler(i){"disabled"===i&&this.stopAutoUpdate()}render(){return a(s,{key:"2804812b6d016ab36d22d5272d26ec8b9f51cffe","aria-hidden":this.describing?"true":void 0,"pref-animation":r.state.animation},a("mds-text",{key:"9c882c379f588a86eebc12e763ec08cb4a15faaa",typography:"caption",class:{dot:!0,pulse:this.pulse&&this.pulsing}},this.clean(this.value)))}get host(){return this}static get watchers(){return{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:block))) 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-pulse-duration:var(--duration-1000,1s);--private-notification-pulse-duration:var(--mds-notification-pulse-duration);--mds-notification-pulse-spread:calc(var(--spacing,.0025rem)*200);--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}.pulse{animation-duration:var(--private-notification-pulse-duration);animation-iteration-count:3;animation-name:notification-pulse;animation-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}@keyframes notification-pulse{0%{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)))),0 0 0 var(--mds-notification-ring-size,calc(var(--spacing,.0025rem)*50)) var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))))}to{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)))),0 0 0 calc(var(--mds-notification-ring-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-notification-pulse-spread)) #0000}}.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([variant=error]){--mds-notification-color:rgb(var(--magma-danger-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)))}:host([variant=info]){--mds-notification-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)))}:host([variant=success]){--mds-notification-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)))}:host([variant=warning]){--mds-notification-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)));--mds-notification-dot-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s;--private-notification-pulse-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;--private-notification-pulse-duration:0s}}'}},[1,"mds-notification",{target:[1],value:[1538],dismissed:[1540],strategy:[1537],max:[514],variant:[513],pulse:[4],describing:[32],pulsing:[32]},void 0,{value:[{valueHandler:0}],strategy:[{strategyHandler:0}]}]),g=p,b=function(){"undefined"!=typeof customElements&&["mds-notification","mds-text"].forEach((i=>{switch(i){case"mds-notification":customElements.get(n(i))||customElements.define(n(i),p);break;case"mds-text":customElements.get(n(i))||v()}}))};export{g as MdsNotification,b as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as p}from"./p-DhpcFZrc.js";const r=o,s=p;export{r as MdsPaginatorItem,s as defineCustomElement}
1
+ import{M as o,d as p}from"./p-BpND63Kl.js";const s=o,r=p;export{s 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-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-CZjwSwe5.js";import{d as h}from"./p-C7rDjrH4.js";import{d as p}from"./p-DhpcFZrc.js";import{d as c}from"./p-D8CloC8I.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:"c6f4a5bc33acf44341b5e516ee3209f91846d11e","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:"041df6a22ee0d7c55646a7f09672894956d02dd3","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:"c3a9b2e2b3f9d387164c91dde1298e91a32373ea",class:"item-first",selected:1===this.currentPage,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"4024d92df8b151095dd762c3d0944a9a89b0a3ea",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:"77b855c290ac20fb52aaa5aab6f20e4a67747472",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"e07b9b3477a143ad478c1ca116fae1a2f5b5d229","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:block))) 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}
1
+ import{p as t,H as e,d as a,h as r,c as s,t as i}from"./p-TZJN-ygm.js";import{p as o}from"./p-Bbrei_yQ.js";import{m as n}from"./p-DnEUG7st.js";import{m}from"./p-Bd0uuNDE.js";import{L as d}from"./p-CvbuCEYD.js";import{d as h}from"./p-BBrPpCNK.js";import{d as p}from"./p-BpND63Kl.js";import{d as c}from"./p-DN1yF-xO.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 e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.pageChangedEvent=a(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 e;const a=t,r=null===(e=this.element.shadowRoot)||void 0===e?void 0:e.querySelector(".pages"),s=null==r?void 0:r.querySelectorAll("mds-paginator-item");if(!r||!s)return;if(a<0)return void(r.scrollLeft=0);if(a>s.length-1)return void(r.scrollLeft=s[s.length-1].offsetLeft-r.offsetLeft);const i=s[a];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 e;const a=t.target;if(!a||!this.isKeyboardFocus(a))return;const r=null===(e=this.element.shadowRoot)||void 0===e?void 0:e.querySelector(".pages"),s=null==r?void 0:r.querySelectorAll("mds-paginator-item");s&&this.scrollPage(Array.from(s).indexOf(a))},this.goToPage=(t,e)=>{t<1||t>this.pages||(this.currentPage=t,this.pages>2&&this.scrollPage(this.currentPage-2),this.pageChangedEvent.emit({page:this.currentPage,caller:e}))},this.handlePrevClick=t=>{this.goToPage(this.currentPage-1,t.target)},this.handleFirstClick=t=>{this.goToPage(1,t.target)},this.handlePageClick=t=>e=>{this.goToPage(t,e.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:"c799748f3c405935c1686e5e5416af2e85c602eb","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:"bef296cc9c72931156d7490306e5faa1f46296a4","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:"70dc199eca2b93e107577fbe22453caeb55d85a2",class:"item-first",selected:1===this.currentPage,onClick:this.handleFirstClick},"1"),this.pages>2&&r("div",{key:"cde850d3d91892a6ec9b542e2f6ae4220c5f0f0b",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:"8eca32171d96c430f115b7503006598bf288146c",class:"item-last",selected:this.currentPage===this.pages,onClick:this.handleLastClick},this.pages),r("mds-paginator-item",{key:"2fc0dacd6cd6cc06669acbd2b4b33d09e09fc1e4","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:block))) 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])),:host([pref-theme-scheme=dark]){--mds-paginator-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:is(:host([pref-mode=dark]:not([pref-theme-scheme=light])),:host([pref-theme-scheme=dark])) .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]):not([pref-theme-scheme=light])),: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]):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}}@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}