@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.mjs
CHANGED
|
@@ -2330,7 +2330,7 @@ class ColorPrimaryPalette {
|
|
|
2330
2330
|
];
|
|
2331
2331
|
}
|
|
2332
2332
|
render() {
|
|
2333
|
-
return (hAsync("ul", { key: '
|
|
2333
|
+
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))))))));
|
|
2334
2334
|
}
|
|
2335
2335
|
static get cmpMeta() { return {
|
|
2336
2336
|
"$flags$": 0,
|
|
@@ -2402,7 +2402,7 @@ class ColorSecondaryPalette {
|
|
|
2402
2402
|
this.show = undefined;
|
|
2403
2403
|
}
|
|
2404
2404
|
render() {
|
|
2405
|
-
return (hAsync("ul", { key: '
|
|
2405
|
+
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))))))));
|
|
2406
2406
|
}
|
|
2407
2407
|
static get cmpMeta() { return {
|
|
2408
2408
|
"$flags$": 0,
|
|
@@ -2476,7 +2476,7 @@ class ColorSupportPalette {
|
|
|
2476
2476
|
return 'text-default';
|
|
2477
2477
|
}
|
|
2478
2478
|
render() {
|
|
2479
|
-
return (hAsync("ul", { key: '
|
|
2479
|
+
return (hAsync("ul", { key: 'f0ba44197d75db8e8c35b1c774fcb9a5cf57b955', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
2480
2480
|
// compute once
|
|
2481
2481
|
const textClass = this.getTextColor(color.background);
|
|
2482
2482
|
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)))));
|
|
@@ -2521,7 +2521,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2521
2521
|
}
|
|
2522
2522
|
] }),
|
|
2523
2523
|
hAsync("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
2524
|
-
hAsync("eds-code-block", { code: '<eds-button
|
|
2524
|
+
hAsync("eds-code-block", { code: '<eds-button label="my bytton" intent="primary"></eds-button>', language: "html", "copy-label": "Copy Code" }),
|
|
2525
2525
|
hAsync("h2", null, "Load the variables and styles"),
|
|
2526
2526
|
hAsync("p", null,
|
|
2527
2527
|
"To directly use only the produced variables (colors, breakpoints, typography) add the tag below to the",
|
|
@@ -2539,9 +2539,7 @@ const DocsOverview = () => (hAsync("div", { class: "static-content container" },
|
|
|
2539
2539
|
"Note that, loading either the variables or the predefined CSS framework above,",
|
|
2540
2540
|
' ',
|
|
2541
2541
|
hAsync("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
2542
|
-
".
|
|
2543
|
-
hAsync("code", null, "head")),
|
|
2544
|
-
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" })));
|
|
2542
|
+
".")));
|
|
2545
2543
|
|
|
2546
2544
|
const DocsInstallation = () => (hAsync("div", null,
|
|
2547
2545
|
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."),
|
|
@@ -2629,7 +2627,7 @@ class ComponentsSection {
|
|
|
2629
2627
|
}
|
|
2630
2628
|
}
|
|
2631
2629
|
render() {
|
|
2632
|
-
return hAsync("div", { key: '
|
|
2630
|
+
return hAsync("div", { key: 'a5c54560de99e81caaabafc4342522602ffe35a1', class: "container" }, this.renderContent());
|
|
2633
2631
|
}
|
|
2634
2632
|
static get cmpMeta() { return {
|
|
2635
2633
|
"$flags$": 0,
|
|
@@ -2707,7 +2705,7 @@ class CorrectUseOfColors {
|
|
|
2707
2705
|
registerInstance(this, hostRef);
|
|
2708
2706
|
}
|
|
2709
2707
|
render() {
|
|
2710
|
-
return (hAsync("div", { key: '
|
|
2708
|
+
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 } })))))))));
|
|
2711
2709
|
}
|
|
2712
2710
|
static get cmpMeta() { return {
|
|
2713
2711
|
"$flags$": 0,
|
|
@@ -2746,7 +2744,7 @@ class DocsContent {
|
|
|
2746
2744
|
}
|
|
2747
2745
|
}
|
|
2748
2746
|
render() {
|
|
2749
|
-
return hAsync("div", { key: '
|
|
2747
|
+
return hAsync("div", { key: '17148efe64117050084010b77d85de64bdfe2000', class: "container" }, this.renderContent());
|
|
2750
2748
|
}
|
|
2751
2749
|
static get cmpMeta() { return {
|
|
2752
2750
|
"$flags$": 0,
|
|
@@ -2779,7 +2777,7 @@ class DocsPalettes {
|
|
|
2779
2777
|
}
|
|
2780
2778
|
}
|
|
2781
2779
|
render() {
|
|
2782
|
-
return hAsync("div", { key: '
|
|
2780
|
+
return hAsync("div", { key: '8ef26f3be50f9083f1430ec0c9dbf5213ac1268e', class: "container" }, this.renderContent());
|
|
2783
2781
|
}
|
|
2784
2782
|
static get cmpMeta() { return {
|
|
2785
2783
|
"$flags$": 0,
|
|
@@ -3173,7 +3171,7 @@ class EdsAppRoot {
|
|
|
3173
3171
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
3174
3172
|
}
|
|
3175
3173
|
render() {
|
|
3176
|
-
return (hAsync("div", { key: '
|
|
3174
|
+
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."))));
|
|
3177
3175
|
}
|
|
3178
3176
|
static get cmpMeta() { return {
|
|
3179
3177
|
"$flags$": 9,
|
|
@@ -6842,7 +6840,7 @@ class EdsCookiesPreference {
|
|
|
6842
6840
|
}
|
|
6843
6841
|
}
|
|
6844
6842
|
render() {
|
|
6845
|
-
return (hAsync("div", { key: '
|
|
6843
|
+
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 })));
|
|
6846
6844
|
}
|
|
6847
6845
|
static get style() { return EdsCookiesPreferenceStyle0; }
|
|
6848
6846
|
static get cmpMeta() { return {
|
|
@@ -7067,7 +7065,7 @@ class EdsFeedback {
|
|
|
7067
7065
|
const HeadingTag = this.headingLevel;
|
|
7068
7066
|
const levelNum = this.headingLevel.replace('h', '');
|
|
7069
7067
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
7070
|
-
return (hAsync("div", { key: '
|
|
7068
|
+
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]))));
|
|
7071
7069
|
}
|
|
7072
7070
|
get el() { return getElement(this); }
|
|
7073
7071
|
static get style() { return EdsFeedbackStyle0; }
|
|
@@ -7151,13 +7149,11 @@ class EdsFooter {
|
|
|
7151
7149
|
* Renders the footer component with optional sections and elements,
|
|
7152
7150
|
* including social network links, a Horizon Europe funding acknowledgment, and
|
|
7153
7151
|
* legal links such as "Cookies Preferences" and copyright information.
|
|
7154
|
-
*
|
|
7155
|
-
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
7156
7152
|
*/
|
|
7157
7153
|
render() {
|
|
7158
|
-
return (hAsync("footer", { key: '
|
|
7154
|
+
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: () => {
|
|
7159
7155
|
this.toggleCookiesConsent();
|
|
7160
|
-
} })) : null))), hAsync("div", { key: '
|
|
7156
|
+
} })) : 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)))));
|
|
7161
7157
|
}
|
|
7162
7158
|
get el() { return getElement(this); }
|
|
7163
7159
|
static get style() { return EdsFooterStyle0; }
|
|
@@ -7322,9 +7318,10 @@ isFieldVisible) {
|
|
|
7322
7318
|
const npsEl = findNpsElement(formEl);
|
|
7323
7319
|
if (npsEl && npsEl.shadowRoot) {
|
|
7324
7320
|
const raw = (_a = npsEl.shadowRoot
|
|
7325
|
-
.querySelector('
|
|
7326
|
-
const
|
|
7327
|
-
|
|
7321
|
+
.querySelector('eds-button[tabindex="0"]')) === null || _a === void 0 ? void 0 : _a.getAttribute('aria-label');
|
|
7322
|
+
const parsed = raw !== null ? parseInt(raw, 10) : NaN;
|
|
7323
|
+
const value = Number.isInteger(parsed) && parsed >= 0 && parsed <= 10 ? parsed : NaN;
|
|
7324
|
+
if (isNaN(value)) {
|
|
7328
7325
|
// eslint-disable-next-line
|
|
7329
7326
|
if (field.required) {
|
|
7330
7327
|
errors[field.name] = ['This field is required.'];
|
|
@@ -7390,7 +7387,7 @@ function getFormInitData({ initData, parsedFields, currentValues
|
|
|
7390
7387
|
return { updatedValues };
|
|
7391
7388
|
}
|
|
7392
7389
|
|
|
7393
|
-
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}";
|
|
7390
|
+
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}";
|
|
7394
7391
|
var EdsFormStyle0 = edsFormCss;
|
|
7395
7392
|
|
|
7396
7393
|
/**
|
|
@@ -7410,13 +7407,17 @@ class EdsForm {
|
|
|
7410
7407
|
registerInstance(this, hostRef);
|
|
7411
7408
|
this.form = createEvent(this, "form", 7);
|
|
7412
7409
|
this.name = 'eds-form';
|
|
7410
|
+
this.title = undefined;
|
|
7411
|
+
this.description = undefined;
|
|
7413
7412
|
this.setFormUrl = true;
|
|
7414
7413
|
this.formBtn = true;
|
|
7415
7414
|
this.formBtnLabel = 'Submit';
|
|
7415
|
+
this.buttonIntent = 'primary';
|
|
7416
7416
|
this.errorMessage = 'Some fields in your form are incorrect.';
|
|
7417
7417
|
this.fields = [];
|
|
7418
7418
|
this.groups = [];
|
|
7419
7419
|
this.initData = {};
|
|
7420
|
+
this.formStyle = 'default';
|
|
7420
7421
|
this.values = {};
|
|
7421
7422
|
this.isSubmitting = false;
|
|
7422
7423
|
this.hasError = false;
|
|
@@ -7714,10 +7715,15 @@ class EdsForm {
|
|
|
7714
7715
|
}
|
|
7715
7716
|
get groupedFields() {
|
|
7716
7717
|
const map = {};
|
|
7717
|
-
// initialize buckets for each group
|
|
7718
|
+
// initialize buckets for each declared group
|
|
7718
7719
|
this.parsedGroups.forEach((g) => (map[g.id] = []));
|
|
7720
|
+
// always keep an ungrouped bucket
|
|
7719
7721
|
map['__ungrouped'] = [];
|
|
7722
|
+
// only bucket fields that are currently visible
|
|
7720
7723
|
this.parsedFields.forEach((f) => {
|
|
7724
|
+
if (!this.isFieldVisible(f)) {
|
|
7725
|
+
return;
|
|
7726
|
+
}
|
|
7721
7727
|
const gid = f.groupId || '__ungrouped';
|
|
7722
7728
|
if (!map[gid]) {
|
|
7723
7729
|
map[gid] = [];
|
|
@@ -7738,7 +7744,7 @@ class EdsForm {
|
|
|
7738
7744
|
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 }))));
|
|
7739
7745
|
}
|
|
7740
7746
|
else if (field.type === 'nps') {
|
|
7741
|
-
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,
|
|
7747
|
+
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] }))));
|
|
7742
7748
|
}
|
|
7743
7749
|
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) }));
|
|
7744
7750
|
}
|
|
@@ -7749,9 +7755,13 @@ class EdsForm {
|
|
|
7749
7755
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
7750
7756
|
//const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
7751
7757
|
const buckets = this.groupedFields;
|
|
7752
|
-
|
|
7758
|
+
// build the shadow/bg classes if formStyle="shadow"
|
|
7759
|
+
const styleClasses = this.formStyle === 'shadow'
|
|
7760
|
+
? 'bg-inverse effect-shadow shadow-hover border-softer relative rounded-lg border-2 p-32'
|
|
7761
|
+
: '';
|
|
7762
|
+
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
|
|
7753
7763
|
.filter((g) => Array.isArray(buckets[g.id]) && buckets[g.id].length > 0)
|
|
7754
|
-
.map((g) => (hAsync("div", { class: "container mt-
|
|
7764
|
+
.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() })))));
|
|
7755
7765
|
}
|
|
7756
7766
|
get el() { return getElement(this); }
|
|
7757
7767
|
static get watchers() { return {
|
|
@@ -7764,13 +7774,17 @@ class EdsForm {
|
|
|
7764
7774
|
"$tagName$": "eds-form",
|
|
7765
7775
|
"$members$": {
|
|
7766
7776
|
"name": [1],
|
|
7777
|
+
"title": [1],
|
|
7778
|
+
"description": [1],
|
|
7767
7779
|
"setFormUrl": [4, "set-form-url"],
|
|
7768
7780
|
"formBtn": [4, "form-btn"],
|
|
7769
7781
|
"formBtnLabel": [1, "form-btn-label"],
|
|
7782
|
+
"buttonIntent": [1, "button-intent"],
|
|
7770
7783
|
"errorMessage": [1, "error-message"],
|
|
7771
7784
|
"fields": [1],
|
|
7772
7785
|
"groups": [1],
|
|
7773
7786
|
"initData": [16],
|
|
7787
|
+
"formStyle": [1, "form-style"],
|
|
7774
7788
|
"values": [32],
|
|
7775
7789
|
"isSubmitting": [32],
|
|
7776
7790
|
"hasError": [32],
|
|
@@ -7875,7 +7889,7 @@ class EdsFrame {
|
|
|
7875
7889
|
}
|
|
7876
7890
|
}
|
|
7877
7891
|
render() {
|
|
7878
|
-
return (hAsync("div", { key: '
|
|
7892
|
+
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 })))));
|
|
7879
7893
|
}
|
|
7880
7894
|
get el() { return getElement(this); }
|
|
7881
7895
|
static get style() { return EdsFrameStyle0; }
|
|
@@ -7924,11 +7938,16 @@ class EdsFullscreenMenu {
|
|
|
7924
7938
|
this.isMenuOpen = false;
|
|
7925
7939
|
}
|
|
7926
7940
|
/**
|
|
7927
|
-
* Listens
|
|
7928
|
-
*
|
|
7941
|
+
* Listens on `body` for `toggleheadermenu` to open/close the menu.
|
|
7942
|
+
* The event detail should be a boolean (`true` = open, `false` = close).
|
|
7943
|
+
*
|
|
7944
|
+
* @example
|
|
7945
|
+
* ```js
|
|
7946
|
+
* document.body.dispatchEvent(new CustomEvent('toggleheadermenu', { detail: true }));
|
|
7947
|
+
* ```
|
|
7929
7948
|
*/
|
|
7930
7949
|
handleToggleMenu(event) {
|
|
7931
|
-
this.isMenuOpen = event.detail;
|
|
7950
|
+
this.isMenuOpen = !!event.detail;
|
|
7932
7951
|
}
|
|
7933
7952
|
/** Opens the menu */
|
|
7934
7953
|
openMenu() {
|
|
@@ -8120,7 +8139,7 @@ class EdsHeader {
|
|
|
8120
8139
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
8121
8140
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
8122
8141
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
8123
|
-
return (hAsync("header", { key: '
|
|
8142
|
+
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() })))));
|
|
8124
8143
|
}
|
|
8125
8144
|
get hostEl() { return getElement(this); }
|
|
8126
8145
|
static get style() { return EdsHeaderStyle0; }
|
|
@@ -10207,7 +10226,7 @@ class EdsIconBluesky {
|
|
|
10207
10226
|
this.class = '';
|
|
10208
10227
|
}
|
|
10209
10228
|
render() {
|
|
10210
|
-
return hAsync("span", { key: '
|
|
10229
|
+
return hAsync("span", { key: 'dd1f0043450c0970da5487a4c7c69859d3d97e2f', class: this.class, innerHTML: bluesky });
|
|
10211
10230
|
}
|
|
10212
10231
|
static get cmpMeta() { return {
|
|
10213
10232
|
"$flags$": 0,
|
|
@@ -10405,6 +10424,29 @@ class EdsIconCopy {
|
|
|
10405
10424
|
}; }
|
|
10406
10425
|
}
|
|
10407
10426
|
|
|
10427
|
+
/**
|
|
10428
|
+
* @internal
|
|
10429
|
+
*/
|
|
10430
|
+
class EdsIconDownload {
|
|
10431
|
+
constructor(hostRef) {
|
|
10432
|
+
registerInstance(this, hostRef);
|
|
10433
|
+
this.class = '';
|
|
10434
|
+
}
|
|
10435
|
+
render() {
|
|
10436
|
+
return hAsync("span", { key: '1fc6b1410cf98a4a992c0d98d78ec27aeac65b7c', class: this.class, innerHTML: download });
|
|
10437
|
+
}
|
|
10438
|
+
static get cmpMeta() { return {
|
|
10439
|
+
"$flags$": 0,
|
|
10440
|
+
"$tagName$": "eds-icon-download",
|
|
10441
|
+
"$members$": {
|
|
10442
|
+
"class": [1]
|
|
10443
|
+
},
|
|
10444
|
+
"$listeners$": undefined,
|
|
10445
|
+
"$lazyBundleId$": "-",
|
|
10446
|
+
"$attrsToReflect$": []
|
|
10447
|
+
}; }
|
|
10448
|
+
}
|
|
10449
|
+
|
|
10408
10450
|
/**
|
|
10409
10451
|
* @internal
|
|
10410
10452
|
*/
|
|
@@ -10414,7 +10456,7 @@ class EdsIconDraft {
|
|
|
10414
10456
|
this.class = '';
|
|
10415
10457
|
}
|
|
10416
10458
|
render() {
|
|
10417
|
-
return hAsync("span", { key: '
|
|
10459
|
+
return hAsync("span", { key: 'e76f56aaba4a67096e6314e61d53bc2512941552', class: this.class, innerHTML: draft });
|
|
10418
10460
|
}
|
|
10419
10461
|
static get cmpMeta() { return {
|
|
10420
10462
|
"$flags$": 0,
|
|
@@ -10437,7 +10479,7 @@ class EdsIconEdit {
|
|
|
10437
10479
|
this.class = '';
|
|
10438
10480
|
}
|
|
10439
10481
|
render() {
|
|
10440
|
-
return hAsync("span", { key: '
|
|
10482
|
+
return hAsync("span", { key: '54502ee7a072ad54a5c22367b89c1d00afcaaafe', class: this.class, innerHTML: edit });
|
|
10441
10483
|
}
|
|
10442
10484
|
static get cmpMeta() { return {
|
|
10443
10485
|
"$flags$": 0,
|
|
@@ -10460,7 +10502,7 @@ class EdsIconEu {
|
|
|
10460
10502
|
this.class = '';
|
|
10461
10503
|
}
|
|
10462
10504
|
render() {
|
|
10463
|
-
return hAsync("span", { key: '
|
|
10505
|
+
return hAsync("span", { key: '89fde5fbed839d6fdedc0399bf1475abf22d205d', class: this.class, innerHTML: euSvg });
|
|
10464
10506
|
}
|
|
10465
10507
|
static get cmpMeta() { return {
|
|
10466
10508
|
"$flags$": 0,
|
|
@@ -10483,7 +10525,7 @@ class EdsIconExternal {
|
|
|
10483
10525
|
this.class = '';
|
|
10484
10526
|
}
|
|
10485
10527
|
render() {
|
|
10486
|
-
return hAsync("span", { key: '
|
|
10528
|
+
return hAsync("span", { key: '1abc7edbab033c99ffaede9ebe0f210849fe8d61', class: this.class, innerHTML: arrowDiagonal });
|
|
10487
10529
|
}
|
|
10488
10530
|
static get cmpMeta() { return {
|
|
10489
10531
|
"$flags$": 0,
|
|
@@ -10506,7 +10548,7 @@ class EdsIconFacebook {
|
|
|
10506
10548
|
this.class = '';
|
|
10507
10549
|
}
|
|
10508
10550
|
render() {
|
|
10509
|
-
return hAsync("span", { key: '
|
|
10551
|
+
return hAsync("span", { key: '1981b2c066cfa5f0fb4326017df4bfbdfff09873', class: this.class, innerHTML: facebook });
|
|
10510
10552
|
}
|
|
10511
10553
|
static get cmpMeta() { return {
|
|
10512
10554
|
"$flags$": 0,
|
|
@@ -10529,7 +10571,7 @@ class EdsIconGitlab {
|
|
|
10529
10571
|
this.class = '';
|
|
10530
10572
|
}
|
|
10531
10573
|
render() {
|
|
10532
|
-
return hAsync("span", { key: '
|
|
10574
|
+
return hAsync("span", { key: 'b35f2e94d903549d867579f2e008c323a441019c', class: this.class, innerHTML: gitlabBlack });
|
|
10533
10575
|
}
|
|
10534
10576
|
static get cmpMeta() { return {
|
|
10535
10577
|
"$flags$": 0,
|
|
@@ -10552,7 +10594,7 @@ class EdsIconLinkedin {
|
|
|
10552
10594
|
this.class = '';
|
|
10553
10595
|
}
|
|
10554
10596
|
render() {
|
|
10555
|
-
return hAsync("span", { key: '
|
|
10597
|
+
return hAsync("span", { key: '8bba88cba6d29b204b4a4ceae3c41129bb6edcaa', class: this.class, innerHTML: linkedin });
|
|
10556
10598
|
}
|
|
10557
10599
|
static get cmpMeta() { return {
|
|
10558
10600
|
"$flags$": 0,
|
|
@@ -10575,7 +10617,7 @@ class EdsIconLoader {
|
|
|
10575
10617
|
this.class = '';
|
|
10576
10618
|
}
|
|
10577
10619
|
render() {
|
|
10578
|
-
return hAsync("span", { key: '
|
|
10620
|
+
return hAsync("span", { key: 'b97da1b406718c7611d1e17d7a9c6b4670600740', class: this.class, innerHTML: loader });
|
|
10579
10621
|
}
|
|
10580
10622
|
static get cmpMeta() { return {
|
|
10581
10623
|
"$flags$": 0,
|
|
@@ -10598,7 +10640,7 @@ class EdsIconMastodon {
|
|
|
10598
10640
|
this.class = '';
|
|
10599
10641
|
}
|
|
10600
10642
|
render() {
|
|
10601
|
-
return hAsync("span", { key: '
|
|
10643
|
+
return hAsync("span", { key: '36bf44e06217f9b2521f374028a1316fb17ff21a', class: this.class, innerHTML: mastodon });
|
|
10602
10644
|
}
|
|
10603
10645
|
static get cmpMeta() { return {
|
|
10604
10646
|
"$flags$": 0,
|
|
@@ -10621,7 +10663,7 @@ class EdsIconMenu {
|
|
|
10621
10663
|
this.class = '';
|
|
10622
10664
|
}
|
|
10623
10665
|
render() {
|
|
10624
|
-
return hAsync("span", { key: '
|
|
10666
|
+
return hAsync("span", { key: '4322703c9e449819dc30946118893d365fa20124', class: this.class, innerHTML: menu });
|
|
10625
10667
|
}
|
|
10626
10668
|
static get cmpMeta() { return {
|
|
10627
10669
|
"$flags$": 0,
|
|
@@ -10644,7 +10686,7 @@ class EdsIconMinus {
|
|
|
10644
10686
|
this.class = '';
|
|
10645
10687
|
}
|
|
10646
10688
|
render() {
|
|
10647
|
-
return hAsync("span", { key: '
|
|
10689
|
+
return hAsync("span", { key: '9b9efb71d724cc1eb0e9bebd7256fe11b39e4da3', class: this.class, innerHTML: minus });
|
|
10648
10690
|
}
|
|
10649
10691
|
static get cmpMeta() { return {
|
|
10650
10692
|
"$flags$": 0,
|
|
@@ -10667,7 +10709,7 @@ class EdsIconMore {
|
|
|
10667
10709
|
this.class = '';
|
|
10668
10710
|
}
|
|
10669
10711
|
render() {
|
|
10670
|
-
return hAsync("span", { key: '
|
|
10712
|
+
return hAsync("span", { key: 'f7ebc68658fcf8c0df627871481cce90cd7800fb', class: this.class, innerHTML: more });
|
|
10671
10713
|
}
|
|
10672
10714
|
static get cmpMeta() { return {
|
|
10673
10715
|
"$flags$": 0,
|
|
@@ -10690,7 +10732,7 @@ class EdsIconPaper {
|
|
|
10690
10732
|
this.class = '';
|
|
10691
10733
|
}
|
|
10692
10734
|
render() {
|
|
10693
|
-
return hAsync("span", { key: '
|
|
10735
|
+
return hAsync("span", { key: 'eaa676b09d81da31b600a910b99b416c1a5420d3', class: this.class, innerHTML: paper });
|
|
10694
10736
|
}
|
|
10695
10737
|
static get cmpMeta() { return {
|
|
10696
10738
|
"$flags$": 0,
|
|
@@ -10713,7 +10755,7 @@ class EdsIconPlus {
|
|
|
10713
10755
|
this.class = '';
|
|
10714
10756
|
}
|
|
10715
10757
|
render() {
|
|
10716
|
-
return hAsync("span", { key: '
|
|
10758
|
+
return hAsync("span", { key: '825957824697ceeec9d6f81007c4dd1dfc208b28', class: this.class, innerHTML: plus });
|
|
10717
10759
|
}
|
|
10718
10760
|
static get cmpMeta() { return {
|
|
10719
10761
|
"$flags$": 0,
|
|
@@ -10736,7 +10778,7 @@ class EdsIconPortal {
|
|
|
10736
10778
|
this.class = '';
|
|
10737
10779
|
}
|
|
10738
10780
|
render() {
|
|
10739
|
-
return hAsync("span", { key: '
|
|
10781
|
+
return hAsync("span", { key: '4c557c9fe9168f361c55aae7a7c6874d78ec620d', class: this.class, innerHTML: portal });
|
|
10740
10782
|
}
|
|
10741
10783
|
static get cmpMeta() { return {
|
|
10742
10784
|
"$flags$": 0,
|
|
@@ -10759,7 +10801,7 @@ class EdsIconPrivate {
|
|
|
10759
10801
|
this.class = '';
|
|
10760
10802
|
}
|
|
10761
10803
|
render() {
|
|
10762
|
-
return hAsync("span", { key: '
|
|
10804
|
+
return hAsync("span", { key: 'fe423636431e96ce42d0b8236b04c11c92633a18', class: this.class, innerHTML: privat });
|
|
10763
10805
|
}
|
|
10764
10806
|
static get cmpMeta() { return {
|
|
10765
10807
|
"$flags$": 0,
|
|
@@ -10782,7 +10824,7 @@ class EdsIconPublic {
|
|
|
10782
10824
|
this.class = '';
|
|
10783
10825
|
}
|
|
10784
10826
|
render() {
|
|
10785
|
-
return hAsync("span", { key: '
|
|
10827
|
+
return hAsync("span", { key: '4c0a1ff37a1bfa79173c6b91da33fb808ef1b918', class: this.class, innerHTML: pub });
|
|
10786
10828
|
}
|
|
10787
10829
|
static get cmpMeta() { return {
|
|
10788
10830
|
"$flags$": 0,
|
|
@@ -10805,7 +10847,7 @@ class EdsIconSearch {
|
|
|
10805
10847
|
this.class = '';
|
|
10806
10848
|
}
|
|
10807
10849
|
render() {
|
|
10808
|
-
return hAsync("span", { key: '
|
|
10850
|
+
return hAsync("span", { key: 'c788833c6a51e489ca432697a9c46d9b5756a519', class: this.class, innerHTML: search });
|
|
10809
10851
|
}
|
|
10810
10852
|
static get cmpMeta() { return {
|
|
10811
10853
|
"$flags$": 0,
|
|
@@ -10828,7 +10870,7 @@ class EdsIconStar {
|
|
|
10828
10870
|
this.class = '';
|
|
10829
10871
|
}
|
|
10830
10872
|
render() {
|
|
10831
|
-
return hAsync("span", { key: '
|
|
10873
|
+
return hAsync("span", { key: '297e73664320032b2f78dd3c43aa0852545c0723', class: this.class, innerHTML: star });
|
|
10832
10874
|
}
|
|
10833
10875
|
static get cmpMeta() { return {
|
|
10834
10876
|
"$flags$": 0,
|
|
@@ -10851,7 +10893,7 @@ class EdsIconStart {
|
|
|
10851
10893
|
this.class = '';
|
|
10852
10894
|
}
|
|
10853
10895
|
render() {
|
|
10854
|
-
return hAsync("span", { key: '
|
|
10896
|
+
return hAsync("span", { key: '360d1178d8f9f8485718f5ab1ed823ac16be2987', class: this.class, innerHTML: start });
|
|
10855
10897
|
}
|
|
10856
10898
|
static get cmpMeta() { return {
|
|
10857
10899
|
"$flags$": 0,
|
|
@@ -10874,7 +10916,7 @@ class EdsIconSuccess {
|
|
|
10874
10916
|
this.class = '';
|
|
10875
10917
|
}
|
|
10876
10918
|
render() {
|
|
10877
|
-
return hAsync("span", { key: '
|
|
10919
|
+
return hAsync("span", { key: '281f7141b6b45b60e8f11f85430af0cd8364d91f', class: this.class, innerHTML: success });
|
|
10878
10920
|
}
|
|
10879
10921
|
static get cmpMeta() { return {
|
|
10880
10922
|
"$flags$": 0,
|
|
@@ -10897,7 +10939,7 @@ class EdsIconThumbsDown {
|
|
|
10897
10939
|
this.class = '';
|
|
10898
10940
|
}
|
|
10899
10941
|
render() {
|
|
10900
|
-
return hAsync("span", { key: '
|
|
10942
|
+
return hAsync("span", { key: 'b119fa870a00fbad7cffeb30b0ab76d2165eb76d', class: this.class, innerHTML: thumbsDown });
|
|
10901
10943
|
}
|
|
10902
10944
|
static get cmpMeta() { return {
|
|
10903
10945
|
"$flags$": 0,
|
|
@@ -10920,7 +10962,7 @@ class EdsIconThumbsUp {
|
|
|
10920
10962
|
this.class = '';
|
|
10921
10963
|
}
|
|
10922
10964
|
render() {
|
|
10923
|
-
return hAsync("span", { key: '
|
|
10965
|
+
return hAsync("span", { key: '86834f96ac586f4bd7404ebdcd8ac0e496f063bb', class: this.class, innerHTML: thumbsUp });
|
|
10924
10966
|
}
|
|
10925
10967
|
static get cmpMeta() { return {
|
|
10926
10968
|
"$flags$": 0,
|
|
@@ -10943,7 +10985,7 @@ class EdsIconTutorial {
|
|
|
10943
10985
|
this.class = '';
|
|
10944
10986
|
}
|
|
10945
10987
|
render() {
|
|
10946
|
-
return hAsync("span", { key: '
|
|
10988
|
+
return hAsync("span", { key: 'f7457ee049fe477b51776527b58d459312c52cf4', class: this.class, innerHTML: tutorial });
|
|
10947
10989
|
}
|
|
10948
10990
|
static get cmpMeta() { return {
|
|
10949
10991
|
"$flags$": 0,
|
|
@@ -10966,7 +11008,7 @@ class EdsIconTwitter {
|
|
|
10966
11008
|
this.class = '';
|
|
10967
11009
|
}
|
|
10968
11010
|
render() {
|
|
10969
|
-
return hAsync("span", { key: '
|
|
11011
|
+
return hAsync("span", { key: '6f1d0b5e073ef4d754aecb600a8578fc59950496', class: this.class, innerHTML: twitter });
|
|
10970
11012
|
}
|
|
10971
11013
|
static get cmpMeta() { return {
|
|
10972
11014
|
"$flags$": 0,
|
|
@@ -10989,7 +11031,7 @@ class EdsIconUnknown {
|
|
|
10989
11031
|
this.class = '';
|
|
10990
11032
|
}
|
|
10991
11033
|
render() {
|
|
10992
|
-
return hAsync("span", { key: '
|
|
11034
|
+
return hAsync("span", { key: '3b2750a85a74227efe458ceaa2d0995ab0c472b3', class: this.class, innerHTML: unknown });
|
|
10993
11035
|
}
|
|
10994
11036
|
static get cmpMeta() { return {
|
|
10995
11037
|
"$flags$": 0,
|
|
@@ -11012,7 +11054,7 @@ class EdsIconUpdown {
|
|
|
11012
11054
|
this.class = '';
|
|
11013
11055
|
}
|
|
11014
11056
|
render() {
|
|
11015
|
-
return hAsync("span", { key: '
|
|
11057
|
+
return hAsync("span", { key: '1768da9f606b60dd3dc1c8ef76673c6b17eb1b37', class: this.class, innerHTML: upDonw });
|
|
11016
11058
|
}
|
|
11017
11059
|
static get cmpMeta() { return {
|
|
11018
11060
|
"$flags$": 0,
|
|
@@ -11035,7 +11077,7 @@ class EdsIconUser {
|
|
|
11035
11077
|
this.class = '';
|
|
11036
11078
|
}
|
|
11037
11079
|
render() {
|
|
11038
|
-
return hAsync("span", { key: '
|
|
11080
|
+
return hAsync("span", { key: 'ccb41b3ad799e44dab0664dadd5407f6aef9b39c', class: this.class, innerHTML: user });
|
|
11039
11081
|
}
|
|
11040
11082
|
static get cmpMeta() { return {
|
|
11041
11083
|
"$flags$": 0,
|
|
@@ -11058,7 +11100,7 @@ class EdsIconView {
|
|
|
11058
11100
|
this.class = '';
|
|
11059
11101
|
}
|
|
11060
11102
|
render() {
|
|
11061
|
-
return hAsync("span", { key: '
|
|
11103
|
+
return hAsync("span", { key: 'af0fae74516d7f51af3616aa09c16b80b603504f', class: this.class, innerHTML: view });
|
|
11062
11104
|
}
|
|
11063
11105
|
static get cmpMeta() { return {
|
|
11064
11106
|
"$flags$": 0,
|
|
@@ -11137,7 +11179,7 @@ class EdsIconYoutube {
|
|
|
11137
11179
|
this.class = '';
|
|
11138
11180
|
}
|
|
11139
11181
|
render() {
|
|
11140
|
-
return hAsync("span", { key: '
|
|
11182
|
+
return hAsync("span", { key: '063a941c7795658f2dd79fbdafd7ea1f8ed4b2f4', class: this.class, innerHTML: youtube });
|
|
11141
11183
|
}
|
|
11142
11184
|
static get cmpMeta() { return {
|
|
11143
11185
|
"$flags$": 0,
|
|
@@ -11213,10 +11255,10 @@ class EdsImg {
|
|
|
11213
11255
|
imgOpts['loading'] = 'lazy';
|
|
11214
11256
|
imgOpts['decoding'] = 'async';
|
|
11215
11257
|
}
|
|
11216
|
-
return (hAsync("div", { key: '
|
|
11258
|
+
return (hAsync("div", { key: 'fec0dcf2ec178a953f4ced8a71b037030983670d', class: {
|
|
11217
11259
|
'items-center justify-center': true,
|
|
11218
11260
|
'effect-bg-pattern': this.lazyload && this.showBg
|
|
11219
|
-
} }, hAsync("picture", { key: '
|
|
11261
|
+
} }, 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: {
|
|
11220
11262
|
'effect-opacity object-cover object-center': true,
|
|
11221
11263
|
'opacity-100': this.loaded,
|
|
11222
11264
|
'opacity-0': !this.loaded
|
|
@@ -11298,7 +11340,7 @@ class EdsInput {
|
|
|
11298
11340
|
render() {
|
|
11299
11341
|
const withIcon = !!this.icon;
|
|
11300
11342
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : '';
|
|
11301
|
-
return (hAsync("div", { key: '
|
|
11343
|
+
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'
|
|
11302
11344
|
? {
|
|
11303
11345
|
min: this.min,
|
|
11304
11346
|
max: this.max,
|
|
@@ -11309,7 +11351,7 @@ class EdsInput {
|
|
|
11309
11351
|
input ${this.type === 'radio' ? 'input-radio' : this.type === 'checkbox' ? 'input-checkbox' : ''}
|
|
11310
11352
|
${withIcon && this.type !== 'radio' && this.type !== 'checkbox' ? 'input-icon pl-36' : ''}
|
|
11311
11353
|
${this.error ? 'input-error' : ''}
|
|
11312
|
-
`, "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: '
|
|
11354
|
+
`, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, maxlength: this.maxLength, onInput: this.handleInput, onChange: this.handleInput }))), this.maxLength && this.type === 'textarea' && (hAsync("span", { key: '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 }))));
|
|
11313
11355
|
}
|
|
11314
11356
|
get el() { return getElement(this); }
|
|
11315
11357
|
static get watchers() { return {
|
|
@@ -11448,7 +11490,7 @@ class EdsInputField {
|
|
|
11448
11490
|
}
|
|
11449
11491
|
render() {
|
|
11450
11492
|
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 } : {}));
|
|
11451
|
-
return (hAsync("div", { key: '
|
|
11493
|
+
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' ? ((() => {
|
|
11452
11494
|
var _a, _b, _c;
|
|
11453
11495
|
const rangeProps = {
|
|
11454
11496
|
name: inputOpts.name,
|
|
@@ -11461,7 +11503,7 @@ class EdsInputField {
|
|
|
11461
11503
|
const opt = this.parsedOptions;
|
|
11462
11504
|
const numberValue = typeof this.value === 'string' ? parseFloat(this.value) : this.value || 0;
|
|
11463
11505
|
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 })));
|
|
11464
|
-
})()) : (hAsync("eds-input", Object.assign({}, inputOpts))))), hAsync("div", { key: '
|
|
11506
|
+
})()) : (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 }))));
|
|
11465
11507
|
}
|
|
11466
11508
|
static get delegatesFocus() { return true; }
|
|
11467
11509
|
get hostEl() { return getElement(this); }
|
|
@@ -11513,7 +11555,7 @@ class EdsInputFooter {
|
|
|
11513
11555
|
this.link = undefined;
|
|
11514
11556
|
}
|
|
11515
11557
|
render() {
|
|
11516
|
-
return (hAsync("div", { key: '
|
|
11558
|
+
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))));
|
|
11517
11559
|
}
|
|
11518
11560
|
static get style() { return EdsInputFooterStyle0; }
|
|
11519
11561
|
static get cmpMeta() { return {
|
|
@@ -11544,7 +11586,7 @@ class EdsInputLabel {
|
|
|
11544
11586
|
this.disabled = false;
|
|
11545
11587
|
}
|
|
11546
11588
|
render() {
|
|
11547
|
-
return (hAsync("label", { key: '
|
|
11589
|
+
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")))));
|
|
11548
11590
|
}
|
|
11549
11591
|
static get style() { return EdsInputLabelStyle0; }
|
|
11550
11592
|
static get cmpMeta() { return {
|
|
@@ -11610,7 +11652,7 @@ class EdsInputRange {
|
|
|
11610
11652
|
return this.inputElement;
|
|
11611
11653
|
}
|
|
11612
11654
|
render() {
|
|
11613
|
-
return (hAsync("div", { key: '
|
|
11655
|
+
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)));
|
|
11614
11656
|
}
|
|
11615
11657
|
get el() { return getElement(this); }
|
|
11616
11658
|
static get watchers() { return {
|
|
@@ -11705,7 +11747,7 @@ class EdsInputSearch {
|
|
|
11705
11747
|
return this.inputElement;
|
|
11706
11748
|
}
|
|
11707
11749
|
render() {
|
|
11708
|
-
return (hAsync("div", { key: '
|
|
11750
|
+
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}`,
|
|
11709
11751
|
//onInput={this.onInput}
|
|
11710
11752
|
onChange: this.onChange })));
|
|
11711
11753
|
}
|
|
@@ -11759,12 +11801,12 @@ class EdsInputSelect {
|
|
|
11759
11801
|
const selectId = this.inputId || this.name;
|
|
11760
11802
|
const placeholderText = this.placeholder || `Pick from the list`;
|
|
11761
11803
|
const describedBy = this.hasMessage || this.error ? `${this.name}-error` : undefined;
|
|
11762
|
-
return (hAsync("div", { key: '
|
|
11804
|
+
return (hAsync("div", { key: '06be08db809ec9970ca4d7bdbdcdf1c8f2bc8840', class: "relative" }, hAsync("select", { key: 'e4319592e6c2f0c71e0dc75ca2d854506bda70bc', id: selectId, name: this.name, class: {
|
|
11763
11805
|
input: true,
|
|
11764
11806
|
'input-error': this.error,
|
|
11765
11807
|
'px-4': true,
|
|
11766
11808
|
'py-2': true
|
|
11767
|
-
}, "aria-invalid": this.error ? 'true' : 'false', "aria-describedby": describedBy, disabled: this.disabled, required: this.required, onChange: this.handleChange }, hAsync("option", { key: '
|
|
11809
|
+
}, "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" }))));
|
|
11768
11810
|
}
|
|
11769
11811
|
static get cmpMeta() { return {
|
|
11770
11812
|
"$flags$": 0,
|
|
@@ -12025,7 +12067,7 @@ class EdsLink {
|
|
|
12025
12067
|
const labelClasses = this.hideLabelOnSmallScreen
|
|
12026
12068
|
? 'hidden lg:flex' // Tailwind example: hidden on small screens, visible on larger
|
|
12027
12069
|
: '';
|
|
12028
|
-
return (hAsync("a", { key: '
|
|
12070
|
+
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())));
|
|
12029
12071
|
}
|
|
12030
12072
|
get el() { return getElement(this); }
|
|
12031
12073
|
static get style() { return EdsLinkStyle0; }
|
|
@@ -12133,7 +12175,7 @@ class EdsLogo {
|
|
|
12133
12175
|
}
|
|
12134
12176
|
render() {
|
|
12135
12177
|
const logoContent = this.getLogo();
|
|
12136
|
-
return (hAsync("a", { key: '
|
|
12178
|
+
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 })));
|
|
12137
12179
|
}
|
|
12138
12180
|
get el() { return getElement(this); }
|
|
12139
12181
|
static get style() { return EdsLogoStyle0; }
|
|
@@ -12408,9 +12450,9 @@ class EdsModal {
|
|
|
12408
12450
|
render() {
|
|
12409
12451
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
12410
12452
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
12411
|
-
return (hAsync("div", { key: '
|
|
12453
|
+
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
|
|
12412
12454
|
,
|
|
12413
|
-
onClick: () => this.close() })), hAsync("div", { key: '
|
|
12455
|
+
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' })))));
|
|
12414
12456
|
}
|
|
12415
12457
|
get el() { return getElement(this); }
|
|
12416
12458
|
static get style() { return EdsModalStyle0; }
|
|
@@ -12500,13 +12542,13 @@ class EdsNps {
|
|
|
12500
12542
|
}
|
|
12501
12543
|
render() {
|
|
12502
12544
|
const count = this.max - this.min + 1;
|
|
12503
|
-
|
|
12504
|
-
return (hAsync("div", { key: '
|
|
12545
|
+
//onst fallback = 0;
|
|
12546
|
+
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) => {
|
|
12505
12547
|
const val = this.min + i;
|
|
12506
12548
|
const isSelected = val === this.selectedValue;
|
|
12507
|
-
const tabIndex =
|
|
12549
|
+
const tabIndex = isSelected ? 0 : -1;
|
|
12508
12550
|
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) })));
|
|
12509
|
-
})), hAsync("div", { key: '
|
|
12551
|
+
})), 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))));
|
|
12510
12552
|
}
|
|
12511
12553
|
get el() { return getElement(this); }
|
|
12512
12554
|
static get style() { return EdsNpsStyle0; }
|
|
@@ -12525,7 +12567,7 @@ class EdsNps {
|
|
|
12525
12567
|
}; }
|
|
12526
12568
|
}
|
|
12527
12569
|
|
|
12528
|
-
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}}";
|
|
12570
|
+
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}}";
|
|
12529
12571
|
var EdsPaginationStyle0 = edsPaginationCss;
|
|
12530
12572
|
|
|
12531
12573
|
/**
|
|
@@ -12768,7 +12810,7 @@ class EdsPagination {
|
|
|
12768
12810
|
if (newPage !== this.currentPage) {
|
|
12769
12811
|
this.links = this.links.map((link) => typeof link === 'object' ? Object.assign(Object.assign({}, link), { current: parseInt(link.label) === newPage }) : link);
|
|
12770
12812
|
const pageChangeEvent = new CustomEvent('page', {
|
|
12771
|
-
detail: newPage,
|
|
12813
|
+
detail: { value: newPage },
|
|
12772
12814
|
bubbles: true,
|
|
12773
12815
|
composed: true
|
|
12774
12816
|
});
|
|
@@ -12778,7 +12820,7 @@ class EdsPagination {
|
|
|
12778
12820
|
}
|
|
12779
12821
|
render() {
|
|
12780
12822
|
const navigableIndex = -1; // Track index for keyboard navigation
|
|
12781
|
-
return (hAsync("div", { key: '
|
|
12823
|
+
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) => {
|
|
12782
12824
|
if (this.mode === 'default' && !this.isFirstPage()) {
|
|
12783
12825
|
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
12784
12826
|
}
|
|
@@ -12985,7 +13027,7 @@ class EdsProgressBar {
|
|
|
12985
13027
|
]
|
|
12986
13028
|
.filter(Boolean)
|
|
12987
13029
|
.join(' ');
|
|
12988
|
-
return (hAsync("div", { key: '
|
|
13030
|
+
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, "%"))));
|
|
12989
13031
|
}
|
|
12990
13032
|
static get style() { return EdsProgressBarStyle0; }
|
|
12991
13033
|
static get cmpMeta() { return {
|
|
@@ -13068,12 +13110,12 @@ class EdsRating {
|
|
|
13068
13110
|
this.onSelect(next);
|
|
13069
13111
|
}
|
|
13070
13112
|
render() {
|
|
13071
|
-
return (hAsync("div", { key: '
|
|
13113
|
+
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) => {
|
|
13072
13114
|
const starRating = index + 1;
|
|
13073
13115
|
const isSelected = starRating <= this.selectedRating;
|
|
13074
13116
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
13075
13117
|
const checked = this.selectedRating === starRating;
|
|
13076
|
-
return (hAsync("eds-button", { ref: (el) => (this.buttonRefs[index] = el), icon: this.ratingType,
|
|
13118
|
+
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
|
|
13077
13119
|
}));
|
|
13078
13120
|
})));
|
|
13079
13121
|
}
|
|
@@ -13118,7 +13160,7 @@ class EdsSectionCore {
|
|
|
13118
13160
|
}
|
|
13119
13161
|
render() {
|
|
13120
13162
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
13121
|
-
return (hAsync(TagType, { key: '
|
|
13163
|
+
return (hAsync(TagType, { key: '99f87da56df0ac4b5b28ce721288507beb0cd431' }, hAsync("eds-section-heading", { key: '101137aa9637a95580393a52e7f41d71e8ae8e8b', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), hAsync("slot", { key: '0b6a6131d8e1e2528982571cf7ba617736a34173' })));
|
|
13122
13164
|
}
|
|
13123
13165
|
static get style() { return EdsSectionCoreStyle0; }
|
|
13124
13166
|
static get cmpMeta() { return {
|
|
@@ -13173,12 +13215,12 @@ class EdsSectionHeading {
|
|
|
13173
13215
|
render() {
|
|
13174
13216
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
13175
13217
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
13176
|
-
return (hAsync(TagType, { key: '
|
|
13218
|
+
return (hAsync(TagType, { key: '2af16d4d21378244ba843b619b3fd4f283b3e179', class: {
|
|
13177
13219
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
13178
13220
|
container: this.withContainer,
|
|
13179
13221
|
'pt-48': this.spacingLarge,
|
|
13180
13222
|
'pt-28': !this.spacingLarge
|
|
13181
|
-
} }, hAsync(HeadingTag, { key: '
|
|
13223
|
+
} }, hAsync(HeadingTag, { key: '8caa529d940fd5d2f7e8f49f7b8e5f2572712f9e', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
13182
13224
|
}
|
|
13183
13225
|
static get cmpMeta() { return {
|
|
13184
13226
|
"$flags$": 0,
|
|
@@ -13196,7 +13238,7 @@ class EdsSectionHeading {
|
|
|
13196
13238
|
}; }
|
|
13197
13239
|
}
|
|
13198
13240
|
|
|
13199
|
-
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)}.
|
|
13241
|
+
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}";
|
|
13200
13242
|
var EdsSocialNetworksStyle0 = edsSocialNetworksCss;
|
|
13201
13243
|
|
|
13202
13244
|
/**
|
|
@@ -13250,11 +13292,9 @@ class EdsSocialNetworks {
|
|
|
13250
13292
|
/**
|
|
13251
13293
|
* Renders the component's HTML structure with links to EBRAINS social profiles.
|
|
13252
13294
|
* Each social network link uses the `eds-link` component with specific classes and styles.
|
|
13253
|
-
*
|
|
13254
|
-
* @returns {JSX.Element} The rendered JSX for the component.
|
|
13255
13295
|
*/
|
|
13256
13296
|
render() {
|
|
13257
|
-
return (hAsync("
|
|
13297
|
+
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" })))))));
|
|
13258
13298
|
}
|
|
13259
13299
|
static get style() { return EdsSocialNetworksStyle0; }
|
|
13260
13300
|
static get cmpMeta() { return {
|
|
@@ -13345,7 +13385,7 @@ class EdsSpinner {
|
|
|
13345
13385
|
alignItems: 'center',
|
|
13346
13386
|
justifyContent: 'center'
|
|
13347
13387
|
};
|
|
13348
|
-
return (hAsync(Host, { key: '
|
|
13388
|
+
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))));
|
|
13349
13389
|
}
|
|
13350
13390
|
static get style() { return EdsSpinnerStyle0; }
|
|
13351
13391
|
static get cmpMeta() { return {
|
|
@@ -13429,40 +13469,60 @@ class EdsSplashScreen {
|
|
|
13429
13469
|
}; }
|
|
13430
13470
|
}
|
|
13431
13471
|
|
|
13432
|
-
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
|
|
13472
|
+
const edsStepsCss = ".steps{position:sticky;margin-left:16px;margin-bottom:12px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.my-16{margin-top:1rem;margin-bottom:1rem}.mt-16{margin-top:1rem}.mb-28{margin-bottom:1.75rem}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.cursor-pointer{cursor:pointer}";
|
|
13433
13473
|
var EdsStepsStyle0 = edsStepsCss;
|
|
13434
13474
|
|
|
13435
13475
|
class EdsSteps {
|
|
13436
13476
|
constructor(hostRef) {
|
|
13437
13477
|
registerInstance(this, hostRef);
|
|
13438
13478
|
this.step = createEvent(this, "step", 7);
|
|
13479
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13480
|
+
this.next = createEvent(this, "next", 7);
|
|
13481
|
+
this.back = createEvent(this, "back", 7);
|
|
13439
13482
|
this.handleNext = () => {
|
|
13440
|
-
|
|
13441
|
-
if (this.activeStep
|
|
13442
|
-
this.
|
|
13483
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13484
|
+
if (this.activeStep >= lastIndex) {
|
|
13485
|
+
this.finished.emit();
|
|
13486
|
+
return;
|
|
13487
|
+
}
|
|
13488
|
+
const target = this.activeStep + 1;
|
|
13489
|
+
this.next.emit(target);
|
|
13490
|
+
if (this.isNextDisabledFor(this.activeStep)) {
|
|
13491
|
+
return;
|
|
13492
|
+
} // block advance only if current is disabled
|
|
13493
|
+
this.activeStep = target;
|
|
13494
|
+
this.step.emit(this.activeStep);
|
|
13495
|
+
// 2) if using the boolean form, clear it when moving away from a step
|
|
13496
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13497
|
+
this.disableNext = false;
|
|
13443
13498
|
}
|
|
13444
13499
|
};
|
|
13445
13500
|
this.handleBack = () => {
|
|
13446
13501
|
if (this.activeStep > 0) {
|
|
13447
|
-
|
|
13502
|
+
const target = this.activeStep - 1;
|
|
13503
|
+
this.back.emit(target);
|
|
13504
|
+
this.activeStep = target;
|
|
13448
13505
|
this.step.emit(this.activeStep);
|
|
13506
|
+
// also clear boolean form on back
|
|
13507
|
+
if (!Array.isArray(this.disableNext)) {
|
|
13508
|
+
this.disableNext = false;
|
|
13509
|
+
}
|
|
13449
13510
|
}
|
|
13450
13511
|
};
|
|
13451
13512
|
this.steps = [];
|
|
13452
13513
|
this.type = 'static';
|
|
13514
|
+
this.nextLabel = 'Next';
|
|
13515
|
+
this.backLabel = 'Back';
|
|
13516
|
+
this.finishLabel = 'Finish';
|
|
13517
|
+
this.disableNext = false;
|
|
13518
|
+
this.headingLevel = 'h4';
|
|
13453
13519
|
this.activeStep = 0;
|
|
13454
13520
|
}
|
|
13455
|
-
/**
|
|
13456
|
-
* Lifecycle method that runs when the component has fully loaded.
|
|
13457
|
-
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
13458
|
-
*/
|
|
13459
13521
|
componentDidLoad() {
|
|
13460
13522
|
var _a;
|
|
13461
13523
|
if (this.type === 'linear') {
|
|
13462
13524
|
const btns = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('eds-button');
|
|
13463
|
-
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) =>
|
|
13464
|
-
this.emitContext(btn);
|
|
13465
|
-
});
|
|
13525
|
+
btns === null || btns === void 0 ? void 0 : btns.forEach((btn) => this.emitContext(btn));
|
|
13466
13526
|
}
|
|
13467
13527
|
}
|
|
13468
13528
|
activeStepChanged(newValue) {
|
|
@@ -13470,19 +13530,10 @@ class EdsSteps {
|
|
|
13470
13530
|
var _a;
|
|
13471
13531
|
const activeStepContainer = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelectorAll('.step')[newValue];
|
|
13472
13532
|
if (activeStepContainer) {
|
|
13473
|
-
|
|
13474
|
-
btns.forEach((btn) => {
|
|
13475
|
-
this.emitContext(btn);
|
|
13476
|
-
});
|
|
13533
|
+
activeStepContainer.querySelectorAll('eds-button').forEach((btn) => this.emitContext(btn));
|
|
13477
13534
|
}
|
|
13478
13535
|
}, 50);
|
|
13479
13536
|
}
|
|
13480
|
-
/**
|
|
13481
|
-
* Emits a custom event called `parentContext` for a given link element.
|
|
13482
|
-
* This event provides context information about the breadcrumb component.
|
|
13483
|
-
*
|
|
13484
|
-
* @param linkElement - The link element to which the event will be dispatched.
|
|
13485
|
-
*/
|
|
13486
13537
|
emitContext(linkElement) {
|
|
13487
13538
|
const event = new CustomEvent('parentContext', {
|
|
13488
13539
|
detail: {
|
|
@@ -13492,26 +13543,29 @@ class EdsSteps {
|
|
|
13492
13543
|
});
|
|
13493
13544
|
linkElement.dispatchEvent(event);
|
|
13494
13545
|
}
|
|
13495
|
-
handleStepClick(index) {
|
|
13496
|
-
this.step.emit(index);
|
|
13497
|
-
// In linear mode, update the active step on header click.
|
|
13498
|
-
if (this.type === 'linear') {
|
|
13499
|
-
this.activeStep = index;
|
|
13500
|
-
}
|
|
13501
|
-
}
|
|
13502
|
-
/**
|
|
13503
|
-
* Parse the JSON string into an array of steps.
|
|
13504
|
-
*/
|
|
13505
13546
|
get parsedSteps() {
|
|
13506
13547
|
return parseData(this.steps);
|
|
13507
13548
|
}
|
|
13549
|
+
isNextDisabledFor(index) {
|
|
13550
|
+
return Array.isArray(this.disableNext)
|
|
13551
|
+
? !!this.disableNext[index] // per-step
|
|
13552
|
+
: index === this.activeStep && !!this.disableNext; // only active step
|
|
13553
|
+
}
|
|
13554
|
+
/** Render the semantic heading element */
|
|
13555
|
+
renderHeading(title) {
|
|
13556
|
+
const Tag = this.headingLevel;
|
|
13557
|
+
return hAsync(Tag, null, title);
|
|
13558
|
+
}
|
|
13508
13559
|
render() {
|
|
13509
13560
|
const steps = this.parsedSteps;
|
|
13510
13561
|
if (this.type === 'linear') {
|
|
13511
|
-
return (hAsync("div",
|
|
13562
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => {
|
|
13563
|
+
const isLast = index === steps.length - 1;
|
|
13564
|
+
return (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), this.activeStep === index && (hAsync("div", { class: "content grid gap-y-16" }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: isLast ? 'f-body-02 text-lighter' : 'f-body-02 text-lighter', innerHTML: step.content })), hAsync("div", { class: "flex items-center mt-16" }, hAsync("eds-button", { label: this.backLabel, intent: "ghost", icon: "chevron-left", iconPos: "left", iconSmall: true, onClick: this.handleBack, disabled: index === 0, class: index === 0 ? 'hidden' : 'block', size: "small" }), hAsync("eds-button", { label: isLast ? this.finishLabel : this.nextLabel, intent: "primary", icon: "chevron-right", iconSmall: true, onClick: this.handleNext, disabled: this.isNextDisabledFor(index), size: "small", class: "ml-8" })), hAsync("slot", { name: `actions-${index}` })))));
|
|
13565
|
+
})));
|
|
13512
13566
|
}
|
|
13513
|
-
// Static
|
|
13514
|
-
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index },
|
|
13567
|
+
// Static: no navigation buttons
|
|
13568
|
+
return (hAsync("div", { class: "steps" }, steps.map((step, index) => (hAsync("div", { class: "step mb-28", key: index }, this.renderHeading(step.title), hAsync("div", { class: "content" }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter my-16', innerHTML: step.content }))))))));
|
|
13515
13569
|
}
|
|
13516
13570
|
get el() { return getElement(this); }
|
|
13517
13571
|
static get watchers() { return {
|
|
@@ -13524,30 +13578,49 @@ class EdsSteps {
|
|
|
13524
13578
|
"$members$": {
|
|
13525
13579
|
"steps": [1],
|
|
13526
13580
|
"type": [1],
|
|
13581
|
+
"nextLabel": [1, "next-label"],
|
|
13582
|
+
"backLabel": [1, "back-label"],
|
|
13583
|
+
"finishLabel": [1, "finish-label"],
|
|
13584
|
+
"disableNext": [1028, "disable-next"],
|
|
13585
|
+
"headingLevel": [513, "heading-level"],
|
|
13527
13586
|
"activeStep": [32]
|
|
13528
13587
|
},
|
|
13529
13588
|
"$listeners$": undefined,
|
|
13530
13589
|
"$lazyBundleId$": "-",
|
|
13531
|
-
"$attrsToReflect$": []
|
|
13590
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13532
13591
|
}; }
|
|
13533
13592
|
}
|
|
13534
13593
|
|
|
13535
|
-
const edsStepsV2Css = "
|
|
13594
|
+
const edsStepsV2Css = ".steps{position:sticky;margin-left:16px;border-left:1px solid var(--soft-color, #ddd);padding-left:23px;counter-reset:step}.steps h3{counter-increment:step;font-size:var(--f-heading-05-fontSize);font-weight:var(--f-heading-05-fontWeight);line-height:var(--f-heading-05-lineHeight);position:relative}.steps h3::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;font-size:1rem;border:1px solid #ccc;background:var(--grey-900);color:#fff;border-radius:50%}.steps h4,.steps h5{counter-increment:step;font-size:var(--f-heading-06-fontSize);font-weight:var(--f-heading-06-fontWeight);line-height:var(--f-heading-06-lineHeight);position:relative}.steps h4::before,.steps h5::before{content:counter(step);position:absolute;left:-40px;top:-2px;display:flex;align-items:center;justify-content:center;width:30px;height:30px;font-size:0.875rem;border:1px solid #ccc;background:#333;color:#fff;border-radius:50%}.steps blockquote{margin-top:16px;margin-bottom:16px;font-style:italic;color:#aaa;padding-left:6px}.steps-img-placeholder{width:100%;height:200px;background:linear-gradient(to bottom, #9CE142, #00C959, #00A595);}.bg-\\[\\#00A595\\]{--tw-bg-opacity:1;background-color:rgb(0 165 149 / var(--tw-bg-opacity))}.relative{position:relative}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.text-inverse{color:var(--white)}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.w-full{width:100%}.h-52{height:3.25rem}.h-96{height:6rem}.h-\\[200px\\]{height:200px}.mt-16{margin-top:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.mb-12{margin-bottom:0.75rem}.last\\:mb-0:last-child{margin-bottom:0rem}.last\\:mt-16:last-child{margin-top:1rem}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.relative{position:relative}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.rounded{border-radius:0.25rem}.rounded-lg{border-radius:16px}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.p-24{padding:1.5rem}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.top-2{top:0.125rem}.bottom-2{bottom:0.125rem}.left-2{left:0.125rem}.right-2{right:0.125rem}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.overflow-hidden{overflow:hidden}.space-y-8{--tw-space-y-reverse:0;margin-top:calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0.5rem * var(--tw-space-y-reverse))}.space-y-16{--tw-space-y-reverse:0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.ml-8{margin-left:0.5rem}.gap-y-16{row-gap:1rem}.gap-x-16{-moz-column-gap:1rem;column-gap:1rem}.flex{display:flex}.grid{display:grid}.hidden{display:none}.block{display:block}.px-8{padding-left:0.5rem;padding-right:0.5rem}.pb-20{padding-bottom:1.25rem}";
|
|
13536
13595
|
var EdsStepsV2Style0 = edsStepsV2Css;
|
|
13537
13596
|
|
|
13538
13597
|
class EdsStepsV2 {
|
|
13539
13598
|
constructor(hostRef) {
|
|
13540
13599
|
registerInstance(this, hostRef);
|
|
13541
13600
|
this.step = createEvent(this, "step", 7);
|
|
13601
|
+
this.finished = createEvent(this, "finished", 7);
|
|
13602
|
+
this.next = createEvent(this, "next", 7);
|
|
13603
|
+
this.back = createEvent(this, "back", 7);
|
|
13542
13604
|
this.handleNext = () => {
|
|
13543
|
-
|
|
13544
|
-
if (this.activeStep
|
|
13605
|
+
const lastIndex = this.parsedSteps.length - 1;
|
|
13606
|
+
if (this.activeStep >= lastIndex) {
|
|
13607
|
+
// Finish
|
|
13608
|
+
this.finished.emit();
|
|
13609
|
+
return;
|
|
13610
|
+
}
|
|
13611
|
+
// Next
|
|
13612
|
+
const target = this.activeStep + 1;
|
|
13613
|
+
this.next.emit(target);
|
|
13614
|
+
if (!this.disableNext) {
|
|
13615
|
+
this.activeStep = target;
|
|
13545
13616
|
this.step.emit(this.activeStep);
|
|
13546
13617
|
}
|
|
13547
13618
|
};
|
|
13548
13619
|
this.handleBack = () => {
|
|
13549
13620
|
if (this.activeStep > 0) {
|
|
13550
|
-
|
|
13621
|
+
const target = this.activeStep - 1;
|
|
13622
|
+
this.back.emit(target);
|
|
13623
|
+
this.activeStep = target;
|
|
13551
13624
|
this.step.emit(this.activeStep);
|
|
13552
13625
|
}
|
|
13553
13626
|
};
|
|
@@ -13557,6 +13630,11 @@ class EdsStepsV2 {
|
|
|
13557
13630
|
this.imageWidth = undefined;
|
|
13558
13631
|
this.bg = true;
|
|
13559
13632
|
this.message = undefined;
|
|
13633
|
+
this.nextLabel = 'Next';
|
|
13634
|
+
this.backLabel = 'Back';
|
|
13635
|
+
this.finishLabel = 'Finish';
|
|
13636
|
+
this.disableNext = false;
|
|
13637
|
+
this.headingLevel = 'h4';
|
|
13560
13638
|
this.activeStep = 0;
|
|
13561
13639
|
}
|
|
13562
13640
|
componentDidLoad() {
|
|
@@ -13595,24 +13673,22 @@ class EdsStepsV2 {
|
|
|
13595
13673
|
'border-softer effect-focus-within relative rounded-lg border-2'
|
|
13596
13674
|
].join(' ');
|
|
13597
13675
|
}
|
|
13598
|
-
handleStepClick(index) {
|
|
13599
|
-
this.step.emit(index);
|
|
13600
|
-
// In linear mode, update the active step on header click.
|
|
13601
|
-
if (this.type === 'linear') {
|
|
13602
|
-
this.activeStep = index;
|
|
13603
|
-
}
|
|
13604
|
-
}
|
|
13605
13676
|
/**
|
|
13606
13677
|
* Parses the steps property into an array of Step objects.
|
|
13607
13678
|
*/
|
|
13608
13679
|
get parsedSteps() {
|
|
13609
13680
|
return parseData(this.steps);
|
|
13610
13681
|
}
|
|
13682
|
+
/** Render the semantic heading element */
|
|
13683
|
+
renderHeading(title) {
|
|
13684
|
+
const Tag = this.headingLevel;
|
|
13685
|
+
return hAsync(Tag, null, title);
|
|
13686
|
+
}
|
|
13611
13687
|
render() {
|
|
13612
13688
|
const steps = this.parsedSteps;
|
|
13613
|
-
return (hAsync("div", { key: '
|
|
13689
|
+
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" }))))))))) : (
|
|
13614
13690
|
// Static mode: show all steps with their content.
|
|
13615
|
-
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index },
|
|
13691
|
+
hAsync("div", { class: "steps space-y-8" }, steps.map((step, index) => (hAsync("div", { class: "step", key: index }, this.renderHeading(step.title), hAsync("div", { class: "content" }, hAsync("slot", { name: `step-${index}` }, hAsync("div", { class: index === steps.length - 1 ? 'f-body-02 text-lighter mt-16' : 'f-body-02 text-lighter', innerHTML: step.content })))))))))));
|
|
13616
13692
|
}
|
|
13617
13693
|
get el() { return getElement(this); }
|
|
13618
13694
|
static get watchers() { return {
|
|
@@ -13629,11 +13705,16 @@ class EdsStepsV2 {
|
|
|
13629
13705
|
"imageWidth": [2, "image-width"],
|
|
13630
13706
|
"bg": [4],
|
|
13631
13707
|
"message": [1],
|
|
13708
|
+
"nextLabel": [1, "next-label"],
|
|
13709
|
+
"backLabel": [1, "back-label"],
|
|
13710
|
+
"finishLabel": [1, "finish-label"],
|
|
13711
|
+
"disableNext": [4, "disable-next"],
|
|
13712
|
+
"headingLevel": [513, "heading-level"],
|
|
13632
13713
|
"activeStep": [32]
|
|
13633
13714
|
},
|
|
13634
13715
|
"$listeners$": undefined,
|
|
13635
13716
|
"$lazyBundleId$": "-",
|
|
13636
|
-
"$attrsToReflect$": []
|
|
13717
|
+
"$attrsToReflect$": [["headingLevel", "heading-level"]]
|
|
13637
13718
|
}; }
|
|
13638
13719
|
}
|
|
13639
13720
|
|
|
@@ -13687,11 +13768,11 @@ class EdsSwitch {
|
|
|
13687
13768
|
: this.labelOff
|
|
13688
13769
|
: 'Toggle switch'
|
|
13689
13770
|
: undefined;
|
|
13690
|
-
return (hAsync("div", { key: '
|
|
13771
|
+
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: {
|
|
13691
13772
|
switch: true,
|
|
13692
13773
|
'switch--checked': this.checked,
|
|
13693
13774
|
'switch--disabled': this.disabled
|
|
13694
|
-
}, onClick: this.toggleSwitch, onKeyDown: this.handleKeyDown, disabled: this.disabled }, hAsync("span", { key: '
|
|
13775
|
+
}, 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))));
|
|
13695
13776
|
}
|
|
13696
13777
|
get el() { return getElement(this); }
|
|
13697
13778
|
static get style() { return EdsSwitchStyle0; }
|
|
@@ -13710,7 +13791,7 @@ class EdsSwitch {
|
|
|
13710
13791
|
}; }
|
|
13711
13792
|
}
|
|
13712
13793
|
|
|
13713
|
-
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}";
|
|
13794
|
+
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}";
|
|
13714
13795
|
var EdsTableStyle0 = edsTableCss;
|
|
13715
13796
|
|
|
13716
13797
|
/**
|
|
@@ -13848,7 +13929,7 @@ class EdsTable {
|
|
|
13848
13929
|
}
|
|
13849
13930
|
const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
|
|
13850
13931
|
if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
|
|
13851
|
-
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail));
|
|
13932
|
+
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail.value));
|
|
13852
13933
|
paginationEl.setAttribute('listener-attached', 'true');
|
|
13853
13934
|
}
|
|
13854
13935
|
}
|
|
@@ -13897,7 +13978,9 @@ class EdsTable {
|
|
|
13897
13978
|
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) }));
|
|
13898
13979
|
}
|
|
13899
13980
|
// Let all action buttons be focusable naturally
|
|
13900
|
-
|
|
13981
|
+
const showLabel = act.showLabel === true;
|
|
13982
|
+
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) }));
|
|
13983
|
+
return showLabel ? btn : hAsync("eds-tooltip", { content: act.label }, btn);
|
|
13901
13984
|
}
|
|
13902
13985
|
emitAction(actionName, row, checked) {
|
|
13903
13986
|
sendAnalytics({
|
|
@@ -13943,7 +14026,7 @@ class EdsTable {
|
|
|
13943
14026
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
13944
14027
|
const paginatedRows = this.getPaginatedRows();
|
|
13945
14028
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
13946
|
-
return (hAsync("div", { key: '
|
|
14029
|
+
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) => {
|
|
13947
14030
|
var _a;
|
|
13948
14031
|
if (col === 'actions') {
|
|
13949
14032
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -13952,7 +14035,7 @@ class EdsTable {
|
|
|
13952
14035
|
return (hAsync("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
13953
14036
|
}
|
|
13954
14037
|
return null;
|
|
13955
|
-
}))), hAsync("tbody", { key: '
|
|
14038
|
+
}))), 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) => {
|
|
13956
14039
|
var _a;
|
|
13957
14040
|
if (col === 'actions') {
|
|
13958
14041
|
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: {
|
|
@@ -13967,7 +14050,7 @@ class EdsTable {
|
|
|
13967
14050
|
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)));
|
|
13968
14051
|
}
|
|
13969
14052
|
return null;
|
|
13970
|
-
}))))))), this.shouldEnablePagination() && (hAsync("div", { key: '
|
|
14053
|
+
}))))))), 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" })))));
|
|
13971
14054
|
}
|
|
13972
14055
|
get hostEl() { return getElement(this); }
|
|
13973
14056
|
static get watchers() { return {
|
|
@@ -14178,12 +14261,12 @@ class EdsTabs {
|
|
|
14178
14261
|
}
|
|
14179
14262
|
}
|
|
14180
14263
|
render() {
|
|
14181
|
-
return (hAsync("div", { key: '
|
|
14264
|
+
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) => {
|
|
14182
14265
|
const TabComponent = 'button';
|
|
14183
14266
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
14184
14267
|
const isActive = index === this.activeIndex;
|
|
14185
14268
|
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));
|
|
14186
|
-
}))), hAsync("div", { key: '
|
|
14269
|
+
}))), 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}` })))))));
|
|
14187
14270
|
}
|
|
14188
14271
|
get el() { return getElement(this); }
|
|
14189
14272
|
static get watchers() { return {
|
|
@@ -14246,7 +14329,7 @@ class EdsTag {
|
|
|
14246
14329
|
}
|
|
14247
14330
|
render() {
|
|
14248
14331
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
14249
|
-
return hAsync("span", { key: '
|
|
14332
|
+
return hAsync("span", { key: 'e3fe041e8783a7d1bb5a281eb154e3c07851da38', class: classes }, this.label);
|
|
14250
14333
|
}
|
|
14251
14334
|
static get style() { return EdsTagStyle0; }
|
|
14252
14335
|
static get cmpMeta() { return {
|
|
@@ -14308,7 +14391,7 @@ class EdsTimeline {
|
|
|
14308
14391
|
}
|
|
14309
14392
|
}
|
|
14310
14393
|
render() {
|
|
14311
|
-
return (hAsync("div", { key: '
|
|
14394
|
+
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
|
|
14312
14395
|
? [{ label: 'completed', style: 'accent' }]
|
|
14313
14396
|
: [{ 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
|
|
14314
14397
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -14482,7 +14565,7 @@ class EdsToastManager {
|
|
|
14482
14565
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
14483
14566
|
}
|
|
14484
14567
|
render() {
|
|
14485
|
-
return (hAsync("div", { key: '
|
|
14568
|
+
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) }))))));
|
|
14486
14569
|
}
|
|
14487
14570
|
get hostElement() { return getElement(this); }
|
|
14488
14571
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -14498,7 +14581,7 @@ class EdsToastManager {
|
|
|
14498
14581
|
}; }
|
|
14499
14582
|
}
|
|
14500
14583
|
|
|
14501
|
-
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%}";
|
|
14584
|
+
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%}";
|
|
14502
14585
|
var EdsTooltipStyle0 = edsTooltipCss;
|
|
14503
14586
|
|
|
14504
14587
|
/**
|
|
@@ -14521,10 +14604,10 @@ class EdsTooltip {
|
|
|
14521
14604
|
}
|
|
14522
14605
|
render() {
|
|
14523
14606
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
14524
|
-
return (hAsync("div", { key: '
|
|
14607
|
+
return (hAsync("div", { key: '135df7d17db03fb3bb7bbcc50ad9ee5d84a2bca2', class: "relative w-full inline-block group" }, hAsync("slot", { key: '4c12874eeb942e33f9c62ea6f1077fd051f683b6' }), hAsync("div", { key: '8bb7173d16889b2ae550dc0269d9e47e1dae00ac', class: `absolute ${positionClass}
|
|
14525
14608
|
rounded-xs bg-strongest text-inverse
|
|
14526
14609
|
f-ui-03-light pointer-events-none
|
|
14527
|
-
z-10
|
|
14610
|
+
z-10 px-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
14528
14611
|
group-hover:opacity-100 whitespace-normal break-words`, role: "tooltip" }, this.content)));
|
|
14529
14612
|
}
|
|
14530
14613
|
get el() { return getElement(this); }
|
|
@@ -14585,7 +14668,7 @@ class EdsTrl {
|
|
|
14585
14668
|
Application: { format: 'code' },
|
|
14586
14669
|
'Current TRL Stage': { format: 'text' }
|
|
14587
14670
|
};
|
|
14588
|
-
return (hAsync("div", { key: '
|
|
14671
|
+
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" })));
|
|
14589
14672
|
}
|
|
14590
14673
|
static get cmpMeta() { return {
|
|
14591
14674
|
"$flags$": 0,
|
|
@@ -14611,7 +14694,12 @@ var EdsUserStyle0 = edsUserCss;
|
|
|
14611
14694
|
class EdsUser {
|
|
14612
14695
|
constructor(hostRef) {
|
|
14613
14696
|
registerInstance(this, hostRef);
|
|
14697
|
+
this.handleDropdown = (e) => {
|
|
14698
|
+
this.expanded = e.detail.expanded;
|
|
14699
|
+
};
|
|
14614
14700
|
this.user = undefined;
|
|
14701
|
+
this.intent = 'tertiary';
|
|
14702
|
+
this.expanded = false;
|
|
14615
14703
|
}
|
|
14616
14704
|
/**
|
|
14617
14705
|
* Helper getter to ensure we work with a User object.
|
|
@@ -14637,7 +14725,8 @@ class EdsUser {
|
|
|
14637
14725
|
}
|
|
14638
14726
|
render() {
|
|
14639
14727
|
const user = this.parsedUser;
|
|
14640
|
-
|
|
14728
|
+
const iconName = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
14729
|
+
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' })))))));
|
|
14641
14730
|
}
|
|
14642
14731
|
get hostEl() { return getElement(this); }
|
|
14643
14732
|
static get style() { return EdsUserStyle0; }
|
|
@@ -14645,7 +14734,9 @@ class EdsUser {
|
|
|
14645
14734
|
"$flags$": 9,
|
|
14646
14735
|
"$tagName$": "eds-user",
|
|
14647
14736
|
"$members$": {
|
|
14648
|
-
"user": [1025]
|
|
14737
|
+
"user": [1025],
|
|
14738
|
+
"intent": [1],
|
|
14739
|
+
"expanded": [32]
|
|
14649
14740
|
},
|
|
14650
14741
|
"$listeners$": undefined,
|
|
14651
14742
|
"$lazyBundleId$": "-",
|
|
@@ -14688,7 +14779,7 @@ class GradientPrimaryPalette {
|
|
|
14688
14779
|
];
|
|
14689
14780
|
}
|
|
14690
14781
|
render() {
|
|
14691
|
-
return (hAsync("ul", { key: '
|
|
14782
|
+
return (hAsync("ul", { key: '1a8020d4141fdd0e5849eeec1f474a9e423df044', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
14692
14783
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
14693
14784
|
} }, 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))))))));
|
|
14694
14785
|
}
|
|
@@ -14761,19 +14852,19 @@ class GradientSecondaryPalette {
|
|
|
14761
14852
|
];
|
|
14762
14853
|
}
|
|
14763
14854
|
render() {
|
|
14764
|
-
return (hAsync("div", { key: '
|
|
14855
|
+
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: {
|
|
14765
14856
|
background: this.colors[0].background
|
|
14766
|
-
} }, hAsync("div", { key: '
|
|
14857
|
+
} }, 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: {
|
|
14767
14858
|
background: this.colors[1].background
|
|
14768
|
-
} }, hAsync("div", { key: '
|
|
14859
|
+
} }, 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: {
|
|
14769
14860
|
background: this.colors[2].background
|
|
14770
|
-
} }, hAsync("div", { key: '
|
|
14861
|
+
} }, 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: {
|
|
14771
14862
|
background: this.colors[3].background
|
|
14772
|
-
} }, hAsync("div", { key: '
|
|
14863
|
+
} }, 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: {
|
|
14773
14864
|
background: this.colors[4].background
|
|
14774
|
-
} }, hAsync("div", { key: '
|
|
14865
|
+
} }, 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: {
|
|
14775
14866
|
background: this.colors[5].background
|
|
14776
|
-
} }, hAsync("div", { key: '
|
|
14867
|
+
} }, 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)))))));
|
|
14777
14868
|
}
|
|
14778
14869
|
static get cmpMeta() { return {
|
|
14779
14870
|
"$flags$": 0,
|
|
@@ -14836,11 +14927,11 @@ class GradientSupportPalette {
|
|
|
14836
14927
|
];
|
|
14837
14928
|
}
|
|
14838
14929
|
render() {
|
|
14839
|
-
return (hAsync("ul", { key: '
|
|
14930
|
+
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: {
|
|
14840
14931
|
background: this.colors[2].background
|
|
14841
|
-
} }, hAsync("div", { key: '
|
|
14932
|
+
} }, 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: {
|
|
14842
14933
|
background: this.colors[3].background
|
|
14843
|
-
} }, hAsync("div", { key: '
|
|
14934
|
+
} }, 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'))))));
|
|
14844
14935
|
}
|
|
14845
14936
|
static get cmpMeta() { return {
|
|
14846
14937
|
"$flags$": 0,
|
|
@@ -14894,7 +14985,7 @@ class IncorrectUseOfColors {
|
|
|
14894
14985
|
registerInstance(this, hostRef);
|
|
14895
14986
|
}
|
|
14896
14987
|
render() {
|
|
14897
|
-
return (hAsync("div", { key: '
|
|
14988
|
+
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 } })))))))));
|
|
14898
14989
|
}
|
|
14899
14990
|
static get cmpMeta() { return {
|
|
14900
14991
|
"$flags$": 0,
|
|
@@ -14917,7 +15008,7 @@ class LogoSpace {
|
|
|
14917
15008
|
registerInstance(this, hostRef);
|
|
14918
15009
|
}
|
|
14919
15010
|
render() {
|
|
14920
|
-
return (hAsync("div", { key: '
|
|
15011
|
+
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" }))));
|
|
14921
15012
|
}
|
|
14922
15013
|
static get style() { return LogoSpaceStyle0; }
|
|
14923
15014
|
static get cmpMeta() { return {
|
|
@@ -14941,7 +15032,7 @@ class LogoVariationsHorizontal {
|
|
|
14941
15032
|
registerInstance(this, hostRef);
|
|
14942
15033
|
}
|
|
14943
15034
|
render() {
|
|
14944
|
-
return (hAsync("div", { key: '
|
|
15035
|
+
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: "#" }))))));
|
|
14945
15036
|
}
|
|
14946
15037
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
14947
15038
|
static get cmpMeta() { return {
|
|
@@ -14973,7 +15064,7 @@ class LogoVariationsTabs {
|
|
|
14973
15064
|
}
|
|
14974
15065
|
}
|
|
14975
15066
|
render() {
|
|
14976
|
-
return hAsync("div", { key: '
|
|
15067
|
+
return hAsync("div", { key: 'a7e8981363410d2a325478150990092516e74f2e', class: "container" }, this.renderContent());
|
|
14977
15068
|
}
|
|
14978
15069
|
static get cmpMeta() { return {
|
|
14979
15070
|
"$flags$": 0,
|
|
@@ -15000,7 +15091,7 @@ class LogoVariationsVertical {
|
|
|
15000
15091
|
this.type = undefined;
|
|
15001
15092
|
}
|
|
15002
15093
|
render() {
|
|
15003
|
-
return (hAsync("div", { key: '
|
|
15094
|
+
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: "#" }))))));
|
|
15004
15095
|
}
|
|
15005
15096
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
15006
15097
|
static get cmpMeta() { return {
|
|
@@ -15027,7 +15118,7 @@ class LogoWrongUsage {
|
|
|
15027
15118
|
registerInstance(this, hostRef);
|
|
15028
15119
|
}
|
|
15029
15120
|
render() {
|
|
15030
|
-
return (hAsync("div", { key: '
|
|
15121
|
+
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"))))));
|
|
15031
15122
|
}
|
|
15032
15123
|
static get style() { return LogoWrongUsageStyle0; }
|
|
15033
15124
|
static get cmpMeta() { return {
|
|
@@ -15071,7 +15162,7 @@ class SvgRepository {
|
|
|
15071
15162
|
icon: { format: 'svg' },
|
|
15072
15163
|
name: { format: 'bold' }
|
|
15073
15164
|
};
|
|
15074
|
-
return (hAsync("div", { key: '
|
|
15165
|
+
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 })));
|
|
15075
15166
|
}
|
|
15076
15167
|
get hostEl() { return getElement(this); }
|
|
15077
15168
|
static get style() { return SvgRepositoryStyle0; }
|
|
@@ -15328,7 +15419,7 @@ class TokenList {
|
|
|
15328
15419
|
render() {
|
|
15329
15420
|
// Check if `show` prop is provided; if not, display all sections
|
|
15330
15421
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
15331
|
-
return (hAsync("section", { key: '
|
|
15422
|
+
return (hAsync("section", { key: 'c5a0dc7f4e58c77624481262b1a6ac31df5425ee', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
15332
15423
|
// Only render sections that exist in `colors`
|
|
15333
15424
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
15334
15425
|
}
|
|
@@ -15361,7 +15452,7 @@ class TokenRadii {
|
|
|
15361
15452
|
registerInstance(this, hostRef);
|
|
15362
15453
|
}
|
|
15363
15454
|
render() {
|
|
15364
|
-
return (hAsync("section", { key: '
|
|
15455
|
+
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" }))))))));
|
|
15365
15456
|
}
|
|
15366
15457
|
static get cmpMeta() { return {
|
|
15367
15458
|
"$flags$": 0,
|
|
@@ -15390,7 +15481,7 @@ class TokenRatios {
|
|
|
15390
15481
|
registerInstance(this, hostRef);
|
|
15391
15482
|
}
|
|
15392
15483
|
render() {
|
|
15393
|
-
return (hAsync("section", { key: '
|
|
15484
|
+
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: {
|
|
15394
15485
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
15395
15486
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
15396
15487
|
maxWidth: '300px'
|
|
@@ -15432,7 +15523,7 @@ class TokenShadows {
|
|
|
15432
15523
|
registerInstance(this, hostRef);
|
|
15433
15524
|
}
|
|
15434
15525
|
render() {
|
|
15435
|
-
return (hAsync("section", { key: '
|
|
15526
|
+
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]" })))))))));
|
|
15436
15527
|
}
|
|
15437
15528
|
static get cmpMeta() { return {
|
|
15438
15529
|
"$flags$": 0,
|
|
@@ -15452,7 +15543,7 @@ class TokenSpacing {
|
|
|
15452
15543
|
registerInstance(this, hostRef);
|
|
15453
15544
|
}
|
|
15454
15545
|
render() {
|
|
15455
|
-
return (hAsync("div", { key: '
|
|
15546
|
+
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")))))));
|
|
15456
15547
|
}
|
|
15457
15548
|
static get cmpMeta() { return {
|
|
15458
15549
|
"$flags$": 0,
|
|
@@ -15670,7 +15761,7 @@ class TokenTypography {
|
|
|
15670
15761
|
registerInstance(this, hostRef);
|
|
15671
15762
|
}
|
|
15672
15763
|
render() {
|
|
15673
|
-
return (hAsync("section", { key: '
|
|
15764
|
+
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)
|
|
15674
15765
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
15675
15766
|
.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: {
|
|
15676
15767
|
fontFamily: typography.families.sans,
|
|
@@ -15742,6 +15833,7 @@ registerComponents([
|
|
|
15742
15833
|
EdsIconClone,
|
|
15743
15834
|
EdsIconClose,
|
|
15744
15835
|
EdsIconCopy,
|
|
15836
|
+
EdsIconDownload,
|
|
15745
15837
|
EdsIconDraft,
|
|
15746
15838
|
EdsIconEdit,
|
|
15747
15839
|
EdsIconEu,
|