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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1639) hide show
  1. package/README.md +37 -4
  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/locale.it-CfUV2hxK.js +515 -0
  12. package/dist/cjs/magma-components.cjs.js +31 -4
  13. package/dist/cjs/mds-accordion-item.cjs.entry.js +7 -28
  14. package/dist/cjs/mds-accordion-timer-item.cjs.entry.js +8 -17
  15. package/dist/cjs/mds-accordion-timer.cjs.entry.js +3 -3
  16. package/dist/cjs/mds-accordion.cjs.entry.js +5 -22
  17. package/dist/cjs/mds-author.cjs.entry.js +9 -4
  18. package/dist/cjs/mds-avatar-stack-item.cjs.entry.js +2 -2
  19. package/dist/cjs/mds-avatar-stack.cjs.entry.js +5 -4
  20. package/dist/cjs/mds-avatar.cjs.entry.js +8 -21
  21. package/dist/cjs/mds-badge.cjs.entry.js +5 -26
  22. package/dist/cjs/mds-banner_3.cjs.entry.js +35 -70
  23. package/dist/cjs/mds-benchmark-bar.cjs.entry.js +2 -2
  24. package/dist/cjs/mds-bibliography.cjs.entry.js +2 -2
  25. package/dist/cjs/mds-breadcrumb-item.cjs.entry.js +3 -3
  26. package/dist/cjs/mds-breadcrumb.cjs.entry.js +7 -15
  27. package/dist/cjs/mds-button-dropdown.cjs.entry.js +3 -3
  28. package/dist/cjs/mds-button-group.cjs.entry.js +3 -3
  29. package/dist/cjs/mds-button_3.cjs.entry.js +10 -32
  30. package/dist/cjs/mds-calendar_2.cjs.entry.js +123 -102
  31. package/dist/cjs/mds-card-content.cjs.entry.js +2 -2
  32. package/dist/cjs/mds-card-footer.cjs.entry.js +2 -2
  33. package/dist/cjs/mds-card-header.cjs.entry.js +9 -4
  34. package/dist/cjs/mds-card-media.cjs.entry.js +2 -2
  35. package/dist/cjs/mds-card.cjs.entry.js +4 -21
  36. package/dist/cjs/mds-details.cjs.entry.js +8 -18
  37. package/dist/cjs/mds-dropdown.cjs.entry.js +184 -58
  38. package/dist/cjs/mds-emoji.cjs.entry.js +301 -181
  39. package/dist/cjs/mds-entity.cjs.entry.js +11 -23
  40. package/dist/cjs/mds-file-preview.cjs.entry.js +9 -37
  41. package/dist/cjs/mds-file.cjs.entry.js +7 -35
  42. package/dist/cjs/mds-filter-item.cjs.entry.js +6 -25
  43. package/dist/cjs/mds-filter.cjs.entry.js +19 -32
  44. package/dist/cjs/mds-header-bar.cjs.entry.js +11 -27
  45. package/dist/cjs/mds-header.cjs.entry.js +8 -22
  46. package/dist/cjs/mds-horizontal-scroll.cjs.entry.js +2 -2
  47. package/dist/cjs/mds-hr.cjs.entry.js +4 -17
  48. package/dist/cjs/mds-img.cjs.entry.js +8 -16
  49. package/dist/cjs/mds-input-date-range-preselection.cjs.entry.js +2 -2
  50. package/dist/cjs/mds-input-date-range.cjs.entry.js +57 -43
  51. package/dist/cjs/mds-input-date.cjs.entry.js +14 -44
  52. package/dist/cjs/mds-input-field.cjs.entry.js +42 -6
  53. package/dist/cjs/mds-input-otp.cjs.entry.js +37 -3
  54. package/dist/cjs/mds-input-range.cjs.entry.js +9 -29
  55. package/dist/cjs/mds-input-select.cjs.entry.js +11 -41
  56. package/dist/cjs/mds-input-switch_2.cjs.entry.js +19 -55
  57. package/dist/cjs/mds-input-tip_2.cjs.entry.js +8 -40
  58. package/dist/cjs/mds-input-upload.cjs.entry.js +34 -36
  59. package/dist/cjs/mds-input.cjs.entry.js +23 -52
  60. package/dist/cjs/mds-keyboard-key.cjs.entry.js +5 -14
  61. package/dist/cjs/mds-keyboard.cjs.entry.js +5 -25
  62. package/dist/cjs/mds-kpi-item.cjs.entry.js +12 -25
  63. package/dist/cjs/mds-kpi.cjs.entry.js +2 -2
  64. package/dist/cjs/mds-label.cjs.entry.js +7 -29
  65. package/dist/cjs/mds-list-item.cjs.entry.js +4 -13
  66. package/dist/cjs/mds-list.cjs.entry.js +1 -1
  67. package/dist/cjs/mds-mention.cjs.entry.js +38 -4
  68. package/dist/cjs/mds-modal.cjs.entry.js +54 -47
  69. package/dist/cjs/mds-note.cjs.entry.js +7 -35
  70. package/dist/cjs/mds-notification.cjs.entry.js +12 -14
  71. package/dist/cjs/mds-paginator-item.cjs.entry.js +5 -20
  72. package/dist/cjs/mds-paginator.cjs.entry.js +27 -32
  73. package/dist/cjs/mds-policy-ai.cjs.entry.js +5 -15
  74. package/dist/cjs/mds-pref-animation.cjs.entry.js +7 -23
  75. package/dist/cjs/mds-pref-consumption.cjs.entry.js +7 -23
  76. package/dist/cjs/mds-pref-contrast.cjs.entry.js +10 -24
  77. package/dist/cjs/mds-pref-language-item.cjs.entry.js +27 -15
  78. package/dist/cjs/mds-pref-language.cjs.entry.js +38 -28
  79. package/dist/cjs/mds-pref-mode.cjs.entry.js +273 -0
  80. package/dist/cjs/mds-pref-theme-item.cjs.entry.js +43 -0
  81. package/dist/cjs/mds-pref-theme.cjs.entry.js +147 -230
  82. package/dist/cjs/mds-pref.cjs.entry.js +40 -17
  83. package/dist/cjs/mds-price-table-features-cell.cjs.entry.js +4 -25
  84. package/dist/cjs/mds-price-table-features-row.cjs.entry.js +4 -25
  85. package/dist/cjs/mds-price-table-features.cjs.entry.js +4 -25
  86. package/dist/cjs/mds-price-table-header.cjs.entry.js +2 -2
  87. package/dist/cjs/mds-price-table-list-item.cjs.entry.js +3 -3
  88. package/dist/cjs/mds-price-table-list.cjs.entry.js +4 -25
  89. package/dist/cjs/mds-price-table.cjs.entry.js +2 -2
  90. package/dist/cjs/mds-progress_2.cjs.entry.js +7 -33
  91. package/dist/cjs/mds-push-notification-item.cjs.entry.js +16 -39
  92. package/dist/cjs/mds-push-notification.cjs.entry.js +7 -20
  93. package/dist/cjs/mds-quote.cjs.entry.js +4 -13
  94. package/dist/cjs/mds-radial-menu-item.cjs.entry.js +3 -3
  95. package/dist/cjs/mds-radial-menu.cjs.entry.js +7 -6
  96. package/dist/cjs/mds-separator.cjs.entry.js +4 -21
  97. package/dist/cjs/mds-status-bar.cjs.entry.js +4 -25
  98. package/dist/cjs/mds-stepper-bar-item.cjs.entry.js +14 -25
  99. package/dist/cjs/mds-stepper-bar.cjs.entry.js +21 -12
  100. package/dist/cjs/mds-tab-bar-item.cjs.entry.js +6 -27
  101. package/dist/cjs/mds-tab-bar.cjs.entry.js +5 -26
  102. package/dist/cjs/mds-tab_2.cjs.entry.js +14 -47
  103. package/dist/cjs/mds-table-body.cjs.entry.js +4 -13
  104. package/dist/cjs/mds-table-footer.cjs.entry.js +4 -13
  105. package/dist/cjs/mds-table-header-cell.cjs.entry.js +4 -13
  106. package/dist/cjs/mds-table-header.cjs.entry.js +19 -31
  107. package/dist/cjs/mds-table-row.cjs.entry.js +20 -29
  108. package/dist/cjs/mds-table.cjs.entry.js +60 -50
  109. package/dist/cjs/mds-text.cjs.entry.js +36 -21
  110. package/dist/cjs/mds-toast.cjs.entry.js +10 -27
  111. package/dist/cjs/mds-tooltip.cjs.entry.js +16 -27
  112. package/dist/cjs/mds-tree-item.cjs.entry.js +12 -14
  113. package/dist/cjs/mds-tree.cjs.entry.js +12 -6
  114. package/dist/cjs/mds-url-view.cjs.entry.js +21 -41
  115. package/dist/cjs/mds-usage.cjs.entry.js +5 -33
  116. package/dist/cjs/mds-video-wall.cjs.entry.js +8 -4
  117. package/dist/cjs/mds-zero.cjs.entry.js +4 -25
  118. package/dist/cjs/preference-eJcbLLAn.js +389 -0
  119. package/dist/cjs/slot-RmXfgH4P.js +69 -0
  120. package/dist/collection/collection-manifest.json +3 -3
  121. package/dist/collection/common/date.js +9 -1
  122. package/dist/collection/common/file.js +13 -10
  123. package/dist/collection/common/floating-controller.js +175 -9
  124. package/dist/collection/common/form.js +18 -0
  125. package/dist/collection/common/keyboard-manager.js +5 -5
  126. package/dist/collection/common/locale.js +9 -31
  127. package/dist/collection/common/preference.js +83 -59
  128. package/dist/collection/common/slot.js +14 -1
  129. package/dist/collection/common/yugop/random-text.js +12 -3
  130. package/dist/collection/components/mds-accordion/mds-accordion.css +9 -65
  131. package/dist/collection/components/mds-accordion/mds-accordion.js +3 -27
  132. package/dist/collection/components/mds-accordion-item/mds-accordion-item.css +63 -81
  133. package/dist/collection/components/mds-accordion-item/mds-accordion-item.js +2 -31
  134. package/dist/collection/components/mds-accordion-timer/mds-accordion-timer.css +2 -26
  135. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.css +50 -36
  136. package/dist/collection/components/mds-accordion-timer-item/mds-accordion-timer-item.js +2 -16
  137. package/dist/collection/components/mds-author/mds-author.css +4 -0
  138. package/dist/collection/components/mds-author/mds-author.js +14 -2
  139. package/dist/collection/components/mds-avatar/mds-avatar.css +125 -111
  140. package/dist/collection/components/mds-avatar/mds-avatar.js +6 -21
  141. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.css +12 -84
  142. package/dist/collection/components/mds-avatar-stack/mds-avatar-stack.js +3 -2
  143. package/dist/collection/components/mds-avatar-stack-item/mds-avatar-stack-item.css +6 -24
  144. package/dist/collection/components/mds-badge/mds-badge.css +168 -155
  145. package/dist/collection/components/mds-badge/mds-badge.js +2 -31
  146. package/dist/collection/components/mds-banner/mds-banner.css +149 -192
  147. package/dist/collection/components/mds-banner/mds-banner.js +10 -58
  148. package/dist/collection/components/mds-bibliography/mds-bibliography.css +6 -24
  149. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.css +6 -70
  150. package/dist/collection/components/mds-breadcrumb/mds-breadcrumb.js +2 -37
  151. package/dist/collection/components/mds-breadcrumb-item/mds-breadcrumb-item.css +15 -67
  152. package/dist/collection/components/mds-button/mds-button.css +285 -333
  153. package/dist/collection/components/mds-button/mds-button.js +4 -24
  154. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.css +24 -34
  155. package/dist/collection/components/mds-button-dropdown/mds-button-dropdown.js +1 -1
  156. package/dist/collection/components/mds-button-group/mds-button-group.css +13 -4
  157. package/dist/collection/components/mds-button-group/mds-button-group.js +2 -2
  158. package/dist/collection/components/mds-calendar/mds-calendar.css +13 -69
  159. package/dist/collection/components/mds-calendar/mds-calendar.js +150 -127
  160. package/dist/collection/components/mds-calendar-cell/mds-calendar-cell.css +88 -299
  161. package/dist/collection/components/mds-card/mds-card.css +11 -35
  162. package/dist/collection/components/mds-card/mds-card.js +2 -22
  163. package/dist/collection/components/mds-card-content/mds-card-content.css +1 -0
  164. package/dist/collection/components/mds-card-footer/mds-card-footer.css +1 -0
  165. package/dist/collection/components/mds-card-header/mds-card-header.css +5 -0
  166. package/dist/collection/components/mds-card-header/mds-card-header.js +14 -2
  167. package/dist/collection/components/mds-card-media/mds-card-media.css +1 -1
  168. package/dist/collection/components/mds-chip/mds-chip.css +317 -278
  169. package/dist/collection/components/mds-chip/mds-chip.js +19 -61
  170. package/dist/collection/components/mds-details/mds-details.css +52 -28
  171. package/dist/collection/components/mds-details/mds-details.js +4 -16
  172. package/dist/collection/components/mds-dropdown/mds-dropdown.css +102 -121
  173. package/dist/collection/components/mds-dropdown/mds-dropdown.js +179 -59
  174. package/dist/collection/components/mds-emoji/asset/mia.svg +3 -3
  175. package/dist/collection/components/mds-emoji/mds-emoji.css +15 -179
  176. package/dist/collection/components/mds-emoji/mds-emoji.js +297 -177
  177. package/dist/collection/components/mds-entity/mds-entity.css +25 -76
  178. package/dist/collection/components/mds-entity/mds-entity.js +13 -24
  179. package/dist/collection/components/mds-file/mds-file.css +103 -79
  180. package/dist/collection/components/mds-file/mds-file.js +2 -56
  181. package/dist/collection/components/mds-file-preview/mds-file-preview.css +277 -218
  182. package/dist/collection/components/mds-file-preview/mds-file-preview.js +4 -62
  183. package/dist/collection/components/mds-filter/mds-filter.css +66 -78
  184. package/dist/collection/components/mds-filter/mds-filter.js +16 -33
  185. package/dist/collection/components/mds-filter-item/mds-filter-item.css +73 -53
  186. package/dist/collection/components/mds-filter-item/mds-filter-item.js +2 -29
  187. package/dist/collection/components/mds-header/mds-header.css +15 -68
  188. package/dist/collection/components/mds-header/mds-header.js +5 -22
  189. package/dist/collection/components/mds-header-bar/mds-header-bar.css +60 -31
  190. package/dist/collection/components/mds-header-bar/mds-header-bar.js +9 -28
  191. package/dist/collection/components/mds-help/mds-help.css +1 -19
  192. package/dist/collection/components/mds-horizontal-scroll/mds-horizontal-scroll.css +13 -104
  193. package/dist/collection/components/mds-hr/mds-hr.css +6 -18
  194. package/dist/collection/components/mds-hr/mds-hr.js +2 -21
  195. package/dist/collection/components/mds-icon/services/icons-set.service.js +16 -0
  196. package/dist/collection/components/mds-img/mds-img.css +12 -48
  197. package/dist/collection/components/mds-img/mds-img.js +5 -36
  198. package/dist/collection/components/mds-input/mds-input.css +120 -158
  199. package/dist/collection/components/mds-input/mds-input.js +33 -65
  200. package/dist/collection/components/mds-input-date/mds-input-date.css +107 -124
  201. package/dist/collection/components/mds-input-date/mds-input-date.js +49 -62
  202. package/dist/collection/components/mds-input-date-range/mds-input-date-range.css +100 -90
  203. package/dist/collection/components/mds-input-date-range/mds-input-date-range.js +77 -62
  204. package/dist/collection/components/mds-input-date-range-preselection/mds-input-date-range-preselection.css +19 -73
  205. package/dist/collection/components/mds-input-field/mds-input-field.css +33 -45
  206. package/dist/collection/components/mds-input-field/mds-input-field.js +41 -4
  207. package/dist/collection/components/mds-input-otp/mds-input-otp.js +38 -2
  208. package/dist/collection/components/mds-input-range/mds-input-range.css +61 -19
  209. package/dist/collection/components/mds-input-range/mds-input-range.js +7 -31
  210. package/dist/collection/components/mds-input-select/mds-input-select.css +123 -156
  211. package/dist/collection/components/mds-input-select/mds-input-select.js +28 -61
  212. package/dist/collection/components/mds-input-switch/mds-input-switch.css +91 -250
  213. package/dist/collection/components/mds-input-switch/mds-input-switch.js +12 -63
  214. package/dist/collection/components/mds-input-tip/mds-input-tip.css +45 -31
  215. package/dist/collection/components/mds-input-tip/mds-input-tip.js +2 -16
  216. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.css +84 -56
  217. package/dist/collection/components/mds-input-tip-item/mds-input-tip-item.js +3 -54
  218. package/dist/collection/components/mds-input-upload/mds-input-upload.css +26 -37
  219. package/dist/collection/components/mds-input-upload/mds-input-upload.js +30 -51
  220. package/dist/collection/components/mds-keyboard/mds-keyboard.css +32 -126
  221. package/dist/collection/components/mds-keyboard/mds-keyboard.js +2 -46
  222. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.css +4 -28
  223. package/dist/collection/components/mds-keyboard-key/mds-keyboard-key.js +1 -37
  224. package/dist/collection/components/mds-kpi/mds-kpi.css +6 -11
  225. package/dist/collection/components/mds-kpi-item/mds-kpi-item.css +103 -40
  226. package/dist/collection/components/mds-kpi-item/mds-kpi-item.js +10 -27
  227. package/dist/collection/components/mds-label/mds-label.css +265 -354
  228. package/dist/collection/components/mds-label/mds-label.js +3 -54
  229. package/dist/collection/components/mds-list-item/mds-list-item.css +3 -9
  230. package/dist/collection/components/mds-list-item/mds-list-item.js +2 -16
  231. package/dist/collection/components/mds-mention/mds-mention.css +19 -10
  232. package/dist/collection/components/mds-mention/mds-mention.js +62 -2
  233. package/dist/collection/components/mds-modal/mds-modal.css +71 -101
  234. package/dist/collection/components/mds-modal/mds-modal.js +72 -45
  235. package/dist/collection/components/mds-note/mds-note.css +220 -198
  236. package/dist/collection/components/mds-note/mds-note.js +3 -61
  237. package/dist/collection/components/mds-notification/mds-notification.css +55 -89
  238. package/dist/collection/components/mds-notification/mds-notification.js +9 -16
  239. package/dist/collection/components/mds-paginator/mds-paginator.css +71 -35
  240. package/dist/collection/components/mds-paginator/mds-paginator.js +24 -37
  241. package/dist/collection/components/mds-paginator-item/mds-paginator-item.css +78 -96
  242. package/dist/collection/components/mds-paginator-item/mds-paginator-item.js +2 -24
  243. package/dist/collection/components/mds-policy-ai/mds-policy-ai.css +9 -9
  244. package/dist/collection/components/mds-policy-ai/mds-policy-ai.js +1 -38
  245. package/dist/collection/components/mds-pref/mds-pref.js +40 -40
  246. package/dist/collection/components/mds-pref-animation/mds-pref-animation.css +50 -6
  247. package/dist/collection/components/mds-pref-animation/mds-pref-animation.js +4 -47
  248. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.css +12 -12
  249. package/dist/collection/components/mds-pref-consumption/mds-pref-consumption.js +4 -47
  250. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.css +4 -4
  251. package/dist/collection/components/mds-pref-contrast/mds-pref-contrast.js +7 -48
  252. package/dist/collection/components/mds-pref-language/mds-pref-language.css +3 -3
  253. package/dist/collection/components/mds-pref-language/mds-pref-language.js +35 -46
  254. package/dist/collection/components/mds-pref-language-item/mds-pref-language-item.js +24 -38
  255. package/dist/collection/components/mds-pref-mode/mds-pref-mode.css +79 -0
  256. package/dist/collection/components/mds-pref-mode/mds-pref-mode.js +372 -0
  257. package/dist/collection/components/mds-pref-mode/meta/dictionary.js +3 -0
  258. package/dist/collection/components/mds-pref-theme/mds-pref-theme.css +12 -77
  259. package/dist/collection/components/mds-pref-theme/mds-pref-theme.js +183 -239
  260. package/dist/collection/components/mds-pref-theme/meta/dictionary.js +2 -3
  261. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.css +70 -0
  262. package/dist/collection/components/mds-pref-theme-item/mds-pref-theme-item.js +160 -0
  263. package/dist/collection/components/mds-price-table/mds-price-table.js +1 -1
  264. package/dist/collection/components/mds-price-table-features/mds-price-table-features.css +56 -47
  265. package/dist/collection/components/mds-price-table-features/mds-price-table-features.js +2 -31
  266. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.css +71 -67
  267. package/dist/collection/components/mds-price-table-features-cell/mds-price-table-features-cell.js +2 -31
  268. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.css +66 -42
  269. package/dist/collection/components/mds-price-table-features-row/mds-price-table-features-row.js +3 -28
  270. package/dist/collection/components/mds-price-table-header/mds-price-table-header.js +1 -1
  271. package/dist/collection/components/mds-price-table-list/mds-price-table-list.css +63 -25
  272. package/dist/collection/components/mds-price-table-list/mds-price-table-list.js +3 -28
  273. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.css +5 -31
  274. package/dist/collection/components/mds-price-table-list-item/mds-price-table-list-item.js +1 -1
  275. package/dist/collection/components/mds-progress/mds-progress.css +100 -94
  276. package/dist/collection/components/mds-progress/mds-progress.js +2 -27
  277. package/dist/collection/components/mds-push-notification/mds-push-notification.css +7 -37
  278. package/dist/collection/components/mds-push-notification/mds-push-notification.js +2 -21
  279. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.css +172 -136
  280. package/dist/collection/components/mds-push-notification-item/mds-push-notification-item.js +13 -60
  281. package/dist/collection/components/mds-quote/mds-quote.css +2 -2
  282. package/dist/collection/components/mds-quote/mds-quote.js +2 -16
  283. package/dist/collection/components/mds-radial-menu/mds-radial-menu.css +6 -60
  284. package/dist/collection/components/mds-radial-menu/mds-radial-menu.js +3 -2
  285. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.css +1 -7
  286. package/dist/collection/components/mds-radial-menu-item/mds-radial-menu-item.js +1 -1
  287. package/dist/collection/components/mds-radial-progress/mds-radial-progress.css +24 -30
  288. package/dist/collection/components/mds-radial-progress/mds-radial-progress.js +3 -7
  289. package/dist/collection/components/mds-separator/mds-separator.css +12 -42
  290. package/dist/collection/components/mds-separator/mds-separator.js +2 -26
  291. package/dist/collection/components/mds-spinner/mds-spinner.css +3 -9
  292. package/dist/collection/components/mds-spinner/mds-spinner.js +2 -16
  293. package/dist/collection/components/mds-status-bar/mds-status-bar.css +13 -23
  294. package/dist/collection/components/mds-status-bar/mds-status-bar.js +2 -31
  295. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.css +8 -56
  296. package/dist/collection/components/mds-stepper-bar/mds-stepper-bar.js +18 -9
  297. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.css +68 -120
  298. package/dist/collection/components/mds-stepper-bar-item/mds-stepper-bar-item.js +10 -44
  299. package/dist/collection/components/mds-tab/mds-tab.css +85 -189
  300. package/dist/collection/components/mds-tab/mds-tab.js +5 -27
  301. package/dist/collection/components/mds-tab-bar/mds-tab-bar.css +54 -10
  302. package/dist/collection/components/mds-tab-bar/mds-tab-bar.js +2 -31
  303. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.css +62 -44
  304. package/dist/collection/components/mds-tab-bar-item/mds-tab-bar-item.js +2 -27
  305. package/dist/collection/components/mds-tab-item/mds-tab-item.css +22 -37
  306. package/dist/collection/components/mds-tab-item/mds-tab-item.js +23 -22
  307. package/dist/collection/components/mds-table/mds-table.css +86 -130
  308. package/dist/collection/components/mds-table/mds-table.js +57 -52
  309. package/dist/collection/components/mds-table-body/mds-table-body.css +54 -40
  310. package/dist/collection/components/mds-table-body/mds-table-body.js +2 -16
  311. package/dist/collection/components/mds-table-cell/mds-table-cell.css +62 -32
  312. package/dist/collection/components/mds-table-cell/mds-table-cell.js +2 -16
  313. package/dist/collection/components/mds-table-footer/mds-table-footer.css +44 -0
  314. package/dist/collection/components/mds-table-footer/mds-table-footer.js +2 -16
  315. package/dist/collection/components/mds-table-header/mds-table-header.css +44 -0
  316. package/dist/collection/components/mds-table-header/mds-table-header.js +17 -48
  317. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.css +47 -7
  318. package/dist/collection/components/mds-table-header-cell/mds-table-header-cell.js +3 -13
  319. package/dist/collection/components/mds-table-row/mds-table-row.css +67 -49
  320. package/dist/collection/components/mds-table-row/mds-table-row.js +19 -50
  321. package/dist/collection/components/mds-text/mds-text.css +18 -38
  322. package/dist/collection/components/mds-text/mds-text.js +23 -22
  323. package/dist/collection/components/mds-toast/mds-toast.css +99 -90
  324. package/dist/collection/components/mds-toast/mds-toast.js +8 -28
  325. package/dist/collection/components/mds-tooltip/mds-tooltip.css +68 -85
  326. package/dist/collection/components/mds-tooltip/mds-tooltip.js +12 -31
  327. package/dist/collection/components/mds-tree/mds-tree.css +20 -212
  328. package/dist/collection/components/mds-tree/mds-tree.js +10 -4
  329. package/dist/collection/components/mds-tree-item/mds-tree-item.css +146 -267
  330. package/dist/collection/components/mds-tree-item/mds-tree-item.js +7 -28
  331. package/dist/collection/components/mds-url-view/mds-url-view.css +59 -33
  332. package/dist/collection/components/mds-url-view/mds-url-view.js +17 -67
  333. package/dist/collection/components/mds-usage/mds-usage.css +80 -95
  334. package/dist/collection/components/mds-usage/mds-usage.js +2 -60
  335. package/dist/collection/components/mds-video-wall/mds-video-wall.css +11 -26
  336. package/dist/collection/components/mds-video-wall/mds-video-wall.js +11 -2
  337. package/dist/collection/components/mds-zero/mds-zero.css +56 -18
  338. package/dist/collection/components/mds-zero/mds-zero.js +2 -31
  339. package/dist/collection/event-detail/theme.js +1 -0
  340. package/dist/collection/type/preference.js +22 -3
  341. package/dist/components/index.d.ts +230 -0
  342. package/dist/components/index.js +1 -1
  343. package/dist/components/mds-accordion-item.js +1 -1
  344. package/dist/components/mds-accordion-timer-item.js +1 -1
  345. package/dist/components/mds-accordion-timer.js +1 -1
  346. package/dist/components/mds-accordion.js +1 -1
  347. package/dist/components/mds-author.js +1 -1
  348. package/dist/components/mds-avatar-stack-item.js +1 -1
  349. package/dist/components/mds-avatar-stack.js +1 -1
  350. package/dist/components/mds-avatar.js +1 -1
  351. package/dist/components/mds-badge.js +1 -1
  352. package/dist/components/mds-banner.js +1 -1
  353. package/dist/components/mds-benchmark-bar.js +1 -1
  354. package/dist/components/mds-bibliography.js +1 -1
  355. package/dist/components/mds-breadcrumb-item.js +1 -1
  356. package/dist/components/mds-breadcrumb.js +1 -1
  357. package/dist/components/mds-button-dropdown.js +1 -1
  358. package/dist/components/mds-button-group.js +1 -1
  359. package/dist/components/mds-button.js +1 -1
  360. package/dist/components/mds-calendar-cell.js +1 -1
  361. package/dist/components/mds-calendar.js +1 -1
  362. package/dist/components/mds-card-content.js +1 -1
  363. package/dist/components/mds-card-footer.js +1 -1
  364. package/dist/components/mds-card-header.js +1 -1
  365. package/dist/components/mds-card-media.js +1 -1
  366. package/dist/components/mds-card.js +1 -1
  367. package/dist/components/mds-chip.js +1 -1
  368. package/dist/components/mds-details.js +1 -1
  369. package/dist/components/mds-dropdown.js +1 -1
  370. package/dist/components/mds-emoji.js +3 -3
  371. package/dist/components/mds-entity.js +1 -1
  372. package/dist/components/mds-file-preview.js +1 -1
  373. package/dist/components/mds-file.js +3 -3
  374. package/dist/components/mds-filter-item.js +1 -1
  375. package/dist/components/mds-filter.js +1 -1
  376. package/dist/components/mds-header-bar.js +1 -1
  377. package/dist/components/mds-header.js +1 -1
  378. package/dist/components/mds-help.js +1 -1
  379. package/dist/components/mds-horizontal-scroll.js +1 -1
  380. package/dist/components/mds-hr.js +1 -1
  381. package/dist/components/mds-icon.js +1 -1
  382. package/dist/components/mds-img.js +1 -1
  383. package/dist/components/mds-input-date-range-preselection.js +1 -1
  384. package/dist/components/mds-input-date-range.js +1 -1
  385. package/dist/components/mds-input-date.js +1 -1
  386. package/dist/components/mds-input-field.js +1 -1
  387. package/dist/components/mds-input-otp.js +1 -1
  388. package/dist/components/mds-input-range.js +1 -1
  389. package/dist/components/mds-input-select.js +1 -1
  390. package/dist/components/mds-input-switch.js +1 -1
  391. package/dist/components/mds-input-tip-item.js +1 -1
  392. package/dist/components/mds-input-tip.js +1 -1
  393. package/dist/components/mds-input-upload.js +1 -1
  394. package/dist/components/mds-input.js +1 -1
  395. package/dist/components/mds-keyboard-key.js +1 -1
  396. package/dist/components/mds-keyboard.js +1 -1
  397. package/dist/components/mds-kpi-item.js +1 -1
  398. package/dist/components/mds-kpi.js +1 -1
  399. package/dist/components/mds-label.js +1 -1
  400. package/dist/components/mds-list-item.js +1 -1
  401. package/dist/components/mds-list.js +1 -1
  402. package/dist/components/mds-mention.js +1 -1
  403. package/dist/components/mds-modal.js +1 -1
  404. package/dist/components/mds-note.js +1 -1
  405. package/dist/components/mds-notification.js +1 -1
  406. package/dist/components/mds-paginator-item.js +1 -1
  407. package/dist/components/mds-paginator.js +1 -1
  408. package/dist/components/mds-policy-ai.js +1 -1
  409. package/dist/components/mds-pref-animation.js +1 -1
  410. package/dist/components/mds-pref-consumption.js +1 -1
  411. package/dist/components/mds-pref-contrast.js +1 -1
  412. package/dist/components/mds-pref-language-item.js +1 -1
  413. package/dist/components/mds-pref-language.js +1 -1
  414. package/dist/components/mds-pref-mode.d.ts +11 -0
  415. package/dist/components/mds-pref-mode.js +1 -0
  416. package/dist/components/mds-pref-theme-item.d.ts +11 -0
  417. package/dist/components/mds-pref-theme-item.js +1 -0
  418. package/dist/components/mds-pref-theme.js +1 -1
  419. package/dist/components/mds-pref.js +1 -1
  420. package/dist/components/mds-price-table-features-cell.js +1 -1
  421. package/dist/components/mds-price-table-features-row.js +1 -1
  422. package/dist/components/mds-price-table-features.js +1 -1
  423. package/dist/components/mds-price-table-header.js +1 -1
  424. package/dist/components/mds-price-table-list-item.js +1 -1
  425. package/dist/components/mds-price-table-list.js +1 -1
  426. package/dist/components/mds-price-table.js +1 -1
  427. package/dist/components/mds-progress.js +1 -1
  428. package/dist/components/mds-push-notification-item.js +1 -1
  429. package/dist/components/mds-push-notification.js +1 -1
  430. package/dist/components/mds-quote.js +1 -1
  431. package/dist/components/mds-radial-menu-item.js +1 -1
  432. package/dist/components/mds-radial-menu.js +1 -1
  433. package/dist/components/mds-radial-progress.js +1 -1
  434. package/dist/components/mds-separator.js +1 -1
  435. package/dist/components/mds-spinner.js +1 -1
  436. package/dist/components/mds-status-bar.js +1 -1
  437. package/dist/components/mds-stepper-bar-item.js +1 -1
  438. package/dist/components/mds-stepper-bar.js +1 -1
  439. package/dist/components/mds-tab-bar-item.js +1 -1
  440. package/dist/components/mds-tab-bar.js +1 -1
  441. package/dist/components/mds-tab-item.js +1 -1
  442. package/dist/components/mds-tab.js +1 -1
  443. package/dist/components/mds-table-body.js +1 -1
  444. package/dist/components/mds-table-cell.js +1 -1
  445. package/dist/components/mds-table-footer.js +1 -1
  446. package/dist/components/mds-table-header-cell.js +1 -1
  447. package/dist/components/mds-table-header.js +1 -1
  448. package/dist/components/mds-table-row.js +1 -1
  449. package/dist/components/mds-table.js +1 -1
  450. package/dist/components/mds-text.js +1 -1
  451. package/dist/components/mds-toast.js +1 -1
  452. package/dist/components/mds-tooltip.js +1 -1
  453. package/dist/components/mds-tree-item.js +1 -1
  454. package/dist/components/mds-tree.js +1 -1
  455. package/dist/components/mds-url-view.js +1 -1
  456. package/dist/components/mds-usage.js +1 -1
  457. package/dist/components/mds-video-wall.js +1 -1
  458. package/dist/components/mds-zero.js +1 -1
  459. package/dist/components/p--8aaJX-p.js +1 -0
  460. package/dist/components/p-A9TZf0Ii.js +1 -0
  461. package/dist/components/p-B2A_hlV2.js +1 -0
  462. package/dist/components/p-B9DJLgwr.js +1 -0
  463. package/dist/components/p-BH3bWzRT.js +1 -0
  464. package/dist/components/p-BJNK4p33.js +1 -0
  465. package/dist/components/p-BNHXZ-JR.js +1 -0
  466. package/dist/components/p-BSxuG1vZ.js +1 -0
  467. package/dist/components/p-BTHR4xXu.js +1 -0
  468. package/dist/components/p-BhFTcUD0.js +3 -0
  469. package/dist/components/p-BouRLCYL.js +1 -0
  470. package/dist/components/p-Bss3F51Q.js +5 -0
  471. package/dist/components/p-Bt4xX5ww.js +1 -0
  472. package/dist/components/p-C03KYHGv.js +1 -0
  473. package/dist/components/p-C58NKMEE.js +1 -0
  474. package/dist/components/p-CACEYk42.js +1 -0
  475. package/dist/components/p-CBLAz3_J.js +1 -0
  476. package/dist/components/p-CHAGzQT-.js +1 -0
  477. package/dist/components/p-CVgKDZPF.js +1 -0
  478. package/dist/components/p-CVpjH8Un.js +1 -0
  479. package/dist/components/p-Caksrfcd.js +1 -0
  480. package/dist/components/p-CatD1iUY.js +1 -0
  481. package/dist/components/p-CbufYCNj.js +1 -0
  482. package/dist/components/p-Cehcn85x.js +1 -0
  483. package/dist/components/p-ClKNADBg.js +8 -0
  484. package/dist/components/p-CsgCQiHG.js +1 -0
  485. package/dist/components/p-CvIFS8oA.js +1 -0
  486. package/dist/components/p-D3-GP4KF.js +1 -0
  487. package/dist/components/p-D8I1RblC.js +1 -0
  488. package/dist/components/p-DLE5TNTp.js +1 -0
  489. package/dist/components/p-DaI5QqNu.js +1 -0
  490. package/dist/components/p-Deh5Aia-.js +1 -0
  491. package/dist/components/p-Dj_oN194.js +1 -0
  492. package/dist/components/p-DmELzfvf.js +1 -0
  493. package/dist/components/p-DtxB7DYE.js +1 -0
  494. package/dist/components/p-KRu9I7dw.js +1 -0
  495. package/dist/components/p-cBZsPiMJ.js +1 -0
  496. package/dist/components/p-s2Gu6hY7.js +1 -0
  497. package/dist/components/p-sqRs6oj4.js +1 -0
  498. package/dist/components/p-wq6nWuWE.js +1 -0
  499. package/dist/documentation.json +751 -1138
  500. package/dist/esm/date-CACEYk42.js +22 -0
  501. package/dist/esm/floating-controller-DVldZ5mh.js +366 -0
  502. package/dist/esm/floating-ui.dom-CHAGzQT-.js +1680 -0
  503. package/dist/esm/form-A9TZf0Ii.js +19 -0
  504. package/dist/esm/index-DIiEV39g.js +5149 -0
  505. package/dist/esm/index.js +17 -0
  506. package/dist/esm/keyboard-manager-KRu9I7dw.js +50 -0
  507. package/dist/esm/loader.js +3 -3
  508. package/dist/esm/locale-CbJbTW_c.js +814 -0
  509. package/dist/esm/locale.it-Cvxh7La5.js +506 -0
  510. package/dist/esm/magma-components.js +32 -5
  511. package/dist/esm/mds-accordion-item.entry.js +7 -28
  512. package/dist/esm/mds-accordion-timer-item.entry.js +8 -17
  513. package/dist/esm/mds-accordion-timer.entry.js +3 -3
  514. package/dist/esm/mds-accordion.entry.js +5 -22
  515. package/dist/esm/mds-author.entry.js +9 -4
  516. package/dist/esm/mds-avatar-stack-item.entry.js +2 -2
  517. package/dist/esm/mds-avatar-stack.entry.js +5 -4
  518. package/dist/esm/mds-avatar.entry.js +8 -21
  519. package/dist/esm/mds-badge.entry.js +5 -26
  520. package/dist/esm/mds-banner_3.entry.js +35 -70
  521. package/dist/esm/mds-benchmark-bar.entry.js +2 -2
  522. package/dist/esm/mds-bibliography.entry.js +2 -2
  523. package/dist/esm/mds-breadcrumb-item.entry.js +3 -3
  524. package/dist/esm/mds-breadcrumb.entry.js +7 -15
  525. package/dist/esm/mds-button-dropdown.entry.js +3 -3
  526. package/dist/esm/mds-button-group.entry.js +3 -3
  527. package/dist/esm/mds-button_3.entry.js +10 -32
  528. package/dist/esm/mds-calendar_2.entry.js +123 -102
  529. package/dist/esm/mds-card-content.entry.js +2 -2
  530. package/dist/esm/mds-card-footer.entry.js +2 -2
  531. package/dist/esm/mds-card-header.entry.js +9 -4
  532. package/dist/esm/mds-card-media.entry.js +2 -2
  533. package/dist/esm/mds-card.entry.js +4 -21
  534. package/dist/esm/mds-details.entry.js +8 -18
  535. package/dist/esm/mds-dropdown.entry.js +184 -58
  536. package/dist/esm/mds-emoji.entry.js +301 -181
  537. package/dist/esm/mds-entity.entry.js +11 -23
  538. package/dist/esm/mds-file-preview.entry.js +9 -37
  539. package/dist/esm/mds-file.entry.js +7 -35
  540. package/dist/esm/mds-filter-item.entry.js +6 -25
  541. package/dist/esm/mds-filter.entry.js +19 -32
  542. package/dist/esm/mds-header-bar.entry.js +11 -27
  543. package/dist/esm/mds-header.entry.js +8 -22
  544. package/dist/esm/mds-horizontal-scroll.entry.js +2 -2
  545. package/dist/esm/mds-hr.entry.js +4 -17
  546. package/dist/esm/mds-img.entry.js +8 -16
  547. package/dist/esm/mds-input-date-range-preselection.entry.js +2 -2
  548. package/dist/esm/mds-input-date-range.entry.js +57 -43
  549. package/dist/esm/mds-input-date.entry.js +14 -44
  550. package/dist/esm/mds-input-field.entry.js +42 -6
  551. package/dist/esm/mds-input-otp.entry.js +37 -3
  552. package/dist/esm/mds-input-range.entry.js +9 -29
  553. package/dist/esm/mds-input-select.entry.js +11 -41
  554. package/dist/esm/mds-input-switch_2.entry.js +19 -55
  555. package/dist/esm/mds-input-tip_2.entry.js +8 -40
  556. package/dist/esm/mds-input-upload.entry.js +34 -36
  557. package/dist/esm/mds-input.entry.js +23 -52
  558. package/dist/esm/mds-keyboard-key.entry.js +5 -14
  559. package/dist/esm/mds-keyboard.entry.js +5 -25
  560. package/dist/esm/mds-kpi-item.entry.js +12 -25
  561. package/dist/esm/mds-kpi.entry.js +2 -2
  562. package/dist/esm/mds-label.entry.js +7 -29
  563. package/dist/esm/mds-list-item.entry.js +4 -13
  564. package/dist/esm/mds-list.entry.js +1 -1
  565. package/dist/esm/mds-mention.entry.js +38 -4
  566. package/dist/esm/mds-modal.entry.js +54 -47
  567. package/dist/esm/mds-note.entry.js +7 -35
  568. package/dist/esm/mds-notification.entry.js +12 -14
  569. package/dist/esm/mds-paginator-item.entry.js +5 -20
  570. package/dist/esm/mds-paginator.entry.js +27 -32
  571. package/dist/esm/mds-policy-ai.entry.js +5 -15
  572. package/dist/esm/mds-pref-animation.entry.js +7 -23
  573. package/dist/esm/mds-pref-consumption.entry.js +7 -23
  574. package/dist/esm/mds-pref-contrast.entry.js +10 -24
  575. package/dist/esm/mds-pref-language-item.entry.js +27 -15
  576. package/dist/esm/mds-pref-language.entry.js +38 -28
  577. package/dist/esm/mds-pref-mode.entry.js +271 -0
  578. package/dist/esm/mds-pref-theme-item.entry.js +41 -0
  579. package/dist/esm/mds-pref-theme.entry.js +147 -230
  580. package/dist/esm/mds-pref.entry.js +40 -17
  581. package/dist/esm/mds-price-table-features-cell.entry.js +4 -25
  582. package/dist/esm/mds-price-table-features-row.entry.js +4 -25
  583. package/dist/esm/mds-price-table-features.entry.js +4 -25
  584. package/dist/esm/mds-price-table-header.entry.js +2 -2
  585. package/dist/esm/mds-price-table-list-item.entry.js +3 -3
  586. package/dist/esm/mds-price-table-list.entry.js +4 -25
  587. package/dist/esm/mds-price-table.entry.js +2 -2
  588. package/dist/esm/mds-progress_2.entry.js +7 -33
  589. package/dist/esm/mds-push-notification-item.entry.js +16 -39
  590. package/dist/esm/mds-push-notification.entry.js +7 -20
  591. package/dist/esm/mds-quote.entry.js +4 -13
  592. package/dist/esm/mds-radial-menu-item.entry.js +3 -3
  593. package/dist/esm/mds-radial-menu.entry.js +7 -6
  594. package/dist/esm/mds-separator.entry.js +4 -21
  595. package/dist/esm/mds-status-bar.entry.js +4 -25
  596. package/dist/esm/mds-stepper-bar-item.entry.js +14 -25
  597. package/dist/esm/mds-stepper-bar.entry.js +21 -12
  598. package/dist/esm/mds-tab-bar-item.entry.js +6 -27
  599. package/dist/esm/mds-tab-bar.entry.js +5 -26
  600. package/dist/esm/mds-tab_2.entry.js +14 -47
  601. package/dist/esm/mds-table-body.entry.js +4 -13
  602. package/dist/esm/mds-table-footer.entry.js +4 -13
  603. package/dist/esm/mds-table-header-cell.entry.js +4 -13
  604. package/dist/esm/mds-table-header.entry.js +19 -31
  605. package/dist/esm/mds-table-row.entry.js +20 -29
  606. package/dist/esm/mds-table.entry.js +60 -50
  607. package/dist/esm/mds-text.entry.js +36 -21
  608. package/dist/esm/mds-toast.entry.js +10 -27
  609. package/dist/esm/mds-tooltip.entry.js +16 -27
  610. package/dist/esm/mds-tree-item.entry.js +12 -14
  611. package/dist/esm/mds-tree.entry.js +12 -6
  612. package/dist/esm/mds-url-view.entry.js +21 -41
  613. package/dist/esm/mds-usage.entry.js +5 -33
  614. package/dist/esm/mds-video-wall.entry.js +8 -4
  615. package/dist/esm/mds-zero.entry.js +4 -25
  616. package/dist/esm/preference-CKerJx2M.js +385 -0
  617. package/dist/esm/slot-C0o_l0td.js +61 -0
  618. package/dist/esm-es5/date-CACEYk42.js +6 -0
  619. package/dist/esm-es5/datetime-BJtA1qmE.js +2732 -1
  620. package/dist/esm-es5/floating-controller-DVldZ5mh.js +66 -0
  621. package/dist/esm-es5/floating-ui.dom-CHAGzQT-.js +201 -0
  622. package/dist/esm-es5/form-A9TZf0Ii.js +8 -0
  623. package/dist/esm-es5/index-DIiEV39g.js +371 -0
  624. package/dist/esm-es5/index.js +79 -1
  625. package/dist/esm-es5/keyboard-manager-KRu9I7dw.js +5 -0
  626. package/dist/esm-es5/loader.js +1 -1
  627. package/dist/esm-es5/locale-CbJbTW_c.js +230 -0
  628. package/dist/esm-es5/locale.it-Cvxh7La5.js +6 -0
  629. package/dist/esm-es5/magma-components.js +4 -1
  630. package/dist/esm-es5/mds-accordion-item.entry.js +4 -1
  631. package/dist/esm-es5/mds-accordion-timer-item.entry.js +17 -1
  632. package/dist/esm-es5/mds-accordion-timer.entry.js +4 -1
  633. package/dist/esm-es5/mds-accordion.entry.js +7 -1
  634. package/dist/esm-es5/mds-author.entry.js +1 -1
  635. package/dist/esm-es5/mds-avatar-stack-item.entry.js +4 -1
  636. package/dist/esm-es5/mds-avatar-stack.entry.js +1 -1
  637. package/dist/esm-es5/mds-avatar.entry.js +8 -1
  638. package/dist/esm-es5/mds-badge.entry.js +12 -1
  639. package/dist/esm-es5/mds-banner_3.entry.js +40 -1
  640. package/dist/esm-es5/mds-benchmark-bar.entry.js +15 -1
  641. package/dist/esm-es5/mds-bibliography.entry.js +14 -1
  642. package/dist/esm-es5/mds-breadcrumb-item.entry.js +1 -1
  643. package/dist/esm-es5/mds-breadcrumb.entry.js +4 -1
  644. package/dist/esm-es5/mds-button-dropdown.entry.js +19 -1
  645. package/dist/esm-es5/mds-button-group.entry.js +1 -1
  646. package/dist/esm-es5/mds-button_3.entry.js +42 -1
  647. package/dist/esm-es5/mds-calendar_2.entry.js +81 -1
  648. package/dist/esm-es5/mds-card-content.entry.js +1 -1
  649. package/dist/esm-es5/mds-card-footer.entry.js +1 -1
  650. package/dist/esm-es5/mds-card-header.entry.js +1 -1
  651. package/dist/esm-es5/mds-card-media.entry.js +1 -1
  652. package/dist/esm-es5/mds-card.entry.js +7 -1
  653. package/dist/esm-es5/mds-details.entry.js +4 -1
  654. package/dist/esm-es5/mds-dropdown.entry.js +102 -1
  655. package/dist/esm-es5/mds-emoji.entry.js +899 -3
  656. package/dist/esm-es5/mds-entity.entry.js +1 -1
  657. package/dist/esm-es5/mds-file-preview.entry.js +23 -2
  658. package/dist/esm-es5/mds-file.entry.js +2823 -3
  659. package/dist/esm-es5/mds-filter-item.entry.js +1 -1
  660. package/dist/esm-es5/mds-filter.entry.js +11 -1
  661. package/dist/esm-es5/mds-header-bar.entry.js +11 -1
  662. package/dist/esm-es5/mds-header.entry.js +30 -1
  663. package/dist/esm-es5/mds-horizontal-scroll.entry.js +45 -1
  664. package/dist/esm-es5/mds-hr.entry.js +1 -1
  665. package/dist/esm-es5/mds-img.entry.js +15 -1
  666. package/dist/esm-es5/mds-input-date-range-preselection.entry.js +1 -1
  667. package/dist/esm-es5/mds-input-date-range.entry.js +39 -1
  668. package/dist/esm-es5/mds-input-date.entry.js +50 -1
  669. package/dist/esm-es5/mds-input-field.entry.js +22 -1
  670. package/dist/esm-es5/mds-input-otp.entry.js +13 -1
  671. package/dist/esm-es5/mds-input-range.entry.js +24 -1
  672. package/dist/esm-es5/mds-input-select.entry.js +39 -1
  673. package/dist/esm-es5/mds-input-switch_2.entry.js +27 -1
  674. package/dist/esm-es5/mds-input-tip_2.entry.js +10 -1
  675. package/dist/esm-es5/mds-input-upload.entry.js +63 -1
  676. package/dist/esm-es5/mds-input.entry.js +134 -1
  677. package/dist/esm-es5/mds-keyboard-key.entry.js +1 -1
  678. package/dist/esm-es5/mds-keyboard.entry.js +11 -1
  679. package/dist/esm-es5/mds-kpi-item.entry.js +11 -1
  680. package/dist/esm-es5/mds-kpi.entry.js +1 -1
  681. package/dist/esm-es5/mds-label.entry.js +16 -1
  682. package/dist/esm-es5/mds-list-item.entry.js +7 -1
  683. package/dist/esm-es5/mds-list.entry.js +1 -1
  684. package/dist/esm-es5/mds-mention.entry.js +4 -1
  685. package/dist/esm-es5/mds-modal.entry.js +68 -1
  686. package/dist/esm-es5/mds-note.entry.js +7 -1
  687. package/dist/esm-es5/mds-notification.entry.js +13 -1
  688. package/dist/esm-es5/mds-paginator-item.entry.js +1 -1
  689. package/dist/esm-es5/mds-paginator.entry.js +14 -1
  690. package/dist/esm-es5/mds-policy-ai.entry.js +7 -1
  691. package/dist/esm-es5/mds-pref-animation.entry.js +1 -1
  692. package/dist/esm-es5/mds-pref-consumption.entry.js +1 -1
  693. package/dist/esm-es5/mds-pref-contrast.entry.js +4 -1
  694. package/dist/esm-es5/mds-pref-language-item.entry.js +13 -1
  695. package/dist/esm-es5/mds-pref-language.entry.js +15 -1
  696. package/dist/esm-es5/mds-pref-mode.entry.js +4 -0
  697. package/dist/esm-es5/mds-pref-theme-item.entry.js +13 -0
  698. package/dist/esm-es5/mds-pref-theme.entry.js +38 -1
  699. package/dist/esm-es5/mds-pref.entry.js +9 -1
  700. package/dist/esm-es5/mds-price-table-features-cell.entry.js +4 -1
  701. package/dist/esm-es5/mds-price-table-features-row.entry.js +1 -1
  702. package/dist/esm-es5/mds-price-table-features.entry.js +1 -1
  703. package/dist/esm-es5/mds-price-table-header.entry.js +1 -1
  704. package/dist/esm-es5/mds-price-table-list-item.entry.js +7 -1
  705. package/dist/esm-es5/mds-price-table-list.entry.js +1 -1
  706. package/dist/esm-es5/mds-price-table.entry.js +1 -1
  707. package/dist/esm-es5/mds-progress_2.entry.js +32 -1
  708. package/dist/esm-es5/mds-push-notification-item.entry.js +16 -1
  709. package/dist/esm-es5/mds-push-notification.entry.js +49 -1
  710. package/dist/esm-es5/mds-quote.entry.js +7 -1
  711. package/dist/esm-es5/mds-radial-menu-item.entry.js +10 -1
  712. package/dist/esm-es5/mds-radial-menu.entry.js +28 -1
  713. package/dist/esm-es5/mds-separator.entry.js +1 -1
  714. package/dist/esm-es5/mds-status-bar.entry.js +10 -1
  715. package/dist/esm-es5/mds-stepper-bar-item.entry.js +16 -1
  716. package/dist/esm-es5/mds-stepper-bar.entry.js +19 -1
  717. package/dist/esm-es5/mds-tab-bar-item.entry.js +9 -1
  718. package/dist/esm-es5/mds-tab-bar.entry.js +1 -1
  719. package/dist/esm-es5/mds-tab_2.entry.js +26 -1
  720. package/dist/esm-es5/mds-table-body.entry.js +1 -1
  721. package/dist/esm-es5/mds-table-footer.entry.js +1 -1
  722. package/dist/esm-es5/mds-table-header-cell.entry.js +4 -1
  723. package/dist/esm-es5/mds-table-header.entry.js +14 -1
  724. package/dist/esm-es5/mds-table-row.entry.js +8 -1
  725. package/dist/esm-es5/mds-table.entry.js +15 -1
  726. package/dist/esm-es5/mds-text.entry.js +27 -1
  727. package/dist/esm-es5/mds-toast.entry.js +15 -1
  728. package/dist/esm-es5/mds-tooltip.entry.js +37 -1
  729. package/dist/esm-es5/mds-tree-item.entry.js +16 -1
  730. package/dist/esm-es5/mds-tree.entry.js +20 -1
  731. package/dist/esm-es5/mds-url-view.entry.js +7 -1
  732. package/dist/esm-es5/mds-usage.entry.js +4 -1
  733. package/dist/esm-es5/mds-video-wall.entry.js +16 -1
  734. package/dist/esm-es5/mds-zero.entry.js +1 -1
  735. package/dist/esm-es5/preference-CKerJx2M.js +58 -0
  736. package/dist/esm-es5/slot-C0o_l0td.js +23 -0
  737. package/dist/hydrate/index.js +4281 -3175
  738. package/dist/hydrate/index.mjs +4281 -3175
  739. package/dist/magma-components/index.esm.js +1 -1
  740. package/dist/magma-components/magma-components.esm.js +1 -1
  741. package/dist/magma-components/magma-components.js +1 -1
  742. package/dist/magma-components/p-03be5c0c.entry.js +1 -0
  743. package/dist/magma-components/p-0715a2cb.system.entry.js +12 -0
  744. package/dist/magma-components/p-071f18c6.system.entry.js +27 -0
  745. package/dist/magma-components/p-0798b0bf.system.entry.js +24 -0
  746. package/dist/magma-components/p-07fde74d.system.entry.js +39 -0
  747. package/dist/magma-components/p-086fb3aa.entry.js +1 -0
  748. package/dist/magma-components/p-0a088e7d.system.entry.js +10 -0
  749. package/dist/magma-components/p-0a691082.entry.js +1 -0
  750. package/dist/magma-components/p-0ad3b4da.system.entry.js +102 -0
  751. package/dist/magma-components/p-0af8d821.entry.js +1 -0
  752. package/dist/magma-components/p-0ec21574.system.entry.js +10 -0
  753. package/dist/magma-components/p-0f6bb54d.system.entry.js +22 -0
  754. package/dist/magma-components/p-102d3bd3.system.entry.js +1 -0
  755. package/dist/magma-components/p-10704ede.system.entry.js +4 -0
  756. package/dist/magma-components/p-15f63bf3.entry.js +1 -0
  757. package/dist/magma-components/p-16e9fb14.system.entry.js +7 -0
  758. package/dist/magma-components/p-1780b8ba.entry.js +1 -0
  759. package/dist/magma-components/p-181dfb04.entry.js +1 -0
  760. package/dist/magma-components/p-184720be.system.entry.js +1 -0
  761. package/dist/magma-components/p-18f7b970.system.entry.js +4 -0
  762. package/dist/magma-components/p-1a8c5086.system.entry.js +19 -0
  763. package/dist/magma-components/p-1afc0452.entry.js +1 -0
  764. package/dist/magma-components/p-1c0a7e24.system.entry.js +30 -0
  765. package/dist/magma-components/p-1cce738a.system.entry.js +32 -0
  766. package/dist/magma-components/p-1dcfb13e.entry.js +1 -0
  767. package/dist/magma-components/p-1df6ac96.system.entry.js +7 -0
  768. package/dist/magma-components/p-209063b6.system.entry.js +50 -0
  769. package/dist/magma-components/p-216f95cc.system.entry.js +1 -0
  770. package/dist/magma-components/p-21891a24.entry.js +1 -0
  771. package/dist/magma-components/p-21d6687a.system.entry.js +7 -0
  772. package/dist/magma-components/p-231505e8.entry.js +1 -0
  773. package/dist/magma-components/p-23e61db9.system.entry.js +4 -0
  774. package/dist/magma-components/p-241dbf61.entry.js +1 -0
  775. package/dist/magma-components/p-25935d33.system.entry.js +1 -0
  776. package/dist/magma-components/p-27ea99ee.entry.js +8 -0
  777. package/dist/magma-components/p-284c40cd.system.entry.js +4 -0
  778. package/dist/magma-components/p-29684655.system.entry.js +16 -0
  779. package/dist/magma-components/p-2b73fee6.entry.js +1 -0
  780. package/dist/magma-components/p-2d5aadba.system.entry.js +7 -0
  781. package/dist/magma-components/p-2de17848.entry.js +1 -0
  782. package/dist/magma-components/p-34482514.entry.js +1 -0
  783. package/dist/magma-components/p-34c0890e.entry.js +1 -0
  784. package/dist/magma-components/p-3635eca6.system.entry.js +1 -0
  785. package/dist/magma-components/p-3b0c1202.entry.js +1 -0
  786. package/dist/magma-components/p-3d8e63a2.system.entry.js +63 -0
  787. package/dist/magma-components/p-3db23b5f.system.entry.js +16 -0
  788. package/dist/magma-components/p-3ec7d3ea.entry.js +1 -0
  789. package/dist/magma-components/p-3f7d3060.system.entry.js +42 -0
  790. package/dist/magma-components/p-40563e33.entry.js +1 -0
  791. package/dist/magma-components/p-41bf6f25.system.entry.js +81 -0
  792. package/dist/magma-components/p-421a630e.entry.js +1 -0
  793. package/dist/magma-components/p-4297da23.system.entry.js +1 -0
  794. package/dist/magma-components/p-4299b76b.system.entry.js +4 -0
  795. package/dist/magma-components/p-4543501c.entry.js +1 -0
  796. package/dist/magma-components/p-454c4774.entry.js +1 -0
  797. package/dist/magma-components/p-4616bc07.entry.js +1 -0
  798. package/dist/magma-components/p-46786d71.system.entry.js +14 -0
  799. package/dist/magma-components/p-470e5ac8.system.entry.js +1 -0
  800. package/dist/magma-components/p-481008e9.system.entry.js +13 -0
  801. package/dist/magma-components/p-48d37230.entry.js +1 -0
  802. package/dist/magma-components/p-4b3a8132.system.entry.js +13 -0
  803. package/dist/magma-components/p-4c8316a8.entry.js +1 -0
  804. package/dist/magma-components/p-4c95442e.entry.js +1 -0
  805. package/dist/magma-components/p-4e4bdbf8.entry.js +1 -0
  806. package/dist/magma-components/p-4e5ab0e4.system.entry.js +16 -0
  807. package/dist/magma-components/p-4f107cb2.system.entry.js +2838 -0
  808. package/dist/magma-components/p-4oB0woT9.system.js +6 -0
  809. package/dist/magma-components/p-54b995c2.system.entry.js +4 -0
  810. package/dist/magma-components/p-56ad5bf2.entry.js +1 -0
  811. package/dist/magma-components/p-59de81ac.entry.js +1 -0
  812. package/dist/magma-components/p-5a7ead55.system.entry.js +37 -0
  813. package/dist/magma-components/p-5e43274a.system.entry.js +15 -0
  814. package/dist/magma-components/p-5f545f85.system.entry.js +1 -0
  815. package/dist/magma-components/p-61a5ac3d.system.entry.js +17 -0
  816. package/dist/magma-components/p-636cc471.entry.js +1 -0
  817. package/dist/magma-components/p-66ce2dee.entry.js +1 -0
  818. package/dist/magma-components/p-67d80d37.system.entry.js +1 -0
  819. package/dist/magma-components/p-6937f340.entry.js +1 -0
  820. package/dist/magma-components/p-69d1b815.entry.js +1 -0
  821. package/dist/magma-components/p-6b7e449f.entry.js +1 -0
  822. package/dist/magma-components/p-6c417ea1.system.entry.js +913 -0
  823. package/dist/magma-components/p-6cd7cfe3.entry.js +1 -0
  824. package/dist/magma-components/p-6ce60d59.entry.js +1 -0
  825. package/dist/magma-components/p-6cf760ea.system.entry.js +45 -0
  826. package/dist/magma-components/p-6dc27543.entry.js +1 -0
  827. package/dist/magma-components/p-6de37588.entry.js +1 -0
  828. package/dist/magma-components/p-6edc4f16.system.entry.js +14 -0
  829. package/dist/magma-components/p-6f6b5eb5.entry.js +1 -0
  830. package/dist/magma-components/p-7090184f.entry.js +1 -0
  831. package/dist/magma-components/p-716ad14c.entry.js +1 -0
  832. package/dist/magma-components/p-71804224.entry.js +1 -0
  833. package/dist/magma-components/p-735dc594.system.entry.js +1 -0
  834. package/dist/magma-components/p-739fdf76.system.entry.js +1 -0
  835. package/dist/magma-components/p-74b0902a.entry.js +1 -0
  836. package/dist/magma-components/p-7530a2f2.entry.js +1 -0
  837. package/dist/magma-components/p-75dd012a.system.entry.js +11 -0
  838. package/dist/magma-components/p-75fcf1a4.entry.js +1 -0
  839. package/dist/magma-components/p-76ae22d6.entry.js +1 -0
  840. package/dist/magma-components/p-78248693.entry.js +1 -0
  841. package/dist/magma-components/p-78fef00a.entry.js +1 -0
  842. package/dist/magma-components/p-7c0d202c.entry.js +1 -0
  843. package/dist/magma-components/p-7fc29447.entry.js +1 -0
  844. package/dist/magma-components/p-81b72b6e.entry.js +1 -0
  845. package/dist/magma-components/p-859ab5a2.entry.js +18 -0
  846. package/dist/magma-components/p-896ae0ee.entry.js +1 -0
  847. package/dist/magma-components/p-89a3bc7a.system.entry.js +16 -0
  848. package/dist/magma-components/p-8b7fa8d7.entry.js +1 -0
  849. package/dist/magma-components/p-8c4fb7ec.system.entry.js +30 -0
  850. package/dist/magma-components/p-8dff6606.system.entry.js +11 -0
  851. package/dist/magma-components/p-8e40eda3.system.entry.js +9 -0
  852. package/dist/magma-components/p-91b9d4e7.system.entry.js +4 -0
  853. package/dist/magma-components/p-92e1001f.entry.js +1 -0
  854. package/dist/magma-components/p-9378b373.system.entry.js +49 -0
  855. package/dist/magma-components/p-960dc9b5.system.entry.js +15 -0
  856. package/dist/magma-components/p-9626eaff.system.entry.js +134 -0
  857. package/dist/magma-components/p-9741d95e.system.entry.js +7 -0
  858. package/dist/magma-components/p-97ea9e6e.system.entry.js +68 -0
  859. package/dist/magma-components/p-9846fe89.system.entry.js +1 -0
  860. package/dist/magma-components/p-998721b9.system.entry.js +1 -0
  861. package/dist/magma-components/p-9a5296c0.system.entry.js +7 -0
  862. package/dist/magma-components/p-9b2ee3fe.entry.js +1 -0
  863. package/dist/magma-components/p-9be4a736.entry.js +1 -0
  864. package/dist/magma-components/p-9ca7932d.system.entry.js +8 -0
  865. package/dist/magma-components/p-9d86477d.system.entry.js +1 -0
  866. package/dist/magma-components/p-9e3bc553.system.entry.js +26 -0
  867. package/dist/magma-components/p-9e58467e.system.entry.js +10 -0
  868. package/dist/magma-components/p-9e9a1ebd.system.entry.js +15 -0
  869. package/dist/magma-components/p-A9TZf0Ii.js +1 -0
  870. package/dist/magma-components/p-B6mQg6yQ.js +1 -0
  871. package/dist/magma-components/p-BFnx_0hM.js +5 -0
  872. package/dist/magma-components/p-BJKToXNf.system.js +2733 -1
  873. package/dist/magma-components/p-BbMKuVem.js +1 -0
  874. package/dist/magma-components/p-C0o_l0td.js +1 -0
  875. package/dist/magma-components/p-C2FHijr2.system.js +231 -0
  876. package/dist/magma-components/p-CACEYk42.js +1 -0
  877. package/dist/magma-components/p-CBam2PI8.system.js +79 -0
  878. package/dist/magma-components/p-CDTiTqY0.system.js +58 -0
  879. package/dist/magma-components/p-CHAGzQT-.js +1 -0
  880. package/dist/magma-components/p-CI85vVs8.system.js +9 -0
  881. package/dist/magma-components/p-CnXBPjmc.system.js +5 -0
  882. package/dist/magma-components/p-DB8Rm54c.js +1 -0
  883. package/dist/magma-components/p-DIiEV39g.js +3 -0
  884. package/dist/magma-components/p-Dg8nxRUX.system.js +201 -0
  885. package/dist/magma-components/p-DmC-b-ZK.system.js +67 -0
  886. package/dist/magma-components/p-KRu9I7dw.js +1 -0
  887. package/dist/magma-components/p-LerCJgfP.system.js +5 -0
  888. package/dist/magma-components/p-MGv0i39Y.system.js +162 -0
  889. package/dist/magma-components/p-RJ5ZA1kY.system.js +23 -0
  890. package/dist/magma-components/p-a3279a73.system.entry.js +11 -0
  891. package/dist/magma-components/p-a3b0f586.entry.js +1 -0
  892. package/dist/magma-components/p-a3fc2ea4.system.entry.js +39 -0
  893. package/dist/magma-components/p-a5ac5e0b.entry.js +1 -0
  894. package/dist/magma-components/p-a8ec3080.system.entry.js +27 -0
  895. package/dist/magma-components/p-a906a02f.system.entry.js +16 -0
  896. package/dist/magma-components/p-a93b2a39.entry.js +1 -0
  897. package/dist/magma-components/p-aa267e7b.entry.js +1 -0
  898. package/dist/magma-components/p-ab9095ae.system.entry.js +4 -0
  899. package/dist/magma-components/p-ac544ab1.entry.js +1 -0
  900. package/dist/magma-components/p-ace198e9.entry.js +1 -0
  901. package/dist/magma-components/p-ad3983b2.entry.js +1 -0
  902. package/dist/magma-components/p-af41c8b8.system.entry.js +1 -0
  903. package/dist/magma-components/p-af45f0a5.system.entry.js +20 -0
  904. package/dist/magma-components/p-b23a6c83.entry.js +1 -0
  905. package/dist/magma-components/p-b35c26f8.entry.js +18 -0
  906. package/dist/magma-components/p-b3a3578c.entry.js +1 -0
  907. package/dist/magma-components/p-b49e0321.system.entry.js +1 -0
  908. package/dist/magma-components/p-b71e0d51.entry.js +1 -0
  909. package/dist/magma-components/p-b8d4a14e.entry.js +1 -0
  910. package/dist/magma-components/p-b9fecfd5.entry.js +1 -0
  911. package/dist/magma-components/p-ba035f90.entry.js +1 -0
  912. package/dist/magma-components/p-bc51d310.system.entry.js +1 -0
  913. package/dist/magma-components/p-bd490a8e.entry.js +1 -0
  914. package/dist/magma-components/p-be198039.system.entry.js +4 -0
  915. package/dist/magma-components/p-be692266.system.entry.js +13 -0
  916. package/dist/magma-components/p-bf7168b4.entry.js +1 -0
  917. package/dist/magma-components/p-bf84d9fa.entry.js +1 -0
  918. package/dist/magma-components/p-c1fb2eb7.entry.js +1 -0
  919. package/dist/magma-components/p-c4e58240.entry.js +1 -0
  920. package/dist/magma-components/p-c573de10.entry.js +1 -0
  921. package/dist/magma-components/p-c6be3db7.system.entry.js +1 -0
  922. package/dist/magma-components/p-c70d7159.entry.js +1 -0
  923. package/dist/magma-components/p-c7517884.system.entry.js +38 -0
  924. package/dist/magma-components/p-c9be79bd.entry.js +1 -0
  925. package/dist/magma-components/p-c9e12c2b.system.entry.js +7 -0
  926. package/dist/magma-components/p-cb6a1908.entry.js +1 -0
  927. package/dist/magma-components/p-cbd5aef4.system.entry.js +14 -0
  928. package/dist/magma-components/p-cd21137b.system.entry.js +1 -0
  929. package/dist/magma-components/p-cd5866c8.entry.js +1 -0
  930. package/dist/magma-components/p-ce0ecc75.system.entry.js +15 -0
  931. package/dist/magma-components/p-ce4e1a41.system.entry.js +1 -0
  932. package/dist/magma-components/p-d3116844.entry.js +1 -0
  933. package/dist/magma-components/p-d38165ed.system.entry.js +1 -0
  934. package/dist/magma-components/p-d3933a22.entry.js +1 -0
  935. package/dist/magma-components/p-d44c49d6.system.entry.js +8 -0
  936. package/dist/magma-components/p-d4a529ce.entry.js +1 -0
  937. package/dist/magma-components/p-d6d4aa1a.entry.js +1 -0
  938. package/dist/magma-components/p-d81e7100.system.entry.js +15 -0
  939. package/dist/magma-components/p-d8c27f4b.entry.js +1 -0
  940. package/dist/magma-components/p-d921d876.entry.js +1 -0
  941. package/dist/magma-components/p-da1ac3e1.entry.js +1 -0
  942. package/dist/magma-components/p-ddbdce09.entry.js +1 -0
  943. package/dist/magma-components/p-de6bc3c8.entry.js +1 -0
  944. package/dist/magma-components/p-df2b7607.system.entry.js +4 -0
  945. package/dist/magma-components/p-e05d2df8.system.entry.js +4 -0
  946. package/dist/magma-components/p-e0b2ef8f.system.entry.js +1 -0
  947. package/dist/magma-components/p-e0c50a2d.entry.js +1 -0
  948. package/dist/magma-components/p-e1277efe.system.entry.js +1 -0
  949. package/dist/magma-components/p-e1e6dd97.entry.js +1 -0
  950. package/dist/magma-components/p-e2f7a9bd.system.entry.js +1 -0
  951. package/dist/magma-components/p-e3e893c4.entry.js +1 -0
  952. package/dist/magma-components/p-e4868ade.entry.js +1 -0
  953. package/dist/magma-components/p-e5c6f9a9.system.entry.js +7 -0
  954. package/dist/magma-components/p-e5da7036.entry.js +1 -0
  955. package/dist/magma-components/p-e6dccab5.system.entry.js +1 -0
  956. package/dist/magma-components/p-ec59ec9a.entry.js +1 -0
  957. package/dist/magma-components/p-eddcef53.system.entry.js +1 -0
  958. package/dist/magma-components/p-eed00e7f.system.entry.js +1 -0
  959. package/dist/magma-components/p-ef8cb401.entry.js +1 -0
  960. package/dist/magma-components/p-efe8d359.entry.js +1 -0
  961. package/dist/magma-components/p-f070a5b5.system.entry.js +11 -0
  962. package/dist/magma-components/p-f0a168f4.system.entry.js +13 -0
  963. package/dist/magma-components/p-f1462410.system.entry.js +9 -0
  964. package/dist/magma-components/p-f23d4974.entry.js +1 -0
  965. package/dist/magma-components/p-f542246f.system.entry.js +1 -0
  966. package/dist/magma-components/p-f5c680dd.entry.js +1 -0
  967. package/dist/magma-components/p-f60c6e8e.system.entry.js +40 -0
  968. package/dist/magma-components/p-f8369939.entry.js +1 -0
  969. package/dist/magma-components/p-f97ede3e.system.entry.js +19 -0
  970. package/dist/magma-components/p-f97ff5b2.entry.js +1 -0
  971. package/dist/magma-components/p-fe1662e8.system.entry.js +28 -0
  972. package/dist/magma-components/p-ff133cbd.entry.js +1 -0
  973. package/dist/magma-components/p-fff44704.entry.js +1 -0
  974. package/dist/magma-components/p-opeIIa7t.system.js +7 -0
  975. package/dist/stats.json +5356 -7143
  976. package/dist/types/common/date.d.ts +5 -1
  977. package/dist/types/common/floating-controller.d.ts +56 -2
  978. package/dist/types/common/form.d.ts +10 -0
  979. package/dist/types/common/locale.d.ts +0 -5
  980. package/dist/types/common/preference.d.ts +48 -16
  981. package/dist/types/common/slot.d.ts +11 -1
  982. package/dist/types/common/yugop/random-text.d.ts +8 -0
  983. package/dist/types/components/mds-accordion/mds-accordion.d.ts +0 -8
  984. package/dist/types/components/mds-accordion-item/mds-accordion-item.d.ts +0 -10
  985. package/dist/types/components/mds-accordion-timer-item/mds-accordion-timer-item.d.ts +0 -4
  986. package/dist/types/components/mds-author/mds-author.d.ts +2 -1
  987. package/dist/types/components/mds-avatar/mds-avatar.d.ts +0 -6
  988. package/dist/types/components/mds-badge/mds-badge.d.ts +0 -10
  989. package/dist/types/components/mds-banner/mds-banner.d.ts +2 -16
  990. package/dist/types/components/mds-breadcrumb/mds-breadcrumb.d.ts +0 -6
  991. package/dist/types/components/mds-button/mds-button.d.ts +0 -7
  992. package/dist/types/components/mds-button-group/mds-button-group.d.ts +1 -1
  993. package/dist/types/components/mds-calendar/mds-calendar.d.ts +27 -18
  994. package/dist/types/components/mds-card/mds-card.d.ts +0 -8
  995. package/dist/types/components/mds-card-header/mds-card-header.d.ts +2 -1
  996. package/dist/types/components/mds-chip/mds-chip.d.ts +0 -15
  997. package/dist/types/components/mds-details/mds-details.d.ts +0 -5
  998. package/dist/types/components/mds-dropdown/mds-dropdown.d.ts +33 -12
  999. package/dist/types/components/mds-emoji/mds-emoji.d.ts +9 -2
  1000. package/dist/types/components/mds-entity/mds-entity.d.ts +3 -10
  1001. package/dist/types/components/mds-file/mds-file.d.ts +0 -15
  1002. package/dist/types/components/mds-file-preview/mds-file-preview.d.ts +0 -15
  1003. package/dist/types/components/mds-filter/mds-filter.d.ts +10 -10
  1004. package/dist/types/components/mds-filter-item/mds-filter-item.d.ts +0 -9
  1005. package/dist/types/components/mds-header/mds-header.d.ts +0 -7
  1006. package/dist/types/components/mds-header-bar/mds-header-bar.d.ts +2 -11
  1007. package/dist/types/components/mds-hr/mds-hr.d.ts +0 -6
  1008. package/dist/types/components/mds-img/mds-img.d.ts +1 -7
  1009. package/dist/types/components/mds-input/mds-input.d.ts +7 -15
  1010. package/dist/types/components/mds-input-date/mds-input-date.d.ts +9 -14
  1011. package/dist/types/components/mds-input-date-range/mds-input-date-range.d.ts +9 -12
  1012. package/dist/types/components/mds-input-field/mds-input-field.d.ts +3 -0
  1013. package/dist/types/components/mds-input-otp/mds-input-otp.d.ts +7 -0
  1014. package/dist/types/components/mds-input-range/mds-input-range.d.ts +0 -10
  1015. package/dist/types/components/mds-input-select/mds-input-select.d.ts +5 -14
  1016. package/dist/types/components/mds-input-switch/mds-input-switch.d.ts +0 -11
  1017. package/dist/types/components/mds-input-tip/mds-input-tip.d.ts +0 -4
  1018. package/dist/types/components/mds-input-tip-item/mds-input-tip-item.d.ts +0 -13
  1019. package/dist/types/components/mds-input-upload/mds-input-upload.d.ts +2 -7
  1020. package/dist/types/components/mds-input-upload/meta/types.d.ts +1 -1
  1021. package/dist/types/components/mds-keyboard/mds-keyboard.d.ts +0 -11
  1022. package/dist/types/components/mds-keyboard-key/mds-keyboard-key.d.ts +0 -7
  1023. package/dist/types/components/mds-keyboard-key/meta/icons.d.ts +1 -1
  1024. package/dist/types/components/mds-kpi-item/mds-kpi-item.d.ts +8 -10
  1025. package/dist/types/components/mds-label/mds-label.d.ts +0 -12
  1026. package/dist/types/components/mds-list-item/mds-list-item.d.ts +0 -4
  1027. package/dist/types/components/mds-mention/mds-mention.d.ts +13 -0
  1028. package/dist/types/components/mds-mention/meta/interface.d.ts +5 -0
  1029. package/dist/types/components/mds-modal/mds-modal.d.ts +17 -16
  1030. package/dist/types/components/mds-note/mds-note.d.ts +0 -15
  1031. package/dist/types/components/mds-notification/mds-notification.d.ts +0 -3
  1032. package/dist/types/components/mds-paginator/mds-paginator.d.ts +9 -11
  1033. package/dist/types/components/mds-paginator-item/mds-paginator-item.d.ts +0 -7
  1034. package/dist/types/components/mds-policy-ai/mds-policy-ai.d.ts +0 -7
  1035. package/dist/types/components/mds-pref/mds-pref.d.ts +12 -8
  1036. package/dist/types/components/mds-pref-animation/mds-pref-animation.d.ts +0 -10
  1037. package/dist/types/components/mds-pref-consumption/mds-pref-consumption.d.ts +0 -10
  1038. package/dist/types/components/mds-pref-contrast/mds-pref-contrast.d.ts +0 -10
  1039. package/dist/types/components/mds-pref-language/mds-pref-language.d.ts +3 -9
  1040. package/dist/types/components/mds-pref-language-item/mds-pref-language-item.d.ts +3 -7
  1041. package/dist/types/components/mds-pref-mode/mds-pref-mode.d.ts +62 -0
  1042. package/dist/types/components/mds-pref-mode/meta/dictionary.d.ts +3 -0
  1043. package/dist/types/components/mds-pref-theme/mds-pref-theme.d.ts +63 -45
  1044. package/dist/types/components/mds-pref-theme/meta/dictionary.d.ts +2 -3
  1045. package/dist/types/components/mds-pref-theme-item/mds-pref-theme-item.d.ts +28 -0
  1046. package/dist/types/components/mds-price-table-features/mds-price-table-features.d.ts +0 -10
  1047. package/dist/types/components/mds-price-table-features-cell/mds-price-table-features-cell.d.ts +0 -10
  1048. package/dist/types/components/mds-price-table-features-row/mds-price-table-features-row.d.ts +0 -10
  1049. package/dist/types/components/mds-price-table-list/mds-price-table-list.d.ts +0 -10
  1050. package/dist/types/components/mds-progress/mds-progress.d.ts +0 -10
  1051. package/dist/types/components/mds-push-notification/mds-push-notification.d.ts +0 -6
  1052. package/dist/types/components/mds-push-notification-item/mds-push-notification-item.d.ts +3 -17
  1053. package/dist/types/components/mds-quote/mds-quote.d.ts +0 -4
  1054. package/dist/types/components/mds-radial-progress/mds-radial-progress.d.ts +0 -1
  1055. package/dist/types/components/mds-separator/mds-separator.d.ts +0 -8
  1056. package/dist/types/components/mds-spinner/mds-spinner.d.ts +0 -4
  1057. package/dist/types/components/mds-status-bar/mds-status-bar.d.ts +0 -10
  1058. package/dist/types/components/mds-stepper-bar/mds-stepper-bar.d.ts +10 -0
  1059. package/dist/types/components/mds-stepper-bar-item/mds-stepper-bar-item.d.ts +0 -9
  1060. package/dist/types/components/mds-tab/mds-tab.d.ts +0 -9
  1061. package/dist/types/components/mds-tab-bar/mds-tab-bar.d.ts +0 -10
  1062. package/dist/types/components/mds-tab-bar-item/mds-tab-bar-item.d.ts +0 -10
  1063. package/dist/types/components/mds-tab-item/mds-tab-item.d.ts +5 -8
  1064. package/dist/types/components/mds-table/mds-table.d.ts +10 -14
  1065. package/dist/types/components/mds-table-body/mds-table-body.d.ts +0 -4
  1066. package/dist/types/components/mds-table-cell/mds-table-cell.d.ts +0 -4
  1067. package/dist/types/components/mds-table-footer/mds-table-footer.d.ts +0 -4
  1068. package/dist/types/components/mds-table-header/mds-table-header.d.ts +0 -9
  1069. package/dist/types/components/mds-table-header-cell/mds-table-header-cell.d.ts +0 -4
  1070. package/dist/types/components/mds-table-row/mds-table-row.d.ts +3 -10
  1071. package/dist/types/components/mds-text/mds-text.d.ts +0 -4
  1072. package/dist/types/components/mds-toast/mds-toast.d.ts +2 -11
  1073. package/dist/types/components/mds-tooltip/mds-tooltip.d.ts +0 -9
  1074. package/dist/types/components/mds-tree-item/mds-tree-item.d.ts +1 -5
  1075. package/dist/types/components/mds-url-view/mds-url-view.d.ts +0 -15
  1076. package/dist/types/components/mds-usage/mds-usage.d.ts +0 -16
  1077. package/dist/types/components/mds-video-wall/mds-video-wall.d.ts +2 -1
  1078. package/dist/types/components/mds-zero/mds-zero.d.ts +0 -10
  1079. package/dist/types/components.d.ts +243 -239
  1080. package/dist/types/event-detail/preference.d.ts +2 -2
  1081. package/dist/types/event-detail/theme.d.ts +5 -0
  1082. package/dist/types/stencil-public-runtime.d.ts +12 -0
  1083. package/dist/types/type/preference.d.ts +16 -3
  1084. package/loader/index.d.ts +1 -1
  1085. package/package.json +60 -66
  1086. package/dist/cjs/date-dnDGaLCn.js +0 -16
  1087. package/dist/cjs/floating-controller-CXEVR1wX.js +0 -203
  1088. package/dist/cjs/floating-ui.dom-DW-02Mib.js +0 -1703
  1089. package/dist/cjs/index-CNuKb6Lv.js +0 -2896
  1090. package/dist/cjs/keyboard-manager-BXKT5TGW.js +0 -52
  1091. package/dist/cjs/locale-oGW3SvGJ.js +0 -837
  1092. package/dist/cjs/locale.it-D-rxNDkm.js +0 -512
  1093. package/dist/cjs/mds-pref-theme-variant-item.cjs.entry.js +0 -63
  1094. package/dist/cjs/mds-pref-theme-variant.cjs.entry.js +0 -149
  1095. package/dist/cjs/preference-BdpIXWLP.js +0 -81
  1096. package/dist/cjs/slot-CI0KpgtY.js +0 -52
  1097. package/dist/collection/components/mds-accordion/test/mds-accordion.stories.js +0 -39
  1098. package/dist/collection/components/mds-accordion-item/test/mds-accordion-item.stories.js +0 -35
  1099. package/dist/collection/components/mds-accordion-timer/test/mds-accordion-timer.stories.js +0 -51
  1100. package/dist/collection/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.js +0 -52
  1101. package/dist/collection/components/mds-author/test/mds-author.stories.js +0 -12
  1102. package/dist/collection/components/mds-avatar/test/mds-avatar.stories.js +0 -71
  1103. package/dist/collection/components/mds-avatar-stack/test/mds-avatar-stack.stories.js +0 -34
  1104. package/dist/collection/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.js +0 -60
  1105. package/dist/collection/components/mds-badge/test/mds-badge.stories.js +0 -46
  1106. package/dist/collection/components/mds-banner/test/mds-banner.stories.js +0 -106
  1107. package/dist/collection/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.js +0 -64
  1108. package/dist/collection/components/mds-bibliography/test/mds-bibliography.stories.js +0 -104
  1109. package/dist/collection/components/mds-breadcrumb/test/mds-breadcrumb.stories.js +0 -14
  1110. package/dist/collection/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.js +0 -24
  1111. package/dist/collection/components/mds-button/test/mds-button.stories.js +0 -346
  1112. package/dist/collection/components/mds-button-dropdown/test/mds-button-dropdown.stories.js +0 -73
  1113. package/dist/collection/components/mds-button-group/test/mds-button-group.stories.js +0 -12
  1114. package/dist/collection/components/mds-calendar/test/mds-calendar.stories.js +0 -24
  1115. package/dist/collection/components/mds-card/test/mds-card.stories.js +0 -82
  1116. package/dist/collection/components/mds-chip/test/mds-chip.stories.js +0 -120
  1117. package/dist/collection/components/mds-details/test/mds-details.stories.js +0 -20
  1118. package/dist/collection/components/mds-dropdown/test/mds-dropdown.stories.js +0 -256
  1119. package/dist/collection/components/mds-emoji/test/mds-emoji.stories.js +0 -87
  1120. package/dist/collection/components/mds-entity/test/mds-entity.stories.js +0 -101
  1121. package/dist/collection/components/mds-file/test/mds-file.stories.js +0 -73
  1122. package/dist/collection/components/mds-file-preview/test/mds-file-preview.stories.js +0 -154
  1123. package/dist/collection/components/mds-filter/test/mds-filter.stories.js +0 -49
  1124. package/dist/collection/components/mds-filter-item/test/mds-filter-item.stories.js +0 -36
  1125. package/dist/collection/components/mds-header/test/mds-header.stories.js +0 -71
  1126. package/dist/collection/components/mds-header-bar/test/mds-header-bar.stories.js +0 -21
  1127. package/dist/collection/components/mds-help/test/mds-help.stories.js +0 -23
  1128. package/dist/collection/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.js +0 -48
  1129. package/dist/collection/components/mds-hr/test/mds-hr.stories.js +0 -14
  1130. package/dist/collection/components/mds-icon/test/mds-icon.stories.js +0 -76
  1131. package/dist/collection/components/mds-img/test/mds-img-accessibility.stories.js +0 -34
  1132. package/dist/collection/components/mds-img/test/mds-img.stories.js +0 -62
  1133. package/dist/collection/components/mds-input/test/mds-input.stories.js +0 -302
  1134. package/dist/collection/components/mds-input-date/test/mds-input-date.stories.js +0 -70
  1135. package/dist/collection/components/mds-input-date-range/test/mds-input-date-range.stories.js +0 -109
  1136. package/dist/collection/components/mds-input-field/test/mds-input-field.stories.js +0 -90
  1137. package/dist/collection/components/mds-input-otp/test/mds-input-otp.stories.js +0 -68
  1138. package/dist/collection/components/mds-input-range/test/mds-input-range.stories.js +0 -92
  1139. package/dist/collection/components/mds-input-select/test/mds-input-select.stories.js +0 -97
  1140. package/dist/collection/components/mds-input-switch/test/mds-input-switch.stories.js +0 -169
  1141. package/dist/collection/components/mds-input-tip/test/mds-input-tip.stories.js +0 -20
  1142. package/dist/collection/components/mds-input-tip-item/test/mds-input-tip.stories.js +0 -20
  1143. package/dist/collection/components/mds-input-upload/test/mds-input-upload.stories.js +0 -48
  1144. package/dist/collection/components/mds-keyboard/test/mds-keyboard.stories.js +0 -30
  1145. package/dist/collection/components/mds-keyboard-key/test/mds-keyboard-key.stories.js +0 -20
  1146. package/dist/collection/components/mds-kpi/test/mds-kpi.stories.js +0 -22
  1147. package/dist/collection/components/mds-kpi-item/test/mds-kpi-item.stories.js +0 -34
  1148. package/dist/collection/components/mds-label/test/mds-label.stories.js +0 -72
  1149. package/dist/collection/components/mds-list/test/mds-list.stories.js +0 -8
  1150. package/dist/collection/components/mds-list-item/test/mds-list-item.stories.js +0 -29
  1151. package/dist/collection/components/mds-mention/test/mds-mention.stories.js +0 -31
  1152. package/dist/collection/components/mds-modal/test/mds-modal.stories.js +0 -388
  1153. package/dist/collection/components/mds-note/test/mds-note.stories.js +0 -31
  1154. package/dist/collection/components/mds-notification/test/mds-notification.stories.js +0 -64
  1155. package/dist/collection/components/mds-paginator/test/mds-paginator.stories.js +0 -28
  1156. package/dist/collection/components/mds-policy-ai/test/mds-policy.stories.js +0 -82
  1157. package/dist/collection/components/mds-pref/test/mds-pref.stories.js +0 -26
  1158. package/dist/collection/components/mds-pref-animation/test/mds-pref-animation.stories.js +0 -18
  1159. package/dist/collection/components/mds-pref-consumption/test/mds-pref-consumption.stories.js +0 -18
  1160. package/dist/collection/components/mds-pref-contrast/test/mds-pref-contrast.stories.js +0 -18
  1161. package/dist/collection/components/mds-pref-language/test/mds-pref-language.stories.js +0 -18
  1162. package/dist/collection/components/mds-pref-theme/test/mds-pref-theme.stories.js +0 -24
  1163. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.css +0 -40
  1164. package/dist/collection/components/mds-pref-theme-variant/mds-pref-theme-variant.js +0 -288
  1165. package/dist/collection/components/mds-pref-theme-variant/meta/dictionary.js +0 -2
  1166. package/dist/collection/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.js +0 -27
  1167. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.css +0 -100
  1168. package/dist/collection/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.js +0 -198
  1169. package/dist/collection/components/mds-price-table/test/mds-price-table.stories.js +0 -11
  1170. package/dist/collection/components/mds-price-table-features/test/mds-price-table-features.stories.js +0 -11
  1171. package/dist/collection/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.js +0 -11
  1172. package/dist/collection/components/mds-price-table-header/test/mds-price-table-header.stories.js +0 -8
  1173. package/dist/collection/components/mds-price-table-list/test/mds-price-table-list.stories.js +0 -12
  1174. package/dist/collection/components/mds-progress/test/mds-progress.stories.js +0 -66
  1175. package/dist/collection/components/mds-push-notification/test/mds-push-notification.stories.js +0 -104
  1176. package/dist/collection/components/mds-push-notification-item/test/mds-push-notification-item.stories.js +0 -194
  1177. package/dist/collection/components/mds-quote/test/mds-quote.stories.js +0 -33
  1178. package/dist/collection/components/mds-radial-menu/test/mds-radial-menu.stories.js +0 -98
  1179. package/dist/collection/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.js +0 -37
  1180. package/dist/collection/components/mds-radial-progress/test/mds-radial-progress.stories.js +0 -45
  1181. package/dist/collection/components/mds-separator/test/mds-separator.stories.js +0 -8
  1182. package/dist/collection/components/mds-spinner/test/mds-spinner.stories.js +0 -20
  1183. package/dist/collection/components/mds-status-bar/test/mds-status-bar.stories.js +0 -80
  1184. package/dist/collection/components/mds-stepper-bar/test/mds-stepper-bar.stories.js +0 -100
  1185. package/dist/collection/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.js +0 -70
  1186. package/dist/collection/components/mds-tab/test/mds-tab.stories.js +0 -152
  1187. package/dist/collection/components/mds-tab-bar/test/mds-tab-bar.stories.js +0 -8
  1188. package/dist/collection/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.js +0 -21
  1189. package/dist/collection/components/mds-tab-item/test/mds-tab-item.stories.js +0 -54
  1190. package/dist/collection/components/mds-table/test/mds-table.stories.js +0 -107
  1191. package/dist/collection/components/mds-text/test/mds-text.stories.js +0 -183
  1192. package/dist/collection/components/mds-toast/test/mds-toast.stories.js +0 -52
  1193. package/dist/collection/components/mds-tooltip/test/mds-tooltip.stories.js +0 -155
  1194. package/dist/collection/components/mds-tree/test/mds-tree-apk.stories.js +0 -66
  1195. package/dist/collection/components/mds-tree/test/mds-tree.stories.js +0 -83
  1196. package/dist/collection/components/mds-tree-item/test/mds-tree-item.stories.js +0 -71
  1197. package/dist/collection/components/mds-url-view/test/mds-url-view.stories.js +0 -75
  1198. package/dist/collection/components/mds-usage/test/mds-usage.stories.js +0 -33
  1199. package/dist/collection/components/mds-video-wall/test/mds-video-wall.stories.js +0 -104
  1200. package/dist/collection/components/mds-zero/test/mds-zero.stories.js +0 -8
  1201. package/dist/collection/storybook/box-shadows.stories.js +0 -53
  1202. package/dist/collection/storybook/color-scale.stories.js +0 -465
  1203. package/dist/collection/storybook/components-preview.stories.js +0 -36
  1204. package/dist/collection/storybook/example-page.stories.js +0 -10
  1205. package/dist/collection/storybook/fouc-hydrated.stories.js +0 -20
  1206. package/dist/collection/storybook/input-form.stories.js +0 -40
  1207. package/dist/collection/storybook/same-childrend-slot-names.stories.js +0 -10
  1208. package/dist/collection/test/file.js +0 -53
  1209. package/dist/collection/test/mock.js +0 -19
  1210. package/dist/components/date.js +0 -1
  1211. package/dist/components/floating-controller.js +0 -1
  1212. package/dist/components/floating-ui.dom.js +0 -1
  1213. package/dist/components/icons-set.service.js +0 -1
  1214. package/dist/components/keyboard-manager.js +0 -1
  1215. package/dist/components/locale.it.js +0 -1
  1216. package/dist/components/locale.js +0 -5
  1217. package/dist/components/mds-avatar-stack-item2.js +0 -1
  1218. package/dist/components/mds-avatar2.js +0 -1
  1219. package/dist/components/mds-badge2.js +0 -1
  1220. package/dist/components/mds-banner2.js +0 -1
  1221. package/dist/components/mds-button2.js +0 -1
  1222. package/dist/components/mds-calendar-cell2.js +0 -1
  1223. package/dist/components/mds-calendar2.js +0 -1
  1224. package/dist/components/mds-chip2.js +0 -1
  1225. package/dist/components/mds-dropdown2.js +0 -1
  1226. package/dist/components/mds-file-preview2.js +0 -8
  1227. package/dist/components/mds-filter-item2.js +0 -1
  1228. package/dist/components/mds-help2.js +0 -1
  1229. package/dist/components/mds-icon2.js +0 -1
  1230. package/dist/components/mds-img2.js +0 -1
  1231. package/dist/components/mds-input-switch2.js +0 -1
  1232. package/dist/components/mds-input-tip-item2.js +0 -1
  1233. package/dist/components/mds-input-tip2.js +0 -1
  1234. package/dist/components/mds-input2.js +0 -1
  1235. package/dist/components/mds-modal2.js +0 -1
  1236. package/dist/components/mds-paginator-item2.js +0 -1
  1237. package/dist/components/mds-pref-theme-variant-item.d.ts +0 -11
  1238. package/dist/components/mds-pref-theme-variant-item.js +0 -1
  1239. package/dist/components/mds-pref-theme-variant.d.ts +0 -11
  1240. package/dist/components/mds-pref-theme-variant.js +0 -1
  1241. package/dist/components/mds-progress2.js +0 -1
  1242. package/dist/components/mds-radial-progress2.js +0 -1
  1243. package/dist/components/mds-separator2.js +0 -1
  1244. package/dist/components/mds-spinner2.js +0 -1
  1245. package/dist/components/mds-tab-item2.js +0 -1
  1246. package/dist/components/mds-tab2.js +0 -1
  1247. package/dist/components/mds-table-cell2.js +0 -1
  1248. package/dist/components/mds-table-header-cell2.js +0 -1
  1249. package/dist/components/mds-text2.js +0 -1
  1250. package/dist/components/mds-tooltip2.js +0 -1
  1251. package/dist/components/preference.js +0 -1
  1252. package/dist/components/slot.js +0 -1
  1253. package/dist/esm/date-C1oxPa_J.js +0 -14
  1254. package/dist/esm/floating-controller-D5eXU5Mk.js +0 -200
  1255. package/dist/esm/floating-ui.dom-8RYXTPXs.js +0 -1695
  1256. package/dist/esm/index-CAd5312P.js +0 -2869
  1257. package/dist/esm/keyboard-manager-BudfaWhu.js +0 -50
  1258. package/dist/esm/locale-a4oAcjYG.js +0 -835
  1259. package/dist/esm/locale.it-Dj8sWDfj.js +0 -503
  1260. package/dist/esm/mds-pref-theme-variant-item.entry.js +0 -61
  1261. package/dist/esm/mds-pref-theme-variant.entry.js +0 -147
  1262. package/dist/esm/preference-fMwnXhio.js +0 -79
  1263. package/dist/esm/slot-ttrRC6OE.js +0 -48
  1264. package/dist/esm-es5/date-C1oxPa_J.js +0 -1
  1265. package/dist/esm-es5/floating-controller-D5eXU5Mk.js +0 -1
  1266. package/dist/esm-es5/floating-ui.dom-8RYXTPXs.js +0 -1
  1267. package/dist/esm-es5/index-CAd5312P.js +0 -1
  1268. package/dist/esm-es5/keyboard-manager-BudfaWhu.js +0 -1
  1269. package/dist/esm-es5/locale-a4oAcjYG.js +0 -5
  1270. package/dist/esm-es5/locale.it-Dj8sWDfj.js +0 -1
  1271. package/dist/esm-es5/mds-pref-theme-variant-item.entry.js +0 -1
  1272. package/dist/esm-es5/mds-pref-theme-variant.entry.js +0 -1
  1273. package/dist/esm-es5/preference-fMwnXhio.js +0 -1
  1274. package/dist/esm-es5/slot-ttrRC6OE.js +0 -1
  1275. package/dist/magma-components/p-0105d7c7.entry.js +0 -8
  1276. package/dist/magma-components/p-022defe8.entry.js +0 -1
  1277. package/dist/magma-components/p-02d858d0.entry.js +0 -1
  1278. package/dist/magma-components/p-0607a2b3.entry.js +0 -1
  1279. package/dist/magma-components/p-0af4d0ef.entry.js +0 -1
  1280. package/dist/magma-components/p-0b91aae4.entry.js +0 -1
  1281. package/dist/magma-components/p-0bb29dbd.system.entry.js +0 -1
  1282. package/dist/magma-components/p-0c1a5df0.entry.js +0 -1
  1283. package/dist/magma-components/p-0e986d85.entry.js +0 -18
  1284. package/dist/magma-components/p-0ea42813.entry.js +0 -1
  1285. package/dist/magma-components/p-0fe5aeaf.system.entry.js +0 -1
  1286. package/dist/magma-components/p-10ddec99.system.entry.js +0 -1
  1287. package/dist/magma-components/p-11567740.entry.js +0 -1
  1288. package/dist/magma-components/p-116238cf.system.entry.js +0 -1
  1289. package/dist/magma-components/p-1239667c.system.entry.js +0 -1
  1290. package/dist/magma-components/p-1518fda3.system.entry.js +0 -1
  1291. package/dist/magma-components/p-16c94506.system.entry.js +0 -1
  1292. package/dist/magma-components/p-18823bfc.system.entry.js +0 -1
  1293. package/dist/magma-components/p-188e94ef.system.entry.js +0 -1
  1294. package/dist/magma-components/p-19446c9e.entry.js +0 -1
  1295. package/dist/magma-components/p-1a73c7b0.system.entry.js +0 -1
  1296. package/dist/magma-components/p-1ad03ee9.entry.js +0 -1
  1297. package/dist/magma-components/p-1c4038f7.system.entry.js +0 -1
  1298. package/dist/magma-components/p-2035564c.system.entry.js +0 -1
  1299. package/dist/magma-components/p-2128ce5a.system.entry.js +0 -1
  1300. package/dist/magma-components/p-21ee64ec.entry.js +0 -1
  1301. package/dist/magma-components/p-224d2f55.entry.js +0 -1
  1302. package/dist/magma-components/p-23791e85.system.entry.js +0 -1
  1303. package/dist/magma-components/p-248c1b2c.system.entry.js +0 -1
  1304. package/dist/magma-components/p-249b80a5.entry.js +0 -1
  1305. package/dist/magma-components/p-262daf4f.entry.js +0 -1
  1306. package/dist/magma-components/p-288ce251.entry.js +0 -1
  1307. package/dist/magma-components/p-2a804b82.entry.js +0 -1
  1308. package/dist/magma-components/p-2aff9851.system.entry.js +0 -1
  1309. package/dist/magma-components/p-2b0667f6.system.entry.js +0 -1
  1310. package/dist/magma-components/p-2bd03b3d.system.entry.js +0 -1
  1311. package/dist/magma-components/p-2bfa7ed9.system.entry.js +0 -1
  1312. package/dist/magma-components/p-2c6c80e8.entry.js +0 -1
  1313. package/dist/magma-components/p-2e88e014.system.entry.js +0 -1
  1314. package/dist/magma-components/p-2f5cc981.system.entry.js +0 -1
  1315. package/dist/magma-components/p-31403b12.entry.js +0 -1
  1316. package/dist/magma-components/p-31616d0b.entry.js +0 -1
  1317. package/dist/magma-components/p-33b03c17.system.entry.js +0 -1
  1318. package/dist/magma-components/p-353f30cc.system.entry.js +0 -1
  1319. package/dist/magma-components/p-35482f9d.system.entry.js +0 -1
  1320. package/dist/magma-components/p-35b5889a.system.entry.js +0 -1
  1321. package/dist/magma-components/p-36d9d329.system.entry.js +0 -1
  1322. package/dist/magma-components/p-36fd1ed7.system.entry.js +0 -1
  1323. package/dist/magma-components/p-377c94ee.system.entry.js +0 -1
  1324. package/dist/magma-components/p-385f395d.system.entry.js +0 -1
  1325. package/dist/magma-components/p-39c09a42.system.entry.js +0 -1
  1326. package/dist/magma-components/p-3_AKUQtJ.system.js +0 -1
  1327. package/dist/magma-components/p-3c306ed0.system.entry.js +0 -1
  1328. package/dist/magma-components/p-3de6fa18.entry.js +0 -1
  1329. package/dist/magma-components/p-41da539f.entry.js +0 -1
  1330. package/dist/magma-components/p-422bb9e2.system.entry.js +0 -1
  1331. package/dist/magma-components/p-447c2d1b.entry.js +0 -1
  1332. package/dist/magma-components/p-44e2965d.entry.js +0 -1
  1333. package/dist/magma-components/p-46266f27.entry.js +0 -1
  1334. package/dist/magma-components/p-4630472f.entry.js +0 -1
  1335. package/dist/magma-components/p-4671336c.entry.js +0 -1
  1336. package/dist/magma-components/p-4803d24f.system.entry.js +0 -1
  1337. package/dist/magma-components/p-4a929c1c.entry.js +0 -1
  1338. package/dist/magma-components/p-4bc7756a.system.entry.js +0 -1
  1339. package/dist/magma-components/p-4f8ae676.system.entry.js +0 -1
  1340. package/dist/magma-components/p-50c922ad.system.entry.js +0 -1
  1341. package/dist/magma-components/p-50cdb70c.system.entry.js +0 -1
  1342. package/dist/magma-components/p-52c10dbf.system.entry.js +0 -1
  1343. package/dist/magma-components/p-52e35c13.system.entry.js +0 -1
  1344. package/dist/magma-components/p-56a8f1d0.system.entry.js +0 -1
  1345. package/dist/magma-components/p-5724212b.entry.js +0 -1
  1346. package/dist/magma-components/p-5be1c273.entry.js +0 -1
  1347. package/dist/magma-components/p-5d05fa1a.entry.js +0 -1
  1348. package/dist/magma-components/p-5de4bf4f.entry.js +0 -1
  1349. package/dist/magma-components/p-5e626696.entry.js +0 -1
  1350. package/dist/magma-components/p-5f1532c0.system.entry.js +0 -1
  1351. package/dist/magma-components/p-5fe8c814.entry.js +0 -1
  1352. package/dist/magma-components/p-60e8812c.system.entry.js +0 -17
  1353. package/dist/magma-components/p-611fa0a4.entry.js +0 -1
  1354. package/dist/magma-components/p-61fefe1b.system.entry.js +0 -1
  1355. package/dist/magma-components/p-62c9216f.system.entry.js +0 -1
  1356. package/dist/magma-components/p-652b4e43.entry.js +0 -1
  1357. package/dist/magma-components/p-6a92f533.entry.js +0 -1
  1358. package/dist/magma-components/p-6b3569a0.entry.js +0 -1
  1359. package/dist/magma-components/p-6b9175f1.system.entry.js +0 -1
  1360. package/dist/magma-components/p-6ecfec17.entry.js +0 -1
  1361. package/dist/magma-components/p-6ed096d3.system.entry.js +0 -1
  1362. package/dist/magma-components/p-6ee86191.entry.js +0 -1
  1363. package/dist/magma-components/p-70719b58.entry.js +0 -1
  1364. package/dist/magma-components/p-70e1a436.entry.js +0 -1
  1365. package/dist/magma-components/p-725d9e09.entry.js +0 -1
  1366. package/dist/magma-components/p-726a76f0.entry.js +0 -1
  1367. package/dist/magma-components/p-72d91c6f.system.entry.js +0 -1
  1368. package/dist/magma-components/p-73926a10.entry.js +0 -1
  1369. package/dist/magma-components/p-7499262d.system.entry.js +0 -1
  1370. package/dist/magma-components/p-750214a3.entry.js +0 -1
  1371. package/dist/magma-components/p-7590a160.entry.js +0 -1
  1372. package/dist/magma-components/p-75fa7e6f.system.entry.js +0 -1
  1373. package/dist/magma-components/p-765447d4.system.entry.js +0 -1
  1374. package/dist/magma-components/p-76cb480d.entry.js +0 -1
  1375. package/dist/magma-components/p-79e12ac8.entry.js +0 -1
  1376. package/dist/magma-components/p-7b4b9b88.system.entry.js +0 -1
  1377. package/dist/magma-components/p-7c464f28.entry.js +0 -1
  1378. package/dist/magma-components/p-7d338f59.system.entry.js +0 -1
  1379. package/dist/magma-components/p-81e16f90.system.entry.js +0 -1
  1380. package/dist/magma-components/p-82c6cdb9.system.entry.js +0 -1
  1381. package/dist/magma-components/p-83b01f8e.system.entry.js +0 -1
  1382. package/dist/magma-components/p-8546f46f.system.entry.js +0 -1
  1383. package/dist/magma-components/p-85a2d99d.entry.js +0 -1
  1384. package/dist/magma-components/p-8620f425.entry.js +0 -1
  1385. package/dist/magma-components/p-89581b08.system.entry.js +0 -1
  1386. package/dist/magma-components/p-8964a9fe.entry.js +0 -1
  1387. package/dist/magma-components/p-899cd759.entry.js +0 -1
  1388. package/dist/magma-components/p-8RYXTPXs.js +0 -1
  1389. package/dist/magma-components/p-8b2408b2.entry.js +0 -1
  1390. package/dist/magma-components/p-8b9f6896.entry.js +0 -1
  1391. package/dist/magma-components/p-8bde0c42.entry.js +0 -1
  1392. package/dist/magma-components/p-8d5955ca.system.entry.js +0 -1
  1393. package/dist/magma-components/p-91a1d3d5.entry.js +0 -1
  1394. package/dist/magma-components/p-93538408.system.entry.js +0 -1
  1395. package/dist/magma-components/p-94ff105b.system.entry.js +0 -1
  1396. package/dist/magma-components/p-96f7ec63.entry.js +0 -1
  1397. package/dist/magma-components/p-97144490.entry.js +0 -1
  1398. package/dist/magma-components/p-999b0698.system.entry.js +0 -1
  1399. package/dist/magma-components/p-9e533765.system.entry.js +0 -18
  1400. package/dist/magma-components/p-BMAK4u5Y.system.js +0 -1
  1401. package/dist/magma-components/p-Bh89IjzU.system.js +0 -1
  1402. package/dist/magma-components/p-BudfaWhu.js +0 -1
  1403. package/dist/magma-components/p-C1oxPa_J.js +0 -1
  1404. package/dist/magma-components/p-CAd5312P.js +0 -2
  1405. package/dist/magma-components/p-CJPnuGyH.system.js +0 -1
  1406. package/dist/magma-components/p-CSb7Iu19.js +0 -1
  1407. package/dist/magma-components/p-DI5DWqw4.system.js +0 -2
  1408. package/dist/magma-components/p-DTZViJWJ.system.js +0 -1
  1409. package/dist/magma-components/p-DcKeJ0td.system.js +0 -6
  1410. package/dist/magma-components/p-DssKRrAV.system.js +0 -1
  1411. package/dist/magma-components/p-MSUJeuJp.js +0 -1
  1412. package/dist/magma-components/p-a24d6d4a.system.entry.js +0 -1
  1413. package/dist/magma-components/p-a24dadaa.system.entry.js +0 -1
  1414. package/dist/magma-components/p-a2b84011.system.entry.js +0 -1
  1415. package/dist/magma-components/p-a2d761d6.entry.js +0 -1
  1416. package/dist/magma-components/p-a379adca.entry.js +0 -1
  1417. package/dist/magma-components/p-a46f7424.system.entry.js +0 -1
  1418. package/dist/magma-components/p-a47708f1.system.entry.js +0 -1
  1419. package/dist/magma-components/p-a4d11055.system.entry.js +0 -1
  1420. package/dist/magma-components/p-a4oAcjYG.js +0 -5
  1421. package/dist/magma-components/p-a5ef9d32.entry.js +0 -18
  1422. package/dist/magma-components/p-a6103622.entry.js +0 -1
  1423. package/dist/magma-components/p-a6b8b861.entry.js +0 -1
  1424. package/dist/magma-components/p-a6bdaa85.entry.js +0 -1
  1425. package/dist/magma-components/p-a716833c.system.entry.js +0 -1
  1426. package/dist/magma-components/p-a877906d.system.entry.js +0 -1
  1427. package/dist/magma-components/p-a8a2d90e.system.entry.js +0 -1
  1428. package/dist/magma-components/p-a92edada.entry.js +0 -1
  1429. package/dist/magma-components/p-aafec5fe.entry.js +0 -1
  1430. package/dist/magma-components/p-abce0c57.system.entry.js +0 -1
  1431. package/dist/magma-components/p-ac2ee475.entry.js +0 -1
  1432. package/dist/magma-components/p-ac5baffa.system.entry.js +0 -1
  1433. package/dist/magma-components/p-ad1ad433.system.entry.js +0 -1
  1434. package/dist/magma-components/p-ae433eb9.entry.js +0 -1
  1435. package/dist/magma-components/p-afaef9a1.entry.js +0 -1
  1436. package/dist/magma-components/p-b257222c.system.entry.js +0 -1
  1437. package/dist/magma-components/p-b472ed3c.entry.js +0 -1
  1438. package/dist/magma-components/p-b4fc19e9.entry.js +0 -1
  1439. package/dist/magma-components/p-b53ef2c1.entry.js +0 -1
  1440. package/dist/magma-components/p-b7dedc9f.entry.js +0 -1
  1441. package/dist/magma-components/p-b97edfb5.entry.js +0 -1
  1442. package/dist/magma-components/p-bc851caf.entry.js +0 -1
  1443. package/dist/magma-components/p-bc8ef479.system.entry.js +0 -9
  1444. package/dist/magma-components/p-bdc54840.system.entry.js +0 -1
  1445. package/dist/magma-components/p-bf29ca5a.entry.js +0 -1
  1446. package/dist/magma-components/p-bfc29d3b.system.entry.js +0 -1
  1447. package/dist/magma-components/p-bff1e84c.system.entry.js +0 -1
  1448. package/dist/magma-components/p-c01c49b6.entry.js +0 -1
  1449. package/dist/magma-components/p-c0296d86.system.entry.js +0 -1
  1450. package/dist/magma-components/p-c036f516.entry.js +0 -1
  1451. package/dist/magma-components/p-c3d8aa52.entry.js +0 -1
  1452. package/dist/magma-components/p-c4e7b103.system.entry.js +0 -1
  1453. package/dist/magma-components/p-c7a0a746.system.entry.js +0 -1
  1454. package/dist/magma-components/p-c92a772e.entry.js +0 -1
  1455. package/dist/magma-components/p-ca09ab1d.system.entry.js +0 -1
  1456. package/dist/magma-components/p-cc9212ce.system.entry.js +0 -1
  1457. package/dist/magma-components/p-cc95225c.system.entry.js +0 -1
  1458. package/dist/magma-components/p-cd49c455.entry.js +0 -1
  1459. package/dist/magma-components/p-d0542487.entry.js +0 -1
  1460. package/dist/magma-components/p-d0dfe659.entry.js +0 -1
  1461. package/dist/magma-components/p-d0eb94ea.system.entry.js +0 -1
  1462. package/dist/magma-components/p-d3e5c4eb.system.entry.js +0 -1
  1463. package/dist/magma-components/p-d4295773.entry.js +0 -1
  1464. package/dist/magma-components/p-d5700423.system.entry.js +0 -1
  1465. package/dist/magma-components/p-d838cb1c.system.entry.js +0 -1
  1466. package/dist/magma-components/p-d9605a5d.system.entry.js +0 -1
  1467. package/dist/magma-components/p-daa8f835.entry.js +0 -1
  1468. package/dist/magma-components/p-db4e2a0b.system.entry.js +0 -1
  1469. package/dist/magma-components/p-de0dac8f.entry.js +0 -1
  1470. package/dist/magma-components/p-de8204f9.entry.js +0 -1
  1471. package/dist/magma-components/p-e0b841e3.entry.js +0 -1
  1472. package/dist/magma-components/p-e35ab355.entry.js +0 -1
  1473. package/dist/magma-components/p-e44e2652.system.entry.js +0 -1
  1474. package/dist/magma-components/p-e48d23f4.system.entry.js +0 -1
  1475. package/dist/magma-components/p-e570aec5.system.entry.js +0 -1
  1476. package/dist/magma-components/p-e57698df.system.entry.js +0 -1
  1477. package/dist/magma-components/p-e669739e.entry.js +0 -1
  1478. package/dist/magma-components/p-e8fa7a07.entry.js +0 -1
  1479. package/dist/magma-components/p-ea2c8dd1.entry.js +0 -1
  1480. package/dist/magma-components/p-ea881c45.system.entry.js +0 -1
  1481. package/dist/magma-components/p-ebfb6963.system.entry.js +0 -1
  1482. package/dist/magma-components/p-eca8523b.system.entry.js +0 -1
  1483. package/dist/magma-components/p-ef142420.system.entry.js +0 -1
  1484. package/dist/magma-components/p-ef56af85.system.entry.js +0 -1
  1485. package/dist/magma-components/p-f0762290.entry.js +0 -1
  1486. package/dist/magma-components/p-f1832c1e.system.entry.js +0 -1
  1487. package/dist/magma-components/p-f4b1974a.entry.js +0 -1
  1488. package/dist/magma-components/p-f7cfc9a7.system.entry.js +0 -1
  1489. package/dist/magma-components/p-f83a9e08.entry.js +0 -1
  1490. package/dist/magma-components/p-f8ee5fec.system.entry.js +0 -1
  1491. package/dist/magma-components/p-f91dab2b.entry.js +0 -1
  1492. package/dist/magma-components/p-fMwnXhio.js +0 -1
  1493. package/dist/magma-components/p-fa61d03c.entry.js +0 -1
  1494. package/dist/magma-components/p-fbf423a7.system.entry.js +0 -1
  1495. package/dist/magma-components/p-fbfb589c.entry.js +0 -1
  1496. package/dist/magma-components/p-fc56d9ae.entry.js +0 -1
  1497. package/dist/magma-components/p-fc862fe2.system.entry.js +0 -1
  1498. package/dist/magma-components/p-fd574e21.entry.js +0 -1
  1499. package/dist/magma-components/p-fd649ac2.entry.js +0 -1
  1500. package/dist/magma-components/p-fed36619.entry.js +0 -1
  1501. package/dist/magma-components/p-ihVfCXG4.system.js +0 -1
  1502. package/dist/magma-components/p-oCzRm29V.system.js +0 -1
  1503. package/dist/magma-components/p-ttrRC6OE.js +0 -1
  1504. package/dist/magma-components/p-vYOT2M2B.system.js +0 -1
  1505. package/dist/types/components/mds-accordion/test/mds-accordion.stories.d.ts +0 -40
  1506. package/dist/types/components/mds-accordion-item/test/mds-accordion-item.stories.d.ts +0 -41
  1507. package/dist/types/components/mds-accordion-timer/test/mds-accordion-timer.stories.d.ts +0 -45
  1508. package/dist/types/components/mds-accordion-timer-item/test/mds-accordion-timer-item.stories.d.ts +0 -67
  1509. package/dist/types/components/mds-author/test/mds-author.stories.d.ts +0 -10
  1510. package/dist/types/components/mds-avatar/test/mds-avatar.stories.d.ts +0 -82
  1511. package/dist/types/components/mds-avatar-stack/test/mds-avatar-stack.stories.d.ts +0 -38
  1512. package/dist/types/components/mds-avatar-stack-item/test/mds-avatar-stack-item.stories.d.ts +0 -71
  1513. package/dist/types/components/mds-badge/test/mds-badge.stories.d.ts +0 -56
  1514. package/dist/types/components/mds-banner/test/mds-banner.stories.d.ts +0 -115
  1515. package/dist/types/components/mds-benchmark-bar/test/mds-benchmark-bar.stories.d.ts +0 -85
  1516. package/dist/types/components/mds-bibliography/test/mds-bibliography.stories.d.ts +0 -129
  1517. package/dist/types/components/mds-breadcrumb/test/mds-breadcrumb.stories.d.ts +0 -16
  1518. package/dist/types/components/mds-breadcrumb-item/test/mds-breadcrumb-item.stories.d.ts +0 -26
  1519. package/dist/types/components/mds-button/test/mds-button.stories.d.ts +0 -253
  1520. package/dist/types/components/mds-button-dropdown/test/mds-button-dropdown.stories.d.ts +0 -104
  1521. package/dist/types/components/mds-button-group/test/mds-button-group.stories.d.ts +0 -10
  1522. package/dist/types/components/mds-calendar/test/mds-calendar.stories.d.ts +0 -23
  1523. package/dist/types/components/mds-card/test/mds-card.stories.d.ts +0 -66
  1524. package/dist/types/components/mds-chip/test/mds-chip.stories.d.ts +0 -121
  1525. package/dist/types/components/mds-details/test/mds-details.stories.d.ts +0 -21
  1526. package/dist/types/components/mds-dropdown/test/mds-dropdown.stories.d.ts +0 -275
  1527. package/dist/types/components/mds-emoji/test/mds-emoji.stories.d.ts +0 -19
  1528. package/dist/types/components/mds-entity/test/mds-entity.stories.d.ts +0 -84
  1529. package/dist/types/components/mds-file/test/mds-file.stories.d.ts +0 -145
  1530. package/dist/types/components/mds-file-preview/test/mds-file-preview.stories.d.ts +0 -157
  1531. package/dist/types/components/mds-filter/test/mds-filter.stories.d.ts +0 -56
  1532. package/dist/types/components/mds-filter-item/test/mds-filter-item.stories.d.ts +0 -43
  1533. package/dist/types/components/mds-header/test/mds-header.stories.d.ts +0 -68
  1534. package/dist/types/components/mds-header-bar/test/mds-header-bar.stories.d.ts +0 -23
  1535. package/dist/types/components/mds-help/test/mds-help.stories.d.ts +0 -25
  1536. package/dist/types/components/mds-horizontal-scroll/test/mds-horizontal-scroll.stories.d.ts +0 -57
  1537. package/dist/types/components/mds-hr/test/mds-hr.stories.d.ts +0 -13
  1538. package/dist/types/components/mds-icon/test/mds-icon.stories.d.ts +0 -55
  1539. package/dist/types/components/mds-img/test/mds-img-accessibility.stories.d.ts +0 -93
  1540. package/dist/types/components/mds-img/test/mds-img.stories.d.ts +0 -122
  1541. package/dist/types/components/mds-input/test/mds-input.stories.d.ts +0 -332
  1542. package/dist/types/components/mds-input-date/test/mds-input-date.stories.d.ts +0 -73
  1543. package/dist/types/components/mds-input-date-range/test/mds-input-date-range.stories.d.ts +0 -70
  1544. package/dist/types/components/mds-input-field/test/mds-input-field.stories.d.ts +0 -86
  1545. package/dist/types/components/mds-input-otp/test/mds-input-otp.stories.d.ts +0 -36
  1546. package/dist/types/components/mds-input-range/test/mds-input-range.stories.d.ts +0 -75
  1547. package/dist/types/components/mds-input-select/test/mds-input-select.stories.d.ts +0 -105
  1548. package/dist/types/components/mds-input-switch/test/mds-input-switch.stories.d.ts +0 -195
  1549. package/dist/types/components/mds-input-tip/test/mds-input-tip.stories.d.ts +0 -22
  1550. package/dist/types/components/mds-input-tip-item/test/mds-input-tip.stories.d.ts +0 -22
  1551. package/dist/types/components/mds-input-upload/test/mds-input-upload.stories.d.ts +0 -55
  1552. package/dist/types/components/mds-keyboard/test/mds-keyboard.stories.d.ts +0 -27
  1553. package/dist/types/components/mds-keyboard-key/test/mds-keyboard-key.stories.d.ts +0 -22
  1554. package/dist/types/components/mds-kpi/test/mds-kpi.stories.d.ts +0 -26
  1555. package/dist/types/components/mds-kpi-item/test/mds-kpi-item.stories.d.ts +0 -42
  1556. package/dist/types/components/mds-label/test/mds-label.stories.d.ts +0 -86
  1557. package/dist/types/components/mds-list/test/mds-list.stories.d.ts +0 -7
  1558. package/dist/types/components/mds-list-item/test/mds-list-item.stories.d.ts +0 -38
  1559. package/dist/types/components/mds-mention/test/mds-mention.stories.d.ts +0 -38
  1560. package/dist/types/components/mds-modal/test/mds-modal.stories.d.ts +0 -156
  1561. package/dist/types/components/mds-note/test/mds-note.stories.d.ts +0 -34
  1562. package/dist/types/components/mds-notification/test/mds-notification.stories.d.ts +0 -68
  1563. package/dist/types/components/mds-paginator/test/mds-paginator.stories.d.ts +0 -33
  1564. package/dist/types/components/mds-policy-ai/test/mds-policy.stories.d.ts +0 -83
  1565. package/dist/types/components/mds-pref/test/mds-pref.stories.d.ts +0 -29
  1566. package/dist/types/components/mds-pref-animation/test/mds-pref-animation.stories.d.ts +0 -20
  1567. package/dist/types/components/mds-pref-consumption/test/mds-pref-consumption.stories.d.ts +0 -20
  1568. package/dist/types/components/mds-pref-contrast/test/mds-pref-contrast.stories.d.ts +0 -20
  1569. package/dist/types/components/mds-pref-language/test/mds-pref-language.stories.d.ts +0 -20
  1570. package/dist/types/components/mds-pref-theme/test/mds-pref-theme.stories.d.ts +0 -30
  1571. package/dist/types/components/mds-pref-theme-variant/mds-pref-theme-variant.d.ts +0 -62
  1572. package/dist/types/components/mds-pref-theme-variant/meta/dictionary.d.ts +0 -2
  1573. package/dist/types/components/mds-pref-theme-variant/test/mds-pref-theme-variant.stories.d.ts +0 -30
  1574. package/dist/types/components/mds-pref-theme-variant-item/mds-pref-theme-variant-item.d.ts +0 -35
  1575. package/dist/types/components/mds-price-table/test/mds-price-table.stories.d.ts +0 -10
  1576. package/dist/types/components/mds-price-table-features/test/mds-price-table-features.stories.d.ts +0 -10
  1577. package/dist/types/components/mds-price-table-features-cell/test/mds-price-table-features-cell.stories.d.ts +0 -10
  1578. package/dist/types/components/mds-price-table-header/test/mds-price-table-header.stories.d.ts +0 -7
  1579. package/dist/types/components/mds-price-table-list/test/mds-price-table-list.stories.d.ts +0 -10
  1580. package/dist/types/components/mds-progress/test/mds-progress.stories.d.ts +0 -89
  1581. package/dist/types/components/mds-push-notification/test/mds-push-notification.stories.d.ts +0 -28
  1582. package/dist/types/components/mds-push-notification-item/test/mds-push-notification-item.stories.d.ts +0 -210
  1583. package/dist/types/components/mds-quote/test/mds-quote.stories.d.ts +0 -34
  1584. package/dist/types/components/mds-radial-menu/test/mds-radial-menu.stories.d.ts +0 -123
  1585. package/dist/types/components/mds-radial-menu-item/test/mds-radial-menu-item.stories.d.ts +0 -48
  1586. package/dist/types/components/mds-radial-progress/test/mds-radial-progress.stories.d.ts +0 -68
  1587. package/dist/types/components/mds-separator/test/mds-separator.stories.d.ts +0 -7
  1588. package/dist/types/components/mds-spinner/test/mds-spinner.stories.d.ts +0 -21
  1589. package/dist/types/components/mds-status-bar/test/mds-status-bar.stories.d.ts +0 -34
  1590. package/dist/types/components/mds-stepper-bar/test/mds-stepper-bar.stories.d.ts +0 -45
  1591. package/dist/types/components/mds-stepper-bar-item/test/mds-stepper-bar-item.stories.d.ts +0 -102
  1592. package/dist/types/components/mds-tab/test/mds-tab.stories.d.ts +0 -111
  1593. package/dist/types/components/mds-tab-bar/test/mds-tab-bar.stories.d.ts +0 -7
  1594. package/dist/types/components/mds-tab-bar-item/test/mds-tab-bar-item.stories.d.ts +0 -25
  1595. package/dist/types/components/mds-tab-item/test/mds-tab-item.stories.d.ts +0 -69
  1596. package/dist/types/components/mds-table/test/mds-table.stories.d.ts +0 -63
  1597. package/dist/types/components/mds-text/test/mds-text.stories.d.ts +0 -181
  1598. package/dist/types/components/mds-toast/test/mds-toast.stories.d.ts +0 -59
  1599. package/dist/types/components/mds-tooltip/test/mds-tooltip.stories.d.ts +0 -192
  1600. package/dist/types/components/mds-tree/test/mds-tree-apk.stories.d.ts +0 -16
  1601. package/dist/types/components/mds-tree/test/mds-tree.stories.d.ts +0 -86
  1602. package/dist/types/components/mds-tree-item/test/mds-tree-item.stories.d.ts +0 -48
  1603. package/dist/types/components/mds-url-view/test/mds-url-view.stories.d.ts +0 -63
  1604. package/dist/types/components/mds-usage/test/mds-usage.stories.d.ts +0 -37
  1605. package/dist/types/components/mds-video-wall/test/mds-video-wall.stories.d.ts +0 -119
  1606. package/dist/types/components/mds-zero/test/mds-zero.stories.d.ts +0 -7
  1607. package/dist/types/event-detail/theme-variant.d.ts +0 -5
  1608. package/dist/types/storybook/box-shadows.stories.d.ts +0 -7
  1609. package/dist/types/storybook/color-scale.stories.d.ts +0 -7
  1610. package/dist/types/storybook/components-preview.stories.d.ts +0 -33
  1611. package/dist/types/storybook/example-page.stories.d.ts +0 -7
  1612. package/dist/types/storybook/fouc-hydrated.stories.d.ts +0 -7
  1613. package/dist/types/storybook/input-form.stories.d.ts +0 -7
  1614. package/dist/types/storybook/same-childrend-slot-names.stories.d.ts +0 -7
  1615. package/dist/types/test/file.d.ts +0 -35
  1616. package/dist/types/test/mock.d.ts +0 -2
  1617. /package/dist/collection/{event-detail/theme-variant.js → components/mds-mention/meta/interface.js} +0 -0
  1618. /package/dist/components/{broken-image.js → p-0FAG3rkw.js} +0 -0
  1619. /package/dist/components/{horizontal-rule.js → p-BE8xuIpS.js} +0 -0
  1620. /package/dist/components/{check-circle.js → p-BFhO-KUe.js} +0 -0
  1621. /package/dist/components/{cancel.js → p-BJ8rpzfj.js} +0 -0
  1622. /package/dist/components/{calendar-today.js → p-BVQMG7KJ.js} +0 -0
  1623. /package/dist/components/{arrow-forward.js → p-Bd0uuNDE.js} +0 -0
  1624. /package/dist/components/{keys.js → p-C4ckbXOl.js} +0 -0
  1625. /package/dist/components/{panorama.js → p-CGFwoK_U.js} +0 -0
  1626. /package/dist/components/{aria.js → p-CSCy6TMW.js} +0 -0
  1627. /package/dist/components/{keyboard-arrow-up.js → p-Ccz0jCNB.js} +0 -0
  1628. /package/dist/components/{clsx.js → p-ChV9xqsO.js} +0 -0
  1629. /package/dist/components/{done.js → p-CvUz9jjh.js} +0 -0
  1630. /package/dist/components/{remove.js → p-D17B058a.js} +0 -0
  1631. /package/dist/components/{unit.js → p-D8eZRaSQ.js} +0 -0
  1632. /package/dist/components/{keyboard-arrow-right.js → p-DFyAGAnn.js} +0 -0
  1633. /package/dist/components/{keyboard-arrow-down.js → p-DiWN48aq.js} +0 -0
  1634. /package/dist/components/{browser.js → p-Dje8Mggf.js} +0 -0
  1635. /package/dist/components/{arrow-back.js → p-DnEUG7st.js} +0 -0
  1636. /package/dist/components/{_commonjsHelpers.js → p-E-ZsRS8r.js} +0 -0
  1637. /package/dist/components/{close.js → p-J-ikDhyq.js} +0 -0
  1638. /package/dist/components/{settings.js → p-XQgkfNpn.js} +0 -0
  1639. /package/dist/components/{circle.js → p-lZldSMeV.js} +0 -0
@@ -0,0 +1,1688 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Custom positioning reference element.
5
+ * @see https://floating-ui.com/docs/virtual-elements
6
+ */
7
+
8
+ const sides = ['top', 'right', 'bottom', 'left'];
9
+ const alignments = ['start', 'end'];
10
+ const placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + "-" + alignments[0], side + "-" + alignments[1]), []);
11
+ const min = Math.min;
12
+ const max = Math.max;
13
+ const round = Math.round;
14
+ const floor = Math.floor;
15
+ const createCoords = v => ({
16
+ x: v,
17
+ y: v
18
+ });
19
+ const oppositeSideMap = {
20
+ left: 'right',
21
+ right: 'left',
22
+ bottom: 'top',
23
+ top: 'bottom'
24
+ };
25
+ function clamp(start, value, end) {
26
+ return max(start, min(value, end));
27
+ }
28
+ function evaluate(value, param) {
29
+ return typeof value === 'function' ? value(param) : value;
30
+ }
31
+ function getSide(placement) {
32
+ return placement.split('-')[0];
33
+ }
34
+ function getAlignment(placement) {
35
+ return placement.split('-')[1];
36
+ }
37
+ function getOppositeAxis(axis) {
38
+ return axis === 'x' ? 'y' : 'x';
39
+ }
40
+ function getAxisLength(axis) {
41
+ return axis === 'y' ? 'height' : 'width';
42
+ }
43
+ function getSideAxis(placement) {
44
+ const firstChar = placement[0];
45
+ return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';
46
+ }
47
+ function getAlignmentAxis(placement) {
48
+ return getOppositeAxis(getSideAxis(placement));
49
+ }
50
+ function getAlignmentSides(placement, rects, rtl) {
51
+ if (rtl === void 0) {
52
+ rtl = false;
53
+ }
54
+ const alignment = getAlignment(placement);
55
+ const alignmentAxis = getAlignmentAxis(placement);
56
+ const length = getAxisLength(alignmentAxis);
57
+ let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';
58
+ if (rects.reference[length] > rects.floating[length]) {
59
+ mainAlignmentSide = getOppositePlacement(mainAlignmentSide);
60
+ }
61
+ return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];
62
+ }
63
+ function getExpandedPlacements(placement) {
64
+ const oppositePlacement = getOppositePlacement(placement);
65
+ return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];
66
+ }
67
+ function getOppositeAlignmentPlacement(placement) {
68
+ return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');
69
+ }
70
+ const lrPlacement = ['left', 'right'];
71
+ const rlPlacement = ['right', 'left'];
72
+ const tbPlacement = ['top', 'bottom'];
73
+ const btPlacement = ['bottom', 'top'];
74
+ function getSideList(side, isStart, rtl) {
75
+ switch (side) {
76
+ case 'top':
77
+ case 'bottom':
78
+ if (rtl) return isStart ? rlPlacement : lrPlacement;
79
+ return isStart ? lrPlacement : rlPlacement;
80
+ case 'left':
81
+ case 'right':
82
+ return isStart ? tbPlacement : btPlacement;
83
+ default:
84
+ return [];
85
+ }
86
+ }
87
+ function getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {
88
+ const alignment = getAlignment(placement);
89
+ let list = getSideList(getSide(placement), direction === 'start', rtl);
90
+ if (alignment) {
91
+ list = list.map(side => side + "-" + alignment);
92
+ if (flipAlignment) {
93
+ list = list.concat(list.map(getOppositeAlignmentPlacement));
94
+ }
95
+ }
96
+ return list;
97
+ }
98
+ function getOppositePlacement(placement) {
99
+ const side = getSide(placement);
100
+ return oppositeSideMap[side] + placement.slice(side.length);
101
+ }
102
+ function expandPaddingObject(padding) {
103
+ var _padding$top, _padding$right, _padding$bottom, _padding$left;
104
+ return {
105
+ top: (_padding$top = padding.top) != null ? _padding$top : 0,
106
+ right: (_padding$right = padding.right) != null ? _padding$right : 0,
107
+ bottom: (_padding$bottom = padding.bottom) != null ? _padding$bottom : 0,
108
+ left: (_padding$left = padding.left) != null ? _padding$left : 0
109
+ };
110
+ }
111
+ function getPaddingObject(padding) {
112
+ return typeof padding !== 'number' ? expandPaddingObject(padding) : {
113
+ top: padding,
114
+ right: padding,
115
+ bottom: padding,
116
+ left: padding
117
+ };
118
+ }
119
+ function rectToClientRect(rect) {
120
+ const {
121
+ x,
122
+ y,
123
+ width,
124
+ height
125
+ } = rect;
126
+ return {
127
+ width,
128
+ height,
129
+ top: y,
130
+ left: x,
131
+ right: x + width,
132
+ bottom: y + height,
133
+ x,
134
+ y
135
+ };
136
+ }
137
+
138
+ function computeCoordsFromPlacement(_ref, placement, rtl) {
139
+ let {
140
+ reference,
141
+ floating
142
+ } = _ref;
143
+ const sideAxis = getSideAxis(placement);
144
+ const alignmentAxis = getAlignmentAxis(placement);
145
+ const alignLength = getAxisLength(alignmentAxis);
146
+ const side = getSide(placement);
147
+ const isVertical = sideAxis === 'y';
148
+ const commonX = reference.x + reference.width / 2 - floating.width / 2;
149
+ const commonY = reference.y + reference.height / 2 - floating.height / 2;
150
+ const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;
151
+ let coords;
152
+ switch (side) {
153
+ case 'top':
154
+ coords = {
155
+ x: commonX,
156
+ y: reference.y - floating.height
157
+ };
158
+ break;
159
+ case 'bottom':
160
+ coords = {
161
+ x: commonX,
162
+ y: reference.y + reference.height
163
+ };
164
+ break;
165
+ case 'right':
166
+ coords = {
167
+ x: reference.x + reference.width,
168
+ y: commonY
169
+ };
170
+ break;
171
+ case 'left':
172
+ coords = {
173
+ x: reference.x - floating.width,
174
+ y: commonY
175
+ };
176
+ break;
177
+ default:
178
+ coords = {
179
+ x: reference.x,
180
+ y: reference.y
181
+ };
182
+ }
183
+ const alignment = getAlignment(placement);
184
+ if (alignment) {
185
+ coords[alignmentAxis] += commonAlign * (alignment === 'end' ? 1 : -1) * (rtl && isVertical ? -1 : 1);
186
+ }
187
+ return coords;
188
+ }
189
+
190
+ /**
191
+ * Resolves with an object of overflow side offsets that determine how much the
192
+ * element is overflowing a given clipping boundary on each side.
193
+ * - positive = overflowing the boundary by that number of pixels
194
+ * - negative = how many pixels left before it will overflow
195
+ * - 0 = lies flush with the boundary
196
+ * @see https://floating-ui.com/docs/detectOverflow
197
+ */
198
+ async function detectOverflow(state, options) {
199
+ var _await$platform$isEle;
200
+ if (options === void 0) {
201
+ options = {};
202
+ }
203
+ const {
204
+ x,
205
+ y,
206
+ platform,
207
+ rects,
208
+ elements,
209
+ strategy
210
+ } = state;
211
+ const {
212
+ boundary = 'clippingAncestors',
213
+ rootBoundary = 'viewport',
214
+ elementContext = 'floating',
215
+ altBoundary = false,
216
+ padding = 0
217
+ } = evaluate(options, state);
218
+ const paddingObject = getPaddingObject(padding);
219
+ const altContext = elementContext === 'floating' ? 'reference' : 'floating';
220
+ const element = elements[altBoundary ? altContext : elementContext];
221
+ const clippingClientRect = rectToClientRect(await platform.getClippingRect({
222
+ element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),
223
+ boundary,
224
+ rootBoundary,
225
+ strategy
226
+ }));
227
+ const rect = elementContext === 'floating' ? {
228
+ x,
229
+ y,
230
+ width: rects.floating.width,
231
+ height: rects.floating.height
232
+ } : rects.reference;
233
+ const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));
234
+ const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) && (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {
235
+ x: 1,
236
+ y: 1
237
+ };
238
+ const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({
239
+ elements,
240
+ rect,
241
+ offsetParent,
242
+ strategy
243
+ }) : rect);
244
+ return {
245
+ top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,
246
+ bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,
247
+ left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,
248
+ right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x
249
+ };
250
+ }
251
+
252
+ // Maximum number of resets that can occur before bailing to avoid infinite reset loops.
253
+ const MAX_RESET_COUNT = 50;
254
+
255
+ /**
256
+ * Computes the `x` and `y` coordinates that will place the floating element
257
+ * next to a given reference element.
258
+ *
259
+ * This export does not have any `platform` interface logic. You will need to
260
+ * write one for the platform you are using Floating UI with.
261
+ */
262
+ const computePosition$1 = async (reference, floating, config) => {
263
+ const {
264
+ placement = 'bottom',
265
+ strategy = 'absolute',
266
+ middleware = [],
267
+ platform
268
+ } = config;
269
+ const platformWithDetectOverflow = platform.detectOverflow ? platform : {
270
+ ...platform,
271
+ detectOverflow
272
+ };
273
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));
274
+ let rects = await platform.getElementRects({
275
+ reference,
276
+ floating,
277
+ strategy
278
+ });
279
+ let {
280
+ x,
281
+ y
282
+ } = computeCoordsFromPlacement(rects, placement, rtl);
283
+ let statefulPlacement = placement;
284
+ let resetCount = 0;
285
+ const middlewareData = {};
286
+ for (let i = 0; i < middleware.length; i++) {
287
+ const currentMiddleware = middleware[i];
288
+ if (!currentMiddleware) {
289
+ continue;
290
+ }
291
+ const {
292
+ name,
293
+ fn
294
+ } = currentMiddleware;
295
+ const {
296
+ x: nextX,
297
+ y: nextY,
298
+ data,
299
+ reset
300
+ } = await fn({
301
+ x,
302
+ y,
303
+ initialPlacement: placement,
304
+ placement: statefulPlacement,
305
+ strategy,
306
+ middlewareData,
307
+ rects,
308
+ platform: platformWithDetectOverflow,
309
+ elements: {
310
+ reference,
311
+ floating
312
+ }
313
+ });
314
+ x = nextX != null ? nextX : x;
315
+ y = nextY != null ? nextY : y;
316
+ middlewareData[name] = {
317
+ ...middlewareData[name],
318
+ ...data
319
+ };
320
+ if (reset && resetCount < MAX_RESET_COUNT) {
321
+ resetCount++;
322
+ if (typeof reset === 'object') {
323
+ if (reset.placement) {
324
+ statefulPlacement = reset.placement;
325
+ }
326
+ if (reset.rects) {
327
+ rects = reset.rects === true ? await platform.getElementRects({
328
+ reference,
329
+ floating,
330
+ strategy
331
+ }) : reset.rects;
332
+ }
333
+ ({
334
+ x,
335
+ y
336
+ } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));
337
+ }
338
+ i = -1;
339
+ }
340
+ }
341
+ return {
342
+ x,
343
+ y,
344
+ placement: statefulPlacement,
345
+ strategy,
346
+ middlewareData
347
+ };
348
+ };
349
+
350
+ /**
351
+ * Provides data to position an inner element of the floating element so that it
352
+ * appears centered to the reference element.
353
+ * @see https://floating-ui.com/docs/arrow
354
+ */
355
+ const arrow$1 = options => ({
356
+ name: 'arrow',
357
+ options,
358
+ async fn(state) {
359
+ const {
360
+ x,
361
+ y,
362
+ placement,
363
+ rects,
364
+ platform,
365
+ elements,
366
+ middlewareData
367
+ } = state;
368
+ // Since `element` is required, we don't Partial<> the type.
369
+ const {
370
+ element,
371
+ padding = 0
372
+ } = evaluate(options, state) || {};
373
+ if (element == null) {
374
+ return {};
375
+ }
376
+ const paddingObject = getPaddingObject(padding);
377
+ const coords = {
378
+ x,
379
+ y
380
+ };
381
+ const axis = getAlignmentAxis(placement);
382
+ const length = getAxisLength(axis);
383
+ const arrowDimensions = await platform.getDimensions(element);
384
+ const isYAxis = axis === 'y';
385
+ const minProp = isYAxis ? 'top' : 'left';
386
+ const maxProp = isYAxis ? 'bottom' : 'right';
387
+ const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';
388
+ const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];
389
+ const startDiff = coords[axis] - rects.reference[axis];
390
+ const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));
391
+ let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;
392
+
393
+ // DOM platform can return `window` as the `offsetParent`.
394
+ if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {
395
+ clientSize = elements.floating[clientProp] || rects.floating[length];
396
+ }
397
+ const centerToReference = endDiff / 2 - startDiff / 2;
398
+
399
+ // If the padding is large enough that it causes the arrow to no longer be
400
+ // centered, modify the padding so that it is centered.
401
+ const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;
402
+ const minPadding = min(paddingObject[minProp], largestPossiblePadding);
403
+ const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);
404
+
405
+ // Make sure the arrow doesn't overflow the floating element if the center
406
+ // point is outside the floating element's bounds.
407
+ const max = clientSize - arrowDimensions[length] - maxPadding;
408
+ const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;
409
+ const offset = clamp(minPadding, center, max);
410
+
411
+ // If the reference is small enough that the arrow's padding causes it to
412
+ // to point to nothing for an aligned placement, adjust the offset of the
413
+ // floating element itself. To ensure `shift()` continues to take action,
414
+ // a single reset is performed when this is true.
415
+ const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < minPadding ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;
416
+ const alignmentOffset = shouldAddOffset ? center < minPadding ? center - minPadding : center - max : 0;
417
+ return {
418
+ [axis]: coords[axis] + alignmentOffset,
419
+ data: {
420
+ [axis]: offset,
421
+ centerOffset: center - offset - alignmentOffset,
422
+ ...(shouldAddOffset && {
423
+ alignmentOffset
424
+ })
425
+ },
426
+ reset: shouldAddOffset
427
+ };
428
+ }
429
+ });
430
+
431
+ function getPlacementList(alignment, autoAlignment, allowedPlacements) {
432
+ const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);
433
+ return allowedPlacementsSortedByAlignment.filter(placement => {
434
+ if (alignment) {
435
+ return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);
436
+ }
437
+ return true;
438
+ });
439
+ }
440
+ /**
441
+ * Optimizes the visibility of the floating element by choosing the placement
442
+ * that has the most space available automatically, without needing to specify a
443
+ * preferred placement. Alternative to `flip`.
444
+ * @see https://floating-ui.com/docs/autoPlacement
445
+ */
446
+ const autoPlacement$1 = function (options) {
447
+ if (options === void 0) {
448
+ options = {};
449
+ }
450
+ return {
451
+ name: 'autoPlacement',
452
+ options,
453
+ async fn(state) {
454
+ var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;
455
+ const {
456
+ rects,
457
+ middlewareData,
458
+ placement,
459
+ platform,
460
+ elements
461
+ } = state;
462
+ const {
463
+ crossAxis = false,
464
+ alignment,
465
+ allowedPlacements = placements,
466
+ autoAlignment = true,
467
+ ...detectOverflowOptions
468
+ } = evaluate(options, state);
469
+ const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;
470
+ const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;
471
+ const currentPlacement = placements$1[currentIndex];
472
+ if (currentPlacement == null) {
473
+ return {};
474
+ }
475
+
476
+ // Make `computeCoords` start from the right place.
477
+ if (placement !== currentPlacement) {
478
+ return {
479
+ reset: {
480
+ placement: placements$1[0]
481
+ }
482
+ };
483
+ }
484
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
485
+ const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));
486
+ const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];
487
+ const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {
488
+ placement: currentPlacement,
489
+ overflows: currentOverflows
490
+ }];
491
+ const nextPlacement = placements$1[currentIndex + 1];
492
+
493
+ // There are more placements to check.
494
+ if (nextPlacement) {
495
+ return {
496
+ data: {
497
+ index: currentIndex + 1,
498
+ overflows: allOverflows
499
+ },
500
+ reset: {
501
+ placement: nextPlacement
502
+ }
503
+ };
504
+ }
505
+ const placementsSortedByMostSpace = allOverflows.map(d => {
506
+ const alignment = getAlignment(d.placement);
507
+ return [d.placement, alignment && crossAxis ?
508
+ // Check along the mainAxis and main crossAxis side.
509
+ d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :
510
+ // Check only the mainAxis.
511
+ d.overflows[0], d.overflows];
512
+ }).sort((a, b) => a[1] - b[1]);
513
+ const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,
514
+ // Aligned placements should not check their opposite crossAxis
515
+ // side.
516
+ getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));
517
+ const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];
518
+ if (resetPlacement !== placement) {
519
+ return {
520
+ data: {
521
+ index: currentIndex + 1,
522
+ overflows: allOverflows
523
+ },
524
+ reset: {
525
+ placement: resetPlacement
526
+ }
527
+ };
528
+ }
529
+ return {};
530
+ }
531
+ };
532
+ };
533
+
534
+ /**
535
+ * Optimizes the visibility of the floating element by flipping the `placement`
536
+ * in order to keep it in view when the preferred placement(s) will overflow the
537
+ * clipping boundary. Alternative to `autoPlacement`.
538
+ * @see https://floating-ui.com/docs/flip
539
+ */
540
+ const flip$1 = function (options) {
541
+ if (options === void 0) {
542
+ options = {};
543
+ }
544
+ return {
545
+ name: 'flip',
546
+ options,
547
+ async fn(state) {
548
+ var _middlewareData$arrow, _middlewareData$flip;
549
+ const {
550
+ placement,
551
+ middlewareData,
552
+ rects,
553
+ initialPlacement,
554
+ platform,
555
+ elements
556
+ } = state;
557
+ const {
558
+ mainAxis: checkMainAxis = true,
559
+ crossAxis: checkCrossAxis = true,
560
+ fallbackPlacements: specifiedFallbackPlacements,
561
+ fallbackStrategy = 'bestFit',
562
+ fallbackAxisSideDirection = 'none',
563
+ flipAlignment = true,
564
+ ...detectOverflowOptions
565
+ } = evaluate(options, state);
566
+
567
+ // If a reset by the arrow was caused due to an alignment offset being
568
+ // added, we should skip any logic now since `flip()` has already done its
569
+ // work.
570
+ // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643
571
+ if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
572
+ return {};
573
+ }
574
+ const side = getSide(placement);
575
+ const initialSideAxis = getSideAxis(initialPlacement);
576
+ const isBasePlacement = getSide(initialPlacement) === initialPlacement;
577
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
578
+ const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));
579
+ const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';
580
+ if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {
581
+ fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));
582
+ }
583
+ const placements = [initialPlacement, ...fallbackPlacements];
584
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
585
+ const overflows = [];
586
+ let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];
587
+ if (checkMainAxis) {
588
+ overflows.push(overflow[side]);
589
+ }
590
+ if (checkCrossAxis) {
591
+ const sides = getAlignmentSides(placement, rects, rtl);
592
+ overflows.push(overflow[sides[0]], overflow[sides[1]]);
593
+ }
594
+ overflowsData = [...overflowsData, {
595
+ placement,
596
+ overflows
597
+ }];
598
+
599
+ // One or more sides is overflowing.
600
+ if (!overflows.every(side => side <= 0)) {
601
+ var _middlewareData$flip2, _overflowsData$filter;
602
+ const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;
603
+ const nextPlacement = placements[nextIndex];
604
+ if (nextPlacement) {
605
+ const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;
606
+ if (!ignoreCrossAxisOverflow ||
607
+ // We leave the current main axis only if every placement on that axis
608
+ // overflows the main axis.
609
+ overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {
610
+ // Try next placement and re-run the lifecycle.
611
+ return {
612
+ data: {
613
+ index: nextIndex,
614
+ overflows: overflowsData
615
+ },
616
+ reset: {
617
+ placement: nextPlacement
618
+ }
619
+ };
620
+ }
621
+ }
622
+
623
+ // First, find the candidates that fit on the mainAxis side of overflow,
624
+ // then find the placement that fits the best on the main crossAxis side.
625
+ let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;
626
+
627
+ // Otherwise fallback.
628
+ if (!resetPlacement) {
629
+ switch (fallbackStrategy) {
630
+ case 'bestFit':
631
+ {
632
+ var _overflowsData$filter2;
633
+ const placement = (_overflowsData$filter2 = overflowsData.filter(d => {
634
+ if (hasFallbackAxisSideDirection) {
635
+ const currentSideAxis = getSideAxis(d.placement);
636
+ return currentSideAxis === initialSideAxis ||
637
+ // Create a bias to the `y` side axis due to horizontal
638
+ // reading directions favoring greater width.
639
+ currentSideAxis === 'y';
640
+ }
641
+ return true;
642
+ }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];
643
+ if (placement) {
644
+ resetPlacement = placement;
645
+ }
646
+ break;
647
+ }
648
+ case 'initialPlacement':
649
+ resetPlacement = initialPlacement;
650
+ break;
651
+ }
652
+ }
653
+ if (placement !== resetPlacement) {
654
+ return {
655
+ reset: {
656
+ placement: resetPlacement
657
+ }
658
+ };
659
+ }
660
+ }
661
+ return {};
662
+ }
663
+ };
664
+ };
665
+
666
+ const originSides = /*#__PURE__*/new Set(['left', 'top']);
667
+
668
+ // For type backwards-compatibility, the `OffsetOptions` type was also
669
+ // Derivable.
670
+
671
+ async function convertValueToCoords(state, options) {
672
+ const {
673
+ placement,
674
+ platform,
675
+ elements
676
+ } = state;
677
+ const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));
678
+ const side = getSide(placement);
679
+ const alignment = getAlignment(placement);
680
+ const isVertical = getSideAxis(placement) === 'y';
681
+ const mainAxisMulti = originSides.has(side) ? -1 : 1;
682
+ const crossAxisMulti = rtl && isVertical ? -1 : 1;
683
+ const rawValue = evaluate(options, state);
684
+
685
+ // eslint-disable-next-line prefer-const
686
+ let {
687
+ mainAxis,
688
+ crossAxis,
689
+ alignmentAxis
690
+ } = typeof rawValue === 'number' ? {
691
+ mainAxis: rawValue,
692
+ crossAxis: 0,
693
+ alignmentAxis: null
694
+ } : {
695
+ mainAxis: rawValue.mainAxis || 0,
696
+ crossAxis: rawValue.crossAxis || 0,
697
+ alignmentAxis: rawValue.alignmentAxis
698
+ };
699
+ if (alignment && typeof alignmentAxis === 'number') {
700
+ crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;
701
+ }
702
+ return isVertical ? {
703
+ x: crossAxis * crossAxisMulti,
704
+ y: mainAxis * mainAxisMulti
705
+ } : {
706
+ x: mainAxis * mainAxisMulti,
707
+ y: crossAxis * crossAxisMulti
708
+ };
709
+ }
710
+
711
+ /**
712
+ * Modifies the placement by translating the floating element along the
713
+ * specified axes.
714
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
715
+ * object may be passed.
716
+ * @see https://floating-ui.com/docs/offset
717
+ */
718
+ const offset$1 = function (options) {
719
+ if (options === void 0) {
720
+ options = 0;
721
+ }
722
+ return {
723
+ name: 'offset',
724
+ options,
725
+ async fn(state) {
726
+ var _middlewareData$offse, _middlewareData$arrow;
727
+ const {
728
+ x,
729
+ y,
730
+ placement,
731
+ middlewareData
732
+ } = state;
733
+ const diffCoords = await convertValueToCoords(state, options);
734
+
735
+ // If the placement is the same and the arrow caused an alignment offset
736
+ // then we don't need to change the positioning coordinates.
737
+ if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {
738
+ return {};
739
+ }
740
+ return {
741
+ x: x + diffCoords.x,
742
+ y: y + diffCoords.y,
743
+ data: {
744
+ ...diffCoords,
745
+ placement
746
+ }
747
+ };
748
+ }
749
+ };
750
+ };
751
+
752
+ /**
753
+ * Optimizes the visibility of the floating element by shifting it in order to
754
+ * keep it in view when it will overflow the clipping boundary.
755
+ * @see https://floating-ui.com/docs/shift
756
+ */
757
+ const shift$1 = function (options) {
758
+ if (options === void 0) {
759
+ options = {};
760
+ }
761
+ return {
762
+ name: 'shift',
763
+ options,
764
+ async fn(state) {
765
+ const {
766
+ x,
767
+ y,
768
+ placement,
769
+ platform
770
+ } = state;
771
+ const {
772
+ mainAxis: checkMainAxis = true,
773
+ crossAxis: checkCrossAxis = false,
774
+ limiter = {
775
+ fn: _ref => {
776
+ let {
777
+ x,
778
+ y
779
+ } = _ref;
780
+ return {
781
+ x,
782
+ y
783
+ };
784
+ }
785
+ },
786
+ ...detectOverflowOptions
787
+ } = evaluate(options, state);
788
+ const coords = {
789
+ x,
790
+ y
791
+ };
792
+ const overflow = await platform.detectOverflow(state, detectOverflowOptions);
793
+ const crossAxis = getSideAxis(placement);
794
+ const mainAxis = getOppositeAxis(crossAxis);
795
+ let mainAxisCoord = coords[mainAxis];
796
+ let crossAxisCoord = coords[crossAxis];
797
+ const clampCoord = (axis, coord) => clamp(coord + overflow[axis === 'y' ? 'top' : 'left'], coord, coord - overflow[axis === 'y' ? 'bottom' : 'right']);
798
+ if (checkMainAxis) {
799
+ mainAxisCoord = clampCoord(mainAxis, mainAxisCoord);
800
+ }
801
+ if (checkCrossAxis) {
802
+ crossAxisCoord = clampCoord(crossAxis, crossAxisCoord);
803
+ }
804
+ const limitedCoords = limiter.fn({
805
+ ...state,
806
+ [mainAxis]: mainAxisCoord,
807
+ [crossAxis]: crossAxisCoord
808
+ });
809
+ return {
810
+ ...limitedCoords,
811
+ data: {
812
+ x: limitedCoords.x - x,
813
+ y: limitedCoords.y - y,
814
+ enabled: {
815
+ [mainAxis]: checkMainAxis,
816
+ [crossAxis]: checkCrossAxis
817
+ }
818
+ }
819
+ };
820
+ }
821
+ };
822
+ };
823
+
824
+ function hasWindow() {
825
+ return typeof window !== 'undefined';
826
+ }
827
+ function getNodeName(node) {
828
+ if (isNode(node)) {
829
+ return (node.nodeName || '').toLowerCase();
830
+ }
831
+ // Mocked nodes in testing environments may not be instances of Node. By
832
+ // returning `#document` an infinite loop won't occur.
833
+ // https://github.com/floating-ui/floating-ui/issues/2317
834
+ return '#document';
835
+ }
836
+ function getWindow(node) {
837
+ var _node$ownerDocument;
838
+ return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;
839
+ }
840
+ function getDocumentElement(node) {
841
+ var _ref;
842
+ return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;
843
+ }
844
+ function isNode(value) {
845
+ if (!hasWindow()) {
846
+ return false;
847
+ }
848
+ return value instanceof Node || value instanceof getWindow(value).Node;
849
+ }
850
+ function isElement(value) {
851
+ if (!hasWindow()) {
852
+ return false;
853
+ }
854
+ return value instanceof Element || value instanceof getWindow(value).Element;
855
+ }
856
+ function isHTMLElement(value) {
857
+ if (!hasWindow()) {
858
+ return false;
859
+ }
860
+ return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;
861
+ }
862
+ function isShadowRoot(value) {
863
+ if (!hasWindow() || typeof ShadowRoot === 'undefined') {
864
+ return false;
865
+ }
866
+ return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;
867
+ }
868
+ function isOverflowElement(element) {
869
+ const {
870
+ overflow,
871
+ overflowX,
872
+ overflowY,
873
+ display
874
+ } = getComputedStyle(element);
875
+ return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';
876
+ }
877
+ function isTableElement(element) {
878
+ return /^(table|td|th)$/.test(getNodeName(element));
879
+ }
880
+ function isTopLayer(element) {
881
+ try {
882
+ if (element.matches(':popover-open')) {
883
+ return true;
884
+ }
885
+ } catch (_e) {
886
+ // no-op
887
+ }
888
+ try {
889
+ return element.matches(':modal');
890
+ } catch (_e) {
891
+ return false;
892
+ }
893
+ }
894
+ const willChangeRe = /transform|translate|scale|rotate|perspective|filter/;
895
+ const containRe = /paint|layout|strict|content/;
896
+ const isNotNone = value => !!value && value !== 'none';
897
+ let isWebKitValue;
898
+ function isContainingBlock(elementOrCss) {
899
+ const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;
900
+
901
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
902
+ // https://drafts.csswg.org/css-transforms-2/#individual-transforms
903
+ return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');
904
+ }
905
+ function getContainingBlock(element) {
906
+ let currentNode = getParentNode(element);
907
+ while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {
908
+ if (isContainingBlock(currentNode)) {
909
+ return currentNode;
910
+ } else if (isTopLayer(currentNode)) {
911
+ return null;
912
+ }
913
+ currentNode = getParentNode(currentNode);
914
+ }
915
+ return null;
916
+ }
917
+ function isWebKit() {
918
+ if (isWebKitValue == null) {
919
+ isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');
920
+ }
921
+ return isWebKitValue;
922
+ }
923
+ function isLastTraversableNode(node) {
924
+ return /^(html|body|#document)$/.test(getNodeName(node));
925
+ }
926
+ function getComputedStyle(element) {
927
+ return getWindow(element).getComputedStyle(element);
928
+ }
929
+ function getNodeScroll(element) {
930
+ if (isElement(element)) {
931
+ return {
932
+ scrollLeft: element.scrollLeft,
933
+ scrollTop: element.scrollTop
934
+ };
935
+ }
936
+ return {
937
+ scrollLeft: element.scrollX,
938
+ scrollTop: element.scrollY
939
+ };
940
+ }
941
+ function getParentNode(node) {
942
+ if (getNodeName(node) === 'html') {
943
+ return node;
944
+ }
945
+ const result =
946
+ // Step into the shadow DOM of the parent of a slotted node.
947
+ node.assignedSlot ||
948
+ // DOM Element detected.
949
+ node.parentNode ||
950
+ // ShadowRoot detected.
951
+ isShadowRoot(node) && node.host ||
952
+ // Fallback.
953
+ getDocumentElement(node);
954
+ return isShadowRoot(result) ? result.host : result;
955
+ }
956
+ function getNearestOverflowAncestor(node) {
957
+ const parentNode = getParentNode(node);
958
+ if (isLastTraversableNode(parentNode)) {
959
+ return (node.ownerDocument || node).body;
960
+ }
961
+ if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {
962
+ return parentNode;
963
+ }
964
+ return getNearestOverflowAncestor(parentNode);
965
+ }
966
+ function getOverflowAncestors(node, list, traverseIframes) {
967
+ var _node$ownerDocument2;
968
+ if (list === void 0) {
969
+ list = [];
970
+ }
971
+ if (traverseIframes === void 0) {
972
+ traverseIframes = true;
973
+ }
974
+ const scrollableAncestor = getNearestOverflowAncestor(node);
975
+ const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);
976
+ const win = getWindow(scrollableAncestor);
977
+ if (isBody) {
978
+ const frameElement = getFrameElement(win);
979
+ return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);
980
+ } else {
981
+ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));
982
+ }
983
+ }
984
+ function getFrameElement(win) {
985
+ return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;
986
+ }
987
+
988
+ function getCssDimensions(element) {
989
+ const css = getComputedStyle(element);
990
+ // In testing environments, the `width` and `height` properties are empty
991
+ // strings for SVG elements, returning NaN. Fallback to `0` in this case.
992
+ let width = parseFloat(css.width) || 0;
993
+ let height = parseFloat(css.height) || 0;
994
+ const hasOffset = isHTMLElement(element);
995
+ const offsetWidth = hasOffset ? element.offsetWidth : width;
996
+ const offsetHeight = hasOffset ? element.offsetHeight : height;
997
+ const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;
998
+ if (shouldFallback) {
999
+ width = offsetWidth;
1000
+ height = offsetHeight;
1001
+ }
1002
+ return {
1003
+ width,
1004
+ height,
1005
+ $: shouldFallback
1006
+ };
1007
+ }
1008
+
1009
+ function unwrapElement(element) {
1010
+ return !isElement(element) ? element.contextElement : element;
1011
+ }
1012
+
1013
+ function getScale(element) {
1014
+ const domElement = unwrapElement(element);
1015
+ if (!isHTMLElement(domElement)) {
1016
+ return createCoords(1);
1017
+ }
1018
+ const rect = domElement.getBoundingClientRect();
1019
+ const {
1020
+ width,
1021
+ height,
1022
+ $
1023
+ } = getCssDimensions(domElement);
1024
+ let x = ($ ? round(rect.width) : rect.width) / width;
1025
+ let y = ($ ? round(rect.height) : rect.height) / height;
1026
+
1027
+ // 0, NaN, or Infinity should always fallback to 1.
1028
+
1029
+ if (!x || !Number.isFinite(x)) {
1030
+ x = 1;
1031
+ }
1032
+ if (!y || !Number.isFinite(y)) {
1033
+ y = 1;
1034
+ }
1035
+ return {
1036
+ x,
1037
+ y
1038
+ };
1039
+ }
1040
+
1041
+ const noOffsets = /*#__PURE__*/createCoords(0);
1042
+ function getVisualOffsets(element) {
1043
+ const win = getWindow(element);
1044
+ if (!isWebKit() || !win.visualViewport) {
1045
+ return noOffsets;
1046
+ }
1047
+ return {
1048
+ x: win.visualViewport.offsetLeft,
1049
+ y: win.visualViewport.offsetTop
1050
+ };
1051
+ }
1052
+ function shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {
1053
+ if (isFixed === void 0) {
1054
+ isFixed = false;
1055
+ }
1056
+ if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {
1057
+ return false;
1058
+ }
1059
+ return isFixed;
1060
+ }
1061
+
1062
+ function getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {
1063
+ if (includeScale === void 0) {
1064
+ includeScale = false;
1065
+ }
1066
+ if (isFixedStrategy === void 0) {
1067
+ isFixedStrategy = false;
1068
+ }
1069
+ const clientRect = element.getBoundingClientRect();
1070
+ const domElement = unwrapElement(element);
1071
+ let scale = createCoords(1);
1072
+ if (includeScale) {
1073
+ if (offsetParent) {
1074
+ if (isElement(offsetParent)) {
1075
+ scale = getScale(offsetParent);
1076
+ }
1077
+ } else {
1078
+ scale = getScale(element);
1079
+ }
1080
+ }
1081
+ const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);
1082
+ let x = (clientRect.left + visualOffsets.x) / scale.x;
1083
+ let y = (clientRect.top + visualOffsets.y) / scale.y;
1084
+ let width = clientRect.width / scale.x;
1085
+ let height = clientRect.height / scale.y;
1086
+ if (domElement) {
1087
+ const win = getWindow(domElement);
1088
+ const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;
1089
+ let currentWin = win;
1090
+ let currentIFrame = getFrameElement(currentWin);
1091
+ while (currentIFrame && offsetParent && offsetWin !== currentWin) {
1092
+ const iframeScale = getScale(currentIFrame);
1093
+ const iframeRect = currentIFrame.getBoundingClientRect();
1094
+ const css = getComputedStyle(currentIFrame);
1095
+ const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;
1096
+ const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;
1097
+ x *= iframeScale.x;
1098
+ y *= iframeScale.y;
1099
+ width *= iframeScale.x;
1100
+ height *= iframeScale.y;
1101
+ x += left;
1102
+ y += top;
1103
+ currentWin = getWindow(currentIFrame);
1104
+ currentIFrame = getFrameElement(currentWin);
1105
+ }
1106
+ }
1107
+ return rectToClientRect({
1108
+ width,
1109
+ height,
1110
+ x,
1111
+ y
1112
+ });
1113
+ }
1114
+
1115
+ // If <html> has a CSS width greater than the viewport, then this will be
1116
+ // incorrect for RTL.
1117
+ function getWindowScrollBarX(element, rect) {
1118
+ const leftScroll = getNodeScroll(element).scrollLeft;
1119
+ if (!rect) {
1120
+ return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;
1121
+ }
1122
+ return rect.left + leftScroll;
1123
+ }
1124
+
1125
+ function getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {
1126
+ if (ignoreScrollbarX === void 0) {
1127
+ ignoreScrollbarX = false;
1128
+ }
1129
+ const htmlRect = documentElement.getBoundingClientRect();
1130
+ const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :
1131
+ // RTL <body> scrollbar.
1132
+ getWindowScrollBarX(documentElement, htmlRect));
1133
+ const y = htmlRect.top + scroll.scrollTop;
1134
+ return {
1135
+ x,
1136
+ y
1137
+ };
1138
+ }
1139
+
1140
+ function convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {
1141
+ let {
1142
+ elements,
1143
+ rect,
1144
+ offsetParent,
1145
+ strategy
1146
+ } = _ref;
1147
+ const isFixed = strategy === 'fixed';
1148
+ const documentElement = getDocumentElement(offsetParent);
1149
+ const topLayer = elements ? isTopLayer(elements.floating) : false;
1150
+ if (offsetParent === documentElement || topLayer && isFixed) {
1151
+ return rect;
1152
+ }
1153
+ let scroll = {
1154
+ scrollLeft: 0,
1155
+ scrollTop: 0
1156
+ };
1157
+ let scale = createCoords(1);
1158
+ const offsets = createCoords(0);
1159
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1160
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1161
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1162
+ scroll = getNodeScroll(offsetParent);
1163
+ }
1164
+ if (isHTMLElement(offsetParent)) {
1165
+ const offsetRect = getBoundingClientRect(offsetParent);
1166
+ scale = getScale(offsetParent);
1167
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1168
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1169
+ }
1170
+ }
1171
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);
1172
+ return {
1173
+ width: rect.width * scale.x,
1174
+ height: rect.height * scale.y,
1175
+ x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,
1176
+ y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y
1177
+ };
1178
+ }
1179
+
1180
+ function getClientRects(element) {
1181
+ return Array.from(element.getClientRects());
1182
+ }
1183
+
1184
+ // Gets the entire size of the scrollable document area, even extending outside
1185
+ // of the `<html>` and `<body>` rect bounds if horizontally scrollable.
1186
+ function getDocumentRect(element) {
1187
+ const html = getDocumentElement(element);
1188
+ const scroll = getNodeScroll(element);
1189
+ const body = element.ownerDocument.body;
1190
+ const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);
1191
+ const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);
1192
+ let x = -scroll.scrollLeft + getWindowScrollBarX(element);
1193
+ const y = -scroll.scrollTop;
1194
+ if (getComputedStyle(body).direction === 'rtl') {
1195
+ x += max(html.clientWidth, body.clientWidth) - width;
1196
+ }
1197
+ return {
1198
+ width,
1199
+ height,
1200
+ x,
1201
+ y
1202
+ };
1203
+ }
1204
+
1205
+ function getViewportRect(element, strategy) {
1206
+ const win = getWindow(element);
1207
+ const html = getDocumentElement(element);
1208
+ const visualViewport = win.visualViewport;
1209
+ let width = html.clientWidth;
1210
+ let height = html.clientHeight;
1211
+ let x = 0;
1212
+ let y = 0;
1213
+ if (visualViewport) {
1214
+ width = visualViewport.width;
1215
+ height = visualViewport.height;
1216
+ const visualViewportBased = isWebKit();
1217
+ if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {
1218
+ x = visualViewport.offsetLeft;
1219
+ y = visualViewport.offsetTop;
1220
+ }
1221
+ }
1222
+ return {
1223
+ width,
1224
+ height,
1225
+ x,
1226
+ y
1227
+ };
1228
+ }
1229
+
1230
+ // Returns the inner client rect, subtracting scrollbars if present.
1231
+ function getInnerBoundingClientRect(element, strategy) {
1232
+ const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');
1233
+ const top = clientRect.top + element.clientTop;
1234
+ const left = clientRect.left + element.clientLeft;
1235
+ const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);
1236
+ const width = element.clientWidth * scale.x;
1237
+ const height = element.clientHeight * scale.y;
1238
+ const x = left * scale.x;
1239
+ const y = top * scale.y;
1240
+ return {
1241
+ width,
1242
+ height,
1243
+ x,
1244
+ y
1245
+ };
1246
+ }
1247
+ function getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {
1248
+ let rect;
1249
+ if (clippingAncestor === 'viewport') {
1250
+ rect = getViewportRect(element, strategy);
1251
+ } else if (clippingAncestor === 'document') {
1252
+ rect = getDocumentRect(getDocumentElement(element));
1253
+ } else if (isElement(clippingAncestor)) {
1254
+ rect = getInnerBoundingClientRect(clippingAncestor, strategy);
1255
+ } else {
1256
+ const visualOffsets = getVisualOffsets(element);
1257
+ rect = {
1258
+ x: clippingAncestor.x - visualOffsets.x,
1259
+ y: clippingAncestor.y - visualOffsets.y,
1260
+ width: clippingAncestor.width,
1261
+ height: clippingAncestor.height
1262
+ };
1263
+ }
1264
+ return rectToClientRect(rect);
1265
+ }
1266
+ function hasFixedPositionAncestor(element, stopNode) {
1267
+ const parentNode = getParentNode(element);
1268
+ if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {
1269
+ return false;
1270
+ }
1271
+ return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);
1272
+ }
1273
+
1274
+ // A "clipping ancestor" is an `overflow` element with the characteristic of
1275
+ // clipping (or hiding) child elements. This returns all clipping ancestors
1276
+ // of the given element up the tree.
1277
+ function getClippingElementAncestors(element, cache) {
1278
+ const cachedResult = cache.get(element);
1279
+ if (cachedResult) {
1280
+ return cachedResult;
1281
+ }
1282
+ let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');
1283
+ let currentContainingBlockComputedStyle = null;
1284
+ const elementIsFixed = getComputedStyle(element).position === 'fixed';
1285
+ let currentNode = elementIsFixed ? getParentNode(element) : element;
1286
+
1287
+ // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
1288
+ while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {
1289
+ const computedStyle = getComputedStyle(currentNode);
1290
+ const currentNodeIsContaining = isContainingBlock(currentNode);
1291
+ if (!currentNodeIsContaining && computedStyle.position === 'fixed') {
1292
+ currentContainingBlockComputedStyle = null;
1293
+ }
1294
+ const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && ['absolute', 'fixed'].includes(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);
1295
+ if (shouldDropCurrentNode) {
1296
+ // Drop non-containing blocks.
1297
+ result = result.filter(ancestor => ancestor !== currentNode);
1298
+ } else {
1299
+ // Record last containing block for next iteration.
1300
+ currentContainingBlockComputedStyle = computedStyle;
1301
+ }
1302
+ currentNode = getParentNode(currentNode);
1303
+ }
1304
+ cache.set(element, result);
1305
+ return result;
1306
+ }
1307
+
1308
+ // Gets the maximum area that the element is visible in due to any number of
1309
+ // clipping ancestors.
1310
+ function getClippingRect(_ref) {
1311
+ let {
1312
+ element,
1313
+ boundary,
1314
+ rootBoundary,
1315
+ strategy
1316
+ } = _ref;
1317
+ const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);
1318
+ const clippingAncestors = [...elementClippingAncestors, rootBoundary];
1319
+ const firstClippingAncestor = clippingAncestors[0];
1320
+ const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {
1321
+ const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);
1322
+ accRect.top = max(rect.top, accRect.top);
1323
+ accRect.right = min(rect.right, accRect.right);
1324
+ accRect.bottom = min(rect.bottom, accRect.bottom);
1325
+ accRect.left = max(rect.left, accRect.left);
1326
+ return accRect;
1327
+ }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));
1328
+ return {
1329
+ width: clippingRect.right - clippingRect.left,
1330
+ height: clippingRect.bottom - clippingRect.top,
1331
+ x: clippingRect.left,
1332
+ y: clippingRect.top
1333
+ };
1334
+ }
1335
+
1336
+ function getDimensions(element) {
1337
+ const {
1338
+ width,
1339
+ height
1340
+ } = getCssDimensions(element);
1341
+ return {
1342
+ width,
1343
+ height
1344
+ };
1345
+ }
1346
+
1347
+ function getRectRelativeToOffsetParent(element, offsetParent, strategy) {
1348
+ const isOffsetParentAnElement = isHTMLElement(offsetParent);
1349
+ const documentElement = getDocumentElement(offsetParent);
1350
+ const isFixed = strategy === 'fixed';
1351
+ const rect = getBoundingClientRect(element, true, isFixed, offsetParent);
1352
+ let scroll = {
1353
+ scrollLeft: 0,
1354
+ scrollTop: 0
1355
+ };
1356
+ const offsets = createCoords(0);
1357
+ if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
1358
+ if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {
1359
+ scroll = getNodeScroll(offsetParent);
1360
+ }
1361
+ if (isOffsetParentAnElement) {
1362
+ const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);
1363
+ offsets.x = offsetRect.x + offsetParent.clientLeft;
1364
+ offsets.y = offsetRect.y + offsetParent.clientTop;
1365
+ } else if (documentElement) {
1366
+ // If the <body> scrollbar appears on the left (e.g. RTL systems). Use
1367
+ // Firefox with layout.scrollbar.side = 3 in about:config to test this.
1368
+ offsets.x = getWindowScrollBarX(documentElement);
1369
+ }
1370
+ }
1371
+ const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);
1372
+ const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;
1373
+ const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;
1374
+ return {
1375
+ x,
1376
+ y,
1377
+ width: rect.width,
1378
+ height: rect.height
1379
+ };
1380
+ }
1381
+
1382
+ function isStaticPositioned(element) {
1383
+ return getComputedStyle(element).position === 'static';
1384
+ }
1385
+
1386
+ function getTrueOffsetParent(element, polyfill) {
1387
+ if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {
1388
+ return null;
1389
+ }
1390
+ if (polyfill) {
1391
+ return polyfill(element);
1392
+ }
1393
+ let rawOffsetParent = element.offsetParent;
1394
+
1395
+ // Firefox returns the <html> element as the offsetParent if it's non-static,
1396
+ // while Chrome and Safari return the <body> element. The <body> element must
1397
+ // be used to perform the correct calculations even if the <html> element is
1398
+ // non-static.
1399
+ if (getDocumentElement(element) === rawOffsetParent) {
1400
+ rawOffsetParent = rawOffsetParent.ownerDocument.body;
1401
+ }
1402
+ return rawOffsetParent;
1403
+ }
1404
+
1405
+ // Gets the closest ancestor positioned element. Handles some edge cases,
1406
+ // such as table ancestors and cross browser bugs.
1407
+ function getOffsetParent(element, polyfill) {
1408
+ const win = getWindow(element);
1409
+ if (isTopLayer(element)) {
1410
+ return win;
1411
+ }
1412
+ if (!isHTMLElement(element)) {
1413
+ let svgOffsetParent = getParentNode(element);
1414
+ while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {
1415
+ if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {
1416
+ return svgOffsetParent;
1417
+ }
1418
+ svgOffsetParent = getParentNode(svgOffsetParent);
1419
+ }
1420
+ return win;
1421
+ }
1422
+ let offsetParent = getTrueOffsetParent(element, polyfill);
1423
+ while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {
1424
+ offsetParent = getTrueOffsetParent(offsetParent, polyfill);
1425
+ }
1426
+ if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {
1427
+ return win;
1428
+ }
1429
+ return offsetParent || getContainingBlock(element) || win;
1430
+ }
1431
+
1432
+ const getElementRects = async function (data) {
1433
+ const getOffsetParentFn = this.getOffsetParent || getOffsetParent;
1434
+ const getDimensionsFn = this.getDimensions;
1435
+ const floatingDimensions = await getDimensionsFn(data.floating);
1436
+ return {
1437
+ reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),
1438
+ floating: {
1439
+ x: 0,
1440
+ y: 0,
1441
+ width: floatingDimensions.width,
1442
+ height: floatingDimensions.height
1443
+ }
1444
+ };
1445
+ };
1446
+
1447
+ function isRTL(element) {
1448
+ return getComputedStyle(element).direction === 'rtl';
1449
+ }
1450
+
1451
+ const platform = {
1452
+ convertOffsetParentRelativeRectToViewportRelativeRect,
1453
+ getDocumentElement,
1454
+ getClippingRect,
1455
+ getOffsetParent,
1456
+ getElementRects,
1457
+ getClientRects,
1458
+ getDimensions,
1459
+ getScale,
1460
+ isElement,
1461
+ isRTL
1462
+ };
1463
+
1464
+ // https://samthor.au/2021/observing-dom/
1465
+ function observeMove(element, onMove) {
1466
+ let io = null;
1467
+ let timeoutId;
1468
+ const root = getDocumentElement(element);
1469
+ function cleanup() {
1470
+ var _io;
1471
+ clearTimeout(timeoutId);
1472
+ (_io = io) == null || _io.disconnect();
1473
+ io = null;
1474
+ }
1475
+ function refresh(skip, threshold) {
1476
+ if (skip === void 0) {
1477
+ skip = false;
1478
+ }
1479
+ if (threshold === void 0) {
1480
+ threshold = 1;
1481
+ }
1482
+ cleanup();
1483
+ const {
1484
+ left,
1485
+ top,
1486
+ width,
1487
+ height
1488
+ } = element.getBoundingClientRect();
1489
+ if (!skip) {
1490
+ onMove();
1491
+ }
1492
+ if (!width || !height) {
1493
+ return;
1494
+ }
1495
+ const insetTop = floor(top);
1496
+ const insetRight = floor(root.clientWidth - (left + width));
1497
+ const insetBottom = floor(root.clientHeight - (top + height));
1498
+ const insetLeft = floor(left);
1499
+ const rootMargin = -insetTop + "px " + -insetRight + "px " + -insetBottom + "px " + -insetLeft + "px";
1500
+ const options = {
1501
+ rootMargin,
1502
+ threshold: max(0, min(1, threshold)) || 1
1503
+ };
1504
+ let isFirstUpdate = true;
1505
+ function handleObserve(entries) {
1506
+ const ratio = entries[0].intersectionRatio;
1507
+ if (ratio !== threshold) {
1508
+ if (!isFirstUpdate) {
1509
+ return refresh();
1510
+ }
1511
+ if (!ratio) {
1512
+ // If the reference is clipped, the ratio is 0. Throttle the refresh
1513
+ // to prevent an infinite loop of updates.
1514
+ timeoutId = setTimeout(() => {
1515
+ refresh(false, 1e-7);
1516
+ }, 1000);
1517
+ } else {
1518
+ refresh(false, ratio);
1519
+ }
1520
+ }
1521
+ isFirstUpdate = false;
1522
+ }
1523
+
1524
+ // Older browsers don't support a `document` as the root and will throw an
1525
+ // error.
1526
+ try {
1527
+ io = new IntersectionObserver(handleObserve, {
1528
+ ...options,
1529
+ // Handle <iframe>s
1530
+ root: root.ownerDocument
1531
+ });
1532
+ } catch (e) {
1533
+ io = new IntersectionObserver(handleObserve, options);
1534
+ }
1535
+ io.observe(element);
1536
+ }
1537
+ refresh(true);
1538
+ return cleanup;
1539
+ }
1540
+
1541
+ /**
1542
+ * Automatically updates the position of the floating element when necessary.
1543
+ * Should only be called when the floating element is mounted on the DOM or
1544
+ * visible on the screen.
1545
+ * @returns cleanup function that should be invoked when the floating element is
1546
+ * removed from the DOM or hidden from the screen.
1547
+ * @see https://floating-ui.com/docs/autoUpdate
1548
+ */
1549
+ function autoUpdate(reference, floating, update, options) {
1550
+ if (options === void 0) {
1551
+ options = {};
1552
+ }
1553
+ const {
1554
+ ancestorScroll = true,
1555
+ ancestorResize = true,
1556
+ elementResize = typeof ResizeObserver === 'function',
1557
+ layoutShift = typeof IntersectionObserver === 'function',
1558
+ animationFrame = false
1559
+ } = options;
1560
+ const referenceEl = unwrapElement(reference);
1561
+ const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];
1562
+ ancestors.forEach(ancestor => {
1563
+ ancestorScroll && ancestor.addEventListener('scroll', update, {
1564
+ passive: true
1565
+ });
1566
+ ancestorResize && ancestor.addEventListener('resize', update);
1567
+ });
1568
+ const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;
1569
+ let reobserveFrame = -1;
1570
+ let resizeObserver = null;
1571
+ if (elementResize) {
1572
+ resizeObserver = new ResizeObserver(_ref => {
1573
+ let [firstEntry] = _ref;
1574
+ if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {
1575
+ // Prevent update loops when using the `size` middleware.
1576
+ // https://github.com/floating-ui/floating-ui/issues/1740
1577
+ resizeObserver.unobserve(floating);
1578
+ cancelAnimationFrame(reobserveFrame);
1579
+ reobserveFrame = requestAnimationFrame(() => {
1580
+ var _resizeObserver;
1581
+ (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);
1582
+ });
1583
+ }
1584
+ update();
1585
+ });
1586
+ if (referenceEl && !animationFrame) {
1587
+ resizeObserver.observe(referenceEl);
1588
+ }
1589
+ resizeObserver.observe(floating);
1590
+ }
1591
+ let frameId;
1592
+ let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;
1593
+ if (animationFrame) {
1594
+ frameLoop();
1595
+ }
1596
+ function frameLoop() {
1597
+ const nextRefRect = getBoundingClientRect(reference);
1598
+ if (prevRefRect && (nextRefRect.x !== prevRefRect.x || nextRefRect.y !== prevRefRect.y || nextRefRect.width !== prevRefRect.width || nextRefRect.height !== prevRefRect.height)) {
1599
+ update();
1600
+ }
1601
+ prevRefRect = nextRefRect;
1602
+ frameId = requestAnimationFrame(frameLoop);
1603
+ }
1604
+ update();
1605
+ return () => {
1606
+ var _resizeObserver2;
1607
+ ancestors.forEach(ancestor => {
1608
+ ancestorScroll && ancestor.removeEventListener('scroll', update);
1609
+ ancestorResize && ancestor.removeEventListener('resize', update);
1610
+ });
1611
+ cleanupIo == null || cleanupIo();
1612
+ (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();
1613
+ resizeObserver = null;
1614
+ if (animationFrame) {
1615
+ cancelAnimationFrame(frameId);
1616
+ }
1617
+ };
1618
+ }
1619
+
1620
+ /**
1621
+ * Modifies the placement by translating the floating element along the
1622
+ * specified axes.
1623
+ * A number (shorthand for `mainAxis` or distance), or an axes configuration
1624
+ * object may be passed.
1625
+ * @see https://floating-ui.com/docs/offset
1626
+ */
1627
+ const offset = offset$1;
1628
+
1629
+ /**
1630
+ * Optimizes the visibility of the floating element by choosing the placement
1631
+ * that has the most space available automatically, without needing to specify a
1632
+ * preferred placement. Alternative to `flip`.
1633
+ * @see https://floating-ui.com/docs/autoPlacement
1634
+ */
1635
+ const autoPlacement = autoPlacement$1;
1636
+
1637
+ /**
1638
+ * Optimizes the visibility of the floating element by shifting it in order to
1639
+ * keep it in view when it will overflow the clipping boundary.
1640
+ * @see https://floating-ui.com/docs/shift
1641
+ */
1642
+ const shift = shift$1;
1643
+
1644
+ /**
1645
+ * Optimizes the visibility of the floating element by flipping the `placement`
1646
+ * in order to keep it in view when the preferred placement(s) will overflow the
1647
+ * clipping boundary. Alternative to `autoPlacement`.
1648
+ * @see https://floating-ui.com/docs/flip
1649
+ */
1650
+ const flip = flip$1;
1651
+
1652
+ /**
1653
+ * Provides data to position an inner element of the floating element so that it
1654
+ * appears centered to the reference element.
1655
+ * @see https://floating-ui.com/docs/arrow
1656
+ */
1657
+ const arrow = arrow$1;
1658
+
1659
+ /**
1660
+ * Computes the `x` and `y` coordinates that will place the floating element
1661
+ * next to a given reference element.
1662
+ */
1663
+ const computePosition = (reference, floating, options) => {
1664
+ // This caches the expensive `getClippingElementAncestors` function so that
1665
+ // multiple lifecycle resets re-use the same result. It only lives for a
1666
+ // single call. If other functions become expensive, we can add them as well.
1667
+ const cache = new Map();
1668
+ const mergedOptions = {
1669
+ platform,
1670
+ ...options
1671
+ };
1672
+ const platformWithCache = {
1673
+ ...mergedOptions.platform,
1674
+ _c: cache
1675
+ };
1676
+ return computePosition$1(reference, floating, {
1677
+ ...mergedOptions,
1678
+ platform: platformWithCache
1679
+ });
1680
+ };
1681
+
1682
+ exports.arrow = arrow;
1683
+ exports.autoPlacement = autoPlacement;
1684
+ exports.autoUpdate = autoUpdate;
1685
+ exports.computePosition = computePosition;
1686
+ exports.flip = flip;
1687
+ exports.offset = offset;
1688
+ exports.shift = shift;