@ebrains/components 2.2.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 +2 -2
- 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/{eds-accordion_34.cjs.entry.js → eds-accordion_36.cjs.entry.js} +460 -64
- 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 -3
- package/dist/cjs/eds-frame.cjs.entry.js +2 -2
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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} +4 -7
- 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 +2 -2
- 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 +1 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +1 -1
- package/dist/collection/components/eds-button/eds-button.js +1 -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 +1 -1
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +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 +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-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.js +3 -3
- 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.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.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 +2 -2
- package/dist/collection/shared-ui/eds-form/eds-form.js +48 -10
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- 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-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +3 -1
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +36 -5
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +3 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +38 -6
- 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 +49 -2
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +3 -0
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +1 -1
- package/dist/components/eds-button2.js +1 -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 -2
- package/dist/components/eds-form.js +39 -7
- package/dist/components/eds-frame.js +1 -1
- 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.js +1 -1
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-start.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +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 +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +39 -7
- package/dist/components/eds-steps2.js +37 -6
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +3 -3
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +12 -2
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-03714413.entry.js +1 -0
- package/dist/components/{p-ff902c98.entry.js → p-06428b6c.entry.js} +1 -1
- package/dist/components/{p-c66f4dd8.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-28ec52a7.entry.js → p-1297d926.entry.js} +1 -1
- package/dist/components/p-1928711b.entry.js +1 -0
- package/dist/components/{p-4c618a35.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-58c8c0d7.entry.js → p-219842c0.entry.js} +1 -1
- package/dist/components/{p-870001ee.entry.js → p-21b5ca1f.entry.js} +1 -1
- 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-36db7db0.entry.js → p-37a3d3ba.entry.js} +1 -1
- package/dist/components/p-3a295312.entry.js +1 -0
- package/dist/components/{p-171f8e6b.entry.js → p-3ff1f198.entry.js} +1 -1
- 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-7032a73b.entry.js → p-71e9b1e9.entry.js} +1 -1
- package/dist/components/{p-dbe11048.entry.js → p-71f4afdf.entry.js} +1 -1
- 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-5479e43b.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-8edd07db.entry.js → p-9c68934f.entry.js} +1 -1
- package/dist/components/{p-a5fd4fc9.entry.js → p-a258d382.entry.js} +1 -1
- package/dist/components/p-a82fc224.entry.js +1 -0
- package/dist/components/{p-8fb1eb43.entry.js → p-ad0519b7.entry.js} +1 -1
- package/dist/components/p-b15b11de.entry.js +9 -0
- package/dist/components/p-b56a3fc9.entry.js +1 -0
- package/dist/components/p-b9b6ac74.entry.js +1 -0
- package/dist/components/{p-4db384d9.entry.js → p-b9bd1209.entry.js} +1 -1
- package/dist/components/{p-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
- package/dist/components/{p-8eced026.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-1b032aa8.entry.js → p-c5d6c2a5.entry.js} +1 -1
- package/dist/components/p-c6f5d9df.entry.js +1 -0
- package/dist/components/{p-da0e9a75.entry.js → p-c770c97b.entry.js} +1 -1
- package/dist/components/{p-6a2d1e11.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-d3391236.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-50d7eed9.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-dd28ab38.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 +1 -1
- 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 +2 -2
- 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/{eds-accordion_34.entry.js → eds-accordion_36.entry.js} +459 -65
- 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 -3
- package/dist/esm/eds-frame.entry.js +2 -2
- package/dist/esm/eds-fullscreen-menu.entry.js +1 -1
- 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 +2 -2
- 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 +2 -2
- 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} +4 -7
- 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 +2 -2
- 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 +525 -174
- package/dist/hydrate/index.mjs +525 -174
- 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-tag/eds-tag.d.ts +1 -1
- package/dist/types/components.d.ts +168 -27
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +2 -2
- 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-steps/eds-steps.d.ts +2 -1
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +2 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +4 -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/components/p-0452fe52.entry.js +0 -1
- package/dist/components/p-04f288b1.entry.js +0 -1
- package/dist/components/p-06951aa3.entry.js +0 -1
- package/dist/components/p-101392d0.entry.js +0 -1
- package/dist/components/p-19e69c03.entry.js +0 -1
- package/dist/components/p-2f712656.entry.js +0 -1
- package/dist/components/p-3097c321.entry.js +0 -1
- package/dist/components/p-38b0ea8d.entry.js +0 -1
- package/dist/components/p-3b551ade.entry.js +0 -9
- package/dist/components/p-3fa4a703.entry.js +0 -1
- package/dist/components/p-3fa54526.entry.js +0 -1
- package/dist/components/p-42680319.entry.js +0 -1
- package/dist/components/p-4d207d0e.entry.js +0 -1
- package/dist/components/p-5367bb59.entry.js +0 -1
- package/dist/components/p-5a88cdc2.entry.js +0 -1
- package/dist/components/p-5b574bb2.entry.js +0 -1
- package/dist/components/p-5ec9fc29.entry.js +0 -1
- package/dist/components/p-5f350866.entry.js +0 -1
- package/dist/components/p-5ff10b6f.entry.js +0 -1
- package/dist/components/p-6420754e.entry.js +0 -1
- package/dist/components/p-6614881d.entry.js +0 -1
- package/dist/components/p-68a2cd95.entry.js +0 -1
- package/dist/components/p-6b988c76.entry.js +0 -1
- package/dist/components/p-7272628d.entry.js +0 -1
- package/dist/components/p-78c348e2.entry.js +0 -1
- package/dist/components/p-7a5623b5.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-88eeaeca.entry.js +0 -1
- package/dist/components/p-8b7910d2.entry.js +0 -1
- package/dist/components/p-8cf98230.entry.js +0 -1
- package/dist/components/p-8ef68d8a.entry.js +0 -1
- package/dist/components/p-9261d27c.entry.js +0 -1
- package/dist/components/p-94a223ec.entry.js +0 -1
- package/dist/components/p-9cb14b1f.entry.js +0 -1
- package/dist/components/p-a6586448.entry.js +0 -1
- package/dist/components/p-ad7d603b.entry.js +0 -1
- package/dist/components/p-b24ef7f7.entry.js +0 -1
- package/dist/components/p-baa2df0b.entry.js +0 -1
- package/dist/components/p-bfe9d934.entry.js +0 -1
- package/dist/components/p-c1943b8f.entry.js +0 -1
- package/dist/components/p-e42ac312.entry.js +0 -1
- package/dist/components/p-e6c3f38c.entry.js +0 -1
- package/dist/components/p-e7c37e5b.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-e9cd3c4b.entry.js +0 -1
- package/dist/components/p-ebd59113.entry.js +0 -1
- package/dist/components/p-f092b706.entry.js +0 -1
- package/dist/components/p-f29e7506.entry.js +0 -1
- package/dist/components/p-f40dd50d.entry.js +0 -1
- package/dist/components/p-fc099d59.entry.js +0 -1
- package/dist/components/p-fda3da92.entry.js +0 -1
- package/dist/esm/eds-spinner.entry.js +0 -84
package/dist/hydrate/index.js
CHANGED
|
@@ -127,7 +127,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
const NAMESPACE = 'components';
|
|
130
|
-
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument:
|
|
130
|
+
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
131
131
|
|
|
132
132
|
/*
|
|
133
133
|
Stencil Hydrate Platform v4.22.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1743,6 +1743,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
};
|
|
1745
1745
|
var getHostListenerTarget = (elm, flags) => {
|
|
1746
|
+
if (flags & 4 /* TargetDocument */) return doc;
|
|
1746
1747
|
if (flags & 8 /* TargetWindow */) return win;
|
|
1747
1748
|
if (flags & 16 /* TargetBody */) return doc.body;
|
|
1748
1749
|
return elm;
|
|
@@ -2334,7 +2335,7 @@ class ColorPrimaryPalette {
|
|
|
2334
2335
|
];
|
|
2335
2336
|
}
|
|
2336
2337
|
render() {
|
|
2337
|
-
return (hAsync("ul", { key: '
|
|
2338
|
+
return (hAsync("ul", { key: '1ccc8d65b69795afe88b003e6aa1d6eb0f6a8a71', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
2338
2339
|
}
|
|
2339
2340
|
static get cmpMeta() { return {
|
|
2340
2341
|
"$flags$": 0,
|
|
@@ -2406,7 +2407,7 @@ class ColorSecondaryPalette {
|
|
|
2406
2407
|
this.show = undefined;
|
|
2407
2408
|
}
|
|
2408
2409
|
render() {
|
|
2409
|
-
return (hAsync("ul", { key: '
|
|
2410
|
+
return (hAsync("ul", { key: '0c2fe4671a0754b591462dfdc91f8772eb1478c5', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
2410
2411
|
}
|
|
2411
2412
|
static get cmpMeta() { return {
|
|
2412
2413
|
"$flags$": 0,
|
|
@@ -2480,7 +2481,7 @@ class ColorSupportPalette {
|
|
|
2480
2481
|
return 'text-default';
|
|
2481
2482
|
}
|
|
2482
2483
|
render() {
|
|
2483
|
-
return (hAsync("ul", { key: '
|
|
2484
|
+
return (hAsync("ul", { key: '1bafc64afc8d77db69e1847fdf05d2f8ca2d3ee0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2484
2485
|
// compute once
|
|
2485
2486
|
const textClass = this.getTextColor(color.background);
|
|
2486
2487
|
return (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|
|
@@ -2631,7 +2632,7 @@ class ComponentsSection {
|
|
|
2631
2632
|
}
|
|
2632
2633
|
}
|
|
2633
2634
|
render() {
|
|
2634
|
-
return hAsync("div", { key: '
|
|
2635
|
+
return hAsync("div", { key: 'd5f1ea9d290addbfa2a4c21e815597871f6d7639', class: "container" }, this.renderContent());
|
|
2635
2636
|
}
|
|
2636
2637
|
static get cmpMeta() { return {
|
|
2637
2638
|
"$flags$": 0,
|
|
@@ -2709,7 +2710,7 @@ class CorrectUseOfColors {
|
|
|
2709
2710
|
registerInstance(this, hostRef);
|
|
2710
2711
|
}
|
|
2711
2712
|
render() {
|
|
2712
|
-
return (hAsync("div", { key: '
|
|
2713
|
+
return (hAsync("div", { key: '4cf1cf9e4076104bc15626b1812de8e44bb2c314', class: "container" }, hAsync("p", { key: '044662efdf38d73e10baf84af9a53b0d757c8a3f', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '08203f71273f93a43bb2984f5fcb6adf91500987', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '244c3681fc63df5debbac5094011b9efd557c99f', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: '1daafe1f19e2552a4ebe785f5533aabecdab8226', class: "flex" }, hAsync("div", { key: 'd3119d8a3b9053173a4ec421782d68a705d63f54', class: "w-full" }, hAsync("ul", { key: 'e59ee9a8e3aecc12cdc573b4147c93487f60a426', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'f8fd15b68a9d9f8b0a2a63ccc92ceb47d8c0ed17', class: "w-full" }, hAsync("ul", { key: '9f8a13d2177fc7b500fadf3cf3a697578378f9ff', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '890abae9796f720980c4c40753e64ad9d5854184', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'b8099a6ebd9bee755ecfe7d450dbc191a2986aa0', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: 'b9b0094d03544cfc8404730f8ceeb8caf44cfcd1', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'f1cd546f656dc302f24106cc5fa5faa4a3fc2ece', class: "flex" }, hAsync("div", { key: '730022a2670de7b3e7d0ed53eb9d2f9d533fddff', class: "w-full" }, hAsync("ul", { key: '04b3c963c8ea94a30983d880b096682171eae657', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '78d294c8a18771a66f157f2140ca7aadaad9ed6a', class: "w-full" }, hAsync("ul", { key: 'a7ece655dca8bc3a4d159bdc4b6bad4e86f3846d', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '156ee43969b677fd3140426786834631f5743bb8', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '26704a99b2bcd72ee414e4df1090d3c360f7d601', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '7d7db00799454b2dc76d740529f1381b934a65a5', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'be78a8f1ac1f5b8a0f905e6b1b7981234e627c31', class: "flex" }, hAsync("div", { key: 'a379dd032f13978e6e35432388379f7a932a64d2', class: "w-full" }, hAsync("ul", { key: 'bca9a0adde895d36fec1ca43d59679346408de36', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '235c66fc5f649e5efa11966d5d8708a72ed103ed', class: "w-full" }, hAsync("ul", { key: '6155375812c41d5356aa5f04d18d64f917c60e87', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '453656ec8a0bd258c49d55edd978c3406f5a0ffc', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '76169ca2b6cf12e269d0d7e22af41adc6c99e95a', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '0305f4dc08b6adce8bef1b102c846177ca6ff86d', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'eb2e4206bed167eb28540e79c7b7490bd4a9ae1d', class: "flex" }, hAsync("div", { key: 'c05f20dcfa4e806455b1a8805512b12c7a05cdc0', class: "w-full" }, hAsync("ul", { key: 'bc0fd2e75f75db9b26ce7f225ee2f9fce15e65ca', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '335554176ea7a84d08e07162ed0d66ac69a6859c', class: "w-full" }, hAsync("ul", { key: '10c149af45b26455c820d37e0e8109550b79c34f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
2713
2714
|
}
|
|
2714
2715
|
static get cmpMeta() { return {
|
|
2715
2716
|
"$flags$": 0,
|
|
@@ -2748,7 +2749,7 @@ class DocsContent {
|
|
|
2748
2749
|
}
|
|
2749
2750
|
}
|
|
2750
2751
|
render() {
|
|
2751
|
-
return hAsync("div", { key: '
|
|
2752
|
+
return hAsync("div", { key: '68fdef1fd6bdc75ce347d326b3329871e2ed5c8d', class: "container" }, this.renderContent());
|
|
2752
2753
|
}
|
|
2753
2754
|
static get cmpMeta() { return {
|
|
2754
2755
|
"$flags$": 0,
|
|
@@ -2781,7 +2782,7 @@ class DocsPalettes {
|
|
|
2781
2782
|
}
|
|
2782
2783
|
}
|
|
2783
2784
|
render() {
|
|
2784
|
-
return hAsync("div", { key: '
|
|
2785
|
+
return hAsync("div", { key: '97f8cff7dfed11b80a3a9e28d3628a72af8dc12d', class: "container" }, this.renderContent());
|
|
2785
2786
|
}
|
|
2786
2787
|
static get cmpMeta() { return {
|
|
2787
2788
|
"$flags$": 0,
|
|
@@ -2939,10 +2940,10 @@ class EdsAccordion {
|
|
|
2939
2940
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
2940
2941
|
*/
|
|
2941
2942
|
render() {
|
|
2942
|
-
return (hAsync("div", { key: '
|
|
2943
|
+
return (hAsync("div", { key: 'd162692cb9a99b6a1b9b736b828214c9d425046e', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2943
2944
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
2944
2945
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
2945
|
-
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '
|
|
2946
|
+
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '3770e241daa7e4696c5481c97965fb2ebe0b17f9', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), hAsync("div", { key: '56b7b70d16cf3f944bf3cec878bd15c3e18b399b', class: "ml-auto" }, hAsync("eds-button", { key: '4b770831f155f7e77a424b9dd3ec0a8708a0859f', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), hAsync("div", { key: 'c75c4d840bc8be25ee7590d90e3290faf090fdf0', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (hAsync("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, hAsync("section", { key: 'b78b8f7fa93a85c886136cac8119d7b94de2a129', id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, hAsync("div", { key: '75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, hAsync("span", { key: 'e08cefc1d6fe7f3d162de86a17646d88a8686d83', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, hAsync("slot", { key: '77d3a7fb997a9f313e3013a17f87c28f7ff8adad' })))))));
|
|
2946
2947
|
}
|
|
2947
2948
|
get el() { return getElement(this); }
|
|
2948
2949
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -3119,12 +3120,12 @@ class EdsAlert {
|
|
|
3119
3120
|
}
|
|
3120
3121
|
render() {
|
|
3121
3122
|
const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
|
|
3122
|
-
return (hAsync("div", { key: '
|
|
3123
|
+
return (hAsync("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
|
|
3123
3124
|
intent: this.intent,
|
|
3124
3125
|
brd: this.brd,
|
|
3125
3126
|
direction: this.direction,
|
|
3126
3127
|
withBtn: this.withBtn
|
|
3127
|
-
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: '
|
|
3128
|
+
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: 'fb3a1d216279b4076b09ef9544d37c5229b4d706', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (hAsync("div", { key: 'a5edd833ae3924f41edb17068090eeeb4e9f9cfd', id: "alert-action" }, this.pressableUrl ? (hAsync("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (hAsync("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
|
|
3128
3129
|
}
|
|
3129
3130
|
get el() { return getElement(this); }
|
|
3130
3131
|
static get style() { return EdsAlertStyle0; }
|
|
@@ -3175,7 +3176,7 @@ class EdsAppRoot {
|
|
|
3175
3176
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3176
3177
|
}
|
|
3177
3178
|
render() {
|
|
3178
|
-
return (hAsync("div", { key: '
|
|
3179
|
+
return (hAsync("div", { key: '814465ac49c8f5688bc8b1006723a531c925c030' }, hAsync("eds-splash-screen", { key: '578982c4b01714129ebf0e7c415bdacea10061f8', inverse: true, initPromise: this.combinedInitPromise }), hAsync("eds-login", { key: 'abc4ef7fed629bc2eda0e2f14f5165b83851794d', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), hAsync("main", { key: '1fb96900889c942ec0beb120e1ed869a9d78c6fa' }, this.isAuthenticated ? hAsync("h1", null, "Welcome, authenticated user!") : hAsync("h1", null, "Please log in."))));
|
|
3179
3180
|
}
|
|
3180
3181
|
static get cmpMeta() { return {
|
|
3181
3182
|
"$flags$": 9,
|
|
@@ -3258,7 +3259,7 @@ class EdsAvatar {
|
|
|
3258
3259
|
* @returns {JSX.Element} The rendered avatar component.
|
|
3259
3260
|
*/
|
|
3260
3261
|
render() {
|
|
3261
|
-
return (hAsync("div", { key: '
|
|
3262
|
+
return (hAsync("div", { key: 'd29c110e340567236716e77c4f003bec5c70ee63', class: this.containerClasses }, this.picture ? (hAsync("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (hAsync("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
3262
3263
|
}
|
|
3263
3264
|
static get style() { return EdsAvatarStyle0; }
|
|
3264
3265
|
static get cmpMeta() { return {
|
|
@@ -3289,7 +3290,7 @@ class EdsBlockBreak {
|
|
|
3289
3290
|
this.inverse = false;
|
|
3290
3291
|
}
|
|
3291
3292
|
render() {
|
|
3292
|
-
return hAsync("hr", { key: '
|
|
3293
|
+
return hAsync("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
3293
3294
|
}
|
|
3294
3295
|
static get style() { return EdsBlockBreakStyle0; }
|
|
3295
3296
|
static get cmpMeta() { return {
|
|
@@ -3449,7 +3450,7 @@ class EdsBreadcrumb {
|
|
|
3449
3450
|
*/
|
|
3450
3451
|
render() {
|
|
3451
3452
|
const itemsToRender = this.getTruncatedItems();
|
|
3452
|
-
return (hAsync("nav", { key: '
|
|
3453
|
+
return (hAsync("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, hAsync("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
3453
3454
|
const isLast = index === itemsToRender.length - 1;
|
|
3454
3455
|
return (hAsync("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
3455
3456
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -3666,7 +3667,7 @@ class EdsButton {
|
|
|
3666
3667
|
});
|
|
3667
3668
|
const ElementType = this.elementType;
|
|
3668
3669
|
const isInteractive = !this.disabled && !this.loading;
|
|
3669
|
-
return (hAsync(Host, { key: '
|
|
3670
|
+
return (hAsync(Host, { key: 'fe91be3eb9c2a3ece800097392462b3bd76f1264' }, hAsync(ElementType, { key: 'aa1d4e0544beff8759d232d0e897ffdbcd584ea5', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (hAsync("span", { key: '2b55edc1b986950ba03a759cffd7346c8611ac0a', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (hAsync("span", { key: '5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, hAsync("span", { key: '2746ef996f0835c76c4ef2cbd39103ad4d07c21f', class: "loader", style: {
|
|
3670
3671
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
3671
3672
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
3672
3673
|
} }))), this.icon ? (hAsync("eds-icon-wrapper", { class: `
|
|
@@ -3726,7 +3727,7 @@ class EdsCardDesc {
|
|
|
3726
3727
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
3727
3728
|
}
|
|
3728
3729
|
render() {
|
|
3729
|
-
return (hAsync("p", { key: '
|
|
3730
|
+
return (hAsync("p", { key: '1e2ae9b46a477adb8a249a0a06c963d3e44ff297', class: "text-light f-ui-03-light" }, hAsync("span", { key: '072222b2b2249a772c1e26f566d7ac863dd6a1dd', class: this.getTruncateClass() }, this.description)));
|
|
3730
3731
|
}
|
|
3731
3732
|
static get style() { return EdsCardDescStyle0; }
|
|
3732
3733
|
static get cmpMeta() { return {
|
|
@@ -3743,7 +3744,7 @@ class EdsCardDesc {
|
|
|
3743
3744
|
}; }
|
|
3744
3745
|
}
|
|
3745
3746
|
|
|
3746
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3747
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3747
3748
|
var EdsCardGenericStyle0 = edsCardGenericCss;
|
|
3748
3749
|
|
|
3749
3750
|
/**
|
|
@@ -3831,7 +3832,7 @@ class EdsCardGeneric {
|
|
|
3831
3832
|
});
|
|
3832
3833
|
}
|
|
3833
3834
|
render() {
|
|
3834
|
-
return (hAsync("article", { key: '
|
|
3835
|
+
return (hAsync("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), hAsync("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description && (hAsync("eds-card-desc", { key: '7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0', "truncate-lines": "3", description: this.description }))), this.parsedImage ? (hAsync("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '63cc046648dbf7d56909b2478d6c15b14e8d9ae4', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label, size: tag.size })))), ' '));
|
|
3835
3836
|
}
|
|
3836
3837
|
get el() { return getElement(this); }
|
|
3837
3838
|
static get style() { return EdsCardGenericStyle0; }
|
|
@@ -4043,7 +4044,7 @@ class EdsCardProject {
|
|
|
4043
4044
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
4044
4045
|
].join(' ');
|
|
4045
4046
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
4046
|
-
return (hAsync("article", { key: '
|
|
4047
|
+
return (hAsync("article", { key: '65af57bfbe558b895f74dd4d088c243a25c7265d', class: cardClasses, onClick: (event) => this.handleClick(event) }, hAsync("div", { key: 'cf0e9f71cd617a44facf7e35cdf78774e41b3eb1', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, hAsync("div", { key: '82870bbaf7203ac92f25ca241186ba7a32b784d5', class: "lg:max-w-[720px]" }, hAsync("eds-card-title", { key: '0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (hAsync("span", { key: '3586446f9ad1bb190c93cd54d7e53d6e835b8e37', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (hAsync("div", { key: '750c707f04d12ddd1d38aa0377b47f8804070535', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && hAsync("eds-tag", { key: '01fbeebd88ee60feede3b21db177b3691ffc2808', label: this.categoryTitle })))), this.parsedImage && (hAsync("div", { key: 'c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513', class: imageClasses }, hAsync("div", { key: '04d4828b6648470543ddde09d935aaa7c6133d7e', class: "aspect-1x1 w-full" }, hAsync("eds-img", Object.assign({ key: 'cde6eb483641c02abb6c229470f07aa5b08fbf9b', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
4047
4048
|
}
|
|
4048
4049
|
get el() { return getElement(this); }
|
|
4049
4050
|
static get cmpMeta() { return {
|
|
@@ -4103,7 +4104,7 @@ class EdsCardSection {
|
|
|
4103
4104
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
4104
4105
|
*/
|
|
4105
4106
|
render() {
|
|
4106
|
-
return (hAsync("section", { key: '
|
|
4107
|
+
return (hAsync("section", { key: 'bae0833e4d29cb2874bfb1751d7663751fd64abe', class: "w-full" }, hAsync("ul", { key: '001026f2866cf6101c317f08d32eac4dff46d335', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (hAsync("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, hAsync("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
|
|
4107
4108
|
}
|
|
4108
4109
|
static get style() { return EdsCardSectionStyle0; }
|
|
4109
4110
|
static get cmpMeta() { return {
|
|
@@ -4132,7 +4133,7 @@ class EdsCardTags {
|
|
|
4132
4133
|
this.tags = [];
|
|
4133
4134
|
}
|
|
4134
4135
|
render() {
|
|
4135
|
-
return (hAsync("div", { key: '
|
|
4136
|
+
return (hAsync("div", { key: 'dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
4136
4137
|
}
|
|
4137
4138
|
static get style() { return EdsCardTagsStyle0; }
|
|
4138
4139
|
static get cmpMeta() { return {
|
|
@@ -4196,7 +4197,7 @@ class EdsCardTitle {
|
|
|
4196
4197
|
render() {
|
|
4197
4198
|
//const Tag = this.getTag();
|
|
4198
4199
|
const Heading = this.headingLevel;
|
|
4199
|
-
return (hAsync(Heading, { key: '
|
|
4200
|
+
return (hAsync(Heading, { key: '1fd3f080c09f94d7b7175d51b9d8e38bb0b76286', class: this.getTitleClass() }, hAsync("a", { key: 'dd06cbecbc9eaef8052f34eae28ae17c5f92c918', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
4200
4201
|
}
|
|
4201
4202
|
static get style() { return EdsCardTitleStyle0; }
|
|
4202
4203
|
static get cmpMeta() { return {
|
|
@@ -4284,7 +4285,7 @@ class EdsCardTool {
|
|
|
4284
4285
|
});
|
|
4285
4286
|
}
|
|
4286
4287
|
render() {
|
|
4287
|
-
return (hAsync("article", { key: '
|
|
4288
|
+
return (hAsync("article", { key: '00f417ee065537f8b30bc73e5ad9ca0d69b3aed3', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: '9d8156f655c9344c872631b75cfcaf52fdf23347', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (hAsync("eds-card-desc", { key: 'da7aa3d0d9f7995a824fd7720342e6dd4d94224f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (hAsync("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '3e3001ec404a0bbca84deafc89de6aab8bf2fe45', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
4288
4289
|
}
|
|
4289
4290
|
get el() { return getElement(this); }
|
|
4290
4291
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -6796,7 +6797,7 @@ class EdsCodeBlock {
|
|
|
6796
6797
|
return this.code; // Fallback if language is not provided or unsupported
|
|
6797
6798
|
}
|
|
6798
6799
|
render() {
|
|
6799
|
-
return (hAsync("div", { key: '
|
|
6800
|
+
return (hAsync("div", { key: '2c5addd195dc8d930db643e95ecc52410dd94052', class: "relative bg-stronger rounded-sm" }, hAsync("div", { key: 'aea2d891f9e5d57d4b8390cff4597cb8edd163a1', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (hAsync("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (hAsync("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, hAsync("code", { innerHTML: this.getHighlightedCode() }))), hAsync("span", { key: '41e2d463bde145f901eae42dda68091a9a42e3ef', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, hAsync("eds-icon-wrapper", { key: '7285b81dd936c770b09b4a36bed8c8ba2a87da99', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), hAsync("span", { key: 'a12d74735064478480544cc4b5cf14d7b028b1a8', class: "sr-only" }, "Copy Code")), this.language && (hAsync("pre", { key: '2fcde4f271059ac98cb3b1b6bffbf4564ccf795b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, hAsync("code", { key: '68a8b83f492e7b0eb2916a063e28a4293e6a988f', innerHTML: this.getHighlightedCode() })))));
|
|
6800
6801
|
}
|
|
6801
6802
|
get el() { return getElement(this); }
|
|
6802
6803
|
static get style() { return EdsCodeBlockStyle0; }
|
|
@@ -6844,7 +6845,7 @@ class EdsCookiesPreference {
|
|
|
6844
6845
|
}
|
|
6845
6846
|
}
|
|
6846
6847
|
render() {
|
|
6847
|
-
return (hAsync("div", { key: '
|
|
6848
|
+
return (hAsync("div", { key: '64edfc7f4d83f6185be6c74707115ec478628c6b' }, hAsync("eds-link", { key: 'd2c07e20ae1e67753b17f017bd5efa9b1e722fec', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && hAsync("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
6848
6849
|
}
|
|
6849
6850
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6850
6851
|
static get cmpMeta() { return {
|
|
@@ -6868,13 +6869,23 @@ var EdsDropdownStyle0 = edsDropdownCss;
|
|
|
6868
6869
|
/**
|
|
6869
6870
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
6870
6871
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
6871
|
-
* such as positioning, styling, and
|
|
6872
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
6872
6873
|
*
|
|
6873
|
-
* Key
|
|
6874
|
-
* - Configurable dropdown position (left or right) and offset
|
|
6875
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
6876
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
6877
|
-
* -
|
|
6874
|
+
* ## Key Features:
|
|
6875
|
+
* - Configurable dropdown position (left or right) and offset
|
|
6876
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
6877
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
6878
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
6879
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
6880
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
6881
|
+
*
|
|
6882
|
+
* ## Auto-Close Behavior:
|
|
6883
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
6884
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
6885
|
+
*
|
|
6886
|
+
* ## Data Attributes:
|
|
6887
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
6888
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
6878
6889
|
*
|
|
6879
6890
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
6880
6891
|
*/
|
|
@@ -6887,10 +6898,12 @@ class EdsDropdown {
|
|
|
6887
6898
|
* Toggles the visibility of the dropdown and manages focus.
|
|
6888
6899
|
*/
|
|
6889
6900
|
this.handleClick = () => {
|
|
6890
|
-
var _a;
|
|
6901
|
+
var _a, _b;
|
|
6891
6902
|
this.isOpen = !this.isOpen;
|
|
6892
6903
|
if (this.isOpen) {
|
|
6893
|
-
|
|
6904
|
+
// refresh focusables each open in case slot changed
|
|
6905
|
+
this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
|
|
6906
|
+
this.focusIndex = this.focusableItems.length ? 0 : -1;
|
|
6894
6907
|
this.focusItem();
|
|
6895
6908
|
}
|
|
6896
6909
|
else {
|
|
@@ -6901,7 +6914,7 @@ class EdsDropdown {
|
|
|
6901
6914
|
category: 'ui-component',
|
|
6902
6915
|
parentContext: null,
|
|
6903
6916
|
tag: this.host.tagName.toLowerCase(),
|
|
6904
|
-
name: ((
|
|
6917
|
+
name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
|
|
6905
6918
|
action: this.isOpen ? 'expanded' : 'collapsed'
|
|
6906
6919
|
});
|
|
6907
6920
|
};
|
|
@@ -6913,9 +6926,14 @@ class EdsDropdown {
|
|
|
6913
6926
|
this.dropdownPos = 'left';
|
|
6914
6927
|
this.dropdownOffset = true;
|
|
6915
6928
|
this.intent = 'tertiary';
|
|
6929
|
+
this.autoClose = true;
|
|
6930
|
+
this.noCloseSelector = '[data-dropdown-no-close]';
|
|
6916
6931
|
this.isOpen = false;
|
|
6917
6932
|
this.focusIndex = -1;
|
|
6918
6933
|
}
|
|
6934
|
+
async close() {
|
|
6935
|
+
this.closeDropdown();
|
|
6936
|
+
}
|
|
6919
6937
|
/**
|
|
6920
6938
|
* Closes the dropdown when a click occurs outside of it.
|
|
6921
6939
|
* @param {Event} e - The click event.
|
|
@@ -6975,19 +6993,55 @@ class EdsDropdown {
|
|
|
6975
6993
|
var _a;
|
|
6976
6994
|
this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
|
|
6977
6995
|
}
|
|
6996
|
+
handleHostInternalClick(ev) {
|
|
6997
|
+
var _a;
|
|
6998
|
+
if (!this.isOpen || !this.panelEl) {
|
|
6999
|
+
return;
|
|
7000
|
+
}
|
|
7001
|
+
const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
|
|
7002
|
+
const clickedInsidePanel = path.includes(this.panelEl);
|
|
7003
|
+
if (!clickedInsidePanel) {
|
|
7004
|
+
return;
|
|
7005
|
+
}
|
|
7006
|
+
// Check if element has explicit close attribute
|
|
7007
|
+
const hasCloseAttribute = path.some((t) => {
|
|
7008
|
+
var _a;
|
|
7009
|
+
const n = t;
|
|
7010
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
|
|
7011
|
+
});
|
|
7012
|
+
// If element has data-dropdown-close, always close regardless of autoClose setting
|
|
7013
|
+
if (hasCloseAttribute) {
|
|
7014
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7015
|
+
return;
|
|
7016
|
+
}
|
|
7017
|
+
// If autoClose is disabled and no explicit close attribute, don't close
|
|
7018
|
+
if (!this.autoClose) {
|
|
7019
|
+
return;
|
|
7020
|
+
}
|
|
7021
|
+
// Auto-close mode: close unless clicked element opts out
|
|
7022
|
+
const shouldNotClose = path.some((t) => {
|
|
7023
|
+
var _a;
|
|
7024
|
+
const n = t;
|
|
7025
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
|
|
7026
|
+
});
|
|
7027
|
+
if (!shouldNotClose) {
|
|
7028
|
+
// Defer to allow the item's own click (e.g., router navigation) to run first
|
|
7029
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7030
|
+
}
|
|
7031
|
+
}
|
|
6978
7032
|
/**
|
|
6979
7033
|
* Renders the dropdown component and displays its content when open.
|
|
6980
7034
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
6981
7035
|
*/
|
|
6982
7036
|
render() {
|
|
6983
|
-
return (hAsync("div", { key: '
|
|
7037
|
+
return (hAsync("div", { key: 'e31acbda3428f47fe32cfe550cf00c53374da215', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, hAsync("eds-button", { key: 'ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), hAsync("nav", { key: '59f8533409171401ed73eac8d307e4eafbde9209', ref: (el) => (this.panelEl = el), role: "menu", class: {
|
|
6984
7038
|
'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
|
|
6985
7039
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
6986
7040
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
6987
7041
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
6988
7042
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
6989
7043
|
'rounded-lg': this.rounded
|
|
6990
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '
|
|
7044
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
|
|
6991
7045
|
}
|
|
6992
7046
|
get host() { return getElement(this); }
|
|
6993
7047
|
static get style() { return EdsDropdownStyle0; }
|
|
@@ -7003,10 +7057,13 @@ class EdsDropdown {
|
|
|
7003
7057
|
"dropdownPos": [1, "dropdown-pos"],
|
|
7004
7058
|
"dropdownOffset": [4, "dropdown-offset"],
|
|
7005
7059
|
"intent": [1],
|
|
7060
|
+
"autoClose": [4, "auto-close"],
|
|
7061
|
+
"noCloseSelector": [1, "no-close-selector"],
|
|
7006
7062
|
"isOpen": [32],
|
|
7007
|
-
"focusIndex": [32]
|
|
7063
|
+
"focusIndex": [32],
|
|
7064
|
+
"close": [64]
|
|
7008
7065
|
},
|
|
7009
|
-
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"]],
|
|
7066
|
+
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"], [0, "click", "handleHostInternalClick"]],
|
|
7010
7067
|
"$lazyBundleId$": "-",
|
|
7011
7068
|
"$attrsToReflect$": []
|
|
7012
7069
|
}; }
|
|
@@ -7069,7 +7126,7 @@ class EdsFeedback {
|
|
|
7069
7126
|
const HeadingTag = this.headingLevel;
|
|
7070
7127
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7071
7128
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7072
|
-
return (hAsync("div", { key: '
|
|
7129
|
+
return (hAsync("div", { key: 'd197c6324cca1bea1cb69000cfb0a4776285eeea', class: "grid inline" }, hAsync(HeadingTag, { key: '8a09b89f2732d60e470a16b818467768c0f4e474', class: headingClass }, this.label), hAsync("p", { key: '6a2c35b73b8bde9d96841d60d0761581efbd4047', class: "f-body-01 text-light" }, this.description), hAsync("eds-rating", { key: '0fb0acbbe7c473f2de117e0b0028cafc2f959ed8', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: '8aea027f1c37cbe9ff22555ec00ed183d8c52f0a', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
7073
7130
|
}
|
|
7074
7131
|
get el() { return getElement(this); }
|
|
7075
7132
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7155,9 +7212,9 @@ class EdsFooter {
|
|
|
7155
7212
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7156
7213
|
*/
|
|
7157
7214
|
render() {
|
|
7158
|
-
return (hAsync("footer", { key: '
|
|
7215
|
+
return (hAsync("footer", { key: '5e629d1f5f06ce62843f67b296c94b18765d8100' }, this.social ? (hAsync("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, hAsync("div", { class: "container pb-20" }, hAsync("div", { class: "grid-layout" }, hAsync("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, hAsync("eds-social-networks", { class: "mt-28" })))))) : null, hAsync("div", { key: '68966997037f0dd88c9fb2afcc39514aefa5ff8d', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, hAsync("div", { key: 'd3ec3c9341e7509b2f4771ce0f83fbf4913b4e3e', class: "container flex items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: '30774f2c9c1c5113c8f178af2ad5dbc01b01c8d2', class: "flex items-center gap-x-12" }, hAsync("a", { key: '1939784cb357e1a0a9fc6a00c75953c37d7cac90', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, hAsync("eds-img", { key: 'b9dc32ad675188d061d01e6b11cda37c4edd5e29', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), hAsync("div", { key: '1642eaf31c946bf3f7bd3d235dccd1a66f4de7d8' }, hAsync("div", { key: '4a4b1bf11ebf31a9a0f1735cb0720bdbdab07943', class: "f-ui-04 text-light" }, hAsync("p", { key: '24226946123a5e632d393be9a24971ff9e07b355' }, this.fundedBy), hAsync("div", { key: 'a21829ec3d7d74027a14ee419f37d2ec326b7154', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, hAsync("span", { key: '4791eb4b178cb07f3983f8aa6f3ed0e60918f929', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (hAsync("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
7159
7216
|
this.toggleCookiesConsent();
|
|
7160
|
-
} })) : null))), hAsync("div", { key: '
|
|
7217
|
+
} })) : null))), hAsync("div", { key: '9d1173a7b4db564de8fa2ffb85d2b7db724bef95', class: "ml-auto pl-12" }, this.enableScrollTop ? (hAsync("div", { id: "toTop", class: "transition-all transition duration-75 opacity-0" }, hAsync("eds-button", { id: "backToTop", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" }))) : null)))));
|
|
7161
7218
|
}
|
|
7162
7219
|
get el() { return getElement(this); }
|
|
7163
7220
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7411,8 +7468,8 @@ class EdsForm {
|
|
|
7411
7468
|
registerInstance(this, hostRef);
|
|
7412
7469
|
this.form = createEvent(this, "form", 7);
|
|
7413
7470
|
this.name = 'eds-form';
|
|
7414
|
-
this.title =
|
|
7415
|
-
this.description =
|
|
7471
|
+
this.title = 'Form Title';
|
|
7472
|
+
this.description = 'Form Description';
|
|
7416
7473
|
this.setFormUrl = true;
|
|
7417
7474
|
this.formBtn = true;
|
|
7418
7475
|
this.formBtnLabel = 'Submit';
|
|
@@ -7543,6 +7600,7 @@ class EdsForm {
|
|
|
7543
7600
|
return formData;
|
|
7544
7601
|
}
|
|
7545
7602
|
makeFormData() {
|
|
7603
|
+
var _a;
|
|
7546
7604
|
const formData = new FormData();
|
|
7547
7605
|
// Add the form name
|
|
7548
7606
|
formData.append('form_name', this.name);
|
|
@@ -7554,6 +7612,37 @@ class EdsForm {
|
|
|
7554
7612
|
// Append each key-value pair to the FormData object.
|
|
7555
7613
|
formData.append(key, this.values[key]);
|
|
7556
7614
|
});
|
|
7615
|
+
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
7616
|
+
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
7617
|
+
if (hasFileField && this.formEl) {
|
|
7618
|
+
// Find file inputs inside each eds-input-field's shadowRoot
|
|
7619
|
+
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
7620
|
+
hosts.forEach((host) => {
|
|
7621
|
+
const root = host.shadowRoot;
|
|
7622
|
+
if (!root)
|
|
7623
|
+
return;
|
|
7624
|
+
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
7625
|
+
console.log(fileInputs);
|
|
7626
|
+
fileInputs.forEach((fi) => {
|
|
7627
|
+
const name = fi.name;
|
|
7628
|
+
const files = fi.files ? Array.from(fi.files) : [];
|
|
7629
|
+
if (files.length > 0) {
|
|
7630
|
+
// Append each file under the same field name (backend can use request.files.getlist(name))
|
|
7631
|
+
files.forEach((file) => formData.append(name, file));
|
|
7632
|
+
}
|
|
7633
|
+
});
|
|
7634
|
+
});
|
|
7635
|
+
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
7636
|
+
// formData.set('_has_files', '1');
|
|
7637
|
+
}
|
|
7638
|
+
formData.forEach((value, key) => {
|
|
7639
|
+
if (value instanceof File) {
|
|
7640
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
7641
|
+
}
|
|
7642
|
+
else {
|
|
7643
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
7644
|
+
}
|
|
7645
|
+
});
|
|
7557
7646
|
return formData;
|
|
7558
7647
|
}
|
|
7559
7648
|
handleChange(e, field) {
|
|
@@ -7664,11 +7753,11 @@ class EdsForm {
|
|
|
7664
7753
|
message: `${field.name} updated`
|
|
7665
7754
|
});
|
|
7666
7755
|
}
|
|
7667
|
-
handleSubmit() {
|
|
7756
|
+
handleSubmit(e) {
|
|
7668
7757
|
var _a, _b;
|
|
7669
|
-
|
|
7758
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
7759
|
+
if (this.isSubmitting)
|
|
7670
7760
|
return;
|
|
7671
|
-
}
|
|
7672
7761
|
this.isSubmitting = true;
|
|
7673
7762
|
this.validateForm();
|
|
7674
7763
|
if (this.hasError) {
|
|
@@ -7763,9 +7852,9 @@ class EdsForm {
|
|
|
7763
7852
|
const styleClasses = this.formStyle === 'shadow'
|
|
7764
7853
|
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7765
7854
|
: '';
|
|
7766
|
-
return (hAsync("form", { key: '
|
|
7855
|
+
return (hAsync("form", { key: 'a2e7de988c60301b92f6b756702bfcc78e9f3d90', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, hAsync("div", { key: '22172631522aa6094d8b163b0774c57ef4404d60', class: "flex flex-col gap-y-24" }, this.title && (hAsync("span", { key: '0597bbacbaf5f3d9ec1ab938cf755a10baafdf21', role: "heading", class: "f-heading-04" }, this.title)), this.description && hAsync("span", { key: '5e636072bc2692071bd0b518af721999cc8b511e', class: "f-body-02 text-light" }, this.description), hAsync("slot", { key: '79d21172208eb77ec6460e817d3c7bc3a680c806' })), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
7767
7856
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7768
|
-
.map((g) => (hAsync("div", { class: "
|
|
7857
|
+
.map((g) => (hAsync("div", { class: "mt-32", key: g.id }, hAsync("span", { class: "f-body-02" }, hAsync("b", null, g.title)), hAsync("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), hAsync("div", { key: 'b99941e53dec1c8c4e167d8588d6e86793838d1a', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (hAsync("div", { key: '27365a4d7d8150ff4e94ffb3d27d011400c8c412', class: "mt-32" }, hAsync("eds-button", { key: '66f89292b95d9549e3718d7e499b0724762127c6', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
7769
7858
|
}
|
|
7770
7859
|
get el() { return getElement(this); }
|
|
7771
7860
|
static get watchers() { return {
|
|
@@ -7893,7 +7982,7 @@ class EdsFrame {
|
|
|
7893
7982
|
}
|
|
7894
7983
|
}
|
|
7895
7984
|
render() {
|
|
7896
|
-
return (hAsync("div", { key: '
|
|
7985
|
+
return (hAsync("div", { key: '7b4f5eb19460a178b98586aa38088e3dc5625671', class: this.articleClasses() }, hAsync("div", { key: '98aefbd4cab33f14c9aa3152c122a11b24df4a02', class: "effect-height flex items-center justify-between py-8 px-12" }, hAsync("span", { key: 'd0cdd2f3354bddc99030ee5215f2bc24b139a261', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (hAsync("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), hAsync("div", { key: '030c560bbd0209160c92bc2d152f8d42484dc86b', class: "border-softer" }, this.iframeError ? (hAsync("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (hAsync("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
7897
7986
|
}
|
|
7898
7987
|
get el() { return getElement(this); }
|
|
7899
7988
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -8062,7 +8151,7 @@ class EdsGauge {
|
|
|
8062
8151
|
const textStyle = {
|
|
8063
8152
|
fontSize: `${fontSize}px`
|
|
8064
8153
|
};
|
|
8065
|
-
return (hAsync("div", { key: '
|
|
8154
|
+
return (hAsync("div", { key: '8834b0fc3cb78c0e7926392d04229d67d8deab90', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, hAsync("div", { key: 'f9ad68bd6bf19bceb46df1cfe16cdbbc2375099c', class: "absolute bg-inverse rounded-full", style: maskStyle }), hAsync("div", { key: '64a2ba3ba2f104fa018f81949cdabc0fc53eea42', class: "absolute inset-0 flex items-center justify-center" }, hAsync("span", { key: 'ae66f977802793f4e10210e75ddfa53839a9ff6e', class: "f-body-01 text-default", style: textStyle }, clamped))));
|
|
8066
8155
|
}
|
|
8067
8156
|
static get style() { return EdsGaugeStyle0; }
|
|
8068
8157
|
static get cmpMeta() { return {
|
|
@@ -8082,6 +8171,194 @@ class EdsGauge {
|
|
|
8082
8171
|
}; }
|
|
8083
8172
|
}
|
|
8084
8173
|
|
|
8174
|
+
const edsGlobalSearchCss = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:10px 14px;cursor:pointer;transition:background-color 0.15s ease;border-left:3px solid transparent;overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background-color:var(--grey-200);border-left-color:var(--green-600)}.result-header{display:flex;align-items:center;justify-content:space-between}.result-snippet{font-size:13px;color:#616161;line-height:1.4;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dropdown-footer{border-top:1px solid #e0e0e0;padding:8px 16px;background:#fafafa;flex-shrink:0}.footer-hint{font-size:11px;color:#757575;display:flex;align-items:center;gap:4px;flex-wrap:wrap}kbd{display:inline-block;padding:2px 5px;font-size:10px;font-family:monospace;line-height:1;color:#424242;background-color:#f5f5f5;border:1px solid #bdbdbd;border-radius:3px;box-shadow:0 1px 0 rgba(0, 0, 0, 0.1)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:#f5f5f5}.dropdown-results::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}";
|
|
8175
|
+
var EdsGlobalSearchStyle0 = edsGlobalSearchCss;
|
|
8176
|
+
|
|
8177
|
+
class EdsGlobalSearch {
|
|
8178
|
+
constructor(hostRef) {
|
|
8179
|
+
registerInstance(this, hostRef);
|
|
8180
|
+
this.resultSelected = createEvent(this, "resultSelected", 7);
|
|
8181
|
+
this.searchClosed = createEvent(this, "searchClosed", 7);
|
|
8182
|
+
this.handleInput = (event) => {
|
|
8183
|
+
var _a;
|
|
8184
|
+
const target = event.target;
|
|
8185
|
+
this.query = target.value;
|
|
8186
|
+
if (this.debounceTimer) {
|
|
8187
|
+
clearTimeout(this.debounceTimer);
|
|
8188
|
+
}
|
|
8189
|
+
if (!this.query.trim()) {
|
|
8190
|
+
this.results = [];
|
|
8191
|
+
this.hasSearched = false;
|
|
8192
|
+
this.showDropdown = false;
|
|
8193
|
+
return;
|
|
8194
|
+
}
|
|
8195
|
+
sendAnalytics({
|
|
8196
|
+
category: 'shared-ui',
|
|
8197
|
+
parentContext: null,
|
|
8198
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8199
|
+
name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
|
|
8200
|
+
'unknow seach input query',
|
|
8201
|
+
action: 'click',
|
|
8202
|
+
});
|
|
8203
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
8204
|
+
this.runSearch();
|
|
8205
|
+
}, this.debounceDelay);
|
|
8206
|
+
};
|
|
8207
|
+
this.apiEndpoint = '/api/v1/global-search';
|
|
8208
|
+
this.placeholder = 'Search Handbook + Design...';
|
|
8209
|
+
this.limit = 20;
|
|
8210
|
+
this.debounceDelay = 300;
|
|
8211
|
+
this.query = '';
|
|
8212
|
+
this.results = [];
|
|
8213
|
+
this.loading = false;
|
|
8214
|
+
this.error = '';
|
|
8215
|
+
this.hasSearched = false;
|
|
8216
|
+
this.showDropdown = false;
|
|
8217
|
+
this.selectedIndex = -1;
|
|
8218
|
+
}
|
|
8219
|
+
componentDidLoad() {
|
|
8220
|
+
// Focus input if needed
|
|
8221
|
+
if (this.inputRef) {
|
|
8222
|
+
this.inputRef.focus();
|
|
8223
|
+
}
|
|
8224
|
+
}
|
|
8225
|
+
disconnectedCallback() {
|
|
8226
|
+
if (this.debounceTimer) {
|
|
8227
|
+
clearTimeout(this.debounceTimer);
|
|
8228
|
+
}
|
|
8229
|
+
}
|
|
8230
|
+
handleDocumentClick(event) {
|
|
8231
|
+
const path = event.composedPath();
|
|
8232
|
+
if (!path.includes(this.el)) {
|
|
8233
|
+
this.showDropdown = false;
|
|
8234
|
+
this.selectedIndex = -1;
|
|
8235
|
+
}
|
|
8236
|
+
}
|
|
8237
|
+
handleKeydown(event) {
|
|
8238
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
8239
|
+
if (event.key === 'Escape') {
|
|
8240
|
+
this.searchClosed.emit();
|
|
8241
|
+
}
|
|
8242
|
+
return;
|
|
8243
|
+
}
|
|
8244
|
+
switch (event.key) {
|
|
8245
|
+
case 'ArrowDown':
|
|
8246
|
+
event.preventDefault();
|
|
8247
|
+
this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
|
|
8248
|
+
this.scrollToSelected();
|
|
8249
|
+
break;
|
|
8250
|
+
case 'ArrowUp':
|
|
8251
|
+
event.preventDefault();
|
|
8252
|
+
this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
|
|
8253
|
+
this.scrollToSelected();
|
|
8254
|
+
break;
|
|
8255
|
+
case 'Enter':
|
|
8256
|
+
event.preventDefault();
|
|
8257
|
+
if (this.selectedIndex >= 0 &&
|
|
8258
|
+
this.selectedIndex < this.results.length) {
|
|
8259
|
+
this.selectResult(this.results[this.selectedIndex]);
|
|
8260
|
+
}
|
|
8261
|
+
break;
|
|
8262
|
+
case 'Escape':
|
|
8263
|
+
this.showDropdown = false;
|
|
8264
|
+
this.selectedIndex = -1;
|
|
8265
|
+
this.searchClosed.emit();
|
|
8266
|
+
break;
|
|
8267
|
+
}
|
|
8268
|
+
}
|
|
8269
|
+
async runSearch() {
|
|
8270
|
+
var _a;
|
|
8271
|
+
const query = this.query.trim();
|
|
8272
|
+
if (!query) {
|
|
8273
|
+
this.results = [];
|
|
8274
|
+
this.hasSearched = false;
|
|
8275
|
+
this.showDropdown = false;
|
|
8276
|
+
return;
|
|
8277
|
+
}
|
|
8278
|
+
this.loading = true;
|
|
8279
|
+
this.error = '';
|
|
8280
|
+
try {
|
|
8281
|
+
const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
|
|
8282
|
+
if (!response.ok) {
|
|
8283
|
+
throw new Error('Search failed');
|
|
8284
|
+
}
|
|
8285
|
+
const data = await response.json();
|
|
8286
|
+
this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
|
|
8287
|
+
this.hasSearched = true;
|
|
8288
|
+
this.showDropdown = true;
|
|
8289
|
+
this.selectedIndex = -1;
|
|
8290
|
+
}
|
|
8291
|
+
catch (err) {
|
|
8292
|
+
console.error('Search error:', err);
|
|
8293
|
+
this.error = 'Search failed. Please try again.';
|
|
8294
|
+
this.results = [];
|
|
8295
|
+
this.showDropdown = true;
|
|
8296
|
+
}
|
|
8297
|
+
finally {
|
|
8298
|
+
this.loading = false;
|
|
8299
|
+
}
|
|
8300
|
+
}
|
|
8301
|
+
selectResult(result) {
|
|
8302
|
+
this.resultSelected.emit(result);
|
|
8303
|
+
this.searchClosed.emit();
|
|
8304
|
+
sendAnalytics({
|
|
8305
|
+
category: 'shared-ui',
|
|
8306
|
+
parentContext: null,
|
|
8307
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8308
|
+
name: `search-select: ${result.url}` || 'unknow search result selection',
|
|
8309
|
+
action: 'click',
|
|
8310
|
+
});
|
|
8311
|
+
window.open(result.url, '_blank', 'noopener,noreferrer');
|
|
8312
|
+
}
|
|
8313
|
+
scrollToSelected() {
|
|
8314
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
8315
|
+
const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
8316
|
+
if (selectedItem) {
|
|
8317
|
+
selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
|
|
8318
|
+
}
|
|
8319
|
+
}
|
|
8320
|
+
}
|
|
8321
|
+
stripHtml(html) {
|
|
8322
|
+
const div = document.createElement('div');
|
|
8323
|
+
div.innerHTML = html;
|
|
8324
|
+
return div.textContent || div.innerText || '';
|
|
8325
|
+
}
|
|
8326
|
+
get hasResults() {
|
|
8327
|
+
return this.results.length > 0;
|
|
8328
|
+
}
|
|
8329
|
+
get showEmpty() {
|
|
8330
|
+
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
8331
|
+
}
|
|
8332
|
+
render() {
|
|
8333
|
+
return (hAsync("div", { key: '8fb5d13cbb123d7a6d6a26d0ba59d4c6d1660216', class: "search-wrapper" }, hAsync("eds-input-field", { key: 'a8bf5d6f4aa5746e144b82fad60b77697d0fdb99', icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && (hAsync("div", { key: '553cb12c9b2aa9ecfbcf9c1eee9ff9a44549e35a', class: "search-dropdown", ref: (el) => (this.dropdownRef = el) }, this.loading && (hAsync("div", { key: '4f40853beecd11f8812fd97cf07d2394e7b73466', class: "flex text-center justify-center p-64" }, hAsync("eds-spinner", { key: '307a3ba3ec2d296f31f8e5cf1a696786387ea8fa', variant: "primary", size: "sm" }))), this.error && !this.loading && (hAsync("div", { key: '46fc2ed3f48237864c62ce52d5789b72ab007f61', class: "flex text-center justify-center p-16" }, hAsync("span", { key: 'b555370d936f99234d9be576d04766bc674bfd24', class: "text-error f-body-02" }, this.error))), this.showEmpty && (hAsync("div", { key: '7464c4850872ce8dcee55c189b1e78baa1799f14', class: "dropdown-state" }, hAsync("eds-icon-wrapper", { key: '989282ef0fc8fde7018bb80ab172773cc2107942', icon: "search" }), hAsync("div", { key: 'efbdbd61312b7de43c4f9944cbd573573ec22f11' }, hAsync("p", { key: 'fb8bf8c76f101a182f2f0e0c9beac642a872d4cb', class: "f-body-02" }, "No results found"), hAsync("p", { key: '003a1facf39b7efe8f61c58518e7fdef4779f9c3', class: "f-ui-04 text-lightest" }, "Try different keywords")))), this.hasResults && !this.loading && (hAsync("ul", { key: '01b48376f9b290218f93eed314bcc71fa15f83ef', class: "dropdown-results" }, this.results.map((result, index) => (hAsync("li", { key: result.id, "data-index": index, class: {
|
|
8334
|
+
'result-item': true,
|
|
8335
|
+
'result-item--selected': index === this.selectedIndex,
|
|
8336
|
+
}, onClick: () => this.selectResult(result), onMouseEnter: () => (this.selectedIndex = index) }, hAsync("div", { class: "result-header" }, hAsync("span", { class: "f-body-02" }, result.title)), hAsync("div", { class: "inline" }, hAsync("eds-tag", { intent: "accent", label: result.source }), result.section && (hAsync("span", { class: "result-badge" }, result.section)), hAsync("span", { class: "f-ui-03-light text-lighter ml-8" }, result.url)), result.snippet && (hAsync("p", { class: "result-snippet" }, this.stripHtml(result.snippet)))))))), this.hasResults && !this.loading && (hAsync("div", { key: '3730704ff20781f23403df56a452bf586c06a688', class: "dropdown-footer" }, hAsync("span", { key: '981e0fb42c24116a2b7caa1a341db1435fb57298', class: "footer-hint" }, hAsync("kbd", { key: 'a3afa1202d694af3f87c736f8384b11497729d2c' }, "\u2191"), " ", hAsync("kbd", { key: '4158766047e73eef837b3a7be415b52792473f3e' }, "\u2193"), " navigate \u2022 ", hAsync("kbd", { key: '49dc09c928a6f0d69e4c95cee7ba5b655dfcd56c' }, "\u21B5"), " select \u2022", ' ', hAsync("kbd", { key: '8da9b6f1bef58c7633a484f63e63920646d6b675' }, "esc"), " close")))))));
|
|
8337
|
+
}
|
|
8338
|
+
get el() { return getElement(this); }
|
|
8339
|
+
static get style() { return EdsGlobalSearchStyle0; }
|
|
8340
|
+
static get cmpMeta() { return {
|
|
8341
|
+
"$flags$": 9,
|
|
8342
|
+
"$tagName$": "eds-global-search",
|
|
8343
|
+
"$members$": {
|
|
8344
|
+
"apiEndpoint": [1, "api-endpoint"],
|
|
8345
|
+
"placeholder": [1],
|
|
8346
|
+
"limit": [2],
|
|
8347
|
+
"debounceDelay": [2, "debounce-delay"],
|
|
8348
|
+
"query": [32],
|
|
8349
|
+
"results": [32],
|
|
8350
|
+
"loading": [32],
|
|
8351
|
+
"error": [32],
|
|
8352
|
+
"hasSearched": [32],
|
|
8353
|
+
"showDropdown": [32],
|
|
8354
|
+
"selectedIndex": [32]
|
|
8355
|
+
},
|
|
8356
|
+
"$listeners$": [[4, "click", "handleDocumentClick"], [0, "keydown", "handleKeydown"]],
|
|
8357
|
+
"$lazyBundleId$": "-",
|
|
8358
|
+
"$attrsToReflect$": []
|
|
8359
|
+
}; }
|
|
8360
|
+
}
|
|
8361
|
+
|
|
8085
8362
|
const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
|
|
8086
8363
|
var EdsHeaderStyle0 = edsHeaderCss;
|
|
8087
8364
|
|
|
@@ -8143,7 +8420,7 @@ class EdsHeader {
|
|
|
8143
8420
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8144
8421
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8145
8422
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8146
|
-
return (hAsync("header", { key: '
|
|
8423
|
+
return (hAsync("header", { key: '937c78379bb6f3a97705862b2fa3f0f6ddd76d4c', class: `flex items-center justify-between relative z-10 ${classes}` }, hAsync("div", { key: 'd94837e8414d558f02039501d7b01ab550275ca7', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: '02711bc6d80075a215761ce79698555f7b31bffa', type: logoType, href: this.homeUrl })), this.parsedLinks && (hAsync("nav", { key: 'e3f0033cce5a6145a4f457d1c2c7aebb767593f7', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, hAsync("ul", { key: '85008ed8ceb8eca869d8730b38a8aa37aeb757ff', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (hAsync("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), hAsync("slot", { key: '35eb7af751f3da381fada990118fa0a37ce150b1' }), this.menuEnabled && (hAsync("div", { key: '121bba2b027fc21e8c77054f3de533e40fad6b96', class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { key: '00774810aabf8fa292ecca2210bcd9542a7cb0c2', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
8147
8424
|
}
|
|
8148
8425
|
get hostEl() { return getElement(this); }
|
|
8149
8426
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -10161,7 +10438,7 @@ class EdsIconArrowDiagonal {
|
|
|
10161
10438
|
this.class = '';
|
|
10162
10439
|
}
|
|
10163
10440
|
render() {
|
|
10164
|
-
return hAsync("span", { key: '
|
|
10441
|
+
return hAsync("span", { key: 'f638b55d0ab199bbd7a52d099aa1242410ae1892', class: this.class, innerHTML: arrowDiagonal });
|
|
10165
10442
|
}
|
|
10166
10443
|
static get cmpMeta() { return {
|
|
10167
10444
|
"$flags$": 0,
|
|
@@ -10184,7 +10461,7 @@ class EdsIconArrowRight {
|
|
|
10184
10461
|
this.class = '';
|
|
10185
10462
|
}
|
|
10186
10463
|
render() {
|
|
10187
|
-
return hAsync("span", { key: '
|
|
10464
|
+
return hAsync("span", { key: '476da936a6861dc0a5db691cee31559c845766a2', class: this.class, innerHTML: arrowRight });
|
|
10188
10465
|
}
|
|
10189
10466
|
static get cmpMeta() { return {
|
|
10190
10467
|
"$flags$": 0,
|
|
@@ -10207,7 +10484,7 @@ class EdsIconBin {
|
|
|
10207
10484
|
this.class = '';
|
|
10208
10485
|
}
|
|
10209
10486
|
render() {
|
|
10210
|
-
return hAsync("span", { key: '
|
|
10487
|
+
return hAsync("span", { key: '8bc63b5438fa6bf2ffa729afd07a793b96f3167d', class: this.class, innerHTML: bin });
|
|
10211
10488
|
}
|
|
10212
10489
|
static get cmpMeta() { return {
|
|
10213
10490
|
"$flags$": 0,
|
|
@@ -10230,7 +10507,7 @@ class EdsIconBluesky {
|
|
|
10230
10507
|
this.class = '';
|
|
10231
10508
|
}
|
|
10232
10509
|
render() {
|
|
10233
|
-
return hAsync("span", { key: '
|
|
10510
|
+
return hAsync("span", { key: 'b42f25c9a2405c94d83c917026f376c9803058d1', class: this.class, innerHTML: bluesky });
|
|
10234
10511
|
}
|
|
10235
10512
|
static get cmpMeta() { return {
|
|
10236
10513
|
"$flags$": 0,
|
|
@@ -10253,7 +10530,7 @@ class EdsIconBookmark {
|
|
|
10253
10530
|
this.class = '';
|
|
10254
10531
|
}
|
|
10255
10532
|
render() {
|
|
10256
|
-
return hAsync("span", { key: '
|
|
10533
|
+
return hAsync("span", { key: '3a7cb54b31e70a446b093453389432938c2fd9d8', class: this.class, innerHTML: bookmark });
|
|
10257
10534
|
}
|
|
10258
10535
|
static get cmpMeta() { return {
|
|
10259
10536
|
"$flags$": 0,
|
|
@@ -10276,7 +10553,7 @@ class EdsIconChevronDown {
|
|
|
10276
10553
|
this.class = '';
|
|
10277
10554
|
}
|
|
10278
10555
|
render() {
|
|
10279
|
-
return hAsync("span", { key: '
|
|
10556
|
+
return hAsync("span", { key: '49925425ac1fd676eb96b973b1419f1f2aec1c81', class: this.class, innerHTML: chevronDown });
|
|
10280
10557
|
}
|
|
10281
10558
|
static get cmpMeta() { return {
|
|
10282
10559
|
"$flags$": 0,
|
|
@@ -10299,7 +10576,7 @@ class EdsIconChevronLeft {
|
|
|
10299
10576
|
this.class = '';
|
|
10300
10577
|
}
|
|
10301
10578
|
render() {
|
|
10302
|
-
return hAsync("span", { key: '
|
|
10579
|
+
return hAsync("span", { key: '38d849e3d7e2b2f5e7df8a5624bcf988b3046b11', class: this.class, innerHTML: chevronLeft });
|
|
10303
10580
|
}
|
|
10304
10581
|
static get cmpMeta() { return {
|
|
10305
10582
|
"$flags$": 0,
|
|
@@ -10322,7 +10599,7 @@ class EdsIconChevronRight {
|
|
|
10322
10599
|
this.class = '';
|
|
10323
10600
|
}
|
|
10324
10601
|
render() {
|
|
10325
|
-
return hAsync("span", { key: '
|
|
10602
|
+
return hAsync("span", { key: '5368c37dc49fa654d75f42a774a9a3ad93db5261', class: this.class, innerHTML: chevronRight });
|
|
10326
10603
|
}
|
|
10327
10604
|
static get cmpMeta() { return {
|
|
10328
10605
|
"$flags$": 0,
|
|
@@ -10345,7 +10622,7 @@ class EdsIconChevronUp {
|
|
|
10345
10622
|
this.class = '';
|
|
10346
10623
|
}
|
|
10347
10624
|
render() {
|
|
10348
|
-
return hAsync("span", { key: '
|
|
10625
|
+
return hAsync("span", { key: '6479f32960c973174c4577beef2f7df7b0baebd4', class: this.class, innerHTML: chevronUp });
|
|
10349
10626
|
}
|
|
10350
10627
|
static get cmpMeta() { return {
|
|
10351
10628
|
"$flags$": 0,
|
|
@@ -10368,7 +10645,7 @@ class EdsIconClone {
|
|
|
10368
10645
|
this.class = '';
|
|
10369
10646
|
}
|
|
10370
10647
|
render() {
|
|
10371
|
-
return hAsync("span", { key: '
|
|
10648
|
+
return hAsync("span", { key: 'a31ea2174a7c266b62264dad10c486f7dc27f043', class: this.class, innerHTML: clone });
|
|
10372
10649
|
}
|
|
10373
10650
|
static get cmpMeta() { return {
|
|
10374
10651
|
"$flags$": 0,
|
|
@@ -10391,7 +10668,7 @@ class EdsIconClose {
|
|
|
10391
10668
|
this.class = '';
|
|
10392
10669
|
}
|
|
10393
10670
|
render() {
|
|
10394
|
-
return hAsync("span", { key: '
|
|
10671
|
+
return hAsync("span", { key: 'b4283a9fbc348923169a4d56ad6f3b5aad4a13c8', class: this.class, innerHTML: close });
|
|
10395
10672
|
}
|
|
10396
10673
|
static get cmpMeta() { return {
|
|
10397
10674
|
"$flags$": 0,
|
|
@@ -10414,7 +10691,7 @@ class EdsIconCopy {
|
|
|
10414
10691
|
this.class = '';
|
|
10415
10692
|
}
|
|
10416
10693
|
render() {
|
|
10417
|
-
return hAsync("span", { key: '
|
|
10694
|
+
return hAsync("span", { key: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: copy });
|
|
10418
10695
|
}
|
|
10419
10696
|
static get cmpMeta() { return {
|
|
10420
10697
|
"$flags$": 0,
|
|
@@ -10437,7 +10714,7 @@ class EdsIconDownload {
|
|
|
10437
10714
|
this.class = '';
|
|
10438
10715
|
}
|
|
10439
10716
|
render() {
|
|
10440
|
-
return hAsync("span", { key: '
|
|
10717
|
+
return hAsync("span", { key: '2fbaad3eebee32d200d0f655b396ea937901f3bd', class: this.class, innerHTML: download });
|
|
10441
10718
|
}
|
|
10442
10719
|
static get cmpMeta() { return {
|
|
10443
10720
|
"$flags$": 0,
|
|
@@ -10460,7 +10737,7 @@ class EdsIconDraft {
|
|
|
10460
10737
|
this.class = '';
|
|
10461
10738
|
}
|
|
10462
10739
|
render() {
|
|
10463
|
-
return hAsync("span", { key: '
|
|
10740
|
+
return hAsync("span", { key: '408c981cebc10ab4bcf91e2765e7971ad0a83975', class: this.class, innerHTML: draft });
|
|
10464
10741
|
}
|
|
10465
10742
|
static get cmpMeta() { return {
|
|
10466
10743
|
"$flags$": 0,
|
|
@@ -10483,7 +10760,7 @@ class EdsIconEdit {
|
|
|
10483
10760
|
this.class = '';
|
|
10484
10761
|
}
|
|
10485
10762
|
render() {
|
|
10486
|
-
return hAsync("span", { key: '
|
|
10763
|
+
return hAsync("span", { key: 'eb8558a13bcab457f260b0c3cddc235867b7f45a', class: this.class, innerHTML: edit });
|
|
10487
10764
|
}
|
|
10488
10765
|
static get cmpMeta() { return {
|
|
10489
10766
|
"$flags$": 0,
|
|
@@ -10506,7 +10783,7 @@ class EdsIconEu {
|
|
|
10506
10783
|
this.class = '';
|
|
10507
10784
|
}
|
|
10508
10785
|
render() {
|
|
10509
|
-
return hAsync("span", { key: '
|
|
10786
|
+
return hAsync("span", { key: '994f1becb4b226a2d2f022d9bd22a690fad5aab4', class: this.class, innerHTML: euSvg });
|
|
10510
10787
|
}
|
|
10511
10788
|
static get cmpMeta() { return {
|
|
10512
10789
|
"$flags$": 0,
|
|
@@ -10529,7 +10806,7 @@ class EdsIconExternal {
|
|
|
10529
10806
|
this.class = '';
|
|
10530
10807
|
}
|
|
10531
10808
|
render() {
|
|
10532
|
-
return hAsync("span", { key: '
|
|
10809
|
+
return hAsync("span", { key: '0825d1c73c5f311f7a9d5394542f6fd74791a543', class: this.class, innerHTML: arrowDiagonal });
|
|
10533
10810
|
}
|
|
10534
10811
|
static get cmpMeta() { return {
|
|
10535
10812
|
"$flags$": 0,
|
|
@@ -10552,7 +10829,7 @@ class EdsIconFacebook {
|
|
|
10552
10829
|
this.class = '';
|
|
10553
10830
|
}
|
|
10554
10831
|
render() {
|
|
10555
|
-
return hAsync("span", { key: '
|
|
10832
|
+
return hAsync("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: facebook });
|
|
10556
10833
|
}
|
|
10557
10834
|
static get cmpMeta() { return {
|
|
10558
10835
|
"$flags$": 0,
|
|
@@ -10575,7 +10852,7 @@ class EdsIconGitlab {
|
|
|
10575
10852
|
this.class = '';
|
|
10576
10853
|
}
|
|
10577
10854
|
render() {
|
|
10578
|
-
return hAsync("span", { key: '
|
|
10855
|
+
return hAsync("span", { key: '4c0a731d1a67884107112bc5941faf2001dbbfd5', class: this.class, innerHTML: gitlabBlack });
|
|
10579
10856
|
}
|
|
10580
10857
|
static get cmpMeta() { return {
|
|
10581
10858
|
"$flags$": 0,
|
|
@@ -10598,7 +10875,7 @@ class EdsIconLinkedin {
|
|
|
10598
10875
|
this.class = '';
|
|
10599
10876
|
}
|
|
10600
10877
|
render() {
|
|
10601
|
-
return hAsync("span", { key: '
|
|
10878
|
+
return hAsync("span", { key: '36bf44e06217f9b2521f374028a1316fb17ff21a', class: this.class, innerHTML: linkedin });
|
|
10602
10879
|
}
|
|
10603
10880
|
static get cmpMeta() { return {
|
|
10604
10881
|
"$flags$": 0,
|
|
@@ -10621,7 +10898,7 @@ class EdsIconLoader {
|
|
|
10621
10898
|
this.class = '';
|
|
10622
10899
|
}
|
|
10623
10900
|
render() {
|
|
10624
|
-
return hAsync("span", { key: '
|
|
10901
|
+
return hAsync("span", { key: '2207bbac640cf28a2d6d5d725f681e56c8c53011', class: this.class, innerHTML: loader });
|
|
10625
10902
|
}
|
|
10626
10903
|
static get cmpMeta() { return {
|
|
10627
10904
|
"$flags$": 0,
|
|
@@ -10644,7 +10921,7 @@ class EdsIconMastodon {
|
|
|
10644
10921
|
this.class = '';
|
|
10645
10922
|
}
|
|
10646
10923
|
render() {
|
|
10647
|
-
return hAsync("span", { key: '
|
|
10924
|
+
return hAsync("span", { key: 'b7ba0f10df196243538aaeefe3db0ee5f594f885', class: this.class, innerHTML: mastodon });
|
|
10648
10925
|
}
|
|
10649
10926
|
static get cmpMeta() { return {
|
|
10650
10927
|
"$flags$": 0,
|
|
@@ -10667,7 +10944,7 @@ class EdsIconMenu {
|
|
|
10667
10944
|
this.class = '';
|
|
10668
10945
|
}
|
|
10669
10946
|
render() {
|
|
10670
|
-
return hAsync("span", { key: '
|
|
10947
|
+
return hAsync("span", { key: '5f14cbe4b3ca88f7301c1561c092278b31d04326', class: this.class, innerHTML: menu });
|
|
10671
10948
|
}
|
|
10672
10949
|
static get cmpMeta() { return {
|
|
10673
10950
|
"$flags$": 0,
|
|
@@ -10690,7 +10967,7 @@ class EdsIconMinus {
|
|
|
10690
10967
|
this.class = '';
|
|
10691
10968
|
}
|
|
10692
10969
|
render() {
|
|
10693
|
-
return hAsync("span", { key: '
|
|
10970
|
+
return hAsync("span", { key: 'b19c12426db0068934252c6197ba04789d42f5e2', class: this.class, innerHTML: minus });
|
|
10694
10971
|
}
|
|
10695
10972
|
static get cmpMeta() { return {
|
|
10696
10973
|
"$flags$": 0,
|
|
@@ -10713,7 +10990,7 @@ class EdsIconMore {
|
|
|
10713
10990
|
this.class = '';
|
|
10714
10991
|
}
|
|
10715
10992
|
render() {
|
|
10716
|
-
return hAsync("span", { key: '
|
|
10993
|
+
return hAsync("span", { key: 'b6d2b6d7d156c715e2f7d2192d93a4326b22dfc5', class: this.class, innerHTML: more });
|
|
10717
10994
|
}
|
|
10718
10995
|
static get cmpMeta() { return {
|
|
10719
10996
|
"$flags$": 0,
|
|
@@ -10736,7 +11013,7 @@ class EdsIconPaper {
|
|
|
10736
11013
|
this.class = '';
|
|
10737
11014
|
}
|
|
10738
11015
|
render() {
|
|
10739
|
-
return hAsync("span", { key: '
|
|
11016
|
+
return hAsync("span", { key: '497345c7f18b9cceaf00030b7b3ab052f482c7bf', class: this.class, innerHTML: paper });
|
|
10740
11017
|
}
|
|
10741
11018
|
static get cmpMeta() { return {
|
|
10742
11019
|
"$flags$": 0,
|
|
@@ -10759,7 +11036,7 @@ class EdsIconPlus {
|
|
|
10759
11036
|
this.class = '';
|
|
10760
11037
|
}
|
|
10761
11038
|
render() {
|
|
10762
|
-
return hAsync("span", { key: '
|
|
11039
|
+
return hAsync("span", { key: 'd9fdc443e6da9465453f5f201b5782437a45402e', class: this.class, innerHTML: plus });
|
|
10763
11040
|
}
|
|
10764
11041
|
static get cmpMeta() { return {
|
|
10765
11042
|
"$flags$": 0,
|
|
@@ -10782,7 +11059,7 @@ class EdsIconPortal {
|
|
|
10782
11059
|
this.class = '';
|
|
10783
11060
|
}
|
|
10784
11061
|
render() {
|
|
10785
|
-
return hAsync("span", { key: '
|
|
11062
|
+
return hAsync("span", { key: '27be525d5922ed05755e207adc914c7e86fb7033', class: this.class, innerHTML: portal });
|
|
10786
11063
|
}
|
|
10787
11064
|
static get cmpMeta() { return {
|
|
10788
11065
|
"$flags$": 0,
|
|
@@ -10805,7 +11082,7 @@ class EdsIconPrivate {
|
|
|
10805
11082
|
this.class = '';
|
|
10806
11083
|
}
|
|
10807
11084
|
render() {
|
|
10808
|
-
return hAsync("span", { key: '
|
|
11085
|
+
return hAsync("span", { key: '16aa24573646bd0002f9b259dba4ab7bb150d12e', class: this.class, innerHTML: privat });
|
|
10809
11086
|
}
|
|
10810
11087
|
static get cmpMeta() { return {
|
|
10811
11088
|
"$flags$": 0,
|
|
@@ -10828,7 +11105,7 @@ class EdsIconPublic {
|
|
|
10828
11105
|
this.class = '';
|
|
10829
11106
|
}
|
|
10830
11107
|
render() {
|
|
10831
|
-
return hAsync("span", { key: '
|
|
11108
|
+
return hAsync("span", { key: '1aedbead2feca84807fa4dd3d10092c3a4632365', class: this.class, innerHTML: pub });
|
|
10832
11109
|
}
|
|
10833
11110
|
static get cmpMeta() { return {
|
|
10834
11111
|
"$flags$": 0,
|
|
@@ -10851,7 +11128,7 @@ class EdsIconSearch {
|
|
|
10851
11128
|
this.class = '';
|
|
10852
11129
|
}
|
|
10853
11130
|
render() {
|
|
10854
|
-
return hAsync("span", { key: '
|
|
11131
|
+
return hAsync("span", { key: '4d7a6781f65c4fc7159dd29a9d02b2d5333915fd', class: this.class, innerHTML: search });
|
|
10855
11132
|
}
|
|
10856
11133
|
static get cmpMeta() { return {
|
|
10857
11134
|
"$flags$": 0,
|
|
@@ -10874,7 +11151,7 @@ class EdsIconStar {
|
|
|
10874
11151
|
this.class = '';
|
|
10875
11152
|
}
|
|
10876
11153
|
render() {
|
|
10877
|
-
return hAsync("span", { key: '
|
|
11154
|
+
return hAsync("span", { key: '4410f1ce5f3b350e75b31ba6089540a9281e474b', class: this.class, innerHTML: star });
|
|
10878
11155
|
}
|
|
10879
11156
|
static get cmpMeta() { return {
|
|
10880
11157
|
"$flags$": 0,
|
|
@@ -10897,7 +11174,7 @@ class EdsIconStart {
|
|
|
10897
11174
|
this.class = '';
|
|
10898
11175
|
}
|
|
10899
11176
|
render() {
|
|
10900
|
-
return hAsync("span", { key: '
|
|
11177
|
+
return hAsync("span", { key: '3f33c676334b9e7dd18708459ebfb3e3a9cf12a4', class: this.class, innerHTML: start });
|
|
10901
11178
|
}
|
|
10902
11179
|
static get cmpMeta() { return {
|
|
10903
11180
|
"$flags$": 0,
|
|
@@ -10920,7 +11197,7 @@ class EdsIconSuccess {
|
|
|
10920
11197
|
this.class = '';
|
|
10921
11198
|
}
|
|
10922
11199
|
render() {
|
|
10923
|
-
return hAsync("span", { key: '
|
|
11200
|
+
return hAsync("span", { key: '0130a392a537a653154383ccd21a1516100459e3', class: this.class, innerHTML: success });
|
|
10924
11201
|
}
|
|
10925
11202
|
static get cmpMeta() { return {
|
|
10926
11203
|
"$flags$": 0,
|
|
@@ -10943,7 +11220,7 @@ class EdsIconThumbsDown {
|
|
|
10943
11220
|
this.class = '';
|
|
10944
11221
|
}
|
|
10945
11222
|
render() {
|
|
10946
|
-
return hAsync("span", { key: '
|
|
11223
|
+
return hAsync("span", { key: '747187922f5c94e96c67f5455e4ed3b8afd47885', class: this.class, innerHTML: thumbsDown });
|
|
10947
11224
|
}
|
|
10948
11225
|
static get cmpMeta() { return {
|
|
10949
11226
|
"$flags$": 0,
|
|
@@ -10966,7 +11243,7 @@ class EdsIconThumbsUp {
|
|
|
10966
11243
|
this.class = '';
|
|
10967
11244
|
}
|
|
10968
11245
|
render() {
|
|
10969
|
-
return hAsync("span", { key: '
|
|
11246
|
+
return hAsync("span", { key: '051029abca2749f24ae3407ff3ae36b20007c924', class: this.class, innerHTML: thumbsUp });
|
|
10970
11247
|
}
|
|
10971
11248
|
static get cmpMeta() { return {
|
|
10972
11249
|
"$flags$": 0,
|
|
@@ -10989,7 +11266,7 @@ class EdsIconTutorial {
|
|
|
10989
11266
|
this.class = '';
|
|
10990
11267
|
}
|
|
10991
11268
|
render() {
|
|
10992
|
-
return hAsync("span", { key: '
|
|
11269
|
+
return hAsync("span", { key: '3d0f88fa7ebbec278f9cc1394ed87809ff7c49d1', class: this.class, innerHTML: tutorial });
|
|
10993
11270
|
}
|
|
10994
11271
|
static get cmpMeta() { return {
|
|
10995
11272
|
"$flags$": 0,
|
|
@@ -11012,7 +11289,7 @@ class EdsIconTwitter {
|
|
|
11012
11289
|
this.class = '';
|
|
11013
11290
|
}
|
|
11014
11291
|
render() {
|
|
11015
|
-
return hAsync("span", { key: '
|
|
11292
|
+
return hAsync("span", { key: '063a941c7795658f2dd79fbdafd7ea1f8ed4b2f4', class: this.class, innerHTML: twitter });
|
|
11016
11293
|
}
|
|
11017
11294
|
static get cmpMeta() { return {
|
|
11018
11295
|
"$flags$": 0,
|
|
@@ -11035,7 +11312,7 @@ class EdsIconUnknown {
|
|
|
11035
11312
|
this.class = '';
|
|
11036
11313
|
}
|
|
11037
11314
|
render() {
|
|
11038
|
-
return hAsync("span", { key: '
|
|
11315
|
+
return hAsync("span", { key: '27f8330b13ebecd974913f83e3ae142406d08712', class: this.class, innerHTML: unknown });
|
|
11039
11316
|
}
|
|
11040
11317
|
static get cmpMeta() { return {
|
|
11041
11318
|
"$flags$": 0,
|
|
@@ -11058,7 +11335,7 @@ class EdsIconUpdown {
|
|
|
11058
11335
|
this.class = '';
|
|
11059
11336
|
}
|
|
11060
11337
|
render() {
|
|
11061
|
-
return hAsync("span", { key: '
|
|
11338
|
+
return hAsync("span", { key: 'ef19f500cdd0289666d512e73952e6ae1ba9e7dc', class: this.class, innerHTML: upDonw });
|
|
11062
11339
|
}
|
|
11063
11340
|
static get cmpMeta() { return {
|
|
11064
11341
|
"$flags$": 0,
|
|
@@ -11081,7 +11358,7 @@ class EdsIconUser {
|
|
|
11081
11358
|
this.class = '';
|
|
11082
11359
|
}
|
|
11083
11360
|
render() {
|
|
11084
|
-
return hAsync("span", { key: '
|
|
11361
|
+
return hAsync("span", { key: '134abbd42c49915f772f5d2aed7b53ecc5a0bd8a', class: this.class, innerHTML: user });
|
|
11085
11362
|
}
|
|
11086
11363
|
static get cmpMeta() { return {
|
|
11087
11364
|
"$flags$": 0,
|
|
@@ -11104,7 +11381,7 @@ class EdsIconView {
|
|
|
11104
11381
|
this.class = '';
|
|
11105
11382
|
}
|
|
11106
11383
|
render() {
|
|
11107
|
-
return hAsync("span", { key: '
|
|
11384
|
+
return hAsync("span", { key: '5725348031c6f0b6944e765b1b52e7f5759493aa', class: this.class, innerHTML: view });
|
|
11108
11385
|
}
|
|
11109
11386
|
static get cmpMeta() { return {
|
|
11110
11387
|
"$flags$": 0,
|
|
@@ -11183,7 +11460,7 @@ class EdsIconYoutube {
|
|
|
11183
11460
|
this.class = '';
|
|
11184
11461
|
}
|
|
11185
11462
|
render() {
|
|
11186
|
-
return hAsync("span", { key: '
|
|
11463
|
+
return hAsync("span", { key: '7c8d8693dc6e0a03af0b0a68190d451fee84a013', class: this.class, innerHTML: youtube });
|
|
11187
11464
|
}
|
|
11188
11465
|
static get cmpMeta() { return {
|
|
11189
11466
|
"$flags$": 0,
|
|
@@ -11259,10 +11536,10 @@ class EdsImg {
|
|
|
11259
11536
|
imgOpts['loading'] = 'lazy';
|
|
11260
11537
|
imgOpts['decoding'] = 'async';
|
|
11261
11538
|
}
|
|
11262
|
-
return (hAsync("div", { key: '
|
|
11539
|
+
return (hAsync("div", { key: '7d704bdd14072d6ce69632d6f2de3270ff393b87', class: {
|
|
11263
11540
|
'items-center justify-center': true,
|
|
11264
11541
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11265
|
-
} }, hAsync("picture", { key: '
|
|
11542
|
+
} }, hAsync("picture", { key: '724f384b7b9f112727d3ab4ecdab5f769e581b26' }, this.formats.map((format) => (hAsync("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), hAsync("img", Object.assign({ key: '8b12b640a9d66fba117676e6bd81659c72a8e15c', ref: (el) => (this.img = el), class: {
|
|
11266
11543
|
'effect-opacity object-cover object-center': true,
|
|
11267
11544
|
'opacity-100': this.loaded,
|
|
11268
11545
|
'opacity-0': !this.loaded
|
|
@@ -11344,7 +11621,7 @@ class EdsInput {
|
|
|
11344
11621
|
render() {
|
|
11345
11622
|
const withIcon = !!this.icon;
|
|
11346
11623
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11347
|
-
return (hAsync("div", { key: '
|
|
11624
|
+
return (hAsync("div", { key: '4c49edfceefe448b6f5bb29284f0b757342a6003', class: "relative flex items-center" }, this.type === 'textarea' ? (hAsync("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (hAsync("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (hAsync("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (hAsync("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
|
|
11348
11625
|
? {
|
|
11349
11626
|
min: this.min,
|
|
11350
11627
|
max: this.max,
|
|
@@ -11355,7 +11632,7 @@ class EdsInput {
|
|
|
11355
11632
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11356
11633
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11357
11634
|
${this.error ? 'input-error' : ''}
|
|
11358
|
-
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: '
|
|
11635
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: 'df877332c68d4783d5f0f8d8beb94c1859cd00da', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (hAsync("eds-icon-wrapper", { key: '94f7d3d75f5c578c10ab72b6140785b0b5988a13', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
11359
11636
|
}
|
|
11360
11637
|
get el() { return getElement(this); }
|
|
11361
11638
|
static get watchers() { return {
|
|
@@ -11494,7 +11771,7 @@ class EdsInputField {
|
|
|
11494
11771
|
}
|
|
11495
11772
|
render() {
|
|
11496
11773
|
const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
|
|
11497
|
-
return (hAsync("div", { key: '
|
|
11774
|
+
return (hAsync("div", { key: '8351609cb76699040d692f3a99746970a1498bea' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (hAsync("fieldset", { class: "space-y-4" }, hAsync("div", { class: "flex justify-between mb-4" }, this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (hAsync("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (hAsync("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, hAsync("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), hAsync("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (hAsync("div", { class: "flex items-center gap-x-8" }, hAsync("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (hAsync("div", null, hAsync("div", { class: "flex justify-between mb-4" }, this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (hAsync("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (hAsync("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (hAsync("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (hAsync("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
|
|
11498
11775
|
var _a, _b, _c;
|
|
11499
11776
|
const rangeProps = {
|
|
11500
11777
|
name: inputOpts.name,
|
|
@@ -11507,7 +11784,7 @@ class EdsInputField {
|
|
|
11507
11784
|
const opt = this.parsedOptions;
|
|
11508
11785
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11509
11786
|
return (hAsync("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
|
|
11510
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11787
|
+
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '171ca8dfbf4b30a62a05d00f5296b1aaa3d964bd', class: "mt-6" }, hAsync("eds-input-footer", { key: 'c6b7d0a9dc574a5e0dba1e62ff77934e96b4dec1', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
|
|
11511
11788
|
}
|
|
11512
11789
|
static get delegatesFocus() { return true; }
|
|
11513
11790
|
get hostEl() { return getElement(this); }
|
|
@@ -11559,7 +11836,7 @@ class EdsInputFooter {
|
|
|
11559
11836
|
this.link = undefined;
|
|
11560
11837
|
}
|
|
11561
11838
|
render() {
|
|
11562
|
-
return (hAsync("div", { key: '
|
|
11839
|
+
return (hAsync("div", { key: '4c3c1cc26e2b003f49b3cfd1c2388833c305781b' }, this.error && this.errorMessage && (hAsync("div", { key: '7e14e3a77c99ee2700fd0cd8cb1e738c11e34823', id: `error_${this.name}`, class: "text-error flex items-center" }, hAsync("eds-icon-wrapper", { key: '700bc9b58a15e985903fc91abe4e41847d1cf761', icon: "warning" }), hAsync("p", { key: 'a90a0fb49221c15125a54a0413a926174c065319', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && hAsync("p", { key: '24d7c4fb5de1bb54237282edf6e51a16f0475474', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (hAsync("a", { key: '2f01a63b36409dfddd19416777f88008f358b1cb', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
11563
11840
|
}
|
|
11564
11841
|
static get style() { return EdsInputFooterStyle0; }
|
|
11565
11842
|
static get cmpMeta() { return {
|
|
@@ -11590,7 +11867,7 @@ class EdsInputLabel {
|
|
|
11590
11867
|
this.disabled = false;
|
|
11591
11868
|
}
|
|
11592
11869
|
render() {
|
|
11593
|
-
return (hAsync("label", { key: '
|
|
11870
|
+
return (hAsync("label", { key: '51cf53579cea9effbf421c4f4ab45ef63f6770bf', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (hAsync("span", { key: '381c4e1e014d43f726e997767c76565a1979e54a' }, hAsync("span", { key: '08102ef7990f262bf56b6f5bcf70e2ef6ecb0670', "aria-hidden": "true" }, "*"), hAsync("span", { key: '6d3c6f3af5a06c5a1ee2245240cb3fbbef6cf9a8', class: "sr-only" }, "required")))));
|
|
11594
11871
|
}
|
|
11595
11872
|
static get style() { return EdsInputLabelStyle0; }
|
|
11596
11873
|
static get cmpMeta() { return {
|
|
@@ -11656,7 +11933,7 @@ class EdsInputRange {
|
|
|
11656
11933
|
return this.inputElement;
|
|
11657
11934
|
}
|
|
11658
11935
|
render() {
|
|
11659
|
-
return (hAsync("div", { key: '
|
|
11936
|
+
return (hAsync("div", { key: 'c4ce20af554533837b8fc3f7bf69bd649e26b574', class: "relative flex flex-col items-start" }, hAsync("input", { key: '924b247fd81481e648bbf44fec22185284014254', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), hAsync("p", { key: 'a3acfa464938748480e259cac4376a2be3512e6e', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
11660
11937
|
}
|
|
11661
11938
|
get el() { return getElement(this); }
|
|
11662
11939
|
static get watchers() { return {
|
|
@@ -11751,7 +12028,7 @@ class EdsInputSearch {
|
|
|
11751
12028
|
return this.inputElement;
|
|
11752
12029
|
}
|
|
11753
12030
|
render() {
|
|
11754
|
-
return (hAsync("div", { key: '
|
|
12031
|
+
return (hAsync("div", { key: 'b1232c04e55c9f0bd7b864271ca855a3de242a73', class: "relative flex items-center" }, hAsync("eds-icon-wrapper", { key: '67e51a49b994fc00cb48f2b55f54217097f4d837', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), hAsync("input", { key: 'a6526f68a35145631254e4a0380a1298242c592e', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
|
|
11755
12032
|
//onInput={this.onInput}
|
|
11756
12033
|
onChange: this.onChange })));
|
|
11757
12034
|
}
|
|
@@ -11805,12 +12082,12 @@ class EdsInputSelect {
|
|
|
11805
12082
|
const selectId = this.inputId || this.name;
|
|
11806
12083
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11807
12084
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11808
|
-
return (hAsync("div", { key: '
|
|
12085
|
+
return (hAsync("div", { key: 'b28b21c38ed5848cf08c0bc626f4ce32eddfb775', class: "relative" }, hAsync("select", { key: '727f578d43cf12568d3d3b35548a30972fc46300', id: selectId, name: this.name, class: {
|
|
11809
12086
|
input: true,
|
|
11810
12087
|
'input-error': this.error,
|
|
11811
12088
|
'px-4': true,
|
|
11812
12089
|
'py-2': true
|
|
11813
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
12090
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '9283f69f3c723d65243d8f38b92ee2fcd16d187e', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (hAsync("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), hAsync("span", { key: '63a0a9fc049f10141697028195aa28abb8d246f2', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, hAsync("eds-icon-wrapper", { key: 'aa756ea1d279a03ca7919518a15cd63b368a20a0', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
11814
12091
|
}
|
|
11815
12092
|
static get cmpMeta() { return {
|
|
11816
12093
|
"$flags$": 0,
|
|
@@ -12071,7 +12348,7 @@ class EdsLink {
|
|
|
12071
12348
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12072
12349
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12073
12350
|
: '';
|
|
12074
|
-
return (hAsync("a", { key: '
|
|
12351
|
+
return (hAsync("a", { key: 'c09fd68443e1c98a1bfb679b669f9fecfb349548', class: `${classes || ''} ${this.extraClass || ''}`, href: isInteractive ? this.url : undefined, target: this.external && isInteractive ? '_blank' : undefined, rel: this.external && isInteractive ? 'noopener noreferrer' : undefined, tabIndex: isInteractive ? 0 : -1, "aria-label": isIconOnly ? this.ariaLabel || 'Link' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.current ? 'page' : undefined, role: this.disabled ? 'link' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, hAsync("span", { key: '5bf88be39965ca8693daa611b4ca9a85cefb30d3', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && hAsync("span", { key: 'd92b36812200d809cbccfd9da7f2387a7de80699', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
12075
12352
|
}
|
|
12076
12353
|
get el() { return getElement(this); }
|
|
12077
12354
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12179,7 +12456,7 @@ class EdsLogo {
|
|
|
12179
12456
|
}
|
|
12180
12457
|
render() {
|
|
12181
12458
|
const logoContent = this.getLogo();
|
|
12182
|
-
return (hAsync("a", { key: '
|
|
12459
|
+
return (hAsync("a", { key: '550cb4d73702a6a7053adfb5ebe67ff4201e98ad', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, hAsync("div", { key: '141b0faa05a2d51d3ca97242aa910e53e910ad9d', innerHTML: logoContent })));
|
|
12183
12460
|
}
|
|
12184
12461
|
get el() { return getElement(this); }
|
|
12185
12462
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12329,7 +12606,7 @@ class EdsMatomoNotice {
|
|
|
12329
12606
|
}; }
|
|
12330
12607
|
}
|
|
12331
12608
|
|
|
12332
|
-
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-
|
|
12609
|
+
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999991{z-index:9999991}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:min-w-\\[500px\\]{width:500px}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";
|
|
12333
12610
|
var EdsModalStyle0 = edsModalCss;
|
|
12334
12611
|
|
|
12335
12612
|
/**
|
|
@@ -12454,9 +12731,9 @@ class EdsModal {
|
|
|
12454
12731
|
render() {
|
|
12455
12732
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12456
12733
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12457
|
-
return (hAsync("div", { key: '
|
|
12734
|
+
return (hAsync("div", { key: 'e0f35ad87e3b21b98d8d37640f660f2fd490d748', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (hAsync("div", { key: 'cd0bc54ff3e25545709c26f19b2a30f838423250', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
12458
12735
|
,
|
|
12459
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12736
|
+
onClick: () => this.close() })), hAsync("div", { key: '314c45094d1f3b7d1b725341a3294fdca9732a26', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, hAsync("div", { key: '8401bca8601d7681d641c04d16a4efe7ba1a4a9f', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, hAsync("span", { key: '9a761bf7dc2a97d192a0d280533e6bbcba1871d2', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), hAsync("eds-button", { key: '631a15d8b010215d68243bcd43ec5c45899474bf', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), hAsync("div", { key: '6718fd42a10f6f861fb910e1b32d42607cf8b7bf', class: "pt-8 px-20 py-20" }, hAsync("slot", { key: 'ac9289dd32dcd985d79c882cddb3203b57f42101' })))));
|
|
12460
12737
|
}
|
|
12461
12738
|
get el() { return getElement(this); }
|
|
12462
12739
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12547,12 +12824,12 @@ class EdsNps {
|
|
|
12547
12824
|
render() {
|
|
12548
12825
|
const count = this.max - this.min + 1;
|
|
12549
12826
|
//onst fallback = 0;
|
|
12550
|
-
return (hAsync("div", { key: '
|
|
12827
|
+
return (hAsync("div", { key: '51e0d272693fd42d1f239f8498d9a5744dead8d7', class: "eds-nps" }, hAsync("eds-input-label", { key: 'f9d3b65985e221f9608da3aba22cc1dc4dd54417', id: "nps-question", name: "nps-question", label: this.question }), hAsync("div", { key: '00b22eff70fd1dd3d210e17aaef5df2057f99bb7', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
|
|
12551
12828
|
const val = this.min + i;
|
|
12552
12829
|
const isSelected = val === this.selectedValue;
|
|
12553
12830
|
const tabIndex = isSelected ? 0 : -1;
|
|
12554
12831
|
return (hAsync("div", { class: "grid-col-span-1", key: val }, hAsync("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
|
|
12555
|
-
})), hAsync("div", { key: '
|
|
12832
|
+
})), hAsync("div", { key: '7289bd6476a2080be3c02011240e2493b84079e5', class: "flex justify-between mt-8" }, hAsync("span", { key: 'ebfcebd9aa3d11cf298e44987debd8edef1f6e40', class: "f-ui-04 text-light ml-4" }, this.leftLabel), hAsync("span", { key: '002f9878b267439af9f83f9ffd1b52eaef46b929', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
12556
12833
|
}
|
|
12557
12834
|
get el() { return getElement(this); }
|
|
12558
12835
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12824,7 +13101,7 @@ class EdsPagination {
|
|
|
12824
13101
|
}
|
|
12825
13102
|
render() {
|
|
12826
13103
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12827
|
-
return (hAsync("div", { key: '
|
|
13104
|
+
return (hAsync("div", { key: 'bf34cb68555555ef984592b261929cfb5ef93048' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: '47b8034e6fd839151cdaff04d4df43fec520ce40', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, hAsync("span", { key: 'd9d340393777b7b6e808fa21d38f691f1002b363', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (hAsync("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, hAsync("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, hAsync("li", { class: "mr-auto" }, this.useButtons ? (hAsync("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, hAsync("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
|
|
12828
13105
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12829
13106
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12830
13107
|
}
|
|
@@ -13031,7 +13308,7 @@ class EdsProgressBar {
|
|
|
13031
13308
|
]
|
|
13032
13309
|
.filter(Boolean)
|
|
13033
13310
|
.join(' ');
|
|
13034
|
-
return (hAsync("div", { key: '
|
|
13311
|
+
return (hAsync("div", { key: '6a0e7cb42770cecd023f07cd26a3e2716a9c9905', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, hAsync("div", { key: '854743f0fc1b916ec24c7e657349871f2175fc64', class: fillClasses, style: { width: `${progressValue}%` } }), hAsync("div", { key: '74d46ff06e9b41d81563b49c1939a989e32877d5', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, hAsync("span", { key: '0c5925f73934b71e96c6d006c4f7b3a21d144b74', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
13035
13312
|
}
|
|
13036
13313
|
static get style() { return EdsProgressBarStyle0; }
|
|
13037
13314
|
static get cmpMeta() { return {
|
|
@@ -13114,7 +13391,7 @@ class EdsRating {
|
|
|
13114
13391
|
this.onSelect(next);
|
|
13115
13392
|
}
|
|
13116
13393
|
render() {
|
|
13117
|
-
return (hAsync("div", { key: '
|
|
13394
|
+
return (hAsync("div", { key: '764b3b37545e97f028423fd5760b882e6151f767', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
13118
13395
|
const starRating = index + 1;
|
|
13119
13396
|
const isSelected = starRating <= this.selectedRating;
|
|
13120
13397
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -13164,7 +13441,7 @@ class EdsSectionCore {
|
|
|
13164
13441
|
}
|
|
13165
13442
|
render() {
|
|
13166
13443
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13167
|
-
return (hAsync(TagType, { key: '
|
|
13444
|
+
return (hAsync(TagType, { key: '4765a07e798f1a622c25ec145c31345b27e1815d' }, hAsync("eds-section-heading", { key: 'a320ac532863eaabbc1901ab5d9e9d0c14ae7556', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '8de34d1949c0a7d0d83f977d18d36f435444401d' })));
|
|
13168
13445
|
}
|
|
13169
13446
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13170
13447
|
static get cmpMeta() { return {
|
|
@@ -13219,12 +13496,12 @@ class EdsSectionHeading {
|
|
|
13219
13496
|
render() {
|
|
13220
13497
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13221
13498
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13222
|
-
return (hAsync(TagType, { key: '
|
|
13499
|
+
return (hAsync(TagType, { key: '960224968ba731050d2b208a07c1faddc386746b', class: {
|
|
13223
13500
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13224
13501
|
container: this.withContainer,
|
|
13225
13502
|
'pt-48': this.spacingLarge,
|
|
13226
13503
|
'pt-28': !this.spacingLarge
|
|
13227
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13504
|
+
} }, hAsync(HeadingTag, { key: 'fc93452bfe1bac130654a187d7d42ee18f273147', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13228
13505
|
}
|
|
13229
13506
|
static get cmpMeta() { return {
|
|
13230
13507
|
"$flags$": 0,
|
|
@@ -13298,7 +13575,7 @@ class EdsSocialNetworks {
|
|
|
13298
13575
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13299
13576
|
*/
|
|
13300
13577
|
render() {
|
|
13301
|
-
return (hAsync("nav", { key: '
|
|
13578
|
+
return (hAsync("nav", { key: '907adc08d4e02f34994a057146a60b734d6ab81b', "aria-label": "Social media" }, hAsync("p", { key: 'a3620851f2e31d662a812ac74e831f023d2646a4', class: "f-ui-02" }, this.heading), hAsync("ul", { key: 'b8fece03b5ed995a9dba78cf0445a4eb46787bdc', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (hAsync("li", { key: index }, hAsync("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": `EBRAINS on ${network.label}`, url: network.url, icon: network.icon, intent: "strong" })))))));
|
|
13302
13579
|
}
|
|
13303
13580
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13304
13581
|
static get cmpMeta() { return {
|
|
@@ -13389,7 +13666,7 @@ class EdsSpinner {
|
|
|
13389
13666
|
alignItems: 'center',
|
|
13390
13667
|
justifyContent: 'center'
|
|
13391
13668
|
};
|
|
13392
|
-
return (hAsync(Host, { key: '
|
|
13669
|
+
return (hAsync(Host, { key: 'dbf06a1430e3a69314ec016937a9b3ba89229353' }, hAsync("div", { key: '12a51b0eed154fd2c6b6ae4ce586630a8f61164a', class: "spinner-overlay", style: overlayStyle }, hAsync("span", { key: '0e63b80c45efec7b226b5f4277fe00e4f7bc4f1b', class: "spinner", style: spinnerStyle }), this.message && hAsync("p", { key: '8625d4589ec26c9513d1dc7a53fa17b9874fcf3c', class: "f-body-01" }, this.message))));
|
|
13393
13670
|
}
|
|
13394
13671
|
static get style() { return EdsSpinnerStyle0; }
|
|
13395
13672
|
static get cmpMeta() { return {
|
|
@@ -13473,7 +13750,7 @@ class EdsSplashScreen {
|
|
|
13473
13750
|
}; }
|
|
13474
13751
|
}
|
|
13475
13752
|
|
|
13476
|
-
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}";
|
|
13753
|
+
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}";
|
|
13477
13754
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13478
13755
|
|
|
13479
13756
|
class EdsSteps {
|
|
@@ -13483,9 +13760,26 @@ class EdsSteps {
|
|
|
13483
13760
|
this.finished = createEvent(this, "finished", 7);
|
|
13484
13761
|
this.next = createEvent(this, "next", 7);
|
|
13485
13762
|
this.back = createEvent(this, "back", 7);
|
|
13763
|
+
this.handleTitleClick = (index) => {
|
|
13764
|
+
// 1) If clicking the current title, keep your existing toggle behavior
|
|
13765
|
+
if (index === this.activeStep) {
|
|
13766
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13767
|
+
this.step.emit(this.activeStep);
|
|
13768
|
+
return;
|
|
13769
|
+
}
|
|
13770
|
+
// 2) In linear mode, block jumping *forward* when current step is gated
|
|
13771
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13772
|
+
if (forwardBlocked) {
|
|
13773
|
+
return;
|
|
13774
|
+
} // do nothing when Next/Finish would be disabled
|
|
13775
|
+
// 3) Allow jumping back or forward when not gated
|
|
13776
|
+
this.activeStep = index;
|
|
13777
|
+
this.step.emit(this.activeStep);
|
|
13778
|
+
};
|
|
13486
13779
|
this.handleNext = () => {
|
|
13487
13780
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13488
13781
|
if (this.activeStep >= lastIndex) {
|
|
13782
|
+
this.activeStep = -1;
|
|
13489
13783
|
this.finished.emit();
|
|
13490
13784
|
return;
|
|
13491
13785
|
}
|
|
@@ -13555,21 +13849,35 @@ class EdsSteps {
|
|
|
13555
13849
|
? !!this.disableNext[index] // per-step
|
|
13556
13850
|
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13557
13851
|
}
|
|
13558
|
-
/** Render the semantic heading element */
|
|
13559
|
-
renderHeading(title) {
|
|
13852
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13853
|
+
renderHeading(title, index) {
|
|
13560
13854
|
const Tag = this.headingLevel;
|
|
13561
|
-
|
|
13855
|
+
if (this.type === 'linear') {
|
|
13856
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13857
|
+
const onKey = (e) => {
|
|
13858
|
+
if (forwardBlocked) {
|
|
13859
|
+
return;
|
|
13860
|
+
}
|
|
13861
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
13862
|
+
e.preventDefault();
|
|
13863
|
+
this.handleTitleClick(index);
|
|
13864
|
+
}
|
|
13865
|
+
};
|
|
13866
|
+
const isOpen = this.activeStep === index;
|
|
13867
|
+
return (hAsync(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
13868
|
+
}
|
|
13869
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13562
13870
|
}
|
|
13563
13871
|
render() {
|
|
13564
13872
|
const steps = this.parsedSteps;
|
|
13565
13873
|
if (this.type === 'linear') {
|
|
13566
13874
|
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13567
13875
|
const isLast = index === steps.length - 1;
|
|
13568
|
-
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16" }, 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}` })))));
|
|
13876
|
+
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13569
13877
|
})));
|
|
13570
13878
|
}
|
|
13571
13879
|
// Static: no navigation buttons
|
|
13572
|
-
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), hAsync("div", { class: "content" }, 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 }))))))));
|
|
13880
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13573
13881
|
}
|
|
13574
13882
|
get el() { return getElement(this); }
|
|
13575
13883
|
static get watchers() { return {
|
|
@@ -13595,7 +13903,7 @@ class EdsSteps {
|
|
|
13595
13903
|
}; }
|
|
13596
13904
|
}
|
|
13597
13905
|
|
|
13598
|
-
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}";
|
|
13906
|
+
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}";
|
|
13599
13907
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13600
13908
|
|
|
13601
13909
|
class EdsStepsV2 {
|
|
@@ -13605,14 +13913,29 @@ class EdsStepsV2 {
|
|
|
13605
13913
|
this.finished = createEvent(this, "finished", 7);
|
|
13606
13914
|
this.next = createEvent(this, "next", 7);
|
|
13607
13915
|
this.back = createEvent(this, "back", 7);
|
|
13916
|
+
this.handleTitleClick = (index) => {
|
|
13917
|
+
// If clicking the same title, keep your existing toggle behavior
|
|
13918
|
+
if (index === this.activeStep) {
|
|
13919
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13920
|
+
this.step.emit(this.activeStep);
|
|
13921
|
+
return;
|
|
13922
|
+
}
|
|
13923
|
+
// Block *forward* jumps when progression is gated by disableNext (boolean)
|
|
13924
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
|
|
13925
|
+
if (forwardBlocked) {
|
|
13926
|
+
return;
|
|
13927
|
+
}
|
|
13928
|
+
// Allow back (or forward when not gated)
|
|
13929
|
+
this.activeStep = index;
|
|
13930
|
+
this.step.emit(this.activeStep);
|
|
13931
|
+
};
|
|
13608
13932
|
this.handleNext = () => {
|
|
13609
13933
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13610
13934
|
if (this.activeStep >= lastIndex) {
|
|
13611
|
-
// Finish
|
|
13612
13935
|
this.finished.emit();
|
|
13936
|
+
this.activeStep = -1; // collapse last step
|
|
13613
13937
|
return;
|
|
13614
13938
|
}
|
|
13615
|
-
// Next
|
|
13616
13939
|
const target = this.activeStep + 1;
|
|
13617
13940
|
this.next.emit(target);
|
|
13618
13941
|
if (!this.disableNext) {
|
|
@@ -13683,16 +14006,33 @@ class EdsStepsV2 {
|
|
|
13683
14006
|
get parsedSteps() {
|
|
13684
14007
|
return parseData(this.steps);
|
|
13685
14008
|
}
|
|
14009
|
+
isNextDisabledForCurrent() {
|
|
14010
|
+
return !!this.disableNext;
|
|
14011
|
+
}
|
|
13686
14012
|
/** Render the semantic heading element */
|
|
13687
|
-
renderHeading(title) {
|
|
14013
|
+
renderHeading(title, index) {
|
|
13688
14014
|
const Tag = this.headingLevel;
|
|
13689
|
-
|
|
14015
|
+
if (this.type === 'linear') {
|
|
14016
|
+
const isOpen = this.activeStep === index;
|
|
14017
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledForCurrent();
|
|
14018
|
+
const onKey = (e) => {
|
|
14019
|
+
if (forwardBlocked) {
|
|
14020
|
+
return;
|
|
14021
|
+
}
|
|
14022
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
14023
|
+
e.preventDefault();
|
|
14024
|
+
this.handleTitleClick(index);
|
|
14025
|
+
}
|
|
14026
|
+
};
|
|
14027
|
+
return (hAsync(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
14028
|
+
}
|
|
14029
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13690
14030
|
}
|
|
13691
14031
|
render() {
|
|
13692
14032
|
const steps = this.parsedSteps;
|
|
13693
|
-
return (hAsync("div", { key: '
|
|
14033
|
+
return (hAsync("div", { key: 'b486aa34dfab4902cd6569cc2ce228104ca536cd', class: this.articleClasses() }, this.imageSrc ? (hAsync("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, hAsync("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (hAsync("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, hAsync("div", { class: "p-24" }, hAsync("span", { class: "text-inverse f-heading-04 " }, this.message))))), hAsync("div", { key: 'e2a928ecb67caed4885c9e364621b422249610f1', class: "pb-20 px-8" }, this.type === 'linear' ? (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: index === 0 ? 'step' : 'step space-y-16', key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: index === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
|
|
13694
14034
|
// Static mode: show all steps with their content.
|
|
13695
|
-
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title), hAsync("div", { class: "content" }, 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 })))))))))));
|
|
14035
|
+
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
13696
14036
|
}
|
|
13697
14037
|
get el() { return getElement(this); }
|
|
13698
14038
|
static get watchers() { return {
|
|
@@ -13772,11 +14112,11 @@ class EdsSwitch {
|
|
|
13772
14112
|
: this.labelOff
|
|
13773
14113
|
: 'Toggle switch'
|
|
13774
14114
|
: undefined;
|
|
13775
|
-
return (hAsync("div", { key: '
|
|
14115
|
+
return (hAsync("div", { key: 'd73bf797be76e256e065ab8b4fbe68a44802d3f1', class: "switch-container" }, this.labelOff && (hAsync("span", { key: 'f4897e3d9948358a82bd61ea26c86e0d2eba81b5', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), hAsync("button", { key: 'a01753fce0fedbf8a25d2cd64c662da8e69fef95', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
|
|
13776
14116
|
switch: true,
|
|
13777
14117
|
'switch--checked': this.checked,
|
|
13778
14118
|
'switch--disabled': this.disabled
|
|
13779
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
14119
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: 'eee315ce803b246cbe73e9d42635cbaa775febdb', class: "switch-handle" })), this.labelOn && (hAsync("span", { key: 'f1229ffea8041dea2237a032292a4465fc76e216', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
13780
14120
|
}
|
|
13781
14121
|
get el() { return getElement(this); }
|
|
13782
14122
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -14030,7 +14370,7 @@ class EdsTable {
|
|
|
14030
14370
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
14031
14371
|
const paginatedRows = this.getPaginatedRows();
|
|
14032
14372
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
14033
|
-
return (hAsync("div", { key: '
|
|
14373
|
+
return (hAsync("div", { key: '0c986dec22a52676b110fad1f7f82ef792da796e' }, this.searchEnabled && (hAsync("div", { key: '855c5c3d6c2b86e75a210c0296524bc8029e37f2' }, hAsync("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: '62b18340bbf992dba888c2d24ff306ada8a1a985', class: "mt-20" }, hAsync("table", { key: '656dd0dd7f99611c2bd9beea4cd1f37f57da1384', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '1278ea89f588aa52c215c32bcc03c424e4501fed' }, hAsync("tr", { key: '186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14034
14374
|
var _a;
|
|
14035
14375
|
if (col === 'actions') {
|
|
14036
14376
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -14039,7 +14379,7 @@ class EdsTable {
|
|
|
14039
14379
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
14040
14380
|
}
|
|
14041
14381
|
return null;
|
|
14042
|
-
}))), hAsync("tbody", { key: '
|
|
14382
|
+
}))), hAsync("tbody", { key: 'b27bd372efe64469d2a5001dc6d5b464eb419217' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14043
14383
|
var _a;
|
|
14044
14384
|
if (col === 'actions') {
|
|
14045
14385
|
return (hAsync("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, hAsync("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
@@ -14054,7 +14394,7 @@ class EdsTable {
|
|
|
14054
14394
|
return (hAsync("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
|
|
14055
14395
|
}
|
|
14056
14396
|
return null;
|
|
14057
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14397
|
+
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: 'd442153f48c85c6de1a0752d1348d8814811faed', class: "mt-20" }, hAsync("eds-pagination", { key: '4c48c96eacb112002b0110e85dce0dab94350dfb', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
14058
14398
|
}
|
|
14059
14399
|
get hostEl() { return getElement(this); }
|
|
14060
14400
|
static get watchers() { return {
|
|
@@ -14265,12 +14605,12 @@ class EdsTabs {
|
|
|
14265
14605
|
}
|
|
14266
14606
|
}
|
|
14267
14607
|
render() {
|
|
14268
|
-
return (hAsync("div", { key: '
|
|
14608
|
+
return (hAsync("div", { key: 'bab7b3d6a9e6e66ab6476827ecc06a3e3c7244be', id: `${this.identifier}` }, hAsync("div", { key: 'e20639e1842936b6c1fe24b19ca7f94ccc09d18f', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, hAsync("nav", { key: 'e3f4e385e1bfb1f5abc75697697ab9a6a8124b6b', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
14269
14609
|
const TabComponent = 'button';
|
|
14270
14610
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14271
14611
|
const isActive = index === this.activeIndex;
|
|
14272
14612
|
return (hAsync(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
|
|
14273
|
-
}))), hAsync("div", { key: '
|
|
14613
|
+
}))), hAsync("div", { key: 'f958fca5abaeeba0b6fcc900b91fa1309508dc57', class: "tab-panels" }, this.parsedTabs.map((_, index) => (hAsync("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, hAsync("slot", { name: `panel-${index}` })))))));
|
|
14274
14614
|
}
|
|
14275
14615
|
get el() { return getElement(this); }
|
|
14276
14616
|
static get watchers() { return {
|
|
@@ -14333,7 +14673,7 @@ class EdsTag {
|
|
|
14333
14673
|
}
|
|
14334
14674
|
render() {
|
|
14335
14675
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14336
|
-
return hAsync("span", { key: '
|
|
14676
|
+
return hAsync("span", { key: 'a00f436391013091c78f15bc53d91b0b01d8f4bb', class: classes }, this.label);
|
|
14337
14677
|
}
|
|
14338
14678
|
static get style() { return EdsTagStyle0; }
|
|
14339
14679
|
static get cmpMeta() { return {
|
|
@@ -14395,7 +14735,7 @@ class EdsTimeline {
|
|
|
14395
14735
|
}
|
|
14396
14736
|
}
|
|
14397
14737
|
render() {
|
|
14398
|
-
return (hAsync("div", { key: '
|
|
14738
|
+
return (hAsync("div", { key: '32a281ea95b422dce623838fb46b2baf2362618d', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '8709096bd0e6826888ded5656a68e88a60229927', class: "relative" }, hAsync("div", { key: '41fab313fc2d44e63a5b83b90c24650e8d8de74e', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: '8b386581105a89c677fe374e8248f67bf3ec07cd', class: "space-y-16" }, this.parsedEvents.map((event, index) => (hAsync("div", { class: "relative flex" }, hAsync("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
14399
14739
|
? [{ label: 'completed', style: 'accent' }]
|
|
14400
14740
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), hAsync("div", { class: "flex items-center justify-center relative" }, event.completed ? (hAsync("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (hAsync("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), hAsync("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
14401
14741
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14569,7 +14909,7 @@ class EdsToastManager {
|
|
|
14569
14909
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14570
14910
|
}
|
|
14571
14911
|
render() {
|
|
14572
|
-
return (hAsync("div", { key: '
|
|
14912
|
+
return (hAsync("div", { key: '52a933209ce89505ae72ab7f300fd052d03200ed', class: "toast-container" }, this.toasts.map((t) => (hAsync("div", { key: t.id }, hAsync("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
14573
14913
|
}
|
|
14574
14914
|
get hostElement() { return getElement(this); }
|
|
14575
14915
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14608,7 +14948,7 @@ class EdsTooltip {
|
|
|
14608
14948
|
}
|
|
14609
14949
|
render() {
|
|
14610
14950
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14611
|
-
return (hAsync("div", { key: '
|
|
14951
|
+
return (hAsync("div", { key: 'c2ae55fbf9fefb2748db770d98f12f679022a416', class: "relative w-full inline-block group" }, hAsync("slot", { key: '5151e3269cb39d3caba960eee7155a3d5171c8cd' }), hAsync("div", { key: '8956683d968d77d88133dc231975d258aca3d1d3', class: `absolute ${positionClass}
|
|
14612
14952
|
rounded-xs bg-strongest text-inverse
|
|
14613
14953
|
f-ui-03-light pointer-events-none
|
|
14614
14954
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -14672,7 +15012,7 @@ class EdsTrl {
|
|
|
14672
15012
|
Application: { format: 'code' },
|
|
14673
15013
|
'Current TRL Stage': { format: 'text' }
|
|
14674
15014
|
};
|
|
14675
|
-
return (hAsync("div", { key: '
|
|
15015
|
+
return (hAsync("div", { key: 'f83fab1ad31bef37b5239c67e635d26d22714e3f', class: "container mx-auto px-4 py-8" }, hAsync("eds-table", { key: '594b47098606f772f043da8171a11d5dcbb0513f', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
14676
15016
|
}
|
|
14677
15017
|
static get cmpMeta() { return {
|
|
14678
15018
|
"$flags$": 0,
|
|
@@ -14703,7 +15043,9 @@ class EdsUser {
|
|
|
14703
15043
|
};
|
|
14704
15044
|
this.user = undefined;
|
|
14705
15045
|
this.intent = 'tertiary';
|
|
15046
|
+
this.dropdownLabel = 'Account';
|
|
14706
15047
|
this.expanded = false;
|
|
15048
|
+
this.shortMode = false;
|
|
14707
15049
|
}
|
|
14708
15050
|
/**
|
|
14709
15051
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14727,10 +15069,15 @@ class EdsUser {
|
|
|
14727
15069
|
const initials = `${((_a = user.given_name) === null || _a === void 0 ? void 0 : _a.charAt(0)) || ''}${((_b = user.family_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}`.toUpperCase();
|
|
14728
15070
|
return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
|
|
14729
15071
|
}
|
|
15072
|
+
async closeDropdown() {
|
|
15073
|
+
var _a;
|
|
15074
|
+
await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
|
|
15075
|
+
this.expanded = false;
|
|
15076
|
+
}
|
|
14730
15077
|
render() {
|
|
14731
15078
|
const user = this.parsedUser;
|
|
14732
15079
|
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
14733
|
-
return (hAsync("div", { key: '
|
|
15080
|
+
return (hAsync("div", { key: '68836f7fc63986d1ef1e5d1775258358db3418c6', class: "block" }, hAsync("div", { key: '3b5be3d2d700ce3e1a800c33adde9b55bb07fda0', class: "flex items-center" }, hAsync("eds-dropdown", { key: 'f3f97f19aac315031f428d190f1e143429bcd860', ref: (el) => (this.dropdownEl = el), label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, hAsync("div", { key: '6a6bccaa4e8b0e68460ac50e3edc8d9fc3612e00', class: "min-w-[280px] p-8" }, hAsync("div", { key: '97a9b4d9c0e0873162103461a542cf401be06c2f', class: "flex gap-x-16", "data-dropdown-no-close": true }, hAsync("eds-avatar", { key: 'f89cee9f0ad6549e60ebb3ade437d1dd0c2e6eb6', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), hAsync("div", { key: 'b9fc649a35280ecebe57955b85844f3a78c4db04', class: "max-w-full" }, user.name && hAsync("p", { key: 'b2914fca3ddabc4d12fa2c6cee83a98505fd110a', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && hAsync("p", { key: '68ec348104e36b6fbf9c5fc47e254f3cfc4ca85b', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && hAsync("p", { key: '3b7720aaa30597a49acf61b6c3ff0c1f1cc3bfd8', class: "f-ui-03-light text-light mt-4" }, user.email))), hAsync("div", { key: '28cdba1fb361b84e9cb0a7ce904ec39cf13d022e', class: "text-default flex w-full flex-col gap-y-8" }, hAsync("slot", { key: 'c1cddbb24c72749c4ea07e2e0311da61af6e9886' })))))));
|
|
14734
15081
|
}
|
|
14735
15082
|
get hostEl() { return getElement(this); }
|
|
14736
15083
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14740,7 +15087,10 @@ class EdsUser {
|
|
|
14740
15087
|
"$members$": {
|
|
14741
15088
|
"user": [1025],
|
|
14742
15089
|
"intent": [1],
|
|
14743
|
-
"
|
|
15090
|
+
"dropdownLabel": [1, "dropdown-label"],
|
|
15091
|
+
"expanded": [32],
|
|
15092
|
+
"shortMode": [32],
|
|
15093
|
+
"closeDropdown": [64]
|
|
14744
15094
|
},
|
|
14745
15095
|
"$listeners$": undefined,
|
|
14746
15096
|
"$lazyBundleId$": "-",
|
|
@@ -14783,7 +15133,7 @@ class GradientPrimaryPalette {
|
|
|
14783
15133
|
];
|
|
14784
15134
|
}
|
|
14785
15135
|
render() {
|
|
14786
|
-
return (hAsync("ul", { key: '
|
|
15136
|
+
return (hAsync("ul", { key: 'd32c7b63fb32b92f89a9220e5cd5ff8164865913', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14787
15137
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14788
15138
|
} }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16" }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
14789
15139
|
}
|
|
@@ -14856,19 +15206,19 @@ class GradientSecondaryPalette {
|
|
|
14856
15206
|
];
|
|
14857
15207
|
}
|
|
14858
15208
|
render() {
|
|
14859
|
-
return (hAsync("div", { key: '
|
|
15209
|
+
return (hAsync("div", { key: 'f38bc0f352adeca4bb3c12952d8c7e2431d93874' }, hAsync("ul", { key: '9e00842d3198dace6812197b1ced7b776e3808f4', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'a1f77c93d7ff5de2ab38018278e47530951076cc', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '6abb51d7e4cbe6f48610009e65876cd41d8f435d', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14860
15210
|
background: this.colors[0].background
|
|
14861
|
-
} }, hAsync("div", { key: '
|
|
15211
|
+
} }, hAsync("div", { key: 'e7399fcf955836f47e90e1ab822abf2ec0c0ceae', class: "grid" }, hAsync("span", { key: 'fb245a27f7189381ee8103c21c61d0823c12b4c3', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '6dc6be165b89266e9b45153dc411ab5692e37ebe', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '196331f3cd83f67e3fbceddc669c0b4c10ad26d3', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'a3547fa7c138e87fa637ef7341dde49595a213e2', class: "grid" }, hAsync("span", { key: '73eee49a4fe2e3fe657dfb5a90b3f8cdd224eff2', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: '553c7eb15580455f77b8165bd8a0c8b397d46a4e', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: '1e1c3d2620ef2dac2cd1f7bea0fa99b01c6afcac', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14862
15212
|
background: this.colors[1].background
|
|
14863
|
-
} }, hAsync("div", { key: '
|
|
15213
|
+
} }, hAsync("div", { key: '1679cca6a6f80765ac163e076b26925065479ad8', class: "grid" }, hAsync("span", { key: '948c1931b138ccc0f8da013735cec94a2b8de513', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '5b7c535631725e8e72b309ce6686bad8b1b384f3', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'ac2bb8a8ebf23134ea273d99dfb35ae5c849b071', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3ce37f99d9dcc8e049553e9029c8f79bedcab049', class: "grid" }, hAsync("span", { key: 'a1c80f90ec26b79cce11e08a723aec38ba14eeec', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '6828dc88ff57a288317fd36c5ae798615c41e045', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '7b9f28a342ee184e4201e9b2c1a510be7cccdb79' }), hAsync("ul", { key: '8378f6a199ad85a7a4d0c116f1e18dac51f7f76b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'df24c01a7e221fec7eebe08deb1905b2fd211215', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'f0202fc57ba9e6efbab92274144ac109fced963f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14864
15214
|
background: this.colors[2].background
|
|
14865
|
-
} }, hAsync("div", { key: '
|
|
15215
|
+
} }, hAsync("div", { key: '49111de3251d10ae344587612cff95ac2c61bbfc', class: "grid" }, hAsync("span", { key: 'a4f8b4d521204cf2e9ed34fba25105a31bcf3a2a', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '577de0d99f7f5e052ca9528ba5543070439ec1c1', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'b98a82856c805c3bd56d5e8c581c09c640e146a1', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1c53a8f62d1facc76863611d640938469e6647ce', class: "grid" }, hAsync("span", { key: 'e8e4bdb60c34bc9af133195192afd698ab7ae98e', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7d23875dce9d05f4deca3518006aac4b4baff061', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '84836d849380828bac1a05b3b1dd3f89a0f063da', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14866
15216
|
background: this.colors[3].background
|
|
14867
|
-
} }, hAsync("div", { key: '
|
|
15217
|
+
} }, hAsync("div", { key: '0034acff755db241107d6bdf205f15b048ef2073', class: "grid" }, hAsync("span", { key: '59c0066f512154c4c8dc75e929d5f84008bf08c7', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '83f2adc0b2adabc37b53859232b75f1b3c957051', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'dc45ae65d0b116dcd25a0da752034f5527421a82', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3df3bda4c749e858cd9e484906677bbd99fa67c5', class: "grid" }, hAsync("span", { key: '0730784062ec6c4cb548b1044031361d2cd939a1', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '7a6ae957274e730b25727671ef43feff3af1fd63', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: '6d18529316515757e95dea2820861cb5d4fdd3b7' }), hAsync("ul", { key: '8f7a04a63e9846e6e220ee0ccd89a89901b925d8', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '32bcb0d0e33b06e5a4f9c2da67ac904d52df5959', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '3f38bd0f5b0d750daa0c6b80493d6ff9b249ebaf', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14868
15218
|
background: this.colors[4].background
|
|
14869
|
-
} }, hAsync("div", { key: '
|
|
15219
|
+
} }, hAsync("div", { key: '0171242f6197b3fb47d12e49837f28361a13c592', class: "grid" }, hAsync("span", { key: '1331a3a2234f83264efc62d4af972968247c3455', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '9caaef171b78feed4f2d6a5e7a4d81ffd1a87faf', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'e4d152f94f03dea39e1a0a6284d448f545c5c1a1', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '173cb0da7a293350c8aa82f83fd0305b9db3bb74', class: "grid" }, hAsync("span", { key: 'fc5d2f93f3d5963c5da938f86c0147de99426b72', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: 'c679055a29a477f85829fc0d9af84b6f6dc7ca08', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: '694abc4966e365267fe4536f891445bc36937290', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14870
15220
|
background: this.colors[5].background
|
|
14871
|
-
} }, hAsync("div", { key: '
|
|
15221
|
+
} }, hAsync("div", { key: '6e51b6e4134b2ba71880b271b7dac46d57de772c', class: "grid" }, hAsync("span", { key: 'a9671b440a17417746d54cae8e7c0ee2208bbce1', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: '4dd3bf0d00389d1ca9cd1529d1b6bdf9acd6291b', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: 'dc8e6956da3d6c6d539c194e101f8fa88cf1f08a', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1cd9760de92ebbd5e0f1710140fe41ddad3aae29', class: "grid" }, hAsync("span", { key: 'eec5ff4dd0b743a9b9b8640e4078c4d695dbcc15', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: '00db45cedd939950df3e4cd2540d0b80d61bd4b1', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
14872
15222
|
}
|
|
14873
15223
|
static get cmpMeta() { return {
|
|
14874
15224
|
"$flags$": 0,
|
|
@@ -14931,11 +15281,11 @@ class GradientSupportPalette {
|
|
|
14931
15281
|
];
|
|
14932
15282
|
}
|
|
14933
15283
|
render() {
|
|
14934
|
-
return (hAsync("ul", { key: '
|
|
15284
|
+
return (hAsync("ul", { key: '8eefaf781527a438aa6f0dcbbb6a7bfdffd69d38', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '8492ff1b709fa7d20f76fd18d7e9aa2bbfee17eb', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '3775884ad3c2b78ac178dbd003779d968022c981', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: '94d75d01276a3e4e41781550450318dac8f220e4', class: "grid" }, hAsync("span", { key: '729bda27271b7df5e7ec05eff89ff6116539d4b0', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'cb4b6bd1e3bfab381047b7375e547c662a5d50de', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '43c5df7d9cac3753f4a3c5d81e081f76606a5797', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '98aee106b847f1321591cfbfa2d5c22d0e2b3c2f', class: "grid" }, hAsync("span", { key: 'a3789c31e43eb6887b298eb353fde2be9134dd79', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '7195d70eaf994b4d1d1eb9a2ec0b684d62289e75', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: '81654a5fb216096e9818033a2b857eb723c2d373', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'd7b5ff16686894d0b06d2a291f6e7ababd5bfb02', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: 'fdbd11809337e535e819c5ce18d7427ae31ee70e', class: "grid" }, hAsync("span", { key: 'f108c9afa0fa02356395792bd7dd4a8a4c872d02', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '1e359cd78d80db5040c4cdff4dea30dd9387cfb2', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '1969dd093129596136b67cb972bece4e1d295fca', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '6858e8847dc5ce5baf79874a207f02953f84651e', class: "grid" }, hAsync("span", { key: '9eb2a2cafb5f2be23142752d2a48b35d0b8ab0c9', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: 'cc0b17b803f00030b5a6d5dd0070c62031e21125', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: '1e58c33fe358f33c30f8935f9205ef9c3008f907', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '2fc8ba7c13678d30002f07eea50f14ae1138d2ee', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14935
15285
|
background: this.colors[2].background
|
|
14936
|
-
} }, hAsync("div", { key: '
|
|
15286
|
+
} }, hAsync("div", { key: '18c781274b5f5054b454c00a34b45cdda4848826', class: "grid" }, hAsync("span", { key: '28ef2ea60735401f0234cea519d9ecff8c4e2694', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '2da6879adfc3b5f4992d0b107e40cf02db7a25c1', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'c442dcf09f129891355a8a42b742c10333338e8b', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '9dffa371f8a1c3002c35634eb2fb487011c71f90', class: "grid" }, hAsync("span", { key: '65c50e09e5275ebf7d159228b9cbc07602667ba6', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7bb7a1a6a1988b2b65783ed792085e257703466b', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: 'cc69e3020f50b302b1e4f3d6b37477fb868f7906', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14937
15287
|
background: this.colors[3].background
|
|
14938
|
-
} }, hAsync("div", { key: '
|
|
15288
|
+
} }, hAsync("div", { key: 'c59d2d743b0fb9fe5796407df80a81be410be47d', class: "grid" }, hAsync("span", { key: 'bcf7f280d8e1a74dfe157a1c996a89cebcb42d40', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: 'dd7beff9e6336784ba7cb77692f6ac4ea42b8204', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '4bafc48fddad31a1c2a4e08cd0148c6df8f332ae', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'c1fe6efeec78fed5be26568e0ebea3b56d16f070', class: "grid" }, hAsync("span", { key: '930e80dbed784ddf4364be16649624118541e570', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '8b7357d66a1b47347df67abcda6107572cb019f9', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: 'dc86699c8029642eb73c4679a49d5ff844f2924c', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'dbfa8b4899292fec628dc410d70e0c306d0f378c', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: '2e3c528ed9efc681a09858e85230f5fdd36cf845', class: "grid" }, hAsync("span", { key: '4b607cdc825ba567d86f3536ec7bb1148e09d854', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: 'dda453cb7a8ebb420896e460802f7d917916ccd4', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: '8ae119f9f823401ebcf3020069e614e991052529', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1ac0ea0d52a00a7f8b45206bdd3d647ba221e429', class: "grid" }, hAsync("span", { key: '58c93b7dacd8a2766a8cb5d23c536a065ca64b22', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: '70359540a3662ba14dbd8c08e4033d5bcd4c1a0d', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
14939
15289
|
}
|
|
14940
15290
|
static get cmpMeta() { return {
|
|
14941
15291
|
"$flags$": 0,
|
|
@@ -14989,7 +15339,7 @@ class IncorrectUseOfColors {
|
|
|
14989
15339
|
registerInstance(this, hostRef);
|
|
14990
15340
|
}
|
|
14991
15341
|
render() {
|
|
14992
|
-
return (hAsync("div", { key: '
|
|
15342
|
+
return (hAsync("div", { key: '9822fa84b1af42bc1f1eb31bae9b60736f27c692', class: "container" }, hAsync("div", { key: 'c67d9626f5ceba5fcde0cb279fb9d15c73166cfb', class: "mb-8" }, hAsync("eds-alert", { key: '898d449b311306781b323968edb0c2d7e03b0d32', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), hAsync("div", { key: '2409916ecc2de685042d1f93f02d656270457a19', class: "flex" }, hAsync("div", { key: '305965230c45b879c68004ca985f8d6e9b4482ab', class: "w-full" }, hAsync("ul", { key: 'a66a5a76d3d1d7167b0655e7a1af9310655b9881', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'e962b2b3bff48395983243ac2cf877d03ced85b6', class: "w-full" }, hAsync("ul", { key: '38a2b41471334181fc3e70dd7eaf10b957bdaada', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
14993
15343
|
}
|
|
14994
15344
|
static get cmpMeta() { return {
|
|
14995
15345
|
"$flags$": 0,
|
|
@@ -15012,7 +15362,7 @@ class LogoSpace {
|
|
|
15012
15362
|
registerInstance(this, hostRef);
|
|
15013
15363
|
}
|
|
15014
15364
|
render() {
|
|
15015
|
-
return (hAsync("div", { key: '
|
|
15365
|
+
return (hAsync("div", { key: 'b07b6c2b9e042c3c330de470cf2e792285362a0f', class: "container" }, hAsync("ul", { key: '40cb4cca1a4b42026becc95a46a380e23ed77723', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'aabdf6b8bf59cd755976ae99b79dca074e904c71', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '4f3b6da2c7f238b814c8a8537d6246215e935a26', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), hAsync("li", { key: 'b8ee9f87dc5140b964f20600cad7ec65dc6c9837', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: 'ac4e8c0cdd8f2f206f9ead55806b32425279c8ee', class: "text-center mt-16" }, hAsync("p", { key: '0db3cdd9c348fa3855f995363fc3cd872b6da2c4', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), hAsync("eds-table", { key: '9bd39257f807324aa45013009ebbe08c1a8b2ee7', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), hAsync("li", { key: '27789915053632c4fa664363b4e2fbdd5524569c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
15016
15366
|
}
|
|
15017
15367
|
static get style() { return LogoSpaceStyle0; }
|
|
15018
15368
|
static get cmpMeta() { return {
|
|
@@ -15036,7 +15386,7 @@ class LogoVariationsHorizontal {
|
|
|
15036
15386
|
registerInstance(this, hostRef);
|
|
15037
15387
|
}
|
|
15038
15388
|
render() {
|
|
15039
|
-
return (hAsync("div", { key: '
|
|
15389
|
+
return (hAsync("div", { key: '148d0694cc666c2048a65f035e3b423f14721a24', class: "container" }, hAsync("ul", { key: '577efdbf7af11206706768435afcf949e704c16a', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'e280ee9020e2750a2f3637a01cf623ccc0b94bfe', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: 'a5be5fc2dae4b966722d0ad69510f6622882aa99', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: 'e20d0633cc5c1c6f61c8147d55b7dd228c774f99', class: "coloured" }, hAsync("eds-logo", { key: '2a5a4eea4c70fadfcaef15c5b2c498b833231603', type: "no-bg", href: "#" }))), hAsync("li", { key: '6da7cc2329e7abcccfe3d2a0f095320d33b6272e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '5dcb436091288a40213ad53fff116c0a18fd8626', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'e0f165856fb0a693ca2a655b5f6beb8f37810905', class: "bg-default" }, hAsync("eds-logo", { key: 'ca1d9b99e93b458c9a4c59389ade43db1aedd473', type: "black", href: "#" }))), hAsync("li", { key: '8ae1f94da858d44f7efa0d7c2c4d83b8e1780bf6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: 'dcd75bb1f4717a6d8b34f522c25b04a976bcbdea', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: '11f500da753124767502a09824007bef6586b445' }, hAsync("eds-logo", { key: '95ed147e3a5284960d5c740841620d622537cc3c', type: "color-white", href: "#" }))))));
|
|
15040
15390
|
}
|
|
15041
15391
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
15042
15392
|
static get cmpMeta() { return {
|
|
@@ -15068,7 +15418,7 @@ class LogoVariationsTabs {
|
|
|
15068
15418
|
}
|
|
15069
15419
|
}
|
|
15070
15420
|
render() {
|
|
15071
|
-
return hAsync("div", { key: '
|
|
15421
|
+
return hAsync("div", { key: '5e6042f51c956138d571256803766ef2497ca160', class: "container" }, this.renderContent());
|
|
15072
15422
|
}
|
|
15073
15423
|
static get cmpMeta() { return {
|
|
15074
15424
|
"$flags$": 0,
|
|
@@ -15095,7 +15445,7 @@ class LogoVariationsVertical {
|
|
|
15095
15445
|
this.type = undefined;
|
|
15096
15446
|
}
|
|
15097
15447
|
render() {
|
|
15098
|
-
return (hAsync("div", { key: '
|
|
15448
|
+
return (hAsync("div", { key: '33670ab1d0922b7ce5d561ae1bcb25d85cdf3ecb', class: "container" }, hAsync("ul", { key: '7b05bb7f6e1699766f6d0321762f0ef66ab3b306', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'f64a1ad98d1c126581283ed16b665dea3fa1d03e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '41c416c593cacad33a826c76e6617bc6c6b5b9e3', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '9bf761058eb7581b949af689a0341dc2a8b85b24', class: "mx-auto coloured w-[300px]" }, hAsync("eds-logo", { key: 'eb04b74cf4feb3054ba5b769fd7690281dbf768b', orientation: "vertical", type: "no-bg", href: "#" }))), hAsync("li", { key: '15eede1e668a9012de6ab03dde25b5e4c51605c6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '8d99d4f4caf4ef224fb691fdebfd3048075db0c0', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'f4b55a2fc4305075270e9e4a6149be5278fe3618', class: "mx-auto bg-default w-[300px]" }, hAsync("eds-logo", { key: '38ca84d79e788b92ce2489e19f35b8ba989313f2', orientation: "vertical", type: "black", href: "#" }))), hAsync("li", { key: 'e6193b54d8b8cda2dc44bce2b983af7e7f3db0b3', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '2564444f18acf01edd3caa3e4df06a0a54cad60a', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: '70db409bd6dfd47bb66cef38059a52a9b0556e14', class: "mx-auto w-[300px]" }, hAsync("eds-logo", { key: '567844257939403cee8d4ce76b84dfdc12df97d1', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
15099
15449
|
}
|
|
15100
15450
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15101
15451
|
static get cmpMeta() { return {
|
|
@@ -15122,7 +15472,7 @@ class LogoWrongUsage {
|
|
|
15122
15472
|
registerInstance(this, hostRef);
|
|
15123
15473
|
}
|
|
15124
15474
|
render() {
|
|
15125
|
-
return (hAsync("div", { key: '
|
|
15475
|
+
return (hAsync("div", { key: 'a5d22b7db9bf43fa54d7e0fe611b819e374b6f6b', class: "container" }, hAsync("ul", { key: 'a2d9ebad864822e00db5bb207caf599de80be433', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'ad449a11eb8e1404a47266adb9072efa0c182752', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '3f9ab867a20bc72e15c5403683d50b0f86c18727', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), hAsync("p", { key: '8a9ebdfd97d048e046adc85f182657c065d7c5e2', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), hAsync("li", { key: '621dc6459bd6934ada8cbbcb99e848464c6d7719', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: 'be8c7b7fc30111d6bd7e7803d4a47b58ab8275f9', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), hAsync("p", { key: '1e458e14065bc2f064c29f03e7047578837e8dbf', class: "f-ui-02 text-center" }, "Do not apply other colors")), hAsync("li", { key: '92f588b1b08e74ae6de62037c611cd2c07c2d0f6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '1a8b871c1887b96183efc5a884085cd627a5dd03', class: "mx-auto distorted logo", innerHTML: hLogoColor }), hAsync("p", { key: '2ca68cc09eac491203fec3d84b19623dfc1c0433', class: "f-ui-02 text-center" }, "Do not deform the logo")), hAsync("li", { key: 'ee43635fa2d0dff9b9a5ea76127f5a35d1863c2a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '3176d2dbec423d743b8d05c64d7a21088bf830a1', class: "mx-auto effects logo", innerHTML: hLogoColor }), hAsync("p", { key: '1148d744012e92f34ac48a2b69c3fb6451e4f844', class: "f-ui-02 text-center" }, "Do not apply effects")), hAsync("li", { key: 'acde874cf0fd644ec0edc7350fc038e0ae13719d', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '27b2b50f017142b1e9638baf1865fd804ba9121d', class: "mx-auto rotated logo", innerHTML: hLogoColor }), hAsync("p", { key: '28dfe52d02bdb82f29947227a9a9a699aabf82ef', class: "f-ui-02 text-center" }, "Do not rotate the logo")), hAsync("li", { key: 'e754250d250603022bb031e66e7fd8e8e0f04155', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '042817f8f946a10372439398e4f6dd3c0fc182f6', class: "mx-auto outlined logo", innerHTML: hLogoColor }), hAsync("p", { key: 'f5136df73757f3ebd3c954f3aa5f9e47d7907c64', class: "f-ui-02 text-center" }, "Do not apply outlines")), hAsync("li", { key: '6e30b4684ebe21136ddecef9e879024ce93206ad', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '29ceba568f002cf04a810546ac76ed4d4a0c63fd', class: "mx-auto" }, hAsync("div", { key: '53976603b457baf9d28f4216b2ef54284467ffd7', class: "bg-accent p-16" }, hAsync("div", { key: 'bdce208801ad76f3f8fd1639ca08b3a341ccf014', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: '97e656465d81823f22593dd8ec936dde966560e0', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
|
|
15126
15476
|
}
|
|
15127
15477
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15128
15478
|
static get cmpMeta() { return {
|
|
@@ -15166,7 +15516,7 @@ class SvgRepository {
|
|
|
15166
15516
|
icon: { format: 'svg' },
|
|
15167
15517
|
name: { format: 'bold' }
|
|
15168
15518
|
};
|
|
15169
|
-
return (hAsync("div", { key: '
|
|
15519
|
+
return (hAsync("div", { key: '9e4eb1306b8d43f5879b2e7c0ef0019f83c0b3b5', class: "full-width" }, hAsync("eds-table", { key: '3b6349562155ffed788587d39a82d0a2fb9798bb', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
15170
15520
|
}
|
|
15171
15521
|
get hostEl() { return getElement(this); }
|
|
15172
15522
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15423,7 +15773,7 @@ class TokenList {
|
|
|
15423
15773
|
render() {
|
|
15424
15774
|
// Check if `show` prop is provided; if not, display all sections
|
|
15425
15775
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15426
|
-
return (hAsync("section", { key: '
|
|
15776
|
+
return (hAsync("section", { key: 'db196307702df28bf9e2f7fb0b87298bf84baabb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15427
15777
|
// Only render sections that exist in `colors`
|
|
15428
15778
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15429
15779
|
}
|
|
@@ -15456,7 +15806,7 @@ class TokenRadii {
|
|
|
15456
15806
|
registerInstance(this, hostRef);
|
|
15457
15807
|
}
|
|
15458
15808
|
render() {
|
|
15459
|
-
return (hAsync("section", { key: '
|
|
15809
|
+
return (hAsync("section", { key: 'bdd584d53625299e4faa9a28f6f259bc5587b125', class: "w-full mt-28" }, hAsync("ul", { key: '3076e4efcca5749cc07e69df70ce2658d6186ec6', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, hAsync("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), hAsync("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
|
|
15460
15810
|
}
|
|
15461
15811
|
static get cmpMeta() { return {
|
|
15462
15812
|
"$flags$": 0,
|
|
@@ -15485,7 +15835,7 @@ class TokenRatios {
|
|
|
15485
15835
|
registerInstance(this, hostRef);
|
|
15486
15836
|
}
|
|
15487
15837
|
render() {
|
|
15488
|
-
return (hAsync("section", { key: '
|
|
15838
|
+
return (hAsync("section", { key: '83fc87fd64531611114fe47d977dc54b6af1d327', class: "w-full" }, hAsync("eds-section-core", { key: 'b0b72d4f387cd48f4905c68b9f05ac3058d359c1', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: 'af5677bb15a4ffb008fd90bdfdfb1b757a36e138', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
|
|
15489
15839
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15490
15840
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15491
15841
|
maxWidth: '300px'
|
|
@@ -15527,7 +15877,7 @@ class TokenShadows {
|
|
|
15527
15877
|
registerInstance(this, hostRef);
|
|
15528
15878
|
}
|
|
15529
15879
|
render() {
|
|
15530
|
-
return (hAsync("section", { key: '
|
|
15880
|
+
return (hAsync("section", { key: 'a2fbc57c2153391bc53b47a263488118ca3aa01a', class: "w-full mt-28" }, hAsync("ul", { key: 'e4e2d6cbc8d1510ede2b678b24ce8b34b838888f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, hAsync("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), hAsync("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
|
|
15531
15881
|
}
|
|
15532
15882
|
static get cmpMeta() { return {
|
|
15533
15883
|
"$flags$": 0,
|
|
@@ -15547,7 +15897,7 @@ class TokenSpacing {
|
|
|
15547
15897
|
registerInstance(this, hostRef);
|
|
15548
15898
|
}
|
|
15549
15899
|
render() {
|
|
15550
|
-
return (hAsync("div", { key: '
|
|
15900
|
+
return (hAsync("div", { key: '46cb6fe655e9f8b8688f44e2351f3992e8011b2a', class: "w-full" }, hAsync("ul", { key: '9d7205ee2e0b3b0386284dc282fcc5375c43ec26', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'b3e9d62bb934c1b413712b182cfdf015484db525', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '78c8a23dcacfd216a6159da8af3809607ef29702', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '92a2938c5bdcb38456d96077f78993c711bc789f', class: "spacing-sample m-16 bg-strong" }, hAsync("span", { key: '7738363bee7cc25863bec922f55224044af61b6e', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), hAsync("li", { key: '96c1f622b7e4136cebd53862b79bbc17ad484a25', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'ff4357650e10f9e7a61903c3c9f6a4f4d60d8c73', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'cd07be06a51604f81f2868786028066f834cd87d', class: "spacing-sample ml-64 bg-strong" }, hAsync("span", { key: 'ded579013d8765c7802862b57cf2bf7ae03f1b99', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: 'a8e244c95f027993755fa567d900ff88ed08669b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'e3662c064d089089ebb796aadede38bbd7ebe69d', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'f168cbeaec417b0eccd66ed60f2776bdffdb7bfb', class: "spacing-sample mt-32 bg-strong" }, hAsync("span", { key: '696ec848f217896ae3fc06bf07546fe735d6ccd8', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: '5e5d4a63fd7e28114a87dfa5789f5213b6c057f3', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '14cb262cc18f340e72a922dc793244c17fa9fb05', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '791781717dc851f2e174277c557212e7e5c15b7a', class: "spacing-sample p-32 bg-strong" }, hAsync("span", { key: 'd1df2d8f2520746e49ec9c85d8e17cf5569c4bc5', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), hAsync("li", { key: '312e2c71672a05cc54cd492297a1cdcb2b11a395', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '8cd16bfafd2345b68e50a46c08c7a8f2430ee6ef', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '8f7e910d8fc43b596b35f3e72a48646e9550e8ba', class: "spacing-sample pt-32 bg-strong" }, hAsync("span", { key: '509c712085a239a435fc11f8ea7a6c9c788be60c', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: 'b99c86cd7dd23e7c091dd2c70ec42133d9d2e2ef', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '0e61fb5d7bf779eddc16c9627d6ca0ff6cf702e1', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'e65eb20ca88e563ae43eb0c208feacf7e310870f', class: "spacing-sample pl-32 bg-strong" }, hAsync("span", { key: '2a40e6977caccb37173f60de613c1a72b02f6d3e', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
15551
15901
|
}
|
|
15552
15902
|
static get cmpMeta() { return {
|
|
15553
15903
|
"$flags$": 0,
|
|
@@ -15765,7 +16115,7 @@ class TokenTypography {
|
|
|
15765
16115
|
registerInstance(this, hostRef);
|
|
15766
16116
|
}
|
|
15767
16117
|
render() {
|
|
15768
|
-
return (hAsync("section", { key: '
|
|
16118
|
+
return (hAsync("section", { key: 'ff15f73114d16107a766fe6fe8342315cf2fa542', class: "w-full" }, hAsync("ul", { key: '22e8e89e792fee03f1957e5705fca1938771b9ac', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
15769
16119
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15770
16120
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, hAsync("div", { class: "mr-auto hidden lg:block", style: {
|
|
15771
16121
|
fontFamily: typography.families.sans,
|
|
@@ -15824,6 +16174,7 @@ registerComponents([
|
|
|
15824
16174
|
EdsFrame,
|
|
15825
16175
|
EdsFullscreenMenu,
|
|
15826
16176
|
EdsGauge,
|
|
16177
|
+
EdsGlobalSearch,
|
|
15827
16178
|
EdsHeader,
|
|
15828
16179
|
EdsIconArrowDiagonal,
|
|
15829
16180
|
EdsIconArrowRight,
|