@ebrains/components 2.3.1 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +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 +312 -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 +2 -2
- package/dist/components/eds-form.js +80 -34
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +8 -3
- 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-062d2f91.entry.js +1 -0
- package/dist/components/p-0725a684.entry.js +1 -0
- package/dist/components/p-07d5560c.entry.js +1 -0
- package/dist/components/p-13f74e41.entry.js +1 -0
- package/dist/components/p-15dc5ecf.entry.js +1 -0
- package/dist/components/{p-ca91952b.entry.js → p-15df046d.entry.js} +1 -1
- package/dist/components/p-15f94425.entry.js +1 -0
- package/dist/components/{p-7c7aaa95.entry.js → p-1f0819cf.entry.js} +1 -1
- package/dist/components/p-1f74c192.entry.js +1 -0
- package/dist/components/p-20e711e6.entry.js +1 -0
- package/dist/components/{p-398255ff.entry.js → p-21510f7a.entry.js} +1 -1
- package/dist/components/{p-fe2bb83e.entry.js → p-277d0045.entry.js} +1 -1
- package/dist/components/p-28ce55ae.entry.js +1 -0
- package/dist/components/p-30e88fc2.entry.js +1 -0
- package/dist/components/{p-75b40e57.entry.js → p-314aa952.entry.js} +1 -1
- package/dist/components/p-355df495.entry.js +1 -0
- package/dist/components/p-366c5c03.entry.js +1 -0
- package/dist/components/p-38113b9c.entry.js +1 -0
- package/dist/components/{p-ce3b6043.entry.js → p-3a1e54bd.entry.js} +1 -1
- package/dist/components/{p-7b0496b1.entry.js → p-3ad7a15b.entry.js} +1 -1
- package/dist/components/p-3b838def.entry.js +1 -0
- package/dist/components/p-48825534.entry.js +1 -0
- package/dist/components/{p-e614c8e8.entry.js → p-4cebd89e.entry.js} +1 -1
- package/dist/components/p-51d0e443.entry.js +1 -0
- package/dist/components/p-53f6527b.entry.js +1 -0
- package/dist/components/{p-76330532.entry.js → p-5ba1c4b4.entry.js} +1 -1
- package/dist/components/{p-e2bc6329.entry.js → p-5e6f5588.entry.js} +1 -1
- package/dist/components/p-6197c589.entry.js +1 -0
- package/dist/components/{p-24683124.entry.js → p-632bd36e.entry.js} +1 -1
- package/dist/components/p-65948a6e.entry.js +1 -0
- package/dist/components/{p-e9a6f693.entry.js → p-67c3bedc.entry.js} +1 -1
- package/dist/components/{p-0798d50d.entry.js → p-721431b8.entry.js} +1 -1
- package/dist/components/p-7737d5c7.entry.js +1 -0
- package/dist/components/p-78e85217.entry.js +1 -0
- package/dist/components/p-7a62ae0d.entry.js +1 -0
- package/dist/components/p-7aa97ad6.entry.js +1 -0
- package/dist/components/{p-2d6ca1c5.entry.js → p-7f820989.entry.js} +1 -1
- package/dist/components/{p-b471922f.entry.js → p-801f67a1.entry.js} +1 -1
- package/dist/components/{p-b522fa70.entry.js → p-80ced58a.entry.js} +1 -1
- package/dist/components/p-87481169.entry.js +1 -0
- package/dist/components/p-87df6442.entry.js +1 -0
- package/dist/components/p-8bd954b5.entry.js +1 -0
- package/dist/components/{p-bce8a58d.entry.js → p-8c520685.entry.js} +1 -1
- package/dist/components/p-941dc156.entry.js +1 -0
- package/dist/components/p-9afd31cb.entry.js +1 -0
- package/dist/components/p-9cd1cc1e.entry.js +1 -0
- package/dist/components/{p-4beb1e06.entry.js → p-9d57b51f.entry.js} +1 -1
- package/dist/components/{p-df18ffd1.entry.js → p-a61dbad5.entry.js} +1 -1
- package/dist/components/p-a7323642.entry.js +1 -0
- package/dist/components/p-a83c336c.entry.js +1 -0
- package/dist/components/p-ab4acc26.entry.js +1 -0
- package/dist/components/p-ac501eb6.entry.js +1 -0
- package/dist/components/p-ad036475.entry.js +1 -0
- package/dist/components/p-ad295d47.entry.js +1 -0
- package/dist/components/p-ad6e7daf.entry.js +1 -0
- package/dist/components/{p-f2b12631.entry.js → p-ae471b33.entry.js} +1 -1
- package/dist/components/p-b64f8ffc.entry.js +1 -0
- package/dist/components/p-bb800eec.entry.js +1 -0
- package/dist/components/p-bfb00131.entry.js +1 -0
- package/dist/components/p-c07e3269.entry.js +1 -0
- package/dist/components/p-c286e9d3.entry.js +1 -0
- package/dist/components/p-c38c527e.entry.js +1 -0
- package/dist/components/p-c404226a.entry.js +1 -0
- package/dist/components/p-c9d60f21.entry.js +1 -0
- package/dist/components/p-d29676a0.entry.js +1 -0
- package/dist/components/p-df5fc158.entry.js +1 -0
- package/dist/components/p-e311fe9e.entry.js +1 -0
- package/dist/components/p-e4f0f24a.entry.js +1 -0
- package/dist/components/{p-963feadd.entry.js → p-eda55db0.entry.js} +1 -1
- package/dist/components/p-ee93afac.entry.js +1 -0
- package/dist/components/{p-838d6773.entry.js → p-f0993844.entry.js} +1 -1
- package/dist/components/p-f1c8f841.entry.js +1 -0
- package/dist/components/{p-7ada2015.entry.js → p-f24bfc6a.entry.js} +1 -1
- package/dist/components/p-f3754a20.entry.js +1 -0
- package/dist/components/{p-b8b4c01e.entry.js → p-f4c954ec.entry.js} +1 -1
- package/dist/components/p-f6baca73.entry.js +9 -0
- package/dist/components/p-f7b88ef5.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +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-44d33938.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-54e29971.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-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,7 +3,7 @@ import { p as parseData } from './sharedUtils.js';
|
|
|
3
3
|
import { d as defineCustomElement$2 } from './eds-button2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
5
5
|
|
|
6
|
-
const edsStepsCss = ".steps{position:sticky;margin-left:16px;
|
|
6
|
+
const edsStepsCss = "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;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,.steps h5{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,.steps h5::before{content:counter(step);position:absolute;left:-39px;top:-2px;display:flex;align-items:center;justify-content:center;width:31px;height:31px;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-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.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-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-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.text-center{text-align:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.justify-between{justify-content:space-between}.mt-16{margin-top:1rem}.mt-32{margin-top:2rem}.mt-64{margin-top:4rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.mb-16{margin-bottom:1rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.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}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.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))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.items-center{align-items:center}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title[role=\"button\"]{cursor:pointer}.eds-steps__title.is-disabled{cursor:not-allowed;color:rgba(0, 0, 0, 0.5);}.eds-steps__title.is-disabled::before{opacity:1;filter:none}.steps--horizontal{display:flex;flex-direction:column;gap:2rem}.horizontal-indicators{display:flex;justify-content:space-between;gap:1rem;padding:1rem 0}.horizontal-step{display:flex;flex-direction:column;align-items:center;gap:0.5rem;cursor:pointer;flex:1;position:relative}.horizontal-step:not(:last-child)::after{content:'';position:absolute;top:1.25rem;left:50%;width:100%;height:2px;background-color:#e0e0e0;z-index:-1}.horizontal-step.is-completed:not(:last-child)::after{background-color:var(--green-500);}.step-indicator{width:2.5rem;height:2.5rem;border-radius:50%;border:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center;background-color:white;transition:all 0.3s ease}.horizontal-step.is-active .step-indicator{border-color:var(--green-500);background-color:var(--green-500);color:var(--white)}.horizontal-step.is-completed .step-indicator{border-color:var(--green-500);background-color:var(--white)}.horizontal-step.is-disabled{opacity:0.5;cursor:not-allowed}.step-number{font-weight:600;font-size:0.875rem}.step-label{font-size:0.875rem;text-align:center;font-weight:500}.horizontal-step.is-active .step-label{color:var(--green-500)}.step-content{padding:2rem 0;margin-left:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem);margin-right:calc((100% / var(--step-count, 1)) * 0.45 - 1.25rem)}.opacity-50{opacity:0.5}.eds-steps__title[role=\"button\"]{cursor:pointer}";
|
|
7
7
|
const EdsStepsStyle0 = edsStepsCss;
|
|
8
8
|
|
|
9
9
|
const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLElement {
|
|
@@ -16,47 +16,63 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
|
|
|
16
16
|
this.next = createEvent(this, "next", 7);
|
|
17
17
|
this.back = createEvent(this, "back", 7);
|
|
18
18
|
this.handleTitleClick = (index) => {
|
|
19
|
-
//
|
|
20
|
-
if (
|
|
21
|
-
|
|
19
|
+
// In linear mode, do NOT collapse; only navigate if allowed.
|
|
20
|
+
if (this.type === 'linear') {
|
|
21
|
+
// prevent jumping forward over disabled steps
|
|
22
|
+
if (index > this.activeStep) {
|
|
23
|
+
for (let i = this.activeStep; i < index; i++) {
|
|
24
|
+
if (this.isStepDisabled(i)) {
|
|
25
|
+
return;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
this.activeStep = index;
|
|
22
30
|
this.step.emit(this.activeStep);
|
|
23
31
|
return;
|
|
24
32
|
}
|
|
25
|
-
//
|
|
26
|
-
|
|
27
|
-
|
|
33
|
+
// Non-linear vertical mode: support optional collapse/expand on current title
|
|
34
|
+
if (this.orientation === 'vertical' && index === this.activeStep && this.collapsibleTitles) {
|
|
35
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
36
|
+
this.step.emit(this.activeStep);
|
|
28
37
|
return;
|
|
29
|
-
}
|
|
30
|
-
//
|
|
38
|
+
}
|
|
39
|
+
// Otherwise, just set
|
|
31
40
|
this.activeStep = index;
|
|
32
41
|
this.step.emit(this.activeStep);
|
|
33
42
|
};
|
|
34
43
|
this.handleNext = () => {
|
|
35
44
|
const lastIndex = this.parsedSteps.length - 1;
|
|
45
|
+
// On last step
|
|
36
46
|
if (this.activeStep >= lastIndex) {
|
|
37
|
-
this.activeStep = -1;
|
|
38
47
|
this.finished.emit();
|
|
48
|
+
this.activeStep = -1; // collapse the content
|
|
49
|
+
this.step.emit(this.activeStep); // notify change (-1 sentinel)
|
|
39
50
|
return;
|
|
40
51
|
}
|
|
41
52
|
const target = this.activeStep + 1;
|
|
42
53
|
this.next.emit(target);
|
|
43
|
-
if (this.
|
|
54
|
+
if (this.isStepDisabled(this.activeStep)) {
|
|
44
55
|
return;
|
|
45
|
-
}
|
|
56
|
+
}
|
|
46
57
|
this.activeStep = target;
|
|
47
58
|
this.step.emit(this.activeStep);
|
|
48
|
-
// 2) if using the boolean form, clear it when moving away from a step
|
|
49
59
|
if (!Array.isArray(this.disableNext)) {
|
|
50
60
|
this.disableNext = false;
|
|
51
61
|
}
|
|
52
62
|
};
|
|
53
63
|
this.handleBack = () => {
|
|
64
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
65
|
+
// If somehow collapsed, recover to last visible step first
|
|
66
|
+
if (this.activeStep < 0) {
|
|
67
|
+
this.activeStep = lastIndex;
|
|
68
|
+
this.step.emit(this.activeStep);
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
54
71
|
if (this.activeStep > 0) {
|
|
55
72
|
const target = this.activeStep - 1;
|
|
56
73
|
this.back.emit(target);
|
|
57
74
|
this.activeStep = target;
|
|
58
75
|
this.step.emit(this.activeStep);
|
|
59
|
-
// also clear boolean form on back
|
|
60
76
|
if (!Array.isArray(this.disableNext)) {
|
|
61
77
|
this.disableNext = false;
|
|
62
78
|
}
|
|
@@ -64,52 +80,91 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
|
|
|
64
80
|
};
|
|
65
81
|
this.steps = [];
|
|
66
82
|
this.type = 'static';
|
|
83
|
+
this.orientation = 'vertical';
|
|
67
84
|
this.nextLabel = 'Next';
|
|
68
85
|
this.backLabel = 'Back';
|
|
69
86
|
this.finishLabel = 'Finish';
|
|
70
87
|
this.disableNext = false;
|
|
71
88
|
this.headingLevel = 'h4';
|
|
89
|
+
this.collapsibleTitles = false;
|
|
72
90
|
this.activeStep = 0;
|
|
73
91
|
}
|
|
92
|
+
handleDisableNextChange(newValue) {
|
|
93
|
+
if (typeof newValue === 'string' && newValue.trim().startsWith('[')) {
|
|
94
|
+
try {
|
|
95
|
+
this.disableNext = JSON.parse(newValue);
|
|
96
|
+
}
|
|
97
|
+
catch (e) {
|
|
98
|
+
console.error('Failed to parse disable-next array:', e);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
componentWillLoad() {
|
|
103
|
+
this.handleDisableNextChange(this.disableNext);
|
|
104
|
+
}
|
|
74
105
|
componentDidLoad() {
|
|
75
|
-
var _a;
|
|
76
106
|
if (this.type === 'linear') {
|
|
77
|
-
const
|
|
107
|
+
const root = this.el.shadowRoot || this.el;
|
|
108
|
+
const btns = root.querySelectorAll('eds-button');
|
|
78
109
|
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
|
|
79
110
|
}
|
|
80
111
|
}
|
|
81
112
|
activeStepChanged(newValue) {
|
|
113
|
+
// Clamp to valid range or collapsed sentinel
|
|
114
|
+
const max = Math.max(0, this.parsedSteps.length - 1);
|
|
115
|
+
if (newValue > max) {
|
|
116
|
+
this.activeStep = max;
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
if (newValue < -1) {
|
|
120
|
+
this.activeStep = -1;
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
// If collapsed (only possible in non-linear mode), do not emit context
|
|
124
|
+
if (newValue < 0) {
|
|
125
|
+
return;
|
|
126
|
+
}
|
|
82
127
|
setTimeout(() => {
|
|
83
|
-
|
|
84
|
-
const
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
}
|
|
128
|
+
const root = this.el.shadowRoot || this.el;
|
|
129
|
+
const all = root.querySelectorAll('.step');
|
|
130
|
+
const active = all && newValue < all.length ? all[newValue] : undefined;
|
|
131
|
+
active === null || active === void 0 ? void 0 : active.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
|
|
88
132
|
}, 50);
|
|
89
133
|
}
|
|
90
134
|
emitContext(linkElement) {
|
|
91
135
|
const event = new CustomEvent('parentContext', {
|
|
92
|
-
detail: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
136
|
+
detail: { componentName: this.el.tagName.toLowerCase(), identifier: this.activeStep },
|
|
137
|
+
bubbles: true,
|
|
138
|
+
composed: true
|
|
96
139
|
});
|
|
97
140
|
linkElement.dispatchEvent(event);
|
|
98
141
|
}
|
|
99
142
|
get parsedSteps() {
|
|
100
143
|
return parseData(this.steps);
|
|
101
144
|
}
|
|
145
|
+
isStepDisabled(index) {
|
|
146
|
+
if (Array.isArray(this.disableNext)) {
|
|
147
|
+
return index < this.disableNext.length ? !!this.disableNext[index] : false;
|
|
148
|
+
}
|
|
149
|
+
return index === this.activeStep && !!this.disableNext;
|
|
150
|
+
}
|
|
102
151
|
isNextDisabledFor(index) {
|
|
103
|
-
return
|
|
104
|
-
? !!this.disableNext[index] // per-step
|
|
105
|
-
: index === this.activeStep && !!this.disableNext; // only active step
|
|
152
|
+
return this.isStepDisabled(index);
|
|
106
153
|
}
|
|
107
154
|
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
108
155
|
renderHeading(title, index) {
|
|
109
156
|
const Tag = this.headingLevel;
|
|
110
157
|
const isOpen = this.activeStep === index;
|
|
111
158
|
if (this.type === 'linear') {
|
|
112
|
-
|
|
159
|
+
let forwardBlocked = false;
|
|
160
|
+
if (index > this.activeStep) {
|
|
161
|
+
for (let i = this.activeStep; i < index; i++) {
|
|
162
|
+
if (this.isStepDisabled(i)) {
|
|
163
|
+
forwardBlocked = true;
|
|
164
|
+
break;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
113
168
|
const onKey = (e) => {
|
|
114
169
|
if (forwardBlocked) {
|
|
115
170
|
return;
|
|
@@ -121,34 +176,75 @@ const EdsSteps = /*@__PURE__*/ proxyCustomElement(class EdsSteps extends HTMLEle
|
|
|
121
176
|
};
|
|
122
177
|
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));
|
|
123
178
|
}
|
|
124
|
-
return h(Tag,
|
|
179
|
+
return (h(Tag, { class: `eds-steps__title ${this.collapsibleTitles && index !== this.activeStep ? '' : ''}`, onClick: () => this.handleTitleClick(index) }, title));
|
|
180
|
+
}
|
|
181
|
+
/** Render horizontal step indicator */
|
|
182
|
+
renderHorizontalIndicator(step, index) {
|
|
183
|
+
const isActive = this.activeStep === index;
|
|
184
|
+
const isCompleted = this.activeStep > index;
|
|
185
|
+
let forwardBlocked = false;
|
|
186
|
+
if (index > this.activeStep) {
|
|
187
|
+
for (let i = this.activeStep; i < index; i++) {
|
|
188
|
+
if (this.isStepDisabled(i)) {
|
|
189
|
+
forwardBlocked = true;
|
|
190
|
+
break;
|
|
191
|
+
}
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
const onKey = (e) => {
|
|
195
|
+
if (forwardBlocked) {
|
|
196
|
+
return;
|
|
197
|
+
}
|
|
198
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
199
|
+
e.preventDefault();
|
|
200
|
+
this.handleTitleClick(index);
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
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)));
|
|
125
204
|
}
|
|
126
205
|
render() {
|
|
127
206
|
const steps = this.parsedSteps;
|
|
207
|
+
// Horizontal Linear
|
|
208
|
+
if (this.type === 'linear' && this.orientation === 'horizontal') {
|
|
209
|
+
return (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) => {
|
|
210
|
+
const isLast = index === steps.length - 1;
|
|
211
|
+
if (this.activeStep !== index) {
|
|
212
|
+
return null;
|
|
213
|
+
}
|
|
214
|
+
const marginClass = this.orientation === 'horizontal' ? 'mt-64' : 'mt-32';
|
|
215
|
+
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}` })));
|
|
216
|
+
})));
|
|
217
|
+
}
|
|
218
|
+
// Vertical Linear
|
|
128
219
|
if (this.type === 'linear') {
|
|
129
220
|
return (h("div", { class: "steps" }, steps.map((step, index) => {
|
|
130
221
|
const isLast = index === steps.length - 1;
|
|
131
|
-
|
|
222
|
+
const marginClass = this.orientation === 'horizontal' ? 'mt-64' : 'mt-32';
|
|
223
|
+
return (h("div", { class: "step mb-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: 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}` })))));
|
|
132
224
|
})));
|
|
133
225
|
}
|
|
134
|
-
// Static
|
|
135
|
-
return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-
|
|
226
|
+
// Static
|
|
227
|
+
return (h("div", { class: "steps" }, steps.map((step, index) => (h("div", { class: "step mb-16", key: index }, this.renderHeading(step.title, index), h("div", { class: "content", id: `eds-step-panel-${index}` }, h("slot", { name: `step-${index}` }, h("div", { class: "f-body-02 text-lighter my-16", innerHTML: step.content }))))))));
|
|
136
228
|
}
|
|
137
229
|
get el() { return this; }
|
|
138
230
|
static get watchers() { return {
|
|
231
|
+
"disableNext": ["handleDisableNextChange"],
|
|
139
232
|
"activeStep": ["activeStepChanged"]
|
|
140
233
|
}; }
|
|
141
234
|
static get style() { return EdsStepsStyle0; }
|
|
142
235
|
}, [1, "eds-steps", {
|
|
143
236
|
"steps": [1],
|
|
144
237
|
"type": [1],
|
|
238
|
+
"orientation": [1],
|
|
145
239
|
"nextLabel": [1, "next-label"],
|
|
146
240
|
"backLabel": [1, "back-label"],
|
|
147
241
|
"finishLabel": [1, "finish-label"],
|
|
148
|
-
"disableNext": [
|
|
242
|
+
"disableNext": [1032, "disable-next"],
|
|
149
243
|
"headingLevel": [513, "heading-level"],
|
|
244
|
+
"collapsibleTitles": [4, "collapsible-titles"],
|
|
150
245
|
"activeStep": [32]
|
|
151
246
|
}, undefined, {
|
|
247
|
+
"disableNext": ["handleDisableNextChange"],
|
|
152
248
|
"activeStep": ["activeStepChanged"]
|
|
153
249
|
}]);
|
|
154
250
|
function defineCustomElement() {
|
|
@@ -53,11 +53,11 @@ const EdsSwitch$1 = /*@__PURE__*/ proxyCustomElement(class EdsSwitch extends HTM
|
|
|
53
53
|
: this.labelOff
|
|
54
54
|
: 'Toggle switch'
|
|
55
55
|
: undefined;
|
|
56
|
-
return (h("div", { key: '
|
|
56
|
+
return (h("div", { key: 'a339677097f16cd2dfe180f0a7de26d4963a9f17', class: "switch-container" }, this.labelOff && (h("span", { key: '7db8e71c0f1668fb66f2b1ff049706b80b4683b3', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), h("button", { key: 'ce2a8400bc42612bcb22b47ce46762348a7a7b80', 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: {
|
|
57
57
|
switch: true,
|
|
58
58
|
'switch--checked': this.checked,
|
|
59
59
|
'switch--disabled': this.disabled
|
|
60
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: '
|
|
60
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, h("span", { key: 'c7bbace6e78fe2358ee4b91febec51a280305df0', class: "switch-handle" })), this.labelOn && (h("span", { key: 'b4fa05fc1296a6d906abb4a7fa609d721d01248f', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
61
61
|
}
|
|
62
62
|
get el() { return this; }
|
|
63
63
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -14,7 +14,7 @@ import { d as defineCustomElement$3 } from './eds-link2.js';
|
|
|
14
14
|
import { d as defineCustomElement$2 } from './eds-pagination2.js';
|
|
15
15
|
import { d as defineCustomElement$1 } from './eds-tooltip2.js';
|
|
16
16
|
|
|
17
|
-
const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
|
|
17
|
+
const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}tr.table-row-default{background-color:transparent}tr.table-row-color:nth-child(even){background-color:var(--grey-100)}tr.table-row-color:nth-child(odd){background-color:transparent}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.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)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
|
|
18
18
|
const EdsTableStyle0 = edsTableCss;
|
|
19
19
|
|
|
20
20
|
const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLElement {
|
|
@@ -52,6 +52,24 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
52
52
|
}
|
|
53
53
|
(_a = actionButtons[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
54
54
|
};
|
|
55
|
+
this.handleSort = (column) => {
|
|
56
|
+
if (this.sortColumn === column) {
|
|
57
|
+
// Toggle direction if same column
|
|
58
|
+
this.sortDirection = this.sortDirection === 'asc' ? 'desc' : 'asc';
|
|
59
|
+
}
|
|
60
|
+
else {
|
|
61
|
+
// New column, default to ascending
|
|
62
|
+
this.sortColumn = column;
|
|
63
|
+
this.sortDirection = 'asc';
|
|
64
|
+
}
|
|
65
|
+
sendAnalytics({
|
|
66
|
+
category: 'ui-component',
|
|
67
|
+
parentContext: null,
|
|
68
|
+
tag: `${this.hostEl.tagName.toLowerCase()}/sort`,
|
|
69
|
+
name: column,
|
|
70
|
+
action: this.sortDirection
|
|
71
|
+
});
|
|
72
|
+
};
|
|
55
73
|
this.data = null;
|
|
56
74
|
this.config = {};
|
|
57
75
|
this.rowsPerPage = 10;
|
|
@@ -61,6 +79,8 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
61
79
|
this.columnSize = 'default';
|
|
62
80
|
this.actions = [];
|
|
63
81
|
this.actionTemplate = undefined;
|
|
82
|
+
this.sortingEnabled = false;
|
|
83
|
+
this.theme = 'color';
|
|
64
84
|
this.parsedActions = [];
|
|
65
85
|
this.dataColumns = [];
|
|
66
86
|
this.tbData = [];
|
|
@@ -70,6 +90,8 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
70
90
|
this.totalRows = 0;
|
|
71
91
|
this.searchQuery = '';
|
|
72
92
|
this.containerWidth = 0;
|
|
93
|
+
this.sortColumn = null;
|
|
94
|
+
this.sortDirection = 'asc';
|
|
73
95
|
}
|
|
74
96
|
handleDataChange() {
|
|
75
97
|
this.parseData();
|
|
@@ -152,10 +174,10 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
152
174
|
return this.tbData.filter((row) => Object.values(row).some((value) => value.toString().toLowerCase().includes(this.searchQuery.toLowerCase())));
|
|
153
175
|
}
|
|
154
176
|
getPaginatedRows() {
|
|
155
|
-
const
|
|
156
|
-
this.totalRows =
|
|
177
|
+
const sortedRows = this.getSortedRows();
|
|
178
|
+
this.totalRows = sortedRows.length;
|
|
157
179
|
const start = (this.currentPage - 1) * this.rowsPerPage;
|
|
158
|
-
return
|
|
180
|
+
return sortedRows.slice(start, start + this.rowsPerPage);
|
|
159
181
|
}
|
|
160
182
|
handlePageChange(newPage) {
|
|
161
183
|
this.currentPage = newPage;
|
|
@@ -235,22 +257,52 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
235
257
|
capitalize(str) {
|
|
236
258
|
return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
|
|
237
259
|
}
|
|
260
|
+
getSortedRows() {
|
|
261
|
+
const filtered = this.getFilteredRows();
|
|
262
|
+
if (!this.sortColumn) {
|
|
263
|
+
return filtered;
|
|
264
|
+
}
|
|
265
|
+
return [...filtered].sort((a, b) => {
|
|
266
|
+
const aVal = a[this.sortColumn];
|
|
267
|
+
const bVal = b[this.sortColumn];
|
|
268
|
+
// Handle null/undefined
|
|
269
|
+
if (aVal == null) {
|
|
270
|
+
return 1;
|
|
271
|
+
}
|
|
272
|
+
if (bVal == null) {
|
|
273
|
+
return -1;
|
|
274
|
+
}
|
|
275
|
+
// Compare values
|
|
276
|
+
let comparison = 0;
|
|
277
|
+
if (typeof aVal === 'number' && typeof bVal === 'number') {
|
|
278
|
+
comparison = aVal - bVal;
|
|
279
|
+
}
|
|
280
|
+
else {
|
|
281
|
+
comparison = String(aVal).localeCompare(String(bVal));
|
|
282
|
+
}
|
|
283
|
+
return this.sortDirection === 'asc' ? comparison : -comparison;
|
|
284
|
+
});
|
|
285
|
+
}
|
|
238
286
|
render() {
|
|
239
287
|
const currentContainerWidth = this.hostWidth && this.hostWidth.trim() !== '' ? Number(this.hostWidth) : this.containerWidth || 400;
|
|
240
288
|
const visibleColumnsCount = this.getVisibleColumnsCount();
|
|
241
289
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
242
290
|
const paginatedRows = this.getPaginatedRows();
|
|
243
291
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
244
|
-
return (h("div", { key: '
|
|
292
|
+
return (h("div", { key: '0601cea60a05d044a717219e6ff6385ef915defa' }, this.searchEnabled && (h("div", { key: 'de1affaf192dc5e63b16d534d2f518c206ab7010' }, h("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), h("div", { key: '49f71b5a2481d719cb8fe0547f05a5ae83ad5541', class: "mt-20" }, h("table", { key: 'b63ca6615ed681c741fb2d3ff2675f9cc061d194', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: '817b534cca3c2492b69b3816a41b54ec850847ab' }, h("tr", { key: '6cb8735ac56c3fe2acc4a257815bc0d07009118c', class: `m-0 p-0 border border-softer table-row-${this.theme}` }, this.columns.map((col) => {
|
|
245
293
|
var _a;
|
|
246
294
|
if (col === 'actions') {
|
|
247
295
|
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
248
296
|
}
|
|
249
297
|
if (!((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden)) {
|
|
250
|
-
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col))
|
|
298
|
+
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { style: { display: 'flex', alignItems: 'center', justifyContent: 'center', gap: '0.25rem' } }, h("span", null, this.capitalize(col)), this.sortingEnabled && (h("eds-icon-wrapper", { icon: this.sortColumn === col
|
|
299
|
+
? this.sortDirection === 'asc'
|
|
300
|
+
? 'chevron-up'
|
|
301
|
+
: 'chevron-down'
|
|
302
|
+
: 'chevron-down', "aria-label": `Sort by ${col}`, onClick: () => this.handleSort(col), style: { cursor: 'pointer' } })))));
|
|
251
303
|
}
|
|
252
304
|
return null;
|
|
253
|
-
}))), h("tbody", { key: '
|
|
305
|
+
}))), h("tbody", { key: '3c8630ed1f47720688bfcdb78c5dbfc84cb238cf' }, paginatedRows.map((row) => (h("tr", { class: `m-0 p-0 border border-softer table-row-${this.theme}` }, this.columns.map((col) => {
|
|
254
306
|
var _a;
|
|
255
307
|
if (col === 'actions') {
|
|
256
308
|
return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
@@ -265,7 +317,7 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
265
317
|
return (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
|
|
266
318
|
}
|
|
267
319
|
return null;
|
|
268
|
-
}))))))), this.shouldEnablePagination() && (h("div", { key: '
|
|
320
|
+
}))))))), this.shouldEnablePagination() && (h("div", { key: '09faef418edc676bb2b60c2439e0652a92fe023d', class: "mt-20" }, h("eds-pagination", { key: '9403d33a37505c73fe3bec652ef93f533bdb4f03', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
269
321
|
}
|
|
270
322
|
get hostEl() { return this; }
|
|
271
323
|
static get watchers() { return {
|
|
@@ -284,6 +336,8 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
284
336
|
"columnSize": [1, "column-size"],
|
|
285
337
|
"actions": [1],
|
|
286
338
|
"actionTemplate": [16],
|
|
339
|
+
"sortingEnabled": [4, "sorting-enabled"],
|
|
340
|
+
"theme": [1],
|
|
287
341
|
"parsedActions": [32],
|
|
288
342
|
"dataColumns": [32],
|
|
289
343
|
"tbData": [32],
|
|
@@ -292,7 +346,9 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
292
346
|
"parsedConfig": [32],
|
|
293
347
|
"totalRows": [32],
|
|
294
348
|
"searchQuery": [32],
|
|
295
|
-
"containerWidth": [32]
|
|
349
|
+
"containerWidth": [32],
|
|
350
|
+
"sortColumn": [32],
|
|
351
|
+
"sortDirection": [32]
|
|
296
352
|
}, undefined, {
|
|
297
353
|
"data": ["handleDataChange", "parseData"],
|
|
298
354
|
"config": ["handleConfigChange"],
|
|
@@ -169,12 +169,12 @@ const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLEle
|
|
|
169
169
|
}
|
|
170
170
|
}
|
|
171
171
|
render() {
|
|
172
|
-
return (h("div", { key: '
|
|
172
|
+
return (h("div", { key: '36b4771f5dc68c2b2686ece5957b4a54f70d8c38', id: `${this.identifier}` }, h("div", { key: '0b9cac117898a5c8d179c69aaa971c63fed5b12c', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, h("nav", { key: '6bb2ca84bd9b12e67bb2e6055cb435c66061f547', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
173
173
|
const TabComponent = 'button';
|
|
174
174
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
175
175
|
const isActive = index === this.activeIndex;
|
|
176
176
|
return (h(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
|
|
177
|
-
}))), h("div", { key: '
|
|
177
|
+
}))), h("div", { key: '7b17d99c5dda91842171c941228b0a0f82d595d4', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, h("slot", { name: `panel-${index}` })))))));
|
|
178
178
|
}
|
|
179
179
|
get el() { return this; }
|
|
180
180
|
static get watchers() { return {
|
|
@@ -39,7 +39,7 @@ const EdsTag = /*@__PURE__*/ proxyCustomElement(class EdsTag extends HTMLElement
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
42
|
-
return h("span", { key: '
|
|
42
|
+
return h("span", { key: '0b37fdd21a8828a00daba55a7157e164e7057a88', class: classes }, this.label);
|
|
43
43
|
}
|
|
44
44
|
static get style() { return EdsTagStyle0; }
|
|
45
45
|
}, [1, "eds-tag", {
|
|
@@ -51,7 +51,7 @@ const EdsTimeline$1 = /*@__PURE__*/ proxyCustomElement(class EdsTimeline extends
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: 'cc0184654ced150ab0500a77d89f831530ddc52c', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '693b53e776bdf110d7f21e68b9e3f8fb6f5eab4b', class: "relative" }, h("div", { key: '030ef1b15f76a75292b2998cb7083da0e5f16bd4', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: '0811245c700b23e10a3d2b83504673aee12a8bc4', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
55
55
|
? [{ label: 'completed', style: 'accent' }]
|
|
56
56
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), h("div", { class: "flex items-center justify-center relative" }, event.completed ? (h("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (h("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), h("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
57
57
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -67,7 +67,7 @@ const EdsToastManager$1 = /*@__PURE__*/ proxyCustomElement(class EdsToastManager
|
|
|
67
67
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h("div", { key: '
|
|
70
|
+
return (h("div", { key: 'ac2e0d12975d88e9a22db8b92255a597e7f6ea6f', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
71
71
|
}
|
|
72
72
|
get hostElement() { return this; }
|
|
73
73
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -23,7 +23,7 @@ const EdsTooltip = /*@__PURE__*/ proxyCustomElement(class EdsTooltip extends HTM
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '1ba27ac30f67a50e39b2bfdff2b4392b4adc948a', class: "relative w-full inline-block group" }, h("slot", { key: 'c84887cde7b92c3684ef61e36039d2e8c96f71f2' }), h("div", { key: 'c7e475e74d977b6ab291ba8a315cdb237742a8e6', class: `absolute ${positionClass}
|
|
27
27
|
rounded-xs bg-strongest text-inverse
|
|
28
28
|
f-ui-03-light pointer-events-none
|
|
29
29
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -55,7 +55,7 @@ const EdsTrl$1 = /*@__PURE__*/ proxyCustomElement(class EdsTrl extends HTMLEleme
|
|
|
55
55
|
Application: { format: 'code' },
|
|
56
56
|
'Current TRL Stage': { format: 'text' }
|
|
57
57
|
};
|
|
58
|
-
return (h("div", { key: '
|
|
58
|
+
return (h("div", { key: '082770e1b722223f6adb457db7f98950df4aa8df', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: 'b79b7cb53e045cb9b3a640ded6a4d841579112b8', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
59
59
|
}
|
|
60
60
|
}, [0, "eds-trl", {
|
|
61
61
|
"applications": [1]
|
|
@@ -52,7 +52,7 @@ const EdsUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsUser extends HTMLEle
|
|
|
52
52
|
render() {
|
|
53
53
|
const user = this.parsedUser;
|
|
54
54
|
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: '1c4017bd33c81ad29385e164dc8611cfac58eca0', class: "block" }, h("div", { key: 'b692ce5a4b6b424c7e109589bdff5617d4e3b33c', class: "flex items-center" }, h("eds-dropdown", { key: '0df9e3b3c5212433ec88da84edd746a1dce8c763', ref: (el) => (this.dropdownEl = el), label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, h("div", { key: 'ef25176f1fc1796dde0b1d56264617d067d06adb', class: "min-w-[280px] p-8" }, h("div", { key: '539532b05094ad47281f7d03c7900b93162e175a', class: "flex gap-x-16", "data-dropdown-no-close": true }, h("eds-avatar", { key: 'ff51082744e2d32e5bc57069ccc99a3214ac3c03', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), h("div", { key: '1850d3ad72889a446fb8f5f29cf96d7434bc8c81', class: "max-w-full" }, user.name && h("p", { key: '29a458e82be47f3b4ce801e289253158b6f7372b', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: 'fbb49fa957c32bd90b15dd71691b975c920049bb', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: 'e634ceb7b74062a19f466abb1f50266370a82747', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: '3a8a04862973d0e28d7c62d84a6928953fd08df3', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: '50627b6ed0b735079d60b66092181334cd1a954a' })))))));
|
|
56
56
|
}
|
|
57
57
|
get hostEl() { return this; }
|
|
58
58
|
static get style() { return EdsUserStyle0; }
|
|
@@ -44,7 +44,7 @@ const IncorrectUseOfColors$1 = /*@__PURE__*/ proxyCustomElement(class IncorrectU
|
|
|
44
44
|
this.__registerHost();
|
|
45
45
|
}
|
|
46
46
|
render() {
|
|
47
|
-
return (h("div", { key: '
|
|
47
|
+
return (h("div", { key: 'dc96e5e7e26b90d55edf211a12cca96331fd50ee', class: "container" }, h("div", { key: '7168395a53d0d1ccb01ea8850dc78b9bafbc80db', class: "mb-8" }, h("eds-alert", { key: '66969d5478be8b0e07dc96e62aac4273fe23927c', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: '1b31ee746e23288fc37c17e71bc9c5a4d9333a0a', class: "flex" }, h("div", { key: 'f04c1b2349c82720f7e3d9a29c2aaf0ff9d73af0', class: "w-full" }, h("ul", { key: '2ba63701fdde544e5c510e03676d1b1c74061931', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '7642247ada8ff3201e3a1273a20cb37860a1581d', class: "w-full" }, h("ul", { key: 'ef03781a8ed2067adc0b8cb65ba9268ba0920f04', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
48
48
|
}
|
|
49
49
|
}, [0, "incorrect-use-of-colors"]);
|
|
50
50
|
function defineCustomElement$1() {
|
|
@@ -24,7 +24,7 @@ const LogoSpace$1 = /*@__PURE__*/ proxyCustomElement(class LogoSpace extends HTM
|
|
|
24
24
|
this.__attachShadow();
|
|
25
25
|
}
|
|
26
26
|
render() {
|
|
27
|
-
return (h("div", { key: '
|
|
27
|
+
return (h("div", { key: '60dcb01fe1791ae536755d50234c38fe1b8355f2', class: "container" }, h("ul", { key: 'f8392d3dd6620cfe57b39a03c4f427eb201faa2a', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'f89baf7dfe7257402a93c06faf09d6602a169de3', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '94ba054bcc5ada258cb95530dcc380184820cc59', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), h("li", { key: '226d955d9d0a049d2a99b83a3d1223369c3a75a3', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'ebd3897ab3207f1ddebbf4d9cdbbe6a2069c9952', class: "text-center mt-16" }, h("p", { key: '4e56dc98d24514717e4711204d9bad0c59ca816c', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: 'e04e02f59c35d52d647f18a71a37657a5d7115b3', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), h("li", { key: 'd499f9bf757d0daa9d22fdb41e56058a1d7b3749', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
28
28
|
}
|
|
29
29
|
static get style() { return LogoSpaceStyle0; }
|
|
30
30
|
}, [1, "logo-space"]);
|