@ebrains/components 2.1.0 → 2.3.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 +15 -15
- package/dist/cjs/components-section.cjs.entry.js +4 -6
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/download-9d17d025.js +20 -0
- package/dist/cjs/{eds-accordion_33.cjs.entry.js → eds-accordion_36.cjs.entry.js} +590 -110
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-generic.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
- package/dist/cjs/eds-footer.cjs.entry.js +3 -5
- package/dist/cjs/eds-frame.cjs.entry.js +2 -2
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +9 -4
- package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-clone.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-edit.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-view.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +4 -4
- package/dist/cjs/eds-pie.cjs.entry.js +1 -1
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-social-networks.cjs.entry.js +3 -5
- package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-0249a32e.js → index-50bc1aa4.js} +8 -11
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +4 -20
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -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 -1
- 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.css +8 -0
- 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 +127 -11
- 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 +36 -0
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.css +41 -22
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-nps/eds-nps.js +4 -4
- package/dist/collection/components/eds-pagination/eds-pagination.css +12 -0
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +2 -2
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +4 -0
- package/dist/collection/components/eds-table/eds-table.js +8 -6
- package/dist/collection/components/eds-tag/eds-tag.js +3 -3
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +5 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/overview.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-card-section/eds-card-section.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -6
- package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
- package/dist/collection/shared-ui/eds-form/eds-form.js +128 -7
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +32 -3
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.css +222 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +309 -0
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +277 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +138 -92
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +265 -40
- package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +47 -34
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +227 -19
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +82 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +4 -3
- package/dist/components/components-section.js +3 -5
- package/dist/components/components.css +3 -3
- 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/download.js +18 -0
- 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 -1
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +2 -2
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-section.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 +53 -7
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -4
- package/dist/components/eds-form.js +61 -11
- 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.d.ts +11 -0
- package/dist/components/eds-global-search.js +262 -0
- package/dist/components/eds-header.js +1 -1
- 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.d.ts +11 -0
- package/dist/components/eds-icon-download.js +33 -0
- 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 +1 -1
- 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 +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -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 +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +3 -3
- package/dist/components/eds-nps2.js +4 -4
- package/dist/components/eds-pagination2.js +3 -3
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +2 -2
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +2 -4
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +67 -13
- package/dist/components/eds-steps2.js +85 -35
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +36 -28
- 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-tooltip.js +1 -50
- package/dist/components/eds-tooltip2.js +52 -0
- package/dist/components/eds-trl.js +33 -27
- package/dist/components/eds-user.js +20 -2
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +31 -25
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-03714413.entry.js +1 -0
- package/dist/components/{p-67ec46b4.entry.js → p-06428b6c.entry.js} +1 -1
- package/dist/components/{p-7a3f2576.entry.js → p-067a184b.entry.js} +1 -1
- package/dist/components/p-097665cb.entry.js +1 -0
- package/dist/components/p-09f1b358.entry.js +1 -0
- package/dist/components/p-0da7d1c9.js +1 -0
- package/dist/components/p-1297d926.entry.js +1 -0
- package/dist/components/p-1928711b.entry.js +1 -0
- package/dist/components/{p-2ef4dd11.entry.js → p-1fad228f.entry.js} +1 -1
- package/dist/components/p-204f97de.entry.js +1 -0
- package/dist/components/p-20e385b8.entry.js +1 -0
- package/dist/components/{p-8627afc0.entry.js → p-219842c0.entry.js} +1 -1
- package/dist/components/p-21b5ca1f.entry.js +1 -0
- package/dist/components/{p-efbc374c.js → p-271c61ff.js} +1 -1
- package/dist/components/p-290b3d61.entry.js +1 -0
- package/dist/components/p-2db9f80a.entry.js +1 -0
- package/dist/components/p-354857a8.entry.js +1 -0
- package/dist/components/p-37a3d3ba.entry.js +1 -0
- package/dist/components/p-3a295312.entry.js +1 -0
- package/dist/components/p-3ff1f198.entry.js +1 -0
- package/dist/components/p-404b4dec.entry.js +1 -0
- package/dist/components/p-422c08a9.entry.js +1 -0
- package/dist/components/p-44cc0966.entry.js +1 -0
- package/dist/components/p-473aeaa0.entry.js +1 -0
- package/dist/components/p-4b2d40d4.entry.js +1 -0
- package/dist/components/{p-d1927da7.entry.js → p-4beb1e06.entry.js} +1 -1
- package/dist/components/p-4faa0047.entry.js +1 -0
- package/dist/components/p-552125e3.entry.js +1 -0
- package/dist/components/p-5db8003b.entry.js +1 -0
- package/dist/components/p-5ea2afdf.entry.js +1 -0
- package/dist/components/p-5f2bb217.entry.js +1 -0
- package/dist/components/p-65d1c8e9.entry.js +1 -0
- package/dist/components/p-67823a16.entry.js +1 -0
- package/dist/components/p-69db1210.entry.js +1 -0
- package/dist/components/p-701dc6d8.entry.js +1 -0
- package/dist/components/{p-e5892379.entry.js → p-71e9b1e9.entry.js} +1 -1
- package/dist/components/p-71f4afdf.entry.js +1 -0
- package/dist/components/p-73daee37.entry.js +1 -0
- package/dist/components/p-77143afc.entry.js +1 -0
- package/dist/components/p-7a137d91.entry.js +1 -0
- package/dist/components/p-7a34b267.entry.js +1 -0
- package/dist/components/{p-b31babda.entry.js → p-7ada2015.entry.js} +1 -1
- package/dist/components/p-81cce4f8.entry.js +1 -0
- package/dist/components/{p-d2e485a1.entry.js → p-83dde536.entry.js} +1 -1
- package/dist/components/p-84a04d37.entry.js +1 -0
- package/dist/components/p-8d66718e.entry.js +1 -0
- package/dist/components/p-9154e892.entry.js +1 -0
- package/dist/components/{p-5f348b0e.entry.js → p-9385c5fd.entry.js} +1 -1
- package/dist/components/p-98501e25.entry.js +1 -0
- package/dist/components/p-98d79948.entry.js +1 -0
- package/dist/components/p-9992fbdb.entry.js +1 -0
- package/dist/components/{p-b88a2267.entry.js → p-9c68934f.entry.js} +1 -1
- package/dist/components/{p-b9a1aba3.entry.js → p-a258d382.entry.js} +1 -1
- package/dist/components/p-a82fc224.entry.js +1 -0
- package/dist/components/p-ad0519b7.entry.js +1 -0
- package/dist/components/p-b15b11de.entry.js +9 -0
- package/dist/components/p-b56a3fc9.entry.js +1 -0
- package/dist/components/{p-09079c5c.entry.js → p-b9b6ac74.entry.js} +1 -1
- package/dist/components/p-b9bd1209.entry.js +1 -0
- package/dist/components/{p-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
- package/dist/components/{p-2e0c3fc4.entry.js → p-c12b0af1.entry.js} +1 -1
- package/dist/components/{p-265150a1.entry.js → p-c51b90c2.entry.js} +1 -1
- package/dist/components/{p-d95d7353.entry.js → p-c5d6c2a5.entry.js} +1 -1
- package/dist/components/p-c6f5d9df.entry.js +1 -0
- package/dist/components/p-c770c97b.entry.js +1 -0
- package/dist/components/{p-706a106c.entry.js → p-c8cba3a9.entry.js} +1 -1
- package/dist/components/{p-64b7a6fc.entry.js → p-ca91952b.entry.js} +1 -1
- package/dist/components/p-cba7d276.entry.js +1 -0
- package/dist/components/p-cffb13fa.entry.js +1 -0
- package/dist/components/p-d3cbc8f9.entry.js +1 -0
- package/dist/components/{p-743f9f8f.entry.js → p-d650c6c3.entry.js} +1 -1
- package/dist/components/p-d6a6879c.entry.js +1 -0
- package/dist/components/p-d9e02227.entry.js +1 -0
- package/dist/components/{p-79afd8aa.entry.js → p-da96c7cd.entry.js} +1 -1
- package/dist/components/{p-e210ddbb.entry.js → p-dd34feaa.entry.js} +1 -1
- package/dist/components/p-df18ffd1.entry.js +1 -0
- package/dist/components/p-e3b89fab.entry.js +1 -0
- package/dist/components/p-e696531f.entry.js +1 -0
- package/dist/components/{p-4c84fcf4.entry.js → p-e7b7179f.entry.js} +1 -1
- package/dist/components/p-e8bc4649.entry.js +1 -0
- package/dist/components/p-ef86f330.entry.js +1 -0
- package/dist/components/p-f5470900.entry.js +1 -0
- package/dist/components/p-ff433e09.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 +32 -42
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +4 -6
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/download-47746956.js +18 -0
- package/dist/esm/{eds-accordion_33.entry.js → eds-accordion_36.entry.js} +588 -111
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-card-desc_2.entry.js +3 -3
- package/dist/esm/eds-card-generic.entry.js +3 -3
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +2 -2
- package/dist/esm/eds-card-tags.entry.js +2 -2
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +2 -2
- package/dist/esm/eds-footer.entry.js +3 -5
- package/dist/esm/eds-frame.entry.js +2 -2
- package/dist/esm/eds-fullscreen-menu.entry.js +9 -4
- package/dist/esm/eds-gauge.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bin.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-bookmark.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-clone.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-download.entry.js +14 -0
- package/dist/esm/eds-icon-draft.entry.js +2 -2
- package/dist/esm/eds-icon-edit.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-external.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-minus.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-paper.entry.js +2 -2
- package/dist/esm/eds-icon-plus.entry.js +2 -2
- package/dist/esm/eds-icon-portal.entry.js +2 -2
- package/dist/esm/eds-icon-private.entry.js +2 -2
- package/dist/esm/eds-icon-public.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +2 -2
- package/dist/esm/eds-icon-start.entry.js +2 -2
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
- package/dist/esm/eds-icon-tutorial.entry.js +2 -2
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-unknown.entry.js +2 -2
- package/dist/esm/eds-icon-updown.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-view.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +4 -4
- package/dist/esm/eds-pie.entry.js +1 -1
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-social-networks.entry.js +3 -5
- package/dist/esm/eds-splash-screen.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +2 -2
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-e84b871c.js → index-870ab08f.js} +8 -11
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +3 -19
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +679 -236
- package/dist/hydrate/index.mjs +679 -236
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +1 -0
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +27 -6
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
- package/dist/types/components/eds-table/eds-table.d.ts +20 -4
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/components.d.ts +455 -55
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +18 -1
- package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
- package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
- package/dist/types/shared-ui/eds-global-search/eds-global-search.d.ts +72 -0
- package/dist/types/shared-ui/eds-global-search/eds-global-search.stories.d.ts +40 -0
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +73 -24
- package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +44 -19
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +9 -0
- package/dist/types/types/global.d.ts +11 -0
- package/package.json +1 -1
- package/dist/cjs/eds-spinner.cjs.entry.js +0 -88
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
- package/dist/components/p-05654483.entry.js +0 -1
- package/dist/components/p-10997947.entry.js +0 -1
- package/dist/components/p-19e69c03.entry.js +0 -1
- package/dist/components/p-1ab1ea29.entry.js +0 -1
- package/dist/components/p-1bcf743d.entry.js +0 -1
- package/dist/components/p-1d18106d.entry.js +0 -1
- package/dist/components/p-3360e1e2.entry.js +0 -1
- package/dist/components/p-38bc21e9.entry.js +0 -1
- package/dist/components/p-3b29e0fd.entry.js +0 -1
- package/dist/components/p-42457a0f.entry.js +0 -1
- package/dist/components/p-4a6a72db.entry.js +0 -1
- package/dist/components/p-4b33909d.entry.js +0 -1
- package/dist/components/p-4bf4bc93.entry.js +0 -1
- package/dist/components/p-5367bb59.entry.js +0 -1
- package/dist/components/p-547a53d6.entry.js +0 -1
- package/dist/components/p-560fc3a4.entry.js +0 -1
- package/dist/components/p-5a58f1c1.entry.js +0 -1
- package/dist/components/p-5b55f951.entry.js +0 -1
- package/dist/components/p-5ba49cf2.entry.js +0 -1
- package/dist/components/p-5dd85979.entry.js +0 -1
- package/dist/components/p-634b6ca2.entry.js +0 -1
- package/dist/components/p-6614881d.entry.js +0 -1
- package/dist/components/p-6b988c76.entry.js +0 -1
- package/dist/components/p-6cd6ff0c.entry.js +0 -1
- package/dist/components/p-71ee4af2.entry.js +0 -1
- package/dist/components/p-789f54cb.entry.js +0 -1
- package/dist/components/p-7a5623b5.entry.js +0 -1
- package/dist/components/p-7ca6db64.entry.js +0 -1
- package/dist/components/p-7fa46b01.entry.js +0 -1
- package/dist/components/p-86eff0cb.entry.js +0 -1
- package/dist/components/p-89048f87.entry.js +0 -1
- package/dist/components/p-8cf98230.entry.js +0 -1
- package/dist/components/p-8d363a3c.entry.js +0 -1
- package/dist/components/p-9261d27c.entry.js +0 -1
- package/dist/components/p-97323c46.entry.js +0 -1
- package/dist/components/p-9b90296c.entry.js +0 -1
- package/dist/components/p-9cb14b1f.entry.js +0 -1
- package/dist/components/p-9f0a34b4.entry.js +0 -1
- package/dist/components/p-a8ca8346.entry.js +0 -1
- package/dist/components/p-ab3b0a53.entry.js +0 -1
- package/dist/components/p-b0d38b78.entry.js +0 -1
- package/dist/components/p-b6ee4250.entry.js +0 -1
- package/dist/components/p-b9fdcb1b.entry.js +0 -1
- package/dist/components/p-ba9f41de.entry.js +0 -1
- package/dist/components/p-beacaa4f.entry.js +0 -1
- package/dist/components/p-bfa23535.entry.js +0 -1
- package/dist/components/p-c4ac0528.entry.js +0 -1
- package/dist/components/p-cb114bf4.entry.js +0 -1
- package/dist/components/p-cd05a97b.entry.js +0 -1
- package/dist/components/p-cd787744.entry.js +0 -1
- package/dist/components/p-cdc1c8e8.entry.js +0 -1
- package/dist/components/p-d1d1943b.entry.js +0 -1
- package/dist/components/p-e0ada7e0.entry.js +0 -1
- package/dist/components/p-e8374410.entry.js +0 -1
- package/dist/components/p-e90da4ba.entry.js +0 -1
- package/dist/components/p-ec706eed.entry.js +0 -1
- package/dist/components/p-f32963ff.entry.js +0 -9
- package/dist/components/p-f40dd50d.entry.js +0 -1
- package/dist/components/p-f6012c17.entry.js +0 -1
- package/dist/components/p-fcba31fa.entry.js +0 -1
- package/dist/esm/eds-spinner.entry.js +0 -84
- package/dist/esm/eds-tooltip.entry.js +0 -34
package/dist/hydrate/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
const NAMESPACE = 'components';
|
|
130
|
-
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument:
|
|
130
|
+
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
131
131
|
|
|
132
132
|
/*
|
|
133
133
|
Stencil Hydrate Platform v4.22.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1743,6 +1743,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
};
|
|
1745
1745
|
var getHostListenerTarget = (elm, flags) => {
|
|
1746
|
+
if (flags & 4 /* TargetDocument */) return doc;
|
|
1746
1747
|
if (flags & 8 /* TargetWindow */) return win;
|
|
1747
1748
|
if (flags & 16 /* TargetBody */) return doc.body;
|
|
1748
1749
|
return elm;
|
|
@@ -2334,7 +2335,7 @@ class ColorPrimaryPalette {
|
|
|
2334
2335
|
];
|
|
2335
2336
|
}
|
|
2336
2337
|
render() {
|
|
2337
|
-
return (hAsync("ul", { key: '
|
|
2338
|
+
return (hAsync("ul", { key: '1ccc8d65b69795afe88b003e6aa1d6eb0f6a8a71', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
2338
2339
|
}
|
|
2339
2340
|
static get cmpMeta() { return {
|
|
2340
2341
|
"$flags$": 0,
|
|
@@ -2406,7 +2407,7 @@ class ColorSecondaryPalette {
|
|
|
2406
2407
|
this.show = undefined;
|
|
2407
2408
|
}
|
|
2408
2409
|
render() {
|
|
2409
|
-
return (hAsync("ul", { key: '
|
|
2410
|
+
return (hAsync("ul", { key: '0c2fe4671a0754b591462dfdc91f8772eb1478c5', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
2410
2411
|
}
|
|
2411
2412
|
static get cmpMeta() { return {
|
|
2412
2413
|
"$flags$": 0,
|
|
@@ -2480,7 +2481,7 @@ class ColorSupportPalette {
|
|
|
2480
2481
|
return 'text-default';
|
|
2481
2482
|
}
|
|
2482
2483
|
render() {
|
|
2483
|
-
return (hAsync("ul", { key: '
|
|
2484
|
+
return (hAsync("ul", { key: '1bafc64afc8d77db69e1847fdf05d2f8ca2d3ee0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2484
2485
|
// compute once
|
|
2485
2486
|
const textClass = this.getTextColor(color.background);
|
|
2486
2487
|
return (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|
|
@@ -2525,7 +2526,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2525
2526
|
}
|
|
2526
2527
|
] }),
|
|
2527
2528
|
hAsync("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
2528
|
-
hAsync("eds-code-block", { code: '<eds-button
|
|
2529
|
+
hAsync("eds-code-block", { code: '<eds-button label="my bytton" intent="primary"></eds-button>', language: "html", "copy-label": "Copy Code" }),
|
|
2529
2530
|
hAsync("h2", null, "Load the variables and styles"),
|
|
2530
2531
|
hAsync("p", null,
|
|
2531
2532
|
"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the",
|
|
@@ -2543,9 +2544,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2543
2544
|
"Note that, loading either the variables or the predefined CSS framework above,",
|
|
2544
2545
|
' ',
|
|
2545
2546
|
hAsync("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
2546
|
-
".
|
|
2547
|
-
hAsync("code", null, "head")),
|
|
2548
|
-
hAsync("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })));
|
|
2547
|
+
".")));
|
|
2549
2548
|
|
|
2550
2549
|
const DocsInstallation = () => (hAsync("div", null,
|
|
2551
2550
|
hAsync("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
|
|
@@ -2633,7 +2632,7 @@ class ComponentsSection {
|
|
|
2633
2632
|
}
|
|
2634
2633
|
}
|
|
2635
2634
|
render() {
|
|
2636
|
-
return hAsync("div", { key: '
|
|
2635
|
+
return hAsync("div", { key: 'd5f1ea9d290addbfa2a4c21e815597871f6d7639', class: "container" }, this.renderContent());
|
|
2637
2636
|
}
|
|
2638
2637
|
static get cmpMeta() { return {
|
|
2639
2638
|
"$flags$": 0,
|
|
@@ -2711,7 +2710,7 @@ class CorrectUseOfColors {
|
|
|
2711
2710
|
registerInstance(this, hostRef);
|
|
2712
2711
|
}
|
|
2713
2712
|
render() {
|
|
2714
|
-
return (hAsync("div", { key: '
|
|
2713
|
+
return (hAsync("div", { key: '4cf1cf9e4076104bc15626b1812de8e44bb2c314', class: "container" }, hAsync("p", { key: '044662efdf38d73e10baf84af9a53b0d757c8a3f', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '08203f71273f93a43bb2984f5fcb6adf91500987', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '244c3681fc63df5debbac5094011b9efd557c99f', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: '1daafe1f19e2552a4ebe785f5533aabecdab8226', class: "flex" }, hAsync("div", { key: 'd3119d8a3b9053173a4ec421782d68a705d63f54', class: "w-full" }, hAsync("ul", { key: 'e59ee9a8e3aecc12cdc573b4147c93487f60a426', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'f8fd15b68a9d9f8b0a2a63ccc92ceb47d8c0ed17', class: "w-full" }, hAsync("ul", { key: '9f8a13d2177fc7b500fadf3cf3a697578378f9ff', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '890abae9796f720980c4c40753e64ad9d5854184', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'b8099a6ebd9bee755ecfe7d450dbc191a2986aa0', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: 'b9b0094d03544cfc8404730f8ceeb8caf44cfcd1', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'f1cd546f656dc302f24106cc5fa5faa4a3fc2ece', class: "flex" }, hAsync("div", { key: '730022a2670de7b3e7d0ed53eb9d2f9d533fddff', class: "w-full" }, hAsync("ul", { key: '04b3c963c8ea94a30983d880b096682171eae657', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '78d294c8a18771a66f157f2140ca7aadaad9ed6a', class: "w-full" }, hAsync("ul", { key: 'a7ece655dca8bc3a4d159bdc4b6bad4e86f3846d', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '156ee43969b677fd3140426786834631f5743bb8', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '26704a99b2bcd72ee414e4df1090d3c360f7d601', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '7d7db00799454b2dc76d740529f1381b934a65a5', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'be78a8f1ac1f5b8a0f905e6b1b7981234e627c31', class: "flex" }, hAsync("div", { key: 'a379dd032f13978e6e35432388379f7a932a64d2', class: "w-full" }, hAsync("ul", { key: 'bca9a0adde895d36fec1ca43d59679346408de36', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '235c66fc5f649e5efa11966d5d8708a72ed103ed', class: "w-full" }, hAsync("ul", { key: '6155375812c41d5356aa5f04d18d64f917c60e87', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '453656ec8a0bd258c49d55edd978c3406f5a0ffc', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '76169ca2b6cf12e269d0d7e22af41adc6c99e95a', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '0305f4dc08b6adce8bef1b102c846177ca6ff86d', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'eb2e4206bed167eb28540e79c7b7490bd4a9ae1d', class: "flex" }, hAsync("div", { key: 'c05f20dcfa4e806455b1a8805512b12c7a05cdc0', class: "w-full" }, hAsync("ul", { key: 'bc0fd2e75f75db9b26ce7f225ee2f9fce15e65ca', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '335554176ea7a84d08e07162ed0d66ac69a6859c', class: "w-full" }, hAsync("ul", { key: '10c149af45b26455c820d37e0e8109550b79c34f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
2715
2714
|
}
|
|
2716
2715
|
static get cmpMeta() { return {
|
|
2717
2716
|
"$flags$": 0,
|
|
@@ -2750,7 +2749,7 @@ class DocsContent {
|
|
|
2750
2749
|
}
|
|
2751
2750
|
}
|
|
2752
2751
|
render() {
|
|
2753
|
-
return hAsync("div", { key: '
|
|
2752
|
+
return hAsync("div", { key: '68fdef1fd6bdc75ce347d326b3329871e2ed5c8d', class: "container" }, this.renderContent());
|
|
2754
2753
|
}
|
|
2755
2754
|
static get cmpMeta() { return {
|
|
2756
2755
|
"$flags$": 0,
|
|
@@ -2783,7 +2782,7 @@ class DocsPalettes {
|
|
|
2783
2782
|
}
|
|
2784
2783
|
}
|
|
2785
2784
|
render() {
|
|
2786
|
-
return hAsync("div", { key: '
|
|
2785
|
+
return hAsync("div", { key: '97f8cff7dfed11b80a3a9e28d3628a72af8dc12d', class: "container" }, this.renderContent());
|
|
2787
2786
|
}
|
|
2788
2787
|
static get cmpMeta() { return {
|
|
2789
2788
|
"$flags$": 0,
|
|
@@ -2941,10 +2940,10 @@ class EdsAccordion {
|
|
|
2941
2940
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
2942
2941
|
*/
|
|
2943
2942
|
render() {
|
|
2944
|
-
return (hAsync("div", { key: '
|
|
2943
|
+
return (hAsync("div", { key: 'd162692cb9a99b6a1b9b736b828214c9d425046e', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2945
2944
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
2946
2945
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
2947
|
-
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '
|
|
2946
|
+
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '3770e241daa7e4696c5481c97965fb2ebe0b17f9', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), hAsync("div", { key: '56b7b70d16cf3f944bf3cec878bd15c3e18b399b', class: "ml-auto" }, hAsync("eds-button", { key: '4b770831f155f7e77a424b9dd3ec0a8708a0859f', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), hAsync("div", { key: 'c75c4d840bc8be25ee7590d90e3290faf090fdf0', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (hAsync("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, hAsync("section", { key: 'b78b8f7fa93a85c886136cac8119d7b94de2a129', id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, hAsync("div", { key: '75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, hAsync("span", { key: 'e08cefc1d6fe7f3d162de86a17646d88a8686d83', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, hAsync("slot", { key: '77d3a7fb997a9f313e3013a17f87c28f7ff8adad' })))))));
|
|
2948
2947
|
}
|
|
2949
2948
|
get el() { return getElement(this); }
|
|
2950
2949
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -3121,12 +3120,12 @@ class EdsAlert {
|
|
|
3121
3120
|
}
|
|
3122
3121
|
render() {
|
|
3123
3122
|
const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
|
|
3124
|
-
return (hAsync("div", { key: '
|
|
3123
|
+
return (hAsync("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
|
|
3125
3124
|
intent: this.intent,
|
|
3126
3125
|
brd: this.brd,
|
|
3127
3126
|
direction: this.direction,
|
|
3128
3127
|
withBtn: this.withBtn
|
|
3129
|
-
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: '
|
|
3128
|
+
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: 'fb3a1d216279b4076b09ef9544d37c5229b4d706', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (hAsync("div", { key: 'a5edd833ae3924f41edb17068090eeeb4e9f9cfd', id: "alert-action" }, this.pressableUrl ? (hAsync("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (hAsync("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
|
|
3130
3129
|
}
|
|
3131
3130
|
get el() { return getElement(this); }
|
|
3132
3131
|
static get style() { return EdsAlertStyle0; }
|
|
@@ -3177,7 +3176,7 @@ class EdsAppRoot {
|
|
|
3177
3176
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3178
3177
|
}
|
|
3179
3178
|
render() {
|
|
3180
|
-
return (hAsync("div", { key: '
|
|
3179
|
+
return (hAsync("div", { key: '814465ac49c8f5688bc8b1006723a531c925c030' }, hAsync("eds-splash-screen", { key: '578982c4b01714129ebf0e7c415bdacea10061f8', inverse: true, initPromise: this.combinedInitPromise }), hAsync("eds-login", { key: 'abc4ef7fed629bc2eda0e2f14f5165b83851794d', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), hAsync("main", { key: '1fb96900889c942ec0beb120e1ed869a9d78c6fa' }, this.isAuthenticated ? hAsync("h1", null, "Welcome, authenticated user!") : hAsync("h1", null, "Please log in."))));
|
|
3181
3180
|
}
|
|
3182
3181
|
static get cmpMeta() { return {
|
|
3183
3182
|
"$flags$": 9,
|
|
@@ -3260,7 +3259,7 @@ class EdsAvatar {
|
|
|
3260
3259
|
* @returns {JSX.Element} The rendered avatar component.
|
|
3261
3260
|
*/
|
|
3262
3261
|
render() {
|
|
3263
|
-
return (hAsync("div", { key: '
|
|
3262
|
+
return (hAsync("div", { key: 'd29c110e340567236716e77c4f003bec5c70ee63', class: this.containerClasses }, this.picture ? (hAsync("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (hAsync("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
3264
3263
|
}
|
|
3265
3264
|
static get style() { return EdsAvatarStyle0; }
|
|
3266
3265
|
static get cmpMeta() { return {
|
|
@@ -3291,7 +3290,7 @@ class EdsBlockBreak {
|
|
|
3291
3290
|
this.inverse = false;
|
|
3292
3291
|
}
|
|
3293
3292
|
render() {
|
|
3294
|
-
return hAsync("hr", { key: '
|
|
3293
|
+
return hAsync("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
3295
3294
|
}
|
|
3296
3295
|
static get style() { return EdsBlockBreakStyle0; }
|
|
3297
3296
|
static get cmpMeta() { return {
|
|
@@ -3451,7 +3450,7 @@ class EdsBreadcrumb {
|
|
|
3451
3450
|
*/
|
|
3452
3451
|
render() {
|
|
3453
3452
|
const itemsToRender = this.getTruncatedItems();
|
|
3454
|
-
return (hAsync("nav", { key: '
|
|
3453
|
+
return (hAsync("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, hAsync("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
3455
3454
|
const isLast = index === itemsToRender.length - 1;
|
|
3456
3455
|
return (hAsync("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
3457
3456
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -3668,7 +3667,7 @@ class EdsButton {
|
|
|
3668
3667
|
});
|
|
3669
3668
|
const ElementType = this.elementType;
|
|
3670
3669
|
const isInteractive = !this.disabled && !this.loading;
|
|
3671
|
-
return (hAsync(Host, { key: '
|
|
3670
|
+
return (hAsync(Host, { key: 'fe91be3eb9c2a3ece800097392462b3bd76f1264' }, hAsync(ElementType, { key: 'aa1d4e0544beff8759d232d0e897ffdbcd584ea5', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (hAsync("span", { key: '2b55edc1b986950ba03a759cffd7346c8611ac0a', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (hAsync("span", { key: '5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, hAsync("span", { key: '2746ef996f0835c76c4ef2cbd39103ad4d07c21f', class: "loader", style: {
|
|
3672
3671
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
3673
3672
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
3674
3673
|
} }))), this.icon ? (hAsync("eds-icon-wrapper", { class: `
|
|
@@ -3728,7 +3727,7 @@ class EdsCardDesc {
|
|
|
3728
3727
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
3729
3728
|
}
|
|
3730
3729
|
render() {
|
|
3731
|
-
return (hAsync("p", { key: '
|
|
3730
|
+
return (hAsync("p", { key: '1e2ae9b46a477adb8a249a0a06c963d3e44ff297', class: "text-light f-ui-03-light" }, hAsync("span", { key: '072222b2b2249a772c1e26f566d7ac863dd6a1dd', class: this.getTruncateClass() }, this.description)));
|
|
3732
3731
|
}
|
|
3733
3732
|
static get style() { return EdsCardDescStyle0; }
|
|
3734
3733
|
static get cmpMeta() { return {
|
|
@@ -3745,7 +3744,7 @@ class EdsCardDesc {
|
|
|
3745
3744
|
}; }
|
|
3746
3745
|
}
|
|
3747
3746
|
|
|
3748
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3747
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3749
3748
|
var EdsCardGenericStyle0 = edsCardGenericCss;
|
|
3750
3749
|
|
|
3751
3750
|
/**
|
|
@@ -3833,7 +3832,7 @@ class EdsCardGeneric {
|
|
|
3833
3832
|
});
|
|
3834
3833
|
}
|
|
3835
3834
|
render() {
|
|
3836
|
-
return (hAsync("article", { key: '
|
|
3835
|
+
return (hAsync("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), hAsync("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description && (hAsync("eds-card-desc", { key: '7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0', "truncate-lines": "3", description: this.description }))), this.parsedImage ? (hAsync("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '63cc046648dbf7d56909b2478d6c15b14e8d9ae4', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label, size: tag.size })))), ' '));
|
|
3837
3836
|
}
|
|
3838
3837
|
get el() { return getElement(this); }
|
|
3839
3838
|
static get style() { return EdsCardGenericStyle0; }
|
|
@@ -4045,7 +4044,7 @@ class EdsCardProject {
|
|
|
4045
4044
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
4046
4045
|
].join(' ');
|
|
4047
4046
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
4048
|
-
return (hAsync("article", { key: '
|
|
4047
|
+
return (hAsync("article", { key: '65af57bfbe558b895f74dd4d088c243a25c7265d', class: cardClasses, onClick: (event) => this.handleClick(event) }, hAsync("div", { key: 'cf0e9f71cd617a44facf7e35cdf78774e41b3eb1', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, hAsync("div", { key: '82870bbaf7203ac92f25ca241186ba7a32b784d5', class: "lg:max-w-[720px]" }, hAsync("eds-card-title", { key: '0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (hAsync("span", { key: '3586446f9ad1bb190c93cd54d7e53d6e835b8e37', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (hAsync("div", { key: '750c707f04d12ddd1d38aa0377b47f8804070535', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && hAsync("eds-tag", { key: '01fbeebd88ee60feede3b21db177b3691ffc2808', label: this.categoryTitle })))), this.parsedImage && (hAsync("div", { key: 'c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513', class: imageClasses }, hAsync("div", { key: '04d4828b6648470543ddde09d935aaa7c6133d7e', class: "aspect-1x1 w-full" }, hAsync("eds-img", Object.assign({ key: 'cde6eb483641c02abb6c229470f07aa5b08fbf9b', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
4049
4048
|
}
|
|
4050
4049
|
get el() { return getElement(this); }
|
|
4051
4050
|
static get cmpMeta() { return {
|
|
@@ -4105,7 +4104,7 @@ class EdsCardSection {
|
|
|
4105
4104
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
4106
4105
|
*/
|
|
4107
4106
|
render() {
|
|
4108
|
-
return (hAsync("section", { key: '
|
|
4107
|
+
return (hAsync("section", { key: 'bae0833e4d29cb2874bfb1751d7663751fd64abe', class: "w-full" }, hAsync("ul", { key: '001026f2866cf6101c317f08d32eac4dff46d335', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (hAsync("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, hAsync("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
|
|
4109
4108
|
}
|
|
4110
4109
|
static get style() { return EdsCardSectionStyle0; }
|
|
4111
4110
|
static get cmpMeta() { return {
|
|
@@ -4134,7 +4133,7 @@ class EdsCardTags {
|
|
|
4134
4133
|
this.tags = [];
|
|
4135
4134
|
}
|
|
4136
4135
|
render() {
|
|
4137
|
-
return (hAsync("div", { key: '
|
|
4136
|
+
return (hAsync("div", { key: 'dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
4138
4137
|
}
|
|
4139
4138
|
static get style() { return EdsCardTagsStyle0; }
|
|
4140
4139
|
static get cmpMeta() { return {
|
|
@@ -4198,7 +4197,7 @@ class EdsCardTitle {
|
|
|
4198
4197
|
render() {
|
|
4199
4198
|
//const Tag = this.getTag();
|
|
4200
4199
|
const Heading = this.headingLevel;
|
|
4201
|
-
return (hAsync(Heading, { key: '
|
|
4200
|
+
return (hAsync(Heading, { key: '1fd3f080c09f94d7b7175d51b9d8e38bb0b76286', class: this.getTitleClass() }, hAsync("a", { key: 'dd06cbecbc9eaef8052f34eae28ae17c5f92c918', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
4202
4201
|
}
|
|
4203
4202
|
static get style() { return EdsCardTitleStyle0; }
|
|
4204
4203
|
static get cmpMeta() { return {
|
|
@@ -4286,7 +4285,7 @@ class EdsCardTool {
|
|
|
4286
4285
|
});
|
|
4287
4286
|
}
|
|
4288
4287
|
render() {
|
|
4289
|
-
return (hAsync("article", { key: '
|
|
4288
|
+
return (hAsync("article", { key: '00f417ee065537f8b30bc73e5ad9ca0d69b3aed3', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: '9d8156f655c9344c872631b75cfcaf52fdf23347', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (hAsync("eds-card-desc", { key: 'da7aa3d0d9f7995a824fd7720342e6dd4d94224f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (hAsync("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '3e3001ec404a0bbca84deafc89de6aab8bf2fe45', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
4290
4289
|
}
|
|
4291
4290
|
get el() { return getElement(this); }
|
|
4292
4291
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -6798,7 +6797,7 @@ class EdsCodeBlock {
|
|
|
6798
6797
|
return this.code; // Fallback if language is not provided or unsupported
|
|
6799
6798
|
}
|
|
6800
6799
|
render() {
|
|
6801
|
-
return (hAsync("div", { key: '
|
|
6800
|
+
return (hAsync("div", { key: '2c5addd195dc8d930db643e95ecc52410dd94052', class: "relative bg-stronger rounded-sm" }, hAsync("div", { key: 'aea2d891f9e5d57d4b8390cff4597cb8edd163a1', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (hAsync("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (hAsync("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, hAsync("code", { innerHTML: this.getHighlightedCode() }))), hAsync("span", { key: '41e2d463bde145f901eae42dda68091a9a42e3ef', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, hAsync("eds-icon-wrapper", { key: '7285b81dd936c770b09b4a36bed8c8ba2a87da99', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), hAsync("span", { key: 'a12d74735064478480544cc4b5cf14d7b028b1a8', class: "sr-only" }, "Copy Code")), this.language && (hAsync("pre", { key: '2fcde4f271059ac98cb3b1b6bffbf4564ccf795b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, hAsync("code", { key: '68a8b83f492e7b0eb2916a063e28a4293e6a988f', innerHTML: this.getHighlightedCode() })))));
|
|
6802
6801
|
}
|
|
6803
6802
|
get el() { return getElement(this); }
|
|
6804
6803
|
static get style() { return EdsCodeBlockStyle0; }
|
|
@@ -6846,7 +6845,7 @@ class EdsCookiesPreference {
|
|
|
6846
6845
|
}
|
|
6847
6846
|
}
|
|
6848
6847
|
render() {
|
|
6849
|
-
return (hAsync("div", { key: '
|
|
6848
|
+
return (hAsync("div", { key: '64edfc7f4d83f6185be6c74707115ec478628c6b' }, hAsync("eds-link", { key: 'd2c07e20ae1e67753b17f017bd5efa9b1e722fec', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && hAsync("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
6850
6849
|
}
|
|
6851
6850
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6852
6851
|
static get cmpMeta() { return {
|
|
@@ -6870,13 +6869,23 @@ var EdsDropdownStyle0 = edsDropdownCss;
|
|
|
6870
6869
|
/**
|
|
6871
6870
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
6872
6871
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
6873
|
-
* such as positioning, styling, and
|
|
6872
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
6874
6873
|
*
|
|
6875
|
-
* Key
|
|
6876
|
-
* - Configurable dropdown position (left or right) and offset
|
|
6877
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
6878
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
6879
|
-
* -
|
|
6874
|
+
* ## Key Features:
|
|
6875
|
+
* - Configurable dropdown position (left or right) and offset
|
|
6876
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
6877
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
6878
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
6879
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
6880
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
6881
|
+
*
|
|
6882
|
+
* ## Auto-Close Behavior:
|
|
6883
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
6884
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
6885
|
+
*
|
|
6886
|
+
* ## Data Attributes:
|
|
6887
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
6888
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
6880
6889
|
*
|
|
6881
6890
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
6882
6891
|
*/
|
|
@@ -6889,10 +6898,12 @@ class EdsDropdown {
|
|
|
6889
6898
|
* Toggles the visibility of the dropdown and manages focus.
|
|
6890
6899
|
*/
|
|
6891
6900
|
this.handleClick = () => {
|
|
6892
|
-
var _a;
|
|
6901
|
+
var _a, _b;
|
|
6893
6902
|
this.isOpen = !this.isOpen;
|
|
6894
6903
|
if (this.isOpen) {
|
|
6895
|
-
|
|
6904
|
+
// refresh focusables each open in case slot changed
|
|
6905
|
+
this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
|
|
6906
|
+
this.focusIndex = this.focusableItems.length ? 0 : -1;
|
|
6896
6907
|
this.focusItem();
|
|
6897
6908
|
}
|
|
6898
6909
|
else {
|
|
@@ -6903,7 +6914,7 @@ class EdsDropdown {
|
|
|
6903
6914
|
category: 'ui-component',
|
|
6904
6915
|
parentContext: null,
|
|
6905
6916
|
tag: this.host.tagName.toLowerCase(),
|
|
6906
|
-
name: ((
|
|
6917
|
+
name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
|
|
6907
6918
|
action: this.isOpen ? 'expanded' : 'collapsed'
|
|
6908
6919
|
});
|
|
6909
6920
|
};
|
|
@@ -6915,9 +6926,14 @@ class EdsDropdown {
|
|
|
6915
6926
|
this.dropdownPos = 'left';
|
|
6916
6927
|
this.dropdownOffset = true;
|
|
6917
6928
|
this.intent = 'tertiary';
|
|
6929
|
+
this.autoClose = true;
|
|
6930
|
+
this.noCloseSelector = '[data-dropdown-no-close]';
|
|
6918
6931
|
this.isOpen = false;
|
|
6919
6932
|
this.focusIndex = -1;
|
|
6920
6933
|
}
|
|
6934
|
+
async close() {
|
|
6935
|
+
this.closeDropdown();
|
|
6936
|
+
}
|
|
6921
6937
|
/**
|
|
6922
6938
|
* Closes the dropdown when a click occurs outside of it.
|
|
6923
6939
|
* @param {Event} e - The click event.
|
|
@@ -6977,19 +6993,55 @@ class EdsDropdown {
|
|
|
6977
6993
|
var _a;
|
|
6978
6994
|
this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
|
|
6979
6995
|
}
|
|
6996
|
+
handleHostInternalClick(ev) {
|
|
6997
|
+
var _a;
|
|
6998
|
+
if (!this.isOpen || !this.panelEl) {
|
|
6999
|
+
return;
|
|
7000
|
+
}
|
|
7001
|
+
const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
|
|
7002
|
+
const clickedInsidePanel = path.includes(this.panelEl);
|
|
7003
|
+
if (!clickedInsidePanel) {
|
|
7004
|
+
return;
|
|
7005
|
+
}
|
|
7006
|
+
// Check if element has explicit close attribute
|
|
7007
|
+
const hasCloseAttribute = path.some((t) => {
|
|
7008
|
+
var _a;
|
|
7009
|
+
const n = t;
|
|
7010
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
|
|
7011
|
+
});
|
|
7012
|
+
// If element has data-dropdown-close, always close regardless of autoClose setting
|
|
7013
|
+
if (hasCloseAttribute) {
|
|
7014
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7015
|
+
return;
|
|
7016
|
+
}
|
|
7017
|
+
// If autoClose is disabled and no explicit close attribute, don't close
|
|
7018
|
+
if (!this.autoClose) {
|
|
7019
|
+
return;
|
|
7020
|
+
}
|
|
7021
|
+
// Auto-close mode: close unless clicked element opts out
|
|
7022
|
+
const shouldNotClose = path.some((t) => {
|
|
7023
|
+
var _a;
|
|
7024
|
+
const n = t;
|
|
7025
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
|
|
7026
|
+
});
|
|
7027
|
+
if (!shouldNotClose) {
|
|
7028
|
+
// Defer to allow the item's own click (e.g., router navigation) to run first
|
|
7029
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7030
|
+
}
|
|
7031
|
+
}
|
|
6980
7032
|
/**
|
|
6981
7033
|
* Renders the dropdown component and displays its content when open.
|
|
6982
7034
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
6983
7035
|
*/
|
|
6984
7036
|
render() {
|
|
6985
|
-
return (hAsync("div", { key: '
|
|
7037
|
+
return (hAsync("div", { key: 'e31acbda3428f47fe32cfe550cf00c53374da215', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, hAsync("eds-button", { key: 'ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), hAsync("nav", { key: '59f8533409171401ed73eac8d307e4eafbde9209', ref: (el) => (this.panelEl = el), role: "menu", class: {
|
|
6986
7038
|
'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
|
|
6987
7039
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
6988
7040
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
6989
7041
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
6990
7042
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
6991
7043
|
'rounded-lg': this.rounded
|
|
6992
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '
|
|
7044
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
|
|
6993
7045
|
}
|
|
6994
7046
|
get host() { return getElement(this); }
|
|
6995
7047
|
static get style() { return EdsDropdownStyle0; }
|
|
@@ -7005,10 +7057,13 @@ class EdsDropdown {
|
|
|
7005
7057
|
"dropdownPos": [1, "dropdown-pos"],
|
|
7006
7058
|
"dropdownOffset": [4, "dropdown-offset"],
|
|
7007
7059
|
"intent": [1],
|
|
7060
|
+
"autoClose": [4, "auto-close"],
|
|
7061
|
+
"noCloseSelector": [1, "no-close-selector"],
|
|
7008
7062
|
"isOpen": [32],
|
|
7009
|
-
"focusIndex": [32]
|
|
7063
|
+
"focusIndex": [32],
|
|
7064
|
+
"close": [64]
|
|
7010
7065
|
},
|
|
7011
|
-
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"]],
|
|
7066
|
+
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"], [0, "click", "handleHostInternalClick"]],
|
|
7012
7067
|
"$lazyBundleId$": "-",
|
|
7013
7068
|
"$attrsToReflect$": []
|
|
7014
7069
|
}; }
|
|
@@ -7071,7 +7126,7 @@ class EdsFeedback {
|
|
|
7071
7126
|
const HeadingTag = this.headingLevel;
|
|
7072
7127
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7073
7128
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7074
|
-
return (hAsync("div", { key: '
|
|
7129
|
+
return (hAsync("div", { key: 'd197c6324cca1bea1cb69000cfb0a4776285eeea', class: "grid inline" }, hAsync(HeadingTag, { key: '8a09b89f2732d60e470a16b818467768c0f4e474', class: headingClass }, this.label), hAsync("p", { key: '6a2c35b73b8bde9d96841d60d0761581efbd4047', class: "f-body-01 text-light" }, this.description), hAsync("eds-rating", { key: '0fb0acbbe7c473f2de117e0b0028cafc2f959ed8', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: '8aea027f1c37cbe9ff22555ec00ed183d8c52f0a', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
7075
7130
|
}
|
|
7076
7131
|
get el() { return getElement(this); }
|
|
7077
7132
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7155,13 +7210,11 @@ class EdsFooter {
|
|
|
7155
7210
|
* Renders the footer component with optional sections and elements,
|
|
7156
7211
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
7157
7212
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7158
|
-
*
|
|
7159
|
-
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
7160
7213
|
*/
|
|
7161
7214
|
render() {
|
|
7162
|
-
return (hAsync("footer", { key: '
|
|
7215
|
+
return (hAsync("footer", { key: '5e629d1f5f06ce62843f67b296c94b18765d8100' }, this.social ? (hAsync("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, hAsync("div", { class: "container pb-20" }, hAsync("div", { class: "grid-layout" }, hAsync("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, hAsync("eds-social-networks", { class: "mt-28" })))))) : null, hAsync("div", { key: '68966997037f0dd88c9fb2afcc39514aefa5ff8d', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, hAsync("div", { key: 'd3ec3c9341e7509b2f4771ce0f83fbf4913b4e3e', class: "container flex items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: '30774f2c9c1c5113c8f178af2ad5dbc01b01c8d2', class: "flex items-center gap-x-12" }, hAsync("a", { key: '1939784cb357e1a0a9fc6a00c75953c37d7cac90', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, hAsync("eds-img", { key: 'b9dc32ad675188d061d01e6b11cda37c4edd5e29', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), hAsync("div", { key: '1642eaf31c946bf3f7bd3d235dccd1a66f4de7d8' }, hAsync("div", { key: '4a4b1bf11ebf31a9a0f1735cb0720bdbdab07943', class: "f-ui-04 text-light" }, hAsync("p", { key: '24226946123a5e632d393be9a24971ff9e07b355' }, this.fundedBy), hAsync("div", { key: 'a21829ec3d7d74027a14ee419f37d2ec326b7154', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, hAsync("span", { key: '4791eb4b178cb07f3983f8aa6f3ed0e60918f929', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (hAsync("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
7163
7216
|
this.toggleCookiesConsent();
|
|
7164
|
-
} })) : null))), hAsync("div", { key: '
|
|
7217
|
+
} })) : null))), hAsync("div", { key: '9d1173a7b4db564de8fa2ffb85d2b7db724bef95', class: "ml-auto pl-12" }, this.enableScrollTop ? (hAsync("div", { id: "toTop", class: "transition-all transition duration-75 opacity-0" }, hAsync("eds-button", { id: "backToTop", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" }))) : null)))));
|
|
7165
7218
|
}
|
|
7166
7219
|
get el() { return getElement(this); }
|
|
7167
7220
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7326,9 +7379,10 @@ isFieldVisible) {
|
|
|
7326
7379
|
const npsEl = findNpsElement(formEl);
|
|
7327
7380
|
if (npsEl && npsEl.shadowRoot) {
|
|
7328
7381
|
const raw = (_a = npsEl.shadowRoot
|
|
7329
|
-
.querySelector('
|
|
7330
|
-
const
|
|
7331
|
-
|
|
7382
|
+
.querySelector('eds-button[tabindex="0"]')) === null || _a === void 0 ? void 0 : _a.getAttribute('aria-label');
|
|
7383
|
+
const parsed = raw !== null ? parseInt(raw, 10) : NaN;
|
|
7384
|
+
const value = Number.isInteger(parsed) && parsed >= 0 && parsed <= 10 ? parsed : NaN;
|
|
7385
|
+
if (isNaN(value)) {
|
|
7332
7386
|
// eslint-disable-next-line
|
|
7333
7387
|
if (field.required) {
|
|
7334
7388
|
errors[field.name] = ['This field is required.'];
|
|
@@ -7394,7 +7448,7 @@ function getFormInitData({ initData, parsedFields, currentValues
|
|
|
7394
7448
|
return { updatedValues };
|
|
7395
7449
|
}
|
|
7396
7450
|
|
|
7397
|
-
const edsFormCss = ".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}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.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)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}";
|
|
7451
|
+
const edsFormCss = ".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}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.shadow-hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}";
|
|
7398
7452
|
var EdsFormStyle0 = edsFormCss;
|
|
7399
7453
|
|
|
7400
7454
|
/**
|
|
@@ -7414,13 +7468,17 @@ class EdsForm {
|
|
|
7414
7468
|
registerInstance(this, hostRef);
|
|
7415
7469
|
this.form = createEvent(this, "form", 7);
|
|
7416
7470
|
this.name = 'eds-form';
|
|
7471
|
+
this.title = 'Form Title';
|
|
7472
|
+
this.description = 'Form Description';
|
|
7417
7473
|
this.setFormUrl = true;
|
|
7418
7474
|
this.formBtn = true;
|
|
7419
7475
|
this.formBtnLabel = 'Submit';
|
|
7476
|
+
this.buttonIntent = 'primary';
|
|
7420
7477
|
this.errorMessage = 'Some fields in your form are incorrect.';
|
|
7421
7478
|
this.fields = [];
|
|
7422
7479
|
this.groups = [];
|
|
7423
7480
|
this.initData = {};
|
|
7481
|
+
this.formStyle = 'default';
|
|
7424
7482
|
this.values = {};
|
|
7425
7483
|
this.isSubmitting = false;
|
|
7426
7484
|
this.hasError = false;
|
|
@@ -7542,6 +7600,7 @@ class EdsForm {
|
|
|
7542
7600
|
return formData;
|
|
7543
7601
|
}
|
|
7544
7602
|
makeFormData() {
|
|
7603
|
+
var _a;
|
|
7545
7604
|
const formData = new FormData();
|
|
7546
7605
|
// Add the form name
|
|
7547
7606
|
formData.append('form_name', this.name);
|
|
@@ -7553,6 +7612,37 @@ class EdsForm {
|
|
|
7553
7612
|
// Append each key-value pair to the FormData object.
|
|
7554
7613
|
formData.append(key, this.values[key]);
|
|
7555
7614
|
});
|
|
7615
|
+
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
7616
|
+
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
7617
|
+
if (hasFileField && this.formEl) {
|
|
7618
|
+
// Find file inputs inside each eds-input-field's shadowRoot
|
|
7619
|
+
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
7620
|
+
hosts.forEach((host) => {
|
|
7621
|
+
const root = host.shadowRoot;
|
|
7622
|
+
if (!root)
|
|
7623
|
+
return;
|
|
7624
|
+
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
7625
|
+
console.log(fileInputs);
|
|
7626
|
+
fileInputs.forEach((fi) => {
|
|
7627
|
+
const name = fi.name;
|
|
7628
|
+
const files = fi.files ? Array.from(fi.files) : [];
|
|
7629
|
+
if (files.length > 0) {
|
|
7630
|
+
// Append each file under the same field name (backend can use request.files.getlist(name))
|
|
7631
|
+
files.forEach((file) => formData.append(name, file));
|
|
7632
|
+
}
|
|
7633
|
+
});
|
|
7634
|
+
});
|
|
7635
|
+
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
7636
|
+
// formData.set('_has_files', '1');
|
|
7637
|
+
}
|
|
7638
|
+
formData.forEach((value, key) => {
|
|
7639
|
+
if (value instanceof File) {
|
|
7640
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
7641
|
+
}
|
|
7642
|
+
else {
|
|
7643
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
7644
|
+
}
|
|
7645
|
+
});
|
|
7556
7646
|
return formData;
|
|
7557
7647
|
}
|
|
7558
7648
|
handleChange(e, field) {
|
|
@@ -7663,11 +7753,11 @@ class EdsForm {
|
|
|
7663
7753
|
message: `${field.name} updated`
|
|
7664
7754
|
});
|
|
7665
7755
|
}
|
|
7666
|
-
handleSubmit() {
|
|
7756
|
+
handleSubmit(e) {
|
|
7667
7757
|
var _a, _b;
|
|
7668
|
-
|
|
7758
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
7759
|
+
if (this.isSubmitting)
|
|
7669
7760
|
return;
|
|
7670
|
-
}
|
|
7671
7761
|
this.isSubmitting = true;
|
|
7672
7762
|
this.validateForm();
|
|
7673
7763
|
if (this.hasError) {
|
|
@@ -7718,10 +7808,15 @@ class EdsForm {
|
|
|
7718
7808
|
}
|
|
7719
7809
|
get groupedFields() {
|
|
7720
7810
|
const map = {};
|
|
7721
|
-
// initialize buckets for each group
|
|
7811
|
+
// initialize buckets for each declared group
|
|
7722
7812
|
this.parsedGroups.forEach((g) => (map[g.id] = []));
|
|
7813
|
+
// always keep an ungrouped bucket
|
|
7723
7814
|
map['__ungrouped'] = [];
|
|
7815
|
+
// only bucket fields that are currently visible
|
|
7724
7816
|
this.parsedFields.forEach((f) => {
|
|
7817
|
+
if (!this.isFieldVisible(f)) {
|
|
7818
|
+
return;
|
|
7819
|
+
}
|
|
7725
7820
|
const gid = f.groupId || '__ungrouped';
|
|
7726
7821
|
if (!map[gid]) {
|
|
7727
7822
|
map[gid] = [];
|
|
@@ -7742,7 +7837,7 @@ class EdsForm {
|
|
|
7742
7837
|
return (hAsync("div", { class: "form-group rating-field", key: field.name }, hAsync("div", { class: "flex justify-between" }, field && (hAsync("eds-input-label", { name: `rating-${field.name}`, label: field.label, disabled: field.disabled, required: field.required }))), hAsync("eds-rating", { id: `rating-${field.name}`, "rating-type": field.ratingType, "rating-count": field.ratingCount, "selected-rating": val, onRating: (e) => this.handleRating(e, field) }), hAsync("div", { class: "mt-6" }, hAsync("eds-input-footer", { id: `${field.name}-footer`, name: field.name, message: field.message, "error-message": (_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.join('<br/>'), error: !!this.errors[field.name], link: field.link }))));
|
|
7743
7838
|
}
|
|
7744
7839
|
else if (field.type === 'nps') {
|
|
7745
|
-
return (hAsync("div", { class: "form-group nps-field", key: field.name }, hAsync("div", { class: "flex justify-between" }, field && (hAsync("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), hAsync("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), hAsync("div", { class: "mt-6" }, hAsync("eds-input-footer", { id: `${field.name}-footer`, name: field.name,
|
|
7840
|
+
return (hAsync("div", { class: "form-group nps-field", key: field.name }, hAsync("div", { class: "flex justify-between" }, field && (hAsync("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), hAsync("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), hAsync("div", { class: "mt-6" }, hAsync("eds-input-footer", { id: `${field.name}-footer`, name: field.name, "error-message": (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br/>'), error: !!this.errors[field.name] }))));
|
|
7746
7841
|
}
|
|
7747
7842
|
return (hAsync("eds-input-field", { key: field.name, name: field.name, label: field.label, placeholder: field.placeholder, type: field.type, value: this.values[field.name], required: field.required, hint: field.hint, message: field.message, error: !!this.errors[field.name], errorMessage: (_c = this.errors[field.name]) === null || _c === void 0 ? void 0 : _c.join('<br/>'), options: field.options, onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field) }));
|
|
7748
7843
|
}
|
|
@@ -7753,9 +7848,13 @@ class EdsForm {
|
|
|
7753
7848
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
7754
7849
|
//const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
7755
7850
|
const buckets = this.groupedFields;
|
|
7756
|
-
|
|
7851
|
+
// build the shadow/bg classes if formStyle="shadow"
|
|
7852
|
+
const styleClasses = this.formStyle === 'shadow'
|
|
7853
|
+
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7854
|
+
: '';
|
|
7855
|
+
return (hAsync("form", { key: 'a2e7de988c60301b92f6b756702bfcc78e9f3d90', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, hAsync("div", { key: '22172631522aa6094d8b163b0774c57ef4404d60', class: "flex flex-col gap-y-24" }, this.title && (hAsync("span", { key: '0597bbacbaf5f3d9ec1ab938cf755a10baafdf21', role: "heading", class: "f-heading-04" }, this.title)), this.description && hAsync("span", { key: '5e636072bc2692071bd0b518af721999cc8b511e', class: "f-body-02 text-light" }, this.description), hAsync("slot", { key: '79d21172208eb77ec6460e817d3c7bc3a680c806' })), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
7757
7856
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7758
|
-
.map((g) => (hAsync("div", { class: "
|
|
7857
|
+
.map((g) => (hAsync("div", { class: "mt-32", key: g.id }, hAsync("span", { class: "f-body-02" }, hAsync("b", null, g.title)), hAsync("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), hAsync("div", { key: 'b99941e53dec1c8c4e167d8588d6e86793838d1a', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (hAsync("div", { key: '27365a4d7d8150ff4e94ffb3d27d011400c8c412', class: "mt-32" }, hAsync("eds-button", { key: '66f89292b95d9549e3718d7e499b0724762127c6', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
7759
7858
|
}
|
|
7760
7859
|
get el() { return getElement(this); }
|
|
7761
7860
|
static get watchers() { return {
|
|
@@ -7768,13 +7867,17 @@ class EdsForm {
|
|
|
7768
7867
|
"$tagName$": "eds-form",
|
|
7769
7868
|
"$members$": {
|
|
7770
7869
|
"name": [1],
|
|
7870
|
+
"title": [1],
|
|
7871
|
+
"description": [1],
|
|
7771
7872
|
"setFormUrl": [4, "set-form-url"],
|
|
7772
7873
|
"formBtn": [4, "form-btn"],
|
|
7773
7874
|
"formBtnLabel": [1, "form-btn-label"],
|
|
7875
|
+
"buttonIntent": [1, "button-intent"],
|
|
7774
7876
|
"errorMessage": [1, "error-message"],
|
|
7775
7877
|
"fields": [1],
|
|
7776
7878
|
"groups": [1],
|
|
7777
7879
|
"initData": [16],
|
|
7880
|
+
"formStyle": [1, "form-style"],
|
|
7778
7881
|
"values": [32],
|
|
7779
7882
|
"isSubmitting": [32],
|
|
7780
7883
|
"hasError": [32],
|
|
@@ -7879,7 +7982,7 @@ class EdsFrame {
|
|
|
7879
7982
|
}
|
|
7880
7983
|
}
|
|
7881
7984
|
render() {
|
|
7882
|
-
return (hAsync("div", { key: '
|
|
7985
|
+
return (hAsync("div", { key: '7b4f5eb19460a178b98586aa38088e3dc5625671', class: this.articleClasses() }, hAsync("div", { key: '98aefbd4cab33f14c9aa3152c122a11b24df4a02', class: "effect-height flex items-center justify-between py-8 px-12" }, hAsync("span", { key: 'd0cdd2f3354bddc99030ee5215f2bc24b139a261', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (hAsync("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), hAsync("div", { key: '030c560bbd0209160c92bc2d152f8d42484dc86b', class: "border-softer" }, this.iframeError ? (hAsync("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (hAsync("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
7883
7986
|
}
|
|
7884
7987
|
get el() { return getElement(this); }
|
|
7885
7988
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -7928,11 +8031,16 @@ class EdsFullscreenMenu {
|
|
|
7928
8031
|
this.isMenuOpen = false;
|
|
7929
8032
|
}
|
|
7930
8033
|
/**
|
|
7931
|
-
* Listens
|
|
7932
|
-
*
|
|
8034
|
+
* Listens on `body` for `toggleheadermenu` to open/close the menu.
|
|
8035
|
+
* The event detail should be a boolean (`true` = open, `false` = close).
|
|
8036
|
+
*
|
|
8037
|
+
* @example
|
|
8038
|
+
* ```js
|
|
8039
|
+
* document.body.dispatchEvent(new CustomEvent('toggleheadermenu', { detail: true }));
|
|
8040
|
+
* ```
|
|
7933
8041
|
*/
|
|
7934
8042
|
handleToggleMenu(event) {
|
|
7935
|
-
this.isMenuOpen = event.detail;
|
|
8043
|
+
this.isMenuOpen = !!event.detail;
|
|
7936
8044
|
}
|
|
7937
8045
|
/** Opens the menu */
|
|
7938
8046
|
openMenu() {
|
|
@@ -8043,7 +8151,7 @@ class EdsGauge {
|
|
|
8043
8151
|
const textStyle = {
|
|
8044
8152
|
fontSize: `${fontSize}px`
|
|
8045
8153
|
};
|
|
8046
|
-
return (hAsync("div", { key: '
|
|
8154
|
+
return (hAsync("div", { key: '8834b0fc3cb78c0e7926392d04229d67d8deab90', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, hAsync("div", { key: 'f9ad68bd6bf19bceb46df1cfe16cdbbc2375099c', class: "absolute bg-inverse rounded-full", style: maskStyle }), hAsync("div", { key: '64a2ba3ba2f104fa018f81949cdabc0fc53eea42', class: "absolute inset-0 flex items-center justify-center" }, hAsync("span", { key: 'ae66f977802793f4e10210e75ddfa53839a9ff6e', class: "f-body-01 text-default", style: textStyle }, clamped))));
|
|
8047
8155
|
}
|
|
8048
8156
|
static get style() { return EdsGaugeStyle0; }
|
|
8049
8157
|
static get cmpMeta() { return {
|
|
@@ -8063,6 +8171,194 @@ class EdsGauge {
|
|
|
8063
8171
|
}; }
|
|
8064
8172
|
}
|
|
8065
8173
|
|
|
8174
|
+
const edsGlobalSearchCss = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:10px 14px;cursor:pointer;transition:background-color 0.15s ease;border-left:3px solid transparent;overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background-color:var(--grey-200);border-left-color:var(--green-600)}.result-header{display:flex;align-items:center;justify-content:space-between}.result-snippet{font-size:13px;color:#616161;line-height:1.4;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dropdown-footer{border-top:1px solid #e0e0e0;padding:8px 16px;background:#fafafa;flex-shrink:0}.footer-hint{font-size:11px;color:#757575;display:flex;align-items:center;gap:4px;flex-wrap:wrap}kbd{display:inline-block;padding:2px 5px;font-size:10px;font-family:monospace;line-height:1;color:#424242;background-color:#f5f5f5;border:1px solid #bdbdbd;border-radius:3px;box-shadow:0 1px 0 rgba(0, 0, 0, 0.1)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:#f5f5f5}.dropdown-results::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.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-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)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}";
|
|
8175
|
+
var EdsGlobalSearchStyle0 = edsGlobalSearchCss;
|
|
8176
|
+
|
|
8177
|
+
class EdsGlobalSearch {
|
|
8178
|
+
constructor(hostRef) {
|
|
8179
|
+
registerInstance(this, hostRef);
|
|
8180
|
+
this.resultSelected = createEvent(this, "resultSelected", 7);
|
|
8181
|
+
this.searchClosed = createEvent(this, "searchClosed", 7);
|
|
8182
|
+
this.handleInput = (event) => {
|
|
8183
|
+
var _a;
|
|
8184
|
+
const target = event.target;
|
|
8185
|
+
this.query = target.value;
|
|
8186
|
+
if (this.debounceTimer) {
|
|
8187
|
+
clearTimeout(this.debounceTimer);
|
|
8188
|
+
}
|
|
8189
|
+
if (!this.query.trim()) {
|
|
8190
|
+
this.results = [];
|
|
8191
|
+
this.hasSearched = false;
|
|
8192
|
+
this.showDropdown = false;
|
|
8193
|
+
return;
|
|
8194
|
+
}
|
|
8195
|
+
sendAnalytics({
|
|
8196
|
+
category: 'shared-ui',
|
|
8197
|
+
parentContext: null,
|
|
8198
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8199
|
+
name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
|
|
8200
|
+
'unknow seach input query',
|
|
8201
|
+
action: 'click',
|
|
8202
|
+
});
|
|
8203
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
8204
|
+
this.runSearch();
|
|
8205
|
+
}, this.debounceDelay);
|
|
8206
|
+
};
|
|
8207
|
+
this.apiEndpoint = '/api/v1/global-search';
|
|
8208
|
+
this.placeholder = 'Search Handbook + Design...';
|
|
8209
|
+
this.limit = 20;
|
|
8210
|
+
this.debounceDelay = 300;
|
|
8211
|
+
this.query = '';
|
|
8212
|
+
this.results = [];
|
|
8213
|
+
this.loading = false;
|
|
8214
|
+
this.error = '';
|
|
8215
|
+
this.hasSearched = false;
|
|
8216
|
+
this.showDropdown = false;
|
|
8217
|
+
this.selectedIndex = -1;
|
|
8218
|
+
}
|
|
8219
|
+
componentDidLoad() {
|
|
8220
|
+
// Focus input if needed
|
|
8221
|
+
if (this.inputRef) {
|
|
8222
|
+
this.inputRef.focus();
|
|
8223
|
+
}
|
|
8224
|
+
}
|
|
8225
|
+
disconnectedCallback() {
|
|
8226
|
+
if (this.debounceTimer) {
|
|
8227
|
+
clearTimeout(this.debounceTimer);
|
|
8228
|
+
}
|
|
8229
|
+
}
|
|
8230
|
+
handleDocumentClick(event) {
|
|
8231
|
+
const path = event.composedPath();
|
|
8232
|
+
if (!path.includes(this.el)) {
|
|
8233
|
+
this.showDropdown = false;
|
|
8234
|
+
this.selectedIndex = -1;
|
|
8235
|
+
}
|
|
8236
|
+
}
|
|
8237
|
+
handleKeydown(event) {
|
|
8238
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
8239
|
+
if (event.key === 'Escape') {
|
|
8240
|
+
this.searchClosed.emit();
|
|
8241
|
+
}
|
|
8242
|
+
return;
|
|
8243
|
+
}
|
|
8244
|
+
switch (event.key) {
|
|
8245
|
+
case 'ArrowDown':
|
|
8246
|
+
event.preventDefault();
|
|
8247
|
+
this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
|
|
8248
|
+
this.scrollToSelected();
|
|
8249
|
+
break;
|
|
8250
|
+
case 'ArrowUp':
|
|
8251
|
+
event.preventDefault();
|
|
8252
|
+
this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
|
|
8253
|
+
this.scrollToSelected();
|
|
8254
|
+
break;
|
|
8255
|
+
case 'Enter':
|
|
8256
|
+
event.preventDefault();
|
|
8257
|
+
if (this.selectedIndex >= 0 &&
|
|
8258
|
+
this.selectedIndex < this.results.length) {
|
|
8259
|
+
this.selectResult(this.results[this.selectedIndex]);
|
|
8260
|
+
}
|
|
8261
|
+
break;
|
|
8262
|
+
case 'Escape':
|
|
8263
|
+
this.showDropdown = false;
|
|
8264
|
+
this.selectedIndex = -1;
|
|
8265
|
+
this.searchClosed.emit();
|
|
8266
|
+
break;
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
async runSearch() {
|
|
8270
|
+
var _a;
|
|
8271
|
+
const query = this.query.trim();
|
|
8272
|
+
if (!query) {
|
|
8273
|
+
this.results = [];
|
|
8274
|
+
this.hasSearched = false;
|
|
8275
|
+
this.showDropdown = false;
|
|
8276
|
+
return;
|
|
8277
|
+
}
|
|
8278
|
+
this.loading = true;
|
|
8279
|
+
this.error = '';
|
|
8280
|
+
try {
|
|
8281
|
+
const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
|
|
8282
|
+
if (!response.ok) {
|
|
8283
|
+
throw new Error('Search failed');
|
|
8284
|
+
}
|
|
8285
|
+
const data = await response.json();
|
|
8286
|
+
this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
|
|
8287
|
+
this.hasSearched = true;
|
|
8288
|
+
this.showDropdown = true;
|
|
8289
|
+
this.selectedIndex = -1;
|
|
8290
|
+
}
|
|
8291
|
+
catch (err) {
|
|
8292
|
+
console.error('Search error:', err);
|
|
8293
|
+
this.error = 'Search failed. Please try again.';
|
|
8294
|
+
this.results = [];
|
|
8295
|
+
this.showDropdown = true;
|
|
8296
|
+
}
|
|
8297
|
+
finally {
|
|
8298
|
+
this.loading = false;
|
|
8299
|
+
}
|
|
8300
|
+
}
|
|
8301
|
+
selectResult(result) {
|
|
8302
|
+
this.resultSelected.emit(result);
|
|
8303
|
+
this.searchClosed.emit();
|
|
8304
|
+
sendAnalytics({
|
|
8305
|
+
category: 'shared-ui',
|
|
8306
|
+
parentContext: null,
|
|
8307
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8308
|
+
name: `search-select: ${result.url}` || 'unknow search result selection',
|
|
8309
|
+
action: 'click',
|
|
8310
|
+
});
|
|
8311
|
+
window.open(result.url, '_blank', 'noopener,noreferrer');
|
|
8312
|
+
}
|
|
8313
|
+
scrollToSelected() {
|
|
8314
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
8315
|
+
const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
8316
|
+
if (selectedItem) {
|
|
8317
|
+
selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
|
|
8318
|
+
}
|
|
8319
|
+
}
|
|
8320
|
+
}
|
|
8321
|
+
stripHtml(html) {
|
|
8322
|
+
const div = document.createElement('div');
|
|
8323
|
+
div.innerHTML = html;
|
|
8324
|
+
return div.textContent || div.innerText || '';
|
|
8325
|
+
}
|
|
8326
|
+
get hasResults() {
|
|
8327
|
+
return this.results.length > 0;
|
|
8328
|
+
}
|
|
8329
|
+
get showEmpty() {
|
|
8330
|
+
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
8331
|
+
}
|
|
8332
|
+
render() {
|
|
8333
|
+
return (hAsync("div", { key: '8fb5d13cbb123d7a6d6a26d0ba59d4c6d1660216', class: "search-wrapper" }, hAsync("eds-input-field", { key: 'a8bf5d6f4aa5746e144b82fad60b77697d0fdb99', icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && (hAsync("div", { key: '553cb12c9b2aa9ecfbcf9c1eee9ff9a44549e35a', class: "search-dropdown", ref: (el) => (this.dropdownRef = el) }, this.loading && (hAsync("div", { key: '4f40853beecd11f8812fd97cf07d2394e7b73466', class: "flex text-center justify-center p-64" }, hAsync("eds-spinner", { key: '307a3ba3ec2d296f31f8e5cf1a696786387ea8fa', variant: "primary", size: "sm" }))), this.error && !this.loading && (hAsync("div", { key: '46fc2ed3f48237864c62ce52d5789b72ab007f61', class: "flex text-center justify-center p-16" }, hAsync("span", { key: 'b555370d936f99234d9be576d04766bc674bfd24', class: "text-error f-body-02" }, this.error))), this.showEmpty && (hAsync("div", { key: '7464c4850872ce8dcee55c189b1e78baa1799f14', class: "dropdown-state" }, hAsync("eds-icon-wrapper", { key: '989282ef0fc8fde7018bb80ab172773cc2107942', icon: "search" }), hAsync("div", { key: 'efbdbd61312b7de43c4f9944cbd573573ec22f11' }, hAsync("p", { key: 'fb8bf8c76f101a182f2f0e0c9beac642a872d4cb', class: "f-body-02" }, "No results found"), hAsync("p", { key: '003a1facf39b7efe8f61c58518e7fdef4779f9c3', class: "f-ui-04 text-lightest" }, "Try different keywords")))), this.hasResults && !this.loading && (hAsync("ul", { key: '01b48376f9b290218f93eed314bcc71fa15f83ef', class: "dropdown-results" }, this.results.map((result, index) => (hAsync("li", { key: result.id, "data-index": index, class: {
|
|
8334
|
+
'result-item': true,
|
|
8335
|
+
'result-item--selected': index === this.selectedIndex,
|
|
8336
|
+
}, onClick: () => this.selectResult(result), onMouseEnter: () => (this.selectedIndex = index) }, hAsync("div", { class: "result-header" }, hAsync("span", { class: "f-body-02" }, result.title)), hAsync("div", { class: "inline" }, hAsync("eds-tag", { intent: "accent", label: result.source }), result.section && (hAsync("span", { class: "result-badge" }, result.section)), hAsync("span", { class: "f-ui-03-light text-lighter ml-8" }, result.url)), result.snippet && (hAsync("p", { class: "result-snippet" }, this.stripHtml(result.snippet)))))))), this.hasResults && !this.loading && (hAsync("div", { key: '3730704ff20781f23403df56a452bf586c06a688', class: "dropdown-footer" }, hAsync("span", { key: '981e0fb42c24116a2b7caa1a341db1435fb57298', class: "footer-hint" }, hAsync("kbd", { key: 'a3afa1202d694af3f87c736f8384b11497729d2c' }, "\u2191"), " ", hAsync("kbd", { key: '4158766047e73eef837b3a7be415b52792473f3e' }, "\u2193"), " navigate \u2022 ", hAsync("kbd", { key: '49dc09c928a6f0d69e4c95cee7ba5b655dfcd56c' }, "\u21B5"), " select \u2022", ' ', hAsync("kbd", { key: '8da9b6f1bef58c7633a484f63e63920646d6b675' }, "esc"), " close")))))));
|
|
8337
|
+
}
|
|
8338
|
+
get el() { return getElement(this); }
|
|
8339
|
+
static get style() { return EdsGlobalSearchStyle0; }
|
|
8340
|
+
static get cmpMeta() { return {
|
|
8341
|
+
"$flags$": 9,
|
|
8342
|
+
"$tagName$": "eds-global-search",
|
|
8343
|
+
"$members$": {
|
|
8344
|
+
"apiEndpoint": [1, "api-endpoint"],
|
|
8345
|
+
"placeholder": [1],
|
|
8346
|
+
"limit": [2],
|
|
8347
|
+
"debounceDelay": [2, "debounce-delay"],
|
|
8348
|
+
"query": [32],
|
|
8349
|
+
"results": [32],
|
|
8350
|
+
"loading": [32],
|
|
8351
|
+
"error": [32],
|
|
8352
|
+
"hasSearched": [32],
|
|
8353
|
+
"showDropdown": [32],
|
|
8354
|
+
"selectedIndex": [32]
|
|
8355
|
+
},
|
|
8356
|
+
"$listeners$": [[4, "click", "handleDocumentClick"], [0, "keydown", "handleKeydown"]],
|
|
8357
|
+
"$lazyBundleId$": "-",
|
|
8358
|
+
"$attrsToReflect$": []
|
|
8359
|
+
}; }
|
|
8360
|
+
}
|
|
8361
|
+
|
|
8066
8362
|
const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
|
|
8067
8363
|
var EdsHeaderStyle0 = edsHeaderCss;
|
|
8068
8364
|
|
|
@@ -8124,7 +8420,7 @@ class EdsHeader {
|
|
|
8124
8420
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8125
8421
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8126
8422
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8127
|
-
return (hAsync("header", { key: '
|
|
8423
|
+
return (hAsync("header", { key: '937c78379bb6f3a97705862b2fa3f0f6ddd76d4c', class: `flex items-center justify-between relative z-10 ${classes}` }, hAsync("div", { key: 'd94837e8414d558f02039501d7b01ab550275ca7', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: '02711bc6d80075a215761ce79698555f7b31bffa', type: logoType, href: this.homeUrl })), this.parsedLinks && (hAsync("nav", { key: 'e3f0033cce5a6145a4f457d1c2c7aebb767593f7', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, hAsync("ul", { key: '85008ed8ceb8eca869d8730b38a8aa37aeb757ff', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (hAsync("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), hAsync("slot", { key: '35eb7af751f3da381fada990118fa0a37ce150b1' }), this.menuEnabled && (hAsync("div", { key: '121bba2b027fc21e8c77054f3de533e40fad6b96', class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { key: '00774810aabf8fa292ecca2210bcd9542a7cb0c2', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
8128
8424
|
}
|
|
8129
8425
|
get hostEl() { return getElement(this); }
|
|
8130
8426
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -10142,7 +10438,7 @@ class EdsIconArrowDiagonal {
|
|
|
10142
10438
|
this.class = '';
|
|
10143
10439
|
}
|
|
10144
10440
|
render() {
|
|
10145
|
-
return hAsync("span", { key: '
|
|
10441
|
+
return hAsync("span", { key: 'f638b55d0ab199bbd7a52d099aa1242410ae1892', class: this.class, innerHTML: arrowDiagonal });
|
|
10146
10442
|
}
|
|
10147
10443
|
static get cmpMeta() { return {
|
|
10148
10444
|
"$flags$": 0,
|
|
@@ -10165,7 +10461,7 @@ class EdsIconArrowRight {
|
|
|
10165
10461
|
this.class = '';
|
|
10166
10462
|
}
|
|
10167
10463
|
render() {
|
|
10168
|
-
return hAsync("span", { key: '
|
|
10464
|
+
return hAsync("span", { key: '476da936a6861dc0a5db691cee31559c845766a2', class: this.class, innerHTML: arrowRight });
|
|
10169
10465
|
}
|
|
10170
10466
|
static get cmpMeta() { return {
|
|
10171
10467
|
"$flags$": 0,
|
|
@@ -10188,7 +10484,7 @@ class EdsIconBin {
|
|
|
10188
10484
|
this.class = '';
|
|
10189
10485
|
}
|
|
10190
10486
|
render() {
|
|
10191
|
-
return hAsync("span", { key: '
|
|
10487
|
+
return hAsync("span", { key: '8bc63b5438fa6bf2ffa729afd07a793b96f3167d', class: this.class, innerHTML: bin });
|
|
10192
10488
|
}
|
|
10193
10489
|
static get cmpMeta() { return {
|
|
10194
10490
|
"$flags$": 0,
|
|
@@ -10211,7 +10507,7 @@ class EdsIconBluesky {
|
|
|
10211
10507
|
this.class = '';
|
|
10212
10508
|
}
|
|
10213
10509
|
render() {
|
|
10214
|
-
return hAsync("span", { key: '
|
|
10510
|
+
return hAsync("span", { key: 'b42f25c9a2405c94d83c917026f376c9803058d1', class: this.class, innerHTML: bluesky });
|
|
10215
10511
|
}
|
|
10216
10512
|
static get cmpMeta() { return {
|
|
10217
10513
|
"$flags$": 0,
|
|
@@ -10234,7 +10530,7 @@ class EdsIconBookmark {
|
|
|
10234
10530
|
this.class = '';
|
|
10235
10531
|
}
|
|
10236
10532
|
render() {
|
|
10237
|
-
return hAsync("span", { key: '
|
|
10533
|
+
return hAsync("span", { key: '3a7cb54b31e70a446b093453389432938c2fd9d8', class: this.class, innerHTML: bookmark });
|
|
10238
10534
|
}
|
|
10239
10535
|
static get cmpMeta() { return {
|
|
10240
10536
|
"$flags$": 0,
|
|
@@ -10257,7 +10553,7 @@ class EdsIconChevronDown {
|
|
|
10257
10553
|
this.class = '';
|
|
10258
10554
|
}
|
|
10259
10555
|
render() {
|
|
10260
|
-
return hAsync("span", { key: '
|
|
10556
|
+
return hAsync("span", { key: '49925425ac1fd676eb96b973b1419f1f2aec1c81', class: this.class, innerHTML: chevronDown });
|
|
10261
10557
|
}
|
|
10262
10558
|
static get cmpMeta() { return {
|
|
10263
10559
|
"$flags$": 0,
|
|
@@ -10280,7 +10576,7 @@ class EdsIconChevronLeft {
|
|
|
10280
10576
|
this.class = '';
|
|
10281
10577
|
}
|
|
10282
10578
|
render() {
|
|
10283
|
-
return hAsync("span", { key: '
|
|
10579
|
+
return hAsync("span", { key: '38d849e3d7e2b2f5e7df8a5624bcf988b3046b11', class: this.class, innerHTML: chevronLeft });
|
|
10284
10580
|
}
|
|
10285
10581
|
static get cmpMeta() { return {
|
|
10286
10582
|
"$flags$": 0,
|
|
@@ -10303,7 +10599,7 @@ class EdsIconChevronRight {
|
|
|
10303
10599
|
this.class = '';
|
|
10304
10600
|
}
|
|
10305
10601
|
render() {
|
|
10306
|
-
return hAsync("span", { key: '
|
|
10602
|
+
return hAsync("span", { key: '5368c37dc49fa654d75f42a774a9a3ad93db5261', class: this.class, innerHTML: chevronRight });
|
|
10307
10603
|
}
|
|
10308
10604
|
static get cmpMeta() { return {
|
|
10309
10605
|
"$flags$": 0,
|
|
@@ -10326,7 +10622,7 @@ class EdsIconChevronUp {
|
|
|
10326
10622
|
this.class = '';
|
|
10327
10623
|
}
|
|
10328
10624
|
render() {
|
|
10329
|
-
return hAsync("span", { key: '
|
|
10625
|
+
return hAsync("span", { key: '6479f32960c973174c4577beef2f7df7b0baebd4', class: this.class, innerHTML: chevronUp });
|
|
10330
10626
|
}
|
|
10331
10627
|
static get cmpMeta() { return {
|
|
10332
10628
|
"$flags$": 0,
|
|
@@ -10349,7 +10645,7 @@ class EdsIconClone {
|
|
|
10349
10645
|
this.class = '';
|
|
10350
10646
|
}
|
|
10351
10647
|
render() {
|
|
10352
|
-
return hAsync("span", { key: '
|
|
10648
|
+
return hAsync("span", { key: 'a31ea2174a7c266b62264dad10c486f7dc27f043', class: this.class, innerHTML: clone });
|
|
10353
10649
|
}
|
|
10354
10650
|
static get cmpMeta() { return {
|
|
10355
10651
|
"$flags$": 0,
|
|
@@ -10372,7 +10668,7 @@ class EdsIconClose {
|
|
|
10372
10668
|
this.class = '';
|
|
10373
10669
|
}
|
|
10374
10670
|
render() {
|
|
10375
|
-
return hAsync("span", { key: '
|
|
10671
|
+
return hAsync("span", { key: 'b4283a9fbc348923169a4d56ad6f3b5aad4a13c8', class: this.class, innerHTML: close });
|
|
10376
10672
|
}
|
|
10377
10673
|
static get cmpMeta() { return {
|
|
10378
10674
|
"$flags$": 0,
|
|
@@ -10395,7 +10691,7 @@ class EdsIconCopy {
|
|
|
10395
10691
|
this.class = '';
|
|
10396
10692
|
}
|
|
10397
10693
|
render() {
|
|
10398
|
-
return hAsync("span", { key: '
|
|
10694
|
+
return hAsync("span", { key: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: copy });
|
|
10399
10695
|
}
|
|
10400
10696
|
static get cmpMeta() { return {
|
|
10401
10697
|
"$flags$": 0,
|
|
@@ -10409,6 +10705,29 @@ class EdsIconCopy {
|
|
|
10409
10705
|
}; }
|
|
10410
10706
|
}
|
|
10411
10707
|
|
|
10708
|
+
/**
|
|
10709
|
+
* @internal
|
|
10710
|
+
*/
|
|
10711
|
+
class EdsIconDownload {
|
|
10712
|
+
constructor(hostRef) {
|
|
10713
|
+
registerInstance(this, hostRef);
|
|
10714
|
+
this.class = '';
|
|
10715
|
+
}
|
|
10716
|
+
render() {
|
|
10717
|
+
return hAsync("span", { key: '2fbaad3eebee32d200d0f655b396ea937901f3bd', class: this.class, innerHTML: download });
|
|
10718
|
+
}
|
|
10719
|
+
static get cmpMeta() { return {
|
|
10720
|
+
"$flags$": 0,
|
|
10721
|
+
"$tagName$": "eds-icon-download",
|
|
10722
|
+
"$members$": {
|
|
10723
|
+
"class": [1]
|
|
10724
|
+
},
|
|
10725
|
+
"$listeners$": undefined,
|
|
10726
|
+
"$lazyBundleId$": "-",
|
|
10727
|
+
"$attrsToReflect$": []
|
|
10728
|
+
}; }
|
|
10729
|
+
}
|
|
10730
|
+
|
|
10412
10731
|
/**
|
|
10413
10732
|
* @internal
|
|
10414
10733
|
*/
|
|
@@ -10418,7 +10737,7 @@ class EdsIconDraft {
|
|
|
10418
10737
|
this.class = '';
|
|
10419
10738
|
}
|
|
10420
10739
|
render() {
|
|
10421
|
-
return hAsync("span", { key: '
|
|
10740
|
+
return hAsync("span", { key: '408c981cebc10ab4bcf91e2765e7971ad0a83975', class: this.class, innerHTML: draft });
|
|
10422
10741
|
}
|
|
10423
10742
|
static get cmpMeta() { return {
|
|
10424
10743
|
"$flags$": 0,
|
|
@@ -10441,7 +10760,7 @@ class EdsIconEdit {
|
|
|
10441
10760
|
this.class = '';
|
|
10442
10761
|
}
|
|
10443
10762
|
render() {
|
|
10444
|
-
return hAsync("span", { key: '
|
|
10763
|
+
return hAsync("span", { key: 'eb8558a13bcab457f260b0c3cddc235867b7f45a', class: this.class, innerHTML: edit });
|
|
10445
10764
|
}
|
|
10446
10765
|
static get cmpMeta() { return {
|
|
10447
10766
|
"$flags$": 0,
|
|
@@ -10464,7 +10783,7 @@ class EdsIconEu {
|
|
|
10464
10783
|
this.class = '';
|
|
10465
10784
|
}
|
|
10466
10785
|
render() {
|
|
10467
|
-
return hAsync("span", { key: '
|
|
10786
|
+
return hAsync("span", { key: '994f1becb4b226a2d2f022d9bd22a690fad5aab4', class: this.class, innerHTML: euSvg });
|
|
10468
10787
|
}
|
|
10469
10788
|
static get cmpMeta() { return {
|
|
10470
10789
|
"$flags$": 0,
|
|
@@ -10487,7 +10806,7 @@ class EdsIconExternal {
|
|
|
10487
10806
|
this.class = '';
|
|
10488
10807
|
}
|
|
10489
10808
|
render() {
|
|
10490
|
-
return hAsync("span", { key: '
|
|
10809
|
+
return hAsync("span", { key: '0825d1c73c5f311f7a9d5394542f6fd74791a543', class: this.class, innerHTML: arrowDiagonal });
|
|
10491
10810
|
}
|
|
10492
10811
|
static get cmpMeta() { return {
|
|
10493
10812
|
"$flags$": 0,
|
|
@@ -10510,7 +10829,7 @@ class EdsIconFacebook {
|
|
|
10510
10829
|
this.class = '';
|
|
10511
10830
|
}
|
|
10512
10831
|
render() {
|
|
10513
|
-
return hAsync("span", { key: '
|
|
10832
|
+
return hAsync("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: facebook });
|
|
10514
10833
|
}
|
|
10515
10834
|
static get cmpMeta() { return {
|
|
10516
10835
|
"$flags$": 0,
|
|
@@ -10533,7 +10852,7 @@ class EdsIconGitlab {
|
|
|
10533
10852
|
this.class = '';
|
|
10534
10853
|
}
|
|
10535
10854
|
render() {
|
|
10536
|
-
return hAsync("span", { key: '
|
|
10855
|
+
return hAsync("span", { key: '4c0a731d1a67884107112bc5941faf2001dbbfd5', class: this.class, innerHTML: gitlabBlack });
|
|
10537
10856
|
}
|
|
10538
10857
|
static get cmpMeta() { return {
|
|
10539
10858
|
"$flags$": 0,
|
|
@@ -10556,7 +10875,7 @@ class EdsIconLinkedin {
|
|
|
10556
10875
|
this.class = '';
|
|
10557
10876
|
}
|
|
10558
10877
|
render() {
|
|
10559
|
-
return hAsync("span", { key: '
|
|
10878
|
+
return hAsync("span", { key: '36bf44e06217f9b2521f374028a1316fb17ff21a', class: this.class, innerHTML: linkedin });
|
|
10560
10879
|
}
|
|
10561
10880
|
static get cmpMeta() { return {
|
|
10562
10881
|
"$flags$": 0,
|
|
@@ -10579,7 +10898,7 @@ class EdsIconLoader {
|
|
|
10579
10898
|
this.class = '';
|
|
10580
10899
|
}
|
|
10581
10900
|
render() {
|
|
10582
|
-
return hAsync("span", { key: '
|
|
10901
|
+
return hAsync("span", { key: '2207bbac640cf28a2d6d5d725f681e56c8c53011', class: this.class, innerHTML: loader });
|
|
10583
10902
|
}
|
|
10584
10903
|
static get cmpMeta() { return {
|
|
10585
10904
|
"$flags$": 0,
|
|
@@ -10602,7 +10921,7 @@ class EdsIconMastodon {
|
|
|
10602
10921
|
this.class = '';
|
|
10603
10922
|
}
|
|
10604
10923
|
render() {
|
|
10605
|
-
return hAsync("span", { key: '
|
|
10924
|
+
return hAsync("span", { key: 'b7ba0f10df196243538aaeefe3db0ee5f594f885', class: this.class, innerHTML: mastodon });
|
|
10606
10925
|
}
|
|
10607
10926
|
static get cmpMeta() { return {
|
|
10608
10927
|
"$flags$": 0,
|
|
@@ -10625,7 +10944,7 @@ class EdsIconMenu {
|
|
|
10625
10944
|
this.class = '';
|
|
10626
10945
|
}
|
|
10627
10946
|
render() {
|
|
10628
|
-
return hAsync("span", { key: '
|
|
10947
|
+
return hAsync("span", { key: '5f14cbe4b3ca88f7301c1561c092278b31d04326', class: this.class, innerHTML: menu });
|
|
10629
10948
|
}
|
|
10630
10949
|
static get cmpMeta() { return {
|
|
10631
10950
|
"$flags$": 0,
|
|
@@ -10648,7 +10967,7 @@ class EdsIconMinus {
|
|
|
10648
10967
|
this.class = '';
|
|
10649
10968
|
}
|
|
10650
10969
|
render() {
|
|
10651
|
-
return hAsync("span", { key: '
|
|
10970
|
+
return hAsync("span", { key: 'b19c12426db0068934252c6197ba04789d42f5e2', class: this.class, innerHTML: minus });
|
|
10652
10971
|
}
|
|
10653
10972
|
static get cmpMeta() { return {
|
|
10654
10973
|
"$flags$": 0,
|
|
@@ -10671,7 +10990,7 @@ class EdsIconMore {
|
|
|
10671
10990
|
this.class = '';
|
|
10672
10991
|
}
|
|
10673
10992
|
render() {
|
|
10674
|
-
return hAsync("span", { key: '
|
|
10993
|
+
return hAsync("span", { key: 'b6d2b6d7d156c715e2f7d2192d93a4326b22dfc5', class: this.class, innerHTML: more });
|
|
10675
10994
|
}
|
|
10676
10995
|
static get cmpMeta() { return {
|
|
10677
10996
|
"$flags$": 0,
|
|
@@ -10694,7 +11013,7 @@ class EdsIconPaper {
|
|
|
10694
11013
|
this.class = '';
|
|
10695
11014
|
}
|
|
10696
11015
|
render() {
|
|
10697
|
-
return hAsync("span", { key: '
|
|
11016
|
+
return hAsync("span", { key: '497345c7f18b9cceaf00030b7b3ab052f482c7bf', class: this.class, innerHTML: paper });
|
|
10698
11017
|
}
|
|
10699
11018
|
static get cmpMeta() { return {
|
|
10700
11019
|
"$flags$": 0,
|
|
@@ -10717,7 +11036,7 @@ class EdsIconPlus {
|
|
|
10717
11036
|
this.class = '';
|
|
10718
11037
|
}
|
|
10719
11038
|
render() {
|
|
10720
|
-
return hAsync("span", { key: '
|
|
11039
|
+
return hAsync("span", { key: 'd9fdc443e6da9465453f5f201b5782437a45402e', class: this.class, innerHTML: plus });
|
|
10721
11040
|
}
|
|
10722
11041
|
static get cmpMeta() { return {
|
|
10723
11042
|
"$flags$": 0,
|
|
@@ -10740,7 +11059,7 @@ class EdsIconPortal {
|
|
|
10740
11059
|
this.class = '';
|
|
10741
11060
|
}
|
|
10742
11061
|
render() {
|
|
10743
|
-
return hAsync("span", { key: '
|
|
11062
|
+
return hAsync("span", { key: '27be525d5922ed05755e207adc914c7e86fb7033', class: this.class, innerHTML: portal });
|
|
10744
11063
|
}
|
|
10745
11064
|
static get cmpMeta() { return {
|
|
10746
11065
|
"$flags$": 0,
|
|
@@ -10763,7 +11082,7 @@ class EdsIconPrivate {
|
|
|
10763
11082
|
this.class = '';
|
|
10764
11083
|
}
|
|
10765
11084
|
render() {
|
|
10766
|
-
return hAsync("span", { key: '
|
|
11085
|
+
return hAsync("span", { key: '16aa24573646bd0002f9b259dba4ab7bb150d12e', class: this.class, innerHTML: privat });
|
|
10767
11086
|
}
|
|
10768
11087
|
static get cmpMeta() { return {
|
|
10769
11088
|
"$flags$": 0,
|
|
@@ -10786,7 +11105,7 @@ class EdsIconPublic {
|
|
|
10786
11105
|
this.class = '';
|
|
10787
11106
|
}
|
|
10788
11107
|
render() {
|
|
10789
|
-
return hAsync("span", { key: '
|
|
11108
|
+
return hAsync("span", { key: '1aedbead2feca84807fa4dd3d10092c3a4632365', class: this.class, innerHTML: pub });
|
|
10790
11109
|
}
|
|
10791
11110
|
static get cmpMeta() { return {
|
|
10792
11111
|
"$flags$": 0,
|
|
@@ -10809,7 +11128,7 @@ class EdsIconSearch {
|
|
|
10809
11128
|
this.class = '';
|
|
10810
11129
|
}
|
|
10811
11130
|
render() {
|
|
10812
|
-
return hAsync("span", { key: '
|
|
11131
|
+
return hAsync("span", { key: '4d7a6781f65c4fc7159dd29a9d02b2d5333915fd', class: this.class, innerHTML: search });
|
|
10813
11132
|
}
|
|
10814
11133
|
static get cmpMeta() { return {
|
|
10815
11134
|
"$flags$": 0,
|
|
@@ -10832,7 +11151,7 @@ class EdsIconStar {
|
|
|
10832
11151
|
this.class = '';
|
|
10833
11152
|
}
|
|
10834
11153
|
render() {
|
|
10835
|
-
return hAsync("span", { key: '
|
|
11154
|
+
return hAsync("span", { key: '4410f1ce5f3b350e75b31ba6089540a9281e474b', class: this.class, innerHTML: star });
|
|
10836
11155
|
}
|
|
10837
11156
|
static get cmpMeta() { return {
|
|
10838
11157
|
"$flags$": 0,
|
|
@@ -10855,7 +11174,7 @@ class EdsIconStart {
|
|
|
10855
11174
|
this.class = '';
|
|
10856
11175
|
}
|
|
10857
11176
|
render() {
|
|
10858
|
-
return hAsync("span", { key: '
|
|
11177
|
+
return hAsync("span", { key: '3f33c676334b9e7dd18708459ebfb3e3a9cf12a4', class: this.class, innerHTML: start });
|
|
10859
11178
|
}
|
|
10860
11179
|
static get cmpMeta() { return {
|
|
10861
11180
|
"$flags$": 0,
|
|
@@ -10878,7 +11197,7 @@ class EdsIconSuccess {
|
|
|
10878
11197
|
this.class = '';
|
|
10879
11198
|
}
|
|
10880
11199
|
render() {
|
|
10881
|
-
return hAsync("span", { key: '
|
|
11200
|
+
return hAsync("span", { key: '0130a392a537a653154383ccd21a1516100459e3', class: this.class, innerHTML: success });
|
|
10882
11201
|
}
|
|
10883
11202
|
static get cmpMeta() { return {
|
|
10884
11203
|
"$flags$": 0,
|
|
@@ -10901,7 +11220,7 @@ class EdsIconThumbsDown {
|
|
|
10901
11220
|
this.class = '';
|
|
10902
11221
|
}
|
|
10903
11222
|
render() {
|
|
10904
|
-
return hAsync("span", { key: '
|
|
11223
|
+
return hAsync("span", { key: '747187922f5c94e96c67f5455e4ed3b8afd47885', class: this.class, innerHTML: thumbsDown });
|
|
10905
11224
|
}
|
|
10906
11225
|
static get cmpMeta() { return {
|
|
10907
11226
|
"$flags$": 0,
|
|
@@ -10924,7 +11243,7 @@ class EdsIconThumbsUp {
|
|
|
10924
11243
|
this.class = '';
|
|
10925
11244
|
}
|
|
10926
11245
|
render() {
|
|
10927
|
-
return hAsync("span", { key: '
|
|
11246
|
+
return hAsync("span", { key: '051029abca2749f24ae3407ff3ae36b20007c924', class: this.class, innerHTML: thumbsUp });
|
|
10928
11247
|
}
|
|
10929
11248
|
static get cmpMeta() { return {
|
|
10930
11249
|
"$flags$": 0,
|
|
@@ -10947,7 +11266,7 @@ class EdsIconTutorial {
|
|
|
10947
11266
|
this.class = '';
|
|
10948
11267
|
}
|
|
10949
11268
|
render() {
|
|
10950
|
-
return hAsync("span", { key: '
|
|
11269
|
+
return hAsync("span", { key: '3d0f88fa7ebbec278f9cc1394ed87809ff7c49d1', class: this.class, innerHTML: tutorial });
|
|
10951
11270
|
}
|
|
10952
11271
|
static get cmpMeta() { return {
|
|
10953
11272
|
"$flags$": 0,
|
|
@@ -10970,7 +11289,7 @@ class EdsIconTwitter {
|
|
|
10970
11289
|
this.class = '';
|
|
10971
11290
|
}
|
|
10972
11291
|
render() {
|
|
10973
|
-
return hAsync("span", { key: '
|
|
11292
|
+
return hAsync("span", { key: '063a941c7795658f2dd79fbdafd7ea1f8ed4b2f4', class: this.class, innerHTML: twitter });
|
|
10974
11293
|
}
|
|
10975
11294
|
static get cmpMeta() { return {
|
|
10976
11295
|
"$flags$": 0,
|
|
@@ -10993,7 +11312,7 @@ class EdsIconUnknown {
|
|
|
10993
11312
|
this.class = '';
|
|
10994
11313
|
}
|
|
10995
11314
|
render() {
|
|
10996
|
-
return hAsync("span", { key: '
|
|
11315
|
+
return hAsync("span", { key: '27f8330b13ebecd974913f83e3ae142406d08712', class: this.class, innerHTML: unknown });
|
|
10997
11316
|
}
|
|
10998
11317
|
static get cmpMeta() { return {
|
|
10999
11318
|
"$flags$": 0,
|
|
@@ -11016,7 +11335,7 @@ class EdsIconUpdown {
|
|
|
11016
11335
|
this.class = '';
|
|
11017
11336
|
}
|
|
11018
11337
|
render() {
|
|
11019
|
-
return hAsync("span", { key: '
|
|
11338
|
+
return hAsync("span", { key: 'ef19f500cdd0289666d512e73952e6ae1ba9e7dc', class: this.class, innerHTML: upDonw });
|
|
11020
11339
|
}
|
|
11021
11340
|
static get cmpMeta() { return {
|
|
11022
11341
|
"$flags$": 0,
|
|
@@ -11039,7 +11358,7 @@ class EdsIconUser {
|
|
|
11039
11358
|
this.class = '';
|
|
11040
11359
|
}
|
|
11041
11360
|
render() {
|
|
11042
|
-
return hAsync("span", { key: '
|
|
11361
|
+
return hAsync("span", { key: '134abbd42c49915f772f5d2aed7b53ecc5a0bd8a', class: this.class, innerHTML: user });
|
|
11043
11362
|
}
|
|
11044
11363
|
static get cmpMeta() { return {
|
|
11045
11364
|
"$flags$": 0,
|
|
@@ -11062,7 +11381,7 @@ class EdsIconView {
|
|
|
11062
11381
|
this.class = '';
|
|
11063
11382
|
}
|
|
11064
11383
|
render() {
|
|
11065
|
-
return hAsync("span", { key: '
|
|
11384
|
+
return hAsync("span", { key: '5725348031c6f0b6944e765b1b52e7f5759493aa', class: this.class, innerHTML: view });
|
|
11066
11385
|
}
|
|
11067
11386
|
static get cmpMeta() { return {
|
|
11068
11387
|
"$flags$": 0,
|
|
@@ -11141,7 +11460,7 @@ class EdsIconYoutube {
|
|
|
11141
11460
|
this.class = '';
|
|
11142
11461
|
}
|
|
11143
11462
|
render() {
|
|
11144
|
-
return hAsync("span", { key: '
|
|
11463
|
+
return hAsync("span", { key: '7c8d8693dc6e0a03af0b0a68190d451fee84a013', class: this.class, innerHTML: youtube });
|
|
11145
11464
|
}
|
|
11146
11465
|
static get cmpMeta() { return {
|
|
11147
11466
|
"$flags$": 0,
|
|
@@ -11217,10 +11536,10 @@ class EdsImg {
|
|
|
11217
11536
|
imgOpts['loading'] = 'lazy';
|
|
11218
11537
|
imgOpts['decoding'] = 'async';
|
|
11219
11538
|
}
|
|
11220
|
-
return (hAsync("div", { key: '
|
|
11539
|
+
return (hAsync("div", { key: '7d704bdd14072d6ce69632d6f2de3270ff393b87', class: {
|
|
11221
11540
|
'items-center justify-center': true,
|
|
11222
11541
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11223
|
-
} }, hAsync("picture", { key: '
|
|
11542
|
+
} }, hAsync("picture", { key: '724f384b7b9f112727d3ab4ecdab5f769e581b26' }, this.formats.map((format) => (hAsync("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), hAsync("img", Object.assign({ key: '8b12b640a9d66fba117676e6bd81659c72a8e15c', ref: (el) => (this.img = el), class: {
|
|
11224
11543
|
'effect-opacity object-cover object-center': true,
|
|
11225
11544
|
'opacity-100': this.loaded,
|
|
11226
11545
|
'opacity-0': !this.loaded
|
|
@@ -11302,7 +11621,7 @@ class EdsInput {
|
|
|
11302
11621
|
render() {
|
|
11303
11622
|
const withIcon = !!this.icon;
|
|
11304
11623
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11305
|
-
return (hAsync("div", { key: '
|
|
11624
|
+
return (hAsync("div", { key: '4c49edfceefe448b6f5bb29284f0b757342a6003', class: "relative flex items-center" }, this.type === 'textarea' ? (hAsync("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (hAsync("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (hAsync("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (hAsync("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
|
|
11306
11625
|
? {
|
|
11307
11626
|
min: this.min,
|
|
11308
11627
|
max: this.max,
|
|
@@ -11313,7 +11632,7 @@ class EdsInput {
|
|
|
11313
11632
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11314
11633
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11315
11634
|
${this.error ? 'input-error' : ''}
|
|
11316
|
-
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: '
|
|
11635
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: 'df877332c68d4783d5f0f8d8beb94c1859cd00da', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (hAsync("eds-icon-wrapper", { key: '94f7d3d75f5c578c10ab72b6140785b0b5988a13', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
11317
11636
|
}
|
|
11318
11637
|
get el() { return getElement(this); }
|
|
11319
11638
|
static get watchers() { return {
|
|
@@ -11452,7 +11771,7 @@ class EdsInputField {
|
|
|
11452
11771
|
}
|
|
11453
11772
|
render() {
|
|
11454
11773
|
const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
|
|
11455
|
-
return (hAsync("div", { key: '
|
|
11774
|
+
return (hAsync("div", { key: '8351609cb76699040d692f3a99746970a1498bea' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (hAsync("fieldset", { class: "space-y-4" }, hAsync("div", { class: "flex justify-between mb-4" }, this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (hAsync("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (hAsync("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, hAsync("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), hAsync("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (hAsync("div", { class: "flex items-center gap-x-8" }, hAsync("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (hAsync("div", null, hAsync("div", { class: "flex justify-between mb-4" }, this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (hAsync("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (hAsync("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (hAsync("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (hAsync("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
|
|
11456
11775
|
var _a, _b, _c;
|
|
11457
11776
|
const rangeProps = {
|
|
11458
11777
|
name: inputOpts.name,
|
|
@@ -11465,7 +11784,7 @@ class EdsInputField {
|
|
|
11465
11784
|
const opt = this.parsedOptions;
|
|
11466
11785
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11467
11786
|
return (hAsync("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
|
|
11468
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11787
|
+
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '171ca8dfbf4b30a62a05d00f5296b1aaa3d964bd', class: "mt-6" }, hAsync("eds-input-footer", { key: 'c6b7d0a9dc574a5e0dba1e62ff77934e96b4dec1', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
|
|
11469
11788
|
}
|
|
11470
11789
|
static get delegatesFocus() { return true; }
|
|
11471
11790
|
get hostEl() { return getElement(this); }
|
|
@@ -11517,7 +11836,7 @@ class EdsInputFooter {
|
|
|
11517
11836
|
this.link = undefined;
|
|
11518
11837
|
}
|
|
11519
11838
|
render() {
|
|
11520
|
-
return (hAsync("div", { key: '
|
|
11839
|
+
return (hAsync("div", { key: '4c3c1cc26e2b003f49b3cfd1c2388833c305781b' }, this.error && this.errorMessage && (hAsync("div", { key: '7e14e3a77c99ee2700fd0cd8cb1e738c11e34823', id: `error_${this.name}`, class: "text-error flex items-center" }, hAsync("eds-icon-wrapper", { key: '700bc9b58a15e985903fc91abe4e41847d1cf761', icon: "warning" }), hAsync("p", { key: 'a90a0fb49221c15125a54a0413a926174c065319', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && hAsync("p", { key: '24d7c4fb5de1bb54237282edf6e51a16f0475474', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (hAsync("a", { key: '2f01a63b36409dfddd19416777f88008f358b1cb', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
11521
11840
|
}
|
|
11522
11841
|
static get style() { return EdsInputFooterStyle0; }
|
|
11523
11842
|
static get cmpMeta() { return {
|
|
@@ -11548,7 +11867,7 @@ class EdsInputLabel {
|
|
|
11548
11867
|
this.disabled = false;
|
|
11549
11868
|
}
|
|
11550
11869
|
render() {
|
|
11551
|
-
return (hAsync("label", { key: '
|
|
11870
|
+
return (hAsync("label", { key: '51cf53579cea9effbf421c4f4ab45ef63f6770bf', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (hAsync("span", { key: '381c4e1e014d43f726e997767c76565a1979e54a' }, hAsync("span", { key: '08102ef7990f262bf56b6f5bcf70e2ef6ecb0670', "aria-hidden": "true" }, "*"), hAsync("span", { key: '6d3c6f3af5a06c5a1ee2245240cb3fbbef6cf9a8', class: "sr-only" }, "required")))));
|
|
11552
11871
|
}
|
|
11553
11872
|
static get style() { return EdsInputLabelStyle0; }
|
|
11554
11873
|
static get cmpMeta() { return {
|
|
@@ -11614,7 +11933,7 @@ class EdsInputRange {
|
|
|
11614
11933
|
return this.inputElement;
|
|
11615
11934
|
}
|
|
11616
11935
|
render() {
|
|
11617
|
-
return (hAsync("div", { key: '
|
|
11936
|
+
return (hAsync("div", { key: 'c4ce20af554533837b8fc3f7bf69bd649e26b574', class: "relative flex flex-col items-start" }, hAsync("input", { key: '924b247fd81481e648bbf44fec22185284014254', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), hAsync("p", { key: 'a3acfa464938748480e259cac4376a2be3512e6e', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
11618
11937
|
}
|
|
11619
11938
|
get el() { return getElement(this); }
|
|
11620
11939
|
static get watchers() { return {
|
|
@@ -11709,7 +12028,7 @@ class EdsInputSearch {
|
|
|
11709
12028
|
return this.inputElement;
|
|
11710
12029
|
}
|
|
11711
12030
|
render() {
|
|
11712
|
-
return (hAsync("div", { key: '
|
|
12031
|
+
return (hAsync("div", { key: 'b1232c04e55c9f0bd7b864271ca855a3de242a73', class: "relative flex items-center" }, hAsync("eds-icon-wrapper", { key: '67e51a49b994fc00cb48f2b55f54217097f4d837', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), hAsync("input", { key: 'a6526f68a35145631254e4a0380a1298242c592e', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
|
|
11713
12032
|
//onInput={this.onInput}
|
|
11714
12033
|
onChange: this.onChange })));
|
|
11715
12034
|
}
|
|
@@ -11763,12 +12082,12 @@ class EdsInputSelect {
|
|
|
11763
12082
|
const selectId = this.inputId || this.name;
|
|
11764
12083
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11765
12084
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11766
|
-
return (hAsync("div", { key: '
|
|
12085
|
+
return (hAsync("div", { key: 'b28b21c38ed5848cf08c0bc626f4ce32eddfb775', class: "relative" }, hAsync("select", { key: '727f578d43cf12568d3d3b35548a30972fc46300', id: selectId, name: this.name, class: {
|
|
11767
12086
|
input: true,
|
|
11768
12087
|
'input-error': this.error,
|
|
11769
12088
|
'px-4': true,
|
|
11770
12089
|
'py-2': true
|
|
11771
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
12090
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '9283f69f3c723d65243d8f38b92ee2fcd16d187e', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (hAsync("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), hAsync("span", { key: '63a0a9fc049f10141697028195aa28abb8d246f2', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, hAsync("eds-icon-wrapper", { key: 'aa756ea1d279a03ca7919518a15cd63b368a20a0', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
11772
12091
|
}
|
|
11773
12092
|
static get cmpMeta() { return {
|
|
11774
12093
|
"$flags$": 0,
|
|
@@ -12029,7 +12348,7 @@ class EdsLink {
|
|
|
12029
12348
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12030
12349
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12031
12350
|
: '';
|
|
12032
|
-
return (hAsync("a", { key: '
|
|
12351
|
+
return (hAsync("a", { key: 'c09fd68443e1c98a1bfb679b669f9fecfb349548', class: `${classes || ''} ${this.extraClass || ''}`, href: isInteractive ? this.url : undefined, target: this.external && isInteractive ? '_blank' : undefined, rel: this.external && isInteractive ? 'noopener noreferrer' : undefined, tabIndex: isInteractive ? 0 : -1, "aria-label": isIconOnly ? this.ariaLabel || 'Link' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.current ? 'page' : undefined, role: this.disabled ? 'link' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, hAsync("span", { key: '5bf88be39965ca8693daa611b4ca9a85cefb30d3', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && hAsync("span", { key: 'd92b36812200d809cbccfd9da7f2387a7de80699', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
12033
12352
|
}
|
|
12034
12353
|
get el() { return getElement(this); }
|
|
12035
12354
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12137,7 +12456,7 @@ class EdsLogo {
|
|
|
12137
12456
|
}
|
|
12138
12457
|
render() {
|
|
12139
12458
|
const logoContent = this.getLogo();
|
|
12140
|
-
return (hAsync("a", { key: '
|
|
12459
|
+
return (hAsync("a", { key: '550cb4d73702a6a7053adfb5ebe67ff4201e98ad', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, hAsync("div", { key: '141b0faa05a2d51d3ca97242aa910e53e910ad9d', innerHTML: logoContent })));
|
|
12141
12460
|
}
|
|
12142
12461
|
get el() { return getElement(this); }
|
|
12143
12462
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12287,7 +12606,7 @@ class EdsMatomoNotice {
|
|
|
12287
12606
|
}; }
|
|
12288
12607
|
}
|
|
12289
12608
|
|
|
12290
|
-
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-
|
|
12609
|
+
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999991{z-index:9999991}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:min-w-\\[500px\\]{width:500px}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";
|
|
12291
12610
|
var EdsModalStyle0 = edsModalCss;
|
|
12292
12611
|
|
|
12293
12612
|
/**
|
|
@@ -12412,9 +12731,9 @@ class EdsModal {
|
|
|
12412
12731
|
render() {
|
|
12413
12732
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12414
12733
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12415
|
-
return (hAsync("div", { key: '
|
|
12734
|
+
return (hAsync("div", { key: 'e0f35ad87e3b21b98d8d37640f660f2fd490d748', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (hAsync("div", { key: 'cd0bc54ff3e25545709c26f19b2a30f838423250', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
12416
12735
|
,
|
|
12417
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12736
|
+
onClick: () => this.close() })), hAsync("div", { key: '314c45094d1f3b7d1b725341a3294fdca9732a26', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, hAsync("div", { key: '8401bca8601d7681d641c04d16a4efe7ba1a4a9f', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, hAsync("span", { key: '9a761bf7dc2a97d192a0d280533e6bbcba1871d2', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), hAsync("eds-button", { key: '631a15d8b010215d68243bcd43ec5c45899474bf', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), hAsync("div", { key: '6718fd42a10f6f861fb910e1b32d42607cf8b7bf', class: "pt-8 px-20 py-20" }, hAsync("slot", { key: 'ac9289dd32dcd985d79c882cddb3203b57f42101' })))));
|
|
12418
12737
|
}
|
|
12419
12738
|
get el() { return getElement(this); }
|
|
12420
12739
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12504,13 +12823,13 @@ class EdsNps {
|
|
|
12504
12823
|
}
|
|
12505
12824
|
render() {
|
|
12506
12825
|
const count = this.max - this.min + 1;
|
|
12507
|
-
|
|
12508
|
-
return (hAsync("div", { key: '
|
|
12826
|
+
//onst fallback = 0;
|
|
12827
|
+
return (hAsync("div", { key: '51e0d272693fd42d1f239f8498d9a5744dead8d7', class: "eds-nps" }, hAsync("eds-input-label", { key: 'f9d3b65985e221f9608da3aba22cc1dc4dd54417', id: "nps-question", name: "nps-question", label: this.question }), hAsync("div", { key: '00b22eff70fd1dd3d210e17aaef5df2057f99bb7', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
|
|
12509
12828
|
const val = this.min + i;
|
|
12510
12829
|
const isSelected = val === this.selectedValue;
|
|
12511
|
-
const tabIndex =
|
|
12830
|
+
const tabIndex = isSelected ? 0 : -1;
|
|
12512
12831
|
return (hAsync("div", { class: "grid-col-span-1", key: val }, hAsync("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
|
|
12513
|
-
})), hAsync("div", { key: '
|
|
12832
|
+
})), hAsync("div", { key: '7289bd6476a2080be3c02011240e2493b84079e5', class: "flex justify-between mt-8" }, hAsync("span", { key: 'ebfcebd9aa3d11cf298e44987debd8edef1f6e40', class: "f-ui-04 text-light ml-4" }, this.leftLabel), hAsync("span", { key: '002f9878b267439af9f83f9ffd1b52eaef46b929', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
12514
12833
|
}
|
|
12515
12834
|
get el() { return getElement(this); }
|
|
12516
12835
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12529,7 +12848,7 @@ class EdsNps {
|
|
|
12529
12848
|
}; }
|
|
12530
12849
|
}
|
|
12531
12850
|
|
|
12532
|
-
const edsPaginationCss = "ul,menu{list-style:none;margin:0;padding:0}.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)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-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-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";
|
|
12851
|
+
const edsPaginationCss = "ul,menu{list-style:none;margin:0;padding:0}.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)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-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-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";
|
|
12533
12852
|
var EdsPaginationStyle0 = edsPaginationCss;
|
|
12534
12853
|
|
|
12535
12854
|
/**
|
|
@@ -12772,7 +13091,7 @@ class EdsPagination {
|
|
|
12772
13091
|
if (newPage !== this.currentPage) {
|
|
12773
13092
|
this.links = this.links.map((link) => typeof link === 'object' ? Object.assign(Object.assign({}, link), { current: parseInt(link.label) === newPage }) : link);
|
|
12774
13093
|
const pageChangeEvent = new CustomEvent('page', {
|
|
12775
|
-
detail: newPage,
|
|
13094
|
+
detail: { value: newPage },
|
|
12776
13095
|
bubbles: true,
|
|
12777
13096
|
composed: true
|
|
12778
13097
|
});
|
|
@@ -12782,7 +13101,7 @@ class EdsPagination {
|
|
|
12782
13101
|
}
|
|
12783
13102
|
render() {
|
|
12784
13103
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12785
|
-
return (hAsync("div", { key: '
|
|
13104
|
+
return (hAsync("div", { key: 'bf34cb68555555ef984592b261929cfb5ef93048' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: '47b8034e6fd839151cdaff04d4df43fec520ce40', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, hAsync("span", { key: 'd9d340393777b7b6e808fa21d38f691f1002b363', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (hAsync("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, hAsync("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, hAsync("li", { class: "mr-auto" }, this.useButtons ? (hAsync("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, hAsync("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
|
|
12786
13105
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12787
13106
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12788
13107
|
}
|
|
@@ -12989,7 +13308,7 @@ class EdsProgressBar {
|
|
|
12989
13308
|
]
|
|
12990
13309
|
.filter(Boolean)
|
|
12991
13310
|
.join(' ');
|
|
12992
|
-
return (hAsync("div", { key: '
|
|
13311
|
+
return (hAsync("div", { key: '6a0e7cb42770cecd023f07cd26a3e2716a9c9905', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, hAsync("div", { key: '854743f0fc1b916ec24c7e657349871f2175fc64', class: fillClasses, style: { width: `${progressValue}%` } }), hAsync("div", { key: '74d46ff06e9b41d81563b49c1939a989e32877d5', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, hAsync("span", { key: '0c5925f73934b71e96c6d006c4f7b3a21d144b74', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
12993
13312
|
}
|
|
12994
13313
|
static get style() { return EdsProgressBarStyle0; }
|
|
12995
13314
|
static get cmpMeta() { return {
|
|
@@ -13072,12 +13391,12 @@ class EdsRating {
|
|
|
13072
13391
|
this.onSelect(next);
|
|
13073
13392
|
}
|
|
13074
13393
|
render() {
|
|
13075
|
-
return (hAsync("div", { key: '
|
|
13394
|
+
return (hAsync("div", { key: '764b3b37545e97f028423fd5760b882e6151f767', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
13076
13395
|
const starRating = index + 1;
|
|
13077
13396
|
const isSelected = starRating <= this.selectedRating;
|
|
13078
13397
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
13079
13398
|
const checked = this.selectedRating === starRating;
|
|
13080
|
-
return (hAsync("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType,
|
|
13399
|
+
return (hAsync("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType, "aria-label": `${starRating} ${this.ratingType}${starRating > 1 ? 's' : ''}`, onClick: () => this.onSelect(starRating), tabIndex: checked || (this.selectedRating === 0 && index === 0) ? 0 : -1, intent: isSelected ? 'primary' : 'ghost', size: "large", "extra-class": "p-2" // Optional padding or styling for the star button
|
|
13081
13400
|
}));
|
|
13082
13401
|
})));
|
|
13083
13402
|
}
|
|
@@ -13122,7 +13441,7 @@ class EdsSectionCore {
|
|
|
13122
13441
|
}
|
|
13123
13442
|
render() {
|
|
13124
13443
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13125
|
-
return (hAsync(TagType, { key: '
|
|
13444
|
+
return (hAsync(TagType, { key: '4765a07e798f1a622c25ec145c31345b27e1815d' }, hAsync("eds-section-heading", { key: 'a320ac532863eaabbc1901ab5d9e9d0c14ae7556', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '8de34d1949c0a7d0d83f977d18d36f435444401d' })));
|
|
13126
13445
|
}
|
|
13127
13446
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13128
13447
|
static get cmpMeta() { return {
|
|
@@ -13177,12 +13496,12 @@ class EdsSectionHeading {
|
|
|
13177
13496
|
render() {
|
|
13178
13497
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13179
13498
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13180
|
-
return (hAsync(TagType, { key: '
|
|
13499
|
+
return (hAsync(TagType, { key: '960224968ba731050d2b208a07c1faddc386746b', class: {
|
|
13181
13500
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13182
13501
|
container: this.withContainer,
|
|
13183
13502
|
'pt-48': this.spacingLarge,
|
|
13184
13503
|
'pt-28': !this.spacingLarge
|
|
13185
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13504
|
+
} }, hAsync(HeadingTag, { key: 'fc93452bfe1bac130654a187d7d42ee18f273147', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13186
13505
|
}
|
|
13187
13506
|
static get cmpMeta() { return {
|
|
13188
13507
|
"$flags$": 0,
|
|
@@ -13200,7 +13519,7 @@ class EdsSectionHeading {
|
|
|
13200
13519
|
}; }
|
|
13201
13520
|
}
|
|
13202
13521
|
|
|
13203
|
-
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.
|
|
13522
|
+
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.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)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
|
|
13204
13523
|
var EdsSocialNetworksStyle0 = edsSocialNetworksCss;
|
|
13205
13524
|
|
|
13206
13525
|
/**
|
|
@@ -13254,11 +13573,9 @@ class EdsSocialNetworks {
|
|
|
13254
13573
|
/**
|
|
13255
13574
|
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
13256
13575
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13257
|
-
*
|
|
13258
|
-
* @returns {JSX.Element} The rendered JSX for the component.
|
|
13259
13576
|
*/
|
|
13260
13577
|
render() {
|
|
13261
|
-
return (hAsync("
|
|
13578
|
+
return (hAsync("nav", { key: '907adc08d4e02f34994a057146a60b734d6ab81b', "aria-label": "Social media" }, hAsync("p", { key: 'a3620851f2e31d662a812ac74e831f023d2646a4', class: "f-ui-02" }, this.heading), hAsync("ul", { key: 'b8fece03b5ed995a9dba78cf0445a4eb46787bdc', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (hAsync("li", { key: index }, hAsync("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": `EBRAINS on ${network.label}`, url: network.url, icon: network.icon, intent: "strong" })))))));
|
|
13262
13579
|
}
|
|
13263
13580
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13264
13581
|
static get cmpMeta() { return {
|
|
@@ -13349,7 +13666,7 @@ class EdsSpinner {
|
|
|
13349
13666
|
alignItems: 'center',
|
|
13350
13667
|
justifyContent: 'center'
|
|
13351
13668
|
};
|
|
13352
|
-
return (hAsync(Host, { key: '
|
|
13669
|
+
return (hAsync(Host, { key: 'dbf06a1430e3a69314ec016937a9b3ba89229353' }, hAsync("div", { key: '12a51b0eed154fd2c6b6ae4ce586630a8f61164a', class: "spinner-overlay", style: overlayStyle }, hAsync("span", { key: '0e63b80c45efec7b226b5f4277fe00e4f7bc4f1b', class: "spinner", style: spinnerStyle }), this.message && hAsync("p", { key: '8625d4589ec26c9513d1dc7a53fa17b9874fcf3c', class: "f-body-01" }, this.message))));
|
|
13353
13670
|
}
|
|
13354
13671
|
static get style() { return EdsSpinnerStyle0; }
|
|
13355
13672
|
static get cmpMeta() { return {
|
|
@@ -13433,40 +13750,77 @@ class EdsSplashScreen {
|
|
|
13433
13750
|
}; }
|
|
13434
13751
|
}
|
|
13435
13752
|
|
|
13436
|
-
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top
|
|
13753
|
+
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;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:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-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)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.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}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}";
|
|
13437
13754
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13438
13755
|
|
|
13439
13756
|
class EdsSteps {
|
|
13440
13757
|
constructor(hostRef) {
|
|
13441
13758
|
registerInstance(this, hostRef);
|
|
13442
13759
|
this.step = createEvent(this, "step", 7);
|
|
13443
|
-
this.
|
|
13444
|
-
|
|
13445
|
-
|
|
13760
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13761
|
+
this.next = createEvent(this, "next", 7);
|
|
13762
|
+
this.back = createEvent(this, "back", 7);
|
|
13763
|
+
this.handleTitleClick = (index) => {
|
|
13764
|
+
// 1) If clicking the current title, keep your existing toggle behavior
|
|
13765
|
+
if (index === this.activeStep) {
|
|
13766
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13446
13767
|
this.step.emit(this.activeStep);
|
|
13768
|
+
return;
|
|
13769
|
+
}
|
|
13770
|
+
// 2) In linear mode, block jumping *forward* when current step is gated
|
|
13771
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13772
|
+
if (forwardBlocked) {
|
|
13773
|
+
return;
|
|
13774
|
+
} // do nothing when Next/Finish would be disabled
|
|
13775
|
+
// 3) Allow jumping back or forward when not gated
|
|
13776
|
+
this.activeStep = index;
|
|
13777
|
+
this.step.emit(this.activeStep);
|
|
13778
|
+
};
|
|
13779
|
+
this.handleNext = () => {
|
|
13780
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13781
|
+
if (this.activeStep >= lastIndex) {
|
|
13782
|
+
this.activeStep = -1;
|
|
13783
|
+
this.finished.emit();
|
|
13784
|
+
return;
|
|
13785
|
+
}
|
|
13786
|
+
const target = this.activeStep + 1;
|
|
13787
|
+
this.next.emit(target);
|
|
13788
|
+
if (this.isNextDisabledFor(this.activeStep)) {
|
|
13789
|
+
return;
|
|
13790
|
+
} // block advance only if current is disabled
|
|
13791
|
+
this.activeStep = target;
|
|
13792
|
+
this.step.emit(this.activeStep);
|
|
13793
|
+
// 2) if using the boolean form, clear it when moving away from a step
|
|
13794
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13795
|
+
this.disableNext = false;
|
|
13447
13796
|
}
|
|
13448
13797
|
};
|
|
13449
13798
|
this.handleBack = () => {
|
|
13450
13799
|
if (this.activeStep > 0) {
|
|
13451
|
-
|
|
13800
|
+
const target = this.activeStep - 1;
|
|
13801
|
+
this.back.emit(target);
|
|
13802
|
+
this.activeStep = target;
|
|
13452
13803
|
this.step.emit(this.activeStep);
|
|
13804
|
+
// also clear boolean form on back
|
|
13805
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13806
|
+
this.disableNext = false;
|
|
13807
|
+
}
|
|
13453
13808
|
}
|
|
13454
13809
|
};
|
|
13455
13810
|
this.steps = [];
|
|
13456
13811
|
this.type = 'static';
|
|
13812
|
+
this.nextLabel = 'Next';
|
|
13813
|
+
this.backLabel = 'Back';
|
|
13814
|
+
this.finishLabel = 'Finish';
|
|
13815
|
+
this.disableNext = false;
|
|
13816
|
+
this.headingLevel = 'h4';
|
|
13457
13817
|
this.activeStep = 0;
|
|
13458
13818
|
}
|
|
13459
|
-
/**
|
|
13460
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
13461
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
13462
|
-
*/
|
|
13463
13819
|
componentDidLoad() {
|
|
13464
13820
|
var _a;
|
|
13465
13821
|
if (this.type === 'linear') {
|
|
13466
13822
|
const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
|
|
13467
|
-
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) =>
|
|
13468
|
-
this.emitContext(btn);
|
|
13469
|
-
});
|
|
13823
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
|
|
13470
13824
|
}
|
|
13471
13825
|
}
|
|
13472
13826
|
activeStepChanged(newValue) {
|
|
@@ -13474,19 +13828,10 @@ class EdsSteps {
|
|
|
13474
13828
|
var _a;
|
|
13475
13829
|
const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
|
|
13476
13830
|
if (activeStepContainer) {
|
|
13477
|
-
|
|
13478
|
-
btns.forEach((btn) => {
|
|
13479
|
-
this.emitContext(btn);
|
|
13480
|
-
});
|
|
13831
|
+
activeStepContainer.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
|
|
13481
13832
|
}
|
|
13482
13833
|
}, 50);
|
|
13483
13834
|
}
|
|
13484
|
-
/**
|
|
13485
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
13486
|
-
* This event provides context information about the breadcrumb component.
|
|
13487
|
-
*
|
|
13488
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
13489
|
-
*/
|
|
13490
13835
|
emitContext(linkElement) {
|
|
13491
13836
|
const event = new CustomEvent('parentContext', {
|
|
13492
13837
|
detail: {
|
|
@@ -13496,26 +13841,43 @@ class EdsSteps {
|
|
|
13496
13841
|
});
|
|
13497
13842
|
linkElement.dispatchEvent(event);
|
|
13498
13843
|
}
|
|
13499
|
-
handleStepClick(index) {
|
|
13500
|
-
this.step.emit(index);
|
|
13501
|
-
// In linear mode, update the active step on header click.
|
|
13502
|
-
if (this.type === 'linear') {
|
|
13503
|
-
this.activeStep = index;
|
|
13504
|
-
}
|
|
13505
|
-
}
|
|
13506
|
-
/**
|
|
13507
|
-
* Parse the JSON string into an array of steps.
|
|
13508
|
-
*/
|
|
13509
13844
|
get parsedSteps() {
|
|
13510
13845
|
return parseData(this.steps);
|
|
13511
13846
|
}
|
|
13847
|
+
isNextDisabledFor(index) {
|
|
13848
|
+
return Array.isArray(this.disableNext)
|
|
13849
|
+
? !!this.disableNext[index] // per-step
|
|
13850
|
+
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13851
|
+
}
|
|
13852
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13853
|
+
renderHeading(title, index) {
|
|
13854
|
+
const Tag = this.headingLevel;
|
|
13855
|
+
if (this.type === 'linear') {
|
|
13856
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13857
|
+
const onKey = (e) => {
|
|
13858
|
+
if (forwardBlocked) {
|
|
13859
|
+
return;
|
|
13860
|
+
}
|
|
13861
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
13862
|
+
e.preventDefault();
|
|
13863
|
+
this.handleTitleClick(index);
|
|
13864
|
+
}
|
|
13865
|
+
};
|
|
13866
|
+
const isOpen = this.activeStep === index;
|
|
13867
|
+
return (hAsync(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));
|
|
13868
|
+
}
|
|
13869
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13870
|
+
}
|
|
13512
13871
|
render() {
|
|
13513
13872
|
const steps = this.parsedSteps;
|
|
13514
13873
|
if (this.type === 'linear') {
|
|
13515
|
-
return (hAsync("div",
|
|
13874
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13875
|
+
const isLast = index === steps.length - 1;
|
|
13876
|
+
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("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" }), hAsync("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: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13877
|
+
})));
|
|
13516
13878
|
}
|
|
13517
|
-
// Static
|
|
13518
|
-
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index },
|
|
13879
|
+
// Static: no navigation buttons
|
|
13880
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13519
13881
|
}
|
|
13520
13882
|
get el() { return getElement(this); }
|
|
13521
13883
|
static get watchers() { return {
|
|
@@ -13528,30 +13890,64 @@ class EdsSteps {
|
|
|
13528
13890
|
"$members$": {
|
|
13529
13891
|
"steps": [1],
|
|
13530
13892
|
"type": [1],
|
|
13893
|
+
"nextLabel": [1, "next-label"],
|
|
13894
|
+
"backLabel": [1, "back-label"],
|
|
13895
|
+
"finishLabel": [1, "finish-label"],
|
|
13896
|
+
"disableNext": [1028, "disable-next"],
|
|
13897
|
+
"headingLevel": [513, "heading-level"],
|
|
13531
13898
|
"activeStep": [32]
|
|
13532
13899
|
},
|
|
13533
13900
|
"$listeners$": undefined,
|
|
13534
13901
|
"$lazyBundleId$": "-",
|
|
13535
|
-
"$attrsToReflect$": []
|
|
13902
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13536
13903
|
}; }
|
|
13537
13904
|
}
|
|
13538
13905
|
|
|
13539
|
-
const edsStepsV2Css = "
|
|
13906
|
+
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;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:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#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)}.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}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.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}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}";
|
|
13540
13907
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13541
13908
|
|
|
13542
13909
|
class EdsStepsV2 {
|
|
13543
13910
|
constructor(hostRef) {
|
|
13544
13911
|
registerInstance(this, hostRef);
|
|
13545
13912
|
this.step = createEvent(this, "step", 7);
|
|
13913
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13914
|
+
this.next = createEvent(this, "next", 7);
|
|
13915
|
+
this.back = createEvent(this, "back", 7);
|
|
13916
|
+
this.handleTitleClick = (index) => {
|
|
13917
|
+
// If clicking the same title, keep your existing toggle behavior
|
|
13918
|
+
if (index === this.activeStep) {
|
|
13919
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13920
|
+
this.step.emit(this.activeStep);
|
|
13921
|
+
return;
|
|
13922
|
+
}
|
|
13923
|
+
// Block *forward* jumps when progression is gated by disableNext (boolean)
|
|
13924
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
|
|
13925
|
+
if (forwardBlocked) {
|
|
13926
|
+
return;
|
|
13927
|
+
}
|
|
13928
|
+
// Allow back (or forward when not gated)
|
|
13929
|
+
this.activeStep = index;
|
|
13930
|
+
this.step.emit(this.activeStep);
|
|
13931
|
+
};
|
|
13546
13932
|
this.handleNext = () => {
|
|
13547
|
-
|
|
13548
|
-
if (this.activeStep
|
|
13933
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13934
|
+
if (this.activeStep >= lastIndex) {
|
|
13935
|
+
this.finished.emit();
|
|
13936
|
+
this.activeStep = -1; // collapse last step
|
|
13937
|
+
return;
|
|
13938
|
+
}
|
|
13939
|
+
const target = this.activeStep + 1;
|
|
13940
|
+
this.next.emit(target);
|
|
13941
|
+
if (!this.disableNext) {
|
|
13942
|
+
this.activeStep = target;
|
|
13549
13943
|
this.step.emit(this.activeStep);
|
|
13550
13944
|
}
|
|
13551
13945
|
};
|
|
13552
13946
|
this.handleBack = () => {
|
|
13553
13947
|
if (this.activeStep > 0) {
|
|
13554
|
-
|
|
13948
|
+
const target = this.activeStep - 1;
|
|
13949
|
+
this.back.emit(target);
|
|
13950
|
+
this.activeStep = target;
|
|
13555
13951
|
this.step.emit(this.activeStep);
|
|
13556
13952
|
}
|
|
13557
13953
|
};
|
|
@@ -13561,6 +13957,11 @@ class EdsStepsV2 {
|
|
|
13561
13957
|
this.imageWidth = undefined;
|
|
13562
13958
|
this.bg = true;
|
|
13563
13959
|
this.message = undefined;
|
|
13960
|
+
this.nextLabel = 'Next';
|
|
13961
|
+
this.backLabel = 'Back';
|
|
13962
|
+
this.finishLabel = 'Finish';
|
|
13963
|
+
this.disableNext = false;
|
|
13964
|
+
this.headingLevel = 'h4';
|
|
13564
13965
|
this.activeStep = 0;
|
|
13565
13966
|
}
|
|
13566
13967
|
componentDidLoad() {
|
|
@@ -13599,24 +14000,39 @@ class EdsStepsV2 {
|
|
|
13599
14000
|
'border-softer effect-focus-within relative rounded-lg border-2'
|
|
13600
14001
|
].join(' ');
|
|
13601
14002
|
}
|
|
13602
|
-
handleStepClick(index) {
|
|
13603
|
-
this.step.emit(index);
|
|
13604
|
-
// In linear mode, update the active step on header click.
|
|
13605
|
-
if (this.type === 'linear') {
|
|
13606
|
-
this.activeStep = index;
|
|
13607
|
-
}
|
|
13608
|
-
}
|
|
13609
14003
|
/**
|
|
13610
14004
|
* Parses the steps property into an array of Step objects.
|
|
13611
14005
|
*/
|
|
13612
14006
|
get parsedSteps() {
|
|
13613
14007
|
return parseData(this.steps);
|
|
13614
14008
|
}
|
|
14009
|
+
isNextDisabledForCurrent() {
|
|
14010
|
+
return !!this.disableNext;
|
|
14011
|
+
}
|
|
14012
|
+
/** Render the semantic heading element */
|
|
14013
|
+
renderHeading(title, index) {
|
|
14014
|
+
const Tag = this.headingLevel;
|
|
14015
|
+
if (this.type === 'linear') {
|
|
14016
|
+
const isOpen = this.activeStep === index;
|
|
14017
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledForCurrent();
|
|
14018
|
+
const onKey = (e) => {
|
|
14019
|
+
if (forwardBlocked) {
|
|
14020
|
+
return;
|
|
14021
|
+
}
|
|
14022
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
14023
|
+
e.preventDefault();
|
|
14024
|
+
this.handleTitleClick(index);
|
|
14025
|
+
}
|
|
14026
|
+
};
|
|
14027
|
+
return (hAsync(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));
|
|
14028
|
+
}
|
|
14029
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
14030
|
+
}
|
|
13615
14031
|
render() {
|
|
13616
14032
|
const steps = this.parsedSteps;
|
|
13617
|
-
return (hAsync("div", { key: '
|
|
14033
|
+
return (hAsync("div", { key: 'b486aa34dfab4902cd6569cc2ce228104ca536cd', class: this.articleClasses() }, this.imageSrc ? (hAsync("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, hAsync("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (hAsync("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, hAsync("div", { class: "p-24" }, hAsync("span", { class: "text-inverse f-heading-04 " }, this.message))))), hAsync("div", { key: 'e2a928ecb67caed4885c9e364621b422249610f1', class: "pb-20 px-8" }, this.type === 'linear' ? (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: index === 0 ? 'step' : 'step space-y-16', key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center" }, hAsync("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" }), hAsync("eds-button", { label: index === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
|
|
13618
14034
|
// Static mode: show all steps with their content.
|
|
13619
|
-
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index },
|
|
14035
|
+
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
13620
14036
|
}
|
|
13621
14037
|
get el() { return getElement(this); }
|
|
13622
14038
|
static get watchers() { return {
|
|
@@ -13633,11 +14049,16 @@ class EdsStepsV2 {
|
|
|
13633
14049
|
"imageWidth": [2, "image-width"],
|
|
13634
14050
|
"bg": [4],
|
|
13635
14051
|
"message": [1],
|
|
14052
|
+
"nextLabel": [1, "next-label"],
|
|
14053
|
+
"backLabel": [1, "back-label"],
|
|
14054
|
+
"finishLabel": [1, "finish-label"],
|
|
14055
|
+
"disableNext": [4, "disable-next"],
|
|
14056
|
+
"headingLevel": [513, "heading-level"],
|
|
13636
14057
|
"activeStep": [32]
|
|
13637
14058
|
},
|
|
13638
14059
|
"$listeners$": undefined,
|
|
13639
14060
|
"$lazyBundleId$": "-",
|
|
13640
|
-
"$attrsToReflect$": []
|
|
14061
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13641
14062
|
}; }
|
|
13642
14063
|
}
|
|
13643
14064
|
|
|
@@ -13691,11 +14112,11 @@ class EdsSwitch {
|
|
|
13691
14112
|
: this.labelOff
|
|
13692
14113
|
: 'Toggle switch'
|
|
13693
14114
|
: undefined;
|
|
13694
|
-
return (hAsync("div", { key: '
|
|
14115
|
+
return (hAsync("div", { key: 'd73bf797be76e256e065ab8b4fbe68a44802d3f1', class: "switch-container" }, this.labelOff && (hAsync("span", { key: 'f4897e3d9948358a82bd61ea26c86e0d2eba81b5', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), hAsync("button", { key: 'a01753fce0fedbf8a25d2cd64c662da8e69fef95', 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: {
|
|
13695
14116
|
switch: true,
|
|
13696
14117
|
'switch--checked': this.checked,
|
|
13697
14118
|
'switch--disabled': this.disabled
|
|
13698
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
14119
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: 'eee315ce803b246cbe73e9d42635cbaa775febdb', class: "switch-handle" })), this.labelOn && (hAsync("span", { key: 'f1229ffea8041dea2237a032292a4465fc76e216', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
13699
14120
|
}
|
|
13700
14121
|
get el() { return getElement(this); }
|
|
13701
14122
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -13714,7 +14135,7 @@ class EdsSwitch {
|
|
|
13714
14135
|
}; }
|
|
13715
14136
|
}
|
|
13716
14137
|
|
|
13717
|
-
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}.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}";
|
|
14138
|
+
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}";
|
|
13718
14139
|
var EdsTableStyle0 = edsTableCss;
|
|
13719
14140
|
|
|
13720
14141
|
/**
|
|
@@ -13852,7 +14273,7 @@ class EdsTable {
|
|
|
13852
14273
|
}
|
|
13853
14274
|
const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
|
|
13854
14275
|
if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
|
|
13855
|
-
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail));
|
|
14276
|
+
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail.value));
|
|
13856
14277
|
paginationEl.setAttribute('listener-attached', 'true');
|
|
13857
14278
|
}
|
|
13858
14279
|
}
|
|
@@ -13901,7 +14322,9 @@ class EdsTable {
|
|
|
13901
14322
|
return (hAsync("eds-input-field", { name: `chc-${actionName}`, label: act.label, type: "checkbox", checked: checked, onChange: (e) => this.emitAction(act.name, row, e.target.checked) }));
|
|
13902
14323
|
}
|
|
13903
14324
|
// Let all action buttons be focusable naturally
|
|
13904
|
-
|
|
14325
|
+
const showLabel = act.showLabel === true;
|
|
14326
|
+
const btn = (hAsync("eds-button", { icon: act.icon, label: showLabel ? act.label : null, iconPos: "left", pill: true, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(act.name, row) }));
|
|
14327
|
+
return showLabel ? btn : hAsync("eds-tooltip", { content: act.label }, btn);
|
|
13905
14328
|
}
|
|
13906
14329
|
emitAction(actionName, row, checked) {
|
|
13907
14330
|
sendAnalytics({
|
|
@@ -13947,7 +14370,7 @@ class EdsTable {
|
|
|
13947
14370
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
13948
14371
|
const paginatedRows = this.getPaginatedRows();
|
|
13949
14372
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
13950
|
-
return (hAsync("div", { key: '
|
|
14373
|
+
return (hAsync("div", { key: '0c986dec22a52676b110fad1f7f82ef792da796e' }, this.searchEnabled && (hAsync("div", { key: '855c5c3d6c2b86e75a210c0296524bc8029e37f2' }, hAsync("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: '62b18340bbf992dba888c2d24ff306ada8a1a985', class: "mt-20" }, hAsync("table", { key: '656dd0dd7f99611c2bd9beea4cd1f37f57da1384', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '1278ea89f588aa52c215c32bcc03c424e4501fed' }, hAsync("tr", { key: '186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
13951
14374
|
var _a;
|
|
13952
14375
|
if (col === 'actions') {
|
|
13953
14376
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -13956,7 +14379,7 @@ class EdsTable {
|
|
|
13956
14379
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
13957
14380
|
}
|
|
13958
14381
|
return null;
|
|
13959
|
-
}))), hAsync("tbody", { key: '
|
|
14382
|
+
}))), hAsync("tbody", { key: 'b27bd372efe64469d2a5001dc6d5b464eb419217' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
13960
14383
|
var _a;
|
|
13961
14384
|
if (col === 'actions') {
|
|
13962
14385
|
return (hAsync("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, hAsync("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
@@ -13971,7 +14394,7 @@ class EdsTable {
|
|
|
13971
14394
|
return (hAsync("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)));
|
|
13972
14395
|
}
|
|
13973
14396
|
return null;
|
|
13974
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14397
|
+
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: 'd442153f48c85c6de1a0752d1348d8814811faed', class: "mt-20" }, hAsync("eds-pagination", { key: '4c48c96eacb112002b0110e85dce0dab94350dfb', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
13975
14398
|
}
|
|
13976
14399
|
get hostEl() { return getElement(this); }
|
|
13977
14400
|
static get watchers() { return {
|
|
@@ -14182,12 +14605,12 @@ class EdsTabs {
|
|
|
14182
14605
|
}
|
|
14183
14606
|
}
|
|
14184
14607
|
render() {
|
|
14185
|
-
return (hAsync("div", { key: '
|
|
14608
|
+
return (hAsync("div", { key: 'bab7b3d6a9e6e66ab6476827ecc06a3e3c7244be', id: `${this.identifier}` }, hAsync("div", { key: 'e20639e1842936b6c1fe24b19ca7f94ccc09d18f', 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-['']" }, hAsync("nav", { key: 'e3f4e385e1bfb1f5abc75697697ab9a6a8124b6b', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
14186
14609
|
const TabComponent = 'button';
|
|
14187
14610
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14188
14611
|
const isActive = index === this.activeIndex;
|
|
14189
14612
|
return (hAsync(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));
|
|
14190
|
-
}))), hAsync("div", { key: '
|
|
14613
|
+
}))), hAsync("div", { key: 'f958fca5abaeeba0b6fcc900b91fa1309508dc57', class: "tab-panels" }, this.parsedTabs.map((_, index) => (hAsync("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, hAsync("slot", { name: `panel-${index}` })))))));
|
|
14191
14614
|
}
|
|
14192
14615
|
get el() { return getElement(this); }
|
|
14193
14616
|
static get watchers() { return {
|
|
@@ -14250,7 +14673,7 @@ class EdsTag {
|
|
|
14250
14673
|
}
|
|
14251
14674
|
render() {
|
|
14252
14675
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14253
|
-
return hAsync("span", { key: '
|
|
14676
|
+
return hAsync("span", { key: 'a00f436391013091c78f15bc53d91b0b01d8f4bb', class: classes }, this.label);
|
|
14254
14677
|
}
|
|
14255
14678
|
static get style() { return EdsTagStyle0; }
|
|
14256
14679
|
static get cmpMeta() { return {
|
|
@@ -14312,7 +14735,7 @@ class EdsTimeline {
|
|
|
14312
14735
|
}
|
|
14313
14736
|
}
|
|
14314
14737
|
render() {
|
|
14315
|
-
return (hAsync("div", { key: '
|
|
14738
|
+
return (hAsync("div", { key: '32a281ea95b422dce623838fb46b2baf2362618d', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '8709096bd0e6826888ded5656a68e88a60229927', class: "relative" }, hAsync("div", { key: '41fab313fc2d44e63a5b83b90c24650e8d8de74e', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: '8b386581105a89c677fe374e8248f67bf3ec07cd', class: "space-y-16" }, this.parsedEvents.map((event, index) => (hAsync("div", { class: "relative flex" }, hAsync("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (hAsync("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
|
|
14316
14739
|
? [{ label: 'completed', style: 'accent' }]
|
|
14317
14740
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), hAsync("div", { class: "flex items-center justify-center relative" }, event.completed ? (hAsync("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (hAsync("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), hAsync("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (hAsync("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
|
|
14318
14741
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14486,7 +14909,7 @@ class EdsToastManager {
|
|
|
14486
14909
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14487
14910
|
}
|
|
14488
14911
|
render() {
|
|
14489
|
-
return (hAsync("div", { key: '
|
|
14912
|
+
return (hAsync("div", { key: '52a933209ce89505ae72ab7f300fd052d03200ed', class: "toast-container" }, this.toasts.map((t) => (hAsync("div", { key: t.id }, hAsync("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
14490
14913
|
}
|
|
14491
14914
|
get hostElement() { return getElement(this); }
|
|
14492
14915
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14502,7 +14925,7 @@ class EdsToastManager {
|
|
|
14502
14925
|
}; }
|
|
14503
14926
|
}
|
|
14504
14927
|
|
|
14505
|
-
const edsTooltipCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{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-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))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}";
|
|
14928
|
+
const edsTooltipCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{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-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))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}";
|
|
14506
14929
|
var EdsTooltipStyle0 = edsTooltipCss;
|
|
14507
14930
|
|
|
14508
14931
|
/**
|
|
@@ -14525,10 +14948,10 @@ class EdsTooltip {
|
|
|
14525
14948
|
}
|
|
14526
14949
|
render() {
|
|
14527
14950
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14528
|
-
return (hAsync("div", { key: '
|
|
14951
|
+
return (hAsync("div", { key: 'c2ae55fbf9fefb2748db770d98f12f679022a416', class: "relative w-full inline-block group" }, hAsync("slot", { key: '5151e3269cb39d3caba960eee7155a3d5171c8cd' }), hAsync("div", { key: '8956683d968d77d88133dc231975d258aca3d1d3', class: `absolute ${positionClass}
|
|
14529
14952
|
rounded-xs bg-strongest text-inverse
|
|
14530
14953
|
f-ui-03-light pointer-events-none
|
|
14531
|
-
z-10
|
|
14954
|
+
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
14532
14955
|
group-hover:opacity-100 whitespace-normal break-words`, role: "tooltip" }, this.content)));
|
|
14533
14956
|
}
|
|
14534
14957
|
get el() { return getElement(this); }
|
|
@@ -14589,7 +15012,7 @@ class EdsTrl {
|
|
|
14589
15012
|
Application: { format: 'code' },
|
|
14590
15013
|
'Current TRL Stage': { format: 'text' }
|
|
14591
15014
|
};
|
|
14592
|
-
return (hAsync("div", { key: '
|
|
15015
|
+
return (hAsync("div", { key: 'f83fab1ad31bef37b5239c67e635d26d22714e3f', class: "container mx-auto px-4 py-8" }, hAsync("eds-table", { key: '594b47098606f772f043da8171a11d5dcbb0513f', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
14593
15016
|
}
|
|
14594
15017
|
static get cmpMeta() { return {
|
|
14595
15018
|
"$flags$": 0,
|
|
@@ -14615,7 +15038,14 @@ var EdsUserStyle0 = edsUserCss;
|
|
|
14615
15038
|
class EdsUser {
|
|
14616
15039
|
constructor(hostRef) {
|
|
14617
15040
|
registerInstance(this, hostRef);
|
|
15041
|
+
this.handleDropdown = (e) => {
|
|
15042
|
+
this.expanded = e.detail.expanded;
|
|
15043
|
+
};
|
|
14618
15044
|
this.user = undefined;
|
|
15045
|
+
this.intent = 'tertiary';
|
|
15046
|
+
this.dropdownLabel = 'Account';
|
|
15047
|
+
this.expanded = false;
|
|
15048
|
+
this.shortMode = false;
|
|
14619
15049
|
}
|
|
14620
15050
|
/**
|
|
14621
15051
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14639,9 +15069,15 @@ class EdsUser {
|
|
|
14639
15069
|
const initials = `${((_a = user.given_name) === null || _a === void 0 ? void 0 : _a.charAt(0)) || ''}${((_b = user.family_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}`.toUpperCase();
|
|
14640
15070
|
return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
|
|
14641
15071
|
}
|
|
15072
|
+
async closeDropdown() {
|
|
15073
|
+
var _a;
|
|
15074
|
+
await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
|
|
15075
|
+
this.expanded = false;
|
|
15076
|
+
}
|
|
14642
15077
|
render() {
|
|
14643
15078
|
const user = this.parsedUser;
|
|
14644
|
-
|
|
15079
|
+
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
15080
|
+
return (hAsync("div", { key: '68836f7fc63986d1ef1e5d1775258358db3418c6', class: "block" }, hAsync("div", { key: '3b5be3d2d700ce3e1a800c33adde9b55bb07fda0', class: "flex items-center" }, hAsync("eds-dropdown", { key: 'f3f97f19aac315031f428d190f1e143429bcd860', 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 }, hAsync("div", { key: '6a6bccaa4e8b0e68460ac50e3edc8d9fc3612e00', class: "min-w-[280px] p-8" }, hAsync("div", { key: '97a9b4d9c0e0873162103461a542cf401be06c2f', class: "flex gap-x-16", "data-dropdown-no-close": true }, hAsync("eds-avatar", { key: 'f89cee9f0ad6549e60ebb3ade437d1dd0c2e6eb6', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), hAsync("div", { key: 'b9fc649a35280ecebe57955b85844f3a78c4db04', class: "max-w-full" }, user.name && hAsync("p", { key: 'b2914fca3ddabc4d12fa2c6cee83a98505fd110a', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && hAsync("p", { key: '68ec348104e36b6fbf9c5fc47e254f3cfc4ca85b', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && hAsync("p", { key: '3b7720aaa30597a49acf61b6c3ff0c1f1cc3bfd8', class: "f-ui-03-light text-light mt-4" }, user.email))), hAsync("div", { key: '28cdba1fb361b84e9cb0a7ce904ec39cf13d022e', class: "text-default flex w-full flex-col gap-y-8" }, hAsync("slot", { key: 'c1cddbb24c72749c4ea07e2e0311da61af6e9886' })))))));
|
|
14645
15081
|
}
|
|
14646
15082
|
get hostEl() { return getElement(this); }
|
|
14647
15083
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14649,7 +15085,12 @@ class EdsUser {
|
|
|
14649
15085
|
"$flags$": 9,
|
|
14650
15086
|
"$tagName$": "eds-user",
|
|
14651
15087
|
"$members$": {
|
|
14652
|
-
"user": [1025]
|
|
15088
|
+
"user": [1025],
|
|
15089
|
+
"intent": [1],
|
|
15090
|
+
"dropdownLabel": [1, "dropdown-label"],
|
|
15091
|
+
"expanded": [32],
|
|
15092
|
+
"shortMode": [32],
|
|
15093
|
+
"closeDropdown": [64]
|
|
14653
15094
|
},
|
|
14654
15095
|
"$listeners$": undefined,
|
|
14655
15096
|
"$lazyBundleId$": "-",
|
|
@@ -14692,7 +15133,7 @@ class GradientPrimaryPalette {
|
|
|
14692
15133
|
];
|
|
14693
15134
|
}
|
|
14694
15135
|
render() {
|
|
14695
|
-
return (hAsync("ul", { key: '
|
|
15136
|
+
return (hAsync("ul", { key: 'd32c7b63fb32b92f89a9220e5cd5ff8164865913', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14696
15137
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14697
15138
|
} }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16" }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
14698
15139
|
}
|
|
@@ -14765,19 +15206,19 @@ class GradientSecondaryPalette {
|
|
|
14765
15206
|
];
|
|
14766
15207
|
}
|
|
14767
15208
|
render() {
|
|
14768
|
-
return (hAsync("div", { key: '
|
|
15209
|
+
return (hAsync("div", { key: 'f38bc0f352adeca4bb3c12952d8c7e2431d93874' }, hAsync("ul", { key: '9e00842d3198dace6812197b1ced7b776e3808f4', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'a1f77c93d7ff5de2ab38018278e47530951076cc', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '6abb51d7e4cbe6f48610009e65876cd41d8f435d', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14769
15210
|
background: this.colors[0].background
|
|
14770
|
-
} }, hAsync("div", { key: '
|
|
15211
|
+
} }, hAsync("div", { key: 'e7399fcf955836f47e90e1ab822abf2ec0c0ceae', class: "grid" }, hAsync("span", { key: 'fb245a27f7189381ee8103c21c61d0823c12b4c3', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '6dc6be165b89266e9b45153dc411ab5692e37ebe', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '196331f3cd83f67e3fbceddc669c0b4c10ad26d3', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'a3547fa7c138e87fa637ef7341dde49595a213e2', class: "grid" }, hAsync("span", { key: '73eee49a4fe2e3fe657dfb5a90b3f8cdd224eff2', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: '553c7eb15580455f77b8165bd8a0c8b397d46a4e', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: '1e1c3d2620ef2dac2cd1f7bea0fa99b01c6afcac', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14771
15212
|
background: this.colors[1].background
|
|
14772
|
-
} }, hAsync("div", { key: '
|
|
15213
|
+
} }, hAsync("div", { key: '1679cca6a6f80765ac163e076b26925065479ad8', class: "grid" }, hAsync("span", { key: '948c1931b138ccc0f8da013735cec94a2b8de513', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '5b7c535631725e8e72b309ce6686bad8b1b384f3', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'ac2bb8a8ebf23134ea273d99dfb35ae5c849b071', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3ce37f99d9dcc8e049553e9029c8f79bedcab049', class: "grid" }, hAsync("span", { key: 'a1c80f90ec26b79cce11e08a723aec38ba14eeec', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '6828dc88ff57a288317fd36c5ae798615c41e045', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '7b9f28a342ee184e4201e9b2c1a510be7cccdb79' }), hAsync("ul", { key: '8378f6a199ad85a7a4d0c116f1e18dac51f7f76b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'df24c01a7e221fec7eebe08deb1905b2fd211215', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'f0202fc57ba9e6efbab92274144ac109fced963f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14773
15214
|
background: this.colors[2].background
|
|
14774
|
-
} }, hAsync("div", { key: '
|
|
15215
|
+
} }, hAsync("div", { key: '49111de3251d10ae344587612cff95ac2c61bbfc', class: "grid" }, hAsync("span", { key: 'a4f8b4d521204cf2e9ed34fba25105a31bcf3a2a', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '577de0d99f7f5e052ca9528ba5543070439ec1c1', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'b98a82856c805c3bd56d5e8c581c09c640e146a1', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1c53a8f62d1facc76863611d640938469e6647ce', class: "grid" }, hAsync("span", { key: 'e8e4bdb60c34bc9af133195192afd698ab7ae98e', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7d23875dce9d05f4deca3518006aac4b4baff061', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '84836d849380828bac1a05b3b1dd3f89a0f063da', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14775
15216
|
background: this.colors[3].background
|
|
14776
|
-
} }, hAsync("div", { key: '
|
|
15217
|
+
} }, hAsync("div", { key: '0034acff755db241107d6bdf205f15b048ef2073', class: "grid" }, hAsync("span", { key: '59c0066f512154c4c8dc75e929d5f84008bf08c7', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '83f2adc0b2adabc37b53859232b75f1b3c957051', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'dc45ae65d0b116dcd25a0da752034f5527421a82', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3df3bda4c749e858cd9e484906677bbd99fa67c5', class: "grid" }, hAsync("span", { key: '0730784062ec6c4cb548b1044031361d2cd939a1', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '7a6ae957274e730b25727671ef43feff3af1fd63', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: '6d18529316515757e95dea2820861cb5d4fdd3b7' }), hAsync("ul", { key: '8f7a04a63e9846e6e220ee0ccd89a89901b925d8', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '32bcb0d0e33b06e5a4f9c2da67ac904d52df5959', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '3f38bd0f5b0d750daa0c6b80493d6ff9b249ebaf', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14777
15218
|
background: this.colors[4].background
|
|
14778
|
-
} }, hAsync("div", { key: '
|
|
15219
|
+
} }, hAsync("div", { key: '0171242f6197b3fb47d12e49837f28361a13c592', class: "grid" }, hAsync("span", { key: '1331a3a2234f83264efc62d4af972968247c3455', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '9caaef171b78feed4f2d6a5e7a4d81ffd1a87faf', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'e4d152f94f03dea39e1a0a6284d448f545c5c1a1', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '173cb0da7a293350c8aa82f83fd0305b9db3bb74', class: "grid" }, hAsync("span", { key: 'fc5d2f93f3d5963c5da938f86c0147de99426b72', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: 'c679055a29a477f85829fc0d9af84b6f6dc7ca08', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: '694abc4966e365267fe4536f891445bc36937290', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14779
15220
|
background: this.colors[5].background
|
|
14780
|
-
} }, hAsync("div", { key: '
|
|
15221
|
+
} }, hAsync("div", { key: '6e51b6e4134b2ba71880b271b7dac46d57de772c', class: "grid" }, hAsync("span", { key: 'a9671b440a17417746d54cae8e7c0ee2208bbce1', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: '4dd3bf0d00389d1ca9cd1529d1b6bdf9acd6291b', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: 'dc8e6956da3d6c6d539c194e101f8fa88cf1f08a', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1cd9760de92ebbd5e0f1710140fe41ddad3aae29', class: "grid" }, hAsync("span", { key: 'eec5ff4dd0b743a9b9b8640e4078c4d695dbcc15', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: '00db45cedd939950df3e4cd2540d0b80d61bd4b1', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
14781
15222
|
}
|
|
14782
15223
|
static get cmpMeta() { return {
|
|
14783
15224
|
"$flags$": 0,
|
|
@@ -14840,11 +15281,11 @@ class GradientSupportPalette {
|
|
|
14840
15281
|
];
|
|
14841
15282
|
}
|
|
14842
15283
|
render() {
|
|
14843
|
-
return (hAsync("ul", { key: '
|
|
15284
|
+
return (hAsync("ul", { key: '8eefaf781527a438aa6f0dcbbb6a7bfdffd69d38', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '8492ff1b709fa7d20f76fd18d7e9aa2bbfee17eb', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '3775884ad3c2b78ac178dbd003779d968022c981', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: '94d75d01276a3e4e41781550450318dac8f220e4', class: "grid" }, hAsync("span", { key: '729bda27271b7df5e7ec05eff89ff6116539d4b0', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'cb4b6bd1e3bfab381047b7375e547c662a5d50de', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '43c5df7d9cac3753f4a3c5d81e081f76606a5797', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '98aee106b847f1321591cfbfa2d5c22d0e2b3c2f', class: "grid" }, hAsync("span", { key: 'a3789c31e43eb6887b298eb353fde2be9134dd79', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '7195d70eaf994b4d1d1eb9a2ec0b684d62289e75', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: '81654a5fb216096e9818033a2b857eb723c2d373', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'd7b5ff16686894d0b06d2a291f6e7ababd5bfb02', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: 'fdbd11809337e535e819c5ce18d7427ae31ee70e', class: "grid" }, hAsync("span", { key: 'f108c9afa0fa02356395792bd7dd4a8a4c872d02', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '1e359cd78d80db5040c4cdff4dea30dd9387cfb2', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '1969dd093129596136b67cb972bece4e1d295fca', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '6858e8847dc5ce5baf79874a207f02953f84651e', class: "grid" }, hAsync("span", { key: '9eb2a2cafb5f2be23142752d2a48b35d0b8ab0c9', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: 'cc0b17b803f00030b5a6d5dd0070c62031e21125', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: '1e58c33fe358f33c30f8935f9205ef9c3008f907', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '2fc8ba7c13678d30002f07eea50f14ae1138d2ee', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14844
15285
|
background: this.colors[2].background
|
|
14845
|
-
} }, hAsync("div", { key: '
|
|
15286
|
+
} }, hAsync("div", { key: '18c781274b5f5054b454c00a34b45cdda4848826', class: "grid" }, hAsync("span", { key: '28ef2ea60735401f0234cea519d9ecff8c4e2694', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '2da6879adfc3b5f4992d0b107e40cf02db7a25c1', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'c442dcf09f129891355a8a42b742c10333338e8b', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '9dffa371f8a1c3002c35634eb2fb487011c71f90', class: "grid" }, hAsync("span", { key: '65c50e09e5275ebf7d159228b9cbc07602667ba6', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7bb7a1a6a1988b2b65783ed792085e257703466b', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: 'cc69e3020f50b302b1e4f3d6b37477fb868f7906', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14846
15287
|
background: this.colors[3].background
|
|
14847
|
-
} }, hAsync("div", { key: '
|
|
15288
|
+
} }, hAsync("div", { key: 'c59d2d743b0fb9fe5796407df80a81be410be47d', class: "grid" }, hAsync("span", { key: 'bcf7f280d8e1a74dfe157a1c996a89cebcb42d40', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: 'dd7beff9e6336784ba7cb77692f6ac4ea42b8204', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '4bafc48fddad31a1c2a4e08cd0148c6df8f332ae', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'c1fe6efeec78fed5be26568e0ebea3b56d16f070', class: "grid" }, hAsync("span", { key: '930e80dbed784ddf4364be16649624118541e570', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '8b7357d66a1b47347df67abcda6107572cb019f9', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: 'dc86699c8029642eb73c4679a49d5ff844f2924c', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'dbfa8b4899292fec628dc410d70e0c306d0f378c', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: '2e3c528ed9efc681a09858e85230f5fdd36cf845', class: "grid" }, hAsync("span", { key: '4b607cdc825ba567d86f3536ec7bb1148e09d854', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: 'dda453cb7a8ebb420896e460802f7d917916ccd4', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: '8ae119f9f823401ebcf3020069e614e991052529', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1ac0ea0d52a00a7f8b45206bdd3d647ba221e429', class: "grid" }, hAsync("span", { key: '58c93b7dacd8a2766a8cb5d23c536a065ca64b22', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: '70359540a3662ba14dbd8c08e4033d5bcd4c1a0d', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
14848
15289
|
}
|
|
14849
15290
|
static get cmpMeta() { return {
|
|
14850
15291
|
"$flags$": 0,
|
|
@@ -14898,7 +15339,7 @@ class IncorrectUseOfColors {
|
|
|
14898
15339
|
registerInstance(this, hostRef);
|
|
14899
15340
|
}
|
|
14900
15341
|
render() {
|
|
14901
|
-
return (hAsync("div", { key: '
|
|
15342
|
+
return (hAsync("div", { key: '9822fa84b1af42bc1f1eb31bae9b60736f27c692', class: "container" }, hAsync("div", { key: 'c67d9626f5ceba5fcde0cb279fb9d15c73166cfb', class: "mb-8" }, hAsync("eds-alert", { key: '898d449b311306781b323968edb0c2d7e03b0d32', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), hAsync("div", { key: '2409916ecc2de685042d1f93f02d656270457a19', class: "flex" }, hAsync("div", { key: '305965230c45b879c68004ca985f8d6e9b4482ab', class: "w-full" }, hAsync("ul", { key: 'a66a5a76d3d1d7167b0655e7a1af9310655b9881', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'e962b2b3bff48395983243ac2cf877d03ced85b6', class: "w-full" }, hAsync("ul", { key: '38a2b41471334181fc3e70dd7eaf10b957bdaada', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
14902
15343
|
}
|
|
14903
15344
|
static get cmpMeta() { return {
|
|
14904
15345
|
"$flags$": 0,
|
|
@@ -14921,7 +15362,7 @@ class LogoSpace {
|
|
|
14921
15362
|
registerInstance(this, hostRef);
|
|
14922
15363
|
}
|
|
14923
15364
|
render() {
|
|
14924
|
-
return (hAsync("div", { key: '
|
|
15365
|
+
return (hAsync("div", { key: 'b07b6c2b9e042c3c330de470cf2e792285362a0f', class: "container" }, hAsync("ul", { key: '40cb4cca1a4b42026becc95a46a380e23ed77723', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'aabdf6b8bf59cd755976ae99b79dca074e904c71', 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" }, hAsync("div", { key: '4f3b6da2c7f238b814c8a8537d6246215e935a26', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), hAsync("li", { key: 'b8ee9f87dc5140b964f20600cad7ec65dc6c9837', 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" }, hAsync("div", { key: 'ac4e8c0cdd8f2f206f9ead55806b32425279c8ee', class: "text-center mt-16" }, hAsync("p", { key: '0db3cdd9c348fa3855f995363fc3cd872b6da2c4', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), hAsync("eds-table", { key: '9bd39257f807324aa45013009ebbe08c1a8b2ee7', 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 }' }))), hAsync("li", { key: '27789915053632c4fa664363b4e2fbdd5524569c', 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" }))));
|
|
14925
15366
|
}
|
|
14926
15367
|
static get style() { return LogoSpaceStyle0; }
|
|
14927
15368
|
static get cmpMeta() { return {
|
|
@@ -14945,7 +15386,7 @@ class LogoVariationsHorizontal {
|
|
|
14945
15386
|
registerInstance(this, hostRef);
|
|
14946
15387
|
}
|
|
14947
15388
|
render() {
|
|
14948
|
-
return (hAsync("div", { key: '
|
|
15389
|
+
return (hAsync("div", { key: '148d0694cc666c2048a65f035e3b423f14721a24', class: "container" }, hAsync("ul", { key: '577efdbf7af11206706768435afcf949e704c16a', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'e280ee9020e2750a2f3637a01cf623ccc0b94bfe', 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" }, hAsync("p", { key: 'a5be5fc2dae4b966722d0ad69510f6622882aa99', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: 'e20d0633cc5c1c6f61c8147d55b7dd228c774f99', class: "coloured" }, hAsync("eds-logo", { key: '2a5a4eea4c70fadfcaef15c5b2c498b833231603', type: "no-bg", href: "#" }))), hAsync("li", { key: '6da7cc2329e7abcccfe3d2a0f095320d33b6272e', 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" }, hAsync("p", { key: '5dcb436091288a40213ad53fff116c0a18fd8626', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'e0f165856fb0a693ca2a655b5f6beb8f37810905', class: "bg-default" }, hAsync("eds-logo", { key: 'ca1d9b99e93b458c9a4c59389ade43db1aedd473', type: "black", href: "#" }))), hAsync("li", { key: '8ae1f94da858d44f7efa0d7c2c4d83b8e1780bf6', 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" }, hAsync("p", { key: 'dcd75bb1f4717a6d8b34f522c25b04a976bcbdea', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: '11f500da753124767502a09824007bef6586b445' }, hAsync("eds-logo", { key: '95ed147e3a5284960d5c740841620d622537cc3c', type: "color-white", href: "#" }))))));
|
|
14949
15390
|
}
|
|
14950
15391
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
14951
15392
|
static get cmpMeta() { return {
|
|
@@ -14977,7 +15418,7 @@ class LogoVariationsTabs {
|
|
|
14977
15418
|
}
|
|
14978
15419
|
}
|
|
14979
15420
|
render() {
|
|
14980
|
-
return hAsync("div", { key: '
|
|
15421
|
+
return hAsync("div", { key: '5e6042f51c956138d571256803766ef2497ca160', class: "container" }, this.renderContent());
|
|
14981
15422
|
}
|
|
14982
15423
|
static get cmpMeta() { return {
|
|
14983
15424
|
"$flags$": 0,
|
|
@@ -15004,7 +15445,7 @@ class LogoVariationsVertical {
|
|
|
15004
15445
|
this.type = undefined;
|
|
15005
15446
|
}
|
|
15006
15447
|
render() {
|
|
15007
|
-
return (hAsync("div", { key: '
|
|
15448
|
+
return (hAsync("div", { key: '33670ab1d0922b7ce5d561ae1bcb25d85cdf3ecb', class: "container" }, hAsync("ul", { key: '7b05bb7f6e1699766f6d0321762f0ef66ab3b306', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'f64a1ad98d1c126581283ed16b665dea3fa1d03e', 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" }, hAsync("p", { key: '41c416c593cacad33a826c76e6617bc6c6b5b9e3', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '9bf761058eb7581b949af689a0341dc2a8b85b24', class: "mx-auto coloured w-[300px]" }, hAsync("eds-logo", { key: 'eb04b74cf4feb3054ba5b769fd7690281dbf768b', orientation: "vertical", type: "no-bg", href: "#" }))), hAsync("li", { key: '15eede1e668a9012de6ab03dde25b5e4c51605c6', 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" }, hAsync("p", { key: '8d99d4f4caf4ef224fb691fdebfd3048075db0c0', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'f4b55a2fc4305075270e9e4a6149be5278fe3618', class: "mx-auto bg-default w-[300px]" }, hAsync("eds-logo", { key: '38ca84d79e788b92ce2489e19f35b8ba989313f2', orientation: "vertical", type: "black", href: "#" }))), hAsync("li", { key: 'e6193b54d8b8cda2dc44bce2b983af7e7f3db0b3', 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" }, hAsync("p", { key: '2564444f18acf01edd3caa3e4df06a0a54cad60a', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: '70db409bd6dfd47bb66cef38059a52a9b0556e14', class: "mx-auto w-[300px]" }, hAsync("eds-logo", { key: '567844257939403cee8d4ce76b84dfdc12df97d1', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
15008
15449
|
}
|
|
15009
15450
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15010
15451
|
static get cmpMeta() { return {
|
|
@@ -15031,7 +15472,7 @@ class LogoWrongUsage {
|
|
|
15031
15472
|
registerInstance(this, hostRef);
|
|
15032
15473
|
}
|
|
15033
15474
|
render() {
|
|
15034
|
-
return (hAsync("div", { key: '
|
|
15475
|
+
return (hAsync("div", { key: 'a5d22b7db9bf43fa54d7e0fe611b819e374b6f6b', class: "container" }, hAsync("ul", { key: 'a2d9ebad864822e00db5bb207caf599de80be433', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'ad449a11eb8e1404a47266adb9072efa0c182752', 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" }, hAsync("div", { key: '3f9ab867a20bc72e15c5403683d50b0f86c18727', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), hAsync("p", { key: '8a9ebdfd97d048e046adc85f182657c065d7c5e2', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), hAsync("li", { key: '621dc6459bd6934ada8cbbcb99e848464c6d7719', 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" }, hAsync("div", { key: 'be8c7b7fc30111d6bd7e7803d4a47b58ab8275f9', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), hAsync("p", { key: '1e458e14065bc2f064c29f03e7047578837e8dbf', class: "f-ui-02 text-center" }, "Do not apply other colors")), hAsync("li", { key: '92f588b1b08e74ae6de62037c611cd2c07c2d0f6', 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" }, hAsync("div", { key: '1a8b871c1887b96183efc5a884085cd627a5dd03', class: "mx-auto distorted logo", innerHTML: hLogoColor }), hAsync("p", { key: '2ca68cc09eac491203fec3d84b19623dfc1c0433', class: "f-ui-02 text-center" }, "Do not deform the logo")), hAsync("li", { key: 'ee43635fa2d0dff9b9a5ea76127f5a35d1863c2a', 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" }, hAsync("div", { key: '3176d2dbec423d743b8d05c64d7a21088bf830a1', class: "mx-auto effects logo", innerHTML: hLogoColor }), hAsync("p", { key: '1148d744012e92f34ac48a2b69c3fb6451e4f844', class: "f-ui-02 text-center" }, "Do not apply effects")), hAsync("li", { key: 'acde874cf0fd644ec0edc7350fc038e0ae13719d', 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" }, hAsync("div", { key: '27b2b50f017142b1e9638baf1865fd804ba9121d', class: "mx-auto rotated logo", innerHTML: hLogoColor }), hAsync("p", { key: '28dfe52d02bdb82f29947227a9a9a699aabf82ef', class: "f-ui-02 text-center" }, "Do not rotate the logo")), hAsync("li", { key: 'e754250d250603022bb031e66e7fd8e8e0f04155', 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" }, hAsync("div", { key: '042817f8f946a10372439398e4f6dd3c0fc182f6', class: "mx-auto outlined logo", innerHTML: hLogoColor }), hAsync("p", { key: 'f5136df73757f3ebd3c954f3aa5f9e47d7907c64', class: "f-ui-02 text-center" }, "Do not apply outlines")), hAsync("li", { key: '6e30b4684ebe21136ddecef9e879024ce93206ad', 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" }, hAsync("div", { key: '29ceba568f002cf04a810546ac76ed4d4a0c63fd', class: "mx-auto" }, hAsync("div", { key: '53976603b457baf9d28f4216b2ef54284467ffd7', class: "bg-accent p-16" }, hAsync("div", { key: 'bdce208801ad76f3f8fd1639ca08b3a341ccf014', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: '97e656465d81823f22593dd8ec936dde966560e0', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
|
|
15035
15476
|
}
|
|
15036
15477
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15037
15478
|
static get cmpMeta() { return {
|
|
@@ -15075,7 +15516,7 @@ class SvgRepository {
|
|
|
15075
15516
|
icon: { format: 'svg' },
|
|
15076
15517
|
name: { format: 'bold' }
|
|
15077
15518
|
};
|
|
15078
|
-
return (hAsync("div", { key: '
|
|
15519
|
+
return (hAsync("div", { key: '9e4eb1306b8d43f5879b2e7c0ef0019f83c0b3b5', class: "full-width" }, hAsync("eds-table", { key: '3b6349562155ffed788587d39a82d0a2fb9798bb', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
15079
15520
|
}
|
|
15080
15521
|
get hostEl() { return getElement(this); }
|
|
15081
15522
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15332,7 +15773,7 @@ class TokenList {
|
|
|
15332
15773
|
render() {
|
|
15333
15774
|
// Check if `show` prop is provided; if not, display all sections
|
|
15334
15775
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15335
|
-
return (hAsync("section", { key: '
|
|
15776
|
+
return (hAsync("section", { key: 'db196307702df28bf9e2f7fb0b87298bf84baabb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15336
15777
|
// Only render sections that exist in `colors`
|
|
15337
15778
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15338
15779
|
}
|
|
@@ -15365,7 +15806,7 @@ class TokenRadii {
|
|
|
15365
15806
|
registerInstance(this, hostRef);
|
|
15366
15807
|
}
|
|
15367
15808
|
render() {
|
|
15368
|
-
return (hAsync("section", { key: '
|
|
15809
|
+
return (hAsync("section", { key: 'bdd584d53625299e4faa9a28f6f259bc5587b125', class: "w-full mt-28" }, hAsync("ul", { key: '3076e4efcca5749cc07e69df70ce2658d6186ec6', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, hAsync("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), hAsync("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
|
|
15369
15810
|
}
|
|
15370
15811
|
static get cmpMeta() { return {
|
|
15371
15812
|
"$flags$": 0,
|
|
@@ -15394,7 +15835,7 @@ class TokenRatios {
|
|
|
15394
15835
|
registerInstance(this, hostRef);
|
|
15395
15836
|
}
|
|
15396
15837
|
render() {
|
|
15397
|
-
return (hAsync("section", { key: '
|
|
15838
|
+
return (hAsync("section", { key: '83fc87fd64531611114fe47d977dc54b6af1d327', class: "w-full" }, hAsync("eds-section-core", { key: 'b0b72d4f387cd48f4905c68b9f05ac3058d359c1', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: 'af5677bb15a4ffb008fd90bdfdfb1b757a36e138', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
|
|
15398
15839
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15399
15840
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15400
15841
|
maxWidth: '300px'
|
|
@@ -15436,7 +15877,7 @@ class TokenShadows {
|
|
|
15436
15877
|
registerInstance(this, hostRef);
|
|
15437
15878
|
}
|
|
15438
15879
|
render() {
|
|
15439
|
-
return (hAsync("section", { key: '
|
|
15880
|
+
return (hAsync("section", { key: 'a2fbc57c2153391bc53b47a263488118ca3aa01a', class: "w-full mt-28" }, hAsync("ul", { key: 'e4e2d6cbc8d1510ede2b678b24ce8b34b838888f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, hAsync("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), hAsync("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
|
|
15440
15881
|
}
|
|
15441
15882
|
static get cmpMeta() { return {
|
|
15442
15883
|
"$flags$": 0,
|
|
@@ -15456,7 +15897,7 @@ class TokenSpacing {
|
|
|
15456
15897
|
registerInstance(this, hostRef);
|
|
15457
15898
|
}
|
|
15458
15899
|
render() {
|
|
15459
|
-
return (hAsync("div", { key: '
|
|
15900
|
+
return (hAsync("div", { key: '46cb6fe655e9f8b8688f44e2351f3992e8011b2a', class: "w-full" }, hAsync("ul", { key: '9d7205ee2e0b3b0386284dc282fcc5375c43ec26', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'b3e9d62bb934c1b413712b182cfdf015484db525', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '78c8a23dcacfd216a6159da8af3809607ef29702', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '92a2938c5bdcb38456d96077f78993c711bc789f', class: "spacing-sample m-16 bg-strong" }, hAsync("span", { key: '7738363bee7cc25863bec922f55224044af61b6e', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), hAsync("li", { key: '96c1f622b7e4136cebd53862b79bbc17ad484a25', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'ff4357650e10f9e7a61903c3c9f6a4f4d60d8c73', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'cd07be06a51604f81f2868786028066f834cd87d', class: "spacing-sample ml-64 bg-strong" }, hAsync("span", { key: 'ded579013d8765c7802862b57cf2bf7ae03f1b99', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: 'a8e244c95f027993755fa567d900ff88ed08669b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'e3662c064d089089ebb796aadede38bbd7ebe69d', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'f168cbeaec417b0eccd66ed60f2776bdffdb7bfb', class: "spacing-sample mt-32 bg-strong" }, hAsync("span", { key: '696ec848f217896ae3fc06bf07546fe735d6ccd8', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: '5e5d4a63fd7e28114a87dfa5789f5213b6c057f3', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '14cb262cc18f340e72a922dc793244c17fa9fb05', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '791781717dc851f2e174277c557212e7e5c15b7a', class: "spacing-sample p-32 bg-strong" }, hAsync("span", { key: 'd1df2d8f2520746e49ec9c85d8e17cf5569c4bc5', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), hAsync("li", { key: '312e2c71672a05cc54cd492297a1cdcb2b11a395', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '8cd16bfafd2345b68e50a46c08c7a8f2430ee6ef', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '8f7e910d8fc43b596b35f3e72a48646e9550e8ba', class: "spacing-sample pt-32 bg-strong" }, hAsync("span", { key: '509c712085a239a435fc11f8ea7a6c9c788be60c', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: 'b99c86cd7dd23e7c091dd2c70ec42133d9d2e2ef', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '0e61fb5d7bf779eddc16c9627d6ca0ff6cf702e1', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'e65eb20ca88e563ae43eb0c208feacf7e310870f', class: "spacing-sample pl-32 bg-strong" }, hAsync("span", { key: '2a40e6977caccb37173f60de613c1a72b02f6d3e', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
15460
15901
|
}
|
|
15461
15902
|
static get cmpMeta() { return {
|
|
15462
15903
|
"$flags$": 0,
|
|
@@ -15674,7 +16115,7 @@ class TokenTypography {
|
|
|
15674
16115
|
registerInstance(this, hostRef);
|
|
15675
16116
|
}
|
|
15676
16117
|
render() {
|
|
15677
|
-
return (hAsync("section", { key: '
|
|
16118
|
+
return (hAsync("section", { key: 'ff15f73114d16107a766fe6fe8342315cf2fa542', class: "w-full" }, hAsync("ul", { key: '22e8e89e792fee03f1957e5705fca1938771b9ac', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
15678
16119
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15679
16120
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, hAsync("div", { class: "mr-auto hidden lg:block", style: {
|
|
15680
16121
|
fontFamily: typography.families.sans,
|
|
@@ -15733,6 +16174,7 @@ registerComponents([
|
|
|
15733
16174
|
EdsFrame,
|
|
15734
16175
|
EdsFullscreenMenu,
|
|
15735
16176
|
EdsGauge,
|
|
16177
|
+
EdsGlobalSearch,
|
|
15736
16178
|
EdsHeader,
|
|
15737
16179
|
EdsIconArrowDiagonal,
|
|
15738
16180
|
EdsIconArrowRight,
|
|
@@ -15746,6 +16188,7 @@ registerComponents([
|
|
|
15746
16188
|
EdsIconClone,
|
|
15747
16189
|
EdsIconClose,
|
|
15748
16190
|
EdsIconCopy,
|
|
16191
|
+
EdsIconDownload,
|
|
15749
16192
|
EdsIconDraft,
|
|
15750
16193
|
EdsIconEdit,
|
|
15751
16194
|
EdsIconEu,
|