@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
package/dist/stencil.config.js
CHANGED
|
@@ -39,13 +39,14 @@ export const config = {
|
|
|
39
39
|
},
|
|
40
40
|
reactOutputTarget({
|
|
41
41
|
componentCorePackage: '@ebrains/components',
|
|
42
|
-
proxiesFile: '../../../packages/react/src/
|
|
43
|
-
includeDefineCustomElements: true
|
|
42
|
+
proxiesFile: '../../../packages/react/src/components.ts',
|
|
43
|
+
includeDefineCustomElements: true
|
|
44
44
|
}),
|
|
45
45
|
vueOutputTarget({
|
|
46
46
|
componentCorePackage: '@ebrains/components',
|
|
47
47
|
proxiesFile: '../../../packages/vue/src/generated/components.ts',
|
|
48
|
-
//
|
|
48
|
+
//includeImportCustomElements: true,
|
|
49
|
+
includeDefineCustomElements: true, //not use to build it
|
|
49
50
|
}),
|
|
50
51
|
angularOutputTarget({
|
|
51
52
|
componentCorePackage: '@ebrains/components',
|
|
@@ -44,9 +44,9 @@ export declare class EdsAccordion {
|
|
|
44
44
|
/** Event emitted when the accordion toggles, indicating the new expanded/collapsed state */
|
|
45
45
|
accordionChange: EventEmitter<boolean>;
|
|
46
46
|
/** Reference to the wrapper element for the accordion */
|
|
47
|
-
wrapperRef
|
|
47
|
+
private wrapperRef;
|
|
48
48
|
/** Reference to the element containing the main content */
|
|
49
|
-
childContentRef
|
|
49
|
+
private childContentRef;
|
|
50
50
|
/**
|
|
51
51
|
* Handles the click event on the accordion header to toggle expansion.
|
|
52
52
|
* Toggles the `isExpanded` state and emits the `accordionChange` event.
|
|
@@ -74,6 +74,8 @@ export declare class EdsCardGeneric {
|
|
|
74
74
|
*/
|
|
75
75
|
parsedImage: any;
|
|
76
76
|
componentWillLoad(): void;
|
|
77
|
+
private parentContext;
|
|
78
|
+
handleParentContext(event: CustomEvent): void;
|
|
77
79
|
/**
|
|
78
80
|
* Parses the `tags` prop into an array of link objects.
|
|
79
81
|
* Returns an empty array if parsing fails or if `tags` is not a valid JSON string or object.
|
|
@@ -38,6 +38,10 @@ export declare class EdsForm {
|
|
|
38
38
|
* The message displayed when the form submission fails.
|
|
39
39
|
*/
|
|
40
40
|
errorMessage?: string;
|
|
41
|
+
/**
|
|
42
|
+
* The message displayed when the form submission fails.
|
|
43
|
+
*/
|
|
44
|
+
submitBtnHintMessage?: string;
|
|
41
45
|
/**
|
|
42
46
|
* The API endpoint where the form data will be submitted.
|
|
43
47
|
*/
|
|
@@ -57,6 +61,9 @@ export declare class EdsForm {
|
|
|
57
61
|
* ```
|
|
58
62
|
*/
|
|
59
63
|
fields: string;
|
|
64
|
+
values: {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
60
67
|
/**
|
|
61
68
|
* Couping Auth and Submit button state
|
|
62
69
|
* Submit button's state (disabled) is coupled with the Users' auth state - if user auth true then submit btn is enabled
|
|
@@ -99,6 +106,7 @@ export declare class EdsForm {
|
|
|
99
106
|
private formEl;
|
|
100
107
|
componentDidLoad(): void;
|
|
101
108
|
emitContext(linkElement: HTMLElement): void;
|
|
109
|
+
isFieldVisible(field: any): boolean;
|
|
102
110
|
validateField(name: string, value: string | number, type: string, required: boolean, maxLength?: number): string[];
|
|
103
111
|
validateFieldGroup(name: string, _type: string, required: boolean): string[];
|
|
104
112
|
validateSingleBox(name: string, required: boolean): string[];
|
|
@@ -27,6 +27,10 @@ export declare class EdsModal {
|
|
|
27
27
|
* Default is 3 lines.
|
|
28
28
|
*/
|
|
29
29
|
truncateLines: string;
|
|
30
|
+
/**
|
|
31
|
+
* Reference to the host element.
|
|
32
|
+
*/
|
|
33
|
+
el: HTMLElement;
|
|
30
34
|
private getTruncateClass;
|
|
31
35
|
/**
|
|
32
36
|
* Opens the modal.
|
|
@@ -40,5 +44,17 @@ export declare class EdsModal {
|
|
|
40
44
|
* Toggles the modal open or closed.
|
|
41
45
|
*/
|
|
42
46
|
toggle(): Promise<void>;
|
|
47
|
+
/**
|
|
48
|
+
* Lifecycle method that runs when the component has fully loaded.
|
|
49
|
+
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
50
|
+
*/
|
|
51
|
+
componentDidLoad(): void;
|
|
52
|
+
/**
|
|
53
|
+
* Emits a custom event called `parentContext` for a given button element.
|
|
54
|
+
* This event provides context information about the eds-modal component.
|
|
55
|
+
*
|
|
56
|
+
* @param btnElement - The link element to which the event will be dispatched.
|
|
57
|
+
*/
|
|
58
|
+
emitContext(btnElement: HTMLElement): void;
|
|
43
59
|
render(): any;
|
|
44
60
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @internal
|
|
3
|
+
*/
|
|
4
|
+
export declare class EdsTimeline {
|
|
5
|
+
selectedEvent: any;
|
|
6
|
+
parsedEvents: Array<{
|
|
7
|
+
id: number;
|
|
8
|
+
title: string;
|
|
9
|
+
category: string;
|
|
10
|
+
description: string;
|
|
11
|
+
fullDescription: string;
|
|
12
|
+
completed: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
/**
|
|
15
|
+
* Reference to the host element.
|
|
16
|
+
*/
|
|
17
|
+
el: HTMLElement;
|
|
18
|
+
/**
|
|
19
|
+
* Accepts a JSON string of timeline events.
|
|
20
|
+
*/
|
|
21
|
+
events: string;
|
|
22
|
+
parseEvents(newValue: string): void;
|
|
23
|
+
componentWillLoad(): void;
|
|
24
|
+
componentDidLoad(): void;
|
|
25
|
+
emitContext(cardElement: HTMLElement): void;
|
|
26
|
+
private modalRef;
|
|
27
|
+
private handleEventClick;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
component: string;
|
|
4
|
+
argTypes: {
|
|
5
|
+
events: {
|
|
6
|
+
control: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
|
12
|
+
export declare const Default: {
|
|
13
|
+
render: (args: any) => string;
|
|
14
|
+
args: {
|
|
15
|
+
events: {
|
|
16
|
+
id: string;
|
|
17
|
+
title: string;
|
|
18
|
+
category: string;
|
|
19
|
+
description: string;
|
|
20
|
+
fullDescription: string;
|
|
21
|
+
completed: boolean;
|
|
22
|
+
}[];
|
|
23
|
+
};
|
|
24
|
+
};
|
|
@@ -644,6 +644,10 @@ export namespace Components {
|
|
|
644
644
|
* If `true`, includes a submit button in the form.
|
|
645
645
|
*/
|
|
646
646
|
"submitBtn"?: boolean;
|
|
647
|
+
/**
|
|
648
|
+
* The message displayed when the form submission fails.
|
|
649
|
+
*/
|
|
650
|
+
"submitBtnHintMessage"?: string;
|
|
647
651
|
/**
|
|
648
652
|
* If `true`, includes a submit button in the form.
|
|
649
653
|
*/
|
|
@@ -1538,6 +1542,12 @@ export namespace Components {
|
|
|
1538
1542
|
*/
|
|
1539
1543
|
"label": string;
|
|
1540
1544
|
}
|
|
1545
|
+
interface EdsTimeline {
|
|
1546
|
+
/**
|
|
1547
|
+
* Accepts a JSON string of timeline events.
|
|
1548
|
+
*/
|
|
1549
|
+
"events": string;
|
|
1550
|
+
}
|
|
1541
1551
|
interface EdsToast {
|
|
1542
1552
|
/**
|
|
1543
1553
|
* Determines the duration before the toast auto-dismisses (in milliseconds). Defaults to 5000ms (5 seconds).
|
|
@@ -1567,6 +1577,9 @@ export namespace Components {
|
|
|
1567
1577
|
*/
|
|
1568
1578
|
"position": 'above' | 'below';
|
|
1569
1579
|
}
|
|
1580
|
+
interface EdsTrl {
|
|
1581
|
+
"applications": string;
|
|
1582
|
+
}
|
|
1570
1583
|
/**
|
|
1571
1584
|
* `EdsUser` is a user authentication component for managing and displaying
|
|
1572
1585
|
* the user's authentication state using Keycloak. It provides login and logout
|
|
@@ -2537,6 +2550,12 @@ declare global {
|
|
|
2537
2550
|
prototype: HTMLEdsTagElement;
|
|
2538
2551
|
new (): HTMLEdsTagElement;
|
|
2539
2552
|
};
|
|
2553
|
+
interface HTMLEdsTimelineElement extends Components.EdsTimeline, HTMLStencilElement {
|
|
2554
|
+
}
|
|
2555
|
+
var HTMLEdsTimelineElement: {
|
|
2556
|
+
prototype: HTMLEdsTimelineElement;
|
|
2557
|
+
new (): HTMLEdsTimelineElement;
|
|
2558
|
+
};
|
|
2540
2559
|
interface HTMLEdsToastElement extends Components.EdsToast, HTMLStencilElement {
|
|
2541
2560
|
}
|
|
2542
2561
|
var HTMLEdsToastElement: {
|
|
@@ -2558,6 +2577,12 @@ declare global {
|
|
|
2558
2577
|
prototype: HTMLEdsTooltipElement;
|
|
2559
2578
|
new (): HTMLEdsTooltipElement;
|
|
2560
2579
|
};
|
|
2580
|
+
interface HTMLEdsTrlElement extends Components.EdsTrl, HTMLStencilElement {
|
|
2581
|
+
}
|
|
2582
|
+
var HTMLEdsTrlElement: {
|
|
2583
|
+
prototype: HTMLEdsTrlElement;
|
|
2584
|
+
new (): HTMLEdsTrlElement;
|
|
2585
|
+
};
|
|
2561
2586
|
interface HTMLEdsUserElementEventMap {
|
|
2562
2587
|
"authStatusChanged": {
|
|
2563
2588
|
authenticated: boolean;
|
|
@@ -2753,9 +2778,11 @@ declare global {
|
|
|
2753
2778
|
"eds-tabs": HTMLEdsTabsElement;
|
|
2754
2779
|
"eds-tabs-content": HTMLEdsTabsContentElement;
|
|
2755
2780
|
"eds-tag": HTMLEdsTagElement;
|
|
2781
|
+
"eds-timeline": HTMLEdsTimelineElement;
|
|
2756
2782
|
"eds-toast": HTMLEdsToastElement;
|
|
2757
2783
|
"eds-toast-manager": HTMLEdsToastManagerElement;
|
|
2758
2784
|
"eds-tooltip": HTMLEdsTooltipElement;
|
|
2785
|
+
"eds-trl": HTMLEdsTrlElement;
|
|
2759
2786
|
"eds-user": HTMLEdsUserElement;
|
|
2760
2787
|
"eds-user-modal": HTMLEdsUserModalElement;
|
|
2761
2788
|
"gradient-primary-palette": HTMLGradientPrimaryPaletteElement;
|
|
@@ -3421,6 +3448,10 @@ declare namespace LocalJSX {
|
|
|
3421
3448
|
* If `true`, includes a submit button in the form.
|
|
3422
3449
|
*/
|
|
3423
3450
|
"submitBtn"?: boolean;
|
|
3451
|
+
/**
|
|
3452
|
+
* The message displayed when the form submission fails.
|
|
3453
|
+
*/
|
|
3454
|
+
"submitBtnHintMessage"?: string;
|
|
3424
3455
|
/**
|
|
3425
3456
|
* If `true`, includes a submit button in the form.
|
|
3426
3457
|
*/
|
|
@@ -4316,6 +4347,12 @@ declare namespace LocalJSX {
|
|
|
4316
4347
|
*/
|
|
4317
4348
|
"label": string;
|
|
4318
4349
|
}
|
|
4350
|
+
interface EdsTimeline {
|
|
4351
|
+
/**
|
|
4352
|
+
* Accepts a JSON string of timeline events.
|
|
4353
|
+
*/
|
|
4354
|
+
"events"?: string;
|
|
4355
|
+
}
|
|
4319
4356
|
interface EdsToast {
|
|
4320
4357
|
/**
|
|
4321
4358
|
* Determines the duration before the toast auto-dismisses (in milliseconds). Defaults to 5000ms (5 seconds).
|
|
@@ -4345,6 +4382,9 @@ declare namespace LocalJSX {
|
|
|
4345
4382
|
*/
|
|
4346
4383
|
"position"?: 'above' | 'below';
|
|
4347
4384
|
}
|
|
4385
|
+
interface EdsTrl {
|
|
4386
|
+
"applications"?: string;
|
|
4387
|
+
}
|
|
4348
4388
|
/**
|
|
4349
4389
|
* `EdsUser` is a user authentication component for managing and displaying
|
|
4350
4390
|
* the user's authentication state using Keycloak. It provides login and logout
|
|
@@ -4504,9 +4544,11 @@ declare namespace LocalJSX {
|
|
|
4504
4544
|
"eds-tabs": EdsTabs;
|
|
4505
4545
|
"eds-tabs-content": EdsTabsContent;
|
|
4506
4546
|
"eds-tag": EdsTag;
|
|
4547
|
+
"eds-timeline": EdsTimeline;
|
|
4507
4548
|
"eds-toast": EdsToast;
|
|
4508
4549
|
"eds-toast-manager": EdsToastManager;
|
|
4509
4550
|
"eds-tooltip": EdsTooltip;
|
|
4551
|
+
"eds-trl": EdsTrl;
|
|
4510
4552
|
"eds-user": EdsUser;
|
|
4511
4553
|
"eds-user-modal": EdsUserModal;
|
|
4512
4554
|
"gradient-primary-palette": GradientPrimaryPalette;
|
|
@@ -4884,12 +4926,14 @@ declare module "@stencil/core" {
|
|
|
4884
4926
|
* This component is useful for creating distinguishable tags or labels with consistent styling.
|
|
4885
4927
|
*/
|
|
4886
4928
|
"eds-tag": LocalJSX.EdsTag & JSXBase.HTMLAttributes<HTMLEdsTagElement>;
|
|
4929
|
+
"eds-timeline": LocalJSX.EdsTimeline & JSXBase.HTMLAttributes<HTMLEdsTimelineElement>;
|
|
4887
4930
|
"eds-toast": LocalJSX.EdsToast & JSXBase.HTMLAttributes<HTMLEdsToastElement>;
|
|
4888
4931
|
"eds-toast-manager": LocalJSX.EdsToastManager & JSXBase.HTMLAttributes<HTMLEdsToastManagerElement>;
|
|
4889
4932
|
/**
|
|
4890
4933
|
* `EdsTooltip` dynamically positions a tooltip centered above the slotted element.
|
|
4891
4934
|
*/
|
|
4892
4935
|
"eds-tooltip": LocalJSX.EdsTooltip & JSXBase.HTMLAttributes<HTMLEdsTooltipElement>;
|
|
4936
|
+
"eds-trl": LocalJSX.EdsTrl & JSXBase.HTMLAttributes<HTMLEdsTrlElement>;
|
|
4893
4937
|
/**
|
|
4894
4938
|
* `EdsUser` is a user authentication component for managing and displaying
|
|
4895
4939
|
* the user's authentication state using Keycloak. It provides login and logout
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ebrains/components",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0-alpha.0",
|
|
4
4
|
"main": "./dist/index.cjs.js",
|
|
5
5
|
"module": "./dist/index.js",
|
|
6
6
|
"es2015": "./dist/esm/index.mjs",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"loader/"
|
|
15
15
|
],
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@ebrains/assets":"0.0
|
|
18
|
-
"@ebrains/svgs":"0.0
|
|
17
|
+
"@ebrains/assets":"0.2.0-alpha.0",
|
|
18
|
+
"@ebrains/svgs":"0.2.0-alpha.0"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-383d2951.js');
|
|
6
|
-
|
|
7
|
-
const ColorPrimaryPalette = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
// Primary palette data
|
|
11
|
-
this.colors = [
|
|
12
|
-
{
|
|
13
|
-
rgb: 'R156 G225 B66',
|
|
14
|
-
cmyk: 'C52 M0 Y98 K0',
|
|
15
|
-
hex: '#9CE142',
|
|
16
|
-
pantoneC: 'PANTONE 367 C',
|
|
17
|
-
pantoneU: 'PANTONE 374 U',
|
|
18
|
-
background: '#9CE142'
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
rgb: 'R0 G201 B89',
|
|
22
|
-
cmyk: 'C75 M0 Y80 K0',
|
|
23
|
-
hex: '#00C959',
|
|
24
|
-
pantoneC: 'PANTONE 7480 C',
|
|
25
|
-
pantoneU: 'PANTONE 7481 U',
|
|
26
|
-
background: '#00C959'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
rgb: 'R0 G165 B149',
|
|
30
|
-
cmyk: 'C78 M8 Y49 K0',
|
|
31
|
-
hex: '#00A595',
|
|
32
|
-
pantoneC: 'PANTONE 3272 C',
|
|
33
|
-
pantoneU: 'PANTONE 3275 U',
|
|
34
|
-
background: '#00A595'
|
|
35
|
-
}
|
|
36
|
-
];
|
|
37
|
-
}
|
|
38
|
-
render() {
|
|
39
|
-
return (index.h("ul", { key: '153e3c0f00db6f824cb0f43b420645bcbd66632f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, index.h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, index.h("div", { class: "grid" }, index.h("span", { class: "f-body-02" }, color.rgb), index.h("span", { class: "f-body-02 w-full" }, color.cmyk), index.h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), index.h("div", { class: "grid" }, index.h("span", { class: "f-body-02" }, color.pantoneC), index.h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
40
|
-
}
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
exports.color_primary_palette = ColorPrimaryPalette;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-383d2951.js');
|
|
6
|
-
|
|
7
|
-
const ColorSecondaryPalette = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
// Secondary palette data
|
|
11
|
-
this.colors = [
|
|
12
|
-
{
|
|
13
|
-
rgb: 'R63 G169 B245',
|
|
14
|
-
cmyk: 'C68 M13 Y0 K0',
|
|
15
|
-
hex: '#3FA9F5',
|
|
16
|
-
pantoneC: 'PANTONE 298 C',
|
|
17
|
-
pantoneU: 'PANTONE 298 U',
|
|
18
|
-
background: '#3FA9F5'
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
rgb: 'R6 G68 B244',
|
|
22
|
-
cmyk: 'C92 M60 Y0 K0',
|
|
23
|
-
hex: '#0644F4',
|
|
24
|
-
pantoneC: 'PANTONE 2728 C',
|
|
25
|
-
pantoneU: 'PANTONE 2935 U',
|
|
26
|
-
background: '#0644F4'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
rgb: 'R196 G97 B255',
|
|
30
|
-
cmyk: 'C52 M67 Y0 K0',
|
|
31
|
-
hex: '#C461FF',
|
|
32
|
-
pantoneC: 'PANTONE 252 C',
|
|
33
|
-
pantoneU: 'PANTONE 252 U',
|
|
34
|
-
background: '#C461FF'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
rgb: 'R93 G61 B249',
|
|
38
|
-
cmyk: 'C83 M78 Y0 K0',
|
|
39
|
-
hex: '#5D3DF9',
|
|
40
|
-
pantoneC: 'PANTONE 266 C',
|
|
41
|
-
pantoneU: 'PANTONE 2735 U',
|
|
42
|
-
background: '#5D3DF9'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
rgb: 'R255 G165 B67',
|
|
46
|
-
cmyk: 'C0 M43 Y76 K0',
|
|
47
|
-
hex: '#FFA543',
|
|
48
|
-
pantoneC: 'PANTONE 804 C',
|
|
49
|
-
pantoneU: 'PANTONE 136 U',
|
|
50
|
-
background: '#FFA543'
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
rgb: 'R255 G77 B104',
|
|
54
|
-
cmyk: 'C0 M81 Y42 K0',
|
|
55
|
-
hex: '#FF4D68',
|
|
56
|
-
pantoneC: 'PANTONE 1785 C',
|
|
57
|
-
pantoneU: 'PANTONE 185 U',
|
|
58
|
-
background: '#FF4D68'
|
|
59
|
-
}
|
|
60
|
-
];
|
|
61
|
-
this.show = undefined;
|
|
62
|
-
}
|
|
63
|
-
render() {
|
|
64
|
-
return (index.h("ul", { key: 'b0af2cdf6524cf79ef8d28f37533d1f84812f174', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, index.h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, index.h("div", { class: "grid" }, index.h("span", { class: "f-body-02" }, color.rgb), index.h("span", { class: "f-body-02 w-full" }, color.cmyk), index.h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), index.h("div", { class: "grid" }, index.h("span", { class: "f-body-02" }, color.pantoneC), index.h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
|
|
68
|
-
exports.color_secondary_palette = ColorSecondaryPalette;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index = require('./index-383d2951.js');
|
|
6
|
-
|
|
7
|
-
const ColorSupportPalette = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
index.registerInstance(this, hostRef);
|
|
10
|
-
// Support palette data
|
|
11
|
-
this.colors = [
|
|
12
|
-
{
|
|
13
|
-
rgb: 'R20 G20 B20',
|
|
14
|
-
cmyk: 'C78 M69 Y61 K87',
|
|
15
|
-
hex: '#141414',
|
|
16
|
-
pantoneC: '',
|
|
17
|
-
pantoneU: '',
|
|
18
|
-
background: '#141414'
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
rgb: 'R56 G56 B56',
|
|
22
|
-
cmyk: 'C68 M58 Y55 K63',
|
|
23
|
-
hex: '#383838',
|
|
24
|
-
pantoneC: 'PANTONE 447 C',
|
|
25
|
-
pantoneU: 'PANTONE Neutral Black U',
|
|
26
|
-
background: '#383838'
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
rgb: 'R204 G204 B204',
|
|
30
|
-
cmyk: 'C23 M17 Y18 K0',
|
|
31
|
-
hex: '#CCCCCC',
|
|
32
|
-
pantoneC: 'PANTONE Cool Gray 2 C',
|
|
33
|
-
pantoneU: 'PANTONE Cool Gray 2 U',
|
|
34
|
-
background: '#CCCCCC'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
rgb: 'R230 G230 B230',
|
|
38
|
-
cmyk: 'C12 M8 Y9 K0',
|
|
39
|
-
hex: '#E6E6E6',
|
|
40
|
-
pantoneC: 'PANTONE 663 C',
|
|
41
|
-
pantoneU: 'PANTONE 649 U',
|
|
42
|
-
background: '#E6E6E6'
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
rgb: 'R255 G255 B255',
|
|
46
|
-
cmyk: 'C0 M0 Y0 K0',
|
|
47
|
-
hex: '#FFFFFF',
|
|
48
|
-
pantoneC: '',
|
|
49
|
-
pantoneU: '',
|
|
50
|
-
background: '#FFFFFF'
|
|
51
|
-
}
|
|
52
|
-
];
|
|
53
|
-
}
|
|
54
|
-
render() {
|
|
55
|
-
return (index.h("ul", { key: 'c58041047c7d7993ac4e936051d40e1e8dda5263', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (index.h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, index.h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, index.h("div", { class: "grid" }, index.h("span", { class: "f-body-02" }, color.rgb), index.h("span", { class: "f-body-02 w-full" }, color.cmyk), index.h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), index.h("div", { class: "grid" }, index.h("span", { class: "f-body-02" }, color.pantoneC || 'N/A'), index.h("span", { class: "f-body-02" }, color.pantoneU || 'N/A'))))))));
|
|
56
|
-
}
|
|
57
|
-
};
|
|
58
|
-
|
|
59
|
-
exports.color_support_palette = ColorSupportPalette;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
const index$1 = require('./index-383d2951.js');
|
|
6
|
-
const index = require('./index-1ff5f25c.js');
|
|
7
|
-
|
|
8
|
-
const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*, ::before, ::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n::before,\n::after {\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n:root {\n --inner-gutter: 8px;\n}\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n:root {\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n@media (min-width: 750px) {\n :root {\n}\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n@media (min-width: 1024px) {\n :root {\n}\n}\n.f-ui-01 b, .f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n@media (min-width: 750px) {\n .md\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-x-0 > *::before {\n content: none;\n }\n .md\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n@media (min-width: 900px) {\n .lg\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-x-0 > *::before {\n content: none;\n }\n .lg\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1 );\n }\n\n &::after {\n content: '';\n }\n}\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n.w-full {\n width: 100%;\n}\n.flex-row {\n flex-direction: row;\n}\n.items-center {\n align-items: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n.rounded-lg {\n border-radius: 16px;\n}\n.bg-dark {\n background-color: var(--grey-300);\n}\n.bg-error {\n background-color: var(--red-200);\n}\n.bg-success {\n background-color: var(--green-200);\n}\n.bg-warning {\n background-color: var(--yellow-200);\n}\n.p-16 {\n padding: 1rem;\n}\n.p-20 {\n padding: 1.25rem;\n}\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.pr-12 {\n padding-right: 0.75rem;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n[class*=underline-] {\n text-decoration-line: underline;\n}\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05 );\n}\n";
|
|
9
|
-
|
|
10
|
-
const alertStyles = index.cva(['w-full bg-dark rounded-lg border-inside after:border-softest after:rounded-lg'], {
|
|
11
|
-
variants: {
|
|
12
|
-
intent: {
|
|
13
|
-
default: '',
|
|
14
|
-
warning: 'bg-warning',
|
|
15
|
-
error: 'bg-error',
|
|
16
|
-
success: 'bg-success'
|
|
17
|
-
},
|
|
18
|
-
direction: {
|
|
19
|
-
vertical: 'space-y-12',
|
|
20
|
-
horizontal: 'flex flex-row items-center justify-between gap-x-12'
|
|
21
|
-
},
|
|
22
|
-
withBtn: {
|
|
23
|
-
false: '',
|
|
24
|
-
true: ''
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
compoundVariants: [
|
|
28
|
-
{
|
|
29
|
-
direction: 'horizontal',
|
|
30
|
-
withBtn: true,
|
|
31
|
-
class: 'px-20 pr-12 py-12'
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
direction: 'horizontal',
|
|
35
|
-
withBtn: false,
|
|
36
|
-
class: 'p-20'
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
direction: 'vertical',
|
|
40
|
-
withBtn: true,
|
|
41
|
-
class: 'p-16'
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
direction: 'vertical',
|
|
45
|
-
withBtn: false,
|
|
46
|
-
class: 'px-12 py-20'
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
defaultVariants: {
|
|
50
|
-
intent: 'default',
|
|
51
|
-
direction: 'horizontal'
|
|
52
|
-
}
|
|
53
|
-
});
|
|
54
|
-
const EdsAlert = class {
|
|
55
|
-
constructor(hostRef) {
|
|
56
|
-
index$1.registerInstance(this, hostRef);
|
|
57
|
-
this.message = undefined;
|
|
58
|
-
this.pressableLabel = undefined;
|
|
59
|
-
this.pressableUrl = undefined;
|
|
60
|
-
this.direction = 'horizontal';
|
|
61
|
-
this.intent = 'default';
|
|
62
|
-
this.withBtn = false;
|
|
63
|
-
}
|
|
64
|
-
componentWillLoad() {
|
|
65
|
-
this.withBtn = Boolean(this.pressableLabel);
|
|
66
|
-
}
|
|
67
|
-
componentDidLoad() {
|
|
68
|
-
// Query all 'eds-link' elements, including those inside shadow DOM
|
|
69
|
-
const links = this.el.shadowRoot.querySelectorAll('eds-link');
|
|
70
|
-
links.forEach((link) => {
|
|
71
|
-
this.emitContext(link);
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
emitContext(linkElement) {
|
|
75
|
-
const event = new CustomEvent('parentContext', {
|
|
76
|
-
detail: {
|
|
77
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
78
|
-
identifier: null
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
linkElement.dispatchEvent(event);
|
|
82
|
-
}
|
|
83
|
-
render() {
|
|
84
|
-
return (index$1.h("div", { key: '99518cd34cbfc04691f2f827b53105ef88c03af8', class: alertStyles({
|
|
85
|
-
intent: this.intent,
|
|
86
|
-
direction: this.direction,
|
|
87
|
-
withBtn: this.withBtn
|
|
88
|
-
}), role: "alert" }, index$1.h("p", { key: '7eca97c849473bb4c8472d11243dc5eb9dded61f', class: "f-ui-01 py-8" }, this.message), this.withBtn &&
|
|
89
|
-
(this.pressableUrl ? (index$1.h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary" })) : null)));
|
|
90
|
-
}
|
|
91
|
-
get el() { return index$1.getElement(this); }
|
|
92
|
-
};
|
|
93
|
-
EdsAlert.style = edsAlertCss;
|
|
94
|
-
|
|
95
|
-
exports.eds_alert = EdsAlert;
|