@ebrains/components 3.0.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/{eds-accordion_52.cjs.entry.js → eds-accordion_53.cjs.entry.js} +1095 -336
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-gauge.cjs.entry.js +1 -1
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +35 -32
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.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-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-input-search.cjs.entry.js +76 -0
- package/dist/cjs/eds-modal.cjs.entry.js +18 -9
- package/dist/cjs/eds-pie.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl-badge.cjs.entry.js +184 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +10 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +58 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +8 -2
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/eds-accordion/eds-accordion.css +3 -2
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -5
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +7 -19
- package/dist/collection/components/eds-alert/eds-alert.css +14 -0
- package/dist/collection/components/eds-alert/eds-alert.js +2 -1
- package/dist/collection/components/eds-alert/eds-alert.stories.js +19 -147
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +2 -2
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
- package/dist/collection/components/eds-button/eds-button.css +15 -0
- package/dist/collection/components/eds-button/eds-button.js +17 -14
- package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.css +10 -1
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -4
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +6 -7
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +6 -7
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +2 -2
- package/dist/collection/components/eds-code-block/eds-code-block.css +72 -106
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +30 -4
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-footer/eds-footer.css +143 -203
- package/dist/collection/components/eds-footer/eds-footer.js +176 -74
- package/dist/collection/components/eds-footer/eds-footer.stories.js +109 -17
- package/dist/collection/components/eds-form/eds-form.css +493 -1
- package/dist/collection/components/eds-form/eds-form.js +256 -14
- package/dist/collection/components/eds-form/eds-form.stories.js +110 -3
- package/dist/collection/components/eds-frame/eds-frame.js +1 -1
- package/dist/collection/components/eds-header/eds-header.js +1 -1
- package/dist/collection/components/eds-header/eds-header.stories.js +26 -12
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +20 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-img/eds-img.stories.js +29 -52
- package/dist/collection/components/eds-input-dropzone/eds-input-dropzone.js +7 -4
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +20 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +39 -0
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +2 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +17 -5
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +15 -5
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.stories.js +30 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +6 -2
- package/dist/collection/components/eds-input-field/eds-input-field.css +219 -0
- package/dist/collection/components/eds-input-field/eds-input-field.js +16 -5
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +105 -125
- package/dist/collection/components/eds-input-file/eds-input-file.js +5 -3
- package/dist/collection/components/eds-link/eds-link.js +4 -8
- package/dist/collection/components/eds-link/eds-link.stories.js +13 -8
- package/dist/collection/components/eds-logo/eds-logo.js +13 -66
- package/dist/collection/components/eds-logo/eds-logo.stories.js +36 -17
- package/dist/collection/components/eds-modal/eds-modal.js +18 -9
- package/dist/collection/components/eds-modal/eds-modal.stories.js +11 -8
- package/dist/collection/components/eds-nps/eds-nps.css +32 -0
- package/dist/collection/components/eds-nps/eds-nps.js +3 -3
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -8
- package/dist/collection/components/eds-rating/eds-rating.css +9 -0
- package/dist/collection/components/eds-rating/eds-rating.js +2 -2
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +2 -2
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +56 -25
- package/dist/collection/components/eds-steps/eds-steps.js +27 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +93 -28
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +57 -10
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +80 -17
- package/dist/collection/components/eds-switch/eds-switch.css +26 -3
- package/dist/collection/components/eds-switch/eds-switch.js +10 -7
- package/dist/collection/components/eds-switch/eds-switch.stories.js +20 -1
- package/dist/collection/components/eds-table/eds-table.css +21 -4
- package/dist/collection/components/eds-table/eds-table.js +16 -51
- package/dist/collection/components/eds-table/eds-table.stories.js +7 -115
- package/dist/collection/components/eds-tabs/eds-tabs.css +7 -1
- package/dist/collection/components/eds-tabs/eds-tabs.js +49 -18
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +2 -2
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-toast/eds-toast.css +146 -0
- package/dist/collection/components/eds-toast/eds-toast.js +106 -4
- package/dist/collection/components/eds-toast/eds-toast.stories.js +102 -5
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +7 -1
- package/dist/collection/components/eds-user/eds-user.js +2 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +8 -11
- 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/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 +8 -2
- 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 +58 -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-gitlab-contributors/eds-gitlab-contributors.css +19 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +34 -31
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +166 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +69 -7
- package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.css +205 -0
- package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.js +253 -0
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +2 -2
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +1 -3
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +23 -102
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +7 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +213 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +706 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +90 -0
- package/dist/collection/shared-ui/eds-trl-badge/ebrains-mark.js +26 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.css +22 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.js +324 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +99 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +2 -1
- package/dist/collection/utils/eds-form/safeFormat.js +35 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +12 -11
- 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 +3 -6
- package/dist/components/eds-alert2.js +3 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +1 -1
- package/dist/components/eds-button2.js +16 -13
- package/dist/components/eds-card-app.js +2 -5
- package/dist/components/eds-card-cta.js +3 -6
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-feature.js +2 -5
- package/dist/components/eds-card-generic2.js +2 -4
- package/dist/components/eds-card-hero.js +6 -7
- package/dist/components/eds-card-stat.js +6 -7
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +30 -4
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +118 -24
- package/dist/components/eds-form.js +146 -45
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-gitlab-contributors.js +35 -32
- package/dist/components/eds-global-search.js +55 -70
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-wrapper2.js +5 -2
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-dropzone2.js +7 -4
- package/dist/components/eds-input-field2.js +31 -26
- package/dist/components/eds-input-file2.js +5 -3
- package/dist/components/eds-input-footer2.js +39 -3
- package/dist/components/eds-input-label2.js +2 -2
- package/dist/components/eds-input-range2.js +15 -5
- package/dist/components/eds-input-search.js +100 -1
- package/dist/components/eds-input-select2.js +6 -2
- package/dist/components/eds-input2.js +4 -2
- package/dist/components/eds-kg-learning-resources.d.ts +11 -0
- package/dist/components/eds-kg-learning-resources.js +217 -0
- package/dist/components/eds-kg-web-services-select2.js +18 -24
- package/dist/components/eds-link2.js +3 -7
- package/dist/components/eds-logo2.js +4 -22
- package/dist/components/eds-matomo-notice2.js +8 -2
- package/dist/components/eds-modal.js +18 -9
- package/dist/components/eds-nps2.js +4 -4
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-pie.js +2 -2
- package/dist/components/eds-progress-bar.js +1 -8
- package/dist/components/eds-rating2.js +3 -3
- package/dist/components/eds-search-select.d.ts +11 -0
- package/dist/components/eds-search-select.js +6 -0
- package/dist/components/eds-search-select2.js +382 -0
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-sidebar.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 +41 -11
- package/dist/components/eds-steps2.js +28 -8
- package/dist/components/eds-switch2.js +8 -5
- package/dist/components/eds-table2.js +30 -54
- package/dist/components/eds-tabs.js +50 -19
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +39 -3
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-trl-badge.d.ts +11 -0
- package/dist/components/eds-trl-badge.js +207 -0
- package/dist/components/eds-user.js +1 -4
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +76 -25
- 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-05e96609.entry.js +1 -0
- package/dist/components/p-0d778d10.entry.js +1 -0
- package/dist/components/{p-d2576747.entry.js → p-114f6d54.entry.js} +1 -1
- package/dist/components/p-1534204d.entry.js +1 -0
- package/dist/components/p-337d4ee3.entry.js +9 -0
- package/dist/components/p-340bc935.entry.js +1 -0
- package/dist/components/{p-a6dc1f88.entry.js → p-37ef07d9.entry.js} +1 -1
- package/dist/components/p-39dbb964.entry.js +1 -0
- package/dist/components/{p-dfe93385.entry.js → p-3f66bc26.entry.js} +1 -1
- package/dist/components/p-43f9e64f.entry.js +1 -0
- package/dist/components/p-46cc6c1a.entry.js +1 -0
- package/dist/components/{p-773bd015.entry.js → p-4b8a7979.entry.js} +1 -1
- package/dist/components/p-6b94b2ec.entry.js +1 -0
- package/dist/components/p-6d965fef.entry.js +1 -0
- package/dist/components/{p-d16b5363.entry.js → p-6e370182.entry.js} +1 -1
- package/dist/components/{p-7b93a385.entry.js → p-6ffe581c.entry.js} +1 -1
- package/dist/components/p-726637b1.entry.js +1 -0
- package/dist/components/{p-a63e14bb.entry.js → p-86ccc09f.entry.js} +1 -1
- package/dist/components/{p-c2fc62f7.entry.js → p-8755a21b.entry.js} +1 -1
- package/dist/components/{p-0d7aee0b.entry.js → p-8ab461e2.entry.js} +1 -1
- package/dist/components/p-8cb162b8.entry.js +1 -0
- package/dist/components/p-8cdbc280.entry.js +1 -0
- package/dist/components/{p-940a2d42.entry.js → p-8e034c4e.entry.js} +1 -1
- package/dist/components/p-9f649fa3.entry.js +1 -0
- package/dist/components/{p-d1b3aa52.entry.js → p-a26dad9b.entry.js} +1 -1
- package/dist/components/p-a2d6a9ca.entry.js +1 -0
- package/dist/components/p-afabe1be.entry.js +1 -0
- package/dist/components/{p-c46675c8.entry.js → p-b1519098.entry.js} +1 -1
- package/dist/components/{p-04e9c2d7.entry.js → p-b1a10842.entry.js} +1 -1
- package/dist/components/{p-7aa4edef.entry.js → p-b4023b45.entry.js} +1 -1
- package/dist/components/p-c53b3563.entry.js +1 -0
- package/dist/components/p-c7d612d1.entry.js +1 -0
- package/dist/components/p-dc9aef22.entry.js +1 -0
- package/dist/components/{p-f364296f.entry.js → p-f66a7cf9.entry.js} +1 -1
- package/dist/components/p-f97f62f2.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 +19 -25
- 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 +8 -2
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/{eds-accordion_52.entry.js → eds-accordion_53.entry.js} +1094 -336
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-gauge.entry.js +1 -1
- package/dist/esm/eds-gitlab-contributors.entry.js +35 -32
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.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-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/{components/eds-input-search2.js → esm/eds-input-search.entry.js} +9 -39
- package/dist/esm/eds-modal.entry.js +18 -9
- package/dist/esm/eds-pie.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl-badge.entry.js +180 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-870ab08f.js +10 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +58 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +8 -2
- package/dist/hydrate/index.js +1616 -397
- package/dist/hydrate/index.mjs +1616 -397
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +4 -8
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -73
- package/dist/types/components/eds-button/eds-button.d.ts +1 -1
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +1 -0
- package/dist/types/components/eds-footer/eds-footer.d.ts +84 -55
- package/dist/types/components/eds-footer/eds-footer.stories.d.ts +62 -1
- package/dist/types/components/eds-form/eds-form.d.ts +66 -0
- package/dist/types/components/eds-form/eds-form.stories.d.ts +63 -0
- package/dist/types/components/eds-header/eds-header.stories.d.ts +6 -6
- package/dist/types/components/eds-icon-wrapper/eds-icon-wrapper.d.ts +8 -0
- package/dist/types/components/eds-img/eds-img.stories.d.ts +6 -20
- package/dist/types/components/eds-input-elements/eds-input/eds-input.d.ts +7 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.stories.d.ts +36 -0
- package/dist/types/components/eds-input-field/eds-input-field.stories.d.ts +97 -38
- package/dist/types/components/eds-link/eds-link.stories.d.ts +9 -6
- package/dist/types/components/eds-logo/eds-logo.d.ts +11 -28
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +22 -2
- package/dist/types/components/eds-steps/eds-steps.d.ts +7 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +14 -1
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +40 -9
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -2
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +8 -0
- package/dist/types/components/eds-table/eds-table.d.ts +8 -14
- package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -107
- package/dist/types/components/eds-tabs/eds-tabs.d.ts +10 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +33 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +49 -1
- package/dist/types/components/eds-user/eds-user.d.ts +0 -2
- package/dist/types/components/eds-user/eds-user.stories.d.ts +5 -9
- package/dist/types/components.d.ts +715 -144
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +12 -0
- package/dist/types/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.d.ts +60 -0
- package/dist/types/shared-ui/eds-search-select/eds-search-select.d.ts +98 -0
- package/dist/types/shared-ui/eds-search-select/eds-search-select.stories.d.ts +81 -0
- package/dist/types/shared-ui/eds-trl-badge/ebrains-mark.d.ts +7 -0
- package/dist/types/shared-ui/eds-trl-badge/eds-trl-badge.d.ts +54 -0
- package/dist/types/shared-ui/eds-trl-badge/eds-trl-badge.stories.d.ts +112 -0
- package/dist/types/utils/eds-form/safeFormat.d.ts +21 -0
- package/package.json +1 -1
- package/dist/components/p-0fe10e6c.entry.js +0 -1
- package/dist/components/p-18e852e1.entry.js +0 -1
- package/dist/components/p-3ccd6948.entry.js +0 -1
- package/dist/components/p-3d3841d6.entry.js +0 -1
- package/dist/components/p-3f38df99.entry.js +0 -1
- package/dist/components/p-527e71d0.entry.js +0 -1
- package/dist/components/p-55047f7f.entry.js +0 -9
- package/dist/components/p-64c23098.entry.js +0 -1
- package/dist/components/p-74b9c9a8.entry.js +0 -1
- package/dist/components/p-878f65a6.entry.js +0 -1
- package/dist/components/p-92f6d9c0.entry.js +0 -1
- package/dist/components/p-9eedf771.entry.js +0 -1
- package/dist/components/p-b4355cec.entry.js +0 -1
- package/dist/components/p-d2f17fac.entry.js +0 -1
- package/dist/components/p-db5eea95.entry.js +0 -1
- package/dist/components/p-e205c269.entry.js +0 -1
- package/dist/components/p-f55dd314.entry.js +0 -1
- package/dist/components/p-f88b5f21.entry.js +0 -1
|
@@ -9,6 +9,7 @@ interface SearchResult {
|
|
|
9
9
|
source: string;
|
|
10
10
|
snippet: string;
|
|
11
11
|
score: number | null;
|
|
12
|
+
parent_software?: string;
|
|
12
13
|
}
|
|
13
14
|
export declare class EdsGlobalSearch {
|
|
14
15
|
el: HTMLElement;
|
|
@@ -46,6 +47,13 @@ export declare class EdsGlobalSearch {
|
|
|
46
47
|
* When provided, will be sent as "Bearer <token>" in Authorization header
|
|
47
48
|
*/
|
|
48
49
|
authToken: string;
|
|
50
|
+
/**
|
|
51
|
+
* Visual theme of the search pill.
|
|
52
|
+
* - "gray" (default): light grey surface (matches the EBRAINS header mockup)
|
|
53
|
+
* - "white": white surface with a 1px border (use when sitting on a coloured nav)
|
|
54
|
+
* - "black": brand-black surface with white text (use on dark backgrounds)
|
|
55
|
+
*/
|
|
56
|
+
variant: 'gray' | 'white' | 'black';
|
|
49
57
|
/**
|
|
50
58
|
* Emitted when a result is selected
|
|
51
59
|
*/
|
|
@@ -74,10 +82,14 @@ export declare class EdsGlobalSearch {
|
|
|
74
82
|
private debounceTimer?;
|
|
75
83
|
private dropdownRef?;
|
|
76
84
|
private inputRef?;
|
|
85
|
+
private cmdKListener?;
|
|
77
86
|
componentDidLoad(): void;
|
|
78
87
|
disconnectedCallback(): void;
|
|
79
88
|
handleDocumentClick(event: MouseEvent): void;
|
|
80
89
|
handleKeydown(event: KeyboardEvent): void;
|
|
90
|
+
/** Clear the current query and results; keep focus in the input so the
|
|
91
|
+
* user can start typing again without an extra click. */
|
|
92
|
+
private handleClear;
|
|
81
93
|
private handleInput;
|
|
82
94
|
private runSearch;
|
|
83
95
|
private selectResult;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
interface LearningResource {
|
|
2
|
+
name: string;
|
|
3
|
+
iri?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
educational_level?: string;
|
|
6
|
+
abstract?: string;
|
|
7
|
+
learning_outcome?: string;
|
|
8
|
+
prerequisite?: string;
|
|
9
|
+
required_time?: string;
|
|
10
|
+
topic?: string | string[];
|
|
11
|
+
uuid?: string;
|
|
12
|
+
}
|
|
13
|
+
interface SoftwareEntry {
|
|
14
|
+
uuid: string;
|
|
15
|
+
name: string;
|
|
16
|
+
kg_search_url?: string;
|
|
17
|
+
learning_resources_count: number;
|
|
18
|
+
learning_resources_types: string[];
|
|
19
|
+
learning_resources_levels: string[];
|
|
20
|
+
learning_resources: LearningResource[];
|
|
21
|
+
}
|
|
22
|
+
interface LearningResourcesResponse {
|
|
23
|
+
data: SoftwareEntry[];
|
|
24
|
+
meta?: {
|
|
25
|
+
total_software: number;
|
|
26
|
+
total_learning_resources: number;
|
|
27
|
+
by_type: Record<string, number>;
|
|
28
|
+
by_level: Record<string, number>;
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
export declare class EdsKgLearningResources {
|
|
32
|
+
el: HTMLElement;
|
|
33
|
+
/** API endpoint for fetching learning resources */
|
|
34
|
+
apiEndpoint: string;
|
|
35
|
+
/** Whether to resolve software names */
|
|
36
|
+
resolveNames: boolean;
|
|
37
|
+
/** Max resources to fetch */
|
|
38
|
+
size: number;
|
|
39
|
+
/** Component heading */
|
|
40
|
+
heading: string;
|
|
41
|
+
/** Visual variant for accordions and cards */
|
|
42
|
+
variant: 'default' | 'inverse';
|
|
43
|
+
loading: boolean;
|
|
44
|
+
error: string;
|
|
45
|
+
software: SoftwareEntry[];
|
|
46
|
+
meta: LearningResourcesResponse['meta'] | null;
|
|
47
|
+
filterType: string;
|
|
48
|
+
filterLevel: string;
|
|
49
|
+
searchQuery: string;
|
|
50
|
+
componentWillLoad(): void;
|
|
51
|
+
fetchData(): Promise<void>;
|
|
52
|
+
private getFilteredSoftware;
|
|
53
|
+
private getFilteredResources;
|
|
54
|
+
private getTagIntent;
|
|
55
|
+
private getLevelTagIntent;
|
|
56
|
+
private renderAccordionDescription;
|
|
57
|
+
private renderResources;
|
|
58
|
+
render(): any;
|
|
59
|
+
}
|
|
60
|
+
export {};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
interface Option {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Searchable, source-agnostic select for HUGE option lists (countries,
|
|
8
|
+
* currencies, nationalities, …) — the generalised sibling of
|
|
9
|
+
* eds-kg-web-services-select.
|
|
10
|
+
*
|
|
11
|
+
* It never talks to an external API directly. It either filters an inline
|
|
12
|
+
* `options` array client-side, or queries a VETTED, NAMED `source` through our
|
|
13
|
+
* own datasets registry (`/api/v1/datasets/<source>/search`), which returns the
|
|
14
|
+
* one normalised shape `{ items: [{label, value}], total, nextOffset }`. Any
|
|
15
|
+
* messy upstream schema is flattened server-side by an adapter — the component
|
|
16
|
+
* stays dumb.
|
|
17
|
+
*
|
|
18
|
+
* Rendering is result-capped (we render at most `maxVisible` rows and tell the
|
|
19
|
+
* user to keep typing) so a 5,000-item source never blows up the DOM. Remote
|
|
20
|
+
* sources are additionally bounded by the server's page `limit`.
|
|
21
|
+
*/
|
|
22
|
+
export declare class EdsSearchSelect {
|
|
23
|
+
host: HTMLElement;
|
|
24
|
+
name: string;
|
|
25
|
+
label?: string;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
required: boolean;
|
|
28
|
+
disabled: boolean;
|
|
29
|
+
hint?: string;
|
|
30
|
+
message?: string;
|
|
31
|
+
error: boolean;
|
|
32
|
+
errorMessage?: string;
|
|
33
|
+
/** Selected value. A single value string in single-select mode, or an array
|
|
34
|
+
of values in multi-select mode. v-model friendly. */
|
|
35
|
+
value?: string | string[];
|
|
36
|
+
/** Allow selecting multiple values — selections render as removable tags. */
|
|
37
|
+
multiple: boolean;
|
|
38
|
+
/** Inline options: an array or a JSON string of [{label, value}]. */
|
|
39
|
+
options?: Option[] | string;
|
|
40
|
+
/** A vetted registry source key, e.g. "countries" / "currencies". */
|
|
41
|
+
source?: string;
|
|
42
|
+
/** Base path for the datasets API. */
|
|
43
|
+
apiBase: string;
|
|
44
|
+
/** Query param name the search term is sent as. */
|
|
45
|
+
searchParam: string;
|
|
46
|
+
/** Server page size for remote sources. */
|
|
47
|
+
limit: number;
|
|
48
|
+
/** Debounce (ms) before a remote search fires. */
|
|
49
|
+
debounceMs: number;
|
|
50
|
+
/** Max rows rendered at once (DOM cap). */
|
|
51
|
+
maxVisible: number;
|
|
52
|
+
edsinput: EventEmitter<{
|
|
53
|
+
value: string | boolean | string[];
|
|
54
|
+
}>;
|
|
55
|
+
edschange: EventEmitter<{
|
|
56
|
+
value: string | boolean | string[];
|
|
57
|
+
}>;
|
|
58
|
+
open: boolean;
|
|
59
|
+
query: string;
|
|
60
|
+
loading: boolean;
|
|
61
|
+
fetchError: string;
|
|
62
|
+
items: Option[];
|
|
63
|
+
total: number;
|
|
64
|
+
activeIndex: number;
|
|
65
|
+
selectedLabel: string;
|
|
66
|
+
private debounceTimer;
|
|
67
|
+
private inlineOptions;
|
|
68
|
+
private listboxId;
|
|
69
|
+
private labelCache;
|
|
70
|
+
componentWillLoad(): void;
|
|
71
|
+
onOptionsChange(): void;
|
|
72
|
+
onValueChange(): void;
|
|
73
|
+
private parseInlineOptions;
|
|
74
|
+
private cacheLabels;
|
|
75
|
+
/** The current selection as a value array (works for single + multi). */
|
|
76
|
+
private get selectedValues();
|
|
77
|
+
private labelFor;
|
|
78
|
+
private emitValue;
|
|
79
|
+
private get isRemote();
|
|
80
|
+
private resolveSelectedLabel;
|
|
81
|
+
private filterInline;
|
|
82
|
+
private fetchRemote;
|
|
83
|
+
private runSearch;
|
|
84
|
+
private get visibleItems();
|
|
85
|
+
private get hiddenCount();
|
|
86
|
+
private openMenu;
|
|
87
|
+
private closeMenu;
|
|
88
|
+
private onInput;
|
|
89
|
+
private select;
|
|
90
|
+
private removeValue;
|
|
91
|
+
private clear;
|
|
92
|
+
private onKeyDown;
|
|
93
|
+
private onDocumentClick;
|
|
94
|
+
connectedCallback(): void;
|
|
95
|
+
disconnectedCallback(): void;
|
|
96
|
+
render(): any;
|
|
97
|
+
}
|
|
98
|
+
export {};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
name: {
|
|
6
|
+
control: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
label: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
placeholder: {
|
|
14
|
+
control: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
hint: {
|
|
18
|
+
control: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
message: {
|
|
22
|
+
control: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
required: {
|
|
26
|
+
control: string;
|
|
27
|
+
description: string;
|
|
28
|
+
};
|
|
29
|
+
disabled: {
|
|
30
|
+
control: string;
|
|
31
|
+
description: string;
|
|
32
|
+
};
|
|
33
|
+
error: {
|
|
34
|
+
control: string;
|
|
35
|
+
description: string;
|
|
36
|
+
};
|
|
37
|
+
errorMessage: {
|
|
38
|
+
control: string;
|
|
39
|
+
description: string;
|
|
40
|
+
};
|
|
41
|
+
multiple: {
|
|
42
|
+
control: string;
|
|
43
|
+
description: string;
|
|
44
|
+
};
|
|
45
|
+
options: {
|
|
46
|
+
control: string;
|
|
47
|
+
description: string;
|
|
48
|
+
};
|
|
49
|
+
source: {
|
|
50
|
+
control: string;
|
|
51
|
+
description: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
args: {
|
|
55
|
+
name: string;
|
|
56
|
+
label: string;
|
|
57
|
+
placeholder: string;
|
|
58
|
+
required: boolean;
|
|
59
|
+
disabled: boolean;
|
|
60
|
+
error: boolean;
|
|
61
|
+
multiple: boolean;
|
|
62
|
+
options: {
|
|
63
|
+
label: string;
|
|
64
|
+
value: string;
|
|
65
|
+
}[];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export default _default;
|
|
69
|
+
/** Single-select with inline options (no backend required). */
|
|
70
|
+
export declare const Default: {
|
|
71
|
+
render: (args: any) => HTMLEdsSearchSelectElement;
|
|
72
|
+
};
|
|
73
|
+
/** Multi-select — selected values render as removable tags. */
|
|
74
|
+
export declare const Multiple: {
|
|
75
|
+
render: (args: any) => HTMLEdsSearchSelectElement;
|
|
76
|
+
args: {
|
|
77
|
+
name: string;
|
|
78
|
+
label: string;
|
|
79
|
+
multiple: boolean;
|
|
80
|
+
};
|
|
81
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Gradient <defs> for the mark, namespaced with `uid`. */
|
|
2
|
+
export declare function markDefs(uid: string): string;
|
|
3
|
+
/**
|
|
4
|
+
* The mark paths wrapped in a positioned, scaled group.
|
|
5
|
+
* The source artwork lives in a ~201×201 canvas; `size` is the rendered px.
|
|
6
|
+
*/
|
|
7
|
+
export declare function markGroup(uid: string, x: number, y: number, size?: number): string;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `EdsTrlBadge` — public EBRAINS TRL badge, aligned with the EBRAINS visual
|
|
3
|
+
* system (Black `#07140D`, Green `#00FF9D`, Dark Green `#00C87B`, Grey
|
|
4
|
+
* `#7A7B7A`, IBM Plex Mono) and using the **official EBRAINS sphere mark**.
|
|
5
|
+
*
|
|
6
|
+
* Renders a self-contained inline `<svg>` (same markup the server-side
|
|
7
|
+
* `badge.svg` endpoint emits), so it embeds anywhere and stays crisp.
|
|
8
|
+
*
|
|
9
|
+
* Variants:
|
|
10
|
+
* - `tone` — CI-style label + value pill (dark or light `theme`).
|
|
11
|
+
* - `full` — single bar with the full string.
|
|
12
|
+
* - `pill` — compact rounded "TRL 7".
|
|
13
|
+
* - `outline` — thin border, transparent fill, mono caps (dark or light).
|
|
14
|
+
* - `scale` — nine readiness pips showing position on the 1–9 scale.
|
|
15
|
+
*
|
|
16
|
+
* The value/pip colour encodes maturity within the brand palette:
|
|
17
|
+
* TRL 7–9 → green, 4–6 → dark green, 1–3 → grey.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* <eds-trl-badge level={7} assessed="2026-06" methodology="v8.2"></eds-trl-badge>
|
|
21
|
+
* <eds-trl-badge level={7} variant="outline" theme="light"></eds-trl-badge>
|
|
22
|
+
* <eds-trl-badge level={7} variant="scale" size={32}></eds-trl-badge>
|
|
23
|
+
*/
|
|
24
|
+
export declare class EdsTrlBadge {
|
|
25
|
+
/** TRL level, 1–9. */
|
|
26
|
+
level: number;
|
|
27
|
+
/** Assessment month, e.g. "2026-06". */
|
|
28
|
+
assessed?: string;
|
|
29
|
+
/** Methodology version, e.g. "v8.2". */
|
|
30
|
+
methodology?: string;
|
|
31
|
+
/** Colour theme for the `tone` / `outline` / `scale` variants. */
|
|
32
|
+
theme: 'dark' | 'light';
|
|
33
|
+
/** 'tone' | 'full' | 'pill' | 'outline' | 'scale'. */
|
|
34
|
+
variant: 'tone' | 'full' | 'pill' | 'outline' | 'scale';
|
|
35
|
+
/** Rendered height in px. Scales the whole badge crisply (viewBox is fixed). */
|
|
36
|
+
size?: number;
|
|
37
|
+
/** Left-segment / leading label. */
|
|
38
|
+
label: string;
|
|
39
|
+
/** Optional link (methodology or service page). */
|
|
40
|
+
href?: string;
|
|
41
|
+
/** Per-instance suffix so the mark's gradient ids never collide. */
|
|
42
|
+
private uid;
|
|
43
|
+
private static CW;
|
|
44
|
+
private esc;
|
|
45
|
+
/** Maturity tier → value/pip colour (brand palette). */
|
|
46
|
+
private levelColor;
|
|
47
|
+
/** Readable value text on a coloured segment (black on green, light on grey). */
|
|
48
|
+
private valueText;
|
|
49
|
+
private fullText;
|
|
50
|
+
/** Build the inner markup + intrinsic dimensions for the chosen variant. */
|
|
51
|
+
private build;
|
|
52
|
+
private buildSvg;
|
|
53
|
+
render(): any;
|
|
54
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
level: {
|
|
6
|
+
control: {
|
|
7
|
+
type: string;
|
|
8
|
+
min: number;
|
|
9
|
+
max: number;
|
|
10
|
+
};
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
assessed: {
|
|
14
|
+
control: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
methodology: {
|
|
18
|
+
control: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
theme: {
|
|
22
|
+
control: string;
|
|
23
|
+
options: string[];
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
variant: {
|
|
27
|
+
control: string;
|
|
28
|
+
options: string[];
|
|
29
|
+
description: string;
|
|
30
|
+
};
|
|
31
|
+
size: {
|
|
32
|
+
control: {
|
|
33
|
+
type: string;
|
|
34
|
+
min: number;
|
|
35
|
+
max: number;
|
|
36
|
+
};
|
|
37
|
+
description: string;
|
|
38
|
+
};
|
|
39
|
+
href: {
|
|
40
|
+
control: string;
|
|
41
|
+
description: string;
|
|
42
|
+
};
|
|
43
|
+
label: {
|
|
44
|
+
control: string;
|
|
45
|
+
description: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
args: {
|
|
49
|
+
level: number;
|
|
50
|
+
assessed: string;
|
|
51
|
+
methodology: string;
|
|
52
|
+
theme: string;
|
|
53
|
+
variant: string;
|
|
54
|
+
size: any;
|
|
55
|
+
href: string;
|
|
56
|
+
label: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
export default _default;
|
|
60
|
+
export declare const ToneDark: {
|
|
61
|
+
render: (args: any) => string;
|
|
62
|
+
};
|
|
63
|
+
export declare const ToneLight: {
|
|
64
|
+
args: {
|
|
65
|
+
theme: string;
|
|
66
|
+
};
|
|
67
|
+
render: (args: any) => string;
|
|
68
|
+
};
|
|
69
|
+
export declare const FullMetadata: {
|
|
70
|
+
args: {
|
|
71
|
+
variant: string;
|
|
72
|
+
};
|
|
73
|
+
render: (args: any) => string;
|
|
74
|
+
};
|
|
75
|
+
export declare const Pill: {
|
|
76
|
+
args: {
|
|
77
|
+
variant: string;
|
|
78
|
+
};
|
|
79
|
+
render: (args: any) => string;
|
|
80
|
+
};
|
|
81
|
+
export declare const OutlineDark: {
|
|
82
|
+
args: {
|
|
83
|
+
variant: string;
|
|
84
|
+
};
|
|
85
|
+
render: (args: any) => string;
|
|
86
|
+
};
|
|
87
|
+
export declare const OutlineLight: {
|
|
88
|
+
args: {
|
|
89
|
+
variant: string;
|
|
90
|
+
theme: string;
|
|
91
|
+
};
|
|
92
|
+
render: (args: any) => string;
|
|
93
|
+
};
|
|
94
|
+
export declare const ReadinessScale: {
|
|
95
|
+
args: {
|
|
96
|
+
variant: string;
|
|
97
|
+
};
|
|
98
|
+
render: (args: any) => string;
|
|
99
|
+
};
|
|
100
|
+
export declare const Sized: {
|
|
101
|
+
args: {
|
|
102
|
+
variant: string;
|
|
103
|
+
size: number;
|
|
104
|
+
};
|
|
105
|
+
render: (args: any) => string;
|
|
106
|
+
};
|
|
107
|
+
export declare const MaturityTiers: {
|
|
108
|
+
render: () => string;
|
|
109
|
+
};
|
|
110
|
+
export declare const AllStories: {
|
|
111
|
+
render: () => string;
|
|
112
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* safeInlineFormat — the single, audited text→HTML formatter used everywhere a
|
|
3
|
+
* form renders author-supplied text via innerHTML (form/step description, Text
|
|
4
|
+
* Blocks, and field messages).
|
|
5
|
+
*
|
|
6
|
+
* SECURITY: escape-first, then a tiny whitelisted inline subset. Because all of
|
|
7
|
+
* &, <, >, " are turned into entities BEFORE any markup is generated, author
|
|
8
|
+
* text can never inject a tag or attribute — the only HTML produced is the
|
|
9
|
+
* <strong>, <a> and <br> emitted here. Links are restricted to http/https/mailto
|
|
10
|
+
* (others fall back to plain text), URLs cannot contain whitespace or a quote,
|
|
11
|
+
* and external links get rel="noopener noreferrer".
|
|
12
|
+
*
|
|
13
|
+
* DO NOT reorder: escaping MUST happen before tag generation, or the guarantee
|
|
14
|
+
* breaks. Keep this in sync with the JS mirror in
|
|
15
|
+
* apps/live/forms-app/src/utils/descriptionFormat.ts.
|
|
16
|
+
*
|
|
17
|
+
* **bold** → <strong>bold</strong>
|
|
18
|
+
* [label](url) → <a href="url" …>label</a> (http/https/mailto only)
|
|
19
|
+
* newline → <br>
|
|
20
|
+
*/
|
|
21
|
+
export declare function safeInlineFormat(text: string): string;
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as c}from"./p-271c61ff.js";const a=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],s=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],d=class{constructor(c){e(this,c)}render(){return c("div",{key:"424c9b01d69068fa058b25dd89df08154912dfe7",class:"container"},c("div",{key:"5a9dae817344c3c92b8bdb55b806b1f96e26496d",class:"mb-8"},c("eds-alert",{key:"afeaa6e5320151800d31c3fecb85669000409a14",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"})),c("div",{key:"87241b25b9f9e326183ba4496983d93bef766380",class:"flex"},c("div",{key:"c018e1fffc8198b3e48e1df6b1e8d560e1c7b84a",class:"w-full"},c("ul",{key:"97845ca2dfe71ac0feb27762c4b3c71c80ca626c",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a.map((e=>c("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},c("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),c("div",{key:"05adf9099f1b043d08577cf1f233551d83fc4242",class:"w-full"},c("ul",{key:"55792bcf3ecb93df6884d7366aa8c7f2c3cf5ad5",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},s.map((e=>c("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},c("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{d as incorrect_use_of_colors}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-271c61ff.js";const a={"1x1":"1/1","21x9":"21/9","16x9":"16/9","3x2":"3/2","4x3":"4/3","4x5":"4/5"},s=class{constructor(t){e(this,t)}render(){return t("section",{key:"9ab666342a801e51b3a75c979bceadccf4d9736e",class:"w-full"},t("eds-section-core",{key:"4eea7a8b3b8e3b0404108345756d11806ea2805d",tag:"div","section-title":"Aspect Ratios","heading-level":"h3"},t("ul",{key:"faa065acac9bce28073f709d147c9b2725150da5",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(a).map((([e,a])=>t("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},t("div",{class:"container ratio-box flex items-center justify-center text-center border-2 border-soft",style:{aspectRatio:a.replace("/",":"),width:"100%",maxWidth:"300px"}},t("span",{class:"text-default font-bold mr-auto"},"aspect-",e),t("span",{class:"mt-2 text-sm ml-auto"},a))))))))}};export{s as token_ratios}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as s,h as r}from"./p-271c61ff.js";import{g as t}from"./p-50e27321.js";const a=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"41c0a44af7394753c8c656f5a1de86b1446f05e3",class:this.class,innerHTML:t})}};export{a as eds_icon_gitlab}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as a}from"./p-271c61ff.js";const c=class{constructor(a){e(this,a)}render(){return a("div",{key:"8ebe0d888150e5fefd1d3047cc82548f12f47f9f",class:"w-full"},a("ul",{key:"c57af77dfb437bafaf060a6c6ebece84c4683409",class:"not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"6ca948268bd07e50409334b84eeeb362287f131e",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"0f33f8feec6657d21a4e4a1973d4c46cf4f6c526",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"194c9d5367c75c35f021d0b5c64601a72d1141fd",class:"spacing-sample m-16 bg-strong"},a("span",{key:"252af2371d58a8364718210563b7aa9a76a551a6",class:"f-body-01 text-inverse"},"Margin: 1rem / m-16")))),a("li",{key:"833a8373bbe4db4514c84d4e299e2103b37bc75e",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"d364398230aca7af47273a654a8f138d70361c75",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"707e0b62f500c16dc2d72da8e0bd85adabd7280b",class:"spacing-sample ml-64 bg-strong"},a("span",{key:"846c07af2613e90c3acd1fa66aa422db14a95526",class:"f-body-01 text-inverse"},"Margin Left: 4rem / ml-64")))),a("li",{key:"107899eab78bbb70f62b0aa2df8573f7a940024c",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"fb007ac46524cfda56c1033869b3fd7edeec96b8",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"4312aaa901f7ad1075056517b2d8b0902e708aec",class:"spacing-sample mt-32 bg-strong"},a("span",{key:"62a87119afea530831e3bcbb45da16f3a3cfb1b8",class:"f-body-01 text-inverse"},"Margin Top: 2rem / mt-32")))),a("li",{key:"279e6f5af470cf3f969c37f715def542e4d13140",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"057bcacd976a4d7f0a69ccba3b469e79f6e8c86a",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"379423e5ef1b3f5be2a322493266305f2cf46b9d",class:"spacing-sample p-32 bg-strong"},a("span",{key:"a3bd9db6ab5dd4f6204d5009c4328f617f44b78c",class:"f-body-01 text-inverse"},"Padding: 2rem / p-32")))),a("li",{key:"526411b8ab854f67873964446dee7191949f5d54",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"c30d0c423a4d3104ca8736fbd2c0de5159ac8f2d",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"93e0422c2304a0d3a158ba086aa9235a05d621f0",class:"spacing-sample pt-32 bg-strong"},a("span",{key:"dca707847134a421d60930307613a6528a009f9d",class:"f-body-01 text-inverse"},"Padding Top: 2rem / pt-32")))),a("li",{key:"a132977bdf19ba79401ccc05f248711eb2793497",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"2fad0e796528bce6c021cbb9d3036d4a23226b82",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"be02958fc44ca651c348078dfc84fabbe92afaa1",class:"spacing-sample pl-32 bg-strong"},a("span",{key:"6c94b77b470a1dd9de4dad7a6900d2e053236f52",class:"f-body-01 text-inverse"},"Padding Left: 2rem / pl-32"))))))}};export{c as token_spacing}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as s}from"./p-271c61ff.js";import{e as r}from"./p-e0ee2386.js";const t=class{constructor(s){e(this,s),this.class=""}render(){return s("span",{key:"c4a043469698de97b7433749599ee04746df7f8e",class:this.class,innerHTML:r})}};export{t as eds_icon_eu}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as c}from"./p-271c61ff.js";const o=class{constructor(c){e(this,c),this.isAuthenticated=!1}componentWillLoad(){const e=new Promise((e=>{document.addEventListener("initKeycloak",(c=>{e(c.detail)}),{once:!0})})),c=new Promise((e=>{document.addEventListener("authStatusChanged",(c=>{var o;this.isAuthenticated=null===(o=c.detail)||void 0===o?void 0:o.authenticated,e(c.detail)}),{once:!0})}));this.combinedInitPromise=Promise.all([e,c])}render(){return c("div",{key:"10a75e7e117b2f3ab3d0ba8f2a26c122b2e0eed4"},c("eds-splash-screen",{key:"ab527af22c9a9fe861bbed4759946428e3e7fdf0",inverse:!0,initPromise:this.combinedInitPromise}),c("eds-login",{key:"78e7face11e06df76b9dd29e99b7d968cc2cf32e","keycloak-url":"http://localhost:8080","keycloak-realm":"nigeor-realm","keycloak-client-id":"stencil-app"}),c("main",{key:"30f463e667ccc25062bbf2764fdabc8937b6097c"},c("h1",null,this.isAuthenticated?"Welcome, authenticated user!":"Please log in.")))}};export{o as eds_app_root}
|