@maggioli-design-system/magma 2.4.1 → 2.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1186) hide show
  1. package/AGENTS.md +1 -1
  2. package/CHANGELOG.md +23 -0
  3. package/agents/assets.md +10 -0
  4. package/agents/components.md +2 -1
  5. package/agents/conventions.md +5 -0
  6. package/dist/cjs/{floating-controller-BiwDIKXd.js → floating-controller-DaFymQCT.js} +1 -1
  7. package/dist/cjs/{index-B_qgSpWL.js → index-BQNHYWJg.js} +5 -1
  8. package/dist/cjs/{index-B5DKRaVO.js → index-CWTZb9W2.js} +1 -1
  9. package/dist/cjs/index.cjs.js +3 -63
  10. package/dist/cjs/loader.cjs.js +2 -2
  11. package/dist/cjs/{locale-D9XY8LN9.js → locale-Os4wg65H.js} +1 -1
  12. package/dist/cjs/magma-components.cjs.js +2 -2
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +3 -3
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +2 -2
  16. package/dist/cjs/mds-accordion.cjs.entry.js +3 -3
  17. package/dist/cjs/mds-author.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +1 -1
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-avatar.cjs.entry.js +2 -2
  21. package/dist/cjs/mds-badge.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +6 -6
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +2 -2
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-button_3.cjs.entry.js +8 -7
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +4 -4
  31. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  35. package/dist/cjs/mds-card.cjs.entry.js +3 -3
  36. package/dist/cjs/mds-details.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +4 -4
  38. package/dist/cjs/mds-emoji.cjs.entry.js +3 -3
  39. package/dist/cjs/mds-entity.cjs.entry.js +4 -4
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +4 -4
  41. package/dist/cjs/mds-file.cjs.entry.js +3 -3
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +3 -3
  43. package/dist/cjs/mds-filter.cjs.entry.js +4 -4
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +4 -4
  45. package/dist/cjs/mds-header.cjs.entry.js +3 -3
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +4 -4
  47. package/dist/cjs/mds-hr.cjs.entry.js +2 -2
  48. package/dist/cjs/mds-img.cjs.entry.js +3 -3
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +4 -4
  51. package/dist/cjs/mds-input-date.cjs.entry.js +5 -5
  52. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +3 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +2 -2
  55. package/dist/cjs/mds-input-select.cjs.entry.js +5 -5
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +7 -7
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +4 -4
  59. package/dist/cjs/mds-input.cjs.entry.js +5 -5
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +4 -4
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +4 -4
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +3 -3
  65. package/dist/cjs/mds-link.cjs.entry.js +147 -0
  66. package/dist/cjs/mds-list-item.cjs.entry.js +3 -3
  67. package/dist/cjs/mds-list.cjs.entry.js +2 -2
  68. package/dist/cjs/mds-mention.cjs.entry.js +4 -4
  69. package/dist/cjs/mds-modal.cjs.entry.js +7 -7
  70. package/dist/cjs/mds-note.cjs.entry.js +5 -5
  71. package/dist/cjs/mds-notification.cjs.entry.js +4 -4
  72. package/dist/cjs/mds-paginator-item.cjs.entry.js +3 -3
  73. package/dist/cjs/mds-paginator.cjs.entry.js +5 -5
  74. package/dist/cjs/mds-policy-ai.cjs.entry.js +4 -4
  75. package/dist/cjs/mds-pref-animation.cjs.entry.js +4 -4
  76. package/dist/cjs/mds-pref-consumption.cjs.entry.js +4 -4
  77. package/dist/cjs/mds-pref-contrast.cjs.entry.js +4 -4
  78. package/dist/cjs/mds-pref-language-item.cjs.entry.js +4 -4
  79. package/dist/cjs/mds-pref-language.cjs.entry.js +4 -4
  80. package/dist/cjs/mds-pref-mode.cjs.entry.js +5 -5
  81. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +2 -2
  82. package/dist/cjs/mds-pref-theme.cjs.entry.js +4 -4
  83. package/dist/cjs/mds-pref.cjs.entry.js +4 -4
  84. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +3 -3
  85. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +3 -3
  86. package/dist/cjs/mds-price-table-features.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  88. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-price-table-list.cjs.entry.js +3 -3
  90. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  91. package/dist/cjs/mds-progress_2.cjs.entry.js +5 -5
  92. package/dist/cjs/mds-push-notification-item.cjs.entry.js +6 -6
  93. package/dist/cjs/mds-push-notification.cjs.entry.js +5 -5
  94. package/dist/cjs/mds-quote.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  96. package/dist/cjs/mds-radial-menu.cjs.entry.js +6 -6
  97. package/dist/cjs/mds-separator.cjs.entry.js +3 -3
  98. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -4
  99. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +5 -5
  100. package/dist/cjs/mds-stepper-bar.cjs.entry.js +2 -2
  101. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +4 -4
  102. package/dist/cjs/mds-tab-bar.cjs.entry.js +3 -3
  103. package/dist/cjs/mds-tab_2.cjs.entry.js +6 -6
  104. package/dist/cjs/mds-table-body.cjs.entry.js +3 -3
  105. package/dist/cjs/mds-table-footer.cjs.entry.js +3 -3
  106. package/dist/cjs/mds-table-header-cell.cjs.entry.js +3 -3
  107. package/dist/cjs/mds-table-header.cjs.entry.js +4 -4
  108. package/dist/cjs/mds-table-row.cjs.entry.js +6 -6
  109. package/dist/cjs/mds-table.cjs.entry.js +5 -5
  110. package/dist/cjs/mds-text.cjs.entry.js +3 -3
  111. package/dist/cjs/mds-toast-region.cjs.entry.js +2 -2
  112. package/dist/cjs/mds-toast.cjs.entry.js +5 -5
  113. package/dist/cjs/mds-tooltip.cjs.entry.js +5 -5
  114. package/dist/cjs/mds-tree-item.cjs.entry.js +5 -5
  115. package/dist/cjs/mds-tree.cjs.entry.js +3 -3
  116. package/dist/cjs/mds-url-view.cjs.entry.js +4 -4
  117. package/dist/cjs/mds-usage.cjs.entry.js +4 -4
  118. package/dist/cjs/mds-video-wall.cjs.entry.js +3 -3
  119. package/dist/cjs/mds-zero.cjs.entry.js +4 -4
  120. package/dist/cjs/navigation-5yeOyO6F.js +64 -0
  121. package/dist/cjs/{preference-C8BcoA3M.js → preference-CQQ3eb9W.js} +1 -1
  122. package/dist/collection/collection-manifest.json +1 -0
  123. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  125. package/dist/collection/components/mds-accordion/mds-accordion.css +2 -2
  126. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  127. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  128. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +9 -9
  129. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  130. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  131. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +1 -1
  132. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  133. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  134. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +2 -2
  135. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  136. package/dist/collection/components/mds-author/documentation.json +1 -1
  137. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  139. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  140. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  141. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  142. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  143. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-badge/documentation.json +1 -1
  145. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  146. package/dist/collection/components/mds-banner/documentation.json +1 -1
  147. package/dist/collection/components/mds-banner/mds-banner.css +3 -3
  148. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  149. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  150. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  151. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  152. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  154. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  155. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  156. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +1 -1
  157. package/dist/collection/components/mds-button/AGENTS.md +1 -1
  158. package/dist/collection/components/mds-button/antipattern.md +16 -0
  159. package/dist/collection/components/mds-button/documentation.json +2 -2
  160. package/dist/collection/components/mds-button/mds-button.css +4 -2
  161. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  163. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  164. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  165. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  166. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  167. package/dist/collection/components/mds-calendar/mds-calendar.css +8 -8
  168. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  169. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  170. package/dist/collection/components/mds-card/AGENTS.md +2 -1
  171. package/dist/collection/components/mds-card/documentation.json +2 -2
  172. package/dist/collection/components/mds-card/mds-card.css +9 -5
  173. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  174. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  175. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  176. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  177. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  178. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  179. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  181. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  182. package/dist/collection/components/mds-chip/documentation.json +1 -1
  183. package/dist/collection/components/mds-chip/mds-chip.css +1 -1
  184. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  185. package/dist/collection/components/mds-details/documentation.json +1 -1
  186. package/dist/collection/components/mds-details/mds-details.css +2 -2
  187. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  188. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  189. package/dist/collection/components/mds-dropdown/mds-dropdown.css +23 -23
  190. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  191. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  192. package/dist/collection/components/mds-emoji/mds-emoji.css +11 -5
  193. package/dist/collection/components/mds-entity/AGENTS.md +3 -2
  194. package/dist/collection/components/mds-entity/documentation.json +11 -3
  195. package/dist/collection/components/mds-entity/mds-entity.css +1 -1
  196. package/dist/collection/components/mds-entity/mds-entity.js +2 -1
  197. package/dist/collection/components/mds-entity/pattern.md +10 -0
  198. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  199. package/dist/collection/components/mds-file/documentation.json +1 -1
  200. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  202. package/dist/collection/components/mds-file-preview/mds-file-preview.css +2 -2
  203. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-filter/documentation.json +1 -1
  205. package/dist/collection/components/mds-filter/mds-filter.css +1 -1
  206. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  207. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  208. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-header/documentation.json +1 -1
  210. package/dist/collection/components/mds-header/mds-header.css +4 -4
  211. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  213. package/dist/collection/components/mds-header-bar/mds-header-bar.css +1 -1
  214. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  215. package/dist/collection/components/mds-help/documentation.json +1 -1
  216. package/dist/collection/components/mds-help/mds-help.css +7 -5
  217. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  218. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  219. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +2 -2
  220. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  221. package/dist/collection/components/mds-hr/documentation.json +1 -1
  222. package/dist/collection/components/mds-icon/AGENTS.md +2 -2
  223. package/dist/collection/components/mds-icon/documentation.json +5 -1
  224. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  225. package/dist/collection/components/mds-img/documentation.json +1 -1
  226. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  227. package/dist/collection/components/mds-input/documentation.json +1 -1
  228. package/dist/collection/components/mds-input/mds-input.css +8 -8
  229. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  230. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  231. package/dist/collection/components/mds-input-date/mds-input-date.css +6 -6
  232. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  233. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  234. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +11 -11
  235. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  236. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  237. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  239. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  240. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  241. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  242. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  243. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  245. package/dist/collection/components/mds-input-select/mds-input-select.css +5 -5
  246. package/dist/collection/components/mds-input-switch/AGENTS.md +3 -3
  247. package/dist/collection/components/mds-input-switch/documentation.json +3 -3
  248. package/dist/collection/components/mds-input-switch/mds-input-switch.css +7 -7
  249. package/dist/collection/components/mds-input-switch/mds-input-switch.js +4 -4
  250. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  251. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  252. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  254. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  256. package/dist/collection/components/mds-input-upload/mds-input-upload.css +2 -2
  257. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  259. package/dist/collection/components/mds-keyboard/mds-keyboard.css +5 -5
  260. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  262. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +2 -2
  263. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  265. package/dist/collection/components/mds-kpi/mds-kpi.css +1 -1
  266. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  268. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  269. package/dist/collection/components/mds-label/documentation.json +1 -1
  270. package/dist/collection/components/mds-link/AGENTS.md +81 -0
  271. package/dist/collection/components/mds-link/antipattern.md +96 -0
  272. package/dist/collection/components/mds-link/documentation.json +407 -0
  273. package/dist/collection/components/mds-link/mds-link.css +301 -0
  274. package/dist/collection/components/mds-link/mds-link.js +335 -0
  275. package/dist/collection/components/mds-link/meta/dictionary.js +3 -0
  276. package/dist/collection/components/mds-link/meta/types.js +1 -0
  277. package/dist/collection/components/mds-link/pattern.md +100 -0
  278. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-list/documentation.json +1 -1
  280. package/dist/collection/components/mds-list/mds-list.js +1 -1
  281. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  283. package/dist/collection/components/mds-list-item/mds-list-item.css +4 -4
  284. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  285. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  286. package/dist/collection/components/mds-mention/documentation.json +1 -1
  287. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  288. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  289. package/dist/collection/components/mds-modal/documentation.json +1 -1
  290. package/dist/collection/components/mds-modal/mds-modal.css +5 -5
  291. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  292. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  293. package/dist/collection/components/mds-note/documentation.json +1 -1
  294. package/dist/collection/components/mds-note/mds-note.css +3 -3
  295. package/dist/collection/components/mds-note/mds-note.js +1 -1
  296. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-notification/documentation.json +1 -1
  298. package/dist/collection/components/mds-notification/mds-notification.css +22 -22
  299. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  300. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  301. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  302. package/dist/collection/components/mds-paginator/mds-paginator.css +1 -1
  303. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  304. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  305. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  306. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  307. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  308. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  309. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  310. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  311. package/dist/collection/components/mds-pref/documentation.json +1 -1
  312. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  313. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  314. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  315. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  316. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  317. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  318. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  319. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  320. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  321. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  322. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  323. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  324. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  325. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  326. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  327. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  328. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  329. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  330. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +2 -2
  331. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +1 -1
  332. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  334. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  335. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  337. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  338. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  340. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  341. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  343. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  344. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  346. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  347. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  349. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  350. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  352. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  353. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  355. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  356. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  358. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  359. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-progress/documentation.json +1 -1
  361. package/dist/collection/components/mds-progress/mds-progress.css +2 -0
  362. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  363. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  364. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  365. package/dist/collection/components/mds-push-notification/mds-push-notification.css +4 -4
  366. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  367. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  368. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  369. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +2 -2
  370. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  371. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  372. package/dist/collection/components/mds-quote/documentation.json +1 -1
  373. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  374. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  376. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +8 -6
  377. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  378. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  379. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  380. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +2 -2
  381. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  382. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  384. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +1 -1
  385. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  386. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  387. package/dist/collection/components/mds-separator/documentation.json +1 -1
  388. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  389. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  390. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  391. package/dist/collection/components/mds-spinner/mds-spinner.css +6 -0
  392. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  393. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  394. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  395. package/dist/collection/components/mds-status-bar/mds-status-bar.css +3 -3
  396. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  397. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  399. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  400. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  402. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +4 -2
  403. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  404. package/dist/collection/components/mds-tab/AGENTS.md +1 -1
  405. package/dist/collection/components/mds-tab/documentation.json +1 -1
  406. package/dist/collection/components/mds-tab/mds-tab.css +9 -7
  407. package/dist/collection/components/mds-tab/mds-tab.js +2 -2
  408. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  409. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  410. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  411. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  412. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  413. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +2 -2
  414. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  415. package/dist/collection/components/mds-tab-item/AGENTS.md +1 -1
  416. package/dist/collection/components/mds-tab-item/documentation.json +1 -1
  417. package/dist/collection/components/mds-tab-item/mds-tab-item.js +1 -1
  418. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-table/documentation.json +1 -1
  420. package/dist/collection/components/mds-table/mds-table.css +1 -1
  421. package/dist/collection/components/mds-table/mds-table.js +1 -1
  422. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  423. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  424. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  425. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  426. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  427. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  428. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  429. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  430. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  431. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  432. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  433. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  434. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  435. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  436. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  437. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  438. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  439. package/dist/collection/components/mds-table-row/mds-table-row.css +1 -1
  440. package/dist/collection/components/mds-table-row/mds-table-row.js +2 -2
  441. package/dist/collection/components/mds-text/AGENTS.md +2 -2
  442. package/dist/collection/components/mds-text/antipattern.md +1 -1
  443. package/dist/collection/components/mds-text/documentation.json +4 -4
  444. package/dist/collection/components/mds-text/mds-text.js +1 -1
  445. package/dist/collection/components/mds-text/pattern.md +10 -0
  446. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  447. package/dist/collection/components/mds-toast/documentation.json +1 -1
  448. package/dist/collection/components/mds-toast/mds-toast.css +2 -2
  449. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  450. package/dist/collection/components/mds-toast-region/AGENTS.md +1 -1
  451. package/dist/collection/components/mds-toast-region/documentation.json +1 -1
  452. package/dist/collection/components/mds-toast-region/mds-toast-region.js +1 -1
  453. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  454. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  455. package/dist/collection/components/mds-tooltip/mds-tooltip.css +25 -25
  456. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  457. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  458. package/dist/collection/components/mds-tree/documentation.json +1 -1
  459. package/dist/collection/components/mds-tree/mds-tree.css +1 -1
  460. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  461. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  462. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  463. package/dist/collection/components/mds-tree-item/mds-tree-item.css +0 -1
  464. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  465. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  466. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  467. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  468. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  469. package/dist/collection/components/mds-usage/documentation.json +1 -1
  470. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  471. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  472. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  473. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  474. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  475. package/dist/collection/components/mds-zero/documentation.json +1 -1
  476. package/dist/collection/components/mds-zero/mds-zero.css +2 -2
  477. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  478. package/dist/components/index.d.ts +2 -0
  479. package/dist/components/index.js +1 -1
  480. package/dist/components/mds-accordion-item.js +1 -1
  481. package/dist/components/mds-accordion-timer-item.js +1 -1
  482. package/dist/components/mds-accordion-timer.js +1 -1
  483. package/dist/components/mds-accordion.js +1 -1
  484. package/dist/components/mds-author.js +1 -1
  485. package/dist/components/mds-avatar-stack-item.js +1 -1
  486. package/dist/components/mds-avatar-stack.js +1 -1
  487. package/dist/components/mds-avatar.js +1 -1
  488. package/dist/components/mds-badge.js +1 -1
  489. package/dist/components/mds-banner.js +1 -1
  490. package/dist/components/mds-benchmark-bar.js +1 -1
  491. package/dist/components/mds-bibliography.js +1 -1
  492. package/dist/components/mds-breadcrumb-item.js +1 -1
  493. package/dist/components/mds-breadcrumb.js +1 -1
  494. package/dist/components/mds-button-dropdown.js +1 -1
  495. package/dist/components/mds-button-group.js +1 -1
  496. package/dist/components/mds-button.js +1 -1
  497. package/dist/components/mds-calendar-cell.js +1 -1
  498. package/dist/components/mds-calendar.js +1 -1
  499. package/dist/components/mds-card-content.js +1 -1
  500. package/dist/components/mds-card-footer.js +1 -1
  501. package/dist/components/mds-card-header.js +1 -1
  502. package/dist/components/mds-card-media.js +1 -1
  503. package/dist/components/mds-card.js +1 -1
  504. package/dist/components/mds-chip.js +1 -1
  505. package/dist/components/mds-details.js +1 -1
  506. package/dist/components/mds-dropdown.js +1 -1
  507. package/dist/components/mds-emoji.js +3 -3
  508. package/dist/components/mds-entity.js +1 -1
  509. package/dist/components/mds-file-preview.js +1 -1
  510. package/dist/components/mds-file.js +1 -1
  511. package/dist/components/mds-filter-item.js +1 -1
  512. package/dist/components/mds-filter.js +1 -1
  513. package/dist/components/mds-header-bar.js +1 -1
  514. package/dist/components/mds-header.js +1 -1
  515. package/dist/components/mds-help.js +1 -1
  516. package/dist/components/mds-horizontal-scroll.js +1 -1
  517. package/dist/components/mds-hr.js +1 -1
  518. package/dist/components/mds-icon.js +1 -1
  519. package/dist/components/mds-img.js +1 -1
  520. package/dist/components/mds-input-date-range-preselection.js +1 -1
  521. package/dist/components/mds-input-date-range.js +1 -1
  522. package/dist/components/mds-input-date.js +1 -1
  523. package/dist/components/mds-input-field.js +1 -1
  524. package/dist/components/mds-input-otp.js +1 -1
  525. package/dist/components/mds-input-range.js +1 -1
  526. package/dist/components/mds-input-select.js +1 -1
  527. package/dist/components/mds-input-switch.js +1 -1
  528. package/dist/components/mds-input-tip-item.js +1 -1
  529. package/dist/components/mds-input-tip.js +1 -1
  530. package/dist/components/mds-input-upload.js +1 -1
  531. package/dist/components/mds-input.js +1 -1
  532. package/dist/components/mds-keyboard-key.js +1 -1
  533. package/dist/components/mds-keyboard.js +1 -1
  534. package/dist/components/mds-kpi-item.js +1 -1
  535. package/dist/components/mds-kpi.js +1 -1
  536. package/dist/components/mds-label.js +1 -1
  537. package/dist/components/mds-link.d.ts +11 -0
  538. package/dist/components/mds-link.js +1 -0
  539. package/dist/components/mds-list-item.js +1 -1
  540. package/dist/components/mds-list.js +1 -1
  541. package/dist/components/mds-mention.js +1 -1
  542. package/dist/components/mds-modal.js +1 -1
  543. package/dist/components/mds-note.js +1 -1
  544. package/dist/components/mds-notification.js +1 -1
  545. package/dist/components/mds-paginator-item.js +1 -1
  546. package/dist/components/mds-paginator.js +1 -1
  547. package/dist/components/mds-policy-ai.js +1 -1
  548. package/dist/components/mds-pref-animation.js +1 -1
  549. package/dist/components/mds-pref-consumption.js +1 -1
  550. package/dist/components/mds-pref-contrast.js +1 -1
  551. package/dist/components/mds-pref-language-item.js +1 -1
  552. package/dist/components/mds-pref-language.js +1 -1
  553. package/dist/components/mds-pref-mode.js +1 -1
  554. package/dist/components/mds-pref-theme-item.js +1 -1
  555. package/dist/components/mds-pref-theme.js +1 -1
  556. package/dist/components/mds-pref.js +1 -1
  557. package/dist/components/mds-price-table-features-cell.js +1 -1
  558. package/dist/components/mds-price-table-features-row.js +1 -1
  559. package/dist/components/mds-price-table-features.js +1 -1
  560. package/dist/components/mds-price-table-header.js +1 -1
  561. package/dist/components/mds-price-table-list-item.js +1 -1
  562. package/dist/components/mds-price-table-list.js +1 -1
  563. package/dist/components/mds-price-table.js +1 -1
  564. package/dist/components/mds-progress.js +1 -1
  565. package/dist/components/mds-push-notification-item.js +1 -1
  566. package/dist/components/mds-push-notification.js +1 -1
  567. package/dist/components/mds-quote.js +1 -1
  568. package/dist/components/mds-radial-menu-item.js +1 -1
  569. package/dist/components/mds-radial-menu.js +1 -1
  570. package/dist/components/mds-radial-progress.js +1 -1
  571. package/dist/components/mds-separator.js +1 -1
  572. package/dist/components/mds-spinner.js +1 -1
  573. package/dist/components/mds-status-bar.js +1 -1
  574. package/dist/components/mds-stepper-bar-item.js +1 -1
  575. package/dist/components/mds-stepper-bar.js +1 -1
  576. package/dist/components/mds-tab-bar-item.js +1 -1
  577. package/dist/components/mds-tab-bar.js +1 -1
  578. package/dist/components/mds-tab-item.js +1 -1
  579. package/dist/components/mds-tab.js +1 -1
  580. package/dist/components/mds-table-body.js +1 -1
  581. package/dist/components/mds-table-cell.js +1 -1
  582. package/dist/components/mds-table-footer.js +1 -1
  583. package/dist/components/mds-table-header-cell.js +1 -1
  584. package/dist/components/mds-table-header.js +1 -1
  585. package/dist/components/mds-table-row.js +1 -1
  586. package/dist/components/mds-table.js +1 -1
  587. package/dist/components/mds-text.js +1 -1
  588. package/dist/components/mds-toast-region.js +1 -1
  589. package/dist/components/mds-toast.js +1 -1
  590. package/dist/components/mds-tooltip.js +1 -1
  591. package/dist/components/mds-tree-item.js +1 -1
  592. package/dist/components/mds-tree.js +1 -1
  593. package/dist/components/mds-url-view.js +1 -1
  594. package/dist/components/mds-usage.js +1 -1
  595. package/dist/components/mds-video-wall.js +1 -1
  596. package/dist/components/mds-zero.js +1 -1
  597. package/dist/components/p-B0AnE3sA.js +1 -0
  598. package/dist/{magma-components/p-BmT_DEV2.js → components/p-B8x-d2fx.js} +2 -2
  599. package/dist/components/{p-Didp833Z.js → p-BU3bsIX2.js} +1 -1
  600. package/dist/components/{p-NlPseOAv.js → p-BbK4qeM7.js} +1 -1
  601. package/dist/components/p-BbTcXgbr.js +1 -0
  602. package/dist/components/p-BwJQB6rG.js +1 -0
  603. package/dist/components/p-Bz1eiKqd.js +1 -0
  604. package/dist/components/p-C1CTahjH.js +1 -0
  605. package/dist/components/{p-BLiWCyrD.js → p-C4XdTZQ-.js} +1 -1
  606. package/dist/components/p-C99SMdU_.js +1 -0
  607. package/dist/components/{p-BFisF7aN.js → p-CHHEp_7y.js} +1 -1
  608. package/dist/components/{p-DSxDXNWp.js → p-CLe_N2_H.js} +1 -1
  609. package/dist/components/{p-DezdwzYQ.js → p-CNF3u0Li.js} +1 -1
  610. package/dist/components/p-CNZ8_QvE.js +8 -0
  611. package/dist/components/{p-DaptTdaU.js → p-CSxW5f2f.js} +1 -1
  612. package/dist/components/{p-BlnEiKN4.js → p-CVRN4LDc.js} +1 -1
  613. package/dist/components/{p-sM-eFjwq.js → p-Cd8id3Br.js} +1 -1
  614. package/dist/components/p-CfQETwAK.js +1 -0
  615. package/dist/components/p-ClPv-Ljc.js +1 -0
  616. package/dist/components/{p-cIZniMh0.js → p-Cmn1DJAB.js} +1 -1
  617. package/dist/components/{p-fhAmrBfl.js → p-D-DdDIb9.js} +1 -1
  618. package/dist/components/{p-D4JiVIoh.js → p-D2d9eOLi.js} +1 -1
  619. package/dist/components/p-D8wd-EZX.js +1 -0
  620. package/dist/components/{p-B1bYa-o0.js → p-DCrdKrky.js} +1 -1
  621. package/dist/components/{p-D_0rjNZp.js → p-DF3PrYBI.js} +1 -1
  622. package/dist/components/p-DNeEn8Rr.js +1 -0
  623. package/dist/components/{p-Bg5E4Wnq.js → p-DiUUZ7ZA.js} +1 -1
  624. package/dist/components/{p-DACnmwad.js → p-DkUdrGHq.js} +1 -1
  625. package/dist/components/{p-BL220gRU.js → p-Dm-OUwDe.js} +1 -1
  626. package/dist/components/p-DnySYX0L.js +1 -0
  627. package/dist/components/{p-B2p5a1Y8.js → p-TZJN-ygm.js} +1 -1
  628. package/dist/components/{p-B6B6q5kP.js → p-ZuubAcA3.js} +1 -1
  629. package/dist/{magma-components/p-DmFo8_MF.js → components/p-jasGzfhE.js} +1 -1
  630. package/dist/components/p-nsbhb0lz.js +1 -0
  631. package/dist/components/{p-JPhOaOXe.js → p-s1CktmPS.js} +1 -1
  632. package/dist/components/{p-NOw8-OrM.js → p-uqwixjju.js} +1 -1
  633. package/dist/documentation.json +430 -10
  634. package/dist/esm/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  635. package/dist/esm/{index-CPRkNQdE.js → index-CvLLN-QH.js} +5 -1
  636. package/dist/esm/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
  637. package/dist/esm/index.js +3 -63
  638. package/dist/esm/loader.js +3 -3
  639. package/dist/esm/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
  640. package/dist/esm/magma-components.js +3 -3
  641. package/dist/esm/mds-accordion-item.entry.js +3 -3
  642. package/dist/esm/mds-accordion-timer-item.entry.js +3 -3
  643. package/dist/esm/mds-accordion-timer.entry.js +2 -2
  644. package/dist/esm/mds-accordion.entry.js +3 -3
  645. package/dist/esm/mds-author.entry.js +1 -1
  646. package/dist/esm/mds-avatar-stack-item.entry.js +1 -1
  647. package/dist/esm/mds-avatar-stack.entry.js +1 -1
  648. package/dist/esm/mds-avatar.entry.js +2 -2
  649. package/dist/esm/mds-badge.entry.js +2 -2
  650. package/dist/esm/mds-banner_3.entry.js +6 -6
  651. package/dist/esm/mds-benchmark-bar.entry.js +1 -1
  652. package/dist/esm/mds-bibliography.entry.js +1 -1
  653. package/dist/esm/mds-breadcrumb-item.entry.js +2 -2
  654. package/dist/esm/mds-breadcrumb.entry.js +3 -3
  655. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  656. package/dist/esm/mds-button-group.entry.js +1 -1
  657. package/dist/esm/mds-button_3.entry.js +6 -5
  658. package/dist/esm/mds-calendar_2.entry.js +4 -4
  659. package/dist/esm/mds-card-content.entry.js +1 -1
  660. package/dist/esm/mds-card-footer.entry.js +1 -1
  661. package/dist/esm/mds-card-header.entry.js +1 -1
  662. package/dist/esm/mds-card-media.entry.js +1 -1
  663. package/dist/esm/mds-card.entry.js +3 -3
  664. package/dist/esm/mds-details.entry.js +3 -3
  665. package/dist/esm/mds-dropdown.entry.js +4 -4
  666. package/dist/esm/mds-emoji.entry.js +3 -3
  667. package/dist/esm/mds-entity.entry.js +4 -4
  668. package/dist/esm/mds-file-preview.entry.js +4 -4
  669. package/dist/esm/mds-file.entry.js +3 -3
  670. package/dist/esm/mds-filter-item.entry.js +3 -3
  671. package/dist/esm/mds-filter.entry.js +4 -4
  672. package/dist/esm/mds-header-bar.entry.js +4 -4
  673. package/dist/esm/mds-header.entry.js +3 -3
  674. package/dist/esm/mds-horizontal-scroll.entry.js +4 -4
  675. package/dist/esm/mds-hr.entry.js +2 -2
  676. package/dist/esm/mds-img.entry.js +3 -3
  677. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  678. package/dist/esm/mds-input-date-range.entry.js +4 -4
  679. package/dist/esm/mds-input-date.entry.js +5 -5
  680. package/dist/esm/mds-input-field.entry.js +1 -1
  681. package/dist/esm/mds-input-otp.entry.js +3 -3
  682. package/dist/esm/mds-input-range.entry.js +2 -2
  683. package/dist/esm/mds-input-select.entry.js +5 -5
  684. package/dist/esm/mds-input-switch_2.entry.js +7 -7
  685. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  686. package/dist/esm/mds-input-upload.entry.js +4 -4
  687. package/dist/esm/mds-input.entry.js +5 -5
  688. package/dist/esm/mds-keyboard-key.entry.js +4 -4
  689. package/dist/esm/mds-keyboard.entry.js +4 -4
  690. package/dist/esm/mds-kpi-item.entry.js +2 -2
  691. package/dist/esm/mds-kpi.entry.js +2 -2
  692. package/dist/esm/mds-label.entry.js +3 -3
  693. package/dist/esm/mds-link.entry.js +145 -0
  694. package/dist/esm/mds-list-item.entry.js +3 -3
  695. package/dist/esm/mds-list.entry.js +2 -2
  696. package/dist/esm/mds-mention.entry.js +4 -4
  697. package/dist/esm/mds-modal.entry.js +7 -7
  698. package/dist/esm/mds-note.entry.js +5 -5
  699. package/dist/esm/mds-notification.entry.js +4 -4
  700. package/dist/esm/mds-paginator-item.entry.js +3 -3
  701. package/dist/esm/mds-paginator.entry.js +5 -5
  702. package/dist/esm/mds-policy-ai.entry.js +4 -4
  703. package/dist/esm/mds-pref-animation.entry.js +4 -4
  704. package/dist/esm/mds-pref-consumption.entry.js +4 -4
  705. package/dist/esm/mds-pref-contrast.entry.js +4 -4
  706. package/dist/esm/mds-pref-language-item.entry.js +4 -4
  707. package/dist/esm/mds-pref-language.entry.js +4 -4
  708. package/dist/esm/mds-pref-mode.entry.js +5 -5
  709. package/dist/esm/mds-pref-theme-item.entry.js +2 -2
  710. package/dist/esm/mds-pref-theme.entry.js +4 -4
  711. package/dist/esm/mds-pref.entry.js +4 -4
  712. package/dist/esm/mds-price-table-features-cell.entry.js +3 -3
  713. package/dist/esm/mds-price-table-features-row.entry.js +3 -3
  714. package/dist/esm/mds-price-table-features.entry.js +3 -3
  715. package/dist/esm/mds-price-table-header.entry.js +2 -2
  716. package/dist/esm/mds-price-table-list-item.entry.js +2 -2
  717. package/dist/esm/mds-price-table-list.entry.js +3 -3
  718. package/dist/esm/mds-price-table.entry.js +2 -2
  719. package/dist/esm/mds-progress_2.entry.js +5 -5
  720. package/dist/esm/mds-push-notification-item.entry.js +6 -6
  721. package/dist/esm/mds-push-notification.entry.js +5 -5
  722. package/dist/esm/mds-quote.entry.js +3 -3
  723. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  724. package/dist/esm/mds-radial-menu.entry.js +6 -6
  725. package/dist/esm/mds-separator.entry.js +3 -3
  726. package/dist/esm/mds-status-bar.entry.js +4 -4
  727. package/dist/esm/mds-stepper-bar-item.entry.js +5 -5
  728. package/dist/esm/mds-stepper-bar.entry.js +2 -2
  729. package/dist/esm/mds-tab-bar-item.entry.js +4 -4
  730. package/dist/esm/mds-tab-bar.entry.js +3 -3
  731. package/dist/esm/mds-tab_2.entry.js +6 -6
  732. package/dist/esm/mds-table-body.entry.js +3 -3
  733. package/dist/esm/mds-table-footer.entry.js +3 -3
  734. package/dist/esm/mds-table-header-cell.entry.js +3 -3
  735. package/dist/esm/mds-table-header.entry.js +4 -4
  736. package/dist/esm/mds-table-row.entry.js +6 -6
  737. package/dist/esm/mds-table.entry.js +5 -5
  738. package/dist/esm/mds-text.entry.js +3 -3
  739. package/dist/esm/mds-toast-region.entry.js +2 -2
  740. package/dist/esm/mds-toast.entry.js +5 -5
  741. package/dist/esm/mds-tooltip.entry.js +5 -5
  742. package/dist/esm/mds-tree-item.entry.js +5 -5
  743. package/dist/esm/mds-tree.entry.js +3 -3
  744. package/dist/esm/mds-url-view.entry.js +4 -4
  745. package/dist/esm/mds-usage.entry.js +4 -4
  746. package/dist/esm/mds-video-wall.entry.js +3 -3
  747. package/dist/esm/mds-zero.entry.js +4 -4
  748. package/dist/esm/navigation-Bz1eiKqd.js +62 -0
  749. package/dist/esm/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +1 -1
  750. package/dist/esm-es5/{floating-controller-CVVcyKew.js → floating-controller-BVlbYYkf.js} +1 -1
  751. package/dist/esm-es5/{index-CPRkNQdE.js → index-CvLLN-QH.js} +4 -2
  752. package/dist/esm-es5/{index-DI_6NAg0.js → index-D2_gI0qp.js} +1 -1
  753. package/dist/esm-es5/index.js +20 -37
  754. package/dist/esm-es5/loader.js +1 -1
  755. package/dist/esm-es5/{locale-DfpXg7qZ.js → locale-BQmO6K_S.js} +1 -1
  756. package/dist/esm-es5/magma-components.js +2 -2
  757. package/dist/esm-es5/mds-accordion-item.entry.js +1 -1
  758. package/dist/esm-es5/mds-accordion-timer-item.entry.js +1 -1
  759. package/dist/esm-es5/mds-accordion-timer.entry.js +1 -1
  760. package/dist/esm-es5/mds-accordion.entry.js +2 -2
  761. package/dist/esm-es5/mds-author.entry.js +1 -1
  762. package/dist/esm-es5/mds-avatar-stack-item.entry.js +1 -1
  763. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  764. package/dist/esm-es5/mds-avatar.entry.js +2 -2
  765. package/dist/esm-es5/mds-badge.entry.js +1 -1
  766. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  767. package/dist/esm-es5/mds-benchmark-bar.entry.js +1 -1
  768. package/dist/esm-es5/mds-bibliography.entry.js +1 -1
  769. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  770. package/dist/esm-es5/mds-breadcrumb.entry.js +1 -1
  771. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  772. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  773. package/dist/esm-es5/mds-button_3.entry.js +2 -2
  774. package/dist/esm-es5/mds-calendar_2.entry.js +1 -1
  775. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  776. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  777. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  778. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  779. package/dist/esm-es5/mds-card.entry.js +1 -1
  780. package/dist/esm-es5/mds-details.entry.js +1 -1
  781. package/dist/esm-es5/mds-dropdown.entry.js +15 -15
  782. package/dist/esm-es5/mds-emoji.entry.js +2 -2
  783. package/dist/esm-es5/mds-entity.entry.js +1 -1
  784. package/dist/esm-es5/mds-file-preview.entry.js +10 -10
  785. package/dist/esm-es5/mds-file.entry.js +1 -1
  786. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  787. package/dist/esm-es5/mds-filter.entry.js +1 -1
  788. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  789. package/dist/esm-es5/mds-header.entry.js +1 -1
  790. package/dist/esm-es5/mds-horizontal-scroll.entry.js +2 -2
  791. package/dist/esm-es5/mds-hr.entry.js +1 -1
  792. package/dist/esm-es5/mds-img.entry.js +1 -1
  793. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  794. package/dist/esm-es5/mds-input-date-range.entry.js +15 -15
  795. package/dist/esm-es5/mds-input-date.entry.js +1 -1
  796. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  797. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  798. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  799. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  800. package/dist/esm-es5/mds-input-switch_2.entry.js +3 -3
  801. package/dist/esm-es5/mds-input-tip_2.entry.js +1 -1
  802. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  803. package/dist/esm-es5/mds-input.entry.js +2 -2
  804. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  805. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  806. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  807. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  808. package/dist/esm-es5/mds-label.entry.js +1 -1
  809. package/dist/esm-es5/mds-link.entry.js +39 -0
  810. package/dist/esm-es5/mds-list-item.entry.js +2 -2
  811. package/dist/esm-es5/mds-list.entry.js +1 -1
  812. package/dist/esm-es5/mds-mention.entry.js +2 -2
  813. package/dist/esm-es5/mds-modal.entry.js +3 -3
  814. package/dist/esm-es5/mds-note.entry.js +2 -2
  815. package/dist/esm-es5/mds-notification.entry.js +8 -8
  816. package/dist/esm-es5/mds-paginator-item.entry.js +2 -2
  817. package/dist/esm-es5/mds-paginator.entry.js +2 -2
  818. package/dist/esm-es5/mds-policy-ai.entry.js +2 -2
  819. package/dist/esm-es5/mds-pref-animation.entry.js +2 -2
  820. package/dist/esm-es5/mds-pref-consumption.entry.js +2 -2
  821. package/dist/esm-es5/mds-pref-contrast.entry.js +2 -2
  822. package/dist/esm-es5/mds-pref-language-item.entry.js +2 -2
  823. package/dist/esm-es5/mds-pref-language.entry.js +2 -2
  824. package/dist/esm-es5/mds-pref-mode.entry.js +2 -2
  825. package/dist/esm-es5/mds-pref-theme-item.entry.js +3 -3
  826. package/dist/esm-es5/mds-pref-theme.entry.js +2 -2
  827. package/dist/esm-es5/mds-pref.entry.js +2 -2
  828. package/dist/esm-es5/mds-price-table-features-cell.entry.js +2 -2
  829. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  830. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  831. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  832. package/dist/esm-es5/mds-price-table-list-item.entry.js +2 -2
  833. package/dist/esm-es5/mds-price-table-list.entry.js +2 -2
  834. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  835. package/dist/esm-es5/mds-progress_2.entry.js +3 -3
  836. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  837. package/dist/esm-es5/mds-push-notification.entry.js +2 -2
  838. package/dist/esm-es5/mds-quote.entry.js +2 -2
  839. package/dist/esm-es5/mds-radial-menu-item.entry.js +2 -2
  840. package/dist/esm-es5/mds-radial-menu.entry.js +4 -4
  841. package/dist/esm-es5/mds-separator.entry.js +1 -1
  842. package/dist/esm-es5/mds-status-bar.entry.js +2 -2
  843. package/dist/esm-es5/mds-stepper-bar-item.entry.js +2 -2
  844. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  845. package/dist/esm-es5/mds-tab-bar-item.entry.js +2 -2
  846. package/dist/esm-es5/mds-tab-bar.entry.js +2 -2
  847. package/dist/esm-es5/mds-tab_2.entry.js +3 -3
  848. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  849. package/dist/esm-es5/mds-table-footer.entry.js +2 -2
  850. package/dist/esm-es5/mds-table-header-cell.entry.js +2 -2
  851. package/dist/esm-es5/mds-table-header.entry.js +2 -2
  852. package/dist/esm-es5/mds-table-row.entry.js +2 -2
  853. package/dist/esm-es5/mds-table.entry.js +2 -2
  854. package/dist/esm-es5/mds-text.entry.js +2 -2
  855. package/dist/esm-es5/mds-toast-region.entry.js +3 -3
  856. package/dist/esm-es5/mds-toast.entry.js +2 -2
  857. package/dist/esm-es5/mds-tooltip.entry.js +3 -3
  858. package/dist/esm-es5/mds-tree-item.entry.js +2 -2
  859. package/dist/esm-es5/mds-tree.entry.js +2 -2
  860. package/dist/esm-es5/mds-url-view.entry.js +2 -2
  861. package/dist/esm-es5/mds-usage.entry.js +2 -2
  862. package/dist/esm-es5/mds-video-wall.entry.js +2 -2
  863. package/dist/esm-es5/mds-zero.entry.js +1 -1
  864. package/dist/esm-es5/navigation-Bz1eiKqd.js +17 -0
  865. package/dist/esm-es5/{preference-Ch1zJnqq.js → preference-C5XjgGCb.js} +4 -4
  866. package/dist/hydrate/index.js +461 -299
  867. package/dist/hydrate/index.mjs +461 -299
  868. package/dist/magma-components/index.esm.js +1 -1
  869. package/dist/magma-components/magma-components.esm.js +1 -1
  870. package/dist/magma-components/magma-components.js +1 -1
  871. package/dist/magma-components/{p-028f3717.entry.js → p-000c315c.entry.js} +1 -1
  872. package/dist/magma-components/{p-4fdda209.system.entry.js → p-0033cb92.system.entry.js} +2 -2
  873. package/dist/magma-components/{p-c72651b2.entry.js → p-0148cf0a.entry.js} +1 -1
  874. package/dist/magma-components/{p-6c91b00d.system.entry.js → p-02298ed0.system.entry.js} +2 -2
  875. package/dist/magma-components/p-02fe26b4.system.entry.js +35 -0
  876. package/dist/magma-components/p-05ed801b.system.entry.js +14 -0
  877. package/dist/magma-components/{p-a1ca2441.system.entry.js → p-0679c988.system.entry.js} +1 -1
  878. package/dist/magma-components/{p-3bb26611.entry.js → p-068e30a5.entry.js} +1 -1
  879. package/dist/magma-components/{p-1f9ebc0d.entry.js → p-06ccc40d.entry.js} +1 -1
  880. package/dist/magma-components/{p-926ef760.entry.js → p-06fde29d.entry.js} +1 -1
  881. package/dist/magma-components/{p-176e6d9d.system.entry.js → p-08370fc2.system.entry.js} +1 -1
  882. package/dist/magma-components/{p-e032e77f.system.entry.js → p-083dceb8.system.entry.js} +1 -1
  883. package/dist/magma-components/{p-a136e6fe.system.entry.js → p-09a7b578.system.entry.js} +1 -1
  884. package/dist/magma-components/{p-e6ed6e12.entry.js → p-09f621ea.entry.js} +1 -1
  885. package/dist/magma-components/p-0a8e8525.entry.js +1 -0
  886. package/dist/magma-components/p-0b3e4a97.system.entry.js +39 -0
  887. package/dist/magma-components/p-0d32e196.system.entry.js +81 -0
  888. package/dist/magma-components/{p-0f47fd37.system.entry.js → p-0e887379.system.entry.js} +2 -2
  889. package/dist/magma-components/p-0eb3558a.entry.js +1 -0
  890. package/dist/magma-components/p-104ba54e.system.entry.js +13 -0
  891. package/dist/magma-components/{p-8d8c9c90.entry.js → p-15ffdcf6.entry.js} +1 -1
  892. package/dist/magma-components/{p-3ac09ace.entry.js → p-1908f808.entry.js} +1 -1
  893. package/dist/magma-components/{p-c4286fb7.system.entry.js → p-1d2220f0.system.entry.js} +1 -1
  894. package/dist/magma-components/{p-eebf450c.system.entry.js → p-1e18fcc5.system.entry.js} +2 -2
  895. package/dist/magma-components/{p-36ad5759.system.entry.js → p-1eee93c8.system.entry.js} +1 -1
  896. package/dist/magma-components/p-1f623b75.entry.js +1 -0
  897. package/dist/magma-components/{p-a1443292.entry.js → p-1faa4f71.entry.js} +1 -1
  898. package/dist/magma-components/{p-af704402.system.entry.js → p-21547758.system.entry.js} +1 -1
  899. package/dist/magma-components/{p-0dd4b006.entry.js → p-221c2f0d.entry.js} +1 -1
  900. package/dist/magma-components/{p-0727d8f9.entry.js → p-23722401.entry.js} +1 -1
  901. package/dist/magma-components/p-23c057a9.entry.js +1 -0
  902. package/dist/magma-components/p-23fabd66.system.entry.js +1 -0
  903. package/dist/magma-components/{p-a40443ca.system.entry.js → p-2431fbfa.system.entry.js} +1 -1
  904. package/dist/magma-components/{p-3fb98529.system.entry.js → p-244676d3.system.entry.js} +1 -1
  905. package/dist/magma-components/{p-cc0cb701.entry.js → p-254ee71d.entry.js} +1 -1
  906. package/dist/magma-components/{p-a2ec6eac.entry.js → p-25a6e977.entry.js} +1 -1
  907. package/dist/magma-components/p-26451eb6.entry.js +1 -0
  908. package/dist/magma-components/p-26b9f2b7.system.entry.js +80 -0
  909. package/dist/magma-components/{p-2362b91a.entry.js → p-278c362d.entry.js} +1 -1
  910. package/dist/magma-components/{p-4800a310.entry.js → p-287601bb.entry.js} +1 -1
  911. package/dist/magma-components/{p-b62bbd07.entry.js → p-29162c98.entry.js} +1 -1
  912. package/dist/magma-components/{p-166c0190.entry.js → p-29450db3.entry.js} +1 -1
  913. package/dist/magma-components/{p-916a26e4.entry.js → p-295d8fab.entry.js} +1 -1
  914. package/dist/magma-components/p-29ab84bf.system.entry.js +41 -0
  915. package/dist/magma-components/p-2a964578.entry.js +1 -0
  916. package/dist/magma-components/{p-a7bad4e8.entry.js → p-2aac4003.entry.js} +1 -1
  917. package/dist/magma-components/p-2c845743.system.entry.js +1 -0
  918. package/dist/magma-components/{p-be32b7a9.system.entry.js → p-2cbd532a.system.entry.js} +1 -1
  919. package/dist/magma-components/{p-e471decd.system.entry.js → p-2cdf450c.system.entry.js} +1 -1
  920. package/dist/magma-components/{p-3ba5ddae.entry.js → p-2d3b5eb5.entry.js} +1 -1
  921. package/dist/magma-components/{p-5219eba6.system.entry.js → p-2e48f88d.system.entry.js} +2 -2
  922. package/dist/magma-components/{p-815801dd.system.entry.js → p-2eb4efcd.system.entry.js} +2 -2
  923. package/dist/magma-components/{p-c89c2e30.entry.js → p-30be5c39.entry.js} +1 -1
  924. package/dist/magma-components/{p-62e65f3b.entry.js → p-335244bb.entry.js} +1 -1
  925. package/dist/magma-components/{p-e49818c4.entry.js → p-336f56a4.entry.js} +1 -1
  926. package/dist/magma-components/p-34c2daa9.system.entry.js +25 -0
  927. package/dist/magma-components/p-357724ab.entry.js +1 -0
  928. package/dist/magma-components/{p-911dc847.entry.js → p-358aa5e7.entry.js} +1 -1
  929. package/dist/magma-components/p-377d0661.entry.js +1 -0
  930. package/dist/magma-components/{p-23bf1afa.system.entry.js → p-396d95a1.system.entry.js} +2 -2
  931. package/dist/magma-components/{p-e5ab1f4f.entry.js → p-3abaa053.entry.js} +1 -1
  932. package/dist/magma-components/{p-0c9bdfff.system.entry.js → p-3beea731.system.entry.js} +1 -1
  933. package/dist/magma-components/{p-e1ce306a.system.entry.js → p-3d162e99.system.entry.js} +2 -2
  934. package/dist/magma-components/p-3d95e688.system.entry.js +111 -0
  935. package/dist/magma-components/{p-721b625a.system.entry.js → p-3dc81ab9.system.entry.js} +9 -9
  936. package/dist/magma-components/{p-6bc4114c.system.entry.js → p-3df07021.system.entry.js} +1 -1
  937. package/dist/magma-components/p-3fb46ab9.system.entry.js +1 -0
  938. package/dist/magma-components/{p-4a051ef5.system.entry.js → p-3fd8ff0e.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-f43379ef.entry.js → p-41a0f896.entry.js} +1 -1
  940. package/dist/magma-components/{p-4d079b1a.system.entry.js → p-41a28f2a.system.entry.js} +3 -3
  941. package/dist/magma-components/p-42e50f25.system.entry.js +55 -0
  942. package/dist/magma-components/{p-95328cc7.system.entry.js → p-458eb34c.system.entry.js} +2 -2
  943. package/dist/magma-components/p-464e6431.entry.js +1 -0
  944. package/dist/magma-components/p-471227f2.system.entry.js +27 -0
  945. package/dist/magma-components/{p-8e08ae08.system.entry.js → p-47717251.system.entry.js} +3 -3
  946. package/dist/magma-components/p-4776ac1f.entry.js +1 -0
  947. package/dist/magma-components/{p-b919ce62.entry.js → p-4792ff7f.entry.js} +1 -1
  948. package/dist/magma-components/p-481897a7.entry.js +1 -0
  949. package/dist/magma-components/{p-72cc4977.system.entry.js → p-4bc3335f.system.entry.js} +1 -1
  950. package/dist/magma-components/{p-b58363e2.system.entry.js → p-4bc47ff0.system.entry.js} +2 -2
  951. package/dist/magma-components/{p-648ec03b.system.entry.js → p-4c6da1db.system.entry.js} +5 -5
  952. package/dist/magma-components/{p-5b21eb78.entry.js → p-4cabfdbc.entry.js} +1 -1
  953. package/dist/magma-components/{p-f30cdd34.system.entry.js → p-4d485e1f.system.entry.js} +1 -1
  954. package/dist/magma-components/{p-da532544.system.entry.js → p-52d905fe.system.entry.js} +1 -1
  955. package/dist/magma-components/{p-23ce0824.entry.js → p-5435f2a9.entry.js} +1 -1
  956. package/dist/magma-components/{p-29d4605e.system.entry.js → p-5533b60d.system.entry.js} +4 -4
  957. package/dist/magma-components/p-55746791.entry.js +1 -0
  958. package/dist/magma-components/{p-37b801d0.system.entry.js → p-577ae081.system.entry.js} +2 -2
  959. package/dist/magma-components/{p-52d5d104.system.entry.js → p-57839384.system.entry.js} +2 -2
  960. package/dist/magma-components/p-5c4e41d3.system.entry.js +54 -0
  961. package/dist/magma-components/p-5cfa0dce.entry.js +1 -0
  962. package/dist/magma-components/{p-9bdca8b4.entry.js → p-5da14e81.entry.js} +1 -1
  963. package/dist/magma-components/{p-f7af41fb.system.entry.js → p-5ef0fb69.system.entry.js} +2 -2
  964. package/dist/magma-components/{p-a4f46de1.system.entry.js → p-5f8db04c.system.entry.js} +2 -2
  965. package/dist/magma-components/p-617370e7.system.entry.js +98 -0
  966. package/dist/magma-components/{p-0bcf3bb6.entry.js → p-62fc9695.entry.js} +1 -1
  967. package/dist/magma-components/{p-d9551916.system.entry.js → p-632ad925.system.entry.js} +22 -22
  968. package/dist/magma-components/{p-4ea00c22.entry.js → p-63b10a6e.entry.js} +1 -1
  969. package/dist/magma-components/{p-b40ef7ab.system.entry.js → p-642925b7.system.entry.js} +2 -2
  970. package/dist/magma-components/{p-32bfb09c.entry.js → p-6436178a.entry.js} +1 -1
  971. package/dist/magma-components/p-644e64a0.entry.js +1 -0
  972. package/dist/magma-components/p-6560b426.system.entry.js +4 -0
  973. package/dist/magma-components/p-656b00df.system.entry.js +34 -0
  974. package/dist/magma-components/{p-f88c202e.entry.js → p-67eb3881.entry.js} +1 -1
  975. package/dist/magma-components/p-69abd1d1.entry.js +1 -0
  976. package/dist/magma-components/{p-5ea3be82.system.entry.js → p-6a2d67d1.system.entry.js} +2 -2
  977. package/dist/magma-components/p-6e32bf99.entry.js +1 -0
  978. package/dist/magma-components/{p-7497b39d.system.entry.js → p-6f81c9ef.system.entry.js} +2 -2
  979. package/dist/magma-components/p-70d38284.entry.js +1 -0
  980. package/dist/magma-components/{p-1f5cd2b5.entry.js → p-71cbc840.entry.js} +1 -1
  981. package/dist/magma-components/{p-4582aa3e.system.entry.js → p-729c89f9.system.entry.js} +1 -1
  982. package/dist/magma-components/p-72ad419d.system.entry.js +10 -0
  983. package/dist/magma-components/{p-e73cc6fc.entry.js → p-73833405.entry.js} +3 -3
  984. package/dist/magma-components/{p-aa8653b1.system.entry.js → p-74f515c3.system.entry.js} +2 -2
  985. package/dist/magma-components/{p-f3763382.entry.js → p-762a6b7b.entry.js} +1 -1
  986. package/dist/magma-components/p-772c18f4.entry.js +1 -0
  987. package/dist/magma-components/p-77939a25.system.entry.js +20 -0
  988. package/dist/magma-components/{p-88ac5d50.entry.js → p-791a6a6f.entry.js} +1 -1
  989. package/dist/magma-components/{p-11feeebf.system.entry.js → p-7961c335.system.entry.js} +1 -1
  990. package/dist/magma-components/{p-3871807a.entry.js → p-7bf46d43.entry.js} +1 -1
  991. package/dist/magma-components/p-7c217aa5.entry.js +1 -0
  992. package/dist/magma-components/{p-2abfc393.entry.js → p-7ec1ea2e.entry.js} +1 -1
  993. package/dist/magma-components/{p-c6b16493.system.entry.js → p-7fde3025.system.entry.js} +3 -3
  994. package/dist/magma-components/{p-38a9e862.entry.js → p-808b9277.entry.js} +1 -1
  995. package/dist/magma-components/{p-11e50140.system.entry.js → p-80eea067.system.entry.js} +2 -2
  996. package/dist/magma-components/p-8173ed07.entry.js +8 -0
  997. package/dist/magma-components/{p-8059aa67.system.entry.js → p-81e02997.system.entry.js} +3 -3
  998. package/dist/magma-components/{p-47f7366c.entry.js → p-8258733b.entry.js} +1 -1
  999. package/dist/magma-components/{p-f5a08dca.system.entry.js → p-8279056b.system.entry.js} +2 -2
  1000. package/dist/magma-components/{p-d8d87750.system.entry.js → p-835d79e5.system.entry.js} +1 -1
  1001. package/dist/magma-components/{p-288f3cfe.entry.js → p-837d31b8.entry.js} +1 -1
  1002. package/dist/magma-components/{p-342770d2.system.entry.js → p-84777b38.system.entry.js} +2 -2
  1003. package/dist/magma-components/{p-88be542e.system.entry.js → p-84ed22ea.system.entry.js} +2 -2
  1004. package/dist/magma-components/{p-dfbecf72.system.entry.js → p-860bce85.system.entry.js} +3 -3
  1005. package/dist/magma-components/p-8645533a.entry.js +1 -0
  1006. package/dist/magma-components/{p-7d548a19.entry.js → p-8680f63e.entry.js} +1 -1
  1007. package/dist/magma-components/{p-f9b5a5ec.entry.js → p-86cf87fb.entry.js} +1 -1
  1008. package/dist/magma-components/{p-007968a8.system.entry.js → p-8740403e.system.entry.js} +3 -3
  1009. package/dist/magma-components/p-87ce9d6c.entry.js +1 -0
  1010. package/dist/magma-components/{p-20469b7a.system.entry.js → p-880f3eac.system.entry.js} +1 -1
  1011. package/dist/magma-components/{p-fcaa81b3.entry.js → p-89d4b6e9.entry.js} +1 -1
  1012. package/dist/magma-components/{p-5d9b1fe5.entry.js → p-8a76097f.entry.js} +1 -1
  1013. package/dist/magma-components/{p-e8b9d639.entry.js → p-8a9544aa.entry.js} +1 -1
  1014. package/dist/magma-components/{p-1fe66383.system.entry.js → p-8ab9ff37.system.entry.js} +1 -1
  1015. package/dist/magma-components/p-8d6470fb.system.entry.js +13 -0
  1016. package/dist/magma-components/p-8f63f1a1.system.entry.js +35 -0
  1017. package/dist/magma-components/{p-3093af30.system.entry.js → p-8f7daab1.system.entry.js} +1 -1
  1018. package/dist/magma-components/{p-cc109576.entry.js → p-919f9dce.entry.js} +1 -1
  1019. package/dist/magma-components/p-9250ec26.system.entry.js +7 -0
  1020. package/dist/magma-components/{p-547f657e.system.entry.js → p-94289f3d.system.entry.js} +5 -5
  1021. package/dist/magma-components/{p-b514bd3a.system.entry.js → p-95478664.system.entry.js} +1 -1
  1022. package/dist/magma-components/p-96bb36b9.entry.js +1 -0
  1023. package/dist/magma-components/{p-ecb87d38.entry.js → p-9745dc51.entry.js} +1 -1
  1024. package/dist/magma-components/p-984dd850.entry.js +1 -0
  1025. package/dist/magma-components/{p-8b081ba9.entry.js → p-9855b517.entry.js} +1 -1
  1026. package/dist/magma-components/{p-b169ee9b.entry.js → p-9a3ddc91.entry.js} +1 -1
  1027. package/dist/magma-components/{p-9e7d02e5.entry.js → p-9f8ce68f.entry.js} +1 -1
  1028. package/dist/magma-components/p-9fc385aa.entry.js +1 -0
  1029. package/dist/magma-components/p-B8zYiZQY.system.js +5 -0
  1030. package/dist/magma-components/{p-CmzGV0XD.system.js → p-BZP13mns.system.js} +1 -1
  1031. package/dist/magma-components/p-BoDvZoCN.system.js +18 -0
  1032. package/dist/magma-components/p-Bz1eiKqd.js +1 -0
  1033. package/dist/{components/p-Ebefwvkw.js → magma-components/p-CLhuNxYQ.js} +1 -1
  1034. package/dist/magma-components/{p-DVjUXVFl.system.js → p-CZuIEo2v.system.js} +1 -1
  1035. package/dist/magma-components/{p-CPRkNQdE.js → p-CvLLN-QH.js} +1 -1
  1036. package/dist/magma-components/{p-LUd56iG_.system.js → p-DXAjcaHM.system.js} +1 -1
  1037. package/dist/magma-components/{p-C1ailvfu.system.js → p-OOCOFWC0.system.js} +18 -18
  1038. package/dist/{components/p-B9dgiq4u.js → magma-components/p-Raj-urIN.js} +1 -1
  1039. package/dist/magma-components/{p-zQY2FlcD.js → p-U5iXN1wy.js} +1 -1
  1040. package/dist/magma-components/p-VOjLCGlK.system.js +90 -0
  1041. package/dist/magma-components/p-a70fb4fb.system.entry.js +105 -0
  1042. package/dist/magma-components/{p-287d1253.system.entry.js → p-a76a9f92.system.entry.js} +125 -125
  1043. package/dist/magma-components/p-a7c01334.entry.js +1 -0
  1044. package/dist/magma-components/p-a8e1ce2f.entry.js +1 -0
  1045. package/dist/magma-components/{p-d0c0c195.entry.js → p-a9ba496d.entry.js} +1 -1
  1046. package/dist/magma-components/{p-ef4d07ba.entry.js → p-ab00b7b9.entry.js} +1 -1
  1047. package/dist/magma-components/p-ab4b617d.entry.js +1 -0
  1048. package/dist/magma-components/p-ae3bf24c.system.entry.js +12 -0
  1049. package/dist/magma-components/{p-495a70e2.entry.js → p-b23bee0c.entry.js} +1 -1
  1050. package/dist/magma-components/p-b476435f.entry.js +1 -0
  1051. package/dist/magma-components/p-b5789a7c.entry.js +1 -0
  1052. package/dist/magma-components/{p-bc30508b.entry.js → p-b738d3c1.entry.js} +1 -1
  1053. package/dist/magma-components/{p-ff4276d3.system.entry.js → p-bd97e368.system.entry.js} +1 -1
  1054. package/dist/magma-components/p-bf0cb77d.system.entry.js +29 -0
  1055. package/dist/magma-components/{p-6b2fff4b.system.entry.js → p-c3a3caae.system.entry.js} +1 -1
  1056. package/dist/magma-components/{p-890bae38.system.entry.js → p-c3c487aa.system.entry.js} +1 -1
  1057. package/dist/magma-components/{p-a47a9f11.system.entry.js → p-c50e20cf.system.entry.js} +1 -1
  1058. package/dist/magma-components/p-c6819aad.entry.js +1 -0
  1059. package/dist/magma-components/p-ca1969c5.entry.js +1 -0
  1060. package/dist/magma-components/p-cbb80188.entry.js +1 -0
  1061. package/dist/magma-components/{p-cc88c963.system.entry.js → p-cc9659e1.system.entry.js} +1 -1
  1062. package/dist/magma-components/{p-da6cf595.system.entry.js → p-ccc40c6a.system.entry.js} +2 -2
  1063. package/dist/magma-components/p-cf6f54e5.system.entry.js +9 -0
  1064. package/dist/magma-components/p-d0a93a14.system.entry.js +22 -0
  1065. package/dist/magma-components/{p-dbf69d54.system.entry.js → p-d0bfdb44.system.entry.js} +2 -2
  1066. package/dist/magma-components/p-d37fe692.system.entry.js +10 -0
  1067. package/dist/magma-components/{p-c1d8a25e.entry.js → p-d3d74616.entry.js} +1 -1
  1068. package/dist/magma-components/{p-da9afc4b.system.entry.js → p-d48c40ab.system.entry.js} +2 -2
  1069. package/dist/magma-components/{p-7448435b.system.entry.js → p-d561062f.system.entry.js} +4 -4
  1070. package/dist/magma-components/p-d6b38d8a.entry.js +1 -0
  1071. package/dist/magma-components/p-d8ae0f02.system.entry.js +15 -0
  1072. package/dist/magma-components/{p-25576b51.system.entry.js → p-d92ccce5.system.entry.js} +2 -2
  1073. package/dist/magma-components/{p-a2d10402.system.entry.js → p-d980c3d2.system.entry.js} +1 -1
  1074. package/dist/magma-components/p-da24a265.entry.js +1 -0
  1075. package/dist/magma-components/p-dbd34e3b.entry.js +1 -0
  1076. package/dist/magma-components/{p-21fe0fef.system.entry.js → p-dc1a5826.system.entry.js} +1 -1
  1077. package/dist/magma-components/p-e1383302.entry.js +1 -0
  1078. package/dist/magma-components/{p-95486c6a.system.entry.js → p-e39518b4.system.entry.js} +2 -2
  1079. package/dist/magma-components/{p-b509fb36.entry.js → p-e3a65644.entry.js} +1 -1
  1080. package/dist/magma-components/{p-1a5411a8.entry.js → p-e5950aee.entry.js} +1 -1
  1081. package/dist/magma-components/{p-3a88fc9b.system.entry.js → p-e5d41024.system.entry.js} +1 -1
  1082. package/dist/magma-components/{p-14b40c21.entry.js → p-e5eb2390.entry.js} +1 -1
  1083. package/dist/magma-components/{p-8ba250d6.system.entry.js → p-edf003f1.system.entry.js} +1 -1
  1084. package/dist/magma-components/p-f1aafe07.entry.js +1 -0
  1085. package/dist/magma-components/{p-69b37755.system.entry.js → p-f2f992c2.system.entry.js} +2 -2
  1086. package/dist/magma-components/{p-1287fb51.entry.js → p-f35608b2.entry.js} +1 -1
  1087. package/dist/magma-components/{p-b940888d.entry.js → p-f4d80d9a.entry.js} +1 -1
  1088. package/dist/magma-components/{p-fd53a51c.entry.js → p-f588cf9e.entry.js} +1 -1
  1089. package/dist/magma-components/{p-a53f6a94.system.entry.js → p-f66675f5.system.entry.js} +2 -2
  1090. package/dist/magma-components/{p-4225484c.entry.js → p-f670ed20.entry.js} +1 -1
  1091. package/dist/magma-components/{p-96f973e3.entry.js → p-f7147d05.entry.js} +1 -1
  1092. package/dist/magma-components/{p-4f24ccf3.entry.js → p-f78c1699.entry.js} +1 -1
  1093. package/dist/magma-components/{p-f48843b7.system.entry.js → p-f82c2b7e.system.entry.js} +1 -1
  1094. package/dist/magma-components/{p-c6b9a14e.system.entry.js → p-f889d413.system.entry.js} +7 -7
  1095. package/dist/magma-components/{p-70a911e8.entry.js → p-fac6f123.entry.js} +1 -1
  1096. package/dist/magma-components/{p-90fe332f.entry.js → p-fc2d1134.entry.js} +1 -1
  1097. package/dist/magma-components/{p-C25F_FlB.js → p-iX3kcwYg.js} +1 -1
  1098. package/dist/magma-components/{p-D8596ytD.system.js → p-mGgjNqBm.system.js} +6 -6
  1099. package/dist/stats.json +3484 -2638
  1100. package/dist/types/components/mds-entity/mds-entity.d.ts +1 -0
  1101. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +3 -3
  1102. package/dist/types/components/mds-link/mds-link.d.ts +71 -0
  1103. package/dist/types/components/mds-link/meta/dictionary.d.ts +3 -0
  1104. package/dist/types/components/mds-link/meta/types.d.ts +3 -0
  1105. package/dist/types/components.d.ts +103 -4
  1106. package/package.json +4 -3
  1107. package/dist/components/p-BHy4k3pJ.js +0 -1
  1108. package/dist/components/p-BLXRGNya.js +0 -1
  1109. package/dist/components/p-BN5kmfLJ.js +0 -8
  1110. package/dist/components/p-BUr3NqxM.js +0 -1
  1111. package/dist/components/p-C2fyy4Mv.js +0 -1
  1112. package/dist/components/p-CIWWmisz.js +0 -1
  1113. package/dist/components/p-CJyTL7Mj.js +0 -1
  1114. package/dist/components/p-CWwWCzma.js +0 -1
  1115. package/dist/components/p-ChrRK8N9.js +0 -1
  1116. package/dist/components/p-D3_jgpKd.js +0 -1
  1117. package/dist/components/p-DYpfVn7a.js +0 -1
  1118. package/dist/components/p-Ea5ilDf6.js +0 -1
  1119. package/dist/magma-components/p-0b5fe949.entry.js +0 -1
  1120. package/dist/magma-components/p-0b7a884e.system.entry.js +0 -29
  1121. package/dist/magma-components/p-12a2f8e2.system.entry.js +0 -13
  1122. package/dist/magma-components/p-14ef1aec.entry.js +0 -1
  1123. package/dist/magma-components/p-1989c0b4.entry.js +0 -8
  1124. package/dist/magma-components/p-1d68fc4a.system.entry.js +0 -80
  1125. package/dist/magma-components/p-20608f69.system.entry.js +0 -35
  1126. package/dist/magma-components/p-2061e567.entry.js +0 -1
  1127. package/dist/magma-components/p-21c2d7bd.entry.js +0 -1
  1128. package/dist/magma-components/p-2294945a.system.entry.js +0 -34
  1129. package/dist/magma-components/p-2c4d2717.entry.js +0 -1
  1130. package/dist/magma-components/p-2d7d9e4f.entry.js +0 -1
  1131. package/dist/magma-components/p-2e8f703e.entry.js +0 -1
  1132. package/dist/magma-components/p-357ec8c0.entry.js +0 -1
  1133. package/dist/magma-components/p-3b36319a.entry.js +0 -1
  1134. package/dist/magma-components/p-3e1b21bd.entry.js +0 -1
  1135. package/dist/magma-components/p-4116e328.system.entry.js +0 -1
  1136. package/dist/magma-components/p-4191bf22.entry.js +0 -1
  1137. package/dist/magma-components/p-4260da67.system.entry.js +0 -12
  1138. package/dist/magma-components/p-43338a07.entry.js +0 -1
  1139. package/dist/magma-components/p-4c2dad1e.system.entry.js +0 -81
  1140. package/dist/magma-components/p-51a869ee.entry.js +0 -1
  1141. package/dist/magma-components/p-52a85b97.system.entry.js +0 -9
  1142. package/dist/magma-components/p-5439125d.system.entry.js +0 -10
  1143. package/dist/magma-components/p-5a2deba5.entry.js +0 -1
  1144. package/dist/magma-components/p-5cef4711.entry.js +0 -1
  1145. package/dist/magma-components/p-61f0ebf3.entry.js +0 -1
  1146. package/dist/magma-components/p-677ef2a3.system.entry.js +0 -55
  1147. package/dist/magma-components/p-6da68fd5.entry.js +0 -1
  1148. package/dist/magma-components/p-6ebbcd7b.system.entry.js +0 -14
  1149. package/dist/magma-components/p-70f5536c.system.entry.js +0 -15
  1150. package/dist/magma-components/p-7502528c.entry.js +0 -1
  1151. package/dist/magma-components/p-765ff9a3.system.entry.js +0 -98
  1152. package/dist/magma-components/p-7a568cbf.entry.js +0 -1
  1153. package/dist/magma-components/p-7f776dff.entry.js +0 -1
  1154. package/dist/magma-components/p-811272a9.entry.js +0 -1
  1155. package/dist/magma-components/p-87b15008.entry.js +0 -1
  1156. package/dist/magma-components/p-8a4a2b5a.entry.js +0 -1
  1157. package/dist/magma-components/p-8c66c761.entry.js +0 -1
  1158. package/dist/magma-components/p-914d1b2a.system.entry.js +0 -111
  1159. package/dist/magma-components/p-91ed604f.entry.js +0 -1
  1160. package/dist/magma-components/p-938dbe67.system.entry.js +0 -27
  1161. package/dist/magma-components/p-93d8b236.system.entry.js +0 -10
  1162. package/dist/magma-components/p-9a28bd8d.system.entry.js +0 -20
  1163. package/dist/magma-components/p-9caf411a.system.entry.js +0 -13
  1164. package/dist/magma-components/p-BHS0WXNt.system.js +0 -107
  1165. package/dist/magma-components/p-QYez4sql.system.js +0 -5
  1166. package/dist/magma-components/p-a08d20c2.system.entry.js +0 -1
  1167. package/dist/magma-components/p-a51f849a.entry.js +0 -1
  1168. package/dist/magma-components/p-a6fe6b4c.system.entry.js +0 -1
  1169. package/dist/magma-components/p-a8593847.entry.js +0 -1
  1170. package/dist/magma-components/p-ac4109e3.entry.js +0 -1
  1171. package/dist/magma-components/p-b36d54e1.system.entry.js +0 -41
  1172. package/dist/magma-components/p-b48fc62e.entry.js +0 -1
  1173. package/dist/magma-components/p-bba4c7eb.entry.js +0 -1
  1174. package/dist/magma-components/p-bdd18c90.system.entry.js +0 -25
  1175. package/dist/magma-components/p-c3622315.entry.js +0 -1
  1176. package/dist/magma-components/p-c6db7a0f.system.entry.js +0 -22
  1177. package/dist/magma-components/p-ca8e0927.system.entry.js +0 -7
  1178. package/dist/magma-components/p-cfe080ab.system.entry.js +0 -54
  1179. package/dist/magma-components/p-d3678561.system.entry.js +0 -35
  1180. package/dist/magma-components/p-daf9c8ca.system.entry.js +0 -4
  1181. package/dist/magma-components/p-dd8fb2f8.system.entry.js +0 -105
  1182. package/dist/magma-components/p-e15a874b.entry.js +0 -1
  1183. package/dist/magma-components/p-e954b5c5.entry.js +0 -1
  1184. package/dist/magma-components/p-eba7cfb3.entry.js +0 -1
  1185. package/dist/magma-components/p-f454c06b.entry.js +0 -1
  1186. package/dist/magma-components/p-f7f6881a.entry.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{s as setAttributeIfEmpty}from"./aria-Cvhn9asj.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-AEckDMXh.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var mdsTabBarItemCss=function(){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}}}@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-tab-bar-item-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--magma-outline-blur-offset:-8px;--magma-outline-focus-offset:-4px;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-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));color:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;transition-duration:.2s;transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:color,background-color,fill;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))))}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}@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-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'};var MdsTabBarItem=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabBarItemSelect",7);this.km=new KeyboardManager;
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{K as KeyboardManager}from"./keyboard-manager-CGrPq3C4.js";import{s as setAttributeIfEmpty}from"./aria-Cvhn9asj.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-AEckDMXh.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTabBarItemCss=function(){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}}}@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-tab-bar-item-background:rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204)));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--magma-outline-blur-offset:calc(var(--spacing,.0025rem)*-200);--magma-outline-focus-offset:calc(var(--spacing,.0025rem)*-100);animation-duration:var(--magma-outline-animation-duration,1s);animation-fill-mode:forwards;animation-iteration-count:infinite;animation-name:focus-bounce;animation-play-state:paused;animation-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));outline:var(--magma-outline-blur,2px solid var(--magma-outline-blur-color,#0000));--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237))));color:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99))));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;transition-duration:.2s;transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:background-color,border-color,box-shadow,color,fill,outline,outline-offset,transform;transition-property:color,background-color,fill;transition-timing-function:ease-in-out;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host:focus-visible{--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--variant-primary-03,7 76 204))))}:host(:focus-visible){--magma-outline-blur:var(--magma-outline-focus);animation-play-state:running}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}:host([pref-contrast=more]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}@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-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--variant-primary-02,0 57 163)))}}'};var MdsTabBarItem=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabBarItemSelect",7);this.km=new KeyboardManager;
2
2
  /**
3
3
  * The icon displayed in the tab bar item.
4
4
  */this.icon="";
@@ -12,4 +12,4 @@ this.select=function(){if(e.selected)return;e.selected=true;e.selectedEvent.emit
12
12
  // does. A role set by the caller is theirs and stays
13
13
  t.prototype.componentDidLoad=function(){setAttributeIfEmpty(this.element,"role","button");this.km.addElement(this.element);this.km.attachClickBehavior("element",{space:true})};
14
14
  // an item moved in the page is disconnected and connected again, without loading again
15
- t.prototype.connectedCallback=function(){this.km.attachClickBehavior("element",{space:true})};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.render=function(){return h(Host,{key:"07a69626ce8cb7ba0b06b73c3f142288afe2840d","aria-current":this.selected?"true":undefined,onClick:this.select,tabindex:"0","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-icon",{key:"b39c091c24e9083ca99d5652683930a079ff871e",name:this.icon}),h("mds-text",{key:"abf14096b043f1986ef0bd94658c9e1c5c957a87",typography:this.typography},this.label||h("slot",{key:"11b55d8935e8d74c6f830b93fb9b7a8e11248638",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTabBarItem.style=mdsTabBarItemCss();export{MdsTabBarItem as mds_tab_bar_item};
15
+ t.prototype.connectedCallback=function(){this.km.attachClickBehavior("element",{space:true})};t.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.render=function(){return h(Host,{key:"cc74d2b10333b44f039d2083c52413155f768a16","aria-current":this.selected?"true":undefined,onClick:this.select,tabindex:"0","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-icon",{key:"4077a35344fc4f3064699e18cfbc7427b5300a67",name:this.icon}),h("mds-text",{key:"36ededab896953c87d0efbc5f7e5f80040cfbbf4",typography:this.typography},this.label||h("slot",{key:"3e6f3eb573054afdd6fd58d37a77a4c927d50c44",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTabBarItem.style=mdsTabBarItemCss();export{MdsTabBarItem as mds_tab_bar_item};
@@ -1,5 +1,5 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var mdsTabBarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-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-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));bottom:0;box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-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-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsTabBar=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabBarChange",7);this.queryItems=function(){return e.element.querySelectorAll("mds-tab-bar-item")}}
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTabBarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-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-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));bottom:0;box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-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-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsTabBar=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.changedEvent=createEvent(this,"mdsTabBarChange",7);this.queryItems=function(){return t.element.querySelectorAll("mds-tab-bar-item")}}
2
2
  // An item keeps the id its author gave it, one without gets `mds-tab-bar-item-<index>`, what its
3
3
  // event reported before; the bar tells the items apart by element, not by id. It used to
4
4
  // overwrite every id (#827)
5
- t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,e){if(t.id==="")t.id="mds-tab-bar-item-".concat(e)}))};t.prototype.changeEventHandler=function(t){var e=this;var r=this.queryItems();r.forEach((function(r,a){r.selected=r===t.target;if(r.selected){e.changedEvent.emit({index:a})}}))};t.prototype.render=function(){return h(Host,{key:"6320f7b885ccafa39184782fe4dd58c9ab8b7d2c","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("slot",{key:"9330f606072bfce3e90c8216421fe93a95873e13"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTabBar.style=mdsTabBarCss();export{MdsTabBar as mds_tab_bar};
5
+ e.prototype.componentWillLoad=function(){var e=this.queryItems();e.forEach((function(e,t){if(e.id==="")e.id="mds-tab-bar-item-".concat(t)}))};e.prototype.changeEventHandler=function(e){var t=this;var r=this.queryItems();r.forEach((function(r,a){r.selected=r===e.target;if(r.selected){t.changedEvent.emit({index:a})}}))};e.prototype.render=function(){return h(Host,{key:"b4e6ca24b863ae73e7676473d82baf007e75acad","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("slot",{key:"a919f92ebae8394fcf2bbb914fbdbfcebc677bd6"}))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTabBar.style=mdsTabBarCss();export{MdsTabBar as mds_tab_bar};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-Cvhn9asj.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var mdsTabCss=function(){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)) -2px #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 2px var(--mds-tab-tabs-wrapper-shadow-color,rgb(var(--magma-wash-soft,var(--tone-neutral-10,237 237 237)))) inset;--mds-tab-transition-duration:.5s;--private-tab-transition-duration:var(--mds-tab-transition-duration,.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,.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,.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:.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}}'};var MdsTab=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabChange",7);this.currentItemIndex=-1;this.tabItems=[];this.contentItems=[];this.sliderWidth=-1;this.sliderHeight=-1;this.sliderOffsetX=-1;this.sliderOffsetY=-1;
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{b as queryChildrenBySlot}from"./slot-AEckDMXh.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-Cvhn9asj.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTabCss=function(){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}}'};var MdsTab=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabChange",7);this.currentItemIndex=-1;this.tabItems=[];this.contentItems=[];this.sliderWidth=-1;this.sliderHeight=-1;this.sliderOffsetX=-1;this.sliderOffsetY=-1;
2
2
  /** the slider slides only to follow a selection, any other move draws it in place */this.sliderSlides=false;this.overflowLeft=false;this.overflowRight=false;
3
3
  /** every item is a link: the strip is a navigation, not a tablist */this.navigation=false;this.hasContent=false;
4
4
  /**
@@ -27,7 +27,7 @@ if(t<0||t>=a.tabItems.length)return;var r=a.tabItems[t];setTimeout((function(){a
27
27
  this.tabItems.forEach((function(r,e){var s;if(r.id===t.detail.target.id){a.changedEvent.emit({id:e,value:r.value});a.currentItemIndex=e;a.currentItemEl=a.tabItems[a.currentItemIndex];a.scrollTabs(e);r.selected=true;
28
28
  // for some reason, mds-tab-item looses focus when we click Enter with the keyboard,
29
29
  // which forces user to find again where the tab is with keyboard
30
- var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.querySelector("mds-button");setTimeout((function(){i.focus()}),0);return}r.selected=undefined}));this.selectContentItem();this.updateSliderPosition(true)};t.prototype.focusEventHandler=function(t){var a=this;this.tabItems.forEach((function(r,e){if(r.id===t.detail.target.id){a.scrollTabs(e)}}))};t.prototype.handleAnimationChange=function(t){this.tabItems.forEach((function(a){a.animation=t}));this.updateSliderPosition()};t.prototype.handleDirectionChange=function(t){this.tabItems.forEach((function(a){a.direction=t}))};t.prototype.handleScrollbarChange=function(t){if(t===false){this.scrollbar=undefined}};t.prototype.handleFillChange=function(t){if(t===false){this.fill=undefined}};t.prototype.handleOverflowChange=function(t){if(!t){this.unsetOverflowCheck();return}this.initOverflowCheck()};t.prototype.handleSizeChange=function(t){this.tabItems.forEach((function(a){a.size=t}))};t.prototype.render=function(){return h(Host,{key:"780966a4389bc21db5a6236aad4e2af6b2d3192b","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"2f75159dd2f2d3157942333d6fbe38d50db7eefc",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&h("div",{key:"fed97d11b8ecaad311ba6d2786f9b943746db74d",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"e3820235416a017c11a709512f88b04a4e3011c4",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"e5e2dbfd2794f24e70ca7f6a3b16945abd65edd0",class:"tabs",part:"tabs",role:this.navigation?undefined:"tablist"},h("slot",{key:"d918fa0ba194bffdc4f563e17450cc3c4b6704ca"}),this.animation==="slide"&&h("div",{key:"49e15a844be7dd7632191e9f7f1b508be34a2f62",class:clsx("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":"".concat(this.sliderWidth,"px"),"--mds-tab-slider-height":"".concat(this.sliderHeight,"px"),"--mds-tab-slider-offset-x":"".concat(this.sliderOffsetX,"px"),"--mds-tab-slider-offset-y":"".concat(this.sliderOffsetY,"px")}}))),h("div",{key:"5906706f684aeb6f0be7dd1abea27746d71716cf",class:clsx("contents",!this.hasContent&&"contents--empty"),part:"contents"},h("slot",{key:"088916022b6a8cbc4ab595202aadbfac4bd16d4d",name:"content",onSlotchange:this.updateContentItems})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return t}();MdsTab.style=mdsTabCss();var mdsTabItemCss=function(){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))}}"};var MdsTabItem=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabItemSelect",7);this.focusedEvent=createEvent(this,"mdsTabItemFocus",7);
30
+ var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.querySelector("mds-button");setTimeout((function(){i.focus()}),0);return}r.selected=undefined}));this.selectContentItem();this.updateSliderPosition(true)};t.prototype.focusEventHandler=function(t){var a=this;this.tabItems.forEach((function(r,e){if(r.id===t.detail.target.id){a.scrollTabs(e)}}))};t.prototype.handleAnimationChange=function(t){this.tabItems.forEach((function(a){a.animation=t}));this.updateSliderPosition()};t.prototype.handleDirectionChange=function(t){this.tabItems.forEach((function(a){a.direction=t}))};t.prototype.handleScrollbarChange=function(t){if(t===false){this.scrollbar=undefined}};t.prototype.handleFillChange=function(t){if(t===false){this.fill=undefined}};t.prototype.handleOverflowChange=function(t){if(!t){this.unsetOverflowCheck();return}this.initOverflowCheck()};t.prototype.handleSizeChange=function(t){this.tabItems.forEach((function(a){a.size=t}))};t.prototype.render=function(){return h(Host,{key:"b9474219c7421526e30e8febc947b47b683357a4","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"f9aa464b8914a2cb1ae6497fcb69d52739adb762",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&h("div",{key:"9a81df0034b32064c3d94b014796e9173f4992d5",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"5bfd4224e87cfc2e5e9e9b872ef1b42aa23e5747",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"5d538912fa1178d25c59e6343937f3210a84f706",class:"tabs",part:"tabs",role:this.navigation?undefined:"tablist"},h("slot",{key:"2c502d336726ce432d7b67c66753aa3ca3018ba8"}),this.animation==="slide"&&h("div",{key:"88ed37cafc1258c08f67f17413e1a9858443da39",class:clsx("slider",!this.sliderSlides&&"slider--still"),part:"slider",style:{"--mds-tab-slider-width":"".concat(this.sliderWidth,"px"),"--mds-tab-slider-height":"".concat(this.sliderHeight,"px"),"--mds-tab-slider-offset-x":"".concat(this.sliderOffsetX,"px"),"--mds-tab-slider-offset-y":"".concat(this.sliderOffsetY,"px")}}))),h("div",{key:"678d1e8cf009f2a34b4909c932916d4c2be209b9",class:clsx("contents",!this.hasContent&&"contents--empty"),part:"contents"},h("slot",{key:"c366b4abf8f5675511e78253bc6f72d16faf462f",name:"content",onSlotchange:this.updateContentItems})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{animation:[{handleAnimationChange:0}],direction:[{handleDirectionChange:0}],scrollbar:[{handleScrollbarChange:0}],fill:[{handleFillChange:0}],overflow:[{handleOverflowChange:0}],size:[{handleSizeChange:0}]}},enumerable:false,configurable:true});return t}();MdsTab.style=mdsTabCss();var mdsTabItemCss=function(){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))}}"};var MdsTabItem=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabItemSelect",7);this.focusedEvent=createEvent(this,"mdsTabItemFocus",7);
31
31
  /**
32
32
  * Specifies the horizontal position of the icon displayed in the tab item
33
33
  */this.iconPosition="left";
@@ -41,7 +41,7 @@ var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.
41
41
  if(a.isLink()&&(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){return}a.isSelected=!a.isSelected;if(a.isSelected){a.selectedEvent.emit({target:a.element,value:a.value})}};this.focus=function(){a.focusedEvent.emit({target:a.element,value:a.value})}}t.prototype.validateActive=function(t){
42
42
  // the item that announced its selection gets `selected` back from the parent: it has
43
43
  // announced it already, a second time would double the parent's mdsTabChange
44
- if(this.isSelected===t)return;this.isSelected=t;if(this.isSelected){this.selectedEvent.emit({target:this.element,value:this.value})}};t.prototype.componentWillLoad=function(){this.hasText=this.element.innerHTML!==""};t.prototype.render=function(){var t;return h(Host,{key:"cb3a7e892230ac67077ccd09a09fecbace72eb79","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"453e7166703965d64de05e1a9900eb9f235bd9e5",class:clsx("button",this.selected?"selected":""),await:this.await,disabled:(t=this.disabled)!==null&&t!==void 0?t:undefined,href:this.href,icon:this.icon,iconPosition:this.iconPosition,onKeyDown:this.focus,onClick:this.toggle,part:"button",
44
+ if(this.isSelected===t)return;this.isSelected=t;if(this.isSelected){this.selectedEvent.emit({target:this.element,value:this.value})}};t.prototype.componentWillLoad=function(){this.hasText=this.element.innerHTML!==""};t.prototype.render=function(){var t;return h(Host,{key:"8cd84859ca4d91d489035a6617c746e171411504","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"efdb787a43352121d95c82aab4f595da76b253af",class:clsx("button",this.selected?"selected":""),await:this.await,disabled:(t=this.disabled)!==null&&t!==void 0?t:undefined,href:this.href,icon:this.icon,iconPosition:this.iconPosition,onKeyDown:this.focus,onClick:this.toggle,part:"button",
45
45
  // a tab controls a panel; one with href is a link to another page or place, which
46
46
  // ARIA names as such, the selected one being the current one
47
47
  role:this.isLink()?"link":"tab","aria-current":this.isLink()&&this.selected?"true":undefined,"aria-expanded":this.expanded===undefined?undefined:"".concat(this.expanded),label:this.label,size:this.size,
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-CPRkNQdE.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var mdsTableBodyCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row: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-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-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-table-body-transition-duration:0s}}'};var MdsTableBody=/** @class */function(){function a(a){registerInstance(this,a)}a.prototype.render=function(){return h(Host,{key:"5e918bf491f104a62a39beeeaa8f5ffde267928a",role:"rowgroup","pref-animation":preferenceStore.state.animation},h("slot",{key:"2a0b4df364406f5461136b670e63394df7202c29"}))};return a}();MdsTableBody.style=mdsTableBodyCss();export{MdsTableBody as mds_table_body};
1
+ import{r as registerInstance,h,e as Host}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTableBodyCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-row: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-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-body-background-alt:var(--mds-table-body-background-hover);--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-body-transition-duration:var(--duration-200,.2s);--private-table-body-transition-duration:var(--mds-table-body-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-body-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));display:table-row-group;overflow:hidden;transition-duration:var(--private-table-body-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host(:last-of-type) ::slotted(:last-of-type){--private-cell-border-color:#0000}:host([interactive]:hover){--mds-table-row-background:var(--mds-table-body-background-hover);--mds-table-row-color:var(--mds-table-body-color-alt,rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-body-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-table-body-transition-duration:0s}}'};var MdsTableBody=/** @class */function(){function a(a){registerInstance(this,a)}a.prototype.render=function(){return h(Host,{key:"76bae267803f40922fea7ff108a48630e41026b5",role:"rowgroup","pref-animation":preferenceStore.state.animation},h("slot",{key:"74776d83c07824853a01ca592e3b9650e90e4011"}))};return a}();MdsTableBody.style=mdsTableBodyCss();export{MdsTableBody as mds_table_body};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var mdsTableFooterCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-footer-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-table-footer-transition-duration:0s}}'};var MdsTableFooter=/** @class */function(){function e(e){registerInstance(this,e);this.hasActions=false}e.prototype.componentWillLoad=function(){var e;
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var mdsTableFooterCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-table-cell:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-footer-transition-duration:var(--duration-200,.2s);--private-table-footer-transition-duration:var(--mds-table-footer-transition-duration);--mds-table-row-background:var(--mds-table-background);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-top:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions,.selection,::slotted(mds-table-cell){--private-cell-border-color:#0000}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-footer-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-table-footer-transition-duration:0s}}'};var MdsTableFooter=/** @class */function(){function e(e){registerInstance(this,e);this.hasActions=false}e.prototype.componentWillLoad=function(){var e;
2
2
  // the rows with actions have a last column of their own, which the header labels: an empty
3
3
  // cell lines the footer up with it, as the selection cell does with the first column
4
- this.hasActions=((e=this.host.closest("mds-table"))===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"41d8587173bcce57eda0fecfab527c1249c36abb",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"9d4a2917204e5dd74828503a9e2e433b7109201b",class:"selection"}),h("slot",{key:"9725d40c49a6d66d2e4493999e524a4624b08448"}),this.hasActions&&h("mds-table-cell",{key:"db467095873d0fb915e25cc0ac6013b06691ab97",class:"actions"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
4
+ this.hasActions=((e=this.host.closest("mds-table"))===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"992e254f46b5f223e417c237d908a3aecadcba59",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"4d2c52a81eb66e010642a743dcdef9b5dda170c2",class:"selection"}),h("slot",{key:"28dd518f6b89b73f843474b2a6782fa6566b7bdd"}),this.hasActions&&h("mds-table-cell",{key:"4c001d05134ff04807338195a63356065e0c3c16",class:"actions"}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
@@ -1,4 +1,4 @@
1
- var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-CPRkNQdE.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineUnfoldMore='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>';var mdsTableHeaderCellCss=function(){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;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@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-table-header-cell-transition-duration:0s}}'};var cycle=["none","ascending","descending"];
1
+ var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,a;n<i;n++){if(a||!(n in t)){if(!a)a=Array.prototype.slice.call(t,0,n);a[n]=t[n]}}return e.concat(a||Array.prototype.slice.call(t))};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-CvLLN-QH.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{m as miBaselineKeyboardArrowUp}from"./keyboard-arrow-up-Ccz0jCNB.js";import{m as miBaselineKeyboardArrowDown}from"./keyboard-arrow-down-DiWN48aq.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineUnfoldMore='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 5.83L15.17 9l1.41-1.41L12 3L7.41 7.59L8.83 9L12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15L12 18.17z"/></svg>';var mdsTableHeaderCellCss=function(){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;--tw-font-weight:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-cell-transition-duration:var(--duration-200,.2s);--private-table-header-cell-transition-duration:var(--mds-table-header-cell-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background);border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color)!important;border-top:var(--private-cell-border-width) solid #0000!important;display:table-cell;padding:var(--mds-table-cell-padding);transition-duration:var(--private-table-header-cell-transition-duration);transition-property:background-color,border-color,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));vertical-align:top;white-space:nowrap}.action{margin-inline:calc(var(--spacing,.0025rem)*-200);padding-inline:calc(var(--spacing,.0025rem)*200)}.action:hover,:host([direction=ascending]) .action,:host([direction=descending]) .action{background-color:var(--mds-table-background-alt)}.action::part(label){font-family:var(--font-info,Karla,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif);min-height:auto;text-box:trim-both cap alphabetic;--tw-font-weight:var(--font-weight-bold,700);font-weight:var(--font-weight-bold,700);text-transform:uppercase;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-size-info-label,.75rem);font-weight:var(--tw-font-weight,var(--text-size-info-label--font-weight,700));line-height:var(--tw-leading,var(--text-size-info-label--line-height,1rem))}.label{align-items:center;display:inline-flex;height:calc(var(--spacing,.0025rem)*700)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-cell-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@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-table-header-cell-transition-duration:0s}}'};var cycle=["none","ascending","descending"];
2
2
  // the order the rows of a table body had before any column sorted them, brought back when the
3
3
  // last sorted column returns to none; rows that left the body in the meantime stay out
4
4
  var naturalOrder=new WeakMap;var MdsTableHeaderCell=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.sortEvent=createEvent(this,"mdsTableHeaderCellSort",7);
@@ -20,4 +20,4 @@ this.observeRows=function(e){var r;(r=t.bodyObserver)===null||r===void 0?void 0:
20
20
  /**
21
21
  * Brings the table in line with `direction`, whoever set it: one sorted column at a time, the
22
22
  * rows in its order unless the table sorts them outside, the marks of the sorted column.
23
- */this.applyDirection=function(){var e=t.body();if(!t.sortable||!e){return}if(t.direction!=="none"){t.siblings().forEach((function(e){if(e.direction!=="none"){e.direction="none"}}))}if(!t.isExternal()){t.sortRows(e)}t.markRows(e);t.observeRows(e)};this.sort=function(){var e=cycle[(cycle.indexOf(t.direction)+1)%cycle.length];t.writingDirection=true;t.direction=e;t.writingDirection=false;t.applyDirection();t.sortEvent.emit({direction:e,index:t.index(),sortKey:t.sortKey})}}e.prototype.componentDidLoad=function(){if(this.direction!=="none"){this.applyDirection()}};e.prototype.disconnectedCallback=function(){var e;(e=this.bodyObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.directionHandler=function(){if(this.writingDirection){return}this.applyDirection()};e.prototype.render=function(){return h(Host,{key:"d324f7327e6a5565fe948e1d93e00d28b94ecd86",role:"columnheader","aria-sort":this.direction,"pref-animation":preferenceStore.state.animation},this.sortable?h("mds-button",{class:"action",icon:clsx(this.direction==="none"&&miBaselineUnfoldMore,this.direction==="ascending"&&miBaselineKeyboardArrowUp,this.direction==="descending"&&miBaselineKeyboardArrowDown),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):h("mds-text",{class:"label",typography:"label",part:"label"},this.label))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return e}();MdsTableHeaderCell.style=mdsTableHeaderCellCss();export{MdsTableHeaderCell as mds_table_header_cell};
23
+ */this.applyDirection=function(){var e=t.body();if(!t.sortable||!e){return}if(t.direction!=="none"){t.siblings().forEach((function(e){if(e.direction!=="none"){e.direction="none"}}))}if(!t.isExternal()){t.sortRows(e)}t.markRows(e);t.observeRows(e)};this.sort=function(){var e=cycle[(cycle.indexOf(t.direction)+1)%cycle.length];t.writingDirection=true;t.direction=e;t.writingDirection=false;t.applyDirection();t.sortEvent.emit({direction:e,index:t.index(),sortKey:t.sortKey})}}e.prototype.componentDidLoad=function(){if(this.direction!=="none"){this.applyDirection()}};e.prototype.disconnectedCallback=function(){var e;(e=this.bodyObserver)===null||e===void 0?void 0:e.disconnect()};e.prototype.directionHandler=function(){if(this.writingDirection){return}this.applyDirection()};e.prototype.render=function(){return h(Host,{key:"76813fcc6d44572d0db8b843ecd236cd0eaf6054",role:"columnheader","aria-sort":this.direction,"pref-animation":preferenceStore.state.animation},this.sortable?h("mds-button",{class:"action",icon:clsx(this.direction==="none"&&miBaselineUnfoldMore,this.direction==="ascending"&&miBaselineKeyboardArrowUp,this.direction==="descending"&&miBaselineKeyboardArrowDown),"icon-position":"right",onClick:this.sort,tone:"text",variant:"dark",size:"sm",part:"action",label:this.label}):h("mds-text",{class:"label",typography:"label",part:"label"},this.label))};Object.defineProperty(e.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return e}();MdsTableHeaderCell.style=mdsTableHeaderCellCss();export{MdsTableHeaderCell as mds_table_header_cell};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,o,a){function n(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,i){function r(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a["throw"](e))}catch(e){i(e)}}function l(e){e.done?o(e.value):n(e.value).then(r,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(o=0)),o)try{if(a=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;n=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(s[0]===6&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}if(i[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];n=0}finally{a=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{L as Locale}from"./locale-DfpXg7qZ.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var actions$3="Ενέργεια";var selectAllRows$3="Επιλογή όλων των γραμμών";var selectNoneRows$3="Αποεπιλογή όλων των γραμμών";var localeEl={actions:actions$3,selectAllRows:selectAllRows$3,selectNoneRows:selectNoneRows$3};var actions$2="Action";var selectAllRows$2="Select all rows";var selectNoneRows$2="Deselect all rows";var localeEn={actions:actions$2,selectAllRows:selectAllRows$2,selectNoneRows:selectNoneRows$2};var actions$1="Acción";var selectAllRows$1="Seleccionar todas las filas";var selectNoneRows$1="Deseleccionar todas las filas";var localeEs={actions:actions$1,selectAllRows:selectAllRows$1,selectNoneRows:selectNoneRows$1};var actions="Azione";var selectAllRows="Seleziona tutte le righe";var selectNoneRows="Deseleziona tutte le righe";var localeIt={actions:actions,selectAllRows:selectAllRows,selectNoneRows:selectNoneRows};var mdsTableHeaderCss=function(){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-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-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-table-header-transition-duration:0s}}'};var MdsTableHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.selectAll=false;this.hasActions=false;this.indeterminate=false;this.hasSelection=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.handleSelectAllChange=function(e){var o,a;if(t.indeterminate){t.selectAll=true}else{t.selectAll=(o=e.detail.checked)!==null&&o!==void 0?o:false}t.indeterminate=false;(a=t.table)===null||a===void 0?void 0:a.selectAll(t.selectAll)}}
1
+ var __awaiter=this&&this.__awaiter||function(e,t,o,a){function n(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,i){function r(e){try{l(a.next(e))}catch(e){i(e)}}function s(e){try{l(a["throw"](e))}catch(e){i(e)}}function l(e){e.done?o(e.value):n(e.value).then(r,s)}l((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var o={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},a,n,i,r=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return r.next=s(0),r["throw"]=s(1),r["return"]=s(2),typeof Symbol==="function"&&(r[Symbol.iterator]=function(){return this}),r;function s(e){return function(t){return l([e,t])}}function l(s){if(a)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(o=0)),o)try{if(a=1,n&&(i=s[0]&2?n["return"]:s[0]?n["throw"]||((i=n["return"])&&i.call(n),0):n.next)&&!(i=i.call(n,s[1])).done)return i;if(n=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;n=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(i=o.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){o.label=s[1];break}if(s[0]===6&&o.label<i[1]){o.label=i[1];i=s;break}if(i&&o.label<i[2]){o.label=i[2];o.ops.push(s);break}if(i[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];n=0}finally{a=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{L as Locale}from"./locale-BQmO6K_S.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var actions$3="Ενέργεια";var selectAllRows$3="Επιλογή όλων των γραμμών";var selectNoneRows$3="Αποεπιλογή όλων των γραμμών";var localeEl={actions:actions$3,selectAllRows:selectAllRows$3,selectNoneRows:selectNoneRows$3};var actions$2="Action";var selectAllRows$2="Select all rows";var selectNoneRows$2="Deselect all rows";var localeEn={actions:actions$2,selectAllRows:selectAllRows$2,selectNoneRows:selectNoneRows$2};var actions$1="Acción";var selectAllRows$1="Seleccionar todas las filas";var selectNoneRows$1="Deseleccionar todas las filas";var localeEs={actions:actions$1,selectAllRows:selectAllRows$1,selectNoneRows:selectNoneRows$1};var actions="Azione";var selectAllRows="Seleziona tutte le righe";var selectNoneRows="Deseleziona tutte le righe";var localeIt={actions:actions,selectAllRows:selectAllRows,selectNoneRows:selectNoneRows};var mdsTableHeaderCss=function(){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-input-switch,mds-table-cell,mds-table-header-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-header-transition-duration:var(--duration-200,.2s);--private-table-header-transition-duration:var(--mds-table-header-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-bottom:var(--private-cell-border-width) solid var(--private-cell-border-color);display:table-row;overflow:hidden;transition-duration:var(--private-table-header-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.actions{text-align:right}.selection{--mds-table-cell-background:var(--mds-table-background);vertical-align:middle}.checkbox-wrapper{display:flex}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-header-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-table-header-transition-duration:0s}}'};var MdsTableHeader=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.selectAll=false;this.hasActions=false;this.indeterminate=false;this.hasSelection=false;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.handleSelectAllChange=function(e){var o,a;if(t.indeterminate){t.selectAll=true}else{t.selectAll=(o=e.detail.checked)!==null&&o!==void 0?o:false}t.indeterminate=false;(a=t.table)===null||a===void 0?void 0:a.selectAll(t.selectAll)}}
2
2
  /**
3
3
  * Updates the header's select-all state from the number of selected rows.
4
4
  * @param selectedItems the number of currently selected rows
@@ -16,4 +16,4 @@ this.checkboxEl.checked=t>0&&e===t;return[2/*return*/]}))}))};
16
16
  * @param hasActions whether any row has actions
17
17
  */e.prototype.setActions=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.hasActions=e;return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){var e;this.table=this.host.closest("mds-table");
18
18
  // standalone header (or SSR of the subtree alone): no surrounding table
19
- this.hasActions=((e=this.table)===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"75ac5be5f4e4b3e0e53140116a98ef64feff6aba",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"e2152dcf3b944fba3ebb09d39b7e33032a7c1e71",class:"selection",role:"columnheader"},h("div",{key:"69a38fd4eafc13e926fbd2f37b6c2e68fd97aa6c",class:"checkbox-wrapper"},h("mds-input-switch",{key:"50b32b14632f3194e1e86fd41c54c42b5e582c49",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"ca7f0a6eb82be383b22cbc0701d95e7debf6dded"}),this.hasActions&&h("mds-table-header-cell",{key:"17b31a6574c2f617f4604f90b1b6720aad03762a",part:"actions",class:"actions",label:this.t.get("actions")}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableHeader.style=mdsTableHeaderCss();export{MdsTableHeader as mds_table_header};
19
+ this.hasActions=((e=this.table)===null||e===void 0?void 0:e.querySelector('mds-table-row > [slot="action"]'))!=null};e.prototype.render=function(){return h(Host,{key:"32b7c5eca2946a064ccd7709186efb5d15c92b96",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"6aec7950d4b5da8efad1262cd092a2276757b0e7",class:"selection",role:"columnheader"},h("div",{key:"afde04a7eec1c3353545ef0d46bdc69f083fd50e",class:"checkbox-wrapper"},h("mds-input-switch",{key:"290efe5e2b52e0fff2b700b10225b8b5243c6001",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"07a8e3a7038beceff3ed65b49a819a2301219aef"}),this.hasActions&&h("mds-table-header-cell",{key:"cb8539d3afc1086ecfa42621b3a6d608fded320e",part:"actions",class:"actions",label:this.t.get("actions")}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableHeader.style=mdsTableHeaderCss();export{MdsTableHeader as mds_table_header};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement,B as Build}from"./index-CPRkNQdE.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-DfpXg7qZ.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";var selectRow$3="Επιλογή γραμμής";var unselectRow$3="Αποεπιλογή γραμμής";var localeEl={selectRow:selectRow$3,unselectRow:unselectRow$3};var selectRow$2="Select row";var unselectRow$2="Deselect row";var localeEn={selectRow:selectRow$2,unselectRow:unselectRow$2};var selectRow$1="Seleccionar fila";var unselectRow$1="Deseleccionar fila";var localeEs={selectRow:selectRow$1,unselectRow:unselectRow$1};var selectRow="Seleziona riga";var unselectRow="Deseleziona riga";var localeIt={selectRow:selectRow,unselectRow:unselectRow};var isSafari=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var mdsTableRowCss=function(){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-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:.5s;transition-property:transform,background-color,padding-right;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}.actions-cell--hidden{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-row-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-table-row-transition-duration:0s}}'};var MdsTableRow=/** @class */function(){function a(a){var e=this;registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ import{r as registerInstance,h,e as Host,g as getElement,B as Build}from"./index-CvLLN-QH.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-BQmO6K_S.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";var selectRow$3="Επιλογή γραμμής";var unselectRow$3="Αποεπιλογή γραμμής";var localeEl={selectRow:selectRow$3,unselectRow:unselectRow$3};var selectRow$2="Select row";var unselectRow$2="Deselect row";var localeEn={selectRow:selectRow$2,unselectRow:unselectRow$2};var selectRow$1="Seleccionar fila";var unselectRow$1="Deseleccionar fila";var localeEs={selectRow:selectRow$1,unselectRow:unselectRow$1};var selectRow="Seleziona riga";var unselectRow="Deseleziona riga";var localeIt={selectRow:selectRow,unselectRow:unselectRow};var isSafari=function(){if(navigator){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}return false};var mdsTableRowCss=function(){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-input-switch,mds-table-cell):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-table-row-color-hover:var(--mds-table-color,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-actions-gap:var(--mds-table-actions-gap,calc(var(--spacing,.0025rem)*400));--mds-table-row-transition-duration:var(--duration-200,.2s);--private-table-row-transition-duration:var(--mds-table-row-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));color:var(--mds-table-row-color);display:table-row;position:relative;transition-duration:var(--private-table-row-transition-duration);transition-property:color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.selection-cell{vertical-align:middle}.checkbox-wrapper{display:flex}:host([interactive]:hover){--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt);--mds-table-row-color:var(--mds-table-row-color-alt)}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5))))}.actions-view{display:flex;justify-content:end;pointer-events:none;position:absolute}.actions,.actions-view{align-items:center;inset:0}.actions{--mds-table-row-actions-background:var(--mds-table-row-background);background-color:var(--mds-table-row-actions-background);border-bottom-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--magma-radius-lg,var(--radius-squircle-lg,28px)) + var(--mds-table-border-width)*2);corner-shape:var(--magma-corner-shape,squircle);display:inline-flex;gap:var(--mds-table-row-actions-gap,calc(var(--spacing,.0025rem)*400));margin-right:100%;padding:calc(var(--mds-table-border-width)*2);padding-right:0;pointer-events:auto;position:sticky;transform:translate(100%);transition-duration:var(--duration-500,.5s);transition-property:transform,background-color,padding-right;transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1))}:host(:hover) .actions{transform:translate(100%)}:host([overlay-actions]) .actions{padding-right:var(--mds-table-cell-padding);transform:translate(100%)}:host([overlay-actions]:hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background);transform:translate(0)}:host(:not([interactive]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242))))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt)}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!important}.actions-cell--hidden{display:none}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-row-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-table-row-transition-duration:0s}}'};var MdsTableRow=/** @class */function(){function a(a){var e=this;registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies whether the row can be selected via a checkbox.
4
4
  */this.selectable=undefined;this.onActionSlotChange=function(){var a;var t=hasChildWithSlot(e.host,"action");
@@ -19,4 +19,4 @@ a.sizerWidth="".concat((o=(r=(t=e[0].borderBoxSize)===null||t===void 0?void 0:t[
19
19
  this.observer.observe(this.actions)};a.prototype.disconnectedCallback=function(){var a;(a=this.observer)===null||a===void 0?void 0:a.disconnect()};
20
20
  // the table learns of every change of `selected`, from the checkbox or from code: only the
21
21
  // checkbox used to tell it, so a row selected from code was missing from mdsTableSelectionChange
22
- a.prototype.selectedChanged=function(a,e){var t;if(!!a===!!e)return;void((t=this.host.closest("mds-table"))===null||t===void 0?void 0:t.updateSelection())};a.prototype.render=function(){var a=this;return h(Host,{key:"330581c37ab8d2ef7dcdf921dda1073d6aee0cf6",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"4f65af7ece88b8a03dcdfe4edc99667e16fe3666",class:"selection-cell"},h("div",{key:"e08ce3ddc72e3100b623cfbfaec6d20b7c594bb6",class:"checkbox-wrapper"},h("mds-input-switch",{key:"53cf77c09a207ceb82a34d8eaacc43041f486292",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"34ab55e3be74b9424dcbda4c0c78a5867839e537"}),isSafari()&&h("mds-table-cell",{key:"abc5bb671f69d0eca75ab1c75a8304929e283651",class:clsx("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"4dc6b1d8bebe0817aa33a252191e9d827760bf52",class:"actions"},h("slot",{key:"2c783bb1affdd0080334a5ae5ed4917902712a67",name:"action",onSlotchange:this.onActionSlotChange}))),!isSafari()&&h("mds-table-cell",{key:"70c8f210cfa402516083967f865f5f8d8ce3a338",class:clsx("actions-cell",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"55a986cc90d309516be378bfdc85f0f95167f03c",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),h("div",{key:"337a09915a9b06e2cff2474c5d1ad255975811ad",class:"actions-view"},h("div",{key:"ed38bc96787d46085130eb072399597204f4fc11",class:"actions",ref:function(e){return a.actions=e},style:this.sizerWidth!==undefined?{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}:undefined},h("slot",{key:"58366cdcbc22b36c9ea968d0f6db1ce799e73bed",name:"action",onSlotchange:this.onActionSlotChange})))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{selected:[{selectedChanged:0}]}},enumerable:false,configurable:true});return a}();MdsTableRow.style=mdsTableRowCss();export{MdsTableRow as mds_table_row};
22
+ a.prototype.selectedChanged=function(a,e){var t;if(!!a===!!e)return;void((t=this.host.closest("mds-table"))===null||t===void 0?void 0:t.updateSelection())};a.prototype.render=function(){var a=this;return h(Host,{key:"ece5ed7693c1e0ee6378a2a687122776f6f816f3",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"653ebfc6d144858f5b1a62ce3462c7e81841617b",class:"selection-cell"},h("div",{key:"7cea98c578483dc59b6f9d7ec44fe844a4138d27",class:"checkbox-wrapper"},h("mds-input-switch",{key:"5b29c6f7ebe67141799110a6226479858772f93b",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"038b655d11acef2fffd32f7cef52c17d99d2a77b"}),isSafari()&&h("mds-table-cell",{key:"0369e2736ae358accb506275227ac22581875e5f",class:clsx("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"239c5c2bff1b4f74732dfd641bbdb1a2a7186df0",class:"actions"},h("slot",{key:"bc69f336a2d695ba2a343604e4734b97e6d34502",name:"action",onSlotchange:this.onActionSlotChange}))),!isSafari()&&h("mds-table-cell",{key:"306e47348355789abb73e8d708a223abaf525d1e",class:clsx("actions-cell",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"527dfa9276109c758c8bfab658933af6f5176a3e",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),h("div",{key:"92f62cb36a03e4025db4b747989dbdccfde98df2",class:"actions-view"},h("div",{key:"427d55a22b6f6c23c10482b57589dcbb3350d626",class:"actions",ref:function(e){return a.actions=e},style:this.sizerWidth!==undefined?{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}:undefined},h("slot",{key:"c36f9952058fea6a3daace8368050444d96b293a",name:"action",onSlotchange:this.onActionSlotChange})))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(a,"watchers",{get:function(){return{selected:[{selectedChanged:0}]}},enumerable:false,configurable:true});return a}();MdsTableRow.style=mdsTableRowCss();export{MdsTableRow as mds_table_row};
@@ -1,4 +1,4 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function n(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?a(t.value):i(t.value).then(n,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;i=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-CPRkNQdE.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-DfpXg7qZ.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";import{h as hasChildWithSlot,o as observeChildren}from"./slot-AEckDMXh.js";var batchActions$3="Επιλεγμένα στοιχεία";var localeEl={batchActions:batchActions$3};var batchActions$2="Selected items";var localeEn={batchActions:batchActions$2};var batchActions$1="Elementos seleccionados";var localeEs={batchActions:batchActions$1};var batchActions="Elementi selezionati";var localeIt={batchActions:batchActions};var mdsTableCss=function(){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-table-body,mds-table-footer,mds-table-header):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-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var MdsTable=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectionEvent=createEvent(this,"mdsTableSelectionChange",7);this.hasBatchActions=false;this.cellsWidth=0;this.selectedRows=[];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
1
+ var __awaiter=this&&this.__awaiter||function(t,e,a,r){function i(t){return t instanceof a?t:new a((function(e){e(t)}))}return new(a||(a=Promise))((function(a,o){function n(t){try{c(r.next(t))}catch(t){o(t)}}function s(t){try{c(r["throw"](t))}catch(t){o(t)}}function c(t){t.done?a(t.value):i(t.value).then(n,s)}c((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var a={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,i,o,n=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return n.next=s(0),n["throw"]=s(1),n["return"]=s(2),typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function s(t){return function(e){return c([t,e])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(n&&(n=0,s[0]&&(a=0)),a)try{if(r=1,i&&(o=s[0]&2?i["return"]:s[0]?i["throw"]||((o=i["return"])&&o.call(i),0):i.next)&&!(o=o.call(i,s[1])).done)return o;if(i=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:a.label++;return{value:s[1],done:false};case 5:a.label++;i=s[1];s=[0];continue;case 7:s=a.ops.pop();a.trys.pop();continue;default:if(!(o=a.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(s[0]===6&&a.label<o[1]){a.label=o[1];o=s;break}if(o&&a.label<o[2]){a.label=o[2];a.ops.push(s);break}if(o[2])a.ops.pop();a.trys.pop();continue}s=e.call(t,a)}catch(t){s=[6,t];i=0}finally{r=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};import{r as registerInstance,d as createEvent,h,e as Host,g as getElement,B as Build}from"./index-CvLLN-QH.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-BQmO6K_S.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{h as hasChildWithSlot,o as observeChildren}from"./slot-AEckDMXh.js";var batchActions$3="Επιλεγμένα στοιχεία";var localeEl={batchActions:batchActions$3};var batchActions$2="Selected items";var localeEn={batchActions:batchActions$2};var batchActions$1="Elementos seleccionados";var localeEs={batchActions:batchActions$1};var batchActions="Elementi selezionati";var localeIt={batchActions:batchActions};var mdsTableCss=function(){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-table-body,mds-table-footer,mds-table-header):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-table-transition-duration:var(--duration-300,.3s);--private-table-transition-duration:var(--mds-table-transition-duration);--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--magma-surface-raised,var(--surface-neutral-raised,248 248 248)));--mds-table-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-table-border-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-border-width:calc(var(--spacing,.0025rem)*50);--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-table-separator-color:rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219)));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));--private-cell-border-width:var(--mds-table-border-width);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt);border-color:var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);border:var(--mds-table-border-width) solid var(--mds-table-border-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))))!important;display:flex;overflow:hidden;transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:rgb(var(--magma-surface-sunken,var(--surface-neutral-sunken,232 232 232)));corner-shape:inherit;display:flex;overflow:auto;width:100%}.table{border-collapse:initial;border-spacing:0;width:100%}.batch-actions-wrapper{corner-shape:inherit;display:flex;flex-shrink:0;max-width:0;transition-duration:var(--private-table-transition-duration);transition-property:max-width;transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));width:100%}.batch-actions-wrapper--has-selected-rows{max-width:var(--mds-table-batch-actions-width)}.batch-actions-header{align-items:center;display:flex;justify-content:space-between;padding:calc(var(--spacing,.0025rem)*300)}.batch-actions{background-color:var(--mds-table-background);border-left:var(--mds-table-border-width) solid var(--mds-table-separator-color,rgb(var(--magma-border-muted,var(--border-neutral-muted,219 219 219))));box-sizing:border-box;display:grid;flex-grow:1;gap:calc(var(--spacing,.0025rem)*50);grid-auto-rows:min-content;grid-template-columns:repeat(1,minmax(1px,100%));min-width:var(--mds-table-batch-actions-width);padding:calc(var(--mds-table-cell-padding)/2);width:100%}::slotted([slot=batch-action]){justify-content:start;width:100%}:host([selection]:not([selection=false])){--mds-table-body-background:var(--mds-table-body-background-hover)}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-contrast=more][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-contrast:more){:host([pref-contrast=system][pref-mode=dark]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-color-scheme:dark){:host([pref-contrast=more][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-table-background:rgb(var(--magma-wash-strong,var(--tone-neutral-08,208 208 208)));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--surface-neutral-default,242 242 242)));--mds-table-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)))}}'};var MdsTable=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectionEvent=createEvent(this,"mdsTableSelectionChange",7);this.hasBatchActions=false;this.cellsWidth=0;this.selectedRows=[];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies who sorts the rows when a sortable header cell changes direction: `internal` moves
4
4
  * them in the DOM, `external` leaves them to the application, which listens to
@@ -43,4 +43,4 @@ if(this.footer){this.footer.selectable=this.selectable}if(this.header){this.head
43
43
  this.updateActions()};t.prototype.disconnectedCallback=function(){var t,e,a;
44
44
  // the listener is on the scroll area, where watchActions put it: removing it from the host
45
45
  // removed nothing
46
- (t=this.scrollWrapper)===null||t===void 0?void 0:t.removeEventListener("scroll",this.handleActions);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.scrollWrapper=undefined;this.resizeObserver=undefined;(a=this.tableBodyObserver)===null||a===void 0?void 0:a.disconnect()};t.prototype.render=function(){return h(Host,{key:"5de264d1f6c2d4e95dcc780ec634bfd93fc62b58","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"4b38c540837b73204dede8d0a038cc2fc7d10c9b",class:"table-wrapper",part:"table-wrapper"},h("table",{key:"06888e0f8d87582f9a2a1ed8120a685bf0a9f024",class:clsx("table",this.interactive&&"table--interactive"),role:"table",part:"table"},h("slot",{key:"45b9378d89a221dd0b5e6f776012d018911a74a1",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&h("div",{key:"7d1d5ae1e86e4f02c61ec14ffe795701d7d189f4",class:clsx("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},h("div",{key:"5429febe4ec53e0622b334edbaa2eabdef3c0826",class:"batch-actions",part:"batch-actions"},h("div",{key:"a3b47b02c08bb4c17977be8d4be9357ed7161545",class:"batch-actions-header"},h("mds-text",{key:"ce2427f0c17a8198603eee8d321479de089f8409",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),h("mds-badge",{key:"84f36e77a4ae16824eee8f732aa5b4dc9cea3695",label:"".concat(this.selectedRows.length),variant:"dark",tone:"outline",typography:"label"})),h("slot",{key:"873cfade2459b355cff316947d3affe08fbe994a",name:"batch-action"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}},enumerable:false,configurable:true});return t}();MdsTable.style=mdsTableCss();export{MdsTable as mds_table};
46
+ (t=this.scrollWrapper)===null||t===void 0?void 0:t.removeEventListener("scroll",this.handleActions);(e=this.resizeObserver)===null||e===void 0?void 0:e.disconnect();this.scrollWrapper=undefined;this.resizeObserver=undefined;(a=this.tableBodyObserver)===null||a===void 0?void 0:a.disconnect()};t.prototype.render=function(){return h(Host,{key:"509510ae979b382e62797b7eb5d37bbe32f7cbfc","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"ad50d0edc7226feeec8d89e7aa259e003249e349",class:"table-wrapper",part:"table-wrapper"},h("table",{key:"2c066ff76726842ccebfb4d2ec8870ee67e45988",class:clsx("table",this.interactive&&"table--interactive"),role:"table",part:"table"},h("slot",{key:"0fdd5bfcd037d82f413e2cd89a81f49b6c571368",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&h("div",{key:"e84764b500f659a786084fb5bea0e14e5800457d",class:clsx("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},h("div",{key:"8432b9d1d1c73b81d606699d2992089f9525d1ec",class:"batch-actions",part:"batch-actions"},h("div",{key:"17f385f29fb1bc8a7f92462977622899692692f0",class:"batch-actions-header"},h("mds-text",{key:"2a98a774ac55974e188dcb72934f6f357a4ea79d",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),h("mds-badge",{key:"388c23091c6782ddc3f762024e0acbfeed04c43c",label:"".concat(this.selectedRows.length),variant:"dark",tone:"outline",typography:"label"})),h("slot",{key:"76185b957f323725130b1526fc4bce1b27258479",name:"batch-action"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}},enumerable:false,configurable:true});return t}();MdsTable.style=mdsTableCss();export{MdsTable as mds_table};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{a as prefersReducedMotion,p as preferenceStore}from"./preference-Ch1zJnqq.js";var typographyDefaultsVariant={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var int32=2147483647;var gen=function(t){return t*16807%int32};var randomFloat=function(t){return gen(t)/int32};var randomInt=function(t){return gen(t)};var generator=function(t){if(t===void 0){t=1}var e=t<1?1:t;var i=function(){e=randomInt(e);return e};return{random:function(){return i()},randomFloat:function(){return randomFloat(i())},range:function(t,e){var a=t-.4999;var o=e+.4999;return Math.round(a+(o-a)*randomFloat(i()))},rangeFloat:function(t,e){return t+(e-t)*randomFloat(i())}}};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{a as prefersReducedMotion,p as preferenceStore}from"./preference-C5XjgGCb.js";var typographyDefaultsVariant={action:{tag:"span",selector:{default:"text-title-action",title:"text-title-action"}},caption:{tag:"span",selector:{default:"text-info-caption",info:"text-info-caption",read:"text-read-caption"}},detail:{tag:"p",selector:{default:"text-info-detail",info:"text-info-detail",read:"text-read-detail"}},h1:{tag:"h1",selector:{default:"text-title-h1",title:"text-title-h1"}},h2:{tag:"h2",selector:{default:"text-title-h2",title:"text-title-h2"}},h3:{tag:"h3",selector:{default:"text-title-h3",title:"text-title-h3"}},h4:{tag:"h4",selector:{default:"text-title-h4",title:"text-title-h4"}},h5:{tag:"h5",selector:{default:"text-title-h5",title:"text-title-h5"}},h6:{tag:"h6",selector:{default:"text-title-h6",title:"text-title-h6"}},hack:{tag:"code",selector:{default:"text-code-hack",mono:"text-code-hack"}},label:{tag:"label",selector:{default:"text-info-label",info:"text-info-label"}},option:{tag:"label",selector:{default:"text-info-option",info:"text-info-option"}},paragraph:{tag:"p",selector:{default:"text-info-paragraph",secondary:"text-secondary-paragraph",info:"text-info-paragraph",read:"text-read-paragraph"}},snippet:{tag:"code",selector:{default:"text-code-snippet",mono:"text-code-snippet"}},tip:{tag:"div",selector:{default:"text-info-tip",info:"text-info-tip"}}};var int32=2147483647;var gen=function(t){return t*16807%int32};var randomFloat=function(t){return gen(t)/int32};var randomInt=function(t){return gen(t)};var generator=function(t){if(t===void 0){t=1}var e=t<1?1:t;var i=function(){e=randomInt(e);return e};return{random:function(){return i()},randomFloat:function(){return randomFloat(i())},range:function(t,e){var a=t-.4999;var o=e+.4999;return Math.round(a+(o-a)*randomFloat(i()))},rangeFloat:function(t,e){return t+(e-t)*randomFloat(i())}}};
2
2
  // export const strToCharCodeArray: string => number[] = str => str.split('').map(item => item.charCodeAt(0));
3
3
  var strToCharCodeArray=function(t){return t.split("").map((function(t){return t.charCodeAt(0)}))};var randomSign=function(){return(Math.round(Math.random())-.5)*2};var minMaxLooped=function(t,e){return function(i){if(i>e)return t+(i-e);if(i<t)return e+(i-t);return i}};var rand=generator();var random=function(t,e){return function(){return(t+rand.range(0,e))*randomSign()}};var generateRandomCharCodeArray=function(t,e){return function(i){return strToCharCodeArray(i).map(random(t,e))}};var charCodeArrayToString=function(t){var e=t.str,i=t.minCharCode,a=t.maxCharCode,o=t.placeholderChar,n=t.charStep;return function(t){return t.reduce((function(t,r,s){if(r!==0){if(Math.abs(r)>n){return t+o}return t+String.fromCharCode(minMaxLooped(i,a)(e.charCodeAt(s)+r))}return t+e.charAt(s)}),"")}};var noop=function(){};var RandomText=/** @class */function(){function t(e){var i=this;this.start=function(){var t=i,e=t.frameOffset,a=t.charOffset,o=t.str,n=t.speed;var r=generateRandomCharCodeArray(e,a)(o);i.stop();i.rafId=requestAnimationFrame((function(){i.step(r,n,n)}))};Object.assign(this,Object.assign(Object.assign({},t.defaults),e));
4
4
  // step() starts `speed` more characters on every frame and leaves the loop only once all of
@@ -42,4 +42,4 @@ var i=((t=typographyDefaultsVariant[this.typography])!==null&&t!==void 0?t:typog
42
42
  // The scramble is a rAF loop writing innerHTML: no stylesheet can hold it back, so it
43
43
  // asks. The text is written out here rather than left to the render, because the loop
44
44
  // may already have replaced the node the renderer holds.
45
- if(prefersReducedMotion()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return h(Host,{key:"ffc7bc8e2e258328d892f550d01b954a05f23d52","pref-animation":preferenceStore.state.animation},h(this.tag,{key:"d079856d0775a4bb31bb984423f1ada6ca39ae19",class:"text"},((t=this.text)!==null&&t!==void 0?t:"")===""?h("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:[{textHandler:0}]}},enumerable:false,configurable:true});return t}();MdsText.style=mdsTextCss();export{MdsText as mds_text};
45
+ if(prefersReducedMotion()){var i=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".text");if(i){i.textContent=t}return}this.animateText(t)};t.prototype.render=function(){var t;return h(Host,{key:"7b832f43b66a020dfe3a64bc458280e9e0051069","pref-animation":preferenceStore.state.animation},h(this.tag,{key:"270d454e9881f9fc213eaceedccc42be0718bb59",class:"text"},((t=this.text)!==null&&t!==void 0?t:"")===""?h("slot",null):this.text))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{text:[{textHandler:0}]}},enumerable:false,configurable:true});return t}();MdsText.style=mdsTextCss();export{MdsText as mds_text};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";var mdsToastRegionCss=function(){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-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}"};var DEFAULT_MAX=3;
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";var mdsToastRegionCss=function(){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-toast-region-gap:calc(var(--spacing,.0025rem)*200);bottom:0;display:flex;flex-direction:column;gap:var(--mds-toast-region-gap,calc(var(--spacing,.0025rem)*200));left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}:host([position^=top]){bottom:auto;flex-direction:column-reverse;top:0}"};var DEFAULT_MAX=3;
2
2
  // a removed attribute leaves null, which counts as no duration, like 0
3
3
  var hasDuration=function(t){var n;var i=(n=t.duration)!==null&&n!==void 0?n:0;return i!==0&&!Number.isNaN(i)};var MdsToastRegion=/** @class */function(){function t(t){var n=this;registerInstance(this,t);
4
4
  // the visible toasts, oldest first: the order they were shown in, which is not the order of
@@ -16,7 +16,7 @@ this.shown=[];
16
16
  * acts only when a toast arrives, and never on the one arriving: a toast that stays until it
17
17
  * is closed is never hidden, so the region may hold more than `max` until one of them goes,
18
18
  * and a later look at the same toasts must not hide one of them after the fact.
19
- */this.update=function(){var t;var i=n.toasts();i.forEach((function(t){if(t.position!==n.position){t.position=n.position}}));var e=i.filter((function(t){return!!t.visible}));n.shown=n.shown.filter((function(t){return e.includes(t)}));var o=e.filter((function(t){return!n.shown.includes(t)}));(t=n.shown).push.apply(t,o);if(o.length===0){return}var r=n.shown.length-n.limit();for(var a=0,s=n.shown.filter((function(t){return!o.includes(t)}));a<s.length;a++){var u=s[a];if(r<=0){break}if(hasDuration(u)){u.visible=false;r-=1}}n.shown=n.shown.filter((function(t){return t.visible}))};this.observe=function(){var t;if(typeof MutationObserver==="undefined")return;(t=n.observer)===null||t===void 0?void 0:t.disconnect();n.observer=new MutationObserver(n.update);n.observer.observe(n.host,{attributeFilter:["visible"],childList:true,subtree:true})};this.checkMax=function(t){if(t!==undefined&&t!==null&&!(Number.isInteger(t)&&t>0)){console.warn('mds-toast-region: ignoring the invalid max "'.concat(t,'", using ').concat(DEFAULT_MAX))}}}t.prototype.connectedCallback=function(){this.observe()};t.prototype.disconnectedCallback=function(){var t;(t=this.observer)===null||t===void 0?void 0:t.disconnect();this.observer=undefined};t.prototype.componentWillLoad=function(){this.checkMax(this.max)};t.prototype.componentDidLoad=function(){this.update()};t.prototype.positionChanged=function(){this.update()};t.prototype.maxChanged=function(t){this.checkMax(t);this.update()};t.prototype.render=function(){
19
+ */this.update=function(){var t;var i=n.toasts();i.forEach((function(t){if(t.position!==n.position){t.position=n.position}}));var e=i.filter((function(t){return!!t.visible}));n.shown=n.shown.filter((function(t){return e.includes(t)}));var o=e.filter((function(t){return!n.shown.includes(t)}));(t=n.shown).push.apply(t,o);if(o.length===0){return}var r=n.shown.length-n.limit();for(var s=0,a=n.shown.filter((function(t){return!o.includes(t)}));s<a.length;s++){var u=a[s];if(r<=0){break}if(hasDuration(u)){u.visible=false;r-=1}}n.shown=n.shown.filter((function(t){return t.visible}))};this.observe=function(){var t;if(typeof MutationObserver==="undefined")return;(t=n.observer)===null||t===void 0?void 0:t.disconnect();n.observer=new MutationObserver(n.update);n.observer.observe(n.host,{attributeFilter:["visible"],childList:true,subtree:true})};this.checkMax=function(t){if(t!==undefined&&t!==null&&!(Number.isInteger(t)&&t>0)){console.warn('mds-toast-region: ignoring the invalid max "'.concat(t,'", using ').concat(DEFAULT_MAX))}}}t.prototype.connectedCallback=function(){this.observe()};t.prototype.disconnectedCallback=function(){var t;(t=this.observer)===null||t===void 0?void 0:t.disconnect();this.observer=undefined};t.prototype.componentWillLoad=function(){this.checkMax(this.max)};t.prototype.componentDidLoad=function(){this.update()};t.prototype.positionChanged=function(){this.update()};t.prototype.maxChanged=function(t){this.checkMax(t);this.update()};t.prototype.render=function(){
20
20
  // the live region, in the page before any message: a toast added or shown inside it is
21
21
  // announced. Not atomic, or every change would read out all the toasts again
22
- return h(Host,{key:"098e53f02216610eecc7994a704e20113fc9a5cb",role:"status","aria-live":"polite","aria-atomic":"false"},h("slot",{key:"5bdfcac941c9828783fb8baaa8b2222098d0d561"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}},enumerable:false,configurable:true});return t}();MdsToastRegion.style=mdsToastRegionCss();export{MdsToastRegion as mds_toast_region};
22
+ return h(Host,{key:"adfc397d9f3ca87c3c98c8b6e9c19f7552c37cc7",role:"status","aria-live":"polite","aria-atomic":"false"},h("slot",{key:"11e57c653d759c24b08ce5a33ca49b9695d55278"}))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{position:[{positionChanged:0}],max:[{maxChanged:0}]}},enumerable:false,configurable:true});return t}();MdsToastRegion.style=mdsToastRegionCss();export{MdsToastRegion as mds_toast_region};
@@ -1,4 +1,4 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CPRkNQdE.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-Ch1zJnqq.js";import{L as Locale}from"./locale-DfpXg7qZ.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineArrowDownward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>';var miBaselineArrowUpward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>';var hide$3="Απόκρυψη";var localeEl={hide:hide$3};var hide$2="Hide";var localeEn={hide:hide$2};var hide$1="Ocultar";var localeEs={hide:hide$1};var hide="Nascondi";var localeIt={hide:hide};var mdsToastCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:.3s;--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,.3s);--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,.3s));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform:none}}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'};var MdsToast=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.closedEvent=createEvent(this,"mdsToastClose",7);this.cssDismissAnimationDuration=300;// hardcoded from CSS :-(
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-CvLLN-QH.js";import{c as cssDurationToMilliseconds}from"./unit-CWk1SCJg.js";import{p as preferenceStore}from"./preference-C5XjgGCb.js";import{L as Locale}from"./locale-BQmO6K_S.js";import{h as hasChildWithSlot}from"./slot-AEckDMXh.js";import{c as clsx}from"./clsx-ChV9xqsO.js";var miBaselineArrowDownward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 12l-1.41-1.41L13 16.17V4h-2v12.17l-5.58-5.59L4 12l8 8l8-8z"/></svg>';var miBaselineArrowUpward='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M4 12l1.41 1.41L11 7.83V20h2V7.83l5.58 5.59L20 12l-8-8l-8 8z"/></svg>';var hide$3="Απόκρυψη";var localeEl={hide:hide$3};var hide$2="Hide";var localeEn={hide:hide$2};var hide$1="Ocultar";var localeEs={hide:hide$1};var hide="Nascondi";var localeIt={hide:hide};var mdsToastCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-duration:var(--duration-300,.3s);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-xl,0 20px 25px -5px #0000001a,0 8px 10px -6px #0000001a);--mds-toast-width:auto;--private-toast-transition-duration:var(--mds-toast-duration,var(--duration-300,.3s));--private-toast-transition-duration-intro:var(--duration-500,.5s);--private-toast-transition-duration-icon:var(--duration-200,.2s);color:var(--mds-toast-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));display:flex;left:0;pointer-events:none;position:fixed;right:0;z-index:var(--magma-modal-z-index,3000)}.dialog{--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));background-color:var(--mds-toast-background,rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42))));border-radius:var(--magma-radius-xl,var(--radius-squircle-xl,36px));box-shadow:var(--mds-toast-shadow);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*400);margin-inline:calc(var(--spacing,.0025rem)*400);max-width:100%;padding:calc(var(--spacing,.0025rem)*400);pointer-events:none;transition-duration:var(--private-toast-transition-duration);transition-property:box-shadow,background-color,color,transform,visibility;visibility:hidden;width:var(--mds-toast-width,auto)}:host([visible]:not([visible=false])) .dialog{pointer-events:auto;visibility:visible}:host([position^=top]){top:0}:host([position=top-left]){justify-content:flex-start}:host([position=top-center]){justify-content:center}:host([position=top-right]){justify-content:flex-end}:host([position^=bottom]){bottom:0}:host([position=bottom-left]){justify-content:flex-start}:host([position=bottom-center]){justify-content:center}:host([position=bottom-right]){justify-content:flex-end}.actions{display:flex;gap:calc(var(--spacing,.0025rem)*200)}.actions--hidden{display:none}.hide{flex-shrink:0}::slotted([slot=icon]){--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));fill:var(--mds-toast-icon-color,rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255))));flex-shrink:0;transition-duration:var(--private-toast-transition-duration-icon);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([variant=dark]),:host([variant=dark][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-inverse,var(--tone-neutral-02,42 42 42)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=dark][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-inverse-muted,var(--tone-neutral-03,73 73 73)));--mds-toast-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-on-inverse,var(--tone-neutral-seed,255 255 255)))}:host([variant=error]),:host([variant=error][tone=strong]){--mds-toast-background:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-toast-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=error][tone=weak]){--mds-toast-background:rgb(var(--magma-danger-wash-soft,var(--status-error-10,255 232 230)));--mds-toast-color:rgb(var(--magma-danger-text-subtle,var(--text-error-subtle,165 33 40)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=info]),:host([variant=info][tone=strong]){--mds-toast-background:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-toast-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=info][tone=weak]){--mds-toast-background:rgb(var(--magma-info-wash-soft,var(--status-info-10,220 240 250)));--mds-toast-color:rgb(var(--magma-info-text-subtle,var(--text-info-subtle,0 94 137)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([variant=light]),:host([variant=light][tone=strong]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-text-muted,var(--text-neutral-muted,73 73 73)))}:host([variant=light][tone=weak]){--mds-toast-background:rgb(var(--magma-surface-overlay,var(--surface-neutral-overlay,255 255 255)));--mds-toast-color:rgb(var(--magma-text-default,var(--text-neutral-default,5 5 5)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-text-subtle,var(--text-neutral-subtle,99 99 99)))}:host([variant=success]),:host([variant=success][tone=strong]){--mds-toast-background:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-toast-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=success][tone=weak]){--mds-toast-background:rgb(var(--magma-success-wash-soft,var(--status-success-10,220 243 227)));--mds-toast-color:rgb(var(--magma-success-text-subtle,var(--text-success-subtle,0 102 32)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=warning]),:host([variant=warning][tone=strong]){--mds-toast-background:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-toast-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-toast-shadow:var(--shadow-lg-sharp,0 0 1px 1px #0000000f,0 10px 15px -3px #0000001a,0 4px 6px -2px #0000000d);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=warning][tone=weak]){--mds-toast-background:rgb(var(--magma-warning-wash-soft,var(--status-warning-10,255 237 181)));--mds-toast-color:rgb(var(--magma-warning-text-subtle,var(--text-warning-subtle,113 85 0)));--mds-toast-shadow:var(--shadow-sm-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-toast-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}.to-top-center,.to-top-left,.to-top-right{transform:translateY(calc(-100% - var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-top-center.dialog--visible,.to-top-left.dialog--visible,.to-top-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}.to-bottom-center,.to-bottom-left,.to-bottom-right{transform:translateY(calc(100% + var(--spacing,.0025rem)*1200));--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));transition-duration:var(--private-toast-transition-duration,var(--mds-toast-duration,var(--duration-300)));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}.to-bottom-center.dialog--visible,.to-bottom-left.dialog--visible,.to-bottom-right.dialog--visible{transform:translateY(calc(var(--spacing,.0025rem)*400*-1));--tw-ease:var(--ease-in-out-expo,cubic-bezier(1,0,0,1));transition-duration:var(--private-toast-transition-duration-intro,var(--duration-500));transition-property:background-color,border-color,box-shadow,color,fill,height,margin,opacity,padding,transform,visibility,width;transition-timing-function:var(--ease-in-out-expo,cubic-bezier(1,0,0,1))}:host([stacked]){inset:auto;position:relative;transition-behavior:allow-discrete;transition-duration:var(--private-toast-transition-duration);transition-property:display;z-index:auto}:host([stacked]:not([visible])),:host([stacked][visible=false]){display:none}:host([stacked]) .dialog:not(.dialog--visible){opacity:0;transform:none}@starting-style{:host([stacked]) .dialog--visible{opacity:0;transform:none}}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}:host([pref-contrast=more]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}@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-toast-transition-duration:0s;--private-toast-transition-duration-intro:0s;--private-toast-transition-duration-icon:0s}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-toast-shadow:var(--shadow-ring-strong-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.6))!important}}'};var MdsToast=/** @class */function(){function t(t){var a=this;registerInstance(this,t);this.closedEvent=createEvent(this,"mdsToastClose",7);this.cssDismissAnimationDuration=300;// hardcoded from CSS :-(
2
2
  this.countdownStart=0;this.pointerInside=false;this.focusInside=false;
3
3
  // who hid the toast, read by the close that follows: the application, unless the timer or
4
4
  // the hide button say otherwise
@@ -51,4 +51,4 @@ window.clearTimeout(this.closeTimer);this.closeTimer=undefined;return}if(!a){ret
51
51
  // focus. The host is the region and stays in the page, so the content that appears inside
52
52
  // it is what a screen reader reads out. Inside an mds-toast-region the region is the live
53
53
  // region, already in the page before any toast: a toast of its own would nest a second one
54
- return h(Host,{key:"54d6d4cb0813dd1d58fc32d57c044e4f3c0888b7",role:this.stacked?undefined:"status",stacked:this.stacked,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"acf4944a4ceca7b96f2eac57ccfe78b2d267dfa9",class:clsx("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible"),onFocusin:this.onFocusIn,onFocusout:this.onFocusOut,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave},h("slot",{key:"b26ca83def0e4bf35c85ac7ece1b04c46ed2664f",name:"icon"}),this.hasText&&h("mds-text",{key:"c97189fd1bff2693686184e006c6282d0f67ac09",typography:"caption"},h("slot",{key:"b1964597f7b88df8f5bf2fddf3673eb033f45ce0"})),h("div",{key:"d6ab6634153b14b4f00d546d3dda91918505d7a9",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"087fb1d4d1e8e122db02061f91489ba87193457e",name:"action",onSlotchange:this.onActionSlotChange})),this.deletable&&h("mds-button",{key:"668d30646ab454eab30f8b34fa09aa2a7338a2dd","aria-label":this.t.get("hide"),class:"hide",icon:((t=this.position)===null||t===void 0?void 0:t.startsWith("top"))?miBaselineArrowUpward:miBaselineArrowDownward,onClick:this.onCloseClick,size:"sm",tone:"text",type:"button",variant:this.closeButtonVariant()})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}},enumerable:false,configurable:true});return t}();MdsToast.style=mdsToastCss();export{MdsToast as mds_toast};
54
+ return h(Host,{key:"352c3fe8305ac4da785faed3292d00dfe5d25d50",role:this.stacked?undefined:"status",stacked:this.stacked,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("div",{key:"08b8e847f0e36181fbd88723de6e35dd30938349",class:clsx("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible"),onFocusin:this.onFocusIn,onFocusout:this.onFocusOut,onPointerEnter:this.onPointerEnter,onPointerLeave:this.onPointerLeave},h("slot",{key:"bb38a2697aae42dbfa37c63712e7df1e1746835e",name:"icon"}),this.hasText&&h("mds-text",{key:"f4512aa5f36cff29b172b2c42d3076907cdd8b81",typography:"caption"},h("slot",{key:"029ecdf3dd06b9ceaf4cb1f40029d841c85a2093"})),h("div",{key:"b87521682d85647d6dd5dbfd444a5d5d54984da2",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"4bc50681dfcb292b56d22207d432cac5ac3f5994",name:"action",onSlotchange:this.onActionSlotChange})),this.deletable&&h("mds-button",{key:"08aa2ee3165301610e4f4af5d164107d5b1903e7","aria-label":this.t.get("hide"),class:"hide",icon:((t=this.position)===null||t===void 0?void 0:t.startsWith("top"))?miBaselineArrowUpward:miBaselineArrowDownward,onClick:this.onCloseClick,size:"sm",tone:"text",type:"button",variant:this.closeButtonVariant()})))};Object.defineProperty(t.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{visible:[{visibleChanged:0}],duration:[{durationChanged:0}]}},enumerable:false,configurable:true});return t}();MdsToast.style=mdsToastCss();export{MdsToast as mds_toast};