@ebrains/components 2.0.0 → 2.1.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 (603) hide show
  1. package/dist/cjs/clone-846acfdd.js +5 -0
  2. package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
  3. package/dist/cjs/components-section.cjs.entry.js +2 -2
  4. package/dist/cjs/components.cjs.js +2 -2
  5. package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
  6. package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
  7. package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
  8. package/dist/cjs/edit-ff5b84d8.js +5 -0
  9. package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-accordion_33.cjs.entry.js} +3467 -157
  10. package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
  11. package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
  12. package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
  13. package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
  14. package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
  15. package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
  16. package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
  17. package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
  18. package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
  19. package/dist/cjs/eds-footer.cjs.entry.js +9 -3
  20. package/dist/cjs/eds-frame.cjs.entry.js +2 -2
  21. package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +1 -1
  22. package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
  23. package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
  24. package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
  25. package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
  26. package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
  27. package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
  28. package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
  29. package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
  30. package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
  31. package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
  32. package/dist/cjs/eds-icon-clone.cjs.entry.js +18 -0
  33. package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
  34. package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
  35. package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
  36. package/dist/cjs/eds-icon-edit.cjs.entry.js +3 -3
  37. package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
  38. package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
  39. package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
  40. package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
  41. package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
  42. package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
  43. package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
  44. package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
  45. package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
  46. package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
  47. package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
  48. package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
  49. package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
  50. package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
  51. package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
  52. package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
  53. package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
  54. package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
  55. package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
  56. package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
  57. package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
  58. package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
  59. package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
  60. package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
  61. package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
  62. package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
  63. package/dist/cjs/eds-icon-view.cjs.entry.js +18 -0
  64. package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
  65. package/dist/cjs/eds-modal.cjs.entry.js +3 -3
  66. package/dist/cjs/eds-pie.cjs.entry.js +1 -1
  67. package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
  68. package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
  69. package/dist/cjs/eds-social-networks.cjs.entry.js +2 -2
  70. package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
  71. package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
  72. package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
  73. package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
  74. package/dist/cjs/eds-tooltip.cjs.entry.js +2 -2
  75. package/dist/cjs/eds-trl.cjs.entry.js +2 -2
  76. package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
  77. package/dist/cjs/{index-88c8039f.js → index-0249a32e.js} +15 -28
  78. package/dist/cjs/loader.cjs.js +2 -2
  79. package/dist/cjs/logo-space.cjs.entry.js +2 -2
  80. package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
  81. package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
  82. package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
  83. package/dist/cjs/svg-repository.cjs.entry.js +8 -4
  84. package/dist/cjs/token-list_3.cjs.entry.js +4 -4
  85. package/dist/cjs/token-ratios.cjs.entry.js +2 -2
  86. package/dist/cjs/token-spacing.cjs.entry.js +2 -2
  87. package/dist/cjs/token-typography.cjs.entry.js +2 -2
  88. package/dist/cjs/view-80d5c6c8.js +5 -0
  89. package/dist/collection/collection-manifest.json +3 -0
  90. package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
  91. package/dist/collection/components/eds-alert/eds-alert.js +30 -3
  92. package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
  93. package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
  94. package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
  95. package/dist/collection/components/eds-button/eds-button.css +4 -0
  96. package/dist/collection/components/eds-button/eds-button.js +19 -8
  97. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
  98. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
  99. package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
  100. package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
  101. package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
  102. package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
  103. package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
  104. package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
  105. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
  106. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
  107. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
  108. package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
  109. package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
  110. package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
  111. package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
  112. package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
  113. package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +36 -0
  114. package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
  115. package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
  116. package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
  117. package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
  118. package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
  119. package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
  120. package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
  121. package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
  122. package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
  123. package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
  124. package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
  125. package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
  126. package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
  127. package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
  128. package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
  129. package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
  130. package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
  131. package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
  132. package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
  133. package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
  134. package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
  135. package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
  136. package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
  137. package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
  138. package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
  139. package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
  140. package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +36 -0
  141. package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
  142. package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
  143. package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
  144. package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
  145. package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
  146. package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
  147. package/dist/collection/components/eds-img/eds-img.js +2 -2
  148. package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
  149. package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
  150. package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
  151. package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
  152. package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
  153. package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
  154. package/dist/collection/components/eds-input-field/eds-input-field.js +3 -2
  155. package/dist/collection/components/eds-link/eds-link.js +27 -7
  156. package/dist/collection/components/eds-link/eds-link.stories.js +3 -1
  157. package/dist/collection/components/eds-logo/eds-logo.js +1 -1
  158. package/dist/collection/components/eds-modal/eds-modal.js +2 -2
  159. package/dist/collection/components/eds-nps/eds-npm.stories.js +36 -0
  160. package/dist/collection/components/eds-nps/eds-nps.css +73 -0
  161. package/dist/collection/components/eds-nps/eds-nps.js +163 -0
  162. package/dist/collection/components/eds-pagination/eds-pagination.css +4 -0
  163. package/dist/collection/components/eds-pagination/eds-pagination.js +130 -50
  164. package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
  165. package/dist/collection/components/eds-rating/eds-rating.js +25 -3
  166. package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
  167. package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
  168. package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
  169. package/dist/collection/components/eds-switch/eds-switch.css +15 -5
  170. package/dist/collection/components/eds-switch/eds-switch.js +26 -4
  171. package/dist/collection/components/eds-table/eds-table.js +38 -37
  172. package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
  173. package/dist/collection/components/eds-tag/eds-tag.js +1 -1
  174. package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
  175. package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
  176. package/dist/collection/components/eds-trl/eds-trl.js +1 -1
  177. package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
  178. package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
  179. package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
  180. package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
  181. package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
  182. package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
  183. package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
  184. package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
  185. package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
  186. package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
  187. package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
  188. package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
  189. package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
  190. package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
  191. package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
  192. package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
  193. package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
  194. package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
  195. package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
  196. package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
  197. package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
  198. package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
  199. package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
  200. package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
  201. package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
  202. package/dist/collection/shared-ui/eds-footer/eds-footer.js +8 -2
  203. package/dist/collection/shared-ui/eds-form/eds-form.js +26 -4
  204. package/dist/collection/shared-ui/eds-form/eds-form.stories.js +1 -1
  205. package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
  206. package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
  207. package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
  208. package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +26 -5
  209. package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +89 -31
  210. package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
  211. package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
  212. package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
  213. package/dist/collection/utils/eds-form/formValidators.js +33 -0
  214. package/dist/components/clone.js +3 -0
  215. package/dist/components/components-section.js +1 -1
  216. package/dist/components/components.css +7 -9
  217. package/dist/components/components.esm.js +1 -1
  218. package/dist/components/correct-use-of-colors.js +1 -1
  219. package/dist/components/docs-palettes.js +1 -1
  220. package/dist/components/docs-tokens.js +1 -1
  221. package/dist/components/edit.js +1 -1
  222. package/dist/components/eds-accordion2.js +1 -1
  223. package/dist/components/eds-alert2.js +21 -5
  224. package/dist/components/eds-app-root.js +1 -1
  225. package/dist/components/eds-avatar2.js +1 -1
  226. package/dist/components/eds-block-break2.js +1 -1
  227. package/dist/components/eds-breadcrumb.js +1 -1
  228. package/dist/components/eds-button2.js +21 -10
  229. package/dist/components/eds-card-desc2.js +1 -1
  230. package/dist/components/eds-card-project.js +1 -1
  231. package/dist/components/eds-card-tags.js +1 -1
  232. package/dist/components/eds-card-title2.js +1 -1
  233. package/dist/components/eds-card-tool.js +1 -1
  234. package/dist/components/eds-code-block2.js +1 -1
  235. package/dist/components/eds-cookies-preference.js +1 -1
  236. package/dist/components/eds-dropdown2.js +2 -2
  237. package/dist/components/eds-feedback.js +1 -1
  238. package/dist/components/eds-footer2.js +8 -2
  239. package/dist/components/eds-form.js +80 -22
  240. package/dist/components/eds-frame.js +1 -1
  241. package/dist/components/eds-gauge.js +1 -1
  242. package/dist/components/eds-header.js +1 -1
  243. package/dist/components/eds-icon-arrow-diagonal.js +1 -1
  244. package/dist/components/eds-icon-arrow-right.js +1 -1
  245. package/dist/components/eds-icon-bin.js +1 -1
  246. package/dist/components/eds-icon-bluesky.js +1 -1
  247. package/dist/components/eds-icon-bookmark.js +1 -1
  248. package/dist/components/eds-icon-chevron-down.js +1 -1
  249. package/dist/components/eds-icon-chevron-left.js +1 -1
  250. package/dist/components/eds-icon-chevron-right.js +1 -1
  251. package/dist/components/eds-icon-chevron-up.js +1 -1
  252. package/dist/components/eds-icon-clone.d.ts +11 -0
  253. package/dist/components/eds-icon-clone.js +33 -0
  254. package/dist/components/eds-icon-close.js +1 -1
  255. package/dist/components/eds-icon-copy.js +1 -1
  256. package/dist/components/eds-icon-draft.js +1 -1
  257. package/dist/components/eds-icon-edit.js +1 -1
  258. package/dist/components/eds-icon-eu.js +1 -1
  259. package/dist/components/eds-icon-external.js +1 -1
  260. package/dist/components/eds-icon-facebook.js +1 -1
  261. package/dist/components/eds-icon-gitlab.js +1 -1
  262. package/dist/components/eds-icon-linkedin.js +1 -1
  263. package/dist/components/eds-icon-loader.js +1 -1
  264. package/dist/components/eds-icon-mastodon.js +1 -1
  265. package/dist/components/eds-icon-menu.js +1 -1
  266. package/dist/components/eds-icon-minus.js +1 -1
  267. package/dist/components/eds-icon-more.js +1 -1
  268. package/dist/components/eds-icon-paper.js +1 -1
  269. package/dist/components/eds-icon-plus.js +1 -1
  270. package/dist/components/eds-icon-portal.js +1 -1
  271. package/dist/components/eds-icon-private.js +1 -1
  272. package/dist/components/eds-icon-public.js +1 -1
  273. package/dist/components/eds-icon-search.js +1 -1
  274. package/dist/components/eds-icon-star.js +1 -1
  275. package/dist/components/eds-icon-start.js +1 -1
  276. package/dist/components/eds-icon-success.js +1 -1
  277. package/dist/components/eds-icon-thumbs-down.js +1 -1
  278. package/dist/components/eds-icon-thumbs-up.js +1 -1
  279. package/dist/components/eds-icon-tutorial.js +1 -1
  280. package/dist/components/eds-icon-twitter.js +1 -1
  281. package/dist/components/eds-icon-unknown.js +1 -1
  282. package/dist/components/eds-icon-updown.js +1 -1
  283. package/dist/components/eds-icon-user.js +1 -1
  284. package/dist/components/eds-icon-view.d.ts +11 -0
  285. package/dist/components/eds-icon-view.js +33 -0
  286. package/dist/components/eds-icon-youtube.js +1 -1
  287. package/dist/components/eds-img2.js +2 -2
  288. package/dist/components/eds-input-field2.js +4 -3
  289. package/dist/components/eds-input-footer2.js +1 -1
  290. package/dist/components/eds-input-label2.js +1 -1
  291. package/dist/components/eds-input-range2.js +1 -1
  292. package/dist/components/eds-input-search2.js +1 -1
  293. package/dist/components/eds-input-select2.js +2 -2
  294. package/dist/components/eds-input2.js +2 -2
  295. package/dist/components/eds-link2.js +27 -7
  296. package/dist/components/eds-logo2.js +1 -1
  297. package/dist/components/eds-modal.js +2 -2
  298. package/dist/components/eds-nps.d.ts +11 -0
  299. package/dist/components/eds-nps.js +6 -0
  300. package/dist/components/eds-nps2.js +120 -0
  301. package/dist/components/eds-pagination2.js +119 -52
  302. package/dist/components/eds-progress-bar2.js +1 -1
  303. package/dist/components/eds-rating2.js +25 -3
  304. package/dist/components/eds-section-core2.js +1 -1
  305. package/dist/components/eds-section-heading2.js +2 -2
  306. package/dist/components/eds-social-networks2.js +1 -1
  307. package/dist/components/eds-spinner2.js +1 -1
  308. package/dist/components/eds-switch.js +27 -5
  309. package/dist/components/eds-table2.js +45 -20
  310. package/dist/components/eds-tabs.js +90 -32
  311. package/dist/components/eds-tag2.js +1 -1
  312. package/dist/components/eds-timeline.js +1 -1
  313. package/dist/components/eds-toast-manager.js +1 -1
  314. package/dist/components/eds-tooltip.js +1 -1
  315. package/dist/components/eds-trl.js +8 -2
  316. package/dist/components/eds-user.js +3 -9
  317. package/dist/components/incorrect-use-of-colors.js +9 -3
  318. package/dist/components/logo-space.js +8 -2
  319. package/dist/components/logo-variations-horizontal2.js +1 -1
  320. package/dist/components/logo-variations-tabs.js +1 -1
  321. package/dist/components/logo-variations-vertical2.js +1 -1
  322. package/dist/components/logo-wrong-usage.js +1 -1
  323. package/dist/components/p-05654483.entry.js +1 -0
  324. package/dist/components/{p-9e53eca3.entry.js → p-09079c5c.entry.js} +1 -1
  325. package/dist/components/p-10997947.entry.js +1 -0
  326. package/dist/components/p-19e69c03.entry.js +1 -0
  327. package/dist/components/p-1ab1ea29.entry.js +1 -0
  328. package/dist/components/p-1bcf743d.entry.js +1 -0
  329. package/dist/components/{p-9d18d7b1.entry.js → p-1d18106d.entry.js} +1 -1
  330. package/dist/components/{p-adbd0d7b.entry.js → p-265150a1.entry.js} +1 -1
  331. package/dist/components/p-27c4a06e.js +1 -0
  332. package/dist/components/{p-e35e156d.entry.js → p-2e0c3fc4.entry.js} +1 -1
  333. package/dist/components/{p-6d3b5818.entry.js → p-2ef4dd11.entry.js} +1 -1
  334. package/dist/components/p-3360e1e2.entry.js +1 -0
  335. package/dist/components/{p-93e6ba0f.entry.js → p-38bc21e9.entry.js} +1 -1
  336. package/dist/components/p-3b29e0fd.entry.js +1 -0
  337. package/dist/components/p-42457a0f.entry.js +1 -0
  338. package/dist/components/p-4a6a72db.entry.js +1 -0
  339. package/dist/components/p-4b33909d.entry.js +1 -0
  340. package/dist/components/p-4bf4bc93.entry.js +1 -0
  341. package/dist/components/{p-773a119a.entry.js → p-4c84fcf4.entry.js} +1 -1
  342. package/dist/components/p-4eb2cf7f.js +1 -0
  343. package/dist/components/p-5367bb59.entry.js +1 -0
  344. package/dist/components/p-547a53d6.entry.js +1 -0
  345. package/dist/components/p-560fc3a4.entry.js +1 -0
  346. package/dist/components/p-5a58f1c1.entry.js +1 -0
  347. package/dist/components/p-5b55f951.entry.js +1 -0
  348. package/dist/components/p-5ba49cf2.entry.js +1 -0
  349. package/dist/components/p-5dd85979.entry.js +1 -0
  350. package/dist/components/{p-356846cd.entry.js → p-5f348b0e.entry.js} +1 -1
  351. package/dist/components/p-634b6ca2.entry.js +1 -0
  352. package/dist/components/{p-b073d78f.entry.js → p-64b7a6fc.entry.js} +1 -1
  353. package/dist/components/{p-02d94d2d.entry.js → p-6614881d.entry.js} +1 -1
  354. package/dist/components/{p-2839899a.entry.js → p-67ec46b4.entry.js} +1 -1
  355. package/dist/components/p-6b988c76.entry.js +1 -0
  356. package/dist/components/p-6cd6ff0c.entry.js +1 -0
  357. package/dist/components/{p-f6ca2aa6.entry.js → p-706a106c.entry.js} +1 -1
  358. package/dist/components/p-71ee4af2.entry.js +1 -0
  359. package/dist/components/{p-794f11e7.entry.js → p-743f9f8f.entry.js} +1 -1
  360. package/dist/components/p-789f54cb.entry.js +1 -0
  361. package/dist/components/{p-8c0b0121.entry.js → p-79afd8aa.entry.js} +1 -1
  362. package/dist/components/{p-b3a40663.entry.js → p-7a3f2576.entry.js} +1 -1
  363. package/dist/components/p-7a5623b5.entry.js +1 -0
  364. package/dist/components/p-7ca6db64.entry.js +1 -0
  365. package/dist/components/p-7fa46b01.entry.js +1 -0
  366. package/dist/components/{p-3e183368.entry.js → p-8627afc0.entry.js} +1 -1
  367. package/dist/components/p-86eff0cb.entry.js +1 -0
  368. package/dist/components/p-89048f87.entry.js +1 -0
  369. package/dist/components/p-8cf98230.entry.js +1 -0
  370. package/dist/components/{p-8dee879d.entry.js → p-8d363a3c.entry.js} +1 -1
  371. package/dist/components/p-9261d27c.entry.js +1 -0
  372. package/dist/components/p-97323c46.entry.js +1 -0
  373. package/dist/components/p-9b90296c.entry.js +1 -0
  374. package/dist/components/{p-1f5c19b9.entry.js → p-9c1c5e8d.entry.js} +1 -1
  375. package/dist/components/p-9cb14b1f.entry.js +1 -0
  376. package/dist/components/p-9f0a34b4.entry.js +1 -0
  377. package/dist/components/p-a8ca8346.entry.js +1 -0
  378. package/dist/components/{p-43468b0f.entry.js → p-ab3b0a53.entry.js} +1 -1
  379. package/dist/components/p-b0d38b78.entry.js +1 -0
  380. package/dist/components/{p-66f4cdd9.entry.js → p-b31babda.entry.js} +1 -1
  381. package/dist/components/p-b6ee4250.entry.js +1 -0
  382. package/dist/components/{p-0687532c.entry.js → p-b88a2267.entry.js} +1 -1
  383. package/dist/components/{p-024789cc.entry.js → p-b9a1aba3.entry.js} +1 -1
  384. package/dist/components/p-b9fdcb1b.entry.js +1 -0
  385. package/dist/components/{p-73c74835.entry.js → p-ba9f41de.entry.js} +1 -1
  386. package/dist/components/p-beacaa4f.entry.js +1 -0
  387. package/dist/components/p-bfa23535.entry.js +1 -0
  388. package/dist/components/p-c4ac0528.entry.js +1 -0
  389. package/dist/components/p-cb114bf4.entry.js +1 -0
  390. package/dist/components/p-cd05a97b.entry.js +1 -0
  391. package/dist/components/{p-3a331c68.entry.js → p-cd787744.entry.js} +1 -1
  392. package/dist/components/p-cdc1c8e8.entry.js +1 -0
  393. package/dist/components/{p-4e473b4e.entry.js → p-d1927da7.entry.js} +1 -1
  394. package/dist/components/{p-564431ad.entry.js → p-d1d1943b.entry.js} +1 -1
  395. package/dist/components/{p-543f2347.entry.js → p-d2e485a1.entry.js} +1 -1
  396. package/dist/components/{p-e2e7250a.entry.js → p-d95d7353.entry.js} +1 -1
  397. package/dist/components/{p-76905315.entry.js → p-e0ada7e0.entry.js} +1 -1
  398. package/dist/components/{p-70e8e66f.entry.js → p-e210ddbb.entry.js} +1 -1
  399. package/dist/components/p-e5892379.entry.js +1 -0
  400. package/dist/components/p-e8374410.entry.js +1 -0
  401. package/dist/components/p-e90da4ba.entry.js +1 -0
  402. package/dist/components/p-ec706eed.entry.js +1 -0
  403. package/dist/components/{p-28ae3f3a.js → p-efbc374c.js} +2 -2
  404. package/dist/components/p-f2abe4d8.js +1 -0
  405. package/dist/components/p-f32963ff.entry.js +9 -0
  406. package/dist/components/p-f40dd50d.entry.js +1 -0
  407. package/dist/components/p-f6012c17.entry.js +1 -0
  408. package/dist/components/p-fcba31fa.entry.js +1 -0
  409. package/dist/components/primary.js +1 -1
  410. package/dist/components/primary2.js +1 -1
  411. package/dist/components/secondary.js +1 -1
  412. package/dist/components/secondary2.js +7 -7
  413. package/dist/components/support.js +1 -1
  414. package/dist/components/support2.js +3 -3
  415. package/dist/components/svg-repository.js +13 -3
  416. package/dist/components/token-list2.js +1 -1
  417. package/dist/components/token-radii2.js +1 -1
  418. package/dist/components/token-ratios.js +1 -1
  419. package/dist/components/token-shadows2.js +1 -1
  420. package/dist/components/token-spacing.js +1 -1
  421. package/dist/components/token-typography.js +1 -1
  422. package/dist/components/view.js +3 -0
  423. package/dist/esm/clone-dab56639.js +3 -0
  424. package/dist/esm/color-primary-palette_6.entry.js +15 -15
  425. package/dist/esm/components-section.entry.js +2 -2
  426. package/dist/esm/components.js +3 -3
  427. package/dist/esm/correct-use-of-colors.entry.js +2 -2
  428. package/dist/esm/docs-palettes.entry.js +2 -2
  429. package/dist/esm/docs-tokens.entry.js +2 -2
  430. package/dist/esm/edit-3893a517.js +3 -0
  431. package/dist/esm/{eds-avatar_26.entry.js → eds-accordion_33.entry.js} +3462 -159
  432. package/dist/esm/eds-app-root.entry.js +2 -2
  433. package/dist/esm/eds-card-desc_2.entry.js +3 -3
  434. package/dist/esm/eds-card-generic.entry.js +1 -1
  435. package/dist/esm/eds-card-project.entry.js +2 -2
  436. package/dist/esm/eds-card-section.entry.js +1 -1
  437. package/dist/esm/eds-card-tags.entry.js +2 -2
  438. package/dist/esm/eds-card-tool.entry.js +2 -2
  439. package/dist/esm/eds-cookies-preference.entry.js +2 -2
  440. package/dist/esm/eds-feedback.entry.js +2 -2
  441. package/dist/esm/eds-footer.entry.js +9 -3
  442. package/dist/esm/eds-frame.entry.js +2 -2
  443. package/dist/esm/eds-fullscreen-menu.entry.js +1 -1
  444. package/dist/esm/eds-gauge.entry.js +2 -2
  445. package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
  446. package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
  447. package/dist/esm/eds-icon-bin.entry.js +2 -2
  448. package/dist/esm/eds-icon-bluesky.entry.js +2 -2
  449. package/dist/esm/eds-icon-bookmark.entry.js +2 -2
  450. package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
  451. package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
  452. package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
  453. package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
  454. package/dist/esm/eds-icon-clone.entry.js +14 -0
  455. package/dist/esm/eds-icon-close.entry.js +2 -2
  456. package/dist/esm/eds-icon-copy.entry.js +2 -2
  457. package/dist/esm/eds-icon-draft.entry.js +2 -2
  458. package/dist/esm/eds-icon-edit.entry.js +3 -3
  459. package/dist/esm/eds-icon-eu.entry.js +2 -2
  460. package/dist/esm/eds-icon-external.entry.js +2 -2
  461. package/dist/esm/eds-icon-facebook.entry.js +2 -2
  462. package/dist/esm/eds-icon-gitlab.entry.js +2 -2
  463. package/dist/esm/eds-icon-linkedin.entry.js +2 -2
  464. package/dist/esm/eds-icon-loader.entry.js +2 -2
  465. package/dist/esm/eds-icon-mastodon.entry.js +2 -2
  466. package/dist/esm/eds-icon-menu.entry.js +2 -2
  467. package/dist/esm/eds-icon-minus.entry.js +2 -2
  468. package/dist/esm/eds-icon-more.entry.js +2 -2
  469. package/dist/esm/eds-icon-paper.entry.js +2 -2
  470. package/dist/esm/eds-icon-plus.entry.js +2 -2
  471. package/dist/esm/eds-icon-portal.entry.js +2 -2
  472. package/dist/esm/eds-icon-private.entry.js +2 -2
  473. package/dist/esm/eds-icon-public.entry.js +2 -2
  474. package/dist/esm/eds-icon-search.entry.js +2 -2
  475. package/dist/esm/eds-icon-star.entry.js +2 -2
  476. package/dist/esm/eds-icon-start.entry.js +2 -2
  477. package/dist/esm/eds-icon-success.entry.js +2 -2
  478. package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
  479. package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
  480. package/dist/esm/eds-icon-tutorial.entry.js +2 -2
  481. package/dist/esm/eds-icon-twitter.entry.js +2 -2
  482. package/dist/esm/eds-icon-unknown.entry.js +2 -2
  483. package/dist/esm/eds-icon-updown.entry.js +2 -2
  484. package/dist/esm/eds-icon-user.entry.js +2 -2
  485. package/dist/esm/eds-icon-view.entry.js +14 -0
  486. package/dist/esm/eds-icon-youtube.entry.js +2 -2
  487. package/dist/esm/eds-modal.entry.js +3 -3
  488. package/dist/esm/eds-pie.entry.js +1 -1
  489. package/dist/esm/eds-progress-bar.entry.js +2 -2
  490. package/dist/esm/eds-section-core_2.entry.js +4 -4
  491. package/dist/esm/eds-social-networks.entry.js +2 -2
  492. package/dist/esm/eds-spinner.entry.js +2 -2
  493. package/dist/esm/eds-splash-screen.entry.js +1 -1
  494. package/dist/esm/eds-timeline.entry.js +2 -2
  495. package/dist/esm/eds-toast-manager.entry.js +2 -2
  496. package/dist/esm/eds-tooltip.entry.js +2 -2
  497. package/dist/esm/eds-trl.entry.js +2 -2
  498. package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
  499. package/dist/esm/{index-fdb33359.js → index-e84b871c.js} +15 -28
  500. package/dist/esm/loader.js +3 -3
  501. package/dist/esm/logo-space.entry.js +2 -2
  502. package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
  503. package/dist/esm/logo-variations-tabs.entry.js +2 -2
  504. package/dist/esm/logo-wrong-usage.entry.js +2 -2
  505. package/dist/esm/svg-repository.entry.js +8 -4
  506. package/dist/esm/token-list_3.entry.js +4 -4
  507. package/dist/esm/token-ratios.entry.js +2 -2
  508. package/dist/esm/token-spacing.entry.js +2 -2
  509. package/dist/esm/token-typography.entry.js +2 -2
  510. package/dist/esm/view-e900f2d4.js +3 -0
  511. package/dist/hydrate/index.js +690 -257
  512. package/dist/hydrate/index.mjs +690 -257
  513. package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +3 -1
  514. package/dist/types/components/eds-alert/eds-alert.d.ts +6 -0
  515. package/dist/types/components/eds-button/eds-button.d.ts +1 -0
  516. package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +10 -0
  517. package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +10 -0
  518. package/dist/types/components/eds-link/eds-link.d.ts +1 -0
  519. package/dist/types/components/eds-nps/eds-npm.stories.d.ts +28 -0
  520. package/dist/types/components/eds-nps/eds-nps.d.ts +20 -0
  521. package/dist/types/components/eds-pagination/eds-pagination.d.ts +23 -2
  522. package/dist/types/components/eds-rating/eds-rating.d.ts +3 -1
  523. package/dist/types/components/eds-switch/eds-switch.d.ts +1 -0
  524. package/dist/types/components/eds-table/eds-table.d.ts +3 -4
  525. package/dist/types/components/eds-table/eds-table.stories.d.ts +7 -2
  526. package/dist/types/components.d.ts +133 -12
  527. package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
  528. package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +7 -9
  529. package/dist/types/utils/eds-form/formValidators.d.ts +1 -0
  530. package/package.json +1 -1
  531. package/dist/cjs/edit-5714c144.js +0 -5
  532. package/dist/cjs/eds-accordion.cjs.entry.js +0 -87
  533. package/dist/cjs/eds-alert.cjs.entry.js +0 -104
  534. package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -145
  535. package/dist/cjs/eds-code-block.cjs.entry.js +0 -2489
  536. package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -125
  537. package/dist/cjs/eds-switch.cjs.entry.js +0 -46
  538. package/dist/components/p-023bc47c.entry.js +0 -1
  539. package/dist/components/p-02df910c.entry.js +0 -1
  540. package/dist/components/p-0be79e08.entry.js +0 -1
  541. package/dist/components/p-0e74d8b4.entry.js +0 -1
  542. package/dist/components/p-11efb1d1.entry.js +0 -1
  543. package/dist/components/p-1791ce82.entry.js +0 -1
  544. package/dist/components/p-19d586e6.entry.js +0 -1
  545. package/dist/components/p-2679926c.entry.js +0 -1
  546. package/dist/components/p-2d1a7471.entry.js +0 -1
  547. package/dist/components/p-2ff16a39.entry.js +0 -1
  548. package/dist/components/p-32e18e48.entry.js +0 -1
  549. package/dist/components/p-38e99d4b.entry.js +0 -1
  550. package/dist/components/p-4088ae0e.entry.js +0 -1
  551. package/dist/components/p-4277fb1a.entry.js +0 -1
  552. package/dist/components/p-42a73db4.entry.js +0 -1
  553. package/dist/components/p-44055e68.entry.js +0 -1
  554. package/dist/components/p-4a5d0dcd.entry.js +0 -1
  555. package/dist/components/p-4a7412ec.entry.js +0 -1
  556. package/dist/components/p-4b88d84c.entry.js +0 -1
  557. package/dist/components/p-50f43dfd.entry.js +0 -1
  558. package/dist/components/p-562afa88.entry.js +0 -1
  559. package/dist/components/p-5aa4065a.entry.js +0 -1
  560. package/dist/components/p-5ae1c931.entry.js +0 -1
  561. package/dist/components/p-634258e6.entry.js +0 -1
  562. package/dist/components/p-68f45098.entry.js +0 -1
  563. package/dist/components/p-73a44c48.entry.js +0 -1
  564. package/dist/components/p-7dbe791f.entry.js +0 -1
  565. package/dist/components/p-7ec52188.entry.js +0 -1
  566. package/dist/components/p-7fc84bb2.js +0 -1
  567. package/dist/components/p-82559816.entry.js +0 -1
  568. package/dist/components/p-85683b18.entry.js +0 -1
  569. package/dist/components/p-8681e5d8.entry.js +0 -1
  570. package/dist/components/p-877d13d9.entry.js +0 -1
  571. package/dist/components/p-911b1c0b.entry.js +0 -1
  572. package/dist/components/p-960aa103.entry.js +0 -1
  573. package/dist/components/p-996005b7.entry.js +0 -1
  574. package/dist/components/p-aa5e75b4.entry.js +0 -1
  575. package/dist/components/p-ae9393b6.entry.js +0 -1
  576. package/dist/components/p-af137162.entry.js +0 -1
  577. package/dist/components/p-b630e51a.entry.js +0 -1
  578. package/dist/components/p-bb9af709.entry.js +0 -1
  579. package/dist/components/p-c2dc3692.entry.js +0 -1
  580. package/dist/components/p-c91b4eec.entry.js +0 -1
  581. package/dist/components/p-caff3355.entry.js +0 -1
  582. package/dist/components/p-ce66ea37.entry.js +0 -1
  583. package/dist/components/p-d4f239d7.entry.js +0 -1
  584. package/dist/components/p-d7251d4d.entry.js +0 -1
  585. package/dist/components/p-deb9bbed.entry.js +0 -1
  586. package/dist/components/p-ed4d9bf5.entry.js +0 -1
  587. package/dist/components/p-ed7696a2.entry.js +0 -1
  588. package/dist/components/p-f2416727.entry.js +0 -1
  589. package/dist/components/p-f28b5da7.entry.js +0 -1
  590. package/dist/components/p-f3839914.entry.js +0 -1
  591. package/dist/components/p-f42b6251.entry.js +0 -1
  592. package/dist/components/p-f7a31196.entry.js +0 -1
  593. package/dist/components/p-f973c83b.entry.js +0 -1
  594. package/dist/components/p-fe167c78.entry.js +0 -9
  595. package/dist/esm/edit-1dc8d11b.js +0 -3
  596. package/dist/esm/eds-accordion.entry.js +0 -83
  597. package/dist/esm/eds-alert.entry.js +0 -100
  598. package/dist/esm/eds-breadcrumb.entry.js +0 -141
  599. package/dist/esm/eds-code-block.entry.js +0 -2485
  600. package/dist/esm/eds-matomo-notice.entry.js +0 -121
  601. package/dist/esm/eds-switch.entry.js +0 -42
  602. /package/dist/collection/shared-ui/eds-toast-manager/{eds-toast-manager.stories.js → eds-toast-manager.st.js} +0 -0
  603. /package/dist/types/shared-ui/eds-toast-manager/{eds-toast-manager.stories.d.ts → eds-toast-manager.st.d.ts} +0 -0
@@ -30,11 +30,6 @@ button.switch {
30
30
  transition: background-color 0.2s;
31
31
  }
32
32
 
33
- button.switch:focus {
34
- outline: none;
35
- box-shadow: 0 0 0 2px #007aff;
36
- }
37
-
38
33
  button.switch.switch--checked {
39
34
  background-color: var(--green-500);
40
35
  }
@@ -66,4 +61,19 @@ button.switch.switch--checked .switch-handle {
66
61
 
67
62
  .mr-8 {
68
63
  margin-right: 0.5rem;
64
+ }
65
+
66
+ .switch:focus {
67
+ outline: 2px solid #005fcc;
68
+ outline-offset: 2px;
69
+ }
70
+
71
+ .switch:focus:not(:focus-visible) {
72
+ outline: none;
73
+ }
74
+
75
+ .switch:focus-visible {
76
+ outline-width: 3px;
77
+ outline-offset: 2px;
78
+ outline-color: var(--green-500);
69
79
  }
@@ -15,19 +15,41 @@ export class EdsSwitch {
15
15
  action: 'checked'
16
16
  });
17
17
  };
18
+ this.handleKeyDown = (e) => {
19
+ if (this.disabled) {
20
+ return;
21
+ }
22
+ if (e.key === 'Enter' || e.key === ' ') {
23
+ e.preventDefault();
24
+ this.toggleSwitch();
25
+ }
26
+ };
18
27
  this.checked = false;
19
28
  this.disabled = false;
20
29
  this.labelOn = '';
21
30
  this.labelOff = '';
22
31
  }
23
32
  render() {
24
- // Compute an accessible name based on state.
25
- const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
26
- return (h("div", { key: '1de6f7afd451f5d0276b62ef7bbf817f132e4440', class: "switch-container" }, this.labelOff && h("span", { key: 'd2d1017d7d26537eb2e65fa74b1f86453edc93d2', class: "switch-label switch-label--off mr-8" }, this.labelOff), h("button", { key: 'ade3ba909f5744a2b87238da52fcc33f600721cf', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
33
+ const switchId = `switch-${Math.random().toString(36).substr(2, 9)}`;
34
+ const labelledBy = [];
35
+ if (this.labelOff) {
36
+ labelledBy.push(`${switchId}-off`);
37
+ }
38
+ if (this.labelOn) {
39
+ labelledBy.push(`${switchId}-on`);
40
+ }
41
+ const accessibleLabel = labelledBy.length === 0
42
+ ? this.labelOn || this.labelOff
43
+ ? this.checked
44
+ ? this.labelOn
45
+ : this.labelOff
46
+ : 'Toggle switch'
47
+ : undefined;
48
+ return (h("div", { key: 'f4c99a2ec360af6030de11698bab82833b3f415f', class: "switch-container" }, this.labelOff && (h("span", { key: '8bb8d063e744c194c0d44a0c371ae8224f9611cb', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), h("button", { key: 'ccc49c8ac6f639707c90822e24f3ae3ab8f2c26c', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
27
49
  switch: true,
28
50
  'switch--checked': this.checked,
29
51
  'switch--disabled': this.disabled
30
- }, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '64034f73021623f63523c7bb52ec5233ad291c55', class: "switch-handle" })), this.labelOn && h("span", { key: 'a96a35565ac28ed6a27855b90b180f15adb0e711', class: "switch-label switch-label--on ml-8" }, this.labelOn)));
52
+ }, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: '2275930bc9909c0a95c6c10e28f715fe1afe9294', class: "switch-handle" })), this.labelOn && (h("span", { key: 'd789fd15943c1fadf1f87c55059261eaf5e05a8f', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
31
53
  }
32
54
  static get is() { return "eds-switch"; }
33
55
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,6 @@ import { parseData } from "../../utils/sharedUtils";
33
33
  * `EdsTable` is a customizable data table component with support for dynamic data fetching, column configuration, pagination, and search functionality.
34
34
  *
35
35
  * Key Features:
36
- * - Accepts static data or fetches dynamic data from an endpoint.
37
36
  * - Configurable columns with options to hide or apply text formatting (uppercase, bold, or code).
38
37
  * - Pagination support with adjustable rows per page.
39
38
  * - Searchable content for easier data filtering.
@@ -45,8 +44,33 @@ export class EdsTable {
45
44
  this.handleResize = () => {
46
45
  this.updateContainerWidth();
47
46
  };
47
+ this.onActionKeyDown = (e) => {
48
+ var _a;
49
+ if (e.key !== 'ArrowRight' && e.key !== 'ArrowLeft') {
50
+ return;
51
+ }
52
+ e.preventDefault();
53
+ const currentButton = e.target;
54
+ const toolbar = currentButton.closest('[role="toolbar"]');
55
+ if (!toolbar) {
56
+ return;
57
+ }
58
+ // Find all focusable action buttons in this row
59
+ const actionButtons = Array.from(toolbar.querySelectorAll('eds-button'));
60
+ const currentIndex = actionButtons.indexOf(currentButton);
61
+ if (currentIndex === -1) {
62
+ return;
63
+ }
64
+ let nextIndex;
65
+ if (e.key === 'ArrowRight') {
66
+ nextIndex = (currentIndex + 1) % actionButtons.length;
67
+ }
68
+ else {
69
+ nextIndex = (currentIndex - 1 + actionButtons.length) % actionButtons.length;
70
+ }
71
+ (_a = actionButtons[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
72
+ };
48
73
  this.data = null;
49
- this.endpoint = null;
50
74
  this.config = {};
51
75
  this.rowsPerPage = 10;
52
76
  this.paginationEnabled = true;
@@ -84,7 +108,7 @@ export class EdsTable {
84
108
  componentWillLoad() {
85
109
  this.parseConfig();
86
110
  this.handleActionsChange();
87
- this.data ? this.parseData() : this.endpoint && this.fetchData();
111
+ this.parseData();
88
112
  }
89
113
  componentDidLoad() {
90
114
  this.updateContainerWidth();
@@ -132,17 +156,6 @@ export class EdsTable {
132
156
  this.parsedConfig = {};
133
157
  }
134
158
  }
135
- async fetchData() {
136
- try {
137
- const response = await fetch(this.endpoint);
138
- const data = await response.json();
139
- this.data = data;
140
- }
141
- catch (error) {
142
- // eslint-disable-next-line
143
- console.error('Failed to fetch data:', error);
144
- }
145
- }
146
159
  setupPaginationListener() {
147
160
  if (!this.shouldEnablePagination()) {
148
161
  return;
@@ -197,7 +210,8 @@ export class EdsTable {
197
210
  const checked = !!row[boundField];
198
211
  return (h("eds-input-field", { name: `chc-${actionName}`, label: act.label, type: "checkbox", checked: checked, onChange: (e) => this.emitAction(act.name, row, e.target.checked) }));
199
212
  }
200
- return h("eds-link", { label: act.label, intent: "weak", onClick: () => this.emitAction(act.name, row) });
213
+ // Let all action buttons be focusable naturally
214
+ return (h("eds-button", { label: act.label, icon: act.icon, pill: true, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(act.name, row) }));
201
215
  }
202
216
  emitAction(actionName, row, checked) {
203
217
  sendAnalytics({
@@ -243,7 +257,7 @@ export class EdsTable {
243
257
  const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
244
258
  const paginatedRows = this.getPaginatedRows();
245
259
  const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
246
- return (h("div", { key: '02339fab49389741529bd4333689e15c0409aecc' }, this.searchEnabled && (h("div", { key: 'a056734ff7bf25d8f561a185f8cf29742643c81d' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), h("div", { key: 'cbeb04c8d91034db5b7e6386e45c2dbc87d8f6ee', class: "mt-20" }, h("table", { key: 'd707ffd979bc80da882ea38ce2d43cb5dee0702e', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'b4087412a0da69f0b3177785fb71ef2ce1d481a6' }, h("tr", { key: 'eb4463081686841b3112cab121bf3aa4dcfffe31', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
260
+ return (h("div", { key: '87e7cc3c87618ede91bb51d7a07cd597a438d6c5' }, this.searchEnabled && (h("div", { key: '6b77700a913e272eef4c932d40c5c5d001ff6b5c' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), h("div", { key: '6f2ffc7a3ba2cc8e8194670a7ecb9e237f7dc60a', class: "mt-20" }, h("table", { key: '0227d3029f30ab9928cd01ba8dc2eccde2073f47', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'c1f844d8413b596d5ca07d6b79ebd36c8a17f51f' }, h("tr", { key: 'caadaaf66314e3ea7d47a748b6e899389a7e2d55', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
247
261
  var _a;
248
262
  if (col === 'actions') {
249
263
  return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
@@ -252,17 +266,22 @@ export class EdsTable {
252
266
  return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
253
267
  }
254
268
  return null;
255
- }))), h("tbody", { key: '3c0de8287738ff638a46721ee4e0e07bceffed8f' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
269
+ }))), h("tbody", { key: 'da9286063f16a5c346ce8854361cb15573166a19' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
256
270
  var _a;
257
271
  if (col === 'actions') {
258
- return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { style: { display: 'flex', gap: '0.5rem', justifyContent: 'center', flexWrap: 'wrap' } }, this.parsedActions.map((act) => (h("span", { style: { whiteSpace: 'nowrap' } }, this.renderSingleActionCell(act.name, row)))))));
272
+ return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
273
+ display: 'flex',
274
+ gap: '0.5rem',
275
+ justifyContent: 'center',
276
+ flexWrap: 'wrap'
277
+ } }, this.parsedActions.map((act) => (h("span", { style: { whiteSpace: 'nowrap' } }, this.renderSingleActionCell(act.name, row)))))));
259
278
  }
260
279
  if (!((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden)) {
261
280
  // Regular data cell
262
281
  return (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
263
282
  }
264
283
  return null;
265
- }))))))), this.shouldEnablePagination() && (h("div", { key: '27c640dfdd0906abeb7ec77dfb7fb1d052d50093', class: "mt-20" }, h("eds-pagination", { key: '0a74448e3f59098808d8ba1696b891c4ea9a37bc', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
284
+ }))))))), this.shouldEnablePagination() && (h("div", { key: 'b7e7991225cf9fb16ca882dc42c7adead202aac5', class: "mt-20" }, h("eds-pagination", { key: '011f209f89300357e6052ee4d118f353419d5a45', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
266
285
  }
267
286
  static get is() { return "eds-table"; }
268
287
  static get encapsulation() { return "shadow"; }
@@ -296,24 +315,6 @@ export class EdsTable {
296
315
  "reflect": false,
297
316
  "defaultValue": "null"
298
317
  },
299
- "endpoint": {
300
- "type": "string",
301
- "mutable": false,
302
- "complexType": {
303
- "original": "string | null",
304
- "resolved": "string",
305
- "references": {}
306
- },
307
- "required": false,
308
- "optional": false,
309
- "docs": {
310
- "tags": [],
311
- "text": "Endpoint to fetch data dynamically"
312
- },
313
- "attribute": "endpoint",
314
- "reflect": false,
315
- "defaultValue": "null"
316
- },
317
318
  "config": {
318
319
  "type": "string",
319
320
  "mutable": false,
@@ -111,7 +111,7 @@ export const WithActions = {
111
111
  </div>
112
112
  `,
113
113
  args: Object.assign(Object.assign({}, Default.args), { actions: [
114
- { name: 'view', label: 'View' },
114
+ { name: 'view', label: 'View', icon: 'view' },
115
115
  { name: 'edit', label: 'Edit' }
116
116
  ] })
117
117
  };
@@ -36,7 +36,7 @@ export class EdsTag {
36
36
  }
37
37
  render() {
38
38
  const classes = tagStyles({ intent: this.intent, size: this.size });
39
- return h("span", { key: '153cb5a6ab669555dd8e5815413dc0d1be5bee6d', class: classes }, this.label);
39
+ return h("span", { key: '939fafa4bc525b747956931f49b27e6125ecbb34', class: classes }, this.label);
40
40
  }
41
41
  static get is() { return "eds-tag"; }
42
42
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class EdsTimeline {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h("div", { key: '58f12a81691ac711c82aa0db5786101cecadf7eb', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '9b9d5e83a7f9c93850b95590dda1ba38eef56131', class: "relative" }, h("div", { key: 'fd97d75bb70cbe629310e73f2017f3f188b3160a', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: 'c69f1e3755fadfa9234f51a5d9b3196f339164f5', 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", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
44
+ return (h("div", { key: '3abe8b96a25fa575acc503eafa345c63b0c4c971', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '23039a03d10a38aa96310be6456283b5d36041e7', class: "relative" }, h("div", { key: '2bf447e7dd77a33b953ee1c7b49c72bb3e79a938', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: 'db44af20a0e09666b402e77ec739262a3506da48', 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", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
45
45
  ? [{ label: 'completed', style: 'accent' }]
46
46
  : [{ 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", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
47
47
  ? [{ label: 'completed', style: 'accent' }]
@@ -19,7 +19,7 @@ export class EdsTooltip {
19
19
  }
20
20
  render() {
21
21
  const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
22
- return (h("div", { key: 'cacea6fc1f32c6d9bef2288f9e30744cf2dacc9a', class: "relative w-full inline-block group" }, h("slot", { key: '19862715e9575583caa7cc3f818294e43196d305' }), h("div", { key: '35fa38cf5993498d61a6941a6c11204e5e66a7d5', class: `absolute ${positionClass}
22
+ return (h("div", { key: 'ee76b787881bdaef986b73fb2775c900a8c33d05', class: "relative w-full inline-block group" }, h("slot", { key: 'a5f9ade50e829efab02ef28ecff3edeedae9d469' }), h("div", { key: '31bdc63d6263090578f6600ae32027c2b050b2bf', class: `absolute ${positionClass}
23
23
  rounded-xs bg-strongest text-inverse
24
24
  f-ui-03-light pointer-events-none
25
25
  z-10 p-4 opacity-0 transition-opacity duration-150 ease-in-out
@@ -41,7 +41,7 @@ export class EdsTrl {
41
41
  Application: { format: 'code' },
42
42
  'Current TRL Stage': { format: 'text' }
43
43
  };
44
- return (h("div", { key: '0fe3bb33948017691e8d0d10a7b1f75881a9c2e8', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: 'f45942902dec74d57cd4d2aee7643c809263abb9', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
44
+ return (h("div", { key: '51e2ef0877ef34a3c413d8bb690d659525845a92', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: 'b682cb9ce8182302b82042173fcc93aed65f7006', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
45
45
  }
46
46
  static get is() { return "eds-trl"; }
47
47
  static get properties() {
@@ -33,7 +33,7 @@ export class ColorPrimaryPalette {
33
33
  ];
34
34
  }
35
35
  render() {
36
- return (h("ul", { key: '54f9d42269e4becaea4e5b6e91913ae4e52f8b1c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
36
+ return (h("ul", { key: '1de5ded5c58ad27b388c8c1af7938944cbea5096', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
37
37
  }
38
38
  static get is() { return "color-primary-palette"; }
39
39
  }
@@ -58,7 +58,7 @@ export class ColorSecondaryPalette {
58
58
  this.show = undefined;
59
59
  }
60
60
  render() {
61
- return (h("ul", { key: '73e6a72d3aa4659f2678fc49e7b8977711cb6055', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
61
+ return (h("ul", { key: '8346b6b6278e8e0c837722d760aa314586ece7f4', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
62
62
  }
63
63
  static get is() { return "color-secondary-palette"; }
64
64
  static get properties() {
@@ -58,7 +58,7 @@ export class ColorSupportPalette {
58
58
  return 'text-default';
59
59
  }
60
60
  render() {
61
- return (h("ul", { key: '268afbd0b909a22f7c8b85d5ad7f0d36a4a5e3d1', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
61
+ return (h("ul", { key: '70965eb05a6b535bf4477e7413f7fd681c4f9768', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
62
62
  // compute once
63
63
  const textClass = this.getTextColor(color.background);
64
64
  return (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), h("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
@@ -33,7 +33,7 @@ export class GradientPrimaryPalette {
33
33
  ];
34
34
  }
35
35
  render() {
36
- return (h("ul", { key: 'bd16588910fd7f74979521f84d0d1c3f2434a19c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
36
+ return (h("ul", { key: 'af35aa4016013cbed62463881c380330f80066a2', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
37
37
  background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
38
38
  } }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
39
39
  }
@@ -57,19 +57,19 @@ export class GradientSecondaryPalette {
57
57
  ];
58
58
  }
59
59
  render() {
60
- return (h("div", { key: 'd7c6759d8908219c3de45f785c03b5d1ce1ba096' }, h("ul", { key: 'ed856f5b163fb0725c02808d435469ec6b7ffaed', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'abe6c28047d81414d39dc0b36db2be56f6380362', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'a1cdd15152436b70b05e7bb030977223afc9a407', class: "effect-height flex items-center justify-between p-16", style: {
60
+ return (h("div", { key: '8a494bd6783e8138f33dcfd37498fd69b249a2e8' }, h("ul", { key: 'a2e6c31c2e2f3745ce1e4c01cc9afae02e8ebb87', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4ed12da885c34a07657aef2a841c87a37ae9c8f7', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '337f66d14b0ce65b19f198b7efaf9230ca50b82c', class: "effect-height flex items-center justify-between p-16", style: {
61
61
  background: this.colors[0].background
62
- } }, h("div", { key: '29c335132b5fee16cc8e2cc34d19664e99f69c47', class: "grid" }, h("span", { key: 'c593f66f5ba6bd0f111393dbcc9bcf0bc185479a', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'f27114bd95383c500a6c319439c61148893b31ad', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: 'c274f3feac084aeb5b42b61b15156fd94282f497', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'bf76b37efef73cda20f1dcc79bb749360a07e34e', class: "grid" }, h("span", { key: '37a02acedd78800289bbabd318766f6141338148', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '8b38d9245e0c8c1c75748f944acddcd5f3b3883a', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: '83db75289cbb4e41c15f1150c6f7a56098d8def1', class: "effect-height flex items-center justify-between p-16", style: {
62
+ } }, h("div", { key: 'c8c692658db9434f57e5ac264c3c9064910e9661', class: "grid" }, h("span", { key: '9fd7ae1b75ff6b6c807dbaad783f6495dc2dd9bd', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '9d4e59b1fab74ff781c8d73db3dd468b10ce0455', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '96f8a8fa41459228e4d8097a616926f85765cf39', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'd7a68794a9682b619be1e087c983149d491c96db', class: "grid" }, h("span", { key: '58bd1ad1029c3b121ac0d4bb5c70ae303e0352bb', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '3193953b5f25d007cf19d93a1f68f20404687f1e', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: 'cfbdd6e419b1616438c6331a1d25c18c4425acd8', class: "effect-height flex items-center justify-between p-16", style: {
63
63
  background: this.colors[1].background
64
- } }, h("div", { key: '4d92597b209048fc28478024d8eb2e89ce0109c1', class: "grid" }, h("span", { key: '465eda6c71997ca65f48d56410e8dccf607f4cb4', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: 'e80b3e063e142213d04bd6f19f6d20c57515270d', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'c746f6804888132d61fb7820cfcb28db00eee1fc', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '2af1ee7b54dd29b18177fd317ebe4846c7ea98f3', class: "grid" }, h("span", { key: '69a9c403a3167026a6814bc697420e3aca6b335f', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: 'd4dacbdc529f62bfc59eac154c5ad6b06fbec876', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '89204f2ef69b43b82e6adc82e404bd8a7985b18b' }), h("ul", { key: 'e6a2710618d7a1e58f6812acc2d2f6d2b7d841ef', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'ed072f8a3bdc089c3a89e4b1c83127f7481f46d0', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '2010e22562d8e62ed3096815d69f354160abcb65', class: "effect-height flex items-center justify-between p-16", style: {
64
+ } }, h("div", { key: 'd7cbace55477934af72160da781b7a8e3aa8e06a', class: "grid" }, h("span", { key: '92751b8b5769b239e36ac130e339f8e360727cc4', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '82fe5bf3213d8d581322b33fd5e71edac1c88fb3', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '898008dc0c37aa6dac6cc41f2034cddd65768c14', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '4e447137643b72b3c6bf7c77d9487db3b6565774', class: "grid" }, h("span", { key: 'dd6377e2669c91b70681faceef9a1a2e85aacc36', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: '06fc395fb9c0caf71d889031d5122da97c2d437c', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '7be7b3c75d184f3aa717f6319aeeac025760122e' }), h("ul", { key: 'b97e4bde35db0630a312b97d501ce1c59f0c3e14', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '6a92a1a7d3e3680901e18dd48eb6658f4fb0fb20', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e90a2a1cae3c1cde6b4326b56b72c61e1892140b', class: "effect-height flex items-center justify-between p-16", style: {
65
65
  background: this.colors[2].background
66
- } }, h("div", { key: '891397d4e60cd7a5622181a71f29734520b4298c', class: "grid" }, h("span", { key: '3f6b1baca2b5fe53bd275c92ad0310667701c753', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '23ffbe639a0c2cfd92f6270db1ef70c3d1640fc9', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'e1352887585144329be0529c8dd677461b10610a', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'cd576b8104996360eed629ffa208d5117bf0e4ad', class: "grid" }, h("span", { key: '298cb076bc456fb9096cf6503a3d743569f416ba', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '7329b19b0333a216786d503e62e98651a4d4771f', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '4fea9070d6a61cd7402d449efd187a0a5017a097', class: "effect-height flex items-center justify-between p-16", style: {
66
+ } }, h("div", { key: '61b77e314f1b0ba1a2091c8095ec202532c18606', class: "grid" }, h("span", { key: '03dab364cc0dfec33698c44a204c454fb541e212', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: 'e691950b5345a2ede462f4e83cca168bdeb9ec15', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '0221d7e314a813dc2c5b79911951bca9c0b41b25', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '3a0a7685f28da21ad72e03fde2466ef261d732c6', class: "grid" }, h("span", { key: 'cb7b332c10b45eb9fd5db2d3fd8042e2bad64466', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'a2ce20d6c1f79933e63286f21cf2a2b46bae7c77', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '22accd3b0973aef372c31e6e1f9098c20af0fe62', class: "effect-height flex items-center justify-between p-16", style: {
67
67
  background: this.colors[3].background
68
- } }, h("div", { key: '42add888aeddd60139a738516f0bdf2bb8ce53c6', class: "grid" }, h("span", { key: 'baf4aed8195baaf67b64f023c701c45da3ddd736', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: 'bc081ddd23179b330359271ddae1fb7ee80d5559', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '1c99d958f47f5c85b1f73961cff31de1963ff1d1', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'd9655d11a6c6a935970990bdc85d38baab035d42', class: "grid" }, h("span", { key: '93490f1f7d4818483cf1516ae0ff945cb29d8cd3', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'bee2089b693ad94489a785d86a11dd2d85455f40', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: 'e0a2b7706a6564a323710743e72c964f7159e1a5' }), h("ul", { key: '7de5262ec6a1a6e55a05c1add2797af7de29bd8b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '6a137a701f58c473cec1c2c92c57699ecee583f8', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '2f44ae854af76aa14281840d6c60f2c3256099e1', class: "effect-height flex items-center justify-between p-16", style: {
68
+ } }, h("div", { key: '20ac41e5ab5abf006915a588948b0a80ba6b6500', class: "grid" }, h("span", { key: 'c45d31d03b5eed96970e573ffe9d6d7b0a4f55f2', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: 'c8615974f6fefcce9236f1dab2aa05acf79f476e', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '4edca81579a78d5a981abd588d614e92b41e80f2', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'efb4443370dc4577f4bb0638f7189d8ebb41f7f6', class: "grid" }, h("span", { key: 'e6859deb262bbb09411b23a829461a13bca7036c', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'a7b10ce34dbf351ed7c9ffddae8a078af2b2dfc7', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '1e7693f7830a8b23fbfe88a4db8ce86b8d0685f0' }), h("ul", { key: 'e968be89adb2e35e19b3c6b373b6e12f4e746a16', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '96c60c4a9e257a292782d9effc9f0c72abf11b9e', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'c4568e420e1aa059777280831c2384eab3d92bcd', class: "effect-height flex items-center justify-between p-16", style: {
69
69
  background: this.colors[4].background
70
- } }, h("div", { key: 'b806467f9ef13799e885bd537364ddc05fe40a4f', class: "grid" }, h("span", { key: '59254c7b53f7f74a9bb7884c14e0a10dc9959e9b', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'c2347c08f4fad7fe6c83c16e97c81a9ed5fc3265', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '5a5ac44c8a1e1192e606e16dc4878bc34dfc1f18', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'b02e1566bdbeb23751333450f0575f1242581fc6', class: "grid" }, h("span", { key: 'b0ba99a11f5ef2f527a7953de9e994469d5e4345', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: 'ef8ae5b0a8b90c40d6edfaec0510a3cff51ee146', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: 'c5b9a09ea0de5a4d8fce281df814619477ddaf8b', class: "effect-height flex items-center justify-between p-16", style: {
70
+ } }, h("div", { key: 'd6deb40f0bc0f42ba8dc5ce1f81f0ddffac1909c', class: "grid" }, h("span", { key: 'dfe457e42121384072c1fa914a4b20dc4b838d01', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'ff18c95c23f62a02e56f017a3c4fd135942ca475', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'bd2c5dc66d42965991741eaa399c620dfd7ccd8e', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '95a9105cf2f1c2ce4f585d20cd3d7f51ab176860', class: "grid" }, h("span", { key: '205d05eef3ead993524a70a6da8a1b99293d325b', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: '8bd0e5c38a50e61d1c4743b069ac33bbcabd6a90', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: '1e23753de89b1954149cc3855dd18c35d8eff021', class: "effect-height flex items-center justify-between p-16", style: {
71
71
  background: this.colors[5].background
72
- } }, h("div", { key: '01093078bcb33b75da1ec21ea29d238edd90e9c7', class: "grid" }, h("span", { key: '0c9633660c5c2b365280a63c4a5c67b77fbd80dd', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: 'd7cce349e8b86c40abba692c54d7c309d20be2b4', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: 'b402087855fe04450eb1523014fb310446f83d26', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'cddd68685d9dbef43b849910082e844ac9dfc30a', class: "grid" }, h("span", { key: '34122a3422f7f27d81678f7f29fb0781eb598620', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: 'cff5bbce881e6549bdeee9631a1626c7be093b84', class: "f-body-02" }, this.colors[5].pantoneU)))))));
72
+ } }, h("div", { key: '89d94b65035bede7a8e6783ce12b28f0d19bc517', class: "grid" }, h("span", { key: '68b5166da0440b8b71a353f112151f87ce5f0863', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: '5c5440685df35b5d7a46c3aaca50f34103d227da', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: 'bf98ce42ca5c85792f69233aa9339b76e404355e', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'd3405eb9f4b55be2ca453857006b2e168f55b723', class: "grid" }, h("span", { key: '7c5cc7a21f351c7054113feb2d08c73aa433b729', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: 'ab88dec48dc6bfbcf0ae6952bdc83898b9f3fe01', class: "f-body-02" }, this.colors[5].pantoneU)))))));
73
73
  }
74
74
  static get is() { return "gradient-secondary-palette"; }
75
75
  }
@@ -49,11 +49,11 @@ export class GradientSupportPalette {
49
49
  ];
50
50
  }
51
51
  render() {
52
- return (h("ul", { key: '5a612487c206581907ebc456cc6149580090f55c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '661844e372ed3436f375410f4ab298b967f7c7dd', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '867573f26386a46b9ecccd982163f7dfaddd087b', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: '4c23cb1c31308a1e163c963037856ab3dcd516e6', class: "grid" }, h("span", { key: '237e7234834b820a80caa38b47cdc33be2dc4c85', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '68749c41d21b7994aeac33d5a3d24d0e04bca08c', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '9b87e0cb8aee3b56e66cb26a1c933ba693487893', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'b5c6b6abd962f4649657bdf85d45e8309efd66ea', class: "grid" }, h("span", { key: '12ea4085c748e073e4bbfed5217e6aff9e61d5f8', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: '8e3d52cc62bdcddf058ce3a124813b1225607bf7', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: 'c6fd93aee048ab41248cd5dead3608d868459dd2', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '9ec24ba88c6c2aabd785dbde4c2a3198e836c81f', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: '2636df7a6eb4ce22d3c6ce21880401ad995f4e53', class: "grid" }, h("span", { key: '293a0457140d0b595ce5a1ec3d7519554da51787', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '2e553c06d960bcd40dc6abfa84adcae3c3b850f9', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'c351eb2de9d9f92bf6479b4ba75ec4d2ea2adcee', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'cf78d76edea67cbb65a98d5df41ee0aa8d19a7b1', class: "grid" }, h("span", { key: 'de2b396e6ffd2e52239a1b8909c7ab14932c93a6', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: 'aebdec1e5f31c1f9aecf89d657fa309dc4e6f96e', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: '3391ea7989b220e68b9d3f3194d59046c22de20d', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '097878915a516699b1460c045773738a17ebf9c6', class: "effect-height flex items-center justify-between p-16", style: {
52
+ return (h("ul", { key: 'cd8f1b760d9d12703e63d444206cd7cb8272dc23', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '4e06317b161b310f1d0a6c03ec4511e30121a9d1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '09ee064b51f1f60eb94449a81889fcc1b04b034b', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: 'd03882aca184094d6bd6c7c1847fd825b5df391e', class: "grid" }, h("span", { key: '56401b8b651fc59ab649017e24072b7aa9e66b09', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'f438f24aa6caee90e0aa8b45a8e3ef3905115165', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '1185f4d1820c900e97e376aecfdb15c079bf47d6', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '81e189f2d4d59444419b4323595f233b5a7dd5c5', class: "grid" }, h("span", { key: 'ed9c1690bc1a39a4ca10922d6954987025b75ab2', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: '389c2782c0a19abdaa8bcb3bec35b08f7dc49699', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: '224ddf84a71da323318a93aed512785d765ff78c', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '6f65b95fafa248d35f3bbc6b2ca1796e75d5c75d', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: 'a5f7ce54255461e8955b770ba045873c4337317e', class: "grid" }, h("span", { key: '344026348686a6c356012bddcb6019d2e33d2d1a', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: 'd21a077ed8b57fc7b03d3c9e8aad84a1d6921b7e', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'dfc3a8574e020c3e140a582e2f6548d7df18fc2f', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '370a21f614bfa27de7cd920d33a4bda8271cb9b2', class: "grid" }, h("span", { key: 'dcd05c27f71e94ab52ab88647d7c16bdd8cb6824', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: '3f596aa4db89c9444ab19a1fe6130532ea7a18de', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: '4360df4a8f5439fef848bef1aff0ba7e907c0873', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '7559365a22a412e249f860b2ccd42a40c686575e', class: "effect-height flex items-center justify-between p-16", style: {
53
53
  background: this.colors[2].background
54
- } }, h("div", { key: 'ef76280804b503e8d7ed1a04f1ea07b762e36905', class: "grid" }, h("span", { key: '3235d6a48761d5680dd447189d2c70d4421a79b9', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '6d27e4764d3a3c6740154a3ffc996f1259a3a1ae', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'b1ec314d40809791313506e2e953cc83adfe1a99', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f2907250506bb3d9428655649ed5470188aa78ae', class: "grid" }, h("span", { key: '49e3f49a8ef6578bcf0173774734b0fe80d34380', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '950a3aeb1a5d1e3ecaa23b3a9a43eb2a61f78993', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'baaea9182beb5874d53f3dde736d55d3dd6fb53d', class: "effect-height flex items-center justify-between p-16", style: {
54
+ } }, h("div", { key: '3027a68e48323ad82a7b9507902d43d3ebd5a9b5', class: "grid" }, h("span", { key: '6889a4ba793f3f82c90e2b1b87b90d1d1e9fc551', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '688e28e641c900a105605e8f6dd65efe8d1c663a', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'f344601cb7b1c0210478c4c8297365655d1db5b3', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'bbd401b28071a53db3e2648545c6de8004da98cd', class: "grid" }, h("span", { key: 'e7eb3868b58336671fc8862b2dd67dd8c664b6d2', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '97c2788da2fed4b22f11057d13ea2bd6f6041f9c', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '8ea814cb2456d959a510b3bf2fe1348a796bf390', class: "effect-height flex items-center justify-between p-16", style: {
55
55
  background: this.colors[3].background
56
- } }, h("div", { key: '52190f3fba8daf54b66a6c1fb39ffe0d3630579c', class: "grid" }, h("span", { key: '65d924d148d9aa5ea28bb2018c6205e047c63eb7', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: 'fb3046c7e64943887b015442d0822941f555b0d9', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: 'd9970b36eeedeb76601c151d8adf0d719c3bc50b', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '99f7dc373ca4cd7a6ef0bdab8554bb0448fb92ae', class: "grid" }, h("span", { key: 'cc8fd3b34d84b16d476ca8828a21a7d6edd323e3', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '13a91251ee695c6c4675f0c4ff78196e94fb0c25', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: '15d8671c59473d0536d970d37518237982f50bd7', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '1ddbd49301aacb6164261021ce8ee68a17946028', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '88440ca3f89fba17e750a27e7afbc32fa43865fa', class: "grid" }, h("span", { key: '28256827aedbbbe4cf4fcf6d36e465552095abfe', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '4e02cb7566b147c5696f6797a2eb8fe52ccc4c3a', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'cd1fb27c45fba23a2e07c99f949b10b3375fc1ab', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '15b28c50322a27b285e7761b2a7336a46a2999e7', class: "grid" }, h("span", { key: '8e26da3deba60c4ac8110259891020adb8c7747b', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: '12fa9dd12ee72677869b18f83777c47d339ad8ca', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
56
+ } }, h("div", { key: '4a223c4bad5b21ff8f80dcbca228a66500ab6a87', class: "grid" }, h("span", { key: 'acfb82921e62c37dc091a10b2f093c41d50c32da', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '1d8a0866567e954772be7fc950579a62aa719ade', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: 'e8fe52aefd86c81713f08bcd1cb8f27789bd9ca1', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '9925c5173dd15f16fe2b08eb522adf0d8ac37ef1', class: "grid" }, h("span", { key: '78f7131ca9a960688c8957a79c4033573f7cfee1', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '0fb4a0cfec9531e0e00b2d749d66ae6696a6db4a', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: '017c338c94189ad75c79ff9db903d18246a4af80', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'd75b7e97684b6ffe19bfcfdb8315f771c42de0f1', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '63b0fc0c825edcba9f633a5b6972fdd72574ce3b', class: "grid" }, h("span", { key: '389132cc0be0358b4805356ea216a9cfd4297514', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '902d41927973b8bf690cda7ca701a103f91dd511', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'f9fffe844840148e801e3b1c1c2891b2bec96bf7', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '7ecb1dc3d5e0c63cf191b1300f19cd88489e9bed', class: "grid" }, h("span", { key: '9233731334557d6b37d96d9d7e328cb9b24e2766', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: '5030f6c36dd0e07785c0f11092c9452d80763101', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
57
57
  }
58
58
  static get is() { return "gradient-support-palette"; }
59
59
  }
@@ -60,7 +60,7 @@ const red = [
60
60
  */
61
61
  export class CorrectUseOfColors {
62
62
  render() {
63
- return (h("div", { key: '0d87f12519405c944ea432dacc79cc22e4710f7a', class: "container" }, h("p", { key: '6041d60d6e1bd6313b6d5989f89209c75b350048', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'bacd39d8122d919711793e0d90074ad4c7e91cc8', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'ab097f654aee5417323b55d17666dd37f51ff193', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'd7b0a82ca3108c7510a8b79ab02aff5a459b3fba', class: "flex" }, h("div", { key: '25572bd784dd3376909f9be43535d06c1eb34301', class: "w-full" }, h("ul", { key: '27508829cd4240f4b443be77182289c2de7d80e4', 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: '8eec0e4d1f66bc4a46d3f8f6161230667aa52b81', class: "w-full" }, h("ul", { key: '38e5c24b6a446bc9eb44e2d8c2c9918edda1685c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } }))))))), h("p", { key: '62cf0cb3a3666bd073876a15ced356a1b786b755', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '61bb1a7b4a226b2a87115ddcacb1e5f7054f7f2c', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '4cade7f04885d8743de7508088453d7266fdb52e', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'a85edc64dedaa5a736fdb6005f227dccd7d6e417', class: "flex" }, h("div", { key: '6585c4d28cc0a0c83483e05fc50e2d1eb6543826', class: "w-full" }, h("ul", { key: '5d2cd485f2730f9ecd8f9881660b660a9863f046', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '8cc38112f8fc04390309894e03bff57839867331', class: "w-full" }, h("ul", { key: '4fcf267012ae77e4a64cc8f3d41590a0077a71d2', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } }))))))), h("p", { key: '1e5ae9ac4d5315e74c7509bf3ea429f330c80b8c', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '2520f9de5232569e50a16bffab46ff8a7fd07de9', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '3319ed8a5d80766150d4479bb6d360a34e65f2c9', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '4ac76de406d9d3c7d88c743dcb55445030540979', class: "flex" }, h("div", { key: '419a21e058fd90cdb9dbc814cf161d7b9a09ea60', class: "w-full" }, h("ul", { key: '811a0e032cd72ee22f474f2bcf9292cd5c1b39b0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '7a99c481bc4b866fba27af928bec2d1f2d3aef40', class: "w-full" }, h("ul", { key: '903c58130e827d4b2d562cdfcdfc711357faba0a', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } }))))))), h("p", { key: '1b85b22424d7d3a1b91ea28b22c0f35ed11c8292', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'b114668b2ae7e584bdf844738b07eabf2eaf4c1b', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '92aea63995d20c589cd5f93fad0151b1930e676e', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '59f3e6a810cb7d399dd1290021cce9fd92238605', class: "flex" }, h("div", { key: '3f9b86e94966320bcee63999cea9da3b86a725dc', class: "w-full" }, h("ul", { key: '379a6bd45c7745b9fef85e5bfe122a860ead0ce0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '0f0d2766a259285042054653bede2d42673e2e70', class: "w-full" }, h("ul", { key: '2e47e7406097d32f4189f9ba52b19689f998a6d8', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } })))))))));
63
+ return (h("div", { key: '6a68ca6961f662740e3981dc788b99e3d4a0d420', class: "container" }, h("p", { key: '3b7f675d96b1101c2d2a623082ab1987e06754de', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'cd4b48453834b32cf70aded20b3ebfc0109732cc', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '9c2d1c2d669bfef26b0ea45b113f727420d4a8c5', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '651d2e4bce17a2740372c1b56e772f12c906e45c', class: "flex" }, h("div", { key: 'dd7b40bf2c9be26367cf4d65df0e93d5590b34e9', class: "w-full" }, h("ul", { key: '62cb53477517807ad9535ca3b4474cf115f5ec03', 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: 'bb8be387a4abe956a4941db1b381d25eee435453', class: "w-full" }, h("ul", { key: '60834108dbdcc6872ff5cfd1509f08ca94847854', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } }))))))), h("p", { key: 'b3cdb208264e8d62b144dc9eb912501d3d59e35d', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '8b358d8027c603aab384028568acfba889df7f25', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '9712b5e1c2433f9b707469e4d9fde547ec14f7d9', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'cfb5e4ada2dab6de1e4df810f9eaae0abbabd864', class: "flex" }, h("div", { key: 'c83e1bcd91700f4fc9eada969f9d349b6976b835', class: "w-full" }, h("ul", { key: 'c0c6a2a223013a5cb7b0545d59eaea8b66454f65', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '7b1ce7da35db835a2db620c0b4d97199f85070e5', class: "w-full" }, h("ul", { key: '2a2f9e1d29a523d5b419ae27aa1df8f892f440e7', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } }))))))), h("p", { key: 'c6746faf400941b4eb92eb2b520a3a817615da9d', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '89405406d127380e8b5872357cfba121a17adc3c', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'a7c21a6afb1eb69e9e4cb5046f65c9a4fb193837', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '6097c0091a2c06e6e9e9e13db41329200a78d2d6', class: "flex" }, h("div", { key: 'e8c272ad9b1066500d940044fd86a6c6dc52264f', class: "w-full" }, h("ul", { key: '2902c01c108d7893d7e30e6401560034a2ed7a0f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'eca739bb09d6b509c1433069595a7e6fe9be38f2', class: "w-full" }, h("ul", { key: 'cf0578a5943f54a98c6433e584397c0787ad0b4b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } }))))))), h("p", { key: 'ead17e9a75227b4731116506bfbf9a2c656b37a9', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: 'd4e615ea5cc1c0a144ef0c2e0bd019ae9d58e3e8', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '52fe22c1055d44e4b6d772c0863abb72ffa49b5b', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '28487bfa952d4b2611ae1b03f71fdc6d5c46f2e7', class: "flex" }, h("div", { key: '5cd6b4413b345bc81a69fcdfc0a723e4f1c2f438', class: "w-full" }, h("ul", { key: 'c9ef7fe0eff085bb342d501f6505435220985214', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '65a67a40bc7cf64c19bbb1448813b1c34633cc60', class: "w-full" }, h("ul", { key: '4f26bdccba86cba74da820c500f630d88b846631', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.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 } })))))))));
64
64
  }
65
65
  static get is() { return "correct-use-of-colors"; }
66
66
  }
@@ -38,7 +38,7 @@ const incorrect = [
38
38
  */
39
39
  export class IncorrectUseOfColors {
40
40
  render() {
41
- return (h("div", { key: 'b427fbd92f4f89e62f36580788385d16f7f5ee4b', class: "container" }, h("div", { key: 'e17b8667edf995fa38982db1fd2dd3e32e3d8ade', class: "mb-8" }, h("eds-alert", { key: '6fc136da4684f38d95031e35ada158955ea7a776', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: '2848ccb3f69d6eb0bbe644e5620615f475d00b63', class: "flex" }, h("div", { key: '8ab6a087dec45752a3dd31942f6d8595ea52c0fd', class: "w-full" }, h("ul", { key: '2b0d87c54641831b7b9c77af791fb95837061488', 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: '1748b5ef933d36eaa630dcf892451cf165d91156', class: "w-full" }, h("ul", { key: 'cabcc252675bde368e5d884c870bee4e11a1a7a5', 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 } })))))))));
41
+ return (h("div", { key: '99f72ce6be806d58cdbe053d86a07e7769e7c298', class: "container" }, h("div", { key: '4689bc35f56681d07747158f45bed8960bd764bb', class: "mb-8" }, h("eds-alert", { key: 'bda983921ff3779dc947d13ff7b3c4f0509154ea', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: 'ef02b05fb6fb761cae3cc5120478d9670ae65508', class: "flex" }, h("div", { key: '968ccc8bc1acec2856325c921d737f0ac2d0e26d', class: "w-full" }, h("ul", { key: 'aafe0547a6f6185216cf5ba08cca1e5ed97f7fb8', 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: 'f8af94ee21c7ed37b177fa3b5285e9bfe76e8e46', class: "w-full" }, h("ul", { key: 'ef52e37263e0bfda9d631f7aa6abe2074cbebe78', 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 } })))))))));
42
42
  }
43
43
  static get is() { return "incorrect-use-of-colors"; }
44
44
  }
@@ -28,7 +28,7 @@ export class ComponentsSection {
28
28
  }
29
29
  }
30
30
  render() {
31
- return h("div", { key: 'a57909fff6c8fc3bc0bc82804595cfb08edf1b9f', class: "container" }, this.renderContent());
31
+ return h("div", { key: 'dc274e3d76a296c8a8b18abcc4fc8741a6b9eddd', class: "container" }, this.renderContent());
32
32
  }
33
33
  static get is() { return "components-section"; }
34
34
  static get properties() {
@@ -25,7 +25,7 @@ export class DocsContent {
25
25
  }
26
26
  }
27
27
  render() {
28
- return h("div", { key: '176be3a7df15e6463e13db2f0d519dc5dd6c11e4', class: "container" }, this.renderContent());
28
+ return h("div", { key: '86455a5f05b74d8d751a5d17ecf58c0046e8d0a3', class: "container" }, this.renderContent());
29
29
  }
30
30
  static get is() { return "docs-tokens"; }
31
31
  static get properties() {
@@ -69,7 +69,7 @@ export class TokenList {
69
69
  render() {
70
70
  // Check if `show` prop is provided; if not, display all sections
71
71
  const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
72
- return (h("section", { key: '8fab4b610ad73943d9884c9b091f8ae0b85fec02', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
72
+ return (h("section", { key: 'b8b778fe87179f77bb71705d89026c500b0293fb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
73
73
  // Only render sections that exist in `colors`
74
74
  sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
75
75
  }
@@ -5,7 +5,7 @@ import radii from "../../../../../../../../packages/assets/tokens/radii"; // Adj
5
5
  */
6
6
  export class TokenRadii {
7
7
  render() {
8
- return (h("section", { key: '990ac7f9b888a50dfefb06d0999c845796e82db4', class: "w-full mt-28" }, h("ul", { key: '447642ed7c23039532564cf640994c1ac9a1d1de', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, h("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), h("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
8
+ return (h("section", { key: '584f5f90e1e3813692870fbd8fd382956729dbf1', class: "w-full mt-28" }, h("ul", { key: '81786b7835d62739d6ec034609e77209e15e3b38', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, h("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), h("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
9
9
  }
10
10
  static get is() { return "token-radii"; }
11
11
  }
@@ -5,7 +5,7 @@ import ratios from "../../../../../../../../packages/assets/tokens/ratios"; // A
5
5
  */
6
6
  export class TokenRatios {
7
7
  render() {
8
- return (h("section", { key: 'be577f9c398a29f5bd996a68d102017488f8ac17', class: "w-full" }, h("eds-section-core", { key: '291b8f1692e0ba050c0871af65429db95733990c', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, h("ul", { key: '2ac59025091444b8e14b5106d8909c54fa8227aa', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
8
+ return (h("section", { key: '255775984f1d0edd52f48814776dfb5739b4885e', class: "w-full" }, h("eds-section-core", { key: '7fd28e74db00800fcaa4adb13dd6b0b9cace371d', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, h("ul", { key: '1e4c0af9a699e69c5bc6c86df821c457bb20614a', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
9
9
  aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
10
10
  width: '100%', // Full width to show the aspect ratio correctly
11
11
  maxWidth: '300px'
@@ -5,7 +5,7 @@ import shadowTokens from "../../../../../../../../packages/assets/tokens/shadows
5
5
  */
6
6
  export class TokenShadows {
7
7
  render() {
8
- return (h("section", { key: '481c1eed906cfd2ec0a071fde52bd284dc689583', class: "w-full mt-28" }, h("ul", { key: 'bf3c4068320755df5df76fd40a5f533c2814e398', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, h("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), h("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
8
+ return (h("section", { key: '8ca055cb3616c9bc3f6e8c1032671ff53a540156', class: "w-full mt-28" }, h("ul", { key: '7b72868285aaffe0f31628b5ab142e39aaccd964', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, h("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), h("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
9
9
  }
10
10
  static get is() { return "token-shadows"; }
11
11
  }
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
4
4
  */
5
5
  export class TokenSpacing {
6
6
  render() {
7
- return (h("div", { key: 'ccc58496f0918a9da7f1d4412391613f3f568cc9', class: "w-full" }, h("ul", { key: 'e5a8d47319a9c994e7755d3576d71b634ab20063', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '3d0a29e2c91d351ab116ce416e00c42590d035b3', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'd2d85017b45172a0b0b092de400d9151ef539ef8', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '88de94aaba4d635cc525a67542b5d472cd896c5d', class: "spacing-sample m-16 bg-strong" }, h("span", { key: 'b59a5fa9df2d4083fa06c9a258ec5ba5ccf60c0a', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), h("li", { key: '70767120c9cd4be53f96f375fd329703a963b63a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '855d6bacf1b1423485fbf4a6d57eaae41a7a1444', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '7857867bba76856db7530bacd73f142a2b503c51', class: "spacing-sample ml-64 bg-strong" }, h("span", { key: '14b4241fc260b9d6b690dbd141098dc61a5eded9', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), h("li", { key: 'fa5b994aab19f80b3fa26393844b0bed46ecfa64', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '3c600983badcd59dcf5735e9a4c42c87a306236b', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '77abcf6391bc3fe5f798a7837e12e9f3581213d0', class: "spacing-sample mt-32 bg-strong" }, h("span", { key: 'd4626346b81f99c4690853d00c097d523616db1f', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '2ce80fc1b53afa0e157f4b185ae70f16779b9f3f', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '95f69eac2055d60ae42808fa09f4f6a68bdff4f6', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'e553f7c58b018cba77b7141be6142d3c7b34194a', class: "spacing-sample p-32 bg-strong" }, h("span", { key: '13450e5d8c07cbeb640e0b3aea1e526365f0f743', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), h("li", { key: 'dce557ae08a4800fd5d98c91b5675d4839da622f', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '9a134b12e3829b5529921ee24ba095231ea9a70f', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '2f30c7339974f96fa881b43f8b7ec9a018c2f372', class: "spacing-sample pt-32 bg-strong" }, h("span", { key: '663a2b9a903effbd5eb1988d6803934c41a26b93', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '363143700c339ab934b466ef9f84f257be3adbbc', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'e72006b92c553dfb7c3df21cbbea3a7234cbf725', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '251e68c910ee1d0485d630fde091e6790183f4f9', class: "spacing-sample pl-32 bg-strong" }, h("span", { key: 'cf2f10404629bf2e7ab10d51b2917361cf93279b', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
7
+ return (h("div", { key: '9967174337c771b175eb51d9cd77ec227071178e', class: "w-full" }, h("ul", { key: 'db8df572ea997ea83600cb522c761ec5c99788bc', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '25a7b31970e56ce8ff62c81a69daac121984d9d6', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '1a1dfa005e39237c2fedb210c0082293770387c6', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '473024ed6927d1a140eee0e021af92790c3ec5b0', class: "spacing-sample m-16 bg-strong" }, h("span", { key: '7b691bf830943134160396ddcd8f71e419eb29e2', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), h("li", { key: '38f1d4d7e78b1efdbc55cf732b6be2ac3a62b5b7', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '3a0fc8cdfa13bf0998a4829c36a74b17a6ee2314', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'ec730379e1041a68c9d980bb6b5d4b16560debb0', class: "spacing-sample ml-64 bg-strong" }, h("span", { key: 'fd6f3ab787f1d43fb0b060e8408a1464eacd9875', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), h("li", { key: '60a45420ca9cd7f4dab1524c8d6be31b39295b0c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'ec433621396341959df05dd4becf2844c4266ea5', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'e2ae2d3a3f0eb5226fae09d70eff099ed79ca0e6', class: "spacing-sample mt-32 bg-strong" }, h("span", { key: '1da10931bb4dae62a1a1c020c89463634a3c1630', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), h("li", { key: 'f2f6ff5c992df7d4d426a3488cb7aa7ad9b7bc85', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '23700500e04f2ec99fb5329092b7e430f7ac4274', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'bc304e082326c02787a62681fa86d20382fbb2d7', class: "spacing-sample p-32 bg-strong" }, h("span", { key: '32692a307c58603ac232bb1004b88e0b5bff0c3d', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), h("li", { key: '6fc5032427724389d29d200347e3f5de984d6ec5', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'f66687c53866291f4f455153e34813d53bbb6d68', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'c4305cf37d1f08f50be085664d9a4da0c4859805', class: "spacing-sample pt-32 bg-strong" }, h("span", { key: '4bd0c2056950a34d119c11ffd04e1dce1b8136c5', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '67053133a6c121e02b7cab1da4cf4bc025dcc28d', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'dc7c1198e284eb0d71d183017e99fca72c3fb2a7', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '3e69f16b8673007197f18b736e07a9e2c86e7eeb', class: "spacing-sample pl-32 bg-strong" }, h("span", { key: '5a112de1bf2ce66ea278da76b8890aff02cce8af', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
8
8
  }
9
9
  static get is() { return "token-spacing"; }
10
10
  }