@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 @@
1
- import{proxyCustomElement as a,HTMLElement as e,h as i,Host as t,transformTag as o}from"@stencil/core/internal/client";import{k as r}from"./keys.js";import{L as s}from"./locale.js";import{m as n}from"./broken-image.js";import{m as c}from"./keyboard-arrow-down.js";import{m as d}from"./keyboard-arrow-up.js";import{m as l}from"./keyboard-arrow-right.js";import{d as m}from"./mds-icon2.js";import{d as h}from"./mds-text2.js";var p={keyCharacter:"Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",keyFunction:"Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του",keyNumber:"Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",modAlt:"Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος",modControl:"Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις",modMeta:"Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS",modShift:"Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα",navArrowDown:"Πλήκτρο πλοήγησης Κάτω βέλος",navArrowLeft:"Πλήκτρο πλοήγησης Αριστερό βέλος",navArrowRight:"Πλήκτρο πλοήγησης Δεξί βέλος",navArrowUp:"Πλήκτρο πλοήγησης Πάνω βέλος",navEnd:"Πλήκτρο πλοήγησης Μετάβαση στο τέλος",navHome:"Πλήκτρο πλοήγησης Μετάβαση στην αρχή",navPageDown:"Πλήκτρο πλοήγησης Κύλιση προς τα κάτω",navPageUp:"Πλήκτρο πλοήγησης Κύλιση προς τα πάνω",numPadEnter:"Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας",specBackspace:"Ειδικό πλήκτρο Διαγραφή χαρακτήρα",specCapsLock:"Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)",specDelete:"Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου",specEnter:"Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας",specEscape:"Ειδικό πλήκτρο Έξοδος ή ακύρωση",specSpace:"Ειδικό πλήκτρο Διάστημα",specTab:"Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων"},g={keyCharacter:"Alphabetic character {{ character }} typically used for composing keyboard shortcuts",keyFunction:"Function key {{ character }} often used for global functions depending on the operating system and its version",keyNumber:"Numeric character {{ character }} typically used for composing keyboard shortcuts",modAlt:"Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts",modControl:"Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts",modMeta:"Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS",modShift:"Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters",navArrowDown:"Navigation key Down Arrow",navArrowLeft:"Navigation key Left Arrow",navArrowRight:"Navigation key Right Arrow",navArrowUp:"Navigation key Up Arrow",navEnd:"Navigation key Go to End",navHome:"Navigation key Go to Home",navPageDown:"Navigation key Scroll Down",navPageUp:"Navigation key Scroll Up",numPadEnter:"Keypad Enter key to confirm an action",specBackspace:"Special key Delete character",specCapsLock:"Special key Caps Lock (generally avoided in keyboard shortcuts)",specDelete:"Special key Delete selected item",specEnter:"Special key Enter to confirm an action",specEscape:"Special key Exit or cancel",specSpace:"Special key Space bar",specTab:"Special key Tab to change focus between elements"},v={keyCharacter:"Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado",keyFunction:"Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión",keyNumber:"Carácter numérico {{ character }} típicamente usado para componer atajos de teclado",modAlt:"Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema",modControl:"Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos",modMeta:"Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS",modShift:"Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas",navArrowDown:"Tecla de navegación Flecha abajo",navArrowLeft:"Tecla de navegación Flecha izquierda",navArrowRight:"Tecla de navegación Flecha derecha",navArrowUp:"Tecla de navegación Flecha arriba",navEnd:"Tecla de navegación Ir al final",navHome:"Tecla de navegación Ir al inicio",navPageDown:"Tecla de navegación Desplazar hacia abajo",navPageUp:"Tecla de navegación Desplazar hacia arriba",numPadEnter:"Tecla Enter del teclado numérico para confirmar una acción",specBackspace:"Tecla especial Borrar carácter",specCapsLock:"Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)",specDelete:"Tecla especial Eliminar elemento seleccionado",specEnter:"Tecla especial Enter para confirmar una acción",specEscape:"Tecla especial Salir o cancelar",specSpace:"Tecla especial Barra espaciadora",specTab:"Tecla especial Tab para cambiar el foco entre elementos"},y={keyCharacter:"Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",keyFunction:"Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione",keyNumber:"Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",modAlt:"Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema",modControl:"Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie",modMeta:"Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS",modShift:"Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole",navArrowDown:"Tasto navigazione Freccia giù",navArrowLeft:"Tasto navigazione Freccia sinistra",navArrowRight:"Tasto navigazione Freccia destra",navArrowUp:"Tasto navigazione Freccia su",navEnd:"Tasto navigazione Vai alla fine",navHome:"Tasto navigazione Vai all'inizio",navPageDown:"Tasto navigazione Scorri in giù",navPageUp:"Tasto navigazione Scorri in su",numPadEnter:"Tasto Invio per confermare una azione dal tastierino numerico",specBackspace:"Tasto speciale Cancella carattere",specCapsLock:"Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)",specDelete:"Tasto speciale Cancella elemento selezionato",specEnter:"Tasto speciale Invio per confermare una azione",specEscape:"Tasto speciale Esci o annulla",specSpace:"Tasto speciale Barra spaziatrice",specTab:"Tasto speciale Tab per cambiare focus tra elementi"},k='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>',u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>',b='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>',w='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>',f='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';const z=new Map;z.set("arrowdown",c),z.set("arrowleft",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>'),z.set("arrowright",l),z.set("arrowup",d),z.set("command",k),z.set("commandleft",k),z.set("commandright",k),z.set("delete",w),z.set("capslock",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>'),z.set("backspace",w),z.set("enter",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>'),z.set("home",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>'),z.set("end",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>'),z.set("option",u),z.set("optionleft",u),z.set("optionright",u),z.set("pagedown",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>'),z.set("pageup",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>'),z.set("shift",f),z.set("shiftleft",f),z.set("shiftright",f),z.set("space",'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>'),z.set("tab",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>'),z.set("windows",b),z.set("windowsleft",b),z.set("windowsright",b);const x=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new s({el:p,en:g,es:v,it:y}),this.keyboardKeys=r,this.getTitle=()=>{if(void 0!==this.name)return this.t.get(this.keyboardKeys[this.name.toLowerCase()].description,{character:this.keyboardKeys[this.name.toLowerCase()].alias,keyboardPosition:this.keyboardKeys[this.name.toLowerCase()].keyboardPosition})}}async updateLang(){this.language=this.t.lang(this.host)}componentWillLoad(){this.t.lang(this.host)}render(){var a,e,o,r;return i(t,{key:"cb83531c55004919cc5c55d48053369d7d90c659",title:this.getTitle()},i("div",{key:"e096caf23accb54d1364d9c78bc6896d02fac267",class:"physical-key"},this.name&&z.has(this.name)?i("mds-icon",{name:null!==(a=z.get(this.name))&&void 0!==a?a:n,class:"shortcut-icon"}):i("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&i("b",null,this.keyboardKeys[this.name].alias)),this.name&&(null===(e=this.keyboardKeys[this.name])||void 0===e?void 0:e.keyboardPosition)&&i("mds-text",{key:"cf5210c595b02e51e32722d9ef7ed53d21a44045",typography:"label"},(null===(o=this.keyboardKeys[this.name].keyboardPosition)||void 0===o?void 0:o.left)&&"l",(null===(r=this.keyboardKeys[this.name].keyboardPosition)||void 0===r?void 0:r.right)&&"r")))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s}}}: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-keyboard-key-transition-duration{syntax:"<time>";inherits:false;initial-value:.3s}:host{--mds-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s;--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,round);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--tone-bisque-08,121 103 97)));border-radius:var(--radius-lg,16px);-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;-webkit-transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-property:box-shadow,padding,height;-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));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.075)) inset;-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([code=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}'}},[1,"mds-keyboard-key",{name:[513],pressed:[516],language:[32],updateLang:[64]}]),T=x,L=function(){"undefined"!=typeof customElements&&["mds-keyboard-key","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-keyboard-key":customElements.get(o(a))||customElements.define(o(a),x);break;case"mds-icon":customElements.get(o(a))||m();break;case"mds-text":customElements.get(o(a))||h()}}))};export{T as MdsKeyboardKey,L as defineCustomElement}
1
+ import{p as a,H as e,h as i,c as t,t as o}from"./p-BhFTcUD0.js";import{k as r}from"./p-C4ckbXOl.js";import{L as s}from"./p-Bss3F51Q.js";import{m as n}from"./p-0FAG3rkw.js";import{m as c}from"./p-DiWN48aq.js";import{m as l}from"./p-Ccz0jCNB.js";import{m as d}from"./p-DFyAGAnn.js";import{d as m}from"./p-CatD1iUY.js";import{d as h}from"./p-B9DJLgwr.js";var p={keyCharacter:"Αλφαβητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",keyFunction:"Πλήκτρο λειτουργίας {{ character }} που χρησιμοποιείται συχνά για καθολικές λειτουργίες ανάλογα με το λειτουργικό σύστημα και την έκδοσή του",keyNumber:"Αριθμητικός χαρακτήρας {{ character }} που χρησιμοποιείται συνήθως για τη δημιουργία συντομεύσεων πληκτρολογίου",modAlt:"Πλήκτρο τροποποίησης Alt{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}} (εναλλακτικό), που χρησιμοποιείται συχνά για συντομεύσεις συστήματος",modControl:"Πλήκτρο τροποποίησης Control ή Ctrl{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται σε πολλές συντομεύσεις",modMeta:"Πλήκτρο τροποποίησης Meta{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, πλήκτρο Windows ⊞ στα Windows ή Command ⌘ στο macOS",modShift:"Πλήκτρο τροποποίησης Shift{{#keyboardPosition}}{{#left}} αριστερό{{/left}}{{#right}} δεξιό{{/right}}{{/keyboardPosition}}, που χρησιμοποιείται για κεφαλαία γράμματα",navArrowDown:"Πλήκτρο πλοήγησης Κάτω βέλος",navArrowLeft:"Πλήκτρο πλοήγησης Αριστερό βέλος",navArrowRight:"Πλήκτρο πλοήγησης Δεξί βέλος",navArrowUp:"Πλήκτρο πλοήγησης Πάνω βέλος",navEnd:"Πλήκτρο πλοήγησης Μετάβαση στο τέλος",navHome:"Πλήκτρο πλοήγησης Μετάβαση στην αρχή",navPageDown:"Πλήκτρο πλοήγησης Κύλιση προς τα κάτω",navPageUp:"Πλήκτρο πλοήγησης Κύλιση προς τα πάνω",numPadEnter:"Πλήκτρο Enter αριθμητικού πληκτρολογίου για επιβεβαίωση ενέργειας",specBackspace:"Ειδικό πλήκτρο Διαγραφή χαρακτήρα",specCapsLock:"Ειδικό πλήκτρο Caps Lock (συνήθως αποφεύγεται στις συντομεύσεις πληκτρολογίου)",specDelete:"Ειδικό πλήκτρο Διαγραφή επιλεγμένου στοιχείου",specEnter:"Ειδικό πλήκτρο Enter για επιβεβαίωση ενέργειας",specEscape:"Ειδικό πλήκτρο Έξοδος ή ακύρωση",specSpace:"Ειδικό πλήκτρο Διάστημα",specTab:"Ειδικό πλήκτρο Tab για εναλλαγή εστίασης μεταξύ στοιχείων"},g={keyCharacter:"Alphabetic character {{ character }} typically used for composing keyboard shortcuts",keyFunction:"Function key {{ character }} often used for global functions depending on the operating system and its version",keyNumber:"Numeric character {{ character }} typically used for composing keyboard shortcuts",modAlt:"Modifier key Alt{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}} (alternative), often used for system shortcuts",modControl:"Modifier key Control or Ctrl{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used in many shortcuts",modMeta:"Modifier key Meta{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, Windows ⊞ key on Windows or Command ⌘ on macOS",modShift:"Modifier key Shift{{#keyboardPosition}}{{#left}} left{{/left}}{{#right}} right{{/right}}{{/keyboardPosition}}, used for uppercase letters",navArrowDown:"Navigation key Down Arrow",navArrowLeft:"Navigation key Left Arrow",navArrowRight:"Navigation key Right Arrow",navArrowUp:"Navigation key Up Arrow",navEnd:"Navigation key Go to End",navHome:"Navigation key Go to Home",navPageDown:"Navigation key Scroll Down",navPageUp:"Navigation key Scroll Up",numPadEnter:"Keypad Enter key to confirm an action",specBackspace:"Special key Delete character",specCapsLock:"Special key Caps Lock (generally avoided in keyboard shortcuts)",specDelete:"Special key Delete selected item",specEnter:"Special key Enter to confirm an action",specEscape:"Special key Exit or cancel",specSpace:"Special key Space bar",specTab:"Special key Tab to change focus between elements"},v={keyCharacter:"Carácter alfabético {{ character }} típicamente usado para componer atajos de teclado",keyFunction:"Tecla de función {{ character }} a menudo utilizada para funciones globales según el sistema operativo y su versión",keyNumber:"Carácter numérico {{ character }} típicamente usado para componer atajos de teclado",modAlt:"Tecla modificadora Alt{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}} (alternativa), a menudo usada para atajos de sistema",modControl:"Tecla modificadora Control o Ctrl{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada en muchos atajos",modMeta:"Tecla modificadora Meta{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, tecla Windows ⊞ en Windows o Command ⌘ en macOS",modShift:"Tecla modificadora Shift{{#keyboardPosition}}{{#left}} izquierda{{/left}}{{#right}} derecha{{/right}}{{/keyboardPosition}}, utilizada para letras mayúsculas",navArrowDown:"Tecla de navegación Flecha abajo",navArrowLeft:"Tecla de navegación Flecha izquierda",navArrowRight:"Tecla de navegación Flecha derecha",navArrowUp:"Tecla de navegación Flecha arriba",navEnd:"Tecla de navegación Ir al final",navHome:"Tecla de navegación Ir al inicio",navPageDown:"Tecla de navegación Desplazar hacia abajo",navPageUp:"Tecla de navegación Desplazar hacia arriba",numPadEnter:"Tecla Enter del teclado numérico para confirmar una acción",specBackspace:"Tecla especial Borrar carácter",specCapsLock:"Tecla especial Bloq Mayús (generalmente evitada en atajos de teclado)",specDelete:"Tecla especial Eliminar elemento seleccionado",specEnter:"Tecla especial Enter para confirmar una acción",specEscape:"Tecla especial Salir o cancelar",specSpace:"Tecla especial Barra espaciadora",specTab:"Tecla especial Tab para cambiar el foco entre elementos"},y={keyCharacter:"Carattere alfabetico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",keyFunction:"Tasto funzione {{ character }} spesso usato per funzioni globali a seconda del sistema operativo e della sua versione",keyNumber:"Carattere numerico {{ character }} tipicamente usato per comporre le scorciatoie da tastiera",modAlt:"Tasto modificatore Alt{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}} (alternativo), spesso usato per shortcut di sistema",modControl:"Tasto modificatore Control o Ctrl{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato in molte scorciatoie",modMeta:"Tasto modificatore meta{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, Finestra ⊞ su Windows o Command ⌘ su macOS",modShift:"Tasto modificatore Shift{{#keyboardPosition}}{{#left}} sinistro{{/left}}{{#right}} destro{{/right}}{{/keyboardPosition}}, usato per maiuscole",navArrowDown:"Tasto navigazione Freccia giù",navArrowLeft:"Tasto navigazione Freccia sinistra",navArrowRight:"Tasto navigazione Freccia destra",navArrowUp:"Tasto navigazione Freccia su",navEnd:"Tasto navigazione Vai alla fine",navHome:"Tasto navigazione Vai all'inizio",navPageDown:"Tasto navigazione Scorri in giù",navPageUp:"Tasto navigazione Scorri in su",numPadEnter:"Tasto Invio per confermare una azione dal tastierino numerico",specBackspace:"Tasto speciale Cancella carattere",specCapsLock:"Tasto speciale Blocco maiuscole (generalmente evitato nelle scorciatoie da tastiera)",specDelete:"Tasto speciale Cancella elemento selezionato",specEnter:"Tasto speciale Invio per confermare una azione",specEscape:"Tasto speciale Esci o annulla",specSpace:"Tasto speciale Barra spaziatrice",specTab:"Tasto speciale Tab per cambiare focus tra elementi"},k='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M17.5 3C15.57 3 14 4.57 14 6.5V8h-4V6.5C10 4.57 8.43 3 6.5 3S3 4.57 3 6.5S4.57 10 6.5 10H8v4H6.5C4.57 14 3 15.57 3 17.5S4.57 21 6.5 21s3.5-1.57 3.5-3.5V16h4v1.5c0 1.93 1.57 3.5 3.5 3.5s3.5-1.57 3.5-3.5s-1.57-3.5-3.5-3.5H16v-4h1.5c1.93 0 3.5-1.57 3.5-3.5S19.43 3 17.5 3zM16 8V6.5c0-.83.67-1.5 1.5-1.5s1.5.67 1.5 1.5S18.33 8 17.5 8H16zM6.5 8C5.67 8 5 7.33 5 6.5S5.67 5 6.5 5S8 5.67 8 6.5V8H6.5zm3.5 6v-4h4v4h-4zm7.5 5c-.83 0-1.5-.67-1.5-1.5V16h1.5c.83 0 1.5.67 1.5 1.5s-.67 1.5-1.5 1.5zm-11 0c-.83 0-1.5-.67-1.5-1.5S5.67 16 6.5 16H8v1.5c0 .83-.67 1.5-1.5 1.5z"/></svg>',u='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15 5h6v2h-6zM9 5H3v2h4.85l6.92 12H21v-2h-5.07z"/></svg>',w='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3h8v8H3zm10 0h8v8h-8zM3 13h8v8H3zm10 0h8v8h-8z"/></svg>',b='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M22 3H7c-.69 0-1.23.35-1.59.88L0 12l5.41 8.11c.36.53.9.89 1.59.89h15c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H7.07L2.4 12l4.66-7H22v14zm-11.59-2L14 13.41L17.59 17L19 15.59L15.41 12L19 8.41L17.59 7L14 10.59L10.41 7L9 8.41L12.59 12L9 15.59z"/></svg>',f='<svg xmlns="http://www.w3.org/2000/svg" id="mdi-apple-keyboard-shift" viewBox="0 0 24 24"><path d="M15,18V12H17.17L12,6.83L6.83,12H9V18H15M12,4L22,14H17V20H7V14H2L12,4Z" /></svg>';const z=new Map;z.set("arrowdown",c),z.set("arrowleft",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M15.41 16.59L10.83 12l4.58-4.59L14 6l-6 6l6 6l1.41-1.41z"/></svg>'),z.set("arrowright",d),z.set("arrowup",l),z.set("command",k),z.set("commandleft",k),z.set("commandright",k),z.set("delete",b),z.set("capslock",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 8.41L16.59 13L18 11.59l-6-6l-6 6L7.41 13L12 8.41zM6 18h12v-2H6v2z"/></svg>'),z.set("backspace",b),z.set("enter",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 7v4H5.83l3.58-3.59L8 6l-6 6l6 6l1.41-1.41L5.83 13H21V7z"/></svg>'),z.set("home",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M8 11h3v10h2V11h3l-4-4l-4 4zM4 3v2h16V3H4z"/></svg>'),z.set("end",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M16 13h-3V3h-2v10H8l4 4l4-4zM4 19v2h16v-2H4z"/></svg>'),z.set("option",u),z.set("optionleft",u),z.set("optionright",u),z.set("pagedown",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 15l-1.41-1.41L13 18.17V2h-2v16.17l-4.59-4.59L5 15l7 7l7-7z"/></svg>'),z.set("pageup",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M5 9l1.41 1.41L11 5.83V22h2V5.83l4.59 4.59L19 9l-7-7l-7 7z"/></svg>'),z.set("shift",f),z.set("shiftleft",f),z.set("shiftright",f),z.set("space",'<svg xmlns="http://www.w3.org/2000/svg" id="mdi-keyboard-space" viewBox="0 0 24 24"><path d="M3 15H5V19H19V15H21V19C21 20.1 20.1 21 19 21H5C3.9 21 3 20.1 3 19V15Z" /></svg>'),z.set("tab",'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M11.59 7.41L15.17 11H1v2h14.17l-3.59 3.59L13 18l6-6l-6-6l-1.41 1.41zM20 6v12h2V6h-2z"/></svg>'),z.set("windows",w),z.set("windowsleft",w),z.set("windowsright",w);const x=a(class extends e{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.t=new s({el:p,en:g,es:v,it:y}),this.keyboardKeys=r,this.getTitle=()=>{if(void 0!==this.name)return this.t.get(this.keyboardKeys[this.name.toLowerCase()].description,{character:this.keyboardKeys[this.name.toLowerCase()].alias,keyboardPosition:this.keyboardKeys[this.name.toLowerCase()].keyboardPosition})}}render(){var a,e,o,r;return i(t,{key:"e76fe5d7d65f26b88f909798b85b1b21d480840a",title:this.getTitle()},i("div",{key:"a237a895ec3c2b5a92e54daa814cbb2c3528a5e2",class:"physical-key"},this.name&&z.has(this.name)?i("mds-icon",{name:null!==(a=z.get(this.name))&&void 0!==a?a:n,class:"shortcut-icon"}):i("mds-text",{class:"shortcut-text",typography:"detail"},this.name&&i("b",null,this.keyboardKeys[this.name].alias)),this.name&&(null===(e=this.keyboardKeys[this.name])||void 0===e?void 0:e.keyboardPosition)&&i("mds-text",{key:"55480170f7746a1d11c570dccf618cd581d4f3f0",typography:"label"},(null===(o=this.keyboardKeys[this.name].keyboardPosition)||void 0===o?void 0:o.left)&&"l",(null===(r=this.keyboardKeys[this.name].keyboardPosition)||void 0===r?void 0:r.right)&&"r")))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;: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-keyboard-key-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-key-illumination-light-size:calc(var(--spacing,.0025rem)*50);--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity,.05)) inset;--mds-keyboard-key-illumination-light:0 var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem)*50)) 0 0 rgb(255 255 255/var(--mds-keyboard-key-illumination-light-opacity,.5)) inset;--mds-keyboard-key-padding:calc(var(--spacing,.0025rem)*100);--mds-keyboard-key-transition-duration:.3s;--icon-size:calc(var(--spacing,.0025rem)*600);--key-size-default:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)));--key-size-pressed:calc(var(--icon-size) + calc(var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) * 2) + calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * 2));corner-shape:var(--magma-corner-shape,squircle);align-items:flex-end;display:inline-flex;min-height:var(--key-size-default);min-width:var(--key-size-default)}.physical-key{background-color:var(--mds-keyboard-key-background,rgb(var(--tone-bisque-08,214 206 204)));border-radius:var(--magma-radius-lg,var(--radius-squircle-lg,28px));-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-sizing:border-box;corner-shape:inherit;align-items:baseline;display:inline-flex;flex-grow:1;flex-shrink:0;height:var(--key-size-default);justify-content:center;min-width:calc(var(--spacing,.0025rem)*1000);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100));position:relative;text-align:center;-webkit-transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-duration:var(--mds-keyboard-key-transition-duration,.3s);transition-property:box-shadow,padding,height;-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));-webkit-user-select:none;user-select:none}:host(:active) .physical-key,:host([pressed]:not([pressed=false])) .physical-key{--mds-keyboard-key-illumination-dark:0 calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-key-illumination-dark-opacity)) inset;-webkit-box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);box-shadow:var(--mds-keyboard-key-illumination-light),var(--mds-keyboard-key-illumination-dark),var(--mds-keyboard-key-illumination-shadow);height:var(--key-size-pressed);padding:calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100)) calc(var(--mds-keyboard-key-illumination-light-size,calc(var(--spacing,.0025rem) * 50)) + var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))) var(--mds-keyboard-key-padding,calc(var(--spacing,.0025rem) * 100))}:host([code=space]) .physical-key{min-width:calc(var(--key-size-default)*2)}mds-badge{background-color:#0000;color:currentColor;margin-left:calc(var(--spacing,.0025rem)*50);padding:0;white-space:nowrap}.shortcut-icon{fill:currentColor}.shortcut-text{color:currentColor;text-transform:capitalize;white-space:nowrap}"}},[1,"mds-keyboard-key",{name:[513],pressed:[516]}]),T=x,C=function(){"undefined"!=typeof customElements&&["mds-keyboard-key","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-keyboard-key":customElements.get(o(a))||customElements.define(o(a),x);break;case"mds-icon":customElements.get(o(a))||m();break;case"mds-text":customElements.get(o(a))||h()}}))};export{T as MdsKeyboardKey,C as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as a,HTMLElement as i,h as t,Host as e,transformTag as s}from"@stencil/core/internal/client";import{m as r}from"./done.js";import{m as o}from"./close.js";import{L as n}from"./locale.js";import{s as d}from"./preference.js";import{k as l}from"./keys.js";import{d as m}from"./mds-button2.js";import{d as c}from"./mds-icon2.js";import{d as b}from"./mds-spinner2.js";import{d as h}from"./mds-text2.js";import{d as y}from"./mds-tooltip2.js";var k={testKeyCombination:"Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο",testPassed:"Ο συνδυασμός είναι σωστός",wrongKeysCombination:"Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά."},u={testKeyCombination:"Click to test the combination by typing on the keyboard",testPassed:"The combination is correct",wrongKeysCombination:"The combination you entered does not seem to be correct. Please try again."},p={testKeyCombination:"Haz clic para probar la combinación escribiendo en el teclado",testPassed:"La combinación es correcta",wrongKeysCombination:"La combinación que introdujiste no parece ser correcta. Inténtalo de nuevo."},g={testKeyCombination:"Clicca per provare la combinazione digitando da tastiera",testPassed:"La combinazione è corretta",wrongKeysCombination:"La combinazione che hai digitato non sembra essere corretta, riprova."};const v=a(class extends i{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.errors=new Set,this.keyEls=[],this.testInit=!1,this.pressedKeys=new Set,this.keyCombination=new Set,this.t=new n({el:k,en:u,es:p,it:g}),this.testPassed=void 0,this.initKeyboardTest=()=>{var a,i;this.testInit||(this.testInit=!0,this.updateElements(),this.shortcutsEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".shortcuts"),this.buttonTrigger=null===(i=this.host.shadowRoot)||void 0===i?void 0:i.querySelector(".combination-checker"),this.buttonTrigger.removeAttribute("title"))},this.separateKeys=()=>{this.filteredNodes.forEach(((a,i)=>{if(i<this.filteredNodes.length-1){const i=document.createElement("mds-text");i.typography="detail",i.innerHTML="<b>+</b>",a.after(i)}}))},this.updateElements=()=>{this.filteredNodes.forEach((a=>{void 0!==a.name&&(this.keyEls.push(a),this.keyCombination.add(""+this.keyCodes(a.name.toLowerCase())))}))},this.checkTest=()=>!0===this.testPassed?"pass":!1===this.testPassed?"fail":void 0,this.checkKeyboardShortcut=()=>{this.stopKeyboardShortcutTest(),this.testPassed=this.areEquivalent(this.keyCombination,this.pressedKeys),this.test=this.checkTest(),this.keyEls.forEach((a=>{a.removeAttribute("pressed")}))},this.keyCodes=a=>l[a.toLowerCase()].keyCodes,this.hasKeyCode=(a,i)=>l[a.toLowerCase()].keyCodes.includes(i),this.areEquivalent=(a,i)=>{const t=Array.from(a),e=Array.from(i);let s=!0;return t.length!==e.length?(this.errors.add("wrongKeysCombination"),!1):(s=t.every(((a,i)=>a.split(",").includes(e[i]))),s||this.errors.add("wrongKeysCombination"),s)},this.addKeyboardShortcut=a=>{if("undefined"==typeof document)return;a.stopPropagation(),a.preventDefault();const{code:i}=a;this.pressedKeys.add(i),this.keyEls.forEach((a=>{this.hasKeyCode(a.name,i)&&(a.pressed=!0)}))},this.startKeyboardShortcutTest=()=>{this.pressedKeys.clear(),this.testPassed=void 0,this.test=this.testPassed,this.buttonTrigger.blur(),this.buttonTrigger.await=!0,this.buttonTrigger.removeAttribute("tabindex"),this.shortcutsEl.setAttribute("tabindex","0"),this.shortcutsEl.focus(),this.shortcutsEl.addEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.addEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.addEventListener("keyup",this.checkKeyboardShortcut)},this.stopKeyboardShortcutTest=()=>{this.buttonTrigger.await=!1,this.buttonTrigger.setAttribute("tabindex","0"),this.shortcutsEl.removeAttribute("tabindex"),this.shortcutsEl.removeEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.removeEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.removeEventListener("keyup",this.checkKeyboardShortcut)},this.getButtonIcon=()=>"pass"===this.test?r:"fail"===this.test?o:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/></svg>'}async updateLang(){this.language=this.t.lang(this.host)}connectedCallback(){this.unsubscribePrefTheme=d("theme",(a=>{this.prefTheme=a})),this.unsubscribePrefThemeScheme=d("theme-scheme",(a=>{this.prefThemeScheme=a}))}disconnectedCallback(){var a,i;null===(a=this.unsubscribePrefTheme)||void 0===a||a.call(this),null===(i=this.unsubscribePrefThemeScheme)||void 0===i||i.call(this),this.testInit&&this.stopKeyboardShortcutTest()}componentWillLoad(){this.t.lang(this.host)}handleTryProperty(a){a&&this.initKeyboardTest()}componentDidLoad(){var a,i;this.nodes=null===(i=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===i?void 0:i.assignedNodes(),this.filteredNodes=this.nodes.filter((a=>1===a.nodeType)),this.separateKeys(),this.try&&this.initKeyboardTest()}render(){return t(e,{key:"04b53f45038a5462ecd3a5389bd5f39ef461d43b","pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},t("div",{key:"0105a25f75d267bb2497307b0a0983cdde8ce8ad",class:"shortcuts"},t("slot",{key:"25e462272a3dd4bc5fcb6915957614ed8921ad09"})),this.try&&t("mds-button",{key:"376a9691e6ae3dada84a653e00d6aeaccdbe65ec",icon:this.getButtonIcon(),"aria-title":this.t.get("testKeyCombination"),class:"combination-checker",variant:"dark",tone:"text",onClick:this.startKeyboardShortcutTest}),this.try&&t("mds-tooltip",{key:"0e8201759ef326e1ab52b26ec6b71efd73400637",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&t("div",{key:"ec7f97f898c005f8a0e0ee92ee0ae3aab21b0cd2",class:"errors"},[...this.errors].map((a=>t("mds-text",{typography:"tip"},this.t.get(a)))))))}get host(){return this}static get watchers(){return{try:[{handleTryProperty:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-keyboard-background-default:rgb(var(--tone-porcelain-08,89 107 134));--mds-keyboard-background-fail:rgb(var(--status-error-09,135 0 14));--mds-keyboard-background-pass:rgb(var(--status-success-09,0 82 9));--mds-keyboard-background:rgb(var(--tone-porcelain-08,89 107 134));--mds-keyboard-color:rgb(var(--tone-neutral-04,218 218 218));--mds-keyboard-fill-fail:rgb(var(--status-error-06,239 108 105));--mds-keyboard-fill-pass:rgb(var(--status-success-06,0 171 97));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-key-background:rgb(var(--tone-porcelain-10,51 62 77));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:1s}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-keyboard-illumination-dark-opacity{syntax:"<number>";inherits:false;initial-value:.05}@property --mds-keyboard-illumination-light-opacity{syntax:"<number>";inherits:false;initial-value:.075}@property --mds-keyboard-key-illumination-dark-opacity{syntax:"<number>";inherits:false;initial-value:.075}@property --mds-keyboard-key-illumination-light-opacity{syntax:"<number>";inherits:false;initial-value:.5}@property --mds-keyboard-spinner-duration{syntax:"<time>";inherits:false;initial-value:1s}:host{--mds-keyboard-background-default:var(--mds-keyboard-background,rgb(var(--tone-porcelain-08,89 107 134)));--mds-keyboard-background-fail:rgb(var(--status-error-09,135 0 14));--mds-keyboard-background-pass:rgb(var(--status-success-09,0 82 9));--mds-keyboard-background:rgb(var(--tone-porcelain-08,89 107 134));--mds-keyboard-color:rgb(var(--tone-neutral-04,218 218 218));--mds-keyboard-fill-fail:rgb(var(--status-error-06,239 108 105));--mds-keyboard-fill-pass:rgb(var(--status-success-06,0 171 97));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-dark:0 calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-illumination-dark-opacity,.05)) inset;--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-illumination-light:0 var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem)*25)) 0 0 rgb(255 255 255/var(--mds-keyboard-illumination-light-opacity,.075)) inset;--mds-keyboard-illumination-shadow:0 0 1px 0 #0000;--mds-keyboard-key-background:rgb(var(--tone-porcelain-10,51 62 77));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-key-illumination-shadow:var(--shadow-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:1s;background-color:var(--mds-keyboard-background-default,rgb(var(--tone-porcelain-08,89 107 134)));border-radius:var(--radius-2xl,24px);-webkit-box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);color:var(--mds-keyboard-color,rgb(var(--tone-neutral-04,218 218 218)));corner-shape:var(--magma-corner-shape,round);align-items:center;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);padding:calc(var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem) * 25)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200)) calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200));transition-duration:.2s;transition-property:background-color;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}.errors{display:grid}.errors,.shortcuts{gap:calc(var(--spacing,.0025rem)*100)}.shortcuts{align-items:center;display:inline-flex;outline:0}:host(:focus-within){--mds-keyboard-background:rgb(var(--tone-porcelain-07,117 137 164))}mds-tooltip{--mds-tooltip-delay:0}.combination-checker{--mds-button-await-duration:var(--mds-keyboard-spinner-duration,1s);border-radius:100px}::slotted(mds-keyboard-key){align-self:flex-end}:host([test=pass]){--mds-keyboard-background-default:var(--mds-keyboard-background-pass,rgb(var(--status-success-09,0 82 9)))}:host([test=fail]){--mds-keyboard-background-default:var(--mds-keyboard-background-fail,rgb(var(--status-error-09,135 0 14)))}:host([test=pass]) .combination-checker{background-color:var(--mds-keyboard-background-pass,rgb(var(--status-success-09,0 82 9)));fill:var(--mds-keyboard-fill-pass,rgb(var(--status-success-06,0 171 97)))}:host([test=fail]) .combination-checker{background-color:var(--mds-keyboard-background-fail,rgb(var(--status-error-09,135 0 14)));fill:var(--mds-keyboard-fill-fail,rgb(var(--status-error-06,239 108 105)))}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,255 255 255));--mds-keyboard-background:rgb(var(--tone-porcelain-07,117 137 164));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,144 159 181));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,255 255 255));--mds-keyboard-background:rgb(var(--tone-porcelain-07,117 137 164));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,144 159 181));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}}'}},[257,"mds-keyboard",{test:[1537],try:[516],prefTheme:[32],prefThemeScheme:[32],language:[32],testPassed:[32],updateLang:[64]},void 0,{try:[{handleTryProperty:0}]}]),f=v,w=function(){"undefined"!=typeof customElements&&["mds-keyboard","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((a=>{switch(a){case"mds-keyboard":customElements.get(s(a))||customElements.define(s(a),v);break;case"mds-button":customElements.get(s(a))||m();break;case"mds-icon":customElements.get(s(a))||c();break;case"mds-spinner":customElements.get(s(a))||b();break;case"mds-text":customElements.get(s(a))||h();break;case"mds-tooltip":customElements.get(s(a))||y()}}))};export{f as MdsKeyboard,w as defineCustomElement}
1
+ import{p as a,H as t,h as s,c as e,t as i}from"./p-BhFTcUD0.js";import{m as r}from"./p-CvUz9jjh.js";import{m as o}from"./p-J-ikDhyq.js";import{L as d}from"./p-Bss3F51Q.js";import{p as n}from"./p-CvIFS8oA.js";import{k as m}from"./p-C4ckbXOl.js";import{d as c}from"./p-CVgKDZPF.js";import{d as l}from"./p-CatD1iUY.js";import{d as b}from"./p-C58NKMEE.js";import{d as h}from"./p-B9DJLgwr.js";import{d as u}from"./p-D8I1RblC.js";var y={testKeyCombination:"Κάντε κλικ για να δοκιμάσετε τον συνδυασμό πληκτρολογώντας στο πληκτρολόγιο",testPassed:"Ο συνδυασμός είναι σωστός",wrongKeysCombination:"Ο συνδυασμός που πληκτρολογήσατε δεν φαίνεται να είναι σωστός. Δοκιμάστε ξανά."},k={testKeyCombination:"Click to test the combination by typing on the keyboard",testPassed:"The combination is correct",wrongKeysCombination:"The combination you entered does not seem to be correct. Please try again."},p={testKeyCombination:"Haz clic para probar la combinación escribiendo en el teclado",testPassed:"La combinación es correcta",wrongKeysCombination:"La combinación que introdujiste no parece ser correcta. Inténtalo de nuevo."},g={testKeyCombination:"Clicca per provare la combinazione digitando da tastiera",testPassed:"La combinazione è corretta",wrongKeysCombination:"La combinazione che hai digitato non sembra essere corretta, riprova."};const v=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.errors=new Set,this.keyEls=[],this.testInit=!1,this.pressedKeys=new Set,this.keyCombination=new Set,this.t=new d({el:y,en:k,es:p,it:g}),this.testPassed=void 0,this.initKeyboardTest=()=>{var a,t;this.testInit||(this.testInit=!0,this.updateElements(),this.shortcutsEl=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".shortcuts"),this.buttonTrigger=null===(t=this.host.shadowRoot)||void 0===t?void 0:t.querySelector(".combination-checker"),this.buttonTrigger.removeAttribute("title"))},this.separateKeys=()=>{this.filteredNodes.forEach(((a,t)=>{if(t<this.filteredNodes.length-1){const t=document.createElement("mds-text");t.typography="detail",t.innerHTML="<b>+</b>",a.after(t)}}))},this.updateElements=()=>{this.filteredNodes.forEach((a=>{void 0!==a.name&&(this.keyEls.push(a),this.keyCombination.add(""+this.keyCodes(a.name.toLowerCase())))}))},this.checkTest=()=>!0===this.testPassed?"pass":!1===this.testPassed?"fail":void 0,this.checkKeyboardShortcut=()=>{this.stopKeyboardShortcutTest(),this.testPassed=this.areEquivalent(this.keyCombination,this.pressedKeys),this.test=this.checkTest(),this.keyEls.forEach((a=>{a.removeAttribute("pressed")}))},this.keyCodes=a=>m[a.toLowerCase()].keyCodes,this.hasKeyCode=(a,t)=>m[a.toLowerCase()].keyCodes.includes(t),this.areEquivalent=(a,t)=>{const s=Array.from(a),e=Array.from(t);let i=!0;return s.length!==e.length?(this.errors.add("wrongKeysCombination"),!1):(i=s.every(((a,t)=>a.split(",").includes(e[t]))),i||this.errors.add("wrongKeysCombination"),i)},this.addKeyboardShortcut=a=>{if("undefined"==typeof document)return;a.stopPropagation(),a.preventDefault();const{code:t}=a;this.pressedKeys.add(t),this.keyEls.forEach((a=>{this.hasKeyCode(a.name,t)&&(a.pressed=!0)}))},this.startKeyboardShortcutTest=()=>{this.pressedKeys.clear(),this.testPassed=void 0,this.test=this.testPassed,this.buttonTrigger.blur(),this.buttonTrigger.await=!0,this.buttonTrigger.removeAttribute("tabindex"),this.shortcutsEl.setAttribute("tabindex","0"),this.shortcutsEl.focus(),this.shortcutsEl.addEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.addEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.addEventListener("keyup",this.checkKeyboardShortcut)},this.stopKeyboardShortcutTest=()=>{this.buttonTrigger.await=!1,this.buttonTrigger.setAttribute("tabindex","0"),this.shortcutsEl.removeAttribute("tabindex"),this.shortcutsEl.removeEventListener("blur",this.stopKeyboardShortcutTest),this.shortcutsEl.removeEventListener("keydown",this.addKeyboardShortcut),this.shortcutsEl.removeEventListener("keyup",this.checkKeyboardShortcut)},this.getButtonIcon=()=>"pass"===this.test?r:"fail"===this.test?o:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M20 5H4c-1.1 0-1.99.9-1.99 2L2 17c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm-9 3h2v2h-2V8zm0 3h2v2h-2v-2zM8 8h2v2H8V8zm0 3h2v2H8v-2zm-1 2H5v-2h2v2zm0-3H5V8h2v2zm9 7H8v-2h8v2zm0-4h-2v-2h2v2zm0-3h-2V8h2v2zm3 3h-2v-2h2v2zm0-3h-2V8h2v2z"/></svg>'}disconnectedCallback(){this.testInit&&this.stopKeyboardShortcutTest()}handleTryProperty(a){a&&this.initKeyboardTest()}componentDidLoad(){var a,t;this.nodes=null===(t=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelectorAll("slot")[0])||void 0===t?void 0:t.assignedNodes(),this.filteredNodes=this.nodes.filter((a=>1===a.nodeType)),this.separateKeys(),this.try&&this.initKeyboardTest()}render(){return s(e,{key:"2428b02400771f84bf5bec6a04d9ee79b58214e6","pref-mode":n.state.mode,"pref-theme-scheme":n.state["theme-scheme"]},s("div",{key:"21bcbcb3751df1686a532ba45ecf70247772d980",class:"shortcuts"},s("slot",{key:"8c5e6a0061fba55e4b40de59a1a44fd9e83e3552"})),this.try&&s("mds-button",{key:"ad306361f059bfe504f2e5017c937ba1ffa46357",icon:this.getButtonIcon(),"aria-label":this.t.get("testKeyCombination"),class:"combination-checker",variant:"dark",tone:"text",onClick:this.startKeyboardShortcutTest}),this.try&&s("mds-tooltip",{key:"36bfe040249307ac3cd51552964822d17c6e6d6d",target:".combination-checker"},void 0===this.testPassed&&this.t.get("testKeyCombination"),!0===this.testPassed&&this.t.get("testPassed"),!1===this.testPassed&&s("div",{key:"2c2f2860b83297a3110432247d69d9a5ef2a622a",class:"errors"},[...this.errors].map((a=>s("mds-text",{typography:"tip"},this.t.get(a)))))))}get host(){return this}static get watchers(){return{try:[{handleTryProperty:0}]}}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),:is(mds-button,mds-text,mds-tooltip):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-keyboard-background-default:var(--mds-keyboard-background,rgb(var(--tone-porcelain-08,201 208 219)));--mds-keyboard-background-fail:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-keyboard-background-pass:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-keyboard-background:rgb(var(--tone-porcelain-08,201 208 219));--mds-keyboard-color:rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99))));--mds-keyboard-fill-fail:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-keyboard-fill-pass:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-keyboard-illumination-dark-opacity:.05;--mds-keyboard-illumination-dark-size:calc(var(--spacing,.0025rem)*150);--mds-keyboard-illumination-dark:0 calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) * -1) 0 0 rgb(0 0 0/var(--mds-keyboard-illumination-dark-opacity,.05)) inset;--mds-keyboard-illumination-light-opacity:.075;--mds-keyboard-illumination-light-size:calc(var(--spacing,.0025rem)*25);--mds-keyboard-illumination-light:0 var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem)*25)) 0 0 rgb(255 255 255/var(--mds-keyboard-illumination-light-opacity,.075)) inset;--mds-keyboard-illumination-shadow:0 0 1px 0 #0000;--mds-keyboard-key-background:rgb(var(--tone-porcelain-10,235 237 241));--mds-keyboard-key-illumination-dark-opacity:.075;--mds-keyboard-key-illumination-light-opacity:.5;--mds-keyboard-key-illumination-shadow:var(--shadow-sharp,0 0 1px 1px #0000000f,0 1px 3px 0 #0000001a);--mds-keyboard-padding:calc(var(--spacing,.0025rem)*200);--mds-keyboard-spinner-duration:1s;background-color:var(--mds-keyboard-background-default,rgb(var(--tone-porcelain-08,201 208 219)));border-radius:var(--magma-radius-2xl,var(--radius-squircle-2xl,40px));-webkit-box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);box-shadow:var(--mds-keyboard-illumination-light),var(--mds-keyboard-illumination-dark),var(--mds-keyboard-illumination-shadow);color:var(--mds-keyboard-color,rgb(var(--magma-text-subtle,var(--magma-tint-text-subtle,var(--text-neutral-subtle,99 99 99)))));corner-shape:var(--magma-corner-shape,squircle);align-items:center;align-self:flex-start;display:inline-flex;gap:calc(var(--spacing,.0025rem)*200);justify-self:flex-start;padding:calc(var(--mds-keyboard-illumination-light-size,calc(var(--spacing,.0025rem) * 25)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200)) calc(var(--mds-keyboard-illumination-dark-size,calc(var(--spacing,.0025rem) * 150)) + var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200))) var(--mds-keyboard-padding,calc(var(--spacing,.0025rem) * 200));transition-duration:.2s;transition-property:background-color;-webkit-transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));transition-timing-function:var(--ease-out-quad,cubic-bezier(.25,.46,.45,.94));-webkit-user-select:none;user-select:none}.errors{display:grid}.errors,.shortcuts{gap:calc(var(--spacing,.0025rem)*100)}.shortcuts{align-items:center;display:inline-flex;outline:0}:host(:focus-within){--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204))}mds-tooltip{--mds-tooltip-delay:0}.combination-checker{--mds-button-await-duration:var(--mds-keyboard-spinner-duration,1s);border-radius:var(--radius-full,1000px)}::slotted(mds-keyboard-key){align-self:flex-end}:host([test=pass]){--mds-keyboard-background-default:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))))}:host([test=fail]){--mds-keyboard-background-default:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))))}:host([test=pass]) .combination-checker{background-color:var(--mds-keyboard-background-pass,rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205))));fill:var(--mds-keyboard-fill-pass,rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0))))}:host([test=fail]) .combination-checker{background-color:var(--mds-keyboard-background-fail,rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211))));fill:var(--mds-keyboard-fill-fail,rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0))))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,4 5 6));--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,153 168 187));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-keyboard-color:rgb(var(--tone-porcelain-01,4 5 6));--mds-keyboard-background:rgb(var(--tone-porcelain-07,179 189 204));--mds-keyboard-illumination-dark-opacity:.5;--mds-keyboard-illumination-light-opacity:.15;--mds-keyboard-illumination-shadow:0 0 3px 0 #ffffff80;--mds-keyboard-key-background:rgb(var(--tone-porcelain-06,153 168 187));--mds-keyboard-key-illumination-dark-opacity:.5;--mds-keyboard-key-illumination-light-opacity:.15;--mds-keyboard-key-illumination-shadow:0 0 1px 0 #ffffff80}}"}},[257,"mds-keyboard",{test:[1537],try:[516],testPassed:[32]},void 0,{try:[{handleTryProperty:0}]}]),f=v,x=function(){"undefined"!=typeof customElements&&["mds-keyboard","mds-button","mds-icon","mds-spinner","mds-text","mds-tooltip"].forEach((a=>{switch(a){case"mds-keyboard":customElements.get(i(a))||customElements.define(i(a),v);break;case"mds-button":customElements.get(i(a))||c();break;case"mds-icon":customElements.get(i(a))||l();break;case"mds-spinner":customElements.get(i(a))||b();break;case"mds-text":customElements.get(i(a))||h();break;case"mds-tooltip":customElements.get(i(a))||u()}}))};export{f as MdsKeyboard,x as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as i,h as e,Host as a,transformTag as o}from"@stencil/core/internal/client";import{s as r}from"./preference.js";import{d as n}from"./mds-icon2.js";import{d as s}from"./mds-text2.js";const d=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.threshold=0,this.setObserver=()=>{"undefined"!=typeof window&&(this.observer=new window.IntersectionObserver((([t])=>{this.isIntersecting=t.isIntersecting}),{root:null,threshold:this.threshold}),this.observer.observe(this.hostElement))}}connectedCallback(){this.unsubscribePrefAnimation=r("animation",(t=>{this.prefAnimation=t})),this.unsubscribePrefContrast=r("contrast",(t=>{this.prefContrast=t})),this.unsubscribePrefTheme=r("theme",(t=>{this.prefTheme=t})),this.unsubscribePrefThemeScheme=r("theme-scheme",(t=>{this.prefThemeScheme=t}))}disconnectedCallback(){var t,i,e,a;null===(t=this.unsubscribePrefAnimation)||void 0===t||t.call(this),null===(i=this.unsubscribePrefContrast)||void 0===i||i.call(this),null===(e=this.unsubscribePrefTheme)||void 0===e||e.call(this),null===(a=this.unsubscribePrefThemeScheme)||void 0===a||a.call(this)}componentWillLoad(){0!==this.threshold&&this.setObserver()}render(){return e(a,{key:"dda8167c05496f388673c36096dfc958af05ba29","aria-label":`${this.label}: ${this.description}`,role:"listitem","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.icon&&e("div",{key:"07f186b9a747268f2ec805398a57c2163a238962",class:"icon-container",part:"icon-container"},e("mds-icon",{key:"0312c7bb07c33d14c7f505a99a648bc1b6ebb613",class:"icon",name:this.icon,part:"icon"})),e("div",{key:"9b40d9130105ecca08d81f8f41006cc1cdc0a379",class:"info",part:"content","aria-hidden":"true"},this.label&&0!==this.threshold&&e("mds-text",{key:"3f8fecb2e84d6a348948c80cbbf66fc5f6c83d2d",class:"value",typography:"h2",text:this.isIntersecting?this.label:"",animation:"yugop"}),this.label&&0===this.threshold&&e("mds-text",{key:"8d1d07deb1adee9d393a1d2bc40466f7e2181827",class:"value",typography:"h2"},this.label),this.description&&0!==this.threshold&&e("mds-text",{key:"7bafc80c238fa9952559e0f388e70b067eedb5ce",class:"description",typography:"label",text:this.isIntersecting?this.description:"",animation:"yugop"}),this.description&&0===this.threshold&&e("mds-text",{key:"ebcb68b6556f6c67c974f6fbf44af24acd30aaea",class:"description",typography:"label"},this.description)))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-kpi-item-icon-color:rgb(var(--variant-primary-04,184 208 255));--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));--mds-kpi-item-text-animation-placeholder-char:var(--mds-kpi-text-animation-placeholder-char," ");--mds-kpi-item-text-animation-speed:var(--mds-kpi-text-animation-speed,.15);--mds-kpi-item-transition-duration:var(--duration-300,.3s);--private-kpi-item-transition-duration:var(--mds-kpi-item-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));aspect-ratio:1;background-color:rgb(var(--variant-primary-10,0 49 142));border-radius:var(--radius-4xl,48px);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,round);display:flex;flex-direction:column;gap:0;overflow:hidden;padding:calc(var(--spacing,.0025rem)*400);-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,box-shadow}.icon-container{align-items:center;display:flex;flex-grow:1;justify-content:center;-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon,.icon-container{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon{fill:var(--mds-kpi-item-icon-color);-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:40%}.info{background-color:var(--mds-kpi-item-info-background);border-radius:var(--radius-xl,20px);-webkit-box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:inherit;display:grid;flex-shrink:0;gap:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);text-align:center;-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,border-radius,box-shadow}.description,.info,.label{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.description,.label{transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));--mds-text-animation-speed:var(--mds-kpi-item-text-animation-speed);--mds-text-animation-placeholder-char:var(--mds-kpi-item-text-animation-placeholder-char);-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill}:host([pref-animation=reduce]){--private-kpi-item-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--tone-neutral-09,76 76 76));background-color:rgb(var(--variant-primary-09,0 58 168));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host([pref-contrast=more]){--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-outline);box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-outline);color:rgb(var(--tone-neutral-01,255 255 255))}:host([pref-contrast=more]) .info{-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host([pref-contrast=more][pref-theme=dark]){--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));-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-kpi-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--tone-neutral-09,76 76 76));background-color:rgb(var(--variant-primary-09,0 58 168));-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host([pref-contrast=more][pref-theme=system]){--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}:host([pref-contrast=system][pref-theme=system]){--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));-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]){--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-outline);box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-outline);color:rgb(var(--tone-neutral-01,255 255 255))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .info{-webkit-box-shadow:var(--shadow-outline);box-shadow:var(--shadow-outline)}:host([pref-contrast=system][pref-theme=dark]){--mds-kpi-item-info-background:rgb(var(--tone-neutral,0 0 0));-webkit-box-shadow:var(--shadow-outline-50);box-shadow:var(--shadow-outline-50)}}'}},[1,"mds-kpi-item",{label:[1],description:[1],threshold:[2],icon:[1],prefAnimation:[32],prefContrast:[32],prefTheme:[32],prefThemeScheme:[32],isIntersecting:[32]}]),c=d,p=function(){"undefined"!=typeof customElements&&["mds-kpi-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-kpi-item":customElements.get(o(t))||customElements.define(o(t),d);break;case"mds-icon":customElements.get(o(t))||n();break;case"mds-text":customElements.get(o(t))||s()}}))};export{c as MdsKpiItem,p as defineCustomElement}
1
+ import{p as a,H as t,h as r,c as e,t as i}from"./p-BhFTcUD0.js";import{p as o}from"./p-CvIFS8oA.js";import{d as n}from"./p-CatD1iUY.js";import{d as s}from"./p-B9DJLgwr.js";const d=a(class extends t{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.threshold=0,this.reserveLine=a=>" ".repeat(a.length),this.setObserver=()=>{"undefined"!=typeof window&&(this.observer=new window.IntersectionObserver((([a])=>{this.isIntersecting=a.isIntersecting}),{root:null,threshold:this.threshold}),this.observer.observe(this.hostElement))}}componentWillLoad(){0!==this.threshold&&this.setObserver()}render(){return r(e,{key:"4a3e12c85df0f09468cad2329db6aaeb682f446e","aria-label":`${this.label}: ${this.description}`,role:"listitem","pref-animation":o.state.animation,"pref-contrast":o.state.contrast,"pref-mode":o.state.mode,"pref-theme-scheme":o.state["theme-scheme"]},this.icon&&r("div",{key:"7f20e266f8e4147d9dec98d7dbe2c257bdf6a00c",class:"icon-container",part:"icon-container"},r("mds-icon",{key:"005394d3505b37232b234ed561f61fb210a7fe21",class:"icon",name:this.icon,part:"icon"})),r("div",{key:"4a4110860753cd31282f066a802d317aa027dca5",class:"info",part:"content","aria-hidden":"true"},this.label&&0!==this.threshold&&r("mds-text",{key:"55c660733607d214e4c7a98f1b7bd95cac392110",class:"value",typography:"h2",text:this.isIntersecting?this.label:this.reserveLine(this.label),animation:"yugop"}),this.label&&0===this.threshold&&r("mds-text",{key:"2aaac0d7b86a0fc46ecbaa15e5f09c5dc2c0c8d4",class:"value",typography:"h2"},this.label),this.description&&0!==this.threshold&&r("mds-text",{key:"4c5eeccd31055b8bc422be41d1228838e60da5e8",class:"description",typography:"label",text:this.isIntersecting?this.description:this.reserveLine(this.description),animation:"yugop"}),this.description&&0===this.threshold&&r("mds-text",{key:"ea7821596d4c06abbb502265101764eede23f702",class:"description",typography:"label"},this.description)))}get hostElement(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-icon,mds-text):not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-kpi-item-icon-color:rgb(var(--magma-accent-emphasis,var(--magma-tint-accent-emphasis,var(--variant-primary-04,36 103 231))));--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));--mds-kpi-item-text-animation-placeholder-char:var(--mds-kpi-text-animation-placeholder-char," ");--mds-kpi-item-text-animation-speed:var(--mds-kpi-text-animation-speed,.15);--mds-kpi-item-transition-duration:var(--duration-300,.3s);--private-kpi-item-padding:calc(var(--spacing,.0025rem)*400);--private-kpi-item-radius:var(--magma-radius-4xl,var(--radius-squircle-4xl,80px));--private-kpi-item-transition-duration:var(--mds-kpi-item-transition-duration);--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));aspect-ratio:1;background-color:rgb(var(--magma-accent-surface-subtle,var(--magma-tint-accent-surface-subtle,var(--variant-primary-10,236 237 240))));border-radius:var(--private-kpi-item-radius);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);display:flex;flex-direction:column;gap:0;overflow:hidden;padding:var(--private-kpi-item-padding);-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,box-shadow}.icon-container{align-items:center;display:flex;flex-grow:1;justify-content:center;-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon,.icon-container{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.icon{fill:var(--mds-kpi-item-icon-color);-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));width:40%}.info{background-color:var(--mds-kpi-item-info-background);border-radius:max(0px,calc(var(--private-kpi-item-radius) - var(--private-kpi-item-padding)));-webkit-box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);box-shadow:var(--shadow-sm,0 1px 3px 0 #0000001a,0 1px 2px -1px #0000001a);transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));corner-shape:inherit;display:grid;flex-shrink:0;gap:0;justify-content:center;padding:calc(var(--spacing,.0025rem)*400);text-align:center;-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:background-color,border-radius,box-shadow}.description,.info,.value{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1))}.description,.value{transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1));--mds-text-animation-speed:var(--mds-kpi-item-text-animation-speed);--mds-text-animation-placeholder-char:var(--mds-kpi-item-text-animation-placeholder-char);-webkit-transition-duration:var(--private-kpi-item-transition-duration);transition-duration:var(--private-kpi-item-transition-duration);transition-property:fill}: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-kpi-item-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));background-color:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:host([pref-contrast=more]) .info{-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));-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-kpi-item-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){--mds-kpi-item-info-background:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));background-color:rgb(var(--magma-accent-surface,var(--magma-tint-accent-surface,var(--variant-primary-09,220 224 231))));-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=more][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));-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-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-lg,0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a),var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .info{-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3));box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3))}:host([pref-contrast=system][pref-mode=dark]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));-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) and (prefers-color-scheme:dark){:host([pref-contrast=system][pref-mode=system]){--mds-kpi-item-info-background:rgb(var(--magma-surface-raised,var(--magma-tint-raised,var(--surface-neutral-raised,248 248 248))));-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))}}'}},[1,"mds-kpi-item",{label:[1],description:[1],threshold:[2],icon:[1],isIntersecting:[32]}]),m=d,p=function(){"undefined"!=typeof customElements&&["mds-kpi-item","mds-icon","mds-text"].forEach((a=>{switch(a){case"mds-kpi-item":customElements.get(i(a))||customElements.define(i(a),d);break;case"mds-icon":customElements.get(i(a))||n();break;case"mds-text":customElements.get(i(a))||s()}}))};export{m as MdsKpiItem,p as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as i,Host as n,transformTag as r}from"@stencil/core/internal/client";const a=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return i(n,{key:"02a890b517f0b821803bf27d527162edf2693d0b",role:"list"},i("slot",{key:"8a8f4296650703c03528450674afc6712afb54b8"}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" "}}}:host(:not(:is([hydrated],.hydrated))),mds-kpi-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-kpi-text-animation-speed{syntax:"<number>";inherits:false;initial-value:.15}@property --mds-kpi-text-animation-placeholder-char{syntax:"<string>";inherits:false;initial-value:" "}:host{--mds-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}'}},[257,"mds-kpi"]),o=a,s=function(){"undefined"!=typeof customElements&&["mds-kpi"].forEach((t=>{"mds-kpi"===t&&(customElements.get(r(t))||customElements.define(r(t),a))}))};export{o as MdsKpi,s as defineCustomElement}
1
+ import{p as t,H as e,h as s,c as i,t as a}from"./p-BhFTcUD0.js";const o=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"02a890b517f0b821803bf27d527162edf2693d0b",role:"list"},s("slot",{key:"8a8f4296650703c03528450674afc6712afb54b8"}))}static get style(){return'@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-kpi-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-kpi-text-animation-speed:.15;--mds-kpi-text-animation-placeholder-char:" ";display:grid;gap:calc(var(--spacing,.0025rem)*400);grid-template-columns:repeat(auto-fit,minmax(180px,1fr))}'}},[257,"mds-kpi"]),r=o,n=function(){"undefined"!=typeof customElements&&["mds-kpi"].forEach((t=>{"mds-kpi"===t&&(customElements.get(a(t))||customElements.define(a(t),o))}))};export{r as MdsKpi,n as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as l,HTMLElement as a,createEvent as r,h as e,Host as o,transformTag as b}from"@stencil/core/internal/client";import{m as s}from"./cancel.js";import{K as t}from"./keyboard-manager.js";import{L as n}from"./locale.js";import{s as c}from"./preference.js";import{d}from"./mds-button2.js";import{d as g}from"./mds-icon2.js";import{d as i}from"./mds-spinner2.js";import{d as u}from"./mds-text2.js";var m={remove:"Αφαίρεση"},v={remove:"Remove"},h={remove:"Rimuovi"};const k=l(class extends a{constructor(l){super(),!1!==l&&this.__registerHost(),this.__attachShadow(),this.deletedEvent=r(this,"mdsLabelDelete",7),this.km=new t,this.t=new n({el:m,en:v,es:v,it:h}),this.variant="sky",this.tone="weak",this.truncate="word",this.typography="caption",this.deletable=!1,this.onClickDelete=l=>{l.stopPropagation(),l.preventDefault(),this.deletedEvent.emit()},this.handleKeyboard=()=>{var l;if(this.deletable){const a=null===(l=this.host.shadowRoot)||void 0===l?void 0:l.querySelector(".close");return this.km.addElement(a),void this.km.attachClickBehavior()}this.km.detachClickBehavior()}}async updateLang(){this.language=this.t.lang(this.host)}connectedCallback(){this.unsubscribePrefContrast=c("contrast",(l=>{this.prefContrast=l})),this.unsubscribePrefTheme=c("theme",(l=>{this.prefTheme=l})),this.unsubscribePrefThemeScheme=c("theme-scheme",(l=>{this.prefThemeScheme=l}))}componentDidLoad(){this.t.lang(this.host),this.handleKeyboard()}componentDidUpdate(){this.handleKeyboard()}disconnectedCallback(){var l,a,r;null===(l=this.unsubscribePrefContrast)||void 0===l||l.call(this),null===(a=this.unsubscribePrefTheme)||void 0===a||a.call(this),null===(r=this.unsubscribePrefThemeScheme)||void 0===r||r.call(this),this.km.detachClickBehavior()}render(){return e(o,{key:"4c336d1e5bbc48d30f4a917a92b6a40c69c0302b","pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},e("mds-text",{key:"6518c15b0d1c0c0b8dc56746ebc1961317a54958",class:"text",truncate:this.truncate,typography:this.typography},this.label),this.deletable&&e("mds-button",{key:"be2eca94574b8b0d286e22f1968b2a1e024c6328",class:"button-close",icon:s,onClick:this.onClickDelete,title:this.t.get("remove"),size:"sm"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-label-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-radius:calc(var(--spacing,.0025rem)*150);--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-button-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background-hover:rgb(var(--label-yellow-07,158 120 5));--mds-label-button-icon-color:rgb(var(--label-yellow-03,251 224 142));--tw-ease: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-label-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-label-button-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background-hover:rgb(var(--label-yellow-07,158 120 5));--mds-label-button-icon-color:rgb(var(--label-yellow-03,251 224 142));--private-bevel-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-label-background,rgb(var(--label-yellow-09,89 68 3)));color:var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:round;align-items:center;border-radius:100px;display:flex;fill:var(--mds-label-icon-color,var(--mds-label-color,rgb(var(--label-yellow-02,253 238 190))));flex:1;gap:calc(var(--spacing,.0025rem)*50);max-width:min-content;min-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*200);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,fill;--mds-label-background:rgb(var(--label-blue-08,42 77 247));--mds-label-button-background:rgb(var(--label-blue-09,7 40 196));--mds-label-button-background-hover:rgb(var(--label-blue-08,42 77 247));--mds-label-button-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-label-color:rgb(var(--label-blue-02,234 238 254));--mds-label-icon-color:rgb(var(--label-blue-02,234 238 254));--mds-label-selection-background:rgb(var(--label-blue-06,121 143 250));--mds-label-selection-color:rgb(var(--label-blue-10,6 34 166))}@supports (corner-shape:bevel){:host{corner-left-shape:superellipse(.25);corner-right-shape:var(--magma-corner-shape,round);align-items:stretch;border-bottom-left-radius:100px;border-top-left-radius:100px;padding-left:calc(var(--private-bevel-size)/2);padding-right:0}}:host::selection{background-color:var(--mds-label-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));color:var(--mds-label-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))))}:host([truncate=word]) .text{white-space:nowrap}.text{--mds-text-selection-background:var(--mds-label-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));--mds-text-selection-color:var(--mds-label-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))));align-self:center;display:block;flex-grow:1}.text:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}.button-close{--mds-button-background:var(--mds-label-button-background,rgb(var(--label-yellow-08,127 97 4)));--mds-button-border-opacity:0;align-self:center;fill:var(--mds-label-button-icon-color,rgb(var(--label-yellow-03,251 224 142)));flex-shrink:0}.button-close:hover{--mds-button-background:var(--mds-label-button-background-hover,rgb(var(--label-yellow-07,158 120 5)))}:host([variant=red]){--mds-label-background:rgb(var(--label-red-04,247 195 195));--mds-label-button-background:rgb(var(--label-red-04,247 195 195));--mds-label-button-background-hover:rgb(var(--label-red-05,244 167 167));--mds-label-button-icon-color:rgb(var(--label-red-10,115 15 15));--mds-label-color:rgb(var(--label-red-10,115 15 15));--mds-label-icon-color:rgb(var(--label-red-10,115 15 15));--mds-label-selection-background:rgb(var(--label-red-08,192 25 25));--mds-label-selection-color:rgb(var(--label-red-02,252 234 234))}:host([variant=red]):host([tone=weak]){--mds-label-background:rgb(var(--label-red-08,192 25 25));--mds-label-button-background:rgb(var(--label-red-09,134 17 17));--mds-label-button-background-hover:rgb(var(--label-red-08,192 25 25));--mds-label-button-icon-color:rgb(var(--label-red-04,247 195 195));--mds-label-color:rgb(var(--label-red-02,252 234 234));--mds-label-icon-color:rgb(var(--label-red-02,252 234 234));--mds-label-selection-background:rgb(var(--label-red-06,236 110 110));--mds-label-selection-color:rgb(var(--label-red-10,115 15 15))}:host([variant=amaranth]){--mds-label-background:rgb(var(--label-amaranth-04,251 192 203));--mds-label-button-background:rgb(var(--label-amaranth-04,251 192 203));--mds-label-button-background-hover:rgb(var(--label-amaranth-05,250 163 178));--mds-label-button-icon-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-icon-color:rgb(var(--label-amaranth-10,114 7 25));--mds-label-selection-background:rgb(var(--label-amaranth-08,193 11 42));--mds-label-selection-color:rgb(var(--label-amaranth-02,254 233 237))}:host([variant=amaranth]):host([tone=weak]){--mds-label-background:rgb(var(--label-amaranth-08,193 11 42));--mds-label-button-background:rgb(var(--label-amaranth-09,135 8 30));--mds-label-button-background-hover:rgb(var(--label-amaranth-08,193 11 42));--mds-label-button-icon-color:rgb(var(--label-amaranth-04,251 192 203));--mds-label-color:rgb(var(--label-amaranth-02,254 233 237));--mds-label-icon-color:rgb(var(--label-amaranth-02,254 233 237));--mds-label-selection-background:rgb(var(--label-amaranth-06,246 99 125));--mds-label-selection-color:rgb(var(--label-amaranth-10,114 7 25))}:host([variant=aqua]){--mds-label-background:rgb(var(--label-aqua-04,81 225 250));--mds-label-button-background:rgb(var(--label-aqua-04,81 225 250));--mds-label-button-background-hover:rgb(var(--label-aqua-05,7 203 237));--mds-label-button-icon-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-icon-color:rgb(var(--label-aqua-10,2 65 76));--mds-label-selection-background:rgb(var(--label-aqua-08,4 110 129));--mds-label-selection-color:rgb(var(--label-aqua-02,203 246 254))}:host([variant=aqua]):host([tone=weak]){--mds-label-background:rgb(var(--label-aqua-08,4 110 129));--mds-label-button-background:rgb(var(--label-aqua-09,3 77 90));--mds-label-button-background-hover:rgb(var(--label-aqua-08,4 110 129));--mds-label-button-icon-color:rgb(var(--label-aqua-04,81 225 250));--mds-label-color:rgb(var(--label-aqua-02,203 246 254));--mds-label-icon-color:rgb(var(--label-aqua-02,203 246 254));--mds-label-selection-background:rgb(var(--label-aqua-06,5 163 190));--mds-label-selection-color:rgb(var(--label-aqua-10,2 65 76))}:host([variant=blue]){--mds-label-background:rgb(var(--label-blue-04,196 206 253));--mds-label-button-background:rgb(var(--label-blue-04,196 206 253));--mds-label-button-background-hover:rgb(var(--label-blue-05,170 184 252));--mds-label-button-icon-color:rgb(var(--label-blue-10,6 34 166));--mds-label-color:rgb(var(--label-blue-10,6 34 166));--mds-label-icon-color:rgb(var(--label-blue-10,6 34 166));--mds-label-selection-background:rgb(var(--label-blue-08,42 77 247));--mds-label-selection-color:rgb(var(--label-blue-02,234 238 254))}:host([variant=blue]):host([tone=weak]){--mds-label-background:rgb(var(--label-blue-08,42 77 247));--mds-label-button-background:rgb(var(--label-blue-09,7 40 196));--mds-label-button-background-hover:rgb(var(--label-blue-08,42 77 247));--mds-label-button-icon-color:rgb(var(--label-blue-04,196 206 253));--mds-label-color:rgb(var(--label-blue-02,234 238 254));--mds-label-icon-color:rgb(var(--label-blue-02,234 238 254));--mds-label-selection-background:rgb(var(--label-blue-06,121 143 250));--mds-label-selection-color:rgb(var(--label-blue-10,6 34 166))}:host([variant=green]){--mds-label-background:rgb(var(--label-green-04,113 230 156));--mds-label-button-background:rgb(var(--label-green-04,113 230 156));--mds-label-button-background-hover:rgb(var(--label-green-05,37 213 102));--mds-label-button-icon-color:rgb(var(--label-green-10,12 68 33));--mds-label-color:rgb(var(--label-green-10,12 68 33));--mds-label-icon-color:rgb(var(--label-green-10,12 68 33));--mds-label-selection-background:rgb(var(--label-green-08,20 116 56));--mds-label-selection-color:rgb(var(--label-green-02,211 247 224))}:host([variant=green]):host([tone=weak]){--mds-label-background:rgb(var(--label-green-08,20 116 56));--mds-label-button-background:rgb(var(--label-green-09,14 81 39));--mds-label-button-background-hover:rgb(var(--label-green-08,20 116 56));--mds-label-button-icon-color:rgb(var(--label-green-04,113 230 156));--mds-label-color:rgb(var(--label-green-02,211 247 224));--mds-label-icon-color:rgb(var(--label-green-02,211 247 224));--mds-label-selection-background:rgb(var(--label-green-06,30 171 82));--mds-label-selection-color:rgb(var(--label-green-10,12 68 33))}:host([variant=lime]){--mds-label-background:rgb(var(--label-lime-04,148 229 25));--mds-label-button-background:rgb(var(--label-lime-04,148 229 25));--mds-label-button-background-hover:rgb(var(--label-lime-05,134 207 22));--mds-label-button-icon-color:rgb(var(--label-lime-10,43 66 7));--mds-label-color:rgb(var(--label-lime-10,43 66 7));--mds-label-icon-color:rgb(var(--label-lime-10,43 66 7));--mds-label-selection-background:rgb(var(--label-lime-08,73 112 12));--mds-label-selection-color:rgb(var(--label-lime-02,223 247 185))}:host([variant=lime]):host([tone=weak]){--mds-label-background:rgb(var(--label-lime-08,73 112 12));--mds-label-button-background:rgb(var(--label-lime-09,51 79 8));--mds-label-button-background-hover:rgb(var(--label-lime-08,73 112 12));--mds-label-button-icon-color:rgb(var(--label-lime-04,148 229 25));--mds-label-color:rgb(var(--label-lime-02,223 247 185));--mds-label-icon-color:rgb(var(--label-lime-02,223 247 185));--mds-label-selection-background:rgb(var(--label-lime-06,108 167 18));--mds-label-selection-color:rgb(var(--label-lime-10,43 66 7))}:host([variant=orange]){--mds-label-background:rgb(var(--label-orange-04,252 196 158));--mds-label-button-background:rgb(var(--label-orange-04,252 196 158));--mds-label-button-background-hover:rgb(var(--label-orange-05,251 168 111));--mds-label-button-icon-color:rgb(var(--label-orange-10,99 42 3));--mds-label-color:rgb(var(--label-orange-10,99 42 3));--mds-label-icon-color:rgb(var(--label-orange-10,99 42 3));--mds-label-selection-background:rgb(var(--label-orange-08,167 71 4));--mds-label-selection-color:rgb(var(--label-orange-02,254 235 222))}:host([variant=orange]):host([tone=weak]){--mds-label-background:rgb(var(--label-orange-08,167 71 4));--mds-label-button-background:rgb(var(--label-orange-09,116 49 3));--mds-label-button-background-hover:rgb(var(--label-orange-08,167 71 4));--mds-label-button-icon-color:rgb(var(--label-orange-04,252 196 158));--mds-label-color:rgb(var(--label-orange-02,254 235 222));--mds-label-icon-color:rgb(var(--label-orange-02,254 235 222));--mds-label-selection-background:rgb(var(--label-orange-06,247 105 6));--mds-label-selection-color:rgb(var(--label-orange-10,99 42 3))}:host([variant=orchid]){--mds-label-background:rgb(var(--label-orchid-04,248 192 220));--mds-label-button-background:rgb(var(--label-orchid-04,248 192 220));--mds-label-button-background-hover:rgb(var(--label-orchid-05,245 163 203));--mds-label-button-icon-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-icon-color:rgb(var(--label-orchid-10,111 12 61));--mds-label-selection-background:rgb(var(--label-orchid-08,187 19 102));--mds-label-selection-color:rgb(var(--label-orchid-02,253 233 243))}:host([variant=orchid]):host([tone=weak]){--mds-label-background:rgb(var(--label-orchid-08,187 19 102));--mds-label-button-background:rgb(var(--label-orchid-09,131 14 71));--mds-label-button-background-hover:rgb(var(--label-orchid-08,187 19 102));--mds-label-button-icon-color:rgb(var(--label-orchid-04,248 192 220));--mds-label-color:rgb(var(--label-orchid-02,253 233 243));--mds-label-icon-color:rgb(var(--label-orchid-02,253 233 243));--mds-label-selection-background:rgb(var(--label-orchid-06,239 99 168));--mds-label-selection-color:rgb(var(--label-orchid-10,111 12 61))}:host([variant=sky]){--mds-label-background:rgb(var(--label-sky-04,148 217 249));--mds-label-button-background:rgb(var(--label-sky-04,148 217 249));--mds-label-button-background-hover:rgb(var(--label-sky-05,94 198 245));--mds-label-button-icon-color:rgb(var(--label-sky-10,5 63 90));--mds-label-color:rgb(var(--label-sky-10,5 63 90));--mds-label-icon-color:rgb(var(--label-sky-10,5 63 90));--mds-label-selection-background:rgb(var(--label-sky-08,9 107 152));--mds-label-selection-color:rgb(var(--label-sky-02,219 242 253))}:host([variant=sky]):host([tone=weak]){--mds-label-background:rgb(var(--label-sky-08,9 107 152));--mds-label-button-background:rgb(var(--label-sky-09,6 76 107));--mds-label-button-background-hover:rgb(var(--label-sky-08,9 107 152));--mds-label-button-icon-color:rgb(var(--label-sky-04,148 217 249));--mds-label-color:rgb(var(--label-sky-02,219 242 253));--mds-label-icon-color:rgb(var(--label-sky-02,219 242 253));--mds-label-selection-background:rgb(var(--label-sky-06,13 158 224));--mds-label-selection-color:rgb(var(--label-sky-10,5 63 90))}:host([variant=violet]){--mds-label-background:rgb(var(--label-violet-04,216 200 252));--mds-label-button-background:rgb(var(--label-violet-04,216 200 252));--mds-label-button-background-hover:rgb(var(--label-violet-05,198 175 251));--mds-label-button-icon-color:rgb(var(--label-violet-10,57 9 165));--mds-label-color:rgb(var(--label-violet-10,57 9 165));--mds-label-icon-color:rgb(var(--label-violet-10,57 9 165));--mds-label-selection-background:rgb(var(--label-violet-08,111 53 244));--mds-label-selection-color:rgb(var(--label-violet-02,241 235 254))}:host([variant=violet]):host([tone=weak]){--mds-label-background:rgb(var(--label-violet-08,111 53 244));--mds-label-button-background:rgb(var(--label-violet-09,67 11 195));--mds-label-button-background-hover:rgb(var(--label-violet-08,111 53 244));--mds-label-button-icon-color:rgb(var(--label-violet-04,216 200 252));--mds-label-color:rgb(var(--label-violet-02,241 235 254));--mds-label-icon-color:rgb(var(--label-violet-02,241 235 254));--mds-label-selection-background:rgb(var(--label-violet-06,166 129 248));--mds-label-selection-color:rgb(var(--label-violet-10,57 9 165))}:host([variant=purple]){--mds-label-background:rgb(var(--label-purple-04,225 196 252));--mds-label-button-background:rgb(var(--label-purple-04,225 196 252));--mds-label-button-background-hover:rgb(var(--label-purple-05,212 170 251));--mds-label-button-icon-color:rgb(var(--label-purple-10,78 7 146));--mds-label-color:rgb(var(--label-purple-10,78 7 146));--mds-label-icon-color:rgb(var(--label-purple-10,78 7 146));--mds-label-selection-background:rgb(var(--label-purple-08,133 17 244));--mds-label-selection-color:rgb(var(--label-purple-02,245 234 254))}:host([variant=purple]):host([tone=weak]){--mds-label-background:rgb(var(--label-purple-08,133 17 244));--mds-label-button-background:rgb(var(--label-purple-09,92 8 173));--mds-label-button-background-hover:rgb(var(--label-purple-08,133 17 244));--mds-label-button-icon-color:rgb(var(--label-purple-04,225 196 252));--mds-label-color:rgb(var(--label-purple-02,245 234 254));--mds-label-icon-color:rgb(var(--label-purple-02,245 234 254));--mds-label-selection-background:rgb(var(--label-purple-06,186 119 249));--mds-label-selection-color:rgb(var(--label-purple-10,78 7 146))}:host([variant=yellow]){--mds-label-background:rgb(var(--label-yellow-04,248 202 60));--mds-label-button-background:rgb(var(--label-yellow-04,248 202 60));--mds-label-button-background-hover:rgb(var(--label-yellow-05,234 179 8));--mds-label-button-icon-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-icon-color:rgb(var(--label-yellow-10,75 57 3));--mds-label-selection-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-selection-color:rgb(var(--label-yellow-02,253 238 190))}:host([variant=yellow]):host([tone=weak]){--mds-label-background:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-background:rgb(var(--label-yellow-09,89 68 3));--mds-label-button-background-hover:rgb(var(--label-yellow-08,127 97 4));--mds-label-button-icon-color:rgb(var(--label-yellow-04,248 202 60));--mds-label-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-icon-color:rgb(var(--label-yellow-02,253 238 190));--mds-label-selection-background:rgb(var(--label-yellow-06,188 143 6));--mds-label-selection-color:rgb(var(--label-yellow-10,75 57 3))}:host([variant=error]){--mds-label-background:rgb(var(--status-error-04,254 193 189));--mds-label-button-background:rgb(var(--status-error-04,254 193 189));--mds-label-button-background-hover:rgb(var(--status-error-05,250 165 160));--mds-label-button-icon-color:rgb(var(--status-error-10,115 0 0));--mds-label-color:rgb(var(--status-error-10,115 0 0));--mds-label-icon-color:rgb(var(--status-error-10,115 0 0));--mds-label-selection-background:rgb(var(--status-error-08,182 50 54));--mds-label-selection-color:rgb(var(--status-error-02,255 234 231))}:host([variant=error]):host([tone=weak]){--mds-label-background:rgb(var(--status-error-08,182 50 54));--mds-label-button-background:rgb(var(--status-error-09,135 0 14));--mds-label-button-background-hover:rgb(var(--status-error-08,182 50 54));--mds-label-button-icon-color:rgb(var(--status-error-04,254 193 189));--mds-label-color:rgb(var(--status-error-02,255 234 231));--mds-label-icon-color:rgb(var(--status-error-02,255 234 231));--mds-label-selection-background:rgb(var(--status-error-06,239 108 105));--mds-label-selection-color:rgb(var(--status-error-10,115 0 0))}:host([variant=warning]){--mds-label-background:rgb(var(--status-warning-04,255 200 33));--mds-label-button-background:rgb(var(--status-warning-04,255 200 33));--mds-label-button-background-hover:rgb(var(--status-warning-05,237 177 0));--mds-label-button-icon-color:rgb(var(--status-warning-10,77 57 0));--mds-label-color:rgb(var(--status-warning-10,77 57 0));--mds-label-icon-color:rgb(var(--status-warning-10,77 57 0));--mds-label-selection-background:rgb(var(--status-warning-08,129 96 0));--mds-label-selection-color:rgb(var(--status-warning-02,255 237 185))}:host([variant=warning]):host([tone=weak]){--mds-label-background:rgb(var(--status-warning-08,129 96 0));--mds-label-button-background:rgb(var(--status-warning-09,90 67 0));--mds-label-button-background-hover:rgb(var(--status-warning-08,129 96 0));--mds-label-button-icon-color:rgb(var(--status-warning-04,255 200 33));--mds-label-color:rgb(var(--status-warning-02,255 237 185));--mds-label-icon-color:rgb(var(--status-warning-02,255 237 185));--mds-label-selection-background:rgb(var(--status-warning-06,190 142 0));--mds-label-selection-color:rgb(var(--status-warning-10,77 57 0))}:host([variant=success]){--mds-label-background:rgb(var(--status-success-04,158 222 181));--mds-label-button-background:rgb(var(--status-success-04,158 222 181));--mds-label-button-background-hover:rgb(var(--status-success-05,107 206 147));--mds-label-button-icon-color:rgb(var(--status-success-10,0 69 0));--mds-label-color:rgb(var(--status-success-10,0 69 0));--mds-label-icon-color:rgb(var(--status-success-10,0 69 0));--mds-label-selection-background:rgb(var(--status-success-08,0 116 46));--mds-label-selection-color:rgb(var(--status-success-02,222 244 228))}:host([variant=success]):host([tone=weak]){--mds-label-background:rgb(var(--status-success-08,0 116 46));--mds-label-button-background:rgb(var(--status-success-09,0 82 9));--mds-label-button-background-hover:rgb(var(--status-success-08,0 116 46));--mds-label-button-icon-color:rgb(var(--status-success-04,158 222 181));--mds-label-color:rgb(var(--status-success-02,222 244 228));--mds-label-icon-color:rgb(var(--status-success-02,222 244 228));--mds-label-selection-background:rgb(var(--status-success-06,0 171 97));--mds-label-selection-color:rgb(var(--status-success-10,0 69 0))}:host([variant=info]){--mds-label-background:rgb(var(--status-info-04,159 216 241));--mds-label-button-background:rgb(var(--status-info-04,159 216 241));--mds-label-button-background-hover:rgb(var(--status-info-05,112 198 234));--mds-label-button-icon-color:rgb(var(--status-info-10,0 61 103));--mds-label-color:rgb(var(--status-info-10,0 61 103));--mds-label-icon-color:rgb(var(--status-info-10,0 61 103));--mds-label-selection-background:rgb(var(--status-info-08,0 107 151));--mds-label-selection-color:rgb(var(--status-info-02,222 242 250))}:host([variant=info]):host([tone=weak]){--mds-label-background:rgb(var(--status-info-08,0 107 151));--mds-label-button-background:rgb(var(--status-info-09,0 73 116));--mds-label-button-background-hover:rgb(var(--status-info-08,0 107 151));--mds-label-button-icon-color:rgb(var(--status-info-04,159 216 241));--mds-label-color:rgb(var(--status-info-02,222 242 250));--mds-label-icon-color:rgb(var(--status-info-02,222 242 250));--mds-label-selection-background:rgb(var(--status-info-06,0 161 208));--mds-label-selection-color:rgb(var(--status-info-10,0 61 103))}:host([pref-theme=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-theme])),:host([pref-theme=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}}'}},[1,"mds-label",{label:[513],variant:[513],tone:[513],truncate:[513],typography:[1],deletable:[4],prefContrast:[32],prefTheme:[32],prefThemeScheme:[32],language:[32],updateLang:[64]}]),p=k,w=function(){"undefined"!=typeof customElements&&["mds-label","mds-button","mds-icon","mds-spinner","mds-text"].forEach((l=>{switch(l){case"mds-label":customElements.get(b(l))||customElements.define(b(l),k);break;case"mds-button":customElements.get(b(l))||d();break;case"mds-icon":customElements.get(b(l))||g();break;case"mds-spinner":customElements.get(b(l))||i();break;case"mds-text":customElements.get(b(l))||u()}}))};export{p as MdsLabel,w as defineCustomElement}
1
+ import{p as a,H as l,d as r,h as e,c as o,t as b}from"./p-BhFTcUD0.js";import{m as t}from"./p-BJ8rpzfj.js";import{K as s}from"./p-KRu9I7dw.js";import{L as n}from"./p-Bss3F51Q.js";import{p as c}from"./p-CvIFS8oA.js";import{d}from"./p-CVgKDZPF.js";import{d as m}from"./p-CatD1iUY.js";import{d as g}from"./p-C58NKMEE.js";import{d as i}from"./p-B9DJLgwr.js";var v={remove:"Αφαίρεση"},u={remove:"Remove"},h={remove:"Rimuovi"};const k=a(class extends l{constructor(a){super(),!1!==a&&this.__registerHost(),this.__attachShadow(),this.deletedEvent=r(this,"mdsLabelDelete",7),this.km=new s,this.t=new n({el:v,en:u,es:u,it:h}),this.variant="sky",this.tone="weak",this.truncate="word",this.typography="caption",this.deletable=!1,this.onClickDelete=a=>{a.stopPropagation(),a.preventDefault(),this.deletedEvent.emit()},this.handleKeyboard=()=>{var a;if(this.deletable){const l=null===(a=this.host.shadowRoot)||void 0===a?void 0:a.querySelector(".close");return this.km.addElement(l),void this.km.attachClickBehavior()}this.km.detachClickBehavior()}}componentDidLoad(){this.handleKeyboard()}componentDidUpdate(){this.handleKeyboard()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return e(o,{key:"9177a8ed67a2662ae7e29ce13819912d9dc50470","pref-contrast":c.state.contrast,"pref-mode":c.state.mode,"pref-theme-scheme":c.state["theme-scheme"]},e("mds-text",{key:"0fe3a6eac88d617e99414857c564cfceb8b3164f",class:"text",truncate:this.truncate,typography:this.typography},this.label),this.deletable&&e("mds-button",{key:"484fbcdf5086f0335ca6165abf6466cb0b037e77",class:"button-close",icon:t,onClick:this.onClickDelete,title:this.t.get("remove"),size:"sm"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),:is(mds-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-label-background:rgb(var(--label-yellow-09,251 221 131));--mds-label-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-icon-color:var(--mds-label-color,rgb(var(--label-blue-02,7 39 192)));--mds-label-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-label-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-label-button-background:#0000;--mds-label-button-background-hover:rgb(var(--label-yellow-07,239 183 8));--mds-label-button-icon-color:rgb(var(--label-yellow-03,112 85 4));--private-bevel-size:calc(var(--spacing,.0025rem)*900);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-label-background,rgb(var(--label-blue-08,200 210 253)));border-radius:var(--magma-radius-full,var(--radius-full,1000px));color:var(--mds-label-color,rgb(var(--label-blue-02,7 39 192)));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));corner-shape:var(--magma-corner-shape,squircle);align-items:center;display:flex;fill:var(--mds-label-icon-color,rgb(var(--label-blue-02,7 39 192)));flex:1;gap:calc(var(--spacing,.0025rem)*50);max-width:min-content;min-height:calc(var(--spacing,.0025rem)*700);padding:0 calc(var(--spacing,.0025rem)*200);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:color,background-color,fill;--mds-label-background:rgb(var(--label-blue-08,200 210 253));--mds-label-button-background-hover:rgb(var(--label-blue-09,216 222 254));--mds-label-button-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-label-color:rgb(var(--label-blue-02,7 39 192));--mds-label-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-label-selection-background:rgb(var(--label-blue-06,149 166 251));--mds-label-selection-color:rgb(var(--label-blue-10,233 236 254))}@supports (corner-shape:bevel){:host{corner-left-shape:superellipse(.25);corner-right-shape:var(--magma-corner-shape,squircle);align-items:stretch;padding-left:calc(var(--private-bevel-size)/2);padding-right:0}}:host::selection{background-color:var(--mds-label-selection-background,rgb(var(--label-blue-06,149 166 251)));color:var(--mds-label-selection-color,rgb(var(--label-blue-10,233 236 254)))}:host([truncate=word]) .text{white-space:nowrap}.text{--mds-text-selection-background:var(--mds-label-selection-background,rgb(var(--label-blue-06,149 166 251)));--mds-text-selection-color:var(--mds-label-selection-color,rgb(var(--label-blue-10,233 236 254)));align-self:center;display:block;flex-grow:1}.text:last-child{padding-right:calc(var(--spacing,.0025rem)*200)}.button-close{--mds-button-background:var(--mds-label-button-background,#0000);--mds-button-border-opacity:0;align-self:center;fill:var(--mds-label-button-icon-color,rgb(var(--label-blue-04,63 94 248)));flex-shrink:0}.button-close:hover{--mds-button-background:var(--mds-label-button-background-hover,rgb(var(--label-blue-08,200 210 253)))}:host([variant=red]){--mds-label-background:rgb(var(--label-red-04,212 28 28));--mds-label-button-background-hover:rgb(var(--label-red-05,230 66 66));--mds-label-button-icon-color:rgb(var(--label-red-10,252 233 233));--mds-label-color:rgb(var(--label-red-10,252 233 233));--mds-label-icon-color:rgb(var(--label-red-10,252 233 233));--mds-label-selection-background:rgb(var(--label-red-08,248 201 201));--mds-label-selection-color:rgb(var(--label-red-02,131 17 17))}:host([variant=red]):host([tone=weak]){--mds-label-background:rgb(var(--label-red-08,248 201 201));--mds-label-button-background-hover:rgb(var(--label-red-09,250 215 215));--mds-label-button-icon-color:rgb(var(--label-red-04,212 28 28));--mds-label-color:rgb(var(--label-red-02,131 17 17));--mds-label-icon-color:rgb(var(--label-red-02,131 17 17));--mds-label-selection-background:rgb(var(--label-red-06,241 144 144));--mds-label-selection-color:rgb(var(--label-red-10,252 233 233))}:host([variant=amaranth]){--mds-label-background:rgb(var(--label-amaranth-04,213 12 47));--mds-label-button-background-hover:rgb(var(--label-amaranth-05,242 37 72));--mds-label-button-icon-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-icon-color:rgb(var(--label-amaranth-10,254 232 236));--mds-label-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-label-selection-color:rgb(var(--label-amaranth-02,131 8 29))}:host([variant=amaranth]):host([tone=weak]){--mds-label-background:rgb(var(--label-amaranth-08,252 197 207));--mds-label-button-background-hover:rgb(var(--label-amaranth-09,253 214 221));--mds-label-button-icon-color:rgb(var(--label-amaranth-04,213 12 47));--mds-label-color:rgb(var(--label-amaranth-02,131 8 29));--mds-label-icon-color:rgb(var(--label-amaranth-02,131 8 29));--mds-label-selection-background:rgb(var(--label-amaranth-06,248 138 157));--mds-label-selection-color:rgb(var(--label-amaranth-10,254 232 236))}:host([variant=aqua]){--mds-label-background:rgb(var(--label-aqua-04,4 122 143));--mds-label-button-background-hover:rgb(var(--label-aqua-05,5 141 165));--mds-label-button-icon-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-icon-color:rgb(var(--label-aqua-10,199 245 253));--mds-label-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-label-selection-color:rgb(var(--label-aqua-02,2 75 88))}:host([variant=aqua]):host([tone=weak]){--mds-label-background:rgb(var(--label-aqua-08,99 229 251));--mds-label-button-background-hover:rgb(var(--label-aqua-09,151 237 252));--mds-label-button-icon-color:rgb(var(--label-aqua-04,4 122 143));--mds-label-color:rgb(var(--label-aqua-02,2 75 88));--mds-label-icon-color:rgb(var(--label-aqua-02,2 75 88));--mds-label-selection-background:rgb(var(--label-aqua-06,6 186 217));--mds-label-selection-color:rgb(var(--label-aqua-10,199 245 253))}:host([variant=blue]){--mds-label-background:rgb(var(--label-blue-04,63 94 248));--mds-label-button-background-hover:rgb(var(--label-blue-05,90 117 249));--mds-label-button-icon-color:rgb(var(--label-blue-10,233 236 254));--mds-label-color:rgb(var(--label-blue-10,233 236 254));--mds-label-icon-color:rgb(var(--label-blue-10,233 236 254));--mds-label-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-label-selection-color:rgb(var(--label-blue-02,7 39 192))}:host([variant=blue]):host([tone=weak]){--mds-label-background:rgb(var(--label-blue-08,200 210 253));--mds-label-button-background-hover:rgb(var(--label-blue-09,216 222 254));--mds-label-button-icon-color:rgb(var(--label-blue-04,63 94 248));--mds-label-color:rgb(var(--label-blue-02,7 39 192));--mds-label-icon-color:rgb(var(--label-blue-02,7 39 192));--mds-label-selection-background:rgb(var(--label-blue-06,149 166 251));--mds-label-selection-color:rgb(var(--label-blue-10,233 236 254))}:host([variant=green]){--mds-label-background:rgb(var(--label-green-04,22 128 61));--mds-label-button-background-hover:rgb(var(--label-green-05,26 148 71));--mds-label-button-icon-color:rgb(var(--label-green-10,206 247 221));--mds-label-color:rgb(var(--label-green-10,206 247 221));--mds-label-icon-color:rgb(var(--label-green-10,206 247 221));--mds-label-selection-background:rgb(var(--label-green-08,125 232 164));--mds-label-selection-color:rgb(var(--label-green-02,14 80 38))}:host([variant=green]):host([tone=weak]){--mds-label-background:rgb(var(--label-green-08,125 232 164));--mds-label-button-background-hover:rgb(var(--label-green-09,165 240 193));--mds-label-button-icon-color:rgb(var(--label-green-04,22 128 61));--mds-label-color:rgb(var(--label-green-02,14 80 38));--mds-label-icon-color:rgb(var(--label-green-02,14 80 38));--mds-label-selection-background:rgb(var(--label-green-06,34 195 93));--mds-label-selection-color:rgb(var(--label-green-10,206 247 221))}:host([variant=lime]){--mds-label-background:rgb(var(--label-lime-04,81 124 13));--mds-label-button-background-hover:rgb(var(--label-lime-05,93 143 15));--mds-label-button-icon-color:rgb(var(--label-lime-10,219 247 178));--mds-label-color:rgb(var(--label-lime-10,219 247 178));--mds-label-icon-color:rgb(var(--label-lime-10,219 247 178));--mds-label-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-label-selection-color:rgb(var(--label-lime-02,49 76 8))}:host([variant=lime]):host([tone=weak]){--mds-label-background:rgb(var(--label-lime-08,159 232 46));--mds-label-button-background-hover:rgb(var(--label-lime-09,189 239 111));--mds-label-button-icon-color:rgb(var(--label-lime-04,81 124 13));--mds-label-color:rgb(var(--label-lime-02,49 76 8));--mds-label-icon-color:rgb(var(--label-lime-02,49 76 8));--mds-label-selection-background:rgb(var(--label-lime-06,123 189 20));--mds-label-selection-color:rgb(var(--label-lime-10,219 247 178))}:host([variant=orange]){--mds-label-background:rgb(var(--label-orange-04,185 78 5));--mds-label-button-background-hover:rgb(var(--label-orange-05,213 90 5));--mds-label-button-icon-color:rgb(var(--label-orange-10,254 233 219));--mds-label-color:rgb(var(--label-orange-10,254 233 219));--mds-label-icon-color:rgb(var(--label-orange-10,254 233 219));--mds-label-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-label-selection-color:rgb(var(--label-orange-02,114 48 3))}:host([variant=orange]):host([tone=weak]){--mds-label-background:rgb(var(--label-orange-08,253 201 166));--mds-label-button-background-hover:rgb(var(--label-orange-09,253 217 191));--mds-label-button-icon-color:rgb(var(--label-orange-04,185 78 5));--mds-label-color:rgb(var(--label-orange-02,114 48 3));--mds-label-icon-color:rgb(var(--label-orange-02,114 48 3));--mds-label-selection-background:rgb(var(--label-orange-06,250 143 69));--mds-label-selection-color:rgb(var(--label-orange-10,254 233 219))}:host([variant=orchid]){--mds-label-background:rgb(var(--label-orchid-04,206 21 113));--mds-label-button-background-hover:rgb(var(--label-orchid-05,233 44 137));--mds-label-button-icon-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-icon-color:rgb(var(--label-orchid-10,253 231 242));--mds-label-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-label-selection-color:rgb(var(--label-orchid-02,127 13 70))}:host([variant=orchid]):host([tone=weak]){--mds-label-background:rgb(var(--label-orchid-08,249 197 223));--mds-label-button-background-hover:rgb(var(--label-orchid-09,251 213 232));--mds-label-button-icon-color:rgb(var(--label-orchid-04,206 21 113));--mds-label-color:rgb(var(--label-orchid-02,127 13 70));--mds-label-icon-color:rgb(var(--label-orchid-02,127 13 70));--mds-label-selection-background:rgb(var(--label-orchid-06,243 137 189));--mds-label-selection-color:rgb(var(--label-orchid-10,253 231 242))}:host([variant=sky]){--mds-label-background:rgb(var(--label-sky-04,10 118 167));--mds-label-button-background-hover:rgb(var(--label-sky-05,12 136 193));--mds-label-button-icon-color:rgb(var(--label-sky-10,217 241 253));--mds-label-color:rgb(var(--label-sky-10,217 241 253));--mds-label-icon-color:rgb(var(--label-sky-10,217 241 253));--mds-label-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-label-selection-color:rgb(var(--label-sky-02,6 73 104))}:host([variant=sky]):host([tone=weak]){--mds-label-background:rgb(var(--label-sky-08,157 220 249));--mds-label-button-background-hover:rgb(var(--label-sky-09,185 231 251));--mds-label-button-icon-color:rgb(var(--label-sky-04,10 118 167));--mds-label-color:rgb(var(--label-sky-02,6 73 104));--mds-label-icon-color:rgb(var(--label-sky-02,6 73 104));--mds-label-selection-background:rgb(var(--label-sky-06,47 182 243));--mds-label-selection-color:rgb(var(--label-sky-10,217 241 253))}:host([variant=violet]){--mds-label-background:rgb(var(--label-violet-04,126 73 245));--mds-label-button-background-hover:rgb(var(--label-violet-05,145 100 246));--mds-label-button-icon-color:rgb(var(--label-violet-10,240 234 254));--mds-label-color:rgb(var(--label-violet-10,240 234 254));--mds-label-icon-color:rgb(var(--label-violet-10,240 234 254));--mds-label-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-label-selection-color:rgb(var(--label-violet-02,65 11 190))}:host([variant=violet]):host([tone=weak]){--mds-label-background:rgb(var(--label-violet-08,219 205 252));--mds-label-button-background-hover:rgb(var(--label-violet-09,229 218 253));--mds-label-button-icon-color:rgb(var(--label-violet-04,126 73 245));--mds-label-color:rgb(var(--label-violet-02,65 11 190));--mds-label-icon-color:rgb(var(--label-violet-02,65 11 190));--mds-label-selection-background:rgb(var(--label-violet-06,184 156 250));--mds-label-selection-color:rgb(var(--label-violet-10,240 234 254))}:host([variant=purple]){--mds-label-background:rgb(var(--label-purple-04,150 51 245));--mds-label-button-background-hover:rgb(var(--label-purple-05,168 86 247));--mds-label-button-icon-color:rgb(var(--label-purple-10,244 233 254));--mds-label-color:rgb(var(--label-purple-10,244 233 254));--mds-label-icon-color:rgb(var(--label-purple-10,244 233 254));--mds-label-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-label-selection-color:rgb(var(--label-purple-02,90 8 168))}:host([variant=purple]):host([tone=weak]){--mds-label-background:rgb(var(--label-purple-08,228 202 252));--mds-label-button-background-hover:rgb(var(--label-purple-09,235 216 253));--mds-label-button-icon-color:rgb(var(--label-purple-04,150 51 245));--mds-label-color:rgb(var(--label-purple-02,90 8 168));--mds-label-icon-color:rgb(var(--label-purple-02,90 8 168));--mds-label-selection-background:rgb(var(--label-purple-06,201 149 250));--mds-label-selection-color:rgb(var(--label-purple-10,244 233 254))}:host([variant=yellow]){--mds-label-background:rgb(var(--label-yellow-04,141 107 5));--mds-label-button-background-hover:rgb(var(--label-yellow-05,161 124 6));--mds-label-button-icon-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-icon-color:rgb(var(--label-yellow-10,253 236 186));--mds-label-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-label-selection-color:rgb(var(--label-yellow-02,87 67 3))}:host([variant=yellow]):host([tone=weak]){--mds-label-background:rgb(var(--label-yellow-08,249 207 78));--mds-label-button-background-hover:rgb(var(--label-yellow-09,251 221 131));--mds-label-button-icon-color:rgb(var(--label-yellow-04,141 107 5));--mds-label-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-icon-color:rgb(var(--label-yellow-02,87 67 3));--mds-label-selection-background:rgb(var(--label-yellow-06,214 163 7));--mds-label-selection-color:rgb(var(--label-yellow-10,253 236 186))}:host([variant=error]){--mds-label-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-label-button-background-hover:rgb(var(--magma-danger-emphasis-hover,var(--status-error-03,165 33 40)));--mds-label-button-icon-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-icon-color:rgb(var(--magma-danger-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-selection-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-label-selection-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)))}:host([variant=error]):host([tone=weak]){--mds-label-background:rgb(var(--magma-danger-wash-strong,var(--status-error-08,254 198 194)));--mds-label-button-background-hover:rgb(var(--magma-danger-wash-base,var(--status-error-09,255 214 211)));--mds-label-button-icon-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)));--mds-label-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-label-icon-color:rgb(var(--magma-danger-text-muted,var(--text-error-muted,132 0 11)));--mds-label-selection-background:rgb(var(--magma-danger-border-strong,var(--border-error-strong,218 96 93)));--mds-label-selection-color:rgb(var(--magma-danger-text-default,var(--text-error-default,89 0 0)))}:host([variant=warning]){--mds-label-background:rgb(var(--magma-warning-emphasis,var(--status-warning-04,142 106 0)));--mds-label-button-background-hover:rgb(var(--magma-warning-emphasis-hover,var(--status-warning-03,113 85 0)));--mds-label-button-icon-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-icon-color:rgb(var(--magma-warning-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-selection-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-label-selection-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)))}:host([variant=warning]):host([tone=weak]){--mds-label-background:rgb(var(--magma-warning-wash-strong,var(--status-warning-08,255 205 57)));--mds-label-button-background-hover:rgb(var(--magma-warning-wash-base,var(--status-warning-09,255 220 117)));--mds-label-button-icon-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)));--mds-label-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-label-icon-color:rgb(var(--magma-warning-text-muted,var(--text-warning-muted,88 66 0)));--mds-label-selection-background:rgb(var(--magma-warning-border-strong,var(--border-warning-strong,184 130 0)));--mds-label-selection-color:rgb(var(--magma-warning-text-default,var(--text-warning-default,58 44 0)))}:host([variant=success]){--mds-label-background:rgb(var(--magma-success-emphasis,var(--status-success-04,0 128 57)));--mds-label-button-background-hover:rgb(var(--magma-success-emphasis-hover,var(--status-success-03,0 102 32)));--mds-label-button-icon-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-icon-color:rgb(var(--magma-success-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-selection-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-label-selection-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)))}:host([variant=success]):host([tone=weak]){--mds-label-background:rgb(var(--magma-success-wash-strong,var(--status-success-08,165 225 186)));--mds-label-button-background-hover:rgb(var(--magma-success-wash-base,var(--status-success-09,191 233 205)));--mds-label-button-icon-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)));--mds-label-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-label-icon-color:rgb(var(--magma-success-text-muted,var(--text-success-muted,0 80 7)));--mds-label-selection-background:rgb(var(--magma-success-border-strong,var(--border-success-strong,17 166 98)));--mds-label-selection-color:rgb(var(--magma-success-text-default,var(--text-success-default,0 53 0)))}:host([variant=info]){--mds-label-background:rgb(var(--magma-info-emphasis,var(--status-info-04,0 119 164)));--mds-label-button-background-hover:rgb(var(--magma-info-emphasis-hover,var(--status-info-03,0 94 137)));--mds-label-button-icon-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-icon-color:rgb(var(--magma-info-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-label-selection-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-label-selection-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)))}:host([variant=info]):host([tone=weak]){--mds-label-background:rgb(var(--magma-info-wash-strong,var(--status-info-08,168 219 242)));--mds-label-button-background-hover:rgb(var(--magma-info-wash-base,var(--status-info-09,193 230 246)));--mds-label-button-icon-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)));--mds-label-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-label-icon-color:rgb(var(--magma-info-text-muted,var(--text-info-muted,0 71 114)));--mds-label-selection-background:rgb(var(--magma-info-border-strong,var(--border-info-strong,18 154 196)));--mds-label-selection-color:rgb(var(--magma-info-text-default,var(--text-info-default,0 45 86)))}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}@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)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}}'}},[1,"mds-label",{label:[513],variant:[513],tone:[513],truncate:[513],typography:[1],deletable:[4]}]),p=k,w=function(){"undefined"!=typeof customElements&&["mds-label","mds-button","mds-icon","mds-spinner","mds-text"].forEach((a=>{switch(a){case"mds-label":customElements.get(b(a))||customElements.define(b(a),k);break;case"mds-button":customElements.get(b(a))||d();break;case"mds-icon":customElements.get(b(a))||m();break;case"mds-spinner":customElements.get(b(a))||g();break;case"mds-text":customElements.get(b(a))||i()}}))};export{p as MdsLabel,w as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as r,Host as a,transformTag as s}from"@stencil/core/internal/client";import{s as i}from"./preference.js";import{d as o}from"./mds-icon2.js";import{d as n}from"./mds-text2.js";const c=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.typography="detail",this.variant="info"}connectedCallback(){this.unsubscribePrefContrast=i("contrast",(t=>{this.prefContrast=t}))}disconnectedCallback(){var t;null===(t=this.unsubscribePrefContrast)||void 0===t||t.call(this)}render(){var t;return r(a,{key:"247b701acbdd9b8844fdef598aa7366cc4c9c414",role:"listitem","pref-contrast":this.prefContrast},r("mds-icon",{key:"bf0ec570af51dfaed18739dca7a4c200fcfae54d","aria-hidden":"true",class:"icon",name:null!==(t=this.icon)&&void 0!==t?t:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n',part:"icon"}),r("mds-text",{key:"734184dfef9a5daeb904027700873aa2bd322114",tag:"span",typography:this.typography,variant:this.variant,part:"text"},r("slot",{key:"a5dfd173440c8f6fd9cda1a05e1e76ddd4976f40"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0}}}: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-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;color:rgb(var(--tone-neutral-03,233 233 233));display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:-.125rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:-.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:-.5rem calc(var(--spacing,.0025rem)*200) 0 0}:host([pref-contrast=more]){color:rgb(var(--tone-neutral-01,255 255 255))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--tone-neutral-01,255 255 255))}}"}},[257,"mds-list-item",{typography:[513],variant:[1],icon:[1],prefContrast:[32]}]),m=c,d=function(){"undefined"!=typeof customElements&&["mds-list-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-list-item":customElements.get(s(t))||customElements.define(s(t),c);break;case"mds-icon":customElements.get(s(t))||o();break;case"mds-text":customElements.get(s(t))||n()}}))};export{m as MdsListItem,d as defineCustomElement}
1
+ import{p as t,H as a,h as e,c as s,t as r}from"./p-BhFTcUD0.js";import{p as i}from"./p-CvIFS8oA.js";import{d as o}from"./p-CatD1iUY.js";import{d as m}from"./p-B9DJLgwr.js";const n=t(class extends a{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.typography="detail",this.variant="info"}render(){var t;return e(s,{key:"e45d38b86c1ca78472f2c83275619c05ce953cf1",role:"listitem","pref-contrast":i.state.contrast},e("mds-icon",{key:"51fba8d99361a34ca4a75fe5ec63c2f051fb9c17","aria-hidden":"true",class:"icon",name:null!==(t=this.icon)&&void 0!==t?t:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\n <path d="M12 17a5 5 0 1 0 0-10 5 5 0 0 0 0 10"/>\n</svg>\n',part:"icon"}),e("mds-text",{key:"982450227111ed4a34be3a993abc54652ee7487f",tag:"span",typography:this.typography,variant:this.variant,part:"text"},e("slot",{key:"08bcf57ca2c7bc92944ceeaf2d0681b0984ff40b"})))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;: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-list-item-icon-margin:0 calc(var(--spacing,.0025rem)*200) 0 0;align-items:flex-start;color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));display:flex;justify-content:flex-start;width:100%}.icon{fill:currentColor;height:calc(var(--spacing,.0025rem)*600);margin:var(--mds-list-item-icon-margin,0 calc(var(--spacing,.0025rem)*200) 0 0);width:calc(var(--spacing,.0025rem)*600)}:host([typography=paragraph]){--mds-list-item-icon-margin:.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=caption]){--mds-list-item-icon-margin:-.125rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=label]),:host([typography=tip]){--mds-list-item-icon-margin:-.25rem calc(var(--spacing,.0025rem)*200) 0 0}:host([typography=option]){--mds-list-item-icon-margin:-.5rem calc(var(--spacing,.0025rem)*200) 0 0}:host([pref-contrast=more]){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){color:rgb(var(--magma-text-default,var(--magma-tint-text-default,var(--text-neutral-default,5 5 5))))}}"}},[257,"mds-list-item",{typography:[513],variant:[1],icon:[1]}]),c=n,d=function(){"undefined"!=typeof customElements&&["mds-list-item","mds-icon","mds-text"].forEach((t=>{switch(t){case"mds-list-item":customElements.get(r(t))||customElements.define(r(t),n);break;case"mds-icon":customElements.get(r(t))||o();break;case"mds-text":customElements.get(r(t))||m()}}))};export{c as MdsListItem,d as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as e,h as s,Host as i,transformTag as a}from"@stencil/core/internal/client";const n=t(class extends e{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return s(i,{key:"61a4dc9195da0950bbf27a0403e37cfda7ba20ba",role:"list"},s("slot",{key:"f698fed656a47046f0b04bb9ce2f4f53a7c76033"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-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{display:grid;gap:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}"}},[257,"mds-list"]),r=n,o=function(){"undefined"!=typeof customElements&&["mds-list"].forEach((t=>{"mds-list"===t&&(customElements.get(a(t))||customElements.define(a(t),n))}))};export{r as MdsList,o as defineCustomElement}
1
+ import{p as t,H as s,h as e,c as a,t as i}from"./p-BhFTcUD0.js";const d=t(class extends s{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow()}render(){return e(a,{key:"61a4dc9195da0950bbf27a0403e37cfda7ba20ba",role:"list"},e("slot",{key:"f698fed656a47046f0b04bb9ce2f4f53a7c76033"}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;:host(:not(:is([hydrated],.hydrated))),mds-list-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{display:grid;gap:calc(var(--spacing,.0025rem)*400);padding-left:calc(var(--spacing,.0025rem)*400)}ul{margin:0;padding:0}"}},[257,"mds-list"]),o=d,r=function(){"undefined"!=typeof customElements&&["mds-list"].forEach((t=>{"mds-list"===t&&(customElements.get(i(t))||customElements.define(i(t),d))}))};export{o as MdsList,r as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as s,h as t,Host as i,transformTag as n}from"@stencil/core/internal/client";import{m as r}from"./cancel.js";import{d as a}from"./mds-button2.js";import{d as o}from"./mds-icon2.js";import{d as c}from"./mds-spinner2.js";import{d}from"./mds-text2.js";const m=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.size="sm",this.sizeTypography={sm:"caption",md:"detail",lg:"h6"}}render(){var e;return t(i,{key:"47999ac9e8ee8efc5ca6a680a83681dd4f2d4010"},t("mds-icon",{key:"c8a9fceeef02c8501f9d65c90b4be304dad57318",name:void 0!==this.icon&&""!==this.icon?this.icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>'}),t("mds-text",{key:"1cb65d52dc8ebd0582197a7dd9a7259c9dfdf41a",typography:this.sizeTypography[null!==(e=this.size)&&void 0!==e?e:"md"]},"lg"===this.size?this.label:t("b",null,this.label)),t("mds-button",{key:"35c8ec7025eb109f514a3d6d99a4716a86968081",class:"action-remove",title:"Remove",variant:"dark",tone:"text",size:"sm",icon:r}))}static get style(){return"@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}}}: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-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--tone-neutral-09,76 76 76));border-radius:100px;color:rgb(var(--tone-neutral-03,233 233 233));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .badge{padding-left:calc(var(--spacing,.0025rem)*50);padding-right:calc(var(--spacing,.0025rem)*150)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}:host([size=md]) .badge{padding-right:calc(var(--spacing,.0025rem)*200)}.action-remove{corner-shape:round;border-radius:100px;min-height:0;min-width:0;padding:0}"}},[1,"mds-mention",{icon:[513],label:[513],size:[513]}]),l=m,h=function(){"undefined"!=typeof customElements&&["mds-mention","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-mention":customElements.get(n(e))||customElements.define(n(e),m);break;case"mds-button":customElements.get(n(e))||a();break;case"mds-icon":customElements.get(n(e))||o();break;case"mds-spinner":customElements.get(n(e))||c();break;case"mds-text":customElements.get(n(e))||d()}}))};export{l as MdsMention,h as defineCustomElement}
1
+ import{p as e,H as s,d as t,h as i,c as a,t as r}from"./p-BhFTcUD0.js";import{m as n}from"./p-BJ8rpzfj.js";import{L as m}from"./p-Bss3F51Q.js";import{d as c}from"./p-CVgKDZPF.js";import{d as o}from"./p-CatD1iUY.js";import{d}from"./p-C58NKMEE.js";import{d as l}from"./p-B9DJLgwr.js";var h={remove:"Αφαίρεση"},p={remove:"Remove"},g={remove:"Eliminar"},v={remove:"Rimuovi"};const u=e(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=t(this,"mdsMentionDelete",7),this.t=new m({el:h,en:p,es:g,it:v}),this.size="sm",this.sizeTypography={sm:"caption",md:"detail",lg:"h6"},this.onDeleteHandler=e=>{e.stopPropagation(),this.deleteEvent.emit({event:e,element:this.host})}}render(){var e,s;return i(a,{key:"c72d5a9b3a0c9af73da6749236f332c34a4a8ecd"},i("mds-icon",{key:"3702acf811e4c80e05efbc3d50bc8a7402475042",name:void 0!==this.icon&&""!==this.icon?this.icon:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10h5v-2h-5c-4.34 0-8-3.66-8-8s3.66-8 8-8s8 3.66 8 8v1.43c0 .79-.71 1.57-1.5 1.57s-1.5-.78-1.5-1.57V12c0-2.76-2.24-5-5-5s-5 2.24-5 5s2.24 5 5 5c1.38 0 2.64-.56 3.54-1.47c.65.89 1.77 1.47 2.96 1.47c1.97 0 3.5-1.6 3.5-3.57V12c0-5.52-4.48-10-10-10zm0 13c-1.66 0-3-1.34-3-3s1.34-3 3-3s3 1.34 3 3s-1.34 3-3 3z"/></svg>'}),i("mds-text",{key:"7727b1962062628017c88e85e129922b5fbec63d",typography:this.sizeTypography[null!==(e=this.size)&&void 0!==e?e:"md"]},"lg"===this.size?this.label:i("b",null,this.label)),this.deletable&&i("mds-button",{key:"f0923dd375fcf930d2f5375c01ce8a45ac5770ec",class:"action-remove",icon:n,onClick:this.onDeleteHandler,size:"sm",title:`${this.t.get("remove")} ${null!==(s=this.label)&&void 0!==s?s:""}`.trim(),tone:"text",variant:"dark"}))}get host(){return this}static get style(){return"@layer reset,vendor,theme,base,components,utilities;: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-mention-icon-size:calc(var(--spacing,.0025rem)*600);align-items:center;background-color:rgb(var(--magma-wash-base,var(--magma-tint-scale-09,var(--tone-neutral-09,225 225 225))));border-radius:var(--radius-full,1000px);color:rgb(var(--magma-text-muted,var(--magma-tint-text-muted,var(--text-neutral-muted,73 73 73))));cursor:pointer;display:inline-flex;fill:currentColor;padding:calc(var(--spacing,.0025rem)*25);padding-right:calc(var(--spacing,.0025rem)*200);vertical-align:middle}mds-icon{height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}:host([deletable]){padding-right:calc(var(--spacing,.0025rem)*25)}:host([size=sm]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*400)}:host([size=sm]) .badge{padding-left:calc(var(--spacing,.0025rem)*50);padding-right:calc(var(--spacing,.0025rem)*150)}:host([size=md]){--mds-mention-icon-size:calc(var(--spacing,.0025rem)*600)}:host([size=md]) .badge{padding-right:calc(var(--spacing,.0025rem)*200)}.action-remove{border-radius:var(--radius-full,1000px);corner-shape:round;flex-shrink:0;height:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600));margin-left:calc(var(--spacing,.0025rem)*50);min-height:0;min-width:0;padding:0;width:var(--mds-mention-icon-size,calc(var(--spacing,.0025rem)*600))}"}},[1,"mds-mention",{deletable:[516],icon:[513],label:[513],size:[513]}]),b=u,f=function(){"undefined"!=typeof customElements&&["mds-mention","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-mention":customElements.get(r(e))||customElements.define(r(e),u);break;case"mds-button":customElements.get(r(e))||c();break;case"mds-icon":customElements.get(r(e))||o();break;case"mds-spinner":customElements.get(r(e))||d();break;case"mds-text":customElements.get(r(e))||l()}}))};export{b as MdsMention,f as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./mds-modal2.js";const m=o,a=s;export{m as MdsModal,a as defineCustomElement}
1
+ import{M as o,d as s}from"./p-Deh5Aia-.js";const a=o,p=s;export{a as MdsModal,p as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as e,HTMLElement as o,createEvent as r,h as t,Host as a,transformTag as l}from"@stencil/core/internal/client";import{m as n}from"./close.js";import{K as s}from"./keyboard-manager.js";import{L as i}from"./locale.js";import{s as b}from"./preference.js";import{d}from"./mds-button2.js";import{d as c}from"./mds-icon2.js";import{d as m}from"./mds-spinner2.js";import{d as g}from"./mds-text2.js";var h={deleteLabel:"Αφαίρεση"},v={deleteLabel:"Remove"},u={deleteLabel:"Eliminar"},p={deleteLabel:"Rimuovi"};const f=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=r(this,"mdsNoteDelete",7),this.km=new s,this.t=new i({el:h,en:v,es:u,it:p}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()}}async updateLang(){this.language=this.t.lang(this.host)}connectedCallback(){this.unsubscribePrefAnimation=b("animation",(e=>{this.prefAnimation=e})),this.unsubscribePrefContrast=b("contrast",(e=>{this.prefContrast=e})),this.unsubscribePrefTheme=b("theme",(e=>{this.prefTheme=e})),this.unsubscribePrefThemeScheme=b("theme-scheme",(e=>{this.prefThemeScheme=e}))}componentWillLoad(){this.t.lang(this.host)}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}componentDidUpdate(){if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}disconnectedCallback(){var e,o,r,t;null===(e=this.unsubscribePrefAnimation)||void 0===e||e.call(this),null===(o=this.unsubscribePrefContrast)||void 0===o||o.call(this),null===(r=this.unsubscribePrefTheme)||void 0===r||r.call(this),null===(t=this.unsubscribePrefThemeScheme)||void 0===t||t.call(this),this.km.detachClickBehavior()}render(){return t(a,{key:"eb8a1e0ee1b4989458e677f9cda903466a268a01",role:"note","pref-animation":this.prefAnimation,"pref-contrast":this.prefContrast,"pref-theme":this.prefTheme,"pref-theme-scheme":this.prefThemeScheme},this.deletable&&t("mds-button",{key:"4902bb9fbabcacd895c61b01c8a9bbde6eeb889c",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),t("slot",{key:"bbf71de4e782ea38d7f395ab8a791d7833df8bb5",name:"title"}),t("slot",{key:"2f2d98ff620cc664316d7dd87505e9d7cc4db543"}),t("div",{key:"2f1fe1b333b697c162c478c02f313119c76e49d4","aria-hidden":"true",class:"fold"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-note-background:rgb(var(--label-yellow-10,75 57 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-fold-color:rgb(var(--tone-neutral-10,60 60 60));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--tw-ease:initial}}}: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-note-fold-size{syntax:"<length>";inherits:false;initial-value:40px}:host{--mds-note-background:rgb(var(--label-yellow-10,75 57 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-fold-color:rgb(var(--tone-neutral-10,60 60 60));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,75 57 3)));border-radius:.25rem;color:var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190)));display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;-webkit-transition-duration:var(--private-note-transition-duration);transition-duration:var(--private-note-transition-duration);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-yellow-09,89 68 3))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-yellow-02,253 238 190))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--tone-neutral-10,60 60 60))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--radius-full,1000px);cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,253 238 190)));padding:calc(var(--spacing,.0025rem)*100);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--tone-neutral,0 0 0)/.5)}.title{align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400)}.title .button-close{margin-left:auto}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,135 8 30));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-selection-color:rgb(var(--label-amaranth-04,251 192 203))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,3 77 90));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-selection-color:rgb(var(--label-aqua-04,81 225 250))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,7 40 196));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-08,42 77 247));--mds-note-selection-color:rgb(var(--label-blue-04,196 206 253))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,14 81 39));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-08,20 116 56));--mds-note-selection-color:rgb(var(--label-green-04,113 230 156))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,51 79 8));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-08,73 112 12));--mds-note-selection-color:rgb(var(--label-lime-04,148 229 25))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,116 49 3));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-08,167 71 4));--mds-note-selection-color:rgb(var(--label-orange-04,252 196 158))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,131 14 71));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-selection-color:rgb(var(--label-orchid-04,248 192 220))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,6 76 107));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-08,9 107 152));--mds-note-selection-color:rgb(var(--label-sky-04,148 217 249))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,67 11 195));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-08,111 53 244));--mds-note-selection-color:rgb(var(--label-violet-04,216 200 252))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,89 68 3));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-selection-color:rgb(var(--label-yellow-04,248 202 60))}:host([pref-animation=reduce]){--private-note-transition-duration:0s}:host([pref-theme=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-outline) inset;box-shadow:var(--shadow-outline) inset}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-fold-color:rgb(var(--label-amaranth-06,246 99 125));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-07,239 14 52));--mds-note-selection-color:rgb(var(--label-amaranth-03,253 217 223))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-fold-color:rgb(var(--label-aqua-06,5 163 190));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-07,5 137 160));--mds-note-selection-color:rgb(var(--label-aqua-03,158 238 252))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,42 77 247));--mds-note-fold-color:rgb(var(--label-blue-06,121 143 250));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-07,85 113 249));--mds-note-selection-color:rgb(var(--label-blue-03,218 224 254))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,20 116 56));--mds-note-fold-color:rgb(var(--label-green-06,30 171 82));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-07,25 145 69));--mds-note-selection-color:rgb(var(--label-green-03,173 241 198))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,73 112 12));--mds-note-fold-color:rgb(var(--label-lime-06,108 167 18));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-07,90 139 15));--mds-note-selection-color:rgb(var(--label-lime-03,193 241 122))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,167 71 4));--mds-note-fold-color:rgb(var(--label-orange-06,247 105 6));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-07,208 88 5));--mds-note-selection-color:rgb(var(--label-orange-03,253 219 196))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-fold-color:rgb(var(--label-orchid-06,239 99 168));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-07,231 28 129));--mds-note-selection-color:rgb(var(--label-orchid-03,251 216 234))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,9 107 152));--mds-note-fold-color:rgb(var(--label-sky-06,13 158 224));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-07,11 133 188));--mds-note-selection-color:rgb(var(--label-sky-03,191 232 251))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,111 53 244));--mds-note-fold-color:rgb(var(--label-violet-06,166 129 248));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-07,141 95 246));--mds-note-selection-color:rgb(var(--label-violet-03,231 221 253))}:host([pref-theme=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-fold-color:rgb(var(--label-yellow-06,188 143 6));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-07,158 120 5));--mds-note-selection-color:rgb(var(--label-yellow-03,251 224 142))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-note-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) inset;box-shadow:var(--shadow-outline) inset}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,193 11 42));--mds-note-fold-color:rgb(var(--label-amaranth-06,246 99 125));--mds-note-color:rgb(var(--label-amaranth-02,254 233 237));--mds-note-selection-background:rgb(var(--label-amaranth-07,239 14 52));--mds-note-selection-color:rgb(var(--label-amaranth-03,253 217 223))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,4 110 129));--mds-note-fold-color:rgb(var(--label-aqua-06,5 163 190));--mds-note-color:rgb(var(--label-aqua-02,203 246 254));--mds-note-selection-background:rgb(var(--label-aqua-07,5 137 160));--mds-note-selection-color:rgb(var(--label-aqua-03,158 238 252))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,42 77 247));--mds-note-fold-color:rgb(var(--label-blue-06,121 143 250));--mds-note-color:rgb(var(--label-blue-02,234 238 254));--mds-note-selection-background:rgb(var(--label-blue-07,85 113 249));--mds-note-selection-color:rgb(var(--label-blue-03,218 224 254))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,20 116 56));--mds-note-fold-color:rgb(var(--label-green-06,30 171 82));--mds-note-color:rgb(var(--label-green-02,211 247 224));--mds-note-selection-background:rgb(var(--label-green-07,25 145 69));--mds-note-selection-color:rgb(var(--label-green-03,173 241 198))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,73 112 12));--mds-note-fold-color:rgb(var(--label-lime-06,108 167 18));--mds-note-color:rgb(var(--label-lime-02,223 247 185));--mds-note-selection-background:rgb(var(--label-lime-07,90 139 15));--mds-note-selection-color:rgb(var(--label-lime-03,193 241 122))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,167 71 4));--mds-note-fold-color:rgb(var(--label-orange-06,247 105 6));--mds-note-color:rgb(var(--label-orange-02,254 235 222));--mds-note-selection-background:rgb(var(--label-orange-07,208 88 5));--mds-note-selection-color:rgb(var(--label-orange-03,253 219 196))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,187 19 102));--mds-note-fold-color:rgb(var(--label-orchid-06,239 99 168));--mds-note-color:rgb(var(--label-orchid-02,253 233 243));--mds-note-selection-background:rgb(var(--label-orchid-07,231 28 129));--mds-note-selection-color:rgb(var(--label-orchid-03,251 216 234))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,9 107 152));--mds-note-fold-color:rgb(var(--label-sky-06,13 158 224));--mds-note-color:rgb(var(--label-sky-02,219 242 253));--mds-note-selection-background:rgb(var(--label-sky-07,11 133 188));--mds-note-selection-color:rgb(var(--label-sky-03,191 232 251))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,111 53 244));--mds-note-fold-color:rgb(var(--label-violet-06,166 129 248));--mds-note-color:rgb(var(--label-violet-02,241 235 254));--mds-note-selection-background:rgb(var(--label-violet-07,141 95 246));--mds-note-selection-color:rgb(var(--label-violet-03,231 221 253))}:is(:host([pref-theme=system]:not([pref-theme-scheme=light])),:host(:not([pref-theme]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,127 97 4));--mds-note-fold-color:rgb(var(--label-yellow-06,188 143 6));--mds-note-color:rgb(var(--label-yellow-02,253 238 190));--mds-note-selection-background:rgb(var(--label-yellow-07,158 120 5));--mds-note-selection-color:rgb(var(--label-yellow-03,251 224 142))}}@media (prefers-contrast:more){:host(:not([pref-contrast])),:host([pref-contrast=system]){-webkit-box-shadow:var(--shadow-outline-50) inset;box-shadow:var(--shadow-outline-50) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'}},[257,"mds-note",{deletable:[4],variant:[513],prefAnimation:[32],prefContrast:[32],prefTheme:[32],prefThemeScheme:[32],language:[32],updateLang:[64]}]),k=f,y=function(){"undefined"!=typeof customElements&&["mds-note","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-note":customElements.get(l(e))||customElements.define(l(e),f);break;case"mds-button":customElements.get(l(e))||d();break;case"mds-icon":customElements.get(l(e))||c();break;case"mds-spinner":customElements.get(l(e))||m();break;case"mds-text":customElements.get(l(e))||g()}}))};export{k as MdsNote,y as defineCustomElement}
1
+ import{p as e,H as o,d as r,h as a,c as t,t as l}from"./p-BhFTcUD0.js";import{m as n}from"./p-J-ikDhyq.js";import{K as s}from"./p-KRu9I7dw.js";import{L as b}from"./p-Bss3F51Q.js";import{p as d}from"./p-CvIFS8oA.js";import{d as i}from"./p-CVgKDZPF.js";import{d as m}from"./p-CatD1iUY.js";import{d as c}from"./p-C58NKMEE.js";import{d as g}from"./p-B9DJLgwr.js";var v={deleteLabel:"Αφαίρεση"},h={deleteLabel:"Remove"},u={deleteLabel:"Eliminar"},p={deleteLabel:"Rimuovi"};const f=e(class extends o{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.deleteEvent=r(this,"mdsNoteDelete",7),this.km=new s,this.t=new b({el:v,en:h,es:u,it:p}),this.deletable=!1,this.variant="yellow",this.onClickClose=()=>{this.deleteEvent.emit()}}componentDidLoad(){this.km.addElement(this.host),this.km.attachClickBehavior()}componentDidUpdate(){if(this.deletable)return this.km.addElement(this.host),void this.km.attachClickBehavior();this.km.detachClickBehavior()}disconnectedCallback(){this.km.detachClickBehavior()}render(){return a(t,{key:"834eb96c0cefd2758cf3c6d0e202031e7b050b40",role:"note","pref-animation":d.state.animation,"pref-contrast":d.state.contrast,"pref-mode":d.state.mode,"pref-theme-scheme":d.state["theme-scheme"]},this.deletable&&a("mds-button",{key:"f7e74b040a88d1509eece4348230331e4d570068",title:this.t.get("deleteLabel"),icon:n,class:"button-close",variant:"dark",tone:"text",onClick:this.onClickClose}),a("slot",{key:"5e107d543fd238ab2e65f6fc8a8f4e6ab7861a67",name:"title"}),a("slot",{key:"afa35d6ba742b9e99d057ecc0ed252cd344b1a6d"}),a("div",{key:"5c94a3d5154fc4743ac862faee7c41b36969ab1f","aria-hidden":"true",class:"fold"}))}get host(){return this}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),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-note-background:rgb(var(--label-yellow-10,253 236 186));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-fold-color:rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))));--mds-note-fold-size:40px;--mds-note-selection-background:var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251)));--mds-note-selection-color:var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68)));--mds-note-transition-duration:var(--duration-300,.3s);--private-note-transition-duration:var(--mds-note-transition-duration);--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));background-color:var(--mds-note-background,rgb(var(--label-yellow-10,253 236 186)));border-radius:var(--radius-3xs,4px);color:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));display:grid;gap:calc(var(--spacing,.0025rem)*200);overflow:hidden;padding:calc(var(--spacing,.0025rem)*600);position:relative;-webkit-transition-duration:var(--private-note-transition-duration);transition-duration:var(--private-note-transition-duration);transition-property:color,background-color;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1))}:host ::slotted(mds-text){--mds-text-selection-background:var(--mds-note-selection-background,var(--magma-selection-background,rgb(var(--label-sky-09,185 231 251))));--mds-text-selection-color:var(--mds-note-selection-color,var(--magma-selection-color,rgb(var(--label-sky-01,4 48 68))))}:host([deletable]:not([deletable=false])){padding-right:calc(var(--spacing,.0025rem)*1600)}:host([deletable]:not([deletable=false])) .button-close{position:absolute;right:calc(var(--spacing,.0025rem)*400);top:calc(var(--spacing,.0025rem)*400)}.fold{border-color:#0000 #0000 var(--mds-note-fold-color,rgb(var(--magma-wash-soft,var(--magma-tint-scale-10,var(--tone-neutral-10,237 237 237))))) #0000;border-style:solid;border-width:0 0 var(--mds-note-fold-size,40px) var(--mds-note-fold-size,40px);bottom:0;display:block;filter:drop-shadow(0 0 var(--mds-note-fold-size,40px) var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3))));height:0;opacity:.4;pointer-events:none;position:absolute;right:0;-webkit-transition-duration:inherit;transition-duration:inherit;transition-property:border;width:0}.button-close{--tw-ease:var(--ease-out,cubic-bezier(0,0,.2,1));background-color:#0000;border-radius:var(--radius-full,1000px);cursor:pointer;fill:var(--mds-note-color,rgb(var(--label-yellow-02,87 67 3)));padding:calc(var(--spacing,.0025rem)*100);-webkit-transition-duration:var(--duration-200,.2s);transition-duration:var(--duration-200,.2s);transition-property:background-color,fill,outline,outline-offset;transition-timing-function:var(--ease-out,cubic-bezier(0,0,.2,1))}.button-close:hover{background-color:rgb(var(--magma-surface-overlay,var(--magma-tint-overlay,var(--surface-neutral-overlay,255 255 255)))/.5)}.title{align-items:flex-start;display:flex;gap:calc(var(--spacing,.0025rem)*400)}.title .button-close{margin-left:auto}:host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-09,253 214 221));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-selection-color:rgb(var(--label-amaranth-04,213 12 47))}:host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-09,151 237 252));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-selection-color:rgb(var(--label-aqua-04,4 122 143))}:host([variant=blue]){--mds-note-background:rgb(var(--label-blue-09,216 222 254));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-08,200 210 253));--mds-note-selection-color:rgb(var(--label-blue-04,63 94 248))}:host([variant=green]){--mds-note-background:rgb(var(--label-green-09,165 240 193));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-08,125 232 164));--mds-note-selection-color:rgb(var(--label-green-04,22 128 61))}:host([variant=lime]){--mds-note-background:rgb(var(--label-lime-09,189 239 111));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-08,159 232 46));--mds-note-selection-color:rgb(var(--label-lime-04,81 124 13))}:host([variant=orange]){--mds-note-background:rgb(var(--label-orange-09,253 217 191));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-08,253 201 166));--mds-note-selection-color:rgb(var(--label-orange-04,185 78 5))}:host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-09,251 213 232));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-selection-color:rgb(var(--label-orchid-04,206 21 113))}:host([variant=purple]){--mds-note-background:rgb(var(--label-purple-09,235 216 253));--mds-note-color:rgb(var(--label-purple-02,90 8 168));--mds-note-selection-background:rgb(var(--label-purple-08,228 202 252));--mds-note-selection-color:rgb(var(--label-purple-04,150 51 245))}:host([variant=red]){--mds-note-background:rgb(var(--label-red-09,250 215 215));--mds-note-color:rgb(var(--label-red-02,131 17 17));--mds-note-selection-background:rgb(var(--label-red-08,248 201 201));--mds-note-selection-color:rgb(var(--label-red-04,212 28 28))}:host([variant=sky]){--mds-note-background:rgb(var(--label-sky-09,185 231 251));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-08,157 220 249));--mds-note-selection-color:rgb(var(--label-sky-04,10 118 167))}:host([variant=violet]){--mds-note-background:rgb(var(--label-violet-09,229 218 253));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-08,219 205 252));--mds-note-selection-color:rgb(var(--label-violet-04,126 73 245))}:host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-09,251 221 131));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-selection-color:rgb(var(--label-yellow-04,141 107 5))}: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-note-transition-duration:0s}:host([pref-mode=dark]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:host([pref-mode=dark]:not([pref-theme-scheme=light])):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}:host([pref-contrast=more]){-webkit-box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:host([pref-contrast=more]) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}@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-note-transition-duration:0s}}@media (prefers-color-scheme:dark){:host(:not([pref-mode])),:host([pref-mode=system]:not([pref-theme-scheme=light])){-webkit-box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset;box-shadow:var(--shadow-ring,0 0 0 1px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=amaranth]){--mds-note-background:rgb(var(--label-amaranth-08,252 197 207));--mds-note-fold-color:rgb(var(--label-amaranth-06,248 138 157));--mds-note-color:rgb(var(--label-amaranth-02,131 8 29));--mds-note-selection-background:rgb(var(--label-amaranth-07,250 170 183));--mds-note-selection-color:rgb(var(--label-amaranth-03,170 10 37))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=aqua]){--mds-note-background:rgb(var(--label-aqua-08,99 229 251));--mds-note-fold-color:rgb(var(--label-aqua-06,6 186 217));--mds-note-color:rgb(var(--label-aqua-02,2 75 88));--mds-note-selection-background:rgb(var(--label-aqua-07,7 208 243));--mds-note-selection-color:rgb(var(--label-aqua-03,3 97 114))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=blue]){--mds-note-background:rgb(var(--label-blue-08,200 210 253));--mds-note-fold-color:rgb(var(--label-blue-06,149 166 251));--mds-note-color:rgb(var(--label-blue-02,7 39 192));--mds-note-selection-background:rgb(var(--label-blue-07,175 189 252));--mds-note-selection-color:rgb(var(--label-blue-03,11 51 246))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=green]){--mds-note-background:rgb(var(--label-green-08,125 232 164));--mds-note-fold-color:rgb(var(--label-green-06,34 195 93));--mds-note-color:rgb(var(--label-green-02,14 80 38));--mds-note-selection-background:rgb(var(--label-green-07,44 218 108));--mds-note-selection-color:rgb(var(--label-green-03,18 103 49))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=lime]){--mds-note-background:rgb(var(--label-lime-08,159 232 46));--mds-note-fold-color:rgb(var(--label-lime-06,123 189 20));--mds-note-color:rgb(var(--label-lime-02,49 76 8));--mds-note-selection-background:rgb(var(--label-lime-07,137 211 23));--mds-note-selection-color:rgb(var(--label-lime-03,64 99 11))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orange]){--mds-note-background:rgb(var(--label-orange-08,253 201 166));--mds-note-fold-color:rgb(var(--label-orange-06,250 143 69));--mds-note-color:rgb(var(--label-orange-02,114 48 3));--mds-note-selection-background:rgb(var(--label-orange-07,252 174 121));--mds-note-selection-color:rgb(var(--label-orange-03,147 63 4))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=orchid]){--mds-note-background:rgb(var(--label-orchid-08,249 197 223));--mds-note-fold-color:rgb(var(--label-orchid-06,243 137 189));--mds-note-color:rgb(var(--label-orchid-02,127 13 70));--mds-note-selection-background:rgb(var(--label-orchid-07,246 169 207));--mds-note-selection-color:rgb(var(--label-orchid-03,165 17 90))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=sky]){--mds-note-background:rgb(var(--label-sky-08,157 220 249));--mds-note-fold-color:rgb(var(--label-sky-06,47 182 243));--mds-note-color:rgb(var(--label-sky-02,6 73 104));--mds-note-selection-background:rgb(var(--label-sky-07,106 203 246));--mds-note-selection-color:rgb(var(--label-sky-03,8 94 133))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=violet]){--mds-note-background:rgb(var(--label-violet-08,219 205 252));--mds-note-fold-color:rgb(var(--label-violet-06,184 156 250));--mds-note-color:rgb(var(--label-violet-02,65 11 190));--mds-note-selection-background:rgb(var(--label-violet-07,202 181 251));--mds-note-selection-color:rgb(var(--label-violet-03,87 20 242))}:is(:host([pref-mode=system]:not([pref-theme-scheme=light])),:host(:not([pref-mode]))):host([variant=yellow]){--mds-note-background:rgb(var(--label-yellow-08,249 207 78));--mds-note-fold-color:rgb(var(--label-yellow-06,214 163 7));--mds-note-color:rgb(var(--label-yellow-02,87 67 3));--mds-note-selection-background:rgb(var(--label-yellow-07,239 183 8));--mds-note-selection-color:rgb(var(--label-yellow-03,112 85 4))}}@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)) inset;box-shadow:var(--shadow-ring-2,0 0 0 2px rgb(var(--tone-neutral-01,5 5 5)/.3)) inset}:is(:host([pref-contrast=system]),:host(:not([pref-contrast]))) .fold{bottom:calc(var(--spacing,.0025rem)*50);right:calc(var(--spacing,.0025rem)*50)}}'}},[257,"mds-note",{deletable:[4],variant:[513]}]),k=f,y=function(){"undefined"!=typeof customElements&&["mds-note","mds-button","mds-icon","mds-spinner","mds-text"].forEach((e=>{switch(e){case"mds-note":customElements.get(l(e))||customElements.define(l(e),f);break;case"mds-button":customElements.get(l(e))||i();break;case"mds-icon":customElements.get(l(e))||m();break;case"mds-spinner":customElements.get(l(e))||c();break;case"mds-text":customElements.get(l(e))||g()}}))};export{k as MdsNote,y as defineCustomElement}
@@ -1 +1 @@
1
- import{proxyCustomElement as t,HTMLElement as i,h as a,Host as n,transformTag as o}from"@stencil/core/internal/client";import{s}from"./preference.js";import{o as e,s as r,c as d,d as c}from"./floating-ui.dom.js";import{d as f}from"./mds-text2.js";const l=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=[],i="disabled"===this.strategy?"absolute":"fixed";t.push(e(0)),t.push(r({padding:0})),d(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:t+"px",top:i+"px"})}))},this.clean=t=>0===t||isNaN(t)?"":void 0!==this.max&&0!==this.max&&!Number.isNaN(this.max)&&t>this.max?"+"+Number(this.max).toLocaleString():Number(t).toLocaleString()}connectedCallback(){this.unsubscribePrefAnimation=s("animation",(t=>{this.prefAnimation=t}))}componentDidRender(){if(""===this.target)return void(this.strategy="disabled");const t=document.querySelector(this.target);if(null==t)throw Error("No valid target found");this.caller=t}componentDidLoad(){"disabled"!==this.strategy&&""!==this.target&&null==this.cleanupAutoUpdate&&setTimeout((()=>{this.cleanupAutoUpdate=c(this.caller,this.host,this.updatePosition)}),100)}disconnectedCallback(){var t;null===(t=this.unsubscribePrefAnimation)||void 0===t||t.call(this),this.cleanupAutoUpdate=()=>{}}strategyHandler(t){"disabled"===t&&(this.cleanupAutoUpdate=()=>{})}render(){var t;return a(n,{key:"6f224fcb0e2aa7a9b0c2b43f0fd13dce05ee5c64","aria-labelledby":this.target,"aria-label":null!==(t=this.value)&&void 0!==t?t:"0","pref-animation":this.prefAnimation},a("mds-text",{key:"22c5441fd70f730a9696208688463ef36e8396e7",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))}get host(){return this}static get watchers(){return{strategy:[{strategyHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--mds-notification-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-dot-background:rgb(var(--status-error-05,250 165 160));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}@property --mds-notification-dot-padding{syntax:"<length>";inherits:false;initial-value:6px}@property --mds-notification-ring-size{syntax:"<length>";inherits:false;initial-value:2px}@property --mds-notification-size{syntax:"<length>";inherits:false;initial-value:20px}@property --mds-notification-transition-duration{syntax:"<time>";inherits:false;initial-value:.2s}@property --mds-notification-translate-offset-x{syntax:"<number>";inherits:false;initial-value:-1.75}@property --mds-notification-translate-offset-y{syntax:"<number>";inherits:false;initial-value:-2}:host{--mds-notification-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-dot-background:rgb(var(--status-error-05,250 165 160));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--tone-neutral,0 0 0));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--private-notification-transition-duration:var(--mds-notification-transition-duration,.2s);--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--radius-full,1000px);bottom:100%;color:var(--mds-notification-color,rgb(var(--tone-neutral,0 0 0)));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;-webkit-transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);-webkit-transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;-webkit-transition-duration:var(--private-notification-transition-duration);transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;-webkit-transition-timing-function:var(--mds-notification-transition-timing-function);transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--status-error-05,250 165 160)));border-radius:var(--radius-full,1000px);-webkit-box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--tone-neutral,0 0 0)));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--tone-neutral,0 0 0)));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,var(--mds-notification-size,20px));padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;-webkit-transition-duration:var(--private-notification-dot-transition-duration);transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,var(--mds-notification-size,20px))}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(1);transform:var(--mds-notification-translate,translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)))) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);-webkit-transform-origin:unset;transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}:host([pref-animation=reduce]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}@property --tw-ease{syntax:"*";inherits:false}@media (prefers-reduced-motion:reduce){:host(:not([pref-animation])),:host([pref-animation=system]){--private-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}'}},[1,"mds-notification",{target:[1],value:[1538],dismissed:[1540],strategy:[1537],max:[514],prefAnimation:[32]},void 0,{strategy:[{strategyHandler:0}]}]),m=l,p=function(){"undefined"!=typeof customElements&&["mds-notification","mds-text"].forEach((t=>{switch(t){case"mds-notification":customElements.get(o(t))||customElements.define(o(t),l);break;case"mds-text":customElements.get(o(t))||f()}}))};export{m as MdsNotification,p as defineCustomElement}
1
+ import{p as t,H as i,h as a,c as n,t as o}from"./p-BhFTcUD0.js";import{p as s}from"./p-CvIFS8oA.js";import{o as e,s as r,c as d,d as m}from"./p-CHAGzQT-.js";import{d as c}from"./p-B9DJLgwr.js";const f=t(class extends i{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.value=0,this.dismissed=!1,this.strategy="fixed",this.placement="right-start",this.updatePosition=()=>{const t=[],i="disabled"===this.strategy?"absolute":"fixed";t.push(e(0)),t.push(r({padding:0})),d(this.caller,this.host,{middleware:t,placement:this.placement,strategy:i}).then((({x:t,y:i})=>{Object.assign(this.host.style,{left:t+"px",top:i+"px"})}))},this.clean=t=>0===t||isNaN(t)?"":void 0!==this.max&&0!==this.max&&!Number.isNaN(this.max)&&t>this.max?"+"+Number(this.max).toLocaleString():Number(t).toLocaleString()}componentDidRender(){if(""===this.target)return void(this.strategy="disabled");const t=document.querySelector(this.target);if(null==t)return console.warn("mds-notification: no valid target found: "+this.target),void(this.strategy="disabled");this.caller=t}componentDidLoad(){"disabled"!==this.strategy&&""!==this.target&&null==this.cleanupAutoUpdate&&setTimeout((()=>{this.cleanupAutoUpdate=m(this.caller,this.host,this.updatePosition)}),100)}disconnectedCallback(){this.cleanupAutoUpdate=()=>{}}strategyHandler(t){"disabled"===t&&(this.cleanupAutoUpdate=()=>{})}render(){var t;return a(n,{key:"5bfd87ef1cb2958966986af0146414ee844e1b62","aria-labelledby":this.target,"aria-label":null!==(t=this.value)&&void 0!==t?t:"0","pref-animation":s.state.animation},a("mds-text",{key:"8bc7cdde24f617591a8824a6e2600bdc764fee7a",typography:"caption",class:"dot","aria-hidden":"true"},this.clean(this.value)))}get host(){return this}static get watchers(){return{strategy:[{strategyHandler:0}]}}static get style(){return'@layer reset,vendor,theme,base,components,utilities;@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-ease:initial}}}:host(:not(:is([hydrated],.hydrated))),mds-text:not(:is([hydrated],.hydrated)){animation-duration:0s;border-color:#0000;box-shadow:0 0 #0000;opacity:0;outline-color:#0000;transition-delay:.1s;transition-duration:0s;visibility:hidden}:host{--mds-notification-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-notification-dot-background:rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65)));--mds-notification-dot-padding:6px;--mds-notification-min-width:var(--mds-notification-size,20px);--mds-notification-ring-color:rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255))));--mds-notification-ring-size:2px;--mds-notification-size:20px;--mds-notification-transition-duration:.2s;--private-notification-transition-duration:var(--mds-notification-transition-duration,.2s);--mds-notification-dot-transition-duration:var(--duration-300,.3s);--private-notification-dot-transition-duration:var(--mds-notification-dot-transition-duration);--mds-notification-transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));--mds-notification-translate-offset-x:-1.75;--mds-notification-translate-offset-y:-2;--mds-notification-translate:translate(calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-x,-1.75)),calc(var(--mds-notification-size,20px)/var(--mds-notification-translate-offset-y,-2)));align-items:center;border-radius:var(--radius-full,1000px);bottom:100%;color:var(--mds-notification-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));display:inline-flex;height:var(--mds-notification-size,20px);justify-content:flex-end;min-width:max-content;pointer-events:none;width:var(--mds-notification-size,20px);z-index:10}:host([strategy=absolute]),:host([strategy=fixed]){opacity:0;right:100%;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);-webkit-transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;transform-origin:calc(100% - var(--mds-notification-size,20px)/2) 50%;-webkit-transition-duration:var(--private-notification-transition-duration);transition-duration:var(--private-notification-transition-duration);transition-property:color,height,opacity,transform,width;-webkit-transition-timing-function:var(--mds-notification-transition-timing-function);transition-timing-function:var(--mds-notification-transition-timing-function)}:host([strategy=absolute]){position:absolute}:host([strategy=fixed]){position:fixed}.dot{--tw-ease:var(--ease-in-out,cubic-bezier(.4,0,.2,1));align-items:center;background-color:var(--mds-notification-dot-background,rgb(var(--magma-danger-emphasis,var(--status-error-04,196 64 65))));border-radius:var(--radius-full,1000px);-webkit-box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));box-shadow:0 0 0 var(--mds-notification-ring-size,2px) var(--mds-notification-ring-color,rgb(var(--magma-text-on-emphasis,var(--magma-tint-text-on-emphasis,var(--tone-neutral-seed,255 255 255)))));box-sizing:border-box;display:inline-flex;justify-content:center;line-height:var(--mds-notification-size,20px);min-height:var(--mds-notification-size,20px);min-width:var(--mds-notification-min-width,20px);padding-left:var(--mds-notification-dot-padding,6px);padding-right:var(--mds-notification-dot-padding,6px);position:static;-webkit-transition-duration:var(--private-notification-dot-transition-duration);transition-duration:var(--private-notification-dot-transition-duration);transition-property:background-color,color,box-shadow;transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));white-space:nowrap}:host([strategy=absolute]) .dot,:host([strategy=fixed]) .dot{position:absolute}.spacer{box-sizing:border-box;display:inline-flex;height:var(--mds-notification-size,20px);width:var(--mds-notification-min-width,20px)}:host([dismissed]:not([dismissed=false])[strategy=absolute]),:host([dismissed]:not([dismissed=false])[strategy=fixed]){--tw-ease:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(0);transition-timing-function:var(--ease-in-cubic,cubic-bezier(.55,.055,.675,.19))}:host([strategy=absolute]:not([dismissed])),:host([strategy=absolute][dismissed=false]),:host([strategy=fixed]:not([dismissed])),:host([strategy=fixed][dismissed=false]){--tw-ease:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1));opacity:1;-webkit-transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transform:var(--mds-notification-translate,translate(-11.42857px,-10px)) scale(1);transition-timing-function:var(--ease-out-cubic,cubic-bezier(.215,.61,.355,1))}:host(:not([target])),:host([strategy=disabled]){opacity:1;position:static;transform:scale(1);-webkit-transform-origin:unset;transform-origin:unset;transition-duration:0s}:host(:not([target])) .dot,:host([strategy=disabled]) .dot{position:static}: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-notification-transition-duration:0s;--private-notification-dot-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-notification-transition-duration:0s;--private-notification-dot-transition-duration:0s}}'}},[1,"mds-notification",{target:[1],value:[1538],dismissed:[1540],strategy:[1537],max:[514]},void 0,{strategy:[{strategyHandler:0}]}]),p=f,h=function(){"undefined"!=typeof customElements&&["mds-notification","mds-text"].forEach((t=>{switch(t){case"mds-notification":customElements.get(o(t))||customElements.define(o(t),f);break;case"mds-text":customElements.get(o(t))||c()}}))};export{p as MdsNotification,h as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as s}from"./mds-paginator-item2.js";const t=o,a=s;export{t as MdsPaginatorItem,a as defineCustomElement}
1
+ import{M as s,d as o}from"./p-cBZsPiMJ.js";const p=s,r=o;export{p as MdsPaginatorItem,r as defineCustomElement}