@ebrains/components 0.9.1-beta → 0.9.3-beta
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-accordion.cjs.entry.js +2 -2
- package/dist/cjs/eds-alert.cjs.entry.js +2 -2
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-avatar_27.cjs.entry.js} +168 -45
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +2 -2
- 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-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +1 -1
- 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-bookmark.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-external.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-minus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-more.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-paper.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-plus.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-portal.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-private.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-public.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-tutorial.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +1 -1
- package/dist/cjs/eds-icon-updown.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-login_2.cjs.entry.js +1 -1
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +3 -3
- package/dist/cjs/eds-pagination_2.cjs.entry.js +5 -5
- 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 +3 -3
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -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 +2 -2
- 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 +2 -6
- 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-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-alert/eds-alert.js +2 -2
- package/dist/collection/components/eds-avatar/eds-avatar.js +1 -1
- package/dist/collection/components/eds-block-break/eds-block-break.js +1 -1
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +7 -8
- 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 +1 -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-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.js +1 -1
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +2 -2
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +1 -1
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.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-external/eds-icon-external.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-minus/eds-icon-minus.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-paper/eds-icon-paper.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.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-tutorial/eds-icon-tutorial.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.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 +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +2 -2
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.css +47 -1
- package/dist/collection/components/eds-modal/eds-modal.js +52 -30
- package/dist/collection/components/eds-modal/eds-modal.stories.js +24 -15
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- 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 +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-table/eds-table.js +4 -4
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.css +12 -15
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -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/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +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-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +16 -8
- package/dist/collection/shared-ui/eds-form/eds-form.js +3 -3
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +11 -2
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +5 -5
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +1 -0
- package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +3 -3
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +3 -9
- 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 +26 -2
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +3 -3
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.stories.js +79 -0
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +12 -15
- 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 +12 -15
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +12 -15
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-accordion2.js +2 -2
- package/dist/components/eds-alert2.js +2 -2
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-avatar2.js +1 -1
- package/dist/components/eds-block-break2.js +1 -1
- package/dist/components/eds-breadcrumb.js +7 -8
- package/dist/components/eds-button2.js +1 -1
- package/dist/components/eds-card-desc2.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-cookies-preference.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -2
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +3 -3
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-fullscreen-menu.js +1 -1
- package/dist/components/eds-header.js +4 -4
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-bookmark.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-external.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-minus.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-paper.js +1 -1
- package/dist/components/eds-icon-plus.js +1 -1
- package/dist/components/eds-icon-portal.js +1 -1
- package/dist/components/eds-icon-private.js +1 -1
- package/dist/components/eds-icon-public.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-tutorial.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-unknown.js +1 -1
- package/dist/components/eds-icon-updown.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +2 -2
- package/dist/components/eds-input-footer2.js +1 -1
- package/dist/components/eds-input-label2.js +1 -1
- package/dist/components/eds-input-range2.js +1 -1
- package/dist/components/eds-input-search2.js +1 -1
- package/dist/components/eds-input-select2.js +2 -2
- package/dist/components/eds-input2.js +2 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-login2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-matomo-notice2.js +3 -3
- package/dist/components/eds-modal.js +37 -15
- 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 +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-steps-v2.js +4 -4
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-table2.js +4 -4
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +2 -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 +2 -2
- 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-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/{p-4620ebf5.entry.js → p-037975af.entry.js} +1 -1
- package/dist/components/p-05549a74.entry.js +1 -0
- package/dist/components/p-05b272e5.entry.js +1 -0
- package/dist/components/p-0b99fd3c.entry.js +1 -0
- package/dist/components/p-0e378e0e.entry.js +1 -0
- package/dist/components/p-1ec25dc2.entry.js +1 -0
- package/dist/components/{p-1309a74c.entry.js → p-202f78cc.entry.js} +1 -1
- package/dist/components/{p-2c1be2bb.entry.js → p-22b76c3c.entry.js} +1 -1
- package/dist/components/p-24300934.entry.js +1 -0
- package/dist/components/p-25f1cc6c.entry.js +1 -0
- package/dist/components/{p-d94a44b9.entry.js → p-29ad9c73.entry.js} +1 -1
- package/dist/components/p-31ca07fd.entry.js +1 -0
- package/dist/components/p-342bc3d8.entry.js +1 -0
- package/dist/components/p-35068b80.entry.js +1 -0
- package/dist/components/p-3950debe.entry.js +1 -0
- package/dist/components/p-3d74d4b1.entry.js +1 -0
- package/dist/components/{p-91440d2f.entry.js → p-42f19373.entry.js} +1 -1
- package/dist/components/{p-e42eb100.entry.js → p-4ecaedbc.entry.js} +1 -1
- package/dist/components/p-5055eb25.entry.js +1 -0
- package/dist/components/{p-21a746a4.entry.js → p-55e3683c.entry.js} +1 -1
- package/dist/components/p-5646902d.entry.js +1 -0
- package/dist/components/p-5ff68e7d.entry.js +1 -0
- package/dist/components/p-63cc5d3d.entry.js +1 -0
- package/dist/components/p-6506cf52.entry.js +1 -0
- package/dist/components/{p-ea089f4e.entry.js → p-67c72c20.entry.js} +1 -1
- package/dist/components/{p-063b0683.entry.js → p-688e07d6.entry.js} +1 -1
- package/dist/components/p-6aa17003.entry.js +1 -0
- package/dist/components/p-6e273e0f.entry.js +1 -0
- package/dist/components/p-6fcb754e.entry.js +1 -0
- package/dist/components/{p-622dd2a1.entry.js → p-70c9af1e.entry.js} +1 -1
- package/dist/components/{p-18eb23ff.entry.js → p-7180a36b.entry.js} +1 -1
- package/dist/components/p-7351cad3.entry.js +1 -0
- package/dist/components/{p-4e8a317b.entry.js → p-751497f4.entry.js} +1 -1
- package/dist/components/p-75cc9f9e.entry.js +1 -0
- package/dist/components/{p-3a7be9a7.entry.js → p-75d37c48.entry.js} +1 -1
- package/dist/components/{p-c99745a8.entry.js → p-7a31c31f.entry.js} +1 -1
- package/dist/components/{p-3f480c3c.entry.js → p-7a550385.entry.js} +1 -1
- package/dist/components/{p-941240b5.entry.js → p-7ac9881e.entry.js} +1 -1
- package/dist/components/{p-e710c860.entry.js → p-7cb60f9c.entry.js} +1 -1
- package/dist/components/{p-c8abff96.entry.js → p-7db75d62.entry.js} +1 -1
- package/dist/components/p-888c3471.entry.js +1 -0
- package/dist/components/{p-cccff1e3.entry.js → p-892362e0.entry.js} +1 -1
- package/dist/components/{p-1aab55cf.entry.js → p-8a4d9b9b.entry.js} +1 -1
- package/dist/components/p-8b7f5204.entry.js +1 -0
- package/dist/components/p-8db820ef.entry.js +1 -0
- package/dist/components/{p-c86243a3.entry.js → p-aa2e6fec.entry.js} +1 -1
- package/dist/components/p-ae4f5e3a.entry.js +1 -0
- package/dist/components/p-b024183c.entry.js +1 -0
- package/dist/components/{p-0ce924b1.entry.js → p-b115c3f1.entry.js} +1 -1
- package/dist/components/p-b3a3ae59.entry.js +1 -0
- package/dist/components/p-b4595a9e.entry.js +1 -0
- package/dist/components/{p-f48a4313.entry.js → p-b817dceb.entry.js} +1 -1
- package/dist/components/p-b8ca2127.entry.js +1 -0
- package/dist/components/{p-ff7acb55.entry.js → p-ba6cc102.entry.js} +1 -1
- package/dist/components/{p-c935aa46.entry.js → p-c4db0829.entry.js} +1 -1
- package/dist/components/p-c51b5f04.entry.js +1 -0
- package/dist/components/{p-94b1f974.entry.js → p-c5a7d2b1.entry.js} +1 -1
- package/dist/components/p-c5f98369.entry.js +1 -0
- package/dist/components/p-c604063d.entry.js +1 -0
- package/dist/components/p-c9a19e93.entry.js +1 -0
- package/dist/components/p-d164a75d.entry.js +1 -0
- package/dist/components/{p-526cdc57.entry.js → p-d4c920fa.entry.js} +1 -1
- package/dist/components/p-d82cc261.entry.js +1 -0
- package/dist/components/{p-e64cd6f7.entry.js → p-d83d2815.entry.js} +1 -1
- package/dist/components/p-da6e49a9.entry.js +1 -0
- package/dist/components/{p-6dc26e53.entry.js → p-e089797c.entry.js} +1 -1
- package/dist/components/{p-9a1a6df1.entry.js → p-e2b00067.entry.js} +1 -1
- package/dist/components/p-e8a2d709.entry.js +1 -0
- package/dist/components/{p-8527ef5f.entry.js → p-ea942740.entry.js} +1 -1
- package/dist/components/p-ece20356.entry.js +1 -0
- package/dist/components/p-ed6fd4b8.entry.js +1 -0
- package/dist/components/{p-7fa88255.entry.js → p-f3822d6b.entry.js} +1 -1
- package/dist/components/p-f539febe.entry.js +1 -0
- package/dist/components/p-f7f4b247.entry.js +1 -0
- package/dist/components/p-fdbfa776.entry.js +1 -0
- package/dist/components/p-fe27f4a9.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-accordion.entry.js +2 -2
- package/dist/esm/eds-alert.entry.js +2 -2
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/{eds-avatar_26.entry.js → eds-avatar_27.entry.js} +168 -46
- package/dist/esm/eds-card-desc_2.entry.js +2 -2
- 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-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +1 -1
- 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-bookmark.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-external.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-minus.entry.js +1 -1
- package/dist/esm/eds-icon-more.entry.js +1 -1
- package/dist/esm/eds-icon-paper.entry.js +1 -1
- package/dist/esm/eds-icon-plus.entry.js +1 -1
- package/dist/esm/eds-icon-portal.entry.js +1 -1
- package/dist/esm/eds-icon-private.entry.js +1 -1
- package/dist/esm/eds-icon-public.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-tutorial.entry.js +1 -1
- package/dist/esm/eds-icon-twitter.entry.js +1 -1
- package/dist/esm/eds-icon-unknown.entry.js +1 -1
- package/dist/esm/eds-icon-updown.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-login_2.entry.js +1 -1
- package/dist/esm/eds-matomo-notice.entry.js +3 -3
- package/dist/esm/eds-pagination_2.entry.js +5 -5
- 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 +3 -3
- package/dist/esm/eds-spinner.entry.js +1 -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 +2 -2
- 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 +2 -6
- 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-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +187 -166
- package/dist/hydrate/index.mjs +187 -166
- package/dist/stencil.config.js +1 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +12 -12
- package/dist/types/components/eds-modal/eds-modal.stories.d.ts +17 -0
- package/dist/types/components.d.ts +15 -15
- package/dist/types/shared-ui/eds-header/eds-header.d.ts +1 -1
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.d.ts +0 -5
- package/dist/types/shared-ui/eds-steps-v2/eds-steps-v2.stories.d.ts +48 -0
- package/package.json +1 -1
- package/dist/cjs/eds-modal.cjs.entry.js +0 -109
- package/dist/collection/shared-ui/eds-login/eds-login.stories.js +0 -37
- package/dist/components/p-0467ceb5.entry.js +0 -1
- package/dist/components/p-20b3a999.entry.js +0 -1
- package/dist/components/p-20e9ae7f.entry.js +0 -1
- package/dist/components/p-29e807f5.entry.js +0 -1
- package/dist/components/p-35ed7ebf.entry.js +0 -1
- package/dist/components/p-376b706b.entry.js +0 -1
- package/dist/components/p-3932d0af.entry.js +0 -1
- package/dist/components/p-3af94671.entry.js +0 -1
- package/dist/components/p-41e89554.entry.js +0 -1
- package/dist/components/p-435a8942.entry.js +0 -1
- package/dist/components/p-4c7852f8.entry.js +0 -1
- package/dist/components/p-52913e2e.entry.js +0 -1
- package/dist/components/p-6404e157.entry.js +0 -1
- package/dist/components/p-66bb44c9.entry.js +0 -1
- package/dist/components/p-78fa7132.entry.js +0 -1
- package/dist/components/p-7dce734a.entry.js +0 -1
- package/dist/components/p-83936521.entry.js +0 -1
- package/dist/components/p-8653bc36.entry.js +0 -1
- package/dist/components/p-8baa7e01.entry.js +0 -1
- package/dist/components/p-8e3c6c63.entry.js +0 -1
- package/dist/components/p-923f67b5.entry.js +0 -1
- package/dist/components/p-93093977.entry.js +0 -1
- package/dist/components/p-97e95520.entry.js +0 -1
- package/dist/components/p-9873ebec.entry.js +0 -1
- package/dist/components/p-9dc879c9.entry.js +0 -1
- package/dist/components/p-a1d55013.entry.js +0 -1
- package/dist/components/p-a56f0579.entry.js +0 -1
- package/dist/components/p-a8b0fe92.entry.js +0 -1
- package/dist/components/p-acc4d234.entry.js +0 -1
- package/dist/components/p-b0b37831.entry.js +0 -1
- package/dist/components/p-b299b89a.entry.js +0 -1
- package/dist/components/p-b2b46793.entry.js +0 -1
- package/dist/components/p-b76aa402.entry.js +0 -1
- package/dist/components/p-b931a634.entry.js +0 -1
- package/dist/components/p-b96fc468.entry.js +0 -1
- package/dist/components/p-bab07ba6.entry.js +0 -1
- package/dist/components/p-cd624044.entry.js +0 -1
- package/dist/components/p-cdc36ea8.entry.js +0 -1
- package/dist/components/p-d525ed36.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-eebf7ebf.entry.js +0 -1
- package/dist/components/p-efc73304.entry.js +0 -1
- package/dist/components/p-f13e9ab1.entry.js +0 -1
- package/dist/components/p-f4ce515a.entry.js +0 -1
- package/dist/esm/eds-modal.entry.js +0 -105
- package/dist/types/shared-ui/eds-login/eds-login.stories.d.ts +0 -33
|
@@ -45,6 +45,12 @@
|
|
|
45
45
|
.z-9999999 {
|
|
46
46
|
z-index: 9999999;
|
|
47
47
|
}
|
|
48
|
+
.w-full {
|
|
49
|
+
width: 100%;
|
|
50
|
+
}
|
|
51
|
+
.min-w-full {
|
|
52
|
+
min-width: 100%;
|
|
53
|
+
}
|
|
48
54
|
|
|
49
55
|
.max-w-full {
|
|
50
56
|
max-width: 100%;
|
|
@@ -112,10 +118,18 @@
|
|
|
112
118
|
top: 50%;
|
|
113
119
|
}
|
|
114
120
|
|
|
121
|
+
.top-0 {
|
|
122
|
+
top: 0rem;
|
|
123
|
+
}
|
|
124
|
+
.left-0 {
|
|
125
|
+
left: 0rem;
|
|
126
|
+
}
|
|
115
127
|
.top-20 {
|
|
116
128
|
top: 1.25rem;
|
|
117
129
|
}
|
|
118
|
-
|
|
130
|
+
.bottom-0 {
|
|
131
|
+
bottom: 0rem;
|
|
132
|
+
}
|
|
119
133
|
.bottom-20 {
|
|
120
134
|
bottom: 1.25rem;
|
|
121
135
|
}
|
|
@@ -194,6 +208,26 @@
|
|
|
194
208
|
color: var(--grey-500);
|
|
195
209
|
}
|
|
196
210
|
|
|
211
|
+
.text-default {
|
|
212
|
+
color: var(--black);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.text-inverse {
|
|
216
|
+
color: var(--white);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.bg-dark {
|
|
220
|
+
background-color: var(--grey-300);
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.bg-strong {
|
|
224
|
+
background-color: var(--grey-700);
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.bg-strongest {
|
|
228
|
+
background-color: var(--black);
|
|
229
|
+
}
|
|
230
|
+
|
|
197
231
|
.ml-8 {
|
|
198
232
|
margin-left: 0.5rem;
|
|
199
233
|
}
|
|
@@ -235,6 +269,18 @@
|
|
|
235
269
|
}
|
|
236
270
|
|
|
237
271
|
@media (min-width: 750px) {
|
|
272
|
+
.md\:bottom-20 {
|
|
273
|
+
bottom: 1.25rem;
|
|
274
|
+
}
|
|
275
|
+
.md\:w-auto {
|
|
276
|
+
width: auto;
|
|
277
|
+
}
|
|
278
|
+
.md\:top-20 {
|
|
279
|
+
top: 1.25rem;
|
|
280
|
+
}
|
|
281
|
+
.md\:top-1\/2 {
|
|
282
|
+
top: 50%;
|
|
283
|
+
}
|
|
238
284
|
.md\:left-1\/2 {
|
|
239
285
|
left: 50%;
|
|
240
286
|
}
|
|
@@ -12,14 +12,14 @@ import { h } from "@stencil/core";
|
|
|
12
12
|
*/
|
|
13
13
|
export class EdsModal {
|
|
14
14
|
constructor() {
|
|
15
|
-
this.isOpen = false;
|
|
16
15
|
this.heading = '';
|
|
17
|
-
this.truncate =
|
|
18
|
-
this.truncateLines = '1';
|
|
16
|
+
this.truncate = 1;
|
|
19
17
|
this.position = 'middle';
|
|
18
|
+
this.inverseHeader = false;
|
|
19
|
+
this.isOpen = false;
|
|
20
20
|
}
|
|
21
21
|
getTruncateClass() {
|
|
22
|
-
return this.truncate
|
|
22
|
+
return this.truncate ? `line-clamp-${this.truncate}` : '';
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* Returns the Tailwind CSS classes to position the modal based on the `position` prop.
|
|
@@ -30,16 +30,38 @@ export class EdsModal {
|
|
|
30
30
|
getModalPositionClasses() {
|
|
31
31
|
switch (this.position) {
|
|
32
32
|
case 'top':
|
|
33
|
-
return
|
|
33
|
+
return [
|
|
34
|
+
// mobile: pinned to top, full-width
|
|
35
|
+
'top-0',
|
|
36
|
+
'left-0',
|
|
37
|
+
'w-full',
|
|
38
|
+
// desktop: half-width centred and offset down
|
|
39
|
+
'md:left-1/2',
|
|
40
|
+
'md:w-auto',
|
|
41
|
+
'md:-translate-x-1/2',
|
|
42
|
+
'md:top-20'
|
|
43
|
+
].join(' ');
|
|
34
44
|
case 'bottom':
|
|
35
|
-
return 'md:left-1/2
|
|
36
|
-
case 'left':
|
|
37
|
-
|
|
45
|
+
return ['bottom-0', 'left-0', 'w-full', 'md:left-1/2', 'md:w-auto', 'md:-translate-x-1/2', 'md:bottom-20'].join(' ');
|
|
46
|
+
/*case 'left':
|
|
47
|
+
…
|
|
38
48
|
case 'right':
|
|
39
|
-
|
|
49
|
+
…*/
|
|
40
50
|
case 'middle':
|
|
41
51
|
default:
|
|
42
|
-
return
|
|
52
|
+
return [
|
|
53
|
+
// mobile: full-width, start from top with a little padding
|
|
54
|
+
'top-0',
|
|
55
|
+
'left-0',
|
|
56
|
+
'w-full',
|
|
57
|
+
'pt-4',
|
|
58
|
+
// desktop: centred both axes
|
|
59
|
+
'md:left-1/2',
|
|
60
|
+
'md:top-1/2',
|
|
61
|
+
'md:w-auto',
|
|
62
|
+
'md:-translate-x-1/2',
|
|
63
|
+
'md:-translate-y-1/2'
|
|
64
|
+
].join(' ');
|
|
43
65
|
}
|
|
44
66
|
}
|
|
45
67
|
/**
|
|
@@ -99,9 +121,9 @@ export class EdsModal {
|
|
|
99
121
|
render() {
|
|
100
122
|
// Generate a unique id for the title so we can reference it for aria-labelledby.
|
|
101
123
|
const titleId = `modal-title-${this.el.tagName.toLowerCase()}`;
|
|
102
|
-
return (h("div", { key: '
|
|
124
|
+
return (h("div", { key: '3a2446813eebf215f2c7aafc26d5688f58020c54', id: "eds-modal", class: `${this.isOpen ? 'block' : 'hidden'} fixed inset-0 z-9999999 flex`, role: "dialog", "aria-modal": "true", "aria-labelledby": titleId }, this.isOpen && (h("div", { key: '7081928b01c09e692cac0f61dbc58b4f5578271d', class: "fixed inset-0 bg-dark bg-opacity-90" // Add backdrop-blur utility class here
|
|
103
125
|
,
|
|
104
|
-
onClick: () => this.close() })), h("div", { key: '
|
|
126
|
+
onClick: () => this.close() })), h("div", { key: '0fc5f4716022cb01c2da9a28738586710625c70f', class: `container absolute bg-inverse z-10 ${this.getModalPositionClasses()} grow justify-center` }, h("div", { key: '8e4bdffba2f69b18e8846e4c2709c5c423b0a99e', class: `flex justify-between items-center border-b-2 border-softer px-20 py-20 ${this.inverseHeader ? 'bg-strongest text-inverse' : 'bg-dark text-default'}` }, h("span", { key: '6e0d237fc95c1b74b1b0c0456848684578367302', id: titleId, class: `f-heading-04 ${this.getTruncateClass()}` }, this.heading), h("eds-button", { key: '3499de216da4ba38edb66cdcd688872f51b41aaf', intent: "tertiary", icon: "close", "aria-label": "Close modal", onClick: () => this.close(), "extra-class": "ml-8 text-default" })), h("div", { key: 'f723dded796961e925cc2b046c31e7345fd3e159', class: "pt-8 px-20 py-20" }, h("slot", { key: 'ffe1213b65e60dfaf7c220e3c7e3dd8495706dcf' })))));
|
|
105
127
|
}
|
|
106
128
|
static get is() { return "eds-modal"; }
|
|
107
129
|
static get encapsulation() { return "shadow"; }
|
|
@@ -136,58 +158,58 @@ export class EdsModal {
|
|
|
136
158
|
"defaultValue": "''"
|
|
137
159
|
},
|
|
138
160
|
"truncate": {
|
|
139
|
-
"type": "
|
|
161
|
+
"type": "number",
|
|
140
162
|
"mutable": false,
|
|
141
163
|
"complexType": {
|
|
142
|
-
"original": "
|
|
143
|
-
"resolved": "
|
|
164
|
+
"original": "1 | 2 | 3 | 4",
|
|
165
|
+
"resolved": "1 | 2 | 3 | 4",
|
|
144
166
|
"references": {}
|
|
145
167
|
},
|
|
146
168
|
"required": false,
|
|
147
169
|
"optional": false,
|
|
148
170
|
"docs": {
|
|
149
171
|
"tags": [],
|
|
150
|
-
"text": "
|
|
172
|
+
"text": "The number of lines to truncate the title to.\nDefault is 3 lines."
|
|
151
173
|
},
|
|
152
174
|
"attribute": "truncate",
|
|
153
175
|
"reflect": false,
|
|
154
|
-
"defaultValue": "
|
|
176
|
+
"defaultValue": "1"
|
|
155
177
|
},
|
|
156
|
-
"
|
|
178
|
+
"position": {
|
|
157
179
|
"type": "string",
|
|
158
180
|
"mutable": false,
|
|
159
181
|
"complexType": {
|
|
160
|
-
"original": "
|
|
161
|
-
"resolved": "
|
|
182
|
+
"original": "'middle' | 'top' | 'bottom'",
|
|
183
|
+
"resolved": "\"bottom\" | \"middle\" | \"top\"",
|
|
162
184
|
"references": {}
|
|
163
185
|
},
|
|
164
186
|
"required": false,
|
|
165
187
|
"optional": false,
|
|
166
188
|
"docs": {
|
|
167
189
|
"tags": [],
|
|
168
|
-
"text": "The
|
|
190
|
+
"text": "Specifies the position of the modal.\n\nAcceptable values are:\n- `\"middle\"` (default): The modal is centered both vertically and horizontally.\n- `\"top\"`: The modal is positioned near the top of the viewport.\n- `\"bottom\"`: The modal is positioned near the bottom of the viewport.\n- `\"left\"`: The modal is positioned on the left side of the viewport, centered vertically.\n- `\"right\"`: The modal is positioned on the right side of the viewport, centered vertically."
|
|
169
191
|
},
|
|
170
|
-
"attribute": "
|
|
192
|
+
"attribute": "position",
|
|
171
193
|
"reflect": false,
|
|
172
|
-
"defaultValue": "'
|
|
194
|
+
"defaultValue": "'middle'"
|
|
173
195
|
},
|
|
174
|
-
"
|
|
175
|
-
"type": "
|
|
196
|
+
"inverseHeader": {
|
|
197
|
+
"type": "boolean",
|
|
176
198
|
"mutable": false,
|
|
177
199
|
"complexType": {
|
|
178
|
-
"original": "
|
|
179
|
-
"resolved": "
|
|
200
|
+
"original": "boolean",
|
|
201
|
+
"resolved": "boolean",
|
|
180
202
|
"references": {}
|
|
181
203
|
},
|
|
182
204
|
"required": false,
|
|
183
205
|
"optional": false,
|
|
184
206
|
"docs": {
|
|
185
207
|
"tags": [],
|
|
186
|
-
"text": "
|
|
208
|
+
"text": "Whether to use the inverse header style\n(light text on strong background) instead of the default."
|
|
187
209
|
},
|
|
188
|
-
"attribute": "
|
|
210
|
+
"attribute": "inverse-header",
|
|
189
211
|
"reflect": false,
|
|
190
|
-
"defaultValue": "
|
|
212
|
+
"defaultValue": "false"
|
|
191
213
|
}
|
|
192
214
|
};
|
|
193
215
|
}
|
|
@@ -10,24 +10,36 @@ export default {
|
|
|
10
10
|
},
|
|
11
11
|
position: {
|
|
12
12
|
control: 'select',
|
|
13
|
-
options: ['
|
|
13
|
+
options: ['default', 'top', 'bottom'],
|
|
14
14
|
description: 'Position of the modal in the viewport'
|
|
15
|
+
},
|
|
16
|
+
truncate: {
|
|
17
|
+
control: { type: 'range', min: 1, max: 4, step: 1 },
|
|
18
|
+
description: 'Number of lines to truncate the title (1–4)',
|
|
19
|
+
defaultValue: 1
|
|
20
|
+
},
|
|
21
|
+
inverseHeader: {
|
|
22
|
+
control: 'boolean',
|
|
23
|
+
description: 'Use inverse (light text on strong BG) for the title bar',
|
|
24
|
+
defaultValue: false
|
|
15
25
|
}
|
|
16
26
|
},
|
|
17
27
|
args: {
|
|
18
28
|
title: 'Default Modal Title',
|
|
19
|
-
position: 'middle'
|
|
29
|
+
position: 'middle',
|
|
30
|
+
truncate: 1,
|
|
31
|
+
inverseHeader: false
|
|
20
32
|
}
|
|
21
33
|
};
|
|
22
|
-
const Template = ({ title, position }) => {
|
|
34
|
+
const Template = ({ title, position, truncate, inverseHeader }) => {
|
|
23
35
|
const openModal = () => {
|
|
24
36
|
var _a;
|
|
25
37
|
// Open the first instance of eds-modal on the page
|
|
26
38
|
(_a = document.querySelector('eds-modal')) === null || _a === void 0 ? void 0 : _a.open();
|
|
27
39
|
};
|
|
28
40
|
return html `
|
|
29
|
-
<!-- Modal component with dynamic title and
|
|
30
|
-
<eds-modal title="${title}" position="${position}">
|
|
41
|
+
<!-- Modal component with dynamic title, position, and truncation -->
|
|
42
|
+
<eds-modal title="${title}" position="${position}" truncate="${truncate}" inverse-header="${inverseHeader}">
|
|
31
43
|
<p>This is the content inside the modal.</p>
|
|
32
44
|
</eds-modal>
|
|
33
45
|
|
|
@@ -38,29 +50,25 @@ const Template = ({ title, position }) => {
|
|
|
38
50
|
export const Default = Template.bind({});
|
|
39
51
|
Default.args = {
|
|
40
52
|
title: 'Default Modal Title',
|
|
41
|
-
position: 'middle'
|
|
53
|
+
position: 'middle',
|
|
54
|
+
truncate: 1,
|
|
55
|
+
inverseHeader: false
|
|
42
56
|
};
|
|
43
|
-
const TemplateWithForm = ({ title, position }) => {
|
|
57
|
+
const TemplateWithForm = ({ title, position, truncate, inverseHeader }) => {
|
|
44
58
|
const openModal = () => {
|
|
45
59
|
var _a;
|
|
46
60
|
(_a = document.querySelector('eds-modal')) === null || _a === void 0 ? void 0 : _a.open();
|
|
47
61
|
};
|
|
48
62
|
return html `
|
|
49
63
|
<!-- Modal with eds-form inside the slot -->
|
|
50
|
-
<eds-modal title="${title}" position="${position}">
|
|
64
|
+
<eds-modal title="${title}" position="${position}" truncate="${truncate}" inverse-header="${inverseHeader}">
|
|
51
65
|
<eds-form
|
|
52
66
|
name="extended-form"
|
|
53
|
-
endpoint="http://127.0.0.1:5000/api/data"
|
|
54
67
|
fields='[
|
|
55
68
|
{"name": "username", "label": "Username", "type": "text", "required": true, "maxlength": 10},
|
|
56
69
|
{"name": "email", "label": "Email", "type": "email", "required": true},
|
|
57
70
|
{"name": "number", "label": "Number", "type": "number", "required": true}
|
|
58
71
|
]'
|
|
59
|
-
success-message="Form submitted successfully!"
|
|
60
|
-
error-message="Please fix the errors in the form."
|
|
61
|
-
submit-btn="true"
|
|
62
|
-
small-alert="false"
|
|
63
|
-
set-form-url="true"
|
|
64
72
|
></eds-form>
|
|
65
73
|
</eds-modal>
|
|
66
74
|
|
|
@@ -76,5 +84,6 @@ const TemplateWithForm = ({ title, position }) => {
|
|
|
76
84
|
export const ModalWithForm = TemplateWithForm.bind({});
|
|
77
85
|
ModalWithForm.args = {
|
|
78
86
|
title: 'Extended Form Modal',
|
|
79
|
-
position: 'middle'
|
|
87
|
+
position: 'middle',
|
|
88
|
+
truncate: 1
|
|
80
89
|
};
|
|
@@ -173,7 +173,7 @@ export class EdsPagination {
|
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
175
|
render() {
|
|
176
|
-
return (h("div", { key: '
|
|
176
|
+
return (h("div", { key: '1d53f69179791434224f152503c0b81c4cfc7cd3' }, this.total > 0 && this.mode === 'default' && (h("p", { key: '00ae324b49d62a74feee9d1cde21d67cd726ecf0', class: "f-ui-03 text-lightest mb-28 w-full text-center" }, h("span", { key: 'dedf2ce2700eae9d1386b305ec1d1904b133f992', class: "sr-only" }, "Results:"), this.pageResults())), this.mode === 'navigator' || (this.lastPage && this.lastPage > 1) ? (h("nav", { "aria-label": "Pagination" }, h("ul", { class: "flex items-center justify-center gap-x-8" }, h("li", { class: "mr-auto" }, h("eds-link", { label: this.prevLabel, url: this.mode === 'navigator'
|
|
177
177
|
? this.prevUrl || '#' // Use prevUrl if provided, otherwise disable with '#'
|
|
178
178
|
: this.isFirstPage()
|
|
179
179
|
? '#'
|
|
@@ -12,7 +12,7 @@ export class EdsProgressBar {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
const progressValue = this.value;
|
|
15
|
-
return (h("div", { key: '
|
|
15
|
+
return (h("div", { key: '0f47fedbf9d44887f65b399e184215f0937b1df1', role: "progressbar", "aria-valuemin": "0", "aria-valuemax": "100", "aria-valuenow": progressValue, "aria-valuetext": `${progressValue}%`, class: "outer w-full bg-default rounded-lg h-24 border border-softer overflow-hidden" }, h("div", { key: 'a2d095d778842c969832ea6b1ba7f7ef917d1390', class: `inner h-full rounded-lg bg-accent transition-all duration-300 flex items-center justify-center text-default f-body-02`, style: { width: `${progressValue}%` } }, progressValue, "%")));
|
|
16
16
|
}
|
|
17
17
|
static get is() { return "eds-progress-bar"; }
|
|
18
18
|
static get encapsulation() { return "shadow"; }
|
|
@@ -39,7 +39,7 @@ export class EdsRating {
|
|
|
39
39
|
this.rating.emit(rating);
|
|
40
40
|
}
|
|
41
41
|
render() {
|
|
42
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: 'd1650c37f02bf467f888d0afd0a025198bc0eedc', role: "radiogroup", class: "stars flex space-x-1 my-8" }, Array.from({ length: this.ratingCount }, (_, index) => {
|
|
43
43
|
const starRating = index + 1;
|
|
44
44
|
const isSelected = starRating <= this.selectedRating;
|
|
45
45
|
// Use the mapping text if available; otherwise, fall back to a generic label.
|
|
@@ -17,7 +17,7 @@ export class EdsSectionCore {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
const TagType = this.tag; // Set dynamic tag type (div or section)
|
|
20
|
-
return (h(TagType, { key: '
|
|
20
|
+
return (h(TagType, { key: 'f07162204271dca0f1ec8a3d309ab9d38a9fff4f' }, h("eds-section-heading", { key: 'c4db2a67151fcec22306f624b071725518292e65', headingLevel: this.headingLevel, sectionTitle: this.sectionTitle }), h("slot", { key: 'e610f4777f1b334e20482862504085f5317a63df' })));
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "eds-section-core"; }
|
|
23
23
|
static get originalStyleUrls() {
|
|
@@ -36,12 +36,12 @@ export class EdsSectionHeading {
|
|
|
36
36
|
render() {
|
|
37
37
|
const TagType = this.tag; // Dynamically set tag type for the container
|
|
38
38
|
const HeadingTag = this.headingLevel; // Dynamically set heading level
|
|
39
|
-
return (h(TagType, { key: '
|
|
39
|
+
return (h(TagType, { key: 'efa6dd7e228db2b86961efdff9b5dd9729a1a24b', class: {
|
|
40
40
|
'ui-section-header flex flex-wrap items-center justify-between gap-x-12 gap-y-8': true,
|
|
41
41
|
container: this.withContainer,
|
|
42
42
|
'pt-48': this.spacingLarge,
|
|
43
43
|
'pt-28': !this.spacingLarge
|
|
44
|
-
} }, h(HeadingTag, { key: '
|
|
44
|
+
} }, h(HeadingTag, { key: 'dd50f0fe3baf084c71dc4c8fa745484645a58f76', class: this.getHeadingClass() }, this.sectionTitle)));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "eds-section-heading"; }
|
|
47
47
|
static get properties() {
|
|
@@ -37,7 +37,7 @@ export class EdsSpinner {
|
|
|
37
37
|
alignItems: 'center',
|
|
38
38
|
justifyContent: 'center'
|
|
39
39
|
};
|
|
40
|
-
return (h(Host, { key: '
|
|
40
|
+
return (h(Host, { key: '77f17386e37b3dae21c2893dab53ef046d74b8fb' }, h("div", { key: 'c9420f866d61331901df7d6d681d09f75e31846c', class: "spinner-overlay", style: overlayStyle }, h("span", { key: '83497de6228b75fad77225a1b6fee9a614d68fe4', class: "spinner", style: spinnerStyle }))));
|
|
41
41
|
}
|
|
42
42
|
static get is() { return "eds-spinner"; }
|
|
43
43
|
static get encapsulation() { return "shadow"; }
|
|
@@ -16,11 +16,11 @@ export class EdsSwitch {
|
|
|
16
16
|
render() {
|
|
17
17
|
// Compute an accessible name based on state.
|
|
18
18
|
const accessibleLabel = this.labelOn || this.labelOff ? (this.checked ? this.labelOn : this.labelOff) : 'Toggle switch';
|
|
19
|
-
return (h("div", { key: '
|
|
19
|
+
return (h("div", { key: 'ef70db7a5ed4f8e8db7e1a9e94334a3686ec1d0e', class: "switch-container" }, this.labelOff && h("span", { key: '4a18de129ba0b4e643a0929b6fc797b7bc35cb4c', class: "switch-label switch-label--off" }, this.labelOff), h("button", { key: '2d75656fadf36a38269d361fef176e243e1291c2', type: "button", role: "switch", "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', "aria-label": accessibleLabel, class: {
|
|
20
20
|
switch: true,
|
|
21
21
|
'switch--checked': this.checked,
|
|
22
22
|
'switch--disabled': this.disabled
|
|
23
|
-
}, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '
|
|
23
|
+
}, onClick: this.toggleSwitch, disabled: this.disabled }, h("span", { key: '71bd3c8c042ac337c1392977c27e8f4ccde5e79f', class: "switch-handle" })), this.labelOn && h("span", { key: '7cfa0b1f805271c9281853a872cedf93db7e07d8', class: "switch-label switch-label--on" }, this.labelOn)));
|
|
24
24
|
}
|
|
25
25
|
static get is() { return "eds-switch"; }
|
|
26
26
|
static get encapsulation() { return "shadow"; }
|
|
@@ -174,15 +174,15 @@ export class EdsTable {
|
|
|
174
174
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
175
175
|
const paginatedRows = this.getPaginatedRows();
|
|
176
176
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
177
|
-
return (h("div", { key: '
|
|
177
|
+
return (h("div", { key: '9ac7ad4f02237c02eaf5d3b351ded21bce29bd6c' }, this.searchEnabled && (h("div", { key: '1cecf9a9089391c3bce72dd53a6f5ffa92692661' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...",
|
|
178
178
|
// @ts-ignore
|
|
179
|
-
onInput: (event) => this.handleSearch(event) }))), h("div", { key: '
|
|
179
|
+
onInput: (event) => this.handleSearch(event) }))), h("div", { key: '435bbfd0a4dd3ddd0a7766863cdd8c2eaf41eb8f', class: "mt-20" }, h("table", { key: '4785490532015b7069be068e80135220f37c3955', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: '8a99a961cf350bca26b1f73b8ffd6c8e1c48378f' }, h("tr", { key: 'a4ee04e342687830e905a3bd5217e53e513f0167', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
|
|
180
180
|
var _a;
|
|
181
181
|
return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, column));
|
|
182
|
-
}))), h("tbody", { key: '
|
|
182
|
+
}))), h("tbody", { key: '3c764ac7137d1b21f45003c6df5324e7d0db749f' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((column) => {
|
|
183
183
|
var _a;
|
|
184
184
|
return !((_a = this.parsedConfig[column]) === null || _a === void 0 ? void 0 : _a.hidden) && (h("td", { class: "text-center border border-softer m-0 py-8 f-ui-2 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.renderCell(row[column], column)));
|
|
185
|
-
}))))))), this.shouldEnablePagination() && (h("div", { key: '
|
|
185
|
+
}))))))), this.shouldEnablePagination() && (h("div", { key: '98a1179b45fbc1b2f079825c899410ef4faf8c45', class: "mt-20" }, h("eds-pagination", { key: '662c479139658ea7f3d2a3955c77e24d44dd6e74', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
186
186
|
}
|
|
187
187
|
static get is() { return "eds-table"; }
|
|
188
188
|
static get encapsulation() { return "shadow"; }
|
|
@@ -36,7 +36,7 @@ export class EdsTag {
|
|
|
36
36
|
}
|
|
37
37
|
render() {
|
|
38
38
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
39
|
-
return h("span", { key: '
|
|
39
|
+
return h("span", { key: '4531e69a8dce962b77107b2da984aeae6ba4b4c4', class: classes }, this.label);
|
|
40
40
|
}
|
|
41
41
|
static get is() { return "eds-tag"; }
|
|
42
42
|
static get encapsulation() { return "shadow"; }
|
|
@@ -6192,9 +6192,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6192
6192
|
.bottom-0 {
|
|
6193
6193
|
bottom: 0rem;
|
|
6194
6194
|
}
|
|
6195
|
-
.bottom-20 {
|
|
6196
|
-
bottom: 1.25rem;
|
|
6197
|
-
}
|
|
6198
6195
|
.bottom-4 {
|
|
6199
6196
|
bottom: 0.25rem;
|
|
6200
6197
|
}
|
|
@@ -6207,9 +6204,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6207
6204
|
.left-1\/2 {
|
|
6208
6205
|
left: 50%;
|
|
6209
6206
|
}
|
|
6210
|
-
.left-20 {
|
|
6211
|
-
left: 1.25rem;
|
|
6212
|
-
}
|
|
6213
6207
|
.left-4 {
|
|
6214
6208
|
left: 0.25rem;
|
|
6215
6209
|
}
|
|
@@ -6219,9 +6213,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6219
6213
|
.right-0 {
|
|
6220
6214
|
right: 0rem;
|
|
6221
6215
|
}
|
|
6222
|
-
.right-20 {
|
|
6223
|
-
right: 1.25rem;
|
|
6224
|
-
}
|
|
6225
6216
|
.right-4 {
|
|
6226
6217
|
right: 0.25rem;
|
|
6227
6218
|
}
|
|
@@ -6243,9 +6234,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
6243
6234
|
.top-16 {
|
|
6244
6235
|
top: 1rem;
|
|
6245
6236
|
}
|
|
6246
|
-
.top-20 {
|
|
6247
|
-
top: 1.25rem;
|
|
6248
|
-
}
|
|
6249
6237
|
.top-full {
|
|
6250
6238
|
top: 100%;
|
|
6251
6239
|
}
|
|
@@ -7710,15 +7698,27 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7710
7698
|
}
|
|
7711
7699
|
}
|
|
7712
7700
|
@media (min-width: 750px) {
|
|
7701
|
+
.md\:bottom-20 {
|
|
7702
|
+
bottom: 1.25rem;
|
|
7703
|
+
}
|
|
7713
7704
|
.md\:left-1\/2 {
|
|
7714
7705
|
left: 50%;
|
|
7715
7706
|
}
|
|
7707
|
+
.md\:top-1\/2 {
|
|
7708
|
+
top: 50%;
|
|
7709
|
+
}
|
|
7710
|
+
.md\:top-20 {
|
|
7711
|
+
top: 1.25rem;
|
|
7712
|
+
}
|
|
7716
7713
|
.md\:flex {
|
|
7717
7714
|
display: flex;
|
|
7718
7715
|
}
|
|
7719
7716
|
.md\:hidden {
|
|
7720
7717
|
display: none;
|
|
7721
7718
|
}
|
|
7719
|
+
.md\:w-auto {
|
|
7720
|
+
width: auto;
|
|
7721
|
+
}
|
|
7722
7722
|
.md\:-translate-x-1\/2 {
|
|
7723
7723
|
--tw-translate-x: -50%;
|
|
7724
7724
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
@@ -7730,9 +7730,6 @@ input[type="range"]::-webkit-slider-thumb {
|
|
|
7730
7730
|
.md\:gap-y-12 {
|
|
7731
7731
|
row-gap: 0.75rem;
|
|
7732
7732
|
}
|
|
7733
|
-
.md\:p-48 {
|
|
7734
|
-
padding: 3rem;
|
|
7735
|
-
}
|
|
7736
7733
|
.md\:pt-28 {
|
|
7737
7734
|
padding-top: 1.75rem;
|
|
7738
7735
|
}
|
|
@@ -38,7 +38,7 @@ export class EdsTimeline {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: '47b46ebc0621df79434201a219d73ab8e2fd62fa', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '7b5b89161bbb9420a3450ed4eb0e49d608eec2d6', class: "relative" }, h("div", { key: '21472cb756ca069b9f25e894899def03bb78751a', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: '3972b2885995d9656f426cf17ec54c5410ecd385', class: "space-y-16" }, this.parsedEvents.map((event, index) => (h("div", { class: "relative flex" }, h("div", { class: `w-1/2 ${index % 2 === 0 ? 'pr-4' : ''}` }, index % 2 === 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
42
42
|
? [{ label: 'completed', style: 'accent' }]
|
|
43
43
|
: [{ label: 'pending', style: 'default' }]), onClick: () => this.handleEventClick(event) }))), h("div", { class: "flex items-center justify-center relative" }, event.completed ? (h("div", { class: "w-32 h-32 bg-accent rounded-full shadow flex items-center justify-center" })) : (h("div", { class: "w-32 h-32 bg-strong rounded-full shadow flex items-center justify-center" }))), h("div", { class: `w-1/2 ${index % 2 !== 0 ? 'pl-4' : ''}` }, index % 2 !== 0 && (h("eds-card-generic", { cardTitle: event.title, url: "#", description: event.description, "heading-level": "h2", tiny: true, bg: !event.completed, "with-hover": "false", tags: JSON.stringify(event.completed
|
|
44
44
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -90,7 +90,7 @@ export class EdsTooltip {
|
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
render() {
|
|
93
|
-
return (h("div", { key: '
|
|
93
|
+
return (h("div", { key: '7bc92c002eaf263a2d10a2391f356f40e23d5998', class: "relative" }, h("slot", { key: 'cc8126196b03fd02bb17701aa4f55d4a406f685a' }), this.isVisible && this.isPositioned && this.content && (h("div", { key: '00d854649ef43b958081bbb336319a537c181574', class: "rounded-xs bg-strongest text-inverse f-ui-03-light pointer-events-none absolute z-10 whitespace-nowrap p-6", role: "tooltip", style: {
|
|
94
94
|
top: this.tooltipStyle.top,
|
|
95
95
|
left: this.tooltipStyle.left,
|
|
96
96
|
transform: this.tooltipStyle.transform
|
|
@@ -41,7 +41,7 @@ export class EdsTrl {
|
|
|
41
41
|
Application: { format: 'code' },
|
|
42
42
|
'Current TRL Stage': { format: 'text' }
|
|
43
43
|
};
|
|
44
|
-
return (h("div", { key: '
|
|
44
|
+
return (h("div", { key: '7f2775e107e053cf1e8091f97915e6bc372c3954', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: '9576b1c5dc72335ef0f7158fa4eaa44835acd8db', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
45
45
|
}
|
|
46
46
|
static get is() { return "eds-trl"; }
|
|
47
47
|
static get properties() {
|
|
@@ -33,7 +33,7 @@ export class ColorPrimaryPalette {
|
|
|
33
33
|
];
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("ul", { key: '
|
|
36
|
+
return (h("ul", { key: 'af0b4133a365f9c2db08ea05eab950de32536950', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
37
37
|
}
|
|
38
38
|
static get is() { return "color-primary-palette"; }
|
|
39
39
|
}
|
|
@@ -58,7 +58,7 @@ export class ColorSecondaryPalette {
|
|
|
58
58
|
this.show = undefined;
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h("ul", { key: '
|
|
61
|
+
return (h("ul", { key: '059dacf5e142b2e4bd61a7977f1bdd79554ddca9', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
62
62
|
}
|
|
63
63
|
static get is() { return "color-secondary-palette"; }
|
|
64
64
|
static get properties() {
|
|
@@ -58,7 +58,7 @@ export class ColorSupportPalette {
|
|
|
58
58
|
return 'text-default';
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h("ul", { key: '
|
|
61
|
+
return (h("ul", { key: '2cadb1ac7f985ba4960eb2a8b8d64c543c07dafa', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
62
62
|
// compute once
|
|
63
63
|
const textClass = this.getTextColor(color.background);
|
|
64
64
|
return (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), h("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|
|
@@ -33,7 +33,7 @@ export class GradientPrimaryPalette {
|
|
|
33
33
|
];
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("ul", { key: '
|
|
36
|
+
return (h("ul", { key: 'b77f4fad55c2aa54422fd3b18ef09d4004490014', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
37
37
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
38
38
|
} }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
39
39
|
}
|