@ebrains/components 0.9.2-beta → 0.9.3-beta
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/analytics-d8fb3fdd.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-c00146a8.js +134 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +340 -0
- package/dist/cjs/components-section.cjs.entry.js +139 -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_27.cjs.entry.js +2404 -0
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +78 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +92 -0
- package/dist/cjs/eds-card-project.cjs.entry.js +68 -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-card-wrapper.cjs.entry.js +32 -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 +66 -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-login_2.cjs.entry.js +2100 -0
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +123 -0
- package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +29 -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-switch.cjs.entry.js +38 -0
- package/dist/cjs/eds-tabs.cjs.entry.js +130 -0
- package/dist/cjs/eds-timeline.cjs.entry.js +63 -0
- package/dist/cjs/eds-toast-manager.cjs.entry.js +46 -0
- package/dist/cjs/eds-toast.cjs.entry.js +76 -0
- package/dist/cjs/eds-tooltip.cjs.entry.js +109 -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-2f63169d.js +2223 -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/toastManager-4e9535f3.js +33 -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 +264 -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 +739 -0
- package/dist/collection/components/eds-alert/eds-alert.js +230 -0
- package/dist/collection/components/eds-alert/eds-alert.stories.js +60 -0
- package/dist/collection/components/eds-avatar/eds-avatar.css +187 -0
- package/dist/collection/components/eds-avatar/eds-avatar.js +183 -0
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +40 -0
- package/dist/collection/components/eds-block-break/eds-block-break.css +49 -0
- package/dist/collection/components/eds-block-break/eds-block-break.js +51 -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 +8904 -0
- package/dist/collection/components/eds-button/eds-button.js +487 -0
- package/dist/collection/components/eds-button/eds-button.stories.js +47 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +41 -0
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +113 -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-composer/eds-card-wrapper/eds-card-wrapper.js +86 -0
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +139 -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-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 +343 -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 +451 -0
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +206 -0
- package/dist/collection/components/eds-link/eds-link.css +7101 -0
- package/dist/collection/components/eds-link/eds-link.js +492 -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 +62 -0
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +79 -0
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +25 -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.js +91 -0
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.stories.js +75 -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-steps/eds-steps.css +126 -0
- package/dist/collection/components/eds-steps/eds-steps.js +170 -0
- package/dist/collection/components/eds-steps/eds-steps.stories.js +35 -0
- package/dist/collection/components/eds-switch/eds-switch.css +58 -0
- package/dist/collection/components/eds-switch/eds-switch.js +131 -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 +99 -0
- package/dist/collection/components/eds-tag/eds-tag.css +101 -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 +7793 -0
- package/dist/collection/components/eds-timeline/eds-timeline.js +93 -0
- package/dist/collection/components/eds-timeline/eds-timeline.stories.js +35 -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 +94 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +179 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +21 -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 +191 -0
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +121 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +189 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +52 -0
- package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
- package/dist/collection/shared-ui/eds-form/eds-form.js +441 -0
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +82 -0
- package/dist/collection/shared-ui/eds-frame/eds-frame.css +116 -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 +120 -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 +138 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +202 -0
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +41 -0
- package/dist/collection/shared-ui/eds-login/eds-login.js +190 -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 +230 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +30 -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-v2/eds-steps-v2.css +385 -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 +7793 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +221 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +54 -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 +7793 -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} +6 -8
- package/dist/collection/utils/api.js +27 -0
- package/dist/collection/utils/color.js +129 -0
- 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/collection/utils/toastManager.js +29 -0
- 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/{color-47266964.js → color.js} +1 -1
- package/dist/components/components-section.d.ts +11 -0
- package/dist/components/components-section.js +202 -0
- package/dist/components/components.css +7793 -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 +89 -0
- package/dist/components/eds-avatar.d.ts +11 -0
- package/dist/components/eds-avatar.js +6 -0
- package/dist/components/{eds-avatar.entry.js → eds-avatar2.js} +37 -10
- 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-button.entry.js → eds-button2.js} +47 -11
- package/dist/components/eds-card-desc.d.ts +11 -0
- package/dist/components/eds-card-desc.js +6 -0
- package/dist/components/{eds-card-desc.entry.js → eds-card-desc2.js} +29 -8
- package/dist/components/eds-card-generic.d.ts +11 -0
- package/dist/components/eds-card-generic.js +6 -0
- package/dist/components/eds-card-generic2.js +147 -0
- package/dist/components/eds-card-project.d.ts +11 -0
- package/dist/components/eds-card-project.js +109 -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-card-wrapper.d.ts +11 -0
- package/dist/components/eds-card-wrapper.js +49 -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 +105 -0
- package/dist/components/eds-footer.d.ts +11 -0
- package/dist/components/eds-footer.js +6 -0
- package/dist/components/{eds-footer.entry.js → eds-footer2.js} +62 -9
- package/dist/components/eds-form.d.ts +11 -0
- package/dist/components/{eds-form.entry.js → eds-form.js} +100 -66
- 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} +81 -8
- package/dist/components/eds-header.d.ts +11 -0
- package/dist/components/{eds-header.entry.js → eds-header.js} +64 -13
- 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} +88 -10
- 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-select.entry.js → eds-input-select2.js} +48 -9
- 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-link.entry.js → eds-link2.js} +48 -11
- package/dist/components/eds-login.d.ts +11 -0
- package/dist/components/eds-login.js +6 -0
- package/dist/components/{eds-login.entry.js → eds-login2.js} +42 -18
- 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 +158 -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-progress-bar.d.ts +11 -0
- package/dist/components/eds-progress-bar.js +6 -0
- package/dist/components/eds-progress-bar2.js +43 -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 +44 -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-screen.entry.js → eds-splash-screen2.js} +41 -7
- package/dist/components/eds-steps-v2.d.ts +11 -0
- package/dist/components/{eds-steps-v2.entry.js → eds-steps-v2.js} +59 -13
- 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} +43 -9
- package/dist/components/eds-switch.d.ts +11 -0
- package/dist/components/eds-switch.js +57 -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-tag.entry.js → eds-tag2.js} +29 -9
- 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 +80 -0
- package/dist/components/eds-toast.d.ts +11 -0
- package/dist/components/eds-toast.js +6 -0
- package/dist/components/eds-toast2.js +104 -0
- package/dist/components/eds-tooltip.d.ts +11 -0
- package/dist/components/eds-tooltip.js +129 -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.entry.js → eds-user.js} +61 -10
- 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-024c7937.js +1 -0
- package/dist/components/p-037975af.entry.js +1 -0
- package/dist/components/p-05549a74.entry.js +1 -0
- package/dist/components/p-05754401.js +1 -0
- package/dist/components/p-05b272e5.entry.js +1 -0
- package/dist/components/p-0b99fd3c.entry.js +1 -0
- package/dist/components/p-0be28996.js +1 -0
- package/dist/components/p-0e378e0e.entry.js +1 -0
- package/dist/components/p-0e6d43c5.js +1 -0
- package/dist/components/p-112122d6.js +1 -0
- package/dist/components/p-13efafb9.js +1 -0
- package/dist/components/p-1b2913c8.js +1 -0
- package/dist/components/p-1ded61bd.js +1 -0
- package/dist/components/p-1ec25dc2.entry.js +1 -0
- package/dist/components/p-202f78cc.entry.js +1 -0
- package/dist/components/p-2066b033.js +1 -0
- package/dist/components/p-2117611b.js +1 -0
- package/dist/components/p-22b76c3c.entry.js +1 -0
- package/dist/components/p-22f9e720.js +1 -0
- package/dist/components/p-24300934.entry.js +1 -0
- package/dist/components/p-25f1cc6c.entry.js +1 -0
- package/dist/components/p-2692f93d.js +1 -0
- package/dist/components/p-29041952.js +1 -0
- package/dist/components/p-29ad9c73.entry.js +1 -0
- package/dist/components/p-31ca07fd.entry.js +1 -0
- package/dist/components/p-32e6c4df.js +1 -0
- package/dist/components/p-342bc3d8.entry.js +1 -0
- package/dist/components/p-35068b80.entry.js +1 -0
- package/dist/components/p-373119b3.js +1 -0
- package/dist/components/p-3950debe.entry.js +1 -0
- package/dist/components/p-3d74d4b1.entry.js +1 -0
- package/dist/components/p-42f19373.entry.js +1 -0
- package/dist/components/p-4587d0ef.js +1 -0
- package/dist/components/p-4687b64c.js +1 -0
- package/dist/components/p-46d0716d.js +1 -0
- package/dist/components/p-4ecaedbc.entry.js +1 -0
- package/dist/components/p-5055eb25.entry.js +1 -0
- package/dist/components/p-50e27321.js +1 -0
- package/dist/components/p-54b8f143.js +1 -0
- package/dist/components/p-55e3683c.entry.js +9 -0
- package/dist/components/p-5646902d.entry.js +1 -0
- package/dist/components/p-5ab1d64a.js +1 -0
- package/dist/components/p-5d046674.js +1 -0
- package/dist/components/p-5ff68e7d.entry.js +1 -0
- package/dist/components/p-63cc5d3d.entry.js +1 -0
- package/dist/components/p-6506cf52.entry.js +1 -0
- package/dist/components/p-67c72c20.entry.js +1 -0
- package/dist/components/p-688e07d6.entry.js +1 -0
- package/dist/components/p-694fc085.js +1 -0
- package/dist/components/p-69c5074b.js +1 -0
- package/dist/components/p-6aa17003.entry.js +1 -0
- package/dist/components/p-6e273e0f.entry.js +1 -0
- package/dist/components/p-6fcb754e.entry.js +1 -0
- package/dist/components/p-70c9af1e.entry.js +1 -0
- package/dist/components/p-7180a36b.entry.js +1 -0
- package/dist/components/p-7198c024.js +1 -0
- package/dist/components/p-7351cad3.entry.js +1 -0
- package/dist/components/p-751497f4.entry.js +1 -0
- package/dist/components/p-75cc9f9e.entry.js +1 -0
- package/dist/components/p-75d37c48.entry.js +1 -0
- package/dist/components/p-7a31c31f.entry.js +1 -0
- package/dist/components/p-7a550385.entry.js +1 -0
- package/dist/components/p-7ac9881e.entry.js +1 -0
- package/dist/components/p-7cb60f9c.entry.js +1 -0
- package/dist/components/p-7db75d62.entry.js +1 -0
- package/dist/components/p-81899237.js +1 -0
- package/dist/components/p-83ff4a95.js +1 -0
- package/dist/components/p-86bb73dc.js +1 -0
- package/dist/components/p-888c3471.entry.js +1 -0
- package/dist/components/p-892362e0.entry.js +1 -0
- package/dist/components/p-8983de37.js +1 -0
- package/dist/components/p-8a4d9b9b.entry.js +1 -0
- package/dist/components/p-8b7f5204.entry.js +1 -0
- package/dist/components/p-8db820ef.entry.js +1 -0
- package/dist/components/p-9c5a453b.js +1 -0
- package/dist/components/p-aa2e6fec.entry.js +1 -0
- package/dist/components/p-ae4f5e3a.entry.js +1 -0
- package/dist/components/p-aefcb641.js +1 -0
- package/dist/components/p-b024183c.entry.js +1 -0
- package/dist/components/p-b115c3f1.entry.js +1 -0
- package/dist/components/p-b3a3ae59.entry.js +1 -0
- package/dist/components/p-b4595a9e.entry.js +1 -0
- package/dist/components/p-b73410de.js +1 -0
- package/dist/components/p-b817dceb.entry.js +1 -0
- package/dist/components/p-b822abb7.js +1 -0
- package/dist/components/p-b8ba7e5c.entry.js +1 -0
- package/dist/components/p-b8ca2127.entry.js +1 -0
- package/dist/components/p-ba6cc102.entry.js +1 -0
- package/dist/components/p-ba720bf3.js +1 -0
- package/dist/components/p-c1e4ef92.js +1 -0
- package/dist/components/p-c4db0829.entry.js +1 -0
- package/dist/components/p-c51b5f04.entry.js +1 -0
- package/dist/components/p-c5a7d2b1.entry.js +1 -0
- package/dist/components/p-c5c782e7.entry.js +1 -0
- package/dist/components/p-c5f98369.entry.js +1 -0
- package/dist/components/p-c604063d.entry.js +1 -0
- package/dist/components/p-c776b6f8.js +1 -0
- package/dist/components/p-c8e7c854.js +1 -0
- package/dist/components/p-c9a19e93.entry.js +1 -0
- package/dist/components/p-cccacbd3.js +2 -0
- package/dist/components/p-cdf19579.js +1 -0
- package/dist/components/p-d164a75d.entry.js +1 -0
- package/dist/components/p-d4c920fa.entry.js +1 -0
- package/dist/components/p-d82cc261.entry.js +1 -0
- package/dist/components/p-d83d2815.entry.js +1 -0
- package/dist/components/p-d962849c.js +1 -0
- package/dist/components/p-da6e49a9.entry.js +1 -0
- package/dist/components/p-dcd4de1f.entry.js +1 -0
- package/dist/components/p-e089797c.entry.js +1 -0
- package/dist/components/p-e1255160.js +1 -0
- package/dist/components/p-e2b00067.entry.js +1 -0
- package/dist/components/p-e2d5a487.js +1 -0
- package/dist/components/p-e8a2d709.entry.js +1 -0
- package/dist/components/p-ea942740.entry.js +1 -0
- package/dist/components/p-eb0b93d5.js +1 -0
- package/dist/components/p-ecbb679f.js +1 -0
- package/dist/components/p-ece20356.entry.js +1 -0
- package/dist/components/p-ece618b3.js +1 -0
- package/dist/components/p-ed6fd4b8.entry.js +1 -0
- package/dist/components/p-f3822d6b.entry.js +1 -0
- package/dist/components/p-f539febe.entry.js +1 -0
- package/dist/components/p-f7f4b247.entry.js +1 -0
- package/dist/components/p-fdbfa776.entry.js +1 -0
- package/dist/components/p-fe27f4a9.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-44b1416b.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-2554aad6.js +132 -0
- package/dist/esm/color-primary-palette_6.entry.js +331 -0
- package/dist/{components → esm}/components-section.entry.js +2 -2
- 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 +6 -5
- package/dist/{components → esm}/eds-alert.entry.js +6 -5
- package/dist/{components → esm}/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-avatar_27.entry.js +2374 -0
- package/dist/esm/eds-card-desc_2.entry.js +73 -0
- package/dist/{components → esm}/eds-card-generic.entry.js +5 -4
- package/dist/{components → esm}/eds-card-project.entry.js +5 -5
- 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-card-wrapper.entry.js +2 -2
- 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 +5 -4
- package/dist/{components → esm}/eds-frame.entry.js +4 -3
- 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/esm/eds-login_2.entry.js +2095 -0
- package/dist/{components → esm}/eds-matomo-notice.entry.js +4 -3
- package/dist/esm/eds-pagination_2.entry.js +398 -0
- package/dist/{components → esm}/eds-progress-bar.entry.js +4 -3
- 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-switch.entry.js +5 -4
- package/dist/{components → esm}/eds-tabs.entry.js +8 -7
- package/dist/{components → esm}/eds-timeline.entry.js +6 -5
- package/dist/{components → esm}/eds-toast-manager.entry.js +5 -4
- package/dist/{components → esm}/eds-toast.entry.js +4 -3
- package/dist/{components → esm}/eds-tooltip.entry.js +5 -4
- 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/{components → esm}/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/index-39c58238.js +46 -0
- package/dist/{components/index-9d277061.js → esm/index-8a71b9a7.js} +503 -1332
- 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/toastManager-d9eee791.js +31 -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 +32750 -0
- package/dist/hydrate/index.mjs +32742 -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-modal/eds-modal.d.ts +12 -12
- package/dist/types/components/eds-modal/eds-modal.stories.d.ts +17 -0
- package/dist/types/components.d.ts +15 -15
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +1 -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/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 +1 -1
- package/dist/components/eds-block-break.entry.js +0 -16
- 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-modal.entry.js +0 -104
- package/dist/components/eds-section-core.entry.js +0 -19
- package/dist/components/gradient-secondary-palette.entry.js +0 -75
- package/dist/components/gradient-support-palette.entry.js +0 -59
- 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/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/{toastManager-b716afd8.js → toastManager.js} +0 -0
- /package/dist/{components → esm}/app-globals-0f993ce5.js +0 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-2f63169d.js');
|
|
6
|
+
const analytics = require('./analytics-d8fb3fdd.js');
|
|
7
|
+
|
|
8
|
+
const edsMatomoNoticeCss = ".fixed{position:fixed}.absolute{position:absolute}.w-full{width:100%}.bottom-0{bottom:0rem}.bottom-4{bottom:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.z-10{z-index:10}.z-\\[999999\\]{z-index:999999}.left-0{left:0rem}.left-1\\/2{left:50%}.grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.flex{display:flex}.gap-12{gap:0.75rem}.gap-20{gap:1.25rem}.gap-4{gap:0.25rem}@media (min-width: 750px){.md\\:left-1\\/2{left:50%}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.md\\:-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}}";
|
|
9
|
+
const EdsMatomoNoticeStyle0 = edsMatomoNoticeCss;
|
|
10
|
+
|
|
11
|
+
const EdsMatomoNotice = class {
|
|
12
|
+
constructor(hostRef) {
|
|
13
|
+
index.registerInstance(this, hostRef);
|
|
14
|
+
this.consent = index.createEvent(this, "consent", 7);
|
|
15
|
+
this.heading = 'Analytics Consent';
|
|
16
|
+
this.description = "We use anonymous analytics to improve our services. No data is collected unless you give your consent. If you don't wish to send data right now, you can always re-enable analytics later by clicking the Cookies Preference button in the footer. However, by opting in today, you're joining a community that shapes our product's future—all while keeping your data completely anonymous.";
|
|
17
|
+
this.optOutMessage = "You are already part of our community, and your anonymous data helps shape our product's future! Rest assured, your privacy is fully protected.";
|
|
18
|
+
this.forceShow = false;
|
|
19
|
+
this.showNotice = true;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Listens for global custom events to open the matomo-consent.
|
|
23
|
+
*/
|
|
24
|
+
toggleCookiesConsent() {
|
|
25
|
+
this.showNotice = !this.showNotice;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Checks if the consent cookie exists.
|
|
29
|
+
*/
|
|
30
|
+
hasCookieConsent() {
|
|
31
|
+
return !!document.cookie.split('; ').find((row) => row.startsWith('mtm_consent='));
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Checks if the user has opted out after has opted in.
|
|
35
|
+
*/
|
|
36
|
+
optedOut() {
|
|
37
|
+
return !!document.cookie.split('; ').find((row) => row.startsWith('mtm_consent_removed'));
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Generate a unique storage key based on appId or the app's domain.
|
|
41
|
+
*/
|
|
42
|
+
getStorageKey() {
|
|
43
|
+
return `${window.location.host}-matomo-deferred`;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check cookies and sessionStorage (unless forceShow is true) to decide if the notice should be shown.
|
|
47
|
+
*/
|
|
48
|
+
componentWillLoad() {
|
|
49
|
+
// If a decision has been made previously (opted in or out), don't show the notice.
|
|
50
|
+
const consentGiven = localStorage.getItem(`${window.location.host}-matomo-consent-given`);
|
|
51
|
+
if (consentGiven === 'out' || this.optedOut()) {
|
|
52
|
+
this.showNotice = false;
|
|
53
|
+
return;
|
|
54
|
+
}
|
|
55
|
+
if (this.forceShow) {
|
|
56
|
+
// If forceShow is true, always show the notice
|
|
57
|
+
this.showNotice = true;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
// If user has already consented, hide the notice
|
|
61
|
+
// eslint-disable-next-line
|
|
62
|
+
if (this.hasCookieConsent()) {
|
|
63
|
+
this.showNotice = false;
|
|
64
|
+
}
|
|
65
|
+
else {
|
|
66
|
+
// Otherwise check if user deferred in this session
|
|
67
|
+
const sessionDeferred = sessionStorage.getItem(this.getStorageKey());
|
|
68
|
+
this.showNotice = !sessionDeferred;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
componentDidLoad() {
|
|
73
|
+
const btns = this.el.shadowRoot.querySelectorAll('eds-button');
|
|
74
|
+
btns.forEach((b) => {
|
|
75
|
+
this.emitContext(b);
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
emitContext(linkElement) {
|
|
79
|
+
const event = new CustomEvent('parentContext', {
|
|
80
|
+
detail: {
|
|
81
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
82
|
+
identifier: null
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
linkElement.dispatchEvent(event);
|
|
86
|
+
}
|
|
87
|
+
optInAnalytics() {
|
|
88
|
+
analytics.matomoOptIn();
|
|
89
|
+
localStorage.removeItem(`${window.location.host}-matomo-consent-given`);
|
|
90
|
+
this.hideNotice();
|
|
91
|
+
this.consent.emit('in');
|
|
92
|
+
}
|
|
93
|
+
optOutAnalytics() {
|
|
94
|
+
analytics.matomoOptOut();
|
|
95
|
+
this.hideNotice();
|
|
96
|
+
this.consent.emit('out');
|
|
97
|
+
}
|
|
98
|
+
noThanks() {
|
|
99
|
+
localStorage.setItem(`${window.location.host}-matomo-consent-given`, 'out');
|
|
100
|
+
this.hideNotice();
|
|
101
|
+
}
|
|
102
|
+
deferDecision() {
|
|
103
|
+
sessionStorage.setItem(this.getStorageKey(), 'true');
|
|
104
|
+
this.hideNotice();
|
|
105
|
+
this.consent.emit('defer');
|
|
106
|
+
}
|
|
107
|
+
keepMeIn() {
|
|
108
|
+
this.hideNotice();
|
|
109
|
+
}
|
|
110
|
+
hideNotice() {
|
|
111
|
+
this.showNotice = false;
|
|
112
|
+
}
|
|
113
|
+
render() {
|
|
114
|
+
if (!this.showNotice) {
|
|
115
|
+
return null;
|
|
116
|
+
}
|
|
117
|
+
return (index.h("div", { class: "fixed bottom-0 p-8 z-[999999] grow md:left-1/2 md:-translate-x-1/2 md:-translate-y-1/2 justify-center" }, index.h("eds-accordion", { title: this.heading, description: this.hasCookieConsent() ? this.optOutMessage : this.description, switchBg: true, expanded: true }, this.hasCookieConsent() ? (index.h("div", { class: "flex items-center gap-4" }, this.optedOut() ? (index.h("eds-button", { intent: "primary", label: "Opt me in again", "aria-label": "Opt me in again", onClick: () => this.optInAnalytics() })) : (index.h("eds-button", { intent: "primary", label: "Keep Me In", "aria-label": "Keep Me In", onClick: () => this.keepMeIn() })), index.h("eds-button", { intent: "ghostInverse", label: "Opt-out", "aria-label": "Opt-out from analytics", onClick: () => this.optOutAnalytics() }))) : (index.h("div", { class: "flex items-center gap-4" }, index.h("eds-button", { intent: "primary", label: "I agree", "aria-label": "Opt-in for analytics", onClick: () => this.optInAnalytics() }), index.h("eds-button", { intent: "ghost", label: "No, thanks", "aria-label": "Opt-out from analytics", onClick: () => this.noThanks() }), index.h("eds-button", { intent: "ghost", label: "Ask me later", "aria-label": "Defer analytics decision", onClick: () => this.deferDecision() }))))));
|
|
118
|
+
}
|
|
119
|
+
get el() { return index.getElement(this); }
|
|
120
|
+
};
|
|
121
|
+
EdsMatomoNotice.style = EdsMatomoNoticeStyle0;
|
|
122
|
+
|
|
123
|
+
exports.eds_matomo_notice = EdsMatomoNotice;
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-2f63169d.js');
|
|
6
|
+
const analytics = require('./analytics-d8fb3fdd.js');
|
|
7
|
+
const sharedUtils = require('./sharedUtils-8e287250.js');
|
|
8
|
+
|
|
9
|
+
const edsPaginationCss = "ul,menu{list-style:none;margin:0;padding:0}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.text-lightest{color:var(--grey-500)}.mb-28{margin-bottom:1.75rem}.w-full{width:100%}.w-20{width:1.25rem}.h-20{height:1.25rem}.h-28{height:1.75rem}.h-32{height:2rem}.h-36{height:2.25rem}.text-center{text-align:center}.flex{display:flex}.inline-flex{display:inline-flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-x-8{-moz-column-gap:0.5rem;column-gap:0.5rem}.mr-auto{margin-right:auto}.ml-auto{margin-left:auto}.\\!p-8{padding:0.5rem !important}.ml-4{margin-left:0.25rem}.mr-4{margin-right:0.25rem}.hidden{display:none}.gap-1{gap:0.0625rem}.py-4{padding-top:0.25rem;padding-bottom:0.25rem}.transition-colors{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}@media (min-width: 900px){.lg\\:\\!pr-12{padding-right:0.75rem !important}.lg\\:flex{display:flex}}";
|
|
10
|
+
const EdsPaginationStyle0 = edsPaginationCss;
|
|
11
|
+
|
|
12
|
+
const EdsPagination = class {
|
|
13
|
+
constructor(hostRef) {
|
|
14
|
+
index.registerInstance(this, hostRef);
|
|
15
|
+
this.currentPage = undefined;
|
|
16
|
+
this.lastPage = undefined;
|
|
17
|
+
this.perPage = 10;
|
|
18
|
+
this.total = 0;
|
|
19
|
+
this.url = '';
|
|
20
|
+
this.mode = 'default';
|
|
21
|
+
this.prevLabel = 'Prev';
|
|
22
|
+
this.nextLabel = 'Next';
|
|
23
|
+
this.prevUrl = '';
|
|
24
|
+
this.nextUrl = '';
|
|
25
|
+
this.links = [];
|
|
26
|
+
}
|
|
27
|
+
/** Lifecycle hook to generate pagination links on component load */
|
|
28
|
+
componentWillLoad() {
|
|
29
|
+
if (this.mode === 'default') {
|
|
30
|
+
this.generateLinks();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
componentDidLoad() {
|
|
34
|
+
// Emit context for each eds-link element after the component is fully loaded
|
|
35
|
+
const links = this.hostEl.shadowRoot.querySelectorAll('eds-link');
|
|
36
|
+
links.forEach((lnk) => {
|
|
37
|
+
this.emitContext(lnk);
|
|
38
|
+
});
|
|
39
|
+
/*if (links.length > 0) {
|
|
40
|
+
// Emit context for the first link
|
|
41
|
+
this.emitContext(links[0]);
|
|
42
|
+
|
|
43
|
+
// Emit context for the last link, if it's different from the first
|
|
44
|
+
if (links.length > 1) {
|
|
45
|
+
this.emitContext(links[links.length - 1]);
|
|
46
|
+
}
|
|
47
|
+
}*/
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
51
|
+
* This event provides context information about the breadcrumb component.
|
|
52
|
+
*
|
|
53
|
+
* @param linkElement - The link element to which the event will be dispatched.
|
|
54
|
+
*/
|
|
55
|
+
emitContext(linkElement) {
|
|
56
|
+
const event = new CustomEvent('parentContext', {
|
|
57
|
+
detail: {
|
|
58
|
+
componentName: this.hostEl.tagName.toLowerCase(),
|
|
59
|
+
identifier: null
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
linkElement.dispatchEvent(event);
|
|
63
|
+
}
|
|
64
|
+
onPageOrLastPageChange() {
|
|
65
|
+
if (this.mode === 'default') {
|
|
66
|
+
this.generateLinks();
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Checks if the current page is the first page
|
|
71
|
+
* @returns {boolean} - true if current page is the first page
|
|
72
|
+
*/
|
|
73
|
+
isFirstPage() {
|
|
74
|
+
return this.currentPage === 1;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Checks if the current page is the last page
|
|
78
|
+
* @returns {boolean} - true if current page is the last page
|
|
79
|
+
*/
|
|
80
|
+
isLastPage() {
|
|
81
|
+
return this.currentPage === this.lastPage;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Generates a pagination link object
|
|
85
|
+
* @param {number} page - Page number for the link
|
|
86
|
+
* @returns {Link} - Link object with page details
|
|
87
|
+
*/
|
|
88
|
+
generateLink(page) {
|
|
89
|
+
const urlHasQuery = this.url.includes('?');
|
|
90
|
+
return {
|
|
91
|
+
ariaLabel: `Page ${page}`,
|
|
92
|
+
url: `${this.url}${urlHasQuery ? '&' : '?'}page=${page}`,
|
|
93
|
+
label: page.toString(),
|
|
94
|
+
current: this.currentPage === page,
|
|
95
|
+
disabled: false
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/** Generates pagination links based on the last page and current page */
|
|
99
|
+
generateLinks() {
|
|
100
|
+
if (this.lastPage && this.lastPage > 5) {
|
|
101
|
+
this.links = this.getPaginationGenerator(this.currentPage || 1, this.lastPage).map((page) => typeof page === 'number' ? this.generateLink(page) : page);
|
|
102
|
+
}
|
|
103
|
+
else if (this.lastPage) {
|
|
104
|
+
this.links = Array.from({ length: this.lastPage }).map((_, i) => this.generateLink(i + 1));
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Creates a pagination range based on delta, current, and total pages
|
|
109
|
+
* @param {number} current - Current page number
|
|
110
|
+
* @param {number} total - Total number of pages
|
|
111
|
+
* @param {number} delta - Range of pages to display around the current page
|
|
112
|
+
* @returns {(number | string)[]} - Range of page numbers or ellipses
|
|
113
|
+
*/
|
|
114
|
+
getPaginationGenerator(current, total) {
|
|
115
|
+
const delta = 1; // Show one page before and one after the current page
|
|
116
|
+
const range = [];
|
|
117
|
+
if (total <= 5) {
|
|
118
|
+
// If total pages are 5 or less, show all pages
|
|
119
|
+
for (let i = 1; i <= total; i++) {
|
|
120
|
+
range.push(i);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
// Always show the first page
|
|
125
|
+
range.push(1);
|
|
126
|
+
// Add ellipsis if there’s a gap between the first page and the current range start
|
|
127
|
+
if (current - delta > 2) {
|
|
128
|
+
range.push('...');
|
|
129
|
+
}
|
|
130
|
+
// Determine range for pages around the current page
|
|
131
|
+
for (let i = Math.max(2, current - delta); i <= Math.min(total - 1, current + delta); i++) {
|
|
132
|
+
range.push(i);
|
|
133
|
+
}
|
|
134
|
+
// Add ellipsis if there’s a gap between the current range end and the last page
|
|
135
|
+
if (current + delta < total - 1) {
|
|
136
|
+
range.push('...');
|
|
137
|
+
}
|
|
138
|
+
// Always show the last page
|
|
139
|
+
range.push(total);
|
|
140
|
+
}
|
|
141
|
+
return range;
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Formats the current page results information for display
|
|
145
|
+
* @returns {string} - Formatted page result information
|
|
146
|
+
*/
|
|
147
|
+
pageResults() {
|
|
148
|
+
if (this.total > 0) {
|
|
149
|
+
return this.total > this.perPage
|
|
150
|
+
? `${this.perPage * ((this.currentPage || 1) - 1) + 1} - ${this.perPage * (this.currentPage || 1) >= this.total ? this.total : this.perPage * (this.currentPage || 1)} of ${this.total}`
|
|
151
|
+
: `${this.total}`;
|
|
152
|
+
}
|
|
153
|
+
return '';
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* Handles a page click event, updating the current page and dispatching an event
|
|
157
|
+
* @param {MouseEvent} event - Click event
|
|
158
|
+
* @param {number} newPage - New page number
|
|
159
|
+
*/
|
|
160
|
+
handlePageClick(event, newPage) {
|
|
161
|
+
if (this.mode === 'navigator') {
|
|
162
|
+
return; // No page clicking logic for navigator mode
|
|
163
|
+
}
|
|
164
|
+
event.preventDefault(); // Prevent default link navigation
|
|
165
|
+
if (newPage !== this.currentPage) {
|
|
166
|
+
this.links = this.links.map((link) => typeof link === 'object' ? Object.assign(Object.assign({}, link), { current: parseInt(link.label) === newPage }) : link);
|
|
167
|
+
const pageChangeEvent = new CustomEvent('page', {
|
|
168
|
+
detail: newPage,
|
|
169
|
+
bubbles: true,
|
|
170
|
+
composed: true
|
|
171
|
+
});
|
|
172
|
+
this.hostEl.dispatchEvent(pageChangeEvent);
|
|
173
|
+
this.currentPage = newPage;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
render() {
|
|
177
|
+
return (index.h("div", { key: '1d53f69179791434224f152503c0b81c4cfc7cd3' }, this.total > 0 && this.mode === 'default' && (index.h("p", { key: '00ae324b49d62a74feee9d1cde21d67cd726ecf0', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, index.h("span", { key: 'dedf2ce2700eae9d1386b305ec1d1904b133f992', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (index.h("nav", { "aria-label": "Pagination" }, index.h("ul", { class: "flex items-center justify-center gap-x-8" }, index.h("li", { class: "mr-auto" }, index.h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
|
|
178
|
+
? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
|
|
179
|
+
: this.isFirstPage()
|
|
180
|
+
? '#'
|
|
181
|
+
: this.generateLink(this.currentPage - 1).url, disabled: this.mode === 'navigator'
|
|
182
|
+
? !this.prevUrl // Disable if prevUrl is not provided
|
|
183
|
+
: this.isFirstPage(), "aria-label": "Previous page", icon: "chevron-left", "icon-pos": "left", size: "small", "icon-small": "true", intent: "strong", "hide-label-on-small-screen": true, class: "!p-8 lg:!pr-12", onClick: (event) => {
|
|
184
|
+
if (this.mode === 'default') {
|
|
185
|
+
if (this.isFirstPage()) {
|
|
186
|
+
event.preventDefault(); // Prevent click if disabled
|
|
187
|
+
}
|
|
188
|
+
else {
|
|
189
|
+
this.handlePageClick(event, (this.currentPage || 1) - 1);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
} })), this.mode === 'default' &&
|
|
193
|
+
this.links.map((link, index$1) => (index.h("li", { key: index$1, class: "f-ui-02 flex h-36 items-center justify-center" }, typeof link === 'string' ? (index.h("span", { class: "flex items-center justify-center" }, link)) : (index.h("eds-link", { url: link.url, "aria-label": link.ariaLabel, label: link.label, current: link.current, size: "small", class: "!p-8", intent: link.current ? 'secondary' : 'ghost', onClick: (event) => this.handlePageClick(event, parseInt(link.label)) }))))), index.h("li", { class: "ml-auto" }, index.h("eds-link", { label: this.nextLabel, url: this.mode === 'navigator'
|
|
194
|
+
? this.nextUrl || '#' // Use nextUrl if provided, otherwise disable with '#'
|
|
195
|
+
: this.isLastPage()
|
|
196
|
+
? '#'
|
|
197
|
+
: this.generateLink(this.currentPage + 1).url, disabled: this.mode === 'navigator'
|
|
198
|
+
? !this.nextUrl // Disable if nextUrl is not provided
|
|
199
|
+
: this.isLastPage(), "aria-label": "Next page", size: "small", "icon-small": "true", icon: "chevron-right", intent: "strong", "hide-label-on-small-screen": true, class: "!p-8 lg:!pl-12 flex items-center gap-1 py-4 transition-colors", onClick: (event) => {
|
|
200
|
+
if (this.mode === 'default') {
|
|
201
|
+
if (this.isLastPage()) {
|
|
202
|
+
event.preventDefault(); // Prevent click if disabled
|
|
203
|
+
}
|
|
204
|
+
else {
|
|
205
|
+
this.handlePageClick(event, (this.currentPage || 1) + 1);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
} }))))) : null));
|
|
209
|
+
}
|
|
210
|
+
get hostEl() { return index.getElement(this); }
|
|
211
|
+
static get watchers() { return {
|
|
212
|
+
"currentPage": ["onPageOrLastPageChange"],
|
|
213
|
+
"lastPage": ["onPageOrLastPageChange"]
|
|
214
|
+
}; }
|
|
215
|
+
};
|
|
216
|
+
EdsPagination.style = EdsPaginationStyle0;
|
|
217
|
+
|
|
218
|
+
const edsTableCss = "table{text-indent:0;border-color:inherit;border-collapse:collapse;}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.pt-32{padding-top:2rem}.pt-40{padding-top:2.5rem}.pt-48{padding-top:3rem}.pb-28{padding-bottom:1.75rem}.pb-60{padding-bottom:3.75rem}.mt-20{margin-top:1.25rem}.mt-28{margin-top:1.75rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.overflow-x-auto{overflow-x:auto}.mt-6{margin-top:0.375rem}.p-0{padding:0rem}.m-0{margin:0rem}.border{border-width:1px}.border-softer{border:1px solid rgba(0, 0, 0, .1)}.even\\:bg-inverse-softer:nth-child(even){background-color:rgba(255, 255, 255, .15)}.px-20{padding-left:1.25rem;padding-right:1.25rem}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.f-ui-01{font-family:var(--f-ui-01-fontFamily);font-weight:var(--f-ui-01-fontWeight);font-size:var(--f-ui-01-fontSize);line-height:var(--f-ui-01-lineHeight);letter-spacing:var(--f-ui-01-letterSpacing)}.f-ui-02{font-family:var(--f-ui-02-fontFamily);font-weight:var(--f-ui-02-fontWeight);font-size:var(--f-ui-02-fontSize);line-height:var(--f-ui-02-lineHeight);letter-spacing:var(--f-ui-02-letterSpacing)}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.text-center{text-align:center}.break-words{overflow-wrap:anywhere}";
|
|
219
|
+
const EdsTableStyle0 = edsTableCss;
|
|
220
|
+
|
|
221
|
+
const EdsTable = class {
|
|
222
|
+
constructor(hostRef) {
|
|
223
|
+
index.registerInstance(this, hostRef);
|
|
224
|
+
this.handleResize = () => {
|
|
225
|
+
this.updateContainerWidth();
|
|
226
|
+
};
|
|
227
|
+
this.data = null;
|
|
228
|
+
this.endpoint = null;
|
|
229
|
+
this.config = {};
|
|
230
|
+
this.rowsPerPage = 10;
|
|
231
|
+
this.paginationEnabled = true;
|
|
232
|
+
this.searchEnabled = false;
|
|
233
|
+
this.hostWidth = undefined;
|
|
234
|
+
this.columnSize = 'default';
|
|
235
|
+
this.tbData = [];
|
|
236
|
+
this.columns = [];
|
|
237
|
+
this.currentPage = 1;
|
|
238
|
+
this.parsedConfig = {};
|
|
239
|
+
this.totalRows = 0;
|
|
240
|
+
this.searchQuery = '';
|
|
241
|
+
this.containerWidth = 0;
|
|
242
|
+
}
|
|
243
|
+
handleDataChange() {
|
|
244
|
+
this.parseData();
|
|
245
|
+
}
|
|
246
|
+
handleConfigChange() {
|
|
247
|
+
this.parseConfig();
|
|
248
|
+
}
|
|
249
|
+
componentWillLoad() {
|
|
250
|
+
this.parseConfig();
|
|
251
|
+
this.data ? this.parseData() : this.endpoint && this.fetchData();
|
|
252
|
+
}
|
|
253
|
+
componentDidLoad() {
|
|
254
|
+
this.updateContainerWidth();
|
|
255
|
+
window.addEventListener('resize', this.handleResize);
|
|
256
|
+
this.setupPaginationListener();
|
|
257
|
+
}
|
|
258
|
+
componentDidUpdate() {
|
|
259
|
+
this.setupPaginationListener();
|
|
260
|
+
}
|
|
261
|
+
disconnectedCallback() {
|
|
262
|
+
window.removeEventListener('resize', this.handleResize);
|
|
263
|
+
}
|
|
264
|
+
updateContainerWidth() {
|
|
265
|
+
// Use hostWidth prop if provided; otherwise, measure parent element
|
|
266
|
+
if (this.hostWidth && this.hostWidth.trim() !== '') {
|
|
267
|
+
this.containerWidth = Number(this.hostWidth);
|
|
268
|
+
}
|
|
269
|
+
else if (this.hostEl.parentElement instanceof HTMLElement) {
|
|
270
|
+
this.containerWidth = this.hostEl.parentElement.getBoundingClientRect().width;
|
|
271
|
+
}
|
|
272
|
+
else {
|
|
273
|
+
this.containerWidth = 400;
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
parseData() {
|
|
277
|
+
try {
|
|
278
|
+
this.tbData = sharedUtils.parseData(this.data);
|
|
279
|
+
//this.tbData = typeof this.data === 'string' ? JSON.parse(this.data) : this.data || [];
|
|
280
|
+
this.totalRows = this.tbData.length;
|
|
281
|
+
this.updateColumns();
|
|
282
|
+
this.currentPage = 1;
|
|
283
|
+
}
|
|
284
|
+
catch (error) {
|
|
285
|
+
// eslint-disable-next-line
|
|
286
|
+
console.error('Failed to parse data:', error);
|
|
287
|
+
this.tbData = [];
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
parseConfig() {
|
|
291
|
+
try {
|
|
292
|
+
//this.parsedConfig = parseData(this.config);
|
|
293
|
+
this.parsedConfig = typeof this.config === 'string' ? JSON.parse(this.config) : this.config;
|
|
294
|
+
}
|
|
295
|
+
catch (error) {
|
|
296
|
+
// eslint-disable-next-line
|
|
297
|
+
console.error('Failed to parse config:', error);
|
|
298
|
+
this.parsedConfig = {};
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
async fetchData() {
|
|
302
|
+
try {
|
|
303
|
+
const response = await fetch(this.endpoint);
|
|
304
|
+
const data = await response.json();
|
|
305
|
+
this.data = data;
|
|
306
|
+
}
|
|
307
|
+
catch (error) {
|
|
308
|
+
// eslint-disable-next-line
|
|
309
|
+
console.error('Failed to fetch data:', error);
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
setupPaginationListener() {
|
|
313
|
+
if (!this.shouldEnablePagination()) {
|
|
314
|
+
return;
|
|
315
|
+
}
|
|
316
|
+
const paginationEl = this.hostEl.shadowRoot.querySelector('eds-pagination');
|
|
317
|
+
if (paginationEl && !paginationEl.hasAttribute('listener-attached')) {
|
|
318
|
+
paginationEl.addEventListener('page', (event) => this.handlePageChange(event.detail));
|
|
319
|
+
paginationEl.setAttribute('listener-attached', 'true');
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
getFilteredRows() {
|
|
323
|
+
return this.tbData.filter((row) => Object.values(row).some((value) => value.toString().toLowerCase().includes(this.searchQuery.toLowerCase())));
|
|
324
|
+
}
|
|
325
|
+
getPaginatedRows() {
|
|
326
|
+
const filteredRows = this.getFilteredRows();
|
|
327
|
+
this.totalRows = filteredRows.length;
|
|
328
|
+
const start = (this.currentPage - 1) * this.rowsPerPage;
|
|
329
|
+
return filteredRows.slice(start, start + this.rowsPerPage);
|
|
330
|
+
}
|
|
331
|
+
handlePageChange(newPage) {
|
|
332
|
+
this.currentPage = newPage;
|
|
333
|
+
analytics.sendAnalytics({
|
|
334
|
+
category: 'ui-component',
|
|
335
|
+
parentContext: null,
|
|
336
|
+
tag: `${this.hostEl.tagName.toLowerCase()}/eds-pagination`,
|
|
337
|
+
name: `${newPage}` || '',
|
|
338
|
+
action: 'page'
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
handleSearch(event) {
|
|
342
|
+
this.searchQuery = event.target.value;
|
|
343
|
+
this.currentPage = 1;
|
|
344
|
+
/*sendAnalytics({
|
|
345
|
+
category: 'ui-component',
|
|
346
|
+
parentContext: null,
|
|
347
|
+
tag: `${this.hostEl.tagName.toLowerCase()}/eds-input-field/search`,
|
|
348
|
+
name: `${this.searchQuery}` || '',
|
|
349
|
+
action: 'page'
|
|
350
|
+
});*/
|
|
351
|
+
}
|
|
352
|
+
renderCell(value, column) {
|
|
353
|
+
var _a;
|
|
354
|
+
const format = (_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.format;
|
|
355
|
+
return format === 'uppercase' ? (value === null || value === void 0 ? void 0 : value.toString().toUpperCase()) : format === 'svg' ? (index.h("div", { innerHTML: value })) : format === 'bold' ? (index.h("strong", null, value)) : format === 'code' ? (index.h("code", null, value)) : (value);
|
|
356
|
+
}
|
|
357
|
+
shouldEnablePagination() {
|
|
358
|
+
return this.paginationEnabled && this.totalRows > this.rowsPerPage;
|
|
359
|
+
}
|
|
360
|
+
updateColumns() {
|
|
361
|
+
this.columns = this.tbData.length > 0 ? Object.keys(this.tbData[0]) : [];
|
|
362
|
+
}
|
|
363
|
+
getVisibleColumnsCount() {
|
|
364
|
+
return this.columns.filter((column) => { var _a; return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden); }).length;
|
|
365
|
+
}
|
|
366
|
+
divisionFactor() {
|
|
367
|
+
let divisionFactor = 1;
|
|
368
|
+
if (this.columnSize === 'medium') {
|
|
369
|
+
divisionFactor = 2;
|
|
370
|
+
}
|
|
371
|
+
else if (this.columnSize === 'large') {
|
|
372
|
+
divisionFactor = 4;
|
|
373
|
+
}
|
|
374
|
+
return divisionFactor;
|
|
375
|
+
}
|
|
376
|
+
render() {
|
|
377
|
+
// Use containerWidth state that is updated on resize.
|
|
378
|
+
const currentContainerWidth = this.hostWidth && this.hostWidth.trim() !== '' ? Number(this.hostWidth) : this.containerWidth || 400;
|
|
379
|
+
// Calculate the number of visible columns and the column width.
|
|
380
|
+
const visibleColumnsCount = this.getVisibleColumnsCount();
|
|
381
|
+
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
382
|
+
const paginatedRows = this.getPaginatedRows();
|
|
383
|
+
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
384
|
+
return (index.h("div", { key: '9ac7ad4f02237c02eaf5d3b351ded21bce29bd6c' }, this.searchEnabled && (index.h("div", { key: '1cecf9a9089391c3bce72dd53a6f5ffa92692661' }, index.h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
|
|
385
|
+
// @ts-ignore
|
|
386
|
+
onInput: (event) => this.handleSearch(event) }))), index.h("div", { key: '435bbfd0a4dd3ddd0a7766863cdd8c2eaf41eb8f', class: "mt-20" }, index.h("table", { key: '4785490532015b7069be068e80135220f37c3955', class: "block overflow-x-auto mt-6 p-0" }, index.h("thead", { key: '8a99a961cf350bca26b1f73b8ffd6c8e1c48378f' }, index.h("tr", { key: 'a4ee04e342687830e905a3bd5217e53e513f0167', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
|
|
387
|
+
var _a;
|
|
388
|
+
return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (index.h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, column));
|
|
389
|
+
}))), index.h("tbody", { key: '3c764ac7137d1b21f45003c6df5324e7d0db749f' }, paginatedRows.map((row) => (index.h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
|
|
390
|
+
var _a;
|
|
391
|
+
return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (index.h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[column], column)));
|
|
392
|
+
}))))))), this.shouldEnablePagination() && (index.h("div", { key: '98a1179b45fbc1b2f079825c899410ef4faf8c45', class: "mt-20" }, index.h("eds-pagination", { key: '662c479139658ea7f3d2a3955c77e24d44dd6e74', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
393
|
+
}
|
|
394
|
+
get hostEl() { return index.getElement(this); }
|
|
395
|
+
static get watchers() { return {
|
|
396
|
+
"data": ["handleDataChange", "parseData"],
|
|
397
|
+
"config": ["handleConfigChange"]
|
|
398
|
+
}; }
|
|
399
|
+
};
|
|
400
|
+
EdsTable.style = EdsTableStyle0;
|
|
401
|
+
|
|
402
|
+
exports.eds_pagination = EdsPagination;
|
|
403
|
+
exports.eds_table = EdsTable;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-2f63169d.js');
|
|
6
|
+
|
|
7
|
+
const edsProgressBarCss = ".w-full{width:100%}.h-full{height:100%}.bg-default{background-color:var(--grey-200)}.rounded-lg{border-radius:16px}.h-24{height:1.5rem}.border{border-width:1px}.border-softer{border:2px solid rgba(0, 0, 0, .1 )}.overflow-hidden{overflow:hidden}.bg-accent{background-color:var(--green-500)}.bg-\\[\\#0034CB\\]{--tw-text-opacity:1;background-color:rgb(0 52 203 / var(--tw-text-opacity))}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:150ms}.duration-300{transition-duration:300ms}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}";
|
|
8
|
+
const EdsProgressBarStyle0 = edsProgressBarCss;
|
|
9
|
+
|
|
10
|
+
const EdsProgressBar = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.value = 0;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* Method to update the progress value externally.
|
|
17
|
+
* @param newValue The new progress value (0-100).
|
|
18
|
+
*/
|
|
19
|
+
async updateValue(newValue) {
|
|
20
|
+
this.value = Math.min(100, Math.max(0, newValue)); // Clamp value between 0 and 100
|
|
21
|
+
}
|
|
22
|
+
render() {
|
|
23
|
+
const progressValue = this.value;
|
|
24
|
+
return (index.h("div", { key: '0f47fedbf9d44887f65b399e184215f0937b1df1', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, index.h("div", { key: 'a2d095d778842c969832ea6b1ba7f7ef917d1390', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
EdsProgressBar.style = EdsProgressBarStyle0;
|
|
28
|
+
|
|
29
|
+
exports.eds_progress_bar = EdsProgressBar;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
const index = require('./index-2f63169d.js');
|
|
6
|
+
|
|
7
|
+
const edsRatingCss = ":host{display:inline-block}.block{display:block}.stars{display:flex;gap:0.25rem;cursor:pointer}.star{color:var(--star-empty-color, #ccc);transition:color 0.2s ease-in-out}.star.filled{color:var(--green-500);}.star:hover,.star.filled:hover{transform:scale(1.2)}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.my-4{margin-top:0.25rem;margin-bottom:0.25rem}.my-8{margin-top:0.5rem;margin-bottom:0.5rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(0.0625rem * var(--tw-space-x-reverse));margin-left:calc(0.0625rem * calc(1 - var(--tw-space-x-reverse)))}";
|
|
8
|
+
const EdsRatingStyle0 = edsRatingCss;
|
|
9
|
+
|
|
10
|
+
const EdsRating = class {
|
|
11
|
+
constructor(hostRef) {
|
|
12
|
+
index.registerInstance(this, hostRef);
|
|
13
|
+
this.rating = index.createEvent(this, "rating", 7);
|
|
14
|
+
this.ratingType = 'star';
|
|
15
|
+
this.ratingCount = 5;
|
|
16
|
+
this.selectedRating = 0;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Lifecycle method that runs when the component has fully loaded.
|
|
20
|
+
* It emits a custom event for each `eds-button` element contained within the breadcrumb.
|
|
21
|
+
*/
|
|
22
|
+
componentDidLoad() {
|
|
23
|
+
const btns = this.el.shadowRoot.querySelectorAll('eds-button');
|
|
24
|
+
btns.forEach((btn) => {
|
|
25
|
+
this.emitContext(btn);
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Emits a custom event called `parentContext` for a given link element.
|
|
30
|
+
* This event provides context information about the breadcrumb component.
|
|
31
|
+
*
|
|
32
|
+
* @param btnElement - The link element to which the event will be dispatched.
|
|
33
|
+
*/
|
|
34
|
+
emitContext(btnElement) {
|
|
35
|
+
const event = new CustomEvent('parentContext', {
|
|
36
|
+
detail: {
|
|
37
|
+
componentName: this.el.tagName.toLowerCase(),
|
|
38
|
+
identifier: this.selectedRating
|
|
39
|
+
}
|
|
40
|
+
});
|
|
41
|
+
btnElement.dispatchEvent(event);
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Handles the click event on a star.
|
|
45
|
+
* @param rating - The selected rating value.
|
|
46
|
+
*/
|
|
47
|
+
handleClick(rating) {
|
|
48
|
+
this.selectedRating = rating;
|
|
49
|
+
this.rating.emit(rating);
|
|
50
|
+
}
|
|
51
|
+
render() {
|
|
52
|
+
return (index.h("div", { key: 'd1650c37f02bf467f888d0afd0a025198bc0eedc', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index$1) => {
|
|
53
|
+
const starRating = index$1 + 1;
|
|
54
|
+
const isSelected = starRating <= this.selectedRating;
|
|
55
|
+
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
56
|
+
return (index.h("eds-button", { icon: this.ratingType, role: "radio", "aria-checked": isSelected ? 'true' : 'false', "aria-label": this.ratingType, onClick: () => this.handleClick(starRating), tabIndex: this.selectedRating === 0 && index$1 === 0 ? 0 : isSelected ? 0 : -1, intent: isSelected ? 'primary' : 'ghost', size: "large", "extra-class": "p-2" // Optional padding or styling for the star button
|
|
57
|
+
}));
|
|
58
|
+
})));
|
|
59
|
+
}
|
|
60
|
+
get el() { return index.getElement(this); }
|
|
61
|
+
};
|
|
62
|
+
EdsRating.style = EdsRatingStyle0;
|
|
63
|
+
|
|
64
|
+
exports.eds_rating = EdsRating;
|