@ebrains/components 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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} +847 -207
- 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 +9 -2
- 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-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 +181 -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 +1 -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 +1 -1
- 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 +1 -1
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +7 -19
- 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 +13 -6
- 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-cta/eds-card-cta.css +10 -1
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +1 -1
- 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 +173 -76
- package/dist/collection/components/eds-footer/eds-footer.stories.js +108 -15
- package/dist/collection/components/eds-form/eds-form.css +37 -1
- package/dist/collection/components/eds-form/eds-form.js +45 -7
- 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 +1 -1
- 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 +29 -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.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- 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 +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +11 -5
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +82 -130
- package/dist/collection/components/eds-input-file/eds-input-file.js +1 -1
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-link/eds-link.stories.js +13 -8
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.stories.js +9 -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-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-v2/eds-steps-v2.js +1 -1
- package/dist/collection/components/eds-table/eds-table.css +21 -4
- package/dist/collection/components/eds-table/eds-table.js +17 -50
- package/dist/collection/components/eds-table/eds-table.stories.js +5 -109
- package/dist/collection/components/eds-tabs/eds-tabs.css +7 -1
- package/dist/collection/components/eds-tabs/eds-tabs.js +47 -9
- 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-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 +1 -1
- package/dist/collection/components/eds-user/eds-user.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/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-gitlab-contributors/eds-gitlab-contributors.css +19 -0
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +8 -1
- 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 +62 -6
- 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 +257 -0
- 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-search-select/eds-search-select.css +203 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +685 -0
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +85 -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 +321 -0
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +96 -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 +39 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +3 -4
- 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 +2 -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 +12 -5
- package/dist/components/eds-card-cta.js +2 -2
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-feature.js +1 -1
- package/dist/components/eds-card-generic2.js +1 -1
- package/dist/components/eds-card-hero.js +1 -1
- package/dist/components/eds-card-stat.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- 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 +115 -26
- package/dist/components/eds-form.js +61 -23
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-gitlab-contributors.js +9 -2
- package/dist/components/eds-global-search.js +48 -69
- 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 +1 -1
- package/dist/components/eds-input-field2.js +25 -25
- package/dist/components/eds-input-file2.js +1 -1
- package/dist/components/eds-input-footer2.js +43 -3
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search.js +100 -1
- package/dist/components/eds-input-select2.js +2 -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 +221 -0
- package/dist/components/eds-kg-web-services-select2.js +16 -22
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +8 -2
- package/dist/components/eds-nps2.js +4 -4
- package/dist/components/eds-pagination2.js +2 -2
- 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 +361 -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 +1 -1
- package/dist/components/eds-table2.js +31 -53
- package/dist/components/eds-tabs.js +48 -10
- 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-tooltip2.js +1 -1
- package/dist/components/eds-trl-badge.d.ts +11 -0
- package/dist/components/eds-trl-badge.js +204 -0
- package/dist/components/eds-user.js +1 -1
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +19 -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-00ba405d.entry.js +1 -0
- package/dist/components/p-03342030.entry.js +1 -0
- package/dist/components/{p-0fe10e6c.entry.js → p-0e2bac0f.entry.js} +1 -1
- package/dist/components/{p-7aa4edef.entry.js → p-12acc48d.entry.js} +1 -1
- package/dist/components/p-18399fe1.entry.js +1 -0
- package/dist/components/p-1e6f0572.entry.js +1 -0
- package/dist/components/{p-c46675c8.entry.js → p-1fbcc480.entry.js} +1 -1
- package/dist/components/{p-dfe93385.entry.js → p-25729ade.entry.js} +1 -1
- package/dist/components/p-27e093c3.entry.js +1 -0
- package/dist/components/{p-a6dc1f88.entry.js → p-37ef07d9.entry.js} +1 -1
- package/dist/components/{p-74b9c9a8.entry.js → p-3d1bb2fe.entry.js} +1 -1
- package/dist/components/{p-940a2d42.entry.js → p-42791331.entry.js} +1 -1
- package/dist/components/p-5ff4b1d0.entry.js +1 -0
- package/dist/components/{p-d16b5363.entry.js → p-62580004.entry.js} +1 -1
- package/dist/components/{p-d2576747.entry.js → p-62f53e7a.entry.js} +1 -1
- package/dist/components/p-6be1730a.entry.js +1 -0
- package/dist/components/p-786ff09b.entry.js +1 -0
- package/dist/components/p-80a32e20.entry.js +1 -0
- package/dist/components/p-85476a6f.entry.js +9 -0
- package/dist/components/{p-a63e14bb.entry.js → p-8a483358.entry.js} +1 -1
- package/dist/components/{p-04e9c2d7.entry.js → p-b1a10842.entry.js} +1 -1
- package/dist/components/p-bdcb71e1.entry.js +1 -0
- package/dist/components/p-c2127276.entry.js +1 -0
- package/dist/components/p-c3ee9163.entry.js +1 -0
- package/dist/components/{p-f55dd314.entry.js → p-c4cfbf98.entry.js} +1 -1
- package/dist/components/p-c65082fe.entry.js +1 -0
- package/dist/components/p-cc096938.entry.js +1 -0
- package/dist/components/p-d59d6fda.entry.js +1 -0
- package/dist/components/p-e027bc90.entry.js +1 -0
- package/dist/components/{p-f364296f.entry.js → p-e339d0b5.entry.js} +1 -1
- package/dist/components/{p-0d7aee0b.entry.js → p-e4df206e.entry.js} +1 -1
- package/dist/components/{p-c2fc62f7.entry.js → p-e71a4f29.entry.js} +1 -1
- package/dist/components/{p-773bd015.entry.js → p-e9e6ec19.entry.js} +1 -1
- package/dist/components/p-f4d2f882.entry.js +1 -0
- package/dist/components/{p-d1b3aa52.entry.js → p-f9a9fa34.entry.js} +1 -1
- 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 +1 -1
- 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} +846 -207
- 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 +9 -2
- 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-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 +177 -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 +1 -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 +1 -1
- package/dist/hydrate/index.js +1222 -207
- package/dist/hydrate/index.mjs +1222 -207
- 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 +10 -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-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.d.ts +507 -86
- 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-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-7b93a385.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-f88b5f21.entry.js +0 -1
|
@@ -18,7 +18,10 @@ declare const _default: {
|
|
|
18
18
|
description: string;
|
|
19
19
|
};
|
|
20
20
|
icon: {
|
|
21
|
-
control:
|
|
21
|
+
control: {
|
|
22
|
+
type: string;
|
|
23
|
+
};
|
|
24
|
+
options: string[];
|
|
22
25
|
description: string;
|
|
23
26
|
};
|
|
24
27
|
expanded: {
|
|
@@ -65,13 +68,6 @@ export declare const WithIconInverse: {
|
|
|
65
68
|
icon: string;
|
|
66
69
|
};
|
|
67
70
|
};
|
|
68
|
-
export declare const Expanded: {
|
|
69
|
-
render: (args: any) => string;
|
|
70
|
-
args: {
|
|
71
|
-
title: string;
|
|
72
|
-
description: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
71
|
export declare const WithSlotComponent: {
|
|
76
72
|
render: (args: any) => string;
|
|
77
73
|
args: {
|
|
@@ -21,7 +21,10 @@ declare const _default: {
|
|
|
21
21
|
description: string;
|
|
22
22
|
};
|
|
23
23
|
icon: {
|
|
24
|
-
control:
|
|
24
|
+
control: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
options: string[];
|
|
25
28
|
description: string;
|
|
26
29
|
};
|
|
27
30
|
dismissible: {
|
|
@@ -41,6 +44,7 @@ declare const _default: {
|
|
|
41
44
|
message: string;
|
|
42
45
|
intent: string;
|
|
43
46
|
direction: string;
|
|
47
|
+
icon: string;
|
|
44
48
|
dismissible: boolean;
|
|
45
49
|
};
|
|
46
50
|
};
|
|
@@ -48,79 +52,9 @@ export default _default;
|
|
|
48
52
|
export declare const Default: {
|
|
49
53
|
render: (args: any) => string;
|
|
50
54
|
};
|
|
51
|
-
export declare const
|
|
52
|
-
render: (args: any) => string;
|
|
53
|
-
args: {
|
|
54
|
-
message: string;
|
|
55
|
-
icon: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export declare const Error: {
|
|
59
|
-
render: (args: any) => string;
|
|
60
|
-
args: {
|
|
61
|
-
message: string;
|
|
62
|
-
icon: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
export declare const Success: {
|
|
66
|
-
render: (args: any) => string;
|
|
67
|
-
args: {
|
|
68
|
-
message: string;
|
|
69
|
-
icon: string;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
export declare const Brand: {
|
|
73
|
-
render: (args: any) => string;
|
|
74
|
-
args: {
|
|
75
|
-
message: string;
|
|
76
|
-
icon: string;
|
|
77
|
-
};
|
|
78
|
-
};
|
|
79
|
-
export declare const WithLink: {
|
|
80
|
-
render: (args: any) => string;
|
|
81
|
-
args: {
|
|
82
|
-
message: string;
|
|
83
|
-
intent: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
export declare const WithButton: {
|
|
87
|
-
render: (args: any) => string;
|
|
88
|
-
args: {
|
|
89
|
-
message: string;
|
|
90
|
-
icon: string;
|
|
91
|
-
};
|
|
92
|
-
};
|
|
93
|
-
export declare const Dismissible: {
|
|
94
|
-
render: (args: any) => string;
|
|
95
|
-
args: {
|
|
96
|
-
message: string;
|
|
97
|
-
icon: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
export declare const WithCustomIcon: {
|
|
101
|
-
render: (args: any) => string;
|
|
102
|
-
args: {
|
|
103
|
-
message: string;
|
|
104
|
-
intent: string;
|
|
105
|
-
icon: string;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
export declare const NoIcon: {
|
|
109
|
-
render: (args: any) => string;
|
|
110
|
-
args: {
|
|
111
|
-
message: string;
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
export declare const Vertical: {
|
|
115
|
-
render: (args: any) => string;
|
|
116
|
-
args: {
|
|
117
|
-
message: string;
|
|
118
|
-
icon: string;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
export declare const SlotContent: {
|
|
55
|
+
export declare const AllIntents: {
|
|
122
56
|
render: () => string;
|
|
123
57
|
};
|
|
124
|
-
export declare const
|
|
58
|
+
export declare const SlotContent: {
|
|
125
59
|
render: () => string;
|
|
126
60
|
};
|
|
@@ -41,7 +41,7 @@ export declare class EdsButton {
|
|
|
41
41
|
* - 'cta': CTA link style with monospace font (gray text that turns green on hover)
|
|
42
42
|
* - 'cta-brand': CTA link style with monospace font (always green)
|
|
43
43
|
*/
|
|
44
|
-
intent: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
|
|
44
|
+
intent: 'primary' | 'secondary' | 'secondaryInverse' | 'ghost' | 'ghostInverse' | 'brand' | 'brandLight' | 'brandInverse' | 'neutral' | 'cta' | 'cta-brand';
|
|
45
45
|
/**
|
|
46
46
|
* A boolean indicating whether the button is in a loading state.
|
|
47
47
|
*/
|
|
@@ -1,86 +1,115 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
3
|
+
* Shape of a single column passed via the `columns` prop. Each link is
|
|
4
|
+
* either a navigable href, plain text (no href), or a built-in
|
|
5
|
+
* `action` that wires into the component's existing events. The
|
|
6
|
+
* `action: 'cookies'` value emits the `cookies` event the consumer
|
|
7
|
+
* page listens for (same plumbing as the legacy `enableCookiesSettings`
|
|
8
|
+
* affordance) — this lets the cookies link live in the Legal column
|
|
9
|
+
* exactly like the original eds-docs design without re-implementing
|
|
10
|
+
* the consent dispatcher.
|
|
11
|
+
*/
|
|
12
|
+
export interface EdsFooterLink {
|
|
13
|
+
label: string;
|
|
14
|
+
href?: string;
|
|
15
|
+
external?: boolean;
|
|
16
|
+
action?: 'cookies';
|
|
17
|
+
}
|
|
18
|
+
export interface EdsFooterColumn {
|
|
19
|
+
heading: string;
|
|
20
|
+
links: EdsFooterLink[];
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* `EdsFooter` is the EBRAINS-wide footer component.
|
|
24
|
+
*
|
|
25
|
+
* Renders a 4-column layout matching the eds-docs landing footer:
|
|
26
|
+
* [ Brand (EU flag + funding text + copyright) | Resources | Community | Legal ]
|
|
6
27
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
28
|
+
* Defaults are designed so a consumer that writes `<eds-footer></eds-footer>`
|
|
29
|
+
* with no props gets the full canonical EBRAINS footer rendered — same
|
|
30
|
+
* brand block, same link columns, same dark theme as the eds-docs
|
|
31
|
+
* landing page. The previous minimal-strip footer is replaced; consumers
|
|
32
|
+
* that need different link content pass the `columns` prop (array or
|
|
33
|
+
* JSON-stringified array for HTML attribute use).
|
|
12
34
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
35
|
+
* Configurability without breakage:
|
|
36
|
+
* - All previous props remain (`social`, `variant`, `fundedBy`,
|
|
37
|
+
* `rightsReserved`, `enableScrollTop`, `enableCookiesSettings`,
|
|
38
|
+
* `cookiesPreferences`, `backToTopAriaLabel`). Their meanings are
|
|
39
|
+
* preserved.
|
|
40
|
+
* - New `columns` prop is optional — omit it for the defaults.
|
|
41
|
+
* - The `enableCookiesSettings` toggle now decides whether any column
|
|
42
|
+
* link with `action: 'cookies'` is rendered (default false; pass
|
|
43
|
+
* true to surface the Cookie Preferences entry in the Legal column).
|
|
15
44
|
*/
|
|
16
45
|
export declare class EdsFooter {
|
|
17
|
-
/**
|
|
18
|
-
* Determines if the social network section should be displayed.
|
|
19
|
-
* Adds top padding when true.
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
*/
|
|
46
|
+
/** Show the eds-social-networks section above the main grid. */
|
|
22
47
|
social: boolean;
|
|
23
48
|
/**
|
|
24
|
-
*
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
49
|
+
* Theme variant. Defaults to `inverse` (dark) because the canonical
|
|
50
|
+
* EBRAINS footer design uses a dark backdrop with light text. Pass
|
|
51
|
+
* `variant="default"` for the light-on-light treatment if an app's
|
|
52
|
+
* page palette demands it.
|
|
28
53
|
*/
|
|
29
54
|
variant: 'default' | 'inverse';
|
|
30
|
-
/**
|
|
31
|
-
* Controls the display of the "Back to Top" button.
|
|
32
|
-
* When true, the button appears in the footer.
|
|
33
|
-
* @type {boolean}
|
|
34
|
-
*/
|
|
55
|
+
/** Float a "Back to top" button at the top-right of the footer. */
|
|
35
56
|
enableScrollTop: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* Controls the display of the "Founded By" text.
|
|
38
|
-
* @type {string}
|
|
39
|
-
*/
|
|
57
|
+
/** "EBRAINS is funded by…" line shown next to the EU flag in the brand column. */
|
|
40
58
|
fundedBy: string;
|
|
41
|
-
/**
|
|
42
|
-
* Controls the display of the "Rights Reserved" text.
|
|
43
|
-
* @type {string}
|
|
44
|
-
*/
|
|
59
|
+
/** "© {year} EBRAINS. All rights reserved." line shown below the funding text. */
|
|
45
60
|
rightsReserved: string;
|
|
46
|
-
/**
|
|
47
|
-
* Controls the display of the "Cookies preferences" text.
|
|
48
|
-
* @type {string}
|
|
49
|
-
*/
|
|
61
|
+
/** Label used for any link with `action: 'cookies'` — overrides the column's `label`. */
|
|
50
62
|
cookiesPreferences: string;
|
|
51
63
|
/**
|
|
52
|
-
*
|
|
53
|
-
*
|
|
64
|
+
* When false, any column link with `action: 'cookies'` is hidden.
|
|
65
|
+
* Default false so adding the footer to a page without a Matomo
|
|
66
|
+
* notice / cookie banner doesn't surface a non-functional link.
|
|
67
|
+
* Set true once you've also mounted `<eds-matomo-notice>` on the page.
|
|
54
68
|
*/
|
|
55
69
|
enableCookiesSettings: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Controls the display of the "Back to Top" aria label text.
|
|
58
|
-
* @type {string}
|
|
59
|
-
*/
|
|
70
|
+
/** ARIA label for the "Back to top" floating button. */
|
|
60
71
|
backToTopAriaLabel: string;
|
|
61
72
|
/**
|
|
62
|
-
*
|
|
73
|
+
* Custom link columns. Accepts an array (Vue/React/JS bindings) OR
|
|
74
|
+
* a JSON-stringified array (HTML attribute use). When omitted, the
|
|
75
|
+
* canonical EBRAINS-wide columns above are used.
|
|
76
|
+
*
|
|
77
|
+
* Shape: see EdsFooterColumn / EdsFooterLink at the top of this file.
|
|
63
78
|
*/
|
|
64
|
-
|
|
65
|
-
cookies: EventEmitter;
|
|
79
|
+
columns?: EdsFooterColumn[] | string;
|
|
66
80
|
/**
|
|
67
|
-
*
|
|
81
|
+
* Parsed columns derived from the `columns` prop. Re-computed whenever
|
|
82
|
+
* the prop changes (Watcher below) so dynamic updates from a parent
|
|
83
|
+
* framework work without forcing a full remount.
|
|
68
84
|
*/
|
|
85
|
+
resolvedColumns: EdsFooterColumn[];
|
|
86
|
+
cookies: EventEmitter;
|
|
69
87
|
el: HTMLElement;
|
|
70
88
|
private backBtn?;
|
|
71
|
-
|
|
72
|
-
|
|
89
|
+
componentWillLoad(): void;
|
|
90
|
+
onColumnsChange(value: EdsFooterColumn[] | string | undefined): void;
|
|
73
91
|
/**
|
|
74
|
-
*
|
|
75
|
-
*
|
|
76
|
-
*
|
|
92
|
+
* Resolve the `columns` prop to a usable array.
|
|
93
|
+
* - undefined / null → defaults
|
|
94
|
+
* - JSON-parseable str → parsed array
|
|
95
|
+
* - already an array → used as-is
|
|
96
|
+
* - anything else (malformed JSON, wrong shape) → defaults + console warning
|
|
97
|
+
*
|
|
98
|
+
* Defensive parsing so a typo in a Hugo template's attribute doesn't
|
|
99
|
+
* render an empty footer in production. Failure logs a warning but
|
|
100
|
+
* keeps the footer working with sensible defaults.
|
|
77
101
|
*/
|
|
102
|
+
private parseColumns;
|
|
103
|
+
componentDidLoad(): void;
|
|
104
|
+
handleScroll(): void;
|
|
78
105
|
private backToTop;
|
|
79
|
-
|
|
106
|
+
private emitCookies;
|
|
80
107
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
108
|
+
* Render one link inside a column.
|
|
109
|
+
* - `action: 'cookies'` → button-like anchor that fires the cookies event
|
|
110
|
+
* - `href` present → real anchor (target=_blank when `external`)
|
|
111
|
+
* - neither → plain text span (e.g. "MIT License")
|
|
84
112
|
*/
|
|
113
|
+
private renderLink;
|
|
85
114
|
render(): any;
|
|
86
115
|
}
|
|
@@ -2,6 +2,11 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
component: string;
|
|
4
4
|
argTypes: {
|
|
5
|
+
variant: {
|
|
6
|
+
control: string;
|
|
7
|
+
options: string[];
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
5
10
|
social: {
|
|
6
11
|
control: string;
|
|
7
12
|
description: string;
|
|
@@ -30,8 +35,13 @@ declare const _default: {
|
|
|
30
35
|
control: string;
|
|
31
36
|
description: string;
|
|
32
37
|
};
|
|
38
|
+
columns: {
|
|
39
|
+
control: string;
|
|
40
|
+
description: string;
|
|
41
|
+
};
|
|
33
42
|
};
|
|
34
43
|
args: {
|
|
44
|
+
variant: string;
|
|
35
45
|
social: boolean;
|
|
36
46
|
fundedBy: string;
|
|
37
47
|
rightsReserved: string;
|
|
@@ -39,10 +49,61 @@ declare const _default: {
|
|
|
39
49
|
enableCookiesSettings: boolean;
|
|
40
50
|
cookiesPreferences: string;
|
|
41
51
|
backToTopAriaLabel: string;
|
|
52
|
+
columns: any;
|
|
42
53
|
};
|
|
43
|
-
parameters: {};
|
|
44
54
|
};
|
|
45
55
|
export default _default;
|
|
56
|
+
/**
|
|
57
|
+
* Default — what a consumer gets from `<eds-footer></eds-footer>`
|
|
58
|
+
* with no overrides. Dark theme, EBRAINS canonical link columns,
|
|
59
|
+
* EU funding ack + copyright.
|
|
60
|
+
*
|
|
61
|
+
* Leave `columns` null in the controls panel to see the canonical
|
|
62
|
+
* defaults baked into the component; set it to a JSON array (use the
|
|
63
|
+
* object editor) to live-preview an override.
|
|
64
|
+
*/
|
|
46
65
|
export declare const Default: {
|
|
47
66
|
render: (args: any) => string;
|
|
48
67
|
};
|
|
68
|
+
/**
|
|
69
|
+
* Custom link columns — pre-fills the `columns` control with a
|
|
70
|
+
* sensible non-EBRAINS example so the Storybook JSON editor opens
|
|
71
|
+
* with something realistic to mutate. Edit headings, links, hrefs,
|
|
72
|
+
* `external`, and `action` directly in the Controls panel to see
|
|
73
|
+
* the footer re-render.
|
|
74
|
+
*
|
|
75
|
+
* Shape: `[{ heading, links: [{ label, href?, external?, action? }] }]`
|
|
76
|
+
* - `href` present → renders as an anchor (target=_blank if `external`)
|
|
77
|
+
* - `href` absent → renders as plain text (e.g. "MIT License")
|
|
78
|
+
* - `action: 'cookies'` → fires the `cookies` event (gated by
|
|
79
|
+
* enable-cookies-settings)
|
|
80
|
+
*/
|
|
81
|
+
export declare const CustomColumns: {
|
|
82
|
+
args: {
|
|
83
|
+
enableCookiesSettings: boolean;
|
|
84
|
+
columns: ({
|
|
85
|
+
heading: string;
|
|
86
|
+
links: ({
|
|
87
|
+
label: string;
|
|
88
|
+
href: string;
|
|
89
|
+
external?: undefined;
|
|
90
|
+
} | {
|
|
91
|
+
label: string;
|
|
92
|
+
href: string;
|
|
93
|
+
external: boolean;
|
|
94
|
+
})[];
|
|
95
|
+
} | {
|
|
96
|
+
heading: string;
|
|
97
|
+
links: ({
|
|
98
|
+
label: string;
|
|
99
|
+
href: string;
|
|
100
|
+
action?: undefined;
|
|
101
|
+
} | {
|
|
102
|
+
label: string;
|
|
103
|
+
action: string;
|
|
104
|
+
href?: undefined;
|
|
105
|
+
})[];
|
|
106
|
+
})[];
|
|
107
|
+
};
|
|
108
|
+
render: (args: any) => string;
|
|
109
|
+
};
|
|
@@ -138,5 +138,15 @@ export declare class EdsForm {
|
|
|
138
138
|
private get groupedFields();
|
|
139
139
|
private renderField;
|
|
140
140
|
getData(): Promise<FormData>;
|
|
141
|
+
/**
|
|
142
|
+
* Render the form/step description with a small, safe subset of inline
|
|
143
|
+
* formatting so authors can add links and emphasis:
|
|
144
|
+
* **bold** → <strong>
|
|
145
|
+
* [label](url) → <a> (only http/https/mailto; others render as text)
|
|
146
|
+
* blank line / \n → paragraph / line break
|
|
147
|
+
* HTML is escaped FIRST, so author text can never inject markup — only the
|
|
148
|
+
* whitelisted patterns above produce tags.
|
|
149
|
+
*/
|
|
150
|
+
private formatDescription;
|
|
141
151
|
render(): any;
|
|
142
152
|
}
|
|
@@ -2,7 +2,7 @@ declare const _default: {
|
|
|
2
2
|
title: string;
|
|
3
3
|
component: string;
|
|
4
4
|
argTypes: {
|
|
5
|
-
|
|
5
|
+
url: {
|
|
6
6
|
control: string;
|
|
7
7
|
description: string;
|
|
8
8
|
};
|
|
@@ -10,11 +10,11 @@ declare const _default: {
|
|
|
10
10
|
control: string;
|
|
11
11
|
description: string;
|
|
12
12
|
};
|
|
13
|
-
|
|
13
|
+
menu: {
|
|
14
14
|
control: string;
|
|
15
15
|
description: string;
|
|
16
16
|
};
|
|
17
|
-
|
|
17
|
+
variant: {
|
|
18
18
|
control: {
|
|
19
19
|
type: string;
|
|
20
20
|
};
|
|
@@ -23,13 +23,13 @@ declare const _default: {
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
args: {
|
|
26
|
-
|
|
26
|
+
url: string;
|
|
27
27
|
links: {
|
|
28
28
|
label: string;
|
|
29
29
|
url: string;
|
|
30
30
|
}[];
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
menu: boolean;
|
|
32
|
+
variant: string;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
export default _default;
|
|
@@ -2,5 +2,13 @@ import { IconName } from '../../utils/icons';
|
|
|
2
2
|
export declare class EdsIconWrapper {
|
|
3
3
|
name: IconName;
|
|
4
4
|
size: 16 | 20 | 24 | 32;
|
|
5
|
+
/**
|
|
6
|
+
* Accessible label for the icon. Set this when the icon conveys meaning on its
|
|
7
|
+
* own (e.g. a standalone status/action icon) — it is exposed as `role="img"` +
|
|
8
|
+
* `aria-label`. When omitted, the icon is treated as decorative and hidden from
|
|
9
|
+
* assistive technology (`aria-hidden`), which is correct when it sits next to a
|
|
10
|
+
* text label that already describes it.
|
|
11
|
+
*/
|
|
12
|
+
label?: string;
|
|
5
13
|
render(): any;
|
|
6
14
|
}
|
|
@@ -46,31 +46,17 @@ declare const _default: {
|
|
|
46
46
|
height: number;
|
|
47
47
|
srcset: string;
|
|
48
48
|
sizes: string;
|
|
49
|
-
formats:
|
|
50
|
-
type: string;
|
|
51
|
-
srcset: string;
|
|
52
|
-
media: string;
|
|
53
|
-
}[];
|
|
49
|
+
formats: any[];
|
|
54
50
|
lazyload: boolean;
|
|
55
51
|
withBg: boolean;
|
|
56
52
|
};
|
|
57
|
-
parameters: {};
|
|
58
53
|
};
|
|
59
54
|
export default _default;
|
|
55
|
+
/**
|
|
56
|
+
* Default — a single image driven entirely by `src`. `formats` is empty, so
|
|
57
|
+
* whatever you type into the `src` control is exactly what renders. Paste any
|
|
58
|
+
* direct image URL (e.g. a .jpg/.png/.webp) to try it.
|
|
59
|
+
*/
|
|
60
60
|
export declare const Default: {
|
|
61
61
|
render: (args: any) => HTMLEdsImgElement;
|
|
62
|
-
args: {
|
|
63
|
-
src: string;
|
|
64
|
-
alt: string;
|
|
65
|
-
width: number;
|
|
66
|
-
height: number;
|
|
67
|
-
sizes: string;
|
|
68
|
-
formats: {
|
|
69
|
-
type: string;
|
|
70
|
-
srcset: string;
|
|
71
|
-
media: string;
|
|
72
|
-
}[];
|
|
73
|
-
lazyload: boolean;
|
|
74
|
-
withBg: boolean;
|
|
75
|
-
};
|
|
76
62
|
};
|
|
@@ -23,6 +23,13 @@ export declare class EdsInput {
|
|
|
23
23
|
min?: number;
|
|
24
24
|
max?: number;
|
|
25
25
|
step?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Explicit tabindex for the native input. Radio/checkbox groups
|
|
28
|
+
* inside the `eds-input-field` shadow root (delegatesFocus) get
|
|
29
|
+
* skipped by sequential keyboard navigation unless each input is
|
|
30
|
+
* explicitly in the tab order.
|
|
31
|
+
*/
|
|
32
|
+
inputTabIndex?: number;
|
|
26
33
|
innerVal: string | number;
|
|
27
34
|
maxLengthReached: boolean;
|
|
28
35
|
/**
|
package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.stories.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
label: {
|
|
6
|
+
control: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
placeholder: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
};
|
|
13
|
+
value: {
|
|
14
|
+
control: string;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
disabled: {
|
|
18
|
+
control: string;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
required: {
|
|
22
|
+
control: string;
|
|
23
|
+
description: string;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
26
|
+
args: {
|
|
27
|
+
label: string;
|
|
28
|
+
placeholder: string;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
required: boolean;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
export default _default;
|
|
34
|
+
export declare const Default: {
|
|
35
|
+
render: (args: any) => string;
|
|
36
|
+
};
|