@ebrains/components 0.9.3-beta → 1.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 (535) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/{analytics-d8fb3fdd.js → analytics-28713bf7.js} +2 -2
  3. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  4. package/dist/cjs/components-section.cjs.entry.js +23 -17
  5. package/dist/cjs/components.cjs.js +2 -2
  6. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  7. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  8. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  9. package/dist/cjs/eds-accordion.cjs.entry.js +3 -3
  10. package/dist/cjs/eds-alert.cjs.entry.js +2 -2
  11. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  12. package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
  13. package/dist/cjs/eds-card-project.cjs.entry.js +136 -8
  14. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-card-tool.cjs.entry.js +3 -3
  17. package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-feedback.cjs.entry.js +7 -2
  20. package/dist/cjs/eds-frame.cjs.entry.js +3 -3
  21. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
  23. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  24. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
  27. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
  28. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
  29. package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
  30. package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
  31. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  32. package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
  33. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  34. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  35. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  36. package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
  37. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  38. package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
  39. package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
  40. package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
  41. package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
  42. package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
  43. package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
  44. package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
  45. package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
  46. package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
  47. package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
  48. package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
  49. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
  50. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
  51. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
  52. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  53. package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
  54. package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
  55. package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
  56. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  57. package/dist/cjs/eds-matomo-notice.cjs.entry.js +10 -8
  58. package/dist/cjs/eds-pagination_2.cjs.entry.js +6 -6
  59. package/dist/cjs/eds-progress-bar.cjs.entry.js +32 -5
  60. package/dist/cjs/eds-rating.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  62. package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
  64. package/dist/cjs/eds-switch.cjs.entry.js +14 -6
  65. package/dist/cjs/eds-timeline.cjs.entry.js +3 -3
  66. package/dist/cjs/eds-toast-manager.cjs.entry.js +33 -4
  67. package/dist/cjs/eds-toast.cjs.entry.js +5 -4
  68. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  69. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  70. package/dist/cjs/{index-2f63169d.js → index-88c8039f.js} +37 -319
  71. package/dist/cjs/loader.cjs.js +2 -2
  72. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  73. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  74. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  75. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  76. package/dist/cjs/svg-repository.cjs.entry.js +2 -2
  77. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  78. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  79. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  80. package/dist/collection/collection-manifest.json +3 -3
  81. package/dist/collection/components/eds-accordion/eds-accordion.css +0 -8
  82. package/dist/collection/components/eds-alert/eds-alert.css +1 -575
  83. package/dist/collection/components/eds-alert/eds-alert.stories.js +3 -1
  84. package/dist/collection/components/eds-avatar/eds-avatar.css +40 -25
  85. package/dist/collection/components/eds-avatar/eds-avatar.js +11 -21
  86. package/dist/collection/components/eds-avatar/eds-avatar.stories.js +5 -2
  87. package/dist/collection/components/eds-block-break/eds-block-break.css +2 -27
  88. package/dist/collection/components/eds-block-break/eds-block-break.js +9 -14
  89. package/dist/collection/components/eds-button/eds-button.css +318 -8312
  90. package/dist/collection/components/eds-button/eds-button.js +5 -59
  91. package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
  92. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +5 -7
  93. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -20
  94. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +10 -1
  95. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
  96. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  97. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  98. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
  99. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
  100. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
  101. package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
  102. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
  103. package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
  104. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +33 -156
  105. package/dist/collection/components/eds-input-field/eds-input-field.js +42 -15
  106. package/dist/collection/components/eds-link/eds-link.css +384 -6247
  107. package/dist/collection/components/eds-link/eds-link.js +2 -1
  108. package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +96 -61
  109. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +48 -3
  110. package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +3 -4
  111. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  112. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +5 -1
  113. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  114. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  115. package/dist/collection/components/eds-switch/eds-switch.css +13 -2
  116. package/dist/collection/components/eds-switch/eds-switch.js +13 -5
  117. package/dist/collection/components/eds-table/eds-table.js +4 -4
  118. package/dist/collection/components/eds-table/eds-table.stories.js +1 -11
  119. package/dist/collection/components/eds-tag/eds-tag.css +22 -12
  120. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  121. package/dist/collection/components/eds-timeline/eds-timeline.css +46 -7755
  122. package/dist/collection/components/eds-timeline/eds-timeline.js +4 -1
  123. package/dist/collection/components/eds-toast/eds-toast.js +7 -7
  124. package/dist/collection/components/eds-tooltip/eds-tooltip.css +89 -93
  125. package/dist/collection/components/eds-tooltip/eds-tooltip.js +6 -120
  126. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +5 -3
  127. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  128. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  129. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  130. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  131. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  132. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  133. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  134. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  135. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  136. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  137. package/dist/collection/eds-docs-ui/components-section/functional/angular.js +1 -1
  138. package/dist/collection/eds-docs-ui/components-section/functional/installation.js +1 -1
  139. package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
  140. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  141. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  142. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  143. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  144. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  145. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  146. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  147. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  148. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  149. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  150. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  151. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  152. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  153. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  154. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  155. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +24 -1
  156. package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +9 -1
  157. package/dist/collection/shared-ui/eds-footer/eds-footer.css +4 -0
  158. package/dist/collection/shared-ui/eds-footer/eds-footer.js +46 -2
  159. package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -3
  160. package/dist/collection/shared-ui/eds-form/eds-form.js +42 -10
  161. package/dist/collection/shared-ui/eds-frame/eds-frame.css +147 -115
  162. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  163. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +149 -117
  164. package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
  165. package/dist/collection/shared-ui/eds-header/eds-header.css +178 -132
  166. package/dist/collection/shared-ui/eds-header/eds-header.js +21 -40
  167. package/dist/collection/shared-ui/eds-header/eds-header.stories.js +6 -5
  168. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +8 -6
  169. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -0
  170. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  171. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.css +2 -35
  172. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.js +2 -2
  173. package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.stories.js +1 -1
  174. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +4 -128
  175. package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +1 -1
  176. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +268 -7686
  177. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +10 -10
  178. package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +20 -10
  179. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  180. package/dist/collection/shared-ui/eds-user/eds-user.css +36 -7758
  181. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  182. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  183. package/dist/collection/utils/analytics.js +2 -2
  184. package/dist/collection/utils/color.js +8 -8
  185. package/dist/components/analytics.js +2 -2
  186. package/dist/components/components-section.js +22 -16
  187. package/dist/components/components.css +34 -516
  188. package/dist/components/components.esm.js +1 -1
  189. package/dist/components/correct-use-of-colors.js +1 -1
  190. package/dist/components/docs-palettes.js +1 -1
  191. package/dist/components/docs-tokens.js +1 -1
  192. package/dist/components/eds-accordion2.js +1 -1
  193. package/dist/components/eds-alert2.js +1 -1
  194. package/dist/components/eds-app-root.js +2 -20
  195. package/dist/components/eds-avatar2.js +4 -15
  196. package/dist/components/eds-block-break2.js +4 -4
  197. package/dist/components/eds-button2.js +6 -60
  198. package/dist/components/eds-card-desc2.js +2 -4
  199. package/dist/components/eds-card-generic2.js +2 -2
  200. package/dist/components/eds-card-project.js +131 -2
  201. package/dist/components/eds-card-tool.js +1 -1
  202. package/dist/components/eds-cookies-preference.js +1 -1
  203. package/dist/components/eds-feedback.js +7 -1
  204. package/dist/components/eds-footer2.js +7 -3
  205. package/dist/components/eds-form.js +17 -9
  206. package/dist/components/eds-frame.js +2 -2
  207. package/dist/components/eds-fullscreen-menu.js +1 -1
  208. package/dist/components/{eds-login.d.ts → eds-gauge.d.ts} +4 -4
  209. package/dist/components/eds-gauge.js +81 -0
  210. package/dist/components/eds-header.js +15 -34
  211. package/dist/components/eds-input-field2.js +26 -16
  212. package/dist/components/eds-input-select2.js +12 -84
  213. package/dist/components/eds-link2.js +3 -2
  214. package/dist/components/eds-matomo-notice2.js +8 -6
  215. package/dist/components/{eds-card-wrapper.d.ts → eds-pie.d.ts} +4 -4
  216. package/dist/components/eds-pie.js +127 -0
  217. package/dist/components/eds-progress-bar2.js +32 -4
  218. package/dist/components/eds-rating2.js +1 -1
  219. package/dist/components/eds-section-core2.js +3 -2
  220. package/dist/components/eds-section-heading2.js +2 -2
  221. package/dist/components/eds-social-networks2.js +1 -1
  222. package/dist/components/eds-spinner2.js +1 -1
  223. package/dist/components/eds-steps-v2.js +1 -1
  224. package/dist/components/eds-steps2.js +1 -1
  225. package/dist/components/eds-switch.js +13 -5
  226. package/dist/components/eds-table2.js +4 -4
  227. package/dist/components/eds-tabs.js +11 -11
  228. package/dist/components/eds-tag2.js +2 -2
  229. package/dist/components/eds-timeline.js +2 -2
  230. package/dist/components/eds-toast-manager.js +31 -2
  231. package/dist/components/eds-toast2.js +4 -3
  232. package/dist/components/eds-tooltip.js +7 -88
  233. package/dist/components/eds-trl.js +1 -1
  234. package/dist/components/eds-user.js +10 -4
  235. package/dist/components/incorrect-use-of-colors.js +1 -1
  236. package/dist/components/logo-space.js +1 -1
  237. package/dist/components/logo-variations-horizontal2.js +1 -1
  238. package/dist/components/logo-variations-tabs.js +1 -1
  239. package/dist/components/logo-variations-vertical2.js +1 -1
  240. package/dist/components/logo-wrong-usage.js +1 -1
  241. package/dist/components/p-019555e2.entry.js +1 -0
  242. package/dist/components/p-04b4e9d0.entry.js +1 -0
  243. package/dist/components/p-0863352c.entry.js +1 -0
  244. package/dist/components/p-0d6434e1.entry.js +1 -0
  245. package/dist/components/p-0e94a89f.entry.js +1 -0
  246. package/dist/components/p-0ed92872.entry.js +1 -0
  247. package/dist/components/{p-c4db0829.entry.js → p-0eeddc13.entry.js} +1 -1
  248. package/dist/components/p-100909ce.entry.js +1 -0
  249. package/dist/components/{p-892362e0.entry.js → p-10db551c.entry.js} +1 -1
  250. package/dist/components/{p-aa2e6fec.entry.js → p-124b8747.entry.js} +1 -1
  251. package/dist/components/p-14a223fe.entry.js +1 -0
  252. package/dist/components/{p-e089797c.entry.js → p-1661f33c.entry.js} +1 -1
  253. package/dist/components/{p-05b272e5.entry.js → p-18ceadd2.entry.js} +1 -1
  254. package/dist/components/p-223ba66e.entry.js +1 -0
  255. package/dist/components/{p-751497f4.entry.js → p-24dab785.entry.js} +1 -1
  256. package/dist/components/p-26d6679b.entry.js +1 -0
  257. package/dist/components/p-2810d568.entry.js +1 -0
  258. package/dist/components/p-28ae3f3a.js +2 -0
  259. package/dist/components/p-2b1b2026.entry.js +1 -0
  260. package/dist/components/p-2c571550.entry.js +1 -0
  261. package/dist/components/p-326d9e55.entry.js +1 -0
  262. package/dist/components/p-36d6134f.entry.js +1 -0
  263. package/dist/components/p-3c642a30.entry.js +1 -0
  264. package/dist/components/p-46619042.entry.js +1 -0
  265. package/dist/components/{p-75d37c48.entry.js → p-46a6ab04.entry.js} +1 -1
  266. package/dist/components/{p-d83d2815.entry.js → p-50ea5b07.entry.js} +1 -1
  267. package/dist/components/p-511b23ec.entry.js +1 -0
  268. package/dist/components/p-5462923d.entry.js +1 -0
  269. package/dist/components/p-6199b8c0.entry.js +1 -0
  270. package/dist/components/{p-888c3471.entry.js → p-624e653e.entry.js} +1 -1
  271. package/dist/components/{p-0b99fd3c.entry.js → p-682f7376.entry.js} +1 -1
  272. package/dist/components/p-6907a47c.entry.js +1 -0
  273. package/dist/components/p-6ba42d02.entry.js +1 -0
  274. package/dist/components/p-6e929acb.entry.js +1 -0
  275. package/dist/components/p-6ede7101.entry.js +1 -0
  276. package/dist/components/p-70bac015.entry.js +1 -0
  277. package/dist/components/p-7af6b832.entry.js +1 -0
  278. package/dist/components/p-7f31622d.entry.js +1 -0
  279. package/dist/components/p-822ac246.entry.js +1 -0
  280. package/dist/components/p-848506b8.entry.js +1 -0
  281. package/dist/components/p-84fd3e40.entry.js +1 -0
  282. package/dist/components/p-85634ad2.entry.js +1 -0
  283. package/dist/components/{p-7a550385.entry.js → p-8ad05566.entry.js} +1 -1
  284. package/dist/components/{p-037975af.entry.js → p-8b016d76.entry.js} +1 -1
  285. package/dist/components/p-8bdf5841.entry.js +1 -0
  286. package/dist/components/p-8ff39cef.entry.js +1 -0
  287. package/dist/components/{p-29ad9c73.entry.js → p-a4f552b2.entry.js} +1 -1
  288. package/dist/components/p-a81cba86.entry.js +1 -0
  289. package/dist/components/p-abb2ad00.entry.js +1 -0
  290. package/dist/components/{p-b8ba7e5c.entry.js → p-adbd0d7b.entry.js} +1 -1
  291. package/dist/components/p-affe2b55.entry.js +1 -0
  292. package/dist/components/p-b31591db.entry.js +1 -0
  293. package/dist/components/{p-7db75d62.entry.js → p-b4abff90.entry.js} +1 -1
  294. package/dist/components/{p-67c72c20.entry.js → p-b50fc0d7.entry.js} +1 -1
  295. package/dist/components/p-b7efd666.entry.js +1 -0
  296. package/dist/components/p-ba784274.entry.js +1 -0
  297. package/dist/components/p-bb9af709.entry.js +1 -0
  298. package/dist/components/p-bfc62d3e.entry.js +1 -0
  299. package/dist/components/p-c0b22803.entry.js +1 -0
  300. package/dist/components/p-cdd491f5.entry.js +1 -0
  301. package/dist/components/{p-688e07d6.entry.js → p-cde3d7a4.entry.js} +1 -1
  302. package/dist/components/p-cfccddc3.entry.js +1 -0
  303. package/dist/components/p-d15065c3.js +1 -0
  304. package/dist/components/p-d268c96b.entry.js +1 -0
  305. package/dist/components/p-d437bae2.entry.js +1 -0
  306. package/dist/components/p-d456e649.entry.js +1 -0
  307. package/dist/components/p-dae8f66a.entry.js +1 -0
  308. package/dist/components/p-e1791844.entry.js +1 -0
  309. package/dist/components/p-e82edd4a.entry.js +1 -0
  310. package/dist/components/p-e9f608a8.entry.js +1 -0
  311. package/dist/components/{p-55e3683c.entry.js → p-ea97a94e.entry.js} +1 -1
  312. package/dist/components/{p-e2b00067.entry.js → p-eac593ee.entry.js} +1 -1
  313. package/dist/components/p-f26fd186.entry.js +1 -0
  314. package/dist/components/{p-7ac9881e.entry.js → p-f2c23162.entry.js} +1 -1
  315. package/dist/components/p-fc4edb18.entry.js +1 -0
  316. package/dist/components/p-fe1cba17.entry.js +1 -0
  317. package/dist/components/primary.js +1 -1
  318. package/dist/components/primary2.js +1 -1
  319. package/dist/components/secondary.js +1 -1
  320. package/dist/components/secondary2.js +7 -7
  321. package/dist/components/support.js +1 -1
  322. package/dist/components/support2.js +3 -3
  323. package/dist/components/svg-repository.js +1 -1
  324. package/dist/components/token-list2.js +1 -1
  325. package/dist/components/token-radii2.js +1 -1
  326. package/dist/components/token-ratios.js +1 -1
  327. package/dist/components/token-shadows2.js +1 -1
  328. package/dist/components/token-spacing.js +1 -1
  329. package/dist/components/token-typography.js +1 -1
  330. package/dist/esm/{analytics-44b1416b.js → analytics-d99780e3.js} +2 -2
  331. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  332. package/dist/esm/components-section.entry.js +23 -17
  333. package/dist/esm/components.js +3 -3
  334. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  335. package/dist/esm/docs-palettes.entry.js +2 -2
  336. package/dist/esm/docs-tokens.entry.js +2 -2
  337. package/dist/esm/eds-accordion.entry.js +3 -3
  338. package/dist/esm/eds-alert.entry.js +2 -2
  339. package/dist/esm/eds-app-root.entry.js +2 -2
  340. package/dist/esm/eds-avatar_34.entry.js +2694 -0
  341. package/dist/esm/eds-card-project.entry.js +133 -5
  342. package/dist/esm/eds-card-section.entry.js +1 -1
  343. package/dist/esm/eds-card-tags.entry.js +1 -1
  344. package/dist/esm/eds-card-tool.entry.js +3 -3
  345. package/dist/esm/eds-code-block.entry.js +1 -1
  346. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  347. package/dist/esm/eds-feedback.entry.js +7 -2
  348. package/dist/esm/eds-frame.entry.js +3 -3
  349. package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
  350. package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
  351. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  352. package/dist/esm/eds-icon-bookmark.entry.js +1 -1
  353. package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
  354. package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
  355. package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
  356. package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
  357. package/dist/esm/eds-icon-close.entry.js +1 -1
  358. package/dist/esm/eds-icon-copy.entry.js +1 -1
  359. package/dist/esm/eds-icon-eu.entry.js +1 -1
  360. package/dist/esm/eds-icon-external.entry.js +1 -1
  361. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  362. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  363. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  364. package/dist/esm/eds-icon-loader.entry.js +1 -1
  365. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  366. package/dist/esm/eds-icon-menu.entry.js +1 -1
  367. package/dist/esm/eds-icon-minus.entry.js +1 -1
  368. package/dist/esm/eds-icon-more.entry.js +1 -1
  369. package/dist/esm/eds-icon-paper.entry.js +1 -1
  370. package/dist/esm/eds-icon-plus.entry.js +1 -1
  371. package/dist/esm/eds-icon-portal.entry.js +1 -1
  372. package/dist/esm/eds-icon-private.entry.js +1 -1
  373. package/dist/esm/eds-icon-public.entry.js +1 -1
  374. package/dist/esm/eds-icon-search.entry.js +1 -1
  375. package/dist/esm/eds-icon-star.entry.js +1 -1
  376. package/dist/esm/eds-icon-success.entry.js +1 -1
  377. package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
  378. package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
  379. package/dist/esm/eds-icon-tutorial.entry.js +1 -1
  380. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  381. package/dist/esm/eds-icon-unknown.entry.js +1 -1
  382. package/dist/esm/eds-icon-updown.entry.js +1 -1
  383. package/dist/esm/eds-icon-user.entry.js +1 -1
  384. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  385. package/dist/esm/eds-matomo-notice.entry.js +10 -8
  386. package/dist/esm/eds-pagination_2.entry.js +6 -6
  387. package/dist/esm/eds-progress-bar.entry.js +32 -5
  388. package/dist/esm/eds-rating.entry.js +2 -2
  389. package/dist/esm/eds-section-core_2.entry.js +4 -4
  390. package/dist/esm/eds-spinner.entry.js +2 -2
  391. package/dist/esm/eds-splash-screen.entry.js +56 -0
  392. package/dist/esm/eds-switch.entry.js +14 -6
  393. package/dist/esm/eds-timeline.entry.js +3 -3
  394. package/dist/esm/eds-toast-manager.entry.js +32 -3
  395. package/dist/esm/eds-toast.entry.js +5 -4
  396. package/dist/esm/eds-trl.entry.js +2 -2
  397. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  398. package/dist/esm/{index-8a71b9a7.js → index-fdb33359.js} +37 -319
  399. package/dist/esm/loader.js +3 -3
  400. package/dist/esm/logo-space.entry.js +2 -2
  401. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  402. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  403. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  404. package/dist/esm/svg-repository.entry.js +2 -2
  405. package/dist/esm/token-list_3.entry.js +4 -4
  406. package/dist/esm/token-ratios.entry.js +2 -2
  407. package/dist/esm/token-typography.entry.js +2 -2
  408. package/dist/hydrate/index.js +815 -2882
  409. package/dist/hydrate/index.mjs +815 -2882
  410. package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
  411. package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
  412. package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
  413. package/dist/types/components/eds-button/eds-button.d.ts +0 -1
  414. package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
  415. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
  416. package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
  417. package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
  418. package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
  419. package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
  420. package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
  421. package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
  422. package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
  423. package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
  424. package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
  425. package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
  426. package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
  427. package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
  428. package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
  429. package/dist/types/components.d.ts +211 -241
  430. package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
  431. package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
  432. package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
  433. package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
  434. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
  435. package/dist/types/shared-ui/eds-header/eds-header.d.ts +5 -24
  436. package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
  437. package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
  438. package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
  439. package/package.json +14 -4
  440. package/dist/cjs/color-c00146a8.js +0 -134
  441. package/dist/cjs/eds-avatar_27.cjs.entry.js +0 -2404
  442. package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -78
  443. package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
  444. package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
  445. package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
  446. package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
  447. package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
  448. package/dist/cjs/toastManager-4e9535f3.js +0 -33
  449. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
  450. package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
  451. package/dist/components/color.js +0 -132
  452. package/dist/components/eds-card-wrapper.js +0 -49
  453. package/dist/components/eds-login.js +0 -6
  454. package/dist/components/eds-login2.js +0 -2076
  455. package/dist/components/p-05549a74.entry.js +0 -1
  456. package/dist/components/p-0e378e0e.entry.js +0 -1
  457. package/dist/components/p-13efafb9.js +0 -1
  458. package/dist/components/p-1ec25dc2.entry.js +0 -1
  459. package/dist/components/p-202f78cc.entry.js +0 -1
  460. package/dist/components/p-22b76c3c.entry.js +0 -1
  461. package/dist/components/p-22f9e720.js +0 -1
  462. package/dist/components/p-24300934.entry.js +0 -1
  463. package/dist/components/p-25f1cc6c.entry.js +0 -1
  464. package/dist/components/p-31ca07fd.entry.js +0 -1
  465. package/dist/components/p-342bc3d8.entry.js +0 -1
  466. package/dist/components/p-35068b80.entry.js +0 -1
  467. package/dist/components/p-3950debe.entry.js +0 -1
  468. package/dist/components/p-3d74d4b1.entry.js +0 -1
  469. package/dist/components/p-42f19373.entry.js +0 -1
  470. package/dist/components/p-4ecaedbc.entry.js +0 -1
  471. package/dist/components/p-5055eb25.entry.js +0 -1
  472. package/dist/components/p-5646902d.entry.js +0 -1
  473. package/dist/components/p-5ff68e7d.entry.js +0 -1
  474. package/dist/components/p-63cc5d3d.entry.js +0 -1
  475. package/dist/components/p-6506cf52.entry.js +0 -1
  476. package/dist/components/p-6aa17003.entry.js +0 -1
  477. package/dist/components/p-6e273e0f.entry.js +0 -1
  478. package/dist/components/p-6fcb754e.entry.js +0 -1
  479. package/dist/components/p-70c9af1e.entry.js +0 -1
  480. package/dist/components/p-7180a36b.entry.js +0 -1
  481. package/dist/components/p-7351cad3.entry.js +0 -1
  482. package/dist/components/p-75cc9f9e.entry.js +0 -1
  483. package/dist/components/p-7a31c31f.entry.js +0 -1
  484. package/dist/components/p-7cb60f9c.entry.js +0 -1
  485. package/dist/components/p-8a4d9b9b.entry.js +0 -1
  486. package/dist/components/p-8b7f5204.entry.js +0 -1
  487. package/dist/components/p-8db820ef.entry.js +0 -1
  488. package/dist/components/p-ae4f5e3a.entry.js +0 -1
  489. package/dist/components/p-b024183c.entry.js +0 -1
  490. package/dist/components/p-b115c3f1.entry.js +0 -1
  491. package/dist/components/p-b3a3ae59.entry.js +0 -1
  492. package/dist/components/p-b4595a9e.entry.js +0 -1
  493. package/dist/components/p-b817dceb.entry.js +0 -1
  494. package/dist/components/p-b8ca2127.entry.js +0 -1
  495. package/dist/components/p-ba6cc102.entry.js +0 -1
  496. package/dist/components/p-c51b5f04.entry.js +0 -1
  497. package/dist/components/p-c5a7d2b1.entry.js +0 -1
  498. package/dist/components/p-c5c782e7.entry.js +0 -1
  499. package/dist/components/p-c5f98369.entry.js +0 -1
  500. package/dist/components/p-c604063d.entry.js +0 -1
  501. package/dist/components/p-c9a19e93.entry.js +0 -1
  502. package/dist/components/p-cccacbd3.js +0 -2
  503. package/dist/components/p-d164a75d.entry.js +0 -1
  504. package/dist/components/p-d4c920fa.entry.js +0 -1
  505. package/dist/components/p-d82cc261.entry.js +0 -1
  506. package/dist/components/p-da6e49a9.entry.js +0 -1
  507. package/dist/components/p-dcd4de1f.entry.js +0 -1
  508. package/dist/components/p-e8a2d709.entry.js +0 -1
  509. package/dist/components/p-ea942740.entry.js +0 -1
  510. package/dist/components/p-eb0b93d5.js +0 -1
  511. package/dist/components/p-ece20356.entry.js +0 -1
  512. package/dist/components/p-ed6fd4b8.entry.js +0 -1
  513. package/dist/components/p-f3822d6b.entry.js +0 -1
  514. package/dist/components/p-f539febe.entry.js +0 -1
  515. package/dist/components/p-f7f4b247.entry.js +0 -1
  516. package/dist/components/p-fdbfa776.entry.js +0 -1
  517. package/dist/components/p-fe27f4a9.entry.js +0 -1
  518. package/dist/components/toastManager.js +0 -31
  519. package/dist/esm/color-2554aad6.js +0 -132
  520. package/dist/esm/eds-avatar_27.entry.js +0 -2374
  521. package/dist/esm/eds-card-desc_2.entry.js +0 -73
  522. package/dist/esm/eds-card-generic.entry.js +0 -88
  523. package/dist/esm/eds-card-wrapper.entry.js +0 -28
  524. package/dist/esm/eds-login_2.entry.js +0 -2095
  525. package/dist/esm/eds-tabs.entry.js +0 -126
  526. package/dist/esm/eds-tooltip.entry.js +0 -105
  527. package/dist/esm/toastManager-d9eee791.js +0 -31
  528. package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
  529. package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
  530. /package/dist/collection/components/eds-section/eds-section-core/{eds-section-core.stories.js → eds-section-core.donotstories.js} +0 -0
  531. /package/dist/collection/components/eds-timeline/{eds-timeline.stories.js → eds-timeline.donot-stories.js} +0 -0
  532. /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
  533. /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
  534. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
  535. /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
@@ -97,14 +97,16 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
97
97
  this.consent.emit('out');
98
98
  }
99
99
  noThanks() {
100
+ matomoOptOut();
100
101
  localStorage.setItem(`${window.location.host}-matomo-consent-given`, 'out');
101
102
  this.hideNotice();
103
+ this.consent.emit('out');
102
104
  }
103
- deferDecision() {
104
- sessionStorage.setItem(this.getStorageKey(), 'true');
105
- this.hideNotice();
106
- this.consent.emit('defer');
107
- }
105
+ /*private deferDecision() {
106
+ sessionStorage.setItem(this.getStorageKey(), 'true');
107
+ this.hideNotice();
108
+ this.consent.emit('defer');
109
+ }*/
108
110
  keepMeIn() {
109
111
  this.hideNotice();
110
112
  }
@@ -115,7 +117,7 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
115
117
  if (!this.showNotice) {
116
118
  return null;
117
119
  }
118
- return (h("div", { class: "fixed bottom-0 p-8 z-[999999] grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center" }, h("eds-accordion", { title: this.heading, description: this.hasCookieConsent() ? this.optOutMessage : this.description, switchBg: true, expanded: true }, this.hasCookieConsent() ? (h("div", { class: "flex items-center gap-4" }, this.optedOut() ? (h("eds-button", { intent: "primary", label: "Opt me in again", "aria-label": "Opt me in again", onClick: () => this.optInAnalytics() })) : (h("eds-button", { intent: "primary", label: "Keep Me In", "aria-label": "Keep Me In", onClick: () => this.keepMeIn() })), h("eds-button", { intent: "ghostInverse", label: "Opt-out", "aria-label": "Opt-out from analytics", onClick: () => this.optOutAnalytics() }))) : (h("div", { class: "flex items-center gap-4" }, h("eds-button", { intent: "primary", label: "I agree", "aria-label": "Opt-in for analytics", onClick: () => this.optInAnalytics() }), h("eds-button", { intent: "ghost", label: "No, thanks", "aria-label": "Opt-out from analytics", onClick: () => this.noThanks() }), h("eds-button", { intent: "ghost", label: "Ask me later", "aria-label": "Defer analytics decision", onClick: () => this.deferDecision() }))))));
120
+ return (h("div", { class: "fixed bottom-0 p-8 z-[999999] grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center" }, h("eds-accordion", { title: this.heading, description: this.hasCookieConsent() ? this.optOutMessage : this.description, switchBg: true, expanded: true }, this.hasCookieConsent() ? (h("div", { class: "flex items-center gap-4" }, this.optedOut() ? (h("eds-button", { intent: "primary", label: "Opt me in again", "aria-label": "Opt me in again", onClick: () => this.optInAnalytics() })) : (h("eds-button", { intent: "primary", label: "Keep Me In", "aria-label": "Keep Me In", onClick: () => this.keepMeIn() })), h("eds-button", { intent: "ghostInverse", label: "Opt-out", "aria-label": "Opt-out from analytics", onClick: () => this.optOutAnalytics() }))) : (h("div", { class: "flex items-center gap-4" }, h("eds-button", { intent: "primary", label: "I agree", "aria-label": "Opt-in for analytics", onClick: () => this.optInAnalytics() }), h("eds-button", { intent: "ghost", label: "No, thanks", "aria-label": "Opt-out from analytics", onClick: () => this.noThanks() }))))));
119
121
  }
120
122
  get el() { return this; }
121
123
  static get style() { return EdsMatomoNoticeStyle0; }
@@ -1,9 +1,9 @@
1
1
  import type { Components, JSX } from "../types/components";
2
2
 
3
- interface EdsCardWrapper extends Components.EdsCardWrapper, HTMLElement {}
4
- export const EdsCardWrapper: {
5
- prototype: EdsCardWrapper;
6
- new (): EdsCardWrapper;
3
+ interface EdsPie extends Components.EdsPie, HTMLElement {}
4
+ export const EdsPie: {
5
+ prototype: EdsPie;
6
+ new (): EdsPie;
7
7
  };
8
8
  /**
9
9
  * Used to define this component and all nested components recursively.
@@ -0,0 +1,127 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const edsPieCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-full{border-radius:9999px}.overflow-hidden{overflow:hidden}.bg-inverse{background-color:var(--white)}.bg-current{background-color:currentColor}.bg-dark{background-color:var(--grey-300)}.bg-darker{background-color:var(--grey-400)}.bg-default{background-color:var(--grey-200)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.inset-0{inset:0rem}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.text-default{color:var(--black)}.w-8{width:0.5rem}.h-8{height:0.5rem}.mr-4{margin-right:0.25rem}:host{display:block}.wrapper{display:flex;align-items:center;justify-content:center;height:100%}.pie-chart{overflow:visible}.slice-label{font-size:var(--font-size-chart-label);font-weight:var(--font-weight-chart-label);fill:var(--color-text);pointer-events:none}.legend{list-style:none;margin:0;padding:0 0 0 1rem}.legend-item{display:flex;align-items:center;margin-bottom:0.5rem;outline:none}.legend-item:focus{outline:2px dashed var(--color-primary)}.legend-swatch{width:1rem;height:1rem;border-radius:50%;margin-right:0.5rem}.legend-label{font-size:var(--font-size-base);color:var(--color-text)}";
4
+ const EdsPieStyle0 = edsPieCss;
5
+
6
+ const EdsPie$1 = /*@__PURE__*/ proxyCustomElement(class EdsPie extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.size = 200;
12
+ this.slices = [];
13
+ this.thickness = 1;
14
+ this.display = 'value';
15
+ this.legend = true;
16
+ this.colorScheme = 'semantic';
17
+ }
18
+ parseSlices() {
19
+ if (typeof this.slices === 'string') {
20
+ try {
21
+ return JSON.parse(this.slices);
22
+ }
23
+ catch (_a) {
24
+ // eslint-disable-next-line
25
+ console.warn('eds-pie: invalid slices JSON');
26
+ }
27
+ }
28
+ return Array.isArray(this.slices) ? this.slices : [];
29
+ }
30
+ polarToCartesian(cx, cy, r, angle) {
31
+ const rad = (angle - 90) * (Math.PI / 180);
32
+ return { x: cx + r * Math.cos(rad), y: cy + r * Math.sin(rad) };
33
+ }
34
+ describeArc(x, y, r, startAngle, endAngle) {
35
+ const start = this.polarToCartesian(x, y, r, endAngle);
36
+ const end = this.polarToCartesian(x, y, r, startAngle);
37
+ const largeArcFlag = endAngle - startAngle <= 180 ? '0' : '1';
38
+ return [`M ${start.x} ${start.y}`, `A ${r} ${r} 0 ${largeArcFlag} 0 ${end.x} ${end.y}`, `L ${x} ${y}`, 'Z'].join(' ');
39
+ }
40
+ render() {
41
+ const raw = this.parseSlices();
42
+ if (raw.length > EdsPie.MAX_SLICES) {
43
+ // eslint-disable-next-line
44
+ console.warn(`eds-pie: too many slices (${raw.length}), results may overlap.`);
45
+ }
46
+ const total = raw.reduce((sum, s) => sum + s.value, 0) || 1;
47
+ const palette = [...EdsPie.PALETTES[this.colorScheme]];
48
+ const sorted = [...raw].sort((a, b) => b.value - a.value);
49
+ let cumulative = 0;
50
+ const processed = sorted.map((s) => {
51
+ const angle = (s.value / total) * 360;
52
+ const start = cumulative, end = cumulative + angle;
53
+ cumulative = end;
54
+ const color = s.color || palette.shift() || 'var(--color-chart-neutral-1)';
55
+ return Object.assign(Object.assign({}, s), { start, end, color });
56
+ });
57
+ const diameter = this.size;
58
+ const radius = diameter / 2;
59
+ // clamp into [0.5, 1]
60
+ const tClamped = Math.min(Math.max(this.thickness, 0.5), 1);
61
+ const innerRadius = radius * (1 - tClamped);
62
+ const outerRadius = radius;
63
+ // **replace** the previous labelRadius line with this:
64
+ const labelRadius = (radius + innerRadius) / 2;
65
+ // Build ARIA description
66
+ const ariaLabel = processed
67
+ .map((s) => `${s.label}: ${this.display === 'percent' ? `${Math.round((s.value / total) * 100)}%` : s.value}`)
68
+ .join(', ');
69
+ return (h(Host, null, h("div", { class: "wrapper" }, h("svg", { width: diameter, height: diameter, role: "img", "aria-label": `Pie chart: ${ariaLabel}`, class: "pie-chart" }, h("title", null, "Pie chart"), h("g", null, processed.map((s) => (h("path", { key: s.id, d: this.describeArc(radius, radius, outerRadius, s.start, s.end), fill: s.color }))), innerRadius > 0 && h("circle", { cx: radius, cy: radius, r: innerRadius, fill: "var(--white)" }), processed.map((s) => {
70
+ const midAngle = s.start + (s.end - s.start) / 2;
71
+ const { x, y } = this.polarToCartesian(radius, radius, labelRadius, midAngle);
72
+ const text = this.display === 'percent' ? `${Math.round((s.value / total) * 100)}%` : String(s.value);
73
+ return (h("text", { key: s.id, x: x, y: y, class: "f-ui-02", "text-anchor": "middle", "alignment-baseline": "middle" }, text));
74
+ }))), this.legend && (h("ul", { class: "legend", role: "list" }, processed.map((s) => (h("li", { key: s.id, role: "listitem", tabindex: "0", class: "legend-item" }, h("span", { class: "legend-swatch", style: { backgroundColor: s.color } }), h("span", { class: "legend-label" }, s.label)))))))));
75
+ }
76
+ static get style() { return EdsPieStyle0; }
77
+ }, [1, "eds-pie", {
78
+ "size": [2],
79
+ "slices": [1],
80
+ "thickness": [2],
81
+ "display": [1],
82
+ "legend": [4],
83
+ "colorScheme": [1, "color-scheme"]
84
+ }]);
85
+ EdsPie$1.MAX_SLICES = 9;
86
+ EdsPie$1.PALETTES = {
87
+ semantic: [
88
+ 'var(--color-chart-accent)',
89
+ 'var(--color-chart-strong)',
90
+ 'var(--color-chart-accent-dark)',
91
+ 'var(--color-chart-lighter)',
92
+ 'var(--color-chart-accent-light)',
93
+ 'var(--color-chart-lightest)',
94
+ 'var(--color-chart-accent-lighter)',
95
+ 'var(--color-chart-darker)',
96
+ 'var(--color-chart-accent-lightest)'
97
+ ],
98
+ mono: [
99
+ 'var(--grey-700)',
100
+ 'var(--grey-500)',
101
+ 'var(--grey-300)',
102
+ 'var(--grey-100)',
103
+ 'var(--grey-800)',
104
+ 'var(--grey-600)',
105
+ 'var(--grey-400)',
106
+ 'var(--grey-200)',
107
+ 'var(--grey-900)'
108
+ ]
109
+ };
110
+ function defineCustomElement$1() {
111
+ if (typeof customElements === "undefined") {
112
+ return;
113
+ }
114
+ const components = ["eds-pie"];
115
+ components.forEach(tagName => { switch (tagName) {
116
+ case "eds-pie":
117
+ if (!customElements.get(tagName)) {
118
+ customElements.define(tagName, EdsPie$1);
119
+ }
120
+ break;
121
+ } });
122
+ }
123
+
124
+ const EdsPie = EdsPie$1;
125
+ const defineCustomElement = defineCustomElement$1;
126
+
127
+ export { EdsPie, defineCustomElement };
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
2
2
 
3
- const edsProgressBarCss = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}";
3
+ const edsProgressBarCss = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.absolute{position:absolute}.relative{position:relative}.z-0{z-index:0}.z-10{z-index:10}.inset-0{inset:0rem}.pointer-events-none{pointer-events:none}";
4
4
  const EdsProgressBarStyle0 = edsProgressBarCss;
5
5
 
6
6
  const EdsProgressBar = /*@__PURE__*/ proxyCustomElement(class EdsProgressBar extends HTMLElement {
@@ -9,21 +9,49 @@ const EdsProgressBar = /*@__PURE__*/ proxyCustomElement(class EdsProgressBar ext
9
9
  this.__registerHost();
10
10
  this.__attachShadow();
11
11
  this.value = 0;
12
+ this.rounded = true;
12
13
  }
13
14
  /**
14
15
  * Method to update the progress value externally.
15
16
  * @param newValue The new progress value (0-100).
16
17
  */
17
18
  async updateValue(newValue) {
18
- this.value = Math.min(100, Math.max(0, newValue)); // Clamp value between 0 and 100
19
+ this.value = Math.min(100, Math.max(0, newValue)); // Clamp 0100
19
20
  }
20
21
  render() {
21
- const progressValue = this.value;
22
- return (h("div", { key: '0f47fedbf9d44887f65b399e184215f0937b1df1', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, h("div", { key: 'a2d095d778842c969832ea6b1ba7f7ef917d1390', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
22
+ const progressValue = Math.min(100, Math.max(0, this.value));
23
+ // Outer container classes (conditionally rounded)
24
+ const outerClasses = [
25
+ 'outer',
26
+ 'w-full',
27
+ 'h-24',
28
+ 'bg-default',
29
+ 'border',
30
+ 'border-softer',
31
+ 'overflow-hidden',
32
+ this.rounded ? 'rounded-lg' : '',
33
+ 'relative'
34
+ ]
35
+ .filter(Boolean)
36
+ .join(' ');
37
+ // Fill bar classes (conditionally rounded only when >0)
38
+ const fillClasses = [
39
+ 'inner',
40
+ 'h-full',
41
+ 'transition-all',
42
+ 'duration-300',
43
+ 'bg-accent',
44
+ progressValue > 0 && this.rounded ? 'rounded-lg' : '',
45
+ 'z-0'
46
+ ]
47
+ .filter(Boolean)
48
+ .join(' ');
49
+ return (h("div", { key: '8760afff9f85f05fec52b0a7fb668661e49dc06f', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, h("div", { key: '06165b69fe7e170f4f61d9f95b5a44342d4ee67a', class: fillClasses, style: { width: `${progressValue}%` } }), h("div", { key: '0c48e65c5a6cb0b4dff7a7e3e248052cdc29957d', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, h("span", { key: 'fc6f7396cf741ba18d1b5d065bdd1b7bfff12abe', class: "text-default f-body-02" }, progressValue, "%"))));
23
50
  }
24
51
  static get style() { return EdsProgressBarStyle0; }
25
52
  }, [1, "eds-progress-bar", {
26
53
  "value": [1026],
54
+ "rounded": [4],
27
55
  "updateValue": [64]
28
56
  }]);
29
57
  function defineCustomElement() {
@@ -49,7 +49,7 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
49
49
  this.rating.emit(rating);
50
50
  }
51
51
  render() {
52
- return (h("div", { key: 'd1650c37f02bf467f888d0afd0a025198bc0eedc', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
52
+ return (h("div", { key: '685ac01e4db577b07d00030b0c25e10b9b0defa8', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
53
53
  const starRating = index + 1;
54
54
  const isSelected = starRating <= this.selectedRating;
55
55
  // Use the mapping text if available; otherwise, fall back to a generic label.
@@ -8,16 +8,17 @@ const EdsSectionCore = /*@__PURE__*/ proxyCustomElement(class EdsSectionCore ext
8
8
  constructor() {
9
9
  super();
10
10
  this.__registerHost();
11
+ this.__attachShadow();
11
12
  this.tag = 'section';
12
13
  this.sectionTitle = '';
13
14
  this.headingLevel = 'h2';
14
15
  }
15
16
  render() {
16
17
  const TagType = this.tag; // Set dynamic tag type (div or section)
17
- return (h(TagType, { key: 'f07162204271dca0f1ec8a3d309ab9d38a9fff4f' }, h("eds-section-heading", { key: 'c4db2a67151fcec22306f624b071725518292e65', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: 'e610f4777f1b334e20482862504085f5317a63df' })));
18
+ return (h(TagType, { key: 'ff0b28dffb8aca2ad0ac1ee3eea7ebda75078f96' }, h("eds-section-heading", { key: '23e9bb2b084c6b8a534dd310fbe10e0de0211187', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '9cae6378bdb5304191d393967025570f94fdcdb2' })));
18
19
  }
19
20
  static get style() { return EdsSectionCoreStyle0; }
20
- }, [4, "eds-section-core", {
21
+ }, [1, "eds-section-core", {
21
22
  "tag": [1],
22
23
  "sectionTitle": [1, "section-title"],
23
24
  "headingLevel": [1, "heading-level"]
@@ -26,12 +26,12 @@ const EdsSectionHeading = /*@__PURE__*/ proxyCustomElement(class EdsSectionHeadi
26
26
  render() {
27
27
  const TagType = this.tag; // Dynamically set tag type for the container
28
28
  const HeadingTag = this.headingLevel; // Dynamically set heading level
29
- return (h(TagType, { key: 'efa6dd7e228db2b86961efdff9b5dd9729a1a24b', class: {
29
+ return (h(TagType, { key: 'bb32f87fd944ebf08ebcde3980c18cd4bed18783', class: {
30
30
  'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
31
31
  container: this.withContainer,
32
32
  'pt-48': this.spacingLarge,
33
33
  'pt-28': !this.spacingLarge
34
- } }, h(HeadingTag, { key: 'dd50f0fe3baf084c71dc4c8fa745484645a58f76', class: this.getHeadingClass() }, this.sectionTitle)));
34
+ } }, h(HeadingTag, { key: '0cd8ea8aada58e30675579c82ba130b40257c7c6', class: this.getHeadingClass() }, this.sectionTitle)));
35
35
  }
36
36
  }, [0, "eds-section-heading", {
37
37
  "sectionTitle": [1, "section-title"],
@@ -58,7 +58,7 @@ const EdsSocialNetworks = /*@__PURE__*/ proxyCustomElement(class EdsSocialNetwor
58
58
  * @returns {JSX.Element} The rendered JSX for the component.
59
59
  */
60
60
  render() {
61
- return (h("div", { key: 'f78431d66b849abfd16c60fc42d341e50fa38c47' }, h("p", { key: '1f905e5bb56695352d1da528862f597bdaa66933', class: "f-ui-02" }, this.heading), h("ul", { key: 'b281b99744549c8f2b941e10ce9b239df2ef6b63', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
61
+ return (h("div", { key: '49661af4c05520403c4801e447c730b971e0096f' }, h("p", { key: '22fc89817969a9e7059335b43f8e7b6cc2d095f7', class: "f-ui-02" }, this.heading), h("ul", { key: '90c04408db4f9d58a5ee4834f8fcfde88aede8ee', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
62
62
  }
63
63
  static get style() { return EdsSocialNetworksStyle0; }
64
64
  }, [1, "eds-social-networks", {
@@ -44,7 +44,7 @@ const EdsSpinner = /*@__PURE__*/ proxyCustomElement(class EdsSpinner extends HTM
44
44
  alignItems: 'center',
45
45
  justifyContent: 'center'
46
46
  };
47
- return (h(Host, { key: '77f17386e37b3dae21c2893dab53ef046d74b8fb' }, h("div", { key: 'c9420f866d61331901df7d6d681d09f75e31846c', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '83497de6228b75fad77225a1b6fee9a614d68fe4', class: "spinner", style: spinnerStyle }))));
47
+ return (h(Host, { key: '214876a56949c147e74c1a7072406234c2fb1a02' }, h("div", { key: 'b75b639fa38aafaf13e1eb727e28c5e67f3edafe', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '87ba2ef7e1e9601ac0ae8132e9c891b4149a20b5', class: "spinner", style: spinnerStyle }))));
48
48
  }
49
49
  static get style() { return EdsSpinnerStyle0; }
50
50
  }, [1, "eds-spinner", {
@@ -4,7 +4,7 @@ import { d as defineCustomElement$4 } from './eds-button2.js';
4
4
  import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
5
5
  import { d as defineCustomElement$2 } from './eds-img2.js';
6
6
 
7
- const edsStepsV2Css = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-gradient-to-b{background-image:linear-gradient(to bottom, var(--tw-gradient-stops))}.from-\\[\\#9CE142\\]{--tw-gradient-from:#9CE142 var(--tw-gradient-from-position);--tw-gradient-to:rgb(156 225 66 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.via-\\[\\#00C959\\]{--tw-gradient-to:rgb(0 201 89 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #00C959 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-\\[\\#00A595\\]{--tw-gradient-to:#00A595 var(--tw-gradient-to-position)}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mt-16{margin-top:1rem}.mb-0{margin-bottom:0rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mb-28{margin-bottom:1.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-16{padding:1rem}.p-24{padding:1.5rem}.p-48{padding:3rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bg-opacity-90{--tw-bg-opacity:0.9}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}";
7
+ const edsStepsV2Css = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}";
8
8
  const EdsStepsV2Style0 = edsStepsV2Css;
9
9
 
10
10
  const EdsStepsV2$1 = /*@__PURE__*/ proxyCustomElement(class EdsStepsV2 extends HTMLElement {
@@ -3,7 +3,7 @@ import { p as parseData } from './sharedUtils.js';
3
3
  import { d as defineCustomElement$2 } from './eds-button2.js';
4
4
  import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
5
5
 
6
- const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}";
6
+ const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-28{margin-bottom:1.75rem}";
7
7
  const EdsStepsStyle0 = edsStepsCss;
8
8
 
9
9
  const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLElement {
@@ -1,6 +1,7 @@
1
1
  import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
2
+ import { s as sendAnalytics } from './analytics.js';
2
3
 
3
- const edsSwitchCss = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-size:14px;margin:0 8px}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}";
4
+ const edsSwitchCss = ":host{display:inline-block}.switch-container{display:inline-flex;align-items:center}.switch-label{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}button.switch{position:relative;display:inline-flex;align-items:center;width:50px;height:26px;border:none;border-radius:13px;background-color:#ccc;padding:0;cursor:pointer;transition:background-color 0.2s}button.switch:focus{outline:none;box-shadow:0 0 0 2px #007aff}button.switch.switch--checked{background-color:var(--green-500)}button.switch.switch--disabled{opacity:0.6;cursor:not-allowed}.switch-handle{position:absolute;width:22px;height:22px;border-radius:50%;background-color:#fff;top:2px;left:2px;transition:transform 0.2s}button.switch.switch--checked .switch-handle{transform:translateX(24px)}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}";
4
5
  const EdsSwitchStyle0 = edsSwitchCss;
5
6
 
6
7
  const EdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class EdsSwitch extends HTMLElement {
@@ -8,13 +9,19 @@ const EdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class EdsSwitch extends HTM
8
9
  super();
9
10
  this.__registerHost();
10
11
  this.__attachShadow();
11
- this.toggle = createEvent(this, "toggle", 7);
12
+ this.uiswitch = createEvent(this, "uiswitch", 7);
12
13
  this.toggleSwitch = () => {
13
14
  if (this.disabled) {
14
15
  return;
15
16
  }
16
17
  this.checked = !this.checked;
17
- this.toggle.emit(this.checked);
18
+ this.uiswitch.emit(this.checked);
19
+ sendAnalytics({
20
+ category: 'ui-component',
21
+ tag: this.el.tagName.toLowerCase(),
22
+ name: this.checked ? this.labelOn : this.labelOff || '',
23
+ action: 'checked'
24
+ });
18
25
  };
19
26
  this.checked = false;
20
27
  this.disabled = false;
@@ -24,12 +31,13 @@ const EdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class EdsSwitch extends HTM
24
31
  render() {
25
32
  // Compute an accessible name based on state.
26
33
  const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
27
- return (h("div", { key: 'ef70db7a5ed4f8e8db7e1a9e94334a3686ec1d0e', class: "switch-container" }, this.labelOff && h("span", { key: '4a18de129ba0b4e643a0929b6fc797b7bc35cb4c', class: "switch-label switch-label--off" }, this.labelOff), h("button", { key: '2d75656fadf36a38269d361fef176e243e1291c2', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
34
+ return (h("div", { key: '442876be1bad7ea8c9e383bc68b192a2744c38f9', class: "switch-container" }, this.labelOff && h("span", { key: 'e4a7b01c0188d26e5b6524741b1c8ef66e357e35', class: "switch-label switch-label--off mr-8" }, this.labelOff), h("button", { key: 'f56b3762622671acf793568a96567193c38999c7', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
28
35
  switch: true,
29
36
  'switch--checked': this.checked,
30
37
  'switch--disabled': this.disabled
31
- }, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '71bd3c8c042ac337c1392977c27e8f4ccde5e79f', class: "switch-handle" })), this.labelOn && h("span", { key: '7cfa0b1f805271c9281853a872cedf93db7e07d8', class: "switch-label switch-label--on" }, this.labelOn)));
38
+ }, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: 'b76e89a1e37130542dd86ce3aed8c5690aeeda63', class: "switch-handle" })), this.labelOn && h("span", { key: '4e5d4f8a2f19bb612a17fa73e441e7e718b71508', class: "switch-label switch-label--on ml-8" }, this.labelOn)));
32
39
  }
40
+ get el() { return this; }
33
41
  static get style() { return EdsSwitchStyle0; }
34
42
  }, [1, "eds-switch", {
35
43
  "checked": [1540],
@@ -180,15 +180,15 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
180
180
  const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
181
181
  const paginatedRows = this.getPaginatedRows();
182
182
  const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
183
- return (h("div", { key: '9ac7ad4f02237c02eaf5d3b351ded21bce29bd6c' }, this.searchEnabled && (h("div", { key: '1cecf9a9089391c3bce72dd53a6f5ffa92692661' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
183
+ return (h("div", { key: '81735ac374853c8c92b3f50e26263ff9d71b326c' }, this.searchEnabled && (h("div", { key: '0b2ab8dbb343033f605e2028890bd963cd650998' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
184
184
  // @ts-ignore
185
- onInput: (event) => this.handleSearch(event) }))), h("div", { key: '435bbfd0a4dd3ddd0a7766863cdd8c2eaf41eb8f', class: "mt-20" }, h("table", { key: '4785490532015b7069be068e80135220f37c3955', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: '8a99a961cf350bca26b1f73b8ffd6c8e1c48378f' }, h("tr", { key: 'a4ee04e342687830e905a3bd5217e53e513f0167', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
185
+ onInput: (event) => this.handleSearch(event) }))), h("div", { key: 'eb3eebe6fb124d4e1983b2fb7e636707817d36bd', class: "mt-20" }, h("table", { key: '03b312ac20bdec28843a46907a3cc4fba69f62ae', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'ccab58dc46ae765df28da97ded6b1dd14d45d7f1' }, h("tr", { key: '904a125aad610cebe42b0bce46615be38f0ee17a', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
186
186
  var _a;
187
187
  return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, column));
188
- }))), h("tbody", { key: '3c764ac7137d1b21f45003c6df5324e7d0db749f' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
188
+ }))), h("tbody", { key: 'a4c54c9c89d15546020dbb684e5486decde33f30' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
189
189
  var _a;
190
190
  return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[column], column)));
191
- }))))))), this.shouldEnablePagination() && (h("div", { key: '98a1179b45fbc1b2f079825c899410ef4faf8c45', class: "mt-20" }, h("eds-pagination", { key: '662c479139658ea7f3d2a3955c77e24d44dd6e74', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
191
+ }))))))), this.shouldEnablePagination() && (h("div", { key: '2a248cbbe81ac8c1ad4dfbb49a9615f15931bac6', class: "mt-20" }, h("eds-pagination", { key: '11701d81922ca4c8b36fe82be32316a175eddbcd', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
192
192
  }
193
193
  get hostEl() { return this; }
194
194
  static get watchers() { return {