@ebrains/components 0.9.2-beta → 1.0.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/README.md +4 -2
- package/dist/cjs/analytics-28713bf7.js +60 -0
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/arrow-diagonal-black-0eb8640e.js +5 -0
- package/dist/cjs/arrow-right-3e38e8a9.js +7 -0
- package/dist/cjs/bluesky-eb0d6051.js +16 -0
- package/dist/cjs/bookmark-c61853d9.js +18 -0
- package/dist/cjs/chevron-down-27344777.js +14 -0
- package/dist/cjs/chevron-left-6fc9c6ef.js +13 -0
- package/dist/cjs/chevron-right-6d95a117.js +7 -0
- package/dist/cjs/chevron-up-e37d7713.js +14 -0
- package/dist/cjs/close-51284af5.js +7 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +340 -0
- package/dist/cjs/components-section.cjs.entry.js +145 -0
- package/dist/cjs/components.cjs.js +25 -0
- package/dist/cjs/copy-53102d0c.js +7 -0
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +68 -0
- package/dist/cjs/docs-palettes.cjs.entry.js +27 -0
- package/dist/cjs/docs-tokens.cjs.entry.js +35 -0
- package/dist/cjs/eds-accordion.cjs.entry.js +86 -0
- package/dist/cjs/eds-alert.cjs.entry.js +104 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
- package/dist/cjs/eds-avatar_34.cjs.entry.js +2731 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +196 -0
- package/dist/cjs/eds-card-section.cjs.entry.js +39 -0
- package/dist/cjs/eds-card-tags.cjs.entry.js +22 -0
- package/dist/cjs/eds-card-tool.cjs.entry.js +79 -0
- package/dist/cjs/eds-code-block.cjs.entry.js +2489 -0
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
- package/dist/cjs/eds-feedback.cjs.entry.js +71 -0
- package/dist/cjs/eds-frame.cjs.entry.js +85 -0
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-close.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-copy.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-eu.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-external.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-loader.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-menu.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-minus.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-more.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-paper.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-plus.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-portal.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-private.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-public.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-search.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-success.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-updown.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-user.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +18 -0
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +125 -0
- package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +56 -0
- package/dist/cjs/eds-rating.cjs.entry.js +64 -0
- package/dist/cjs/eds-section-core_2.cjs.entry.js +59 -0
- package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
- package/dist/cjs/eds-splash-screen.cjs.entry.js +60 -0
- package/dist/cjs/eds-switch.cjs.entry.js +46 -0
- package/dist/cjs/eds-timeline.cjs.entry.js +63 -0
- package/dist/cjs/eds-toast-manager.cjs.entry.js +75 -0
- package/dist/cjs/eds-toast.cjs.entry.js +77 -0
- package/dist/cjs/eds-trl.cjs.entry.js +51 -0
- package/dist/cjs/eu-b9665157.js +32 -0
- package/dist/cjs/facebook-7aa65e57.js +16 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +50 -0
- package/dist/cjs/index-88c8039f.js +1941 -0
- package/dist/cjs/index-ab9fbefe.js +48 -0
- package/dist/cjs/index.cjs.js +2 -0
- package/dist/cjs/linkedin-46b0dd56.js +30 -0
- package/dist/cjs/loader-72f9d178.js +32 -0
- package/dist/cjs/loader.cjs.js +15 -0
- package/dist/cjs/logo-color-6c787ac1.js +117 -0
- package/dist/cjs/logo-color-margins-b49c0f46.js +120 -0
- package/dist/cjs/logo-space.cjs.entry.js +21 -0
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +36 -0
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +27 -0
- package/dist/{components/index-7281d120.js → cjs/logo-white-no-bg-4a0e0f4b.js} +10 -941
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +21 -0
- package/dist/cjs/mastodon-20c5bb7d.js +16 -0
- package/dist/cjs/menu-7050a6d1.js +13 -0
- package/dist/cjs/minus-1da6a98a.js +13 -0
- package/dist/cjs/mono-2f3cd653.js +13 -0
- package/dist/cjs/more-1d3dd8bc.js +15 -0
- package/dist/cjs/paper-0d6302f6.js +17 -0
- package/dist/cjs/plus-d0e00ad0.js +14 -0
- package/dist/cjs/portal-46212559.js +20 -0
- package/dist/cjs/private-38835fe7.js +27 -0
- package/dist/cjs/public-b519b1f6.js +18 -0
- package/dist/cjs/search-5533d877.js +14 -0
- package/dist/cjs/sharedUtils-8e287250.js +21 -0
- package/dist/cjs/star-942eee9f.js +7 -0
- package/dist/cjs/success-ef661a11.js +20 -0
- package/dist/cjs/svg-repository.cjs.entry.js +337 -0
- package/dist/cjs/thumbs-down-714036b1.js +7 -0
- package/dist/cjs/thumbs-up-411babb8.js +8 -0
- package/dist/cjs/token-list_3.cjs.entry.js +300 -0
- package/dist/cjs/token-ratios.cjs.entry.js +29 -0
- package/dist/cjs/token-typography.cjs.entry.js +230 -0
- package/dist/cjs/tutotial-7855df3c.js +29 -0
- package/dist/cjs/twitter-73956e9a.js +16 -0
- package/dist/cjs/unknown-6814e551.js +24 -0
- package/dist/cjs/up-and-down-d71df67d.js +14 -0
- package/dist/cjs/user-a3c2230f.js +18 -0
- package/dist/cjs/youtube-c238a461.js +16 -0
- package/dist/collection/collection-manifest.json +128 -0
- package/dist/collection/components/eds-accordion/eds-accordion.css +256 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +222 -0
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +87 -0
- package/dist/collection/components/eds-alert/eds-alert.css +165 -0
- package/dist/collection/components/eds-alert/eds-alert.js +230 -0
- package/dist/collection/components/eds-alert/eds-alert.stories.js +62 -0
- package/dist/collection/components/eds-avatar/eds-avatar.css +202 -0
- package/dist/collection/components/eds-avatar/eds-avatar.js +173 -0
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +43 -0
- package/dist/collection/components/eds-block-break/eds-block-break.css +24 -0
- package/dist/collection/components/eds-block-break/eds-block-break.js +46 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +112 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +40 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +212 -0
- package/dist/collection/components/eds-button/eds-button.css +910 -0
- package/dist/collection/components/eds-button/eds-button.js +433 -0
- package/dist/collection/components/eds-button/eds-button.stories.js +50 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +39 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +94 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +9 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +63 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +92 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +169 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +148 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +338 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +133 -0
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +228 -0
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +103 -0
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +314 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.css +58 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.js +172 -0
- package/dist/collection/components/eds-charts/eds-gauge/eds-gauge.stories.js +57 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.css +135 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +229 -0
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.stories.js +76 -0
- package/dist/collection/components/eds-code-block/eds-code-block.css +204 -0
- package/dist/collection/components/eds-code-block/eds-code-block.js +141 -0
- package/dist/collection/components/eds-code-block/eds-code-block.stories.js +78 -0
- package/dist/collection/components/eds-dropdown/eds-dropdown.css +117 -0
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +369 -0
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +92 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +36 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +36 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +36 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +36 -0
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +36 -0
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +36 -0
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +36 -0
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +36 -0
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +36 -0
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +36 -0
- package/dist/collection/components/eds-img/eds-img.css +83 -0
- package/dist/collection/components/eds-img/eds-img.js +252 -0
- package/dist/collection/components/eds-img/eds-img.stories.js +101 -0
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +317 -0
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +105 -0
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +90 -0
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +252 -0
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +263 -0
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +220 -0
- package/dist/collection/components/eds-input-field/eds-input-field.css +7760 -0
- package/dist/collection/components/eds-input-field/eds-input-field.js +478 -0
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +206 -0
- package/dist/collection/components/eds-link/eds-link.css +1238 -0
- package/dist/collection/components/eds-link/eds-link.js +493 -0
- package/dist/collection/components/eds-link/eds-link.stories.js +86 -0
- package/dist/collection/components/eds-logo/eds-logo.css +47 -0
- package/dist/collection/components/eds-logo/eds-logo.js +169 -0
- package/dist/collection/components/eds-logo/eds-logo.stories.js +38 -0
- package/dist/collection/components/eds-modal/eds-modal.css +304 -0
- package/dist/collection/components/eds-modal/eds-modal.js +298 -0
- package/dist/collection/components/eds-modal/eds-modal.stories.js +89 -0
- package/dist/collection/components/eds-pagination/eds-pagination.css +148 -0
- package/dist/collection/components/eds-pagination/eds-pagination.js +418 -0
- package/dist/collection/components/eds-pagination/eds-pagination.stories.js +135 -0
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +97 -0
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +124 -0
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +24 -0
- package/dist/collection/components/eds-rating/eds-rating.css +79 -0
- package/dist/collection/components/eds-rating/eds-rating.js +126 -0
- package/dist/collection/components/eds-rating/eds-rating.stories.js +43 -0
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.css +0 -0
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.donotstories.js +75 -0
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +95 -0
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +140 -0
- package/dist/collection/components/eds-spinner/eds-spinner.css +17 -0
- package/dist/collection/components/eds-spinner/eds-spinner.js +166 -0
- package/dist/collection/components/eds-spinner/eds-spinner.stories.js +52 -0
- package/dist/collection/components/eds-switch/eds-switch.css +69 -0
- package/dist/collection/components/eds-switch/eds-switch.js +139 -0
- package/dist/collection/components/eds-switch/eds-switch.stories.js +38 -0
- package/dist/collection/components/eds-table/eds-table.css +142 -0
- package/dist/collection/components/eds-table/eds-table.js +370 -0
- package/dist/collection/components/eds-table/eds-table.stories.js +89 -0
- package/dist/collection/components/eds-tag/eds-tag.css +111 -0
- package/dist/collection/components/eds-tag/eds-tag.js +110 -0
- package/dist/collection/components/eds-tag/eds-tag.stories.js +34 -0
- package/dist/collection/components/eds-timeline/eds-timeline.css +84 -0
- package/dist/collection/components/eds-timeline/eds-timeline.donot-stories.js +35 -0
- package/dist/collection/components/eds-timeline/eds-timeline.js +96 -0
- package/dist/collection/components/eds-toast/eds-toast.css +91 -0
- package/dist/collection/components/eds-toast/eds-toast.js +138 -0
- package/dist/collection/components/eds-toast/eds-toast.stories.js +38 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +90 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +65 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +23 -0
- package/dist/collection/components/eds-trl/eds-trl.js +68 -0
- package/dist/{components/color-primary-palette.entry.js → collection/eds-docs-ui/colors/color-palette/primary.js} +9 -9
- package/dist/{components/color-secondary-palette.entry.js → collection/eds-docs-ui/colors/color-palette/secondary.js} +30 -9
- package/dist/{components/color-support-palette.entry.js → collection/eds-docs-ui/colors/color-palette/support.js} +9 -9
- package/dist/{components/gradient-primary-palette.entry.js → collection/eds-docs-ui/colors/gradient-palette/primary.js} +9 -9
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +75 -0
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +59 -0
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +66 -0
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +44 -0
- package/dist/collection/eds-docs-ui/components-section/components-section.js +55 -0
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +19 -0
- package/dist/collection/eds-docs-ui/components-section/functional/react.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/usage.js +2 -0
- package/dist/collection/eds-docs-ui/components-section/functional/vue.js +2 -0
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +52 -0
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +98 -0
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.stories.js +44 -0
- package/dist/{components/token-radii.entry.js → collection/eds-docs-ui/design-tokens/token-radii/token-radii.js} +9 -19
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +15 -0
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +11 -0
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +10 -0
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +27 -0
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +44 -0
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +154 -0
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +22 -0
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +161 -0
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +21 -0
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +169 -0
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +64 -0
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +44 -0
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +240 -0
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +22 -0
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.css +5 -0
- package/dist/{components/svg-repository.entry.js → collection/eds-docs-ui/svg-repository/svg-repository.js} +21 -15
- package/dist/collection/index.js +1 -0
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +249 -0
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +95 -0
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +71 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +86 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +31 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +163 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +214 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +129 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +230 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +233 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +65 -0
- package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
- package/dist/collection/shared-ui/eds-form/eds-form.js +473 -0
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +82 -0
- package/dist/collection/shared-ui/eds-frame/eds-frame.css +148 -0
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +234 -0
- package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +52 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +152 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +192 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +77 -0
- package/dist/collection/shared-ui/eds-header/eds-header.css +184 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +183 -0
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +42 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +109 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +232 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +31 -0
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +124 -0
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +92 -0
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +21 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +29 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +136 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
- package/dist/collection/shared-ui/eds-steps/eds-steps.css +93 -0
- package/dist/collection/shared-ui/eds-steps/eds-steps.js +170 -0
- package/dist/collection/shared-ui/eds-steps/eds-steps.stories.js +35 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +261 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +79 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +375 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +221 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +64 -0
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +51 -0
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +54 -0
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.stories.js +25 -0
- package/dist/collection/shared-ui/eds-user/eds-user.css +71 -0
- package/dist/collection/shared-ui/eds-user/eds-user.js +77 -0
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +45 -0
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +39 -0
- package/dist/{components/analytics-e29fcd53.js → collection/utils/analytics.js} +8 -10
- package/dist/collection/utils/api.js +27 -0
- package/dist/{components/color-47266964.js → collection/utils/color.js} +11 -14
- package/dist/collection/utils/eds-form/formUtils.js +65 -0
- package/dist/collection/utils/eds-form/formValidators.js +64 -0
- package/dist/collection/utils/eds-form/individualValidator.js +46 -0
- package/dist/collection/utils/eds-form/validateInput.js +23 -0
- package/dist/collection/utils/global.js +8 -0
- package/dist/collection/utils/keycloak.js +85 -0
- package/dist/collection/utils/sharedUtils.js +17 -0
- package/dist/{components/toastManager-b716afd8.js → collection/utils/toastManager.js} +1 -3
- package/dist/components/analytics.js +56 -0
- package/dist/components/arrow-diagonal-black.js +3 -0
- package/dist/components/arrow-right.js +5 -0
- package/dist/components/bluesky.js +14 -0
- package/dist/components/bookmark.js +16 -0
- package/dist/components/chevron-down.js +12 -0
- package/dist/components/chevron-left.js +11 -0
- package/dist/components/chevron-right.js +5 -0
- package/dist/components/chevron-up.js +12 -0
- package/dist/components/close.js +5 -0
- package/dist/components/color-primary-palette.d.ts +11 -0
- package/dist/components/color-primary-palette.js +6 -0
- package/dist/components/color-secondary-palette.d.ts +11 -0
- package/dist/components/color-secondary-palette.js +6 -0
- package/dist/components/color-support-palette.d.ts +11 -0
- package/dist/components/color-support-palette.js +6 -0
- package/dist/components/components-section.d.ts +11 -0
- package/dist/components/components-section.js +208 -0
- package/dist/components/components.css +7311 -0
- package/dist/components/components.esm.js +1 -47
- package/dist/components/copy.js +5 -0
- package/dist/components/correct-use-of-colors.d.ts +11 -0
- package/dist/components/correct-use-of-colors.js +93 -0
- package/dist/components/docs-palettes.d.ts +11 -0
- package/dist/components/docs-palettes.js +96 -0
- package/dist/components/docs-tokens.d.ts +11 -0
- package/dist/components/docs-tokens.js +80 -0
- package/dist/components/eds-accordion.d.ts +11 -0
- package/dist/components/eds-accordion.js +6 -0
- package/dist/components/eds-accordion2.js +119 -0
- package/dist/components/eds-alert.d.ts +11 -0
- package/dist/components/eds-alert.js +6 -0
- package/dist/components/eds-alert2.js +135 -0
- package/dist/components/eds-app-root.d.ts +11 -0
- package/dist/components/eds-app-root.js +71 -0
- package/dist/components/eds-avatar.d.ts +11 -0
- package/dist/components/eds-avatar.js +6 -0
- package/dist/components/eds-avatar2.js +92 -0
- package/dist/components/eds-block-break.d.ts +11 -0
- package/dist/components/eds-block-break.js +6 -0
- package/dist/components/eds-block-break2.js +34 -0
- package/dist/components/eds-breadcrumb.d.ts +11 -0
- package/dist/components/{eds-breadcrumb.entry.js → eds-breadcrumb.js} +49 -10
- package/dist/components/eds-button.d.ts +11 -0
- package/dist/components/eds-button.js +6 -0
- package/dist/components/eds-button2.js +210 -0
- package/dist/components/eds-card-desc.d.ts +11 -0
- package/dist/components/eds-card-desc.js +6 -0
- package/dist/components/eds-card-desc2.js +41 -0
- package/dist/components/eds-card-generic.d.ts +11 -0
- package/dist/components/eds-card-generic.js +6 -0
- package/dist/components/{eds-card-generic.entry.js → eds-card-generic2.js} +72 -12
- package/dist/components/eds-card-project.d.ts +11 -0
- package/dist/components/eds-card-project.js +238 -0
- package/dist/components/eds-card-section.d.ts +11 -0
- package/dist/components/eds-card-section.js +92 -0
- package/dist/components/eds-card-tags.d.ts +11 -0
- package/dist/components/eds-card-tags.js +45 -0
- package/dist/components/eds-card-title.d.ts +11 -0
- package/dist/components/eds-card-title.js +6 -0
- package/dist/components/{eds-card-title.entry.js → eds-card-title2.js} +31 -8
- package/dist/components/eds-card-tool.d.ts +11 -0
- package/dist/components/eds-card-tool.js +137 -0
- package/dist/components/eds-code-block.d.ts +11 -0
- package/dist/components/eds-code-block.js +6 -0
- package/dist/components/eds-code-block2.js +2510 -0
- package/dist/components/eds-cookies-preference.d.ts +11 -0
- package/dist/components/eds-cookies-preference.js +87 -0
- package/dist/components/eds-dropdown.d.ts +11 -0
- package/dist/components/eds-dropdown.js +6 -0
- package/dist/components/{eds-dropdown.entry.js → eds-dropdown2.js} +50 -11
- package/dist/components/eds-feedback.d.ts +11 -0
- package/dist/components/eds-feedback.js +111 -0
- package/dist/components/eds-footer.d.ts +11 -0
- package/dist/components/eds-footer.js +6 -0
- package/dist/components/eds-footer2.js +99 -0
- package/dist/components/eds-form.d.ts +11 -0
- package/dist/components/{eds-form.entry.js → eds-form.js} +114 -72
- package/dist/components/eds-frame.d.ts +11 -0
- package/dist/components/eds-frame.js +120 -0
- package/dist/components/eds-fullscreen-menu.d.ts +11 -0
- package/dist/components/{eds-fullscreen-menu.entry.js → eds-fullscreen-menu.js} +82 -9
- package/dist/components/eds-gauge.d.ts +11 -0
- package/dist/components/eds-gauge.js +81 -0
- package/dist/components/eds-header.d.ts +11 -0
- package/dist/components/eds-header.js +108 -0
- package/dist/components/eds-icon-arrow-diagonal.d.ts +11 -0
- package/dist/components/eds-icon-arrow-diagonal.js +33 -0
- package/dist/components/eds-icon-arrow-right.d.ts +11 -0
- package/dist/components/eds-icon-arrow-right.js +33 -0
- package/dist/components/eds-icon-bluesky.d.ts +11 -0
- package/dist/components/eds-icon-bluesky.js +33 -0
- package/dist/components/eds-icon-bookmark.d.ts +11 -0
- package/dist/components/eds-icon-bookmark.js +33 -0
- package/dist/components/eds-icon-chevron-down.d.ts +11 -0
- package/dist/components/eds-icon-chevron-down.js +33 -0
- package/dist/components/eds-icon-chevron-left.d.ts +11 -0
- package/dist/components/eds-icon-chevron-left.js +33 -0
- package/dist/components/eds-icon-chevron-right.d.ts +11 -0
- package/dist/components/eds-icon-chevron-right.js +33 -0
- package/dist/components/eds-icon-chevron-up.d.ts +11 -0
- package/dist/components/eds-icon-chevron-up.js +33 -0
- package/dist/components/eds-icon-close.d.ts +11 -0
- package/dist/components/eds-icon-close.js +33 -0
- package/dist/components/eds-icon-copy.d.ts +11 -0
- package/dist/components/eds-icon-copy.js +33 -0
- package/dist/components/eds-icon-eu.d.ts +11 -0
- package/dist/components/eds-icon-eu.js +33 -0
- package/dist/components/eds-icon-external.d.ts +11 -0
- package/dist/components/eds-icon-external.js +33 -0
- package/dist/components/eds-icon-facebook.d.ts +11 -0
- package/dist/components/eds-icon-facebook.js +33 -0
- package/dist/components/eds-icon-gitlab.d.ts +11 -0
- package/dist/components/eds-icon-gitlab.js +33 -0
- package/dist/components/eds-icon-linkedin.d.ts +11 -0
- package/dist/components/eds-icon-linkedin.js +33 -0
- package/dist/components/eds-icon-loader.d.ts +11 -0
- package/dist/components/eds-icon-loader.js +33 -0
- package/dist/components/eds-icon-mastodon.d.ts +11 -0
- package/dist/components/eds-icon-mastodon.js +33 -0
- package/dist/components/eds-icon-menu.d.ts +11 -0
- package/dist/components/eds-icon-menu.js +33 -0
- package/dist/components/eds-icon-minus.d.ts +11 -0
- package/dist/components/eds-icon-minus.js +33 -0
- package/dist/components/eds-icon-more.d.ts +11 -0
- package/dist/components/eds-icon-more.js +33 -0
- package/dist/components/eds-icon-paper.d.ts +11 -0
- package/dist/components/eds-icon-paper.js +33 -0
- package/dist/components/eds-icon-plus.d.ts +11 -0
- package/dist/components/eds-icon-plus.js +33 -0
- package/dist/components/eds-icon-portal.d.ts +11 -0
- package/dist/components/eds-icon-portal.js +33 -0
- package/dist/components/eds-icon-private.d.ts +11 -0
- package/dist/components/eds-icon-private.js +33 -0
- package/dist/components/eds-icon-public.d.ts +11 -0
- package/dist/components/eds-icon-public.js +33 -0
- package/dist/components/eds-icon-search.d.ts +11 -0
- package/dist/components/eds-icon-search.js +33 -0
- package/dist/components/eds-icon-star.d.ts +11 -0
- package/dist/components/eds-icon-star.js +33 -0
- package/dist/components/eds-icon-success.d.ts +11 -0
- package/dist/components/eds-icon-success.js +33 -0
- package/dist/components/eds-icon-thumbs-down.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-down.js +33 -0
- package/dist/components/eds-icon-thumbs-up.d.ts +11 -0
- package/dist/components/eds-icon-thumbs-up.js +33 -0
- package/dist/components/eds-icon-tutorial.d.ts +11 -0
- package/dist/components/eds-icon-tutorial.js +33 -0
- package/dist/components/eds-icon-twitter.d.ts +11 -0
- package/dist/components/eds-icon-twitter.js +33 -0
- package/dist/components/eds-icon-unknown.d.ts +11 -0
- package/dist/components/eds-icon-unknown.js +33 -0
- package/dist/components/eds-icon-updown.d.ts +11 -0
- package/dist/components/eds-icon-updown.js +33 -0
- package/dist/components/eds-icon-user.d.ts +11 -0
- package/dist/components/eds-icon-user.js +33 -0
- package/dist/components/eds-icon-wrapper.d.ts +11 -0
- package/dist/components/eds-icon-wrapper.js +6 -0
- package/dist/components/{eds-icon-wrapper.entry.js → eds-icon-wrapper2.js} +26 -6
- package/dist/components/eds-icon-youtube.d.ts +11 -0
- package/dist/components/eds-icon-youtube.js +33 -0
- package/dist/components/eds-img.d.ts +11 -0
- package/dist/components/eds-img.js +6 -0
- package/dist/components/{eds-img.entry.js → eds-img2.js} +38 -10
- package/dist/components/eds-input-field.d.ts +11 -0
- package/dist/components/eds-input-field.js +6 -0
- package/dist/components/{eds-input-field.entry.js → eds-input-field2.js} +111 -23
- package/dist/components/eds-input-footer.d.ts +11 -0
- package/dist/components/eds-input-footer.js +6 -0
- package/dist/components/eds-input-footer2.js +43 -0
- package/dist/components/eds-input-label.d.ts +11 -0
- package/dist/components/eds-input-label.js +6 -0
- package/dist/components/eds-input-label2.js +35 -0
- package/dist/components/eds-input-range.d.ts +11 -0
- package/dist/components/eds-input-range.js +6 -0
- package/dist/components/{eds-input-range.entry.js → eds-input-range2.js} +35 -8
- package/dist/components/eds-input-search.d.ts +11 -0
- package/dist/components/eds-input-search.js +6 -0
- package/dist/components/{eds-input-search.entry.js → eds-input-search2.js} +39 -9
- package/dist/components/eds-input-select.d.ts +11 -0
- package/dist/components/eds-input-select.js +6 -0
- package/dist/components/eds-input-select2.js +64 -0
- package/dist/components/eds-input.d.ts +11 -0
- package/dist/components/eds-input.js +6 -0
- package/dist/components/{eds-input.entry.js → eds-input2.js} +48 -9
- package/dist/components/eds-link.d.ts +11 -0
- package/dist/components/eds-link.js +6 -0
- package/dist/components/eds-link2.js +255 -0
- package/dist/components/eds-logo.d.ts +11 -0
- package/dist/components/eds-logo.js +6 -0
- package/dist/components/{eds-logo.entry.js → eds-logo2.js} +33 -11
- package/dist/components/eds-matomo-notice.d.ts +11 -0
- package/dist/components/eds-matomo-notice.js +6 -0
- package/dist/components/eds-matomo-notice2.js +160 -0
- package/dist/components/eds-modal.d.ts +11 -0
- package/dist/components/eds-modal.js +166 -0
- package/dist/components/eds-pagination.d.ts +11 -0
- package/dist/components/eds-pagination.js +6 -0
- package/dist/components/{eds-pagination.entry.js → eds-pagination2.js} +52 -9
- package/dist/components/eds-pie.d.ts +11 -0
- package/dist/components/eds-pie.js +127 -0
- package/dist/components/eds-progress-bar.d.ts +11 -0
- package/dist/components/eds-progress-bar.js +6 -0
- package/dist/components/eds-progress-bar2.js +71 -0
- package/dist/components/eds-rating.d.ts +11 -0
- package/dist/components/eds-rating.js +6 -0
- package/dist/components/eds-rating2.js +91 -0
- package/dist/components/eds-section-core.d.ts +11 -0
- package/dist/components/eds-section-core.js +6 -0
- package/dist/components/eds-section-core2.js +45 -0
- package/dist/components/eds-section-heading.d.ts +11 -0
- package/dist/components/eds-section-heading.js +6 -0
- package/dist/components/eds-section-heading2.js +57 -0
- package/dist/components/eds-social-networks.d.ts +11 -0
- package/dist/components/eds-social-networks.js +6 -0
- package/dist/components/{eds-social-networks.entry.js → eds-social-networks2.js} +38 -8
- package/dist/components/eds-spinner.d.ts +11 -0
- package/dist/components/eds-spinner.js +6 -0
- package/dist/components/eds-spinner2.js +72 -0
- package/dist/components/eds-splash-screen.d.ts +11 -0
- package/dist/components/eds-splash-screen.js +6 -0
- package/dist/components/eds-splash-screen2.js +89 -0
- package/dist/components/eds-steps-v2.d.ts +11 -0
- package/dist/components/eds-steps-v2.js +137 -0
- package/dist/components/eds-steps.d.ts +11 -0
- package/dist/components/eds-steps.js +6 -0
- package/dist/components/{eds-steps.entry.js → eds-steps2.js} +44 -10
- package/dist/components/eds-switch.d.ts +11 -0
- package/dist/components/eds-switch.js +65 -0
- package/dist/components/eds-table.d.ts +11 -0
- package/dist/components/eds-table.js +6 -0
- package/dist/components/{eds-table.entry.js → eds-table2.js} +109 -14
- package/dist/components/eds-tabs.d.ts +11 -0
- package/dist/components/eds-tabs.js +152 -0
- package/dist/components/eds-tag.d.ts +11 -0
- package/dist/components/eds-tag.js +6 -0
- package/dist/components/eds-tag2.js +64 -0
- package/dist/components/eds-timeline.d.ts +11 -0
- package/dist/components/eds-timeline.js +119 -0
- package/dist/components/eds-toast-manager.d.ts +11 -0
- package/dist/components/eds-toast-manager.js +109 -0
- package/dist/components/eds-toast.d.ts +11 -0
- package/dist/components/eds-toast.js +6 -0
- package/dist/components/eds-toast2.js +105 -0
- package/dist/components/eds-tooltip.d.ts +11 -0
- package/dist/components/eds-tooltip.js +48 -0
- package/dist/components/eds-trl.d.ts +11 -0
- package/dist/components/eds-trl.js +138 -0
- package/dist/components/eds-user.d.ts +11 -0
- package/dist/components/eds-user.js +97 -0
- package/dist/components/eu.js +30 -0
- package/dist/components/facebook.js +14 -0
- package/dist/components/gradient-primary-palette.d.ts +11 -0
- package/dist/components/gradient-primary-palette.js +6 -0
- package/dist/components/gradient-secondary-palette.d.ts +11 -0
- package/dist/components/gradient-secondary-palette.js +6 -0
- package/dist/components/gradient-support-palette.d.ts +11 -0
- package/dist/components/gradient-support-palette.js +6 -0
- package/dist/components/incorrect-use-of-colors.d.ts +11 -0
- package/dist/components/incorrect-use-of-colors.js +81 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.esm.js +0 -1
- package/dist/components/index.js +1 -0
- package/dist/components/linkedin.js +28 -0
- package/dist/components/loader.js +30 -0
- package/dist/components/logo-color-margins.js +118 -0
- package/dist/components/logo-color.js +115 -0
- package/dist/components/logo-space.d.ts +11 -0
- package/dist/components/logo-space.js +101 -0
- package/dist/components/logo-variations-horizontal.d.ts +11 -0
- package/dist/components/logo-variations-horizontal.js +6 -0
- package/dist/components/{logo-variations-horizontal.entry.js → logo-variations-horizontal2.js} +30 -8
- package/dist/components/logo-variations-tabs.d.ts +11 -0
- package/dist/components/logo-variations-tabs.js +60 -0
- package/dist/components/logo-variations-vertical.d.ts +11 -0
- package/dist/components/logo-variations-vertical.js +6 -0
- package/dist/components/{logo-variations-vertical.entry.js → logo-variations-vertical2.js} +33 -8
- package/dist/components/logo-white-no-bg.js +1029 -0
- package/dist/components/logo-wrong-usage.d.ts +11 -0
- package/dist/components/logo-wrong-usage.js +35 -0
- package/dist/components/mastodon.js +14 -0
- package/dist/components/menu.js +11 -0
- package/dist/components/minus.js +11 -0
- package/dist/components/mono.js +11 -0
- package/dist/components/more.js +13 -0
- package/dist/components/p-019555e2.entry.js +1 -0
- package/dist/components/p-024c7937.js +1 -0
- package/dist/components/p-04b4e9d0.entry.js +1 -0
- package/dist/components/p-05754401.js +1 -0
- package/dist/components/p-0863352c.entry.js +1 -0
- package/dist/components/p-0be28996.js +1 -0
- package/dist/components/p-0d6434e1.entry.js +1 -0
- package/dist/components/p-0e6d43c5.js +1 -0
- package/dist/components/p-0e94a89f.entry.js +1 -0
- package/dist/components/p-0ed92872.entry.js +1 -0
- package/dist/components/p-0eeddc13.entry.js +1 -0
- package/dist/components/p-100909ce.entry.js +1 -0
- package/dist/components/p-10db551c.entry.js +1 -0
- package/dist/components/p-112122d6.js +1 -0
- package/dist/components/p-124b8747.entry.js +1 -0
- package/dist/components/p-14a223fe.entry.js +1 -0
- package/dist/components/p-1661f33c.entry.js +1 -0
- package/dist/components/p-18ceadd2.entry.js +1 -0
- package/dist/components/p-1b2913c8.js +1 -0
- package/dist/components/p-1ded61bd.js +1 -0
- package/dist/components/p-2066b033.js +1 -0
- package/dist/components/p-2117611b.js +1 -0
- package/dist/components/p-223ba66e.entry.js +1 -0
- package/dist/components/p-24dab785.entry.js +1 -0
- package/dist/components/p-2692f93d.js +1 -0
- package/dist/components/p-26d6679b.entry.js +1 -0
- package/dist/components/p-2810d568.entry.js +1 -0
- package/dist/components/p-28ae3f3a.js +2 -0
- package/dist/components/p-29041952.js +1 -0
- package/dist/components/p-2b1b2026.entry.js +1 -0
- package/dist/components/p-2c571550.entry.js +1 -0
- package/dist/components/p-326d9e55.entry.js +1 -0
- package/dist/components/p-32e6c4df.js +1 -0
- package/dist/components/p-36d6134f.entry.js +1 -0
- package/dist/components/p-373119b3.js +1 -0
- package/dist/components/p-3c642a30.entry.js +1 -0
- package/dist/components/p-4587d0ef.js +1 -0
- package/dist/components/p-46619042.entry.js +1 -0
- package/dist/components/p-4687b64c.js +1 -0
- package/dist/components/p-46a6ab04.entry.js +1 -0
- package/dist/components/p-46d0716d.js +1 -0
- package/dist/components/p-50e27321.js +1 -0
- package/dist/components/p-50ea5b07.entry.js +1 -0
- package/dist/components/p-511b23ec.entry.js +1 -0
- package/dist/components/p-5462923d.entry.js +1 -0
- package/dist/components/p-54b8f143.js +1 -0
- package/dist/components/p-5ab1d64a.js +1 -0
- package/dist/components/p-5d046674.js +1 -0
- package/dist/components/p-6199b8c0.entry.js +1 -0
- package/dist/components/p-624e653e.entry.js +1 -0
- package/dist/components/p-682f7376.entry.js +1 -0
- package/dist/components/p-6907a47c.entry.js +1 -0
- package/dist/components/p-694fc085.js +1 -0
- package/dist/components/p-69c5074b.js +1 -0
- package/dist/components/p-6ba42d02.entry.js +1 -0
- package/dist/components/p-6e929acb.entry.js +1 -0
- package/dist/components/p-6ede7101.entry.js +1 -0
- package/dist/components/p-70bac015.entry.js +1 -0
- package/dist/components/p-7198c024.js +1 -0
- package/dist/components/p-7af6b832.entry.js +1 -0
- package/dist/components/p-7f31622d.entry.js +1 -0
- package/dist/components/p-81899237.js +1 -0
- package/dist/components/p-822ac246.entry.js +1 -0
- package/dist/components/p-83ff4a95.js +1 -0
- package/dist/components/p-848506b8.entry.js +1 -0
- package/dist/components/p-84fd3e40.entry.js +1 -0
- package/dist/components/p-85634ad2.entry.js +1 -0
- package/dist/components/p-86bb73dc.js +1 -0
- package/dist/components/p-8983de37.js +1 -0
- package/dist/components/p-8ad05566.entry.js +1 -0
- package/dist/components/p-8b016d76.entry.js +1 -0
- package/dist/components/p-8bdf5841.entry.js +1 -0
- package/dist/components/p-8ff39cef.entry.js +1 -0
- package/dist/components/p-9c5a453b.js +1 -0
- package/dist/components/p-a4f552b2.entry.js +1 -0
- package/dist/components/p-a81cba86.entry.js +1 -0
- package/dist/components/p-abb2ad00.entry.js +1 -0
- package/dist/components/p-adbd0d7b.entry.js +1 -0
- package/dist/components/p-aefcb641.js +1 -0
- package/dist/components/p-affe2b55.entry.js +1 -0
- package/dist/components/p-b31591db.entry.js +1 -0
- package/dist/components/p-b4abff90.entry.js +1 -0
- package/dist/components/p-b50fc0d7.entry.js +1 -0
- package/dist/components/p-b73410de.js +1 -0
- package/dist/components/p-b7efd666.entry.js +1 -0
- package/dist/components/p-b822abb7.js +1 -0
- package/dist/components/p-ba720bf3.js +1 -0
- package/dist/components/p-ba784274.entry.js +1 -0
- package/dist/components/p-bb9af709.entry.js +1 -0
- package/dist/components/p-bfc62d3e.entry.js +1 -0
- package/dist/components/p-c0b22803.entry.js +1 -0
- package/dist/components/p-c1e4ef92.js +1 -0
- package/dist/components/p-c776b6f8.js +1 -0
- package/dist/components/p-c8e7c854.js +1 -0
- package/dist/components/p-cdd491f5.entry.js +1 -0
- package/dist/components/p-cde3d7a4.entry.js +1 -0
- package/dist/components/p-cdf19579.js +1 -0
- package/dist/components/p-cfccddc3.entry.js +1 -0
- package/dist/components/p-d15065c3.js +1 -0
- package/dist/components/p-d268c96b.entry.js +1 -0
- package/dist/components/p-d437bae2.entry.js +1 -0
- package/dist/components/p-d456e649.entry.js +1 -0
- package/dist/components/p-d962849c.js +1 -0
- package/dist/components/p-dae8f66a.entry.js +1 -0
- package/dist/components/p-e1255160.js +1 -0
- package/dist/components/p-e1791844.entry.js +1 -0
- package/dist/components/p-e2d5a487.js +1 -0
- package/dist/components/p-e82edd4a.entry.js +1 -0
- package/dist/components/p-e9f608a8.entry.js +1 -0
- package/dist/components/p-ea97a94e.entry.js +9 -0
- package/dist/components/p-eac593ee.entry.js +1 -0
- package/dist/components/p-ecbb679f.js +1 -0
- package/dist/components/p-ece618b3.js +1 -0
- package/dist/components/p-f26fd186.entry.js +1 -0
- package/dist/components/p-f2c23162.entry.js +1 -0
- package/dist/components/p-fc4edb18.entry.js +1 -0
- package/dist/components/p-fe1cba17.entry.js +1 -0
- package/dist/components/paper.js +15 -0
- package/dist/components/plus.js +12 -0
- package/dist/components/portal.js +18 -0
- package/dist/components/primary.js +65 -0
- package/dist/components/primary2.js +67 -0
- package/dist/components/private.js +25 -0
- package/dist/components/public.js +16 -0
- package/dist/components/search.js +12 -0
- package/dist/components/secondary.js +92 -0
- package/dist/components/secondary2.js +107 -0
- package/dist/components/star.js +5 -0
- package/dist/components/success.js +18 -0
- package/dist/components/support.js +94 -0
- package/dist/components/support2.js +85 -0
- package/dist/components/svg-repository.d.ts +11 -0
- package/dist/components/svg-repository.js +417 -0
- package/dist/components/thumbs-down.js +5 -0
- package/dist/components/thumbs-up.js +6 -0
- package/dist/components/token-list.d.ts +11 -0
- package/dist/components/token-list.js +6 -0
- package/dist/components/{token-list.entry.js → token-list2.js} +35 -7
- package/dist/components/token-radii.d.ts +11 -0
- package/dist/components/token-radii.js +6 -0
- package/dist/components/token-radii2.js +47 -0
- package/dist/components/token-ratios.d.ts +11 -0
- package/dist/components/token-ratios.js +54 -0
- package/dist/components/token-shadows.d.ts +11 -0
- package/dist/components/token-shadows.js +6 -0
- package/dist/components/token-shadows2.js +56 -0
- package/dist/components/token-spacing.d.ts +11 -0
- package/dist/components/token-spacing.js +29 -0
- package/dist/components/token-typography.d.ts +11 -0
- package/dist/components/token-typography.js +255 -0
- package/dist/components/tutotial.js +27 -0
- package/dist/components/twitter.js +14 -0
- package/dist/components/unknown.js +22 -0
- package/dist/components/up-and-down.js +12 -0
- package/dist/components/user.js +16 -0
- package/dist/components/youtube.js +14 -0
- package/dist/esm/analytics-d99780e3.js +56 -0
- package/dist/esm/arrow-diagonal-black-8f0494c3.js +3 -0
- package/dist/esm/arrow-right-9322ba8a.js +5 -0
- package/dist/esm/bluesky-cc5edd2d.js +14 -0
- package/dist/esm/bookmark-c200037c.js +16 -0
- package/dist/esm/chevron-down-6144c823.js +12 -0
- package/dist/esm/chevron-left-ca6c66e1.js +11 -0
- package/dist/esm/chevron-right-b88ed2d4.js +5 -0
- package/dist/esm/chevron-up-c66bd477.js +12 -0
- package/dist/esm/close-87fc0d63.js +5 -0
- package/dist/esm/color-primary-palette_6.entry.js +331 -0
- package/dist/{components → esm}/components-section.entry.js +23 -17
- package/dist/esm/components.js +20 -0
- package/dist/esm/copy-03b72cb6.js +5 -0
- package/dist/{components → esm}/correct-use-of-colors.entry.js +2 -2
- package/dist/{components → esm}/docs-palettes.entry.js +2 -2
- package/dist/{components → esm}/docs-tokens.entry.js +2 -2
- package/dist/{components → esm}/eds-accordion.entry.js +7 -6
- package/dist/esm/eds-alert.entry.js +100 -0
- package/dist/{components → esm}/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-avatar_34.entry.js +2694 -0
- package/dist/esm/eds-card-project.entry.js +192 -0
- package/dist/{components → esm}/eds-card-section.entry.js +4 -3
- package/dist/{components → esm}/eds-card-tags.entry.js +4 -3
- package/dist/{components → esm}/eds-card-tool.entry.js +5 -4
- package/dist/{components → esm}/eds-code-block.entry.js +5 -35
- package/dist/{components → esm}/eds-cookies-preference.entry.js +4 -3
- package/dist/{components → esm}/eds-feedback.entry.js +10 -4
- package/dist/{components → esm}/eds-frame.entry.js +5 -4
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +14 -0
- package/dist/esm/eds-icon-arrow-right.entry.js +14 -0
- package/dist/esm/eds-icon-bluesky.entry.js +14 -0
- package/dist/esm/eds-icon-bookmark.entry.js +14 -0
- package/dist/esm/eds-icon-chevron-down.entry.js +14 -0
- package/dist/esm/eds-icon-chevron-left.entry.js +14 -0
- package/dist/esm/eds-icon-chevron-right.entry.js +14 -0
- package/dist/esm/eds-icon-chevron-up.entry.js +14 -0
- package/dist/esm/eds-icon-close.entry.js +14 -0
- package/dist/esm/eds-icon-copy.entry.js +14 -0
- package/dist/esm/eds-icon-eu.entry.js +14 -0
- package/dist/esm/eds-icon-external.entry.js +14 -0
- package/dist/esm/eds-icon-facebook.entry.js +14 -0
- package/dist/esm/eds-icon-gitlab.entry.js +14 -0
- package/dist/esm/eds-icon-linkedin.entry.js +14 -0
- package/dist/esm/eds-icon-loader.entry.js +14 -0
- package/dist/esm/eds-icon-mastodon.entry.js +14 -0
- package/dist/esm/eds-icon-menu.entry.js +14 -0
- package/dist/esm/eds-icon-minus.entry.js +14 -0
- package/dist/esm/eds-icon-more.entry.js +14 -0
- package/dist/esm/eds-icon-paper.entry.js +14 -0
- package/dist/esm/eds-icon-plus.entry.js +14 -0
- package/dist/esm/eds-icon-portal.entry.js +14 -0
- package/dist/esm/eds-icon-private.entry.js +14 -0
- package/dist/esm/eds-icon-public.entry.js +14 -0
- package/dist/esm/eds-icon-search.entry.js +14 -0
- package/dist/esm/eds-icon-star.entry.js +14 -0
- package/dist/esm/eds-icon-success.entry.js +14 -0
- package/dist/esm/eds-icon-thumbs-down.entry.js +14 -0
- package/dist/esm/eds-icon-thumbs-up.entry.js +14 -0
- package/dist/esm/eds-icon-tutorial.entry.js +14 -0
- package/dist/esm/eds-icon-twitter.entry.js +14 -0
- package/dist/esm/eds-icon-unknown.entry.js +14 -0
- package/dist/esm/eds-icon-updown.entry.js +14 -0
- package/dist/esm/eds-icon-user.entry.js +14 -0
- package/dist/esm/eds-icon-youtube.entry.js +14 -0
- package/dist/{components → esm}/eds-matomo-notice.entry.js +12 -9
- package/dist/esm/eds-pagination_2.entry.js +398 -0
- package/dist/esm/eds-progress-bar.entry.js +52 -0
- package/dist/{components → esm}/eds-rating.entry.js +4 -3
- package/dist/{components/eds-section-heading.entry.js → esm/eds-section-core_2.entry.js} +21 -4
- package/dist/{components → esm}/eds-spinner.entry.js +4 -3
- package/dist/{components → esm}/eds-splash-screen.entry.js +3 -2
- package/dist/esm/eds-switch.entry.js +42 -0
- package/dist/esm/eds-timeline.entry.js +59 -0
- package/dist/{components → esm}/eds-toast-manager.entry.js +34 -4
- package/dist/{components → esm}/eds-toast.entry.js +8 -6
- package/dist/{components → esm}/eds-trl.entry.js +2 -2
- package/dist/esm/eu-9ddde93a.js +30 -0
- package/dist/esm/facebook-9cb5c17f.js +14 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +46 -0
- package/dist/esm/index-39c58238.js +46 -0
- package/dist/esm/index-fdb33359.js +1912 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/linkedin-e8650abb.js +28 -0
- package/dist/esm/loader-c9628637.js +30 -0
- package/dist/esm/loader.js +11 -0
- package/dist/esm/logo-color-7f1fd803.js +115 -0
- package/dist/esm/logo-color-margins-ff8ce71b.js +118 -0
- package/dist/{components → esm}/logo-space.entry.js +5 -4
- package/dist/esm/logo-variations-horizontal_2.entry.js +31 -0
- package/dist/{components → esm}/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-white-no-bg-f382f86f.js +1029 -0
- package/dist/{components → esm}/logo-wrong-usage.entry.js +5 -4
- package/dist/esm/mastodon-3703ec61.js +14 -0
- package/dist/esm/menu-340ea948.js +11 -0
- package/dist/esm/minus-b30a7c71.js +11 -0
- package/dist/esm/mono-53f70232.js +11 -0
- package/dist/esm/more-4449d549.js +13 -0
- package/dist/esm/paper-8e74ea31.js +15 -0
- package/dist/esm/plus-89c07be2.js +12 -0
- package/dist/esm/portal-d6c8ce56.js +18 -0
- package/dist/esm/private-1c25ff8e.js +25 -0
- package/dist/esm/public-d4d8c585.js +16 -0
- package/dist/esm/search-fbcd79c2.js +12 -0
- package/dist/esm/sharedUtils-a550989c.js +19 -0
- package/dist/esm/star-0da9b5e9.js +5 -0
- package/dist/esm/success-443809da.js +18 -0
- package/dist/esm/svg-repository.entry.js +333 -0
- package/dist/esm/thumbs-down-a18fd049.js +5 -0
- package/dist/esm/thumbs-up-c19a71bc.js +6 -0
- package/dist/esm/token-list_3.entry.js +294 -0
- package/dist/{components → esm}/token-ratios.entry.js +2 -2
- package/dist/{components → esm}/token-typography.entry.js +2 -2
- package/dist/esm/tutotial-150ee1fd.js +27 -0
- package/dist/esm/twitter-ac21b505.js +14 -0
- package/dist/esm/unknown-ed01a24c.js +22 -0
- package/dist/esm/up-and-down-d747abee.js +12 -0
- package/dist/esm/user-71ebdc15.js +16 -0
- package/dist/esm/youtube-efbfbdc4.js +14 -0
- package/dist/hydrate/index.d.ts +242 -0
- package/dist/hydrate/index.js +30683 -0
- package/dist/hydrate/index.mjs +30675 -0
- package/dist/hydrate/package.json +12 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/stencil.config.js +75 -0
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +3 -4
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +2 -1
- package/dist/types/components/eds-block-break/eds-block-break.d.ts +2 -7
- package/dist/types/components/eds-button/eds-button.d.ts +0 -1
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +0 -5
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.d.ts +14 -0
- package/dist/types/components/eds-charts/eds-gauge/eds-gauge.stories.d.ts +52 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.d.ts +28 -0
- package/dist/types/components/eds-charts/eds-pie/eds-pie.stories.d.ts +60 -0
- package/dist/types/components/eds-input-elements/eds-input-select/eds-input-select.d.ts +18 -116
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +6 -0
- package/dist/types/components/eds-modal/eds-modal.d.ts +12 -12
- package/dist/types/components/eds-modal/eds-modal.stories.d.ts +17 -0
- package/dist/types/components/eds-progress-bar/eds-progress-bar.d.ts +3 -3
- package/dist/types/components/eds-progress-bar/eds-progress-bar.stories.d.ts +3 -0
- package/dist/types/components/eds-section/eds-section-core/eds-section-core.d.ts +3 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +2 -1
- package/dist/types/components/eds-table/eds-table.stories.d.ts +0 -8
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +3 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +3 -2
- package/dist/types/components/eds-tooltip/eds-tooltip.d.ts +2 -36
- package/dist/types/components.d.ts +226 -256
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +4 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +8 -4
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +10 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +10 -0
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -1
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +6 -25
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +6 -3
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +0 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -5
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +48 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +0 -1
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/loader/package.json +11 -0
- package/package.json +14 -4
- package/dist/components/eds-alert.entry.js +0 -99
- package/dist/components/eds-avatar.entry.js +0 -76
- package/dist/components/eds-block-break.entry.js +0 -16
- package/dist/components/eds-button.entry.js +0 -228
- package/dist/components/eds-card-desc.entry.js +0 -22
- package/dist/components/eds-card-project.entry.js +0 -64
- package/dist/components/eds-card-wrapper.entry.js +0 -28
- package/dist/components/eds-footer.entry.js +0 -42
- package/dist/components/eds-header.entry.js +0 -76
- 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-bookmark.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-external.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-minus.entry.js +0 -14
- package/dist/components/eds-icon-more.entry.js +0 -14
- package/dist/components/eds-icon-paper.entry.js +0 -14
- package/dist/components/eds-icon-plus.entry.js +0 -14
- package/dist/components/eds-icon-portal.entry.js +0 -14
- package/dist/components/eds-icon-private.entry.js +0 -14
- package/dist/components/eds-icon-public.entry.js +0 -14
- package/dist/components/eds-icon-search.entry.js +0 -14
- package/dist/components/eds-icon-star.entry.js +0 -14
- package/dist/components/eds-icon-success.entry.js +0 -14
- package/dist/components/eds-icon-thumbs-down.entry.js +0 -14
- package/dist/components/eds-icon-thumbs-up.entry.js +0 -14
- package/dist/components/eds-icon-tutorial.entry.js +0 -14
- package/dist/components/eds-icon-twitter.entry.js +0 -14
- package/dist/components/eds-icon-unknown.entry.js +0 -14
- package/dist/components/eds-icon-updown.entry.js +0 -14
- package/dist/components/eds-icon-user.entry.js +0 -14
- package/dist/components/eds-icon-youtube.entry.js +0 -14
- 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-select.entry.js +0 -97
- package/dist/components/eds-link.entry.js +0 -217
- package/dist/components/eds-login.entry.js +0 -2052
- package/dist/components/eds-modal.entry.js +0 -104
- package/dist/components/eds-progress-bar.entry.js +0 -24
- package/dist/components/eds-section-core.entry.js +0 -19
- package/dist/components/eds-steps-v2.entry.js +0 -91
- package/dist/components/eds-switch.entry.js +0 -33
- package/dist/components/eds-tabs.entry.js +0 -125
- package/dist/components/eds-tag.entry.js +0 -44
- package/dist/components/eds-timeline.entry.js +0 -58
- package/dist/components/eds-tooltip.entry.js +0 -104
- package/dist/components/eds-user.entry.js +0 -40
- 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-9d277061.js +0 -3023
- package/dist/components/shadow-css-423dab2c.js +0 -332
- package/dist/components/token-shadows.entry.js +0 -30
- package/dist/components/token-spacing.entry.js +0 -12
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.d.ts +0 -23
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +0 -67
- package/dist/types/shared-ui/eds-login/eds-login.stories.d.ts +0 -33
- /package/dist/components/{index-144c9ae8.js → index2.js} +0 -0
- /package/dist/components/{sharedUtils-6a231dd4.js → sharedUtils.js} +0 -0
- /package/dist/{components → esm}/app-globals-0f993ce5.js +0 -0
- /package/dist/types/components/eds-section/eds-section-core/{eds-section-core.stories.d.ts → eds-section-core.donotstories.d.ts} +0 -0
- /package/dist/types/components/eds-timeline/{eds-timeline.stories.d.ts → eds-timeline.donot-stories.d.ts} +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.d.ts +0 -0
- /package/dist/types/{components → shared-ui}/eds-steps/eds-steps.stories.d.ts +0 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
.f-ui-01 {
|
|
2
|
+
font-family: var(--f-ui-01-fontFamily);
|
|
3
|
+
font-weight: var(--f-ui-01-fontWeight);
|
|
4
|
+
font-size: var(--f-ui-01-fontSize);
|
|
5
|
+
line-height: var(--f-ui-01-lineHeight);
|
|
6
|
+
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.f-ui-03 {
|
|
10
|
+
font-family: var(--f-ui-03-fontFamily);
|
|
11
|
+
font-weight: var(--f-ui-03-fontWeight);
|
|
12
|
+
font-size: var(--f-ui-03-fontSize);
|
|
13
|
+
line-height: var(--f-ui-03-lineHeight);
|
|
14
|
+
letter-spacing: var(--f-ui-03-letterSpacing);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.f-ui-05 {
|
|
18
|
+
font-family: var(--f-ui-05-fontFamily);
|
|
19
|
+
font-weight: var(--f-ui-05-fontWeight);
|
|
20
|
+
font-size: var(--f-ui-05-fontSize);
|
|
21
|
+
line-height: var(--f-ui-05-lineHeight);
|
|
22
|
+
letter-spacing: var(--f-ui-05-letterSpacing);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.py-2 {
|
|
26
|
+
padding-top: 0.125rem;
|
|
27
|
+
padding-bottom: 0.125rem;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.py-3 {
|
|
31
|
+
padding-top: 0.1875rem;
|
|
32
|
+
padding-bottom: 0.1875rem;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.py-4 {
|
|
36
|
+
padding-top: 0.25rem;
|
|
37
|
+
padding-bottom: 0.25rem;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.px-4 {
|
|
41
|
+
padding-left: 0.25rem;
|
|
42
|
+
padding-right: 0.25rem;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.px-5 {
|
|
46
|
+
padding-left: 0.3125rem;
|
|
47
|
+
padding-right: 0.3125rem;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.px-6 {
|
|
51
|
+
padding-left: 0.375rem;
|
|
52
|
+
padding-right: 0.375rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.border-2 {
|
|
56
|
+
border-width: 2px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.rounded-pill {
|
|
60
|
+
border-radius: 100px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.border-default {
|
|
64
|
+
border: 2px solid var(--black);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.text-inverse {
|
|
68
|
+
color: var(--white);
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.bg-accent {
|
|
72
|
+
background-color: var(--green-500);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.bg-strongest {
|
|
76
|
+
background-color: var(--black);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.text-\[\#0034CB\] {
|
|
80
|
+
--tw-text-opacity: 1;
|
|
81
|
+
color: rgb(0 52 203 / var(--tw-text-opacity));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.border-\[\#0034CB\] {
|
|
85
|
+
--tw-border-opacity: 1;
|
|
86
|
+
border: 2px solid rgb(0 52 203 / var(--tw-border-opacity));
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.text-light {
|
|
90
|
+
color: var(--grey-700);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.bg-strongest-soft {
|
|
94
|
+
background-color: rgba(0, 0, 0, .05);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.border-transparent {
|
|
98
|
+
border-color: var(--transparent);
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.border-inverse {
|
|
102
|
+
border-color: var(--white);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.bg-inverse {
|
|
106
|
+
background-color: var(--white);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.text-lighter {
|
|
110
|
+
color: var(--grey-600);
|
|
111
|
+
}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
// Define the CVA for the tag styles
|
|
4
|
+
const tagStyles = cva(['border-2 rounded-pill'], // Base classes
|
|
5
|
+
{
|
|
6
|
+
variants: {
|
|
7
|
+
intent: {
|
|
8
|
+
primary: 'border-accent bg-accent',
|
|
9
|
+
default: 'border-default',
|
|
10
|
+
strong: 'text-inverse bg-strongest border-default',
|
|
11
|
+
accent: 'text-[#0034CB] border-[#0034CB]',
|
|
12
|
+
weak: 'text-light bg-strongest-soft border-transparent',
|
|
13
|
+
inverse: 'border-inverse text-inverse',
|
|
14
|
+
'inverse-strong': 'bg-inverse border-inverse text-lighter'
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
small: 'f-ui-05 py-2 px-4', // smaller padding
|
|
18
|
+
medium: 'f-ui-03 py-3 px-5', // moderate padding
|
|
19
|
+
large: 'f-ui-01 py-4 px-6' // larger padding
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
defaultVariants: {
|
|
23
|
+
intent: 'default',
|
|
24
|
+
size: 'small'
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
/**
|
|
28
|
+
* `EdsTag` is a stylized label component designed to display short, categorical information.
|
|
29
|
+
* It supports multiple visual styles defined by the `intent` prop and three sizes.
|
|
30
|
+
*/
|
|
31
|
+
export class EdsTag {
|
|
32
|
+
constructor() {
|
|
33
|
+
this.label = undefined;
|
|
34
|
+
this.intent = 'default';
|
|
35
|
+
this.size = 'small';
|
|
36
|
+
}
|
|
37
|
+
render() {
|
|
38
|
+
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
39
|
+
return h("span", { key: '78ef2d9ed4fc79f078df2fe418c339fc8934eef2', class: classes }, this.label);
|
|
40
|
+
}
|
|
41
|
+
static get is() { return "eds-tag"; }
|
|
42
|
+
static get encapsulation() { return "shadow"; }
|
|
43
|
+
static get originalStyleUrls() {
|
|
44
|
+
return {
|
|
45
|
+
"$": ["eds-tag.css"]
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
static get styleUrls() {
|
|
49
|
+
return {
|
|
50
|
+
"$": ["eds-tag.css"]
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
static get properties() {
|
|
54
|
+
return {
|
|
55
|
+
"label": {
|
|
56
|
+
"type": "string",
|
|
57
|
+
"mutable": false,
|
|
58
|
+
"complexType": {
|
|
59
|
+
"original": "string",
|
|
60
|
+
"resolved": "string",
|
|
61
|
+
"references": {}
|
|
62
|
+
},
|
|
63
|
+
"required": true,
|
|
64
|
+
"optional": false,
|
|
65
|
+
"docs": {
|
|
66
|
+
"tags": [],
|
|
67
|
+
"text": "The label to be displayed inside the tag."
|
|
68
|
+
},
|
|
69
|
+
"attribute": "label",
|
|
70
|
+
"reflect": false
|
|
71
|
+
},
|
|
72
|
+
"intent": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"mutable": false,
|
|
75
|
+
"complexType": {
|
|
76
|
+
"original": "'default' | 'strong' | 'accent' | 'weak' | 'inverse' | 'inverse-strong'",
|
|
77
|
+
"resolved": "\"accent\" | \"default\" | \"inverse\" | \"inverse-strong\" | \"strong\" | \"weak\"",
|
|
78
|
+
"references": {}
|
|
79
|
+
},
|
|
80
|
+
"required": false,
|
|
81
|
+
"optional": false,
|
|
82
|
+
"docs": {
|
|
83
|
+
"tags": [],
|
|
84
|
+
"text": "The visual style or intent of the tag."
|
|
85
|
+
},
|
|
86
|
+
"attribute": "intent",
|
|
87
|
+
"reflect": false,
|
|
88
|
+
"defaultValue": "'default'"
|
|
89
|
+
},
|
|
90
|
+
"size": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"mutable": false,
|
|
93
|
+
"complexType": {
|
|
94
|
+
"original": "'small' | 'medium' | 'large'",
|
|
95
|
+
"resolved": "\"large\" | \"medium\" | \"small\"",
|
|
96
|
+
"references": {}
|
|
97
|
+
},
|
|
98
|
+
"required": false,
|
|
99
|
+
"optional": false,
|
|
100
|
+
"docs": {
|
|
101
|
+
"tags": [],
|
|
102
|
+
"text": "The size of the tag: small, medium, or large."
|
|
103
|
+
},
|
|
104
|
+
"attribute": "size",
|
|
105
|
+
"reflect": false,
|
|
106
|
+
"defaultValue": "'small'"
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Components/Tag',
|
|
3
|
+
component: 'eds-tag',
|
|
4
|
+
argTypes: {
|
|
5
|
+
label: {
|
|
6
|
+
control: 'text',
|
|
7
|
+
description: 'The label text for the tag'
|
|
8
|
+
},
|
|
9
|
+
intent: {
|
|
10
|
+
control: 'select',
|
|
11
|
+
options: ['primary', 'default', 'strong', 'accent', 'weak', 'inverse', 'inverse-strong'],
|
|
12
|
+
description: 'The visual intent style for the tag'
|
|
13
|
+
},
|
|
14
|
+
size: {
|
|
15
|
+
control: 'select',
|
|
16
|
+
options: ['small', 'medium', 'large'],
|
|
17
|
+
description: 'The size of the tag: small (f-ui-05), medium (f-ui-03), or large (f-ui-01)'
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
args: {
|
|
21
|
+
label: 'Default Tag',
|
|
22
|
+
intent: 'default',
|
|
23
|
+
size: 'small'
|
|
24
|
+
},
|
|
25
|
+
parameters: {}
|
|
26
|
+
};
|
|
27
|
+
export const Default = {
|
|
28
|
+
render: (args) => `<eds-tag label="${args.label}" intent="${args.intent}" size="${args.size}"></eds-tag>`,
|
|
29
|
+
args: {
|
|
30
|
+
label: 'Default Tag',
|
|
31
|
+
intent: 'default',
|
|
32
|
+
size: 'small'
|
|
33
|
+
}
|
|
34
|
+
};
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
.max-w-sidebar {
|
|
2
|
+
max-width: 1224px;
|
|
3
|
+
}
|
|
4
|
+
.mx-auto {
|
|
5
|
+
margin-left: auto;
|
|
6
|
+
margin-right: auto;
|
|
7
|
+
}
|
|
8
|
+
.px-4 {
|
|
9
|
+
padding-left: 0.25rem;
|
|
10
|
+
padding-right: 0.25rem;
|
|
11
|
+
}
|
|
12
|
+
.py-8 {
|
|
13
|
+
padding-top: 0.5rem;
|
|
14
|
+
padding-bottom: 0.5rem;
|
|
15
|
+
}
|
|
16
|
+
.relative {
|
|
17
|
+
position: relative;
|
|
18
|
+
}
|
|
19
|
+
.absolute {
|
|
20
|
+
position: absolute;
|
|
21
|
+
}
|
|
22
|
+
.flex {
|
|
23
|
+
display: flex;
|
|
24
|
+
}
|
|
25
|
+
.w-4 {
|
|
26
|
+
width: 0.25rem;
|
|
27
|
+
}
|
|
28
|
+
.pr-4 {
|
|
29
|
+
padding-right: 0.25rem;
|
|
30
|
+
}
|
|
31
|
+
.pl-4 {
|
|
32
|
+
padding-left: 0.25rem;
|
|
33
|
+
}
|
|
34
|
+
.w-1\/2 {
|
|
35
|
+
width: 50%;
|
|
36
|
+
}
|
|
37
|
+
.left-1\/2 {
|
|
38
|
+
left: 50%;
|
|
39
|
+
}
|
|
40
|
+
.transform {
|
|
41
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
42
|
+
}
|
|
43
|
+
.-translate-x-1\/2 {
|
|
44
|
+
--tw-translate-x: -50%;
|
|
45
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
46
|
+
}
|
|
47
|
+
.bg-strong {
|
|
48
|
+
background-color: var(--grey-700);
|
|
49
|
+
}
|
|
50
|
+
.h-full {
|
|
51
|
+
height: 100%;
|
|
52
|
+
}
|
|
53
|
+
.z-0 {
|
|
54
|
+
z-index: 0;
|
|
55
|
+
}
|
|
56
|
+
.space-y-16 > :not([hidden]) ~ :not([hidden]) {
|
|
57
|
+
--tw-space-y-reverse: 0;
|
|
58
|
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
|
59
|
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
|
60
|
+
}
|
|
61
|
+
.items-center {
|
|
62
|
+
align-items: center;
|
|
63
|
+
}
|
|
64
|
+
.justify-center {
|
|
65
|
+
justify-content: center;
|
|
66
|
+
}
|
|
67
|
+
.w-32 {
|
|
68
|
+
width: 2rem;
|
|
69
|
+
}
|
|
70
|
+
.h-32 {
|
|
71
|
+
height: 2rem;
|
|
72
|
+
}
|
|
73
|
+
.bg-accent {
|
|
74
|
+
background-color: var(--green-500);
|
|
75
|
+
}
|
|
76
|
+
.rounded-full {
|
|
77
|
+
border-radius: 9999px;
|
|
78
|
+
}
|
|
79
|
+
.shadow {
|
|
80
|
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
81
|
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
|
82
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
83
|
+
}
|
|
84
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
title: 'Components/Timeline',
|
|
3
|
+
component: 'eds-timeline',
|
|
4
|
+
argTypes: {
|
|
5
|
+
events: {
|
|
6
|
+
control: 'object',
|
|
7
|
+
description: 'List of timeline events as a JSON array'
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
export const Default = {
|
|
12
|
+
render: (args) => `
|
|
13
|
+
<eds-timeline events='${JSON.stringify(args.events)}'></eds-timeline>
|
|
14
|
+
`,
|
|
15
|
+
args: {
|
|
16
|
+
events: [
|
|
17
|
+
{
|
|
18
|
+
id: '1',
|
|
19
|
+
title: 'TRL 1',
|
|
20
|
+
category: '#1',
|
|
21
|
+
description: 'Basic research is complete, principles are documented.',
|
|
22
|
+
fullDescription: 'Initial scientific research umented.',
|
|
23
|
+
completed: true
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: '2',
|
|
27
|
+
title: 'TRL 2',
|
|
28
|
+
category: '#2',
|
|
29
|
+
description: 'The technology concept and/or application is formulated.',
|
|
30
|
+
fullDescription: 'The initial concept and potential applications of the technology have been outlined.',
|
|
31
|
+
completed: false
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
35
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { parseData } from "../../utils/sharedUtils";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export class EdsTimeline {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.events = undefined;
|
|
9
|
+
this.selectedEvent = null;
|
|
10
|
+
this.parsedEvents = [];
|
|
11
|
+
}
|
|
12
|
+
parseEvents(newValue) {
|
|
13
|
+
const parsed = parseData(newValue);
|
|
14
|
+
// Map over the parsed events to ensure boolean conversion for "completed"
|
|
15
|
+
this.parsedEvents = Array.isArray(parsed)
|
|
16
|
+
? parsed.map((event) => (Object.assign(Object.assign({}, event), { completed: event.completed === 'true' || event.completed === true })))
|
|
17
|
+
: [];
|
|
18
|
+
}
|
|
19
|
+
componentWillLoad() {
|
|
20
|
+
this.parseEvents(this.events);
|
|
21
|
+
}
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
const cards = this.el.querySelectorAll('eds-card-generic');
|
|
24
|
+
cards.forEach((card) => {
|
|
25
|
+
this.emitContext(card);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
emitContext(cardElement) {
|
|
29
|
+
const event = new CustomEvent('parentContext', {
|
|
30
|
+
detail: {
|
|
31
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
32
|
+
identifier: null
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
cardElement.dispatchEvent(event);
|
|
36
|
+
}
|
|
37
|
+
handleEventClick(event) {
|
|
38
|
+
this.selectedEvent = event;
|
|
39
|
+
if (this.modalRef && typeof this.modalRef.open === 'function') {
|
|
40
|
+
this.modalRef.open();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
render() {
|
|
44
|
+
return (h("div", { key: '63ce0ce7e3a632906f664011243abf9f816bc53a', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '794d16f6b68d87bb1fb4665cc5ef84b381fb55ea', class: "relative" }, h("div", { key: '2b82b5594a9ed5c056898725f40e56858282412a', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: '6d33b71396649e7b90d050c0858912fa49c309a7', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
45
|
+
? [{ label: 'completed', style: 'accent' }]
|
|
46
|
+
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), h("div", { class: "flex items-center justify-center relative" }, event.completed ? (h("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (h("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), h("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
47
|
+
? [{ label: 'completed', style: 'accent' }]
|
|
48
|
+
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))))))))));
|
|
49
|
+
}
|
|
50
|
+
static get is() { return "eds-timeline"; }
|
|
51
|
+
static get encapsulation() { return "shadow"; }
|
|
52
|
+
static get originalStyleUrls() {
|
|
53
|
+
return {
|
|
54
|
+
"$": ["eds-timeline.css"]
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
static get styleUrls() {
|
|
58
|
+
return {
|
|
59
|
+
"$": ["eds-timeline.css"]
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
static get properties() {
|
|
63
|
+
return {
|
|
64
|
+
"events": {
|
|
65
|
+
"type": "string",
|
|
66
|
+
"mutable": false,
|
|
67
|
+
"complexType": {
|
|
68
|
+
"original": "string | any[]",
|
|
69
|
+
"resolved": "any[] | string",
|
|
70
|
+
"references": {}
|
|
71
|
+
},
|
|
72
|
+
"required": false,
|
|
73
|
+
"optional": false,
|
|
74
|
+
"docs": {
|
|
75
|
+
"tags": [],
|
|
76
|
+
"text": "Accepts a JSON string or object of timeline events."
|
|
77
|
+
},
|
|
78
|
+
"attribute": "events",
|
|
79
|
+
"reflect": false
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
static get states() {
|
|
84
|
+
return {
|
|
85
|
+
"selectedEvent": {},
|
|
86
|
+
"parsedEvents": {}
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
static get elementRef() { return "el"; }
|
|
90
|
+
static get watchers() {
|
|
91
|
+
return [{
|
|
92
|
+
"propName": "events",
|
|
93
|
+
"methodName": "parseEvents"
|
|
94
|
+
}];
|
|
95
|
+
}
|
|
96
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.relative {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.right-4 {
|
|
6
|
+
right: 0.25rem;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.bottom-4 {
|
|
10
|
+
bottom: 0.25rem;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.w-auto {
|
|
14
|
+
width: auto;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.flex {
|
|
18
|
+
display: flex;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.items-center {
|
|
22
|
+
align-items: center;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.justify-center {
|
|
26
|
+
justify-content: center;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.justify-between {
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.gap-4 {
|
|
34
|
+
gap: 0.25rem;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.f-ui-01 {
|
|
38
|
+
font-family: var(--f-ui-01-fontFamily);
|
|
39
|
+
font-weight: var(--f-ui-01-fontWeight);
|
|
40
|
+
font-size: var(--f-ui-01-fontSize);
|
|
41
|
+
line-height: var(--f-ui-01-lineHeight);
|
|
42
|
+
letter-spacing: var(--f-ui-01-letterSpacing);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ml-8 {
|
|
46
|
+
margin-left: 0.5rem;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.p-12 {
|
|
50
|
+
padding: 0.75rem;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.rounded-lg {
|
|
54
|
+
border-radius: 16px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.shadow-md {
|
|
58
|
+
--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
59
|
+
--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color),
|
|
60
|
+
0 2px 4px -2px var(--tw-shadow-color);
|
|
61
|
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000),
|
|
62
|
+
var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.bg-dark {
|
|
66
|
+
background-color: var(--grey-300);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.bg-success {
|
|
70
|
+
background-color: var(--green-200);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.bg-error {
|
|
74
|
+
background-color: var(--red-200);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.bg-warning {
|
|
78
|
+
background-color: var(--yellow-200);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.text-light {
|
|
82
|
+
color: var(--grey-700);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.text-current {
|
|
86
|
+
color: currentColor;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.text-default {
|
|
90
|
+
color: var(--black);
|
|
91
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
|
+
import { cva } from "class-variance-authority";
|
|
3
|
+
const toastStyles = cva(['relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md'], {
|
|
4
|
+
variants: {
|
|
5
|
+
intent: {
|
|
6
|
+
default: 'bg-dark text-light',
|
|
7
|
+
success: 'bg-success text-dark',
|
|
8
|
+
error: 'bg-error text-light',
|
|
9
|
+
warning: 'bg-warning text-dark'
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
defaultVariants: {
|
|
13
|
+
intent: 'default'
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
export class EdsToast {
|
|
17
|
+
constructor() {
|
|
18
|
+
/**
|
|
19
|
+
* Dismisses the toast.
|
|
20
|
+
*/
|
|
21
|
+
this.dismissToast = () => {
|
|
22
|
+
this.visible = false;
|
|
23
|
+
};
|
|
24
|
+
this.message = undefined;
|
|
25
|
+
this.intent = 'default';
|
|
26
|
+
this.duration = undefined;
|
|
27
|
+
this.visible = true;
|
|
28
|
+
}
|
|
29
|
+
componentDidLoad() {
|
|
30
|
+
const btn = this.el.shadowRoot.querySelector('eds-button');
|
|
31
|
+
this.emitContext(btn);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Emits a custom event called `parentContext` for a given button element.
|
|
35
|
+
* This event provides context information about the toast component.
|
|
36
|
+
*
|
|
37
|
+
* @param btnElement - The link element to which the event will be dispatched.
|
|
38
|
+
*/
|
|
39
|
+
emitContext(btnElement) {
|
|
40
|
+
const event = new CustomEvent('parentContext', {
|
|
41
|
+
detail: {
|
|
42
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
43
|
+
identifier: null
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
btnElement.dispatchEvent(event);
|
|
47
|
+
}
|
|
48
|
+
connectedCallback() {
|
|
49
|
+
if (this.duration && this.duration > 0) {
|
|
50
|
+
this.dismissTimeout = setTimeout(this.dismissToast, this.duration);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
disconnectedCallback() {
|
|
54
|
+
// Clear the timeout when the component is removed
|
|
55
|
+
clearTimeout(this.dismissTimeout);
|
|
56
|
+
}
|
|
57
|
+
render() {
|
|
58
|
+
if (!this.visible) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
const classes = toastStyles({ intent: this.intent });
|
|
62
|
+
return (h("div", { class: classes, role: "alert", "aria-live": "assertive" }, h("div", { class: "flex items-center justify-between gap-4" }, h("span", { class: "f-ui-01" }, this.message), h("eds-button", { intent: "tertiary", icon: "close", "aria-label": "Close Toast", onClick: () => this.dismissToast(), "extra-class": "ml-8" }))));
|
|
63
|
+
}
|
|
64
|
+
static get is() { return "eds-toast"; }
|
|
65
|
+
static get encapsulation() { return "shadow"; }
|
|
66
|
+
static get originalStyleUrls() {
|
|
67
|
+
return {
|
|
68
|
+
"$": ["eds-toast.css"]
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
static get styleUrls() {
|
|
72
|
+
return {
|
|
73
|
+
"$": ["eds-toast.css"]
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static get properties() {
|
|
77
|
+
return {
|
|
78
|
+
"message": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"mutable": false,
|
|
81
|
+
"complexType": {
|
|
82
|
+
"original": "string",
|
|
83
|
+
"resolved": "string",
|
|
84
|
+
"references": {}
|
|
85
|
+
},
|
|
86
|
+
"required": true,
|
|
87
|
+
"optional": false,
|
|
88
|
+
"docs": {
|
|
89
|
+
"tags": [],
|
|
90
|
+
"text": "The main message or text to be displayed in the toast."
|
|
91
|
+
},
|
|
92
|
+
"attribute": "message",
|
|
93
|
+
"reflect": false
|
|
94
|
+
},
|
|
95
|
+
"intent": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"mutable": false,
|
|
98
|
+
"complexType": {
|
|
99
|
+
"original": "'default' | 'success' | 'error' | 'warning'",
|
|
100
|
+
"resolved": "\"default\" | \"error\" | \"success\" | \"warning\"",
|
|
101
|
+
"references": {}
|
|
102
|
+
},
|
|
103
|
+
"required": false,
|
|
104
|
+
"optional": false,
|
|
105
|
+
"docs": {
|
|
106
|
+
"tags": [],
|
|
107
|
+
"text": "The visual intent or style of the toast, indicating the toast type."
|
|
108
|
+
},
|
|
109
|
+
"attribute": "intent",
|
|
110
|
+
"reflect": false,
|
|
111
|
+
"defaultValue": "'default'"
|
|
112
|
+
},
|
|
113
|
+
"duration": {
|
|
114
|
+
"type": "number",
|
|
115
|
+
"mutable": false,
|
|
116
|
+
"complexType": {
|
|
117
|
+
"original": "number",
|
|
118
|
+
"resolved": "number",
|
|
119
|
+
"references": {}
|
|
120
|
+
},
|
|
121
|
+
"required": false,
|
|
122
|
+
"optional": true,
|
|
123
|
+
"docs": {
|
|
124
|
+
"tags": [],
|
|
125
|
+
"text": "Determines the duration before the toast auto-dismisses (in milliseconds).\nIf set, the toast will auto-dismiss and show a close button.\nIf not set (or set to 0), it will persist without a close button."
|
|
126
|
+
},
|
|
127
|
+
"attribute": "duration",
|
|
128
|
+
"reflect": false
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
}
|
|
132
|
+
static get states() {
|
|
133
|
+
return {
|
|
134
|
+
"visible": {}
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
static get elementRef() { return "el"; }
|
|
138
|
+
}
|