@ebrains/components 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/clone-846acfdd.js +5 -0
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components-section.cjs.entry.js +2 -2
- package/dist/cjs/components.cjs.js +2 -2
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/edit-ff5b84d8.js +5 -0
- package/dist/cjs/{eds-avatar_26.cjs.entry.js → eds-accordion_33.cjs.entry.js} +3467 -157
- package/dist/cjs/eds-app-root.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-desc_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-card-generic.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-project.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-section.cjs.entry.js +1 -1
- package/dist/cjs/eds-card-tags.cjs.entry.js +2 -2
- package/dist/cjs/eds-card-tool.cjs.entry.js +2 -2
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +2 -2
- package/dist/cjs/eds-feedback.cjs.entry.js +2 -2
- package/dist/cjs/eds-footer.cjs.entry.js +9 -3
- package/dist/cjs/eds-frame.cjs.entry.js +2 -2
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +1 -1
- package/dist/cjs/eds-gauge.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-clone.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-close.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-copy.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-draft.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-edit.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-eu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-external.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-loader.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-menu.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-minus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-more.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-paper.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-plus.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-portal.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-private.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-public.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-search.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-star.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-start.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-success.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-updown.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-user.cjs.entry.js +2 -2
- package/dist/cjs/eds-icon-view.cjs.entry.js +18 -0
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +2 -2
- package/dist/cjs/eds-modal.cjs.entry.js +3 -3
- package/dist/cjs/eds-pie.cjs.entry.js +1 -1
- package/dist/cjs/eds-progress-bar.cjs.entry.js +2 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +4 -4
- package/dist/cjs/eds-social-networks.cjs.entry.js +2 -2
- package/dist/cjs/eds-spinner.cjs.entry.js +2 -2
- package/dist/cjs/eds-splash-screen.cjs.entry.js +1 -1
- package/dist/cjs/eds-timeline.cjs.entry.js +2 -2
- package/dist/cjs/eds-toast-manager.cjs.entry.js +2 -2
- package/dist/cjs/eds-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/eds-trl.cjs.entry.js +2 -2
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-88c8039f.js → index-0249a32e.js} +15 -28
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +3 -3
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +2 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +2 -2
- package/dist/cjs/svg-repository.cjs.entry.js +8 -4
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/cjs/view-80d5c6c8.js +5 -0
- package/dist/collection/collection-manifest.json +3 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +1 -1
- package/dist/collection/components/eds-alert/eds-alert.js +30 -3
- 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 +1 -1
- package/dist/collection/components/eds-button/eds-button.css +4 -0
- package/dist/collection/components/eds-button/eds-button.js +19 -8
- 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-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-charts/eds-gauge/eds-gauge.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-bin/eds-icon-bin.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-clone/eds-icon-clone.js +36 -0
- 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-draft/eds-icon-draft.js +1 -1
- package/dist/collection/components/eds-icons/eds-icon-edit/eds-icon-edit.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-start/eds-icon-start.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/eds-icon-view/eds-icon-view.js +36 -0
- 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 +3 -2
- package/dist/collection/components/eds-link/eds-link.js +27 -7
- package/dist/collection/components/eds-link/eds-link.stories.js +3 -1
- 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-nps/eds-npm.stories.js +36 -0
- package/dist/collection/components/eds-nps/eds-nps.css +73 -0
- package/dist/collection/components/eds-nps/eds-nps.js +163 -0
- package/dist/collection/components/eds-pagination/eds-pagination.css +4 -0
- package/dist/collection/components/eds-pagination/eds-pagination.js +130 -50
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +25 -3
- 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.css +15 -5
- package/dist/collection/components/eds-switch/eds-switch.js +26 -4
- package/dist/collection/components/eds-table/eds-table.js +38 -37
- 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.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 +8 -2
- package/dist/collection/shared-ui/eds-form/eds-form.js +26 -4
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +1 -1
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +26 -5
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +89 -31
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- 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/collection/utils/eds-form/formValidators.js +33 -0
- package/dist/components/clone.js +3 -0
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +7 -9
- 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/edit.js +1 -1
- package/dist/components/eds-accordion2.js +1 -1
- package/dist/components/eds-alert2.js +21 -5
- 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 +1 -1
- package/dist/components/eds-button2.js +21 -10
- 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-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 +8 -2
- package/dist/components/eds-form.js +80 -22
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-gauge.js +1 -1
- package/dist/components/eds-header.js +1 -1
- 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-bin.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-clone.d.ts +11 -0
- package/dist/components/eds-icon-clone.js +33 -0
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-draft.js +1 -1
- package/dist/components/eds-icon-edit.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-start.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-view.d.ts +11 -0
- package/dist/components/eds-icon-view.js +33 -0
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -2
- package/dist/components/eds-input-field2.js +4 -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 -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 +27 -7
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-nps.d.ts +11 -0
- package/dist/components/eds-nps.js +6 -0
- package/dist/components/eds-nps2.js +120 -0
- package/dist/components/eds-pagination2.js +119 -52
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +25 -3
- 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-switch.js +27 -5
- package/dist/components/eds-table2.js +45 -20
- package/dist/components/eds-tabs.js +90 -32
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +8 -2
- package/dist/components/eds-user.js +3 -9
- package/dist/components/incorrect-use-of-colors.js +9 -3
- package/dist/components/logo-space.js +8 -2
- 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-05654483.entry.js +1 -0
- package/dist/components/{p-9e53eca3.entry.js → p-09079c5c.entry.js} +1 -1
- package/dist/components/p-10997947.entry.js +1 -0
- package/dist/components/p-19e69c03.entry.js +1 -0
- package/dist/components/p-1ab1ea29.entry.js +1 -0
- package/dist/components/p-1bcf743d.entry.js +1 -0
- package/dist/components/{p-9d18d7b1.entry.js → p-1d18106d.entry.js} +1 -1
- package/dist/components/{p-adbd0d7b.entry.js → p-265150a1.entry.js} +1 -1
- package/dist/components/p-27c4a06e.js +1 -0
- package/dist/components/{p-e35e156d.entry.js → p-2e0c3fc4.entry.js} +1 -1
- package/dist/components/{p-6d3b5818.entry.js → p-2ef4dd11.entry.js} +1 -1
- package/dist/components/p-3360e1e2.entry.js +1 -0
- package/dist/components/{p-93e6ba0f.entry.js → p-38bc21e9.entry.js} +1 -1
- package/dist/components/p-3b29e0fd.entry.js +1 -0
- package/dist/components/p-42457a0f.entry.js +1 -0
- package/dist/components/p-4a6a72db.entry.js +1 -0
- package/dist/components/p-4b33909d.entry.js +1 -0
- package/dist/components/p-4bf4bc93.entry.js +1 -0
- package/dist/components/{p-773a119a.entry.js → p-4c84fcf4.entry.js} +1 -1
- package/dist/components/p-4eb2cf7f.js +1 -0
- package/dist/components/p-5367bb59.entry.js +1 -0
- package/dist/components/p-547a53d6.entry.js +1 -0
- package/dist/components/p-560fc3a4.entry.js +1 -0
- package/dist/components/p-5a58f1c1.entry.js +1 -0
- package/dist/components/p-5b55f951.entry.js +1 -0
- package/dist/components/p-5ba49cf2.entry.js +1 -0
- package/dist/components/p-5dd85979.entry.js +1 -0
- package/dist/components/{p-356846cd.entry.js → p-5f348b0e.entry.js} +1 -1
- package/dist/components/p-634b6ca2.entry.js +1 -0
- package/dist/components/{p-b073d78f.entry.js → p-64b7a6fc.entry.js} +1 -1
- package/dist/components/{p-02d94d2d.entry.js → p-6614881d.entry.js} +1 -1
- package/dist/components/{p-2839899a.entry.js → p-67ec46b4.entry.js} +1 -1
- package/dist/components/p-6b988c76.entry.js +1 -0
- package/dist/components/p-6cd6ff0c.entry.js +1 -0
- package/dist/components/{p-f6ca2aa6.entry.js → p-706a106c.entry.js} +1 -1
- package/dist/components/p-71ee4af2.entry.js +1 -0
- package/dist/components/{p-794f11e7.entry.js → p-743f9f8f.entry.js} +1 -1
- package/dist/components/p-789f54cb.entry.js +1 -0
- package/dist/components/{p-8c0b0121.entry.js → p-79afd8aa.entry.js} +1 -1
- package/dist/components/{p-b3a40663.entry.js → p-7a3f2576.entry.js} +1 -1
- package/dist/components/p-7a5623b5.entry.js +1 -0
- package/dist/components/p-7ca6db64.entry.js +1 -0
- package/dist/components/p-7fa46b01.entry.js +1 -0
- package/dist/components/{p-3e183368.entry.js → p-8627afc0.entry.js} +1 -1
- package/dist/components/p-86eff0cb.entry.js +1 -0
- package/dist/components/p-89048f87.entry.js +1 -0
- package/dist/components/p-8cf98230.entry.js +1 -0
- package/dist/components/{p-8dee879d.entry.js → p-8d363a3c.entry.js} +1 -1
- package/dist/components/p-9261d27c.entry.js +1 -0
- package/dist/components/p-97323c46.entry.js +1 -0
- package/dist/components/p-9b90296c.entry.js +1 -0
- package/dist/components/{p-1f5c19b9.entry.js → p-9c1c5e8d.entry.js} +1 -1
- package/dist/components/p-9cb14b1f.entry.js +1 -0
- package/dist/components/p-9f0a34b4.entry.js +1 -0
- package/dist/components/p-a8ca8346.entry.js +1 -0
- package/dist/components/{p-43468b0f.entry.js → p-ab3b0a53.entry.js} +1 -1
- package/dist/components/p-b0d38b78.entry.js +1 -0
- package/dist/components/{p-66f4cdd9.entry.js → p-b31babda.entry.js} +1 -1
- package/dist/components/p-b6ee4250.entry.js +1 -0
- package/dist/components/{p-0687532c.entry.js → p-b88a2267.entry.js} +1 -1
- package/dist/components/{p-024789cc.entry.js → p-b9a1aba3.entry.js} +1 -1
- package/dist/components/p-b9fdcb1b.entry.js +1 -0
- package/dist/components/{p-73c74835.entry.js → p-ba9f41de.entry.js} +1 -1
- package/dist/components/p-beacaa4f.entry.js +1 -0
- package/dist/components/p-bfa23535.entry.js +1 -0
- package/dist/components/p-c4ac0528.entry.js +1 -0
- package/dist/components/p-cb114bf4.entry.js +1 -0
- package/dist/components/p-cd05a97b.entry.js +1 -0
- package/dist/components/{p-3a331c68.entry.js → p-cd787744.entry.js} +1 -1
- package/dist/components/p-cdc1c8e8.entry.js +1 -0
- package/dist/components/{p-4e473b4e.entry.js → p-d1927da7.entry.js} +1 -1
- package/dist/components/{p-564431ad.entry.js → p-d1d1943b.entry.js} +1 -1
- package/dist/components/{p-543f2347.entry.js → p-d2e485a1.entry.js} +1 -1
- package/dist/components/{p-e2e7250a.entry.js → p-d95d7353.entry.js} +1 -1
- package/dist/components/{p-76905315.entry.js → p-e0ada7e0.entry.js} +1 -1
- package/dist/components/{p-70e8e66f.entry.js → p-e210ddbb.entry.js} +1 -1
- package/dist/components/p-e5892379.entry.js +1 -0
- package/dist/components/p-e8374410.entry.js +1 -0
- package/dist/components/p-e90da4ba.entry.js +1 -0
- package/dist/components/p-ec706eed.entry.js +1 -0
- package/dist/components/{p-28ae3f3a.js → p-efbc374c.js} +2 -2
- package/dist/components/p-f2abe4d8.js +1 -0
- package/dist/components/p-f32963ff.entry.js +9 -0
- package/dist/components/p-f40dd50d.entry.js +1 -0
- package/dist/components/p-f6012c17.entry.js +1 -0
- package/dist/components/p-fcba31fa.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 +13 -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/components/view.js +3 -0
- package/dist/esm/clone-dab56639.js +3 -0
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components-section.entry.js +2 -2
- package/dist/esm/components.js +3 -3
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/docs-palettes.entry.js +2 -2
- package/dist/esm/docs-tokens.entry.js +2 -2
- package/dist/esm/edit-3893a517.js +3 -0
- package/dist/esm/{eds-avatar_26.entry.js → eds-accordion_33.entry.js} +3462 -159
- package/dist/esm/eds-app-root.entry.js +2 -2
- package/dist/esm/eds-card-desc_2.entry.js +3 -3
- package/dist/esm/eds-card-generic.entry.js +1 -1
- package/dist/esm/eds-card-project.entry.js +2 -2
- package/dist/esm/eds-card-section.entry.js +1 -1
- package/dist/esm/eds-card-tags.entry.js +2 -2
- package/dist/esm/eds-card-tool.entry.js +2 -2
- package/dist/esm/eds-cookies-preference.entry.js +2 -2
- package/dist/esm/eds-feedback.entry.js +2 -2
- package/dist/esm/eds-footer.entry.js +9 -3
- package/dist/esm/eds-frame.entry.js +2 -2
- package/dist/esm/eds-fullscreen-menu.entry.js +1 -1
- package/dist/esm/eds-gauge.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bin.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-bookmark.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-clone.entry.js +14 -0
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-draft.entry.js +2 -2
- package/dist/esm/eds-icon-edit.entry.js +3 -3
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-external.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-minus.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-paper.entry.js +2 -2
- package/dist/esm/eds-icon-plus.entry.js +2 -2
- package/dist/esm/eds-icon-portal.entry.js +2 -2
- package/dist/esm/eds-icon-private.entry.js +2 -2
- package/dist/esm/eds-icon-public.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-star.entry.js +2 -2
- package/dist/esm/eds-icon-start.entry.js +2 -2
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-down.entry.js +2 -2
- package/dist/esm/eds-icon-thumbs-up.entry.js +2 -2
- package/dist/esm/eds-icon-tutorial.entry.js +2 -2
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-unknown.entry.js +2 -2
- package/dist/esm/eds-icon-updown.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-view.entry.js +14 -0
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/eds-modal.entry.js +3 -3
- package/dist/esm/eds-pie.entry.js +1 -1
- package/dist/esm/eds-progress-bar.entry.js +2 -2
- package/dist/esm/eds-section-core_2.entry.js +4 -4
- package/dist/esm/eds-social-networks.entry.js +2 -2
- package/dist/esm/eds-spinner.entry.js +2 -2
- package/dist/esm/eds-splash-screen.entry.js +1 -1
- package/dist/esm/eds-timeline.entry.js +2 -2
- package/dist/esm/eds-toast-manager.entry.js +2 -2
- package/dist/esm/eds-tooltip.entry.js +2 -2
- package/dist/esm/eds-trl.entry.js +2 -2
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-fdb33359.js → index-e84b871c.js} +15 -28
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +2 -2
- package/dist/esm/logo-variations-horizontal_2.entry.js +3 -3
- package/dist/esm/logo-variations-tabs.entry.js +2 -2
- package/dist/esm/logo-wrong-usage.entry.js +2 -2
- package/dist/esm/svg-repository.entry.js +8 -4
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/esm/view-e900f2d4.js +3 -0
- package/dist/hydrate/index.js +690 -257
- package/dist/hydrate/index.mjs +690 -257
- package/dist/types/Users/nigeor/Documents/Projects/EBRAINS/ebrains-ui-ecosystem/packages/components/.stencil/packages/svgs/src/lib/svgs.d.ts +3 -1
- package/dist/types/components/eds-alert/eds-alert.d.ts +6 -0
- package/dist/types/components/eds-button/eds-button.d.ts +1 -0
- package/dist/types/components/eds-icons/eds-icon-clone/eds-icon-clone.d.ts +10 -0
- package/dist/types/components/eds-icons/eds-icon-view/eds-icon-view.d.ts +10 -0
- package/dist/types/components/eds-link/eds-link.d.ts +1 -0
- package/dist/types/components/eds-nps/eds-npm.stories.d.ts +28 -0
- package/dist/types/components/eds-nps/eds-nps.d.ts +20 -0
- package/dist/types/components/eds-pagination/eds-pagination.d.ts +23 -2
- package/dist/types/components/eds-rating/eds-rating.d.ts +3 -1
- package/dist/types/components/eds-switch/eds-switch.d.ts +1 -0
- package/dist/types/components/eds-table/eds-table.d.ts +3 -4
- package/dist/types/components/eds-table/eds-table.stories.d.ts +7 -2
- package/dist/types/components.d.ts +133 -12
- package/dist/types/shared-ui/eds-form/eds-form.d.ts +1 -0
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +7 -9
- package/dist/types/utils/eds-form/formValidators.d.ts +1 -0
- package/package.json +1 -1
- package/dist/cjs/edit-5714c144.js +0 -5
- package/dist/cjs/eds-accordion.cjs.entry.js +0 -87
- package/dist/cjs/eds-alert.cjs.entry.js +0 -104
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -145
- package/dist/cjs/eds-code-block.cjs.entry.js +0 -2489
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -125
- package/dist/cjs/eds-switch.cjs.entry.js +0 -46
- package/dist/components/p-023bc47c.entry.js +0 -1
- package/dist/components/p-02df910c.entry.js +0 -1
- package/dist/components/p-0be79e08.entry.js +0 -1
- package/dist/components/p-0e74d8b4.entry.js +0 -1
- package/dist/components/p-11efb1d1.entry.js +0 -1
- package/dist/components/p-1791ce82.entry.js +0 -1
- package/dist/components/p-19d586e6.entry.js +0 -1
- package/dist/components/p-2679926c.entry.js +0 -1
- package/dist/components/p-2d1a7471.entry.js +0 -1
- package/dist/components/p-2ff16a39.entry.js +0 -1
- package/dist/components/p-32e18e48.entry.js +0 -1
- package/dist/components/p-38e99d4b.entry.js +0 -1
- package/dist/components/p-4088ae0e.entry.js +0 -1
- package/dist/components/p-4277fb1a.entry.js +0 -1
- package/dist/components/p-42a73db4.entry.js +0 -1
- package/dist/components/p-44055e68.entry.js +0 -1
- package/dist/components/p-4a5d0dcd.entry.js +0 -1
- package/dist/components/p-4a7412ec.entry.js +0 -1
- package/dist/components/p-4b88d84c.entry.js +0 -1
- package/dist/components/p-50f43dfd.entry.js +0 -1
- package/dist/components/p-562afa88.entry.js +0 -1
- package/dist/components/p-5aa4065a.entry.js +0 -1
- package/dist/components/p-5ae1c931.entry.js +0 -1
- package/dist/components/p-634258e6.entry.js +0 -1
- package/dist/components/p-68f45098.entry.js +0 -1
- package/dist/components/p-73a44c48.entry.js +0 -1
- package/dist/components/p-7dbe791f.entry.js +0 -1
- package/dist/components/p-7ec52188.entry.js +0 -1
- package/dist/components/p-7fc84bb2.js +0 -1
- package/dist/components/p-82559816.entry.js +0 -1
- package/dist/components/p-85683b18.entry.js +0 -1
- package/dist/components/p-8681e5d8.entry.js +0 -1
- package/dist/components/p-877d13d9.entry.js +0 -1
- package/dist/components/p-911b1c0b.entry.js +0 -1
- package/dist/components/p-960aa103.entry.js +0 -1
- package/dist/components/p-996005b7.entry.js +0 -1
- package/dist/components/p-aa5e75b4.entry.js +0 -1
- package/dist/components/p-ae9393b6.entry.js +0 -1
- package/dist/components/p-af137162.entry.js +0 -1
- package/dist/components/p-b630e51a.entry.js +0 -1
- package/dist/components/p-bb9af709.entry.js +0 -1
- package/dist/components/p-c2dc3692.entry.js +0 -1
- package/dist/components/p-c91b4eec.entry.js +0 -1
- package/dist/components/p-caff3355.entry.js +0 -1
- package/dist/components/p-ce66ea37.entry.js +0 -1
- package/dist/components/p-d4f239d7.entry.js +0 -1
- package/dist/components/p-d7251d4d.entry.js +0 -1
- package/dist/components/p-deb9bbed.entry.js +0 -1
- package/dist/components/p-ed4d9bf5.entry.js +0 -1
- package/dist/components/p-ed7696a2.entry.js +0 -1
- package/dist/components/p-f2416727.entry.js +0 -1
- package/dist/components/p-f28b5da7.entry.js +0 -1
- package/dist/components/p-f3839914.entry.js +0 -1
- package/dist/components/p-f42b6251.entry.js +0 -1
- package/dist/components/p-f7a31196.entry.js +0 -1
- package/dist/components/p-f973c83b.entry.js +0 -1
- package/dist/components/p-fe167c78.entry.js +0 -9
- package/dist/esm/edit-1dc8d11b.js +0 -3
- package/dist/esm/eds-accordion.entry.js +0 -83
- package/dist/esm/eds-alert.entry.js +0 -100
- package/dist/esm/eds-breadcrumb.entry.js +0 -141
- package/dist/esm/eds-code-block.entry.js +0 -2485
- package/dist/esm/eds-matomo-notice.entry.js +0 -121
- package/dist/esm/eds-switch.entry.js +0 -42
- /package/dist/collection/shared-ui/eds-toast-manager/{eds-toast-manager.stories.js → eds-toast-manager.st.js} +0 -0
- /package/dist/types/shared-ui/eds-toast-manager/{eds-toast-manager.stories.d.ts → eds-toast-manager.st.d.ts} +0 -0
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { s as sendAnalytics } from './analytics.js';
|
|
3
3
|
import { p as parseData } from './sharedUtils.js';
|
|
4
|
+
import { d as defineCustomElement$b } from './eds-button2.js';
|
|
4
5
|
import { d as defineCustomElement$a } from './eds-icon-wrapper2.js';
|
|
5
6
|
import { d as defineCustomElement$9 } from './eds-input2.js';
|
|
6
7
|
import { d as defineCustomElement$8 } from './eds-input-field2.js';
|
|
@@ -24,8 +25,33 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
24
25
|
this.handleResize = () => {
|
|
25
26
|
this.updateContainerWidth();
|
|
26
27
|
};
|
|
28
|
+
this.onActionKeyDown = (e) => {
|
|
29
|
+
var _a;
|
|
30
|
+
if (e.key !== 'ArrowRight' && e.key !== 'ArrowLeft') {
|
|
31
|
+
return;
|
|
32
|
+
}
|
|
33
|
+
e.preventDefault();
|
|
34
|
+
const currentButton = e.target;
|
|
35
|
+
const toolbar = currentButton.closest('[role="toolbar"]');
|
|
36
|
+
if (!toolbar) {
|
|
37
|
+
return;
|
|
38
|
+
}
|
|
39
|
+
// Find all focusable action buttons in this row
|
|
40
|
+
const actionButtons = Array.from(toolbar.querySelectorAll('eds-button'));
|
|
41
|
+
const currentIndex = actionButtons.indexOf(currentButton);
|
|
42
|
+
if (currentIndex === -1) {
|
|
43
|
+
return;
|
|
44
|
+
}
|
|
45
|
+
let nextIndex;
|
|
46
|
+
if (e.key === 'ArrowRight') {
|
|
47
|
+
nextIndex = (currentIndex + 1) % actionButtons.length;
|
|
48
|
+
}
|
|
49
|
+
else {
|
|
50
|
+
nextIndex = (currentIndex - 1 + actionButtons.length) % actionButtons.length;
|
|
51
|
+
}
|
|
52
|
+
(_a = actionButtons[nextIndex]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
53
|
+
};
|
|
27
54
|
this.data = null;
|
|
28
|
-
this.endpoint = null;
|
|
29
55
|
this.config = {};
|
|
30
56
|
this.rowsPerPage = 10;
|
|
31
57
|
this.paginationEnabled = true;
|
|
@@ -63,7 +89,7 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
63
89
|
componentWillLoad() {
|
|
64
90
|
this.parseConfig();
|
|
65
91
|
this.handleActionsChange();
|
|
66
|
-
this.
|
|
92
|
+
this.parseData();
|
|
67
93
|
}
|
|
68
94
|
componentDidLoad() {
|
|
69
95
|
this.updateContainerWidth();
|
|
@@ -111,17 +137,6 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
111
137
|
this.parsedConfig = {};
|
|
112
138
|
}
|
|
113
139
|
}
|
|
114
|
-
async fetchData() {
|
|
115
|
-
try {
|
|
116
|
-
const response = await fetch(this.endpoint);
|
|
117
|
-
const data = await response.json();
|
|
118
|
-
this.data = data;
|
|
119
|
-
}
|
|
120
|
-
catch (error) {
|
|
121
|
-
// eslint-disable-next-line
|
|
122
|
-
console.error('Failed to fetch data:', error);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
140
|
setupPaginationListener() {
|
|
126
141
|
if (!this.shouldEnablePagination()) {
|
|
127
142
|
return;
|
|
@@ -176,7 +191,8 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
176
191
|
const checked = !!row[boundField];
|
|
177
192
|
return (h("eds-input-field", { name: `chc-${actionName}`, label: act.label, type: "checkbox", checked: checked, onChange: (e) => this.emitAction(act.name, row, e.target.checked) }));
|
|
178
193
|
}
|
|
179
|
-
|
|
194
|
+
// Let all action buttons be focusable naturally
|
|
195
|
+
return (h("eds-button", { label: act.label, icon: act.icon, pill: true, size: "small", intent: "ghost", tabIndex: 0, onClick: () => this.emitAction(act.name, row) }));
|
|
180
196
|
}
|
|
181
197
|
emitAction(actionName, row, checked) {
|
|
182
198
|
sendAnalytics({
|
|
@@ -222,7 +238,7 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
222
238
|
const columnWidth = visibleColumnsCount > 0 ? Math.floor((currentContainerWidth / visibleColumnsCount) * this.divisionFactor()) : 100;
|
|
223
239
|
const paginatedRows = this.getPaginatedRows();
|
|
224
240
|
const lastPage = Math.ceil(this.totalRows / this.rowsPerPage);
|
|
225
|
-
return (h("div", { key: '
|
|
241
|
+
return (h("div", { key: '87e7cc3c87618ede91bb51d7a07cd597a438d6c5' }, this.searchEnabled && (h("div", { key: '6b77700a913e272eef4c932d40c5c5d001ff6b5c' }, h("eds-input-field", { key: 1, name: "search", "aria-label": "Search", type: "text", placeholder: "Search...", onInput: (event) => this.handleSearch(event) }))), h("div", { key: '6f2ffc7a3ba2cc8e8194670a7ecb9e237f7dc60a', class: "mt-20" }, h("table", { key: '0227d3029f30ab9928cd01ba8dc2eccde2073f47', class: "block overflow-x-auto mt-6 p-0" }, h("thead", { key: 'c1f844d8413b596d5ca07d6b79ebd36c8a17f51f' }, h("tr", { key: 'caadaaf66314e3ea7d47a748b6e899389a7e2d55', class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
226
242
|
var _a;
|
|
227
243
|
if (col === 'actions') {
|
|
228
244
|
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }));
|
|
@@ -231,17 +247,22 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
231
247
|
return (h("th", { class: "m-0 py-8 border border-softer f-ui-02 break-words", style: { minWidth: `${columnWidth - 4}px` } }, this.capitalize(col)));
|
|
232
248
|
}
|
|
233
249
|
return null;
|
|
234
|
-
}))), h("tbody", { key: '
|
|
250
|
+
}))), h("tbody", { key: 'da9286063f16a5c346ce8854361cb15573166a19' }, paginatedRows.map((row) => (h("tr", { class: "m-0 p-0 border border-softer even:bg-inverse-softer" }, this.columns.map((col) => {
|
|
235
251
|
var _a;
|
|
236
252
|
if (col === 'actions') {
|
|
237
|
-
return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", {
|
|
253
|
+
return (h("td", { class: "text-center border border-softer m-0 f-ui-02 break-words actions-cell", style: { minWidth: `${columnWidth - 4}px` } }, h("div", { role: "toolbar", "aria-label": "Row actions", onKeyDown: this.onActionKeyDown, style: {
|
|
254
|
+
display: 'flex',
|
|
255
|
+
gap: '0.5rem',
|
|
256
|
+
justifyContent: 'center',
|
|
257
|
+
flexWrap: 'wrap'
|
|
258
|
+
} }, this.parsedActions.map((act) => (h("span", { style: { whiteSpace: 'nowrap' } }, this.renderSingleActionCell(act.name, row)))))));
|
|
238
259
|
}
|
|
239
260
|
if (!((_a = this.parsedConfig[col]) === null || _a === void 0 ? void 0 : _a.hidden)) {
|
|
240
261
|
// Regular data cell
|
|
241
262
|
return (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[col], col)));
|
|
242
263
|
}
|
|
243
264
|
return null;
|
|
244
|
-
}))))))), this.shouldEnablePagination() && (h("div", { key: '
|
|
265
|
+
}))))))), this.shouldEnablePagination() && (h("div", { key: 'b7e7991225cf9fb16ca882dc42c7adead202aac5', class: "mt-20" }, h("eds-pagination", { key: '011f209f89300357e6052ee4d118f353419d5a45', currentPage: this.currentPage, lastPage: lastPage, perPage: this.rowsPerPage, total: this.totalRows, mode: "default" })))));
|
|
245
266
|
}
|
|
246
267
|
get hostEl() { return this; }
|
|
247
268
|
static get watchers() { return {
|
|
@@ -252,7 +273,6 @@ const EdsTable = /*@__PURE__*/ proxyCustomElement(class EdsTable extends HTMLEle
|
|
|
252
273
|
static get style() { return EdsTableStyle0; }
|
|
253
274
|
}, [1, "eds-table", {
|
|
254
275
|
"data": [1, "table-data"],
|
|
255
|
-
"endpoint": [1],
|
|
256
276
|
"config": [1],
|
|
257
277
|
"rowsPerPage": [2, "rows-per-page"],
|
|
258
278
|
"paginationEnabled": [4, "pagination-enabled"],
|
|
@@ -279,13 +299,18 @@ function defineCustomElement() {
|
|
|
279
299
|
if (typeof customElements === "undefined") {
|
|
280
300
|
return;
|
|
281
301
|
}
|
|
282
|
-
const components = ["eds-table", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination"];
|
|
302
|
+
const components = ["eds-table", "eds-button", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination"];
|
|
283
303
|
components.forEach(tagName => { switch (tagName) {
|
|
284
304
|
case "eds-table":
|
|
285
305
|
if (!customElements.get(tagName)) {
|
|
286
306
|
customElements.define(tagName, EdsTable);
|
|
287
307
|
}
|
|
288
308
|
break;
|
|
309
|
+
case "eds-button":
|
|
310
|
+
if (!customElements.get(tagName)) {
|
|
311
|
+
defineCustomElement$b();
|
|
312
|
+
}
|
|
313
|
+
break;
|
|
289
314
|
case "eds-icon-wrapper":
|
|
290
315
|
if (!customElements.get(tagName)) {
|
|
291
316
|
defineCustomElement$a();
|
|
@@ -3,7 +3,7 @@ import { s as sendAnalytics } from './analytics.js';
|
|
|
3
3
|
import { c as cva } from './index2.js';
|
|
4
4
|
import { p as parseData } from './sharedUtils.js';
|
|
5
5
|
|
|
6
|
-
const edsTabsCss = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-
|
|
6
|
+
const edsTabsCss = "*,::before,::after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(147 197 253 / 0.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor;}::before,::after{--tw-content:''}a{color:inherit;text-decoration:inherit}.relative{position:relative}.f-ui-03{font-family:var(--f-ui-03-fontFamily);font-weight:var(--f-ui-03-fontWeight);font-size:var(--f-ui-03-fontSize);line-height:var(--f-ui-03-lineHeight);letter-spacing:var(--f-ui-03-letterSpacing)}.whitespace-nowrap{white-space:nowrap}.effect-focus{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.effect-focus:focus-visible{outline-style:solid}.effect-focus-within{outline-width:3px;outline-offset:2px;outline-color:var(--green-500)}.focus-visible\\:text-default:focus-visible{color:var(--black)}.hover\\:text-default:hover{color:var(--black)}.border-2{border-width:2px}.after\\:content-\\[\\'\\'\\]::after{--tw-content:'';content:var(--tw-content)}.after\\:bottom-0::after{bottom:0rem}.after\\:border-0::after{border-width:0px}.after\\:border-b-2::after{border-bottom-width:2px}.after\\:absolute::after{position:absolute}.after\\:inset-0::after{inset:0rem}.after\\:rounded-lg::after{border-radius:16px}.after\\:border-solid::after{border-style:solid}.after\\:border-3::after{border-width:3px}.after\\:border-accent::after{border-color:var(--green-500)}.after\\:opacity-0::after{opacity:0}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\\:after\\:opacity-100:focus-visible::after{opacity:1}.rounded-t-lg{border-top-left-radius:16px;border-top-right-radius:16px}.rounded-tl-lg{border-top-left-radius:16px}.rounded-tr-lg{border-top-right-radius:16px}.border-l-0{border-left-width:0px}.border-r-0{border-right-width:0px}.border-b-0{border-bottom-width:0px}.pr-28{padding-right:1.75rem}.pl-28{padding-left:1.75rem}.-mr-16{margin-right:-1rem}.-ml-16{margin-left:-1rem}.px-16{padding-left:1rem;padding-right:1rem}.py-12{padding-top:0.75rem;padding-bottom:0.75rem}.after\\:left-16::after{left:1rem}.after\\:right-16::after{right:1rem}.text-lighter{color:var(--grey-600)}.bg-dark{background-color:var(--grey-300)}.hover\\:bg-darker:hover{background-color:var(--grey-400)}.border-soft{border-color:var(--grey-400)}.border-softest{border-color:rgba(0, 0, 0, .05)}.bg-default{background-color:var(--grey-200)}.text-default{color:var(--black)}.z-99{z-index:99}.after\\:z-10::after{z-index:10}.before\\:bottom-0::before{bottom:0rem}.before\\:h-12::before{height:0.75rem}.before\\:opacity-5::before{opacity:0.05}.before\\:content-\\[\\'\\'\\]::before{--tw-content:'';content:var(--tw-content)}.before\\:absolute::before{position:absolute}.before\\:-bottom-2::before{bottom:-0.125rem}.after\\:inset-x-0::after{left:0rem;right:0rem}.before\\:inset-x-0::before{left:0rem;right:0rem}.before\\:h-3::before{height:0.1875rem}.before\\:bg-default::before{background-color:var(--grey-200)}.after\\:border-soft::after{border-color:rgba(0, 0, 0, .15 )}.after\\:border-softest::after{border-color:rgba(0, 0, 0, .05)}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.before\\:bg-gradient-y::before{background:linear-gradient(to bottom, transparent, ease-in-out, black)}.scroller-x{-ms-overflow-style:none;scrollbar-width:none}.overflow-x-auto{overflow-x:auto}.max-w-xxxl{max-width:2200px}.z-1{z-index:1}.mx-auto{margin-left:auto;margin-right:auto}.pt-8{padding-top:0.5rem}.pr-16{padding-right:1rem}.pl-16{padding-left:1rem}.inline-flex{display:inline-flex}@media (min-width: 900px){.lg\\:px-28{padding-left:1.75rem;padding-right:1.75rem}}@media (min-width: 2200px){.xxxl\\:px-0{padding-left:0rem;padding-right:0rem}}";
|
|
7
7
|
const EdsTabsStyle0 = edsTabsCss;
|
|
8
8
|
|
|
9
9
|
const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLElement {
|
|
@@ -12,15 +12,20 @@ const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLEle
|
|
|
12
12
|
this.__registerHost();
|
|
13
13
|
this.__attachShadow();
|
|
14
14
|
this.tab = createEvent(this, "tab", 7);
|
|
15
|
+
this.tabRefs = [];
|
|
16
|
+
// Store tab reference
|
|
17
|
+
this.setTabRef = (el, index) => {
|
|
18
|
+
if (el) {
|
|
19
|
+
this.tabRefs[index] = el;
|
|
20
|
+
}
|
|
21
|
+
};
|
|
15
22
|
// cva configuration
|
|
16
23
|
this.tabCva = cva([
|
|
17
24
|
'relative py-12',
|
|
18
25
|
'f-ui-03 whitespace-nowrap',
|
|
19
|
-
'effect-color',
|
|
26
|
+
'effect-color effect-focus',
|
|
20
27
|
'focus-visible:text-default hover:text-default',
|
|
21
|
-
'border-2'
|
|
22
|
-
"after:content-[''] after:absolute after:inset-0 after:rounded-t-lg after:opacity-0",
|
|
23
|
-
'outline-none focus:outline-none focus-visible:outline-none focus-visible:after:opacity-100'
|
|
28
|
+
'border-2'
|
|
24
29
|
], {
|
|
25
30
|
variants: {
|
|
26
31
|
position: {
|
|
@@ -30,7 +35,10 @@ const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLEle
|
|
|
30
35
|
right: 'pl-28 pr-16 rounded-tr-lg border-l-0 -ml-16 after:left-16'
|
|
31
36
|
},
|
|
32
37
|
active: {
|
|
33
|
-
false:
|
|
38
|
+
false: [
|
|
39
|
+
'text-lighter bg-dark hover:bg-darker border-softest border-b-0 z-1',
|
|
40
|
+
"after:content-[''] after:absolute after:bottom-0 after:inset-x-0 after:h-2 after:border-soft"
|
|
41
|
+
],
|
|
34
42
|
true: [
|
|
35
43
|
'bg-default text-default z-99',
|
|
36
44
|
'rounded-t-lg',
|
|
@@ -49,28 +57,35 @@ const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLEle
|
|
|
49
57
|
componentWillLoad() {
|
|
50
58
|
this.parseTabs();
|
|
51
59
|
this.setActiveIndex();
|
|
52
|
-
this.tab.emit({ tabId: this.identifier, index:
|
|
60
|
+
this.tab.emit({ tabId: this.identifier, index: this.activeIndex });
|
|
53
61
|
}
|
|
54
62
|
/**
|
|
55
|
-
* Parses the `
|
|
56
|
-
* Returns an empty array if parsing fails or if `
|
|
57
|
-
*
|
|
58
|
-
* @returns {any[]} Array of parsed link objects
|
|
59
|
-
*/
|
|
60
|
-
/**
|
|
61
|
-
* Parses the `links` prop into an array of link objects.
|
|
62
|
-
* Returns an empty array if parsing fails or if `links` is not a valid JSON string or object.
|
|
63
|
+
* Parses the `tabs` prop into an array of tab objects.
|
|
64
|
+
* Returns an empty array if parsing fails or if `tabs` is not a valid JSON string or object.
|
|
63
65
|
*
|
|
64
|
-
* @returns {any[]} Array of parsed
|
|
66
|
+
* @returns {any[]} Array of parsed tab objects
|
|
65
67
|
*/
|
|
66
68
|
parseTabs() {
|
|
67
69
|
this.parsedTabs = parseData(this.tabs);
|
|
70
|
+
// Reset tab refs when tabs change
|
|
71
|
+
this.tabRefs = [];
|
|
68
72
|
}
|
|
69
73
|
componentDidLoad() {
|
|
70
74
|
this.scrollToActiveTab();
|
|
71
75
|
}
|
|
76
|
+
componentDidUpdate() {
|
|
77
|
+
// Ensure we have the correct number of tab refs after render
|
|
78
|
+
if (this.tabRefs.length !== this.parsedTabs.length) {
|
|
79
|
+
this.tabRefs = new Array(this.parsedTabs.length).fill(null);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
72
82
|
setActiveIndex() {
|
|
73
83
|
this.activeIndex = this.parsedTabs.findIndex((tab) => tab.active);
|
|
84
|
+
// If no active tab found, default to first tab
|
|
85
|
+
if (this.activeIndex === -1 && this.parsedTabs.length > 0) {
|
|
86
|
+
this.activeIndex = 0;
|
|
87
|
+
this.parsedTabs[0].active = true;
|
|
88
|
+
}
|
|
74
89
|
}
|
|
75
90
|
scrollToActiveTab() {
|
|
76
91
|
var _a;
|
|
@@ -92,31 +107,74 @@ const EdsTabs$1 = /*@__PURE__*/ proxyCustomElement(class EdsTabs extends HTMLEle
|
|
|
92
107
|
: index < this.activeIndex
|
|
93
108
|
? 'left'
|
|
94
109
|
: 'right';
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
110
|
+
const rawZ = position === 'left' ? index : this.parsedTabs.length + 1 - index;
|
|
111
|
+
// clamp inactive to at least 1
|
|
112
|
+
const z = active ? this.parsedTabs.length + 99 : Math.max(rawZ, 1);
|
|
113
|
+
return Object.assign({ class: this.tabCva({ active, position }), style: {
|
|
114
|
+
// stringify the number so it matches { [key: string]: string }
|
|
115
|
+
zIndex: `${z}`
|
|
100
116
|
} }, (active ? { 'data-tab-active': 'true' } : {}));
|
|
101
117
|
}
|
|
102
|
-
handleTabClick(index, tabLabel) {
|
|
118
|
+
handleTabClick(index, tabLabel, shouldFocus = true) {
|
|
119
|
+
// Validate index
|
|
120
|
+
if (index < 0 || index >= this.parsedTabs.length) {
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
103
123
|
// Update the active index and set all tabs' active state accordingly
|
|
104
124
|
this.activeIndex = index;
|
|
105
125
|
this.parsedTabs = this.parsedTabs.map((tab, tabIndex) => (Object.assign(Object.assign({}, tab), { active: tabIndex === index })));
|
|
106
126
|
this.tab.emit({ tabId: this.identifier, index: index, name: tabLabel });
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
127
|
+
// Only send analytics for actual clicks, not keyboard navigation
|
|
128
|
+
if (shouldFocus) {
|
|
129
|
+
sendAnalytics({
|
|
130
|
+
category: 'ui-component',
|
|
131
|
+
tag: this.el.tagName.toLowerCase(),
|
|
132
|
+
name: (tabLabel === null || tabLabel === void 0 ? void 0 : tabLabel.toLowerCase()) || '',
|
|
133
|
+
action: 'click'
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
// Focus management for keyboard navigation
|
|
137
|
+
if (shouldFocus && this.tabRefs[index]) {
|
|
138
|
+
// Use a small timeout to ensure the DOM has updated
|
|
139
|
+
setTimeout(() => {
|
|
140
|
+
var _a;
|
|
141
|
+
(_a = this.tabRefs[index]) === null || _a === void 0 ? void 0 : _a.focus();
|
|
142
|
+
}, 0);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
onKeyDown(ev, idx) {
|
|
146
|
+
let newIndex = idx;
|
|
147
|
+
switch (ev.key) {
|
|
148
|
+
case 'ArrowRight':
|
|
149
|
+
newIndex = (idx + 1) % this.parsedTabs.length;
|
|
150
|
+
ev.preventDefault();
|
|
151
|
+
break;
|
|
152
|
+
case 'ArrowLeft':
|
|
153
|
+
newIndex = (idx - 1 + this.parsedTabs.length) % this.parsedTabs.length;
|
|
154
|
+
ev.preventDefault();
|
|
155
|
+
break;
|
|
156
|
+
case 'Home':
|
|
157
|
+
newIndex = 0;
|
|
158
|
+
ev.preventDefault();
|
|
159
|
+
break;
|
|
160
|
+
case 'End':
|
|
161
|
+
newIndex = this.parsedTabs.length - 1;
|
|
162
|
+
ev.preventDefault();
|
|
163
|
+
break;
|
|
164
|
+
default:
|
|
165
|
+
return; // Don't handle other keys
|
|
166
|
+
}
|
|
167
|
+
if (newIndex !== idx) {
|
|
168
|
+
this.handleTabClick(newIndex, this.parsedTabs[newIndex].label, true);
|
|
169
|
+
}
|
|
113
170
|
}
|
|
114
171
|
render() {
|
|
115
|
-
return (h("div", { key: '
|
|
116
|
-
const TabComponent =
|
|
172
|
+
return (h("div", { key: 'e3bd802f08f460d5f3e89860669fefe2a8006e59', id: `${this.identifier}` }, h("div", { key: 'bcbd4afb8febec0520075c8e34269f184e2d9738', class: "scroller-x overflow-x-auto relative z-[1] mx-auto px-16 pt-8 lg:px-28 after:border-soft before:bg-gradient-y relative overflow-x-hidden before:absolute before:inset-x-0 before:bottom-0 before:h-12 before:opacity-5 before:content-[''] after:absolute after:inset-x-0 after:bottom-0 after:border-b-2 after:content-['']" }, h("nav", { key: '32e93b3ee6831918fd863fb23f1a5af1ae979201', role: "tablist", ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
173
|
+
const TabComponent = 'button';
|
|
117
174
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
118
|
-
|
|
119
|
-
|
|
175
|
+
const isActive = index === this.activeIndex;
|
|
176
|
+
return (h(TabComponent, Object.assign({}, tabProps, { type: "button", role: "tab", "aria-selected": tab.active ? 'true' : 'false', tabIndex: isActive ? 0 : -1, "aria-label": tab.ariaLabel || tab.label, "aria-controls": `panel-${index}`, id: `tab-${index}`, ref: (el) => this.setTabRef(el, index), onClick: () => this.handleTabClick(index, tab.label, true), onKeyDown: (e) => this.onKeyDown(e, index) }), tab.label || tab.ariaLabel));
|
|
177
|
+
}))), h("div", { key: 'ffe610574d342933121cbaca9bcb8fb483fde60b', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { role: "tabpanel", id: `panel-${index}`, "aria-labelledby": `tab-${index}`, hidden: index !== this.activeIndex, tabIndex: index === this.activeIndex ? 0 : -1, class: "effect-focus" }, h("slot", { name: `panel-${index}` })))))));
|
|
120
178
|
}
|
|
121
179
|
get el() { return this; }
|
|
122
180
|
static get watchers() { return {
|
|
@@ -39,7 +39,7 @@ const EdsTag = /*@__PURE__*/ proxyCustomElement(class EdsTag extends HTMLElement
|
|
|
39
39
|
}
|
|
40
40
|
render() {
|
|
41
41
|
const classes = tagStyles({ intent: this.intent, size: this.size });
|
|
42
|
-
return h("span", { key: '
|
|
42
|
+
return h("span", { key: '939fafa4bc525b747956931f49b27e6125ecbb34', class: classes }, this.label);
|
|
43
43
|
}
|
|
44
44
|
static get style() { return EdsTagStyle0; }
|
|
45
45
|
}, [1, "eds-tag", {
|
|
@@ -51,7 +51,7 @@ const EdsTimeline$1 = /*@__PURE__*/ proxyCustomElement(class EdsTimeline extends
|
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
render() {
|
|
54
|
-
return (h("div", { key: '
|
|
54
|
+
return (h("div", { key: '3abe8b96a25fa575acc503eafa345c63b0c4c971', class: "max-w-sidebar mx-auto px-4 py-8" }, h("div", { key: '23039a03d10a38aa96310be6456283b5d36041e7', class: "relative" }, h("div", { key: '2bf447e7dd77a33b953ee1c7b49c72bb3e79a938', class: "absolute w-4 left-1/2 transform -translate-x-1/2 bg-strong h-full z-0" }), h("div", { key: 'db44af20a0e09666b402e77ec739262a3506da48', 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
|
|
55
55
|
? [{ label: 'completed', style: 'accent' }]
|
|
56
56
|
: [{ 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
|
|
57
57
|
? [{ label: 'completed', style: 'accent' }]
|
|
@@ -67,7 +67,7 @@ const EdsToastManager$1 = /*@__PURE__*/ proxyCustomElement(class EdsToastManager
|
|
|
67
67
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
|
-
return (h("div", { key: '
|
|
70
|
+
return (h("div", { key: '85027aad9484f391686c4126e984a84e8045511c', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
71
71
|
}
|
|
72
72
|
get hostElement() { return this; }
|
|
73
73
|
static get style() { return EdsToastManagerStyle0; }
|
|
@@ -23,7 +23,7 @@ const EdsTooltip$1 = /*@__PURE__*/ proxyCustomElement(class EdsTooltip extends H
|
|
|
23
23
|
}
|
|
24
24
|
render() {
|
|
25
25
|
const positionClass = this.position === 'bottom' ? 'top-full mt-2' : 'bottom-full mb-2';
|
|
26
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: 'ee76b787881bdaef986b73fb2775c900a8c33d05', class: "relative w-full inline-block group" }, h("slot", { key: 'a5f9ade50e829efab02ef28ecff3edeedae9d469' }), h("div", { key: '31bdc63d6263090578f6600ae32027c2b050b2bf', class: `absolute ${positionClass}
|
|
27
27
|
rounded-xs bg-strongest text-inverse
|
|
28
28
|
f-ui-03-light pointer-events-none
|
|
29
29
|
z-10 p-4 opacity-0 transition-opacity duration-150 ease-in-out
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
+
import { d as defineCustomElement$e } from './eds-button2.js';
|
|
2
3
|
import { d as defineCustomElement$d } from './eds-icon-wrapper2.js';
|
|
3
4
|
import { d as defineCustomElement$c } from './eds-input2.js';
|
|
4
5
|
import { d as defineCustomElement$b } from './eds-input-field2.js';
|
|
@@ -53,7 +54,7 @@ const EdsTrl$1 = /*@__PURE__*/ proxyCustomElement(class EdsTrl extends HTMLEleme
|
|
|
53
54
|
Application: { format: 'code' },
|
|
54
55
|
'Current TRL Stage': { format: 'text' }
|
|
55
56
|
};
|
|
56
|
-
return (h("div", { key: '
|
|
57
|
+
return (h("div", { key: '51e2ef0877ef34a3c413d8bb690d659525845a92', class: "container mx-auto px-4 py-8" }, h("eds-table", { key: 'b682cb9ce8182302b82042173fcc93aed65f7006', "table-data": JSON.stringify(tableData), config: JSON.stringify(tableConfig), "rows-per-page": "2", "pagination-enabled": "true", "search-enabled": "true", "column-size": "default" })));
|
|
57
58
|
}
|
|
58
59
|
}, [0, "eds-trl", {
|
|
59
60
|
"applications": [1]
|
|
@@ -62,13 +63,18 @@ function defineCustomElement$1() {
|
|
|
62
63
|
if (typeof customElements === "undefined") {
|
|
63
64
|
return;
|
|
64
65
|
}
|
|
65
|
-
const components = ["eds-trl", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-progress-bar", "eds-table"];
|
|
66
|
+
const components = ["eds-trl", "eds-button", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-progress-bar", "eds-table"];
|
|
66
67
|
components.forEach(tagName => { switch (tagName) {
|
|
67
68
|
case "eds-trl":
|
|
68
69
|
if (!customElements.get(tagName)) {
|
|
69
70
|
customElements.define(tagName, EdsTrl$1);
|
|
70
71
|
}
|
|
71
72
|
break;
|
|
73
|
+
case "eds-button":
|
|
74
|
+
if (!customElements.get(tagName)) {
|
|
75
|
+
defineCustomElement$e();
|
|
76
|
+
}
|
|
77
|
+
break;
|
|
72
78
|
case "eds-icon-wrapper":
|
|
73
79
|
if (!customElements.get(tagName)) {
|
|
74
80
|
defineCustomElement$d();
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
3
|
-
import { d as defineCustomElement$6 } from './eds-block-break2.js';
|
|
2
|
+
import { d as defineCustomElement$6 } from './eds-avatar2.js';
|
|
4
3
|
import { d as defineCustomElement$5 } from './eds-button2.js';
|
|
5
4
|
import { d as defineCustomElement$4 } from './eds-dropdown2.js';
|
|
6
5
|
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
@@ -40,7 +39,7 @@ const EdsUser$1 = /*@__PURE__*/ proxyCustomElement(class EdsUser extends HTMLEle
|
|
|
40
39
|
}
|
|
41
40
|
render() {
|
|
42
41
|
const user = this.parsedUser;
|
|
43
|
-
return (h("div", { key: '
|
|
42
|
+
return (h("div", { key: '8a1f10cc85d8e2707042c85bc597b76fb2d25da4', class: "block" }, h("div", { key: 'a744de3d113920b8ff0d01ce273672b2bff57c97', class: "flex items-center" }, h("eds-dropdown", { key: 'e9230372d79936a785050ebb3e41f40e73282a57', label: `Hi, ${user.preferred_username}`, intent: "tertiary", "aria-label": "User Menu", "dropdown-pos": "right", "dropdown-offset": "false", icon: "chevron-down", class: "text-default" }, h("div", { key: '7d4bd0ee0985c840a18764cac784726ff1c987fb', class: "min-w-[280px] p-8" }, h("div", { key: '603d6807988dd79cd4e7827918ff8932d8463fc3', class: "flex gap-x-16" }, h("eds-avatar", { key: '65ba89139cb6e3b6cb90c2072eb68cc7dc1da49c', "first-name": user.given_name, "last-name": user.family_name, initials: this.initials, color: "grey" }), h("div", { key: 'df35b758918ebccbdfe6630bd356e647522404e1', class: "max-w-full" }, user.name && h("p", { key: '7174f34445bb1a0b77a3c1b893421bd104832485', class: "f-ui-01 text-default w-full text-ellipsis" }, user.name), user.preferred_username && h("p", { key: '72d853f5014c03803dce7aa0a74d96847ed8c875', class: "f-ui-03-light text-light mt-4" }, user.preferred_username), user.email && h("p", { key: 'e406e2f3ca8504220ee9586a1d176c15c7236502', class: "f-ui-03-light text-light mt-4" }, user.email))), h("div", { key: '8fd3b42ab4eb3d1d70a0b827e3a03af8503c55d1', class: "text-default flex w-full flex-col gap-y-8" }, h("slot", { key: '6a477155c256543b7793947d52feb3f5abb0df6e' })))))));
|
|
44
43
|
}
|
|
45
44
|
get hostEl() { return this; }
|
|
46
45
|
static get style() { return EdsUserStyle0; }
|
|
@@ -51,7 +50,7 @@ function defineCustomElement$1() {
|
|
|
51
50
|
if (typeof customElements === "undefined") {
|
|
52
51
|
return;
|
|
53
52
|
}
|
|
54
|
-
const components = ["eds-user", "eds-avatar", "eds-
|
|
53
|
+
const components = ["eds-user", "eds-avatar", "eds-button", "eds-dropdown", "eds-icon-wrapper", "eds-img"];
|
|
55
54
|
components.forEach(tagName => { switch (tagName) {
|
|
56
55
|
case "eds-user":
|
|
57
56
|
if (!customElements.get(tagName)) {
|
|
@@ -59,11 +58,6 @@ function defineCustomElement$1() {
|
|
|
59
58
|
}
|
|
60
59
|
break;
|
|
61
60
|
case "eds-avatar":
|
|
62
|
-
if (!customElements.get(tagName)) {
|
|
63
|
-
defineCustomElement$7();
|
|
64
|
-
}
|
|
65
|
-
break;
|
|
66
|
-
case "eds-block-break":
|
|
67
61
|
if (!customElements.get(tagName)) {
|
|
68
62
|
defineCustomElement$6();
|
|
69
63
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$
|
|
2
|
+
import { d as defineCustomElement$5 } from './eds-alert2.js';
|
|
3
|
+
import { d as defineCustomElement$4 } from './eds-button2.js';
|
|
3
4
|
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
4
5
|
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
5
6
|
|
|
@@ -43,14 +44,14 @@ const IncorrectUseOfColors$1 = /*@__PURE__*/ proxyCustomElement(class IncorrectU
|
|
|
43
44
|
this.__registerHost();
|
|
44
45
|
}
|
|
45
46
|
render() {
|
|
46
|
-
return (h("div", { key: '
|
|
47
|
+
return (h("div", { key: '99f72ce6be806d58cdbe053d86a07e7769e7c298', class: "container" }, h("div", { key: '4689bc35f56681d07747158f45bed8960bd764bb', class: "mb-8" }, h("eds-alert", { key: 'bda983921ff3779dc947d13ff7b3c4f0509154ea', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: 'ef02b05fb6fb761cae3cc5120478d9670ae65508', class: "flex" }, h("div", { key: '968ccc8bc1acec2856325c921d737f0ac2d0e26d', class: "w-full" }, h("ul", { key: 'aafe0547a6f6185216cf5ba08cca1e5ed97f7fb8', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, primary.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[150px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: 'f8af94ee21c7ed37b177fa3b5285e9bfe76e8e46', class: "w-full" }, h("ul", { key: 'ef52e37263e0bfda9d631f7aa6abe2074cbebe78', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
47
48
|
}
|
|
48
49
|
}, [0, "incorrect-use-of-colors"]);
|
|
49
50
|
function defineCustomElement$1() {
|
|
50
51
|
if (typeof customElements === "undefined") {
|
|
51
52
|
return;
|
|
52
53
|
}
|
|
53
|
-
const components = ["incorrect-use-of-colors", "eds-alert", "eds-icon-wrapper", "eds-link"];
|
|
54
|
+
const components = ["incorrect-use-of-colors", "eds-alert", "eds-button", "eds-icon-wrapper", "eds-link"];
|
|
54
55
|
components.forEach(tagName => { switch (tagName) {
|
|
55
56
|
case "incorrect-use-of-colors":
|
|
56
57
|
if (!customElements.get(tagName)) {
|
|
@@ -58,6 +59,11 @@ function defineCustomElement$1() {
|
|
|
58
59
|
}
|
|
59
60
|
break;
|
|
60
61
|
case "eds-alert":
|
|
62
|
+
if (!customElements.get(tagName)) {
|
|
63
|
+
defineCustomElement$5();
|
|
64
|
+
}
|
|
65
|
+
break;
|
|
66
|
+
case "eds-button":
|
|
61
67
|
if (!customElements.get(tagName)) {
|
|
62
68
|
defineCustomElement$4();
|
|
63
69
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
2
|
import { v as vLogoMargins } from './logo-color-margins.js';
|
|
3
|
+
import { d as defineCustomElement$d } from './eds-button2.js';
|
|
3
4
|
import { d as defineCustomElement$c } from './eds-icon-wrapper2.js';
|
|
4
5
|
import { d as defineCustomElement$b } from './eds-input2.js';
|
|
5
6
|
import { d as defineCustomElement$a } from './eds-input-field2.js';
|
|
@@ -22,7 +23,7 @@ const LogoSpace$1 = /*@__PURE__*/ proxyCustomElement(class LogoSpace extends HTM
|
|
|
22
23
|
this.__attachShadow();
|
|
23
24
|
}
|
|
24
25
|
render() {
|
|
25
|
-
return (h("div", { key: '
|
|
26
|
+
return (h("div", { key: '715c9aab5f553f14a183efcec753ac3a7d2a6ef7', class: "container" }, h("ul", { key: 'd552744d7c502654c1863a0e2bfe939aa5ab0447', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '06ea3756aa8416e11a0f8c3995e70112808791e8', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '186172fddc2a100fb5f757ce7175501f7b838896', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), h("li", { key: '6131a46a1f7d4efac1feb05ffbd88ca35ba07d08', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'df5acbe2348d1fcf069ddb55ce8c7180ecea0959', class: "text-center mt-16" }, h("p", { key: '65b120c29fd408808ab2b6ca3e038915f386c033', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: '137055ef0dd2e79db8dd0cfac8c297385c693338', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), h("li", { key: 'cbaf5b78b83fa1874d2555ae07dcd849007d9b28', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
26
27
|
}
|
|
27
28
|
static get style() { return LogoSpaceStyle0; }
|
|
28
29
|
}, [1, "logo-space"]);
|
|
@@ -30,13 +31,18 @@ function defineCustomElement$1() {
|
|
|
30
31
|
if (typeof customElements === "undefined") {
|
|
31
32
|
return;
|
|
32
33
|
}
|
|
33
|
-
const components = ["logo-space", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-table"];
|
|
34
|
+
const components = ["logo-space", "eds-button", "eds-icon-wrapper", "eds-input", "eds-input-field", "eds-input-footer", "eds-input-label", "eds-input-range", "eds-input-search", "eds-input-select", "eds-link", "eds-pagination", "eds-table"];
|
|
34
35
|
components.forEach(tagName => { switch (tagName) {
|
|
35
36
|
case "logo-space":
|
|
36
37
|
if (!customElements.get(tagName)) {
|
|
37
38
|
customElements.define(tagName, LogoSpace$1);
|
|
38
39
|
}
|
|
39
40
|
break;
|
|
41
|
+
case "eds-button":
|
|
42
|
+
if (!customElements.get(tagName)) {
|
|
43
|
+
defineCustomElement$d();
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
40
46
|
case "eds-icon-wrapper":
|
|
41
47
|
if (!customElements.get(tagName)) {
|
|
42
48
|
defineCustomElement$c();
|
|
@@ -11,7 +11,7 @@ const LogoVariationsHorizontal = /*@__PURE__*/ proxyCustomElement(class LogoVari
|
|
|
11
11
|
this.__attachShadow();
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
|
-
return (h("div", { key: '
|
|
14
|
+
return (h("div", { key: '42b4022e993bb4e340a4f930706ed61d487856af', class: "container" }, h("ul", { key: '368cb376390f9cd4f311c34f35e227916bccc3aa', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'c144cf24fe85d4ca731cbcb47aee2ae6bbfb9500', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '9ebdf9fae31f6370bd469cf4c3964e5fa5dae53b', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: '347dfdc62a77f9bc2774870d0bce4803a9def6a1', class: "coloured" }, h("eds-logo", { key: '642ed4f4dd0720b457e8871d8d39a3e6f8817919', type: "no-bg", href: "#" }))), h("li", { key: '4b97f489fdc512de54c0f2c0bbf206f6d64fec57', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '217c5485599de77021d5b008952a7463a95e8d22', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: 'c3e7f3b4b770662cc83c261af241306e8449cddb', class: "bg-default" }, h("eds-logo", { key: '1d0a90da209d8dbc28b91ccd3d3e112ed189428d', type: "black", href: "#" }))), h("li", { key: 'f8879a7c790e1b5f0555d6d764e828fbc6a4e263', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '93f6729dc8f3e4cf0257e57c4b034e94cfefa99d', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: 'd45eaff596387f93aabc377fa96f1b386b8c5e42' }, h("eds-logo", { key: '4a8209824ad3dcec06be65303dc9f0cf01613a8f', type: "color-white", href: "#" }))))));
|
|
15
15
|
}
|
|
16
16
|
static get style() { return LogoVariationsHorizontalStyle0; }
|
|
17
17
|
}, [1, "logo-variations-horizontal"]);
|
|
@@ -20,7 +20,7 @@ const LogoVariationsTabs$1 = /*@__PURE__*/ proxyCustomElement(class LogoVariatio
|
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
render() {
|
|
23
|
-
return h("div", { key: '
|
|
23
|
+
return h("div", { key: 'ac936a8594bc4f5f8573da7ac2751103fe287e48', class: "container" }, this.renderContent());
|
|
24
24
|
}
|
|
25
25
|
}, [0, "logo-variations-tabs", {
|
|
26
26
|
"tabIndex": [2, "tab-index"]
|
|
@@ -13,7 +13,7 @@ const LogoVariationsVertical = /*@__PURE__*/ proxyCustomElement(class LogoVariat
|
|
|
13
13
|
this.type = undefined;
|
|
14
14
|
}
|
|
15
15
|
render() {
|
|
16
|
-
return (h("div", { key: '
|
|
16
|
+
return (h("div", { key: '9384d3b91a4b09c780a1bb8d6b49f441f7a7a22a', class: "container" }, h("ul", { key: '60a89752afab4d76da7a3fc070bff2f7cc98d4b0', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '6a8b35e2eaa5b0b5f4aa233fbcaa2a21b1e340c7', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'f9893c662898f97567d4a56eaf2d5a620e087743', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: '6fad2d66a3e34c11344210c3b8d92279d566f866', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: '66740c018c8f3aa3fbeb2cab8c392713b7e004ed', orientation: "vertical", type: "no-bg", href: "#" }))), h("li", { key: '7a5a2ee2fab87b6ea7892134b5b1fb939cc5665c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '79bd10816b9dfe8ab28d444d7dfb4b361afea94f', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '10f00983923848d8e89b6d7c7990972a76fbaf80', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: '3e10d0887921355c0974ad8a4c04cc86e901440d', orientation: "vertical", type: "black", href: "#" }))), h("li", { key: 'eeaabdfa7d788647845d5488decfd06815fc2c47', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '1b058b1513f09eb8a1043ab3ff8a4cda28246576', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: 'bd3698e6210ecbe356f0c334a983b21ef6b7b5e3', class: "mx-auto w-[300px]" }, h("eds-logo", { key: 'c9321f6b80b68e74a02dbf77ba83f2bc2567c538', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
17
17
|
}
|
|
18
18
|
static get style() { return LogoVariationsVerticalStyle0; }
|
|
19
19
|
}, [1, "logo-variations-vertical", {
|