@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.mjs
CHANGED
|
@@ -123,7 +123,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
const NAMESPACE = 'components';
|
|
126
|
-
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:
|
|
126
|
+
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 };
|
|
127
127
|
|
|
128
128
|
/*
|
|
129
129
|
Stencil Hydrate Platform v4.22.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1739,6 +1739,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
};
|
|
1741
1741
|
var getHostListenerTarget = (elm, flags) => {
|
|
1742
|
+
if (flags & 4 /* TargetDocument */) return doc;
|
|
1742
1743
|
if (flags & 8 /* TargetWindow */) return win;
|
|
1743
1744
|
if (flags & 16 /* TargetBody */) return doc.body;
|
|
1744
1745
|
return elm;
|
|
@@ -2330,7 +2331,7 @@ class ColorPrimaryPalette {
|
|
|
2330
2331
|
];
|
|
2331
2332
|
}
|
|
2332
2333
|
render() {
|
|
2333
|
-
return (hAsync("ul", { key: '
|
|
2334
|
+
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))))))));
|
|
2334
2335
|
}
|
|
2335
2336
|
static get cmpMeta() { return {
|
|
2336
2337
|
"$flags$": 0,
|
|
@@ -2402,7 +2403,7 @@ class ColorSecondaryPalette {
|
|
|
2402
2403
|
this.show = undefined;
|
|
2403
2404
|
}
|
|
2404
2405
|
render() {
|
|
2405
|
-
return (hAsync("ul", { key: '
|
|
2406
|
+
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))))))));
|
|
2406
2407
|
}
|
|
2407
2408
|
static get cmpMeta() { return {
|
|
2408
2409
|
"$flags$": 0,
|
|
@@ -2476,7 +2477,7 @@ class ColorSupportPalette {
|
|
|
2476
2477
|
return 'text-default';
|
|
2477
2478
|
}
|
|
2478
2479
|
render() {
|
|
2479
|
-
return (hAsync("ul", { key: '
|
|
2480
|
+
return (hAsync("ul", { key: '1bafc64afc8d77db69e1847fdf05d2f8ca2d3ee0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2480
2481
|
// compute once
|
|
2481
2482
|
const textClass = this.getTextColor(color.background);
|
|
2482
2483
|
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)))));
|
|
@@ -2521,7 +2522,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2521
2522
|
}
|
|
2522
2523
|
] }),
|
|
2523
2524
|
hAsync("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
2524
|
-
hAsync("eds-code-block", { code: '<eds-button
|
|
2525
|
+
hAsync("eds-code-block", { code: '<eds-button label="my bytton" intent="primary"></eds-button>', language: "html", "copy-label": "Copy Code" }),
|
|
2525
2526
|
hAsync("h2", null, "Load the variables and styles"),
|
|
2526
2527
|
hAsync("p", null,
|
|
2527
2528
|
"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the",
|
|
@@ -2539,9 +2540,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2539
2540
|
"Note that, loading either the variables or the predefined CSS framework above,",
|
|
2540
2541
|
' ',
|
|
2541
2542
|
hAsync("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
2542
|
-
".
|
|
2543
|
-
hAsync("code", null, "head")),
|
|
2544
|
-
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" })));
|
|
2543
|
+
".")));
|
|
2545
2544
|
|
|
2546
2545
|
const DocsInstallation = () => (hAsync("div", null,
|
|
2547
2546
|
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."),
|
|
@@ -2629,7 +2628,7 @@ class ComponentsSection {
|
|
|
2629
2628
|
}
|
|
2630
2629
|
}
|
|
2631
2630
|
render() {
|
|
2632
|
-
return hAsync("div", { key: '
|
|
2631
|
+
return hAsync("div", { key: 'd5f1ea9d290addbfa2a4c21e815597871f6d7639', class: "container" }, this.renderContent());
|
|
2633
2632
|
}
|
|
2634
2633
|
static get cmpMeta() { return {
|
|
2635
2634
|
"$flags$": 0,
|
|
@@ -2707,7 +2706,7 @@ class CorrectUseOfColors {
|
|
|
2707
2706
|
registerInstance(this, hostRef);
|
|
2708
2707
|
}
|
|
2709
2708
|
render() {
|
|
2710
|
-
return (hAsync("div", { key: '
|
|
2709
|
+
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 } })))))))));
|
|
2711
2710
|
}
|
|
2712
2711
|
static get cmpMeta() { return {
|
|
2713
2712
|
"$flags$": 0,
|
|
@@ -2746,7 +2745,7 @@ class DocsContent {
|
|
|
2746
2745
|
}
|
|
2747
2746
|
}
|
|
2748
2747
|
render() {
|
|
2749
|
-
return hAsync("div", { key: '
|
|
2748
|
+
return hAsync("div", { key: '68fdef1fd6bdc75ce347d326b3329871e2ed5c8d', class: "container" }, this.renderContent());
|
|
2750
2749
|
}
|
|
2751
2750
|
static get cmpMeta() { return {
|
|
2752
2751
|
"$flags$": 0,
|
|
@@ -2779,7 +2778,7 @@ class DocsPalettes {
|
|
|
2779
2778
|
}
|
|
2780
2779
|
}
|
|
2781
2780
|
render() {
|
|
2782
|
-
return hAsync("div", { key: '
|
|
2781
|
+
return hAsync("div", { key: '97f8cff7dfed11b80a3a9e28d3628a72af8dc12d', class: "container" }, this.renderContent());
|
|
2783
2782
|
}
|
|
2784
2783
|
static get cmpMeta() { return {
|
|
2785
2784
|
"$flags$": 0,
|
|
@@ -2937,10 +2936,10 @@ class EdsAccordion {
|
|
|
2937
2936
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
2938
2937
|
*/
|
|
2939
2938
|
render() {
|
|
2940
|
-
return (hAsync("div", { key: '
|
|
2939
|
+
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
|
|
2941
2940
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
2942
2941
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
2943
|
-
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '
|
|
2942
|
+
${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' })))))));
|
|
2944
2943
|
}
|
|
2945
2944
|
get el() { return getElement(this); }
|
|
2946
2945
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -3117,12 +3116,12 @@ class EdsAlert {
|
|
|
3117
3116
|
}
|
|
3118
3117
|
render() {
|
|
3119
3118
|
const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
|
|
3120
|
-
return (hAsync("div", { key: '
|
|
3119
|
+
return (hAsync("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
|
|
3121
3120
|
intent: this.intent,
|
|
3122
3121
|
brd: this.brd,
|
|
3123
3122
|
direction: this.direction,
|
|
3124
3123
|
withBtn: this.withBtn
|
|
3125
|
-
}), 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: '
|
|
3124
|
+
}), 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() }))))));
|
|
3126
3125
|
}
|
|
3127
3126
|
get el() { return getElement(this); }
|
|
3128
3127
|
static get style() { return EdsAlertStyle0; }
|
|
@@ -3173,7 +3172,7 @@ class EdsAppRoot {
|
|
|
3173
3172
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3174
3173
|
}
|
|
3175
3174
|
render() {
|
|
3176
|
-
return (hAsync("div", { key: '
|
|
3175
|
+
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."))));
|
|
3177
3176
|
}
|
|
3178
3177
|
static get cmpMeta() { return {
|
|
3179
3178
|
"$flags$": 9,
|
|
@@ -3256,7 +3255,7 @@ class EdsAvatar {
|
|
|
3256
3255
|
* @returns {JSX.Element} The rendered avatar component.
|
|
3257
3256
|
*/
|
|
3258
3257
|
render() {
|
|
3259
|
-
return (hAsync("div", { key: '
|
|
3258
|
+
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))));
|
|
3260
3259
|
}
|
|
3261
3260
|
static get style() { return EdsAvatarStyle0; }
|
|
3262
3261
|
static get cmpMeta() { return {
|
|
@@ -3287,7 +3286,7 @@ class EdsBlockBreak {
|
|
|
3287
3286
|
this.inverse = false;
|
|
3288
3287
|
}
|
|
3289
3288
|
render() {
|
|
3290
|
-
return hAsync("hr", { key: '
|
|
3289
|
+
return hAsync("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
3291
3290
|
}
|
|
3292
3291
|
static get style() { return EdsBlockBreakStyle0; }
|
|
3293
3292
|
static get cmpMeta() { return {
|
|
@@ -3447,7 +3446,7 @@ class EdsBreadcrumb {
|
|
|
3447
3446
|
*/
|
|
3448
3447
|
render() {
|
|
3449
3448
|
const itemsToRender = this.getTruncatedItems();
|
|
3450
|
-
return (hAsync("nav", { key: '
|
|
3449
|
+
return (hAsync("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, hAsync("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
3451
3450
|
const isLast = index === itemsToRender.length - 1;
|
|
3452
3451
|
return (hAsync("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
3453
3452
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -3664,7 +3663,7 @@ class EdsButton {
|
|
|
3664
3663
|
});
|
|
3665
3664
|
const ElementType = this.elementType;
|
|
3666
3665
|
const isInteractive = !this.disabled && !this.loading;
|
|
3667
|
-
return (hAsync(Host, { key: '
|
|
3666
|
+
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: {
|
|
3668
3667
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
3669
3668
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
3670
3669
|
} }))), this.icon ? (hAsync("eds-icon-wrapper", { class: `
|
|
@@ -3724,7 +3723,7 @@ class EdsCardDesc {
|
|
|
3724
3723
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
3725
3724
|
}
|
|
3726
3725
|
render() {
|
|
3727
|
-
return (hAsync("p", { key: '
|
|
3726
|
+
return (hAsync("p", { key: '1e2ae9b46a477adb8a249a0a06c963d3e44ff297', class: "text-light f-ui-03-light" }, hAsync("span", { key: '072222b2b2249a772c1e26f566d7ac863dd6a1dd', class: this.getTruncateClass() }, this.description)));
|
|
3728
3727
|
}
|
|
3729
3728
|
static get style() { return EdsCardDescStyle0; }
|
|
3730
3729
|
static get cmpMeta() { return {
|
|
@@ -3741,7 +3740,7 @@ class EdsCardDesc {
|
|
|
3741
3740
|
}; }
|
|
3742
3741
|
}
|
|
3743
3742
|
|
|
3744
|
-
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}";
|
|
3743
|
+
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}";
|
|
3745
3744
|
var EdsCardGenericStyle0 = edsCardGenericCss;
|
|
3746
3745
|
|
|
3747
3746
|
/**
|
|
@@ -3829,7 +3828,7 @@ class EdsCardGeneric {
|
|
|
3829
3828
|
});
|
|
3830
3829
|
}
|
|
3831
3830
|
render() {
|
|
3832
|
-
return (hAsync("article", { key: '
|
|
3831
|
+
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 })))), ' '));
|
|
3833
3832
|
}
|
|
3834
3833
|
get el() { return getElement(this); }
|
|
3835
3834
|
static get style() { return EdsCardGenericStyle0; }
|
|
@@ -4041,7 +4040,7 @@ class EdsCardProject {
|
|
|
4041
4040
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
4042
4041
|
].join(' ');
|
|
4043
4042
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
4044
|
-
return (hAsync("article", { key: '
|
|
4043
|
+
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)))))));
|
|
4045
4044
|
}
|
|
4046
4045
|
get el() { return getElement(this); }
|
|
4047
4046
|
static get cmpMeta() { return {
|
|
@@ -4101,7 +4100,7 @@ class EdsCardSection {
|
|
|
4101
4100
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
4102
4101
|
*/
|
|
4103
4102
|
render() {
|
|
4104
|
-
return (hAsync("section", { key: '
|
|
4103
|
+
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 })))))));
|
|
4105
4104
|
}
|
|
4106
4105
|
static get style() { return EdsCardSectionStyle0; }
|
|
4107
4106
|
static get cmpMeta() { return {
|
|
@@ -4130,7 +4129,7 @@ class EdsCardTags {
|
|
|
4130
4129
|
this.tags = [];
|
|
4131
4130
|
}
|
|
4132
4131
|
render() {
|
|
4133
|
-
return (hAsync("div", { key: '
|
|
4132
|
+
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 })))));
|
|
4134
4133
|
}
|
|
4135
4134
|
static get style() { return EdsCardTagsStyle0; }
|
|
4136
4135
|
static get cmpMeta() { return {
|
|
@@ -4194,7 +4193,7 @@ class EdsCardTitle {
|
|
|
4194
4193
|
render() {
|
|
4195
4194
|
//const Tag = this.getTag();
|
|
4196
4195
|
const Heading = this.headingLevel;
|
|
4197
|
-
return (hAsync(Heading, { key: '
|
|
4196
|
+
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)));
|
|
4198
4197
|
}
|
|
4199
4198
|
static get style() { return EdsCardTitleStyle0; }
|
|
4200
4199
|
static get cmpMeta() { return {
|
|
@@ -4282,7 +4281,7 @@ class EdsCardTool {
|
|
|
4282
4281
|
});
|
|
4283
4282
|
}
|
|
4284
4283
|
render() {
|
|
4285
|
-
return (hAsync("article", { key: '
|
|
4284
|
+
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 }))))));
|
|
4286
4285
|
}
|
|
4287
4286
|
get el() { return getElement(this); }
|
|
4288
4287
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -6794,7 +6793,7 @@ class EdsCodeBlock {
|
|
|
6794
6793
|
return this.code; // Fallback if language is not provided or unsupported
|
|
6795
6794
|
}
|
|
6796
6795
|
render() {
|
|
6797
|
-
return (hAsync("div", { key: '
|
|
6796
|
+
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() })))));
|
|
6798
6797
|
}
|
|
6799
6798
|
get el() { return getElement(this); }
|
|
6800
6799
|
static get style() { return EdsCodeBlockStyle0; }
|
|
@@ -6842,7 +6841,7 @@ class EdsCookiesPreference {
|
|
|
6842
6841
|
}
|
|
6843
6842
|
}
|
|
6844
6843
|
render() {
|
|
6845
|
-
return (hAsync("div", { key: '
|
|
6844
|
+
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 })));
|
|
6846
6845
|
}
|
|
6847
6846
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6848
6847
|
static get cmpMeta() { return {
|
|
@@ -6866,13 +6865,23 @@ var EdsDropdownStyle0 = edsDropdownCss;
|
|
|
6866
6865
|
/**
|
|
6867
6866
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
6868
6867
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
6869
|
-
* such as positioning, styling, and
|
|
6868
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
6870
6869
|
*
|
|
6871
|
-
* Key
|
|
6872
|
-
* - Configurable dropdown position (left or right) and offset
|
|
6873
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
6874
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
6875
|
-
* -
|
|
6870
|
+
* ## Key Features:
|
|
6871
|
+
* - Configurable dropdown position (left or right) and offset
|
|
6872
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
6873
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
6874
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
6875
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
6876
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
6877
|
+
*
|
|
6878
|
+
* ## Auto-Close Behavior:
|
|
6879
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
6880
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
6881
|
+
*
|
|
6882
|
+
* ## Data Attributes:
|
|
6883
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
6884
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
6876
6885
|
*
|
|
6877
6886
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
6878
6887
|
*/
|
|
@@ -6885,10 +6894,12 @@ class EdsDropdown {
|
|
|
6885
6894
|
* Toggles the visibility of the dropdown and manages focus.
|
|
6886
6895
|
*/
|
|
6887
6896
|
this.handleClick = () => {
|
|
6888
|
-
var _a;
|
|
6897
|
+
var _a, _b;
|
|
6889
6898
|
this.isOpen = !this.isOpen;
|
|
6890
6899
|
if (this.isOpen) {
|
|
6891
|
-
|
|
6900
|
+
// refresh focusables each open in case slot changed
|
|
6901
|
+
this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
|
|
6902
|
+
this.focusIndex = this.focusableItems.length ? 0 : -1;
|
|
6892
6903
|
this.focusItem();
|
|
6893
6904
|
}
|
|
6894
6905
|
else {
|
|
@@ -6899,7 +6910,7 @@ class EdsDropdown {
|
|
|
6899
6910
|
category: 'ui-component',
|
|
6900
6911
|
parentContext: null,
|
|
6901
6912
|
tag: this.host.tagName.toLowerCase(),
|
|
6902
|
-
name: ((
|
|
6913
|
+
name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
|
|
6903
6914
|
action: this.isOpen ? 'expanded' : 'collapsed'
|
|
6904
6915
|
});
|
|
6905
6916
|
};
|
|
@@ -6911,9 +6922,14 @@ class EdsDropdown {
|
|
|
6911
6922
|
this.dropdownPos = 'left';
|
|
6912
6923
|
this.dropdownOffset = true;
|
|
6913
6924
|
this.intent = 'tertiary';
|
|
6925
|
+
this.autoClose = true;
|
|
6926
|
+
this.noCloseSelector = '[data-dropdown-no-close]';
|
|
6914
6927
|
this.isOpen = false;
|
|
6915
6928
|
this.focusIndex = -1;
|
|
6916
6929
|
}
|
|
6930
|
+
async close() {
|
|
6931
|
+
this.closeDropdown();
|
|
6932
|
+
}
|
|
6917
6933
|
/**
|
|
6918
6934
|
* Closes the dropdown when a click occurs outside of it.
|
|
6919
6935
|
* @param {Event} e - The click event.
|
|
@@ -6973,19 +6989,55 @@ class EdsDropdown {
|
|
|
6973
6989
|
var _a;
|
|
6974
6990
|
this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
|
|
6975
6991
|
}
|
|
6992
|
+
handleHostInternalClick(ev) {
|
|
6993
|
+
var _a;
|
|
6994
|
+
if (!this.isOpen || !this.panelEl) {
|
|
6995
|
+
return;
|
|
6996
|
+
}
|
|
6997
|
+
const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
|
|
6998
|
+
const clickedInsidePanel = path.includes(this.panelEl);
|
|
6999
|
+
if (!clickedInsidePanel) {
|
|
7000
|
+
return;
|
|
7001
|
+
}
|
|
7002
|
+
// Check if element has explicit close attribute
|
|
7003
|
+
const hasCloseAttribute = path.some((t) => {
|
|
7004
|
+
var _a;
|
|
7005
|
+
const n = t;
|
|
7006
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
|
|
7007
|
+
});
|
|
7008
|
+
// If element has data-dropdown-close, always close regardless of autoClose setting
|
|
7009
|
+
if (hasCloseAttribute) {
|
|
7010
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7011
|
+
return;
|
|
7012
|
+
}
|
|
7013
|
+
// If autoClose is disabled and no explicit close attribute, don't close
|
|
7014
|
+
if (!this.autoClose) {
|
|
7015
|
+
return;
|
|
7016
|
+
}
|
|
7017
|
+
// Auto-close mode: close unless clicked element opts out
|
|
7018
|
+
const shouldNotClose = path.some((t) => {
|
|
7019
|
+
var _a;
|
|
7020
|
+
const n = t;
|
|
7021
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
|
|
7022
|
+
});
|
|
7023
|
+
if (!shouldNotClose) {
|
|
7024
|
+
// Defer to allow the item's own click (e.g., router navigation) to run first
|
|
7025
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7026
|
+
}
|
|
7027
|
+
}
|
|
6976
7028
|
/**
|
|
6977
7029
|
* Renders the dropdown component and displays its content when open.
|
|
6978
7030
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
6979
7031
|
*/
|
|
6980
7032
|
render() {
|
|
6981
|
-
return (hAsync("div", { key: '
|
|
7033
|
+
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: {
|
|
6982
7034
|
'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,
|
|
6983
7035
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
6984
7036
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
6985
7037
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
6986
7038
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
6987
7039
|
'rounded-lg': this.rounded
|
|
6988
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '
|
|
7040
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
|
|
6989
7041
|
}
|
|
6990
7042
|
get host() { return getElement(this); }
|
|
6991
7043
|
static get style() { return EdsDropdownStyle0; }
|
|
@@ -7001,10 +7053,13 @@ class EdsDropdown {
|
|
|
7001
7053
|
"dropdownPos": [1, "dropdown-pos"],
|
|
7002
7054
|
"dropdownOffset": [4, "dropdown-offset"],
|
|
7003
7055
|
"intent": [1],
|
|
7056
|
+
"autoClose": [4, "auto-close"],
|
|
7057
|
+
"noCloseSelector": [1, "no-close-selector"],
|
|
7004
7058
|
"isOpen": [32],
|
|
7005
|
-
"focusIndex": [32]
|
|
7059
|
+
"focusIndex": [32],
|
|
7060
|
+
"close": [64]
|
|
7006
7061
|
},
|
|
7007
|
-
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"]],
|
|
7062
|
+
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"], [0, "click", "handleHostInternalClick"]],
|
|
7008
7063
|
"$lazyBundleId$": "-",
|
|
7009
7064
|
"$attrsToReflect$": []
|
|
7010
7065
|
}; }
|
|
@@ -7067,7 +7122,7 @@ class EdsFeedback {
|
|
|
7067
7122
|
const HeadingTag = this.headingLevel;
|
|
7068
7123
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7069
7124
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7070
|
-
return (hAsync("div", { key: '
|
|
7125
|
+
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]))));
|
|
7071
7126
|
}
|
|
7072
7127
|
get el() { return getElement(this); }
|
|
7073
7128
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7151,13 +7206,11 @@ class EdsFooter {
|
|
|
7151
7206
|
* Renders the footer component with optional sections and elements,
|
|
7152
7207
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
7153
7208
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7154
|
-
*
|
|
7155
|
-
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
7156
7209
|
*/
|
|
7157
7210
|
render() {
|
|
7158
|
-
return (hAsync("footer", { key: '
|
|
7211
|
+
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: () => {
|
|
7159
7212
|
this.toggleCookiesConsent();
|
|
7160
|
-
} })) : null))), hAsync("div", { key: '
|
|
7213
|
+
} })) : 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)))));
|
|
7161
7214
|
}
|
|
7162
7215
|
get el() { return getElement(this); }
|
|
7163
7216
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7322,9 +7375,10 @@ isFieldVisible) {
|
|
|
7322
7375
|
const npsEl = findNpsElement(formEl);
|
|
7323
7376
|
if (npsEl && npsEl.shadowRoot) {
|
|
7324
7377
|
const raw = (_a = npsEl.shadowRoot
|
|
7325
|
-
.querySelector('
|
|
7326
|
-
const
|
|
7327
|
-
|
|
7378
|
+
.querySelector('eds-button[tabindex="0"]')) === null || _a === void 0 ? void 0 : _a.getAttribute('aria-label');
|
|
7379
|
+
const parsed = raw !== null ? parseInt(raw, 10) : NaN;
|
|
7380
|
+
const value = Number.isInteger(parsed) && parsed >= 0 && parsed <= 10 ? parsed : NaN;
|
|
7381
|
+
if (isNaN(value)) {
|
|
7328
7382
|
// eslint-disable-next-line
|
|
7329
7383
|
if (field.required) {
|
|
7330
7384
|
errors[field.name] = ['This field is required.'];
|
|
@@ -7390,7 +7444,7 @@ function getFormInitData({ initData, parsedFields, currentValues
|
|
|
7390
7444
|
return { updatedValues };
|
|
7391
7445
|
}
|
|
7392
7446
|
|
|
7393
|
-
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}";
|
|
7447
|
+
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}";
|
|
7394
7448
|
var EdsFormStyle0 = edsFormCss;
|
|
7395
7449
|
|
|
7396
7450
|
/**
|
|
@@ -7410,13 +7464,17 @@ class EdsForm {
|
|
|
7410
7464
|
registerInstance(this, hostRef);
|
|
7411
7465
|
this.form = createEvent(this, "form", 7);
|
|
7412
7466
|
this.name = 'eds-form';
|
|
7467
|
+
this.title = 'Form Title';
|
|
7468
|
+
this.description = 'Form Description';
|
|
7413
7469
|
this.setFormUrl = true;
|
|
7414
7470
|
this.formBtn = true;
|
|
7415
7471
|
this.formBtnLabel = 'Submit';
|
|
7472
|
+
this.buttonIntent = 'primary';
|
|
7416
7473
|
this.errorMessage = 'Some fields in your form are incorrect.';
|
|
7417
7474
|
this.fields = [];
|
|
7418
7475
|
this.groups = [];
|
|
7419
7476
|
this.initData = {};
|
|
7477
|
+
this.formStyle = 'default';
|
|
7420
7478
|
this.values = {};
|
|
7421
7479
|
this.isSubmitting = false;
|
|
7422
7480
|
this.hasError = false;
|
|
@@ -7538,6 +7596,7 @@ class EdsForm {
|
|
|
7538
7596
|
return formData;
|
|
7539
7597
|
}
|
|
7540
7598
|
makeFormData() {
|
|
7599
|
+
var _a;
|
|
7541
7600
|
const formData = new FormData();
|
|
7542
7601
|
// Add the form name
|
|
7543
7602
|
formData.append('form_name', this.name);
|
|
@@ -7549,6 +7608,37 @@ class EdsForm {
|
|
|
7549
7608
|
// Append each key-value pair to the FormData object.
|
|
7550
7609
|
formData.append(key, this.values[key]);
|
|
7551
7610
|
});
|
|
7611
|
+
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
7612
|
+
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
7613
|
+
if (hasFileField && this.formEl) {
|
|
7614
|
+
// Find file inputs inside each eds-input-field's shadowRoot
|
|
7615
|
+
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
7616
|
+
hosts.forEach((host) => {
|
|
7617
|
+
const root = host.shadowRoot;
|
|
7618
|
+
if (!root)
|
|
7619
|
+
return;
|
|
7620
|
+
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
7621
|
+
console.log(fileInputs);
|
|
7622
|
+
fileInputs.forEach((fi) => {
|
|
7623
|
+
const name = fi.name;
|
|
7624
|
+
const files = fi.files ? Array.from(fi.files) : [];
|
|
7625
|
+
if (files.length > 0) {
|
|
7626
|
+
// Append each file under the same field name (backend can use request.files.getlist(name))
|
|
7627
|
+
files.forEach((file) => formData.append(name, file));
|
|
7628
|
+
}
|
|
7629
|
+
});
|
|
7630
|
+
});
|
|
7631
|
+
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
7632
|
+
// formData.set('_has_files', '1');
|
|
7633
|
+
}
|
|
7634
|
+
formData.forEach((value, key) => {
|
|
7635
|
+
if (value instanceof File) {
|
|
7636
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
7637
|
+
}
|
|
7638
|
+
else {
|
|
7639
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
7640
|
+
}
|
|
7641
|
+
});
|
|
7552
7642
|
return formData;
|
|
7553
7643
|
}
|
|
7554
7644
|
handleChange(e, field) {
|
|
@@ -7659,11 +7749,11 @@ class EdsForm {
|
|
|
7659
7749
|
message: `${field.name} updated`
|
|
7660
7750
|
});
|
|
7661
7751
|
}
|
|
7662
|
-
handleSubmit() {
|
|
7752
|
+
handleSubmit(e) {
|
|
7663
7753
|
var _a, _b;
|
|
7664
|
-
|
|
7754
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
7755
|
+
if (this.isSubmitting)
|
|
7665
7756
|
return;
|
|
7666
|
-
}
|
|
7667
7757
|
this.isSubmitting = true;
|
|
7668
7758
|
this.validateForm();
|
|
7669
7759
|
if (this.hasError) {
|
|
@@ -7714,10 +7804,15 @@ class EdsForm {
|
|
|
7714
7804
|
}
|
|
7715
7805
|
get groupedFields() {
|
|
7716
7806
|
const map = {};
|
|
7717
|
-
// initialize buckets for each group
|
|
7807
|
+
// initialize buckets for each declared group
|
|
7718
7808
|
this.parsedGroups.forEach((g) => (map[g.id] = []));
|
|
7809
|
+
// always keep an ungrouped bucket
|
|
7719
7810
|
map['__ungrouped'] = [];
|
|
7811
|
+
// only bucket fields that are currently visible
|
|
7720
7812
|
this.parsedFields.forEach((f) => {
|
|
7813
|
+
if (!this.isFieldVisible(f)) {
|
|
7814
|
+
return;
|
|
7815
|
+
}
|
|
7721
7816
|
const gid = f.groupId || '__ungrouped';
|
|
7722
7817
|
if (!map[gid]) {
|
|
7723
7818
|
map[gid] = [];
|
|
@@ -7738,7 +7833,7 @@ class EdsForm {
|
|
|
7738
7833
|
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 }))));
|
|
7739
7834
|
}
|
|
7740
7835
|
else if (field.type === 'nps') {
|
|
7741
|
-
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,
|
|
7836
|
+
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] }))));
|
|
7742
7837
|
}
|
|
7743
7838
|
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) }));
|
|
7744
7839
|
}
|
|
@@ -7749,9 +7844,13 @@ class EdsForm {
|
|
|
7749
7844
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
7750
7845
|
//const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
7751
7846
|
const buckets = this.groupedFields;
|
|
7752
|
-
|
|
7847
|
+
// build the shadow/bg classes if formStyle="shadow"
|
|
7848
|
+
const styleClasses = this.formStyle === 'shadow'
|
|
7849
|
+
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7850
|
+
: '';
|
|
7851
|
+
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
|
|
7753
7852
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7754
|
-
.map((g) => (hAsync("div", { class: "
|
|
7853
|
+
.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() })))));
|
|
7755
7854
|
}
|
|
7756
7855
|
get el() { return getElement(this); }
|
|
7757
7856
|
static get watchers() { return {
|
|
@@ -7764,13 +7863,17 @@ class EdsForm {
|
|
|
7764
7863
|
"$tagName$": "eds-form",
|
|
7765
7864
|
"$members$": {
|
|
7766
7865
|
"name": [1],
|
|
7866
|
+
"title": [1],
|
|
7867
|
+
"description": [1],
|
|
7767
7868
|
"setFormUrl": [4, "set-form-url"],
|
|
7768
7869
|
"formBtn": [4, "form-btn"],
|
|
7769
7870
|
"formBtnLabel": [1, "form-btn-label"],
|
|
7871
|
+
"buttonIntent": [1, "button-intent"],
|
|
7770
7872
|
"errorMessage": [1, "error-message"],
|
|
7771
7873
|
"fields": [1],
|
|
7772
7874
|
"groups": [1],
|
|
7773
7875
|
"initData": [16],
|
|
7876
|
+
"formStyle": [1, "form-style"],
|
|
7774
7877
|
"values": [32],
|
|
7775
7878
|
"isSubmitting": [32],
|
|
7776
7879
|
"hasError": [32],
|
|
@@ -7875,7 +7978,7 @@ class EdsFrame {
|
|
|
7875
7978
|
}
|
|
7876
7979
|
}
|
|
7877
7980
|
render() {
|
|
7878
|
-
return (hAsync("div", { key: '
|
|
7981
|
+
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 })))));
|
|
7879
7982
|
}
|
|
7880
7983
|
get el() { return getElement(this); }
|
|
7881
7984
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -7924,11 +8027,16 @@ class EdsFullscreenMenu {
|
|
|
7924
8027
|
this.isMenuOpen = false;
|
|
7925
8028
|
}
|
|
7926
8029
|
/**
|
|
7927
|
-
* Listens
|
|
7928
|
-
*
|
|
8030
|
+
* Listens on `body` for `toggleheadermenu` to open/close the menu.
|
|
8031
|
+
* The event detail should be a boolean (`true` = open, `false` = close).
|
|
8032
|
+
*
|
|
8033
|
+
* @example
|
|
8034
|
+
* ```js
|
|
8035
|
+
* document.body.dispatchEvent(new CustomEvent('toggleheadermenu', { detail: true }));
|
|
8036
|
+
* ```
|
|
7929
8037
|
*/
|
|
7930
8038
|
handleToggleMenu(event) {
|
|
7931
|
-
this.isMenuOpen = event.detail;
|
|
8039
|
+
this.isMenuOpen = !!event.detail;
|
|
7932
8040
|
}
|
|
7933
8041
|
/** Opens the menu */
|
|
7934
8042
|
openMenu() {
|
|
@@ -8039,7 +8147,7 @@ class EdsGauge {
|
|
|
8039
8147
|
const textStyle = {
|
|
8040
8148
|
fontSize: `${fontSize}px`
|
|
8041
8149
|
};
|
|
8042
|
-
return (hAsync("div", { key: '
|
|
8150
|
+
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))));
|
|
8043
8151
|
}
|
|
8044
8152
|
static get style() { return EdsGaugeStyle0; }
|
|
8045
8153
|
static get cmpMeta() { return {
|
|
@@ -8059,6 +8167,194 @@ class EdsGauge {
|
|
|
8059
8167
|
}; }
|
|
8060
8168
|
}
|
|
8061
8169
|
|
|
8170
|
+
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)}";
|
|
8171
|
+
var EdsGlobalSearchStyle0 = edsGlobalSearchCss;
|
|
8172
|
+
|
|
8173
|
+
class EdsGlobalSearch {
|
|
8174
|
+
constructor(hostRef) {
|
|
8175
|
+
registerInstance(this, hostRef);
|
|
8176
|
+
this.resultSelected = createEvent(this, "resultSelected", 7);
|
|
8177
|
+
this.searchClosed = createEvent(this, "searchClosed", 7);
|
|
8178
|
+
this.handleInput = (event) => {
|
|
8179
|
+
var _a;
|
|
8180
|
+
const target = event.target;
|
|
8181
|
+
this.query = target.value;
|
|
8182
|
+
if (this.debounceTimer) {
|
|
8183
|
+
clearTimeout(this.debounceTimer);
|
|
8184
|
+
}
|
|
8185
|
+
if (!this.query.trim()) {
|
|
8186
|
+
this.results = [];
|
|
8187
|
+
this.hasSearched = false;
|
|
8188
|
+
this.showDropdown = false;
|
|
8189
|
+
return;
|
|
8190
|
+
}
|
|
8191
|
+
sendAnalytics({
|
|
8192
|
+
category: 'shared-ui',
|
|
8193
|
+
parentContext: null,
|
|
8194
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8195
|
+
name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
|
|
8196
|
+
'unknow seach input query',
|
|
8197
|
+
action: 'click',
|
|
8198
|
+
});
|
|
8199
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
8200
|
+
this.runSearch();
|
|
8201
|
+
}, this.debounceDelay);
|
|
8202
|
+
};
|
|
8203
|
+
this.apiEndpoint = '/api/v1/global-search';
|
|
8204
|
+
this.placeholder = 'Search Handbook + Design...';
|
|
8205
|
+
this.limit = 20;
|
|
8206
|
+
this.debounceDelay = 300;
|
|
8207
|
+
this.query = '';
|
|
8208
|
+
this.results = [];
|
|
8209
|
+
this.loading = false;
|
|
8210
|
+
this.error = '';
|
|
8211
|
+
this.hasSearched = false;
|
|
8212
|
+
this.showDropdown = false;
|
|
8213
|
+
this.selectedIndex = -1;
|
|
8214
|
+
}
|
|
8215
|
+
componentDidLoad() {
|
|
8216
|
+
// Focus input if needed
|
|
8217
|
+
if (this.inputRef) {
|
|
8218
|
+
this.inputRef.focus();
|
|
8219
|
+
}
|
|
8220
|
+
}
|
|
8221
|
+
disconnectedCallback() {
|
|
8222
|
+
if (this.debounceTimer) {
|
|
8223
|
+
clearTimeout(this.debounceTimer);
|
|
8224
|
+
}
|
|
8225
|
+
}
|
|
8226
|
+
handleDocumentClick(event) {
|
|
8227
|
+
const path = event.composedPath();
|
|
8228
|
+
if (!path.includes(this.el)) {
|
|
8229
|
+
this.showDropdown = false;
|
|
8230
|
+
this.selectedIndex = -1;
|
|
8231
|
+
}
|
|
8232
|
+
}
|
|
8233
|
+
handleKeydown(event) {
|
|
8234
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
8235
|
+
if (event.key === 'Escape') {
|
|
8236
|
+
this.searchClosed.emit();
|
|
8237
|
+
}
|
|
8238
|
+
return;
|
|
8239
|
+
}
|
|
8240
|
+
switch (event.key) {
|
|
8241
|
+
case 'ArrowDown':
|
|
8242
|
+
event.preventDefault();
|
|
8243
|
+
this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
|
|
8244
|
+
this.scrollToSelected();
|
|
8245
|
+
break;
|
|
8246
|
+
case 'ArrowUp':
|
|
8247
|
+
event.preventDefault();
|
|
8248
|
+
this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
|
|
8249
|
+
this.scrollToSelected();
|
|
8250
|
+
break;
|
|
8251
|
+
case 'Enter':
|
|
8252
|
+
event.preventDefault();
|
|
8253
|
+
if (this.selectedIndex >= 0 &&
|
|
8254
|
+
this.selectedIndex < this.results.length) {
|
|
8255
|
+
this.selectResult(this.results[this.selectedIndex]);
|
|
8256
|
+
}
|
|
8257
|
+
break;
|
|
8258
|
+
case 'Escape':
|
|
8259
|
+
this.showDropdown = false;
|
|
8260
|
+
this.selectedIndex = -1;
|
|
8261
|
+
this.searchClosed.emit();
|
|
8262
|
+
break;
|
|
8263
|
+
}
|
|
8264
|
+
}
|
|
8265
|
+
async runSearch() {
|
|
8266
|
+
var _a;
|
|
8267
|
+
const query = this.query.trim();
|
|
8268
|
+
if (!query) {
|
|
8269
|
+
this.results = [];
|
|
8270
|
+
this.hasSearched = false;
|
|
8271
|
+
this.showDropdown = false;
|
|
8272
|
+
return;
|
|
8273
|
+
}
|
|
8274
|
+
this.loading = true;
|
|
8275
|
+
this.error = '';
|
|
8276
|
+
try {
|
|
8277
|
+
const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
|
|
8278
|
+
if (!response.ok) {
|
|
8279
|
+
throw new Error('Search failed');
|
|
8280
|
+
}
|
|
8281
|
+
const data = await response.json();
|
|
8282
|
+
this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
|
|
8283
|
+
this.hasSearched = true;
|
|
8284
|
+
this.showDropdown = true;
|
|
8285
|
+
this.selectedIndex = -1;
|
|
8286
|
+
}
|
|
8287
|
+
catch (err) {
|
|
8288
|
+
console.error('Search error:', err);
|
|
8289
|
+
this.error = 'Search failed. Please try again.';
|
|
8290
|
+
this.results = [];
|
|
8291
|
+
this.showDropdown = true;
|
|
8292
|
+
}
|
|
8293
|
+
finally {
|
|
8294
|
+
this.loading = false;
|
|
8295
|
+
}
|
|
8296
|
+
}
|
|
8297
|
+
selectResult(result) {
|
|
8298
|
+
this.resultSelected.emit(result);
|
|
8299
|
+
this.searchClosed.emit();
|
|
8300
|
+
sendAnalytics({
|
|
8301
|
+
category: 'shared-ui',
|
|
8302
|
+
parentContext: null,
|
|
8303
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8304
|
+
name: `search-select: ${result.url}` || 'unknow search result selection',
|
|
8305
|
+
action: 'click',
|
|
8306
|
+
});
|
|
8307
|
+
window.open(result.url, '_blank', 'noopener,noreferrer');
|
|
8308
|
+
}
|
|
8309
|
+
scrollToSelected() {
|
|
8310
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
8311
|
+
const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
8312
|
+
if (selectedItem) {
|
|
8313
|
+
selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
|
|
8314
|
+
}
|
|
8315
|
+
}
|
|
8316
|
+
}
|
|
8317
|
+
stripHtml(html) {
|
|
8318
|
+
const div = document.createElement('div');
|
|
8319
|
+
div.innerHTML = html;
|
|
8320
|
+
return div.textContent || div.innerText || '';
|
|
8321
|
+
}
|
|
8322
|
+
get hasResults() {
|
|
8323
|
+
return this.results.length > 0;
|
|
8324
|
+
}
|
|
8325
|
+
get showEmpty() {
|
|
8326
|
+
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
8327
|
+
}
|
|
8328
|
+
render() {
|
|
8329
|
+
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: {
|
|
8330
|
+
'result-item': true,
|
|
8331
|
+
'result-item--selected': index === this.selectedIndex,
|
|
8332
|
+
}, 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")))))));
|
|
8333
|
+
}
|
|
8334
|
+
get el() { return getElement(this); }
|
|
8335
|
+
static get style() { return EdsGlobalSearchStyle0; }
|
|
8336
|
+
static get cmpMeta() { return {
|
|
8337
|
+
"$flags$": 9,
|
|
8338
|
+
"$tagName$": "eds-global-search",
|
|
8339
|
+
"$members$": {
|
|
8340
|
+
"apiEndpoint": [1, "api-endpoint"],
|
|
8341
|
+
"placeholder": [1],
|
|
8342
|
+
"limit": [2],
|
|
8343
|
+
"debounceDelay": [2, "debounce-delay"],
|
|
8344
|
+
"query": [32],
|
|
8345
|
+
"results": [32],
|
|
8346
|
+
"loading": [32],
|
|
8347
|
+
"error": [32],
|
|
8348
|
+
"hasSearched": [32],
|
|
8349
|
+
"showDropdown": [32],
|
|
8350
|
+
"selectedIndex": [32]
|
|
8351
|
+
},
|
|
8352
|
+
"$listeners$": [[4, "click", "handleDocumentClick"], [0, "keydown", "handleKeydown"]],
|
|
8353
|
+
"$lazyBundleId$": "-",
|
|
8354
|
+
"$attrsToReflect$": []
|
|
8355
|
+
}; }
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8062
8358
|
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}}";
|
|
8063
8359
|
var EdsHeaderStyle0 = edsHeaderCss;
|
|
8064
8360
|
|
|
@@ -8120,7 +8416,7 @@ class EdsHeader {
|
|
|
8120
8416
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8121
8417
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8122
8418
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8123
|
-
return (hAsync("header", { key: '
|
|
8419
|
+
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() })))));
|
|
8124
8420
|
}
|
|
8125
8421
|
get hostEl() { return getElement(this); }
|
|
8126
8422
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -10138,7 +10434,7 @@ class EdsIconArrowDiagonal {
|
|
|
10138
10434
|
this.class = '';
|
|
10139
10435
|
}
|
|
10140
10436
|
render() {
|
|
10141
|
-
return hAsync("span", { key: '
|
|
10437
|
+
return hAsync("span", { key: 'f638b55d0ab199bbd7a52d099aa1242410ae1892', class: this.class, innerHTML: arrowDiagonal });
|
|
10142
10438
|
}
|
|
10143
10439
|
static get cmpMeta() { return {
|
|
10144
10440
|
"$flags$": 0,
|
|
@@ -10161,7 +10457,7 @@ class EdsIconArrowRight {
|
|
|
10161
10457
|
this.class = '';
|
|
10162
10458
|
}
|
|
10163
10459
|
render() {
|
|
10164
|
-
return hAsync("span", { key: '
|
|
10460
|
+
return hAsync("span", { key: '476da936a6861dc0a5db691cee31559c845766a2', class: this.class, innerHTML: arrowRight });
|
|
10165
10461
|
}
|
|
10166
10462
|
static get cmpMeta() { return {
|
|
10167
10463
|
"$flags$": 0,
|
|
@@ -10184,7 +10480,7 @@ class EdsIconBin {
|
|
|
10184
10480
|
this.class = '';
|
|
10185
10481
|
}
|
|
10186
10482
|
render() {
|
|
10187
|
-
return hAsync("span", { key: '
|
|
10483
|
+
return hAsync("span", { key: '8bc63b5438fa6bf2ffa729afd07a793b96f3167d', class: this.class, innerHTML: bin });
|
|
10188
10484
|
}
|
|
10189
10485
|
static get cmpMeta() { return {
|
|
10190
10486
|
"$flags$": 0,
|
|
@@ -10207,7 +10503,7 @@ class EdsIconBluesky {
|
|
|
10207
10503
|
this.class = '';
|
|
10208
10504
|
}
|
|
10209
10505
|
render() {
|
|
10210
|
-
return hAsync("span", { key: '
|
|
10506
|
+
return hAsync("span", { key: 'b42f25c9a2405c94d83c917026f376c9803058d1', class: this.class, innerHTML: bluesky });
|
|
10211
10507
|
}
|
|
10212
10508
|
static get cmpMeta() { return {
|
|
10213
10509
|
"$flags$": 0,
|
|
@@ -10230,7 +10526,7 @@ class EdsIconBookmark {
|
|
|
10230
10526
|
this.class = '';
|
|
10231
10527
|
}
|
|
10232
10528
|
render() {
|
|
10233
|
-
return hAsync("span", { key: '
|
|
10529
|
+
return hAsync("span", { key: '3a7cb54b31e70a446b093453389432938c2fd9d8', class: this.class, innerHTML: bookmark });
|
|
10234
10530
|
}
|
|
10235
10531
|
static get cmpMeta() { return {
|
|
10236
10532
|
"$flags$": 0,
|
|
@@ -10253,7 +10549,7 @@ class EdsIconChevronDown {
|
|
|
10253
10549
|
this.class = '';
|
|
10254
10550
|
}
|
|
10255
10551
|
render() {
|
|
10256
|
-
return hAsync("span", { key: '
|
|
10552
|
+
return hAsync("span", { key: '49925425ac1fd676eb96b973b1419f1f2aec1c81', class: this.class, innerHTML: chevronDown });
|
|
10257
10553
|
}
|
|
10258
10554
|
static get cmpMeta() { return {
|
|
10259
10555
|
"$flags$": 0,
|
|
@@ -10276,7 +10572,7 @@ class EdsIconChevronLeft {
|
|
|
10276
10572
|
this.class = '';
|
|
10277
10573
|
}
|
|
10278
10574
|
render() {
|
|
10279
|
-
return hAsync("span", { key: '
|
|
10575
|
+
return hAsync("span", { key: '38d849e3d7e2b2f5e7df8a5624bcf988b3046b11', class: this.class, innerHTML: chevronLeft });
|
|
10280
10576
|
}
|
|
10281
10577
|
static get cmpMeta() { return {
|
|
10282
10578
|
"$flags$": 0,
|
|
@@ -10299,7 +10595,7 @@ class EdsIconChevronRight {
|
|
|
10299
10595
|
this.class = '';
|
|
10300
10596
|
}
|
|
10301
10597
|
render() {
|
|
10302
|
-
return hAsync("span", { key: '
|
|
10598
|
+
return hAsync("span", { key: '5368c37dc49fa654d75f42a774a9a3ad93db5261', class: this.class, innerHTML: chevronRight });
|
|
10303
10599
|
}
|
|
10304
10600
|
static get cmpMeta() { return {
|
|
10305
10601
|
"$flags$": 0,
|
|
@@ -10322,7 +10618,7 @@ class EdsIconChevronUp {
|
|
|
10322
10618
|
this.class = '';
|
|
10323
10619
|
}
|
|
10324
10620
|
render() {
|
|
10325
|
-
return hAsync("span", { key: '
|
|
10621
|
+
return hAsync("span", { key: '6479f32960c973174c4577beef2f7df7b0baebd4', class: this.class, innerHTML: chevronUp });
|
|
10326
10622
|
}
|
|
10327
10623
|
static get cmpMeta() { return {
|
|
10328
10624
|
"$flags$": 0,
|
|
@@ -10345,7 +10641,7 @@ class EdsIconClone {
|
|
|
10345
10641
|
this.class = '';
|
|
10346
10642
|
}
|
|
10347
10643
|
render() {
|
|
10348
|
-
return hAsync("span", { key: '
|
|
10644
|
+
return hAsync("span", { key: 'a31ea2174a7c266b62264dad10c486f7dc27f043', class: this.class, innerHTML: clone });
|
|
10349
10645
|
}
|
|
10350
10646
|
static get cmpMeta() { return {
|
|
10351
10647
|
"$flags$": 0,
|
|
@@ -10368,7 +10664,7 @@ class EdsIconClose {
|
|
|
10368
10664
|
this.class = '';
|
|
10369
10665
|
}
|
|
10370
10666
|
render() {
|
|
10371
|
-
return hAsync("span", { key: '
|
|
10667
|
+
return hAsync("span", { key: 'b4283a9fbc348923169a4d56ad6f3b5aad4a13c8', class: this.class, innerHTML: close });
|
|
10372
10668
|
}
|
|
10373
10669
|
static get cmpMeta() { return {
|
|
10374
10670
|
"$flags$": 0,
|
|
@@ -10391,7 +10687,7 @@ class EdsIconCopy {
|
|
|
10391
10687
|
this.class = '';
|
|
10392
10688
|
}
|
|
10393
10689
|
render() {
|
|
10394
|
-
return hAsync("span", { key: '
|
|
10690
|
+
return hAsync("span", { key: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: copy });
|
|
10395
10691
|
}
|
|
10396
10692
|
static get cmpMeta() { return {
|
|
10397
10693
|
"$flags$": 0,
|
|
@@ -10405,6 +10701,29 @@ class EdsIconCopy {
|
|
|
10405
10701
|
}; }
|
|
10406
10702
|
}
|
|
10407
10703
|
|
|
10704
|
+
/**
|
|
10705
|
+
* @internal
|
|
10706
|
+
*/
|
|
10707
|
+
class EdsIconDownload {
|
|
10708
|
+
constructor(hostRef) {
|
|
10709
|
+
registerInstance(this, hostRef);
|
|
10710
|
+
this.class = '';
|
|
10711
|
+
}
|
|
10712
|
+
render() {
|
|
10713
|
+
return hAsync("span", { key: '2fbaad3eebee32d200d0f655b396ea937901f3bd', class: this.class, innerHTML: download });
|
|
10714
|
+
}
|
|
10715
|
+
static get cmpMeta() { return {
|
|
10716
|
+
"$flags$": 0,
|
|
10717
|
+
"$tagName$": "eds-icon-download",
|
|
10718
|
+
"$members$": {
|
|
10719
|
+
"class": [1]
|
|
10720
|
+
},
|
|
10721
|
+
"$listeners$": undefined,
|
|
10722
|
+
"$lazyBundleId$": "-",
|
|
10723
|
+
"$attrsToReflect$": []
|
|
10724
|
+
}; }
|
|
10725
|
+
}
|
|
10726
|
+
|
|
10408
10727
|
/**
|
|
10409
10728
|
* @internal
|
|
10410
10729
|
*/
|
|
@@ -10414,7 +10733,7 @@ class EdsIconDraft {
|
|
|
10414
10733
|
this.class = '';
|
|
10415
10734
|
}
|
|
10416
10735
|
render() {
|
|
10417
|
-
return hAsync("span", { key: '
|
|
10736
|
+
return hAsync("span", { key: '408c981cebc10ab4bcf91e2765e7971ad0a83975', class: this.class, innerHTML: draft });
|
|
10418
10737
|
}
|
|
10419
10738
|
static get cmpMeta() { return {
|
|
10420
10739
|
"$flags$": 0,
|
|
@@ -10437,7 +10756,7 @@ class EdsIconEdit {
|
|
|
10437
10756
|
this.class = '';
|
|
10438
10757
|
}
|
|
10439
10758
|
render() {
|
|
10440
|
-
return hAsync("span", { key: '
|
|
10759
|
+
return hAsync("span", { key: 'eb8558a13bcab457f260b0c3cddc235867b7f45a', class: this.class, innerHTML: edit });
|
|
10441
10760
|
}
|
|
10442
10761
|
static get cmpMeta() { return {
|
|
10443
10762
|
"$flags$": 0,
|
|
@@ -10460,7 +10779,7 @@ class EdsIconEu {
|
|
|
10460
10779
|
this.class = '';
|
|
10461
10780
|
}
|
|
10462
10781
|
render() {
|
|
10463
|
-
return hAsync("span", { key: '
|
|
10782
|
+
return hAsync("span", { key: '994f1becb4b226a2d2f022d9bd22a690fad5aab4', class: this.class, innerHTML: euSvg });
|
|
10464
10783
|
}
|
|
10465
10784
|
static get cmpMeta() { return {
|
|
10466
10785
|
"$flags$": 0,
|
|
@@ -10483,7 +10802,7 @@ class EdsIconExternal {
|
|
|
10483
10802
|
this.class = '';
|
|
10484
10803
|
}
|
|
10485
10804
|
render() {
|
|
10486
|
-
return hAsync("span", { key: '
|
|
10805
|
+
return hAsync("span", { key: '0825d1c73c5f311f7a9d5394542f6fd74791a543', class: this.class, innerHTML: arrowDiagonal });
|
|
10487
10806
|
}
|
|
10488
10807
|
static get cmpMeta() { return {
|
|
10489
10808
|
"$flags$": 0,
|
|
@@ -10506,7 +10825,7 @@ class EdsIconFacebook {
|
|
|
10506
10825
|
this.class = '';
|
|
10507
10826
|
}
|
|
10508
10827
|
render() {
|
|
10509
|
-
return hAsync("span", { key: '
|
|
10828
|
+
return hAsync("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: facebook });
|
|
10510
10829
|
}
|
|
10511
10830
|
static get cmpMeta() { return {
|
|
10512
10831
|
"$flags$": 0,
|
|
@@ -10529,7 +10848,7 @@ class EdsIconGitlab {
|
|
|
10529
10848
|
this.class = '';
|
|
10530
10849
|
}
|
|
10531
10850
|
render() {
|
|
10532
|
-
return hAsync("span", { key: '
|
|
10851
|
+
return hAsync("span", { key: '4c0a731d1a67884107112bc5941faf2001dbbfd5', class: this.class, innerHTML: gitlabBlack });
|
|
10533
10852
|
}
|
|
10534
10853
|
static get cmpMeta() { return {
|
|
10535
10854
|
"$flags$": 0,
|
|
@@ -10552,7 +10871,7 @@ class EdsIconLinkedin {
|
|
|
10552
10871
|
this.class = '';
|
|
10553
10872
|
}
|
|
10554
10873
|
render() {
|
|
10555
|
-
return hAsync("span", { key: '
|
|
10874
|
+
return hAsync("span", { key: '36bf44e06217f9b2521f374028a1316fb17ff21a', class: this.class, innerHTML: linkedin });
|
|
10556
10875
|
}
|
|
10557
10876
|
static get cmpMeta() { return {
|
|
10558
10877
|
"$flags$": 0,
|
|
@@ -10575,7 +10894,7 @@ class EdsIconLoader {
|
|
|
10575
10894
|
this.class = '';
|
|
10576
10895
|
}
|
|
10577
10896
|
render() {
|
|
10578
|
-
return hAsync("span", { key: '
|
|
10897
|
+
return hAsync("span", { key: '2207bbac640cf28a2d6d5d725f681e56c8c53011', class: this.class, innerHTML: loader });
|
|
10579
10898
|
}
|
|
10580
10899
|
static get cmpMeta() { return {
|
|
10581
10900
|
"$flags$": 0,
|
|
@@ -10598,7 +10917,7 @@ class EdsIconMastodon {
|
|
|
10598
10917
|
this.class = '';
|
|
10599
10918
|
}
|
|
10600
10919
|
render() {
|
|
10601
|
-
return hAsync("span", { key: '
|
|
10920
|
+
return hAsync("span", { key: 'b7ba0f10df196243538aaeefe3db0ee5f594f885', class: this.class, innerHTML: mastodon });
|
|
10602
10921
|
}
|
|
10603
10922
|
static get cmpMeta() { return {
|
|
10604
10923
|
"$flags$": 0,
|
|
@@ -10621,7 +10940,7 @@ class EdsIconMenu {
|
|
|
10621
10940
|
this.class = '';
|
|
10622
10941
|
}
|
|
10623
10942
|
render() {
|
|
10624
|
-
return hAsync("span", { key: '
|
|
10943
|
+
return hAsync("span", { key: '5f14cbe4b3ca88f7301c1561c092278b31d04326', class: this.class, innerHTML: menu });
|
|
10625
10944
|
}
|
|
10626
10945
|
static get cmpMeta() { return {
|
|
10627
10946
|
"$flags$": 0,
|
|
@@ -10644,7 +10963,7 @@ class EdsIconMinus {
|
|
|
10644
10963
|
this.class = '';
|
|
10645
10964
|
}
|
|
10646
10965
|
render() {
|
|
10647
|
-
return hAsync("span", { key: '
|
|
10966
|
+
return hAsync("span", { key: 'b19c12426db0068934252c6197ba04789d42f5e2', class: this.class, innerHTML: minus });
|
|
10648
10967
|
}
|
|
10649
10968
|
static get cmpMeta() { return {
|
|
10650
10969
|
"$flags$": 0,
|
|
@@ -10667,7 +10986,7 @@ class EdsIconMore {
|
|
|
10667
10986
|
this.class = '';
|
|
10668
10987
|
}
|
|
10669
10988
|
render() {
|
|
10670
|
-
return hAsync("span", { key: '
|
|
10989
|
+
return hAsync("span", { key: 'b6d2b6d7d156c715e2f7d2192d93a4326b22dfc5', class: this.class, innerHTML: more });
|
|
10671
10990
|
}
|
|
10672
10991
|
static get cmpMeta() { return {
|
|
10673
10992
|
"$flags$": 0,
|
|
@@ -10690,7 +11009,7 @@ class EdsIconPaper {
|
|
|
10690
11009
|
this.class = '';
|
|
10691
11010
|
}
|
|
10692
11011
|
render() {
|
|
10693
|
-
return hAsync("span", { key: '
|
|
11012
|
+
return hAsync("span", { key: '497345c7f18b9cceaf00030b7b3ab052f482c7bf', class: this.class, innerHTML: paper });
|
|
10694
11013
|
}
|
|
10695
11014
|
static get cmpMeta() { return {
|
|
10696
11015
|
"$flags$": 0,
|
|
@@ -10713,7 +11032,7 @@ class EdsIconPlus {
|
|
|
10713
11032
|
this.class = '';
|
|
10714
11033
|
}
|
|
10715
11034
|
render() {
|
|
10716
|
-
return hAsync("span", { key: '
|
|
11035
|
+
return hAsync("span", { key: 'd9fdc443e6da9465453f5f201b5782437a45402e', class: this.class, innerHTML: plus });
|
|
10717
11036
|
}
|
|
10718
11037
|
static get cmpMeta() { return {
|
|
10719
11038
|
"$flags$": 0,
|
|
@@ -10736,7 +11055,7 @@ class EdsIconPortal {
|
|
|
10736
11055
|
this.class = '';
|
|
10737
11056
|
}
|
|
10738
11057
|
render() {
|
|
10739
|
-
return hAsync("span", { key: '
|
|
11058
|
+
return hAsync("span", { key: '27be525d5922ed05755e207adc914c7e86fb7033', class: this.class, innerHTML: portal });
|
|
10740
11059
|
}
|
|
10741
11060
|
static get cmpMeta() { return {
|
|
10742
11061
|
"$flags$": 0,
|
|
@@ -10759,7 +11078,7 @@ class EdsIconPrivate {
|
|
|
10759
11078
|
this.class = '';
|
|
10760
11079
|
}
|
|
10761
11080
|
render() {
|
|
10762
|
-
return hAsync("span", { key: '
|
|
11081
|
+
return hAsync("span", { key: '16aa24573646bd0002f9b259dba4ab7bb150d12e', class: this.class, innerHTML: privat });
|
|
10763
11082
|
}
|
|
10764
11083
|
static get cmpMeta() { return {
|
|
10765
11084
|
"$flags$": 0,
|
|
@@ -10782,7 +11101,7 @@ class EdsIconPublic {
|
|
|
10782
11101
|
this.class = '';
|
|
10783
11102
|
}
|
|
10784
11103
|
render() {
|
|
10785
|
-
return hAsync("span", { key: '
|
|
11104
|
+
return hAsync("span", { key: '1aedbead2feca84807fa4dd3d10092c3a4632365', class: this.class, innerHTML: pub });
|
|
10786
11105
|
}
|
|
10787
11106
|
static get cmpMeta() { return {
|
|
10788
11107
|
"$flags$": 0,
|
|
@@ -10805,7 +11124,7 @@ class EdsIconSearch {
|
|
|
10805
11124
|
this.class = '';
|
|
10806
11125
|
}
|
|
10807
11126
|
render() {
|
|
10808
|
-
return hAsync("span", { key: '
|
|
11127
|
+
return hAsync("span", { key: '4d7a6781f65c4fc7159dd29a9d02b2d5333915fd', class: this.class, innerHTML: search });
|
|
10809
11128
|
}
|
|
10810
11129
|
static get cmpMeta() { return {
|
|
10811
11130
|
"$flags$": 0,
|
|
@@ -10828,7 +11147,7 @@ class EdsIconStar {
|
|
|
10828
11147
|
this.class = '';
|
|
10829
11148
|
}
|
|
10830
11149
|
render() {
|
|
10831
|
-
return hAsync("span", { key: '
|
|
11150
|
+
return hAsync("span", { key: '4410f1ce5f3b350e75b31ba6089540a9281e474b', class: this.class, innerHTML: star });
|
|
10832
11151
|
}
|
|
10833
11152
|
static get cmpMeta() { return {
|
|
10834
11153
|
"$flags$": 0,
|
|
@@ -10851,7 +11170,7 @@ class EdsIconStart {
|
|
|
10851
11170
|
this.class = '';
|
|
10852
11171
|
}
|
|
10853
11172
|
render() {
|
|
10854
|
-
return hAsync("span", { key: '
|
|
11173
|
+
return hAsync("span", { key: '3f33c676334b9e7dd18708459ebfb3e3a9cf12a4', class: this.class, innerHTML: start });
|
|
10855
11174
|
}
|
|
10856
11175
|
static get cmpMeta() { return {
|
|
10857
11176
|
"$flags$": 0,
|
|
@@ -10874,7 +11193,7 @@ class EdsIconSuccess {
|
|
|
10874
11193
|
this.class = '';
|
|
10875
11194
|
}
|
|
10876
11195
|
render() {
|
|
10877
|
-
return hAsync("span", { key: '
|
|
11196
|
+
return hAsync("span", { key: '0130a392a537a653154383ccd21a1516100459e3', class: this.class, innerHTML: success });
|
|
10878
11197
|
}
|
|
10879
11198
|
static get cmpMeta() { return {
|
|
10880
11199
|
"$flags$": 0,
|
|
@@ -10897,7 +11216,7 @@ class EdsIconThumbsDown {
|
|
|
10897
11216
|
this.class = '';
|
|
10898
11217
|
}
|
|
10899
11218
|
render() {
|
|
10900
|
-
return hAsync("span", { key: '
|
|
11219
|
+
return hAsync("span", { key: '747187922f5c94e96c67f5455e4ed3b8afd47885', class: this.class, innerHTML: thumbsDown });
|
|
10901
11220
|
}
|
|
10902
11221
|
static get cmpMeta() { return {
|
|
10903
11222
|
"$flags$": 0,
|
|
@@ -10920,7 +11239,7 @@ class EdsIconThumbsUp {
|
|
|
10920
11239
|
this.class = '';
|
|
10921
11240
|
}
|
|
10922
11241
|
render() {
|
|
10923
|
-
return hAsync("span", { key: '
|
|
11242
|
+
return hAsync("span", { key: '051029abca2749f24ae3407ff3ae36b20007c924', class: this.class, innerHTML: thumbsUp });
|
|
10924
11243
|
}
|
|
10925
11244
|
static get cmpMeta() { return {
|
|
10926
11245
|
"$flags$": 0,
|
|
@@ -10943,7 +11262,7 @@ class EdsIconTutorial {
|
|
|
10943
11262
|
this.class = '';
|
|
10944
11263
|
}
|
|
10945
11264
|
render() {
|
|
10946
|
-
return hAsync("span", { key: '
|
|
11265
|
+
return hAsync("span", { key: '3d0f88fa7ebbec278f9cc1394ed87809ff7c49d1', class: this.class, innerHTML: tutorial });
|
|
10947
11266
|
}
|
|
10948
11267
|
static get cmpMeta() { return {
|
|
10949
11268
|
"$flags$": 0,
|
|
@@ -10966,7 +11285,7 @@ class EdsIconTwitter {
|
|
|
10966
11285
|
this.class = '';
|
|
10967
11286
|
}
|
|
10968
11287
|
render() {
|
|
10969
|
-
return hAsync("span", { key: '
|
|
11288
|
+
return hAsync("span", { key: '063a941c7795658f2dd79fbdafd7ea1f8ed4b2f4', class: this.class, innerHTML: twitter });
|
|
10970
11289
|
}
|
|
10971
11290
|
static get cmpMeta() { return {
|
|
10972
11291
|
"$flags$": 0,
|
|
@@ -10989,7 +11308,7 @@ class EdsIconUnknown {
|
|
|
10989
11308
|
this.class = '';
|
|
10990
11309
|
}
|
|
10991
11310
|
render() {
|
|
10992
|
-
return hAsync("span", { key: '
|
|
11311
|
+
return hAsync("span", { key: '27f8330b13ebecd974913f83e3ae142406d08712', class: this.class, innerHTML: unknown });
|
|
10993
11312
|
}
|
|
10994
11313
|
static get cmpMeta() { return {
|
|
10995
11314
|
"$flags$": 0,
|
|
@@ -11012,7 +11331,7 @@ class EdsIconUpdown {
|
|
|
11012
11331
|
this.class = '';
|
|
11013
11332
|
}
|
|
11014
11333
|
render() {
|
|
11015
|
-
return hAsync("span", { key: '
|
|
11334
|
+
return hAsync("span", { key: 'ef19f500cdd0289666d512e73952e6ae1ba9e7dc', class: this.class, innerHTML: upDonw });
|
|
11016
11335
|
}
|
|
11017
11336
|
static get cmpMeta() { return {
|
|
11018
11337
|
"$flags$": 0,
|
|
@@ -11035,7 +11354,7 @@ class EdsIconUser {
|
|
|
11035
11354
|
this.class = '';
|
|
11036
11355
|
}
|
|
11037
11356
|
render() {
|
|
11038
|
-
return hAsync("span", { key: '
|
|
11357
|
+
return hAsync("span", { key: '134abbd42c49915f772f5d2aed7b53ecc5a0bd8a', class: this.class, innerHTML: user });
|
|
11039
11358
|
}
|
|
11040
11359
|
static get cmpMeta() { return {
|
|
11041
11360
|
"$flags$": 0,
|
|
@@ -11058,7 +11377,7 @@ class EdsIconView {
|
|
|
11058
11377
|
this.class = '';
|
|
11059
11378
|
}
|
|
11060
11379
|
render() {
|
|
11061
|
-
return hAsync("span", { key: '
|
|
11380
|
+
return hAsync("span", { key: '5725348031c6f0b6944e765b1b52e7f5759493aa', class: this.class, innerHTML: view });
|
|
11062
11381
|
}
|
|
11063
11382
|
static get cmpMeta() { return {
|
|
11064
11383
|
"$flags$": 0,
|
|
@@ -11137,7 +11456,7 @@ class EdsIconYoutube {
|
|
|
11137
11456
|
this.class = '';
|
|
11138
11457
|
}
|
|
11139
11458
|
render() {
|
|
11140
|
-
return hAsync("span", { key: '
|
|
11459
|
+
return hAsync("span", { key: '7c8d8693dc6e0a03af0b0a68190d451fee84a013', class: this.class, innerHTML: youtube });
|
|
11141
11460
|
}
|
|
11142
11461
|
static get cmpMeta() { return {
|
|
11143
11462
|
"$flags$": 0,
|
|
@@ -11213,10 +11532,10 @@ class EdsImg {
|
|
|
11213
11532
|
imgOpts['loading'] = 'lazy';
|
|
11214
11533
|
imgOpts['decoding'] = 'async';
|
|
11215
11534
|
}
|
|
11216
|
-
return (hAsync("div", { key: '
|
|
11535
|
+
return (hAsync("div", { key: '7d704bdd14072d6ce69632d6f2de3270ff393b87', class: {
|
|
11217
11536
|
'items-center justify-center': true,
|
|
11218
11537
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11219
|
-
} }, hAsync("picture", { key: '
|
|
11538
|
+
} }, 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: {
|
|
11220
11539
|
'effect-opacity object-cover object-center': true,
|
|
11221
11540
|
'opacity-100': this.loaded,
|
|
11222
11541
|
'opacity-0': !this.loaded
|
|
@@ -11298,7 +11617,7 @@ class EdsInput {
|
|
|
11298
11617
|
render() {
|
|
11299
11618
|
const withIcon = !!this.icon;
|
|
11300
11619
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11301
|
-
return (hAsync("div", { key: '
|
|
11620
|
+
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'
|
|
11302
11621
|
? {
|
|
11303
11622
|
min: this.min,
|
|
11304
11623
|
max: this.max,
|
|
@@ -11309,7 +11628,7 @@ class EdsInput {
|
|
|
11309
11628
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11310
11629
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11311
11630
|
${this.error ? 'input-error' : ''}
|
|
11312
|
-
`, "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: '
|
|
11631
|
+
`, "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 }))));
|
|
11313
11632
|
}
|
|
11314
11633
|
get el() { return getElement(this); }
|
|
11315
11634
|
static get watchers() { return {
|
|
@@ -11448,7 +11767,7 @@ class EdsInputField {
|
|
|
11448
11767
|
}
|
|
11449
11768
|
render() {
|
|
11450
11769
|
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 } : {}));
|
|
11451
|
-
return (hAsync("div", { key: '
|
|
11770
|
+
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' ? ((() => {
|
|
11452
11771
|
var _a, _b, _c;
|
|
11453
11772
|
const rangeProps = {
|
|
11454
11773
|
name: inputOpts.name,
|
|
@@ -11461,7 +11780,7 @@ class EdsInputField {
|
|
|
11461
11780
|
const opt = this.parsedOptions;
|
|
11462
11781
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11463
11782
|
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 })));
|
|
11464
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11783
|
+
})()) : (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 }))));
|
|
11465
11784
|
}
|
|
11466
11785
|
static get delegatesFocus() { return true; }
|
|
11467
11786
|
get hostEl() { return getElement(this); }
|
|
@@ -11513,7 +11832,7 @@ class EdsInputFooter {
|
|
|
11513
11832
|
this.link = undefined;
|
|
11514
11833
|
}
|
|
11515
11834
|
render() {
|
|
11516
|
-
return (hAsync("div", { key: '
|
|
11835
|
+
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))));
|
|
11517
11836
|
}
|
|
11518
11837
|
static get style() { return EdsInputFooterStyle0; }
|
|
11519
11838
|
static get cmpMeta() { return {
|
|
@@ -11544,7 +11863,7 @@ class EdsInputLabel {
|
|
|
11544
11863
|
this.disabled = false;
|
|
11545
11864
|
}
|
|
11546
11865
|
render() {
|
|
11547
|
-
return (hAsync("label", { key: '
|
|
11866
|
+
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")))));
|
|
11548
11867
|
}
|
|
11549
11868
|
static get style() { return EdsInputLabelStyle0; }
|
|
11550
11869
|
static get cmpMeta() { return {
|
|
@@ -11610,7 +11929,7 @@ class EdsInputRange {
|
|
|
11610
11929
|
return this.inputElement;
|
|
11611
11930
|
}
|
|
11612
11931
|
render() {
|
|
11613
|
-
return (hAsync("div", { key: '
|
|
11932
|
+
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)));
|
|
11614
11933
|
}
|
|
11615
11934
|
get el() { return getElement(this); }
|
|
11616
11935
|
static get watchers() { return {
|
|
@@ -11705,7 +12024,7 @@ class EdsInputSearch {
|
|
|
11705
12024
|
return this.inputElement;
|
|
11706
12025
|
}
|
|
11707
12026
|
render() {
|
|
11708
|
-
return (hAsync("div", { key: '
|
|
12027
|
+
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}`,
|
|
11709
12028
|
//onInput={this.onInput}
|
|
11710
12029
|
onChange: this.onChange })));
|
|
11711
12030
|
}
|
|
@@ -11759,12 +12078,12 @@ class EdsInputSelect {
|
|
|
11759
12078
|
const selectId = this.inputId || this.name;
|
|
11760
12079
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11761
12080
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11762
|
-
return (hAsync("div", { key: '
|
|
12081
|
+
return (hAsync("div", { key: 'b28b21c38ed5848cf08c0bc626f4ce32eddfb775', class: "relative" }, hAsync("select", { key: '727f578d43cf12568d3d3b35548a30972fc46300', id: selectId, name: this.name, class: {
|
|
11763
12082
|
input: true,
|
|
11764
12083
|
'input-error': this.error,
|
|
11765
12084
|
'px-4': true,
|
|
11766
12085
|
'py-2': true
|
|
11767
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
12086
|
+
}, "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" }))));
|
|
11768
12087
|
}
|
|
11769
12088
|
static get cmpMeta() { return {
|
|
11770
12089
|
"$flags$": 0,
|
|
@@ -12025,7 +12344,7 @@ class EdsLink {
|
|
|
12025
12344
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12026
12345
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12027
12346
|
: '';
|
|
12028
|
-
return (hAsync("a", { key: '
|
|
12347
|
+
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())));
|
|
12029
12348
|
}
|
|
12030
12349
|
get el() { return getElement(this); }
|
|
12031
12350
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12133,7 +12452,7 @@ class EdsLogo {
|
|
|
12133
12452
|
}
|
|
12134
12453
|
render() {
|
|
12135
12454
|
const logoContent = this.getLogo();
|
|
12136
|
-
return (hAsync("a", { key: '
|
|
12455
|
+
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 })));
|
|
12137
12456
|
}
|
|
12138
12457
|
get el() { return getElement(this); }
|
|
12139
12458
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12283,7 +12602,7 @@ class EdsMatomoNotice {
|
|
|
12283
12602
|
}; }
|
|
12284
12603
|
}
|
|
12285
12604
|
|
|
12286
|
-
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-
|
|
12605
|
+
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}}";
|
|
12287
12606
|
var EdsModalStyle0 = edsModalCss;
|
|
12288
12607
|
|
|
12289
12608
|
/**
|
|
@@ -12408,9 +12727,9 @@ class EdsModal {
|
|
|
12408
12727
|
render() {
|
|
12409
12728
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12410
12729
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12411
|
-
return (hAsync("div", { key: '
|
|
12730
|
+
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
|
|
12412
12731
|
,
|
|
12413
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12732
|
+
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' })))));
|
|
12414
12733
|
}
|
|
12415
12734
|
get el() { return getElement(this); }
|
|
12416
12735
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12500,13 +12819,13 @@ class EdsNps {
|
|
|
12500
12819
|
}
|
|
12501
12820
|
render() {
|
|
12502
12821
|
const count = this.max - this.min + 1;
|
|
12503
|
-
|
|
12504
|
-
return (hAsync("div", { key: '
|
|
12822
|
+
//onst fallback = 0;
|
|
12823
|
+
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) => {
|
|
12505
12824
|
const val = this.min + i;
|
|
12506
12825
|
const isSelected = val === this.selectedValue;
|
|
12507
|
-
const tabIndex =
|
|
12826
|
+
const tabIndex = isSelected ? 0 : -1;
|
|
12508
12827
|
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) })));
|
|
12509
|
-
})), hAsync("div", { key: '
|
|
12828
|
+
})), 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))));
|
|
12510
12829
|
}
|
|
12511
12830
|
get el() { return getElement(this); }
|
|
12512
12831
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12525,7 +12844,7 @@ class EdsNps {
|
|
|
12525
12844
|
}; }
|
|
12526
12845
|
}
|
|
12527
12846
|
|
|
12528
|
-
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}}";
|
|
12847
|
+
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}}";
|
|
12529
12848
|
var EdsPaginationStyle0 = edsPaginationCss;
|
|
12530
12849
|
|
|
12531
12850
|
/**
|
|
@@ -12768,7 +13087,7 @@ class EdsPagination {
|
|
|
12768
13087
|
if (newPage !== this.currentPage) {
|
|
12769
13088
|
this.links = this.links.map((link) => typeof link === 'object' ? Object.assign(Object.assign({}, link), { current: parseInt(link.label) === newPage }) : link);
|
|
12770
13089
|
const pageChangeEvent = new CustomEvent('page', {
|
|
12771
|
-
detail: newPage,
|
|
13090
|
+
detail: { value: newPage },
|
|
12772
13091
|
bubbles: true,
|
|
12773
13092
|
composed: true
|
|
12774
13093
|
});
|
|
@@ -12778,7 +13097,7 @@ class EdsPagination {
|
|
|
12778
13097
|
}
|
|
12779
13098
|
render() {
|
|
12780
13099
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12781
|
-
return (hAsync("div", { key: '
|
|
13100
|
+
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) => {
|
|
12782
13101
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12783
13102
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12784
13103
|
}
|
|
@@ -12985,7 +13304,7 @@ class EdsProgressBar {
|
|
|
12985
13304
|
]
|
|
12986
13305
|
.filter(Boolean)
|
|
12987
13306
|
.join(' ');
|
|
12988
|
-
return (hAsync("div", { key: '
|
|
13307
|
+
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, "%"))));
|
|
12989
13308
|
}
|
|
12990
13309
|
static get style() { return EdsProgressBarStyle0; }
|
|
12991
13310
|
static get cmpMeta() { return {
|
|
@@ -13068,12 +13387,12 @@ class EdsRating {
|
|
|
13068
13387
|
this.onSelect(next);
|
|
13069
13388
|
}
|
|
13070
13389
|
render() {
|
|
13071
|
-
return (hAsync("div", { key: '
|
|
13390
|
+
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) => {
|
|
13072
13391
|
const starRating = index + 1;
|
|
13073
13392
|
const isSelected = starRating <= this.selectedRating;
|
|
13074
13393
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
13075
13394
|
const checked = this.selectedRating === starRating;
|
|
13076
|
-
return (hAsync("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType,
|
|
13395
|
+
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
|
|
13077
13396
|
}));
|
|
13078
13397
|
})));
|
|
13079
13398
|
}
|
|
@@ -13118,7 +13437,7 @@ class EdsSectionCore {
|
|
|
13118
13437
|
}
|
|
13119
13438
|
render() {
|
|
13120
13439
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13121
|
-
return (hAsync(TagType, { key: '
|
|
13440
|
+
return (hAsync(TagType, { key: '4765a07e798f1a622c25ec145c31345b27e1815d' }, hAsync("eds-section-heading", { key: 'a320ac532863eaabbc1901ab5d9e9d0c14ae7556', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '8de34d1949c0a7d0d83f977d18d36f435444401d' })));
|
|
13122
13441
|
}
|
|
13123
13442
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13124
13443
|
static get cmpMeta() { return {
|
|
@@ -13173,12 +13492,12 @@ class EdsSectionHeading {
|
|
|
13173
13492
|
render() {
|
|
13174
13493
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13175
13494
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13176
|
-
return (hAsync(TagType, { key: '
|
|
13495
|
+
return (hAsync(TagType, { key: '960224968ba731050d2b208a07c1faddc386746b', class: {
|
|
13177
13496
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13178
13497
|
container: this.withContainer,
|
|
13179
13498
|
'pt-48': this.spacingLarge,
|
|
13180
13499
|
'pt-28': !this.spacingLarge
|
|
13181
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13500
|
+
} }, hAsync(HeadingTag, { key: 'fc93452bfe1bac130654a187d7d42ee18f273147', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13182
13501
|
}
|
|
13183
13502
|
static get cmpMeta() { return {
|
|
13184
13503
|
"$flags$": 0,
|
|
@@ -13196,7 +13515,7 @@ class EdsSectionHeading {
|
|
|
13196
13515
|
}; }
|
|
13197
13516
|
}
|
|
13198
13517
|
|
|
13199
|
-
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)}.
|
|
13518
|
+
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}";
|
|
13200
13519
|
var EdsSocialNetworksStyle0 = edsSocialNetworksCss;
|
|
13201
13520
|
|
|
13202
13521
|
/**
|
|
@@ -13250,11 +13569,9 @@ class EdsSocialNetworks {
|
|
|
13250
13569
|
/**
|
|
13251
13570
|
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
13252
13571
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13253
|
-
*
|
|
13254
|
-
* @returns {JSX.Element} The rendered JSX for the component.
|
|
13255
13572
|
*/
|
|
13256
13573
|
render() {
|
|
13257
|
-
return (hAsync("
|
|
13574
|
+
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" })))))));
|
|
13258
13575
|
}
|
|
13259
13576
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13260
13577
|
static get cmpMeta() { return {
|
|
@@ -13345,7 +13662,7 @@ class EdsSpinner {
|
|
|
13345
13662
|
alignItems: 'center',
|
|
13346
13663
|
justifyContent: 'center'
|
|
13347
13664
|
};
|
|
13348
|
-
return (hAsync(Host, { key: '
|
|
13665
|
+
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))));
|
|
13349
13666
|
}
|
|
13350
13667
|
static get style() { return EdsSpinnerStyle0; }
|
|
13351
13668
|
static get cmpMeta() { return {
|
|
@@ -13429,40 +13746,77 @@ class EdsSplashScreen {
|
|
|
13429
13746
|
}; }
|
|
13430
13747
|
}
|
|
13431
13748
|
|
|
13432
|
-
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
|
|
13749
|
+
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}";
|
|
13433
13750
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13434
13751
|
|
|
13435
13752
|
class EdsSteps {
|
|
13436
13753
|
constructor(hostRef) {
|
|
13437
13754
|
registerInstance(this, hostRef);
|
|
13438
13755
|
this.step = createEvent(this, "step", 7);
|
|
13439
|
-
this.
|
|
13440
|
-
|
|
13441
|
-
|
|
13756
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13757
|
+
this.next = createEvent(this, "next", 7);
|
|
13758
|
+
this.back = createEvent(this, "back", 7);
|
|
13759
|
+
this.handleTitleClick = (index) => {
|
|
13760
|
+
// 1) If clicking the current title, keep your existing toggle behavior
|
|
13761
|
+
if (index === this.activeStep) {
|
|
13762
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13442
13763
|
this.step.emit(this.activeStep);
|
|
13764
|
+
return;
|
|
13765
|
+
}
|
|
13766
|
+
// 2) In linear mode, block jumping *forward* when current step is gated
|
|
13767
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13768
|
+
if (forwardBlocked) {
|
|
13769
|
+
return;
|
|
13770
|
+
} // do nothing when Next/Finish would be disabled
|
|
13771
|
+
// 3) Allow jumping back or forward when not gated
|
|
13772
|
+
this.activeStep = index;
|
|
13773
|
+
this.step.emit(this.activeStep);
|
|
13774
|
+
};
|
|
13775
|
+
this.handleNext = () => {
|
|
13776
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13777
|
+
if (this.activeStep >= lastIndex) {
|
|
13778
|
+
this.activeStep = -1;
|
|
13779
|
+
this.finished.emit();
|
|
13780
|
+
return;
|
|
13781
|
+
}
|
|
13782
|
+
const target = this.activeStep + 1;
|
|
13783
|
+
this.next.emit(target);
|
|
13784
|
+
if (this.isNextDisabledFor(this.activeStep)) {
|
|
13785
|
+
return;
|
|
13786
|
+
} // block advance only if current is disabled
|
|
13787
|
+
this.activeStep = target;
|
|
13788
|
+
this.step.emit(this.activeStep);
|
|
13789
|
+
// 2) if using the boolean form, clear it when moving away from a step
|
|
13790
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13791
|
+
this.disableNext = false;
|
|
13443
13792
|
}
|
|
13444
13793
|
};
|
|
13445
13794
|
this.handleBack = () => {
|
|
13446
13795
|
if (this.activeStep > 0) {
|
|
13447
|
-
|
|
13796
|
+
const target = this.activeStep - 1;
|
|
13797
|
+
this.back.emit(target);
|
|
13798
|
+
this.activeStep = target;
|
|
13448
13799
|
this.step.emit(this.activeStep);
|
|
13800
|
+
// also clear boolean form on back
|
|
13801
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13802
|
+
this.disableNext = false;
|
|
13803
|
+
}
|
|
13449
13804
|
}
|
|
13450
13805
|
};
|
|
13451
13806
|
this.steps = [];
|
|
13452
13807
|
this.type = 'static';
|
|
13808
|
+
this.nextLabel = 'Next';
|
|
13809
|
+
this.backLabel = 'Back';
|
|
13810
|
+
this.finishLabel = 'Finish';
|
|
13811
|
+
this.disableNext = false;
|
|
13812
|
+
this.headingLevel = 'h4';
|
|
13453
13813
|
this.activeStep = 0;
|
|
13454
13814
|
}
|
|
13455
|
-
/**
|
|
13456
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
13457
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
13458
|
-
*/
|
|
13459
13815
|
componentDidLoad() {
|
|
13460
13816
|
var _a;
|
|
13461
13817
|
if (this.type === 'linear') {
|
|
13462
13818
|
const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
|
|
13463
|
-
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) =>
|
|
13464
|
-
this.emitContext(btn);
|
|
13465
|
-
});
|
|
13819
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
|
|
13466
13820
|
}
|
|
13467
13821
|
}
|
|
13468
13822
|
activeStepChanged(newValue) {
|
|
@@ -13470,19 +13824,10 @@ class EdsSteps {
|
|
|
13470
13824
|
var _a;
|
|
13471
13825
|
const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
|
|
13472
13826
|
if (activeStepContainer) {
|
|
13473
|
-
|
|
13474
|
-
btns.forEach((btn) => {
|
|
13475
|
-
this.emitContext(btn);
|
|
13476
|
-
});
|
|
13827
|
+
activeStepContainer.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
|
|
13477
13828
|
}
|
|
13478
13829
|
}, 50);
|
|
13479
13830
|
}
|
|
13480
|
-
/**
|
|
13481
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
13482
|
-
* This event provides context information about the breadcrumb component.
|
|
13483
|
-
*
|
|
13484
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
13485
|
-
*/
|
|
13486
13831
|
emitContext(linkElement) {
|
|
13487
13832
|
const event = new CustomEvent('parentContext', {
|
|
13488
13833
|
detail: {
|
|
@@ -13492,26 +13837,43 @@ class EdsSteps {
|
|
|
13492
13837
|
});
|
|
13493
13838
|
linkElement.dispatchEvent(event);
|
|
13494
13839
|
}
|
|
13495
|
-
handleStepClick(index) {
|
|
13496
|
-
this.step.emit(index);
|
|
13497
|
-
// In linear mode, update the active step on header click.
|
|
13498
|
-
if (this.type === 'linear') {
|
|
13499
|
-
this.activeStep = index;
|
|
13500
|
-
}
|
|
13501
|
-
}
|
|
13502
|
-
/**
|
|
13503
|
-
* Parse the JSON string into an array of steps.
|
|
13504
|
-
*/
|
|
13505
13840
|
get parsedSteps() {
|
|
13506
13841
|
return parseData(this.steps);
|
|
13507
13842
|
}
|
|
13843
|
+
isNextDisabledFor(index) {
|
|
13844
|
+
return Array.isArray(this.disableNext)
|
|
13845
|
+
? !!this.disableNext[index] // per-step
|
|
13846
|
+
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13847
|
+
}
|
|
13848
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13849
|
+
renderHeading(title, index) {
|
|
13850
|
+
const Tag = this.headingLevel;
|
|
13851
|
+
if (this.type === 'linear') {
|
|
13852
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13853
|
+
const onKey = (e) => {
|
|
13854
|
+
if (forwardBlocked) {
|
|
13855
|
+
return;
|
|
13856
|
+
}
|
|
13857
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
13858
|
+
e.preventDefault();
|
|
13859
|
+
this.handleTitleClick(index);
|
|
13860
|
+
}
|
|
13861
|
+
};
|
|
13862
|
+
const isOpen = this.activeStep === index;
|
|
13863
|
+
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));
|
|
13864
|
+
}
|
|
13865
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13866
|
+
}
|
|
13508
13867
|
render() {
|
|
13509
13868
|
const steps = this.parsedSteps;
|
|
13510
13869
|
if (this.type === 'linear') {
|
|
13511
|
-
return (hAsync("div",
|
|
13870
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13871
|
+
const isLast = index === steps.length - 1;
|
|
13872
|
+
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}` })))));
|
|
13873
|
+
})));
|
|
13512
13874
|
}
|
|
13513
|
-
// Static
|
|
13514
|
-
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index },
|
|
13875
|
+
// Static: no navigation buttons
|
|
13876
|
+
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 }))))))));
|
|
13515
13877
|
}
|
|
13516
13878
|
get el() { return getElement(this); }
|
|
13517
13879
|
static get watchers() { return {
|
|
@@ -13524,30 +13886,64 @@ class EdsSteps {
|
|
|
13524
13886
|
"$members$": {
|
|
13525
13887
|
"steps": [1],
|
|
13526
13888
|
"type": [1],
|
|
13889
|
+
"nextLabel": [1, "next-label"],
|
|
13890
|
+
"backLabel": [1, "back-label"],
|
|
13891
|
+
"finishLabel": [1, "finish-label"],
|
|
13892
|
+
"disableNext": [1028, "disable-next"],
|
|
13893
|
+
"headingLevel": [513, "heading-level"],
|
|
13527
13894
|
"activeStep": [32]
|
|
13528
13895
|
},
|
|
13529
13896
|
"$listeners$": undefined,
|
|
13530
13897
|
"$lazyBundleId$": "-",
|
|
13531
|
-
"$attrsToReflect$": []
|
|
13898
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13532
13899
|
}; }
|
|
13533
13900
|
}
|
|
13534
13901
|
|
|
13535
|
-
const edsStepsV2Css = "
|
|
13902
|
+
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}";
|
|
13536
13903
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13537
13904
|
|
|
13538
13905
|
class EdsStepsV2 {
|
|
13539
13906
|
constructor(hostRef) {
|
|
13540
13907
|
registerInstance(this, hostRef);
|
|
13541
13908
|
this.step = createEvent(this, "step", 7);
|
|
13909
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13910
|
+
this.next = createEvent(this, "next", 7);
|
|
13911
|
+
this.back = createEvent(this, "back", 7);
|
|
13912
|
+
this.handleTitleClick = (index) => {
|
|
13913
|
+
// If clicking the same title, keep your existing toggle behavior
|
|
13914
|
+
if (index === this.activeStep) {
|
|
13915
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13916
|
+
this.step.emit(this.activeStep);
|
|
13917
|
+
return;
|
|
13918
|
+
}
|
|
13919
|
+
// Block *forward* jumps when progression is gated by disableNext (boolean)
|
|
13920
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
|
|
13921
|
+
if (forwardBlocked) {
|
|
13922
|
+
return;
|
|
13923
|
+
}
|
|
13924
|
+
// Allow back (or forward when not gated)
|
|
13925
|
+
this.activeStep = index;
|
|
13926
|
+
this.step.emit(this.activeStep);
|
|
13927
|
+
};
|
|
13542
13928
|
this.handleNext = () => {
|
|
13543
|
-
|
|
13544
|
-
if (this.activeStep
|
|
13929
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13930
|
+
if (this.activeStep >= lastIndex) {
|
|
13931
|
+
this.finished.emit();
|
|
13932
|
+
this.activeStep = -1; // collapse last step
|
|
13933
|
+
return;
|
|
13934
|
+
}
|
|
13935
|
+
const target = this.activeStep + 1;
|
|
13936
|
+
this.next.emit(target);
|
|
13937
|
+
if (!this.disableNext) {
|
|
13938
|
+
this.activeStep = target;
|
|
13545
13939
|
this.step.emit(this.activeStep);
|
|
13546
13940
|
}
|
|
13547
13941
|
};
|
|
13548
13942
|
this.handleBack = () => {
|
|
13549
13943
|
if (this.activeStep > 0) {
|
|
13550
|
-
|
|
13944
|
+
const target = this.activeStep - 1;
|
|
13945
|
+
this.back.emit(target);
|
|
13946
|
+
this.activeStep = target;
|
|
13551
13947
|
this.step.emit(this.activeStep);
|
|
13552
13948
|
}
|
|
13553
13949
|
};
|
|
@@ -13557,6 +13953,11 @@ class EdsStepsV2 {
|
|
|
13557
13953
|
this.imageWidth = undefined;
|
|
13558
13954
|
this.bg = true;
|
|
13559
13955
|
this.message = undefined;
|
|
13956
|
+
this.nextLabel = 'Next';
|
|
13957
|
+
this.backLabel = 'Back';
|
|
13958
|
+
this.finishLabel = 'Finish';
|
|
13959
|
+
this.disableNext = false;
|
|
13960
|
+
this.headingLevel = 'h4';
|
|
13560
13961
|
this.activeStep = 0;
|
|
13561
13962
|
}
|
|
13562
13963
|
componentDidLoad() {
|
|
@@ -13595,24 +13996,39 @@ class EdsStepsV2 {
|
|
|
13595
13996
|
'border-softer effect-focus-within relative rounded-lg border-2'
|
|
13596
13997
|
].join(' ');
|
|
13597
13998
|
}
|
|
13598
|
-
handleStepClick(index) {
|
|
13599
|
-
this.step.emit(index);
|
|
13600
|
-
// In linear mode, update the active step on header click.
|
|
13601
|
-
if (this.type === 'linear') {
|
|
13602
|
-
this.activeStep = index;
|
|
13603
|
-
}
|
|
13604
|
-
}
|
|
13605
13999
|
/**
|
|
13606
14000
|
* Parses the steps property into an array of Step objects.
|
|
13607
14001
|
*/
|
|
13608
14002
|
get parsedSteps() {
|
|
13609
14003
|
return parseData(this.steps);
|
|
13610
14004
|
}
|
|
14005
|
+
isNextDisabledForCurrent() {
|
|
14006
|
+
return !!this.disableNext;
|
|
14007
|
+
}
|
|
14008
|
+
/** Render the semantic heading element */
|
|
14009
|
+
renderHeading(title, index) {
|
|
14010
|
+
const Tag = this.headingLevel;
|
|
14011
|
+
if (this.type === 'linear') {
|
|
14012
|
+
const isOpen = this.activeStep === index;
|
|
14013
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledForCurrent();
|
|
14014
|
+
const onKey = (e) => {
|
|
14015
|
+
if (forwardBlocked) {
|
|
14016
|
+
return;
|
|
14017
|
+
}
|
|
14018
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
14019
|
+
e.preventDefault();
|
|
14020
|
+
this.handleTitleClick(index);
|
|
14021
|
+
}
|
|
14022
|
+
};
|
|
14023
|
+
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));
|
|
14024
|
+
}
|
|
14025
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
14026
|
+
}
|
|
13611
14027
|
render() {
|
|
13612
14028
|
const steps = this.parsedSteps;
|
|
13613
|
-
return (hAsync("div", { key: '
|
|
14029
|
+
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" }))))))))) : (
|
|
13614
14030
|
// Static mode: show all steps with their content.
|
|
13615
|
-
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index },
|
|
14031
|
+
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 })))))))))));
|
|
13616
14032
|
}
|
|
13617
14033
|
get el() { return getElement(this); }
|
|
13618
14034
|
static get watchers() { return {
|
|
@@ -13629,11 +14045,16 @@ class EdsStepsV2 {
|
|
|
13629
14045
|
"imageWidth": [2, "image-width"],
|
|
13630
14046
|
"bg": [4],
|
|
13631
14047
|
"message": [1],
|
|
14048
|
+
"nextLabel": [1, "next-label"],
|
|
14049
|
+
"backLabel": [1, "back-label"],
|
|
14050
|
+
"finishLabel": [1, "finish-label"],
|
|
14051
|
+
"disableNext": [4, "disable-next"],
|
|
14052
|
+
"headingLevel": [513, "heading-level"],
|
|
13632
14053
|
"activeStep": [32]
|
|
13633
14054
|
},
|
|
13634
14055
|
"$listeners$": undefined,
|
|
13635
14056
|
"$lazyBundleId$": "-",
|
|
13636
|
-
"$attrsToReflect$": []
|
|
14057
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13637
14058
|
}; }
|
|
13638
14059
|
}
|
|
13639
14060
|
|
|
@@ -13687,11 +14108,11 @@ class EdsSwitch {
|
|
|
13687
14108
|
: this.labelOff
|
|
13688
14109
|
: 'Toggle switch'
|
|
13689
14110
|
: undefined;
|
|
13690
|
-
return (hAsync("div", { key: '
|
|
14111
|
+
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: {
|
|
13691
14112
|
switch: true,
|
|
13692
14113
|
'switch--checked': this.checked,
|
|
13693
14114
|
'switch--disabled': this.disabled
|
|
13694
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
14115
|
+
}, 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))));
|
|
13695
14116
|
}
|
|
13696
14117
|
get el() { return getElement(this); }
|
|
13697
14118
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -13710,7 +14131,7 @@ class EdsSwitch {
|
|
|
13710
14131
|
}; }
|
|
13711
14132
|
}
|
|
13712
14133
|
|
|
13713
|
-
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}";
|
|
14134
|
+
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}";
|
|
13714
14135
|
var EdsTableStyle0 = edsTableCss;
|
|
13715
14136
|
|
|
13716
14137
|
/**
|
|
@@ -13848,7 +14269,7 @@ class EdsTable {
|
|
|
13848
14269
|
}
|
|
13849
14270
|
const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
|
|
13850
14271
|
if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
|
|
13851
|
-
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail));
|
|
14272
|
+
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail.value));
|
|
13852
14273
|
paginationEl.setAttribute('listener-attached', 'true');
|
|
13853
14274
|
}
|
|
13854
14275
|
}
|
|
@@ -13897,7 +14318,9 @@ class EdsTable {
|
|
|
13897
14318
|
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) }));
|
|
13898
14319
|
}
|
|
13899
14320
|
// Let all action buttons be focusable naturally
|
|
13900
|
-
|
|
14321
|
+
const showLabel = act.showLabel === true;
|
|
14322
|
+
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) }));
|
|
14323
|
+
return showLabel ? btn : hAsync("eds-tooltip", { content: act.label }, btn);
|
|
13901
14324
|
}
|
|
13902
14325
|
emitAction(actionName, row, checked) {
|
|
13903
14326
|
sendAnalytics({
|
|
@@ -13943,7 +14366,7 @@ class EdsTable {
|
|
|
13943
14366
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
13944
14367
|
const paginatedRows = this.getPaginatedRows();
|
|
13945
14368
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
13946
|
-
return (hAsync("div", { key: '
|
|
14369
|
+
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) => {
|
|
13947
14370
|
var _a;
|
|
13948
14371
|
if (col === 'actions') {
|
|
13949
14372
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -13952,7 +14375,7 @@ class EdsTable {
|
|
|
13952
14375
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
13953
14376
|
}
|
|
13954
14377
|
return null;
|
|
13955
|
-
}))), hAsync("tbody", { key: '
|
|
14378
|
+
}))), 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) => {
|
|
13956
14379
|
var _a;
|
|
13957
14380
|
if (col === 'actions') {
|
|
13958
14381
|
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: {
|
|
@@ -13967,7 +14390,7 @@ class EdsTable {
|
|
|
13967
14390
|
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)));
|
|
13968
14391
|
}
|
|
13969
14392
|
return null;
|
|
13970
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14393
|
+
}))))))), 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" })))));
|
|
13971
14394
|
}
|
|
13972
14395
|
get hostEl() { return getElement(this); }
|
|
13973
14396
|
static get watchers() { return {
|
|
@@ -14178,12 +14601,12 @@ class EdsTabs {
|
|
|
14178
14601
|
}
|
|
14179
14602
|
}
|
|
14180
14603
|
render() {
|
|
14181
|
-
return (hAsync("div", { key: '
|
|
14604
|
+
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) => {
|
|
14182
14605
|
const TabComponent = 'button';
|
|
14183
14606
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14184
14607
|
const isActive = index === this.activeIndex;
|
|
14185
14608
|
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));
|
|
14186
|
-
}))), hAsync("div", { key: '
|
|
14609
|
+
}))), 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}` })))))));
|
|
14187
14610
|
}
|
|
14188
14611
|
get el() { return getElement(this); }
|
|
14189
14612
|
static get watchers() { return {
|
|
@@ -14246,7 +14669,7 @@ class EdsTag {
|
|
|
14246
14669
|
}
|
|
14247
14670
|
render() {
|
|
14248
14671
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14249
|
-
return hAsync("span", { key: '
|
|
14672
|
+
return hAsync("span", { key: 'a00f436391013091c78f15bc53d91b0b01d8f4bb', class: classes }, this.label);
|
|
14250
14673
|
}
|
|
14251
14674
|
static get style() { return EdsTagStyle0; }
|
|
14252
14675
|
static get cmpMeta() { return {
|
|
@@ -14308,7 +14731,7 @@ class EdsTimeline {
|
|
|
14308
14731
|
}
|
|
14309
14732
|
}
|
|
14310
14733
|
render() {
|
|
14311
|
-
return (hAsync("div", { key: '
|
|
14734
|
+
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
|
|
14312
14735
|
? [{ label: 'completed', style: 'accent' }]
|
|
14313
14736
|
: [{ 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
|
|
14314
14737
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14482,7 +14905,7 @@ class EdsToastManager {
|
|
|
14482
14905
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14483
14906
|
}
|
|
14484
14907
|
render() {
|
|
14485
|
-
return (hAsync("div", { key: '
|
|
14908
|
+
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) }))))));
|
|
14486
14909
|
}
|
|
14487
14910
|
get hostElement() { return getElement(this); }
|
|
14488
14911
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14498,7 +14921,7 @@ class EdsToastManager {
|
|
|
14498
14921
|
}; }
|
|
14499
14922
|
}
|
|
14500
14923
|
|
|
14501
|
-
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%}";
|
|
14924
|
+
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%}";
|
|
14502
14925
|
var EdsTooltipStyle0 = edsTooltipCss;
|
|
14503
14926
|
|
|
14504
14927
|
/**
|
|
@@ -14521,10 +14944,10 @@ class EdsTooltip {
|
|
|
14521
14944
|
}
|
|
14522
14945
|
render() {
|
|
14523
14946
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14524
|
-
return (hAsync("div", { key: '
|
|
14947
|
+
return (hAsync("div", { key: 'c2ae55fbf9fefb2748db770d98f12f679022a416', class: "relative w-full inline-block group" }, hAsync("slot", { key: '5151e3269cb39d3caba960eee7155a3d5171c8cd' }), hAsync("div", { key: '8956683d968d77d88133dc231975d258aca3d1d3', class: `absolute ${positionClass}
|
|
14525
14948
|
rounded-xs bg-strongest text-inverse
|
|
14526
14949
|
f-ui-03-light pointer-events-none
|
|
14527
|
-
z-10
|
|
14950
|
+
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
14528
14951
|
group-hover:opacity-100 whitespace-normal break-words`, role: "tooltip" }, this.content)));
|
|
14529
14952
|
}
|
|
14530
14953
|
get el() { return getElement(this); }
|
|
@@ -14585,7 +15008,7 @@ class EdsTrl {
|
|
|
14585
15008
|
Application: { format: 'code' },
|
|
14586
15009
|
'Current TRL Stage': { format: 'text' }
|
|
14587
15010
|
};
|
|
14588
|
-
return (hAsync("div", { key: '
|
|
15011
|
+
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" })));
|
|
14589
15012
|
}
|
|
14590
15013
|
static get cmpMeta() { return {
|
|
14591
15014
|
"$flags$": 0,
|
|
@@ -14611,7 +15034,14 @@ var EdsUserStyle0 = edsUserCss;
|
|
|
14611
15034
|
class EdsUser {
|
|
14612
15035
|
constructor(hostRef) {
|
|
14613
15036
|
registerInstance(this, hostRef);
|
|
15037
|
+
this.handleDropdown = (e) => {
|
|
15038
|
+
this.expanded = e.detail.expanded;
|
|
15039
|
+
};
|
|
14614
15040
|
this.user = undefined;
|
|
15041
|
+
this.intent = 'tertiary';
|
|
15042
|
+
this.dropdownLabel = 'Account';
|
|
15043
|
+
this.expanded = false;
|
|
15044
|
+
this.shortMode = false;
|
|
14615
15045
|
}
|
|
14616
15046
|
/**
|
|
14617
15047
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14635,9 +15065,15 @@ class EdsUser {
|
|
|
14635
15065
|
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();
|
|
14636
15066
|
return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
|
|
14637
15067
|
}
|
|
15068
|
+
async closeDropdown() {
|
|
15069
|
+
var _a;
|
|
15070
|
+
await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
|
|
15071
|
+
this.expanded = false;
|
|
15072
|
+
}
|
|
14638
15073
|
render() {
|
|
14639
15074
|
const user = this.parsedUser;
|
|
14640
|
-
|
|
15075
|
+
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
15076
|
+
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' })))))));
|
|
14641
15077
|
}
|
|
14642
15078
|
get hostEl() { return getElement(this); }
|
|
14643
15079
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14645,7 +15081,12 @@ class EdsUser {
|
|
|
14645
15081
|
"$flags$": 9,
|
|
14646
15082
|
"$tagName$": "eds-user",
|
|
14647
15083
|
"$members$": {
|
|
14648
|
-
"user": [1025]
|
|
15084
|
+
"user": [1025],
|
|
15085
|
+
"intent": [1],
|
|
15086
|
+
"dropdownLabel": [1, "dropdown-label"],
|
|
15087
|
+
"expanded": [32],
|
|
15088
|
+
"shortMode": [32],
|
|
15089
|
+
"closeDropdown": [64]
|
|
14649
15090
|
},
|
|
14650
15091
|
"$listeners$": undefined,
|
|
14651
15092
|
"$lazyBundleId$": "-",
|
|
@@ -14688,7 +15129,7 @@ class GradientPrimaryPalette {
|
|
|
14688
15129
|
];
|
|
14689
15130
|
}
|
|
14690
15131
|
render() {
|
|
14691
|
-
return (hAsync("ul", { key: '
|
|
15132
|
+
return (hAsync("ul", { key: 'd32c7b63fb32b92f89a9220e5cd5ff8164865913', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14692
15133
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14693
15134
|
} }, 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))))))));
|
|
14694
15135
|
}
|
|
@@ -14761,19 +15202,19 @@ class GradientSecondaryPalette {
|
|
|
14761
15202
|
];
|
|
14762
15203
|
}
|
|
14763
15204
|
render() {
|
|
14764
|
-
return (hAsync("div", { key: '
|
|
15205
|
+
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: {
|
|
14765
15206
|
background: this.colors[0].background
|
|
14766
|
-
} }, hAsync("div", { key: '
|
|
15207
|
+
} }, 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: {
|
|
14767
15208
|
background: this.colors[1].background
|
|
14768
|
-
} }, hAsync("div", { key: '
|
|
15209
|
+
} }, 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: {
|
|
14769
15210
|
background: this.colors[2].background
|
|
14770
|
-
} }, hAsync("div", { key: '
|
|
15211
|
+
} }, 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: {
|
|
14771
15212
|
background: this.colors[3].background
|
|
14772
|
-
} }, hAsync("div", { key: '
|
|
15213
|
+
} }, 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: {
|
|
14773
15214
|
background: this.colors[4].background
|
|
14774
|
-
} }, hAsync("div", { key: '
|
|
15215
|
+
} }, 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: {
|
|
14775
15216
|
background: this.colors[5].background
|
|
14776
|
-
} }, hAsync("div", { key: '
|
|
15217
|
+
} }, 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)))))));
|
|
14777
15218
|
}
|
|
14778
15219
|
static get cmpMeta() { return {
|
|
14779
15220
|
"$flags$": 0,
|
|
@@ -14836,11 +15277,11 @@ class GradientSupportPalette {
|
|
|
14836
15277
|
];
|
|
14837
15278
|
}
|
|
14838
15279
|
render() {
|
|
14839
|
-
return (hAsync("ul", { key: '
|
|
15280
|
+
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: {
|
|
14840
15281
|
background: this.colors[2].background
|
|
14841
|
-
} }, hAsync("div", { key: '
|
|
15282
|
+
} }, 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: {
|
|
14842
15283
|
background: this.colors[3].background
|
|
14843
|
-
} }, hAsync("div", { key: '
|
|
15284
|
+
} }, 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'))))));
|
|
14844
15285
|
}
|
|
14845
15286
|
static get cmpMeta() { return {
|
|
14846
15287
|
"$flags$": 0,
|
|
@@ -14894,7 +15335,7 @@ class IncorrectUseOfColors {
|
|
|
14894
15335
|
registerInstance(this, hostRef);
|
|
14895
15336
|
}
|
|
14896
15337
|
render() {
|
|
14897
|
-
return (hAsync("div", { key: '
|
|
15338
|
+
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 } })))))))));
|
|
14898
15339
|
}
|
|
14899
15340
|
static get cmpMeta() { return {
|
|
14900
15341
|
"$flags$": 0,
|
|
@@ -14917,7 +15358,7 @@ class LogoSpace {
|
|
|
14917
15358
|
registerInstance(this, hostRef);
|
|
14918
15359
|
}
|
|
14919
15360
|
render() {
|
|
14920
|
-
return (hAsync("div", { key: '
|
|
15361
|
+
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" }))));
|
|
14921
15362
|
}
|
|
14922
15363
|
static get style() { return LogoSpaceStyle0; }
|
|
14923
15364
|
static get cmpMeta() { return {
|
|
@@ -14941,7 +15382,7 @@ class LogoVariationsHorizontal {
|
|
|
14941
15382
|
registerInstance(this, hostRef);
|
|
14942
15383
|
}
|
|
14943
15384
|
render() {
|
|
14944
|
-
return (hAsync("div", { key: '
|
|
15385
|
+
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: "#" }))))));
|
|
14945
15386
|
}
|
|
14946
15387
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
14947
15388
|
static get cmpMeta() { return {
|
|
@@ -14973,7 +15414,7 @@ class LogoVariationsTabs {
|
|
|
14973
15414
|
}
|
|
14974
15415
|
}
|
|
14975
15416
|
render() {
|
|
14976
|
-
return hAsync("div", { key: '
|
|
15417
|
+
return hAsync("div", { key: '5e6042f51c956138d571256803766ef2497ca160', class: "container" }, this.renderContent());
|
|
14977
15418
|
}
|
|
14978
15419
|
static get cmpMeta() { return {
|
|
14979
15420
|
"$flags$": 0,
|
|
@@ -15000,7 +15441,7 @@ class LogoVariationsVertical {
|
|
|
15000
15441
|
this.type = undefined;
|
|
15001
15442
|
}
|
|
15002
15443
|
render() {
|
|
15003
|
-
return (hAsync("div", { key: '
|
|
15444
|
+
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: "#" }))))));
|
|
15004
15445
|
}
|
|
15005
15446
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15006
15447
|
static get cmpMeta() { return {
|
|
@@ -15027,7 +15468,7 @@ class LogoWrongUsage {
|
|
|
15027
15468
|
registerInstance(this, hostRef);
|
|
15028
15469
|
}
|
|
15029
15470
|
render() {
|
|
15030
|
-
return (hAsync("div", { key: '
|
|
15471
|
+
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"))))));
|
|
15031
15472
|
}
|
|
15032
15473
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15033
15474
|
static get cmpMeta() { return {
|
|
@@ -15071,7 +15512,7 @@ class SvgRepository {
|
|
|
15071
15512
|
icon: { format: 'svg' },
|
|
15072
15513
|
name: { format: 'bold' }
|
|
15073
15514
|
};
|
|
15074
|
-
return (hAsync("div", { key: '
|
|
15515
|
+
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 })));
|
|
15075
15516
|
}
|
|
15076
15517
|
get hostEl() { return getElement(this); }
|
|
15077
15518
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15328,7 +15769,7 @@ class TokenList {
|
|
|
15328
15769
|
render() {
|
|
15329
15770
|
// Check if `show` prop is provided; if not, display all sections
|
|
15330
15771
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15331
|
-
return (hAsync("section", { key: '
|
|
15772
|
+
return (hAsync("section", { key: 'db196307702df28bf9e2f7fb0b87298bf84baabb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15332
15773
|
// Only render sections that exist in `colors`
|
|
15333
15774
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15334
15775
|
}
|
|
@@ -15361,7 +15802,7 @@ class TokenRadii {
|
|
|
15361
15802
|
registerInstance(this, hostRef);
|
|
15362
15803
|
}
|
|
15363
15804
|
render() {
|
|
15364
|
-
return (hAsync("section", { key: '
|
|
15805
|
+
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" }))))))));
|
|
15365
15806
|
}
|
|
15366
15807
|
static get cmpMeta() { return {
|
|
15367
15808
|
"$flags$": 0,
|
|
@@ -15390,7 +15831,7 @@ class TokenRatios {
|
|
|
15390
15831
|
registerInstance(this, hostRef);
|
|
15391
15832
|
}
|
|
15392
15833
|
render() {
|
|
15393
|
-
return (hAsync("section", { key: '
|
|
15834
|
+
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: {
|
|
15394
15835
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15395
15836
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15396
15837
|
maxWidth: '300px'
|
|
@@ -15432,7 +15873,7 @@ class TokenShadows {
|
|
|
15432
15873
|
registerInstance(this, hostRef);
|
|
15433
15874
|
}
|
|
15434
15875
|
render() {
|
|
15435
|
-
return (hAsync("section", { key: '
|
|
15876
|
+
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]" })))))))));
|
|
15436
15877
|
}
|
|
15437
15878
|
static get cmpMeta() { return {
|
|
15438
15879
|
"$flags$": 0,
|
|
@@ -15452,7 +15893,7 @@ class TokenSpacing {
|
|
|
15452
15893
|
registerInstance(this, hostRef);
|
|
15453
15894
|
}
|
|
15454
15895
|
render() {
|
|
15455
|
-
return (hAsync("div", { key: '
|
|
15896
|
+
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")))))));
|
|
15456
15897
|
}
|
|
15457
15898
|
static get cmpMeta() { return {
|
|
15458
15899
|
"$flags$": 0,
|
|
@@ -15670,7 +16111,7 @@ class TokenTypography {
|
|
|
15670
16111
|
registerInstance(this, hostRef);
|
|
15671
16112
|
}
|
|
15672
16113
|
render() {
|
|
15673
|
-
return (hAsync("section", { key: '
|
|
16114
|
+
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)
|
|
15674
16115
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15675
16116
|
.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: {
|
|
15676
16117
|
fontFamily: typography.families.sans,
|
|
@@ -15729,6 +16170,7 @@ registerComponents([
|
|
|
15729
16170
|
EdsFrame,
|
|
15730
16171
|
EdsFullscreenMenu,
|
|
15731
16172
|
EdsGauge,
|
|
16173
|
+
EdsGlobalSearch,
|
|
15732
16174
|
EdsHeader,
|
|
15733
16175
|
EdsIconArrowDiagonal,
|
|
15734
16176
|
EdsIconArrowRight,
|
|
@@ -15742,6 +16184,7 @@ registerComponents([
|
|
|
15742
16184
|
EdsIconClone,
|
|
15743
16185
|
EdsIconClose,
|
|
15744
16186
|
EdsIconCopy,
|
|
16187
|
+
EdsIconDownload,
|
|
15745
16188
|
EdsIconDraft,
|
|
15746
16189
|
EdsIconEdit,
|
|
15747
16190
|
EdsIconEu,
|