@ebrains/components 0.5.0-alpha.0 → 0.7.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{analytics-223ea8e5.js → analytics-d8fb3fdd.js} +9 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion_22.cjs.entry.js +1959 -0
- package/dist/cjs/eds-alert.cjs.entry.js +97 -0
- package/dist/cjs/eds-app-root.cjs.entry.js +37 -0
- package/dist/cjs/eds-avatar_4.cjs.entry.js +2 -9
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +135 -0
- package/dist/cjs/eds-card-generic.cjs.entry.js +5 -17
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +6 -22
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +1 -1
- package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +39 -0
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/{eds-dropdown_2.cjs.entry.js → eds-dropdown.cjs.entry.js} +9 -42
- package/dist/cjs/eds-feedback.cjs.entry.js +66 -0
- package/dist/cjs/eds-form.cjs.entry.js +238 -255
- package/dist/cjs/eds-frame.cjs.entry.js +32 -32
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- 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-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/{components/keycloak.js → cjs/eds-login_2.cjs.entry.js} +144 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +16 -4
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-rating.cjs.entry.js +64 -0
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +54 -0
- package/dist/cjs/eds-steps.cjs.entry.js +55 -0
- package/dist/cjs/eds-svg-repository.cjs.entry.js +9 -3
- package/dist/cjs/eds-switch.cjs.entry.js +38 -0
- package/dist/cjs/eds-tabs.cjs.entry.js +11 -25
- package/dist/cjs/eds-timeline.cjs.entry.js +4 -22
- 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 +3 -3
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/eds-user.cjs.entry.js +9 -79
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +2 -2
- package/dist/cjs/formUtils-4315a99c.js +228 -0
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-f08e4f5c.js → index-2f63169d.js} +57 -28
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/sharedUtils-8e287250.js +21 -0
- package/dist/cjs/star-942eee9f.js +7 -0
- package/dist/cjs/thumbs-down-714036b1.js +7 -0
- package/dist/cjs/thumbs-up-411babb8.js +8 -0
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +10 -5
- package/dist/collection/components/eds-accordion/eds-accordion.js +7 -7
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +3 -17
- package/dist/collection/components/eds-button/eds-button.css +1 -19
- package/dist/collection/components/eds-button/eds-button.js +21 -16
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +3 -15
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +24 -2
- package/dist/collection/components/eds-form/eds-form.js +278 -268
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +7153 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.js +405 -0
- package/dist/collection/components/eds-form-v2/eds-form-v2.stories.js +73 -0
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +36 -0
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +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-user/eds-icon-user.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +1 -1
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +1 -1
- package/dist/collection/components/eds-img/eds-img.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +2 -2
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +57 -9
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +1 -1
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.css +6793 -6676
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +26 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +3 -3
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.css +31 -74
- package/dist/collection/components/eds-rating/eds-rating.js +44 -56
- package/dist/collection/components/eds-rating/eds-rating.stories.js +18 -51
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.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 +61 -6
- package/dist/collection/components/eds-steps/eds-steps.js +10 -19
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.css +57 -58
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +11 -8
- package/dist/collection/components/eds-table/eds-table.stories.js +11 -6
- package/dist/collection/components/eds-tag/eds-tag.js +4 -35
- package/dist/collection/components/eds-timeline/eds-timeline.js +3 -21
- package/dist/collection/components/eds-toast/eds-toast.css +91 -0
- package/dist/collection/components/eds-toast/eds-toast.js +18 -9
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.css +113 -0
- package/dist/collection/{components → eds-docs-ui}/eds-frame/eds-frame.js +47 -76
- package/dist/collection/eds-docs-ui/eds-frame/eds-frame.stories.js +52 -0
- package/dist/collection/eds-docs-ui/eds-logo-variations/eds-logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +236 -140
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +12 -28
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +2 -2
- 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 +87 -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 +155 -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.js +7 -53
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +3 -28
- package/dist/collection/shared-ui/eds-header/eds-header.js +4 -20
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -37
- package/dist/collection/shared-ui/eds-login/eds-login.js +34 -10
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +78 -66
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +6 -4
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- 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 +124 -0
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +23 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +7774 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +12 -25
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +17 -30
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +5 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +17 -150
- 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/collection/utils/api.js +27 -0
- package/dist/collection/utils/eds-form/formUtils.js +95 -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/sharedUtils.js +17 -0
- package/dist/components/analytics.js +9 -1
- package/dist/components/components.css +501 -5
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +5 -5
- package/dist/components/{eds-navigator.d.ts → eds-app-root.d.ts} +4 -4
- package/dist/components/eds-app-root.js +89 -0
- package/dist/components/eds-breadcrumb.js +3 -17
- package/dist/components/eds-button2.js +12 -16
- package/dist/components/eds-card-generic2.js +3 -15
- package/dist/components/eds-card-section.js +6 -22
- package/dist/components/eds-components-section.js +1 -1
- package/dist/components/eds-cookies-preference.d.ts +11 -0
- package/dist/components/eds-cookies-preference.js +88 -0
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +8 -3
- package/dist/components/{eds-user-modal.d.ts → eds-feedback.d.ts} +4 -4
- package/dist/components/eds-feedback.js +105 -0
- package/dist/components/eds-footer2.js +3 -13
- package/dist/components/{eds-tab.d.ts → eds-form-v2.d.ts} +4 -4
- package/dist/components/eds-form-v2.js +317 -0
- package/dist/components/eds-form.js +240 -255
- package/dist/components/eds-frame.js +33 -34
- package/dist/components/eds-fullscreen-menu.js +3 -28
- package/dist/components/eds-header.js +4 -20
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/{eds-tabs-content.d.ts → eds-icon-star.d.ts} +4 -4
- package/dist/components/eds-icon-star.js +33 -0
- package/dist/components/eds-icon-success.js +1 -1
- 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-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +2 -2
- package/dist/components/eds-input-search2.js +24 -9
- package/dist/components/eds-input-select2.js +1 -1
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +2 -2
- package/dist/components/eds-login.js +1 -118
- package/dist/{cjs/keycloak-93fc0315.js → components/eds-login2.js} +128 -7
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice.js +1 -140
- package/dist/components/eds-matomo-notice2.js +130 -0
- package/dist/components/eds-modal.js +15 -3
- package/dist/components/eds-pagination2.js +2 -2
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating.js +1 -84
- package/dist/components/eds-rating2.js +91 -0
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner.d.ts +11 -0
- package/dist/components/eds-spinner.js +6 -0
- package/dist/components/eds-spinner2.js +72 -0
- package/dist/components/eds-splash-screen.d.ts +11 -0
- package/dist/components/eds-splash-screen.js +6 -0
- package/dist/components/eds-splash-screen2.js +78 -0
- package/dist/components/eds-steps.js +11 -20
- package/dist/components/eds-svg-repository.js +8 -2
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +11 -8
- package/dist/components/eds-tabs.js +12 -31
- package/dist/components/eds-tag2.js +1 -9
- package/dist/components/eds-timeline.js +3 -21
- package/dist/components/eds-toast-manager.js +4 -3
- package/dist/components/eds-toast2.js +13 -10
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +23 -105
- package/dist/components/eds-vertical-stepper.js +1 -1
- package/dist/components/formUtils.js +223 -0
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/p-033480b2.entry.js +1 -0
- package/dist/components/{p-89f600a3.entry.js → p-0443ac40.entry.js} +1 -1
- package/dist/components/{p-a2621d66.entry.js → p-066f6d27.entry.js} +1 -1
- package/dist/components/p-0e0106fc.entry.js +1 -0
- package/dist/components/p-117d180f.entry.js +1 -0
- package/dist/components/{p-89227919.js → p-13efafb9.js} +1 -1
- package/dist/components/p-20e9ae7f.entry.js +1 -0
- package/dist/components/{p-a535838c.entry.js → p-2354daeb.entry.js} +1 -1
- package/dist/components/p-2b31ca60.entry.js +1 -0
- package/dist/components/p-3368cfd5.entry.js +1 -0
- package/dist/components/p-33c5b937.entry.js +1 -0
- package/dist/components/p-3af94671.entry.js +1 -0
- package/dist/components/{p-b1af5000.entry.js → p-43350dff.entry.js} +2 -2
- package/dist/components/p-43b3579a.entry.js +1 -0
- package/dist/components/p-467fe746.entry.js +1 -0
- package/dist/components/p-46a6042d.entry.js +1 -0
- package/dist/components/p-4a860d5b.entry.js +1 -0
- package/dist/components/p-4ac27fe7.entry.js +1 -0
- package/dist/components/p-4b2e6f03.entry.js +1 -0
- package/dist/components/p-4cd69983.entry.js +1 -0
- package/dist/components/p-5520a3b6.entry.js +1 -0
- package/dist/components/p-552b6a50.entry.js +1 -0
- package/dist/components/p-56b4e0fe.entry.js +1 -0
- package/dist/components/{p-f36f2aeb.entry.js → p-56ec190f.entry.js} +1 -1
- package/dist/components/p-5aff1ea0.entry.js +1 -0
- package/dist/components/p-5c12a0df.entry.js +1 -0
- package/dist/components/{p-72b42d77.entry.js → p-5e2216ae.entry.js} +1 -1
- package/dist/components/p-5e63e8a5.entry.js +1 -0
- package/dist/components/p-60e7e745.entry.js +1 -0
- package/dist/components/p-62f2f274.entry.js +1 -0
- package/dist/components/p-6404e157.entry.js +1 -0
- package/dist/components/p-69c5074b.js +1 -0
- package/dist/components/p-6fd0c3b3.entry.js +1 -0
- package/dist/components/p-77cc7c02.entry.js +1 -0
- package/dist/components/p-79c14cf1.entry.js +1 -0
- package/dist/components/{p-c034c395.entry.js → p-7dd81017.entry.js} +1 -1
- package/dist/components/p-7e0dd5d8.entry.js +1 -0
- package/dist/components/p-80dba155.js +1 -0
- package/dist/components/{p-b860b4aa.entry.js → p-8154d013.entry.js} +1 -1
- package/dist/components/p-86eed1b7.entry.js +1 -0
- package/dist/components/p-8b70a350.entry.js +1 -0
- package/dist/components/p-8e548691.entry.js +1 -0
- package/dist/components/p-90503a64.entry.js +1 -0
- package/dist/components/p-90f85604.entry.js +1 -0
- package/dist/components/p-94698510.entry.js +1 -0
- package/dist/components/p-950ecb1c.entry.js +1 -0
- package/dist/components/p-9b9fba38.entry.js +1 -0
- package/dist/components/p-9dc879c9.entry.js +1 -0
- package/dist/components/{p-b1de9a6c.entry.js → p-9eb2e870.entry.js} +1 -1
- package/dist/components/p-9ebc84d6.entry.js +1 -0
- package/dist/components/p-a56f0579.entry.js +1 -0
- package/dist/components/{p-0e0e1815.entry.js → p-a5c61d1c.entry.js} +1 -1
- package/dist/components/p-a6cd418e.entry.js +1 -0
- package/dist/components/{p-505ddcda.entry.js → p-a8dd1953.entry.js} +1 -1
- package/dist/components/p-a91ab66e.entry.js +1 -0
- package/dist/components/p-ab292dd5.entry.js +1 -0
- package/dist/components/p-ad746789.entry.js +1 -0
- package/dist/components/p-b80a9020.entry.js +1 -0
- package/dist/components/p-b8ba7e5c.entry.js +1 -0
- package/dist/components/p-ba720bf3.js +1 -0
- package/dist/components/p-c06d4f14.entry.js +1 -0
- package/dist/components/p-c12d9350.entry.js +1 -0
- package/dist/components/p-c3dda942.entry.js +1 -0
- package/dist/components/p-c6b32753.entry.js +1 -0
- package/dist/components/p-c776b6f8.js +1 -0
- package/dist/components/p-c935aa46.entry.js +1 -0
- package/dist/components/{p-7a8b9de5.js → p-cccacbd3.js} +2 -2
- package/dist/components/p-dbcf1f0e.entry.js +1 -0
- package/dist/components/p-dcc08064.entry.js +1 -0
- package/dist/components/p-dcd4de1f.entry.js +1 -0
- package/dist/components/p-e2d5a487.js +1 -0
- package/dist/components/p-e64cd6f7.entry.js +1 -0
- package/dist/components/p-e9a533e0.entry.js +1 -0
- package/dist/components/p-eac63c82.entry.js +1 -0
- package/dist/components/p-f5959676.entry.js +1 -0
- package/dist/components/{p-def72462.entry.js → p-f905ac92.entry.js} +1 -1
- package/dist/components/p-fba4080d.entry.js +1 -0
- package/dist/components/p-fc619588.entry.js +1 -0
- package/dist/components/p-fcc32210.entry.js +1 -0
- package/dist/components/{p-81942665.entry.js → p-ff7acb55.entry.js} +1 -1
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/sharedUtils.js +19 -0
- package/dist/components/star.js +5 -0
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/thumbs-down.js +5 -0
- package/dist/components/thumbs-up.js +6 -0
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/{analytics-1cde8e4a.js → analytics-44b1416b.js} +9 -1
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/eds-accordion_22.entry.js +1934 -0
- package/dist/esm/eds-alert.entry.js +93 -0
- package/dist/esm/eds-app-root.entry.js +33 -0
- package/dist/esm/eds-avatar_4.entry.js +2 -9
- package/dist/esm/eds-breadcrumb.entry.js +131 -0
- package/dist/esm/eds-card-generic.entry.js +5 -17
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +6 -22
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +1 -1
- package/dist/esm/eds-components-section.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +35 -0
- package/dist/esm/eds-docs-palettes.entry.js +2 -2
- package/dist/esm/eds-docs-tokens.entry.js +2 -2
- package/dist/esm/{eds-dropdown_2.entry.js → eds-dropdown.entry.js} +10 -42
- package/dist/esm/eds-feedback.entry.js +62 -0
- package/dist/esm/eds-form.entry.js +238 -255
- package/dist/esm/eds-frame.entry.js +32 -32
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +14 -0
- package/dist/esm/eds-icon-success.entry.js +2 -2
- 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-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/{keycloak-d502ec16.js → eds-login_2.entry.js} +139 -1
- package/dist/esm/eds-logo-variations.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +16 -4
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-rating.entry.js +60 -0
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +50 -0
- package/dist/esm/eds-steps.entry.js +51 -0
- package/dist/esm/eds-svg-repository.entry.js +9 -3
- package/dist/esm/eds-switch.entry.js +34 -0
- package/dist/esm/eds-tabs.entry.js +11 -25
- package/dist/esm/eds-timeline.entry.js +4 -22
- package/dist/esm/eds-toast-manager.entry.js +42 -0
- package/dist/esm/eds-toast.entry.js +72 -0
- package/dist/esm/eds-tooltip.entry.js +3 -3
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/eds-user.entry.js +9 -79
- package/dist/esm/eds-vertical-stepper.entry.js +2 -2
- package/dist/esm/formUtils-ac68474d.js +223 -0
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-e96badea.js → index-8a71b9a7.js} +57 -29
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/sharedUtils-a550989c.js +19 -0
- package/dist/esm/star-0da9b5e9.js +5 -0
- package/dist/esm/thumbs-down-a18fd049.js +5 -0
- package/dist/esm/thumbs-up-c19a71bc.js +6 -0
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +1556 -1192
- package/dist/hydrate/index.mjs +1556 -1192
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +4 -1
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +3 -3
- package/dist/types/components/eds-button/eds-button.d.ts +3 -1
- package/dist/types/components/eds-dropdown/eds-dropdown.d.ts +5 -0
- package/dist/types/components/eds-form/eds-form.d.ts +52 -20
- package/dist/types/components/eds-form-v2/eds-form-v2.d.ts +99 -0
- package/dist/types/components/eds-form-v2/eds-form-v2.stories.d.ts +27 -0
- package/dist/types/components/eds-icons/eds-icon-star/eds-icon-star.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.d.ts +10 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +6 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +8 -0
- package/dist/types/components/eds-pagination/eds-pagination.d.ts +1 -1
- package/dist/types/components/eds-rating/eds-rating.d.ts +19 -11
- package/dist/types/components/eds-rating/eds-rating.stories.d.ts +13 -27
- package/dist/types/components/eds-spinner/eds-spinner.d.ts +27 -0
- package/dist/types/components/eds-spinner/eds-spinner.stories.d.ts +42 -0
- package/dist/types/components/eds-steps/eds-steps.d.ts +1 -2
- package/dist/types/components/eds-table/eds-table.stories.d.ts +6 -0
- package/dist/types/components/eds-tag/eds-tag.d.ts +1 -25
- package/dist/types/components/eds-toast/eds-toast.d.ts +4 -5
- package/dist/types/components.d.ts +689 -387
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.d.ts +26 -6
- package/dist/types/{components → eds-docs-ui}/eds-frame/eds-frame.stories.d.ts +8 -13
- package/dist/types/shared-ui/eds-card-section/eds-card-section.d.ts +5 -5
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -1
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.d.ts +27 -0
- package/dist/types/shared-ui/eds-cookies-preference/eds-cookies-preference.st.d.ts +27 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.d.ts +56 -0
- package/dist/types/shared-ui/eds-feedback/eds-feedback.stories.d.ts +77 -0
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +2 -15
- package/dist/types/shared-ui/eds-header/eds-header.stories.d.ts +0 -28
- package/dist/types/shared-ui/eds-login/eds-login.d.ts +12 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +17 -48
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +2 -1
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.d.ts +31 -0
- package/dist/types/shared-ui/eds-splash-screen/eds-splash-screen.stories.d.ts +22 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +3 -3
- package/dist/types/shared-ui/eds-tabs/eds-tabs.stories.d.ts +5 -2
- package/dist/types/shared-ui/eds-toast-manager/eds-toast-manager.d.ts +3 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +12 -66
- package/dist/types/shared-ui/eds-user/eds-user.stories.d.ts +32 -0
- package/dist/types/shared-ui/examples/eds-app-root/eds-app-root.d.ts +9 -0
- package/dist/types/utils/api.d.ts +5 -0
- package/dist/types/utils/eds-form/formUtils.d.ts +38 -0
- package/dist/types/utils/eds-form/formValidators.d.ts +17 -0
- package/dist/types/utils/eds-form/individualValidator.d.ts +3 -0
- package/dist/types/utils/eds-form/validateInput.d.ts +10 -0
- package/dist/types/utils/sharedUtils.d.ts +1 -0
- package/package.json +3 -3
- package/dist/cjs/eds-accordion.cjs.entry.js +0 -84
- package/dist/cjs/eds-alert_17.cjs.entry.js +0 -1392
- package/dist/cjs/eds-input_7.cjs.entry.js +0 -324
- package/dist/cjs/eds-login.cjs.entry.js +0 -91
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -109
- package/dist/cjs/eds-navigator.cjs.entry.js +0 -43
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -386
- package/dist/cjs/eds-tab.cjs.entry.js +0 -40
- package/dist/cjs/eds-tabs-content.cjs.entry.js +0 -133
- package/dist/collection/components/eds-frame/eds-frame.stories.js +0 -68
- package/dist/collection/components/eds-navigator/eds-navigator.js +0 -147
- package/dist/collection/components/eds-navigator/eds-navigator.stories.js +0 -101
- package/dist/collection/components/eds-tab/eds-tab.js +0 -109
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +0 -194
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.stories.js +0 -112
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +0 -109
- package/dist/components/eds-navigator.js +0 -75
- package/dist/components/eds-tab.js +0 -6
- package/dist/components/eds-tab2.js +0 -55
- package/dist/components/eds-tabs-content.js +0 -159
- package/dist/components/eds-user-modal.js +0 -6
- package/dist/components/eds-user-modal2.js +0 -87
- package/dist/components/p-030f67c1.entry.js +0 -1
- package/dist/components/p-06299762.entry.js +0 -1
- package/dist/components/p-0ab85eee.entry.js +0 -1
- package/dist/components/p-0bafc5ae.entry.js +0 -1
- package/dist/components/p-0e7bdd2c.entry.js +0 -1
- package/dist/components/p-1ed3fdb7.entry.js +0 -1
- package/dist/components/p-209fa119.entry.js +0 -1
- package/dist/components/p-2831a9d5.entry.js +0 -1
- package/dist/components/p-2c00bd76.entry.js +0 -1
- package/dist/components/p-38d70586.entry.js +0 -1
- package/dist/components/p-3babd772.entry.js +0 -1
- package/dist/components/p-4a12a131.entry.js +0 -1
- package/dist/components/p-59405ecf.entry.js +0 -1
- package/dist/components/p-5980a142.entry.js +0 -1
- package/dist/components/p-599c7b97.entry.js +0 -1
- package/dist/components/p-65703520.entry.js +0 -1
- package/dist/components/p-6af40c33.entry.js +0 -1
- package/dist/components/p-6df9db15.entry.js +0 -1
- package/dist/components/p-75795b05.entry.js +0 -1
- package/dist/components/p-759b2640.entry.js +0 -1
- package/dist/components/p-80a185ba.entry.js +0 -1
- package/dist/components/p-86fbc239.entry.js +0 -1
- package/dist/components/p-8b583210.entry.js +0 -1
- package/dist/components/p-8c4a0fc9.entry.js +0 -1
- package/dist/components/p-8d19a05b.entry.js +0 -1
- package/dist/components/p-8eab748d.js +0 -1
- package/dist/components/p-911d9b37.entry.js +0 -1
- package/dist/components/p-92e16cc9.entry.js +0 -1
- package/dist/components/p-96fe2267.entry.js +0 -1
- package/dist/components/p-9739def5.entry.js +0 -1
- package/dist/components/p-9826acae.entry.js +0 -1
- package/dist/components/p-9b441a1f.entry.js +0 -1
- package/dist/components/p-a5b7d72d.entry.js +0 -1
- package/dist/components/p-a5d00633.entry.js +0 -1
- package/dist/components/p-a63bd0c9.entry.js +0 -1
- package/dist/components/p-a846dbca.entry.js +0 -1
- package/dist/components/p-a927a455.entry.js +0 -1
- package/dist/components/p-aec9b8e1.entry.js +0 -1
- package/dist/components/p-b3c1aef5.entry.js +0 -1
- package/dist/components/p-b60ed774.entry.js +0 -1
- package/dist/components/p-b67aafe7.entry.js +0 -1
- package/dist/components/p-b79999d5.entry.js +0 -1
- package/dist/components/p-b80457ed.entry.js +0 -1
- package/dist/components/p-c5fa170d.entry.js +0 -1
- package/dist/components/p-d69ef196.entry.js +0 -1
- package/dist/components/p-de12396f.entry.js +0 -1
- package/dist/components/p-de2fbcfc.entry.js +0 -1
- package/dist/components/p-e2c250c5.entry.js +0 -1
- package/dist/components/p-eeeb0d83.entry.js +0 -1
- package/dist/components/p-f08eac56.entry.js +0 -1
- package/dist/components/p-f1cd83da.entry.js +0 -1
- package/dist/components/p-f5dafbc8.entry.js +0 -1
- package/dist/components/p-f7493f41.entry.js +0 -1
- package/dist/components/p-fce25541.entry.js +0 -1
- package/dist/esm/eds-accordion.entry.js +0 -80
- package/dist/esm/eds-alert_17.entry.js +0 -1372
- package/dist/esm/eds-input_7.entry.js +0 -314
- package/dist/esm/eds-login.entry.js +0 -87
- package/dist/esm/eds-matomo-notice.entry.js +0 -105
- package/dist/esm/eds-navigator.entry.js +0 -39
- package/dist/esm/eds-pagination_2.entry.js +0 -381
- package/dist/esm/eds-tab.entry.js +0 -36
- package/dist/esm/eds-tabs-content.entry.js +0 -129
- package/dist/types/components/eds-navigator/eds-navigator.d.ts +0 -42
- package/dist/types/components/eds-navigator/eds-navigator.stories.d.ts +0 -46
- package/dist/types/components/eds-tab/eds-tab.d.ts +0 -15
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.d.ts +0 -36
- package/dist/types/shared-ui/eds-tabs-content/eds-tabs-content.stories.d.ts +0 -16
- package/dist/types/shared-ui/eds-user-modal/eds-user-modal.d.ts +0 -47
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as a}from"./p-cccacbd3.js";import{t as c}from"./p-c776b6f8.js";const r=class{constructor(a){s(this,a),this.class=""}render(){return a("span",{key:"f72d46f6685d3251254eaa0a2c2ce8aaca177a2e",class:this.class,innerHTML:c})}};export{r as eds_icon_thumbs_up}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as a,h as e}from"./p-cccacbd3.js";const s=class{constructor(e){a(this,e),this.accent=!1,this.tags=[]}render(){return e("div",{key:"272d53abb9be9086881cb2f8e99f7fb7aae1bb59",class:"flex flex-wrap gap-y-4"},this.tags.map(((a,s)=>e("eds-tag",{key:s,intent:this.accent?"accent":"default",label:a}))))}};s.style=".flex{display:flex}.flex-wrap{flex-wrap:wrap}.gap-y-4{row-gap:0.25rem}";export{s as eds_card_tags}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{l as r}from"./p-54b8f143.js";const e=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"72eb0709ccbfc7830ab146f936a2587407feb0bb",class:this.class,innerHTML:r})}};export{e as eds_icon_linkedin}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as r}from"./p-
|
|
1
|
+
import{r as e,h as r}from"./p-cccacbd3.js";const t={tokens:{"grey-100":"#f8f8f8","grey-200":"#f2f2f2","grey-300":"#e6e6e6","grey-400":"#d8d8d8","grey-500":"#8c8c8c","grey-600":"#6e6e6e","grey-700":"#666666","grey-800":"#4d4d4d","grey-900":"#242424","green-100":"#eaffee","green-200":"#d3ffdc","green-300":"#9dffb4","green-400":"#63fb92","green-500":"#00e766","green-600":"#00c959","green-700":"#009d45","green-800":"#007734","green-900":"#004f23","yellow-100":"#fefee5","yellow-200":"#ffffcb","yellow-300":"#fdfdaa","yellow-400":"#ffff8b","yellow-500":"#ffff51","yellow-600":"#f3f30a","yellow-700":"#d7d72b","yellow-800":"#9a9a1e","yellow-900":"#636313","orange-100":"#fff4ee","orange-200":"#ffeade","orange-300":"#ffdcc5","orange-400":"#ffcca9","orange-500":"#ffb87e","orange-600":"#ffa543","orange-700":"#cb7f28","orange-800":"#995f1e","orange-900":"#653f14","red-100":"#feefef","red-200":"#ffe0e1","red-300":"#ffc7c9","red-400":"#ff9ea2","red-500":"#ff7a7f","red-600":"#ff4d68","red-700":"#d01111","red-800":"#a3001a","red-900":"#6f0011","purple-100":"#f9f3ff","purple-200":"#f4e8ff","purple-300":"#e9ceff","purple-400":"#ddb1ff","purple-500":"#d18fff","purple-600":"#c461ff","purple-700":"#af56e4","purple-800":"#8337b1","purple-900":"#3d1e4f","blue-100":"#eff0ff","blue-200":"#dee0ff","blue-300":"#caceff","blue-400":"#b2b8ff","blue-500":"#7a89f5","blue-600":"#2b69fc","blue-700":"#0034cb","blue-800":"#002799","blue-900":"#001a65","cyan-100":"#E0EEFF","cyan-200":"#D3E6FF","cyan-300":"#B5D8FF","cyan-400":"#92C8FF","cyan-500":"#6CBFFE","cyan-600":"#3FA9F5","cyan-700":"#267FBE","cyan-800":"#1F689B","cyan-900":"#15496D",black:"#000000",white:"#ffffff",transparent:"transparent",current:"currentColor"},border:{default:"black",inverse:"white","inverse-soft":"rgba(255, 255, 255, 0.3)","inverse-softer":"rgba(255, 255, 255, 0.15)",soft:"rgba(0, 0, 0, .15 )",softer:"rgba(0, 0, 0, .1 )",softest:"rgba(0, 0, 0, .05 )",accent:"green-500",error:"red-700",current:"currentColor",transparent:"transparent"},text:{inverse:"white",default:"black",current:"currentColor",transparent:"transparent",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300",success:"green-800",warning:"yellow-900",error:"red-700",accent:"green-500","on-gradient":"rgba(0, 0, 0, 0.55)"},background:{default:"grey-200",inverse:"white","inverse-soft":"rgba(255, 255, 255, .2)","inverse-softer":"rgba(255, 255, 255, .15)",dark:"grey-300",darker:"grey-400",strong:"grey-700","strong-dark":"grey-800",stronger:"grey-900",strongest:"black","strongest-soft":"rgba(0, 0, 0, .05)",accent:"green-500","accent-dark":"green-600","accent-darker":"green-800",success:"green-200",warning:"yellow-200",error:"red-200",current:"currentColor",transparent:"transparent",overlay:"rgba(0, 0, 0, 0.25)","on-gradient":"rgba(0, 0, 0, 0.1)","on-dark":"rgba(255, 255, 255, 0.2)"},underline:{accent:"green-500",light:"grey-700",lighter:"grey-600",lightest:"grey-500","extra-light":"grey-300"},outline:{default:"black",accent:"green-500"},gradients:{"gradient-01-top":"gradient-01-top","gradient-02-top":"gradient-02-top","gradient-03-top":"gradient-03-top","gradient-04-top":"gradient-04-top","gradient-01-bottom":"gradient-01-bottom","gradient-02-bottom":"gradient-02-bottom","gradient-03-bottom":"gradient-03-bottom","gradient-04-bottom":"gradient-04-bottom"}},a=class{constructor(r){e(this,r),this.show=void 0}getTextColor(e){if(e.startsWith("rgba")||e.startsWith("rgb")){const r=e.replace(/rgba?\(/,"").replace(")","").split(",").map((e=>parseFloat(e.trim())));return(.299*r[0]+.587*r[1]+.114*r[2])/255>.5?"text-default":"text-inverse"}if(e.startsWith("#")){const r=e.replace("#","");return(.299*parseInt(r.substring(0,2),16)+.587*parseInt(r.substring(2,4),16)+.114*parseInt(r.substring(4,6),16))/255>.5?"text-default":"text-inverse"}return"text-default"}resolveColor(e){return t.tokens[e]?t.tokens[e]:e}renderSection(e,t){if("tokens"===e){const e=this.groupTokensByCategory(t);return Object.entries(e).map((([,e])=>r("ul",{class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},e.map((e=>{const t=Object.keys(e)[0],a=this.resolveColor(e[t]),s=this.getTextColor(a);return r("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},r("div",{class:"effect-height items-center justify-between p-16 hidden lg:flex",style:{backgroundColor:a}},r("span",{class:`${s} f-body-02`},t),r("div",{class:"inline-flex"},r("eds-code-block",{code:a,language:"hex",class:"min-w-[210px] mr-4"}),r("eds-code-block",{language:"css",code:`var(--${t})`,class:"min-w-[210px]"}))),r("div",{class:"effect-height items-center justify-between p-16 block lg:hidden",style:{backgroundColor:a}},r("span",{class:`${s} f-body-02`},t),r("div",{class:"inline block"},r("eds-code-block",{code:a,class:"min-w-[210px] mb-4"}),r("eds-code-block",{code:`var(--${t})`,class:"min-w-[210px]"}))))})))))}return r("ul",{class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(t).map((([t,a])=>{const s=this.resolveColor(a),l=this.getTextColor(s),n=s.startsWith("#")||s.startsWith("rgb")?{backgroundColor:s}:{border:`2px solid ${s}`};return r("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col"},r("div",{class:"effect-height block lg:flex items-center justify-between p-16",style:n},r("div",{class:"w-full flex"},r("span",{class:`${l} mr-auto font-bold`},t),r("span",{class:`${l} ml-auto mr-4 font-bold`},a)),r("span",{class:`${l}`},r("eds-code-block","background"===e?{code:`bg-${t}`,class:"min-w-[210px] mr-4"}:{code:`${e}-${t}`,class:"border"===e?"min-w-[250px] mr-4":"min-w-[210px] mr-4"}))))})))}groupTokensByCategory(e){const r={};return Object.entries(e).forEach((([e,t])=>{const a=e.split("-")[0];r[a]||(r[a]=[]),r[a].push({[e]:t})})),r}render(){return r("section",{key:"bca88363ffc01f45526068bd95e96950a3920f0f",class:"w-full mt-28"},Object.entries(this.show?{[this.show]:t[this.show]}:t).map((([e,r])=>r?this.renderSection(e,r):null)))}},s={xxs:"2px",xs:"4px",sm:"8px",md:"12px",lg:"16px",pill:"100px"},l=class{constructor(r){e(this,r)}render(){return r("section",{key:"f5a5ae4bf9096ac5f9aa23e76e45e103a0867bf6",class:"w-full mt-28"},r("ul",{key:"54815bbb3e0dcdd381d711dedd126050813cf6c0",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(s).map((([e,t])=>r("li",{class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},r("div",{class:`w-full p-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${e}`},r("eds-code-block",{language:"Utility Class",code:`rounded-${e}`,class:"mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto"}),r("eds-code-block",{code:`border-radius:${t}`,language:"css",class:"mx-auto min-w-[200px] sm:max-w-[200px] ml-auto"})))))))}},n={shadows:{small:"0px 1.5px 2px rgba(0, 0, 0, 0.1)",hover:"0px 0px 16px rgba(0, 0, 0, 0.2)",accent:"0px 0px 12px rgba(0, 201, 89, 0.6)",podium:"0px 0px 8px 8px rgb(0 0 0 / 25%);",border:"0 10px 10px rgba(0, 0, 0, 0.15);","border-top":"0 -10px 10px rgba(0, 0, 0, 0.15);"},dropShadows:{small:"0px 0px 16px rgba(0, 0, 0, 0.3)"}},c=class{constructor(r){e(this,r)}render(){return r("section",{key:"1b87e2999f2b29677869d9651181135566ba64ff",class:"w-full mt-28"},r("ul",{key:"010dcbd18c54ee35dc402a26990a37cb0730c5b0",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},Object.entries(n).map((([e,t])=>Object.entries(t).map((([t,a])=>r("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16"},r("div",{class:"w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft",style:{boxShadow:a}},r("eds-code-block",{code:`${e}-${t}`,language:"Utility Class",class:"mr-auto sm:mb-4 min-w-[200px]"}),r("eds-code-block",{code:`${a}`,language:"css",class:"ml-auto min-w-[200px]"})))))))))}};export{a as token_list,l as token_radii,c as token_shadows}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-cccacbd3.js";const r=class{constructor(a){e(this,a)}render(){return a("div",{key:"5eca7ecd4f36c805e14973af64b20867b0354eba"},a("div",{key:"3896fcc0a5a184de969d521132bcac78f9372654",class:"container my-16"},a("h3",{key:"714d83271de13b290885b365ca911ea202aab604",class:"f-heading03"},"Coloured Background"),a("div",{key:"c80218b00edd13614c82e41f26316efbfd8e8b4e",class:"coloured lg:w-[500px] md:w-[300px]"},a("eds-logo",{key:"406c7fab328969d4fa7663acda6771d8c447807b",type:"no-bg",href:"#"}))),a("div",{key:"2788972ad7f53db9f2a8ab23a458055e28c657fb",class:"container my-16"},a("h3",{key:"1abeb7a38b87517f9fa4bed9e047dfbf3ea84aa8",class:"f-heading03"},"Black and White Background"),a("div",{key:"af8a7938a847e36d577dea7120e97dd9cf1b4343",class:"bg-default lg:w-[500px] md:w-[300px]"},a("eds-logo",{key:"b8dbc675fc435a322f1b93ab14224df17ccac7d0",type:"black",href:"#"}))),a("div",{key:"e4068eb7d86e04c6ac3da79ef44fbc577083ecee",class:"container my-16"},a("h3",{key:"44ffa680543f41764c478e43828c86116d3dc059",class:"f-heading03"},"Dark Background "),a("div",{key:"ae0c8d9dc9f563af9b756f9112847bae88d82f2f",class:"lg:w-[500px] md:w-[300px]"},a("eds-logo",{key:"5f8d4e32308c9c7e9f285a39b9cbaf6cf4104ed6",type:"color-white",href:"#"}))))}};r.style=".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}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.w-\\[150px\\]{width:150px}.w-\\[500px\\]{width:500px}@media (min-width: 750px){.md\\:w-\\[300px\\]{width:300px}.md\\:w-\\[500px\\]{width:500px}}@media (min-width: 900px){.lg\\:w-\\[300px\\]{width:300px}.lg\\:w-\\[500px\\]{width:500px}}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";const t=class{constructor(a){e(this,a),this.orientation="vertical",this.type=void 0}render(){return a("div",{key:"82d99f40e7360943ca9a2df59dc8a9db4a22a83b"},a("div",{key:"27ed1ecf7a6a161244c3b2d1c01bc5196e15caac",class:"container my-16"},a("h3",{key:"62363c39920cefe5086a934f36dbc9a684f3984b",class:"f-heading03"},"Coloured Background"),a("div",{key:"8577199e6f5b9c6f97afc31620513805d06e94c6",class:"coloured w-[200px]"},a("eds-logo",{key:"d627ea9deef5766a160e1b97f129e2b0000b1b62",orientation:"vertical",type:"no-bg",href:"#"}))),a("div",{key:"8d7565fa14e8eabd6e44295b530600ba20c24820",class:"container my-16"},a("h3",{key:"f071d16ed3f22bb58401c493594b8d919f9a5698",class:"f-heading03"},"Black and White Background"),a("div",{key:"bd6abebec1b49aed0dcf5cdafda0790b137b6b3d",class:"bg-default w-[200px]"},a("eds-logo",{key:"be68411a8d9e75e0c78d440635631af2f449e4cf",orientation:"vertical",type:"black",href:"#"}))),a("div",{key:"2cd4a5fb78b387bfebefeb57880d308b9e3cf96b",class:"container my-16"},a("h3",{key:"f74c7d823aae3ed352db73ec288b32110db9867a",class:"f-heading03"},"Dark Background "),a("div",{key:"1a47847d582e18ca35a6b3cf76bd1e21f1dbfac2",class:"w-[200px]"},a("eds-logo",{key:"b35710d4795dd179a9dc0c007a2a477be3891984",orientation:"vertical",type:"color-white",href:"#"}))))}};t.style=".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}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.w-\\[150px\\]{width:150px}.w-\\[200px\\]{width:200px}.w-\\[300px\\]{width:500px}.coloured{background:linear-gradient(to left, \n #9CE142 0%, \n #00C959 50%, \n #00A595 100%)}";export{r as logo_variations_horizontal,t as logo_variations_vertical}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{y as c}from"./p-ecbb679f.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"1a7ad8d7cbef70822ebda2f152d8b537df1eaf27",class:this.class,innerHTML:c})}};export{e as eds_icon_youtube}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,h as e,g as a}from"./p-
|
|
1
|
+
import{r as t,h as e,g as a}from"./p-cccacbd3.js";import{s as r}from"./p-13efafb9.js";const s=class{constructor(e){t(this,e),this.content=void 0,this.position="above",this.isVisible=!1,this.isPositioned=!1,this.tooltipStyle={top:"0px",left:"0px",transform:""}}async showTooltip(){var t;await this.updateTooltipPosition(),this.isPositioned=!0,this.isVisible=!0,r({category:"ui-component",parentContext:null,tag:this.el.tagName.toLowerCase(),name:(null===(t=this.content)||void 0===t?void 0:t.toLowerCase())||"",action:"hover"})}hideTooltip(){this.isVisible=!1,this.isPositioned=!1}handleKeyPress(t){"Escape"===t.key&&(this.isVisible=!1,this.isPositioned=!1)}updateTooltipPosition(){var t,e;const a=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("slot");if(!a)return;const r=((null==a?void 0:a.assignedNodes({flatten:!0}))||[]).find((t=>t instanceof HTMLElement));if(r){const t=r.getBoundingClientRect(),a=null===(e=this.el.shadowRoot)||void 0===e?void 0:e.querySelector('[role="tooltip"]');if(a){const e=a.offsetWidth,r=a.offsetHeight;let s=0,i=0;switch(this.position){case"above":s=window.scrollY-r-8,i=t.left+t.width/2-e/2;break;case"below":s=r-window.scrollY+18,i=t.left+t.width/2-e/2}this.tooltipStyle={top:`${s}px`,left:`${i}px`,transform:"translateX(0)"}}}}render(){return e("div",{key:"0d00052874b171639b9185412d8a3a9f917e6df5",class:"relative"},e("slot",{key:"2cb9cdc51248c3c6cedcaf8ee113530f2675b870"}),this.isVisible&&this.isPositioned&&this.content&&e("div",{key:"af54333ca0c8cf44dcc2b779a7378a9ecf256877",class:"rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6",role:"tooltip",style:{top:this.tooltipStyle.top,left:this.tooltipStyle.left,transform:this.tooltipStyle.transform}},this.content))}get el(){return a(this)}};s.style=".relative{position:relative}.absolute{position:absolute}.rounded-sm{border-radius:8px}.rounded-xs{border-radius:4px}.bg-stronger{background-color:var(--grey-900)}.bg-strongest{background-color:var(--black)}.text-inverse{color:var(--white)}.text-default{color:var(--black)}.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)}.pointer-events-none{pointer-events:none}.-top-8{top:-0.5rem}.left-1\\/2{left:50%}.z-10{z-index:10}.block{display:block}.-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))}.-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.whitespace-nowrap{white-space:nowrap}.py-2{padding-top:0.125rem;padding-bottom:0.125rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.p-4{padding:0.25rem}.p-6{padding:0.375rem}.p-8{padding:0.5rem}.p-12{padding:0.75rem}.p-16{padding:1rem}.p-20{padding:1.25rem}";export{s as eds_tooltip}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-cccacbd3.js";const c=[{background:"#9CE142"},{background:"#00C959"},{background:"#00A595"}],d=[{background:"#3FA9F5"},{background:"#C461FF"},{background:"#5D3DF9"},{background:"#FFA543"},{background:"#FF4D68"}],s=class{constructor(a){e(this,a)}render(){return a("div",{key:"6906da67ca0b6e67545b0daac34d476e4c80c75f",class:"container"},a("eds-alert",{key:"0930bacd11792156dd000b14ed7e82a1fa41012f",message:"Note that, each of the four colour tones cannot be mixed in the same composition.",intent:"error"}),a("div",{key:"da773bedfa3591351b2425e14d084213e5d90fdb",class:"flex"},a("div",{key:"894b7e13066eb40ee1ea19a62bf7a059407313c7",class:"w-full"},a("ul",{key:"fba6f9c9d34edd373841a9888971de7b08b6450d",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},c.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[150px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}})))))),a("div",{key:"af7e2036fbe979299f2657a7ab3472d7d4196db2",class:"w-full"},a("ul",{key:"ad46e717be4200796424c6f72f022d6e163975ff",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},d.map((e=>a("li",{class:"grid-col-span-12 md:grid-col-span-6 flex flex-col"},a("div",{class:"w-full min-h-[90px] effect-height flex items-center justify-between p-16",style:{backgroundColor:e.background}}))))))))}};export{s as incorrect_use_of_colors}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-
|
|
1
|
+
import{r as e,h as t}from"./p-cccacbd3.js";import{g as n}from"./p-eb0b93d5.js";import{c as i}from"./p-112122d6.js";const r=class{constructor(t){e(this,t),this.firstName="User",this.lastName="Avatar",this.picture=void 0,this.initials=void 0,this.color=void 0,this.rounded=!1,this.initialsStrong=!1}get computedInitials(){return this.initials?(this.initials.match(/.{1,3}/g)||[])[0]||"":this.firstName&&this.lastName?`${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase():void 0}get containerClasses(){return["border-inside","aspect-1x1","flex","items-center","justify-center","overflow-hidden",this.picture?"":"px-4",this.rounded?"rounded-pill border-inside-pill w-32":"w-[54px] rounded-sm",this.color?"border-inside-inverse":"","grey"===this.color?"bg-dark":this.color&&!this.picture?n({color:this.color,direction:"top",pseudo:!1}):this.picture?"":"bg-strongest text-accent"].join(" ")}render(){return t("div",{key:"47ee5ffd12c0f90c536dea77b3ffa9120d67f37f",class:this.containerClasses},this.picture?t("eds-img",{src:this.picture,width:54,height:54,sizes:"120px",alt:`${this.firstName} ${this.lastName}`,lazyload:!0,withBg:!0}):t("abbr",{title:this.computedInitials||`${this.firstName} ${this.lastName}`,class:"!no-underline f-ui-01"},this.computedInitials))}};r.style=".border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border: 2px solid rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px;\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-inverse {\n &::after {\n border: 2px solid rgba(255, 255, 255, 0.3);\n }\n\n &::after {\n content: '';\n }\n}\n\n.aspect-1x1 {\n aspect-ratio: 1/1;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.px-4 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.rounded-pill {\n border-radius: 100px;\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xs {\n border-radius: 4px;\n}\n\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-darker {\n background-color: var(--grey-400);\n}\n\n.bg-stronger {\n background-color: var(--grey-900);\n}\n\n.bg-strongest {\n background-color: var(--black);\n}\n\n.text-accent {\n color: var(--green-500);\n}\n\n.text-default {\n color: var(--black);\n}\n\n.\\!no-underline {\n text-decoration-line: none !important;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.w-32 {\n width: 2rem;\n}\n\n.w-44 {\n width: 2.75rem;\n}\n\n.w-\\[54px\\] {\n width: 54px;\n}";const a=class{constructor(t){e(this,t),this.description=void 0,this.descClass="f-ui-03-light",this.truncate=!0,this.truncateLines="3"}getTruncateClass(){return this.truncate&&this.truncateLines?`line-clamp-${this.truncateLines}`:""}render(){return t("p",{key:"71495cbd6ef4e7d66c4c22a37f8120624ecf57fb",class:`text-light ${this.descClass}`},t("span",{key:"8708178f7b48cc1f31aac749f50fe92b72c39ab8",class:this.getTruncateClass()},this.description))}};a.style=".f-ui-02-light{font-family:var(--f-ui-02-light-fontFamily);font-weight:var(--f-ui-02-light-fontWeight);font-size:var(--f-ui-02-light-fontSize);line-height:var(--f-ui-02-light-lineHeight);letter-spacing:var(--f-ui-02-light-letterSpacing)}.f-ui-03-light{font-family:var(--f-ui-03-light-fontFamily);font-weight:var(--f-ui-03-light-fontWeight);font-size:var(--f-ui-03-light-fontSize);line-height:var(--f-ui-03-light-lineHeight);letter-spacing:var(--f-ui-03-light-letterSpacing)}.text-light{color:var(--grey-700)}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}";const o=class{constructor(t){e(this,t),this.url=void 0,this.titleClass=void 0,this.headingLevel="h3",this.externalLink=!1,this.cardTitle=void 0,this.hierarchy=!0}getTitleClass(){return`f-heading-${(this.hierarchy?{h1:"05",h2:"05",h3:"05",h4:"05",h5:"05",h6:"06"}:{h1:"01",h2:"02",h3:"03",h4:"04",h5:"05",h6:"06"})[this.headingLevel]}`}render(){return t(this.headingLevel,{key:"bb97dc6dd53adda14ef251b2ec32952791438986",class:this.getTitleClass()},t("a",{key:"37b6ac0668257d27fb3f03a6225a2d48e1fd1f79",class:"break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none",href:this.url,target:this.externalLink?"_blank":void 0,rel:this.externalLink?"noopener noreferrer":void 0},this.cardTitle))}};o.style="a{all:unset;display:inline;color:inherit;text-decoration:none;cursor:pointer}h1,h2,h3,h4,h5,h6{margin:0}.f-heading-01{font-family:var(--f-heading-01-fontFamily);font-weight:var(--f-heading-01-fontWeight);font-size:var(--f-heading-01-fontSize);line-height:var(--f-heading-01-lineHeight);letter-spacing:var(--f-heading-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.break-words{overflow-wrap:break-word}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:z-10::after{z-index:10}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}";const s=i(["f-ui-05 py-1 px-4 border-2 rounded-pill"],{variants:{intent:{default:"border-default",strong:"text-inverse bg-strongest border-default",accent:"text-[#0034CB] border-[#0034CB]",weak:"text-light bg-strongest-soft border-transparent",inverse:"border-inverse text-inverse","inverse-strong":"bg-inverse border-inverse text-lighter"}},defaultVariants:{intent:"default"}}),f=class{constructor(t){e(this,t),this.label=void 0,this.intent="default"}render(){const e=s({intent:this.intent});return t("span",{key:"2f4b0011094538aaa0a7cc855eadc1b39c9dc028",class:e},this.label)}};f.style=".f-ui-05{font-family:var(--f-ui-05-fontFamily);font-weight:var(--f-ui-05-fontWeight);font-size:var(--f-ui-05-fontSize);line-height:var(--f-ui-05-lineHeight);letter-spacing:var(--f-ui-05-letterSpacing)}.py-1{padding-top:0.0625rem;padding-bottom:0.0625rem}.px-4{padding-left:0.25rem;padding-right:0.25rem}.border-2{border-width:2px}.rounded-pill{border-radius:100px}.border-default{border:2px solid var(--black)}.text-inverse{color:var(--white)}.bg-strongest{background-color:var(--black)}.text-\\[\\#0034CB\\]{--tw-text-opacity:1;color:rgb(0 52 203 / var(--tw-text-opacity))}.border-\\[\\#0034CB\\]{--tw-border-opacity:1;border:2px solid rgb(0 52 203 / var(--tw-border-opacity))}.text-light{color:var(--grey-700)}.bg-strongest-soft{background-color:rgba(0, 0, 0, .05)}.border-transparent{border-color:var(--transparent)}.border-inverse{border-color:var(--white)}.bg-inverse{background-color:var(--white)}.text-lighter{color:var(--grey-600)}";export{r as eds_avatar,a as eds_card_desc,o as eds_card_title,f as eds_tag}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as s}from"./p-cccacbd3.js";const t=class{constructor(s){e(this,s),this.buttonText="Cookies Preferences",this.intent=void 0,this.showMatomoNotice=!1,this.noticeKey=0}toggleCookiesPopup(){sessionStorage.removeItem("matomo-deferred"),this.showMatomoNotice?this.noticeKey=this.noticeKey+1:this.showMatomoNotice=!0}render(){return s("div",{key:"48f67648644ae9c8e645791ad3cbba5491866dc5"},s("eds-link",{key:"50154721f0f44e811ebe362e18bcf8cfb77b8f64",size:"small",intent:this.intent,label:this.buttonText,onClick:()=>this.toggleCookiesPopup()}),this.showMatomoNotice&&s("eds-matomo-notice",{"force-show":!0,key:this.noticeKey}))}};t.style="";export{t as eds_cookies_preference}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{g as a}from"./p-50e27321.js";const c=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"54ba107f89476040a8efb43b9e1239316c81a43f",class:this.class,innerHTML:a})}};export{c as eds_icon_gitlab}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as s,g as e}from"./p-cccacbd3.js";import{t as a}from"./p-22f9e720.js";const i=class{constructor(s){t(this,s),this.toastId=0,this.toasts=[]}connectedCallback(){a.init(this.hostElement),this.hostElement.addEventListener("show-toast",(t=>{const{message:s,intent:e}=t.detail;this.addToast(s,e)}))}addToast(t,s){const e=this.toastId++;this.toasts=[...this.toasts,{id:e,message:t,intent:s}]}removeToast(t){this.toasts=this.toasts.filter((s=>s.id!==t))}render(){return s("div",{key:"e01e6cf0931155f70153ba5de054c1174e364397",class:"toast-container"},this.toasts.map((t=>s("div",{key:t.id},s("eds-toast",{message:t.message,intent:t.intent,onClick:()=>this.removeToast(t.id)})))))}get hostElement(){return e(this)}};i.style=".toast-container{position:fixed;top:1rem;left:50%;transform:translateX(-50%);z-index:99999;display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;max-width:36rem;}.toast-wrapper{width:100%;padding:0 1rem;}.eds-toast{box-shadow:0px 4px 6px rgba(0, 0, 0, 0.1);border-radius:0.5rem;animation:fade-in 0.3s ease-out;}@keyframes fade-in{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}";export{i as eds_toast_manager}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,g as r}from"./p-cccacbd3.js";const i=class{constructor(t){e(this,t),this.frameLabel=void 0,this.urlLabel="Open in Storybook",this.errorMessage="Could not load the requested Storybook content. Please check the URL or try again later.",this.storybookUrl=void 0,this.storyPath=void 0,this.intent="strong",this.size="auto",this.iframeError=!1}componentWillLoad(){this.checkIframeAvailability()}componentDidLoad(){this.el.querySelectorAll("eds-link").forEach((e=>{this.emitContext(e)}))}emitContext(e){const t=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.frameLabel}});e.dispatchEvent(t)}articleClasses(){return["bg-inverse min-h-156 rounded border-softer effect-focus-within relative flex grow flex-col border-2","w-full h-full"].join(" ")}getFrameHeight(){switch(this.size){case"sm":return"100px";case"md":return"200px";case"lg":return"400px";case"xl":return"700px";default:return"auto"}}async checkIframeAvailability(){try{if(!(await fetch(this.frameSrc,{method:"GET"})).ok)throw new Error("Failed to load")}catch(e){this.iframeError=!0}}get storyLink(){return`${this.storybookUrl}/?path=/story/${this.storyPath}`}get frameSrc(){return`${this.storybookUrl}/iframe.html?id=${this.storyPath}&viewMode=story`}render(){return t("div",{key:"e4b72fab30dcf1eeee6fdf3c63719599eafedb6d",class:this.articleClasses()},t("div",{key:"f8643db32120c14dd18b3d44ae530a83e81e59e0",class:"effect-height flex items-center justify-between py-8 px-12"},t("span",{key:"7b40c644e142e6a6356e4d6a683b9c1c57104f5d",class:"f-ui-02"},this.frameLabel),this.iframeError?null:t("eds-link",{label:this.urlLabel,url:this.storyLink,intent:this.intent,class:"ml-auto",external:!0,disabled:!1,icon:"arrow-diagonal"})),t("div",{key:"8a1fe80134dadd38d113968ad0c825a6f9426921",class:"border-softer"},this.iframeError?t("div",{class:"container ml-8 mr-8 mt-16"},this.errorMessage):t("iframe",{src:this.frameSrc,width:"100%",height:this.getFrameHeight(),title:this.frameLabel,frameBorder:"0",allowFullScreen:!0})))}get el(){return r(this)}};i.style=".bg-inverse{background-color:var(--white)}.min-h-156{min-height:156px}.rounded{border-radius:0.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:16px}.rounded-md{border-radius:12px}.border-soft{border-color:rgba(0, 0, 0, .15 )}.border-softer{border-color:rgba(0, 0, 0, .1 )}.border-softest{border-color:rgba(0, 0, 0, .05 )}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.relative{position:relative}.flex{display:flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.border-2{border-width:2px}.w-full{width:100%}.h-full{height:100%}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.items-center{align-items:center}.justify-between{justify-content:space-between}.py-8{padding-top:0.5rem;padding-bottom:0.5rem}.px-12{padding-left:0.75rem;padding-right:0.75rem}.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)}.ml-auto{margin-left:auto}.border-t-2{border-top-width:2px}.border{border:1px solid rgba(0, 0, 0, .1 )}.border-2{border:1px solid rgba(0, 0, 0, .1 )}.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}.ml-8{margin-left:0.5rem}.mr-8{margin-right:0.5rem}.mt-16{margin-top:1rem}";export{i as eds_frame}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as n}from"./p-cccacbd3.js";import{p as i}from"./p-69c5074b.js";const l=class{constructor(n){r(this,n),this.cards=[],this.occupyCols=1}get parsedCards(){return i(this.cards)}render(){return n("section",{key:"eb64be830a5a1b752fadd0a8a76be9240b70cfe8",class:"w-full"},n("ul",{key:"d4eb8d8492a67f7491535953e0e37172fc9e09ff",class:"grid-layout grid-cols-4 gap-y-8 md:gap-y-12 lg:gap-y-16"},this.parsedCards.map((r=>n("li",{class:`grid-col-span-4 md:grid-col-span-${this.occupyCols} flex flex-col`},n("eds-card-generic",{cardTitle:r.title,description:r.description,avatar:r.avatar,headingLevel:r.headingLevel,tags:r.tags,url:r.url,bg:r.bg,tiny:r.tiny,image:r.image,withHover:r.withHover}))))))}};l.style='ol,ul,menu{list-style:none;margin:0;padding:0}.w-full{width:100%}.grid-layout{display:grid;grid-template-columns:repeat(var(--container-grid-columns, var(--grid-columns)), 1fr);grid-gap:var(--inner-gutter)}.grid-cols-4{grid-template-columns:repeat(4, minmax(0, 1fr))}.grid-cols-4[class*="grid-line-x"][class*="grid-line-x"]>*:nth-child(n)::before{border-bottom-width:1px}.grid-cols-4[class*="grid-line-xfull"]>*:nth-child(n)::before{inset-inline-start:calc(var(--inner-gutter) / -2);inset-inline-end:calc(var(--inner-gutter) / -2)}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1)::before{inset-inline-start:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+4)::before{inset-inline-end:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1):nth-last-child(-n+4)::before{border-bottom-width:0}.grid-cols-4[class*="grid-line-x"]>*:nth-child(4n+1):nth-last-child(-n+4)~*::before{border-bottom-width:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(n)::after{border-inline-end-width:1px}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+4)::after{border-inline-end-width:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(-n+4)::after{top:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+1):nth-last-child(-n+4)::after{bottom:0}.grid-cols-4[class*="grid-line-y"][class*="grid-line-y"]>*:nth-child(4n+1):nth-last-child(-n+4)~li::after{bottom:0}.grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.gap-y-4{row-gap:0.25rem}.gap-y-8{row-gap:0.5rem}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}@media (min-width: 750px){.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:gap-y-12{row-gap:0.75rem}.md\\:pt-28{padding-top:1.75rem}}@media (min-width: 750px){.md\\:grid-col-span-1{--container-grid-columns:1;grid-column:span 1 / span 1}.md\\:grid-col-span-2{--container-grid-columns:2;grid-column:span 2 / span 2}.md\\:grid-col-span-3{--container-grid-columns:3;grid-column:span 3 / span 3}.md\\:grid-col-span-4{--container-grid-columns:4;grid-column:span 4 / span 4}.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.md\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.md\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:grid-col-span-5{--container-grid-columns:5;grid-column:span 5 / span 5}.lg\\:grid-col-span-6{--container-grid-columns:6;grid-column:span 6 / span 6}.lg\\:grid-col-start-7{grid-column-start:7}.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-8-cols{width:calc(((8 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (8 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-8-cols>*{--container-grid-columns:8}.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * 100%) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.cols-container>.lg\\:w-10-cols{width:calc(((10 / var(--container-grid-columns, var(--grid-columns))) * (100% - var(--inner-gutter))) - (var(--inner-gutter) - (10 / var(--container-grid-columns, var(--grid-columns)) * var(--inner-gutter))))}.lg\\:w-10-cols>*{--container-grid-columns:10}}@media (min-width: 900px){.lg\\:order-last{order:9999}.lg\\:order-none{order:0}.lg\\:mt-0{margin-top:0rem}.lg\\:block{display:block}.lg\\:flex{display:flex}.lg\\:hidden{display:none}.lg\\:w-\\[150px\\]{width:150px}.lg\\:w-auto{width:auto}.lg\\:max-w-\\[720px\\]{max-width:720px}.lg\\:flex-row{flex-direction:row}.lg\\:flex-nowrap{flex-wrap:nowrap}.lg\\:gap-y-16{row-gap:1rem}.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}.lg\\:\\!pl-12{padding-left:0.75rem !important}.lg\\:\\!pr-12{padding-right:0.75rem !important}}';export{l as eds_card_section}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const c='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-hand-thumbs-down-fill" viewBox="0 0 16 16">\n <path d="M6.956 14.534c.065.936.952 1.659 1.908 1.42l.261-.065a1.38 1.38 0 0 0 1.012-.965c.22-.816.533-2.512.062-4.51q.205.03.443.051c.713.065 1.669.071 2.516-.211.518-.173.994-.68 1.2-1.272a1.9 1.9 0 0 0-.234-1.734c.058-.118.103-.242.138-.362.077-.27.113-.568.113-.856 0-.29-.036-.586-.113-.857a2 2 0 0 0-.16-.403c.169-.387.107-.82-.003-1.149a3.2 3.2 0 0 0-.488-.9c.054-.153.076-.313.076-.465a1.86 1.86 0 0 0-.253-.912C13.1.757 12.437.28 11.5.28H8c-.605 0-1.07.08-1.466.217a4.8 4.8 0 0 0-.97.485l-.048.029c-.504.308-.999.61-2.068.723C2.682 1.815 2 2.434 2 3.279v4c0 .851.685 1.433 1.357 1.616.849.232 1.574.787 2.132 1.41.56.626.914 1.28 1.039 1.638.199.575.356 1.54.428 2.591"/>\n</svg>';export{c as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,h as e}from"./p-cccacbd3.js";import{v as a}from"./p-9c5a453b.js";const t=class{constructor(e){r(this,e)}render(){return e("div",{key:"99d8b66bf2f31a5563ff9872077c7c3879dc8813",class:"container my-20"},e("div",{key:"76b8453c9d261b1b4772fc7e234b415f1ae3493b",class:"w-[300px]"},e("div",{key:"03b7569121f1c2c1f74e1117805f754c4f548a70",class:"bg-dark"},e("div",{key:"374de6bab6ef662acc860625a21a1002e6195b6e",class:"logo-container",innerHTML:a}))))}};t.style=".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}.bg-accent{background-color:var(--green-500)}.bg-dark{background-color:var(--grey-300)}.bg-strongest{background-color:var(--black)}.text-default{color:var(--black)}.text-inverse{color:var(--white)}.p-8{padding:0.5rem}.p-16{padding:1rem}.my-16{margin-top:1rem;margin-bottom:1rem}.my-20{margin-top:1.25rem;margin-bottom:1.25rem}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.w-\\[150px\\]{width:150px}.w-\\[300px\\]{width:300px}";export{t as logo_space}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as a}from"./p-cccacbd3.js";const c=class{constructor(a){e(this,a)}render(){return a("div",{key:"356476122714281daec61c548440aebde6539707",class:"w-full"},a("ul",{key:"970f3773e8974095cc033f903f064184ce2efbf7",class:"gap-y-8 md:gap-y-12 lg:gap-y-16"},a("li",{key:"09633a00f33076131e1af2c84897fc5e427cb8fe",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"0f6fa253191124f68f38e252cbdd816b2e6a4fed",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"3ea0d517cda698486a86d84b08638e0571a83cbd",class:"spacing-sample m-32 bg-darker"},a("span",{key:"705336858b45b26fc7949af2c06c7aa0caf06521",class:"text-white"},"Margin: 2rem / m-32")))),a("li",{key:"0f6db988457ea76155bc8d0f7aa24a6a987b0faa",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"8eefc5b4f1c1decfb77d54b03ab3fd00a303142c",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"ee398d39118bf544bc6b02b4788b53f6625af2f8",class:"spacing-sample ml-64 bg-darker"},a("span",{key:"dfc2b6c02727298e8d307c26b00c77cbad7c741d",class:"text-white"},"Margin Left: 4rem / ml-64")))),a("li",{key:"f2f058f6576c56b4785675b173a5720bc8b8b5a2",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"79b1d6d5d1a5adf9168d48f21917fd5a45921d4d",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"037bc78f10b1aa70d8dd658d4d0f2f5c4689b9b4",class:"spacing-sample mt-32 bg-darker"},a("span",{key:"44f1f4a3c85670448aa3888a28d9c977ca786f86",class:"text-white"},"Margin Top: 2rem / mt-32")))),a("li",{key:"7c20e01a04b1d76d4dcffc14f4df75f5021ece20",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"07a56f648b690e078b21070a55a605c02347d609",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"231c4279bdae8065ef24fec89eecb78651e04611",class:"spacing-sample p-32 bg-darker"},a("span",{key:"a07ed52edd29aa0aa6f6b3f246f5a9c0ae01a1d7",class:"text-white"},"Padding: 2rem / p-32")))),a("li",{key:"9d03ce15cd0d729158e95aa57cfa16ffc198d61f",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"96166a0e3ecfd6c6a66c994964fa15bee8bde642",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"5ab66866c84be4bce570f0b88893b897e9055975",class:"spacing-sample pt-32 bg-darker"},a("span",{key:"97a396c5d1411994f85e02da470c225a61ceecc3",class:"text-white"},"Padding Top: 2rem / pt-32")))),a("li",{key:"73e0a494873f0223be3631e317a0de839837c6c0",class:"grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"},a("div",{key:"b6d16c13e18c51a9e458beb6a09ba8363016f78f",class:"container p-8 item-center border-2 border-soft"},a("div",{key:"31ecca8519713956f36adeab4ec9d948366ef60c",class:"spacing-sample pl-32 bg-darker"},a("span",{key:"5be84ed80ae0f13b350a69bced77af95ab9b9a12",class:"text-white"},"Padding Left: 2rem / pl-32"))))))}};export{c as token_spacing}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as e}from"./p-cccacbd3.js";import{c as r}from"./p-8983de37.js";const c=class{constructor(e){s(this,e),this.class=""}render(){return e("span",{key:"8e4dedef0fe684fdd6078db8005661e49207da55",class:this.class,innerHTML:r})}};export{c as eds_icon_close}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{c}from"./p-4587d0ef.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"c723d7f1bbd596063ae7e66123b8038af5320a54",class:this.class,innerHTML:c})}};export{e as eds_icon_chevron_down}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const c='<svg xmlns="http://www.w3.org/2000/svg" width="20"\nheight="20" fill="currentColor" class="bi bi-hand-thumbs-up-fill" viewBox="0 0 16 16">\n <path d="M6.956 1.745C7.021.81 7.908.087 8.864.325l.261.066c.463.116.874.456 1.012.965.22.816.533 2.511.062 4.51a10 10 0 0 1 .443-.051c.713-.065 1.669-.072 2.516.21.518.173.994.681 1.2 1.273.184.532.16 1.162-.234 1.733q.086.18.138.363c.077.27.113.567.113.856s-.036.586-.113.856c-.039.135-.09.273-.16.404.169.387.107.819-.003 1.148a3.2 3.2 0 0 1-.488.901c.054.152.076.312.076.465 0 .305-.089.625-.253.912C13.1 15.522 12.437 16 11.5 16H8c-.605 0-1.07-.081-1.466-.218a4.8 4.8 0 0 1-.97-.484l-.048-.03c-.504-.307-.999-.609-2.068-.722C2.682 14.464 2 13.846 2 13V9c0-.85.685-1.432 1.357-1.615.849-.232 1.574-.787 2.132-1.41.56-.627.914-1.28 1.039-1.639.199-.575.356-1.539.428-2.59z"/>\n</svg>';export{c as t}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as e,h as r,g as i}from"./p-cccacbd3.js";const a=class{constructor(r){t(this,r),this.rating=e(this,"rating",7),this.ratingType="star",this.ratingCount=5,this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((t=>{this.emitContext(t)}))}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});t.dispatchEvent(e)}handleClick(t){this.selectedRating=t,this.rating.emit(t)}render(){return r("div",{key:"2ab4f3dbc4cc3dd5272143e99c67b23086b03e18",role:"radiogroup",class:"stars flex space-x-1 my-8"},Array.from({length:this.ratingCount},((t,e)=>{const i=e+1,a=i<=this.selectedRating;return r("eds-button",{icon:this.ratingType,role:"radio","aria-checked":a?"true":"false","aria-label":this.ratingType,onClick:()=>this.handleClick(i),tabIndex:0===this.selectedRating&&0===e||a?0:-1,intent:a?"primary":"ghost",size:"large","extra-class":"p-2"})})))}get el(){return i(this)}};a.style=":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)))}";export{a as eds_rating}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="s-id",f="c-id",u="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",d="undefined"!=typeof window?window:{},$=d.document||{head:{}},h={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},p=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),v=!1,y=[],b=[],w=(e,t)=>n=>{e.push(n),v||(v=!0,t&&4&h.l?S(k):h.raf(k))},g=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},k=()=>{g(y),g(b),(v=y.length>0)&&h.raf(k)},S=e=>p().then(e),j=w(b,!0),E={},x=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>M,map:()=>P,ok:()=>C,unwrap:()=>D,unwrapErr:()=>I});var C=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function P(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return M(e.value);throw"should never get here"}var R,A,T,D=e=>{if(e.isOk)return e.value;throw e.value},I=e=>{if(e.isErr)return e.value;throw e.value},H=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!x(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,U);const u=L(e,null);return u.u=t,c.length>0&&(u.$=c),u.h=o,u.p=s,u},L=(e,t)=>({l:0,m:e,i:t,v:null,$:null,u:null,h:null,p:null}),N={},U={forEach:(e,t)=>e.map(F).forEach(t),map:(e,t)=>e.map(F).map(t).map(W)},F=e=>({vattrs:e.u,vchildren:e.$,vkey:e.h,vname:e.p,vtag:e.m,vtext:e.i}),W=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),H(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.$=e.vchildren,t.h=e.vkey,t.p=e.vname,t},q=(e,t,n,l,o,s,i)=>{let r,c,u,a;if(1===s.nodeType){if(r=s.getAttribute(f),r&&(c=r.split("."),c[0]!==i&&"0"!==c[0]||(u={l:0,k:c[0],S:c[1],j:c[2],O:c[3],m:s.tagName.toLowerCase(),v:s,u:null,$:null,h:null,p:null,i:null},t.push(u),s.removeAttribute(f),e.$||(e.$=[]),e.$[u.O]=u,e=u,l&&"0"===u.j&&(l[u.O]=u.v))),s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)q(e,t,n,l,o,s.shadowRoot.childNodes[a],i);for(a=s.childNodes.length-1;a>=0;a--)q(e,t,n,l,o,s.childNodes[a],i)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==i&&"0"!==c[1]||(r=c[0],u={l:0,k:c[1],S:c[2],j:c[3],O:c[4],v:s,u:null,$:null,h:null,p:null,m:null,i:null},"t"===r?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,t.push(u),s.remove(),e.$||(e.$=[]),e.$[u.O]=u,l&&"0"===u.j&&(l[u.O]=u.v))):u.k===i&&("s"===r?(u.m="slot",s["s-sn"]=c[5]?u.p=c[5]:"",s["s-sr"]=!0,l&&(u.v=$.createElement(u.m),u.p&&u.v.setAttribute("name",u.p),s.parentNode.insertBefore(u.v,s),s.remove(),"0"===u.j&&(l[u.O]=u.v)),n.push(u),e.$||(e.$=[]),e.$[u.O]=u):"r"===r&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.m){const t=L(null,s.textContent);t.v=s,t.O="0",e.$=[t]}},G=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)G(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)G(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},V=e=>n(e).$hostElement$,_=(e,t,n)=>{const l=V(e);return{emit:e=>z(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},z=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},B=new WeakMap,J=(e,t)=>{var n;const l=K(t),o=r.get(l);if(e=11===e.nodeType?e:$,o)if("string"==typeof o){let s,i=B.get(e=e.head||e);if(i||B.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=$.createElement("style"),s.innerHTML=o;const l=null!=(n=h.C)?n:O($);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else"host"in e?e.prepend(s):e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=u),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},K=e=>"sc-"+e.M,Q=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=Y(n),s=Y(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=x(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(a,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,f?e.setAttributeNS(a,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(d,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(Z);t=t.replace(ee,""),n&&h.rel(e,t,n,o),l&&h.ael(e,t,l,o)}}},X=/\s/,Y=e=>e?e.split(X):[],Z="Capture",ee=RegExp(Z+"$"),te=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||E,s=t.u||E;for(const e of ne(Object.keys(o)))e in s||Q(l,e,o[e],void 0,n,t.l);for(const e of ne(Object.keys(s)))Q(l,e,o[e],s[e],n,t.l)};function ne(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var le=!1,oe=!1,se=!1,ie=!1,re=(e,t,n,l)=>{var o;const s=t.$[n];let i,r,c,f=0;if(le||(se=!0,"slot"===s.m&&(R&&l.classList.add(R+"-s"),s.l|=s.$?2:1)),null!==s.i)i=s.v=$.createTextNode(s.i);else if(1&s.l)i=s.v=$.createTextNode("");else if(i=s.v=$.createElement(!le&&2&s.l?"slot-fb":s.m),te(null,s,ie),i.getRootNode().querySelector("body"),s.$)for(f=0;f<s.$.length;++f)r=re(e,s,f,i),r&&i.appendChild(r);return i["s-hn"]=T,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=A,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.$&&e.$[n],c&&c.m===s.m&&e.v&&ce(e.v,!1)),i},ce=(e,t)=>{h.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==T&&l["s-ol"]&&(we($e(l),l,de(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,se=!0),t&&ce(l,t)}h.l&=-2},fe=(e,t,n,l,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=re(null,n,o,e),i&&(l[o].v=i,we(r,i,de(t))))},ue=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;be(t),e&&(oe=!0,e["s-ol"]?e["s-ol"].remove():ce(e,!0),e.remove())}}},ae=(e,t,n=!1)=>!(e.m!==t.m||("slot"===e.m?"S"in e&&n&&8!==e.v.nodeType||e.p!==t.p:!n&&e.h!==t.h)),de=e=>e&&e["s-ol"]||e,$e=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,he=(e,t,n=!1)=>{const l=t.v=e.v,o=e.$,s=t.$,i=t.i;let r;null===i?(("slot"!==t.m||le)&&te(e,t,ie),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],h=l.length-1,p=l[0],m=l[h];for(;r<=a&&c<=h;)if(null==d)d=t[++r];else if(null==$)$=t[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--h];else if(ae(d,p,o))he(d,p,o),d=t[++r],p=l[++c];else if(ae($,m,o))he($,m,o),$=t[--a],m=l[--h];else if(ae(d,m,o))"slot"!==d.m&&"slot"!==m.m||ce(d.v.parentNode,!1),he(d,m,o),we(e,d.v,$.v.nextSibling),d=t[++r],m=l[--h];else if(ae($,p,o))"slot"!==d.m&&"slot"!==m.m||ce($.v.parentNode,!1),he($,p,o),we(e,$.v,d.v),$=t[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].h&&t[u].h===p.h){f=u;break}f>=0?(i=t[f],i.m!==p.m?s=re(t&&t[c],n,f,e):(he(i,p,o),t[f]=void 0,s=i.v),p=l[++c]):(s=re(t&&t[c],n,c,e),p=l[++c]),s&&we($e(d.v),s,de(d.v))}r>a?fe(e,null==l[h+1]?null:l[h+1].v,n,l,c,h):c>h&&ue(t,r,a)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),fe(l,null,t,s,0,s.length-1)):!n&&null!==o&&ue(o,0,o.length-1)):(r=l["s-cr"])?r.parentNode.textContent=i:e.i!==i&&(l.data=i)},pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}pe(e)}},me=[],ve=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(ye(t,e)){let n=me.find((e=>e.P===t));oe=!0,t["s-sn"]=t["s-sn"]||e,n?(n.P["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],me.push({R:o,P:t})),t["s-sr"]&&me.map((e=>{ye(e.P,t["s-sn"])&&(n=me.find((e=>e.P===t)),n&&!e.R&&(e.R=n.R))}))}else me.some((e=>e.P===t))||me.push({P:t})}1===o.nodeType&&ve(o)}},ye=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,be=e=>{e.u&&e.u.ref&&e.u.ref(null),e.$&&e.$.map(be)},we=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ge=(e,t)=>{t&&!e.A&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.A=t)))},ke=(e,t)=>{if(e.l|=16,!(4&e.l))return ge(e,e.T),j((()=>Se(e,t)));e.l|=512},Se=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.D&&(e.D.map((([e,t])=>Pe(n,e,t))),e.D=void 0),l=Pe(n,"componentWillLoad")),je(l,(()=>xe(e,n,t)))},je=(e,t)=>Ee(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ee=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,xe=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.I,n=e.$hostElement$,l=t.l,o=J(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Oe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>Ce(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Oe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,i;const r=e.$hostElement$,c=e.I,f=e.H||L(null,null),u=(e=>e&&e.m===N)(t)?t:H(null,null,t);if(T=r.tagName,c.L&&(u.u=u.u||{},c.L.map((([e,t])=>u.u[t]=r[e]))),n&&u.u)for(const e of Object.keys(u.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=r[e]);if(u.m=null,u.l|=4,e.H=u,u.v=f.v=r.shadowRoot||r,R=r["s-sc"],le=!!(1&c.l),A=r["s-cr"],oe=!1,he(f,u,n),h.l|=1,se){ve(u.v);for(const e of me){const t=e.P;if(!t["s-ol"]){const e=$.createTextNode("");e["s-nr"]=t,we(t.parentNode,t["s-ol"]=e,t)}}for(const e of me){const t=e.P,r=e.R;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),we(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}oe&&pe(u.v),h.l&=-2,me.length=0,A=void 0})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},Ce=e=>{const t=e.$hostElement$,n=e.t,l=e.T;64&e.l?Pe(n,"componentDidUpdate"):(e.l|=64,Re(t),Pe(n,"componentDidLoad"),e.N(t),l||Me()),e.U(t),e.A&&(e.A(),e.A=void 0),512&e.l&&S((()=>ke(e,!1))),e.l&=-517},Me=()=>{Re($.documentElement),S((()=>z(d,"appload",{detail:{namespace:"components"}})))},Pe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Re=e=>e.classList.add("hydrated"),Ae=(e,t,l)=>{var o,i;const r=e.prototype;if(t.F||t.W||e.watchers){e.watchers&&!t.W&&(t.W=e.watchers);const c=Object.entries(null!=(o=t.F)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).q.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.M}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.q.get(t),f=i.l,u=i.t;if(l=((e,t)=>null==e||x(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.F[t][0]),(!(8&f)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.q.set(t,l),u)){if(o.W&&128&f){const e=o.W[t];e&&e.map((e=>{try{u[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&f)&&ke(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(r,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.G)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){h.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.W)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.W)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.L)||o.push([e,s])),s}))]))}}return e},Te=e=>{Pe(e,"connectedCallback")},De=e=>{if(!(1&h.l)){const t=n(e),l=t.I,o=()=>{};if(1&t.l)Ne(e,t,l.V),(null==t?void 0:t.t)?Te(t.t):(null==t?void 0:t._)&&t._.then((()=>Te(t.t)));else{let n;if(t.l|=1,n=e.getAttribute(c),n){if(1&l.l){const t=J(e.shadowRoot,l);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,r=l.H=L(t,null);h.B||G($.body,h.B=new Map),e[c]=n,e.removeAttribute(c),q(r,s,[],i,e,e,n),s.map((e=>{const n=e.k+"."+e.S,l=h.B.get(n),s=e.v;l&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),h.B.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,l.M,n,t)}n||12&l.l&&Ie(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ge(t,t.T=n);break}}l.F&&Object.entries(l.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.J){const e=(e=>{const t=e.M.replace(/-/g,"_"),n=e.J;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.M}#${t.K}" was not found`);l.isProxied||(n.W=l.watchers,Ae(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),Te(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=K(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.T,c=()=>ke(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}},
|
|
1
|
+
var e=Object.defineProperty,t=new WeakMap,n=e=>t.get(e),l=(e,n)=>t.set(n.t=e,n),o=(e,t)=>t in e,s=(e,t)=>(0,console.error)(e,t),i=new Map,r=new Map,c="s-id",f="c-id",u="slot-fb{display:contents}slot-fb[hidden]{display:none}",a="http://www.w3.org/1999/xlink",d="undefined"!=typeof window?window:{},$=d.document||{head:{}},h={l:0,o:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,n,l)=>e.addEventListener(t,n,l),rel:(e,t,n,l)=>e.removeEventListener(t,n,l),ce:(e,t)=>new CustomEvent(e,t)},p=e=>Promise.resolve(e),m=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch(e){}return!1})(),v=!1,y=[],b=[],w=(e,t)=>n=>{e.push(n),v||(v=!0,t&&4&h.l?S(k):h.raf(k))},g=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(e){s(e)}e.length=0},k=()=>{g(y),g(b),(v=y.length>0)&&h.raf(k)},S=e=>p().then(e),j=w(b,!0),E={},x=e=>"object"==(e=typeof e)||"function"===e;function O(e){var t,n,l;return null!=(l=null==(n=null==(t=e.head)?void 0:t.querySelector('meta[name="csp-nonce"]'))?void 0:n.getAttribute("content"))?l:void 0}((t,n)=>{for(var l in n)e(t,l,{get:n[l],enumerable:!0})})({},{err:()=>M,map:()=>P,ok:()=>C,unwrap:()=>D,unwrapErr:()=>H});var C=e=>({isOk:!0,isErr:!1,value:e}),M=e=>({isOk:!1,isErr:!0,value:e});function P(e,t){if(e.isOk){const n=t(e.value);return n instanceof Promise?n.then((e=>C(e))):C(n)}if(e.isErr)return M(e.value);throw"should never get here"}var R,A,T,D=e=>{if(e.isOk)return e.value;throw e.value},H=e=>{if(e.isErr)return e.value;throw e.value},I=(e,t,...n)=>{let l=null,o=null,s=null,i=!1,r=!1;const c=[],f=t=>{for(let n=0;n<t.length;n++)l=t[n],Array.isArray(l)?f(l):null!=l&&"boolean"!=typeof l&&((i="function"!=typeof e&&!x(l))&&(l+=""),i&&r?c[c.length-1].i+=l:c.push(i?L(null,l):l),r=i)};if(f(n),t){t.key&&(o=t.key),t.name&&(s=t.name);{const e=t.className||t.class;e&&(t.class="object"!=typeof e?e:Object.keys(e).filter((t=>e[t])).join(" "))}}if("function"==typeof e)return e(null===t?{}:t,c,U);const u=L(e,null);return u.u=t,c.length>0&&(u.$=c),u.h=o,u.p=s,u},L=(e,t)=>({l:0,m:e,i:t,v:null,$:null,u:null,h:null,p:null}),N={},U={forEach:(e,t)=>e.map(F).forEach(t),map:(e,t)=>e.map(F).map(t).map(W)},F=e=>({vattrs:e.u,vchildren:e.$,vkey:e.h,vname:e.p,vtag:e.m,vtext:e.i}),W=e=>{if("function"==typeof e.vtag){const t={...e.vattrs};return e.vkey&&(t.key=e.vkey),e.vname&&(t.name=e.vname),I(e.vtag,t,...e.vchildren||[])}const t=L(e.vtag,e.vtext);return t.u=e.vattrs,t.$=e.vchildren,t.h=e.vkey,t.p=e.vname,t},q=(e,t,n,l,o,s,i)=>{let r,c,u,a;if(1===s.nodeType){if(r=s.getAttribute(f),r&&(c=r.split("."),c[0]!==i&&"0"!==c[0]||(u={l:0,k:c[0],S:c[1],j:c[2],O:c[3],m:s.tagName.toLowerCase(),v:s,u:null,$:null,h:null,p:null,i:null},t.push(u),s.removeAttribute(f),e.$||(e.$=[]),e.$[u.O]=u,e=u,l&&"0"===u.j&&(l[u.O]=u.v))),s.shadowRoot)for(a=s.shadowRoot.childNodes.length-1;a>=0;a--)q(e,t,n,l,o,s.shadowRoot.childNodes[a],i);for(a=s.childNodes.length-1;a>=0;a--)q(e,t,n,l,o,s.childNodes[a],i)}else if(8===s.nodeType)c=s.nodeValue.split("."),c[1]!==i&&"0"!==c[1]||(r=c[0],u={l:0,k:c[1],S:c[2],j:c[3],O:c[4],v:s,u:null,$:null,h:null,p:null,m:null,i:null},"t"===r?(u.v=s.nextSibling,u.v&&3===u.v.nodeType&&(u.i=u.v.textContent,t.push(u),s.remove(),e.$||(e.$=[]),e.$[u.O]=u,l&&"0"===u.j&&(l[u.O]=u.v))):u.k===i&&("s"===r?(u.m="slot",s["s-sn"]=c[5]?u.p=c[5]:"",s["s-sr"]=!0,l&&(u.v=$.createElement(u.m),u.p&&u.v.setAttribute("name",u.p),s.parentNode.insertBefore(u.v,s),s.remove(),"0"===u.j&&(l[u.O]=u.v)),n.push(u),e.$||(e.$=[]),e.$[u.O]=u):"r"===r&&(l?s.remove():(o["s-cr"]=s,s["s-cn"]=!0))));else if(e&&"style"===e.m){const t=L(null,s.textContent);t.v=s,t.O="0",e.$=[t]}},G=(e,t)=>{if(1===e.nodeType){let n=0;if(e.shadowRoot)for(;n<e.shadowRoot.childNodes.length;n++)G(e.shadowRoot.childNodes[n],t);for(n=0;n<e.childNodes.length;n++)G(e.childNodes[n],t)}else if(8===e.nodeType){const n=e.nodeValue.split(".");"o"===n[0]&&(t.set(n[1]+"."+n[2],e),e.nodeValue="",e["s-en"]=n[3])}},V=e=>n(e).$hostElement$,_=(e,t,n)=>{const l=V(e);return{emit:e=>z(l,t,{bubbles:!!(4&n),composed:!!(2&n),cancelable:!!(1&n),detail:e})}},z=(e,t,n)=>{const l=h.ce(t,n);return e.dispatchEvent(l),l},B=new WeakMap,J=(e,t)=>{var n;const l=K(t),o=r.get(l);if(e=11===e.nodeType?e:$,o)if("string"==typeof o){let s,i=B.get(e=e.head||e);if(i||B.set(e,i=new Set),!i.has(l)){if(e.host&&(s=e.querySelector(`[sty-id="${l}"]`)))s.innerHTML=o;else{s=$.createElement("style"),s.innerHTML=o;const l=null!=(n=h.C)?n:O($);if(null!=l&&s.setAttribute("nonce",l),!(1&t.l))if("HEAD"===e.nodeName){const t=e.querySelectorAll("link[rel=preconnect]"),n=t.length>0?t[t.length-1].nextSibling:e.querySelector("style");e.insertBefore(s,n)}else"host"in e?e.prepend(s):e.append(s);1&t.l&&"HEAD"!==e.nodeName&&e.insertBefore(s,null)}4&t.l&&(s.innerHTML+=u),i&&i.add(l)}}else e.adoptedStyleSheets.includes(o)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,o]);return l},K=e=>"sc-"+e.M,Q=(e,t,n,l,s,i)=>{if(n!==l){let r=o(e,t),c=t.toLowerCase();if("class"===t){const t=e.classList,o=Y(n),s=Y(l);t.remove(...o.filter((e=>e&&!s.includes(e)))),t.add(...s.filter((e=>e&&!o.includes(e))))}else if("style"===t){for(const t in n)l&&null!=l[t]||(t.includes("-")?e.style.removeProperty(t):e.style[t]="");for(const t in l)n&&l[t]===n[t]||(t.includes("-")?e.style.setProperty(t,l[t]):e.style[t]=l[t])}else if("key"===t);else if("ref"===t)l&&l(e);else if(r||"o"!==t[0]||"n"!==t[1]){const o=x(l);if((r||o&&null!==l)&&!s)try{if(e.tagName.includes("-"))e[t]=l;else{const o=null==l?"":l;"list"===t?r=!1:null!=n&&e[t]==o||("function"==typeof e.__lookupSetter__(t)?e[t]=o:e.setAttribute(t,o))}}catch(e){}let f=!1;c!==(c=c.replace(/^xlink\:?/,""))&&(t=c,f=!0),null==l||!1===l?!1===l&&""!==e.getAttribute(t)||(f?e.removeAttributeNS(a,t):e.removeAttribute(t)):(!r||4&i||s)&&!o&&(l=!0===l?"":l,f?e.setAttributeNS(a,t,l):e.setAttribute(t,l))}else if(t="-"===t[2]?t.slice(3):o(d,c)?c.slice(2):c[2]+t.slice(3),n||l){const o=t.endsWith(Z);t=t.replace(ee,""),n&&h.rel(e,t,n,o),l&&h.ael(e,t,l,o)}}},X=/\s/,Y=e=>e?e.split(X):[],Z="Capture",ee=RegExp(Z+"$"),te=(e,t,n)=>{const l=11===t.v.nodeType&&t.v.host?t.v.host:t.v,o=e&&e.u||E,s=t.u||E;for(const e of ne(Object.keys(o)))e in s||Q(l,e,o[e],void 0,n,t.l);for(const e of ne(Object.keys(s)))Q(l,e,o[e],s[e],n,t.l)};function ne(e){return e.includes("ref")?[...e.filter((e=>"ref"!==e)),"ref"]:e}var le=!1,oe=!1,se=!1,ie=!1,re=(e,t,n,l)=>{var o;const s=t.$[n];let i,r,c,f=0;if(le||(se=!0,"slot"===s.m&&(R&&l.classList.add(R+"-s"),s.l|=s.$?2:1)),null!==s.i)i=s.v=$.createTextNode(s.i);else if(1&s.l)i=s.v=$.createTextNode("");else if(i=s.v=$.createElement(!le&&2&s.l?"slot-fb":s.m),te(null,s,ie),i.getRootNode().querySelector("body"),s.$)for(f=0;f<s.$.length;++f)r=re(e,s,f,i),r&&i.appendChild(r);return i["s-hn"]=T,3&s.l&&(i["s-sr"]=!0,i["s-cr"]=A,i["s-sn"]=s.p||"",i["s-rf"]=null==(o=s.u)?void 0:o.ref,c=e&&e.$&&e.$[n],c&&c.m===s.m&&e.v&&ce(e.v,!1)),i},ce=(e,t)=>{h.l|=1;const n=Array.from(e.childNodes);for(let e=n.length-1;e>=0;e--){const l=n[e];l["s-hn"]!==T&&l["s-ol"]&&(we($e(l),l,de(l)),l["s-ol"].remove(),l["s-ol"]=void 0,l["s-sh"]=void 0,se=!0),t&&ce(l,t)}h.l&=-2},fe=(e,t,n,l,o,s)=>{let i,r=e["s-cr"]&&e["s-cr"].parentNode||e;for(r.shadowRoot&&r.tagName===T&&(r=r.shadowRoot);o<=s;++o)l[o]&&(i=re(null,n,o,e),i&&(l[o].v=i,we(r,i,de(t))))},ue=(e,t,n)=>{for(let l=t;l<=n;++l){const t=e[l];if(t){const e=t.v;be(t),e&&(oe=!0,e["s-ol"]?e["s-ol"].remove():ce(e,!0),e.remove())}}},ae=(e,t,n=!1)=>!(e.m!==t.m||("slot"===e.m?"S"in e&&n&&8!==e.v.nodeType||e.p!==t.p:!n&&e.h!==t.h)),de=e=>e&&e["s-ol"]||e,$e=e=>(e["s-ol"]?e["s-ol"]:e).parentNode,he=(e,t,n=!1)=>{const l=t.v=e.v,o=e.$,s=t.$,i=t.i;let r;null===i?(("slot"!==t.m||le)&&te(e,t,ie),null!==o&&null!==s?((e,t,n,l,o=!1)=>{let s,i,r=0,c=0,f=0,u=0,a=t.length-1,d=t[0],$=t[a],h=l.length-1,p=l[0],m=l[h];for(;r<=a&&c<=h;)if(null==d)d=t[++r];else if(null==$)$=t[--a];else if(null==p)p=l[++c];else if(null==m)m=l[--h];else if(ae(d,p,o))he(d,p,o),d=t[++r],p=l[++c];else if(ae($,m,o))he($,m,o),$=t[--a],m=l[--h];else if(ae(d,m,o))"slot"!==d.m&&"slot"!==m.m||ce(d.v.parentNode,!1),he(d,m,o),we(e,d.v,$.v.nextSibling),d=t[++r],m=l[--h];else if(ae($,p,o))"slot"!==d.m&&"slot"!==m.m||ce($.v.parentNode,!1),he($,p,o),we(e,$.v,d.v),$=t[--a],p=l[++c];else{for(f=-1,u=r;u<=a;++u)if(t[u]&&null!==t[u].h&&t[u].h===p.h){f=u;break}f>=0?(i=t[f],i.m!==p.m?s=re(t&&t[c],n,f,e):(he(i,p,o),t[f]=void 0,s=i.v),p=l[++c]):(s=re(t&&t[c],n,c,e),p=l[++c]),s&&we($e(d.v),s,de(d.v))}r>a?fe(e,null==l[h+1]?null:l[h+1].v,n,l,c,h):c>h&&ue(t,r,a)})(l,o,t,s,n):null!==s?(null!==e.i&&(l.textContent=""),fe(l,null,t,s,0,s.length-1)):!n&&null!==o&&ue(o,0,o.length-1)):(r=l["s-cr"])?r.parentNode.textContent=i:e.i!==i&&(l.data=i)},pe=e=>{const t=e.childNodes;for(const e of t)if(1===e.nodeType){if(e["s-sr"]){const n=e["s-sn"];e.hidden=!1;for(const l of t)if(l!==e)if(l["s-hn"]!==e["s-hn"]||""!==n){if(1===l.nodeType&&(n===l.getAttribute("slot")||n===l["s-sn"])||3===l.nodeType&&n===l["s-sn"]){e.hidden=!0;break}}else if(1===l.nodeType||3===l.nodeType&&""!==l.textContent.trim()){e.hidden=!0;break}}pe(e)}},me=[],ve=e=>{let t,n,l;for(const o of e.childNodes){if(o["s-sr"]&&(t=o["s-cr"])&&t.parentNode){n=t.parentNode.childNodes;const e=o["s-sn"];for(l=n.length-1;l>=0;l--)if(t=n[l],!t["s-cn"]&&!t["s-nr"]&&t["s-hn"]!==o["s-hn"])if(ye(t,e)){let n=me.find((e=>e.P===t));oe=!0,t["s-sn"]=t["s-sn"]||e,n?(n.P["s-sh"]=o["s-hn"],n.R=o):(t["s-sh"]=o["s-hn"],me.push({R:o,P:t})),t["s-sr"]&&me.map((e=>{ye(e.P,t["s-sn"])&&(n=me.find((e=>e.P===t)),n&&!e.R&&(e.R=n.R))}))}else me.some((e=>e.P===t))||me.push({P:t})}1===o.nodeType&&ve(o)}},ye=(e,t)=>1===e.nodeType?null===e.getAttribute("slot")&&""===t||e.getAttribute("slot")===t:e["s-sn"]===t||""===t,be=e=>{e.u&&e.u.ref&&e.u.ref(null),e.$&&e.$.map(be)},we=(e,t,n)=>null==e?void 0:e.insertBefore(t,n),ge=(e,t)=>{t&&!e.A&&t["s-p"]&&t["s-p"].push(new Promise((t=>e.A=t)))},ke=(e,t)=>{if(e.l|=16,!(4&e.l))return ge(e,e.T),j((()=>Se(e,t)));e.l|=512},Se=(e,t)=>{const n=e.t;if(!n)throw Error(`Can't render component <${e.$hostElement$.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let l;return t&&(e.l|=256,e.D&&(e.D.map((([e,t])=>Pe(n,e,t))),e.D=void 0),l=Pe(n,"componentWillLoad")),je(l,(()=>xe(e,n,t)))},je=(e,t)=>Ee(e)?e.then(t).catch((e=>{console.error(e),t()})):t(),Ee=e=>e instanceof Promise||e&&e.then&&"function"==typeof e.then,xe=async(e,t,n)=>{var l;const o=e.$hostElement$,s=o["s-rc"];n&&(e=>{const t=e.H,n=e.$hostElement$,l=t.l,o=J(n.shadowRoot?n.shadowRoot:n.getRootNode(),t);10&l&&2&l&&(n["s-sc"]=o,n.classList.add(o+"-h"))})(e);Oe(e,t,o,n),s&&(s.map((e=>e())),o["s-rc"]=void 0);{const t=null!=(l=o["s-p"])?l:[],n=()=>Ce(e);0===t.length?n():(Promise.all(t).then(n),e.l|=4,t.length=0)}},Oe=(e,t,n,l)=>{try{t=t.render(),e.l&=-17,e.l|=2,((e,t,n=!1)=>{var l,o,s,i;const r=e.$hostElement$,c=e.H,f=e.I||L(null,null),u=(e=>e&&e.m===N)(t)?t:I(null,null,t);if(T=r.tagName,c.L&&(u.u=u.u||{},c.L.map((([e,t])=>u.u[t]=r[e]))),n&&u.u)for(const e of Object.keys(u.u))r.hasAttribute(e)&&!["key","ref","style","class"].includes(e)&&(u.u[e]=r[e]);if(u.m=null,u.l|=4,e.I=u,u.v=f.v=r.shadowRoot||r,R=r["s-sc"],le=!!(1&c.l),A=r["s-cr"],oe=!1,he(f,u,n),h.l|=1,se){ve(u.v);for(const e of me){const t=e.P;if(!t["s-ol"]){const e=$.createTextNode("");e["s-nr"]=t,we(t.parentNode,t["s-ol"]=e,t)}}for(const e of me){const t=e.P,r=e.R;if(r){const e=r.parentNode;let n=r.nextSibling;{let s=null==(l=t["s-ol"])?void 0:l.previousSibling;for(;s;){let l=null!=(o=s["s-nr"])?o:null;if(l&&l["s-sn"]===t["s-sn"]&&e===l.parentNode){for(l=l.nextSibling;l===t||(null==l?void 0:l["s-sr"]);)l=null==l?void 0:l.nextSibling;if(!l||!l["s-nr"]){n=l;break}}s=s.previousSibling}}(!n&&e!==t.parentNode||t.nextSibling!==n)&&t!==n&&(!t["s-hn"]&&t["s-ol"]&&(t["s-hn"]=t["s-ol"].parentNode.nodeName),we(e,t,n),1===t.nodeType&&(t.hidden=null!=(s=t["s-ih"])&&s)),t&&"function"==typeof r["s-rf"]&&r["s-rf"](t)}else 1===t.nodeType&&(n&&(t["s-ih"]=null!=(i=t.hidden)&&i),t.hidden=!0)}}oe&&pe(u.v),h.l&=-2,me.length=0,A=void 0})(e,t,l)}catch(t){s(t,e.$hostElement$)}return null},Ce=e=>{const t=e.$hostElement$,n=e.t,l=e.T;64&e.l?Pe(n,"componentDidUpdate"):(e.l|=64,Re(t),Pe(n,"componentDidLoad"),e.N(t),l||Me()),e.U(t),e.A&&(e.A(),e.A=void 0),512&e.l&&S((()=>ke(e,!1))),e.l&=-517},Me=()=>{Re($.documentElement),S((()=>z(d,"appload",{detail:{namespace:"components"}})))},Pe=(e,t,n)=>{if(e&&e[t])try{return e[t](n)}catch(e){s(e)}},Re=e=>e.classList.add("hydrated"),Ae=(e,t,l)=>{var o,i;const r=e.prototype;if(t.F||t.W||e.watchers){e.watchers&&!t.W&&(t.W=e.watchers);const c=Object.entries(null!=(o=t.F)?o:{});if(c.map((([e,[o]])=>{31&o||2&l&&32&o?Object.defineProperty(r,e,{get(){return((e,t)=>n(this).q.get(t))(0,e)},set(l){((e,t,l,o)=>{const i=n(e);if(!i)throw Error(`Couldn't find host element for "${o.M}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const r=i.$hostElement$,c=i.q.get(t),f=i.l,u=i.t;if(l=((e,t)=>null==e||x(e)?e:4&t?"false"!==e&&(""===e||!!e):2&t?parseFloat(e):1&t?e+"":e)(l,o.F[t][0]),(!(8&f)||void 0===c)&&l!==c&&(!Number.isNaN(c)||!Number.isNaN(l))&&(i.q.set(t,l),u)){if(o.W&&128&f){const e=o.W[t];e&&e.map((e=>{try{u[e](l,c,t)}catch(e){s(e,r)}}))}2==(18&f)&&ke(i,!1)}})(this,e,l,t)},configurable:!0,enumerable:!0}):1&l&&64&o&&Object.defineProperty(r,e,{value(...t){var l;const o=n(this);return null==(l=null==o?void 0:o.G)?void 0:l.then((()=>{var n;return null==(n=o.t)?void 0:n[e](...t)}))}})})),1&l){const l=new Map;r.attributeChangedCallback=function(e,o,s){h.jmp((()=>{var i;const c=l.get(e);if(this.hasOwnProperty(c))s=this[c],delete this[c];else{if(r.hasOwnProperty(c)&&"number"==typeof this[c]&&this[c]==s)return;if(null==c){const l=n(this),r=null==l?void 0:l.l;if(r&&!(8&r)&&128&r&&s!==o){const n=l.t,r=null==(i=t.W)?void 0:i[e];null==r||r.forEach((t=>{null!=n[t]&&n[t].call(n,s,o,e)}))}return}}this[c]=(null!==s||"boolean"!=typeof this[c])&&s}))},e.observedAttributes=Array.from(new Set([...Object.keys(null!=(i=t.W)?i:{}),...c.filter((([e,t])=>15&t[0])).map((([e,n])=>{var o;const s=n[1]||e;return l.set(s,e),512&n[0]&&(null==(o=t.L)||o.push([e,s])),s}))]))}}return e},Te=e=>{Pe(e,"connectedCallback")},De=e=>{if(!(1&h.l)){const t=n(e),l=t.H,o=()=>{};if(1&t.l)Ne(e,t,l.V),(null==t?void 0:t.t)?Te(t.t):(null==t?void 0:t._)&&t._.then((()=>Te(t.t)));else{let n;if(t.l|=1,n=e.getAttribute(c),n){if(1&l.l){const t=J(e.shadowRoot,l);e.classList.remove(t+"-h",t+"-s")}((e,t,n,l)=>{const o=e.shadowRoot,s=[],i=o?[]:null,r=l.I=L(t,null);h.B||G($.body,h.B=new Map),e[c]=n,e.removeAttribute(c),q(r,s,[],i,e,e,n),s.map((e=>{const n=e.k+"."+e.S,l=h.B.get(n),s=e.v;l&&""===l["s-en"]&&l.parentNode.insertBefore(s,l.nextSibling),o||(s["s-hn"]=t,l&&(s["s-ol"]=l,s["s-ol"]["s-nr"]=s)),h.B.delete(n)})),o&&i.map((e=>{e&&o.appendChild(e)}))})(e,l.M,n,t)}n||12&l.l&&He(e);{let n=e;for(;n=n.parentNode||n.host;)if(1===n.nodeType&&n.hasAttribute("s-id")&&n["s-p"]||n["s-p"]){ge(t,t.T=n);break}}l.F&&Object.entries(l.F).map((([t,[n]])=>{if(31&n&&e.hasOwnProperty(t)){const n=e[t];delete e[t],e[t]=n}})),(async(e,t,n)=>{let l;if(!(32&t.l)){if(t.l|=32,n.J){const e=(e=>{const t=e.M.replace(/-/g,"_"),n=e.J;if(!n)return;const l=i.get(n);return l?l[t]:import(`./${n}.entry.js`).then((e=>(i.set(n,e),e[t])),s)
|
|
2
|
+
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/})(n);if(e&&"then"in e){const t=()=>{};l=await e,t()}else l=e;if(!l)throw Error(`Constructor for "${n.M}#${t.K}" was not found`);l.isProxied||(n.W=l.watchers,Ae(l,n,2),l.isProxied=!0);const o=()=>{};t.l|=8;try{new l(t)}catch(e){s(e)}t.l&=-9,t.l|=128,o(),Te(t.t)}else l=e.constructor,customElements.whenDefined(e.localName).then((()=>t.l|=128));if(l&&l.style){let e;"string"==typeof l.style&&(e=l.style);const t=K(n);if(!r.has(t)){const l=()=>{};((e,t,n)=>{let l=r.get(e);m&&n?(l=l||new CSSStyleSheet,"string"==typeof l?l=t:l.replaceSync(t)):l=t,r.set(e,l)})(t,e,!!(1&n.l)),l()}}}const o=t.T,c=()=>ke(t,!0);o&&o["s-rc"]?o["s-rc"].push(c):c()})(e,t,l)}o()}},He=e=>{const t=e["s-cr"]=$.createComment("");t["s-cn"]=!0,we(e,t,e.firstChild)},Ie=e=>{Pe(e,"disconnectedCallback")},Le=(e,l={})=>{var o;const s=[],i=l.exclude||[],r=d.customElements,c=$.head,f=c.querySelector("meta[charset]"),a=$.createElement("style"),p=[];let m,v=!0;Object.assign(h,l),h.o=new URL(l.resourcesUrl||"./",$.baseURI).href,h.l|=2;let y=!1;if(e.map((e=>{e[1].map((l=>{var o;const c={l:l[0],M:l[1],F:l[2],V:l[3]};4&c.l&&(y=!0),c.F=l[2],c.V=l[3],c.L=[],c.W=null!=(o=l[4])?o:{};const f=c.M,u=class extends HTMLElement{constructor(e){if(super(e),this.hasRegisteredEventListeners=!1,((e,n)=>{const l={l:0,$hostElement$:e,H:n,q:new Map};l.G=new Promise((e=>l.U=e)),l._=new Promise((e=>l.N=e)),e["s-p"]=[],e["s-rc"]=[],t.set(e,l)})(e=this,c),1&c.l)if(e.shadowRoot){if("open"!==e.shadowRoot.mode)throw Error(`Unable to re-use existing shadow root for ${c.M}! Mode is set to ${e.shadowRoot.mode} but Stencil only supports open shadow roots.`)}else e.attachShadow({mode:"open"})}connectedCallback(){const e=n(this);this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0,Ne(this,e,c.V)),m&&(clearTimeout(m),m=null),v?p.push(this):h.jmp((()=>De(this)))}disconnectedCallback(){h.jmp((()=>(async()=>{if(!(1&h.l)){const e=n(this);e.X&&(e.X.map((e=>e())),e.X=void 0),(null==e?void 0:e.t)?Ie(e.t):(null==e?void 0:e._)&&e._.then((()=>Ie(e.t)))}})()))}componentOnReady(){return n(this)._}};c.J=e[0],i.includes(f)||r.get(f)||(s.push(f),r.define(f,Ae(u,c,1)))}))})),s.length>0&&(y&&(a.textContent+=u),a.textContent+=s.sort()+"{visibility:hidden}.hydrated{visibility:inherit}",a.innerHTML.length)){a.setAttribute("data-styles","");const e=null!=(o=h.C)?o:O($);null!=e&&a.setAttribute("nonce",e),c.insertBefore(a,f?f.nextSibling:c.firstChild)}v=!1,p.length?p.map((e=>e.connectedCallback())):h.jmp((()=>m=setTimeout(Me,30)))},Ne=(e,t,n)=>{n&&n.map((([n,l,o])=>{const s=Fe(e,n),i=Ue(t,o),r=We(n);h.ael(s,l,i,r),(t.X=t.X||[]).push((()=>h.rel(s,l,i,r)))}))},Ue=(e,t)=>n=>{var l;try{256&e.l?null==(l=e.t)||l[t](n):(e.D=e.D||[]).push([t,n])}catch(e){s(e)}},Fe=(e,t)=>8&t?d:16&t?$.body:e,We=e=>({passive:!!(1&e),capture:!!(2&e)}),qe=e=>h.C=e;export{N as H,Le as b,_ as c,V as g,I as h,p,l as r,qe as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{t as r}from"./p-373119b3.js";const t=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"cd91bfb2003e955cfb02b5efc28e13b54cc3b7e6",class:this.class,innerHTML:r})}};export{t as eds_icon_twitter}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{u as c}from"./p-46d0716d.js";const t=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"15fa7c4b7d2dea5740d0926bb1ff6490b23667f8",class:this.class,innerHTML:c})}};export{t as eds_icon_user}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,h as e,g as r}from"./p-cccacbd3.js";import{c as a}from"./p-112122d6.js";const o=a(["relative right-4 bottom-4 w-auto p-12 rounded-lg shadow-md"],{variants:{intent:{default:"bg-dark text-light",success:"bg-success text-dark",error:"bg-error text-light",warning:"bg-warning text-dark"}},defaultVariants:{intent:"default"}}),i=class{constructor(e){t(this,e),this.dismissToast=()=>{this.visible=!1},this.message=void 0,this.intent="default",this.duration=5e3,this.visible=!0}componentDidLoad(){const t=this.el.shadowRoot.querySelector("eds-button");this.emitContext(t)}emitContext(t){const e=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:null}});t.dispatchEvent(e)}connectedCallback(){this.dismissTimeout=setTimeout(this.dismissToast,this.duration)}disconnectedCallback(){clearTimeout(this.dismissTimeout)}render(){if(!this.visible)return null;const t=o({intent:this.intent});return e("div",{class:t,role:"alert","aria-live":"assertive"},e("div",{class:"flex items-center justify-between gap-4"},e("span",{class:"f-ui-01"},this.message),e("eds-button",{intent:"tertiary",icon:"close","aria-label":"Close Toast",onClick:()=>this.dismissToast(),"extra-class":"ml-8"})))}get el(){return r(this)}};i.style=".relative{position:relative}.right-4{right:0.25rem}.bottom-4{bottom:0.25rem}.w-auto{width:auto}.flex{display:flex}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-4{gap:0.25rem}.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)}.ml-8{margin-left:0.5rem}.p-12{padding:0.75rem}.rounded-lg{border-radius:16px}.shadow-md{--tw-shadow:0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);--tw-shadow-colored:0 4px 6px -1px var(--tw-shadow-color),\n 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),\n var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-dark{background-color:var(--grey-300)}.bg-success{background-color:var(--green-200)}.bg-error{background-color:var(--red-200)}.bg-warning{background-color:var(--yellow-200)}.text-light{color:var(--grey-700)}.text-current{color:currentColor}.text-default{color:var(--black)}";export{i as eds_toast}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const l='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-star-fill" viewBox="0 0 16 16">\n <path d="M3.612 15.443c-.386.198-.824-.149-.746-.592l.83-4.73L.173 6.765c-.329-.314-.158-.888.283-.95l4.898-.696L7.538.792c.197-.39.73-.39.927 0l2.184 4.327 4.898.696c.441.062.612.636.282.95l-3.522 3.356.83 4.73c.078.443-.36.79-.746.592L8 13.187l-4.389 2.256z"/>\n</svg>';export{l as s}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,h as t,H as s}from"./p-cccacbd3.js";const i=class{constructor(t){e(this,t),this.size="1rem",this.thickness="10px",this.borderColor="var(--grey-400)",this.bottomColor="var(--grey-900)",this.background="var(--grey-200)",this.fullscreen=!1}render(){const e=Object.assign({width:this.size,height:this.size,border:`${this.thickness} solid ${this.borderColor}`,borderBottomColor:this.bottomColor},!this.fullscreen&&{display:"inline-block"});return t(s,{key:"1e1e4ea2734fff8a680e55ca5163e69d2000a55d"},t("div",{key:"acf09f69d43404f317240c0d24e644ec0d046cd7",class:"spinner-overlay",style:this.fullscreen?{position:"fixed",top:"0",left:"0",width:"100vw",height:"100vh",zIndex:"9999999",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}:{position:"absolute",top:"0",left:"0",width:"100%",height:"100%",zIndex:"1000",backgroundColor:this.background,display:"flex",alignItems:"center",justifyContent:"center"}},t("span",{key:"3728629fdff738a0b753cd499dc26052b1e3cb7b",class:"spinner",style:e})))}};i.style=":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}";export{i as eds_spinner}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as c,h as s}from"./p-cccacbd3.js";import{c as r}from"./p-5d046674.js";const t=class{constructor(s){c(this,s),this.class=""}render(){return s("span",{key:"177f447969a48957c54d011bfb72693731ecc1cf",class:this.class,innerHTML:r})}};export{t as eds_icon_chevron_right}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{c as e}from"./p-ece618b3.js";const r=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"5547e9d98f781dc03e88a014f726b3a402e6425d",class:this.class,innerHTML:e})}};export{r as eds_icon_chevron_left}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as t,c as i,h as e,g as s}from"./p-cccacbd3.js";import{s as o}from"./p-13efafb9.js";const r=class{constructor(e){t(this,e),this.dropdown=i(this,"dropdown",7),this.focusableItems=[],this.handleClick=()=>{var t;this.isOpen=!this.isOpen,this.isOpen?(this.focusIndex=0,this.focusItem()):this.closeDropdown(),this.dropdown.emit({expanded:this.isOpen}),o({category:"ui-component",parentContext:null,tag:this.host.tagName.toLowerCase(),name:(null===(t=this.label)||void 0===t?void 0:t.toLowerCase())||"",action:this.isOpen?"expanded":"collapsed"})},this.icon="chevron-down",this.label=void 0,this.rounded=!1,this.ariaLabel="Open dropdown",this.asNav=!0,this.dropdownPos="left",this.dropdownOffset=!0,this.intent="tertiary",this.isOpen=!1,this.focusIndex=-1}handleWindowClick(t){this.host.contains(t.target)||(this.closeDropdown(),this.dropdown.emit({expanded:!1}))}handleKeyDown(t){if(this.isOpen)switch(t.key){case"Tab":this.closeDropdown(),this.dropdown.emit({expanded:!1});break;case"ArrowUp":t.preventDefault(),this.focusIndex=(this.focusIndex-1+this.focusableItems.length)%this.focusableItems.length,this.focusItem();break;case"ArrowDown":t.preventDefault(),this.focusIndex=(this.focusIndex+1)%this.focusableItems.length,this.focusItem()}}closeDropdown(){this.isOpen=!1,this.focusIndex=-1,this.dropdown.emit({expanded:!1})}focusItem(){var t;null===(t=this.focusableItems[this.focusIndex])||void 0===t||t.focus()}componentDidLoad(){var t;this.focusableItems=Array.from((null===(t=this.dropdownContent)||void 0===t?void 0:t.querySelectorAll("a, button"))||[])}render(){return e("div",{key:"3edd3453afbd52ee9e3c4d925baa46e07cfdbfc0",class:"z-focus relative",ref:t=>this.dropdownContent=t},e("eds-button",{key:"7c69acb6d6213af2cec8c1e00c68d83a5d23d676",label:this.label,"aria-label":this.ariaLabel,icon:this.icon,intent:this.intent,onClick:this.handleClick,"aria-expanded":this.isOpen.toString(),"aria-haspopup":"menu"}),e("nav",{key:"5048b1c3cb42418736d471c2331330afef49cbc5",role:"menu",class:{"shadow-small bg-inverse border-softest z-10 z-on-top absolute top-full mt-4 flex flex-col gap-y-4 border-2 p-8":!0,"left-4":"left"===this.dropdownPos&&this.dropdownOffset,"left-0":"left"===this.dropdownPos&&!this.dropdownOffset,"right-4":"right"===this.dropdownPos&&this.dropdownOffset,"right-0":"right"===this.dropdownPos&&!this.dropdownOffset,"rounded-lg":this.rounded},style:{display:this.isOpen?"block":"none"},"aria-label":"Dropdown","aria-hidden":!this.isOpen},e("slot",{key:"842f316e9a7910aa8b34823e883c54c1979668d1"})))}get host(){return s(this)}};r.style=".z-focus{z-index:99}.relative{position:relative}.shadow-small{--tw-shadow:0px 1.5px 2px rgba(0, 0, 0, 0.1);--tw-shadow-colored:0px 1.5px 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.bg-inverse{background-color:var(--white)}.border-softest{border:2px solid rgba(0, 0, 0, .05)}.z-10{z-index:10}.z-on-top{z-index:99999}.absolute{position:absolute}.top-full{top:100%}.mt-4{margin-top:0.25rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.gap-y-4{row-gap:0.25rem}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-8{padding:0.5rem}.left-0{left:0rem}.left-1\\/2{left:50%}.left-4{left:0.25rem}.left-\\[4px\\]{left:4px}.right-0{right:0rem}.right-4{right:0.25rem}.right-8{right:0.5rem}";export{r as eds_dropdown}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t,g as s}from"./p-
|
|
1
|
+
import{r as e,h as t,g as s}from"./p-cccacbd3.js";import{s as i}from"./p-13efafb9.js";import{g as d}from"./p-eb0b93d5.js";import"./p-112122d6.js";const a=class{constructor(t){e(this,t),this.image=void 0,this.editorialTitle=void 0,this.headingLevel="h3",this.categoryTitle=void 0,this.color=void 0,this.bgOnHover=!1,this.vertical=!1,this.titleProject=void 0,this.url=void 0,this.parsedImage=null}componentWillLoad(){if(this.image)try{this.parsedImage=JSON.parse(this.image)}catch(e){}}handleClick(e){var t;e.preventDefault(),i({category:"ui-component",tag:this.el.tagName.toLowerCase(),name:(null===(t=this.titleProject)||void 0===t?void 0:t.toLowerCase())||"",action:"click"})}render(){var e;const s=["min-h-156 border-inside after:border-softest @container overflow-hidden border-0 after:rounded-lg",this.color?d({color:this.color,hover:this.bgOnHover,class:"before:border-2 before:rounded-lg before:border-softest"}):"bg-default",this.bgOnHover&&this.color?"effect-background bg-default focus-within:bg-transparent hover:bg-transparent":"effect-background hover:bg-default",this.vertical?"flex-col gap-y-16":"flex-col gap-x-16 gap-y-12 lg:flex-row"].join(" "),i=this.vertical?"":"max-w-120 @md:max-w-192 order-first w-full lg:order-last";return t("article",{key:"98c5dbd033ec05d08965559e00f32d9fe18698ef",class:s,onClick:e=>this.handleClick(e)},t("div",{key:"e083c43e38c3c24fcd996a90267f7cd92d3651b3",class:"flex grow flex-col "+(this.vertical?"min-h-156":"")},t("div",{key:"37de1e46023b533fd8595a3077c4e68c11fb01af",class:"lg:max-w-[720px]"},t("eds-card-title",{key:"ee31ae2804d2c17c82e8f4c0c3269ac8254331df","heading-level":this.headingLevel,titleClass:this.image?"f-ui-01":void 0,"card-title":this.titleProject,url:this.url}),this.editorialTitle&&t("span",{key:"c6f74ba9b5b522f713e25d3339f541efa68cdddd",class:"block "+(this.vertical?"f-ui-02":"mt-4 f-heading-06")},this.editorialTitle)),this.categoryTitle&&t("div",{key:"ab18e55046777cf4a4f58ebd057641db9b9e0328",class:"mt-auto flex items-center gap-x-12 pt-12"},(null===(e=this.categoryTitle)||void 0===e?void 0:e.length)&&t("eds-tag",{key:"3714ee86a74dce7f33a8f953fd726db349ba9271",label:this.categoryTitle}))),this.parsedImage&&t("div",{key:"2818d15f7ab671b7b2dfb34ec3085b390150f38d",class:i},t("div",{key:"5166feef3674631298f699449b956655f38f0db9",class:"aspect-1x1 w-full"},t("eds-img",Object.assign({key:"86555a43491da5b2aa3b287e539e603a2c2adaf3",sizes:this.vertical?this.parsedImage.sizes||"":"192px"},this.parsedImage)))))}get el(){return s(this)}};export{a as eds_card_project}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as i,h as t,g as n}from"./p-cccacbd3.js";import{p as a}from"./p-69c5074b.js";const f=class{constructor(t){e(this,t),this.rating=i(this,"rating",7),this.type="star",this.count=5,this.label="Rate your Experience!",this.description="This is a description!",this.textMapping=["Very Poor","Poor","Average","Good","Excellent"],this.selectedRating=0}componentDidLoad(){this.el.shadowRoot.querySelectorAll("eds-button").forEach((e=>{this.emitContext(e)}))}emitContext(e){const i=new CustomEvent("parentContext",{detail:{componentName:this.el.tagName.toLowerCase(),identifier:this.selectedRating}});e.dispatchEvent(i)}get parsedMappings(){return a(this.textMapping)}ratingUpdated(e){this.selectedRating=e.detail}render(){return t("div",{key:"125299e9780486a10213fc3c59b15e7a4fb62616",class:"grid inline"},t("p",{key:"6a02d78d34a590bc213cd5bf311ec8bed44f8959",class:"f-heading-03 my-4"},this.label),t("p",{key:"76146fbade2f864ba7b72429a85218ebf6a24ea7",class:"f-body-02 text-light"},this.description),t("eds-rating",{key:"38e0ec9219adaf85f674fab6be471112f06e42ff","rating-type":this.type,"rating-count":this.count}),this.selectedRating>0&&this.parsedMappings[this.selectedRating-1]&&t("span",{key:"beab34888d3db63ca2ee374a2d10d407bfc948cc",class:"f-ui-04 text-lighter"},this.parsedMappings[this.selectedRating-1]))}get el(){return n(this)}};f.style="h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}.text-light{color:var(--grey-700)}.text-lighter{color:var(--grey-600)}.text-lightest{color:var(--grey-500)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-heading-02{font-family:var(--f-heading-02-fontFamily);font-weight:var(--f-heading-02-fontWeight);font-size:var(--f-heading-02-fontSize);line-height:var(--f-heading-02-lineHeight);letter-spacing:var(--f-heading-02-letterSpacing)}.f-heading-03{font-family:var(--f-heading-03-fontFamily);font-weight:var(--f-heading-03-fontWeight);font-size:var(--f-heading-03-fontSize);line-height:var(--f-heading-03-lineHeight);letter-spacing:var(--f-heading-03-letterSpacing)}.f-heading-04{font-family:var(--f-heading-04-fontFamily);font-weight:var(--f-heading-04-fontWeight);font-size:var(--f-heading-04-fontSize);line-height:var(--f-heading-04-lineHeight);letter-spacing:var(--f-heading-04-letterSpacing)}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}.f-body-02{font-family:var(--f-body-02-fontFamily);font-weight:var(--f-body-02-fontWeight);font-size:var(--f-body-02-fontSize);line-height:var(--f-body-02-lineHeight);letter-spacing:var(--f-body-02-letterSpacing)}.f-ui-04{font-family:var(--f-ui-04-fontFamily);font-weight:var(--f-ui-04-fontWeight);font-size:var(--f-ui-04-fontSize);line-height:var(--f-ui-04-lineHeight);letter-spacing:var(--f-ui-04-letterSpacing)}.inline{display:inline}.grid{display:grid}.flex{display:flex}.inline-flex{display:inline-flex}.flex-col{flex-direction:column}.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}";export{f as eds_feedback}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as r}from"./p-cccacbd3.js";import{s as c}from"./p-2066b033.js";const e=class{constructor(r){s(this,r),this.class=""}render(){return r("span",{key:"fc5e231865da99977c418a32e0fe30e36075f295",class:this.class,innerHTML:c})}};export{e as eds_icon_search}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as s,h as c}from"./p-cccacbd3.js";import{c as r}from"./p-1ded61bd.js";const a=class{constructor(c){s(this,c),this.class=""}render(){return c("span",{key:"7b8f0aa2da992611e0c908ca0785abce6e1ae189",class:this.class,innerHTML:r})}};export{a as eds_icon_chevron_up}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as e,h as t}from"./p-
|
|
1
|
+
import{r as e,h as t}from"./p-cccacbd3.js";const r=class{constructor(t){e(this,t),this.value=0}async updateValue(e){this.value=Math.min(100,Math.max(0,e))}render(){const e=this.value;return t("div",{key:"9a7fa42058034305b22818d464e7b633d7831d67",role:"progressbar","aria-valuemin":"0","aria-valuemax":"100","aria-valuenow":e,"aria-valuetext":`${e}%`,class:"outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden"},t("div",{key:"90b0ac9a538b575a30163c0dbbf437e1cfe8ce39",class:"inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02",style:{width:`${e}%`}},e,"%"))}};r.style=".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)}";export{r as eds_progress_bar}
|
|
@@ -35,7 +35,7 @@ const ColorPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorPrimaryP
|
|
|
35
35
|
];
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("ul", { key: '
|
|
38
|
+
return (h("ul", { key: '7460398e9b55e735287f39e8a7fd6a6116bd8141', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
39
39
|
}
|
|
40
40
|
}, [0, "color-primary-palette"]);
|
|
41
41
|
function defineCustomElement() {
|
|
@@ -35,7 +35,7 @@ const GradientPrimaryPalette = /*@__PURE__*/ proxyCustomElement(class GradientPr
|
|
|
35
35
|
];
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
|
-
return (h("ul", { key: '
|
|
38
|
+
return (h("ul", { key: '64ac6b2a3c62ef21921d0aa75c1f85e672dab1a1', class: "gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
39
39
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
40
40
|
} }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
41
41
|
}
|
|
@@ -60,7 +60,7 @@ const ColorSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class ColorSecond
|
|
|
60
60
|
this.show = undefined;
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("ul", { key: '
|
|
63
|
+
return (h("ul", { key: '0910d36be4d6a7a7b8cf1d95a507bb3e1a2f5062', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
64
64
|
}
|
|
65
65
|
}, [0, "color-secondary-palette", {
|
|
66
66
|
"show": [1]
|
|
@@ -60,19 +60,19 @@ const GradientSecondaryPalette = /*@__PURE__*/ proxyCustomElement(class Gradient
|
|
|
60
60
|
];
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '18563bbde4b325aed74ee0b01b138a23cdae495c' }, h("ul", { key: 'dbabf8a22ee06cafb4b4cefdd8b68f250ec83f12', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '5f3cddf6bff2942681c67e464b5da2e3ac805d0b', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '22cf209919cac0811959841e6f2aa75728728d4a', class: "effect-height flex items-center justify-between p-16", style: {
|
|
64
64
|
background: this.colors[0].background
|
|
65
|
-
} }, h("div", { key: '
|
|
65
|
+
} }, h("div", { key: '7f1c4b5fa75f03395c272b3301d71d122b68d120', class: "grid" }, h("span", { key: 'a10f6c850e37a7e664e770f6a35c0b126cb8418a', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '0e3e4b4ea42aa3040e1367817824cbcb67e12564', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '7947f3621bfcc3a53f06f8067b2f64deea660993', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'bc30dd2504a253d142778e7c5a1a3fd60c90367e', class: "grid" }, h("span", { key: 'd2d183a462473ce02f80724cd3fa2280e4ceb8e0', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '91555d5a4e2b03aae6a887a890b848080781622e', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: 'b16c2c137bf4a738236f8b673f0f7810ad2746ab', class: "effect-height flex items-center justify-between p-16", style: {
|
|
66
66
|
background: this.colors[1].background
|
|
67
|
-
} }, h("div", { key: '
|
|
67
|
+
} }, h("div", { key: '1f7a698c4ad373d9513c5925074e81176a824c9a', class: "grid" }, h("span", { key: '2852eb1e5f3fa33a67887eceb315b32c4035f2eb', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '903756ee7952c079d9e9f3d349344ddac243f632', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '2db0546ebeef3538312a6477b92a736c444e503e', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'e61d36591eb298ea6f3fcbabd0b0f9362238fe4f', class: "grid" }, h("span", { key: '8b0ded8e23240b6d4d8edfa3a3aa6c85f25f988b', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: 'fb40588691f07763cf9880d9f8f049002f3e8f06', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: 'c3ed43f27d147d4cb230fa1501e7831bc5147f1e' }), h("ul", { key: '9762bc8bedd63846dc4c0bec57efb65054c5a59c', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'ce9b3991c76437de7f7fc0c94fd6587c4991075a', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'c5d74cb6e29b296c7ed91894498c5bf924de2d0b', class: "effect-height flex items-center justify-between p-16", style: {
|
|
68
68
|
background: this.colors[2].background
|
|
69
|
-
} }, h("div", { key: '
|
|
69
|
+
} }, h("div", { key: '888b52e0276da7d9aa3c8e6f2554da86b22c5086', class: "grid" }, h("span", { key: 'a40cd60940f1d32360d0f757d47372319d8ecc9e', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '5a0cd8cb8e93b41be560d817bd5885c6b4461a0e', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: 'fe48732aa72d3c35e5377bf0ae5ac475a2ca1de4', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '5693b3908af5f0787d965ab028363318639dfec5', class: "grid" }, h("span", { key: 'ae024e8c6d7c28d8c22cce3e98084533a56f4ca8', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: '05340bf74e18c28154f8d4df08d32283a5ead23a', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: '06ab691118c23a05bebad65d640e5995e7e3af25', class: "effect-height flex items-center justify-between p-16", style: {
|
|
70
70
|
background: this.colors[3].background
|
|
71
|
-
} }, h("div", { key: '
|
|
71
|
+
} }, h("div", { key: '52dd0aab7a5809bbd082a3d3cff2695572ebf6c6', class: "grid" }, h("span", { key: 'bb918b8a0e618124fc55290df71c3813471ee1af', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '91a426d45df887346a9bb7f60bcbbd21718f8b22', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '0f4a629375447d8429c4b8ff2fc040a89e84b5fc', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'b53e0a653cffa7fb4a0988c5bec113efeb5641a7', class: "grid" }, h("span", { key: 'b6f08290063126ba39f73bb657dd10ad52bd8bad', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '9339e232d31c86a33e374f24f152a69e7e5c1a7b', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '2e3f5b0f5683a67b8f8e9ce83ce250802a7c9004' }), h("ul", { key: '6b9aca7a8e164c6b401fc1a642aa143a468bbb66', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '8bdd9fb9b08ab1ba07a17fdfb6acdd48ae11b28c', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '3d3ea47b21006a0771859a92e15ac4f9b7bf7897', class: "effect-height flex items-center justify-between p-16", style: {
|
|
72
72
|
background: this.colors[4].background
|
|
73
|
-
} }, h("div", { key: '
|
|
73
|
+
} }, h("div", { key: 'b1dace03d1388205556c95d49cbd756614def991', class: "grid" }, h("span", { key: '094ec7f3f8ddd1275a6fb1b58c84bb111e3ae404', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '336830747c0799da2661ac90a3afa8cb61cb1fab', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '18a585ce75dad73a2ed6a876634ed222db9fd994', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '88a46869e0d40d98cdcff22d82e03d1ac49af723', class: "grid" }, h("span", { key: 'bc766933761ebb18581f5099f08a61b841a267a3', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: 'd3972a70e80e7267f427ec0d68205a778e339d74', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: 'ba98ae739932dc19d1aa4cc34f4ffc02c0e175c0', class: "effect-height flex items-center justify-between p-16", style: {
|
|
74
74
|
background: this.colors[5].background
|
|
75
|
-
} }, h("div", { key: '
|
|
75
|
+
} }, h("div", { key: '2249fc8c98d70a0be85aa516cf84d4fb624e78c7', class: "grid" }, h("span", { key: 'd89fe65247e3e0971a1c66f5e688f8fbd4d91400', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: '39bbde5ac5c4ab66ccb28bd2c8c4495cc1593920', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: '8cb9c77d7bb896ae6f18b445fb044267310ded19', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '16f65aa08412f3fe478fb72d07a27537ada9804d', class: "grid" }, h("span", { key: '997dba028ea8e06c970a624309a82c7dda2316d9', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: '64483b5a8f445664c816b275eb871ef0fcecda19', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
76
76
|
}
|
|
77
77
|
}, [0, "gradient-secondary-palette"]);
|
|
78
78
|
function defineCustomElement() {
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
function parseData(input) {
|
|
2
|
+
if (typeof input === 'string') {
|
|
3
|
+
try {
|
|
4
|
+
const parsed = JSON.parse(input);
|
|
5
|
+
return Array.isArray(parsed) ? parsed : [];
|
|
6
|
+
}
|
|
7
|
+
catch (e) {
|
|
8
|
+
// eslint-disable-next-line
|
|
9
|
+
console.error('Error parsing data:', e);
|
|
10
|
+
return [];
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
else if (Array.isArray(input)) {
|
|
14
|
+
return input;
|
|
15
|
+
}
|
|
16
|
+
return [];
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { parseData as p };
|