@ebrains/components 2.3.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_36.cjs.entry.js +42 -47
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-footer.cjs.entry.js +4 -2
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +7 -1
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-clone.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-download.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-draft.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-start.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-view.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +2 -2
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-social-networks.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +14 -14
- package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.js +4 -4
- package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.js +4 -2
- package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-form/eds-form.js +9 -10
- package/dist/collection/{shared-ui → components}/eds-form/eds-form.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.js +51 -1
- package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-header/eds-header.js +4 -18
- package/dist/collection/{shared-ui → components}/eds-header/eds-header.stories.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bin/eds-icon-bin.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-clone/eds-icon-clone.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +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.js +2 -2
- package/dist/collection/components/eds-nps/eds-npm.stories.js +1 -1
- 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/{shared-ui → components}/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.js +1 -1
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.js +4 -4
- package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.stories.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.js +2 -2
- package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.stories.js +1 -1
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-user/eds-user.js +1 -1
- package/dist/collection/{shared-ui → components}/eds-user/eds-user.stories.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-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +2 -2
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.stories.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +307 -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-card-section.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +4 -2
- package/dist/components/eds-form.js +9 -10
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +11 -3
- package/dist/components/eds-global-search.js +2 -2
- package/dist/components/eds-header.js +5 -10
- 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 +2 -2
- 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-steps2.js +2 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +1 -1
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-004801b2.entry.js +1 -0
- package/dist/components/p-02648f82.entry.js +1 -0
- package/dist/components/{p-a258d382.entry.js → p-0798d50d.entry.js} +1 -1
- package/dist/components/p-0ec9dcf5.entry.js +1 -0
- package/dist/components/p-0fb8511d.entry.js +1 -0
- package/dist/components/p-127870d7.entry.js +1 -0
- package/dist/components/p-12e153fb.entry.js +1 -0
- package/dist/components/p-1f80e708.entry.js +1 -0
- package/dist/components/p-24683124.entry.js +1 -0
- package/dist/components/p-2bfcb3cf.entry.js +1 -0
- package/dist/components/{p-067a184b.entry.js → p-2d6ca1c5.entry.js} +1 -1
- package/dist/components/p-2efa0ba6.entry.js +1 -0
- package/dist/components/p-33a639b5.entry.js +1 -0
- package/dist/components/p-36b17bf2.entry.js +1 -0
- package/dist/components/{p-e7b7179f.entry.js → p-398255ff.entry.js} +1 -1
- package/dist/components/p-3c478e74.entry.js +1 -0
- package/dist/components/{p-ad0519b7.entry.js → p-447e436c.entry.js} +1 -1
- package/dist/components/p-44d33938.entry.js +1 -0
- package/dist/components/p-4995b8b2.entry.js +1 -0
- package/dist/components/p-53343ea1.entry.js +1 -0
- package/dist/components/p-54e29971.entry.js +1 -0
- package/dist/components/p-56447243.entry.js +1 -0
- package/dist/components/p-56cc4a15.entry.js +1 -0
- package/dist/components/p-5ddcec77.entry.js +1 -0
- package/dist/components/p-5e8142ed.entry.js +1 -0
- package/dist/components/p-70f5e9f5.entry.js +1 -0
- package/dist/components/p-714445de.entry.js +1 -0
- package/dist/components/p-7436a99a.entry.js +1 -0
- package/dist/components/{p-1297d926.entry.js → p-75b40e57.entry.js} +1 -1
- package/dist/components/{p-9385c5fd.entry.js → p-76330532.entry.js} +1 -1
- package/dist/components/p-772d6ca9.entry.js +1 -0
- package/dist/components/p-79044ab6.entry.js +1 -0
- package/dist/components/{p-c8cba3a9.entry.js → p-7b0496b1.entry.js} +1 -1
- package/dist/components/{p-37a3d3ba.entry.js → p-7c7aaa95.entry.js} +1 -1
- package/dist/components/p-81ba0feb.entry.js +1 -0
- package/dist/components/p-82b357f7.entry.js +1 -0
- package/dist/components/{p-c12b0af1.entry.js → p-838d6773.entry.js} +1 -1
- package/dist/components/p-84239973.entry.js +1 -0
- package/dist/components/p-85dfbfd3.entry.js +1 -0
- package/dist/components/{p-1fad228f.entry.js → p-963feadd.entry.js} +1 -1
- package/dist/components/p-a155c283.entry.js +1 -0
- package/dist/components/p-a4080044.entry.js +1 -0
- package/dist/components/p-abd40167.entry.js +1 -0
- package/dist/components/p-ae41414e.entry.js +1 -0
- package/dist/components/p-afb55d52.entry.js +1 -0
- package/dist/components/{p-b9b6ac74.entry.js → p-b471922f.entry.js} +1 -1
- package/dist/components/p-b4c2c58d.entry.js +9 -0
- package/dist/components/{p-9c68934f.entry.js → p-b522fa70.entry.js} +1 -1
- package/dist/components/p-b6fc1a7d.entry.js +1 -0
- package/dist/components/p-b8a36d0f.entry.js +1 -0
- package/dist/components/{p-d650c6c3.entry.js → p-b8b4c01e.entry.js} +1 -1
- package/dist/components/p-bb4633ec.entry.js +1 -0
- package/dist/components/p-bc59e5ff.entry.js +1 -0
- package/dist/components/p-cdabb63e.entry.js +1 -0
- package/dist/components/{p-c5d6c2a5.entry.js → p-ce3b6043.entry.js} +1 -1
- package/dist/components/p-d3fa440f.entry.js +1 -0
- package/dist/components/p-dacd8c26.entry.js +1 -0
- package/dist/components/p-ddec1f12.entry.js +1 -0
- package/dist/components/{p-7a34b267.entry.js → p-e2bc6329.entry.js} +1 -1
- package/dist/components/{p-b9bd1209.entry.js → p-e614c8e8.entry.js} +1 -1
- package/dist/components/p-e6819f4d.entry.js +1 -0
- package/dist/components/p-e8d0a2db.entry.js +1 -0
- package/dist/components/{p-06428b6c.entry.js → p-e9a6f693.entry.js} +1 -1
- package/dist/components/p-eaf5d057.entry.js +1 -0
- package/dist/components/p-eb57d477.entry.js +1 -0
- package/dist/components/p-efdc6fd7.entry.js +1 -0
- package/dist/components/p-f013c0ac.entry.js +1 -0
- package/dist/components/p-f1ead3b3.entry.js +1 -0
- package/dist/components/p-f227bac5.entry.js +1 -0
- package/dist/components/{p-dd34feaa.entry.js → p-f2b12631.entry.js} +1 -1
- package/dist/components/{p-c51b90c2.entry.js → p-fda3df86.entry.js} +1 -1
- package/dist/components/{p-219842c0.entry.js → p-fe2bb83e.entry.js} +1 -1
- 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 +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion_36.entry.js +42 -47
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-footer.entry.js +4 -2
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-fullscreen-menu.entry.js +7 -1
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bin.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-bookmark.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-clone.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.entry.js +1 -1
- package/dist/esm/eds-icon-download.entry.js +1 -1
- package/dist/esm/eds-icon-draft.entry.js +1 -1
- package/dist/esm/eds-icon-edit.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-start.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-view.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +2 -2
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-social-networks.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +147 -143
- package/dist/hydrate/index.mjs +147 -143
- package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +3 -0
- package/dist/types/{shared-ui → components}/eds-header/eds-header.d.ts +0 -2
- package/dist/types/components.d.ts +8 -6
- package/package.json +1 -1
- package/dist/components/p-03714413.entry.js +0 -1
- package/dist/components/p-097665cb.entry.js +0 -1
- package/dist/components/p-1928711b.entry.js +0 -1
- package/dist/components/p-204f97de.entry.js +0 -1
- package/dist/components/p-20e385b8.entry.js +0 -1
- package/dist/components/p-290b3d61.entry.js +0 -1
- package/dist/components/p-2db9f80a.entry.js +0 -1
- package/dist/components/p-354857a8.entry.js +0 -1
- package/dist/components/p-3a295312.entry.js +0 -1
- package/dist/components/p-3ff1f198.entry.js +0 -1
- package/dist/components/p-404b4dec.entry.js +0 -1
- package/dist/components/p-422c08a9.entry.js +0 -1
- package/dist/components/p-44cc0966.entry.js +0 -1
- package/dist/components/p-473aeaa0.entry.js +0 -1
- package/dist/components/p-4b2d40d4.entry.js +0 -1
- package/dist/components/p-4faa0047.entry.js +0 -1
- package/dist/components/p-552125e3.entry.js +0 -1
- package/dist/components/p-5db8003b.entry.js +0 -1
- package/dist/components/p-5ea2afdf.entry.js +0 -1
- package/dist/components/p-5f2bb217.entry.js +0 -1
- package/dist/components/p-65d1c8e9.entry.js +0 -1
- package/dist/components/p-67823a16.entry.js +0 -1
- package/dist/components/p-69db1210.entry.js +0 -1
- package/dist/components/p-701dc6d8.entry.js +0 -1
- package/dist/components/p-71e9b1e9.entry.js +0 -1
- package/dist/components/p-71f4afdf.entry.js +0 -1
- package/dist/components/p-73daee37.entry.js +0 -1
- package/dist/components/p-77143afc.entry.js +0 -1
- package/dist/components/p-7a137d91.entry.js +0 -1
- package/dist/components/p-81cce4f8.entry.js +0 -1
- package/dist/components/p-84a04d37.entry.js +0 -1
- package/dist/components/p-8d66718e.entry.js +0 -1
- package/dist/components/p-9154e892.entry.js +0 -1
- package/dist/components/p-98501e25.entry.js +0 -1
- package/dist/components/p-98d79948.entry.js +0 -1
- package/dist/components/p-9992fbdb.entry.js +0 -1
- package/dist/components/p-a82fc224.entry.js +0 -1
- package/dist/components/p-b15b11de.entry.js +0 -9
- package/dist/components/p-b56a3fc9.entry.js +0 -1
- package/dist/components/p-c6f5d9df.entry.js +0 -1
- package/dist/components/p-c770c97b.entry.js +0 -1
- package/dist/components/p-cba7d276.entry.js +0 -1
- package/dist/components/p-cffb13fa.entry.js +0 -1
- package/dist/components/p-d3cbc8f9.entry.js +0 -1
- package/dist/components/p-d6a6879c.entry.js +0 -1
- package/dist/components/p-d9e02227.entry.js +0 -1
- package/dist/components/p-e3b89fab.entry.js +0 -1
- package/dist/components/p-e696531f.entry.js +0 -1
- package/dist/components/p-e8bc4649.entry.js +0 -1
- package/dist/components/p-ef86f330.entry.js +0 -1
- package/dist/components/p-f5470900.entry.js +0 -1
- package/dist/components/p-ff433e09.entry.js +0 -1
- /package/dist/collection/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-feedback/eds-feedback.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-footer/eds-footer.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-form/eds-form.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-frame/eds-frame.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-header/eds-header.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-social-networks/eds-social-networks.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-splash-screen/eds-splash-screen.js +0 -0
- /package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-tabs/eds-tabs.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.css +0 -0
- /package/dist/collection/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.js +0 -0
- /package/dist/collection/{shared-ui → components}/eds-user/eds-user.css +0 -0
- /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.d.ts +0 -0
- /package/dist/types/{shared-ui → components/eds-cards}/eds-card-section/eds-card-section.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-feedback/eds-feedback.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-footer/eds-footer.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-form/eds-form.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-form/eds-form.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-frame/eds-frame.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-fullscreen-menu/eds-fullscreen-menu.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-header/eds-header.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-social-networks/eds-social-networks.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-splash-screen/eds-splash-screen.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-steps/eds-steps.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-steps/eds-steps.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-tabs/eds-tabs.stories.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-toast-manager/eds-toast-manager.st.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-user/eds-user.d.ts +0 -0
- /package/dist/types/{shared-ui → components}/eds-user/eds-user.stories.d.ts +0 -0
|
@@ -3617,14 +3617,13 @@ const EdsForm = class {
|
|
|
3617
3617
|
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
3618
3618
|
// formData.set('_has_files', '1');
|
|
3619
3619
|
}
|
|
3620
|
-
formData.forEach((value, key) => {
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
});
|
|
3620
|
+
/*formData.forEach((value, key) => {
|
|
3621
|
+
if (value instanceof File) {
|
|
3622
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
3623
|
+
} else {
|
|
3624
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
3625
|
+
}
|
|
3626
|
+
});*/
|
|
3628
3627
|
return formData;
|
|
3629
3628
|
}
|
|
3630
3629
|
handleChange(e, field) {
|
|
@@ -3834,9 +3833,9 @@ const EdsForm = class {
|
|
|
3834
3833
|
const styleClasses = this.formStyle === 'shadow'
|
|
3835
3834
|
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
3836
3835
|
: '';
|
|
3837
|
-
return (index.h("form", { key: '
|
|
3836
|
+
return (index.h("form", { key: '0b7014a7e6c641f2abc6217d919583dafce50067', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, index.h("div", { key: '3beaa87c72ac60e37bf5c7093b8a3f5b54c9eb4b', class: "flex flex-col gap-y-24" }, this.title && (index.h("span", { key: '5d07685b0e31419d442765c230f9cd2373ce2773', role: "heading", class: "f-heading-04" }, this.title)), this.description && index.h("span", { key: '13fe635ea00fa3c950951f1df37549fa75341666', class: "f-body-02 text-light" }, this.description), index.h("slot", { key: '5e62b8844536ef127ce2565e4167766bf6d5ba4d' })), hiddenFields.map((field, index$1) => (index.h("eds-input", { key: index$1, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
3838
3837
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
3839
|
-
.map((g) => (index.h("div", { class: "mt-32", key: g.id }, index.h("span", { class: "f-body-02" }, index.h("b", null, g.title)), index.h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), index.h("div", { key: '
|
|
3838
|
+
.map((g) => (index.h("div", { class: "mt-32", key: g.id }, index.h("span", { class: "f-body-02" }, index.h("b", null, g.title)), index.h("div", { class: "border-group mt-32 mb-32 flex flex-col gap-y-24" }, buckets[g.id].map((f) => this.renderField(f)))))), index.h("div", { key: '831b919b0784a671596678392fe5aa0433af35a5', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (index.h("div", { key: 'bdddee0aa0899c9cea3ce737f30f1e25ce8d95c5', class: "mt-32" }, index.h("eds-button", { key: 'f9a61383079b998dc98558d85b93e30aa32a3eeb', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
3840
3839
|
}
|
|
3841
3840
|
get el() { return index.getElement(this); }
|
|
3842
3841
|
static get watchers() { return {
|
|
@@ -4005,10 +4004,10 @@ const EdsGlobalSearch = class {
|
|
|
4005
4004
|
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
4006
4005
|
}
|
|
4007
4006
|
render() {
|
|
4008
|
-
return (index.h("div", { key: '
|
|
4007
|
+
return (index.h("div", { key: 'e3c15463b46aa6349efb86e4907d6f7bfabf682f', class: "search-wrapper" }, index.h("eds-input-field", { key: 'f2164163925534652c62541b3e954d4bb66510bc', icon: "search", "input-id": "search-global", type: "text", name: "search-box-global", placeholder: this.placeholder, value: this.query, onInput: this.handleInput }), this.showDropdown && (index.h("div", { key: 'f592d322fb3d1556743edc39713c8dbaa6449fa6', class: "search-dropdown", ref: (el) => (this.dropdownRef = el) }, this.loading && (index.h("div", { key: '4d3171271b27f70650bbded9cb7c0b76799dc1a1', class: "flex text-center justify-center p-64" }, index.h("eds-spinner", { key: '74fed5cf70ba698468dd2ca03dc5ff4eb7aeb7db', variant: "primary", size: "sm" }))), this.error && !this.loading && (index.h("div", { key: '481fd52e321ff02ca61cc0877a61f577b6a1ebd7', class: "flex text-center justify-center p-16" }, index.h("span", { key: '073d2a12b960b3309e0ab597c41d36f946615ed6', class: "text-error f-body-02" }, this.error))), this.showEmpty && (index.h("div", { key: '7b031eec1e6720f4cda6bc107ebc6f64f1c6e35f', class: "dropdown-state" }, index.h("eds-icon-wrapper", { key: '3ce91c3dcdaf27bd85f7ea4c855bab58b1208355', icon: "search" }), index.h("div", { key: 'c1a9b0c3f62fc568fa9d34d41730da8960bcdd54' }, index.h("p", { key: 'd3b87b4a6b06e81e5c62e817b924f762974c589e', class: "f-body-02" }, "No results found"), index.h("p", { key: '67fde47420811b9eaef805d9e6aa1b3515c74251', class: "f-ui-04 text-lightest" }, "Try different keywords")))), this.hasResults && !this.loading && (index.h("ul", { key: 'ba3a77467ba5e709bdf95dc793c316a18a135b64', class: "dropdown-results" }, this.results.map((result, index$1) => (index.h("li", { key: result.id, "data-index": index$1, class: {
|
|
4009
4008
|
'result-item': true,
|
|
4010
4009
|
'result-item--selected': index$1 === this.selectedIndex,
|
|
4011
|
-
}, onClick: () => this.selectResult(result), onMouseEnter: () => (this.selectedIndex = index$1) }, index.h("div", { class: "result-header" }, index.h("span", { class: "f-body-02" }, result.title)), index.h("div", { class: "inline" }, index.h("eds-tag", { intent: "accent", label: result.source }), result.section && (index.h("span", { class: "result-badge" }, result.section)), index.h("span", { class: "f-ui-03-light text-lighter ml-8" }, result.url)), result.snippet && (index.h("p", { class: "result-snippet" }, this.stripHtml(result.snippet)))))))), this.hasResults && !this.loading && (index.h("div", { key: '
|
|
4010
|
+
}, onClick: () => this.selectResult(result), onMouseEnter: () => (this.selectedIndex = index$1) }, index.h("div", { class: "result-header" }, index.h("span", { class: "f-body-02" }, result.title)), index.h("div", { class: "inline" }, index.h("eds-tag", { intent: "accent", label: result.source }), result.section && (index.h("span", { class: "result-badge" }, result.section)), index.h("span", { class: "f-ui-03-light text-lighter ml-8" }, result.url)), result.snippet && (index.h("p", { class: "result-snippet" }, this.stripHtml(result.snippet)))))))), this.hasResults && !this.loading && (index.h("div", { key: 'ccdceeb06f423b28868dbf5ec2a11c5b84c651d7', class: "dropdown-footer" }, index.h("span", { key: 'e9dfb424b4dd277b11c6a630c673ec6368b09ef2', class: "footer-hint" }, index.h("kbd", { key: '4d045d4356b035c6efc7e029ea9e1f5bb4828b6b' }, "\u2191"), " ", index.h("kbd", { key: '5ee2913fe448ad3763ca9a70f474bfa9fcd3aad9' }, "\u2193"), " navigate \u2022 ", index.h("kbd", { key: 'd745261bb53ecffae5ff41d53e349fd74d37b955' }, "\u21B5"), " select \u2022", ' ', index.h("kbd", { key: 'baa93b7af9e8ae8994f8e73c1bf7942f659b0491' }, "esc"), " close")))))));
|
|
4012
4011
|
}
|
|
4013
4012
|
get el() { return index.getElement(this); }
|
|
4014
4013
|
};
|
|
@@ -4027,14 +4026,10 @@ const EdsHeader = class {
|
|
|
4027
4026
|
this.menuEnabled = false;
|
|
4028
4027
|
this.isMenuOpen = false;
|
|
4029
4028
|
this.isUserMenuOpen = false;
|
|
4030
|
-
this.isAuthenticated = false;
|
|
4031
|
-
}
|
|
4032
|
-
onAuthStatusChanged(event) {
|
|
4033
|
-
var _a;
|
|
4034
|
-
this.isAuthenticated = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.authenticated;
|
|
4035
4029
|
}
|
|
4036
4030
|
componentDidLoad() {
|
|
4037
|
-
|
|
4031
|
+
var _a, _b;
|
|
4032
|
+
const links = (_b = (_a = this.hostEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-link')) !== null && _b !== void 0 ? _b : [];
|
|
4038
4033
|
links.forEach((link) => this.emitContext(link));
|
|
4039
4034
|
}
|
|
4040
4035
|
emitContext(linkElement) {
|
|
@@ -4062,7 +4057,7 @@ const EdsHeader = class {
|
|
|
4062
4057
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
4063
4058
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
4064
4059
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
4065
|
-
return (index.h("header", { key: '
|
|
4060
|
+
return (index.h("header", { key: '33f041754210d5fce8b190e63a6f19ac62262cfd', role: "banner", class: `flex items-center justify-between relative z-10 ${classes}` }, index.h("div", { key: '596d4b9cbb08fa95aa9b715599290ac91aff3f77', class: "mr-auto w-[200px] h-[85px]" }, index.h("eds-logo", { key: 'd13e83eca926b82f7406d5efb3f16555c25c167c', type: logoType, href: this.homeUrl })), this.parsedLinks && (index.h("nav", { key: 'e120bef9e976e75d523bd6d1e65e8aecd7c6a694', role: "navigation", "aria-label": "Primary", class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, index.h("ul", { key: 'ea3db252b028340a007a18b4cb1fb995fefd51b0', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (index.h("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" })))))), index.h("slot", { key: '47dfb8dcd8e77bd908236aef0cc0c3c5542de11e', name: "actions" }), this.menuEnabled && (index.h("div", { key: 'a6f4a3fb9834696d39a6831098c12f1a5a519a6b', class: "md:hidden flex overflow-hidden px-16" }, index.h("eds-button", { key: '2c6586152953caa33911d19fa69d3518cb73fc41', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
4066
4061
|
}
|
|
4067
4062
|
get hostEl() { return index.getElement(this); }
|
|
4068
4063
|
};
|
|
@@ -4144,10 +4139,10 @@ const EdsImg = class {
|
|
|
4144
4139
|
imgOpts['loading'] = 'lazy';
|
|
4145
4140
|
imgOpts['decoding'] = 'async';
|
|
4146
4141
|
}
|
|
4147
|
-
return (index.h("div", { key: '
|
|
4142
|
+
return (index.h("div", { key: 'c164d1584476f9fb101abb9e1233bed40c782eb9', class: {
|
|
4148
4143
|
'items-center justify-center': true,
|
|
4149
4144
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
4150
|
-
} }, index.h("picture", { key: '
|
|
4145
|
+
} }, index.h("picture", { key: '70e20db2fe9bdf1a494313c6896e835ff3222f3c' }, this.formats.map((format) => (index.h("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), index.h("img", Object.assign({ key: '164d758ed706139d2d4562775a91c9518c437d28', ref: (el) => (this.img = el), class: {
|
|
4151
4146
|
'effect-opacity object-cover object-center': true,
|
|
4152
4147
|
'opacity-100': this.loaded,
|
|
4153
4148
|
'opacity-0': !this.loaded
|
|
@@ -4206,7 +4201,7 @@ const EdsInput = class {
|
|
|
4206
4201
|
render() {
|
|
4207
4202
|
const withIcon = !!this.icon;
|
|
4208
4203
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
4209
|
-
return (index.h("div", { key: '
|
|
4204
|
+
return (index.h("div", { key: '069d8ed6f23b2d98bbc24b727cad0cbc94d1a956', class: "relative flex items-center" }, this.type === 'textarea' ? (index.h("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' ? (index.h("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) => (index.h("option", { value: option.value, selected: option.value === this.innerVal, key: option.value }, option.label))))) : (index.h("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'
|
|
4210
4205
|
? {
|
|
4211
4206
|
min: this.min,
|
|
4212
4207
|
max: this.max,
|
|
@@ -4217,7 +4212,7 @@ const EdsInput = class {
|
|
|
4217
4212
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
4218
4213
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
4219
4214
|
${this.error ? 'input-error' : ''}
|
|
4220
|
-
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (index.h("span", { key: '
|
|
4215
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (index.h("span", { key: '2295538938128173047a5c81166cbee3d652cf25', class: `input-counter f-ui-05 absolute bottom-8 right-8 ${this.maxLengthReached ? 'input-counter-error' : ''}` }, this.maxLength)), this.icon && (index.h("eds-icon-wrapper", { key: '70a5bc0c9019c25499c4c65ece50ddb602eb3345', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
4221
4216
|
}
|
|
4222
4217
|
get el() { return index.getElement(this); }
|
|
4223
4218
|
static get watchers() { return {
|
|
@@ -4328,7 +4323,7 @@ const EdsInputField = class {
|
|
|
4328
4323
|
}
|
|
4329
4324
|
render() {
|
|
4330
4325
|
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 } : {}));
|
|
4331
|
-
return (index.h("div", { key: '
|
|
4326
|
+
return (index.h("div", { key: '75e326788d214bcbdd0b4b5204ac309a3e76f6eb' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (index.h("fieldset", { class: "space-y-4" }, index.h("div", { class: "flex justify-between mb-4" }, this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, required: this.required })), this.hint && (index.h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.parsedOptions.map((option) => (index.h("div", { class: "flex items-center gap-x-4 gap-y-4", key: option.value }, index.h("eds-input", Object.assign({}, inputOpts, { value: option.value, checked: typeof this.value === 'string' && this.value.split(',').includes(String(option.value)) })), index.h("label", { htmlFor: this.name, class: `input-label-options ${this.disabled ? 'text-lighter' : ''}` }, option.label)))))) : (index.h("div", { class: "flex items-center gap-x-8" }, index.h("eds-input", Object.assign({}, inputOpts, { value: this.value, checked: this.value === 'on' || this.checked })), this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required }))))) : (index.h("div", null, index.h("div", { class: "flex justify-between mb-4" }, this.label && (index.h("eds-input-label", { name: this.inputId || this.name, label: this.label, disabled: this.disabled, required: this.required })), this.hint && (index.h("p", { id: `${this.name}-hint`, class: "f-ui-05 text-lighter mt-8 ml-8" }, this.hint))), this.type === 'select' ? (index.h("eds-input-select", Object.assign({}, inputOpts, { options: this.parsedOptions }))) : this.type === 'file' ? (index.h("input", { type: "file", id: this.inputId || this.name, name: this.name, onChange: this.onChangeNative, disabled: this.disabled, required: this.required })) : this.type === 'search' ? (index.h("eds-input-search", { name: "search-box" })) : this.type === 'range' ? ((() => {
|
|
4332
4327
|
var _a, _b, _c;
|
|
4333
4328
|
const rangeProps = {
|
|
4334
4329
|
name: inputOpts.name,
|
|
@@ -4341,7 +4336,7 @@ const EdsInputField = class {
|
|
|
4341
4336
|
const opt = this.parsedOptions;
|
|
4342
4337
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
4343
4338
|
return (index.h("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 })));
|
|
4344
|
-
})()) : (index.h("eds-input", Object.assign({}, inputOpts))))), index.h("div", { key: '
|
|
4339
|
+
})()) : (index.h("eds-input", Object.assign({}, inputOpts))))), index.h("div", { key: '83d2deb40af000499d6d12e33f33b7435372ff30', class: "mt-6" }, index.h("eds-input-footer", { key: '21035705fd8ef6dbe8d208d4e0b88467a4d4cb09', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
|
|
4345
4340
|
}
|
|
4346
4341
|
static get delegatesFocus() { return true; }
|
|
4347
4342
|
get hostEl() { return index.getElement(this); }
|
|
@@ -4361,7 +4356,7 @@ const EdsInputFooter = class {
|
|
|
4361
4356
|
this.link = undefined;
|
|
4362
4357
|
}
|
|
4363
4358
|
render() {
|
|
4364
|
-
return (index.h("div", { key: '
|
|
4359
|
+
return (index.h("div", { key: 'f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f' }, this.error && this.errorMessage && (index.h("div", { key: '780480b021c958a4d429b13a190ed630df98f539', id: `error_${this.name}`, class: "text-error flex items-center" }, index.h("eds-icon-wrapper", { key: '3577ebdde2d337e393d7ae41b0b55d3eac046149', icon: "warning" }), index.h("p", { key: 'c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && index.h("p", { key: '57833b0f0f58d36773401eaa0f37fd820ebe094c', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (index.h("a", { key: '2330e747a9274c6b9bcadf5ae4a770cfbab78b27', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
4365
4360
|
}
|
|
4366
4361
|
};
|
|
4367
4362
|
EdsInputFooter.style = EdsInputFooterStyle0;
|
|
@@ -4378,7 +4373,7 @@ const EdsInputLabel = class {
|
|
|
4378
4373
|
this.disabled = false;
|
|
4379
4374
|
}
|
|
4380
4375
|
render() {
|
|
4381
|
-
return (index.h("label", { key: '
|
|
4376
|
+
return (index.h("label", { key: '4760fa1b6a66b4ba30b689e65acc9f66e944210d', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (index.h("span", { key: 'db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a' }, index.h("span", { key: '0c6f4ee8daab357ff4da750241c472b126cfbb98', "aria-hidden": "true" }, "*"), index.h("span", { key: 'ad18af56b0f20be3c9ee7280c0610c958adfdb87', class: "sr-only" }, "required")))));
|
|
4382
4377
|
}
|
|
4383
4378
|
};
|
|
4384
4379
|
EdsInputLabel.style = EdsInputLabelStyle0;
|
|
@@ -4425,7 +4420,7 @@ const EdsInputRange = class {
|
|
|
4425
4420
|
return this.inputElement;
|
|
4426
4421
|
}
|
|
4427
4422
|
render() {
|
|
4428
|
-
return (index.h("div", { key: '
|
|
4423
|
+
return (index.h("div", { key: '7592e5f4c1154281fb0577af739451ea0f16dc17', class: "relative flex flex-col items-start" }, index.h("input", { key: '8d5d0b3b5b51665a340304ba56f6fd6b053d3c5f', 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 }), index.h("p", { key: 'c040d2a7e6aae8662e33d393bf1e93b0c8c254dc', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
4429
4424
|
}
|
|
4430
4425
|
get el() { return index.getElement(this); }
|
|
4431
4426
|
static get watchers() { return {
|
|
@@ -4494,7 +4489,7 @@ const EdsInputSearch = class {
|
|
|
4494
4489
|
return this.inputElement;
|
|
4495
4490
|
}
|
|
4496
4491
|
render() {
|
|
4497
|
-
return (index.h("div", { key: '
|
|
4492
|
+
return (index.h("div", { key: 'e5065d821db5f66b4ddfccb84e911f8c9148d12c', class: "relative flex items-center" }, index.h("eds-icon-wrapper", { key: 'e661107b6202d7529209c67622a9f27bb15de2fc', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), index.h("input", { key: '1633e9108da6b675f1bcbddbbcb88e67843dddbf', 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}`,
|
|
4498
4493
|
//onInput={this.onInput}
|
|
4499
4494
|
onChange: this.onChange })));
|
|
4500
4495
|
}
|
|
@@ -4523,12 +4518,12 @@ const EdsInputSelect = class {
|
|
|
4523
4518
|
const selectId = this.inputId || this.name;
|
|
4524
4519
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
4525
4520
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
4526
|
-
return (index.h("div", { key: '
|
|
4521
|
+
return (index.h("div", { key: '640bbcca727ad0c511238335197bc533869f6229', class: "relative" }, index.h("select", { key: '75efd5a9c7951fce245a7ee8b89c35d712d06c08', id: selectId, name: this.name, class: {
|
|
4527
4522
|
input: true,
|
|
4528
4523
|
'input-error': this.error,
|
|
4529
4524
|
'px-4': true,
|
|
4530
4525
|
'py-2': true
|
|
4531
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, index.h("option", { key: '
|
|
4526
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, index.h("option", { key: 'e8723f0f947dc8e07660a34d49eb769e4bebfd06', value: "", disabled: true, hidden: true }, placeholderText), this.options.map((opt, index$1) => (index.h("option", { key: index$1, value: opt.value, selected: opt.value === this.value }, opt.label)))), index.h("span", { key: '23531f90fcaa854a8abff796e2879648987a56b9', class: "bg-dark rounded-xs absolute top-1/2 right-[6px] flex h-28 w-28 -translate-y-1/2 items-center justify-center" }, index.h("eds-icon-wrapper", { key: '6e836b9606c1444d8e97b78ebe1ea4cf092070e3', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
4532
4527
|
}
|
|
4533
4528
|
};
|
|
4534
4529
|
|
|
@@ -4760,7 +4755,7 @@ const EdsLink = class {
|
|
|
4760
4755
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
4761
4756
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
4762
4757
|
: '';
|
|
4763
|
-
return (index.h("a", { key: '
|
|
4758
|
+
return (index.h("a", { key: '5c190b2b079dfecb003883a8b25d3c258697c4d6', 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) }, index.h("span", { key: 'f4e89354ea8e252a26c85a560af9e7cfed7f8287', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && index.h("span", { key: 'ca10c283dd14c3e3830baddec7ba193522a02e7c', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
4764
4759
|
}
|
|
4765
4760
|
get el() { return index.getElement(this); }
|
|
4766
4761
|
};
|
|
@@ -4828,7 +4823,7 @@ const EdsLogo = class {
|
|
|
4828
4823
|
}
|
|
4829
4824
|
render() {
|
|
4830
4825
|
const logoContent = this.getLogo();
|
|
4831
|
-
return (index.h("a", { key: '
|
|
4826
|
+
return (index.h("a", { key: '735f3592da7eed337c528731c28c6e708bbfcf82', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, index.h("div", { key: '5db166d68cb6e193d3dbc2a8ba4b54eae99aac44', innerHTML: logoContent })));
|
|
4832
4827
|
}
|
|
4833
4828
|
get el() { return index.getElement(this); }
|
|
4834
4829
|
};
|
|
@@ -5019,12 +5014,12 @@ const EdsNps = class {
|
|
|
5019
5014
|
render() {
|
|
5020
5015
|
const count = this.max - this.min + 1;
|
|
5021
5016
|
//onst fallback = 0;
|
|
5022
|
-
return (index.h("div", { key: '
|
|
5017
|
+
return (index.h("div", { key: '19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25', class: "eds-nps" }, index.h("eds-input-label", { key: '046239977d2dc639eabfc60a67df62011833a983', id: "nps-question", name: "nps-question", label: this.question }), index.h("div", { key: 'e296b8ff3a081f42263ee0c0a28ef3f304b1e1c0', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
|
|
5023
5018
|
const val = this.min + i;
|
|
5024
5019
|
const isSelected = val === this.selectedValue;
|
|
5025
5020
|
const tabIndex = isSelected ? 0 : -1;
|
|
5026
5021
|
return (index.h("div", { class: "grid-col-span-1", key: val }, index.h("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
|
|
5027
|
-
})), index.h("div", { key: '
|
|
5022
|
+
})), index.h("div", { key: '305bc5b2d162fc40fc56557291d37e29498563a2', class: "flex justify-between mt-8" }, index.h("span", { key: '7fe2191db8cacabed26f451ac0175f23ede3317e', class: "f-ui-04 text-light ml-4" }, this.leftLabel), index.h("span", { key: 'a85aca88d4de2897d7ba04578cf57a844c660675', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
5028
5023
|
}
|
|
5029
5024
|
get el() { return index.getElement(this); }
|
|
5030
5025
|
};
|
|
@@ -5271,7 +5266,7 @@ const EdsPagination = class {
|
|
|
5271
5266
|
}
|
|
5272
5267
|
render() {
|
|
5273
5268
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
5274
|
-
return (index.h("div", { key: '
|
|
5269
|
+
return (index.h("div", { key: '1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259' }, this.total > 0 && this.mode === 'default' && (index.h("p", { key: '87b18c6b1fc475e335f829a4f61b7a8883dc7b9e', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, index.h("span", { key: 'd5af6f58fc41d83c7e9519bbaa76fb31e6cbb522', class: "text-light sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (index.h("nav", { "aria-label": "Pagination Navigation", "aria-describedby": this.mode === 'default' ? 'pagination-info' : undefined, onKeyDown: this.handleKeyDown }, index.h("ul", { class: "flex items-center justify-center gap-x-8", role: "list" }, index.h("li", { class: "mr-auto" }, this.useButtons ? (index.h("div", { class: "pagination-button-wrapper", onFocus: () => this.handleItemFocus(navigableIndex) }, index.h("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) => {
|
|
5275
5270
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
5276
5271
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
5277
5272
|
}
|
|
@@ -5364,7 +5359,7 @@ const EdsRating = class {
|
|
|
5364
5359
|
this.onSelect(next);
|
|
5365
5360
|
}
|
|
5366
5361
|
render() {
|
|
5367
|
-
return (index.h("div", { key: '
|
|
5362
|
+
return (index.h("div", { key: '8dcde2afdc0db27d3f6be48f1d58cc7c7f88b0f0', 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$1) => {
|
|
5368
5363
|
const starRating = index$1 + 1;
|
|
5369
5364
|
const isSelected = starRating <= this.selectedRating;
|
|
5370
5365
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -5453,7 +5448,7 @@ const EdsSpinner = class {
|
|
|
5453
5448
|
alignItems: 'center',
|
|
5454
5449
|
justifyContent: 'center'
|
|
5455
5450
|
};
|
|
5456
|
-
return (index.h(index.Host, { key: '
|
|
5451
|
+
return (index.h(index.Host, { key: 'e4c2f4762d214028c2e97666040e05ad5651debf' }, index.h("div", { key: 'e12572cb0195a84402847b0fc723ad2198196661', class: "spinner-overlay", style: overlayStyle }, index.h("span", { key: '6aa3b28a4e79951a5bbb46f6d7d845baf3761d14', class: "spinner", style: spinnerStyle }), this.message && index.h("p", { key: '5817378b525ecb8d8a211105b73a2db00067fbe3', class: "f-body-01" }, this.message))));
|
|
5457
5452
|
}
|
|
5458
5453
|
};
|
|
5459
5454
|
EdsSpinner.style = EdsSpinnerStyle0;
|
|
@@ -5560,6 +5555,7 @@ const EdsSteps = class {
|
|
|
5560
5555
|
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
5561
5556
|
renderHeading(title, index$1) {
|
|
5562
5557
|
const Tag = this.headingLevel;
|
|
5558
|
+
const isOpen = this.activeStep === index$1;
|
|
5563
5559
|
if (this.type === 'linear') {
|
|
5564
5560
|
const forwardBlocked = index$1 > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
5565
5561
|
const onKey = (e) => {
|
|
@@ -5571,10 +5567,9 @@ const EdsSteps = class {
|
|
|
5571
5567
|
this.handleTitleClick(index$1);
|
|
5572
5568
|
}
|
|
5573
5569
|
};
|
|
5574
|
-
const isOpen = this.activeStep === index$1;
|
|
5575
5570
|
return (index.h(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index$1}`, onClick: () => !forwardBlocked && this.handleTitleClick(index$1), onKeyDown: onKey }, title));
|
|
5576
5571
|
}
|
|
5577
|
-
return index.h(Tag,
|
|
5572
|
+
return index.h(Tag, null, title);
|
|
5578
5573
|
}
|
|
5579
5574
|
render() {
|
|
5580
5575
|
const steps = this.parsedSteps;
|
|
@@ -5782,11 +5777,11 @@ const EdsSwitch = class {
|
|
|
5782
5777
|
: this.labelOff
|
|
5783
5778
|
: 'Toggle switch'
|
|
5784
5779
|
: undefined;
|
|
5785
|
-
return (index.h("div", { key: '
|
|
5780
|
+
return (index.h("div", { key: '34573e6f2b377e168039a13afb4d5fe981f575ad', class: "switch-container" }, this.labelOff && (index.h("span", { key: '1728e1aac88d275cd6bee0aaf50e93e3a421944d', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), index.h("button", { key: '5d35387a9bf808923bd94f5d64528cca1e4055d5', 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: {
|
|
5786
5781
|
switch: true,
|
|
5787
5782
|
'switch--checked': this.checked,
|
|
5788
5783
|
'switch--disabled': this.disabled
|
|
5789
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, index.h("span", { key: '
|
|
5784
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, index.h("span", { key: 'd8e0e1e3b562b4ac894998641cb7c813578e1a3f', class: "switch-handle" })), this.labelOn && (index.h("span", { key: '86b56fbbc537e9f08d11a509a1cb0e19d8dc3c39', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
5790
5785
|
}
|
|
5791
5786
|
get el() { return index.getElement(this); }
|
|
5792
5787
|
};
|
|
@@ -6216,12 +6211,12 @@ const EdsTabs = class {
|
|
|
6216
6211
|
}
|
|
6217
6212
|
}
|
|
6218
6213
|
render() {
|
|
6219
|
-
return (index.h("div", { key: '
|
|
6214
|
+
return (index.h("div", { key: '29c8adfbd79bae86919e8b72f13d9a8a4d1c1d41', id: `${this.identifier}` }, index.h("div", { key: '94ec3243a35be9db63846b253133fd323fb3759c', 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-['']" }, index.h("nav", { key: '52c337db80f21714a7d3da26b21663c34f5dd836', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index$1) => {
|
|
6220
6215
|
const TabComponent = 'button';
|
|
6221
6216
|
const tabProps = this.getTabOptions(tab.active, index$1);
|
|
6222
6217
|
const isActive = index$1 === this.activeIndex;
|
|
6223
6218
|
return (index.h(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index$1}`, id: `tab-${index$1}`, ref: (el) => this.setTabRef(el, index$1), onClick: () => this.handleTabClick(index$1, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index$1) }), tab.label || tab.ariaLabel));
|
|
6224
|
-
}))), index.h("div", { key: '
|
|
6219
|
+
}))), index.h("div", { key: '9462805200c71ebac037ac5933c156eb9c25ed5c', class: "tab-panels" }, this.parsedTabs.map((_, index$1) => (index.h("div", { role: "tabpanel", id: `panel-${index$1}`, "aria-labelledby": `tab-${index$1}`, hidden: index$1 !== this.activeIndex, tabIndex: index$1 === this.activeIndex ? 0 : -1, class: "effect-focus" }, index.h("slot", { name: `panel-${index$1}` })))))));
|
|
6225
6220
|
}
|
|
6226
6221
|
get el() { return index.getElement(this); }
|
|
6227
6222
|
static get watchers() { return {
|
|
@@ -6266,7 +6261,7 @@ const EdsTag = class {
|
|
|
6266
6261
|
}
|
|
6267
6262
|
render() {
|
|
6268
6263
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
6269
|
-
return index.h("span", { key: '
|
|
6264
|
+
return index.h("span", { key: '6a229183bdaf96687e1f71ca3938a22c1259546e', class: classes }, this.label);
|
|
6270
6265
|
}
|
|
6271
6266
|
};
|
|
6272
6267
|
EdsTag.style = EdsTagStyle0;
|
|
@@ -6362,7 +6357,7 @@ const EdsTooltip = class {
|
|
|
6362
6357
|
}
|
|
6363
6358
|
render() {
|
|
6364
6359
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
6365
|
-
return (index.h("div", { key: '
|
|
6360
|
+
return (index.h("div", { key: '67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b', class: "relative w-full inline-block group" }, index.h("slot", { key: 'b304174862dd4d5ca93418ecb0d2b4fc2c80427c' }), index.h("div", { key: 'fcd874d53d0e17b7d3be2c6552571f82fbde6506', class: `absolute ${positionClass}
|
|
6366
6361
|
rounded-xs bg-strongest text-inverse
|
|
6367
6362
|
f-ui-03-light pointer-events-none
|
|
6368
6363
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -6417,7 +6412,7 @@ const EdsUser = class {
|
|
|
6417
6412
|
render() {
|
|
6418
6413
|
const user = this.parsedUser;
|
|
6419
6414
|
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
6420
|
-
return (index.h("div", { key: '
|
|
6415
|
+
return (index.h("div", { key: '62bb8a684095f97b6105acdb5d9803c66edba913', class: "block" }, index.h("div", { key: '350ff5d7b4f47686f7b39662b176f24e719d54e3', class: "flex items-center" }, index.h("eds-dropdown", { key: 'e3b196b127572d038b5ae6bbf00330911ca41e94', 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 }, index.h("div", { key: 'a311fd57839b87054afc7aca9c40ce5772b1350b', class: "min-w-[280px] p-8" }, index.h("div", { key: 'bc8c5b7147718def37bab1adb2715f9ff0074822', class: "flex gap-x-16", "data-dropdown-no-close": true }, index.h("eds-avatar", { key: 'c9207d4ecab0507981bb047ee6c59ee4400b5121', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), index.h("div", { key: 'c6ec78d935ee851ef5e8080bf30a7ff9c4603bf1', class: "max-w-full" }, user.name && index.h("p", { key: 'c39af63002f1449b049d4be13927da5d51599aca', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && index.h("p", { key: 'd8eaa141490abb1ad917e2da03d4a588ef6d6779', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && index.h("p", { key: '904aef6596a85ae438b98bd5ab67c7c7e2299d75', class: "f-ui-03-light text-light mt-4" }, user.email))), index.h("div", { key: '0cd0a2d8cc59d8b054f36188b4c18182e6a7f919', class: "text-default flex w-full flex-col gap-y-8" }, index.h("slot", { key: 'a41332bcf086d01a458218b74a1812dc55911925' })))))));
|
|
6421
6416
|
}
|
|
6422
6417
|
get hostEl() { return index.getElement(this); }
|
|
6423
6418
|
};
|
|
@@ -31,7 +31,7 @@ const EdsCardSection = class {
|
|
|
31
31
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
32
32
|
*/
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h("section", { key: '
|
|
34
|
+
return (index.h("section", { key: '4b30b9eb2585350196efa901f5b36d903e43af4d', class: "w-full" }, index.h("ul", { key: 'ab51c67c0f4095e70be1b1c2fdf9975726b50760', class: "grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (index.h("li", { class: `grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col` }, index.h("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 })))))));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
EdsCardSection.style = EdsCardSectionStyle0;
|
|
@@ -31,7 +31,7 @@ const EdsCookiesPreference = class {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h("div", { key: '
|
|
34
|
+
return (index.h("div", { key: '778879d8a4552e7dd55ac77b60d90e0bae97522c' }, index.h("eds-link", { key: '832d45be8a294f90fc81b45c6604aec61c8f8174', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && index.h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
EdsCookiesPreference.style = EdsCookiesPreferenceStyle0;
|
|
@@ -62,7 +62,7 @@ const EdsFeedback = class {
|
|
|
62
62
|
const HeadingTag = this.headingLevel;
|
|
63
63
|
const levelNum = this.headingLevel.replace('h', '');
|
|
64
64
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
65
|
-
return (index.h("div", { key: '
|
|
65
|
+
return (index.h("div", { key: 'ddf3974682322578e0fe0b0405ac4ebf2e0f25c1', class: "grid inline" }, index.h(HeadingTag, { key: '64ef135208df2903c342a8feaafa49d27eb22250', class: headingClass }, this.label), index.h("p", { key: '95d46d464035e393d80ae259f4232bebf47453ce', class: "f-body-01 text-light" }, this.description), index.h("eds-rating", { key: 'd390733041689a17937f31dbf07050571997ced2', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (index.h("span", { key: '61cedb8ba0a5269ac0112dc9a6d91b92e1f0b200', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
66
66
|
}
|
|
67
67
|
get el() { return index.getElement(this); }
|
|
68
68
|
};
|
|
@@ -54,9 +54,11 @@ const EdsFooter = class {
|
|
|
54
54
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
55
55
|
*/
|
|
56
56
|
render() {
|
|
57
|
-
|
|
57
|
+
const year = new Date().getFullYear();
|
|
58
|
+
const rights = this.rightsReserved || `${year} EBRAINS. All rights reserved.`;
|
|
59
|
+
return (index.h("footer", { key: 'b1c8481183fb67cb8b0a97c4ecb56cbd68b8d5f2' }, this.social ? (index.h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, index.h("div", { class: "container pb-20" }, index.h("div", { class: "grid-layout" }, index.h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, index.h("eds-social-networks", { class: "mt-28" })))))) : null, index.h("div", { key: 'bfe4a641c968c7c8db656eb15ae4b20994f289f9', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, index.h("div", { key: '5a65394e8899cf62ac1bed4ac363bee86f9f17ad', class: "container flex items-center gap-20 lg:flex-nowrap" }, index.h("div", { key: '00163d1e6c4f1021997b910935859a8bb97c18ba', class: "flex items-center gap-x-12" }, index.h("a", { key: '12cc17423f3988f3f98b9ba9d5ce4a18a486021b', 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" }, index.h("eds-img", { key: '2448154fd301959d09ae0d4a2bc575ebddef0646', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), index.h("div", { key: '640d25df8ad2a7d5271c22b979a6198f6f7aa2aa' }, index.h("div", { key: '6a4256e03d37e93b41bbc5f22db44fcf56f35548', class: "f-ui-04 text-light" }, index.h("p", { key: 'd2227c0d2f297a995006aa810d889e679f1ef1e2' }, this.fundedBy), index.h("div", { key: 'd3a56fc0695308fe5547109fb735e64bc4297b5e', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, index.h("span", { key: '5f0a5db7ea735b373fc6106b6fc8f4bc25ba6f27', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", rights), this.enableCookiesSettings ? (index.h("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
58
60
|
this.toggleCookiesConsent();
|
|
59
|
-
} })) : null))), index.h("div", { key: '
|
|
61
|
+
} })) : null))), index.h("div", { key: 'e853a0ee1b2d3e4627ccc4b80aba566a9c7a2350', class: "ml-auto pl-12" }, this.enableScrollTop ? (index.h("div", { id: "toTop", class: "transition-all transition duration-75 opacity-0" }, index.h("eds-button", { id: "backToTop", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, tabindex: "-1" }))) : null)))));
|
|
60
62
|
}
|
|
61
63
|
get el() { return index.getElement(this); }
|
|
62
64
|
};
|
|
@@ -76,7 +76,7 @@ const EdsFrame = class {
|
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
render() {
|
|
79
|
-
return (index.h("div", { key: '
|
|
79
|
+
return (index.h("div", { key: '919f5de224a556016a2ccf7bdfc20a4885afa3f5', class: this.articleClasses() }, index.h("div", { key: '13f6c97cd99ddc7a15bed69efed236f44266d9ab', class: "effect-height flex items-center justify-between py-8 px-12" }, index.h("span", { key: 'a1b912042dbf197dd7044016582412980c9a177b', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (index.h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), index.h("div", { key: '186fa28cc18e183318f94ccfd2d557ee800f43b7', class: "border-softer" }, this.iframeError ? (index.h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (index.h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
80
80
|
}
|
|
81
81
|
get el() { return index.getElement(this); }
|
|
82
82
|
};
|
|
@@ -30,6 +30,10 @@ const EdsFullscreenMenu = class {
|
|
|
30
30
|
handleToggleMenu(event) {
|
|
31
31
|
this.isMenuOpen = !!event.detail;
|
|
32
32
|
}
|
|
33
|
+
onKeydown(e) {
|
|
34
|
+
if (e.key === 'Escape' && this.isMenuOpen)
|
|
35
|
+
this.closeMenu();
|
|
36
|
+
}
|
|
33
37
|
/** Opens the menu */
|
|
34
38
|
openMenu() {
|
|
35
39
|
this.isMenuOpen = true;
|
|
@@ -39,6 +43,8 @@ const EdsFullscreenMenu = class {
|
|
|
39
43
|
this.isMenuOpen = false;
|
|
40
44
|
this.menuClose.emit();
|
|
41
45
|
}
|
|
46
|
+
async open() { this.isMenuOpen = true; }
|
|
47
|
+
async close() { this.closeMenu(); }
|
|
42
48
|
// Lifecycle method to add the resize event listener when component loads
|
|
43
49
|
componentDidLoad() {
|
|
44
50
|
window.addEventListener('resize', this.handleResize.bind(this));
|
|
@@ -72,7 +78,7 @@ const EdsFullscreenMenu = class {
|
|
|
72
78
|
return sharedUtils.parseData(this.menuLinks);
|
|
73
79
|
}
|
|
74
80
|
render() {
|
|
75
|
-
return this.isMenuOpen ? (index.h("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, index.h("div", { class: "flex min-h-full flex-col" }, index.h("div", { class: `w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, index.h("div", { class: "mx-auto flex items-center justify-between" }, index.h("div", { class: "mr-auto w-[200px] h-[85px]" }, index.h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), index.h("div", { class: "px-16" }, index.h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), index.h("div", { class: "py-16 px-16" }, index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index$1) => (index.h("eds-link", { label: link.label, key: index$1, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" })))), index.h("eds-block-break", null), index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index$1) => (index.h("eds-link", { label: link.label, key: index$1, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" })))), index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, index.h("slot", null))), index.h("div", { class: "mt-auto" }, index.h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
81
|
+
return this.isMenuOpen ? (index.h("div", { role: "dialog", "aria-modal": "true", "aria-label": "Main menu", class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, index.h("div", { class: "flex min-h-full flex-col" }, index.h("div", { class: `w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, index.h("div", { class: "mx-auto flex items-center justify-between" }, index.h("div", { class: "mr-auto w-[200px] h-[85px]" }, index.h("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), index.h("div", { class: "px-16" }, index.h("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), index.h("div", { class: "py-16 px-16" }, index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index$1) => (index.h("eds-link", { label: link.label, key: index$1, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "arrow-right" })))), index.h("eds-block-break", null), index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index$1) => (index.h("eds-link", { label: link.label, key: index$1, url: link.url, intent: "tertiary", size: "large", class: "effect-color effect-focus rounded-xs f-heading-02 hover:text-lighter w-fit", onClick: () => this.closeMenu(), icon: "chevron-right" })))), index.h("nav", { class: "mt-28 flex flex-col gap-y-8" }, index.h("slot", null))), index.h("div", { class: "mt-auto" }, index.h("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
76
82
|
}
|
|
77
83
|
};
|
|
78
84
|
EdsFullscreenMenu.style = EdsFullscreenMenuStyle0;
|
|
@@ -11,7 +11,7 @@ const EdsIconArrowDiagonal = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '4dd5fc5be465494e8546404231cfdb63609e64f1', class: this.class, innerHTML: arrowDiagonalBlack.arrowDiagonal });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconArrowRight = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '64d0cb03ab1a33096ad9e3b7219a2e758707a1d5', class: this.class, innerHTML: arrowRight.arrowRight });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconBin = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '9a7b52f2a2006bd83418d6b4bb2834bffa79305c', class: this.class, innerHTML: bin.bin });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconBluesky = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '4f21c5659e92ea08e1f464d23e351fbfef6e347d', class: this.class, innerHTML: bluesky.bluesky });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconBookmark = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '48b2e81ac7f597b50d13a7a0a753894ac18022cd', class: this.class, innerHTML: bookmark.bookmark });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconChevronDown = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: 'ea6e2250c63af2a7f3ed1d50e6514a28e5629e6d', class: this.class, innerHTML: chevronDown.chevronDown });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconChevronLeft = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '8847183f6f31439d94f87a24ee01697babe53ecf', class: this.class, innerHTML: chevronLeft.chevronLeft });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@ const EdsIconChevronRight = class {
|
|
|
11
11
|
this.class = '';
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return index.h("span", { key: '
|
|
14
|
+
return index.h("span", { key: '398a406ad137aeb4d51286b82eccee3c0bff2f2b', class: this.class, innerHTML: chevronRight.chevronRight });
|
|
15
15
|
}
|
|
16
16
|
};
|
|
17
17
|
|