@ebrains/components 0.0.1-alpha.0 → 0.2.0-alpha.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-ac51ccf7.js → color-3ffe3072.js} +6 -6
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components.cjs.js +3 -30
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion.cjs.entry.js +5 -4
- package/dist/cjs/{eds-accordion_23.cjs.entry.js → eds-alert_28.cjs.entry.js} +394 -221
- package/dist/cjs/eds-block-break.cjs.entry.js +3 -2
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +3 -2
- package/dist/cjs/eds-card-project.cjs.entry.js +5 -5
- package/dist/cjs/eds-card-section.cjs.entry.js +4 -3
- package/dist/cjs/eds-card-tags.cjs.entry.js +3 -2
- package/dist/cjs/eds-card-tool.cjs.entry.js +6 -5
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +4 -34
- package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/eds-footer.cjs.entry.js +4 -3
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +3 -2
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-close.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-copy.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-eu.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-loader.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-menu.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-more.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-search.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-success.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-user.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +3 -3
- package/dist/cjs/eds-login.cjs.entry.js +3 -3
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +7 -6
- package/dist/cjs/eds-modal.cjs.entry.js +45 -5
- package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
- package/dist/cjs/eds-pagination.cjs.entry.js +3 -2
- package/dist/cjs/eds-rating.cjs.entry.js +3 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +1 -1
- package/dist/cjs/eds-social-networks.cjs.entry.js +4 -3
- package/dist/cjs/eds-svg-repository.cjs.entry.js +292 -4
- package/dist/cjs/eds-tab.cjs.entry.js +2 -2
- package/dist/cjs/eds-table.cjs.entry.js +3 -2
- package/dist/cjs/eds-tabs-content.cjs.entry.js +6 -6
- package/dist/cjs/eds-tabs.cjs.entry.js +7 -6
- package/dist/cjs/eds-tooltip.cjs.entry.js +4 -3
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-2cc3495f.js → index-f08e4f5c.js} +22 -13
- package/dist/cjs/{loader-5efe2c21.js → loader-72f9d178.js} +2 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +5 -4
- package/dist/cjs/logo-variations-horizontal.cjs.entry.js +3 -2
- package/dist/cjs/logo-variations-vertical.cjs.entry.js +3 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +5 -4
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +21 -1
- package/dist/collection/components/eds-form/eds-form.css +10 -0
- package/dist/collection/components/eds-form/eds-form.js +111 -20
- package/dist/collection/components/eds-input-field/eds-input-field.css +16 -6
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-modal/eds-modal.css +8 -0
- package/dist/collection/components/eds-modal/eds-modal.js +42 -2
- package/dist/collection/components/eds-timeline/eds-timeline.js +89 -0
- package/dist/collection/components/eds-timeline/eds-timeline.stories.js +35 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.css +0 -0
- package/dist/collection/components/eds-trl/eds-trl.js +61 -0
- 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/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/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.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-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +3 -3
- package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -1
- package/dist/components/analytics.js +6 -6
- package/dist/components/components.css +31 -0
- package/dist/components/components.esm.js +1 -47
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +4 -3
- package/dist/components/eds-alert2.js +3 -2
- package/dist/components/eds-avatar2.js +3 -2
- package/dist/components/eds-block-break2.js +2 -1
- package/dist/components/eds-breadcrumb.js +2 -1
- package/dist/components/eds-button2.js +5 -3
- package/dist/components/eds-card-desc2.js +2 -1
- package/dist/components/eds-card-generic2.js +17 -4
- package/dist/components/eds-card-project.js +2 -1
- package/dist/components/eds-card-section.js +3 -2
- package/dist/components/eds-card-tags.js +2 -1
- package/dist/components/eds-card-title2.js +2 -1
- package/dist/components/eds-card-tool.js +4 -2
- package/dist/components/eds-code-block2.js +3 -33
- package/dist/components/eds-components-section.js +1 -1
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -1
- package/dist/components/eds-footer2.js +3 -2
- package/dist/components/eds-form.js +97 -22
- package/dist/components/eds-fullscreen-menu.js +2 -1
- package/dist/components/eds-header.js +5 -4
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.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-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -1
- package/dist/components/eds-input-field2.js +5 -4
- package/dist/components/eds-link2.js +5 -3
- package/dist/components/eds-login.js +1 -1
- package/dist/components/eds-logo2.js +6 -3
- package/dist/components/eds-matomo-notice.js +4 -2
- package/dist/components/eds-modal.js +44 -4
- package/dist/components/eds-pagination2.js +2 -1
- package/dist/components/eds-progress-bar.js +1 -40
- package/dist/{esm/eds-progress-bar.entry.js → components/eds-progress-bar2.js} +26 -7
- package/dist/components/eds-rating.js +2 -1
- package/dist/components/eds-section-core2.js +2 -1
- package/dist/components/eds-social-networks2.js +3 -2
- package/dist/components/eds-svg-repository.js +290 -2
- package/dist/components/eds-tab2.js +1 -1
- package/dist/components/eds-table2.js +2 -1
- package/dist/components/eds-tabs-content.js +5 -4
- package/dist/components/eds-tabs.js +6 -4
- package/dist/components/eds-tag2.js +3 -2
- package/dist/components/eds-timeline.d.ts +11 -0
- package/dist/components/eds-timeline.js +118 -0
- package/dist/components/eds-toast-manager.js +3 -2
- package/dist/components/eds-toast2.js +1 -1
- package/dist/components/eds-tooltip.js +3 -2
- package/dist/components/eds-trl.d.ts +11 -0
- package/dist/components/eds-trl.js +59 -0
- package/dist/components/eds-user-modal2.js +3 -2
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/index.esm.js +0 -1
- package/dist/components/index2.js +44 -399
- package/dist/components/keycloak.js +0 -10
- package/dist/components/loader.js +2 -5
- package/dist/components/logo-space.js +4 -3
- package/dist/components/logo-variations-horizontal.js +2 -1
- package/dist/components/logo-variations-vertical.js +2 -1
- package/dist/components/logo-wrong-usage.js +4 -3
- package/dist/components/{p-877403df.entry.js → p-02e2a62f.entry.js} +1 -1
- package/dist/components/{p-e2e715a2.entry.js → p-04e47e04.entry.js} +1 -1
- package/dist/components/{p-e639818b.entry.js → p-0a3b2576.entry.js} +1 -1
- package/dist/components/{p-6bc00fad.entry.js → p-0c2e844e.entry.js} +1 -1
- package/dist/components/{p-1d94d663.entry.js → p-0c99ef81.entry.js} +1 -1
- package/dist/components/{p-378d371f.entry.js → p-145f13ad.entry.js} +1 -1
- package/dist/components/{p-0a195bfe.entry.js → p-16458a81.entry.js} +1 -1
- package/dist/components/{p-e69ff916.entry.js → p-1bcfbaf1.entry.js} +1 -1
- package/dist/components/p-2117611b.js +1 -0
- package/dist/components/{p-513bf756.entry.js → p-22762818.entry.js} +1 -1
- package/dist/components/p-22f9e720.js +1 -0
- package/dist/components/{p-e04097a2.entry.js → p-272d249f.entry.js} +1 -1
- package/dist/components/p-297b2bc3.entry.js +1 -0
- package/dist/components/p-2d8508cd.entry.js +1 -0
- package/dist/components/p-32cddd94.entry.js +1 -0
- package/dist/components/{p-0611bbac.entry.js → p-32f282a9.entry.js} +1 -1
- package/dist/components/p-373673ca.js +1 -0
- package/dist/components/{p-677f60bc.entry.js → p-388b4966.entry.js} +1 -1
- package/dist/components/p-3a2e8ef3.entry.js +1 -0
- package/dist/components/p-3afafa59.entry.js +1 -0
- package/dist/components/p-3b40559e.entry.js +1 -0
- package/dist/components/{p-ff6b25a1.entry.js → p-4037ad48.entry.js} +1 -1
- package/dist/components/{p-c16b3c0c.entry.js → p-42b4ecff.entry.js} +1 -1
- package/dist/components/p-490ba155.entry.js +1 -0
- package/dist/components/p-4932aab2.entry.js +1 -0
- package/dist/components/p-49958f77.entry.js +1 -0
- package/dist/components/p-4a24c2ce.entry.js +1 -0
- package/dist/components/{p-b544f216.entry.js → p-54c75346.entry.js} +1 -1
- package/dist/components/{p-42dfb426.entry.js → p-551c0b58.entry.js} +1 -1
- package/dist/components/{p-6f601454.entry.js → p-559b6ec9.entry.js} +1 -1
- package/dist/components/p-5aad9d3f.entry.js +1 -0
- package/dist/components/{p-9c74a5dd.entry.js → p-5ae9722b.entry.js} +1 -1
- package/dist/components/{p-3dbf2ac9.entry.js → p-5eb32f03.entry.js} +1 -1
- package/dist/components/{p-2728a189.entry.js → p-5fc68438.entry.js} +1 -1
- package/dist/components/p-673dce11.entry.js +1 -0
- package/dist/components/{p-c0afe524.entry.js → p-6fc62452.entry.js} +1 -1
- package/dist/components/{p-36c0f3ee.entry.js → p-73bd0c97.entry.js} +1 -1
- package/dist/components/p-79887c2c.entry.js +1 -0
- package/dist/components/{p-e9a1fb1e.js → p-7a8b9de5.js} +2 -2
- package/dist/components/p-846fc91c.entry.js +1 -0
- package/dist/components/p-8c56e39a.entry.js +1 -0
- package/dist/components/{p-caf2af08.entry.js → p-9000b245.entry.js} +1 -1
- package/dist/components/p-96c4deda.entry.js +1 -0
- package/dist/components/{p-4541cb5f.entry.js → p-9722811d.entry.js} +1 -1
- package/dist/components/p-a44a1abe.entry.js +1 -0
- package/dist/components/p-a4e9b68b.entry.js +1 -0
- package/dist/components/{p-55444767.entry.js → p-b14ef448.entry.js} +1 -1
- package/dist/components/{p-25eb1801.entry.js → p-b203eb1b.entry.js} +1 -1
- package/dist/components/{p-49a5eef5.entry.js → p-b33941a0.entry.js} +1 -1
- package/dist/components/{p-c11d93cf.entry.js → p-b717f95a.entry.js} +1 -1
- package/dist/components/{p-fa1276cc.entry.js → p-bb60412b.entry.js} +1 -1
- package/dist/components/{p-7a2b35b4.entry.js → p-bca40434.entry.js} +1 -1
- package/dist/components/{p-6cb8c52d.entry.js → p-bdd86a3c.entry.js} +1 -1
- package/dist/components/p-bf0f851d.entry.js +1 -0
- package/dist/components/{p-82453a66.entry.js → p-c2d369bc.entry.js} +1 -1
- package/dist/components/{p-94b74ae8.entry.js → p-c9c3cc49.entry.js} +1 -1
- package/dist/components/p-d1670eec.entry.js +1 -0
- package/dist/components/{p-bad2a33a.entry.js → p-d6d86366.entry.js} +1 -1
- package/dist/components/p-d9788b54.entry.js +1 -0
- package/dist/components/{p-64d4a6e0.entry.js → p-df93db96.entry.js} +1 -1
- package/dist/components/{p-606d8f86.entry.js → p-e20ed2c7.entry.js} +1 -1
- package/dist/components/{p-200ad980.entry.js → p-e6bfbf51.entry.js} +1 -1
- package/dist/components/{p-ddd005a3.entry.js → p-e74834bc.entry.js} +1 -1
- package/dist/components/p-ebed87b8.entry.js +1 -0
- package/dist/components/{p-b94318f2.entry.js → p-f7a6ce69.entry.js} +1 -1
- package/dist/components/{p-1a1b8e28.entry.js → p-ff5de62c.entry.js} +1 -1
- package/dist/components/p-ffec8755.entry.js +1 -0
- 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/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-49aa977d.js → color-0ba8ed56.js} +6 -6
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components.js +4 -31
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/eds-accordion.entry.js +5 -4
- package/dist/esm/{eds-accordion_23.entry.js → eds-alert_28.entry.js} +385 -217
- package/dist/esm/eds-block-break.entry.js +3 -2
- package/dist/esm/eds-breadcrumb.entry.js +3 -2
- package/dist/esm/eds-card-project.entry.js +3 -3
- package/dist/esm/eds-card-section.entry.js +4 -3
- package/dist/esm/eds-card-tags.entry.js +3 -2
- package/dist/esm/eds-card-tool.entry.js +5 -4
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +4 -34
- package/dist/esm/eds-components-section.entry.js +2 -2
- package/dist/esm/eds-docs-palettes.entry.js +2 -2
- package/dist/esm/eds-docs-tokens.entry.js +2 -2
- package/dist/esm/eds-footer.entry.js +4 -3
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-fullscreen-menu.entry.js +3 -2
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/eds-login.entry.js +3 -3
- package/dist/esm/eds-matomo-notice.entry.js +6 -5
- package/dist/esm/eds-modal.entry.js +45 -5
- package/dist/esm/eds-navigator.entry.js +1 -1
- package/dist/esm/eds-pagination.entry.js +3 -2
- package/dist/esm/eds-rating.entry.js +3 -2
- package/dist/esm/eds-section-core_2.entry.js +1 -1
- package/dist/esm/eds-social-networks.entry.js +4 -3
- package/dist/esm/eds-svg-repository.entry.js +291 -3
- package/dist/esm/eds-tab.entry.js +2 -2
- package/dist/esm/eds-table.entry.js +3 -2
- package/dist/esm/eds-tabs-content.entry.js +5 -5
- package/dist/esm/eds-tabs.entry.js +6 -5
- package/dist/esm/eds-tooltip.entry.js +4 -3
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-f1426055.js → index-e96badea.js} +22 -13
- package/dist/esm/{loader-66341740.js → loader-c9628637.js} +2 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +5 -4
- package/dist/esm/logo-variations-horizontal.entry.js +3 -2
- package/dist/esm/logo-variations-vertical.entry.js +3 -2
- package/dist/esm/logo-wrong-usage.entry.js +5 -4
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +363 -115
- package/dist/hydrate/index.mjs +363 -115
- package/dist/stencil.config.js +4 -3
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +2 -2
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +2 -0
- package/dist/types/components/eds-form/eds-form.d.ts +8 -0
- package/dist/types/components/eds-modal/eds-modal.d.ts +16 -0
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +29 -0
- package/dist/types/components/eds-timeline/eds-timeline.stories.d.ts +24 -0
- package/dist/types/components/eds-trl/eds-trl.d.ts +9 -0
- package/dist/types/components.d.ts +44 -0
- package/package.json +3 -3
- package/dist/cjs/color-primary-palette.cjs.entry.js +0 -43
- package/dist/cjs/color-secondary-palette.cjs.entry.js +0 -68
- package/dist/cjs/color-support-palette.cjs.entry.js +0 -59
- package/dist/cjs/eds-alert.cjs.entry.js +0 -95
- package/dist/cjs/eds-avatar.cjs.entry.js +0 -73
- package/dist/cjs/eds-button.cjs.entry.js +0 -233
- package/dist/cjs/eds-card-desc.cjs.entry.js +0 -26
- package/dist/cjs/eds-card-desc_3.cjs.entry.js +0 -117
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -93
- package/dist/cjs/eds-card-title.cjs.entry.js +0 -56
- package/dist/cjs/eds-dropdown.cjs.entry.js +0 -129
- package/dist/cjs/eds-form.cjs.entry.js +0 -249
- package/dist/cjs/eds-header.cjs.entry.js +0 -96
- package/dist/cjs/eds-icon-wrapper.cjs.entry.js +0 -40
- package/dist/cjs/eds-img.cjs.entry.js +0 -57
- package/dist/cjs/eds-input-field.cjs.entry.js +0 -72
- package/dist/cjs/eds-input-footer.cjs.entry.js +0 -21
- package/dist/cjs/eds-input-label.cjs.entry.js +0 -20
- package/dist/cjs/eds-input-range.cjs.entry.js +0 -39
- package/dist/cjs/eds-input-search.cjs.entry.js +0 -41
- package/dist/cjs/eds-input-select.cjs.entry.js +0 -30
- package/dist/cjs/eds-input.cjs.entry.js +0 -68
- package/dist/cjs/eds-link.cjs.entry.js +0 -211
- package/dist/cjs/eds-logo.cjs.entry.js +0 -76
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -28
- package/dist/cjs/eds-section-core.cjs.entry.js +0 -23
- package/dist/cjs/eds-section-heading.cjs.entry.js +0 -41
- package/dist/cjs/eds-tag.cjs.entry.js +0 -44
- package/dist/cjs/eds-toast-manager.cjs.entry.js +0 -45
- package/dist/cjs/eds-toast.cjs.entry.js +0 -53
- package/dist/cjs/eds-user-modal.cjs.entry.js +0 -47
- package/dist/cjs/eds-user.cjs.entry.js +0 -90
- package/dist/cjs/gradient-primary-palette.cjs.entry.js +0 -45
- package/dist/cjs/gradient-secondary-palette.cjs.entry.js +0 -79
- package/dist/cjs/gradient-support-palette.cjs.entry.js +0 -63
- package/dist/cjs/index-1ff5f25c.js +0 -48
- package/dist/cjs/index-383d2951.js +0 -3449
- package/dist/cjs/index-96a4261e.js +0 -405
- package/dist/cjs/index-f62478aa.js +0 -1837
- package/dist/cjs/keycloak-940b83c1.js +0 -1910
- package/dist/cjs/shadow-css-988e4292.js +0 -334
- package/dist/cjs/token-list.cjs.entry.js +0 -253
- package/dist/cjs/token-radii.cjs.entry.js +0 -25
- package/dist/cjs/token-shadows.cjs.entry.js +0 -34
- package/dist/components/app-globals-0f993ce5.js +0 -3
- package/dist/components/color-primary-palette.entry.js +0 -39
- package/dist/components/color-secondary-palette.entry.js +0 -64
- package/dist/components/color-support-palette.entry.js +0 -55
- package/dist/components/correct-use-of-colors.entry.js +0 -64
- package/dist/components/eds-accordion.entry.js +0 -88
- package/dist/components/eds-alert.entry.js +0 -91
- package/dist/components/eds-avatar.entry.js +0 -69
- package/dist/components/eds-block-break.entry.js +0 -16
- package/dist/components/eds-breadcrumb.entry.js +0 -148
- package/dist/components/eds-button.entry.js +0 -229
- package/dist/components/eds-card-desc.entry.js +0 -22
- package/dist/components/eds-card-generic.entry.js +0 -89
- package/dist/components/eds-card-project.entry.js +0 -63
- package/dist/components/eds-card-section.entry.js +0 -39
- package/dist/components/eds-card-tags.entry.js +0 -17
- package/dist/components/eds-card-title.entry.js +0 -52
- package/dist/components/eds-card-tool.entry.js +0 -75
- package/dist/components/eds-card-wrapper.entry.js +0 -28
- package/dist/components/eds-code-block.entry.js +0 -2468
- package/dist/components/eds-components-section.entry.js +0 -92
- package/dist/components/eds-docs-palettes.entry.js +0 -23
- package/dist/components/eds-docs-tokens.entry.js +0 -31
- package/dist/components/eds-dropdown.entry.js +0 -125
- package/dist/components/eds-footer.entry.js +0 -45
- package/dist/components/eds-form.entry.js +0 -245
- package/dist/components/eds-frame.entry.js +0 -87
- package/dist/components/eds-fullscreen-menu.entry.js +0 -95
- package/dist/components/eds-header.entry.js +0 -92
- package/dist/components/eds-icon-arrow-diagonal.entry.js +0 -14
- package/dist/components/eds-icon-arrow-right.entry.js +0 -14
- package/dist/components/eds-icon-bluesky.entry.js +0 -14
- package/dist/components/eds-icon-chevron-down.entry.js +0 -14
- package/dist/components/eds-icon-chevron-left.entry.js +0 -14
- package/dist/components/eds-icon-chevron-right.entry.js +0 -14
- package/dist/components/eds-icon-chevron-up.entry.js +0 -14
- package/dist/components/eds-icon-close.entry.js +0 -14
- package/dist/components/eds-icon-copy.entry.js +0 -14
- package/dist/components/eds-icon-eu.entry.js +0 -14
- package/dist/components/eds-icon-facebook.entry.js +0 -14
- package/dist/components/eds-icon-gitlab.entry.js +0 -14
- package/dist/components/eds-icon-linkedin.entry.js +0 -14
- package/dist/components/eds-icon-loader.entry.js +0 -14
- package/dist/components/eds-icon-mastodon.entry.js +0 -14
- package/dist/components/eds-icon-menu.entry.js +0 -14
- package/dist/components/eds-icon-more.entry.js +0 -14
- package/dist/components/eds-icon-search.entry.js +0 -14
- package/dist/components/eds-icon-success.entry.js +0 -14
- package/dist/components/eds-icon-twitter.entry.js +0 -14
- package/dist/components/eds-icon-user.entry.js +0 -14
- package/dist/components/eds-icon-wrapper.entry.js +0 -36
- package/dist/components/eds-icon-youtube.entry.js +0 -14
- package/dist/components/eds-img.entry.js +0 -53
- package/dist/components/eds-input-field.entry.js +0 -68
- package/dist/components/eds-input-footer.entry.js +0 -17
- package/dist/components/eds-input-label.entry.js +0 -16
- package/dist/components/eds-input-range.entry.js +0 -35
- package/dist/components/eds-input-search.entry.js +0 -37
- package/dist/components/eds-input-select.entry.js +0 -26
- package/dist/components/eds-input.entry.js +0 -64
- package/dist/components/eds-link.entry.js +0 -207
- package/dist/components/eds-login.entry.js +0 -68
- package/dist/components/eds-logo.entry.js +0 -72
- package/dist/components/eds-matomo-notice.entry.js +0 -105
- package/dist/components/eds-modal.entry.js +0 -42
- package/dist/components/eds-navigator.entry.js +0 -39
- package/dist/components/eds-pagination.entry.js +0 -207
- package/dist/components/eds-progress-bar.entry.js +0 -24
- package/dist/components/eds-rating.entry.js +0 -53
- package/dist/components/eds-section-core.entry.js +0 -19
- package/dist/components/eds-section-heading.entry.js +0 -37
- package/dist/components/eds-social-networks.entry.js +0 -61
- package/dist/components/eds-svg-repository.entry.js +0 -28
- package/dist/components/eds-tab.entry.js +0 -36
- package/dist/components/eds-table.entry.js +0 -138
- package/dist/components/eds-tabs-content.entry.js +0 -129
- package/dist/components/eds-tabs.entry.js +0 -118
- package/dist/components/eds-tag.entry.js +0 -40
- package/dist/components/eds-toast-manager.entry.js +0 -41
- package/dist/components/eds-toast.entry.js +0 -49
- package/dist/components/eds-tooltip.entry.js +0 -95
- package/dist/components/eds-user-modal.entry.js +0 -43
- package/dist/components/eds-user.entry.js +0 -86
- package/dist/components/gradient-primary-palette.entry.js +0 -41
- package/dist/components/gradient-secondary-palette.entry.js +0 -75
- package/dist/components/gradient-support-palette.entry.js +0 -59
- package/dist/components/incorrect-use-of-colors.entry.js +0 -46
- package/dist/components/index-144c9ae8.js +0 -46
- package/dist/components/index-360dc790.js +0 -401
- package/dist/components/index-a9afa43f.js +0 -1802
- package/dist/components/index-b384416e.js +0 -3023
- package/dist/components/index3.js +0 -46
- package/dist/components/index4.js +0 -1802
- package/dist/components/keycloak-b647d452.js +0 -1903
- package/dist/components/logo-space.entry.js +0 -16
- package/dist/components/logo-variations-horizontal.entry.js +0 -26
- package/dist/components/logo-variations-vertical.entry.js +0 -26
- package/dist/components/logo-wrong-usage.entry.js +0 -16
- package/dist/components/p-0a6262b7.entry.js +0 -1
- package/dist/components/p-11a4ef34.entry.js +0 -1
- package/dist/components/p-145d8e4d.entry.js +0 -1
- package/dist/components/p-219d9f68.entry.js +0 -1
- package/dist/components/p-22ee5374.entry.js +0 -1
- package/dist/components/p-2b14f03a.entry.js +0 -1
- package/dist/components/p-3048bdec.entry.js +0 -1
- package/dist/components/p-52a487ee.entry.js +0 -1
- package/dist/components/p-5b900a2c.entry.js +0 -1
- package/dist/components/p-5edc806a.entry.js +0 -1
- package/dist/components/p-763cbe2f.entry.js +0 -1
- package/dist/components/p-77a81dfa.entry.js +0 -1
- package/dist/components/p-81d2a9be.entry.js +0 -1
- package/dist/components/p-8c1be2b6.entry.js +0 -1
- package/dist/components/p-923e4d23.entry.js +0 -1
- package/dist/components/p-9c05e349.entry.js +0 -1
- package/dist/components/p-abcdf35f.js +0 -1
- package/dist/components/p-ac083317.entry.js +0 -1
- package/dist/components/p-ad79cc3c.entry.js +0 -1
- package/dist/components/p-b4055691.entry.js +0 -1
- package/dist/components/p-bfd2fdf1.entry.js +0 -1
- package/dist/components/p-c3c61db1.entry.js +0 -1
- package/dist/components/p-d80de13e.entry.js +0 -1
- package/dist/components/p-e80f4f24.js +0 -1
- package/dist/components/p-ec95188c.entry.js +0 -1
- package/dist/components/p-f04946a5.entry.js +0 -1
- package/dist/components/shadow-css-423dab2c.js +0 -332
- package/dist/components/token-list.entry.js +0 -249
- package/dist/components/token-radii.entry.js +0 -21
- package/dist/components/token-ratios.entry.js +0 -25
- package/dist/components/token-shadows.entry.js +0 -30
- package/dist/components/token-spacing.entry.js +0 -12
- package/dist/components/token-typography.entry.js +0 -226
- package/dist/esm/color-primary-palette.entry.js +0 -39
- package/dist/esm/color-secondary-palette.entry.js +0 -64
- package/dist/esm/color-support-palette.entry.js +0 -55
- package/dist/esm/eds-alert.entry.js +0 -91
- package/dist/esm/eds-avatar.entry.js +0 -69
- package/dist/esm/eds-button.entry.js +0 -229
- package/dist/esm/eds-card-desc.entry.js +0 -22
- package/dist/esm/eds-card-desc_3.entry.js +0 -111
- package/dist/esm/eds-card-generic.entry.js +0 -89
- package/dist/esm/eds-card-title.entry.js +0 -52
- package/dist/esm/eds-dropdown.entry.js +0 -125
- package/dist/esm/eds-form.entry.js +0 -245
- package/dist/esm/eds-header.entry.js +0 -92
- package/dist/esm/eds-icon-wrapper.entry.js +0 -36
- package/dist/esm/eds-img.entry.js +0 -53
- package/dist/esm/eds-input-field.entry.js +0 -68
- package/dist/esm/eds-input-footer.entry.js +0 -17
- package/dist/esm/eds-input-label.entry.js +0 -16
- package/dist/esm/eds-input-range.entry.js +0 -35
- package/dist/esm/eds-input-search.entry.js +0 -37
- package/dist/esm/eds-input-select.entry.js +0 -26
- package/dist/esm/eds-input.entry.js +0 -64
- package/dist/esm/eds-link.entry.js +0 -207
- package/dist/esm/eds-logo.entry.js +0 -72
- package/dist/esm/eds-section-core.entry.js +0 -19
- package/dist/esm/eds-section-heading.entry.js +0 -37
- package/dist/esm/eds-tag.entry.js +0 -40
- package/dist/esm/eds-toast-manager.entry.js +0 -41
- package/dist/esm/eds-toast.entry.js +0 -49
- package/dist/esm/eds-user-modal.entry.js +0 -43
- package/dist/esm/eds-user.entry.js +0 -86
- package/dist/esm/gradient-primary-palette.entry.js +0 -41
- package/dist/esm/gradient-secondary-palette.entry.js +0 -75
- package/dist/esm/gradient-support-palette.entry.js +0 -59
- package/dist/esm/index-144c9ae8.js +0 -46
- package/dist/esm/index-360dc790.js +0 -401
- package/dist/esm/index-a9afa43f.js +0 -1802
- package/dist/esm/index-b384416e.js +0 -3416
- package/dist/esm/keycloak-b647d452.js +0 -1903
- package/dist/esm/shadow-css-423dab2c.js +0 -332
- package/dist/esm/toastManager-b716afd8.js +0 -31
- package/dist/esm/token-list.entry.js +0 -249
- package/dist/esm/token-radii.entry.js +0 -21
- package/dist/esm/token-shadows.entry.js +0 -30
- /package/dist/cjs/{toastManager-1fb1a402.js → toastManager-4e9535f3.js} +0 -0
- /package/dist/{components/toastManager-b716afd8.js → esm/toastManager-d9eee791.js} +0 -0
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const edsCardDescCss = ".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)}.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)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}";
|
|
4
|
-
|
|
5
|
-
const EdsCardDesc = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.description = undefined;
|
|
9
|
-
this.descClass = 'f-ui-03-light';
|
|
10
|
-
this.truncate = true;
|
|
11
|
-
this.truncateLines = '3';
|
|
12
|
-
}
|
|
13
|
-
getTruncateClass() {
|
|
14
|
-
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
return (h("p", { key: '017c115ebff999c74cff1eaeb5c63f97e0f6554d', class: `text-light ${this.descClass}` }, h("span", { key: 'f87b9b3d593e417ef351882f426d24c0b206ccab', class: this.getTruncateClass() }, this.description)));
|
|
18
|
-
}
|
|
19
|
-
};
|
|
20
|
-
EdsCardDesc.style = edsCardDescCss;
|
|
21
|
-
|
|
22
|
-
export { EdsCardDesc as eds_card_desc };
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-b384416e.js';
|
|
2
|
-
import { s as sendAnalytics } from './index-360dc790.js';
|
|
3
|
-
import './index-144c9ae8.js';
|
|
4
|
-
|
|
5
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
|
|
6
|
-
|
|
7
|
-
const EdsCardGeneric = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.cardTitle = undefined;
|
|
11
|
-
this.url = undefined;
|
|
12
|
-
this.description = undefined;
|
|
13
|
-
this.image = undefined;
|
|
14
|
-
this.avatar = undefined;
|
|
15
|
-
this.shortAbbreviation = undefined;
|
|
16
|
-
this.headingLevel = 'h3';
|
|
17
|
-
this.tags = '';
|
|
18
|
-
this.tiny = false;
|
|
19
|
-
this.bg = true;
|
|
20
|
-
this.withHover = true;
|
|
21
|
-
this.hierarchy = true;
|
|
22
|
-
this.parsedImage = null;
|
|
23
|
-
}
|
|
24
|
-
componentWillLoad() {
|
|
25
|
-
if (this.image) {
|
|
26
|
-
try {
|
|
27
|
-
if (typeof this.image === 'object') {
|
|
28
|
-
// If image is already an object, assign it directly
|
|
29
|
-
this.parsedImage = this.image;
|
|
30
|
-
}
|
|
31
|
-
else if (typeof this.image === 'string') {
|
|
32
|
-
// If image is a string, try to parse it
|
|
33
|
-
this.parsedImage = JSON.parse(this.image);
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
catch (error) {
|
|
37
|
-
// eslint-disable-next-line
|
|
38
|
-
console.error('Error parsing image prop:', error);
|
|
39
|
-
this.parsedImage = {}; // Assign a fallback empty object in case of an error
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Parses the `tags` prop into an array of link objects.
|
|
45
|
-
* Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
|
|
46
|
-
*
|
|
47
|
-
* @returns {any[]} Array of parsed link objects
|
|
48
|
-
*/
|
|
49
|
-
get parsedTags() {
|
|
50
|
-
if (typeof this.tags === 'object') {
|
|
51
|
-
return this.tags;
|
|
52
|
-
}
|
|
53
|
-
else if (typeof this.tags === 'string') {
|
|
54
|
-
try {
|
|
55
|
-
return JSON.parse(this.tags);
|
|
56
|
-
}
|
|
57
|
-
catch (e) {
|
|
58
|
-
// eslint-disable-next-line
|
|
59
|
-
console.error('Error parsing tags prop:', e);
|
|
60
|
-
return [];
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return [];
|
|
64
|
-
}
|
|
65
|
-
articleClasses() {
|
|
66
|
-
return [
|
|
67
|
-
this.description ? (this.tiny ? 'min-h-120' : 'min-h-156') : 'h-auto',
|
|
68
|
-
this.bg ? 'bg-inverse' : 'bg-default',
|
|
69
|
-
this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
|
|
70
|
-
'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
|
|
71
|
-
].join(' ');
|
|
72
|
-
}
|
|
73
|
-
handleClick() {
|
|
74
|
-
var _a;
|
|
75
|
-
sendAnalytics({
|
|
76
|
-
category: 'ui-component',
|
|
77
|
-
tag: this.el.tagName.toLowerCase(),
|
|
78
|
-
name: ((_a = this.cardTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
79
|
-
action: 'click'
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
render() {
|
|
83
|
-
return (h("article", { key: 'e8965da0703c85bcba94c324028c0d8c0b6c8e13', class: this.articleClasses(), onClick: () => this.handleClick() }, h("eds-card-title", { key: '54b1fff3f3a32c26ef68cd33c85c2f2fd8a0fc52', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '8ee395e5f84e6bdf7651554d9806147d03a9324c', class: "mt-8", "truncate-lines": "3", description: this.description })), this.parsedImage ? (h("eds-img", Object.assign({ class: "mt-8" }, this.parsedImage))) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: 'd73e14a888d2015a39f86913b6cc9428fda67f59', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label })))), ' '));
|
|
84
|
-
}
|
|
85
|
-
get el() { return getElement(this); }
|
|
86
|
-
};
|
|
87
|
-
EdsCardGeneric.style = edsCardGenericCss;
|
|
88
|
-
|
|
89
|
-
export { EdsCardGeneric as eds_card_generic };
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-b384416e.js';
|
|
2
|
-
import { s as sendAnalytics, g as gradientBGColorVariants } from './index-360dc790.js';
|
|
3
|
-
import './index-144c9ae8.js';
|
|
4
|
-
|
|
5
|
-
const EdsCardProject = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.image = undefined;
|
|
9
|
-
this.editorialTitle = undefined;
|
|
10
|
-
this.headingLevel = 'h3';
|
|
11
|
-
this.categoryTitle = undefined;
|
|
12
|
-
this.color = undefined;
|
|
13
|
-
this.bgOnHover = false;
|
|
14
|
-
this.vertical = false;
|
|
15
|
-
this.titleProject = undefined;
|
|
16
|
-
this.url = undefined;
|
|
17
|
-
this.parsedImage = null;
|
|
18
|
-
}
|
|
19
|
-
componentWillLoad() {
|
|
20
|
-
// Parse the image prop if it's provided
|
|
21
|
-
if (this.image) {
|
|
22
|
-
try {
|
|
23
|
-
this.parsedImage = JSON.parse(this.image);
|
|
24
|
-
//console.log(this.parsedImage);
|
|
25
|
-
}
|
|
26
|
-
catch (error) {
|
|
27
|
-
//console.error('Error parsing image prop:', error);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
handleClick(event) {
|
|
32
|
-
var _a;
|
|
33
|
-
event.preventDefault();
|
|
34
|
-
sendAnalytics({
|
|
35
|
-
category: 'ui-component',
|
|
36
|
-
tag: this.el.tagName.toLowerCase(),
|
|
37
|
-
name: ((_a = this.titleProject) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
38
|
-
action: 'click'
|
|
39
|
-
});
|
|
40
|
-
}
|
|
41
|
-
render() {
|
|
42
|
-
var _a;
|
|
43
|
-
const cardClasses = [
|
|
44
|
-
'min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg',
|
|
45
|
-
this.color
|
|
46
|
-
? gradientBGColorVariants({
|
|
47
|
-
color: this.color,
|
|
48
|
-
hover: this.bgOnHover,
|
|
49
|
-
class: 'before:border-2 before:rounded-lg before:border-softest'
|
|
50
|
-
})
|
|
51
|
-
: 'bg-default',
|
|
52
|
-
this.bgOnHover && this.color
|
|
53
|
-
? 'effect-background bg-default focus-within:bg-transparent hover:bg-transparent'
|
|
54
|
-
: 'effect-background hover:bg-default',
|
|
55
|
-
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
56
|
-
].join(' ');
|
|
57
|
-
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
58
|
-
return (h("article", { key: '6af49754300ded8748ac3f40175e262480054969', class: cardClasses, onClick: (event) => this.handleClick(event) }, h("div", { key: '91e8501312957c44d9dc075f2ec3a9e5a5d425cb', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, h("div", { key: '44e3cf2d67255bb5669b6c721741ed060ba599e7', class: "lg:max-w-[720px]" }, h("eds-card-title", { key: '0cf1d124b975e4d7223bab58db0d5861d348ceb2', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (h("span", { key: '85e1158691ae876bc0f3c6d0c5557f394ae935cb', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (h("div", { key: '9ffdc9f14709600b623c3a5f878b2700864ced79', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && h("eds-tag", { key: 'ecc5e55430df355c13420add9969855d1d54c27f', label: this.categoryTitle })))), this.parsedImage && (h("div", { key: '97de7a06a13d9843cb18fe4eb19303f436e2ce16', class: imageClasses }, h("div", { key: '532d3c8252316a68976b4587c3d5b63167c0c598', class: "aspect-1x1 w-full" }, h("eds-img", Object.assign({ key: '37ee3dbbc99ec8c9139b0a89f9c725768eac5f6d', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
59
|
-
}
|
|
60
|
-
get el() { return getElement(this); }
|
|
61
|
-
};
|
|
62
|
-
|
|
63
|
-
export { EdsCardProject as eds_card_project };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const edsCardSectionCss = ".w-full{width:100%}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-col-span-12{--container-grid-columns:12;grid-column:span 12 / span 12}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:gap-y-12{row-gap:0.75rem}.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 750px){.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.md\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-8-cols>*{--container-grid-columns:8}.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:w-\\[150px\\]{width:150px}.lg\\:w-auto{width:auto}.lg\\:max-w-\\[720px\\]{max-width:720px}.lg\\:flex-row{flex-direction:row}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:gap-y-16{row-gap:1rem}.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}.lg\\:\\!pl-12{padding-left:0.75rem !important}.lg\\:\\!pr-12{padding-right:0.75rem !important}}";
|
|
4
|
-
|
|
5
|
-
const EdsCardSection = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.cards = undefined;
|
|
9
|
-
this.cols = 4;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* Parses the `cards` JSON string prop into an array of card objects.
|
|
13
|
-
* If parsing fails, returns an empty array.
|
|
14
|
-
*
|
|
15
|
-
* @returns {any[]} An array of parsed card objects.
|
|
16
|
-
*/
|
|
17
|
-
get parsedCards() {
|
|
18
|
-
try {
|
|
19
|
-
return JSON.parse(this.cards);
|
|
20
|
-
}
|
|
21
|
-
catch (e) {
|
|
22
|
-
//console.error('Error parsing links JSON', e);
|
|
23
|
-
return [];
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Renders the card section as a grid layout.
|
|
28
|
-
* Each parsed card object is mapped to an `<eds-card-generic>` component,
|
|
29
|
-
* displaying card details such as title, description, avatar, etc.
|
|
30
|
-
*
|
|
31
|
-
* @returns {JSX.Element} The rendered section containing a list of cards.
|
|
32
|
-
*/
|
|
33
|
-
render() {
|
|
34
|
-
return (h("section", { key: '587f8d95e27862e855a7aab3d157b3b26c12181e', class: "w-full" }, h("ul", { key: 'e655546e5e92dbbfb5640f448409584b4f83a98d', class: "grid-layout gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.parsedCards.map((card) => (h("li", { class: `grid-col-span-12 md:grid-col-span-${this.cols} flex flex-col` }, h("eds-card-generic", { cardTitle: card.title, description: card.description, avatar: card.avatar, headingLevel: card.headingLevel, tags: card.tags, url: card.url, bg: card.bg, tiny: card.tiny, image: card.image, withHover: card.withHover })))))));
|
|
35
|
-
}
|
|
36
|
-
};
|
|
37
|
-
EdsCardSection.style = edsCardSectionCss;
|
|
38
|
-
|
|
39
|
-
export { EdsCardSection as eds_card_section };
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const edsCardTagsCss = ".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}";
|
|
4
|
-
|
|
5
|
-
const EdsCardTags = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.accent = false;
|
|
9
|
-
this.tags = [];
|
|
10
|
-
}
|
|
11
|
-
render() {
|
|
12
|
-
return (h("div", { key: 'b201dc6df5e809d828a055fb5f01fe798e228361', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index) => (h("eds-tag", { key: index, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
13
|
-
}
|
|
14
|
-
};
|
|
15
|
-
EdsCardTags.style = edsCardTagsCss;
|
|
16
|
-
|
|
17
|
-
export { EdsCardTags as eds_card_tags };
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const edsCardTitleCss = "a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}";
|
|
4
|
-
|
|
5
|
-
const EdsCardTitle = class {
|
|
6
|
-
constructor(hostRef) {
|
|
7
|
-
registerInstance(this, hostRef);
|
|
8
|
-
this.url = undefined;
|
|
9
|
-
this.titleClass = undefined;
|
|
10
|
-
this.headingLevel = 'h3';
|
|
11
|
-
this.externalLink = false;
|
|
12
|
-
this.cardTitle = undefined;
|
|
13
|
-
this.hierarchy = true;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Dynamically generate the title class based on the heading level.
|
|
17
|
-
*/
|
|
18
|
-
getTitleClass() {
|
|
19
|
-
const levelMap = this.hierarchy
|
|
20
|
-
? {
|
|
21
|
-
h1: '05',
|
|
22
|
-
h2: '05',
|
|
23
|
-
h3: '05',
|
|
24
|
-
h4: '05',
|
|
25
|
-
h5: '05',
|
|
26
|
-
h6: '06'
|
|
27
|
-
}
|
|
28
|
-
: {
|
|
29
|
-
h1: '01',
|
|
30
|
-
h2: '02',
|
|
31
|
-
h3: '03',
|
|
32
|
-
h4: '04',
|
|
33
|
-
h5: '05',
|
|
34
|
-
h6: '06'
|
|
35
|
-
};
|
|
36
|
-
return `f-heading-${levelMap[this.headingLevel]}`;
|
|
37
|
-
}
|
|
38
|
-
/*private getTag() {
|
|
39
|
-
if (this.url) {
|
|
40
|
-
return 'a';
|
|
41
|
-
}
|
|
42
|
-
return 'span';
|
|
43
|
-
}*/
|
|
44
|
-
render() {
|
|
45
|
-
//const Tag = this.getTag();
|
|
46
|
-
const Heading = this.headingLevel;
|
|
47
|
-
return (h(Heading, { key: '8aee3bcb0e04508dd21a03ea0f695e040f37c767', class: this.getTitleClass() }, h("a", { key: 'c5fa27fe86037ed6b039c156aecdf1acc9c7c8bc', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
EdsCardTitle.style = edsCardTitleCss;
|
|
51
|
-
|
|
52
|
-
export { EdsCardTitle as eds_card_title };
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-b384416e.js';
|
|
2
|
-
import { s as sendAnalytics } from './index-360dc790.js';
|
|
3
|
-
import './index-144c9ae8.js';
|
|
4
|
-
|
|
5
|
-
const edsCardToolCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
|
|
6
|
-
|
|
7
|
-
const EdsCardTool = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.cardTitle = undefined;
|
|
11
|
-
this.url = undefined;
|
|
12
|
-
this.description = undefined;
|
|
13
|
-
this.image = undefined;
|
|
14
|
-
this.avatar = undefined;
|
|
15
|
-
this.shortAbbreviation = undefined;
|
|
16
|
-
this.headingLevel = 'h5';
|
|
17
|
-
this.tags = '';
|
|
18
|
-
this.tiny = false;
|
|
19
|
-
this.bg = true;
|
|
20
|
-
this.withHover = true;
|
|
21
|
-
this.external = false;
|
|
22
|
-
this.hierarchy = true;
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Parses the `tags` prop into an array of link objects.
|
|
26
|
-
* Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
|
|
27
|
-
*
|
|
28
|
-
* @returns {any[]} Array of parsed link objects
|
|
29
|
-
*/
|
|
30
|
-
get parsedTags() {
|
|
31
|
-
if (typeof this.tags === 'object') {
|
|
32
|
-
return this.tags;
|
|
33
|
-
}
|
|
34
|
-
else if (typeof this.tags === 'string') {
|
|
35
|
-
try {
|
|
36
|
-
return JSON.parse(this.tags);
|
|
37
|
-
}
|
|
38
|
-
catch (e) {
|
|
39
|
-
// eslint-disable-next-line
|
|
40
|
-
console.error('Error parsing links prop:', e);
|
|
41
|
-
return [];
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
return [];
|
|
45
|
-
}
|
|
46
|
-
componentWillLoad() { }
|
|
47
|
-
parseTags() {
|
|
48
|
-
return this.tags.split(',');
|
|
49
|
-
}
|
|
50
|
-
articleClasses() {
|
|
51
|
-
return [
|
|
52
|
-
this.tiny ? 'min-h-120' : 'min-h-156',
|
|
53
|
-
this.bg ? 'bg-inverse' : 'bg-default',
|
|
54
|
-
this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
|
|
55
|
-
'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
|
|
56
|
-
].join(' ');
|
|
57
|
-
}
|
|
58
|
-
handleClick() {
|
|
59
|
-
var _a;
|
|
60
|
-
//event.preventDefault();
|
|
61
|
-
sendAnalytics({
|
|
62
|
-
category: 'ui-component',
|
|
63
|
-
tag: this.el.tagName.toLowerCase(),
|
|
64
|
-
name: ((_a = this.cardTitle) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
65
|
-
action: 'click'
|
|
66
|
-
});
|
|
67
|
-
}
|
|
68
|
-
render() {
|
|
69
|
-
return (h("article", { key: 'b46c0464688e45ab29f5b58b6cd2e22ed28e1034', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, h("eds-card-title", { key: 'a4da791280db14754b445b1a52e33cc9a25f765e', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (h("eds-card-desc", { key: '86f7c6c80b83f244ba7d07d820d5793e1dda2933', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, h("div", { key: '46307b57160f908aa7066b2a636c4db38e0e7a8e', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index) => (h("eds-tag", { key: index, intent: tag.style, label: tag.label }))))));
|
|
70
|
-
}
|
|
71
|
-
get el() { return getElement(this); }
|
|
72
|
-
};
|
|
73
|
-
EdsCardTool.style = edsCardToolCss;
|
|
74
|
-
|
|
75
|
-
export { EdsCardTool as eds_card_tool };
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const EdsCardWrapper = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
this.tiny = false;
|
|
7
|
-
this.withBg = true;
|
|
8
|
-
this.withHover = true;
|
|
9
|
-
}
|
|
10
|
-
hasSlot(name) {
|
|
11
|
-
if (name) {
|
|
12
|
-
return !!this.el.querySelector(`[slot="${name}"]`);
|
|
13
|
-
}
|
|
14
|
-
return !!this.el.querySelector(':not([slot])');
|
|
15
|
-
}
|
|
16
|
-
render() {
|
|
17
|
-
const articleClasses = [
|
|
18
|
-
this.tiny ? 'min-h-120' : 'min-h-156',
|
|
19
|
-
this.withBg ? 'bg-inverse' : 'bg-default',
|
|
20
|
-
this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
|
|
21
|
-
'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
|
|
22
|
-
].join(' ');
|
|
23
|
-
return (h("article", { key: 'c52f6ad7873050c052b8c0e68b2c812d74f2ddf1', class: articleClasses }, h("slot", { key: 'dac6f9fe339c8baa191ee2fd622332ddf25ec08d' }), this.hasSlot('footer') && (h("div", { key: '301862515ba88f320d1af722bec6120bc3e7d723', class: "mt-auto" }, h("slot", { key: '85d939150663a4586934413c9965aa92a9babeef', name: "footer" })))));
|
|
24
|
-
}
|
|
25
|
-
get el() { return getElement(this); }
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export { EdsCardWrapper as eds_card_wrapper };
|