@ebrains/components 3.1.0 → 3.2.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 (347) hide show
  1. package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
  2. package/dist/cjs/components-section.cjs.entry.js +1 -1
  3. package/dist/cjs/components.cjs.js +1 -1
  4. package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
  5. package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
  6. package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
  7. package/dist/cjs/eds-accordion_53.cjs.entry.js +367 -248
  8. package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
  9. package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
  10. package/dist/cjs/eds-frame.cjs.entry.js +1 -1
  11. package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +26 -30
  12. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
  14. package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
  16. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
  17. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
  18. package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
  19. package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
  20. package/dist/cjs/eds-input-search.cjs.entry.js +1 -1
  21. package/dist/cjs/eds-modal.cjs.entry.js +18 -9
  22. package/dist/cjs/eds-pie.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
  24. package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
  25. package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
  26. package/dist/cjs/eds-trl-badge.cjs.entry.js +14 -11
  27. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
  28. package/dist/cjs/loader.cjs.js +1 -1
  29. package/dist/cjs/logo-space.cjs.entry.js +58 -1
  30. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
  31. package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
  32. package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
  33. package/dist/cjs/svg-repository.cjs.entry.js +1 -1
  34. package/dist/cjs/token-list_3.cjs.entry.js +3 -3
  35. package/dist/cjs/token-ratios.cjs.entry.js +1 -1
  36. package/dist/cjs/token-spacing.cjs.entry.js +1 -1
  37. package/dist/cjs/token-typography.cjs.entry.js +8 -2
  38. package/dist/collection/components/eds-accordion/eds-accordion.js +2 -5
  39. package/dist/collection/components/eds-alert/eds-alert.css +14 -0
  40. package/dist/collection/components/eds-alert/eds-alert.js +2 -1
  41. package/dist/collection/components/eds-button/eds-button.js +6 -10
  42. package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
  43. package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +2 -5
  44. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  45. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +2 -5
  46. package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +4 -1
  47. package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +2 -5
  48. package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -4
  49. package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +6 -7
  50. package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +6 -7
  51. package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +2 -2
  52. package/dist/collection/components/eds-code-block/eds-code-block.css +72 -106
  53. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  54. package/dist/collection/components/eds-footer/eds-footer.js +23 -18
  55. package/dist/collection/components/eds-footer/eds-footer.stories.js +3 -4
  56. package/dist/collection/components/eds-form/eds-form.css +456 -0
  57. package/dist/collection/components/eds-form/eds-form.js +218 -14
  58. package/dist/collection/components/eds-form/eds-form.stories.js +110 -3
  59. package/dist/collection/components/eds-frame/eds-frame.js +1 -1
  60. package/dist/collection/components/eds-header/eds-header.js +1 -1
  61. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  62. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  63. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  64. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  65. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  66. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  67. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  68. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  69. package/dist/collection/components/eds-img/eds-img.js +2 -2
  70. package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +7 -4
  71. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  72. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +10 -0
  73. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  74. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +17 -5
  75. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  76. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +15 -5
  77. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  78. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +6 -2
  79. package/dist/collection/components/eds-input-field/eds-input-field.css +219 -0
  80. package/dist/collection/components/eds-input-field/eds-input-field.js +7 -2
  81. package/dist/collection/components/eds-input-field/eds-input-field.stories.js +35 -7
  82. package/dist/collection/components/eds-input-file/eds-input-file.js +5 -3
  83. package/dist/collection/components/eds-link/eds-link.js +4 -8
  84. package/dist/collection/components/eds-logo/eds-logo.js +13 -66
  85. package/dist/collection/components/eds-logo/eds-logo.stories.js +36 -17
  86. package/dist/collection/components/eds-modal/eds-modal.js +18 -9
  87. package/dist/collection/components/eds-modal/eds-modal.stories.js +3 -1
  88. package/dist/collection/components/eds-nps/eds-nps.js +2 -2
  89. package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
  90. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -8
  91. package/dist/collection/components/eds-rating/eds-rating.js +1 -1
  92. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  93. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  94. package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
  95. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  96. package/dist/collection/components/eds-steps/eds-steps.css +56 -25
  97. package/dist/collection/components/eds-steps/eds-steps.js +27 -7
  98. package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +93 -28
  99. package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +57 -10
  100. package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +80 -17
  101. package/dist/collection/components/eds-switch/eds-switch.css +26 -3
  102. package/dist/collection/components/eds-switch/eds-switch.js +10 -7
  103. package/dist/collection/components/eds-switch/eds-switch.stories.js +20 -1
  104. package/dist/collection/components/eds-table/eds-table.js +1 -3
  105. package/dist/collection/components/eds-table/eds-table.stories.js +2 -6
  106. package/dist/collection/components/eds-tabs/eds-tabs.js +4 -11
  107. package/dist/collection/components/eds-tabs/eds-tabs.stories.js +2 -2
  108. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  109. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  110. package/dist/collection/components/eds-toast/eds-toast.css +146 -0
  111. package/dist/collection/components/eds-toast/eds-toast.js +106 -4
  112. package/dist/collection/components/eds-toast/eds-toast.stories.js +102 -5
  113. package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
  114. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  115. package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +7 -1
  116. package/dist/collection/components/eds-user/eds-user.js +2 -5
  117. package/dist/collection/components/eds-user/eds-user.stories.js +8 -11
  118. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  119. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  120. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  121. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  122. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  123. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  124. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  125. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  126. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  127. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  128. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  129. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  130. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  131. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  132. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  133. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +8 -2
  134. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  135. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +58 -1
  136. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  137. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  138. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  139. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  140. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  141. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  142. package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +26 -30
  143. package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +18 -12
  144. package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.js +15 -19
  145. package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +2 -2
  146. package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +1 -3
  147. package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
  148. package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +11 -1
  149. package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +37 -16
  150. package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +10 -5
  151. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.js +14 -11
  152. package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +4 -1
  153. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  154. package/dist/collection/utils/eds-form/safeFormat.js +1 -5
  155. package/dist/components/components-section.js +1 -1
  156. package/dist/components/components.css +9 -7
  157. package/dist/components/components.esm.js +1 -1
  158. package/dist/components/correct-use-of-colors.js +1 -1
  159. package/dist/components/docs-palettes.js +1 -1
  160. package/dist/components/docs-tokens.js +1 -1
  161. package/dist/components/eds-accordion2.js +2 -5
  162. package/dist/components/eds-alert2.js +3 -2
  163. package/dist/components/eds-app-root.js +1 -1
  164. package/dist/components/eds-button2.js +5 -9
  165. package/dist/components/eds-card-app.js +2 -5
  166. package/dist/components/eds-card-cta.js +2 -5
  167. package/dist/components/eds-card-feature.js +2 -5
  168. package/dist/components/eds-card-generic2.js +2 -4
  169. package/dist/components/eds-card-hero.js +6 -7
  170. package/dist/components/eds-card-stat.js +6 -7
  171. package/dist/components/eds-card-title2.js +1 -1
  172. package/dist/components/eds-code-block2.js +2 -2
  173. package/dist/components/eds-cookies-preference.js +1 -1
  174. package/dist/components/eds-footer2.js +23 -18
  175. package/dist/components/eds-form.js +101 -38
  176. package/dist/components/eds-frame.js +1 -1
  177. package/dist/components/eds-gitlab-contributors.js +26 -30
  178. package/dist/components/eds-global-search.js +18 -12
  179. package/dist/components/eds-header.js +1 -1
  180. package/dist/components/eds-icon-bluesky.js +1 -1
  181. package/dist/components/eds-icon-eu.js +1 -1
  182. package/dist/components/eds-icon-facebook.js +1 -1
  183. package/dist/components/eds-icon-gitlab.js +1 -1
  184. package/dist/components/eds-icon-linkedin.js +1 -1
  185. package/dist/components/eds-icon-mastodon.js +1 -1
  186. package/dist/components/eds-icon-twitter.js +1 -1
  187. package/dist/components/eds-icon-youtube.js +1 -1
  188. package/dist/components/eds-img2.js +2 -2
  189. package/dist/components/eds-input-dropzone2.js +7 -4
  190. package/dist/components/eds-input-field2.js +8 -3
  191. package/dist/components/eds-input-file2.js +5 -3
  192. package/dist/components/eds-input-footer2.js +3 -7
  193. package/dist/components/eds-input-label2.js +2 -2
  194. package/dist/components/eds-input-range2.js +15 -5
  195. package/dist/components/eds-input-search.js +1 -1
  196. package/dist/components/eds-input-select2.js +6 -2
  197. package/dist/components/eds-input2.js +2 -2
  198. package/dist/components/eds-kg-learning-resources.js +15 -19
  199. package/dist/components/eds-kg-web-services-select2.js +2 -2
  200. package/dist/components/eds-link2.js +3 -7
  201. package/dist/components/eds-logo2.js +4 -22
  202. package/dist/components/eds-modal.js +18 -9
  203. package/dist/components/eds-nps2.js +2 -2
  204. package/dist/components/eds-pagination2.js +1 -1
  205. package/dist/components/eds-pie.js +2 -2
  206. package/dist/components/eds-progress-bar.js +1 -8
  207. package/dist/components/eds-rating2.js +1 -1
  208. package/dist/components/eds-search-select2.js +38 -17
  209. package/dist/components/eds-section-core2.js +1 -1
  210. package/dist/components/eds-section-heading2.js +2 -2
  211. package/dist/components/eds-social-networks2.js +1 -1
  212. package/dist/components/eds-spinner2.js +1 -1
  213. package/dist/components/eds-steps-v2.js +41 -11
  214. package/dist/components/eds-steps2.js +28 -8
  215. package/dist/components/eds-switch2.js +8 -5
  216. package/dist/components/eds-table2.js +1 -3
  217. package/dist/components/eds-tabs.js +4 -11
  218. package/dist/components/eds-tag2.js +1 -1
  219. package/dist/components/eds-timeline.js +1 -1
  220. package/dist/components/eds-toast-manager.js +1 -1
  221. package/dist/components/eds-toast2.js +39 -3
  222. package/dist/components/eds-tooltip2.js +1 -1
  223. package/dist/components/eds-trl-badge.js +14 -11
  224. package/dist/components/eds-user.js +1 -4
  225. package/dist/components/incorrect-use-of-colors.js +1 -1
  226. package/dist/components/logo-space.js +58 -1
  227. package/dist/components/logo-variations-horizontal2.js +1 -1
  228. package/dist/components/logo-variations-tabs.js +1 -1
  229. package/dist/components/logo-variations-vertical2.js +1 -1
  230. package/dist/components/logo-wrong-usage.js +1 -1
  231. package/dist/components/{p-d59d6fda.entry.js → p-05e96609.entry.js} +1 -1
  232. package/dist/components/p-0d778d10.entry.js +1 -0
  233. package/dist/components/{p-62f53e7a.entry.js → p-114f6d54.entry.js} +1 -1
  234. package/dist/components/p-1534204d.entry.js +1 -0
  235. package/dist/components/p-337d4ee3.entry.js +9 -0
  236. package/dist/components/p-340bc935.entry.js +1 -0
  237. package/dist/components/p-39dbb964.entry.js +1 -0
  238. package/dist/components/{p-25729ade.entry.js → p-3f66bc26.entry.js} +1 -1
  239. package/dist/components/p-43f9e64f.entry.js +1 -0
  240. package/dist/components/p-46cc6c1a.entry.js +1 -0
  241. package/dist/components/{p-e9e6ec19.entry.js → p-4b8a7979.entry.js} +1 -1
  242. package/dist/components/{p-bdcb71e1.entry.js → p-6b94b2ec.entry.js} +1 -1
  243. package/dist/components/p-6d965fef.entry.js +1 -0
  244. package/dist/components/{p-62580004.entry.js → p-6e370182.entry.js} +1 -1
  245. package/dist/components/p-6ffe581c.entry.js +1 -0
  246. package/dist/components/{p-e027bc90.entry.js → p-726637b1.entry.js} +1 -1
  247. package/dist/components/{p-8a483358.entry.js → p-86ccc09f.entry.js} +1 -1
  248. package/dist/components/{p-e71a4f29.entry.js → p-8755a21b.entry.js} +1 -1
  249. package/dist/components/{p-e4df206e.entry.js → p-8ab461e2.entry.js} +1 -1
  250. package/dist/components/p-8cb162b8.entry.js +1 -0
  251. package/dist/components/p-8cdbc280.entry.js +1 -0
  252. package/dist/components/{p-42791331.entry.js → p-8e034c4e.entry.js} +1 -1
  253. package/dist/components/p-9f649fa3.entry.js +1 -0
  254. package/dist/components/{p-f9a9fa34.entry.js → p-a26dad9b.entry.js} +1 -1
  255. package/dist/components/p-a2d6a9ca.entry.js +1 -0
  256. package/dist/components/p-afabe1be.entry.js +1 -0
  257. package/dist/components/{p-1fbcc480.entry.js → p-b1519098.entry.js} +1 -1
  258. package/dist/components/{p-12acc48d.entry.js → p-b4023b45.entry.js} +1 -1
  259. package/dist/components/p-c53b3563.entry.js +1 -0
  260. package/dist/components/p-c7d612d1.entry.js +1 -0
  261. package/dist/components/p-dc9aef22.entry.js +1 -0
  262. package/dist/components/{p-e339d0b5.entry.js → p-f66a7cf9.entry.js} +1 -1
  263. package/dist/components/{p-80a32e20.entry.js → p-f97f62f2.entry.js} +1 -1
  264. package/dist/components/primary.js +1 -1
  265. package/dist/components/primary2.js +1 -1
  266. package/dist/components/secondary.js +1 -1
  267. package/dist/components/secondary2.js +7 -7
  268. package/dist/components/support.js +1 -1
  269. package/dist/components/support2.js +3 -3
  270. package/dist/components/svg-repository.js +1 -1
  271. package/dist/components/token-list2.js +1 -1
  272. package/dist/components/token-radii2.js +1 -1
  273. package/dist/components/token-ratios.js +1 -1
  274. package/dist/components/token-shadows2.js +1 -1
  275. package/dist/components/token-spacing.js +1 -1
  276. package/dist/components/token-typography.js +8 -2
  277. package/dist/esm/color-primary-palette_6.entry.js +14 -14
  278. package/dist/esm/components-section.entry.js +1 -1
  279. package/dist/esm/components.js +1 -1
  280. package/dist/esm/correct-use-of-colors.entry.js +1 -1
  281. package/dist/esm/docs-palettes.entry.js +1 -1
  282. package/dist/esm/docs-tokens.entry.js +1 -1
  283. package/dist/esm/eds-accordion_53.entry.js +367 -248
  284. package/dist/esm/eds-app-root.entry.js +1 -1
  285. package/dist/esm/eds-cookies-preference.entry.js +1 -1
  286. package/dist/esm/eds-frame.entry.js +1 -1
  287. package/dist/esm/eds-gitlab-contributors.entry.js +26 -30
  288. package/dist/esm/eds-icon-bluesky.entry.js +1 -1
  289. package/dist/esm/eds-icon-eu.entry.js +1 -1
  290. package/dist/esm/eds-icon-facebook.entry.js +1 -1
  291. package/dist/esm/eds-icon-gitlab.entry.js +1 -1
  292. package/dist/esm/eds-icon-linkedin.entry.js +1 -1
  293. package/dist/esm/eds-icon-mastodon.entry.js +1 -1
  294. package/dist/esm/eds-icon-twitter.entry.js +1 -1
  295. package/dist/esm/eds-icon-youtube.entry.js +1 -1
  296. package/dist/esm/eds-input-search.entry.js +1 -1
  297. package/dist/esm/eds-modal.entry.js +18 -9
  298. package/dist/esm/eds-pie.entry.js +2 -2
  299. package/dist/esm/eds-section-core_2.entry.js +3 -3
  300. package/dist/esm/eds-timeline.entry.js +1 -1
  301. package/dist/esm/eds-toast-manager.entry.js +1 -1
  302. package/dist/esm/eds-trl-badge.entry.js +14 -11
  303. package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
  304. package/dist/esm/loader.js +1 -1
  305. package/dist/esm/logo-space.entry.js +58 -1
  306. package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
  307. package/dist/esm/logo-variations-tabs.entry.js +1 -1
  308. package/dist/esm/logo-wrong-usage.entry.js +1 -1
  309. package/dist/esm/svg-repository.entry.js +1 -1
  310. package/dist/esm/token-list_3.entry.js +3 -3
  311. package/dist/esm/token-ratios.entry.js +1 -1
  312. package/dist/esm/token-spacing.entry.js +1 -1
  313. package/dist/esm/token-typography.entry.js +8 -2
  314. package/dist/hydrate/index.js +572 -368
  315. package/dist/hydrate/index.mjs +572 -368
  316. package/dist/types/components/eds-form/eds-form.d.ts +56 -0
  317. package/dist/types/components/eds-form/eds-form.stories.d.ts +63 -0
  318. package/dist/types/components/eds-logo/eds-logo.d.ts +11 -28
  319. package/dist/types/components/eds-logo/eds-logo.stories.d.ts +22 -2
  320. package/dist/types/components/eds-steps/eds-steps.d.ts +7 -0
  321. package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +14 -1
  322. package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +40 -9
  323. package/dist/types/components/eds-switch/eds-switch.d.ts +6 -2
  324. package/dist/types/components/eds-switch/eds-switch.stories.d.ts +8 -0
  325. package/dist/types/components/eds-toast/eds-toast.d.ts +33 -1
  326. package/dist/types/components/eds-toast/eds-toast.stories.d.ts +49 -1
  327. package/dist/types/components/eds-user/eds-user.d.ts +0 -2
  328. package/dist/types/components/eds-user/eds-user.stories.d.ts +5 -9
  329. package/dist/types/components.d.ts +210 -60
  330. package/package.json +1 -1
  331. package/dist/components/p-00ba405d.entry.js +0 -1
  332. package/dist/components/p-03342030.entry.js +0 -1
  333. package/dist/components/p-0e2bac0f.entry.js +0 -1
  334. package/dist/components/p-18399fe1.entry.js +0 -1
  335. package/dist/components/p-1e6f0572.entry.js +0 -1
  336. package/dist/components/p-27e093c3.entry.js +0 -1
  337. package/dist/components/p-3d1bb2fe.entry.js +0 -1
  338. package/dist/components/p-5ff4b1d0.entry.js +0 -1
  339. package/dist/components/p-6be1730a.entry.js +0 -1
  340. package/dist/components/p-786ff09b.entry.js +0 -1
  341. package/dist/components/p-85476a6f.entry.js +0 -9
  342. package/dist/components/p-c2127276.entry.js +0 -1
  343. package/dist/components/p-c3ee9163.entry.js +0 -1
  344. package/dist/components/p-c4cfbf98.entry.js +0 -1
  345. package/dist/components/p-c65082fe.entry.js +0 -1
  346. package/dist/components/p-cc096938.entry.js +0 -1
  347. package/dist/components/p-f4d2f882.entry.js +0 -1
@@ -135,19 +135,12 @@ const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLEle
135
135
  }
136
136
  }
137
137
  render() {
138
- const containerClasses = [
139
- 'tabs-container',
140
- `tabs-container-${this.variant}`
141
- ].join(' ');
142
- return (h("div", { key: '646f43031cde2e0ab84d2830fd9477841b3c757b', id: `${this.identifier}` }, h("div", { key: '2eb01c96640c6fc602777f227525066e5970489e', class: containerClasses }, h("nav", { key: 'b419fc7414574ea70b19433a3c5daa63b5ad6652', role: "tablist", class: "tabs-nav", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
138
+ const containerClasses = ['tabs-container', `tabs-container-${this.variant}`].join(' ');
139
+ return (h("div", { key: '39b1e8fc98303be43fbbd0e67807786fe0ad8fef', id: `${this.identifier}` }, h("div", { key: '3cef6bd5804c110e51560c7b58de5cb77eadbbb6', class: containerClasses }, h("nav", { key: 'b59ed6ad2fe067b2c39b1db43cd4242eec1b01bf', role: "tablist", class: "tabs-nav", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
143
140
  const isActive = index === this.activeIndex;
144
- const tabClasses = [
145
- 'tab',
146
- `tab-${this.variant}`,
147
- isActive ? 'tab-active' : ''
148
- ].filter(Boolean).join(' ');
141
+ const tabClasses = ['tab', `tab-${this.variant}`, isActive ? 'tab-active' : ''].filter(Boolean).join(' ');
149
142
  return (h("button", { class: tabClasses, type: "button", role: "tab", "aria-selected": isActive ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }, tab.label || tab.ariaLabel));
150
- }))), h("div", { key: '0ce244b3d2b2120d1bdf127144e9b42e2ad34e52', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1 }, h("slot", { name: `panel-${index}` })))))));
143
+ }))), h("div", { key: '224717af5f59fbea2683dd33144760be8c553bb8', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1 }, h("slot", { name: `panel-${index}` })))))));
151
144
  }
152
145
  get el() { return this; }
153
146
  static get watchers() { return {
@@ -38,7 +38,7 @@ const EdsTag = /*@__PURE__*/ proxyCustomElement(class EdsTag extends HTMLElement
38
38
  }
39
39
  render() {
40
40
  const classes = tagStyles({ intent: this.intent, size: this.size });
41
- return (h("span", { key: '20e1625ac01b0dc1f40356d02622e0649faa7fa7', class: classes }, h("span", { key: '313c3f18c0a5df285afe6a40ded9e68035d9648f', style: { position: 'relative', zIndex: '1' } }, this.label)));
41
+ return (h("span", { key: 'f9399ed92717576781bff9fb5f117743d50720af', class: classes }, h("span", { key: '9500083dfbddd73539de9e1c5b738bf7a3415624', style: { position: 'relative', zIndex: '1' } }, this.label)));
42
42
  }
43
43
  static get style() { return EdsTagStyle0; }
44
44
  }, [1, "eds-tag", {
@@ -50,7 +50,7 @@ const EdsTimeline$1 = /*@__PURE__*/ proxyCustomElement(class EdsTimeline extends
50
50
  }
51
51
  }
52
52
  render() {
53
- return (h("div", { key: '78b199b18d361ae3223e4f1fe9a2043d61f4271b', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: 'afdfdf7dc573a7f273703a02e38e755a9815bdf7', class: "relative" }, h("div", { key: '7affc96f356ee901ca263c7347ae60b84869f28b', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: '7ba006234bd1365890e75b7f59aa118265ba727c', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { title: event.title, url: "#", description: event.description, intent: "secondary", tags: JSON.stringify(event.completed
53
+ return (h("div", { key: '3816dfeeec536ae803b069e5f5e5112f476dffed', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '360b8c6752eab781870de60aa1f89889eff644d3', class: "relative" }, h("div", { key: 'eda9ed9904dfe7c8c0fff2295666666cfbd3763a', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: '5f7b736ed512cf4752c66c8a0c9010822d8b4f44', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { title: event.title, url: "#", description: event.description, intent: "secondary", tags: JSON.stringify(event.completed
54
54
  ? [{ label: 'completed', style: 'accent' }]
55
55
  : [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), h("div", { class: "flex items-center justify-center relative" }, event.completed ? (h("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (h("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), h("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (h("eds-card-generic", { title: event.title, url: "#", description: event.description, intent: "secondary", tags: JSON.stringify(event.completed
56
56
  ? [{ label: 'completed', style: 'accent' }]
@@ -67,7 +67,7 @@ const EdsToastManager$1 = /*@__PURE__*/ proxyCustomElement(class EdsToastManager
67
67
  this.toasts = this.toasts.filter((t) => t.id !== id);
68
68
  }
69
69
  render() {
70
- return (h("div", { key: '989e469e815c6af6b46a14fddee85e4707f86704', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
70
+ return (h("div", { key: 'bd01d186b0fa0dc2d44c169dfd2634cdcf80e906', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
71
71
  }
72
72
  get hostElement() { return this; }
73
73
  static get style() { return EdsToastManagerStyle0; }
@@ -3,7 +3,7 @@ import { c as cva } from './index2.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 edsToastCss = ".relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.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)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-light)}.bg-success{background-color:var(--brand-green)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-dark)}.text-current{color:currentColor}.text-default{color:var(--brand-black)}.text-accent{color:var(--brand-green)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.border-l-\\[3px\\]{border-left-width:3px}.border-accent{border-color:var(--brand-green)}.py-16{padding-top:1rem;padding-bottom:1rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.rounded-r-4{border-top-right-radius:4px;border-bottom-right-radius:4px}.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)}.opacity-50{opacity:0.5}.hover\\:opacity-100:hover{opacity:1}";
6
+ const edsToastCss = ":host{display:block}.relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.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)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-light)}.bg-success{background-color:var(--brand-green)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-dark)}.text-current{color:currentColor}.text-default{color:var(--brand-black)}.text-accent{color:var(--brand-green)}.bg-inverse{background-color:var(--white)}.bg-strongest{background-color:var(--brand-black)}.border-l-\\[3px\\]{border-left-width:3px}.border-accent{border-color:var(--brand-green)}.py-16{padding-top:1rem;padding-bottom:1rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.rounded-r-4{border-top-right-radius:4px;border-bottom-right-radius:4px}.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)}.opacity-50{opacity:0.5}.hover\\:opacity-100:hover{opacity:1}.banner{--rail:#7a7b7a;--surface:#ffffff;--line:#e2e2e2;--icon-bg:#f0f0f0;--icon-fg:#5a5f5c;--title:#07140d;--msg:#8a8c8a;display:flex;flex-wrap:wrap;align-items:center;gap:14px;background:var(--surface);border:1px solid var(--line);border-left:3px solid var(--rail);border-radius:12px;padding:15px 18px}.banner--brand,.banner--info{--rail:var(--brand-green, #00ff9d);--icon-bg:rgba(0, 255, 157, 0.12);--icon-fg:var(--green-d, #00c87b);--title:var(--brand-black, #07140d);--msg:#8a8c8a}.banner--success{--rail:var(--green-d, #00c87b);--surface:#f0fbf6;--line:#cdeede;--icon-bg:rgba(0, 200, 123, 0.12);--icon-fg:var(--green-d, #00c87b);--title:#0a6b46;--msg:#5a7a6c}.banner--warning{--rail:#b26b00;--surface:#fff6e6;--line:#f0dcb4;--icon-bg:rgba(178, 107, 0, 0.12);--icon-fg:#b26b00;--title:#b26b00;--msg:#8a6a2a}.banner--error{--rail:#c0392b;--surface:#fdf0ee;--line:#f2cfc9;--icon-bg:rgba(192, 57, 43, 0.1);--icon-fg:#c0392b;--title:#c0392b;--msg:#8d5049}.banner-ic{flex:0 0 auto;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--icon-bg);color:var(--icon-fg)}.banner-copy{flex:1 1 auto;min-width:0}.banner-title{font-family:var(--sans, 'IBM Plex Sans', system-ui, sans-serif);font-size:14.5px;font-weight:600;color:var(--title)}.banner-msg{font-family:var(--mono, 'IBM Plex Mono', ui-monospace, monospace);font-size:10.5px;letter-spacing:0.04em;color:var(--msg);line-height:1.45;margin-top:3px}.banner-title+.banner-msg{margin-top:3px}.banner-actions{flex:0 0 auto;display:flex;align-items:center;gap:16px}.banner-x{flex:0 0 auto;border:none;background:transparent;color:var(--msg);cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:4px;border-radius:6px;opacity:0.6;transition:opacity 0.14s, background 0.14s}.banner-x:hover{opacity:1;background:rgba(0, 0, 0, 0.05)}@media (max-width: 1024px){.banner-actions{gap:12px}}";
7
7
  const EdsToastStyle0 = edsToastCss;
8
8
 
9
9
  const toastStyles = cva(['relative bottom-4 w-auto rounded-xs p-12'], {
@@ -13,6 +13,8 @@ const toastStyles = cva(['relative bottom-4 w-auto rounded-xs p-12'], {
13
13
  success: 'bg-success text-dark',
14
14
  error: 'bg-error text-dark',
15
15
  warning: 'bg-warning text-dark',
16
+ info: 'bg-dark text-dark',
17
+ neutral: 'bg-dark text-dark',
16
18
  brand: 'bg-strongest text-accent',
17
19
  brandInverse: 'bg-inverse text-default'
18
20
  }
@@ -21,6 +23,16 @@ const toastStyles = cva(['relative bottom-4 w-auto rounded-xs p-12'], {
21
23
  intent: 'default'
22
24
  }
23
25
  });
26
+ /** Fallback leading icon per intent for the `banner` variant. */
27
+ const DEFAULT_BANNER_ICON = {
28
+ default: 'information',
29
+ neutral: 'information',
30
+ info: 'information',
31
+ brand: 'information',
32
+ success: 'checkmark',
33
+ warning: 'warning',
34
+ error: 'warning'
35
+ };
24
36
  const EdsToast = /*@__PURE__*/ proxyCustomElement(class EdsToast extends HTMLElement {
25
37
  constructor() {
26
38
  super();
@@ -36,12 +48,23 @@ const EdsToast = /*@__PURE__*/ proxyCustomElement(class EdsToast extends HTMLEle
36
48
  };
37
49
  this.message = undefined;
38
50
  this.intent = 'default';
51
+ this.variant = 'toast';
52
+ this.heading = undefined;
53
+ this.icon = undefined;
54
+ this.dismissible = false;
39
55
  this.duration = undefined;
40
56
  this.visible = true;
57
+ this.hasActions = false;
58
+ }
59
+ componentWillLoad() {
60
+ // Slotted actions live in light DOM (children with slot="actions").
61
+ this.hasActions = !!this.el.querySelector('[slot="actions"]');
41
62
  }
42
63
  componentDidLoad() {
43
64
  const btn = this.el.shadowRoot.querySelector('eds-button');
44
- this.emitContext(btn);
65
+ if (btn) {
66
+ this.emitContext(btn);
67
+ }
45
68
  }
46
69
  /**
47
70
  * Emits a custom event called `parentContext` for a given button element.
@@ -67,10 +90,18 @@ const EdsToast = /*@__PURE__*/ proxyCustomElement(class EdsToast extends HTMLEle
67
90
  // Clear the timeout when the component is removed
68
91
  clearTimeout(this.dismissTimeout);
69
92
  }
93
+ renderBanner() {
94
+ const iconName = this.icon || DEFAULT_BANNER_ICON[this.intent] || 'information';
95
+ const showClose = this.dismissible || (this.duration && this.duration > 0);
96
+ return (h("div", { class: `banner banner--${this.intent}`, role: "status", "aria-live": "polite" }, h("span", { class: "banner-ic", "aria-hidden": "true" }, h("eds-icon-wrapper", { name: iconName, size: 20 })), h("div", { class: "banner-copy" }, this.heading && h("div", { class: "banner-title" }, this.heading), h("div", { class: "banner-msg" }, this.message)), this.hasActions && (h("div", { class: "banner-actions" }, h("slot", { name: "actions" }))), showClose && (h("button", { type: "button", class: "banner-x", "aria-label": "Dismiss", onClick: () => this.dismissToast() }, h("eds-icon-wrapper", { name: "close", size: 16 })))));
97
+ }
70
98
  render() {
71
99
  if (!this.visible) {
72
100
  return null;
73
101
  }
102
+ if (this.variant === 'banner') {
103
+ return this.renderBanner();
104
+ }
74
105
  const classes = toastStyles({ intent: this.intent });
75
106
  return (h("div", { class: classes, role: "alert", "aria-live": "assertive" }, h("div", { class: "flex items-center justify-between gap-4" }, h("span", { class: "f-ui-02" }, this.message), h("eds-button", { intent: "ghost", size: "large", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" }))));
76
107
  }
@@ -79,8 +110,13 @@ const EdsToast = /*@__PURE__*/ proxyCustomElement(class EdsToast extends HTMLEle
79
110
  }, [1, "eds-toast", {
80
111
  "message": [1],
81
112
  "intent": [1],
113
+ "variant": [1],
114
+ "heading": [1],
115
+ "icon": [1],
116
+ "dismissible": [4],
82
117
  "duration": [2],
83
- "visible": [32]
118
+ "visible": [32],
119
+ "hasActions": [32]
84
120
  }]);
85
121
  function defineCustomElement() {
86
122
  if (typeof customElements === "undefined") {
@@ -23,7 +23,7 @@ const EdsTooltip = /*@__PURE__*/ proxyCustomElement(class EdsTooltip extends HTM
23
23
  }
24
24
  render() {
25
25
  const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
26
- return (h("div", { key: '8b4396894b1ec7cc1c2d928ffa5b3d7628f8c4ee', class: "relative w-full inline-block group" }, h("slot", { key: 'c2547098aacc584960f217edcafeb060ce742adc' }), h("div", { key: '1e6beac7e4294456f7a6130c4b0573cce3e4b548', class: `absolute ${positionClass}
26
+ return (h("div", { key: '70fac9a2e9d60c2dd24961d162c5230dcf5d6232', class: "relative w-full inline-block group" }, h("slot", { key: '02e4f975a0b23905883663f773a221c747906a11' }), h("div", { key: 'cff74243e3b7bd0111bb0e6023367ac88b50c379', class: `absolute ${positionClass}
27
27
  rounded-xs bg-strongest text-inverse
28
28
  f-ui-03-light pointer-events-none
29
29
  z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
@@ -48,16 +48,17 @@ const EdsTrlBadge$1 = /*@__PURE__*/ proxyCustomElement(class EdsTrlBadge extends
48
48
  this.href = undefined;
49
49
  }
50
50
  esc(s) {
51
- return String(s).replace(/&/g, '&amp;').replace(/</g, '&lt;')
52
- .replace(/>/g, '&gt;').replace(/"/g, '&quot;');
51
+ return String(s).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
53
52
  }
54
53
  /** Maturity tier → value/pip colour (brand palette). */
55
54
  levelColor() {
56
55
  const n = Number(this.level);
57
- if (n >= 7)
56
+ if (n >= 7) {
58
57
  return '#00FF9D';
59
- if (n >= 4)
58
+ }
59
+ if (n >= 4) {
60
60
  return '#00C87B';
61
+ }
61
62
  return '#7A7B7A';
62
63
  }
63
64
  /** Readable value text on a coloured segment (black on green, light on grey). */
@@ -66,10 +67,12 @@ const EdsTrlBadge$1 = /*@__PURE__*/ proxyCustomElement(class EdsTrlBadge extends
66
67
  }
67
68
  fullText() {
68
69
  const parts = [`${this.label} ${this.level}`];
69
- if (this.assessed)
70
+ if (this.assessed) {
70
71
  parts.push(`assessed ${this.assessed}`);
71
- if (this.methodology)
72
+ }
73
+ if (this.methodology) {
72
74
  parts.push(`methodology ${this.methodology}`);
75
+ }
73
76
  return parts.join(' · ');
74
77
  }
75
78
  /** Build the inner markup + intrinsic dimensions for the chosen variant. */
@@ -109,8 +112,8 @@ const EdsTrlBadge$1 = /*@__PURE__*/ proxyCustomElement(class EdsTrlBadge extends
109
112
  const stroke = dark ? '#34473d' : '#07140D';
110
113
  const labelColor = dark ? '#ECECEC' : '#07140D';
111
114
  const sep = dark ? '#5a6b62' : '#9aa39d';
112
- const value = dark ? valColor : (Number(this.level) >= 4 ? '#00966a' : '#7A7B7A');
113
- const w = Math.ceil(logoSpace + (this.label + ' · ' + this.level).length * CW + 12);
115
+ const value = dark ? valColor : Number(this.level) >= 4 ? '#00966a' : '#7A7B7A';
116
+ const w = Math.ceil(logoSpace + `${this.label} · ${this.level}`.length * CW + 12);
114
117
  const inner = `<defs>${markDefs(uid)}</defs>` +
115
118
  `<rect x=".5" y=".5" width="${w - 1}" height="23" rx="6" fill="${bg}" stroke="${stroke}"/>${markGroup(uid, 8, 4, 16)}` +
116
119
  `<text x="30" y="16" ${mono} font-size="11" letter-spacing=".3">` +
@@ -164,12 +167,12 @@ const EdsTrlBadge$1 = /*@__PURE__*/ proxyCustomElement(class EdsTrlBadge extends
164
167
  const k = this.size ? this.size / h : 1;
165
168
  const outW = Math.round(w * k);
166
169
  const outH = Math.round(h * k);
167
- return `<svg xmlns="http://www.w3.org/2000/svg" width="${outW}" height="${outH}" ` +
168
- `viewBox="0 0 ${w} ${h}" role="img" aria-label="${aria}"><title>${aria}</title>${inner}</svg>`;
170
+ return (`<svg xmlns="http://www.w3.org/2000/svg" width="${outW}" height="${outH}" ` +
171
+ `viewBox="0 0 ${w} ${h}" role="img" aria-label="${aria}"><title>${aria}</title>${inner}</svg>`);
169
172
  }
170
173
  render() {
171
174
  const svg = this.buildSvg();
172
- return (h(Host, { key: 'eddfb49f35ff9771d76eef13a024b840b3a24cca' }, this.href ? (h("a", { class: "link", href: this.href, "aria-label": this.fullText(), innerHTML: svg })) : (h("span", { class: "link", innerHTML: svg }))));
175
+ return (h(Host, { key: '8da5cadf8dc1cef28dd16902013905bfefdd67aa' }, this.href ? (h("a", { class: "link", href: this.href, "aria-label": this.fullText(), innerHTML: svg })) : (h("span", { class: "link", innerHTML: svg }))));
173
176
  }
174
177
  static get style() { return EdsTrlBadgeStyle0; }
175
178
  }, [1, "eds-trl-badge", {
@@ -20,7 +20,6 @@ const EdsUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsUser extends HTMLEle
20
20
  this.intent = 'ghost';
21
21
  this.dropdownLabel = 'Account';
22
22
  this.expanded = false;
23
- this.shortMode = false;
24
23
  }
25
24
  /**
26
25
  * Helper getter to ensure we work with a User object.
@@ -37,7 +36,6 @@ const EdsUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsUser extends HTMLEle
37
36
  }
38
37
  return this.user;
39
38
  }
40
- async componentWillLoad() { }
41
39
  get initials() {
42
40
  var _a, _b, _c, _d;
43
41
  const user = this.parsedUser;
@@ -52,7 +50,7 @@ const EdsUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsUser extends HTMLEle
52
50
  render() {
53
51
  const user = this.parsedUser;
54
52
  //const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
55
- return (h("div", { key: '1a9c56a4868b68ea95fdbb19a61435f5fa23b1b5', class: "block" }, h("div", { key: '242beb1cf3dc3e545be84003615eaed119be3e20', class: "flex items-center" }, h("eds-dropdown", { key: 'e75e0305a60936df4deb5b012fa139ca9a6b024f', ref: (el) => (this.dropdownEl = el), intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "user", label: this.dropdownLabel, class: "text-default", onDropdown: this.handleDropdown }, h("div", { key: '09c74d1320e9637e50f7e0f8482e435db7a3319a', class: "min-w-[280px] p-8" }, h("div", { key: 'fa70ecc13e477cf2d2ead8e8dbab4fa3c3587149', class: "flex gap-x-16", "data-dropdown-no-close": true }, h("eds-avatar", { key: '69f059e2002237dd874ba62952c2b014ad94cb8a', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), h("div", { key: 'c300f3bbe7f57d82913cef614637188babb82818', class: "max-w-full" }, user.name && h("p", { key: 'dc1a4a26f6c1da6c6e88e5aae484ca2ada2864e6', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: '76f94c7b0394125d9a6b547722df5545c6b479fd', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: '8be3fe5ba1c302d5ef9bfb6d563070c07ed722ca', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: '191e365fa893122e09c07aa36d1fde5d28b9b3de', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: '8d3fbd032340d5c32fd93ab89b034e7de25ef2e3' })))))));
53
+ return (h("div", { key: '680e43b28d6f449f1bc527a205bc8cb1593c2e3b', class: "block" }, h("div", { key: '472e128751bbd16584d2c17a0f05de9ce39b3618', class: "flex items-center" }, h("eds-dropdown", { key: 'b8e77167f98bcc07280a440ab8c086ab72650866', ref: (el) => (this.dropdownEl = el), intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "user", label: this.dropdownLabel, class: "text-default", onDropdown: this.handleDropdown }, h("div", { key: 'd55809a0ab5387f867d27669198c7e9bfc206383', class: "min-w-[280px] p-8" }, h("div", { key: 'e703e71577d4d1e78664fa807de67551483069c1', class: "flex gap-x-16", "data-dropdown-no-close": true }, h("eds-avatar", { key: '7672f9a4f84bc13ab079a7e6185eff87aa15a1f7', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), h("div", { key: 'ac9e6e17465d52a247b289224ce3ea473989c1ee', class: "max-w-full" }, user.name && h("p", { key: 'caab9568a17e0bbc68c418f070b93ae6f21fad21', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: '0ba0fbec86e6600ee4eb0e0827a78e7292808ab1', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: 'a3f8870af9bdd001cf5e894b71f8403bff639608', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: 'd230d82178d53043406e26f264c3fe26d7a87211', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: '5d28ca2126fbd735560e6034ea1c24e225bf2ee5' })))))));
56
54
  }
57
55
  get hostEl() { return this; }
58
56
  static get style() { return EdsUserStyle0; }
@@ -61,7 +59,6 @@ const EdsUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsUser extends HTMLEle
61
59
  "intent": [1],
62
60
  "dropdownLabel": [1, "dropdown-label"],
63
61
  "expanded": [32],
64
- "shortMode": [32],
65
62
  "closeDropdown": [64]
66
63
  }]);
67
64
  function defineCustomElement$1() {
@@ -44,7 +44,7 @@ const IncorrectUseOfColors$1 = /*@__PURE__*/ proxyCustomElement(class IncorrectU
44
44
  this.__registerHost();
45
45
  }
46
46
  render() {
47
- return (h("div", { key: '2688817c691de1f39d1c25845642e99af13e1b00', class: "container" }, h("div", { key: '823b5f324f9b7fe4143dd982e71f535b9c576dd6', class: "mb-8" }, h("eds-alert", { key: '95cf4b07317e116636979fb2d72b4fe925b09fa2', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: 'd4bfceeb122dddf376808ae187379c07ed0e1a06', class: "flex" }, h("div", { key: '82eac813cc9b29424640fb2517992e3384d19a6e', class: "w-full" }, h("ul", { key: 'da2ca77bd91a25c6a451910a6b3bf939e5e8abc9', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '538560ac8db9f9d023a5afbf4cd67dff80f6e7b6', class: "w-full" }, h("ul", { key: '4b601f722730fbe1cbb78c1185d79b34654d3f76', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
47
+ return (h("div", { key: 'a6d5c05544bb0af37aeec022d53c9ebd64e891cc', class: "container" }, h("div", { key: '058290373f57f7f887f79a41d0441f0791037220', class: "mb-8" }, h("eds-alert", { key: 'f6168be82e7a540a1940314134c9eb57dbd1fae4', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: 'c05365d2dcdce23a750c752cef81a7843fe9b54f', class: "flex" }, h("div", { key: '16ca87385a2e3a8fc108df30d628f78534a1b057', class: "w-full" }, h("ul", { key: 'f8c62eec7f63fb153c1785ede3a2cf535dfad6e5', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '9c918b52798d9a50a4b4171dd3d2df0ff276a8fa', class: "w-full" }, h("ul", { key: 'f93524796d29dfc7d85da5a86a937519df10cdd3', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
48
48
  }
49
49
  }, [0, "incorrect-use-of-colors"]);
50
50
  function defineCustomElement$1() {
@@ -26,7 +26,64 @@ const LogoSpace$1 = /*@__PURE__*/ proxyCustomElement(class LogoSpace extends HTM
26
26
  this.__attachShadow();
27
27
  }
28
28
  render() {
29
- return (h("div", { key: '9f72a0aaadd8ae1aaa8998ca3539bd7d2640de80', class: "container" }, h("ul", { key: 'c4eae5e0c5c6adebbcdfa9f5ff5e505e8fca5364', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'cc93430ed51397f9cc5f6885da73464eee4f50f0', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '7a10d36af753e4cc085a898385a79f86cfda4386', class: "logo-clear-space mx-auto", style: { position: 'relative', padding: '2.5rem', background: '#f5f5f5', borderRadius: '8px' } }, h("div", { key: 'ca39c5c1d7692ac3e3f4c5f86b37ac315da32238', style: { position: 'absolute', top: '0', left: '50%', transform: 'translateX(-50%)', display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("span", { key: '29dc95b66b0cc09fc4b4d45b317858262fd5f74c', style: { fontSize: '11px', fontWeight: '600', color: '#00C87B', fontFamily: 'IBM Plex Mono, monospace' } }, "E"), h("div", { key: '314d8208cb5349457c1586eacbda115e9fb16d11', style: { width: '1px', height: '12px', borderLeft: '1px dashed #00C87B' } })), h("div", { key: '4d8a568924c6891cd4be3c19e04fc31c2ea1fc70', style: { position: 'absolute', bottom: '0', left: '50%', transform: 'translateX(-50%)', display: 'flex', flexDirection: 'column', alignItems: 'center' } }, h("div", { key: 'b09af7bd89b9f553b812190356ca62aa92ed6991', style: { width: '1px', height: '12px', borderLeft: '1px dashed #00C87B' } }), h("span", { key: 'f093c84334e23c4f4f057e7e4b32d9107a3f41fc', style: { fontSize: '11px', fontWeight: '600', color: '#00C87B', fontFamily: 'IBM Plex Mono, monospace' } }, "E")), h("div", { key: '91db9099f9e9a1523e19785fb7114e3f4fce7275', style: { position: 'absolute', left: '4px', top: '50%', transform: 'translateY(-50%)', display: 'flex', alignItems: 'center' } }, h("span", { key: '88dd6f5d7954d2a1609db58f16242302f8d4f018', style: { fontSize: '11px', fontWeight: '600', color: '#00C87B', fontFamily: 'IBM Plex Mono, monospace' } }, "E"), h("div", { key: '1a6cad75530619b5f7cdbd9044c61ddd05bb4882', style: { height: '1px', width: '12px', borderTop: '1px dashed #00C87B' } })), h("div", { key: '1cf721720500db93522e8563a44260f1ad5d12a3', style: { position: 'absolute', right: '4px', top: '50%', transform: 'translateY(-50%)', display: 'flex', alignItems: 'center' } }, h("div", { key: 'cd05bc1ca38fd5698f894f036ea4530833636dec', style: { height: '1px', width: '12px', borderTop: '1px dashed #00C87B' } }), h("span", { key: 'ab0476740b19beb7c7799334370bff344e01a4de', style: { fontSize: '11px', fontWeight: '600', color: '#00C87B', fontFamily: 'IBM Plex Mono, monospace' } }, "E")), h("div", { key: 'ce5dcd6aaa22c90084ac3f285c28726ef1dc241e', style: { border: '1px dashed rgba(0, 200, 123, 0.5)', borderRadius: '4px', padding: '1rem', display: 'flex', alignItems: 'center', justifyContent: 'center' } }, h("eds-logo", { key: '457548ba3f0835a632c86521fce2fc828f72b7a5', variant: "positive", href: "#", style: { display: 'block', width: '250px' } })))), h("li", { key: '676ceccfa0081fa6b05a2c6cb3c0ba88da61cd6a', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '5ca2e9f1c386afc3f70be756183b4fe93779022f', class: "text-center mt-16" }, h("p", { key: '0c986326909c8de83e584f796c41198554741c3d', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: 'c745fc8b37d5fe412b08c0f88283d5ba74492f30', data: '[\n { "Media": "Print", "Min Size": "0.75 cm" },\n { "Media": "Web", "Min Size": "29 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))))));
29
+ return (h("div", { key: 'd8adaf2c085aef0029453aef21a527c8e2677ca5', class: "container" }, h("ul", { key: 'f9919afa9a7788769934fa408e3647f409ad436b', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4defd03de432869a1acd5735011b6dbbbb18b6a8', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'fa018de1f0dcbfc32dc6ed5e00618bf238c7e928', class: "logo-clear-space mx-auto", style: { position: 'relative', padding: '2.5rem', background: '#f5f5f5', borderRadius: '8px' } }, h("div", { key: 'd275d9edb872b43a183e8a76b1c9531d981d585c', style: {
30
+ position: 'absolute',
31
+ top: '0',
32
+ left: '50%',
33
+ transform: 'translateX(-50%)',
34
+ display: 'flex',
35
+ flexDirection: 'column',
36
+ alignItems: 'center'
37
+ } }, h("span", { key: '11163f214005427e024b04ce1df24f41b8145f57', style: {
38
+ fontSize: '11px',
39
+ fontWeight: '600',
40
+ color: '#00C87B',
41
+ fontFamily: 'IBM Plex Mono, monospace'
42
+ } }, "E"), h("div", { key: 'ef4d8d4f7318eba7a9e4cfc8f32119d2c9e23477', style: { width: '1px', height: '12px', borderLeft: '1px dashed #00C87B' } })), h("div", { key: 'ffe1a1ae439d3fd9b129acd336e75aa19624c2b6', style: {
43
+ position: 'absolute',
44
+ bottom: '0',
45
+ left: '50%',
46
+ transform: 'translateX(-50%)',
47
+ display: 'flex',
48
+ flexDirection: 'column',
49
+ alignItems: 'center'
50
+ } }, h("div", { key: '7b8342fd5b5202dfaa6da0665d91bcd3a47f79a7', style: { width: '1px', height: '12px', borderLeft: '1px dashed #00C87B' } }), h("span", { key: '4efc55d4f8a642acfb77a571694ea05460d12594', style: {
51
+ fontSize: '11px',
52
+ fontWeight: '600',
53
+ color: '#00C87B',
54
+ fontFamily: 'IBM Plex Mono, monospace'
55
+ } }, "E")), h("div", { key: '70eb593013f530ef57f9794266ec8909d6f6bbd8', style: {
56
+ position: 'absolute',
57
+ left: '4px',
58
+ top: '50%',
59
+ transform: 'translateY(-50%)',
60
+ display: 'flex',
61
+ alignItems: 'center'
62
+ } }, h("span", { key: 'eeaf30fd53b36844e52b2e92142b8f8adbaacca2', style: {
63
+ fontSize: '11px',
64
+ fontWeight: '600',
65
+ color: '#00C87B',
66
+ fontFamily: 'IBM Plex Mono, monospace'
67
+ } }, "E"), h("div", { key: '27682de58b8ac8bf1d7f17d25ab4e2429e7c5897', style: { height: '1px', width: '12px', borderTop: '1px dashed #00C87B' } })), h("div", { key: 'ced953919078e5ddd4b5c70d750693b89e4d8cbc', style: {
68
+ position: 'absolute',
69
+ right: '4px',
70
+ top: '50%',
71
+ transform: 'translateY(-50%)',
72
+ display: 'flex',
73
+ alignItems: 'center'
74
+ } }, h("div", { key: '4fe3e43ca20645c3631119cf089aa9f3d83be1f4', style: { height: '1px', width: '12px', borderTop: '1px dashed #00C87B' } }), h("span", { key: '27ca09a454a253730b7cb1ac4246b36c54748745', style: {
75
+ fontSize: '11px',
76
+ fontWeight: '600',
77
+ color: '#00C87B',
78
+ fontFamily: 'IBM Plex Mono, monospace'
79
+ } }, "E")), h("div", { key: 'df5159d9341ceebeaca350e5589a59c5f14c8b9a', style: {
80
+ border: '1px dashed rgba(0, 200, 123, 0.5)',
81
+ borderRadius: '4px',
82
+ padding: '1rem',
83
+ display: 'flex',
84
+ alignItems: 'center',
85
+ justifyContent: 'center'
86
+ } }, h("eds-logo", { key: '1fe938ec424cf65abffa2b1421f9e5ad5fd7f29a', variant: "positive", href: "#", style: { display: 'block', width: '250px' } })))), h("li", { key: '7db8f82af5f6231048d040d8d96c6c8aabada665', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '8912e3482e1590b4f0cbcf1a8d3a02492b24c2f1', class: "text-center mt-16" }, h("p", { key: '94c6b05c888b177afcce6f0eb8ee2c8b0328a89d', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: 'b02c7b046b2b11effc65ff9c889a962b3b6bd2f5', data: '[\n { "Media": "Print", "Min Size": "0.75 cm" },\n { "Media": "Web", "Min Size": "29 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))))));
30
87
  }
31
88
  static get style() { return LogoSpaceStyle0; }
32
89
  }, [1, "logo-space"]);
@@ -11,7 +11,7 @@ const LogoVariationsHorizontal = /*@__PURE__*/ proxyCustomElement(class LogoVari
11
11
  this.__attachShadow();
12
12
  }
13
13
  render() {
14
- return (h("div", { key: 'bfd9df144e3cabfc1b2198909208d4d41b1d06b8', class: "container" }, h("ul", { key: '318197fcbbf5ea30a3b7786c670dc6a3484063fe', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '7014dddeec695952b9b4041bacc7b509abd4425c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '8be13e6c9f214d23941aae09653e6bae85536805', class: "f-body-01 text-center my-4" }, "#1 Positive"), h("div", { key: 'a3eb696587b0fe2eaea6e6f02c6512d75b2319f4', class: "coloured" }, h("eds-logo", { key: '530e57935491b485a8f1ab983c5c74aa62699e33', variant: "positive", href: "#" }))), h("li", { key: '1664f259390ded9c4084a8734b275a24e4add82e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'c24b35b76fe5cd95462c3f5c435a445b4eed731d', class: "f-body-01 text-center my-4" }, "#2 Negative"), h("div", { key: '0ef846b5bc472e082151994428a681e8ef888919', class: "bg-default" }, h("eds-logo", { key: '647cbedbffc487740dda470fada93c7c4bfe88b7', variant: "negative", href: "#" }))))));
14
+ return (h("div", { key: '5011adf9e8af3aac24dca24120996b52643e601b', class: "container" }, h("ul", { key: '2b8d7d8ea5c09140279d199372dd06e336e78bc1', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'eaeac5d7de69e2b8a745d4961fb26cf411f4cf91', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '44c29035848feb5380b5efb20b37e5f86d65314f', class: "f-body-01 text-center my-4" }, "#1 Positive"), h("div", { key: 'b438024e4b9fe2ede6e1d8193d5021f84d78baeb', class: "coloured" }, h("eds-logo", { key: '196ccaa50454d4b26c14d7187736fec16f89349a', variant: "positive", href: "#" }))), h("li", { key: '9eb5bbaf4081f2265ea60d2d2099ca039f190389', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '9b95ee3022aafc4c68ea8bed146dd3780b9ef4f2', class: "f-body-01 text-center my-4" }, "#2 Negative"), h("div", { key: '137e1f0451b41bb66c36151e6967e14002bde4ac', class: "bg-default" }, h("eds-logo", { key: '9d97fade01d3e8b59e69d4ba6758ee41f84ef571', variant: "negative", href: "#" }))))));
15
15
  }
16
16
  static get style() { return LogoVariationsHorizontalStyle0; }
17
17
  }, [1, "logo-variations-horizontal"]);
@@ -20,7 +20,7 @@ const LogoVariationsTabs$1 = /*@__PURE__*/ proxyCustomElement(class LogoVariatio
20
20
  }
21
21
  }
22
22
  render() {
23
- return h("div", { key: '25f8ec6fcb189c14d9e6d1564a5705ba34296fe1', class: "container" }, this.renderContent());
23
+ return h("div", { key: '5be7df6877ce83e4cdf3652b6e66640e90fb3081', class: "container" }, this.renderContent());
24
24
  }
25
25
  }, [0, "logo-variations-tabs", {
26
26
  "tabIndex": [2, "tab-index"]
@@ -13,7 +13,7 @@ const LogoVariationsVertical = /*@__PURE__*/ proxyCustomElement(class LogoVariat
13
13
  this.type = undefined;
14
14
  }
15
15
  render() {
16
- return (h("div", { key: '7707346060f598bc4a33ed1b25591907bd1ed86f', class: "container" }, h("ul", { key: '988427e4445b7238666a8865b40e39106574a020', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '09ebe2c5e0c4a17451cff4fa7f8d14f8dadccfb2', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'b761f45824056d8022b25851dc92ec477ba5dd90', class: "f-body-01 text-center my-4" }, "#1 Positive"), h("div", { key: 'b1d0c459aa5fe60c07d23d216873e8792a9b0bdb', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: '579c9c3bfe2156153d0a695ed164b5c143435935', orientation: "vertical", variant: "positive", href: "#" }))), h("li", { key: 'e9392a9b97c7fee407bc49dbf1baf5844c002f4a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '5335419cfe66e2454eebe227dcbb844bd9c28d65', class: "f-body-01 text-center my-4" }, "#2 Negative"), h("div", { key: '85f26cc36d343225c543f55ebff8435b7c3b8128', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: 'e50ba165a491eda6dbdf386cb7c82cfdb69aa7a7', orientation: "vertical", variant: "negative", href: "#" }))))));
16
+ return (h("div", { key: '67acdc82a0e7dbc0aa07e6607d31c81939ee5d7a', class: "container" }, h("ul", { key: '8c7eb2ee978a402cd85c570e61eb523721dffdd9', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'f6620aaf501e6dc5168e5d0d2baa238ce82680fa', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'abeb6b64713250a61476e2947dae5490ca18afea', class: "f-body-01 text-center my-4" }, "#1 Positive"), h("div", { key: '825f3020ce0e73ac80b78e2bbb898c26cb1d2190', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: '6aaa41b6beaf9fbcdcce1c6f3130a4db3c97afb4', variant: "positive", href: "#" }))), h("li", { key: '91db370167cecb19689bc2b13d7155a906d14a12', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'b44bf3c628adf0d1f5ca3c1e9dc48e5a6b09a9ee', class: "f-body-01 text-center my-4" }, "#2 Negative"), h("div", { key: '3e9ffec9903d8cfdb38ca64c8a69c201024f593d', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: 'cfb79e36eb78bd046c783cc4f210febfe30e28e9', variant: "negative", href: "#" }))))));
17
17
  }
18
18
  static get style() { return LogoVariationsVerticalStyle0; }
19
19
  }, [1, "logo-variations-vertical", {
@@ -11,7 +11,7 @@ const LogoWrongUsage$1 = /*@__PURE__*/ proxyCustomElement(class LogoWrongUsage e
11
11
  this.__attachShadow();
12
12
  }
13
13
  render() {
14
- return (h("div", { key: 'd2670fc81c458c6fa7830adc0bfe84a8d6edc808', class: "container" }, h("ul", { key: '068ccd9ab65938f0d61f800410c0223e79b072a5', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4600e980ce2d169750f3a06ad11ecc5280ac6816', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'db4d3fc8f5e35ae084c7f359fcc2553f913cc05a', class: "mx-auto no-other-bg-color logo", innerHTML: logoPositive }), h("p", { key: 'b3f85315b376d5dae84a076fcefad660bb28f2b0', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: '786ea943986e9948d465fc9bb07b3ea3ab9438f1', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'c9ee298d8c36b732e7a1855f26e08f000c16aa91', class: "mx-auto no-other-color logo non-brand-color", innerHTML: logoPositive }), h("p", { key: '6e16a1cf4f03f8a8929c31b2df080dd89b0951c3', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '82a57b134dd2a559a8c755579bdad818d316742a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'f32b83ca94652e22477a3ce0d2247eef0e47b7b8', class: "mx-auto distorted logo", innerHTML: logoPositive }), h("p", { key: '3cf9e132199d325d430cfffa6bf4b4331e43a62e', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: '89d4b3eed2c779ff71b3fd6c8315ce4a99cb871b', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'b765e1c704944ecded0d88aca1db3efffd0caeed', class: "mx-auto effects logo", innerHTML: logoPositive }), h("p", { key: '822ac23c64ba745b46d21303a9bbfabe9a26d6dc', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: 'a5f157b40464fa3178f94147ce9017ffaad0bb69', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'c9b3e60f08ad15e0ca9eb11abe769510bf6f04c9', class: "mx-auto rotated logo", innerHTML: logoPositive }), h("p", { key: 'c25fc7938948f5cb3fdf55719483e13ab4780bba', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: '8ed76fa89e0bf6b40f0b5478cebfe3a2b129cde6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'a18962c12781071348a8ec0c10e62d7d3ebec881', class: "mx-auto outlined logo", innerHTML: logoPositive }), h("p", { key: 'a967a5ef26f9d935756db41e632d88765fdc50c7', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '9fc5979179dc4d1defe578a6c4aa7b1e7bf6e355', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'df9479358ca218d9b2f9ffa15dc9cb802cf71e04', class: "mx-auto" }, h("div", { key: '2d06f90b92971701bbe6a76f8b8125846ac15d0c', class: "bg-accent p-16" }, h("div", { key: 'a4178f35a86f8a5788f30137f75880f4c5f5c2a3', class: "text-inverse", innerHTML: logoPositive })), h("p", { key: '567638cdb967150758210ddb0d52657834f65054', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
14
+ return (h("div", { key: 'f2917e2a6ea6fb5e2eb31dd1bc915a20256ff676', class: "container" }, h("ul", { key: 'd80a9c848c64f2603fa0aef5dd6cde3e9947eb64', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'acbdc5eba5aa42a629e0af955b8b05b693c04280', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'ee377c6fc03df3ea4d36de8f488ff0e3d01795f0', class: "mx-auto no-other-bg-color logo", innerHTML: logoPositive }), h("p", { key: 'ff57d7ac90e5dc0fd03aa3cce651f8a7b05f4215', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: '39ff08699d8640290f529f2bf3bee718770f452a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '9f718c4ff9148444c2b039c4afba117fd84959bf', class: "mx-auto no-other-color logo non-brand-color", innerHTML: logoPositive }), h("p", { key: '263702a71e19f66e5e133d50ff5a05d78334aa22', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '18261985b96396ab2b6fc2a782acd101565756de', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'f6cd02054601479517153821e15c51c07aac549d', class: "mx-auto distorted logo", innerHTML: logoPositive }), h("p", { key: 'cdfd4f9640d3f85a96f194b146a63ff39fb02be6', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: '609660c30557cebaa4798f7f13706cf62c5985ce', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '80c7f31b812f42ae2de7ab04e8ab237bd09d5951', class: "mx-auto effects logo", innerHTML: logoPositive }), h("p", { key: 'a0ef2f9c5358be703f6e997bf7f2d865ac7e743b', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: '52d87ca2b6fc2bd650f5051dae0a98a54b9c8681', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '78af2276be724f7e989ad46698de80679759d614', class: "mx-auto rotated logo", innerHTML: logoPositive }), h("p", { key: '8fe1680390e358afd2febdac98a5b91f043e3ce3', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: 'dc503648d2ed6aa8b116cd5a3bdcfcf8fdabbe7c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'b33e68a6e1ea1a21cab8832b46fc8a6305151edf', class: "mx-auto outlined logo", innerHTML: logoPositive }), h("p", { key: '59f356aa9af489175849716b43903567acbb202d', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '9754f0dc1a175ede68a9caf494d2e603e06f9bf1', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '1636ab42d0f934b54e44b55c67f99c6f936b02d5', class: "mx-auto" }, h("div", { key: '710300090e0862499e6d712b1155275a1a58ea18', class: "bg-accent p-16" }, h("div", { key: '71792d037786e7cd5321e969fca8421422daa387', class: "text-inverse", innerHTML: logoPositive })), h("p", { key: '185980c11a566e4ad84dfbf5d0c063f1730b2f3b', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
15
15
  }
16
16
  static get style() { return LogoWrongUsageStyle0; }
17
17
  }, [1, "logo-wrong-usage"]);
@@ -1 +1 @@
1
- import{r as t,h as e,H as n}from"./p-271c61ff.js";function i(t){return'<linearGradient id="__UID__Unbenannter_Verlauf_29" x1="-26.7" y1="64.8" x2="155" y2="-19.9" gradientUnits="userSpaceOnUse"> <stop offset="0" stop-color="#03a98f"/> <stop offset=".1" stop-color="#10a97b"/> <stop offset=".3" stop-color="#23aa5f"/> <stop offset="1" stop-color="#00ff9d"/> </linearGradient><linearGradient id="__UID__Unbenannter_Verlauf_291" x1="38.6" y1="205" x2="220.3" y2="120.2" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_292" x1="33" y1="193" x2="214.8" y2="108.3" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_293" x1="-3.5" y1="114.7" x2="178.3" y2="30" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_294" x1="4.5" y1="131.8" x2="186.2" y2="47.1" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_295" x1="28.6" y1="183.6" x2="210.4" y2="98.9" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_296" x1="3.8" y1="130.3" x2="185.5" y2="45.5" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_297" x1="18" y1="160.6" x2="199.7" y2="75.9" href="#__UID__Unbenannter_Verlauf_29"/>'.replace(/__UID__/g,t)}function l(t,e,n,i=16){return`<g transform="translate(${e},${n}) scale(${(i/201.1).toFixed(4)})">${'<path fill="url(#__UID__Unbenannter_Verlauf_29)" d="M67.3,19.9c11.2-2.3,22.5-1,32.1,1.5.8.2,1.2-.8.5-1.3-11.6-7.3-20.9-11.4-26.6-13.5l-18.3,4.9c-3.4.9-6.4,2.7-8.9,5.1l-29.6,29.6c-2.5,2.5-4.2,5.5-5.1,8.9l-.7,2.6c1.7-1.5,3.4-3.2,5.2-4.9,12.6-12,29.9-28.4,51.3-32.9Z"/><path fill="url(#__UID__Unbenannter_Verlauf_291)" d="M33.8,172.2l12.3,12.3c2.5,2.5,5.5,4.2,8.9,5.1l40.4,10.8c3.4.9,6.9.9,10.2,0l40.4-10.8c3.4-.9,6.4-2.7,8.9-5.1l2.8-2.8c-80-32.2-119-12.3-123.9-9.5Z"/><path fill="url(#__UID__Unbenannter_Verlauf_292)" d="M97.7,137.4c-25.1.2-51.1.4-78.8,19.8l10.5,10.5h.1c2-1.5,42.4-27.9,132.8,9.1h.2c0,.1,18.6-18.4,18.6-18.4-7.8-2.8-58.6-21-83.1-21h-.3Z"/><path fill="url(#__UID__Unbenannter_Verlauf_293)" d="M137.2,41h0c2.6,2.4,5.3,5,8,7.7,26.3,26.3,43.8,37.2,53.9,41.8l-9.5-35.5c-.9-3.4-2.7-6.4-5.1-8.9l-29.6-29.6c-2.5-2.5-5.5-4.2-8.9-5.1L105.7.7c-3.4-.9-6.9-.9-10.2,0l-12.1,3.2c12.4,5.6,31.5,16.5,53.7,37,0,0,.1.1.2.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_294)" d="M132.7,86.1c4.9,1.6,26.3,12,26.3,12,1.7.7,7.3,3.3,8.9,4.1.7.3,1.3-.6.8-1.1-1.5-1.4-5.8-5-10.9-8.6,0,0-21.8-15.4-27.2-18.5-7.8-4.3-47.4-26.7-81.3-10C25.8,75.6,8,89.7.6,96c-.8,3.2-.7,6.5.1,9.7l3.4,12.8c7.2-6.7,20.2-17.2,40.4-28.2,35.4-19.2,61.9-12.8,88.2-4.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_295)" d="M55.9,128c-3.1,1.7-17.5,10.3-17.5,10.3,0,0-4.9,3-.2,1.9,2-.5,7.8-3.1,9.7-3.6,0,0,19.1-7,49.8-5.4.1,0,.2,0,.4,0,27.6,0,84.2,21,86.6,21.9l1.1.5c1.8-2.2,3.2-4.7,3.9-7.5l2.7-10.2c-14.1-5.9-55.1-22.3-81-22.3s-55.3,14.3-55.5,14.4Z"/><path fill="url(#__UID__Unbenannter_Verlauf_296)" d="M131.7,44.5c-2-1.7-4.9-3.9-8.5-6.3-1.8-1.3-3.6-2.3-5.4-3.2-8.1-4.1-29.1-13.1-49.2-9-19.7,4.1-35.5,19.2-48.2,31.3-4.7,4.5-8.7,8.3-12.4,11.1l-4.6,17.2c9.4-7.4,24.4-18,43.2-27.2,36.9-18.1,79.2,5.4,87.3,10.3,12.1,7.3,47.9,34.4,64,46.8l2.6-9.8c.7-2.5.8-5,.5-7.5-10.4-3.8-29.7-14.5-60.2-45-3.1-3.1-6.1-5.9-9.1-8.6Z"/><path fill="url(#__UID__Unbenannter_Verlauf_297)" d="M47.5,95.8c-22.1,12-35.5,23.6-41.5,29.6l5.5,20.7c.3,1.2.8,2.4,1.4,3.5,9.5-9.3,38.6-26.3,39.8-27,1-.6,25.6-15.3,58.7-15.3s67.5,16,82.6,22.4l1.1-4.2c-9.9-6.7-37.4-24.5-64.4-33.5-24.9-8.3-50-14.3-83.2,3.8Z"/>'.replace(/__UID__/g,t)}</g>`}let r=0;const s=class{constructor(e){t(this,e),this.uid=`trl${++r}-`,this.level=void 0,this.assessed=void 0,this.methodology=void 0,this.theme="dark",this.variant="tone",this.size=void 0,this.label="EBRAINS TRL",this.href=void 0}esc(t){return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}levelColor(){const t=Number(this.level);return t>=7?"#00FF9D":t>=4?"#00C87B":"#7A7B7A"}valueText(){return Number(this.level)>=4?"#07140D":"#ECECEC"}fullText(){const t=[`${this.label} ${this.level}`];return this.assessed&&t.push(`assessed ${this.assessed}`),this.methodology&&t.push(`methodology ${this.methodology}`),t.join(" · ")}build(){const t=s.CW,e=this.uid,n=`${e}clip`,r=this.levelColor(),a=28,h="font-family=\"'IBM Plex Mono',monospace\"",_=this.esc(String(this.level));if("full"===this.variant){const s=(this.assessed?` · assessed ${this.esc(this.assessed)}`:"")+(this.methodology?` · methodology ${this.esc(this.methodology)}`:""),f=Math.ceil(a+this.fullText().length*t+10);return{w:f,h:24,inner:`<defs><clipPath id="${n}"><rect width="${f}" height="24" rx="6"/></clipPath>${i(e)}</defs><g clip-path="url(#${n})"><rect width="${f}" height="24" fill="#07140D"/></g>${l(e,8,4,16)}<text x="30" y="15.5" ${h} font-size="11" letter-spacing=".2"><tspan fill="#ECECEC">${this.esc(this.label)} </tspan><tspan fill="${r}" font-weight="600">${_}</tspan><tspan fill="#7A7B7A">${this.esc(s)}</tspan></text>`}}if("pill"===this.variant){const n=Math.ceil(a+`TRL ${this.level}`.length*t+14),s=a+(n-a)/2-4;return{w:n,h:24,inner:`<defs>${i(e)}</defs><rect width="${n}" height="24" rx="12" fill="#07140D"/>${l(e,7,4,16)}<text x="${s}" y="16" ${h} font-size="11" font-weight="500" letter-spacing=".5" text-anchor="middle"><tspan fill="#ECECEC">TRL </tspan><tspan fill="${r}" font-weight="600">${_}</tspan></text>`}}if("outline"===this.variant){const n="light"!==this.theme,s=n?"#0c1c14":"#ffffff",f=n?"#34473d":"#07140D",c=n?"#ECECEC":"#07140D",o=n?"#5a6b62":"#9aa39d",$=n?r:Number(this.level)>=4?"#00966a":"#7A7B7A",d=Math.ceil(a+(this.label+" · "+this.level).length*t+12);return{w:d,h:24,inner:`<defs>${i(e)}</defs><rect x=".5" y=".5" width="${d-1}" height="23" rx="6" fill="${s}" stroke="${f}"/>${l(e,8,4,16)}<text x="30" y="16" ${h} font-size="11" letter-spacing=".3"><tspan fill="${c}">${this.esc(this.label)} </tspan><tspan fill="${o}">· </tspan><tspan fill="${$}" font-weight="600">${_}</tspan></text>`}}if("scale"===this.variant){const n="light"!==this.theme,s=n?"#07140D":"#ECECEC",a=n?"#ECECEC":"#07140D",f=n?"#2f4339":"#c4ccc7",c=n?"#5a6b62":"#9aa39d",o=Math.max(0,Math.min(9,Number(this.level)||0)),$=Math.ceil(30+this.label.length*t+12),d=9,p=6,u=8,x=9;let g="";for(let t=0;t<9;t++)g+=`<rect x="${$+t*d}" y="${x}" width="${p}" height="${u}" rx="1" fill="${t<o?r:f}"/>`;const U=$+9*d+5,b=Math.ceil(U+`${this.level}/9`.length*t+8);return{w:b,h:26,inner:`<defs>${i(e)}</defs><rect width="${b}" height="26" rx="6" fill="${s}"/>${l(e,8,5,16)}<text x="30" y="17" ${h} font-size="11" letter-spacing=".3" fill="${a}">${this.esc(this.label)}</text><g>${g}</g><text x="${U}" y="17" ${h} font-size="11" font-weight="500"><tspan fill="${r}">${_}</tspan><tspan fill="${c}">/9</tspan></text>`}}const f="light"!==this.theme,c=f?"#07140D":"#ECECEC",o=f?"#ECECEC":"#07140D",$=f?this.valueText():"#07140D",d=Math.ceil(a+this.label.length*t+12),p=Math.ceil(12+String(this.level).length*t+12),u=d+p;return{w:u,h:24,inner:`<defs><clipPath id="${n}"><rect width="${u}" height="24" rx="6"/></clipPath>${i(e)}</defs><g clip-path="url(#${n})"><rect width="${d}" height="24" fill="${c}"/><rect x="${d}" width="${p}" height="24" fill="${r}"/></g>${l(e,8,4,16)}<text x="${a+(d-a)/2}" y="16" ${h} font-size="11" letter-spacing=".4" fill="${o}" text-anchor="middle">${this.esc(this.label)}</text><text x="${d+p/2}" y="16" ${h} font-size="11" font-weight="600" fill="${$}" text-anchor="middle">${_}</text>`}}buildSvg(){const{w:t,h:e,inner:n}=this.build(),i=this.esc(this.fullText()),l=this.size?this.size/e:1;return`<svg xmlns="http://www.w3.org/2000/svg" width="${Math.round(t*l)}" height="${Math.round(e*l)}" viewBox="0 0 ${t} ${e}" role="img" aria-label="${i}"><title>${i}</title>${n}</svg>`}render(){const t=this.buildSvg();return e(n,{key:"eddfb49f35ff9771d76eef13a024b840b3a24cca"},this.href?e("a",{class:"link",href:this.href,"aria-label":this.fullText(),innerHTML:t}):e("span",{class:"link",innerHTML:t}))}};s.CW=6.8,s.style=":host{display:inline-block;line-height:0;}.link{display:inline-block;line-height:0;text-decoration:none;color:inherit}.link svg{display:block}";export{s as eds_trl_badge}
1
+ import{r as t,h as e,H as n}from"./p-271c61ff.js";function i(t){return'<linearGradient id="__UID__Unbenannter_Verlauf_29" x1="-26.7" y1="64.8" x2="155" y2="-19.9" gradientUnits="userSpaceOnUse"> <stop offset="0" stop-color="#03a98f"/> <stop offset=".1" stop-color="#10a97b"/> <stop offset=".3" stop-color="#23aa5f"/> <stop offset="1" stop-color="#00ff9d"/> </linearGradient><linearGradient id="__UID__Unbenannter_Verlauf_291" x1="38.6" y1="205" x2="220.3" y2="120.2" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_292" x1="33" y1="193" x2="214.8" y2="108.3" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_293" x1="-3.5" y1="114.7" x2="178.3" y2="30" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_294" x1="4.5" y1="131.8" x2="186.2" y2="47.1" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_295" x1="28.6" y1="183.6" x2="210.4" y2="98.9" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_296" x1="3.8" y1="130.3" x2="185.5" y2="45.5" href="#__UID__Unbenannter_Verlauf_29"/><linearGradient id="__UID__Unbenannter_Verlauf_297" x1="18" y1="160.6" x2="199.7" y2="75.9" href="#__UID__Unbenannter_Verlauf_29"/>'.replace(/__UID__/g,t)}function l(t,e,n,i=16){return`<g transform="translate(${e},${n}) scale(${(i/201.1).toFixed(4)})">${'<path fill="url(#__UID__Unbenannter_Verlauf_29)" d="M67.3,19.9c11.2-2.3,22.5-1,32.1,1.5.8.2,1.2-.8.5-1.3-11.6-7.3-20.9-11.4-26.6-13.5l-18.3,4.9c-3.4.9-6.4,2.7-8.9,5.1l-29.6,29.6c-2.5,2.5-4.2,5.5-5.1,8.9l-.7,2.6c1.7-1.5,3.4-3.2,5.2-4.9,12.6-12,29.9-28.4,51.3-32.9Z"/><path fill="url(#__UID__Unbenannter_Verlauf_291)" d="M33.8,172.2l12.3,12.3c2.5,2.5,5.5,4.2,8.9,5.1l40.4,10.8c3.4.9,6.9.9,10.2,0l40.4-10.8c3.4-.9,6.4-2.7,8.9-5.1l2.8-2.8c-80-32.2-119-12.3-123.9-9.5Z"/><path fill="url(#__UID__Unbenannter_Verlauf_292)" d="M97.7,137.4c-25.1.2-51.1.4-78.8,19.8l10.5,10.5h.1c2-1.5,42.4-27.9,132.8,9.1h.2c0,.1,18.6-18.4,18.6-18.4-7.8-2.8-58.6-21-83.1-21h-.3Z"/><path fill="url(#__UID__Unbenannter_Verlauf_293)" d="M137.2,41h0c2.6,2.4,5.3,5,8,7.7,26.3,26.3,43.8,37.2,53.9,41.8l-9.5-35.5c-.9-3.4-2.7-6.4-5.1-8.9l-29.6-29.6c-2.5-2.5-5.5-4.2-8.9-5.1L105.7.7c-3.4-.9-6.9-.9-10.2,0l-12.1,3.2c12.4,5.6,31.5,16.5,53.7,37,0,0,.1.1.2.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_294)" d="M132.7,86.1c4.9,1.6,26.3,12,26.3,12,1.7.7,7.3,3.3,8.9,4.1.7.3,1.3-.6.8-1.1-1.5-1.4-5.8-5-10.9-8.6,0,0-21.8-15.4-27.2-18.5-7.8-4.3-47.4-26.7-81.3-10C25.8,75.6,8,89.7.6,96c-.8,3.2-.7,6.5.1,9.7l3.4,12.8c7.2-6.7,20.2-17.2,40.4-28.2,35.4-19.2,61.9-12.8,88.2-4.2Z"/><path fill="url(#__UID__Unbenannter_Verlauf_295)" d="M55.9,128c-3.1,1.7-17.5,10.3-17.5,10.3,0,0-4.9,3-.2,1.9,2-.5,7.8-3.1,9.7-3.6,0,0,19.1-7,49.8-5.4.1,0,.2,0,.4,0,27.6,0,84.2,21,86.6,21.9l1.1.5c1.8-2.2,3.2-4.7,3.9-7.5l2.7-10.2c-14.1-5.9-55.1-22.3-81-22.3s-55.3,14.3-55.5,14.4Z"/><path fill="url(#__UID__Unbenannter_Verlauf_296)" d="M131.7,44.5c-2-1.7-4.9-3.9-8.5-6.3-1.8-1.3-3.6-2.3-5.4-3.2-8.1-4.1-29.1-13.1-49.2-9-19.7,4.1-35.5,19.2-48.2,31.3-4.7,4.5-8.7,8.3-12.4,11.1l-4.6,17.2c9.4-7.4,24.4-18,43.2-27.2,36.9-18.1,79.2,5.4,87.3,10.3,12.1,7.3,47.9,34.4,64,46.8l2.6-9.8c.7-2.5.8-5,.5-7.5-10.4-3.8-29.7-14.5-60.2-45-3.1-3.1-6.1-5.9-9.1-8.6Z"/><path fill="url(#__UID__Unbenannter_Verlauf_297)" d="M47.5,95.8c-22.1,12-35.5,23.6-41.5,29.6l5.5,20.7c.3,1.2.8,2.4,1.4,3.5,9.5-9.3,38.6-26.3,39.8-27,1-.6,25.6-15.3,58.7-15.3s67.5,16,82.6,22.4l1.1-4.2c-9.9-6.7-37.4-24.5-64.4-33.5-24.9-8.3-50-14.3-83.2,3.8Z"/>'.replace(/__UID__/g,t)}</g>`}let r=0;const s=class{constructor(e){t(this,e),this.uid=`trl${++r}-`,this.level=void 0,this.assessed=void 0,this.methodology=void 0,this.theme="dark",this.variant="tone",this.size=void 0,this.label="EBRAINS TRL",this.href=void 0}esc(t){return String(t).replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}levelColor(){const t=Number(this.level);return t>=7?"#00FF9D":t>=4?"#00C87B":"#7A7B7A"}valueText(){return Number(this.level)>=4?"#07140D":"#ECECEC"}fullText(){const t=[`${this.label} ${this.level}`];return this.assessed&&t.push(`assessed ${this.assessed}`),this.methodology&&t.push(`methodology ${this.methodology}`),t.join(" · ")}build(){const t=s.CW,e=this.uid,n=`${e}clip`,r=this.levelColor(),a=28,h="font-family=\"'IBM Plex Mono',monospace\"",_=this.esc(String(this.level));if("full"===this.variant){const s=(this.assessed?` · assessed ${this.esc(this.assessed)}`:"")+(this.methodology?` · methodology ${this.esc(this.methodology)}`:""),f=Math.ceil(a+this.fullText().length*t+10);return{w:f,h:24,inner:`<defs><clipPath id="${n}"><rect width="${f}" height="24" rx="6"/></clipPath>${i(e)}</defs><g clip-path="url(#${n})"><rect width="${f}" height="24" fill="#07140D"/></g>${l(e,8,4,16)}<text x="30" y="15.5" ${h} font-size="11" letter-spacing=".2"><tspan fill="#ECECEC">${this.esc(this.label)} </tspan><tspan fill="${r}" font-weight="600">${_}</tspan><tspan fill="#7A7B7A">${this.esc(s)}</tspan></text>`}}if("pill"===this.variant){const n=Math.ceil(a+`TRL ${this.level}`.length*t+14),s=a+(n-a)/2-4;return{w:n,h:24,inner:`<defs>${i(e)}</defs><rect width="${n}" height="24" rx="12" fill="#07140D"/>${l(e,7,4,16)}<text x="${s}" y="16" ${h} font-size="11" font-weight="500" letter-spacing=".5" text-anchor="middle"><tspan fill="#ECECEC">TRL </tspan><tspan fill="${r}" font-weight="600">${_}</tspan></text>`}}if("outline"===this.variant){const n="light"!==this.theme,s=n?"#0c1c14":"#ffffff",f=n?"#34473d":"#07140D",c=n?"#ECECEC":"#07140D",o=n?"#5a6b62":"#9aa39d",$=n?r:Number(this.level)>=4?"#00966a":"#7A7B7A",d=Math.ceil(a+`${this.label} · ${this.level}`.length*t+12);return{w:d,h:24,inner:`<defs>${i(e)}</defs><rect x=".5" y=".5" width="${d-1}" height="23" rx="6" fill="${s}" stroke="${f}"/>${l(e,8,4,16)}<text x="30" y="16" ${h} font-size="11" letter-spacing=".3"><tspan fill="${c}">${this.esc(this.label)} </tspan><tspan fill="${o}">· </tspan><tspan fill="${$}" font-weight="600">${_}</tspan></text>`}}if("scale"===this.variant){const n="light"!==this.theme,s=n?"#07140D":"#ECECEC",a=n?"#ECECEC":"#07140D",f=n?"#2f4339":"#c4ccc7",c=n?"#5a6b62":"#9aa39d",o=Math.max(0,Math.min(9,Number(this.level)||0)),$=Math.ceil(30+this.label.length*t+12),d=9,p=6,u=8,x=9;let g="";for(let t=0;t<9;t++)g+=`<rect x="${$+t*d}" y="${x}" width="${p}" height="${u}" rx="1" fill="${t<o?r:f}"/>`;const U=$+9*d+5,b=Math.ceil(U+`${this.level}/9`.length*t+8);return{w:b,h:26,inner:`<defs>${i(e)}</defs><rect width="${b}" height="26" rx="6" fill="${s}"/>${l(e,8,5,16)}<text x="30" y="17" ${h} font-size="11" letter-spacing=".3" fill="${a}">${this.esc(this.label)}</text><g>${g}</g><text x="${U}" y="17" ${h} font-size="11" font-weight="500"><tspan fill="${r}">${_}</tspan><tspan fill="${c}">/9</tspan></text>`}}const f="light"!==this.theme,c=f?"#07140D":"#ECECEC",o=f?"#ECECEC":"#07140D",$=f?this.valueText():"#07140D",d=Math.ceil(a+this.label.length*t+12),p=Math.ceil(12+String(this.level).length*t+12),u=d+p;return{w:u,h:24,inner:`<defs><clipPath id="${n}"><rect width="${u}" height="24" rx="6"/></clipPath>${i(e)}</defs><g clip-path="url(#${n})"><rect width="${d}" height="24" fill="${c}"/><rect x="${d}" width="${p}" height="24" fill="${r}"/></g>${l(e,8,4,16)}<text x="${a+(d-a)/2}" y="16" ${h} font-size="11" letter-spacing=".4" fill="${o}" text-anchor="middle">${this.esc(this.label)}</text><text x="${d+p/2}" y="16" ${h} font-size="11" font-weight="600" fill="${$}" text-anchor="middle">${_}</text>`}}buildSvg(){const{w:t,h:e,inner:n}=this.build(),i=this.esc(this.fullText()),l=this.size?this.size/e:1;return`<svg xmlns="http://www.w3.org/2000/svg" width="${Math.round(t*l)}" height="${Math.round(e*l)}" viewBox="0 0 ${t} ${e}" role="img" aria-label="${i}"><title>${i}</title>${n}</svg>`}render(){const t=this.buildSvg();return e(n,{key:"8da5cadf8dc1cef28dd16902013905bfefdd67aa"},this.href?e("a",{class:"link",href:this.href,"aria-label":this.fullText(),innerHTML:t}):e("span",{class:"link",innerHTML:t}))}};s.CW=6.8,s.style=":host{display:inline-block;line-height:0;}.link{display:inline-block;line-height:0;text-decoration:none;color:inherit}.link svg{display:block}";export{s as eds_trl_badge}
@@ -0,0 +1 @@
1
+ import{r as e,h as c}from"./p-271c61ff.js";const a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],s=class{constructor(c){e(this,c)}render(){return c("div",{key:"a6d5c05544bb0af37aeec022d53c9ebd64e891cc",class:"container"},c("div",{key:"058290373f57f7f887f79a41d0441f0791037220",class:"mb-8"},c("eds-alert",{key:"f6168be82e7a540a1940314134c9eb57dbd1fae4",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"})),c("div",{key:"c05365d2dcdce23a750c752cef81a7843fe9b54f",class:"flex"},c("div",{key:"16ca87385a2e3a8fc108df30d628f78534a1b057",class:"w-full"},c("ul",{key:"f8c62eec7f63fb153c1785ede3a2cf535dfad6e5",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map((e=>c("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},c("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),c("div",{key:"9c918b52798d9a50a4b4171dd3d2df0ff276a8fa",class:"w-full"},c("ul",{key:"f93524796d29dfc7d85da5a86a937519df10cdd3",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map((e=>c("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},c("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{s as incorrect_use_of_colors}
@@ -1 +1 @@
1
- import{r as t,h as e}from"./p-271c61ff.js";const s=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("token-list",{show:"background"});case 1:return e("token-list",{show:"text"});case 2:return e("token-list",{show:"border"});case 3:return e("token-radii",null);case 4:return e("token-list",{show:"outline"});case 5:return e("token-shadows",null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"4104127b2816de8034a5bde49162486930647142",class:"container"},this.renderContent())}};export{s as docs_tokens}
1
+ import{r as t,h as e}from"./p-271c61ff.js";const s=class{constructor(e){t(this,e),this.tabIndex=void 0}renderContent(){switch(this.tabIndex){case 0:return e("token-list",{show:"background"});case 1:return e("token-list",{show:"text"});case 2:return e("token-list",{show:"border"});case 3:return e("token-radii",null);case 4:return e("token-list",{show:"outline"});case 5:return e("token-shadows",null);default:return e("p",null,"Content not available.")}}render(){return e("div",{key:"8819d91f67b1df2f4e2a7da791bce550003eaa41",class:"container"},this.renderContent())}};export{s as docs_tokens}
@@ -0,0 +1 @@
1
+ import{r as s,h as r}from"./p-271c61ff.js";import{m as a}from"./p-5ab1d64a.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"e51e5c0a49b1e85511113f649abd58cd110218e8",class:this.class,innerHTML:a})}};export{e as eds_icon_mastodon}