@ebrains/components 2.2.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 +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 -69
- 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 +5 -3
- package/dist/cjs/eds-frame.cjs.entry.js +2 -2
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +8 -2
- 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 +15 -14
- 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/{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/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/{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 +47 -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.css +41 -22
- 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.css +3 -1
- package/dist/collection/{shared-ui → components}/eds-steps/eds-steps.js +37 -6
- 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.css +3 -1
- package/dist/collection/{shared-ui → components}/eds-steps-v2/eds-steps-v2.js +40 -8
- 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/components/eds-table/eds-table.js +3 -3
- 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 +3 -3
- 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 +49 -2
- 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.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/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +310 -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 +4 -2
- package/dist/components/eds-form.js +38 -7
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +11 -3
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-global-search.d.ts +11 -0
- package/dist/components/eds-global-search.js +262 -0
- package/dist/components/eds-header.js +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 +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 +36 -5
- 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-004801b2.entry.js +1 -0
- package/dist/components/p-02648f82.entry.js +1 -0
- package/dist/components/{p-a5fd4fc9.entry.js → p-0798d50d.entry.js} +1 -1
- package/dist/components/p-09f1b358.entry.js +1 -0
- 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-870001ee.entry.js → p-21b5ca1f.entry.js} +1 -1
- package/dist/components/p-24683124.entry.js +1 -0
- package/dist/components/{p-efbc374c.js → p-271c61ff.js} +1 -1
- package/dist/components/p-2bfcb3cf.entry.js +1 -0
- package/dist/components/{p-c66f4dd8.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-dd28ab38.entry.js → p-398255ff.entry.js} +1 -1
- package/dist/components/p-3c478e74.entry.js +1 -0
- package/dist/components/{p-8fb1eb43.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-d1927da7.entry.js → p-4beb1e06.entry.js} +1 -1
- 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-28ec52a7.entry.js → p-75b40e57.entry.js} +1 -1
- package/dist/components/{p-5479e43b.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-b31babda.entry.js → p-7ada2015.entry.js} +1 -1
- package/dist/components/{p-6a2d1e11.entry.js → p-7b0496b1.entry.js} +1 -1
- package/dist/components/{p-36db7db0.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-8eced026.entry.js → p-838d6773.entry.js} +1 -1
- package/dist/components/{p-d2e485a1.entry.js → p-83dde536.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-4c618a35.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-b471922f.entry.js +1 -0
- package/dist/components/p-b4c2c58d.entry.js +9 -0
- package/dist/components/{p-8edd07db.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-d3391236.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-9c1c5e8d.entry.js → p-bce8a58d.entry.js} +1 -1
- package/dist/components/{p-64b7a6fc.entry.js → p-ca91952b.entry.js} +1 -1
- package/dist/components/p-cdabb63e.entry.js +1 -0
- package/dist/components/{p-1b032aa8.entry.js → p-ce3b6043.entry.js} +1 -1
- package/dist/components/p-d3fa440f.entry.js +1 -0
- package/dist/components/{p-79afd8aa.entry.js → p-da96c7cd.entry.js} +1 -1
- package/dist/components/p-dacd8c26.entry.js +1 -0
- package/dist/components/p-ddec1f12.entry.js +1 -0
- package/dist/components/p-df18ffd1.entry.js +1 -0
- package/dist/components/p-e2bc6329.entry.js +1 -0
- package/dist/components/{p-4db384d9.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-ff902c98.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-50d7eed9.entry.js → p-f2b12631.entry.js} +1 -1
- package/dist/components/{p-265150a1.entry.js → p-fda3df86.entry.js} +1 -1
- package/dist/components/{p-58c8c0d7.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 +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 -70
- 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 +5 -3
- package/dist/esm/eds-frame.entry.js +2 -2
- package/dist/esm/eds-fullscreen-menu.entry.js +8 -2
- 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 +540 -185
- package/dist/hydrate/index.mjs +540 -185
- 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/{shared-ui → components}/eds-form/eds-form.d.ts +2 -2
- 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/{shared-ui → components}/eds-steps/eds-steps.d.ts +2 -1
- package/dist/types/{shared-ui → components}/eds-steps-v2/eds-steps-v2.d.ts +2 -0
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -1
- package/dist/types/{shared-ui → components}/eds-user/eds-user.d.ts +4 -0
- package/dist/types/components.d.ts +176 -33
- 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/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-171f8e6b.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-7032a73b.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-da0e9a75.entry.js +0 -1
- package/dist/components/p-dbe11048.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/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-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.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.stories.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.stories.d.ts +0 -0
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: 'b51f8df9e8481654c410a4564554e6af65e5995c', 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: 'c7b2a9406709dc3584e8e6f6c57a79ea5a9974c3', 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: '50f93b8bc9ee54e78eb23a21764afb0be5e3ea6c', 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: '7c35270931bb242311baaa8b2d45f15135f72410', 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: 'd0be09152cb04a9a38d8a744187a9b26a1e89218', class: "container" }, hAsync("p", { key: 'b271be0db9ebeb6b97f139d104c8ad22f67a0a07', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'c2166109121cb18a2bee1d7e97a829ad726dd635', 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: '77a3b2e02a38239cbdcdfacbe8375a8a37169fa5', 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: '82a056e939a0b263f1454a968688702038389842', class: "flex" }, hAsync("div", { key: 'b9bb7e15d2a5cc4c490d2e4e7d6dd56112fde0f8', class: "w-full" }, hAsync("ul", { key: '9190e2d3a5169fee4fe98a4edb0147be2e355455', 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: 'bae996225c7c49f584d6a5cc9cf3a8ad8f8807ec', class: "w-full" }, hAsync("ul", { key: 'f70940212a1efa846e3563dfbf93df65cd0bbbf1', 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: '9ced01dbcfd41dfb15c40a3f85165b94ffe9de23', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'bc44a1e9c7bf221946c550457e146b8149735e43', 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: 'cf461572ff956405929ca6cf95dfa56d07744593', 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: '37d90b2c2f0269791c923ce440924c0c3b01ca71', class: "flex" }, hAsync("div", { key: 'ff636e6bd9029bc7c9d53f3f0d8524f23b5b8ab3', class: "w-full" }, hAsync("ul", { key: '4b8a8666c8b4a2ac30550a1d0ab2c0e0314f2fe5', 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: '94d98ed72746e71f47ab181cbbb528d2ef61dfce', class: "w-full" }, hAsync("ul", { key: '3600baa2c87dd21cba3e2fc138df5b968c9c52ef', 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: '117caf5580bde7dd9347df9c38acbb4456ab98f8', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '6a82c99271f67352ada76deee022ef660b43815a', 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: '935f98fb55d98c8a7e430c14420502cace108e3f', 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: '7d9c32250cdd2f369c536bb4c6c90df2e74a5a33', class: "flex" }, hAsync("div", { key: '376f8f6c2728c8044d058bab425d393534bd663d', class: "w-full" }, hAsync("ul", { key: '317a5310649943460df30cd2e68dbf3dcc547499', 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: '7cde122042c334ddee130cd08ace0e5d85df6f8c', class: "w-full" }, hAsync("ul", { key: '9b86c880cc07b785fcfe364ee3271947f2804079', 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: 'a2c6b976e0afb9f501bb19a6de47faa1a0de095e', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'f7b115c2c96e67123dc3f539cf191f93a8f411e0', 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: '236cba8f8133462144e771fa0911f5f5f3d7af58', 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: '1330c6ae0c7e870a94e9f120587240a605570883', class: "flex" }, hAsync("div", { key: '548fd1822b448bc1d424d0d8d70e21643e0d4b7b', class: "w-full" }, hAsync("ul", { key: '0a03e4b6817a18cfbcbadb0734c7970120b7d632', 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: '535d834c0520279fc1c1356275901aa942037e9c', class: "w-full" }, hAsync("ul", { key: '3125151afe464cdb9ca4a33904ee9f865c743fed', 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: '9afe4f5912087e80d327a7c79a69be68b1ffa677', 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: 'c5add26ecb245e398f8b2cf496d05da86a60f108', 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: '4b30b9eb2585350196efa901f5b36d903e43af4d', class: "w-full" }, hAsync("ul", { key: 'ab51c67c0f4095e70be1b1c2fdf9975726b50760', 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: '778879d8a4552e7dd55ac77b60d90e0bae97522c' }, hAsync("eds-link", { key: '832d45be8a294f90fc81b45c6604aec61c8f8174', 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: 'ddf3974682322578e0fe0b0405ac4ebf2e0f25c1', class: "grid inline" }, hAsync(HeadingTag, { key: '64ef135208df2903c342a8feaafa49d27eb22250', class: headingClass }, this.label), hAsync("p", { key: '95d46d464035e393d80ae259f4232bebf47453ce', class: "f-body-01 text-light" }, this.description), hAsync("eds-rating", { key: 'd390733041689a17937f31dbf07050571997ced2', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: '61cedb8ba0a5269ac0112dc9a6d91b92e1f0b200', 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,11 @@ class EdsFooter {
|
|
|
7151
7208
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7152
7209
|
*/
|
|
7153
7210
|
render() {
|
|
7154
|
-
|
|
7211
|
+
const year = new Date().getFullYear();
|
|
7212
|
+
const rights = this.rightsReserved || `${year} EBRAINS. All rights reserved.`;
|
|
7213
|
+
return (hAsync("footer", { key: 'b1c8481183fb67cb8b0a97c4ecb56cbd68b8d5f2' }, 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: 'bfe4a641c968c7c8db656eb15ae4b20994f289f9', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, hAsync("div", { key: '5a65394e8899cf62ac1bed4ac363bee86f9f17ad', class: "container flex items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: '00163d1e6c4f1021997b910935859a8bb97c18ba', class: "flex items-center gap-x-12" }, hAsync("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" }, hAsync("eds-img", { key: '2448154fd301959d09ae0d4a2bc575ebddef0646', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), hAsync("div", { key: '640d25df8ad2a7d5271c22b979a6198f6f7aa2aa' }, hAsync("div", { key: '6a4256e03d37e93b41bbc5f22db44fcf56f35548', class: "f-ui-04 text-light" }, hAsync("p", { key: 'd2227c0d2f297a995006aa810d889e679f1ef1e2' }, this.fundedBy), hAsync("div", { key: 'd3a56fc0695308fe5547109fb735e64bc4297b5e', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, hAsync("span", { key: '5f0a5db7ea735b373fc6106b6fc8f4bc25ba6f27', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", rights), this.enableCookiesSettings ? (hAsync("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
7155
7214
|
this.toggleCookiesConsent();
|
|
7156
|
-
} })) : null))), hAsync("div", { key: '
|
|
7215
|
+
} })) : null))), hAsync("div", { key: 'e853a0ee1b2d3e4627ccc4b80aba566a9c7a2350', 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
7216
|
}
|
|
7158
7217
|
get el() { return getElement(this); }
|
|
7159
7218
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7407,8 +7466,8 @@ class EdsForm {
|
|
|
7407
7466
|
registerInstance(this, hostRef);
|
|
7408
7467
|
this.form = createEvent(this, "form", 7);
|
|
7409
7468
|
this.name = 'eds-form';
|
|
7410
|
-
this.title =
|
|
7411
|
-
this.description =
|
|
7469
|
+
this.title = 'Form Title';
|
|
7470
|
+
this.description = 'Form Description';
|
|
7412
7471
|
this.setFormUrl = true;
|
|
7413
7472
|
this.formBtn = true;
|
|
7414
7473
|
this.formBtnLabel = 'Submit';
|
|
@@ -7539,6 +7598,7 @@ class EdsForm {
|
|
|
7539
7598
|
return formData;
|
|
7540
7599
|
}
|
|
7541
7600
|
makeFormData() {
|
|
7601
|
+
var _a;
|
|
7542
7602
|
const formData = new FormData();
|
|
7543
7603
|
// Add the form name
|
|
7544
7604
|
formData.append('form_name', this.name);
|
|
@@ -7550,6 +7610,36 @@ class EdsForm {
|
|
|
7550
7610
|
// Append each key-value pair to the FormData object.
|
|
7551
7611
|
formData.append(key, this.values[key]);
|
|
7552
7612
|
});
|
|
7613
|
+
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
7614
|
+
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
7615
|
+
if (hasFileField && this.formEl) {
|
|
7616
|
+
// Find file inputs inside each eds-input-field's shadowRoot
|
|
7617
|
+
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
7618
|
+
hosts.forEach((host) => {
|
|
7619
|
+
const root = host.shadowRoot;
|
|
7620
|
+
if (!root)
|
|
7621
|
+
return;
|
|
7622
|
+
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
7623
|
+
console.log(fileInputs);
|
|
7624
|
+
fileInputs.forEach((fi) => {
|
|
7625
|
+
const name = fi.name;
|
|
7626
|
+
const files = fi.files ? Array.from(fi.files) : [];
|
|
7627
|
+
if (files.length > 0) {
|
|
7628
|
+
// Append each file under the same field name (backend can use request.files.getlist(name))
|
|
7629
|
+
files.forEach((file) => formData.append(name, file));
|
|
7630
|
+
}
|
|
7631
|
+
});
|
|
7632
|
+
});
|
|
7633
|
+
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
7634
|
+
// formData.set('_has_files', '1');
|
|
7635
|
+
}
|
|
7636
|
+
/*formData.forEach((value, key) => {
|
|
7637
|
+
if (value instanceof File) {
|
|
7638
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
7639
|
+
} else {
|
|
7640
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
7641
|
+
}
|
|
7642
|
+
});*/
|
|
7553
7643
|
return formData;
|
|
7554
7644
|
}
|
|
7555
7645
|
handleChange(e, field) {
|
|
@@ -7660,11 +7750,11 @@ class EdsForm {
|
|
|
7660
7750
|
message: `${field.name} updated`
|
|
7661
7751
|
});
|
|
7662
7752
|
}
|
|
7663
|
-
handleSubmit() {
|
|
7753
|
+
handleSubmit(e) {
|
|
7664
7754
|
var _a, _b;
|
|
7665
|
-
|
|
7755
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
7756
|
+
if (this.isSubmitting)
|
|
7666
7757
|
return;
|
|
7667
|
-
}
|
|
7668
7758
|
this.isSubmitting = true;
|
|
7669
7759
|
this.validateForm();
|
|
7670
7760
|
if (this.hasError) {
|
|
@@ -7759,9 +7849,9 @@ class EdsForm {
|
|
|
7759
7849
|
const styleClasses = this.formStyle === 'shadow'
|
|
7760
7850
|
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7761
7851
|
: '';
|
|
7762
|
-
return (hAsync("form", { key: '
|
|
7852
|
+
return (hAsync("form", { key: '0b7014a7e6c641f2abc6217d919583dafce50067', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, hAsync("div", { key: '3beaa87c72ac60e37bf5c7093b8a3f5b54c9eb4b', class: "flex flex-col gap-y-24" }, this.title && (hAsync("span", { key: '5d07685b0e31419d442765c230f9cd2373ce2773', role: "heading", class: "f-heading-04" }, this.title)), this.description && hAsync("span", { key: '13fe635ea00fa3c950951f1df37549fa75341666', class: "f-body-02 text-light" }, this.description), hAsync("slot", { key: '5e62b8844536ef127ce2565e4167766bf6d5ba4d' })), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
7763
7853
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7764
|
-
.map((g) => (hAsync("div", { class: "
|
|
7854
|
+
.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: '831b919b0784a671596678392fe5aa0433af35a5', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (hAsync("div", { key: 'bdddee0aa0899c9cea3ce737f30f1e25ce8d95c5', class: "mt-32" }, hAsync("eds-button", { key: 'f9a61383079b998dc98558d85b93e30aa32a3eeb', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
7765
7855
|
}
|
|
7766
7856
|
get el() { return getElement(this); }
|
|
7767
7857
|
static get watchers() { return {
|
|
@@ -7889,7 +7979,7 @@ class EdsFrame {
|
|
|
7889
7979
|
}
|
|
7890
7980
|
}
|
|
7891
7981
|
render() {
|
|
7892
|
-
return (hAsync("div", { key: '
|
|
7982
|
+
return (hAsync("div", { key: '919f5de224a556016a2ccf7bdfc20a4885afa3f5', class: this.articleClasses() }, hAsync("div", { key: '13f6c97cd99ddc7a15bed69efed236f44266d9ab', class: "effect-height flex items-center justify-between py-8 px-12" }, hAsync("span", { key: 'a1b912042dbf197dd7044016582412980c9a177b', 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: '186fa28cc18e183318f94ccfd2d557ee800f43b7', 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
7983
|
}
|
|
7894
7984
|
get el() { return getElement(this); }
|
|
7895
7985
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -7949,6 +8039,10 @@ class EdsFullscreenMenu {
|
|
|
7949
8039
|
handleToggleMenu(event) {
|
|
7950
8040
|
this.isMenuOpen = !!event.detail;
|
|
7951
8041
|
}
|
|
8042
|
+
onKeydown(e) {
|
|
8043
|
+
if (e.key === 'Escape' && this.isMenuOpen)
|
|
8044
|
+
this.closeMenu();
|
|
8045
|
+
}
|
|
7952
8046
|
/** Opens the menu */
|
|
7953
8047
|
openMenu() {
|
|
7954
8048
|
this.isMenuOpen = true;
|
|
@@ -7958,6 +8052,8 @@ class EdsFullscreenMenu {
|
|
|
7958
8052
|
this.isMenuOpen = false;
|
|
7959
8053
|
this.menuClose.emit();
|
|
7960
8054
|
}
|
|
8055
|
+
async open() { this.isMenuOpen = true; }
|
|
8056
|
+
async close() { this.closeMenu(); }
|
|
7961
8057
|
// Lifecycle method to add the resize event listener when component loads
|
|
7962
8058
|
componentDidLoad() {
|
|
7963
8059
|
window.addEventListener('resize', this.handleResize.bind(this));
|
|
@@ -7991,7 +8087,7 @@ class EdsFullscreenMenu {
|
|
|
7991
8087
|
return parseData(this.menuLinks);
|
|
7992
8088
|
}
|
|
7993
8089
|
render() {
|
|
7994
|
-
return this.isMenuOpen ? (hAsync("div", { class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, hAsync("div", { class: "flex min-h-full flex-col" }, hAsync("div", { class: `w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, hAsync("div", { class: "mx-auto flex items-center justify-between" }, hAsync("div", { class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), hAsync("div", { class: "px-16" }, hAsync("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), hAsync("div", { class: "py-16 px-16" }, hAsync("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index) => (hAsync("eds-link", { label: link.label, key: index, 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" })))), hAsync("eds-block-break", null), hAsync("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index) => (hAsync("eds-link", { label: link.label, key: index, 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" })))), hAsync("nav", { class: "mt-28 flex flex-col gap-y-8" }, hAsync("slot", null))), hAsync("div", { class: "mt-auto" }, hAsync("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
8090
|
+
return this.isMenuOpen ? (hAsync("div", { role: "dialog", "aria-modal": "true", "aria-label": "Main menu", class: "eds-full-screen bg-default fixed inset-0 z-[999999] overflow-y-scroll" }, hAsync("div", { class: "flex min-h-full flex-col" }, hAsync("div", { class: `w-full sticky top-0 ${this.inverseHeader ? 'bg-strongest' : 'bg-default'}` }, hAsync("div", { class: "mx-auto flex items-center justify-between" }, hAsync("div", { class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { type: this.inverseHeader ? 'color-white' : 'color', href: this.homeUrl })), hAsync("div", { class: "px-16" }, hAsync("eds-button", { "aria-label": "Close menu", intent: "ghostInverse", icon: "close", onClick: () => this.closeMenu() })))), hAsync("div", { class: "py-16 px-16" }, hAsync("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedLinks.map((link, index) => (hAsync("eds-link", { label: link.label, key: index, 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" })))), hAsync("eds-block-break", null), hAsync("nav", { class: "mt-28 flex flex-col gap-y-8" }, this.parsedMenuLinks.map((link, index) => (hAsync("eds-link", { label: link.label, key: index, 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" })))), hAsync("nav", { class: "mt-28 flex flex-col gap-y-8" }, hAsync("slot", null))), hAsync("div", { class: "mt-auto" }, hAsync("eds-footer", { social: true, "extra-class": "bg-darker" }))))) : null;
|
|
7995
8091
|
}
|
|
7996
8092
|
static get style() { return EdsFullscreenMenuStyle0; }
|
|
7997
8093
|
static get cmpMeta() { return {
|
|
@@ -8002,9 +8098,11 @@ class EdsFullscreenMenu {
|
|
|
8002
8098
|
"menuLinks": [1, "menu-links"],
|
|
8003
8099
|
"homeUrl": [1, "home-url"],
|
|
8004
8100
|
"inverseHeader": [4, "inverse-header"],
|
|
8005
|
-
"isMenuOpen": [32]
|
|
8101
|
+
"isMenuOpen": [32],
|
|
8102
|
+
"open": [64],
|
|
8103
|
+
"close": [64]
|
|
8006
8104
|
},
|
|
8007
|
-
"$listeners$": [[16, "toggleheadermenu", "handleToggleMenu"]],
|
|
8105
|
+
"$listeners$": [[16, "toggleheadermenu", "handleToggleMenu"], [8, "keydown", "onKeydown"]],
|
|
8008
8106
|
"$lazyBundleId$": "-",
|
|
8009
8107
|
"$attrsToReflect$": []
|
|
8010
8108
|
}; }
|
|
@@ -8058,7 +8156,7 @@ class EdsGauge {
|
|
|
8058
8156
|
const textStyle = {
|
|
8059
8157
|
fontSize: `${fontSize}px`
|
|
8060
8158
|
};
|
|
8061
|
-
return (hAsync("div", { key: '
|
|
8159
|
+
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
8160
|
}
|
|
8063
8161
|
static get style() { return EdsGaugeStyle0; }
|
|
8064
8162
|
static get cmpMeta() { return {
|
|
@@ -8078,6 +8176,194 @@ class EdsGauge {
|
|
|
8078
8176
|
}; }
|
|
8079
8177
|
}
|
|
8080
8178
|
|
|
8179
|
+
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)}";
|
|
8180
|
+
var EdsGlobalSearchStyle0 = edsGlobalSearchCss;
|
|
8181
|
+
|
|
8182
|
+
class EdsGlobalSearch {
|
|
8183
|
+
constructor(hostRef) {
|
|
8184
|
+
registerInstance(this, hostRef);
|
|
8185
|
+
this.resultSelected = createEvent(this, "resultSelected", 7);
|
|
8186
|
+
this.searchClosed = createEvent(this, "searchClosed", 7);
|
|
8187
|
+
this.handleInput = (event) => {
|
|
8188
|
+
var _a;
|
|
8189
|
+
const target = event.target;
|
|
8190
|
+
this.query = target.value;
|
|
8191
|
+
if (this.debounceTimer) {
|
|
8192
|
+
clearTimeout(this.debounceTimer);
|
|
8193
|
+
}
|
|
8194
|
+
if (!this.query.trim()) {
|
|
8195
|
+
this.results = [];
|
|
8196
|
+
this.hasSearched = false;
|
|
8197
|
+
this.showDropdown = false;
|
|
8198
|
+
return;
|
|
8199
|
+
}
|
|
8200
|
+
sendAnalytics({
|
|
8201
|
+
category: 'shared-ui',
|
|
8202
|
+
parentContext: null,
|
|
8203
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8204
|
+
name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
|
|
8205
|
+
'unknow seach input query',
|
|
8206
|
+
action: 'click',
|
|
8207
|
+
});
|
|
8208
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
8209
|
+
this.runSearch();
|
|
8210
|
+
}, this.debounceDelay);
|
|
8211
|
+
};
|
|
8212
|
+
this.apiEndpoint = '/api/v1/global-search';
|
|
8213
|
+
this.placeholder = 'Search Handbook + Design...';
|
|
8214
|
+
this.limit = 20;
|
|
8215
|
+
this.debounceDelay = 300;
|
|
8216
|
+
this.query = '';
|
|
8217
|
+
this.results = [];
|
|
8218
|
+
this.loading = false;
|
|
8219
|
+
this.error = '';
|
|
8220
|
+
this.hasSearched = false;
|
|
8221
|
+
this.showDropdown = false;
|
|
8222
|
+
this.selectedIndex = -1;
|
|
8223
|
+
}
|
|
8224
|
+
componentDidLoad() {
|
|
8225
|
+
// Focus input if needed
|
|
8226
|
+
if (this.inputRef) {
|
|
8227
|
+
this.inputRef.focus();
|
|
8228
|
+
}
|
|
8229
|
+
}
|
|
8230
|
+
disconnectedCallback() {
|
|
8231
|
+
if (this.debounceTimer) {
|
|
8232
|
+
clearTimeout(this.debounceTimer);
|
|
8233
|
+
}
|
|
8234
|
+
}
|
|
8235
|
+
handleDocumentClick(event) {
|
|
8236
|
+
const path = event.composedPath();
|
|
8237
|
+
if (!path.includes(this.el)) {
|
|
8238
|
+
this.showDropdown = false;
|
|
8239
|
+
this.selectedIndex = -1;
|
|
8240
|
+
}
|
|
8241
|
+
}
|
|
8242
|
+
handleKeydown(event) {
|
|
8243
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
8244
|
+
if (event.key === 'Escape') {
|
|
8245
|
+
this.searchClosed.emit();
|
|
8246
|
+
}
|
|
8247
|
+
return;
|
|
8248
|
+
}
|
|
8249
|
+
switch (event.key) {
|
|
8250
|
+
case 'ArrowDown':
|
|
8251
|
+
event.preventDefault();
|
|
8252
|
+
this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
|
|
8253
|
+
this.scrollToSelected();
|
|
8254
|
+
break;
|
|
8255
|
+
case 'ArrowUp':
|
|
8256
|
+
event.preventDefault();
|
|
8257
|
+
this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
|
|
8258
|
+
this.scrollToSelected();
|
|
8259
|
+
break;
|
|
8260
|
+
case 'Enter':
|
|
8261
|
+
event.preventDefault();
|
|
8262
|
+
if (this.selectedIndex >= 0 &&
|
|
8263
|
+
this.selectedIndex < this.results.length) {
|
|
8264
|
+
this.selectResult(this.results[this.selectedIndex]);
|
|
8265
|
+
}
|
|
8266
|
+
break;
|
|
8267
|
+
case 'Escape':
|
|
8268
|
+
this.showDropdown = false;
|
|
8269
|
+
this.selectedIndex = -1;
|
|
8270
|
+
this.searchClosed.emit();
|
|
8271
|
+
break;
|
|
8272
|
+
}
|
|
8273
|
+
}
|
|
8274
|
+
async runSearch() {
|
|
8275
|
+
var _a;
|
|
8276
|
+
const query = this.query.trim();
|
|
8277
|
+
if (!query) {
|
|
8278
|
+
this.results = [];
|
|
8279
|
+
this.hasSearched = false;
|
|
8280
|
+
this.showDropdown = false;
|
|
8281
|
+
return;
|
|
8282
|
+
}
|
|
8283
|
+
this.loading = true;
|
|
8284
|
+
this.error = '';
|
|
8285
|
+
try {
|
|
8286
|
+
const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
|
|
8287
|
+
if (!response.ok) {
|
|
8288
|
+
throw new Error('Search failed');
|
|
8289
|
+
}
|
|
8290
|
+
const data = await response.json();
|
|
8291
|
+
this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
|
|
8292
|
+
this.hasSearched = true;
|
|
8293
|
+
this.showDropdown = true;
|
|
8294
|
+
this.selectedIndex = -1;
|
|
8295
|
+
}
|
|
8296
|
+
catch (err) {
|
|
8297
|
+
console.error('Search error:', err);
|
|
8298
|
+
this.error = 'Search failed. Please try again.';
|
|
8299
|
+
this.results = [];
|
|
8300
|
+
this.showDropdown = true;
|
|
8301
|
+
}
|
|
8302
|
+
finally {
|
|
8303
|
+
this.loading = false;
|
|
8304
|
+
}
|
|
8305
|
+
}
|
|
8306
|
+
selectResult(result) {
|
|
8307
|
+
this.resultSelected.emit(result);
|
|
8308
|
+
this.searchClosed.emit();
|
|
8309
|
+
sendAnalytics({
|
|
8310
|
+
category: 'shared-ui',
|
|
8311
|
+
parentContext: null,
|
|
8312
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8313
|
+
name: `search-select: ${result.url}` || 'unknow search result selection',
|
|
8314
|
+
action: 'click',
|
|
8315
|
+
});
|
|
8316
|
+
window.open(result.url, '_blank', 'noopener,noreferrer');
|
|
8317
|
+
}
|
|
8318
|
+
scrollToSelected() {
|
|
8319
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
8320
|
+
const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
8321
|
+
if (selectedItem) {
|
|
8322
|
+
selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
|
|
8323
|
+
}
|
|
8324
|
+
}
|
|
8325
|
+
}
|
|
8326
|
+
stripHtml(html) {
|
|
8327
|
+
const div = document.createElement('div');
|
|
8328
|
+
div.innerHTML = html;
|
|
8329
|
+
return div.textContent || div.innerText || '';
|
|
8330
|
+
}
|
|
8331
|
+
get hasResults() {
|
|
8332
|
+
return this.results.length > 0;
|
|
8333
|
+
}
|
|
8334
|
+
get showEmpty() {
|
|
8335
|
+
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
8336
|
+
}
|
|
8337
|
+
render() {
|
|
8338
|
+
return (hAsync("div", { key: 'e3c15463b46aa6349efb86e4907d6f7bfabf682f', class: "search-wrapper" }, hAsync("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 && (hAsync("div", { key: 'f592d322fb3d1556743edc39713c8dbaa6449fa6', class: "search-dropdown", ref: (el) => (this.dropdownRef = el) }, this.loading && (hAsync("div", { key: '4d3171271b27f70650bbded9cb7c0b76799dc1a1', class: "flex text-center justify-center p-64" }, hAsync("eds-spinner", { key: '74fed5cf70ba698468dd2ca03dc5ff4eb7aeb7db', variant: "primary", size: "sm" }))), this.error && !this.loading && (hAsync("div", { key: '481fd52e321ff02ca61cc0877a61f577b6a1ebd7', class: "flex text-center justify-center p-16" }, hAsync("span", { key: '073d2a12b960b3309e0ab597c41d36f946615ed6', class: "text-error f-body-02" }, this.error))), this.showEmpty && (hAsync("div", { key: '7b031eec1e6720f4cda6bc107ebc6f64f1c6e35f', class: "dropdown-state" }, hAsync("eds-icon-wrapper", { key: '3ce91c3dcdaf27bd85f7ea4c855bab58b1208355', icon: "search" }), hAsync("div", { key: 'c1a9b0c3f62fc568fa9d34d41730da8960bcdd54' }, hAsync("p", { key: 'd3b87b4a6b06e81e5c62e817b924f762974c589e', class: "f-body-02" }, "No results found"), hAsync("p", { key: '67fde47420811b9eaef805d9e6aa1b3515c74251', class: "f-ui-04 text-lightest" }, "Try different keywords")))), this.hasResults && !this.loading && (hAsync("ul", { key: 'ba3a77467ba5e709bdf95dc793c316a18a135b64', class: "dropdown-results" }, this.results.map((result, index) => (hAsync("li", { key: result.id, "data-index": index, class: {
|
|
8339
|
+
'result-item': true,
|
|
8340
|
+
'result-item--selected': index === this.selectedIndex,
|
|
8341
|
+
}, 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: 'ccdceeb06f423b28868dbf5ec2a11c5b84c651d7', class: "dropdown-footer" }, hAsync("span", { key: 'e9dfb424b4dd277b11c6a630c673ec6368b09ef2', class: "footer-hint" }, hAsync("kbd", { key: '4d045d4356b035c6efc7e029ea9e1f5bb4828b6b' }, "\u2191"), " ", hAsync("kbd", { key: '5ee2913fe448ad3763ca9a70f474bfa9fcd3aad9' }, "\u2193"), " navigate \u2022 ", hAsync("kbd", { key: 'd745261bb53ecffae5ff41d53e349fd74d37b955' }, "\u21B5"), " select \u2022", ' ', hAsync("kbd", { key: 'baa93b7af9e8ae8994f8e73c1bf7942f659b0491' }, "esc"), " close")))))));
|
|
8342
|
+
}
|
|
8343
|
+
get el() { return getElement(this); }
|
|
8344
|
+
static get style() { return EdsGlobalSearchStyle0; }
|
|
8345
|
+
static get cmpMeta() { return {
|
|
8346
|
+
"$flags$": 9,
|
|
8347
|
+
"$tagName$": "eds-global-search",
|
|
8348
|
+
"$members$": {
|
|
8349
|
+
"apiEndpoint": [1, "api-endpoint"],
|
|
8350
|
+
"placeholder": [1],
|
|
8351
|
+
"limit": [2],
|
|
8352
|
+
"debounceDelay": [2, "debounce-delay"],
|
|
8353
|
+
"query": [32],
|
|
8354
|
+
"results": [32],
|
|
8355
|
+
"loading": [32],
|
|
8356
|
+
"error": [32],
|
|
8357
|
+
"hasSearched": [32],
|
|
8358
|
+
"showDropdown": [32],
|
|
8359
|
+
"selectedIndex": [32]
|
|
8360
|
+
},
|
|
8361
|
+
"$listeners$": [[4, "click", "handleDocumentClick"], [0, "keydown", "handleKeydown"]],
|
|
8362
|
+
"$lazyBundleId$": "-",
|
|
8363
|
+
"$attrsToReflect$": []
|
|
8364
|
+
}; }
|
|
8365
|
+
}
|
|
8366
|
+
|
|
8081
8367
|
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
8368
|
var EdsHeaderStyle0 = edsHeaderCss;
|
|
8083
8369
|
|
|
@@ -8104,14 +8390,10 @@ class EdsHeader {
|
|
|
8104
8390
|
this.menuEnabled = false;
|
|
8105
8391
|
this.isMenuOpen = false;
|
|
8106
8392
|
this.isUserMenuOpen = false;
|
|
8107
|
-
this.isAuthenticated = false;
|
|
8108
|
-
}
|
|
8109
|
-
onAuthStatusChanged(event) {
|
|
8110
|
-
var _a;
|
|
8111
|
-
this.isAuthenticated = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.authenticated;
|
|
8112
8393
|
}
|
|
8113
8394
|
componentDidLoad() {
|
|
8114
|
-
|
|
8395
|
+
var _a, _b;
|
|
8396
|
+
const links = (_b = (_a = this.hostEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-link')) !== null && _b !== void 0 ? _b : [];
|
|
8115
8397
|
links.forEach((link) => this.emitContext(link));
|
|
8116
8398
|
}
|
|
8117
8399
|
emitContext(linkElement) {
|
|
@@ -8139,7 +8421,7 @@ class EdsHeader {
|
|
|
8139
8421
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8140
8422
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8141
8423
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8142
|
-
return (hAsync("header", { key: '
|
|
8424
|
+
return (hAsync("header", { key: '33f041754210d5fce8b190e63a6f19ac62262cfd', role: "banner", class: `flex items-center justify-between relative z-10 ${classes}` }, hAsync("div", { key: '596d4b9cbb08fa95aa9b715599290ac91aff3f77', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: 'd13e83eca926b82f7406d5efb3f16555c25c167c', type: logoType, href: this.homeUrl })), this.parsedLinks && (hAsync("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" }, hAsync("ul", { key: 'ea3db252b028340a007a18b4cb1fb995fefd51b0', 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: '47dfb8dcd8e77bd908236aef0cc0c3c5542de11e', name: "actions" }), this.menuEnabled && (hAsync("div", { key: 'a6f4a3fb9834696d39a6831098c12f1a5a519a6b', class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { key: '2c6586152953caa33911d19fa69d3518cb73fc41', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
8143
8425
|
}
|
|
8144
8426
|
get hostEl() { return getElement(this); }
|
|
8145
8427
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -8152,10 +8434,9 @@ class EdsHeader {
|
|
|
8152
8434
|
"headerVariant": [513, "header-variant"],
|
|
8153
8435
|
"menuEnabled": [4, "menu-enabled"],
|
|
8154
8436
|
"isMenuOpen": [32],
|
|
8155
|
-
"isUserMenuOpen": [32]
|
|
8156
|
-
"isAuthenticated": [32]
|
|
8437
|
+
"isUserMenuOpen": [32]
|
|
8157
8438
|
},
|
|
8158
|
-
"$listeners$":
|
|
8439
|
+
"$listeners$": undefined,
|
|
8159
8440
|
"$lazyBundleId$": "-",
|
|
8160
8441
|
"$attrsToReflect$": [["homeUrl", "home-url"], ["headerVariant", "header-variant"]]
|
|
8161
8442
|
}; }
|
|
@@ -10157,7 +10438,7 @@ class EdsIconArrowDiagonal {
|
|
|
10157
10438
|
this.class = '';
|
|
10158
10439
|
}
|
|
10159
10440
|
render() {
|
|
10160
|
-
return hAsync("span", { key: '
|
|
10441
|
+
return hAsync("span", { key: '4dd5fc5be465494e8546404231cfdb63609e64f1', class: this.class, innerHTML: arrowDiagonal });
|
|
10161
10442
|
}
|
|
10162
10443
|
static get cmpMeta() { return {
|
|
10163
10444
|
"$flags$": 0,
|
|
@@ -10180,7 +10461,7 @@ class EdsIconArrowRight {
|
|
|
10180
10461
|
this.class = '';
|
|
10181
10462
|
}
|
|
10182
10463
|
render() {
|
|
10183
|
-
return hAsync("span", { key: '
|
|
10464
|
+
return hAsync("span", { key: '64d0cb03ab1a33096ad9e3b7219a2e758707a1d5', class: this.class, innerHTML: arrowRight });
|
|
10184
10465
|
}
|
|
10185
10466
|
static get cmpMeta() { return {
|
|
10186
10467
|
"$flags$": 0,
|
|
@@ -10203,7 +10484,7 @@ class EdsIconBin {
|
|
|
10203
10484
|
this.class = '';
|
|
10204
10485
|
}
|
|
10205
10486
|
render() {
|
|
10206
|
-
return hAsync("span", { key: '
|
|
10487
|
+
return hAsync("span", { key: '9a7b52f2a2006bd83418d6b4bb2834bffa79305c', class: this.class, innerHTML: bin });
|
|
10207
10488
|
}
|
|
10208
10489
|
static get cmpMeta() { return {
|
|
10209
10490
|
"$flags$": 0,
|
|
@@ -10226,7 +10507,7 @@ class EdsIconBluesky {
|
|
|
10226
10507
|
this.class = '';
|
|
10227
10508
|
}
|
|
10228
10509
|
render() {
|
|
10229
|
-
return hAsync("span", { key: '
|
|
10510
|
+
return hAsync("span", { key: '4f21c5659e92ea08e1f464d23e351fbfef6e347d', class: this.class, innerHTML: bluesky });
|
|
10230
10511
|
}
|
|
10231
10512
|
static get cmpMeta() { return {
|
|
10232
10513
|
"$flags$": 0,
|
|
@@ -10249,7 +10530,7 @@ class EdsIconBookmark {
|
|
|
10249
10530
|
this.class = '';
|
|
10250
10531
|
}
|
|
10251
10532
|
render() {
|
|
10252
|
-
return hAsync("span", { key: '
|
|
10533
|
+
return hAsync("span", { key: '48b2e81ac7f597b50d13a7a0a753894ac18022cd', class: this.class, innerHTML: bookmark });
|
|
10253
10534
|
}
|
|
10254
10535
|
static get cmpMeta() { return {
|
|
10255
10536
|
"$flags$": 0,
|
|
@@ -10272,7 +10553,7 @@ class EdsIconChevronDown {
|
|
|
10272
10553
|
this.class = '';
|
|
10273
10554
|
}
|
|
10274
10555
|
render() {
|
|
10275
|
-
return hAsync("span", { key: '
|
|
10556
|
+
return hAsync("span", { key: 'ea6e2250c63af2a7f3ed1d50e6514a28e5629e6d', class: this.class, innerHTML: chevronDown });
|
|
10276
10557
|
}
|
|
10277
10558
|
static get cmpMeta() { return {
|
|
10278
10559
|
"$flags$": 0,
|
|
@@ -10295,7 +10576,7 @@ class EdsIconChevronLeft {
|
|
|
10295
10576
|
this.class = '';
|
|
10296
10577
|
}
|
|
10297
10578
|
render() {
|
|
10298
|
-
return hAsync("span", { key: '
|
|
10579
|
+
return hAsync("span", { key: '8847183f6f31439d94f87a24ee01697babe53ecf', class: this.class, innerHTML: chevronLeft });
|
|
10299
10580
|
}
|
|
10300
10581
|
static get cmpMeta() { return {
|
|
10301
10582
|
"$flags$": 0,
|
|
@@ -10318,7 +10599,7 @@ class EdsIconChevronRight {
|
|
|
10318
10599
|
this.class = '';
|
|
10319
10600
|
}
|
|
10320
10601
|
render() {
|
|
10321
|
-
return hAsync("span", { key: '
|
|
10602
|
+
return hAsync("span", { key: '398a406ad137aeb4d51286b82eccee3c0bff2f2b', class: this.class, innerHTML: chevronRight });
|
|
10322
10603
|
}
|
|
10323
10604
|
static get cmpMeta() { return {
|
|
10324
10605
|
"$flags$": 0,
|
|
@@ -10341,7 +10622,7 @@ class EdsIconChevronUp {
|
|
|
10341
10622
|
this.class = '';
|
|
10342
10623
|
}
|
|
10343
10624
|
render() {
|
|
10344
|
-
return hAsync("span", { key: '
|
|
10625
|
+
return hAsync("span", { key: 'f0647dcbf0e597fc3dd2f31d0e1de2ce7237d25a', class: this.class, innerHTML: chevronUp });
|
|
10345
10626
|
}
|
|
10346
10627
|
static get cmpMeta() { return {
|
|
10347
10628
|
"$flags$": 0,
|
|
@@ -10364,7 +10645,7 @@ class EdsIconClone {
|
|
|
10364
10645
|
this.class = '';
|
|
10365
10646
|
}
|
|
10366
10647
|
render() {
|
|
10367
|
-
return hAsync("span", { key: '
|
|
10648
|
+
return hAsync("span", { key: 'faa232cc2d703f00cbda76fb9c152773a032ded2', class: this.class, innerHTML: clone });
|
|
10368
10649
|
}
|
|
10369
10650
|
static get cmpMeta() { return {
|
|
10370
10651
|
"$flags$": 0,
|
|
@@ -10387,7 +10668,7 @@ class EdsIconClose {
|
|
|
10387
10668
|
this.class = '';
|
|
10388
10669
|
}
|
|
10389
10670
|
render() {
|
|
10390
|
-
return hAsync("span", { key: '
|
|
10671
|
+
return hAsync("span", { key: '001c4d41b324d9b2636087e1fde76e2fdeef9f33', class: this.class, innerHTML: close });
|
|
10391
10672
|
}
|
|
10392
10673
|
static get cmpMeta() { return {
|
|
10393
10674
|
"$flags$": 0,
|
|
@@ -10410,7 +10691,7 @@ class EdsIconCopy {
|
|
|
10410
10691
|
this.class = '';
|
|
10411
10692
|
}
|
|
10412
10693
|
render() {
|
|
10413
|
-
return hAsync("span", { key: '
|
|
10694
|
+
return hAsync("span", { key: '6a7eb765b426e0e142a0d7f742ddc33c9de98601', class: this.class, innerHTML: copy });
|
|
10414
10695
|
}
|
|
10415
10696
|
static get cmpMeta() { return {
|
|
10416
10697
|
"$flags$": 0,
|
|
@@ -10433,7 +10714,7 @@ class EdsIconDownload {
|
|
|
10433
10714
|
this.class = '';
|
|
10434
10715
|
}
|
|
10435
10716
|
render() {
|
|
10436
|
-
return hAsync("span", { key: '
|
|
10717
|
+
return hAsync("span", { key: 'b2b380a299ee2b9941613ddddc3d67b2db4ce57e', class: this.class, innerHTML: download });
|
|
10437
10718
|
}
|
|
10438
10719
|
static get cmpMeta() { return {
|
|
10439
10720
|
"$flags$": 0,
|
|
@@ -10456,7 +10737,7 @@ class EdsIconDraft {
|
|
|
10456
10737
|
this.class = '';
|
|
10457
10738
|
}
|
|
10458
10739
|
render() {
|
|
10459
|
-
return hAsync("span", { key: '
|
|
10740
|
+
return hAsync("span", { key: '0defed3e15ba10e6e62cf35d0540901ec1dd2485', class: this.class, innerHTML: draft });
|
|
10460
10741
|
}
|
|
10461
10742
|
static get cmpMeta() { return {
|
|
10462
10743
|
"$flags$": 0,
|
|
@@ -10479,7 +10760,7 @@ class EdsIconEdit {
|
|
|
10479
10760
|
this.class = '';
|
|
10480
10761
|
}
|
|
10481
10762
|
render() {
|
|
10482
|
-
return hAsync("span", { key: '
|
|
10763
|
+
return hAsync("span", { key: '86ec46944e96100f5e262f505dd64839b99f0d8d', class: this.class, innerHTML: edit });
|
|
10483
10764
|
}
|
|
10484
10765
|
static get cmpMeta() { return {
|
|
10485
10766
|
"$flags$": 0,
|
|
@@ -10502,7 +10783,7 @@ class EdsIconEu {
|
|
|
10502
10783
|
this.class = '';
|
|
10503
10784
|
}
|
|
10504
10785
|
render() {
|
|
10505
|
-
return hAsync("span", { key: '
|
|
10786
|
+
return hAsync("span", { key: '216be6a7fcc4f8ffb2936507cbff95bc1141c764', class: this.class, innerHTML: euSvg });
|
|
10506
10787
|
}
|
|
10507
10788
|
static get cmpMeta() { return {
|
|
10508
10789
|
"$flags$": 0,
|
|
@@ -10525,7 +10806,7 @@ class EdsIconExternal {
|
|
|
10525
10806
|
this.class = '';
|
|
10526
10807
|
}
|
|
10527
10808
|
render() {
|
|
10528
|
-
return hAsync("span", { key: '
|
|
10809
|
+
return hAsync("span", { key: 'a061070cf41f0a64e660fe6ea01fcaecf7c45afd', class: this.class, innerHTML: arrowDiagonal });
|
|
10529
10810
|
}
|
|
10530
10811
|
static get cmpMeta() { return {
|
|
10531
10812
|
"$flags$": 0,
|
|
@@ -10548,7 +10829,7 @@ class EdsIconFacebook {
|
|
|
10548
10829
|
this.class = '';
|
|
10549
10830
|
}
|
|
10550
10831
|
render() {
|
|
10551
|
-
return hAsync("span", { key: '
|
|
10832
|
+
return hAsync("span", { key: 'b3e7b9c17f476f6d40c446574f0df66a92750b93', class: this.class, innerHTML: facebook });
|
|
10552
10833
|
}
|
|
10553
10834
|
static get cmpMeta() { return {
|
|
10554
10835
|
"$flags$": 0,
|
|
@@ -10571,7 +10852,7 @@ class EdsIconGitlab {
|
|
|
10571
10852
|
this.class = '';
|
|
10572
10853
|
}
|
|
10573
10854
|
render() {
|
|
10574
|
-
return hAsync("span", { key: '
|
|
10855
|
+
return hAsync("span", { key: 'ac1b505068670dc7cb5953b515f768586a79d6a3', class: this.class, innerHTML: gitlabBlack });
|
|
10575
10856
|
}
|
|
10576
10857
|
static get cmpMeta() { return {
|
|
10577
10858
|
"$flags$": 0,
|
|
@@ -10594,7 +10875,7 @@ class EdsIconLinkedin {
|
|
|
10594
10875
|
this.class = '';
|
|
10595
10876
|
}
|
|
10596
10877
|
render() {
|
|
10597
|
-
return hAsync("span", { key: '
|
|
10878
|
+
return hAsync("span", { key: '98e62dd3477d86fbdcdfb1388795e119910de8c1', class: this.class, innerHTML: linkedin });
|
|
10598
10879
|
}
|
|
10599
10880
|
static get cmpMeta() { return {
|
|
10600
10881
|
"$flags$": 0,
|
|
@@ -10617,7 +10898,7 @@ class EdsIconLoader {
|
|
|
10617
10898
|
this.class = '';
|
|
10618
10899
|
}
|
|
10619
10900
|
render() {
|
|
10620
|
-
return hAsync("span", { key: '
|
|
10901
|
+
return hAsync("span", { key: '3a9bd685a48bd253613d94a0755e3011144b69a8', class: this.class, innerHTML: loader });
|
|
10621
10902
|
}
|
|
10622
10903
|
static get cmpMeta() { return {
|
|
10623
10904
|
"$flags$": 0,
|
|
@@ -10640,7 +10921,7 @@ class EdsIconMastodon {
|
|
|
10640
10921
|
this.class = '';
|
|
10641
10922
|
}
|
|
10642
10923
|
render() {
|
|
10643
|
-
return hAsync("span", { key: '
|
|
10924
|
+
return hAsync("span", { key: '780be04fc40f5ac361cc7cce4694c9f624ab4a0a', class: this.class, innerHTML: mastodon });
|
|
10644
10925
|
}
|
|
10645
10926
|
static get cmpMeta() { return {
|
|
10646
10927
|
"$flags$": 0,
|
|
@@ -10663,7 +10944,7 @@ class EdsIconMenu {
|
|
|
10663
10944
|
this.class = '';
|
|
10664
10945
|
}
|
|
10665
10946
|
render() {
|
|
10666
|
-
return hAsync("span", { key: '
|
|
10947
|
+
return hAsync("span", { key: 'ee487c5a7cbd576d21a7f0b282ca0606a045de2e', class: this.class, innerHTML: menu });
|
|
10667
10948
|
}
|
|
10668
10949
|
static get cmpMeta() { return {
|
|
10669
10950
|
"$flags$": 0,
|
|
@@ -10686,7 +10967,7 @@ class EdsIconMinus {
|
|
|
10686
10967
|
this.class = '';
|
|
10687
10968
|
}
|
|
10688
10969
|
render() {
|
|
10689
|
-
return hAsync("span", { key: '
|
|
10970
|
+
return hAsync("span", { key: '4c399e259be9fcce197e0735c42dd5fa76daa220', class: this.class, innerHTML: minus });
|
|
10690
10971
|
}
|
|
10691
10972
|
static get cmpMeta() { return {
|
|
10692
10973
|
"$flags$": 0,
|
|
@@ -10709,7 +10990,7 @@ class EdsIconMore {
|
|
|
10709
10990
|
this.class = '';
|
|
10710
10991
|
}
|
|
10711
10992
|
render() {
|
|
10712
|
-
return hAsync("span", { key: '
|
|
10993
|
+
return hAsync("span", { key: '6eae5aa60d60601dcdacf6fcf1f40be87cd3f869', class: this.class, innerHTML: more });
|
|
10713
10994
|
}
|
|
10714
10995
|
static get cmpMeta() { return {
|
|
10715
10996
|
"$flags$": 0,
|
|
@@ -10732,7 +11013,7 @@ class EdsIconPaper {
|
|
|
10732
11013
|
this.class = '';
|
|
10733
11014
|
}
|
|
10734
11015
|
render() {
|
|
10735
|
-
return hAsync("span", { key: '
|
|
11016
|
+
return hAsync("span", { key: 'a2fd252b8b3050636aeae7308d69ddcaf2d54a4e', class: this.class, innerHTML: paper });
|
|
10736
11017
|
}
|
|
10737
11018
|
static get cmpMeta() { return {
|
|
10738
11019
|
"$flags$": 0,
|
|
@@ -10755,7 +11036,7 @@ class EdsIconPlus {
|
|
|
10755
11036
|
this.class = '';
|
|
10756
11037
|
}
|
|
10757
11038
|
render() {
|
|
10758
|
-
return hAsync("span", { key: '
|
|
11039
|
+
return hAsync("span", { key: '339d03b5782b6acfc41ffa62b4482eb6098bc0b0', class: this.class, innerHTML: plus });
|
|
10759
11040
|
}
|
|
10760
11041
|
static get cmpMeta() { return {
|
|
10761
11042
|
"$flags$": 0,
|
|
@@ -10778,7 +11059,7 @@ class EdsIconPortal {
|
|
|
10778
11059
|
this.class = '';
|
|
10779
11060
|
}
|
|
10780
11061
|
render() {
|
|
10781
|
-
return hAsync("span", { key: '
|
|
11062
|
+
return hAsync("span", { key: 'dc84ec0bf1fdd9d5461d4cf8496f6b0d9658ffb8', class: this.class, innerHTML: portal });
|
|
10782
11063
|
}
|
|
10783
11064
|
static get cmpMeta() { return {
|
|
10784
11065
|
"$flags$": 0,
|
|
@@ -10801,7 +11082,7 @@ class EdsIconPrivate {
|
|
|
10801
11082
|
this.class = '';
|
|
10802
11083
|
}
|
|
10803
11084
|
render() {
|
|
10804
|
-
return hAsync("span", { key: '
|
|
11085
|
+
return hAsync("span", { key: 'eb2ac14ec0564bc1a1133ae099b4e49dffde5f92', class: this.class, innerHTML: privat });
|
|
10805
11086
|
}
|
|
10806
11087
|
static get cmpMeta() { return {
|
|
10807
11088
|
"$flags$": 0,
|
|
@@ -10824,7 +11105,7 @@ class EdsIconPublic {
|
|
|
10824
11105
|
this.class = '';
|
|
10825
11106
|
}
|
|
10826
11107
|
render() {
|
|
10827
|
-
return hAsync("span", { key: '
|
|
11108
|
+
return hAsync("span", { key: 'f8ff53678e0a06d505ac6f19ca79808597a2ef34', class: this.class, innerHTML: pub });
|
|
10828
11109
|
}
|
|
10829
11110
|
static get cmpMeta() { return {
|
|
10830
11111
|
"$flags$": 0,
|
|
@@ -10847,7 +11128,7 @@ class EdsIconSearch {
|
|
|
10847
11128
|
this.class = '';
|
|
10848
11129
|
}
|
|
10849
11130
|
render() {
|
|
10850
|
-
return hAsync("span", { key: '
|
|
11131
|
+
return hAsync("span", { key: '892c0b85f2039ee09a642d6040aa2679b3badfda', class: this.class, innerHTML: search });
|
|
10851
11132
|
}
|
|
10852
11133
|
static get cmpMeta() { return {
|
|
10853
11134
|
"$flags$": 0,
|
|
@@ -10870,7 +11151,7 @@ class EdsIconStar {
|
|
|
10870
11151
|
this.class = '';
|
|
10871
11152
|
}
|
|
10872
11153
|
render() {
|
|
10873
|
-
return hAsync("span", { key: '
|
|
11154
|
+
return hAsync("span", { key: 'c5831907f350c7aa0a0029c69bcb5e8fcd51d221', class: this.class, innerHTML: star });
|
|
10874
11155
|
}
|
|
10875
11156
|
static get cmpMeta() { return {
|
|
10876
11157
|
"$flags$": 0,
|
|
@@ -10893,7 +11174,7 @@ class EdsIconStart {
|
|
|
10893
11174
|
this.class = '';
|
|
10894
11175
|
}
|
|
10895
11176
|
render() {
|
|
10896
|
-
return hAsync("span", { key: '
|
|
11177
|
+
return hAsync("span", { key: '27ab2edbb78b6560a93158cd2e55a42552337694', class: this.class, innerHTML: start });
|
|
10897
11178
|
}
|
|
10898
11179
|
static get cmpMeta() { return {
|
|
10899
11180
|
"$flags$": 0,
|
|
@@ -10916,7 +11197,7 @@ class EdsIconSuccess {
|
|
|
10916
11197
|
this.class = '';
|
|
10917
11198
|
}
|
|
10918
11199
|
render() {
|
|
10919
|
-
return hAsync("span", { key: '
|
|
11200
|
+
return hAsync("span", { key: '6f20d0106096d427556e05b663e3fa133852470e', class: this.class, innerHTML: success });
|
|
10920
11201
|
}
|
|
10921
11202
|
static get cmpMeta() { return {
|
|
10922
11203
|
"$flags$": 0,
|
|
@@ -10939,7 +11220,7 @@ class EdsIconThumbsDown {
|
|
|
10939
11220
|
this.class = '';
|
|
10940
11221
|
}
|
|
10941
11222
|
render() {
|
|
10942
|
-
return hAsync("span", { key: '
|
|
11223
|
+
return hAsync("span", { key: 'accd4312433f1e6e3e1a4833fa12388b9c6ca544', class: this.class, innerHTML: thumbsDown });
|
|
10943
11224
|
}
|
|
10944
11225
|
static get cmpMeta() { return {
|
|
10945
11226
|
"$flags$": 0,
|
|
@@ -10962,7 +11243,7 @@ class EdsIconThumbsUp {
|
|
|
10962
11243
|
this.class = '';
|
|
10963
11244
|
}
|
|
10964
11245
|
render() {
|
|
10965
|
-
return hAsync("span", { key: '
|
|
11246
|
+
return hAsync("span", { key: 'afed8c9954ad497d6ac707b07c6890ea8387f011', class: this.class, innerHTML: thumbsUp });
|
|
10966
11247
|
}
|
|
10967
11248
|
static get cmpMeta() { return {
|
|
10968
11249
|
"$flags$": 0,
|
|
@@ -10985,7 +11266,7 @@ class EdsIconTutorial {
|
|
|
10985
11266
|
this.class = '';
|
|
10986
11267
|
}
|
|
10987
11268
|
render() {
|
|
10988
|
-
return hAsync("span", { key: '
|
|
11269
|
+
return hAsync("span", { key: '1ad94bbcfc46e1e69f89162ccd0a5c5c0eda3245', class: this.class, innerHTML: tutorial });
|
|
10989
11270
|
}
|
|
10990
11271
|
static get cmpMeta() { return {
|
|
10991
11272
|
"$flags$": 0,
|
|
@@ -11008,7 +11289,7 @@ class EdsIconTwitter {
|
|
|
11008
11289
|
this.class = '';
|
|
11009
11290
|
}
|
|
11010
11291
|
render() {
|
|
11011
|
-
return hAsync("span", { key: '
|
|
11292
|
+
return hAsync("span", { key: '5fb5ffd58614e322c3d371662876805aeb88ae45', class: this.class, innerHTML: twitter });
|
|
11012
11293
|
}
|
|
11013
11294
|
static get cmpMeta() { return {
|
|
11014
11295
|
"$flags$": 0,
|
|
@@ -11031,7 +11312,7 @@ class EdsIconUnknown {
|
|
|
11031
11312
|
this.class = '';
|
|
11032
11313
|
}
|
|
11033
11314
|
render() {
|
|
11034
|
-
return hAsync("span", { key: '
|
|
11315
|
+
return hAsync("span", { key: '3784c70a29511c1ef0cab2460186fdb396630df7', class: this.class, innerHTML: unknown });
|
|
11035
11316
|
}
|
|
11036
11317
|
static get cmpMeta() { return {
|
|
11037
11318
|
"$flags$": 0,
|
|
@@ -11054,7 +11335,7 @@ class EdsIconUpdown {
|
|
|
11054
11335
|
this.class = '';
|
|
11055
11336
|
}
|
|
11056
11337
|
render() {
|
|
11057
|
-
return hAsync("span", { key: '
|
|
11338
|
+
return hAsync("span", { key: '3aa681d785398425792073eb6929fb4169b37817', class: this.class, innerHTML: upDonw });
|
|
11058
11339
|
}
|
|
11059
11340
|
static get cmpMeta() { return {
|
|
11060
11341
|
"$flags$": 0,
|
|
@@ -11077,7 +11358,7 @@ class EdsIconUser {
|
|
|
11077
11358
|
this.class = '';
|
|
11078
11359
|
}
|
|
11079
11360
|
render() {
|
|
11080
|
-
return hAsync("span", { key: '
|
|
11361
|
+
return hAsync("span", { key: 'b656d852159d8cbcc0e3593f65938f6181c72ae4', class: this.class, innerHTML: user });
|
|
11081
11362
|
}
|
|
11082
11363
|
static get cmpMeta() { return {
|
|
11083
11364
|
"$flags$": 0,
|
|
@@ -11100,7 +11381,7 @@ class EdsIconView {
|
|
|
11100
11381
|
this.class = '';
|
|
11101
11382
|
}
|
|
11102
11383
|
render() {
|
|
11103
|
-
return hAsync("span", { key: '
|
|
11384
|
+
return hAsync("span", { key: 'f6135c4eb38623a60d68725ce1171e6f8ded4586', class: this.class, innerHTML: view });
|
|
11104
11385
|
}
|
|
11105
11386
|
static get cmpMeta() { return {
|
|
11106
11387
|
"$flags$": 0,
|
|
@@ -11179,7 +11460,7 @@ class EdsIconYoutube {
|
|
|
11179
11460
|
this.class = '';
|
|
11180
11461
|
}
|
|
11181
11462
|
render() {
|
|
11182
|
-
return hAsync("span", { key: '
|
|
11463
|
+
return hAsync("span", { key: '9adf87027690ce28aed73d736ce2d3be6a5245b5', class: this.class, innerHTML: youtube });
|
|
11183
11464
|
}
|
|
11184
11465
|
static get cmpMeta() { return {
|
|
11185
11466
|
"$flags$": 0,
|
|
@@ -11255,10 +11536,10 @@ class EdsImg {
|
|
|
11255
11536
|
imgOpts['loading'] = 'lazy';
|
|
11256
11537
|
imgOpts['decoding'] = 'async';
|
|
11257
11538
|
}
|
|
11258
|
-
return (hAsync("div", { key: '
|
|
11539
|
+
return (hAsync("div", { key: 'c164d1584476f9fb101abb9e1233bed40c782eb9', class: {
|
|
11259
11540
|
'items-center justify-center': true,
|
|
11260
11541
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11261
|
-
} }, hAsync("picture", { key: '
|
|
11542
|
+
} }, hAsync("picture", { key: '70e20db2fe9bdf1a494313c6896e835ff3222f3c' }, this.formats.map((format) => (hAsync("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), hAsync("img", Object.assign({ key: '164d758ed706139d2d4562775a91c9518c437d28', ref: (el) => (this.img = el), class: {
|
|
11262
11543
|
'effect-opacity object-cover object-center': true,
|
|
11263
11544
|
'opacity-100': this.loaded,
|
|
11264
11545
|
'opacity-0': !this.loaded
|
|
@@ -11340,7 +11621,7 @@ class EdsInput {
|
|
|
11340
11621
|
render() {
|
|
11341
11622
|
const withIcon = !!this.icon;
|
|
11342
11623
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11343
|
-
return (hAsync("div", { key: '
|
|
11624
|
+
return (hAsync("div", { key: '069d8ed6f23b2d98bbc24b727cad0cbc94d1a956', 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
11625
|
? {
|
|
11345
11626
|
min: this.min,
|
|
11346
11627
|
max: this.max,
|
|
@@ -11351,7 +11632,7 @@ class EdsInput {
|
|
|
11351
11632
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11352
11633
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11353
11634
|
${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: '
|
|
11635
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: '2295538938128173047a5c81166cbee3d652cf25', 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: '70a5bc0c9019c25499c4c65ece50ddb602eb3345', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
11355
11636
|
}
|
|
11356
11637
|
get el() { return getElement(this); }
|
|
11357
11638
|
static get watchers() { return {
|
|
@@ -11490,7 +11771,7 @@ class EdsInputField {
|
|
|
11490
11771
|
}
|
|
11491
11772
|
render() {
|
|
11492
11773
|
const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
|
|
11493
|
-
return (hAsync("div", { key: '
|
|
11774
|
+
return (hAsync("div", { key: '75e326788d214bcbdd0b4b5204ac309a3e76f6eb' }, 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
11775
|
var _a, _b, _c;
|
|
11495
11776
|
const rangeProps = {
|
|
11496
11777
|
name: inputOpts.name,
|
|
@@ -11503,7 +11784,7 @@ class EdsInputField {
|
|
|
11503
11784
|
const opt = this.parsedOptions;
|
|
11504
11785
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11505
11786
|
return (hAsync("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
|
|
11506
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11787
|
+
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '83d2deb40af000499d6d12e33f33b7435372ff30', class: "mt-6" }, hAsync("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 }))));
|
|
11507
11788
|
}
|
|
11508
11789
|
static get delegatesFocus() { return true; }
|
|
11509
11790
|
get hostEl() { return getElement(this); }
|
|
@@ -11555,7 +11836,7 @@ class EdsInputFooter {
|
|
|
11555
11836
|
this.link = undefined;
|
|
11556
11837
|
}
|
|
11557
11838
|
render() {
|
|
11558
|
-
return (hAsync("div", { key: '
|
|
11839
|
+
return (hAsync("div", { key: 'f968c3f3cfa5d419fe2d736b8da4f1dfd5fca88f' }, this.error && this.errorMessage && (hAsync("div", { key: '780480b021c958a4d429b13a190ed630df98f539', id: `error_${this.name}`, class: "text-error flex items-center" }, hAsync("eds-icon-wrapper", { key: '3577ebdde2d337e393d7ae41b0b55d3eac046149', icon: "warning" }), hAsync("p", { key: 'c839fe81dcd8ee0fba4ffa53dd7ba5e65a39fa46', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && hAsync("p", { key: '57833b0f0f58d36773401eaa0f37fd820ebe094c', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (hAsync("a", { key: '2330e747a9274c6b9bcadf5ae4a770cfbab78b27', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
11559
11840
|
}
|
|
11560
11841
|
static get style() { return EdsInputFooterStyle0; }
|
|
11561
11842
|
static get cmpMeta() { return {
|
|
@@ -11586,7 +11867,7 @@ class EdsInputLabel {
|
|
|
11586
11867
|
this.disabled = false;
|
|
11587
11868
|
}
|
|
11588
11869
|
render() {
|
|
11589
|
-
return (hAsync("label", { key: '
|
|
11870
|
+
return (hAsync("label", { key: '4760fa1b6a66b4ba30b689e65acc9f66e944210d', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (hAsync("span", { key: 'db3f8b321ab41765d9cc1e1d3b67ef2d58c1a53a' }, hAsync("span", { key: '0c6f4ee8daab357ff4da750241c472b126cfbb98', "aria-hidden": "true" }, "*"), hAsync("span", { key: 'ad18af56b0f20be3c9ee7280c0610c958adfdb87', class: "sr-only" }, "required")))));
|
|
11590
11871
|
}
|
|
11591
11872
|
static get style() { return EdsInputLabelStyle0; }
|
|
11592
11873
|
static get cmpMeta() { return {
|
|
@@ -11652,7 +11933,7 @@ class EdsInputRange {
|
|
|
11652
11933
|
return this.inputElement;
|
|
11653
11934
|
}
|
|
11654
11935
|
render() {
|
|
11655
|
-
return (hAsync("div", { key: '
|
|
11936
|
+
return (hAsync("div", { key: '7592e5f4c1154281fb0577af739451ea0f16dc17', class: "relative flex flex-col items-start" }, hAsync("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 }), hAsync("p", { key: 'c040d2a7e6aae8662e33d393bf1e93b0c8c254dc', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
11656
11937
|
}
|
|
11657
11938
|
get el() { return getElement(this); }
|
|
11658
11939
|
static get watchers() { return {
|
|
@@ -11747,7 +12028,7 @@ class EdsInputSearch {
|
|
|
11747
12028
|
return this.inputElement;
|
|
11748
12029
|
}
|
|
11749
12030
|
render() {
|
|
11750
|
-
return (hAsync("div", { key: '
|
|
12031
|
+
return (hAsync("div", { key: 'e5065d821db5f66b4ddfccb84e911f8c9148d12c', class: "relative flex items-center" }, hAsync("eds-icon-wrapper", { key: 'e661107b6202d7529209c67622a9f27bb15de2fc', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), hAsync("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}`,
|
|
11751
12032
|
//onInput={this.onInput}
|
|
11752
12033
|
onChange: this.onChange })));
|
|
11753
12034
|
}
|
|
@@ -11801,12 +12082,12 @@ class EdsInputSelect {
|
|
|
11801
12082
|
const selectId = this.inputId || this.name;
|
|
11802
12083
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11803
12084
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11804
|
-
return (hAsync("div", { key: '
|
|
12085
|
+
return (hAsync("div", { key: '640bbcca727ad0c511238335197bc533869f6229', class: "relative" }, hAsync("select", { key: '75efd5a9c7951fce245a7ee8b89c35d712d06c08', id: selectId, name: this.name, class: {
|
|
11805
12086
|
input: true,
|
|
11806
12087
|
'input-error': this.error,
|
|
11807
12088
|
'px-4': true,
|
|
11808
12089
|
'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: '
|
|
12090
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: 'e8723f0f947dc8e07660a34d49eb769e4bebfd06', 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: '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" }, hAsync("eds-icon-wrapper", { key: '6e836b9606c1444d8e97b78ebe1ea4cf092070e3', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
11810
12091
|
}
|
|
11811
12092
|
static get cmpMeta() { return {
|
|
11812
12093
|
"$flags$": 0,
|
|
@@ -12067,7 +12348,7 @@ class EdsLink {
|
|
|
12067
12348
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12068
12349
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12069
12350
|
: '';
|
|
12070
|
-
return (hAsync("a", { key: '
|
|
12351
|
+
return (hAsync("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) }, hAsync("span", { key: 'f4e89354ea8e252a26c85a560af9e7cfed7f8287', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && hAsync("span", { key: 'ca10c283dd14c3e3830baddec7ba193522a02e7c', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
12071
12352
|
}
|
|
12072
12353
|
get el() { return getElement(this); }
|
|
12073
12354
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12175,7 +12456,7 @@ class EdsLogo {
|
|
|
12175
12456
|
}
|
|
12176
12457
|
render() {
|
|
12177
12458
|
const logoContent = this.getLogo();
|
|
12178
|
-
return (hAsync("a", { key: '
|
|
12459
|
+
return (hAsync("a", { key: '735f3592da7eed337c528731c28c6e708bbfcf82', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, hAsync("div", { key: '5db166d68cb6e193d3dbc2a8ba4b54eae99aac44', innerHTML: logoContent })));
|
|
12179
12460
|
}
|
|
12180
12461
|
get el() { return getElement(this); }
|
|
12181
12462
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12325,7 +12606,7 @@ class EdsMatomoNotice {
|
|
|
12325
12606
|
}; }
|
|
12326
12607
|
}
|
|
12327
12608
|
|
|
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-
|
|
12609
|
+
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999991{z-index:9999991}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:min-w-\\[500px\\]{width:500px}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";
|
|
12329
12610
|
var EdsModalStyle0 = edsModalCss;
|
|
12330
12611
|
|
|
12331
12612
|
/**
|
|
@@ -12450,9 +12731,9 @@ class EdsModal {
|
|
|
12450
12731
|
render() {
|
|
12451
12732
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12452
12733
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12453
|
-
return (hAsync("div", { key: '
|
|
12734
|
+
return (hAsync("div", { key: '084e8a793a54d3b94e9936aea3dddff6c5dbf31c', 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: 'f1ba9240bd0427010e6439e4113a72c723e76735', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
12454
12735
|
,
|
|
12455
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12736
|
+
onClick: () => this.close() })), hAsync("div", { key: 'fdc9834811631f45218de181d8c8aac6437b6d8e', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, hAsync("div", { key: '5c26633ad8dcccef085d8e44ae730d2a2aa8c8e8', 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: '469d306cad57cceebc01d7875bf7ff2b2677e25a', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), hAsync("eds-button", { key: '37234a6ba72ec0c2b02b245974b2902a18578f02', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), hAsync("div", { key: '1b30473db862378b7d712b7a9b954a37ae61743f', class: "pt-8 px-20 py-20" }, hAsync("slot", { key: 'e1ef78bbd750000172e3536f8d8b6584085869b6' })))));
|
|
12456
12737
|
}
|
|
12457
12738
|
get el() { return getElement(this); }
|
|
12458
12739
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12543,12 +12824,12 @@ class EdsNps {
|
|
|
12543
12824
|
render() {
|
|
12544
12825
|
const count = this.max - this.min + 1;
|
|
12545
12826
|
//onst fallback = 0;
|
|
12546
|
-
return (hAsync("div", { key: '
|
|
12827
|
+
return (hAsync("div", { key: '19326c22d2b5c9f2fbc97bfb3c3d958d14cdfa25', class: "eds-nps" }, hAsync("eds-input-label", { key: '046239977d2dc639eabfc60a67df62011833a983', id: "nps-question", name: "nps-question", label: this.question }), hAsync("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) => {
|
|
12547
12828
|
const val = this.min + i;
|
|
12548
12829
|
const isSelected = val === this.selectedValue;
|
|
12549
12830
|
const tabIndex = isSelected ? 0 : -1;
|
|
12550
12831
|
return (hAsync("div", { class: "grid-col-span-1", key: val }, hAsync("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
|
|
12551
|
-
})), hAsync("div", { key: '
|
|
12832
|
+
})), hAsync("div", { key: '305bc5b2d162fc40fc56557291d37e29498563a2', class: "flex justify-between mt-8" }, hAsync("span", { key: '7fe2191db8cacabed26f451ac0175f23ede3317e', class: "f-ui-04 text-light ml-4" }, this.leftLabel), hAsync("span", { key: 'a85aca88d4de2897d7ba04578cf57a844c660675', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
12552
12833
|
}
|
|
12553
12834
|
get el() { return getElement(this); }
|
|
12554
12835
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12820,7 +13101,7 @@ class EdsPagination {
|
|
|
12820
13101
|
}
|
|
12821
13102
|
render() {
|
|
12822
13103
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12823
|
-
return (hAsync("div", { key: '
|
|
13104
|
+
return (hAsync("div", { key: '1ddd5a3ee9c843a06e5f8f446ae8420a6e0df259' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: '87b18c6b1fc475e335f829a4f61b7a8883dc7b9e', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, hAsync("span", { key: 'd5af6f58fc41d83c7e9519bbaa76fb31e6cbb522', 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
13105
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12825
13106
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12826
13107
|
}
|
|
@@ -13027,7 +13308,7 @@ class EdsProgressBar {
|
|
|
13027
13308
|
]
|
|
13028
13309
|
.filter(Boolean)
|
|
13029
13310
|
.join(' ');
|
|
13030
|
-
return (hAsync("div", { key: '
|
|
13311
|
+
return (hAsync("div", { key: '38e64c698f6cf8c22a6ddf41476a6eda785e537e', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, hAsync("div", { key: 'a0a17695931c6e442d886ef773e2cee3a31ab720', class: fillClasses, style: { width: `${progressValue}%` } }), hAsync("div", { key: '6ee49e1cf553b0cc20a70a8b258a307e5282be97', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, hAsync("span", { key: '0485a3b6ce82ee2c309554e92c14a6dd03819bb2', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
13031
13312
|
}
|
|
13032
13313
|
static get style() { return EdsProgressBarStyle0; }
|
|
13033
13314
|
static get cmpMeta() { return {
|
|
@@ -13110,7 +13391,7 @@ class EdsRating {
|
|
|
13110
13391
|
this.onSelect(next);
|
|
13111
13392
|
}
|
|
13112
13393
|
render() {
|
|
13113
|
-
return (hAsync("div", { key: '
|
|
13394
|
+
return (hAsync("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) => {
|
|
13114
13395
|
const starRating = index + 1;
|
|
13115
13396
|
const isSelected = starRating <= this.selectedRating;
|
|
13116
13397
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -13160,7 +13441,7 @@ class EdsSectionCore {
|
|
|
13160
13441
|
}
|
|
13161
13442
|
render() {
|
|
13162
13443
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13163
|
-
return (hAsync(TagType, { key: '
|
|
13444
|
+
return (hAsync(TagType, { key: 'b27b48854fc7d537c131da2c23850b2b7b9b2368' }, hAsync("eds-section-heading", { key: '7c3575d8c0295e2cd1c70a2748a25aa65d6892e6', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '66526792e818932d8e44ff927638560ce1b40cac' })));
|
|
13164
13445
|
}
|
|
13165
13446
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13166
13447
|
static get cmpMeta() { return {
|
|
@@ -13215,12 +13496,12 @@ class EdsSectionHeading {
|
|
|
13215
13496
|
render() {
|
|
13216
13497
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13217
13498
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13218
|
-
return (hAsync(TagType, { key: '
|
|
13499
|
+
return (hAsync(TagType, { key: 'efba0650ab65807f560c5676ead78b19b94e8b18', class: {
|
|
13219
13500
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13220
13501
|
container: this.withContainer,
|
|
13221
13502
|
'pt-48': this.spacingLarge,
|
|
13222
13503
|
'pt-28': !this.spacingLarge
|
|
13223
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13504
|
+
} }, hAsync(HeadingTag, { key: '50e3a8d81b7fd5af96ef3a1dbb7e5bbacb73ef15', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13224
13505
|
}
|
|
13225
13506
|
static get cmpMeta() { return {
|
|
13226
13507
|
"$flags$": 0,
|
|
@@ -13294,7 +13575,7 @@ class EdsSocialNetworks {
|
|
|
13294
13575
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13295
13576
|
*/
|
|
13296
13577
|
render() {
|
|
13297
|
-
return (hAsync("nav", { key: '
|
|
13578
|
+
return (hAsync("nav", { key: 'fd46b4205a2f03697d14a5a274698726aa9f406a', "aria-label": "Social media" }, hAsync("p", { key: 'b2b5bacadc28417e948832562fbf413ed812aa1a', class: "f-ui-02" }, this.heading), hAsync("ul", { key: '675682966b92c971be9afddc39c632070192da77', 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
13579
|
}
|
|
13299
13580
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13300
13581
|
static get cmpMeta() { return {
|
|
@@ -13385,7 +13666,7 @@ class EdsSpinner {
|
|
|
13385
13666
|
alignItems: 'center',
|
|
13386
13667
|
justifyContent: 'center'
|
|
13387
13668
|
};
|
|
13388
|
-
return (hAsync(Host, { key: '
|
|
13669
|
+
return (hAsync(Host, { key: 'e4c2f4762d214028c2e97666040e05ad5651debf' }, hAsync("div", { key: 'e12572cb0195a84402847b0fc723ad2198196661', class: "spinner-overlay", style: overlayStyle }, hAsync("span", { key: '6aa3b28a4e79951a5bbb46f6d7d845baf3761d14', class: "spinner", style: spinnerStyle }), this.message && hAsync("p", { key: '5817378b525ecb8d8a211105b73a2db00067fbe3', class: "f-body-01" }, this.message))));
|
|
13389
13670
|
}
|
|
13390
13671
|
static get style() { return EdsSpinnerStyle0; }
|
|
13391
13672
|
static get cmpMeta() { return {
|
|
@@ -13469,7 +13750,7 @@ class EdsSplashScreen {
|
|
|
13469
13750
|
}; }
|
|
13470
13751
|
}
|
|
13471
13752
|
|
|
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}";
|
|
13753
|
+
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}";
|
|
13473
13754
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13474
13755
|
|
|
13475
13756
|
class EdsSteps {
|
|
@@ -13479,9 +13760,26 @@ class EdsSteps {
|
|
|
13479
13760
|
this.finished = createEvent(this, "finished", 7);
|
|
13480
13761
|
this.next = createEvent(this, "next", 7);
|
|
13481
13762
|
this.back = createEvent(this, "back", 7);
|
|
13763
|
+
this.handleTitleClick = (index) => {
|
|
13764
|
+
// 1) If clicking the current title, keep your existing toggle behavior
|
|
13765
|
+
if (index === this.activeStep) {
|
|
13766
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13767
|
+
this.step.emit(this.activeStep);
|
|
13768
|
+
return;
|
|
13769
|
+
}
|
|
13770
|
+
// 2) In linear mode, block jumping *forward* when current step is gated
|
|
13771
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13772
|
+
if (forwardBlocked) {
|
|
13773
|
+
return;
|
|
13774
|
+
} // do nothing when Next/Finish would be disabled
|
|
13775
|
+
// 3) Allow jumping back or forward when not gated
|
|
13776
|
+
this.activeStep = index;
|
|
13777
|
+
this.step.emit(this.activeStep);
|
|
13778
|
+
};
|
|
13482
13779
|
this.handleNext = () => {
|
|
13483
13780
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13484
13781
|
if (this.activeStep >= lastIndex) {
|
|
13782
|
+
this.activeStep = -1;
|
|
13485
13783
|
this.finished.emit();
|
|
13486
13784
|
return;
|
|
13487
13785
|
}
|
|
@@ -13551,9 +13849,23 @@ class EdsSteps {
|
|
|
13551
13849
|
? !!this.disableNext[index] // per-step
|
|
13552
13850
|
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13553
13851
|
}
|
|
13554
|
-
/** Render the semantic heading element */
|
|
13555
|
-
renderHeading(title) {
|
|
13852
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13853
|
+
renderHeading(title, index) {
|
|
13556
13854
|
const Tag = this.headingLevel;
|
|
13855
|
+
const isOpen = this.activeStep === index;
|
|
13856
|
+
if (this.type === 'linear') {
|
|
13857
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13858
|
+
const onKey = (e) => {
|
|
13859
|
+
if (forwardBlocked) {
|
|
13860
|
+
return;
|
|
13861
|
+
}
|
|
13862
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
13863
|
+
e.preventDefault();
|
|
13864
|
+
this.handleTitleClick(index);
|
|
13865
|
+
}
|
|
13866
|
+
};
|
|
13867
|
+
return (hAsync(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
13868
|
+
}
|
|
13557
13869
|
return hAsync(Tag, null, title);
|
|
13558
13870
|
}
|
|
13559
13871
|
render() {
|
|
@@ -13561,11 +13873,11 @@ class EdsSteps {
|
|
|
13561
13873
|
if (this.type === 'linear') {
|
|
13562
13874
|
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13563
13875
|
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}` })))));
|
|
13876
|
+
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13565
13877
|
})));
|
|
13566
13878
|
}
|
|
13567
13879
|
// 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 }))))))));
|
|
13880
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13569
13881
|
}
|
|
13570
13882
|
get el() { return getElement(this); }
|
|
13571
13883
|
static get watchers() { return {
|
|
@@ -13591,7 +13903,7 @@ class EdsSteps {
|
|
|
13591
13903
|
}; }
|
|
13592
13904
|
}
|
|
13593
13905
|
|
|
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}";
|
|
13906
|
+
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}";
|
|
13595
13907
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13596
13908
|
|
|
13597
13909
|
class EdsStepsV2 {
|
|
@@ -13601,14 +13913,29 @@ class EdsStepsV2 {
|
|
|
13601
13913
|
this.finished = createEvent(this, "finished", 7);
|
|
13602
13914
|
this.next = createEvent(this, "next", 7);
|
|
13603
13915
|
this.back = createEvent(this, "back", 7);
|
|
13916
|
+
this.handleTitleClick = (index) => {
|
|
13917
|
+
// If clicking the same title, keep your existing toggle behavior
|
|
13918
|
+
if (index === this.activeStep) {
|
|
13919
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13920
|
+
this.step.emit(this.activeStep);
|
|
13921
|
+
return;
|
|
13922
|
+
}
|
|
13923
|
+
// Block *forward* jumps when progression is gated by disableNext (boolean)
|
|
13924
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
|
|
13925
|
+
if (forwardBlocked) {
|
|
13926
|
+
return;
|
|
13927
|
+
}
|
|
13928
|
+
// Allow back (or forward when not gated)
|
|
13929
|
+
this.activeStep = index;
|
|
13930
|
+
this.step.emit(this.activeStep);
|
|
13931
|
+
};
|
|
13604
13932
|
this.handleNext = () => {
|
|
13605
13933
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13606
13934
|
if (this.activeStep >= lastIndex) {
|
|
13607
|
-
// Finish
|
|
13608
13935
|
this.finished.emit();
|
|
13936
|
+
this.activeStep = -1; // collapse last step
|
|
13609
13937
|
return;
|
|
13610
13938
|
}
|
|
13611
|
-
// Next
|
|
13612
13939
|
const target = this.activeStep + 1;
|
|
13613
13940
|
this.next.emit(target);
|
|
13614
13941
|
if (!this.disableNext) {
|
|
@@ -13679,16 +14006,33 @@ class EdsStepsV2 {
|
|
|
13679
14006
|
get parsedSteps() {
|
|
13680
14007
|
return parseData(this.steps);
|
|
13681
14008
|
}
|
|
14009
|
+
isNextDisabledForCurrent() {
|
|
14010
|
+
return !!this.disableNext;
|
|
14011
|
+
}
|
|
13682
14012
|
/** Render the semantic heading element */
|
|
13683
|
-
renderHeading(title) {
|
|
14013
|
+
renderHeading(title, index) {
|
|
13684
14014
|
const Tag = this.headingLevel;
|
|
13685
|
-
|
|
14015
|
+
if (this.type === 'linear') {
|
|
14016
|
+
const isOpen = this.activeStep === index;
|
|
14017
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledForCurrent();
|
|
14018
|
+
const onKey = (e) => {
|
|
14019
|
+
if (forwardBlocked) {
|
|
14020
|
+
return;
|
|
14021
|
+
}
|
|
14022
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
14023
|
+
e.preventDefault();
|
|
14024
|
+
this.handleTitleClick(index);
|
|
14025
|
+
}
|
|
14026
|
+
};
|
|
14027
|
+
return (hAsync(Tag, { class: `eds-steps__title ${forwardBlocked ? 'is-disabled' : ''}`, role: "button", tabindex: forwardBlocked ? -1 : 0, "aria-disabled": forwardBlocked ? 'true' : 'false', "aria-expanded": isOpen, "aria-controls": `eds-step-panel-${index}`, onClick: () => !forwardBlocked && this.handleTitleClick(index), onKeyDown: onKey }, title));
|
|
14028
|
+
}
|
|
14029
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13686
14030
|
}
|
|
13687
14031
|
render() {
|
|
13688
14032
|
const steps = this.parsedSteps;
|
|
13689
|
-
return (hAsync("div", { key: '
|
|
14033
|
+
return (hAsync("div", { key: 'b486aa34dfab4902cd6569cc2ce228104ca536cd', class: this.articleClasses() }, this.imageSrc ? (hAsync("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, hAsync("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (hAsync("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, hAsync("div", { class: "p-24" }, hAsync("span", { class: "text-inverse f-heading-04 " }, this.message))))), hAsync("div", { key: 'e2a928ecb67caed4885c9e364621b422249610f1', class: "pb-20 px-8" }, this.type === 'linear' ? (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: index === 0 ? 'step' : 'step space-y-16', key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: index === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
|
|
13690
14034
|
// 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 })))))))))));
|
|
14035
|
+
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
13692
14036
|
}
|
|
13693
14037
|
get el() { return getElement(this); }
|
|
13694
14038
|
static get watchers() { return {
|
|
@@ -13768,11 +14112,11 @@ class EdsSwitch {
|
|
|
13768
14112
|
: this.labelOff
|
|
13769
14113
|
: 'Toggle switch'
|
|
13770
14114
|
: undefined;
|
|
13771
|
-
return (hAsync("div", { key: '
|
|
14115
|
+
return (hAsync("div", { key: '34573e6f2b377e168039a13afb4d5fe981f575ad', class: "switch-container" }, this.labelOff && (hAsync("span", { key: '1728e1aac88d275cd6bee0aaf50e93e3a421944d', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), hAsync("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: {
|
|
13772
14116
|
switch: true,
|
|
13773
14117
|
'switch--checked': this.checked,
|
|
13774
14118
|
'switch--disabled': this.disabled
|
|
13775
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
14119
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: 'd8e0e1e3b562b4ac894998641cb7c813578e1a3f', class: "switch-handle" })), this.labelOn && (hAsync("span", { key: '86b56fbbc537e9f08d11a509a1cb0e19d8dc3c39', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
13776
14120
|
}
|
|
13777
14121
|
get el() { return getElement(this); }
|
|
13778
14122
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -14026,7 +14370,7 @@ class EdsTable {
|
|
|
14026
14370
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
14027
14371
|
const paginatedRows = this.getPaginatedRows();
|
|
14028
14372
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
14029
|
-
return (hAsync("div", { key: '
|
|
14373
|
+
return (hAsync("div", { key: '0c986dec22a52676b110fad1f7f82ef792da796e' }, this.searchEnabled && (hAsync("div", { key: '855c5c3d6c2b86e75a210c0296524bc8029e37f2' }, hAsync("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: '62b18340bbf992dba888c2d24ff306ada8a1a985', class: "mt-20" }, hAsync("table", { key: '656dd0dd7f99611c2bd9beea4cd1f37f57da1384', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '1278ea89f588aa52c215c32bcc03c424e4501fed' }, hAsync("tr", { key: '186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14030
14374
|
var _a;
|
|
14031
14375
|
if (col === 'actions') {
|
|
14032
14376
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -14035,7 +14379,7 @@ class EdsTable {
|
|
|
14035
14379
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
14036
14380
|
}
|
|
14037
14381
|
return null;
|
|
14038
|
-
}))), hAsync("tbody", { key: '
|
|
14382
|
+
}))), hAsync("tbody", { key: 'b27bd372efe64469d2a5001dc6d5b464eb419217' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14039
14383
|
var _a;
|
|
14040
14384
|
if (col === 'actions') {
|
|
14041
14385
|
return (hAsync("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, hAsync("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
@@ -14050,7 +14394,7 @@ class EdsTable {
|
|
|
14050
14394
|
return (hAsync("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
|
|
14051
14395
|
}
|
|
14052
14396
|
return null;
|
|
14053
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14397
|
+
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: 'd442153f48c85c6de1a0752d1348d8814811faed', class: "mt-20" }, hAsync("eds-pagination", { key: '4c48c96eacb112002b0110e85dce0dab94350dfb', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
14054
14398
|
}
|
|
14055
14399
|
get hostEl() { return getElement(this); }
|
|
14056
14400
|
static get watchers() { return {
|
|
@@ -14261,12 +14605,12 @@ class EdsTabs {
|
|
|
14261
14605
|
}
|
|
14262
14606
|
}
|
|
14263
14607
|
render() {
|
|
14264
|
-
return (hAsync("div", { key: '
|
|
14608
|
+
return (hAsync("div", { key: '29c8adfbd79bae86919e8b72f13d9a8a4d1c1d41', id: `${this.identifier}` }, hAsync("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-['']" }, hAsync("nav", { key: '52c337db80f21714a7d3da26b21663c34f5dd836', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
14265
14609
|
const TabComponent = 'button';
|
|
14266
14610
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14267
14611
|
const isActive = index === this.activeIndex;
|
|
14268
14612
|
return (hAsync(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
|
|
14269
|
-
}))), hAsync("div", { key: '
|
|
14613
|
+
}))), hAsync("div", { key: '9462805200c71ebac037ac5933c156eb9c25ed5c', 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
14614
|
}
|
|
14271
14615
|
get el() { return getElement(this); }
|
|
14272
14616
|
static get watchers() { return {
|
|
@@ -14329,7 +14673,7 @@ class EdsTag {
|
|
|
14329
14673
|
}
|
|
14330
14674
|
render() {
|
|
14331
14675
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14332
|
-
return hAsync("span", { key: '
|
|
14676
|
+
return hAsync("span", { key: '6a229183bdaf96687e1f71ca3938a22c1259546e', class: classes }, this.label);
|
|
14333
14677
|
}
|
|
14334
14678
|
static get style() { return EdsTagStyle0; }
|
|
14335
14679
|
static get cmpMeta() { return {
|
|
@@ -14391,7 +14735,7 @@ class EdsTimeline {
|
|
|
14391
14735
|
}
|
|
14392
14736
|
}
|
|
14393
14737
|
render() {
|
|
14394
|
-
return (hAsync("div", { key: '
|
|
14738
|
+
return (hAsync("div", { key: '118942ecc019d14e75c72cad982da248d8f47502', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '30621fd1cedf9e020c4bbbd47855a8669a5d3cca', class: "relative" }, hAsync("div", { key: 'ed510b0473a63810866a92f3effb26aab6e9ccc2', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: 'bf5ab0b6d50749aac5d226abaec7321ae6c2d276', 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
14739
|
? [{ label: 'completed', style: 'accent' }]
|
|
14396
14740
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), hAsync("div", { class: "flex items-center justify-center relative" }, event.completed ? (hAsync("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (hAsync("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), hAsync("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
14397
14741
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14565,7 +14909,7 @@ class EdsToastManager {
|
|
|
14565
14909
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14566
14910
|
}
|
|
14567
14911
|
render() {
|
|
14568
|
-
return (hAsync("div", { key: '
|
|
14912
|
+
return (hAsync("div", { key: 'a0c485caf1b9b9394e87d62fac915d6cc181ae3d', 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
14913
|
}
|
|
14570
14914
|
get hostElement() { return getElement(this); }
|
|
14571
14915
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14604,7 +14948,7 @@ class EdsTooltip {
|
|
|
14604
14948
|
}
|
|
14605
14949
|
render() {
|
|
14606
14950
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14607
|
-
return (hAsync("div", { key: '
|
|
14951
|
+
return (hAsync("div", { key: '67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b', class: "relative w-full inline-block group" }, hAsync("slot", { key: 'b304174862dd4d5ca93418ecb0d2b4fc2c80427c' }), hAsync("div", { key: 'fcd874d53d0e17b7d3be2c6552571f82fbde6506', class: `absolute ${positionClass}
|
|
14608
14952
|
rounded-xs bg-strongest text-inverse
|
|
14609
14953
|
f-ui-03-light pointer-events-none
|
|
14610
14954
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -14668,7 +15012,7 @@ class EdsTrl {
|
|
|
14668
15012
|
Application: { format: 'code' },
|
|
14669
15013
|
'Current TRL Stage': { format: 'text' }
|
|
14670
15014
|
};
|
|
14671
|
-
return (hAsync("div", { key: '
|
|
15015
|
+
return (hAsync("div", { key: 'abe7bb234b34fbd1465ccfe852d703a8682b7e27', class: "container mx-auto px-4 py-8" }, hAsync("eds-table", { key: '261d7f8fe032e8a9df55b1fd3432aa4f0378e1fb', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
14672
15016
|
}
|
|
14673
15017
|
static get cmpMeta() { return {
|
|
14674
15018
|
"$flags$": 0,
|
|
@@ -14699,7 +15043,9 @@ class EdsUser {
|
|
|
14699
15043
|
};
|
|
14700
15044
|
this.user = undefined;
|
|
14701
15045
|
this.intent = 'tertiary';
|
|
15046
|
+
this.dropdownLabel = 'Account';
|
|
14702
15047
|
this.expanded = false;
|
|
15048
|
+
this.shortMode = false;
|
|
14703
15049
|
}
|
|
14704
15050
|
/**
|
|
14705
15051
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14723,10 +15069,15 @@ class EdsUser {
|
|
|
14723
15069
|
const initials = `${((_a = user.given_name) === null || _a === void 0 ? void 0 : _a.charAt(0)) || ''}${((_b = user.family_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}`.toUpperCase();
|
|
14724
15070
|
return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
|
|
14725
15071
|
}
|
|
15072
|
+
async closeDropdown() {
|
|
15073
|
+
var _a;
|
|
15074
|
+
await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
|
|
15075
|
+
this.expanded = false;
|
|
15076
|
+
}
|
|
14726
15077
|
render() {
|
|
14727
15078
|
const user = this.parsedUser;
|
|
14728
15079
|
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
14729
|
-
return (hAsync("div", { key: '
|
|
15080
|
+
return (hAsync("div", { key: '62bb8a684095f97b6105acdb5d9803c66edba913', class: "block" }, hAsync("div", { key: '350ff5d7b4f47686f7b39662b176f24e719d54e3', class: "flex items-center" }, hAsync("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 }, hAsync("div", { key: 'a311fd57839b87054afc7aca9c40ce5772b1350b', class: "min-w-[280px] p-8" }, hAsync("div", { key: 'bc8c5b7147718def37bab1adb2715f9ff0074822', class: "flex gap-x-16", "data-dropdown-no-close": true }, hAsync("eds-avatar", { key: 'c9207d4ecab0507981bb047ee6c59ee4400b5121', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), hAsync("div", { key: 'c6ec78d935ee851ef5e8080bf30a7ff9c4603bf1', class: "max-w-full" }, user.name && hAsync("p", { key: 'c39af63002f1449b049d4be13927da5d51599aca', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && hAsync("p", { key: 'd8eaa141490abb1ad917e2da03d4a588ef6d6779', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && hAsync("p", { key: '904aef6596a85ae438b98bd5ab67c7c7e2299d75', class: "f-ui-03-light text-light mt-4" }, user.email))), hAsync("div", { key: '0cd0a2d8cc59d8b054f36188b4c18182e6a7f919', class: "text-default flex w-full flex-col gap-y-8" }, hAsync("slot", { key: 'a41332bcf086d01a458218b74a1812dc55911925' })))))));
|
|
14730
15081
|
}
|
|
14731
15082
|
get hostEl() { return getElement(this); }
|
|
14732
15083
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14736,7 +15087,10 @@ class EdsUser {
|
|
|
14736
15087
|
"$members$": {
|
|
14737
15088
|
"user": [1025],
|
|
14738
15089
|
"intent": [1],
|
|
14739
|
-
"
|
|
15090
|
+
"dropdownLabel": [1, "dropdown-label"],
|
|
15091
|
+
"expanded": [32],
|
|
15092
|
+
"shortMode": [32],
|
|
15093
|
+
"closeDropdown": [64]
|
|
14740
15094
|
},
|
|
14741
15095
|
"$listeners$": undefined,
|
|
14742
15096
|
"$lazyBundleId$": "-",
|
|
@@ -14779,7 +15133,7 @@ class GradientPrimaryPalette {
|
|
|
14779
15133
|
];
|
|
14780
15134
|
}
|
|
14781
15135
|
render() {
|
|
14782
|
-
return (hAsync("ul", { key: '
|
|
15136
|
+
return (hAsync("ul", { key: 'f3653cb822e88d5914f12a84342603ad3dfb6af0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14783
15137
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14784
15138
|
} }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16" }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
14785
15139
|
}
|
|
@@ -14852,19 +15206,19 @@ class GradientSecondaryPalette {
|
|
|
14852
15206
|
];
|
|
14853
15207
|
}
|
|
14854
15208
|
render() {
|
|
14855
|
-
return (hAsync("div", { key: '
|
|
15209
|
+
return (hAsync("div", { key: '068872a235a7b4a3bb1b5d49fe3c26014c317995' }, hAsync("ul", { key: 'f2ef5ac747e40b62eda116125b2ec1da32b00c9e', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '5c700c0e2794b38e6448709ac4eda002805fed43', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '185747db12912d6fbb672e6c2a3a6a28b533f483', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14856
15210
|
background: this.colors[0].background
|
|
14857
|
-
} }, hAsync("div", { key: '
|
|
15211
|
+
} }, hAsync("div", { key: 'bf2818f7382f1f86989c4e63c1a27abcf6630f77', class: "grid" }, hAsync("span", { key: '21418b3761bfff72fa4e0893e233e7e4e3784940', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'a87087d4c32e323ec6f6cb44607bfe106de8e37d', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '7a4b6263093b9046f09ec51aa91b1391096d420e', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'a1aa7b145ce29f5b3e193bd46510b1fd25f59e44', class: "grid" }, hAsync("span", { key: '81ee23a025329d756a120872df9a7d9204209adf', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: 'f32a3efb2f2b987201684ab83bdaef467ea0a262', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: '41364b3de70ccec9c37aec1dc448c3a47ead60a9', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14858
15212
|
background: this.colors[1].background
|
|
14859
|
-
} }, hAsync("div", { key: '
|
|
15213
|
+
} }, hAsync("div", { key: 'b3f90be4ee360322051d26ffef7e09a63a8dfc87', class: "grid" }, hAsync("span", { key: '09f4313220f9d93d578e5fa10ac1b399863244d2', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '0261f9fd84a18c46ece5d982f7158e5a5f638909', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'd04ecab2e1f63580ab95c69e4a70293c0358fea8', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'd188c38f611530259dfdef7cd75da4bdca0d2257', class: "grid" }, hAsync("span", { key: '7378b85e8948ef41d5b2140a09768394ac95cb38', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '9e27beba8e19af3b05702d5b82b04db636d815ac', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '56644448031fb2a4e26b79dfff46d8ada641e7b1' }), hAsync("ul", { key: '2d6213ff4091ca2f9cb77854beafa34886c3ed42', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '717be10bad4a00a04644a09dfcaed2e583327e21', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '381ff7e46bc6508bf2b956b8b0ab61e154d70341', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14860
15214
|
background: this.colors[2].background
|
|
14861
|
-
} }, hAsync("div", { key: '
|
|
15215
|
+
} }, hAsync("div", { key: '0dcbea6ed615f5b99c9d8bfde699bda1aba7d574', class: "grid" }, hAsync("span", { key: 'b8c02c0590f264d68927b17ffa30e9a7af865baf', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '20b702c1743d53a3ecc13c1f105a43fc175c9fde', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: '1b10b51df54537b0d236f8a0c1e85415a83a9762', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '381a0109027379acee17ba106778d0a6af2418de', class: "grid" }, hAsync("span", { key: '79be72de7ba1588ac6bbead48c014279500c67e5', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: 'ff2e674caa413fe8eda95b9e683ff3264955a699', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '839e80c29b1f45e1141b5ca7ee14a8164f0d59f4', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14862
15216
|
background: this.colors[3].background
|
|
14863
|
-
} }, hAsync("div", { key: '
|
|
15217
|
+
} }, hAsync("div", { key: 'd1cf88212f2c5cf0a8a3fc95e6f28b576af209bb', class: "grid" }, hAsync("span", { key: '599b3fe538135f04b93e2e9a9ae5884e6fe66307', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: 'fe3989bf9061ee14ba325fdfe61d190e45a8d715', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'b5edf416ce3443e33784270ae786117dca54484e', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '6337a21286045759e3b8858d225226bd67ccda95', class: "grid" }, hAsync("span", { key: 'cfe45c5f93fe75f7a7d75de09ca74e247b5f9f3c', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '266110a2ccf1a77b76c8795e609b69b933d71e34', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: '5edf56c8f60ca932f25cf4794898ceb09dffc490' }), hAsync("ul", { key: 'e28256a79065796bba19fa8557d1ad4937dbc43a', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '0d900d8923731c12436819da4bb78495c82c61e4', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '23e00e8340a1a7c4339db354778785bcfcfc34be', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14864
15218
|
background: this.colors[4].background
|
|
14865
|
-
} }, hAsync("div", { key: '
|
|
15219
|
+
} }, hAsync("div", { key: 'ff202435e451358b08d02fbe5ed085cb61bb27e2', class: "grid" }, hAsync("span", { key: '6710617d3369d48fbd7b0d50e5cee98816ce7b92', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '998e0c640f8b090da7662743a857ac0ee0ea4e0a', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'ff4a789b3dbed8d20a636403b2ad921c7c4dc7b8', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'e5d5fef837f2f1b1ba36746da1806eba8396d288', class: "grid" }, hAsync("span", { key: 'ed1302507a2760b27c1aaed2d48899b04d166d66', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: '89bda8fc8cd7e150bde7263edc8fc4631e6831be', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: '689354344f53850640da266e14d6b622429eb1ff', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14866
15220
|
background: this.colors[5].background
|
|
14867
|
-
} }, hAsync("div", { key: '
|
|
15221
|
+
} }, hAsync("div", { key: 'ace17479948837f012514a27392dad21f8c801e8', class: "grid" }, hAsync("span", { key: 'dd776f7884fa45d50204c0b10b4d2b6cac3eca5a', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: '7e44097339748f3309502391ab77dc5bd447b053', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: 'c656dc07828b4548faaae6d0071cd02639016d54', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'cab214dadb52b79f24efdc607fe0507eccb94644', class: "grid" }, hAsync("span", { key: '2282a82817bc3cbb25f08e943fd086fa458ef34a', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: '06bf558a5387c5512b28fbbef644769fc8cf5b37', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
14868
15222
|
}
|
|
14869
15223
|
static get cmpMeta() { return {
|
|
14870
15224
|
"$flags$": 0,
|
|
@@ -14927,11 +15281,11 @@ class GradientSupportPalette {
|
|
|
14927
15281
|
];
|
|
14928
15282
|
}
|
|
14929
15283
|
render() {
|
|
14930
|
-
return (hAsync("ul", { key: '
|
|
15284
|
+
return (hAsync("ul", { key: '3d8000d8778c4f6f35f8feca3c54fb2d535bc09f', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '28143c46226cc5452c009346ec23ab016d78c675', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '57bbdd2b971ef3235e14f5b175e7e15696b68a28', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: '24c7d800175b4b453b06795b1e759c6819b35607', class: "grid" }, hAsync("span", { key: '16653d8c729d81156d1df461de0fded8aa7d8e93', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '4b4a537f3896f2a7b986172feb5d08cf05355714', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: 'b6d4d3472e18e03a373b2667a785ef9e735dfaec', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '8e85ec4998995bbdde92a2afc1939f0c2deabee5', class: "grid" }, hAsync("span", { key: 'e5815876cb2a5e0790cb2a5ea9e132a24b677880', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '745a25fc7b57801a4aef526001359e6427b6efd1', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: 'cb10855c01a39e52b4d651a1df440b6e9dc86a62', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '56d0b50121ad6386d0f91c24cb73a8bc9596a720', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: 'bed562bf4fabe0599e315ff86fbf17aba5ee3d74', class: "grid" }, hAsync("span", { key: 'bdb88a23996aeca2cf8da34d534ed1e2e1098890', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '5c55cd02843963393abbf393a851fff3790c1905', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: 'f11febc9e05590d48879d93cd3b823bbbb7bc878', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '79119e208137848015ff77ae326afe1fb5cfc0d3', class: "grid" }, hAsync("span", { key: '7dfeb3a9e103f208986888f967384c5ba3ed4d4c', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: '205cf6b9473d9d236fac83aa2b6eb458ecd1aee5', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: '16406e3fa39372ebb6c32a2bbf506427fc047c13', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '4d44f5f7771164d581b7883698a8c891c9615a1f', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14931
15285
|
background: this.colors[2].background
|
|
14932
|
-
} }, hAsync("div", { key: '
|
|
15286
|
+
} }, hAsync("div", { key: '95b07ece22975f09f30fdff39dff685e71ad94e7', class: "grid" }, hAsync("span", { key: '9144a8c71d1e198b5a46bb1b6d3a4b7937b980d0', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '7be418e7bec46b05decfe58bd04bdb0cbc2f9c4f', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: '61050dd447d35dcd1388785cadb809b9936460ff', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '87289e9f27972a7ac01f95dfdc780b2a63840246', class: "grid" }, hAsync("span", { key: 'e2d37a0132d667f3a95a248f5b5a26cd55b7bed0', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '58d126103e9bf1dc68ba22fdc6e8a2d24ed18693', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '0ca5402553a62bb66b9d5271b2f6d9bdc03b9aa5', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14933
15287
|
background: this.colors[3].background
|
|
14934
|
-
} }, hAsync("div", { key: '
|
|
15288
|
+
} }, hAsync("div", { key: '4934962684a70ea4ab804bd2435f6b184d7f52c8', class: "grid" }, hAsync("span", { key: '1a891700e10b5fc4eafd7f2a42d901b949bac2e7', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '99ebfc2392e11e67a3739796b4606ec6cee12ef3', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: '13f9e44bc9b34cbdfb93a5a97ada482627e11a92', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '2c2a179f5073ead1646e114d76b4c26f48d998b5', class: "grid" }, hAsync("span", { key: 'aba72113f0e47ec564bfb8dc1695d74cc0dacf0b', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '4a113554b101bcf1db71eff702914e2de6bb5876', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: '78085204312fd78071a88d329c1085cd4615fe95', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'edc490c0d48ecdfa8be56ba2921ff7f5a6f74ee1', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: '5f8ff231f7752ad50a8bebdbaccfc63543a8e16b', class: "grid" }, hAsync("span", { key: '22c0035742e6dd5e2c02c59e67b5769ce97324cf', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '87215ff0541f7891b74082bd63c59e3e65db1998', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'f96e95f761998e790c44c9b62f9b4eab4007f985', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '9b31a9dd4b8cc239c9b66c7adbc312bdd827b93e', class: "grid" }, hAsync("span", { key: 'c271cd470251c490af7a47726477ff1ad924ca1e', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: '1fe724e0c13e01af88619953dada47e659a234a4', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
14935
15289
|
}
|
|
14936
15290
|
static get cmpMeta() { return {
|
|
14937
15291
|
"$flags$": 0,
|
|
@@ -14985,7 +15339,7 @@ class IncorrectUseOfColors {
|
|
|
14985
15339
|
registerInstance(this, hostRef);
|
|
14986
15340
|
}
|
|
14987
15341
|
render() {
|
|
14988
|
-
return (hAsync("div", { key: '
|
|
15342
|
+
return (hAsync("div", { key: 'd433cf3416554a48fd728386bea79e2d876ac5fa', class: "container" }, hAsync("div", { key: 'e8e821cdee53343675f171420ea6a37821d048f6', class: "mb-8" }, hAsync("eds-alert", { key: '44f28c11e4c2997fe1774da68881a9f647631929', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), hAsync("div", { key: '3478eb5fcd7c30a8474acae5892a1e3f1c3ae039', class: "flex" }, hAsync("div", { key: '3921f7de637d98f5dd8f64c36258391392875f13', class: "w-full" }, hAsync("ul", { key: '4d79c3d5330ae7cda3deecede1d2c3c784f13c32', 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: '1905adc0741fd76758d69c13f343dade55c9c7c1', class: "w-full" }, hAsync("ul", { key: '72f35110e6c9da32b0df2be4d5ade3b778b58245', 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
15343
|
}
|
|
14990
15344
|
static get cmpMeta() { return {
|
|
14991
15345
|
"$flags$": 0,
|
|
@@ -15008,7 +15362,7 @@ class LogoSpace {
|
|
|
15008
15362
|
registerInstance(this, hostRef);
|
|
15009
15363
|
}
|
|
15010
15364
|
render() {
|
|
15011
|
-
return (hAsync("div", { key: '
|
|
15365
|
+
return (hAsync("div", { key: '411079c2662e0a3a30a86d5772cb805f4efa37ac', class: "container" }, hAsync("ul", { key: 'c68ca64183ed475c7dc674dede1fd6487eddef63', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'e0100ca54422f34ff4cd15e0917644ec8712c156', 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: '812f16e80ab95933bffe6c7ef39e52f702b79edb', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), hAsync("li", { key: 'c5209c8ede7c3f3fd5f0e9334aab586296c4d008', 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: '9ab0f8f9a361ee987dee921009f89123247c921d', class: "text-center mt-16" }, hAsync("p", { key: '205d342af4c1a674cb84e3ef5d153228a1c093c8', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), hAsync("eds-table", { key: '0391c6dea176b8752b1415fc1519808371f7d04c', 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: '24d1d1e16a52cef90e4cc0cb20896b193e04f25d', 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
15366
|
}
|
|
15013
15367
|
static get style() { return LogoSpaceStyle0; }
|
|
15014
15368
|
static get cmpMeta() { return {
|
|
@@ -15032,7 +15386,7 @@ class LogoVariationsHorizontal {
|
|
|
15032
15386
|
registerInstance(this, hostRef);
|
|
15033
15387
|
}
|
|
15034
15388
|
render() {
|
|
15035
|
-
return (hAsync("div", { key: '
|
|
15389
|
+
return (hAsync("div", { key: '43ff78b2e28f748b65d76997fc217f694ab11210', class: "container" }, hAsync("ul", { key: '0b41f3d923858c41b34ec2df2a2536dc0d5ee129', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '766c9f9b9555cccbf8a77f11a41ae7b1bc0fcbcb', 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: '1a7e7814e435a6ee20ba8925b5b6bf8ac590ea89', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '135de0fdb2863f618e8e6da2bf8e49b91d9f4053', class: "coloured" }, hAsync("eds-logo", { key: '367b20f96d4318d6bc9750ea6b18b30bbce5036e', type: "no-bg", href: "#" }))), hAsync("li", { key: '36d3d81aaf9518fd996bdc34498581bca3d70d2e', 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: 'b24aa1c6658bacab12264a63a95062fcadc870cc', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'cb77e4797f9b0c415d0df06a9250b356899f26f2', class: "bg-default" }, hAsync("eds-logo", { key: '7ccba5fd14b38ff9c4ea7531231559b0ed02966c', type: "black", href: "#" }))), hAsync("li", { key: '3926dd438bf041dd421cf244c50ada804894f32b', 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: '734670d268558409ac6a3f72b7076c2d31428174', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: 'a96c5dc623498e217fdab19ece1ccf0049077c6e' }, hAsync("eds-logo", { key: '2edd46a62c77ae56801ad035cfd128f77e3bf90a', type: "color-white", href: "#" }))))));
|
|
15036
15390
|
}
|
|
15037
15391
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
15038
15392
|
static get cmpMeta() { return {
|
|
@@ -15064,7 +15418,7 @@ class LogoVariationsTabs {
|
|
|
15064
15418
|
}
|
|
15065
15419
|
}
|
|
15066
15420
|
render() {
|
|
15067
|
-
return hAsync("div", { key: '
|
|
15421
|
+
return hAsync("div", { key: '84eb012e0b54780f60d478863ce3561d48ce85b1', class: "container" }, this.renderContent());
|
|
15068
15422
|
}
|
|
15069
15423
|
static get cmpMeta() { return {
|
|
15070
15424
|
"$flags$": 0,
|
|
@@ -15091,7 +15445,7 @@ class LogoVariationsVertical {
|
|
|
15091
15445
|
this.type = undefined;
|
|
15092
15446
|
}
|
|
15093
15447
|
render() {
|
|
15094
|
-
return (hAsync("div", { key: '
|
|
15448
|
+
return (hAsync("div", { key: 'ed4602bffec9b896853f794b6b9e56d2beed3a89', class: "container" }, hAsync("ul", { key: '3ffbcc4dbd811288a4f381d8eba61b06cde9297d', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'd47f43861c009c634338d5a04fa74a5d89c30f94', 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: 'e5db6a71f75fded654a99ec79e8fff330dd832ed', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '5868a3f04cd2a88df6cf3eefb46badbfada3ea8d', class: "mx-auto coloured w-[300px]" }, hAsync("eds-logo", { key: '590e3dfc99929401fceebb37346dc87cb24b9aa4', orientation: "vertical", type: "no-bg", href: "#" }))), hAsync("li", { key: 'd7dde19a741953af97b7c2ef52ac9fe535dd8d44', 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: '1301a26d1f989762dad8ada3f2e85d5975ae8416', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: 'ede8c0b521720e3f73f7cd17a98df8d617d06d6b', class: "mx-auto bg-default w-[300px]" }, hAsync("eds-logo", { key: '298f13765230a428fe948df4e7f580a7ea438786', orientation: "vertical", type: "black", href: "#" }))), hAsync("li", { key: '558abf2aa94784e70252277adecae2f1f7be83ac', 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: 'ccdde6e4a2cfd1eeca62362430f0e1ace6e33f9c', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: 'abdef9d3f5762ebbd571851192677bba00f45a48', class: "mx-auto w-[300px]" }, hAsync("eds-logo", { key: 'b3c7f59aff43c12dfb70e1b93c5746c2d8f2499b', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
15095
15449
|
}
|
|
15096
15450
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15097
15451
|
static get cmpMeta() { return {
|
|
@@ -15118,7 +15472,7 @@ class LogoWrongUsage {
|
|
|
15118
15472
|
registerInstance(this, hostRef);
|
|
15119
15473
|
}
|
|
15120
15474
|
render() {
|
|
15121
|
-
return (hAsync("div", { key: '
|
|
15475
|
+
return (hAsync("div", { key: '47db71fa97eed9b24d6873aac34e4d513f835c8a', class: "container" }, hAsync("ul", { key: 'f06cff3d8313404bbbe50e2744582a8d394384a2', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'ddac40db90edc523f2d95f7da243596baf3c00af', 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: 'e7ec76fb43d846bfaa09b7fd12a70d3b3fd91476', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), hAsync("p", { key: '3288cbda1a66f4557dd0546cfc7fc1db64113520', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), hAsync("li", { key: 'af5f8b9fcf5583f970b2f097f2ebbf581f5e65c4', 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: '06c9a344c7505b5299bca221ca3b3222ff141cfe', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), hAsync("p", { key: 'b9a018ccf607edb5f4646f41269f39b4146dfb07', class: "f-ui-02 text-center" }, "Do not apply other colors")), hAsync("li", { key: '549d912c33d1d72b5a09e0bcf1b3866b83a42bcb', 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: '4e01b36b889bbd5a76581e4a7d7dad700cce647c', class: "mx-auto distorted logo", innerHTML: hLogoColor }), hAsync("p", { key: '15c8d9949f2fe250005879152e96ac6ddf9a9dde', class: "f-ui-02 text-center" }, "Do not deform the logo")), hAsync("li", { key: '4e3d38bba478657ef86242a5defab77340549e68', 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: '92b31722f79d8324a25cfea1583b64dc5710d96f', class: "mx-auto effects logo", innerHTML: hLogoColor }), hAsync("p", { key: '0b9a84f0d8a9d3c02b7d8ace6b95964106239cd6', class: "f-ui-02 text-center" }, "Do not apply effects")), hAsync("li", { key: 'ebfea671909f84d0b3bb018bf56ebdfabc2c3785', 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: 'dec45dc8ca9fcca44be26c0001dbefe045fab6b5', class: "mx-auto rotated logo", innerHTML: hLogoColor }), hAsync("p", { key: '32407a77fcd5bd9efe075f66fe7de260d6ac76bf', class: "f-ui-02 text-center" }, "Do not rotate the logo")), hAsync("li", { key: '65fe0d30655a81fb4b791d19bbcad66e4b6098e9', 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: '561983d5e3ce55c7afa14999230838312c5682c6', class: "mx-auto outlined logo", innerHTML: hLogoColor }), hAsync("p", { key: '230eeb47f7e1d3d864b4202cb39cdadb883649da', class: "f-ui-02 text-center" }, "Do not apply outlines")), hAsync("li", { key: '3e30322cd2a4c1f9d03f9e9c5758a3e2141f61c1', 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: '6d19155d8c5f4413118f3a2f3af89e276c707311', class: "mx-auto" }, hAsync("div", { key: '64d6e6b6502add707ccb16da25f4fbb6699ab1b0', class: "bg-accent p-16" }, hAsync("div", { key: '8f2c70ce2a39638634f388b7d28e6e3869a6d30d', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: '9ce6b36d8c6ca1c90299664765bdca50c3d1d412', 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
15476
|
}
|
|
15123
15477
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15124
15478
|
static get cmpMeta() { return {
|
|
@@ -15162,7 +15516,7 @@ class SvgRepository {
|
|
|
15162
15516
|
icon: { format: 'svg' },
|
|
15163
15517
|
name: { format: 'bold' }
|
|
15164
15518
|
};
|
|
15165
|
-
return (hAsync("div", { key: '
|
|
15519
|
+
return (hAsync("div", { key: '4c92aff806bb91d25e1c29d6d01c035e0a534eef', class: "full-width" }, hAsync("eds-table", { key: '3dd1d7abd1a310611a6229b356d7732ac4dc8e40', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
15166
15520
|
}
|
|
15167
15521
|
get hostEl() { return getElement(this); }
|
|
15168
15522
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15419,7 +15773,7 @@ class TokenList {
|
|
|
15419
15773
|
render() {
|
|
15420
15774
|
// Check if `show` prop is provided; if not, display all sections
|
|
15421
15775
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15422
|
-
return (hAsync("section", { key: '
|
|
15776
|
+
return (hAsync("section", { key: 'c8634946d5cd2813e8ed6eb3ee7a5071a8e80449', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15423
15777
|
// Only render sections that exist in `colors`
|
|
15424
15778
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15425
15779
|
}
|
|
@@ -15452,7 +15806,7 @@ class TokenRadii {
|
|
|
15452
15806
|
registerInstance(this, hostRef);
|
|
15453
15807
|
}
|
|
15454
15808
|
render() {
|
|
15455
|
-
return (hAsync("section", { key: '
|
|
15809
|
+
return (hAsync("section", { key: 'a274ee157395f49f9f224ef496813ea5c3b8503c', class: "w-full mt-28" }, hAsync("ul", { key: 'd2d6dbee8ef7e54dc1a85eb400c37b5910928e58', 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
15810
|
}
|
|
15457
15811
|
static get cmpMeta() { return {
|
|
15458
15812
|
"$flags$": 0,
|
|
@@ -15481,7 +15835,7 @@ class TokenRatios {
|
|
|
15481
15835
|
registerInstance(this, hostRef);
|
|
15482
15836
|
}
|
|
15483
15837
|
render() {
|
|
15484
|
-
return (hAsync("section", { key: '
|
|
15838
|
+
return (hAsync("section", { key: '01282f48cbcd27d349565fc5b87bd50159441e1f', class: "w-full" }, hAsync("eds-section-core", { key: 'ff586dcefa969a84732fbbac7f237089ec8d358d', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: 'f3c879e4105194896fd3fb8d98c39ee614973c24', 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
15839
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15486
15840
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15487
15841
|
maxWidth: '300px'
|
|
@@ -15523,7 +15877,7 @@ class TokenShadows {
|
|
|
15523
15877
|
registerInstance(this, hostRef);
|
|
15524
15878
|
}
|
|
15525
15879
|
render() {
|
|
15526
|
-
return (hAsync("section", { key: '
|
|
15880
|
+
return (hAsync("section", { key: '44c305a74ba522938b27fe4a8deba5e18e752e72', class: "w-full mt-28" }, hAsync("ul", { key: '8fa403e44506eb4847f1651a7fd519b9c5f336b8', 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
15881
|
}
|
|
15528
15882
|
static get cmpMeta() { return {
|
|
15529
15883
|
"$flags$": 0,
|
|
@@ -15543,7 +15897,7 @@ class TokenSpacing {
|
|
|
15543
15897
|
registerInstance(this, hostRef);
|
|
15544
15898
|
}
|
|
15545
15899
|
render() {
|
|
15546
|
-
return (hAsync("div", { key: '
|
|
15900
|
+
return (hAsync("div", { key: 'e6d23c9b0eecdbb9551da827e84b536c237c3fa2', class: "w-full" }, hAsync("ul", { key: 'f8c8ea13fd5f36050858e813f3300c12c9ed8a93', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '9473a1f844d1d6e4cfd2aaf6e8ec8587ebbc8f46', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '86f5d11b9f24a78c2d000a487402ea203663472d', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '2aa3f316b2a8b9f75403bc148f1e0f2c5b008760', class: "spacing-sample m-16 bg-strong" }, hAsync("span", { key: '178bcea91ee96b6ba7d7f35d3129ba0365103a51', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), hAsync("li", { key: '3bea85f0dabe95c77f1f7efa20868e05dbe8ac29', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '5500ec5a1b8a408ace5f6b74a09af135953508b9', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '4fe620bb9f4e246aac4093a3bceeb504a91f7347', class: "spacing-sample ml-64 bg-strong" }, hAsync("span", { key: '8043e928ce06e7eb4f9a980523b85bc1aeacce23', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: '3909330218202d18909ece6bb6c24209cdf89737', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'eddaed5ba95dcff41b807123719b86a2e109f199', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '9d4ab0bce204ed45ec8a35079213a3663dff2e70', class: "spacing-sample mt-32 bg-strong" }, hAsync("span", { key: '95a3e2eddf9d5b5659ee455de56815e83c873d22', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: '3dfe973b5081f9c209386a0b090703c5d9ee9286', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'a82ec5b68b327c2d6c73109170babaa42866a7bb', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'bf446dc3468e554be2419cd4f86a9e015f36e027', class: "spacing-sample p-32 bg-strong" }, hAsync("span", { key: '5569dc17bfd58e125651fa8bb7ff3c510e5a11c8', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), hAsync("li", { key: '2bd50606ad35620c512c764008e1ebae74b7eb5a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '6d3172e3d9db2aca2d44112795e030cbe8764327', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '7abece54dfbf26fa0f441079192e3de3d1924897', class: "spacing-sample pt-32 bg-strong" }, hAsync("span", { key: 'dce98a63280c8b9e8a691074e7727a02c8683290', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: '2330aed59c3748951cd1b99bec3324554b81f51b', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: 'f17b856f30a3ddaabc9d7dcc4438cde42f49956d', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'fb0907d427077e137a878adcb54b1e9b0cdf368e', class: "spacing-sample pl-32 bg-strong" }, hAsync("span", { key: 'e5f919cc44e91ce7eb887bc0419f998039c95fa6', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
15547
15901
|
}
|
|
15548
15902
|
static get cmpMeta() { return {
|
|
15549
15903
|
"$flags$": 0,
|
|
@@ -15761,7 +16115,7 @@ class TokenTypography {
|
|
|
15761
16115
|
registerInstance(this, hostRef);
|
|
15762
16116
|
}
|
|
15763
16117
|
render() {
|
|
15764
|
-
return (hAsync("section", { key: '
|
|
16118
|
+
return (hAsync("section", { key: '234d2f000995c4dbd180a2c80d4ead037c8f76ad', class: "w-full" }, hAsync("ul", { key: '7a4b29e3ecbb07c04c401fdbb473a4b122440e24', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
15765
16119
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15766
16120
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, hAsync("div", { class: "mr-auto hidden lg:block", style: {
|
|
15767
16121
|
fontFamily: typography.families.sans,
|
|
@@ -15820,6 +16174,7 @@ registerComponents([
|
|
|
15820
16174
|
EdsFrame,
|
|
15821
16175
|
EdsFullscreenMenu,
|
|
15822
16176
|
EdsGauge,
|
|
16177
|
+
EdsGlobalSearch,
|
|
15823
16178
|
EdsHeader,
|
|
15824
16179
|
EdsIconArrowDiagonal,
|
|
15825
16180
|
EdsIconArrowRight,
|