@maggioli-design-system/magma 2.1.0 → 2.2.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 (970) hide show
  1. package/AGENTS.md +2 -1
  2. package/agents/install.md +17 -0
  3. package/agents/reporting.md +118 -0
  4. package/dist/cjs/index.cjs.js +62 -0
  5. package/dist/cjs/loader.cjs.js +1 -1
  6. package/dist/cjs/magma-components.cjs.js +1 -1
  7. package/dist/cjs/mds-banner_3.cjs.entry.js +3 -3
  8. package/dist/cjs/mds-button-dropdown.cjs.entry.js +1 -1
  9. package/dist/cjs/mds-button-group.cjs.entry.js +1 -1
  10. package/dist/cjs/mds-button_3.cjs.entry.js +76 -24
  11. package/dist/cjs/mds-calendar_2.cjs.entry.js +5 -5
  12. package/dist/cjs/mds-card-content.cjs.entry.js +1 -1
  13. package/dist/cjs/mds-card-footer.cjs.entry.js +1 -1
  14. package/dist/cjs/mds-card-header.cjs.entry.js +1 -1
  15. package/dist/cjs/mds-card-media.cjs.entry.js +1 -1
  16. package/dist/cjs/mds-card.cjs.entry.js +1 -1
  17. package/dist/cjs/mds-details.cjs.entry.js +1 -1
  18. package/dist/cjs/mds-dropdown.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-emoji.cjs.entry.js +1 -1
  20. package/dist/cjs/mds-entity.cjs.entry.js +1 -1
  21. package/dist/cjs/mds-file-preview.cjs.entry.js +2 -2
  22. package/dist/cjs/mds-file.cjs.entry.js +1 -1
  23. package/dist/cjs/mds-filter-item.cjs.entry.js +1 -1
  24. package/dist/cjs/mds-filter.cjs.entry.js +1 -1
  25. package/dist/cjs/mds-header-bar.cjs.entry.js +1 -1
  26. package/dist/cjs/mds-header.cjs.entry.js +1 -1
  27. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +1 -1
  28. package/dist/cjs/mds-hr.cjs.entry.js +1 -1
  29. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +1 -1
  30. package/dist/cjs/mds-input-date.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-input-field.cjs.entry.js +1 -1
  32. package/dist/cjs/mds-input-otp.cjs.entry.js +1 -1
  33. package/dist/cjs/mds-input-range.cjs.entry.js +1 -1
  34. package/dist/cjs/mds-input-select.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-input-switch_2.cjs.entry.js +2 -2
  36. package/dist/cjs/mds-input-tip_2.cjs.entry.js +3 -3
  37. package/dist/cjs/mds-input-upload.cjs.entry.js +5 -5
  38. package/dist/cjs/mds-input.cjs.entry.js +2 -2
  39. package/dist/cjs/mds-keyboard-key.cjs.entry.js +1 -1
  40. package/dist/cjs/mds-keyboard.cjs.entry.js +1 -1
  41. package/dist/cjs/mds-kpi-item.cjs.entry.js +1 -1
  42. package/dist/cjs/mds-kpi.cjs.entry.js +1 -1
  43. package/dist/cjs/mds-list-item.cjs.entry.js +1 -1
  44. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  45. package/dist/cjs/mds-mention.cjs.entry.js +1 -1
  46. package/dist/cjs/mds-modal.cjs.entry.js +3 -3
  47. package/dist/cjs/mds-note.cjs.entry.js +1 -1
  48. package/dist/cjs/mds-notification.cjs.entry.js +1 -1
  49. package/dist/cjs/mds-paginator-item.cjs.entry.js +1 -1
  50. package/dist/cjs/mds-paginator.cjs.entry.js +1 -1
  51. package/dist/cjs/mds-policy-ai.cjs.entry.js +1 -1
  52. package/dist/cjs/mds-pref-animation.cjs.entry.js +1 -1
  53. package/dist/cjs/mds-pref-consumption.cjs.entry.js +1 -1
  54. package/dist/cjs/mds-pref-contrast.cjs.entry.js +1 -1
  55. package/dist/cjs/mds-pref-language-item.cjs.entry.js +1 -1
  56. package/dist/cjs/mds-pref-language.cjs.entry.js +1 -1
  57. package/dist/cjs/mds-pref-mode.cjs.entry.js +2 -2
  58. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +1 -1
  59. package/dist/cjs/mds-pref-theme.cjs.entry.js +1 -1
  60. package/dist/cjs/mds-pref.cjs.entry.js +1 -1
  61. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +1 -1
  62. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +1 -1
  63. package/dist/cjs/mds-price-table-features.cjs.entry.js +1 -1
  64. package/dist/cjs/mds-price-table-header.cjs.entry.js +1 -1
  65. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-price-table-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-price-table.cjs.entry.js +1 -1
  68. package/dist/cjs/mds-progress_2.cjs.entry.js +2 -2
  69. package/dist/cjs/mds-push-notification-item.cjs.entry.js +2 -2
  70. package/dist/cjs/mds-push-notification.cjs.entry.js +1 -1
  71. package/dist/cjs/mds-quote.cjs.entry.js +1 -1
  72. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +1 -1
  73. package/dist/cjs/mds-radial-menu.cjs.entry.js +1 -1
  74. package/dist/cjs/mds-separator.cjs.entry.js +1 -1
  75. package/dist/cjs/mds-status-bar.cjs.entry.js +1 -1
  76. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +1 -1
  77. package/dist/cjs/mds-stepper-bar.cjs.entry.js +1 -1
  78. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +1 -1
  79. package/dist/cjs/mds-tab-bar.cjs.entry.js +1 -1
  80. package/dist/cjs/mds-tab_2.cjs.entry.js +27 -5
  81. package/dist/cjs/mds-table-body.cjs.entry.js +1 -1
  82. package/dist/cjs/mds-table-footer.cjs.entry.js +1 -1
  83. package/dist/cjs/mds-table-header-cell.cjs.entry.js +1 -1
  84. package/dist/cjs/mds-table-header.cjs.entry.js +1 -1
  85. package/dist/cjs/mds-table-row.cjs.entry.js +21 -15
  86. package/dist/cjs/mds-table.cjs.entry.js +1 -1
  87. package/dist/cjs/mds-text.cjs.entry.js +1 -1
  88. package/dist/cjs/mds-toast.cjs.entry.js +1 -1
  89. package/dist/cjs/mds-tooltip.cjs.entry.js +1 -1
  90. package/dist/cjs/mds-tree-item.cjs.entry.js +1 -1
  91. package/dist/cjs/mds-tree.cjs.entry.js +1 -1
  92. package/dist/cjs/mds-url-view.cjs.entry.js +1 -1
  93. package/dist/cjs/mds-usage.cjs.entry.js +1 -1
  94. package/dist/cjs/mds-video-wall.cjs.entry.js +1 -1
  95. package/dist/cjs/mds-zero.cjs.entry.js +1 -1
  96. package/dist/collection/common/navigation.js +60 -0
  97. package/dist/collection/components/mds-accordion/AGENTS.md +1 -1
  98. package/dist/collection/components/mds-accordion/documentation.json +1 -1
  99. package/dist/collection/components/mds-accordion-item/AGENTS.md +1 -1
  100. package/dist/collection/components/mds-accordion-item/documentation.json +1 -1
  101. package/dist/collection/components/mds-accordion-timer/AGENTS.md +1 -1
  102. package/dist/collection/components/mds-accordion-timer/documentation.json +1 -1
  103. package/dist/collection/components/mds-accordion-timer-item/AGENTS.md +1 -1
  104. package/dist/collection/components/mds-accordion-timer-item/documentation.json +1 -1
  105. package/dist/collection/components/mds-author/AGENTS.md +1 -1
  106. package/dist/collection/components/mds-author/documentation.json +1 -1
  107. package/dist/collection/components/mds-avatar/AGENTS.md +1 -1
  108. package/dist/collection/components/mds-avatar/documentation.json +1 -1
  109. package/dist/collection/components/mds-avatar-stack/AGENTS.md +1 -1
  110. package/dist/collection/components/mds-avatar-stack/documentation.json +1 -1
  111. package/dist/collection/components/mds-avatar-stack-item/AGENTS.md +1 -1
  112. package/dist/collection/components/mds-avatar-stack-item/documentation.json +1 -1
  113. package/dist/collection/components/mds-badge/AGENTS.md +1 -1
  114. package/dist/collection/components/mds-badge/documentation.json +1 -1
  115. package/dist/collection/components/mds-banner/AGENTS.md +1 -1
  116. package/dist/collection/components/mds-banner/documentation.json +1 -1
  117. package/dist/collection/components/mds-benchmark-bar/AGENTS.md +1 -1
  118. package/dist/collection/components/mds-benchmark-bar/documentation.json +1 -1
  119. package/dist/collection/components/mds-bibliography/AGENTS.md +1 -1
  120. package/dist/collection/components/mds-bibliography/documentation.json +1 -1
  121. package/dist/collection/components/mds-breadcrumb/AGENTS.md +1 -1
  122. package/dist/collection/components/mds-breadcrumb/documentation.json +1 -1
  123. package/dist/collection/components/mds-breadcrumb-item/AGENTS.md +1 -1
  124. package/dist/collection/components/mds-breadcrumb-item/documentation.json +1 -1
  125. package/dist/collection/components/mds-button/AGENTS.md +5 -5
  126. package/dist/collection/components/mds-button/antipattern.md +19 -1
  127. package/dist/collection/components/mds-button/documentation.json +5 -5
  128. package/dist/collection/components/mds-button/mds-button.css +13 -0
  129. package/dist/collection/components/mds-button/mds-button.js +75 -22
  130. package/dist/collection/components/mds-button/pattern.md +27 -1
  131. package/dist/collection/components/mds-button-dropdown/AGENTS.md +1 -1
  132. package/dist/collection/components/mds-button-dropdown/documentation.json +1 -1
  133. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  134. package/dist/collection/components/mds-button-group/AGENTS.md +1 -1
  135. package/dist/collection/components/mds-button-group/documentation.json +1 -1
  136. package/dist/collection/components/mds-button-group/mds-button-group.js +1 -1
  137. package/dist/collection/components/mds-calendar/AGENTS.md +1 -1
  138. package/dist/collection/components/mds-calendar/documentation.json +1 -1
  139. package/dist/collection/components/mds-calendar/mds-calendar.js +4 -4
  140. package/dist/collection/components/mds-calendar-cell/AGENTS.md +1 -1
  141. package/dist/collection/components/mds-calendar-cell/documentation.json +1 -1
  142. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.js +1 -1
  143. package/dist/collection/components/mds-card/AGENTS.md +1 -1
  144. package/dist/collection/components/mds-card/documentation.json +1 -1
  145. package/dist/collection/components/mds-card/mds-card.js +1 -1
  146. package/dist/collection/components/mds-card-content/AGENTS.md +1 -1
  147. package/dist/collection/components/mds-card-content/documentation.json +1 -1
  148. package/dist/collection/components/mds-card-content/mds-card-content.js +1 -1
  149. package/dist/collection/components/mds-card-footer/AGENTS.md +1 -1
  150. package/dist/collection/components/mds-card-footer/documentation.json +1 -1
  151. package/dist/collection/components/mds-card-footer/mds-card-footer.js +1 -1
  152. package/dist/collection/components/mds-card-header/AGENTS.md +1 -1
  153. package/dist/collection/components/mds-card-header/documentation.json +1 -1
  154. package/dist/collection/components/mds-card-header/mds-card-header.js +1 -1
  155. package/dist/collection/components/mds-card-media/AGENTS.md +1 -1
  156. package/dist/collection/components/mds-card-media/documentation.json +1 -1
  157. package/dist/collection/components/mds-card-media/mds-card-media.js +1 -1
  158. package/dist/collection/components/mds-chip/AGENTS.md +1 -1
  159. package/dist/collection/components/mds-chip/documentation.json +1 -1
  160. package/dist/collection/components/mds-chip/mds-chip.js +2 -2
  161. package/dist/collection/components/mds-details/AGENTS.md +1 -1
  162. package/dist/collection/components/mds-details/documentation.json +1 -1
  163. package/dist/collection/components/mds-details/mds-details.js +1 -1
  164. package/dist/collection/components/mds-dropdown/AGENTS.md +1 -1
  165. package/dist/collection/components/mds-dropdown/documentation.json +1 -1
  166. package/dist/collection/components/mds-dropdown/mds-dropdown.js +2 -2
  167. package/dist/collection/components/mds-emoji/AGENTS.md +1 -1
  168. package/dist/collection/components/mds-emoji/documentation.json +1 -1
  169. package/dist/collection/components/mds-emoji/mds-emoji.js +1 -1
  170. package/dist/collection/components/mds-entity/AGENTS.md +1 -1
  171. package/dist/collection/components/mds-entity/documentation.json +1 -1
  172. package/dist/collection/components/mds-entity/mds-entity.js +1 -1
  173. package/dist/collection/components/mds-file/AGENTS.md +1 -1
  174. package/dist/collection/components/mds-file/documentation.json +1 -1
  175. package/dist/collection/components/mds-file/mds-file.js +1 -1
  176. package/dist/collection/components/mds-file-preview/AGENTS.md +1 -1
  177. package/dist/collection/components/mds-file-preview/documentation.json +1 -1
  178. package/dist/collection/components/mds-file-preview/mds-file-preview.js +2 -2
  179. package/dist/collection/components/mds-filter/AGENTS.md +1 -1
  180. package/dist/collection/components/mds-filter/documentation.json +1 -1
  181. package/dist/collection/components/mds-filter/mds-filter.js +1 -1
  182. package/dist/collection/components/mds-filter-item/AGENTS.md +1 -1
  183. package/dist/collection/components/mds-filter-item/documentation.json +1 -1
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +1 -1
  185. package/dist/collection/components/mds-header/AGENTS.md +1 -1
  186. package/dist/collection/components/mds-header/documentation.json +1 -1
  187. package/dist/collection/components/mds-header/mds-header.js +1 -1
  188. package/dist/collection/components/mds-header-bar/AGENTS.md +1 -1
  189. package/dist/collection/components/mds-header-bar/documentation.json +1 -1
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +1 -1
  191. package/dist/collection/components/mds-help/AGENTS.md +1 -1
  192. package/dist/collection/components/mds-help/documentation.json +1 -1
  193. package/dist/collection/components/mds-help/mds-help.js +1 -1
  194. package/dist/collection/components/mds-horizontal-scroll/AGENTS.md +1 -1
  195. package/dist/collection/components/mds-horizontal-scroll/documentation.json +1 -1
  196. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.js +1 -1
  197. package/dist/collection/components/mds-hr/AGENTS.md +1 -1
  198. package/dist/collection/components/mds-hr/documentation.json +1 -1
  199. package/dist/collection/components/mds-hr/mds-hr.js +1 -1
  200. package/dist/collection/components/mds-icon/AGENTS.md +1 -1
  201. package/dist/collection/components/mds-icon/documentation.json +1 -1
  202. package/dist/collection/components/mds-icon/mds-icon.js +1 -1
  203. package/dist/collection/components/mds-img/AGENTS.md +1 -1
  204. package/dist/collection/components/mds-img/documentation.json +1 -1
  205. package/dist/collection/components/mds-input/AGENTS.md +1 -1
  206. package/dist/collection/components/mds-input/documentation.json +1 -1
  207. package/dist/collection/components/mds-input/mds-input.js +2 -2
  208. package/dist/collection/components/mds-input-date/AGENTS.md +1 -1
  209. package/dist/collection/components/mds-input-date/documentation.json +1 -1
  210. package/dist/collection/components/mds-input-date/mds-input-date.js +2 -2
  211. package/dist/collection/components/mds-input-date-range/AGENTS.md +1 -1
  212. package/dist/collection/components/mds-input-date-range/documentation.json +1 -1
  213. package/dist/collection/components/mds-input-date-range-preselection/AGENTS.md +1 -1
  214. package/dist/collection/components/mds-input-date-range-preselection/documentation.json +1 -1
  215. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.js +1 -1
  216. package/dist/collection/components/mds-input-field/AGENTS.md +1 -1
  217. package/dist/collection/components/mds-input-field/documentation.json +1 -1
  218. package/dist/collection/components/mds-input-field/mds-input-field.js +1 -1
  219. package/dist/collection/components/mds-input-otp/AGENTS.md +1 -1
  220. package/dist/collection/components/mds-input-otp/documentation.json +1 -1
  221. package/dist/collection/components/mds-input-otp/mds-input-otp.js +1 -1
  222. package/dist/collection/components/mds-input-range/AGENTS.md +1 -1
  223. package/dist/collection/components/mds-input-range/documentation.json +1 -1
  224. package/dist/collection/components/mds-input-range/mds-input-range.js +1 -1
  225. package/dist/collection/components/mds-input-select/AGENTS.md +1 -1
  226. package/dist/collection/components/mds-input-select/documentation.json +1 -1
  227. package/dist/collection/components/mds-input-select/mds-input-select.js +2 -2
  228. package/dist/collection/components/mds-input-switch/AGENTS.md +1 -1
  229. package/dist/collection/components/mds-input-switch/documentation.json +1 -1
  230. package/dist/collection/components/mds-input-switch/mds-input-switch.js +1 -1
  231. package/dist/collection/components/mds-input-tip/AGENTS.md +1 -1
  232. package/dist/collection/components/mds-input-tip/documentation.json +1 -1
  233. package/dist/collection/components/mds-input-tip/mds-input-tip.js +1 -1
  234. package/dist/collection/components/mds-input-tip-item/AGENTS.md +1 -1
  235. package/dist/collection/components/mds-input-tip-item/documentation.json +1 -1
  236. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +2 -2
  237. package/dist/collection/components/mds-input-upload/AGENTS.md +1 -1
  238. package/dist/collection/components/mds-input-upload/documentation.json +1 -1
  239. package/dist/collection/components/mds-input-upload/mds-input-upload.js +5 -5
  240. package/dist/collection/components/mds-keyboard/AGENTS.md +1 -1
  241. package/dist/collection/components/mds-keyboard/documentation.json +1 -1
  242. package/dist/collection/components/mds-keyboard/mds-keyboard.js +1 -1
  243. package/dist/collection/components/mds-keyboard-key/AGENTS.md +1 -1
  244. package/dist/collection/components/mds-keyboard-key/documentation.json +1 -1
  245. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -1
  246. package/dist/collection/components/mds-kpi/AGENTS.md +1 -1
  247. package/dist/collection/components/mds-kpi/documentation.json +1 -1
  248. package/dist/collection/components/mds-kpi/mds-kpi.js +1 -1
  249. package/dist/collection/components/mds-kpi-item/AGENTS.md +1 -1
  250. package/dist/collection/components/mds-kpi-item/documentation.json +1 -1
  251. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +1 -1
  252. package/dist/collection/components/mds-label/AGENTS.md +1 -1
  253. package/dist/collection/components/mds-label/documentation.json +1 -1
  254. package/dist/collection/components/mds-list/AGENTS.md +1 -1
  255. package/dist/collection/components/mds-list/documentation.json +1 -1
  256. package/dist/collection/components/mds-list/mds-list.js +1 -1
  257. package/dist/collection/components/mds-list-item/AGENTS.md +1 -1
  258. package/dist/collection/components/mds-list-item/documentation.json +1 -1
  259. package/dist/collection/components/mds-list-item/mds-list-item.js +1 -1
  260. package/dist/collection/components/mds-mention/AGENTS.md +1 -1
  261. package/dist/collection/components/mds-mention/documentation.json +1 -1
  262. package/dist/collection/components/mds-mention/mds-mention.js +1 -1
  263. package/dist/collection/components/mds-modal/AGENTS.md +1 -1
  264. package/dist/collection/components/mds-modal/documentation.json +1 -1
  265. package/dist/collection/components/mds-modal/mds-modal.js +3 -3
  266. package/dist/collection/components/mds-note/AGENTS.md +1 -1
  267. package/dist/collection/components/mds-note/documentation.json +1 -1
  268. package/dist/collection/components/mds-note/mds-note.js +1 -1
  269. package/dist/collection/components/mds-notification/AGENTS.md +1 -1
  270. package/dist/collection/components/mds-notification/documentation.json +1 -1
  271. package/dist/collection/components/mds-notification/mds-notification.js +1 -1
  272. package/dist/collection/components/mds-paginator/AGENTS.md +1 -1
  273. package/dist/collection/components/mds-paginator/documentation.json +1 -1
  274. package/dist/collection/components/mds-paginator/mds-paginator.js +1 -1
  275. package/dist/collection/components/mds-paginator-item/AGENTS.md +1 -1
  276. package/dist/collection/components/mds-paginator-item/documentation.json +1 -1
  277. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +1 -1
  278. package/dist/collection/components/mds-policy-ai/AGENTS.md +1 -1
  279. package/dist/collection/components/mds-policy-ai/documentation.json +1 -1
  280. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -1
  281. package/dist/collection/components/mds-pref/AGENTS.md +1 -1
  282. package/dist/collection/components/mds-pref/documentation.json +1 -1
  283. package/dist/collection/components/mds-pref/mds-pref.js +1 -1
  284. package/dist/collection/components/mds-pref-animation/AGENTS.md +1 -1
  285. package/dist/collection/components/mds-pref-animation/documentation.json +1 -1
  286. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +1 -1
  287. package/dist/collection/components/mds-pref-consumption/AGENTS.md +1 -1
  288. package/dist/collection/components/mds-pref-consumption/documentation.json +1 -1
  289. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +1 -1
  290. package/dist/collection/components/mds-pref-contrast/AGENTS.md +1 -1
  291. package/dist/collection/components/mds-pref-contrast/documentation.json +1 -1
  292. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +1 -1
  293. package/dist/collection/components/mds-pref-language/AGENTS.md +1 -1
  294. package/dist/collection/components/mds-pref-language/documentation.json +1 -1
  295. package/dist/collection/components/mds-pref-language/mds-pref-language.js +1 -1
  296. package/dist/collection/components/mds-pref-language-item/AGENTS.md +1 -1
  297. package/dist/collection/components/mds-pref-language-item/documentation.json +1 -1
  298. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +1 -1
  299. package/dist/collection/components/mds-pref-mode/AGENTS.md +1 -1
  300. package/dist/collection/components/mds-pref-mode/documentation.json +1 -1
  301. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +2 -2
  302. package/dist/collection/components/mds-pref-theme/AGENTS.md +1 -1
  303. package/dist/collection/components/mds-pref-theme/documentation.json +1 -1
  304. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +1 -1
  305. package/dist/collection/components/mds-pref-theme-item/AGENTS.md +1 -1
  306. package/dist/collection/components/mds-pref-theme-item/documentation.json +1 -1
  307. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +1 -1
  308. package/dist/collection/components/mds-price-table/AGENTS.md +1 -1
  309. package/dist/collection/components/mds-price-table/documentation.json +1 -1
  310. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  311. package/dist/collection/components/mds-price-table-features/AGENTS.md +1 -1
  312. package/dist/collection/components/mds-price-table-features/documentation.json +1 -1
  313. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +1 -1
  314. package/dist/collection/components/mds-price-table-features-cell/AGENTS.md +1 -1
  315. package/dist/collection/components/mds-price-table-features-cell/documentation.json +1 -1
  316. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +1 -1
  317. package/dist/collection/components/mds-price-table-features-row/AGENTS.md +1 -1
  318. package/dist/collection/components/mds-price-table-features-row/documentation.json +1 -1
  319. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +1 -1
  320. package/dist/collection/components/mds-price-table-header/AGENTS.md +1 -1
  321. package/dist/collection/components/mds-price-table-header/documentation.json +1 -1
  322. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  323. package/dist/collection/components/mds-price-table-list/AGENTS.md +1 -1
  324. package/dist/collection/components/mds-price-table-list/documentation.json +1 -1
  325. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +1 -1
  326. package/dist/collection/components/mds-price-table-list-item/AGENTS.md +1 -1
  327. package/dist/collection/components/mds-price-table-list-item/documentation.json +1 -1
  328. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  329. package/dist/collection/components/mds-progress/AGENTS.md +1 -1
  330. package/dist/collection/components/mds-progress/documentation.json +1 -1
  331. package/dist/collection/components/mds-progress/mds-progress.js +1 -1
  332. package/dist/collection/components/mds-push-notification/AGENTS.md +1 -1
  333. package/dist/collection/components/mds-push-notification/documentation.json +1 -1
  334. package/dist/collection/components/mds-push-notification/mds-push-notification.js +1 -1
  335. package/dist/collection/components/mds-push-notification-item/AGENTS.md +1 -1
  336. package/dist/collection/components/mds-push-notification-item/documentation.json +1 -1
  337. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +2 -2
  338. package/dist/collection/components/mds-quote/AGENTS.md +1 -1
  339. package/dist/collection/components/mds-quote/documentation.json +1 -1
  340. package/dist/collection/components/mds-quote/mds-quote.js +1 -1
  341. package/dist/collection/components/mds-radial-menu/AGENTS.md +1 -1
  342. package/dist/collection/components/mds-radial-menu/documentation.json +1 -1
  343. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +1 -1
  344. package/dist/collection/components/mds-radial-menu-item/AGENTS.md +1 -1
  345. package/dist/collection/components/mds-radial-menu-item/documentation.json +1 -1
  346. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  347. package/dist/collection/components/mds-radial-progress/AGENTS.md +1 -1
  348. package/dist/collection/components/mds-radial-progress/documentation.json +1 -1
  349. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +1 -1
  350. package/dist/collection/components/mds-separator/AGENTS.md +1 -1
  351. package/dist/collection/components/mds-separator/documentation.json +1 -1
  352. package/dist/collection/components/mds-separator/mds-separator.js +1 -1
  353. package/dist/collection/components/mds-spinner/AGENTS.md +1 -1
  354. package/dist/collection/components/mds-spinner/documentation.json +1 -1
  355. package/dist/collection/components/mds-spinner/mds-spinner.js +1 -1
  356. package/dist/collection/components/mds-status-bar/AGENTS.md +1 -1
  357. package/dist/collection/components/mds-status-bar/documentation.json +1 -1
  358. package/dist/collection/components/mds-status-bar/mds-status-bar.js +1 -1
  359. package/dist/collection/components/mds-stepper-bar/AGENTS.md +1 -1
  360. package/dist/collection/components/mds-stepper-bar/documentation.json +1 -1
  361. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +1 -1
  362. package/dist/collection/components/mds-stepper-bar-item/AGENTS.md +1 -1
  363. package/dist/collection/components/mds-stepper-bar-item/documentation.json +1 -1
  364. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +1 -1
  365. package/dist/collection/components/mds-tab/AGENTS.md +5 -4
  366. package/dist/collection/components/mds-tab/antipattern.md +27 -0
  367. package/dist/collection/components/mds-tab/documentation.json +6 -6
  368. package/dist/collection/components/mds-tab/mds-tab.css +10 -1
  369. package/dist/collection/components/mds-tab/mds-tab.js +18 -4
  370. package/dist/collection/components/mds-tab/pattern.md +33 -1
  371. package/dist/collection/components/mds-tab-bar/AGENTS.md +1 -1
  372. package/dist/collection/components/mds-tab-bar/documentation.json +1 -1
  373. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +1 -1
  374. package/dist/collection/components/mds-tab-bar-item/AGENTS.md +1 -1
  375. package/dist/collection/components/mds-tab-bar-item/documentation.json +1 -1
  376. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +1 -1
  377. package/dist/collection/components/mds-tab-item/AGENTS.md +5 -4
  378. package/dist/collection/components/mds-tab-item/antipattern.md +22 -1
  379. package/dist/collection/components/mds-tab-item/documentation.json +5 -5
  380. package/dist/collection/components/mds-tab-item/mds-tab-item.js +15 -3
  381. package/dist/collection/components/mds-tab-item/pattern.md +25 -7
  382. package/dist/collection/components/mds-table/AGENTS.md +1 -1
  383. package/dist/collection/components/mds-table/documentation.json +1 -1
  384. package/dist/collection/components/mds-table/mds-table.js +1 -1
  385. package/dist/collection/components/mds-table-body/AGENTS.md +1 -1
  386. package/dist/collection/components/mds-table-body/documentation.json +1 -1
  387. package/dist/collection/components/mds-table-body/mds-table-body.js +1 -1
  388. package/dist/collection/components/mds-table-cell/AGENTS.md +1 -1
  389. package/dist/collection/components/mds-table-cell/documentation.json +1 -1
  390. package/dist/collection/components/mds-table-cell/mds-table-cell.js +1 -1
  391. package/dist/collection/components/mds-table-footer/AGENTS.md +1 -1
  392. package/dist/collection/components/mds-table-footer/documentation.json +1 -1
  393. package/dist/collection/components/mds-table-footer/mds-table-footer.js +1 -1
  394. package/dist/collection/components/mds-table-header/AGENTS.md +1 -1
  395. package/dist/collection/components/mds-table-header/documentation.json +1 -1
  396. package/dist/collection/components/mds-table-header/mds-table-header.js +1 -1
  397. package/dist/collection/components/mds-table-header-cell/AGENTS.md +1 -1
  398. package/dist/collection/components/mds-table-header-cell/documentation.json +1 -1
  399. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +1 -1
  400. package/dist/collection/components/mds-table-row/AGENTS.md +1 -1
  401. package/dist/collection/components/mds-table-row/documentation.json +1 -1
  402. package/dist/collection/components/mds-table-row/mds-table-row.js +22 -16
  403. package/dist/collection/components/mds-text/AGENTS.md +1 -1
  404. package/dist/collection/components/mds-text/documentation.json +1 -1
  405. package/dist/collection/components/mds-text/mds-text.js +1 -1
  406. package/dist/collection/components/mds-toast/AGENTS.md +1 -1
  407. package/dist/collection/components/mds-toast/documentation.json +1 -1
  408. package/dist/collection/components/mds-toast/mds-toast.js +1 -1
  409. package/dist/collection/components/mds-tooltip/AGENTS.md +1 -1
  410. package/dist/collection/components/mds-tooltip/documentation.json +1 -1
  411. package/dist/collection/components/mds-tooltip/mds-tooltip.js +1 -1
  412. package/dist/collection/components/mds-tree/AGENTS.md +1 -1
  413. package/dist/collection/components/mds-tree/documentation.json +1 -1
  414. package/dist/collection/components/mds-tree/mds-tree.js +1 -1
  415. package/dist/collection/components/mds-tree-item/AGENTS.md +1 -1
  416. package/dist/collection/components/mds-tree-item/documentation.json +1 -1
  417. package/dist/collection/components/mds-tree-item/mds-tree-item.js +1 -1
  418. package/dist/collection/components/mds-url-view/AGENTS.md +1 -1
  419. package/dist/collection/components/mds-url-view/documentation.json +1 -1
  420. package/dist/collection/components/mds-url-view/mds-url-view.js +1 -1
  421. package/dist/collection/components/mds-usage/AGENTS.md +1 -1
  422. package/dist/collection/components/mds-usage/documentation.json +1 -1
  423. package/dist/collection/components/mds-usage/mds-usage.js +1 -1
  424. package/dist/collection/components/mds-video-wall/AGENTS.md +1 -1
  425. package/dist/collection/components/mds-video-wall/documentation.json +1 -1
  426. package/dist/collection/components/mds-video-wall/mds-video-wall.js +1 -1
  427. package/dist/collection/components/mds-zero/AGENTS.md +1 -1
  428. package/dist/collection/components/mds-zero/documentation.json +1 -1
  429. package/dist/collection/components/mds-zero/mds-zero.js +1 -1
  430. package/dist/collection/index.js +11 -4
  431. package/dist/components/index.js +1 -1
  432. package/dist/components/mds-accordion-item.js +1 -1
  433. package/dist/components/mds-accordion-timer-item.js +1 -1
  434. package/dist/components/mds-avatar-stack-item.js +1 -1
  435. package/dist/components/mds-avatar-stack.js +1 -1
  436. package/dist/components/mds-avatar.js +1 -1
  437. package/dist/components/mds-badge.js +1 -1
  438. package/dist/components/mds-banner.js +1 -1
  439. package/dist/components/mds-benchmark-bar.js +1 -1
  440. package/dist/components/mds-bibliography.js +1 -1
  441. package/dist/components/mds-breadcrumb-item.js +1 -1
  442. package/dist/components/mds-breadcrumb.js +1 -1
  443. package/dist/components/mds-button-dropdown.js +1 -1
  444. package/dist/components/mds-button-group.js +1 -1
  445. package/dist/components/mds-button.js +1 -1
  446. package/dist/components/mds-calendar-cell.js +1 -1
  447. package/dist/components/mds-calendar.js +1 -1
  448. package/dist/components/mds-card-content.js +1 -1
  449. package/dist/components/mds-card-footer.js +1 -1
  450. package/dist/components/mds-card-header.js +1 -1
  451. package/dist/components/mds-card-media.js +1 -1
  452. package/dist/components/mds-card.js +1 -1
  453. package/dist/components/mds-chip.js +1 -1
  454. package/dist/components/mds-details.js +1 -1
  455. package/dist/components/mds-dropdown.js +1 -1
  456. package/dist/components/mds-emoji.js +1 -1
  457. package/dist/components/mds-entity.js +1 -1
  458. package/dist/components/mds-file-preview.js +1 -1
  459. package/dist/components/mds-file.js +3 -3
  460. package/dist/components/mds-filter-item.js +1 -1
  461. package/dist/components/mds-filter.js +1 -1
  462. package/dist/components/mds-header-bar.js +1 -1
  463. package/dist/components/mds-header.js +1 -1
  464. package/dist/components/mds-help.js +1 -1
  465. package/dist/components/mds-horizontal-scroll.js +1 -1
  466. package/dist/components/mds-hr.js +1 -1
  467. package/dist/components/mds-icon.js +1 -1
  468. package/dist/components/mds-img.js +1 -1
  469. package/dist/components/mds-input-date-range-preselection.js +1 -1
  470. package/dist/components/mds-input-date-range.js +1 -1
  471. package/dist/components/mds-input-date.js +1 -1
  472. package/dist/components/mds-input-field.js +1 -1
  473. package/dist/components/mds-input-otp.js +1 -1
  474. package/dist/components/mds-input-range.js +1 -1
  475. package/dist/components/mds-input-select.js +1 -1
  476. package/dist/components/mds-input-switch.js +1 -1
  477. package/dist/components/mds-input-tip-item.js +1 -1
  478. package/dist/components/mds-input-tip.js +1 -1
  479. package/dist/components/mds-input-upload.js +1 -1
  480. package/dist/components/mds-input.js +1 -1
  481. package/dist/components/mds-keyboard-key.js +1 -1
  482. package/dist/components/mds-keyboard.js +1 -1
  483. package/dist/components/mds-kpi-item.js +1 -1
  484. package/dist/components/mds-kpi.js +1 -1
  485. package/dist/components/mds-label.js +1 -1
  486. package/dist/components/mds-list-item.js +1 -1
  487. package/dist/components/mds-list.js +1 -1
  488. package/dist/components/mds-mention.js +1 -1
  489. package/dist/components/mds-modal.js +1 -1
  490. package/dist/components/mds-note.js +1 -1
  491. package/dist/components/mds-notification.js +1 -1
  492. package/dist/components/mds-paginator-item.js +1 -1
  493. package/dist/components/mds-paginator.js +1 -1
  494. package/dist/components/mds-policy-ai.js +1 -1
  495. package/dist/components/mds-pref-animation.js +1 -1
  496. package/dist/components/mds-pref-consumption.js +1 -1
  497. package/dist/components/mds-pref-contrast.js +1 -1
  498. package/dist/components/mds-pref-language-item.js +1 -1
  499. package/dist/components/mds-pref-language.js +1 -1
  500. package/dist/components/mds-pref-mode.js +1 -1
  501. package/dist/components/mds-pref-theme-item.js +1 -1
  502. package/dist/components/mds-pref-theme.js +1 -1
  503. package/dist/components/mds-pref.js +1 -1
  504. package/dist/components/mds-price-table-features-cell.js +1 -1
  505. package/dist/components/mds-price-table-features-row.js +1 -1
  506. package/dist/components/mds-price-table-features.js +1 -1
  507. package/dist/components/mds-price-table-header.js +1 -1
  508. package/dist/components/mds-price-table-list-item.js +1 -1
  509. package/dist/components/mds-price-table-list.js +1 -1
  510. package/dist/components/mds-price-table.js +1 -1
  511. package/dist/components/mds-progress.js +1 -1
  512. package/dist/components/mds-push-notification-item.js +1 -1
  513. package/dist/components/mds-push-notification.js +1 -1
  514. package/dist/components/mds-quote.js +1 -1
  515. package/dist/components/mds-radial-menu-item.js +1 -1
  516. package/dist/components/mds-radial-menu.js +1 -1
  517. package/dist/components/mds-radial-progress.js +1 -1
  518. package/dist/components/mds-separator.js +1 -1
  519. package/dist/components/mds-spinner.js +1 -1
  520. package/dist/components/mds-status-bar.js +1 -1
  521. package/dist/components/mds-stepper-bar-item.js +1 -1
  522. package/dist/components/mds-stepper-bar.js +1 -1
  523. package/dist/components/mds-tab-bar-item.js +1 -1
  524. package/dist/components/mds-tab-bar.js +1 -1
  525. package/dist/components/mds-tab-item.js +1 -1
  526. package/dist/components/mds-tab.js +1 -1
  527. package/dist/components/mds-table-body.js +1 -1
  528. package/dist/components/mds-table-cell.js +1 -1
  529. package/dist/components/mds-table-footer.js +1 -1
  530. package/dist/components/mds-table-header-cell.js +1 -1
  531. package/dist/components/mds-table-header.js +1 -1
  532. package/dist/components/mds-table-row.js +1 -1
  533. package/dist/components/mds-table.js +1 -1
  534. package/dist/components/mds-text.js +1 -1
  535. package/dist/components/mds-toast.js +1 -1
  536. package/dist/components/mds-tooltip.js +1 -1
  537. package/dist/components/mds-tree-item.js +1 -1
  538. package/dist/components/mds-tree.js +1 -1
  539. package/dist/components/mds-url-view.js +1 -1
  540. package/dist/components/mds-usage.js +1 -1
  541. package/dist/components/mds-video-wall.js +1 -1
  542. package/dist/components/mds-zero.js +1 -1
  543. package/dist/components/{p-Dpf8NWF9.js → p-B3Z2Goa-.js} +1 -1
  544. package/dist/components/p-B3dWp2vS.js +1 -0
  545. package/dist/components/p-B6FOPjps.js +1 -0
  546. package/dist/components/{p-CIcshx6K.js → p-B7CR1EtF.js} +1 -1
  547. package/dist/components/{p-C3Sn8bRc.js → p-BBPQjm8h.js} +1 -1
  548. package/dist/components/{p-CsL9U6eU.js → p-BCiJ4PRD.js} +1 -1
  549. package/dist/components/p-BHJDW5JC.js +1 -0
  550. package/dist/components/p-BSs0SO-j.js +1 -0
  551. package/dist/components/{p-DR46G4-6.js → p-BY6Qu1V4.js} +1 -1
  552. package/dist/components/{p-CmHMhHMt.js → p-BhmePCyA.js} +1 -1
  553. package/dist/components/{p-DwA-5c8G.js → p-BpGzrg1C.js} +1 -1
  554. package/dist/components/{p-DmPLOktp.js → p-Bv2IVRzI.js} +1 -1
  555. package/dist/components/{p-CGkSDkOY.js → p-C-J9fW51.js} +1 -1
  556. package/dist/components/{p-BW24ByN-.js → p-C7EyV0z3.js} +1 -1
  557. package/dist/components/{p-akEzGmDD.js → p-CAa2kI72.js} +1 -1
  558. package/dist/components/{p-BVw5aqzn.js → p-CBV19-8O.js} +1 -1
  559. package/dist/components/{p-B05zwjTY.js → p-CCv9tBZK.js} +1 -1
  560. package/dist/components/{p-Cyj1BFxx.js → p-CDf607TB.js} +1 -1
  561. package/dist/components/{p-x_c_51aL.js → p-CEMAGNly.js} +1 -1
  562. package/dist/components/{p-BWpSxp3h.js → p-CGYDZBMv.js} +1 -1
  563. package/dist/components/{p-DebgFlHq.js → p-CHAvkoj3.js} +1 -1
  564. package/dist/components/{p-BzvYQBdf.js → p-CMFUEkte.js} +1 -1
  565. package/dist/components/p-CR2GGKXK.js +1 -0
  566. package/dist/components/{p-1aH7xiMs.js → p-Cb5kuO7B.js} +1 -1
  567. package/dist/components/{p-BOu_NOgd.js → p-CiNNzAa3.js} +1 -1
  568. package/dist/components/{p-BXPIlPIF.js → p-DGDdPv_Y.js} +1 -1
  569. package/dist/components/{p-Cnt6G6GK.js → p-D_wD-Pyk.js} +1 -1
  570. package/dist/components/{p-K3QNYRhf.js → p-HR2JwDjG.js} +1 -1
  571. package/dist/components/{p-Dws02cT2.js → p-LE7qQIFR.js} +2 -2
  572. package/dist/components/{p-bDVBqkn0.js → p-vgIKH234.js} +1 -1
  573. package/dist/documentation.json +14 -14
  574. package/dist/esm/index.js +62 -1
  575. package/dist/esm/loader.js +1 -1
  576. package/dist/esm/magma-components.js +1 -1
  577. package/dist/esm/mds-banner_3.entry.js +3 -3
  578. package/dist/esm/mds-button-dropdown.entry.js +1 -1
  579. package/dist/esm/mds-button-group.entry.js +1 -1
  580. package/dist/esm/mds-button_3.entry.js +77 -25
  581. package/dist/esm/mds-calendar_2.entry.js +5 -5
  582. package/dist/esm/mds-card-content.entry.js +1 -1
  583. package/dist/esm/mds-card-footer.entry.js +1 -1
  584. package/dist/esm/mds-card-header.entry.js +1 -1
  585. package/dist/esm/mds-card-media.entry.js +1 -1
  586. package/dist/esm/mds-card.entry.js +1 -1
  587. package/dist/esm/mds-details.entry.js +1 -1
  588. package/dist/esm/mds-dropdown.entry.js +2 -2
  589. package/dist/esm/mds-emoji.entry.js +1 -1
  590. package/dist/esm/mds-entity.entry.js +1 -1
  591. package/dist/esm/mds-file-preview.entry.js +2 -2
  592. package/dist/esm/mds-file.entry.js +1 -1
  593. package/dist/esm/mds-filter-item.entry.js +1 -1
  594. package/dist/esm/mds-filter.entry.js +1 -1
  595. package/dist/esm/mds-header-bar.entry.js +1 -1
  596. package/dist/esm/mds-header.entry.js +1 -1
  597. package/dist/esm/mds-horizontal-scroll.entry.js +1 -1
  598. package/dist/esm/mds-hr.entry.js +1 -1
  599. package/dist/esm/mds-input-date-range-preselection.entry.js +1 -1
  600. package/dist/esm/mds-input-date.entry.js +2 -2
  601. package/dist/esm/mds-input-field.entry.js +1 -1
  602. package/dist/esm/mds-input-otp.entry.js +1 -1
  603. package/dist/esm/mds-input-range.entry.js +1 -1
  604. package/dist/esm/mds-input-select.entry.js +2 -2
  605. package/dist/esm/mds-input-switch_2.entry.js +2 -2
  606. package/dist/esm/mds-input-tip_2.entry.js +3 -3
  607. package/dist/esm/mds-input-upload.entry.js +5 -5
  608. package/dist/esm/mds-input.entry.js +2 -2
  609. package/dist/esm/mds-keyboard-key.entry.js +1 -1
  610. package/dist/esm/mds-keyboard.entry.js +1 -1
  611. package/dist/esm/mds-kpi-item.entry.js +1 -1
  612. package/dist/esm/mds-kpi.entry.js +1 -1
  613. package/dist/esm/mds-list-item.entry.js +1 -1
  614. package/dist/esm/mds-list.entry.js +1 -1
  615. package/dist/esm/mds-mention.entry.js +1 -1
  616. package/dist/esm/mds-modal.entry.js +3 -3
  617. package/dist/esm/mds-note.entry.js +1 -1
  618. package/dist/esm/mds-notification.entry.js +1 -1
  619. package/dist/esm/mds-paginator-item.entry.js +1 -1
  620. package/dist/esm/mds-paginator.entry.js +1 -1
  621. package/dist/esm/mds-policy-ai.entry.js +1 -1
  622. package/dist/esm/mds-pref-animation.entry.js +1 -1
  623. package/dist/esm/mds-pref-consumption.entry.js +1 -1
  624. package/dist/esm/mds-pref-contrast.entry.js +1 -1
  625. package/dist/esm/mds-pref-language-item.entry.js +1 -1
  626. package/dist/esm/mds-pref-language.entry.js +1 -1
  627. package/dist/esm/mds-pref-mode.entry.js +2 -2
  628. package/dist/esm/mds-pref-theme-item.entry.js +1 -1
  629. package/dist/esm/mds-pref-theme.entry.js +1 -1
  630. package/dist/esm/mds-pref.entry.js +1 -1
  631. package/dist/esm/mds-price-table-features-cell.entry.js +1 -1
  632. package/dist/esm/mds-price-table-features-row.entry.js +1 -1
  633. package/dist/esm/mds-price-table-features.entry.js +1 -1
  634. package/dist/esm/mds-price-table-header.entry.js +1 -1
  635. package/dist/esm/mds-price-table-list-item.entry.js +1 -1
  636. package/dist/esm/mds-price-table-list.entry.js +1 -1
  637. package/dist/esm/mds-price-table.entry.js +1 -1
  638. package/dist/esm/mds-progress_2.entry.js +2 -2
  639. package/dist/esm/mds-push-notification-item.entry.js +2 -2
  640. package/dist/esm/mds-push-notification.entry.js +1 -1
  641. package/dist/esm/mds-quote.entry.js +1 -1
  642. package/dist/esm/mds-radial-menu-item.entry.js +1 -1
  643. package/dist/esm/mds-radial-menu.entry.js +1 -1
  644. package/dist/esm/mds-separator.entry.js +1 -1
  645. package/dist/esm/mds-status-bar.entry.js +1 -1
  646. package/dist/esm/mds-stepper-bar-item.entry.js +1 -1
  647. package/dist/esm/mds-stepper-bar.entry.js +1 -1
  648. package/dist/esm/mds-tab-bar-item.entry.js +1 -1
  649. package/dist/esm/mds-tab-bar.entry.js +1 -1
  650. package/dist/esm/mds-tab_2.entry.js +27 -5
  651. package/dist/esm/mds-table-body.entry.js +1 -1
  652. package/dist/esm/mds-table-footer.entry.js +1 -1
  653. package/dist/esm/mds-table-header-cell.entry.js +1 -1
  654. package/dist/esm/mds-table-header.entry.js +1 -1
  655. package/dist/esm/mds-table-row.entry.js +22 -16
  656. package/dist/esm/mds-table.entry.js +1 -1
  657. package/dist/esm/mds-text.entry.js +1 -1
  658. package/dist/esm/mds-toast.entry.js +1 -1
  659. package/dist/esm/mds-tooltip.entry.js +1 -1
  660. package/dist/esm/mds-tree-item.entry.js +1 -1
  661. package/dist/esm/mds-tree.entry.js +1 -1
  662. package/dist/esm/mds-url-view.entry.js +1 -1
  663. package/dist/esm/mds-usage.entry.js +1 -1
  664. package/dist/esm/mds-video-wall.entry.js +1 -1
  665. package/dist/esm/mds-zero.entry.js +1 -1
  666. package/dist/esm-es5/index.js +37 -20
  667. package/dist/esm-es5/loader.js +1 -1
  668. package/dist/esm-es5/magma-components.js +1 -1
  669. package/dist/esm-es5/mds-banner_3.entry.js +3 -3
  670. package/dist/esm-es5/mds-button-dropdown.entry.js +1 -1
  671. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  672. package/dist/esm-es5/mds-button_3.entry.js +28 -6
  673. package/dist/esm-es5/mds-calendar_2.entry.js +2 -2
  674. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  675. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  676. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  677. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  678. package/dist/esm-es5/mds-card.entry.js +1 -1
  679. package/dist/esm-es5/mds-details.entry.js +1 -1
  680. package/dist/esm-es5/mds-dropdown.entry.js +1 -1
  681. package/dist/esm-es5/mds-emoji.entry.js +1 -1
  682. package/dist/esm-es5/mds-entity.entry.js +1 -1
  683. package/dist/esm-es5/mds-file-preview.entry.js +1 -1
  684. package/dist/esm-es5/mds-file.entry.js +1 -1
  685. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  686. package/dist/esm-es5/mds-filter.entry.js +1 -1
  687. package/dist/esm-es5/mds-header-bar.entry.js +1 -1
  688. package/dist/esm-es5/mds-header.entry.js +4 -4
  689. package/dist/esm-es5/mds-horizontal-scroll.entry.js +1 -1
  690. package/dist/esm-es5/mds-hr.entry.js +1 -1
  691. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  692. package/dist/esm-es5/mds-input-date.entry.js +2 -2
  693. package/dist/esm-es5/mds-input-field.entry.js +1 -1
  694. package/dist/esm-es5/mds-input-otp.entry.js +1 -1
  695. package/dist/esm-es5/mds-input-range.entry.js +1 -1
  696. package/dist/esm-es5/mds-input-select.entry.js +1 -1
  697. package/dist/esm-es5/mds-input-switch_2.entry.js +1 -1
  698. package/dist/esm-es5/mds-input-tip_2.entry.js +2 -2
  699. package/dist/esm-es5/mds-input-upload.entry.js +1 -1
  700. package/dist/esm-es5/mds-input.entry.js +1 -1
  701. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  702. package/dist/esm-es5/mds-keyboard.entry.js +1 -1
  703. package/dist/esm-es5/mds-kpi-item.entry.js +1 -1
  704. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  705. package/dist/esm-es5/mds-list-item.entry.js +1 -1
  706. package/dist/esm-es5/mds-list.entry.js +1 -1
  707. package/dist/esm-es5/mds-mention.entry.js +1 -1
  708. package/dist/esm-es5/mds-modal.entry.js +1 -1
  709. package/dist/esm-es5/mds-note.entry.js +1 -1
  710. package/dist/esm-es5/mds-notification.entry.js +1 -1
  711. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  712. package/dist/esm-es5/mds-paginator.entry.js +1 -1
  713. package/dist/esm-es5/mds-policy-ai.entry.js +1 -1
  714. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  715. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  716. package/dist/esm-es5/mds-pref-contrast.entry.js +1 -1
  717. package/dist/esm-es5/mds-pref-language-item.entry.js +1 -1
  718. package/dist/esm-es5/mds-pref-language.entry.js +1 -1
  719. package/dist/esm-es5/mds-pref-mode.entry.js +1 -1
  720. package/dist/esm-es5/mds-pref-theme-item.entry.js +1 -1
  721. package/dist/esm-es5/mds-pref-theme.entry.js +1 -1
  722. package/dist/esm-es5/mds-pref.entry.js +1 -1
  723. package/dist/esm-es5/mds-price-table-features-cell.entry.js +1 -1
  724. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  725. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  726. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  727. package/dist/esm-es5/mds-price-table-list-item.entry.js +1 -1
  728. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  729. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  730. package/dist/esm-es5/mds-progress_2.entry.js +2 -2
  731. package/dist/esm-es5/mds-push-notification-item.entry.js +2 -2
  732. package/dist/esm-es5/mds-push-notification.entry.js +1 -1
  733. package/dist/esm-es5/mds-quote.entry.js +1 -1
  734. package/dist/esm-es5/mds-radial-menu-item.entry.js +1 -1
  735. package/dist/esm-es5/mds-radial-menu.entry.js +1 -1
  736. package/dist/esm-es5/mds-separator.entry.js +1 -1
  737. package/dist/esm-es5/mds-status-bar.entry.js +1 -1
  738. package/dist/esm-es5/mds-stepper-bar-item.entry.js +1 -1
  739. package/dist/esm-es5/mds-stepper-bar.entry.js +2 -2
  740. package/dist/esm-es5/mds-tab-bar-item.entry.js +3 -3
  741. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  742. package/dist/esm-es5/mds-tab_2.entry.js +15 -4
  743. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  744. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  745. package/dist/esm-es5/mds-table-header-cell.entry.js +1 -1
  746. package/dist/esm-es5/mds-table-header.entry.js +4 -4
  747. package/dist/esm-es5/mds-table-row.entry.js +12 -4
  748. package/dist/esm-es5/mds-table.entry.js +2 -2
  749. package/dist/esm-es5/mds-text.entry.js +1 -1
  750. package/dist/esm-es5/mds-toast.entry.js +1 -1
  751. package/dist/esm-es5/mds-tooltip.entry.js +1 -1
  752. package/dist/esm-es5/mds-tree-item.entry.js +1 -1
  753. package/dist/esm-es5/mds-tree.entry.js +1 -1
  754. package/dist/esm-es5/mds-url-view.entry.js +1 -1
  755. package/dist/esm-es5/mds-usage.entry.js +1 -1
  756. package/dist/esm-es5/mds-video-wall.entry.js +1 -1
  757. package/dist/esm-es5/mds-zero.entry.js +1 -1
  758. package/dist/hydrate/index.js +300 -155
  759. package/dist/hydrate/index.mjs +300 -155
  760. package/dist/magma-components/index.esm.js +1 -1
  761. package/dist/magma-components/magma-components.esm.js +1 -1
  762. package/dist/magma-components/{p-2723caa7.system.entry.js → p-019e8a95.system.entry.js} +2 -2
  763. package/dist/magma-components/{p-835fc007.entry.js → p-01dd1f55.entry.js} +1 -1
  764. package/dist/magma-components/{p-a64bbb36.system.entry.js → p-02119624.system.entry.js} +3 -3
  765. package/dist/magma-components/{p-d2f134ac.entry.js → p-02fc7592.entry.js} +1 -1
  766. package/dist/magma-components/{p-b295e4ab.system.entry.js → p-03cd0069.system.entry.js} +1 -1
  767. package/dist/magma-components/p-05fbca60.system.entry.js +37 -0
  768. package/dist/magma-components/{p-b431ca8a.entry.js → p-06d9af89.entry.js} +1 -1
  769. package/dist/magma-components/p-07e4701d.entry.js +1 -0
  770. package/dist/magma-components/{p-bab4c75e.system.entry.js → p-081a19b1.system.entry.js} +5 -5
  771. package/dist/magma-components/p-09d0b6a8.entry.js +1 -0
  772. package/dist/magma-components/{p-d282a929.entry.js → p-0b300de7.entry.js} +1 -1
  773. package/dist/magma-components/{p-0a551e86.entry.js → p-0d3c3de9.entry.js} +1 -1
  774. package/dist/magma-components/{p-3d56e3f4.entry.js → p-115a5e47.entry.js} +1 -1
  775. package/dist/magma-components/p-1314d80e.entry.js +1 -0
  776. package/dist/magma-components/{p-8aafbfdf.system.entry.js → p-133a6ffd.system.entry.js} +1 -1
  777. package/dist/magma-components/{p-0a904a12.entry.js → p-13db55de.entry.js} +1 -1
  778. package/dist/magma-components/{p-2c44c961.system.entry.js → p-1a2731ec.system.entry.js} +4 -4
  779. package/dist/magma-components/{p-5a911e7b.system.entry.js → p-1a602906.system.entry.js} +2 -2
  780. package/dist/magma-components/{p-ec9cc7b9.entry.js → p-1c975156.entry.js} +1 -1
  781. package/dist/magma-components/{p-3e0eed90.system.entry.js → p-1d154234.system.entry.js} +3 -3
  782. package/dist/magma-components/{p-d9804d2f.entry.js → p-1d9d7666.entry.js} +1 -1
  783. package/dist/magma-components/{p-ccb14076.system.entry.js → p-1ddaaa6d.system.entry.js} +1 -1
  784. package/dist/magma-components/{p-7afec7ee.entry.js → p-21aa0a74.entry.js} +1 -1
  785. package/dist/magma-components/{p-106f39c6.entry.js → p-2399b7e8.entry.js} +1 -1
  786. package/dist/magma-components/{p-92d9b537.entry.js → p-25407d89.entry.js} +1 -1
  787. package/dist/magma-components/{p-91ff1560.system.entry.js → p-27547a7a.system.entry.js} +2 -2
  788. package/dist/magma-components/{p-03c2060d.entry.js → p-289a874e.entry.js} +1 -1
  789. package/dist/magma-components/{p-77615947.system.entry.js → p-2be3bd23.system.entry.js} +1 -1
  790. package/dist/magma-components/{p-4dd6a39b.entry.js → p-2c586431.entry.js} +1 -1
  791. package/dist/magma-components/{p-832883c4.entry.js → p-2d324edc.entry.js} +1 -1
  792. package/dist/magma-components/{p-5c94e0c2.system.entry.js → p-2da2cdf3.system.entry.js} +2 -2
  793. package/dist/magma-components/{p-dcc3be64.system.entry.js → p-2e01e057.system.entry.js} +2 -2
  794. package/dist/magma-components/{p-2ec0db8e.entry.js → p-2e9b80e8.entry.js} +1 -1
  795. package/dist/magma-components/{p-493fb2f4.system.entry.js → p-32361702.system.entry.js} +1 -1
  796. package/dist/magma-components/{p-a7e7f2c0.entry.js → p-3448d0ce.entry.js} +1 -1
  797. package/dist/magma-components/{p-e1e69217.system.entry.js → p-367cee40.system.entry.js} +1 -1
  798. package/dist/magma-components/{p-f5bb8c0c.entry.js → p-3a1a6945.entry.js} +1 -1
  799. package/dist/magma-components/{p-915c5f06.system.entry.js → p-3a8870e4.system.entry.js} +1 -1
  800. package/dist/magma-components/{p-0255924b.system.entry.js → p-3b68fbcd.system.entry.js} +2 -2
  801. package/dist/magma-components/p-3f05ec8a.entry.js +1 -0
  802. package/dist/magma-components/{p-c22887f7.system.entry.js → p-4073c5f2.system.entry.js} +4 -4
  803. package/dist/magma-components/p-40bd2e6d.entry.js +1 -0
  804. package/dist/magma-components/{p-883c223a.system.entry.js → p-423597db.system.entry.js} +2 -2
  805. package/dist/magma-components/{p-58b82b40.system.entry.js → p-443c2a29.system.entry.js} +2 -2
  806. package/dist/magma-components/{p-52793bdb.system.entry.js → p-45a91f1c.system.entry.js} +1 -1
  807. package/dist/magma-components/{p-e887a14c.entry.js → p-487af9d3.entry.js} +1 -1
  808. package/dist/magma-components/{p-4658154f.entry.js → p-4909070e.entry.js} +1 -1
  809. package/dist/magma-components/{p-00e47e49.system.entry.js → p-4d966161.system.entry.js} +3 -3
  810. package/dist/magma-components/p-4ddf891e.system.entry.js +69 -0
  811. package/dist/magma-components/{p-dc59b764.entry.js → p-4e15cde7.entry.js} +1 -1
  812. package/dist/magma-components/{p-44e2a945.system.entry.js → p-4ffec31a.system.entry.js} +1 -1
  813. package/dist/magma-components/{p-ccb6898a.system.entry.js → p-50b266e9.system.entry.js} +1 -1
  814. package/dist/magma-components/{p-5a7267e8.system.entry.js → p-5165b09f.system.entry.js} +2 -2
  815. package/dist/magma-components/{p-7927010f.system.entry.js → p-544cc9c7.system.entry.js} +1 -1
  816. package/dist/magma-components/p-562bb482.system.entry.js +16 -0
  817. package/dist/magma-components/p-5ae5ec95.entry.js +1 -0
  818. package/dist/magma-components/{p-79421ee1.system.entry.js → p-5d2d8ffe.system.entry.js} +1 -1
  819. package/dist/magma-components/{p-4ac94b84.system.entry.js → p-5e180f53.system.entry.js} +1 -1
  820. package/dist/magma-components/{p-837fbbf7.system.entry.js → p-61ff1d85.system.entry.js} +1 -1
  821. package/dist/magma-components/{p-283b0548.system.entry.js → p-62b17608.system.entry.js} +2 -2
  822. package/dist/magma-components/{p-ecd3c27f.entry.js → p-63e7c98f.entry.js} +1 -1
  823. package/dist/magma-components/{p-bc53c19e.entry.js → p-6474c850.entry.js} +1 -1
  824. package/dist/magma-components/{p-20e4f7dd.system.entry.js → p-660657ac.system.entry.js} +3 -3
  825. package/dist/magma-components/{p-18c8628c.entry.js → p-66237a64.entry.js} +1 -1
  826. package/dist/magma-components/{p-0646392d.entry.js → p-6702e489.entry.js} +1 -1
  827. package/dist/magma-components/p-694ed534.entry.js +1 -0
  828. package/dist/magma-components/{p-88f99a4f.system.entry.js → p-6b446fd9.system.entry.js} +2 -2
  829. package/dist/magma-components/{p-10ad73e3.system.entry.js → p-6c414bc2.system.entry.js} +1 -1
  830. package/dist/magma-components/{p-6f74cdf5.system.entry.js → p-6cbd8a6d.system.entry.js} +3 -3
  831. package/dist/magma-components/{p-b24b5179.entry.js → p-6d0dc1fd.entry.js} +1 -1
  832. package/dist/magma-components/{p-1be45c75.entry.js → p-6f2471b1.entry.js} +1 -1
  833. package/dist/magma-components/{p-188f4b1d.system.entry.js → p-6fa03aab.system.entry.js} +1 -1
  834. package/dist/magma-components/{p-774ce1d2.entry.js → p-70141ccd.entry.js} +1 -1
  835. package/dist/magma-components/{p-8afc9bc4.system.entry.js → p-707d8626.system.entry.js} +1 -1
  836. package/dist/magma-components/{p-5fd04ce1.entry.js → p-71dafc3f.entry.js} +1 -1
  837. package/dist/magma-components/{p-ffa1a0b4.system.entry.js → p-726209f4.system.entry.js} +1 -1
  838. package/dist/magma-components/{p-a6af4083.system.entry.js → p-745ee76b.system.entry.js} +2 -2
  839. package/dist/magma-components/{p-d47df503.system.entry.js → p-761415b3.system.entry.js} +1 -1
  840. package/dist/magma-components/{p-dd58f9ee.entry.js → p-771720b7.entry.js} +1 -1
  841. package/dist/magma-components/{p-1e700f0a.entry.js → p-7a7c308b.entry.js} +1 -1
  842. package/dist/magma-components/{p-439c9ce3.system.entry.js → p-7bea6c05.system.entry.js} +1 -1
  843. package/dist/magma-components/{p-64f78149.system.entry.js → p-7c940015.system.entry.js} +1 -1
  844. package/dist/magma-components/{p-474c5d53.system.entry.js → p-7ca990d4.system.entry.js} +2 -2
  845. package/dist/magma-components/{p-de091be7.system.entry.js → p-7d6ca97d.system.entry.js} +1 -1
  846. package/dist/magma-components/{p-7e7cf986.system.entry.js → p-8097dfc8.system.entry.js} +1 -1
  847. package/dist/magma-components/{p-8183b7ed.entry.js → p-843ab1b4.entry.js} +1 -1
  848. package/dist/magma-components/{p-9dcfc247.entry.js → p-8765dc11.entry.js} +1 -1
  849. package/dist/magma-components/{p-218d8254.system.entry.js → p-876a5fb9.system.entry.js} +1 -1
  850. package/dist/magma-components/{p-aba96089.entry.js → p-8a838a1a.entry.js} +1 -1
  851. package/dist/magma-components/{p-35aa29c5.entry.js → p-8bcb2a5f.entry.js} +1 -1
  852. package/dist/magma-components/p-8c93550d.entry.js +1 -0
  853. package/dist/magma-components/{p-ac81f63a.system.entry.js → p-91451e37.system.entry.js} +1 -1
  854. package/dist/magma-components/{p-1e3d89cd.system.entry.js → p-91c8960a.system.entry.js} +1 -1
  855. package/dist/magma-components/{p-1673225e.system.entry.js → p-939da879.system.entry.js} +1 -1
  856. package/dist/magma-components/{p-15d4846d.entry.js → p-97bde480.entry.js} +1 -1
  857. package/dist/magma-components/{p-5d119459.entry.js → p-97d02403.entry.js} +1 -1
  858. package/dist/magma-components/{p-05014374.entry.js → p-983f3e40.entry.js} +1 -1
  859. package/dist/magma-components/{p-dfe8552c.system.entry.js → p-99227c78.system.entry.js} +1 -1
  860. package/dist/magma-components/{p-eb681207.system.entry.js → p-9a583f6b.system.entry.js} +1 -1
  861. package/dist/magma-components/{p-84645c60.system.entry.js → p-9a86e0ce.system.entry.js} +1 -1
  862. package/dist/magma-components/{p-6c800411.entry.js → p-9e5982b6.entry.js} +1 -1
  863. package/dist/magma-components/{p-021f96f8.entry.js → p-9eef2f79.entry.js} +1 -1
  864. package/dist/magma-components/{p-12c5ae26.entry.js → p-9fe7035a.entry.js} +1 -1
  865. package/dist/magma-components/p-CKfEQ187.system.js +107 -0
  866. package/dist/magma-components/p-ZDRIVCAt.system.js +1 -1
  867. package/dist/magma-components/{p-e2ef5996.entry.js → p-a0972ec9.entry.js} +1 -1
  868. package/dist/magma-components/{p-c34d9e61.system.entry.js → p-a0d9e01f.system.entry.js} +1 -1
  869. package/dist/magma-components/{p-632bc44c.entry.js → p-a1851e6f.entry.js} +1 -1
  870. package/dist/magma-components/{p-e213640b.entry.js → p-a1b5bd58.entry.js} +1 -1
  871. package/dist/magma-components/{p-83394280.system.entry.js → p-a2d9549d.system.entry.js} +1 -1
  872. package/dist/magma-components/{p-05f73994.entry.js → p-a5a13b20.entry.js} +1 -1
  873. package/dist/magma-components/{p-7e085c82.entry.js → p-a6a71c77.entry.js} +1 -1
  874. package/dist/magma-components/{p-c28fce23.entry.js → p-a96312c1.entry.js} +1 -1
  875. package/dist/magma-components/{p-eaff7300.entry.js → p-a9e4efa3.entry.js} +1 -1
  876. package/dist/magma-components/{p-ef3424e3.entry.js → p-aa0bd826.entry.js} +1 -1
  877. package/dist/magma-components/{p-231b604f.system.entry.js → p-aa74169f.system.entry.js} +1 -1
  878. package/dist/magma-components/{p-90993b0b.system.entry.js → p-ab4ffbd4.system.entry.js} +1 -1
  879. package/dist/magma-components/{p-a4a83a63.entry.js → p-ad09a06b.entry.js} +1 -1
  880. package/dist/magma-components/{p-34401d35.entry.js → p-ad9cb1f5.entry.js} +1 -1
  881. package/dist/magma-components/{p-c0136138.entry.js → p-afbef2fc.entry.js} +1 -1
  882. package/dist/magma-components/{p-3eefca33.system.entry.js → p-b183d698.system.entry.js} +2 -2
  883. package/dist/magma-components/{p-2507f5cf.entry.js → p-b49196da.entry.js} +1 -1
  884. package/dist/magma-components/{p-d1faf129.entry.js → p-b77a2832.entry.js} +1 -1
  885. package/dist/magma-components/{p-4c73f14b.system.entry.js → p-b925c109.system.entry.js} +2 -2
  886. package/dist/magma-components/{p-73fde271.system.entry.js → p-b9e3281a.system.entry.js} +5 -5
  887. package/dist/magma-components/p-bb0538b6.entry.js +1 -0
  888. package/dist/magma-components/{p-c48bad95.entry.js → p-bb055583.entry.js} +1 -1
  889. package/dist/magma-components/{p-7770b989.system.entry.js → p-bc6a41a9.system.entry.js} +1 -1
  890. package/dist/magma-components/{p-4cb88b06.system.entry.js → p-bd9324f3.system.entry.js} +1 -1
  891. package/dist/magma-components/{p-57762bae.entry.js → p-c48e3460.entry.js} +1 -1
  892. package/dist/magma-components/{p-d04ac65d.entry.js → p-c4beed1b.entry.js} +1 -1
  893. package/dist/magma-components/{p-7ab15184.entry.js → p-c4ccb710.entry.js} +1 -1
  894. package/dist/magma-components/{p-436f9b27.system.entry.js → p-c4e4ba90.system.entry.js} +7 -7
  895. package/dist/magma-components/{p-13a1d35f.entry.js → p-c573e136.entry.js} +1 -1
  896. package/dist/magma-components/{p-5f1132b8.entry.js → p-c5ad848f.entry.js} +1 -1
  897. package/dist/magma-components/{p-cc0c6ae7.entry.js → p-c6841b21.entry.js} +1 -1
  898. package/dist/magma-components/{p-21865dd2.entry.js → p-c89a44b2.entry.js} +1 -1
  899. package/dist/magma-components/{p-69c21eae.entry.js → p-c94575de.entry.js} +1 -1
  900. package/dist/magma-components/{p-3a1339bb.system.entry.js → p-cabe9133.system.entry.js} +2 -2
  901. package/dist/magma-components/p-cb571b55.system.entry.js +1 -0
  902. package/dist/magma-components/{p-8a3d2259.system.entry.js → p-cbc0f01f.system.entry.js} +2 -2
  903. package/dist/magma-components/{p-86f4b6eb.system.entry.js → p-cc1ee10a.system.entry.js} +1 -1
  904. package/dist/magma-components/{p-cc9d9458.entry.js → p-cd1dc29a.entry.js} +1 -1
  905. package/dist/magma-components/{p-4211ce6c.system.entry.js → p-cd5cf28b.system.entry.js} +1 -1
  906. package/dist/magma-components/{p-277444bc.entry.js → p-cd952369.entry.js} +1 -1
  907. package/dist/magma-components/{p-6e03b83a.entry.js → p-d35aebe5.entry.js} +1 -1
  908. package/dist/magma-components/{p-b626c69f.system.entry.js → p-d5e53364.system.entry.js} +1 -1
  909. package/dist/magma-components/{p-93d39066.entry.js → p-d74fa7af.entry.js} +1 -1
  910. package/dist/magma-components/{p-577db922.entry.js → p-d7515aae.entry.js} +1 -1
  911. package/dist/magma-components/{p-b2c62b6e.system.entry.js → p-d7a94afb.system.entry.js} +1 -1
  912. package/dist/magma-components/{p-6c18c40e.system.entry.js → p-d93c9a11.system.entry.js} +1 -1
  913. package/dist/magma-components/{p-314abfba.entry.js → p-d9fbbf3f.entry.js} +1 -1
  914. package/dist/magma-components/{p-88287207.system.entry.js → p-db492cf5.system.entry.js} +2 -2
  915. package/dist/magma-components/{p-a462aadd.entry.js → p-dc399372.entry.js} +1 -1
  916. package/dist/magma-components/{p-e8ed096b.entry.js → p-dcf841d5.entry.js} +1 -1
  917. package/dist/magma-components/{p-97f6166e.system.entry.js → p-dfb4a965.system.entry.js} +1 -1
  918. package/dist/magma-components/{p-b5559b28.system.entry.js → p-e1a91e9e.system.entry.js} +1 -1
  919. package/dist/magma-components/{p-474047fa.system.entry.js → p-e5438280.system.entry.js} +1 -1
  920. package/dist/magma-components/{p-6a6326c6.entry.js → p-e95f2a48.entry.js} +1 -1
  921. package/dist/magma-components/{p-7787ebaf.system.entry.js → p-eb113725.system.entry.js} +1 -1
  922. package/dist/magma-components/{p-36a67b51.entry.js → p-ec5eccbb.entry.js} +1 -1
  923. package/dist/magma-components/{p-cc2a09f2.system.entry.js → p-eea815ca.system.entry.js} +1 -1
  924. package/dist/magma-components/{p-f733ae92.system.entry.js → p-ef4cd904.system.entry.js} +2 -2
  925. package/dist/magma-components/{p-0141c597.system.entry.js → p-eff1fd6c.system.entry.js} +2 -2
  926. package/dist/magma-components/{p-faa1f22c.entry.js → p-eff38775.entry.js} +1 -1
  927. package/dist/magma-components/{p-9344a234.entry.js → p-f01874a8.entry.js} +1 -1
  928. package/dist/magma-components/p-f05d7005.entry.js +1 -0
  929. package/dist/magma-components/{p-f29a059d.system.entry.js → p-f0c67a70.system.entry.js} +2 -2
  930. package/dist/magma-components/{p-e7751639.entry.js → p-f215496c.entry.js} +1 -1
  931. package/dist/magma-components/{p-8d53bd61.system.entry.js → p-f28cfb33.system.entry.js} +2 -2
  932. package/dist/magma-components/{p-6fdb3fe7.system.entry.js → p-f3dbebdd.system.entry.js} +1 -1
  933. package/dist/magma-components/{p-0a38e4ce.system.entry.js → p-f65e29e0.system.entry.js} +1 -1
  934. package/dist/magma-components/{p-74b51db8.entry.js → p-f830793e.entry.js} +1 -1
  935. package/dist/magma-components/{p-5ccf493c.system.entry.js → p-f835c307.system.entry.js} +1 -1
  936. package/dist/magma-components/{p-50ea11c9.system.entry.js → p-f89c3a01.system.entry.js} +1 -1
  937. package/dist/magma-components/{p-ee1e7f07.system.entry.js → p-f8da21a1.system.entry.js} +1 -1
  938. package/dist/magma-components/{p-bf2fe278.system.entry.js → p-f97b4ff4.system.entry.js} +2 -2
  939. package/dist/magma-components/{p-2f520704.entry.js → p-fc8f8a0c.entry.js} +1 -1
  940. package/dist/magma-components/{p-76ecad2f.entry.js → p-fcaa5967.entry.js} +3 -3
  941. package/dist/magma-components/{p-6ff8be3e.system.entry.js → p-ff970859.system.entry.js} +1 -1
  942. package/dist/stats.json +797 -772
  943. package/dist/types/common/navigation.d.ts +32 -0
  944. package/dist/types/components/mds-button/mds-button.d.ts +23 -2
  945. package/dist/types/components/mds-tab/mds-tab.d.ts +6 -1
  946. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +6 -1
  947. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -2
  948. package/dist/types/components.d.ts +4 -4
  949. package/dist/types/index.d.ts +12 -4
  950. package/package.json +6 -6
  951. package/dist/components/p-CKS4r32k.js +0 -1
  952. package/dist/components/p-COkF_8bh.js +0 -1
  953. package/dist/components/p-DQqUzCGR.js +0 -1
  954. package/dist/components/p-DcW0iRnZ.js +0 -1
  955. package/dist/components/p-PQ_EO5-U.js +0 -1
  956. package/dist/magma-components/p-322a5452.entry.js +0 -1
  957. package/dist/magma-components/p-35ee2d77.entry.js +0 -1
  958. package/dist/magma-components/p-4e7f21ac.entry.js +0 -1
  959. package/dist/magma-components/p-514d0fcb.entry.js +0 -1
  960. package/dist/magma-components/p-5299f709.system.entry.js +0 -26
  961. package/dist/magma-components/p-60f67c37.entry.js +0 -1
  962. package/dist/magma-components/p-789c1b93.system.entry.js +0 -1
  963. package/dist/magma-components/p-8ccd187a.entry.js +0 -1
  964. package/dist/magma-components/p-D7BrzK-C.system.js +0 -90
  965. package/dist/magma-components/p-a41e52f7.entry.js +0 -1
  966. package/dist/magma-components/p-b897c97d.entry.js +0 -1
  967. package/dist/magma-components/p-c166ec50.system.entry.js +0 -47
  968. package/dist/magma-components/p-d07d227b.system.entry.js +0 -8
  969. package/dist/magma-components/p-d5bd6bef.entry.js +0 -1
  970. package/dist/magma-components/p-f654eafe.entry.js +0 -1
@@ -1,10 +1,13 @@
1
- import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{b as queryChildrenBySlot}from"./slot-C0o_l0td.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-CSCy6TMW.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-tab-item-default-shadow:#0000;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-tab-item-hover-shadow:#0000;--mds-tab-item-radius: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)));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,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:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--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(--magma-tint-scale-10,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-transition-duration:.5s;--private-tab-transition-duration:var(--mds-tab-transition-duration,.5s);--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:-webkit-min-content auto;grid-template-rows:min-content auto;position:relative}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:#0000}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,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);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:background-color;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);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)));-webkit-box-shadow:var(--mds-tab-tabs-wrapper-shadow);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;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:box-shadow,opacity;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);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);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:height;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);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);-webkit-box-shadow:var(--mds-tab-item-selected-shadow);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;-webkit-transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:background-color,box-shadow,transform,width;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){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])::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(--magma-tint-scale-09,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(--magma-tint-scale-02,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(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));border-radius:100%;-webkit-box-shadow:var(--mds-tab-tabs-overflow-shadow);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;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));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;-webkit-transform:translateX(calc(var(--offset-outside)*-1));transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;-webkit-transform:translateX(var(--offset-outside));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(--magma-tint-scale-08,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-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(--magma-tint-scale-08,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-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;this.overflowLeft=false;this.overflowRight=false;
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{b as queryChildrenBySlot}from"./slot-C0o_l0td.js";import{s as setAttributeIfEmpty,h as hashRandomValue}from"./aria-CSCy6TMW.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{c as cssDurationToMilliseconds}from"./unit-D8eZRaSQ.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-tab-item-default-shadow:#0000;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-tab-item-hover-shadow:#0000;--mds-tab-item-radius: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)));--mds-tab-item-selected-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-tab-item-selected-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3);--mds-tab-scroll-scrollbar-track-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,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:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));--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(--magma-tint-scale-10,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-transition-duration:.5s;--private-tab-transition-duration:var(--mds-tab-transition-duration,.5s);--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:-webkit-min-content auto;grid-template-rows:min-content auto;position:relative}:host([animation=slide]) ::slotted(mds-tab-item){--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-selected-shadow:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-default-shadow:#0000}.tabs{align-items:flex-start;background-color:var(--mds-tab-tabs-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,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);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:background-color;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);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)));-webkit-box-shadow:var(--mds-tab-tabs-wrapper-shadow);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;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:box-shadow,opacity;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);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);-webkit-scroll-snap-type:x mandatory;-ms-scroll-snap-type:x mandatory;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-transition-duration:var(--private-tab-transition-duration);transition-duration:var(--private-tab-transition-duration);transition-property:height;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);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);-webkit-box-shadow:var(--mds-tab-item-selected-shadow);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;-webkit-transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));transform:translate(var(--mds-tab-slider-offset-x),var(--mds-tab-slider-offset-y));-webkit-transition-duration:var(--mds-tab-transition-duration,.5s);transition-duration:var(--mds-tab-transition-duration,.5s);transition-property:background-color,box-shadow,transform,width;-webkit-transition-timing-function:var(--mds-tab-transition-timing-function);transition-timing-function:var(--mds-tab-transition-timing-function);width:var(--mds-tab-slider-width);will-change:height,transform,width;z-index:-1}::slotted(mds-tab-item){position:relative;z-index:1}:host([direction=vertical]){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(--magma-tint-scale-09,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(--magma-tint-scale-02,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(--magma-tint-scale-02,var(--tone-neutral-02,42 42 42)))/.3)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--magma-wash-base,var(--magma-tint-scale-09,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));border-radius:100%;-webkit-box-shadow:var(--mds-tab-tabs-overflow-shadow);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;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));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;-webkit-transform:translateX(calc(var(--offset-outside)*-1));transform:translateX(calc(var(--offset-outside)*-1))}.tabs-wrapper-overflow-right{inset:0 0 0 auto;-webkit-transform:translateX(var(--offset-outside));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(--magma-tint-scale-08,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-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(--magma-tint-scale-08,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(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--magma-border-strong,var(--magma-tint-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;this.overflowLeft=false;this.overflowRight=false;
2
+ /** every item is a link: the strip is a navigation, not a tablist */this.navigation=false;this.hasContent=false;
2
3
  /**
3
4
  * Sets if the component distributes item vertically or horzontally
4
5
  */this.direction="horizontal";
5
6
  /**
6
7
  * Sets the animation type of the selection transition between `mds-tab-item` elements
7
- */this.animation="slide";this.queryContentItems=function(){return queryChildrenBySlot(a.element,"content")};this.updateContentItems=function(){a.contentItems=a.queryContentItems();a.contentItems.forEach((function(t,r){setAttributeIfEmpty(t,"role","tabpanel");setAttributeIfEmpty(t,"aria-labelledby",a.tabItems[r].id)}));a.selectContentItem()};this.setTabsItems=function(){a.tabItems=Array.from(a.element.querySelectorAll("mds-tab-item"));a.currentItemIndex=-1;a.tabItems.forEach((function(t){t.size=a.size;t.direction=a.direction;t.animation=a.animation}));a.tabItems.forEach((function(t,r){if(t.id===""){setAttributeIfEmpty(t,"id",hashRandomValue("mds-tab-item"))}if(t.selected){a.currentItemIndex=r;a.currentItemEl=a.tabItems[a.currentItemIndex]}}))};this.updateTabItems=function(){a.setTabsItems();if(a.overflow)a.updateOverflowState();a.updateSliderPosition();a.scrollTabs(a.currentItemIndex)};this.unsetOverflowCheck=function(){a.tabs.removeEventListener("scroll",a.updateOverflowState);a.observer.unobserve(a.tabsContainer)};this.initOverflowCheck=function(){a.tabs.addEventListener("scroll",a.updateOverflowState);a.observer=new ResizeObserver((function(){if(a.overflow)a.updateOverflowState();a.updateSliderPosition()}));a.observer.observe(a.tabsContainer);a.updateOverflowState()};this.updateOverflowState=function(){if(a.tabs==null||a.tabsContainer==null)return;var t=a.tabsContainer.offsetWidth;var r=a.tabs.scrollWidth;var e=a.tabs.scrollLeft;a.overflowLeft=e>0;a.overflowRight=Math.ceil(e+t)<r-1};this.updateSliderPosition=function(){if(a.animation==="slide"&&a.currentItemIndex>=0){self.requestAnimationFrame((function(){a.sliderWidth=a.currentItemEl.offsetWidth;a.sliderHeight=a.currentItemEl.offsetHeight;a.sliderOffsetX=a.currentItemEl.offsetLeft-a.tabsContainer.offsetLeft;a.sliderOffsetY=a.currentItemEl.offsetTop-a.tabsContainer.offsetTop+a.currentItemEl.offsetHeight-a.sliderHeight}))}else{a.sliderHeight=-1;a.sliderOffsetX=-1;a.sliderOffsetY=-1;a.sliderWidth=-1}};this.scrollTabs=function(t){var r=a.tabItems[t];setTimeout((function(){a.tabs.scrollLeft=r.offsetLeft-a.tabs.offsetLeft-a.tabs.offsetWidth/2+r.offsetWidth/2;a.updateOverflowState()}),cssDurationToMilliseconds(a.cssSlideDelayDuration))};this.selectContentItem=function(){a.contentItems.forEach((function(t,r){t.setAttribute("mds-tab-content-hidden","");if(r===a.currentItemIndex){t.removeAttribute("mds-tab-content-hidden")}}))};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(a.element);a.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}t.prototype.componentWillLoad=function(){this.setTabsItems()};t.prototype.disconnectedCallback=function(){this.unsetOverflowCheck()};t.prototype.componentDidLoad=function(){var t,a,r,e;this.updateCSSCustomProps();this.tabs=(t=this.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".tabs");this.tabsContainer=(a=this.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".tabs-wrapper");
8
+ */this.animation="slide";this.queryContentItems=function(){return queryChildrenBySlot(a.element,"content")};this.updateContentItems=function(){a.contentItems=a.queryContentItems();a.hasContent=a.contentItems.length>0;a.contentItems.forEach((function(t,r){setAttributeIfEmpty(t,"role","tabpanel");setAttributeIfEmpty(t,"aria-labelledby",a.tabItems[r].id)}));a.selectContentItem()};this.setTabsItems=function(){a.tabItems=Array.from(a.element.querySelectorAll("mds-tab-item"));a.currentItemIndex=-1;a.navigation=a.tabItems.length>0&&a.tabItems.every((function(t){var a;return((a=t.href)!==null&&a!==void 0?a:"")!==""}));a.tabItems.forEach((function(t){t.size=a.size;t.direction=a.direction;t.animation=a.animation}));a.tabItems.forEach((function(t,r){if(t.id===""){setAttributeIfEmpty(t,"id",hashRandomValue("mds-tab-item"))}if(t.selected){a.currentItemIndex=r;a.currentItemEl=a.tabItems[a.currentItemIndex]}}))};this.updateTabItems=function(){a.setTabsItems();if(a.overflow)a.updateOverflowState();a.updateSliderPosition();a.scrollTabs(a.currentItemIndex)};this.unsetOverflowCheck=function(){a.tabs.removeEventListener("scroll",a.updateOverflowState);a.observer.unobserve(a.tabsContainer)};this.initOverflowCheck=function(){a.tabs.addEventListener("scroll",a.updateOverflowState);a.observer=new ResizeObserver((function(){if(a.overflow)a.updateOverflowState();a.updateSliderPosition()}));a.observer.observe(a.tabsContainer);a.updateOverflowState()};this.updateOverflowState=function(){if(a.tabs==null||a.tabsContainer==null)return;var t=a.tabsContainer.offsetWidth;var r=a.tabs.scrollWidth;var e=a.tabs.scrollLeft;a.overflowLeft=e>0;a.overflowRight=Math.ceil(e+t)<r-1};this.updateSliderPosition=function(){if(a.animation==="slide"&&a.currentItemIndex>=0){self.requestAnimationFrame((function(){a.sliderWidth=a.currentItemEl.offsetWidth;a.sliderHeight=a.currentItemEl.offsetHeight;a.sliderOffsetX=a.currentItemEl.offsetLeft-a.tabsContainer.offsetLeft;a.sliderOffsetY=a.currentItemEl.offsetTop-a.tabsContainer.offsetTop+a.currentItemEl.offsetHeight-a.sliderHeight}))}else{a.sliderHeight=-1;a.sliderOffsetX=-1;a.sliderOffsetY=-1;a.sliderWidth=-1}};this.scrollTabs=function(t){
9
+ // no item selected: nothing to bring into view
10
+ if(t<0||t>=a.tabItems.length)return;var r=a.tabItems[t];setTimeout((function(){a.tabs.scrollLeft=r.offsetLeft-a.tabs.offsetLeft-a.tabs.offsetWidth/2+r.offsetWidth/2;a.updateOverflowState()}),cssDurationToMilliseconds(a.cssSlideDelayDuration))};this.selectContentItem=function(){a.contentItems.forEach((function(t,r){t.setAttribute("mds-tab-content-hidden","");if(r===a.currentItemIndex){t.removeAttribute("mds-tab-content-hidden")}}))};this.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(a.element);a.cssSlideDelayDuration=t.getPropertyValue("--mds-tab-slide-delay")}}t.prototype.componentWillLoad=function(){this.setTabsItems();this.hasContent=this.queryContentItems().length>0};t.prototype.disconnectedCallback=function(){this.unsetOverflowCheck()};t.prototype.componentDidLoad=function(){var t,a,r,e;this.updateCSSCustomProps();this.tabs=(t=this.element.shadowRoot)===null||t===void 0?void 0:t.querySelector(".tabs");this.tabsContainer=(a=this.element.shadowRoot)===null||a===void 0?void 0:a.querySelector(".tabs-wrapper");
8
11
  // attach onSlotChange event here to prevent fire event before componentDidLoad
9
12
  (e=(r=this.element.shadowRoot)===null||r===void 0?void 0:r.querySelector("slot"))===null||e===void 0?void 0:e.addEventListener("slotchange",this.updateTabItems.bind(this));this.updateContentItems();this.initOverflowCheck();this.updateSliderPosition();if(this.currentItemIndex>0){this.scrollTabs(this.currentItemIndex)}};t.prototype.changeEventHandler=function(t){var a=this;
10
13
  // since the external developer can define a custom id
@@ -12,7 +15,7 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
12
15
  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;
13
16
  // for some reason, mds-tab-item looses focus when we click Enter with the keyboard,
14
17
  // which forces user to find again where the tab is with keyboard
15
- 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()};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:"8176eaae2703463a918f36d44d42401d618b9654","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:"82ba8b499fc1903bf90e7188288d6c5e270e81ae",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill")},this.overflow&&h("div",{key:"f10af152c6e9daa6b9bd884a394c282277c329ee",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"f5dc27fb90f6f354dcb4f5ed865e2067da2793e2",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"b88cc64d8de510ad22afb7470492ea638e62c131",class:"tabs",part:"tabs",role:"tablist"},h("slot",{key:"f32e73f653e4b825edb97250bd9cb151ff09b918"}),this.animation==="slide"&&h("div",{key:"9d99b52eeb1bed53a1d519a953186bdc586a36f0",class:"slider",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:"a1f9c8e469218c71c2d6b5d6944cd3dd8f34a8d2",class:"contents",part:"contents"},h("slot",{key:"8ff17223381aec121bbf41ab4c7291563336a74c",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}.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;flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background);--mds-button-color:var(--mds-tab-item-hover-color)}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background);--mds-button-color:var(--mds-tab-item-selected-color);-webkit-box-shadow:var(--mds-tab-item-selected-shadow);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(--magma-tint-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(--magma-tint-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);
18
+ 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()};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:"95954e67d020c8bbd6a8bfa5202d5dc2826c899e","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:"03e8631ae4dd52aa9621992b8a70059ce34b2773",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill",!this.hasContent&&"tabs-wrapper--no-content")},this.overflow&&h("div",{key:"f614eaa74ef4198be3f58ebe7bcd5dfa666b6c32",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"8b1da6dcb73502dfa2697e053bcc7d1df8f24fbd",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"998af9afa3f706f3558f99b73e18c4d4bcff80af",class:"tabs",part:"tabs",role:this.navigation?undefined:"tablist"},h("slot",{key:"867a44aa7b40eed8acf6a93b69312249b20e6954"}),this.animation==="slide"&&h("div",{key:"846cf260fdd6323ac4eb1a2dbe00528f7a0499c6",class:"slider",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:"39dae6e7ace6c90017fb71a6bdd82fa73e06bf8b",class:clsx("contents",!this.hasContent&&"contents--empty"),part:"contents"},h("slot",{key:"145cabbcd7640c1c121a2c7cdac3974c9c593f79",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}.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;flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background);--mds-button-color:var(--mds-tab-item-hover-color)}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background);--mds-button-color:var(--mds-tab-item-selected-color);-webkit-box-shadow:var(--mds-tab-item-selected-shadow);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(--magma-tint-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(--magma-tint-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);
16
19
  /**
17
20
  * Specifies the horizontal position of the icon displayed in the tab item
18
21
  */this.iconPosition="left";
@@ -21,6 +24,14 @@ var i=(s=a.tabItems[a.currentItemIndex].shadowRoot)===null||s===void 0?void 0:s.
21
24
  */this.type="submit";
22
25
  /**
23
26
  * Specifies the size for the tab item
24
- */this.size="md";this.toggle=function(){if(a.disabled){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){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:"83668d45e4a9ea1a2fa08fa7454cd07e31269910","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"857f668264e6b3db32045105d8de005c010b176d",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",role:"tab","aria-expanded":this.expanded===undefined?undefined:"".concat(this.expanded),label:this.label,size:this.size,
27
+ */this.size="md";this.isLink=function(){var t;return((t=a.href)!==null&&t!==void 0?t:"")!==""};this.toggle=function(t){if(a.disabled){return}
28
+ // a modifier click on a link opens it elsewhere (new tab or window): the strip stays as it is
29
+ 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){
30
+ // the item that announced its selection gets `selected` back from the parent: it has
31
+ // announced it already, a second time would double the parent's mdsTabChange
32
+ 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:"1184f88f6c767b249b142cd43c7ac6c47d058093","pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-button",{key:"8f50d5f3ea760886de48ce4b8d45a2c6fac963d2",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",
33
+ // a tab controls a panel; one with href is a link to another page or place, which
34
+ // ARIA names as such, the selected one being the current one
35
+ 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,
25
36
  // the tab is the inner button: an icon-only item takes its accessible name from the host title
26
37
  title:this.element.title||undefined,type:this.type}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:[{validateActive:0}]}},enumerable:false,configurable:true});return t}();MdsTabItem.style=mdsTabItemCss();export{MdsTab as mds_tab,MdsTabItem as mds_tab_item};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--magma-tint-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(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));display:table-row-group;overflow:hidden;-webkit-transition-duration:var(--private-table-body-transition-duration);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(--magma-tint-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(--magma-tint-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-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248)))));--mds-table-body-background:var(--mds-table-background,rgb(var(--magma-surface-default,var(--magma-tint-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(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73)))));--mds-table-body-color:var(--mds-table-color,rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-table-row-color:var(--mds-table-body-color,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));display:table-row-group;overflow:hidden;-webkit-transition-duration:var(--private-table-body-transition-duration);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(--magma-tint-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(--magma-tint-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:"79b5e5d003a209b6e7d1e8fc257be5fbe4001bfa",role:"rowgroup","pref-animation":preferenceStore.state.animation},h("slot",{key:"d4c784157c6b2cc0d0888229b7962dcade8de7a8"}))};return a}();MdsTableBody.style=mdsTableBodyCss();export{MdsTableBody as mds_table_body};
@@ -1 +1 @@
1
- import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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);--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;-webkit-transition-duration:var(--private-table-footer-transition-duration);transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}::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 t(t){registerInstance(this,t)}t.prototype.render=function(){return h(Host,{key:"db86f8b31d0ac9628680bc518b3658f35cff59a5",role:"row","pref-animation":preferenceStore.state.animation},h("slot",{key:"a96640480619b8a5b456cbd2ab84205a6981983b"}))};return t}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
1
+ import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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);--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;-webkit-transition-duration:var(--private-table-footer-transition-duration);transition-duration:var(--private-table-footer-transition-duration);transition-property:border-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}::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 t(t){registerInstance(this,t)}t.prototype.render=function(){return h(Host,{key:"f7cb67bab4d05fc44b64f5b510939d0c4b4cc8a0",role:"row","pref-animation":preferenceStore.state.animation},h("slot",{key:"2be0d385f84d0c9c9b5648618995868651432a62"}))};return t}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
@@ -1,4 +1,4 @@
1
1
  var __spreadArray=this&&this.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var i=0,n=t.length,a;i<n;i++){if(a||!(i in t)){if(!a)a=Array.prototype.slice.call(t,0,i);a[i]=t[i]}}return e.concat(a||Array.prototype.slice.call(t))};import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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);-webkit-transition-duration:var(--private-table-header-cell-transition-duration);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 Sort;(function(e){e["ASC"]="ascending";e["DESC"]="descending";e["NONE"]="none"})(Sort||(Sort={}));var MdsTableHeaderCell=/** @class */function(){function e(e){var t=this;registerInstance(this,e);this.isAscending=true;this.currentDirection=Sort.NONE;this.index=0;
2
2
  /**
3
3
  * Specifies the current sort direction of the column.
4
- */this.direction="none";this.prepareSorter=function(){var e,r,i;if(!t.sortable||t.sortable&&((e=t.tableHeaderCellSiblings)===null||e===void 0?void 0:e.length)!==undefined&&((r=t.tableHeaderCellSiblings)===null||r===void 0?void 0:r.length)!==0)return;t.tableBody=(i=t.element.closest("mds-table"))===null||i===void 0?void 0:i.querySelector("mds-table-body");t.tableHeader=t.element.closest("mds-table-header");t.tableHeaderCellSiblings=Array.from(t.tableHeader.children);t.index=t.tableHeaderCellSiblings.indexOf(t.element);t.tableRows=Array.from(t.tableBody.children);t.tableRowsDefaultSorted=Array.from(t.tableBody.children)};this.getValue=function(e){if(e.value!=null&&e.value!==""&&e.value!==0&&!Number.isNaN(e.value)){return e.value}return e.textContent!==null&&e.textContent!==""?e.textContent.trim():""};this.resetSortAttribute=function(){t.tableHeaderCellSiblings.forEach((function(e){if(t.tableHeaderCellSiblings.indexOf(e)!==t.index){e.direction="none"}}));t.tableRows=Array.from(t.tableBody.children);t.tableRows.forEach((function(e){var r=Array.from(e.children);r.forEach((function(e,r){if(t.index===r&&t.currentDirection!==Sort.NONE){e.setAttribute("sorted","");return}e.removeAttribute("sorted")}))}))};this.sortRows=function(){if(t.currentDirection===Sort.NONE){t.tableRowsDefaultSorted.forEach((function(e){return t.tableBody.appendChild(e)}));return}t.tableRows=Array.from(t.tableBody.children);var e=__spreadArray([],t.tableRows,true).sort((function(e,r){var i=t.getValue(e.querySelectorAll("mds-table-cell")[t.index]);var n=t.getValue(r.querySelectorAll("mds-table-cell")[t.index]);var a=!isNaN(Number(i))&&!isNaN(Number(n));if(a){return t.direction==="ascending"?Number(i)-Number(n):Number(n)-Number(i)}return t.direction==="ascending"?String(i).localeCompare(String(n)):String(n).localeCompare(String(i))}));e.forEach((function(e){return t.tableBody.appendChild(e)}))};this.updateDirection=function(){t.currentDirection=Object.values(Sort)[(Object.values(Sort).indexOf(t.currentDirection)+1)%Object.values(Sort).length];t.direction=t.currentDirection.toString()};this.sort=function(){t.updateDirection();t.sortRows();t.resetSortAttribute();t.tableRows=Array.from(t.tableBody.children);if(t.currentDirection!==Sort.NONE){t.tableRows.forEach((function(e){e.setAttribute("sorted","")}));return}t.tableRows.forEach((function(e){e.removeAttribute("sorted")}))}}e.prototype.componentDidLoad=function(){this.prepareSorter()};e.prototype.sortableHandler=function(){this.prepareSorter()};e.prototype.directionHandler=function(e){if(e==="none"){this.direction="none";this.currentDirection=Sort.NONE}};e.prototype.render=function(){return h(Host,{key:"e7c077673fa918dfd50f25d7b341881f72eaefe2",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{sortable:[{sortableHandler:0}],direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return e}();MdsTableHeaderCell.style=mdsTableHeaderCellCss();export{MdsTableHeaderCell as mds_table_header_cell};
4
+ */this.direction="none";this.prepareSorter=function(){var e,r,i;if(!t.sortable||t.sortable&&((e=t.tableHeaderCellSiblings)===null||e===void 0?void 0:e.length)!==undefined&&((r=t.tableHeaderCellSiblings)===null||r===void 0?void 0:r.length)!==0)return;t.tableBody=(i=t.element.closest("mds-table"))===null||i===void 0?void 0:i.querySelector("mds-table-body");t.tableHeader=t.element.closest("mds-table-header");t.tableHeaderCellSiblings=Array.from(t.tableHeader.children);t.index=t.tableHeaderCellSiblings.indexOf(t.element);t.tableRows=Array.from(t.tableBody.children);t.tableRowsDefaultSorted=Array.from(t.tableBody.children)};this.getValue=function(e){if(e.value!=null&&e.value!==""&&e.value!==0&&!Number.isNaN(e.value)){return e.value}return e.textContent!==null&&e.textContent!==""?e.textContent.trim():""};this.resetSortAttribute=function(){t.tableHeaderCellSiblings.forEach((function(e){if(t.tableHeaderCellSiblings.indexOf(e)!==t.index){e.direction="none"}}));t.tableRows=Array.from(t.tableBody.children);t.tableRows.forEach((function(e){var r=Array.from(e.children);r.forEach((function(e,r){if(t.index===r&&t.currentDirection!==Sort.NONE){e.setAttribute("sorted","");return}e.removeAttribute("sorted")}))}))};this.sortRows=function(){if(t.currentDirection===Sort.NONE){t.tableRowsDefaultSorted.forEach((function(e){return t.tableBody.appendChild(e)}));return}t.tableRows=Array.from(t.tableBody.children);var e=__spreadArray([],t.tableRows,true).sort((function(e,r){var i=t.getValue(e.querySelectorAll("mds-table-cell")[t.index]);var n=t.getValue(r.querySelectorAll("mds-table-cell")[t.index]);var a=!isNaN(Number(i))&&!isNaN(Number(n));if(a){return t.direction==="ascending"?Number(i)-Number(n):Number(n)-Number(i)}return t.direction==="ascending"?String(i).localeCompare(String(n)):String(n).localeCompare(String(i))}));e.forEach((function(e){return t.tableBody.appendChild(e)}))};this.updateDirection=function(){t.currentDirection=Object.values(Sort)[(Object.values(Sort).indexOf(t.currentDirection)+1)%Object.values(Sort).length];t.direction=t.currentDirection.toString()};this.sort=function(){t.updateDirection();t.sortRows();t.resetSortAttribute();t.tableRows=Array.from(t.tableBody.children);if(t.currentDirection!==Sort.NONE){t.tableRows.forEach((function(e){e.setAttribute("sorted","")}));return}t.tableRows.forEach((function(e){e.removeAttribute("sorted")}))}}e.prototype.componentDidLoad=function(){this.prepareSorter()};e.prototype.sortableHandler=function(){this.prepareSorter()};e.prototype.directionHandler=function(e){if(e==="none"){this.direction="none";this.currentDirection=Sort.NONE}};e.prototype.render=function(){return h(Host,{key:"70a39842606dfe5bcb7cc9d83069c4595df522d3",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{sortable:[{sortableHandler:0}],direction:[{directionHandler:0}]}},enumerable:false,configurable:true});return e}();MdsTableHeaderCell.style=mdsTableHeaderCellCss();export{MdsTableHeaderCell as mds_table_header_cell};
@@ -1,14 +1,14 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,o,a){function i(e){return e instanceof o?e:new o((function(t){t(e)}))}return new(o||(o=Promise))((function(o,n){function r(e){try{l(a.next(e))}catch(e){n(e)}}function s(e){try{l(a["throw"](e))}catch(e){n(e)}}function l(e){e.done?o(e.value):i(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(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,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,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:o.label++;return{value:s[1],done:false};case 5:o.label++;i=s[1];s=[0];continue;case 7:s=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){o=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){o.label=s[1];break}if(s[0]===6&&o.label<n[1]){o.label=n[1];n=s;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(s);break}if(n[2])o.ops.pop();o.trys.pop();continue}s=t.call(e,o)}catch(e){s=[6,e];i=0}finally{a=n=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-BxPbQB28.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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;-webkit-transition-duration:var(--private-table-header-transition-duration);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{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,a,o){function i(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function r(e){try{l(o.next(e))}catch(e){n(e)}}function s(e){try{l(o["throw"](e))}catch(e){n(e)}}function l(e){e.done?a(e.value):i(e.value).then(r,s)}l((o=o.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var a={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,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(o)throw new TypeError("Generator is already executing.");while(r&&(r=0,s[0]&&(a=0)),a)try{if(o=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=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(!(n=a.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(s[0]===6&&a.label<n[1]){a.label=n[1];n=s;break}if(n&&a.label<n[2]){a.label=n[2];a.ops.push(s);break}if(n[2])a.ops.pop();a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e];i=0}finally{o=n=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-BxPbQB28.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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;-webkit-transition-duration:var(--private-table-header-transition-duration);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{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 a,o;if(t.indeterminate){t.selectAll=true}else{t.selectAll=(a=e.detail.checked)!==null&&a!==void 0?a:false}t.indeterminate=false;(o=t.table)===null||o===void 0?void 0:o.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
5
5
  * @param totalItems the total number of selectable rows
6
- */e.prototype.setSelection=function(e,t){return __awaiter(this,void 0,void 0,(function(){var o,a;return __generator(this,(function(i){this.indeterminate=e!==0&&e!==t;
6
+ */e.prototype.setSelection=function(e,t){return __awaiter(this,void 0,void 0,(function(){var a,o;return __generator(this,(function(i){this.indeterminate=e!==0&&e!==t;
7
7
  // the reference used to be looked up only on the indeterminate branch, so the first
8
8
  // call that was NOT indeterminate - select all, or unselect the last row - threw on an
9
9
  // undefined checkbox; and a header that is not selectable renders none at all
10
- (o=this.checkboxEl)!==null&&o!==void 0?o:this.checkboxEl=(a=this.host.shadowRoot)===null||a===void 0?void 0:a.querySelector(".checkbox");if(!this.checkboxEl){return[2/*return*/]}
10
+ (a=this.checkboxEl)!==null&&a!==void 0?a:this.checkboxEl=(o=this.host.shadowRoot)===null||o===void 0?void 0:o.querySelector(".checkbox");if(!this.checkboxEl){return[2/*return*/]}
11
11
  // totalItems 0 would otherwise read as "all of them are selected"
12
12
  this.checkboxEl.checked=t>0&&e===t;return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){var e;this.table=this.host.closest("mds-table");
13
13
  // standalone header (or SSR of the subtree alone): no surrounding table
14
- 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:"baddc3d097dcd80328e41f6e6ce8e0b2715d9106",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"8a41dc518880eacc33c2ffb28b0fef809dbfe4aa",class:"selection",role:"columnheader"},h("div",{key:"4c4a38797cb22651e9f5b0b12a82e89685bf0425",class:"checkbox-wrapper"},h("mds-input-switch",{key:"7d7bc20272297d092e1a40781c87716a352da40d",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"2599339021e0e24c57252cbcb772efcfb1366907"}),this.hasActions&&h("mds-table-header-cell",{key:"6dbca32874f7ea85c0d21f3e0e4b433f5a0d3553",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};
14
+ 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:"faae9c3b8aa85843f270e0ea611549c2b68624ca",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"36eadb6943b2f3522c02b6d8d5b57ddc3bed5e29",class:"selection",role:"columnheader"},h("div",{key:"27b619999706261e58fd888491203466605c85b9",class:"checkbox-wrapper"},h("mds-input-switch",{key:"ee0b1be23bfa82dba11df8ed5d28bd5449f88783",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"e0df4fb360d6c12aa05d0b2996a2023a8857ca9d"}),this.hasActions&&h("mds-table-header-cell",{key:"bd3a131a71c4c615e01995bdf83983051f7ccdd4",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,8 +1,16 @@
1
- import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.js";import{h as hasChildWithSlot}from"./slot-C0o_l0td.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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 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(--magma-tint-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(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--magma-tint-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;-webkit-transition-duration:var(--private-table-row-transition-duration);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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--radius-lg,16px) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width)*2);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;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));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(--magma-tint-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 t=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-BxPbQB28.js";import{h as hasChildWithSlot}from"./slot-C0o_l0td.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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 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(--magma-tint-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(--magma-tint-text-default,var(--text-neutral-default,5 5 5)))));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--magma-surface-default,var(--magma-tint-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;-webkit-transition-duration:var(--private-table-row-transition-duration);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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-default,var(--surface-neutral-default,242 242 242)))));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--magma-text-default,var(--magma-tint-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(--radius-lg,16px) + var(--mds-table-border-width)*2);border-top-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width)*2);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;-webkit-transition-timing-function:var(--ease-out-expo,cubic-bezier(.19,1,.22,1));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(--magma-tint-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 t=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
- */this.selectable=undefined;this.onActionSlotChange=function(){t.hasActions=hasChildWithSlot(t.host,"action")};this.handleSelectionChange=function(a){var e;t.selected=a.detail.checked;(e=t.host.closest("mds-table"))===null||e===void 0?void 0:e.updateSelection()}}a.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.host,"action")};a.prototype.componentDidLoad=function(){
4
+ */this.selectable=undefined;this.onActionSlotChange=function(){t.hasActions=hasChildWithSlot(t.host,"action")};this.handleSelectionChange=function(a){var e;t.selected=a.detail.checked;(e=t.host.closest("mds-table"))===null||e===void 0?void 0:e.updateSelection()}}a.prototype.componentWillLoad=function(){this.hasActions=hasChildWithSlot(this.host,"action")};a.prototype.connectedCallback=function(){
5
+ // a row moved or re-attached after its first load lost the observer in disconnectedCallback:
6
+ // React reveals a streamed SSR boundary that way, moving the rows hydrated in a hidden
7
+ // container, so the width measured there (0, or nothing yet) would never be updated
8
+ this.observeActions()};a.prototype.componentDidLoad=function(){
5
9
  // needed to capture sizer width when become visible
6
- if(this.actions)this.initObserver(this.actions)};a.prototype.initObserver=function(a){var t=this;this.observer=new ResizeObserver((function(a){var e,r,o;
10
+ this.observeActions()};a.prototype.observeActions=function(){var a=this;var t;
11
+ // nothing to measure on the server; the actions are not rendered before the first load
12
+ if(!Build.isBrowser||!this.actions)return;(t=this.observer)!==null&&t!==void 0?t:this.observer=new ResizeObserver((function(t){var e,r,o;
7
13
  // the cell is hidden while the slot is empty: no border box to read
8
- t.sizerWidth="".concat((o=(r=(e=a[0].borderBoxSize)===null||e===void 0?void 0:e[0])===null||r===void 0?void 0:r.inlineSize)!==null&&o!==void 0?o:0,"px")}));this.observer.observe(a)};a.prototype.disconnectedCallback=function(){if(this.observer)this.observer.disconnect()};a.prototype.render=function(){var a=this;return h(Host,{key:"91445d614b5efaca4be25d8dc8d8bb0538cd5593",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"1131e129c560711e9ff07047c25d466f90d9dcca",class:"selection-cell"},h("div",{key:"9fa11c1034e8af890d46ee3892e0bfada6ea991d",class:"checkbox-wrapper"},h("mds-input-switch",{key:"4eb0ddb0aa7fad9988f7dc86faffa5a3a0c55ec1",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"2a5b127a0807c8e8157b1ff852a9b8b1be05201b"}),isSafari()&&h("mds-table-cell",{key:"cf667906f594fb43281494e87a0fe9ffeb2e8322",class:clsx("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"7b503843294bd545da0d99096cae7690108fdb1e",class:"actions"},h("slot",{key:"061c720ef290863dee361420a79787ffb41fe7d6",name:"action",onSlotchange:this.onActionSlotChange}))),!isSafari()&&h("mds-table-cell",{key:"77820da87b9db6696b1d32f648f0a68241e72193",class:clsx("actions-cell",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"0f0f584f8de818d31adb371ed6c294aef182b301",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),h("div",{key:"18505dd8b6199426bd08b5944336bd1405cdad3c",class:"actions-view"},h("div",{key:"8f61f4a774ca45f304d5fb3db75ff442d6336881",class:"actions",ref:function(t){return a.actions=t},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},h("slot",{key:"903ab2118cf6c450e9065a5d9ae5773ab6f3f96e",name:"action",onSlotchange:this.onActionSlotChange})))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return a}();MdsTableRow.style=mdsTableRowCss();export{MdsTableRow as mds_table_row};
14
+ a.sizerWidth="".concat((o=(r=(e=t[0].borderBoxSize)===null||e===void 0?void 0:e[0])===null||r===void 0?void 0:r.inlineSize)!==null&&o!==void 0?o:0,"px")}));
15
+ // a new observation always reports the current size first
16
+ this.observer.observe(this.actions)};a.prototype.disconnectedCallback=function(){var a;(a=this.observer)===null||a===void 0?void 0:a.disconnect()};a.prototype.render=function(){var a=this;return h(Host,{key:"70da55c262cfaea7b79716c601b1e4114ef19ef4",role:"row","pref-animation":preferenceStore.state.animation},this.selectable&&h("mds-table-cell",{key:"d1ba66ad6eca2e3d56a7cc0735f8b24efe3c2080",class:"selection-cell"},h("div",{key:"cb46c8c646a5b91d263ea4db7d0b3cbf7a4113a1",class:"checkbox-wrapper"},h("mds-input-switch",{key:"797af982d61b9c1b203b9f8bf89f7106e071321a",title:this.t.get(this.selected?"unselectRow":"selectRow"),type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"6947f346831bb2c4c79efeafe6205373cbebc939"}),isSafari()&&h("mds-table-cell",{key:"0ff41dc7c501018e350e8d854bda54446c1d54cb",class:clsx("actions-cell","actions-cell--disable",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"ab6e6b3847b8b78b76c686ec8dd6dc6a609f9d8e",class:"actions"},h("slot",{key:"b274d100df1dd6d6e759f39c5bb2bf6a66ead01c",name:"action",onSlotchange:this.onActionSlotChange}))),!isSafari()&&h("mds-table-cell",{key:"91e52c9c97a3ee56909311556bd0e345721acee8",class:clsx("actions-cell",!this.hasActions&&"actions-cell--hidden")},h("div",{key:"bbd385157d1fc6e71f732a01e96ecf7d7ce8d373",class:"actions-sizer",style:Object.assign({minHeight:"1px"},this.sizerWidth&&{maxWidth:this.sizerWidth,minWidth:this.sizerWidth})}),h("div",{key:"bb3918db5cb10fccef1b5fd5ebd630517c28516f",class:"actions-view"},h("div",{key:"8ee6cc2d2a6957ead0193c52f5f292e8a3b011f8",class:"actions",ref:function(t){return a.actions=t},style:this.sizerWidth!==undefined?{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}:undefined},h("slot",{key:"531dcef1d4a17059e9f15f4383e6c3c70b2f59d9",name:"action",onSlotchange:this.onActionSlotChange})))))};Object.defineProperty(a.prototype,"host",{get:function(){return getElement(this)},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,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function o(t){try{c(r.next(t))}catch(t){n(t)}}function s(t){try{c(r["throw"](t))}catch(t){n(t)}}function c(t){t.done?e(t.value):i(t.value).then(o,s)}c((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return c([t,a])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(r=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=a.call(t,e)}catch(t){s=[6,t];i=0}finally{r=n=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}from"./index-BxPbQB28.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-table-border-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));--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-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));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-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))))!important;display:flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:var(--mds-table-background);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;-webkit-transition-duration:var(--private-table-transition-duration);transition-duration:var(--private-table-transition-duration);transition-property:max-width;-webkit-transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));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-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsTable=/** @class */function(){function t(t){var a=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});this.updateInteractive=function(){var t;if(a.body){a.body.interactive=a.interactive}(t=a.rows)===null||t===void 0?void 0:t.forEach((function(t){t.interactive=a.interactive}))};this.updateCellsSize=function(){var t,e;var r=(t=a.rows)===null||t===void 0?void 0:t[0];if(!r){return}var i=r.querySelectorAll("mds-table-cell");var n=(e=r.shadowRoot)===null||e===void 0?void 0:e.querySelector(".selection-cell");a.cellsWidth=n!=null?n.offsetWidth:0;i.forEach((function(t){a.cellsWidth+=t.offsetWidth}))};this.hasActions=function(){a.updateCellsSize();return a.host.querySelector('mds-table-row > [slot="action"]')!==null};this.handleSelection=function(){var t;(t=a.rows)===null||t===void 0?void 0:t.forEach((function(t){t.selectable=a.selectable}))};this.handleActions=function(){var t;a.updateCellsSize();var e=a.scrollWrapper.offsetWidth+a.scrollWrapper.scrollLeft<a.cellsWidth;(t=a.rows)===null||t===void 0?void 0:t.forEach((function(t){t.overlayActions=e}))};this.querySlottedElements=function(){var t;a.body=a.host.querySelector("mds-table-body");a.header=a.host.querySelector("mds-table-header");a.rows=a.host.querySelectorAll("mds-table-row");if(a.body){
1
+ var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t instanceof e?t:new e((function(a){a(t)}))}return new(e||(e=Promise))((function(e,n){function o(t){try{l(r.next(t))}catch(t){n(t)}}function s(t){try{l(r["throw"](t))}catch(t){n(t)}}function l(t){t.done?e(t.value):i(t.value).then(o,s)}l((r=r.apply(t,a||[])).next())}))};var __generator=this&&this.__generator||function(t,a){var e={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,i,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=s(0),o["throw"]=s(1),o["return"]=s(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(t){return function(a){return l([t,a])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(o&&(o=0,s[0]&&(e=0)),e)try{if(r=1,i&&(n=s[0]&2?i["return"]:s[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;if(i=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:e.label++;return{value:s[1],done:false};case 5:e.label++;i=s[1];s=[0];continue;case 7:s=e.ops.pop();e.trys.pop();continue;default:if(!(n=e.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){e=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){e.label=s[1];break}if(s[0]===6&&e.label<n[1]){e.label=n[1];n=s;break}if(n&&e.label<n[2]){e.label=n[2];e.ops.push(s);break}if(n[2])e.ops.pop();e.trys.pop();continue}s=a.call(t,e)}catch(t){s=[6,t];i=0}finally{r=n=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}from"./index-BxPbQB28.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{p as preferenceStore}from"./preference-DNNqH7BU.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(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-table-background:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255))));--mds-table-border-color:rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196))));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));--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-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));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-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))))!important;display:flex;overflow:hidden;-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,border-color,color}.table-wrapper{background-color:var(--mds-table-background);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;-webkit-transition-duration:var(--private-table-transition-duration);transition-duration:var(--private-table-transition-duration);transition-property:max-width;-webkit-transition-timing-function:var(--ease-in-out-circ,cubic-bezier(.785,.135,.15,.86));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-border-color,rgb(var(--magma-border-default,var(--magma-tint-border-default,var(--border-neutral-default,196 196 196)))));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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-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(--magma-tint-scale-08,var(--tone-neutral-08,208 208 208))));--mds-table-body-background-hover:rgb(var(--magma-surface-default,var(--magma-tint-default,var(--surface-neutral-default,242 242 242))));--mds-table-color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}'};var MdsTable=/** @class */function(){function t(t){var a=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});this.updateInteractive=function(){var t;if(a.body){a.body.interactive=a.interactive}(t=a.rows)===null||t===void 0?void 0:t.forEach((function(t){t.interactive=a.interactive}))};this.updateCellsSize=function(){var t,e;var r=(t=a.rows)===null||t===void 0?void 0:t[0];if(!r){return}var i=r.querySelectorAll("mds-table-cell");var n=(e=r.shadowRoot)===null||e===void 0?void 0:e.querySelector(".selection-cell");a.cellsWidth=n!=null?n.offsetWidth:0;i.forEach((function(t){a.cellsWidth+=t.offsetWidth}))};this.hasActions=function(){a.updateCellsSize();return a.host.querySelector('mds-table-row > [slot="action"]')!==null};this.handleSelection=function(){var t;(t=a.rows)===null||t===void 0?void 0:t.forEach((function(t){t.selectable=a.selectable}))};this.handleActions=function(){var t;a.updateCellsSize();var e=a.scrollWrapper.offsetWidth+a.scrollWrapper.scrollLeft<a.cellsWidth;(t=a.rows)===null||t===void 0?void 0:t.forEach((function(t){t.overlayActions=e}))};this.querySlottedElements=function(){var t;a.body=a.host.querySelector("mds-table-body");a.header=a.host.querySelector("mds-table-header");a.rows=a.host.querySelectorAll("mds-table-row");if(a.body){
2
2
  // observing an already observed node just resets its options, so this is safe to
3
3
  // re-run: it also attaches the observer to a body parsed after the first render
4
4
  (t=a.tableBodyObserver)===null||t===void 0?void 0:t.observe(a.body,{childList:true})}};this.updateSlottedElements=function(){a.querySlottedElements();a.updateInteractive();a.handleSelection()}}t.prototype.onTableInteractive=function(){this.updateInteractive()};t.prototype.onTableSelectable=function(t){this.handleSelection();if(this.header){this.header.selectable=t}};
@@ -12,4 +12,4 @@ var __awaiter=this&&this.__awaiter||function(t,a,e,r){function i(t){return t ins
12
12
  this.hasBatchActions=Array.from(this.host.children).some((function(t){return t.getAttribute("slot")==="batch-action"}));
13
13
  // MutationObserver is missing in the hydrate/SSR runtime; every use of
14
14
  // tableBodyObserver is already optional-chained
15
- if(typeof MutationObserver!=="undefined"){this.tableBodyObserver=new MutationObserver((function(){t.updateSlottedElements()}))}this.querySlottedElements()};t.prototype.componentDidLoad=function(){var t;if(this.header){this.header.selectable=this.selectable}if(this.hasActions()){var a=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".table-wrapper");if(!a){throw new Error("Table element table-wrapper not found")}this.scrollWrapper=a;this.scrollWrapper.addEventListener("scroll",this.handleActions);this.resizeObserver=new ResizeObserver(this.handleActions);this.resizeObserver.observe(this.host);this.handleActions()}};t.prototype.disconnectedCallback=function(){var t,a;this.host.removeEventListener("scroll",this.handleActions);(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect();(a=this.tableBodyObserver)===null||a===void 0?void 0:a.disconnect()};t.prototype.render=function(){return h(Host,{key:"b9434d7670ce2cf0a80864b9f04355d0928aebc0","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:"e624db0d0988b9cb11139658af6f15b6837da8dc",class:"table-wrapper",part:"table-wrapper"},h("table",{key:"b88d9f50ded8f0d359c76ab1430f906e29954477",class:clsx("table",this.interactive&&"table--interactive"),role:"table",part:"table"},h("slot",{key:"007e17645485c21337c033b3ab83dcb23b538950",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&h("div",{key:"9ed14501086fa19aac40c1f1f2f5fc259d91f932",class:clsx("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},h("div",{key:"b95712f69a1a666d0b82375da4b9a126de76a745",class:"batch-actions",part:"batch-actions"},h("div",{key:"16db165f1cea1c36d25607894445e8bff51c453a",class:"batch-actions-header"},h("mds-text",{key:"a4c1f4baafcf80d6c33430cd52f101328b87169a",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),h("mds-badge",{key:"3274e721adcca4d74cedd0ea68d8706c310ebd06",label:"".concat(this.selectedRows.length),variant:"dark",tone:"outline",typography:"label"})),h("slot",{key:"06c76052c4c5cab416f95fc6b10425d9ae54060d",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};
15
+ if(typeof MutationObserver!=="undefined"){this.tableBodyObserver=new MutationObserver((function(){t.updateSlottedElements()}))}this.querySlottedElements()};t.prototype.componentDidLoad=function(){var t;if(this.header){this.header.selectable=this.selectable}if(this.hasActions()){var a=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".table-wrapper");if(!a){throw new Error("Table element table-wrapper not found")}this.scrollWrapper=a;this.scrollWrapper.addEventListener("scroll",this.handleActions);this.resizeObserver=new ResizeObserver(this.handleActions);this.resizeObserver.observe(this.host);this.handleActions()}};t.prototype.disconnectedCallback=function(){var t,a;this.host.removeEventListener("scroll",this.handleActions);(t=this.resizeObserver)===null||t===void 0?void 0:t.disconnect();(a=this.tableBodyObserver)===null||a===void 0?void 0:a.disconnect()};t.prototype.render=function(){return h(Host,{key:"fae3110a4e1c8e8ecd5be52da1a925d8a7ae539f","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:"446f011466e88cb6e3e3edda947727351369f76b",class:"table-wrapper",part:"table-wrapper"},h("table",{key:"960688a9d9024f093c36c4b764253026154fc05e",class:clsx("table",this.interactive&&"table--interactive"),role:"table",part:"table"},h("slot",{key:"167c9cb9dd5376b5cfede35042516b440bf68964",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&h("div",{key:"2357eb34126e9e2798c036d350ec51159704f924",class:clsx("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},h("div",{key:"6521689a3e256cbc75ad80608e1b038efdd4eef6",class:"batch-actions",part:"batch-actions"},h("div",{key:"d642abba120e8e5d3e6ee31efe4084d4acefe91f",class:"batch-actions-header"},h("mds-text",{key:"02ddbe7033e04e4a51a736773324bd6edc404549",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),h("mds-badge",{key:"d55060c0e4b0f2efbde5a32c944686183d7a32e2",label:"".concat(this.selectedRows.length),variant:"dark",tone:"outline",typography:"label"})),h("slot",{key:"447c233a53e49dc41b005f1f6df0fdc0ca2ece06",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};
@@ -24,4 +24,4 @@ var i=((t=typographyDefaultsVariant[this.typography])!==null&&t!==void 0?t:typog
24
24
  // The scramble is a rAF loop writing innerHTML: no stylesheet can hold it back, so it
25
25
  // asks. The text is written out here rather than left to the render, because the loop
26
26
  // may already have replaced the node the renderer holds.
27
- 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:"468c9b04797da9ab100c89474a7a67313aac829b","pref-animation":preferenceStore.state.animation},h(this.tag,{key:"245ab42bd31cd0cb4be371f074fee956d3c1c13c",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};
27
+ 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:"3733097939e752ca80b499361e2503e34a8574ce","pref-animation":preferenceStore.state.animation},h(this.tag,{key:"66b7974e158a00d4776c7948320aef68a5e1767f",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};
@@ -14,4 +14,4 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
14
14
  // a removed attribute leaves null, which counts as no duration, like 0
15
15
  this.hasDuration=function(){var t;var o=(t=a.duration)!==null&&t!==void 0?t:0;return o!==0&&!Number.isNaN(o)};this.reloadTimeListeners=function(t){if(typeof window==="undefined")return;if(!a.hasDuration()){return}if(!t){return}a.removeTimeListener();a.addTimeListener()};this.removeTimeListener=function(){window.clearInterval(a.timer);a.timer=0};this.addTimeListener=function(){a.timer=window.setInterval((function(){a.visible=false;a.timerToastDismiss=window.setInterval((function(){
16
16
  // this is used to wait the toast to finish the outro animation
17
- a.closedEvent.emit();window.clearInterval(a.timerToastDismiss);a.timerToastDismiss=0}),a.cssDismissAnimationDuration)}),a.duration)};this.onActionSlotChange=function(){a.hasActions=hasChildWithSlot(a.hostElement,"action")}}t.prototype.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=cssDurationToMilliseconds(t.getPropertyValue("--mds-tab-duration"))};t.prototype.componentWillLoad=function(){this.hasText=this.hostElement.innerHTML!=="";this.hasActions=hasChildWithSlot(this.hostElement,"action");if(!this.hasDuration()){return}if(this.visible){this.addTimeListener()}};t.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};t.prototype.visibleChanged=function(t){this.reloadTimeListeners(t)};t.prototype.durationChanged=function(){this.reloadTimeListeners(!!this.visible)};t.prototype.render=function(){return h(Host,{key:"d043662b287519f10abe2a4568d2f3458b89857e","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:"5f8945ad6b39700172920d34c405d616c685de61",class:clsx("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible")},h("slot",{key:"ad778db94450394931cfb554357e91cbf192fe66",name:"icon"}),this.hasText&&h("mds-text",{key:"43ac2cbcd4101ade9b03ec137ec36d512b9fd87e",typography:"caption"},h("slot",{key:"4ede3cb3db5c6f096fe66ed87f05a1e2deab2b24"})),h("div",{key:"d811c95881d28ccba3be66605efb8197235bc1ef",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"08e8d1cb3e62bf1eb104a3de3d473ca57a6991e9",name:"action",onSlotchange:this.onActionSlotChange}))))};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};
17
+ a.closedEvent.emit();window.clearInterval(a.timerToastDismiss);a.timerToastDismiss=0}),a.cssDismissAnimationDuration)}),a.duration)};this.onActionSlotChange=function(){a.hasActions=hasChildWithSlot(a.hostElement,"action")}}t.prototype.updateCSSCustomProps=function(){if(typeof window==="undefined")return;var t=window.getComputedStyle(this.hostElement);this.cssDismissAnimationDuration=cssDurationToMilliseconds(t.getPropertyValue("--mds-tab-duration"))};t.prototype.componentWillLoad=function(){this.hasText=this.hostElement.innerHTML!=="";this.hasActions=hasChildWithSlot(this.hostElement,"action");if(!this.hasDuration()){return}if(this.visible){this.addTimeListener()}};t.prototype.componentDidLoad=function(){this.updateCSSCustomProps()};t.prototype.visibleChanged=function(t){this.reloadTimeListeners(t)};t.prototype.durationChanged=function(){this.reloadTimeListeners(!!this.visible)};t.prototype.render=function(){return h(Host,{key:"cad012d09a27f0ba79bff9862780688a6221f41f","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:"4da6c79193f6f786e862560a2405bb3edb0b815d",class:clsx("dialog",this.position&&"to-".concat(this.position),this.visible&&"dialog--visible")},h("slot",{key:"dc21826b3cfe6bc1a49918b15a6718b525985913",name:"icon"}),this.hasText&&h("mds-text",{key:"341d370fb89f96825b1fd0eae0b9c13bf19ac3c5",typography:"caption"},h("slot",{key:"5376e8f9f2595fd839cab929e1cb3dc359626dd4"})),h("div",{key:"594b9b028d9ba258461bc25f7287b4daf21fcca8",class:clsx("actions",!this.hasActions&&"actions--hidden")},h("slot",{key:"ca1090e8720cc4629a89f44323498d5ee7dc1447",name:"action",onSlotchange:this.onActionSlotChange}))))};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};
@@ -34,4 +34,4 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.j
34
34
  */this.visible=false;this.handleVisibility=function(t){a.visible=t}}t.prototype.hideArrowChanged=function(){this.floatingController.updatePosition()};t.prototype.disableAutoPlacementChanged=function(){this.floatingController.updatePosition()};t.prototype.flipChanged=function(){this.floatingController.updatePosition()};t.prototype.offsetChanged=function(){this.floatingController.updatePosition()};t.prototype.placementChanged=function(){this.floatingController.updatePosition()};t.prototype.disableShiftChanged=function(){this.floatingController.updatePosition()};t.prototype.shiftPaddingChanged=function(){this.floatingController.updatePosition()};t.prototype.strategyChanged=function(){this.floatingController.updatePosition()};t.prototype.visibleChanged=function(t){this.floatingController.updatePosition();if(t){this.floatingController.updatePosition();return}this.floatingController.dismiss()};t.prototype.targetChanged=function(){var t,a;if(((t=this.target)!==null&&t!==void 0?t:"")==="")return;var r=(a=this.floatingController)===null||a===void 0?void 0:a.updateCaller(this.target);if(!r)return;this.caller=r;this.caller.addEventListener("mouseleave",this.handleVisibility.bind(this,false));this.caller.addEventListener("mouseenter",this.handleVisibility.bind(this,true))};t.prototype.componentDidLoad=function(){var t;var a=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".arrow");this.floatingController=new FloatingController(this.host,a,"tooltip");this.targetChanged();
35
35
  // The watcher does not fire for the initial value: a tooltip that mounts with
36
36
  // `visible` set would never be positioned.
37
- if(this.visible){this.visibleChanged(true)}};t.prototype.disconnectedCallback=function(){this.floatingController.dismiss()};t.prototype.render=function(){return h(Host,{key:"2031b33e6cc0837318acce18e2298a4bacfc5b0b","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:"ba0236540eb28111cba583fc346e4d3717ed0385",class:"arrow",innerHTML:arrowSvg}),h("mds-text",{key:"8aa8abf3be3b4ab25dc1bf4bf85d9fbdb6470639",class:"text",typography:this.typography,part:"text"},h("slot",{key:"79d6f5b7055890731d8e861985a9de7c5df9c725"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{hideArrow:[{hideArrowChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],visible:[{visibleChanged:0}],target:[{targetChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTooltip.style=mdsTooltipCss();export{MdsTooltip as mds_tooltip};
37
+ if(this.visible){this.visibleChanged(true)}};t.prototype.disconnectedCallback=function(){this.floatingController.dismiss()};t.prototype.render=function(){return h(Host,{key:"e4ba07cc2a4c5e90fb6bb8592418456478442956","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:"516c2ef0b98acf756b6e4687b55d88e39ce45089",class:"arrow",innerHTML:arrowSvg}),h("mds-text",{key:"4911f499cdd3aaf71b3f95afe60824a73e2118c2",class:"text",typography:this.typography,part:"text"},h("slot",{key:"fa654afb39b1052afc68e4f7f2abb6d6f7253899"})))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{hideArrow:[{hideArrowChanged:0}],disableAutoPlacement:[{disableAutoPlacementChanged:0}],flip:[{flipChanged:0}],offset:[{offsetChanged:0}],placement:[{placementChanged:0}],disableShift:[{disableShiftChanged:0}],shiftPadding:[{shiftPaddingChanged:0}],strategy:[{strategyChanged:0}],visible:[{visibleChanged:0}],target:[{targetChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTooltip.style=mdsTooltipCss();export{MdsTooltip as mds_tooltip};
@@ -13,4 +13,4 @@ var __awaiter=this&&this.__awaiter||function(e,t,r,i){function o(e){return e ins
13
13
  /**
14
14
  * `internal` Re-resolves the effective actions; called by mds-tree when its own
15
15
  * actions changes so items that inherit it stay in sync.
16
- */e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=hasChildWithSlot(this.host,"action");this.hasChildren=!!this.host.querySelector("mds-tree-item")};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return h(Host,{key:"e6f256c709670ec9cd953c7ccc469fe15ca3d3e8","resolved-actions":this.resolvedActions},h("div",{key:"be025bfd97ee825c1431989d6d88fc9179ab03d6",class:clsx("header",this.hasChildren&&"header--has-children")},h("div",{key:"a7d459dcd4fda2fba14970d22e28e7c0c91356ab",class:"tree-node"},h("div",{key:"4e392fb0c290e2eb3861168f9882cb69b0750a46",class:"tree-branch"}),h("div",{key:"3df9d783ec1ee7382a5fee4aa66d71ea9cb392e4",class:"tree-dot"})),h("div",{key:"af17e938adaf55c867bc8b4a69ed450757e686b7",class:"toggle-icon"},h("mds-button",{key:"9a059398b2e38e76ea9f23f261bd2a751ff31326",await:this.await,onClick:this.onClick,icon:!this.await?this.currentToggleIcon:undefined,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),h("div",{key:"842115d7db84e978dc2f82287b951512b271d2bb",class:"title"},h("mds-button",{key:"b322e22a94fd124d590d9cead9bd6d8d1294b34c",class:clsx("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),h("div",{key:"8ca097f506bdda583a4b531022514cd496510035",class:clsx("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},h("div",{key:"48f97b10444f3faa7e7e020ef392d19d235aebfb",class:"actions",part:"actions-list"},h("slot",{key:"7a344b2703c3deb1b1b8a0653c98c6c491b28d4b",name:"action",onSlotchange:this.onActionSlotChange}))))),h("div",{key:"6466fe0fc85b9bf44b2d7da4994bd607331fcf0f",class:clsx("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded")},h("slot",{key:"6ef2da80efbb0669d431b19fcf919da570e3c221"})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}},enumerable:false,configurable:true});return e}();MdsTreeItem.style=mdsTreeItemCss();export{MdsTreeItem as mds_tree_item};
16
+ */e.prototype.refreshActions=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.resolveActions();return[2/*return*/]}))}))};e.prototype.componentWillLoad=function(){this.updateToggleIcon();this.resolveActions();this.hasActions=hasChildWithSlot(this.host,"action");this.hasChildren=!!this.host.querySelector("mds-tree-item")};e.prototype.componentDidLoad=function(){var e;this.updateCssCustomProperty();this.childrenElement=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".children");this.childrenElement.addEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.disconnectedCallback=function(){this.childrenElement.removeEventListener("transitionend",this.checkChildrenTransitionEnd)};e.prototype.render=function(){return h(Host,{key:"c492eae01432eccf6db389a411828c41c4e5b617","resolved-actions":this.resolvedActions},h("div",{key:"e1c6e1444188aecc1121b4320524fcdfe8c01fc8",class:clsx("header",this.hasChildren&&"header--has-children")},h("div",{key:"01fc9e13817f3066538352a96923b9f32df30b83",class:"tree-node"},h("div",{key:"9f5c3c743112a1deac8f427720b567bdb52dcd9c",class:"tree-branch"}),h("div",{key:"b4e5124438fddaf903852b473ed150eb7a1f557a",class:"tree-dot"})),h("div",{key:"cf33e2eebeebc07ada3010bf090ef0b28c95bb25",class:"toggle-icon"},h("mds-button",{key:"8c395b5cff84e4084402c8c7ef9153faaf1d2df8",await:this.await,onClick:this.onClick,icon:!this.await?this.currentToggleIcon:undefined,title:this.t.get(this.expanded?"collapse":"expand",{label:this.label}),variant:"dark",tone:"text",size:"sm"})),h("div",{key:"069373193cdb746766238011e9c7703ebdf5e2a2",class:"title"},h("mds-button",{key:"fafece4aafad4443669ae50cdc81e951c83c3300",class:clsx("label-action",this.await&&"label-action--await"),disabled:this.await,icon:this.icon,onClick:this.onClick,variant:"dark",tone:"text",truncate:this.truncate,label:this.label}),h("div",{key:"d285800720401b130c9264604ec263f8db3a0664",class:clsx("actions-container",this.hasActions&&"actions-container--has-actions"),part:"actions-container"},h("div",{key:"cb3eb7c5955d1368225eebd60551f8955d7b9235",class:"actions",part:"actions-list"},h("slot",{key:"f64107d9d9fd87881657665d4604ee12f9ad3250",name:"action",onSlotchange:this.onActionSlotChange}))))),h("div",{key:"df2d3d4750310be51fe225c0ca8ed5897dfff283",class:clsx("children",this.hasChildren&&"children--has-children",this.expanded&&"children--expanded")},h("slot",{key:"7c12146a94b60e43383ba0208c0bc64ccbf9304d"})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{toggle:[{handleIconChange:0}],expanded:[{handleExpandedChange:0}],actions:[{handleActionsChange:0}]}},enumerable:false,configurable:true});return e}();MdsTreeItem.style=mdsTreeItemCss();export{MdsTreeItem as mds_tree_item};
@@ -17,4 +17,4 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.j
17
17
  /* assignedNodes() hands back the whitespace between the items as text nodes, and a text
18
18
  * node has no style: the stacking order threw on the first tree written across more than
19
19
  * one line, which is every tree a consumer actually writes. assignedElements() is the
20
- * elements-only half of the same API. */this.updateElements=function(){var e,r,a;t.elements=(a=(r=(e=t.host.shadowRoot)===null||e===void 0?void 0:e.querySelector("slot"))===null||r===void 0?void 0:r.assignedElements())!==null&&a!==void 0?a:[];t.updateZIndex()};this.updateZIndex=function(){t.elements.forEach((function(e,r){e.style.zIndex="".concat(t.elements.length-r)}))}}e.prototype.handleExpandedChange=function(e){this.updateChildrenExpanded(e)};e.prototype.handleToggleChange=function(e){this.updateChildrenToggle(e)};e.prototype.handleTogglePositionChange=function(e){this.updateChildrenTogglePosition(e)};e.prototype.handleAppearanceChange=function(e){this.updateChildrenAppearance(e)};e.prototype.handleActionsChange=function(){this.childrenElements.forEach((function(e){void e.refreshActions()}))};e.prototype.handleTruncateChange=function(e){this.updateChildrenTruncate(e)};e.prototype.componentWillLoad=function(){this.childrenElements=this.host.querySelectorAll("mds-tree-item");this.updateChildrenTruncate(this.truncate);this.updateChildrenToggle(this.toggle);this.updateChildrenTogglePosition(this.togglePosition);this.updateChildrenAppearance(this.appearance);var e=queryChildrenByTag(this.host,"mds-tree-item");if(e!=null){e.forEach((function(e){e.depth=0}))}};e.prototype.render=function(){return h(Host,{key:"fdb7802cc7a2ad54a0f0770029eafc91bf2147ba"},h("slot",{key:"770c81eb8b869408e5a021b2cb4d267bfe8e74f6",onSlotchange:this.updateElements}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}},enumerable:false,configurable:true});return e}();MdsTree.style=mdsTreeCss();export{MdsTree as mds_tree};
20
+ * elements-only half of the same API. */this.updateElements=function(){var e,r,a;t.elements=(a=(r=(e=t.host.shadowRoot)===null||e===void 0?void 0:e.querySelector("slot"))===null||r===void 0?void 0:r.assignedElements())!==null&&a!==void 0?a:[];t.updateZIndex()};this.updateZIndex=function(){t.elements.forEach((function(e,r){e.style.zIndex="".concat(t.elements.length-r)}))}}e.prototype.handleExpandedChange=function(e){this.updateChildrenExpanded(e)};e.prototype.handleToggleChange=function(e){this.updateChildrenToggle(e)};e.prototype.handleTogglePositionChange=function(e){this.updateChildrenTogglePosition(e)};e.prototype.handleAppearanceChange=function(e){this.updateChildrenAppearance(e)};e.prototype.handleActionsChange=function(){this.childrenElements.forEach((function(e){void e.refreshActions()}))};e.prototype.handleTruncateChange=function(e){this.updateChildrenTruncate(e)};e.prototype.componentWillLoad=function(){this.childrenElements=this.host.querySelectorAll("mds-tree-item");this.updateChildrenTruncate(this.truncate);this.updateChildrenToggle(this.toggle);this.updateChildrenTogglePosition(this.togglePosition);this.updateChildrenAppearance(this.appearance);var e=queryChildrenByTag(this.host,"mds-tree-item");if(e!=null){e.forEach((function(e){e.depth=0}))}};e.prototype.render=function(){return h(Host,{key:"78fb744b2ced74fab6bbbfe7ef272b25d3f90c89"},h("slot",{key:"8187084c990a6b59ce8d8abcfa6dba4c47bc53e9",onSlotchange:this.updateElements}))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{expanded:[{handleExpandedChange:0}],toggle:[{handleToggleChange:0}],togglePosition:[{handleTogglePositionChange:0}],appearance:[{handleAppearanceChange:0}],actions:[{handleActionsChange:0}],truncate:[{handleTruncateChange:0}]}},enumerable:false,configurable:true});return e}();MdsTree.style=mdsTreeCss();export{MdsTree as mds_tree};
@@ -4,4 +4,4 @@ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from".
4
4
  * or to defer loading of images until some conditions are met.
5
5
  */this.loading="lazy";this.urlDomain=function(e){try{var r=new URL(e);return r.hostname.replace("www.","")}catch(r){
6
6
  // src missing or not a valid absolute URL: fall back to the raw value
7
- return e!==null&&e!==void 0?e:""}};this.closeUrlView=function(){var e;r.closeEvent.emit();(e=r.host.closest("mds-modal"))===null||e===void 0?void 0:e.close()}}e.prototype.componentDidLoad=function(){var e,r;var a=(r=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".action-close"))!==null&&r!==void 0?r:null;if(a!==null){this.km.addElement(a);this.km.attachClickBehavior()}};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){var e,r;return h(Host,{key:"2c327fc1ebd8036fa625605cace2f54651f634a8","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"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:"4e66dcb397b5f68859dccc769e93f3d4fc5e3ab6",class:"window"},h("div",{key:"b425577cb77a3796ee52af5194981f57d6b2c07c",class:"header"},h("mds-icon",{key:"5f9ee13fdcd7cf9efa92e3b6bc038ae145989233",class:"window-icon",name:(e=this.icon)!==null&&e!==void 0?e:miBaselineExplore}),h("mds-text",{key:"08f49adf6214594794204edf34d8b7ffe2c02613",class:"title",typography:"caption"},(r=this.label)!==null&&r!==void 0?r:this.urlDomain(this.src)),h("mds-button",{key:"ca7a9f77652579daf7d79ffa0f014a2e1639e5f2",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:miBaselineClose,onClick:this.closeUrlView})),h("iframe",{key:"9242775416147fa7bcc54defab8efa4067f7e834",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsUrlView.style=mdsUrlViewCss();export{MdsUrlView as mds_url_view};
7
+ return e!==null&&e!==void 0?e:""}};this.closeUrlView=function(){var e;r.closeEvent.emit();(e=r.host.closest("mds-modal"))===null||e===void 0?void 0:e.close()}}e.prototype.componentDidLoad=function(){var e,r;var a=(r=(e=this.host.shadowRoot)===null||e===void 0?void 0:e.querySelector(".action-close"))!==null&&r!==void 0?r:null;if(a!==null){this.km.addElement(a);this.km.attachClickBehavior()}};e.prototype.disconnectedCallback=function(){this.km.detachClickBehavior()};e.prototype.render=function(){var e,r;return h(Host,{key:"5d5b18b08ab6248208ed93e40072c4d04876e9d7","aria-label":this.t.get("previewURL",{url:this.urlDomain(this.src)}),"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:"3218cf559118a33ac33941392baeb1677f007fdb",class:"window"},h("div",{key:"21efea0113b7fd6a05af0e74d5274bea0e5d7270",class:"header"},h("mds-icon",{key:"6424c1bce6d7d3f9a0a5a155574c2b310b825a4e",class:"window-icon",name:(e=this.icon)!==null&&e!==void 0?e:miBaselineExplore}),h("mds-text",{key:"7d6117345c8401c6fdbf90ec22855c380c5c5af1",class:"title",typography:"caption"},(r=this.label)!==null&&r!==void 0?r:this.urlDomain(this.src)),h("mds-button",{key:"b179e9ec2295fd5dcd22db2d63cc0eb6aaf2ed9e",title:this.t.get("close"),class:"action-close",variant:"dark",tone:"text",icon:miBaselineClose,onClick:this.closeUrlView})),h("iframe",{key:"cbefb075bb231e5dbf1db14dd456758e27f757a7",class:"iframe","aria-label":this.t.get("iframeURL",{url:this.urlDomain(this.src)}),src:this.src,loading:this.loading})))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsUrlView.style=mdsUrlViewCss();export{MdsUrlView as mds_url_view};
@@ -1,4 +1,4 @@
1
1
  import{r as registerInstance,h,e as Host}from"./index-BxPbQB28.js";import{L as Locale}from"./locale-CVJm6KFD.js";import{p as preferenceStore}from"./preference-DNNqH7BU.js";var dont$3="Δεν επιτρέπεται";var info$3="Πληροφορία";var warn$3="Προειδοποίηση";var localeEl={do:"Επιτρέπεται",dont:dont$3,info:info$3,warn:warn$3};var dont$2="Not allowed";var info$2="Information";var warn$2="Warning";var localeEn={do:"Allowed",dont:dont$2,info:info$2,warn:warn$2};var dont$1="No permitido";var info$1="Información";var warn$1="Advertencia";var localeEs={do:"Permitido",dont:dont$1,info:info$1,warn:warn$1};var dont="Non consentito";var info="Informazione";var warn="Attenzione";var localeIt={do:"Consentito",dont:dont,info:info,warn:warn};var mdsUsageCss=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-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-usage-border-color:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-usage-header-background:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));--mds-usage-header-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-usage-transition-duration:var(--duration-200,.2s);--private-usage-transition-duration:var(--mds-usage-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));border-color:var(--mds-usage-border-color,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-radius:var(--radius-lg,16px);border-style:solid;border-width:calc(var(--spacing,.0025rem)*50);display:grid;gap:calc(var(--spacing,.0025rem)*200);grid-auto-rows:-webkit-min-content;grid-auto-rows:min-content;grid-template-columns:minmax(0,100%);padding:calc(var(--spacing,.0025rem)*400);padding-top:0;position:relative;-webkit-transition-duration:var(--private-usage-transition-duration);transition-duration:var(--private-usage-transition-duration);transition-property:background-color,box-shadow,color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:100%}.label{color:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))))}mds-icon{fill:var(--mds-usage-header-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));height:calc(var(--spacing,.0025rem)*400);width:calc(var(--spacing,.0025rem)*400)}.header{align-items:center;background-color:var(--mds-usage-header-background,rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196))));border-bottom-left-radius:var(--radius-xs,8px);border-bottom-right-radius:var(--radius-xs,8px);display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);height:calc(var(--spacing,.0025rem)*600);justify-self:start;padding-left:calc(var(--spacing,.0025rem)*200);padding-right:calc(var(--spacing,.0025rem)*200)}: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-usage-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([variant=do]){--mds-usage-border-color:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-usage-header-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=info]){--mds-usage-border-color:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-usage-header-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=dont]){--mds-usage-border-color:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-usage-header-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))))}:host([variant=warn]){--mds-usage-border-color:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-usage-header-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}@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-usage-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsUsage=/** @class */function(){function a(a){registerInstance(this,a);this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});
2
2
  /**
3
3
  * Specifies the delay when the tooltip will trigger
4
- */this.variant="info"}a.prototype.render=function(){var a;return h(Host,{key:"1e4c969231095e1d0189393e7f79f49341eb29de","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:"7783fe417c7a480d07d5fee33571bd2d25112a0a",class:"header",part:"header"},h("mds-icon",{key:"40e71c88b712dc17547e4c13467b347431abcd15",name:"mi/baseline/info",part:"icon"}),h("mds-text",{key:"69f5ff4d0bf1f22f48266fb86626c899c318eb61",typography:"label",class:"label",part:"label"},(a=this.alias)!==null&&a!==void 0?a:this.t.get(this.variant))),h("div",{key:"abae4abf356e8901e262f297a2f813e03759483e",class:"content",role:this.variant==="do"||this.variant==="info"?"insertion":"deletion"},h("slot",{key:"b9dfb0bc4ac15036b7eab5b3fc7d350f8375ef31"})))};return a}();MdsUsage.style=mdsUsageCss();export{MdsUsage as mds_usage};
4
+ */this.variant="info"}a.prototype.render=function(){var a;return h(Host,{key:"cf0c6b62fc4f8f7a297605ca77ff16067bb542d3","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:"d7c92de2944edd302cb06525c0ee4a43a6528a14",class:"header",part:"header"},h("mds-icon",{key:"7bdfd0cf86f2e47ba2c1ffe3d6346652be3ed8d1",name:"mi/baseline/info",part:"icon"}),h("mds-text",{key:"335f96253125a0019a03233e0367595f3bc53be1",typography:"label",class:"label",part:"label"},(a=this.alias)!==null&&a!==void 0?a:this.t.get(this.variant))),h("div",{key:"b70f017128d80ff0bfc24b0ff3935212d17b0a08",class:"content",role:this.variant==="do"||this.variant==="info"?"insertion":"deletion"},h("slot",{key:"ea81f6077c8842d48ef63d7f041d92199b64925e"})))};return a}();MdsUsage.style=mdsUsageCss();export{MdsUsage as mds_usage};
@@ -13,4 +13,4 @@ import{r as registerInstance,h,e as Host,g as getElement}from"./index-BxPbQB28.j
13
13
  */this.noise="none";
14
14
  /**
15
15
  * Specifies if and how the author thinks the video should be loaded when the page loads. Note: The preload attribute is ignored if autoplay is present
16
- */this.preload="auto";this.onContentSlotChange=function(){a.hasContent=hasChildWithSlot(a.hostElement,"content")}}e.prototype.componentWillLoad=function(){this.hasContent=hasChildWithSlot(this.hostElement,"content")};e.prototype.render=function(){return h(Host,{key:"21cd68ab76fd89bbdd16aa3d713e7f71db54d9da"},this.noise!=="none"&&h("div",{key:"a2d3046ee1e86c20f914fb2401defb5724f5750b","aria-hidden":"true",class:clsx("noise","noise--".concat(this.noise))}),h("video",{key:"d60f4692c9794bdab32c19e933039ed35df60f8b","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},h("slot",{key:"c41d9c2385906bc466fa5bd671b8e5d0fb49028a"})),h("div",{key:"5b297ada7a4ca5a2688fd6ba5d56b5a201e8e61c",class:clsx("content",!this.hasContent&&"content--hidden")},h("slot",{key:"07adf20c1ec2bae2661b8650f7756fbbb1a04c4b",name:"content",onSlotchange:this.onContentSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsVideoWall.style=mdsVideoWallCss();export{MdsVideoWall as mds_video_wall};
16
+ */this.preload="auto";this.onContentSlotChange=function(){a.hasContent=hasChildWithSlot(a.hostElement,"content")}}e.prototype.componentWillLoad=function(){this.hasContent=hasChildWithSlot(this.hostElement,"content")};e.prototype.render=function(){return h(Host,{key:"94928e6afc0142c8082518a25b2f594a05325ac2"},this.noise!=="none"&&h("div",{key:"e7a8161a371b621804bfac37d10ba4bf883ed3f8","aria-hidden":"true",class:clsx("noise","noise--".concat(this.noise))}),h("video",{key:"dd8e93a8571d735b0815074c5303d8b4ae2df0f5","aria-hidden":"true",autoplay:this.autoplay,loop:this.loop,muted:this.muted,poster:this.poster,preload:this.preload,src:this.src},h("slot",{key:"a40be3e398a343c0bfdeab3b434be926aa88db37"})),h("div",{key:"1c9b4531760bb68227dbaf1372d570baa56816b2",class:clsx("content",!this.hasContent&&"content--hidden")},h("slot",{key:"9d71e618a2662408f1dc48fc2191f187529f816b",name:"content",onSlotchange:this.onContentSlotChange})))};Object.defineProperty(e.prototype,"hostElement",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsVideoWall.style=mdsVideoWallCss();export{MdsVideoWall as mds_video_wall};