@ebrains/components 0.9.3-beta → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/cjs/{analytics-d8fb3fdd.js → analytics-28713bf7.js} +2 -2
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components-section.cjs.entry.js +23 -17
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion.cjs.entry.js +3 -3
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +136 -8
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +3 -3
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +7 -2
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +10 -8
- package/dist/cjs/eds-pagination_2.cjs.entry.js +6 -6
- package/dist/cjs/eds-progress-bar.cjs.entry.js +32 -5
- package/dist/cjs/eds-rating.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
- package/dist/cjs/eds-switch.cjs.entry.js +14 -6
- package/dist/cjs/eds-timeline.cjs.entry.js +3 -3
- package/dist/cjs/eds-toast-manager.cjs.entry.js +33 -4
- package/dist/cjs/eds-toast.cjs.entry.js +5 -4
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-2f63169d.js → index-88c8039f.js} +37 -319
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +2 -2
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +3 -3
- package/dist/collection/components/eds-accordion/eds-accordion.css +0 -8
- package/dist/collection/components/eds-alert/eds-alert.css +1 -575
- package/dist/collection/components/eds-alert/eds-alert.stories.js +3 -1
- package/dist/collection/components/eds-avatar/eds-avatar.css +40 -25
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -21
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +5 -2
- package/dist/collection/components/eds-block-break/eds-block-break.css +2 -27
- package/dist/collection/components/eds-block-break/eds-block-break.js +9 -14
- package/dist/collection/components/eds-button/eds-button.css +318 -8312
- package/dist/collection/components/eds-button/eds-button.js +5 -59
- package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +5 -7
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -20
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +10 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +33 -156
- package/dist/collection/components/eds-input-field/eds-input-field.js +42 -15
- package/dist/collection/components/eds-link/eds-link.css +384 -6247
- package/dist/collection/components/eds-link/eds-link.js +2 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +96 -61
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +48 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +3 -4
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +5 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +13 -2
- package/dist/collection/components/eds-switch/eds-switch.js +13 -5
- package/dist/collection/components/eds-table/eds-table.js +4 -4
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -11
- package/dist/collection/components/eds-tag/eds-tag.css +22 -12
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +46 -7755
- package/dist/collection/components/eds-timeline/eds-timeline.js +4 -1
- package/dist/collection/components/eds-toast/eds-toast.js +7 -7
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +89 -93
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +6 -120
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +5 -3
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +2 -2
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +24 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +9 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +4 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +46 -2
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -3
- package/dist/collection/shared-ui/eds-form/eds-form.js +42 -10
- package/dist/collection/shared-ui/eds-frame/eds-frame.css +147 -115
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +149 -117
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +178 -132
- package/dist/collection/shared-ui/eds-header/eds-header.js +21 -40
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +6 -5
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +8 -6
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -0
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.css +2 -35
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.js +2 -2
- package/dist/collection/{components → shared-ui}/eds-steps/eds-steps.stories.js +1 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +4 -128
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +268 -7686
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +10 -10
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +20 -10
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +36 -7758
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/analytics.js +2 -2
- package/dist/collection/utils/color.js +8 -8
- package/dist/components/analytics.js +2 -2
- package/dist/components/components-section.js +22 -16
- package/dist/components/components.css +34 -516
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +1 -1
- package/dist/components/eds-alert2.js +1 -1
- package/dist/components/eds-app-root.js +2 -20
- package/dist/components/eds-avatar2.js +4 -15
- package/dist/components/eds-block-break2.js +4 -4
- package/dist/components/eds-button2.js +6 -60
- package/dist/components/eds-card-desc2.js +2 -4
- package/dist/components/eds-card-generic2.js +2 -2
- package/dist/components/eds-card-project.js +131 -2
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +7 -1
- package/dist/components/eds-footer2.js +7 -3
- package/dist/components/eds-form.js +17 -9
- package/dist/components/eds-frame.js +2 -2
- package/dist/components/eds-fullscreen-menu.js +1 -1
- package/dist/components/{eds-login.d.ts → eds-gauge.d.ts} +4 -4
- package/dist/components/eds-gauge.js +81 -0
- package/dist/components/eds-header.js +15 -34
- package/dist/components/eds-input-field2.js +26 -16
- package/dist/components/eds-input-select2.js +12 -84
- package/dist/components/eds-link2.js +3 -2
- package/dist/components/eds-matomo-notice2.js +8 -6
- package/dist/components/{eds-card-wrapper.d.ts → eds-pie.d.ts} +4 -4
- package/dist/components/eds-pie.js +127 -0
- package/dist/components/eds-progress-bar2.js +32 -4
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +3 -2
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +1 -1
- package/dist/components/eds-steps2.js +1 -1
- package/dist/components/eds-switch.js +13 -5
- package/dist/components/eds-table2.js +4 -4
- package/dist/components/eds-tabs.js +11 -11
- package/dist/components/eds-tag2.js +2 -2
- package/dist/components/eds-timeline.js +2 -2
- package/dist/components/eds-toast-manager.js +31 -2
- package/dist/components/eds-toast2.js +4 -3
- package/dist/components/eds-tooltip.js +7 -88
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +10 -4
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-019555e2.entry.js +1 -0
- package/dist/components/p-04b4e9d0.entry.js +1 -0
- package/dist/components/p-0863352c.entry.js +1 -0
- package/dist/components/p-0d6434e1.entry.js +1 -0
- package/dist/components/p-0e94a89f.entry.js +1 -0
- package/dist/components/p-0ed92872.entry.js +1 -0
- package/dist/components/{p-c4db0829.entry.js → p-0eeddc13.entry.js} +1 -1
- package/dist/components/p-100909ce.entry.js +1 -0
- package/dist/components/{p-892362e0.entry.js → p-10db551c.entry.js} +1 -1
- package/dist/components/{p-aa2e6fec.entry.js → p-124b8747.entry.js} +1 -1
- package/dist/components/p-14a223fe.entry.js +1 -0
- package/dist/components/{p-e089797c.entry.js → p-1661f33c.entry.js} +1 -1
- package/dist/components/{p-05b272e5.entry.js → p-18ceadd2.entry.js} +1 -1
- package/dist/components/p-223ba66e.entry.js +1 -0
- package/dist/components/{p-751497f4.entry.js → p-24dab785.entry.js} +1 -1
- package/dist/components/p-26d6679b.entry.js +1 -0
- package/dist/components/p-2810d568.entry.js +1 -0
- package/dist/components/p-28ae3f3a.js +2 -0
- package/dist/components/p-2b1b2026.entry.js +1 -0
- package/dist/components/p-2c571550.entry.js +1 -0
- package/dist/components/p-326d9e55.entry.js +1 -0
- package/dist/components/p-36d6134f.entry.js +1 -0
- package/dist/components/p-3c642a30.entry.js +1 -0
- package/dist/components/p-46619042.entry.js +1 -0
- package/dist/components/{p-75d37c48.entry.js → p-46a6ab04.entry.js} +1 -1
- package/dist/components/{p-d83d2815.entry.js → p-50ea5b07.entry.js} +1 -1
- package/dist/components/p-511b23ec.entry.js +1 -0
- package/dist/components/p-5462923d.entry.js +1 -0
- package/dist/components/p-6199b8c0.entry.js +1 -0
- package/dist/components/{p-888c3471.entry.js → p-624e653e.entry.js} +1 -1
- package/dist/components/{p-0b99fd3c.entry.js → p-682f7376.entry.js} +1 -1
- package/dist/components/p-6907a47c.entry.js +1 -0
- package/dist/components/p-6ba42d02.entry.js +1 -0
- package/dist/components/p-6e929acb.entry.js +1 -0
- package/dist/components/p-6ede7101.entry.js +1 -0
- package/dist/components/p-70bac015.entry.js +1 -0
- package/dist/components/p-7af6b832.entry.js +1 -0
- package/dist/components/p-7f31622d.entry.js +1 -0
- package/dist/components/p-822ac246.entry.js +1 -0
- package/dist/components/p-848506b8.entry.js +1 -0
- package/dist/components/p-84fd3e40.entry.js +1 -0
- package/dist/components/p-85634ad2.entry.js +1 -0
- package/dist/components/{p-7a550385.entry.js → p-8ad05566.entry.js} +1 -1
- package/dist/components/{p-037975af.entry.js → p-8b016d76.entry.js} +1 -1
- package/dist/components/p-8bdf5841.entry.js +1 -0
- package/dist/components/p-8ff39cef.entry.js +1 -0
- package/dist/components/{p-29ad9c73.entry.js → p-a4f552b2.entry.js} +1 -1
- package/dist/components/p-a81cba86.entry.js +1 -0
- package/dist/components/p-abb2ad00.entry.js +1 -0
- package/dist/components/{p-b8ba7e5c.entry.js → p-adbd0d7b.entry.js} +1 -1
- package/dist/components/p-affe2b55.entry.js +1 -0
- package/dist/components/p-b31591db.entry.js +1 -0
- package/dist/components/{p-7db75d62.entry.js → p-b4abff90.entry.js} +1 -1
- package/dist/components/{p-67c72c20.entry.js → p-b50fc0d7.entry.js} +1 -1
- package/dist/components/p-b7efd666.entry.js +1 -0
- package/dist/components/p-ba784274.entry.js +1 -0
- package/dist/components/p-bb9af709.entry.js +1 -0
- package/dist/components/p-bfc62d3e.entry.js +1 -0
- package/dist/components/p-c0b22803.entry.js +1 -0
- package/dist/components/p-cdd491f5.entry.js +1 -0
- package/dist/components/{p-688e07d6.entry.js → p-cde3d7a4.entry.js} +1 -1
- package/dist/components/p-cfccddc3.entry.js +1 -0
- package/dist/components/p-d15065c3.js +1 -0
- package/dist/components/p-d268c96b.entry.js +1 -0
- package/dist/components/p-d437bae2.entry.js +1 -0
- package/dist/components/p-d456e649.entry.js +1 -0
- package/dist/components/p-dae8f66a.entry.js +1 -0
- package/dist/components/p-e1791844.entry.js +1 -0
- package/dist/components/p-e82edd4a.entry.js +1 -0
- package/dist/components/p-e9f608a8.entry.js +1 -0
- package/dist/components/{p-55e3683c.entry.js → p-ea97a94e.entry.js} +1 -1
- package/dist/components/{p-e2b00067.entry.js → p-eac593ee.entry.js} +1 -1
- package/dist/components/p-f26fd186.entry.js +1 -0
- package/dist/components/{p-7ac9881e.entry.js → p-f2c23162.entry.js} +1 -1
- package/dist/components/p-fc4edb18.entry.js +1 -0
- package/dist/components/p-fe1cba17.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/{analytics-44b1416b.js → analytics-d99780e3.js} +2 -2
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +23 -17
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/eds-accordion.entry.js +3 -3
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-avatar_34.entry.js +2694 -0
- package/dist/esm/eds-card-project.entry.js +133 -5
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +3 -3
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +7 -2
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-matomo-notice.entry.js +10 -8
- package/dist/esm/eds-pagination_2.entry.js +6 -6
- package/dist/esm/eds-progress-bar.entry.js +32 -5
- package/dist/esm/eds-rating.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +2 -2
- package/dist/esm/eds-splash-screen.entry.js +56 -0
- package/dist/esm/eds-switch.entry.js +14 -6
- package/dist/esm/eds-timeline.entry.js +3 -3
- package/dist/esm/eds-toast-manager.entry.js +32 -3
- package/dist/esm/eds-toast.entry.js +5 -4
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-8a71b9a7.js → index-fdb33359.js} +37 -319
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +2 -2
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +815 -2882
- package/dist/hydrate/index.mjs +815 -2882
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
- package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
- package/dist/types/components/eds-button/eds-button.d.ts +0 -1
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
- package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
- package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
- package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
- package/dist/types/components.d.ts +211 -241
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +5 -24
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
- package/package.json +14 -4
- package/dist/cjs/color-c00146a8.js +0 -134
- package/dist/cjs/eds-avatar_27.cjs.entry.js +0 -2404
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +0 -78
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
- package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
- package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
- package/dist/cjs/toastManager-4e9535f3.js +0 -33
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
- package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
- package/dist/components/color.js +0 -132
- package/dist/components/eds-card-wrapper.js +0 -49
- package/dist/components/eds-login.js +0 -6
- package/dist/components/eds-login2.js +0 -2076
- package/dist/components/p-05549a74.entry.js +0 -1
- package/dist/components/p-0e378e0e.entry.js +0 -1
- package/dist/components/p-13efafb9.js +0 -1
- package/dist/components/p-1ec25dc2.entry.js +0 -1
- package/dist/components/p-202f78cc.entry.js +0 -1
- package/dist/components/p-22b76c3c.entry.js +0 -1
- package/dist/components/p-22f9e720.js +0 -1
- package/dist/components/p-24300934.entry.js +0 -1
- package/dist/components/p-25f1cc6c.entry.js +0 -1
- package/dist/components/p-31ca07fd.entry.js +0 -1
- package/dist/components/p-342bc3d8.entry.js +0 -1
- package/dist/components/p-35068b80.entry.js +0 -1
- package/dist/components/p-3950debe.entry.js +0 -1
- package/dist/components/p-3d74d4b1.entry.js +0 -1
- package/dist/components/p-42f19373.entry.js +0 -1
- package/dist/components/p-4ecaedbc.entry.js +0 -1
- package/dist/components/p-5055eb25.entry.js +0 -1
- package/dist/components/p-5646902d.entry.js +0 -1
- package/dist/components/p-5ff68e7d.entry.js +0 -1
- package/dist/components/p-63cc5d3d.entry.js +0 -1
- package/dist/components/p-6506cf52.entry.js +0 -1
- package/dist/components/p-6aa17003.entry.js +0 -1
- package/dist/components/p-6e273e0f.entry.js +0 -1
- package/dist/components/p-6fcb754e.entry.js +0 -1
- package/dist/components/p-70c9af1e.entry.js +0 -1
- package/dist/components/p-7180a36b.entry.js +0 -1
- package/dist/components/p-7351cad3.entry.js +0 -1
- package/dist/components/p-75cc9f9e.entry.js +0 -1
- package/dist/components/p-7a31c31f.entry.js +0 -1
- package/dist/components/p-7cb60f9c.entry.js +0 -1
- package/dist/components/p-8a4d9b9b.entry.js +0 -1
- package/dist/components/p-8b7f5204.entry.js +0 -1
- package/dist/components/p-8db820ef.entry.js +0 -1
- package/dist/components/p-ae4f5e3a.entry.js +0 -1
- package/dist/components/p-b024183c.entry.js +0 -1
- package/dist/components/p-b115c3f1.entry.js +0 -1
- package/dist/components/p-b3a3ae59.entry.js +0 -1
- package/dist/components/p-b4595a9e.entry.js +0 -1
- package/dist/components/p-b817dceb.entry.js +0 -1
- package/dist/components/p-b8ca2127.entry.js +0 -1
- package/dist/components/p-ba6cc102.entry.js +0 -1
- package/dist/components/p-c51b5f04.entry.js +0 -1
- package/dist/components/p-c5a7d2b1.entry.js +0 -1
- package/dist/components/p-c5c782e7.entry.js +0 -1
- package/dist/components/p-c5f98369.entry.js +0 -1
- package/dist/components/p-c604063d.entry.js +0 -1
- package/dist/components/p-c9a19e93.entry.js +0 -1
- package/dist/components/p-cccacbd3.js +0 -2
- package/dist/components/p-d164a75d.entry.js +0 -1
- package/dist/components/p-d4c920fa.entry.js +0 -1
- package/dist/components/p-d82cc261.entry.js +0 -1
- package/dist/components/p-da6e49a9.entry.js +0 -1
- package/dist/components/p-dcd4de1f.entry.js +0 -1
- package/dist/components/p-e8a2d709.entry.js +0 -1
- package/dist/components/p-ea942740.entry.js +0 -1
- package/dist/components/p-eb0b93d5.js +0 -1
- package/dist/components/p-ece20356.entry.js +0 -1
- package/dist/components/p-ed6fd4b8.entry.js +0 -1
- package/dist/components/p-f3822d6b.entry.js +0 -1
- package/dist/components/p-f539febe.entry.js +0 -1
- package/dist/components/p-f7f4b247.entry.js +0 -1
- package/dist/components/p-fdbfa776.entry.js +0 -1
- package/dist/components/p-fe27f4a9.entry.js +0 -1
- package/dist/components/toastManager.js +0 -31
- package/dist/esm/color-2554aad6.js +0 -132
- package/dist/esm/eds-avatar_27.entry.js +0 -2374
- package/dist/esm/eds-card-desc_2.entry.js +0 -73
- package/dist/esm/eds-card-generic.entry.js +0 -88
- package/dist/esm/eds-card-wrapper.entry.js +0 -28
- package/dist/esm/eds-login_2.entry.js +0 -2095
- package/dist/esm/eds-tabs.entry.js +0 -126
- package/dist/esm/eds-tooltip.entry.js +0 -105
- package/dist/esm/toastManager-d9eee791.js +0 -31
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
- /package/dist/collection/components/eds-section/eds-section-core/{eds-section-core.stories.js → eds-section-core.donotstories.js} +0 -0
- /package/dist/collection/components/eds-timeline/{eds-timeline.stories.js → eds-timeline.donot-stories.js} +0 -0
- /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
- /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
|
@@ -35,7 +35,7 @@ const ColorPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorPrimaryP
|
|
|
35
35
|
];
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("ul", { key: '
|
|
38
|
+
return (h("ul", { key: '8279e944bfb0ddf1e3cb682daa1b8bcfe8cac3fd', 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))))))));
|
|
39
39
|
}
|
|
40
40
|
}, [0, "color-primary-palette"]);
|
|
41
41
|
function defineCustomElement() {
|
|
@@ -35,7 +35,7 @@ const GradientPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class GradientPr
|
|
|
35
35
|
];
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("ul", { key: '
|
|
38
|
+
return (h("ul", { key: '2bc09e1f15ce98c6ba133cffc09df3bf10ca343f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
39
39
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
40
40
|
} }, 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))))))));
|
|
41
41
|
}
|
|
@@ -60,7 +60,7 @@ const ColorSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorSecond
|
|
|
60
60
|
this.show = undefined;
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("ul", { key: '
|
|
63
|
+
return (h("ul", { key: 'ab7abc8b8b9115446169d85c6b97f4ea2e387068', 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))))))));
|
|
64
64
|
}
|
|
65
65
|
}, [0, "color-secondary-palette", {
|
|
66
66
|
"show": [1]
|
|
@@ -60,19 +60,19 @@ const GradientSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class Gradient
|
|
|
60
60
|
];
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '32943156b28f767dc9b2e524202a4f4906432472' }, h("ul", { key: 'bf0d9a310edc584b67e064b149c771417e4da9cc', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '3ed95b92fe0eea4e75be722c1d0abdedfaa9e00e', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'b5d4f381155b3e89bf441a87b9aff7718d4bd978', class: "effect-height flex items-center justify-between p-16", style: {
|
|
64
64
|
background: this.colors[0].background
|
|
65
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: 'c12a9c31da8078a9e6889e0084f1256dad389b59', class: "grid" }, h("span", { key: '2fa2d5e9bb0820f08d3c265d7797eeca4c47c73c', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'b609663a6bfebc37deee295b5c8316bb08e6c785', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: 'b3cc79d81900f4a9a12ff7c6ebaac286c4dc1cd6', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f91c41b6301c6234387c4386c493a9df56869c84', class: "grid" }, h("span", { key: '1165b82de0328f60a495a563e14277d3722b7d87', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: 'f364fa3b7d4a9c52e1b67a65a4992ea1055084c1', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: 'e798299fb6ffedd626aaf477593b928c73b177bc', class: "effect-height flex items-center justify-between p-16", style: {
|
|
66
66
|
background: this.colors[1].background
|
|
67
|
-
} }, h("div", { key: '
|
|
67
|
+
} }, h("div", { key: 'eee5b2de72d33f80c85fb0ad39e486cbd69d664b', class: "grid" }, h("span", { key: '5190b0bb900bf234f32ccad7d37749ae0e57c31c', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '49e3d6d1073dfa8d08054e9db612bfce1a811347', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'fd0c166cac7839de62cd782ec8071ba70378c15f', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'e9e95829a6eec21baab0238677a33cc649351185', class: "grid" }, h("span", { key: 'e8a6c41cc8193ca78794c7147f20d39604a1ae04', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: '039cbc6eedc43de988b5dd823525bde00f7a21e5', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '7f95cfde8f4724b236446c3732c04929e17a9aa0' }), h("ul", { key: '72f723c89d17ea54a962122867abbd690b4d9ad9', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'b2153dc607ed77d0a3b1398c3fc8b626163575e1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e9ff842671af9bf749857fb4b430dbd997eadbab', class: "effect-height flex items-center justify-between p-16", style: {
|
|
68
68
|
background: this.colors[2].background
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: 'fd8255c5ee1ffe2f1b44cc670e504540b2e19b17', class: "grid" }, h("span", { key: '17b71b6d17fe483a0eab1e80959da2076ad4647e', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: 'b3d39bde727347801976d1471875e3226f71d334', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'd37cfec78f74f7eec02047fb8e30962c55379f71', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'aa0ec054bb018ab8e564910ada76d849ee2d1608', class: "grid" }, h("span", { key: 'f633c21fb5227330e843b1c1f6d1fff40766c0d0', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'c41495a89c987cf7cfbbd0b4d1ff12ac0c650610', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '18a802a0cb7cbd228840fb58fadf6a121d98ebf9', class: "effect-height flex items-center justify-between p-16", style: {
|
|
70
70
|
background: this.colors[3].background
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: 'edf5fe68043e4712e7174c405e73e1aa84570936', class: "grid" }, h("span", { key: '455d010554f4836b26ff4b0568d088a4505619f3', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '6a50beb860b13371178b9582279c76cca29f25cf', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '98333266061cd31aa09d7d1394829c5d822c901f', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '9f1952601d13a96f1caade683d5474a26cf94298', class: "grid" }, h("span", { key: 'e43da3fba22655cef1690725654919a79d43a2f4', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'c3e280221454dc05f4112f03e3d226a6e70b70d3', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '63355f298a7680e4307b6e467da0fd54faf9da14' }), h("ul", { key: 'ff5a5554b716e21b0e219228317bbe334fc96488', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'b4ecf3a608a9321ca0cfd1edad2778b3b8ddf918', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '587730e489242f8579b2db3aceea8fadf4ba0f75', class: "effect-height flex items-center justify-between p-16", style: {
|
|
72
72
|
background: this.colors[4].background
|
|
73
|
-
} }, h("div", { key: '
|
|
73
|
+
} }, h("div", { key: '883c226b73544a239f6d0ece7cbab020e1cc5874', class: "grid" }, h("span", { key: 'dc5031f2236d81513cc543997f9b445b0fdea4be', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'a90f91b008cb67e8ee4a0454ed9e75f683a1a960', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '4c12f3a2500535970bdb70bb87b8d73348ef25bb', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '1ebadf2907a7f499d61e9edc7c71bb9e7378594a', class: "grid" }, h("span", { key: 'acfce5255506344a9b65b195933cf924e1030467', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: 'a7c4c25345c91a9753c4615c5205cf3dc49c36af', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: '01ce94d66521e612357c61de65ca1acd01e84cb9', class: "effect-height flex items-center justify-between p-16", style: {
|
|
74
74
|
background: this.colors[5].background
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: '628435f8fab14df7613aa4427af0b8c15fc222c2', class: "grid" }, h("span", { key: '4b4bbd19051b9d8d1eb524f2c84104eab7dae20a', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: 'bb01da8698315272a78bad8d7258cb79be98446b', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: 'f28b072bdb7dc66f3f3be1e922e527a7e3f4bf34', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '027adf31b26154f659c2cd8c9ee935b5886e8419', class: "grid" }, h("span", { key: 'f74af79724fd67f67ad0433f9390ca022c6788d8', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: '87262b14ffcda0153b37a5090b25e58b7c71c5dd', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
76
76
|
}
|
|
77
77
|
}, [0, "gradient-secondary-palette"]);
|
|
78
78
|
function defineCustomElement() {
|
|
@@ -60,7 +60,7 @@ const ColorSupportPalette = /*@__PURE__*/ proxyCustomElement(class ColorSupportP
|
|
|
60
60
|
return 'text-default';
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("ul", { key: '
|
|
63
|
+
return (h("ul", { key: '42a4eb08f07919ad464ba017dbba65667c91e005', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
64
64
|
// compute once
|
|
65
65
|
const textClass = this.getTextColor(color.background);
|
|
66
66
|
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)))));
|
|
@@ -51,11 +51,11 @@ const GradientSupportPalette = /*@__PURE__*/ proxyCustomElement(class GradientSu
|
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("ul", { key: '
|
|
54
|
+
return (h("ul", { key: '54a1927a8b5d68b7ef0cda7e1b7d673b33605a3c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '25d63af647cab86f74bb7fb261836f5938beb0c8', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '3a39fde1fd70cf8c456c9032ae0458976fd4e289', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: '0d2bcd0138973145c717725c79b6a2f4ff290b97', class: "grid" }, h("span", { key: '31c920216944da65a446f6c7d3037aee600e71d8', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '838ab2e1e8664243e32726ab03539a4f32b32cf4', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '2f8a24075e0fe1d2a6fda01fb97b4cf49f85277f', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '8482d6666b68cd1ceb866e1cbdd0d88343cf79da', class: "grid" }, h("span", { key: 'e3ba3599b4e5743691c35a28358f0050de18d32a', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: 'c3ac3af17201effeb89b017a334c9ac0b0d62ddf', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: '447e0a60ef726347ec1f4f540f6de7747a450845', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'fd922845d2aa3f66fde4d7fcf9f5b2416332fe9c', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: 'bcf9ff063b3c130e8f7e24247f032a9f9fa40bb6', class: "grid" }, h("span", { key: '0bcea7730d9f34ac44544cd1bc3bfa3b8ca361cf', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '9c5169394a89f4ba2adbb0ac2576bd885443aac3', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'c50e9ba110494a1a0e9df18a081f02cb86c700c4', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '365655cca2301d94a52f859fa9527ae5c0ef1ece', class: "grid" }, h("span", { key: '088fca6cf72c8c74244d9a6e19c7ec083c8a6711', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: 'b33043ed7e2ff751be0d3c229324369aeacd8f1e', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: '3b619a6a67d31ea7b358b59a147f36bfe35c4323', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '21b63edaebce5e4fdd10e6ad2ffaf31597d748f6', class: "effect-height flex items-center justify-between p-16", style: {
|
|
55
55
|
background: this.colors[2].background
|
|
56
|
-
} }, h("div", { key: '
|
|
56
|
+
} }, h("div", { key: 'f6d5d058b645af61eebb8f6a7b2369e4c95c31fb', class: "grid" }, h("span", { key: 'b7b1101ac321600f6218cbc4371d9219b9aef016', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '2debc8469b2d82c0550f1173bb4f0c1cdf33a7e0', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '90753985397844a6cabeee1b0ac5b32a84f59ed1', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f46c245f70973cd91992a8f9ec47e57997345c5c', class: "grid" }, h("span", { key: '7c7eb23f1312208b313cd2a2bd5c5a5af2e7cdd3', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '47c19d9a120cedc5c2bbbd385efa2e91ad4fd8e8', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'dcbc1b771bea1166bbbb0ed0e6fcd2d1aaa53b7f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
57
57
|
background: this.colors[3].background
|
|
58
|
-
} }, h("div", { key: '
|
|
58
|
+
} }, h("div", { key: '55dff4711f054b364df8a03381f768e93cd1b62a', class: "grid" }, h("span", { key: '3880f0ea82be335c750ed4553583bc87b7ca04cc', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '6952cfb758d707b3376032f1d997253c1edc9962', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '9e0bc4a1d79c41bfaa315fd3053752c4eda3cd18', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '9561d012cfbe411eac373f768893cc304b2e6138', class: "grid" }, h("span", { key: 'e90d3b590653807e22697395397ac89be9f52b90', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'ffd2be0e5f7ff3b72a73697e0ca2f92c7e9cc0a5', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: 'e963dd45ee5a8f52348e1b2a331df6af94f90f5f', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '0586094b065fdfa034096ef7e1eb95c6a26c41fc', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '6acfe9a84d72f0327c3eff6c44a616918fa627d3', class: "grid" }, h("span", { key: 'c3175b931ff1cc3365dbf1cdd548b550aaf662a3', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '42d1daa0c16dcceb7341c015b912e0ea27874282', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '56b32e9ba42ec77e3ba6263f27b78229996ce983', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '89226a45ae2cf148134d550d0507a3563978e1bd', class: "grid" }, h("span", { key: '6f9c4d6da4d4c3fe6ae8039291e6cd9c06635c24', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: '9b44fcec2f83ecaa9fb5a1b298bab55fce503e91', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
59
59
|
}
|
|
60
60
|
}, [0, "gradient-support-palette"]);
|
|
61
61
|
function defineCustomElement() {
|
|
@@ -337,7 +337,7 @@ const SvgRepository$1 = /*@__PURE__*/ proxyCustomElement(class SvgRepository ext
|
|
|
337
337
|
icon: { format: 'svg' },
|
|
338
338
|
name: { format: 'bold' }
|
|
339
339
|
};
|
|
340
|
-
return (h("div", { key: '
|
|
340
|
+
return (h("div", { key: '48b9bd49dc2521db7fc1676544530f6bd9cd6287', class: "full-width" }, h("eds-table", { key: 'c3b5bdecde28ad6ec8a5172d883d49a8b0436f18', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
341
341
|
}
|
|
342
342
|
get hostEl() { return this; }
|
|
343
343
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -243,7 +243,7 @@ const TokenList = /*@__PURE__*/ proxyCustomElement(class TokenList extends HTMLE
|
|
|
243
243
|
render() {
|
|
244
244
|
// Check if `show` prop is provided; if not, display all sections
|
|
245
245
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
246
|
-
return (h("section", { key: '
|
|
246
|
+
return (h("section", { key: '1c949c3777a159f1a52baa4f27d1acf07bf86114', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
247
247
|
// Only render sections that exist in `colors`
|
|
248
248
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
249
249
|
}
|
|
@@ -17,7 +17,7 @@ const TokenRadii = /*@__PURE__*/ proxyCustomElement(class TokenRadii extends HTM
|
|
|
17
17
|
this.__registerHost();
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("section", { key: '
|
|
20
|
+
return (h("section", { key: '07f9d8424b849e486379f81764ad946b0b632fa7', class: "w-full mt-28" }, h("ul", { key: 'ec8cb4aaad010b24dc82b556fbc143c52f9824c2', 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" }))))))));
|
|
21
21
|
}
|
|
22
22
|
}, [0, "token-radii"]);
|
|
23
23
|
function defineCustomElement() {
|
|
@@ -17,7 +17,7 @@ const TokenRatios$1 = /*@__PURE__*/ proxyCustomElement(class TokenRatios extends
|
|
|
17
17
|
this.__registerHost();
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return (h("section", { key: '
|
|
20
|
+
return (h("section", { key: 'a68e1101a6dfd99b0b48540f96792622b9837efc', class: "w-full" }, h("eds-section-core", { key: '1f32847d415fad34b9add511d7bc49907f351fe9', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, h("ul", { key: 'e1dc4d7772bc3cd009458e781f5de0c078f686c0', 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: {
|
|
21
21
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
22
22
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
23
23
|
maxWidth: '300px'
|
|
@@ -26,7 +26,7 @@ const TokenShadows = /*@__PURE__*/ proxyCustomElement(class TokenShadows extends
|
|
|
26
26
|
this.__registerHost();
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return (h("section", { key: '
|
|
29
|
+
return (h("section", { key: '50f470109606938085ed98480892d94ebcc2878c', class: "w-full mt-28" }, h("ul", { key: 'e9c982816b9117eacd1a9f721e7428f317087211', 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]" })))))))));
|
|
30
30
|
}
|
|
31
31
|
}, [0, "token-shadows"]);
|
|
32
32
|
function defineCustomElement() {
|
|
@@ -6,7 +6,7 @@ const TokenSpacing$1 = /*@__PURE__*/ proxyCustomElement(class TokenSpacing exten
|
|
|
6
6
|
this.__registerHost();
|
|
7
7
|
}
|
|
8
8
|
render() {
|
|
9
|
-
return (h("div", { key: '
|
|
9
|
+
return (h("div", { key: 'ad89d21ec01f11c77d85853f7c0dbefd8ea9f07f', class: "w-full" }, h("ul", { key: '6108fb2870c358de8e5c48e6d14f6c1e76af856f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'cd0d1986b416f12164b8d0458262987a445662ca', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'f2cfd77fcba601b89605dabf109f599816bb118e', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '69e4cb5660f5c51d2b9c1ba30a38f3b7decacc58', class: "spacing-sample m-16 bg-strong" }, h("span", { key: '70a07326b0a95655db3aad083637499f5ed4aa73', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), h("li", { key: '97b8c127e9bbe9af4ec8f6876ebae3f87a52d130', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '58537d6aa824b489ae9c5150400af21f11f1f447', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '3f2913d232cb9de1b678b7f7903bef0642ef42df', class: "spacing-sample ml-64 bg-strong" }, h("span", { key: 'fe56d1a501dc219a1bac474b674586609499f3de', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), h("li", { key: 'e2dee648fd4bce503414d76f3afe64655285523c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'e788fa22248ac92fb8bc89566c5b8a77cf14578f', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '9629958b453aa831a1d871bb4e846d0926d9e57c', class: "spacing-sample mt-32 bg-strong" }, h("span", { key: '0efde7eaed0fe3e14f476617e7e9bf2e20131f2c', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '6dabfeb0086c784c50843abd12d5a505a56e0933', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '164e7eec6ed3aad2847c4ede97f4bbfed34138d1', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '9be99b05ba29204f6163df2c1522e7aa6211bd3d', class: "spacing-sample p-32 bg-strong" }, h("span", { key: 'ae0a7ea74e31ea324015b844848c3d5a68930e8d', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), h("li", { key: '3804dbfb6a64a1dfd478bd0132ff83f51bcff33e', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '75c96b0762c3fac8b4de897ab8147b2c5614a360', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'd00487531406fa89112bee34e05306c59dc4f497', class: "spacing-sample pt-32 bg-strong" }, h("span", { key: '8a750b7ac07739a71949b236421427b8bb05b067', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '5e5fe43383f13b4377aca7cfb07c97b6ac1dd79b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'ed2ac88c543eba8c580d029ccacb1a8b26c1cae7', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'cf9a94b61e598c0ee6da9e771717574b48264333', class: "spacing-sample pl-32 bg-strong" }, h("span", { key: 'a2d3fce66240c6b0d49d1a655c0b5a84be9c630d', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
10
10
|
}
|
|
11
11
|
}, [0, "token-spacing"]);
|
|
12
12
|
function defineCustomElement$1() {
|
|
@@ -206,7 +206,7 @@ const TokenTypography$1 = /*@__PURE__*/ proxyCustomElement(class TokenTypography
|
|
|
206
206
|
this.__registerHost();
|
|
207
207
|
}
|
|
208
208
|
render() {
|
|
209
|
-
return (h("section", { key: '
|
|
209
|
+
return (h("section", { key: '60710505ef0a06883d83c6838b1eb246485bd548', class: "w-full" }, h("ul", { key: '3cac0e7f35f878e29ee45e21407609753099e077', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
210
210
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
211
211
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (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-4 block lg:flex items-center border border-soft rounded" }, h("div", { class: "mr-auto hidden lg:block", style: {
|
|
212
212
|
fontFamily: typography.families.sans,
|
|
@@ -20,7 +20,7 @@ function sendAnalytics(eventData) {
|
|
|
20
20
|
// eslint-disable-next-line
|
|
21
21
|
console.warn('Matomo is not available or not initialized.');
|
|
22
22
|
// eslint-disable-next-line
|
|
23
|
-
console.log(
|
|
23
|
+
//console.log({ ...eventData });
|
|
24
24
|
return;
|
|
25
25
|
}
|
|
26
26
|
// Conditionally build the name field
|
|
@@ -34,7 +34,7 @@ function sendAnalytics(eventData) {
|
|
|
34
34
|
//console.log('trackEvent', eventData.category, eventData.action, name)
|
|
35
35
|
pushToMatomo('trackEvent', eventData.category, eventData.action, name);
|
|
36
36
|
// eslint-disable-next-line
|
|
37
|
-
console.log(
|
|
37
|
+
//console.log({ ...eventData });
|
|
38
38
|
}
|
|
39
39
|
// Function to opt-in the user
|
|
40
40
|
function matomoOptIn() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-
|
|
1
|
+
import { r as registerInstance, h } from './index-fdb33359.js';
|
|
2
2
|
|
|
3
3
|
const ColorPrimaryPalette = class {
|
|
4
4
|
constructor(hostRef) {
|
|
@@ -32,7 +32,7 @@ const ColorPrimaryPalette = class {
|
|
|
32
32
|
];
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
35
|
-
return (h("ul", { key: '
|
|
35
|
+
return (h("ul", { key: '8279e944bfb0ddf1e3cb682daa1b8bcfe8cac3fd', 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
36
|
}
|
|
37
37
|
};
|
|
38
38
|
|
|
@@ -93,7 +93,7 @@ const ColorSecondaryPalette = class {
|
|
|
93
93
|
this.show = undefined;
|
|
94
94
|
}
|
|
95
95
|
render() {
|
|
96
|
-
return (h("ul", { key: '
|
|
96
|
+
return (h("ul", { key: 'ab7abc8b8b9115446169d85c6b97f4ea2e387068', 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))))))));
|
|
97
97
|
}
|
|
98
98
|
};
|
|
99
99
|
|
|
@@ -154,7 +154,7 @@ const ColorSupportPalette = class {
|
|
|
154
154
|
return 'text-default';
|
|
155
155
|
}
|
|
156
156
|
render() {
|
|
157
|
-
return (h("ul", { key: '
|
|
157
|
+
return (h("ul", { key: '42a4eb08f07919ad464ba017dbba65667c91e005', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
158
158
|
// compute once
|
|
159
159
|
const textClass = this.getTextColor(color.background);
|
|
160
160
|
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)))));
|
|
@@ -194,7 +194,7 @@ const GradientPrimaryPalette = class {
|
|
|
194
194
|
];
|
|
195
195
|
}
|
|
196
196
|
render() {
|
|
197
|
-
return (h("ul", { key: '
|
|
197
|
+
return (h("ul", { key: '2bc09e1f15ce98c6ba133cffc09df3bf10ca343f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
198
198
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
199
199
|
} }, 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))))))));
|
|
200
200
|
}
|
|
@@ -256,19 +256,19 @@ const GradientSecondaryPalette = class {
|
|
|
256
256
|
];
|
|
257
257
|
}
|
|
258
258
|
render() {
|
|
259
|
-
return (h("div", { key: '
|
|
259
|
+
return (h("div", { key: '32943156b28f767dc9b2e524202a4f4906432472' }, h("ul", { key: 'bf0d9a310edc584b67e064b149c771417e4da9cc', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '3ed95b92fe0eea4e75be722c1d0abdedfaa9e00e', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'b5d4f381155b3e89bf441a87b9aff7718d4bd978', class: "effect-height flex items-center justify-between p-16", style: {
|
|
260
260
|
background: this.colors[0].background
|
|
261
|
-
} }, h("div", { key: '
|
|
261
|
+
} }, h("div", { key: 'c12a9c31da8078a9e6889e0084f1256dad389b59', class: "grid" }, h("span", { key: '2fa2d5e9bb0820f08d3c265d7797eeca4c47c73c', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'b609663a6bfebc37deee295b5c8316bb08e6c785', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: 'b3cc79d81900f4a9a12ff7c6ebaac286c4dc1cd6', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f91c41b6301c6234387c4386c493a9df56869c84', class: "grid" }, h("span", { key: '1165b82de0328f60a495a563e14277d3722b7d87', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: 'f364fa3b7d4a9c52e1b67a65a4992ea1055084c1', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: 'e798299fb6ffedd626aaf477593b928c73b177bc', class: "effect-height flex items-center justify-between p-16", style: {
|
|
262
262
|
background: this.colors[1].background
|
|
263
|
-
} }, h("div", { key: '
|
|
263
|
+
} }, h("div", { key: 'eee5b2de72d33f80c85fb0ad39e486cbd69d664b', class: "grid" }, h("span", { key: '5190b0bb900bf234f32ccad7d37749ae0e57c31c', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '49e3d6d1073dfa8d08054e9db612bfce1a811347', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'fd0c166cac7839de62cd782ec8071ba70378c15f', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'e9e95829a6eec21baab0238677a33cc649351185', class: "grid" }, h("span", { key: 'e8a6c41cc8193ca78794c7147f20d39604a1ae04', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: '039cbc6eedc43de988b5dd823525bde00f7a21e5', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '7f95cfde8f4724b236446c3732c04929e17a9aa0' }), h("ul", { key: '72f723c89d17ea54a962122867abbd690b4d9ad9', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'b2153dc607ed77d0a3b1398c3fc8b626163575e1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e9ff842671af9bf749857fb4b430dbd997eadbab', class: "effect-height flex items-center justify-between p-16", style: {
|
|
264
264
|
background: this.colors[2].background
|
|
265
|
-
} }, h("div", { key: '
|
|
265
|
+
} }, h("div", { key: 'fd8255c5ee1ffe2f1b44cc670e504540b2e19b17', class: "grid" }, h("span", { key: '17b71b6d17fe483a0eab1e80959da2076ad4647e', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: 'b3d39bde727347801976d1471875e3226f71d334', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'd37cfec78f74f7eec02047fb8e30962c55379f71', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'aa0ec054bb018ab8e564910ada76d849ee2d1608', class: "grid" }, h("span", { key: 'f633c21fb5227330e843b1c1f6d1fff40766c0d0', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'c41495a89c987cf7cfbbd0b4d1ff12ac0c650610', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '18a802a0cb7cbd228840fb58fadf6a121d98ebf9', class: "effect-height flex items-center justify-between p-16", style: {
|
|
266
266
|
background: this.colors[3].background
|
|
267
|
-
} }, h("div", { key: '
|
|
267
|
+
} }, h("div", { key: 'edf5fe68043e4712e7174c405e73e1aa84570936', class: "grid" }, h("span", { key: '455d010554f4836b26ff4b0568d088a4505619f3', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '6a50beb860b13371178b9582279c76cca29f25cf', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '98333266061cd31aa09d7d1394829c5d822c901f', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '9f1952601d13a96f1caade683d5474a26cf94298', class: "grid" }, h("span", { key: 'e43da3fba22655cef1690725654919a79d43a2f4', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'c3e280221454dc05f4112f03e3d226a6e70b70d3', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '63355f298a7680e4307b6e467da0fd54faf9da14' }), h("ul", { key: 'ff5a5554b716e21b0e219228317bbe334fc96488', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'b4ecf3a608a9321ca0cfd1edad2778b3b8ddf918', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '587730e489242f8579b2db3aceea8fadf4ba0f75', class: "effect-height flex items-center justify-between p-16", style: {
|
|
268
268
|
background: this.colors[4].background
|
|
269
|
-
} }, h("div", { key: '
|
|
269
|
+
} }, h("div", { key: '883c226b73544a239f6d0ece7cbab020e1cc5874', class: "grid" }, h("span", { key: 'dc5031f2236d81513cc543997f9b445b0fdea4be', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'a90f91b008cb67e8ee4a0454ed9e75f683a1a960', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '4c12f3a2500535970bdb70bb87b8d73348ef25bb', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '1ebadf2907a7f499d61e9edc7c71bb9e7378594a', class: "grid" }, h("span", { key: 'acfce5255506344a9b65b195933cf924e1030467', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: 'a7c4c25345c91a9753c4615c5205cf3dc49c36af', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: '01ce94d66521e612357c61de65ca1acd01e84cb9', class: "effect-height flex items-center justify-between p-16", style: {
|
|
270
270
|
background: this.colors[5].background
|
|
271
|
-
} }, h("div", { key: '
|
|
271
|
+
} }, h("div", { key: '628435f8fab14df7613aa4427af0b8c15fc222c2', class: "grid" }, h("span", { key: '4b4bbd19051b9d8d1eb524f2c84104eab7dae20a', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: 'bb01da8698315272a78bad8d7258cb79be98446b', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: 'f28b072bdb7dc66f3f3be1e922e527a7e3f4bf34', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '027adf31b26154f659c2cd8c9ee935b5886e8419', class: "grid" }, h("span", { key: 'f74af79724fd67f67ad0433f9390ca022c6788d8', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: '87262b14ffcda0153b37a5090b25e58b7c71c5dd', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
272
272
|
}
|
|
273
273
|
};
|
|
274
274
|
|
|
@@ -320,11 +320,11 @@ const GradientSupportPalette = class {
|
|
|
320
320
|
];
|
|
321
321
|
}
|
|
322
322
|
render() {
|
|
323
|
-
return (h("ul", { key: '
|
|
323
|
+
return (h("ul", { key: '54a1927a8b5d68b7ef0cda7e1b7d673b33605a3c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '25d63af647cab86f74bb7fb261836f5938beb0c8', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '3a39fde1fd70cf8c456c9032ae0458976fd4e289', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: '0d2bcd0138973145c717725c79b6a2f4ff290b97', class: "grid" }, h("span", { key: '31c920216944da65a446f6c7d3037aee600e71d8', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '838ab2e1e8664243e32726ab03539a4f32b32cf4', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '2f8a24075e0fe1d2a6fda01fb97b4cf49f85277f', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '8482d6666b68cd1ceb866e1cbdd0d88343cf79da', class: "grid" }, h("span", { key: 'e3ba3599b4e5743691c35a28358f0050de18d32a', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: 'c3ac3af17201effeb89b017a334c9ac0b0d62ddf', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: '447e0a60ef726347ec1f4f540f6de7747a450845', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'fd922845d2aa3f66fde4d7fcf9f5b2416332fe9c', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: 'bcf9ff063b3c130e8f7e24247f032a9f9fa40bb6', class: "grid" }, h("span", { key: '0bcea7730d9f34ac44544cd1bc3bfa3b8ca361cf', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '9c5169394a89f4ba2adbb0ac2576bd885443aac3', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: 'c50e9ba110494a1a0e9df18a081f02cb86c700c4', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '365655cca2301d94a52f859fa9527ae5c0ef1ece', class: "grid" }, h("span", { key: '088fca6cf72c8c74244d9a6e19c7ec083c8a6711', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: 'b33043ed7e2ff751be0d3c229324369aeacd8f1e', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: '3b619a6a67d31ea7b358b59a147f36bfe35c4323', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '21b63edaebce5e4fdd10e6ad2ffaf31597d748f6', class: "effect-height flex items-center justify-between p-16", style: {
|
|
324
324
|
background: this.colors[2].background
|
|
325
|
-
} }, h("div", { key: '
|
|
325
|
+
} }, h("div", { key: 'f6d5d058b645af61eebb8f6a7b2369e4c95c31fb', class: "grid" }, h("span", { key: 'b7b1101ac321600f6218cbc4371d9219b9aef016', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '2debc8469b2d82c0550f1173bb4f0c1cdf33a7e0', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '90753985397844a6cabeee1b0ac5b32a84f59ed1', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'f46c245f70973cd91992a8f9ec47e57997345c5c', class: "grid" }, h("span", { key: '7c7eb23f1312208b313cd2a2bd5c5a5af2e7cdd3', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '47c19d9a120cedc5c2bbbd385efa2e91ad4fd8e8', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'dcbc1b771bea1166bbbb0ed0e6fcd2d1aaa53b7f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
326
326
|
background: this.colors[3].background
|
|
327
|
-
} }, h("div", { key: '
|
|
327
|
+
} }, h("div", { key: '55dff4711f054b364df8a03381f768e93cd1b62a', class: "grid" }, h("span", { key: '3880f0ea82be335c750ed4553583bc87b7ca04cc', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '6952cfb758d707b3376032f1d997253c1edc9962', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '9e0bc4a1d79c41bfaa315fd3053752c4eda3cd18', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '9561d012cfbe411eac373f768893cc304b2e6138', class: "grid" }, h("span", { key: 'e90d3b590653807e22697395397ac89be9f52b90', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: 'ffd2be0e5f7ff3b72a73697e0ca2f92c7e9cc0a5', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: 'e963dd45ee5a8f52348e1b2a331df6af94f90f5f', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '0586094b065fdfa034096ef7e1eb95c6a26c41fc', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '6acfe9a84d72f0327c3eff6c44a616918fa627d3', class: "grid" }, h("span", { key: 'c3175b931ff1cc3365dbf1cdd548b550aaf662a3', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '42d1daa0c16dcceb7341c015b912e0ea27874282', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '56b32e9ba42ec77e3ba6263f27b78229996ce983', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '89226a45ae2cf148134d550d0507a3563978e1bd', class: "grid" }, h("span", { key: '6f9c4d6da4d4c3fe6ae8039291e6cd9c06635c24', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: '9b44fcec2f83ecaa9fb5a1b298bab55fce503e91', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { h, r as registerInstance } from './index-
|
|
1
|
+
import { h, r as registerInstance } from './index-fdb33359.js';
|
|
2
2
|
|
|
3
3
|
const DocsOverview = () => (h("div", { class: "static-content container" },
|
|
4
4
|
h("h2", null, "Load the module"),
|
|
5
5
|
h("p", null,
|
|
6
|
-
"Integrating the EBRAINS UI Components to a project
|
|
7
|
-
|
|
6
|
+
"Integrating the EBRAINS UI Components to a project ",
|
|
7
|
+
h("b", null, "with or without a JavaScript framework"),
|
|
8
|
+
" is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the ",
|
|
8
9
|
h("code", null, "head"),
|
|
9
10
|
"."),
|
|
10
11
|
h("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }),
|
|
@@ -29,18 +30,21 @@ const DocsOverview = () => (h("div", { class: "static-content container" },
|
|
|
29
30
|
] }),
|
|
30
31
|
h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
31
32
|
h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" }),
|
|
32
|
-
h("h2", null, "Load the styles"),
|
|
33
|
+
h("h2", null, "Load the variables and styles"),
|
|
34
|
+
h("p", null,
|
|
35
|
+
"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the",
|
|
36
|
+
' ',
|
|
37
|
+
h("code", null, "head"),
|
|
38
|
+
". This approach is recommended when you\u2019re working solely with the web components and want minimal integration. That said, the components are configured to require only these CSS variables and nothing more."),
|
|
39
|
+
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
33
40
|
h("p", null,
|
|
34
41
|
"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the",
|
|
35
42
|
' ',
|
|
36
|
-
h("code", null, "head")
|
|
43
|
+
h("code", null, "head"),
|
|
44
|
+
". Use this when you want quick access to ready-made utilities for building your own components or applications and you do not wish to dive deep to css configurations."),
|
|
37
45
|
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
38
46
|
h("p", null,
|
|
39
|
-
"
|
|
40
|
-
h("code", null, "head")),
|
|
41
|
-
h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/vars.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
42
|
-
h("p", null,
|
|
43
|
-
"Note that, loading the predefined CSS framework above,",
|
|
47
|
+
"Note that, loading either the variables or the predefined CSS framework above,",
|
|
44
48
|
' ',
|
|
45
49
|
h("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
46
50
|
". If you wish, however, to load the fonts, add the tag below to the ",
|
|
@@ -51,14 +55,16 @@ const DocsInstallation = () => (h("div", null,
|
|
|
51
55
|
h("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
|
|
52
56
|
h("div", { class: "my-8" },
|
|
53
57
|
h("eds-code-block", { code: "npm install @ebrains/components", language: "html", "copy-label": "Copy Code" })),
|
|
54
|
-
h("div", { class: "my-8" },
|
|
55
|
-
h("eds-code-block", { code: "npm install @ebrains/assets", language: "html", "copy-label": "Copy Code" })),
|
|
56
58
|
h("div", { class: "my-8" },
|
|
57
59
|
h("eds-code-block", { code: "npm install @ebrains/react", language: "html", "copy-label": "Copy Code" })),
|
|
58
60
|
h("div", { class: "my-8" },
|
|
59
61
|
h("eds-code-block", { code: "npm install @ebrains/vue", language: "html", "copy-label": "Copy Code" })),
|
|
60
62
|
h("div", { class: "my-8" },
|
|
61
|
-
h("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" }))
|
|
63
|
+
h("eds-code-block", { code: "npm install @ebrains/angular", language: "html", "copy-label": "Copy Code" })),
|
|
64
|
+
h("div", { class: "my-8" },
|
|
65
|
+
h("eds-code-block", { code: "npm install @ebrains/assets", language: "html", "copy-label": "Copy Code" })),
|
|
66
|
+
h("div", { class: "my-8" },
|
|
67
|
+
h("eds-code-block", { code: "npm install @ebrains/svgs", language: "html", "copy-label": "Copy Code" }))));
|
|
62
68
|
|
|
63
69
|
const DocsReact = () => (h("div", null,
|
|
64
70
|
h("h2", null, "React Wrappers"),
|
|
@@ -97,12 +103,12 @@ const DocsVue = () => (h("div", null,
|
|
|
97
103
|
|
|
98
104
|
const DocsAngular = () => (h("div", null,
|
|
99
105
|
h("h2", null, "Angular Wrappers"),
|
|
100
|
-
h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),
|
|
106
|
+
h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples. The Angular Stencil output type used for this package = `standalone`."),
|
|
101
107
|
h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }),
|
|
108
|
+
h("p", null, "Install the components dependency as this important for the angular package to work properly."),
|
|
109
|
+
h("eds-code-block", { code: "npm install @ebrains/components", language: "javascript", "copy-label": "Copy Code" }),
|
|
102
110
|
h("p", null, "Define the custom elements"),
|
|
103
111
|
h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
|
|
104
|
-
h("p", null, "Angular Custom Elements Schema"),
|
|
105
|
-
h("eds-code-block", { code: 'import { CUSTOM_ELEMENTS_SCHEMA } from "@angular/core";', language: "javascript", "copy-label": "Copy Code" }),
|
|
106
112
|
h("eds-section-core", { "section-title": "Example Angular App", "heading-level": "h3" },
|
|
107
113
|
h("eds-code-block", { code: '\n<div class="container">\n <eds-breadcrumb\n intent="tertiary"\n items="[\n { "label": "Home", "url": "#" },\n { "label": "Products", "url": "#" },\n ]">\n </eds-breadcrumb>\n <eds-footer></eds-footer>\n</div>', language: "javascript", "copy-label": "Copy Code" }))));
|
|
108
114
|
|
|
@@ -128,7 +134,7 @@ const ComponentsSection = class {
|
|
|
128
134
|
}
|
|
129
135
|
}
|
|
130
136
|
render() {
|
|
131
|
-
return h("div", { key: '
|
|
137
|
+
return h("div", { key: 'd68c9ede251456d88ef2a033691927c87c8ec163', class: "container" }, this.renderContent());
|
|
132
138
|
}
|
|
133
139
|
};
|
|
134
140
|
|