@maggioli-design-system/magma 2.0.0-beta.3 → 2.0.0-beta.5

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 (1628) hide show
  1. package/README.md +35 -3
  2. package/dist/cjs/date-B28IitWe.js +24 -0
  3. package/dist/cjs/floating-controller-Cd_vNLLD.js +369 -0
  4. package/dist/cjs/floating-ui.dom-DflSHZIo.js +1688 -0
  5. package/dist/cjs/form-DTCBh5WK.js +22 -0
  6. package/dist/cjs/index--6wz7eWi.js +5183 -0
  7. package/dist/cjs/index.cjs.js +17 -0
  8. package/dist/cjs/keyboard-manager-C_Eaxw-C.js +52 -0
  9. package/dist/cjs/loader.cjs.js +2 -2
  10. package/dist/cjs/locale-CB5_Z7PE.js +816 -0
  11. package/dist/cjs/magma-components.cjs.js +31 -4
  12. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
  13. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
  14. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  15. package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
  16. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  17. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  18. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  19. package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
  20. package/dist/cjs/mds-badge.cjs.entry.js +5 -26
  21. package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
  22. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
  23. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  25. package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
  26. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  27. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
  29. package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
  30. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  31. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  33. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  34. package/dist/cjs/mds-card.cjs.entry.js +4 -21
  35. package/dist/cjs/mds-details.cjs.entry.js +8 -18
  36. package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
  37. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  38. package/dist/cjs/mds-entity.cjs.entry.js +11 -23
  39. package/dist/cjs/mds-file-preview.cjs.entry.js +8 -36
  40. package/dist/cjs/mds-file.cjs.entry.js +6 -34
  41. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
  42. package/dist/cjs/mds-filter.cjs.entry.js +19 -32
  43. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
  44. package/dist/cjs/mds-header.cjs.entry.js +8 -22
  45. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  46. package/dist/cjs/mds-hr.cjs.entry.js +4 -17
  47. package/dist/cjs/mds-img.cjs.entry.js +8 -16
  48. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  49. package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
  50. package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
  51. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  52. package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
  53. package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
  54. package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
  55. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
  56. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
  57. package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
  58. package/dist/cjs/mds-input.cjs.entry.js +23 -52
  59. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  60. package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
  61. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
  62. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  63. package/dist/cjs/mds-label.cjs.entry.js +7 -29
  64. package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
  65. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  66. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  67. package/dist/cjs/mds-modal.cjs.entry.js +54 -47
  68. package/dist/cjs/mds-note.cjs.entry.js +7 -35
  69. package/dist/cjs/mds-notification.cjs.entry.js +12 -14
  70. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
  71. package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
  72. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
  73. package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
  74. package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
  75. package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
  76. package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
  77. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  78. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  79. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  80. package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
  81. package/dist/cjs/mds-pref.cjs.entry.js +40 -17
  82. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
  83. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
  84. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
  85. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  86. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  87. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
  88. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  89. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
  90. package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
  91. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
  92. package/dist/cjs/mds-quote.cjs.entry.js +4 -13
  93. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  94. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  95. package/dist/cjs/mds-separator.cjs.entry.js +4 -21
  96. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
  97. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
  98. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  99. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
  100. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
  101. package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
  102. package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
  103. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
  104. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
  105. package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
  106. package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
  107. package/dist/cjs/mds-table.cjs.entry.js +60 -50
  108. package/dist/cjs/mds-text.cjs.entry.js +36 -21
  109. package/dist/cjs/mds-toast.cjs.entry.js +10 -27
  110. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
  111. package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
  112. package/dist/cjs/mds-tree.cjs.entry.js +12 -6
  113. package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
  114. package/dist/cjs/mds-usage.cjs.entry.js +5 -33
  115. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  116. package/dist/cjs/mds-zero.cjs.entry.js +4 -25
  117. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  118. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  119. package/dist/collection/collection-manifest.json +3 -3
  120. package/dist/collection/common/date.js +9 -1
  121. package/dist/collection/common/floating-controller.js +175 -9
  122. package/dist/collection/common/form.js +18 -0
  123. package/dist/collection/common/keyboard-manager.js +5 -5
  124. package/dist/collection/common/locale.js +9 -31
  125. package/dist/collection/common/preference.js +83 -59
  126. package/dist/collection/common/slot.js +14 -1
  127. package/dist/collection/common/yugop/random-text.js +12 -3
  128. package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
  129. package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
  130. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
  131. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
  132. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
  133. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
  134. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
  135. package/dist/collection/components/mds-author/mds-author.css +4 -0
  136. package/dist/collection/components/mds-author/mds-author.js +14 -2
  137. package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
  138. package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
  139. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
  140. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  141. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
  142. package/dist/collection/components/mds-badge/mds-badge.css +168 -155
  143. package/dist/collection/components/mds-badge/mds-badge.js +2 -31
  144. package/dist/collection/components/mds-banner/mds-banner.css +149 -192
  145. package/dist/collection/components/mds-banner/mds-banner.js +10 -58
  146. package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
  147. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
  148. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
  149. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  150. package/dist/collection/components/mds-button/mds-button.css +285 -333
  151. package/dist/collection/components/mds-button/mds-button.js +4 -24
  152. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  153. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  154. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
  155. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  156. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  157. package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
  158. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  159. package/dist/collection/components/mds-card/mds-card.css +11 -35
  160. package/dist/collection/components/mds-card/mds-card.js +2 -22
  161. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  162. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  163. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  164. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  165. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  166. package/dist/collection/components/mds-chip/mds-chip.css +317 -278
  167. package/dist/collection/components/mds-chip/mds-chip.js +19 -61
  168. package/dist/collection/components/mds-details/mds-details.css +52 -28
  169. package/dist/collection/components/mds-details/mds-details.js +4 -16
  170. package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
  171. package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
  172. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  173. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  174. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  175. package/dist/collection/components/mds-entity/mds-entity.css +25 -76
  176. package/dist/collection/components/mds-entity/mds-entity.js +13 -24
  177. package/dist/collection/components/mds-file/mds-file.css +103 -79
  178. package/dist/collection/components/mds-file/mds-file.js +2 -56
  179. package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
  180. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
  181. package/dist/collection/components/mds-filter/mds-filter.css +66 -78
  182. package/dist/collection/components/mds-filter/mds-filter.js +16 -33
  183. package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
  184. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
  185. package/dist/collection/components/mds-header/mds-header.css +15 -68
  186. package/dist/collection/components/mds-header/mds-header.js +5 -22
  187. package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
  188. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
  189. package/dist/collection/components/mds-help/mds-help.css +1 -19
  190. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
  191. package/dist/collection/components/mds-hr/mds-hr.css +6 -18
  192. package/dist/collection/components/mds-hr/mds-hr.js +2 -21
  193. package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
  194. package/dist/collection/components/mds-img/mds-img.css +12 -48
  195. package/dist/collection/components/mds-img/mds-img.js +5 -36
  196. package/dist/collection/components/mds-input/mds-input.css +120 -158
  197. package/dist/collection/components/mds-input/mds-input.js +33 -65
  198. package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
  199. package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
  200. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
  201. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
  202. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
  203. package/dist/collection/components/mds-input-field/mds-input-field.css +33 -45
  204. package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
  205. package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
  206. package/dist/collection/components/mds-input-range/mds-input-range.css +61 -19
  207. package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
  208. package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
  209. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
  210. package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
  211. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
  212. package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
  213. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
  214. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
  215. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
  216. package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
  217. package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
  218. package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
  219. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
  220. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
  221. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
  222. package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
  223. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +103 -40
  224. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
  225. package/dist/collection/components/mds-label/mds-label.css +265 -354
  226. package/dist/collection/components/mds-label/mds-label.js +3 -54
  227. package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
  228. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
  229. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  230. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  231. package/dist/collection/components/mds-modal/mds-modal.css +71 -101
  232. package/dist/collection/components/mds-modal/mds-modal.js +72 -45
  233. package/dist/collection/components/mds-note/mds-note.css +220 -198
  234. package/dist/collection/components/mds-note/mds-note.js +3 -61
  235. package/dist/collection/components/mds-notification/mds-notification.css +55 -89
  236. package/dist/collection/components/mds-notification/mds-notification.js +9 -16
  237. package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
  238. package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
  239. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
  240. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
  241. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
  242. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
  243. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  244. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
  245. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
  246. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
  247. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
  248. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
  249. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
  250. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  251. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  252. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  253. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  254. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  255. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  256. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  257. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
  258. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  259. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  260. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  261. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  262. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
  263. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
  264. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
  265. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
  266. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
  267. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
  268. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  269. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
  270. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
  271. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
  272. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  273. package/dist/collection/components/mds-progress/mds-progress.css +100 -94
  274. package/dist/collection/components/mds-progress/mds-progress.js +2 -27
  275. package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
  276. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
  277. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
  278. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
  279. package/dist/collection/components/mds-quote/mds-quote.css +2 -2
  280. package/dist/collection/components/mds-quote/mds-quote.js +2 -16
  281. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  282. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  283. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  284. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  285. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  286. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  287. package/dist/collection/components/mds-separator/mds-separator.css +12 -42
  288. package/dist/collection/components/mds-separator/mds-separator.js +2 -26
  289. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
  290. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
  291. package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
  292. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
  293. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
  294. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  295. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
  296. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
  297. package/dist/collection/components/mds-tab/mds-tab.css +85 -189
  298. package/dist/collection/components/mds-tab/mds-tab.js +5 -27
  299. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
  300. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
  301. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
  302. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
  303. package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
  304. package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
  305. package/dist/collection/components/mds-table/mds-table.css +86 -130
  306. package/dist/collection/components/mds-table/mds-table.js +57 -52
  307. package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
  308. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
  309. package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
  310. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
  311. package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
  312. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
  313. package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
  314. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
  315. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
  316. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
  317. package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
  318. package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
  319. package/dist/collection/components/mds-text/mds-text.css +18 -38
  320. package/dist/collection/components/mds-text/mds-text.js +23 -22
  321. package/dist/collection/components/mds-toast/mds-toast.css +99 -90
  322. package/dist/collection/components/mds-toast/mds-toast.js +8 -28
  323. package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
  324. package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
  325. package/dist/collection/components/mds-tree/mds-tree.css +20 -212
  326. package/dist/collection/components/mds-tree/mds-tree.js +10 -4
  327. package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
  328. package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
  329. package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
  330. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
  331. package/dist/collection/components/mds-usage/mds-usage.css +80 -95
  332. package/dist/collection/components/mds-usage/mds-usage.js +2 -60
  333. package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
  334. package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
  335. package/dist/collection/components/mds-zero/mds-zero.css +56 -18
  336. package/dist/collection/components/mds-zero/mds-zero.js +2 -31
  337. package/dist/collection/event-detail/theme.js +1 -0
  338. package/dist/collection/type/preference.js +22 -3
  339. package/dist/components/index.d.ts +230 -0
  340. package/dist/components/index.js +1 -1
  341. package/dist/components/mds-accordion-item.js +1 -1
  342. package/dist/components/mds-accordion-timer-item.js +1 -1
  343. package/dist/components/mds-accordion-timer.js +1 -1
  344. package/dist/components/mds-accordion.js +1 -1
  345. package/dist/components/mds-author.js +1 -1
  346. package/dist/components/mds-avatar-stack-item.js +1 -1
  347. package/dist/components/mds-avatar-stack.js +1 -1
  348. package/dist/components/mds-avatar.js +1 -1
  349. package/dist/components/mds-badge.js +1 -1
  350. package/dist/components/mds-banner.js +1 -1
  351. package/dist/components/mds-benchmark-bar.js +1 -1
  352. package/dist/components/mds-bibliography.js +1 -1
  353. package/dist/components/mds-breadcrumb-item.js +1 -1
  354. package/dist/components/mds-breadcrumb.js +1 -1
  355. package/dist/components/mds-button-dropdown.js +1 -1
  356. package/dist/components/mds-button-group.js +1 -1
  357. package/dist/components/mds-button.js +1 -1
  358. package/dist/components/mds-calendar-cell.js +1 -1
  359. package/dist/components/mds-calendar.js +1 -1
  360. package/dist/components/mds-card-content.js +1 -1
  361. package/dist/components/mds-card-footer.js +1 -1
  362. package/dist/components/mds-card-header.js +1 -1
  363. package/dist/components/mds-card-media.js +1 -1
  364. package/dist/components/mds-card.js +1 -1
  365. package/dist/components/mds-chip.js +1 -1
  366. package/dist/components/mds-details.js +1 -1
  367. package/dist/components/mds-dropdown.js +1 -1
  368. package/dist/components/mds-emoji.js +3 -3
  369. package/dist/components/mds-entity.js +1 -1
  370. package/dist/components/mds-file-preview.js +1 -1
  371. package/dist/components/mds-file.js +3 -3
  372. package/dist/components/mds-filter-item.js +1 -1
  373. package/dist/components/mds-filter.js +1 -1
  374. package/dist/components/mds-header-bar.js +1 -1
  375. package/dist/components/mds-header.js +1 -1
  376. package/dist/components/mds-help.js +1 -1
  377. package/dist/components/mds-horizontal-scroll.js +1 -1
  378. package/dist/components/mds-hr.js +1 -1
  379. package/dist/components/mds-icon.js +1 -1
  380. package/dist/components/mds-img.js +1 -1
  381. package/dist/components/mds-input-date-range-preselection.js +1 -1
  382. package/dist/components/mds-input-date-range.js +1 -1
  383. package/dist/components/mds-input-date.js +1 -1
  384. package/dist/components/mds-input-field.js +1 -1
  385. package/dist/components/mds-input-otp.js +1 -1
  386. package/dist/components/mds-input-range.js +1 -1
  387. package/dist/components/mds-input-select.js +1 -1
  388. package/dist/components/mds-input-switch.js +1 -1
  389. package/dist/components/mds-input-tip-item.js +1 -1
  390. package/dist/components/mds-input-tip.js +1 -1
  391. package/dist/components/mds-input-upload.js +1 -1
  392. package/dist/components/mds-input.js +1 -1
  393. package/dist/components/mds-keyboard-key.js +1 -1
  394. package/dist/components/mds-keyboard.js +1 -1
  395. package/dist/components/mds-kpi-item.js +1 -1
  396. package/dist/components/mds-kpi.js +1 -1
  397. package/dist/components/mds-label.js +1 -1
  398. package/dist/components/mds-list-item.js +1 -1
  399. package/dist/components/mds-list.js +1 -1
  400. package/dist/components/mds-mention.js +1 -1
  401. package/dist/components/mds-modal.js +1 -1
  402. package/dist/components/mds-note.js +1 -1
  403. package/dist/components/mds-notification.js +1 -1
  404. package/dist/components/mds-paginator-item.js +1 -1
  405. package/dist/components/mds-paginator.js +1 -1
  406. package/dist/components/mds-policy-ai.js +1 -1
  407. package/dist/components/mds-pref-animation.js +1 -1
  408. package/dist/components/mds-pref-consumption.js +1 -1
  409. package/dist/components/mds-pref-contrast.js +1 -1
  410. package/dist/components/mds-pref-language-item.js +1 -1
  411. package/dist/components/mds-pref-language.js +1 -1
  412. package/dist/components/mds-pref-mode.d.ts +11 -0
  413. package/dist/components/mds-pref-mode.js +1 -0
  414. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  415. package/dist/components/mds-pref-theme-item.js +1 -0
  416. package/dist/components/mds-pref-theme.js +1 -1
  417. package/dist/components/mds-pref.js +1 -1
  418. package/dist/components/mds-price-table-features-cell.js +1 -1
  419. package/dist/components/mds-price-table-features-row.js +1 -1
  420. package/dist/components/mds-price-table-features.js +1 -1
  421. package/dist/components/mds-price-table-header.js +1 -1
  422. package/dist/components/mds-price-table-list-item.js +1 -1
  423. package/dist/components/mds-price-table-list.js +1 -1
  424. package/dist/components/mds-price-table.js +1 -1
  425. package/dist/components/mds-progress.js +1 -1
  426. package/dist/components/mds-push-notification-item.js +1 -1
  427. package/dist/components/mds-push-notification.js +1 -1
  428. package/dist/components/mds-quote.js +1 -1
  429. package/dist/components/mds-radial-menu-item.js +1 -1
  430. package/dist/components/mds-radial-menu.js +1 -1
  431. package/dist/components/mds-radial-progress.js +1 -1
  432. package/dist/components/mds-separator.js +1 -1
  433. package/dist/components/mds-spinner.js +1 -1
  434. package/dist/components/mds-status-bar.js +1 -1
  435. package/dist/components/mds-stepper-bar-item.js +1 -1
  436. package/dist/components/mds-stepper-bar.js +1 -1
  437. package/dist/components/mds-tab-bar-item.js +1 -1
  438. package/dist/components/mds-tab-bar.js +1 -1
  439. package/dist/components/mds-tab-item.js +1 -1
  440. package/dist/components/mds-tab.js +1 -1
  441. package/dist/components/mds-table-body.js +1 -1
  442. package/dist/components/mds-table-cell.js +1 -1
  443. package/dist/components/mds-table-footer.js +1 -1
  444. package/dist/components/mds-table-header-cell.js +1 -1
  445. package/dist/components/mds-table-header.js +1 -1
  446. package/dist/components/mds-table-row.js +1 -1
  447. package/dist/components/mds-table.js +1 -1
  448. package/dist/components/mds-text.js +1 -1
  449. package/dist/components/mds-toast.js +1 -1
  450. package/dist/components/mds-tooltip.js +1 -1
  451. package/dist/components/mds-tree-item.js +1 -1
  452. package/dist/components/mds-tree.js +1 -1
  453. package/dist/components/mds-url-view.js +1 -1
  454. package/dist/components/mds-usage.js +1 -1
  455. package/dist/components/mds-video-wall.js +1 -1
  456. package/dist/components/mds-zero.js +1 -1
  457. package/dist/components/p--8aaJX-p.js +1 -0
  458. package/dist/components/p-A9TZf0Ii.js +1 -0
  459. package/dist/components/p-B14Ci2fO.js +1 -0
  460. package/dist/components/p-B2A_hlV2.js +1 -0
  461. package/dist/components/p-B9DJLgwr.js +1 -0
  462. package/dist/components/p-BH3bWzRT.js +1 -0
  463. package/dist/components/p-BJNK4p33.js +1 -0
  464. package/dist/components/p-BNHXZ-JR.js +1 -0
  465. package/dist/components/p-BSxuG1vZ.js +1 -0
  466. package/dist/components/p-BTHR4xXu.js +1 -0
  467. package/dist/components/p-BhFTcUD0.js +3 -0
  468. package/dist/components/p-BouRLCYL.js +1 -0
  469. package/dist/components/p-Bss3F51Q.js +5 -0
  470. package/dist/components/p-Bt4xX5ww.js +1 -0
  471. package/dist/components/p-C03KYHGv.js +1 -0
  472. package/dist/components/p-C58NKMEE.js +1 -0
  473. package/dist/components/p-CACEYk42.js +1 -0
  474. package/dist/components/p-CBLAz3_J.js +1 -0
  475. package/dist/components/p-CHAGzQT-.js +1 -0
  476. package/dist/components/p-CVgKDZPF.js +1 -0
  477. package/dist/components/p-CVpjH8Un.js +1 -0
  478. package/dist/components/p-Caksrfcd.js +1 -0
  479. package/dist/components/p-CatD1iUY.js +1 -0
  480. package/dist/components/p-CbufYCNj.js +1 -0
  481. package/dist/components/p-Cehcn85x.js +1 -0
  482. package/dist/components/p-CsgCQiHG.js +1 -0
  483. package/dist/components/p-CvIFS8oA.js +1 -0
  484. package/dist/components/p-D3-GP4KF.js +1 -0
  485. package/dist/components/p-D8I1RblC.js +1 -0
  486. package/dist/components/p-DLE5TNTp.js +1 -0
  487. package/dist/components/p-DaI5QqNu.js +1 -0
  488. package/dist/components/p-Deh5Aia-.js +1 -0
  489. package/dist/components/p-Dj_oN194.js +1 -0
  490. package/dist/components/p-DmELzfvf.js +1 -0
  491. package/dist/components/p-DtxB7DYE.js +1 -0
  492. package/dist/components/p-KRu9I7dw.js +1 -0
  493. package/dist/components/p-cBZsPiMJ.js +1 -0
  494. package/dist/components/p-sUKtonkE.js +8 -0
  495. package/dist/components/p-sqRs6oj4.js +1 -0
  496. package/dist/components/p-wq6nWuWE.js +1 -0
  497. package/dist/documentation.json +750 -1137
  498. package/dist/esm/date-CACEYk42.js +22 -0
  499. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  500. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  501. package/dist/esm/form-A9TZf0Ii.js +19 -0
  502. package/dist/esm/index-DIiEV39g.js +5149 -0
  503. package/dist/esm/index.js +17 -0
  504. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  505. package/dist/esm/loader.js +3 -3
  506. package/dist/esm/locale-CbJbTW_c.js +814 -0
  507. package/dist/esm/magma-components.js +32 -5
  508. package/dist/esm/mds-accordion-item.entry.js +7 -28
  509. package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
  510. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  511. package/dist/esm/mds-accordion.entry.js +5 -22
  512. package/dist/esm/mds-author.entry.js +9 -4
  513. package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
  514. package/dist/esm/mds-avatar-stack.entry.js +5 -4
  515. package/dist/esm/mds-avatar.entry.js +8 -21
  516. package/dist/esm/mds-badge.entry.js +5 -26
  517. package/dist/esm/mds-banner_3.entry.js +35 -70
  518. package/dist/esm/mds-benchmark-bar.entry.js +2 -2
  519. package/dist/esm/mds-bibliography.entry.js +2 -2
  520. package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
  521. package/dist/esm/mds-breadcrumb.entry.js +7 -15
  522. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  523. package/dist/esm/mds-button-group.entry.js +3 -3
  524. package/dist/esm/mds-button_3.entry.js +10 -32
  525. package/dist/esm/mds-calendar_2.entry.js +123 -102
  526. package/dist/esm/mds-card-content.entry.js +2 -2
  527. package/dist/esm/mds-card-footer.entry.js +2 -2
  528. package/dist/esm/mds-card-header.entry.js +9 -4
  529. package/dist/esm/mds-card-media.entry.js +2 -2
  530. package/dist/esm/mds-card.entry.js +4 -21
  531. package/dist/esm/mds-details.entry.js +8 -18
  532. package/dist/esm/mds-dropdown.entry.js +184 -58
  533. package/dist/esm/mds-emoji.entry.js +301 -181
  534. package/dist/esm/mds-entity.entry.js +11 -23
  535. package/dist/esm/mds-file-preview.entry.js +8 -36
  536. package/dist/esm/mds-file.entry.js +6 -34
  537. package/dist/esm/mds-filter-item.entry.js +6 -25
  538. package/dist/esm/mds-filter.entry.js +19 -32
  539. package/dist/esm/mds-header-bar.entry.js +11 -27
  540. package/dist/esm/mds-header.entry.js +8 -22
  541. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  542. package/dist/esm/mds-hr.entry.js +4 -17
  543. package/dist/esm/mds-img.entry.js +8 -16
  544. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  545. package/dist/esm/mds-input-date-range.entry.js +57 -43
  546. package/dist/esm/mds-input-date.entry.js +14 -44
  547. package/dist/esm/mds-input-field.entry.js +42 -6
  548. package/dist/esm/mds-input-otp.entry.js +37 -3
  549. package/dist/esm/mds-input-range.entry.js +9 -29
  550. package/dist/esm/mds-input-select.entry.js +11 -41
  551. package/dist/esm/mds-input-switch_2.entry.js +19 -55
  552. package/dist/esm/mds-input-tip_2.entry.js +8 -40
  553. package/dist/esm/mds-input-upload.entry.js +34 -36
  554. package/dist/esm/mds-input.entry.js +23 -52
  555. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  556. package/dist/esm/mds-keyboard.entry.js +5 -25
  557. package/dist/esm/mds-kpi-item.entry.js +12 -25
  558. package/dist/esm/mds-kpi.entry.js +2 -2
  559. package/dist/esm/mds-label.entry.js +7 -29
  560. package/dist/esm/mds-list-item.entry.js +4 -13
  561. package/dist/esm/mds-list.entry.js +1 -1
  562. package/dist/esm/mds-mention.entry.js +38 -4
  563. package/dist/esm/mds-modal.entry.js +54 -47
  564. package/dist/esm/mds-note.entry.js +7 -35
  565. package/dist/esm/mds-notification.entry.js +12 -14
  566. package/dist/esm/mds-paginator-item.entry.js +5 -20
  567. package/dist/esm/mds-paginator.entry.js +27 -32
  568. package/dist/esm/mds-policy-ai.entry.js +5 -15
  569. package/dist/esm/mds-pref-animation.entry.js +7 -23
  570. package/dist/esm/mds-pref-consumption.entry.js +7 -23
  571. package/dist/esm/mds-pref-contrast.entry.js +10 -24
  572. package/dist/esm/mds-pref-language-item.entry.js +27 -15
  573. package/dist/esm/mds-pref-language.entry.js +38 -28
  574. package/dist/esm/mds-pref-mode.entry.js +271 -0
  575. package/dist/esm/mds-pref-theme-item.entry.js +41 -0
  576. package/dist/esm/mds-pref-theme.entry.js +147 -230
  577. package/dist/esm/mds-pref.entry.js +40 -17
  578. package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
  579. package/dist/esm/mds-price-table-features-row.entry.js +4 -25
  580. package/dist/esm/mds-price-table-features.entry.js +4 -25
  581. package/dist/esm/mds-price-table-header.entry.js +2 -2
  582. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  583. package/dist/esm/mds-price-table-list.entry.js +4 -25
  584. package/dist/esm/mds-price-table.entry.js +2 -2
  585. package/dist/esm/mds-progress_2.entry.js +7 -33
  586. package/dist/esm/mds-push-notification-item.entry.js +16 -39
  587. package/dist/esm/mds-push-notification.entry.js +7 -20
  588. package/dist/esm/mds-quote.entry.js +4 -13
  589. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  590. package/dist/esm/mds-radial-menu.entry.js +7 -6
  591. package/dist/esm/mds-separator.entry.js +4 -21
  592. package/dist/esm/mds-status-bar.entry.js +4 -25
  593. package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
  594. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  595. package/dist/esm/mds-tab-bar-item.entry.js +6 -27
  596. package/dist/esm/mds-tab-bar.entry.js +5 -26
  597. package/dist/esm/mds-tab_2.entry.js +14 -47
  598. package/dist/esm/mds-table-body.entry.js +4 -13
  599. package/dist/esm/mds-table-footer.entry.js +4 -13
  600. package/dist/esm/mds-table-header-cell.entry.js +4 -13
  601. package/dist/esm/mds-table-header.entry.js +19 -31
  602. package/dist/esm/mds-table-row.entry.js +20 -29
  603. package/dist/esm/mds-table.entry.js +60 -50
  604. package/dist/esm/mds-text.entry.js +36 -21
  605. package/dist/esm/mds-toast.entry.js +10 -27
  606. package/dist/esm/mds-tooltip.entry.js +16 -27
  607. package/dist/esm/mds-tree-item.entry.js +12 -14
  608. package/dist/esm/mds-tree.entry.js +12 -6
  609. package/dist/esm/mds-url-view.entry.js +21 -41
  610. package/dist/esm/mds-usage.entry.js +5 -33
  611. package/dist/esm/mds-video-wall.entry.js +8 -4
  612. package/dist/esm/mds-zero.entry.js +4 -25
  613. package/dist/esm/preference-CKerJx2M.js +385 -0
  614. package/dist/esm/slot-C0o_l0td.js +61 -0
  615. package/dist/esm-es5/date-CACEYk42.js +6 -0
  616. package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
  617. package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
  618. package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
  619. package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
  620. package/dist/esm-es5/index-DIiEV39g.js +371 -0
  621. package/dist/esm-es5/index.js +79 -1
  622. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
  623. package/dist/esm-es5/loader.js +1 -1
  624. package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
  625. package/dist/esm-es5/magma-components.js +4 -1
  626. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  627. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  628. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  629. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  630. package/dist/esm-es5/mds-author.entry.js +1 -1
  631. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  632. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  633. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  634. package/dist/esm-es5/mds-badge.entry.js +12 -1
  635. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  636. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  637. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  638. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  639. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  640. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  641. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  642. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  643. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  644. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  645. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  646. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  647. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  648. package/dist/esm-es5/mds-card.entry.js +7 -1
  649. package/dist/esm-es5/mds-details.entry.js +4 -1
  650. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  651. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  652. package/dist/esm-es5/mds-entity.entry.js +1 -1
  653. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  654. package/dist/esm-es5/mds-file.entry.js +2823 -3
  655. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  656. package/dist/esm-es5/mds-filter.entry.js +11 -1
  657. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  658. package/dist/esm-es5/mds-header.entry.js +30 -1
  659. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  660. package/dist/esm-es5/mds-hr.entry.js +1 -1
  661. package/dist/esm-es5/mds-img.entry.js +15 -1
  662. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  663. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  664. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  665. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  666. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  667. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  668. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  669. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  670. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  671. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  672. package/dist/esm-es5/mds-input.entry.js +134 -1
  673. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  674. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  675. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  676. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  677. package/dist/esm-es5/mds-label.entry.js +16 -1
  678. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  679. package/dist/esm-es5/mds-list.entry.js +1 -1
  680. package/dist/esm-es5/mds-mention.entry.js +4 -1
  681. package/dist/esm-es5/mds-modal.entry.js +68 -1
  682. package/dist/esm-es5/mds-note.entry.js +7 -1
  683. package/dist/esm-es5/mds-notification.entry.js +13 -1
  684. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  685. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  686. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  687. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  688. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  689. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  690. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  691. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  692. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  693. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  694. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  695. package/dist/esm-es5/mds-pref.entry.js +9 -1
  696. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  697. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  698. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  699. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  700. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  701. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  703. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  704. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  705. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  706. package/dist/esm-es5/mds-quote.entry.js +7 -1
  707. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  708. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  709. package/dist/esm-es5/mds-separator.entry.js +1 -1
  710. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  711. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  712. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  713. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  714. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  715. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  716. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  717. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  718. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  719. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  720. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  721. package/dist/esm-es5/mds-table.entry.js +15 -1
  722. package/dist/esm-es5/mds-text.entry.js +27 -1
  723. package/dist/esm-es5/mds-toast.entry.js +15 -1
  724. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  725. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  726. package/dist/esm-es5/mds-tree.entry.js +20 -1
  727. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  728. package/dist/esm-es5/mds-usage.entry.js +4 -1
  729. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  730. package/dist/esm-es5/mds-zero.entry.js +1 -1
  731. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  732. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  733. package/dist/hydrate/index.js +4268 -3165
  734. package/dist/hydrate/index.mjs +4268 -3165
  735. package/dist/magma-components/index.esm.js +1 -1
  736. package/dist/magma-components/magma-components.esm.js +1 -1
  737. package/dist/magma-components/magma-components.js +1 -1
  738. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  739. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  740. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  741. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  742. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  743. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  744. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  745. package/dist/magma-components/p-0a691082.entry.js +1 -0
  746. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  747. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  748. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  749. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  750. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  751. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  752. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  753. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  754. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  755. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  756. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  757. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  758. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  759. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  760. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  761. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  762. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  763. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  764. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  765. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  766. package/dist/magma-components/p-21891a24.entry.js +1 -0
  767. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  768. package/dist/magma-components/p-231505e8.entry.js +1 -0
  769. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  770. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  771. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  772. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  773. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  774. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  775. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  776. package/dist/magma-components/p-2de17848.entry.js +1 -0
  777. package/dist/magma-components/p-34482514.entry.js +1 -0
  778. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  779. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  780. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  781. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  782. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  783. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  784. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  785. package/dist/magma-components/p-40563e33.entry.js +1 -0
  786. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  787. package/dist/magma-components/p-421a630e.entry.js +1 -0
  788. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  789. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  790. package/dist/magma-components/p-4543501c.entry.js +1 -0
  791. package/dist/magma-components/p-454c4774.entry.js +1 -0
  792. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  793. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  794. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  795. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  796. package/dist/magma-components/p-48d37230.entry.js +1 -0
  797. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  798. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  799. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  800. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  801. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  802. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  803. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  804. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  805. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  806. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  807. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  808. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  809. package/dist/magma-components/p-636cc471.entry.js +1 -0
  810. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  811. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  812. package/dist/magma-components/p-6937f340.entry.js +1 -0
  813. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  814. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  815. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  816. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  817. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  818. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  819. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  820. package/dist/magma-components/p-6de37588.entry.js +1 -0
  821. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  822. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  823. package/dist/magma-components/p-7090184f.entry.js +1 -0
  824. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  825. package/dist/magma-components/p-71804224.entry.js +1 -0
  826. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  827. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  828. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  829. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  830. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  831. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  832. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  833. package/dist/magma-components/p-78248693.entry.js +1 -0
  834. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  835. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  836. package/dist/magma-components/p-7d317ff0.entry.js +8 -0
  837. package/dist/magma-components/p-7f2e3b74.system.entry.js +2838 -0
  838. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  839. package/dist/magma-components/p-8103d4d4.system.entry.js +30 -0
  840. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  841. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  842. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  843. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  844. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  845. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  846. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  847. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  848. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  849. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  850. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  851. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  852. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  853. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  854. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  855. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  856. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  857. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  858. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  859. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  860. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  861. package/dist/magma-components/p-9d9a947b.entry.js +18 -0
  862. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  863. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  864. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  865. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  866. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  867. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  868. package/dist/magma-components/p-BbMKuVem.js +1 -0
  869. package/dist/magma-components/p-C0o_l0td.js +1 -0
  870. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  871. package/dist/magma-components/p-CACEYk42.js +1 -0
  872. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  873. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  874. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  875. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  876. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  877. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  878. package/dist/magma-components/p-DIiEV39g.js +3 -0
  879. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  880. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  881. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  882. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  883. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  884. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  885. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  886. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  887. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  888. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  889. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  890. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  891. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  892. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  893. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  894. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  895. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  896. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  897. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  898. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  899. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  900. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  901. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  902. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  903. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  904. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  905. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  906. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  907. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  908. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  909. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  910. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  911. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  912. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  913. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  914. package/dist/magma-components/p-c573de10.entry.js +1 -0
  915. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  916. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  917. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  918. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  919. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  920. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  921. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  922. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  923. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  924. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  925. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  926. package/dist/magma-components/p-d3116844.entry.js +1 -0
  927. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  928. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  929. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  930. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  931. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  932. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  933. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  934. package/dist/magma-components/p-d921d876.entry.js +1 -0
  935. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  936. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  937. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  938. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  939. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  940. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  941. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  942. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  943. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  944. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  945. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  946. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  947. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  948. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  949. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  950. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  951. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  952. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  953. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  954. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  955. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  956. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  957. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  958. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  959. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  960. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  961. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  962. package/dist/magma-components/p-f8369939.entry.js +1 -0
  963. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  964. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  965. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  966. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  967. package/dist/magma-components/p-fff44704.entry.js +1 -0
  968. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  969. package/dist/stats.json +5337 -7124
  970. package/dist/types/common/date.d.ts +5 -1
  971. package/dist/types/common/floating-controller.d.ts +56 -2
  972. package/dist/types/common/form.d.ts +10 -0
  973. package/dist/types/common/locale.d.ts +0 -5
  974. package/dist/types/common/preference.d.ts +48 -16
  975. package/dist/types/common/slot.d.ts +11 -1
  976. package/dist/types/common/yugop/random-text.d.ts +8 -0
  977. package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
  978. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
  979. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
  980. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  981. package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
  982. package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
  983. package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
  984. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
  985. package/dist/types/components/mds-button/mds-button.d.ts +0 -7
  986. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  987. package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
  988. package/dist/types/components/mds-card/mds-card.d.ts +0 -8
  989. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  990. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
  991. package/dist/types/components/mds-details/mds-details.d.ts +0 -5
  992. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
  993. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  994. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
  995. package/dist/types/components/mds-file/mds-file.d.ts +0 -15
  996. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
  997. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
  998. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
  999. package/dist/types/components/mds-header/mds-header.d.ts +0 -7
  1000. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
  1001. package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
  1002. package/dist/types/components/mds-img/mds-img.d.ts +1 -7
  1003. package/dist/types/components/mds-input/mds-input.d.ts +7 -15
  1004. package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
  1005. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
  1006. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1007. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1008. package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
  1009. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
  1010. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
  1011. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
  1012. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
  1013. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
  1014. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1015. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
  1016. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1017. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1018. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
  1019. package/dist/types/components/mds-label/mds-label.d.ts +0 -12
  1020. package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
  1021. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1022. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1023. package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
  1024. package/dist/types/components/mds-note/mds-note.d.ts +0 -15
  1025. package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
  1026. package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
  1027. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
  1028. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
  1029. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1030. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
  1031. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
  1032. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
  1033. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1034. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1035. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1036. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1037. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
  1038. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1039. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1040. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
  1041. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
  1042. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
  1043. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
  1044. package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
  1045. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
  1046. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
  1047. package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
  1048. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1049. package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
  1050. package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
  1051. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
  1052. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1053. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
  1054. package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
  1055. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
  1056. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
  1057. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
  1058. package/dist/types/components/mds-table/mds-table.d.ts +10 -14
  1059. package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
  1060. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
  1061. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
  1062. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
  1063. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
  1064. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
  1065. package/dist/types/components/mds-text/mds-text.d.ts +0 -4
  1066. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
  1067. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
  1068. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
  1069. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
  1070. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
  1071. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1072. package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
  1073. package/dist/types/components.d.ts +243 -239
  1074. package/dist/types/event-detail/preference.d.ts +2 -2
  1075. package/dist/types/event-detail/theme.d.ts +5 -0
  1076. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1077. package/dist/types/type/preference.d.ts +16 -3
  1078. package/loader/index.d.ts +1 -1
  1079. package/package.json +58 -64
  1080. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1081. package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
  1082. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1083. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1084. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1085. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1086. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1087. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1088. package/dist/cjs/preference-BdpIXWLP.js +0 -81
  1089. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1090. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
  1091. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1092. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1093. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1094. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1095. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1096. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1097. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1098. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1099. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1100. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1101. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1102. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1103. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1104. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1105. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1106. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1107. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1108. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1109. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1110. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1111. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1112. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1113. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1114. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1115. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1116. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1117. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1118. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1119. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1120. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1121. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1122. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1123. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1124. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1125. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1126. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1127. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1128. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1129. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1130. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1131. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1132. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1133. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1134. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1135. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1136. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1137. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1138. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1139. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1140. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1141. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1142. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1143. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1144. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1145. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
  1146. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1147. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1148. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1149. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1150. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1151. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1152. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1153. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1154. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1155. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1156. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1157. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1158. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1159. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1160. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1161. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1162. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1163. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1164. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1165. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1166. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1167. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1168. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1169. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1170. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1171. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1172. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1173. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1174. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1175. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1176. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1177. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1178. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1179. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1180. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1181. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1182. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1183. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1184. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1185. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1186. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1187. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1188. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1189. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1190. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1191. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1192. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1193. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1194. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1195. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1196. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1197. package/dist/collection/storybook/example-page.stories.js +0 -10
  1198. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1199. package/dist/collection/storybook/input-form.stories.js +0 -40
  1200. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1201. package/dist/collection/test/file.js +0 -53
  1202. package/dist/collection/test/mock.js +0 -19
  1203. package/dist/components/date.js +0 -1
  1204. package/dist/components/floating-controller.js +0 -1
  1205. package/dist/components/floating-ui.dom.js +0 -1
  1206. package/dist/components/icons-set.service.js +0 -1
  1207. package/dist/components/keyboard-manager.js +0 -1
  1208. package/dist/components/locale.it.js +0 -1
  1209. package/dist/components/locale.js +0 -5
  1210. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1211. package/dist/components/mds-avatar2.js +0 -1
  1212. package/dist/components/mds-badge2.js +0 -1
  1213. package/dist/components/mds-banner2.js +0 -1
  1214. package/dist/components/mds-button2.js +0 -1
  1215. package/dist/components/mds-calendar-cell2.js +0 -1
  1216. package/dist/components/mds-calendar2.js +0 -1
  1217. package/dist/components/mds-chip2.js +0 -1
  1218. package/dist/components/mds-dropdown2.js +0 -1
  1219. package/dist/components/mds-file-preview2.js +0 -8
  1220. package/dist/components/mds-filter-item2.js +0 -1
  1221. package/dist/components/mds-help2.js +0 -1
  1222. package/dist/components/mds-icon2.js +0 -1
  1223. package/dist/components/mds-img2.js +0 -1
  1224. package/dist/components/mds-input-switch2.js +0 -1
  1225. package/dist/components/mds-input-tip-item2.js +0 -1
  1226. package/dist/components/mds-input-tip2.js +0 -1
  1227. package/dist/components/mds-input2.js +0 -1
  1228. package/dist/components/mds-modal2.js +0 -1
  1229. package/dist/components/mds-paginator-item2.js +0 -1
  1230. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1231. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1232. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1233. package/dist/components/mds-pref-theme-variant.js +0 -1
  1234. package/dist/components/mds-progress2.js +0 -1
  1235. package/dist/components/mds-radial-progress2.js +0 -1
  1236. package/dist/components/mds-separator2.js +0 -1
  1237. package/dist/components/mds-spinner2.js +0 -1
  1238. package/dist/components/mds-tab-item2.js +0 -1
  1239. package/dist/components/mds-tab2.js +0 -1
  1240. package/dist/components/mds-table-cell2.js +0 -1
  1241. package/dist/components/mds-table-header-cell2.js +0 -1
  1242. package/dist/components/mds-text2.js +0 -1
  1243. package/dist/components/mds-tooltip2.js +0 -1
  1244. package/dist/components/preference.js +0 -1
  1245. package/dist/components/slot.js +0 -1
  1246. package/dist/esm/date-C1oxPa_J.js +0 -14
  1247. package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
  1248. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1249. package/dist/esm/index-CAd5312P.js +0 -2869
  1250. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1251. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1252. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1253. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1254. package/dist/esm/preference-fMwnXhio.js +0 -79
  1255. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1256. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1257. package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
  1258. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1259. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1260. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1261. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1262. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1263. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1264. package/dist/esm-es5/preference-fMwnXhio.js +0 -1
  1265. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1266. package/dist/magma-components/p-0105d7c7.entry.js +0 -8
  1267. package/dist/magma-components/p-022defe8.entry.js +0 -1
  1268. package/dist/magma-components/p-02d858d0.entry.js +0 -1
  1269. package/dist/magma-components/p-0607a2b3.entry.js +0 -1
  1270. package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
  1271. package/dist/magma-components/p-0b91aae4.entry.js +0 -1
  1272. package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
  1273. package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
  1274. package/dist/magma-components/p-0e986d85.entry.js +0 -18
  1275. package/dist/magma-components/p-0ea42813.entry.js +0 -1
  1276. package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
  1277. package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
  1278. package/dist/magma-components/p-11567740.entry.js +0 -1
  1279. package/dist/magma-components/p-116238cf.system.entry.js +0 -1
  1280. package/dist/magma-components/p-1239667c.system.entry.js +0 -1
  1281. package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
  1282. package/dist/magma-components/p-16c94506.system.entry.js +0 -1
  1283. package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
  1284. package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
  1285. package/dist/magma-components/p-19446c9e.entry.js +0 -1
  1286. package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
  1287. package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
  1288. package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
  1289. package/dist/magma-components/p-2035564c.system.entry.js +0 -1
  1290. package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
  1291. package/dist/magma-components/p-21ee64ec.entry.js +0 -1
  1292. package/dist/magma-components/p-224d2f55.entry.js +0 -1
  1293. package/dist/magma-components/p-23791e85.system.entry.js +0 -1
  1294. package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
  1295. package/dist/magma-components/p-249b80a5.entry.js +0 -1
  1296. package/dist/magma-components/p-262daf4f.entry.js +0 -1
  1297. package/dist/magma-components/p-288ce251.entry.js +0 -1
  1298. package/dist/magma-components/p-2a804b82.entry.js +0 -1
  1299. package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
  1300. package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
  1301. package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
  1302. package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
  1303. package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
  1304. package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
  1305. package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
  1306. package/dist/magma-components/p-31403b12.entry.js +0 -1
  1307. package/dist/magma-components/p-31616d0b.entry.js +0 -1
  1308. package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
  1309. package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
  1310. package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
  1311. package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
  1312. package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
  1313. package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
  1314. package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
  1315. package/dist/magma-components/p-385f395d.system.entry.js +0 -1
  1316. package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
  1317. package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
  1318. package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
  1319. package/dist/magma-components/p-3de6fa18.entry.js +0 -1
  1320. package/dist/magma-components/p-41da539f.entry.js +0 -1
  1321. package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
  1322. package/dist/magma-components/p-447c2d1b.entry.js +0 -1
  1323. package/dist/magma-components/p-44e2965d.entry.js +0 -1
  1324. package/dist/magma-components/p-46266f27.entry.js +0 -1
  1325. package/dist/magma-components/p-4630472f.entry.js +0 -1
  1326. package/dist/magma-components/p-4671336c.entry.js +0 -1
  1327. package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
  1328. package/dist/magma-components/p-4a929c1c.entry.js +0 -1
  1329. package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
  1330. package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
  1331. package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
  1332. package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
  1333. package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
  1334. package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
  1335. package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
  1336. package/dist/magma-components/p-5724212b.entry.js +0 -1
  1337. package/dist/magma-components/p-5be1c273.entry.js +0 -1
  1338. package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
  1339. package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
  1340. package/dist/magma-components/p-5e626696.entry.js +0 -1
  1341. package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
  1342. package/dist/magma-components/p-5fe8c814.entry.js +0 -1
  1343. package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
  1344. package/dist/magma-components/p-611fa0a4.entry.js +0 -1
  1345. package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
  1346. package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
  1347. package/dist/magma-components/p-652b4e43.entry.js +0 -1
  1348. package/dist/magma-components/p-6a92f533.entry.js +0 -1
  1349. package/dist/magma-components/p-6b3569a0.entry.js +0 -1
  1350. package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
  1351. package/dist/magma-components/p-6ecfec17.entry.js +0 -1
  1352. package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
  1353. package/dist/magma-components/p-6ee86191.entry.js +0 -1
  1354. package/dist/magma-components/p-70719b58.entry.js +0 -1
  1355. package/dist/magma-components/p-70e1a436.entry.js +0 -1
  1356. package/dist/magma-components/p-725d9e09.entry.js +0 -1
  1357. package/dist/magma-components/p-726a76f0.entry.js +0 -1
  1358. package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
  1359. package/dist/magma-components/p-73926a10.entry.js +0 -1
  1360. package/dist/magma-components/p-7499262d.system.entry.js +0 -1
  1361. package/dist/magma-components/p-750214a3.entry.js +0 -1
  1362. package/dist/magma-components/p-7590a160.entry.js +0 -1
  1363. package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
  1364. package/dist/magma-components/p-765447d4.system.entry.js +0 -1
  1365. package/dist/magma-components/p-76cb480d.entry.js +0 -1
  1366. package/dist/magma-components/p-79e12ac8.entry.js +0 -1
  1367. package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
  1368. package/dist/magma-components/p-7c464f28.entry.js +0 -1
  1369. package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
  1370. package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
  1371. package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
  1372. package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
  1373. package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
  1374. package/dist/magma-components/p-85a2d99d.entry.js +0 -1
  1375. package/dist/magma-components/p-8620f425.entry.js +0 -1
  1376. package/dist/magma-components/p-89581b08.system.entry.js +0 -1
  1377. package/dist/magma-components/p-8964a9fe.entry.js +0 -1
  1378. package/dist/magma-components/p-899cd759.entry.js +0 -1
  1379. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1380. package/dist/magma-components/p-8b2408b2.entry.js +0 -1
  1381. package/dist/magma-components/p-8b9f6896.entry.js +0 -1
  1382. package/dist/magma-components/p-8bde0c42.entry.js +0 -1
  1383. package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
  1384. package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
  1385. package/dist/magma-components/p-93538408.system.entry.js +0 -1
  1386. package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
  1387. package/dist/magma-components/p-96f7ec63.entry.js +0 -1
  1388. package/dist/magma-components/p-97144490.entry.js +0 -1
  1389. package/dist/magma-components/p-999b0698.system.entry.js +0 -1
  1390. package/dist/magma-components/p-9e533765.system.entry.js +0 -18
  1391. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1392. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1393. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1394. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1395. package/dist/magma-components/p-CAd5312P.js +0 -2
  1396. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1397. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1398. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1399. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1400. package/dist/magma-components/p-DssKRrAV.system.js +0 -1
  1401. package/dist/magma-components/p-MSUJeuJp.js +0 -1
  1402. package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
  1403. package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
  1404. package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
  1405. package/dist/magma-components/p-a2d761d6.entry.js +0 -1
  1406. package/dist/magma-components/p-a379adca.entry.js +0 -1
  1407. package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
  1408. package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
  1409. package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
  1410. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1411. package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
  1412. package/dist/magma-components/p-a6103622.entry.js +0 -1
  1413. package/dist/magma-components/p-a6b8b861.entry.js +0 -1
  1414. package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
  1415. package/dist/magma-components/p-a716833c.system.entry.js +0 -1
  1416. package/dist/magma-components/p-a877906d.system.entry.js +0 -1
  1417. package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
  1418. package/dist/magma-components/p-a92edada.entry.js +0 -1
  1419. package/dist/magma-components/p-aafec5fe.entry.js +0 -1
  1420. package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
  1421. package/dist/magma-components/p-ac2ee475.entry.js +0 -1
  1422. package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
  1423. package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
  1424. package/dist/magma-components/p-ae433eb9.entry.js +0 -1
  1425. package/dist/magma-components/p-afaef9a1.entry.js +0 -1
  1426. package/dist/magma-components/p-b257222c.system.entry.js +0 -1
  1427. package/dist/magma-components/p-b472ed3c.entry.js +0 -1
  1428. package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
  1429. package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
  1430. package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
  1431. package/dist/magma-components/p-b97edfb5.entry.js +0 -1
  1432. package/dist/magma-components/p-bc851caf.entry.js +0 -1
  1433. package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
  1434. package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
  1435. package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
  1436. package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
  1437. package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
  1438. package/dist/magma-components/p-c01c49b6.entry.js +0 -1
  1439. package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
  1440. package/dist/magma-components/p-c036f516.entry.js +0 -1
  1441. package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
  1442. package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
  1443. package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
  1444. package/dist/magma-components/p-c92a772e.entry.js +0 -1
  1445. package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
  1446. package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
  1447. package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
  1448. package/dist/magma-components/p-cd49c455.entry.js +0 -1
  1449. package/dist/magma-components/p-d0542487.entry.js +0 -1
  1450. package/dist/magma-components/p-d0dfe659.entry.js +0 -1
  1451. package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
  1452. package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
  1453. package/dist/magma-components/p-d4295773.entry.js +0 -1
  1454. package/dist/magma-components/p-d5700423.system.entry.js +0 -1
  1455. package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
  1456. package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
  1457. package/dist/magma-components/p-daa8f835.entry.js +0 -1
  1458. package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
  1459. package/dist/magma-components/p-de0dac8f.entry.js +0 -1
  1460. package/dist/magma-components/p-de8204f9.entry.js +0 -1
  1461. package/dist/magma-components/p-e0b841e3.entry.js +0 -1
  1462. package/dist/magma-components/p-e35ab355.entry.js +0 -1
  1463. package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
  1464. package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
  1465. package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
  1466. package/dist/magma-components/p-e57698df.system.entry.js +0 -1
  1467. package/dist/magma-components/p-e669739e.entry.js +0 -1
  1468. package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
  1469. package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
  1470. package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
  1471. package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
  1472. package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
  1473. package/dist/magma-components/p-ef142420.system.entry.js +0 -1
  1474. package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
  1475. package/dist/magma-components/p-f0762290.entry.js +0 -1
  1476. package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
  1477. package/dist/magma-components/p-f4b1974a.entry.js +0 -1
  1478. package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
  1479. package/dist/magma-components/p-f83a9e08.entry.js +0 -1
  1480. package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
  1481. package/dist/magma-components/p-f91dab2b.entry.js +0 -1
  1482. package/dist/magma-components/p-fMwnXhio.js +0 -1
  1483. package/dist/magma-components/p-fa61d03c.entry.js +0 -1
  1484. package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
  1485. package/dist/magma-components/p-fbfb589c.entry.js +0 -1
  1486. package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
  1487. package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
  1488. package/dist/magma-components/p-fd574e21.entry.js +0 -1
  1489. package/dist/magma-components/p-fd649ac2.entry.js +0 -1
  1490. package/dist/magma-components/p-fed36619.entry.js +0 -1
  1491. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1492. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1493. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1494. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
  1495. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1496. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1497. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1498. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1499. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1500. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1501. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1502. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1503. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1504. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1505. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1506. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1507. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1508. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1509. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1510. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1511. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1512. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1513. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1514. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1515. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1516. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1517. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1518. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1519. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1520. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1521. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1522. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1523. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1524. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1525. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1526. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1527. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1528. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1529. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1530. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1531. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1532. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1533. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1534. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1535. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1536. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1537. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1538. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1539. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1540. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1541. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1542. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1543. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1544. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1545. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1546. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1547. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1548. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1549. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
  1550. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1551. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1552. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1553. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1554. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1555. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1556. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1557. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1558. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1559. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1560. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1561. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1562. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1563. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1564. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1565. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1566. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1567. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1568. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1569. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1570. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1571. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1572. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1573. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1574. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1575. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1576. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1577. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1578. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1579. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1580. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1581. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1582. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1583. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1584. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1585. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1586. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1587. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1588. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1589. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1590. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1591. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1592. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1593. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1594. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1595. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1596. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1597. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1598. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1599. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1600. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1601. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1602. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1603. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1604. package/dist/types/test/file.d.ts +0 -35
  1605. package/dist/types/test/mock.d.ts +0 -2
  1606. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1607. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1608. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1609. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1610. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1611. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1612. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1613. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1614. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1615. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1616. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1617. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1618. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1619. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1620. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1621. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1622. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1623. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1624. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1625. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1626. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1627. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1628. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -1 +1,9 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-ttrRC6OE.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsTabBarItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-tab-bar-item-background:rgb(var(--tone-neutral-10,60 60 60));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-03,211 226 255));--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}@property --mds-tab-bar-item-background-selected{syntax:"<color>";inherits:false;initial-value:#0000}:host{--mds-tab-bar-item-background:rgb(var(--tone-neutral-10,60 60 60));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-03,211 226 255));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--tone-neutral-10,60 60 60)));color:var(--mds-tab-bar-item-color,rgb(var(--tone-neutral-04,218 218 218)));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--tone-neutral-04,218 218 218)));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;-webkit-transition-duration:var(--private-tab-bar-item-transition-duration);transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:color,background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--variant-primary-03,211 226 255)));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--variant-primary-03,211 226 255)))}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-02,230 239 255))}:host([pref-contrast=more]){--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-02,230 239 255))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-02,230 239 255))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-02,230 239 255))}}'};var MdsTabBarItem=function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabBarItemSelect");this.icon="";this.typography="tip";this.select=function(){e.isSelected=!e.isSelected;if(e.isSelected){e.selectedEvent.emit(e.element.id)}};this.onSlotChangeHandler=function(){if(e.label!==undefined&&e.label!=="")return;e.label=readSlottedLabel(e.element)}}t.prototype.componentWillLoad=function(){this.isSelected=this.selected};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(e){t.prefAnimation=e}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(e){t.prefContrast=e}));this.unsubscribePrefTheme=subscribePreference("theme",(function(e){t.prefTheme=e}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(e){t.prefThemeScheme=e}))};t.prototype.disconnectedCallback=function(){var t,e,r,a;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this)};t.prototype.validateSelected=function(t){this.isSelected=t};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.render=function(){return h(Host,{key:"cc00fc45e7c8086a20e3800a9aca2fad80c08b7e",onClick:this.select,"pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("mds-icon",{key:"7edf9ade273c6408a477b9ccefd00be8fa323501",name:this.icon}),h("mds-text",{key:"42e04f0959f32573efbe01cc294d0a7a3754423f",typography:this.typography},this.label||h("slot",{key:"a654056dce145ce9bc0236cd4381e8b89f743dc5",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:[{validateSelected:0}],label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTabBarItem.style=mdsTabBarItemCss();export{MdsTabBarItem as mds_tab_bar_item};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{r as readSlottedLabel,s as sanitizeLabel}from"./slot-C0o_l0td.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsTabBarItemCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-item-background:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-tab-bar-item-background-selected:#0000;--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204))));--mds-tab-bar-item-transition-duration:var(--duration-200,.2s);--private-tab-bar-item-transition-duration:var(--mds-tab-bar-item-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-tab-bar-item-background,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237)))));color:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));cursor:pointer;display:flex;fill:var(--mds-tab-bar-item-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));flex:1 0 0;flex-direction:column;gap:calc(var(--spacing,.0025rem)*100);padding:calc(var(--spacing,.0025rem)*200);text-align:center;-webkit-transition-duration:var(--private-tab-bar-item-transition-duration);transition-duration:var(--private-tab-bar-item-transition-duration);transition-property:color,background-color,fill;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host([selected]:not([selected=false])){background-color:var(--mds-tab-bar-item-background-selected,#0000);color:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))));fill:var(--mds-tab-bar-item-color-selected,rgb(var(--magma-accent-fg,var(--magma-tint-accent-fg,var(--variant-primary-03,7 76 204)))))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}:host([pref-contrast=more]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-tab-bar-item-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color-selected:rgb(var(--magma-accent-emphasis-active,var(--magma-tint-accent-emphasis-active,var(--variant-primary-02,0 57 163))))}}'};var MdsTabBarItem=/** @class */function(){function t(t){var e=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabBarItemSelect",7);
2
+ /**
3
+ * The icon displayed in the tab bar item.
4
+ */this.icon="";
5
+ /**
6
+ * Specifies the typography of the element
7
+ */this.typography="tip";this.select=function(){e.isSelected=!e.isSelected;if(e.isSelected){e.selectedEvent.emit(e.element.id)}};this.onSlotChangeHandler=function(){
8
+ /* this should be removed in the future once slotted text is no longer used, use the label property instead */
9
+ if(e.label!==undefined&&e.label!=="")return;e.label=readSlottedLabel(e.element)}}t.prototype.componentWillLoad=function(){this.isSelected=this.selected};t.prototype.validateSelected=function(t){this.isSelected=t};t.prototype.labelChanged=function(t){this.label=sanitizeLabel(t)};t.prototype.render=function(){return h(Host,{key:"0939e8df4c3f7e1c452bc5be3717d8871d7c1175",onClick:this.select,"pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("mds-icon",{key:"2316255b48511920535cbe9e6c07a603107c7362",name:this.icon}),h("mds-text",{key:"4f1973a0a8f280612e6924ea7c386ed1b4fc62f0",typography:this.typography},this.label||h("slot",{key:"bac800ae686b2ac8b95d0c452953b460af70c245",onSlotchange:this.onSlotChangeHandler})))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{selected:[{validateSelected:0}],label:[{labelChanged:0}]}},enumerable:false,configurable:true});return t}();MdsTabBarItem.style=mdsTabBarItemCss();export{MdsTabBarItem as mds_tab_bar_item};
@@ -1 +1 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsTabBarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--tone-neutral,0 0 0));bottom:0;-webkit-box-shadow:var(--shadow-outline-light-50);box-shadow:var(--shadow-outline-light-50);display:flex;justify-content:space-around;left:0;position:fixed;right:0;-webkit-transition-duration:var(--private-tab-bar-transition-duration);transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}}'};var MdsTabBar=function(){function t(t){var e=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabBarChange");this.queryItems=function(){return e.element.querySelectorAll("mds-tab-bar-item")}}t.prototype.componentWillLoad=function(){var t=this.queryItems();t.forEach((function(t,e){return t.id="mds-tab-bar-item-".concat(e)}))};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(e){t.prefAnimation=e}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(e){t.prefContrast=e}));this.unsubscribePrefTheme=subscribePreference("theme",(function(e){t.prefTheme=e}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(e){t.prefThemeScheme=e}))};t.prototype.disconnectedCallback=function(){var t,e,r,i;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(i=this.unsubscribePrefThemeScheme)===null||i===void 0?void 0:i.call(this)};t.prototype.changeEventHandler=function(t){var e=this;var r=this.queryItems();r.forEach((function(r,i){r.selected="mds-tab-bar-item-".concat(i)===t.detail;if(r.selected){e.changedEvent.emit({index:i})}}))};t.prototype.render=function(){return h(Host,{key:"a874af977206198e723eeb535c7378538e474a2e","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("slot",{key:"68e238b6950a366c7a18a8c03d92a34040487264"}))};Object.defineProperty(t.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return t}();MdsTabBar.style=mdsTabBarCss();export{MdsTabBar as mds_tab_bar};
1
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.js";var mdsTabBarCss=function(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-tab-bar-item:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-tab-bar-transition-duration:var(--duration-200,.2s);--private-tab-bar-transition-duration:var(--mds-tab-bar-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));bottom:0;-webkit-box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));box-shadow:var(--shadow-ring-weak-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.15));display:flex;justify-content:space-around;left:0;position:fixed;right:0;-webkit-transition-duration:var(--private-tab-bar-transition-duration);transition-duration:var(--private-tab-bar-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}:host([pref-animation=reduce]),:host([pref-animation=reduce]) *,:host([pref-animation=reduce]) :after,:host([pref-animation=reduce]) :before{transition-duration:.01ms!important}:host([pref-animation=reduce]){--private-tab-bar-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host(:not([pref-animation])) *,:host(:not([pref-animation])) :after,:host(:not([pref-animation])) :before,:host([pref-animation=system]),:host([pref-animation=system]) *,:host([pref-animation=system]) :after,:host([pref-animation=system]) :before{transition-duration:.01ms!important}:host(:not([pref-animation])),:host([pref-animation=system]){--private-tab-bar-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3))}}'};var MdsTabBar=/** @class */function(){function r(r){var t=this;registerInstance(this,r);this.changedEvent=createEvent(this,"mdsTabBarChange",7);this.queryItems=function(){return t.element.querySelectorAll("mds-tab-bar-item")}}r.prototype.componentWillLoad=function(){var r=this.queryItems();r.forEach((function(r,t){return r.id="mds-tab-bar-item-".concat(t)}))};r.prototype.changeEventHandler=function(r){var t=this;var e=this.queryItems();e.forEach((function(e,a){e.selected="mds-tab-bar-item-".concat(a)===r.detail;if(e.selected){t.changedEvent.emit({index:a})}}))};r.prototype.render=function(){return h(Host,{key:"1b483700e0c4edc11963b74580724a6b2774b2f5","pref-animation":preferenceStore.state.animation,"pref-contrast":preferenceStore.state.contrast,"pref-mode":preferenceStore.state.mode,"pref-theme-scheme":preferenceStore.state["theme-scheme"]},h("slot",{key:"0e21381bf8d13ca5de7c7109f4f7da80b3efaf49"}))};Object.defineProperty(r.prototype,"element",{get:function(){return getElement(this)},enumerable:false,configurable:true});return r}();MdsTabBar.style=mdsTabBarCss();export{MdsTabBar as mds_tab_bar};
@@ -1 +1,26 @@
1
- import{r as registerInstance,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.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{s as subscribePreference}from"./preference-fMwnXhio.js";var mdsTabCss=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{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--tone-neutral-03,233 233 233));--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--tone-neutral-02,244 244 244));--mds-tab-item-radius:var(--radius-lg,16px);--mds-tab-item-selected-background:rgb(var(--tone-neutral,0 0 0));--mds-tab-item-selected-color:rgb(var(--tone-neutral-01,255 255 255));--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(--tone-neutral-02,244 244 244) 30%);--mds-tab-scroll-scrollbar-track-background:rgb(var(--tone-neutral-06,158 158 158) 30%);--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--tone-neutral-09,76 76 76));--mds-tab-tabs-gap:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-overflow-shadow-size:calc(var(--spacing,.0025rem)*600);--mds-tab-tabs-padding:calc(var(--spacing,.0025rem)*200);--mds-tab-tabs-radius:var(--radius-2xl,24px);--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(--tone-neutral-09,76 76 76)));--mds-tab-transition-duration:.5s}}}: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}@property --mds-tab-direction-vertical-columns{syntax:"<length>+|auto+";inherits:false;initial-value:auto auto}@property --mds-tab-item-default-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-tab-item-hover-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-tab-scroll-scrollbar-margin{syntax:"<length>";inherits:false;initial-value:0}@property --mds-tab-scroll-scrollbar-radius{syntax:"<length>";inherits:false;initial-value:0}@property --mds-tab-slide-delay{syntax:"<time>";inherits:false;initial-value:.125s}@property --mds-tab-tabs-wrapper-margin{syntax:"<length>";inherits:false;initial-value:0}@property --mds-tab-tabs-wrapper-outline-opacity{syntax:"<number>";inherits:false;initial-value:.7}@property --mds-tab-transition-duration{syntax:"<time>";inherits:false;initial-value:.5s}:host{--mds-tab-direction-vertical-columns:auto auto;--mds-tab-item-default-background:#0000;--mds-tab-item-default-color:rgb(var(--tone-neutral-03,233 233 233));--mds-tab-item-default-shadow:#0000;--mds-tab-item-hover-background:#0000;--mds-tab-item-hover-color:rgb(var(--tone-neutral-02,244 244 244));--mds-tab-item-hover-shadow:#0000;--mds-tab-item-radius:calc(var(--mds-tab-tabs-radius,var(--radius-2xl,24px)) - var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)));--mds-tab-item-selected-background:rgb(var(--tone-neutral,0 0 0));--mds-tab-item-selected-color:rgb(var(--tone-neutral-01,255 255 255));--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(--tone-neutral-02,244 244 244) 30%);--mds-tab-scroll-scrollbar-track-background:rgb(var(--tone-neutral-06,158 158 158) 30%);--mds-tab-slide-delay:.125s;--mds-tab-tabs-background:rgb(var(--tone-neutral-09,76 76 76));--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(--radius-2xl,24px);--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(--tone-neutral-09,76 76 76)));--mds-tab-tabs-wrapper-shadow:0 0 0 2px var(--mds-tab-tabs-wrapper-shadow-color,var(--mds-tab-tabs-background,rgb(var(--tone-neutral-09,76 76 76)))) 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,round);border-radius:var(--mds-tab-tabs-radius,var(--radius-2xl,24px));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}@container style(--mds-tab-corner-shape:round){:host{--mds-tab-item-radius:calc(var(--mds-tab-tabs-radius,var(--radius-2xl,24px)) - calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2))}}@container style(--mds-tab-corner-shape:squircle){:host{--mds-tab-item-radius:calc(var(--mds-tab-tabs-radius,var(--radius-2xl,24px)) - calc(var(--mds-tab-tabs-padding,calc(var(--spacing,.0025rem) * 200)) * 2))}}: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(--tone-neutral-09,76 76 76)));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(--radius-2xl,24px));-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,#0000);border-radius:var(--mds-tab-item-radius,var(--radius-lg,16px));-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(--tone-neutral-06,158 158 158) 30%));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(--tone-neutral-02,244 244 244) 30%));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(--tone-neutral-02,244 244 244) 30%)) var(--mds-tab-scroll-scrollbar-track-background,rgb(var(--tone-neutral-06,158 158 158) 30%));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(--tone-neutral-09,76 76 76)));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-theme=dark]:not([pref-theme-scheme=light])){--mds-tab-tabs-background:rgb(var(--tone-neutral-10,60 60 60));--mds-tab-item-selected-background:rgb(var(--tone-neutral-08,107 107 107))}:host([pref-contrast=more]){--mds-tab-item-selected-shadow:var(--shadow-outline-50);--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,var(--mds-tab-tabs-background,rgb(var(--tone-neutral-09,76 76 76)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--tone-neutral-07,134 134 134));--mds-tab-tabs-wrapper-outline-opacity:30%}: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([pref-animation=system]){--private-tab-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-tab-tabs-background:rgb(var(--tone-neutral-10,60 60 60));--mds-tab-item-selected-background:rgb(var(--tone-neutral-08,107 107 107))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-shadow:var(--shadow-outline-50);--mds-tab-tabs-wrapper-shadow:0 0 0 calc(var(--spacing,.0025rem)*50) var(--mds-tab-tabs-wrapper-shadow-color,var(--mds-tab-tabs-background,rgb(var(--tone-neutral-09,76 76 76)))) inset;--mds-tab-tabs-wrapper-shadow-color:rgb(var(--tone-neutral-07,134 134 134));--mds-tab-tabs-wrapper-outline-opacity:30%}}'};var MdsTab=function(){function t(t){var a=this;registerInstance(this,t);this.changedEvent=createEvent(this,"mdsTabChange");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;this.direction="horizontal";this.animation="slide";this.queryContentItems=function(){return Array.from(a.element.querySelectorAll(":scope > [slot=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.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(a){t.prefAnimation=a}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(a){t.prefContrast=a}));this.unsubscribePrefTheme=subscribePreference("theme",(function(a){t.prefTheme=a}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(a){t.prefThemeScheme=a}))};t.prototype.disconnectedCallback=function(){var t,a,r,e;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(a=this.unsubscribePrefContrast)===null||a===void 0?void 0:a.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(e=this.unsubscribePrefThemeScheme)===null||e===void 0?void 0:e.call(this);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");(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;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;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:"a7d4f2735044826402658813ebc7585c46b741e3","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("div",{key:"8512e5e3b39460dd59135ab1e50aa2c09a736d52",class:clsx("tabs-wrapper",this.fill&&"tabs-wrapper--fill")},this.overflow&&h("div",{key:"b8893131b4210f5a0e8c76c2b2d8cc30cff2a3f1",class:clsx("tabs-wrapper-overflow-left",this.overflowLeft&&"tabs-wrapper-overflow-left--show")}),this.overflow&&h("div",{key:"2ae8c9e969d7f8c249da45e1a64f6fd1a4eacc99",class:clsx("tabs-wrapper-overflow-right",this.overflowRight&&"tabs-wrapper-overflow-right--show")}),h("div",{key:"4b7fb2d877a2cefd3e307b98e149f2e006b1eaef",class:"tabs",part:"tabs",role:"tablist"},h("slot",{key:"d67188da78030dd43bf49a163f5f17e80c0f7562"}),this.animation==="slide"&&h("div",{key:"cae0574ed230042efc63cebc4770b48591906f3c",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:"b3a78639ddd17afc2c4b1941ef286a4d9ee2a75d",class:"contents",part:"contents"},h("slot",{key:"2844967e10dc15cddaceb52bd12865922cc87915",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;@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{--mds-tab-item-hover-background:#0000;--mds-tab-item-selected-background:#0000;--mds-tab-item-default-background:#0000;--mds-tab-item-corner-shape:round}}}: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}@property --mds-tab-item-hover-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-tab-item-selected-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-tab-item-default-background{syntax:"<color>";inherits:false;initial-value:#0000}@property --mds-tab-item-corner-shape{syntax:"bevel|notch|round|scoop|square|squircle";inherits:false;initial-value:round}:host{--mds-tab-item-selected-shadow:inherit;--mds-tab-item-radius:inherit;corner-shape:var(--magma-corner-shape,round);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,#0000);--mds-button-color:var(--mds-tab-item-default-color,rgb(var(--tone-neutral-03,233 233 233)));--mds-button-radius:var(--mds-tab-item-radius,var(--radius-lg,16px));--mds-button-border-default-opacity:0;--mds-button-corner-shape:var(--mds-tab-item-corner-shape,round);aspect-ratio:auto;flex-grow:1}.button:hover{--mds-button-background:var(--mds-tab-item-hover-background,#0000);--mds-button-color:var(--mds-tab-item-hover-color,rgb(var(--tone-neutral-02,244 244 244)))}.button.selected,.button.selected:hover{--mds-button-background:var(--mds-tab-item-selected-background,#0000);--mds-button-color:var(--mds-tab-item-selected-color,rgb(var(--tone-neutral-01,255 255 255)));-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(--tone-neutral-01,255 255 255));--mds-tab-item-selected-shadow:var(--shadow-outline-strong-50)}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-item-selected-color:rgb(var(--tone-neutral-01,255 255 255));--mds-tab-item-selected-shadow:var(--shadow-outline-strong-50)}}'};var MdsTabItem=function(){function t(t){var a=this;registerInstance(this,t);this.selectedEvent=createEvent(this,"mdsTabItemSelect");this.focusedEvent=createEvent(this,"mdsTabItemFocus");this.iconPosition="left";this.type="submit";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.connectedCallback=function(){var t=this;this.unsubscribePrefContrast=subscribePreference("contrast",(function(a){t.prefContrast=a}));this.unsubscribePrefTheme=subscribePreference("theme",(function(a){t.prefTheme=a}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(a){t.prefThemeScheme=a}))};t.prototype.disconnectedCallback=function(){var t,a,r;(t=this.unsubscribePrefContrast)===null||t===void 0?void 0:t.call(this);(a=this.unsubscribePrefTheme)===null||a===void 0?void 0:a.call(this);(r=this.unsubscribePrefThemeScheme)===null||r===void 0?void 0:r.call(this)};t.prototype.componentWillLoad=function(){this.hasText=this.element.innerHTML!==""};t.prototype.render=function(){var t;return h(Host,{key:"cd997257998ba3d36571cb506fc91932ed7f32ba","pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("mds-button",{key:"cfe5fcf557eae0841c7ba6d2f3b51fef659e0af3",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",label:this.label,size:this.size,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
+ import{r as registerInstance,d as createEvent,h,e as Host,g as getElement}from"./index-DIiEV39g.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-CKerJx2M.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;
2
+ /**
3
+ * Sets if the component distributes item vertically or horzontally
4
+ */this.direction="horizontal";
5
+ /**
6
+ * 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
+ // attach onSlotChange event here to prevent fire event before componentDidLoad
9
+ (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
+ // since the external developer can define a custom id
11
+ // we must find the key from event.detail
12
+ 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
+ // for some reason, mds-tab-item looses focus when we click Enter with the keyboard,
14
+ // 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);
16
+ /**
17
+ * Specifies the horizontal position of the icon displayed in the tab item
18
+ */this.iconPosition="left";
19
+ /**
20
+ * The type of the tab item element
21
+ */this.type="submit";
22
+ /**
23
+ * 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,
25
+ // the tab is the inner button: an icon-only item takes its accessible name from the host title
26
+ 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,H as Host}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.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{--mds-table-body-background-hover:var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60)));--mds-table-body-background:var(--mds-table-background,rgb(var(--tone-neutral,0 0 0)));--mds-table-body-background-alt:var(--mds-table-body-background-hover,var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60))));--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--tone-neutral-05,197 197 197)));--mds-table-body-color:var(--mds-table-color,rgb(var(--tone-neutral-02,244 244 244)));--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(--tone-neutral-10,60 60 60)));--mds-table-body-background:var(--mds-table-background,rgb(var(--tone-neutral,0 0 0)));--mds-table-body-background-alt:var(--mds-table-body-background-hover,var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60))));--mds-table-body-color-alt:var(--mds-table-color-alt,rgb(var(--tone-neutral-05,197 197 197)));--mds-table-body-color:var(--mds-table-color,rgb(var(--tone-neutral-02,244 244 244)));--mds-table-row-color:var(--mds-table-body-color,var(--mds-table-color,rgb(var(--tone-neutral-02,244 244 244))));--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,var(--mds-table-background,rgb(var(--tone-neutral,0 0 0))));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,var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60))));--mds-table-row-color:var(--mds-table-body-color-alt,var(--mds-table-color-alt,rgb(var(--tone-neutral-05,197 197 197))))}:host([selection]){--mds-table-body-background:var(--mds-table-body-background-alt,var(--mds-table-body-background-hover,var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60)))))}: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([pref-animation=system]){--private-table-body-transition-duration:0s}}'};var MdsTableBody=function(){function r(r){registerInstance(this,r)}r.prototype.connectedCallback=function(){var r=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(a){r.prefAnimation=a}))};r.prototype.disconnectedCallback=function(){var r;(r=this.unsubscribePrefAnimation)===null||r===void 0?void 0:r.call(this)};r.prototype.render=function(){return h(Host,{key:"2747df441238bcad421a7d83829fd37601ed845e",role:"rowgroup","pref-animation":this.prefAnimation},h("slot",{key:"8796134d65fa121fe9d36e3ee404f73c85ad94e7"}))};return r}();MdsTableBody.style=mdsTableBodyCss();export{MdsTableBody as mds_table_body};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.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 +1 @@
1
- import{r as registerInstance,h,H as Host}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.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]){--private-table-footer-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-footer-transition-duration:0s}}'};var MdsTableFooter=function(){function t(t){registerInstance(this,t)}t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(e){t.prefAnimation=e}))};t.prototype.disconnectedCallback=function(){var t;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this)};t.prototype.render=function(){return h(Host,{key:"3a5ce1c2dcb5748a7fd552a3abb7fb2adb1030a7",role:"row","pref-animation":this.prefAnimation},h("slot",{key:"c08a5999b5676f7810c5cb4b4fc3e3ab62b0df7f"}))};return t}();MdsTableFooter.style=mdsTableFooterCss();export{MdsTableFooter as mds_table_footer};
1
+ import{r as registerInstance,h,e as Host}from"./index-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.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 +1,4 @@
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,H as Host,g as getElement}from"./index-CAd5312P.js";import{s as subscribePreference}from"./preference-fMwnXhio.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,rgb(var(--tone-neutral,0 0 0)));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,calc(var(--spacing,.0025rem)*400));-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,rgb(var(--tone-neutral-10,60 60 60)))}.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]){--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([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=function(){function e(e){var t=this;registerInstance(this,e);this.isAscending=true;this.currentDirection=Sort.NONE;this.index=0;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!==undefined&&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.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(t){e.prefAnimation=t}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this)};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:"c579b2b835dfa7c4d0fff43ffca5ab8bdcf053c1",role:"columnheader","aria-sort":this.direction,"pref-animation":this.prefAnimation},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"},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
+ 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-DIiEV39g.js";import{p as preferenceStore}from"./preference-CKerJx2M.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
+ /**
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!==undefined&&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:"aa269488717b726ffd93efcc6d863e4b9474bbe8",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 +1,14 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,i,s){function a(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,n){function o(e){try{l(s.next(e))}catch(e){n(e)}}function r(e){try{l(s["throw"](e))}catch(e){n(e)}}function l(e){e.done?i(e.value):a(e.value).then(o,r)}l((s=s.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},s,a,n,o=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return o.next=r(0),o["throw"]=r(1),o["return"]=r(2),typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function r(e){return function(t){return l([e,t])}}function l(r){if(s)throw new TypeError("Generator is already executing.");while(o&&(o=0,r[0]&&(i=0)),i)try{if(s=1,a&&(n=r[0]&2?a["return"]:r[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,r[1])).done)return n;if(a=0,n)r=[r[0]&2,n.value];switch(r[0]){case 0:case 1:n=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;a=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(n=i.trys,n=n.length>0&&n[n.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!n||r[1]>n[0]&&r[1]<n[3])){i.label=r[1];break}if(r[0]===6&&i.label<n[1]){i.label=n[1];n=r;break}if(n&&i.label<n[2]){i.label=n[2];i.ops.push(r);break}if(n[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];a=0}finally{s=n=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};import{r as registerInstance,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{s as subscribePreference}from"./preference-fMwnXhio.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]){--private-table-header-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-header-transition-duration:0s}}'};var MdsTableHeader=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 i;if(t.indeterminate){t.selectAll=true}else{t.selectAll=(i=e.detail.checked)!==null&&i!==void 0?i:false}t.indeterminate=false;t.table.selectAll(t.selectAll)}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};e.prototype.setSelection=function(e,t){return __awaiter(this,void 0,void 0,(function(){var i;return __generator(this,(function(s){this.indeterminate=e!==0&&e!==t;if(this.indeterminate){if(this.checkboxEl==null){this.checkboxEl=(i=this.host.shadowRoot)===null||i===void 0?void 0:i.querySelector(".checkbox")}}this.checkboxEl.checked=e===t;return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(t){e.prefAnimation=t}))};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this)};e.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.table=this.host.closest("mds-table");this.hasActions=this.table.querySelector('mds-table-row > [slot="action"]')!==null};e.prototype.render=function(){return h(Host,{key:"06529aa3e118513b377d2998802498c261761c50",role:"row","pref-animation":this.prefAnimation},this.selectable&&h("mds-table-cell",{key:"e6a90c762c4a8f0fc9ac992eda086ece6668b4c9",class:"selection",role:"columnheader"},h("div",{key:"28834ccb255c9f54553e6fc626d85cf9c071094a",class:"checkbox-wrapper"},h("mds-input-switch",{key:"43ee2e5a02cb71e3c268860d6d3ee04918e32401",class:"checkbox",title:this.t.get(this.selectAll?"selectNoneRows":"selectAllRows"),lang:this.language,type:"checkbox",onMdsInputSwitchChange:this.handleSelectAllChange,indeterminate:this.indeterminate}))),h("slot",{key:"4927fa2a425e609494d5eb357c9d31408c4cdfc5"}),this.hasActions&&h("mds-table-header-cell",{key:"1e56bda8d1e791be85d76995387561b6a77cc6b0",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
+ 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-DIiEV39g.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{p as preferenceStore}from"./preference-CKerJx2M.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)}}
2
+ /**
3
+ * Updates the header's select-all state from the number of selected rows.
4
+ * @param selectedItems the number of currently selected rows
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;
7
+ // the reference used to be looked up only on the indeterminate branch, so the first
8
+ // call that was NOT indeterminate - select all, or unselect the last row - threw on an
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*/]}
11
+ // totalItems 0 would otherwise read as "all of them are selected"
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
+ // 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};
@@ -1 +1,8 @@
1
- var __awaiter=this&&this.__awaiter||function(e,t,a,r){function o(e){return e instanceof a?e:new a((function(t){t(e)}))}return new(a||(a=Promise))((function(a,n){function i(e){try{c(r.next(e))}catch(e){n(e)}}function s(e){try{c(r["throw"](e))}catch(e){n(e)}}function c(e){e.done?a(e.value):o(e.value).then(i,s)}c((r=r.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:[]},r,o,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return c([e,t])}}function c(s){if(r)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(a=0)),a)try{if(r=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=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++;o=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];o=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,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{s as subscribePreference}from"./preference-fMwnXhio.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{--mds-table-row-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-row-color-alt:rgb(var(--tone-neutral-02,244 244 244));--mds-table-row-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-table-row-background-alt:rgb(var(--tone-neutral,0 0 0));--mds-table-row-actions-gap:calc(var(--spacing,.0025rem)*400);--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(--tone-neutral-02,244 244 244)));--mds-table-row-color-alt:var(--mds-table-color-alt,rgb(var(--tone-neutral-02,244 244 244)));--mds-table-row-background-hover:var(--mds-table-background,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-background-alt:var(--mds-table-background-alt,rgb(var(--tone-neutral,0 0 0)));--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(--tone-neutral,0 0 0)));--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}:host([selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}:host([sorted]){--mds-table-row-background:var(--mds-table-row-background-alt,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-alt,rgb(var(--tone-neutral-02,244 244 244)))}:host([sorted][selected]){--mds-table-row-background:var(--mds-table-row-background-hover,rgb(var(--tone-neutral,0 0 0)));--mds-table-row-color:var(--mds-table-row-color-hover,rgb(var(--tone-neutral-02,244 244 244)))}.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,2px)*2);border-top-left-radius:calc(var(--radius-lg,16px) + var(--mds-table-border-width,2px)*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,2px)*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,calc(var(--spacing,.0025rem)*400));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(--tone-neutral,0 0 0)))}:host([selection]:not([interactive]):not([selected]):hover) .actions{--mds-table-row-actions-background:var(--mds-table-row-background-alt,rgb(var(--tone-neutral,0 0 0)))}.actions-cell--disable,.actions-cell--disable .actions{position:static!important}.actions-cell--disable .actions{margin-right:0!important;transform:translate(0)!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([pref-animation=system]){--private-table-row-transition-duration:0s}}'};var MdsTableRow=function(){function e(e){var t=this;registerInstance(this,e);this.hasActions=true;this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.selectable=undefined;this.handleSelectionChange=function(e){var a;t.selected=e.detail.checked;(a=t.host.closest("mds-table"))===null||a===void 0?void 0:a.updateSelection()}}e.prototype.updateLang=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.language=this.t.lang(this.host);this.t.update();return[2]}))}))};e.prototype.connectedCallback=function(){var e=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(t){e.prefAnimation=t}))};e.prototype.componentWillLoad=function(){this.language=this.t.lang(this.host);this.hasActions=this.host.querySelector(':scope > [slot="action"]')!==null};e.prototype.componentDidLoad=function(){if(this.hasActions)this.initObserver()};e.prototype.initObserver=function(){var e=this;this.observer=new ResizeObserver((function(t){e.sizerWidth="".concat(t[0].borderBoxSize[0].inlineSize.toString(),"px")}));this.observer.observe(this.actions)};e.prototype.disconnectedCallback=function(){var e;(e=this.unsubscribePrefAnimation)===null||e===void 0?void 0:e.call(this);if(this.observer)this.observer.disconnect()};e.prototype.render=function(){var e=this;return h(Host,{key:"86bc97a2f6d1335bc792d15d857c001fc4a3110f",role:"row","pref-animation":this.prefAnimation},this.selectable&&h("mds-table-cell",{key:"a92574ce351c4779c2e5335f81e7965fdb9bdbad",class:"selection-cell"},h("div",{key:"5ebfe21be4854c967498e554a2da9f38e91c33c8",class:"checkbox-wrapper"},h("mds-input-switch",{key:"1bd177a4922b0bdd3501b07ffe9012f424b56e8c",title:this.t.get(this.selected?"unselectRow":"selectRow"),lang:this.language,type:"checkbox",checked:this.selected,onMdsInputSwitchChange:this.handleSelectionChange}))),h("slot",{key:"6bc38542f3588754cd23d73e36872393a6f50b12"}),this.hasActions&&isSafari()&&h("mds-table-cell",{key:"4ac2f11075ecb26f0e88489a3bc702fc760ced8c",class:"actions-cell actions-cell--disable"},h("div",{key:"4faadef9e03a6a811efea4eb1f27cda8f64a4352",class:"actions"},h("slot",{key:"398f2fbce1fb64bd757a69d3099a13ee7f67b9af",name:"action"}))),this.hasActions&&!isSafari()&&h("mds-table-cell",{key:"46098974730dfa191c4cc9d0bd98e65fd4ee2693",class:"actions-cell"},h("div",{key:"fd7f848689421936803b1b1b91fa6ff89f9a8f33",class:"actions-sizer",style:{minHeight:"1px",maxWidth:this.sizerWidth,minWidth:this.sizerWidth}}),h("div",{key:"3aad1e774b7204674baadc1a8a34d500b47fe301",class:"actions-view"},h("div",{key:"04c70da921a5453703a162135f702c8d0003181d",class:"actions",ref:function(t){return e.actions=t},style:{marginRight:"calc(".concat(this.sizerWidth," + var(--mds-table-cell-padding))")}},h("slot",{key:"9567f90a09bfab25b54f2d9f0f610c9dc918dcbe",name:"action"})))))};Object.defineProperty(e.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});return e}();MdsTableRow.style=mdsTableRowCss();export{MdsTableRow as mds_table_row};
1
+ import{r as registerInstance,h,e as Host,g as getElement}from"./index-DIiEV39g.js";import{h as hasChildWithSlot}from"./slot-C0o_l0td.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{i as isSafari}from"./browser-Dje8Mggf.js";import{p as preferenceStore}from"./preference-CKerJx2M.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
+ /**
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(){
5
+ // 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;
7
+ // 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};
@@ -1 +1,15 @@
1
- var __awaiter=this&&this.__awaiter||function(t,e,r,a){function o(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,n){function i(t){try{c(a.next(t))}catch(t){n(t)}}function s(t){try{c(a["throw"](t))}catch(t){n(t)}}function c(t){t.done?r(t.value):o(t.value).then(i,s)}c((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,o,n,i=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return i.next=s(0),i["throw"]=s(1),i["return"]=s(2),typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return c([t,e])}}function c(s){if(a)throw new TypeError("Generator is already executing.");while(i&&(i=0,s[0]&&(r=0)),r)try{if(a=1,o&&(n=s[0]&2?o["return"]:s[0]?o["throw"]||((n=o["return"])&&n.call(o),0):o.next)&&!(n=n.call(o,s[1])).done)return n;if(o=0,n)s=[s[0]&2,n.value];switch(s[0]){case 0:case 1:n=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;o=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(n=r.trys,n=n.length>0&&n[n.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!n||s[1]>n[0]&&s[1]<n[3])){r.label=s[1];break}if(s[0]===6&&r.label<n[1]){r.label=n[1];n=s;break}if(n&&r.label<n[2]){r.label=n[2];r.ops.push(s);break}if(n[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(t){s=[6,t];o=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,c as createEvent,h,H as Host,g as getElement}from"./index-CAd5312P.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-a4oAcjYG.js";import{s as subscribePreference}from"./preference-fMwnXhio.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{--mds-table-actions-gap:calc(var(--spacing,.0025rem)*200);--mds-table-background-alt:rgb(var(--tone-neutral-10,60 60 60));--mds-table-background:rgb(var(--tone-neutral,0 0 0));--mds-table-border-color:rgb(var(--tone-neutral-08,107 107 107));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--tone-neutral-05,197 197 197));--mds-table-color:rgb(var(--tone-neutral-02,244 244 244));--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}@property --mds-table-border-width{syntax:"<length>";inherits:false;initial-value:2px}: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(--tone-neutral-10,60 60 60));--mds-table-background:rgb(var(--tone-neutral,0 0 0));--mds-table-border-color:rgb(var(--tone-neutral-08,107 107 107));--mds-table-border-width:2px;--mds-table-cell-padding:calc(var(--spacing,.0025rem)*400);--mds-table-color-alt:rgb(var(--tone-neutral-05,197 197 197));--mds-table-color:rgb(var(--tone-neutral-02,244 244 244));--mds-table-batch-actions-width:calc(var(--spacing,.0025rem)*4800);--private-cell-border-color:var(--mds-table-border-color,rgb(var(--tone-neutral-08,107 107 107)));--private-cell-border-width:var(--mds-table-border-width,2px);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60)));border-color:var(--mds-table-border-color,rgb(var(--tone-neutral-08,107 107 107)));border-radius:var(--radius-2xl,24px);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,round);border:var(--mds-table-border-width,2px) solid var(--mds-table-border-color,rgb(var(--tone-neutral-08,107 107 107)))!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,rgb(var(--tone-neutral,0 0 0)));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,rgb(var(--tone-neutral,0 0 0)));border-left:var(--mds-table-border-width,2px) solid var(--mds-table-border-color,rgb(var(--tone-neutral-08,107 107 107)));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,calc(var(--spacing,.0025rem) * 400)) / 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,var(--mds-table-background-alt,rgb(var(--tone-neutral-10,60 60 60))))}:host([pref-animation=reduce]){--private-table-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--tone-neutral-08,107 107 107));--mds-table-body-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-table-border-color:rgb(var(--tone-neutral-07,134 134 134));--mds-table-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-contrast=more]){--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-02,230 239 255))}:host([pref-contrast=more][pref-theme=dark]){--mds-table-background:rgb(var(--tone-neutral-08,107 107 107));--mds-table-body-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-table-border-color:rgb(var(--tone-neutral-05,197 197 197));--mds-table-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-color:rgb(var(--tone-neutral-01,255 255 255))}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-table-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-table-background:rgb(var(--tone-neutral-08,107 107 107));--mds-table-body-background-hover:rgb(var(--tone-neutral-10,60 60 60));--mds-table-border-color:rgb(var(--tone-neutral-07,134 134 134));--mds-table-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-color:rgb(var(--tone-neutral-03,233 233 233))}:host([pref-contrast=more][pref-theme=system]){--mds-table-background:rgb(var(--tone-neutral-08,107 107 107));--mds-table-body-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-table-border-color:rgb(var(--tone-neutral-05,197 197 197));--mds-table-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-color:rgb(var(--tone-neutral-01,255 255 255))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){--mds-tab-bar-item-color:rgb(var(--tone-neutral-04,218 218 218));--mds-tab-bar-item-color-selected:rgb(var(--variant-primary-02,230 239 255))}:host([pref-contrast=system][pref-theme=dark]){--mds-table-background:rgb(var(--tone-neutral-08,107 107 107));--mds-table-body-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-table-border-color:rgb(var(--tone-neutral-05,197 197 197));--mds-table-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-color:rgb(var(--tone-neutral-01,255 255 255))}}@media (prefers-contrast:more) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-theme=system]){--mds-table-background:rgb(var(--tone-neutral-08,107 107 107));--mds-table-body-background-hover:rgb(var(--tone-neutral,0 0 0));--mds-table-border-color:rgb(var(--tone-neutral-05,197 197 197));--mds-table-color-hover:rgb(var(--tone-neutral-02,244 244 244));--mds-table-color:rgb(var(--tone-neutral-01,255 255 255))}}'};var MdsTable=function(){function t(t){var e=this;registerInstance(this,t);this.selectionEvent=createEvent(this,"mdsTableSelectionChange");this.hasBatchActions=false;this.cellsWidth=0;this.selectedRows=[];this.t=new Locale({el:localeEl,en:localeEn,es:localeEs,it:localeIt});this.updateInteractive=function(){e.body.interactive=e.interactive;e.rows.forEach((function(t){t.interactive=e.interactive}))};this.updateCellsSize=function(){var t;var r=e.rows[0].querySelectorAll("mds-table-cell");var a=(t=e.rows[0].shadowRoot)===null||t===void 0?void 0:t.querySelector(".selection-cell");e.cellsWidth=a!=null?a.offsetWidth:0;r.forEach((function(t){e.cellsWidth+=t.offsetWidth}))};this.hasActions=function(){e.updateCellsSize();return e.host.querySelector('mds-table-row > [slot="action"]')!==null};this.handleSelection=function(){e.rows.forEach((function(t){t.selectable=e.selectable}))};this.handleActions=function(){e.updateCellsSize();var t=e.scrollWrapper.offsetWidth+e.scrollWrapper.scrollLeft<e.cellsWidth;e.rows.forEach((function(e){e.overlayActions=t}))};this.updateSlottedElements=function(){e.rows=e.host.querySelectorAll("mds-table-row");e.updateInteractive();e.handleSelection()}}t.prototype.onTableInteractive=function(){this.updateInteractive()};t.prototype.onTableSelectable=function(t){this.handleSelection();this.header.selectable=t};t.prototype.updateSelection=function(){return __awaiter(this,void 0,void 0,(function(){var t=this;return __generator(this,(function(e){if(!this.selectable){return[2]}this.selectedRows=[];this.rows.forEach((function(e,r){if(e.selected){t.selectedRows.push({index:r,value:e.value})}}));this.selectionEvent.emit({rows:this.selectedRows});this.header.setSelection(this.selectedRows.length,this.rows.length);this.selection=this.selectedRows.length>0;this.body.selection=this.selection;this.rows.forEach((function(e){e.selection=t.selection}));return[2]}))}))};t.prototype.selectAll=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(e){if(!this.selectable){return[2]}this.rows.forEach((function(e){e.selected=t}));this.updateSelection();return[2]}))}))};t.prototype.componentWillLoad=function(){var t=this;this.language=this.t.lang(this.host);this.body=this.host.querySelector("mds-table-body");this.header=this.host.querySelector("mds-table-header");this.rows=this.host.querySelectorAll("mds-table-row");this.hasBatchActions=this.host.querySelector(':scope > [slot="batch-action"]')!==null;this.tableBodyObserver=new MutationObserver((function(){t.updateSlottedElements()}));this.tableBodyObserver.observe(this.body,{childList:true})};t.prototype.componentDidLoad=function(){var t;this.header.selectable=this.selectable;if(this.hasActions()){var e=(t=this.host.shadowRoot)===null||t===void 0?void 0:t.querySelector(".table-wrapper");if(!e){throw new Error("Table element table-wrapper not found")}this.scrollWrapper=e;this.scrollWrapper.addEventListener("scroll",this.handleActions);this.resizeObserver=new ResizeObserver(this.handleActions);this.resizeObserver.observe(this.host);this.handleActions()}};t.prototype.connectedCallback=function(){var t=this;this.unsubscribePrefAnimation=subscribePreference("animation",(function(e){t.prefAnimation=e}));this.unsubscribePrefContrast=subscribePreference("contrast",(function(e){t.prefContrast=e}));this.unsubscribePrefTheme=subscribePreference("theme",(function(e){t.prefTheme=e}));this.unsubscribePrefThemeScheme=subscribePreference("theme-scheme",(function(e){t.prefThemeScheme=e}))};t.prototype.disconnectedCallback=function(){var t,e,r,a,o;(t=this.unsubscribePrefAnimation)===null||t===void 0?void 0:t.call(this);(e=this.unsubscribePrefContrast)===null||e===void 0?void 0:e.call(this);(r=this.unsubscribePrefTheme)===null||r===void 0?void 0:r.call(this);(a=this.unsubscribePrefThemeScheme)===null||a===void 0?void 0:a.call(this);this.host.removeEventListener("scroll",this.handleActions);(o=this.resizeObserver)===null||o===void 0?void 0:o.disconnect();this.tableBodyObserver.disconnect()};t.prototype.render=function(){return h(Host,{key:"e7c77e9d01cf6b4efe638161ec811b1333b298ed","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},h("div",{key:"65df091f6d13a48f5ff8d6c1af82c3b6bea7d5ef",class:"table-wrapper",part:"table-wrapper"},h("table",{key:"0d29aef521d40d8aa6063f985f73da1e8c5fb8ea",class:clsx("table",this.interactive&&"table--interactive"),role:"table",part:"table"},h("slot",{key:"7927888cab77d8b2bbd5bfaa39dd44d670e16e2c",onSlotchange:this.updateSlottedElements}))),this.selectable&&this.hasBatchActions&&h("div",{key:"c97383c8124e11f0c9b339f31048d8497b18870c",class:clsx("batch-actions-wrapper",this.selectedRows.length>0?"batch-actions-wrapper--has-selected-rows":""),part:"batch-actions-wrapper"},h("div",{key:"9a626e46b1d7f75241e7020623e081c9c445e3fa",class:"batch-actions",part:"batch-actions"},h("div",{key:"b142358ed944bc66c9b6b81920c92997b432b8b3",class:"batch-actions-header"},h("mds-text",{key:"08b360e1ec653882e1fc982955e2a4708c8d964d",class:"batch-actions-label",typography:"label"},this.t.get("batchActions")),h("mds-badge",{key:"7fadd5fc8395d8dfc35a31f93b7ee7de179e53c1",variant:"dark",tone:"outline",typography:"label"},this.selectedRows.length)),h("slot",{key:"3e7b51e4082b2b1c0d1001c512954bd147194289",name:"batch-action"}))))};Object.defineProperty(t.prototype,"host",{get:function(){return getElement(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{interactive:[{onTableInteractive:0}],selectable:[{onTableSelectable:0}]}},enumerable:false,configurable:true});return t}();MdsTable.style=mdsTableCss();export{MdsTable as mds_table};
1
+ 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-DIiEV39g.js";import{c as clsx}from"./clsx-ChV9xqsO.js";import{L as Locale}from"./locale-CbJbTW_c.js";import{p as preferenceStore}from"./preference-CKerJx2M.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
+ // observing an already observed node just resets its options, so this is safe to
3
+ // re-run: it also attaches the observer to a body parsed after the first render
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}};
5
+ /**
6
+ * `internal` Updates the selection data event and emits it, it's used to avoid add event listener to the dom and lower performance, works only if `selectable` is true.
7
+ */t.prototype.updateSelection=function(){return __awaiter(this,void 0,void 0,(function(){var t;var a=this;return __generator(this,(function(e){if(!this.selectable||!this.rows){return[2/*return*/]}this.selectedRows=[];this.rows.forEach((function(t,e){if(t.selected){a.selectedRows.push({index:e,value:t.value})}}));this.selectionEvent.emit({rows:this.selectedRows});(t=this.header)===null||t===void 0?void 0:t.setSelection(this.selectedRows.length,this.rows.length);this.selection=this.selectedRows.length>0;if(this.body){this.body.selection=this.selection}this.rows.forEach((function(t){t.selection=a.selection}));return[2/*return*/]}))}))};
8
+ /**
9
+ * Selects all elements or none, works only if `selectable` is true.
10
+ */t.prototype.selectAll=function(){return __awaiter(this,arguments,void 0,(function(t){if(t===void 0){t=true}return __generator(this,(function(a){if(!this.selectable||!this.rows){return[2/*return*/]}this.rows.forEach((function(a){a.selected=t}));this.updateSelection();return[2/*return*/]}))}))};t.prototype.componentWillLoad=function(){var t=this;
11
+ // equivalent to `:scope > [slot="batch-action"]`, which mock-doc cannot parse in spec tests
12
+ this.hasBatchActions=Array.from(this.host.children).some((function(t){return t.getAttribute("slot")==="batch-action"}));
13
+ // MutationObserver is missing in the hydrate/SSR runtime; every use of
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};