@maggioli-design-system/magma 2.5.1 → 2.6.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 (1483) hide show
  1. package/AGENTS.md +19 -4
  2. package/CHANGELOG.md +45 -0
  3. package/agents/assets.md +1 -1
  4. package/agents/color.md +22 -4
  5. package/agents/components.md +164 -92
  6. package/agents/conventions.md +17 -7
  7. package/agents/install.md +7 -0
  8. package/agents/lint.md +270 -0
  9. package/agents/mcp.md +103 -0
  10. package/agents/theming.md +8 -0
  11. package/dist/cjs/index-BQNHYWJg.js +4 -0
  12. package/dist/cjs/loader.cjs.js +1 -1
  13. package/dist/cjs/magma-components.cjs.js +1 -1
  14. package/dist/cjs/mds-accordion-item.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-accordion-timer.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-accordion.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-avatar.cjs.entry.js +1 -1
  22. package/dist/cjs/mds-badge.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  24. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-book.cjs.entry.js +703 -0
  27. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-breadcrumb.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  31. package/dist/cjs/mds-button_3.cjs.entry.js +6 -6
  32. package/dist/cjs/mds-calendar_2.cjs.entry.js +6 -6
  33. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  37. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  38. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  39. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  40. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  43. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  47. package/dist/cjs/mds-header.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-input-date-range.cjs.entry.js +2 -2
  52. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  53. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  57. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  59. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  61. package/dist/cjs/mds-keyboard-key.cjs.entry.js +2 -2
  62. package/dist/cjs/mds-keyboard.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-label.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-link.cjs.entry.js +3 -3
  67. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  69. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  70. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  71. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
  95. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  98. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +4 -4
  105. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  108. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  109. package/dist/cjs/mds-table-row.cjs.entry.js +2 -2
  110. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  111. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  112. package/dist/cjs/mds-toast-region.cjs.entry.js +1 -1
  113. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  114. package/dist/cjs/mds-tooltip.cjs.entry.js +2 -2
  115. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  116. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  117. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  118. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  119. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  120. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  121. package/dist/collection/collection-manifest.json +1 -0
  122. package/dist/collection/components/mds-accordion/AGENTS.md +3 -5
  123. package/dist/collection/components/mds-accordion/antipattern.md +1 -2
  124. package/dist/collection/components/mds-accordion/documentation.json +21 -10
  125. package/dist/collection/components/mds-accordion/mds-accordion.css +3 -3
  126. package/dist/collection/components/mds-accordion/mds-accordion.js +2 -1
  127. package/dist/collection/components/mds-accordion/pattern.md +1 -4
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +3 -7
  129. package/dist/collection/components/mds-accordion-item/documentation.json +20 -9
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +1 -1
  131. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -1
  132. package/dist/collection/components/mds-accordion-item/pattern.md +3 -5
  133. package/dist/collection/components/mds-accordion-timer/AGENTS.md +3 -5
  134. package/dist/collection/components/mds-accordion-timer/antipattern.md +5 -3
  135. package/dist/collection/components/mds-accordion-timer/documentation.json +17 -8
  136. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  137. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.js +2 -1
  138. package/dist/collection/components/mds-accordion-timer/pattern.md +6 -6
  139. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +3 -5
  140. package/dist/collection/components/mds-accordion-timer-item/antipattern.md +1 -2
  141. package/dist/collection/components/mds-accordion-timer-item/documentation.json +17 -8
  142. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +1 -1
  143. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -1
  144. package/dist/collection/components/mds-accordion-timer-item/pattern.md +1 -5
  145. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-author/documentation.json +5 -1
  147. package/dist/collection/components/mds-author/mds-author.js +2 -1
  148. package/dist/collection/components/mds-avatar/AGENTS.md +3 -3
  149. package/dist/collection/components/mds-avatar/antipattern.md +1 -1
  150. package/dist/collection/components/mds-avatar/documentation.json +17 -8
  151. package/dist/collection/components/mds-avatar/mds-avatar.css +3 -3
  152. package/dist/collection/components/mds-avatar/mds-avatar.js +2 -1
  153. package/dist/collection/components/mds-avatar/pattern.md +1 -2
  154. package/dist/collection/components/mds-avatar-stack/AGENTS.md +3 -12
  155. package/dist/collection/components/mds-avatar-stack/antipattern.md +1 -2
  156. package/dist/collection/components/mds-avatar-stack/documentation.json +31 -15
  157. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +1 -1
  158. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +2 -1
  159. package/dist/collection/components/mds-avatar-stack/pattern.md +2 -5
  160. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +3 -6
  161. package/dist/collection/components/mds-avatar-stack-item/documentation.json +22 -10
  162. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +2 -2
  163. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.js +4 -1
  164. package/dist/collection/components/mds-avatar-stack-item/pattern.md +4 -5
  165. package/dist/collection/components/mds-badge/AGENTS.md +3 -3
  166. package/dist/collection/components/mds-badge/antipattern.md +1 -1
  167. package/dist/collection/components/mds-badge/documentation.json +17 -8
  168. package/dist/collection/components/mds-badge/mds-badge.css +3 -3
  169. package/dist/collection/components/mds-badge/mds-badge.js +2 -1
  170. package/dist/collection/components/mds-badge/pattern.md +4 -7
  171. package/dist/collection/components/mds-banner/AGENTS.md +3 -8
  172. package/dist/collection/components/mds-banner/antipattern.md +1 -2
  173. package/dist/collection/components/mds-banner/documentation.json +29 -14
  174. package/dist/collection/components/mds-banner/mds-banner.css +4 -4
  175. package/dist/collection/components/mds-banner/mds-banner.js +2 -1
  176. package/dist/collection/components/mds-banner/pattern.md +1 -2
  177. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-benchmark-bar/documentation.json +5 -1
  179. package/dist/collection/components/mds-benchmark-bar/mds-benchmark-bar.js +2 -1
  180. package/dist/collection/components/mds-bibliography/AGENTS.md +3 -3
  181. package/dist/collection/components/mds-bibliography/antipattern.md +1 -3
  182. package/dist/collection/components/mds-bibliography/documentation.json +15 -7
  183. package/dist/collection/components/mds-bibliography/mds-bibliography.css +1 -1
  184. package/dist/collection/components/mds-bibliography/mds-bibliography.js +4 -1
  185. package/dist/collection/components/mds-bibliography/pattern.md +1 -3
  186. package/dist/collection/components/mds-book/AGENTS.md +79 -0
  187. package/dist/collection/components/mds-book/antipattern.md +88 -0
  188. package/dist/collection/components/mds-book/documentation.json +482 -0
  189. package/dist/collection/components/mds-book/mds-book.css +901 -0
  190. package/dist/collection/components/mds-book/mds-book.js +731 -0
  191. package/dist/collection/components/mds-book/meta/dictionary.js +5 -0
  192. package/dist/collection/components/mds-book/meta/format.js +57 -0
  193. package/dist/collection/components/mds-book/meta/pose.js +107 -0
  194. package/dist/collection/components/mds-book/meta/spine.js +61 -0
  195. package/dist/collection/components/mds-book/meta/types.js +1 -0
  196. package/dist/collection/components/mds-book/meta/volume.js +23 -0
  197. package/dist/collection/components/mds-book/pattern.md +111 -0
  198. package/dist/collection/components/mds-breadcrumb/AGENTS.md +3 -14
  199. package/dist/collection/components/mds-breadcrumb/antipattern.md +1 -1
  200. package/dist/collection/components/mds-breadcrumb/documentation.json +28 -14
  201. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -1
  202. package/dist/collection/components/mds-breadcrumb/pattern.md +6 -6
  203. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +3 -11
  204. package/dist/collection/components/mds-breadcrumb-item/antipattern.md +3 -3
  205. package/dist/collection/components/mds-breadcrumb-item/documentation.json +22 -11
  206. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.js +2 -1
  207. package/dist/collection/components/mds-breadcrumb-item/pattern.md +12 -14
  208. package/dist/collection/components/mds-button/AGENTS.md +3 -12
  209. package/dist/collection/components/mds-button/documentation.json +37 -17
  210. package/dist/collection/components/mds-button/mds-button.css +5 -5
  211. package/dist/collection/components/mds-button/mds-button.js +5 -4
  212. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  213. package/dist/collection/components/mds-button-dropdown/documentation.json +7 -2
  214. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +1 -1
  215. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +2 -1
  216. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-button-group/documentation.json +5 -1
  218. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -1
  219. package/dist/collection/components/mds-calendar/AGENTS.md +3 -6
  220. package/dist/collection/components/mds-calendar/antipattern.md +1 -1
  221. package/dist/collection/components/mds-calendar/documentation.json +25 -12
  222. package/dist/collection/components/mds-calendar/mds-calendar.css +4 -4
  223. package/dist/collection/components/mds-calendar/mds-calendar.js +6 -5
  224. package/dist/collection/components/mds-calendar/pattern.md +1 -3
  225. package/dist/collection/components/mds-calendar-cell/AGENTS.md +3 -35
  226. package/dist/collection/components/mds-calendar-cell/antipattern.md +1 -2
  227. package/dist/collection/components/mds-calendar-cell/documentation.json +81 -40
  228. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +2 -2
  229. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +4 -1
  230. package/dist/collection/components/mds-calendar-cell/pattern.md +4 -5
  231. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-card/antipattern.md +2 -2
  233. package/dist/collection/components/mds-card/documentation.json +13 -6
  234. package/dist/collection/components/mds-card/mds-card.css +3 -3
  235. package/dist/collection/components/mds-card/mds-card.js +2 -1
  236. package/dist/collection/components/mds-card/pattern.md +4 -4
  237. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-card-content/documentation.json +5 -1
  239. package/dist/collection/components/mds-card-content/mds-card-content.js +2 -1
  240. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-card-footer/documentation.json +5 -1
  242. package/dist/collection/components/mds-card-footer/mds-card-footer.js +2 -1
  243. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-card-header/documentation.json +5 -1
  245. package/dist/collection/components/mds-card-header/mds-card-header.js +2 -1
  246. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-card-media/documentation.json +5 -1
  248. package/dist/collection/components/mds-card-media/mds-card-media.js +2 -1
  249. package/dist/collection/components/mds-chip/AGENTS.md +3 -10
  250. package/dist/collection/components/mds-chip/antipattern.md +2 -3
  251. package/dist/collection/components/mds-chip/documentation.json +35 -17
  252. package/dist/collection/components/mds-chip/mds-chip.css +4 -4
  253. package/dist/collection/components/mds-chip/mds-chip.js +4 -1
  254. package/dist/collection/components/mds-chip/pattern.md +4 -6
  255. package/dist/collection/components/mds-details/AGENTS.md +3 -7
  256. package/dist/collection/components/mds-details/antipattern.md +1 -5
  257. package/dist/collection/components/mds-details/documentation.json +14 -7
  258. package/dist/collection/components/mds-details/mds-details.js +2 -1
  259. package/dist/collection/components/mds-details/pattern.md +4 -6
  260. package/dist/collection/components/mds-dropdown/AGENTS.md +3 -9
  261. package/dist/collection/components/mds-dropdown/antipattern.md +1 -1
  262. package/dist/collection/components/mds-dropdown/documentation.json +31 -15
  263. package/dist/collection/components/mds-dropdown/mds-dropdown.css +4 -4
  264. package/dist/collection/components/mds-dropdown/mds-dropdown.js +3 -2
  265. package/dist/collection/components/mds-dropdown/pattern.md +2 -4
  266. package/dist/collection/components/mds-emoji/AGENTS.md +8 -32
  267. package/dist/collection/components/mds-emoji/antipattern.md +0 -18
  268. package/dist/collection/components/mds-emoji/documentation.json +73 -35
  269. package/dist/collection/components/mds-emoji/mds-emoji.css +8 -4
  270. package/dist/collection/components/mds-emoji/mds-emoji.js +4 -1
  271. package/dist/collection/components/mds-emoji/pattern.md +9 -25
  272. package/dist/collection/components/mds-entity/AGENTS.md +3 -4
  273. package/dist/collection/components/mds-entity/antipattern.md +10 -3
  274. package/dist/collection/components/mds-entity/documentation.json +17 -8
  275. package/dist/collection/components/mds-entity/mds-entity.css +2 -2
  276. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  277. package/dist/collection/components/mds-entity/pattern.md +1 -4
  278. package/dist/collection/components/mds-file/AGENTS.md +3 -3
  279. package/dist/collection/components/mds-file/antipattern.md +2 -3
  280. package/dist/collection/components/mds-file/documentation.json +15 -7
  281. package/dist/collection/components/mds-file/mds-file.css +1 -1
  282. package/dist/collection/components/mds-file/mds-file.js +4 -1
  283. package/dist/collection/components/mds-file/pattern.md +1 -3
  284. package/dist/collection/components/mds-file-preview/AGENTS.md +3 -3
  285. package/dist/collection/components/mds-file-preview/antipattern.md +1 -1
  286. package/dist/collection/components/mds-file-preview/documentation.json +17 -8
  287. package/dist/collection/components/mds-file-preview/mds-file-preview.css +3 -3
  288. package/dist/collection/components/mds-file-preview/mds-file-preview.js +3 -2
  289. package/dist/collection/components/mds-file-preview/pattern.md +2 -3
  290. package/dist/collection/components/mds-filter/AGENTS.md +3 -8
  291. package/dist/collection/components/mds-filter/antipattern.md +2 -2
  292. package/dist/collection/components/mds-filter/documentation.json +27 -13
  293. package/dist/collection/components/mds-filter/mds-filter.css +3 -3
  294. package/dist/collection/components/mds-filter/mds-filter.js +2 -1
  295. package/dist/collection/components/mds-filter/pattern.md +2 -5
  296. package/dist/collection/components/mds-filter-item/AGENTS.md +2 -7
  297. package/dist/collection/components/mds-filter-item/antipattern.md +4 -4
  298. package/dist/collection/components/mds-filter-item/documentation.json +17 -8
  299. package/dist/collection/components/mds-filter-item/mds-filter-item.js +4 -1
  300. package/dist/collection/components/mds-filter-item/pattern.md +5 -7
  301. package/dist/collection/components/mds-header/AGENTS.md +4 -8
  302. package/dist/collection/components/mds-header/documentation.json +28 -13
  303. package/dist/collection/components/mds-header/mds-header.css +7 -7
  304. package/dist/collection/components/mds-header/mds-header.js +2 -1
  305. package/dist/collection/components/mds-header/pattern.md +1 -3
  306. package/dist/collection/components/mds-header-bar/AGENTS.md +2 -4
  307. package/dist/collection/components/mds-header-bar/antipattern.md +6 -8
  308. package/dist/collection/components/mds-header-bar/documentation.json +9 -4
  309. package/dist/collection/components/mds-header-bar/mds-header-bar.js +2 -1
  310. package/dist/collection/components/mds-header-bar/pattern.md +10 -6
  311. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  312. package/dist/collection/components/mds-help/documentation.json +13 -5
  313. package/dist/collection/components/mds-help/mds-help.css +4 -4
  314. package/dist/collection/components/mds-help/mds-help.js +2 -1
  315. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +5 -11
  316. package/dist/collection/components/mds-horizontal-scroll/antipattern.md +2 -2
  317. package/dist/collection/components/mds-horizontal-scroll/documentation.json +34 -14
  318. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -1
  319. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +2 -1
  320. package/dist/collection/components/mds-horizontal-scroll/pattern.md +4 -15
  321. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  322. package/dist/collection/components/mds-hr/documentation.json +7 -2
  323. package/dist/collection/components/mds-hr/mds-hr.js +4 -1
  324. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  325. package/dist/collection/components/mds-icon/documentation.json +5 -1
  326. package/dist/collection/components/mds-icon/mds-icon.js +2 -1
  327. package/dist/collection/components/mds-img/AGENTS.md +3 -5
  328. package/dist/collection/components/mds-img/antipattern.md +1 -1
  329. package/dist/collection/components/mds-img/documentation.json +19 -9
  330. package/dist/collection/components/mds-img/mds-img.css +2 -2
  331. package/dist/collection/components/mds-img/mds-img.js +1 -0
  332. package/dist/collection/components/mds-img/pattern.md +1 -4
  333. package/dist/collection/components/mds-input/AGENTS.md +3 -9
  334. package/dist/collection/components/mds-input/antipattern.md +1 -1
  335. package/dist/collection/components/mds-input/documentation.json +39 -19
  336. package/dist/collection/components/mds-input/mds-input.css +8 -8
  337. package/dist/collection/components/mds-input/mds-input.js +3 -2
  338. package/dist/collection/components/mds-input/pattern.md +1 -3
  339. package/dist/collection/components/mds-input-date/AGENTS.md +3 -8
  340. package/dist/collection/components/mds-input-date/antipattern.md +1 -1
  341. package/dist/collection/components/mds-input-date/documentation.json +31 -15
  342. package/dist/collection/components/mds-input-date/mds-input-date.css +5 -5
  343. package/dist/collection/components/mds-input-date/mds-input-date.js +3 -2
  344. package/dist/collection/components/mds-input-date/pattern.md +1 -2
  345. package/dist/collection/components/mds-input-date-range/AGENTS.md +3 -4
  346. package/dist/collection/components/mds-input-date-range/documentation.json +22 -10
  347. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +5 -5
  348. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +3 -2
  349. package/dist/collection/components/mds-input-date-range/pattern.md +1 -2
  350. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +3 -13
  351. package/dist/collection/components/mds-input-date-range-preselection/antipattern.md +11 -6
  352. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +26 -13
  353. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +2 -1
  354. package/dist/collection/components/mds-input-date-range-preselection/pattern.md +1 -11
  355. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  356. package/dist/collection/components/mds-input-field/documentation.json +9 -3
  357. package/dist/collection/components/mds-input-field/mds-input-field.css +2 -2
  358. package/dist/collection/components/mds-input-field/mds-input-field.js +2 -1
  359. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-input-otp/documentation.json +7 -2
  361. package/dist/collection/components/mds-input-otp/mds-input-otp.js +4 -1
  362. package/dist/collection/components/mds-input-range/AGENTS.md +3 -13
  363. package/dist/collection/components/mds-input-range/antipattern.md +1 -5
  364. package/dist/collection/components/mds-input-range/documentation.json +26 -13
  365. package/dist/collection/components/mds-input-range/mds-input-range.js +2 -1
  366. package/dist/collection/components/mds-input-range/pattern.md +2 -12
  367. package/dist/collection/components/mds-input-select/AGENTS.md +3 -7
  368. package/dist/collection/components/mds-input-select/antipattern.md +1 -1
  369. package/dist/collection/components/mds-input-select/documentation.json +25 -12
  370. package/dist/collection/components/mds-input-select/mds-input-select.css +3 -3
  371. package/dist/collection/components/mds-input-select/mds-input-select.js +3 -2
  372. package/dist/collection/components/mds-input-select/pattern.md +1 -3
  373. package/dist/collection/components/mds-input-switch/AGENTS.md +2 -30
  374. package/dist/collection/components/mds-input-switch/antipattern.md +5 -6
  375. package/dist/collection/components/mds-input-switch/documentation.json +61 -30
  376. package/dist/collection/components/mds-input-switch/mds-input-switch.js +2 -1
  377. package/dist/collection/components/mds-input-switch/pattern.md +2 -11
  378. package/dist/collection/components/mds-input-tip/AGENTS.md +3 -5
  379. package/dist/collection/components/mds-input-tip/antipattern.md +10 -6
  380. package/dist/collection/components/mds-input-tip/documentation.json +17 -8
  381. package/dist/collection/components/mds-input-tip/mds-input-tip.css +1 -1
  382. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -1
  383. package/dist/collection/components/mds-input-tip/pattern.md +1 -4
  384. package/dist/collection/components/mds-input-tip-item/AGENTS.md +4 -3
  385. package/dist/collection/components/mds-input-tip-item/antipattern.md +2 -2
  386. package/dist/collection/components/mds-input-tip-item/documentation.json +14 -7
  387. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +2 -2
  388. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -2
  389. package/dist/collection/components/mds-input-tip-item/pattern.md +1 -2
  390. package/dist/collection/components/mds-input-upload/AGENTS.md +3 -5
  391. package/dist/collection/components/mds-input-upload/antipattern.md +2 -3
  392. package/dist/collection/components/mds-input-upload/documentation.json +19 -9
  393. package/dist/collection/components/mds-input-upload/mds-input-upload.css +1 -1
  394. package/dist/collection/components/mds-input-upload/mds-input-upload.js +8 -5
  395. package/dist/collection/components/mds-input-upload/pattern.md +1 -5
  396. package/dist/collection/components/mds-keyboard/AGENTS.md +3 -18
  397. package/dist/collection/components/mds-keyboard/antipattern.md +3 -3
  398. package/dist/collection/components/mds-keyboard/documentation.json +47 -23
  399. package/dist/collection/components/mds-keyboard/mds-keyboard.css +17 -5
  400. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -1
  401. package/dist/collection/components/mds-keyboard/pattern.md +1 -2
  402. package/dist/collection/components/mds-keyboard-key/AGENTS.md +3 -6
  403. package/dist/collection/components/mds-keyboard-key/antipattern.md +1 -2
  404. package/dist/collection/components/mds-keyboard-key/documentation.json +21 -10
  405. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +7 -3
  406. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +4 -1
  407. package/dist/collection/components/mds-keyboard-key/pattern.md +1 -12
  408. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-kpi/documentation.json +10 -4
  410. package/dist/collection/components/mds-kpi/mds-kpi.css +2 -2
  411. package/dist/collection/components/mds-kpi/mds-kpi.js +2 -1
  412. package/dist/collection/components/mds-kpi/pattern.md +7 -4
  413. package/dist/collection/components/mds-kpi-item/AGENTS.md +3 -8
  414. package/dist/collection/components/mds-kpi-item/antipattern.md +2 -4
  415. package/dist/collection/components/mds-kpi-item/documentation.json +16 -8
  416. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +2 -1
  417. package/dist/collection/components/mds-kpi-item/pattern.md +9 -7
  418. package/dist/collection/components/mds-label/AGENTS.md +3 -7
  419. package/dist/collection/components/mds-label/documentation.json +24 -11
  420. package/dist/collection/components/mds-label/mds-label.css +2 -2
  421. package/dist/collection/components/mds-label/mds-label.js +4 -1
  422. package/dist/collection/components/mds-label/pattern.md +1 -3
  423. package/dist/collection/components/mds-link/AGENTS.md +4 -9
  424. package/dist/collection/components/mds-link/documentation.json +22 -10
  425. package/dist/collection/components/mds-link/mds-link.css +1 -1
  426. package/dist/collection/components/mds-link/mds-link.js +4 -3
  427. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-list/documentation.json +6 -2
  429. package/dist/collection/components/mds-list/mds-list.js +2 -1
  430. package/dist/collection/components/mds-list/pattern.md +5 -5
  431. package/dist/collection/components/mds-list-item/AGENTS.md +2 -4
  432. package/dist/collection/components/mds-list-item/antipattern.md +1 -1
  433. package/dist/collection/components/mds-list-item/documentation.json +9 -4
  434. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -1
  435. package/dist/collection/components/mds-list-item/pattern.md +4 -4
  436. package/dist/collection/components/mds-mention/AGENTS.md +2 -4
  437. package/dist/collection/components/mds-mention/antipattern.md +5 -5
  438. package/dist/collection/components/mds-mention/documentation.json +11 -5
  439. package/dist/collection/components/mds-mention/mds-mention.js +4 -1
  440. package/dist/collection/components/mds-mention/pattern.md +3 -5
  441. package/dist/collection/components/mds-modal/AGENTS.md +3 -9
  442. package/dist/collection/components/mds-modal/antipattern.md +1 -3
  443. package/dist/collection/components/mds-modal/documentation.json +37 -18
  444. package/dist/collection/components/mds-modal/mds-modal.css +7 -7
  445. package/dist/collection/components/mds-modal/mds-modal.js +4 -3
  446. package/dist/collection/components/mds-modal/pattern.md +2 -6
  447. package/dist/collection/components/mds-note/AGENTS.md +3 -5
  448. package/dist/collection/components/mds-note/documentation.json +18 -8
  449. package/dist/collection/components/mds-note/mds-note.css +2 -2
  450. package/dist/collection/components/mds-note/mds-note.js +2 -1
  451. package/dist/collection/components/mds-note/pattern.md +1 -3
  452. package/dist/collection/components/mds-notification/AGENTS.md +3 -11
  453. package/dist/collection/components/mds-notification/antipattern.md +2 -2
  454. package/dist/collection/components/mds-notification/documentation.json +33 -16
  455. package/dist/collection/components/mds-notification/mds-notification.css +2 -2
  456. package/dist/collection/components/mds-notification/mds-notification.js +4 -1
  457. package/dist/collection/components/mds-notification/pattern.md +3 -5
  458. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  459. package/dist/collection/components/mds-paginator/documentation.json +12 -5
  460. package/dist/collection/components/mds-paginator/mds-paginator.css +2 -2
  461. package/dist/collection/components/mds-paginator/mds-paginator.js +4 -1
  462. package/dist/collection/components/mds-paginator/pattern.md +1 -3
  463. package/dist/collection/components/mds-paginator-item/AGENTS.md +3 -10
  464. package/dist/collection/components/mds-paginator-item/documentation.json +34 -16
  465. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +5 -5
  466. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -1
  467. package/dist/collection/components/mds-paginator-item/pattern.md +5 -6
  468. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-policy-ai/documentation.json +6 -2
  470. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +2 -1
  471. package/dist/collection/components/mds-policy-ai/pattern.md +4 -4
  472. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  473. package/dist/collection/components/mds-pref/documentation.json +5 -5
  474. package/dist/collection/components/mds-pref/mds-pref.js +2 -2
  475. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  476. package/dist/collection/components/mds-pref-animation/documentation.json +7 -2
  477. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -1
  478. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  479. package/dist/collection/components/mds-pref-consumption/documentation.json +7 -2
  480. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -1
  481. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  482. package/dist/collection/components/mds-pref-contrast/documentation.json +7 -2
  483. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +4 -1
  484. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  485. package/dist/collection/components/mds-pref-language/documentation.json +5 -1
  486. package/dist/collection/components/mds-pref-language/mds-pref-language.js +2 -1
  487. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  488. package/dist/collection/components/mds-pref-language-item/documentation.json +7 -2
  489. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +4 -1
  490. package/dist/collection/components/mds-pref-mode/AGENTS.md +3 -3
  491. package/dist/collection/components/mds-pref-mode/antipattern.md +1 -2
  492. package/dist/collection/components/mds-pref-mode/documentation.json +15 -7
  493. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +1 -1
  494. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +4 -1
  495. package/dist/collection/components/mds-pref-mode/pattern.md +1 -3
  496. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  497. package/dist/collection/components/mds-pref-theme/documentation.json +6 -2
  498. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +2 -1
  499. package/dist/collection/components/mds-pref-theme/pattern.md +1 -2
  500. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +3 -5
  501. package/dist/collection/components/mds-pref-theme-item/antipattern.md +1 -2
  502. package/dist/collection/components/mds-pref-theme-item/documentation.json +19 -9
  503. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +1 -1
  504. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +4 -1
  505. package/dist/collection/components/mds-pref-theme-item/pattern.md +2 -6
  506. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  507. package/dist/collection/components/mds-price-table/documentation.json +6 -2
  508. package/dist/collection/components/mds-price-table/mds-price-table.js +2 -1
  509. package/dist/collection/components/mds-price-table/pattern.md +4 -4
  510. package/dist/collection/components/mds-price-table-features/AGENTS.md +4 -3
  511. package/dist/collection/components/mds-price-table-features/antipattern.md +0 -1
  512. package/dist/collection/components/mds-price-table-features/documentation.json +12 -6
  513. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +1 -1
  514. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -1
  515. package/dist/collection/components/mds-price-table-features/pattern.md +2 -3
  516. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +3 -6
  517. package/dist/collection/components/mds-price-table-features-cell/antipattern.md +3 -3
  518. package/dist/collection/components/mds-price-table-features-cell/documentation.json +19 -9
  519. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +1 -1
  520. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -1
  521. package/dist/collection/components/mds-price-table-features-cell/pattern.md +1 -6
  522. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +3 -3
  523. package/dist/collection/components/mds-price-table-features-row/documentation.json +14 -6
  524. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +2 -2
  525. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +2 -1
  526. package/dist/collection/components/mds-price-table-features-row/pattern.md +1 -3
  527. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  528. package/dist/collection/components/mds-price-table-header/documentation.json +5 -1
  529. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +2 -1
  530. package/dist/collection/components/mds-price-table-list/AGENTS.md +3 -5
  531. package/dist/collection/components/mds-price-table-list/antipattern.md +1 -4
  532. package/dist/collection/components/mds-price-table-list/documentation.json +10 -5
  533. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +2 -1
  534. package/dist/collection/components/mds-price-table-list/pattern.md +12 -7
  535. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +2 -6
  536. package/dist/collection/components/mds-price-table-list-item/antipattern.md +1 -5
  537. package/dist/collection/components/mds-price-table-list-item/documentation.json +13 -6
  538. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +2 -1
  539. package/dist/collection/components/mds-price-table-list-item/pattern.md +7 -4
  540. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  541. package/dist/collection/components/mds-progress/documentation.json +15 -6
  542. package/dist/collection/components/mds-progress/mds-progress.css +5 -5
  543. package/dist/collection/components/mds-progress/mds-progress.js +2 -1
  544. package/dist/collection/components/mds-push-notification/AGENTS.md +4 -7
  545. package/dist/collection/components/mds-push-notification/antipattern.md +2 -2
  546. package/dist/collection/components/mds-push-notification/documentation.json +24 -12
  547. package/dist/collection/components/mds-push-notification/mds-push-notification.css +11 -11
  548. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -1
  549. package/dist/collection/components/mds-push-notification/pattern.md +2 -5
  550. package/dist/collection/components/mds-push-notification-item/AGENTS.md +3 -5
  551. package/dist/collection/components/mds-push-notification-item/documentation.json +20 -9
  552. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +3 -3
  553. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +3 -2
  554. package/dist/collection/components/mds-push-notification-item/pattern.md +1 -3
  555. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  556. package/dist/collection/components/mds-quote/documentation.json +5 -1
  557. package/dist/collection/components/mds-quote/mds-quote.js +2 -1
  558. package/dist/collection/components/mds-radial-menu/AGENTS.md +4 -11
  559. package/dist/collection/components/mds-radial-menu/documentation.json +31 -15
  560. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +3 -3
  561. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +2 -1
  562. package/dist/collection/components/mds-radial-menu/pattern.md +2 -6
  563. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +2 -5
  564. package/dist/collection/components/mds-radial-menu-item/antipattern.md +7 -5
  565. package/dist/collection/components/mds-radial-menu-item/documentation.json +13 -6
  566. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +4 -1
  567. package/dist/collection/components/mds-radial-menu-item/pattern.md +6 -8
  568. package/dist/collection/components/mds-radial-progress/AGENTS.md +3 -3
  569. package/dist/collection/components/mds-radial-progress/documentation.json +15 -6
  570. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +3 -3
  571. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +2 -1
  572. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  573. package/dist/collection/components/mds-separator/documentation.json +9 -3
  574. package/dist/collection/components/mds-separator/mds-separator.css +1 -1
  575. package/dist/collection/components/mds-separator/mds-separator.js +4 -1
  576. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  577. package/dist/collection/components/mds-spinner/documentation.json +9 -3
  578. package/dist/collection/components/mds-spinner/mds-spinner.css +1 -1
  579. package/dist/collection/components/mds-spinner/mds-spinner.js +4 -1
  580. package/dist/collection/components/mds-status-bar/AGENTS.md +3 -3
  581. package/dist/collection/components/mds-status-bar/antipattern.md +0 -1
  582. package/dist/collection/components/mds-status-bar/documentation.json +13 -6
  583. package/dist/collection/components/mds-status-bar/mds-status-bar.css +1 -1
  584. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -1
  585. package/dist/collection/components/mds-status-bar/pattern.md +1 -3
  586. package/dist/collection/components/mds-stepper-bar/AGENTS.md +3 -7
  587. package/dist/collection/components/mds-stepper-bar/documentation.json +22 -10
  588. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +2 -2
  589. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +2 -1
  590. package/dist/collection/components/mds-stepper-bar/pattern.md +2 -6
  591. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +3 -11
  592. package/dist/collection/components/mds-stepper-bar-item/antipattern.md +3 -3
  593. package/dist/collection/components/mds-stepper-bar-item/documentation.json +31 -15
  594. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +2 -2
  595. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +2 -1
  596. package/dist/collection/components/mds-stepper-bar-item/pattern.md +2 -5
  597. package/dist/collection/components/mds-tab/AGENTS.md +3 -27
  598. package/dist/collection/components/mds-tab/antipattern.md +1 -3
  599. package/dist/collection/components/mds-tab/documentation.json +67 -33
  600. package/dist/collection/components/mds-tab/mds-tab.css +5 -5
  601. package/dist/collection/components/mds-tab/mds-tab.js +3 -2
  602. package/dist/collection/components/mds-tab/pattern.md +3 -13
  603. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  604. package/dist/collection/components/mds-tab-bar/antipattern.md +2 -2
  605. package/dist/collection/components/mds-tab-bar/documentation.json +7 -3
  606. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -1
  607. package/dist/collection/components/mds-tab-bar/pattern.md +3 -3
  608. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +4 -4
  609. package/dist/collection/components/mds-tab-bar-item/documentation.json +15 -7
  610. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  611. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -1
  612. package/dist/collection/components/mds-tab-bar-item/pattern.md +1 -3
  613. package/dist/collection/components/mds-tab-item/AGENTS.md +2 -8
  614. package/dist/collection/components/mds-tab-item/antipattern.md +3 -3
  615. package/dist/collection/components/mds-tab-item/documentation.json +17 -8
  616. package/dist/collection/components/mds-tab-item/mds-tab-item.js +2 -1
  617. package/dist/collection/components/mds-tab-item/pattern.md +6 -5
  618. package/dist/collection/components/mds-table/AGENTS.md +3 -7
  619. package/dist/collection/components/mds-table/documentation.json +24 -11
  620. package/dist/collection/components/mds-table/mds-table.css +3 -3
  621. package/dist/collection/components/mds-table/mds-table.js +2 -1
  622. package/dist/collection/components/mds-table/pattern.md +2 -6
  623. package/dist/collection/components/mds-table-body/AGENTS.md +3 -4
  624. package/dist/collection/components/mds-table-body/antipattern.md +1 -2
  625. package/dist/collection/components/mds-table-body/documentation.json +17 -8
  626. package/dist/collection/components/mds-table-body/mds-table-body.css +2 -2
  627. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -1
  628. package/dist/collection/components/mds-table-body/pattern.md +1 -4
  629. package/dist/collection/components/mds-table-cell/AGENTS.md +4 -4
  630. package/dist/collection/components/mds-table-cell/antipattern.md +1 -1
  631. package/dist/collection/components/mds-table-cell/documentation.json +16 -8
  632. package/dist/collection/components/mds-table-cell/mds-table-cell.css +2 -2
  633. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -1
  634. package/dist/collection/components/mds-table-cell/pattern.md +1 -7
  635. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  636. package/dist/collection/components/mds-table-footer/antipattern.md +2 -2
  637. package/dist/collection/components/mds-table-footer/documentation.json +7 -3
  638. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -1
  639. package/dist/collection/components/mds-table-footer/pattern.md +2 -4
  640. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  641. package/dist/collection/components/mds-table-header/documentation.json +5 -1
  642. package/dist/collection/components/mds-table-header/mds-table-header.js +2 -1
  643. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  644. package/dist/collection/components/mds-table-header-cell/documentation.json +5 -1
  645. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +2 -1
  646. package/dist/collection/components/mds-table-row/AGENTS.md +2 -8
  647. package/dist/collection/components/mds-table-row/antipattern.md +4 -5
  648. package/dist/collection/components/mds-table-row/documentation.json +17 -8
  649. package/dist/collection/components/mds-table-row/mds-table-row.js +4 -3
  650. package/dist/collection/components/mds-table-row/pattern.md +5 -8
  651. package/dist/collection/components/mds-text/AGENTS.md +3 -3
  652. package/dist/collection/components/mds-text/antipattern.md +1 -2
  653. package/dist/collection/components/mds-text/documentation.json +17 -8
  654. package/dist/collection/components/mds-text/mds-text.css +3 -3
  655. package/dist/collection/components/mds-text/mds-text.js +2 -1
  656. package/dist/collection/components/mds-text/pattern.md +0 -11
  657. package/dist/collection/components/mds-toast/AGENTS.md +3 -3
  658. package/dist/collection/components/mds-toast/antipattern.md +2 -2
  659. package/dist/collection/components/mds-toast/documentation.json +19 -9
  660. package/dist/collection/components/mds-toast/mds-toast.css +4 -4
  661. package/dist/collection/components/mds-toast/mds-toast.js +2 -1
  662. package/dist/collection/components/mds-toast/pattern.md +2 -3
  663. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  664. package/dist/collection/components/mds-toast-region/documentation.json +7 -2
  665. package/dist/collection/components/mds-toast-region/mds-toast-region.css +1 -1
  666. package/dist/collection/components/mds-toast-region/mds-toast-region.js +2 -1
  667. package/dist/collection/components/mds-tooltip/AGENTS.md +3 -8
  668. package/dist/collection/components/mds-tooltip/antipattern.md +1 -1
  669. package/dist/collection/components/mds-tooltip/documentation.json +27 -13
  670. package/dist/collection/components/mds-tooltip/mds-tooltip.css +5 -5
  671. package/dist/collection/components/mds-tooltip/mds-tooltip.js +2 -1
  672. package/dist/collection/components/mds-tooltip/pattern.md +1 -3
  673. package/dist/collection/components/mds-tree/AGENTS.md +3 -28
  674. package/dist/collection/components/mds-tree/antipattern.md +3 -4
  675. package/dist/collection/components/mds-tree/documentation.json +63 -31
  676. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  677. package/dist/collection/components/mds-tree/mds-tree.js +2 -1
  678. package/dist/collection/components/mds-tree/pattern.md +3 -9
  679. package/dist/collection/components/mds-tree-item/AGENTS.md +2 -33
  680. package/dist/collection/components/mds-tree-item/antipattern.md +1 -5
  681. package/dist/collection/components/mds-tree-item/documentation.json +67 -33
  682. package/dist/collection/components/mds-tree-item/mds-tree-item.js +2 -1
  683. package/dist/collection/components/mds-tree-item/pattern.md +5 -10
  684. package/dist/collection/components/mds-url-view/AGENTS.md +3 -2
  685. package/dist/collection/components/mds-url-view/antipattern.md +1 -2
  686. package/dist/collection/components/mds-url-view/documentation.json +19 -9
  687. package/dist/collection/components/mds-url-view/mds-url-view.css +4 -4
  688. package/dist/collection/components/mds-url-view/mds-url-view.js +4 -1
  689. package/dist/collection/components/mds-url-view/pattern.md +1 -2
  690. package/dist/collection/components/mds-usage/AGENTS.md +2 -6
  691. package/dist/collection/components/mds-usage/antipattern.md +6 -4
  692. package/dist/collection/components/mds-usage/documentation.json +13 -6
  693. package/dist/collection/components/mds-usage/mds-usage.js +2 -1
  694. package/dist/collection/components/mds-usage/pattern.md +10 -6
  695. package/dist/collection/components/mds-video-wall/AGENTS.md +3 -4
  696. package/dist/collection/components/mds-video-wall/antipattern.md +5 -5
  697. package/dist/collection/components/mds-video-wall/documentation.json +15 -7
  698. package/dist/collection/components/mds-video-wall/mds-video-wall.css +1 -1
  699. package/dist/collection/components/mds-video-wall/mds-video-wall.js +2 -1
  700. package/dist/collection/components/mds-video-wall/pattern.md +2 -4
  701. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  702. package/dist/collection/components/mds-zero/antipattern.md +6 -6
  703. package/dist/collection/components/mds-zero/documentation.json +9 -4
  704. package/dist/collection/components/mds-zero/mds-zero.css +1 -1
  705. package/dist/collection/components/mds-zero/mds-zero.js +2 -1
  706. package/dist/collection/components/mds-zero/pattern.md +3 -3
  707. package/dist/components/index.d.ts +2 -0
  708. package/dist/components/index.js +1 -1
  709. package/dist/components/mds-accordion-item.js +1 -1
  710. package/dist/components/mds-accordion-timer-item.js +1 -1
  711. package/dist/components/mds-accordion-timer.js +1 -1
  712. package/dist/components/mds-accordion.js +1 -1
  713. package/dist/components/mds-author.js +1 -1
  714. package/dist/components/mds-avatar-stack-item.js +1 -1
  715. package/dist/components/mds-avatar-stack.js +1 -1
  716. package/dist/components/mds-avatar.js +1 -1
  717. package/dist/components/mds-badge.js +1 -1
  718. package/dist/components/mds-banner.js +1 -1
  719. package/dist/components/mds-benchmark-bar.js +1 -1
  720. package/dist/components/mds-bibliography.js +1 -1
  721. package/dist/components/mds-book.d.ts +11 -0
  722. package/dist/components/mds-book.js +1 -0
  723. package/dist/components/mds-breadcrumb-item.js +1 -1
  724. package/dist/components/mds-breadcrumb.js +1 -1
  725. package/dist/components/mds-button-dropdown.js +1 -1
  726. package/dist/components/mds-button-group.js +1 -1
  727. package/dist/components/mds-button.js +1 -1
  728. package/dist/components/mds-calendar-cell.js +1 -1
  729. package/dist/components/mds-calendar.js +1 -1
  730. package/dist/components/mds-card-content.js +1 -1
  731. package/dist/components/mds-card-footer.js +1 -1
  732. package/dist/components/mds-card-header.js +1 -1
  733. package/dist/components/mds-card-media.js +1 -1
  734. package/dist/components/mds-card.js +1 -1
  735. package/dist/components/mds-chip.js +1 -1
  736. package/dist/components/mds-details.js +1 -1
  737. package/dist/components/mds-dropdown.js +1 -1
  738. package/dist/components/mds-emoji.js +2 -2
  739. package/dist/components/mds-entity.js +1 -1
  740. package/dist/components/mds-file-preview.js +1 -1
  741. package/dist/components/mds-file.js +1 -1
  742. package/dist/components/mds-filter-item.js +1 -1
  743. package/dist/components/mds-filter.js +1 -1
  744. package/dist/components/mds-header-bar.js +1 -1
  745. package/dist/components/mds-header.js +1 -1
  746. package/dist/components/mds-help.js +1 -1
  747. package/dist/components/mds-horizontal-scroll.js +1 -1
  748. package/dist/components/mds-hr.js +1 -1
  749. package/dist/components/mds-icon.js +1 -1
  750. package/dist/components/mds-img.js +1 -1
  751. package/dist/components/mds-input-date-range-preselection.js +1 -1
  752. package/dist/components/mds-input-date-range.js +1 -1
  753. package/dist/components/mds-input-date.js +1 -1
  754. package/dist/components/mds-input-field.js +1 -1
  755. package/dist/components/mds-input-otp.js +1 -1
  756. package/dist/components/mds-input-range.js +1 -1
  757. package/dist/components/mds-input-select.js +1 -1
  758. package/dist/components/mds-input-switch.js +1 -1
  759. package/dist/components/mds-input-tip-item.js +1 -1
  760. package/dist/components/mds-input-tip.js +1 -1
  761. package/dist/components/mds-input-upload.js +1 -1
  762. package/dist/components/mds-input.js +1 -1
  763. package/dist/components/mds-keyboard-key.js +1 -1
  764. package/dist/components/mds-keyboard.js +1 -1
  765. package/dist/components/mds-kpi-item.js +1 -1
  766. package/dist/components/mds-kpi.js +1 -1
  767. package/dist/components/mds-label.js +1 -1
  768. package/dist/components/mds-link.js +1 -1
  769. package/dist/components/mds-list-item.js +1 -1
  770. package/dist/components/mds-list.js +1 -1
  771. package/dist/components/mds-mention.js +1 -1
  772. package/dist/components/mds-modal.js +1 -1
  773. package/dist/components/mds-note.js +1 -1
  774. package/dist/components/mds-notification.js +1 -1
  775. package/dist/components/mds-paginator-item.js +1 -1
  776. package/dist/components/mds-paginator.js +1 -1
  777. package/dist/components/mds-policy-ai.js +1 -1
  778. package/dist/components/mds-pref-animation.js +1 -1
  779. package/dist/components/mds-pref-consumption.js +1 -1
  780. package/dist/components/mds-pref-contrast.js +1 -1
  781. package/dist/components/mds-pref-language-item.js +1 -1
  782. package/dist/components/mds-pref-language.js +1 -1
  783. package/dist/components/mds-pref-mode.js +1 -1
  784. package/dist/components/mds-pref-theme-item.js +1 -1
  785. package/dist/components/mds-pref-theme.js +1 -1
  786. package/dist/components/mds-pref.js +1 -1
  787. package/dist/components/mds-price-table-features-cell.js +1 -1
  788. package/dist/components/mds-price-table-features-row.js +1 -1
  789. package/dist/components/mds-price-table-features.js +1 -1
  790. package/dist/components/mds-price-table-header.js +1 -1
  791. package/dist/components/mds-price-table-list-item.js +1 -1
  792. package/dist/components/mds-price-table-list.js +1 -1
  793. package/dist/components/mds-price-table.js +1 -1
  794. package/dist/components/mds-progress.js +1 -1
  795. package/dist/components/mds-push-notification-item.js +1 -1
  796. package/dist/components/mds-push-notification.js +1 -1
  797. package/dist/components/mds-quote.js +1 -1
  798. package/dist/components/mds-radial-menu-item.js +1 -1
  799. package/dist/components/mds-radial-menu.js +1 -1
  800. package/dist/components/mds-radial-progress.js +1 -1
  801. package/dist/components/mds-separator.js +1 -1
  802. package/dist/components/mds-spinner.js +1 -1
  803. package/dist/components/mds-status-bar.js +1 -1
  804. package/dist/components/mds-stepper-bar-item.js +1 -1
  805. package/dist/components/mds-stepper-bar.js +1 -1
  806. package/dist/components/mds-tab-bar-item.js +1 -1
  807. package/dist/components/mds-tab-bar.js +1 -1
  808. package/dist/components/mds-tab-item.js +1 -1
  809. package/dist/components/mds-tab.js +1 -1
  810. package/dist/components/mds-table-body.js +1 -1
  811. package/dist/components/mds-table-cell.js +1 -1
  812. package/dist/components/mds-table-footer.js +1 -1
  813. package/dist/components/mds-table-header-cell.js +1 -1
  814. package/dist/components/mds-table-header.js +1 -1
  815. package/dist/components/mds-table-row.js +1 -1
  816. package/dist/components/mds-table.js +1 -1
  817. package/dist/components/mds-text.js +1 -1
  818. package/dist/components/mds-toast-region.js +1 -1
  819. package/dist/components/mds-toast.js +1 -1
  820. package/dist/components/mds-tooltip.js +1 -1
  821. package/dist/components/mds-tree-item.js +1 -1
  822. package/dist/components/mds-tree.js +1 -1
  823. package/dist/components/mds-url-view.js +1 -1
  824. package/dist/components/mds-usage.js +1 -1
  825. package/dist/components/mds-video-wall.js +1 -1
  826. package/dist/components/mds-zero.js +1 -1
  827. package/dist/components/p-B8hgyXdE.js +1 -0
  828. package/dist/components/{p-DkUdrGHq.js → p-BBO_llcO.js} +1 -1
  829. package/dist/components/{p-D0A8gS-P.js → p-BM7joOdq.js} +1 -1
  830. package/dist/components/{p-DNeEn8Rr.js → p-BMIaZ4HY.js} +1 -1
  831. package/dist/components/{p-BwJQB6rG.js → p-BOJQ3tkp.js} +1 -1
  832. package/dist/components/{p-CJYY4da7.js → p-BU1O2DcC.js} +1 -1
  833. package/dist/components/{p-CaROqeeK.js → p-Bo6ezD1p.js} +1 -1
  834. package/dist/components/p-C0H8bZpf.js +1 -0
  835. package/dist/components/{p-s1CktmPS.js → p-C1YH20BL.js} +1 -1
  836. package/dist/components/{p-Cmn1DJAB.js → p-CEw7GvM-.js} +1 -1
  837. package/dist/components/{p-D-DdDIb9.js → p-CNUWS_Mg.js} +1 -1
  838. package/dist/components/{p-DucY18_e.js → p-CNpL55c-.js} +1 -1
  839. package/dist/components/{p-DnySYX0L.js → p-CV7wjM1c.js} +1 -1
  840. package/dist/components/{p-BU3bsIX2.js → p-CWSIl1jl.js} +1 -1
  841. package/dist/components/{p-DFD4E9zJ.js → p-CYK2Xr_v.js} +1 -1
  842. package/dist/components/p-Czqtt8kO.js +1 -0
  843. package/dist/components/{p-Dm-OUwDe.js → p-DD2muCqG.js} +1 -1
  844. package/dist/components/{p-ZuubAcA3.js → p-DDTJwlAd.js} +1 -1
  845. package/dist/components/{p-5lLueiFt.js → p-DJ401QTd.js} +1 -1
  846. package/dist/components/{p-BbK4qeM7.js → p-DMyL4CYh.js} +1 -1
  847. package/dist/components/{p-Cu5nEwMu.js → p-DbVGGhs_.js} +1 -1
  848. package/dist/components/{p-C4XdTZQ-.js → p-DccBbfK8.js} +1 -1
  849. package/dist/components/{p-BbgQG1UL.js → p-H0YXZ5fD.js} +2 -2
  850. package/dist/components/{p-yNPPTJ7i.js → p-IaXq1Xsc.js} +1 -1
  851. package/dist/components/{p-ClPv-Ljc.js → p-M8dGB4KH.js} +1 -1
  852. package/dist/components/{p-CPvuXO7s.js → p-TNn_HE5x.js} +1 -1
  853. package/dist/components/{p-CNF3u0Li.js → p-aujz-VM9.js} +1 -1
  854. package/dist/components/{p-CSxW5f2f.js → p-e9NGNm7d.js} +1 -1
  855. package/dist/components/{p-DkYDXDkD.js → p-kZBPId_x.js} +1 -1
  856. package/dist/components/{p-BO-jHv-F.js → p-qnCVkeGX.js} +1 -1
  857. package/dist/documentation.json +2613 -918
  858. package/dist/esm/index-CvLLN-QH.js +4 -0
  859. package/dist/esm/loader.js +1 -1
  860. package/dist/esm/magma-components.js +1 -1
  861. package/dist/esm/mds-accordion-item.entry.js +1 -1
  862. package/dist/esm/mds-accordion-timer-item.entry.js +1 -1
  863. package/dist/esm/mds-accordion-timer.entry.js +1 -1
  864. package/dist/esm/mds-accordion.entry.js +1 -1
  865. package/dist/esm/mds-author.entry.js +1 -1
  866. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  867. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  868. package/dist/esm/mds-avatar.entry.js +1 -1
  869. package/dist/esm/mds-badge.entry.js +1 -1
  870. package/dist/esm/mds-banner_3.entry.js +3 -3
  871. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  872. package/dist/esm/mds-bibliography.entry.js +1 -1
  873. package/dist/esm/mds-book.entry.js +701 -0
  874. package/dist/esm/mds-breadcrumb-item.entry.js +1 -1
  875. package/dist/esm/mds-breadcrumb.entry.js +1 -1
  876. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  877. package/dist/esm/mds-button-group.entry.js +1 -1
  878. package/dist/esm/mds-button_3.entry.js +6 -6
  879. package/dist/esm/mds-calendar_2.entry.js +6 -6
  880. package/dist/esm/mds-card-content.entry.js +1 -1
  881. package/dist/esm/mds-card-footer.entry.js +1 -1
  882. package/dist/esm/mds-card-header.entry.js +1 -1
  883. package/dist/esm/mds-card-media.entry.js +1 -1
  884. package/dist/esm/mds-card.entry.js +1 -1
  885. package/dist/esm/mds-details.entry.js +1 -1
  886. package/dist/esm/mds-dropdown.entry.js +2 -2
  887. package/dist/esm/mds-emoji.entry.js +1 -1
  888. package/dist/esm/mds-entity.entry.js +1 -1
  889. package/dist/esm/mds-file-preview.entry.js +2 -2
  890. package/dist/esm/mds-file.entry.js +1 -1
  891. package/dist/esm/mds-filter-item.entry.js +1 -1
  892. package/dist/esm/mds-filter.entry.js +1 -1
  893. package/dist/esm/mds-header-bar.entry.js +1 -1
  894. package/dist/esm/mds-header.entry.js +2 -2
  895. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  896. package/dist/esm/mds-hr.entry.js +1 -1
  897. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  898. package/dist/esm/mds-input-date-range.entry.js +2 -2
  899. package/dist/esm/mds-input-date.entry.js +2 -2
  900. package/dist/esm/mds-input-field.entry.js +1 -1
  901. package/dist/esm/mds-input-otp.entry.js +1 -1
  902. package/dist/esm/mds-input-range.entry.js +1 -1
  903. package/dist/esm/mds-input-select.entry.js +2 -2
  904. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  905. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  906. package/dist/esm/mds-input-upload.entry.js +5 -5
  907. package/dist/esm/mds-input.entry.js +2 -2
  908. package/dist/esm/mds-keyboard-key.entry.js +2 -2
  909. package/dist/esm/mds-keyboard.entry.js +2 -2
  910. package/dist/esm/mds-kpi-item.entry.js +1 -1
  911. package/dist/esm/mds-kpi.entry.js +1 -1
  912. package/dist/esm/mds-label.entry.js +1 -1
  913. package/dist/esm/mds-link.entry.js +3 -3
  914. package/dist/esm/mds-list-item.entry.js +1 -1
  915. package/dist/esm/mds-list.entry.js +1 -1
  916. package/dist/esm/mds-mention.entry.js +1 -1
  917. package/dist/esm/mds-modal.entry.js +3 -3
  918. package/dist/esm/mds-note.entry.js +1 -1
  919. package/dist/esm/mds-notification.entry.js +1 -1
  920. package/dist/esm/mds-paginator-item.entry.js +1 -1
  921. package/dist/esm/mds-paginator.entry.js +1 -1
  922. package/dist/esm/mds-policy-ai.entry.js +1 -1
  923. package/dist/esm/mds-pref-animation.entry.js +1 -1
  924. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  925. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  926. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  927. package/dist/esm/mds-pref-language.entry.js +1 -1
  928. package/dist/esm/mds-pref-mode.entry.js +1 -1
  929. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  930. package/dist/esm/mds-pref-theme.entry.js +1 -1
  931. package/dist/esm/mds-pref.entry.js +1 -1
  932. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  933. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  934. package/dist/esm/mds-price-table-features.entry.js +1 -1
  935. package/dist/esm/mds-price-table-header.entry.js +1 -1
  936. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  937. package/dist/esm/mds-price-table-list.entry.js +1 -1
  938. package/dist/esm/mds-price-table.entry.js +1 -1
  939. package/dist/esm/mds-progress_2.entry.js +2 -2
  940. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  941. package/dist/esm/mds-push-notification.entry.js +2 -2
  942. package/dist/esm/mds-quote.entry.js +1 -1
  943. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  944. package/dist/esm/mds-radial-menu.entry.js +1 -1
  945. package/dist/esm/mds-separator.entry.js +1 -1
  946. package/dist/esm/mds-status-bar.entry.js +1 -1
  947. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  948. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  949. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  950. package/dist/esm/mds-tab-bar.entry.js +1 -1
  951. package/dist/esm/mds-tab_2.entry.js +4 -4
  952. package/dist/esm/mds-table-body.entry.js +1 -1
  953. package/dist/esm/mds-table-footer.entry.js +1 -1
  954. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  955. package/dist/esm/mds-table-header.entry.js +1 -1
  956. package/dist/esm/mds-table-row.entry.js +2 -2
  957. package/dist/esm/mds-table.entry.js +1 -1
  958. package/dist/esm/mds-text.entry.js +1 -1
  959. package/dist/esm/mds-toast-region.entry.js +1 -1
  960. package/dist/esm/mds-toast.entry.js +1 -1
  961. package/dist/esm/mds-tooltip.entry.js +2 -2
  962. package/dist/esm/mds-tree-item.entry.js +1 -1
  963. package/dist/esm/mds-tree.entry.js +1 -1
  964. package/dist/esm/mds-url-view.entry.js +1 -1
  965. package/dist/esm/mds-usage.entry.js +1 -1
  966. package/dist/esm/mds-video-wall.entry.js +1 -1
  967. package/dist/esm/mds-zero.entry.js +1 -1
  968. package/dist/esm-es5/index-CvLLN-QH.js +8 -6
  969. package/dist/esm-es5/loader.js +1 -1
  970. package/dist/esm-es5/magma-components.js +2 -2
  971. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  972. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  973. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  974. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  975. package/dist/esm-es5/mds-author.entry.js +1 -1
  976. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  977. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  978. package/dist/esm-es5/mds-avatar.entry.js +5 -5
  979. package/dist/esm-es5/mds-badge.entry.js +1 -1
  980. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  981. package/dist/esm-es5/mds-benchmark-bar.entry.js +3 -3
  982. package/dist/esm-es5/mds-bibliography.entry.js +2 -2
  983. package/dist/esm-es5/mds-book.entry.js +207 -0
  984. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  985. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -4
  986. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  987. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  988. package/dist/esm-es5/mds-button_3.entry.js +5 -5
  989. package/dist/esm-es5/mds-calendar_2.entry.js +3 -3
  990. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  991. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  992. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  993. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  994. package/dist/esm-es5/mds-card.entry.js +1 -1
  995. package/dist/esm-es5/mds-details.entry.js +1 -1
  996. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  997. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  998. package/dist/esm-es5/mds-entity.entry.js +1 -1
  999. package/dist/esm-es5/mds-file-preview.entry.js +3 -3
  1000. package/dist/esm-es5/mds-file.entry.js +1 -1
  1001. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  1002. package/dist/esm-es5/mds-filter.entry.js +1 -1
  1003. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  1004. package/dist/esm-es5/mds-header.entry.js +2 -2
  1005. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  1006. package/dist/esm-es5/mds-hr.entry.js +1 -1
  1007. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  1008. package/dist/esm-es5/mds-input-date-range.entry.js +2 -2
  1009. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  1010. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  1011. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  1012. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  1013. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  1014. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  1015. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  1016. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  1017. package/dist/esm-es5/mds-input.entry.js +1 -1
  1018. package/dist/esm-es5/mds-keyboard-key.entry.js +2 -2
  1019. package/dist/esm-es5/mds-keyboard.entry.js +2 -2
  1020. package/dist/esm-es5/mds-kpi-item.entry.js +3 -3
  1021. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  1022. package/dist/esm-es5/mds-label.entry.js +1 -1
  1023. package/dist/esm-es5/mds-link.entry.js +1 -1
  1024. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  1025. package/dist/esm-es5/mds-list.entry.js +1 -1
  1026. package/dist/esm-es5/mds-mention.entry.js +2 -2
  1027. package/dist/esm-es5/mds-modal.entry.js +1 -1
  1028. package/dist/esm-es5/mds-note.entry.js +1 -1
  1029. package/dist/esm-es5/mds-notification.entry.js +1 -1
  1030. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  1031. package/dist/esm-es5/mds-paginator.entry.js +3 -3
  1032. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  1033. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  1034. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  1035. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  1036. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  1037. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  1038. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  1039. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  1040. package/dist/esm-es5/mds-pref-theme.entry.js +6 -6
  1041. package/dist/esm-es5/mds-pref.entry.js +1 -1
  1042. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  1043. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  1044. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  1045. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  1046. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  1047. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  1048. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  1049. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  1050. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  1051. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  1052. package/dist/esm-es5/mds-quote.entry.js +1 -1
  1053. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  1054. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  1055. package/dist/esm-es5/mds-separator.entry.js +1 -1
  1056. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  1057. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  1058. package/dist/esm-es5/mds-stepper-bar.entry.js +1 -1
  1059. package/dist/esm-es5/mds-tab-bar-item.entry.js +1 -1
  1060. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  1061. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  1062. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  1063. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  1064. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  1065. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  1066. package/dist/esm-es5/mds-table-row.entry.js +1 -1
  1067. package/dist/esm-es5/mds-table.entry.js +2 -2
  1068. package/dist/esm-es5/mds-text.entry.js +1 -1
  1069. package/dist/esm-es5/mds-toast-region.entry.js +1 -1
  1070. package/dist/esm-es5/mds-toast.entry.js +1 -1
  1071. package/dist/esm-es5/mds-tooltip.entry.js +2 -2
  1072. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  1073. package/dist/esm-es5/mds-tree.entry.js +1 -1
  1074. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  1075. package/dist/esm-es5/mds-usage.entry.js +1 -1
  1076. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  1077. package/dist/esm-es5/mds-zero.entry.js +1 -1
  1078. package/dist/hydrate/index.js +1044 -156
  1079. package/dist/hydrate/index.mjs +1044 -156
  1080. package/dist/lint/core/checks.d.ts +26 -0
  1081. package/dist/lint/core/checks.js +135 -0
  1082. package/dist/lint/core/colors.d.ts +2 -0
  1083. package/dist/lint/core/colors.js +40 -0
  1084. package/dist/lint/core/data.d.ts +82 -0
  1085. package/dist/lint/core/data.js +171 -0
  1086. package/dist/lint/core/element.d.ts +55 -0
  1087. package/dist/lint/core/element.js +19 -0
  1088. package/dist/lint/eslint/adapters.d.ts +53 -0
  1089. package/dist/lint/eslint/adapters.js +217 -0
  1090. package/dist/lint/eslint/index.d.ts +7 -0
  1091. package/dist/lint/eslint/index.js +86 -0
  1092. package/dist/lint/index.d.ts +4 -0
  1093. package/dist/lint/index.js +10 -0
  1094. package/dist/lint/mcp/checks.d.ts +15 -0
  1095. package/dist/lint/mcp/checks.js +407 -0
  1096. package/dist/lint/mcp/cli.d.ts +2 -0
  1097. package/dist/lint/mcp/cli.js +29 -0
  1098. package/dist/lint/mcp/color.d.ts +12 -0
  1099. package/dist/lint/mcp/color.js +87 -0
  1100. package/dist/lint/mcp/components.d.ts +5 -0
  1101. package/dist/lint/mcp/components.js +362 -0
  1102. package/dist/lint/mcp/context.d.ts +25 -0
  1103. package/dist/lint/mcp/context.js +87 -0
  1104. package/dist/lint/mcp/guides.d.ts +3 -0
  1105. package/dist/lint/mcp/guides.js +137 -0
  1106. package/dist/lint/mcp/icon.svg +11 -0
  1107. package/dist/lint/mcp/icons.d.ts +3 -0
  1108. package/dist/lint/mcp/icons.js +170 -0
  1109. package/dist/lint/mcp/protocol.d.ts +42 -0
  1110. package/dist/lint/mcp/protocol.js +106 -0
  1111. package/dist/lint/mcp/server.d.ts +20 -0
  1112. package/dist/lint/mcp/server.js +67 -0
  1113. package/dist/lint/mcp/tokens.d.ts +22 -0
  1114. package/dist/lint/mcp/tokens.js +507 -0
  1115. package/dist/lint/package.json +3 -0
  1116. package/dist/lint/stylelint/index.d.ts +3 -0
  1117. package/dist/lint/stylelint/index.js +137 -0
  1118. package/dist/lint/stylelint/recommended.d.ts +3 -0
  1119. package/dist/lint/stylelint/recommended.js +10 -0
  1120. package/dist/lint/stylelint/strict.d.ts +3 -0
  1121. package/dist/lint/stylelint/strict.js +10 -0
  1122. package/dist/magma-components/magma-components.esm.js +1 -1
  1123. package/dist/magma-components/{p-a8a0a9ba.entry.js → p-00aa9a51.entry.js} +1 -1
  1124. package/dist/magma-components/{p-62e94d78.system.entry.js → p-00acb2e1.system.entry.js} +2 -2
  1125. package/dist/magma-components/{p-4bc3335f.system.entry.js → p-037126b7.system.entry.js} +1 -1
  1126. package/dist/magma-components/{p-e5d41024.system.entry.js → p-03da0376.system.entry.js} +1 -1
  1127. package/dist/magma-components/{p-25a6e977.entry.js → p-0417391b.entry.js} +1 -1
  1128. package/dist/magma-components/{p-377d0661.entry.js → p-05ef91a5.entry.js} +1 -1
  1129. package/dist/magma-components/{p-7b300282.entry.js → p-07d35da6.entry.js} +1 -1
  1130. package/dist/magma-components/{p-f4d80d9a.entry.js → p-09c80fdb.entry.js} +1 -1
  1131. package/dist/magma-components/{p-5cfa0dce.entry.js → p-0b0ca53c.entry.js} +1 -1
  1132. package/dist/magma-components/{p-624a3909.system.entry.js → p-0babf674.system.entry.js} +3 -3
  1133. package/dist/magma-components/{p-b01118cc.entry.js → p-0d90c991.entry.js} +1 -1
  1134. package/dist/magma-components/{p-9745dc51.entry.js → p-103465cf.entry.js} +1 -1
  1135. package/dist/magma-components/{p-d608b79c.entry.js → p-10983da0.entry.js} +1 -1
  1136. package/dist/magma-components/{p-52d905fe.system.entry.js → p-109926ce.system.entry.js} +2 -2
  1137. package/dist/magma-components/{p-770b3c4b.entry.js → p-14b13850.entry.js} +1 -1
  1138. package/dist/magma-components/{p-b5cc09c7.system.entry.js → p-154ba354.system.entry.js} +2 -2
  1139. package/dist/magma-components/{p-f5a33058.entry.js → p-160cd923.entry.js} +1 -1
  1140. package/dist/magma-components/{p-5ef0fb69.system.entry.js → p-1685e74c.system.entry.js} +1 -1
  1141. package/dist/magma-components/p-1748ca8b.system.entry.js +1 -0
  1142. package/dist/magma-components/{p-c03fc4fe.system.entry.js → p-17a43cb6.system.entry.js} +2 -2
  1143. package/dist/magma-components/p-17ccfc01.system.entry.js +208 -0
  1144. package/dist/magma-components/{p-f0285a1e.system.entry.js → p-1b415625.system.entry.js} +3 -3
  1145. package/dist/magma-components/{p-3e18b181.system.entry.js → p-1b67b149.system.entry.js} +1 -1
  1146. package/dist/magma-components/p-1c00d0f7.entry.js +1 -0
  1147. package/dist/magma-components/{p-79f543fc.system.entry.js → p-1cd75adf.system.entry.js} +3 -3
  1148. package/dist/magma-components/{p-8f47eb63.system.entry.js → p-1d8485de.system.entry.js} +4 -4
  1149. package/dist/magma-components/{p-168d5fad.entry.js → p-2006cfeb.entry.js} +1 -1
  1150. package/dist/magma-components/{p-02fe26b4.system.entry.js → p-2216f207.system.entry.js} +2 -2
  1151. package/dist/magma-components/{p-edf003f1.system.entry.js → p-22f24125.system.entry.js} +1 -1
  1152. package/dist/magma-components/{p-6560b426.system.entry.js → p-25c07b67.system.entry.js} +1 -1
  1153. package/dist/magma-components/{p-e3a65644.entry.js → p-29fbb7cf.entry.js} +1 -1
  1154. package/dist/magma-components/{p-f7147d05.entry.js → p-2a26b614.entry.js} +1 -1
  1155. package/dist/magma-components/p-2a6c2a41.entry.js +1 -0
  1156. package/dist/magma-components/{p-06fde29d.entry.js → p-2c28056d.entry.js} +1 -1
  1157. package/dist/magma-components/{p-23722401.entry.js → p-2c5e5cd1.entry.js} +1 -1
  1158. package/dist/magma-components/{p-d92ccce5.system.entry.js → p-2c7d091e.system.entry.js} +3 -3
  1159. package/dist/magma-components/{p-3abaa053.entry.js → p-2c997b47.entry.js} +1 -1
  1160. package/dist/magma-components/{p-0a8e8525.entry.js → p-2f39f4e4.entry.js} +1 -1
  1161. package/dist/magma-components/{p-02298ed0.system.entry.js → p-31370fdb.system.entry.js} +1 -1
  1162. package/dist/magma-components/{p-3df07021.system.entry.js → p-3139988c.system.entry.js} +1 -1
  1163. package/dist/magma-components/p-32418266.entry.js +1 -0
  1164. package/dist/magma-components/{p-cc9659e1.system.entry.js → p-33c80de3.system.entry.js} +1 -1
  1165. package/dist/magma-components/{p-09a7b578.system.entry.js → p-34c0e63c.system.entry.js} +1 -1
  1166. package/dist/magma-components/{p-3c669cfb.entry.js → p-354a5b47.entry.js} +1 -1
  1167. package/dist/magma-components/{p-071f5c7b.system.entry.js → p-35c6341a.system.entry.js} +3 -3
  1168. package/dist/magma-components/{p-f09b08f9.entry.js → p-379f51a6.entry.js} +1 -1
  1169. package/dist/magma-components/{p-7c217aa5.entry.js → p-381f49ea.entry.js} +1 -1
  1170. package/dist/magma-components/{p-221c2f0d.entry.js → p-384ab014.entry.js} +1 -1
  1171. package/dist/magma-components/{p-6af00399.system.entry.js → p-386bb24e.system.entry.js} +3 -3
  1172. package/dist/magma-components/{p-1e18fcc5.system.entry.js → p-39a2df98.system.entry.js} +1 -1
  1173. package/dist/magma-components/{p-2752b45a.system.entry.js → p-3a7c4314.system.entry.js} +3 -3
  1174. package/dist/magma-components/{p-7be0d28b.entry.js → p-3a9a75e5.entry.js} +1 -1
  1175. package/dist/magma-components/{p-5435f2a9.entry.js → p-3b691cc3.entry.js} +1 -1
  1176. package/dist/magma-components/{p-88460d31.system.entry.js → p-3bdb541f.system.entry.js} +1 -1
  1177. package/dist/magma-components/{p-85fb1d08.entry.js → p-3ca004c3.entry.js} +1 -1
  1178. package/dist/magma-components/{p-4776ac1f.entry.js → p-3caf6a26.entry.js} +1 -1
  1179. package/dist/magma-components/{p-ced3ebb8.entry.js → p-3dccd446.entry.js} +1 -1
  1180. package/dist/magma-components/{p-55b10b70.system.entry.js → p-3dde41b0.system.entry.js} +1 -1
  1181. package/dist/magma-components/{p-be6e156a.system.entry.js → p-3e8e0003.system.entry.js} +2 -2
  1182. package/dist/magma-components/{p-21547758.system.entry.js → p-3f0e6729.system.entry.js} +3 -3
  1183. package/dist/magma-components/{p-f306b5c1.entry.js → p-42ab27de.entry.js} +1 -1
  1184. package/dist/magma-components/{p-803957de.system.entry.js → p-430a4c4b.system.entry.js} +1 -1
  1185. package/dist/magma-components/{p-d48c40ab.system.entry.js → p-47b05fa1.system.entry.js} +1 -1
  1186. package/dist/magma-components/{p-e5eb2390.entry.js → p-47db3155.entry.js} +1 -1
  1187. package/dist/magma-components/{p-2c845743.system.entry.js → p-48f86057.system.entry.js} +1 -1
  1188. package/dist/magma-components/{p-7961c335.system.entry.js → p-4a72d72c.system.entry.js} +1 -1
  1189. package/dist/magma-components/{p-227f57e6.entry.js → p-4aa94380.entry.js} +1 -1
  1190. package/dist/magma-components/{p-b9ca6c2e.entry.js → p-4ab2eb7e.entry.js} +1 -1
  1191. package/dist/magma-components/{p-c3c487aa.system.entry.js → p-4bea91e1.system.entry.js} +1 -1
  1192. package/dist/magma-components/{p-f588cf9e.entry.js → p-4cd21f19.entry.js} +1 -1
  1193. package/dist/magma-components/{p-dbca23af.entry.js → p-4de89d1b.entry.js} +1 -1
  1194. package/dist/magma-components/{p-23fabd66.system.entry.js → p-50c8f36c.system.entry.js} +1 -1
  1195. package/dist/magma-components/{p-f39416e9.system.entry.js → p-5200ab23.system.entry.js} +2 -2
  1196. package/dist/magma-components/{p-f35608b2.entry.js → p-52211fa3.entry.js} +1 -1
  1197. package/dist/magma-components/{p-37487e8b.system.entry.js → p-53981624.system.entry.js} +1 -1
  1198. package/dist/magma-components/p-53acdc6b.entry.js +1 -0
  1199. package/dist/magma-components/p-5660182a.system.entry.js +1 -0
  1200. package/dist/magma-components/{p-464e6431.entry.js → p-56c5ca6f.entry.js} +1 -1
  1201. package/dist/magma-components/p-57e92942.system.entry.js +20 -0
  1202. package/dist/magma-components/{p-63b10a6e.entry.js → p-59aa4994.entry.js} +1 -1
  1203. package/dist/magma-components/{p-9a3ddc91.entry.js → p-59f06b9c.entry.js} +1 -1
  1204. package/dist/magma-components/{p-3d95e688.system.entry.js → p-5aa78075.system.entry.js} +3 -3
  1205. package/dist/magma-components/{p-14635a8f.entry.js → p-5cf87a7f.entry.js} +1 -1
  1206. package/dist/magma-components/{p-87baf82a.entry.js → p-5e8df58d.entry.js} +1 -1
  1207. package/dist/magma-components/{p-880f3eac.system.entry.js → p-5ed74216.system.entry.js} +1 -1
  1208. package/dist/magma-components/{p-50705d36.system.entry.js → p-5f064376.system.entry.js} +1 -1
  1209. package/dist/magma-components/{p-93d7485d.entry.js → p-60727165.entry.js} +2 -2
  1210. package/dist/magma-components/{p-278c362d.entry.js → p-6093aa8e.entry.js} +1 -1
  1211. package/dist/magma-components/{p-b8a59768.entry.js → p-62d9eaca.entry.js} +1 -1
  1212. package/dist/magma-components/{p-947fcf74.system.entry.js → p-6b402a09.system.entry.js} +9 -9
  1213. package/dist/magma-components/p-6b55c5fe.system.entry.js +1 -0
  1214. package/dist/magma-components/{p-3d162e99.system.entry.js → p-6d57674c.system.entry.js} +2 -2
  1215. package/dist/magma-components/p-6d96d223.entry.js +1 -0
  1216. package/dist/magma-components/{p-38b16983.system.entry.js → p-6df26141.system.entry.js} +3 -3
  1217. package/dist/magma-components/{p-5f8db04c.system.entry.js → p-6df7da52.system.entry.js} +1 -1
  1218. package/dist/magma-components/{p-9250ec26.system.entry.js → p-6e751bcc.system.entry.js} +2 -2
  1219. package/dist/magma-components/{p-fc22f5e0.system.entry.js → p-718d6384.system.entry.js} +1 -1
  1220. package/dist/magma-components/{p-b4633c9c.system.entry.js → p-71dab494.system.entry.js} +3 -3
  1221. package/dist/magma-components/{p-ec635255.entry.js → p-732d09b6.entry.js} +1 -1
  1222. package/dist/magma-components/{p-fac6f123.entry.js → p-73f4f67e.entry.js} +1 -1
  1223. package/dist/magma-components/{p-772c18f4.entry.js → p-785fa112.entry.js} +1 -1
  1224. package/dist/magma-components/{p-9cf81575.system.entry.js → p-79fd07e7.system.entry.js} +1 -1
  1225. package/dist/magma-components/{p-0033cb92.system.entry.js → p-7acbc6ea.system.entry.js} +1 -1
  1226. package/dist/magma-components/{p-67eb3881.entry.js → p-7dd0364b.entry.js} +1 -1
  1227. package/dist/magma-components/{p-85a31141.entry.js → p-7e7391fd.entry.js} +1 -1
  1228. package/dist/magma-components/{p-f5326224.system.entry.js → p-7ec28ff1.system.entry.js} +2 -2
  1229. package/dist/magma-components/{p-f901c844.entry.js → p-7f74ec99.entry.js} +1 -1
  1230. package/dist/magma-components/{p-0679c988.system.entry.js → p-7ffce9e8.system.entry.js} +1 -1
  1231. package/dist/magma-components/{p-06ccc40d.entry.js → p-81212e34.entry.js} +1 -1
  1232. package/dist/magma-components/{p-cf6f54e5.system.entry.js → p-8219e58f.system.entry.js} +2 -2
  1233. package/dist/magma-components/{p-eb92312f.system.entry.js → p-84711ab6.system.entry.js} +3 -3
  1234. package/dist/magma-components/p-84bf333b.entry.js +1 -0
  1235. package/dist/magma-components/{p-4792ff7f.entry.js → p-84d0d701.entry.js} +1 -1
  1236. package/dist/magma-components/{p-30be5c39.entry.js → p-857ae762.entry.js} +1 -1
  1237. package/dist/magma-components/{p-8f63f1a1.system.entry.js → p-87395a4d.system.entry.js} +1 -1
  1238. package/dist/magma-components/{p-2431fbfa.system.entry.js → p-87831da2.system.entry.js} +1 -1
  1239. package/dist/magma-components/{p-e39518b4.system.entry.js → p-896310aa.system.entry.js} +2 -2
  1240. package/dist/magma-components/{p-dc1a5826.system.entry.js → p-8ac1ba5c.system.entry.js} +1 -1
  1241. package/dist/magma-components/{p-86cf87fb.entry.js → p-8b8a6662.entry.js} +1 -1
  1242. package/dist/magma-components/{p-62fc9695.entry.js → p-8d7093af.entry.js} +1 -1
  1243. package/dist/magma-components/{p-8ab9ff37.system.entry.js → p-8e15c151.system.entry.js} +1 -1
  1244. package/dist/magma-components/{p-075acd04.entry.js → p-8f1c529f.entry.js} +1 -1
  1245. package/dist/magma-components/{p-07a3c63c.system.entry.js → p-8f1e9021.system.entry.js} +1 -1
  1246. package/dist/magma-components/{p-69abd1d1.entry.js → p-904c1222.entry.js} +1 -1
  1247. package/dist/magma-components/{p-a70fb4fb.system.entry.js → p-907f06cd.system.entry.js} +9 -9
  1248. package/dist/magma-components/{p-3f68ddca.entry.js → p-9332358d.entry.js} +1 -1
  1249. package/dist/magma-components/{p-44998584.system.entry.js → p-93b9d39d.system.entry.js} +2 -2
  1250. package/dist/magma-components/{p-d8ae0f02.system.entry.js → p-965e7a82.system.entry.js} +1 -1
  1251. package/dist/magma-components/{p-c50e20cf.system.entry.js → p-96dfb60e.system.entry.js} +1 -1
  1252. package/dist/magma-components/{p-3beea731.system.entry.js → p-9c408768.system.entry.js} +1 -1
  1253. package/dist/magma-components/{p-1d2220f0.system.entry.js → p-9e792bed.system.entry.js} +1 -1
  1254. package/dist/magma-components/{p-8258733b.entry.js → p-9fdd477a.entry.js} +1 -1
  1255. package/dist/magma-components/{p-f82c2b7e.system.entry.js → p-9fefa077.system.entry.js} +1 -1
  1256. package/dist/magma-components/p-B8zYiZQY.system.js +2 -2
  1257. package/dist/magma-components/{p-97eb734a.system.entry.js → p-a0d637b6.system.entry.js} +1 -1
  1258. package/dist/magma-components/p-a26c05b6.entry.js +1 -0
  1259. package/dist/magma-components/{p-ccc40c6a.system.entry.js → p-a7baf451.system.entry.js} +2 -2
  1260. package/dist/magma-components/{p-77545238.entry.js → p-ac9feb04.entry.js} +1 -1
  1261. package/dist/magma-components/{p-dedbf8d6.entry.js → p-ad383f92.entry.js} +1 -1
  1262. package/dist/magma-components/{p-1ea582a9.system.entry.js → p-ae4736a0.system.entry.js} +3 -3
  1263. package/dist/magma-components/{p-9fc385aa.entry.js → p-b3332c5f.entry.js} +1 -1
  1264. package/dist/magma-components/{p-a987086b.system.entry.js → p-b3e2b68a.system.entry.js} +1 -1
  1265. package/dist/magma-components/{p-808b9277.entry.js → p-b86144d4.entry.js} +1 -1
  1266. package/dist/magma-components/{p-a0612465.system.entry.js → p-bbde5701.system.entry.js} +1 -1
  1267. package/dist/magma-components/{p-5472f18d.system.entry.js → p-bc075b3b.system.entry.js} +2 -2
  1268. package/dist/magma-components/{p-29971e1d.entry.js → p-bc19b136.entry.js} +1 -1
  1269. package/dist/magma-components/{p-17ec24dc.entry.js → p-bcca26d9.entry.js} +1 -1
  1270. package/dist/magma-components/{p-8b501f92.entry.js → p-bf35627d.entry.js} +1 -1
  1271. package/dist/magma-components/p-bfd95736.entry.js +1 -0
  1272. package/dist/magma-components/{p-6a2d67d1.system.entry.js → p-c086a5a4.system.entry.js} +1 -1
  1273. package/dist/magma-components/{p-41a0f896.entry.js → p-c27206ca.entry.js} +1 -1
  1274. package/dist/magma-components/{p-762a6b7b.entry.js → p-c2758b81.entry.js} +1 -1
  1275. package/dist/magma-components/{p-d3491226.system.entry.js → p-c2c693ed.system.entry.js} +1 -1
  1276. package/dist/magma-components/{p-642925b7.system.entry.js → p-c4a5ab6e.system.entry.js} +1 -1
  1277. package/dist/magma-components/{p-b23bee0c.entry.js → p-c58157cf.entry.js} +1 -1
  1278. package/dist/magma-components/{p-8a9544aa.entry.js → p-c597ad47.entry.js} +1 -1
  1279. package/dist/magma-components/{p-295d8fab.entry.js → p-c7b2ebb5.entry.js} +1 -1
  1280. package/dist/magma-components/{p-046697e4.system.entry.js → p-c8b06821.system.entry.js} +1 -1
  1281. package/dist/magma-components/p-ca1143bc.entry.js +1 -0
  1282. package/dist/magma-components/p-cb88fa71.entry.js +1 -0
  1283. package/dist/magma-components/{p-cc954b22.system.entry.js → p-cd783f9e.system.entry.js} +1 -1
  1284. package/dist/magma-components/{p-bd97e368.system.entry.js → p-cd955bc7.system.entry.js} +1 -1
  1285. package/dist/magma-components/{p-1f623b75.entry.js → p-ce42e251.entry.js} +1 -1
  1286. package/dist/magma-components/{p-7bf46d43.entry.js → p-cf4f4561.entry.js} +1 -1
  1287. package/dist/magma-components/{p-44333d50.system.entry.js → p-d0a15a3a.system.entry.js} +1 -1
  1288. package/dist/magma-components/{p-f616f467.entry.js → p-d218ae47.entry.js} +1 -1
  1289. package/dist/magma-components/{p-69badbba.entry.js → p-d331ff5c.entry.js} +1 -1
  1290. package/dist/magma-components/{p-f75935ed.system.entry.js → p-d3844c9a.system.entry.js} +4 -4
  1291. package/dist/magma-components/{p-837d31b8.entry.js → p-d3ac9a1a.entry.js} +1 -1
  1292. package/dist/magma-components/{p-8740403e.system.entry.js → p-d4c3250f.system.entry.js} +2 -2
  1293. package/dist/magma-components/p-d638bbb0.entry.js +1 -0
  1294. package/dist/magma-components/{p-72ad419d.system.entry.js → p-d65e9f0a.system.entry.js} +1 -1
  1295. package/dist/magma-components/{p-7d0c8177.entry.js → p-d87ecd68.entry.js} +1 -1
  1296. package/dist/magma-components/{p-2e48f88d.system.entry.js → p-d93b48b4.system.entry.js} +1 -1
  1297. package/dist/magma-components/{p-de1ae02c.entry.js → p-d94281cb.entry.js} +1 -1
  1298. package/dist/magma-components/{p-b467f737.entry.js → p-d9f92ff8.entry.js} +1 -1
  1299. package/dist/magma-components/{p-4cabfdbc.entry.js → p-da9bc02a.entry.js} +1 -1
  1300. package/dist/magma-components/{p-521ba3a8.entry.js → p-dc618cae.entry.js} +1 -1
  1301. package/dist/magma-components/p-de38f745.entry.js +1 -0
  1302. package/dist/magma-components/{p-e2fa6300.system.entry.js → p-dee123c7.system.entry.js} +1 -1
  1303. package/dist/magma-components/p-df387755.entry.js +1 -0
  1304. package/dist/magma-components/{p-b373cc32.entry.js → p-dfab370b.entry.js} +1 -1
  1305. package/dist/magma-components/{p-0e887379.system.entry.js → p-e30d0684.system.entry.js} +2 -2
  1306. package/dist/magma-components/{p-f66675f5.system.entry.js → p-e371f9e1.system.entry.js} +1 -1
  1307. package/dist/magma-components/{p-8f7daab1.system.entry.js → p-e3b9ea0b.system.entry.js} +1 -1
  1308. package/dist/magma-components/{p-104ba54e.system.entry.js → p-e3d262d9.system.entry.js} +2 -2
  1309. package/dist/magma-components/{p-7fde3025.system.entry.js → p-e54587e7.system.entry.js} +3 -3
  1310. package/dist/magma-components/{p-ad05ef26.system.entry.js → p-e5f893f9.system.entry.js} +1 -1
  1311. package/dist/magma-components/{p-2c3f518c.system.entry.js → p-e709a52e.system.entry.js} +2 -2
  1312. package/dist/magma-components/{p-8d14f146.entry.js → p-e8452cce.entry.js} +1 -1
  1313. package/dist/magma-components/{p-09f621ea.entry.js → p-ea503851.entry.js} +1 -1
  1314. package/dist/magma-components/{p-6dff107d.system.entry.js → p-ec44a4ea.system.entry.js} +2 -2
  1315. package/dist/magma-components/{p-9f6c502b.entry.js → p-ed133270.entry.js} +1 -1
  1316. package/dist/magma-components/{p-bb282bc1.system.entry.js → p-ee780f82.system.entry.js} +2 -2
  1317. package/dist/magma-components/p-ef4ee9ca.entry.js +1 -0
  1318. package/dist/magma-components/{p-7ca73c56.entry.js → p-f045b018.entry.js} +1 -1
  1319. package/dist/magma-components/{p-b69c3126.entry.js → p-f2211b1f.entry.js} +1 -1
  1320. package/dist/magma-components/{p-c40ad03a.entry.js → p-f267ff68.entry.js} +1 -1
  1321. package/dist/magma-components/{p-d254de66.system.entry.js → p-f27de6cb.system.entry.js} +1 -1
  1322. package/dist/magma-components/{p-2d9c9ef9.entry.js → p-f2ef884c.entry.js} +1 -1
  1323. package/dist/magma-components/{p-9f8ce68f.entry.js → p-f3f88f32.entry.js} +1 -1
  1324. package/dist/magma-components/{p-94439d8b.system.entry.js → p-f40e3918.system.entry.js} +2 -2
  1325. package/dist/magma-components/{p-6e32bf99.entry.js → p-f4181b35.entry.js} +1 -1
  1326. package/dist/magma-components/{p-8a76097f.entry.js → p-f4351160.entry.js} +1 -1
  1327. package/dist/magma-components/{p-c3a3caae.system.entry.js → p-f4fc9f29.system.entry.js} +1 -1
  1328. package/dist/magma-components/{p-da93a00b.system.entry.js → p-f5c7b147.system.entry.js} +1 -1
  1329. package/dist/magma-components/{p-84ed22ea.system.entry.js → p-f7d5445c.system.entry.js} +1 -1
  1330. package/dist/magma-components/{p-08370fc2.system.entry.js → p-f7e9af99.system.entry.js} +1 -1
  1331. package/dist/magma-components/{p-95478664.system.entry.js → p-f8c85ad7.system.entry.js} +1 -1
  1332. package/dist/magma-components/{p-c6819aad.entry.js → p-f9b601de.entry.js} +1 -1
  1333. package/dist/magma-components/{p-ffbf7448.entry.js → p-fa44d0d2.entry.js} +1 -1
  1334. package/dist/magma-components/{p-d3d74616.entry.js → p-fba648e0.entry.js} +1 -1
  1335. package/dist/magma-components/{p-35528bdd.system.entry.js → p-fe8e3721.system.entry.js} +1 -1
  1336. package/dist/magma-components/{p-2a4d22c9.system.entry.js → p-fe98a77e.system.entry.js} +2 -2
  1337. package/dist/magma-components/{p-8ca2e879.system.entry.js → p-ff7fc1f6.system.entry.js} +2 -2
  1338. package/dist/stats.json +3133 -1157
  1339. package/dist/types/components/mds-accordion/mds-accordion.d.ts +1 -0
  1340. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +1 -0
  1341. package/dist/types/components/mds-accordion-timer/mds-accordion-timer.d.ts +1 -0
  1342. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +1 -0
  1343. package/dist/types/components/mds-author/mds-author.d.ts +1 -0
  1344. package/dist/types/components/mds-avatar/mds-avatar.d.ts +1 -0
  1345. package/dist/types/components/mds-avatar-stack/mds-avatar-stack.d.ts +1 -0
  1346. package/dist/types/components/mds-avatar-stack-item/mds-avatar-stack-item.d.ts +3 -0
  1347. package/dist/types/components/mds-badge/mds-badge.d.ts +1 -0
  1348. package/dist/types/components/mds-banner/mds-banner.d.ts +1 -0
  1349. package/dist/types/components/mds-benchmark-bar/mds-benchmark-bar.d.ts +1 -0
  1350. package/dist/types/components/mds-bibliography/mds-bibliography.d.ts +3 -0
  1351. package/dist/types/components/mds-book/mds-book.d.ts +114 -0
  1352. package/dist/types/components/mds-book/meta/dictionary.d.ts +4 -0
  1353. package/dist/types/components/mds-book/meta/format.d.ts +30 -0
  1354. package/dist/types/components/mds-book/meta/pose.d.ts +64 -0
  1355. package/dist/types/components/mds-book/meta/spine.d.ts +33 -0
  1356. package/dist/types/components/mds-book/meta/types.d.ts +3 -0
  1357. package/dist/types/components/mds-book/meta/volume.d.ts +22 -0
  1358. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +1 -0
  1359. package/dist/types/components/mds-breadcrumb-item/mds-breadcrumb-item.d.ts +1 -0
  1360. package/dist/types/components/mds-button/mds-button.d.ts +1 -0
  1361. package/dist/types/components/mds-button-dropdown/mds-button-dropdown.d.ts +1 -0
  1362. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -0
  1363. package/dist/types/components/mds-calendar/mds-calendar.d.ts +1 -0
  1364. package/dist/types/components/mds-calendar-cell/mds-calendar-cell.d.ts +3 -0
  1365. package/dist/types/components/mds-card/mds-card.d.ts +1 -0
  1366. package/dist/types/components/mds-card-content/mds-card-content.d.ts +1 -0
  1367. package/dist/types/components/mds-card-footer/mds-card-footer.d.ts +1 -0
  1368. package/dist/types/components/mds-card-header/mds-card-header.d.ts +1 -0
  1369. package/dist/types/components/mds-card-media/mds-card-media.d.ts +1 -0
  1370. package/dist/types/components/mds-chip/mds-chip.d.ts +3 -0
  1371. package/dist/types/components/mds-details/mds-details.d.ts +1 -0
  1372. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +1 -0
  1373. package/dist/types/components/mds-emoji/mds-emoji.d.ts +3 -0
  1374. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1375. package/dist/types/components/mds-file/mds-file.d.ts +3 -0
  1376. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +1 -0
  1377. package/dist/types/components/mds-filter/mds-filter.d.ts +1 -0
  1378. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +3 -0
  1379. package/dist/types/components/mds-header/mds-header.d.ts +1 -0
  1380. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +1 -0
  1381. package/dist/types/components/mds-help/mds-help.d.ts +1 -0
  1382. package/dist/types/components/mds-horizontal-scroll/mds-horizontal-scroll.d.ts +1 -0
  1383. package/dist/types/components/mds-hr/mds-hr.d.ts +3 -0
  1384. package/dist/types/components/mds-icon/mds-icon.d.ts +1 -0
  1385. package/dist/types/components/mds-img/mds-img.d.ts +1 -0
  1386. package/dist/types/components/mds-input/mds-input.d.ts +1 -0
  1387. package/dist/types/components/mds-input-date/mds-input-date.d.ts +1 -0
  1388. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +1 -0
  1389. package/dist/types/components/mds-input-date-range-preselection/mds-input-date-range-preselection.d.ts +1 -0
  1390. package/dist/types/components/mds-input-field/mds-input-field.d.ts +1 -0
  1391. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +3 -0
  1392. package/dist/types/components/mds-input-range/mds-input-range.d.ts +1 -0
  1393. package/dist/types/components/mds-input-select/mds-input-select.d.ts +1 -0
  1394. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +1 -0
  1395. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +1 -0
  1396. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +1 -0
  1397. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +3 -0
  1398. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +1 -0
  1399. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +3 -0
  1400. package/dist/types/components/mds-kpi/mds-kpi.d.ts +1 -0
  1401. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +1 -0
  1402. package/dist/types/components/mds-label/mds-label.d.ts +3 -0
  1403. package/dist/types/components/mds-link/mds-link.d.ts +1 -0
  1404. package/dist/types/components/mds-list/mds-list.d.ts +1 -0
  1405. package/dist/types/components/mds-list-item/mds-list-item.d.ts +1 -0
  1406. package/dist/types/components/mds-mention/mds-mention.d.ts +3 -0
  1407. package/dist/types/components/mds-modal/mds-modal.d.ts +1 -0
  1408. package/dist/types/components/mds-note/mds-note.d.ts +1 -0
  1409. package/dist/types/components/mds-notification/mds-notification.d.ts +3 -0
  1410. package/dist/types/components/mds-paginator/mds-paginator.d.ts +3 -0
  1411. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +1 -0
  1412. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +1 -0
  1413. package/dist/types/components/mds-pref/mds-pref.d.ts +1 -1
  1414. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +3 -0
  1415. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +3 -0
  1416. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +3 -0
  1417. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +1 -0
  1418. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -0
  1419. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +3 -0
  1420. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +1 -0
  1421. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +3 -0
  1422. package/dist/types/components/mds-price-table/mds-price-table.d.ts +1 -0
  1423. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +1 -0
  1424. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +1 -0
  1425. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +1 -0
  1426. package/dist/types/components/mds-price-table-header/mds-price-table-header.d.ts +1 -0
  1427. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +1 -0
  1428. package/dist/types/components/mds-price-table-list-item/mds-price-table-list-item.d.ts +1 -0
  1429. package/dist/types/components/mds-progress/mds-progress.d.ts +1 -0
  1430. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +1 -0
  1431. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +1 -0
  1432. package/dist/types/components/mds-quote/mds-quote.d.ts +1 -0
  1433. package/dist/types/components/mds-radial-menu/mds-radial-menu.d.ts +1 -0
  1434. package/dist/types/components/mds-radial-menu-item/mds-radial-menu-item.d.ts +3 -0
  1435. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +1 -0
  1436. package/dist/types/components/mds-separator/mds-separator.d.ts +3 -0
  1437. package/dist/types/components/mds-spinner/mds-spinner.d.ts +3 -0
  1438. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +1 -0
  1439. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +1 -0
  1440. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +1 -0
  1441. package/dist/types/components/mds-tab/mds-tab.d.ts +1 -0
  1442. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +1 -0
  1443. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +1 -0
  1444. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +1 -0
  1445. package/dist/types/components/mds-table/mds-table.d.ts +1 -0
  1446. package/dist/types/components/mds-table-body/mds-table-body.d.ts +1 -0
  1447. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +1 -0
  1448. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +1 -0
  1449. package/dist/types/components/mds-table-header/mds-table-header.d.ts +1 -0
  1450. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +1 -0
  1451. package/dist/types/components/mds-table-row/mds-table-row.d.ts +1 -0
  1452. package/dist/types/components/mds-text/mds-text.d.ts +1 -0
  1453. package/dist/types/components/mds-toast/mds-toast.d.ts +1 -0
  1454. package/dist/types/components/mds-toast-region/mds-toast-region.d.ts +1 -0
  1455. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +1 -0
  1456. package/dist/types/components/mds-tree/mds-tree.d.ts +1 -0
  1457. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -0
  1458. package/dist/types/components/mds-url-view/mds-url-view.d.ts +3 -0
  1459. package/dist/types/components/mds-usage/mds-usage.d.ts +1 -0
  1460. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +1 -0
  1461. package/dist/types/components/mds-zero/mds-zero.d.ts +1 -0
  1462. package/dist/types/components.d.ts +1517 -6
  1463. package/package.json +42 -5
  1464. package/dist/components/p-B0AnE3sA.js +0 -1
  1465. package/dist/components/p-CHHEp_7y.js +0 -1
  1466. package/dist/components/p-D8wd-EZX.js +0 -1
  1467. package/dist/magma-components/p-0193734e.entry.js +0 -1
  1468. package/dist/magma-components/p-083dceb8.system.entry.js +0 -1
  1469. package/dist/magma-components/p-093b8fbc.system.entry.js +0 -20
  1470. package/dist/magma-components/p-0e2cd21e.entry.js +0 -1
  1471. package/dist/magma-components/p-11320427.entry.js +0 -1
  1472. package/dist/magma-components/p-1c2c4670.entry.js +0 -1
  1473. package/dist/magma-components/p-335244bb.entry.js +0 -1
  1474. package/dist/magma-components/p-3fb46ab9.system.entry.js +0 -1
  1475. package/dist/magma-components/p-4d485e1f.system.entry.js +0 -1
  1476. package/dist/magma-components/p-6436178a.entry.js +0 -1
  1477. package/dist/magma-components/p-7ad68b2f.entry.js +0 -1
  1478. package/dist/magma-components/p-89d4b6e9.entry.js +0 -1
  1479. package/dist/magma-components/p-984dd850.entry.js +0 -1
  1480. package/dist/magma-components/p-a7c01334.entry.js +0 -1
  1481. package/dist/magma-components/p-ab4b617d.entry.js +0 -1
  1482. package/dist/magma-components/p-d6b38d8a.entry.js +0 -1
  1483. package/dist/magma-components/p-e1383302.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as a,H as r,h as s,c as e,t}from"./p-TZJN-ygm.js";import{a as o}from"./p-CVRN4LDc.js";import{d as i}from"./p-Cmn1DJAB.js";import{d as n}from"./p-CNF3u0Li.js";const d=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.progress=0,this.animatedProgress=0,this.rafId=null,this.typography="option",this.variant="primary",this.progressPercentage=a=>`${Math.round(100*a)}`,this.clampProgress=a=>Math.min(1,Math.max(0,a)),this.easeOutExpo=a=>1===a?1:1-Math.pow(2,-10*a),this.stopAnimation=()=>{null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null)},this.animateTo=a=>{const r=this.clampProgress(a),s=this.animatedProgress;if(this.stopAnimation(),o())return void(this.animatedProgress=r);const e=performance.now(),t=a=>{const o=Math.min(1,(a-e)/500),i=this.easeOutExpo(o);this.animatedProgress=s+(r-s)*i,this.rafId=o<1?requestAnimationFrame(t):null};this.rafId=requestAnimationFrame(t)}}componentWillLoad(){this.animatedProgress=this.clampProgress(this.progress)}disconnectedCallback(){this.stopAnimation()}onProgressChange(a){this.animateTo(a)}render(){const a=`${(100*this.animatedProgress).toFixed(2)}%`,r=this.progressPercentage(this.clampProgress(this.progress));return s(e,{key:"b2111e11b9435d924a061c23e1cfee04822e6185","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":r,role:"progressbar",style:{"--mds-radial-progress":a}},s("div",{key:"26aaae7d72d3450e83d46a3b9a9c47019449db35",class:"value-container",part:"value-container"},this.icon&&s("mds-icon",{key:"a0e398dcd9212129b6db29d75c505a738d4613ce",class:"icon",name:this.icon,part:"icon"}),s("div",{key:"070f3187031fb38c2765ff52423819076d7116d8",class:"value-container__text"},s("mds-text",{key:"29f52421aafb7b782d2a1a8351ecdaa1ff223ee9",class:"value",typography:this.typography},r))))}static get watchers(){return{progress:[{onProgressChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-500,.5s);transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]),:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-radial-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-radial-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-radial-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-radial-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}'}},[1,"mds-radial-progress",{progress:[2],icon:[513],typography:[513],variant:[513],animatedProgress:[32]},void 0,{progress:[{onProgressChange:0}]}]);function l(){"undefined"!=typeof customElements&&["mds-radial-progress","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-radial-progress":customElements.get(t(a))||customElements.define(t(a),d);break;case"mds-icon":customElements.get(t(a))||i();break;case"mds-text":customElements.get(t(a))||n()}}))}export{d as M,l as d}
1
+ import{p as a,H as r,h as s,c as e,t}from"./p-TZJN-ygm.js";import{a as o}from"./p-CVRN4LDc.js";import{d as i}from"./p-CEw7GvM-.js";import{d as n}from"./p-aujz-VM9.js";const d=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.progress=0,this.animatedProgress=0,this.rafId=null,this.typography="option",this.variant="primary",this.progressPercentage=a=>`${Math.round(100*a)}`,this.clampProgress=a=>Math.min(1,Math.max(0,a)),this.easeOutExpo=a=>1===a?1:1-Math.pow(2,-10*a),this.stopAnimation=()=>{null!==this.rafId&&(cancelAnimationFrame(this.rafId),this.rafId=null)},this.animateTo=a=>{const r=this.clampProgress(a),s=this.animatedProgress;if(this.stopAnimation(),o())return void(this.animatedProgress=r);const e=performance.now(),t=a=>{const o=Math.min(1,(a-e)/500),i=this.easeOutExpo(o);this.animatedProgress=s+(r-s)*i,this.rafId=o<1?requestAnimationFrame(t):null};this.rafId=requestAnimationFrame(t)}}componentWillLoad(){this.animatedProgress=this.clampProgress(this.progress)}disconnectedCallback(){this.stopAnimation()}onProgressChange(a){this.animateTo(a)}render(){const a=`${(100*this.animatedProgress).toFixed(2)}%`,r=this.progressPercentage(this.clampProgress(this.progress));return s(e,{key:"c8c14e004a962629c91be2012b66fcc19c540207","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":r,role:"progressbar",style:{"--mds-radial-progress":a}},s("div",{key:"41d2cd52c56f2a77b062f60702c315e2b585b55f",class:"value-container",part:"value-container"},this.icon&&s("mds-icon",{key:"4a447ff84050ac84c3a591ae826482e841c3fbad",class:"icon",name:this.icon,part:"icon"}),s("div",{key:"73e0a6eb84ba9805fc6537efd1291ad662709277",class:"value-container__text"},s("mds-text",{key:"6b5040689dbf2664ac6e1ad3797c7119054c8518",class:"value",typography:this.typography},r))))}static get watchers(){return{progress:[{onProgressChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-radial-progress-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-radial-progress-text-background-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-radial-progress-text-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-radial-progress-text-suffix:"%";--mds-radial-progress:0%;align-items:center;aspect-ratio:1;background-color:var(--mds-radial-progress-background);background-image:conic-gradient(var(--mds-radial-progress-color) var(--mds-radial-progress,0),#0000 0);border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;container:mds-radial-progress/inline-size;display:flex;height:auto;justify-content:center;padding:calc(var(--spacing,.0025rem)*200);transition-duration:var(--duration-500,.5s);transition-property:background-color,--mds-radial-progress-color,--mds-radial-progress;transition-timing-function:ease-out;width:calc(var(--spacing,.0025rem)*1200)}.value-container{aspect-ratio:1;background-color:var(--mds-radial-progress-text-background);border-radius:inherit;box-shadow:var(--mds-radial-progress-text-background-shadow);display:flex;flex-direction:column;gap:calc(var(--spacing,.0025rem)*50);padding:calc(var(--spacing,.0025rem)*50);width:100%}.value-container,.value-container__text{align-items:center;justify-content:center}.value,.value-container__text{display:inline-flex}.value{color:currentColor}.value:after{content:var(--mds-radial-progress-text-suffix)}.icon{aspect-ratio:1;fill:var(--mds-radial-progress-color);max-height:calc(var(--spacing,.0025rem)*600);max-width:calc(var(--spacing,.0025rem)*600);width:100%}@container mds-radial-progress (max-width:47px){:host([typography=label][icon]) .value-container__text,:host([typography=option][icon]) .value-container__text{display:none}}@container mds-radial-progress (max-width:35px){:host([typography=label]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:31px){:host([typography=option]) .value{--mds-radial-progress-text-suffix:""}}@container mds-radial-progress (max-width:23px){:host([typography=label]) .value{display:none}}@container mds-radial-progress (max-width:19px){:host([typography=option]) .value{display:none}}:host([variant=primary]),:host([variant=secondary]){--mds-radial-progress-color:rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=ai]){--mds-radial-progress-color:rgb(var(--magma-accent-ai-emphasis,var(--variant-ai-04,126 73 245)));--mds-radial-progress-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=error]){--mds-radial-progress-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-radial-progress-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)))}:host([variant=warning]){--mds-radial-progress-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-radial-progress-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)))}:host([variant=success]){--mds-radial-progress-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-radial-progress-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)))}:host([variant=info]){--mds-radial-progress-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-radial-progress-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)))}:host([variant=light]){--mds-radial-progress-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-radial-progress-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([variant=dark]){--mds-radial-progress-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-radial-progress-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-radial-progress-text-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}'}},[1,"mds-radial-progress",{progress:[2],icon:[513],typography:[513],variant:[513],animatedProgress:[32]},void 0,{progress:[{onProgressChange:0}]}]);function c(){"undefined"!=typeof customElements&&["mds-radial-progress","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-radial-progress":customElements.get(t(a))||customElements.define(t(a),d);break;case"mds-icon":customElements.get(t(a))||i();break;case"mds-text":customElements.get(t(a))||n()}}))}export{d as M,c as d}
@@ -1 +1 @@
1
- import{p as t,H as i,h as a,c as o,t as n}from"./p-TZJN-ygm.js";import{p as e}from"./p-CVRN4LDc.js";const s=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.active=!1,this.position="top"}render(){return a(o,{key:"20f04f3012dbf529add8cbcc8e85e830189d5a43","pref-animation":e.state.animation},a("slot",{key:"70b7b596ab0ca21742c6b25448581dc3900dab78"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input-tip-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-input-tip-transition-duration:var(--duration-300,.3s);--private-input-tip-transition-duration:var(--mds-input-tip-transition-duration);--mds-input-tip-active-translate:translate(0,0);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-tip-horizontal-offset-focused:0px;--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*400);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:flex-end;left:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));pointer-events:none;position:absolute;right:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));transform:var(--mds-input-tip-active-translate,translate(0,0));transition-duration:var(--private-input-tip-transition-duration);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:empty){display:none}:host([position=top]){top:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=bottom]){bottom:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=top][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px) * -1),calc(var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem) * 100)) * -1))}:host([position=top][active]:not([active=false])) ::slotted(mds-input-tip-item){border-top-left-radius:0;border-top-right-radius:0}:host([position=bottom][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px)*-1),var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100)))}:host([position=bottom][active]:not([active=false])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius: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-input-tip-transition-duration:0s}@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-input-tip-transition-duration:0s}}"}},[257,"mds-input-tip",{active:[516],position:[513]}]);function r(){"undefined"!=typeof customElements&&["mds-input-tip"].forEach((t=>{"mds-input-tip"===t&&(customElements.get(n(t))||customElements.define(n(t),s))}))}export{s as M,r as d}
1
+ import{p as t,H as i,h as a,c as o,t as e}from"./p-TZJN-ygm.js";import{p as n}from"./p-CVRN4LDc.js";const s=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.active=!1,this.position="top"}render(){return a(o,{key:"cc4718410e2a85b943be7639677a8f0d0f672d6c","pref-animation":n.state.animation},a("slot",{key:"8be976189455e4097980a2f4c3fc221877c20294"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-input-tip-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-input-tip-transition-duration:var(--duration-300,.3s);--private-input-tip-transition-duration:var(--mds-input-tip-transition-duration);--mds-input-tip-active-translate:translate(0,0);--mds-input-tip-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-input-tip-horizontal-offset-focused:0px;--mds-input-tip-horizontal-offset:calc(var(--spacing,.0025rem)*400);--mds-input-tip-vertical-offset:calc(var(--spacing,.0025rem)*100);display:flex;gap:calc(var(--spacing,.0025rem)*100);justify-content:flex-end;left:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));pointer-events:none;position:absolute;right:var(--mds-input-tip-horizontal-offset,calc(var(--spacing,.0025rem)*400));transform:var(--mds-input-tip-active-translate,translate(0,0));transition-duration:var(--private-input-tip-transition-duration);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:empty){display:none}:host([position=top]){top:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=bottom]){bottom:var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100))}:host([position=top][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px) * -1),calc(var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem) * 100)) * -1))}:host([position=top][active]:not([active=false])) ::slotted(mds-input-tip-item){border-top-left-radius:0;border-top-right-radius:0}:host([position=bottom][active]:not([active=false])){--mds-input-tip-active-translate:translate(calc(var(--mds-input-tip-horizontal-offset-focused,0px)*-1),var(--mds-input-tip-vertical-offset,calc(var(--spacing,.0025rem)*100)))}:host([position=bottom][active]:not([active=false])) ::slotted(mds-input-tip-item){border-bottom-left-radius:0;border-bottom-right-radius: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-input-tip-transition-duration:0s}@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-input-tip-transition-duration:0s}}"}},[257,"mds-input-tip",{active:[516],position:[513]}]);function r(){"undefined"!=typeof customElements&&["mds-input-tip"].forEach((t=>{"mds-input-tip"===t&&(customElements.get(e(t))||customElements.define(e(t),s))}))}export{s as M,r as d}
@@ -1 +1 @@
1
- import{p as a,H as r,d as e,h as n,c as t,t as s}from"./p-TZJN-ygm.js";import{h as o}from"./p-DWIIDHSa.js";import{c as i}from"./p-ChV9xqsO.js";import{m as d}from"./p-J-ikDhyq.js";import{K as c}from"./p-CGrPq3C4.js";import{L as m}from"./p-CZjwSwe5.js";import{p as l}from"./p-CVRN4LDc.js";import{d as b}from"./p-ClPv-Ljc.js";import{d as v}from"./p-Cmn1DJAB.js";import{d as g}from"./p-ZuubAcA3.js";import{d as u}from"./p-CNF3u0Li.js";var p={cancel:"Ακύρωση"},h={cancel:"Cancel"},f={cancel:"Cancelar"},x={cancel:"Annulla"};const k=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.closeEvent=e(this,"mdsBannerClose",7),this.km=new c,this.t=new m({el:p,en:h,es:f,it:x}),this.variant="primary",this.tone="weak",this.hideCockade=!1,this.ariaVariants={ai:{role:"status",live:"polite"},dark:{role:"presentation",live:void 0},error:{role:"alert",live:"assertive"},info:{role:"status",live:"polite"},light:{role:"presentation",live:void 0},primary:{role:"status",live:"polite"},success:{role:"status",live:"polite"},warning:{role:"alert",live:"assertive"}},this.deletableHandler=()=>{var a;if(this.deletable){const r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".close-button");return this.km.addElement(r),void this.km.attachClickBehavior()}this.km.detachClickBehavior()},this.setCloseButtonVariant=a=>{this.closeButtonVariant="dark"!==a?"light"!==a?null!=a?a:"primary":"dark":"light"},this.onActionSlotChange=()=>{this.hasActions=o(this.host,"action")},this.closeBanner=()=>{var a;this.closeEvent.emit();const r=null===(a=this.host)||void 0===a?void 0:a.closest("mds-modal");null!=r&&(r.opened=!1)}}componentWillLoad(){this.hasActions=o(this.host,"action"),this.setCloseButtonVariant(this.variant)}componentDidLoad(){this.deletableHandler()}componentDidUpdate(){this.deletableHandler()}disconnectedCallback(){this.km.detachClickBehavior()}variantHandler(a){this.setCloseButtonVariant(a)}render(){var a,r;return n(t,{key:"ba5d5edf2aa52fe393cc28f51bf0d15523d35338","aria-label":this.headline,role:this.ariaVariants[null!==(a=this.variant)&&void 0!==a?a:"primary"].role,"aria-live":this.ariaVariants[null!==(r=this.variant)&&void 0!==r?r:"primary"].live,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},n("div",{key:"54ea84379040ce3daa5de3fc7cbdeea1323aec0f",class:"body"},this.icon&&n("mds-icon",{key:"7c160485e4d6073e34b1e3ee8be55698263b4f64","aria-hidden":"true",class:"icon",name:this.icon}),n("div",{key:"c4376c4dc03e4766c2cbb3f836213cd5e9a44f84",class:"content"},this.headline&&n("mds-text",{key:"68a6fe970ed9d075244532b1f5d17af4ce6bbaec","aria-hidden":"true",class:"headline",typography:"h6"},this.headline),n("div",{key:"ed3ec5084369b59e3e2a4c2acc0d6a1f493e8d56",class:"text",part:"text"},n("slot",{key:"c42591b73a39d9c477e59c828b22383468d88557"}))),this.deletable&&n("mds-button",{key:"757acb59ad5082d1f3ec0f3d248bd900b7415e81",class:"close-button",icon:d,onClick:this.closeBanner,title:this.t.get("cancel"),variant:this.closeButtonVariant,tone:"text"})),n("div",{key:"76c0e14db3cbd81caa88051e497df28699fac46b",class:i("actions",!this.hasActions&&"actions--hidden")},n("slot",{key:"87d02bc023f1fb8366bd0e777cd8ab5f9dde931b",name:"action",onSlotchange:this.onActionSlotChange})))}get host(){return this}static get watchers(){return{variant:[{variantHandler:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-banner-cockade-distance:calc(var(--spacing,.0025rem)*600);--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-content-gap:calc(var(--spacing,.0025rem)*400);--mds-banner-headline-color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-banner-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-banner-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-banner-shadow:none;--mds-banner-transition-duration:var(--duration-300,.3s);--private-banner-transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));--mds-banner-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background-color:var(--mds-banner-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-banner-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-banner-shadow);color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));corner-shape:var(--magma-corner-shape,squircle);container:mds-banner/inline-size;display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-banner-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--mds-banner-transition-timing-function);width:100%}.body{align-items:flex-start;display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400));justify-content:space-between}.headline{color:var(--mds-banner-headline-color,rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}.content{box-sizing:border-box;flex-direction:column;flex-grow:1;justify-content:center}.actions,.content{display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}.actions{flex-wrap:wrap;justify-content:flex-end}.actions--hidden{display:none}.icon{fill:var(--mds-banner-icon-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));flex-shrink:0;transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));transition-property:background-color,fill;transition-timing-function:var(--mds-banner-transition-timing-function)}.text{display:grid;flex-grow:1;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}@container mds-banner (max-width:300px){:host([deletable]:not([deletable=false])) .headline,:host([deletable]:not([deletable=false])):host(:not([headline])) .content{padding-right:calc(var(--spacing,.0025rem)*800)}::slotted([slot=action]){flex-basis:100%;flex-grow:1}}:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{background-color:var(--mds-banner-cockade-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));border-bottom-left-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-bottom-right-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));margin-top:calc(-1 * var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)));padding:calc(var(--spacing,.0025rem)*200);padding-top:var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem)*600))}@container mds-banner (max-width:300px){:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{padding-top:calc(var(--spacing,.0025rem)*200)}.body{flex-direction:column}.close-button{position:absolute;right:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2);top:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2)}}:host,:host([variant=primary]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-banner-cockade-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)))}:host([variant=primary]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=ai]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=ai]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)))}:host([variant=error]){--mds-banner-headline-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-banner-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-banner-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-banner-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=error]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=warning]){--mds-banner-headline-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-banner-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-banner-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-banner-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=warning]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=info]){--mds-banner-headline-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-banner-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-banner-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-banner-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=info]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=success]){--mds-banner-headline-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-banner-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-banner-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-banner-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=success]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=dark]){--mds-banner-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-banner-cockade-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);--mds-banner-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-headline-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d)}:host([variant=dark]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}:host([variant=light]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-cockade-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([tone=box]){box-shadow:var(--shadow-box-solid-weak,#0000004d 0 2px 4px,#00000008 0 0 0 1px,#0000001a 0 7px 13px -3px,#0003 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset)}: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-banner-transition-duration:0s}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@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-banner-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}"}},[257,"mds-banner",{variant:[513],tone:[513],hideCockade:[516,"hide-cockade"],deletable:[4],headline:[1],icon:[1],closeButtonVariant:[32],hasActions:[32]},void 0,{variant:[{variantHandler:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-banner","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-banner":customElements.get(s(a))||customElements.define(s(a),k);break;case"mds-button":customElements.get(s(a))||b();break;case"mds-icon":customElements.get(s(a))||v();break;case"mds-spinner":customElements.get(s(a))||g();break;case"mds-text":customElements.get(s(a))||u()}}))}export{k as M,w as d}
1
+ import{p as a,H as r,d as e,h as n,c as t,t as s}from"./p-TZJN-ygm.js";import{h as o}from"./p-DWIIDHSa.js";import{c as i}from"./p-ChV9xqsO.js";import{m as d}from"./p-J-ikDhyq.js";import{K as c}from"./p-CGrPq3C4.js";import{L as m}from"./p-CZjwSwe5.js";import{p as l}from"./p-CVRN4LDc.js";import{d as b}from"./p-M8dGB4KH.js";import{d as v}from"./p-CEw7GvM-.js";import{d as g}from"./p-DDTJwlAd.js";import{d as u}from"./p-aujz-VM9.js";var p={cancel:"Ακύρωση"},h={cancel:"Cancel"},f={cancel:"Cancelar"},x={cancel:"Annulla"};const k=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.closeEvent=e(this,"mdsBannerClose",7),this.km=new c,this.t=new m({el:p,en:h,es:f,it:x}),this.variant="primary",this.tone="weak",this.hideCockade=!1,this.ariaVariants={ai:{role:"status",live:"polite"},dark:{role:"presentation",live:void 0},error:{role:"alert",live:"assertive"},info:{role:"status",live:"polite"},light:{role:"presentation",live:void 0},primary:{role:"status",live:"polite"},success:{role:"status",live:"polite"},warning:{role:"alert",live:"assertive"}},this.deletableHandler=()=>{var a;if(this.deletable){const r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".close-button");return this.km.addElement(r),void this.km.attachClickBehavior()}this.km.detachClickBehavior()},this.setCloseButtonVariant=a=>{this.closeButtonVariant="dark"!==a?"light"!==a?null!=a?a:"primary":"dark":"light"},this.onActionSlotChange=()=>{this.hasActions=o(this.host,"action")},this.closeBanner=()=>{var a;this.closeEvent.emit();const r=null===(a=this.host)||void 0===a?void 0:a.closest("mds-modal");null!=r&&(r.opened=!1)}}componentWillLoad(){this.hasActions=o(this.host,"action"),this.setCloseButtonVariant(this.variant)}componentDidLoad(){this.deletableHandler()}componentDidUpdate(){this.deletableHandler()}disconnectedCallback(){this.km.detachClickBehavior()}variantHandler(a){this.setCloseButtonVariant(a)}render(){var a,r;return n(t,{key:"38e2261812c50298258f689158fd5aa89c8d9604","aria-label":this.headline,role:this.ariaVariants[null!==(a=this.variant)&&void 0!==a?a:"primary"].role,"aria-live":this.ariaVariants[null!==(r=this.variant)&&void 0!==r?r:"primary"].live,"pref-animation":l.state.animation,"pref-contrast":l.state.contrast,"pref-mode":l.state.mode,"pref-theme-scheme":l.state["theme-scheme"]},n("div",{key:"b827508e9566d3282e5c6becbc83cccdf837d5c0",class:"body"},this.icon&&n("mds-icon",{key:"50c27820fa631fa094337193ff2dad8b46bbadbc","aria-hidden":"true",class:"icon",name:this.icon}),n("div",{key:"e6f5e2478ef9b4d4e0ed428ddc573d770250b21e",class:"content"},this.headline&&n("mds-text",{key:"bd5a249e8108fe7b8a801c8137d123b3166ceb98","aria-hidden":"true",class:"headline",typography:"h6"},this.headline),n("div",{key:"1e36faab19b706fa55d342d201d6e5f3e91973ab",class:"text",part:"text"},n("slot",{key:"85dd2613a5f4f7de032143c099b4286374a4f765"}))),this.deletable&&n("mds-button",{key:"e5bc724dd82fec4db5c4a36212245cd685e0c831",class:"close-button",icon:d,onClick:this.closeBanner,title:this.t.get("cancel"),variant:this.closeButtonVariant,tone:"text"})),n("div",{key:"581e5ab175a7899780972d602904bb2f3f9a81e2",class:i("actions",!this.hasActions&&"actions--hidden")},n("slot",{key:"cb263fb11910ecff1368cccf63a36402823e0a7d",name:"action",onSlotchange:this.onActionSlotChange})))}get host(){return this}static get watchers(){return{variant:[{variantHandler:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,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-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-banner-cockade-distance:calc(var(--spacing,.0025rem)*600);--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-content-gap:calc(var(--spacing,.0025rem)*400);--mds-banner-headline-color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-banner-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-banner-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-banner-shadow:none;--mds-banner-transition-duration:var(--duration-300,.3s);--private-banner-transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));--mds-banner-transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));background-color:var(--mds-banner-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-banner-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-banner-shadow);color:var(--mds-banner-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));corner-shape:var(--magma-corner-shape,squircle);container:mds-banner/inline-size;display:grid;gap:calc(var(--spacing,.0025rem)*600);grid-template-columns:repeat(1,minmax(1px,100%));padding:calc(var(--spacing,.0025rem)*600);position:relative;transition-duration:var(--private-banner-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--mds-banner-transition-timing-function);width:100%}.body{align-items:flex-start;display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400));justify-content:space-between}.headline{color:var(--mds-banner-headline-color,rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}.content{box-sizing:border-box;flex-direction:column;flex-grow:1;justify-content:center}.actions,.content{display:flex;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}.actions{flex-wrap:wrap;justify-content:flex-end}.actions--hidden{display:none}.icon{fill:var(--mds-banner-icon-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));flex-shrink:0;transition-duration:var(--mds-banner-transition-duration,var(--duration-300,.3s));transition-property:background-color,fill;transition-timing-function:var(--mds-banner-transition-timing-function)}.text{display:grid;flex-grow:1;gap:var(--mds-banner-content-gap,calc(var(--spacing,.0025rem)*400))}@container mds-banner (max-width:300px){:host([deletable]:not([deletable=false])) .headline,:host([deletable]:not([deletable=false])):host(:not([headline])) .content{padding-right:calc(var(--spacing,.0025rem)*800)}::slotted([slot=action]){flex-basis:100%;flex-grow:1}}:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{background-color:var(--mds-banner-cockade-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));border-bottom-left-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));border-bottom-right-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));margin-top:calc(-1 * var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)));padding:calc(var(--spacing,.0025rem)*200);padding-top:var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem)*600))}@container mds-banner (max-width:300px){:host(:not([hide-cockade])) .icon,:host([hide-cockade=false]) .icon{padding-top:calc(var(--spacing,.0025rem)*200)}.body{flex-direction:column}.close-button{position:absolute;right:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2);top:calc(var(--mds-banner-cockade-distance,calc(var(--spacing,.0025rem) * 600)) / 2)}}:host,:host([variant=primary]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-banner-cockade-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)))}:host([variant=primary]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:host([variant=ai]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-accent-ai-emphasis-active,var(--variant-ai-02,65 11 190)));--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface,var(--variant-ai-09,229 218 253)))}:host([variant=ai]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-accent-ai-fg,var(--variant-ai-03,87 20 242)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-accent-ai-surface-subtle,var(--variant-ai-10,240 234 254)))}:host([variant=error]){--mds-banner-headline-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-banner-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-banner-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-banner-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)))}:host([variant=error]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)))}:host([variant=warning]){--mds-banner-headline-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-banner-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-banner-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-banner-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)))}:host([variant=warning]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)))}:host([variant=info]){--mds-banner-headline-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-banner-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-banner-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-banner-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)))}:host([variant=info]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)))}:host([variant=success]){--mds-banner-headline-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-banner-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-banner-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-banner-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-banner-shadow:none;--mds-banner-cockade-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)))}:host([variant=success]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)))}:host([variant=dark]){--mds-banner-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-banner-cockade-background:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))/.15);--mds-banner-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-headline-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d)}:host([variant=dark]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a)}:host([variant=light]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-banner-headline-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-cockade-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([variant=light]):host([tone=weak]){--mds-banner-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-banner-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-banner-icon-color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));--mds-banner-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-banner-cockade-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)))}:host([tone=box]){box-shadow:var(--shadow-box-solid-weak,#0000004d 0 2px 4px,#00000008 0 0 0 1px,#0000001a 0 7px 13px -3px,#0003 0 -3px 0 inset,#ffffff1a 0 -8px 10px inset,#ffffff26 0 -4px 0 inset)}: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-banner-transition-duration:0s}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}@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-banner-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}"}},[257,"mds-banner",{variant:[513],tone:[513],hideCockade:[516,"hide-cockade"],deletable:[4],headline:[1],icon:[1],closeButtonVariant:[32],hasActions:[32]},void 0,{variant:[{variantHandler:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-banner","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-banner":customElements.get(s(a))||customElements.define(s(a),k);break;case"mds-button":customElements.get(s(a))||b();break;case"mds-icon":customElements.get(s(a))||v();break;case"mds-spinner":customElements.get(s(a))||g();break;case"mds-text":customElements.get(s(a))||u()}}))}export{k as M,w as d}
@@ -0,0 +1 @@
1
+ import{p as t,H as a,h as e,c as r,t as s}from"./p-TZJN-ygm.js";import{F as i}from"./p-jasGzfhE.js";import{p as o}from"./p-CVRN4LDc.js";import{d as n}from"./p-aujz-VM9.js";const d=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.hideArrow=!1,this.arrowPadding=4,this.disableAutoPlacement=!1,this.flip=!1,this.offset=12,this.placement="top",this.relation="description",this.typography="tip",this.disableShift=!1,this.shiftPadding=12,this.strategy="fixed",this.visible=!1,this.hovered=!1,this.focused=!1,this.syncVisibility=()=>{this.visible=this.hovered||this.focused},this.handleMouseEnter=()=>{this.hovered=!0,this.syncVisibility()},this.handleMouseLeave=()=>{this.hovered=!1,this.syncVisibility()},this.handleFocusIn=()=>{this.focused=!0,this.syncVisibility()},this.handleFocusOut=()=>{this.focused=!1,this.syncVisibility()},this.handleEscape=t=>{"Escape"===t.key&&this.visible&&(this.hovered=!1,this.focused=!1,this.syncVisibility())},this.listenTo=t=>{this.caller&&(this.caller.removeEventListener("mouseenter",this.handleMouseEnter),this.caller.removeEventListener("mouseleave",this.handleMouseLeave),this.caller.removeEventListener("focusin",this.handleFocusIn),this.caller.removeEventListener("focusout",this.handleFocusOut),this.caller.removeEventListener("keydown",this.handleEscape)),this.caller=t,t&&(t.addEventListener("mouseenter",this.handleMouseEnter),t.addEventListener("mouseleave",this.handleMouseLeave),t.addEventListener("focusin",this.handleFocusIn),t.addEventListener("focusout",this.handleFocusOut),t.addEventListener("keydown",this.handleEscape))}}hideArrowChanged(){this.floatingController.updatePosition()}disableAutoPlacementChanged(){this.floatingController.updatePosition()}flipChanged(){this.floatingController.updatePosition()}offsetChanged(){this.floatingController.updatePosition()}placementChanged(){this.floatingController.updatePosition()}disableShiftChanged(){this.floatingController.updatePosition()}shiftPaddingChanged(){this.floatingController.updatePosition()}strategyChanged(){this.floatingController.updatePosition()}relationChanged(){var t;null===(t=this.floatingController)||void 0===t||t.rewire()}visibleChanged(t){this.floatingController.updatePosition(),t?this.floatingController.updatePosition():this.floatingController.dismiss()}targetChanged(){var t,a;if(""===(null!==(t=this.target)&&void 0!==t?t:""))return;const e=null===(a=this.floatingController)||void 0===a?void 0:a.updateCaller(this.target);e&&this.listenTo(e)}componentDidLoad(){var t;const a=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".arrow");this.floatingController=new i(this.host,a,"tooltip"),this.targetChanged(),this.visible&&this.visibleChanged(!0)}connectedCallback(){this.floatingController&&this.targetChanged()}disconnectedCallback(){var t;this.listenTo(void 0),null===(t=this.floatingController)||void 0===t||t.dismiss()}render(){return e(r,{key:"d486ba2a2bd7c24c10346fbc3f84e93dc140df73","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},e("div",{key:"debcfb1f1a7ab634194ecb41c0ba72e48ca015be",class:"arrow",innerHTML:'<svg width="15" height="9" viewBox="0 0 15 9" xmlns="http://www.w3.org/2000/svg">\n <path d="M5.9 1.13333C6.7 0.0666664 8.3 0.0666666 9.1 1.13333L15 9H0L5.9 1.13333Z"/>\n</svg>\n'}),e("mds-text",{key:"e3d299de67c570d426cc22e80d84b78e3bdae77b",class:"text",typography:this.typography,part:"text"},e("slot",{key:"c2306fe37212535579e3facc340654bfe68ad183"})))}get host(){return this}static get watchers(){return{hideArrow:[{hideArrowChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],relation:[{relationChanged:0}],visible:[{visibleChanged:0}],target:[{targetChanged:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tooltip-arrow-background:var(--mds-tooltip-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-tooltip-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tooltip-delay:var(--duration-1000,1s);--mds-tooltip-drop-shadow:drop-shadow(0 calc(var(--spacing,.0025rem)*250) calc(var(--spacing,.0025rem)*200) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.04)) drop-shadow(0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*75) rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1)) drop-shadow(0 0 1px rgb(var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5))/.1));--mds-tooltip-duration:var(--duration-500,.5s);--private-tooltip-duration:var(--mds-tooltip-duration,var(--duration-500,.5s));--mds-tooltip-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tooltip-dot-padding:calc(var(--spacing,.0025rem)*100);--mds-tooltip-transform-from:scale(.9) translateY(calc(var(--spacing,.0025rem)*400*-1));--mds-tooltip-transform-to:scale(1) translate(0,0);--mds-tooltip-z-index:var(--magma-tooltip-z-index,6000);background-color:var(--mds-tooltip-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--magma-radius-3xs,var(--radius-squircle-3xs,6px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:grid;filter:var(--mds-tooltip-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);max-width:calc(var(--spacing,.0025rem)*6400);opacity:0;padding-block:calc(var(--spacing,.0025rem)*100);padding-inline:calc(var(--spacing,.0025rem)*200);pointer-events:none;position:fixed;transform:var(--mds-tooltip-transform-from,scale(.9) translateY(calc(var(--spacing,.0025rem)*400*-1)));transition-delay:0s;transition-duration:var(--private-tooltip-duration);transition-property:opacity,transform;transition-timing-function:var(--mds-tooltip-ease);width:fit-content;z-index:var(--mds-tooltip-z-index,var(--magma-tooltip-z-index,6000))}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}:host([visible]:not([visible=false])){opacity:1;pointer-events:auto;transform:var(--mds-tooltip-transform-to,scale(1) translate(0,0));transition-delay:var(--mds-tooltip-delay,var(--duration-1000,1s))}.text{display:inline-flex;padding:var(--mds-tooltip-dot-padding,calc(var(--spacing,.0025rem)*100))}.arrow{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));display:flex;fill:var(--mds-tooltip-arrow-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-225);transition-duration:var(--duration-300,.3s);transition-property:fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));z-index:-1}::slotted(*){position:relative;z-index:10}: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-tooltip-duration:0s}:host([pref-contrast=more]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])[pref-contrast=more]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}@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-tooltip-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.05)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.3))}:host([pref-contrast=system][pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]:not([pref-theme-scheme=light])){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]:not([pref-theme-scheme=light])){--mds-tooltip-drop-shadow:drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.075)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45)) drop-shadow(0 0 calc(var(--spacing,.0025rem)*100) rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))/.45))}}'}},[257,"mds-tooltip",{hideArrow:[4,"hide-arrow"],arrowPadding:[2,"arrow-padding"],disableAutoPlacement:[516,"disable-auto-placement"],flip:[4],target:[513],offset:[2],placement:[513],relation:[513],typography:[1],disableShift:[4,"disable-shift"],shiftPadding:[2,"shift-padding"],strategy:[513],visible:[1540]},void 0,{hideArrow:[{hideArrowChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],relation:[{relationChanged:0}],visible:[{visibleChanged:0}],target:[{targetChanged:0}]}]);function l(){"undefined"!=typeof customElements&&["mds-tooltip","mds-text"].forEach((t=>{switch(t){case"mds-tooltip":customElements.get(s(t))||customElements.define(s(t),d);break;case"mds-text":customElements.get(s(t))||n()}}))}export{d as M,l as d}
@@ -1 +1 @@
1
- import{p as t,H as e,h as o,c as r,t as a}from"./p-TZJN-ygm.js";import{s as i}from"./p-Cvhn9asj.js";import{p as n}from"./p-CVRN4LDc.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){i(this.host,"role","cell")}render(){return o(r,{key:"e729dcb332b155e67087c9df7467a749e6dfd824","pref-animation":n.state.animation},o("slot",{key:"9a3460cff8e06f3ca9edd802e149c07d85126130"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-table-cell-background:var(--mds-table-row-background);--mds-table-cell-background-alt:var(--mds-table-background);--mds-table-cell-color-alt:var(--mds-table-color);--mds-table-cell-color:var(--mds-table-row-color);--mds-table-cell-transition-duration:var(--duration-200,.2s);--private-table-cell-transition-duration:var(--mds-table-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-cell-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;color:var(--mds-table-cell-color);display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}: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-table-cell-transition-duration:0s}:host([sorted]){--mds-table-cell-background:var(--mds-table-cell-background-alt);--mds-table-cell-color:var(--mds-table-cell-color-alt)}: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}@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-table-cell-transition-duration:0s}}'}},[257,"mds-table-cell",{value:[520]}]);function l(){"undefined"!=typeof customElements&&["mds-table-cell"].forEach((t=>{"mds-table-cell"===t&&(customElements.get(a(t))||customElements.define(a(t),s))}))}export{s as M,l as d}
1
+ import{p as t,H as e,h as o,c as r,t as a}from"./p-TZJN-ygm.js";import{s as i}from"./p-Cvhn9asj.js";import{p as n}from"./p-CVRN4LDc.js";const s=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}componentWillLoad(){i(this.host,"role","cell")}render(){return o(r,{key:"a367bbd8d985a03897584b9cd8e8c7deac57e83c","pref-animation":n.state.animation},o("slot",{key:"1e10c2c1d7a582f3a33cdc6bb683200213a74462"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-table-cell-background:var(--mds-table-row-background);--mds-table-cell-background-alt:var(--mds-table-background);--mds-table-cell-color-alt:var(--mds-table-color);--mds-table-cell-color:var(--mds-table-row-color);--mds-table-cell-transition-duration:var(--duration-200,.2s);--private-table-cell-transition-duration:var(--mds-table-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-cell-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;color:var(--mds-table-cell-color);display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}: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-table-cell-transition-duration:0s}:host([sorted]){--mds-table-cell-background:var(--mds-table-cell-background-alt);--mds-table-cell-color:var(--mds-table-cell-color-alt)}: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}@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-table-cell-transition-duration:0s}}'}},[257,"mds-table-cell",{value:[520]}]);function l(){"undefined"!=typeof customElements&&["mds-table-cell"].forEach((t=>{"mds-table-cell"===t&&(customElements.get(a(t))||customElements.define(a(t),s))}))}export{s as M,l as d}
@@ -1 +1 @@
1
- import{p as t,H as n,h as i,c as r,t as a}from"./p-TZJN-ygm.js";import{p as e}from"./p-CVRN4LDc.js";const o=t(class extends n{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.running=!1}handleRunning(t){!1===t&&(this.running=void 0)}render(){return i(r,{key:"c954ed0a351fdfcf768d1d739bf5ca9608a03982","pref-animation":e.state.animation,"pref-contrast":e.state.contrast},i("i",{key:"a1812cf9c76c7617eab4ae1eeca19e605bd1da80",class:"await-icon",innerHTML:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n'}))}static get watchers(){return{running:[{handleRunning:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-spinner-duration:.725s;--private-spinner-duration:var(--mds-spinner-duration,.725s);--tw-ease:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));align-items:center;color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));display:inline-flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:center;opacity:0;overflow:hidden;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:opacity,transform;transition-timing-function:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));width:calc(var(--spacing,.0025rem)*1200)}:host([running]){--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));opacity:1;transform:scale(1);transition-duration:var(--duration-700,.7s);transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.await-icon{animation:var(--animate-spin,spin 1s linear infinite);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));animation-duration:var(--private-spinner-duration);animation-play-state:paused;aspect-ratio:var(--aspect-square,1/1);display:flex;flex-shrink:0;stroke:currentColor;transition-duration:var(--duration-300,.3s);transition-property:stroke;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.await-icon svg{width:100%}:host([running]) .await-icon{animation-play-state:running}: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-spinner-duration:8s}:host([pref-contrast=more]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}: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}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@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-spinner-duration:8s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'}},[1,"mds-spinner",{running:[1540]},void 0,{running:[{handleRunning:0}]}]);function s(){"undefined"!=typeof customElements&&["mds-spinner"].forEach((t=>{"mds-spinner"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))}export{o as M,s as d}
1
+ import{p as t,H as n,h as i,c as r,t as a}from"./p-TZJN-ygm.js";import{p as e}from"./p-CVRN4LDc.js";const o=t(class extends n{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.running=!1}handleRunning(t){!1===t&&(this.running=void 0)}render(){return i(r,{key:"0daacdb66e13292d526033c319cc29087bde77fb","pref-animation":e.state.animation,"pref-contrast":e.state.contrast},i("i",{key:"4d2a0425f4147fc2babe16c8677273bd429e7bdc",class:"await-icon",innerHTML:'<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path opacity="0.25" d="M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z" stroke="currentColor" stroke-width="4"/>\n <path opacity="0.75" d="M10 2.2002C5.43552 3.12674 2 7.16224 2 12.0002C2 13.5118 2.3354 14.9451 2.93585 16.2297" stroke="currentColor" stroke-width="4" stroke-linecap="round"/>\n</svg>\n'}))}static get watchers(){return{running:[{handleRunning:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host{--mds-spinner-duration:.725s;--private-spinner-duration:var(--mds-spinner-duration,.725s);--tw-ease:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));align-items:center;color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));display:inline-flex;height:calc(var(--spacing,.0025rem)*1200);justify-content:center;opacity:0;overflow:hidden;transform:scale(0);transition-duration:var(--duration-300,.3s);transition-property:opacity,transform;transition-timing-function:var(--ease-in-out-quart,cubic-bezier(.77,0,.175,1));width:calc(var(--spacing,.0025rem)*1200)}:host([running]){--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));opacity:1;transform:scale(1);transition-duration:var(--duration-700,.7s);transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.await-icon{animation:var(--animate-spin,spin 1s linear infinite);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));animation-duration:var(--private-spinner-duration);animation-play-state:paused;aspect-ratio:var(--aspect-square,1/1);display:flex;flex-shrink:0;stroke:currentColor;transition-duration:var(--duration-300,.3s);transition-property:stroke;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.await-icon svg{width:100%}:host([running]) .await-icon{animation-play-state:running}: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-spinner-duration:8s}:host([pref-contrast=more]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}: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}@property --tw-ease{syntax:"*";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@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-spinner-duration:8s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'}},[1,"mds-spinner",{running:[1540]},void 0,{running:[{handleRunning:0}]}]);function s(){"undefined"!=typeof customElements&&["mds-spinner"].forEach((t=>{"mds-spinner"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))}export{o as M,s as d}
@@ -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{d as m}from"./p-BO-jHv-F.js";import{d as o}from"./p-ClPv-Ljc.js";import{d as i}from"./p-Cmn1DJAB.js";import{d as c}from"./p-CaROqeeK.js";import{d}from"./p-ZuubAcA3.js";import{d as n}from"./p-CNF3u0Li.js";const v=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.tone="weak"}render(){return s(r,{key:"8ad5051f47c51387c968570afd0934423f8c48dd"},s("mds-avatar",{key:"6b51faaa7960a47e919d0b486f2418d8d6acceb6",class:"avatar",count:this.count,initials:this.initials,src:this.src,tone:this.tone,variant:this.variant}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar: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-avatar-stack-item-background:var(--mds-avatar-stack-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-avatar-stack-item-count-background-color:var(--mds-avatar-stack-count-background-color,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-avatar-stack-item-count-color:var(--mds-avatar-stack-count-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-avatar-stack-item-border:var(--mds-avatar-stack-md-border,calc(var(--spacing,.0025rem)*100));--mds-avatar-stack-item-size:var(--mds-avatar-stack-md-size,calc(var(--spacing,.0025rem)*1200));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-md-offset,1.75);--mds-avatar-stack-item-offset-margin:calc(var(--mds-avatar-stack-item-size)/var(--mds-avatar-stack-item-offset));display:inline-flex;height:var(--mds-avatar-stack-item-size);position:relative;width:var(--mds-avatar-stack-item-size)}:host(:not(:first-child)){margin-left:calc(var(--mds-avatar-stack-item-size)*-1 - var(--mds-avatar-stack-item-offset-margin)*-1)}.avatar{border:var(--mds-avatar-stack-item-border) solid var(--mds-avatar-stack-item-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-sizing:border-box;height:var(--mds-avatar-stack-item-size);min-width:var(--mds-avatar-stack-item-size);position:absolute;width:var(--mds-avatar-stack-item-size)}:host([count]) .avatar{--mds-avatar-background-color:var(--mds-avatar-stack-item-count-background-color,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-avatar-color:var(--mds-avatar-stack-item-count-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}"}},[1,"mds-avatar-stack-item",{count:[514],initials:[1537],src:[513],tone:[513],variant:[513]}]);function l(){"undefined"!=typeof customElements&&["mds-avatar-stack-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar-stack-item":customElements.get(e(a))||customElements.define(e(a),v);break;case"mds-avatar":customElements.get(e(a))||m();break;case"mds-button":customElements.get(e(a))||o();break;case"mds-icon":customElements.get(e(a))||i();break;case"mds-img":customElements.get(e(a))||c();break;case"mds-spinner":customElements.get(e(a))||d();break;case"mds-text":customElements.get(e(a))||n()}}))}export{v as M,l as d}
1
+ import{p as a,H as t,h as s,c as r,t as e}from"./p-TZJN-ygm.js";import{d as m}from"./p-qnCVkeGX.js";import{d as o}from"./p-M8dGB4KH.js";import{d as i}from"./p-CEw7GvM-.js";import{d as c}from"./p-Bo6ezD1p.js";import{d}from"./p-DDTJwlAd.js";import{d as n}from"./p-aujz-VM9.js";const v=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.tone="weak"}render(){return s(r,{key:"05fab51722e7e9e5e62276db93ab0f93cdb34859"},s("mds-avatar",{key:"f42a8842f09cb7468d9e5637d0b144815dda374c",class:"avatar",count:this.count,initials:this.initials,src:this.src,tone:this.tone,variant:this.variant}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-avatar: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-avatar-stack-item-background:var(--mds-avatar-stack-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-avatar-stack-item-count-background-color:var(--mds-avatar-stack-count-background-color,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-avatar-stack-item-count-color:var(--mds-avatar-stack-count-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-avatar-stack-item-border:var(--mds-avatar-stack-md-border,calc(var(--spacing,.0025rem)*100));--mds-avatar-stack-item-size:var(--mds-avatar-stack-md-size,calc(var(--spacing,.0025rem)*1200));--mds-avatar-stack-item-offset:var(--mds-avatar-stack-md-offset,1.75);--mds-avatar-stack-item-offset-margin:calc(var(--mds-avatar-stack-item-size)/var(--mds-avatar-stack-item-offset));display:inline-flex;height:var(--mds-avatar-stack-item-size);position:relative;width:var(--mds-avatar-stack-item-size)}:host(:not(:first-child)){margin-left:calc(var(--mds-avatar-stack-item-size)*-1 - var(--mds-avatar-stack-item-offset-margin)*-1)}.avatar{border:var(--mds-avatar-stack-item-border) solid var(--mds-avatar-stack-item-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));box-sizing:border-box;height:var(--mds-avatar-stack-item-size);min-width:var(--mds-avatar-stack-item-size);position:absolute;width:var(--mds-avatar-stack-item-size)}:host([count]) .avatar{--mds-avatar-background-color:var(--mds-avatar-stack-item-count-background-color,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--mds-avatar-color:var(--mds-avatar-stack-item-count-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))))}"}},[1,"mds-avatar-stack-item",{count:[514],initials:[1537],src:[513],tone:[513],variant:[513]}]);function l(){"undefined"!=typeof customElements&&["mds-avatar-stack-item","mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar-stack-item":customElements.get(e(a))||customElements.define(e(a),v);break;case"mds-avatar":customElements.get(e(a))||m();break;case"mds-button":customElements.get(e(a))||o();break;case"mds-icon":customElements.get(e(a))||i();break;case"mds-img":customElements.get(e(a))||c();break;case"mds-spinner":customElements.get(e(a))||d();break;case"mds-text":customElements.get(e(a))||n()}}))}export{v as M,l as d}
@@ -1 +1 @@
1
- import{p as t,H as e,d as s,h as a,c as o,t as i}from"./p-TZJN-ygm.js";import{p as r}from"./p-CVRN4LDc.js";import{c as d}from"./p-ChV9xqsO.js";import{d as n}from"./p-ClPv-Ljc.js";import{d as m}from"./p-Cmn1DJAB.js";import{d as c}from"./p-ZuubAcA3.js";import{d as h}from"./p-CNF3u0Li.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=s(this,"mdsTabItemSelect",7),this.focusedEvent=s(this,"mdsTabItemFocus",7),this.iconPosition="left",this.type="submit",this.size="md",this.isLink=()=>{var t;return""!==(null!==(t=this.href)&&void 0!==t?t:"")},this.toggle=t=>{this.disabled||this.isLink()&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)||(this.isSelected=!this.isSelected,this.isSelected&&this.selectedEvent.emit({target:this.element,value:this.value}))},this.focus=()=>{this.focusedEvent.emit({target:this.element,value:this.value})}}validateActive(t){this.isSelected!==t&&(this.isSelected=t,this.isSelected&&this.selectedEvent.emit({target:this.element,value:this.value}))}componentWillLoad(){this.hasText=""!==this.element.innerHTML}render(){var t;return a(o,{key:"8cd84859ca4d91d489035a6617c746e171411504","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},a("mds-button",{key:"efdb787a43352121d95c82aab4f595da76b253af",class:d("button",this.selected?"selected":""),await:this.await,disabled:null!==(t=this.disabled)&&void 0!==t?t:void 0,href:this.href,icon:this.icon,iconPosition:this.iconPosition,onKeyDown:this.focus,onClick:this.toggle,part:"button",role:this.isLink()?"link":"tab","aria-current":this.isLink()&&this.selected?"true":void 0,"aria-expanded":void 0===this.expanded?void 0:`${this.expanded}`,label:this.label,size:this.size,title:this.element.title||void 0,type:this.type}))}get element(){return this}static get watchers(){return{selected:[{validateActive:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-item-selected-shadow:inherit;--mds-tab-item-radius:inherit;corner-shape:var(--magma-corner-shape,squircle);cursor:pointer;display:flex}:host([animation=slide]){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:none;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none;--mds-tab-item-hover-shadow:none}.button{--mds-button-background:var(--mds-tab-item-default-background);--mds-button-color:var(--mds-tab-item-default-color);--mds-button-radius:var(--mds-tab-item-radius);--mds-button-border-default-opacity:0;--mds-button-corner-shape:var(--mds-tab-item-corner-shape,var(--magma-corner-shape,squircle));aspect-ratio:auto;box-shadow:var(--mds-tab-item-default-shadow,none);flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background);--mds-button-color:var(--mds-tab-item-hover-color);box-shadow:var(--mds-tab-item-hover-shadow,var(--mds-tab-item-default-shadow,none))}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background);--mds-button-color:var(--mds-tab-item-selected-color);box-shadow:var(--mds-tab-item-selected-shadow);pointer-events:none}:host([disabled]){pointer-events:none}:host([direction=vertical]){width:100%}:host([direction=vertical]) .button{justify-content:start}:host([pref-contrast=more]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"}},[1,"mds-tab-item",{await:[516],selected:[1540],disabled:[1540],icon:[1],label:[513],iconPosition:[1,"icon-position"],type:[1],size:[513],direction:[513],animation:[513],value:[513],href:[513],expanded:[4],isSelected:[32],hasText:[32]},void 0,{selected:[{validateActive:0}]}]);function b(){"undefined"!=typeof customElements&&["mds-tab-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-tab-item":customElements.get(i(t))||customElements.define(i(t),l);break;case"mds-button":customElements.get(i(t))||n();break;case"mds-icon":customElements.get(i(t))||m();break;case"mds-spinner":customElements.get(i(t))||c();break;case"mds-text":customElements.get(i(t))||h()}}))}export{l as M,b as d}
1
+ import{p as t,H as e,d as s,h as a,c as o,t as i}from"./p-TZJN-ygm.js";import{p as r}from"./p-CVRN4LDc.js";import{c as d}from"./p-ChV9xqsO.js";import{d as n}from"./p-M8dGB4KH.js";import{d as m}from"./p-CEw7GvM-.js";import{d as h}from"./p-DDTJwlAd.js";import{d as c}from"./p-aujz-VM9.js";const l=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=s(this,"mdsTabItemSelect",7),this.focusedEvent=s(this,"mdsTabItemFocus",7),this.iconPosition="left",this.type="submit",this.size="md",this.isLink=()=>{var t;return""!==(null!==(t=this.href)&&void 0!==t?t:"")},this.toggle=t=>{this.disabled||this.isLink()&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)||(this.isSelected=!this.isSelected,this.isSelected&&this.selectedEvent.emit({target:this.element,value:this.value}))},this.focus=()=>{this.focusedEvent.emit({target:this.element,value:this.value})}}validateActive(t){this.isSelected!==t&&(this.isSelected=t,this.isSelected&&this.selectedEvent.emit({target:this.element,value:this.value}))}componentWillLoad(){this.hasText=""!==this.element.innerHTML}render(){var t;return a(o,{key:"b06f1e53601737f257dd54264d5a0e1f87792130","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},a("mds-button",{key:"549be08e1a94e8301931f4fdb145b77a68913df2",class:d("button",this.selected?"selected":""),await:this.await,disabled:null!==(t=this.disabled)&&void 0!==t?t:void 0,href:this.href,icon:this.icon,iconPosition:this.iconPosition,onKeyDown:this.focus,onClick:this.toggle,part:"button",role:this.isLink()?"link":"tab","aria-current":this.isLink()&&this.selected?"true":void 0,"aria-expanded":void 0===this.expanded?void 0:`${this.expanded}`,label:this.label,size:this.size,title:this.element.title||void 0,type:this.type}))}get element(){return this}static get watchers(){return{selected:[{validateActive:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-item-selected-shadow:inherit;--mds-tab-item-radius:inherit;corner-shape:var(--magma-corner-shape,squircle);cursor:pointer;display:flex}:host([animation=slide]){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:none;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none;--mds-tab-item-hover-shadow:none}.button{--mds-button-background:var(--mds-tab-item-default-background);--mds-button-color:var(--mds-tab-item-default-color);--mds-button-radius:var(--mds-tab-item-radius);--mds-button-border-default-opacity:0;--mds-button-corner-shape:var(--mds-tab-item-corner-shape,var(--magma-corner-shape,squircle));aspect-ratio:auto;box-shadow:var(--mds-tab-item-default-shadow,none);flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background);--mds-button-color:var(--mds-tab-item-hover-color);box-shadow:var(--mds-tab-item-hover-shadow,var(--mds-tab-item-default-shadow,none))}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background);--mds-button-color:var(--mds-tab-item-selected-color);box-shadow:var(--mds-tab-item-selected-shadow);pointer-events:none}:host([disabled]){pointer-events:none}:host([direction=vertical]){width:100%}:host([direction=vertical]) .button{justify-content:start}:host([pref-contrast=more]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"}},[1,"mds-tab-item",{await:[516],selected:[1540],disabled:[1540],icon:[1],label:[513],iconPosition:[1,"icon-position"],type:[1],size:[513],direction:[513],animation:[513],value:[513],href:[513],expanded:[4],isSelected:[32],hasText:[32]},void 0,{selected:[{validateActive:0}]}]);function b(){"undefined"!=typeof customElements&&["mds-tab-item","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-tab-item":customElements.get(i(t))||customElements.define(i(t),l);break;case"mds-button":customElements.get(i(t))||n();break;case"mds-icon":customElements.get(i(t))||m();break;case"mds-spinner":customElements.get(i(t))||h();break;case"mds-text":customElements.get(i(t))||c()}}))}export{l as M,b as d}
@@ -1 +1 @@
1
- import{p as t,H as o,d as i,h as a,c as s,t as n}from"./p-TZJN-ygm.js";import{c as e}from"./p-ChV9xqsO.js";import{h as r}from"./p-DWIIDHSa.js";import{c as d}from"./p-CWk1SCJg.js";import{p as m}from"./p-CVRN4LDc.js";import{m as l}from"./p-J-ikDhyq.js";import{L as h}from"./p-CZjwSwe5.js";import{d as c}from"./p-ClPv-Ljc.js";import{d as p}from"./p-Cmn1DJAB.js";import{d as w}from"./p-ZuubAcA3.js";import{d as f}from"./p-CNF3u0Li.js";var v={close:"Κλείσιμο"},g={close:"Close"},u={close:"Cerrar"},b={close:"Chiudi"};const y=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.openEvent=i(this,"mdsModalOpen",7),this.showEvent=i(this,"mdsModalShow",7),this.closeEvent=i(this,"mdsModalClose",7),this.hideEvent=i(this,"mdsModalHide",7),this.t=new h({el:v,en:g,es:u,it:b}),this.bodyOverflow="",this.cssTransitionDuration="500",this.openAfterRender=!1,this.touchMargin=50,this.hasBottom=!1,this.hasTop=!1,this.hasWindow=!1,this.windowHeaderHeight=0,this.windowFooterHeight=0,this.opened=!1,this.hideBackdrop=!1,this.position="center",this.animation="slide",this.overflow="auto",this.interaction="relaxed",this.updateCSSCustomProps=()=>{var t;if("undefined"==typeof window)return;const o=window.getComputedStyle(this.host);this.cssTransitionDuration=null!==(t=o.getPropertyValue("--mds-modal-transition-duration"))&&void 0!==t?t:"500"},this.stopIntroAnimationWindow=()=>{this.setContentOverflow("auto"),this.showEvent.emit(),clearTimeout(this.animationDelayTimeout)},this.stopOutroAnimationWindow=()=>{this.hideEvent.emit(),clearTimeout(this.animationDelayTimeout)},this.disableOverflow=()=>{"undefined"!=typeof document&&(""!==document.body.style.overflow&&(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden")},this.enableOverflow=()=>{"undefined"!=typeof document&&(""!==this.bodyOverflow?document.body.style.overflow=this.bodyOverflow:document.body.style.removeProperty("overflow"))},this.setContentOverflow=t=>{this.windowContentWrapper&&(this.windowContentWrapper.style.overflow=t)},this.handleWindowTransitionEnd=t=>{"transform"===t.propertyName&&(this.opened?this.stopIntroAnimationWindow():this.stopOutroAnimationWindow())},this.animateOpenWindow=()=>{this.setContentOverflow("hidden"),clearTimeout(this.animationDelayTimeout),this.animationDelayTimeout=setTimeout(this.stopIntroAnimationWindow.bind(this),d(this.cssTransitionDuration)+100)},this.animateCloseWindow=()=>{this.setContentOverflow("hidden"),clearTimeout(this.animationDelayTimeout),this.animationDelayTimeout=setTimeout(this.stopOutroAnimationWindow.bind(this),d(this.cssTransitionDuration)+100)},this.setTouchStart=t=>{this.touchStartX=t.touches[0].clientX,this.touchStartY=t.touches[0].clientY},this.setTouchEnd=t=>{if("strict"===this.interaction)return;const o=this.touchStartX-t.changedTouches[0].clientX,i=this.touchStartY-t.changedTouches[0].clientY;if(Math.abs(o)>Math.abs(i)){if("right"===this.position&&o>0)return;if("left"===this.position&&o<0)return;Math.abs(o)>Math.abs(this.touchMargin)&&(this.opened=void 0)}},this.addMobileEvents=()=>{this.windowElement.addEventListener("touchstart",this.setTouchStart),this.windowElement.addEventListener("touchend",this.setTouchEnd)},this.updateSlots=()=>{this.hasBottom=r(this.host,"bottom"),this.hasTop=r(this.host,"top"),this.hasWindow=r(this.host,"window")},this.updateWindowPaddings=()=>{var t,o,i,a;const s=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".window-header"),n=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".window-footer"),e=null!==(i=null==s?void 0:s.offsetHeight)&&void 0!==i?i:0,r=null!==(a=null==n?void 0:n.offsetHeight)&&void 0!==a?a:0;e!==this.windowHeaderHeight&&(this.windowHeaderHeight=e),r!==this.windowFooterHeight&&(this.windowFooterHeight=r)},this.showDialog=()=>{this.dialogEl&&!this.dialogEl.open&&(this.hideBackdrop?this.dialogEl.show():this.dialogEl.showModal(),this.updateWindowPaddings())},this.closeDialog=()=>{var t;(null===(t=this.dialogEl)||void 0===t?void 0:t.open)&&this.dialogEl.close()},this.handleBackdropClick=t=>{"strict"!==this.interaction&&t.target===this.dialogEl&&(this.opened=void 0)},this.handleCancel=t=>{t.preventDefault(),"strict"!==this.interaction&&(this.opened=void 0)}}componentWillLoad(){this.updateSlots(),"auto"===this.overflow&&this.opened&&this.disableOverflow()}componentDidLoad(){var t,o;this.windowElement=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".window"),this.windowContentWrapper=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".window-content-wrapper"),this.updateWindowPaddings(),null!=this.windowElement&&(this.addMobileEvents(),this.windowElement.addEventListener("transitionend",this.handleWindowTransitionEnd)),this.updateCSSCustomProps(),this.opened&&(this.showDialog(),this.animateOpenWindow(),this.openEvent.emit())}componentDidUpdate(){this.openAfterRender&&(this.openAfterRender=!1,this.showDialog(),this.animateOpenWindow(),this.openEvent.emit()),this.updateWindowPaddings()}disconnectedCallback(){this.enableOverflow(),clearTimeout(this.animationDelayTimeout),this.windowElement&&(this.windowElement.removeEventListener("touchstart",this.setTouchStart),this.windowElement.removeEventListener("touchend",this.setTouchEnd),this.windowElement.removeEventListener("transitionend",this.handleWindowTransitionEnd)),this.enableOverflow()}handleOpenProp(t,o){if(t)return"auto"===this.overflow&&this.disableOverflow(),void(this.openAfterRender=!0);this.openAfterRender=!1,o&&(this.opened=void 0,this.closeDialog(),"auto"===this.overflow&&this.enableOverflow(),this.animateCloseWindow(),this.closeEvent.emit())}handleHideBackdropProp(t){!1===t&&(this.hideBackdrop=void 0)}async close(){this.opened=void 0}render(){return a(s,{key:"80028e8a8a62cfc0f9d1b0fd6e2f72247de85bc3","pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},a("dialog",{key:"9290f9a300a2fa2d6f5937de81fd21d28a0c5b35","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:t=>this.dialogEl=t,onClick:t=>{this.handleBackdropClick(t)},onCancel:t=>{this.handleCancel(t)}},a("slot",{key:"ccea8b0f2c066cb27aa2e7fdcf520bd8e89c1ab9",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&a("div",{key:"62c39ea5cdad1648b041fcdeeb31b0d67f644a6a",class:"window",part:"window"},a("div",{key:"7575493352cd5bbee8e403aed6315fd1a9905996",class:e("window-header",!this.hasTop&&"window-content--empty")},a("slot",{key:"bc422dd130bb99c6521d86a7d3682499cc86d6b6",name:"top",onSlotchange:this.updateSlots})),a("div",{key:"2297021a9dab0041f396b44235e52fa67092989f",class:"window-content-wrapper"},a("div",{key:"305d0097bcc97adadc715ececd8dd2c8b00b3215",class:"window-content",style:{paddingTop:`${this.windowHeaderHeight}px`,paddingBottom:`${this.windowFooterHeight}px`}},a("slot",{key:"212b8c05305ce7e0fdafd4c2f5701ddb2a8ae1f4"}))),a("div",{key:"714b2d6d4cd4ee2cd27416a7967c3ad4703eebfa",class:e("window-footer",!this.hasBottom&&"window-content--empty")},a("slot",{key:"640f4e15c6dda56a4a76c9a47ed4d44089a2c359",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&a("mds-button",{key:"89d5322b85634bc70ed973467bbdfaa39971d4ff","aria-label":this.t.get("close"),class:"action-close",icon:l,variant:"light",tone:"text",size:"xl",onClick:()=>{this.opened=void 0},part:"action-close"})))}get host(){return this}static get watchers(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}: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-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@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-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-modal",{accessibleName:[1,"aria-label"],opened:[1540],hideBackdrop:[1540,"hide-backdrop"],position:[1537],animation:[513],overflow:[513],interaction:[513],hasBottom:[32],hasTop:[32],hasWindow:[32],windowHeaderHeight:[32],windowFooterHeight:[32],close:[64]},void 0,{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}]);function x(){"undefined"!=typeof customElements&&["mds-modal","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-modal":customElements.get(n(t))||customElements.define(n(t),y);break;case"mds-button":customElements.get(n(t))||c();break;case"mds-icon":customElements.get(n(t))||p();break;case"mds-spinner":customElements.get(n(t))||w();break;case"mds-text":customElements.get(n(t))||f()}}))}export{y as M,x as d}
1
+ import{p as t,H as o,d as i,h as a,c as s,t as n}from"./p-TZJN-ygm.js";import{c as e}from"./p-ChV9xqsO.js";import{h as r}from"./p-DWIIDHSa.js";import{c as d}from"./p-CWk1SCJg.js";import{p as m}from"./p-CVRN4LDc.js";import{m as l}from"./p-J-ikDhyq.js";import{L as h}from"./p-CZjwSwe5.js";import{d as c}from"./p-M8dGB4KH.js";import{d as p}from"./p-CEw7GvM-.js";import{d as w}from"./p-DDTJwlAd.js";import{d as f}from"./p-aujz-VM9.js";var v={close:"Κλείσιμο"},g={close:"Close"},u={close:"Cerrar"},b={close:"Chiudi"};const y=t(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.openEvent=i(this,"mdsModalOpen",7),this.showEvent=i(this,"mdsModalShow",7),this.closeEvent=i(this,"mdsModalClose",7),this.hideEvent=i(this,"mdsModalHide",7),this.t=new h({el:v,en:g,es:u,it:b}),this.bodyOverflow="",this.cssTransitionDuration="500",this.openAfterRender=!1,this.touchMargin=50,this.hasBottom=!1,this.hasTop=!1,this.hasWindow=!1,this.windowHeaderHeight=0,this.windowFooterHeight=0,this.opened=!1,this.hideBackdrop=!1,this.position="center",this.animation="slide",this.overflow="auto",this.interaction="relaxed",this.updateCSSCustomProps=()=>{var t;if("undefined"==typeof window)return;const o=window.getComputedStyle(this.host);this.cssTransitionDuration=null!==(t=o.getPropertyValue("--mds-modal-transition-duration"))&&void 0!==t?t:"500"},this.stopIntroAnimationWindow=()=>{this.setContentOverflow("auto"),this.showEvent.emit(),clearTimeout(this.animationDelayTimeout)},this.stopOutroAnimationWindow=()=>{this.hideEvent.emit(),clearTimeout(this.animationDelayTimeout)},this.disableOverflow=()=>{"undefined"!=typeof document&&(""!==document.body.style.overflow&&(this.bodyOverflow=document.body.style.overflow),document.body.style.overflow="hidden")},this.enableOverflow=()=>{"undefined"!=typeof document&&(""!==this.bodyOverflow?document.body.style.overflow=this.bodyOverflow:document.body.style.removeProperty("overflow"))},this.setContentOverflow=t=>{this.windowContentWrapper&&(this.windowContentWrapper.style.overflow=t)},this.handleWindowTransitionEnd=t=>{"transform"===t.propertyName&&(this.opened?this.stopIntroAnimationWindow():this.stopOutroAnimationWindow())},this.animateOpenWindow=()=>{this.setContentOverflow("hidden"),clearTimeout(this.animationDelayTimeout),this.animationDelayTimeout=setTimeout(this.stopIntroAnimationWindow.bind(this),d(this.cssTransitionDuration)+100)},this.animateCloseWindow=()=>{this.setContentOverflow("hidden"),clearTimeout(this.animationDelayTimeout),this.animationDelayTimeout=setTimeout(this.stopOutroAnimationWindow.bind(this),d(this.cssTransitionDuration)+100)},this.setTouchStart=t=>{this.touchStartX=t.touches[0].clientX,this.touchStartY=t.touches[0].clientY},this.setTouchEnd=t=>{if("strict"===this.interaction)return;const o=this.touchStartX-t.changedTouches[0].clientX,i=this.touchStartY-t.changedTouches[0].clientY;if(Math.abs(o)>Math.abs(i)){if("right"===this.position&&o>0)return;if("left"===this.position&&o<0)return;Math.abs(o)>Math.abs(this.touchMargin)&&(this.opened=void 0)}},this.addMobileEvents=()=>{this.windowElement.addEventListener("touchstart",this.setTouchStart),this.windowElement.addEventListener("touchend",this.setTouchEnd)},this.updateSlots=()=>{this.hasBottom=r(this.host,"bottom"),this.hasTop=r(this.host,"top"),this.hasWindow=r(this.host,"window")},this.updateWindowPaddings=()=>{var t,o,i,a;const s=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".window-header"),n=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".window-footer"),e=null!==(i=null==s?void 0:s.offsetHeight)&&void 0!==i?i:0,r=null!==(a=null==n?void 0:n.offsetHeight)&&void 0!==a?a:0;e!==this.windowHeaderHeight&&(this.windowHeaderHeight=e),r!==this.windowFooterHeight&&(this.windowFooterHeight=r)},this.showDialog=()=>{this.dialogEl&&!this.dialogEl.open&&(this.hideBackdrop?this.dialogEl.show():this.dialogEl.showModal(),this.updateWindowPaddings())},this.closeDialog=()=>{var t;(null===(t=this.dialogEl)||void 0===t?void 0:t.open)&&this.dialogEl.close()},this.handleBackdropClick=t=>{"strict"!==this.interaction&&t.target===this.dialogEl&&(this.opened=void 0)},this.handleCancel=t=>{t.preventDefault(),"strict"!==this.interaction&&(this.opened=void 0)}}componentWillLoad(){this.updateSlots(),"auto"===this.overflow&&this.opened&&this.disableOverflow()}componentDidLoad(){var t,o;this.windowElement=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".window"),this.windowContentWrapper=null===(o=this.host.shadowRoot)||void 0===o?void 0:o.querySelector(".window-content-wrapper"),this.updateWindowPaddings(),null!=this.windowElement&&(this.addMobileEvents(),this.windowElement.addEventListener("transitionend",this.handleWindowTransitionEnd)),this.updateCSSCustomProps(),this.opened&&(this.showDialog(),this.animateOpenWindow(),this.openEvent.emit())}componentDidUpdate(){this.openAfterRender&&(this.openAfterRender=!1,this.showDialog(),this.animateOpenWindow(),this.openEvent.emit()),this.updateWindowPaddings()}disconnectedCallback(){this.enableOverflow(),clearTimeout(this.animationDelayTimeout),this.windowElement&&(this.windowElement.removeEventListener("touchstart",this.setTouchStart),this.windowElement.removeEventListener("touchend",this.setTouchEnd),this.windowElement.removeEventListener("transitionend",this.handleWindowTransitionEnd)),this.enableOverflow()}handleOpenProp(t,o){if(t)return"auto"===this.overflow&&this.disableOverflow(),void(this.openAfterRender=!0);this.openAfterRender=!1,o&&(this.opened=void 0,this.closeDialog(),"auto"===this.overflow&&this.enableOverflow(),this.animateCloseWindow(),this.closeEvent.emit())}handleHideBackdropProp(t){!1===t&&(this.hideBackdrop=void 0)}async close(){this.opened=void 0}render(){return a(s,{key:"45b3fd950185be51db62a8381caf49d24ec2fa65","pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},a("dialog",{key:"f9d53be4fc42dd300232a4a546e0be7767756d5a","aria-label":this.accessibleName,class:"dialog",part:"dialog",ref:t=>this.dialogEl=t,onClick:t=>{this.handleBackdropClick(t)},onCancel:t=>{this.handleCancel(t)}},a("slot",{key:"bd1c2cab3c4cf3db658a72ae8da8e6e73fa09008",name:"window",onSlotchange:this.updateSlots}),!this.hasWindow&&a("div",{key:"54b538559101fe20fdad60795517b1b5d7e0e41c",class:"window",part:"window"},a("div",{key:"1b1e2a732ce6ec50cc10f4bf75abae25b1da78fd",class:e("window-header",!this.hasTop&&"window-content--empty")},a("slot",{key:"dd0cd5c7095b9f3c87097a601370dddbadd11050",name:"top",onSlotchange:this.updateSlots})),a("div",{key:"b8409013cc7351c26a1bc62f46b06c1907d845d2",class:"window-content-wrapper"},a("div",{key:"419a03164087739c60c19f1709d4abeef8ef5832",class:"window-content",style:{paddingTop:`${this.windowHeaderHeight}px`,paddingBottom:`${this.windowFooterHeight}px`}},a("slot",{key:"765333f16f0fecfc3cfa6582131e62981055f610"}))),a("div",{key:"8ef8bed4acbe89bce2a4a2ae544e1b6e0da421c5",class:e("window-footer",!this.hasBottom&&"window-content--empty")},a("slot",{key:"7940e4282ae344c8a92301f21c4cb9b75a8f6028",name:"bottom",onSlotchange:this.updateSlots}))),!this.hasWindow&&a("mds-button",{key:"52ce6a70b25d8a07b4fc5d26fbe43914c363de6e","aria-label":this.t.get("close"),class:"action-close",icon:l,variant:"light",tone:"text",size:"xl",onClick:()=>{this.opened=void 0},part:"action-close"})))}get host(){return this}static get watchers(){return{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-button:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-modal-custom-closed-transform:rotateX(10deg) rotateY(0) scale(1.25) translateY(10%);--mds-modal-custom-window-distance:calc(var(--spacing,.0025rem)*600);--mds-modal-overlay-color:var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0));--mds-modal-overlay-opacity:var(--magma-overlay-opacity,.5);--mds-modal-transition-duration:var(--duration-500,.5s);--mds-modal-transition-timing-function:var(--mds-modal-transition-timing-funciton,var(--ease-in-out-quint,cubic-bezier(.86,0,.07,1)));--mds-modal-window-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-modal-window-distance:0;--mds-modal-window-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);--mds-modal-window-overflow:auto;--mds-modal-window-radius:0;--mds-modal-window-shadow:var(--shadow-2xl,0 25px 50px -12px #00000040);--mds-modal-window-max-width:33%;--mds-modal-window-min-width:calc(var(--spacing,.0025rem)*10000);--mds-modal-z-index:var(--magma-modal-z-index,3000);--private-modal-transition-duration:var(--mds-modal-transition-duration,var(--duration-500,.5s));--private-modal-width:calc(100vw - var(--private-modal-window-close-margin));--private-modal-custom-opened-transform:translate(0);--private-modal-opened-transform:none;--private-modal-transition-window-transform:translate(0);--private-modal-window-close-margin:calc(var(--spacing,.0025rem)*2000);display:contents}.dialog{align-items:center;background-color:#0000;border:0;box-sizing:border-box;color:inherit;display:none;fill:rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255)));height:auto;inset:0;justify-content:center;margin:0;max-height:none;max-width:none;overflow:clip;padding:0;perspective:calc(var(--spacing,.0025rem)*15000);position:fixed;transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function);width:auto;z-index:var(--mds-modal-z-index,1000)}.dialog[open]{display:flex}.dialog::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0);transition-behavior:allow-discrete;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,overlay,display;transition-timing-function:var(--mds-modal-transition-timing-function)}:host([hide-backdrop]) .dialog{pointer-events:none}.action-close{--mds-button-color:rgb(var(--magma-on-backdrop,252 252 252));opacity:0;pointer-events:none;position:absolute;transition-duration:var(--private-modal-transition-duration);transition-property:background-color,bottom,color,fill,opacity,top,transform;transition-timing-function:var(--mds-modal-transition-timing-function)}.action-close::part(icon){height:calc(var(--spacing,.0025rem)*900);width:calc(var(--spacing,.0025rem)*900)}:host([position=top-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=top][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(0) scale(.5) translateY(-80%)}:host([position=top-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([position=left][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) rotate(0) scale(.5) translate(-100%)}:host([position=center][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(22deg) scale(.5) translateY(40%)}:host([position=right][animation="3d"]){--private-modal-transition-window-transform:rotateX(0) rotateY(-22deg) rotate(0) scale(.5) translate(100%)}:host([position=bottom-left][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(22deg) scale(.5) translate(-80%,80%)}:host([position=bottom][animation="3d"]){--private-modal-transition-window-transform:rotateX(22deg) rotateY(0) scale(.5) translateY(80%)}:host([position=bottom-right][animation="3d"]){--private-modal-transition-window-transform:rotateX(-22deg) rotateY(-22deg) scale(.5) translate(80%,80%)}:host([animation=custom]){--private-modal-opened-transform:var(--private-modal-custom-opened-transform);--private-modal-transition-window-transform:var(--mds-modal-custom-closed-transform,rotateX(10deg) rotateY(0) scale(1.25) translate(0,10%))}:host([position=top-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,-100%)}:host([position=top][animation=slide]){--private-modal-transition-window-transform:translateY(-100%)}:host([position=top-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,-100%)}:host([position=left][animation=slide]){--private-modal-transition-window-transform:translate(-100%)}:host([position=center][animation=slide]){--private-modal-transition-window-transform:translateY(25%)}:host([position=right][animation=slide]){--private-modal-transition-window-transform:translate(100%)}:host([position=bottom-left][animation=slide]){--private-modal-transition-window-transform:translate(-50%,100%)}:host([position=bottom][animation=slide]){--private-modal-transition-window-transform:translateY(50%)}:host([position=bottom-right][animation=slide]){--private-modal-transition-window-transform:translate(50%,100%)}.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/var(--mds-modal-overlay-opacity,var(--magma-overlay-opacity,.5)))}@starting-style{.dialog[open]::backdrop{background-color:rgb(var(--mds-modal-overlay-color,var(--magma-overlay-color,var(--magma-backdrop-color,0 0 0)))/0)}}:host ::slotted([slot=window]){margin:var(--mds-modal-custom-window-distance,calc(var(--spacing,.0025rem)*600))}.window{background-color:var(--mds-modal-window-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--mds-modal-window-radius,0);box-shadow:var(--mds-modal-window-shadow);box-sizing:border-box;display:grid;gap:0;grid-template-columns:repeat(1,minmax(0,100%));height:var(--mds-modal-window-height);margin:var(--mds-modal-window-distance,0);max-height:var(--mds-modal-window-max-height);max-width:var(--private-modal-width);min-width:var(--mds-modal-window-min-width,calc(var(--spacing,.0025rem)*10000));overflow:var(--mds-modal-window-overflow,auto);position:relative;width:100%}.window-content--empty{display:none}.window-content-wrapper{max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2);overflow:hidden}.window-footer,.window-header{box-sizing:border-box;position:absolute}.window-header{inset:0 0 auto}.window-footer{inset:auto 0 0}.dialog .window,.dialog ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform);transition-duration:var(--private-modal-transition-duration);transition-property:transform,opacity;transition-timing-function:var(--mds-modal-transition-timing-function)}.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:1;pointer-events:auto;transform:var(--private-modal-opened-transform)}@starting-style{.dialog[open] .window,.dialog[open] ::slotted([slot=window]){opacity:0;transform:var(--private-modal-transition-window-transform)}.window-content-wrapper{overflow:hidden}}:host([position=top-left]) .dialog,:host([position=top-right]) .dialog,:host([position=top]) .dialog{align-items:flex-start}:host([position=center]) .dialog,:host([position=left]) .dialog,:host([position=right]) .dialog{align-items:center}:host([position=bottom-left]) .dialog,:host([position=bottom-right]) .dialog,:host([position=bottom]) .dialog{align-items:flex-end}:host([position=bottom-left]) .dialog,:host([position=left]) .dialog,:host([position=top-left]) .dialog{justify-content:flex-start}:host([position=bottom]) .dialog,:host([position=center]) .dialog,:host([position=top]) .dialog{justify-content:center}:host([position=bottom-right]) .dialog,:host([position=right]) .dialog,:host([position=top-right]) .dialog{justify-content:flex-end}:host([position=top]){--mds-modal-window-height:auto;align-items:flex-start;justify-content:center}:host([position=top]) .window{--mds-modal-window-max-width:100vw;--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--mds-modal-window-height:100%;--mds-modal-window-max-height:calc(100dvh - var(--mds-modal-window-distance,0)*2)}:host([position=top-left]){align-items:flex-start;justify-content:flex-start}:host([position=top-right]){align-items:flex-start;justify-content:flex-end}:host([position=left]){align-items:center;justify-content:flex-start}:host([position=left]) .action-close{right:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=left][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=left]:not([opened])) .action-close{transform:translate(-120%)rotate(-45deg)}:host([position=center]){align-items:center;justify-content:center}:host([position=right]){align-items:center;justify-content:flex-end}:host([position=right]) .action-close{left:calc(var(--spacing,.0025rem)*300);top:calc(var(--spacing,.0025rem)*300)}:host([position=right]:not([opened])) .action-close{transform:translate(120%)rotate(45deg)}:host([position=right][opened]) .action-close{opacity:1;pointer-events:auto}:host([position=bottom-left]){align-items:flex-end;justify-content:flex-start}:host([position=bottom]){--mds-modal-window-height:auto;align-items:flex-end;justify-content:center}:host([position=bottom-right]){align-items:flex-end;justify-content:flex-end}: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-modal-transition-duration:0s}:host([pref-contrast=more]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}:host([pref-mode=dark]:not([pref-theme-scheme=light])) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@media (max-width:480px){:host{--mds-modal-window-min-width:0px}:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--private-modal-width:100vw}:host([position=left]),:host([position=right]){--private-modal-width:calc(100% - var(--private-modal-window-close-margin))}}@media not all and (max-width:480px){:host([position=bottom-left]),:host([position=bottom-right]),:host([position=bottom]),:host([position=center]),:host([position=top-left]),:host([position=top-right]),:host([position=top]){--mds-modal-window-height:auto}:host([position=left]),:host([position=right]){--private-modal-width:var(--mds-modal-window-max-width,33%)}}@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-modal-transition-duration:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-modal-window-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6)),var(--shadow-2xl,0 25px 50px -12px #00000040)}}@media (prefers-color-scheme:dark){:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))) .action-close{--mds-button-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'}},[257,"mds-modal",{accessibleName:[1,"aria-label"],opened:[1540],hideBackdrop:[1540,"hide-backdrop"],position:[1537],animation:[513],overflow:[513],interaction:[513],hasBottom:[32],hasTop:[32],hasWindow:[32],windowHeaderHeight:[32],windowFooterHeight:[32],close:[64]},void 0,{opened:[{handleOpenProp:0}],hideBackdrop:[{handleHideBackdropProp:0}]}]);function x(){"undefined"!=typeof customElements&&["mds-modal","mds-button","mds-icon","mds-spinner","mds-text"].forEach((t=>{switch(t){case"mds-modal":customElements.get(n(t))||customElements.define(n(t),y);break;case"mds-button":customElements.get(n(t))||c();break;case"mds-icon":customElements.get(n(t))||p();break;case"mds-spinner":customElements.get(n(t))||w();break;case"mds-text":customElements.get(n(t))||f()}}))}export{y as M,x as d}
@@ -1 +1 @@
1
- import{p as a,H as t,h as i,c as e,t as r}from"./p-TZJN-ygm.js";import{K as o}from"./p-CGrPq3C4.js";import{p as n}from"./p-CVRN4LDc.js";import{d as s}from"./p-Cmn1DJAB.js";import{d}from"./p-CNF3u0Li.js";const m=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.km=new o,this.syncClickBehavior=()=>{this.disabled||this.selected?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!0})}}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}connectedCallback(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return i(e,{key:"99c04eb2ed057bde90eaadfa082fea1c7a2731ba","aria-current":this.selected?"page":void 0,"aria-disabled":this.disabled?"true":void 0,role:"button",tabindex:this.disabled?void 0:"0","pref-animation":n.state.animation,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},void 0!==this.icon?i("mds-icon",{class:"icon",name:this.icon}):i("mds-text",{class:"text",typography:"caption"},i("b",null,i("slot",null))))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),: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-paginator-item-transition-duration:var(--duration-200,.2s);--private-paginator-item-transition-duration:var(--mds-paginator-item-transition-duration);--private-paginator-item-background-disabled:var(--mds-paginator-item-background-disabled,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--private-paginator-item-background-hover:var(--mds-paginator-item-background-hover,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--private-paginator-item-background-selected:var(--mds-paginator-item-background-selected,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-paginator-item-background:var(--mds-paginator-item-background,#0000);--private-paginator-item-color-disabled:var(--mds-paginator-item-color-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-paginator-item-color-hover:var(--mds-paginator-item-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-color-selected:var(--mds-paginator-item-color-selected,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-paginator-item-color:var(--mds-paginator-item-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-radius:var(--mds-paginator-item-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-paginator-item-shadow-disabled:var(--mds-paginator-item-shadow-disabled,none);--private-paginator-item-shadow-hover:var(--mds-paginator-item-shadow-hover,none);--private-paginator-item-shadow-selected:var(--mds-paginator-item-shadow-selected,var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f));--private-paginator-item-shadow:var(--mds-paginator-item-shadow,none);--private-paginator-item-size:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));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));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:var(--private-paginator-item-background);border-radius:var(--private-paginator-item-radius);box-shadow:var(--private-paginator-item-shadow);box-sizing:border-box;color:var(--private-paginator-item-color);cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--private-paginator-item-size);justify-content:center;min-width:var(--private-paginator-item-size);padding-inline:calc(var(--spacing,.0025rem)*300);transition-duration:.2s;transition-duration:var(--private-paginator-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){background-color:var(--private-paginator-item-background-hover);box-shadow:var(--private-paginator-item-shadow-hover);color:var(--private-paginator-item-color-hover);fill:var(--private-paginator-item-color-hover)}:host([icon]){padding:0}:host([selected]){background-color:var(--private-paginator-item-background-selected);box-shadow:var(--private-paginator-item-shadow-selected);color:var(--private-paginator-item-color-selected);fill:var(--private-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--private-paginator-item-background-disabled);box-shadow:var(--private-paginator-item-shadow-disabled);color:var(--private-paginator-item-color-disabled);fill:var(--private-paginator-item-color-disabled);pointer-events:none}.icon{fill:currentColor;padding-inline: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-paginator-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-item-transition-duration:0s}}'}},[257,"mds-paginator-item",{icon:[513],selected:[516],disabled:[516]}]);function p(){"undefined"!=typeof customElements&&["mds-paginator-item","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-paginator-item":customElements.get(r(a))||customElements.define(r(a),m);break;case"mds-icon":customElements.get(r(a))||s();break;case"mds-text":customElements.get(r(a))||d()}}))}export{m as M,p as d}
1
+ import{p as a,H as t,h as i,c as e,t as r}from"./p-TZJN-ygm.js";import{K as o}from"./p-CGrPq3C4.js";import{p as n}from"./p-CVRN4LDc.js";import{d as s}from"./p-CEw7GvM-.js";import{d}from"./p-aujz-VM9.js";const m=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.km=new o,this.syncClickBehavior=()=>{this.disabled||this.selected?this.km.detachClickBehavior():this.km.attachClickBehavior("element",{space:!0})}}componentDidLoad(){this.km.addElement(this.host),this.syncClickBehavior()}componentDidUpdate(){this.syncClickBehavior()}connectedCallback(){this.syncClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return i(e,{key:"b743df2760c48a3ae7f3d9ce2a621302104da49a","aria-current":this.selected?"page":void 0,"aria-disabled":this.disabled?"true":void 0,role:"button",tabindex:this.disabled?void 0:"0","pref-animation":n.state.animation,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},void 0!==this.icon?i("mds-icon",{class:"icon",name:this.icon}):i("mds-text",{class:"text",typography:"caption"},i("b",null,i("slot",null))))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),: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-paginator-item-transition-duration:var(--duration-200,.2s);--private-paginator-item-transition-duration:var(--mds-paginator-item-transition-duration);--private-paginator-item-background-disabled:var(--mds-paginator-item-background-disabled,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));--private-paginator-item-background-hover:var(--mds-paginator-item-background-hover,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));--private-paginator-item-background-selected:var(--mds-paginator-item-background-selected,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-paginator-item-background:var(--mds-paginator-item-background,#0000);--private-paginator-item-color-disabled:var(--mds-paginator-item-color-disabled,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-paginator-item-color-hover:var(--mds-paginator-item-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-color-selected:var(--mds-paginator-item-color-selected,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-paginator-item-color:var(--mds-paginator-item-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--private-paginator-item-radius:var(--mds-paginator-item-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-paginator-item-shadow-disabled:var(--mds-paginator-item-shadow-disabled,none);--private-paginator-item-shadow-hover:var(--mds-paginator-item-shadow-hover,none);--private-paginator-item-shadow-selected:var(--mds-paginator-item-shadow-selected,var(--shadow-md-sharp,0 0 1px 1px #0000000f,0 4px 6px -1px #0000001a,0 2px 4px -1px #0000000f));--private-paginator-item-shadow:var(--mds-paginator-item-shadow,none);--private-paginator-item-size:var(--mds-paginator-item-size,calc(var(--spacing,.0025rem)*900));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));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));align-items:center;background-color:var(--private-paginator-item-background);border-radius:var(--private-paginator-item-radius);box-shadow:var(--private-paginator-item-shadow);box-sizing:border-box;color:var(--private-paginator-item-color);cursor:pointer;display:inline-flex;flex-shrink:0;height:var(--private-paginator-item-size);justify-content:center;min-width:var(--private-paginator-item-size);padding-inline:calc(var(--spacing,.0025rem)*300);transition-duration:.2s;transition-duration:var(--private-paginator-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:background-color,box-shadow,color,outline,outline-offset;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));-webkit-user-select:none;user-select:none}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host(:hover){background-color:var(--private-paginator-item-background-hover);box-shadow:var(--private-paginator-item-shadow-hover);color:var(--private-paginator-item-color-hover);fill:var(--private-paginator-item-color-hover)}:host([icon]){padding:0}:host([selected]){background-color:var(--private-paginator-item-background-selected);box-shadow:var(--private-paginator-item-shadow-selected);color:var(--private-paginator-item-color-selected);fill:var(--private-paginator-item-color-selected);pointer-events:none}:host([disabled]){background-color:var(--private-paginator-item-background-disabled);box-shadow:var(--private-paginator-item-shadow-disabled);color:var(--private-paginator-item-color-disabled);fill:var(--private-paginator-item-color-disabled);pointer-events:none}.icon{fill:currentColor;padding-inline: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-paginator-item-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-paginator-item-transition-duration:0s}}'}},[257,"mds-paginator-item",{icon:[513],selected:[516],disabled:[516]}]);function p(){"undefined"!=typeof customElements&&["mds-paginator-item","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-paginator-item":customElements.get(r(a))||customElements.define(r(a),m);break;case"mds-icon":customElements.get(r(a))||s();break;case"mds-text":customElements.get(r(a))||d()}}))}export{m as M,p as d}
@@ -1,8 +1,8 @@
1
- import{p as e,H as r,d as a,h as i,c as t,t as o}from"./p-TZJN-ygm.js";import{m as s}from"./p-BJ8rpzfj.js";import{K as l}from"./p-CGrPq3C4.js";import{c as n}from"./p-ChV9xqsO.js";import{f as m,a as c,b as v,c as d,g as b,d as g,e as f}from"./p-DhIGZbIo.js";import{L as p}from"./p-CZjwSwe5.js";import{p as u}from"./p-CVRN4LDc.js";import{d as h}from"./p-s1CktmPS.js";import{d as w}from"./p-ClPv-Ljc.js";import{d as x}from"./p-Cmn1DJAB.js";import{d as y}from"./p-CaROqeeK.js";import{d as k}from"./p-ZuubAcA3.js";import{d as j}from"./p-CNF3u0Li.js";
1
+ import{p as e,H as r,d as a,h as i,c as t,t as o}from"./p-TZJN-ygm.js";import{m as s}from"./p-BJ8rpzfj.js";import{K as l}from"./p-CGrPq3C4.js";import{c as n}from"./p-ChV9xqsO.js";import{f as m,a as c,b as v,c as d,g as b,d as g,e as f}from"./p-DhIGZbIo.js";import{L as p}from"./p-CZjwSwe5.js";import{p as u}from"./p-CVRN4LDc.js";import{d as h}from"./p-C1YH20BL.js";import{d as w}from"./p-M8dGB4KH.js";import{d as x}from"./p-CEw7GvM-.js";import{d as y}from"./p-Bo6ezD1p.js";import{d as k}from"./p-DDTJwlAd.js";import{d as j}from"./p-aujz-VM9.js";
2
2
  /**
3
3
  * filesize
4
4
  *
5
5
  * @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
6
6
  * @license BSD-3-Clause
7
7
  * @version 10.1.6
8
- */const q="bits",B="bytes",E="jedec",C={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var M={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},z={remove:"Remove file from upload queue"},N={remove:"Eliminar archivo de la cola de carga"},O={remove:"Rimuovi file dalla coda di upload"};const Z=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.downloadedEvent=a(this,"mdsFileDownload",7),this.deletedEvent=a(this,"mdsFileDelete",7),this.t=new p({el:Object.assign(Object.assign({},M),d),en:Object.assign(Object.assign({},z),v),es:Object.assign(Object.assign({},N),c),it:Object.assign(Object.assign({},O),m)}),this.km=new l,this.truncate="word",this.getDefaultKeyDescription=()=>b(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:g(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:g(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=b(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=b(e,this.suffix).format}render(){var e,r,a,o,l,m,c;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return i(t,{key:"ccceeecb39e0ce014d80db8278ea827c59f7cb7e","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"18bd3233c61809fc39e6767d6ecb49aa7cd07082",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"78b37a7dd81c75fa1996ff0fb75a9b1ff1abb6d0",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",v?"preview--status":"preview--icon")},""!==(null!==(a=this.icon)&&void 0!==a?a:"")?i("mds-icon",{class:"icon",name:this.icon}):i("mds-icon",{class:"icon",name:f(this.filename,this.suffix).icon}),this.message&&i("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),i("mds-text",{key:"b75b4c9d2a1b8b9e0ed08fdb7bea49cf1a618ada",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"920765752c32efd20d0d5ed2f6eaa91ec7ac35ef",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"8b0ff0bcf74ec1ef959460968f731799e5ff597c",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:t=2,locale:o="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:m={},standard:c="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let u=g,h=Number(e),w=[],x=0,y="";"si"===c?(i=10,c=E):"iec"===c||c===E?i=2:2===i?c="iec":(i=10,c=E);const k=10===i?1e3:1024,j=!0===d,M=h<0,z=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof z)throw new TypeError("Invalid rounding method");if(M&&(h=-h),(-1===u||isNaN(u))&&(u=Math.floor(Math.log(h)/Math.log(k)),u<0&&(u=0)),u>8&&(p>0&&(p+=8-u),u=8),"exponent"===v)return u;if(0===h)w[0]=0,y=w[1]=C.symbol[c][r?q:B][u];else{x=h/(2===i?Math.pow(2,10*u):Math.pow(1e3,u)),r&&(x*=8,x>=k&&u<8&&(x/=k,u++));const e=Math.pow(10,u>0?t:0);w[0]=z(x*e)/e,w[0]===k&&u<8&&-1===g&&(w[0]=1,u++),y=w[1]=10===i&&1===u?r?"kbit":"kB":C.symbol[c][r?q:B][u]}if(M&&(w[0]=-w[0]),p>0&&(w[0]=w[0].toPrecision(p)),w[1]=m[w[1]]||w[1],!0===o?w[0]=w[0].toLocaleString():o.length>0?w[0]=w[0].toLocaleString(o,s):l.length>0&&(w[0]=w[0].toString().replace(".",l)),a&&t>0){const e=w[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",o=i.length;w[0]=`${a[0]}${r}${i.padEnd(o+(t-o),"0")}`}return j&&(w[1]=b[u]?b[u]:C.fullform[c][u]+(r?"bit":"byte")+(1===w[0]?"":"s")),"array"===v?w:"object"===v?{value:w[0],symbol:w[1],exponent:u,unit:y}:w.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"d2744f6a13812fa0f9d6905a95adaee0694f294e",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),g(this.filename,this.suffix)&&i("mds-badge",{key:"7c8d72a726ce424023be53c8514101c43e92d72b",variant:f(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(o=this.description)&&void 0!==o?o:this.t.get(this.getDefaultKeyDescription())},g(this.filename,this.suffix)),""===(null!==(l=this.filesize)&&void 0!==l?l:"")&&i("mds-text",{key:"8c3d0edb1b594eb9b2c4e14e5f91b0f336cf80a5",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())},null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())))))}get host(){return this}static get watchers(){return{filename:[{handleFilename:0}]}}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))),:is(mds-badge,mds-button,mds-icon,mds-img,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-file-preview-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{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));grid-template-columns:repeat(1,minmax(1px,100%));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}: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-file-preview-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))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@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-file-preview-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))}}"}},[1,"mds-file-preview",{deletable:[516],downloadable:[516],description:[513],filename:[513],filesize:[513],message:[513],truncate:[513],src:[513],suffix:[513],icon:[513],variant:[513],format:[1537]},void 0,{filename:[{handleFilename:0}]}]);function P(){"undefined"!=typeof customElements&&["mds-file-preview","mds-badge","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-file-preview":customElements.get(o(e))||customElements.define(o(e),Z);break;case"mds-badge":customElements.get(o(e))||h();break;case"mds-button":customElements.get(o(e))||w();break;case"mds-icon":customElements.get(o(e))||x();break;case"mds-img":customElements.get(o(e))||y();break;case"mds-spinner":customElements.get(o(e))||k();break;case"mds-text":customElements.get(o(e))||j()}}))}export{Z as M,P as d}
8
+ */const q="bits",B="bytes",E="jedec",M={symbol:{iec:{bits:["bit","Kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],bytes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},jedec:{bits:["bit","Kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],bytes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]}},fullform:{iec:["","kibi","mebi","gibi","tebi","pebi","exbi","zebi","yobi"],jedec:["","kilo","mega","giga","tera","peta","exa","zetta","yotta"]}};var z={remove:"Αφαιρέστε το αρχείο από την ουρά μεταφόρτωσης"},C={remove:"Remove file from upload queue"},N={remove:"Eliminar archivo de la cola de carga"},O={remove:"Rimuovi file dalla coda di upload"};const D=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.downloadedEvent=a(this,"mdsFileDownload",7),this.deletedEvent=a(this,"mdsFileDelete",7),this.t=new p({el:Object.assign(Object.assign({},z),d),en:Object.assign(Object.assign({},C),v),es:Object.assign(Object.assign({},N),c),it:Object.assign(Object.assign({},O),m)}),this.km=new l,this.truncate="word",this.getDefaultKeyDescription=()=>b(this.filename,this.suffix).description,this.onClickDeletedEvent=()=>{this.deletedEvent.emit({target:this.host,filename:this.filename,extension:g(this.filename,this.suffix)})},this.onClickDownloadEvent=()=>{this.downloadable&&this.downloadedEvent.emit({target:this.host,filename:this.filename,extension:g(this.filename,this.suffix)})},this.cardRef=e=>{e!==this.card&&(this.km.removeElement(),this.card=null!=e?e:void 0,this.attachCardKeyboard())},this.attachCardKeyboard=()=>{this.card&&(this.km.addElement(this.card),this.km.attachClickBehavior("element",{space:!0}))}}componentWillLoad(){this.format=b(this.filename,this.suffix).format}connectedCallback(){this.attachCardKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}handleFilename(e){this.format=b(e,this.suffix).format}render(){var e,r,a,o,l,m,c;const v=""!==(null!==(e=this.message)&&void 0!==e?e:"");return i(t,{key:"cf9c83a4636e4bb391dbfef53ebafa3a2c13d9ff","pref-animation":u.state.animation,"pref-contrast":u.state.contrast,"pref-mode":u.state.mode,"pref-theme-scheme":u.state["theme-scheme"]},this.deletable&&i("mds-button",{key:"ef240e1c6824370a84944040a573853e8ce637ee",title:this.t.get("remove"),class:"action-delete",icon:s,variant:"light",onClick:this.onClickDeletedEvent}),i("div",{key:"6880b354db8a345ea2e3411d6d06646410863d78",class:"card",onClick:this.onClickDownloadEvent,part:"card",ref:this.cardRef,role:this.downloadable?"button":void 0,tabindex:this.downloadable?"0":void 0},""!==(null!==(r=this.src)&&void 0!==r?r:"")&&!v&&b(this.filename,this.suffix).preview?i("mds-img",{src:this.src,class:"preview preview--image","aspect-ratio":"1/1"}):i("div",{class:n("preview",v?"preview--status":"preview--icon")},""!==(null!==(a=this.icon)&&void 0!==a?a:"")?i("mds-icon",{class:"icon",name:this.icon}):i("mds-icon",{class:"icon",name:f(this.filename,this.suffix).icon}),this.message&&i("mds-text",{class:"message",typography:"caption",variant:"info"},this.message)),i("mds-text",{key:"ec2bfe4f4738c27f0f1d99a466fa01a4d19202f0",class:"file-name",typography:"h6",variant:"title",truncate:this.truncate,title:this.filename},this.filename),i("div",{key:"59eb8b6f5c4f466e4ec6b1a8443a5cd691916e2d",class:n("infos",this.filesize&&"infos--has-file-size")},this.filesize&&this.filesize===Number(this.filesize).toString()&&i("mds-text",{key:"b8c72bfb48476b1acb106899ff518aa2aafa3eaf",class:"file-size",truncate:"word",typography:"caption",variant:"info"},function(e,{bits:r=!1,pad:a=!1,base:i=-1,round:t=2,locale:o="",localeOptions:s={},separator:l="",spacer:n=" ",symbols:m={},standard:c="",output:v="string",fullform:d=!1,fullforms:b=[],exponent:g=-1,roundingMethod:f="round",precision:p=0}={}){let u=g,h=Number(e),w=[],x=0,y="";"si"===c?(i=10,c=E):"iec"===c||c===E?i=2:2===i?c="iec":(i=10,c=E);const k=10===i?1e3:1024,j=!0===d,z=h<0,C=Math[f];if("bigint"!=typeof e&&isNaN(e))throw new TypeError("Invalid number");if("function"!=typeof C)throw new TypeError("Invalid rounding method");if(z&&(h=-h),(-1===u||isNaN(u))&&(u=Math.floor(Math.log(h)/Math.log(k)),u<0&&(u=0)),u>8&&(p>0&&(p+=8-u),u=8),"exponent"===v)return u;if(0===h)w[0]=0,y=w[1]=M.symbol[c][r?q:B][u];else{x=h/(2===i?Math.pow(2,10*u):Math.pow(1e3,u)),r&&(x*=8,x>=k&&u<8&&(x/=k,u++));const e=Math.pow(10,u>0?t:0);w[0]=C(x*e)/e,w[0]===k&&u<8&&-1===g&&(w[0]=1,u++),y=w[1]=10===i&&1===u?r?"kbit":"kB":M.symbol[c][r?q:B][u]}if(z&&(w[0]=-w[0]),p>0&&(w[0]=w[0].toPrecision(p)),w[1]=m[w[1]]||w[1],!0===o?w[0]=w[0].toLocaleString():o.length>0?w[0]=w[0].toLocaleString(o,s):l.length>0&&(w[0]=w[0].toString().replace(".",l)),a&&t>0){const e=w[0].toString(),r=l||(e.match(/(\D)/g)||[]).pop()||".",a=e.toString().split(r),i=a[1]||"",o=i.length;w[0]=`${a[0]}${r}${i.padEnd(o+(t-o),"0")}`}return j&&(w[1]=b[u]?b[u]:M.fullform[c][u]+(r?"bit":"byte")+(1===w[0]?"":"s")),"array"===v?w:"object"===v?{value:w[0],symbol:w[1],exponent:u,unit:y}:w.join(n)}(Number(this.filesize),{standard:"jedec"})),this.filesize&&this.filesize!==Number(this.filesize).toString()&&i("mds-text",{key:"2d6874a000051b4b5d22b655b46fc1ef5e8b2018",class:"file-size",truncate:"word",typography:"caption",variant:"info"},this.filesize),g(this.filename,this.suffix)&&i("mds-badge",{key:"05c2e209b44033d22d986441171b23b3d4d4c556",variant:f(this.filename,this.suffix).variant,tone:"weak",class:"suffix",title:null!==(o=this.description)&&void 0!==o?o:this.t.get(this.getDefaultKeyDescription())},g(this.filename,this.suffix)),""===(null!==(l=this.filesize)&&void 0!==l?l:"")&&i("mds-text",{key:"8e01cb5ad8e7747ba6a99a54d8ee7735602212a3",class:"description",truncate:"word",typography:"caption",variant:"info",title:null!==(m=this.description)&&void 0!==m?m:this.t.get(this.getDefaultKeyDescription())},null!==(c=this.description)&&void 0!==c?c:this.t.get(this.getDefaultKeyDescription())))))}get host(){return this}static get watchers(){return{filename:[{handleFilename:0}]}}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))),:is(mds-badge,mds-button,mds-icon,mds-img,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-file-preview-background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-file-preview-border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--mds-file-preview-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-file-preview-icon-background:inherit;--mds-file-preview-icon-color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-file-preview-transition-duration:0s;--private-file-preview-padding:calc(var(--spacing,.0025rem)*400);--private-file-preview-transition-duration:var(--mds-file-preview-transition-duration);background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));border-radius:var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--shadow-box-md,#0000000f 0 0 0 1px,#00000008 0 1px 1px -.5px,#0000000a 0 2px 2px -1px,#0000000a 0 3px 3px -1.5px,#00000008 0 5px 5px -2.5px,#00000008 0 10px 10px -5px,#00000008 0 24px 24px -8px);corner-shape:var(--magma-corner-shape,squircle);align-items:stretch;display:flex;fill:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));justify-content:stretch;overflow:hidden;position:relative;transition-duration:var(--private-file-preview-transition-duration)}.card{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));grid-template-columns:repeat(1,minmax(1px,100%));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));transition-duration:.2s;transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-timing-function:ease-in-out;--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);border-radius:inherit;corner-shape:inherit;display:grid;gap:calc(var(--spacing,.0025rem)*200);padding:var(--private-file-preview-padding);width:100%}.card[role=button]{cursor:pointer}.card:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}.preview{aspect-ratio:var(--aspect-square,1/1);background-color:var(--mds-file-preview-icon-background);border-radius:max(0px,calc(var(--mds-file-preview-border-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--private-file-preview-padding)));box-sizing:border-box;color:var(--mds-file-preview-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));corner-shape:inherit;fill:var(--mds-file-preview-icon-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));transition-duration:inherit;width:100%}.preview--image{filter:brightness(.975);padding:0!important}.preview--icon,.preview--status{align-items:center;display:flex;flex-direction:column;justify-content:center}.preview--status{gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--spacing,.0025rem)*400)}.icon{height:calc(var(--spacing,.0025rem)*1200);width:calc(var(--spacing,.0025rem)*1200)}.message{text-align:center}.action-delete{background-color:var(--mds-file-preview-background-color,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));position:absolute;right:0;top:0;z-index:10}.infos{align-items:baseline;display:flex;gap:calc(var(--spacing,.0025rem)*200)}.suffix{flex-shrink:0}.infos--has-file-size{justify-content:space-between}.file-name{--mds-text-line-clamp:2}:host([format=archive]),:host([format=executable]){--mds-file-preview-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47))}:host([format=attachment]){--mds-file-preview-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-file-preview-icon-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-file-preview-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([format=audio]),:host([format=video]){--mds-file-preview-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245))}:host([format=code]),:host([format=data]),:host([format=markup]){--mds-file-preview-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5))}:host([format=certificate]),:host([format=document]){--mds-file-preview-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5))}:host([format=email]),:host([format=text]){--mds-file-preview-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248))}:host([format=image]){--mds-file-preview-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61))}:host([format=slide]){--mds-file-preview-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113))}:host([format=spreadsheet]){--mds-file-preview-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13))}:host([format=vector]){--mds-file-preview-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)))}:host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-file-preview-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)))}:host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-file-preview-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)))}:host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)))}:host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-file-preview-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)))}:host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-09,253 214 221));--mds-file-preview-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-file-preview-color:rgb(var(--label-amaranth-03,170 10 37))}:host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-09,151 237 252));--mds-file-preview-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-file-preview-color:rgb(var(--label-aqua-03,3 97 114))}:host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-09,216 222 254));--mds-file-preview-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-file-preview-color:rgb(var(--label-blue-03,11 51 246))}:host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-09,165 240 193));--mds-file-preview-icon-color:rgb(var(--label-green-04,22 128 61));--mds-file-preview-color:rgb(var(--label-green-03,18 103 49))}:host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-09,189 239 111));--mds-file-preview-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-file-preview-color:rgb(var(--label-lime-03,64 99 11))}:host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-09,253 217 191));--mds-file-preview-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-file-preview-color:rgb(var(--label-orange-03,147 63 4))}:host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-09,251 213 232));--mds-file-preview-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-file-preview-color:rgb(var(--label-orchid-03,165 17 90))}:host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-09,235 216 253));--mds-file-preview-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-file-preview-color:rgb(var(--label-purple-03,116 10 217))}:host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-09,250 215 215));--mds-file-preview-icon-color:rgb(var(--label-red-04,212 28 28));--mds-file-preview-color:rgb(var(--label-red-03,169 22 22))}:host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-09,185 231 251));--mds-file-preview-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-file-preview-color:rgb(var(--label-sky-03,8 94 133))}:host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-09,229 218 253));--mds-file-preview-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-file-preview-color:rgb(var(--label-violet-03,87 20 242))}:host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-09,251 221 131));--mds-file-preview-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-file-preview-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-contrast=more]):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([pref-contrast=more]):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([pref-contrast=more]):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([pref-contrast=more]):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:host([pref-contrast=more]):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:host([pref-contrast=more]):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:host([pref-contrast=more]):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:host([pref-contrast=more]):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:host([pref-contrast=more]):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:host([pref-contrast=more]):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:host([pref-contrast=more]):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:host([pref-contrast=more]):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:host([pref-contrast=more]):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:host([pref-contrast=more]):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:host([pref-contrast=more]):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}: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-file-preview-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))}:host([pref-contrast=more]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=primary][message]){--mds-file-preview-icon-background:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-file-preview-icon-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)));--mds-file-preview-color:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=info][message]){--mds-file-preview-icon-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-file-preview-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-file-preview-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=success][message]){--mds-file-preview-icon-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-file-preview-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-file-preview-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=warning][message]){--mds-file-preview-icon-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-file-preview-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-file-preview-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=error][message]){--mds-file-preview-icon-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-file-preview-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-file-preview-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=amaranth][message]){--mds-file-preview-icon-background:rgb(var(--label-amaranth-10,254 232 236));--mds-file-preview-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-file-preview-color:rgb(var(--label-amaranth-01,88 5 19))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=aqua][message]){--mds-file-preview-icon-background:rgb(var(--label-aqua-10,199 245 253));--mds-file-preview-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-file-preview-color:rgb(var(--label-aqua-01,2 50 59))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=blue][message]){--mds-file-preview-icon-background:rgb(var(--label-blue-10,233 236 254));--mds-file-preview-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-file-preview-color:rgb(var(--label-blue-01,5 26 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=green][message]){--mds-file-preview-icon-background:rgb(var(--label-green-10,206 247 221));--mds-file-preview-icon-color:rgb(var(--label-green-02,14 80 38));--mds-file-preview-color:rgb(var(--label-green-01,9 52 25))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=lime][message]){--mds-file-preview-icon-background:rgb(var(--label-lime-10,219 247 178));--mds-file-preview-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-file-preview-color:rgb(var(--label-lime-01,33 51 6))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orange][message]){--mds-file-preview-icon-background:rgb(var(--label-orange-10,254 233 219));--mds-file-preview-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-file-preview-color:rgb(var(--label-orange-01,76 32 2))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=orchid][message]){--mds-file-preview-icon-background:rgb(var(--label-orchid-10,253 231 242));--mds-file-preview-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-file-preview-color:rgb(var(--label-orchid-01,85 9 47))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=purple][message]){--mds-file-preview-icon-background:rgb(var(--label-purple-10,244 233 254));--mds-file-preview-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-file-preview-color:rgb(var(--label-purple-01,60 5 112))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=red][message]){--mds-file-preview-icon-background:rgb(var(--label-red-10,252 233 233));--mds-file-preview-icon-color:rgb(var(--label-red-02,131 17 17));--mds-file-preview-color:rgb(var(--label-red-01,87 11 11))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=sky][message]){--mds-file-preview-icon-background:rgb(var(--label-sky-10,217 241 253));--mds-file-preview-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-file-preview-color:rgb(var(--label-sky-01,4 48 68))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=violet][message]){--mds-file-preview-icon-background:rgb(var(--label-violet-10,240 234 254));--mds-file-preview-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-file-preview-color:rgb(var(--label-violet-01,43 7 127))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([variant=yellow][message]){--mds-file-preview-icon-background:rgb(var(--label-yellow-10,253 236 186));--mds-file-preview-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-file-preview-color:rgb(var(--label-yellow-01,58 44 2))}:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-file-preview-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@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-file-preview-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))}}"}},[1,"mds-file-preview",{deletable:[516],downloadable:[516],description:[513],filename:[513],filesize:[513],message:[513],truncate:[513],src:[513],suffix:[513],icon:[513],variant:[513],format:[1537]},void 0,{filename:[{handleFilename:0}]}]);function G(){"undefined"!=typeof customElements&&["mds-file-preview","mds-badge","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-file-preview":customElements.get(o(e))||customElements.define(o(e),D);break;case"mds-badge":customElements.get(o(e))||h();break;case"mds-button":customElements.get(o(e))||w();break;case"mds-icon":customElements.get(o(e))||x();break;case"mds-img":customElements.get(o(e))||y();break;case"mds-spinner":customElements.get(o(e))||k();break;case"mds-text":customElements.get(o(e))||j()}}))}export{D as M,G as d}