@solid-design-system/components 3.7.0 → 3.7.2

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 (262) hide show
  1. package/dist/components/es/accordion-group.js +1 -1
  2. package/dist/components/es/accordion.js +1 -1
  3. package/dist/components/es/badge.js +1 -1
  4. package/dist/components/es/brandshape.js +1 -1
  5. package/dist/components/es/button.js +1 -1
  6. package/dist/components/es/carousel-item.js +1 -1
  7. package/dist/components/es/carousel.js +3 -3
  8. package/dist/components/es/checkbox-group.js +1 -1
  9. package/dist/components/es/checkbox.js +1 -1
  10. package/dist/components/es/default-value.js +1 -1
  11. package/dist/components/es/dialog.js +1 -1
  12. package/dist/components/es/divider.js +1 -1
  13. package/dist/components/es/drawer.js +1 -1
  14. package/dist/components/es/dropdown.js +1 -1
  15. package/dist/components/es/form.js +1 -1
  16. package/dist/components/es/header.js +1 -1
  17. package/dist/components/es/icon.js +3 -3
  18. package/dist/components/es/if-defined.js +1 -1
  19. package/dist/components/es/include.js +1 -1
  20. package/dist/components/es/input.js +1 -1
  21. package/dist/components/es/interactive.js +1 -1
  22. package/dist/components/es/link.js +1 -1
  23. package/dist/components/es/live.js +1 -1
  24. package/dist/components/es/map-marker.js +1 -1
  25. package/dist/components/es/navigation-item.js +1 -1
  26. package/dist/components/es/notification.js +1 -1
  27. package/dist/components/es/option.js +1 -1
  28. package/dist/components/es/query-assigned-elements.js +2 -2
  29. package/dist/components/es/radio-button.js +1 -1
  30. package/dist/components/es/radio-group.js +1 -1
  31. package/dist/components/es/radio.js +1 -1
  32. package/dist/components/es/scrollable.js +1 -1
  33. package/dist/components/es/select.js +3 -3
  34. package/dist/components/es/solid-components.js +1 -1
  35. package/dist/components/es/solid-components2.js +38 -1
  36. package/dist/components/es/spinner.js +1 -1
  37. package/dist/components/es/state.js +2 -2
  38. package/dist/components/es/static.js +2 -2
  39. package/dist/components/es/step-group.js +1 -1
  40. package/dist/components/es/step.js +1 -1
  41. package/dist/components/es/switch.js +1 -1
  42. package/dist/components/es/tab-group.js +1 -1
  43. package/dist/components/es/tab-panel.js +1 -1
  44. package/dist/components/es/tab.js +1 -1
  45. package/dist/components/es/tag.js +1 -1
  46. package/dist/components/es/teaser-media.js +1 -1
  47. package/dist/components/es/teaser.js +1 -1
  48. package/dist/components/es/textarea.js +1 -1
  49. package/dist/components/es/tooltip.js +2 -2
  50. package/dist/components/es/video.js +1 -1
  51. package/dist/components/umd/solid-components.js +22 -23
  52. package/dist/custom-elements.json +1 -1
  53. package/dist/package/_components/button-group/button-group.js +1 -2
  54. package/dist/package/components/accordion/accordion.js +2 -3
  55. package/dist/package/components/accordion-group/accordion-group.js +1 -2
  56. package/dist/package/components/badge/badge.js +1 -2
  57. package/dist/package/components/brandshape/brandshape.js +1 -2
  58. package/dist/package/components/button/button.js +1 -2
  59. package/dist/package/components/carousel/carousel.js +1 -2
  60. package/dist/package/components/carousel/scroll-controller.js +4 -5
  61. package/dist/package/components/carousel-item/carousel-item.js +1 -2
  62. package/dist/package/components/checkbox/checkbox.js +1 -2
  63. package/dist/package/components/checkbox-group/checkbox-group.js +1 -2
  64. package/dist/package/components/dialog/dialog.js +1 -2
  65. package/dist/package/components/divider/divider.js +1 -2
  66. package/dist/package/components/drawer/drawer.js +1 -2
  67. package/dist/package/components/dropdown/dropdown.js +1 -2
  68. package/dist/package/components/header/header.js +1 -2
  69. package/dist/package/components/icon/icon.js +1 -2
  70. package/dist/package/components/icon/library.default.js +2 -2
  71. package/dist/package/components/include/include.js +1 -2
  72. package/dist/package/components/input/input.js +1 -2
  73. package/dist/package/components/link/link.js +1 -2
  74. package/dist/package/components/map-marker/map-marker.js +1 -2
  75. package/dist/package/components/navigation-item/navigation-item.js +6 -10
  76. package/dist/package/components/notification/notification.js +1 -2
  77. package/dist/package/components/option/option.js +1 -2
  78. package/dist/package/components/popup/popup.js +1 -2
  79. package/dist/package/components/radio/radio.js +1 -2
  80. package/dist/package/components/radio-button/radio-button.js +1 -2
  81. package/dist/package/components/radio-group/radio-group.js +1 -2
  82. package/dist/package/components/scrollable/scrollable.js +1 -2
  83. package/dist/package/components/select/select.js +3 -6
  84. package/dist/package/components/spinner/spinner.js +1 -2
  85. package/dist/package/components/step/step.js +1 -2
  86. package/dist/package/components/step-group/step-group.js +1 -2
  87. package/dist/package/components/switch/switch.js +1 -2
  88. package/dist/package/components/tab/tab.js +2 -3
  89. package/dist/package/components/tab-group/tab-group.js +2 -3
  90. package/dist/package/components/tab-panel/tab-panel.js +1 -2
  91. package/dist/package/components/tag/tag.js +1 -2
  92. package/dist/package/components/teaser/teaser.js +1 -2
  93. package/dist/package/components/teaser-media/teaser-media.js +1 -2
  94. package/dist/package/components/textarea/textarea.js +3 -6
  95. package/dist/package/components/tooltip/tooltip.js +1 -2
  96. package/dist/package/components/video/video.js +1 -2
  97. package/dist/package/internal/form.js +4 -8
  98. package/dist/package/internal/solid-element.js +5 -7
  99. package/dist/package/styles/interactive/interactive.css.js +1 -1
  100. package/dist/package/styles/tailwind.css.js +1 -1
  101. package/dist/package/translations/de.js +1 -2
  102. package/dist/package/translations/en.js +1 -2
  103. package/dist/package/utilities/autocomplete-config.d.ts +1 -0
  104. package/dist/package/utilities/autocomplete-config.js +1 -0
  105. package/dist/styles/solid-styles.css +1 -1
  106. package/dist/versioned-components/es/accordion-group.js +1 -1
  107. package/dist/versioned-components/es/accordion.js +1 -1
  108. package/dist/versioned-components/es/badge.js +1 -1
  109. package/dist/versioned-components/es/brandshape.js +1 -1
  110. package/dist/versioned-components/es/button.js +1 -1
  111. package/dist/versioned-components/es/carousel-item.js +1 -1
  112. package/dist/versioned-components/es/carousel.js +3 -3
  113. package/dist/versioned-components/es/checkbox-group.js +1 -1
  114. package/dist/versioned-components/es/checkbox.js +1 -1
  115. package/dist/versioned-components/es/default-value.js +1 -1
  116. package/dist/versioned-components/es/dialog.js +1 -1
  117. package/dist/versioned-components/es/divider.js +1 -1
  118. package/dist/versioned-components/es/drawer.js +1 -1
  119. package/dist/versioned-components/es/dropdown.js +1 -1
  120. package/dist/versioned-components/es/form.js +1 -1
  121. package/dist/versioned-components/es/header.js +1 -1
  122. package/dist/versioned-components/es/icon.js +3 -3
  123. package/dist/versioned-components/es/if-defined.js +1 -1
  124. package/dist/versioned-components/es/include.js +1 -1
  125. package/dist/versioned-components/es/input.js +1 -1
  126. package/dist/versioned-components/es/interactive.js +1 -1
  127. package/dist/versioned-components/es/link.js +1 -1
  128. package/dist/versioned-components/es/live.js +1 -1
  129. package/dist/versioned-components/es/map-marker.js +1 -1
  130. package/dist/versioned-components/es/navigation-item.js +1 -1
  131. package/dist/versioned-components/es/notification.js +1 -1
  132. package/dist/versioned-components/es/option.js +1 -1
  133. package/dist/versioned-components/es/query-assigned-elements.js +2 -2
  134. package/dist/versioned-components/es/radio-button.js +1 -1
  135. package/dist/versioned-components/es/radio-group.js +1 -1
  136. package/dist/versioned-components/es/radio.js +1 -1
  137. package/dist/versioned-components/es/scrollable.js +1 -1
  138. package/dist/versioned-components/es/select.js +3 -3
  139. package/dist/versioned-components/es/solid-components.js +1 -1
  140. package/dist/versioned-components/es/solid-components2.js +38 -1
  141. package/dist/versioned-components/es/spinner.js +1 -1
  142. package/dist/versioned-components/es/state.js +2 -2
  143. package/dist/versioned-components/es/static.js +2 -2
  144. package/dist/versioned-components/es/step-group.js +1 -1
  145. package/dist/versioned-components/es/step.js +1 -1
  146. package/dist/versioned-components/es/switch.js +1 -1
  147. package/dist/versioned-components/es/tab-group.js +1 -1
  148. package/dist/versioned-components/es/tab-panel.js +1 -1
  149. package/dist/versioned-components/es/tab.js +1 -1
  150. package/dist/versioned-components/es/tag.js +1 -1
  151. package/dist/versioned-components/es/teaser-media.js +1 -1
  152. package/dist/versioned-components/es/teaser.js +1 -1
  153. package/dist/versioned-components/es/textarea.js +1 -1
  154. package/dist/versioned-components/es/tooltip.js +2 -2
  155. package/dist/versioned-components/es/video.js +1 -1
  156. package/dist/versioned-package/_components/button-group/button-group.d.ts +1 -1
  157. package/dist/versioned-package/_components/button-group/button-group.js +12 -13
  158. package/dist/versioned-package/components/accordion/accordion.d.ts +1 -1
  159. package/dist/versioned-package/components/accordion/accordion.js +4 -5
  160. package/dist/versioned-package/components/accordion-group/accordion-group.d.ts +1 -1
  161. package/dist/versioned-package/components/accordion-group/accordion-group.js +4 -5
  162. package/dist/versioned-package/components/badge/badge.d.ts +1 -1
  163. package/dist/versioned-package/components/badge/badge.js +2 -3
  164. package/dist/versioned-package/components/brandshape/brandshape.d.ts +1 -1
  165. package/dist/versioned-package/components/brandshape/brandshape.js +2 -3
  166. package/dist/versioned-package/components/button/button.d.ts +1 -1
  167. package/dist/versioned-package/components/button/button.js +5 -6
  168. package/dist/versioned-package/components/carousel/carousel.d.ts +1 -1
  169. package/dist/versioned-package/components/carousel/carousel.js +7 -8
  170. package/dist/versioned-package/components/carousel/scroll-controller.js +4 -5
  171. package/dist/versioned-package/components/carousel-item/carousel-item.d.ts +1 -1
  172. package/dist/versioned-package/components/carousel-item/carousel-item.js +2 -3
  173. package/dist/versioned-package/components/checkbox/checkbox.d.ts +1 -1
  174. package/dist/versioned-package/components/checkbox/checkbox.js +4 -5
  175. package/dist/versioned-package/components/checkbox-group/checkbox-group.d.ts +1 -1
  176. package/dist/versioned-package/components/checkbox-group/checkbox-group.js +6 -7
  177. package/dist/versioned-package/components/dialog/dialog.d.ts +1 -1
  178. package/dist/versioned-package/components/dialog/dialog.js +3 -4
  179. package/dist/versioned-package/components/divider/divider.d.ts +1 -1
  180. package/dist/versioned-package/components/divider/divider.js +3 -4
  181. package/dist/versioned-package/components/drawer/drawer.d.ts +1 -1
  182. package/dist/versioned-package/components/drawer/drawer.js +3 -4
  183. package/dist/versioned-package/components/dropdown/dropdown.d.ts +1 -1
  184. package/dist/versioned-package/components/dropdown/dropdown.js +9 -10
  185. package/dist/versioned-package/components/header/header.d.ts +1 -1
  186. package/dist/versioned-package/components/header/header.js +5 -6
  187. package/dist/versioned-package/components/icon/icon.d.ts +1 -1
  188. package/dist/versioned-package/components/icon/icon.js +2 -3
  189. package/dist/versioned-package/components/icon/library.default.js +2 -2
  190. package/dist/versioned-package/components/include/include.d.ts +1 -1
  191. package/dist/versioned-package/components/include/include.js +2 -3
  192. package/dist/versioned-package/components/input/input.d.ts +1 -1
  193. package/dist/versioned-package/components/input/input.js +3 -4
  194. package/dist/versioned-package/components/link/link.d.ts +1 -1
  195. package/dist/versioned-package/components/link/link.js +3 -4
  196. package/dist/versioned-package/components/map-marker/map-marker.d.ts +1 -1
  197. package/dist/versioned-package/components/map-marker/map-marker.js +2 -3
  198. package/dist/versioned-package/components/navigation-item/navigation-item.d.ts +1 -1
  199. package/dist/versioned-package/components/navigation-item/navigation-item.js +8 -12
  200. package/dist/versioned-package/components/notification/notification.d.ts +1 -1
  201. package/dist/versioned-package/components/notification/notification.js +6 -7
  202. package/dist/versioned-package/components/option/option.d.ts +1 -1
  203. package/dist/versioned-package/components/option/option.js +3 -4
  204. package/dist/versioned-package/components/popup/popup.d.ts +1 -1
  205. package/dist/versioned-package/components/popup/popup.js +2 -3
  206. package/dist/versioned-package/components/radio/radio.d.ts +1 -1
  207. package/dist/versioned-package/components/radio/radio.js +3 -4
  208. package/dist/versioned-package/components/radio-button/radio-button.d.ts +1 -1
  209. package/dist/versioned-package/components/radio-button/radio-button.js +3 -4
  210. package/dist/versioned-package/components/radio-group/radio-group.d.ts +2 -2
  211. package/dist/versioned-package/components/radio-group/radio-group.js +14 -15
  212. package/dist/versioned-package/components/scrollable/scrollable.d.ts +1 -1
  213. package/dist/versioned-package/components/scrollable/scrollable.js +4 -5
  214. package/dist/versioned-package/components/select/select.d.ts +4 -4
  215. package/dist/versioned-package/components/select/select.js +28 -31
  216. package/dist/versioned-package/components/spinner/spinner.d.ts +1 -1
  217. package/dist/versioned-package/components/spinner/spinner.js +2 -3
  218. package/dist/versioned-package/components/step/step.d.ts +1 -1
  219. package/dist/versioned-package/components/step/step.js +6 -7
  220. package/dist/versioned-package/components/step-group/step-group.d.ts +1 -1
  221. package/dist/versioned-package/components/step-group/step-group.js +3 -4
  222. package/dist/versioned-package/components/switch/switch.d.ts +1 -1
  223. package/dist/versioned-package/components/switch/switch.js +2 -3
  224. package/dist/versioned-package/components/tab/tab.d.ts +1 -1
  225. package/dist/versioned-package/components/tab/tab.js +4 -5
  226. package/dist/versioned-package/components/tab-group/tab-group.d.ts +1 -1
  227. package/dist/versioned-package/components/tab-group/tab-group.js +14 -15
  228. package/dist/versioned-package/components/tab-panel/tab-panel.d.ts +1 -1
  229. package/dist/versioned-package/components/tab-panel/tab-panel.js +3 -4
  230. package/dist/versioned-package/components/tag/tag.d.ts +1 -1
  231. package/dist/versioned-package/components/tag/tag.js +3 -4
  232. package/dist/versioned-package/components/teaser/teaser.js +2 -3
  233. package/dist/versioned-package/components/teaser-media/teaser-media.js +2 -3
  234. package/dist/versioned-package/components/textarea/textarea.d.ts +1 -1
  235. package/dist/versioned-package/components/textarea/textarea.js +5 -8
  236. package/dist/versioned-package/components/tooltip/tooltip.d.ts +1 -1
  237. package/dist/versioned-package/components/tooltip/tooltip.js +6 -7
  238. package/dist/versioned-package/components/video/video.d.ts +1 -1
  239. package/dist/versioned-package/components/video/video.js +3 -4
  240. package/dist/versioned-package/internal/form.js +7 -11
  241. package/dist/versioned-package/internal/solid-element.js +5 -7
  242. package/dist/versioned-package/styles/headline/headline.css.js +1 -1
  243. package/dist/versioned-package/styles/interactive/interactive.css.js +1 -1
  244. package/dist/versioned-package/styles/tailwind.css.js +1 -1
  245. package/dist/versioned-package/translations/de.js +1 -2
  246. package/dist/versioned-package/translations/en.js +1 -2
  247. package/dist/versioned-package/utilities/autocomplete-config.d.ts +1 -0
  248. package/dist/versioned-package/utilities/autocomplete-config.js +5 -4
  249. package/dist/versioned-styles/solid-styles.css +1 -1
  250. package/dist/vscode.html-custom-data.json +41 -41
  251. package/dist/web-types.json +42 -42
  252. package/package.json +35 -28
  253. package/dist/components/es/classix.js +0 -1
  254. package/dist/components/es/component.styles.js +0 -1
  255. package/dist/components/es/popup.js +0 -1
  256. package/dist/components/es/query.js +0 -11
  257. package/dist/components/es/solid-element.js +0 -28
  258. package/dist/versioned-components/es/classix.js +0 -1
  259. package/dist/versioned-components/es/component.styles.js +0 -1
  260. package/dist/versioned-components/es/popup.js +0 -1
  261. package/dist/versioned-components/es/query.js +0 -11
  262. package/dist/versioned-components/es/solid-element.js +0 -28
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/web-types",
3
3
  "name": "@solid-design-system/components",
4
- "version": "3.7.0",
4
+ "version": "3.7.2",
5
5
  "description-markup": "markdown",
6
6
  "framework-config": {
7
7
  "enable-when": {
@@ -6723,7 +6723,7 @@
6723
6723
  ]
6724
6724
  },
6725
6725
  {
6726
- "name": "sd-3-7-0-accordion-group",
6726
+ "name": "sd-3-7-2-accordion-group",
6727
6727
  "description": "",
6728
6728
  "doc-url": "https://solid.union-investment.com/[storybook-link]/accordion-group",
6729
6729
  "js": {
@@ -6753,7 +6753,7 @@
6753
6753
  ]
6754
6754
  },
6755
6755
  {
6756
- "name": "sd-3-7-0-accordion",
6756
+ "name": "sd-3-7-2-accordion",
6757
6757
  "description": "",
6758
6758
  "doc-url": "https://solid.union-investment.com/[storybook-link]/accordion",
6759
6759
  "js": {
@@ -6836,7 +6836,7 @@
6836
6836
  ]
6837
6837
  },
6838
6838
  {
6839
- "name": "sd-3-7-0-badge",
6839
+ "name": "sd-3-7-2-badge",
6840
6840
  "description": "",
6841
6841
  "doc-url": "https://solid.union-investment.com/[storybook-link]/badge",
6842
6842
  "js": {
@@ -6890,7 +6890,7 @@
6890
6890
  ]
6891
6891
  },
6892
6892
  {
6893
- "name": "sd-3-7-0-brandshape",
6893
+ "name": "sd-3-7-2-brandshape",
6894
6894
  "description": "",
6895
6895
  "doc-url": "https://solid.union-investment.com/[storybook-link]/brandshape",
6896
6896
  "js": {
@@ -6973,7 +6973,7 @@
6973
6973
  ]
6974
6974
  },
6975
6975
  {
6976
- "name": "sd-3-7-0-button",
6976
+ "name": "sd-3-7-2-button",
6977
6977
  "description": "",
6978
6978
  "doc-url": "https://solid.union-investment.com/[storybook-link]/button",
6979
6979
  "js": {
@@ -7329,7 +7329,7 @@
7329
7329
  ]
7330
7330
  },
7331
7331
  {
7332
- "name": "sd-3-7-0-carousel-item",
7332
+ "name": "sd-3-7-2-carousel-item",
7333
7333
  "description": "",
7334
7334
  "doc-url": "https://solid.union-investment.com/[storybook-link]/carousel-item",
7335
7335
  "js": {
@@ -7344,7 +7344,7 @@
7344
7344
  "attributes": []
7345
7345
  },
7346
7346
  {
7347
- "name": "sd-3-7-0-carousel",
7347
+ "name": "sd-3-7-2-carousel",
7348
7348
  "description": "",
7349
7349
  "doc-url": "https://solid.union-investment.com/[storybook-link]/carousel",
7350
7350
  "js": {
@@ -7536,7 +7536,7 @@
7536
7536
  ]
7537
7537
  },
7538
7538
  {
7539
- "name": "sd-3-7-0-checkbox-group",
7539
+ "name": "sd-3-7-2-checkbox-group",
7540
7540
  "description": "",
7541
7541
  "doc-url": "https://solid.union-investment.com/[storybook-link]/checkbox-group",
7542
7542
  "js": {
@@ -7614,7 +7614,7 @@
7614
7614
  ]
7615
7615
  },
7616
7616
  {
7617
- "name": "sd-3-7-0-checkbox",
7617
+ "name": "sd-3-7-2-checkbox",
7618
7618
  "description": "",
7619
7619
  "doc-url": "https://solid.union-investment.com/[storybook-link]/checkbox",
7620
7620
  "js": {
@@ -7848,7 +7848,7 @@
7848
7848
  ]
7849
7849
  },
7850
7850
  {
7851
- "name": "sd-3-7-0-dialog",
7851
+ "name": "sd-3-7-2-dialog",
7852
7852
  "description": "",
7853
7853
  "doc-url": "https://solid.union-investment.com/[storybook-link]/dialog",
7854
7854
  "js": {
@@ -7971,7 +7971,7 @@
7971
7971
  ]
7972
7972
  },
7973
7973
  {
7974
- "name": "sd-3-7-0-divider",
7974
+ "name": "sd-3-7-2-divider",
7975
7975
  "description": "",
7976
7976
  "doc-url": "https://solid.union-investment.com/[storybook-link]/divider",
7977
7977
  "js": {
@@ -8011,7 +8011,7 @@
8011
8011
  ]
8012
8012
  },
8013
8013
  {
8014
- "name": "sd-3-7-0-drawer",
8014
+ "name": "sd-3-7-2-drawer",
8015
8015
  "description": "",
8016
8016
  "doc-url": "https://solid.union-investment.com/[storybook-link]/drawer",
8017
8017
  "js": {
@@ -8164,7 +8164,7 @@
8164
8164
  ]
8165
8165
  },
8166
8166
  {
8167
- "name": "sd-3-7-0-dropdown",
8167
+ "name": "sd-3-7-2-dropdown",
8168
8168
  "description": "",
8169
8169
  "doc-url": "https://solid.union-investment.com/[storybook-link]/dropdown",
8170
8170
  "js": {
@@ -8418,7 +8418,7 @@
8418
8418
  ]
8419
8419
  },
8420
8420
  {
8421
- "name": "sd-3-7-0-header",
8421
+ "name": "sd-3-7-2-header",
8422
8422
  "description": "",
8423
8423
  "doc-url": "https://solid.union-investment.com/[storybook-link]/header",
8424
8424
  "js": {
@@ -8470,7 +8470,7 @@
8470
8470
  ]
8471
8471
  },
8472
8472
  {
8473
- "name": "sd-3-7-0-icon",
8473
+ "name": "sd-3-7-2-icon",
8474
8474
  "description": "",
8475
8475
  "doc-url": "https://solid.union-investment.com/[storybook-link]/icon",
8476
8476
  "js": {
@@ -8573,7 +8573,7 @@
8573
8573
  ]
8574
8574
  },
8575
8575
  {
8576
- "name": "sd-3-7-0-include",
8576
+ "name": "sd-3-7-2-include",
8577
8577
  "description": "",
8578
8578
  "doc-url": "https://solid.union-investment.com/[storybook-link]/include",
8579
8579
  "js": {
@@ -8644,7 +8644,7 @@
8644
8644
  ]
8645
8645
  },
8646
8646
  {
8647
- "name": "sd-3-7-0-input",
8647
+ "name": "sd-3-7-2-input",
8648
8648
  "description": "",
8649
8649
  "doc-url": "https://solid.union-investment.com/[storybook-link]/input",
8650
8650
  "js": {
@@ -9232,7 +9232,7 @@
9232
9232
  ]
9233
9233
  },
9234
9234
  {
9235
- "name": "sd-3-7-0-link",
9235
+ "name": "sd-3-7-2-link",
9236
9236
  "description": "",
9237
9237
  "doc-url": "https://solid.union-investment.com/[storybook-link]/link",
9238
9238
  "js": {
@@ -9359,7 +9359,7 @@
9359
9359
  ]
9360
9360
  },
9361
9361
  {
9362
- "name": "sd-3-7-0-map-marker",
9362
+ "name": "sd-3-7-2-map-marker",
9363
9363
  "description": "",
9364
9364
  "doc-url": "https://solid.union-investment.com/[storybook-link]/map-marker",
9365
9365
  "js": {
@@ -9413,7 +9413,7 @@
9413
9413
  ]
9414
9414
  },
9415
9415
  {
9416
- "name": "sd-3-7-0-navigation-item",
9416
+ "name": "sd-3-7-2-navigation-item",
9417
9417
  "description": "",
9418
9418
  "doc-url": "https://solid.union-investment.com/[storybook-link]/navigation-item",
9419
9419
  "js": {
@@ -9638,7 +9638,7 @@
9638
9638
  ]
9639
9639
  },
9640
9640
  {
9641
- "name": "sd-3-7-0-notification",
9641
+ "name": "sd-3-7-2-notification",
9642
9642
  "description": "",
9643
9643
  "doc-url": "https://solid.union-investment.com/[storybook-link]/notification",
9644
9644
  "js": {
@@ -9804,7 +9804,7 @@
9804
9804
  ]
9805
9805
  },
9806
9806
  {
9807
- "name": "sd-3-7-0-option",
9807
+ "name": "sd-3-7-2-option",
9808
9808
  "description": "",
9809
9809
  "doc-url": "https://solid.union-investment.com/[storybook-link]/option",
9810
9810
  "js": {
@@ -9911,7 +9911,7 @@
9911
9911
  ]
9912
9912
  },
9913
9913
  {
9914
- "name": "sd-3-7-0-popup",
9914
+ "name": "sd-3-7-2-popup",
9915
9915
  "description": "",
9916
9916
  "doc-url": "https://solid.union-investment.com/[storybook-link]/popup",
9917
9917
  "js": {
@@ -10263,7 +10263,7 @@
10263
10263
  ]
10264
10264
  },
10265
10265
  {
10266
- "name": "sd-3-7-0-radio-button",
10266
+ "name": "sd-3-7-2-radio-button",
10267
10267
  "description": "",
10268
10268
  "doc-url": "https://solid.union-investment.com/[storybook-link]/radio-button",
10269
10269
  "js": {
@@ -10362,7 +10362,7 @@
10362
10362
  ]
10363
10363
  },
10364
10364
  {
10365
- "name": "sd-3-7-0-radio-group",
10365
+ "name": "sd-3-7-2-radio-group",
10366
10366
  "description": "",
10367
10367
  "doc-url": "https://solid.union-investment.com/[storybook-link]/radio-group",
10368
10368
  "js": {
@@ -10602,7 +10602,7 @@
10602
10602
  ]
10603
10603
  },
10604
10604
  {
10605
- "name": "sd-3-7-0-radio",
10605
+ "name": "sd-3-7-2-radio",
10606
10606
  "description": "",
10607
10607
  "doc-url": "https://solid.union-investment.com/[storybook-link]/radio",
10608
10608
  "js": {
@@ -10717,7 +10717,7 @@
10717
10717
  ]
10718
10718
  },
10719
10719
  {
10720
- "name": "sd-3-7-0-scrollable",
10720
+ "name": "sd-3-7-2-scrollable",
10721
10721
  "description": "",
10722
10722
  "doc-url": "https://solid.union-investment.com/[storybook-link]/scrollable",
10723
10723
  "js": {
@@ -10877,7 +10877,7 @@
10877
10877
  ]
10878
10878
  },
10879
10879
  {
10880
- "name": "sd-3-7-0-select",
10880
+ "name": "sd-3-7-2-select",
10881
10881
  "description": "",
10882
10882
  "doc-url": "https://solid.union-investment.com/[storybook-link]/select",
10883
10883
  "js": {
@@ -11397,7 +11397,7 @@
11397
11397
  ]
11398
11398
  },
11399
11399
  {
11400
- "name": "sd-3-7-0-spinner",
11400
+ "name": "sd-3-7-2-spinner",
11401
11401
  "description": "",
11402
11402
  "doc-url": "https://solid.union-investment.com/[storybook-link]/spinner",
11403
11403
  "js": {
@@ -11427,7 +11427,7 @@
11427
11427
  ]
11428
11428
  },
11429
11429
  {
11430
- "name": "sd-3-7-0-step-group",
11430
+ "name": "sd-3-7-2-step-group",
11431
11431
  "description": "",
11432
11432
  "doc-url": "https://solid.union-investment.com/[storybook-link]/step-group",
11433
11433
  "js": {
@@ -11522,7 +11522,7 @@
11522
11522
  ]
11523
11523
  },
11524
11524
  {
11525
- "name": "sd-3-7-0-step",
11525
+ "name": "sd-3-7-2-step",
11526
11526
  "description": "",
11527
11527
  "doc-url": "https://solid.union-investment.com/[storybook-link]/step",
11528
11528
  "js": {
@@ -11707,7 +11707,7 @@
11707
11707
  ]
11708
11708
  },
11709
11709
  {
11710
- "name": "sd-3-7-0-switch",
11710
+ "name": "sd-3-7-2-switch",
11711
11711
  "description": "",
11712
11712
  "doc-url": "https://solid.union-investment.com/[storybook-link]/switch",
11713
11713
  "js": {
@@ -11915,7 +11915,7 @@
11915
11915
  ]
11916
11916
  },
11917
11917
  {
11918
- "name": "sd-3-7-0-tab-group",
11918
+ "name": "sd-3-7-2-tab-group",
11919
11919
  "description": "",
11920
11920
  "doc-url": "https://solid.union-investment.com/[storybook-link]/tab-group",
11921
11921
  "js": {
@@ -12034,7 +12034,7 @@
12034
12034
  ]
12035
12035
  },
12036
12036
  {
12037
- "name": "sd-3-7-0-tab-panel",
12037
+ "name": "sd-3-7-2-tab-panel",
12038
12038
  "description": "",
12039
12039
  "doc-url": "https://solid.union-investment.com/[storybook-link]/tab-panel",
12040
12040
  "js": {
@@ -12088,7 +12088,7 @@
12088
12088
  ]
12089
12089
  },
12090
12090
  {
12091
- "name": "sd-3-7-0-tab",
12091
+ "name": "sd-3-7-2-tab",
12092
12092
  "description": "",
12093
12093
  "doc-url": "https://solid.union-investment.com/[storybook-link]/tab",
12094
12094
  "js": {
@@ -12184,7 +12184,7 @@
12184
12184
  ]
12185
12185
  },
12186
12186
  {
12187
- "name": "sd-3-7-0-tag",
12187
+ "name": "sd-3-7-2-tag",
12188
12188
  "description": "",
12189
12189
  "doc-url": "https://solid.union-investment.com/[storybook-link]/tag",
12190
12190
  "js": {
@@ -12338,7 +12338,7 @@
12338
12338
  ]
12339
12339
  },
12340
12340
  {
12341
- "name": "sd-3-7-0-teaser-media",
12341
+ "name": "sd-3-7-2-teaser-media",
12342
12342
  "description": "",
12343
12343
  "doc-url": "https://solid.union-investment.com/[storybook-link]/teaser-media",
12344
12344
  "js": {
@@ -12366,7 +12366,7 @@
12366
12366
  ]
12367
12367
  },
12368
12368
  {
12369
- "name": "sd-3-7-0-teaser",
12369
+ "name": "sd-3-7-2-teaser",
12370
12370
  "description": "",
12371
12371
  "doc-url": "https://solid.union-investment.com/[storybook-link]/teaser",
12372
12372
  "js": {
@@ -12432,7 +12432,7 @@
12432
12432
  ]
12433
12433
  },
12434
12434
  {
12435
- "name": "sd-3-7-0-textarea",
12435
+ "name": "sd-3-7-2-textarea",
12436
12436
  "description": "",
12437
12437
  "doc-url": "https://solid.union-investment.com/[storybook-link]/textarea",
12438
12438
  "js": {
@@ -12886,7 +12886,7 @@
12886
12886
  ]
12887
12887
  },
12888
12888
  {
12889
- "name": "sd-3-7-0-tooltip",
12889
+ "name": "sd-3-7-2-tooltip",
12890
12890
  "description": "",
12891
12891
  "doc-url": "https://solid.union-investment.com/[storybook-link]/tooltip",
12892
12892
  "js": {
@@ -13079,7 +13079,7 @@
13079
13079
  ]
13080
13080
  },
13081
13081
  {
13082
- "name": "sd-3-7-0-video",
13082
+ "name": "sd-3-7-2-video",
13083
13083
  "description": "",
13084
13084
  "doc-url": "https://solid.union-investment.com/[storybook-link]/video",
13085
13085
  "js": {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@solid-design-system/components",
3
3
  "description": "Solid Design System: Components",
4
- "version": "3.7.0",
4
+ "version": "3.7.2",
5
5
  "homepage": "https://solid-design-system.fe.union-investment.de/x.x.x/storybook/",
6
6
  "author": {
7
7
  "name": "Union Investment"
@@ -19,6 +19,10 @@
19
19
  "import": "./dist/package/components/*",
20
20
  "types": "./dist/package/solid-components.d.ts"
21
21
  },
22
+ "./unversioned-utilities/*": {
23
+ "import": "./dist/package/utilities/*",
24
+ "types": "./dist/package/solid-components.d.ts"
25
+ },
22
26
  "./versioned": {
23
27
  "types": "./dist/versioned-package/solid-components.d.ts",
24
28
  "import": "./dist/versioned-package/solid-components.js"
@@ -27,6 +31,10 @@
27
31
  "import": "./dist/versioned-package/components/*",
28
32
  "types": "./dist/versioned-package/solid-components.d.ts"
29
33
  },
34
+ "./versioned-utilities/*": {
35
+ "import": "./dist/versioned-package/utilities/*",
36
+ "types": "./dist/versioned-package/solid-components.d.ts"
37
+ },
30
38
  "./unversioned-styles": {
31
39
  "import": "./dist/styles/solid-styles.css"
32
40
  },
@@ -76,11 +84,11 @@
76
84
  "release.dry": "semantic-release -d --tagFormat 'components/${version}' -e semantic-release-monorepo"
77
85
  },
78
86
  "dependencies": {
79
- "@floating-ui/dom": "^1.5.3",
87
+ "@floating-ui/dom": "^1.6.5",
80
88
  "@shoelace-style/animations": "^1.1.0",
81
89
  "@shoelace-style/localize": "^3.1.2",
82
90
  "classix": "^2.1.35",
83
- "lit": "^3.0.2"
91
+ "lit": "^3.1.4"
84
92
  },
85
93
  "devDependencies": {
86
94
  "@custom-elements-manifest/analyzer": "^0.9.0",
@@ -88,7 +96,7 @@
88
96
  "@mariohamann/tailwindcss-var": "github:mariohamann/tailwindcss-var",
89
97
  "@mariohamann/wc-storybook-helpers": "^1.3.3",
90
98
  "@open-wc/testing": "^4.0.0",
91
- "@open-wc/testing-helpers": "^3.0.0",
99
+ "@open-wc/testing-helpers": "^3.0.1",
92
100
  "@remcovaes/web-test-runner-vite-plugin": "^1.2.0",
93
101
  "@rollup/plugin-node-resolve": "^15.2.3",
94
102
  "@rollup/pluginutils": "^5.1.0",
@@ -96,54 +104,53 @@
96
104
  "@semantic-release/exec": "^6.0.3",
97
105
  "@semantic-release/git": "^10.0.1",
98
106
  "@solid-design-system/theming": "workspace:*",
99
- "@storybook/addon-essentials": "^8.0.0",
100
- "@storybook/addon-interactions": "^8.0.0",
101
- "@storybook/addon-links": "^8.0.0",
102
- "@storybook/addon-mdx-gfm": "^8.0.0",
107
+ "@storybook/addon-essentials": "^8.1.10",
108
+ "@storybook/addon-interactions": "^8.1.10",
109
+ "@storybook/addon-links": "^8.1.10",
110
+ "@storybook/addon-mdx-gfm": "^8.1.10",
103
111
  "@storybook/addons": "^7.5.3",
104
- "@storybook/blocks": "^8.0.0",
105
- "@storybook/jest": "^0.2.3",
106
- "@storybook/testing-library": "^0.2.2",
107
- "@storybook/theming": "^8.0.0",
108
- "@storybook/web-components": "^8.0.0",
109
- "@storybook/web-components-vite": "^8.0.0",
112
+ "@storybook/blocks": "^8.1.10",
113
+ "@storybook/test": "^8.1.10",
114
+ "@storybook/theming": "^8.1.10",
115
+ "@storybook/web-components": "^8.1.10",
116
+ "@storybook/web-components-vite": "^8.1.10",
110
117
  "@tarekraafat/autocomplete.js": "^10.2.7",
111
118
  "@types/mocha": "^10.0.4",
112
119
  "@types/sinon": "^17.0.1",
113
- "@web/test-runner": "^0.18.0",
120
+ "@web/test-runner": "^0.18.2",
114
121
  "@web/test-runner-commands": "^0.9.0",
115
122
  "@web/test-runner-playwright": "^0.11.0",
116
123
  "autoprefixer": "^10.4.16",
117
124
  "cem-plugin-vs-code-custom-data-generator": "^1.4.2",
118
- "chromatic": "^11.0.0",
125
+ "chromatic": "^11.5.4",
119
126
  "comment-parser": "^1.4.1",
120
127
  "countup.js": "^2.8.0",
121
- "cssnano": "^6.0.1",
128
+ "cssnano": "^7.0.3",
122
129
  "globby": "^14.0.0",
123
130
  "gzip-size": "^7.0.0",
124
- "jsonata": "^2.0.3",
125
- "lit-html": "^3.0.2",
131
+ "jsonata": "^2.0.5",
132
+ "lit-html": "^3.1.4",
126
133
  "minify-html-literals": "^1.3.5",
127
134
  "normalize.css": "^8.0.1",
128
- "playwright": "^1.40.1",
135
+ "playwright": "^1.44.1",
129
136
  "plop": "^4.0.0",
130
137
  "postcss": "^8.4.31",
131
- "prettier": "^3.0.3",
132
- "react": "^18.2.0",
133
- "react-dom": "^18.2.0",
138
+ "prettier": "^3.3.2",
139
+ "react": "^18.3.1",
140
+ "react-dom": "^18.3.1",
134
141
  "rollup-plugin-copy": "^3.5.0",
135
- "rollup-plugin-summary": "^2.0.0",
142
+ "rollup-plugin-summary": "^2.0.1",
136
143
  "semantic-release": "^19.0.5",
137
144
  "semantic-release-monorepo": "^7.0.5",
138
145
  "sinon": "^17.0.1",
139
- "storybook": "^8.0.0",
146
+ "storybook": "^8.1.10",
140
147
  "storybook-addon-designs": "6.3.1",
141
148
  "tailwindcss": "^3.3.5",
142
- "terser": "^5.24.0",
149
+ "terser": "^5.31.1",
143
150
  "typescript": "5.4.5",
144
151
  "user-agent-data-types": "^0.4.2",
145
- "vite": "^5.0.0",
146
- "vite-node": "^1.0.0",
152
+ "vite": "^5.3.1",
153
+ "vite-node": "^1.6.0",
147
154
  "vite-plugin-cem": "^0.8.0",
148
155
  "vite-tsconfig-paths": "^4.2.1"
149
156
  },
@@ -1 +0,0 @@
1
- function t(){let t,e="",n=0;for(;n<arguments.length;)(t=arguments[n++])&&"string"==typeof t&&(e&&(e+=" "),e+=t);return e}export{t};
@@ -1 +0,0 @@
1
- import{i as o}from"./solid-element.js";const i=o`:host{box-sizing:border-box}:host *,:host ::after,:host ::before{box-sizing:inherit}[hidden]{display:none!important}`;export{i as c};
@@ -1 +0,0 @@
1
- import{S as t,x as e,i as n,n as o,c as i}from"./solid-element.js";import{e as r}from"./query.js";import{c as a}from"./component.styles.js";import{t as s}from"./classix.js";const l=Math.min,c=Math.max,f=Math.round,u=Math.floor,h=t=>({x:t,y:t}),p={left:"right",right:"left",bottom:"top",top:"bottom"},d={start:"end",end:"start"};function m(t,e,n){return c(t,l(e,n))}function y(t,e){return"function"==typeof t?t(e):t}function g(t){return t.split("-")[0]}function w(t){return t.split("-")[1]}function b(t){return"x"===t?"y":"x"}function v(t){return"y"===t?"height":"width"}function x(t){return["top","bottom"].includes(g(t))?"y":"x"}function P(t){return b(x(t))}function E(t){return t.replace(/start|end/g,(t=>d[t]))}function z(t){return t.replace(/left|right|bottom|top/g,(t=>p[t]))}function R(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function S(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}function O(t,e,n){let{reference:o,floating:i}=t;const r=x(e),a=P(e),s=v(a),l=g(e),c="y"===r,f=o.x+o.width/2-i.width/2,u=o.y+o.height/2-i.height/2,h=o[s]/2-i[s]/2;let p;switch(l){case"top":p={x:f,y:o.y-i.height};break;case"bottom":p={x:f,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:u};break;case"left":p={x:o.x-i.width,y:u};break;default:p={x:o.x,y:o.y}}switch(w(e)){case"start":p[a]-=h*(n&&c?-1:1);break;case"end":p[a]+=h*(n&&c?-1:1)}return p}async function T(t,e){var n;void 0===e&&(e={});const{x:o,y:i,platform:r,rects:a,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:u="floating",altBoundary:h=!1,padding:p=0}=y(e,t),d=R(p),m=s[h?"floating"===u?"reference":"floating":u],g=S(await r.getClippingRect({element:null==(n=await(null==r.isElement?void 0:r.isElement(m)))||n?m:m.contextElement||await(null==r.getDocumentElement?void 0:r.getDocumentElement(s.floating)),boundary:c,rootBoundary:f,strategy:l})),w="floating"===u?{...a.floating,x:o,y:i}:a.reference,b=await(null==r.getOffsetParent?void 0:r.getOffsetParent(s.floating)),v=await(null==r.isElement?void 0:r.isElement(b))&&await(null==r.getScale?void 0:r.getScale(b))||{x:1,y:1},x=S(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:b,strategy:l}):w);return{top:(g.top-x.top+d.top)/v.y,bottom:(x.bottom-g.bottom+d.bottom)/v.y,left:(g.left-x.left+d.left)/v.x,right:(x.right-g.right+d.right)/v.x}}const L=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:a,middlewareData:s}=e,l=await async function(t,e){const{placement:n,platform:o,elements:i}=t,r=await(null==o.isRTL?void 0:o.isRTL(i.floating)),a=g(n),s=w(n),l="y"===x(n),c=["left","top"].includes(a)?-1:1,f=r&&l?-1:1,u=y(e,t);let{mainAxis:h,crossAxis:p,alignmentAxis:d}="number"==typeof u?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...u};return s&&"number"==typeof d&&(p="end"===s?-1*d:d),l?{x:p*f,y:h*c}:{x:h*c,y:p*f}}(e,t);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(o=s.arrow)&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:a}}}}};function A(t){return D(t)?(t.nodeName||"").toLowerCase():"#document"}function k(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function C(t){var e;return null==(e=(D(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function D(t){return t instanceof Node||t instanceof k(t).Node}function F(t){return t instanceof Element||t instanceof k(t).Element}function B(t){return t instanceof HTMLElement||t instanceof k(t).HTMLElement}function $(t){return!(typeof ShadowRoot>"u")&&(t instanceof ShadowRoot||t instanceof k(t).ShadowRoot)}function H(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=V(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function N(t){return["table","td","th"].includes(A(t))}function j(t){const e=M(),n=V(t);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!e&&!!n.backdropFilter&&"none"!==n.backdropFilter||!e&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((t=>(n.willChange||"").includes(t)))||["paint","layout","strict","content"].some((t=>(n.contain||"").includes(t)))}function M(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function W(t){return["html","body","#document"].includes(A(t))}function V(t){return k(t).getComputedStyle(t)}function q(t){return F(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function I(t){if("html"===A(t))return t;const e=t.assignedSlot||t.parentNode||$(t)&&t.host||C(t);return $(e)?e.host:e}function X(t){const e=I(t);return W(e)?t.ownerDocument?t.ownerDocument.body:t.body:B(e)&&H(e)?e:X(e)}function Y(t,e,n){var o;void 0===e&&(e=[]),void 0===n&&(n=!0);const i=X(t),r=i===(null==(o=t.ownerDocument)?void 0:o.body),a=k(i);return r?e.concat(a,a.visualViewport||[],H(i)?i:[],a.frameElement&&n?Y(a.frameElement):[]):e.concat(i,Y(i,[],n))}function _(t){const e=V(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=B(t),r=i?t.offsetWidth:n,a=i?t.offsetHeight:o,s=f(n)!==r||f(o)!==a;return s&&(n=r,o=a),{width:n,height:o,$:s}}function G(t){return F(t)?t:t.contextElement}function J(t){const e=G(t);if(!B(e))return h(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=_(e);let a=(r?f(n.width):n.width)/o,s=(r?f(n.height):n.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const K=h(0);function Q(t){const e=k(t);return M()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:K}function U(t,e,n,o){void 0===e&&(e=!1),void 0===n&&(n=!1);const i=t.getBoundingClientRect(),r=G(t);let a=h(1);e&&(o?F(o)&&(a=J(o)):a=J(t));const s=function(t,e,n){return void 0===e&&(e=!1),!(!n||e&&n!==k(t))&&e}(r,n,o)?Q(r):h(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,f=i.width/a.x,u=i.height/a.y;if(r){const t=k(r),e=o&&F(o)?k(o):o;let n=t,i=n.frameElement;for(;i&&o&&e!==n;){const t=J(i),e=i.getBoundingClientRect(),o=V(i),r=e.left+(i.clientLeft+parseFloat(o.paddingLeft))*t.x,a=e.top+(i.clientTop+parseFloat(o.paddingTop))*t.y;l*=t.x,c*=t.y,f*=t.x,u*=t.y,l+=r,c+=a,n=k(i),i=n.frameElement}}return S({width:f,height:u,x:l,y:c})}const Z=[":popover-open",":modal"];function tt(t){return Z.some((e=>{try{return t.matches(e)}catch{return!1}}))}function et(t){return U(C(t)).left+q(t).scrollLeft}function nt(t,e,n){let o;if("viewport"===e)o=function(t,e){const n=k(t),o=C(t),i=n.visualViewport;let r=o.clientWidth,a=o.clientHeight,s=0,l=0;if(i){r=i.width,a=i.height;const t=M();(!t||t&&"fixed"===e)&&(s=i.offsetLeft,l=i.offsetTop)}return{width:r,height:a,x:s,y:l}}(t,n);else if("document"===e)o=function(t){const e=C(t),n=q(t),o=t.ownerDocument.body,i=c(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=c(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let a=-n.scrollLeft+et(t);const s=-n.scrollTop;return"rtl"===V(o).direction&&(a+=c(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:a,y:s}}(C(t));else if(F(e))o=function(t,e){const n=U(t,!0,"fixed"===e),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=B(t)?J(t):h(1);return{width:t.clientWidth*r.x,height:t.clientHeight*r.y,x:i*r.x,y:o*r.y}}(e,n);else{const n=Q(t);o={...e,x:e.x-n.x,y:e.y-n.y}}return S(o)}function ot(t,e){const n=I(t);return!(n===e||!F(n)||W(n))&&("fixed"===V(n).position||ot(n,e))}function it(t,e){const n=e.get(t);if(n)return n;let o=Y(t,[],!1).filter((t=>F(t)&&"body"!==A(t))),i=null;const r="fixed"===V(t).position;let a=r?I(t):t;for(;F(a)&&!W(a);){const e=V(a),n=j(a);!n&&"fixed"===e.position&&(i=null),(r?!n&&!i:!n&&"static"===e.position&&i&&["absolute","fixed"].includes(i.position)||H(a)&&!n&&ot(t,a))?o=o.filter((t=>t!==a)):i=e,a=I(a)}return e.set(t,o),o}function rt(t,e,n){const o=B(e),i=C(e),r="fixed"===n,a=U(t,!0,r,e);let s={scrollLeft:0,scrollTop:0};const l=h(0);if(o||!o&&!r)if(("body"!==A(e)||H(i))&&(s=q(e)),o){const t=U(e,!0,r,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else i&&(l.x=et(i));return{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function at(t,e){return B(t)&&"fixed"!==V(t).position?e?e(t):t.offsetParent:null}function st(t,e){const n=k(t);if(!B(t)||tt(t))return n;let o=at(t,e);for(;o&&N(o)&&"static"===V(o).position;)o=at(o,e);return o&&("html"===A(o)||"body"===A(o)&&"static"===V(o).position&&!j(o))?n:o||function(t){let e=I(t);for(;B(e)&&!W(e);){if(j(e))return e;e=I(e)}return null}(t)||n}const lt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r="fixed"===i,a=C(o),s=!!e&&tt(e.floating);if(o===a||s&&r)return n;let l={scrollLeft:0,scrollTop:0},c=h(1);const f=h(0),u=B(o);if((u||!u&&!r)&&(("body"!==A(o)||H(a))&&(l=q(o)),B(o))){const t=U(o);c=J(o),f.x=t.x+o.clientLeft,f.y=t.y+o.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+f.x,y:n.y*c.y-l.scrollTop*c.y+f.y}},getDocumentElement:C,getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const r=[..."clippingAncestors"===n?it(e,this._c):[].concat(n),o],a=r[0],s=r.reduce(((t,n)=>{const o=nt(e,n,i);return t.top=c(o.top,t.top),t.right=l(o.right,t.right),t.bottom=l(o.bottom,t.bottom),t.left=c(o.left,t.left),t}),nt(e,a,i));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:st,getElementRects:async function(t){const e=this.getOffsetParent||st,n=this.getDimensions;return{reference:rt(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,...await n(t.floating)}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:n}=_(t);return{width:e,height:n}},getScale:J,isElement:F,isRTL:function(t){return"rtl"===V(t).direction}};const ct=function(t){return void 0===t&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:o,platform:i,elements:r}=e,{apply:a=(()=>{}),...s}=y(t,e),f=await T(e,s),u=g(n),h=w(n),p="y"===x(n),{width:d,height:m}=o.floating;let b,v;"top"===u||"bottom"===u?(b=u,v=h===(await(null==i.isRTL?void 0:i.isRTL(r.floating))?"start":"end")?"left":"right"):(v=u,b="end"===h?"top":"bottom");const P=m-f[b],E=d-f[v],z=!e.middlewareData.shift;let R=P,S=E;if(p){const t=d-f.left-f.right;S=h||z?l(E,t):t}else{const t=m-f.top-f.bottom;R=h||z?l(P,t):t}if(z&&!h){const t=c(f.left,0),e=c(f.right,0),n=c(f.top,0),o=c(f.bottom,0);p?S=d-2*(0!==t||0!==e?t+e:c(f.left,f.right)):R=m-2*(0!==n||0!==o?n+o:c(f.top,f.bottom))}await a({...e,availableWidth:S,availableHeight:R});const O=await i.getDimensions(r.floating);return d!==O.width||m!==O.height?{reset:{rects:!0}}:{}}}};var ft=Object.defineProperty,ut=Object.getOwnPropertyDescriptor,ht=(t,e,n,o)=>{for(var i,r=o>1?void 0:o?ut(e,n):e,a=t.length-1;a>=0;a--)(i=t[a])&&(r=(o?i(e,n,r):i(r))||r);return o&&r&&ft(e,n,r),r};let pt=class extends t{constructor(){super(...arguments),this.active=!1,this.placement="top",this.strategy="absolute",this.distance=0,this.skidding=0,this.arrow=!1,this.arrowPlacement="anchor",this.arrowPadding=10,this.flip=!1,this.flipFallbackPlacements="",this.flipFallbackStrategy="best-fit",this.flipPadding=0,this.shift=!1,this.shiftPadding=0,this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(t){super.updated(t),t.has("active")&&(this.active?this.start():this.stop()),t.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver((t=>this.handleCurrentPlacementChange(t))),this.mutationObserver.observe(this,{attributes:!0})}handleCurrentPlacementChange(t){return t.forEach((t=>{if("data-current-placement"===t.attributeName){const t=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:t})}}))}async handleAnchorChange(){if(await this.stop(),this.anchor&&"string"==typeof this.anchor){const t=this.getRootNode();this.anchorEl=t.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=function(t,e,n,o){void 0===o&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:f=!1}=o,h=G(t),p=i||r?[...h?Y(h):[],...Y(e)]:[];p.forEach((t=>{i&&t.addEventListener("scroll",n,{passive:!0}),r&&t.addEventListener("resize",n)}));const d=h&&s?function(t,e){let n,o=null;const i=C(t);function r(){var t;clearTimeout(n),null==(t=o)||t.disconnect(),o=null}return function a(s,f){void 0===s&&(s=!1),void 0===f&&(f=1),r();const{left:h,top:p,width:d,height:m}=t.getBoundingClientRect();if(s||e(),!d||!m)return;const y={rootMargin:-u(p)+"px "+-u(i.clientWidth-(h+d))+"px "+-u(i.clientHeight-(p+m))+"px "+-u(h)+"px",threshold:c(0,l(1,f))||1};let g=!0;function w(t){const e=t[0].intersectionRatio;if(e!==f){if(!g)return a();e?a(!1,e):n=setTimeout((()=>{a(!1,1e-7)}),100)}g=!1}try{o=new IntersectionObserver(w,{...y,root:i.ownerDocument})}catch{o=new IntersectionObserver(w,y)}o.observe(t)}(!0),r}(h,n):null;let m=-1,y=null;a&&(y=new ResizeObserver((t=>{let[o]=t;o&&o.target===h&&y&&(y.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame((()=>{var t;null==(t=y)||t.observe(e)}))),n()})),h&&!f&&y.observe(h),y.observe(e));let g,w=f?U(t):null;return f&&function e(){const o=U(t);w&&(o.x!==w.x||o.y!==w.y||o.width!==w.width||o.height!==w.height)&&n(),w=o,g=requestAnimationFrame(e)}(),n(),()=>{var t;p.forEach((t=>{i&&t.removeEventListener("scroll",n),r&&t.removeEventListener("resize",n)})),null==d||d(),null==(t=y)||t.disconnect(),y=null,f&&cancelAnimationFrame(g)}}(this.anchorEl,this.popup,(()=>{this.reposition()})))}async stop(){return new Promise((t=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame((()=>t()))):t()}))}reposition(){if(!this.active||!this.anchorEl)return;const t=[L({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?t.push(ct({apply:({rects:t})=>{const e="width"===this.sync||"both"===this.sync,n="height"===this.sync||"both"===this.sync;this.popup.style.width=e?`${t.reference.width}px`:"",this.popup.style.height=n?`${t.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&t.push(function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:a,initialPlacement:s,platform:l,elements:c}=e,{mainAxis:f=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:m=!0,...b}=y(t,e);if(null!=(n=r.arrow)&&n.alignmentOffset)return{};const x=g(i),R=g(s)===s,S=await(null==l.isRTL?void 0:l.isRTL(c.floating)),O=h||(R||!m?[z(s)]:function(t){const e=z(t);return[E(t),e,E(e)]}(s));!h&&"none"!==d&&O.push(...function(t,e,n,o){const i=w(t);let r=function(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],a=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:a;default:return[]}}(g(t),"start"===n,o);return i&&(r=r.map((t=>t+"-"+i)),e&&(r=r.concat(r.map(E)))),r}(s,m,d,S));const L=[s,...O],A=await T(e,b),k=[];let C=(null==(o=r.flip)?void 0:o.overflows)||[];if(f&&k.push(A[x]),u){const t=function(t,e,n){void 0===n&&(n=!1);const o=w(t),i=P(t),r=v(i);let a="x"===i?o===(n?"end":"start")?"right":"left":"start"===o?"bottom":"top";return e.reference[r]>e.floating[r]&&(a=z(a)),[a,z(a)]}(i,a,S);k.push(A[t[0]],A[t[1]])}if(C=[...C,{placement:i,overflows:k}],!k.every((t=>t<=0))){var D,F;const t=((null==(D=r.flip)?void 0:D.index)||0)+1,e=L[t];if(e)return{data:{index:t,overflows:C},reset:{placement:e}};let n=null==(F=C.filter((t=>t.overflows[0]<=0)).sort(((t,e)=>t.overflows[1]-e.overflows[1]))[0])?void 0:F.placement;if(!n)switch(p){case"bestFit":{var B;const t=null==(B=C.map((t=>[t.placement,t.overflows.filter((t=>t>0)).reduce(((t,e)=>t+e),0)])).sort(((t,e)=>t[1]-e[1]))[0])?void 0:B[0];t&&(n=t);break}case"initialPlacement":n=s}if(i!==n)return{reset:{placement:n}}}return{}}}}({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:"best-fit"===this.flipFallbackStrategy?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&t.push(function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:a=!1,limiter:s={fn:t=>{let{x:e,y:n}=t;return{x:e,y:n}}},...l}=y(t,e),c={x:n,y:o},f=await T(e,l),u=x(g(i)),h=b(u);let p=c[h],d=c[u];if(r){const t="y"===h?"bottom":"right";p=m(p+f["y"===h?"top":"left"],p,p-f[t])}if(a){const t="y"===u?"bottom":"right";d=m(d+f["y"===u?"top":"left"],d,d-f[t])}const w=s.fn({...e,[h]:p,[u]:d});return{...w,data:{x:w.x-n,y:w.y-o}}}}}({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?t.push(ct({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:t,availableHeight:e})=>{"vertical"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-height",`${e}px`):this.style.removeProperty("--auto-size-available-height"),"horizontal"===this.autoSize||"both"===this.autoSize?this.style.setProperty("--auto-size-available-width",`${t}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&t.push((t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:i,rects:r,platform:a,elements:s,middlewareData:c}=e,{element:f,padding:u=0}=y(t,e)||{};if(null==f)return{};const h=R(u),p={x:n,y:o},d=P(i),g=v(d),b=await a.getDimensions(f),x="y"===d,E=x?"top":"left",z=x?"bottom":"right",S=x?"clientHeight":"clientWidth",O=r.reference[g]+r.reference[d]-p[d]-r.floating[g],T=p[d]-r.reference[d],L=await(null==a.getOffsetParent?void 0:a.getOffsetParent(f));let A=L?L[S]:0;(!A||!await(null==a.isElement?void 0:a.isElement(L)))&&(A=s.floating[S]||r.floating[g]);const k=O/2-T/2,C=A/2-b[g]/2-1,D=l(h[E],C),F=l(h[z],C),B=D,$=A-b[g]-F,H=A/2-b[g]/2+k,N=m(B,H,$),j=!c.arrow&&null!=w(i)&&H!==N&&r.reference[g]/2-(H<B?D:F)-b[g]/2<0,M=j?H<B?H-B:H-$:0;return{[d]:p[d]+M,data:{[d]:N,centerOffset:H-N-M,...j&&{alignmentOffset:M}},reset:j}}}))({element:this.arrowEl,padding:this.arrowPadding})),((t,e,n)=>{const o=new Map,i={platform:lt,...n},r={...i.platform,_c:o};return(async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:a}=n,s=r.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(e));let c=await a.getElementRects({reference:t,floating:e,strategy:i}),{x:f,y:u}=O(c,o,l),h=o,p={},d=0;for(let n=0;n<s.length;n++){const{name:r,fn:m}=s[n],{x:y,y:g,data:w,reset:b}=await m({x:f,y:u,initialPlacement:o,placement:h,strategy:i,middlewareData:p,rects:c,platform:a,elements:{reference:t,floating:e}});f=y??f,u=g??u,p={...p,[r]:{...p[r],...w}},b&&d<=50&&(d++,"object"==typeof b&&(b.placement&&(h=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:t,floating:e,strategy:i}):b.rects),({x:f,y:u}=O(c,h,l))),n=-1)}return{x:f,y:u,placement:h,strategy:i,middlewareData:p}})(t,e,{...i,platform:r})})(this.anchorEl,this.popup,{placement:this.placement,middleware:t,strategy:this.strategy}).then((({x:t,y:e,middlewareData:n,placement:o})=>{const i="rtl"===getComputedStyle(this).direction,r={top:"bottom",right:"left",bottom:"top",left:"right"}[o.split("-")[0]];if(this.setAttribute("data-current-placement",o),Object.assign(this.popup.style,{left:`${t}px`,top:`${e}px`}),this.arrow){const t=n.arrow.x,e=n.arrow.y;let o="",a="",s="",l="";if("start"===this.arrowPlacement){const n="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";o="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",a=i?n:"",l=i?"":n}else if("end"===this.arrowPlacement){const n="number"==typeof t?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";a=i?"":n,l=i?n:"",s="number"==typeof e?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else"center"===this.arrowPlacement?(l="number"==typeof t?"calc(50% - var(--arrow-size-diagonal))":"",o="number"==typeof e?"calc(50% - var(--arrow-size-diagonal))":""):(l="number"==typeof t?`${t}px`:"",o="number"==typeof e?`${e}px`:"");Object.assign(this.arrowEl.style,{top:o,right:a,bottom:s,left:l,[r]:"calc(var(--arrow-size-diagonal) * -1)"})}})),this.emit("sd-reposition")}render(){return e`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${s("isolate","fixed"!==this.strategy?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?e`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};pt.styles=[t.styles,a,n`:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],ht([r('[part="popup"]')],pt.prototype,"popup",2),ht([r('[part="arrow"]')],pt.prototype,"arrowEl",2),ht([o()],pt.prototype,"anchor",2),ht([o({type:Boolean,reflect:!0})],pt.prototype,"active",2),ht([o({reflect:!0})],pt.prototype,"placement",2),ht([o({reflect:!0})],pt.prototype,"strategy",2),ht([o({type:Number})],pt.prototype,"distance",2),ht([o({type:Number})],pt.prototype,"skidding",2),ht([o({type:Boolean})],pt.prototype,"arrow",2),ht([o({attribute:"arrow-placement"})],pt.prototype,"arrowPlacement",2),ht([o({attribute:"arrow-padding",type:Number})],pt.prototype,"arrowPadding",2),ht([o({type:Boolean})],pt.prototype,"flip",2),ht([o({attribute:"flip-fallback-placements",converter:{fromAttribute:t=>t.split(" ").map((t=>t.trim())).filter((t=>""!==t)),toAttribute:t=>t.join(" ")}})],pt.prototype,"flipFallbackPlacements",2),ht([o({attribute:"flip-fallback-strategy"})],pt.prototype,"flipFallbackStrategy",2),ht([o({type:Object})],pt.prototype,"flipBoundary",2),ht([o({attribute:"flip-padding",type:Number})],pt.prototype,"flipPadding",2),ht([o({type:Boolean})],pt.prototype,"shift",2),ht([o({type:Object})],pt.prototype,"shiftBoundary",2),ht([o({attribute:"shift-padding",type:Number})],pt.prototype,"shiftPadding",2),ht([o({attribute:"auto-size"})],pt.prototype,"autoSize",2),ht([o()],pt.prototype,"sync",2),ht([o({type:Object})],pt.prototype,"autoSizeBoundary",2),ht([o({attribute:"auto-size-padding",type:Number})],pt.prototype,"autoSizePadding",2),pt=ht([i("sd-popup")],pt);export{pt as default};
@@ -1,11 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const e=(e,t,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,r),r)
7
- /**
8
- * @license
9
- * Copyright 2017 Google LLC
10
- * SPDX-License-Identifier: BSD-3-Clause
11
- */;function t(t,r){return(n,o,l)=>{const s=e=>{var r;return(null==(r=e.renderRoot)?void 0:r.querySelector(t))??null};if(r){const{get:t,set:r}="object"==typeof o?n:l??(()=>{const e=Symbol();return{get(){return this[e]},set(t){this[e]=t}}})();return e(n,o,{get(){let e=t.call(this);return void 0===e&&(e=s(this),(null!==e||this.hasUpdated)&&r.call(this,e)),e}})}return e(n,o,{get(){return s(this)}})}}export{e as a,t as e};