@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.mjs
CHANGED
|
@@ -123,7 +123,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
123
123
|
|
|
124
124
|
|
|
125
125
|
const NAMESPACE = 'components';
|
|
126
|
-
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument:
|
|
126
|
+
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
127
127
|
|
|
128
128
|
/*
|
|
129
129
|
Stencil Hydrate Platform v4.22.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1739,6 +1739,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1739
1739
|
}
|
|
1740
1740
|
};
|
|
1741
1741
|
var getHostListenerTarget = (elm, flags) => {
|
|
1742
|
+
if (flags & 4 /* TargetDocument */) return doc;
|
|
1742
1743
|
if (flags & 8 /* TargetWindow */) return win;
|
|
1743
1744
|
if (flags & 16 /* TargetBody */) return doc.body;
|
|
1744
1745
|
return elm;
|
|
@@ -2330,7 +2331,7 @@ class ColorPrimaryPalette {
|
|
|
2330
2331
|
];
|
|
2331
2332
|
}
|
|
2332
2333
|
render() {
|
|
2333
|
-
return (hAsync("ul", { key: '
|
|
2334
|
+
return (hAsync("ul", { key: '1ccc8d65b69795afe88b003e6aa1d6eb0f6a8a71', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
2334
2335
|
}
|
|
2335
2336
|
static get cmpMeta() { return {
|
|
2336
2337
|
"$flags$": 0,
|
|
@@ -2402,7 +2403,7 @@ class ColorSecondaryPalette {
|
|
|
2402
2403
|
this.show = undefined;
|
|
2403
2404
|
}
|
|
2404
2405
|
render() {
|
|
2405
|
-
return (hAsync("ul", { key: '
|
|
2406
|
+
return (hAsync("ul", { key: '0c2fe4671a0754b591462dfdc91f8772eb1478c5', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
2406
2407
|
}
|
|
2407
2408
|
static get cmpMeta() { return {
|
|
2408
2409
|
"$flags$": 0,
|
|
@@ -2476,7 +2477,7 @@ class ColorSupportPalette {
|
|
|
2476
2477
|
return 'text-default';
|
|
2477
2478
|
}
|
|
2478
2479
|
render() {
|
|
2479
|
-
return (hAsync("ul", { key: '
|
|
2480
|
+
return (hAsync("ul", { key: '1bafc64afc8d77db69e1847fdf05d2f8ca2d3ee0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2480
2481
|
// compute once
|
|
2481
2482
|
const textClass = this.getTextColor(color.background);
|
|
2482
2483
|
return (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|
|
@@ -2627,7 +2628,7 @@ class ComponentsSection {
|
|
|
2627
2628
|
}
|
|
2628
2629
|
}
|
|
2629
2630
|
render() {
|
|
2630
|
-
return hAsync("div", { key: '
|
|
2631
|
+
return hAsync("div", { key: 'd5f1ea9d290addbfa2a4c21e815597871f6d7639', class: "container" }, this.renderContent());
|
|
2631
2632
|
}
|
|
2632
2633
|
static get cmpMeta() { return {
|
|
2633
2634
|
"$flags$": 0,
|
|
@@ -2705,7 +2706,7 @@ class CorrectUseOfColors {
|
|
|
2705
2706
|
registerInstance(this, hostRef);
|
|
2706
2707
|
}
|
|
2707
2708
|
render() {
|
|
2708
|
-
return (hAsync("div", { key: '
|
|
2709
|
+
return (hAsync("div", { key: '4cf1cf9e4076104bc15626b1812de8e44bb2c314', class: "container" }, hAsync("p", { key: '044662efdf38d73e10baf84af9a53b0d757c8a3f', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '08203f71273f93a43bb2984f5fcb6adf91500987', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '244c3681fc63df5debbac5094011b9efd557c99f', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: '1daafe1f19e2552a4ebe785f5533aabecdab8226', class: "flex" }, hAsync("div", { key: 'd3119d8a3b9053173a4ec421782d68a705d63f54', class: "w-full" }, hAsync("ul", { key: 'e59ee9a8e3aecc12cdc573b4147c93487f60a426', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'f8fd15b68a9d9f8b0a2a63ccc92ceb47d8c0ed17', class: "w-full" }, hAsync("ul", { key: '9f8a13d2177fc7b500fadf3cf3a697578378f9ff', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '890abae9796f720980c4c40753e64ad9d5854184', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'b8099a6ebd9bee755ecfe7d450dbc191a2986aa0', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: 'b9b0094d03544cfc8404730f8ceeb8caf44cfcd1', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'f1cd546f656dc302f24106cc5fa5faa4a3fc2ece', class: "flex" }, hAsync("div", { key: '730022a2670de7b3e7d0ed53eb9d2f9d533fddff', class: "w-full" }, hAsync("ul", { key: '04b3c963c8ea94a30983d880b096682171eae657', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '78d294c8a18771a66f157f2140ca7aadaad9ed6a', class: "w-full" }, hAsync("ul", { key: 'a7ece655dca8bc3a4d159bdc4b6bad4e86f3846d', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '156ee43969b677fd3140426786834631f5743bb8', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '26704a99b2bcd72ee414e4df1090d3c360f7d601', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '7d7db00799454b2dc76d740529f1381b934a65a5', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'be78a8f1ac1f5b8a0f905e6b1b7981234e627c31', class: "flex" }, hAsync("div", { key: 'a379dd032f13978e6e35432388379f7a932a64d2', class: "w-full" }, hAsync("ul", { key: 'bca9a0adde895d36fec1ca43d59679346408de36', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '235c66fc5f649e5efa11966d5d8708a72ed103ed', class: "w-full" }, hAsync("ul", { key: '6155375812c41d5356aa5f04d18d64f917c60e87', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), hAsync("p", { key: '453656ec8a0bd258c49d55edd978c3406f5a0ffc', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '76169ca2b6cf12e269d0d7e22af41adc6c99e95a', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", hAsync("eds-link", { key: '0305f4dc08b6adce8bef1b102c846177ca6ff86d', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), hAsync("div", { key: 'eb2e4206bed167eb28540e79c7b7490bd4a9ae1d', class: "flex" }, hAsync("div", { key: 'c05f20dcfa4e806455b1a8805512b12c7a05cdc0', class: "w-full" }, hAsync("ul", { key: 'bc0fd2e75f75db9b26ce7f225ee2f9fce15e65ca', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red$1.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: '335554176ea7a84d08e07162ed0d66ac69a6859c', class: "w-full" }, hAsync("ul", { key: '10c149af45b26455c820d37e0e8109550b79c34f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
2709
2710
|
}
|
|
2710
2711
|
static get cmpMeta() { return {
|
|
2711
2712
|
"$flags$": 0,
|
|
@@ -2744,7 +2745,7 @@ class DocsContent {
|
|
|
2744
2745
|
}
|
|
2745
2746
|
}
|
|
2746
2747
|
render() {
|
|
2747
|
-
return hAsync("div", { key: '
|
|
2748
|
+
return hAsync("div", { key: '68fdef1fd6bdc75ce347d326b3329871e2ed5c8d', class: "container" }, this.renderContent());
|
|
2748
2749
|
}
|
|
2749
2750
|
static get cmpMeta() { return {
|
|
2750
2751
|
"$flags$": 0,
|
|
@@ -2777,7 +2778,7 @@ class DocsPalettes {
|
|
|
2777
2778
|
}
|
|
2778
2779
|
}
|
|
2779
2780
|
render() {
|
|
2780
|
-
return hAsync("div", { key: '
|
|
2781
|
+
return hAsync("div", { key: '97f8cff7dfed11b80a3a9e28d3628a72af8dc12d', class: "container" }, this.renderContent());
|
|
2781
2782
|
}
|
|
2782
2783
|
static get cmpMeta() { return {
|
|
2783
2784
|
"$flags$": 0,
|
|
@@ -2935,10 +2936,10 @@ class EdsAccordion {
|
|
|
2935
2936
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
2936
2937
|
*/
|
|
2937
2938
|
render() {
|
|
2938
|
-
return (hAsync("div", { key: '
|
|
2939
|
+
return (hAsync("div", { key: 'd162692cb9a99b6a1b9b736b828214c9d425046e', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2939
2940
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
2940
2941
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
2941
|
-
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '
|
|
2942
|
+
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '3770e241daa7e4696c5481c97965fb2ebe0b17f9', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), hAsync("div", { key: '56b7b70d16cf3f944bf3cec878bd15c3e18b399b', class: "ml-auto" }, hAsync("eds-button", { key: '4b770831f155f7e77a424b9dd3ec0a8708a0859f', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), hAsync("div", { key: 'c75c4d840bc8be25ee7590d90e3290faf090fdf0', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (hAsync("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, hAsync("section", { key: 'b78b8f7fa93a85c886136cac8119d7b94de2a129', id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, hAsync("div", { key: '75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, hAsync("span", { key: 'e08cefc1d6fe7f3d162de86a17646d88a8686d83', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, hAsync("slot", { key: '77d3a7fb997a9f313e3013a17f87c28f7ff8adad' })))))));
|
|
2942
2943
|
}
|
|
2943
2944
|
get el() { return getElement(this); }
|
|
2944
2945
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -3115,12 +3116,12 @@ class EdsAlert {
|
|
|
3115
3116
|
}
|
|
3116
3117
|
render() {
|
|
3117
3118
|
const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
|
|
3118
|
-
return (hAsync("div", { key: '
|
|
3119
|
+
return (hAsync("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
|
|
3119
3120
|
intent: this.intent,
|
|
3120
3121
|
brd: this.brd,
|
|
3121
3122
|
direction: this.direction,
|
|
3122
3123
|
withBtn: this.withBtn
|
|
3123
|
-
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: '
|
|
3124
|
+
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: 'fb3a1d216279b4076b09ef9544d37c5229b4d706', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (hAsync("div", { key: 'a5edd833ae3924f41edb17068090eeeb4e9f9cfd', id: "alert-action" }, this.pressableUrl ? (hAsync("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (hAsync("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
|
|
3124
3125
|
}
|
|
3125
3126
|
get el() { return getElement(this); }
|
|
3126
3127
|
static get style() { return EdsAlertStyle0; }
|
|
@@ -3171,7 +3172,7 @@ class EdsAppRoot {
|
|
|
3171
3172
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3172
3173
|
}
|
|
3173
3174
|
render() {
|
|
3174
|
-
return (hAsync("div", { key: '
|
|
3175
|
+
return (hAsync("div", { key: '814465ac49c8f5688bc8b1006723a531c925c030' }, hAsync("eds-splash-screen", { key: '578982c4b01714129ebf0e7c415bdacea10061f8', inverse: true, initPromise: this.combinedInitPromise }), hAsync("eds-login", { key: 'abc4ef7fed629bc2eda0e2f14f5165b83851794d', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), hAsync("main", { key: '1fb96900889c942ec0beb120e1ed869a9d78c6fa' }, this.isAuthenticated ? hAsync("h1", null, "Welcome, authenticated user!") : hAsync("h1", null, "Please log in."))));
|
|
3175
3176
|
}
|
|
3176
3177
|
static get cmpMeta() { return {
|
|
3177
3178
|
"$flags$": 9,
|
|
@@ -3254,7 +3255,7 @@ class EdsAvatar {
|
|
|
3254
3255
|
* @returns {JSX.Element} The rendered avatar component.
|
|
3255
3256
|
*/
|
|
3256
3257
|
render() {
|
|
3257
|
-
return (hAsync("div", { key: '
|
|
3258
|
+
return (hAsync("div", { key: 'd29c110e340567236716e77c4f003bec5c70ee63', class: this.containerClasses }, this.picture ? (hAsync("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (hAsync("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
3258
3259
|
}
|
|
3259
3260
|
static get style() { return EdsAvatarStyle0; }
|
|
3260
3261
|
static get cmpMeta() { return {
|
|
@@ -3285,7 +3286,7 @@ class EdsBlockBreak {
|
|
|
3285
3286
|
this.inverse = false;
|
|
3286
3287
|
}
|
|
3287
3288
|
render() {
|
|
3288
|
-
return hAsync("hr", { key: '
|
|
3289
|
+
return hAsync("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
3289
3290
|
}
|
|
3290
3291
|
static get style() { return EdsBlockBreakStyle0; }
|
|
3291
3292
|
static get cmpMeta() { return {
|
|
@@ -3445,7 +3446,7 @@ class EdsBreadcrumb {
|
|
|
3445
3446
|
*/
|
|
3446
3447
|
render() {
|
|
3447
3448
|
const itemsToRender = this.getTruncatedItems();
|
|
3448
|
-
return (hAsync("nav", { key: '
|
|
3449
|
+
return (hAsync("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, hAsync("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
3449
3450
|
const isLast = index === itemsToRender.length - 1;
|
|
3450
3451
|
return (hAsync("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
3451
3452
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -3662,7 +3663,7 @@ class EdsButton {
|
|
|
3662
3663
|
});
|
|
3663
3664
|
const ElementType = this.elementType;
|
|
3664
3665
|
const isInteractive = !this.disabled && !this.loading;
|
|
3665
|
-
return (hAsync(Host, { key: '
|
|
3666
|
+
return (hAsync(Host, { key: 'fe91be3eb9c2a3ece800097392462b3bd76f1264' }, hAsync(ElementType, { key: 'aa1d4e0544beff8759d232d0e897ffdbcd584ea5', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (hAsync("span", { key: '2b55edc1b986950ba03a759cffd7346c8611ac0a', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (hAsync("span", { key: '5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, hAsync("span", { key: '2746ef996f0835c76c4ef2cbd39103ad4d07c21f', class: "loader", style: {
|
|
3666
3667
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
3667
3668
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
3668
3669
|
} }))), this.icon ? (hAsync("eds-icon-wrapper", { class: `
|
|
@@ -3722,7 +3723,7 @@ class EdsCardDesc {
|
|
|
3722
3723
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
3723
3724
|
}
|
|
3724
3725
|
render() {
|
|
3725
|
-
return (hAsync("p", { key: '
|
|
3726
|
+
return (hAsync("p", { key: '1e2ae9b46a477adb8a249a0a06c963d3e44ff297', class: "text-light f-ui-03-light" }, hAsync("span", { key: '072222b2b2249a772c1e26f566d7ac863dd6a1dd', class: this.getTruncateClass() }, this.description)));
|
|
3726
3727
|
}
|
|
3727
3728
|
static get style() { return EdsCardDescStyle0; }
|
|
3728
3729
|
static get cmpMeta() { return {
|
|
@@ -3739,7 +3740,7 @@ class EdsCardDesc {
|
|
|
3739
3740
|
}; }
|
|
3740
3741
|
}
|
|
3741
3742
|
|
|
3742
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3743
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3743
3744
|
var EdsCardGenericStyle0 = edsCardGenericCss;
|
|
3744
3745
|
|
|
3745
3746
|
/**
|
|
@@ -3827,7 +3828,7 @@ class EdsCardGeneric {
|
|
|
3827
3828
|
});
|
|
3828
3829
|
}
|
|
3829
3830
|
render() {
|
|
3830
|
-
return (hAsync("article", { key: '
|
|
3831
|
+
return (hAsync("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), hAsync("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description && (hAsync("eds-card-desc", { key: '7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0', "truncate-lines": "3", description: this.description }))), this.parsedImage ? (hAsync("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '63cc046648dbf7d56909b2478d6c15b14e8d9ae4', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label, size: tag.size })))), ' '));
|
|
3831
3832
|
}
|
|
3832
3833
|
get el() { return getElement(this); }
|
|
3833
3834
|
static get style() { return EdsCardGenericStyle0; }
|
|
@@ -4039,7 +4040,7 @@ class EdsCardProject {
|
|
|
4039
4040
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
4040
4041
|
].join(' ');
|
|
4041
4042
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
4042
|
-
return (hAsync("article", { key: '
|
|
4043
|
+
return (hAsync("article", { key: '65af57bfbe558b895f74dd4d088c243a25c7265d', class: cardClasses, onClick: (event) => this.handleClick(event) }, hAsync("div", { key: 'cf0e9f71cd617a44facf7e35cdf78774e41b3eb1', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, hAsync("div", { key: '82870bbaf7203ac92f25ca241186ba7a32b784d5', class: "lg:max-w-[720px]" }, hAsync("eds-card-title", { key: '0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (hAsync("span", { key: '3586446f9ad1bb190c93cd54d7e53d6e835b8e37', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (hAsync("div", { key: '750c707f04d12ddd1d38aa0377b47f8804070535', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && hAsync("eds-tag", { key: '01fbeebd88ee60feede3b21db177b3691ffc2808', label: this.categoryTitle })))), this.parsedImage && (hAsync("div", { key: 'c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513', class: imageClasses }, hAsync("div", { key: '04d4828b6648470543ddde09d935aaa7c6133d7e', class: "aspect-1x1 w-full" }, hAsync("eds-img", Object.assign({ key: 'cde6eb483641c02abb6c229470f07aa5b08fbf9b', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
4043
4044
|
}
|
|
4044
4045
|
get el() { return getElement(this); }
|
|
4045
4046
|
static get cmpMeta() { return {
|
|
@@ -4099,7 +4100,7 @@ class EdsCardSection {
|
|
|
4099
4100
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
4100
4101
|
*/
|
|
4101
4102
|
render() {
|
|
4102
|
-
return (hAsync("section", { key: '
|
|
4103
|
+
return (hAsync("section", { key: 'bae0833e4d29cb2874bfb1751d7663751fd64abe', class: "w-full" }, hAsync("ul", { key: '001026f2866cf6101c317f08d32eac4dff46d335', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (hAsync("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, hAsync("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
|
|
4103
4104
|
}
|
|
4104
4105
|
static get style() { return EdsCardSectionStyle0; }
|
|
4105
4106
|
static get cmpMeta() { return {
|
|
@@ -4128,7 +4129,7 @@ class EdsCardTags {
|
|
|
4128
4129
|
this.tags = [];
|
|
4129
4130
|
}
|
|
4130
4131
|
render() {
|
|
4131
|
-
return (hAsync("div", { key: '
|
|
4132
|
+
return (hAsync("div", { key: 'dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
4132
4133
|
}
|
|
4133
4134
|
static get style() { return EdsCardTagsStyle0; }
|
|
4134
4135
|
static get cmpMeta() { return {
|
|
@@ -4192,7 +4193,7 @@ class EdsCardTitle {
|
|
|
4192
4193
|
render() {
|
|
4193
4194
|
//const Tag = this.getTag();
|
|
4194
4195
|
const Heading = this.headingLevel;
|
|
4195
|
-
return (hAsync(Heading, { key: '
|
|
4196
|
+
return (hAsync(Heading, { key: '1fd3f080c09f94d7b7175d51b9d8e38bb0b76286', class: this.getTitleClass() }, hAsync("a", { key: 'dd06cbecbc9eaef8052f34eae28ae17c5f92c918', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
4196
4197
|
}
|
|
4197
4198
|
static get style() { return EdsCardTitleStyle0; }
|
|
4198
4199
|
static get cmpMeta() { return {
|
|
@@ -4280,7 +4281,7 @@ class EdsCardTool {
|
|
|
4280
4281
|
});
|
|
4281
4282
|
}
|
|
4282
4283
|
render() {
|
|
4283
|
-
return (hAsync("article", { key: '
|
|
4284
|
+
return (hAsync("article", { key: '00f417ee065537f8b30bc73e5ad9ca0d69b3aed3', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: '9d8156f655c9344c872631b75cfcaf52fdf23347', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (hAsync("eds-card-desc", { key: 'da7aa3d0d9f7995a824fd7720342e6dd4d94224f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (hAsync("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '3e3001ec404a0bbca84deafc89de6aab8bf2fe45', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
4284
4285
|
}
|
|
4285
4286
|
get el() { return getElement(this); }
|
|
4286
4287
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -6792,7 +6793,7 @@ class EdsCodeBlock {
|
|
|
6792
6793
|
return this.code; // Fallback if language is not provided or unsupported
|
|
6793
6794
|
}
|
|
6794
6795
|
render() {
|
|
6795
|
-
return (hAsync("div", { key: '
|
|
6796
|
+
return (hAsync("div", { key: '2c5addd195dc8d930db643e95ecc52410dd94052', class: "relative bg-stronger rounded-sm" }, hAsync("div", { key: 'aea2d891f9e5d57d4b8390cff4597cb8edd163a1', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (hAsync("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (hAsync("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, hAsync("code", { innerHTML: this.getHighlightedCode() }))), hAsync("span", { key: '41e2d463bde145f901eae42dda68091a9a42e3ef', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, hAsync("eds-icon-wrapper", { key: '7285b81dd936c770b09b4a36bed8c8ba2a87da99', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), hAsync("span", { key: 'a12d74735064478480544cc4b5cf14d7b028b1a8', class: "sr-only" }, "Copy Code")), this.language && (hAsync("pre", { key: '2fcde4f271059ac98cb3b1b6bffbf4564ccf795b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, hAsync("code", { key: '68a8b83f492e7b0eb2916a063e28a4293e6a988f', innerHTML: this.getHighlightedCode() })))));
|
|
6796
6797
|
}
|
|
6797
6798
|
get el() { return getElement(this); }
|
|
6798
6799
|
static get style() { return EdsCodeBlockStyle0; }
|
|
@@ -6840,7 +6841,7 @@ class EdsCookiesPreference {
|
|
|
6840
6841
|
}
|
|
6841
6842
|
}
|
|
6842
6843
|
render() {
|
|
6843
|
-
return (hAsync("div", { key: '
|
|
6844
|
+
return (hAsync("div", { key: '64edfc7f4d83f6185be6c74707115ec478628c6b' }, hAsync("eds-link", { key: 'd2c07e20ae1e67753b17f017bd5efa9b1e722fec', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && hAsync("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
6844
6845
|
}
|
|
6845
6846
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6846
6847
|
static get cmpMeta() { return {
|
|
@@ -6864,13 +6865,23 @@ var EdsDropdownStyle0 = edsDropdownCss;
|
|
|
6864
6865
|
/**
|
|
6865
6866
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
6866
6867
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
6867
|
-
* such as positioning, styling, and
|
|
6868
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
6868
6869
|
*
|
|
6869
|
-
* Key
|
|
6870
|
-
* - Configurable dropdown position (left or right) and offset
|
|
6871
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
6872
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
6873
|
-
* -
|
|
6870
|
+
* ## Key Features:
|
|
6871
|
+
* - Configurable dropdown position (left or right) and offset
|
|
6872
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
6873
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
6874
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
6875
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
6876
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
6877
|
+
*
|
|
6878
|
+
* ## Auto-Close Behavior:
|
|
6879
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
6880
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
6881
|
+
*
|
|
6882
|
+
* ## Data Attributes:
|
|
6883
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
6884
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
6874
6885
|
*
|
|
6875
6886
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
6876
6887
|
*/
|
|
@@ -6883,10 +6894,12 @@ class EdsDropdown {
|
|
|
6883
6894
|
* Toggles the visibility of the dropdown and manages focus.
|
|
6884
6895
|
*/
|
|
6885
6896
|
this.handleClick = () => {
|
|
6886
|
-
var _a;
|
|
6897
|
+
var _a, _b;
|
|
6887
6898
|
this.isOpen = !this.isOpen;
|
|
6888
6899
|
if (this.isOpen) {
|
|
6889
|
-
|
|
6900
|
+
// refresh focusables each open in case slot changed
|
|
6901
|
+
this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
|
|
6902
|
+
this.focusIndex = this.focusableItems.length ? 0 : -1;
|
|
6890
6903
|
this.focusItem();
|
|
6891
6904
|
}
|
|
6892
6905
|
else {
|
|
@@ -6897,7 +6910,7 @@ class EdsDropdown {
|
|
|
6897
6910
|
category: 'ui-component',
|
|
6898
6911
|
parentContext: null,
|
|
6899
6912
|
tag: this.host.tagName.toLowerCase(),
|
|
6900
|
-
name: ((
|
|
6913
|
+
name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
|
|
6901
6914
|
action: this.isOpen ? 'expanded' : 'collapsed'
|
|
6902
6915
|
});
|
|
6903
6916
|
};
|
|
@@ -6909,9 +6922,14 @@ class EdsDropdown {
|
|
|
6909
6922
|
this.dropdownPos = 'left';
|
|
6910
6923
|
this.dropdownOffset = true;
|
|
6911
6924
|
this.intent = 'tertiary';
|
|
6925
|
+
this.autoClose = true;
|
|
6926
|
+
this.noCloseSelector = '[data-dropdown-no-close]';
|
|
6912
6927
|
this.isOpen = false;
|
|
6913
6928
|
this.focusIndex = -1;
|
|
6914
6929
|
}
|
|
6930
|
+
async close() {
|
|
6931
|
+
this.closeDropdown();
|
|
6932
|
+
}
|
|
6915
6933
|
/**
|
|
6916
6934
|
* Closes the dropdown when a click occurs outside of it.
|
|
6917
6935
|
* @param {Event} e - The click event.
|
|
@@ -6971,19 +6989,55 @@ class EdsDropdown {
|
|
|
6971
6989
|
var _a;
|
|
6972
6990
|
this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
|
|
6973
6991
|
}
|
|
6992
|
+
handleHostInternalClick(ev) {
|
|
6993
|
+
var _a;
|
|
6994
|
+
if (!this.isOpen || !this.panelEl) {
|
|
6995
|
+
return;
|
|
6996
|
+
}
|
|
6997
|
+
const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
|
|
6998
|
+
const clickedInsidePanel = path.includes(this.panelEl);
|
|
6999
|
+
if (!clickedInsidePanel) {
|
|
7000
|
+
return;
|
|
7001
|
+
}
|
|
7002
|
+
// Check if element has explicit close attribute
|
|
7003
|
+
const hasCloseAttribute = path.some((t) => {
|
|
7004
|
+
var _a;
|
|
7005
|
+
const n = t;
|
|
7006
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
|
|
7007
|
+
});
|
|
7008
|
+
// If element has data-dropdown-close, always close regardless of autoClose setting
|
|
7009
|
+
if (hasCloseAttribute) {
|
|
7010
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7011
|
+
return;
|
|
7012
|
+
}
|
|
7013
|
+
// If autoClose is disabled and no explicit close attribute, don't close
|
|
7014
|
+
if (!this.autoClose) {
|
|
7015
|
+
return;
|
|
7016
|
+
}
|
|
7017
|
+
// Auto-close mode: close unless clicked element opts out
|
|
7018
|
+
const shouldNotClose = path.some((t) => {
|
|
7019
|
+
var _a;
|
|
7020
|
+
const n = t;
|
|
7021
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
|
|
7022
|
+
});
|
|
7023
|
+
if (!shouldNotClose) {
|
|
7024
|
+
// Defer to allow the item's own click (e.g., router navigation) to run first
|
|
7025
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7026
|
+
}
|
|
7027
|
+
}
|
|
6974
7028
|
/**
|
|
6975
7029
|
* Renders the dropdown component and displays its content when open.
|
|
6976
7030
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
6977
7031
|
*/
|
|
6978
7032
|
render() {
|
|
6979
|
-
return (hAsync("div", { key: '
|
|
7033
|
+
return (hAsync("div", { key: 'e31acbda3428f47fe32cfe550cf00c53374da215', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, hAsync("eds-button", { key: 'ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), hAsync("nav", { key: '59f8533409171401ed73eac8d307e4eafbde9209', ref: (el) => (this.panelEl = el), role: "menu", class: {
|
|
6980
7034
|
'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
|
|
6981
7035
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
6982
7036
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
6983
7037
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
6984
7038
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
6985
7039
|
'rounded-lg': this.rounded
|
|
6986
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '
|
|
7040
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
|
|
6987
7041
|
}
|
|
6988
7042
|
get host() { return getElement(this); }
|
|
6989
7043
|
static get style() { return EdsDropdownStyle0; }
|
|
@@ -6999,10 +7053,13 @@ class EdsDropdown {
|
|
|
6999
7053
|
"dropdownPos": [1, "dropdown-pos"],
|
|
7000
7054
|
"dropdownOffset": [4, "dropdown-offset"],
|
|
7001
7055
|
"intent": [1],
|
|
7056
|
+
"autoClose": [4, "auto-close"],
|
|
7057
|
+
"noCloseSelector": [1, "no-close-selector"],
|
|
7002
7058
|
"isOpen": [32],
|
|
7003
|
-
"focusIndex": [32]
|
|
7059
|
+
"focusIndex": [32],
|
|
7060
|
+
"close": [64]
|
|
7004
7061
|
},
|
|
7005
|
-
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"]],
|
|
7062
|
+
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"], [0, "click", "handleHostInternalClick"]],
|
|
7006
7063
|
"$lazyBundleId$": "-",
|
|
7007
7064
|
"$attrsToReflect$": []
|
|
7008
7065
|
}; }
|
|
@@ -7065,7 +7122,7 @@ class EdsFeedback {
|
|
|
7065
7122
|
const HeadingTag = this.headingLevel;
|
|
7066
7123
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7067
7124
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7068
|
-
return (hAsync("div", { key: '
|
|
7125
|
+
return (hAsync("div", { key: 'd197c6324cca1bea1cb69000cfb0a4776285eeea', class: "grid inline" }, hAsync(HeadingTag, { key: '8a09b89f2732d60e470a16b818467768c0f4e474', class: headingClass }, this.label), hAsync("p", { key: '6a2c35b73b8bde9d96841d60d0761581efbd4047', class: "f-body-01 text-light" }, this.description), hAsync("eds-rating", { key: '0fb0acbbe7c473f2de117e0b0028cafc2f959ed8', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: '8aea027f1c37cbe9ff22555ec00ed183d8c52f0a', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
7069
7126
|
}
|
|
7070
7127
|
get el() { return getElement(this); }
|
|
7071
7128
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7151,9 +7208,9 @@ class EdsFooter {
|
|
|
7151
7208
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7152
7209
|
*/
|
|
7153
7210
|
render() {
|
|
7154
|
-
return (hAsync("footer", { key: '
|
|
7211
|
+
return (hAsync("footer", { key: '5e629d1f5f06ce62843f67b296c94b18765d8100' }, this.social ? (hAsync("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, hAsync("div", { class: "container pb-20" }, hAsync("div", { class: "grid-layout" }, hAsync("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, hAsync("eds-social-networks", { class: "mt-28" })))))) : null, hAsync("div", { key: '68966997037f0dd88c9fb2afcc39514aefa5ff8d', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, hAsync("div", { key: 'd3ec3c9341e7509b2f4771ce0f83fbf4913b4e3e', class: "container flex items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: '30774f2c9c1c5113c8f178af2ad5dbc01b01c8d2', class: "flex items-center gap-x-12" }, hAsync("a", { key: '1939784cb357e1a0a9fc6a00c75953c37d7cac90', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, hAsync("eds-img", { key: 'b9dc32ad675188d061d01e6b11cda37c4edd5e29', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), hAsync("div", { key: '1642eaf31c946bf3f7bd3d235dccd1a66f4de7d8' }, hAsync("div", { key: '4a4b1bf11ebf31a9a0f1735cb0720bdbdab07943', class: "f-ui-04 text-light" }, hAsync("p", { key: '24226946123a5e632d393be9a24971ff9e07b355' }, this.fundedBy), hAsync("div", { key: 'a21829ec3d7d74027a14ee419f37d2ec326b7154', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, hAsync("span", { key: '4791eb4b178cb07f3983f8aa6f3ed0e60918f929', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (hAsync("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
7155
7212
|
this.toggleCookiesConsent();
|
|
7156
|
-
} })) : null))), hAsync("div", { key: '
|
|
7213
|
+
} })) : null))), hAsync("div", { key: '9d1173a7b4db564de8fa2ffb85d2b7db724bef95', class: "ml-auto pl-12" }, this.enableScrollTop ? (hAsync("div", { id: "toTop", class: "transition-all transition duration-75 opacity-0" }, hAsync("eds-button", { id: "backToTop", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" }))) : null)))));
|
|
7157
7214
|
}
|
|
7158
7215
|
get el() { return getElement(this); }
|
|
7159
7216
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7407,8 +7464,8 @@ class EdsForm {
|
|
|
7407
7464
|
registerInstance(this, hostRef);
|
|
7408
7465
|
this.form = createEvent(this, "form", 7);
|
|
7409
7466
|
this.name = 'eds-form';
|
|
7410
|
-
this.title =
|
|
7411
|
-
this.description =
|
|
7467
|
+
this.title = 'Form Title';
|
|
7468
|
+
this.description = 'Form Description';
|
|
7412
7469
|
this.setFormUrl = true;
|
|
7413
7470
|
this.formBtn = true;
|
|
7414
7471
|
this.formBtnLabel = 'Submit';
|
|
@@ -7539,6 +7596,7 @@ class EdsForm {
|
|
|
7539
7596
|
return formData;
|
|
7540
7597
|
}
|
|
7541
7598
|
makeFormData() {
|
|
7599
|
+
var _a;
|
|
7542
7600
|
const formData = new FormData();
|
|
7543
7601
|
// Add the form name
|
|
7544
7602
|
formData.append('form_name', this.name);
|
|
@@ -7550,6 +7608,37 @@ class EdsForm {
|
|
|
7550
7608
|
// Append each key-value pair to the FormData object.
|
|
7551
7609
|
formData.append(key, this.values[key]);
|
|
7552
7610
|
});
|
|
7611
|
+
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
7612
|
+
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
7613
|
+
if (hasFileField && this.formEl) {
|
|
7614
|
+
// Find file inputs inside each eds-input-field's shadowRoot
|
|
7615
|
+
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
7616
|
+
hosts.forEach((host) => {
|
|
7617
|
+
const root = host.shadowRoot;
|
|
7618
|
+
if (!root)
|
|
7619
|
+
return;
|
|
7620
|
+
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
7621
|
+
console.log(fileInputs);
|
|
7622
|
+
fileInputs.forEach((fi) => {
|
|
7623
|
+
const name = fi.name;
|
|
7624
|
+
const files = fi.files ? Array.from(fi.files) : [];
|
|
7625
|
+
if (files.length > 0) {
|
|
7626
|
+
// Append each file under the same field name (backend can use request.files.getlist(name))
|
|
7627
|
+
files.forEach((file) => formData.append(name, file));
|
|
7628
|
+
}
|
|
7629
|
+
});
|
|
7630
|
+
});
|
|
7631
|
+
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
7632
|
+
// formData.set('_has_files', '1');
|
|
7633
|
+
}
|
|
7634
|
+
formData.forEach((value, key) => {
|
|
7635
|
+
if (value instanceof File) {
|
|
7636
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
7637
|
+
}
|
|
7638
|
+
else {
|
|
7639
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
7640
|
+
}
|
|
7641
|
+
});
|
|
7553
7642
|
return formData;
|
|
7554
7643
|
}
|
|
7555
7644
|
handleChange(e, field) {
|
|
@@ -7660,11 +7749,11 @@ class EdsForm {
|
|
|
7660
7749
|
message: `${field.name} updated`
|
|
7661
7750
|
});
|
|
7662
7751
|
}
|
|
7663
|
-
handleSubmit() {
|
|
7752
|
+
handleSubmit(e) {
|
|
7664
7753
|
var _a, _b;
|
|
7665
|
-
|
|
7754
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
7755
|
+
if (this.isSubmitting)
|
|
7666
7756
|
return;
|
|
7667
|
-
}
|
|
7668
7757
|
this.isSubmitting = true;
|
|
7669
7758
|
this.validateForm();
|
|
7670
7759
|
if (this.hasError) {
|
|
@@ -7759,9 +7848,9 @@ class EdsForm {
|
|
|
7759
7848
|
const styleClasses = this.formStyle === 'shadow'
|
|
7760
7849
|
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7761
7850
|
: '';
|
|
7762
|
-
return (hAsync("form", { key: '
|
|
7851
|
+
return (hAsync("form", { key: 'a2e7de988c60301b92f6b756702bfcc78e9f3d90', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, hAsync("div", { key: '22172631522aa6094d8b163b0774c57ef4404d60', class: "flex flex-col gap-y-24" }, this.title && (hAsync("span", { key: '0597bbacbaf5f3d9ec1ab938cf755a10baafdf21', role: "heading", class: "f-heading-04" }, this.title)), this.description && hAsync("span", { key: '5e636072bc2692071bd0b518af721999cc8b511e', class: "f-body-02 text-light" }, this.description), hAsync("slot", { key: '79d21172208eb77ec6460e817d3c7bc3a680c806' })), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
7763
7852
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7764
|
-
.map((g) => (hAsync("div", { class: "
|
|
7853
|
+
.map((g) => (hAsync("div", { class: "mt-32", key: g.id }, hAsync("span", { class: "f-body-02" }, hAsync("b", null, g.title)), hAsync("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), hAsync("div", { key: 'b99941e53dec1c8c4e167d8588d6e86793838d1a', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (hAsync("div", { key: '27365a4d7d8150ff4e94ffb3d27d011400c8c412', class: "mt-32" }, hAsync("eds-button", { key: '66f89292b95d9549e3718d7e499b0724762127c6', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
7765
7854
|
}
|
|
7766
7855
|
get el() { return getElement(this); }
|
|
7767
7856
|
static get watchers() { return {
|
|
@@ -7889,7 +7978,7 @@ class EdsFrame {
|
|
|
7889
7978
|
}
|
|
7890
7979
|
}
|
|
7891
7980
|
render() {
|
|
7892
|
-
return (hAsync("div", { key: '
|
|
7981
|
+
return (hAsync("div", { key: '7b4f5eb19460a178b98586aa38088e3dc5625671', class: this.articleClasses() }, hAsync("div", { key: '98aefbd4cab33f14c9aa3152c122a11b24df4a02', class: "effect-height flex items-center justify-between py-8 px-12" }, hAsync("span", { key: 'd0cdd2f3354bddc99030ee5215f2bc24b139a261', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (hAsync("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), hAsync("div", { key: '030c560bbd0209160c92bc2d152f8d42484dc86b', class: "border-softer" }, this.iframeError ? (hAsync("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (hAsync("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
7893
7982
|
}
|
|
7894
7983
|
get el() { return getElement(this); }
|
|
7895
7984
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -8058,7 +8147,7 @@ class EdsGauge {
|
|
|
8058
8147
|
const textStyle = {
|
|
8059
8148
|
fontSize: `${fontSize}px`
|
|
8060
8149
|
};
|
|
8061
|
-
return (hAsync("div", { key: '
|
|
8150
|
+
return (hAsync("div", { key: '8834b0fc3cb78c0e7926392d04229d67d8deab90', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, hAsync("div", { key: 'f9ad68bd6bf19bceb46df1cfe16cdbbc2375099c', class: "absolute bg-inverse rounded-full", style: maskStyle }), hAsync("div", { key: '64a2ba3ba2f104fa018f81949cdabc0fc53eea42', class: "absolute inset-0 flex items-center justify-center" }, hAsync("span", { key: 'ae66f977802793f4e10210e75ddfa53839a9ff6e', class: "f-body-01 text-default", style: textStyle }, clamped))));
|
|
8062
8151
|
}
|
|
8063
8152
|
static get style() { return EdsGaugeStyle0; }
|
|
8064
8153
|
static get cmpMeta() { return {
|
|
@@ -8078,6 +8167,194 @@ class EdsGauge {
|
|
|
8078
8167
|
}; }
|
|
8079
8168
|
}
|
|
8080
8169
|
|
|
8170
|
+
const edsGlobalSearchCss = ":host{display:block;width:100%}p{margin:0}ol,ul,menu{list-style:none;margin:0;padding:0}.search-wrapper{position:relative;width:100%}.search-dropdown{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e0e0e0;border-radius:8px;box-shadow:0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);max-height:500px;overflow:hidden;z-index:9999;display:flex;flex-direction:column}.dropdown-state{display:flex;align-items:center;justify-content:center;gap:8px;padding:24px;color:#616161;font-size:14px}.dropdown-results{list-style:none;margin:0;overflow-y:auto;overflow-x:hidden;max-height:440px}.result-item{padding:10px 14px;cursor:pointer;transition:background-color 0.15s ease;border-left:3px solid transparent;overflow:hidden;word-wrap:break-word;word-break:break-word}.result-item:hover,.result-item--selected{background-color:var(--grey-200);border-left-color:var(--green-600)}.result-header{display:flex;align-items:center;justify-content:space-between}.result-snippet{font-size:13px;color:#616161;line-height:1.4;margin:0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.dropdown-footer{border-top:1px solid #e0e0e0;padding:8px 16px;background:#fafafa;flex-shrink:0}.footer-hint{font-size:11px;color:#757575;display:flex;align-items:center;gap:4px;flex-wrap:wrap}kbd{display:inline-block;padding:2px 5px;font-size:10px;font-family:monospace;line-height:1;color:#424242;background-color:#f5f5f5;border:1px solid #bdbdbd;border-radius:3px;box-shadow:0 1px 0 rgba(0, 0, 0, 0.1)}.dropdown-results::-webkit-scrollbar{width:8px}.dropdown-results::-webkit-scrollbar-track{background:#f5f5f5}.dropdown-results::-webkit-scrollbar-thumb{background:#bdbdbd;border-radius:4px}.dropdown-results::-webkit-scrollbar-thumb:hover{background:#9e9e9e}.flex{display:flex}.inline-flex{display:inline-flex}.text-center{text-align:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-error{color:var(--red-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.ml-4{margin-left:0.25rem}.ml-8{margin-left:0.5rem}.ml-16{margin-left:1rem}.p-16{padding:1rem}.p-64{padding:4rem}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}";
|
|
8171
|
+
var EdsGlobalSearchStyle0 = edsGlobalSearchCss;
|
|
8172
|
+
|
|
8173
|
+
class EdsGlobalSearch {
|
|
8174
|
+
constructor(hostRef) {
|
|
8175
|
+
registerInstance(this, hostRef);
|
|
8176
|
+
this.resultSelected = createEvent(this, "resultSelected", 7);
|
|
8177
|
+
this.searchClosed = createEvent(this, "searchClosed", 7);
|
|
8178
|
+
this.handleInput = (event) => {
|
|
8179
|
+
var _a;
|
|
8180
|
+
const target = event.target;
|
|
8181
|
+
this.query = target.value;
|
|
8182
|
+
if (this.debounceTimer) {
|
|
8183
|
+
clearTimeout(this.debounceTimer);
|
|
8184
|
+
}
|
|
8185
|
+
if (!this.query.trim()) {
|
|
8186
|
+
this.results = [];
|
|
8187
|
+
this.hasSearched = false;
|
|
8188
|
+
this.showDropdown = false;
|
|
8189
|
+
return;
|
|
8190
|
+
}
|
|
8191
|
+
sendAnalytics({
|
|
8192
|
+
category: 'shared-ui',
|
|
8193
|
+
parentContext: null,
|
|
8194
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8195
|
+
name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
|
|
8196
|
+
'unknow seach input query',
|
|
8197
|
+
action: 'click',
|
|
8198
|
+
});
|
|
8199
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
8200
|
+
this.runSearch();
|
|
8201
|
+
}, this.debounceDelay);
|
|
8202
|
+
};
|
|
8203
|
+
this.apiEndpoint = '/api/v1/global-search';
|
|
8204
|
+
this.placeholder = 'Search Handbook + Design...';
|
|
8205
|
+
this.limit = 20;
|
|
8206
|
+
this.debounceDelay = 300;
|
|
8207
|
+
this.query = '';
|
|
8208
|
+
this.results = [];
|
|
8209
|
+
this.loading = false;
|
|
8210
|
+
this.error = '';
|
|
8211
|
+
this.hasSearched = false;
|
|
8212
|
+
this.showDropdown = false;
|
|
8213
|
+
this.selectedIndex = -1;
|
|
8214
|
+
}
|
|
8215
|
+
componentDidLoad() {
|
|
8216
|
+
// Focus input if needed
|
|
8217
|
+
if (this.inputRef) {
|
|
8218
|
+
this.inputRef.focus();
|
|
8219
|
+
}
|
|
8220
|
+
}
|
|
8221
|
+
disconnectedCallback() {
|
|
8222
|
+
if (this.debounceTimer) {
|
|
8223
|
+
clearTimeout(this.debounceTimer);
|
|
8224
|
+
}
|
|
8225
|
+
}
|
|
8226
|
+
handleDocumentClick(event) {
|
|
8227
|
+
const path = event.composedPath();
|
|
8228
|
+
if (!path.includes(this.el)) {
|
|
8229
|
+
this.showDropdown = false;
|
|
8230
|
+
this.selectedIndex = -1;
|
|
8231
|
+
}
|
|
8232
|
+
}
|
|
8233
|
+
handleKeydown(event) {
|
|
8234
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
8235
|
+
if (event.key === 'Escape') {
|
|
8236
|
+
this.searchClosed.emit();
|
|
8237
|
+
}
|
|
8238
|
+
return;
|
|
8239
|
+
}
|
|
8240
|
+
switch (event.key) {
|
|
8241
|
+
case 'ArrowDown':
|
|
8242
|
+
event.preventDefault();
|
|
8243
|
+
this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
|
|
8244
|
+
this.scrollToSelected();
|
|
8245
|
+
break;
|
|
8246
|
+
case 'ArrowUp':
|
|
8247
|
+
event.preventDefault();
|
|
8248
|
+
this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
|
|
8249
|
+
this.scrollToSelected();
|
|
8250
|
+
break;
|
|
8251
|
+
case 'Enter':
|
|
8252
|
+
event.preventDefault();
|
|
8253
|
+
if (this.selectedIndex >= 0 &&
|
|
8254
|
+
this.selectedIndex < this.results.length) {
|
|
8255
|
+
this.selectResult(this.results[this.selectedIndex]);
|
|
8256
|
+
}
|
|
8257
|
+
break;
|
|
8258
|
+
case 'Escape':
|
|
8259
|
+
this.showDropdown = false;
|
|
8260
|
+
this.selectedIndex = -1;
|
|
8261
|
+
this.searchClosed.emit();
|
|
8262
|
+
break;
|
|
8263
|
+
}
|
|
8264
|
+
}
|
|
8265
|
+
async runSearch() {
|
|
8266
|
+
var _a;
|
|
8267
|
+
const query = this.query.trim();
|
|
8268
|
+
if (!query) {
|
|
8269
|
+
this.results = [];
|
|
8270
|
+
this.hasSearched = false;
|
|
8271
|
+
this.showDropdown = false;
|
|
8272
|
+
return;
|
|
8273
|
+
}
|
|
8274
|
+
this.loading = true;
|
|
8275
|
+
this.error = '';
|
|
8276
|
+
try {
|
|
8277
|
+
const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
|
|
8278
|
+
if (!response.ok) {
|
|
8279
|
+
throw new Error('Search failed');
|
|
8280
|
+
}
|
|
8281
|
+
const data = await response.json();
|
|
8282
|
+
this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
|
|
8283
|
+
this.hasSearched = true;
|
|
8284
|
+
this.showDropdown = true;
|
|
8285
|
+
this.selectedIndex = -1;
|
|
8286
|
+
}
|
|
8287
|
+
catch (err) {
|
|
8288
|
+
console.error('Search error:', err);
|
|
8289
|
+
this.error = 'Search failed. Please try again.';
|
|
8290
|
+
this.results = [];
|
|
8291
|
+
this.showDropdown = true;
|
|
8292
|
+
}
|
|
8293
|
+
finally {
|
|
8294
|
+
this.loading = false;
|
|
8295
|
+
}
|
|
8296
|
+
}
|
|
8297
|
+
selectResult(result) {
|
|
8298
|
+
this.resultSelected.emit(result);
|
|
8299
|
+
this.searchClosed.emit();
|
|
8300
|
+
sendAnalytics({
|
|
8301
|
+
category: 'shared-ui',
|
|
8302
|
+
parentContext: null,
|
|
8303
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8304
|
+
name: `search-select: ${result.url}` || 'unknow search result selection',
|
|
8305
|
+
action: 'click',
|
|
8306
|
+
});
|
|
8307
|
+
window.open(result.url, '_blank', 'noopener,noreferrer');
|
|
8308
|
+
}
|
|
8309
|
+
scrollToSelected() {
|
|
8310
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
8311
|
+
const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
8312
|
+
if (selectedItem) {
|
|
8313
|
+
selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
|
|
8314
|
+
}
|
|
8315
|
+
}
|
|
8316
|
+
}
|
|
8317
|
+
stripHtml(html) {
|
|
8318
|
+
const div = document.createElement('div');
|
|
8319
|
+
div.innerHTML = html;
|
|
8320
|
+
return div.textContent || div.innerText || '';
|
|
8321
|
+
}
|
|
8322
|
+
get hasResults() {
|
|
8323
|
+
return this.results.length > 0;
|
|
8324
|
+
}
|
|
8325
|
+
get showEmpty() {
|
|
8326
|
+
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
8327
|
+
}
|
|
8328
|
+
render() {
|
|
8329
|
+
return (hAsync("div", { key: '8fb5d13cbb123d7a6d6a26d0ba59d4c6d1660216', class: "search-wrapper" }, hAsync("eds-input-field", { key: 'a8bf5d6f4aa5746e144b82fad60b77697d0fdb99', icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && (hAsync("div", { key: '553cb12c9b2aa9ecfbcf9c1eee9ff9a44549e35a', class: "search-dropdown", ref: (el) => (this.dropdownRef = el) }, this.loading && (hAsync("div", { key: '4f40853beecd11f8812fd97cf07d2394e7b73466', class: "flex text-center justify-center p-64" }, hAsync("eds-spinner", { key: '307a3ba3ec2d296f31f8e5cf1a696786387ea8fa', variant: "primary", size: "sm" }))), this.error && !this.loading && (hAsync("div", { key: '46fc2ed3f48237864c62ce52d5789b72ab007f61', class: "flex text-center justify-center p-16" }, hAsync("span", { key: 'b555370d936f99234d9be576d04766bc674bfd24', class: "text-error f-body-02" }, this.error))), this.showEmpty && (hAsync("div", { key: '7464c4850872ce8dcee55c189b1e78baa1799f14', class: "dropdown-state" }, hAsync("eds-icon-wrapper", { key: '989282ef0fc8fde7018bb80ab172773cc2107942', icon: "search" }), hAsync("div", { key: 'efbdbd61312b7de43c4f9944cbd573573ec22f11' }, hAsync("p", { key: 'fb8bf8c76f101a182f2f0e0c9beac642a872d4cb', class: "f-body-02" }, "No results found"), hAsync("p", { key: '003a1facf39b7efe8f61c58518e7fdef4779f9c3', class: "f-ui-04 text-lightest" }, "Try different keywords")))), this.hasResults && !this.loading && (hAsync("ul", { key: '01b48376f9b290218f93eed314bcc71fa15f83ef', class: "dropdown-results" }, this.results.map((result, index) => (hAsync("li", { key: result.id, "data-index": index, class: {
|
|
8330
|
+
'result-item': true,
|
|
8331
|
+
'result-item--selected': index === this.selectedIndex,
|
|
8332
|
+
}, onClick: () => this.selectResult(result), onMouseEnter: () => (this.selectedIndex = index) }, hAsync("div", { class: "result-header" }, hAsync("span", { class: "f-body-02" }, result.title)), hAsync("div", { class: "inline" }, hAsync("eds-tag", { intent: "accent", label: result.source }), result.section && (hAsync("span", { class: "result-badge" }, result.section)), hAsync("span", { class: "f-ui-03-light text-lighter ml-8" }, result.url)), result.snippet && (hAsync("p", { class: "result-snippet" }, this.stripHtml(result.snippet)))))))), this.hasResults && !this.loading && (hAsync("div", { key: '3730704ff20781f23403df56a452bf586c06a688', class: "dropdown-footer" }, hAsync("span", { key: '981e0fb42c24116a2b7caa1a341db1435fb57298', class: "footer-hint" }, hAsync("kbd", { key: 'a3afa1202d694af3f87c736f8384b11497729d2c' }, "\u2191"), " ", hAsync("kbd", { key: '4158766047e73eef837b3a7be415b52792473f3e' }, "\u2193"), " navigate \u2022 ", hAsync("kbd", { key: '49dc09c928a6f0d69e4c95cee7ba5b655dfcd56c' }, "\u21B5"), " select \u2022", ' ', hAsync("kbd", { key: '8da9b6f1bef58c7633a484f63e63920646d6b675' }, "esc"), " close")))))));
|
|
8333
|
+
}
|
|
8334
|
+
get el() { return getElement(this); }
|
|
8335
|
+
static get style() { return EdsGlobalSearchStyle0; }
|
|
8336
|
+
static get cmpMeta() { return {
|
|
8337
|
+
"$flags$": 9,
|
|
8338
|
+
"$tagName$": "eds-global-search",
|
|
8339
|
+
"$members$": {
|
|
8340
|
+
"apiEndpoint": [1, "api-endpoint"],
|
|
8341
|
+
"placeholder": [1],
|
|
8342
|
+
"limit": [2],
|
|
8343
|
+
"debounceDelay": [2, "debounce-delay"],
|
|
8344
|
+
"query": [32],
|
|
8345
|
+
"results": [32],
|
|
8346
|
+
"loading": [32],
|
|
8347
|
+
"error": [32],
|
|
8348
|
+
"hasSearched": [32],
|
|
8349
|
+
"showDropdown": [32],
|
|
8350
|
+
"selectedIndex": [32]
|
|
8351
|
+
},
|
|
8352
|
+
"$listeners$": [[4, "click", "handleDocumentClick"], [0, "keydown", "handleKeydown"]],
|
|
8353
|
+
"$lazyBundleId$": "-",
|
|
8354
|
+
"$attrsToReflect$": []
|
|
8355
|
+
}; }
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8081
8358
|
const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
|
|
8082
8359
|
var EdsHeaderStyle0 = edsHeaderCss;
|
|
8083
8360
|
|
|
@@ -8139,7 +8416,7 @@ class EdsHeader {
|
|
|
8139
8416
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8140
8417
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8141
8418
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8142
|
-
return (hAsync("header", { key: '
|
|
8419
|
+
return (hAsync("header", { key: '937c78379bb6f3a97705862b2fa3f0f6ddd76d4c', class: `flex items-center justify-between relative z-10 ${classes}` }, hAsync("div", { key: 'd94837e8414d558f02039501d7b01ab550275ca7', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: '02711bc6d80075a215761ce79698555f7b31bffa', type: logoType, href: this.homeUrl })), this.parsedLinks && (hAsync("nav", { key: 'e3f0033cce5a6145a4f457d1c2c7aebb767593f7', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, hAsync("ul", { key: '85008ed8ceb8eca869d8730b38a8aa37aeb757ff', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (hAsync("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), hAsync("slot", { key: '35eb7af751f3da381fada990118fa0a37ce150b1' }), this.menuEnabled && (hAsync("div", { key: '121bba2b027fc21e8c77054f3de533e40fad6b96', class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { key: '00774810aabf8fa292ecca2210bcd9542a7cb0c2', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
8143
8420
|
}
|
|
8144
8421
|
get hostEl() { return getElement(this); }
|
|
8145
8422
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -10157,7 +10434,7 @@ class EdsIconArrowDiagonal {
|
|
|
10157
10434
|
this.class = '';
|
|
10158
10435
|
}
|
|
10159
10436
|
render() {
|
|
10160
|
-
return hAsync("span", { key: '
|
|
10437
|
+
return hAsync("span", { key: 'f638b55d0ab199bbd7a52d099aa1242410ae1892', class: this.class, innerHTML: arrowDiagonal });
|
|
10161
10438
|
}
|
|
10162
10439
|
static get cmpMeta() { return {
|
|
10163
10440
|
"$flags$": 0,
|
|
@@ -10180,7 +10457,7 @@ class EdsIconArrowRight {
|
|
|
10180
10457
|
this.class = '';
|
|
10181
10458
|
}
|
|
10182
10459
|
render() {
|
|
10183
|
-
return hAsync("span", { key: '
|
|
10460
|
+
return hAsync("span", { key: '476da936a6861dc0a5db691cee31559c845766a2', class: this.class, innerHTML: arrowRight });
|
|
10184
10461
|
}
|
|
10185
10462
|
static get cmpMeta() { return {
|
|
10186
10463
|
"$flags$": 0,
|
|
@@ -10203,7 +10480,7 @@ class EdsIconBin {
|
|
|
10203
10480
|
this.class = '';
|
|
10204
10481
|
}
|
|
10205
10482
|
render() {
|
|
10206
|
-
return hAsync("span", { key: '
|
|
10483
|
+
return hAsync("span", { key: '8bc63b5438fa6bf2ffa729afd07a793b96f3167d', class: this.class, innerHTML: bin });
|
|
10207
10484
|
}
|
|
10208
10485
|
static get cmpMeta() { return {
|
|
10209
10486
|
"$flags$": 0,
|
|
@@ -10226,7 +10503,7 @@ class EdsIconBluesky {
|
|
|
10226
10503
|
this.class = '';
|
|
10227
10504
|
}
|
|
10228
10505
|
render() {
|
|
10229
|
-
return hAsync("span", { key: '
|
|
10506
|
+
return hAsync("span", { key: 'b42f25c9a2405c94d83c917026f376c9803058d1', class: this.class, innerHTML: bluesky });
|
|
10230
10507
|
}
|
|
10231
10508
|
static get cmpMeta() { return {
|
|
10232
10509
|
"$flags$": 0,
|
|
@@ -10249,7 +10526,7 @@ class EdsIconBookmark {
|
|
|
10249
10526
|
this.class = '';
|
|
10250
10527
|
}
|
|
10251
10528
|
render() {
|
|
10252
|
-
return hAsync("span", { key: '
|
|
10529
|
+
return hAsync("span", { key: '3a7cb54b31e70a446b093453389432938c2fd9d8', class: this.class, innerHTML: bookmark });
|
|
10253
10530
|
}
|
|
10254
10531
|
static get cmpMeta() { return {
|
|
10255
10532
|
"$flags$": 0,
|
|
@@ -10272,7 +10549,7 @@ class EdsIconChevronDown {
|
|
|
10272
10549
|
this.class = '';
|
|
10273
10550
|
}
|
|
10274
10551
|
render() {
|
|
10275
|
-
return hAsync("span", { key: '
|
|
10552
|
+
return hAsync("span", { key: '49925425ac1fd676eb96b973b1419f1f2aec1c81', class: this.class, innerHTML: chevronDown });
|
|
10276
10553
|
}
|
|
10277
10554
|
static get cmpMeta() { return {
|
|
10278
10555
|
"$flags$": 0,
|
|
@@ -10295,7 +10572,7 @@ class EdsIconChevronLeft {
|
|
|
10295
10572
|
this.class = '';
|
|
10296
10573
|
}
|
|
10297
10574
|
render() {
|
|
10298
|
-
return hAsync("span", { key: '
|
|
10575
|
+
return hAsync("span", { key: '38d849e3d7e2b2f5e7df8a5624bcf988b3046b11', class: this.class, innerHTML: chevronLeft });
|
|
10299
10576
|
}
|
|
10300
10577
|
static get cmpMeta() { return {
|
|
10301
10578
|
"$flags$": 0,
|
|
@@ -10318,7 +10595,7 @@ class EdsIconChevronRight {
|
|
|
10318
10595
|
this.class = '';
|
|
10319
10596
|
}
|
|
10320
10597
|
render() {
|
|
10321
|
-
return hAsync("span", { key: '
|
|
10598
|
+
return hAsync("span", { key: '5368c37dc49fa654d75f42a774a9a3ad93db5261', class: this.class, innerHTML: chevronRight });
|
|
10322
10599
|
}
|
|
10323
10600
|
static get cmpMeta() { return {
|
|
10324
10601
|
"$flags$": 0,
|
|
@@ -10341,7 +10618,7 @@ class EdsIconChevronUp {
|
|
|
10341
10618
|
this.class = '';
|
|
10342
10619
|
}
|
|
10343
10620
|
render() {
|
|
10344
|
-
return hAsync("span", { key: '
|
|
10621
|
+
return hAsync("span", { key: '6479f32960c973174c4577beef2f7df7b0baebd4', class: this.class, innerHTML: chevronUp });
|
|
10345
10622
|
}
|
|
10346
10623
|
static get cmpMeta() { return {
|
|
10347
10624
|
"$flags$": 0,
|
|
@@ -10364,7 +10641,7 @@ class EdsIconClone {
|
|
|
10364
10641
|
this.class = '';
|
|
10365
10642
|
}
|
|
10366
10643
|
render() {
|
|
10367
|
-
return hAsync("span", { key: '
|
|
10644
|
+
return hAsync("span", { key: 'a31ea2174a7c266b62264dad10c486f7dc27f043', class: this.class, innerHTML: clone });
|
|
10368
10645
|
}
|
|
10369
10646
|
static get cmpMeta() { return {
|
|
10370
10647
|
"$flags$": 0,
|
|
@@ -10387,7 +10664,7 @@ class EdsIconClose {
|
|
|
10387
10664
|
this.class = '';
|
|
10388
10665
|
}
|
|
10389
10666
|
render() {
|
|
10390
|
-
return hAsync("span", { key: '
|
|
10667
|
+
return hAsync("span", { key: 'b4283a9fbc348923169a4d56ad6f3b5aad4a13c8', class: this.class, innerHTML: close });
|
|
10391
10668
|
}
|
|
10392
10669
|
static get cmpMeta() { return {
|
|
10393
10670
|
"$flags$": 0,
|
|
@@ -10410,7 +10687,7 @@ class EdsIconCopy {
|
|
|
10410
10687
|
this.class = '';
|
|
10411
10688
|
}
|
|
10412
10689
|
render() {
|
|
10413
|
-
return hAsync("span", { key: '
|
|
10690
|
+
return hAsync("span", { key: 'dc06f1a54b9542cb2c0165fb3bdff960ecd81cc0', class: this.class, innerHTML: copy });
|
|
10414
10691
|
}
|
|
10415
10692
|
static get cmpMeta() { return {
|
|
10416
10693
|
"$flags$": 0,
|
|
@@ -10433,7 +10710,7 @@ class EdsIconDownload {
|
|
|
10433
10710
|
this.class = '';
|
|
10434
10711
|
}
|
|
10435
10712
|
render() {
|
|
10436
|
-
return hAsync("span", { key: '
|
|
10713
|
+
return hAsync("span", { key: '2fbaad3eebee32d200d0f655b396ea937901f3bd', class: this.class, innerHTML: download });
|
|
10437
10714
|
}
|
|
10438
10715
|
static get cmpMeta() { return {
|
|
10439
10716
|
"$flags$": 0,
|
|
@@ -10456,7 +10733,7 @@ class EdsIconDraft {
|
|
|
10456
10733
|
this.class = '';
|
|
10457
10734
|
}
|
|
10458
10735
|
render() {
|
|
10459
|
-
return hAsync("span", { key: '
|
|
10736
|
+
return hAsync("span", { key: '408c981cebc10ab4bcf91e2765e7971ad0a83975', class: this.class, innerHTML: draft });
|
|
10460
10737
|
}
|
|
10461
10738
|
static get cmpMeta() { return {
|
|
10462
10739
|
"$flags$": 0,
|
|
@@ -10479,7 +10756,7 @@ class EdsIconEdit {
|
|
|
10479
10756
|
this.class = '';
|
|
10480
10757
|
}
|
|
10481
10758
|
render() {
|
|
10482
|
-
return hAsync("span", { key: '
|
|
10759
|
+
return hAsync("span", { key: 'eb8558a13bcab457f260b0c3cddc235867b7f45a', class: this.class, innerHTML: edit });
|
|
10483
10760
|
}
|
|
10484
10761
|
static get cmpMeta() { return {
|
|
10485
10762
|
"$flags$": 0,
|
|
@@ -10502,7 +10779,7 @@ class EdsIconEu {
|
|
|
10502
10779
|
this.class = '';
|
|
10503
10780
|
}
|
|
10504
10781
|
render() {
|
|
10505
|
-
return hAsync("span", { key: '
|
|
10782
|
+
return hAsync("span", { key: '994f1becb4b226a2d2f022d9bd22a690fad5aab4', class: this.class, innerHTML: euSvg });
|
|
10506
10783
|
}
|
|
10507
10784
|
static get cmpMeta() { return {
|
|
10508
10785
|
"$flags$": 0,
|
|
@@ -10525,7 +10802,7 @@ class EdsIconExternal {
|
|
|
10525
10802
|
this.class = '';
|
|
10526
10803
|
}
|
|
10527
10804
|
render() {
|
|
10528
|
-
return hAsync("span", { key: '
|
|
10805
|
+
return hAsync("span", { key: '0825d1c73c5f311f7a9d5394542f6fd74791a543', class: this.class, innerHTML: arrowDiagonal });
|
|
10529
10806
|
}
|
|
10530
10807
|
static get cmpMeta() { return {
|
|
10531
10808
|
"$flags$": 0,
|
|
@@ -10548,7 +10825,7 @@ class EdsIconFacebook {
|
|
|
10548
10825
|
this.class = '';
|
|
10549
10826
|
}
|
|
10550
10827
|
render() {
|
|
10551
|
-
return hAsync("span", { key: '
|
|
10828
|
+
return hAsync("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: facebook });
|
|
10552
10829
|
}
|
|
10553
10830
|
static get cmpMeta() { return {
|
|
10554
10831
|
"$flags$": 0,
|
|
@@ -10571,7 +10848,7 @@ class EdsIconGitlab {
|
|
|
10571
10848
|
this.class = '';
|
|
10572
10849
|
}
|
|
10573
10850
|
render() {
|
|
10574
|
-
return hAsync("span", { key: '
|
|
10851
|
+
return hAsync("span", { key: '4c0a731d1a67884107112bc5941faf2001dbbfd5', class: this.class, innerHTML: gitlabBlack });
|
|
10575
10852
|
}
|
|
10576
10853
|
static get cmpMeta() { return {
|
|
10577
10854
|
"$flags$": 0,
|
|
@@ -10594,7 +10871,7 @@ class EdsIconLinkedin {
|
|
|
10594
10871
|
this.class = '';
|
|
10595
10872
|
}
|
|
10596
10873
|
render() {
|
|
10597
|
-
return hAsync("span", { key: '
|
|
10874
|
+
return hAsync("span", { key: '36bf44e06217f9b2521f374028a1316fb17ff21a', class: this.class, innerHTML: linkedin });
|
|
10598
10875
|
}
|
|
10599
10876
|
static get cmpMeta() { return {
|
|
10600
10877
|
"$flags$": 0,
|
|
@@ -10617,7 +10894,7 @@ class EdsIconLoader {
|
|
|
10617
10894
|
this.class = '';
|
|
10618
10895
|
}
|
|
10619
10896
|
render() {
|
|
10620
|
-
return hAsync("span", { key: '
|
|
10897
|
+
return hAsync("span", { key: '2207bbac640cf28a2d6d5d725f681e56c8c53011', class: this.class, innerHTML: loader });
|
|
10621
10898
|
}
|
|
10622
10899
|
static get cmpMeta() { return {
|
|
10623
10900
|
"$flags$": 0,
|
|
@@ -10640,7 +10917,7 @@ class EdsIconMastodon {
|
|
|
10640
10917
|
this.class = '';
|
|
10641
10918
|
}
|
|
10642
10919
|
render() {
|
|
10643
|
-
return hAsync("span", { key: '
|
|
10920
|
+
return hAsync("span", { key: 'b7ba0f10df196243538aaeefe3db0ee5f594f885', class: this.class, innerHTML: mastodon });
|
|
10644
10921
|
}
|
|
10645
10922
|
static get cmpMeta() { return {
|
|
10646
10923
|
"$flags$": 0,
|
|
@@ -10663,7 +10940,7 @@ class EdsIconMenu {
|
|
|
10663
10940
|
this.class = '';
|
|
10664
10941
|
}
|
|
10665
10942
|
render() {
|
|
10666
|
-
return hAsync("span", { key: '
|
|
10943
|
+
return hAsync("span", { key: '5f14cbe4b3ca88f7301c1561c092278b31d04326', class: this.class, innerHTML: menu });
|
|
10667
10944
|
}
|
|
10668
10945
|
static get cmpMeta() { return {
|
|
10669
10946
|
"$flags$": 0,
|
|
@@ -10686,7 +10963,7 @@ class EdsIconMinus {
|
|
|
10686
10963
|
this.class = '';
|
|
10687
10964
|
}
|
|
10688
10965
|
render() {
|
|
10689
|
-
return hAsync("span", { key: '
|
|
10966
|
+
return hAsync("span", { key: 'b19c12426db0068934252c6197ba04789d42f5e2', class: this.class, innerHTML: minus });
|
|
10690
10967
|
}
|
|
10691
10968
|
static get cmpMeta() { return {
|
|
10692
10969
|
"$flags$": 0,
|
|
@@ -10709,7 +10986,7 @@ class EdsIconMore {
|
|
|
10709
10986
|
this.class = '';
|
|
10710
10987
|
}
|
|
10711
10988
|
render() {
|
|
10712
|
-
return hAsync("span", { key: '
|
|
10989
|
+
return hAsync("span", { key: 'b6d2b6d7d156c715e2f7d2192d93a4326b22dfc5', class: this.class, innerHTML: more });
|
|
10713
10990
|
}
|
|
10714
10991
|
static get cmpMeta() { return {
|
|
10715
10992
|
"$flags$": 0,
|
|
@@ -10732,7 +11009,7 @@ class EdsIconPaper {
|
|
|
10732
11009
|
this.class = '';
|
|
10733
11010
|
}
|
|
10734
11011
|
render() {
|
|
10735
|
-
return hAsync("span", { key: '
|
|
11012
|
+
return hAsync("span", { key: '497345c7f18b9cceaf00030b7b3ab052f482c7bf', class: this.class, innerHTML: paper });
|
|
10736
11013
|
}
|
|
10737
11014
|
static get cmpMeta() { return {
|
|
10738
11015
|
"$flags$": 0,
|
|
@@ -10755,7 +11032,7 @@ class EdsIconPlus {
|
|
|
10755
11032
|
this.class = '';
|
|
10756
11033
|
}
|
|
10757
11034
|
render() {
|
|
10758
|
-
return hAsync("span", { key: '
|
|
11035
|
+
return hAsync("span", { key: 'd9fdc443e6da9465453f5f201b5782437a45402e', class: this.class, innerHTML: plus });
|
|
10759
11036
|
}
|
|
10760
11037
|
static get cmpMeta() { return {
|
|
10761
11038
|
"$flags$": 0,
|
|
@@ -10778,7 +11055,7 @@ class EdsIconPortal {
|
|
|
10778
11055
|
this.class = '';
|
|
10779
11056
|
}
|
|
10780
11057
|
render() {
|
|
10781
|
-
return hAsync("span", { key: '
|
|
11058
|
+
return hAsync("span", { key: '27be525d5922ed05755e207adc914c7e86fb7033', class: this.class, innerHTML: portal });
|
|
10782
11059
|
}
|
|
10783
11060
|
static get cmpMeta() { return {
|
|
10784
11061
|
"$flags$": 0,
|
|
@@ -10801,7 +11078,7 @@ class EdsIconPrivate {
|
|
|
10801
11078
|
this.class = '';
|
|
10802
11079
|
}
|
|
10803
11080
|
render() {
|
|
10804
|
-
return hAsync("span", { key: '
|
|
11081
|
+
return hAsync("span", { key: '16aa24573646bd0002f9b259dba4ab7bb150d12e', class: this.class, innerHTML: privat });
|
|
10805
11082
|
}
|
|
10806
11083
|
static get cmpMeta() { return {
|
|
10807
11084
|
"$flags$": 0,
|
|
@@ -10824,7 +11101,7 @@ class EdsIconPublic {
|
|
|
10824
11101
|
this.class = '';
|
|
10825
11102
|
}
|
|
10826
11103
|
render() {
|
|
10827
|
-
return hAsync("span", { key: '
|
|
11104
|
+
return hAsync("span", { key: '1aedbead2feca84807fa4dd3d10092c3a4632365', class: this.class, innerHTML: pub });
|
|
10828
11105
|
}
|
|
10829
11106
|
static get cmpMeta() { return {
|
|
10830
11107
|
"$flags$": 0,
|
|
@@ -10847,7 +11124,7 @@ class EdsIconSearch {
|
|
|
10847
11124
|
this.class = '';
|
|
10848
11125
|
}
|
|
10849
11126
|
render() {
|
|
10850
|
-
return hAsync("span", { key: '
|
|
11127
|
+
return hAsync("span", { key: '4d7a6781f65c4fc7159dd29a9d02b2d5333915fd', class: this.class, innerHTML: search });
|
|
10851
11128
|
}
|
|
10852
11129
|
static get cmpMeta() { return {
|
|
10853
11130
|
"$flags$": 0,
|
|
@@ -10870,7 +11147,7 @@ class EdsIconStar {
|
|
|
10870
11147
|
this.class = '';
|
|
10871
11148
|
}
|
|
10872
11149
|
render() {
|
|
10873
|
-
return hAsync("span", { key: '
|
|
11150
|
+
return hAsync("span", { key: '4410f1ce5f3b350e75b31ba6089540a9281e474b', class: this.class, innerHTML: star });
|
|
10874
11151
|
}
|
|
10875
11152
|
static get cmpMeta() { return {
|
|
10876
11153
|
"$flags$": 0,
|
|
@@ -10893,7 +11170,7 @@ class EdsIconStart {
|
|
|
10893
11170
|
this.class = '';
|
|
10894
11171
|
}
|
|
10895
11172
|
render() {
|
|
10896
|
-
return hAsync("span", { key: '
|
|
11173
|
+
return hAsync("span", { key: '3f33c676334b9e7dd18708459ebfb3e3a9cf12a4', class: this.class, innerHTML: start });
|
|
10897
11174
|
}
|
|
10898
11175
|
static get cmpMeta() { return {
|
|
10899
11176
|
"$flags$": 0,
|
|
@@ -10916,7 +11193,7 @@ class EdsIconSuccess {
|
|
|
10916
11193
|
this.class = '';
|
|
10917
11194
|
}
|
|
10918
11195
|
render() {
|
|
10919
|
-
return hAsync("span", { key: '
|
|
11196
|
+
return hAsync("span", { key: '0130a392a537a653154383ccd21a1516100459e3', class: this.class, innerHTML: success });
|
|
10920
11197
|
}
|
|
10921
11198
|
static get cmpMeta() { return {
|
|
10922
11199
|
"$flags$": 0,
|
|
@@ -10939,7 +11216,7 @@ class EdsIconThumbsDown {
|
|
|
10939
11216
|
this.class = '';
|
|
10940
11217
|
}
|
|
10941
11218
|
render() {
|
|
10942
|
-
return hAsync("span", { key: '
|
|
11219
|
+
return hAsync("span", { key: '747187922f5c94e96c67f5455e4ed3b8afd47885', class: this.class, innerHTML: thumbsDown });
|
|
10943
11220
|
}
|
|
10944
11221
|
static get cmpMeta() { return {
|
|
10945
11222
|
"$flags$": 0,
|
|
@@ -10962,7 +11239,7 @@ class EdsIconThumbsUp {
|
|
|
10962
11239
|
this.class = '';
|
|
10963
11240
|
}
|
|
10964
11241
|
render() {
|
|
10965
|
-
return hAsync("span", { key: '
|
|
11242
|
+
return hAsync("span", { key: '051029abca2749f24ae3407ff3ae36b20007c924', class: this.class, innerHTML: thumbsUp });
|
|
10966
11243
|
}
|
|
10967
11244
|
static get cmpMeta() { return {
|
|
10968
11245
|
"$flags$": 0,
|
|
@@ -10985,7 +11262,7 @@ class EdsIconTutorial {
|
|
|
10985
11262
|
this.class = '';
|
|
10986
11263
|
}
|
|
10987
11264
|
render() {
|
|
10988
|
-
return hAsync("span", { key: '
|
|
11265
|
+
return hAsync("span", { key: '3d0f88fa7ebbec278f9cc1394ed87809ff7c49d1', class: this.class, innerHTML: tutorial });
|
|
10989
11266
|
}
|
|
10990
11267
|
static get cmpMeta() { return {
|
|
10991
11268
|
"$flags$": 0,
|
|
@@ -11008,7 +11285,7 @@ class EdsIconTwitter {
|
|
|
11008
11285
|
this.class = '';
|
|
11009
11286
|
}
|
|
11010
11287
|
render() {
|
|
11011
|
-
return hAsync("span", { key: '
|
|
11288
|
+
return hAsync("span", { key: '063a941c7795658f2dd79fbdafd7ea1f8ed4b2f4', class: this.class, innerHTML: twitter });
|
|
11012
11289
|
}
|
|
11013
11290
|
static get cmpMeta() { return {
|
|
11014
11291
|
"$flags$": 0,
|
|
@@ -11031,7 +11308,7 @@ class EdsIconUnknown {
|
|
|
11031
11308
|
this.class = '';
|
|
11032
11309
|
}
|
|
11033
11310
|
render() {
|
|
11034
|
-
return hAsync("span", { key: '
|
|
11311
|
+
return hAsync("span", { key: '27f8330b13ebecd974913f83e3ae142406d08712', class: this.class, innerHTML: unknown });
|
|
11035
11312
|
}
|
|
11036
11313
|
static get cmpMeta() { return {
|
|
11037
11314
|
"$flags$": 0,
|
|
@@ -11054,7 +11331,7 @@ class EdsIconUpdown {
|
|
|
11054
11331
|
this.class = '';
|
|
11055
11332
|
}
|
|
11056
11333
|
render() {
|
|
11057
|
-
return hAsync("span", { key: '
|
|
11334
|
+
return hAsync("span", { key: 'ef19f500cdd0289666d512e73952e6ae1ba9e7dc', class: this.class, innerHTML: upDonw });
|
|
11058
11335
|
}
|
|
11059
11336
|
static get cmpMeta() { return {
|
|
11060
11337
|
"$flags$": 0,
|
|
@@ -11077,7 +11354,7 @@ class EdsIconUser {
|
|
|
11077
11354
|
this.class = '';
|
|
11078
11355
|
}
|
|
11079
11356
|
render() {
|
|
11080
|
-
return hAsync("span", { key: '
|
|
11357
|
+
return hAsync("span", { key: '134abbd42c49915f772f5d2aed7b53ecc5a0bd8a', class: this.class, innerHTML: user });
|
|
11081
11358
|
}
|
|
11082
11359
|
static get cmpMeta() { return {
|
|
11083
11360
|
"$flags$": 0,
|
|
@@ -11100,7 +11377,7 @@ class EdsIconView {
|
|
|
11100
11377
|
this.class = '';
|
|
11101
11378
|
}
|
|
11102
11379
|
render() {
|
|
11103
|
-
return hAsync("span", { key: '
|
|
11380
|
+
return hAsync("span", { key: '5725348031c6f0b6944e765b1b52e7f5759493aa', class: this.class, innerHTML: view });
|
|
11104
11381
|
}
|
|
11105
11382
|
static get cmpMeta() { return {
|
|
11106
11383
|
"$flags$": 0,
|
|
@@ -11179,7 +11456,7 @@ class EdsIconYoutube {
|
|
|
11179
11456
|
this.class = '';
|
|
11180
11457
|
}
|
|
11181
11458
|
render() {
|
|
11182
|
-
return hAsync("span", { key: '
|
|
11459
|
+
return hAsync("span", { key: '7c8d8693dc6e0a03af0b0a68190d451fee84a013', class: this.class, innerHTML: youtube });
|
|
11183
11460
|
}
|
|
11184
11461
|
static get cmpMeta() { return {
|
|
11185
11462
|
"$flags$": 0,
|
|
@@ -11255,10 +11532,10 @@ class EdsImg {
|
|
|
11255
11532
|
imgOpts['loading'] = 'lazy';
|
|
11256
11533
|
imgOpts['decoding'] = 'async';
|
|
11257
11534
|
}
|
|
11258
|
-
return (hAsync("div", { key: '
|
|
11535
|
+
return (hAsync("div", { key: '7d704bdd14072d6ce69632d6f2de3270ff393b87', class: {
|
|
11259
11536
|
'items-center justify-center': true,
|
|
11260
11537
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11261
|
-
} }, hAsync("picture", { key: '
|
|
11538
|
+
} }, hAsync("picture", { key: '724f384b7b9f112727d3ab4ecdab5f769e581b26' }, this.formats.map((format) => (hAsync("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), hAsync("img", Object.assign({ key: '8b12b640a9d66fba117676e6bd81659c72a8e15c', ref: (el) => (this.img = el), class: {
|
|
11262
11539
|
'effect-opacity object-cover object-center': true,
|
|
11263
11540
|
'opacity-100': this.loaded,
|
|
11264
11541
|
'opacity-0': !this.loaded
|
|
@@ -11340,7 +11617,7 @@ class EdsInput {
|
|
|
11340
11617
|
render() {
|
|
11341
11618
|
const withIcon = !!this.icon;
|
|
11342
11619
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11343
|
-
return (hAsync("div", { key: '
|
|
11620
|
+
return (hAsync("div", { key: '4c49edfceefe448b6f5bb29284f0b757342a6003', class: "relative flex items-center" }, this.type === 'textarea' ? (hAsync("textarea", { id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, class: `min-h-80 input input-textarea ${withIcon ? 'input-with-icon' : ''} ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput })) : this.type === 'select' ? (hAsync("select", { id: this.inputId || this.name, name: this.name, required: this.required, disabled: this.disabled, class: `input input-select ${this.error ? 'input-error' : ''} ${this.extraClass}`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, onInput: this.handleInput, onChange: this.handleInput }, this.options.map((option) => (hAsync("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (hAsync("input", Object.assign({ id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.innerVal.toString(), required: this.required, disabled: this.disabled, type: this.type, checked: ['radio', 'checkbox'].includes(this.type) ? this.checked : undefined }, (this.type === 'number'
|
|
11344
11621
|
? {
|
|
11345
11622
|
min: this.min,
|
|
11346
11623
|
max: this.max,
|
|
@@ -11351,7 +11628,7 @@ class EdsInput {
|
|
|
11351
11628
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11352
11629
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11353
11630
|
${this.error ? 'input-error' : ''}
|
|
11354
|
-
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: '
|
|
11631
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: 'df877332c68d4783d5f0f8d8beb94c1859cd00da', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (hAsync("eds-icon-wrapper", { key: '94f7d3d75f5c578c10ab72b6140785b0b5988a13', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
11355
11632
|
}
|
|
11356
11633
|
get el() { return getElement(this); }
|
|
11357
11634
|
static get watchers() { return {
|
|
@@ -11490,7 +11767,7 @@ class EdsInputField {
|
|
|
11490
11767
|
}
|
|
11491
11768
|
render() {
|
|
11492
11769
|
const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
|
|
11493
|
-
return (hAsync("div", { key: '
|
|
11770
|
+
return (hAsync("div", { key: '8351609cb76699040d692f3a99746970a1498bea' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (hAsync("fieldset", { class: "space-y-4" }, hAsync("div", { class: "flex justify-between mb-4" }, this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (hAsync("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (hAsync("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, hAsync("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), hAsync("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (hAsync("div", { class: "flex items-center gap-x-8" }, hAsync("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (hAsync("div", null, hAsync("div", { class: "flex justify-between mb-4" }, this.label && (hAsync("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (hAsync("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (hAsync("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (hAsync("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (hAsync("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
|
|
11494
11771
|
var _a, _b, _c;
|
|
11495
11772
|
const rangeProps = {
|
|
11496
11773
|
name: inputOpts.name,
|
|
@@ -11503,7 +11780,7 @@ class EdsInputField {
|
|
|
11503
11780
|
const opt = this.parsedOptions;
|
|
11504
11781
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11505
11782
|
return (hAsync("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
|
|
11506
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11783
|
+
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '171ca8dfbf4b30a62a05d00f5296b1aaa3d964bd', class: "mt-6" }, hAsync("eds-input-footer", { key: 'c6b7d0a9dc574a5e0dba1e62ff77934e96b4dec1', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
|
|
11507
11784
|
}
|
|
11508
11785
|
static get delegatesFocus() { return true; }
|
|
11509
11786
|
get hostEl() { return getElement(this); }
|
|
@@ -11555,7 +11832,7 @@ class EdsInputFooter {
|
|
|
11555
11832
|
this.link = undefined;
|
|
11556
11833
|
}
|
|
11557
11834
|
render() {
|
|
11558
|
-
return (hAsync("div", { key: '
|
|
11835
|
+
return (hAsync("div", { key: '4c3c1cc26e2b003f49b3cfd1c2388833c305781b' }, this.error && this.errorMessage && (hAsync("div", { key: '7e14e3a77c99ee2700fd0cd8cb1e738c11e34823', id: `error_${this.name}`, class: "text-error flex items-center" }, hAsync("eds-icon-wrapper", { key: '700bc9b58a15e985903fc91abe4e41847d1cf761', icon: "warning" }), hAsync("p", { key: 'a90a0fb49221c15125a54a0413a926174c065319', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && hAsync("p", { key: '24d7c4fb5de1bb54237282edf6e51a16f0475474', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (hAsync("a", { key: '2f01a63b36409dfddd19416777f88008f358b1cb', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
11559
11836
|
}
|
|
11560
11837
|
static get style() { return EdsInputFooterStyle0; }
|
|
11561
11838
|
static get cmpMeta() { return {
|
|
@@ -11586,7 +11863,7 @@ class EdsInputLabel {
|
|
|
11586
11863
|
this.disabled = false;
|
|
11587
11864
|
}
|
|
11588
11865
|
render() {
|
|
11589
|
-
return (hAsync("label", { key: '
|
|
11866
|
+
return (hAsync("label", { key: '51cf53579cea9effbf421c4f4ab45ef63f6770bf', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (hAsync("span", { key: '381c4e1e014d43f726e997767c76565a1979e54a' }, hAsync("span", { key: '08102ef7990f262bf56b6f5bcf70e2ef6ecb0670', "aria-hidden": "true" }, "*"), hAsync("span", { key: '6d3c6f3af5a06c5a1ee2245240cb3fbbef6cf9a8', class: "sr-only" }, "required")))));
|
|
11590
11867
|
}
|
|
11591
11868
|
static get style() { return EdsInputLabelStyle0; }
|
|
11592
11869
|
static get cmpMeta() { return {
|
|
@@ -11652,7 +11929,7 @@ class EdsInputRange {
|
|
|
11652
11929
|
return this.inputElement;
|
|
11653
11930
|
}
|
|
11654
11931
|
render() {
|
|
11655
|
-
return (hAsync("div", { key: '
|
|
11932
|
+
return (hAsync("div", { key: 'c4ce20af554533837b8fc3f7bf69bd649e26b574', class: "relative flex flex-col items-start" }, hAsync("input", { key: '924b247fd81481e648bbf44fec22185284014254', id: this.inputId || this.name, name: this.name, min: this.min, max: this.max, step: this.step, value: this.sliderVal, required: this.required, disabled: this.disabled, type: "range", class: "w-full py-6 input", tabindex: "0", role: "slider", "aria-describedby": `desc_${this.name}`, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.sliderVal, onInput: this.onInput, onChange: this.onChange }), hAsync("p", { key: 'a3acfa464938748480e259cac4376a2be3512e6e', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
11656
11933
|
}
|
|
11657
11934
|
get el() { return getElement(this); }
|
|
11658
11935
|
static get watchers() { return {
|
|
@@ -11747,7 +12024,7 @@ class EdsInputSearch {
|
|
|
11747
12024
|
return this.inputElement;
|
|
11748
12025
|
}
|
|
11749
12026
|
render() {
|
|
11750
|
-
return (hAsync("div", { key: '
|
|
12027
|
+
return (hAsync("div", { key: 'b1232c04e55c9f0bd7b864271ca855a3de242a73', class: "relative flex items-center" }, hAsync("eds-icon-wrapper", { key: '67e51a49b994fc00cb48f2b55f54217097f4d837', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), hAsync("input", { key: 'a6526f68a35145631254e4a0380a1298242c592e', id: this.inputId || this.name, name: this.name, placeholder: this.placeholder, value: this.value || '', required: this.required, disabled: this.disabled, type: "search", "aria-label": this.placeholder, class: `input pl-36 ${this.decorate}`,
|
|
11751
12028
|
//onInput={this.onInput}
|
|
11752
12029
|
onChange: this.onChange })));
|
|
11753
12030
|
}
|
|
@@ -11801,12 +12078,12 @@ class EdsInputSelect {
|
|
|
11801
12078
|
const selectId = this.inputId || this.name;
|
|
11802
12079
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11803
12080
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11804
|
-
return (hAsync("div", { key: '
|
|
12081
|
+
return (hAsync("div", { key: 'b28b21c38ed5848cf08c0bc626f4ce32eddfb775', class: "relative" }, hAsync("select", { key: '727f578d43cf12568d3d3b35548a30972fc46300', id: selectId, name: this.name, class: {
|
|
11805
12082
|
input: true,
|
|
11806
12083
|
'input-error': this.error,
|
|
11807
12084
|
'px-4': true,
|
|
11808
12085
|
'py-2': true
|
|
11809
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
12086
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '9283f69f3c723d65243d8f38b92ee2fcd16d187e', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index) => (hAsync("option", { key: index, value: opt.value, selected: opt.value === this.value }, opt.label)))), hAsync("span", { key: '63a0a9fc049f10141697028195aa28abb8d246f2', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, hAsync("eds-icon-wrapper", { key: 'aa756ea1d279a03ca7919518a15cd63b368a20a0', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
11810
12087
|
}
|
|
11811
12088
|
static get cmpMeta() { return {
|
|
11812
12089
|
"$flags$": 0,
|
|
@@ -12067,7 +12344,7 @@ class EdsLink {
|
|
|
12067
12344
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12068
12345
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12069
12346
|
: '';
|
|
12070
|
-
return (hAsync("a", { key: '
|
|
12347
|
+
return (hAsync("a", { key: 'c09fd68443e1c98a1bfb679b669f9fecfb349548', class: `${classes || ''} ${this.extraClass || ''}`, href: isInteractive ? this.url : undefined, target: this.external && isInteractive ? '_blank' : undefined, rel: this.external && isInteractive ? 'noopener noreferrer' : undefined, tabIndex: isInteractive ? 0 : -1, "aria-label": isIconOnly ? this.ariaLabel || 'Link' : undefined, "aria-disabled": this.disabled ? 'true' : undefined, "aria-current": this.current ? 'page' : undefined, role: this.disabled ? 'link' : undefined, download: this.download ? '' : undefined, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, hAsync("span", { key: '5bf88be39965ca8693daa611b4ca9a85cefb30d3', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && hAsync("span", { key: 'd92b36812200d809cbccfd9da7f2387a7de80699', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
12071
12348
|
}
|
|
12072
12349
|
get el() { return getElement(this); }
|
|
12073
12350
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12175,7 +12452,7 @@ class EdsLogo {
|
|
|
12175
12452
|
}
|
|
12176
12453
|
render() {
|
|
12177
12454
|
const logoContent = this.getLogo();
|
|
12178
|
-
return (hAsync("a", { key: '
|
|
12455
|
+
return (hAsync("a", { key: '550cb4d73702a6a7053adfb5ebe67ff4201e98ad', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, hAsync("div", { key: '141b0faa05a2d51d3ca97242aa910e53e910ad9d', innerHTML: logoContent })));
|
|
12179
12456
|
}
|
|
12180
12457
|
get el() { return getElement(this); }
|
|
12181
12458
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12325,7 +12602,7 @@ class EdsMatomoNotice {
|
|
|
12325
12602
|
}; }
|
|
12326
12603
|
}
|
|
12327
12604
|
|
|
12328
|
-
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-
|
|
12605
|
+
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999991{z-index:9999991}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:min-w-\\[500px\\]{width:500px}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";
|
|
12329
12606
|
var EdsModalStyle0 = edsModalCss;
|
|
12330
12607
|
|
|
12331
12608
|
/**
|
|
@@ -12450,9 +12727,9 @@ class EdsModal {
|
|
|
12450
12727
|
render() {
|
|
12451
12728
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12452
12729
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12453
|
-
return (hAsync("div", { key: '
|
|
12730
|
+
return (hAsync("div", { key: 'e0f35ad87e3b21b98d8d37640f660f2fd490d748', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999991 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (hAsync("div", { key: 'cd0bc54ff3e25545709c26f19b2a30f838423250', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
12454
12731
|
,
|
|
12455
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12732
|
+
onClick: () => this.close() })), hAsync("div", { key: '314c45094d1f3b7d1b725341a3294fdca9732a26', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, hAsync("div", { key: '8401bca8601d7681d641c04d16a4efe7ba1a4a9f', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, hAsync("span", { key: '9a761bf7dc2a97d192a0d280533e6bbcba1871d2', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), hAsync("eds-button", { key: '631a15d8b010215d68243bcd43ec5c45899474bf', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), hAsync("div", { key: '6718fd42a10f6f861fb910e1b32d42607cf8b7bf', class: "pt-8 px-20 py-20" }, hAsync("slot", { key: 'ac9289dd32dcd985d79c882cddb3203b57f42101' })))));
|
|
12456
12733
|
}
|
|
12457
12734
|
get el() { return getElement(this); }
|
|
12458
12735
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12543,12 +12820,12 @@ class EdsNps {
|
|
|
12543
12820
|
render() {
|
|
12544
12821
|
const count = this.max - this.min + 1;
|
|
12545
12822
|
//onst fallback = 0;
|
|
12546
|
-
return (hAsync("div", { key: '
|
|
12823
|
+
return (hAsync("div", { key: '51e0d272693fd42d1f239f8498d9a5744dead8d7', class: "eds-nps" }, hAsync("eds-input-label", { key: 'f9d3b65985e221f9608da3aba22cc1dc4dd54417', id: "nps-question", name: "nps-question", label: this.question }), hAsync("div", { key: '00b22eff70fd1dd3d210e17aaef5df2057f99bb7', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
|
|
12547
12824
|
const val = this.min + i;
|
|
12548
12825
|
const isSelected = val === this.selectedValue;
|
|
12549
12826
|
const tabIndex = isSelected ? 0 : -1;
|
|
12550
12827
|
return (hAsync("div", { class: "grid-col-span-1", key: val }, hAsync("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
|
|
12551
|
-
})), hAsync("div", { key: '
|
|
12828
|
+
})), hAsync("div", { key: '7289bd6476a2080be3c02011240e2493b84079e5', class: "flex justify-between mt-8" }, hAsync("span", { key: 'ebfcebd9aa3d11cf298e44987debd8edef1f6e40', class: "f-ui-04 text-light ml-4" }, this.leftLabel), hAsync("span", { key: '002f9878b267439af9f83f9ffd1b52eaef46b929', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
12552
12829
|
}
|
|
12553
12830
|
get el() { return getElement(this); }
|
|
12554
12831
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12820,7 +13097,7 @@ class EdsPagination {
|
|
|
12820
13097
|
}
|
|
12821
13098
|
render() {
|
|
12822
13099
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12823
|
-
return (hAsync("div", { key: '
|
|
13100
|
+
return (hAsync("div", { key: 'bf34cb68555555ef984592b261929cfb5ef93048' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: '47b8034e6fd839151cdaff04d4df43fec520ce40', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, hAsync("span", { key: 'd9d340393777b7b6e808fa21d38f691f1002b363', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (hAsync("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, hAsync("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, hAsync("li", { class: "mr-auto" }, this.useButtons ? (hAsync("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, hAsync("eds-button", { label: this.prevLabel, disabled: this.mode === 'navigator' ? !this.prevUrl : this.isFirstPage(), "aria-label": "Go to previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "ghost", "extra-class": "!p-8 lg:!pr-12 pagination-button", onClick: (event) => {
|
|
12824
13101
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12825
13102
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12826
13103
|
}
|
|
@@ -13027,7 +13304,7 @@ class EdsProgressBar {
|
|
|
13027
13304
|
]
|
|
13028
13305
|
.filter(Boolean)
|
|
13029
13306
|
.join(' ');
|
|
13030
|
-
return (hAsync("div", { key: '
|
|
13307
|
+
return (hAsync("div", { key: '6a0e7cb42770cecd023f07cd26a3e2716a9c9905', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, hAsync("div", { key: '854743f0fc1b916ec24c7e657349871f2175fc64', class: fillClasses, style: { width: `${progressValue}%` } }), hAsync("div", { key: '74d46ff06e9b41d81563b49c1939a989e32877d5', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, hAsync("span", { key: '0c5925f73934b71e96c6d006c4f7b3a21d144b74', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
13031
13308
|
}
|
|
13032
13309
|
static get style() { return EdsProgressBarStyle0; }
|
|
13033
13310
|
static get cmpMeta() { return {
|
|
@@ -13110,7 +13387,7 @@ class EdsRating {
|
|
|
13110
13387
|
this.onSelect(next);
|
|
13111
13388
|
}
|
|
13112
13389
|
render() {
|
|
13113
|
-
return (hAsync("div", { key: '
|
|
13390
|
+
return (hAsync("div", { key: '764b3b37545e97f028423fd5760b882e6151f767', id: "rating-buttons", role: "group", "aria-labelledby": "rating", class: "stars flex space-x-1 my-8", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
13114
13391
|
const starRating = index + 1;
|
|
13115
13392
|
const isSelected = starRating <= this.selectedRating;
|
|
13116
13393
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -13160,7 +13437,7 @@ class EdsSectionCore {
|
|
|
13160
13437
|
}
|
|
13161
13438
|
render() {
|
|
13162
13439
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13163
|
-
return (hAsync(TagType, { key: '
|
|
13440
|
+
return (hAsync(TagType, { key: '4765a07e798f1a622c25ec145c31345b27e1815d' }, hAsync("eds-section-heading", { key: 'a320ac532863eaabbc1901ab5d9e9d0c14ae7556', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '8de34d1949c0a7d0d83f977d18d36f435444401d' })));
|
|
13164
13441
|
}
|
|
13165
13442
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13166
13443
|
static get cmpMeta() { return {
|
|
@@ -13215,12 +13492,12 @@ class EdsSectionHeading {
|
|
|
13215
13492
|
render() {
|
|
13216
13493
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13217
13494
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13218
|
-
return (hAsync(TagType, { key: '
|
|
13495
|
+
return (hAsync(TagType, { key: '960224968ba731050d2b208a07c1faddc386746b', class: {
|
|
13219
13496
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13220
13497
|
container: this.withContainer,
|
|
13221
13498
|
'pt-48': this.spacingLarge,
|
|
13222
13499
|
'pt-28': !this.spacingLarge
|
|
13223
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13500
|
+
} }, hAsync(HeadingTag, { key: 'fc93452bfe1bac130654a187d7d42ee18f273147', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13224
13501
|
}
|
|
13225
13502
|
static get cmpMeta() { return {
|
|
13226
13503
|
"$flags$": 0,
|
|
@@ -13294,7 +13571,7 @@ class EdsSocialNetworks {
|
|
|
13294
13571
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13295
13572
|
*/
|
|
13296
13573
|
render() {
|
|
13297
|
-
return (hAsync("nav", { key: '
|
|
13574
|
+
return (hAsync("nav", { key: '907adc08d4e02f34994a057146a60b734d6ab81b', "aria-label": "Social media" }, hAsync("p", { key: 'a3620851f2e31d662a812ac74e831f023d2646a4', class: "f-ui-02" }, this.heading), hAsync("ul", { key: 'b8fece03b5ed995a9dba78cf0445a4eb46787bdc', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (hAsync("li", { key: index }, hAsync("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": `EBRAINS on ${network.label}`, url: network.url, icon: network.icon, intent: "strong" })))))));
|
|
13298
13575
|
}
|
|
13299
13576
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13300
13577
|
static get cmpMeta() { return {
|
|
@@ -13385,7 +13662,7 @@ class EdsSpinner {
|
|
|
13385
13662
|
alignItems: 'center',
|
|
13386
13663
|
justifyContent: 'center'
|
|
13387
13664
|
};
|
|
13388
|
-
return (hAsync(Host, { key: '
|
|
13665
|
+
return (hAsync(Host, { key: 'dbf06a1430e3a69314ec016937a9b3ba89229353' }, hAsync("div", { key: '12a51b0eed154fd2c6b6ae4ce586630a8f61164a', class: "spinner-overlay", style: overlayStyle }, hAsync("span", { key: '0e63b80c45efec7b226b5f4277fe00e4f7bc4f1b', class: "spinner", style: spinnerStyle }), this.message && hAsync("p", { key: '8625d4589ec26c9513d1dc7a53fa17b9874fcf3c', class: "f-body-01" }, this.message))));
|
|
13389
13666
|
}
|
|
13390
13667
|
static get style() { return EdsSpinnerStyle0; }
|
|
13391
13668
|
static get cmpMeta() { return {
|
|
@@ -13469,7 +13746,7 @@ class EdsSplashScreen {
|
|
|
13469
13746
|
}; }
|
|
13470
13747
|
}
|
|
13471
13748
|
|
|
13472
|
-
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}";
|
|
13749
|
+
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}";
|
|
13473
13750
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13474
13751
|
|
|
13475
13752
|
class EdsSteps {
|
|
@@ -13479,9 +13756,26 @@ class EdsSteps {
|
|
|
13479
13756
|
this.finished = createEvent(this, "finished", 7);
|
|
13480
13757
|
this.next = createEvent(this, "next", 7);
|
|
13481
13758
|
this.back = createEvent(this, "back", 7);
|
|
13759
|
+
this.handleTitleClick = (index) => {
|
|
13760
|
+
// 1) If clicking the current title, keep your existing toggle behavior
|
|
13761
|
+
if (index === this.activeStep) {
|
|
13762
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13763
|
+
this.step.emit(this.activeStep);
|
|
13764
|
+
return;
|
|
13765
|
+
}
|
|
13766
|
+
// 2) In linear mode, block jumping *forward* when current step is gated
|
|
13767
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13768
|
+
if (forwardBlocked) {
|
|
13769
|
+
return;
|
|
13770
|
+
} // do nothing when Next/Finish would be disabled
|
|
13771
|
+
// 3) Allow jumping back or forward when not gated
|
|
13772
|
+
this.activeStep = index;
|
|
13773
|
+
this.step.emit(this.activeStep);
|
|
13774
|
+
};
|
|
13482
13775
|
this.handleNext = () => {
|
|
13483
13776
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13484
13777
|
if (this.activeStep >= lastIndex) {
|
|
13778
|
+
this.activeStep = -1;
|
|
13485
13779
|
this.finished.emit();
|
|
13486
13780
|
return;
|
|
13487
13781
|
}
|
|
@@ -13551,21 +13845,35 @@ class EdsSteps {
|
|
|
13551
13845
|
? !!this.disableNext[index] // per-step
|
|
13552
13846
|
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13553
13847
|
}
|
|
13554
|
-
/** Render the semantic heading element */
|
|
13555
|
-
renderHeading(title) {
|
|
13848
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13849
|
+
renderHeading(title, index) {
|
|
13556
13850
|
const Tag = this.headingLevel;
|
|
13557
|
-
|
|
13851
|
+
if (this.type === 'linear') {
|
|
13852
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13853
|
+
const onKey = (e) => {
|
|
13854
|
+
if (forwardBlocked) {
|
|
13855
|
+
return;
|
|
13856
|
+
}
|
|
13857
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
13858
|
+
e.preventDefault();
|
|
13859
|
+
this.handleTitleClick(index);
|
|
13860
|
+
}
|
|
13861
|
+
};
|
|
13862
|
+
const isOpen = this.activeStep === index;
|
|
13863
|
+
return (hAsync(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
13864
|
+
}
|
|
13865
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13558
13866
|
}
|
|
13559
13867
|
render() {
|
|
13560
13868
|
const steps = this.parsedSteps;
|
|
13561
13869
|
if (this.type === 'linear') {
|
|
13562
13870
|
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13563
13871
|
const isLast = index === steps.length - 1;
|
|
13564
|
-
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}` })))));
|
|
13872
|
+
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13565
13873
|
})));
|
|
13566
13874
|
}
|
|
13567
13875
|
// Static: no navigation buttons
|
|
13568
|
-
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 }))))))));
|
|
13876
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13569
13877
|
}
|
|
13570
13878
|
get el() { return getElement(this); }
|
|
13571
13879
|
static get watchers() { return {
|
|
@@ -13591,7 +13899,7 @@ class EdsSteps {
|
|
|
13591
13899
|
}; }
|
|
13592
13900
|
}
|
|
13593
13901
|
|
|
13594
|
-
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}";
|
|
13902
|
+
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}";
|
|
13595
13903
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13596
13904
|
|
|
13597
13905
|
class EdsStepsV2 {
|
|
@@ -13601,14 +13909,29 @@ class EdsStepsV2 {
|
|
|
13601
13909
|
this.finished = createEvent(this, "finished", 7);
|
|
13602
13910
|
this.next = createEvent(this, "next", 7);
|
|
13603
13911
|
this.back = createEvent(this, "back", 7);
|
|
13912
|
+
this.handleTitleClick = (index) => {
|
|
13913
|
+
// If clicking the same title, keep your existing toggle behavior
|
|
13914
|
+
if (index === this.activeStep) {
|
|
13915
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13916
|
+
this.step.emit(this.activeStep);
|
|
13917
|
+
return;
|
|
13918
|
+
}
|
|
13919
|
+
// Block *forward* jumps when progression is gated by disableNext (boolean)
|
|
13920
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
|
|
13921
|
+
if (forwardBlocked) {
|
|
13922
|
+
return;
|
|
13923
|
+
}
|
|
13924
|
+
// Allow back (or forward when not gated)
|
|
13925
|
+
this.activeStep = index;
|
|
13926
|
+
this.step.emit(this.activeStep);
|
|
13927
|
+
};
|
|
13604
13928
|
this.handleNext = () => {
|
|
13605
13929
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13606
13930
|
if (this.activeStep >= lastIndex) {
|
|
13607
|
-
// Finish
|
|
13608
13931
|
this.finished.emit();
|
|
13932
|
+
this.activeStep = -1; // collapse last step
|
|
13609
13933
|
return;
|
|
13610
13934
|
}
|
|
13611
|
-
// Next
|
|
13612
13935
|
const target = this.activeStep + 1;
|
|
13613
13936
|
this.next.emit(target);
|
|
13614
13937
|
if (!this.disableNext) {
|
|
@@ -13679,16 +14002,33 @@ class EdsStepsV2 {
|
|
|
13679
14002
|
get parsedSteps() {
|
|
13680
14003
|
return parseData(this.steps);
|
|
13681
14004
|
}
|
|
14005
|
+
isNextDisabledForCurrent() {
|
|
14006
|
+
return !!this.disableNext;
|
|
14007
|
+
}
|
|
13682
14008
|
/** Render the semantic heading element */
|
|
13683
|
-
renderHeading(title) {
|
|
14009
|
+
renderHeading(title, index) {
|
|
13684
14010
|
const Tag = this.headingLevel;
|
|
13685
|
-
|
|
14011
|
+
if (this.type === 'linear') {
|
|
14012
|
+
const isOpen = this.activeStep === index;
|
|
14013
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledForCurrent();
|
|
14014
|
+
const onKey = (e) => {
|
|
14015
|
+
if (forwardBlocked) {
|
|
14016
|
+
return;
|
|
14017
|
+
}
|
|
14018
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
14019
|
+
e.preventDefault();
|
|
14020
|
+
this.handleTitleClick(index);
|
|
14021
|
+
}
|
|
14022
|
+
};
|
|
14023
|
+
return (hAsync(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
14024
|
+
}
|
|
14025
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13686
14026
|
}
|
|
13687
14027
|
render() {
|
|
13688
14028
|
const steps = this.parsedSteps;
|
|
13689
|
-
return (hAsync("div", { key: '
|
|
14029
|
+
return (hAsync("div", { key: 'b486aa34dfab4902cd6569cc2ce228104ca536cd', class: this.articleClasses() }, this.imageSrc ? (hAsync("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, hAsync("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (hAsync("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, hAsync("div", { class: "p-24" }, hAsync("span", { class: "text-inverse f-heading-04 " }, this.message))))), hAsync("div", { key: 'e2a928ecb67caed4885c9e364621b422249610f1', class: "pb-20 px-8" }, this.type === 'linear' ? (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: index === 0 ? 'step' : 'step space-y-16', key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: index === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
|
|
13690
14030
|
// Static mode: show all steps with their content.
|
|
13691
|
-
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 })))))))))));
|
|
14031
|
+
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
13692
14032
|
}
|
|
13693
14033
|
get el() { return getElement(this); }
|
|
13694
14034
|
static get watchers() { return {
|
|
@@ -13768,11 +14108,11 @@ class EdsSwitch {
|
|
|
13768
14108
|
: this.labelOff
|
|
13769
14109
|
: 'Toggle switch'
|
|
13770
14110
|
: undefined;
|
|
13771
|
-
return (hAsync("div", { key: '
|
|
14111
|
+
return (hAsync("div", { key: 'd73bf797be76e256e065ab8b4fbe68a44802d3f1', class: "switch-container" }, this.labelOff && (hAsync("span", { key: 'f4897e3d9948358a82bd61ea26c86e0d2eba81b5', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), hAsync("button", { key: 'a01753fce0fedbf8a25d2cd64c662da8e69fef95', id: switchId, tabindex: this.disabled ? '-1' : '0', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-labelledby": labelledBy.length > 0 ? labelledBy.join(' ') : undefined, "aria-label": accessibleLabel, class: {
|
|
13772
14112
|
switch: true,
|
|
13773
14113
|
'switch--checked': this.checked,
|
|
13774
14114
|
'switch--disabled': this.disabled
|
|
13775
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
14115
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: 'eee315ce803b246cbe73e9d42635cbaa775febdb', class: "switch-handle" })), this.labelOn && (hAsync("span", { key: 'f1229ffea8041dea2237a032292a4465fc76e216', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
13776
14116
|
}
|
|
13777
14117
|
get el() { return getElement(this); }
|
|
13778
14118
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -14026,7 +14366,7 @@ class EdsTable {
|
|
|
14026
14366
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
14027
14367
|
const paginatedRows = this.getPaginatedRows();
|
|
14028
14368
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
14029
|
-
return (hAsync("div", { key: '
|
|
14369
|
+
return (hAsync("div", { key: '0c986dec22a52676b110fad1f7f82ef792da796e' }, this.searchEnabled && (hAsync("div", { key: '855c5c3d6c2b86e75a210c0296524bc8029e37f2' }, hAsync("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: '62b18340bbf992dba888c2d24ff306ada8a1a985', class: "mt-20" }, hAsync("table", { key: '656dd0dd7f99611c2bd9beea4cd1f37f57da1384', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '1278ea89f588aa52c215c32bcc03c424e4501fed' }, hAsync("tr", { key: '186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14030
14370
|
var _a;
|
|
14031
14371
|
if (col === 'actions') {
|
|
14032
14372
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -14035,7 +14375,7 @@ class EdsTable {
|
|
|
14035
14375
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
14036
14376
|
}
|
|
14037
14377
|
return null;
|
|
14038
|
-
}))), hAsync("tbody", { key: '
|
|
14378
|
+
}))), hAsync("tbody", { key: 'b27bd372efe64469d2a5001dc6d5b464eb419217' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14039
14379
|
var _a;
|
|
14040
14380
|
if (col === 'actions') {
|
|
14041
14381
|
return (hAsync("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, hAsync("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
@@ -14050,7 +14390,7 @@ class EdsTable {
|
|
|
14050
14390
|
return (hAsync("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
|
|
14051
14391
|
}
|
|
14052
14392
|
return null;
|
|
14053
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14393
|
+
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: 'd442153f48c85c6de1a0752d1348d8814811faed', class: "mt-20" }, hAsync("eds-pagination", { key: '4c48c96eacb112002b0110e85dce0dab94350dfb', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
14054
14394
|
}
|
|
14055
14395
|
get hostEl() { return getElement(this); }
|
|
14056
14396
|
static get watchers() { return {
|
|
@@ -14261,12 +14601,12 @@ class EdsTabs {
|
|
|
14261
14601
|
}
|
|
14262
14602
|
}
|
|
14263
14603
|
render() {
|
|
14264
|
-
return (hAsync("div", { key: '
|
|
14604
|
+
return (hAsync("div", { key: 'bab7b3d6a9e6e66ab6476827ecc06a3e3c7244be', id: `${this.identifier}` }, hAsync("div", { key: 'e20639e1842936b6c1fe24b19ca7f94ccc09d18f', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, hAsync("nav", { key: 'e3f4e385e1bfb1f5abc75697697ab9a6a8124b6b', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
14265
14605
|
const TabComponent = 'button';
|
|
14266
14606
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14267
14607
|
const isActive = index === this.activeIndex;
|
|
14268
14608
|
return (hAsync(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
|
|
14269
|
-
}))), hAsync("div", { key: '
|
|
14609
|
+
}))), hAsync("div", { key: 'f958fca5abaeeba0b6fcc900b91fa1309508dc57', class: "tab-panels" }, this.parsedTabs.map((_, index) => (hAsync("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, hAsync("slot", { name: `panel-${index}` })))))));
|
|
14270
14610
|
}
|
|
14271
14611
|
get el() { return getElement(this); }
|
|
14272
14612
|
static get watchers() { return {
|
|
@@ -14329,7 +14669,7 @@ class EdsTag {
|
|
|
14329
14669
|
}
|
|
14330
14670
|
render() {
|
|
14331
14671
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14332
|
-
return hAsync("span", { key: '
|
|
14672
|
+
return hAsync("span", { key: 'a00f436391013091c78f15bc53d91b0b01d8f4bb', class: classes }, this.label);
|
|
14333
14673
|
}
|
|
14334
14674
|
static get style() { return EdsTagStyle0; }
|
|
14335
14675
|
static get cmpMeta() { return {
|
|
@@ -14391,7 +14731,7 @@ class EdsTimeline {
|
|
|
14391
14731
|
}
|
|
14392
14732
|
}
|
|
14393
14733
|
render() {
|
|
14394
|
-
return (hAsync("div", { key: '
|
|
14734
|
+
return (hAsync("div", { key: '32a281ea95b422dce623838fb46b2baf2362618d', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '8709096bd0e6826888ded5656a68e88a60229927', class: "relative" }, hAsync("div", { key: '41fab313fc2d44e63a5b83b90c24650e8d8de74e', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: '8b386581105a89c677fe374e8248f67bf3ec07cd', class: "space-y-16" }, this.parsedEvents.map((event, index) => (hAsync("div", { class: "relative flex" }, hAsync("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
14395
14735
|
? [{ label: 'completed', style: 'accent' }]
|
|
14396
14736
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), hAsync("div", { class: "flex items-center justify-center relative" }, event.completed ? (hAsync("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (hAsync("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), hAsync("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
14397
14737
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14565,7 +14905,7 @@ class EdsToastManager {
|
|
|
14565
14905
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14566
14906
|
}
|
|
14567
14907
|
render() {
|
|
14568
|
-
return (hAsync("div", { key: '
|
|
14908
|
+
return (hAsync("div", { key: '52a933209ce89505ae72ab7f300fd052d03200ed', class: "toast-container" }, this.toasts.map((t) => (hAsync("div", { key: t.id }, hAsync("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
14569
14909
|
}
|
|
14570
14910
|
get hostElement() { return getElement(this); }
|
|
14571
14911
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14604,7 +14944,7 @@ class EdsTooltip {
|
|
|
14604
14944
|
}
|
|
14605
14945
|
render() {
|
|
14606
14946
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14607
|
-
return (hAsync("div", { key: '
|
|
14947
|
+
return (hAsync("div", { key: 'c2ae55fbf9fefb2748db770d98f12f679022a416', class: "relative w-full inline-block group" }, hAsync("slot", { key: '5151e3269cb39d3caba960eee7155a3d5171c8cd' }), hAsync("div", { key: '8956683d968d77d88133dc231975d258aca3d1d3', class: `absolute ${positionClass}
|
|
14608
14948
|
rounded-xs bg-strongest text-inverse
|
|
14609
14949
|
f-ui-03-light pointer-events-none
|
|
14610
14950
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -14668,7 +15008,7 @@ class EdsTrl {
|
|
|
14668
15008
|
Application: { format: 'code' },
|
|
14669
15009
|
'Current TRL Stage': { format: 'text' }
|
|
14670
15010
|
};
|
|
14671
|
-
return (hAsync("div", { key: '
|
|
15011
|
+
return (hAsync("div", { key: 'f83fab1ad31bef37b5239c67e635d26d22714e3f', class: "container mx-auto px-4 py-8" }, hAsync("eds-table", { key: '594b47098606f772f043da8171a11d5dcbb0513f', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
14672
15012
|
}
|
|
14673
15013
|
static get cmpMeta() { return {
|
|
14674
15014
|
"$flags$": 0,
|
|
@@ -14699,7 +15039,9 @@ class EdsUser {
|
|
|
14699
15039
|
};
|
|
14700
15040
|
this.user = undefined;
|
|
14701
15041
|
this.intent = 'tertiary';
|
|
15042
|
+
this.dropdownLabel = 'Account';
|
|
14702
15043
|
this.expanded = false;
|
|
15044
|
+
this.shortMode = false;
|
|
14703
15045
|
}
|
|
14704
15046
|
/**
|
|
14705
15047
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14723,10 +15065,15 @@ class EdsUser {
|
|
|
14723
15065
|
const initials = `${((_a = user.given_name) === null || _a === void 0 ? void 0 : _a.charAt(0)) || ''}${((_b = user.family_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}`.toUpperCase();
|
|
14724
15066
|
return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
|
|
14725
15067
|
}
|
|
15068
|
+
async closeDropdown() {
|
|
15069
|
+
var _a;
|
|
15070
|
+
await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
|
|
15071
|
+
this.expanded = false;
|
|
15072
|
+
}
|
|
14726
15073
|
render() {
|
|
14727
15074
|
const user = this.parsedUser;
|
|
14728
15075
|
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
14729
|
-
return (hAsync("div", { key: '
|
|
15076
|
+
return (hAsync("div", { key: '68836f7fc63986d1ef1e5d1775258358db3418c6', class: "block" }, hAsync("div", { key: '3b5be3d2d700ce3e1a800c33adde9b55bb07fda0', class: "flex items-center" }, hAsync("eds-dropdown", { key: 'f3f97f19aac315031f428d190f1e143429bcd860', ref: (el) => (this.dropdownEl = el), label: this.dropdownLabel, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, hAsync("div", { key: '6a6bccaa4e8b0e68460ac50e3edc8d9fc3612e00', class: "min-w-[280px] p-8" }, hAsync("div", { key: '97a9b4d9c0e0873162103461a542cf401be06c2f', class: "flex gap-x-16", "data-dropdown-no-close": true }, hAsync("eds-avatar", { key: 'f89cee9f0ad6549e60ebb3ade437d1dd0c2e6eb6', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), hAsync("div", { key: 'b9fc649a35280ecebe57955b85844f3a78c4db04', class: "max-w-full" }, user.name && hAsync("p", { key: 'b2914fca3ddabc4d12fa2c6cee83a98505fd110a', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && hAsync("p", { key: '68ec348104e36b6fbf9c5fc47e254f3cfc4ca85b', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && hAsync("p", { key: '3b7720aaa30597a49acf61b6c3ff0c1f1cc3bfd8', class: "f-ui-03-light text-light mt-4" }, user.email))), hAsync("div", { key: '28cdba1fb361b84e9cb0a7ce904ec39cf13d022e', class: "text-default flex w-full flex-col gap-y-8" }, hAsync("slot", { key: 'c1cddbb24c72749c4ea07e2e0311da61af6e9886' })))))));
|
|
14730
15077
|
}
|
|
14731
15078
|
get hostEl() { return getElement(this); }
|
|
14732
15079
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14736,7 +15083,10 @@ class EdsUser {
|
|
|
14736
15083
|
"$members$": {
|
|
14737
15084
|
"user": [1025],
|
|
14738
15085
|
"intent": [1],
|
|
14739
|
-
"
|
|
15086
|
+
"dropdownLabel": [1, "dropdown-label"],
|
|
15087
|
+
"expanded": [32],
|
|
15088
|
+
"shortMode": [32],
|
|
15089
|
+
"closeDropdown": [64]
|
|
14740
15090
|
},
|
|
14741
15091
|
"$listeners$": undefined,
|
|
14742
15092
|
"$lazyBundleId$": "-",
|
|
@@ -14779,7 +15129,7 @@ class GradientPrimaryPalette {
|
|
|
14779
15129
|
];
|
|
14780
15130
|
}
|
|
14781
15131
|
render() {
|
|
14782
|
-
return (hAsync("ul", { key: '
|
|
15132
|
+
return (hAsync("ul", { key: 'd32c7b63fb32b92f89a9220e5cd5ff8164865913', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14783
15133
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14784
15134
|
} }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16" }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
14785
15135
|
}
|
|
@@ -14852,19 +15202,19 @@ class GradientSecondaryPalette {
|
|
|
14852
15202
|
];
|
|
14853
15203
|
}
|
|
14854
15204
|
render() {
|
|
14855
|
-
return (hAsync("div", { key: '
|
|
15205
|
+
return (hAsync("div", { key: 'f38bc0f352adeca4bb3c12952d8c7e2431d93874' }, hAsync("ul", { key: '9e00842d3198dace6812197b1ced7b776e3808f4', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'a1f77c93d7ff5de2ab38018278e47530951076cc', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '6abb51d7e4cbe6f48610009e65876cd41d8f435d', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14856
15206
|
background: this.colors[0].background
|
|
14857
|
-
} }, hAsync("div", { key: '
|
|
15207
|
+
} }, hAsync("div", { key: 'e7399fcf955836f47e90e1ab822abf2ec0c0ceae', class: "grid" }, hAsync("span", { key: 'fb245a27f7189381ee8103c21c61d0823c12b4c3', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '6dc6be165b89266e9b45153dc411ab5692e37ebe', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '196331f3cd83f67e3fbceddc669c0b4c10ad26d3', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'a3547fa7c138e87fa637ef7341dde49595a213e2', class: "grid" }, hAsync("span", { key: '73eee49a4fe2e3fe657dfb5a90b3f8cdd224eff2', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: '553c7eb15580455f77b8165bd8a0c8b397d46a4e', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: '1e1c3d2620ef2dac2cd1f7bea0fa99b01c6afcac', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14858
15208
|
background: this.colors[1].background
|
|
14859
|
-
} }, hAsync("div", { key: '
|
|
15209
|
+
} }, hAsync("div", { key: '1679cca6a6f80765ac163e076b26925065479ad8', class: "grid" }, hAsync("span", { key: '948c1931b138ccc0f8da013735cec94a2b8de513', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '5b7c535631725e8e72b309ce6686bad8b1b384f3', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'ac2bb8a8ebf23134ea273d99dfb35ae5c849b071', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3ce37f99d9dcc8e049553e9029c8f79bedcab049', class: "grid" }, hAsync("span", { key: 'a1c80f90ec26b79cce11e08a723aec38ba14eeec', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '6828dc88ff57a288317fd36c5ae798615c41e045', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '7b9f28a342ee184e4201e9b2c1a510be7cccdb79' }), hAsync("ul", { key: '8378f6a199ad85a7a4d0c116f1e18dac51f7f76b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'df24c01a7e221fec7eebe08deb1905b2fd211215', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'f0202fc57ba9e6efbab92274144ac109fced963f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14860
15210
|
background: this.colors[2].background
|
|
14861
|
-
} }, hAsync("div", { key: '
|
|
15211
|
+
} }, hAsync("div", { key: '49111de3251d10ae344587612cff95ac2c61bbfc', class: "grid" }, hAsync("span", { key: 'a4f8b4d521204cf2e9ed34fba25105a31bcf3a2a', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '577de0d99f7f5e052ca9528ba5543070439ec1c1', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'b98a82856c805c3bd56d5e8c581c09c640e146a1', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1c53a8f62d1facc76863611d640938469e6647ce', class: "grid" }, hAsync("span", { key: 'e8e4bdb60c34bc9af133195192afd698ab7ae98e', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7d23875dce9d05f4deca3518006aac4b4baff061', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '84836d849380828bac1a05b3b1dd3f89a0f063da', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14862
15212
|
background: this.colors[3].background
|
|
14863
|
-
} }, hAsync("div", { key: '
|
|
15213
|
+
} }, hAsync("div", { key: '0034acff755db241107d6bdf205f15b048ef2073', class: "grid" }, hAsync("span", { key: '59c0066f512154c4c8dc75e929d5f84008bf08c7', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '83f2adc0b2adabc37b53859232b75f1b3c957051', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'dc45ae65d0b116dcd25a0da752034f5527421a82', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '3df3bda4c749e858cd9e484906677bbd99fa67c5', class: "grid" }, hAsync("span", { key: '0730784062ec6c4cb548b1044031361d2cd939a1', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '7a6ae957274e730b25727671ef43feff3af1fd63', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: '6d18529316515757e95dea2820861cb5d4fdd3b7' }), hAsync("ul", { key: '8f7a04a63e9846e6e220ee0ccd89a89901b925d8', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '32bcb0d0e33b06e5a4f9c2da67ac904d52df5959', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '3f38bd0f5b0d750daa0c6b80493d6ff9b249ebaf', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14864
15214
|
background: this.colors[4].background
|
|
14865
|
-
} }, hAsync("div", { key: '
|
|
15215
|
+
} }, hAsync("div", { key: '0171242f6197b3fb47d12e49837f28361a13c592', class: "grid" }, hAsync("span", { key: '1331a3a2234f83264efc62d4af972968247c3455', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '9caaef171b78feed4f2d6a5e7a4d81ffd1a87faf', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'e4d152f94f03dea39e1a0a6284d448f545c5c1a1', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '173cb0da7a293350c8aa82f83fd0305b9db3bb74', class: "grid" }, hAsync("span", { key: 'fc5d2f93f3d5963c5da938f86c0147de99426b72', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: 'c679055a29a477f85829fc0d9af84b6f6dc7ca08', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: '694abc4966e365267fe4536f891445bc36937290', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14866
15216
|
background: this.colors[5].background
|
|
14867
|
-
} }, hAsync("div", { key: '
|
|
15217
|
+
} }, hAsync("div", { key: '6e51b6e4134b2ba71880b271b7dac46d57de772c', class: "grid" }, hAsync("span", { key: 'a9671b440a17417746d54cae8e7c0ee2208bbce1', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: '4dd3bf0d00389d1ca9cd1529d1b6bdf9acd6291b', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: 'dc8e6956da3d6c6d539c194e101f8fa88cf1f08a', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1cd9760de92ebbd5e0f1710140fe41ddad3aae29', class: "grid" }, hAsync("span", { key: 'eec5ff4dd0b743a9b9b8640e4078c4d695dbcc15', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: '00db45cedd939950df3e4cd2540d0b80d61bd4b1', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
14868
15218
|
}
|
|
14869
15219
|
static get cmpMeta() { return {
|
|
14870
15220
|
"$flags$": 0,
|
|
@@ -14927,11 +15277,11 @@ class GradientSupportPalette {
|
|
|
14927
15277
|
];
|
|
14928
15278
|
}
|
|
14929
15279
|
render() {
|
|
14930
|
-
return (hAsync("ul", { key: '
|
|
15280
|
+
return (hAsync("ul", { key: '8eefaf781527a438aa6f0dcbbb6a7bfdffd69d38', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '8492ff1b709fa7d20f76fd18d7e9aa2bbfee17eb', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '3775884ad3c2b78ac178dbd003779d968022c981', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: '94d75d01276a3e4e41781550450318dac8f220e4', class: "grid" }, hAsync("span", { key: '729bda27271b7df5e7ec05eff89ff6116539d4b0', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'cb4b6bd1e3bfab381047b7375e547c662a5d50de', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '43c5df7d9cac3753f4a3c5d81e081f76606a5797', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '98aee106b847f1321591cfbfa2d5c22d0e2b3c2f', class: "grid" }, hAsync("span", { key: 'a3789c31e43eb6887b298eb353fde2be9134dd79', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '7195d70eaf994b4d1d1eb9a2ec0b684d62289e75', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: '81654a5fb216096e9818033a2b857eb723c2d373', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'd7b5ff16686894d0b06d2a291f6e7ababd5bfb02', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: 'fdbd11809337e535e819c5ce18d7427ae31ee70e', class: "grid" }, hAsync("span", { key: 'f108c9afa0fa02356395792bd7dd4a8a4c872d02', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '1e359cd78d80db5040c4cdff4dea30dd9387cfb2', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '1969dd093129596136b67cb972bece4e1d295fca', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '6858e8847dc5ce5baf79874a207f02953f84651e', class: "grid" }, hAsync("span", { key: '9eb2a2cafb5f2be23142752d2a48b35d0b8ab0c9', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: 'cc0b17b803f00030b5a6d5dd0070c62031e21125', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: '1e58c33fe358f33c30f8935f9205ef9c3008f907', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '2fc8ba7c13678d30002f07eea50f14ae1138d2ee', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14931
15281
|
background: this.colors[2].background
|
|
14932
|
-
} }, hAsync("div", { key: '
|
|
15282
|
+
} }, hAsync("div", { key: '18c781274b5f5054b454c00a34b45cdda4848826', class: "grid" }, hAsync("span", { key: '28ef2ea60735401f0234cea519d9ecff8c4e2694', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '2da6879adfc3b5f4992d0b107e40cf02db7a25c1', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: 'c442dcf09f129891355a8a42b742c10333338e8b', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '9dffa371f8a1c3002c35634eb2fb487011c71f90', class: "grid" }, hAsync("span", { key: '65c50e09e5275ebf7d159228b9cbc07602667ba6', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7bb7a1a6a1988b2b65783ed792085e257703466b', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: 'cc69e3020f50b302b1e4f3d6b37477fb868f7906', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14933
15283
|
background: this.colors[3].background
|
|
14934
|
-
} }, hAsync("div", { key: '
|
|
15284
|
+
} }, hAsync("div", { key: 'c59d2d743b0fb9fe5796407df80a81be410be47d', class: "grid" }, hAsync("span", { key: 'bcf7f280d8e1a74dfe157a1c996a89cebcb42d40', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: 'dd7beff9e6336784ba7cb77692f6ac4ea42b8204', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '4bafc48fddad31a1c2a4e08cd0148c6df8f332ae', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'c1fe6efeec78fed5be26568e0ebea3b56d16f070', class: "grid" }, hAsync("span", { key: '930e80dbed784ddf4364be16649624118541e570', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '8b7357d66a1b47347df67abcda6107572cb019f9', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: 'dc86699c8029642eb73c4679a49d5ff844f2924c', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'dbfa8b4899292fec628dc410d70e0c306d0f378c', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: '2e3c528ed9efc681a09858e85230f5fdd36cf845', class: "grid" }, hAsync("span", { key: '4b607cdc825ba567d86f3536ec7bb1148e09d854', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: 'dda453cb7a8ebb420896e460802f7d917916ccd4', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: '8ae119f9f823401ebcf3020069e614e991052529', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '1ac0ea0d52a00a7f8b45206bdd3d647ba221e429', class: "grid" }, hAsync("span", { key: '58c93b7dacd8a2766a8cb5d23c536a065ca64b22', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: '70359540a3662ba14dbd8c08e4033d5bcd4c1a0d', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
14935
15285
|
}
|
|
14936
15286
|
static get cmpMeta() { return {
|
|
14937
15287
|
"$flags$": 0,
|
|
@@ -14985,7 +15335,7 @@ class IncorrectUseOfColors {
|
|
|
14985
15335
|
registerInstance(this, hostRef);
|
|
14986
15336
|
}
|
|
14987
15337
|
render() {
|
|
14988
|
-
return (hAsync("div", { key: '
|
|
15338
|
+
return (hAsync("div", { key: '9822fa84b1af42bc1f1eb31bae9b60736f27c692', class: "container" }, hAsync("div", { key: 'c67d9626f5ceba5fcde0cb279fb9d15c73166cfb', class: "mb-8" }, hAsync("eds-alert", { key: '898d449b311306781b323968edb0c2d7e03b0d32', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), hAsync("div", { key: '2409916ecc2de685042d1f93f02d656270457a19', class: "flex" }, hAsync("div", { key: '305965230c45b879c68004ca985f8d6e9b4482ab', class: "w-full" }, hAsync("ul", { key: 'a66a5a76d3d1d7167b0655e7a1af9310655b9881', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), hAsync("div", { key: 'e962b2b3bff48395983243ac2cf877d03ced85b6', class: "w-full" }, hAsync("ul", { key: '38a2b41471334181fc3e70dd7eaf10b957bdaada', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
14989
15339
|
}
|
|
14990
15340
|
static get cmpMeta() { return {
|
|
14991
15341
|
"$flags$": 0,
|
|
@@ -15008,7 +15358,7 @@ class LogoSpace {
|
|
|
15008
15358
|
registerInstance(this, hostRef);
|
|
15009
15359
|
}
|
|
15010
15360
|
render() {
|
|
15011
|
-
return (hAsync("div", { key: '
|
|
15361
|
+
return (hAsync("div", { key: 'b07b6c2b9e042c3c330de470cf2e792285362a0f', class: "container" }, hAsync("ul", { key: '40cb4cca1a4b42026becc95a46a380e23ed77723', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'aabdf6b8bf59cd755976ae99b79dca074e904c71', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '4f3b6da2c7f238b814c8a8537d6246215e935a26', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), hAsync("li", { key: 'b8ee9f87dc5140b964f20600cad7ec65dc6c9837', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: 'ac4e8c0cdd8f2f206f9ead55806b32425279c8ee', class: "text-center mt-16" }, hAsync("p", { key: '0db3cdd9c348fa3855f995363fc3cd872b6da2c4', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), hAsync("eds-table", { key: '9bd39257f807324aa45013009ebbe08c1a8b2ee7', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), hAsync("li", { key: '27789915053632c4fa664363b4e2fbdd5524569c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
15012
15362
|
}
|
|
15013
15363
|
static get style() { return LogoSpaceStyle0; }
|
|
15014
15364
|
static get cmpMeta() { return {
|
|
@@ -15032,7 +15382,7 @@ class LogoVariationsHorizontal {
|
|
|
15032
15382
|
registerInstance(this, hostRef);
|
|
15033
15383
|
}
|
|
15034
15384
|
render() {
|
|
15035
|
-
return (hAsync("div", { key: '
|
|
15385
|
+
return (hAsync("div", { key: '148d0694cc666c2048a65f035e3b423f14721a24', class: "container" }, hAsync("ul", { key: '577efdbf7af11206706768435afcf949e704c16a', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'e280ee9020e2750a2f3637a01cf623ccc0b94bfe', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: 'a5be5fc2dae4b966722d0ad69510f6622882aa99', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: 'e20d0633cc5c1c6f61c8147d55b7dd228c774f99', class: "coloured" }, hAsync("eds-logo", { key: '2a5a4eea4c70fadfcaef15c5b2c498b833231603', type: "no-bg", href: "#" }))), hAsync("li", { key: '6da7cc2329e7abcccfe3d2a0f095320d33b6272e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '5dcb436091288a40213ad53fff116c0a18fd8626', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'e0f165856fb0a693ca2a655b5f6beb8f37810905', class: "bg-default" }, hAsync("eds-logo", { key: 'ca1d9b99e93b458c9a4c59389ade43db1aedd473', type: "black", href: "#" }))), hAsync("li", { key: '8ae1f94da858d44f7efa0d7c2c4d83b8e1780bf6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: 'dcd75bb1f4717a6d8b34f522c25b04a976bcbdea', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: '11f500da753124767502a09824007bef6586b445' }, hAsync("eds-logo", { key: '95ed147e3a5284960d5c740841620d622537cc3c', type: "color-white", href: "#" }))))));
|
|
15036
15386
|
}
|
|
15037
15387
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
15038
15388
|
static get cmpMeta() { return {
|
|
@@ -15064,7 +15414,7 @@ class LogoVariationsTabs {
|
|
|
15064
15414
|
}
|
|
15065
15415
|
}
|
|
15066
15416
|
render() {
|
|
15067
|
-
return hAsync("div", { key: '
|
|
15417
|
+
return hAsync("div", { key: '5e6042f51c956138d571256803766ef2497ca160', class: "container" }, this.renderContent());
|
|
15068
15418
|
}
|
|
15069
15419
|
static get cmpMeta() { return {
|
|
15070
15420
|
"$flags$": 0,
|
|
@@ -15091,7 +15441,7 @@ class LogoVariationsVertical {
|
|
|
15091
15441
|
this.type = undefined;
|
|
15092
15442
|
}
|
|
15093
15443
|
render() {
|
|
15094
|
-
return (hAsync("div", { key: '
|
|
15444
|
+
return (hAsync("div", { key: '33670ab1d0922b7ce5d561ae1bcb25d85cdf3ecb', class: "container" }, hAsync("ul", { key: '7b05bb7f6e1699766f6d0321762f0ef66ab3b306', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'f64a1ad98d1c126581283ed16b665dea3fa1d03e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '41c416c593cacad33a826c76e6617bc6c6b5b9e3', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '9bf761058eb7581b949af689a0341dc2a8b85b24', class: "mx-auto coloured w-[300px]" }, hAsync("eds-logo", { key: 'eb04b74cf4feb3054ba5b769fd7690281dbf768b', orientation: "vertical", type: "no-bg", href: "#" }))), hAsync("li", { key: '15eede1e668a9012de6ab03dde25b5e4c51605c6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '8d99d4f4caf4ef224fb691fdebfd3048075db0c0', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'f4b55a2fc4305075270e9e4a6149be5278fe3618', class: "mx-auto bg-default w-[300px]" }, hAsync("eds-logo", { key: '38ca84d79e788b92ce2489e19f35b8ba989313f2', orientation: "vertical", type: "black", href: "#" }))), hAsync("li", { key: 'e6193b54d8b8cda2dc44bce2b983af7e7f3db0b3', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("p", { key: '2564444f18acf01edd3caa3e4df06a0a54cad60a', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: '70db409bd6dfd47bb66cef38059a52a9b0556e14', class: "mx-auto w-[300px]" }, hAsync("eds-logo", { key: '567844257939403cee8d4ce76b84dfdc12df97d1', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
15095
15445
|
}
|
|
15096
15446
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15097
15447
|
static get cmpMeta() { return {
|
|
@@ -15118,7 +15468,7 @@ class LogoWrongUsage {
|
|
|
15118
15468
|
registerInstance(this, hostRef);
|
|
15119
15469
|
}
|
|
15120
15470
|
render() {
|
|
15121
|
-
return (hAsync("div", { key: '
|
|
15471
|
+
return (hAsync("div", { key: 'a5d22b7db9bf43fa54d7e0fe611b819e374b6f6b', class: "container" }, hAsync("ul", { key: 'a2d9ebad864822e00db5bb207caf599de80be433', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'ad449a11eb8e1404a47266adb9072efa0c182752', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '3f9ab867a20bc72e15c5403683d50b0f86c18727', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), hAsync("p", { key: '8a9ebdfd97d048e046adc85f182657c065d7c5e2', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), hAsync("li", { key: '621dc6459bd6934ada8cbbcb99e848464c6d7719', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: 'be8c7b7fc30111d6bd7e7803d4a47b58ab8275f9', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), hAsync("p", { key: '1e458e14065bc2f064c29f03e7047578837e8dbf', class: "f-ui-02 text-center" }, "Do not apply other colors")), hAsync("li", { key: '92f588b1b08e74ae6de62037c611cd2c07c2d0f6', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '1a8b871c1887b96183efc5a884085cd627a5dd03', class: "mx-auto distorted logo", innerHTML: hLogoColor }), hAsync("p", { key: '2ca68cc09eac491203fec3d84b19623dfc1c0433', class: "f-ui-02 text-center" }, "Do not deform the logo")), hAsync("li", { key: 'ee43635fa2d0dff9b9a5ea76127f5a35d1863c2a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '3176d2dbec423d743b8d05c64d7a21088bf830a1', class: "mx-auto effects logo", innerHTML: hLogoColor }), hAsync("p", { key: '1148d744012e92f34ac48a2b69c3fb6451e4f844', class: "f-ui-02 text-center" }, "Do not apply effects")), hAsync("li", { key: 'acde874cf0fd644ec0edc7350fc038e0ae13719d', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '27b2b50f017142b1e9638baf1865fd804ba9121d', class: "mx-auto rotated logo", innerHTML: hLogoColor }), hAsync("p", { key: '28dfe52d02bdb82f29947227a9a9a699aabf82ef', class: "f-ui-02 text-center" }, "Do not rotate the logo")), hAsync("li", { key: 'e754250d250603022bb031e66e7fd8e8e0f04155', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '042817f8f946a10372439398e4f6dd3c0fc182f6', class: "mx-auto outlined logo", innerHTML: hLogoColor }), hAsync("p", { key: 'f5136df73757f3ebd3c954f3aa5f9e47d7907c64', class: "f-ui-02 text-center" }, "Do not apply outlines")), hAsync("li", { key: '6e30b4684ebe21136ddecef9e879024ce93206ad', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, hAsync("div", { key: '29ceba568f002cf04a810546ac76ed4d4a0c63fd', class: "mx-auto" }, hAsync("div", { key: '53976603b457baf9d28f4216b2ef54284467ffd7', class: "bg-accent p-16" }, hAsync("div", { key: 'bdce208801ad76f3f8fd1639ca08b3a341ccf014', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: '97e656465d81823f22593dd8ec936dde966560e0', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
|
|
15122
15472
|
}
|
|
15123
15473
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15124
15474
|
static get cmpMeta() { return {
|
|
@@ -15162,7 +15512,7 @@ class SvgRepository {
|
|
|
15162
15512
|
icon: { format: 'svg' },
|
|
15163
15513
|
name: { format: 'bold' }
|
|
15164
15514
|
};
|
|
15165
|
-
return (hAsync("div", { key: '
|
|
15515
|
+
return (hAsync("div", { key: '9e4eb1306b8d43f5879b2e7c0ef0019f83c0b3b5', class: "full-width" }, hAsync("eds-table", { key: '3b6349562155ffed788587d39a82d0a2fb9798bb', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
15166
15516
|
}
|
|
15167
15517
|
get hostEl() { return getElement(this); }
|
|
15168
15518
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15419,7 +15769,7 @@ class TokenList {
|
|
|
15419
15769
|
render() {
|
|
15420
15770
|
// Check if `show` prop is provided; if not, display all sections
|
|
15421
15771
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15422
|
-
return (hAsync("section", { key: '
|
|
15772
|
+
return (hAsync("section", { key: 'db196307702df28bf9e2f7fb0b87298bf84baabb', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15423
15773
|
// Only render sections that exist in `colors`
|
|
15424
15774
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15425
15775
|
}
|
|
@@ -15452,7 +15802,7 @@ class TokenRadii {
|
|
|
15452
15802
|
registerInstance(this, hostRef);
|
|
15453
15803
|
}
|
|
15454
15804
|
render() {
|
|
15455
|
-
return (hAsync("section", { key: '
|
|
15805
|
+
return (hAsync("section", { key: 'bdd584d53625299e4faa9a28f6f259bc5587b125', class: "w-full mt-28" }, hAsync("ul", { key: '3076e4efcca5749cc07e69df70ce2658d6186ec6', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: `w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, hAsync("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), hAsync("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
|
|
15456
15806
|
}
|
|
15457
15807
|
static get cmpMeta() { return {
|
|
15458
15808
|
"$flags$": 0,
|
|
@@ -15481,7 +15831,7 @@ class TokenRatios {
|
|
|
15481
15831
|
registerInstance(this, hostRef);
|
|
15482
15832
|
}
|
|
15483
15833
|
render() {
|
|
15484
|
-
return (hAsync("section", { key: '
|
|
15834
|
+
return (hAsync("section", { key: '83fc87fd64531611114fe47d977dc54b6af1d327', class: "w-full" }, hAsync("eds-section-core", { key: 'b0b72d4f387cd48f4905c68b9f05ac3058d359c1', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: 'af5677bb15a4ffb008fd90bdfdfb1b757a36e138', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
|
|
15485
15835
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15486
15836
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15487
15837
|
maxWidth: '300px'
|
|
@@ -15523,7 +15873,7 @@ class TokenShadows {
|
|
|
15523
15873
|
registerInstance(this, hostRef);
|
|
15524
15874
|
}
|
|
15525
15875
|
render() {
|
|
15526
|
-
return (hAsync("section", { key: '
|
|
15876
|
+
return (hAsync("section", { key: 'a2fbc57c2153391bc53b47a263488118ca3aa01a', class: "w-full mt-28" }, hAsync("ul", { key: 'e4e2d6cbc8d1510ede2b678b24ce8b34b838888f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, hAsync("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), hAsync("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
|
|
15527
15877
|
}
|
|
15528
15878
|
static get cmpMeta() { return {
|
|
15529
15879
|
"$flags$": 0,
|
|
@@ -15543,7 +15893,7 @@ class TokenSpacing {
|
|
|
15543
15893
|
registerInstance(this, hostRef);
|
|
15544
15894
|
}
|
|
15545
15895
|
render() {
|
|
15546
|
-
return (hAsync("div", { key: '
|
|
15896
|
+
return (hAsync("div", { key: '46cb6fe655e9f8b8688f44e2351f3992e8011b2a', class: "w-full" }, hAsync("ul", { key: '9d7205ee2e0b3b0386284dc282fcc5375c43ec26', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'b3e9d62bb934c1b413712b182cfdf015484db525', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '78c8a23dcacfd216a6159da8af3809607ef29702', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '92a2938c5bdcb38456d96077f78993c711bc789f', class: "spacing-sample m-16 bg-strong" }, hAsync("span", { key: '7738363bee7cc25863bec922f55224044af61b6e', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), hAsync("li", { key: '96c1f622b7e4136cebd53862b79bbc17ad484a25', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'ff4357650e10f9e7a61903c3c9f6a4f4d60d8c73', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'cd07be06a51604f81f2868786028066f834cd87d', class: "spacing-sample ml-64 bg-strong" }, hAsync("span", { key: 'ded579013d8765c7802862b57cf2bf7ae03f1b99', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: 'a8e244c95f027993755fa567d900ff88ed08669b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'e3662c064d089089ebb796aadede38bbd7ebe69d', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'f168cbeaec417b0eccd66ed60f2776bdffdb7bfb', class: "spacing-sample mt-32 bg-strong" }, hAsync("span", { key: '696ec848f217896ae3fc06bf07546fe735d6ccd8', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: '5e5d4a63fd7e28114a87dfa5789f5213b6c057f3', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '14cb262cc18f340e72a922dc793244c17fa9fb05', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '791781717dc851f2e174277c557212e7e5c15b7a', class: "spacing-sample p-32 bg-strong" }, hAsync("span", { key: 'd1df2d8f2520746e49ec9c85d8e17cf5569c4bc5', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), hAsync("li", { key: '312e2c71672a05cc54cd492297a1cdcb2b11a395', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '8cd16bfafd2345b68e50a46c08c7a8f2430ee6ef', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '8f7e910d8fc43b596b35f3e72a48646e9550e8ba', class: "spacing-sample pt-32 bg-strong" }, hAsync("span", { key: '509c712085a239a435fc11f8ea7a6c9c788be60c', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: 'b99c86cd7dd23e7c091dd2c70ec42133d9d2e2ef', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '0e61fb5d7bf779eddc16c9627d6ca0ff6cf702e1', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'e65eb20ca88e563ae43eb0c208feacf7e310870f', class: "spacing-sample pl-32 bg-strong" }, hAsync("span", { key: '2a40e6977caccb37173f60de613c1a72b02f6d3e', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
15547
15897
|
}
|
|
15548
15898
|
static get cmpMeta() { return {
|
|
15549
15899
|
"$flags$": 0,
|
|
@@ -15761,7 +16111,7 @@ class TokenTypography {
|
|
|
15761
16111
|
registerInstance(this, hostRef);
|
|
15762
16112
|
}
|
|
15763
16113
|
render() {
|
|
15764
|
-
return (hAsync("section", { key: '
|
|
16114
|
+
return (hAsync("section", { key: 'ff15f73114d16107a766fe6fe8342315cf2fa542', class: "w-full" }, hAsync("ul", { key: '22e8e89e792fee03f1957e5705fca1938771b9ac', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
15765
16115
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15766
16116
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, hAsync("div", { class: "mr-auto hidden lg:block", style: {
|
|
15767
16117
|
fontFamily: typography.families.sans,
|
|
@@ -15820,6 +16170,7 @@ registerComponents([
|
|
|
15820
16170
|
EdsFrame,
|
|
15821
16171
|
EdsFullscreenMenu,
|
|
15822
16172
|
EdsGauge,
|
|
16173
|
+
EdsGlobalSearch,
|
|
15823
16174
|
EdsHeader,
|
|
15824
16175
|
EdsIconArrowDiagonal,
|
|
15825
16176
|
EdsIconArrowRight,
|