@ebrains/components 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_53.cjs.entry.js +367 -248
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-gitlab-contributors.cjs.entry.js +26 -30
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-eu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-input-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +18 -9
- package/dist/cjs/eds-pie.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl-badge.cjs.entry.js +14 -11
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +58 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +8 -2
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -5
- package/dist/collection/components/eds-alert/eds-alert.css +14 -0
- package/dist/collection/components/eds-alert/eds-alert.js +2 -1
- package/dist/collection/components/eds-button/eds-button.js +6 -10
- package/dist/collection/components/eds-button/eds-button.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-app/eds-card-app.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-cta/eds-card-cta.stories.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-feature/eds-card-feature.js +2 -5
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +2 -4
- package/dist/collection/components/eds-cards/eds-card-hero/eds-card-hero.js +6 -7
- package/dist/collection/components/eds-cards/eds-card-stat/eds-card-stat.js +6 -7
- package/dist/collection/components/eds-charts/eds-pie/eds-pie.js +2 -2
- package/dist/collection/components/eds-code-block/eds-code-block.css +72 -106
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-footer/eds-footer.js +23 -18
- package/dist/collection/components/eds-footer/eds-footer.stories.js +3 -4
- package/dist/collection/components/eds-form/eds-form.css +456 -0
- package/dist/collection/components/eds-form/eds-form.js +218 -14
- package/dist/collection/components/eds-form/eds-form.stories.js +110 -3
- package/dist/collection/components/eds-frame/eds-frame.js +1 -1
- package/dist/collection/components/eds-header/eds-header.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/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-dropzone/eds-input-dropzone.js +7 -4
- 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.css +10 -0
- 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.css +17 -5
- 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 +15 -5
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +6 -2
- package/dist/collection/components/eds-input-field/eds-input-field.css +219 -0
- package/dist/collection/components/eds-input-field/eds-input-field.js +7 -2
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +35 -7
- package/dist/collection/components/eds-input-file/eds-input-file.js +5 -3
- package/dist/collection/components/eds-link/eds-link.js +4 -8
- package/dist/collection/components/eds-logo/eds-logo.js +13 -66
- package/dist/collection/components/eds-logo/eds-logo.stories.js +36 -17
- package/dist/collection/components/eds-modal/eds-modal.js +18 -9
- package/dist/collection/components/eds-modal/eds-modal.stories.js +3 -1
- package/dist/collection/components/eds-nps/eds-nps.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -8
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- 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-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.css +56 -25
- package/dist/collection/components/eds-steps/eds-steps.js +27 -7
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.css +93 -28
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.js +57 -10
- package/dist/collection/components/eds-steps-v2/eds-steps-v2.stories.js +80 -17
- package/dist/collection/components/eds-switch/eds-switch.css +26 -3
- package/dist/collection/components/eds-switch/eds-switch.js +10 -7
- package/dist/collection/components/eds-switch/eds-switch.stories.js +20 -1
- package/dist/collection/components/eds-table/eds-table.js +1 -3
- package/dist/collection/components/eds-table/eds-table.stories.js +2 -6
- package/dist/collection/components/eds-tabs/eds-tabs.js +4 -11
- package/dist/collection/components/eds-tabs/eds-tabs.stories.js +2 -2
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-toast/eds-toast.css +146 -0
- package/dist/collection/components/eds-toast/eds-toast.js +106 -4
- package/dist/collection/components/eds-toast/eds-toast.stories.js +102 -5
- package/dist/collection/components/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +7 -1
- package/dist/collection/components/eds-user/eds-user.js +2 -5
- package/dist/collection/components/eds-user/eds-user.stories.js +8 -11
- 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/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.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 +8 -2
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +58 -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-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-gitlab-contributors/eds-gitlab-contributors.js +26 -30
- package/dist/collection/shared-ui/eds-global-search/eds-global-search.js +18 -12
- package/dist/collection/shared-ui/eds-kg-learning-resources/eds-kg-learning-resources.js +15 -19
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.js +2 -2
- package/dist/collection/shared-ui/eds-kg-web-services-select/eds-kg-web-services-select.stories.js +1 -3
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +1 -1
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.css +11 -1
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.js +37 -16
- package/dist/collection/shared-ui/eds-search-select/eds-search-select.stories.js +10 -5
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.js +14 -11
- package/dist/collection/shared-ui/eds-trl-badge/eds-trl-badge.stories.js +4 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/collection/utils/eds-form/safeFormat.js +1 -5
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +9 -7
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +2 -5
- package/dist/components/eds-alert2.js +3 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-button2.js +5 -9
- package/dist/components/eds-card-app.js +2 -5
- package/dist/components/eds-card-cta.js +2 -5
- package/dist/components/eds-card-feature.js +2 -5
- package/dist/components/eds-card-generic2.js +2 -4
- package/dist/components/eds-card-hero.js +6 -7
- package/dist/components/eds-card-stat.js +6 -7
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-code-block2.js +2 -2
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-footer2.js +23 -18
- package/dist/components/eds-form.js +101 -38
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-gitlab-contributors.js +26 -30
- package/dist/components/eds-global-search.js +18 -12
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-icon-bluesky.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-mastodon.js +1 -1
- package/dist/components/eds-icon-twitter.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-dropzone2.js +7 -4
- package/dist/components/eds-input-field2.js +8 -3
- package/dist/components/eds-input-file2.js +5 -3
- package/dist/components/eds-input-footer2.js +3 -7
- package/dist/components/eds-input-label2.js +2 -2
- package/dist/components/eds-input-range2.js +15 -5
- package/dist/components/eds-input-search.js +1 -1
- package/dist/components/eds-input-select2.js +6 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-kg-learning-resources.js +15 -19
- package/dist/components/eds-kg-web-services-select2.js +2 -2
- package/dist/components/eds-link2.js +3 -7
- package/dist/components/eds-logo2.js +4 -22
- package/dist/components/eds-modal.js +18 -9
- package/dist/components/eds-nps2.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-pie.js +2 -2
- package/dist/components/eds-progress-bar.js +1 -8
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-search-select2.js +38 -17
- 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-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +41 -11
- package/dist/components/eds-steps2.js +28 -8
- package/dist/components/eds-switch2.js +8 -5
- package/dist/components/eds-table2.js +1 -3
- package/dist/components/eds-tabs.js +4 -11
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-toast2.js +39 -3
- package/dist/components/eds-tooltip2.js +1 -1
- package/dist/components/eds-trl-badge.js +14 -11
- package/dist/components/eds-user.js +1 -4
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +58 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.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-d59d6fda.entry.js → p-05e96609.entry.js} +1 -1
- package/dist/components/p-0d778d10.entry.js +1 -0
- package/dist/components/{p-62f53e7a.entry.js → p-114f6d54.entry.js} +1 -1
- package/dist/components/p-1534204d.entry.js +1 -0
- package/dist/components/p-337d4ee3.entry.js +9 -0
- package/dist/components/p-340bc935.entry.js +1 -0
- package/dist/components/p-39dbb964.entry.js +1 -0
- package/dist/components/{p-25729ade.entry.js → p-3f66bc26.entry.js} +1 -1
- package/dist/components/p-43f9e64f.entry.js +1 -0
- package/dist/components/p-46cc6c1a.entry.js +1 -0
- package/dist/components/{p-e9e6ec19.entry.js → p-4b8a7979.entry.js} +1 -1
- package/dist/components/{p-bdcb71e1.entry.js → p-6b94b2ec.entry.js} +1 -1
- package/dist/components/p-6d965fef.entry.js +1 -0
- package/dist/components/{p-62580004.entry.js → p-6e370182.entry.js} +1 -1
- package/dist/components/p-6ffe581c.entry.js +1 -0
- package/dist/components/{p-e027bc90.entry.js → p-726637b1.entry.js} +1 -1
- package/dist/components/{p-8a483358.entry.js → p-86ccc09f.entry.js} +1 -1
- package/dist/components/{p-e71a4f29.entry.js → p-8755a21b.entry.js} +1 -1
- package/dist/components/{p-e4df206e.entry.js → p-8ab461e2.entry.js} +1 -1
- package/dist/components/p-8cb162b8.entry.js +1 -0
- package/dist/components/p-8cdbc280.entry.js +1 -0
- package/dist/components/{p-42791331.entry.js → p-8e034c4e.entry.js} +1 -1
- package/dist/components/p-9f649fa3.entry.js +1 -0
- package/dist/components/{p-f9a9fa34.entry.js → p-a26dad9b.entry.js} +1 -1
- package/dist/components/p-a2d6a9ca.entry.js +1 -0
- package/dist/components/p-afabe1be.entry.js +1 -0
- package/dist/components/{p-1fbcc480.entry.js → p-b1519098.entry.js} +1 -1
- package/dist/components/{p-12acc48d.entry.js → p-b4023b45.entry.js} +1 -1
- package/dist/components/p-c53b3563.entry.js +1 -0
- package/dist/components/p-c7d612d1.entry.js +1 -0
- package/dist/components/p-dc9aef22.entry.js +1 -0
- package/dist/components/{p-e339d0b5.entry.js → p-f66a7cf9.entry.js} +1 -1
- package/dist/components/{p-80a32e20.entry.js → p-f97f62f2.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/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- 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 +8 -2
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion_53.entry.js +367 -248
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-gitlab-contributors.entry.js +26 -30
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-eu.entry.js +1 -1
- package/dist/esm/eds-icon-facebook.entry.js +1 -1
- package/dist/esm/eds-icon-gitlab.entry.js +1 -1
- package/dist/esm/eds-icon-linkedin.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-input-search.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +18 -9
- package/dist/esm/eds-pie.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-trl-badge.entry.js +14 -11
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +58 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +8 -2
- package/dist/hydrate/index.js +572 -368
- package/dist/hydrate/index.mjs +572 -368
- package/dist/types/components/eds-form/eds-form.d.ts +56 -0
- package/dist/types/components/eds-form/eds-form.stories.d.ts +63 -0
- package/dist/types/components/eds-logo/eds-logo.d.ts +11 -28
- package/dist/types/components/eds-logo/eds-logo.stories.d.ts +22 -2
- package/dist/types/components/eds-steps/eds-steps.d.ts +7 -0
- package/dist/types/components/eds-steps-v2/eds-steps-v2.d.ts +14 -1
- package/dist/types/components/eds-steps-v2/eds-steps-v2.stories.d.ts +40 -9
- package/dist/types/components/eds-switch/eds-switch.d.ts +6 -2
- package/dist/types/components/eds-switch/eds-switch.stories.d.ts +8 -0
- package/dist/types/components/eds-toast/eds-toast.d.ts +33 -1
- package/dist/types/components/eds-toast/eds-toast.stories.d.ts +49 -1
- package/dist/types/components/eds-user/eds-user.d.ts +0 -2
- package/dist/types/components/eds-user/eds-user.stories.d.ts +5 -9
- package/dist/types/components.d.ts +210 -60
- package/package.json +1 -1
- package/dist/components/p-00ba405d.entry.js +0 -1
- package/dist/components/p-03342030.entry.js +0 -1
- package/dist/components/p-0e2bac0f.entry.js +0 -1
- package/dist/components/p-18399fe1.entry.js +0 -1
- package/dist/components/p-1e6f0572.entry.js +0 -1
- package/dist/components/p-27e093c3.entry.js +0 -1
- package/dist/components/p-3d1bb2fe.entry.js +0 -1
- package/dist/components/p-5ff4b1d0.entry.js +0 -1
- package/dist/components/p-6be1730a.entry.js +0 -1
- package/dist/components/p-786ff09b.entry.js +0 -1
- package/dist/components/p-85476a6f.entry.js +0 -9
- package/dist/components/p-c2127276.entry.js +0 -1
- package/dist/components/p-c3ee9163.entry.js +0 -1
- package/dist/components/p-c4cfbf98.entry.js +0 -1
- package/dist/components/p-c65082fe.entry.js +0 -1
- package/dist/components/p-cc096938.entry.js +0 -1
- package/dist/components/p-f4d2f882.entry.js +0 -1
|
@@ -44,8 +44,9 @@ export class EdsSearchSelect {
|
|
|
44
44
|
this.onKeyDown = (e) => {
|
|
45
45
|
if (e.key === 'ArrowDown') {
|
|
46
46
|
e.preventDefault();
|
|
47
|
-
if (!this.open)
|
|
47
|
+
if (!this.open) {
|
|
48
48
|
return this.openMenu();
|
|
49
|
+
}
|
|
49
50
|
this.activeIndex = Math.min(this.activeIndex + 1, this.visibleItems.length - 1);
|
|
50
51
|
}
|
|
51
52
|
else if (e.key === 'ArrowUp') {
|
|
@@ -72,8 +73,9 @@ export class EdsSearchSelect {
|
|
|
72
73
|
// would be false even for our own clicks and wrongly close on open. composedPath()
|
|
73
74
|
// walks through every shadow boundary and contains our host iff the click was ours.
|
|
74
75
|
this.onDocumentClick = (e) => {
|
|
75
|
-
if (this.open && !e.composedPath().includes(this.host))
|
|
76
|
+
if (this.open && !e.composedPath().includes(this.host)) {
|
|
76
77
|
this.closeMenu();
|
|
78
|
+
}
|
|
77
79
|
};
|
|
78
80
|
this.name = undefined;
|
|
79
81
|
this.label = undefined;
|
|
@@ -133,15 +135,17 @@ export class EdsSearchSelect {
|
|
|
133
135
|
}
|
|
134
136
|
cacheLabels(opts) {
|
|
135
137
|
(opts || []).forEach((o) => {
|
|
136
|
-
if (o && o.value != null)
|
|
138
|
+
if (o && o.value != null) {
|
|
137
139
|
this.labelCache[String(o.value)] = o.label;
|
|
140
|
+
}
|
|
138
141
|
});
|
|
139
142
|
}
|
|
140
143
|
/** The current selection as a value array (works for single + multi). */
|
|
141
144
|
get selectedValues() {
|
|
142
145
|
const v = this.value;
|
|
143
|
-
if (Array.isArray(v))
|
|
146
|
+
if (Array.isArray(v)) {
|
|
144
147
|
return v.map(String).filter((s) => s !== '');
|
|
148
|
+
}
|
|
145
149
|
if (typeof v === 'string' && v !== '') {
|
|
146
150
|
return this.multiple ? v.split(',').filter(Boolean) : [v];
|
|
147
151
|
}
|
|
@@ -175,10 +179,10 @@ export class EdsSearchSelect {
|
|
|
175
179
|
// --- Data --------------------------------------------------------------
|
|
176
180
|
filterInline(q) {
|
|
177
181
|
const needle = q.trim().toLowerCase();
|
|
178
|
-
if (!needle)
|
|
182
|
+
if (!needle) {
|
|
179
183
|
return this.inlineOptions;
|
|
180
|
-
|
|
181
|
-
|
|
184
|
+
}
|
|
185
|
+
return this.inlineOptions.filter((o) => o.label.toLowerCase().includes(needle) || String(o.value).toLowerCase().includes(needle));
|
|
182
186
|
}
|
|
183
187
|
async fetchRemote(q) {
|
|
184
188
|
this.loading = true;
|
|
@@ -187,8 +191,9 @@ export class EdsSearchSelect {
|
|
|
187
191
|
const params = new URLSearchParams({ [this.searchParam]: q, limit: String(this.limit) });
|
|
188
192
|
const url = `${this.apiBase}/datasets/${encodeURIComponent(this.source)}/search?${params}`;
|
|
189
193
|
const resp = await fetch(url);
|
|
190
|
-
if (!resp.ok)
|
|
194
|
+
if (!resp.ok) {
|
|
191
195
|
throw new Error(`Search failed: ${resp.statusText}`);
|
|
196
|
+
}
|
|
192
197
|
const data = await resp.json();
|
|
193
198
|
this.items = data.items || [];
|
|
194
199
|
this.cacheLabels(this.items);
|
|
@@ -231,14 +236,16 @@ export class EdsSearchSelect {
|
|
|
231
236
|
}
|
|
232
237
|
// --- Interaction -------------------------------------------------------
|
|
233
238
|
openMenu() {
|
|
234
|
-
if (this.disabled)
|
|
239
|
+
if (this.disabled) {
|
|
235
240
|
return;
|
|
241
|
+
}
|
|
236
242
|
this.open = true;
|
|
237
243
|
this.activeIndex = -1;
|
|
238
244
|
// Populate on first open (initial page for remote, full list for inline).
|
|
239
245
|
// Immediate fetch on open — debounce only applies to typing.
|
|
240
|
-
if (!this.items.length || this.isRemote)
|
|
246
|
+
if (!this.items.length || this.isRemote) {
|
|
241
247
|
this.runSearch(this.query, true);
|
|
248
|
+
}
|
|
242
249
|
}
|
|
243
250
|
closeMenu() {
|
|
244
251
|
this.open = false;
|
|
@@ -281,14 +288,28 @@ export class EdsSearchSelect {
|
|
|
281
288
|
render() {
|
|
282
289
|
const selected = this.selectedValues;
|
|
283
290
|
const hasSelection = selected.length > 0;
|
|
284
|
-
const inputValue = this.multiple ? this.query :
|
|
291
|
+
const inputValue = this.multiple ? this.query : this.open ? this.query : this.selectedLabel;
|
|
285
292
|
const placeholder = this.multiple
|
|
286
|
-
?
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
293
|
+
? hasSelection
|
|
294
|
+
? ''
|
|
295
|
+
: this.placeholder
|
|
296
|
+
: hasSelection && !this.open
|
|
297
|
+
? this.selectedLabel
|
|
298
|
+
: this.placeholder;
|
|
299
|
+
return (h("div", { key: 'c07301b4d8b6dceeea092423faeefdb51df5882a', class: "eds-ss" }, (this.label || this.hint) && (h("div", { key: '852ddc433b142caed852c7503d68aab968808480', class: "eds-ss__labelrow" }, this.label && (h("eds-input-label", { key: 'd44b4925954172a7ad5dec8e71b363630fc8cd3b', name: `${this.name}-input`, label: this.label, required: this.required, disabled: this.disabled })), this.hint && (h("p", { key: '964933f90c1526383364fa4a76b6b31846a6e3e0', id: `${this.name}-hint`, class: "eds-ss__hint" }, this.hint)))), h("div", { key: '69b226ececf5431ce220f5686e01f18aba100b8d', class: "eds-ss__control relative" }, h("div", { key: '942ba3e7020e2a9ae1eb4176b1d7b7444368baa3', class: { 'eds-ss__box': true, 'is-error': this.error || !!this.fetchError, 'is-disabled': this.disabled } }, this.multiple &&
|
|
300
|
+
selected.map((v) => (h("span", { class: "eds-ss__chip", key: v }, h("span", { class: "eds-ss__chip-label" }, this.labelFor(v)), !this.disabled && (h("button", { type: "button", class: "eds-ss__chip-x", "aria-label": `Remove ${this.labelFor(v)}`, onMouseDown: (e) => {
|
|
301
|
+
e.preventDefault();
|
|
302
|
+
this.removeValue(v, e);
|
|
303
|
+
} }, "\u00D7"))))), h("input", { key: 'c41ce7b8e648f0c9e688ae94b0a1a25945ad8715', id: `${this.name}-input`, class: "eds-ss__input", type: "text", role: "combobox", autocomplete: "off", "aria-expanded": this.open ? 'true' : 'false', "aria-controls": this.listboxId, "aria-autocomplete": "list", placeholder: placeholder, value: inputValue, disabled: this.disabled, required: this.required && !hasSelection, onFocus: () => this.openMenu(), onInput: this.onInput, onKeyDown: this.onKeyDown })), !this.multiple && hasSelection && !this.disabled && (h("button", { key: '331e43093fc5749fc369bf976119610b2a310576', type: "button", class: "eds-ss__clear", "aria-label": "Clear selection", onClick: this.clear }, "\u00D7")), h("span", { key: '11b78efe2584e65cb533fb88746ad38da47f2b8d', class: "eds-ss__chevron", "aria-hidden": "true" }, h("eds-icon-wrapper", { key: 'ca62bbe9b3f90b1625208584a6b9e5a154acc5be', name: "chevron-right", size: 20 }))), this.open && (h("ul", { key: 'f4739dc147217d1d575494d0bdd83427f898ddc3', class: "eds-ss__list", id: this.listboxId, role: "listbox" }, this.loading && h("li", { key: 'def95414349449021ec318cae0e3990621992e3e', class: "eds-ss__status" }, "Searching\u2026"), !this.loading && this.fetchError && h("li", { key: '32d940c717170d0e53200ff552bf513e3e6e5fe1', class: "eds-ss__status is-error" }, this.fetchError), !this.loading && !this.fetchError && this.visibleItems.length === 0 && (h("li", { key: 'bea6ededb51b4baab76eca8a237d4a740d3478da', class: "eds-ss__status" }, "No matches")), !this.loading &&
|
|
290
304
|
!this.fetchError &&
|
|
291
|
-
this.visibleItems.map((opt, i) => (h("li", { key: opt.value, class: {
|
|
305
|
+
this.visibleItems.map((opt, i) => (h("li", { key: opt.value, class: {
|
|
306
|
+
'eds-ss__option': true,
|
|
307
|
+
'is-active': i === this.activeIndex,
|
|
308
|
+
'is-selected': selected.includes(String(opt.value))
|
|
309
|
+
}, role: "option", "aria-selected": selected.includes(String(opt.value)) ? 'true' : 'false', onMouseEnter: () => (this.activeIndex = i), onMouseDown: (e) => {
|
|
310
|
+
e.preventDefault();
|
|
311
|
+
this.select(opt);
|
|
312
|
+
} }, opt.label))), !this.loading && !this.fetchError && this.hiddenCount > 0 && (h("li", { key: '8d6fe6aa8041a948a19004a03728b1439469e28e', class: "eds-ss__more" }, "+", this.hiddenCount, " more \u2014 keep typing to narrow")))), h("div", { key: 'dfb6a12b7eff98bd05b674d385db1dc2e6a17ac2', class: "mt-6" }, h("eds-input-footer", { key: '2f0b9dbc247dea65d3c7abea1a6384b496e586b8', name: this.name, message: this.message, error: this.error, "error-message": this.errorMessage }))));
|
|
292
313
|
}
|
|
293
314
|
static get is() { return "eds-search-select"; }
|
|
294
315
|
static get encapsulation() { return "shadow"; }
|
|
@@ -48,19 +48,24 @@ export default {
|
|
|
48
48
|
const renderSelect = (args) => {
|
|
49
49
|
const el = document.createElement('eds-search-select');
|
|
50
50
|
el.name = args.name;
|
|
51
|
-
if (args.label)
|
|
51
|
+
if (args.label) {
|
|
52
52
|
el.label = args.label;
|
|
53
|
-
|
|
53
|
+
}
|
|
54
|
+
if (args.placeholder) {
|
|
54
55
|
el.placeholder = args.placeholder;
|
|
55
|
-
|
|
56
|
+
}
|
|
57
|
+
if (args.hint) {
|
|
56
58
|
el.hint = args.hint;
|
|
57
|
-
|
|
59
|
+
}
|
|
60
|
+
if (args.message) {
|
|
58
61
|
el.message = args.message;
|
|
62
|
+
}
|
|
59
63
|
el.required = !!args.required;
|
|
60
64
|
el.disabled = !!args.disabled;
|
|
61
65
|
el.error = !!args.error;
|
|
62
|
-
if (args.errorMessage)
|
|
66
|
+
if (args.errorMessage) {
|
|
63
67
|
el.errorMessage = args.errorMessage;
|
|
68
|
+
}
|
|
64
69
|
el.multiple = !!args.multiple;
|
|
65
70
|
if (args.source) {
|
|
66
71
|
el.source = args.source;
|
|
@@ -38,16 +38,17 @@ export class EdsTrlBadge {
|
|
|
38
38
|
this.href = undefined;
|
|
39
39
|
}
|
|
40
40
|
esc(s) {
|
|
41
|
-
return String(s).replace(/&/g, '&').replace(/</g, '<')
|
|
42
|
-
.replace(/>/g, '>').replace(/"/g, '"');
|
|
41
|
+
return String(s).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
|
|
43
42
|
}
|
|
44
43
|
/** Maturity tier → value/pip colour (brand palette). */
|
|
45
44
|
levelColor() {
|
|
46
45
|
const n = Number(this.level);
|
|
47
|
-
if (n >= 7)
|
|
46
|
+
if (n >= 7) {
|
|
48
47
|
return '#00FF9D';
|
|
49
|
-
|
|
48
|
+
}
|
|
49
|
+
if (n >= 4) {
|
|
50
50
|
return '#00C87B';
|
|
51
|
+
}
|
|
51
52
|
return '#7A7B7A';
|
|
52
53
|
}
|
|
53
54
|
/** Readable value text on a coloured segment (black on green, light on grey). */
|
|
@@ -56,10 +57,12 @@ export class EdsTrlBadge {
|
|
|
56
57
|
}
|
|
57
58
|
fullText() {
|
|
58
59
|
const parts = [`${this.label} ${this.level}`];
|
|
59
|
-
if (this.assessed)
|
|
60
|
+
if (this.assessed) {
|
|
60
61
|
parts.push(`assessed ${this.assessed}`);
|
|
61
|
-
|
|
62
|
+
}
|
|
63
|
+
if (this.methodology) {
|
|
62
64
|
parts.push(`methodology ${this.methodology}`);
|
|
65
|
+
}
|
|
63
66
|
return parts.join(' · ');
|
|
64
67
|
}
|
|
65
68
|
/** Build the inner markup + intrinsic dimensions for the chosen variant. */
|
|
@@ -99,8 +102,8 @@ export class EdsTrlBadge {
|
|
|
99
102
|
const stroke = dark ? '#34473d' : '#07140D';
|
|
100
103
|
const labelColor = dark ? '#ECECEC' : '#07140D';
|
|
101
104
|
const sep = dark ? '#5a6b62' : '#9aa39d';
|
|
102
|
-
const value = dark ? valColor :
|
|
103
|
-
const w = Math.ceil(logoSpace +
|
|
105
|
+
const value = dark ? valColor : Number(this.level) >= 4 ? '#00966a' : '#7A7B7A';
|
|
106
|
+
const w = Math.ceil(logoSpace + `${this.label} · ${this.level}`.length * CW + 12);
|
|
104
107
|
const inner = `<defs>${markDefs(uid)}</defs>` +
|
|
105
108
|
`<rect x=".5" y=".5" width="${w - 1}" height="23" rx="6" fill="${bg}" stroke="${stroke}"/>${markGroup(uid, 8, 4, 16)}` +
|
|
106
109
|
`<text x="30" y="16" ${mono} font-size="11" letter-spacing=".3">` +
|
|
@@ -154,12 +157,12 @@ export class EdsTrlBadge {
|
|
|
154
157
|
const k = this.size ? this.size / h : 1;
|
|
155
158
|
const outW = Math.round(w * k);
|
|
156
159
|
const outH = Math.round(h * k);
|
|
157
|
-
return `<svg xmlns="http://www.w3.org/2000/svg" width="${outW}" height="${outH}" ` +
|
|
158
|
-
`viewBox="0 0 ${w} ${h}" role="img" aria-label="${aria}"><title>${aria}</title>${inner}</svg
|
|
160
|
+
return (`<svg xmlns="http://www.w3.org/2000/svg" width="${outW}" height="${outH}" ` +
|
|
161
|
+
`viewBox="0 0 ${w} ${h}" role="img" aria-label="${aria}"><title>${aria}</title>${inner}</svg>`);
|
|
159
162
|
}
|
|
160
163
|
render() {
|
|
161
164
|
const svg = this.buildSvg();
|
|
162
|
-
return (h(Host, { key: '
|
|
165
|
+
return (h(Host, { key: '8da5cadf8dc1cef28dd16902013905bfefdd67aa' }, this.href ? (h("a", { class: "link", href: this.href, "aria-label": this.fullText(), innerHTML: svg })) : (h("span", { class: "link", innerHTML: svg }))));
|
|
163
166
|
}
|
|
164
167
|
static get is() { return "eds-trl-badge"; }
|
|
165
168
|
static get encapsulation() { return "shadow"; }
|
|
@@ -7,7 +7,10 @@ export default {
|
|
|
7
7
|
methodology: { control: 'text', description: 'Methodology version, e.g. "v8.2".' },
|
|
8
8
|
theme: { control: 'select', options: ['dark', 'light'], description: 'Theme (tone/outline/scale).' },
|
|
9
9
|
variant: { control: 'select', options: ['tone', 'full', 'pill', 'outline', 'scale'], description: 'Badge shape.' },
|
|
10
|
-
size: {
|
|
10
|
+
size: {
|
|
11
|
+
control: { type: 'number', min: 16, max: 96 },
|
|
12
|
+
description: 'Rendered height in px (scales the whole badge).'
|
|
13
|
+
},
|
|
11
14
|
href: { control: 'text', description: 'Optional link.' },
|
|
12
15
|
label: { control: 'text', description: 'Leading label.' }
|
|
13
16
|
},
|
|
@@ -27,7 +27,7 @@ export class EdsAppRoot {
|
|
|
27
27
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
28
28
|
}
|
|
29
29
|
render() {
|
|
30
|
-
return (h("div", { key: '
|
|
30
|
+
return (h("div", { key: 'c856dc661c22b74baee69d195ef92ab1e24bceae' }, h("eds-splash-screen", { key: '62689cd4fdee56d667071bad596037342812b7a6', inverse: true, initPromise: this.combinedInitPromise }), h("eds-login", { key: 'af2257c63a00025dbddbc2bd4bc7c08391ead2aa', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), h("main", { key: '8a2768437fb21855da535b8ea706f7cb3a17a36a' }, this.isAuthenticated ? h("h1", null, "Welcome, authenticated user!") : h("h1", null, "Please log in."))));
|
|
31
31
|
}
|
|
32
32
|
static get is() { return "eds-app-root"; }
|
|
33
33
|
static get encapsulation() { return "shadow"; }
|
|
@@ -22,11 +22,7 @@ export function safeInlineFormat(text) {
|
|
|
22
22
|
if (!text) {
|
|
23
23
|
return '';
|
|
24
24
|
}
|
|
25
|
-
let s = String(text)
|
|
26
|
-
.replace(/&/g, '&')
|
|
27
|
-
.replace(/</g, '<')
|
|
28
|
-
.replace(/>/g, '>')
|
|
29
|
-
.replace(/"/g, '"');
|
|
25
|
+
let s = String(text).replace(/&/g, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"');
|
|
30
26
|
// bold
|
|
31
27
|
s = s.replace(/\*\*([^*]+)\*\*/g, '<strong>$1</strong>');
|
|
32
28
|
// links — safe schemes only; otherwise drop to the plain label
|
|
@@ -150,7 +150,7 @@ const ComponentsSection$1 = /*@__PURE__*/ proxyCustomElement(class ComponentsSec
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
render() {
|
|
153
|
-
return h("div", { key: '
|
|
153
|
+
return h("div", { key: 'bc06ee85e7b45c9d45afa416ecb839c0a10aa576', class: "container" }, this.renderContent());
|
|
154
154
|
}
|
|
155
155
|
}, [0, "components-section", {
|
|
156
156
|
"tabIndex": [2, "tab-index"]
|
|
@@ -6550,6 +6550,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6550
6550
|
.mb-4 {
|
|
6551
6551
|
margin-bottom: 0.25rem;
|
|
6552
6552
|
}
|
|
6553
|
+
.mb-48 {
|
|
6554
|
+
margin-bottom: 3rem;
|
|
6555
|
+
}
|
|
6553
6556
|
.mb-8 {
|
|
6554
6557
|
margin-bottom: 0.5rem;
|
|
6555
6558
|
}
|
|
@@ -6589,6 +6592,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6589
6592
|
.mt-20 {
|
|
6590
6593
|
margin-top: 1.25rem;
|
|
6591
6594
|
}
|
|
6595
|
+
.mt-24 {
|
|
6596
|
+
margin-top: 1.5rem;
|
|
6597
|
+
}
|
|
6592
6598
|
.mt-28 {
|
|
6593
6599
|
margin-top: 1.75rem;
|
|
6594
6600
|
}
|
|
@@ -6598,6 +6604,9 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6598
6604
|
.mt-4 {
|
|
6599
6605
|
margin-top: 0.25rem;
|
|
6600
6606
|
}
|
|
6607
|
+
.mt-48 {
|
|
6608
|
+
margin-top: 3rem;
|
|
6609
|
+
}
|
|
6601
6610
|
.mt-6 {
|
|
6602
6611
|
margin-top: 0.375rem;
|
|
6603
6612
|
}
|
|
@@ -7335,10 +7344,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7335
7344
|
padding-top: 0.25rem;
|
|
7336
7345
|
padding-bottom: 0.25rem;
|
|
7337
7346
|
}
|
|
7338
|
-
.py-6 {
|
|
7339
|
-
padding-top: 0.375rem;
|
|
7340
|
-
padding-bottom: 0.375rem;
|
|
7341
|
-
}
|
|
7342
7347
|
.py-8 {
|
|
7343
7348
|
padding-top: 0.5rem;
|
|
7344
7349
|
padding-bottom: 0.5rem;
|
|
@@ -7361,9 +7366,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7361
7366
|
.pb-4 {
|
|
7362
7367
|
padding-bottom: 0.25rem;
|
|
7363
7368
|
}
|
|
7364
|
-
.pb-8 {
|
|
7365
|
-
padding-bottom: 0.5rem;
|
|
7366
|
-
}
|
|
7367
7369
|
.pl-12 {
|
|
7368
7370
|
padding-left: 0.75rem;
|
|
7369
7371
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,b as a}from"./p-271c61ff.js";export{s as setNonce}from"./p-271c61ff.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-85476a6f",[[1,"eds-form",{"name":[1],"title":[1],"description":[1],"setFormUrl":[4,"set-form-url"],"formBtn":[4,"form-btn"],"formBtnLabel":[1,"form-btn-label"],"buttonIntent":[1,"button-intent"],"clearBtn":[4,"clear-btn"],"clearBtnLabel":[1,"clear-btn-label"],"errorMessage":[1,"error-message"],"fields":[1],"groups":[1],"initData":[16],"formStyle":[1,"form-style"],"values":[32],"isSubmitting":[32],"hasError":[32],"errors":[32],"parsedFields":[32],"parsedGroups":[32],"setData":[64],"getData":[64]},null,{"fields":["parseFields"],"groups":["parseGroups"]}],[1,"eds-fullscreen-menu",{"links":[1],"menuLinks":[1,"menu-links"],"homeUrl":[1,"home-url"],"inverseHeader":[4,"inverse-header"],"isMenuOpen":[32],"open":[64],"close":[64]},[[16,"toggleheadermenu","handleToggleMenu"],[8,"keydown","onKeydown"]]],[1,"eds-kg-learning-resources",{"apiEndpoint":[1,"api-endpoint"],"resolveNames":[4,"resolve-names"],"size":[2],"heading":[1],"variant":[1],"loading":[32],"error":[32],"software":[32],"meta":[32],"filterType":[32],"filterLevel":[32],"searchQuery":[32]}],[1,"eds-user",{"user":[1025],"intent":[1],"dropdownLabel":[1,"dropdown-label"],"expanded":[32],"shortMode":[32],"closeDropdown":[64]}],[1,"eds-header",{"url":[513],"links":[1],"variant":[513],"menu":[4],"isMenuOpen":[32],"isUserMenuOpen":[32]}],[1,"eds-card-app",{"category":[1],"title":[1],"description":[1],"tags":[1],"url":[1],"linkText":[1,"link-text"],"variant":[1]}],[1,"eds-card-cta",{"title":[1],"description":[1],"primaryButtonText":[1,"primary-button-text"],"primaryButtonUrl":[1,"primary-button-url"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonUrl":[1,"secondary-button-url"],"links":[1],"variant":[1]}],[1,"eds-steps-v2",{"steps":[1],"type":[1],"orientation":[1],"theme":[1],"imageSrc":[1,"image-src"],"imageWidth":[2,"image-width"],"message":[1],"nextLabel":[1,"next-label"],"backLabel":[1,"back-label"],"finishLabel":[1,"finish-label"],"showFinish":[4,"show-finish"],"disableNext":[1032,"disable-next"],"headingLevel":[513,"heading-level"],"activeStep":[32]},null,{"disableNext":["handleDisableNextChange"],"activeStep":["activeStepChanged"]}],[1,"eds-breadcrumb",{"items":[1],"intent":[1],"parsedItems":[32],"isSmallScreen":[32],"maxVisibleItems":[32]},null,{"items":["parseItems"]}],[1,"eds-card-feature",{"icon":[1],"title":[1],"description":[1],"url":[1],"linkText":[1,"link-text"],"variant":[1]}],[1,"eds-global-search",{"apiEndpoint":[1,"api-endpoint"],"placeholder":[1],"limit":[2],"debounceDelay":[2,"debounce-delay"],"forceNewTab":[4,"force-new-tab"],"currentOrigin":[1,"current-origin"],"currentSource":[1,"current-source"],"authToken":[1,"auth-token"],"variant":[513],"query":[32],"results":[32],"loading":[32],"error":[32],"hasSearched":[32],"showDropdown":[32],"selectedIndex":[32]},[[4,"click","handleDocumentClick"],[0,"keydown","handleKeydown"]]],[1,"eds-sidebar",{"items":[1],"theme":[1],"activeUrl":[1,"active-url"],"enableRouting":[4,"enable-routing"],"maxLevel":[2,"max-level"],"openItems":[32],"parsedItems":[32]},null,{"items":["handleItemsChange"],"activeUrl":["handleActiveUrlChange"]}],[1,"eds-card-hero",{"category":[1],"title":[1],"description":[1],"tags":[1],"url":[1],"variant":[1]}],[1,"eds-card-stat",{"number":[1],"label":[1],"description":[1],"url":[1],"variant":[1]}],[1,"eds-progress-bar",{"value":[1026],"showLabel":[4,"show-label"],"variant":[1],"labelPaddingX":[1,"label-padding-x"],"updateValue":[64]}],[1,"eds-tabs",{"identifier":[1,"id"],"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"variant":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}],[0,"eds-kg-web-services-select",{"apiEndpoint":[1,"api-endpoint"],"label":[1],"name":[1],"placeholder":[1],"required":[4],"disabled":[4],"size":[2],"searchTerm":[1,"search-term"],"value":[1025],"hint":[1],"message":[1],"error":[4],"errorMessage":[1,"error-message"],"loading":[32],"webServices":[32],"fetchError":[32],"selectOptions":[32]}],[1,"eds-card-generic",{"title":[1],"url":[1],"description":[1],"tags":[1],"intent":[1],"icon":[1],"titleSize":[1,"title-size"],"isHovered":[32]},[[0,"parentContext","handleParentContext"]]],[1,"eds-footer",{"social":[4],"variant":[513],"enableScrollTop":[4,"enable-scroll-top"],"fundedBy":[1,"funded-by"],"rightsReserved":[1,"rights-reserved"],"cookiesPreferences":[1,"cookies-preferences"],"enableCookiesSettings":[4,"enable-cookies-settings"],"backToTopAriaLabel":[1,"back-to-top-aria-label"],"columns":[1],"resolvedColumns":[32]},[[9,"scroll","handleScroll"]],{"columns":["onColumnsChange"]}],[1,"eds-search-select",{"name":[1],"label":[1],"placeholder":[1],"required":[4],"disabled":[4],"hint":[1],"message":[1],"error":[4],"errorMessage":[1,"error-message"],"value":[1025],"multiple":[4],"options":[1],"source":[1],"apiBase":[1,"api-base"],"searchParam":[1,"search-param"],"limit":[2],"debounceMs":[2,"debounce-ms"],"maxVisible":[2,"max-visible"],"open":[32],"query":[32],"loading":[32],"fetchError":[32],"items":[32],"total":[32],"activeIndex":[32],"selectedLabel":[32]},null,{"options":["onOptionsChange"],"value":["onValueChange"]}],[1,"eds-matomo-notice",{"heading":[1,"title"],"description":[1],"optOutMessage":[1,"opt-out-message"],"forceShow":[4,"force-show"],"showNotice":[32]},[[16,"cookies","toggleCookiesConsent"]]],[1,"eds-nps",{"question":[1],"leftLabel":[1,"left-label"],"rightLabel":[1,"right-label"],"selectedValue":[2,"selected-value"],"internalValue":[32]},null,{"selectedValue":["handleSelectedValueChange"]}],[1,"eds-dropdown",{"icon":[1],"label":[1],"ariaLabel":[1,"aria-label"],"asNav":[4,"as-nav"],"dropdownPos":[1,"dropdown-pos"],"dropdownOffset":[4,"dropdown-offset"],"intent":[1],"autoClose":[4,"auto-close"],"noCloseSelector":[1,"no-close-selector"],"isOpen":[32],"focusIndex":[32],"close":[64]},[[8,"click","handleWindowClick"],[8,"keydown","handleKeyDown"],[0,"click","handleHostInternalClick"]]],[1,"eds-steps",{"steps":[1],"type":[1],"orientation":[1],"theme":[1],"nextLabel":[1,"next-label"],"backLabel":[1,"back-label"],"finishLabel":[1,"finish-label"],"showFinish":[4,"show-finish"],"disableNext":[1032,"disable-next"],"headingLevel":[513,"heading-level"],"collapsibleTitles":[4,"collapsible-titles"],"activeStep":[32]},null,{"disableNext":["handleDisableNextChange"],"activeStep":["activeStepChanged"]}],[1,"eds-toast",{"message":[1],"intent":[1],"duration":[2],"visible":[32]}],[1,"eds-table",{"data":[1,"table-data"],"config":[1],"rowsPerPage":[2,"rows-per-page"],"paginationEnabled":[4,"pagination-enabled"],"searchEnabled":[4,"search-enabled"],"hostWidth":[1,"host-width"],"actions":[1],"actionTemplate":[16],"sortingEnabled":[4,"sorting-enabled"],"theme":[1025],"view":[1025],"showViewToggle":[4,"show-view-toggle"],"parsedActions":[32],"dataColumns":[32],"tbData":[32],"columns":[32],"currentPage":[32],"parsedConfig":[32],"totalRows":[32],"searchQuery":[32],"containerWidth":[32],"sortColumn":[32],"sortDirection":[32]},null,{"data":["handleDataChange","parseData"],"config":["handleConfigChange"],"actions":["handleActionsChange"]}],[1,"eds-rating",{"ratingType":[1,"rating-type"],"ratingCount":[2,"rating-count"],"selectedRating":[2,"selected-rating"],"internalRating":[32]},null,{"selectedRating":["handleSelectedRatingChange"]}],[1,"eds-social-networks",{"heading":[1,"title"],"variant":[1]}],[1,"eds-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"picture":[1],"initials":[1],"color":[1]}],[1,"eds-card-desc",{"description":[1],"truncate":[4],"truncateLines":[1,"truncate-lines"],"intent":[1]}],[1,"eds-card-title",{"url":[1],"externalLink":[4,"external-link"],"title":[1],"intent":[1],"size":[1]}],[1,"eds-pagination",{"currentPage":[2,"current-page"],"lastPage":[2,"last-page"],"perPage":[2,"per-page"],"total":[2],"url":[1],"mode":[1],"useButtons":[4,"use-buttons"],"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"links":[32],"focusedIndex":[32]},null,{"currentPage":["onPageOrLastPageChange"],"lastPage":["onPageOrLastPageChange"]}],[1,"eds-accordion",{"heading":[1,"title"],"description":[1],"variant":[1],"icon":[1],"switchBg":[4,"switch-bg"],"expanded":[4],"clampText":[4,"clamp-text"],"isExpanded":[32],"toggleIcon":[32]}],[1,"eds-block-break",{"inverse":[4]}],[1,"eds-spinner",{"size":[1],"variant":[1],"message":[1],"background":[1],"fullscreen":[4]}],[1,"eds-switch",{"checked":[1540],"disabled":[4],"labelOn":[1,"label-on"],"labelOff":[1,"label-off"],"variant":[1]}],[1,"eds-tooltip",{"content":[1],"position":[1]},[[1,"mouseenter","handleHover"]]],[1,"eds-alert",{"message":[1],"pressableLabel":[1,"pressable-label"],"pressableUrl":[1,"pressable-url"],"direction":[1],"intent":[1],"icon":[1],"dismissible":[4],"withBtn":[32],"dismissed":[32]},null,{"pressableLabel":["onPressableLabelChange"]}],[1,"eds-img",{"src":[1],"alt":[1],"width":[2],"height":[2],"srcset":[1],"sizes":[1],"formats":[16],"lazyload":[4],"withBg":[4,"with-bg"],"loaded":[32],"showBg":[32]}],[1,"eds-tag",{"label":[1],"intent":[1],"size":[1]}],[17,"eds-input-field",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"required":[4],"label":[1],"hint":[1],"icon":[1],"link":[16],"message":[1],"error":[4],"checked":[4],"errorMessage":[1,"error-message"],"value":[8],"maxLength":[2,"max-length"],"min":[2],"max":[2],"step":[2],"options":[1],"type":[1],"onChangeNative":[16],"onInput":[16],"exposeValueEvents":[4,"expose-value-events"]}],[0,"eds-input",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"checked":[4],"type":[1],"required":[4],"value":[8],"icon":[1],"maxLength":[2,"max-length"],"options":[16],"extraClass":[1,"extra-class"],"min":[2],"max":[2],"step":[2],"inputTabIndex":[2,"input-tab-index"],"innerVal":[32],"maxLengthReached":[32]},null,{"value":["onValueChanged"]}],[0,"eds-input-select",{"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"required":[4],"options":[16],"value":[8]}],[1,"eds-input-dropzone",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"multiple":[4],"accept":[1],"maxFileSize":[2,"max-file-size"],"primaryText":[1,"primary-text"],"secondaryText":[1,"secondary-text"],"selectedFiles":[32],"isDragging":[32]}],[1,"eds-input-file",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"multiple":[4],"accept":[1],"maxFileSize":[2,"max-file-size"],"buttonLabel":[1,"button-label"],"selectedFiles":[32]}],[0,"eds-input-range",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"min":[2],"max":[2],"step":[2],"value":[2],"sliderVal":[32],"getInputElement":[64]},null,{"value":["onValueChange"]}],[1,"eds-input-footer",{"name":[1],"errorMessage":[1,"error-message"],"message":[1],"error":[4],"link":[16]}],[1,"eds-input-label",{"label":[1],"name":[1],"required":[4],"disabled":[4]}],[1,"eds-logo",{"href":[1],"orientation":[1],"variant":[1,"type"],"label":[1]}],[1,"eds-code-block",{"code":[1],"language":[1],"copied":[32]}],[17,"eds-button",{"label":[1],"ariaLabel":[1,"aria-label"],"elementType":[1,"element-type"],"intent":[1],"loading":[4],"disabled":[4],"pill":[4],"icon":[1],"size":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"triggerClick":[16],"fullWidth":[4,"full-width"]},[[0,"parentContext","handleParentContext"]]],[1,"eds-link",{"label":[1],"intent":[1],"icon":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"size":[1],"pill":[4],"external":[4],"current":[4],"download":[4],"url":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"hideLabelOnSmallScreen":[4,"hide-label-on-small-screen"]},[[0,"parentContext","handleParentContext"]]],[1,"eds-icon-wrapper",{"name":[1],"size":[2],"label":[1]}]]],["p-e9e6ec19",[[1,"logo-space"]]],["p-12acc48d",[[1,"svg-repository"]]],["p-c4cfbf98",[[0,"docs-palettes",{"tabIndex":[2,"tab-index"]}]]],["p-42791331",[[0,"components-section",{"tabIndex":[2,"tab-index"]}]]],["p-786ff09b",[[1,"eds-gitlab-contributors",{"accessToken":[1,"access-token"],"projectId":[1,"project-id"],"apiUrl":[1,"api-url"],"path":[1],"limit":[2],"minCommits":[2,"min-commits"],"showStats":[4,"show-stats"],"columns":[1],"sortBy":[1,"sort-by"],"contributors":[32],"loading":[32],"error":[32]}]]],["p-62f53e7a",[[0,"docs-tokens",{"tabIndex":[2,"tab-index"]}]]],["p-5ff4b1d0",[[0,"eds-cookies-preference",{"buttonText":[1,"button-text"],"intent":[1],"showMatomoNotice":[32],"noticeKey":[32]}]]],["p-1fbcc480",[[1,"eds-timeline",{"events":[1],"selectedEvent":[32],"parsedEvents":[32]},null,{"events":["parseEvents"]}]]],["p-0e2bac0f",[[0,"incorrect-use-of-colors"]]],["p-37ef07d9",[[1,"eds-feedback",{"headingLevel":[1,"heading-level"],"type":[1],"count":[2],"label":[1],"description":[1],"textMapping":[1,"text-mapping"],"selectedRating":[32]},[[16,"rating","ratingUpdated"]]]]],["p-8a483358",[[1,"eds-toast-manager",{"toasts":[32]}]]],["p-f9a9fa34",[[0,"logo-variations-tabs",{"tabIndex":[2,"tab-index"]}]]],["p-e71a4f29",[[0,"correct-use-of-colors"]]],["p-6be1730a",[[1,"eds-app-root",{"isAuthenticated":[32]}]]],["p-62580004",[[1,"eds-frame",{"frameLabel":[1,"frame-label"],"frameSrc":[1,"frame-src"],"urlLabel":[1,"url-label"],"errorMessage":[1,"error-message"],"url":[1],"intent":[1],"size":[1],"iframeError":[32]}]]],["p-1cc26ddf",[[1,"eds-modal",{"heading":[1,"title"],"truncate":[2],"position":[1],"size":[1],"inverseHeader":[4,"inverse-header"],"isOpen":[32],"open":[64],"close":[64],"toggle":[64]},[[0,"eds-modal-open","handleGlobalOpen"],[0,"eds-modal-close","handleGlobalClose"],[8,"keydown","handleKeyDown"]]]]],["p-80a32e20",[[0,"token-ratios"]]],["p-25729ade",[[0,"token-typography"]]],["p-bdcb71e1",[[0,"eds-input-search",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"value":[1],"disabled":[4],"required":[4],"decorate":[1],"label":[1],"getInputElement":[64]}]]],["p-b1a10842",[[1,"eds-gauge",{"size":[2],"valueMin":[2,"value-min"],"valueMax":[2,"value-max"],"value":[2],"thickness":[2],"variant":[1]}]]],["p-c2127276",[[0,"eds-icon-bluesky",{"class":[1]}]]],["p-cc096938",[[0,"eds-icon-eu",{"class":[1]}]]],["p-1e6f0572",[[0,"eds-icon-facebook",{"class":[1]}]]],["p-18399fe1",[[0,"eds-icon-gitlab",{"class":[1]}]]],["p-c65082fe",[[0,"eds-icon-linkedin",{"class":[1]}]]],["p-c3ee9163",[[0,"eds-icon-mastodon",{"class":[1]}]]],["p-f4d2f882",[[0,"eds-icon-twitter",{"class":[1]}]]],["p-00ba405d",[[0,"eds-icon-youtube",{"class":[1]}]]],["p-ddb9ce00",[[1,"eds-pie",{"size":[2],"slices":[1],"thickness":[2],"display":[1],"legend":[4],"colorScheme":[1,"color-scheme"]}]]],["p-d59d6fda",[[1,"eds-trl-badge",{"level":[2],"assessed":[1],"methodology":[1],"theme":[1],"variant":[1],"size":[2],"label":[1],"href":[1]}]]],["p-e027bc90",[[1,"logo-wrong-usage"]]],["p-03342030",[[0,"token-spacing"]]],["p-7baaf1a1",[[1,"eds-splash-screen",{"inverse":[4],"initPromise":[16],"isVisible":[32]},[[8,"hideSplash","handleHideSplash"]],{"initPromise":["watchInitPromise"]}]]],["p-3d1bb2fe",[[1,"logo-variations-horizontal"],[1,"logo-variations-vertical",{"orientation":[1],"type":[1]}]]],["p-e339d0b5",[[0,"token-list",{"show":[1]}],[0,"token-radii"],[0,"token-shadows"]]],["p-e4df206e",[[1,"eds-section-core",{"tag":[1],"sectionTitle":[1,"section-title"],"headingLevel":[1,"heading-level"]}],[0,"eds-section-heading",{"sectionTitle":[1,"section-title"],"withContainer":[4,"with-container"],"headingLevel":[1,"heading-level"],"tag":[1],"spacingLarge":[4,"spacing-large"]}]]],["p-27e093c3",[[0,"gradient-secondary-palette"],[0,"color-primary-palette"],[0,"color-secondary-palette",{"show":[1]}],[0,"color-support-palette"],[0,"gradient-primary-palette"],[0,"gradient-support-palette"]]]]'),e))));
|
|
1
|
+
import{p as e,b as a}from"./p-271c61ff.js";export{s as setNonce}from"./p-271c61ff.js";import{g as t}from"./p-e1255160.js";(()=>{const a=import.meta.url,t={};return""!==a&&(t.resourcesUrl=new URL(".",a).href),e(t)})().then((async e=>(await t(),a(JSON.parse('[["p-337d4ee3",[[1,"eds-form",{"name":[1],"title":[1],"description":[1],"eyebrow":[1],"estimatedTime":[1,"estimated-time"],"progress":[2],"expires":[1],"policy":[1],"gdpr":[4],"setFormUrl":[4,"set-form-url"],"formBtn":[4,"form-btn"],"formBtnLabel":[1,"form-btn-label"],"buttonIntent":[1,"button-intent"],"clearBtn":[4,"clear-btn"],"clearBtnLabel":[1,"clear-btn-label"],"errorMessage":[1,"error-message"],"fields":[1],"groups":[1],"initData":[16],"formStyle":[1,"form-style"],"status":[1],"saveStatus":[1,"save-status"],"saveLabel":[1,"save-label"],"values":[32],"showClearConfirm":[32],"isSubmitting":[32],"hasError":[32],"errors":[32],"parsedFields":[32],"parsedGroups":[32],"setData":[64],"getData":[64]},null,{"fields":["parseFields"],"groups":["parseGroups"]}],[1,"eds-fullscreen-menu",{"links":[1],"menuLinks":[1,"menu-links"],"homeUrl":[1,"home-url"],"inverseHeader":[4,"inverse-header"],"isMenuOpen":[32],"open":[64],"close":[64]},[[16,"toggleheadermenu","handleToggleMenu"],[8,"keydown","onKeydown"]]],[1,"eds-kg-learning-resources",{"apiEndpoint":[1,"api-endpoint"],"resolveNames":[4,"resolve-names"],"size":[2],"heading":[1],"variant":[1],"loading":[32],"error":[32],"software":[32],"meta":[32],"filterType":[32],"filterLevel":[32],"searchQuery":[32]}],[1,"eds-user",{"user":[1025],"intent":[1],"dropdownLabel":[1,"dropdown-label"],"expanded":[32],"closeDropdown":[64]}],[1,"eds-header",{"url":[513],"links":[1],"variant":[513],"menu":[4],"isMenuOpen":[32],"isUserMenuOpen":[32]}],[1,"eds-card-app",{"category":[1],"title":[1],"description":[1],"tags":[1],"url":[1],"linkText":[1,"link-text"],"variant":[1]}],[1,"eds-card-cta",{"title":[1],"description":[1],"primaryButtonText":[1,"primary-button-text"],"primaryButtonUrl":[1,"primary-button-url"],"secondaryButtonText":[1,"secondary-button-text"],"secondaryButtonUrl":[1,"secondary-button-url"],"links":[1],"variant":[1]}],[1,"eds-steps-v2",{"steps":[1],"type":[1],"orientation":[1],"theme":[1],"imageSrc":[1,"image-src"],"imageWidth":[2,"image-width"],"message":[1],"nextLabel":[1,"next-label"],"backLabel":[1,"back-label"],"finishLabel":[1,"finish-label"],"showFinish":[4,"show-finish"],"card":[4],"disableNext":[1032,"disable-next"],"headingLevel":[513,"heading-level"],"activeStep":[32],"isMobile":[32]},null,{"disableNext":["handleDisableNextChange"],"activeStep":["activeStepChanged"]}],[1,"eds-breadcrumb",{"items":[1],"intent":[1],"parsedItems":[32],"isSmallScreen":[32],"maxVisibleItems":[32]},null,{"items":["parseItems"]}],[1,"eds-card-feature",{"icon":[1],"title":[1],"description":[1],"url":[1],"linkText":[1,"link-text"],"variant":[1]}],[1,"eds-global-search",{"apiEndpoint":[1,"api-endpoint"],"placeholder":[1],"limit":[2],"debounceDelay":[2,"debounce-delay"],"forceNewTab":[4,"force-new-tab"],"currentOrigin":[1,"current-origin"],"currentSource":[1,"current-source"],"authToken":[1,"auth-token"],"variant":[513],"query":[32],"results":[32],"loading":[32],"error":[32],"hasSearched":[32],"showDropdown":[32],"selectedIndex":[32]},[[4,"click","handleDocumentClick"],[0,"keydown","handleKeydown"]]],[1,"eds-sidebar",{"items":[1],"theme":[1],"activeUrl":[1,"active-url"],"enableRouting":[4,"enable-routing"],"maxLevel":[2,"max-level"],"openItems":[32],"parsedItems":[32]},null,{"items":["handleItemsChange"],"activeUrl":["handleActiveUrlChange"]}],[1,"eds-card-hero",{"category":[1],"title":[1],"description":[1],"tags":[1],"url":[1],"variant":[1]}],[1,"eds-card-stat",{"number":[1],"label":[1],"description":[1],"url":[1],"variant":[1]}],[1,"eds-progress-bar",{"value":[1026],"showLabel":[4,"show-label"],"variant":[1],"labelPaddingX":[1,"label-padding-x"],"updateValue":[64]}],[1,"eds-tabs",{"identifier":[1,"id"],"navAriaLabel":[1,"nav-aria-label"],"tabs":[1],"variant":[1],"parsedTabs":[32],"activeIndex":[32]},null,{"tabs":["parseTabs"]}],[0,"eds-kg-web-services-select",{"apiEndpoint":[1,"api-endpoint"],"label":[1],"name":[1],"placeholder":[1],"required":[4],"disabled":[4],"size":[2],"searchTerm":[1,"search-term"],"value":[1025],"hint":[1],"message":[1],"error":[4],"errorMessage":[1,"error-message"],"loading":[32],"webServices":[32],"fetchError":[32],"selectOptions":[32]}],[1,"eds-card-generic",{"title":[1],"url":[1],"description":[1],"tags":[1],"intent":[1],"icon":[1],"titleSize":[1,"title-size"],"isHovered":[32]},[[0,"parentContext","handleParentContext"]]],[1,"eds-footer",{"social":[4],"variant":[513],"enableScrollTop":[4,"enable-scroll-top"],"fundedBy":[1,"funded-by"],"rightsReserved":[1,"rights-reserved"],"cookiesPreferences":[1,"cookies-preferences"],"enableCookiesSettings":[4,"enable-cookies-settings"],"backToTopAriaLabel":[1,"back-to-top-aria-label"],"columns":[1],"resolvedColumns":[32]},[[9,"scroll","handleScroll"]],{"columns":["onColumnsChange"]}],[1,"eds-search-select",{"name":[1],"label":[1],"placeholder":[1],"required":[4],"disabled":[4],"hint":[1],"message":[1],"error":[4],"errorMessage":[1,"error-message"],"value":[1025],"multiple":[4],"options":[1],"source":[1],"apiBase":[1,"api-base"],"searchParam":[1,"search-param"],"limit":[2],"debounceMs":[2,"debounce-ms"],"maxVisible":[2,"max-visible"],"open":[32],"query":[32],"loading":[32],"fetchError":[32],"items":[32],"total":[32],"activeIndex":[32],"selectedLabel":[32]},null,{"options":["onOptionsChange"],"value":["onValueChange"]}],[1,"eds-matomo-notice",{"heading":[1,"title"],"description":[1],"optOutMessage":[1,"opt-out-message"],"forceShow":[4,"force-show"],"showNotice":[32]},[[16,"cookies","toggleCookiesConsent"]]],[1,"eds-nps",{"question":[1],"leftLabel":[1,"left-label"],"rightLabel":[1,"right-label"],"selectedValue":[2,"selected-value"],"internalValue":[32]},null,{"selectedValue":["handleSelectedValueChange"]}],[1,"eds-dropdown",{"icon":[1],"label":[1],"ariaLabel":[1,"aria-label"],"asNav":[4,"as-nav"],"dropdownPos":[1,"dropdown-pos"],"dropdownOffset":[4,"dropdown-offset"],"intent":[1],"autoClose":[4,"auto-close"],"noCloseSelector":[1,"no-close-selector"],"isOpen":[32],"focusIndex":[32],"close":[64]},[[8,"click","handleWindowClick"],[8,"keydown","handleKeyDown"],[0,"click","handleHostInternalClick"]]],[1,"eds-steps",{"steps":[1],"type":[1],"orientation":[1],"theme":[1],"nextLabel":[1,"next-label"],"backLabel":[1,"back-label"],"finishLabel":[1,"finish-label"],"showFinish":[4,"show-finish"],"disableNext":[1032,"disable-next"],"headingLevel":[513,"heading-level"],"collapsibleTitles":[4,"collapsible-titles"],"activeStep":[32],"isMobile":[32]},null,{"disableNext":["handleDisableNextChange"],"activeStep":["activeStepChanged"]}],[1,"eds-toast",{"message":[1],"intent":[1],"variant":[1],"heading":[1],"icon":[1],"dismissible":[4],"duration":[2],"visible":[32],"hasActions":[32]}],[1,"eds-table",{"data":[1,"table-data"],"config":[1],"rowsPerPage":[2,"rows-per-page"],"paginationEnabled":[4,"pagination-enabled"],"searchEnabled":[4,"search-enabled"],"hostWidth":[1,"host-width"],"actions":[1],"actionTemplate":[16],"sortingEnabled":[4,"sorting-enabled"],"theme":[1025],"view":[1025],"showViewToggle":[4,"show-view-toggle"],"parsedActions":[32],"dataColumns":[32],"tbData":[32],"columns":[32],"currentPage":[32],"parsedConfig":[32],"totalRows":[32],"searchQuery":[32],"containerWidth":[32],"sortColumn":[32],"sortDirection":[32]},null,{"data":["handleDataChange","parseData"],"config":["handleConfigChange"],"actions":["handleActionsChange"]}],[1,"eds-rating",{"ratingType":[1,"rating-type"],"ratingCount":[2,"rating-count"],"selectedRating":[2,"selected-rating"],"internalRating":[32]},null,{"selectedRating":["handleSelectedRatingChange"]}],[1,"eds-social-networks",{"heading":[1,"title"],"variant":[1]}],[1,"eds-avatar",{"firstName":[1,"first-name"],"lastName":[1,"last-name"],"picture":[1],"initials":[1],"color":[1]}],[1,"eds-card-desc",{"description":[1],"truncate":[4],"truncateLines":[1,"truncate-lines"],"intent":[1]}],[1,"eds-card-title",{"url":[1],"externalLink":[4,"external-link"],"title":[1],"intent":[1],"size":[1]}],[1,"eds-pagination",{"currentPage":[2,"current-page"],"lastPage":[2,"last-page"],"perPage":[2,"per-page"],"total":[2],"url":[1],"mode":[1],"useButtons":[4,"use-buttons"],"prevLabel":[1,"prev-label"],"nextLabel":[1,"next-label"],"prevUrl":[1,"prev-url"],"nextUrl":[1,"next-url"],"links":[32],"focusedIndex":[32]},null,{"currentPage":["onPageOrLastPageChange"],"lastPage":["onPageOrLastPageChange"]}],[1,"eds-accordion",{"heading":[1,"title"],"description":[1],"variant":[1],"icon":[1],"switchBg":[4,"switch-bg"],"expanded":[4],"clampText":[4,"clamp-text"],"isExpanded":[32],"toggleIcon":[32]}],[1,"eds-block-break",{"inverse":[4]}],[1,"eds-spinner",{"size":[1],"variant":[1],"message":[1],"background":[1],"fullscreen":[4]}],[1,"eds-switch",{"checked":[1540],"disabled":[4],"labelOn":[1,"label-on"],"labelOff":[1,"label-off"],"variant":[1]}],[1,"eds-tooltip",{"content":[1],"position":[1]},[[1,"mouseenter","handleHover"]]],[1,"eds-alert",{"message":[1],"pressableLabel":[1,"pressable-label"],"pressableUrl":[1,"pressable-url"],"direction":[1],"intent":[1],"icon":[1],"dismissible":[4],"withBtn":[32],"dismissed":[32]},null,{"pressableLabel":["onPressableLabelChange"]}],[1,"eds-img",{"src":[1],"alt":[1],"width":[2],"height":[2],"srcset":[1],"sizes":[1],"formats":[16],"lazyload":[4],"withBg":[4,"with-bg"],"loaded":[32],"showBg":[32]}],[1,"eds-tag",{"label":[1],"intent":[1],"size":[1]}],[17,"eds-input-field",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"required":[4],"label":[1],"hint":[1],"icon":[1],"link":[16],"message":[1],"error":[4],"checked":[4],"errorMessage":[1,"error-message"],"value":[8],"maxLength":[2,"max-length"],"min":[2],"max":[2],"step":[2],"options":[1],"type":[1],"onChangeNative":[16],"onInput":[16],"exposeValueEvents":[4,"expose-value-events"]}],[0,"eds-input",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"checked":[4],"type":[1],"required":[4],"value":[8],"icon":[1],"maxLength":[2,"max-length"],"options":[16],"extraClass":[1,"extra-class"],"min":[2],"max":[2],"step":[2],"inputTabIndex":[2,"input-tab-index"],"innerVal":[32],"maxLengthReached":[32]},null,{"value":["onValueChanged"]}],[0,"eds-input-select",{"inputId":[1,"input-id"],"name":[1],"placeholder":[1],"disabled":[4],"hasMessage":[4,"has-message"],"error":[4],"required":[4],"options":[16],"value":[8]}],[1,"eds-input-dropzone",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"multiple":[4],"accept":[1],"maxFileSize":[2,"max-file-size"],"primaryText":[1,"primary-text"],"secondaryText":[1,"secondary-text"],"selectedFiles":[32],"isDragging":[32]}],[1,"eds-input-file",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"multiple":[4],"accept":[1],"maxFileSize":[2,"max-file-size"],"buttonLabel":[1,"button-label"],"selectedFiles":[32]}],[0,"eds-input-range",{"name":[1],"inputId":[1,"input-id"],"disabled":[4],"required":[4],"min":[2],"max":[2],"step":[2],"value":[2],"sliderVal":[32],"getInputElement":[64]},null,{"value":["onValueChange"]}],[1,"eds-input-footer",{"name":[1],"errorMessage":[1,"error-message"],"message":[1],"error":[4],"link":[16]}],[1,"eds-input-label",{"label":[1],"name":[1],"required":[4],"disabled":[4]}],[1,"eds-logo",{"href":[1],"variant":[1,"type"]}],[1,"eds-code-block",{"code":[1],"language":[1],"copied":[32]}],[17,"eds-button",{"label":[1],"ariaLabel":[1,"aria-label"],"elementType":[1,"element-type"],"intent":[1],"loading":[4],"disabled":[4],"pill":[4],"icon":[1],"size":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"triggerClick":[16],"fullWidth":[4,"full-width"]},[[0,"parentContext","handleParentContext"]]],[1,"eds-link",{"label":[1],"intent":[1],"icon":[1],"iconPos":[1,"icon-pos"],"iconSmall":[4,"icon-small"],"size":[1],"pill":[4],"external":[4],"current":[4],"download":[4],"url":[1],"ariaLabel":[1,"aria-label"],"disabled":[4],"hideLabelOnSmallScreen":[4,"hide-label-on-small-screen"]},[[0,"parentContext","handleParentContext"]]],[1,"eds-icon-wrapper",{"name":[1],"size":[2],"label":[1]}]]],["p-4b8a7979",[[1,"logo-space"]]],["p-b4023b45",[[1,"svg-repository"]]],["p-340bc935",[[0,"docs-palettes",{"tabIndex":[2,"tab-index"]}]]],["p-8e034c4e",[[0,"components-section",{"tabIndex":[2,"tab-index"]}]]],["p-8cdbc280",[[1,"eds-gitlab-contributors",{"accessToken":[1,"access-token"],"projectId":[1,"project-id"],"apiUrl":[1,"api-url"],"path":[1],"limit":[2],"minCommits":[2,"min-commits"],"showStats":[4,"show-stats"],"columns":[1],"sortBy":[1,"sort-by"],"contributors":[32],"loading":[32],"error":[32]}]]],["p-114f6d54",[[0,"docs-tokens",{"tabIndex":[2,"tab-index"]}]]],["p-6ffe581c",[[0,"eds-cookies-preference",{"buttonText":[1,"button-text"],"intent":[1],"showMatomoNotice":[32],"noticeKey":[32]}]]],["p-b1519098",[[1,"eds-timeline",{"events":[1],"selectedEvent":[32],"parsedEvents":[32]},null,{"events":["parseEvents"]}]]],["p-0d778d10",[[0,"incorrect-use-of-colors"]]],["p-37ef07d9",[[1,"eds-feedback",{"headingLevel":[1,"heading-level"],"type":[1],"count":[2],"label":[1],"description":[1],"textMapping":[1,"text-mapping"],"selectedRating":[32]},[[16,"rating","ratingUpdated"]]]]],["p-86ccc09f",[[1,"eds-toast-manager",{"toasts":[32]}]]],["p-a26dad9b",[[0,"logo-variations-tabs",{"tabIndex":[2,"tab-index"]}]]],["p-8755a21b",[[0,"correct-use-of-colors"]]],["p-43f9e64f",[[1,"eds-app-root",{"isAuthenticated":[32]}]]],["p-6e370182",[[1,"eds-frame",{"frameLabel":[1,"frame-label"],"frameSrc":[1,"frame-src"],"urlLabel":[1,"url-label"],"errorMessage":[1,"error-message"],"url":[1],"intent":[1],"size":[1],"iframeError":[32]}]]],["p-1cc26ddf",[[1,"eds-modal",{"heading":[1,"title"],"truncate":[2],"position":[1],"size":[1],"inverseHeader":[4,"inverse-header"],"isOpen":[32],"open":[64],"close":[64],"toggle":[64]},[[0,"eds-modal-open","handleGlobalOpen"],[0,"eds-modal-close","handleGlobalClose"],[8,"keydown","handleKeyDown"]]]]],["p-f97f62f2",[[0,"token-ratios"]]],["p-3f66bc26",[[0,"token-typography"]]],["p-6b94b2ec",[[0,"eds-input-search",{"name":[1],"inputId":[1,"input-id"],"placeholder":[1],"value":[1],"disabled":[4],"required":[4],"decorate":[1],"label":[1],"getInputElement":[64]}]]],["p-b1a10842",[[1,"eds-gauge",{"size":[2],"valueMin":[2,"value-min"],"valueMax":[2,"value-max"],"value":[2],"thickness":[2],"variant":[1]}]]],["p-dc9aef22",[[0,"eds-icon-bluesky",{"class":[1]}]]],["p-c53b3563",[[0,"eds-icon-eu",{"class":[1]}]]],["p-39dbb964",[[0,"eds-icon-facebook",{"class":[1]}]]],["p-afabe1be",[[0,"eds-icon-gitlab",{"class":[1]}]]],["p-6d965fef",[[0,"eds-icon-linkedin",{"class":[1]}]]],["p-1534204d",[[0,"eds-icon-mastodon",{"class":[1]}]]],["p-a2d6a9ca",[[0,"eds-icon-twitter",{"class":[1]}]]],["p-9f649fa3",[[0,"eds-icon-youtube",{"class":[1]}]]],["p-ddb9ce00",[[1,"eds-pie",{"size":[2],"slices":[1],"thickness":[2],"display":[1],"legend":[4],"colorScheme":[1,"color-scheme"]}]]],["p-05e96609",[[1,"eds-trl-badge",{"level":[2],"assessed":[1],"methodology":[1],"theme":[1],"variant":[1],"size":[2],"label":[1],"href":[1]}]]],["p-726637b1",[[1,"logo-wrong-usage"]]],["p-46cc6c1a",[[0,"token-spacing"]]],["p-7baaf1a1",[[1,"eds-splash-screen",{"inverse":[4],"initPromise":[16],"isVisible":[32]},[[8,"hideSplash","handleHideSplash"]],{"initPromise":["watchInitPromise"]}]]],["p-8cb162b8",[[1,"logo-variations-horizontal"],[1,"logo-variations-vertical",{"orientation":[1],"type":[1]}]]],["p-f66a7cf9",[[0,"token-list",{"show":[1]}],[0,"token-radii"],[0,"token-shadows"]]],["p-8ab461e2",[[1,"eds-section-core",{"tag":[1],"sectionTitle":[1,"section-title"],"headingLevel":[1,"heading-level"]}],[0,"eds-section-heading",{"sectionTitle":[1,"section-title"],"withContainer":[4,"with-container"],"headingLevel":[1,"heading-level"],"tag":[1],"spacingLarge":[4,"spacing-large"]}]]],["p-c7d612d1",[[0,"gradient-secondary-palette"],[0,"color-primary-palette"],[0,"color-secondary-palette",{"show":[1]}],[0,"color-support-palette"],[0,"gradient-primary-palette"],[0,"gradient-support-palette"]]]]'),e))));
|
|
@@ -60,7 +60,7 @@ const CorrectUseOfColors$1 = /*@__PURE__*/ proxyCustomElement(class CorrectUseOf
|
|
|
60
60
|
this.__registerHost();
|
|
61
61
|
}
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: 'afddc656b9217a2df98181fe7be846c779486efb', class: "container" }, h("p", { key: '995cb777ef605d3cfb4a1fa8a8acf538a0522b74', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '5a14a5ea05e8b8bd58f2182594f4061986a9bfb0', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '22b9d164e0b5d22a82813b22e00258b051fb5291', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '1bd417ab605d072d6c87b5fcb708a475b06c0b4d', class: "flex" }, h("div", { key: 'e43e1e84710ac1fd52d7b9cc0deebd0c4d5a7e2e', class: "w-full" }, h("ul", { key: '18a5a63c7beace0bd6ecf0fe315f227162d10483', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'f3055c180b296dfb59863a754ffe6a06d726a6ff', class: "w-full" }, h("ul", { key: 'd341ddade09efdcc9d1af3964f9026a9707fbe0e', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: 'af0b4403b93fffceea6ea1e5f06967b598028a99', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '8ea91d6f8a9924da6a7f9bca61c127565aad9007', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '50febc4ea15b0fa627d33d95ffc7095ac2d6c4ff', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '808176e6142ebf50f8f0b0202af6f3ef9af7a3b8', class: "flex" }, h("div", { key: '6d848442a7c7bcde5ef10c56ae3ab6d34e5cadc6', class: "w-full" }, h("ul", { key: '32578cc459e343292790a3ff842bed8ae807dd82', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'e12a82ccea09771605f012eadd6e84c34b26f185', class: "w-full" }, h("ul", { key: 'f1ee5355e9f21f53289c2d5849e72dcd5a8d7031', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '26077e0df6ae891c93681a7958f9edb20eaa818f', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '14cb5e7a55efaedeff39f32cfa15745ee1182a68', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '0b05ada6b2a2791508aa7acb74f3b9df083fa316', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '39a0425ecb995d6bf8d0c6587127f702fb658440', class: "flex" }, h("div", { key: 'ab4a5ffbcb73a88fea4ee67306be6bf30ea1dcff', class: "w-full" }, h("ul", { key: '1117d4f1541cb02b915aecae6c54545f3242a4df', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'ffa7b0017bb21b6608e99b60788c0ea4509fddfc', class: "w-full" }, h("ul", { key: '88517aeead68cb768814577987355c3f1421d3b3', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '220bc12066e60ee1912fe194c849ad9569de8d69', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '51fb2578373998a1145c218d33f50c609fefc571', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'f11b329d33f72491c84b80b2094713673e0981b8', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '90c79cfa3aa9ca0c0ac9397d1f903ab3897e15ba', class: "flex" }, h("div", { key: 'e645ea51aac869eebd84e2f2d48bbd51c365b44c', class: "w-full" }, h("ul", { key: '7c7f731969f61d4b6005ee5c7855e1fe2f36e4b4', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '774507d20533e34dd712bea09b74858aff6d221a', class: "w-full" }, h("ul", { key: 'd270efd5cc0cca95117977a98aae34c037de82d0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
64
64
|
}
|
|
65
65
|
}, [0, "correct-use-of-colors"]);
|
|
66
66
|
function defineCustomElement$1() {
|
|
@@ -26,7 +26,7 @@ const DocsPalettes$1 = /*@__PURE__*/ proxyCustomElement(class DocsPalettes exten
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
render() {
|
|
29
|
-
return h("div", { key: '
|
|
29
|
+
return h("div", { key: 'bebc4aab533ad7f61012cae48372420c7fef2e69', class: "container" }, this.renderContent());
|
|
30
30
|
}
|
|
31
31
|
}, [0, "docs-palettes", {
|
|
32
32
|
"tabIndex": [2, "tab-index"]
|
|
@@ -30,7 +30,7 @@ const DocsContent = /*@__PURE__*/ proxyCustomElement(class DocsContent extends H
|
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return h("div", { key: '
|
|
33
|
+
return h("div", { key: '8819d91f67b1df2f4e2a7da791bce550003eaa41', class: "container" }, this.renderContent());
|
|
34
34
|
}
|
|
35
35
|
}, [0, "docs-tokens", {
|
|
36
36
|
"tabIndex": [2, "tab-index"]
|
|
@@ -48,11 +48,8 @@ const EdsAccordion = /*@__PURE__*/ proxyCustomElement(class EdsAccordion extends
|
|
|
48
48
|
this.toggleIcon = this.expanded ? 'chevron-down' : 'chevron-right';
|
|
49
49
|
}
|
|
50
50
|
render() {
|
|
51
|
-
const cardClasses = [
|
|
52
|
-
|
|
53
|
-
`accordion-card-${this.variant}`
|
|
54
|
-
].join(' ');
|
|
55
|
-
return (h("div", { key: '08061b87dfd54b49f8aa782f29e2a9c5c8bcd2ef', class: cardClasses }, h("div", { key: '728033232d8e6aa348bc98d028a5bd62d32fd934', class: "accordion-header", onClick: this.handleClick, onKeyDown: this.handleKeyDown, role: "button", tabindex: 0, "aria-expanded": String(this.isExpanded), "aria-controls": "accordionSection" }, this.icon && (h("div", { key: 'eeb4260c955a2d4394bc3663dc749afc45b6f87f', class: "accordion-icon" }, h("eds-icon-wrapper", { key: '0896625a235bda97a098ac7b9a4ebec00e5fa587', name: this.icon, size: 24 }))), h("div", { key: '3e6b85780bc597a84dc0eb5d2526f9e54c16148d', class: "accordion-header-text" }, h("h3", { key: 'b5c5c0023bc23dc225183736f02683134a40da93', class: "accordion-title" }, this.heading), this.description && (h("p", { key: 'eb04c90cef03a838a4f852b988f3a9984e593120', class: `accordion-description ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description))), h("eds-icon-wrapper", { key: '583d0bcc82a178c2a47eef586aede9c87e8ea456', name: this.toggleIcon, size: 20, class: "accordion-chevron" })), h("section", { key: '8f820377d639ced2d0a4fe505452b6b408640400', id: "accordionSection", "aria-hidden": String(!this.isExpanded), class: `accordion-panel ${this.isExpanded ? 'expanded' : ''}` }, h("div", { key: 'd41dc9c3ef21f14df3ca25138440356703fa35ed', class: "accordion-panel-inner" }, h("div", { key: '156c3c9b139efcb964525147338ecdeeca538123', class: "accordion-content" }, h("slot", { key: 'b19b54c279cca1a32b4ed0f5b0a319d87b7bf937' }))))));
|
|
51
|
+
const cardClasses = ['accordion-card', `accordion-card-${this.variant}`].join(' ');
|
|
52
|
+
return (h("div", { key: 'e437239cc58d208a41d178ad843b56b4cf96c868', class: cardClasses }, h("div", { key: 'd8918b77de629a60332118da38969f237ef5f4a6', class: "accordion-header", onClick: this.handleClick, onKeyDown: this.handleKeyDown, role: "button", tabindex: 0, "aria-expanded": String(this.isExpanded), "aria-controls": "accordionSection" }, this.icon && (h("div", { key: '56d74602ae6f5b2246a42047caae30fd7affd5eb', class: "accordion-icon" }, h("eds-icon-wrapper", { key: '91dec34e9bec65648e943203dfbf7a2c2f85a239', name: this.icon, size: 24 }))), h("div", { key: '3abdd978e4de24e892fe763a2ad42606915b7136', class: "accordion-header-text" }, h("h3", { key: '7a6e750e6b9462577fd71c4a08d5e029c5c31c17', class: "accordion-title" }, this.heading), this.description && (h("p", { key: '1b79cce1a659c8ec48f365c44bbd9593bb11769a', class: `accordion-description ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description))), h("eds-icon-wrapper", { key: 'a911f1daf7776c574ec42a7d007c2c21768d0b05', name: this.toggleIcon, size: 20, class: "accordion-chevron" })), h("section", { key: 'fe743b5bffe37fd352d26f3a1660fd0e0a6633a7', id: "accordionSection", "aria-hidden": String(!this.isExpanded), class: `accordion-panel ${this.isExpanded ? 'expanded' : ''}` }, h("div", { key: '0d9fc37345deb16c1a5793c7deeb41298c4cf209', class: "accordion-panel-inner" }, h("div", { key: '697c71cdf914948ba9d017a2e92f42ce0e2ffc73', class: "accordion-content" }, h("slot", { key: '156b2c0be11111d3876bdbc1852f51a8b44b0284' }))))));
|
|
56
53
|
}
|
|
57
54
|
get el() { return this; }
|
|
58
55
|
static get style() { return EdsAccordionStyle0; }
|
|
@@ -3,7 +3,7 @@ import { d as defineCustomElement$3 } from './eds-button2.js';
|
|
|
3
3
|
import { d as defineCustomElement$2 } from './eds-icon-wrapper2.js';
|
|
4
4
|
import { d as defineCustomElement$1 } from './eds-link2.js';
|
|
5
5
|
|
|
6
|
-
const edsAlertCss = ":host{display:block;width:100%}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}p{margin:0}.alert-card{position:relative;border-radius:16px;padding:1rem 1.25rem;display:flex;gap:0.75rem;width:100%;border:1px solid rgba(0, 0, 0, 0.1);overflow:hidden;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)}.alert-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px}.alert-default{background-color:var(--grey-light);color:var(--brand-black)}.alert-default::before{background-color:var(--grey-dark)}.alert-default .alert-icon{color:var(--grey-dark)}.alert-warning{background-color:var(--yellow-200);color:var(--brand-black)}.alert-warning::before{background-color:var(--yellow-600)}.alert-warning .alert-icon{color:var(--yellow-600)}.alert-error{background-color:var(--red-200);color:var(--brand-black)}.alert-error::before{background-color:var(--red-600)}.alert-error .alert-icon{color:var(--red-600)}.alert-success{background-color:var(--brand-green);color:var(--brand-black)}.alert-success::before{background-color:var(--green-700)}.alert-success .alert-icon{color:var(--green-700)}.alert-brand{background-color:var(--brand-black);color:var(--brand-green)}.alert-brand::before{background-color:var(--brand-green)}.alert-brand .alert-icon{color:var(--brand-green)}.alert-brand .alert-dismiss{color:var(--brand-green)}.alert-horizontal{flex-direction:row;align-items:center}.alert-vertical{flex-direction:column;align-items:flex-start}.alert-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center}.alert-body{flex:1;min-width:0}.alert-message{margin:0}.alert-action{flex-shrink:0}.alert-dismiss{flex-shrink:0;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0.25rem;border-radius:8px;color:inherit;opacity:0.7;transition:opacity 0.2s ease}.alert-dismiss:hover{opacity:1}.alert-dismiss:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}@media (max-width: 768px){.alert-card{padding:0.75rem 1rem;gap:0.5rem}.alert-horizontal{flex-direction:column;align-items:flex-start}}";
|
|
6
|
+
const edsAlertCss = ":host{display:block;width:100%}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}p{margin:0}.alert-card{position:relative;border-radius:16px;padding:1rem 1.25rem;display:flex;gap:0.75rem;width:100%;border:1px solid rgba(0, 0, 0, 0.1);overflow:hidden;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)}.alert-card::before{content:'';position:absolute;left:0;top:0;bottom:0;width:4px}.alert-default{background-color:var(--grey-light);color:var(--brand-black)}.alert-default::before{background-color:var(--grey-dark)}.alert-default .alert-icon{color:var(--grey-dark)}.alert-warning{background-color:var(--yellow-200);color:var(--brand-black)}.alert-warning::before{background-color:var(--yellow-600)}.alert-warning .alert-icon{color:var(--yellow-600)}.alert-error{background-color:var(--red-200);color:var(--brand-black)}.alert-error::before{background-color:var(--red-600)}.alert-error .alert-icon{color:var(--red-600)}.alert-success{background-color:var(--brand-green);color:var(--brand-black)}.alert-success::before{background-color:var(--green-700)}.alert-success .alert-icon{color:var(--green-700)}.alert-brand{background-color:var(--brand-black);color:var(--brand-green)}.alert-brand::before{background-color:var(--brand-green)}.alert-brand .alert-icon{color:var(--brand-green)}.alert-brand .alert-dismiss{color:var(--brand-green)}.alert-horizontal{flex-direction:row;align-items:center}.alert-vertical{flex-direction:column;align-items:flex-start}.alert-icon{flex-shrink:0;display:flex;align-items:center;justify-content:center}.alert-body{flex:1;min-width:0}.alert-message{margin:0}.alert-action{flex-shrink:0}.alert-dismiss{flex-shrink:0;display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:0.25rem;border-radius:8px;color:inherit;opacity:0.7;transition:opacity 0.2s ease}.alert-dismiss:hover{opacity:1}.alert-dismiss:focus-visible{outline:2px solid var(--brand-green);outline-offset:2px}@media (max-width: 768px){.alert-card{padding:0.75rem 1rem;gap:0.5rem}.alert-horizontal{flex-direction:column;align-items:flex-start}.alert-dismiss{position:absolute;top:0.5rem;right:0.5rem;padding:0.125rem}.alert-card:has(.alert-dismiss){padding-right:2.25rem}}";
|
|
7
7
|
const EdsAlertStyle0 = edsAlertCss;
|
|
8
8
|
|
|
9
9
|
const EdsAlert = /*@__PURE__*/ proxyCustomElement(class EdsAlert extends HTMLElement {
|
|
@@ -45,8 +45,9 @@ const EdsAlert = /*@__PURE__*/ proxyCustomElement(class EdsAlert extends HTMLEle
|
|
|
45
45
|
this.edsDismiss.emit();
|
|
46
46
|
}
|
|
47
47
|
render() {
|
|
48
|
-
if (this.dismissed)
|
|
48
|
+
if (this.dismissed) {
|
|
49
49
|
return null;
|
|
50
|
+
}
|
|
50
51
|
const intent = this.normalizedIntent;
|
|
51
52
|
const ariaLabel = intent !== 'default' ? `${intent} alert` : 'alert';
|
|
52
53
|
return (h("div", { class: `alert-card alert-${intent} alert-${this.direction}`, role: "alert", "aria-label": ariaLabel, "aria-live": intent === 'error' || intent === 'warning' ? 'assertive' : 'polite' }, this.intentIcon && (h("div", { class: "alert-icon" }, h("eds-icon-wrapper", { name: this.intentIcon, size: 20 }))), h("div", { class: "alert-body" }, this.message ? (h("p", { class: "alert-message" }, this.message)) : (h("div", { class: "alert-message" }, h("slot", null)))), this.withBtn && (h("div", { class: "alert-action" }, this.pressableUrl ? (h("eds-link", { label: this.pressableLabel, url: this.pressableUrl, intent: "strong" })) : (h("eds-button", { label: this.pressableLabel, intent: "ghost", onClick: () => this.handleAction() })))), this.dismissible && (h("button", { class: "alert-dismiss", onClick: () => this.handleDismiss(), "aria-label": "Dismiss alert" }, h("eds-icon-wrapper", { name: "close", size: 20 })))));
|
|
@@ -30,7 +30,7 @@ const EdsAppRoot$1 = /*@__PURE__*/ proxyCustomElement(class EdsAppRoot extends H
|
|
|
30
30
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (h("div", { key: '
|
|
33
|
+
return (h("div", { key: 'c856dc661c22b74baee69d195ef92ab1e24bceae' }, h("eds-splash-screen", { key: '62689cd4fdee56d667071bad596037342812b7a6', inverse: true, initPromise: this.combinedInitPromise }), h("eds-login", { key: 'af2257c63a00025dbddbc2bd4bc7c08391ead2aa', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), h("main", { key: '8a2768437fb21855da535b8ea706f7cb3a17a36a' }, this.isAuthenticated ? h("h1", null, "Welcome, authenticated user!") : h("h1", null, "Please log in."))));
|
|
34
34
|
}
|
|
35
35
|
}, [1, "eds-app-root", {
|
|
36
36
|
"isAuthenticated": [32]
|