@ebrains/components 2.1.0 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +3 -5
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/download-9d17d025.js +20 -0
- package/dist/cjs/{eds-accordion_33.cjs.entry.js → eds-accordion_34.cjs.entry.js} +176 -92
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-footer.cjs.entry.js +2 -4
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +8 -3
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-download.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-draft.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-edit.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-external.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-start.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-view.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +2 -2
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-social-networks.cjs.entry.js +2 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-0249a32e.js +6 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +3 -19
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -0
- package/dist/collection/components/eds-icons/eds-icon-download/eds-icon-download.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-start/eds-icon-start.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-view/eds-icon-view.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-nps/eds-nps.js +4 -4
- package/dist/collection/components/eds-pagination/eds-pagination.css +12 -0
- package/dist/collection/components/eds-pagination/eds-pagination.js +2 -2
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +2 -2
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.css +4 -0
- package/dist/collection/components/eds-table/eds-table.js +8 -6
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +5 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +2 -2
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/functional/overview.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-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +7 -6
- package/dist/collection/shared-ui/eds-form/eds-form.css +72 -0
- package/dist/collection/shared-ui/eds-form/eds-form.js +87 -4
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +32 -3
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +50 -16
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +20 -8
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -20
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +6 -7
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +136 -92
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +234 -40
- package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +71 -7
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +44 -33
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +195 -19
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +65 -4
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +35 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/formValidators.js +4 -3
- package/dist/components/components-section.js +3 -5
- package/dist/components/components.css +0 -3
- 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/download.js +18 -0
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -4
- package/dist/components/eds-form.js +26 -8
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +8 -3
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-download.d.ts +11 -0
- package/dist/components/eds-icon-download.js +33 -0
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-external.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-start.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-view.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-nps2.js +4 -4
- package/dist/components/eds-pagination2.js +3 -3
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +2 -2
- 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 +2 -4
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +35 -13
- package/dist/components/eds-steps2.js +54 -35
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +36 -28
- 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-tooltip.js +1 -50
- package/dist/components/eds-tooltip2.js +52 -0
- package/dist/components/eds-trl.js +33 -27
- package/dist/components/eds-user.js +10 -2
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +31 -25
- 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-0452fe52.entry.js +1 -0
- package/dist/components/p-04f288b1.entry.js +1 -0
- package/dist/components/p-06951aa3.entry.js +1 -0
- package/dist/components/p-0da7d1c9.js +1 -0
- package/dist/components/p-101392d0.entry.js +1 -0
- package/dist/components/p-171f8e6b.entry.js +1 -0
- package/dist/components/{p-d95d7353.entry.js → p-1b032aa8.entry.js} +1 -1
- package/dist/components/p-28ec52a7.entry.js +1 -0
- package/dist/components/p-2f712656.entry.js +1 -0
- package/dist/components/p-3097c321.entry.js +1 -0
- package/dist/components/p-36db7db0.entry.js +1 -0
- package/dist/components/p-38b0ea8d.entry.js +1 -0
- package/dist/components/p-3b551ade.entry.js +9 -0
- package/dist/components/p-3fa4a703.entry.js +1 -0
- package/dist/components/p-3fa54526.entry.js +1 -0
- package/dist/components/p-42680319.entry.js +1 -0
- package/dist/components/{p-2ef4dd11.entry.js → p-4c618a35.entry.js} +1 -1
- package/dist/components/p-4d207d0e.entry.js +1 -0
- package/dist/components/p-4db384d9.entry.js +1 -0
- package/dist/components/{p-e210ddbb.entry.js → p-50d7eed9.entry.js} +1 -1
- package/dist/components/{p-5f348b0e.entry.js → p-5479e43b.entry.js} +1 -1
- package/dist/components/{p-8627afc0.entry.js → p-58c8c0d7.entry.js} +1 -1
- package/dist/components/p-5a88cdc2.entry.js +1 -0
- package/dist/components/p-5b574bb2.entry.js +1 -0
- package/dist/components/p-5ec9fc29.entry.js +1 -0
- package/dist/components/p-5f350866.entry.js +1 -0
- package/dist/components/p-5ff10b6f.entry.js +1 -0
- package/dist/components/p-6420754e.entry.js +1 -0
- package/dist/components/p-68a2cd95.entry.js +1 -0
- package/dist/components/{p-706a106c.entry.js → p-6a2d1e11.entry.js} +1 -1
- package/dist/components/{p-e5892379.entry.js → p-7032a73b.entry.js} +1 -1
- package/dist/components/p-7272628d.entry.js +1 -0
- package/dist/components/p-78c348e2.entry.js +1 -0
- package/dist/components/p-870001ee.entry.js +1 -0
- package/dist/components/p-88eeaeca.entry.js +1 -0
- package/dist/components/p-8b7910d2.entry.js +1 -0
- package/dist/components/{p-2e0c3fc4.entry.js → p-8eced026.entry.js} +1 -1
- package/dist/components/{p-b88a2267.entry.js → p-8edd07db.entry.js} +1 -1
- package/dist/components/p-8ef68d8a.entry.js +1 -0
- package/dist/components/p-8fb1eb43.entry.js +1 -0
- package/dist/components/{p-1d18106d.entry.js → p-94a223ec.entry.js} +1 -1
- package/dist/components/{p-b9a1aba3.entry.js → p-a5fd4fc9.entry.js} +1 -1
- package/dist/components/p-a6586448.entry.js +1 -0
- package/dist/components/p-ad7d603b.entry.js +1 -0
- package/dist/components/p-b24ef7f7.entry.js +1 -0
- package/dist/components/p-baa2df0b.entry.js +1 -0
- package/dist/components/p-bfe9d934.entry.js +1 -0
- package/dist/components/p-c1943b8f.entry.js +1 -0
- package/dist/components/{p-7a3f2576.entry.js → p-c66f4dd8.entry.js} +1 -1
- package/dist/components/{p-743f9f8f.entry.js → p-d3391236.entry.js} +1 -1
- package/dist/components/p-da0e9a75.entry.js +1 -0
- package/dist/components/p-dbe11048.entry.js +1 -0
- package/dist/components/{p-4c84fcf4.entry.js → p-dd28ab38.entry.js} +1 -1
- package/dist/components/p-e42ac312.entry.js +1 -0
- package/dist/components/{p-9f0a34b4.entry.js → p-e6c3f38c.entry.js} +1 -1
- package/dist/components/p-e7c37e5b.entry.js +1 -0
- package/dist/components/p-e9cd3c4b.entry.js +1 -0
- package/dist/components/p-ebd59113.entry.js +1 -0
- package/dist/components/p-f092b706.entry.js +1 -0
- package/dist/components/p-f29e7506.entry.js +1 -0
- package/dist/components/p-fc099d59.entry.js +1 -0
- package/dist/components/p-fda3da92.entry.js +1 -0
- package/dist/components/{p-67ec46b4.entry.js → p-ff902c98.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 +32 -42
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +3 -5
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/download-47746956.js +18 -0
- package/dist/esm/{eds-accordion_33.entry.js → eds-accordion_34.entry.js} +176 -93
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-footer.entry.js +2 -4
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-fullscreen-menu.entry.js +8 -3
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-download.entry.js +14 -0
- package/dist/esm/eds-icon-draft.entry.js +1 -1
- package/dist/esm/eds-icon-edit.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-external.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-start.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-view.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +2 -2
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-social-networks.entry.js +2 -4
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-e84b871c.js +6 -6
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +2 -18
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +281 -189
- package/dist/hydrate/index.mjs +281 -189
- package/dist/types/components/eds-icons/eds-icon-download/eds-icon-download.d.ts +10 -0
- package/dist/types/components/eds-table/eds-table.d.ts +20 -4
- package/dist/types/components.d.ts +288 -29
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -2
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +17 -0
- package/dist/types/shared-ui/eds-form/eds-form.stories.d.ts +19 -0
- package/dist/types/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.d.ts +44 -13
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -3
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +0 -2
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-steps/eds-steps.d.ts +72 -24
- package/dist/types/shared-ui/eds-steps/eds-steps.stories.d.ts +58 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +42 -19
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +33 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +5 -0
- package/package.json +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -38
- package/dist/components/p-05654483.entry.js +0 -1
- package/dist/components/p-09079c5c.entry.js +0 -1
- package/dist/components/p-10997947.entry.js +0 -1
- package/dist/components/p-1ab1ea29.entry.js +0 -1
- package/dist/components/p-1bcf743d.entry.js +0 -1
- package/dist/components/p-3360e1e2.entry.js +0 -1
- package/dist/components/p-38bc21e9.entry.js +0 -1
- package/dist/components/p-3b29e0fd.entry.js +0 -1
- package/dist/components/p-42457a0f.entry.js +0 -1
- package/dist/components/p-4a6a72db.entry.js +0 -1
- package/dist/components/p-4b33909d.entry.js +0 -1
- package/dist/components/p-4bf4bc93.entry.js +0 -1
- package/dist/components/p-547a53d6.entry.js +0 -1
- package/dist/components/p-560fc3a4.entry.js +0 -1
- package/dist/components/p-5a58f1c1.entry.js +0 -1
- package/dist/components/p-5b55f951.entry.js +0 -1
- package/dist/components/p-5ba49cf2.entry.js +0 -1
- package/dist/components/p-5dd85979.entry.js +0 -1
- package/dist/components/p-634b6ca2.entry.js +0 -1
- package/dist/components/p-6cd6ff0c.entry.js +0 -1
- package/dist/components/p-71ee4af2.entry.js +0 -1
- package/dist/components/p-789f54cb.entry.js +0 -1
- package/dist/components/p-7ca6db64.entry.js +0 -1
- package/dist/components/p-89048f87.entry.js +0 -1
- package/dist/components/p-8d363a3c.entry.js +0 -1
- package/dist/components/p-97323c46.entry.js +0 -1
- package/dist/components/p-9b90296c.entry.js +0 -1
- package/dist/components/p-a8ca8346.entry.js +0 -1
- package/dist/components/p-ab3b0a53.entry.js +0 -1
- package/dist/components/p-b0d38b78.entry.js +0 -1
- package/dist/components/p-b6ee4250.entry.js +0 -1
- package/dist/components/p-b9fdcb1b.entry.js +0 -1
- package/dist/components/p-ba9f41de.entry.js +0 -1
- package/dist/components/p-beacaa4f.entry.js +0 -1
- package/dist/components/p-bfa23535.entry.js +0 -1
- package/dist/components/p-c4ac0528.entry.js +0 -1
- package/dist/components/p-cb114bf4.entry.js +0 -1
- package/dist/components/p-cd05a97b.entry.js +0 -1
- package/dist/components/p-cd787744.entry.js +0 -1
- package/dist/components/p-cdc1c8e8.entry.js +0 -1
- package/dist/components/p-d1d1943b.entry.js +0 -1
- package/dist/components/p-e0ada7e0.entry.js +0 -1
- package/dist/components/p-ec706eed.entry.js +0 -1
- package/dist/components/p-f32963ff.entry.js +0 -9
- package/dist/components/p-f6012c17.entry.js +0 -1
- package/dist/components/p-fcba31fa.entry.js +0 -1
- package/dist/esm/eds-tooltip.entry.js +0 -34
package/dist/hydrate/index.js
CHANGED
|
@@ -2334,7 +2334,7 @@ class ColorPrimaryPalette {
|
|
|
2334
2334
|
];
|
|
2335
2335
|
}
|
|
2336
2336
|
render() {
|
|
2337
|
-
return (hAsync("ul", { key: '
|
|
2337
|
+
return (hAsync("ul", { key: '80a1683bf07afddfc75d803735a7ebb6e175275e', 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
2338
|
}
|
|
2339
2339
|
static get cmpMeta() { return {
|
|
2340
2340
|
"$flags$": 0,
|
|
@@ -2406,7 +2406,7 @@ class ColorSecondaryPalette {
|
|
|
2406
2406
|
this.show = undefined;
|
|
2407
2407
|
}
|
|
2408
2408
|
render() {
|
|
2409
|
-
return (hAsync("ul", { key: '
|
|
2409
|
+
return (hAsync("ul", { key: '8897905f5b4e2a95b0697e90bc9b0476b9110c10', 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
2410
|
}
|
|
2411
2411
|
static get cmpMeta() { return {
|
|
2412
2412
|
"$flags$": 0,
|
|
@@ -2480,7 +2480,7 @@ class ColorSupportPalette {
|
|
|
2480
2480
|
return 'text-default';
|
|
2481
2481
|
}
|
|
2482
2482
|
render() {
|
|
2483
|
-
return (hAsync("ul", { key: '
|
|
2483
|
+
return (hAsync("ul", { key: 'f0ba44197d75db8e8c35b1c774fcb9a5cf57b955', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2484
2484
|
// compute once
|
|
2485
2485
|
const textClass = this.getTextColor(color.background);
|
|
2486
2486
|
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)))));
|
|
@@ -2525,7 +2525,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2525
2525
|
}
|
|
2526
2526
|
] }),
|
|
2527
2527
|
hAsync("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
2528
|
-
hAsync("eds-code-block", { code: '<eds-button
|
|
2528
|
+
hAsync("eds-code-block", { code: '<eds-button label="my bytton" intent="primary"></eds-button>', language: "html", "copy-label": "Copy Code" }),
|
|
2529
2529
|
hAsync("h2", null, "Load the variables and styles"),
|
|
2530
2530
|
hAsync("p", null,
|
|
2531
2531
|
"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the",
|
|
@@ -2543,9 +2543,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2543
2543
|
"Note that, loading either the variables or the predefined CSS framework above,",
|
|
2544
2544
|
' ',
|
|
2545
2545
|
hAsync("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
2546
|
-
".
|
|
2547
|
-
hAsync("code", null, "head")),
|
|
2548
|
-
hAsync("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })));
|
|
2546
|
+
".")));
|
|
2549
2547
|
|
|
2550
2548
|
const DocsInstallation = () => (hAsync("div", null,
|
|
2551
2549
|
hAsync("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
|
|
@@ -2633,7 +2631,7 @@ class ComponentsSection {
|
|
|
2633
2631
|
}
|
|
2634
2632
|
}
|
|
2635
2633
|
render() {
|
|
2636
|
-
return hAsync("div", { key: '
|
|
2634
|
+
return hAsync("div", { key: 'a5c54560de99e81caaabafc4342522602ffe35a1', class: "container" }, this.renderContent());
|
|
2637
2635
|
}
|
|
2638
2636
|
static get cmpMeta() { return {
|
|
2639
2637
|
"$flags$": 0,
|
|
@@ -2711,7 +2709,7 @@ class CorrectUseOfColors {
|
|
|
2711
2709
|
registerInstance(this, hostRef);
|
|
2712
2710
|
}
|
|
2713
2711
|
render() {
|
|
2714
|
-
return (hAsync("div", { key: '
|
|
2712
|
+
return (hAsync("div", { key: '2ece8530e14e2578756ea7a4b7c6de47692ea437', class: "container" }, hAsync("p", { key: '2c1de740ce1273bff57584a89d126996b89a2585', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '3ce5ec41aff1fa649799bb1b24e2c78ce3d5709e', 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: 'f067c4b8812fb79ddd8302a6e469131bb5ca2540', 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: '07216a1e8bc1c8944d7cd266fd88fd779a47af2e', class: "flex" }, hAsync("div", { key: '86594b56c689f5013ad372f61591256b96983d1e', class: "w-full" }, hAsync("ul", { key: '890766f2292df846fddf466b950ad572bd012732', 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: 'c118abd619f14e52c4987a7994603ff61976a30a', class: "w-full" }, hAsync("ul", { key: '68ff730e9d179c7c29701f82f08d0086af20d00b', 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: '183bb8155e1584b04b493934edaa437d5cf4b783', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: 'a040517846fb066a35816d293ac04bc7872b3b26', 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: '386c5220437d6e6659488e7bef5b3ffe52caf4ee', 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: '0d63252310aaa25e69938f3347454094d8722071', class: "flex" }, hAsync("div", { key: 'e4afc567b16e421b47d60679f1ea35e6663d06c6', class: "w-full" }, hAsync("ul", { key: '479d5422ddc0fbc7bb7364fd004c91b6091eb23c', 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: 'cd991c92db354f80862ae1542396ea32b95c208a', class: "w-full" }, hAsync("ul", { key: 'b88178a45d9f371feab17accb2e7316ef8471380', 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: '3777953463dcb70490b0c2ce6c42dc2dcbbf1d30', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '13fe2cb15600d4c8d38cb62537222b7cc254b4ea', 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: 'e8156e3295aefedc79483b2f07abeb840980c76e', 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: 'a37aa06966858518d02108f3dc62666fdac001ad', class: "flex" }, hAsync("div", { key: '58dd02808202c7a3e1b09b9ca2dbd560e76cd336', class: "w-full" }, hAsync("ul", { key: '0db69e93ff385af493c2b4e6797108d3b20eb4ff', 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: 'f7135c48160aec5de8d7a8f550b416e54ea2c7e8', class: "w-full" }, hAsync("ul", { key: 'f0d5d0a49bcc9ea372266683b6c029b427db73bf', 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: '0a42fea17681992eec8f8c107b49cc90934730b4', class: "f-body-01" }, "This guide demonstrates the correct usage of the", hAsync("eds-link", { key: '17c3efd3b9a55bea075920137d2a58cb910115c1', 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: '60e5ed7491f4d1814973f6c9f7fbfe8b96626f9d', 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: '87b6b39208abc11441edc407a81208f4cda8bf49', class: "flex" }, hAsync("div", { key: 'a123aa0926649903d2167293788e02ebfced78b9', class: "w-full" }, hAsync("ul", { key: '2e791bb7cd1c15cccb46942e92a3fa9f6241742a', 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: '3b7effab5bce2b76d6ac73c8d2353eb0d69cb021', class: "w-full" }, hAsync("ul", { key: '2412301e05f2f711e5b48f86eff270795f363ee6', 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 } })))))))));
|
|
2715
2713
|
}
|
|
2716
2714
|
static get cmpMeta() { return {
|
|
2717
2715
|
"$flags$": 0,
|
|
@@ -2750,7 +2748,7 @@ class DocsContent {
|
|
|
2750
2748
|
}
|
|
2751
2749
|
}
|
|
2752
2750
|
render() {
|
|
2753
|
-
return hAsync("div", { key: '
|
|
2751
|
+
return hAsync("div", { key: '17148efe64117050084010b77d85de64bdfe2000', class: "container" }, this.renderContent());
|
|
2754
2752
|
}
|
|
2755
2753
|
static get cmpMeta() { return {
|
|
2756
2754
|
"$flags$": 0,
|
|
@@ -2783,7 +2781,7 @@ class DocsPalettes {
|
|
|
2783
2781
|
}
|
|
2784
2782
|
}
|
|
2785
2783
|
render() {
|
|
2786
|
-
return hAsync("div", { key: '
|
|
2784
|
+
return hAsync("div", { key: '8ef26f3be50f9083f1430ec0c9dbf5213ac1268e', class: "container" }, this.renderContent());
|
|
2787
2785
|
}
|
|
2788
2786
|
static get cmpMeta() { return {
|
|
2789
2787
|
"$flags$": 0,
|
|
@@ -3177,7 +3175,7 @@ class EdsAppRoot {
|
|
|
3177
3175
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3178
3176
|
}
|
|
3179
3177
|
render() {
|
|
3180
|
-
return (hAsync("div", { key: '
|
|
3178
|
+
return (hAsync("div", { key: '01c80f8c47f13066a4b9e6978951c2a264efbd15' }, hAsync("eds-splash-screen", { key: 'bb17fc106515c71c7d70196a933301987c69ae4b', inverse: true, initPromise: this.combinedInitPromise }), hAsync("eds-login", { key: 'dbedc547296adc5ca8c9c9ff3e7c85e33e104e92', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), hAsync("main", { key: '24ce16d73eb316e5fdbc0a3bdd16b44cc6a740a4' }, this.isAuthenticated ? hAsync("h1", null, "Welcome, authenticated user!") : hAsync("h1", null, "Please log in."))));
|
|
3181
3179
|
}
|
|
3182
3180
|
static get cmpMeta() { return {
|
|
3183
3181
|
"$flags$": 9,
|
|
@@ -6846,7 +6844,7 @@ class EdsCookiesPreference {
|
|
|
6846
6844
|
}
|
|
6847
6845
|
}
|
|
6848
6846
|
render() {
|
|
6849
|
-
return (hAsync("div", { key: '
|
|
6847
|
+
return (hAsync("div", { key: '030dd5db2221d5613fae0fb215cac7c20c815c2b' }, hAsync("eds-link", { key: '61d1bdf5e4299e65d980a08d25bec93b089f5330', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && hAsync("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
6850
6848
|
}
|
|
6851
6849
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6852
6850
|
static get cmpMeta() { return {
|
|
@@ -7071,7 +7069,7 @@ class EdsFeedback {
|
|
|
7071
7069
|
const HeadingTag = this.headingLevel;
|
|
7072
7070
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7073
7071
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7074
|
-
return (hAsync("div", { key: '
|
|
7072
|
+
return (hAsync("div", { key: '58d69e0acbaca740439666bb9da015eaa81d160a', class: "grid inline" }, hAsync(HeadingTag, { key: 'f7b066a56636e6555ace1b4947e00c293961b4ca', class: headingClass }, this.label), hAsync("p", { key: '9bfb1903e25ba6c1d53849874f3309845c1b86dc', class: "f-body-01 text-light" }, this.description), hAsync("eds-rating", { key: '785ea01ac3d2f40bb148d52c9c18698c89424175', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (hAsync("span", { key: '16d5b1ab0ab56a5e320a878f8259dc643b533e16', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
7075
7073
|
}
|
|
7076
7074
|
get el() { return getElement(this); }
|
|
7077
7075
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7155,13 +7153,11 @@ class EdsFooter {
|
|
|
7155
7153
|
* Renders the footer component with optional sections and elements,
|
|
7156
7154
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
7157
7155
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7158
|
-
*
|
|
7159
|
-
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
7160
7156
|
*/
|
|
7161
7157
|
render() {
|
|
7162
|
-
return (hAsync("footer", { key: '
|
|
7158
|
+
return (hAsync("footer", { key: '844c47f7e5119a577b03d1bf4bb598e891d7f8c7' }, 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: '0a6f03f13cf5513758740ce6f3d3357cac413826', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, hAsync("div", { key: '1751d052c529e46de47bbe09ef24621b546b1514', class: "container flex items-center gap-20 lg:flex-nowrap" }, hAsync("div", { key: '86b3c5fac384d1ae0f310d43f9a4492ce96866cf', class: "flex items-center gap-x-12" }, hAsync("a", { key: '7fed16c8a7bb7c15ea59438427987303a5a0ae14', 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: '491b2691d011359df1dc24a2408347574a893ca8', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), hAsync("div", { key: '50e5d853ee86066c932dd5fa3f04706d21b0d3aa' }, hAsync("div", { key: 'ba36e26f29e1aee7d7da4cd91235419b18ab813a', class: "f-ui-04 text-light" }, hAsync("p", { key: '120302d9cdad309da91bcd9f82e81f707f5f5b48' }, this.fundedBy), hAsync("div", { key: '222a27fb7f085750312654c11d03793f02e29676', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, hAsync("span", { key: '56db11dc4295c21c5e9d54cbc5568c5889f2dbb9', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (hAsync("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
7163
7159
|
this.toggleCookiesConsent();
|
|
7164
|
-
} })) : null))), hAsync("div", { key: '
|
|
7160
|
+
} })) : null))), hAsync("div", { key: '221f15b6c92e91835dcc2efa3d2247b055690a22', 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)))));
|
|
7165
7161
|
}
|
|
7166
7162
|
get el() { return getElement(this); }
|
|
7167
7163
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7326,9 +7322,10 @@ isFieldVisible) {
|
|
|
7326
7322
|
const npsEl = findNpsElement(formEl);
|
|
7327
7323
|
if (npsEl && npsEl.shadowRoot) {
|
|
7328
7324
|
const raw = (_a = npsEl.shadowRoot
|
|
7329
|
-
.querySelector('
|
|
7330
|
-
const
|
|
7331
|
-
|
|
7325
|
+
.querySelector('eds-button[tabindex="0"]')) === null || _a === void 0 ? void 0 : _a.getAttribute('aria-label');
|
|
7326
|
+
const parsed = raw !== null ? parseInt(raw, 10) : NaN;
|
|
7327
|
+
const value = Number.isInteger(parsed) && parsed >= 0 && parsed <= 10 ? parsed : NaN;
|
|
7328
|
+
if (isNaN(value)) {
|
|
7332
7329
|
// eslint-disable-next-line
|
|
7333
7330
|
if (field.required) {
|
|
7334
7331
|
errors[field.name] = ['This field is required.'];
|
|
@@ -7394,7 +7391,7 @@ function getFormInitData({ initData, parsedFields, currentValues
|
|
|
7394
7391
|
return { updatedValues };
|
|
7395
7392
|
}
|
|
7396
7393
|
|
|
7397
|
-
const edsFormCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.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)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}";
|
|
7394
|
+
const edsFormCss = ".container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.flex{display:flex}.flex-col{flex-direction:column}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-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)}.f-body-01 b,.f-body-01 strong{font-weight:var(--f-body-01---bold-weight, bold)}.f-body-02 b,.f-body-02 strong{font-weight:var(--f-body-02---bold-weight, bold)}.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)}.rounded-sm{border-radius:8px}.border-softer{border-color:rgba(0, 0, 0, .1)}.border-2{border-width:2px}.mt-20{margin-top:1.25rem}.mt-32{margin-top:2rem}.mb-32{margin-bottom:2rem}.pt-28{padding-top:1.75rem}.pl-8{padding-left:0.5rem}.pl-16{padding-left:1rem}.border-l-2{border-left-width:2px}.gap-y-8{row-gap:0.5rem}.gap-y-16{row-gap:1rem}.gap-y-24{row-gap:1.5rem}.border-group{border-left:1px solid var(--soft-color, #ddd);padding-left:1rem}.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)}.shadow-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}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.rounded-lg{border-radius:16px}.px-16{padding-left:1rem;padding-right:1rem}.pb-16{padding-bottom:1rem}.p-32{padding:2rem}";
|
|
7398
7395
|
var EdsFormStyle0 = edsFormCss;
|
|
7399
7396
|
|
|
7400
7397
|
/**
|
|
@@ -7414,13 +7411,17 @@ class EdsForm {
|
|
|
7414
7411
|
registerInstance(this, hostRef);
|
|
7415
7412
|
this.form = createEvent(this, "form", 7);
|
|
7416
7413
|
this.name = 'eds-form';
|
|
7414
|
+
this.title = undefined;
|
|
7415
|
+
this.description = undefined;
|
|
7417
7416
|
this.setFormUrl = true;
|
|
7418
7417
|
this.formBtn = true;
|
|
7419
7418
|
this.formBtnLabel = 'Submit';
|
|
7419
|
+
this.buttonIntent = 'primary';
|
|
7420
7420
|
this.errorMessage = 'Some fields in your form are incorrect.';
|
|
7421
7421
|
this.fields = [];
|
|
7422
7422
|
this.groups = [];
|
|
7423
7423
|
this.initData = {};
|
|
7424
|
+
this.formStyle = 'default';
|
|
7424
7425
|
this.values = {};
|
|
7425
7426
|
this.isSubmitting = false;
|
|
7426
7427
|
this.hasError = false;
|
|
@@ -7718,10 +7719,15 @@ class EdsForm {
|
|
|
7718
7719
|
}
|
|
7719
7720
|
get groupedFields() {
|
|
7720
7721
|
const map = {};
|
|
7721
|
-
// initialize buckets for each group
|
|
7722
|
+
// initialize buckets for each declared group
|
|
7722
7723
|
this.parsedGroups.forEach((g) => (map[g.id] = []));
|
|
7724
|
+
// always keep an ungrouped bucket
|
|
7723
7725
|
map['__ungrouped'] = [];
|
|
7726
|
+
// only bucket fields that are currently visible
|
|
7724
7727
|
this.parsedFields.forEach((f) => {
|
|
7728
|
+
if (!this.isFieldVisible(f)) {
|
|
7729
|
+
return;
|
|
7730
|
+
}
|
|
7725
7731
|
const gid = f.groupId || '__ungrouped';
|
|
7726
7732
|
if (!map[gid]) {
|
|
7727
7733
|
map[gid] = [];
|
|
@@ -7742,7 +7748,7 @@ class EdsForm {
|
|
|
7742
7748
|
return (hAsync("div", { class: "form-group rating-field", key: field.name }, hAsync("div", { class: "flex justify-between" }, field && (hAsync("eds-input-label", { name: `rating-${field.name}`, label: field.label, disabled: field.disabled, required: field.required }))), hAsync("eds-rating", { id: `rating-${field.name}`, "rating-type": field.ratingType, "rating-count": field.ratingCount, "selected-rating": val, onRating: (e) => this.handleRating(e, field) }), hAsync("div", { class: "mt-6" }, hAsync("eds-input-footer", { id: `${field.name}-footer`, name: field.name, message: field.message, "error-message": (_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.join('<br/>'), error: !!this.errors[field.name], link: field.link }))));
|
|
7743
7749
|
}
|
|
7744
7750
|
else if (field.type === 'nps') {
|
|
7745
|
-
return (hAsync("div", { class: "form-group nps-field", key: field.name }, hAsync("div", { class: "flex justify-between" }, field && (hAsync("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), hAsync("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), hAsync("div", { class: "mt-6" }, hAsync("eds-input-footer", { id: `${field.name}-footer`, name: field.name,
|
|
7751
|
+
return (hAsync("div", { class: "form-group nps-field", key: field.name }, hAsync("div", { class: "flex justify-between" }, field && (hAsync("eds-input-label", { name: `nps-${field.name}`, label: field.question, disabled: field.disabled, required: field.required }))), hAsync("eds-nps", { id: `nps-${field.name}`, "right-label": field.rightLabel, "left-label": field.leftLabel, onNps: (e) => this.handleNPS(e, field) }), hAsync("div", { class: "mt-6" }, hAsync("eds-input-footer", { id: `${field.name}-footer`, name: field.name, "error-message": (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br/>'), error: !!this.errors[field.name] }))));
|
|
7746
7752
|
}
|
|
7747
7753
|
return (hAsync("eds-input-field", { key: field.name, name: field.name, label: field.label, placeholder: field.placeholder, type: field.type, value: this.values[field.name], required: field.required, hint: field.hint, message: field.message, error: !!this.errors[field.name], errorMessage: (_c = this.errors[field.name]) === null || _c === void 0 ? void 0 : _c.join('<br/>'), options: field.options, onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field) }));
|
|
7748
7754
|
}
|
|
@@ -7753,9 +7759,13 @@ class EdsForm {
|
|
|
7753
7759
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
7754
7760
|
//const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
7755
7761
|
const buckets = this.groupedFields;
|
|
7756
|
-
|
|
7762
|
+
// build the shadow/bg classes if formStyle="shadow"
|
|
7763
|
+
const styleClasses = this.formStyle === 'shadow'
|
|
7764
|
+
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7765
|
+
: '';
|
|
7766
|
+
return (hAsync("form", { key: 'ecf49eb81f18b444d059d3bdea4600f4ae594ea9', class: styleClasses, ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, hAsync("div", { key: '65137fb770f274431c7906326cdf49e0fee73b18', class: "flex flex-col gap-y-24" }, this.title && (hAsync("span", { key: 'e4c5b4a7883c4569a657cc234f18f995480ec8df', role: "heading", class: "f-heading-04" }, this.title)), this.description && hAsync("span", { key: '65528e4600127f1cff4ce0e5be6f8a6bddc4c864', class: "f-body-02 text-light" }, this.description), hAsync("slot", { key: '6230035a050386763723c2b60bd5e81b912762d7' })), hiddenFields.map((field, index) => (hAsync("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), this.parsedGroups
|
|
7757
7767
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7758
|
-
.map((g) => (hAsync("div", { class: "container mt-
|
|
7768
|
+
.map((g) => (hAsync("div", { class: "container 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: '8116d30248f8461a842365470da9915200531028', class: "flex flex-col mt-32 gap-y-24" }, buckets['__ungrouped'].map((f) => this.renderField(f))), this.formBtn && (hAsync("div", { key: 'e2f1d3ca6a9f6a3b44c45e576150505c49e41dd1', class: "mt-32" }, hAsync("eds-button", { key: 'e312bf08b5db526c00497fafaa9476a225919aaf', intent: this.buttonIntent, label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
7759
7769
|
}
|
|
7760
7770
|
get el() { return getElement(this); }
|
|
7761
7771
|
static get watchers() { return {
|
|
@@ -7768,13 +7778,17 @@ class EdsForm {
|
|
|
7768
7778
|
"$tagName$": "eds-form",
|
|
7769
7779
|
"$members$": {
|
|
7770
7780
|
"name": [1],
|
|
7781
|
+
"title": [1],
|
|
7782
|
+
"description": [1],
|
|
7771
7783
|
"setFormUrl": [4, "set-form-url"],
|
|
7772
7784
|
"formBtn": [4, "form-btn"],
|
|
7773
7785
|
"formBtnLabel": [1, "form-btn-label"],
|
|
7786
|
+
"buttonIntent": [1, "button-intent"],
|
|
7774
7787
|
"errorMessage": [1, "error-message"],
|
|
7775
7788
|
"fields": [1],
|
|
7776
7789
|
"groups": [1],
|
|
7777
7790
|
"initData": [16],
|
|
7791
|
+
"formStyle": [1, "form-style"],
|
|
7778
7792
|
"values": [32],
|
|
7779
7793
|
"isSubmitting": [32],
|
|
7780
7794
|
"hasError": [32],
|
|
@@ -7879,7 +7893,7 @@ class EdsFrame {
|
|
|
7879
7893
|
}
|
|
7880
7894
|
}
|
|
7881
7895
|
render() {
|
|
7882
|
-
return (hAsync("div", { key: '
|
|
7896
|
+
return (hAsync("div", { key: '665bc189cd905a55a9c6ac31eb2ec82853552f34', class: this.articleClasses() }, hAsync("div", { key: '6ad6183a94cd0cb26d3e5641c5e584e8afc652d7', class: "effect-height flex items-center justify-between py-8 px-12" }, hAsync("span", { key: '85bd9a7a4475ca3664cadf17ef1e729643c758f6', 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: '4799d59442cabb05f3bfea26a02db22a429266e6', 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 })))));
|
|
7883
7897
|
}
|
|
7884
7898
|
get el() { return getElement(this); }
|
|
7885
7899
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -7928,11 +7942,16 @@ class EdsFullscreenMenu {
|
|
|
7928
7942
|
this.isMenuOpen = false;
|
|
7929
7943
|
}
|
|
7930
7944
|
/**
|
|
7931
|
-
* Listens
|
|
7932
|
-
*
|
|
7945
|
+
* Listens on `body` for `toggleheadermenu` to open/close the menu.
|
|
7946
|
+
* The event detail should be a boolean (`true` = open, `false` = close).
|
|
7947
|
+
*
|
|
7948
|
+
* @example
|
|
7949
|
+
* ```js
|
|
7950
|
+
* document.body.dispatchEvent(new CustomEvent('toggleheadermenu', { detail: true }));
|
|
7951
|
+
* ```
|
|
7933
7952
|
*/
|
|
7934
7953
|
handleToggleMenu(event) {
|
|
7935
|
-
this.isMenuOpen = event.detail;
|
|
7954
|
+
this.isMenuOpen = !!event.detail;
|
|
7936
7955
|
}
|
|
7937
7956
|
/** Opens the menu */
|
|
7938
7957
|
openMenu() {
|
|
@@ -8124,7 +8143,7 @@ class EdsHeader {
|
|
|
8124
8143
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8125
8144
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8126
8145
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8127
|
-
return (hAsync("header", { key: '
|
|
8146
|
+
return (hAsync("header", { key: 'a0f5bb7d9e850e9414db804019674d6bcbc8ea0b', class: `flex items-center justify-between relative z-10 ${classes}` }, hAsync("div", { key: '678d5b1583e6fa47c0eac8ce734e8ec34cd76ad9', class: "mr-auto w-[200px] h-[85px]" }, hAsync("eds-logo", { key: '12ce9c42b266bbddfd75d2a8f0097708480a2490', type: logoType, href: this.homeUrl })), this.parsedLinks && (hAsync("nav", { key: 'eb388b679d4e268dc7fc011bc2a6406a619287c8', 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: 'c3f8689bb257166c50dd678287c8ad4f54eb315a', 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: '3f689a811a60052393a795937a908cf7d0604cc6' }), this.menuEnabled && (hAsync("div", { key: '506b953b455b72085d83bdaafc6855992075ddbe', class: "md:hidden flex overflow-hidden px-16" }, hAsync("eds-button", { key: '5b526affd813549a6142efab255d6486a5e2dd66', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
8128
8147
|
}
|
|
8129
8148
|
get hostEl() { return getElement(this); }
|
|
8130
8149
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -10211,7 +10230,7 @@ class EdsIconBluesky {
|
|
|
10211
10230
|
this.class = '';
|
|
10212
10231
|
}
|
|
10213
10232
|
render() {
|
|
10214
|
-
return hAsync("span", { key: '
|
|
10233
|
+
return hAsync("span", { key: 'dd1f0043450c0970da5487a4c7c69859d3d97e2f', class: this.class, innerHTML: bluesky });
|
|
10215
10234
|
}
|
|
10216
10235
|
static get cmpMeta() { return {
|
|
10217
10236
|
"$flags$": 0,
|
|
@@ -10409,6 +10428,29 @@ class EdsIconCopy {
|
|
|
10409
10428
|
}; }
|
|
10410
10429
|
}
|
|
10411
10430
|
|
|
10431
|
+
/**
|
|
10432
|
+
* @internal
|
|
10433
|
+
*/
|
|
10434
|
+
class EdsIconDownload {
|
|
10435
|
+
constructor(hostRef) {
|
|
10436
|
+
registerInstance(this, hostRef);
|
|
10437
|
+
this.class = '';
|
|
10438
|
+
}
|
|
10439
|
+
render() {
|
|
10440
|
+
return hAsync("span", { key: '1fc6b1410cf98a4a992c0d98d78ec27aeac65b7c', class: this.class, innerHTML: download });
|
|
10441
|
+
}
|
|
10442
|
+
static get cmpMeta() { return {
|
|
10443
|
+
"$flags$": 0,
|
|
10444
|
+
"$tagName$": "eds-icon-download",
|
|
10445
|
+
"$members$": {
|
|
10446
|
+
"class": [1]
|
|
10447
|
+
},
|
|
10448
|
+
"$listeners$": undefined,
|
|
10449
|
+
"$lazyBundleId$": "-",
|
|
10450
|
+
"$attrsToReflect$": []
|
|
10451
|
+
}; }
|
|
10452
|
+
}
|
|
10453
|
+
|
|
10412
10454
|
/**
|
|
10413
10455
|
* @internal
|
|
10414
10456
|
*/
|
|
@@ -10418,7 +10460,7 @@ class EdsIconDraft {
|
|
|
10418
10460
|
this.class = '';
|
|
10419
10461
|
}
|
|
10420
10462
|
render() {
|
|
10421
|
-
return hAsync("span", { key: '
|
|
10463
|
+
return hAsync("span", { key: 'e76f56aaba4a67096e6314e61d53bc2512941552', class: this.class, innerHTML: draft });
|
|
10422
10464
|
}
|
|
10423
10465
|
static get cmpMeta() { return {
|
|
10424
10466
|
"$flags$": 0,
|
|
@@ -10441,7 +10483,7 @@ class EdsIconEdit {
|
|
|
10441
10483
|
this.class = '';
|
|
10442
10484
|
}
|
|
10443
10485
|
render() {
|
|
10444
|
-
return hAsync("span", { key: '
|
|
10486
|
+
return hAsync("span", { key: '54502ee7a072ad54a5c22367b89c1d00afcaaafe', class: this.class, innerHTML: edit });
|
|
10445
10487
|
}
|
|
10446
10488
|
static get cmpMeta() { return {
|
|
10447
10489
|
"$flags$": 0,
|
|
@@ -10464,7 +10506,7 @@ class EdsIconEu {
|
|
|
10464
10506
|
this.class = '';
|
|
10465
10507
|
}
|
|
10466
10508
|
render() {
|
|
10467
|
-
return hAsync("span", { key: '
|
|
10509
|
+
return hAsync("span", { key: '89fde5fbed839d6fdedc0399bf1475abf22d205d', class: this.class, innerHTML: euSvg });
|
|
10468
10510
|
}
|
|
10469
10511
|
static get cmpMeta() { return {
|
|
10470
10512
|
"$flags$": 0,
|
|
@@ -10487,7 +10529,7 @@ class EdsIconExternal {
|
|
|
10487
10529
|
this.class = '';
|
|
10488
10530
|
}
|
|
10489
10531
|
render() {
|
|
10490
|
-
return hAsync("span", { key: '
|
|
10532
|
+
return hAsync("span", { key: '1abc7edbab033c99ffaede9ebe0f210849fe8d61', class: this.class, innerHTML: arrowDiagonal });
|
|
10491
10533
|
}
|
|
10492
10534
|
static get cmpMeta() { return {
|
|
10493
10535
|
"$flags$": 0,
|
|
@@ -10510,7 +10552,7 @@ class EdsIconFacebook {
|
|
|
10510
10552
|
this.class = '';
|
|
10511
10553
|
}
|
|
10512
10554
|
render() {
|
|
10513
|
-
return hAsync("span", { key: '
|
|
10555
|
+
return hAsync("span", { key: '1981b2c066cfa5f0fb4326017df4bfbdfff09873', class: this.class, innerHTML: facebook });
|
|
10514
10556
|
}
|
|
10515
10557
|
static get cmpMeta() { return {
|
|
10516
10558
|
"$flags$": 0,
|
|
@@ -10533,7 +10575,7 @@ class EdsIconGitlab {
|
|
|
10533
10575
|
this.class = '';
|
|
10534
10576
|
}
|
|
10535
10577
|
render() {
|
|
10536
|
-
return hAsync("span", { key: '
|
|
10578
|
+
return hAsync("span", { key: 'b35f2e94d903549d867579f2e008c323a441019c', class: this.class, innerHTML: gitlabBlack });
|
|
10537
10579
|
}
|
|
10538
10580
|
static get cmpMeta() { return {
|
|
10539
10581
|
"$flags$": 0,
|
|
@@ -10556,7 +10598,7 @@ class EdsIconLinkedin {
|
|
|
10556
10598
|
this.class = '';
|
|
10557
10599
|
}
|
|
10558
10600
|
render() {
|
|
10559
|
-
return hAsync("span", { key: '
|
|
10601
|
+
return hAsync("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: linkedin });
|
|
10560
10602
|
}
|
|
10561
10603
|
static get cmpMeta() { return {
|
|
10562
10604
|
"$flags$": 0,
|
|
@@ -10579,7 +10621,7 @@ class EdsIconLoader {
|
|
|
10579
10621
|
this.class = '';
|
|
10580
10622
|
}
|
|
10581
10623
|
render() {
|
|
10582
|
-
return hAsync("span", { key: '
|
|
10624
|
+
return hAsync("span", { key: 'b97da1b406718c7611d1e17d7a9c6b4670600740', class: this.class, innerHTML: loader });
|
|
10583
10625
|
}
|
|
10584
10626
|
static get cmpMeta() { return {
|
|
10585
10627
|
"$flags$": 0,
|
|
@@ -10602,7 +10644,7 @@ class EdsIconMastodon {
|
|
|
10602
10644
|
this.class = '';
|
|
10603
10645
|
}
|
|
10604
10646
|
render() {
|
|
10605
|
-
return hAsync("span", { key: '
|
|
10647
|
+
return hAsync("span", { key: '36bf44e06217f9b2521f374028a1316fb17ff21a', class: this.class, innerHTML: mastodon });
|
|
10606
10648
|
}
|
|
10607
10649
|
static get cmpMeta() { return {
|
|
10608
10650
|
"$flags$": 0,
|
|
@@ -10625,7 +10667,7 @@ class EdsIconMenu {
|
|
|
10625
10667
|
this.class = '';
|
|
10626
10668
|
}
|
|
10627
10669
|
render() {
|
|
10628
|
-
return hAsync("span", { key: '
|
|
10670
|
+
return hAsync("span", { key: '4322703c9e449819dc30946118893d365fa20124', class: this.class, innerHTML: menu });
|
|
10629
10671
|
}
|
|
10630
10672
|
static get cmpMeta() { return {
|
|
10631
10673
|
"$flags$": 0,
|
|
@@ -10648,7 +10690,7 @@ class EdsIconMinus {
|
|
|
10648
10690
|
this.class = '';
|
|
10649
10691
|
}
|
|
10650
10692
|
render() {
|
|
10651
|
-
return hAsync("span", { key: '
|
|
10693
|
+
return hAsync("span", { key: '9b9efb71d724cc1eb0e9bebd7256fe11b39e4da3', class: this.class, innerHTML: minus });
|
|
10652
10694
|
}
|
|
10653
10695
|
static get cmpMeta() { return {
|
|
10654
10696
|
"$flags$": 0,
|
|
@@ -10671,7 +10713,7 @@ class EdsIconMore {
|
|
|
10671
10713
|
this.class = '';
|
|
10672
10714
|
}
|
|
10673
10715
|
render() {
|
|
10674
|
-
return hAsync("span", { key: '
|
|
10716
|
+
return hAsync("span", { key: 'f7ebc68658fcf8c0df627871481cce90cd7800fb', class: this.class, innerHTML: more });
|
|
10675
10717
|
}
|
|
10676
10718
|
static get cmpMeta() { return {
|
|
10677
10719
|
"$flags$": 0,
|
|
@@ -10694,7 +10736,7 @@ class EdsIconPaper {
|
|
|
10694
10736
|
this.class = '';
|
|
10695
10737
|
}
|
|
10696
10738
|
render() {
|
|
10697
|
-
return hAsync("span", { key: '
|
|
10739
|
+
return hAsync("span", { key: 'eaa676b09d81da31b600a910b99b416c1a5420d3', class: this.class, innerHTML: paper });
|
|
10698
10740
|
}
|
|
10699
10741
|
static get cmpMeta() { return {
|
|
10700
10742
|
"$flags$": 0,
|
|
@@ -10717,7 +10759,7 @@ class EdsIconPlus {
|
|
|
10717
10759
|
this.class = '';
|
|
10718
10760
|
}
|
|
10719
10761
|
render() {
|
|
10720
|
-
return hAsync("span", { key: '
|
|
10762
|
+
return hAsync("span", { key: '825957824697ceeec9d6f81007c4dd1dfc208b28', class: this.class, innerHTML: plus });
|
|
10721
10763
|
}
|
|
10722
10764
|
static get cmpMeta() { return {
|
|
10723
10765
|
"$flags$": 0,
|
|
@@ -10740,7 +10782,7 @@ class EdsIconPortal {
|
|
|
10740
10782
|
this.class = '';
|
|
10741
10783
|
}
|
|
10742
10784
|
render() {
|
|
10743
|
-
return hAsync("span", { key: '
|
|
10785
|
+
return hAsync("span", { key: '4c557c9fe9168f361c55aae7a7c6874d78ec620d', class: this.class, innerHTML: portal });
|
|
10744
10786
|
}
|
|
10745
10787
|
static get cmpMeta() { return {
|
|
10746
10788
|
"$flags$": 0,
|
|
@@ -10763,7 +10805,7 @@ class EdsIconPrivate {
|
|
|
10763
10805
|
this.class = '';
|
|
10764
10806
|
}
|
|
10765
10807
|
render() {
|
|
10766
|
-
return hAsync("span", { key: '
|
|
10808
|
+
return hAsync("span", { key: 'fe423636431e96ce42d0b8236b04c11c92633a18', class: this.class, innerHTML: privat });
|
|
10767
10809
|
}
|
|
10768
10810
|
static get cmpMeta() { return {
|
|
10769
10811
|
"$flags$": 0,
|
|
@@ -10786,7 +10828,7 @@ class EdsIconPublic {
|
|
|
10786
10828
|
this.class = '';
|
|
10787
10829
|
}
|
|
10788
10830
|
render() {
|
|
10789
|
-
return hAsync("span", { key: '
|
|
10831
|
+
return hAsync("span", { key: '4c0a1ff37a1bfa79173c6b91da33fb808ef1b918', class: this.class, innerHTML: pub });
|
|
10790
10832
|
}
|
|
10791
10833
|
static get cmpMeta() { return {
|
|
10792
10834
|
"$flags$": 0,
|
|
@@ -10809,7 +10851,7 @@ class EdsIconSearch {
|
|
|
10809
10851
|
this.class = '';
|
|
10810
10852
|
}
|
|
10811
10853
|
render() {
|
|
10812
|
-
return hAsync("span", { key: '
|
|
10854
|
+
return hAsync("span", { key: 'c788833c6a51e489ca432697a9c46d9b5756a519', class: this.class, innerHTML: search });
|
|
10813
10855
|
}
|
|
10814
10856
|
static get cmpMeta() { return {
|
|
10815
10857
|
"$flags$": 0,
|
|
@@ -10832,7 +10874,7 @@ class EdsIconStar {
|
|
|
10832
10874
|
this.class = '';
|
|
10833
10875
|
}
|
|
10834
10876
|
render() {
|
|
10835
|
-
return hAsync("span", { key: '
|
|
10877
|
+
return hAsync("span", { key: '297e73664320032b2f78dd3c43aa0852545c0723', class: this.class, innerHTML: star });
|
|
10836
10878
|
}
|
|
10837
10879
|
static get cmpMeta() { return {
|
|
10838
10880
|
"$flags$": 0,
|
|
@@ -10855,7 +10897,7 @@ class EdsIconStart {
|
|
|
10855
10897
|
this.class = '';
|
|
10856
10898
|
}
|
|
10857
10899
|
render() {
|
|
10858
|
-
return hAsync("span", { key: '
|
|
10900
|
+
return hAsync("span", { key: '360d1178d8f9f8485718f5ab1ed823ac16be2987', class: this.class, innerHTML: start });
|
|
10859
10901
|
}
|
|
10860
10902
|
static get cmpMeta() { return {
|
|
10861
10903
|
"$flags$": 0,
|
|
@@ -10878,7 +10920,7 @@ class EdsIconSuccess {
|
|
|
10878
10920
|
this.class = '';
|
|
10879
10921
|
}
|
|
10880
10922
|
render() {
|
|
10881
|
-
return hAsync("span", { key: '
|
|
10923
|
+
return hAsync("span", { key: '281f7141b6b45b60e8f11f85430af0cd8364d91f', class: this.class, innerHTML: success });
|
|
10882
10924
|
}
|
|
10883
10925
|
static get cmpMeta() { return {
|
|
10884
10926
|
"$flags$": 0,
|
|
@@ -10901,7 +10943,7 @@ class EdsIconThumbsDown {
|
|
|
10901
10943
|
this.class = '';
|
|
10902
10944
|
}
|
|
10903
10945
|
render() {
|
|
10904
|
-
return hAsync("span", { key: '
|
|
10946
|
+
return hAsync("span", { key: 'b119fa870a00fbad7cffeb30b0ab76d2165eb76d', class: this.class, innerHTML: thumbsDown });
|
|
10905
10947
|
}
|
|
10906
10948
|
static get cmpMeta() { return {
|
|
10907
10949
|
"$flags$": 0,
|
|
@@ -10924,7 +10966,7 @@ class EdsIconThumbsUp {
|
|
|
10924
10966
|
this.class = '';
|
|
10925
10967
|
}
|
|
10926
10968
|
render() {
|
|
10927
|
-
return hAsync("span", { key: '
|
|
10969
|
+
return hAsync("span", { key: '86834f96ac586f4bd7404ebdcd8ac0e496f063bb', class: this.class, innerHTML: thumbsUp });
|
|
10928
10970
|
}
|
|
10929
10971
|
static get cmpMeta() { return {
|
|
10930
10972
|
"$flags$": 0,
|
|
@@ -10947,7 +10989,7 @@ class EdsIconTutorial {
|
|
|
10947
10989
|
this.class = '';
|
|
10948
10990
|
}
|
|
10949
10991
|
render() {
|
|
10950
|
-
return hAsync("span", { key: '
|
|
10992
|
+
return hAsync("span", { key: 'f7457ee049fe477b51776527b58d459312c52cf4', class: this.class, innerHTML: tutorial });
|
|
10951
10993
|
}
|
|
10952
10994
|
static get cmpMeta() { return {
|
|
10953
10995
|
"$flags$": 0,
|
|
@@ -10970,7 +11012,7 @@ class EdsIconTwitter {
|
|
|
10970
11012
|
this.class = '';
|
|
10971
11013
|
}
|
|
10972
11014
|
render() {
|
|
10973
|
-
return hAsync("span", { key: '
|
|
11015
|
+
return hAsync("span", { key: '6f1d0b5e073ef4d754aecb600a8578fc59950496', class: this.class, innerHTML: twitter });
|
|
10974
11016
|
}
|
|
10975
11017
|
static get cmpMeta() { return {
|
|
10976
11018
|
"$flags$": 0,
|
|
@@ -10993,7 +11035,7 @@ class EdsIconUnknown {
|
|
|
10993
11035
|
this.class = '';
|
|
10994
11036
|
}
|
|
10995
11037
|
render() {
|
|
10996
|
-
return hAsync("span", { key: '
|
|
11038
|
+
return hAsync("span", { key: '3b2750a85a74227efe458ceaa2d0995ab0c472b3', class: this.class, innerHTML: unknown });
|
|
10997
11039
|
}
|
|
10998
11040
|
static get cmpMeta() { return {
|
|
10999
11041
|
"$flags$": 0,
|
|
@@ -11016,7 +11058,7 @@ class EdsIconUpdown {
|
|
|
11016
11058
|
this.class = '';
|
|
11017
11059
|
}
|
|
11018
11060
|
render() {
|
|
11019
|
-
return hAsync("span", { key: '
|
|
11061
|
+
return hAsync("span", { key: '1768da9f606b60dd3dc1c8ef76673c6b17eb1b37', class: this.class, innerHTML: upDonw });
|
|
11020
11062
|
}
|
|
11021
11063
|
static get cmpMeta() { return {
|
|
11022
11064
|
"$flags$": 0,
|
|
@@ -11039,7 +11081,7 @@ class EdsIconUser {
|
|
|
11039
11081
|
this.class = '';
|
|
11040
11082
|
}
|
|
11041
11083
|
render() {
|
|
11042
|
-
return hAsync("span", { key: '
|
|
11084
|
+
return hAsync("span", { key: 'ccb41b3ad799e44dab0664dadd5407f6aef9b39c', class: this.class, innerHTML: user });
|
|
11043
11085
|
}
|
|
11044
11086
|
static get cmpMeta() { return {
|
|
11045
11087
|
"$flags$": 0,
|
|
@@ -11062,7 +11104,7 @@ class EdsIconView {
|
|
|
11062
11104
|
this.class = '';
|
|
11063
11105
|
}
|
|
11064
11106
|
render() {
|
|
11065
|
-
return hAsync("span", { key: '
|
|
11107
|
+
return hAsync("span", { key: 'af0fae74516d7f51af3616aa09c16b80b603504f', class: this.class, innerHTML: view });
|
|
11066
11108
|
}
|
|
11067
11109
|
static get cmpMeta() { return {
|
|
11068
11110
|
"$flags$": 0,
|
|
@@ -11141,7 +11183,7 @@ class EdsIconYoutube {
|
|
|
11141
11183
|
this.class = '';
|
|
11142
11184
|
}
|
|
11143
11185
|
render() {
|
|
11144
|
-
return hAsync("span", { key: '
|
|
11186
|
+
return hAsync("span", { key: '063a941c7795658f2dd79fbdafd7ea1f8ed4b2f4', class: this.class, innerHTML: youtube });
|
|
11145
11187
|
}
|
|
11146
11188
|
static get cmpMeta() { return {
|
|
11147
11189
|
"$flags$": 0,
|
|
@@ -11217,10 +11259,10 @@ class EdsImg {
|
|
|
11217
11259
|
imgOpts['loading'] = 'lazy';
|
|
11218
11260
|
imgOpts['decoding'] = 'async';
|
|
11219
11261
|
}
|
|
11220
|
-
return (hAsync("div", { key: '
|
|
11262
|
+
return (hAsync("div", { key: 'fec0dcf2ec178a953f4ced8a71b037030983670d', class: {
|
|
11221
11263
|
'items-center justify-center': true,
|
|
11222
11264
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11223
|
-
} }, hAsync("picture", { key: '
|
|
11265
|
+
} }, hAsync("picture", { key: '0df010a6ed50519be0a2017bf12db7d1ab2fb208' }, this.formats.map((format) => (hAsync("source", { type: format.type, srcSet: format.srcset, media: format.media, sizes: this.sizes }))), hAsync("img", Object.assign({ key: 'ea4275b2cc6be0cce5ab63f97d05454e3c4ee1dc', ref: (el) => (this.img = el), class: {
|
|
11224
11266
|
'effect-opacity object-cover object-center': true,
|
|
11225
11267
|
'opacity-100': this.loaded,
|
|
11226
11268
|
'opacity-0': !this.loaded
|
|
@@ -11302,7 +11344,7 @@ class EdsInput {
|
|
|
11302
11344
|
render() {
|
|
11303
11345
|
const withIcon = !!this.icon;
|
|
11304
11346
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11305
|
-
return (hAsync("div", { key: '
|
|
11347
|
+
return (hAsync("div", { key: '0a6386205f78655569bf93960a4e2664563e4014', 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'
|
|
11306
11348
|
? {
|
|
11307
11349
|
min: this.min,
|
|
11308
11350
|
max: this.max,
|
|
@@ -11313,7 +11355,7 @@ class EdsInput {
|
|
|
11313
11355
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11314
11356
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11315
11357
|
${this.error ? 'input-error' : ''}
|
|
11316
|
-
`, "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: '
|
|
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: 'c78bf1501f682cde9a193ea6726baf2433566516', 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: 'c07e7d5d8394292cf365f32838dfd837ccf168d6', class: `absolute top-1/2 left-[4px] -translate-y-1/2 ${this.disabled ? 'text-lightest' : 'text-lightest'}`, icon: this.icon }))));
|
|
11317
11359
|
}
|
|
11318
11360
|
get el() { return getElement(this); }
|
|
11319
11361
|
static get watchers() { return {
|
|
@@ -11452,7 +11494,7 @@ class EdsInputField {
|
|
|
11452
11494
|
}
|
|
11453
11495
|
render() {
|
|
11454
11496
|
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 } : {}));
|
|
11455
|
-
return (hAsync("div", { key: '
|
|
11497
|
+
return (hAsync("div", { key: 'eaa1d9c1095204c82bd01eab0f19f80eeee64d05' }, this.type === 'checkbox' || this.type === 'radio' ? (this.parsedOptions.length > 0 ? (hAsync("fieldset", { class: "space-y-4 mt-8" }, 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' ? ((() => {
|
|
11456
11498
|
var _a, _b, _c;
|
|
11457
11499
|
const rangeProps = {
|
|
11458
11500
|
name: inputOpts.name,
|
|
@@ -11465,7 +11507,7 @@ class EdsInputField {
|
|
|
11465
11507
|
const opt = this.parsedOptions;
|
|
11466
11508
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11467
11509
|
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 })));
|
|
11468
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11510
|
+
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '60e6c848d41591b2e9ec8c5cf8dd656ec8562c38', class: "mt-6" }, hAsync("eds-input-footer", { key: 'e9298e01dbab9aa6a98a486286b32024766348d1', id: `${this.name}-footer`, name: this.name, message: this.message, "error-message": this.errorMessage, error: this.error, link: this.link }))));
|
|
11469
11511
|
}
|
|
11470
11512
|
static get delegatesFocus() { return true; }
|
|
11471
11513
|
get hostEl() { return getElement(this); }
|
|
@@ -11517,7 +11559,7 @@ class EdsInputFooter {
|
|
|
11517
11559
|
this.link = undefined;
|
|
11518
11560
|
}
|
|
11519
11561
|
render() {
|
|
11520
|
-
return (hAsync("div", { key: '
|
|
11562
|
+
return (hAsync("div", { key: '54571d8f3c08a7a4f12e40728e02a7210ab0d345' }, this.error && this.errorMessage && (hAsync("div", { key: 'db35f0c0dfa931d55d57a9c4ad3fffaeb4cea914', id: `error_${this.name}`, class: "text-error flex items-center" }, hAsync("eds-icon-wrapper", { key: '63e401d86876829d8d2bbab887a66ef0dbd1837f', icon: "warning" }), hAsync("p", { key: '81f8b0819a7cb119353c8ac38ab1df0cafb9d36f', class: "f-ui-04 ml-4 mb-4", innerHTML: this.errorMessage }))), this.message && hAsync("p", { key: 'e5018623e2d8578864dc1f0b06d54e4a60ff9020', id: `desc_${this.name}`, class: "f-ui-05 text-lighter", innerHTML: this.message }), this.link && (hAsync("a", { key: 'e7b6bde26ae02cf07ac8b8e6461282a4ba1355ed', href: this.link.url, class: "f-ui-05 effect-color hover:text-lighter underline underline-offset-4" }, this.link.label))));
|
|
11521
11563
|
}
|
|
11522
11564
|
static get style() { return EdsInputFooterStyle0; }
|
|
11523
11565
|
static get cmpMeta() { return {
|
|
@@ -11548,7 +11590,7 @@ class EdsInputLabel {
|
|
|
11548
11590
|
this.disabled = false;
|
|
11549
11591
|
}
|
|
11550
11592
|
render() {
|
|
11551
|
-
return (hAsync("label", { key: '
|
|
11593
|
+
return (hAsync("label", { key: '90e0659383fd3be9a166457de5429385fe3bfe02', htmlFor: this.name, class: `input-label ${this.disabled ? 'text-lighter' : ''}` }, this.label, this.required && (hAsync("span", { key: '4d417c45dd636bfd5872d846e5eb89ff3694a4d4' }, hAsync("span", { key: '3924011891ee03e530fe25b269bf4231f3acd9cb', "aria-hidden": "true" }, "*"), hAsync("span", { key: '2f343b6b4ab4cbd538189cfa404210cf676eefe7', class: "sr-only" }, "required")))));
|
|
11552
11594
|
}
|
|
11553
11595
|
static get style() { return EdsInputLabelStyle0; }
|
|
11554
11596
|
static get cmpMeta() { return {
|
|
@@ -11614,7 +11656,7 @@ class EdsInputRange {
|
|
|
11614
11656
|
return this.inputElement;
|
|
11615
11657
|
}
|
|
11616
11658
|
render() {
|
|
11617
|
-
return (hAsync("div", { key: '
|
|
11659
|
+
return (hAsync("div", { key: '3fa2ef579847e66bcacc35afe202192b78a06975', class: "relative flex flex-col items-start" }, hAsync("input", { key: '669cc03e44dfa1ae8eae758f82f41939de1be625', 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: 'b3865e1bfacb423da277f4b76dfd0f3294f96cc6', id: `desc_${this.name}`, class: "block f-ui-05 mt-4 text-lighter" }, "Current value: ", this.sliderVal)));
|
|
11618
11660
|
}
|
|
11619
11661
|
get el() { return getElement(this); }
|
|
11620
11662
|
static get watchers() { return {
|
|
@@ -11709,7 +11751,7 @@ class EdsInputSearch {
|
|
|
11709
11751
|
return this.inputElement;
|
|
11710
11752
|
}
|
|
11711
11753
|
render() {
|
|
11712
|
-
return (hAsync("div", { key: '
|
|
11754
|
+
return (hAsync("div", { key: 'ad7c42baf7c54ede5dca7dd2a6916557f46d33d6', class: "relative flex items-center" }, hAsync("eds-icon-wrapper", { key: '6de80c397bae5e541de1ce3c2937bed860b58363', icon: "search", class: "absolute top-1/2 left-[4px] -translate-y-1/2 text-lightest", "aria-hidden": "true" }), hAsync("input", { key: '9637c5569c97061fde3735ecb58b6a6f81a10e15', 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}`,
|
|
11713
11755
|
//onInput={this.onInput}
|
|
11714
11756
|
onChange: this.onChange })));
|
|
11715
11757
|
}
|
|
@@ -11763,12 +11805,12 @@ class EdsInputSelect {
|
|
|
11763
11805
|
const selectId = this.inputId || this.name;
|
|
11764
11806
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11765
11807
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11766
|
-
return (hAsync("div", { key: '
|
|
11808
|
+
return (hAsync("div", { key: '06be08db809ec9970ca4d7bdbdcdf1c8f2bc8840', class: "relative" }, hAsync("select", { key: 'e4319592e6c2f0c71e0dc75ca2d854506bda70bc', id: selectId, name: this.name, class: {
|
|
11767
11809
|
input: true,
|
|
11768
11810
|
'input-error': this.error,
|
|
11769
11811
|
'px-4': true,
|
|
11770
11812
|
'py-2': true
|
|
11771
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
11813
|
+
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: 'a0ece38948f84a10ea8cd4c0a01b3f8b9730c7ef', 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: '8ce085e43d0ba6340e52b0666dc0a31abbf1a2f9', 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: '8b91b3fa3a819d04ede5d7816fcb2f04e66fd03b', class: "w-20 h-20", icon: "chevron-right" }))));
|
|
11772
11814
|
}
|
|
11773
11815
|
static get cmpMeta() { return {
|
|
11774
11816
|
"$flags$": 0,
|
|
@@ -12029,7 +12071,7 @@ class EdsLink {
|
|
|
12029
12071
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12030
12072
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12031
12073
|
: '';
|
|
12032
|
-
return (hAsync("a", { key: '
|
|
12074
|
+
return (hAsync("a", { key: 'bc82c9ea21f98ed71c812c8366ba8368c3ac5bf4', 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: 'eed89377d27a476a7d7e70a8c40f3100b8089a0b', class: "z-1 relative inline-flex items-center justify-center" }, this.renderLeftIcon(), this.label && hAsync("span", { key: 'c6d09f0c54e092e53350014d6d89b67c35a8be71', class: labelClasses }, this.label), this.renderRightIcon())));
|
|
12033
12075
|
}
|
|
12034
12076
|
get el() { return getElement(this); }
|
|
12035
12077
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12137,7 +12179,7 @@ class EdsLogo {
|
|
|
12137
12179
|
}
|
|
12138
12180
|
render() {
|
|
12139
12181
|
const logoContent = this.getLogo();
|
|
12140
|
-
return (hAsync("a", { key: '
|
|
12182
|
+
return (hAsync("a", { key: 'e5c4e4701d698282dc85561c8c434f0790fb2401', href: this.href, onClick: () => this.handleClick(), class: "eds-logo-wrapper", "aria-label": this.label }, hAsync("div", { key: '32cc8649fe67b6c4a874b5c1aaa6d4d793b4c4c7', innerHTML: logoContent })));
|
|
12141
12183
|
}
|
|
12142
12184
|
get el() { return getElement(this); }
|
|
12143
12185
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12412,9 +12454,9 @@ class EdsModal {
|
|
|
12412
12454
|
render() {
|
|
12413
12455
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12414
12456
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12415
|
-
return (hAsync("div", { key: '
|
|
12457
|
+
return (hAsync("div", { key: '29700a7b84c8728c11232aaaa526638dc6cd3156', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (hAsync("div", { key: '0cc973541fcde90a0b69a8d3b8a95e54d987fd7d', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
12416
12458
|
,
|
|
12417
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12459
|
+
onClick: () => this.close() })), hAsync("div", { key: 'd69445a547c27fccc868bee1dae9537e3e4c9d68', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, hAsync("div", { key: 'e4d3ddcadf49051ebb0fe5c1d12d40f8992a5549', 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: '6a9e5c1cb187e4684b267859f2150f485d6fcced', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), hAsync("eds-button", { key: '7c9cd571b76cc87e13f9b153c4d24844b40e47c7', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), hAsync("div", { key: '150e61106d25a1a0ecf470abf14ac5c5ba836b64', class: "pt-8 px-20 py-20" }, hAsync("slot", { key: '30100f97aa7504023e43b51fc9bebad20097b480' })))));
|
|
12418
12460
|
}
|
|
12419
12461
|
get el() { return getElement(this); }
|
|
12420
12462
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12504,13 +12546,13 @@ class EdsNps {
|
|
|
12504
12546
|
}
|
|
12505
12547
|
render() {
|
|
12506
12548
|
const count = this.max - this.min + 1;
|
|
12507
|
-
|
|
12508
|
-
return (hAsync("div", { key: '
|
|
12549
|
+
//onst fallback = 0;
|
|
12550
|
+
return (hAsync("div", { key: '3831baab086cbf44a3d1511885f15bbab23c9cd2', class: "eds-nps" }, hAsync("eds-input-label", { key: 'f9bd8a812d1b65a634dfaa7aae704218dc79468c', id: "nps-question", name: "nps-question", label: this.question }), hAsync("div", { key: '398f5225c5b4071c2570a74a9e642f5059bb7813', role: "group", id: "nps-buttons", "aria-labelledby": "nps-question", class: "grid grid-cols-11", onKeyDown: (e) => this.handleKeyNav(e) }, Array.from({ length: count }, (_, i) => {
|
|
12509
12551
|
const val = this.min + i;
|
|
12510
12552
|
const isSelected = val === this.selectedValue;
|
|
12511
|
-
const tabIndex =
|
|
12553
|
+
const tabIndex = isSelected ? 0 : -1;
|
|
12512
12554
|
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) })));
|
|
12513
|
-
})), hAsync("div", { key: '
|
|
12555
|
+
})), hAsync("div", { key: '0acafaae3f2ce522ffbc245c5733ca509d4bf3c1', class: "flex justify-between mt-8" }, hAsync("span", { key: '001e0be00b07ae2e831ea6af0c577a5eeecb9a56', class: "f-ui-04 text-light ml-4" }, this.leftLabel), hAsync("span", { key: '99a12d89ea577fb2bb9c34241a2b9f0f254c284a', class: "f-ui-04 text-light mr-4" }, this.rightLabel))));
|
|
12514
12556
|
}
|
|
12515
12557
|
get el() { return getElement(this); }
|
|
12516
12558
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12529,7 +12571,7 @@ class EdsNps {
|
|
|
12529
12571
|
}; }
|
|
12530
12572
|
}
|
|
12531
12573
|
|
|
12532
|
-
const edsPaginationCss = "ul,menu{list-style:none;margin:0;padding:0}.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-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";
|
|
12574
|
+
const edsPaginationCss = "ul,menu{list-style:none;margin:0;padding:0}.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-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-light{color:var(--grey-700)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";
|
|
12533
12575
|
var EdsPaginationStyle0 = edsPaginationCss;
|
|
12534
12576
|
|
|
12535
12577
|
/**
|
|
@@ -12772,7 +12814,7 @@ class EdsPagination {
|
|
|
12772
12814
|
if (newPage !== this.currentPage) {
|
|
12773
12815
|
this.links = this.links.map((link) => typeof link === 'object' ? Object.assign(Object.assign({}, link), { current: parseInt(link.label) === newPage }) : link);
|
|
12774
12816
|
const pageChangeEvent = new CustomEvent('page', {
|
|
12775
|
-
detail: newPage,
|
|
12817
|
+
detail: { value: newPage },
|
|
12776
12818
|
bubbles: true,
|
|
12777
12819
|
composed: true
|
|
12778
12820
|
});
|
|
@@ -12782,7 +12824,7 @@ class EdsPagination {
|
|
|
12782
12824
|
}
|
|
12783
12825
|
render() {
|
|
12784
12826
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12785
|
-
return (hAsync("div", { key: '
|
|
12827
|
+
return (hAsync("div", { key: '9379c40daaca176e67fb59918f1ca387cb4759b9' }, this.total > 0 && this.mode === 'default' && (hAsync("p", { key: 'd09f7f6b7de136987d5b52564bc60afb3775299a', class: "f-ui-03 text-light mb-28 w-full text-center", "aria-live": "polite", id: "pagination-info" }, hAsync("span", { key: '4af8f097a79c8fb0495838f06424f43e5e5dcddc', 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) => {
|
|
12786
12828
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12787
12829
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12788
12830
|
}
|
|
@@ -12989,7 +13031,7 @@ class EdsProgressBar {
|
|
|
12989
13031
|
]
|
|
12990
13032
|
.filter(Boolean)
|
|
12991
13033
|
.join(' ');
|
|
12992
|
-
return (hAsync("div", { key: '
|
|
13034
|
+
return (hAsync("div", { key: '6c273c0fae28e5a1af49eb7e6be7b9fca717a503', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: outerClasses }, hAsync("div", { key: 'a46a83e9086471adde1837e59d909096d59e7882', class: fillClasses, style: { width: `${progressValue}%` } }), hAsync("div", { key: '193f2efa8259e7facacba374fff8087e9702c246', class: "absolute inset-0 flex items-center justify-center pointer-events-none z-10" }, hAsync("span", { key: 'e3454f3507d2a30245671698752a7f0f26baff57', class: "text-default f-body-02" }, progressValue, "%"))));
|
|
12993
13035
|
}
|
|
12994
13036
|
static get style() { return EdsProgressBarStyle0; }
|
|
12995
13037
|
static get cmpMeta() { return {
|
|
@@ -13072,12 +13114,12 @@ class EdsRating {
|
|
|
13072
13114
|
this.onSelect(next);
|
|
13073
13115
|
}
|
|
13074
13116
|
render() {
|
|
13075
|
-
return (hAsync("div", { key: '
|
|
13117
|
+
return (hAsync("div", { key: 'a7fc18897f2901f60432432899da18861e76edf6', 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) => {
|
|
13076
13118
|
const starRating = index + 1;
|
|
13077
13119
|
const isSelected = starRating <= this.selectedRating;
|
|
13078
13120
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
13079
13121
|
const checked = this.selectedRating === starRating;
|
|
13080
|
-
return (hAsync("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType,
|
|
13122
|
+
return (hAsync("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType, "aria-label": `${starRating} ${this.ratingType}${starRating > 1 ? 's' : ''}`, onClick: () => this.onSelect(starRating), tabIndex: checked || (this.selectedRating === 0 && index === 0) ? 0 : -1, intent: isSelected ? 'primary' : 'ghost', size: "large", "extra-class": "p-2" // Optional padding or styling for the star button
|
|
13081
13123
|
}));
|
|
13082
13124
|
})));
|
|
13083
13125
|
}
|
|
@@ -13122,7 +13164,7 @@ class EdsSectionCore {
|
|
|
13122
13164
|
}
|
|
13123
13165
|
render() {
|
|
13124
13166
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13125
|
-
return (hAsync(TagType, { key: '
|
|
13167
|
+
return (hAsync(TagType, { key: '99f87da56df0ac4b5b28ce721288507beb0cd431' }, hAsync("eds-section-heading", { key: '101137aa9637a95580393a52e7f41d71e8ae8e8b', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '0b6a6131d8e1e2528982571cf7ba617736a34173' })));
|
|
13126
13168
|
}
|
|
13127
13169
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13128
13170
|
static get cmpMeta() { return {
|
|
@@ -13177,12 +13219,12 @@ class EdsSectionHeading {
|
|
|
13177
13219
|
render() {
|
|
13178
13220
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13179
13221
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13180
|
-
return (hAsync(TagType, { key: '
|
|
13222
|
+
return (hAsync(TagType, { key: '2af16d4d21378244ba843b619b3fd4f283b3e179', class: {
|
|
13181
13223
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13182
13224
|
container: this.withContainer,
|
|
13183
13225
|
'pt-48': this.spacingLarge,
|
|
13184
13226
|
'pt-28': !this.spacingLarge
|
|
13185
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13227
|
+
} }, hAsync(HeadingTag, { key: '8caa529d940fd5d2f7e8f49f7b8e5f2572712f9e', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13186
13228
|
}
|
|
13187
13229
|
static get cmpMeta() { return {
|
|
13188
13230
|
"$flags$": 0,
|
|
@@ -13200,7 +13242,7 @@ class EdsSectionHeading {
|
|
|
13200
13242
|
}; }
|
|
13201
13243
|
}
|
|
13202
13244
|
|
|
13203
|
-
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.
|
|
13245
|
+
const edsSocialNetworksCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.mt-12{margin-top:0.75rem}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.gap-4{gap:0.25rem}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.hover\\:text-default:hover{color:var(--black)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-sm{border-radius:8px}";
|
|
13204
13246
|
var EdsSocialNetworksStyle0 = edsSocialNetworksCss;
|
|
13205
13247
|
|
|
13206
13248
|
/**
|
|
@@ -13254,11 +13296,9 @@ class EdsSocialNetworks {
|
|
|
13254
13296
|
/**
|
|
13255
13297
|
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
13256
13298
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13257
|
-
*
|
|
13258
|
-
* @returns {JSX.Element} The rendered JSX for the component.
|
|
13259
13299
|
*/
|
|
13260
13300
|
render() {
|
|
13261
|
-
return (hAsync("
|
|
13301
|
+
return (hAsync("nav", { key: '62692c53f820ff5d6569e42af692063ad8918cdd', "aria-label": "Social media" }, hAsync("p", { key: 'a571612ba3c1b669e0145484bec4d480b17c1979', class: "f-ui-02" }, this.heading), hAsync("ul", { key: 'c0cc02cd5eebf16130f7b09fb8f11319695fdccb', 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" })))))));
|
|
13262
13302
|
}
|
|
13263
13303
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13264
13304
|
static get cmpMeta() { return {
|
|
@@ -13349,7 +13389,7 @@ class EdsSpinner {
|
|
|
13349
13389
|
alignItems: 'center',
|
|
13350
13390
|
justifyContent: 'center'
|
|
13351
13391
|
};
|
|
13352
|
-
return (hAsync(Host, { key: '
|
|
13392
|
+
return (hAsync(Host, { key: 'b10a5d28d0b06e7b36276fb814e3b8b57b767094' }, hAsync("div", { key: '8f2205bb74775c16660d35f80bf880ac9c39d725', class: "spinner-overlay", style: overlayStyle }, hAsync("span", { key: 'f681700791c6c10ea63473f34719a873757bcf5e', class: "spinner", style: spinnerStyle }), this.message && hAsync("p", { key: 'b0afdd60a6c74fd740626cb7da3402a9a5075e34', class: "f-body-01" }, this.message))));
|
|
13353
13393
|
}
|
|
13354
13394
|
static get style() { return EdsSpinnerStyle0; }
|
|
13355
13395
|
static get cmpMeta() { return {
|
|
@@ -13433,40 +13473,60 @@ class EdsSplashScreen {
|
|
|
13433
13473
|
}; }
|
|
13434
13474
|
}
|
|
13435
13475
|
|
|
13436
|
-
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
|
|
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}";
|
|
13437
13477
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13438
13478
|
|
|
13439
13479
|
class EdsSteps {
|
|
13440
13480
|
constructor(hostRef) {
|
|
13441
13481
|
registerInstance(this, hostRef);
|
|
13442
13482
|
this.step = createEvent(this, "step", 7);
|
|
13483
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13484
|
+
this.next = createEvent(this, "next", 7);
|
|
13485
|
+
this.back = createEvent(this, "back", 7);
|
|
13443
13486
|
this.handleNext = () => {
|
|
13444
|
-
|
|
13445
|
-
if (this.activeStep
|
|
13446
|
-
this.
|
|
13487
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13488
|
+
if (this.activeStep >= lastIndex) {
|
|
13489
|
+
this.finished.emit();
|
|
13490
|
+
return;
|
|
13491
|
+
}
|
|
13492
|
+
const target = this.activeStep + 1;
|
|
13493
|
+
this.next.emit(target);
|
|
13494
|
+
if (this.isNextDisabledFor(this.activeStep)) {
|
|
13495
|
+
return;
|
|
13496
|
+
} // block advance only if current is disabled
|
|
13497
|
+
this.activeStep = target;
|
|
13498
|
+
this.step.emit(this.activeStep);
|
|
13499
|
+
// 2) if using the boolean form, clear it when moving away from a step
|
|
13500
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13501
|
+
this.disableNext = false;
|
|
13447
13502
|
}
|
|
13448
13503
|
};
|
|
13449
13504
|
this.handleBack = () => {
|
|
13450
13505
|
if (this.activeStep > 0) {
|
|
13451
|
-
|
|
13506
|
+
const target = this.activeStep - 1;
|
|
13507
|
+
this.back.emit(target);
|
|
13508
|
+
this.activeStep = target;
|
|
13452
13509
|
this.step.emit(this.activeStep);
|
|
13510
|
+
// also clear boolean form on back
|
|
13511
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13512
|
+
this.disableNext = false;
|
|
13513
|
+
}
|
|
13453
13514
|
}
|
|
13454
13515
|
};
|
|
13455
13516
|
this.steps = [];
|
|
13456
13517
|
this.type = 'static';
|
|
13518
|
+
this.nextLabel = 'Next';
|
|
13519
|
+
this.backLabel = 'Back';
|
|
13520
|
+
this.finishLabel = 'Finish';
|
|
13521
|
+
this.disableNext = false;
|
|
13522
|
+
this.headingLevel = 'h4';
|
|
13457
13523
|
this.activeStep = 0;
|
|
13458
13524
|
}
|
|
13459
|
-
/**
|
|
13460
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
13461
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
13462
|
-
*/
|
|
13463
13525
|
componentDidLoad() {
|
|
13464
13526
|
var _a;
|
|
13465
13527
|
if (this.type === 'linear') {
|
|
13466
13528
|
const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
|
|
13467
|
-
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) =>
|
|
13468
|
-
this.emitContext(btn);
|
|
13469
|
-
});
|
|
13529
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
|
|
13470
13530
|
}
|
|
13471
13531
|
}
|
|
13472
13532
|
activeStepChanged(newValue) {
|
|
@@ -13474,19 +13534,10 @@ class EdsSteps {
|
|
|
13474
13534
|
var _a;
|
|
13475
13535
|
const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
|
|
13476
13536
|
if (activeStepContainer) {
|
|
13477
|
-
|
|
13478
|
-
btns.forEach((btn) => {
|
|
13479
|
-
this.emitContext(btn);
|
|
13480
|
-
});
|
|
13537
|
+
activeStepContainer.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
|
|
13481
13538
|
}
|
|
13482
13539
|
}, 50);
|
|
13483
13540
|
}
|
|
13484
|
-
/**
|
|
13485
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
13486
|
-
* This event provides context information about the breadcrumb component.
|
|
13487
|
-
*
|
|
13488
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
13489
|
-
*/
|
|
13490
13541
|
emitContext(linkElement) {
|
|
13491
13542
|
const event = new CustomEvent('parentContext', {
|
|
13492
13543
|
detail: {
|
|
@@ -13496,26 +13547,29 @@ class EdsSteps {
|
|
|
13496
13547
|
});
|
|
13497
13548
|
linkElement.dispatchEvent(event);
|
|
13498
13549
|
}
|
|
13499
|
-
handleStepClick(index) {
|
|
13500
|
-
this.step.emit(index);
|
|
13501
|
-
// In linear mode, update the active step on header click.
|
|
13502
|
-
if (this.type === 'linear') {
|
|
13503
|
-
this.activeStep = index;
|
|
13504
|
-
}
|
|
13505
|
-
}
|
|
13506
|
-
/**
|
|
13507
|
-
* Parse the JSON string into an array of steps.
|
|
13508
|
-
*/
|
|
13509
13550
|
get parsedSteps() {
|
|
13510
13551
|
return parseData(this.steps);
|
|
13511
13552
|
}
|
|
13553
|
+
isNextDisabledFor(index) {
|
|
13554
|
+
return Array.isArray(this.disableNext)
|
|
13555
|
+
? !!this.disableNext[index] // per-step
|
|
13556
|
+
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13557
|
+
}
|
|
13558
|
+
/** Render the semantic heading element */
|
|
13559
|
+
renderHeading(title) {
|
|
13560
|
+
const Tag = this.headingLevel;
|
|
13561
|
+
return hAsync(Tag, null, title);
|
|
13562
|
+
}
|
|
13512
13563
|
render() {
|
|
13513
13564
|
const steps = this.parsedSteps;
|
|
13514
13565
|
if (this.type === 'linear') {
|
|
13515
|
-
return (hAsync("div",
|
|
13566
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13567
|
+
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}` })))));
|
|
13569
|
+
})));
|
|
13516
13570
|
}
|
|
13517
|
-
// Static
|
|
13518
|
-
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index },
|
|
13571
|
+
// 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 }))))))));
|
|
13519
13573
|
}
|
|
13520
13574
|
get el() { return getElement(this); }
|
|
13521
13575
|
static get watchers() { return {
|
|
@@ -13528,30 +13582,49 @@ class EdsSteps {
|
|
|
13528
13582
|
"$members$": {
|
|
13529
13583
|
"steps": [1],
|
|
13530
13584
|
"type": [1],
|
|
13585
|
+
"nextLabel": [1, "next-label"],
|
|
13586
|
+
"backLabel": [1, "back-label"],
|
|
13587
|
+
"finishLabel": [1, "finish-label"],
|
|
13588
|
+
"disableNext": [1028, "disable-next"],
|
|
13589
|
+
"headingLevel": [513, "heading-level"],
|
|
13531
13590
|
"activeStep": [32]
|
|
13532
13591
|
},
|
|
13533
13592
|
"$listeners$": undefined,
|
|
13534
13593
|
"$lazyBundleId$": "-",
|
|
13535
|
-
"$attrsToReflect$": []
|
|
13594
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13536
13595
|
}; }
|
|
13537
13596
|
}
|
|
13538
13597
|
|
|
13539
|
-
const edsStepsV2Css = "
|
|
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}";
|
|
13540
13599
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13541
13600
|
|
|
13542
13601
|
class EdsStepsV2 {
|
|
13543
13602
|
constructor(hostRef) {
|
|
13544
13603
|
registerInstance(this, hostRef);
|
|
13545
13604
|
this.step = createEvent(this, "step", 7);
|
|
13605
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13606
|
+
this.next = createEvent(this, "next", 7);
|
|
13607
|
+
this.back = createEvent(this, "back", 7);
|
|
13546
13608
|
this.handleNext = () => {
|
|
13547
|
-
|
|
13548
|
-
if (this.activeStep
|
|
13609
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13610
|
+
if (this.activeStep >= lastIndex) {
|
|
13611
|
+
// Finish
|
|
13612
|
+
this.finished.emit();
|
|
13613
|
+
return;
|
|
13614
|
+
}
|
|
13615
|
+
// Next
|
|
13616
|
+
const target = this.activeStep + 1;
|
|
13617
|
+
this.next.emit(target);
|
|
13618
|
+
if (!this.disableNext) {
|
|
13619
|
+
this.activeStep = target;
|
|
13549
13620
|
this.step.emit(this.activeStep);
|
|
13550
13621
|
}
|
|
13551
13622
|
};
|
|
13552
13623
|
this.handleBack = () => {
|
|
13553
13624
|
if (this.activeStep > 0) {
|
|
13554
|
-
|
|
13625
|
+
const target = this.activeStep - 1;
|
|
13626
|
+
this.back.emit(target);
|
|
13627
|
+
this.activeStep = target;
|
|
13555
13628
|
this.step.emit(this.activeStep);
|
|
13556
13629
|
}
|
|
13557
13630
|
};
|
|
@@ -13561,6 +13634,11 @@ class EdsStepsV2 {
|
|
|
13561
13634
|
this.imageWidth = undefined;
|
|
13562
13635
|
this.bg = true;
|
|
13563
13636
|
this.message = undefined;
|
|
13637
|
+
this.nextLabel = 'Next';
|
|
13638
|
+
this.backLabel = 'Back';
|
|
13639
|
+
this.finishLabel = 'Finish';
|
|
13640
|
+
this.disableNext = false;
|
|
13641
|
+
this.headingLevel = 'h4';
|
|
13564
13642
|
this.activeStep = 0;
|
|
13565
13643
|
}
|
|
13566
13644
|
componentDidLoad() {
|
|
@@ -13599,24 +13677,22 @@ class EdsStepsV2 {
|
|
|
13599
13677
|
'border-softer effect-focus-within relative rounded-lg border-2'
|
|
13600
13678
|
].join(' ');
|
|
13601
13679
|
}
|
|
13602
|
-
handleStepClick(index) {
|
|
13603
|
-
this.step.emit(index);
|
|
13604
|
-
// In linear mode, update the active step on header click.
|
|
13605
|
-
if (this.type === 'linear') {
|
|
13606
|
-
this.activeStep = index;
|
|
13607
|
-
}
|
|
13608
|
-
}
|
|
13609
13680
|
/**
|
|
13610
13681
|
* Parses the steps property into an array of Step objects.
|
|
13611
13682
|
*/
|
|
13612
13683
|
get parsedSteps() {
|
|
13613
13684
|
return parseData(this.steps);
|
|
13614
13685
|
}
|
|
13686
|
+
/** Render the semantic heading element */
|
|
13687
|
+
renderHeading(title) {
|
|
13688
|
+
const Tag = this.headingLevel;
|
|
13689
|
+
return hAsync(Tag, null, title);
|
|
13690
|
+
}
|
|
13615
13691
|
render() {
|
|
13616
13692
|
const steps = this.parsedSteps;
|
|
13617
|
-
return (hAsync("div", { key: '
|
|
13693
|
+
return (hAsync("div", { key: '1ff00f17a85e9a3a9d7bef23694560acd77e7ee4', 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: 'a0328e80df5d9447cfa5378eb9e45925f1f68c69', 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), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16" }, 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" }))))))))) : (
|
|
13618
13694
|
// Static mode: show all steps with their content.
|
|
13619
|
-
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index },
|
|
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 })))))))))));
|
|
13620
13696
|
}
|
|
13621
13697
|
get el() { return getElement(this); }
|
|
13622
13698
|
static get watchers() { return {
|
|
@@ -13633,11 +13709,16 @@ class EdsStepsV2 {
|
|
|
13633
13709
|
"imageWidth": [2, "image-width"],
|
|
13634
13710
|
"bg": [4],
|
|
13635
13711
|
"message": [1],
|
|
13712
|
+
"nextLabel": [1, "next-label"],
|
|
13713
|
+
"backLabel": [1, "back-label"],
|
|
13714
|
+
"finishLabel": [1, "finish-label"],
|
|
13715
|
+
"disableNext": [4, "disable-next"],
|
|
13716
|
+
"headingLevel": [513, "heading-level"],
|
|
13636
13717
|
"activeStep": [32]
|
|
13637
13718
|
},
|
|
13638
13719
|
"$listeners$": undefined,
|
|
13639
13720
|
"$lazyBundleId$": "-",
|
|
13640
|
-
"$attrsToReflect$": []
|
|
13721
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13641
13722
|
}; }
|
|
13642
13723
|
}
|
|
13643
13724
|
|
|
@@ -13691,11 +13772,11 @@ class EdsSwitch {
|
|
|
13691
13772
|
: this.labelOff
|
|
13692
13773
|
: 'Toggle switch'
|
|
13693
13774
|
: undefined;
|
|
13694
|
-
return (hAsync("div", { key: '
|
|
13775
|
+
return (hAsync("div", { key: '95a833cbe8e736d7e747f6fdd8504dd8c169ea60', class: "switch-container" }, this.labelOff && (hAsync("span", { key: 'a88de63c35409ab244a6cba5bd70a10728a08b2a', id: `${switchId}-off`, class: "switch-label switch-label--off mr-8" }, this.labelOff)), hAsync("button", { key: 'd6573f05164f2b57063e9a97c3b983f32700bd7a', 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: {
|
|
13695
13776
|
switch: true,
|
|
13696
13777
|
'switch--checked': this.checked,
|
|
13697
13778
|
'switch--disabled': this.disabled
|
|
13698
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
13779
|
+
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '35e6da3bb76779bfaad04d8990dec419524fb543', class: "switch-handle" })), this.labelOn && (hAsync("span", { key: 'b14243d9d45dbdddb9473ad2c5696e07be9831d3', id: `${switchId}-on`, class: "switch-label switch-label--on ml-8" }, this.labelOn))));
|
|
13699
13780
|
}
|
|
13700
13781
|
get el() { return getElement(this); }
|
|
13701
13782
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -13714,7 +13795,7 @@ class EdsSwitch {
|
|
|
13714
13795
|
}; }
|
|
13715
13796
|
}
|
|
13716
13797
|
|
|
13717
|
-
const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
|
|
13798
|
+
const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.p-4{padding:0.25rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-8{padding-left:0.5rem;padding-right:0.5rem}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
|
|
13718
13799
|
var EdsTableStyle0 = edsTableCss;
|
|
13719
13800
|
|
|
13720
13801
|
/**
|
|
@@ -13852,7 +13933,7 @@ class EdsTable {
|
|
|
13852
13933
|
}
|
|
13853
13934
|
const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
|
|
13854
13935
|
if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
|
|
13855
|
-
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail));
|
|
13936
|
+
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail.value));
|
|
13856
13937
|
paginationEl.setAttribute('listener-attached', 'true');
|
|
13857
13938
|
}
|
|
13858
13939
|
}
|
|
@@ -13901,7 +13982,9 @@ class EdsTable {
|
|
|
13901
13982
|
return (hAsync("eds-input-field", { name: `chc-${actionName}`, label: act.label, type: "checkbox", checked: checked, onChange: (e) => this.emitAction(act.name, row, e.target.checked) }));
|
|
13902
13983
|
}
|
|
13903
13984
|
// Let all action buttons be focusable naturally
|
|
13904
|
-
|
|
13985
|
+
const showLabel = act.showLabel === true;
|
|
13986
|
+
const btn = (hAsync("eds-button", { icon: act.icon, label: showLabel ? act.label : null, iconPos: "left", pill: true, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(act.name, row) }));
|
|
13987
|
+
return showLabel ? btn : hAsync("eds-tooltip", { content: act.label }, btn);
|
|
13905
13988
|
}
|
|
13906
13989
|
emitAction(actionName, row, checked) {
|
|
13907
13990
|
sendAnalytics({
|
|
@@ -13947,7 +14030,7 @@ class EdsTable {
|
|
|
13947
14030
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
13948
14031
|
const paginatedRows = this.getPaginatedRows();
|
|
13949
14032
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
13950
|
-
return (hAsync("div", { key: '
|
|
14033
|
+
return (hAsync("div", { key: '67cfdabc741af13585699e43e67ba0d204a60706' }, this.searchEnabled && (hAsync("div", { key: '208240b9832f9b2e9645cc9d7315a43bd47b54b3' }, 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: '893924497d1535b7d29bc0b64ba48f4a3e366c43', class: "mt-20" }, hAsync("table", { key: 'a019fa4f2886d4c2aa4bddc88dc7b6d7aa63fdcb', class: "block overflow-x-auto mt-6 p-0" }, hAsync("thead", { key: 'a6360fea59c605878e443a23cf45d0f8a9644140' }, hAsync("tr", { key: '09702e8838f32c52bf6314b59ec598c6fa55d609', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
13951
14034
|
var _a;
|
|
13952
14035
|
if (col === 'actions') {
|
|
13953
14036
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -13956,7 +14039,7 @@ class EdsTable {
|
|
|
13956
14039
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
13957
14040
|
}
|
|
13958
14041
|
return null;
|
|
13959
|
-
}))), hAsync("tbody", { key: '
|
|
14042
|
+
}))), hAsync("tbody", { key: '5cdb3697e6c84921a823b40714a497f02c82e360' }, paginatedRows.map((row) => (hAsync("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
13960
14043
|
var _a;
|
|
13961
14044
|
if (col === 'actions') {
|
|
13962
14045
|
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: {
|
|
@@ -13971,7 +14054,7 @@ class EdsTable {
|
|
|
13971
14054
|
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)));
|
|
13972
14055
|
}
|
|
13973
14056
|
return null;
|
|
13974
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14057
|
+
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: 'f5af2cd6e65c3ed55ec2810ec4b1e3f891866271', class: "mt-20" }, hAsync("eds-pagination", { key: '32965384707df502fb197712c73bb290e38ce040', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
13975
14058
|
}
|
|
13976
14059
|
get hostEl() { return getElement(this); }
|
|
13977
14060
|
static get watchers() { return {
|
|
@@ -14182,12 +14265,12 @@ class EdsTabs {
|
|
|
14182
14265
|
}
|
|
14183
14266
|
}
|
|
14184
14267
|
render() {
|
|
14185
|
-
return (hAsync("div", { key: '
|
|
14268
|
+
return (hAsync("div", { key: '7cb51cf475d45ee3e43877ee4d42565f5930613a', id: `${this.identifier}` }, hAsync("div", { key: '4f3c6d23f9084f07e5728b72310b96798d20b724', 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: '4d55e72e9f437cef8be06931445f619196a973a7', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
14186
14269
|
const TabComponent = 'button';
|
|
14187
14270
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14188
14271
|
const isActive = index === this.activeIndex;
|
|
14189
14272
|
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));
|
|
14190
|
-
}))), hAsync("div", { key: '
|
|
14273
|
+
}))), hAsync("div", { key: 'e75f877da39c25e912853fea5dc2438fc15c67b5', 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}` })))))));
|
|
14191
14274
|
}
|
|
14192
14275
|
get el() { return getElement(this); }
|
|
14193
14276
|
static get watchers() { return {
|
|
@@ -14250,7 +14333,7 @@ class EdsTag {
|
|
|
14250
14333
|
}
|
|
14251
14334
|
render() {
|
|
14252
14335
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14253
|
-
return hAsync("span", { key: '
|
|
14336
|
+
return hAsync("span", { key: 'e3fe041e8783a7d1bb5a281eb154e3c07851da38', class: classes }, this.label);
|
|
14254
14337
|
}
|
|
14255
14338
|
static get style() { return EdsTagStyle0; }
|
|
14256
14339
|
static get cmpMeta() { return {
|
|
@@ -14312,7 +14395,7 @@ class EdsTimeline {
|
|
|
14312
14395
|
}
|
|
14313
14396
|
}
|
|
14314
14397
|
render() {
|
|
14315
|
-
return (hAsync("div", { key: '
|
|
14398
|
+
return (hAsync("div", { key: 'c3362fa23185787a8d5a974f1f53978569e28a63', class: "max-w-sidebar mx-auto px-4 py-8" }, hAsync("div", { key: '59f85c0ae88876cf891b8fd2852cb15426f05c2a', class: "relative" }, hAsync("div", { key: '89fc0969c72ba183dee530a428d6d1d9421b2764', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), hAsync("div", { key: '190262fe1b382ac41fba398d05e640d0db746fe9', 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
|
|
14316
14399
|
? [{ label: 'completed', style: 'accent' }]
|
|
14317
14400
|
: [{ 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
|
|
14318
14401
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14486,7 +14569,7 @@ class EdsToastManager {
|
|
|
14486
14569
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14487
14570
|
}
|
|
14488
14571
|
render() {
|
|
14489
|
-
return (hAsync("div", { key: '
|
|
14572
|
+
return (hAsync("div", { key: '27172b1f3c76ebb460c35ea070eeff330390ed7d', 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) }))))));
|
|
14490
14573
|
}
|
|
14491
14574
|
get hostElement() { return getElement(this); }
|
|
14492
14575
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14502,7 +14585,7 @@ class EdsToastManager {
|
|
|
14502
14585
|
}; }
|
|
14503
14586
|
}
|
|
14504
14587
|
|
|
14505
|
-
const edsTooltipCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.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)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{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-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))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}";
|
|
14588
|
+
const edsTooltipCss = ".relative{position:relative}.absolute{position:absolute}.inline-block{display:inline-block}.rounded-xs{border-radius:4px}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.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)}.pointer-events-none{pointer-events:none}.left-1\\/2{left:50%}.z-10{z-index:10}.transform{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-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))}.whitespace-nowrap{white-space:nowrap}.p-6{padding:0.375rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.top-full{top:100%}.bottom-full{bottom:100%}.right-full{right:100%}.left-full{left:100%}.mr-2{margin-right:0.125rem}.ml-2{margin-left:0.125rem}.mt-2{margin-top:0.125rem}.mb-2{margin-bottom:0.125rem}.opacity-0{opacity:0}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-150{transition-duration:150ms}.ease-in-out{transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1)}.group:hover .group-hover\\:opacity-100{opacity:1}.max-w-\\[20rem\\]{max-width:20rem}.whitespace-normal{white-space:normal}.break-words{overflow-wrap:break-word}.w-full{width:100%}";
|
|
14506
14589
|
var EdsTooltipStyle0 = edsTooltipCss;
|
|
14507
14590
|
|
|
14508
14591
|
/**
|
|
@@ -14525,10 +14608,10 @@ class EdsTooltip {
|
|
|
14525
14608
|
}
|
|
14526
14609
|
render() {
|
|
14527
14610
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14528
|
-
return (hAsync("div", { key: '
|
|
14611
|
+
return (hAsync("div", { key: '135df7d17db03fb3bb7bbcc50ad9ee5d84a2bca2', class: "relative w-full inline-block group" }, hAsync("slot", { key: '4c12874eeb942e33f9c62ea6f1077fd051f683b6' }), hAsync("div", { key: '8bb7173d16889b2ae550dc0269d9e47e1dae00ac', class: `absolute ${positionClass}
|
|
14529
14612
|
rounded-xs bg-strongest text-inverse
|
|
14530
14613
|
f-ui-03-light pointer-events-none
|
|
14531
|
-
z-10
|
|
14614
|
+
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
14532
14615
|
group-hover:opacity-100 whitespace-normal break-words`, role: "tooltip" }, this.content)));
|
|
14533
14616
|
}
|
|
14534
14617
|
get el() { return getElement(this); }
|
|
@@ -14589,7 +14672,7 @@ class EdsTrl {
|
|
|
14589
14672
|
Application: { format: 'code' },
|
|
14590
14673
|
'Current TRL Stage': { format: 'text' }
|
|
14591
14674
|
};
|
|
14592
|
-
return (hAsync("div", { key: '
|
|
14675
|
+
return (hAsync("div", { key: '42873472d353599cbc2903b00ff03f0f802f1120', class: "container mx-auto px-4 py-8" }, hAsync("eds-table", { key: '980a4d934f0554fefd34f8c4631f305d45f81bc3', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
14593
14676
|
}
|
|
14594
14677
|
static get cmpMeta() { return {
|
|
14595
14678
|
"$flags$": 0,
|
|
@@ -14615,7 +14698,12 @@ var EdsUserStyle0 = edsUserCss;
|
|
|
14615
14698
|
class EdsUser {
|
|
14616
14699
|
constructor(hostRef) {
|
|
14617
14700
|
registerInstance(this, hostRef);
|
|
14701
|
+
this.handleDropdown = (e) => {
|
|
14702
|
+
this.expanded = e.detail.expanded;
|
|
14703
|
+
};
|
|
14618
14704
|
this.user = undefined;
|
|
14705
|
+
this.intent = 'tertiary';
|
|
14706
|
+
this.expanded = false;
|
|
14619
14707
|
}
|
|
14620
14708
|
/**
|
|
14621
14709
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14641,7 +14729,8 @@ class EdsUser {
|
|
|
14641
14729
|
}
|
|
14642
14730
|
render() {
|
|
14643
14731
|
const user = this.parsedUser;
|
|
14644
|
-
|
|
14732
|
+
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
14733
|
+
return (hAsync("div", { key: '965387104c4bd6cd3223c08f16d90146c098594c', class: "block" }, hAsync("div", { key: '37fe5539cb058112ebe0d910439acb55b5abccd8', class: "flex items-center" }, hAsync("eds-dropdown", { key: '17afc8dbae191aec1202ba04d85c41ed656a8c5b', label: `Hi, ${user.preferred_username}`, intent: this.intent, "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: iconName, class: "text-default", onDropdown: this.handleDropdown }, hAsync("div", { key: '0228c1728b0b73e2504d2608339f9be408be09b8', class: "min-w-[280px] p-8" }, hAsync("div", { key: 'b83148ff8249bde91842b036da5506f9f5cbb145', class: "flex gap-x-16" }, hAsync("eds-avatar", { key: '243a05bae2e4e592dc386b1897d824232d0bcfa6', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "black" }), hAsync("div", { key: '6938f54621aa89e61aa6639e8c88af4e262e0fec', class: "max-w-full" }, user.name && hAsync("p", { key: '224ce5cf6819a9dd0c3794410a94da30cc4213bf', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && hAsync("p", { key: '096ac761149763ef4305ef5e9bf1f4b593a0fe4f', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && hAsync("p", { key: '79f7da3c6c5efc1f521991c403184cf050b3d2e7', class: "f-ui-03-light text-light mt-4" }, user.email))), hAsync("div", { key: '52ce98bcc290902605ebd427ee8ab72ac9af3d62', class: "text-default flex w-full flex-col gap-y-8" }, hAsync("slot", { key: '88d1b250c434830347e0eb813214382ce899c485' })))))));
|
|
14645
14734
|
}
|
|
14646
14735
|
get hostEl() { return getElement(this); }
|
|
14647
14736
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14649,7 +14738,9 @@ class EdsUser {
|
|
|
14649
14738
|
"$flags$": 9,
|
|
14650
14739
|
"$tagName$": "eds-user",
|
|
14651
14740
|
"$members$": {
|
|
14652
|
-
"user": [1025]
|
|
14741
|
+
"user": [1025],
|
|
14742
|
+
"intent": [1],
|
|
14743
|
+
"expanded": [32]
|
|
14653
14744
|
},
|
|
14654
14745
|
"$listeners$": undefined,
|
|
14655
14746
|
"$lazyBundleId$": "-",
|
|
@@ -14692,7 +14783,7 @@ class GradientPrimaryPalette {
|
|
|
14692
14783
|
];
|
|
14693
14784
|
}
|
|
14694
14785
|
render() {
|
|
14695
|
-
return (hAsync("ul", { key: '
|
|
14786
|
+
return (hAsync("ul", { key: '1a8020d4141fdd0e5849eeec1f474a9e423df044', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14696
14787
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14697
14788
|
} }, 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))))))));
|
|
14698
14789
|
}
|
|
@@ -14765,19 +14856,19 @@ class GradientSecondaryPalette {
|
|
|
14765
14856
|
];
|
|
14766
14857
|
}
|
|
14767
14858
|
render() {
|
|
14768
|
-
return (hAsync("div", { key: '
|
|
14859
|
+
return (hAsync("div", { key: '3f2934f897c4cc6f620542a1ba4283c1d5a33df9' }, hAsync("ul", { key: 'aaaf0f3c8930efd24ed43c2a921821442dd73050', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '52df1b6804670c365e43dc704d9ac5b8b15715a8', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'c301ab6086f2c1c9596336a2ad971242d1e21083', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14769
14860
|
background: this.colors[0].background
|
|
14770
|
-
} }, hAsync("div", { key: '
|
|
14861
|
+
} }, hAsync("div", { key: '2b25b2b94472be6cf429f3698f0b867b779d5289', class: "grid" }, hAsync("span", { key: 'dcd99303196abf883d50d9f0e3d952a5ab8213ea', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: 'b7bf94422eddb9d39463f261275cc2d2264c09a1', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '9ba5dec72e690f1612361102191dfa35da9f6260', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '594086b8cca19613c8470f018f01dc4f006cf0ea', class: "grid" }, hAsync("span", { key: '2c5b9af8a63edb49b863a491b2d05c03bf1d4074', class: "f-body-02" }, this.colors[0].pantoneC), hAsync("span", { key: 'ca8b44a7f414459f63398ed1f77c60e9ab5f3cc1', class: "f-body-02" }, this.colors[0].pantoneU))), hAsync("div", { key: 'f97f1c58886e6802e4c4ef7601570bcf39a34d33', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14771
14862
|
background: this.colors[1].background
|
|
14772
|
-
} }, hAsync("div", { key: '
|
|
14863
|
+
} }, hAsync("div", { key: 'fe4232938f50f1ed4438fbda528e825924317bb1', class: "grid" }, hAsync("span", { key: '17fd45986226dc01589a6214c9c409ea7b83a2b7', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '78a16b2a247b3b7ef9ba55fcea86a46414d48dd4', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '5ba4c6cb2a15ba812ad2155f03279e45a4eb5470', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'e3459241ff6aee17dcca8b40c6d032c39eb85dcb', class: "grid" }, hAsync("span", { key: 'cc3085e05ddc7d1837ab73aba82562ca10dc5ad8', class: "f-body-02" }, this.colors[1].pantoneC), hAsync("span", { key: '40e81ff1064c79bc1217d7548d9af3f0aa71820b', class: "f-body-02" }, this.colors[1].pantoneU))))), hAsync("eds-block-break", { key: '7748f6c8cc03b4e8107da154294263408238bc72' }), hAsync("ul", { key: '371c71de57cce47d517fbc5e070b5abc7249d1d1', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '368f86411b9f0b09ade201b7ed95e2e571c92b86', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'e311b5b80115d467ffd03b222017d422def6c157', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14773
14864
|
background: this.colors[2].background
|
|
14774
|
-
} }, hAsync("div", { key: '
|
|
14865
|
+
} }, hAsync("div", { key: '7b8dfb5ee427559431a5ebb64d0fe62b0611e809', class: "grid" }, hAsync("span", { key: '607edea5d452ed3b6cde489eb1bd86d4b0fff9af', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '6cdeef4b8a3c443274334cfd42c2793b54e1fe02', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: '0632e3bb77e36fe5dca4cc4177ff9cabd52a0139', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '0036eb061196835f1406a7e50aab44fcab32d308', class: "grid" }, hAsync("span", { key: 'c26f3a1e9a0ab48883e0e70986c21b11a0b7b014', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '46f7a99fcfbf3aa8a6b9d03f4b3fe4733d1d2133', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: 'f4c1504965dc6e26aeeb580f16b2934f3f5038df', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14775
14866
|
background: this.colors[3].background
|
|
14776
|
-
} }, hAsync("div", { key: '
|
|
14867
|
+
} }, hAsync("div", { key: 'be7223a1145d57111f1db9aff6ff362f6338e526', class: "grid" }, hAsync("span", { key: 'de3f52cc909b249e3bfb327a8d4404cf22d9f79f', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: '44ee6cf212e334ef7b825add5754288382d98cc7', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'e3f55aaa3015811c4186e09a68ec3c5fde3a8e0a', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'fd2196253e2d01363143862935eeac2b9e16ee4a', class: "grid" }, hAsync("span", { key: 'd27d7ed13497d0e3c81a9d01a02b4fa48390613e', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '85f65a7bf51b56e03e17448eaf8a2b1cf67b13f9', class: "f-body-02" }, this.colors[3].pantoneU))))), hAsync("eds-block-break", { key: 'c4571ad26fc567e66106c8d4925aa1234cf6a343' }), hAsync("ul", { key: 'cd9d2007239b792d15a9f31242cec6748ee0962b', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '9d668bd5fe1fa168996a878c1dca6da6c2575794', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '46e2911bf0d340aabff6e2e3f374bd9d165c0ff9', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14777
14868
|
background: this.colors[4].background
|
|
14778
|
-
} }, hAsync("div", { key: '
|
|
14869
|
+
} }, hAsync("div", { key: '9871887c8fdfb870081bd6811ec7d1345d903602', class: "grid" }, hAsync("span", { key: '417a74c81f179931fb935a979f2cd6b8d9d36a10', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '6a4d66af1fc49a403eb3b9d618191752631912d6', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'f5b3dfafd77f41040fd364f12f9993eee6efa678', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '78b8cd5951f2c058bdc989ef9e8ecd33fd4e227e', class: "grid" }, hAsync("span", { key: '81c591df12b07254704c4c888e79ee795182aae8', class: "f-body-02" }, this.colors[4].pantoneC), hAsync("span", { key: '546eb21d683067f23c0c392413945c5ff59d0992', class: "f-body-02" }, this.colors[4].pantoneU))), hAsync("div", { key: 'a1d7d8ac8f18b76a2b0174be4e20a538ba58e836', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14779
14870
|
background: this.colors[5].background
|
|
14780
|
-
} }, hAsync("div", { key: '
|
|
14871
|
+
} }, hAsync("div", { key: '30ff0da22696dd631e21ddd8354b4fc0a54f430d', class: "grid" }, hAsync("span", { key: '7546e1a8e2ebaf41e2241dd536581308cc4a92b0', class: "f-body-02" }, this.colors[5].rgb), hAsync("span", { key: '650027eddd52b22d4e735ba459eb325e10f6c1af', class: "f-body-02 w-full" }, this.colors[5].cmyk), hAsync("eds-code-block", { key: '5b119196ead9e34bc4360c270f02bcc21e31dafe', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '07af615883c1648cbca851527bf7ebcaef6ec1cf', class: "grid" }, hAsync("span", { key: '4cf871344f93b002d32022a270a7ff0ba5de7c92', class: "f-body-02" }, this.colors[5].pantoneC), hAsync("span", { key: 'e4240bbaed87c2a5c6eb717d186d6eca0e84952f', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
14781
14872
|
}
|
|
14782
14873
|
static get cmpMeta() { return {
|
|
14783
14874
|
"$flags$": 0,
|
|
@@ -14840,11 +14931,11 @@ class GradientSupportPalette {
|
|
|
14840
14931
|
];
|
|
14841
14932
|
}
|
|
14842
14933
|
render() {
|
|
14843
|
-
return (hAsync("ul", { key: '
|
|
14934
|
+
return (hAsync("ul", { key: '19fa0d13f425559a057eac44251af122fa28d8f2', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '04b62c9e98c068d300d76584eee86c7a441d7308', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '51b00b545676c2f755f5209c39d299bbe5bfb3eb', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, hAsync("div", { key: '0f9074bc3de0bc69e7500ea57d43a454af8e453b', class: "grid" }, hAsync("span", { key: '41d0e3badfab9220b9ef6c1b3fe089238cb1ee4b', class: "f-body-02" }, this.colors[0].rgb), hAsync("span", { key: '8f02aa05d411d781215b7b41234f5ea816ed5af8', class: "f-body-02 w-full" }, this.colors[0].cmyk), hAsync("eds-code-block", { key: '08ec618c5fcc6ebeb7d92c5dda2fb58c7af26293', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'e9aaf995a542a3d4497f4e2129fa8e9b99d0e8f1', class: "grid" }, hAsync("span", { key: 'ab62f5c7d81f83570bd25f9ae8c0872bdffdee49', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), hAsync("span", { key: '20d1b270e55f172373e498b96fde480e75436893', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), hAsync("li", { key: 'c12be45607f611fb7ef295a1942949ed4197d3c2', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '82119d77e7b21d5fff3dbfb2ae6352417f927397', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, hAsync("div", { key: 'c76edf55a482aeb8fcdc6d7c442337db086d2874', class: "grid" }, hAsync("span", { key: '5a828a7f6c8ea95afe08e220b4474d09abb8ba38', class: "f-body-02" }, this.colors[1].rgb), hAsync("span", { key: '39ecebe4bdebf12b27bad8267a20bdae7bc91c5c', class: "f-body-02 w-full" }, this.colors[1].cmyk), hAsync("eds-code-block", { key: '478d7cf0b85dc6fd125a4e879628737a89b34ef9', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '639acf9fb8e989bc42b18908ba6e063f2943a619', class: "grid" }, hAsync("span", { key: '604c16acc523e86e355a4d9cb21b577d4305b153', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), hAsync("span", { key: '681d72b5503e3e4886661879b73d611238802be0', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), hAsync("li", { key: '13b78355e265c0ae0b69af342d7c335349bf9656', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: 'eb7de148459e79667b8a0abea79f29c0a29f4c04', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14844
14935
|
background: this.colors[2].background
|
|
14845
|
-
} }, hAsync("div", { key: '
|
|
14936
|
+
} }, hAsync("div", { key: '8053120d580f111fbb1f3d9554567892a50a140c', class: "grid" }, hAsync("span", { key: '0e4c72fcb479d8ce3625443d4c09430f905c8cf4', class: "f-body-02" }, this.colors[2].rgb), hAsync("span", { key: '1cc8f9ecd5f3c753d227d5d8f0b8a79b218167b9', class: "f-body-02 w-full" }, this.colors[2].cmyk), hAsync("eds-code-block", { key: '68b0940f2317af55229b792088abe9021ece3382', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '4213b6f6e59300a79d01108a0a530042c2eb164b', class: "grid" }, hAsync("span", { key: '3942f091461176f14e7115d4ec26454dc84a77af', class: "f-body-02" }, this.colors[2].pantoneC), hAsync("span", { key: '7d56bffc0bbcd7fedc2b429eda6cd843ce75084c', class: "f-body-02" }, this.colors[2].pantoneU))), hAsync("div", { key: '6e54e4369bc24fe897372626d2b8f524c899979e', class: "effect-height flex items-center justify-between p-16", style: {
|
|
14846
14937
|
background: this.colors[3].background
|
|
14847
|
-
} }, hAsync("div", { key: '
|
|
14938
|
+
} }, hAsync("div", { key: 'c10240910d81584325f5fb8fe99ea2bdf471fcca', class: "grid" }, hAsync("span", { key: 'b463043e7fcec06836ea668caaf8f88d662c0b50', class: "f-body-02" }, this.colors[3].rgb), hAsync("span", { key: 'd4cb38555b59b84b8c28e6f94a194198237087d8', class: "f-body-02 w-full" }, this.colors[3].cmyk), hAsync("eds-code-block", { key: 'e11e259fdf1b28d83f425bbb627c3cfb4a4eb80b', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: 'bdd93a1bd8f270ddb2ccc6a8ab0643092d4c57c9', class: "grid" }, hAsync("span", { key: 'a9874a23df6404e94c467322a416d161ae07a31b', class: "f-body-02" }, this.colors[3].pantoneC), hAsync("span", { key: '84fc3e06a694fc63d991a84f92e1ef4a74ef3db8', class: "f-body-02" }, this.colors[3].pantoneU)))), hAsync("li", { key: '43d5a6b41ab34621e54769e32cdb896e09e4f94a', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, hAsync("div", { key: '4cd11ea97f536e8eb36b04aca8b3da178d282817', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, hAsync("div", { key: 'bc41de6560f69b0818f9655430099d80fc65146a', class: "grid" }, hAsync("span", { key: '8d075abf0d186b80377dee9f4ccb3770e9c16ab3', class: "f-body-02" }, this.colors[4].rgb), hAsync("span", { key: '78d0f7796b14ed72742e5f4cb88688179b0f1630', class: "f-body-02 w-full" }, this.colors[4].cmyk), hAsync("eds-code-block", { key: 'ddec227e11cb2b73e14ba7b5600f18d19788bc31', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), hAsync("div", { key: '5f2ea3156897994045de1b86bc1cf77230a5a93d', class: "grid" }, hAsync("span", { key: '72b20e3cd6bea5de93311ee02d245570f7164ad4', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), hAsync("span", { key: '48e0fc418cac0932891c20266099c9f6293f366a', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
14848
14939
|
}
|
|
14849
14940
|
static get cmpMeta() { return {
|
|
14850
14941
|
"$flags$": 0,
|
|
@@ -14898,7 +14989,7 @@ class IncorrectUseOfColors {
|
|
|
14898
14989
|
registerInstance(this, hostRef);
|
|
14899
14990
|
}
|
|
14900
14991
|
render() {
|
|
14901
|
-
return (hAsync("div", { key: '
|
|
14992
|
+
return (hAsync("div", { key: 'd09d8204f4369476882f0614e96c07c953b34f54', class: "container" }, hAsync("div", { key: 'a80342ee08961192aa3a664f66406b220cd208ed', class: "mb-8" }, hAsync("eds-alert", { key: '242c9bae130e9a7487412da4f75ab30a2db49335', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), hAsync("div", { key: 'f9d60933f46189f848938a5beb1ca5fadfa84934', class: "flex" }, hAsync("div", { key: 'd7f33f14834c5a97aafbdb447f723e1a20b5e498', class: "w-full" }, hAsync("ul", { key: '0e3b7baf000534530164f373884a6957419539a7', 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: 'd0422452dbb56de94fee33562b07867fb9bfd6ac', class: "w-full" }, hAsync("ul", { key: 'e5daf06bbcec1227ccf03b3f3a8a6016a33c289c', 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 } })))))))));
|
|
14902
14993
|
}
|
|
14903
14994
|
static get cmpMeta() { return {
|
|
14904
14995
|
"$flags$": 0,
|
|
@@ -14921,7 +15012,7 @@ class LogoSpace {
|
|
|
14921
15012
|
registerInstance(this, hostRef);
|
|
14922
15013
|
}
|
|
14923
15014
|
render() {
|
|
14924
|
-
return (hAsync("div", { key: '
|
|
15015
|
+
return (hAsync("div", { key: '2ff3cdb12cbd61fc4053418d1a678409c05755f2', class: "container" }, hAsync("ul", { key: 'abfc33d14841a457959f5b15e8542465e8a0f883', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'd81281a2d146a19d036678cb794f5224236ce521', 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: '9d3774468a2b09098b84a8354683b2c6940491f5', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), hAsync("li", { key: 'cb4d4a3ff951b25fba627bd98cc1319dcb803158', 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: 'fa2f563d8ad8100b6d12c626f41b4552d99c743e', class: "text-center mt-16" }, hAsync("p", { key: 'bda0bb099f9e82b9462bee494f7d417bdd9984b9', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), hAsync("eds-table", { key: '92b100f67e3a7dd84d817b5dbc8cdfe76d6b2408', 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: '4d6ad4aacf24c4386493fe74ed928321627602ac', 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" }))));
|
|
14925
15016
|
}
|
|
14926
15017
|
static get style() { return LogoSpaceStyle0; }
|
|
14927
15018
|
static get cmpMeta() { return {
|
|
@@ -14945,7 +15036,7 @@ class LogoVariationsHorizontal {
|
|
|
14945
15036
|
registerInstance(this, hostRef);
|
|
14946
15037
|
}
|
|
14947
15038
|
render() {
|
|
14948
|
-
return (hAsync("div", { key: '
|
|
15039
|
+
return (hAsync("div", { key: 'd8357d0a4234d0c411881928a6daabdda928f272', class: "container" }, hAsync("ul", { key: '30e3d8efd0f5fd173f48c6e1e02005e7da813ce9', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '751d2de97fe8774614b15de1feda7f59c8da2ef0', 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: 'd0ba9b152a505a591cabf5a54b720b6e718173e0', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '81b91d5c53a7ac440364083dd06222f32bf5dc51', class: "coloured" }, hAsync("eds-logo", { key: '921cac572b2da3871eff8c2912de79babb909c91', type: "no-bg", href: "#" }))), hAsync("li", { key: '74cebe6855e0e23d95a3ec74927b569c29b34d07', 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: 'ed5484e8ff8f85251f85a61fb53d21639dbb914b', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: '7a5f1894fe514a323e8955c01d1ab071187c2a5c', class: "bg-default" }, hAsync("eds-logo", { key: '9a072cdaf4f7f901b8cb91d3fe9bc85ddb0e8eba', type: "black", href: "#" }))), hAsync("li", { key: 'ea3f60807f78264c6305061dc292d1d17f7fd173', 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: '530e8f71e5d6f56a9f8981ad454ecbd00162030e', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: 'b74d2cfb21a8d6f8288444cfed8ba9dc80d929b7' }, hAsync("eds-logo", { key: 'f31c76f4f3e3f03f02d2712a272ba893f7832a7a', type: "color-white", href: "#" }))))));
|
|
14949
15040
|
}
|
|
14950
15041
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
14951
15042
|
static get cmpMeta() { return {
|
|
@@ -14977,7 +15068,7 @@ class LogoVariationsTabs {
|
|
|
14977
15068
|
}
|
|
14978
15069
|
}
|
|
14979
15070
|
render() {
|
|
14980
|
-
return hAsync("div", { key: '
|
|
15071
|
+
return hAsync("div", { key: 'a7e8981363410d2a325478150990092516e74f2e', class: "container" }, this.renderContent());
|
|
14981
15072
|
}
|
|
14982
15073
|
static get cmpMeta() { return {
|
|
14983
15074
|
"$flags$": 0,
|
|
@@ -15004,7 +15095,7 @@ class LogoVariationsVertical {
|
|
|
15004
15095
|
this.type = undefined;
|
|
15005
15096
|
}
|
|
15006
15097
|
render() {
|
|
15007
|
-
return (hAsync("div", { key: '
|
|
15098
|
+
return (hAsync("div", { key: '983decc613dcf98cc903eb0220e4604e6eaff4d0', class: "container" }, hAsync("ul", { key: '4c76eb52168bc862e3d9ba4afcfce2feadb92ab8', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '4e51746424e45dcae4bd01fe5ff30a9634333e2f', 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: '18227e8430d94259740bcbcfe100540831d2a857', class: "f-body-01 text-center my-4" }, "#1 Coloured"), hAsync("div", { key: '374be81aba7532670ff470026317a49d78f54762', class: "mx-auto coloured w-[300px]" }, hAsync("eds-logo", { key: 'fdfe6b1cc100dff3a53c9065bc16803043df97e5', orientation: "vertical", type: "no-bg", href: "#" }))), hAsync("li", { key: '5aaf638a69109964188bbcad753f420177859107', 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: 'aadc470260f28236f3f4628ebf5c7261915f1fb2', class: "f-body-01 text-center my-4" }, "#2 Black & White"), hAsync("div", { key: '3fed72cb0a3f38c6619d78a6995746a3cee5ee0e', class: "mx-auto bg-default w-[300px]" }, hAsync("eds-logo", { key: 'bcf169b31b33615c82b768f20a0b648236644c65', orientation: "vertical", type: "black", href: "#" }))), hAsync("li", { key: '62f0c6803ca0ec6090db435388da6754054c2007', 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: '32813722dca892164d108df2ef0a3048cb4ebbbd', class: "f-body-01 text-center my-4" }, "#3 Dark"), hAsync("div", { key: 'e33669ea223f6d923d71e2a8568140ae5ef739e3', class: "mx-auto w-[300px]" }, hAsync("eds-logo", { key: '4176811098a57727ed30bfc1db82fa16aa06bd6c', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
15008
15099
|
}
|
|
15009
15100
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15010
15101
|
static get cmpMeta() { return {
|
|
@@ -15031,7 +15122,7 @@ class LogoWrongUsage {
|
|
|
15031
15122
|
registerInstance(this, hostRef);
|
|
15032
15123
|
}
|
|
15033
15124
|
render() {
|
|
15034
|
-
return (hAsync("div", { key: '
|
|
15125
|
+
return (hAsync("div", { key: 'fa573cdaaa0d55c820b5a355bff48d5f1d10544a', class: "container" }, hAsync("ul", { key: '5c1941d3c45fa4814ffbdfaf30af106542862802', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: 'fd02c67fbe23ebb78289e5281c5b4917a44c950e', 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: '246527a7926c377c287a3c8073b06952b54dc694', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), hAsync("p", { key: '88ebc748214a558e6cee28b8624f287de2faf80c', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), hAsync("li", { key: 'dbf4655e3bbbad7566f64f5b8eb474c749967c38', 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: '5d2c9c916bc81ce831daf99c6293024aa9b0b2f0', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), hAsync("p", { key: 'f9a37e0a587b60bf607efd2e1f3aa4114f67ef33', class: "f-ui-02 text-center" }, "Do not apply other colors")), hAsync("li", { key: '3e1126e6636e0064ce852cc4249a684b77d7ba0a', 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: 'a1eb4d8ea7764734f24b39cb95b36d6718f331a3', class: "mx-auto distorted logo", innerHTML: hLogoColor }), hAsync("p", { key: 'e3d0156ec563c657c03beaa61a7ae068e78df09c', class: "f-ui-02 text-center" }, "Do not deform the logo")), hAsync("li", { key: '062a45841b978d79fe82e5773ba82c98e8f9eb6c', 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: 'd0f276a91bf1ea13b4f482e39e9f83b7ef3f2593', class: "mx-auto effects logo", innerHTML: hLogoColor }), hAsync("p", { key: '62f67b5f28839a5bb3706e78004c1989feced677', class: "f-ui-02 text-center" }, "Do not apply effects")), hAsync("li", { key: 'c4d0025e06c8385935a4b6162d65f78bc3d7b94d', 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: 'c6118e7d56abcf4a54f6f590d9a77a9397fa3209', class: "mx-auto rotated logo", innerHTML: hLogoColor }), hAsync("p", { key: 'a6c71000e3cf8b6d3a28c8f8c0df0840fdf2a749', class: "f-ui-02 text-center" }, "Do not rotate the logo")), hAsync("li", { key: 'd558e277275a305f3d491eba94aad8c1e7eec471', 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: '56947add9521b76a88ea05f8f64b6f0f656a9863', class: "mx-auto outlined logo", innerHTML: hLogoColor }), hAsync("p", { key: '0de198ca711a32e9b0f6ff7275af9dc2bce3c1b6', class: "f-ui-02 text-center" }, "Do not apply outlines")), hAsync("li", { key: '12b7c15e994ae6b40041da68eaa609ee0ec499a7', 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: '9ef38af84bee3b83b04f881e6481769fc39991ff', class: "mx-auto" }, hAsync("div", { key: '7f793491cf76a2c937ab0ca820dfd3f2a5779728', class: "bg-accent p-16" }, hAsync("div", { key: '60bfff8e962a543dcda5db9d1bdf75a3702f8b38', class: "text-inverse", innerHTML: hLogoColor })), hAsync("p", { key: '8a0a6a43def963fd5bd00e857ab7e21d60e54454', 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"))))));
|
|
15035
15126
|
}
|
|
15036
15127
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15037
15128
|
static get cmpMeta() { return {
|
|
@@ -15075,7 +15166,7 @@ class SvgRepository {
|
|
|
15075
15166
|
icon: { format: 'svg' },
|
|
15076
15167
|
name: { format: 'bold' }
|
|
15077
15168
|
};
|
|
15078
|
-
return (hAsync("div", { key: '
|
|
15169
|
+
return (hAsync("div", { key: '36ab796174ab215a5e8f834f0d6291853305e732', class: "full-width" }, hAsync("eds-table", { key: '31fca470f340fa54137887ef426f4f7e1fc72f73', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
15079
15170
|
}
|
|
15080
15171
|
get hostEl() { return getElement(this); }
|
|
15081
15172
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15332,7 +15423,7 @@ class TokenList {
|
|
|
15332
15423
|
render() {
|
|
15333
15424
|
// Check if `show` prop is provided; if not, display all sections
|
|
15334
15425
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15335
|
-
return (hAsync("section", { key: '
|
|
15426
|
+
return (hAsync("section", { key: 'c5a0dc7f4e58c77624481262b1a6ac31df5425ee', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15336
15427
|
// Only render sections that exist in `colors`
|
|
15337
15428
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15338
15429
|
}
|
|
@@ -15365,7 +15456,7 @@ class TokenRadii {
|
|
|
15365
15456
|
registerInstance(this, hostRef);
|
|
15366
15457
|
}
|
|
15367
15458
|
render() {
|
|
15368
|
-
return (hAsync("section", { key: '
|
|
15459
|
+
return (hAsync("section", { key: 'd0e212f61414068b55b2ce1a3d9c7c2a51743908', class: "w-full mt-28" }, hAsync("ul", { key: 'f656822bfc1a95bb4435eec2db9573e4362d1c59', 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" }))))))));
|
|
15369
15460
|
}
|
|
15370
15461
|
static get cmpMeta() { return {
|
|
15371
15462
|
"$flags$": 0,
|
|
@@ -15394,7 +15485,7 @@ class TokenRatios {
|
|
|
15394
15485
|
registerInstance(this, hostRef);
|
|
15395
15486
|
}
|
|
15396
15487
|
render() {
|
|
15397
|
-
return (hAsync("section", { key: '
|
|
15488
|
+
return (hAsync("section", { key: '0215729c6c798288f74b3e9a589763c8a71c6fd3', class: "w-full" }, hAsync("eds-section-core", { key: '9ac3c1b933b7bb7cc6c8dd9aeface59ba3646750', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, hAsync("ul", { key: 'd4ae2c487aa2402740dfd1465823fe3d04c19e18', 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: {
|
|
15398
15489
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15399
15490
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15400
15491
|
maxWidth: '300px'
|
|
@@ -15436,7 +15527,7 @@ class TokenShadows {
|
|
|
15436
15527
|
registerInstance(this, hostRef);
|
|
15437
15528
|
}
|
|
15438
15529
|
render() {
|
|
15439
|
-
return (hAsync("section", { key: '
|
|
15530
|
+
return (hAsync("section", { key: '2f8e9eef279ee176ba1c72660181a4a36a184985', class: "w-full mt-28" }, hAsync("ul", { key: 'a5ddc9f6faab20c73b6dbb08364925d3b221e848', 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]" })))))))));
|
|
15440
15531
|
}
|
|
15441
15532
|
static get cmpMeta() { return {
|
|
15442
15533
|
"$flags$": 0,
|
|
@@ -15456,7 +15547,7 @@ class TokenSpacing {
|
|
|
15456
15547
|
registerInstance(this, hostRef);
|
|
15457
15548
|
}
|
|
15458
15549
|
render() {
|
|
15459
|
-
return (hAsync("div", { key: '
|
|
15550
|
+
return (hAsync("div", { key: 'e01032fc0640d466fbf25d52c786c2ad09282deb', class: "w-full" }, hAsync("ul", { key: '067499a0d422c6759393a729018a0e428ac5bb73', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, hAsync("li", { key: '18811cd88f3627f824c09ed57522b624c905704a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '6f810ada1266d71181c85ae01f6d0f03d74c5d62', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'be8c8193dd759eb651230904f482bdd29ece17d9', class: "spacing-sample m-16 bg-strong" }, hAsync("span", { key: '3275ae8d2dcc26a097fcec9e47e865d122e8a7a0', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), hAsync("li", { key: '1501280856acd0f86ed6d18deb2994e2b938d550', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '9c6bd09fb408bf28e1ff7259ee82858657055d53', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '66ce0e318e1ef01c95634678d8dad929261c3559', class: "spacing-sample ml-64 bg-strong" }, hAsync("span", { key: '746c47d3d838c4a2afc3e33f97ea92e4152505a4', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), hAsync("li", { key: '1e743a6b9907f8d533b6bb0e47204ca9f2ac1540', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '9b127a0fc072a67d2a03af42718407f7c570981c', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '603d387bfc95e7eaaa688d9bed69d17dcdbeb023', class: "spacing-sample mt-32 bg-strong" }, hAsync("span", { key: '19105f04e3571991899dcd237a2e88285200fa2a', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), hAsync("li", { key: 'a4bba328ebdb74767c06aed1ddf90251ff53c774', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '8c0ddf065902880ea676a0178d8d384696d11d44', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'c73eb82ac1b447d2441be39f1e07e4864bba2a49', class: "spacing-sample p-32 bg-strong" }, hAsync("span", { key: '6c76e373c0827ed4449abfd0fa1b69db2e02ef10', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), hAsync("li", { key: '23699817570e914c03849e8bc5ab3c72b732470c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '253d94e4ddabd622302bbc38a5e866b9a9dc8826', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: 'c366056f299a7fd53eb589cedbf8f40aa996d032', class: "spacing-sample pt-32 bg-strong" }, hAsync("span", { key: '22b94a1f3f4605af8f11dcd10b03f112ad426798', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), hAsync("li", { key: '18418c7ea84aaaefe187e484774e96d5233946ab', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, hAsync("div", { key: '953b9ebfb47560f768bdf606fdc455eae18fa351', class: "container p-8 item-center border-2 border-soft" }, hAsync("div", { key: '1ee32fc2918a078e421e0641c84e76c2bf48e839', class: "spacing-sample pl-32 bg-strong" }, hAsync("span", { key: '15f50b76c805eb9fc1610d8027cd710f6c8c89b4', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
15460
15551
|
}
|
|
15461
15552
|
static get cmpMeta() { return {
|
|
15462
15553
|
"$flags$": 0,
|
|
@@ -15674,7 +15765,7 @@ class TokenTypography {
|
|
|
15674
15765
|
registerInstance(this, hostRef);
|
|
15675
15766
|
}
|
|
15676
15767
|
render() {
|
|
15677
|
-
return (hAsync("section", { key: '
|
|
15768
|
+
return (hAsync("section", { key: 'a50023eb5ce02aebb63994e4319450f3a330617d', class: "w-full" }, hAsync("ul", { key: '757a1845f16da440eaa8ba332b39f62ccb69ed89', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
15678
15769
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15679
15770
|
.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: {
|
|
15680
15771
|
fontFamily: typography.families.sans,
|
|
@@ -15746,6 +15837,7 @@ registerComponents([
|
|
|
15746
15837
|
EdsIconClone,
|
|
15747
15838
|
EdsIconClose,
|
|
15748
15839
|
EdsIconCopy,
|
|
15840
|
+
EdsIconDownload,
|
|
15749
15841
|
EdsIconDraft,
|
|
15750
15842
|
EdsIconEdit,
|
|
15751
15843
|
EdsIconEu,
|