@ebrains/components 0.7.0-alpha.1 → 0.8.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/README.md +370 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion_17.cjs.entry.js +1468 -0
- package/dist/cjs/eds-alert.cjs.entry.js +11 -4
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +6 -2
- package/dist/cjs/{eds-avatar_4.cjs.entry.js → eds-card-desc_3.cjs.entry.js} +3 -70
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-project.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tool.cjs.entry.js +1 -1
- 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 +34 -20
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-form.cjs.entry.js +211 -146
- package/dist/cjs/eds-frame.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-close.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-copy.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-loader.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-search.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-star.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-success.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-user.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +1 -1
- package/dist/cjs/eds-input_7.cjs.entry.js +357 -0
- package/dist/cjs/eds-login_2.cjs.entry.js +1 -1
- package/dist/cjs/eds-logo-variations.cjs.entry.js +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +2 -2
- package/dist/cjs/eds-pagination_2.cjs.entry.js +403 -0
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-svg-repository.cjs.entry.js +5 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-tabs.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +5 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/index-2f63169d.js +14 -22
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.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 +1 -1
- package/dist/collection/collection-manifest.json +3 -4
- package/dist/collection/components/eds-accordion/eds-accordion.css +12 -8
- package/dist/collection/components/eds-accordion/eds-accordion.js +9 -24
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.css +223 -91
- package/dist/collection/components/eds-alert/eds-alert.js +28 -3
- package/dist/collection/components/eds-alert/eds-alert.stories.js +10 -2
- package/dist/collection/components/eds-avatar/eds-avatar.css +38 -0
- package/dist/collection/components/eds-avatar/eds-avatar.js +11 -40
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +19 -46
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +1 -0
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +14 -6
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +6 -2
- package/dist/collection/components/eds-button/eds-button.css +8420 -6638
- package/dist/collection/components/eds-button/eds-button.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +4 -1
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +1 -1
- 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-composer/eds-card-wrapper/eds-card-wrapper.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +133 -102
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +10 -1
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +1 -1
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +1 -1
- package/dist/collection/components/eds-code-block/eds-code-block.css +30 -3
- package/dist/collection/components/eds-code-block/eds-code-block.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +4 -3
- 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 +4 -4
- 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 +1 -1
- 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 +1 -1
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +1 -1
- 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 +5 -5
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +8 -10
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +49 -10
- 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.css +651 -52
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.css +12 -204
- package/dist/collection/components/eds-link/eds-link.js +5 -5
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.css +137 -109
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -6
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- 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 +3 -3
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-steps/eds-steps.js +48 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +42 -27
- package/dist/collection/components/eds-table/eds-table.stories.js +1 -1
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +7758 -0
- package/dist/collection/components/eds-timeline/eds-timeline.js +12 -1
- 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-logo-variations/eds-logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.css +5 -0
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +11 -1
- package/dist/collection/eds-docs-ui/functional/angular.js +1 -1
- package/dist/collection/eds-docs-ui/functional/overview.js +18 -1
- package/dist/collection/eds-docs-ui/functional/react.js +1 -1
- package/dist/collection/eds-docs-ui/functional/vue.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.stories.js +1 -6
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -2
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +226 -0
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +44 -23
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +10 -16
- package/dist/collection/shared-ui/eds-form/eds-form.css +3 -0
- package/dist/collection/{components/eds-form-v2/eds-form-v2.js → shared-ui/eds-form/eds-form.js} +7 -6
- package/dist/collection/{components/eds-form-v2/eds-form-v2.stories.js → shared-ui/eds-form/eds-form.stories.js} +4 -4
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.css +3 -0
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.js +2 -2
- package/dist/collection/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +120 -0
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +2 -1
- package/dist/collection/shared-ui/eds-header/eds-header.css +138 -0
- package/dist/collection/shared-ui/eds-header/eds-header.js +3 -2
- package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +4 -0
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +57 -3
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +361 -0
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +219 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +32 -48
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.css +7758 -0
- package/dist/collection/shared-ui/eds-user/eds-user.js +44 -14
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components.css +32 -48
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +10 -8
- package/dist/components/eds-alert2.js +12 -4
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +13 -8
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +6 -2
- package/dist/components/eds-button2.js +2 -2
- package/dist/components/eds-card-desc2.js +1 -1
- package/dist/components/eds-card-generic2.js +1 -1
- package/dist/components/eds-card-project.js +1 -1
- package/dist/components/eds-card-tags.js +1 -1
- package/dist/components/eds-card-title2.js +1 -1
- package/dist/components/eds-card-tool.js +1 -1
- package/dist/components/eds-card-wrapper.js +1 -1
- package/dist/components/eds-code-block2.js +1 -1
- package/dist/components/eds-components-section.js +58 -32
- package/dist/components/eds-cookies-preference.js +2 -3
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +4 -3
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +13 -6
- package/dist/components/eds-form.js +234 -189
- package/dist/components/eds-frame.js +3 -3
- package/dist/components/eds-fullscreen-menu.js +4 -3
- package/dist/components/eds-header.js +5 -4
- package/dist/components/eds-icon-arrow-diagonal.js +3 -3
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-star.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-thumbs-down.js +1 -1
- package/dist/components/eds-icon-thumbs-up.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +3 -3
- 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 +1 -3
- package/dist/components/eds-input-search2.js +24 -2
- package/dist/components/eds-input-select2.js +1 -1
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +6 -6
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-logo-variations.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +32 -4
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +3 -3
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/{eds-form-v2.d.ts → eds-steps-v2.d.ts} +4 -4
- package/dist/components/eds-steps-v2.js +137 -0
- package/dist/components/eds-steps.js +1 -92
- package/dist/{esm/eds-steps.entry.js → components/eds-steps2.js} +86 -9
- package/dist/components/eds-svg-repository.js +5 -1
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +41 -26
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +7 -2
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +26 -9
- 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-62f2f274.entry.js → p-01cb7ceb.entry.js} +1 -1
- package/dist/components/p-03a38eab.entry.js +1 -0
- package/dist/components/p-05d8fdc3.entry.js +1 -0
- package/dist/components/{p-8b70a350.entry.js → p-07ba7c89.entry.js} +1 -1
- package/dist/components/p-0918a2e2.entry.js +1 -0
- package/dist/components/p-096d3274.entry.js +1 -0
- package/dist/components/{p-ad746789.entry.js → p-0f73391d.entry.js} +1 -1
- package/dist/components/p-10a318e0.entry.js +1 -0
- package/dist/components/p-16e0b902.entry.js +1 -0
- package/dist/components/{p-5e63e8a5.entry.js → p-18e10983.entry.js} +1 -1
- package/dist/components/p-215f3b21.entry.js +1 -0
- package/dist/components/{p-43350dff.entry.js → p-21a746a4.entry.js} +1 -1
- package/dist/components/{p-c935aa46.entry.js → p-24507e71.entry.js} +1 -1
- package/dist/components/p-30075622.entry.js +1 -0
- package/dist/components/p-32a7f571.entry.js +1 -0
- package/dist/components/p-376b706b.entry.js +1 -0
- package/dist/components/{p-fba4080d.entry.js → p-3f0fd469.entry.js} +1 -1
- package/dist/components/{p-5e2216ae.entry.js → p-3f480c3c.entry.js} +1 -1
- package/dist/components/p-4675ac16.entry.js +1 -0
- package/dist/components/p-46c9a35e.entry.js +1 -0
- package/dist/components/{p-2354daeb.entry.js → p-4aefc66e.entry.js} +1 -1
- package/dist/components/p-4bcf6077.entry.js +1 -0
- package/dist/components/{p-56ec190f.entry.js → p-4d295eb7.entry.js} +1 -1
- package/dist/components/{p-9eb2e870.entry.js → p-4df00ba5.entry.js} +1 -1
- package/dist/components/p-5cf480a8.entry.js +1 -0
- package/dist/components/p-5d26f527.entry.js +1 -0
- package/dist/components/{p-0443ac40.entry.js → p-622dd2a1.entry.js} +1 -1
- package/dist/components/p-64f6f07e.entry.js +1 -0
- package/dist/components/p-69e5af42.entry.js +1 -0
- package/dist/components/p-6a73ac42.entry.js +1 -0
- package/dist/components/p-70201ae6.entry.js +1 -0
- package/dist/components/p-7ba154c5.entry.js +1 -0
- package/dist/components/p-7ba4ca15.entry.js +1 -0
- package/dist/components/p-84faf1b3.entry.js +1 -0
- package/dist/components/p-8527ef5f.entry.js +1 -0
- package/dist/components/{p-066f6d27.entry.js → p-8803ecf9.entry.js} +1 -1
- package/dist/components/p-8baa7e01.entry.js +1 -0
- package/dist/components/p-8cf4ee6e.entry.js +1 -0
- package/dist/components/{p-f905ac92.entry.js → p-91440d2f.entry.js} +1 -1
- package/dist/components/p-9873ebec.entry.js +1 -0
- package/dist/components/{p-0e0106fc.entry.js → p-9cbcccf8.entry.js} +1 -1
- package/dist/components/p-9e2a0f5a.entry.js +1 -0
- package/dist/components/p-9f4ad4e4.entry.js +1 -0
- package/dist/components/{p-a91ab66e.entry.js → p-a02c5c4a.entry.js} +1 -1
- package/dist/components/p-a0abe772.entry.js +1 -0
- package/dist/components/p-a1d55013.entry.js +1 -0
- package/dist/components/{p-4cd69983.entry.js → p-a6bf9bf8.entry.js} +1 -1
- package/dist/components/p-abaf04e1.entry.js +1 -0
- package/dist/components/p-ae60f98b.entry.js +1 -0
- package/dist/components/p-b299b89a.entry.js +1 -0
- package/dist/components/p-b2f0f40b.entry.js +1 -0
- package/dist/components/p-b4332c34.entry.js +1 -0
- package/dist/components/p-b47d115d.entry.js +1 -0
- package/dist/components/p-c86243a3.entry.js +1 -0
- package/dist/components/p-cdc36ea8.entry.js +1 -0
- package/dist/components/p-ceac6200.entry.js +1 -0
- package/dist/components/{p-5520a3b6.entry.js → p-cee891dc.entry.js} +1 -1
- package/dist/components/p-d06faa08.entry.js +1 -0
- package/dist/components/{p-a5c61d1c.entry.js → p-d17ea8af.entry.js} +1 -1
- package/dist/components/p-d2159cc9.entry.js +1 -0
- package/dist/components/p-d895d036.entry.js +1 -0
- package/dist/components/{p-b80a9020.entry.js → p-db970de6.entry.js} +1 -1
- package/dist/components/p-e343cd31.entry.js +1 -0
- package/dist/components/{p-c06d4f14.entry.js → p-e3811d4b.entry.js} +1 -1
- package/dist/components/p-e8bd6106.entry.js +1 -0
- package/dist/components/p-e96a5c8e.entry.js +1 -0
- package/dist/components/{p-ff7acb55.entry.js → p-f223a835.entry.js} +1 -1
- package/dist/components/{p-e64cd6f7.entry.js → p-f2e66c82.entry.js} +1 -1
- package/dist/components/p-fec4cba7.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/eds-accordion_17.entry.js +1448 -0
- package/dist/esm/eds-alert.entry.js +11 -4
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-breadcrumb.entry.js +6 -2
- package/dist/esm/{eds-avatar_4.entry.js → eds-card-desc_3.entry.js} +4 -70
- package/dist/esm/eds-card-generic.entry.js +1 -1
- package/dist/esm/eds-card-project.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +1 -1
- package/dist/esm/eds-card-tool.entry.js +1 -1
- 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 +34 -20
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-docs-palettes.entry.js +1 -1
- package/dist/esm/eds-docs-tokens.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-form.entry.js +209 -144
- package/dist/esm/eds-frame.entry.js +3 -3
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +1 -1
- package/dist/esm/eds-icon-bluesky.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-down.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-left.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-right.entry.js +1 -1
- package/dist/esm/eds-icon-chevron-up.entry.js +1 -1
- package/dist/esm/eds-icon-close.entry.js +1 -1
- package/dist/esm/eds-icon-copy.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-loader.entry.js +1 -1
- package/dist/esm/eds-icon-mastodon.entry.js +1 -1
- package/dist/esm/eds-icon-menu.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-search.entry.js +1 -1
- package/dist/esm/eds-icon-star.entry.js +1 -1
- package/dist/esm/eds-icon-success.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-down.entry.js +1 -1
- package/dist/esm/eds-icon-thumbs-up.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-user.entry.js +1 -1
- package/dist/esm/eds-icon-youtube.entry.js +1 -1
- package/dist/esm/eds-input_7.entry.js +347 -0
- package/dist/esm/eds-login_2.entry.js +1 -1
- package/dist/esm/eds-logo-variations.entry.js +1 -1
- package/dist/esm/eds-modal.entry.js +2 -2
- package/dist/esm/eds-pagination_2.entry.js +398 -0
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-svg-repository.entry.js +5 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-tabs.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +5 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-tooltip.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/index-8a71b9a7.js +14 -22
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.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 +1 -1
- package/dist/hydrate/index.js +551 -748
- package/dist/hydrate/index.mjs +551 -748
- package/dist/stencil.config.js +2 -33
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +4 -2
- package/dist/types/components/eds-accordion/eds-accordion.stories.d.ts +1 -1
- package/dist/types/components/eds-alert/eds-alert.d.ts +5 -0
- package/dist/types/components/eds-alert/eds-alert.stories.d.ts +7 -0
- package/dist/types/components/eds-avatar/eds-avatar.d.ts +0 -2
- package/dist/types/components/eds-avatar/eds-avatar.stories.d.ts +0 -9
- package/dist/types/components/eds-breadcrump/eds-breadcrumb.stories.d.ts +8 -3
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.d.ts +3 -0
- package/dist/types/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.d.ts +1 -1
- package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +13 -0
- package/dist/types/components/eds-input-elements/eds-input-range/eds-input-range.d.ts +21 -0
- package/dist/types/components/eds-input-elements/eds-input-search/eds-input-search.d.ts +39 -0
- package/dist/types/components/eds-pagination/eds-pagination.stories.d.ts +0 -8
- package/dist/types/components/eds-steps/eds-steps.d.ts +17 -0
- package/dist/types/components/eds-table/eds-table.d.ts +5 -1
- package/dist/types/components.d.ts +234 -301
- package/dist/types/shared-ui/eds-card-section/eds-card-section.stories.d.ts +1 -6
- package/dist/types/shared-ui/eds-footer/eds-footer.d.ts +4 -5
- package/dist/types/shared-ui/eds-footer/eds-footer.stories.d.ts +4 -9
- package/dist/types/{components/eds-form-v2/eds-form-v2.d.ts → shared-ui/eds-form/eds-form.d.ts} +1 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +11 -0
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.d.ts +57 -0
- package/dist/types/shared-ui/eds-user/eds-user.d.ts +13 -11
- package/package.json +3 -3
- package/dist/cjs/eds-accordion_22.cjs.entry.js +0 -1959
- package/dist/cjs/eds-dropdown.cjs.entry.js +0 -125
- package/dist/cjs/eds-steps.cjs.entry.js +0 -55
- package/dist/cjs/eds-user.cjs.entry.js +0 -29
- package/dist/cjs/eds-vertical-stepper.cjs.entry.js +0 -45
- package/dist/cjs/formUtils-4315a99c.js +0 -228
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.js +0 -31
- package/dist/collection/components/eds-form/eds-form.css +0 -7153
- package/dist/collection/components/eds-form/eds-form.js +0 -609
- package/dist/collection/components/eds-form/eds-form.stories.js +0 -86
- package/dist/collection/components/eds-form-v2/eds-form-v2.css +0 -7153
- package/dist/collection/components/eds-steps/eds-vertical-stepper.css +0 -78
- package/dist/collection/components/eds-steps/eds-vertical-stepper.js +0 -72
- package/dist/components/eds-form-v2.js +0 -317
- package/dist/components/eds-vertical-stepper.d.ts +0 -11
- package/dist/components/eds-vertical-stepper.js +0 -86
- package/dist/components/formUtils.js +0 -223
- package/dist/components/p-033480b2.entry.js +0 -1
- package/dist/components/p-117d180f.entry.js +0 -1
- package/dist/components/p-20e9ae7f.entry.js +0 -1
- package/dist/components/p-2b31ca60.entry.js +0 -1
- package/dist/components/p-3368cfd5.entry.js +0 -1
- package/dist/components/p-33c5b937.entry.js +0 -1
- package/dist/components/p-3af94671.entry.js +0 -1
- package/dist/components/p-43b3579a.entry.js +0 -1
- package/dist/components/p-467fe746.entry.js +0 -1
- package/dist/components/p-46a6042d.entry.js +0 -1
- package/dist/components/p-4a860d5b.entry.js +0 -1
- package/dist/components/p-4ac27fe7.entry.js +0 -1
- package/dist/components/p-4b2e6f03.entry.js +0 -1
- package/dist/components/p-552b6a50.entry.js +0 -1
- package/dist/components/p-56b4e0fe.entry.js +0 -1
- package/dist/components/p-5aff1ea0.entry.js +0 -1
- package/dist/components/p-5c12a0df.entry.js +0 -1
- package/dist/components/p-60e7e745.entry.js +0 -1
- package/dist/components/p-6404e157.entry.js +0 -1
- package/dist/components/p-6fd0c3b3.entry.js +0 -1
- package/dist/components/p-77cc7c02.entry.js +0 -1
- package/dist/components/p-79c14cf1.entry.js +0 -1
- package/dist/components/p-7dd81017.entry.js +0 -1
- package/dist/components/p-7e0dd5d8.entry.js +0 -1
- package/dist/components/p-80dba155.js +0 -1
- package/dist/components/p-8154d013.entry.js +0 -1
- package/dist/components/p-86eed1b7.entry.js +0 -1
- package/dist/components/p-8e548691.entry.js +0 -1
- package/dist/components/p-90503a64.entry.js +0 -1
- package/dist/components/p-90f85604.entry.js +0 -1
- package/dist/components/p-94698510.entry.js +0 -1
- package/dist/components/p-950ecb1c.entry.js +0 -1
- package/dist/components/p-9b9fba38.entry.js +0 -1
- package/dist/components/p-9dc879c9.entry.js +0 -1
- package/dist/components/p-9ebc84d6.entry.js +0 -1
- package/dist/components/p-a56f0579.entry.js +0 -1
- package/dist/components/p-a6cd418e.entry.js +0 -1
- package/dist/components/p-a8dd1953.entry.js +0 -1
- package/dist/components/p-ab292dd5.entry.js +0 -1
- package/dist/components/p-c12d9350.entry.js +0 -1
- package/dist/components/p-c3dda942.entry.js +0 -1
- package/dist/components/p-c6b32753.entry.js +0 -1
- package/dist/components/p-dbcf1f0e.entry.js +0 -1
- package/dist/components/p-dcc08064.entry.js +0 -1
- package/dist/components/p-e9a533e0.entry.js +0 -1
- package/dist/components/p-eac63c82.entry.js +0 -1
- package/dist/components/p-f5959676.entry.js +0 -1
- package/dist/components/p-fc619588.entry.js +0 -1
- package/dist/components/p-fcc32210.entry.js +0 -1
- package/dist/eds/components.js +0 -18
- package/dist/eds/components.js.map +0 -1
- package/dist/esm/eds-accordion_22.entry.js +0 -1934
- package/dist/esm/eds-dropdown.entry.js +0 -121
- package/dist/esm/eds-user.entry.js +0 -25
- package/dist/esm/eds-vertical-stepper.entry.js +0 -41
- package/dist/esm/formUtils-ac68474d.js +0 -223
- package/dist/types/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.stories.d.ts +0 -32
- package/dist/types/components/eds-form/eds-form.d.ts +0 -148
- package/dist/types/components/eds-form/eds-form.stories.d.ts +0 -42
- package/dist/types/components/eds-steps/eds-vertical-stepper.d.ts +0 -22
- /package/dist/types/{components/eds-form-v2/eds-form-v2.stories.d.ts → shared-ui/eds-form/eds-form.stories.d.ts} +0 -0
- /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.d.ts +0 -0
- /package/dist/types/{eds-docs-ui → shared-ui}/eds-frame/eds-frame.stories.d.ts +0 -0
|
@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-2f63169d.js');
|
|
6
6
|
const index$1 = require('./index-ab9fbefe.js');
|
|
7
7
|
|
|
8
|
-
const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*, ::before, ::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n::before,\n::after {\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n:root {\n --inner-gutter: 8px;\n}\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n:root {\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n@media (min-width: 750px) {\n :root {\n}\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n@media (min-width: 1024px) {\n :root {\n}\n}\n.f-ui-01 b, .f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n@media (min-width: 750px) {\n .md\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-x-0 > *::before {\n content: none;\n }\n .md\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n@media (min-width: 900px) {\n .lg\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-x-0 > *::before {\n content: none;\n }\n .lg\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1 );\n }\n\n &::after {\n content: '';\n }\n}\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n.w-full {\n width: 100%;\n}\n.flex-row {\n flex-direction: row;\n}\n.items-center {\n align-items: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n.rounded-lg {\n border-radius: 16px;\n}\n.bg-dark {\n background-color: var(--grey-300);\n}\n.bg-error {\n background-color: var(--red-200);\n}\n.bg-success {\n background-color: var(--green-200);\n}\n.bg-warning {\n background-color: var(--yellow-200);\n}\n.p-16 {\n padding: 1rem;\n}\n.p-20 {\n padding: 1.25rem;\n}\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.pr-12 {\n padding-right: 0.75rem;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n[class*=underline-] {\n text-decoration-line: underline;\n}\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05 );\n}\n";
|
|
8
|
+
const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\n\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*,\n::before,\n::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: currentColor;\n /* 2 */\n}\n\n::before,\n::after {}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder,\ntextarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n:root {\n --inner-gutter: 8px;\n}\n\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n:root {}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n\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@media (min-width: 750px) {\n :root {}\n}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n@media (min-width: 1024px) {\n :root {}\n}\n\n.f-ui-01 b,\n.f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n\n@media (min-width: 750px) {\n .md\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .md\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n@media (min-width: 900px) {\n .lg\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .lg\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n\n.space-y-12> :not([hidden])~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-error {\n background-color: var(--red-200);\n}\n\n.bg-success {\n background-color: var(--green-200);\n}\n\n.bg-warning {\n background-color: var(--yellow-200);\n}\n\n.p-16 {\n padding: 1rem;\n}\n\n.p-20 {\n padding: 1.25rem;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pr-12 {\n padding-right: 0.75rem;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n[class*=underline-] {\n text-decoration-line: underline;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}";
|
|
9
9
|
const EdsAlertStyle0 = edsAlertCss;
|
|
10
10
|
|
|
11
|
-
const alertStyles = index$1.cva(['w-full bg-dark
|
|
11
|
+
const alertStyles = index$1.cva(['w-full bg-dark'], {
|
|
12
12
|
variants: {
|
|
13
13
|
intent: {
|
|
14
14
|
default: '',
|
|
@@ -16,6 +16,10 @@ const alertStyles = index$1.cva(['w-full bg-dark rounded-lg border-inside after:
|
|
|
16
16
|
error: 'bg-error',
|
|
17
17
|
success: 'bg-success'
|
|
18
18
|
},
|
|
19
|
+
brd: {
|
|
20
|
+
rounded: 'rounded-lg border-inside after:border-softest after:rounded-lg',
|
|
21
|
+
normal: ''
|
|
22
|
+
},
|
|
19
23
|
direction: {
|
|
20
24
|
vertical: 'space-y-12',
|
|
21
25
|
horizontal: 'flex flex-row items-center justify-between gap-x-12'
|
|
@@ -49,6 +53,7 @@ const alertStyles = index$1.cva(['w-full bg-dark rounded-lg border-inside after:
|
|
|
49
53
|
],
|
|
50
54
|
defaultVariants: {
|
|
51
55
|
intent: 'default',
|
|
56
|
+
brd: 'rounded',
|
|
52
57
|
direction: 'horizontal'
|
|
53
58
|
}
|
|
54
59
|
});
|
|
@@ -60,6 +65,7 @@ const EdsAlert = class {
|
|
|
60
65
|
this.pressableUrl = undefined;
|
|
61
66
|
this.direction = 'horizontal';
|
|
62
67
|
this.intent = 'default';
|
|
68
|
+
this.brd = 'rounded';
|
|
63
69
|
this.withBtn = false;
|
|
64
70
|
}
|
|
65
71
|
componentWillLoad() {
|
|
@@ -83,11 +89,12 @@ const EdsAlert = class {
|
|
|
83
89
|
linkElement.dispatchEvent(event);
|
|
84
90
|
}
|
|
85
91
|
render() {
|
|
86
|
-
return (index.h("div", { key: '
|
|
92
|
+
return (index.h("div", { key: '02e7ec45a64008c3a5e8ea99cade7da6b076259f', class: alertStyles({
|
|
87
93
|
intent: this.intent,
|
|
94
|
+
brd: this.brd,
|
|
88
95
|
direction: this.direction,
|
|
89
96
|
withBtn: this.withBtn
|
|
90
|
-
}), role: "alert" }, index.h("p", { key: '
|
|
97
|
+
}), role: "alert" }, index.h("p", { key: 'ba99f147a48ed7cc19ccc18b309e1a11ca053a09', class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn &&
|
|
91
98
|
(this.pressableUrl ? (index.h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : null)));
|
|
92
99
|
}
|
|
93
100
|
get el() { return index.getElement(this); }
|
|
@@ -30,7 +30,7 @@ const EdsAppRoot = class {
|
|
|
30
30
|
this.combinedInitPromise = Promise.all([initKeycloakPromise, authStatusPromise]);
|
|
31
31
|
}
|
|
32
32
|
render() {
|
|
33
|
-
return (index.h("div", { key: '
|
|
33
|
+
return (index.h("div", { key: 'ae36da9eecddc6661ce0ae79df2c768a4a9a4de9' }, index.h("eds-splash-screen", { key: '20e1ed89330f803be474c84f4d1892cc1282c034', inverse: true, initPromise: this.combinedInitPromise }), index.h("eds-login", { key: '81c05a3d3751563ddf5dff9d305ef9ff93a6e699', "keycloak-url": "http://localhost:8080", "keycloak-realm": "nigeor-realm", "keycloak-client-id": "stencil-app" }), index.h("main", { key: '8686c5b0c3553f167593763677fa4282561bc055' }, this.isAuthenticated ? index.h("h1", null, "Welcome, authenticated user!") : index.h("h1", null, "Please log in."))));
|
|
34
34
|
}
|
|
35
35
|
};
|
|
36
36
|
|
|
@@ -21,9 +21,13 @@ const EdsBreadcrumb = class {
|
|
|
21
21
|
this.isSmallScreen = true;
|
|
22
22
|
}
|
|
23
23
|
else if (width <= 1024) {
|
|
24
|
-
this.maxVisibleItems =
|
|
24
|
+
this.maxVisibleItems = 3;
|
|
25
25
|
this.isSmallScreen = true;
|
|
26
26
|
}
|
|
27
|
+
else if (width <= 2200) {
|
|
28
|
+
this.maxVisibleItems = 4;
|
|
29
|
+
this.isSmallScreen = false;
|
|
30
|
+
}
|
|
27
31
|
else {
|
|
28
32
|
this.maxVisibleItems = 6;
|
|
29
33
|
this.isSmallScreen = false;
|
|
@@ -117,7 +121,7 @@ const EdsBreadcrumb = class {
|
|
|
117
121
|
*/
|
|
118
122
|
render() {
|
|
119
123
|
const itemsToRender = this.getTruncatedItems();
|
|
120
|
-
return (index.h("nav", { key: '
|
|
124
|
+
return (index.h("nav", { key: '75bb5629a10de2a2a7bd0b2bbef04e5f699f5fe2', "aria-label": "Breadcrumb" }, index.h("ol", { key: '7a5cc115b70d60bc878aa3d865802662f30948c1', class: "flex items-center space-x-2" }, itemsToRender.map((item, index$1) => {
|
|
121
125
|
const isLast = index$1 === itemsToRender.length - 1;
|
|
122
126
|
return (index.h("li", { class: "flex items-center" }, !item.isHidden ? ((() => {
|
|
123
127
|
const { displayLabel, fullLabel } = this.getLabels(item, isLast);
|
|
@@ -3,74 +3,8 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-2f63169d.js');
|
|
6
|
-
const color = require('./color-c00146a8.js');
|
|
7
6
|
const index$1 = require('./index-ab9fbefe.js');
|
|
8
7
|
|
|
9
|
-
const edsAvatarCss = ".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}";
|
|
10
|
-
const EdsAvatarStyle0 = edsAvatarCss;
|
|
11
|
-
|
|
12
|
-
const EdsAvatar = class {
|
|
13
|
-
constructor(hostRef) {
|
|
14
|
-
index.registerInstance(this, hostRef);
|
|
15
|
-
this.firstName = 'User';
|
|
16
|
-
this.lastName = 'Avatar';
|
|
17
|
-
this.picture = undefined;
|
|
18
|
-
this.initials = undefined;
|
|
19
|
-
this.color = undefined;
|
|
20
|
-
this.rounded = false;
|
|
21
|
-
this.initialsStrong = false;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Computed initials based on the provided `initials` prop or derived from `firstName` and `lastName`.
|
|
25
|
-
* @returns {string | undefined} Initials for display in the avatar.
|
|
26
|
-
*/
|
|
27
|
-
get computedInitials() {
|
|
28
|
-
if (this.initials) {
|
|
29
|
-
return (this.initials.match(/.{1,3}/g) || [])[0] || '';
|
|
30
|
-
}
|
|
31
|
-
else if (this.firstName && this.lastName) {
|
|
32
|
-
return `${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase();
|
|
33
|
-
}
|
|
34
|
-
return undefined;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Computes the CSS classes for the avatar container based on provided props like `rounded`, `color`, and `picture`.
|
|
38
|
-
* @returns {string} List of CSS classes to apply to the avatar container.
|
|
39
|
-
*/
|
|
40
|
-
get containerClasses() {
|
|
41
|
-
return [
|
|
42
|
-
'border-inside',
|
|
43
|
-
'aspect-1x1',
|
|
44
|
-
'flex',
|
|
45
|
-
'items-center',
|
|
46
|
-
'justify-center',
|
|
47
|
-
'overflow-hidden',
|
|
48
|
-
this.picture ? '' : 'px-4',
|
|
49
|
-
this.rounded ? 'rounded-pill border-inside-pill w-32' : 'w-[54px] rounded-sm',
|
|
50
|
-
this.color ? 'border-inside-inverse' : '',
|
|
51
|
-
this.color === 'grey'
|
|
52
|
-
? 'bg-dark'
|
|
53
|
-
: this.color && !this.picture
|
|
54
|
-
? color.gradientBGColorVariants({
|
|
55
|
-
color: this.color,
|
|
56
|
-
direction: 'top',
|
|
57
|
-
pseudo: false
|
|
58
|
-
})
|
|
59
|
-
: !this.picture
|
|
60
|
-
? 'bg-strongest text-accent'
|
|
61
|
-
: ''
|
|
62
|
-
].join(' ');
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* Renders the avatar component. Displays either an image using `eds-img` or initials depending on whether `picture` or `computedInitials` is set.
|
|
66
|
-
* @returns {JSX.Element} The rendered avatar component.
|
|
67
|
-
*/
|
|
68
|
-
render() {
|
|
69
|
-
return (index.h("div", { key: '47ee5ffd12c0f90c536dea77b3ffa9120d67f37f', class: this.containerClasses }, this.picture ? (index.h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (index.h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
70
|
-
}
|
|
71
|
-
};
|
|
72
|
-
EdsAvatar.style = EdsAvatarStyle0;
|
|
73
|
-
|
|
74
8
|
const edsCardDescCss = ".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}";
|
|
75
9
|
const EdsCardDescStyle0 = edsCardDescCss;
|
|
76
10
|
|
|
@@ -86,7 +20,7 @@ const EdsCardDesc = class {
|
|
|
86
20
|
return this.truncate && this.truncateLines ? `line-clamp-${this.truncateLines}` : '';
|
|
87
21
|
}
|
|
88
22
|
render() {
|
|
89
|
-
return (index.h("p", { key: '
|
|
23
|
+
return (index.h("p", { key: '96ba520be4ef9acf871a6e992d5ea74aaf17c962', class: `text-light ${this.descClass}` }, index.h("span", { key: '951358bd0c992426175e3c1b3c580f2f9be4027f', class: this.getTruncateClass() }, this.description)));
|
|
90
24
|
}
|
|
91
25
|
};
|
|
92
26
|
EdsCardDesc.style = EdsCardDescStyle0;
|
|
@@ -136,7 +70,7 @@ const EdsCardTitle = class {
|
|
|
136
70
|
render() {
|
|
137
71
|
//const Tag = this.getTag();
|
|
138
72
|
const Heading = this.headingLevel;
|
|
139
|
-
return (index.h(Heading, { key: '
|
|
73
|
+
return (index.h(Heading, { key: '57ce97f35ee52623d32fac0b6b1a576ca8b5aa70', class: this.getTitleClass() }, index.h("a", { key: '60fb313d2b8753974658f73aaddd359a63548a79', class: "break-words after:absolute after:inset-0 after:z-10 after:content-[''] focus:outline-none", href: this.url, target: this.externalLink ? '_blank' : undefined, rel: this.externalLink ? 'noopener noreferrer' : undefined }, this.cardTitle)));
|
|
140
74
|
}
|
|
141
75
|
};
|
|
142
76
|
EdsCardTitle.style = EdsCardTitleStyle0;
|
|
@@ -169,12 +103,11 @@ const EdsTag = class {
|
|
|
169
103
|
}
|
|
170
104
|
render() {
|
|
171
105
|
const classes = tagStyles({ intent: this.intent });
|
|
172
|
-
return index.h("span", { key: '
|
|
106
|
+
return index.h("span", { key: '314cc7432e8a56cf4676982180ada160c7b14746', class: classes }, this.label);
|
|
173
107
|
}
|
|
174
108
|
};
|
|
175
109
|
EdsTag.style = EdsTagStyle0;
|
|
176
110
|
|
|
177
|
-
exports.eds_avatar = EdsAvatar;
|
|
178
111
|
exports.eds_card_desc = EdsCardDesc;
|
|
179
112
|
exports.eds_card_title = EdsCardTitle;
|
|
180
113
|
exports.eds_tag = EdsTag;
|
|
@@ -6,7 +6,7 @@ const index = require('./index-2f63169d.js');
|
|
|
6
6
|
const sharedUtils = require('./sharedUtils-8e287250.js');
|
|
7
7
|
const analytics = require('./analytics-d8fb3fdd.js');
|
|
8
8
|
|
|
9
|
-
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15
|
|
9
|
+
const edsCardGenericCss = ".h-auto{height:auto}.h-full{height:100%}.\\!min-h-20{min-height:1.25rem !important}.min-h-120{min-height:120px}.min-h-156{min-height:156px}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.effect-shadow{transition-property:box-shadow;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.hover\\:shadow-hover:hover{--tw-shadow:0px 0px 16px rgba(0, 0, 0, 0.2);--tw-shadow-colored:0px 0px 16px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}.cursor-pointer{cursor:pointer}.border-soft{border-color:rgba(0, 0, 0, .15)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus-within:focus-within{outline-style:solid}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.grow{flex-grow:1}.flex-col{flex-direction:column}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-12{padding:0.75rem}.p-16{padding:1rem}.mt-6{margin-top:0.375rem}.mt-8{margin-top:0.5rem}.gap-y-4{row-gap:0.25rem}.order-first{order:-9999}.mb-10{margin-bottom:0.625rem}.mb-12{margin-bottom:0.75rem}";
|
|
10
10
|
const EdsCardGenericStyle0 = edsCardGenericCss;
|
|
11
11
|
|
|
12
12
|
const EdsCardGeneric = class {
|
|
@@ -60,7 +60,7 @@ const EdsCardProject = class {
|
|
|
60
60
|
this.vertical ? 'flex-col gap-y-16' : 'flex-col gap-x-16 gap-y-12 lg:flex-row'
|
|
61
61
|
].join(' ');
|
|
62
62
|
const imageClasses = this.vertical ? '' : 'max-w-120 @md:max-w-192 order-first w-full lg:order-last';
|
|
63
|
-
return (index.h("article", { key: '
|
|
63
|
+
return (index.h("article", { key: '067a30c2b0860d71dc13d1d3d875a7e288de842b', class: cardClasses, onClick: (event) => this.handleClick(event) }, index.h("div", { key: '3e2e62ecc9ad5973c359b7bbceefd8c2ac682d0b', class: `flex grow flex-col ${this.vertical ? 'min-h-156' : ''}` }, index.h("div", { key: 'e07a666f80d6955b5cf16c18a999a756dcfe10f0', class: "lg:max-w-[720px]" }, index.h("eds-card-title", { key: 'b1ef62c888e9d69f1146fc218a7012015ddc78e1', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.titleProject, url: this.url }), this.editorialTitle && (index.h("span", { key: '79cf1af876a0a358a9f65036a1ff1c4944604435', class: `block ${this.vertical ? 'f-ui-02' : 'mt-4 f-heading-06'}` }, this.editorialTitle))), this.categoryTitle && (index.h("div", { key: 'ce7e525b0bdbbc94d3e2ec8055c692be9d521042', class: "mt-auto flex items-center gap-x-12 pt-12" }, ((_a = this.categoryTitle) === null || _a === void 0 ? void 0 : _a.length) && index.h("eds-tag", { key: '23e3527a3772970642dcb07a4abc381415132155', label: this.categoryTitle })))), this.parsedImage && (index.h("div", { key: '178ef2273b2506070c045c3f2e7a287d4b175414', class: imageClasses }, index.h("div", { key: 'f77fb56cd2ed1bdcafd07db9adcf0f7b6a44cdb7', class: "aspect-1x1 w-full" }, index.h("eds-img", Object.assign({ key: 'b9734f48ab685280b801cfb75cc96f5aa109ca6f', sizes: this.vertical ? this.parsedImage.sizes || '' : '192px' }, this.parsedImage)))))));
|
|
64
64
|
}
|
|
65
65
|
get el() { return index.getElement(this); }
|
|
66
66
|
};
|
|
@@ -14,7 +14,7 @@ const EdsCardTags = class {
|
|
|
14
14
|
this.tags = [];
|
|
15
15
|
}
|
|
16
16
|
render() {
|
|
17
|
-
return (index.h("div", { key: '
|
|
17
|
+
return (index.h("div", { key: 'df8937e32907eb978f27565d04f7ca56f2485c87', class: "flex flex-wrap gap-y-4" }, this.tags.map((tag, index$1) => (index.h("eds-tag", { key: index$1, intent: this.accent ? 'accent' : 'default', label: tag })))));
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
20
|
EdsCardTags.style = EdsCardTagsStyle0;
|
|
@@ -70,7 +70,7 @@ const EdsCardTool = class {
|
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
72
|
render() {
|
|
73
|
-
return (index.h("article", { key: '
|
|
73
|
+
return (index.h("article", { key: '5ecce6667d066e78586f795ab260bed569434c4f', class: `${this.el.tagName.toLowerCase()} ${this.articleClasses()}`, onClick: () => this.handleClick() }, index.h("eds-card-title", { key: 'a6ff863ade669db7494c763d563809dbfddb3f2c', "heading-level": this.headingLevel, titleClass: this.image ? 'f-ui-01' : undefined, "card-title": this.cardTitle, url: this.url, "external-link": this.external, hierarchy: this.hierarchy }), this.description && (index.h("eds-card-desc", { key: '6f5328fba79a564e6e0d737b2d64a31e50ea6434', class: "mt-8", "truncate-lines": "3", description: this.description })), this.image ? (index.h("eds-img", { src: this.image, alt: "Sample Image", width: 200, height: 150 })) : this.avatar || this.shortAbbreviation ? (index.h("eds-avatar", { class: "order-first mb-12", picture: this.avatar, initials: this.shortAbbreviation })) : null, index.h("div", { key: 'b1a42a1db9274ebf1098143d56e1ad8a08825c4c', class: "flex flex-wrap gap-y-4" }, this.parsedTags.map((tag, index$1) => (index.h("eds-tag", { key: index$1, intent: tag.style, label: tag.label }))))));
|
|
74
74
|
}
|
|
75
75
|
get el() { return index.getElement(this); }
|
|
76
76
|
};
|
|
@@ -24,7 +24,7 @@ const EdsCardWrapper = class {
|
|
|
24
24
|
this.withHover ? 'effect-shadow hover:shadow-hover cursor-pointer' : '',
|
|
25
25
|
'border-softer effect-focus-within relative flex grow flex-col rounded-lg border-2 p-16'
|
|
26
26
|
].join(' ');
|
|
27
|
-
return (index.h("article", { key: '
|
|
27
|
+
return (index.h("article", { key: 'b860e65a1a943216793a5ce2f5a08d01249fc671', class: articleClasses }, index.h("slot", { key: '3ea351da205f375ed746695762efc1f28d1fc3f0' }), this.hasSlot('footer') && (index.h("div", { key: '84d24bd248033d4855dd63dfa5042585ae61d64d', class: "mt-auto" }, index.h("slot", { key: 'c7a2530d70a93705097b9ac3b8be1a21551dd1fb', name: "footer" })))));
|
|
28
28
|
}
|
|
29
29
|
get el() { return index.getElement(this); }
|
|
30
30
|
};
|
|
@@ -2480,7 +2480,7 @@ const EdsCodeBlock = class {
|
|
|
2480
2480
|
return this.code; // Fallback if language is not provided or unsupported
|
|
2481
2481
|
}
|
|
2482
2482
|
render() {
|
|
2483
|
-
return (index.h("div", { key: '
|
|
2483
|
+
return (index.h("div", { key: '98f5fe5e215e87c1eb024969b5e4f3ae1bd0cb0d', class: "relative bg-stronger rounded-sm" }, index.h("div", { key: '173be873a0f41398bd080758d5a0bbdcc977dcf5', class: "text-inverse flex justify-between items-center p-8" }, this.language ? (index.h("span", { class: "f-ui-03" }, this.language.toUpperCase())) : (index.h("pre", { class: "bg-stronger pl-8", role: "region", "aria-label": "Code block without language" }, index.h("code", { innerHTML: this.getHighlightedCode() }))), index.h("span", { key: 'f8cb36cf89d19bf306c57168e61ccfde9a4d18ff', "aria-hidden": "true", class: "w-20 h-20 mt-8" }, index.h("eds-icon-wrapper", { key: '74f214c47dc647c2c254f3f9f96fba71e35133df', icon: this.copied ? 'success' : 'copy', onClick: () => this.copyToClipboard() })), index.h("span", { key: '74e628574b481d68c2d2132a12fd07bb62c86fde', class: "sr-only" }, "Copy Code")), this.language && (index.h("pre", { key: '19d2b813b6e86451a8a9047b954d99340fc3cd85', class: `language-${this.language} bg-stronger pl-8 pb-8`, role: "region", "aria-label": `Code block in ${this.language}` }, index.h("code", { key: '974eb2e2ef0d7dc90e012e421d64bf5b735761d1', innerHTML: this.getHighlightedCode() })))));
|
|
2484
2484
|
}
|
|
2485
2485
|
get el() { return index.getElement(this); }
|
|
2486
2486
|
};
|
|
@@ -7,27 +7,45 @@ const index = require('./index-2f63169d.js');
|
|
|
7
7
|
const EdsComponentsOverview = () => (index.h("div", { class: "static-content container" },
|
|
8
8
|
index.h("h2", null, "Load the module"),
|
|
9
9
|
index.h("p", null,
|
|
10
|
-
"Integrating
|
|
10
|
+
"Integrating the EBRAINS UI Components to a project without a JavaScript framework is straight forward. If you\u2019re working on a simple HTML page, you can start using the components immediately by adding the tags below to the",
|
|
11
11
|
' ',
|
|
12
12
|
index.h("code", null, "head"),
|
|
13
13
|
"."),
|
|
14
14
|
index.h("eds-code-block", { code: "<script type='module'>\n import { defineCustomElements } from 'https://unpkg.com/@ebrains/components@latest/loader/index.js'; \n // Define custom elements\n defineCustomElements(window);\n</script>", language: "javascript", "copy-label": "Copy Code" }),
|
|
15
|
+
index.h("p", null, "This snippet is part of the Stencil component loader system. Under the hood, it does the following:"),
|
|
16
|
+
index.h("eds-steps", { steps: [
|
|
17
|
+
{
|
|
18
|
+
title: 'Import the Loader Module',
|
|
19
|
+
content: 'The script imports the defineCustomElements function from the Stencil-generated loader module hosted at a CDN. This module contains the registration logic for all your custom components.'
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
title: 'Register Custom Elements',
|
|
23
|
+
content: 'Calling defineCustomElements(window) loops through the available components and registers each one with the browser using customElements.define(). This makes your custom elements available in the DOM.'
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
title: 'Lazy Loading in Action',
|
|
27
|
+
content: "Although all components are registered on startup, their implementation code is lazy-loaded. This means a component's code is only fetched when it is first used, optimizing the initial load time."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
title: 'Optimized Performance',
|
|
31
|
+
content: 'By registering components early and lazy-loading their implementations, the script helps maintain a fast startup while ensuring that all custom elements are ready for use when needed.'
|
|
32
|
+
}
|
|
33
|
+
] }),
|
|
34
|
+
index.h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
35
|
+
index.h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" }),
|
|
15
36
|
index.h("h2", null, "Load the styles"),
|
|
16
37
|
index.h("p", null,
|
|
17
38
|
"To directly use the produced css framework with a few predefined custom utility classes, add the tag below to the",
|
|
18
39
|
' ',
|
|
19
40
|
index.h("code", null, "head")),
|
|
20
41
|
index.h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@latest/styles/output.css"/>', language: "css", "copy-label": "Copy Code" }),
|
|
21
|
-
index.h("div", { class: "my-4" },
|
|
22
|
-
index.h("eds-alert", { message: "Note that, loading the predefined CSS framework above, automatically loads the fonts so you can skip loading them separately.", intent: "warning" })),
|
|
23
|
-
index.h("h2", null, "Load the fonts"),
|
|
24
42
|
index.h("p", null,
|
|
25
|
-
"
|
|
43
|
+
"Note that, loading the predefined CSS framework above,",
|
|
44
|
+
' ',
|
|
45
|
+
index.h("b", null, "automatically loads the fonts so you can skip loading them separately"),
|
|
46
|
+
". If you wish, however, to load the fonts, add the tag below to the ",
|
|
26
47
|
index.h("code", null, "head")),
|
|
27
|
-
index.h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })
|
|
28
|
-
index.h("h2", null, "Component Usage"),
|
|
29
|
-
index.h("p", null, "Once included, components can be used in your markup like any other regular HTML elements:"),
|
|
30
|
-
index.h("eds-code-block", { code: '<eds-button \n label="my bytton" \n intent="primary">\n</eds-button>', language: "html", "copy-label": "Copy Code" })));
|
|
48
|
+
index.h("eds-code-block", { code: '<link rel="stylesheet" href="https://unpkg.com/@ebrains/assets@0.0.1/styles/base/fonts.css"/>', language: "css", "copy-label": "Copy Code" })));
|
|
31
49
|
|
|
32
50
|
const EdsDocsInstallation = () => (index.h("div", null,
|
|
33
51
|
index.h("p", null, "Before proceeding, ensure that Node.js is installed on your machine\u2014you can download the latest version from the official website. If your project doesn\u2019t already use npm and you plan to integrate EBRAINS Components, you'll need to create a package.json file by running npm init and following the on-screen instructions."),
|
|
@@ -44,19 +62,15 @@ const EdsDocsInstallation = () => (index.h("div", null,
|
|
|
44
62
|
|
|
45
63
|
const EdsDocsReact = () => (index.h("div", null,
|
|
46
64
|
index.h("h2", null, "React Wrappers"),
|
|
47
|
-
index.h("p", null, "
|
|
48
|
-
index.h("
|
|
49
|
-
index.h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" })),
|
|
65
|
+
index.h("p", null, "To use the EBRAINS web components in a React Application, simple install the package below and check out the examples"),
|
|
66
|
+
index.h("eds-code-block", { code: "npm install @ebrains/react", language: "javascript", "copy-label": "Copy Code" }),
|
|
50
67
|
index.h("eds-section-core", { "section-title": "Example React App", "heading-level": "h3" },
|
|
51
68
|
index.h("eds-code-block", { code: '\nimport {\n EdsHeader,\n EdsFullscreenMenu,\n EdsUser\n} from "@ebrains/react";\n\ninterface User {\n firstname: string;\n lastname: string;\n // Add any other properties your user object might have\n}\n\ninterface AuthStatus {\n authenticated: boolean;\n user: User | null;\n}\n\nimport { useEffect, useState } from "react";\n\nexport function App() {\n const [authStatus, setAuthStatus] = useState<AuthStatus>({\n authenticated: false,\n user: null,\n });\n const [activeTabIndex, setActiveTabIndex] = useState<number>(0);\n\n // Use useEffect to render Stencil components dynamically after the component mounts\n useEffect(() => {\n const handleAuthStatusChange = (event: CustomEvent) => {\n console.log(event.detail);\n setAuthStatus(event.detail); // Set the entire object\n };\n\n document.addEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n\n return () => {\n document.removeEventListener(\n "authStatusChanged",\n handleAuthStatusChange as EventListener,\n );\n };\n }, []);\n\n return (\n <div>\n <EdsHeader\n homeUrl="/"\n menuEnabled={true}\n inverseHeader={false}\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n >\n <div className="px-16">\n <EdsUser\n keycloak-url="http://localhost:8080"\n keycloak-realm="nigeor-realm"\n keycloak-client-id="stencil-app"\n ></EdsUser>\n </div>\n </EdsHeader>\n\n <EdsFullscreenMenu\n home-url="/"\n links={[\n { label: "About", url: "#" },\n { label: "Focus Areas", url: "#" },\n { label: "News & Events", url: "#" },\n { label: "Contact", url: "#" }\n ]}\n ></EdsFullscreenMenu>\n \n <div>\n User is{" "}\n {authStatus.authenticated ? "authenticated" : "not authenticated"}\n </div>\n {authStatus.user && <div>Welcome, {authStatus.user.firstname}</div>}\n\n <div id="main"></div>\n </div>\n );\n}\n\nexport default App;\n\n', language: "javascript", "copy-label": "Copy Code" }))));
|
|
52
69
|
|
|
53
70
|
const EdsDocsVue = () => (index.h("div", null,
|
|
54
71
|
index.h("h2", null, "Vue Wrappers"),
|
|
55
|
-
index.h("p", null, "
|
|
56
|
-
index.h("p", null, "Simply install the latest version of our NPM package."),
|
|
72
|
+
index.h("p", null, "To use the EBRAINS web components in a Vue Application, simple install the package below and check out the examples."),
|
|
57
73
|
index.h("eds-code-block", { code: "npm install @ebrains/vue", language: "javascript", "copy-label": "Copy Code" }),
|
|
58
|
-
index.h("p", null, "Our NPM package already includes the custom elements definitions. However, you can use the components as they are by simply importing and executing the initialization command in your \"main.ts\" file."),
|
|
59
|
-
index.h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
|
|
60
74
|
index.h("h2", null,
|
|
61
75
|
"Passing Properties to Custom Elements Using the ",
|
|
62
76
|
index.h("b", null, ".prop"),
|
|
@@ -67,10 +81,10 @@ const EdsDocsVue = () => (index.h("div", null,
|
|
|
67
81
|
index.h("b", null, ".prop"),
|
|
68
82
|
" Modifier"),
|
|
69
83
|
index.h("p", null, "When using Vue wrappers, you can pass properties with the .prop modifier by adding it to your binding expression. Here\u2019s an example of how to do it:"),
|
|
70
|
-
index.h("div", { class: "
|
|
84
|
+
index.h("div", { class: "my-8" },
|
|
71
85
|
index.h("eds-alert", { message: "This may lead to issues because Vue binds these as attributes .", intent: "error" })),
|
|
72
86
|
index.h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel="Press Me"\n :pressableUrl="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
|
|
73
|
-
index.h("div", { class: "
|
|
87
|
+
index.h("div", { class: "my-8" },
|
|
74
88
|
index.h("eds-alert", { message: "Use the .prop modifier to ensure properties are passed correctly.", intent: "success" })),
|
|
75
89
|
index.h("eds-code-block", { code: '<EdsAlert\n message="This is a default informational alert."\n intent="default"\n :pressableLabel.prop="Press Me"\n :pressableUrl.prop="https://ebrains.eu"\n></EdsAlert>', language: "javascript", "copy-label": "Copy Code" }),
|
|
76
90
|
index.h("p", null,
|
|
@@ -82,7 +96,7 @@ const EdsDocsVue = () => (index.h("div", null,
|
|
|
82
96
|
|
|
83
97
|
const EdsDocsAngular = () => (index.h("div", null,
|
|
84
98
|
index.h("h2", null, "Angular Wrappers"),
|
|
85
|
-
index.h("p", null, "
|
|
99
|
+
index.h("p", null, "To use the EBRAINS web components in an Angular Application, simple install the package below and check out the examples."),
|
|
86
100
|
index.h("eds-code-block", { code: "npm install @ebrains/angular", language: "javascript", "copy-label": "Copy Code" }),
|
|
87
101
|
index.h("p", null, "Define the custom elements"),
|
|
88
102
|
index.h("eds-code-block", { code: "import { defineCustomElements } from '@ebrains/components/loader';\ndefineCustomElements();", language: "javascript", "copy-label": "Copy Code" }),
|
|
@@ -113,7 +127,7 @@ const EdsComponentsSection = class {
|
|
|
113
127
|
}
|
|
114
128
|
}
|
|
115
129
|
render() {
|
|
116
|
-
return index.h("div", { key: '
|
|
130
|
+
return index.h("div", { key: '85fff494e98ff10bbcc630487a75d345e7cce78c', class: "container" }, this.renderContent());
|
|
117
131
|
}
|
|
118
132
|
};
|
|
119
133
|
|
|
@@ -31,7 +31,7 @@ const EdsCookiesPreference = class {
|
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (index.h("div", { key: '
|
|
34
|
+
return (index.h("div", { key: '13e1244d4e151f091eaca1d22dbed009bcb97786' }, index.h("eds-link", { key: '4cfc54b447c93824f98da1f990a28fdb61018afe', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && index.h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
EdsCookiesPreference.style = EdsCookiesPreferenceStyle0;
|
|
@@ -20,7 +20,7 @@ const EdsDocsPalettes = class {
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return index.h("div", { key: '
|
|
23
|
+
return index.h("div", { key: '480cc269ee31de61190b4ae7502c3c17e673c3f9', class: "container" }, this.renderContent());
|
|
24
24
|
}
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -28,7 +28,7 @@ const EdsDocsContent = class {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return index.h("div", { key: '
|
|
31
|
+
return index.h("div", { key: '64ee8c20ec7dca1ea1a742ef53f0315c81107ead', class: "container" }, this.renderContent());
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
|
|
@@ -57,7 +57,7 @@ const EdsFeedback = class {
|
|
|
57
57
|
this.selectedRating = e.detail;
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (index.h("div", { key: '
|
|
60
|
+
return (index.h("div", { key: '3cdbbc2eb256ca4f2008f03e90ae9aacb6afbaac', class: "grid inline" }, index.h("p", { key: 'afb5aa7ab4a8c3117a4db0a5cbeca0195ccec3e8', class: "f-heading-03 my-4" }, this.label), index.h("p", { key: '9b1b83b31d05d10943bcf9e9a413686caa9e49a7', class: "f-body-02 text-light" }, this.description), index.h("eds-rating", { key: '4535006f72ee21d168d9b42da6a5c3528417d2f4', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (index.h("span", { key: 'b90b59aaae1e2bc6071e1488f332d0c154bdb25a', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
61
61
|
}
|
|
62
62
|
get el() { return index.getElement(this); }
|
|
63
63
|
};
|