@ebrains/components 0.7.0-alpha.0 → 0.8.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +370 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_17.cjs.entry.js +1468 -0
- package/dist/cjs/eds-alert.cjs.entry.js +11 -4
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
- package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-components-section.cjs.entry.js +34 -20
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-form.cjs.entry.js +211 -146
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-input_7.cjs.entry.js +357 -0
- package/dist/cjs/eds-login_2.cjs.entry.js +1 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +2 -2
- package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-svg-repository.cjs.entry.js +5 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +5 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-2f63169d.js +14 -22
- 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-wrong-usage.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 +3 -4
- package/dist/collection/components/eds-accordion/eds-accordion.css +12 -8
- package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.css +223 -91
- package/dist/collection/components/eds-alert/eds-alert.js +28 -3
- package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
- package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
- package/dist/collection/components/eds-button/eds-button.css +8420 -6638
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.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-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.css +30 -3
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +4 -4
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -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/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.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-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +5 -5
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +8 -10
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
- package/dist/collection/components/eds-input-field/eds-input-field.css +651 -52
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.css +12 -204
- package/dist/collection/components/eds-link/eds-link.js +5 -5
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.css +137 -109
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- 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 +3 -3
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.js +48 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +42 -27
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +7758 -0
- package/dist/collection/components/eds-timeline/eds-timeline.js +12 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/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/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.css +5 -0
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +11 -1
- package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
- package/dist/collection/eds-docs-ui/functional/overview.js +18 -1
- package/dist/collection/eds-docs-ui/functional/react.js +1 -1
- package/dist/collection/eds-docs-ui/functional/vue.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-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +1 -6
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
- package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
- package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +7 -6
- package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +2 -2
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
- package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +361 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +32 -48
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +7758 -0
- package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components.css +32 -48
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +10 -8
- package/dist/components/eds-alert2.js +12 -4
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +13 -8
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +6 -2
- package/dist/components/eds-button2.js +2 -2
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-card-wrapper.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-components-section.js +58 -32
- package/dist/components/eds-cookies-preference.js +2 -3
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +4 -3
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +13 -6
- package/dist/components/eds-form.js +234 -189
- package/dist/components/eds-frame.js +3 -3
- package/dist/components/eds-fullscreen-menu.js +4 -3
- package/dist/components/eds-header.js +5 -4
- package/dist/components/eds-icon-arrow-diagonal.js +3 -3
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.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-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +3 -3
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -3
- package/dist/components/eds-input-search2.js +24 -2
- package/dist/components/eds-input-select2.js +1 -1
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +6 -6
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +32 -4
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +3 -3
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/{eds-form-v2.d.ts → eds-steps-v2.d.ts} +4 -4
- package/dist/components/eds-steps-v2.js +137 -0
- package/dist/components/eds-steps.js +1 -92
- package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
- package/dist/components/eds-svg-repository.js +5 -1
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +41 -26
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +7 -2
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +26 -9
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/{p-62f2f274.entry.js → p-01cb7ceb.entry.js} +1 -1
- package/dist/components/p-03a38eab.entry.js +1 -0
- package/dist/components/p-05d8fdc3.entry.js +1 -0
- package/dist/components/{p-8b70a350.entry.js → p-07ba7c89.entry.js} +1 -1
- package/dist/components/p-0918a2e2.entry.js +1 -0
- package/dist/components/p-096d3274.entry.js +1 -0
- package/dist/components/{p-ad746789.entry.js → p-0f73391d.entry.js} +1 -1
- package/dist/components/p-10a318e0.entry.js +1 -0
- package/dist/components/p-16e0b902.entry.js +1 -0
- package/dist/components/{p-5e63e8a5.entry.js → p-18e10983.entry.js} +1 -1
- package/dist/components/p-215f3b21.entry.js +1 -0
- package/dist/components/{p-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
- package/dist/components/{p-c935aa46.entry.js → p-24507e71.entry.js} +1 -1
- package/dist/components/p-30075622.entry.js +1 -0
- package/dist/components/p-32a7f571.entry.js +1 -0
- package/dist/components/p-376b706b.entry.js +1 -0
- package/dist/components/{p-fba4080d.entry.js → p-3f0fd469.entry.js} +1 -1
- package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
- package/dist/components/p-4675ac16.entry.js +1 -0
- package/dist/components/p-46c9a35e.entry.js +1 -0
- package/dist/components/{p-2354daeb.entry.js → p-4aefc66e.entry.js} +1 -1
- package/dist/components/p-4bcf6077.entry.js +1 -0
- package/dist/components/{p-56ec190f.entry.js → p-4d295eb7.entry.js} +1 -1
- package/dist/components/{p-9eb2e870.entry.js → p-4df00ba5.entry.js} +1 -1
- package/dist/components/p-5cf480a8.entry.js +1 -0
- package/dist/components/p-5d26f527.entry.js +1 -0
- package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
- package/dist/components/p-64f6f07e.entry.js +1 -0
- package/dist/components/p-69e5af42.entry.js +1 -0
- package/dist/components/p-6a73ac42.entry.js +1 -0
- package/dist/components/p-70201ae6.entry.js +1 -0
- package/dist/components/p-7ba154c5.entry.js +1 -0
- package/dist/components/p-7ba4ca15.entry.js +1 -0
- package/dist/components/p-84faf1b3.entry.js +1 -0
- package/dist/components/p-8527ef5f.entry.js +1 -0
- package/dist/components/{p-066f6d27.entry.js → p-8803ecf9.entry.js} +1 -1
- package/dist/components/p-8baa7e01.entry.js +1 -0
- package/dist/components/p-8cf4ee6e.entry.js +1 -0
- package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
- package/dist/components/p-9873ebec.entry.js +1 -0
- package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
- package/dist/components/p-9e2a0f5a.entry.js +1 -0
- package/dist/components/p-9f4ad4e4.entry.js +1 -0
- package/dist/components/{p-a91ab66e.entry.js → p-a02c5c4a.entry.js} +1 -1
- package/dist/components/p-a0abe772.entry.js +1 -0
- package/dist/components/p-a1d55013.entry.js +1 -0
- package/dist/components/{p-4cd69983.entry.js → p-a6bf9bf8.entry.js} +1 -1
- package/dist/components/p-abaf04e1.entry.js +1 -0
- package/dist/components/p-ae60f98b.entry.js +1 -0
- package/dist/components/p-b299b89a.entry.js +1 -0
- package/dist/components/p-b2f0f40b.entry.js +1 -0
- package/dist/components/p-b4332c34.entry.js +1 -0
- package/dist/components/p-b47d115d.entry.js +1 -0
- package/dist/components/p-c86243a3.entry.js +1 -0
- package/dist/components/p-cdc36ea8.entry.js +1 -0
- package/dist/components/p-ceac6200.entry.js +1 -0
- package/dist/components/{p-5520a3b6.entry.js → p-cee891dc.entry.js} +1 -1
- package/dist/components/p-d06faa08.entry.js +1 -0
- package/dist/components/{p-a5c61d1c.entry.js → p-d17ea8af.entry.js} +1 -1
- package/dist/components/p-d2159cc9.entry.js +1 -0
- package/dist/components/p-d895d036.entry.js +1 -0
- package/dist/components/{p-b80a9020.entry.js → p-db970de6.entry.js} +1 -1
- package/dist/components/p-e343cd31.entry.js +1 -0
- package/dist/components/{p-c06d4f14.entry.js → p-e3811d4b.entry.js} +1 -1
- package/dist/components/p-e8bd6106.entry.js +1 -0
- package/dist/components/p-e96a5c8e.entry.js +1 -0
- package/dist/components/{p-ff7acb55.entry.js → p-f223a835.entry.js} +1 -1
- package/dist/components/{p-e64cd6f7.entry.js → p-f2e66c82.entry.js} +1 -1
- package/dist/components/p-fec4cba7.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/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.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/eds-accordion_17.entry.js +1448 -0
- package/dist/esm/eds-alert.entry.js +11 -4
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-breadcrumb.entry.js +6 -2
- package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
- package/dist/esm/eds-card-generic.entry.js +1 -1
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-components-section.entry.js +34 -20
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-docs-palettes.entry.js +1 -1
- package/dist/esm/eds-docs-tokens.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-form.entry.js +209 -144
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-input_7.entry.js +347 -0
- package/dist/esm/eds-login_2.entry.js +1 -1
- package/dist/esm/eds-logo-variations.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +2 -2
- package/dist/esm/eds-pagination_2.entry.js +398 -0
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-svg-repository.entry.js +5 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-tabs.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +5 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-tooltip.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-8a71b9a7.js +14 -22
- 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-wrong-usage.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 +551 -748
- package/dist/hydrate/index.mjs +551 -748
- package/dist/stencil.config.js +2 -7
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +4 -2
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
- package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
- package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +1 -1
- package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +13 -0
- package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +21 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
- package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
- package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
- package/dist/types/components/eds-table/eds-table.d.ts +5 -1
- package/dist/types/components.d.ts +234 -301
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -6
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
- package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +1 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
- package/package.json +3 -3
- package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
- package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
- package/dist/cjs/eds-steps.cjs.entry.js +0 -55
- package/dist/cjs/eds-user.cjs.entry.js +0 -29
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
- package/dist/cjs/formUtils-4315a99c.js +0 -228
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
- package/dist/collection/components/eds-form/eds-form.css +0 -7153
- package/dist/collection/components/eds-form/eds-form.js +0 -609
- package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
- package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
- package/dist/components/eds-form-v2.js +0 -317
- package/dist/components/eds-vertical-stepper.d.ts +0 -11
- package/dist/components/eds-vertical-stepper.js +0 -86
- package/dist/components/formUtils.js +0 -223
- package/dist/components/p-033480b2.entry.js +0 -1
- package/dist/components/p-117d180f.entry.js +0 -1
- package/dist/components/p-20e9ae7f.entry.js +0 -1
- package/dist/components/p-2b31ca60.entry.js +0 -1
- package/dist/components/p-3368cfd5.entry.js +0 -1
- package/dist/components/p-33c5b937.entry.js +0 -1
- package/dist/components/p-3af94671.entry.js +0 -1
- package/dist/components/p-43b3579a.entry.js +0 -1
- package/dist/components/p-467fe746.entry.js +0 -1
- package/dist/components/p-46a6042d.entry.js +0 -1
- package/dist/components/p-4a860d5b.entry.js +0 -1
- package/dist/components/p-4ac27fe7.entry.js +0 -1
- package/dist/components/p-4b2e6f03.entry.js +0 -1
- package/dist/components/p-552b6a50.entry.js +0 -1
- package/dist/components/p-56b4e0fe.entry.js +0 -1
- package/dist/components/p-5aff1ea0.entry.js +0 -1
- package/dist/components/p-5c12a0df.entry.js +0 -1
- package/dist/components/p-60e7e745.entry.js +0 -1
- package/dist/components/p-6404e157.entry.js +0 -1
- package/dist/components/p-6fd0c3b3.entry.js +0 -1
- package/dist/components/p-77cc7c02.entry.js +0 -1
- package/dist/components/p-79c14cf1.entry.js +0 -1
- package/dist/components/p-7dd81017.entry.js +0 -1
- package/dist/components/p-7e0dd5d8.entry.js +0 -1
- package/dist/components/p-80dba155.js +0 -1
- package/dist/components/p-8154d013.entry.js +0 -1
- package/dist/components/p-86eed1b7.entry.js +0 -1
- package/dist/components/p-8e548691.entry.js +0 -1
- package/dist/components/p-90503a64.entry.js +0 -1
- package/dist/components/p-90f85604.entry.js +0 -1
- package/dist/components/p-94698510.entry.js +0 -1
- package/dist/components/p-950ecb1c.entry.js +0 -1
- package/dist/components/p-9b9fba38.entry.js +0 -1
- package/dist/components/p-9dc879c9.entry.js +0 -1
- package/dist/components/p-9ebc84d6.entry.js +0 -1
- package/dist/components/p-a56f0579.entry.js +0 -1
- package/dist/components/p-a6cd418e.entry.js +0 -1
- package/dist/components/p-a8dd1953.entry.js +0 -1
- package/dist/components/p-ab292dd5.entry.js +0 -1
- package/dist/components/p-c12d9350.entry.js +0 -1
- package/dist/components/p-c3dda942.entry.js +0 -1
- package/dist/components/p-c6b32753.entry.js +0 -1
- package/dist/components/p-dbcf1f0e.entry.js +0 -1
- package/dist/components/p-dcc08064.entry.js +0 -1
- package/dist/components/p-e9a533e0.entry.js +0 -1
- package/dist/components/p-eac63c82.entry.js +0 -1
- package/dist/components/p-f5959676.entry.js +0 -1
- package/dist/components/p-fc619588.entry.js +0 -1
- package/dist/components/p-fcc32210.entry.js +0 -1
- package/dist/esm/eds-accordion_22.entry.js +0 -1934
- package/dist/esm/eds-dropdown.entry.js +0 -121
- package/dist/esm/eds-user.entry.js +0 -25
- package/dist/esm/eds-vertical-stepper.entry.js +0 -41
- package/dist/esm/formUtils-ac68474d.js +0 -223
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
- package/dist/types/components/eds-form/eds-form.d.ts +0 -148
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
- package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
- /package/dist/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
- /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +0 -0
- /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.d.ts +0 -0
|
@@ -2039,7 +2039,7 @@ const EdsLogin = /*@__PURE__*/ proxyCustomElement(class EdsLogin extends HTMLEle
|
|
|
2039
2039
|
}
|
|
2040
2040
|
}
|
|
2041
2041
|
render() {
|
|
2042
|
-
return (h("div", { key: '
|
|
2042
|
+
return (h("div", { key: 'dace7b16af2f945e4981c9ef139f4c2ae94e130c', class: "block" }, !this.authenticated && (h("eds-button", { key: 'a8d0bd545e8ae4a159b5977d50d05ae27dec7df3', label: "Login", intent: "primary", "extra-class": "text-default", "aria-label": "Login", triggerClick: this.handleLogin.bind(this) }))));
|
|
2043
2043
|
}
|
|
2044
2044
|
}, [1, "eds-login", {
|
|
2045
2045
|
"keycloakUrl": [1, "keycloak-url"],
|
|
@@ -20,7 +20,7 @@ const EdsLogoVariations$1 = /*@__PURE__*/ proxyCustomElement(class EdsLogoVariat
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return h("div", { key: '
|
|
23
|
+
return h("div", { key: '31bd93b3412b859adc59f6a4fe67018bf9c13336', class: "container" }, this.renderContent());
|
|
24
24
|
}
|
|
25
25
|
}, [0, "eds-logo-variations", {
|
|
26
26
|
"tabIndex": [2, "tab-index"]
|
|
@@ -67,7 +67,7 @@ const EdsLogo = /*@__PURE__*/ proxyCustomElement(class EdsLogo extends HTMLEleme
|
|
|
67
67
|
}
|
|
68
68
|
render() {
|
|
69
69
|
const logoContent = this.getLogo();
|
|
70
|
-
return (h("a", { key: '
|
|
70
|
+
return (h("a", { key: '62d8a900a9836192aecc5333216006186677b2e1', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, h("div", { key: '54ef695a28d2d27aec7b0e37abb985b6550739d7', innerHTML: logoContent })));
|
|
71
71
|
}
|
|
72
72
|
get el() { return this; }
|
|
73
73
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -4,7 +4,7 @@ import { d as defineCustomElement$3 } from './eds-accordion2.js';
|
|
|
4
4
|
import { d as defineCustomElement$2 } from './eds-button2.js';
|
|
5
5
|
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
6
6
|
|
|
7
|
-
const edsMatomoNoticeCss = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}";
|
|
7
|
+
const edsMatomoNoticeCss = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}";
|
|
8
8
|
const EdsMatomoNoticeStyle0 = edsMatomoNoticeCss;
|
|
9
9
|
|
|
10
10
|
const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice extends HTMLElement {
|
|
@@ -14,16 +14,29 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
|
|
|
14
14
|
this.__attachShadow();
|
|
15
15
|
this.consent = createEvent(this, "consent", 7);
|
|
16
16
|
this.title = 'Analytics Consent';
|
|
17
|
-
this.description =
|
|
17
|
+
this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.";
|
|
18
|
+
this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.";
|
|
18
19
|
this.forceShow = false;
|
|
19
20
|
this.showNotice = true;
|
|
20
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Listens for global custom events to open the matomo-consent.
|
|
24
|
+
*/
|
|
25
|
+
toggleCookiesConsent() {
|
|
26
|
+
this.showNotice = !this.showNotice;
|
|
27
|
+
}
|
|
21
28
|
/**
|
|
22
29
|
* Checks if the consent cookie exists.
|
|
23
30
|
*/
|
|
24
31
|
hasCookieConsent() {
|
|
25
32
|
return !!document.cookie.split('; ').find((row) => row.startsWith('mtm_consent='));
|
|
26
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Checks if the user has opted out after has opted in.
|
|
36
|
+
*/
|
|
37
|
+
optedOut() {
|
|
38
|
+
return !!document.cookie.split('; ').find((row) => row.startsWith('mtm_consent_removed'));
|
|
39
|
+
}
|
|
27
40
|
/**
|
|
28
41
|
* Generate a unique storage key based on appId or the app's domain.
|
|
29
42
|
*/
|
|
@@ -34,6 +47,12 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
|
|
|
34
47
|
* Check cookies and sessionStorage (unless forceShow is true) to decide if the notice should be shown.
|
|
35
48
|
*/
|
|
36
49
|
componentWillLoad() {
|
|
50
|
+
// If a decision has been made previously (opted in or out), don't show the notice.
|
|
51
|
+
const consentGiven = localStorage.getItem('matomo-consent-given');
|
|
52
|
+
if (consentGiven === 'out' || this.optedOut()) {
|
|
53
|
+
this.showNotice = false;
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
37
56
|
if (this.forceShow) {
|
|
38
57
|
// If forceShow is true, always show the notice
|
|
39
58
|
this.showNotice = true;
|
|
@@ -68,6 +87,7 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
|
|
|
68
87
|
}
|
|
69
88
|
optInAnalytics() {
|
|
70
89
|
matomoOptIn();
|
|
90
|
+
localStorage.removeItem('matomo-consent-given');
|
|
71
91
|
this.hideNotice();
|
|
72
92
|
this.consent.emit('in');
|
|
73
93
|
}
|
|
@@ -76,11 +96,18 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
|
|
|
76
96
|
this.hideNotice();
|
|
77
97
|
this.consent.emit('out');
|
|
78
98
|
}
|
|
99
|
+
noThanks() {
|
|
100
|
+
localStorage.setItem('matomo-consent-given', 'out');
|
|
101
|
+
this.hideNotice();
|
|
102
|
+
}
|
|
79
103
|
deferDecision() {
|
|
80
104
|
sessionStorage.setItem(this.getStorageKey(), 'true');
|
|
81
105
|
this.hideNotice();
|
|
82
106
|
this.consent.emit('defer');
|
|
83
107
|
}
|
|
108
|
+
keepMeIn() {
|
|
109
|
+
this.hideNotice();
|
|
110
|
+
}
|
|
84
111
|
hideNotice() {
|
|
85
112
|
this.showNotice = false;
|
|
86
113
|
}
|
|
@@ -88,16 +115,17 @@ const EdsMatomoNotice = /*@__PURE__*/ proxyCustomElement(class EdsMatomoNotice e
|
|
|
88
115
|
if (!this.showNotice) {
|
|
89
116
|
return null;
|
|
90
117
|
}
|
|
91
|
-
return (h("div", { class: "fixed bottom-0 p-8 z-
|
|
118
|
+
return (h("div", { class: "fixed bottom-0 p-8 z-[999999] grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center" }, h("eds-accordion", { title: this.title, description: this.hasCookieConsent() ? this.optOutMessage : this.description, switchBg: true, expanded: true }, this.hasCookieConsent() ? (h("div", { class: "flex items-center gap-4" }, this.optedOut() ? (h("eds-button", { intent: "primary", label: "Opt me in again", "aria-label": "Opt me in again", onClick: () => this.optInAnalytics() })) : (h("eds-button", { intent: "primary", label: "Keep Me In", "aria-label": "Keep Me In", onClick: () => this.keepMeIn() })), h("eds-button", { intent: "ghostInverse", label: "Opt-out", "aria-label": "Opt-out from analytics", onClick: () => this.optOutAnalytics() }))) : (h("div", { class: "flex items-center gap-4" }, h("eds-button", { intent: "primary", label: "I agree", "aria-label": "Opt-in for analytics", onClick: () => this.optInAnalytics() }), h("eds-button", { intent: "ghost", label: "No, thanks", "aria-label": "Opt-out from analytics", onClick: () => this.noThanks() }), h("eds-button", { intent: "ghost", label: "Ask me later", "aria-label": "Defer analytics decision", onClick: () => this.deferDecision() }))))));
|
|
92
119
|
}
|
|
93
120
|
get el() { return this; }
|
|
94
121
|
static get style() { return EdsMatomoNoticeStyle0; }
|
|
95
122
|
}, [1, "eds-matomo-notice", {
|
|
96
123
|
"title": [1],
|
|
97
124
|
"description": [1],
|
|
125
|
+
"optOutMessage": [1, "opt-out-message"],
|
|
98
126
|
"forceShow": [4, "force-show"],
|
|
99
127
|
"showNotice": [32]
|
|
100
|
-
}]);
|
|
128
|
+
}, [[16, "cookies", "toggleCookiesConsent"]]]);
|
|
101
129
|
function defineCustomElement() {
|
|
102
130
|
if (typeof customElements === "undefined") {
|
|
103
131
|
return;
|
|
@@ -98,9 +98,9 @@ const EdsModal$1 = /*@__PURE__*/ proxyCustomElement(class EdsModal extends HTMLE
|
|
|
98
98
|
render() {
|
|
99
99
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
100
100
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
101
|
-
return (h("div", { key: '
|
|
101
|
+
return (h("div", { key: '456972d43bddeec93053c1518ca35dff028f0416', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-50 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: 'f3b84d1086f70f7863691835fe8984a4ff091b8f', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
102
102
|
,
|
|
103
|
-
onClick: () => this.close() })), h("div", { key: '
|
|
103
|
+
onClick: () => this.close() })), h("div", { key: '5038d3564881f4580e63a1afd883affa0aee8750', class: `container max-w-full absolute px-20 py-20 bg-inverse rounded-lg shadow-lg z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '4ce4d6f11afc552579a35f23901bc79e2ae19274', class: "flex justify-between items-center border-b-2 border-softer pb-8" }, h("span", { key: 'a9475d9cdcd4d3a1d68bce973f672621a30c53d4', id: titleId, class: `f-heading-04 text-lighter ${this.getTruncateClass()}` }, this.title), h("eds-button", { key: 'c1e32fb266333856de6f0e63757fca02778330a9', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8" })), h("div", { key: '58b1d9a3228516a1de31a81c6cd3a2696c65ce5f', class: "pt-8" }, h("slot", { key: '0d81e88fcaa138bd746cc894543f264e4a3afb2f' })))));
|
|
104
104
|
}
|
|
105
105
|
get el() { return this; }
|
|
106
106
|
static get style() { return EdsModalStyle0; }
|
|
@@ -172,7 +172,7 @@ const EdsPagination = /*@__PURE__*/ proxyCustomElement(class EdsPagination exten
|
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
174
|
render() {
|
|
175
|
-
return (h("div", { key: '
|
|
175
|
+
return (h("div", { key: '4ebae5738982b21456e2852babeef2f5e2b4b1e0' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '9c18413928a471adb2b6964c78ea3339f251c81b', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: '3d9d08eaaf7944ef1a6aba9b0912b7d9ebb58e28', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
|
|
176
176
|
? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
|
|
177
177
|
: this.isFirstPage()
|
|
178
178
|
? '#'
|
|
@@ -19,7 +19,7 @@ const EdsProgressBar = /*@__PURE__*/ proxyCustomElement(class EdsProgressBar ext
|
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
const progressValue = this.value;
|
|
22
|
-
return (h("div", { key: '
|
|
22
|
+
return (h("div", { key: '259c247cbf6269d1118b652c70cc45e6ea9192b5', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, h("div", { key: 'e6141a6aa1eb8d1f9562028d95f6dfffc2777b11', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
|
|
23
23
|
}
|
|
24
24
|
static get style() { return EdsProgressBarStyle0; }
|
|
25
25
|
}, [1, "eds-progress-bar", {
|
|
@@ -49,7 +49,7 @@ const EdsRating = /*@__PURE__*/ proxyCustomElement(class EdsRating extends HTMLE
|
|
|
49
49
|
this.rating.emit(rating);
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("div", { key: '
|
|
52
|
+
return (h("div", { key: '34344f12d4ca8a80fe7c96537d417c199421e139', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
53
53
|
const starRating = index + 1;
|
|
54
54
|
const isSelected = starRating <= this.selectedRating;
|
|
55
55
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -14,7 +14,7 @@ const EdsSectionCore = /*@__PURE__*/ proxyCustomElement(class EdsSectionCore ext
|
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
16
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
17
|
-
return (h(TagType, { key: '
|
|
17
|
+
return (h(TagType, { key: '81d5d6f6010c56bb217b32fa520fdaf96e1c7adc' }, h("eds-section-heading", { key: 'c47dda41c2f553ef87f432109ead4bd0debcd99c', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: '9276798e2c581440c46ff9914809e87203a86b1b' })));
|
|
18
18
|
}
|
|
19
19
|
static get style() { return EdsSectionCoreStyle0; }
|
|
20
20
|
}, [4, "eds-section-core", {
|
|
@@ -26,12 +26,12 @@ const EdsSectionHeading = /*@__PURE__*/ proxyCustomElement(class EdsSectionHeadi
|
|
|
26
26
|
render() {
|
|
27
27
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
28
28
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
29
|
-
return (h(TagType, { key: '
|
|
30
|
-
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8
|
|
29
|
+
return (h(TagType, { key: '6741f5bbede7d44109c5e60f92290d4b2eda4d42', class: {
|
|
30
|
+
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
31
31
|
container: this.withContainer,
|
|
32
32
|
'pt-48': this.spacingLarge,
|
|
33
33
|
'pt-28': !this.spacingLarge
|
|
34
|
-
} }, h(HeadingTag, { key: '
|
|
34
|
+
} }, h(HeadingTag, { key: 'cc65df919db1dc1d5725116ce1ab473319185901', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
35
35
|
}
|
|
36
36
|
}, [0, "eds-section-heading", {
|
|
37
37
|
"sectionTitle": [1, "section-title"],
|
|
@@ -58,7 +58,7 @@ const EdsSocialNetworks = /*@__PURE__*/ proxyCustomElement(class EdsSocialNetwor
|
|
|
58
58
|
* @returns {JSX.Element} The rendered JSX for the component.
|
|
59
59
|
*/
|
|
60
60
|
render() {
|
|
61
|
-
return (h("div", { key: '
|
|
61
|
+
return (h("div", { key: '6dba77a15e8259a12d1d6a22c00ab764a213611d' }, h("p", { key: '15fe6ee8597b359e25b8936c9e3506b91abaca11', class: "f-ui-02" }, this.title), h("ul", { key: 'b2e6dfa5c671a871df7a5a85f9a02f5822c8fd28', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
|
|
62
62
|
}
|
|
63
63
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
64
64
|
}, [1, "eds-social-networks", {
|
|
@@ -44,7 +44,7 @@ const EdsSpinner = /*@__PURE__*/ proxyCustomElement(class EdsSpinner extends HTM
|
|
|
44
44
|
alignItems: 'center',
|
|
45
45
|
justifyContent: 'center'
|
|
46
46
|
};
|
|
47
|
-
return (h(Host, { key: '
|
|
47
|
+
return (h(Host, { key: '49a825afb039ee46b26609eea60109e0a060c104' }, h("div", { key: '6445a4e7f1e7c553bdee660c42f1db0e011443f2', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '07feeb7736e6d306e2b7baf5d253b2ce96bb2c9e', class: "spinner", style: spinnerStyle }))));
|
|
48
48
|
}
|
|
49
49
|
static get style() { return EdsSpinnerStyle0; }
|
|
50
50
|
}, [1, "eds-spinner", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { Components, JSX } from "../types/components";
|
|
2
2
|
|
|
3
|
-
interface
|
|
4
|
-
export const
|
|
5
|
-
prototype:
|
|
6
|
-
new ():
|
|
3
|
+
interface EdsStepsV2 extends Components.EdsStepsV2, HTMLElement {}
|
|
4
|
+
export const EdsStepsV2: {
|
|
5
|
+
prototype: EdsStepsV2;
|
|
6
|
+
new (): EdsStepsV2;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Used to define this component and all nested components recursively.
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as parseData } from './sharedUtils.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './eds-button2.js';
|
|
4
|
+
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
5
|
+
import { d as defineCustomElement$2 } from './eds-img2.js';
|
|
6
|
+
|
|
7
|
+
const edsStepsV2Css = "h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-gradient-to-b{background-image:linear-gradient(to bottom, var(--tw-gradient-stops))}.from-\\[\\#9CE142\\]{--tw-gradient-from:#9CE142 var(--tw-gradient-from-position);--tw-gradient-to:rgb(156 225 66 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.via-\\[\\#00C959\\]{--tw-gradient-to:rgb(0 201 89 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), #00C959 var(--tw-gradient-via-position), var(--tw-gradient-to)}.to-\\[\\#00A595\\]{--tw-gradient-to:#00A595 var(--tw-gradient-to-position)}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mb-28{margin-bottom:1.75rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-16{padding:1rem}.p-24{padding:1.5rem}.p-48{padding:3rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bg-opacity-90{--tw-bg-opacity:0.9}";
|
|
8
|
+
const EdsStepsV2Style0 = edsStepsV2Css;
|
|
9
|
+
|
|
10
|
+
const EdsStepsV2$1 = /*@__PURE__*/ proxyCustomElement(class EdsStepsV2 extends HTMLElement {
|
|
11
|
+
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
this.__registerHost();
|
|
14
|
+
this.__attachShadow();
|
|
15
|
+
this.step = createEvent(this, "step", 7);
|
|
16
|
+
this.handleNext = () => {
|
|
17
|
+
this.activeStep = this.activeStep + 1;
|
|
18
|
+
if (this.activeStep < this.parsedSteps.length) {
|
|
19
|
+
this.step.emit(this.activeStep);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
this.handleBack = () => {
|
|
23
|
+
if (this.activeStep > 0) {
|
|
24
|
+
this.activeStep = this.activeStep - 1;
|
|
25
|
+
this.step.emit(this.activeStep);
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
this.steps = [];
|
|
29
|
+
this.type = 'static';
|
|
30
|
+
this.imageSrc = undefined;
|
|
31
|
+
this.bg = true;
|
|
32
|
+
this.message = undefined;
|
|
33
|
+
this.activeStep = 0;
|
|
34
|
+
}
|
|
35
|
+
componentDidLoad() {
|
|
36
|
+
var _a;
|
|
37
|
+
if (this.type === 'linear') {
|
|
38
|
+
const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
|
|
39
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => {
|
|
40
|
+
this.emitContext(btn);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
activeStepChanged(newValue) {
|
|
45
|
+
setTimeout(() => {
|
|
46
|
+
var _a;
|
|
47
|
+
const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
|
|
48
|
+
if (activeStepContainer) {
|
|
49
|
+
const btns = activeStepContainer.querySelectorAll('eds-button');
|
|
50
|
+
btns.forEach((btn) => {
|
|
51
|
+
this.emitContext(btn);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}, 50);
|
|
55
|
+
}
|
|
56
|
+
emitContext(linkElement) {
|
|
57
|
+
const event = new CustomEvent('parentContext', {
|
|
58
|
+
detail: {
|
|
59
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
60
|
+
identifier: this.activeStep
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
linkElement.dispatchEvent(event);
|
|
64
|
+
}
|
|
65
|
+
articleClasses() {
|
|
66
|
+
return [
|
|
67
|
+
this.bg ? 'bg-inverse' : 'bg-default',
|
|
68
|
+
'border-softer effect-focus-within relative rounded-lg border-2 p-16'
|
|
69
|
+
].join(' ');
|
|
70
|
+
}
|
|
71
|
+
handleStepClick(index) {
|
|
72
|
+
this.step.emit(index);
|
|
73
|
+
// In linear mode, update the active step on header click.
|
|
74
|
+
if (this.type === 'linear') {
|
|
75
|
+
this.activeStep = index;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Parses the steps property into an array of Step objects.
|
|
80
|
+
*/
|
|
81
|
+
get parsedSteps() {
|
|
82
|
+
return parseData(this.steps);
|
|
83
|
+
}
|
|
84
|
+
render() {
|
|
85
|
+
const steps = this.parsedSteps;
|
|
86
|
+
return (h("div", { key: '06d6c64cd4389908276a6b0c738700c315d693af', class: this.articleClasses() }, this.imageSrc ? (h("div", { class: "mb-28" }, h("eds-img", { src: this.imageSrc, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (h("div", { class: "mb-28 w-full bg-[#00A595] relative" }, h("div", { class: "text-inverse f-heading-04 p-24 md:p-48" }, this.message)))), this.type === 'linear' ? (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16", innerHTML: step.content }), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))) : (
|
|
87
|
+
// Static mode: show all steps with their content.
|
|
88
|
+
h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16", innerHTML: step.content })))))))));
|
|
89
|
+
}
|
|
90
|
+
get el() { return this; }
|
|
91
|
+
static get watchers() { return {
|
|
92
|
+
"activeStep": ["activeStepChanged"]
|
|
93
|
+
}; }
|
|
94
|
+
static get style() { return EdsStepsV2Style0; }
|
|
95
|
+
}, [1, "eds-steps-v2", {
|
|
96
|
+
"steps": [1],
|
|
97
|
+
"type": [1],
|
|
98
|
+
"imageSrc": [1, "image-src"],
|
|
99
|
+
"bg": [4],
|
|
100
|
+
"message": [1],
|
|
101
|
+
"activeStep": [32]
|
|
102
|
+
}, undefined, {
|
|
103
|
+
"activeStep": ["activeStepChanged"]
|
|
104
|
+
}]);
|
|
105
|
+
function defineCustomElement$1() {
|
|
106
|
+
if (typeof customElements === "undefined") {
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
const components = ["eds-steps-v2", "eds-button", "eds-icon-wrapper", "eds-img"];
|
|
110
|
+
components.forEach(tagName => { switch (tagName) {
|
|
111
|
+
case "eds-steps-v2":
|
|
112
|
+
if (!customElements.get(tagName)) {
|
|
113
|
+
customElements.define(tagName, EdsStepsV2$1);
|
|
114
|
+
}
|
|
115
|
+
break;
|
|
116
|
+
case "eds-button":
|
|
117
|
+
if (!customElements.get(tagName)) {
|
|
118
|
+
defineCustomElement$4();
|
|
119
|
+
}
|
|
120
|
+
break;
|
|
121
|
+
case "eds-icon-wrapper":
|
|
122
|
+
if (!customElements.get(tagName)) {
|
|
123
|
+
defineCustomElement$3();
|
|
124
|
+
}
|
|
125
|
+
break;
|
|
126
|
+
case "eds-img":
|
|
127
|
+
if (!customElements.get(tagName)) {
|
|
128
|
+
defineCustomElement$2();
|
|
129
|
+
}
|
|
130
|
+
break;
|
|
131
|
+
} });
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
const EdsStepsV2 = EdsStepsV2$1;
|
|
135
|
+
const defineCustomElement = defineCustomElement$1;
|
|
136
|
+
|
|
137
|
+
export { EdsStepsV2, defineCustomElement };
|
|
@@ -1,95 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as parseData } from './sharedUtils.js';
|
|
3
|
-
import { d as defineCustomElement$5 } from './eds-alert2.js';
|
|
4
|
-
import { d as defineCustomElement$4 } from './eds-button2.js';
|
|
5
|
-
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
7
|
-
|
|
8
|
-
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}";
|
|
9
|
-
const EdsStepsStyle0 = edsStepsCss;
|
|
10
|
-
|
|
11
|
-
const EdsSteps$1 = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLElement {
|
|
12
|
-
constructor() {
|
|
13
|
-
super();
|
|
14
|
-
this.__registerHost();
|
|
15
|
-
this.__attachShadow();
|
|
16
|
-
this.step = createEvent(this, "step", 7);
|
|
17
|
-
this.handleNext = () => {
|
|
18
|
-
this.activeStep = this.activeStep + 1;
|
|
19
|
-
if (this.activeStep < this.parsedSteps.length) {
|
|
20
|
-
this.step.emit(this.activeStep);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
this.handleBack = () => {
|
|
24
|
-
if (this.activeStep > 0) {
|
|
25
|
-
this.activeStep = this.activeStep - 1;
|
|
26
|
-
this.step.emit(this.activeStep);
|
|
27
|
-
}
|
|
28
|
-
};
|
|
29
|
-
this.steps = [];
|
|
30
|
-
this.type = 'static';
|
|
31
|
-
this.activeStep = 0;
|
|
32
|
-
}
|
|
33
|
-
handleStepClick(index) {
|
|
34
|
-
this.step.emit(index);
|
|
35
|
-
// In linear mode, update the active step on header click.
|
|
36
|
-
if (this.type === 'linear') {
|
|
37
|
-
this.activeStep = index;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* Parse the JSON string into an array of steps.
|
|
42
|
-
*/
|
|
43
|
-
get parsedSteps() {
|
|
44
|
-
return parseData(this.steps);
|
|
45
|
-
}
|
|
46
|
-
render() {
|
|
47
|
-
const steps = this.parsedSteps;
|
|
48
|
-
if (this.type === 'linear') {
|
|
49
|
-
return (h("div", null, h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16" }, step.content), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' }))))))), this.activeStep === steps.length && (h("div", { class: "completed" }, h("eds-alert", { intent: "success", message: "All steps completed - you're finished!" })))));
|
|
50
|
-
}
|
|
51
|
-
// Static mode: show all steps with their content, no navigation buttons.
|
|
52
|
-
return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", null, step.title), h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16" }, step.content)))))));
|
|
53
|
-
}
|
|
54
|
-
static get style() { return EdsStepsStyle0; }
|
|
55
|
-
}, [1, "eds-steps", {
|
|
56
|
-
"steps": [1],
|
|
57
|
-
"type": [1],
|
|
58
|
-
"activeStep": [32]
|
|
59
|
-
}]);
|
|
60
|
-
function defineCustomElement$1() {
|
|
61
|
-
if (typeof customElements === "undefined") {
|
|
62
|
-
return;
|
|
63
|
-
}
|
|
64
|
-
const components = ["eds-steps", "eds-alert", "eds-button", "eds-icon-wrapper", "eds-link"];
|
|
65
|
-
components.forEach(tagName => { switch (tagName) {
|
|
66
|
-
case "eds-steps":
|
|
67
|
-
if (!customElements.get(tagName)) {
|
|
68
|
-
customElements.define(tagName, EdsSteps$1);
|
|
69
|
-
}
|
|
70
|
-
break;
|
|
71
|
-
case "eds-alert":
|
|
72
|
-
if (!customElements.get(tagName)) {
|
|
73
|
-
defineCustomElement$5();
|
|
74
|
-
}
|
|
75
|
-
break;
|
|
76
|
-
case "eds-button":
|
|
77
|
-
if (!customElements.get(tagName)) {
|
|
78
|
-
defineCustomElement$4();
|
|
79
|
-
}
|
|
80
|
-
break;
|
|
81
|
-
case "eds-icon-wrapper":
|
|
82
|
-
if (!customElements.get(tagName)) {
|
|
83
|
-
defineCustomElement$3();
|
|
84
|
-
}
|
|
85
|
-
break;
|
|
86
|
-
case "eds-link":
|
|
87
|
-
if (!customElements.get(tagName)) {
|
|
88
|
-
defineCustomElement$2();
|
|
89
|
-
}
|
|
90
|
-
break;
|
|
91
|
-
} });
|
|
92
|
-
}
|
|
1
|
+
import { E as EdsSteps$1, d as defineCustomElement$1 } from './eds-steps2.js';
|
|
93
2
|
|
|
94
3
|
const EdsSteps = EdsSteps$1;
|
|
95
4
|
const defineCustomElement = defineCustomElement$1;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { p as parseData } from './sharedUtils
|
|
1
|
+
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { p as parseData } from './sharedUtils.js';
|
|
3
|
+
import { d as defineCustomElement$2 } from './eds-button2.js';
|
|
4
|
+
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
3
5
|
|
|
4
6
|
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before{content:counter(step);position:absolute;left:-40px;top:0;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.text-default{color:var(--black)}.text-error{color:var(--red-700)}.text-extra-light{color:var(--grey-300)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.mb-28{margin-bottom:1.75rem}";
|
|
5
7
|
const EdsStepsStyle0 = edsStepsCss;
|
|
6
8
|
|
|
7
|
-
const EdsSteps = class {
|
|
8
|
-
constructor(
|
|
9
|
-
|
|
9
|
+
const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLElement {
|
|
10
|
+
constructor() {
|
|
11
|
+
super();
|
|
12
|
+
this.__registerHost();
|
|
13
|
+
this.__attachShadow();
|
|
10
14
|
this.step = createEvent(this, "step", 7);
|
|
11
15
|
this.handleNext = () => {
|
|
12
16
|
this.activeStep = this.activeStep + 1;
|
|
@@ -24,6 +28,46 @@ const EdsSteps = class {
|
|
|
24
28
|
this.type = 'static';
|
|
25
29
|
this.activeStep = 0;
|
|
26
30
|
}
|
|
31
|
+
/**
|
|
32
|
+
* Lifecycle method that runs when the component has fully loaded.
|
|
33
|
+
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
34
|
+
*/
|
|
35
|
+
componentDidLoad() {
|
|
36
|
+
var _a;
|
|
37
|
+
if (this.type === 'linear') {
|
|
38
|
+
const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
|
|
39
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => {
|
|
40
|
+
this.emitContext(btn);
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
activeStepChanged(newValue) {
|
|
45
|
+
setTimeout(() => {
|
|
46
|
+
var _a;
|
|
47
|
+
const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
|
|
48
|
+
if (activeStepContainer) {
|
|
49
|
+
const btns = activeStepContainer.querySelectorAll('eds-button');
|
|
50
|
+
btns.forEach((btn) => {
|
|
51
|
+
this.emitContext(btn);
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
}, 50);
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
58
|
+
* This event provides context information about the breadcrumb component.
|
|
59
|
+
*
|
|
60
|
+
* @param linkElement - The link element to which the event will be dispatched.
|
|
61
|
+
*/
|
|
62
|
+
emitContext(linkElement) {
|
|
63
|
+
const event = new CustomEvent('parentContext', {
|
|
64
|
+
detail: {
|
|
65
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
66
|
+
identifier: this.activeStep
|
|
67
|
+
}
|
|
68
|
+
});
|
|
69
|
+
linkElement.dispatchEvent(event);
|
|
70
|
+
}
|
|
27
71
|
handleStepClick(index) {
|
|
28
72
|
this.step.emit(index);
|
|
29
73
|
// In linear mode, update the active step on header click.
|
|
@@ -40,12 +84,45 @@ const EdsSteps = class {
|
|
|
40
84
|
render() {
|
|
41
85
|
const steps = this.parsedSteps;
|
|
42
86
|
if (this.type === 'linear') {
|
|
43
|
-
return (h("div", null, h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16" }, step.content), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))
|
|
87
|
+
return (h("div", null, h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", { onClick: () => this.handleStepClick(index) }, step.title), this.activeStep === index && (h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16" }, step.content), h("eds-button", { label: index === steps.length - 1 ? 'Finish' : 'Continue', intent: "primary", class: "next-btn", onClick: this.handleNext }), h("eds-button", { label: "Back", intent: "ghostInverse", onClick: this.handleBack, disabled: index === 0, "extra-class": index === 0 ? 'hidden' : 'ml-8 block' })))))))));
|
|
44
88
|
}
|
|
45
89
|
// Static mode: show all steps with their content, no navigation buttons.
|
|
46
90
|
return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-28", key: index }, h("h3", null, step.title), h("div", { class: "content" }, h("div", { class: "f-body-02 text-lighter my-16" }, step.content)))))));
|
|
47
91
|
}
|
|
48
|
-
}
|
|
49
|
-
|
|
92
|
+
get el() { return this; }
|
|
93
|
+
static get watchers() { return {
|
|
94
|
+
"activeStep": ["activeStepChanged"]
|
|
95
|
+
}; }
|
|
96
|
+
static get style() { return EdsStepsStyle0; }
|
|
97
|
+
}, [1, "eds-steps", {
|
|
98
|
+
"steps": [1],
|
|
99
|
+
"type": [1],
|
|
100
|
+
"activeStep": [32]
|
|
101
|
+
}, undefined, {
|
|
102
|
+
"activeStep": ["activeStepChanged"]
|
|
103
|
+
}]);
|
|
104
|
+
function defineCustomElement() {
|
|
105
|
+
if (typeof customElements === "undefined") {
|
|
106
|
+
return;
|
|
107
|
+
}
|
|
108
|
+
const components = ["eds-steps", "eds-button", "eds-icon-wrapper"];
|
|
109
|
+
components.forEach(tagName => { switch (tagName) {
|
|
110
|
+
case "eds-steps":
|
|
111
|
+
if (!customElements.get(tagName)) {
|
|
112
|
+
customElements.define(tagName, EdsSteps);
|
|
113
|
+
}
|
|
114
|
+
break;
|
|
115
|
+
case "eds-button":
|
|
116
|
+
if (!customElements.get(tagName)) {
|
|
117
|
+
defineCustomElement$2();
|
|
118
|
+
}
|
|
119
|
+
break;
|
|
120
|
+
case "eds-icon-wrapper":
|
|
121
|
+
if (!customElements.get(tagName)) {
|
|
122
|
+
defineCustomElement$1();
|
|
123
|
+
}
|
|
124
|
+
break;
|
|
125
|
+
} });
|
|
126
|
+
}
|
|
50
127
|
|
|
51
|
-
export { EdsSteps as
|
|
128
|
+
export { EdsSteps as E, defineCustomElement as d };
|