@maggioli-design-system/magma 2.4.1 → 2.5.1

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 (1200) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +39 -0
  3. package/LICENSE +21 -0
  4. package/agents/assets.md +10 -0
  5. package/agents/components.md +2 -1
  6. package/agents/conventions.md +12 -0
  7. package/dist/cjs/{floating-controller-BiwDIKXd.js → floating-controller-DaFymQCT.js} +1 -1
  8. package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
  9. package/dist/cjs/{index-B5DKRaVO.js → index-Bg68W-da.js} +1 -1
  10. package/dist/cjs/index.cjs.js +3 -63
  11. package/dist/cjs/loader.cjs.js +2 -2
  12. package/dist/cjs/{locale-D9XY8LN9.js → locale-CaR39iYg.js} +13 -7
  13. package/dist/cjs/magma-components.cjs.js +2 -2
  14. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  17. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  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 +2 -2
  22. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  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-breadcrumb-item.cjs.entry.js +2 -2
  27. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
  31. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  32. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  36. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  38. package/dist/cjs/mds-dropdown.cjs.entry.js +4 -4
  39. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  40. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  41. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  42. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  44. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  45. package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
  46. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +4 -4
  48. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  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 +4 -4
  52. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  53. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  55. package/dist/cjs/mds-input-range.cjs.entry.js +3 -3
  56. package/dist/cjs/mds-input-select.cjs.entry.js +12 -8
  57. package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
  58. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  59. package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
  60. package/dist/cjs/mds-input.cjs.entry.js +157 -40
  61. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-keyboard.cjs.entry.js +10 -6
  63. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  65. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  66. package/dist/cjs/mds-link.cjs.entry.js +147 -0
  67. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  68. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  70. package/dist/cjs/mds-modal.cjs.entry.js +7 -7
  71. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  72. package/dist/cjs/mds-notification.cjs.entry.js +4 -4
  73. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  74. package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
  75. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  76. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  78. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  79. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  80. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  81. package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
  82. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  83. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  84. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  85. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  91. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  92. package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
  93. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  94. package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
  95. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  97. package/dist/cjs/mds-radial-menu.cjs.entry.js +6 -6
  98. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  99. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
  100. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +10 -8
  101. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  102. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  103. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  104. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  105. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  106. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  107. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  108. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  109. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  110. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  111. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  112. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  113. package/dist/cjs/mds-toast.cjs.entry.js +5 -5
  114. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  115. package/dist/cjs/mds-tree-item.cjs.entry.js +5 -5
  116. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  117. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  118. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  119. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  120. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  121. package/dist/cjs/navigation-5yeOyO6F.js +64 -0
  122. package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
  123. package/dist/collection/collection-manifest.json +1 -0
  124. package/dist/collection/common/locale.js +12 -6
  125. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  126. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  127. package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
  128. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  129. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
  131. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  133. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  134. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
  137. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-author/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  141. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  143. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  145. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-badge/documentation.json +1 -1
  147. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  148. package/dist/collection/components/mds-banner/documentation.json +1 -1
  149. package/dist/collection/components/mds-banner/mds-banner.css +3 -3
  150. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  152. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  154. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  157. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  158. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  159. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  160. package/dist/collection/components/mds-button/antipattern.md +16 -0
  161. package/dist/collection/components/mds-button/documentation.json +2 -2
  162. package/dist/collection/components/mds-button/mds-button.css +4 -2
  163. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  165. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  167. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  169. package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
  170. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  172. package/dist/collection/components/mds-card/AGENTS.md +2 -1
  173. package/dist/collection/components/mds-card/documentation.json +2 -2
  174. package/dist/collection/components/mds-card/mds-card.css +9 -5
  175. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  177. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  179. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  181. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  183. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  184. package/dist/collection/components/mds-chip/documentation.json +1 -1
  185. package/dist/collection/components/mds-chip/mds-chip.css +1 -1
  186. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  187. package/dist/collection/components/mds-details/documentation.json +1 -1
  188. package/dist/collection/components/mds-details/mds-details.css +2 -2
  189. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  190. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  191. package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
  192. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  193. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  194. package/dist/collection/components/mds-emoji/mds-emoji.css +11 -6
  195. package/dist/collection/components/mds-entity/AGENTS.md +3 -2
  196. package/dist/collection/components/mds-entity/documentation.json +11 -3
  197. package/dist/collection/components/mds-entity/mds-entity.css +1 -1
  198. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  199. package/dist/collection/components/mds-entity/pattern.md +10 -0
  200. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-file/documentation.json +1 -1
  202. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  203. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  204. package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
  205. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-filter/documentation.json +1 -1
  207. package/dist/collection/components/mds-filter/mds-filter.css +1 -1
  208. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  210. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  211. package/dist/collection/components/mds-header/documentation.json +1 -1
  212. package/dist/collection/components/mds-header/mds-header.css +4 -4
  213. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  215. package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
  216. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-help/documentation.json +1 -1
  218. package/dist/collection/components/mds-help/mds-help.css +7 -5
  219. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  221. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
  222. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-hr/documentation.json +1 -1
  224. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  225. package/dist/collection/components/mds-icon/documentation.json +5 -1
  226. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-img/documentation.json +1 -1
  228. package/dist/collection/components/mds-input/AGENTS.md +4 -2
  229. package/dist/collection/components/mds-input/documentation.json +2 -2
  230. package/dist/collection/components/mds-input/mds-input.css +8 -8
  231. package/dist/collection/components/mds-input/mds-input.js +12 -7
  232. package/dist/collection/components/mds-input/meta/input-type/InputValidationManager.js +3 -3
  233. package/dist/collection/components/mds-input/meta/validators.js +28 -13
  234. package/dist/collection/components/mds-input/meta/validity.js +8 -10
  235. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  237. package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
  238. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  239. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  240. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
  241. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  243. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  245. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  246. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  247. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  248. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  249. package/dist/collection/components/mds-input-range/mds-input-range.css +26 -19
  250. package/dist/collection/components/mds-input-select/AGENTS.md +2 -2
  251. package/dist/collection/components/mds-input-select/documentation.json +2 -2
  252. package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
  253. package/dist/collection/components/mds-input-select/mds-input-select.js +7 -3
  254. package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
  255. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  256. package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -7
  257. package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
  258. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  259. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  260. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  262. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  263. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  264. package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
  265. package/dist/collection/components/mds-keyboard/AGENTS.md +2 -2
  266. package/dist/collection/components/mds-keyboard/documentation.json +2 -2
  267. package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
  268. package/dist/collection/components/mds-keyboard/mds-keyboard.js +6 -2
  269. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  271. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  272. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  274. package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
  275. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  278. package/dist/collection/components/mds-label/documentation.json +1 -1
  279. package/dist/collection/components/mds-link/AGENTS.md +81 -0
  280. package/dist/collection/components/mds-link/antipattern.md +96 -0
  281. package/dist/collection/components/mds-link/documentation.json +407 -0
  282. package/dist/collection/components/mds-link/mds-link.css +301 -0
  283. package/dist/collection/components/mds-link/mds-link.js +335 -0
  284. package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
  285. package/dist/collection/components/mds-link/meta/types.js +1 -0
  286. package/dist/collection/components/mds-link/pattern.md +100 -0
  287. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-list/documentation.json +1 -1
  289. package/dist/collection/components/mds-list/mds-list.js +1 -1
  290. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  292. package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
  293. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  294. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  295. package/dist/collection/components/mds-mention/documentation.json +1 -1
  296. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  297. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  298. package/dist/collection/components/mds-modal/documentation.json +1 -1
  299. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  300. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  301. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  302. package/dist/collection/components/mds-note/documentation.json +1 -1
  303. package/dist/collection/components/mds-note/mds-note.css +3 -3
  304. package/dist/collection/components/mds-note/mds-note.js +1 -1
  305. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-notification/documentation.json +1 -1
  307. package/dist/collection/components/mds-notification/mds-notification.css +22 -22
  308. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  309. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  310. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  311. package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
  312. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  313. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  315. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  316. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  318. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  319. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-pref/documentation.json +1 -1
  321. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  322. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  324. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  325. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  327. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  328. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  330. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  331. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  332. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  333. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  334. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  335. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  336. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  337. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  338. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  339. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
  340. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  341. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  343. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  344. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  347. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  349. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  350. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  352. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  353. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  355. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  356. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  358. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  359. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  361. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  362. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  364. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  365. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  366. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  367. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  368. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  369. package/dist/collection/components/mds-progress/documentation.json +1 -1
  370. package/dist/collection/components/mds-progress/mds-progress.css +2 -0
  371. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  372. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  373. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  374. package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
  375. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  376. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  377. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  378. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
  379. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  380. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  381. package/dist/collection/components/mds-quote/documentation.json +1 -1
  382. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  383. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  384. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  385. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
  386. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  387. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  388. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  389. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
  390. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  391. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  393. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
  394. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  395. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  396. package/dist/collection/components/mds-separator/documentation.json +1 -1
  397. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  398. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  399. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  400. package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
  401. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  402. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  403. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  404. package/dist/collection/components/mds-status-bar/mds-status-bar.css +4 -3
  405. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  406. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  408. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  409. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  411. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
  412. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +6 -4
  413. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  414. package/dist/collection/components/mds-tab/documentation.json +1 -1
  415. package/dist/collection/components/mds-tab/mds-tab.css +9 -7
  416. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  417. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  418. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  419. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  420. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  421. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  422. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  423. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  424. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  426. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  427. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-table/documentation.json +1 -1
  429. package/dist/collection/components/mds-table/mds-table.css +1 -1
  430. package/dist/collection/components/mds-table/mds-table.js +1 -1
  431. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  433. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  434. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  436. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  437. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  439. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  440. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  441. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  442. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  443. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  444. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  445. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  446. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  447. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  448. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  449. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  450. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  451. package/dist/collection/components/mds-text/antipattern.md +1 -1
  452. package/dist/collection/components/mds-text/documentation.json +4 -4
  453. package/dist/collection/components/mds-text/mds-text.js +1 -1
  454. package/dist/collection/components/mds-text/pattern.md +10 -0
  455. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  456. package/dist/collection/components/mds-toast/documentation.json +1 -1
  457. package/dist/collection/components/mds-toast/mds-toast.css +2 -2
  458. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  459. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  460. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  461. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  462. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  463. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  464. package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
  465. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  466. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  467. package/dist/collection/components/mds-tree/documentation.json +1 -1
  468. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  469. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  470. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  471. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  472. package/dist/collection/components/mds-tree-item/mds-tree-item.css +0 -1
  473. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  474. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  476. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  477. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  478. package/dist/collection/components/mds-usage/documentation.json +1 -1
  479. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  480. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  481. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  482. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  483. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  484. package/dist/collection/components/mds-zero/documentation.json +1 -1
  485. package/dist/collection/components/mds-zero/mds-zero.css +2 -2
  486. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  487. package/dist/components/index.d.ts +2 -0
  488. package/dist/components/index.js +1 -1
  489. package/dist/components/mds-accordion-item.js +1 -1
  490. package/dist/components/mds-accordion-timer-item.js +1 -1
  491. package/dist/components/mds-accordion-timer.js +1 -1
  492. package/dist/components/mds-accordion.js +1 -1
  493. package/dist/components/mds-author.js +1 -1
  494. package/dist/components/mds-avatar-stack-item.js +1 -1
  495. package/dist/components/mds-avatar-stack.js +1 -1
  496. package/dist/components/mds-avatar.js +1 -1
  497. package/dist/components/mds-badge.js +1 -1
  498. package/dist/components/mds-banner.js +1 -1
  499. package/dist/components/mds-benchmark-bar.js +1 -1
  500. package/dist/components/mds-bibliography.js +1 -1
  501. package/dist/components/mds-breadcrumb-item.js +1 -1
  502. package/dist/components/mds-breadcrumb.js +1 -1
  503. package/dist/components/mds-button-dropdown.js +1 -1
  504. package/dist/components/mds-button-group.js +1 -1
  505. package/dist/components/mds-button.js +1 -1
  506. package/dist/components/mds-calendar-cell.js +1 -1
  507. package/dist/components/mds-calendar.js +1 -1
  508. package/dist/components/mds-card-content.js +1 -1
  509. package/dist/components/mds-card-footer.js +1 -1
  510. package/dist/components/mds-card-header.js +1 -1
  511. package/dist/components/mds-card-media.js +1 -1
  512. package/dist/components/mds-card.js +1 -1
  513. package/dist/components/mds-chip.js +1 -1
  514. package/dist/components/mds-details.js +1 -1
  515. package/dist/components/mds-dropdown.js +1 -1
  516. package/dist/components/mds-emoji.js +3 -3
  517. package/dist/components/mds-entity.js +1 -1
  518. package/dist/components/mds-file-preview.js +1 -1
  519. package/dist/components/mds-file.js +1 -1
  520. package/dist/components/mds-filter-item.js +1 -1
  521. package/dist/components/mds-filter.js +1 -1
  522. package/dist/components/mds-header-bar.js +1 -1
  523. package/dist/components/mds-header.js +1 -1
  524. package/dist/components/mds-help.js +1 -1
  525. package/dist/components/mds-horizontal-scroll.js +1 -1
  526. package/dist/components/mds-hr.js +1 -1
  527. package/dist/components/mds-icon.js +1 -1
  528. package/dist/components/mds-img.js +1 -1
  529. package/dist/components/mds-input-date-range-preselection.js +1 -1
  530. package/dist/components/mds-input-date-range.js +1 -1
  531. package/dist/components/mds-input-date.js +1 -1
  532. package/dist/components/mds-input-field.js +1 -1
  533. package/dist/components/mds-input-otp.js +1 -1
  534. package/dist/components/mds-input-range.js +1 -1
  535. package/dist/components/mds-input-select.js +1 -1
  536. package/dist/components/mds-input-switch.js +1 -1
  537. package/dist/components/mds-input-tip-item.js +1 -1
  538. package/dist/components/mds-input-tip.js +1 -1
  539. package/dist/components/mds-input-upload.js +1 -1
  540. package/dist/components/mds-input.js +1 -1
  541. package/dist/components/mds-keyboard-key.js +1 -1
  542. package/dist/components/mds-keyboard.js +1 -1
  543. package/dist/components/mds-kpi-item.js +1 -1
  544. package/dist/components/mds-kpi.js +1 -1
  545. package/dist/components/mds-label.js +1 -1
  546. package/dist/components/mds-link.d.ts +11 -0
  547. package/dist/components/mds-link.js +1 -0
  548. package/dist/components/mds-list-item.js +1 -1
  549. package/dist/components/mds-list.js +1 -1
  550. package/dist/components/mds-mention.js +1 -1
  551. package/dist/components/mds-modal.js +1 -1
  552. package/dist/components/mds-note.js +1 -1
  553. package/dist/components/mds-notification.js +1 -1
  554. package/dist/components/mds-paginator-item.js +1 -1
  555. package/dist/components/mds-paginator.js +1 -1
  556. package/dist/components/mds-policy-ai.js +1 -1
  557. package/dist/components/mds-pref-animation.js +1 -1
  558. package/dist/components/mds-pref-consumption.js +1 -1
  559. package/dist/components/mds-pref-contrast.js +1 -1
  560. package/dist/components/mds-pref-language-item.js +1 -1
  561. package/dist/components/mds-pref-language.js +1 -1
  562. package/dist/components/mds-pref-mode.js +1 -1
  563. package/dist/components/mds-pref-theme-item.js +1 -1
  564. package/dist/components/mds-pref-theme.js +1 -1
  565. package/dist/components/mds-pref.js +1 -1
  566. package/dist/components/mds-price-table-features-cell.js +1 -1
  567. package/dist/components/mds-price-table-features-row.js +1 -1
  568. package/dist/components/mds-price-table-features.js +1 -1
  569. package/dist/components/mds-price-table-header.js +1 -1
  570. package/dist/components/mds-price-table-list-item.js +1 -1
  571. package/dist/components/mds-price-table-list.js +1 -1
  572. package/dist/components/mds-price-table.js +1 -1
  573. package/dist/components/mds-progress.js +1 -1
  574. package/dist/components/mds-push-notification-item.js +1 -1
  575. package/dist/components/mds-push-notification.js +1 -1
  576. package/dist/components/mds-quote.js +1 -1
  577. package/dist/components/mds-radial-menu-item.js +1 -1
  578. package/dist/components/mds-radial-menu.js +1 -1
  579. package/dist/components/mds-radial-progress.js +1 -1
  580. package/dist/components/mds-separator.js +1 -1
  581. package/dist/components/mds-spinner.js +1 -1
  582. package/dist/components/mds-status-bar.js +1 -1
  583. package/dist/components/mds-stepper-bar-item.js +1 -1
  584. package/dist/components/mds-stepper-bar.js +1 -1
  585. package/dist/components/mds-tab-bar-item.js +1 -1
  586. package/dist/components/mds-tab-bar.js +1 -1
  587. package/dist/components/mds-tab-item.js +1 -1
  588. package/dist/components/mds-tab.js +1 -1
  589. package/dist/components/mds-table-body.js +1 -1
  590. package/dist/components/mds-table-cell.js +1 -1
  591. package/dist/components/mds-table-footer.js +1 -1
  592. package/dist/components/mds-table-header-cell.js +1 -1
  593. package/dist/components/mds-table-header.js +1 -1
  594. package/dist/components/mds-table-row.js +1 -1
  595. package/dist/components/mds-table.js +1 -1
  596. package/dist/components/mds-text.js +1 -1
  597. package/dist/components/mds-toast-region.js +1 -1
  598. package/dist/components/mds-toast.js +1 -1
  599. package/dist/components/mds-tooltip.js +1 -1
  600. package/dist/components/mds-tree-item.js +1 -1
  601. package/dist/components/mds-tree.js +1 -1
  602. package/dist/components/mds-url-view.js +1 -1
  603. package/dist/components/mds-usage.js +1 -1
  604. package/dist/components/mds-video-wall.js +1 -1
  605. package/dist/components/mds-zero.js +1 -1
  606. package/dist/components/{p-D_0rjNZp.js → p-5lLueiFt.js} +1 -1
  607. package/dist/components/p-B0AnE3sA.js +1 -0
  608. package/dist/components/{p-DSxDXNWp.js → p-BO-jHv-F.js} +1 -1
  609. package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
  610. package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
  611. package/dist/components/p-BbgQG1UL.js +8 -0
  612. package/dist/components/p-BwJQB6rG.js +1 -0
  613. package/dist/components/p-Bz1eiKqd.js +1 -0
  614. package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
  615. package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
  616. package/dist/components/{p-B1bYa-o0.js → p-CJYY4da7.js} +1 -1
  617. package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
  618. package/dist/components/p-CPvuXO7s.js +1 -0
  619. package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
  620. package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
  621. package/dist/{magma-components/p-BmT_DEV2.js → components/p-CZjwSwe5.js} +2 -2
  622. package/dist/components/{p-sM-eFjwq.js → p-CaROqeeK.js} +1 -1
  623. package/dist/components/p-ClPv-Ljc.js +1 -0
  624. package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
  625. package/dist/components/p-Cu5nEwMu.js +1 -0
  626. package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
  627. package/dist/components/p-D0A8gS-P.js +1 -0
  628. package/dist/components/p-D8wd-EZX.js +1 -0
  629. package/dist/components/p-DFD4E9zJ.js +1 -0
  630. package/dist/components/p-DNeEn8Rr.js +1 -0
  631. package/dist/components/{p-Bg5E4Wnq.js → p-DTtmr_Y9.js} +1 -1
  632. package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
  633. package/dist/components/{p-D4JiVIoh.js → p-DkYDXDkD.js} +1 -1
  634. package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
  635. package/dist/components/p-DnySYX0L.js +1 -0
  636. package/dist/components/{p-NOw8-OrM.js → p-DucY18_e.js} +1 -1
  637. package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
  638. package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
  639. package/dist/{magma-components/p-DmFo8_MF.js → components/p-jasGzfhE.js} +1 -1
  640. package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
  641. package/dist/components/p-yNPPTJ7i.js +1 -0
  642. package/dist/documentation.json +433 -13
  643. package/dist/esm/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  644. package/dist/esm/{index-DI_6NAg0.js → index-BJVvHlvf.js} +1 -1
  645. package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
  646. package/dist/esm/index.js +3 -63
  647. package/dist/esm/loader.js +3 -3
  648. package/dist/esm/{locale-DfpXg7qZ.js → locale-B6cOkl4I.js} +13 -7
  649. package/dist/esm/magma-components.js +3 -3
  650. package/dist/esm/mds-accordion-item.entry.js +3 -3
  651. package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
  652. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  653. package/dist/esm/mds-accordion.entry.js +3 -3
  654. package/dist/esm/mds-author.entry.js +1 -1
  655. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  656. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  657. package/dist/esm/mds-avatar.entry.js +2 -2
  658. package/dist/esm/mds-badge.entry.js +2 -2
  659. package/dist/esm/mds-banner_3.entry.js +6 -6
  660. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  661. package/dist/esm/mds-bibliography.entry.js +1 -1
  662. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  663. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  664. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  665. package/dist/esm/mds-button-group.entry.js +1 -1
  666. package/dist/esm/mds-button_3.entry.js +6 -5
  667. package/dist/esm/mds-calendar_2.entry.js +4 -4
  668. package/dist/esm/mds-card-content.entry.js +1 -1
  669. package/dist/esm/mds-card-footer.entry.js +1 -1
  670. package/dist/esm/mds-card-header.entry.js +1 -1
  671. package/dist/esm/mds-card-media.entry.js +1 -1
  672. package/dist/esm/mds-card.entry.js +3 -3
  673. package/dist/esm/mds-details.entry.js +3 -3
  674. package/dist/esm/mds-dropdown.entry.js +4 -4
  675. package/dist/esm/mds-emoji.entry.js +3 -3
  676. package/dist/esm/mds-entity.entry.js +4 -4
  677. package/dist/esm/mds-file-preview.entry.js +4 -4
  678. package/dist/esm/mds-file.entry.js +3 -3
  679. package/dist/esm/mds-filter-item.entry.js +3 -3
  680. package/dist/esm/mds-filter.entry.js +4 -4
  681. package/dist/esm/mds-header-bar.entry.js +4 -4
  682. package/dist/esm/mds-header.entry.js +3 -3
  683. package/dist/esm/mds-horizontal-scroll.entry.js +4 -4
  684. package/dist/esm/mds-hr.entry.js +2 -2
  685. package/dist/esm/mds-img.entry.js +3 -3
  686. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  687. package/dist/esm/mds-input-date-range.entry.js +4 -4
  688. package/dist/esm/mds-input-date.entry.js +5 -5
  689. package/dist/esm/mds-input-field.entry.js +1 -1
  690. package/dist/esm/mds-input-otp.entry.js +3 -3
  691. package/dist/esm/mds-input-range.entry.js +3 -3
  692. package/dist/esm/mds-input-select.entry.js +12 -8
  693. package/dist/esm/mds-input-switch_2.entry.js +7 -7
  694. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  695. package/dist/esm/mds-input-upload.entry.js +4 -4
  696. package/dist/esm/mds-input.entry.js +157 -40
  697. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  698. package/dist/esm/mds-keyboard.entry.js +10 -6
  699. package/dist/esm/mds-kpi-item.entry.js +2 -2
  700. package/dist/esm/mds-kpi.entry.js +2 -2
  701. package/dist/esm/mds-label.entry.js +3 -3
  702. package/dist/esm/mds-link.entry.js +145 -0
  703. package/dist/esm/mds-list-item.entry.js +3 -3
  704. package/dist/esm/mds-list.entry.js +2 -2
  705. package/dist/esm/mds-mention.entry.js +4 -4
  706. package/dist/esm/mds-modal.entry.js +7 -7
  707. package/dist/esm/mds-note.entry.js +5 -5
  708. package/dist/esm/mds-notification.entry.js +4 -4
  709. package/dist/esm/mds-paginator-item.entry.js +3 -3
  710. package/dist/esm/mds-paginator.entry.js +5 -5
  711. package/dist/esm/mds-policy-ai.entry.js +4 -4
  712. package/dist/esm/mds-pref-animation.entry.js +4 -4
  713. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  714. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  715. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  716. package/dist/esm/mds-pref-language.entry.js +4 -4
  717. package/dist/esm/mds-pref-mode.entry.js +5 -5
  718. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  719. package/dist/esm/mds-pref-theme.entry.js +4 -4
  720. package/dist/esm/mds-pref.entry.js +4 -4
  721. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  722. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  723. package/dist/esm/mds-price-table-features.entry.js +3 -3
  724. package/dist/esm/mds-price-table-header.entry.js +2 -2
  725. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  726. package/dist/esm/mds-price-table-list.entry.js +3 -3
  727. package/dist/esm/mds-price-table.entry.js +2 -2
  728. package/dist/esm/mds-progress_2.entry.js +5 -5
  729. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  730. package/dist/esm/mds-push-notification.entry.js +5 -5
  731. package/dist/esm/mds-quote.entry.js +3 -3
  732. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  733. package/dist/esm/mds-radial-menu.entry.js +6 -6
  734. package/dist/esm/mds-separator.entry.js +3 -3
  735. package/dist/esm/mds-status-bar.entry.js +4 -4
  736. package/dist/esm/mds-stepper-bar-item.entry.js +10 -8
  737. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  738. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  739. package/dist/esm/mds-tab-bar.entry.js +3 -3
  740. package/dist/esm/mds-tab_2.entry.js +6 -6
  741. package/dist/esm/mds-table-body.entry.js +3 -3
  742. package/dist/esm/mds-table-footer.entry.js +3 -3
  743. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  744. package/dist/esm/mds-table-header.entry.js +4 -4
  745. package/dist/esm/mds-table-row.entry.js +6 -6
  746. package/dist/esm/mds-table.entry.js +5 -5
  747. package/dist/esm/mds-text.entry.js +3 -3
  748. package/dist/esm/mds-toast-region.entry.js +2 -2
  749. package/dist/esm/mds-toast.entry.js +5 -5
  750. package/dist/esm/mds-tooltip.entry.js +5 -5
  751. package/dist/esm/mds-tree-item.entry.js +5 -5
  752. package/dist/esm/mds-tree.entry.js +3 -3
  753. package/dist/esm/mds-url-view.entry.js +4 -4
  754. package/dist/esm/mds-usage.entry.js +4 -4
  755. package/dist/esm/mds-video-wall.entry.js +3 -3
  756. package/dist/esm/mds-zero.entry.js +4 -4
  757. package/dist/esm/navigation-Bz1eiKqd.js +62 -0
  758. package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
  759. package/dist/esm-es5/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  760. package/dist/esm-es5/{index-DI_6NAg0.js → index-BJVvHlvf.js} +1 -1
  761. package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
  762. package/dist/esm-es5/index.js +20 -37
  763. package/dist/esm-es5/loader.js +1 -1
  764. package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-B6cOkl4I.js} +23 -19
  765. package/dist/esm-es5/magma-components.js +2 -2
  766. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  767. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  768. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  769. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  770. package/dist/esm-es5/mds-author.entry.js +1 -1
  771. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  772. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  773. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  774. package/dist/esm-es5/mds-badge.entry.js +1 -1
  775. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  776. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  777. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  778. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  779. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  780. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  781. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  782. package/dist/esm-es5/mds-button_3.entry.js +2 -2
  783. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  784. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  785. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  786. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  787. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  788. package/dist/esm-es5/mds-card.entry.js +1 -1
  789. package/dist/esm-es5/mds-details.entry.js +1 -1
  790. package/dist/esm-es5/mds-dropdown.entry.js +15 -15
  791. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  792. package/dist/esm-es5/mds-entity.entry.js +1 -1
  793. package/dist/esm-es5/mds-file-preview.entry.js +7 -7
  794. package/dist/esm-es5/mds-file.entry.js +1 -1
  795. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  796. package/dist/esm-es5/mds-filter.entry.js +1 -1
  797. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  798. package/dist/esm-es5/mds-header.entry.js +1 -1
  799. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  800. package/dist/esm-es5/mds-hr.entry.js +1 -1
  801. package/dist/esm-es5/mds-img.entry.js +1 -1
  802. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  803. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  804. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  805. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  806. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  807. package/dist/esm-es5/mds-input-range.entry.js +7 -7
  808. package/dist/esm-es5/mds-input-select.entry.js +5 -4
  809. package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
  810. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  811. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  812. package/dist/esm-es5/mds-input.entry.js +53 -50
  813. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  814. package/dist/esm-es5/mds-keyboard.entry.js +6 -3
  815. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  816. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  817. package/dist/esm-es5/mds-label.entry.js +1 -1
  818. package/dist/esm-es5/mds-link.entry.js +39 -0
  819. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  820. package/dist/esm-es5/mds-list.entry.js +1 -1
  821. package/dist/esm-es5/mds-mention.entry.js +2 -2
  822. package/dist/esm-es5/mds-modal.entry.js +3 -3
  823. package/dist/esm-es5/mds-note.entry.js +2 -2
  824. package/dist/esm-es5/mds-notification.entry.js +8 -8
  825. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  826. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  827. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  828. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  829. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  830. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  831. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  832. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  833. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  834. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  835. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  836. package/dist/esm-es5/mds-pref.entry.js +2 -2
  837. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  838. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  839. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  840. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  841. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  842. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  843. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  844. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  845. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  846. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  847. package/dist/esm-es5/mds-quote.entry.js +2 -2
  848. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  849. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  850. package/dist/esm-es5/mds-separator.entry.js +1 -1
  851. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  852. package/dist/esm-es5/mds-stepper-bar-item.entry.js +6 -3
  853. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  854. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  855. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  856. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  857. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  858. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  859. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  860. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  861. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  862. package/dist/esm-es5/mds-table.entry.js +2 -2
  863. package/dist/esm-es5/mds-text.entry.js +2 -2
  864. package/dist/esm-es5/mds-toast-region.entry.js +3 -3
  865. package/dist/esm-es5/mds-toast.entry.js +2 -2
  866. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  867. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  868. package/dist/esm-es5/mds-tree.entry.js +2 -2
  869. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  870. package/dist/esm-es5/mds-usage.entry.js +2 -2
  871. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  872. package/dist/esm-es5/mds-zero.entry.js +1 -1
  873. package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
  874. package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
  875. package/dist/hydrate/index.js +645 -350
  876. package/dist/hydrate/index.mjs +645 -350
  877. package/dist/magma-components/index.esm.js +1 -1
  878. package/dist/magma-components/magma-components.esm.js +1 -1
  879. package/dist/magma-components/magma-components.js +1 -1
  880. package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
  881. package/dist/magma-components/p-0193734e.entry.js +1 -0
  882. package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
  883. package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
  884. package/dist/magma-components/p-046697e4.system.entry.js +12 -0
  885. package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
  886. package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
  887. package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
  888. package/dist/magma-components/{p-8059aa67.system.entry.js → p-071f5c7b.system.entry.js} +3 -3
  889. package/dist/magma-components/{p-d0c0c195.entry.js → p-075acd04.entry.js} +1 -1
  890. package/dist/magma-components/{p-547f657e.system.entry.js → p-07a3c63c.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
  892. package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
  893. package/dist/magma-components/p-093b8fbc.system.entry.js +20 -0
  894. package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
  895. package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
  896. package/dist/magma-components/p-0a8e8525.entry.js +1 -0
  897. package/dist/magma-components/p-0e2cd21e.entry.js +1 -0
  898. package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
  899. package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
  900. package/dist/magma-components/p-11320427.entry.js +1 -0
  901. package/dist/magma-components/p-14635a8f.entry.js +1 -0
  902. package/dist/magma-components/p-168d5fad.entry.js +1 -0
  903. package/dist/magma-components/{p-cc0cb701.entry.js → p-17ec24dc.entry.js} +1 -1
  904. package/dist/magma-components/{p-4225484c.entry.js → p-198ea5d8.entry.js} +1 -1
  905. package/dist/magma-components/p-1c2c4670.entry.js +1 -0
  906. package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
  907. package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
  908. package/dist/magma-components/p-1ea582a9.system.entry.js +55 -0
  909. package/dist/magma-components/p-1f623b75.entry.js +1 -0
  910. package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
  911. package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
  912. package/dist/magma-components/{p-3ba5ddae.entry.js → p-227f57e6.entry.js} +1 -1
  913. package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
  914. package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
  915. package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
  916. package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
  917. package/dist/magma-components/p-2752b45a.system.entry.js +54 -0
  918. package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
  919. package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
  920. package/dist/magma-components/{p-3bb26611.entry.js → p-29971e1d.entry.js} +1 -1
  921. package/dist/magma-components/p-2a4d22c9.system.entry.js +13 -0
  922. package/dist/magma-components/p-2c3f518c.system.entry.js +25 -0
  923. package/dist/magma-components/p-2c845743.system.entry.js +1 -0
  924. package/dist/magma-components/{p-3ac09ace.entry.js → p-2d9c9ef9.entry.js} +1 -1
  925. package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
  927. package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
  928. package/dist/magma-components/p-35528bdd.system.entry.js +225 -0
  929. package/dist/magma-components/{p-aa8653b1.system.entry.js → p-37487e8b.system.entry.js} +2 -2
  930. package/dist/magma-components/p-377d0661.entry.js +1 -0
  931. package/dist/magma-components/{p-8e08ae08.system.entry.js → p-38b16983.system.entry.js} +3 -3
  932. package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
  933. package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
  934. package/dist/magma-components/p-3c669cfb.entry.js +1 -0
  935. package/dist/magma-components/{p-e1ce306a.system.entry.js → p-3d162e99.system.entry.js} +2 -2
  936. package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
  937. package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-b58363e2.system.entry.js → p-3e18b181.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-028f3717.entry.js → p-3f68ddca.entry.js} +1 -1
  940. package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
  941. package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
  942. package/dist/magma-components/p-44333d50.system.entry.js +82 -0
  943. package/dist/magma-components/{p-815801dd.system.entry.js → p-44998584.system.entry.js} +2 -2
  944. package/dist/magma-components/p-464e6431.entry.js +1 -0
  945. package/dist/magma-components/p-4776ac1f.entry.js +1 -0
  946. package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
  947. package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
  948. package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
  949. package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
  950. package/dist/magma-components/{p-342770d2.system.entry.js → p-50705d36.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-c72651b2.entry.js → p-521ba3a8.entry.js} +1 -1
  952. package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
  953. package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
  954. package/dist/magma-components/{p-37b801d0.system.entry.js → p-5472f18d.system.entry.js} +2 -2
  955. package/dist/magma-components/{p-23bf1afa.system.entry.js → p-55b10b70.system.entry.js} +3 -3
  956. package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
  957. package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
  958. package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
  959. package/dist/magma-components/{p-765ff9a3.system.entry.js → p-624a3909.system.entry.js} +1 -1
  960. package/dist/magma-components/{p-29d4605e.system.entry.js → p-62e94d78.system.entry.js} +4 -4
  961. package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
  962. package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
  963. package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
  964. package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
  965. package/dist/magma-components/p-6560b426.system.entry.js +4 -0
  966. package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
  967. package/dist/magma-components/p-69abd1d1.entry.js +1 -0
  968. package/dist/magma-components/{p-bc30508b.entry.js → p-69badbba.entry.js} +1 -1
  969. package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
  970. package/dist/magma-components/p-6af00399.system.entry.js +41 -0
  971. package/dist/magma-components/{p-721b625a.system.entry.js → p-6dff107d.system.entry.js} +9 -9
  972. package/dist/magma-components/p-6e32bf99.entry.js +1 -0
  973. package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
  974. package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
  975. package/dist/magma-components/p-770b3c4b.entry.js +1 -0
  976. package/dist/magma-components/p-772c18f4.entry.js +1 -0
  977. package/dist/magma-components/p-77545238.entry.js +1 -0
  978. package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
  979. package/dist/magma-components/{p-6ebbcd7b.system.entry.js → p-79f543fc.system.entry.js} +2 -2
  980. package/dist/magma-components/p-7ad68b2f.entry.js +1 -0
  981. package/dist/magma-components/{p-e49818c4.entry.js → p-7b300282.entry.js} +1 -1
  982. package/dist/magma-components/{p-1a5411a8.entry.js → p-7be0d28b.entry.js} +1 -1
  983. package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
  984. package/dist/magma-components/p-7c217aa5.entry.js +1 -0
  985. package/dist/magma-components/{p-8d8c9c90.entry.js → p-7ca73c56.entry.js} +1 -1
  986. package/dist/magma-components/{p-911dc847.entry.js → p-7d0c8177.entry.js} +1 -1
  987. package/dist/magma-components/{p-c6b16493.system.entry.js → p-7fde3025.system.entry.js} +3 -3
  988. package/dist/magma-components/{p-11e50140.system.entry.js → p-803957de.system.entry.js} +2 -2
  989. package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
  990. package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
  991. package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
  992. package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
  993. package/dist/magma-components/p-85a31141.entry.js +1 -0
  994. package/dist/magma-components/p-85fb1d08.entry.js +1 -0
  995. package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
  996. package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
  997. package/dist/magma-components/{p-9bdca8b4.entry.js → p-87baf82a.entry.js} +1 -1
  998. package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
  999. package/dist/magma-components/{p-4a051ef5.system.entry.js → p-88460d31.system.entry.js} +2 -2
  1000. package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
  1001. package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
  1002. package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
  1003. package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
  1004. package/dist/magma-components/{p-90fe332f.entry.js → p-8b501f92.entry.js} +1 -1
  1005. package/dist/magma-components/{p-a2d10402.system.entry.js → p-8ca2e879.system.entry.js} +1 -1
  1006. package/dist/magma-components/{p-7d548a19.entry.js → p-8d14f146.entry.js} +1 -1
  1007. package/dist/magma-components/{p-3fb98529.system.entry.js → p-8f47eb63.system.entry.js} +1 -1
  1008. package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
  1009. package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
  1010. package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
  1011. package/dist/magma-components/p-93d7485d.entry.js +8 -0
  1012. package/dist/magma-components/{p-36ad5759.system.entry.js → p-94439d8b.system.entry.js} +1 -1
  1013. package/dist/magma-components/{p-648ec03b.system.entry.js → p-947fcf74.system.entry.js} +5 -5
  1014. package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
  1015. package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
  1016. package/dist/magma-components/{p-95328cc7.system.entry.js → p-97eb734a.system.entry.js} +2 -2
  1017. package/dist/magma-components/p-984dd850.entry.js +1 -0
  1018. package/dist/magma-components/{p-d8d87750.system.entry.js → p-99bfa07e.system.entry.js} +1 -1
  1019. package/dist/magma-components/{p-b169ee9b.entry.js → p-9a3ddc91.entry.js} +1 -1
  1020. package/dist/magma-components/p-9cf81575.system.entry.js +80 -0
  1021. package/dist/magma-components/p-9f6c502b.entry.js +1 -0
  1022. package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
  1023. package/dist/magma-components/p-9fc385aa.entry.js +1 -0
  1024. package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
  1025. package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
  1026. package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
  1027. package/dist/magma-components/p-Bz1eiKqd.js +1 -0
  1028. package/dist/{components/p-Ebefwvkw.js → magma-components/p-CLhuNxYQ.js} +1 -1
  1029. package/dist/magma-components/{p-DVjUXVFl.system.js → p-CZuIEo2v.system.js} +1 -1
  1030. package/dist/magma-components/{p-C1ailvfu.system.js → p-CuHZXISO.system.js} +23 -19
  1031. package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
  1032. package/dist/magma-components/{p-LUd56iG_.system.js → p-CxTugGM9.system.js} +1 -1
  1033. package/dist/magma-components/{p-zQY2FlcD.js → p-Dx_cCOTw.js} +1 -1
  1034. package/dist/{components/p-B9dgiq4u.js → magma-components/p-OafT80hV.js} +2 -2
  1035. package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
  1036. package/dist/magma-components/{p-be32b7a9.system.entry.js → p-a0612465.system.entry.js} +1 -1
  1037. package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
  1038. package/dist/magma-components/p-a7c01334.entry.js +1 -0
  1039. package/dist/magma-components/p-a8a0a9ba.entry.js +1 -0
  1040. package/dist/magma-components/p-a987086b.system.entry.js +10 -0
  1041. package/dist/magma-components/p-ab4b617d.entry.js +1 -0
  1042. package/dist/magma-components/{p-e471decd.system.entry.js → p-ad05ef26.system.entry.js} +1 -1
  1043. package/dist/magma-components/{p-b62bbd07.entry.js → p-b01118cc.entry.js} +1 -1
  1044. package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
  1045. package/dist/magma-components/{p-88ac5d50.entry.js → p-b373cc32.entry.js} +1 -1
  1046. package/dist/magma-components/{p-f5a08dca.system.entry.js → p-b4633c9c.system.entry.js} +2 -2
  1047. package/dist/magma-components/p-b467f737.entry.js +1 -0
  1048. package/dist/magma-components/{p-0b7a884e.system.entry.js → p-b5cc09c7.system.entry.js} +4 -4
  1049. package/dist/magma-components/p-b69c3126.entry.js +1 -0
  1050. package/dist/magma-components/{p-166c0190.entry.js → p-b8a59768.entry.js} +1 -1
  1051. package/dist/magma-components/{p-ef4d07ba.entry.js → p-b9ca6c2e.entry.js} +1 -1
  1052. package/dist/magma-components/p-bb282bc1.system.entry.js +20 -0
  1053. package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
  1054. package/dist/magma-components/{p-7497b39d.system.entry.js → p-be6e156a.system.entry.js} +2 -2
  1055. package/dist/magma-components/{p-4582aa3e.system.entry.js → p-c03fc4fe.system.entry.js} +1 -1
  1056. package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
  1057. package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
  1058. package/dist/magma-components/{p-a7bad4e8.entry.js → p-c40ad03a.entry.js} +1 -1
  1059. package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
  1060. package/dist/magma-components/p-c6819aad.entry.js +1 -0
  1061. package/dist/magma-components/p-cc954b22.system.entry.js +27 -0
  1062. package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
  1063. package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
  1064. package/dist/magma-components/{p-a1443292.entry.js → p-ced3ebb8.entry.js} +1 -1
  1065. package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
  1066. package/dist/magma-components/{p-4d079b1a.system.entry.js → p-d254de66.system.entry.js} +3 -3
  1067. package/dist/magma-components/{p-287d1253.system.entry.js → p-d3491226.system.entry.js} +125 -125
  1068. package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
  1069. package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
  1070. package/dist/magma-components/{p-cc109576.entry.js → p-d608b79c.entry.js} +1 -1
  1071. package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
  1072. package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
  1073. package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
  1074. package/dist/magma-components/{p-69b37755.system.entry.js → p-da93a00b.system.entry.js} +2 -2
  1075. package/dist/magma-components/{p-4800a310.entry.js → p-dbca23af.entry.js} +1 -1
  1076. package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
  1077. package/dist/magma-components/{p-8b081ba9.entry.js → p-de1ae02c.entry.js} +1 -1
  1078. package/dist/magma-components/p-dedbf8d6.entry.js +1 -0
  1079. package/dist/magma-components/p-e1383302.entry.js +1 -0
  1080. package/dist/magma-components/p-e2fa6300.system.entry.js +39 -0
  1081. package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
  1082. package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
  1083. package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
  1084. package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
  1085. package/dist/magma-components/{p-dfbecf72.system.entry.js → p-eb92312f.system.entry.js} +3 -3
  1086. package/dist/magma-components/p-ec635255.entry.js +1 -0
  1087. package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
  1088. package/dist/magma-components/{p-7448435b.system.entry.js → p-f0285a1e.system.entry.js} +4 -4
  1089. package/dist/magma-components/p-f09b08f9.entry.js +1 -0
  1090. package/dist/magma-components/p-f306b5c1.entry.js +1 -0
  1091. package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
  1092. package/dist/magma-components/{p-dbf69d54.system.entry.js → p-f39416e9.system.entry.js} +2 -2
  1093. package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
  1094. package/dist/magma-components/{p-c6b9a14e.system.entry.js → p-f5326224.system.entry.js} +7 -7
  1095. package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
  1096. package/dist/magma-components/{p-e73cc6fc.entry.js → p-f5a33058.entry.js} +3 -3
  1097. package/dist/magma-components/p-f616f467.entry.js +1 -0
  1098. package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
  1099. package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
  1100. package/dist/magma-components/p-f75935ed.system.entry.js +25 -0
  1101. package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
  1102. package/dist/magma-components/{p-1f5cd2b5.entry.js → p-f901c844.entry.js} +1 -1
  1103. package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
  1104. package/dist/magma-components/p-fc22f5e0.system.entry.js +34 -0
  1105. package/dist/magma-components/p-ffbf7448.entry.js +1 -0
  1106. package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
  1107. package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
  1108. package/dist/stats.json +3497 -2645
  1109. package/dist/types/common/locale.d.ts +5 -0
  1110. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1111. package/dist/types/components/mds-input/meta/validators.d.ts +7 -2
  1112. package/dist/types/components/mds-input/meta/validity.d.ts +3 -2
  1113. package/dist/types/components/mds-input-select/mds-input-select.d.ts +2 -1
  1114. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
  1115. package/dist/types/components/mds-link/mds-link.d.ts +71 -0
  1116. package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
  1117. package/dist/types/components/mds-link/meta/types.d.ts +3 -0
  1118. package/dist/types/components.d.ts +103 -4
  1119. package/package.json +4 -3
  1120. package/dist/components/p-BHy4k3pJ.js +0 -1
  1121. package/dist/components/p-BLXRGNya.js +0 -1
  1122. package/dist/components/p-BN5kmfLJ.js +0 -8
  1123. package/dist/components/p-BUr3NqxM.js +0 -1
  1124. package/dist/components/p-C2fyy4Mv.js +0 -1
  1125. package/dist/components/p-CIWWmisz.js +0 -1
  1126. package/dist/components/p-CJyTL7Mj.js +0 -1
  1127. package/dist/components/p-CWwWCzma.js +0 -1
  1128. package/dist/components/p-ChrRK8N9.js +0 -1
  1129. package/dist/components/p-D3_jgpKd.js +0 -1
  1130. package/dist/components/p-DYpfVn7a.js +0 -1
  1131. package/dist/components/p-Ea5ilDf6.js +0 -1
  1132. package/dist/magma-components/p-0b5fe949.entry.js +0 -1
  1133. package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
  1134. package/dist/magma-components/p-14ef1aec.entry.js +0 -1
  1135. package/dist/magma-components/p-1989c0b4.entry.js +0 -8
  1136. package/dist/magma-components/p-1d68fc4a.system.entry.js +0 -80
  1137. package/dist/magma-components/p-20608f69.system.entry.js +0 -35
  1138. package/dist/magma-components/p-2061e567.entry.js +0 -1
  1139. package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
  1140. package/dist/magma-components/p-2294945a.system.entry.js +0 -34
  1141. package/dist/magma-components/p-2abfc393.entry.js +0 -1
  1142. package/dist/magma-components/p-2c4d2717.entry.js +0 -1
  1143. package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
  1144. package/dist/magma-components/p-2e8f703e.entry.js +0 -1
  1145. package/dist/magma-components/p-357ec8c0.entry.js +0 -1
  1146. package/dist/magma-components/p-3b36319a.entry.js +0 -1
  1147. package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
  1148. package/dist/magma-components/p-4116e328.system.entry.js +0 -1
  1149. package/dist/magma-components/p-4191bf22.entry.js +0 -1
  1150. package/dist/magma-components/p-4260da67.system.entry.js +0 -12
  1151. package/dist/magma-components/p-43338a07.entry.js +0 -1
  1152. package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
  1153. package/dist/magma-components/p-4f24ccf3.entry.js +0 -1
  1154. package/dist/magma-components/p-51a869ee.entry.js +0 -1
  1155. package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
  1156. package/dist/magma-components/p-52d5d104.system.entry.js +0 -17
  1157. package/dist/magma-components/p-5439125d.system.entry.js +0 -10
  1158. package/dist/magma-components/p-5a2deba5.entry.js +0 -1
  1159. package/dist/magma-components/p-5cef4711.entry.js +0 -1
  1160. package/dist/magma-components/p-61f0ebf3.entry.js +0 -1
  1161. package/dist/magma-components/p-677ef2a3.system.entry.js +0 -55
  1162. package/dist/magma-components/p-6da68fd5.entry.js +0 -1
  1163. package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
  1164. package/dist/magma-components/p-7502528c.entry.js +0 -1
  1165. package/dist/magma-components/p-7a568cbf.entry.js +0 -1
  1166. package/dist/magma-components/p-7f776dff.entry.js +0 -1
  1167. package/dist/magma-components/p-811272a9.entry.js +0 -1
  1168. package/dist/magma-components/p-87b15008.entry.js +0 -1
  1169. package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
  1170. package/dist/magma-components/p-8c66c761.entry.js +0 -1
  1171. package/dist/magma-components/p-914d1b2a.system.entry.js +0 -111
  1172. package/dist/magma-components/p-91ed604f.entry.js +0 -1
  1173. package/dist/magma-components/p-938dbe67.system.entry.js +0 -27
  1174. package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
  1175. package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
  1176. package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
  1177. package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
  1178. package/dist/magma-components/p-QYez4sql.system.js +0 -5
  1179. package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
  1180. package/dist/magma-components/p-a51f849a.entry.js +0 -1
  1181. package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
  1182. package/dist/magma-components/p-a8593847.entry.js +0 -1
  1183. package/dist/magma-components/p-ac4109e3.entry.js +0 -1
  1184. package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
  1185. package/dist/magma-components/p-b48fc62e.entry.js +0 -1
  1186. package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
  1187. package/dist/magma-components/p-bdd18c90.system.entry.js +0 -25
  1188. package/dist/magma-components/p-c3622315.entry.js +0 -1
  1189. package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
  1190. package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
  1191. package/dist/magma-components/p-cfe080ab.system.entry.js +0 -54
  1192. package/dist/magma-components/p-d3678561.system.entry.js +0 -35
  1193. package/dist/magma-components/p-d9551916.system.entry.js +0 -222
  1194. package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
  1195. package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
  1196. package/dist/magma-components/p-e15a874b.entry.js +0 -1
  1197. package/dist/magma-components/p-e954b5c5.entry.js +0 -1
  1198. package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
  1199. package/dist/magma-components/p-f454c06b.entry.js +0 -1
  1200. package/dist/magma-components/p-f7f6881a.entry.js +0 -1
@@ -1 +1 @@
1
- import{p as a,H as t,h as s,c as r,t as e}from"./p-B2p5a1Y8.js";import{d as m}from"./p-DSxDXNWp.js";import{d as o}from"./p-BUr3NqxM.js";import{d as i}from"./p-cIZniMh0.js";import{d as c}from"./p-sM-eFjwq.js";import{d}from"./p-B6B6q5kP.js";import{d as n}from"./p-DezdwzYQ.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-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}
@@ -0,0 +1 @@
1
+ import{p as t,H as a,d as s,h as r,c as e,t as i}from"./p-TZJN-ygm.js";import{q as o}from"./p-DWIIDHSa.js";import{s as n,h as d}from"./p-Cvhn9asj.js";import{c as l}from"./p-ChV9xqsO.js";import{c as h}from"./p-CWk1SCJg.js";import{p as b}from"./p-CVRN4LDc.js";const m=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.changedEvent=s(this,"mdsTabChange",7),this.currentItemIndex=-1,this.tabItems=[],this.contentItems=[],this.sliderWidth=-1,this.sliderHeight=-1,this.sliderOffsetX=-1,this.sliderOffsetY=-1,this.sliderSlides=!1,this.overflowLeft=!1,this.overflowRight=!1,this.navigation=!1,this.hasContent=!1,this.direction="horizontal",this.animation="slide",this.queryContentItems=()=>o(this.element,"content"),this.updateContentItems=()=>{this.contentItems=this.queryContentItems(),this.hasContent=this.contentItems.length>0,this.contentItems.length>this.tabItems.length&&console.warn(`mds-tab: ${this.contentItems.length} content panels for ${this.tabItems.length} mds-tab-item, the panels past the last item are never shown`),this.contentItems.forEach(((t,a)=>{n(t,"role","tabpanel"),a<this.tabItems.length&&n(t,"aria-labelledby",this.tabItems[a].id)})),this.selectContentItem()},this.setTabsItems=()=>{this.tabItems=Array.from(this.element.querySelectorAll("mds-tab-item")),this.currentItemIndex=-1,this.navigation=this.tabItems.length>0&&this.tabItems.every((t=>{var a;return""!==(null!==(a=t.href)&&void 0!==a?a:"")})),this.tabItems.forEach((t=>{t.size=this.size,t.direction=this.direction,t.animation=this.animation})),this.tabItems.forEach(((t,a)=>{""===t.id&&n(t,"id",d("mds-tab-item")),t.selected&&(this.currentItemIndex=a,this.currentItemEl=this.tabItems[this.currentItemIndex])}))},this.updateTabItems=()=>{this.setTabsItems(),this.overflow&&this.updateOverflowState(),this.updateSliderPosition(),this.scrollTabs(this.currentItemIndex)},this.unsetOverflowCheck=()=>{this.tabs.removeEventListener("scroll",this.updateOverflowState),this.observer.unobserve(this.tabsContainer)},this.initOverflowCheck=()=>{this.tabs.addEventListener("scroll",this.updateOverflowState),this.observer=new ResizeObserver((()=>{this.overflow&&this.updateOverflowState(),this.updateSliderPosition()})),this.observer.observe(this.tabsContainer),this.updateOverflowState()},this.updateOverflowState=()=>{if(null==this.tabs||null==this.tabsContainer)return;const t=this.tabsContainer.offsetWidth,a=this.tabs.scrollWidth,{scrollLeft:s}=this.tabs;this.overflowLeft=s>0,this.overflowRight=Math.ceil(s+t)<a-1},this.updateSliderPosition=(t=!1)=>{"slide"===this.animation&&this.currentItemIndex>=0?self.requestAnimationFrame((()=>{this.currentItemEl.offsetWidth&&(this.sliderSlides=t,this.sliderWidth=this.currentItemEl.offsetWidth,this.sliderHeight=this.currentItemEl.offsetHeight,this.sliderOffsetX=this.currentItemEl.offsetLeft-this.tabsContainer.offsetLeft,this.sliderOffsetY=this.currentItemEl.offsetTop-this.tabsContainer.offsetTop+this.currentItemEl.offsetHeight-this.sliderHeight)})):(this.sliderHeight=-1,this.sliderOffsetX=-1,this.sliderOffsetY=-1,this.sliderWidth=-1)},this.scrollTabs=t=>{if(t<0||t>=this.tabItems.length)return;const a=this.tabItems[t];setTimeout((()=>{this.tabs.scrollLeft=a.offsetLeft-this.tabs.offsetLeft-this.tabs.offsetWidth/2+a.offsetWidth/2,this.updateOverflowState()}),h(this.cssSlideDelayDuration))},this.selectContentItem=()=>{this.contentItems.forEach(((t,a)=>{t.setAttribute("mds-tab-content-hidden",""),a===this.currentItemIndex&&t.removeAttribute("mds-tab-content-hidden")}))},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const t=window.getComputedStyle(this.element);this.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}componentWillLoad(){this.setTabsItems(),this.hasContent=this.queryContentItems().length>0}disconnectedCallback(){this.unsetOverflowCheck()}componentDidLoad(){var t,a,s,r;this.updateCSSCustomProps(),this.tabs=null===(t=this.element.shadowRoot)||void 0===t?void 0:t.querySelector(".tabs"),this.tabsContainer=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".tabs-wrapper"),null===(r=null===(s=this.element.shadowRoot)||void 0===s?void 0:s.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.updateTabItems.bind(this)),this.updateContentItems(),this.initOverflowCheck(),this.updateSliderPosition(),this.currentItemIndex>0&&this.scrollTabs(this.currentItemIndex)}changeEventHandler(t){this.tabItems.forEach(((a,s)=>{var r;if(a.id!==t.detail.target.id)a.selected=void 0;else{this.changedEvent.emit({id:s,value:a.value}),this.currentItemIndex=s,this.currentItemEl=this.tabItems[this.currentItemIndex],this.scrollTabs(s),a.selected=!0;const t=null===(r=this.tabItems[this.currentItemIndex].shadowRoot)||void 0===r?void 0:r.querySelector("mds-button");setTimeout((()=>{t.focus()}),0)}})),this.selectContentItem(),this.updateSliderPosition(!0)}focusEventHandler(t){this.tabItems.forEach(((a,s)=>{a.id===t.detail.target.id&&this.scrollTabs(s)}))}handleAnimationChange(t){this.tabItems.forEach((a=>{a.animation=t})),this.updateSliderPosition()}handleDirectionChange(t){this.tabItems.forEach((a=>{a.direction=t}))}handleScrollbarChange(t){!1===t&&(this.scrollbar=void 0)}handleFillChange(t){!1===t&&(this.fill=void 0)}handleOverflowChange(t){t?this.initOverflowCheck():this.unsetOverflowCheck()}handleSizeChange(t){this.tabItems.forEach((a=>{a.size=t}))}render(){return r(e,{key:"b9474219c7421526e30e8febc947b47b683357a4","pref-animation":b.state.animation,"pref-contrast":b.state.contrast,"pref-mode":b.state.mode,"pref-theme-scheme":b.state["theme-scheme"]},r("div",{key:"f9aa464b8914a2cb1ae6497fcb69d52739adb762",class:l("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&r("div",{key:"9a81df0034b32064c3d94b014796e9173f4992d5",class:l("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&r("div",{key:"5bfd4224e87cfc2e5e9e9b872ef1b42aa23e5747",class:l("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),r("div",{key:"5d538912fa1178d25c59e6343937f3210a84f706",class:"tabs",part:"tabs",role:this.navigation?void 0:"tablist"},r("slot",{key:"2c502d336726ce432d7b67c66753aa3ca3018ba8"}),"slide"===this.animation&&r("div",{key:"88ed37cafc1258c08f67f17413e1a9858443da39",class:l("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":`${this.sliderWidth}px`,"--mds-tab-slider-height":`${this.sliderHeight}px`,"--mds-tab-slider-offset-x":`${this.sliderOffsetX}px`,"--mds-tab-slider-offset-y":`${this.sliderOffsetY}px`}}))),r("div",{key:"678d1e8cf009f2a34b4909c932916d4c2be209b9",class:l("contents",!this.hasContent&&"contents--empty"),part:"contents"},r("slot",{key:"c366b4abf8f5675511e78253bc6f72d16faf462f",name:"content",onSlotchange:this.updateContentItems})))}get element(){return this}static get watchers(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-tab-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-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-tab-item-default-shadow:none;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-radius:min(calc(var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px))) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200))),var(--magma-corner-cap,.5) * var(--private-tab-item-height));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-tab-item-selected-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);--mds-tab-scroll-behavior:smooth;--mds-tab-scroll-scrollbar-margin:0;--mds-tab-scroll-scrollbar-radius:0;--mds-tab-scroll-scrollbar-size:calc(var(--spacing,.0025rem)*200);--mds-tab-scroll-scrollbar-thumb-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225)));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-overflow-shadow:0 0 var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem)*600)) calc(var(--spacing,.0025rem)*-50) #00000060;--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:min(var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)),var(--magma-corner-cap,.5) * var(--private-tab-item-height) + var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200)));--mds-tab-tabs-wrapper-margin:0;--mds-tab-tabs-wrapper-outline-opacity:.7;--mds-tab-tabs-wrapper-shadow-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:var(--duration-500,.5s);--private-tab-transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));--private-tab-item-height:calc(var(--spacing,.0025rem)*900);--mds-tab-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-tab-corner-shape:var(--magma-corner-shape,squircle);border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));corner-shape:var(--mds-tab-corner-shape,round);display:grid;gap:0 calc(var(--spacing,.0025rem)*600);grid-template-rows:min-content auto;position:relative}:host([size=sm]){--private-tab-item-height:calc(var(--spacing,.0025rem)*700)}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-shadow:none;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:none}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));box-sizing:border-box;display:flex;gap:var(--mds-tab-tabs-gap,calc(var(--spacing,.0025rem)*200));overflow:auto;padding:var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem)*200));scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;transition-duration:var(--private-tab-transition-duration);transition-property:background-color;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:0}.tabs,.tabs-wrapper{border-radius:inherit;corner-shape:inherit;position:relative}.tabs-wrapper{display:grid;flex-shrink:0;margin:var(--mds-tab-tabs-wrapper-margin,0);max-width:max-content;overflow:hidden}.tabs-wrapper--fill{max-width:100%}.tabs-wrapper:after{border-radius:inherit;corner-shape:inherit;border-radius:var(--mds-tab-tabs-radius,var(--magma-radius-2xl,var(--radius-squircle-2xl,40px)));box-shadow:var(--mds-tab-tabs-wrapper-shadow);content:"";inset:0;opacity:var(--mds-tab-tabs-wrapper-outline-opacity,.7);pointer-events:none;position:absolute;transition-duration:var(--private-tab-transition-duration);transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:box-shadow,opacity;transition-timing-function:var(--mds-tab-transition-timing-function);z-index:1}.contents{--mds-tab-contents-height:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:none;align-items:stretch;box-sizing:border-box;display:flex;flex-grow:1;gap:calc(var(--spacing,.0025rem)*600);height:var(--mds-tab-contents-height);overflow:auto hidden;position:relative;scroll-behavior:var(--mds-tab-scroll-behavior);scroll-snap-type:x mandatory;scrollbar-width:none;transition-duration:var(--private-tab-transition-duration);transition-property:height;transition-timing-function:var(--mds-tab-transition-timing-function)}.contents::-webkit-scrollbar{display:none}.contents--empty{display:none}::slotted([slot=content]){flex-basis:0;flex-grow:1;min-width:100%;scroll-snap-align:start;width:100%}::slotted([slot=content][mds-tab-content-hidden]){display:none!important}.slider{--mds-tab-slider-offset-x:0;--mds-tab-slider-offset-y:0;--mds-tab-slider-width:0;--mds-tab-slider-height:0;background-color:var(--mds-tab-item-selected-background);border-radius:var(--mds-tab-item-radius);box-shadow:var(--mds-tab-item-selected-shadow);corner-shape:var(--mds-tab-corner-shape);height:var(--mds-tab-slider-height);inset:0 auto auto 0;pointer-events:none;position:absolute;transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transition-duration:var(--mds-tab-transition-duration,var(--duration-500,.5s));transition-property:background-color,box-shadow,transform,width;transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}.slider--still{transition-property:background-color,box-shadow}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){--mds-tab-tabs-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));grid-template-columns:var(--mds-tab-direction-vertical-columns,auto auto);grid-template-rows:1fr}:host([direction=vertical]) .tabs{align-self:start;flex-direction:column}:host([direction=vertical]) .tabs-wrapper{align-self:start;max-width:none}:host([direction=vertical][fill]) :is(.tabs,.tabs-wrapper){align-self:auto}:host([direction=vertical]) .tabs-wrapper--no-content{grid-column:1/-1}:host([direction=vertical])::slotted(mds-tab-item){width:100%}:host(:not([scrollbar])) .tabs{-webkit-overflow-scrolling:touch;-ms-overflow-style:none;scrollbar-width:none}:host(:not([scrollbar])) .tabs::-webkit-scrollbar{display:none}:host([scrollbar]) .tabs::-webkit-scrollbar{height:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200));width:var(--mds-tab-scroll-scrollbar-size,calc(var(--spacing,.0025rem)*200))}:host([scrollbar]) .tabs::-webkit-scrollbar-track{background-color:var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));border-radius:var(--mds-tab-scroll-scrollbar-radius,0);margin-block:var(--mds-tab-scroll-scrollbar-margin,0);margin-inline:var(--mds-tab-scroll-scrollbar-margin,0)}:host([scrollbar]) .tabs::-webkit-scrollbar-thumb{background-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3));border-radius:var(--mds-tab-scroll-scrollbar-radius,0)}@supports (scrollbar-color:transparent transparent){.tabs{scrollbar-color:var(--mds-tab-scroll-scrollbar-thumb-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--tone-neutral-09,225 225 225))));scrollbar-width:thin}}.tabs-wrapper-overflow-left,.tabs-wrapper-overflow-right{--size:calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2);--offset-outside:calc(var(--size) + var(--mds-tab-tabs-overflow-shadow-size,calc(var(--spacing,.0025rem) * 600)));background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));border-radius:100%;box-shadow:var(--mds-tab-tabs-overflow-shadow);content:"";display:inline-flex;height:auto;pointer-events:none;position:absolute;transition-duration:var(--duration-500,.5s);transition-property:transform;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));width:var(--size);z-index:2}.tabs-wrapper-overflow-left{inset:0 auto 0 0;transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;transform:translateX(var(--offset-outside))}.tabs-wrapper-overflow-left--show{transform:translate(-100%)}.tabs-wrapper-overflow-right--show{transform:translate(100%)}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}: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-tab-transition-duration:0s}@media (prefers-reduced-motion:reduce){:host{--mds-tab-scroll-behavior:auto}:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-item-selected-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--border-neutral-strong,140 140 140)));--mds-tab-tabs-wrapper-outline-opacity:.3}}'}},[257,"mds-tab",{direction:[1537],scrollbar:[1540],animation:[513],fill:[1540],overflow:[1540],size:[1537],sliderWidth:[32],sliderHeight:[32],sliderOffsetX:[32],sliderOffsetY:[32],sliderSlides:[32],overflowLeft:[32],overflowRight:[32],navigation:[32],hasContent:[32]},[[0,"mdsTabItemSelect","changeEventHandler"],[0,"mdsTabItemFocus","focusEventHandler"]],{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}]);function c(){"undefined"!=typeof customElements&&["mds-tab"].forEach((t=>{"mds-tab"===t&&(customElements.get(i(t))||customElements.define(i(t),m))}))}export{m as M,c as d}
@@ -1 +1 @@
1
- import{p as a,H as r,h as t,c as o,t as n,B as e}from"./p-B2p5a1Y8.js";import{c as i}from"./p-ChV9xqsO.js";import{p as s}from"./p-BlnEiKN4.js";import{d as l}from"./p-BUr3NqxM.js";import{d as c}from"./p-cIZniMh0.js";import{d as v}from"./p-sM-eFjwq.js";import{d}from"./p-B6B6q5kP.js";import{d as m}from"./p-DezdwzYQ.js";function u(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var b,g={exports:{}},h=(b||(b=1,g.exports=function(a){if(a){var r=function(a){return[].slice.call(a)},t=3,o=[],n=null,e="requestAnimationFrame"in a?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(n);var t=function(){return s(o.filter((function(a){return a.dirty&&a.active})))};if(r.sync)return t();n=a.requestAnimationFrame(t)}:function(){},i=function(a){return function(r){o.forEach((function(r){return r.dirty=a})),e(r)}},s=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=d(a)})),a.filter(m).forEach(u);var r=a.filter(v);r.forEach(c),r.forEach((function(a){u(a),l(a)})),r.forEach(b)},l=function(a){return a.dirty=0},c=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},v=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},d=function(r){var t=a.getComputedStyle(r.element,null);return r.currentFontSize=parseFloat(t.getPropertyValue("font-size")),r.display=t.getPropertyValue("display"),r.whiteSpace=t.getPropertyValue("white-space"),!0},m=function(a){var r=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(r=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(r=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,r)},u=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},b=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},g=function(a,r){return function(t){a.dirty=r,a.active&&e(t)}},h=function(a){return function(){o=o.filter((function(r){return r.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},f=function(a){return function(){a.active||(a.active=!0,e())}},p=function(a){return function(){return a.active=!1}},w=function(a){a.observeMutations&&(a.observer=new MutationObserver(g(a,1)),a.observer.observe(a.element,a.observeMutations))},k={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},y=null,x=function(){a.clearTimeout(y),y=a.setTimeout(i(2),M.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(M,"observeWindow",{set:function(r){var t="".concat(r?"add":"remove","EventListener");z.forEach((function(r){a[t](r,x)}))}}),M.observeWindow=!0,M.observeWindowDelay=100,M.fitAll=i(t),M}function j(a,r){var n=Object.assign({},k,r),i=a.map((function(a){var r=Object.assign({},n,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},w(a),a.newbie=!0,a.dirty=!0,o.push(a)}(r),{element:a,fit:g(r,t),unfreeze:f(r),freeze:p(r),unsubscribe:h(r)}}));return e(),i}function M(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?j(r(document.querySelectorAll(a)),t):j([a],t)[0]}}("undefined"==typeof window?null:window)),g.exports),f=u(h);const p=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.imageFailed=!1,this.loaded=!0,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=a=>{this.fitElement=a,this.fittyElements=f(a,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element)},this.removeFontResize=()=>{var a,r;this.fitElement&&(this.fitElement=void 0,null===(a=this.fittyElements)||void 0===a||a.unsubscribe(),null===(r=this.observer)||void 0===r||r.disconnect())},this.syncFontResize=()=>{var a,r;if(!e.isBrowser)return;const t=null!==(r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit"))&&void 0!==r?r:void 0;t!==this.fitElement&&(this.removeFontResize(),t&&this.addFontResize(t))},this.handleImgLoadError=()=>{this.loaded=!0,this.imageFailed=!0},this.handleImgLoadSuccess=()=>{this.loaded=!0},this.hasCount=()=>{var a;const r=null!==(a=this.count)&&void 0!==a?a:0;return 0!==r&&!Number.isNaN(r)},this.hasSrc=()=>{var a;return""!==(null!==(a=this.src)&&void 0!==a?a:"")},this.content=()=>{var a,r;return this.hasCount()?"count":this.hasSrc()&&!this.imageFailed?"image":""!==(null!==(a=this.initials)&&void 0!==a?a:"")?"initials":""!==(null!==(r=this.icon)&&void 0!==r?r:"")?"icon":"fallback"},this.checkInitialsVariant=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";if(""!==r){let a=r.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a);const t=(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%17;this.variant=this.variants[t%this.variants.length]}}}componentWillLoad(){this.checkInitialsVariant(),this.loaded=!this.hasSrc()}componentDidRender(){this.syncFontResize()}initialsHandler(){this.checkInitialsVariant()}countHandler(){this.checkInitialsVariant()}srcHandler(){this.imageFailed=!1,this.loaded=!this.hasSrc()}render(){var a,r;const n=this.content();return t(o,{key:"4463d6bac699d6c74c90427f35aa8bfb0877552b","pref-animation":s.state.animation,"pref-contrast":s.state.contrast},t("div",{key:"6949df259f15fd126ac40d80017cc116773d82b3",class:i("avatar",`avatar--${n}`,"image"!==n||this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},"count"===n&&t("div",{key:"3cd16c145857931a8bdfd008a859e256ee411c4d",class:"initials-text"},t("span",{key:"6c6078b9effbc62a3ebaf0646dc322e09030cb7a",class:"fit"},"+",this.count)),"image"===n&&t("mds-img",{key:"c09fc248707b48adb8d60f4f296307a622d9e6dd",class:"image",loading:"lazy",onMdsImgLoadError:this.handleImgLoadError,onMdsImgLoadSuccess:this.handleImgLoadSuccess,part:"media",src:this.src}),"initials"===n&&t("div",{key:"579f0418eb03f7625ae4940171cffb5ff316b09c",class:"initials-text"},t("span",{key:"0fcdec1586c8cd7c650cb84d6d3293c7f0e725b9",class:"fit"},null===(a=this.initials)||void 0===a?void 0:a.substring(0,2))),"icon"===n&&t("mds-icon",{key:"aabed527d77428466750b5a98a8bf57189e132f9",class:"icon",part:"icon",name:null!==(r=this.icon)&&void 0!==r?r:""}),"fallback"===n&&t("i",{key:"f1f06caf13adb478ddee2620a847a76a74f61b0b",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return this}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler: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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-background-color-pending:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-avatar-background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-avatar-radius:var(--magma-radius-full,var(--radius-full,1000px));--mds-avatar-initials-padding:20%;--mds-avatar-transition-duration:var(--duration-200,.2s);--private-avatar-transition-duration:var(--mds-avatar-transition-duration);aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--magma-radius-full,var(--radius-full,1000px)));container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--magma-radius-full,var(--radius-full,1000px)));color:#0000;corner-shape:inherit;display:inline-flex;overflow:hidden;transition-duration:var(--private-avatar-transition-duration);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.avatar--loaded{animation:none}.avatar--count,.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));box-shadow:none}.avatar--count,.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--count,.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--magma-radius-full,var(--radius-full,1000px)));corner-shape:inherit}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));height:100%;transition-duration:var(--private-avatar-transition-duration);transition-property:fill;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));width:100%}@container (max-width:24px){.avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}.initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-avatar-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,230 66 66));--mds-avatar-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,250 215 215));--mds-avatar-color:rgb(var(--label-red-05,230 66 66))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-avatar-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-avatar-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-avatar-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-avatar-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,145 100 246));--mds-avatar-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,229 218 253));--mds-avatar-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,168 86 247));--mds-avatar-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,235 216 253));--mds-avatar-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,90 117 249));--mds-avatar-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,216 222 254));--mds-avatar-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,12 136 193));--mds-avatar-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,185 231 251));--mds-avatar-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-avatar-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-avatar-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,26 148 71));--mds-avatar-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,165 240 193));--mds-avatar-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,93 143 15));--mds-avatar-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,189 239 111));--mds-avatar-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-avatar-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-avatar-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,213 90 5));--mds-avatar-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,253 217 191));--mds-avatar-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-avatar-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-avatar-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-avatar-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-avatar-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-avatar-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-avatar-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-avatar-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-avatar-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 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-avatar-transition-duration:0s}:host([pref-contrast=more]) :is(.avatar--count,.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-font-weight{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-avatar-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.avatar--count,.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'}},[1,"mds-avatar",{icon:[513],initials:[1537],count:[1538],src:[513],tone:[513],variant:[1537],imageFailed:[32],loaded:[32]},void 0,{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar":customElements.get(n(a))||customElements.define(n(a),p);break;case"mds-button":customElements.get(n(a))||l();break;case"mds-icon":customElements.get(n(a))||c();break;case"mds-img":customElements.get(n(a))||v();break;case"mds-spinner":customElements.get(n(a))||d();break;case"mds-text":customElements.get(n(a))||m()}}))}export{p as M,w as d,u as g}
1
+ import{p as a,H as r,h as t,c as o,t as n,B as e}from"./p-TZJN-ygm.js";import{c as i}from"./p-ChV9xqsO.js";import{p as s}from"./p-CVRN4LDc.js";import{d as l}from"./p-ClPv-Ljc.js";import{d as c}from"./p-Cmn1DJAB.js";import{d as v}from"./p-CaROqeeK.js";import{d}from"./p-ZuubAcA3.js";import{d as m}from"./p-CNF3u0Li.js";function u(a){return a&&a.__esModule&&Object.prototype.hasOwnProperty.call(a,"default")?a.default:a}var b,g={exports:{}},h=(b||(b=1,g.exports=function(a){if(a){var r=function(a){return[].slice.call(a)},t=3,o=[],n=null,e="requestAnimationFrame"in a?function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sync:!1};a.cancelAnimationFrame(n);var t=function(){return s(o.filter((function(a){return a.dirty&&a.active})))};if(r.sync)return t();n=a.requestAnimationFrame(t)}:function(){},i=function(a){return function(r){o.forEach((function(r){return r.dirty=a})),e(r)}},s=function(a){a.filter((function(a){return!a.styleComputed})).forEach((function(a){a.styleComputed=d(a)})),a.filter(m).forEach(u);var r=a.filter(v);r.forEach(c),r.forEach((function(a){u(a),l(a)})),r.forEach(b)},l=function(a){return a.dirty=0},c=function(a){a.availableWidth=a.element.parentNode.clientWidth,a.currentWidth=a.element.scrollWidth,a.previousFontSize=a.currentFontSize,a.currentFontSize=Math.min(Math.max(a.minSize,a.availableWidth/a.currentWidth*a.previousFontSize),a.maxSize),a.whiteSpace=a.multiLine&&a.currentFontSize===a.minSize?"normal":"nowrap"},v=function(a){return 2!==a.dirty||2===a.dirty&&a.element.parentNode.clientWidth!==a.availableWidth},d=function(r){var t=a.getComputedStyle(r.element,null);return r.currentFontSize=parseFloat(t.getPropertyValue("font-size")),r.display=t.getPropertyValue("display"),r.whiteSpace=t.getPropertyValue("white-space"),!0},m=function(a){var r=!1;return!a.preStyleTestCompleted&&(/inline-/.test(a.display)||(r=!0,a.display="inline-block"),"nowrap"!==a.whiteSpace&&(r=!0,a.whiteSpace="nowrap"),a.preStyleTestCompleted=!0,r)},u=function(a){a.element.style.whiteSpace=a.whiteSpace,a.element.style.display=a.display,a.element.style.fontSize=a.currentFontSize+"px"},b=function(a){a.element.dispatchEvent(new CustomEvent("fit",{detail:{oldValue:a.previousFontSize,newValue:a.currentFontSize,scaleFactor:a.currentFontSize/a.previousFontSize}}))},g=function(a,r){return function(t){a.dirty=r,a.active&&e(t)}},h=function(a){return function(){o=o.filter((function(r){return r.element!==a.element})),a.observeMutations&&a.observer.disconnect(),a.element.style.whiteSpace=a.originalStyle.whiteSpace,a.element.style.display=a.originalStyle.display,a.element.style.fontSize=a.originalStyle.fontSize}},f=function(a){return function(){a.active||(a.active=!0,e())}},p=function(a){return function(){return a.active=!1}},w=function(a){a.observeMutations&&(a.observer=new MutationObserver(g(a,1)),a.observer.observe(a.element,a.observeMutations))},k={minSize:16,maxSize:512,multiLine:!0,observeMutations:"MutationObserver"in a&&{subtree:!0,childList:!0,characterData:!0}},y=null,x=function(){a.clearTimeout(y),y=a.setTimeout(i(2),q.observeWindowDelay)},z=["resize","orientationchange"];return Object.defineProperty(q,"observeWindow",{set:function(r){var t="".concat(r?"add":"remove","EventListener");z.forEach((function(r){a[t](r,x)}))}}),q.observeWindow=!0,q.observeWindowDelay=100,q.fitAll=i(t),q}function j(a,r){var n=Object.assign({},k,r),i=a.map((function(a){var r=Object.assign({},n,{element:a,active:!0});return function(a){a.originalStyle={whiteSpace:a.element.style.whiteSpace,display:a.element.style.display,fontSize:a.element.style.fontSize},w(a),a.newbie=!0,a.dirty=!0,o.push(a)}(r),{element:a,fit:g(r,t),unfreeze:f(r),freeze:p(r),unsubscribe:h(r)}}));return e(),i}function q(a){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof a?j(r(document.querySelectorAll(a)),t):j([a],t)[0]}}("undefined"==typeof window?null:window)),g.exports),f=u(h);const p=a(class extends r{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.imageFailed=!1,this.loaded=!0,this.variants=["amaranth","aqua","blue","error","green","info","lime","orange","orchid","primary","sky","success","violet","warning","yellow"],this.addFontResize=a=>{this.fitElement=a,this.fittyElements=f(a,{minSize:10}),this.observer=new ResizeObserver((a=>{a.forEach((()=>{this.fittyElements.fit()}))})),this.observer.observe(this.element)},this.removeFontResize=()=>{var a,r;this.fitElement&&(this.fitElement=void 0,null===(a=this.fittyElements)||void 0===a||a.unsubscribe(),null===(r=this.observer)||void 0===r||r.disconnect())},this.syncFontResize=()=>{var a,r;if(!e.isBrowser)return;const t=null!==(r=null===(a=this.element.shadowRoot)||void 0===a?void 0:a.querySelector(".fit"))&&void 0!==r?r:void 0;t!==this.fitElement&&(this.removeFontResize(),t&&this.addFontResize(t))},this.handleImgLoadError=()=>{this.loaded=!0,this.imageFailed=!0},this.handleImgLoadSuccess=()=>{this.loaded=!0},this.hasCount=()=>{var a;const r=null!==(a=this.count)&&void 0!==a?a:0;return 0!==r&&!Number.isNaN(r)},this.hasSrc=()=>{var a;return""!==(null!==(a=this.src)&&void 0!==a?a:"")},this.content=()=>{var a,r;return this.hasCount()?"count":this.hasSrc()&&!this.imageFailed?"image":""!==(null!==(a=this.initials)&&void 0!==a?a:"")?"initials":""!==(null!==(r=this.icon)&&void 0!==r?r:"")?"icon":"fallback"},this.checkInitialsVariant=()=>{var a;const r=null!==(a=this.initials)&&void 0!==a?a:"";if(""!==r){let a=r.toLowerCase().replace(/[^a-zA-Z0-9]+/g,"").substring(0,2);1===a.length&&(a+=a);const t=(a.substring(0,1).charCodeAt(0)+a.substring(1,2).charCodeAt(0))%17;this.variant=this.variants[t%this.variants.length]}}}componentWillLoad(){this.checkInitialsVariant(),this.loaded=!this.hasSrc()}componentDidRender(){this.syncFontResize()}initialsHandler(){this.checkInitialsVariant()}countHandler(){this.checkInitialsVariant()}srcHandler(){this.imageFailed=!1,this.loaded=!this.hasSrc()}render(){var a,r;const n=this.content();return t(o,{key:"4463d6bac699d6c74c90427f35aa8bfb0877552b","pref-animation":s.state.animation,"pref-contrast":s.state.contrast},t("div",{key:"6949df259f15fd126ac40d80017cc116773d82b3",class:i("avatar",`avatar--${n}`,"image"!==n||this.loaded?"avatar--loaded":"avatar--pending"),part:"wrapper"},"count"===n&&t("div",{key:"3cd16c145857931a8bdfd008a859e256ee411c4d",class:"initials-text"},t("span",{key:"6c6078b9effbc62a3ebaf0646dc322e09030cb7a",class:"fit"},"+",this.count)),"image"===n&&t("mds-img",{key:"c09fc248707b48adb8d60f4f296307a622d9e6dd",class:"image",loading:"lazy",onMdsImgLoadError:this.handleImgLoadError,onMdsImgLoadSuccess:this.handleImgLoadSuccess,part:"media",src:this.src}),"initials"===n&&t("div",{key:"579f0418eb03f7625ae4940171cffb5ff316b09c",class:"initials-text"},t("span",{key:"0fcdec1586c8cd7c650cb84d6d3293c7f0e725b9",class:"fit"},null===(a=this.initials)||void 0===a?void 0:a.substring(0,2))),"icon"===n&&t("mds-icon",{key:"aabed527d77428466750b5a98a8bf57189e132f9",class:"icon",part:"icon",name:null!==(r=this.icon)&&void 0!==r?r:""}),"fallback"===n&&t("i",{key:"f1f06caf13adb478ddee2620a847a76a74f61b0b",class:"fallback-icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4s-4 1.79-4 4s1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'})))}get element(){return this}static get watchers(){return{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler: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-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-img):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-background-color-pending:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-avatar-background-color:rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)));--mds-avatar-radius:var(--magma-radius-full,var(--radius-full,1000px));--mds-avatar-initials-padding:20%;--mds-avatar-transition-duration:var(--duration-200,.2s);--private-avatar-transition-duration:var(--mds-avatar-transition-duration);aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--magma-radius-full,var(--radius-full,1000px)));container:mds-avatar/inline-size;display:inline-flex;overflow:hidden;width:calc(var(--spacing,.0025rem)*1200)}.avatar{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--magma-radius-full,var(--radius-full,1000px)));color:#0000;corner-shape:inherit;display:inline-flex;overflow:hidden;transition-duration:var(--private-avatar-transition-duration);transition-property:color,background-color,box-shadow,fill;width:100%}.avatar--pending{background-color:var(--mds-avatar-background-color-pending,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))))}.avatar--loaded{animation:none}.avatar--count,.avatar--fallback,.avatar--icon,.avatar--initials{background-color:var(--mds-avatar-background-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));box-shadow:none}.avatar--count,.avatar--fallback,.avatar--initials{display:flex;place-items:stretch stretch}.avatar--count,.avatar--fallback,.avatar--icon{padding:20%}.avatar--initials{padding:30% var(--mds-avatar-initials-padding,20%) 25%}.image{aspect-ratio:1;border-radius:var(--mds-avatar-radius,var(--magma-radius-full,var(--radius-full,1000px)));corner-shape:inherit}.fallback-icon{aspect-ratio:1;display:flex;fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));width:100%}.fallback-icon svg{aspect-ratio:var(--aspect-square,1/1);height:100%;width:100%}.initials-text{font-family:var(--font-title,Roboto,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);--tw-font-weight:var(--font-weight-bold,700);align-items:center;color:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));display:flex;font-weight:var(--font-weight-bold,700);height:100%;justify-content:center;text-transform:uppercase;-webkit-user-select:none;user-select:none;width:100%}.fit{display:inline-block;white-space:nowrap!important}.icon{fill:var(--mds-avatar-color,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));height:100%;transition-duration:var(--private-avatar-transition-duration);transition-property:fill;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));width:100%}@container (max-width:24px){.avatar--initials{padding:0 var(--mds-avatar-initials-padding,20%)}.initials-text{--tw-font-weight:var(--font-weight-black,900);font-weight:var(--font-weight-black,900)}}:host,:host([variant=primary]){--mds-avatar-background-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-avatar-color:rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240)))}:is(:host,:host([variant=primary])):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231)));--mds-avatar-color:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)))}:host([variant=red]){--mds-avatar-background-color:rgb(var(--label-red-05,230 66 66));--mds-avatar-color:rgb(var(--label-red-10,252 233 233))}:host([variant=red]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-red-09,250 215 215));--mds-avatar-color:rgb(var(--label-red-05,230 66 66))}:host([variant=amaranth]){--mds-avatar-background-color:rgb(var(--label-amaranth-05,242 37 72));--mds-avatar-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=amaranth]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-amaranth-09,253 214 221));--mds-avatar-color:rgb(var(--label-amaranth-05,242 37 72))}:host([variant=orchid]){--mds-avatar-background-color:rgb(var(--label-orchid-05,233 44 137));--mds-avatar-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=orchid]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orchid-09,251 213 232));--mds-avatar-color:rgb(var(--label-orchid-05,233 44 137))}:host([variant=violet]){--mds-avatar-background-color:rgb(var(--label-violet-05,145 100 246));--mds-avatar-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=violet]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-violet-09,229 218 253));--mds-avatar-color:rgb(var(--label-violet-05,145 100 246))}:host([variant=purple]){--mds-avatar-background-color:rgb(var(--label-purple-05,168 86 247));--mds-avatar-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=purple]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-purple-09,235 216 253));--mds-avatar-color:rgb(var(--label-purple-05,168 86 247))}:host([variant=blue]){--mds-avatar-background-color:rgb(var(--label-blue-05,90 117 249));--mds-avatar-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=blue]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-blue-09,216 222 254));--mds-avatar-color:rgb(var(--label-blue-05,90 117 249))}:host([variant=sky]){--mds-avatar-background-color:rgb(var(--label-sky-05,12 136 193));--mds-avatar-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=sky]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-sky-09,185 231 251));--mds-avatar-color:rgb(var(--label-sky-05,12 136 193))}:host([variant=aqua]){--mds-avatar-background-color:rgb(var(--label-aqua-05,5 141 165));--mds-avatar-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=aqua]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-aqua-09,151 237 252));--mds-avatar-color:rgb(var(--label-aqua-05,5 141 165))}:host([variant=green]){--mds-avatar-background-color:rgb(var(--label-green-05,26 148 71));--mds-avatar-color:rgb(var(--label-green-10,206 247 221))}:host([variant=green]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-green-09,165 240 193));--mds-avatar-color:rgb(var(--label-green-05,26 148 71))}:host([variant=lime]){--mds-avatar-background-color:rgb(var(--label-lime-05,93 143 15));--mds-avatar-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=lime]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-lime-09,189 239 111));--mds-avatar-color:rgb(var(--label-lime-05,93 143 15))}:host([variant=yellow]){--mds-avatar-background-color:rgb(var(--label-yellow-05,161 124 6));--mds-avatar-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=yellow]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-yellow-09,251 221 131));--mds-avatar-color:rgb(var(--label-yellow-05,161 124 6))}:host([variant=orange]){--mds-avatar-background-color:rgb(var(--label-orange-05,213 90 5));--mds-avatar-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orange]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--label-orange-09,253 217 191));--mds-avatar-color:rgb(var(--label-orange-05,213 90 5))}:host([variant=error]){--mds-avatar-background-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-avatar-color:rgb(var(--magma-danger-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-avatar-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-avatar-background-color:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-avatar-color:rgb(var(--magma-warning-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=warning]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-avatar-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=info]){--mds-avatar-background-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-avatar-color:rgb(var(--magma-info-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=info]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-avatar-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=success]){--mds-avatar-background-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-avatar-color:rgb(var(--magma-success-on-emphasis,var(--tone-neutral-seed,255 255 255)))}:host([variant=success]):host([tone=weak]){--mds-avatar-background-color:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-avatar-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 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-avatar-transition-duration:0s}:host([pref-contrast=more]) :is(.avatar--count,.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-font-weight{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-avatar-transition-duration:0s}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) :is(.avatar--count,.avatar--fallback,.avatar--icon,.avatar--initials){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)),var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a)}}'}},[1,"mds-avatar",{icon:[513],initials:[1537],count:[1538],src:[513],tone:[513],variant:[1537],imageFailed:[32],loaded:[32]},void 0,{initials:[{initialsHandler:0}],count:[{countHandler:0}],src:[{srcHandler:0}]}]);function w(){"undefined"!=typeof customElements&&["mds-avatar","mds-button","mds-icon","mds-img","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-avatar":customElements.get(n(a))||customElements.define(n(a),p);break;case"mds-button":customElements.get(n(a))||l();break;case"mds-icon":customElements.get(n(a))||c();break;case"mds-img":customElements.get(n(a))||v();break;case"mds-spinner":customElements.get(n(a))||d();break;case"mds-text":customElements.get(n(a))||m()}}))}export{p as M,w as d,u as g}
@@ -1 +1 @@
1
- import{p as t,H as i,h as a,c as o,t as n}from"./p-B2p5a1Y8.js";import{p as e}from"./p-BlnEiKN4.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 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 +1 @@
1
- import{p as t,H as e,d as s,h as a,c as o,t as i}from"./p-B2p5a1Y8.js";import{p as r}from"./p-BlnEiKN4.js";import{c as d}from"./p-ChV9xqsO.js";import{d as n}from"./p-BUr3NqxM.js";import{d as m}from"./p-cIZniMh0.js";import{d as c}from"./p-B6B6q5kP.js";import{d as h}from"./p-DezdwzYQ.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:"cb3a7e892230ac67077ccd09a09fecbace72eb79","pref-contrast":r.state.contrast,"pref-mode":r.state.mode,"pref-theme-scheme":r.state["theme-scheme"]},a("mds-button",{key:"453e7166703965d64de05e1a9900eb9f235bd9e5",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-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}
@@ -0,0 +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";
2
+ /**
3
+ * filesize
4
+ *
5
+ * @copyright 2024 Jason Mulligan <jason.mulligan@avoidwork.com>
6
+ * @license BSD-3-Clause
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}
@@ -0,0 +1 @@
1
+ import{p as t,H as a,d as r,h as e,c as o,t as s}from"./p-TZJN-ygm.js";import{K as d}from"./p-CGrPq3C4.js";import{c as i}from"./p-CWk1SCJg.js";import{B as n,F as h}from"./p-jasGzfhE.js";import{p as m}from"./p-CVRN4LDc.js";const l=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.visibleEvent=r(this,"mdsDropdownVisible",7),this.hiddenEvent=r(this,"mdsDropdownHide",7),this.changedEvent=r(this,"mdsDropdownChange",7),this.km=new d,this.backdropController=new n,this.hideArrow=!1,this.arrowPadding=24,this.disableAutoPlacement=!1,this.backdrop=!1,this.flip=!1,this.interaction="click",this.offset=24,this.placement="bottom",this.disableShift=!1,this.shiftPadding=24,this.disableSmooth=!1,this.strategy="absolute",this.visible=!1,this.onClickTarget=t=>{t.stopPropagation();const a=this.visible;document.body.click(),this.visible=!a,this.visible&&this.isMenu&&0===t.detail&&this.focusEntry(0)},this.onMouseOverTarget=()=>{this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!0}),i(this.cssMouseOverDelayDuration))},this.onMouseOutTarget=()=>{clearTimeout(this.mouseoverTimer),this.mouseoverTimer=setTimeout((()=>{clearTimeout(this.mouseoverTimer),this.visible=!1}),i(this.cssMouseOverDelayDuration))},this.markEntries=()=>{this.isMenu&&this.entries().forEach((t=>{const a=t.getAttribute("role");null!==a&&"button"!==a||t.setAttribute("role","menuitem"),t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1")}))},this.entries=()=>{var t,a;const r=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector("slot");return this.slottedEntries(null!==(a=null==r?void 0:r.assignedElements())&&void 0!==a?a:[])},this.slottedEntries=t=>t.flatMap((t=>"SLOT"===t.tagName?this.slottedEntries(t.assignedElements()):[t])),this.focusEntry=(t,a=3)=>{const r=this.entries();if(0===r.length||!this.visible)return;const e=r[(t+r.length)%r.length];0===e.offsetWidth&&a>0?requestAnimationFrame((()=>this.focusEntry(t,a-1))):e.focus()},this.onCallerKeydown=t=>{!this.isMenu||"ArrowDown"!==t.key&&"ArrowUp"!==t.key||(t.preventDefault(),this.visible=!0,this.focusEntry("ArrowUp"===t.key?-1:0))},this.onPanelKeydown=t=>{var a;if(!this.isMenu||!this.visible)return;const r=this.entries();if(0===r.length)return;const e=r.findIndex((t=>t.contains(document.activeElement))),o=-1===e?null:e;switch(t.key){case"ArrowDown":t.preventDefault(),this.focusEntry(null===o?0:o+1);break;case"ArrowUp":t.preventDefault(),this.focusEntry(null===o?-1:o-1);break;case"Home":t.preventDefault(),this.focusEntry(0);break;case"End":t.preventDefault(),this.focusEntry(-1);break;case"Tab":this.visible=!1,null===(a=this.caller)||void 0===a||a.focus()}},this.closeFromKeyboard=()=>{var t;if(!this.visible)return;const a=this.host.contains(document.activeElement);this.visible=!1,a&&(null===(t=this.caller)||void 0===t||t.focus())},this.attachBackdrop=()=>{var t,a;const r=window.getComputedStyle(this.host);this.backdropController.attachBackdrop({duration:null===(t=r.getPropertyValue("--private-dropdown-backdrop-duration"))||void 0===t?void 0:t.trim(),zIndex:null===(a=r.getPropertyValue("--mds-dropdown-backdrop-z-index"))||void 0===a?void 0:a.trim()})},this.updateCSSCustomProps=()=>{if("undefined"==typeof window)return;const t=window.getComputedStyle(this.host);this.cssMouseOverDelayDuration=t.getPropertyValue("--mds-dropdown-mouseover-delay")},this.handleCloseDropdown=t=>{if("mouseleave"===t.type)return this.host.removeEventListener("mouseleave",this.handleCloseDropdown),this.caller.removeEventListener("mouseleave",this.handleCloseDropdown),void(this.visible=!1);this.host.contains(t.target)||t.target===this.caller||(this.visible=!1,document.removeEventListener("click",this.handleCloseDropdown))},this.setInteractionBehaviour=()=>{"none"!==this.interaction&&("click"===this.interaction&&(this.caller.addEventListener("click",this.onClickTarget),this.caller.addEventListener("keydown",this.onCallerKeydown)),"mouseover"===this.interaction&&(this.caller.addEventListener("mouseover",this.onMouseOverTarget),this.caller.addEventListener("mouseout",this.onMouseOutTarget),this.host.addEventListener("mouseover",this.handleCloseDropdownMouseLeave)))},this.unsetInteractionBehaviour=t=>{t.removeEventListener("click",this.onClickTarget),t.removeEventListener("keydown",this.onCallerKeydown),t.removeEventListener("mouseover",this.onMouseOverTarget),t.removeEventListener("mouseout",this.onMouseOutTarget)},this.handleCloseDropdownMouseLeave=()=>{clearTimeout(this.mouseoverTimer),this.host.removeEventListener("mouseover",this.handleCloseDropdownMouseLeave),this.host.addEventListener("mouseleave",this.handleCloseDropdown)}}hideArrowChanged(){this.floatingController.updatePosition()}arrowPaddingChanged(){this.floatingController.updatePosition()}disableAutoPlacementChanged(){this.floatingController.updatePosition()}backdropChanged(t){!1===t&&(this.backdrop=void 0),this.visible&&(t?this.attachBackdrop():this.backdropController.detachBackdrop())}flipChanged(){this.floatingController.updatePosition()}offsetChanged(){this.floatingController.updatePosition()}placementChanged(){this.floatingController.updatePosition()}disableShiftChanged(){this.floatingController.updatePosition()}shiftPaddingChanged(){this.floatingController.updatePosition()}strategyChanged(){this.floatingController.updatePosition()}targetChanged(){var t;if(""===(null!==(t=this.target)&&void 0!==t?t:"")||null==this.floatingController)return;const a=this.floatingController.updateCaller(this.target);a&&(this.caller&&this.caller!==a&&this.unsetInteractionBehaviour(this.caller),this.caller=a,this.markEntries(),this.setInteractionBehaviour(),this.km.addElement(this.host),this.km.attachEscapeBehavior(this.closeFromKeyboard))}visibleChanged(t){if(this.changedEvent.emit({caller:this.caller,visible:t}),this.floatingController.syncExpanded(t),t)return document.addEventListener("click",this.handleCloseDropdown),this.floatingController.updatePosition(),this.backdrop&&this.attachBackdrop(),void this.visibleEvent.emit({caller:this.caller,visible:!0});this.floatingController.dismiss(),this.backdrop&&this.backdropController.detachBackdrop(),this.hiddenEvent.emit({caller:this.caller,visible:!1})}get isMenu(){return"menu"===this.host.getAttribute("role")}componentDidLoad(){var t,a,r;const e=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".arrow");this.floatingController=new h(this.host,e),this.updateCSSCustomProps(),this.targetChanged(),null===(r=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector("slot"))||void 0===r||r.addEventListener("slotchange",this.markEntries),this.host.addEventListener("slotchange",this.markEntries),this.host.addEventListener("keydown",this.onPanelKeydown),this.visible&&this.visibleChanged(!0)}disconnectedCallback(){this.floatingController.dismiss(),this.backdropController.detachBackdrop(),this.km.detachEscapeBehavior()}render(){return e(o,{key:"3abe65235e61e07eb3a0664c20fb341739dcf352",style:{zIndex:`${this.zIndex}`},"pref-animation":m.state.animation,"pref-contrast":m.state.contrast,"pref-mode":m.state.mode,"pref-theme-scheme":m.state["theme-scheme"]},e("div",{key:"87e8822bec5fda29f80b28affd87ebe1d934b948",class:"arrow",innerHTML:'<svg width="30" height="16" viewBox="0 0 30 16" xmlns="http://www.w3.org/2000/svg">\n <path d="M10.2 2.4C12.6 -0.800001 17.4 -0.800001 19.8 2.4L30 16H0L10.2 2.4Z"/>\n</svg>\n'}),e("slot",{key:"8c305d9981dc320401b194ba388f073018e55409"}))}get host(){return this}static get watchers(){return{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;: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}:host{--mds-dropdown-arrow-background:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-dropdown-backdrop-duration:var(--magma-backdrop-animation-duration,.3s);--private-dropdown-backdrop-duration:var(--mds-dropdown-backdrop-duration,var(--magma-backdrop-animation-duration,.3s));--mds-dropdown-backdrop-z-index:var(--magma-backdrop-z-index,4000);--mds-dropdown-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-dropdown-drop-shadow-color-rgb:var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5));--private-dropdown-shadow-strength:1;--mds-dropdown-drop-shadow:drop-shadow(0 calc(var(--spacing,.0025rem)*250) calc(var(--spacing,.0025rem)*200) rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)))/calc(var(--private-dropdown-shadow-strength)*0.05))) drop-shadow(0 calc(var(--spacing,.0025rem)*100) calc(var(--spacing,.0025rem)*75) rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)))/calc(var(--private-dropdown-shadow-strength)*0.15))) drop-shadow(0 0 1px rgb(var(--mds-dropdown-drop-shadow-color-rgb,var(--magma-shadow-ink,var(--tone-neutral-01,5 5 5)))/calc(var(--private-dropdown-shadow-strength)*0.15)));--mds-dropdown-duration:var(--duration-500,.5s);--private-dropdown-duration:var(--mds-dropdown-duration,var(--duration-500,.5s));--mds-dropdown-ease:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));--mds-dropdown-mouseover-delay:var(--duration-500,.5s);--mds-dropdown-transform-from:scale(.9) translateY(-3%);--mds-dropdown-transform-to:scale(1) translate(0,0);--mds-dropdown-z-index:var(--magma-dropdown-z-index,5000);background-color:var(--mds-dropdown-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));border-radius:var(--magma-radius-md,var(--radius-squircle-md,20px));box-sizing:border-box;corner-shape:var(--magma-corner-shape,squircle);display:none;filter:var(--mds-dropdown-drop-shadow);gap:calc(var(--spacing,.0025rem)*400);opacity:0;padding:calc(var(--spacing,.0025rem)*600);pointer-events:none;position:fixed;transform:var(--mds-dropdown-transform-from,scale(.9) translateY(-3%));transition-behavior:allow-discrete;transition-duration:var(--private-dropdown-duration);transition-property:opacity,transform,display;transition-timing-function:var(--mds-dropdown-ease);z-index:var(--mds-dropdown-z-index,var(--magma-dropdown-z-index,5000))}:host([visible]:not([visible=false])){display:grid;opacity:1;pointer-events:auto;transform:var(--mds-dropdown-transform-to,scale(1) translate(0,0))}@starting-style{:host([visible]:not([visible=false])){opacity:0;transform:scale(0)}}:host([data-floating-placed]:not([disable-smooth])),:host([data-floating-placed][disable-smooth=false]){transition-property:bottom,left,display,opacity,right,top,transform}.arrow{display:flex;fill:var(--mds-dropdown-arrow-background,rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255))));pointer-events:none;position:fixed;top:calc(var(--spacing,.0025rem)*-400)}::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-dropdown-duration:0s;--private-dropdown-backdrop-duration:0s}:host([pref-mode=dark]),:host([pref-theme-scheme=dark]){--private-dropdown-shadow-strength:3}:host([pref-theme-scheme=light]){--private-dropdown-shadow-strength:1}:host([pref-contrast=more]){--mds-dropdown-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=more][pref-mode=dark]){--mds-dropdown-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-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-dropdown-duration:0s;--private-dropdown-backdrop-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]){--private-dropdown-shadow-strength:3}:host([pref-contrast=more][pref-mode=system]){--mds-dropdown-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))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-dropdown-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]){--mds-dropdown-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))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-dropdown-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))}}"}},[257,"mds-dropdown",{hideArrow:[516,"hide-arrow"],arrowPadding:[2,"arrow-padding"],disableAutoPlacement:[4,"disable-auto-placement"],backdrop:[516],flip:[4],interaction:[513],target:[1],offset:[2],placement:[1],disableShift:[4,"disable-shift"],shiftPadding:[2,"shift-padding"],disableSmooth:[4,"disable-smooth"],strategy:[1],visible:[1540],zIndex:[2,"z-index"]},void 0,{hideArrow:[{hideArrowChanged:0}],arrowPadding:[{arrowPaddingChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],backdrop:[{backdropChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],target:[{targetChanged:0}],visible:[{visibleChanged:0}]}]);function p(){"undefined"!=typeof customElements&&["mds-dropdown"].forEach((t=>{"mds-dropdown"===t&&(customElements.get(s(t))||customElements.define(s(t),l))}))}export{l as M,p as d}
@@ -0,0 +1 @@
1
+ const e=Symbol.for("@maggioli-design-system/magma:navigationHandler"),n=new class{get handler(){if("undefined"!=typeof globalThis)return globalThis[e]}set handler(n){"undefined"!=typeof globalThis&&(globalThis[e]=n)}setHandler(e){return this.handler=e,()=>{this.handler===e&&(this.handler=void 0)}}getHandler(){return this.handler}canHandle(e,n){return void 0!==this.handler&&(e=>!(0!==e.button||e.ctrlKey||e.metaKey||e.shiftKey||e.altKey))(n)&&(e=>{if("undefined"==typeof window)return!1;try{return new URL(e,document.baseURI).origin===window.location.origin}catch(e){return!1}})(e)}handle(e,n){const t=this.handler;return void 0!==t&&!1!==t(e,n)}};export{n as N}
@@ -1 +1 @@
1
- import{p as a,H as t,h as i,c as e,t as r}from"./p-B2p5a1Y8.js";import{K as o}from"./p-CGrPq3C4.js";import{p as n}from"./p-BlnEiKN4.js";import{d as s}from"./p-cIZniMh0.js";import{d}from"./p-DezdwzYQ.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:"27536fa0dfdc6f379dae3399ca420e565002e386","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-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 +1 @@
1
- import{p as e,H as r,h as a,c as n,t}from"./p-B2p5a1Y8.js";import{d as l}from"./p-BUr3NqxM.js";import{d as o}from"./p-cIZniMh0.js";import{d as c}from"./p-B6B6q5kP.js";import{d}from"./p-DezdwzYQ.js";const i=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.month="current",this.orientation="horizontal",this.preview=!1,this.disabled=void 0,this.today=void 0}render(){return a(n,{key:"21da5d99d0748ca3904e882198c257f5a8d90227"},a("div",{key:"ddb54e7f37beda15bd28254f7fa3c01d857e6e64",class:"inner-dot"}),a("div",{key:"32087d935d2905d8ce6b78b372109c53fbb25c5f",class:"area-background"}),a("mds-button",{key:"518d648a07f7af617e703c61fa8d9c6265760df2",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))}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{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"}},[1,"mds-calendar-cell",{month:[513],label:[513],date:[513],orientation:[513],preview:[516],selection:[513],disabled:[516],today:[516]}]);function s(){"undefined"!=typeof customElements&&["mds-calendar-cell","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-calendar-cell":customElements.get(t(e))||customElements.define(t(e),i);break;case"mds-button":customElements.get(t(e))||l();break;case"mds-icon":customElements.get(t(e))||o();break;case"mds-spinner":customElements.get(t(e))||c();break;case"mds-text":customElements.get(t(e))||d()}}))}export{i as M,s as d}
1
+ import{p as e,H as r,h as a,c as n,t}from"./p-TZJN-ygm.js";import{d as l}from"./p-ClPv-Ljc.js";import{d as o}from"./p-Cmn1DJAB.js";import{d as c}from"./p-ZuubAcA3.js";import{d}from"./p-CNF3u0Li.js";const i=e(class extends r{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.month="current",this.orientation="horizontal",this.preview=!1,this.disabled=void 0,this.today=void 0}render(){return a(n,{key:"21da5d99d0748ca3904e882198c257f5a8d90227"},a("div",{key:"ddb54e7f37beda15bd28254f7fa3c01d857e6e64",class:"inner-dot"}),a("div",{key:"32087d935d2905d8ce6b78b372109c53fbb25c5f",class:"area-background"}),a("mds-button",{key:"518d648a07f7af617e703c61fa8d9c6265760df2",class:"action",variant:"dark",tone:"text",disabled:this.disabled,label:this.label}))}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{--private-calendar-cell-background:var(--mds-calendar-cell-background,#0000);--private-calendar-cell-boundaries-padding:var(--mds-calendar-cell-boundaries-padding,calc(var(--spacing,.0025rem)*100));--private-calendar-cell-color:var(--mds-calendar-cell-color,var(--mds-calendar-day-number-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))));--private-calendar-cell-other-month-background:var(--mds-calendar-cell-other-month-background,#0000);--private-calendar-cell-other-month-color:var(--mds-calendar-cell-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-disabled-background:var(--mds-calendar-cell-disabled-background,#0000);--private-calendar-cell-disabled-color:var(--mds-calendar-cell-disabled-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-weekend-background:var(--mds-calendar-cell-weekend-background,#0000);--private-calendar-cell-weekend-color:var(--mds-calendar-cell-weekend-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-boundaries-border-radius:var(--mds-calendar-cell-selection-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-selection-week-boundaries-border-radius:var(--mds-calendar-cell-selection-week-boundaries-border-radius,var(--magma-radius-full,var(--radius-full,1000px)));--private-calendar-cell-preselection-today-background:var(--mds-calendar-cell-preselection-today-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-today-color:var(--mds-calendar-cell-preselection-today-color,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));--private-calendar-cell-preselection-current-month-background:var(--mds-calendar-cell-preselection-current-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-preselection-current-month-color:var(--mds-calendar-cell-preselection-current-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-color:var(--mds-calendar-cell-preselection-current-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-current-month-boundaries-background:var(--mds-calendar-cell-preselection-current-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-preselection-other-month-background:var(--mds-calendar-cell-preselection-other-month-background,rgb(var(--magma-accent-surface,var(--variant-primary-09,220 224 231))));--private-calendar-cell-preselection-other-month-color:var(--mds-calendar-cell-preselection-other-month-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-color:var(--mds-calendar-cell-preselection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));--private-calendar-cell-preselection-other-month-boundaries-background:var(--mds-calendar-cell-preselection-other-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-background:var(--mds-calendar-cell-selection-current-month-background,rgb(var(--magma-accent-emphasis,var(--variant-primary-04,36 103 231))));--private-calendar-cell-selection-current-month-color:var(--mds-calendar-cell-selection-current-month-color,rgb(var(--magma-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--private-calendar-cell-selection-current-month-boundaries-background:var(--mds-calendar-cell-selection-current-month-boundaries-background,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--private-calendar-cell-selection-current-month-boundaries-color:var(--mds-calendar-cell-selection-current-month-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-current-month-weekend-background:var(--mds-calendar-cell-selection-current-month-weekend-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-color:var(--mds-calendar-cell-selection-current-month-weekend-color,rgb(var(--magma-accent-border,var(--variant-primary-06,148 172 218))));--private-calendar-cell-selection-current-month-weekend-boundaries-background:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-background,rgb(var(--magma-accent-emphasis-hover,var(--variant-primary-03,7 76 204))));--private-calendar-cell-selection-current-month-weekend-boundaries-color:var(--mds-calendar-cell-selection-current-month-weekend-boundaries-color,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--private-calendar-cell-selection-other-month-background:var(--mds-calendar-cell-selection-other-month-background,rgb(var(--magma-accent-surface-hover,var(--variant-primary-08,204 212 226))));--private-calendar-cell-selection-other-month-color:var(--mds-calendar-cell-selection-other-month-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));--private-calendar-cell-selection-other-month-boundaries-background:var(--mds-calendar-cell-selection-other-month-boundaries-background,rgb(var(--magma-accent-surface-subtle,var(--variant-primary-10,236 237 240))));--private-calendar-cell-selection-other-month-boundaries-color:var(--mds-calendar-cell-selection-other-month-boundaries-color,rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119))));align-items:center;aspect-ratio:1;display:flex;justify-content:center;padding:var(--private-calendar-cell-boundaries-padding);position:relative}:host([month=other]){visibility:var(--mds-calendar-cell-other-month-visibility,hidden)}.inner-dot{aspect-ratio:1;background-color:var(--private-calendar-cell-inner-background);border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);display:flex;min-height:0;min-width:0;width:100%;z-index:1}.area-background{background-color:var(--private-calendar-cell-background);inset:0;position:absolute;z-index:0}.action,.area-background{color:var(--private-calendar-cell-color)}.action{align-items:center;background-color:#0000;border-radius:0;display:flex;inset:calc(var(--mds-calendar-cell-gap)*-1);justify-content:center;min-height:0;min-width:0;padding:0;place-self:stretch stretch;position:absolute;width:auto;z-index:2}:host([selection]:not(:where([selection=none]))[orientation=horizontal]) .area-background{margin-left:calc(var(--mds-calendar-cell-gap)*-1);margin-right:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=horizontal]) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0}:host([selection=end][orientation=horizontal]) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-right:0}:host([selection]:not(:where([selection=none]))[orientation=vertical]) .area-background{margin-bottom:calc(var(--mds-calendar-cell-gap)*-1);margin-top:calc(var(--mds-calendar-cell-gap)*-1)}:host([selection=start][orientation=vertical]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius) 0 0;margin-top:0}:host([selection=end][orientation=vertical]) .area-background{border-radius:0 0 var(--private-calendar-cell-selection-boundaries-border-radius) var(--private-calendar-cell-selection-boundaries-border-radius);margin-bottom:0}:host([orientation=vertical]:not([selection=start],[selection=end])) .area-background{border-radius:0}:host(:nth-child(7n-6)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n-6)) .area-background{border-bottom-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-left-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host(:nth-child(7n)) .area-background,:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-week-boundaries-border-radius)}:host([selection=end][orientation=horizontal]:nth-child(7n)) .area-background{border-bottom-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius);border-top-right-radius:var(--private-calendar-cell-selection-boundaries-border-radius)}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n-6)) .area-background{margin-left:0}:host([selection]:not(:where([selection=none]))[orientation=horizontal]:nth-child(7n)) .area-background{margin-right:0}:host([selection=single][orientation=horizontal]) .area-background{border-radius:var(--private-calendar-cell-selection-boundaries-border-radius);margin-left:0;margin-right:0}:host(:nth-child(7n)),:host(:nth-child(7n-1)){--private-calendar-cell-color:var(--private-calendar-cell-weekend-color);--private-calendar-cell-background:var(--private-calendar-cell-weekend-background)}:host([month=other]:not([selection]:not(:where([selection=none])))){--private-calendar-cell-color:var(--private-calendar-cell-other-month-color);--private-calendar-cell-background:var(--private-calendar-cell-other-month-background)}:host([disabled]){--private-calendar-cell-color:var(--private-calendar-cell-disabled-color);--private-calendar-cell-background:var(--private-calendar-cell-disabled-background);cursor:auto;pointer-events:none}:host(:not([selection]:not(:where([selection=none])))[today]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-today-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-today-color)}:host([selection]:not(:where([selection=none]))[month=current]){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n)),:host([selection]:not(:where([selection=none]))[month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-color)}:host([selection=end][month=current]:nth-child(7n)),:host([selection=end][month=current]:nth-child(7n-1)),:host([selection=start][month=current]:nth-child(7n)),:host([selection=start][month=current]:nth-child(7n-1)){--private-calendar-cell-background:var(--private-calendar-cell-selection-current-month-weekend-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-weekend-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=other]){--private-calendar-cell-background:var(--private-calendar-cell-selection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-color)}:host([selection=end][month=current]),:host([selection=start][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-current-month-boundaries-color)}:host([selection=end][month=other]),:host([selection=start][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-selection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-selection-other-month-boundaries-color)}:host([selection]:not(:where([selection=none]))[month=current][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-current-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-color)}:host([selection]:not(:where([selection=none]))[month=other][preview]:not([preview=false])){--private-calendar-cell-background:var(--private-calendar-cell-preselection-other-month-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-color)}:host([selection=end][month=current][preview]:not([preview=false])),:host([selection=start][month=current][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=end][month=other][preview]:not([preview=false])),:host([selection=start][month=other][preview]:not([preview=false])){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}:host([selection=single][month=current]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-current-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-current-month-boundaries-color)}:host([selection=single][month=other]){--private-calendar-cell-inner-background:var(--private-calendar-cell-preselection-other-month-boundaries-background);--private-calendar-cell-color:var(--private-calendar-cell-preselection-other-month-boundaries-color)}"}},[1,"mds-calendar-cell",{month:[513],label:[513],date:[513],orientation:[513],preview:[516],selection:[513],disabled:[516],today:[516]}]);function s(){"undefined"!=typeof customElements&&["mds-calendar-cell","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-calendar-cell":customElements.get(t(e))||customElements.define(t(e),i);break;case"mds-button":customElements.get(t(e))||l();break;case"mds-icon":customElements.get(t(e))||o();break;case"mds-spinner":customElements.get(t(e))||c();break;case"mds-text":customElements.get(t(e))||d()}}))}export{i as M,s as d}
@@ -1 +1 @@
1
- import{p as t,H as e,d as a,h as r,c as o,t as s}from"./p-B2p5a1Y8.js";import{K as i}from"./p-CGrPq3C4.js";import{p as n}from"./p-BlnEiKN4.js";import{a as l,i as d,d as m}from"./p-cIZniMh0.js";import{u as c}from"./p-Cvhn9asj.js";import{L as u}from"./p-B9dgiq4u.js";import{d as h}from"./p-DezdwzYQ.js";var f={result:"{{count}} αποτέλεσμα",results:"{{count}} αποτελέσματα"},p={result:"{{count}} result",results:"{{count}} results"},g={result:"{{count}} resultado",results:"{{count}} resultados"},v={result:"{{count}} risultato",results:"{{count}} risultati"};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=a(this,"mdsFilterItemSelect",7),this.km=new i,this.t=new u({el:f,en:p,es:g,it:v}),this.isFilter=()=>null!==this.element.closest("mds-filter"),this.toggle=()=>{!this.disabled&&this.isFilter()&&(this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected}))},this.computeName=()=>{var t,e,a;const r=null!==(t=this.icon)&&void 0!==t?t:"",o=""===r||l(r)||d(r)?void 0:c(r),s=""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:o,i=null!==(a=this.count)&&void 0!==a?a:"";return void 0===s||""===i?s:`${s}, ${this.t.get(1===Number(i)?"result":"results",{count:i})}`},this.resolveName=()=>{const t=this.computeName(),e=this.element.getAttribute("aria-label");return null!==e&&e!==this.appliedName&&e!==t?e:(this.appliedName=t,t)}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(o,{key:"f1ef6941608007f52eb235b1b502bdb4787d278d",tabindex:this.disabled?"-1":"0",role:"button","aria-disabled":this.disabled?"true":void 0,"aria-label":this.resolveName(),"aria-pressed":this.isFilter()?this.selected?"true":"false":void 0,onClick:this.toggle,"pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},this.icon&&r("mds-icon",{key:"b5248c91a21cc6f9c403482d43cd4568a2046dde","aria-hidden":"true",name:this.icon}),this.label&&r("mds-text",{key:"6e1830e5365641b7d7817c1207ae7ab7cd61db62","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&r("div",{key:"fb7d7cafdfe2b917f8ec52917e0a42bca2374526",class:"count"},r("mds-text",{key:"947694558d5ae21a4d44bb2e1c65adc8ba695f35","aria-hidden":"true",variant:"info",typography:"option"},this.count)))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),: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-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;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));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;transition-duration:var(--private-filter-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,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));pointer-events:none}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))}:host(:hover){box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))))}: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-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@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-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"}},[1,"mds-filter-item",{selected:[1540],label:[513],icon:[513],value:[513],count:[513],disabled:[516]}]);function x(){"undefined"!=typeof customElements&&["mds-filter-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-filter-item":customElements.get(s(t))||customElements.define(s(t),b);break;case"mds-icon":customElements.get(s(t))||m();break;case"mds-text":customElements.get(s(t))||h()}}))}export{b as M,x as d}
1
+ import{p as t,H as e,d as a,h as r,c as o,t as s}from"./p-TZJN-ygm.js";import{K as i}from"./p-CGrPq3C4.js";import{p as n}from"./p-CVRN4LDc.js";import{a as l,i as d,d as m}from"./p-Cmn1DJAB.js";import{u as c}from"./p-Cvhn9asj.js";import{L as u}from"./p-CZjwSwe5.js";import{d as h}from"./p-CNF3u0Li.js";var f={result:"{{count}} αποτέλεσμα",results:"{{count}} αποτελέσματα"},p={result:"{{count}} result",results:"{{count}} results"},g={result:"{{count}} resultado",results:"{{count}} resultados"},v={result:"{{count}} risultato",results:"{{count}} risultati"};const b=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.selectedEvent=a(this,"mdsFilterItemSelect",7),this.km=new i,this.t=new u({el:f,en:p,es:g,it:v}),this.isFilter=()=>null!==this.element.closest("mds-filter"),this.toggle=()=>{!this.disabled&&this.isFilter()&&(this.selected=!this.selected,this.selectedEvent.emit({id:this.element.id,selected:this.selected}))},this.computeName=()=>{var t,e,a;const r=null!==(t=this.icon)&&void 0!==t?t:"",o=""===r||l(r)||d(r)?void 0:c(r),s=""!==(null!==(e=this.label)&&void 0!==e?e:"")?this.label:o,i=null!==(a=this.count)&&void 0!==a?a:"";return void 0===s||""===i?s:`${s}, ${this.t.get(1===Number(i)?"result":"results",{count:i})}`},this.resolveName=()=>{const t=this.computeName(),e=this.element.getAttribute("aria-label");return null!==e&&e!==this.appliedName&&e!==t?e:(this.appliedName=t,t)}}componentDidLoad(){this.km.addElement(this.element),this.km.attachClickBehavior("element",{space:!0})}disconnectedCallback(){this.km.detachClickBehavior()}render(){return r(o,{key:"f1ef6941608007f52eb235b1b502bdb4787d278d",tabindex:this.disabled?"-1":"0",role:"button","aria-disabled":this.disabled?"true":void 0,"aria-label":this.resolveName(),"aria-pressed":this.isFilter()?this.selected?"true":"false":void 0,onClick:this.toggle,"pref-animation":n.state.animation,"pref-contrast":n.state.contrast,"pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},this.icon&&r("mds-icon",{key:"b5248c91a21cc6f9c403482d43cd4568a2046dde","aria-hidden":"true",name:this.icon}),this.label&&r("mds-text",{key:"6e1830e5365641b7d7817c1207ae7ab7cd61db62","aria-hidden":"true",variant:"info",typography:"caption"},this.label),this.count&&r("div",{key:"fb7d7cafdfe2b917f8ec52917e0a42bca2374526",class:"count"},r("mds-text",{key:"947694558d5ae21a4d44bb2e1c65adc8ba695f35","aria-hidden":"true",variant:"info",typography:"option"},this.count)))}get element(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@keyframes focus-bounce{0%,75%,to{outline-offset:var(--magma-outline-focus-offset,2px)}50%{outline-offset:var(--magma-outline-blur-offset,6px)}}:host(:not(:is([hydrated],.hydrated))),: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-filter-item-transition-duration:var(--duration-200,.2s);--private-filter-item-transition-duration:var(--mds-filter-item-transition-duration);--mds-filter-item-count-background-default:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-filter-item-count-color-default:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-filter-item-count-background-selected:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-filter-item-count-color-selected:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));align-items:center;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));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));cursor:pointer;display:flex;fill:currentColor;gap:calc(var(--spacing,.0025rem)*100);justify-content:center;outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));padding:calc(var(--spacing,.0025rem)*200) calc(var(--spacing,.0025rem)*400);transition-duration:.2s;transition-duration:var(--private-filter-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,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none;white-space:nowrap}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}mds-text{white-space:nowrap}.count{align-items:center;background-color:var(--mds-filter-item-count-background-default,rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208))));border-radius:var(--magma-radius-full,var(--radius-full,1000px));box-sizing:border-box;color:var(--mds-filter-item-count-color-default,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));display:inline-flex;flex-shrink:0;height:calc(var(--spacing,.0025rem)*400);justify-content:center;min-width:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*150);padding-right:calc(var(--spacing,.0025rem)*150);transition-duration:var(--duration-200,.2s);transition-property:background-color,color;transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));-webkit-user-select:none;user-select:none}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([disabled]:not([disabled=false])){color:rgb(var(--magma-text-disabled,var(--text-neutral-disabled,119 119 119)));pointer-events:none}:host([icon]:not([label])){height:calc(var(--spacing,.0025rem)*900);padding:0;width:calc(var(--spacing,.0025rem)*900)}:host(:hover),:host([selected]:not([selected=false])){background-color:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)))}:host(:hover){box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a)}:host([selected]:not([selected=false])){color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}:host([selected]:not([selected=false])) .count{background-color:var(--mds-filter-item-count-background-selected,rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73))));color:var(--mds-filter-item-count-color-selected,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))))}: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-filter-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]):host(:hover),:host([pref-contrast=more]):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}@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-filter-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){background-color:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([selected]:not([selected=false])){background-color:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host(:hover){box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host(:hover),:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))):host([selected]:not([selected=false])){box-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))}}"}},[1,"mds-filter-item",{selected:[1540],label:[513],icon:[513],value:[513],count:[513],disabled:[516]}]);function x(){"undefined"!=typeof customElements&&["mds-filter-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-filter-item":customElements.get(s(t))||customElements.define(s(t),b);break;case"mds-icon":customElements.get(s(t))||m();break;case"mds-text":customElements.get(s(t))||h()}}))}export{b as M,x as d}