@ebrains/components 2.3.1 → 2.4.1
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 +33 -24
- 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_36.cjs.entry.js → eds-accordion_37.cjs.entry.js} +661 -209
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +2 -2
- 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-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-footer.cjs.entry.js +2 -2
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +8 -3
- package/dist/cjs/eds-gauge.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-clone.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-download.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-draft.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-start.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-view.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +2 -2
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-social-networks.cjs.entry.js +1 -1
- 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.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-50bc1aa4.js +2 -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 +3 -3
- 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/cjs/{up-and-down-d71df67d.js → up-and-down-6f179dd8.js} +2 -2
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- 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.js +1 -19
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-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-generic/eds-card-generic.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.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 +2 -2
- package/dist/collection/components/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/components/eds-footer/eds-footer.js +2 -2
- package/dist/collection/components/eds-form/eds-form.js +56 -16
- package/dist/collection/components/eds-frame/eds-frame.js +1 -1
- package/dist/collection/components/eds-fullscreen-menu/eds-fullscreen-menu.js +8 -3
- package/dist/collection/components/eds-header/eds-header.css +5 -0
- package/dist/collection/components/eds-header/eds-header.js +1 -1
- 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 +1 -1
- 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-bin/eds-icon-bin.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.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-download/eds-icon-download.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.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-external/eds-icon-external.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-minus/eds-icon-minus.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-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.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-start/eds-icon-start.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-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +2 -2
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.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 +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-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +15 -25
- 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-nps/eds-nps.js +66 -53
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- 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 +2 -2
- package/dist/collection/components/eds-sidebar/eds-sidebar.css +458 -0
- package/dist/collection/components/eds-sidebar/eds-sidebar.js +299 -0
- package/dist/collection/components/eds-sidebar/eds-sidebar.stories.js +141 -0
- package/dist/collection/components/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +334 -10
- package/dist/collection/components/eds-steps/eds-steps.js +187 -101
- package/dist/collection/components/eds-steps/eds-steps.stories.js +21 -3
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +167 -3
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +177 -113
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +8 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +14 -0
- package/dist/collection/components/eds-table/eds-table.js +99 -9
- package/dist/collection/components/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -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/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/components-section/functional/overview.js +2 -2
- package/dist/collection/eds-docs-ui/components-section/functional/vue.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-global-search/eds-global-search.js +10 -12
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +2 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +33 -24
- package/dist/components/components.css +315 -0
- 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-alert2.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 +1 -3
- 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-code-block2.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -2
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +6 -12
- package/dist/components/eds-form.js +80 -34
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +16 -17
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-global-search.js +31 -27
- package/dist/components/eds-header.js +2 -2
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bin.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.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-clone.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-download.js +1 -1
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.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-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.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-start.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-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +2 -2
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-view.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 +22 -16
- package/dist/components/eds-input-footer2.js +9 -3
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +14 -9
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-nps2.js +66 -53
- 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 +2 -2
- package/dist/components/eds-sidebar.d.ts +11 -0
- package/dist/components/eds-sidebar.js +208 -0
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +133 -46
- package/dist/components/eds-steps2.js +130 -34
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +65 -9
- package/dist/components/eds-tabs.js +2 -2
- 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.js +1 -1
- package/dist/components/eds-user.js +1 -1
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/{p-838d6773.entry.js → p-0e504247.entry.js} +1 -1
- package/dist/components/{p-b8b4c01e.entry.js → p-0f319eac.entry.js} +1 -1
- package/dist/components/{p-7b0496b1.entry.js → p-11bf02db.entry.js} +1 -1
- package/dist/components/{p-ca91952b.entry.js → p-15df046d.entry.js} +1 -1
- package/dist/components/p-15e5229b.entry.js +1 -0
- package/dist/components/{p-75b40e57.entry.js → p-1804a119.entry.js} +1 -1
- package/dist/components/p-19c628e6.entry.js +1 -0
- package/dist/components/p-19e241e9.entry.js +1 -0
- package/dist/components/p-1a674723.entry.js +9 -0
- package/dist/components/p-1dd6faeb.entry.js +1 -0
- package/dist/components/{p-e614c8e8.entry.js → p-21ed7e2e.entry.js} +1 -1
- package/dist/components/{p-2d6ca1c5.entry.js → p-2bd9605b.entry.js} +1 -1
- package/dist/components/{p-44d33938.entry.js → p-2d4f6e90.entry.js} +1 -1
- package/dist/components/p-2e3bd154.entry.js +1 -0
- package/dist/components/p-3004d956.entry.js +1 -0
- package/dist/components/p-313b04c9.entry.js +1 -0
- package/dist/components/p-31a3c6a2.entry.js +1 -0
- package/dist/components/p-3778e162.entry.js +1 -0
- package/dist/components/p-39548acc.entry.js +1 -0
- package/dist/components/p-3aac5c73.entry.js +1 -0
- package/dist/components/p-3d313fb5.entry.js +1 -0
- package/dist/components/p-43bc9224.entry.js +1 -0
- package/dist/components/p-48eaf544.entry.js +1 -0
- package/dist/components/{p-b522fa70.entry.js → p-4c2a8bf1.entry.js} +1 -1
- package/dist/components/{p-fe2bb83e.entry.js → p-4eaa7ba2.entry.js} +1 -1
- package/dist/components/p-5157eb25.entry.js +1 -0
- package/dist/components/{p-0798d50d.entry.js → p-59d2b2a9.entry.js} +1 -1
- package/dist/components/p-5c28d2d3.entry.js +1 -0
- package/dist/components/p-63d9ab86.entry.js +1 -0
- package/dist/components/p-640c4463.entry.js +1 -0
- package/dist/components/p-643eee62.entry.js +1 -0
- package/dist/components/p-64be8ed5.entry.js +1 -0
- package/dist/components/{p-e9a6f693.entry.js → p-67c3bedc.entry.js} +1 -1
- package/dist/components/{p-f2b12631.entry.js → p-70cbe02d.entry.js} +1 -1
- package/dist/components/p-7aa97ad6.entry.js +1 -0
- package/dist/components/{p-24683124.entry.js → p-7b160270.entry.js} +1 -1
- package/dist/components/p-83b26d8c.entry.js +1 -0
- package/dist/components/{p-e2bc6329.entry.js → p-85f866f0.entry.js} +1 -1
- package/dist/components/p-8779905b.entry.js +1 -0
- package/dist/components/p-88814860.entry.js +1 -0
- package/dist/components/{p-b471922f.entry.js → p-8998eec7.entry.js} +1 -1
- package/dist/components/p-8c42cefe.entry.js +1 -0
- package/dist/components/{p-bce8a58d.entry.js → p-8c520685.entry.js} +1 -1
- package/dist/components/p-8cba26bd.entry.js +1 -0
- package/dist/components/p-8ef830f5.entry.js +1 -0
- package/dist/components/p-942f4a95.entry.js +1 -0
- package/dist/components/p-9b05145b.entry.js +1 -0
- package/dist/components/{p-4beb1e06.entry.js → p-9d57b51f.entry.js} +1 -1
- package/dist/components/p-9e46df74.entry.js +1 -0
- package/dist/components/{p-76330532.entry.js → p-9fe2c4ba.entry.js} +1 -1
- package/dist/components/p-a38bb645.entry.js +1 -0
- package/dist/components/{p-df18ffd1.entry.js → p-a61dbad5.entry.js} +1 -1
- package/dist/components/{p-398255ff.entry.js → p-a78079b7.entry.js} +1 -1
- package/dist/components/p-a8e5591c.entry.js +1 -0
- package/dist/components/p-afceabd6.entry.js +1 -0
- package/dist/components/p-b00352ff.entry.js +1 -0
- package/dist/components/p-b93f983c.entry.js +1 -0
- package/dist/components/p-bb6a6de2.entry.js +1 -0
- package/dist/components/p-bc2204f3.entry.js +1 -0
- package/dist/components/p-be54a6c8.entry.js +1 -0
- package/dist/components/p-bef9bf37.entry.js +1 -0
- package/dist/components/p-c1ad7132.entry.js +1 -0
- package/dist/components/p-cb5e39d1.entry.js +1 -0
- package/dist/components/p-ccb6ad15.entry.js +1 -0
- package/dist/components/p-d090b9fa.entry.js +1 -0
- package/dist/components/p-d11f2808.entry.js +1 -0
- package/dist/components/p-d6e5a9fb.entry.js +1 -0
- package/dist/components/{p-ce3b6043.entry.js → p-d958e1f3.entry.js} +1 -1
- package/dist/components/{p-963feadd.entry.js → p-da7b4b6a.entry.js} +1 -1
- package/dist/components/p-dea41137.entry.js +1 -0
- package/dist/components/p-e01cf4f8.entry.js +1 -0
- package/dist/components/{p-54e29971.entry.js → p-e5a1118d.entry.js} +1 -1
- package/dist/components/p-eb818455.entry.js +1 -0
- package/dist/components/p-f061ff11.entry.js +1 -0
- package/dist/components/p-f0a330ef.entry.js +1 -0
- package/dist/components/p-f11e3f42.entry.js +1 -0
- package/dist/components/{p-7ada2015.entry.js → p-f24bfc6a.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 +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/components/up-and-down.js +2 -2
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +33 -24
- 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_36.entry.js → eds-accordion_37.entry.js} +661 -210
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-card-desc_2.entry.js +2 -2
- 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-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-footer.entry.js +2 -2
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-fullscreen-menu.entry.js +8 -3
- package/dist/esm/eds-gauge.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bin.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-clone.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-download.entry.js +1 -1
- package/dist/esm/eds-icon-draft.entry.js +1 -1
- package/dist/esm/eds-icon-edit.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-start.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-view.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +2 -2
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-social-networks.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.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-870ab08f.js +2 -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 +3 -3
- 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/esm/{up-and-down-d747abee.js → up-and-down-8b69ca97.js} +2 -2
- package/dist/hydrate/index.js +827 -341
- package/dist/hydrate/index.mjs +827 -341
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +2 -2
- package/dist/types/components/eds-button/eds-button.d.ts +0 -1
- package/dist/types/components/eds-form/eds-form.d.ts +1 -0
- package/dist/types/components/eds-link/eds-link.d.ts +0 -1
- package/dist/types/components/eds-nps/eds-nps.d.ts +5 -3
- package/dist/types/components/eds-sidebar/eds-sidebar.d.ts +50 -0
- package/dist/types/components/eds-sidebar/eds-sidebar.stories.d.ts +98 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +18 -69
- package/dist/types/components/eds-steps/eds-steps.stories.d.ts +18 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +24 -52
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +8 -0
- package/dist/types/components/eds-table/eds-table.d.ts +8 -0
- package/dist/types/components.d.ts +143 -124
- package/package.json +1 -1
- package/dist/components/p-004801b2.entry.js +0 -1
- package/dist/components/p-02648f82.entry.js +0 -1
- package/dist/components/p-09f1b358.entry.js +0 -1
- package/dist/components/p-0ec9dcf5.entry.js +0 -1
- package/dist/components/p-0fb8511d.entry.js +0 -1
- package/dist/components/p-127870d7.entry.js +0 -1
- package/dist/components/p-12e153fb.entry.js +0 -1
- package/dist/components/p-1f80e708.entry.js +0 -1
- package/dist/components/p-21b5ca1f.entry.js +0 -1
- package/dist/components/p-2bfcb3cf.entry.js +0 -1
- package/dist/components/p-2efa0ba6.entry.js +0 -1
- package/dist/components/p-33a639b5.entry.js +0 -1
- package/dist/components/p-36b17bf2.entry.js +0 -1
- package/dist/components/p-3c478e74.entry.js +0 -1
- package/dist/components/p-447e436c.entry.js +0 -1
- package/dist/components/p-4995b8b2.entry.js +0 -1
- package/dist/components/p-53343ea1.entry.js +0 -1
- package/dist/components/p-56447243.entry.js +0 -1
- package/dist/components/p-56cc4a15.entry.js +0 -1
- package/dist/components/p-5ddcec77.entry.js +0 -1
- package/dist/components/p-5e8142ed.entry.js +0 -1
- package/dist/components/p-70f5e9f5.entry.js +0 -1
- package/dist/components/p-714445de.entry.js +0 -1
- package/dist/components/p-7436a99a.entry.js +0 -1
- package/dist/components/p-772d6ca9.entry.js +0 -1
- package/dist/components/p-79044ab6.entry.js +0 -1
- package/dist/components/p-7c7aaa95.entry.js +0 -1
- package/dist/components/p-81ba0feb.entry.js +0 -1
- package/dist/components/p-82b357f7.entry.js +0 -1
- package/dist/components/p-84239973.entry.js +0 -1
- package/dist/components/p-85dfbfd3.entry.js +0 -1
- package/dist/components/p-a155c283.entry.js +0 -1
- package/dist/components/p-a4080044.entry.js +0 -1
- package/dist/components/p-abd40167.entry.js +0 -1
- package/dist/components/p-ae41414e.entry.js +0 -1
- package/dist/components/p-afb55d52.entry.js +0 -1
- package/dist/components/p-b4c2c58d.entry.js +0 -9
- package/dist/components/p-b6fc1a7d.entry.js +0 -1
- package/dist/components/p-b8a36d0f.entry.js +0 -1
- package/dist/components/p-bb4633ec.entry.js +0 -1
- package/dist/components/p-bc59e5ff.entry.js +0 -1
- package/dist/components/p-cdabb63e.entry.js +0 -1
- package/dist/components/p-d3fa440f.entry.js +0 -1
- package/dist/components/p-dacd8c26.entry.js +0 -1
- package/dist/components/p-ddec1f12.entry.js +0 -1
- package/dist/components/p-e6819f4d.entry.js +0 -1
- package/dist/components/p-e8d0a2db.entry.js +0 -1
- package/dist/components/p-eaf5d057.entry.js +0 -1
- package/dist/components/p-eb57d477.entry.js +0 -1
- package/dist/components/p-efdc6fd7.entry.js +0 -1
- package/dist/components/p-f013c0ac.entry.js +0 -1
- package/dist/components/p-f1ead3b3.entry.js +0 -1
- /package/dist/components/{p-1b2913c8.js → p-553ca350.js} +0 -0
|
@@ -3,48 +3,74 @@ import { parseData } from "../../utils/sharedUtils";
|
|
|
3
3
|
export class EdsStepsV2 {
|
|
4
4
|
constructor() {
|
|
5
5
|
this.handleTitleClick = (index) => {
|
|
6
|
-
//
|
|
7
|
-
if (
|
|
8
|
-
|
|
6
|
+
// In linear mode, do NOT collapse; only navigate if allowed.
|
|
7
|
+
if (this.type === 'linear') {
|
|
8
|
+
if (index > this.activeStep) {
|
|
9
|
+
// Prevent jumping forward over disabled steps
|
|
10
|
+
for (let i = this.activeStep; i < index; i++) {
|
|
11
|
+
if (this.isStepDisabled(i)) {
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
this.activeStep = index;
|
|
9
17
|
this.step.emit(this.activeStep);
|
|
10
18
|
return;
|
|
11
19
|
}
|
|
12
|
-
//
|
|
13
|
-
|
|
14
|
-
|
|
20
|
+
// Non-linear vertical mode can toggle collapse of the current title
|
|
21
|
+
if (this.orientation === 'vertical' && index === this.activeStep) {
|
|
22
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
23
|
+
this.step.emit(this.activeStep);
|
|
15
24
|
return;
|
|
16
25
|
}
|
|
17
|
-
//
|
|
26
|
+
// Otherwise just set
|
|
18
27
|
this.activeStep = index;
|
|
19
28
|
this.step.emit(this.activeStep);
|
|
20
29
|
};
|
|
21
30
|
this.handleNext = () => {
|
|
22
31
|
const lastIndex = this.parsedSteps.length - 1;
|
|
32
|
+
// On last step: do NOT collapse; keep content visible, just emit finished
|
|
23
33
|
if (this.activeStep >= lastIndex) {
|
|
24
34
|
this.finished.emit();
|
|
25
|
-
this.activeStep = -1; // collapse
|
|
35
|
+
this.activeStep = -1; // collapse the content
|
|
36
|
+
this.step.emit(this.activeStep); // notify change (-1 sentinel)
|
|
26
37
|
return;
|
|
27
38
|
}
|
|
28
39
|
const target = this.activeStep + 1;
|
|
29
40
|
this.next.emit(target);
|
|
30
|
-
if (
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
if (this.isStepDisabled(this.activeStep)) {
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
this.activeStep = target;
|
|
45
|
+
this.step.emit(this.activeStep);
|
|
46
|
+
// clear boolean form when moving away from a step
|
|
47
|
+
if (!Array.isArray(this.disableNext)) {
|
|
48
|
+
this.disableNext = false;
|
|
33
49
|
}
|
|
34
50
|
};
|
|
35
51
|
this.handleBack = () => {
|
|
52
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
53
|
+
// Recover from collapsed sentinel if it ever occurs
|
|
54
|
+
if (this.activeStep < 0) {
|
|
55
|
+
this.activeStep = lastIndex;
|
|
56
|
+
this.step.emit(this.activeStep);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
36
59
|
if (this.activeStep > 0) {
|
|
37
60
|
const target = this.activeStep - 1;
|
|
38
61
|
this.back.emit(target);
|
|
39
62
|
this.activeStep = target;
|
|
40
63
|
this.step.emit(this.activeStep);
|
|
64
|
+
if (!Array.isArray(this.disableNext)) {
|
|
65
|
+
this.disableNext = false;
|
|
66
|
+
}
|
|
41
67
|
}
|
|
42
68
|
};
|
|
43
69
|
this.steps = [];
|
|
44
70
|
this.type = 'static';
|
|
71
|
+
this.orientation = 'vertical';
|
|
45
72
|
this.imageSrc = undefined;
|
|
46
73
|
this.imageWidth = undefined;
|
|
47
|
-
this.bg = true;
|
|
48
74
|
this.message = undefined;
|
|
49
75
|
this.nextLabel = 'Next';
|
|
50
76
|
this.backLabel = 'Back';
|
|
@@ -53,57 +79,87 @@ export class EdsStepsV2 {
|
|
|
53
79
|
this.headingLevel = 'h4';
|
|
54
80
|
this.activeStep = 0;
|
|
55
81
|
}
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
82
|
+
handleDisableNextChange(newValue) {
|
|
83
|
+
if (typeof newValue === 'string' && newValue.trim().startsWith('[')) {
|
|
84
|
+
try {
|
|
85
|
+
this.disableNext = JSON.parse(newValue);
|
|
86
|
+
}
|
|
87
|
+
catch (e) {
|
|
88
|
+
console.error('Failed to parse disable-next array:', e);
|
|
89
|
+
}
|
|
63
90
|
}
|
|
64
91
|
}
|
|
65
92
|
activeStepChanged(newValue) {
|
|
93
|
+
// Clamp and ignore collapsed sentinel
|
|
94
|
+
const max = Math.max(0, this.parsedSteps.length - 1);
|
|
95
|
+
if (newValue > max) {
|
|
96
|
+
this.activeStep = max;
|
|
97
|
+
return;
|
|
98
|
+
}
|
|
99
|
+
if (newValue < -1) {
|
|
100
|
+
this.activeStep = -1;
|
|
101
|
+
return;
|
|
102
|
+
}
|
|
103
|
+
if (newValue < 0) {
|
|
104
|
+
return;
|
|
105
|
+
} // ignore collapsed state if ever set elsewhere
|
|
106
|
+
// Emit parentContext to buttons inside the newly active step
|
|
66
107
|
setTimeout(() => {
|
|
67
|
-
|
|
68
|
-
const activeStepContainer =
|
|
69
|
-
|
|
70
|
-
const btns = activeStepContainer.querySelectorAll('eds-button');
|
|
71
|
-
btns.forEach((btn) => {
|
|
72
|
-
this.emitContext(btn);
|
|
73
|
-
});
|
|
74
|
-
}
|
|
108
|
+
const host = this.el.shadowRoot || this.el;
|
|
109
|
+
const activeStepContainer = host.querySelectorAll('.step')[newValue];
|
|
110
|
+
activeStepContainer === null || activeStepContainer === void 0 ? void 0 : activeStepContainer.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
|
|
75
111
|
}, 50);
|
|
76
112
|
}
|
|
113
|
+
componentWillLoad() {
|
|
114
|
+
this.handleDisableNextChange(this.disableNext);
|
|
115
|
+
}
|
|
116
|
+
componentDidLoad() {
|
|
117
|
+
if (this.type === 'linear') {
|
|
118
|
+
const host = this.el.shadowRoot || this.el;
|
|
119
|
+
const btns = host.querySelectorAll('eds-button');
|
|
120
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
|
|
121
|
+
}
|
|
122
|
+
}
|
|
77
123
|
emitContext(linkElement) {
|
|
78
124
|
const event = new CustomEvent('parentContext', {
|
|
79
125
|
detail: {
|
|
80
126
|
componentName: this.el.tagName.toLowerCase(),
|
|
81
127
|
identifier: this.activeStep
|
|
82
|
-
}
|
|
128
|
+
},
|
|
129
|
+
bubbles: true,
|
|
130
|
+
composed: true
|
|
83
131
|
});
|
|
84
132
|
linkElement.dispatchEvent(event);
|
|
85
133
|
}
|
|
86
134
|
articleClasses() {
|
|
87
|
-
return [
|
|
88
|
-
this.bg ? 'bg-inverse' : 'bg-default',
|
|
89
|
-
'border-softer effect-focus-within relative rounded-lg border-2'
|
|
90
|
-
].join(' ');
|
|
135
|
+
return ['border-softer effect-focus-within relative rounded-lg border-2'].join(' ');
|
|
91
136
|
}
|
|
92
|
-
/**
|
|
93
|
-
* Parses the steps property into an array of Step objects.
|
|
94
|
-
*/
|
|
95
137
|
get parsedSteps() {
|
|
96
138
|
return parseData(this.steps);
|
|
97
139
|
}
|
|
98
|
-
|
|
99
|
-
|
|
140
|
+
isStepDisabled(index) {
|
|
141
|
+
if (Array.isArray(this.disableNext)) {
|
|
142
|
+
return index < this.disableNext.length ? !!this.disableNext[index] : false;
|
|
143
|
+
}
|
|
144
|
+
return index === this.activeStep && !!this.disableNext;
|
|
145
|
+
}
|
|
146
|
+
isNextDisabledFor(index) {
|
|
147
|
+
return this.isStepDisabled(index);
|
|
100
148
|
}
|
|
101
|
-
/** Render the semantic heading element */
|
|
102
149
|
renderHeading(title, index) {
|
|
103
150
|
const Tag = this.headingLevel;
|
|
104
151
|
if (this.type === 'linear') {
|
|
105
152
|
const isOpen = this.activeStep === index;
|
|
106
|
-
|
|
153
|
+
// Check if jumping to this step crosses a disabled step
|
|
154
|
+
let forwardBlocked = false;
|
|
155
|
+
if (index > this.activeStep) {
|
|
156
|
+
for (let i = this.activeStep; i < index; i++) {
|
|
157
|
+
if (this.isStepDisabled(i)) {
|
|
158
|
+
forwardBlocked = true;
|
|
159
|
+
break;
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
}
|
|
107
163
|
const onKey = (e) => {
|
|
108
164
|
if (forwardBlocked) {
|
|
109
165
|
return;
|
|
@@ -115,13 +171,42 @@ export class EdsStepsV2 {
|
|
|
115
171
|
};
|
|
116
172
|
return (h(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
117
173
|
}
|
|
118
|
-
return h(Tag, { class: "eds-steps__title" }, title);
|
|
174
|
+
return (h(Tag, { class: "eds-steps__title", onClick: () => this.handleTitleClick(index) }, title));
|
|
175
|
+
}
|
|
176
|
+
/** Render horizontal indicator item */
|
|
177
|
+
renderHorizontalIndicator(step, index) {
|
|
178
|
+
const isActive = this.activeStep === index;
|
|
179
|
+
const isCompleted = this.activeStep > index;
|
|
180
|
+
let forwardBlocked = false;
|
|
181
|
+
if (index > this.activeStep) {
|
|
182
|
+
for (let i = this.activeStep; i < index; i++) {
|
|
183
|
+
if (this.isStepDisabled(i)) {
|
|
184
|
+
forwardBlocked = true;
|
|
185
|
+
break;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
const onKey = (e) => {
|
|
190
|
+
if (forwardBlocked) {
|
|
191
|
+
return;
|
|
192
|
+
}
|
|
193
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
194
|
+
e.preventDefault();
|
|
195
|
+
this.handleTitleClick(index);
|
|
196
|
+
}
|
|
197
|
+
};
|
|
198
|
+
return (h("div", { class: `horizontal-step ${isActive ? 'is-active' : ''} ${isCompleted ? 'is-completed' : ''}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-label": `Step ${index + 1}: ${step.title}`, "aria-current": isActive ? 'step' : undefined, "aria-disabled": forwardBlocked ? 'true' : 'false' }, h("div", { class: "step-indicator" }, h("span", { class: "step-number" }, index + 1)), h("span", { class: `text-center text-default f-ui-03 ${forwardBlocked ? 'opacity-50' : ''}` }, step.title)));
|
|
119
199
|
}
|
|
120
200
|
render() {
|
|
121
201
|
const steps = this.parsedSteps;
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
202
|
+
const marginClass = this.orientation === 'horizontal' ? 'mt-64' : 'mt-32';
|
|
203
|
+
return (h("div", { key: '0f9dbb87f9cd269057183ee969addd55e85b2149', class: this.articleClasses() }, this.imageSrc ? (h("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, h("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (h("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, h("div", { class: "p-24" }, h("span", { class: "text-inverse f-heading-04" }, this.message))))), h("div", { key: 'd636d36c2e95d73c23c269b1faf67870eca97c16', class: "mt-16 pb-20 px-8" }, this.type === 'linear' && this.orientation === 'horizontal' ? (h("div", { class: "steps--horizontal", style: { '--step-count': steps.length.toString() } }, h("div", { class: "horizontal-indicators" }, steps.map((step, index) => this.renderHorizontalIndicator(step, index))), steps.map((step, index) => {
|
|
204
|
+
const isLast = index === steps.length - 1;
|
|
205
|
+
if (this.activeStep !== index) {
|
|
206
|
+
return null;
|
|
207
|
+
}
|
|
208
|
+
return (h("div", { class: "step-content", key: index, id: `eds-step-panel-${index}` }, h("slot", { name: `step-${index}` }, h("div", { class: "f-body-02 text-lighter", innerHTML: step.content })), h("div", { class: `flex items-center justify-between ${marginClass}` }, h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), h("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: index > 0 ? 'ml-8' : null })), h("slot", { name: `actions-${index}` })));
|
|
209
|
+
}))) : this.type === 'linear' ? (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: index === 0 ? 'step' : 'step mt-16', key: index }, this.renderHeading(step.title, index), this.activeStep === index && (h("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, h("slot", { name: `step-${index}` }, h("div", { class: "my-16 f-body-02 text-lighter", innerHTML: step.content })), h("div", { class: `flex items-center justify-between ${marginClass}` }, h("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), h("eds-button", { label: index === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: index > 0 ? 'ml-8' : null }))))))))) : (h("div", { class: "steps space-y-8" }, steps.map((step, index) => (h("div", { class: "step", key: index }, this.renderHeading(step.title, index), h("div", { class: "content", id: `eds-step-panel-${index}` }, h("div", { class: "content-body" }, h("slot", { name: `step-${index}` }, h("div", { class: "my-16 f-body-02 text-lighter", innerHTML: step.content }))))))))))));
|
|
125
210
|
}
|
|
126
211
|
static get is() { return "eds-steps-v2"; }
|
|
127
212
|
static get encapsulation() { return "shadow"; }
|
|
@@ -155,7 +240,7 @@ export class EdsStepsV2 {
|
|
|
155
240
|
"optional": false,
|
|
156
241
|
"docs": {
|
|
157
242
|
"tags": [],
|
|
158
|
-
"text": "JSON string or
|
|
243
|
+
"text": "JSON string or array of steps: { title, content? }"
|
|
159
244
|
},
|
|
160
245
|
"attribute": "steps",
|
|
161
246
|
"reflect": false,
|
|
@@ -172,16 +257,31 @@ export class EdsStepsV2 {
|
|
|
172
257
|
"required": false,
|
|
173
258
|
"optional": false,
|
|
174
259
|
"docs": {
|
|
175
|
-
"tags": [
|
|
176
|
-
|
|
177
|
-
"text": "\"static\""
|
|
178
|
-
}],
|
|
179
|
-
"text": "The type of stepper:\n- `\"static\"`: shows all steps with their content.\n- `\"linear\"`: shows only one step at a time with navigation controls."
|
|
260
|
+
"tags": [],
|
|
261
|
+
"text": "Stepper mode"
|
|
180
262
|
},
|
|
181
263
|
"attribute": "type",
|
|
182
264
|
"reflect": false,
|
|
183
265
|
"defaultValue": "'static'"
|
|
184
266
|
},
|
|
267
|
+
"orientation": {
|
|
268
|
+
"type": "string",
|
|
269
|
+
"mutable": false,
|
|
270
|
+
"complexType": {
|
|
271
|
+
"original": "'vertical' | 'horizontal'",
|
|
272
|
+
"resolved": "\"horizontal\" | \"vertical\"",
|
|
273
|
+
"references": {}
|
|
274
|
+
},
|
|
275
|
+
"required": false,
|
|
276
|
+
"optional": false,
|
|
277
|
+
"docs": {
|
|
278
|
+
"tags": [],
|
|
279
|
+
"text": "Orientation (applies to linear visuals)"
|
|
280
|
+
},
|
|
281
|
+
"attribute": "orientation",
|
|
282
|
+
"reflect": false,
|
|
283
|
+
"defaultValue": "'vertical'"
|
|
284
|
+
},
|
|
185
285
|
"imageSrc": {
|
|
186
286
|
"type": "string",
|
|
187
287
|
"mutable": false,
|
|
@@ -194,7 +294,7 @@ export class EdsStepsV2 {
|
|
|
194
294
|
"optional": true,
|
|
195
295
|
"docs": {
|
|
196
296
|
"tags": [],
|
|
197
|
-
"text": "Optional
|
|
297
|
+
"text": "Optional illustration"
|
|
198
298
|
},
|
|
199
299
|
"attribute": "image-src",
|
|
200
300
|
"reflect": false
|
|
@@ -211,29 +311,11 @@ export class EdsStepsV2 {
|
|
|
211
311
|
"optional": true,
|
|
212
312
|
"docs": {
|
|
213
313
|
"tags": [],
|
|
214
|
-
"text": "
|
|
314
|
+
"text": ""
|
|
215
315
|
},
|
|
216
316
|
"attribute": "image-width",
|
|
217
317
|
"reflect": false
|
|
218
318
|
},
|
|
219
|
-
"bg": {
|
|
220
|
-
"type": "boolean",
|
|
221
|
-
"mutable": false,
|
|
222
|
-
"complexType": {
|
|
223
|
-
"original": "boolean",
|
|
224
|
-
"resolved": "boolean",
|
|
225
|
-
"references": {}
|
|
226
|
-
},
|
|
227
|
-
"required": false,
|
|
228
|
-
"optional": false,
|
|
229
|
-
"docs": {
|
|
230
|
-
"tags": [],
|
|
231
|
-
"text": "If true, apply an inverse background to the container."
|
|
232
|
-
},
|
|
233
|
-
"attribute": "bg",
|
|
234
|
-
"reflect": false,
|
|
235
|
-
"defaultValue": "true"
|
|
236
|
-
},
|
|
237
319
|
"message": {
|
|
238
320
|
"type": "string",
|
|
239
321
|
"mutable": false,
|
|
@@ -246,7 +328,7 @@ export class EdsStepsV2 {
|
|
|
246
328
|
"optional": true,
|
|
247
329
|
"docs": {
|
|
248
330
|
"tags": [],
|
|
249
|
-
"text": "
|
|
331
|
+
"text": ""
|
|
250
332
|
},
|
|
251
333
|
"attribute": "message",
|
|
252
334
|
"reflect": false
|
|
@@ -263,7 +345,7 @@ export class EdsStepsV2 {
|
|
|
263
345
|
"optional": false,
|
|
264
346
|
"docs": {
|
|
265
347
|
"tags": [],
|
|
266
|
-
"text": "
|
|
348
|
+
"text": "Labels"
|
|
267
349
|
},
|
|
268
350
|
"attribute": "next-label",
|
|
269
351
|
"reflect": false,
|
|
@@ -281,7 +363,7 @@ export class EdsStepsV2 {
|
|
|
281
363
|
"optional": false,
|
|
282
364
|
"docs": {
|
|
283
365
|
"tags": [],
|
|
284
|
-
"text": "
|
|
366
|
+
"text": ""
|
|
285
367
|
},
|
|
286
368
|
"attribute": "back-label",
|
|
287
369
|
"reflect": false,
|
|
@@ -299,25 +381,28 @@ export class EdsStepsV2 {
|
|
|
299
381
|
"optional": false,
|
|
300
382
|
"docs": {
|
|
301
383
|
"tags": [],
|
|
302
|
-
"text": "
|
|
384
|
+
"text": ""
|
|
303
385
|
},
|
|
304
386
|
"attribute": "finish-label",
|
|
305
387
|
"reflect": false,
|
|
306
388
|
"defaultValue": "'Finish'"
|
|
307
389
|
},
|
|
308
390
|
"disableNext": {
|
|
309
|
-
"type": "
|
|
310
|
-
"mutable":
|
|
391
|
+
"type": "any",
|
|
392
|
+
"mutable": true,
|
|
311
393
|
"complexType": {
|
|
312
|
-
"original": "boolean",
|
|
313
|
-
"resolved": "boolean",
|
|
394
|
+
"original": "boolean | boolean[] | string",
|
|
395
|
+
"resolved": "boolean | boolean[] | string",
|
|
314
396
|
"references": {}
|
|
315
397
|
},
|
|
316
398
|
"required": false,
|
|
317
399
|
"optional": false,
|
|
318
400
|
"docs": {
|
|
319
|
-
"tags": [
|
|
320
|
-
|
|
401
|
+
"tags": [{
|
|
402
|
+
"name": "attr",
|
|
403
|
+
"text": "disable-next"
|
|
404
|
+
}],
|
|
405
|
+
"text": "Disable Next/Finish (boolean or per-step boolean[]). Also accepts a JSON array string."
|
|
321
406
|
},
|
|
322
407
|
"attribute": "disable-next",
|
|
323
408
|
"reflect": false,
|
|
@@ -334,11 +419,8 @@ export class EdsStepsV2 {
|
|
|
334
419
|
"required": false,
|
|
335
420
|
"optional": false,
|
|
336
421
|
"docs": {
|
|
337
|
-
"tags": [
|
|
338
|
-
|
|
339
|
-
"text": "\"h4\""
|
|
340
|
-
}],
|
|
341
|
-
"text": "Heading level to use for each step title."
|
|
422
|
+
"tags": [],
|
|
423
|
+
"text": "Heading level for titles"
|
|
342
424
|
},
|
|
343
425
|
"attribute": "heading-level",
|
|
344
426
|
"reflect": true,
|
|
@@ -359,14 +441,8 @@ export class EdsStepsV2 {
|
|
|
359
441
|
"cancelable": true,
|
|
360
442
|
"composed": true,
|
|
361
443
|
"docs": {
|
|
362
|
-
"tags": [
|
|
363
|
-
|
|
364
|
-
"text": "step"
|
|
365
|
-
}, {
|
|
366
|
-
"name": "payload",
|
|
367
|
-
"text": "{number} The index of the new active step."
|
|
368
|
-
}],
|
|
369
|
-
"text": "Emitted when the active step changes."
|
|
444
|
+
"tags": [],
|
|
445
|
+
"text": "Fired whenever the active step changes. Payload: current step index."
|
|
370
446
|
},
|
|
371
447
|
"complexType": {
|
|
372
448
|
"original": "number",
|
|
@@ -380,11 +456,8 @@ export class EdsStepsV2 {
|
|
|
380
456
|
"cancelable": true,
|
|
381
457
|
"composed": true,
|
|
382
458
|
"docs": {
|
|
383
|
-
"tags": [
|
|
384
|
-
|
|
385
|
-
"text": "finished"
|
|
386
|
-
}],
|
|
387
|
-
"text": "Emitted when the \"Finish\" button is clicked (last step in linear mode)."
|
|
459
|
+
"tags": [],
|
|
460
|
+
"text": "Fired when user clicks Finish on the last step."
|
|
388
461
|
},
|
|
389
462
|
"complexType": {
|
|
390
463
|
"original": "void",
|
|
@@ -398,14 +471,8 @@ export class EdsStepsV2 {
|
|
|
398
471
|
"cancelable": true,
|
|
399
472
|
"composed": true,
|
|
400
473
|
"docs": {
|
|
401
|
-
"tags": [
|
|
402
|
-
|
|
403
|
-
"text": "next"
|
|
404
|
-
}, {
|
|
405
|
-
"name": "payload",
|
|
406
|
-
"text": "{number} The target step index."
|
|
407
|
-
}],
|
|
408
|
-
"text": "Emitted when the \"Next\" button is clicked."
|
|
474
|
+
"tags": [],
|
|
475
|
+
"text": "Fired before advancing, with the target step index."
|
|
409
476
|
},
|
|
410
477
|
"complexType": {
|
|
411
478
|
"original": "number",
|
|
@@ -419,14 +486,8 @@ export class EdsStepsV2 {
|
|
|
419
486
|
"cancelable": true,
|
|
420
487
|
"composed": true,
|
|
421
488
|
"docs": {
|
|
422
|
-
"tags": [
|
|
423
|
-
|
|
424
|
-
"text": "back"
|
|
425
|
-
}, {
|
|
426
|
-
"name": "payload",
|
|
427
|
-
"text": "{number} The target step index."
|
|
428
|
-
}],
|
|
429
|
-
"text": "Emitted when the \"Back\" button is clicked."
|
|
489
|
+
"tags": [],
|
|
490
|
+
"text": "Fired before going back, with the target step index."
|
|
430
491
|
},
|
|
431
492
|
"complexType": {
|
|
432
493
|
"original": "number",
|
|
@@ -438,6 +499,9 @@ export class EdsStepsV2 {
|
|
|
438
499
|
static get elementRef() { return "el"; }
|
|
439
500
|
static get watchers() {
|
|
440
501
|
return [{
|
|
502
|
+
"propName": "disableNext",
|
|
503
|
+
"methodName": "handleDisableNextChange"
|
|
504
|
+
}, {
|
|
441
505
|
"propName": "activeStep",
|
|
442
506
|
"methodName": "activeStepChanged"
|
|
443
507
|
}];
|
|
@@ -12,6 +12,11 @@ export default {
|
|
|
12
12
|
{ title: 'Step Three', content: '<p>Details for step three.</p>' }
|
|
13
13
|
]
|
|
14
14
|
},
|
|
15
|
+
orientation: {
|
|
16
|
+
control: { type: 'select' },
|
|
17
|
+
options: ['vertical', 'horizontal'],
|
|
18
|
+
description: 'Stepper orientation (applies to **linear** mode only). "vertical" stacks steps; "horizontal" shows numbered indicators above content.'
|
|
19
|
+
},
|
|
15
20
|
type: {
|
|
16
21
|
control: 'select',
|
|
17
22
|
options: ['static', 'linear'],
|
|
@@ -61,6 +66,7 @@ export default {
|
|
|
61
66
|
{ title: 'Step Two', content: '<p>Details for step two.</p>' },
|
|
62
67
|
{ title: 'Step Three', content: '<p>Details for step three.</p>' }
|
|
63
68
|
],
|
|
69
|
+
orientation: 'vertical',
|
|
64
70
|
type: 'static',
|
|
65
71
|
imageSrc: '',
|
|
66
72
|
bg: true,
|
|
@@ -72,11 +78,12 @@ export default {
|
|
|
72
78
|
disableNext: false
|
|
73
79
|
}
|
|
74
80
|
};
|
|
75
|
-
const Template = ({ steps, type, imageSrc, imageWidth, bg, message, headingLevel, nextLabel, backLabel, finishLabel, disableNext }) => html `
|
|
81
|
+
const Template = ({ steps, type, orientation, imageSrc, imageWidth, bg, message, headingLevel, nextLabel, backLabel, finishLabel, disableNext }) => html `
|
|
76
82
|
<div class="grid grid-layout grid-cols-2">
|
|
77
83
|
<eds-steps-v2
|
|
78
84
|
.steps=${steps}
|
|
79
85
|
type="${type}"
|
|
86
|
+
orientation="${orientation}"
|
|
80
87
|
.imageSrc=${imageSrc}
|
|
81
88
|
.imageWidth=${imageWidth}
|
|
82
89
|
?bg=${bg}
|
|
@@ -45,11 +45,11 @@ export class EdsSwitch {
|
|
|
45
45
|
: this.labelOff
|
|
46
46
|
: 'Toggle switch'
|
|
47
47
|
: undefined;
|
|
48
|
-
return (h("div", { key: '
|
|
48
|
+
return (h("div", { key: '0ee7bcdc3d6bb78881c310e36e5189e5ef99bab0', class: "switch-container" }, this.labelOff && (h("span", { key: '858c4a43ccc633530d4e13a6bfa8115194ff5082', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), h("button", { key: 'faa59b03c46dd814c4125534a88fd7564b02205a', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
|
|
49
49
|
switch: true,
|
|
50
50
|
'switch--checked': this.checked,
|
|
51
51
|
'switch--disabled': this.disabled
|
|
52
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: '
|
|
52
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: '74db0f827a4f50dd77b88e0d372cbef1adb10f87', class: "switch-handle" })), this.labelOn && (h("span", { key: '2648bb13d533bc9fde1dc04af9cfd7116dadd581', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
53
53
|
}
|
|
54
54
|
static get is() { return "eds-switch"; }
|
|
55
55
|
static get encapsulation() { return "shadow"; }
|
|
@@ -12,6 +12,20 @@ table {
|
|
|
12
12
|
/* 3 */
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
+
/* Default theme - no alternating colors */
|
|
16
|
+
tr.table-row-default {
|
|
17
|
+
background-color: transparent;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/* Color theme - alternating rows */
|
|
21
|
+
tr.table-row-color:nth-child(even) {
|
|
22
|
+
background-color:var(--grey-100);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
tr.table-row-color:nth-child(odd) {
|
|
26
|
+
background-color: transparent;
|
|
27
|
+
}
|
|
28
|
+
|
|
15
29
|
.container {
|
|
16
30
|
width: calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));
|
|
17
31
|
margin-right: auto;
|