@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.js
CHANGED
|
@@ -127,7 +127,7 @@ function hydrateFactory($stencilWindow, $stencilHydrateOpts, $stencilHydrateResu
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
const NAMESPACE = 'components';
|
|
130
|
-
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument:
|
|
130
|
+
const BUILD = /* components */ { allRenderFn: true, appendChildSlotFix: false, asyncLoading: true, attachStyles: true, cloneNodeFix: false, cmpDidLoad: true, cmpDidRender: false, cmpDidUnload: false, cmpDidUpdate: true, cmpShouldUpdate: false, cmpWillLoad: true, cmpWillRender: false, cmpWillUpdate: false, connectedCallback: true, constructableCSS: false, cssAnnotations: true, devTools: false, disconnectedCallback: true, element: false, event: true, experimentalScopedSlotChanges: false, experimentalSlotFixes: false, formAssociated: false, hasRenderFn: true, hostListener: true, hostListenerTarget: true, hostListenerTargetBody: true, hostListenerTargetDocument: true, hostListenerTargetParent: false, hostListenerTargetWindow: true, hotModuleReplacement: false, hydrateClientSide: true, hydrateServerSide: true, hydratedAttribute: false, hydratedClass: true, hydratedSelectorName: "hydrated", invisiblePrehydration: true, isDebug: false, isDev: false, isTesting: false, lazyLoad: true, lifecycle: true, lifecycleDOMEvents: false, member: true, method: true, mode: false, observeAttribute: true, profile: false, prop: true, propBoolean: true, propMutable: true, propNumber: true, propString: true, reflect: true, scoped: false, scopedSlotTextContentFix: false, scriptDataOpts: false, shadowDelegatesFocus: true, shadowDom: true, shadowDomShim: true, slot: true, slotChildNodesFix: false, slotRelocation: true, state: true, style: true, svg: true, taskQueue: true, updatable: true, vdomAttribute: true, vdomClass: true, vdomFunctional: true, vdomKey: true, vdomListener: true, vdomPropOrAttr: true, vdomRef: true, vdomRender: true, vdomStyle: true, vdomText: true, vdomXlink: true, watchCallback: true };
|
|
131
131
|
|
|
132
132
|
/*
|
|
133
133
|
Stencil Hydrate Platform v4.22.0 | MIT Licensed | https://stenciljs.com
|
|
@@ -1743,6 +1743,7 @@ var hostListenerProxy = (hostRef, methodName) => (ev) => {
|
|
|
1743
1743
|
}
|
|
1744
1744
|
};
|
|
1745
1745
|
var getHostListenerTarget = (elm, flags) => {
|
|
1746
|
+
if (flags & 4 /* TargetDocument */) return doc;
|
|
1746
1747
|
if (flags & 8 /* TargetWindow */) return win;
|
|
1747
1748
|
if (flags & 16 /* TargetBody */) return doc.body;
|
|
1748
1749
|
return elm;
|
|
@@ -2334,7 +2335,7 @@ class ColorPrimaryPalette {
|
|
|
2334
2335
|
];
|
|
2335
2336
|
}
|
|
2336
2337
|
render() {
|
|
2337
|
-
return (hAsync("ul", { key: '
|
|
2338
|
+
return (hAsync("ul", { key: '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))))))));
|
|
2338
2339
|
}
|
|
2339
2340
|
static get cmpMeta() { return {
|
|
2340
2341
|
"$flags$": 0,
|
|
@@ -2406,7 +2407,7 @@ class ColorSecondaryPalette {
|
|
|
2406
2407
|
this.show = undefined;
|
|
2407
2408
|
}
|
|
2408
2409
|
render() {
|
|
2409
|
-
return (hAsync("ul", { key: '
|
|
2410
|
+
return (hAsync("ul", { key: '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))))))));
|
|
2410
2411
|
}
|
|
2411
2412
|
static get cmpMeta() { return {
|
|
2412
2413
|
"$flags$": 0,
|
|
@@ -2480,7 +2481,7 @@ class ColorSupportPalette {
|
|
|
2480
2481
|
return 'text-default';
|
|
2481
2482
|
}
|
|
2482
2483
|
render() {
|
|
2483
|
-
return (hAsync("ul", { key: '
|
|
2484
|
+
return (hAsync("ul", { key: '50f93b8bc9ee54e78eb23a21764afb0be5e3ea6c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2484
2485
|
// compute once
|
|
2485
2486
|
const textClass = this.getTextColor(color.background);
|
|
2486
2487
|
return (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), hAsync("div", { class: "grid" }, hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), hAsync("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|
|
@@ -2631,7 +2632,7 @@ class ComponentsSection {
|
|
|
2631
2632
|
}
|
|
2632
2633
|
}
|
|
2633
2634
|
render() {
|
|
2634
|
-
return hAsync("div", { key: '
|
|
2635
|
+
return hAsync("div", { key: '7c35270931bb242311baaa8b2d45f15135f72410', class: "container" }, this.renderContent());
|
|
2635
2636
|
}
|
|
2636
2637
|
static get cmpMeta() { return {
|
|
2637
2638
|
"$flags$": 0,
|
|
@@ -2709,7 +2710,7 @@ class CorrectUseOfColors {
|
|
|
2709
2710
|
registerInstance(this, hostRef);
|
|
2710
2711
|
}
|
|
2711
2712
|
render() {
|
|
2712
|
-
return (hAsync("div", { key: '
|
|
2713
|
+
return (hAsync("div", { key: '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 } })))))))));
|
|
2713
2714
|
}
|
|
2714
2715
|
static get cmpMeta() { return {
|
|
2715
2716
|
"$flags$": 0,
|
|
@@ -2748,7 +2749,7 @@ class DocsContent {
|
|
|
2748
2749
|
}
|
|
2749
2750
|
}
|
|
2750
2751
|
render() {
|
|
2751
|
-
return hAsync("div", { key: '
|
|
2752
|
+
return hAsync("div", { key: '9afe4f5912087e80d327a7c79a69be68b1ffa677', class: "container" }, this.renderContent());
|
|
2752
2753
|
}
|
|
2753
2754
|
static get cmpMeta() { return {
|
|
2754
2755
|
"$flags$": 0,
|
|
@@ -2781,7 +2782,7 @@ class DocsPalettes {
|
|
|
2781
2782
|
}
|
|
2782
2783
|
}
|
|
2783
2784
|
render() {
|
|
2784
|
-
return hAsync("div", { key: '
|
|
2785
|
+
return hAsync("div", { key: 'c5add26ecb245e398f8b2cf496d05da86a60f108', class: "container" }, this.renderContent());
|
|
2785
2786
|
}
|
|
2786
2787
|
static get cmpMeta() { return {
|
|
2787
2788
|
"$flags$": 0,
|
|
@@ -2939,10 +2940,10 @@ class EdsAccordion {
|
|
|
2939
2940
|
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
2940
2941
|
*/
|
|
2941
2942
|
render() {
|
|
2942
|
-
return (hAsync("div", { key: '
|
|
2943
|
+
return (hAsync("div", { key: 'd162692cb9a99b6a1b9b736b828214c9d425046e', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
2943
2944
|
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
2944
2945
|
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
2945
|
-
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '
|
|
2946
|
+
${this.description ? 'min-h-56' : ''}` }, hAsync("h3", { key: '3770e241daa7e4696c5481c97965fb2ebe0b17f9', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.heading), hAsync("div", { key: '56b7b70d16cf3f944bf3cec878bd15c3e18b399b', class: "ml-auto" }, hAsync("eds-button", { key: '4b770831f155f7e77a424b9dd3ec0a8708a0859f', id: "toggleAccordion", intent: this.buttonIntent, "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md`, onClick: this.handleClick, icon: "chevron-down" })), hAsync("div", { key: 'c75c4d840bc8be25ee7590d90e3290faf090fdf0', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (hAsync("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, hAsync("section", { key: 'b78b8f7fa93a85c886136cac8119d7b94de2a129', id: "accordionSection", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, hAsync("div", { key: '75ba9a9a7082b4ded3dacd6cbaa9ceb3688c5045', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, hAsync("span", { key: 'e08cefc1d6fe7f3d162de86a17646d88a8686d83', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, hAsync("slot", { key: '77d3a7fb997a9f313e3013a17f87c28f7ff8adad' })))))));
|
|
2946
2947
|
}
|
|
2947
2948
|
get el() { return getElement(this); }
|
|
2948
2949
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -3119,12 +3120,12 @@ class EdsAlert {
|
|
|
3119
3120
|
}
|
|
3120
3121
|
render() {
|
|
3121
3122
|
const ariaLabel = this.intent !== 'default' ? `${this.intent} alert` : 'alert';
|
|
3122
|
-
return (hAsync("div", { key: '
|
|
3123
|
+
return (hAsync("div", { key: '33781ae5fb8504158e8fe780a76d89566a39e914', class: alertStyles({
|
|
3123
3124
|
intent: this.intent,
|
|
3124
3125
|
brd: this.brd,
|
|
3125
3126
|
direction: this.direction,
|
|
3126
3127
|
withBtn: this.withBtn
|
|
3127
|
-
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: '
|
|
3128
|
+
}), role: "alert", "aria-label": ariaLabel, "aria-live": this.intent === 'error' ? 'assertive' : 'polite', "aria-labelledby": "alert-message", "aria-describedby": this.withBtn ? 'alert-action' : undefined }, hAsync("p", { key: 'fb3a1d216279b4076b09ef9544d37c5229b4d706', id: "alert-message", class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn && (hAsync("div", { key: 'a5edd833ae3924f41edb17068090eeeb4e9f9cfd', id: "alert-action" }, this.pressableUrl ? (hAsync("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : (hAsync("eds-button", { class: "eds-alert-button", label: this.pressableLabel, intent: "secondary", onClick: () => this.handleAction() }))))));
|
|
3128
3129
|
}
|
|
3129
3130
|
get el() { return getElement(this); }
|
|
3130
3131
|
static get style() { return EdsAlertStyle0; }
|
|
@@ -3175,7 +3176,7 @@ class EdsAppRoot {
|
|
|
3175
3176
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3176
3177
|
}
|
|
3177
3178
|
render() {
|
|
3178
|
-
return (hAsync("div", { key: '
|
|
3179
|
+
return (hAsync("div", { key: '814465ac49c8f5688bc8b1006723a531c925c030' }, hAsync("eds-splash-screen", { key: '578982c4b01714129ebf0e7c415bdacea10061f8', inverse: true, initPromise: this.combinedInitPromise }), hAsync("eds-login", { key: 'abc4ef7fed629bc2eda0e2f14f5165b83851794d', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), hAsync("main", { key: '1fb96900889c942ec0beb120e1ed869a9d78c6fa' }, this.isAuthenticated ? hAsync("h1", null, "Welcome, authenticated user!") : hAsync("h1", null, "Please log in."))));
|
|
3179
3180
|
}
|
|
3180
3181
|
static get cmpMeta() { return {
|
|
3181
3182
|
"$flags$": 9,
|
|
@@ -3258,7 +3259,7 @@ class EdsAvatar {
|
|
|
3258
3259
|
* @returns {JSX.Element} The rendered avatar component.
|
|
3259
3260
|
*/
|
|
3260
3261
|
render() {
|
|
3261
|
-
return (hAsync("div", { key: '
|
|
3262
|
+
return (hAsync("div", { key: 'd29c110e340567236716e77c4f003bec5c70ee63', class: this.containerClasses }, this.picture ? (hAsync("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (hAsync("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
3262
3263
|
}
|
|
3263
3264
|
static get style() { return EdsAvatarStyle0; }
|
|
3264
3265
|
static get cmpMeta() { return {
|
|
@@ -3289,7 +3290,7 @@ class EdsBlockBreak {
|
|
|
3289
3290
|
this.inverse = false;
|
|
3290
3291
|
}
|
|
3291
3292
|
render() {
|
|
3292
|
-
return hAsync("hr", { key: '
|
|
3293
|
+
return hAsync("hr", { key: '0e2ec4b9c8b70ff9b65e6c4f2af42f198b1eb7d0', class: `${this.inverse ? 'border-default' : 'border-softer'} my-16 inline-block w-full border-t-2` });
|
|
3293
3294
|
}
|
|
3294
3295
|
static get style() { return EdsBlockBreakStyle0; }
|
|
3295
3296
|
static get cmpMeta() { return {
|
|
@@ -3449,7 +3450,7 @@ class EdsBreadcrumb {
|
|
|
3449
3450
|
*/
|
|
3450
3451
|
render() {
|
|
3451
3452
|
const itemsToRender = this.getTruncatedItems();
|
|
3452
|
-
return (hAsync("nav", { key: '
|
|
3453
|
+
return (hAsync("nav", { key: '27ddf744a07f1b697e549cdc6d2a66f65ebe6386', "aria-label": "Breadcrumb" }, hAsync("ol", { key: '43ac089290c0a6f9b3c5cd629def8540966637b8', class: "flex items-center space-x-2" }, itemsToRender.map((item, index) => {
|
|
3453
3454
|
const isLast = index === itemsToRender.length - 1;
|
|
3454
3455
|
return (hAsync("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
3455
3456
|
const { fullLabel } = this.getLabels(item, isLast);
|
|
@@ -3666,7 +3667,7 @@ class EdsButton {
|
|
|
3666
3667
|
});
|
|
3667
3668
|
const ElementType = this.elementType;
|
|
3668
3669
|
const isInteractive = !this.disabled && !this.loading;
|
|
3669
|
-
return (hAsync(Host, { key: '
|
|
3670
|
+
return (hAsync(Host, { key: 'fe91be3eb9c2a3ece800097392462b3bd76f1264' }, hAsync(ElementType, { key: 'aa1d4e0544beff8759d232d0e897ffdbcd584ea5', tabindex: isInteractive ? '0' : '-1', "aria-label": this.label ? undefined : this.ariaLabel, "aria-disabled": this.disabled || this.loading ? 'true' : undefined, "aria-busy": this.loading ? 'true' : undefined, disabled: this.elementType === 'button' ? this.disabled || this.loading : undefined, role: this.elementType === 'a' ? 'button' : undefined, class: `${classes || ''} ${this.extraClass || ''}`, onClick: (event) => this.handleClick(event), onKeyDown: (event) => this.handleKeyDown(event) }, this.label && (hAsync("span", { key: '2b55edc1b986950ba03a759cffd7346c8611ac0a', class: this.loading ? 'opacity-0' : '', "aria-hidden": this.loading ? 'true' : undefined }, this.label)), this.loading && (hAsync("span", { key: '5b035b8ef848cde63af9a2cc4a3ed72c68e1e03d', class: "absolute inset-0 flex items-center justify-center", "aria-hidden": "true" }, hAsync("span", { key: '2746ef996f0835c76c4ef2cbd39103ad4d07c21f', class: "loader", style: {
|
|
3670
3671
|
border: `3px solid ${this.intent === 'secondary' ? 'rgba(255, 255, 255, .3)' : 'rgba(0, 0, 0, .3)'}`,
|
|
3671
3672
|
borderBottomColor: this.intent === 'secondary' ? '#fff' : '#000'
|
|
3672
3673
|
} }))), this.icon ? (hAsync("eds-icon-wrapper", { class: `
|
|
@@ -3726,7 +3727,7 @@ class EdsCardDesc {
|
|
|
3726
3727
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
3727
3728
|
}
|
|
3728
3729
|
render() {
|
|
3729
|
-
return (hAsync("p", { key: '
|
|
3730
|
+
return (hAsync("p", { key: '1e2ae9b46a477adb8a249a0a06c963d3e44ff297', class: "text-light f-ui-03-light" }, hAsync("span", { key: '072222b2b2249a772c1e26f566d7ac863dd6a1dd', class: this.getTruncateClass() }, this.description)));
|
|
3730
3731
|
}
|
|
3731
3732
|
static get style() { return EdsCardDescStyle0; }
|
|
3732
3733
|
static get cmpMeta() { return {
|
|
@@ -3743,7 +3744,7 @@ class EdsCardDesc {
|
|
|
3743
3744
|
}; }
|
|
3744
3745
|
}
|
|
3745
3746
|
|
|
3746
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3747
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-x-1{-moz-column-gap:0.0625rem;column-gap:0.0625rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-8{margin-bottom:0.5rem}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}.mx-auto{margin-left:auto;margin-right:auto}.block{display:block}";
|
|
3747
3748
|
var EdsCardGenericStyle0 = edsCardGenericCss;
|
|
3748
3749
|
|
|
3749
3750
|
/**
|
|
@@ -3831,7 +3832,7 @@ class EdsCardGeneric {
|
|
|
3831
3832
|
});
|
|
3832
3833
|
}
|
|
3833
3834
|
render() {
|
|
3834
|
-
return (hAsync("article", { key: '
|
|
3835
|
+
return (hAsync("article", { key: '76e77261a0c6e0c506fe7600d31a492808293d27', class: this.articleClasses(), onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: 'ca26508b05a31310df7fc0c3fa5769f7947e80fc', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), hAsync("div", { key: '00ba325e6a0093cb2be35854f2bcb579ad4eb35b', class: "mt-8 mb-8" }, this.description && (hAsync("eds-card-desc", { key: '7f8b687ac2c2f334549b5d9d438aab5c62a6fcc0', "truncate-lines": "3", description: this.description }))), this.parsedImage ? (hAsync("eds-img", Object.assign({ class: "mt-8 block mx-auto" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '63cc046648dbf7d56909b2478d6c15b14e8d9ae4', class: "flex flex-wrap gap-y-4 gap-x-1" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label, size: tag.size })))), ' '));
|
|
3835
3836
|
}
|
|
3836
3837
|
get el() { return getElement(this); }
|
|
3837
3838
|
static get style() { return EdsCardGenericStyle0; }
|
|
@@ -4043,7 +4044,7 @@ class EdsCardProject {
|
|
|
4043
4044
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
4044
4045
|
].join(' ');
|
|
4045
4046
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
4046
|
-
return (hAsync("article", { key: '
|
|
4047
|
+
return (hAsync("article", { key: '65af57bfbe558b895f74dd4d088c243a25c7265d', class: cardClasses, onClick: (event) => this.handleClick(event) }, hAsync("div", { key: 'cf0e9f71cd617a44facf7e35cdf78774e41b3eb1', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, hAsync("div", { key: '82870bbaf7203ac92f25ca241186ba7a32b784d5', class: "lg:max-w-[720px]" }, hAsync("eds-card-title", { key: '0f0356d2e4a7af3a5d50c66382ff5d3f70298e8c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (hAsync("span", { key: '3586446f9ad1bb190c93cd54d7e53d6e835b8e37', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (hAsync("div", { key: '750c707f04d12ddd1d38aa0377b47f8804070535', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && hAsync("eds-tag", { key: '01fbeebd88ee60feede3b21db177b3691ffc2808', label: this.categoryTitle })))), this.parsedImage && (hAsync("div", { key: 'c61baca9d015c9bfb7ec6ce3ec4ea2e41d8ac513', class: imageClasses }, hAsync("div", { key: '04d4828b6648470543ddde09d935aaa7c6133d7e', class: "aspect-1x1 w-full" }, hAsync("eds-img", Object.assign({ key: 'cde6eb483641c02abb6c229470f07aa5b08fbf9b', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
4047
4048
|
}
|
|
4048
4049
|
get el() { return getElement(this); }
|
|
4049
4050
|
static get cmpMeta() { return {
|
|
@@ -4103,7 +4104,7 @@ class EdsCardSection {
|
|
|
4103
4104
|
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
4104
4105
|
*/
|
|
4105
4106
|
render() {
|
|
4106
|
-
return (hAsync("section", { key: '
|
|
4107
|
+
return (hAsync("section", { key: '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 })))))));
|
|
4107
4108
|
}
|
|
4108
4109
|
static get style() { return EdsCardSectionStyle0; }
|
|
4109
4110
|
static get cmpMeta() { return {
|
|
@@ -4132,7 +4133,7 @@ class EdsCardTags {
|
|
|
4132
4133
|
this.tags = [];
|
|
4133
4134
|
}
|
|
4134
4135
|
render() {
|
|
4135
|
-
return (hAsync("div", { key: '
|
|
4136
|
+
return (hAsync("div", { key: 'dc4a5cdabd7ab34e3c2c67b9a166ae8bc15a9861', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
4136
4137
|
}
|
|
4137
4138
|
static get style() { return EdsCardTagsStyle0; }
|
|
4138
4139
|
static get cmpMeta() { return {
|
|
@@ -4196,7 +4197,7 @@ class EdsCardTitle {
|
|
|
4196
4197
|
render() {
|
|
4197
4198
|
//const Tag = this.getTag();
|
|
4198
4199
|
const Heading = this.headingLevel;
|
|
4199
|
-
return (hAsync(Heading, { key: '
|
|
4200
|
+
return (hAsync(Heading, { key: '1fd3f080c09f94d7b7175d51b9d8e38bb0b76286', class: this.getTitleClass() }, hAsync("a", { key: 'dd06cbecbc9eaef8052f34eae28ae17c5f92c918', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
4200
4201
|
}
|
|
4201
4202
|
static get style() { return EdsCardTitleStyle0; }
|
|
4202
4203
|
static get cmpMeta() { return {
|
|
@@ -4284,7 +4285,7 @@ class EdsCardTool {
|
|
|
4284
4285
|
});
|
|
4285
4286
|
}
|
|
4286
4287
|
render() {
|
|
4287
|
-
return (hAsync("article", { key: '
|
|
4288
|
+
return (hAsync("article", { key: '00f417ee065537f8b30bc73e5ad9ca0d69b3aed3', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, hAsync("eds-card-title", { key: '9d8156f655c9344c872631b75cfcaf52fdf23347', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (hAsync("eds-card-desc", { key: 'da7aa3d0d9f7995a824fd7720342e6dd4d94224f', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (hAsync("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (hAsync("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, hAsync("div", { key: '3e3001ec404a0bbca84deafc89de6aab8bf2fe45', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (hAsync("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
4288
4289
|
}
|
|
4289
4290
|
get el() { return getElement(this); }
|
|
4290
4291
|
static get style() { return EdsCardToolStyle0; }
|
|
@@ -6796,7 +6797,7 @@ class EdsCodeBlock {
|
|
|
6796
6797
|
return this.code; // Fallback if language is not provided or unsupported
|
|
6797
6798
|
}
|
|
6798
6799
|
render() {
|
|
6799
|
-
return (hAsync("div", { key: '
|
|
6800
|
+
return (hAsync("div", { key: '2c5addd195dc8d930db643e95ecc52410dd94052', class: "relative bg-stronger rounded-sm" }, hAsync("div", { key: 'aea2d891f9e5d57d4b8390cff4597cb8edd163a1', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (hAsync("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (hAsync("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, hAsync("code", { innerHTML: this.getHighlightedCode() }))), hAsync("span", { key: '41e2d463bde145f901eae42dda68091a9a42e3ef', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, hAsync("eds-icon-wrapper", { key: '7285b81dd936c770b09b4a36bed8c8ba2a87da99', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), hAsync("span", { key: 'a12d74735064478480544cc4b5cf14d7b028b1a8', class: "sr-only" }, "Copy Code")), this.language && (hAsync("pre", { key: '2fcde4f271059ac98cb3b1b6bffbf4564ccf795b', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, hAsync("code", { key: '68a8b83f492e7b0eb2916a063e28a4293e6a988f', innerHTML: this.getHighlightedCode() })))));
|
|
6800
6801
|
}
|
|
6801
6802
|
get el() { return getElement(this); }
|
|
6802
6803
|
static get style() { return EdsCodeBlockStyle0; }
|
|
@@ -6844,7 +6845,7 @@ class EdsCookiesPreference {
|
|
|
6844
6845
|
}
|
|
6845
6846
|
}
|
|
6846
6847
|
render() {
|
|
6847
|
-
return (hAsync("div", { key: '
|
|
6848
|
+
return (hAsync("div", { key: '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 })));
|
|
6848
6849
|
}
|
|
6849
6850
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6850
6851
|
static get cmpMeta() { return {
|
|
@@ -6868,13 +6869,23 @@ var EdsDropdownStyle0 = edsDropdownCss;
|
|
|
6868
6869
|
/**
|
|
6869
6870
|
* `EdsDropdown` is a versatile dropdown component that provides a list of items
|
|
6870
6871
|
* that appear upon clicking the dropdown button. It supports various customization options,
|
|
6871
|
-
* such as positioning, styling, and
|
|
6872
|
+
* such as positioning, styling, keyboard accessibility, and automatic closing behavior.
|
|
6872
6873
|
*
|
|
6873
|
-
* Key
|
|
6874
|
-
* - Configurable dropdown position (left or right) and offset
|
|
6875
|
-
* - Customizable intent styles (e.g., primary, secondary)
|
|
6876
|
-
* - Keyboard navigation with support for up and down arrow keys
|
|
6877
|
-
* -
|
|
6874
|
+
* ## Key Features:
|
|
6875
|
+
* - Configurable dropdown position (left or right) and offset
|
|
6876
|
+
* - Customizable intent styles (e.g., primary, secondary)
|
|
6877
|
+
* - Keyboard navigation with support for up and down arrow keys
|
|
6878
|
+
* - Automatic closing on clicks inside the dropdown panel
|
|
6879
|
+
* - Flexible opt-in/opt-out mechanisms for closing behavior
|
|
6880
|
+
* - Option to use as a navigation menu or standard dropdown
|
|
6881
|
+
*
|
|
6882
|
+
* ## Auto-Close Behavior:
|
|
6883
|
+
* By default (`autoClose: true`), the dropdown closes when any element inside the panel is clicked.
|
|
6884
|
+
* This includes links, buttons, custom elements, or any other clickable content.
|
|
6885
|
+
*
|
|
6886
|
+
* ## Data Attributes:
|
|
6887
|
+
* - `data-dropdown-close`: Force close dropdown when clicked (works regardless of autoClose setting)
|
|
6888
|
+
* - `data-dropdown-no-close`: Prevent dropdown from closing when this element or its children are clicked
|
|
6878
6889
|
*
|
|
6879
6890
|
* This component is well-suited for use in menus, navigational elements, and other interactive UI patterns.
|
|
6880
6891
|
*/
|
|
@@ -6887,10 +6898,12 @@ class EdsDropdown {
|
|
|
6887
6898
|
* Toggles the visibility of the dropdown and manages focus.
|
|
6888
6899
|
*/
|
|
6889
6900
|
this.handleClick = () => {
|
|
6890
|
-
var _a;
|
|
6901
|
+
var _a, _b;
|
|
6891
6902
|
this.isOpen = !this.isOpen;
|
|
6892
6903
|
if (this.isOpen) {
|
|
6893
|
-
|
|
6904
|
+
// refresh focusables each open in case slot changed
|
|
6905
|
+
this.focusableItems = Array.from(((_a = this.panelEl) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button, [role="menuitem"]')) || []);
|
|
6906
|
+
this.focusIndex = this.focusableItems.length ? 0 : -1;
|
|
6894
6907
|
this.focusItem();
|
|
6895
6908
|
}
|
|
6896
6909
|
else {
|
|
@@ -6901,7 +6914,7 @@ class EdsDropdown {
|
|
|
6901
6914
|
category: 'ui-component',
|
|
6902
6915
|
parentContext: null,
|
|
6903
6916
|
tag: this.host.tagName.toLowerCase(),
|
|
6904
|
-
name: ((
|
|
6917
|
+
name: ((_b = this.label) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || '',
|
|
6905
6918
|
action: this.isOpen ? 'expanded' : 'collapsed'
|
|
6906
6919
|
});
|
|
6907
6920
|
};
|
|
@@ -6913,9 +6926,14 @@ class EdsDropdown {
|
|
|
6913
6926
|
this.dropdownPos = 'left';
|
|
6914
6927
|
this.dropdownOffset = true;
|
|
6915
6928
|
this.intent = 'tertiary';
|
|
6929
|
+
this.autoClose = true;
|
|
6930
|
+
this.noCloseSelector = '[data-dropdown-no-close]';
|
|
6916
6931
|
this.isOpen = false;
|
|
6917
6932
|
this.focusIndex = -1;
|
|
6918
6933
|
}
|
|
6934
|
+
async close() {
|
|
6935
|
+
this.closeDropdown();
|
|
6936
|
+
}
|
|
6919
6937
|
/**
|
|
6920
6938
|
* Closes the dropdown when a click occurs outside of it.
|
|
6921
6939
|
* @param {Event} e - The click event.
|
|
@@ -6975,19 +6993,55 @@ class EdsDropdown {
|
|
|
6975
6993
|
var _a;
|
|
6976
6994
|
this.focusableItems = Array.from(((_a = this.dropdownContent) === null || _a === void 0 ? void 0 : _a.querySelectorAll('a, button')) || []);
|
|
6977
6995
|
}
|
|
6996
|
+
handleHostInternalClick(ev) {
|
|
6997
|
+
var _a;
|
|
6998
|
+
if (!this.isOpen || !this.panelEl) {
|
|
6999
|
+
return;
|
|
7000
|
+
}
|
|
7001
|
+
const path = (((_a = ev.composedPath) === null || _a === void 0 ? void 0 : _a.call(ev)) || []);
|
|
7002
|
+
const clickedInsidePanel = path.includes(this.panelEl);
|
|
7003
|
+
if (!clickedInsidePanel) {
|
|
7004
|
+
return;
|
|
7005
|
+
}
|
|
7006
|
+
// Check if element has explicit close attribute
|
|
7007
|
+
const hasCloseAttribute = path.some((t) => {
|
|
7008
|
+
var _a;
|
|
7009
|
+
const n = t;
|
|
7010
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, '[data-dropdown-close]');
|
|
7011
|
+
});
|
|
7012
|
+
// If element has data-dropdown-close, always close regardless of autoClose setting
|
|
7013
|
+
if (hasCloseAttribute) {
|
|
7014
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7015
|
+
return;
|
|
7016
|
+
}
|
|
7017
|
+
// If autoClose is disabled and no explicit close attribute, don't close
|
|
7018
|
+
if (!this.autoClose) {
|
|
7019
|
+
return;
|
|
7020
|
+
}
|
|
7021
|
+
// Auto-close mode: close unless clicked element opts out
|
|
7022
|
+
const shouldNotClose = path.some((t) => {
|
|
7023
|
+
var _a;
|
|
7024
|
+
const n = t;
|
|
7025
|
+
return (_a = n === null || n === void 0 ? void 0 : n.closest) === null || _a === void 0 ? void 0 : _a.call(n, this.noCloseSelector);
|
|
7026
|
+
});
|
|
7027
|
+
if (!shouldNotClose) {
|
|
7028
|
+
// Defer to allow the item's own click (e.g., router navigation) to run first
|
|
7029
|
+
setTimeout(() => this.closeDropdown(), 0);
|
|
7030
|
+
}
|
|
7031
|
+
}
|
|
6978
7032
|
/**
|
|
6979
7033
|
* Renders the dropdown component and displays its content when open.
|
|
6980
7034
|
* @returns {JSX.Element} The rendered dropdown component.
|
|
6981
7035
|
*/
|
|
6982
7036
|
render() {
|
|
6983
|
-
return (hAsync("div", { key: '
|
|
7037
|
+
return (hAsync("div", { key: 'e31acbda3428f47fe32cfe550cf00c53374da215', class: "z-focus relative", ref: (el) => (this.dropdownContent = el) }, hAsync("eds-button", { key: 'ce3e11ecee4f603c3ba0e003fccf3fe81289f4c8', label: this.label, "aria-label": this.ariaLabel, icon: this.icon, intent: this.intent, onClick: this.handleClick, "aria-expanded": this.isOpen.toString(), "aria-haspopup": "menu" }), hAsync("nav", { key: '59f8533409171401ed73eac8d307e4eafbde9209', ref: (el) => (this.panelEl = el), role: "menu", class: {
|
|
6984
7038
|
'shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8': true,
|
|
6985
7039
|
'left-4': this.dropdownPos === 'left' && this.dropdownOffset,
|
|
6986
7040
|
'left-0': this.dropdownPos === 'left' && !this.dropdownOffset,
|
|
6987
7041
|
'right-4': this.dropdownPos === 'right' && this.dropdownOffset,
|
|
6988
7042
|
'right-0': this.dropdownPos === 'right' && !this.dropdownOffset,
|
|
6989
7043
|
'rounded-lg': this.rounded
|
|
6990
|
-
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '
|
|
7044
|
+
}, style: { display: this.isOpen ? 'block' : 'none' }, "aria-label": "Dropdown", "aria-hidden": !this.isOpen }, hAsync("slot", { key: '675839893bf667a7a05a63e552935bb1a5874b73' }))));
|
|
6991
7045
|
}
|
|
6992
7046
|
get host() { return getElement(this); }
|
|
6993
7047
|
static get style() { return EdsDropdownStyle0; }
|
|
@@ -7003,10 +7057,13 @@ class EdsDropdown {
|
|
|
7003
7057
|
"dropdownPos": [1, "dropdown-pos"],
|
|
7004
7058
|
"dropdownOffset": [4, "dropdown-offset"],
|
|
7005
7059
|
"intent": [1],
|
|
7060
|
+
"autoClose": [4, "auto-close"],
|
|
7061
|
+
"noCloseSelector": [1, "no-close-selector"],
|
|
7006
7062
|
"isOpen": [32],
|
|
7007
|
-
"focusIndex": [32]
|
|
7063
|
+
"focusIndex": [32],
|
|
7064
|
+
"close": [64]
|
|
7008
7065
|
},
|
|
7009
|
-
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"]],
|
|
7066
|
+
"$listeners$": [[8, "click", "handleWindowClick"], [8, "keydown", "handleKeyDown"], [0, "click", "handleHostInternalClick"]],
|
|
7010
7067
|
"$lazyBundleId$": "-",
|
|
7011
7068
|
"$attrsToReflect$": []
|
|
7012
7069
|
}; }
|
|
@@ -7069,7 +7126,7 @@ class EdsFeedback {
|
|
|
7069
7126
|
const HeadingTag = this.headingLevel;
|
|
7070
7127
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7071
7128
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7072
|
-
return (hAsync("div", { key: '
|
|
7129
|
+
return (hAsync("div", { key: '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]))));
|
|
7073
7130
|
}
|
|
7074
7131
|
get el() { return getElement(this); }
|
|
7075
7132
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7155,9 +7212,11 @@ class EdsFooter {
|
|
|
7155
7212
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7156
7213
|
*/
|
|
7157
7214
|
render() {
|
|
7158
|
-
|
|
7215
|
+
const year = new Date().getFullYear();
|
|
7216
|
+
const rights = this.rightsReserved || `${year} EBRAINS. All rights reserved.`;
|
|
7217
|
+
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: () => {
|
|
7159
7218
|
this.toggleCookiesConsent();
|
|
7160
|
-
} })) : null))), hAsync("div", { key: '
|
|
7219
|
+
} })) : 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)))));
|
|
7161
7220
|
}
|
|
7162
7221
|
get el() { return getElement(this); }
|
|
7163
7222
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7411,8 +7470,8 @@ class EdsForm {
|
|
|
7411
7470
|
registerInstance(this, hostRef);
|
|
7412
7471
|
this.form = createEvent(this, "form", 7);
|
|
7413
7472
|
this.name = 'eds-form';
|
|
7414
|
-
this.title =
|
|
7415
|
-
this.description =
|
|
7473
|
+
this.title = 'Form Title';
|
|
7474
|
+
this.description = 'Form Description';
|
|
7416
7475
|
this.setFormUrl = true;
|
|
7417
7476
|
this.formBtn = true;
|
|
7418
7477
|
this.formBtnLabel = 'Submit';
|
|
@@ -7543,6 +7602,7 @@ class EdsForm {
|
|
|
7543
7602
|
return formData;
|
|
7544
7603
|
}
|
|
7545
7604
|
makeFormData() {
|
|
7605
|
+
var _a;
|
|
7546
7606
|
const formData = new FormData();
|
|
7547
7607
|
// Add the form name
|
|
7548
7608
|
formData.append('form_name', this.name);
|
|
@@ -7554,6 +7614,36 @@ class EdsForm {
|
|
|
7554
7614
|
// Append each key-value pair to the FormData object.
|
|
7555
7615
|
formData.append(key, this.values[key]);
|
|
7556
7616
|
});
|
|
7617
|
+
// 2) Only do the (slower) DOM scan if we actually have file fields in the config
|
|
7618
|
+
const hasFileField = (_a = this.parsedFields) === null || _a === void 0 ? void 0 : _a.some((f) => (f === null || f === void 0 ? void 0 : f.type) === 'file');
|
|
7619
|
+
if (hasFileField && this.formEl) {
|
|
7620
|
+
// Find file inputs inside each eds-input-field's shadowRoot
|
|
7621
|
+
const hosts = Array.from(this.formEl.querySelectorAll('eds-input-field'));
|
|
7622
|
+
hosts.forEach((host) => {
|
|
7623
|
+
const root = host.shadowRoot;
|
|
7624
|
+
if (!root)
|
|
7625
|
+
return;
|
|
7626
|
+
const fileInputs = Array.from(root.querySelectorAll('input[type="file"][name]'));
|
|
7627
|
+
console.log(fileInputs);
|
|
7628
|
+
fileInputs.forEach((fi) => {
|
|
7629
|
+
const name = fi.name;
|
|
7630
|
+
const files = fi.files ? Array.from(fi.files) : [];
|
|
7631
|
+
if (files.length > 0) {
|
|
7632
|
+
// Append each file under the same field name (backend can use request.files.getlist(name))
|
|
7633
|
+
files.forEach((file) => formData.append(name, file));
|
|
7634
|
+
}
|
|
7635
|
+
});
|
|
7636
|
+
});
|
|
7637
|
+
// (Optional) mark that this payload includes files (handy in logs / policies)
|
|
7638
|
+
// formData.set('_has_files', '1');
|
|
7639
|
+
}
|
|
7640
|
+
/*formData.forEach((value, key) => {
|
|
7641
|
+
if (value instanceof File) {
|
|
7642
|
+
console.log(`File field: ${key}, File name: ${value.name}, File size: ${value.size}`);
|
|
7643
|
+
} else {
|
|
7644
|
+
console.log(`Field: ${key}, Value: ${value}`);
|
|
7645
|
+
}
|
|
7646
|
+
});*/
|
|
7557
7647
|
return formData;
|
|
7558
7648
|
}
|
|
7559
7649
|
handleChange(e, field) {
|
|
@@ -7664,11 +7754,11 @@ class EdsForm {
|
|
|
7664
7754
|
message: `${field.name} updated`
|
|
7665
7755
|
});
|
|
7666
7756
|
}
|
|
7667
|
-
handleSubmit() {
|
|
7757
|
+
handleSubmit(e) {
|
|
7668
7758
|
var _a, _b;
|
|
7669
|
-
|
|
7759
|
+
e === null || e === void 0 ? void 0 : e.preventDefault();
|
|
7760
|
+
if (this.isSubmitting)
|
|
7670
7761
|
return;
|
|
7671
|
-
}
|
|
7672
7762
|
this.isSubmitting = true;
|
|
7673
7763
|
this.validateForm();
|
|
7674
7764
|
if (this.hasError) {
|
|
@@ -7763,9 +7853,9 @@ class EdsForm {
|
|
|
7763
7853
|
const styleClasses = this.formStyle === 'shadow'
|
|
7764
7854
|
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7765
7855
|
: '';
|
|
7766
|
-
return (hAsync("form", { key: '
|
|
7856
|
+
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
|
|
7767
7857
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7768
|
-
.map((g) => (hAsync("div", { class: "
|
|
7858
|
+
.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() })))));
|
|
7769
7859
|
}
|
|
7770
7860
|
get el() { return getElement(this); }
|
|
7771
7861
|
static get watchers() { return {
|
|
@@ -7893,7 +7983,7 @@ class EdsFrame {
|
|
|
7893
7983
|
}
|
|
7894
7984
|
}
|
|
7895
7985
|
render() {
|
|
7896
|
-
return (hAsync("div", { key: '
|
|
7986
|
+
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 })))));
|
|
7897
7987
|
}
|
|
7898
7988
|
get el() { return getElement(this); }
|
|
7899
7989
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -7953,6 +8043,10 @@ class EdsFullscreenMenu {
|
|
|
7953
8043
|
handleToggleMenu(event) {
|
|
7954
8044
|
this.isMenuOpen = !!event.detail;
|
|
7955
8045
|
}
|
|
8046
|
+
onKeydown(e) {
|
|
8047
|
+
if (e.key === 'Escape' && this.isMenuOpen)
|
|
8048
|
+
this.closeMenu();
|
|
8049
|
+
}
|
|
7956
8050
|
/** Opens the menu */
|
|
7957
8051
|
openMenu() {
|
|
7958
8052
|
this.isMenuOpen = true;
|
|
@@ -7962,6 +8056,8 @@ class EdsFullscreenMenu {
|
|
|
7962
8056
|
this.isMenuOpen = false;
|
|
7963
8057
|
this.menuClose.emit();
|
|
7964
8058
|
}
|
|
8059
|
+
async open() { this.isMenuOpen = true; }
|
|
8060
|
+
async close() { this.closeMenu(); }
|
|
7965
8061
|
// Lifecycle method to add the resize event listener when component loads
|
|
7966
8062
|
componentDidLoad() {
|
|
7967
8063
|
window.addEventListener('resize', this.handleResize.bind(this));
|
|
@@ -7995,7 +8091,7 @@ class EdsFullscreenMenu {
|
|
|
7995
8091
|
return parseData(this.menuLinks);
|
|
7996
8092
|
}
|
|
7997
8093
|
render() {
|
|
7998
|
-
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;
|
|
8094
|
+
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;
|
|
7999
8095
|
}
|
|
8000
8096
|
static get style() { return EdsFullscreenMenuStyle0; }
|
|
8001
8097
|
static get cmpMeta() { return {
|
|
@@ -8006,9 +8102,11 @@ class EdsFullscreenMenu {
|
|
|
8006
8102
|
"menuLinks": [1, "menu-links"],
|
|
8007
8103
|
"homeUrl": [1, "home-url"],
|
|
8008
8104
|
"inverseHeader": [4, "inverse-header"],
|
|
8009
|
-
"isMenuOpen": [32]
|
|
8105
|
+
"isMenuOpen": [32],
|
|
8106
|
+
"open": [64],
|
|
8107
|
+
"close": [64]
|
|
8010
8108
|
},
|
|
8011
|
-
"$listeners$": [[16, "toggleheadermenu", "handleToggleMenu"]],
|
|
8109
|
+
"$listeners$": [[16, "toggleheadermenu", "handleToggleMenu"], [8, "keydown", "onKeydown"]],
|
|
8012
8110
|
"$lazyBundleId$": "-",
|
|
8013
8111
|
"$attrsToReflect$": []
|
|
8014
8112
|
}; }
|
|
@@ -8062,7 +8160,7 @@ class EdsGauge {
|
|
|
8062
8160
|
const textStyle = {
|
|
8063
8161
|
fontSize: `${fontSize}px`
|
|
8064
8162
|
};
|
|
8065
|
-
return (hAsync("div", { key: '
|
|
8163
|
+
return (hAsync("div", { key: '8834b0fc3cb78c0e7926392d04229d67d8deab90', role: "progressbar", "aria-valuemin": this.valueMin, "aria-valuemax": this.valueMax, "aria-valuenow": clamped, "aria-label": `Gauge value: ${clamped} of ${this.valueMax}`, class: "relative inline-block rounded-full overflow-hidden", style: containerStyle }, hAsync("div", { key: 'f9ad68bd6bf19bceb46df1cfe16cdbbc2375099c', class: "absolute bg-inverse rounded-full", style: maskStyle }), hAsync("div", { key: '64a2ba3ba2f104fa018f81949cdabc0fc53eea42', class: "absolute inset-0 flex items-center justify-center" }, hAsync("span", { key: 'ae66f977802793f4e10210e75ddfa53839a9ff6e', class: "f-body-01 text-default", style: textStyle }, clamped))));
|
|
8066
8164
|
}
|
|
8067
8165
|
static get style() { return EdsGaugeStyle0; }
|
|
8068
8166
|
static get cmpMeta() { return {
|
|
@@ -8082,6 +8180,194 @@ class EdsGauge {
|
|
|
8082
8180
|
}; }
|
|
8083
8181
|
}
|
|
8084
8182
|
|
|
8183
|
+
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)}";
|
|
8184
|
+
var EdsGlobalSearchStyle0 = edsGlobalSearchCss;
|
|
8185
|
+
|
|
8186
|
+
class EdsGlobalSearch {
|
|
8187
|
+
constructor(hostRef) {
|
|
8188
|
+
registerInstance(this, hostRef);
|
|
8189
|
+
this.resultSelected = createEvent(this, "resultSelected", 7);
|
|
8190
|
+
this.searchClosed = createEvent(this, "searchClosed", 7);
|
|
8191
|
+
this.handleInput = (event) => {
|
|
8192
|
+
var _a;
|
|
8193
|
+
const target = event.target;
|
|
8194
|
+
this.query = target.value;
|
|
8195
|
+
if (this.debounceTimer) {
|
|
8196
|
+
clearTimeout(this.debounceTimer);
|
|
8197
|
+
}
|
|
8198
|
+
if (!this.query.trim()) {
|
|
8199
|
+
this.results = [];
|
|
8200
|
+
this.hasSearched = false;
|
|
8201
|
+
this.showDropdown = false;
|
|
8202
|
+
return;
|
|
8203
|
+
}
|
|
8204
|
+
sendAnalytics({
|
|
8205
|
+
category: 'shared-ui',
|
|
8206
|
+
parentContext: null,
|
|
8207
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8208
|
+
name: `search-input: ${(_a = this.query) === null || _a === void 0 ? void 0 : _a.toLowerCase()}` ||
|
|
8209
|
+
'unknow seach input query',
|
|
8210
|
+
action: 'click',
|
|
8211
|
+
});
|
|
8212
|
+
this.debounceTimer = window.setTimeout(() => {
|
|
8213
|
+
this.runSearch();
|
|
8214
|
+
}, this.debounceDelay);
|
|
8215
|
+
};
|
|
8216
|
+
this.apiEndpoint = '/api/v1/global-search';
|
|
8217
|
+
this.placeholder = 'Search Handbook + Design...';
|
|
8218
|
+
this.limit = 20;
|
|
8219
|
+
this.debounceDelay = 300;
|
|
8220
|
+
this.query = '';
|
|
8221
|
+
this.results = [];
|
|
8222
|
+
this.loading = false;
|
|
8223
|
+
this.error = '';
|
|
8224
|
+
this.hasSearched = false;
|
|
8225
|
+
this.showDropdown = false;
|
|
8226
|
+
this.selectedIndex = -1;
|
|
8227
|
+
}
|
|
8228
|
+
componentDidLoad() {
|
|
8229
|
+
// Focus input if needed
|
|
8230
|
+
if (this.inputRef) {
|
|
8231
|
+
this.inputRef.focus();
|
|
8232
|
+
}
|
|
8233
|
+
}
|
|
8234
|
+
disconnectedCallback() {
|
|
8235
|
+
if (this.debounceTimer) {
|
|
8236
|
+
clearTimeout(this.debounceTimer);
|
|
8237
|
+
}
|
|
8238
|
+
}
|
|
8239
|
+
handleDocumentClick(event) {
|
|
8240
|
+
const path = event.composedPath();
|
|
8241
|
+
if (!path.includes(this.el)) {
|
|
8242
|
+
this.showDropdown = false;
|
|
8243
|
+
this.selectedIndex = -1;
|
|
8244
|
+
}
|
|
8245
|
+
}
|
|
8246
|
+
handleKeydown(event) {
|
|
8247
|
+
if (!this.showDropdown || this.results.length === 0) {
|
|
8248
|
+
if (event.key === 'Escape') {
|
|
8249
|
+
this.searchClosed.emit();
|
|
8250
|
+
}
|
|
8251
|
+
return;
|
|
8252
|
+
}
|
|
8253
|
+
switch (event.key) {
|
|
8254
|
+
case 'ArrowDown':
|
|
8255
|
+
event.preventDefault();
|
|
8256
|
+
this.selectedIndex = Math.min(this.selectedIndex + 1, this.results.length - 1);
|
|
8257
|
+
this.scrollToSelected();
|
|
8258
|
+
break;
|
|
8259
|
+
case 'ArrowUp':
|
|
8260
|
+
event.preventDefault();
|
|
8261
|
+
this.selectedIndex = Math.max(this.selectedIndex - 1, -1);
|
|
8262
|
+
this.scrollToSelected();
|
|
8263
|
+
break;
|
|
8264
|
+
case 'Enter':
|
|
8265
|
+
event.preventDefault();
|
|
8266
|
+
if (this.selectedIndex >= 0 &&
|
|
8267
|
+
this.selectedIndex < this.results.length) {
|
|
8268
|
+
this.selectResult(this.results[this.selectedIndex]);
|
|
8269
|
+
}
|
|
8270
|
+
break;
|
|
8271
|
+
case 'Escape':
|
|
8272
|
+
this.showDropdown = false;
|
|
8273
|
+
this.selectedIndex = -1;
|
|
8274
|
+
this.searchClosed.emit();
|
|
8275
|
+
break;
|
|
8276
|
+
}
|
|
8277
|
+
}
|
|
8278
|
+
async runSearch() {
|
|
8279
|
+
var _a;
|
|
8280
|
+
const query = this.query.trim();
|
|
8281
|
+
if (!query) {
|
|
8282
|
+
this.results = [];
|
|
8283
|
+
this.hasSearched = false;
|
|
8284
|
+
this.showDropdown = false;
|
|
8285
|
+
return;
|
|
8286
|
+
}
|
|
8287
|
+
this.loading = true;
|
|
8288
|
+
this.error = '';
|
|
8289
|
+
try {
|
|
8290
|
+
const response = await fetch(`${this.apiEndpoint}?q=${encodeURIComponent(query)}&limit=${this.limit}`);
|
|
8291
|
+
if (!response.ok) {
|
|
8292
|
+
throw new Error('Search failed');
|
|
8293
|
+
}
|
|
8294
|
+
const data = await response.json();
|
|
8295
|
+
this.results = (_a = data.items) !== null && _a !== void 0 ? _a : [];
|
|
8296
|
+
this.hasSearched = true;
|
|
8297
|
+
this.showDropdown = true;
|
|
8298
|
+
this.selectedIndex = -1;
|
|
8299
|
+
}
|
|
8300
|
+
catch (err) {
|
|
8301
|
+
console.error('Search error:', err);
|
|
8302
|
+
this.error = 'Search failed. Please try again.';
|
|
8303
|
+
this.results = [];
|
|
8304
|
+
this.showDropdown = true;
|
|
8305
|
+
}
|
|
8306
|
+
finally {
|
|
8307
|
+
this.loading = false;
|
|
8308
|
+
}
|
|
8309
|
+
}
|
|
8310
|
+
selectResult(result) {
|
|
8311
|
+
this.resultSelected.emit(result);
|
|
8312
|
+
this.searchClosed.emit();
|
|
8313
|
+
sendAnalytics({
|
|
8314
|
+
category: 'shared-ui',
|
|
8315
|
+
parentContext: null,
|
|
8316
|
+
tag: this.el.tagName.toLowerCase(),
|
|
8317
|
+
name: `search-select: ${result.url}` || 'unknow search result selection',
|
|
8318
|
+
action: 'click',
|
|
8319
|
+
});
|
|
8320
|
+
window.open(result.url, '_blank', 'noopener,noreferrer');
|
|
8321
|
+
}
|
|
8322
|
+
scrollToSelected() {
|
|
8323
|
+
if (this.selectedIndex >= 0 && this.dropdownRef) {
|
|
8324
|
+
const selectedItem = this.dropdownRef.querySelector(`[data-index="${this.selectedIndex}"]`);
|
|
8325
|
+
if (selectedItem) {
|
|
8326
|
+
selectedItem.scrollIntoView({ block: 'nearest', behavior: 'smooth' });
|
|
8327
|
+
}
|
|
8328
|
+
}
|
|
8329
|
+
}
|
|
8330
|
+
stripHtml(html) {
|
|
8331
|
+
const div = document.createElement('div');
|
|
8332
|
+
div.innerHTML = html;
|
|
8333
|
+
return div.textContent || div.innerText || '';
|
|
8334
|
+
}
|
|
8335
|
+
get hasResults() {
|
|
8336
|
+
return this.results.length > 0;
|
|
8337
|
+
}
|
|
8338
|
+
get showEmpty() {
|
|
8339
|
+
return (this.hasSearched && !this.loading && !this.hasResults && this.query.trim());
|
|
8340
|
+
}
|
|
8341
|
+
render() {
|
|
8342
|
+
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: {
|
|
8343
|
+
'result-item': true,
|
|
8344
|
+
'result-item--selected': index === this.selectedIndex,
|
|
8345
|
+
}, 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")))))));
|
|
8346
|
+
}
|
|
8347
|
+
get el() { return getElement(this); }
|
|
8348
|
+
static get style() { return EdsGlobalSearchStyle0; }
|
|
8349
|
+
static get cmpMeta() { return {
|
|
8350
|
+
"$flags$": 9,
|
|
8351
|
+
"$tagName$": "eds-global-search",
|
|
8352
|
+
"$members$": {
|
|
8353
|
+
"apiEndpoint": [1, "api-endpoint"],
|
|
8354
|
+
"placeholder": [1],
|
|
8355
|
+
"limit": [2],
|
|
8356
|
+
"debounceDelay": [2, "debounce-delay"],
|
|
8357
|
+
"query": [32],
|
|
8358
|
+
"results": [32],
|
|
8359
|
+
"loading": [32],
|
|
8360
|
+
"error": [32],
|
|
8361
|
+
"hasSearched": [32],
|
|
8362
|
+
"showDropdown": [32],
|
|
8363
|
+
"selectedIndex": [32]
|
|
8364
|
+
},
|
|
8365
|
+
"$listeners$": [[4, "click", "handleDocumentClick"], [0, "keydown", "handleKeydown"]],
|
|
8366
|
+
"$lazyBundleId$": "-",
|
|
8367
|
+
"$attrsToReflect$": []
|
|
8368
|
+
}; }
|
|
8369
|
+
}
|
|
8370
|
+
|
|
8085
8371
|
const edsHeaderCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.z-10{z-index:10}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.mr-auto{margin-right:auto}.w-\\[200px\\]{width:200px}.h-\\[85px\\]{height:85px}.left-1\\/2{left:50%}.top-1\\/2{top:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hidden{display:none}.gap-x-2{-moz-column-gap:0.125rem;column-gap:0.125rem}.after\\:effect-opacity::after{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.whitespace-nowrap{white-space:nowrap}.\\!text-current{color:currentColor !important}.overflow-hidden{overflow:hidden}.after\\:\\!border-transparent::after{border-color:var(--transparent) !important}.hover\\:after\\:\\!border-transparent:hover::after{border-color:var(--transparent) !important}.after\\:opacity-0::after{opacity:0}.hover\\:after\\:opacity-100:hover::after{opacity:1}.px-16{padding-left:1rem;padding-right:1rem}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}}";
|
|
8086
8372
|
var EdsHeaderStyle0 = edsHeaderCss;
|
|
8087
8373
|
|
|
@@ -8108,14 +8394,10 @@ class EdsHeader {
|
|
|
8108
8394
|
this.menuEnabled = false;
|
|
8109
8395
|
this.isMenuOpen = false;
|
|
8110
8396
|
this.isUserMenuOpen = false;
|
|
8111
|
-
this.isAuthenticated = false;
|
|
8112
|
-
}
|
|
8113
|
-
onAuthStatusChanged(event) {
|
|
8114
|
-
var _a;
|
|
8115
|
-
this.isAuthenticated = (_a = event.detail) === null || _a === void 0 ? void 0 : _a.authenticated;
|
|
8116
8397
|
}
|
|
8117
8398
|
componentDidLoad() {
|
|
8118
|
-
|
|
8399
|
+
var _a, _b;
|
|
8400
|
+
const links = (_b = (_a = this.hostEl.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-link')) !== null && _b !== void 0 ? _b : [];
|
|
8119
8401
|
links.forEach((link) => this.emitContext(link));
|
|
8120
8402
|
}
|
|
8121
8403
|
emitContext(linkElement) {
|
|
@@ -8143,7 +8425,7 @@ class EdsHeader {
|
|
|
8143
8425
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8144
8426
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8145
8427
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8146
|
-
return (hAsync("header", { key: '
|
|
8428
|
+
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() })))));
|
|
8147
8429
|
}
|
|
8148
8430
|
get hostEl() { return getElement(this); }
|
|
8149
8431
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -8156,10 +8438,9 @@ class EdsHeader {
|
|
|
8156
8438
|
"headerVariant": [513, "header-variant"],
|
|
8157
8439
|
"menuEnabled": [4, "menu-enabled"],
|
|
8158
8440
|
"isMenuOpen": [32],
|
|
8159
|
-
"isUserMenuOpen": [32]
|
|
8160
|
-
"isAuthenticated": [32]
|
|
8441
|
+
"isUserMenuOpen": [32]
|
|
8161
8442
|
},
|
|
8162
|
-
"$listeners$":
|
|
8443
|
+
"$listeners$": undefined,
|
|
8163
8444
|
"$lazyBundleId$": "-",
|
|
8164
8445
|
"$attrsToReflect$": [["homeUrl", "home-url"], ["headerVariant", "header-variant"]]
|
|
8165
8446
|
}; }
|
|
@@ -10161,7 +10442,7 @@ class EdsIconArrowDiagonal {
|
|
|
10161
10442
|
this.class = '';
|
|
10162
10443
|
}
|
|
10163
10444
|
render() {
|
|
10164
|
-
return hAsync("span", { key: '
|
|
10445
|
+
return hAsync("span", { key: '4dd5fc5be465494e8546404231cfdb63609e64f1', class: this.class, innerHTML: arrowDiagonal });
|
|
10165
10446
|
}
|
|
10166
10447
|
static get cmpMeta() { return {
|
|
10167
10448
|
"$flags$": 0,
|
|
@@ -10184,7 +10465,7 @@ class EdsIconArrowRight {
|
|
|
10184
10465
|
this.class = '';
|
|
10185
10466
|
}
|
|
10186
10467
|
render() {
|
|
10187
|
-
return hAsync("span", { key: '
|
|
10468
|
+
return hAsync("span", { key: '64d0cb03ab1a33096ad9e3b7219a2e758707a1d5', class: this.class, innerHTML: arrowRight });
|
|
10188
10469
|
}
|
|
10189
10470
|
static get cmpMeta() { return {
|
|
10190
10471
|
"$flags$": 0,
|
|
@@ -10207,7 +10488,7 @@ class EdsIconBin {
|
|
|
10207
10488
|
this.class = '';
|
|
10208
10489
|
}
|
|
10209
10490
|
render() {
|
|
10210
|
-
return hAsync("span", { key: '
|
|
10491
|
+
return hAsync("span", { key: '9a7b52f2a2006bd83418d6b4bb2834bffa79305c', class: this.class, innerHTML: bin });
|
|
10211
10492
|
}
|
|
10212
10493
|
static get cmpMeta() { return {
|
|
10213
10494
|
"$flags$": 0,
|
|
@@ -10230,7 +10511,7 @@ class EdsIconBluesky {
|
|
|
10230
10511
|
this.class = '';
|
|
10231
10512
|
}
|
|
10232
10513
|
render() {
|
|
10233
|
-
return hAsync("span", { key: '
|
|
10514
|
+
return hAsync("span", { key: '4f21c5659e92ea08e1f464d23e351fbfef6e347d', class: this.class, innerHTML: bluesky });
|
|
10234
10515
|
}
|
|
10235
10516
|
static get cmpMeta() { return {
|
|
10236
10517
|
"$flags$": 0,
|
|
@@ -10253,7 +10534,7 @@ class EdsIconBookmark {
|
|
|
10253
10534
|
this.class = '';
|
|
10254
10535
|
}
|
|
10255
10536
|
render() {
|
|
10256
|
-
return hAsync("span", { key: '
|
|
10537
|
+
return hAsync("span", { key: '48b2e81ac7f597b50d13a7a0a753894ac18022cd', class: this.class, innerHTML: bookmark });
|
|
10257
10538
|
}
|
|
10258
10539
|
static get cmpMeta() { return {
|
|
10259
10540
|
"$flags$": 0,
|
|
@@ -10276,7 +10557,7 @@ class EdsIconChevronDown {
|
|
|
10276
10557
|
this.class = '';
|
|
10277
10558
|
}
|
|
10278
10559
|
render() {
|
|
10279
|
-
return hAsync("span", { key: '
|
|
10560
|
+
return hAsync("span", { key: 'ea6e2250c63af2a7f3ed1d50e6514a28e5629e6d', class: this.class, innerHTML: chevronDown });
|
|
10280
10561
|
}
|
|
10281
10562
|
static get cmpMeta() { return {
|
|
10282
10563
|
"$flags$": 0,
|
|
@@ -10299,7 +10580,7 @@ class EdsIconChevronLeft {
|
|
|
10299
10580
|
this.class = '';
|
|
10300
10581
|
}
|
|
10301
10582
|
render() {
|
|
10302
|
-
return hAsync("span", { key: '
|
|
10583
|
+
return hAsync("span", { key: '8847183f6f31439d94f87a24ee01697babe53ecf', class: this.class, innerHTML: chevronLeft });
|
|
10303
10584
|
}
|
|
10304
10585
|
static get cmpMeta() { return {
|
|
10305
10586
|
"$flags$": 0,
|
|
@@ -10322,7 +10603,7 @@ class EdsIconChevronRight {
|
|
|
10322
10603
|
this.class = '';
|
|
10323
10604
|
}
|
|
10324
10605
|
render() {
|
|
10325
|
-
return hAsync("span", { key: '
|
|
10606
|
+
return hAsync("span", { key: '398a406ad137aeb4d51286b82eccee3c0bff2f2b', class: this.class, innerHTML: chevronRight });
|
|
10326
10607
|
}
|
|
10327
10608
|
static get cmpMeta() { return {
|
|
10328
10609
|
"$flags$": 0,
|
|
@@ -10345,7 +10626,7 @@ class EdsIconChevronUp {
|
|
|
10345
10626
|
this.class = '';
|
|
10346
10627
|
}
|
|
10347
10628
|
render() {
|
|
10348
|
-
return hAsync("span", { key: '
|
|
10629
|
+
return hAsync("span", { key: 'f0647dcbf0e597fc3dd2f31d0e1de2ce7237d25a', class: this.class, innerHTML: chevronUp });
|
|
10349
10630
|
}
|
|
10350
10631
|
static get cmpMeta() { return {
|
|
10351
10632
|
"$flags$": 0,
|
|
@@ -10368,7 +10649,7 @@ class EdsIconClone {
|
|
|
10368
10649
|
this.class = '';
|
|
10369
10650
|
}
|
|
10370
10651
|
render() {
|
|
10371
|
-
return hAsync("span", { key: '
|
|
10652
|
+
return hAsync("span", { key: 'faa232cc2d703f00cbda76fb9c152773a032ded2', class: this.class, innerHTML: clone });
|
|
10372
10653
|
}
|
|
10373
10654
|
static get cmpMeta() { return {
|
|
10374
10655
|
"$flags$": 0,
|
|
@@ -10391,7 +10672,7 @@ class EdsIconClose {
|
|
|
10391
10672
|
this.class = '';
|
|
10392
10673
|
}
|
|
10393
10674
|
render() {
|
|
10394
|
-
return hAsync("span", { key: '
|
|
10675
|
+
return hAsync("span", { key: '001c4d41b324d9b2636087e1fde76e2fdeef9f33', class: this.class, innerHTML: close });
|
|
10395
10676
|
}
|
|
10396
10677
|
static get cmpMeta() { return {
|
|
10397
10678
|
"$flags$": 0,
|
|
@@ -10414,7 +10695,7 @@ class EdsIconCopy {
|
|
|
10414
10695
|
this.class = '';
|
|
10415
10696
|
}
|
|
10416
10697
|
render() {
|
|
10417
|
-
return hAsync("span", { key: '
|
|
10698
|
+
return hAsync("span", { key: '6a7eb765b426e0e142a0d7f742ddc33c9de98601', class: this.class, innerHTML: copy });
|
|
10418
10699
|
}
|
|
10419
10700
|
static get cmpMeta() { return {
|
|
10420
10701
|
"$flags$": 0,
|
|
@@ -10437,7 +10718,7 @@ class EdsIconDownload {
|
|
|
10437
10718
|
this.class = '';
|
|
10438
10719
|
}
|
|
10439
10720
|
render() {
|
|
10440
|
-
return hAsync("span", { key: '
|
|
10721
|
+
return hAsync("span", { key: 'b2b380a299ee2b9941613ddddc3d67b2db4ce57e', class: this.class, innerHTML: download });
|
|
10441
10722
|
}
|
|
10442
10723
|
static get cmpMeta() { return {
|
|
10443
10724
|
"$flags$": 0,
|
|
@@ -10460,7 +10741,7 @@ class EdsIconDraft {
|
|
|
10460
10741
|
this.class = '';
|
|
10461
10742
|
}
|
|
10462
10743
|
render() {
|
|
10463
|
-
return hAsync("span", { key: '
|
|
10744
|
+
return hAsync("span", { key: '0defed3e15ba10e6e62cf35d0540901ec1dd2485', class: this.class, innerHTML: draft });
|
|
10464
10745
|
}
|
|
10465
10746
|
static get cmpMeta() { return {
|
|
10466
10747
|
"$flags$": 0,
|
|
@@ -10483,7 +10764,7 @@ class EdsIconEdit {
|
|
|
10483
10764
|
this.class = '';
|
|
10484
10765
|
}
|
|
10485
10766
|
render() {
|
|
10486
|
-
return hAsync("span", { key: '
|
|
10767
|
+
return hAsync("span", { key: '86ec46944e96100f5e262f505dd64839b99f0d8d', class: this.class, innerHTML: edit });
|
|
10487
10768
|
}
|
|
10488
10769
|
static get cmpMeta() { return {
|
|
10489
10770
|
"$flags$": 0,
|
|
@@ -10506,7 +10787,7 @@ class EdsIconEu {
|
|
|
10506
10787
|
this.class = '';
|
|
10507
10788
|
}
|
|
10508
10789
|
render() {
|
|
10509
|
-
return hAsync("span", { key: '
|
|
10790
|
+
return hAsync("span", { key: '216be6a7fcc4f8ffb2936507cbff95bc1141c764', class: this.class, innerHTML: euSvg });
|
|
10510
10791
|
}
|
|
10511
10792
|
static get cmpMeta() { return {
|
|
10512
10793
|
"$flags$": 0,
|
|
@@ -10529,7 +10810,7 @@ class EdsIconExternal {
|
|
|
10529
10810
|
this.class = '';
|
|
10530
10811
|
}
|
|
10531
10812
|
render() {
|
|
10532
|
-
return hAsync("span", { key: '
|
|
10813
|
+
return hAsync("span", { key: 'a061070cf41f0a64e660fe6ea01fcaecf7c45afd', class: this.class, innerHTML: arrowDiagonal });
|
|
10533
10814
|
}
|
|
10534
10815
|
static get cmpMeta() { return {
|
|
10535
10816
|
"$flags$": 0,
|
|
@@ -10552,7 +10833,7 @@ class EdsIconFacebook {
|
|
|
10552
10833
|
this.class = '';
|
|
10553
10834
|
}
|
|
10554
10835
|
render() {
|
|
10555
|
-
return hAsync("span", { key: '
|
|
10836
|
+
return hAsync("span", { key: 'b3e7b9c17f476f6d40c446574f0df66a92750b93', class: this.class, innerHTML: facebook });
|
|
10556
10837
|
}
|
|
10557
10838
|
static get cmpMeta() { return {
|
|
10558
10839
|
"$flags$": 0,
|
|
@@ -10575,7 +10856,7 @@ class EdsIconGitlab {
|
|
|
10575
10856
|
this.class = '';
|
|
10576
10857
|
}
|
|
10577
10858
|
render() {
|
|
10578
|
-
return hAsync("span", { key: '
|
|
10859
|
+
return hAsync("span", { key: 'ac1b505068670dc7cb5953b515f768586a79d6a3', class: this.class, innerHTML: gitlabBlack });
|
|
10579
10860
|
}
|
|
10580
10861
|
static get cmpMeta() { return {
|
|
10581
10862
|
"$flags$": 0,
|
|
@@ -10598,7 +10879,7 @@ class EdsIconLinkedin {
|
|
|
10598
10879
|
this.class = '';
|
|
10599
10880
|
}
|
|
10600
10881
|
render() {
|
|
10601
|
-
return hAsync("span", { key: '
|
|
10882
|
+
return hAsync("span", { key: '98e62dd3477d86fbdcdfb1388795e119910de8c1', class: this.class, innerHTML: linkedin });
|
|
10602
10883
|
}
|
|
10603
10884
|
static get cmpMeta() { return {
|
|
10604
10885
|
"$flags$": 0,
|
|
@@ -10621,7 +10902,7 @@ class EdsIconLoader {
|
|
|
10621
10902
|
this.class = '';
|
|
10622
10903
|
}
|
|
10623
10904
|
render() {
|
|
10624
|
-
return hAsync("span", { key: '
|
|
10905
|
+
return hAsync("span", { key: '3a9bd685a48bd253613d94a0755e3011144b69a8', class: this.class, innerHTML: loader });
|
|
10625
10906
|
}
|
|
10626
10907
|
static get cmpMeta() { return {
|
|
10627
10908
|
"$flags$": 0,
|
|
@@ -10644,7 +10925,7 @@ class EdsIconMastodon {
|
|
|
10644
10925
|
this.class = '';
|
|
10645
10926
|
}
|
|
10646
10927
|
render() {
|
|
10647
|
-
return hAsync("span", { key: '
|
|
10928
|
+
return hAsync("span", { key: '780be04fc40f5ac361cc7cce4694c9f624ab4a0a', class: this.class, innerHTML: mastodon });
|
|
10648
10929
|
}
|
|
10649
10930
|
static get cmpMeta() { return {
|
|
10650
10931
|
"$flags$": 0,
|
|
@@ -10667,7 +10948,7 @@ class EdsIconMenu {
|
|
|
10667
10948
|
this.class = '';
|
|
10668
10949
|
}
|
|
10669
10950
|
render() {
|
|
10670
|
-
return hAsync("span", { key: '
|
|
10951
|
+
return hAsync("span", { key: 'ee487c5a7cbd576d21a7f0b282ca0606a045de2e', class: this.class, innerHTML: menu });
|
|
10671
10952
|
}
|
|
10672
10953
|
static get cmpMeta() { return {
|
|
10673
10954
|
"$flags$": 0,
|
|
@@ -10690,7 +10971,7 @@ class EdsIconMinus {
|
|
|
10690
10971
|
this.class = '';
|
|
10691
10972
|
}
|
|
10692
10973
|
render() {
|
|
10693
|
-
return hAsync("span", { key: '
|
|
10974
|
+
return hAsync("span", { key: '4c399e259be9fcce197e0735c42dd5fa76daa220', class: this.class, innerHTML: minus });
|
|
10694
10975
|
}
|
|
10695
10976
|
static get cmpMeta() { return {
|
|
10696
10977
|
"$flags$": 0,
|
|
@@ -10713,7 +10994,7 @@ class EdsIconMore {
|
|
|
10713
10994
|
this.class = '';
|
|
10714
10995
|
}
|
|
10715
10996
|
render() {
|
|
10716
|
-
return hAsync("span", { key: '
|
|
10997
|
+
return hAsync("span", { key: '6eae5aa60d60601dcdacf6fcf1f40be87cd3f869', class: this.class, innerHTML: more });
|
|
10717
10998
|
}
|
|
10718
10999
|
static get cmpMeta() { return {
|
|
10719
11000
|
"$flags$": 0,
|
|
@@ -10736,7 +11017,7 @@ class EdsIconPaper {
|
|
|
10736
11017
|
this.class = '';
|
|
10737
11018
|
}
|
|
10738
11019
|
render() {
|
|
10739
|
-
return hAsync("span", { key: '
|
|
11020
|
+
return hAsync("span", { key: 'a2fd252b8b3050636aeae7308d69ddcaf2d54a4e', class: this.class, innerHTML: paper });
|
|
10740
11021
|
}
|
|
10741
11022
|
static get cmpMeta() { return {
|
|
10742
11023
|
"$flags$": 0,
|
|
@@ -10759,7 +11040,7 @@ class EdsIconPlus {
|
|
|
10759
11040
|
this.class = '';
|
|
10760
11041
|
}
|
|
10761
11042
|
render() {
|
|
10762
|
-
return hAsync("span", { key: '
|
|
11043
|
+
return hAsync("span", { key: '339d03b5782b6acfc41ffa62b4482eb6098bc0b0', class: this.class, innerHTML: plus });
|
|
10763
11044
|
}
|
|
10764
11045
|
static get cmpMeta() { return {
|
|
10765
11046
|
"$flags$": 0,
|
|
@@ -10782,7 +11063,7 @@ class EdsIconPortal {
|
|
|
10782
11063
|
this.class = '';
|
|
10783
11064
|
}
|
|
10784
11065
|
render() {
|
|
10785
|
-
return hAsync("span", { key: '
|
|
11066
|
+
return hAsync("span", { key: 'dc84ec0bf1fdd9d5461d4cf8496f6b0d9658ffb8', class: this.class, innerHTML: portal });
|
|
10786
11067
|
}
|
|
10787
11068
|
static get cmpMeta() { return {
|
|
10788
11069
|
"$flags$": 0,
|
|
@@ -10805,7 +11086,7 @@ class EdsIconPrivate {
|
|
|
10805
11086
|
this.class = '';
|
|
10806
11087
|
}
|
|
10807
11088
|
render() {
|
|
10808
|
-
return hAsync("span", { key: '
|
|
11089
|
+
return hAsync("span", { key: 'eb2ac14ec0564bc1a1133ae099b4e49dffde5f92', class: this.class, innerHTML: privat });
|
|
10809
11090
|
}
|
|
10810
11091
|
static get cmpMeta() { return {
|
|
10811
11092
|
"$flags$": 0,
|
|
@@ -10828,7 +11109,7 @@ class EdsIconPublic {
|
|
|
10828
11109
|
this.class = '';
|
|
10829
11110
|
}
|
|
10830
11111
|
render() {
|
|
10831
|
-
return hAsync("span", { key: '
|
|
11112
|
+
return hAsync("span", { key: 'f8ff53678e0a06d505ac6f19ca79808597a2ef34', class: this.class, innerHTML: pub });
|
|
10832
11113
|
}
|
|
10833
11114
|
static get cmpMeta() { return {
|
|
10834
11115
|
"$flags$": 0,
|
|
@@ -10851,7 +11132,7 @@ class EdsIconSearch {
|
|
|
10851
11132
|
this.class = '';
|
|
10852
11133
|
}
|
|
10853
11134
|
render() {
|
|
10854
|
-
return hAsync("span", { key: '
|
|
11135
|
+
return hAsync("span", { key: '892c0b85f2039ee09a642d6040aa2679b3badfda', class: this.class, innerHTML: search });
|
|
10855
11136
|
}
|
|
10856
11137
|
static get cmpMeta() { return {
|
|
10857
11138
|
"$flags$": 0,
|
|
@@ -10874,7 +11155,7 @@ class EdsIconStar {
|
|
|
10874
11155
|
this.class = '';
|
|
10875
11156
|
}
|
|
10876
11157
|
render() {
|
|
10877
|
-
return hAsync("span", { key: '
|
|
11158
|
+
return hAsync("span", { key: 'c5831907f350c7aa0a0029c69bcb5e8fcd51d221', class: this.class, innerHTML: star });
|
|
10878
11159
|
}
|
|
10879
11160
|
static get cmpMeta() { return {
|
|
10880
11161
|
"$flags$": 0,
|
|
@@ -10897,7 +11178,7 @@ class EdsIconStart {
|
|
|
10897
11178
|
this.class = '';
|
|
10898
11179
|
}
|
|
10899
11180
|
render() {
|
|
10900
|
-
return hAsync("span", { key: '
|
|
11181
|
+
return hAsync("span", { key: '27ab2edbb78b6560a93158cd2e55a42552337694', class: this.class, innerHTML: start });
|
|
10901
11182
|
}
|
|
10902
11183
|
static get cmpMeta() { return {
|
|
10903
11184
|
"$flags$": 0,
|
|
@@ -10920,7 +11201,7 @@ class EdsIconSuccess {
|
|
|
10920
11201
|
this.class = '';
|
|
10921
11202
|
}
|
|
10922
11203
|
render() {
|
|
10923
|
-
return hAsync("span", { key: '
|
|
11204
|
+
return hAsync("span", { key: '6f20d0106096d427556e05b663e3fa133852470e', class: this.class, innerHTML: success });
|
|
10924
11205
|
}
|
|
10925
11206
|
static get cmpMeta() { return {
|
|
10926
11207
|
"$flags$": 0,
|
|
@@ -10943,7 +11224,7 @@ class EdsIconThumbsDown {
|
|
|
10943
11224
|
this.class = '';
|
|
10944
11225
|
}
|
|
10945
11226
|
render() {
|
|
10946
|
-
return hAsync("span", { key: '
|
|
11227
|
+
return hAsync("span", { key: 'accd4312433f1e6e3e1a4833fa12388b9c6ca544', class: this.class, innerHTML: thumbsDown });
|
|
10947
11228
|
}
|
|
10948
11229
|
static get cmpMeta() { return {
|
|
10949
11230
|
"$flags$": 0,
|
|
@@ -10966,7 +11247,7 @@ class EdsIconThumbsUp {
|
|
|
10966
11247
|
this.class = '';
|
|
10967
11248
|
}
|
|
10968
11249
|
render() {
|
|
10969
|
-
return hAsync("span", { key: '
|
|
11250
|
+
return hAsync("span", { key: 'afed8c9954ad497d6ac707b07c6890ea8387f011', class: this.class, innerHTML: thumbsUp });
|
|
10970
11251
|
}
|
|
10971
11252
|
static get cmpMeta() { return {
|
|
10972
11253
|
"$flags$": 0,
|
|
@@ -10989,7 +11270,7 @@ class EdsIconTutorial {
|
|
|
10989
11270
|
this.class = '';
|
|
10990
11271
|
}
|
|
10991
11272
|
render() {
|
|
10992
|
-
return hAsync("span", { key: '
|
|
11273
|
+
return hAsync("span", { key: '1ad94bbcfc46e1e69f89162ccd0a5c5c0eda3245', class: this.class, innerHTML: tutorial });
|
|
10993
11274
|
}
|
|
10994
11275
|
static get cmpMeta() { return {
|
|
10995
11276
|
"$flags$": 0,
|
|
@@ -11012,7 +11293,7 @@ class EdsIconTwitter {
|
|
|
11012
11293
|
this.class = '';
|
|
11013
11294
|
}
|
|
11014
11295
|
render() {
|
|
11015
|
-
return hAsync("span", { key: '
|
|
11296
|
+
return hAsync("span", { key: '5fb5ffd58614e322c3d371662876805aeb88ae45', class: this.class, innerHTML: twitter });
|
|
11016
11297
|
}
|
|
11017
11298
|
static get cmpMeta() { return {
|
|
11018
11299
|
"$flags$": 0,
|
|
@@ -11035,7 +11316,7 @@ class EdsIconUnknown {
|
|
|
11035
11316
|
this.class = '';
|
|
11036
11317
|
}
|
|
11037
11318
|
render() {
|
|
11038
|
-
return hAsync("span", { key: '
|
|
11319
|
+
return hAsync("span", { key: '3784c70a29511c1ef0cab2460186fdb396630df7', class: this.class, innerHTML: unknown });
|
|
11039
11320
|
}
|
|
11040
11321
|
static get cmpMeta() { return {
|
|
11041
11322
|
"$flags$": 0,
|
|
@@ -11058,7 +11339,7 @@ class EdsIconUpdown {
|
|
|
11058
11339
|
this.class = '';
|
|
11059
11340
|
}
|
|
11060
11341
|
render() {
|
|
11061
|
-
return hAsync("span", { key: '
|
|
11342
|
+
return hAsync("span", { key: '3aa681d785398425792073eb6929fb4169b37817', class: this.class, innerHTML: upDonw });
|
|
11062
11343
|
}
|
|
11063
11344
|
static get cmpMeta() { return {
|
|
11064
11345
|
"$flags$": 0,
|
|
@@ -11081,7 +11362,7 @@ class EdsIconUser {
|
|
|
11081
11362
|
this.class = '';
|
|
11082
11363
|
}
|
|
11083
11364
|
render() {
|
|
11084
|
-
return hAsync("span", { key: '
|
|
11365
|
+
return hAsync("span", { key: 'b656d852159d8cbcc0e3593f65938f6181c72ae4', class: this.class, innerHTML: user });
|
|
11085
11366
|
}
|
|
11086
11367
|
static get cmpMeta() { return {
|
|
11087
11368
|
"$flags$": 0,
|
|
@@ -11104,7 +11385,7 @@ class EdsIconView {
|
|
|
11104
11385
|
this.class = '';
|
|
11105
11386
|
}
|
|
11106
11387
|
render() {
|
|
11107
|
-
return hAsync("span", { key: '
|
|
11388
|
+
return hAsync("span", { key: 'f6135c4eb38623a60d68725ce1171e6f8ded4586', class: this.class, innerHTML: view });
|
|
11108
11389
|
}
|
|
11109
11390
|
static get cmpMeta() { return {
|
|
11110
11391
|
"$flags$": 0,
|
|
@@ -11183,7 +11464,7 @@ class EdsIconYoutube {
|
|
|
11183
11464
|
this.class = '';
|
|
11184
11465
|
}
|
|
11185
11466
|
render() {
|
|
11186
|
-
return hAsync("span", { key: '
|
|
11467
|
+
return hAsync("span", { key: '9adf87027690ce28aed73d736ce2d3be6a5245b5', class: this.class, innerHTML: youtube });
|
|
11187
11468
|
}
|
|
11188
11469
|
static get cmpMeta() { return {
|
|
11189
11470
|
"$flags$": 0,
|
|
@@ -11259,10 +11540,10 @@ class EdsImg {
|
|
|
11259
11540
|
imgOpts['loading'] = 'lazy';
|
|
11260
11541
|
imgOpts['decoding'] = 'async';
|
|
11261
11542
|
}
|
|
11262
|
-
return (hAsync("div", { key: '
|
|
11543
|
+
return (hAsync("div", { key: 'c164d1584476f9fb101abb9e1233bed40c782eb9', class: {
|
|
11263
11544
|
'items-center justify-center': true,
|
|
11264
11545
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11265
|
-
} }, hAsync("picture", { key: '
|
|
11546
|
+
} }, 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: {
|
|
11266
11547
|
'effect-opacity object-cover object-center': true,
|
|
11267
11548
|
'opacity-100': this.loaded,
|
|
11268
11549
|
'opacity-0': !this.loaded
|
|
@@ -11344,7 +11625,7 @@ class EdsInput {
|
|
|
11344
11625
|
render() {
|
|
11345
11626
|
const withIcon = !!this.icon;
|
|
11346
11627
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11347
|
-
return (hAsync("div", { key: '
|
|
11628
|
+
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'
|
|
11348
11629
|
? {
|
|
11349
11630
|
min: this.min,
|
|
11350
11631
|
max: this.max,
|
|
@@ -11355,7 +11636,7 @@ class EdsInput {
|
|
|
11355
11636
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11356
11637
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11357
11638
|
${this.error ? 'input-error' : ''}
|
|
11358
|
-
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: '
|
|
11639
|
+
`, "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 }))));
|
|
11359
11640
|
}
|
|
11360
11641
|
get el() { return getElement(this); }
|
|
11361
11642
|
static get watchers() { return {
|
|
@@ -11494,7 +11775,7 @@ class EdsInputField {
|
|
|
11494
11775
|
}
|
|
11495
11776
|
render() {
|
|
11496
11777
|
const inputOpts = Object.assign({ name: this.name, id: this.inputId, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleNativeInput, onChange: this.handleNativeChange, type: this.type, required: this.required, value: this.value, error: this.error, icon: this.icon, checked: this.checked }, (this.type === 'number' ? { min: this.min, max: this.max, step: this.step } : {}));
|
|
11497
|
-
return (hAsync("div", { key: '
|
|
11778
|
+
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' ? ((() => {
|
|
11498
11779
|
var _a, _b, _c;
|
|
11499
11780
|
const rangeProps = {
|
|
11500
11781
|
name: inputOpts.name,
|
|
@@ -11507,7 +11788,7 @@ class EdsInputField {
|
|
|
11507
11788
|
const opt = this.parsedOptions;
|
|
11508
11789
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11509
11790
|
return (hAsync("eds-input-range", Object.assign({}, rangeProps, { min: (_a = opt[0]) === null || _a === void 0 ? void 0 : _a.value, max: (_b = opt[1]) === null || _b === void 0 ? void 0 : _b.value, step: (_c = opt[2]) === null || _c === void 0 ? void 0 : _c.value, value: numberValue })));
|
|
11510
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11791
|
+
})()) : (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 }))));
|
|
11511
11792
|
}
|
|
11512
11793
|
static get delegatesFocus() { return true; }
|
|
11513
11794
|
get hostEl() { return getElement(this); }
|
|
@@ -11559,7 +11840,7 @@ class EdsInputFooter {
|
|
|
11559
11840
|
this.link = undefined;
|
|
11560
11841
|
}
|
|
11561
11842
|
render() {
|
|
11562
|
-
return (hAsync("div", { key: '
|
|
11843
|
+
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))));
|
|
11563
11844
|
}
|
|
11564
11845
|
static get style() { return EdsInputFooterStyle0; }
|
|
11565
11846
|
static get cmpMeta() { return {
|
|
@@ -11590,7 +11871,7 @@ class EdsInputLabel {
|
|
|
11590
11871
|
this.disabled = false;
|
|
11591
11872
|
}
|
|
11592
11873
|
render() {
|
|
11593
|
-
return (hAsync("label", { key: '
|
|
11874
|
+
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")))));
|
|
11594
11875
|
}
|
|
11595
11876
|
static get style() { return EdsInputLabelStyle0; }
|
|
11596
11877
|
static get cmpMeta() { return {
|
|
@@ -11656,7 +11937,7 @@ class EdsInputRange {
|
|
|
11656
11937
|
return this.inputElement;
|
|
11657
11938
|
}
|
|
11658
11939
|
render() {
|
|
11659
|
-
return (hAsync("div", { key: '
|
|
11940
|
+
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)));
|
|
11660
11941
|
}
|
|
11661
11942
|
get el() { return getElement(this); }
|
|
11662
11943
|
static get watchers() { return {
|
|
@@ -11751,7 +12032,7 @@ class EdsInputSearch {
|
|
|
11751
12032
|
return this.inputElement;
|
|
11752
12033
|
}
|
|
11753
12034
|
render() {
|
|
11754
|
-
return (hAsync("div", { key: '
|
|
12035
|
+
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}`,
|
|
11755
12036
|
//onInput={this.onInput}
|
|
11756
12037
|
onChange: this.onChange })));
|
|
11757
12038
|
}
|
|
@@ -11805,12 +12086,12 @@ class EdsInputSelect {
|
|
|
11805
12086
|
const selectId = this.inputId || this.name;
|
|
11806
12087
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11807
12088
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11808
|
-
return (hAsync("div", { key: '
|
|
12089
|
+
return (hAsync("div", { key: '640bbcca727ad0c511238335197bc533869f6229', class: "relative" }, hAsync("select", { key: '75efd5a9c7951fce245a7ee8b89c35d712d06c08', id: selectId, name: this.name, class: {
|
|
11809
12090
|
input: true,
|
|
11810
12091
|
'input-error': this.error,
|
|
11811
12092
|
'px-4': true,
|
|
11812
12093
|
'py-2': true
|
|
11813
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
12094
|
+
}, "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" }))));
|
|
11814
12095
|
}
|
|
11815
12096
|
static get cmpMeta() { return {
|
|
11816
12097
|
"$flags$": 0,
|
|
@@ -12071,7 +12352,7 @@ class EdsLink {
|
|
|
12071
12352
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12072
12353
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12073
12354
|
: '';
|
|
12074
|
-
return (hAsync("a", { key: '
|
|
12355
|
+
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())));
|
|
12075
12356
|
}
|
|
12076
12357
|
get el() { return getElement(this); }
|
|
12077
12358
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12179,7 +12460,7 @@ class EdsLogo {
|
|
|
12179
12460
|
}
|
|
12180
12461
|
render() {
|
|
12181
12462
|
const logoContent = this.getLogo();
|
|
12182
|
-
return (hAsync("a", { key: '
|
|
12463
|
+
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 })));
|
|
12183
12464
|
}
|
|
12184
12465
|
get el() { return getElement(this); }
|
|
12185
12466
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12329,7 +12610,7 @@ class EdsMatomoNotice {
|
|
|
12329
12610
|
}; }
|
|
12330
12611
|
}
|
|
12331
12612
|
|
|
12332
|
-
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-
|
|
12613
|
+
const edsModalCss = ".block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.fixed{position:fixed}.inset-0{inset:0rem}.z-10{z-index:10}.z-50{z-index:50}.z-50{z-index:50}.z-9999991{z-index:9999991}.w-full{width:100%}.min-w-full{min-width:100%}.max-w-full{max-width:100%}.absolute{position:absolute}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-20{padding-top:1.25rem;padding-bottom:1.25rem}.bg-inverse{background-color:var(--white)}.bg-dark{background-color:var(--grey-300)}.rounded-lg{border-radius:16px}.shadow-lg{--tw-shadow:0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.left-1\\/2{left:50%}.left-20{left:1.25rem}.right-20{right:1.25rem}.top-1\\/2{top:50%}.top-0{top:0rem}.left-0{left:0rem}.top-20{top:1.25rem}.bottom-0{bottom:0rem}.bottom-20{bottom:1.25rem}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.border-b-2{border-bottom-width:2px}.border-softer{border-color:rgba(0, 0, 0, .1)}.pb-8{padding-bottom:0.5rem}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.bg-dark{background-color:var(--grey-300)}.bg-strong{background-color:var(--grey-700)}.bg-strongest{background-color:var(--black)}.ml-8{margin-left:0.5rem}.pt-8{padding-top:0.5rem}.bg-opacity-90{opacity:0.9}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}@media (min-width: 750px){.md\\:bottom-20{bottom:1.25rem}.md\\:w-auto{width:auto}.md\\:min-w-\\[500px\\]{width:500px}.md\\:top-20{top:1.25rem}.md\\:top-1\\/2{top:50%}.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:gap-y-12{row-gap:0.75rem}}";
|
|
12333
12614
|
var EdsModalStyle0 = edsModalCss;
|
|
12334
12615
|
|
|
12335
12616
|
/**
|
|
@@ -12454,9 +12735,9 @@ class EdsModal {
|
|
|
12454
12735
|
render() {
|
|
12455
12736
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12456
12737
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12457
|
-
return (hAsync("div", { key: '
|
|
12738
|
+
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
|
|
12458
12739
|
,
|
|
12459
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12740
|
+
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' })))));
|
|
12460
12741
|
}
|
|
12461
12742
|
get el() { return getElement(this); }
|
|
12462
12743
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12547,12 +12828,12 @@ class EdsNps {
|
|
|
12547
12828
|
render() {
|
|
12548
12829
|
const count = this.max - this.min + 1;
|
|
12549
12830
|
//onst fallback = 0;
|
|
12550
|
-
return (hAsync("div", { key: '
|
|
12831
|
+
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) => {
|
|
12551
12832
|
const val = this.min + i;
|
|
12552
12833
|
const isSelected = val === this.selectedValue;
|
|
12553
12834
|
const tabIndex = isSelected ? 0 : -1;
|
|
12554
12835
|
return (hAsync("div", { class: "grid-col-span-1", key: val }, hAsync("eds-button", { tabindex: tabIndex, label: `${val}`, "aria-label": `${val}`, intent: isSelected ? 'primary' : 'ghost', "extra-class": "!block !px-0 w-full", triggerClick: () => this.handleClick(val) })));
|
|
12555
|
-
})), hAsync("div", { key: '
|
|
12836
|
+
})), 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))));
|
|
12556
12837
|
}
|
|
12557
12838
|
get el() { return getElement(this); }
|
|
12558
12839
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12824,7 +13105,7 @@ class EdsPagination {
|
|
|
12824
13105
|
}
|
|
12825
13106
|
render() {
|
|
12826
13107
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12827
|
-
return (hAsync("div", { key: '
|
|
13108
|
+
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) => {
|
|
12828
13109
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12829
13110
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12830
13111
|
}
|
|
@@ -13031,7 +13312,7 @@ class EdsProgressBar {
|
|
|
13031
13312
|
]
|
|
13032
13313
|
.filter(Boolean)
|
|
13033
13314
|
.join(' ');
|
|
13034
|
-
return (hAsync("div", { key: '
|
|
13315
|
+
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, "%"))));
|
|
13035
13316
|
}
|
|
13036
13317
|
static get style() { return EdsProgressBarStyle0; }
|
|
13037
13318
|
static get cmpMeta() { return {
|
|
@@ -13114,7 +13395,7 @@ class EdsRating {
|
|
|
13114
13395
|
this.onSelect(next);
|
|
13115
13396
|
}
|
|
13116
13397
|
render() {
|
|
13117
|
-
return (hAsync("div", { key: '
|
|
13398
|
+
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) => {
|
|
13118
13399
|
const starRating = index + 1;
|
|
13119
13400
|
const isSelected = starRating <= this.selectedRating;
|
|
13120
13401
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -13164,7 +13445,7 @@ class EdsSectionCore {
|
|
|
13164
13445
|
}
|
|
13165
13446
|
render() {
|
|
13166
13447
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13167
|
-
return (hAsync(TagType, { key: '
|
|
13448
|
+
return (hAsync(TagType, { key: 'b27b48854fc7d537c131da2c23850b2b7b9b2368' }, hAsync("eds-section-heading", { key: '7c3575d8c0295e2cd1c70a2748a25aa65d6892e6', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '66526792e818932d8e44ff927638560ce1b40cac' })));
|
|
13168
13449
|
}
|
|
13169
13450
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13170
13451
|
static get cmpMeta() { return {
|
|
@@ -13219,12 +13500,12 @@ class EdsSectionHeading {
|
|
|
13219
13500
|
render() {
|
|
13220
13501
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13221
13502
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13222
|
-
return (hAsync(TagType, { key: '
|
|
13503
|
+
return (hAsync(TagType, { key: 'efba0650ab65807f560c5676ead78b19b94e8b18', class: {
|
|
13223
13504
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13224
13505
|
container: this.withContainer,
|
|
13225
13506
|
'pt-48': this.spacingLarge,
|
|
13226
13507
|
'pt-28': !this.spacingLarge
|
|
13227
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13508
|
+
} }, hAsync(HeadingTag, { key: '50e3a8d81b7fd5af96ef3a1dbb7e5bbacb73ef15', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13228
13509
|
}
|
|
13229
13510
|
static get cmpMeta() { return {
|
|
13230
13511
|
"$flags$": 0,
|
|
@@ -13298,7 +13579,7 @@ class EdsSocialNetworks {
|
|
|
13298
13579
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13299
13580
|
*/
|
|
13300
13581
|
render() {
|
|
13301
|
-
return (hAsync("nav", { key: '
|
|
13582
|
+
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" })))))));
|
|
13302
13583
|
}
|
|
13303
13584
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13304
13585
|
static get cmpMeta() { return {
|
|
@@ -13389,7 +13670,7 @@ class EdsSpinner {
|
|
|
13389
13670
|
alignItems: 'center',
|
|
13390
13671
|
justifyContent: 'center'
|
|
13391
13672
|
};
|
|
13392
|
-
return (hAsync(Host, { key: '
|
|
13673
|
+
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))));
|
|
13393
13674
|
}
|
|
13394
13675
|
static get style() { return EdsSpinnerStyle0; }
|
|
13395
13676
|
static get cmpMeta() { return {
|
|
@@ -13473,7 +13754,7 @@ class EdsSplashScreen {
|
|
|
13473
13754
|
}; }
|
|
13474
13755
|
}
|
|
13475
13756
|
|
|
13476
|
-
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}";
|
|
13757
|
+
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}.eds-steps__title{cursor:pointer}";
|
|
13477
13758
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13478
13759
|
|
|
13479
13760
|
class EdsSteps {
|
|
@@ -13483,9 +13764,26 @@ class EdsSteps {
|
|
|
13483
13764
|
this.finished = createEvent(this, "finished", 7);
|
|
13484
13765
|
this.next = createEvent(this, "next", 7);
|
|
13485
13766
|
this.back = createEvent(this, "back", 7);
|
|
13767
|
+
this.handleTitleClick = (index) => {
|
|
13768
|
+
// 1) If clicking the current title, keep your existing toggle behavior
|
|
13769
|
+
if (index === this.activeStep) {
|
|
13770
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13771
|
+
this.step.emit(this.activeStep);
|
|
13772
|
+
return;
|
|
13773
|
+
}
|
|
13774
|
+
// 2) In linear mode, block jumping *forward* when current step is gated
|
|
13775
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13776
|
+
if (forwardBlocked) {
|
|
13777
|
+
return;
|
|
13778
|
+
} // do nothing when Next/Finish would be disabled
|
|
13779
|
+
// 3) Allow jumping back or forward when not gated
|
|
13780
|
+
this.activeStep = index;
|
|
13781
|
+
this.step.emit(this.activeStep);
|
|
13782
|
+
};
|
|
13486
13783
|
this.handleNext = () => {
|
|
13487
13784
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13488
13785
|
if (this.activeStep >= lastIndex) {
|
|
13786
|
+
this.activeStep = -1;
|
|
13489
13787
|
this.finished.emit();
|
|
13490
13788
|
return;
|
|
13491
13789
|
}
|
|
@@ -13555,9 +13853,23 @@ class EdsSteps {
|
|
|
13555
13853
|
? !!this.disableNext[index] // per-step
|
|
13556
13854
|
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13557
13855
|
}
|
|
13558
|
-
/** Render the semantic heading element */
|
|
13559
|
-
renderHeading(title) {
|
|
13856
|
+
/** Render the semantic heading element as a clickable control only in linear mode */
|
|
13857
|
+
renderHeading(title, index) {
|
|
13560
13858
|
const Tag = this.headingLevel;
|
|
13859
|
+
const isOpen = this.activeStep === index;
|
|
13860
|
+
if (this.type === 'linear') {
|
|
13861
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledFor(this.activeStep);
|
|
13862
|
+
const onKey = (e) => {
|
|
13863
|
+
if (forwardBlocked) {
|
|
13864
|
+
return;
|
|
13865
|
+
}
|
|
13866
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
13867
|
+
e.preventDefault();
|
|
13868
|
+
this.handleTitleClick(index);
|
|
13869
|
+
}
|
|
13870
|
+
};
|
|
13871
|
+
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));
|
|
13872
|
+
}
|
|
13561
13873
|
return hAsync(Tag, null, title);
|
|
13562
13874
|
}
|
|
13563
13875
|
render() {
|
|
@@ -13565,11 +13877,11 @@ class EdsSteps {
|
|
|
13565
13877
|
if (this.type === 'linear') {
|
|
13566
13878
|
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13567
13879
|
const isLast = index === steps.length - 1;
|
|
13568
|
-
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16" }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13880
|
+
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13569
13881
|
})));
|
|
13570
13882
|
}
|
|
13571
13883
|
// Static: no navigation buttons
|
|
13572
|
-
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), hAsync("div", { class: "content" }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13884
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13573
13885
|
}
|
|
13574
13886
|
get el() { return getElement(this); }
|
|
13575
13887
|
static get watchers() { return {
|
|
@@ -13595,7 +13907,7 @@ class EdsSteps {
|
|
|
13595
13907
|
}; }
|
|
13596
13908
|
}
|
|
13597
13909
|
|
|
13598
|
-
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}";
|
|
13910
|
+
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}.eds-steps__title{cursor:pointer}";
|
|
13599
13911
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13600
13912
|
|
|
13601
13913
|
class EdsStepsV2 {
|
|
@@ -13605,14 +13917,29 @@ class EdsStepsV2 {
|
|
|
13605
13917
|
this.finished = createEvent(this, "finished", 7);
|
|
13606
13918
|
this.next = createEvent(this, "next", 7);
|
|
13607
13919
|
this.back = createEvent(this, "back", 7);
|
|
13920
|
+
this.handleTitleClick = (index) => {
|
|
13921
|
+
// If clicking the same title, keep your existing toggle behavior
|
|
13922
|
+
if (index === this.activeStep) {
|
|
13923
|
+
this.activeStep = this.activeStep === index ? -1 : index;
|
|
13924
|
+
this.step.emit(this.activeStep);
|
|
13925
|
+
return;
|
|
13926
|
+
}
|
|
13927
|
+
// Block *forward* jumps when progression is gated by disableNext (boolean)
|
|
13928
|
+
const forwardBlocked = this.type === 'linear' && index > this.activeStep && this.isNextDisabledForCurrent();
|
|
13929
|
+
if (forwardBlocked) {
|
|
13930
|
+
return;
|
|
13931
|
+
}
|
|
13932
|
+
// Allow back (or forward when not gated)
|
|
13933
|
+
this.activeStep = index;
|
|
13934
|
+
this.step.emit(this.activeStep);
|
|
13935
|
+
};
|
|
13608
13936
|
this.handleNext = () => {
|
|
13609
13937
|
const lastIndex = this.parsedSteps.length - 1;
|
|
13610
13938
|
if (this.activeStep >= lastIndex) {
|
|
13611
|
-
// Finish
|
|
13612
13939
|
this.finished.emit();
|
|
13940
|
+
this.activeStep = -1; // collapse last step
|
|
13613
13941
|
return;
|
|
13614
13942
|
}
|
|
13615
|
-
// Next
|
|
13616
13943
|
const target = this.activeStep + 1;
|
|
13617
13944
|
this.next.emit(target);
|
|
13618
13945
|
if (!this.disableNext) {
|
|
@@ -13683,16 +14010,33 @@ class EdsStepsV2 {
|
|
|
13683
14010
|
get parsedSteps() {
|
|
13684
14011
|
return parseData(this.steps);
|
|
13685
14012
|
}
|
|
14013
|
+
isNextDisabledForCurrent() {
|
|
14014
|
+
return !!this.disableNext;
|
|
14015
|
+
}
|
|
13686
14016
|
/** Render the semantic heading element */
|
|
13687
|
-
renderHeading(title) {
|
|
14017
|
+
renderHeading(title, index) {
|
|
13688
14018
|
const Tag = this.headingLevel;
|
|
13689
|
-
|
|
14019
|
+
if (this.type === 'linear') {
|
|
14020
|
+
const isOpen = this.activeStep === index;
|
|
14021
|
+
const forwardBlocked = index > this.activeStep && this.isNextDisabledForCurrent();
|
|
14022
|
+
const onKey = (e) => {
|
|
14023
|
+
if (forwardBlocked) {
|
|
14024
|
+
return;
|
|
14025
|
+
}
|
|
14026
|
+
if (e.key === 'Enter' || e.key === ' ') {
|
|
14027
|
+
e.preventDefault();
|
|
14028
|
+
this.handleTitleClick(index);
|
|
14029
|
+
}
|
|
14030
|
+
};
|
|
14031
|
+
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));
|
|
14032
|
+
}
|
|
14033
|
+
return hAsync(Tag, { class: "eds-steps__title" }, title);
|
|
13690
14034
|
}
|
|
13691
14035
|
render() {
|
|
13692
14036
|
const steps = this.parsedSteps;
|
|
13693
|
-
return (hAsync("div", { key: '
|
|
14037
|
+
return (hAsync("div", { key: 'b486aa34dfab4902cd6569cc2ce228104ca536cd', class: this.articleClasses() }, this.imageSrc ? (hAsync("div", { class: "w-full mb-12 rounded-t-lg overflow-hidden border-2" }, hAsync("eds-img", { src: this.imageSrc, width: this.imageWidth, "with-bg": "true", "lazy-load": "true", alt: "Step illustration" }))) : (this.message && (hAsync("div", { class: "w-full bg-[#00A595] rounded-t-lg border-2" }, hAsync("div", { class: "p-24" }, hAsync("span", { class: "text-inverse f-heading-04 " }, this.message))))), hAsync("div", { key: 'e2a928ecb67caed4885c9e364621b422249610f1', class: "pb-20 px-8" }, this.type === 'linear' ? (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: index === 0 ? 'step' : 'step space-y-16', key: index }, this.renderHeading(step.title, index), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: index === steps.length - 1 ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.disableNext, size: "small", class: "ml-8" }))))))))) : (
|
|
13694
14038
|
// Static mode: show all steps with their content.
|
|
13695
|
-
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title), hAsync("div", { class: "content" }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
14039
|
+
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title, index), hAsync("div", { class: "content", id: `eds-step-panel-${index}` }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
13696
14040
|
}
|
|
13697
14041
|
get el() { return getElement(this); }
|
|
13698
14042
|
static get watchers() { return {
|
|
@@ -13772,11 +14116,11 @@ class EdsSwitch {
|
|
|
13772
14116
|
: this.labelOff
|
|
13773
14117
|
: 'Toggle switch'
|
|
13774
14118
|
: undefined;
|
|
13775
|
-
return (hAsync("div", { key: '
|
|
14119
|
+
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: {
|
|
13776
14120
|
switch: true,
|
|
13777
14121
|
'switch--checked': this.checked,
|
|
13778
14122
|
'switch--disabled': this.disabled
|
|
13779
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
14123
|
+
}, 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))));
|
|
13780
14124
|
}
|
|
13781
14125
|
get el() { return getElement(this); }
|
|
13782
14126
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -14030,7 +14374,7 @@ class EdsTable {
|
|
|
14030
14374
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
14031
14375
|
const paginatedRows = this.getPaginatedRows();
|
|
14032
14376
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
14033
|
-
return (hAsync("div", { key: '
|
|
14377
|
+
return (hAsync("div", { key: '0c986dec22a52676b110fad1f7f82ef792da796e' }, this.searchEnabled && (hAsync("div", { key: '855c5c3d6c2b86e75a210c0296524bc8029e37f2' }, hAsync("eds-input-field", { key: 1, icon: "search", name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), hAsync("div", { key: '62b18340bbf992dba888c2d24ff306ada8a1a985', class: "mt-20" }, hAsync("table", { key: '656dd0dd7f99611c2bd9beea4cd1f37f57da1384', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: '1278ea89f588aa52c215c32bcc03c424e4501fed' }, hAsync("tr", { key: '186e6ac48859dd9f7cbf8c4f4fb5f6bfddfd4d34', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14034
14378
|
var _a;
|
|
14035
14379
|
if (col === 'actions') {
|
|
14036
14380
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -14039,7 +14383,7 @@ class EdsTable {
|
|
|
14039
14383
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
14040
14384
|
}
|
|
14041
14385
|
return null;
|
|
14042
|
-
}))), hAsync("tbody", { key: '
|
|
14386
|
+
}))), hAsync("tbody", { key: 'b27bd372efe64469d2a5001dc6d5b464eb419217' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
14043
14387
|
var _a;
|
|
14044
14388
|
if (col === 'actions') {
|
|
14045
14389
|
return (hAsync("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, hAsync("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
@@ -14054,7 +14398,7 @@ class EdsTable {
|
|
|
14054
14398
|
return (hAsync("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[col], col)));
|
|
14055
14399
|
}
|
|
14056
14400
|
return null;
|
|
14057
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14401
|
+
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: 'd442153f48c85c6de1a0752d1348d8814811faed', class: "mt-20" }, hAsync("eds-pagination", { key: '4c48c96eacb112002b0110e85dce0dab94350dfb', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
14058
14402
|
}
|
|
14059
14403
|
get hostEl() { return getElement(this); }
|
|
14060
14404
|
static get watchers() { return {
|
|
@@ -14265,12 +14609,12 @@ class EdsTabs {
|
|
|
14265
14609
|
}
|
|
14266
14610
|
}
|
|
14267
14611
|
render() {
|
|
14268
|
-
return (hAsync("div", { key: '
|
|
14612
|
+
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) => {
|
|
14269
14613
|
const TabComponent = 'button';
|
|
14270
14614
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14271
14615
|
const isActive = index === this.activeIndex;
|
|
14272
14616
|
return (hAsync(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
|
|
14273
|
-
}))), hAsync("div", { key: '
|
|
14617
|
+
}))), 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}` })))))));
|
|
14274
14618
|
}
|
|
14275
14619
|
get el() { return getElement(this); }
|
|
14276
14620
|
static get watchers() { return {
|
|
@@ -14333,7 +14677,7 @@ class EdsTag {
|
|
|
14333
14677
|
}
|
|
14334
14678
|
render() {
|
|
14335
14679
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14336
|
-
return hAsync("span", { key: '
|
|
14680
|
+
return hAsync("span", { key: '6a229183bdaf96687e1f71ca3938a22c1259546e', class: classes }, this.label);
|
|
14337
14681
|
}
|
|
14338
14682
|
static get style() { return EdsTagStyle0; }
|
|
14339
14683
|
static get cmpMeta() { return {
|
|
@@ -14395,7 +14739,7 @@ class EdsTimeline {
|
|
|
14395
14739
|
}
|
|
14396
14740
|
}
|
|
14397
14741
|
render() {
|
|
14398
|
-
return (hAsync("div", { key: '
|
|
14742
|
+
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
|
|
14399
14743
|
? [{ label: 'completed', style: 'accent' }]
|
|
14400
14744
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), hAsync("div", { class: "flex items-center justify-center relative" }, event.completed ? (hAsync("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (hAsync("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), hAsync("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (hAsync("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
14401
14745
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14569,7 +14913,7 @@ class EdsToastManager {
|
|
|
14569
14913
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14570
14914
|
}
|
|
14571
14915
|
render() {
|
|
14572
|
-
return (hAsync("div", { key: '
|
|
14916
|
+
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) }))))));
|
|
14573
14917
|
}
|
|
14574
14918
|
get hostElement() { return getElement(this); }
|
|
14575
14919
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14608,7 +14952,7 @@ class EdsTooltip {
|
|
|
14608
14952
|
}
|
|
14609
14953
|
render() {
|
|
14610
14954
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14611
|
-
return (hAsync("div", { key: '
|
|
14955
|
+
return (hAsync("div", { key: '67fbc86d5f9ecfde1d5a0a588f4fb8be2050af0b', class: "relative w-full inline-block group" }, hAsync("slot", { key: 'b304174862dd4d5ca93418ecb0d2b4fc2c80427c' }), hAsync("div", { key: 'fcd874d53d0e17b7d3be2c6552571f82fbde6506', class: `absolute ${positionClass}
|
|
14612
14956
|
rounded-xs bg-strongest text-inverse
|
|
14613
14957
|
f-ui-03-light pointer-events-none
|
|
14614
14958
|
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -14672,7 +15016,7 @@ class EdsTrl {
|
|
|
14672
15016
|
Application: { format: 'code' },
|
|
14673
15017
|
'Current TRL Stage': { format: 'text' }
|
|
14674
15018
|
};
|
|
14675
|
-
return (hAsync("div", { key: '
|
|
15019
|
+
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" })));
|
|
14676
15020
|
}
|
|
14677
15021
|
static get cmpMeta() { return {
|
|
14678
15022
|
"$flags$": 0,
|
|
@@ -14703,7 +15047,9 @@ class EdsUser {
|
|
|
14703
15047
|
};
|
|
14704
15048
|
this.user = undefined;
|
|
14705
15049
|
this.intent = 'tertiary';
|
|
15050
|
+
this.dropdownLabel = 'Account';
|
|
14706
15051
|
this.expanded = false;
|
|
15052
|
+
this.shortMode = false;
|
|
14707
15053
|
}
|
|
14708
15054
|
/**
|
|
14709
15055
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14727,10 +15073,15 @@ class EdsUser {
|
|
|
14727
15073
|
const initials = `${((_a = user.given_name) === null || _a === void 0 ? void 0 : _a.charAt(0)) || ''}${((_b = user.family_name) === null || _b === void 0 ? void 0 : _b.charAt(0)) || ''}`.toUpperCase();
|
|
14728
15074
|
return initials || ((_d = (_c = user.name) === null || _c === void 0 ? void 0 : _c.charAt(0)) === null || _d === void 0 ? void 0 : _d.toUpperCase()) || '';
|
|
14729
15075
|
}
|
|
15076
|
+
async closeDropdown() {
|
|
15077
|
+
var _a;
|
|
15078
|
+
await ((_a = this.dropdownEl) === null || _a === void 0 ? void 0 : _a.close());
|
|
15079
|
+
this.expanded = false;
|
|
15080
|
+
}
|
|
14730
15081
|
render() {
|
|
14731
15082
|
const user = this.parsedUser;
|
|
14732
15083
|
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
14733
|
-
return (hAsync("div", { key: '
|
|
15084
|
+
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' })))))));
|
|
14734
15085
|
}
|
|
14735
15086
|
get hostEl() { return getElement(this); }
|
|
14736
15087
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14740,7 +15091,10 @@ class EdsUser {
|
|
|
14740
15091
|
"$members$": {
|
|
14741
15092
|
"user": [1025],
|
|
14742
15093
|
"intent": [1],
|
|
14743
|
-
"
|
|
15094
|
+
"dropdownLabel": [1, "dropdown-label"],
|
|
15095
|
+
"expanded": [32],
|
|
15096
|
+
"shortMode": [32],
|
|
15097
|
+
"closeDropdown": [64]
|
|
14744
15098
|
},
|
|
14745
15099
|
"$listeners$": undefined,
|
|
14746
15100
|
"$lazyBundleId$": "-",
|
|
@@ -14783,7 +15137,7 @@ class GradientPrimaryPalette {
|
|
|
14783
15137
|
];
|
|
14784
15138
|
}
|
|
14785
15139
|
render() {
|
|
14786
|
-
return (hAsync("ul", { key: '
|
|
15140
|
+
return (hAsync("ul", { key: 'f3653cb822e88d5914f12a84342603ad3dfb6af0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14787
15141
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14788
15142
|
} }, this.colors.map((color) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { class: "effect-height flex items-center justify-between p-16" }, hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.rgb), hAsync("span", { class: "f-body-02 w-full" }, color.cmyk), hAsync("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { class: "grid" }, hAsync("span", { class: "f-body-02" }, color.pantoneC), hAsync("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
14789
15143
|
}
|
|
@@ -14856,19 +15210,19 @@ class GradientSecondaryPalette {
|
|
|
14856
15210
|
];
|
|
14857
15211
|
}
|
|
14858
15212
|
render() {
|
|
14859
|
-
return (hAsync("div", { key: '
|
|
15213
|
+
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: {
|
|
14860
15214
|
background: this.colors[0].background
|
|
14861
|
-
} }, hAsync("div", { key: '
|
|
15215
|
+
} }, 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: {
|
|
14862
15216
|
background: this.colors[1].background
|
|
14863
|
-
} }, hAsync("div", { key: '
|
|
15217
|
+
} }, 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: {
|
|
14864
15218
|
background: this.colors[2].background
|
|
14865
|
-
} }, hAsync("div", { key: '
|
|
15219
|
+
} }, 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: {
|
|
14866
15220
|
background: this.colors[3].background
|
|
14867
|
-
} }, hAsync("div", { key: '
|
|
15221
|
+
} }, 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: {
|
|
14868
15222
|
background: this.colors[4].background
|
|
14869
|
-
} }, hAsync("div", { key: '
|
|
15223
|
+
} }, 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: {
|
|
14870
15224
|
background: this.colors[5].background
|
|
14871
|
-
} }, hAsync("div", { key: '
|
|
15225
|
+
} }, 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)))))));
|
|
14872
15226
|
}
|
|
14873
15227
|
static get cmpMeta() { return {
|
|
14874
15228
|
"$flags$": 0,
|
|
@@ -14931,11 +15285,11 @@ class GradientSupportPalette {
|
|
|
14931
15285
|
];
|
|
14932
15286
|
}
|
|
14933
15287
|
render() {
|
|
14934
|
-
return (hAsync("ul", { key: '
|
|
15288
|
+
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: {
|
|
14935
15289
|
background: this.colors[2].background
|
|
14936
|
-
} }, hAsync("div", { key: '
|
|
15290
|
+
} }, 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: {
|
|
14937
15291
|
background: this.colors[3].background
|
|
14938
|
-
} }, hAsync("div", { key: '
|
|
15292
|
+
} }, 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'))))));
|
|
14939
15293
|
}
|
|
14940
15294
|
static get cmpMeta() { return {
|
|
14941
15295
|
"$flags$": 0,
|
|
@@ -14989,7 +15343,7 @@ class IncorrectUseOfColors {
|
|
|
14989
15343
|
registerInstance(this, hostRef);
|
|
14990
15344
|
}
|
|
14991
15345
|
render() {
|
|
14992
|
-
return (hAsync("div", { key: '
|
|
15346
|
+
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 } })))))))));
|
|
14993
15347
|
}
|
|
14994
15348
|
static get cmpMeta() { return {
|
|
14995
15349
|
"$flags$": 0,
|
|
@@ -15012,7 +15366,7 @@ class LogoSpace {
|
|
|
15012
15366
|
registerInstance(this, hostRef);
|
|
15013
15367
|
}
|
|
15014
15368
|
render() {
|
|
15015
|
-
return (hAsync("div", { key: '
|
|
15369
|
+
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" }))));
|
|
15016
15370
|
}
|
|
15017
15371
|
static get style() { return LogoSpaceStyle0; }
|
|
15018
15372
|
static get cmpMeta() { return {
|
|
@@ -15036,7 +15390,7 @@ class LogoVariationsHorizontal {
|
|
|
15036
15390
|
registerInstance(this, hostRef);
|
|
15037
15391
|
}
|
|
15038
15392
|
render() {
|
|
15039
|
-
return (hAsync("div", { key: '
|
|
15393
|
+
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: "#" }))))));
|
|
15040
15394
|
}
|
|
15041
15395
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
15042
15396
|
static get cmpMeta() { return {
|
|
@@ -15068,7 +15422,7 @@ class LogoVariationsTabs {
|
|
|
15068
15422
|
}
|
|
15069
15423
|
}
|
|
15070
15424
|
render() {
|
|
15071
|
-
return hAsync("div", { key: '
|
|
15425
|
+
return hAsync("div", { key: '84eb012e0b54780f60d478863ce3561d48ce85b1', class: "container" }, this.renderContent());
|
|
15072
15426
|
}
|
|
15073
15427
|
static get cmpMeta() { return {
|
|
15074
15428
|
"$flags$": 0,
|
|
@@ -15095,7 +15449,7 @@ class LogoVariationsVertical {
|
|
|
15095
15449
|
this.type = undefined;
|
|
15096
15450
|
}
|
|
15097
15451
|
render() {
|
|
15098
|
-
return (hAsync("div", { key: '
|
|
15452
|
+
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: "#" }))))));
|
|
15099
15453
|
}
|
|
15100
15454
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15101
15455
|
static get cmpMeta() { return {
|
|
@@ -15122,7 +15476,7 @@ class LogoWrongUsage {
|
|
|
15122
15476
|
registerInstance(this, hostRef);
|
|
15123
15477
|
}
|
|
15124
15478
|
render() {
|
|
15125
|
-
return (hAsync("div", { key: '
|
|
15479
|
+
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"))))));
|
|
15126
15480
|
}
|
|
15127
15481
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15128
15482
|
static get cmpMeta() { return {
|
|
@@ -15166,7 +15520,7 @@ class SvgRepository {
|
|
|
15166
15520
|
icon: { format: 'svg' },
|
|
15167
15521
|
name: { format: 'bold' }
|
|
15168
15522
|
};
|
|
15169
|
-
return (hAsync("div", { key: '
|
|
15523
|
+
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 })));
|
|
15170
15524
|
}
|
|
15171
15525
|
get hostEl() { return getElement(this); }
|
|
15172
15526
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15423,7 +15777,7 @@ class TokenList {
|
|
|
15423
15777
|
render() {
|
|
15424
15778
|
// Check if `show` prop is provided; if not, display all sections
|
|
15425
15779
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15426
|
-
return (hAsync("section", { key: '
|
|
15780
|
+
return (hAsync("section", { key: 'c8634946d5cd2813e8ed6eb3ee7a5071a8e80449', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15427
15781
|
// Only render sections that exist in `colors`
|
|
15428
15782
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15429
15783
|
}
|
|
@@ -15456,7 +15810,7 @@ class TokenRadii {
|
|
|
15456
15810
|
registerInstance(this, hostRef);
|
|
15457
15811
|
}
|
|
15458
15812
|
render() {
|
|
15459
|
-
return (hAsync("section", { key: '
|
|
15813
|
+
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" }))))))));
|
|
15460
15814
|
}
|
|
15461
15815
|
static get cmpMeta() { return {
|
|
15462
15816
|
"$flags$": 0,
|
|
@@ -15485,7 +15839,7 @@ class TokenRatios {
|
|
|
15485
15839
|
registerInstance(this, hostRef);
|
|
15486
15840
|
}
|
|
15487
15841
|
render() {
|
|
15488
|
-
return (hAsync("section", { key: '
|
|
15842
|
+
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: {
|
|
15489
15843
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15490
15844
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15491
15845
|
maxWidth: '300px'
|
|
@@ -15527,7 +15881,7 @@ class TokenShadows {
|
|
|
15527
15881
|
registerInstance(this, hostRef);
|
|
15528
15882
|
}
|
|
15529
15883
|
render() {
|
|
15530
|
-
return (hAsync("section", { key: '
|
|
15884
|
+
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]" })))))))));
|
|
15531
15885
|
}
|
|
15532
15886
|
static get cmpMeta() { return {
|
|
15533
15887
|
"$flags$": 0,
|
|
@@ -15547,7 +15901,7 @@ class TokenSpacing {
|
|
|
15547
15901
|
registerInstance(this, hostRef);
|
|
15548
15902
|
}
|
|
15549
15903
|
render() {
|
|
15550
|
-
return (hAsync("div", { key: '
|
|
15904
|
+
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")))))));
|
|
15551
15905
|
}
|
|
15552
15906
|
static get cmpMeta() { return {
|
|
15553
15907
|
"$flags$": 0,
|
|
@@ -15765,7 +16119,7 @@ class TokenTypography {
|
|
|
15765
16119
|
registerInstance(this, hostRef);
|
|
15766
16120
|
}
|
|
15767
16121
|
render() {
|
|
15768
|
-
return (hAsync("section", { key: '
|
|
16122
|
+
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)
|
|
15769
16123
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15770
16124
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (hAsync("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, hAsync("div", { class: "mr-auto hidden lg:block", style: {
|
|
15771
16125
|
fontFamily: typography.families.sans,
|
|
@@ -15824,6 +16178,7 @@ registerComponents([
|
|
|
15824
16178
|
EdsFrame,
|
|
15825
16179
|
EdsFullscreenMenu,
|
|
15826
16180
|
EdsGauge,
|
|
16181
|
+
EdsGlobalSearch,
|
|
15827
16182
|
EdsHeader,
|
|
15828
16183
|
EdsIconArrowDiagonal,
|
|
15829
16184
|
EdsIconArrowRight,
|