@ebrains/components 0.9.0-beta → 0.9.2-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/LICENSE +21 -0
- package/README.md +9 -0
- package/dist/{collection/utils/analytics.js → components/analytics-e29fcd53.js} +8 -6
- package/dist/components/{color.js → color-47266964.js} +1 -1
- package/dist/{collection/eds-docs-ui/colors/color-palette/primary.js → components/color-primary-palette.entry.js} +8 -8
- package/dist/{collection/eds-docs-ui/colors/color-palette/secondary.js → components/color-secondary-palette.entry.js} +8 -29
- package/dist/{collection/eds-docs-ui/colors/color-palette/support.js → components/color-support-palette.entry.js} +8 -8
- package/dist/{esm → components}/components-section.entry.js +1 -1
- package/dist/components/components.esm.js +47 -1
- package/dist/{esm → components}/correct-use-of-colors.entry.js +1 -1
- package/dist/{esm → components}/docs-palettes.entry.js +1 -1
- package/dist/{esm → components}/docs-tokens.entry.js +1 -1
- package/dist/{esm → components}/eds-accordion.entry.js +7 -8
- package/dist/{esm → components}/eds-alert.entry.js +3 -4
- package/dist/{esm → components}/eds-app-root.entry.js +1 -1
- package/dist/components/{eds-avatar2.js → eds-avatar.entry.js} +9 -36
- package/dist/components/eds-block-break.entry.js +16 -0
- package/dist/{esm → components}/eds-breadcrumb.entry.js +17 -12
- package/dist/components/{eds-button2.js → eds-button.entry.js} +10 -46
- package/dist/components/{eds-card-desc2.js → eds-card-desc.entry.js} +7 -28
- package/dist/{esm → components}/eds-card-generic.entry.js +6 -7
- package/dist/{esm → components}/eds-card-project.entry.js +4 -4
- package/dist/{esm → components}/eds-card-section.entry.js +3 -4
- package/dist/{esm → components}/eds-card-tags.entry.js +2 -3
- package/dist/components/{eds-card-title2.js → eds-card-title.entry.js} +7 -30
- package/dist/{esm → components}/eds-card-tool.entry.js +3 -4
- package/dist/{esm → components}/eds-card-wrapper.entry.js +1 -1
- package/dist/{esm → components}/eds-code-block.entry.js +34 -4
- package/dist/{esm → components}/eds-cookies-preference.entry.js +2 -3
- package/dist/components/{eds-dropdown2.js → eds-dropdown.entry.js} +9 -48
- package/dist/{esm → components}/eds-feedback.entry.js +3 -4
- package/dist/components/{eds-footer2.js → eds-footer.entry.js} +7 -60
- package/dist/components/{eds-form.js → eds-form.entry.js} +66 -100
- package/dist/{esm → components}/eds-frame.entry.js +2 -3
- package/dist/components/{eds-fullscreen-menu.js → eds-fullscreen-menu.entry.js} +8 -81
- package/dist/components/{eds-header.js → eds-header.entry.js} +9 -60
- package/dist/{esm → components}/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-arrow-right.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-bluesky.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-bookmark.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-chevron-down.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-chevron-left.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-chevron-right.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-chevron-up.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-close.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-copy.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-eu.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-external.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-facebook.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-gitlab.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-linkedin.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-loader.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-mastodon.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-menu.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-minus.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-more.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-paper.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-plus.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-portal.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-private.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-public.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-search.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-star.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-success.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-thumbs-down.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-thumbs-up.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-tutorial.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-twitter.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-unknown.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-updown.entry.js +2 -2
- package/dist/{esm → components}/eds-icon-user.entry.js +2 -2
- package/dist/components/{eds-icon-wrapper2.js → eds-icon-wrapper.entry.js} +6 -26
- package/dist/{esm → components}/eds-icon-youtube.entry.js +2 -2
- package/dist/components/{eds-img2.js → eds-img.entry.js} +8 -36
- package/dist/components/{eds-input-field2.js → eds-input-field.entry.js} +8 -86
- package/dist/components/eds-input-footer.entry.js +17 -0
- package/dist/components/eds-input-label.entry.js +16 -0
- package/dist/components/{eds-input-range2.js → eds-input-range.entry.js} +7 -34
- package/dist/components/{eds-input-search2.js → eds-input-search.entry.js} +8 -38
- package/dist/components/{eds-input-select2.js → eds-input-select.entry.js} +7 -46
- package/dist/components/{eds-input2.js → eds-input.entry.js} +7 -46
- package/dist/components/{eds-link2.js → eds-link.entry.js} +11 -48
- package/dist/components/{eds-login2.js → eds-login.entry.js} +17 -41
- package/dist/components/{eds-logo2.js → eds-logo.entry.js} +10 -32
- package/dist/{esm → components}/eds-matomo-notice.entry.js +8 -9
- package/dist/{esm → components}/eds-modal.entry.js +8 -9
- package/dist/components/{eds-pagination2.js → eds-pagination.entry.js} +8 -51
- package/dist/{esm → components}/eds-progress-bar.entry.js +2 -3
- package/dist/{esm → components}/eds-rating.entry.js +2 -3
- package/dist/components/eds-section-core.entry.js +19 -0
- package/dist/{esm/eds-section-core_2.entry.js → components/eds-section-heading.entry.js} +4 -21
- package/dist/components/{eds-social-networks2.js → eds-social-networks.entry.js} +9 -39
- package/dist/{esm → components}/eds-spinner.entry.js +2 -3
- package/dist/components/{eds-splash-screen2.js → eds-splash-screen.entry.js} +7 -41
- package/dist/components/{eds-steps-v2.js → eds-steps-v2.entry.js} +9 -55
- package/dist/components/{eds-steps2.js → eds-steps.entry.js} +9 -43
- package/dist/{esm → components}/eds-switch.entry.js +4 -5
- package/dist/components/{eds-table2.js → eds-table.entry.js} +10 -105
- package/dist/{esm → components}/eds-tabs.entry.js +10 -11
- package/dist/components/eds-tag.entry.js +44 -0
- package/dist/{esm → components}/eds-timeline.entry.js +4 -5
- package/dist/{esm → components}/eds-toast-manager.entry.js +3 -4
- package/dist/{esm → components}/eds-toast.entry.js +3 -4
- package/dist/{esm → components}/eds-tooltip.entry.js +3 -4
- package/dist/{esm → components}/eds-trl.entry.js +1 -1
- package/dist/components/{eds-user.js → eds-user.entry.js} +9 -60
- package/dist/{collection/eds-docs-ui/colors/gradient-palette/primary.js → components/gradient-primary-palette.entry.js} +8 -8
- package/dist/{collection/eds-docs-ui/colors/gradient-palette/secondary.js → components/gradient-secondary-palette.entry.js} +8 -8
- package/dist/{collection/eds-docs-ui/colors/gradient-palette/support.js → components/gradient-support-palette.entry.js} +8 -8
- package/dist/{esm → components}/incorrect-use-of-colors.entry.js +1 -1
- package/dist/{cjs/logo-white-no-bg-4a0e0f4b.js → components/index-7281d120.js} +941 -10
- package/dist/{esm/index-8a71b9a7.js → components/index-9d277061.js} +1332 -511
- package/dist/components/index.esm.js +1 -0
- package/dist/{esm → components}/logo-space.entry.js +3 -4
- package/dist/components/{logo-variations-horizontal2.js → logo-variations-horizontal.entry.js} +7 -29
- package/dist/{esm → components}/logo-variations-tabs.entry.js +1 -1
- package/dist/components/{logo-variations-vertical2.js → logo-variations-vertical.entry.js} +7 -32
- package/dist/{esm → components}/logo-wrong-usage.entry.js +3 -4
- package/dist/components/shadow-css-423dab2c.js +332 -0
- package/dist/{collection/eds-docs-ui/svg-repository/svg-repository.js → components/svg-repository.entry.js} +14 -20
- package/dist/components/{token-list2.js → token-list.entry.js} +6 -34
- package/dist/{collection/eds-docs-ui/design-tokens/token-radii/token-radii.js → components/token-radii.entry.js} +18 -8
- package/dist/{esm → components}/token-ratios.entry.js +1 -1
- package/dist/{collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js → components/token-shadows.entry.js} +27 -8
- package/dist/{collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js → components/token-spacing.entry.js} +9 -7
- package/dist/{esm → components}/token-typography.entry.js +1 -1
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +1 -1
- package/dist/types/components/eds-modal/eds-modal.d.ts +1 -1
- package/dist/types/components/eds-section/eds-section-heading/eds-section-heading.d.ts +3 -0
- package/dist/types/components/eds-switch/eds-switch.d.ts +1 -1
- package/dist/types/components/eds-tag/eds-tag.d.ts +5 -1
- package/dist/types/components/eds-tag/eds-tag.stories.d.ts +7 -0
- package/dist/types/components.d.ts +40 -64
- package/dist/types/shared-ui/eds-matomo-notice/eds-matomo-notice.d.ts +1 -1
- package/dist/types/shared-ui/eds-social-networks/eds-social-networks.d.ts +1 -1
- package/dist/types/shared-ui/eds-tabs/eds-tabs.d.ts +1 -1
- package/package.json +3 -3
- package/dist/cjs/analytics-d8fb3fdd.js +0 -60
- package/dist/cjs/app-globals-3a1e7e63.js +0 -5
- package/dist/cjs/arrow-diagonal-black-0eb8640e.js +0 -5
- package/dist/cjs/arrow-right-3e38e8a9.js +0 -7
- package/dist/cjs/bluesky-eb0d6051.js +0 -16
- package/dist/cjs/bookmark-c61853d9.js +0 -18
- package/dist/cjs/chevron-down-27344777.js +0 -14
- package/dist/cjs/chevron-left-6fc9c6ef.js +0 -13
- package/dist/cjs/chevron-right-6d95a117.js +0 -7
- package/dist/cjs/chevron-up-e37d7713.js +0 -14
- package/dist/cjs/close-51284af5.js +0 -7
- package/dist/cjs/color-c00146a8.js +0 -134
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +0 -340
- package/dist/cjs/components-section.cjs.entry.js +0 -139
- package/dist/cjs/components.cjs.js +0 -25
- package/dist/cjs/copy-53102d0c.js +0 -7
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +0 -68
- package/dist/cjs/docs-palettes.cjs.entry.js +0 -27
- package/dist/cjs/docs-tokens.cjs.entry.js +0 -35
- package/dist/cjs/eds-accordion.cjs.entry.js +0 -86
- package/dist/cjs/eds-alert.cjs.entry.js +0 -104
- package/dist/cjs/eds-app-root.cjs.entry.js +0 -37
- package/dist/cjs/eds-avatar_24.cjs.entry.js +0 -2100
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +0 -139
- package/dist/cjs/eds-card-desc_3.cjs.entry.js +0 -113
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -92
- package/dist/cjs/eds-card-project.cjs.entry.js +0 -68
- package/dist/cjs/eds-card-section.cjs.entry.js +0 -39
- package/dist/cjs/eds-card-tags.cjs.entry.js +0 -22
- package/dist/cjs/eds-card-tool.cjs.entry.js +0 -79
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +0 -32
- package/dist/cjs/eds-code-block.cjs.entry.js +0 -2489
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +0 -39
- package/dist/cjs/eds-feedback.cjs.entry.js +0 -66
- package/dist/cjs/eds-frame.cjs.entry.js +0 -85
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-bookmark.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-close.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-copy.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-eu.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-external.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-loader.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-menu.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-minus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-more.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-paper.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-plus.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-portal.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-private.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-public.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-search.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-star.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-success.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-down.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-thumbs-up.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-tutorial.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-unknown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-updown.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-user.cjs.entry.js +0 -18
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +0 -18
- package/dist/cjs/eds-login_2.cjs.entry.js +0 -2100
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +0 -123
- package/dist/cjs/eds-modal.cjs.entry.js +0 -109
- package/dist/cjs/eds-pagination_2.cjs.entry.js +0 -403
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -29
- package/dist/cjs/eds-rating.cjs.entry.js +0 -64
- package/dist/cjs/eds-section-core_2.cjs.entry.js +0 -59
- package/dist/cjs/eds-spinner.cjs.entry.js +0 -54
- package/dist/cjs/eds-switch.cjs.entry.js +0 -38
- package/dist/cjs/eds-tabs.cjs.entry.js +0 -130
- package/dist/cjs/eds-timeline.cjs.entry.js +0 -63
- package/dist/cjs/eds-toast-manager.cjs.entry.js +0 -46
- package/dist/cjs/eds-toast.cjs.entry.js +0 -76
- package/dist/cjs/eds-tooltip.cjs.entry.js +0 -109
- package/dist/cjs/eds-trl.cjs.entry.js +0 -51
- package/dist/cjs/eu-b9665157.js +0 -32
- package/dist/cjs/facebook-7aa65e57.js +0 -16
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +0 -50
- package/dist/cjs/index-2f63169d.js +0 -2231
- package/dist/cjs/index-ab9fbefe.js +0 -48
- package/dist/cjs/index.cjs.js +0 -2
- package/dist/cjs/linkedin-46b0dd56.js +0 -30
- package/dist/cjs/loader-72f9d178.js +0 -32
- package/dist/cjs/loader.cjs.js +0 -15
- package/dist/cjs/logo-color-6c787ac1.js +0 -117
- package/dist/cjs/logo-color-margins-b49c0f46.js +0 -120
- package/dist/cjs/logo-space.cjs.entry.js +0 -21
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +0 -36
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +0 -27
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +0 -21
- package/dist/cjs/mastodon-20c5bb7d.js +0 -16
- package/dist/cjs/menu-7050a6d1.js +0 -13
- package/dist/cjs/minus-1da6a98a.js +0 -13
- package/dist/cjs/mono-2f3cd653.js +0 -13
- package/dist/cjs/more-1d3dd8bc.js +0 -15
- package/dist/cjs/paper-0d6302f6.js +0 -17
- package/dist/cjs/plus-d0e00ad0.js +0 -14
- package/dist/cjs/portal-46212559.js +0 -20
- package/dist/cjs/private-38835fe7.js +0 -27
- package/dist/cjs/public-b519b1f6.js +0 -18
- package/dist/cjs/search-5533d877.js +0 -14
- package/dist/cjs/sharedUtils-8e287250.js +0 -21
- package/dist/cjs/star-942eee9f.js +0 -7
- package/dist/cjs/success-ef661a11.js +0 -20
- package/dist/cjs/svg-repository.cjs.entry.js +0 -337
- package/dist/cjs/thumbs-down-714036b1.js +0 -7
- package/dist/cjs/thumbs-up-411babb8.js +0 -8
- package/dist/cjs/toastManager-4e9535f3.js +0 -33
- package/dist/cjs/token-list_3.cjs.entry.js +0 -300
- package/dist/cjs/token-ratios.cjs.entry.js +0 -29
- package/dist/cjs/token-typography.cjs.entry.js +0 -230
- package/dist/cjs/tutotial-7855df3c.js +0 -29
- package/dist/cjs/twitter-73956e9a.js +0 -16
- package/dist/cjs/unknown-6814e551.js +0 -24
- package/dist/cjs/up-and-down-d71df67d.js +0 -14
- package/dist/cjs/user-a3c2230f.js +0 -18
- package/dist/cjs/youtube-c238a461.js +0 -16
- package/dist/collection/collection-manifest.json +0 -128
- package/dist/collection/components/eds-accordion/eds-accordion.css +0 -264
- package/dist/collection/components/eds-accordion/eds-accordion.js +0 -222
- package/dist/collection/components/eds-accordion/eds-accordion.stories.js +0 -87
- package/dist/collection/components/eds-alert/eds-alert.css +0 -739
- package/dist/collection/components/eds-alert/eds-alert.js +0 -230
- package/dist/collection/components/eds-alert/eds-alert.stories.js +0 -60
- package/dist/collection/components/eds-avatar/eds-avatar.css +0 -187
- package/dist/collection/components/eds-avatar/eds-avatar.js +0 -183
- package/dist/collection/components/eds-avatar/eds-avatar.stories.js +0 -40
- package/dist/collection/components/eds-block-break/eds-block-break.css +0 -49
- package/dist/collection/components/eds-block-break/eds-block-break.js +0 -51
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.css +0 -112
- package/dist/collection/components/eds-breadcrump/eds-breadcrumb.stories.js +0 -40
- package/dist/collection/components/eds-breadcrump/eds-breadcrump.js +0 -206
- package/dist/collection/components/eds-button/eds-button.css +0 -8904
- package/dist/collection/components/eds-button/eds-button.js +0 -487
- package/dist/collection/components/eds-button/eds-button.stories.js +0 -47
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.css +0 -41
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-desc/eds-card-desc.js +0 -113
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.css +0 -9
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-tags/eds-card-tags.js +0 -63
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.css +0 -92
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-title/eds-card-title.js +0 -169
- package/dist/collection/components/eds-cards/eds-card-composer/eds-card-wrapper/eds-card-wrapper.js +0 -86
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.css +0 -134
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +0 -338
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.stories.js +0 -133
- package/dist/collection/components/eds-cards/eds-card-project/eds-card-project.js +0 -228
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.css +0 -103
- package/dist/collection/components/eds-cards/eds-card-tool/eds-card-tool.js +0 -314
- package/dist/collection/components/eds-code-block/eds-code-block.css +0 -204
- package/dist/collection/components/eds-code-block/eds-code-block.js +0 -141
- package/dist/collection/components/eds-code-block/eds-code-block.stories.js +0 -78
- package/dist/collection/components/eds-dropdown/eds-dropdown.css +0 -117
- package/dist/collection/components/eds-dropdown/eds-dropdown.js +0 -369
- package/dist/collection/components/eds-icon-wrapper/eds-icon-wrapper.js +0 -92
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-down/eds-icon-chevron-down.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-left/eds-icon-chevron-left.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-right/eds-icon-chevron-right.js +0 -36
- package/dist/collection/components/eds-icons/chevron/eds-icon-chevron-up/eds-icon-chevron-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-diagonal/eds-icon-arrow-diagonal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-arrow-right/eds-icon-arrow-right.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-bookmark/eds-icon-bookmark.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-close/eds-icon-close.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-copy/eds-icon-copy.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-eu/eds-icon-eu.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-external/eds-icon-external.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-gitlab/eds-icon-gitlab.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-loader/eds-icon-loader.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-menu/eds-icon-menu.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-minus/eds-icon-minus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-more/eds-icon-more.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-paper/eds-icon-paper.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-plus/eds-icon-plus.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-portal/eds-icon-portal.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-private/eds-icon-private.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-public/eds-icon-public.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-search/eds-icon-search.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-star/eds-icon-star.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-success/eds-icon-success.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-down/eds-icon-thumbs-down.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-thumbs-up/eds-icon-thumbs-up.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-tutorial/eds-icon-tutorial.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-unknown/eds-icon-unknown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-updown/eds-icon-updown.js +0 -36
- package/dist/collection/components/eds-icons/eds-icon-user/eds-icon-user.js +0 -36
- package/dist/collection/components/eds-icons/social/eds-icon-bluesky/eds-icon-bluesky.js +0 -36
- package/dist/collection/components/eds-icons/social/eds-icon-facebook/eds-icon-facebook.js +0 -36
- package/dist/collection/components/eds-icons/social/eds-icon-linkedin/eds-icon-linkedin.js +0 -36
- package/dist/collection/components/eds-icons/social/eds-icon-mastodon/eds-icon-mastodon.js +0 -36
- package/dist/collection/components/eds-icons/social/eds-icon-twitter/eds-icon-twitter.js +0 -36
- package/dist/collection/components/eds-icons/social/eds-icon-youtube/eds-icon-youtube.js +0 -36
- package/dist/collection/components/eds-img/eds-img.css +0 -83
- package/dist/collection/components/eds-img/eds-img.js +0 -252
- package/dist/collection/components/eds-img/eds-img.stories.js +0 -101
- package/dist/collection/components/eds-input-elements/eds-input/eds-input.js +0 -317
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +0 -105
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +0 -90
- package/dist/collection/components/eds-input-elements/eds-input-range/eds-input-range.js +0 -252
- package/dist/collection/components/eds-input-elements/eds-input-search/eds-input-search.js +0 -263
- package/dist/collection/components/eds-input-elements/eds-input-select/eds-input-select.js +0 -343
- package/dist/collection/components/eds-input-field/eds-input-field.css +0 -7760
- package/dist/collection/components/eds-input-field/eds-input-field.js +0 -451
- package/dist/collection/components/eds-input-field/eds-input-field.stories.js +0 -206
- package/dist/collection/components/eds-link/eds-link.css +0 -7101
- package/dist/collection/components/eds-link/eds-link.js +0 -492
- package/dist/collection/components/eds-link/eds-link.stories.js +0 -86
- package/dist/collection/components/eds-logo/eds-logo.css +0 -47
- package/dist/collection/components/eds-logo/eds-logo.js +0 -169
- package/dist/collection/components/eds-logo/eds-logo.stories.js +0 -38
- package/dist/collection/components/eds-modal/eds-modal.css +0 -258
- package/dist/collection/components/eds-modal/eds-modal.js +0 -276
- package/dist/collection/components/eds-modal/eds-modal.stories.js +0 -80
- package/dist/collection/components/eds-pagination/eds-pagination.css +0 -148
- package/dist/collection/components/eds-pagination/eds-pagination.js +0 -418
- package/dist/collection/components/eds-pagination/eds-pagination.stories.js +0 -135
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.css +0 -62
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +0 -79
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.stories.js +0 -25
- package/dist/collection/components/eds-rating/eds-rating.css +0 -79
- package/dist/collection/components/eds-rating/eds-rating.js +0 -126
- package/dist/collection/components/eds-rating/eds-rating.stories.js +0 -43
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.css +0 -0
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +0 -91
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.stories.js +0 -75
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +0 -137
- package/dist/collection/components/eds-spinner/eds-spinner.css +0 -17
- package/dist/collection/components/eds-spinner/eds-spinner.js +0 -166
- package/dist/collection/components/eds-spinner/eds-spinner.stories.js +0 -52
- package/dist/collection/components/eds-steps/eds-steps.css +0 -126
- package/dist/collection/components/eds-steps/eds-steps.js +0 -170
- package/dist/collection/components/eds-steps/eds-steps.stories.js +0 -35
- package/dist/collection/components/eds-switch/eds-switch.css +0 -58
- package/dist/collection/components/eds-switch/eds-switch.js +0 -131
- package/dist/collection/components/eds-switch/eds-switch.stories.js +0 -38
- package/dist/collection/components/eds-table/eds-table.css +0 -142
- package/dist/collection/components/eds-table/eds-table.js +0 -370
- package/dist/collection/components/eds-table/eds-table.stories.js +0 -99
- package/dist/collection/components/eds-tag/eds-tag.css +0 -56
- package/dist/collection/components/eds-tag/eds-tag.js +0 -84
- package/dist/collection/components/eds-tag/eds-tag.stories.js +0 -27
- package/dist/collection/components/eds-timeline/eds-timeline.css +0 -7776
- package/dist/collection/components/eds-timeline/eds-timeline.js +0 -93
- package/dist/collection/components/eds-timeline/eds-timeline.stories.js +0 -35
- package/dist/collection/components/eds-toast/eds-toast.css +0 -91
- package/dist/collection/components/eds-toast/eds-toast.js +0 -138
- package/dist/collection/components/eds-toast/eds-toast.stories.js +0 -38
- package/dist/collection/components/eds-tooltip/eds-tooltip.css +0 -94
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +0 -179
- package/dist/collection/components/eds-tooltip/eds-tooltip.stories.js +0 -21
- package/dist/collection/components/eds-trl/eds-trl.js +0 -68
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +0 -66
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +0 -44
- package/dist/collection/eds-docs-ui/components-section/components-section.js +0 -55
- package/dist/collection/eds-docs-ui/components-section/functional/angular.js +0 -2
- package/dist/collection/eds-docs-ui/components-section/functional/installation.js +0 -2
- package/dist/collection/eds-docs-ui/components-section/functional/overview.js +0 -19
- package/dist/collection/eds-docs-ui/components-section/functional/react.js +0 -2
- package/dist/collection/eds-docs-ui/components-section/functional/usage.js +0 -2
- package/dist/collection/eds-docs-ui/components-section/functional/vue.js +0 -2
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +0 -52
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +0 -98
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.stories.js +0 -44
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +0 -15
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +0 -27
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +0 -44
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.css +0 -154
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +0 -22
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.css +0 -161
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +0 -21
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.css +0 -169
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +0 -64
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +0 -44
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.css +0 -240
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +0 -22
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.css +0 -5
- package/dist/collection/index.js +0 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.css +0 -249
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +0 -95
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.stories.js +0 -71
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.css +0 -0
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +0 -86
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.st.js +0 -31
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.css +0 -163
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +0 -191
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.stories.js +0 -121
- package/dist/collection/shared-ui/eds-footer/eds-footer.css +0 -226
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +0 -189
- package/dist/collection/shared-ui/eds-footer/eds-footer.stories.js +0 -44
- package/dist/collection/shared-ui/eds-form/eds-form.css +0 -3
- package/dist/collection/shared-ui/eds-form/eds-form.js +0 -441
- package/dist/collection/shared-ui/eds-form/eds-form.stories.js +0 -73
- package/dist/collection/shared-ui/eds-frame/eds-frame.css +0 -116
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +0 -234
- package/dist/collection/shared-ui/eds-frame/eds-frame.stories.js +0 -52
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.css +0 -120
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.js +0 -192
- package/dist/collection/shared-ui/eds-fullscreen-menu/eds-fullscreen-menu.stories.js +0 -77
- package/dist/collection/shared-ui/eds-header/eds-header.css +0 -138
- package/dist/collection/shared-ui/eds-header/eds-header.js +0 -202
- package/dist/collection/shared-ui/eds-header/eds-header.stories.js +0 -40
- package/dist/collection/shared-ui/eds-login/eds-login.js +0 -190
- package/dist/collection/shared-ui/eds-login/eds-login.stories.js +0 -37
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.css +0 -109
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.js +0 -230
- package/dist/collection/shared-ui/eds-matomo-notice/eds-matomo-notice.stories.js +0 -36
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.css +0 -124
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +0 -92
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.stories.js +0 -21
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.css +0 -29
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.js +0 -136
- package/dist/collection/shared-ui/eds-splash-screen/eds-splash-screen.stories.js +0 -23
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.css +0 -361
- package/dist/collection/shared-ui/eds-steps-v2/eds-steps-v2.js +0 -219
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.css +0 -7776
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +0 -221
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.stories.js +0 -54
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.css +0 -51
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +0 -54
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.stories.js +0 -25
- package/dist/collection/shared-ui/eds-user/eds-user.css +0 -7776
- package/dist/collection/shared-ui/eds-user/eds-user.js +0 -77
- package/dist/collection/shared-ui/eds-user/eds-user.stories.js +0 -45
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +0 -39
- package/dist/collection/utils/api.js +0 -27
- package/dist/collection/utils/color.js +0 -129
- package/dist/collection/utils/eds-form/formUtils.js +0 -65
- package/dist/collection/utils/eds-form/formValidators.js +0 -64
- package/dist/collection/utils/eds-form/individualValidator.js +0 -46
- package/dist/collection/utils/eds-form/validateInput.js +0 -23
- package/dist/collection/utils/global.js +0 -8
- package/dist/collection/utils/keycloak.js +0 -85
- package/dist/collection/utils/sharedUtils.js +0 -17
- package/dist/collection/utils/toastManager.js +0 -29
- package/dist/components/analytics.js +0 -56
- package/dist/components/arrow-diagonal-black.js +0 -3
- package/dist/components/arrow-right.js +0 -5
- package/dist/components/bluesky.js +0 -14
- package/dist/components/bookmark.js +0 -16
- package/dist/components/chevron-down.js +0 -12
- package/dist/components/chevron-left.js +0 -11
- package/dist/components/chevron-right.js +0 -5
- package/dist/components/chevron-up.js +0 -12
- package/dist/components/close.js +0 -5
- package/dist/components/color-primary-palette.d.ts +0 -11
- package/dist/components/color-primary-palette.js +0 -6
- package/dist/components/color-secondary-palette.d.ts +0 -11
- package/dist/components/color-secondary-palette.js +0 -6
- package/dist/components/color-support-palette.d.ts +0 -11
- package/dist/components/color-support-palette.js +0 -6
- package/dist/components/components-section.d.ts +0 -11
- package/dist/components/components-section.js +0 -202
- package/dist/components/components.css +0 -7776
- package/dist/components/copy.js +0 -5
- package/dist/components/correct-use-of-colors.d.ts +0 -11
- package/dist/components/correct-use-of-colors.js +0 -93
- package/dist/components/docs-palettes.d.ts +0 -11
- package/dist/components/docs-palettes.js +0 -96
- package/dist/components/docs-tokens.d.ts +0 -11
- package/dist/components/docs-tokens.js +0 -80
- package/dist/components/eds-accordion.d.ts +0 -11
- package/dist/components/eds-accordion.js +0 -6
- package/dist/components/eds-accordion2.js +0 -119
- package/dist/components/eds-alert.d.ts +0 -11
- package/dist/components/eds-alert.js +0 -6
- package/dist/components/eds-alert2.js +0 -135
- package/dist/components/eds-app-root.d.ts +0 -11
- package/dist/components/eds-app-root.js +0 -89
- package/dist/components/eds-avatar.d.ts +0 -11
- package/dist/components/eds-avatar.js +0 -6
- package/dist/components/eds-block-break.d.ts +0 -11
- package/dist/components/eds-block-break.js +0 -6
- package/dist/components/eds-block-break2.js +0 -34
- package/dist/components/eds-breadcrumb.d.ts +0 -11
- package/dist/components/eds-breadcrumb.js +0 -173
- package/dist/components/eds-button.d.ts +0 -11
- package/dist/components/eds-button.js +0 -6
- package/dist/components/eds-card-desc.d.ts +0 -11
- package/dist/components/eds-card-desc.js +0 -6
- package/dist/components/eds-card-generic.d.ts +0 -11
- package/dist/components/eds-card-generic.js +0 -6
- package/dist/components/eds-card-generic2.js +0 -147
- package/dist/components/eds-card-project.d.ts +0 -11
- package/dist/components/eds-card-project.js +0 -109
- package/dist/components/eds-card-section.d.ts +0 -11
- package/dist/components/eds-card-section.js +0 -92
- package/dist/components/eds-card-tags.d.ts +0 -11
- package/dist/components/eds-card-tags.js +0 -45
- package/dist/components/eds-card-title.d.ts +0 -11
- package/dist/components/eds-card-title.js +0 -6
- package/dist/components/eds-card-tool.d.ts +0 -11
- package/dist/components/eds-card-tool.js +0 -137
- package/dist/components/eds-card-wrapper.d.ts +0 -11
- package/dist/components/eds-card-wrapper.js +0 -49
- package/dist/components/eds-code-block.d.ts +0 -11
- package/dist/components/eds-code-block.js +0 -6
- package/dist/components/eds-code-block2.js +0 -2510
- package/dist/components/eds-cookies-preference.d.ts +0 -11
- package/dist/components/eds-cookies-preference.js +0 -87
- package/dist/components/eds-dropdown.d.ts +0 -11
- package/dist/components/eds-dropdown.js +0 -6
- package/dist/components/eds-feedback.d.ts +0 -11
- package/dist/components/eds-feedback.js +0 -105
- package/dist/components/eds-footer.d.ts +0 -11
- package/dist/components/eds-footer.js +0 -6
- package/dist/components/eds-form.d.ts +0 -11
- package/dist/components/eds-frame.d.ts +0 -11
- package/dist/components/eds-frame.js +0 -120
- package/dist/components/eds-fullscreen-menu.d.ts +0 -11
- package/dist/components/eds-header.d.ts +0 -11
- package/dist/components/eds-icon-arrow-diagonal.d.ts +0 -11
- package/dist/components/eds-icon-arrow-diagonal.js +0 -33
- package/dist/components/eds-icon-arrow-right.d.ts +0 -11
- package/dist/components/eds-icon-arrow-right.js +0 -33
- package/dist/components/eds-icon-bluesky.d.ts +0 -11
- package/dist/components/eds-icon-bluesky.js +0 -33
- package/dist/components/eds-icon-bookmark.d.ts +0 -11
- package/dist/components/eds-icon-bookmark.js +0 -33
- package/dist/components/eds-icon-chevron-down.d.ts +0 -11
- package/dist/components/eds-icon-chevron-down.js +0 -33
- package/dist/components/eds-icon-chevron-left.d.ts +0 -11
- package/dist/components/eds-icon-chevron-left.js +0 -33
- package/dist/components/eds-icon-chevron-right.d.ts +0 -11
- package/dist/components/eds-icon-chevron-right.js +0 -33
- package/dist/components/eds-icon-chevron-up.d.ts +0 -11
- package/dist/components/eds-icon-chevron-up.js +0 -33
- package/dist/components/eds-icon-close.d.ts +0 -11
- package/dist/components/eds-icon-close.js +0 -33
- package/dist/components/eds-icon-copy.d.ts +0 -11
- package/dist/components/eds-icon-copy.js +0 -33
- package/dist/components/eds-icon-eu.d.ts +0 -11
- package/dist/components/eds-icon-eu.js +0 -33
- package/dist/components/eds-icon-external.d.ts +0 -11
- package/dist/components/eds-icon-external.js +0 -33
- package/dist/components/eds-icon-facebook.d.ts +0 -11
- package/dist/components/eds-icon-facebook.js +0 -33
- package/dist/components/eds-icon-gitlab.d.ts +0 -11
- package/dist/components/eds-icon-gitlab.js +0 -33
- package/dist/components/eds-icon-linkedin.d.ts +0 -11
- package/dist/components/eds-icon-linkedin.js +0 -33
- package/dist/components/eds-icon-loader.d.ts +0 -11
- package/dist/components/eds-icon-loader.js +0 -33
- package/dist/components/eds-icon-mastodon.d.ts +0 -11
- package/dist/components/eds-icon-mastodon.js +0 -33
- package/dist/components/eds-icon-menu.d.ts +0 -11
- package/dist/components/eds-icon-menu.js +0 -33
- package/dist/components/eds-icon-minus.d.ts +0 -11
- package/dist/components/eds-icon-minus.js +0 -33
- package/dist/components/eds-icon-more.d.ts +0 -11
- package/dist/components/eds-icon-more.js +0 -33
- package/dist/components/eds-icon-paper.d.ts +0 -11
- package/dist/components/eds-icon-paper.js +0 -33
- package/dist/components/eds-icon-plus.d.ts +0 -11
- package/dist/components/eds-icon-plus.js +0 -33
- package/dist/components/eds-icon-portal.d.ts +0 -11
- package/dist/components/eds-icon-portal.js +0 -33
- package/dist/components/eds-icon-private.d.ts +0 -11
- package/dist/components/eds-icon-private.js +0 -33
- package/dist/components/eds-icon-public.d.ts +0 -11
- package/dist/components/eds-icon-public.js +0 -33
- package/dist/components/eds-icon-search.d.ts +0 -11
- package/dist/components/eds-icon-search.js +0 -33
- package/dist/components/eds-icon-star.d.ts +0 -11
- package/dist/components/eds-icon-star.js +0 -33
- package/dist/components/eds-icon-success.d.ts +0 -11
- package/dist/components/eds-icon-success.js +0 -33
- package/dist/components/eds-icon-thumbs-down.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-down.js +0 -33
- package/dist/components/eds-icon-thumbs-up.d.ts +0 -11
- package/dist/components/eds-icon-thumbs-up.js +0 -33
- package/dist/components/eds-icon-tutorial.d.ts +0 -11
- package/dist/components/eds-icon-tutorial.js +0 -33
- package/dist/components/eds-icon-twitter.d.ts +0 -11
- package/dist/components/eds-icon-twitter.js +0 -33
- package/dist/components/eds-icon-unknown.d.ts +0 -11
- package/dist/components/eds-icon-unknown.js +0 -33
- package/dist/components/eds-icon-updown.d.ts +0 -11
- package/dist/components/eds-icon-updown.js +0 -33
- package/dist/components/eds-icon-user.d.ts +0 -11
- package/dist/components/eds-icon-user.js +0 -33
- package/dist/components/eds-icon-wrapper.d.ts +0 -11
- package/dist/components/eds-icon-wrapper.js +0 -6
- package/dist/components/eds-icon-youtube.d.ts +0 -11
- package/dist/components/eds-icon-youtube.js +0 -33
- package/dist/components/eds-img.d.ts +0 -11
- package/dist/components/eds-img.js +0 -6
- package/dist/components/eds-input-field.d.ts +0 -11
- package/dist/components/eds-input-field.js +0 -6
- package/dist/components/eds-input-footer.d.ts +0 -11
- package/dist/components/eds-input-footer.js +0 -6
- package/dist/components/eds-input-footer2.js +0 -43
- package/dist/components/eds-input-label.d.ts +0 -11
- package/dist/components/eds-input-label.js +0 -6
- package/dist/components/eds-input-label2.js +0 -35
- package/dist/components/eds-input-range.d.ts +0 -11
- package/dist/components/eds-input-range.js +0 -6
- package/dist/components/eds-input-search.d.ts +0 -11
- package/dist/components/eds-input-search.js +0 -6
- package/dist/components/eds-input-select.d.ts +0 -11
- package/dist/components/eds-input-select.js +0 -6
- package/dist/components/eds-input.d.ts +0 -11
- package/dist/components/eds-input.js +0 -6
- package/dist/components/eds-link.d.ts +0 -11
- package/dist/components/eds-link.js +0 -6
- package/dist/components/eds-login.d.ts +0 -11
- package/dist/components/eds-login.js +0 -6
- package/dist/components/eds-logo.d.ts +0 -11
- package/dist/components/eds-logo.js +0 -6
- package/dist/components/eds-matomo-notice.d.ts +0 -11
- package/dist/components/eds-matomo-notice.js +0 -6
- package/dist/components/eds-matomo-notice2.js +0 -158
- package/dist/components/eds-modal.d.ts +0 -11
- package/dist/components/eds-modal.js +0 -144
- package/dist/components/eds-pagination.d.ts +0 -11
- package/dist/components/eds-pagination.js +0 -6
- package/dist/components/eds-progress-bar.d.ts +0 -11
- package/dist/components/eds-progress-bar.js +0 -6
- package/dist/components/eds-progress-bar2.js +0 -43
- package/dist/components/eds-rating.d.ts +0 -11
- package/dist/components/eds-rating.js +0 -6
- package/dist/components/eds-rating2.js +0 -91
- package/dist/components/eds-section-core.d.ts +0 -11
- package/dist/components/eds-section-core.js +0 -6
- package/dist/components/eds-section-core2.js +0 -44
- package/dist/components/eds-section-heading.d.ts +0 -11
- package/dist/components/eds-section-heading.js +0 -6
- package/dist/components/eds-section-heading2.js +0 -57
- package/dist/components/eds-social-networks.d.ts +0 -11
- package/dist/components/eds-social-networks.js +0 -6
- package/dist/components/eds-spinner.d.ts +0 -11
- package/dist/components/eds-spinner.js +0 -6
- package/dist/components/eds-spinner2.js +0 -72
- package/dist/components/eds-splash-screen.d.ts +0 -11
- package/dist/components/eds-splash-screen.js +0 -6
- package/dist/components/eds-steps-v2.d.ts +0 -11
- package/dist/components/eds-steps.d.ts +0 -11
- package/dist/components/eds-steps.js +0 -6
- package/dist/components/eds-switch.d.ts +0 -11
- package/dist/components/eds-switch.js +0 -57
- package/dist/components/eds-table.d.ts +0 -11
- package/dist/components/eds-table.js +0 -6
- package/dist/components/eds-tabs.d.ts +0 -11
- package/dist/components/eds-tabs.js +0 -152
- package/dist/components/eds-tag.d.ts +0 -11
- package/dist/components/eds-tag.js +0 -6
- package/dist/components/eds-tag2.js +0 -55
- package/dist/components/eds-timeline.d.ts +0 -11
- package/dist/components/eds-timeline.js +0 -119
- package/dist/components/eds-toast-manager.d.ts +0 -11
- package/dist/components/eds-toast-manager.js +0 -80
- package/dist/components/eds-toast.d.ts +0 -11
- package/dist/components/eds-toast.js +0 -6
- package/dist/components/eds-toast2.js +0 -104
- package/dist/components/eds-tooltip.d.ts +0 -11
- package/dist/components/eds-tooltip.js +0 -129
- package/dist/components/eds-trl.d.ts +0 -11
- package/dist/components/eds-trl.js +0 -138
- package/dist/components/eds-user.d.ts +0 -11
- package/dist/components/eu.js +0 -30
- package/dist/components/facebook.js +0 -14
- package/dist/components/gradient-primary-palette.d.ts +0 -11
- package/dist/components/gradient-primary-palette.js +0 -6
- package/dist/components/gradient-secondary-palette.d.ts +0 -11
- package/dist/components/gradient-secondary-palette.js +0 -6
- package/dist/components/gradient-support-palette.d.ts +0 -11
- package/dist/components/gradient-support-palette.js +0 -6
- package/dist/components/incorrect-use-of-colors.d.ts +0 -11
- package/dist/components/incorrect-use-of-colors.js +0 -81
- package/dist/components/index.d.ts +0 -33
- package/dist/components/index.js +0 -1
- package/dist/components/linkedin.js +0 -28
- package/dist/components/loader.js +0 -30
- package/dist/components/logo-color-margins.js +0 -118
- package/dist/components/logo-color.js +0 -115
- package/dist/components/logo-space.d.ts +0 -11
- package/dist/components/logo-space.js +0 -101
- package/dist/components/logo-variations-horizontal.d.ts +0 -11
- package/dist/components/logo-variations-horizontal.js +0 -6
- package/dist/components/logo-variations-tabs.d.ts +0 -11
- package/dist/components/logo-variations-tabs.js +0 -60
- package/dist/components/logo-variations-vertical.d.ts +0 -11
- package/dist/components/logo-variations-vertical.js +0 -6
- package/dist/components/logo-white-no-bg.js +0 -1029
- package/dist/components/logo-wrong-usage.d.ts +0 -11
- package/dist/components/logo-wrong-usage.js +0 -35
- package/dist/components/mastodon.js +0 -14
- package/dist/components/menu.js +0 -11
- package/dist/components/minus.js +0 -11
- package/dist/components/mono.js +0 -11
- package/dist/components/more.js +0 -13
- package/dist/components/p-024c7937.js +0 -1
- package/dist/components/p-032f9f64.entry.js +0 -1
- package/dist/components/p-05754401.js +0 -1
- package/dist/components/p-058cf100.entry.js +0 -1
- package/dist/components/p-063b0683.entry.js +0 -1
- package/dist/components/p-0be28996.js +0 -1
- package/dist/components/p-0ce924b1.entry.js +0 -1
- package/dist/components/p-0e6d43c5.js +0 -1
- package/dist/components/p-112122d6.js +0 -1
- package/dist/components/p-13efafb9.js +0 -1
- package/dist/components/p-18eb23ff.entry.js +0 -1
- package/dist/components/p-1aab55cf.entry.js +0 -1
- package/dist/components/p-1b2913c8.js +0 -1
- package/dist/components/p-1b4e9576.entry.js +0 -1
- package/dist/components/p-1ded61bd.js +0 -1
- package/dist/components/p-2066b033.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-2117611b.js +0 -1
- package/dist/components/p-21a746a4.entry.js +0 -9
- package/dist/components/p-22f9e720.js +0 -1
- package/dist/components/p-2692f93d.js +0 -1
- package/dist/components/p-29041952.js +0 -1
- package/dist/components/p-29e807f5.entry.js +0 -1
- package/dist/components/p-2c1be2bb.entry.js +0 -1
- package/dist/components/p-30a319d5.entry.js +0 -1
- package/dist/components/p-32e6c4df.js +0 -1
- package/dist/components/p-35ed7ebf.entry.js +0 -1
- package/dist/components/p-373119b3.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-3a7be9a7.entry.js +0 -1
- package/dist/components/p-3af94671.entry.js +0 -1
- package/dist/components/p-3f480c3c.entry.js +0 -1
- package/dist/components/p-41e89554.entry.js +0 -1
- package/dist/components/p-424ba743.entry.js +0 -1
- package/dist/components/p-435a8942.entry.js +0 -1
- package/dist/components/p-4587d0ef.js +0 -1
- package/dist/components/p-4687b64c.js +0 -1
- package/dist/components/p-46d0716d.js +0 -1
- package/dist/components/p-4c7852f8.entry.js +0 -1
- package/dist/components/p-4e8a317b.entry.js +0 -1
- package/dist/components/p-50e27321.js +0 -1
- package/dist/components/p-526cdc57.entry.js +0 -1
- package/dist/components/p-52913e2e.entry.js +0 -1
- package/dist/components/p-54b8f143.js +0 -1
- package/dist/components/p-59d963d1.entry.js +0 -1
- package/dist/components/p-5ab1d64a.js +0 -1
- package/dist/components/p-5d046674.js +0 -1
- package/dist/components/p-622dd2a1.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-694fc085.js +0 -1
- package/dist/components/p-69c5074b.js +0 -1
- package/dist/components/p-6dc26e53.entry.js +0 -1
- package/dist/components/p-7198c024.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-7fa88255.entry.js +0 -1
- package/dist/components/p-81899237.js +0 -1
- package/dist/components/p-83936521.entry.js +0 -1
- package/dist/components/p-83ff4a95.js +0 -1
- package/dist/components/p-8527ef5f.entry.js +0 -1
- package/dist/components/p-85ad681a.entry.js +0 -1
- package/dist/components/p-8653bc36.entry.js +0 -1
- package/dist/components/p-86bb73dc.js +0 -1
- package/dist/components/p-8983de37.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-91440d2f.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-941240b5.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-9a1a6df1.entry.js +0 -1
- package/dist/components/p-9c5a453b.js +0 -1
- package/dist/components/p-9cbcccf8.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-aefcb641.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-b47d115d.entry.js +0 -1
- package/dist/components/p-b55b0091.entry.js +0 -1
- package/dist/components/p-b73410de.js +0 -1
- package/dist/components/p-b76aa402.entry.js +0 -1
- package/dist/components/p-b822abb7.js +0 -1
- package/dist/components/p-b8ba7e5c.entry.js +0 -1
- package/dist/components/p-b96fc468.entry.js +0 -1
- package/dist/components/p-ba720bf3.js +0 -1
- package/dist/components/p-bab07ba6.entry.js +0 -1
- package/dist/components/p-bcbc7b7f.entry.js +0 -1
- package/dist/components/p-c1e4ef92.js +0 -1
- package/dist/components/p-c776b6f8.js +0 -1
- package/dist/components/p-c86243a3.entry.js +0 -1
- package/dist/components/p-c8abff96.entry.js +0 -1
- package/dist/components/p-c8e7c854.js +0 -1
- package/dist/components/p-c935aa46.entry.js +0 -1
- package/dist/components/p-cccacbd3.js +0 -2
- package/dist/components/p-cccff1e3.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-cdf19579.js +0 -1
- package/dist/components/p-d525ed36.entry.js +0 -1
- package/dist/components/p-d94a44b9.entry.js +0 -1
- package/dist/components/p-d962849c.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-dcd4de1f.entry.js +0 -1
- package/dist/components/p-e1255160.js +0 -1
- package/dist/components/p-e2d5a487.js +0 -1
- package/dist/components/p-e64cd6f7.entry.js +0 -1
- package/dist/components/p-ea089f4e.entry.js +0 -1
- package/dist/components/p-eb0b93d5.js +0 -1
- package/dist/components/p-ecbb679f.js +0 -1
- package/dist/components/p-ece618b3.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-f48a4313.entry.js +0 -1
- package/dist/components/p-ff7acb55.entry.js +0 -1
- package/dist/components/paper.js +0 -15
- package/dist/components/plus.js +0 -12
- package/dist/components/portal.js +0 -18
- package/dist/components/primary.js +0 -65
- package/dist/components/primary2.js +0 -67
- package/dist/components/private.js +0 -25
- package/dist/components/public.js +0 -16
- package/dist/components/search.js +0 -12
- package/dist/components/secondary.js +0 -92
- package/dist/components/secondary2.js +0 -107
- package/dist/components/star.js +0 -5
- package/dist/components/success.js +0 -18
- package/dist/components/support.js +0 -94
- package/dist/components/support2.js +0 -85
- package/dist/components/svg-repository.d.ts +0 -11
- package/dist/components/svg-repository.js +0 -417
- package/dist/components/thumbs-down.js +0 -5
- package/dist/components/thumbs-up.js +0 -6
- package/dist/components/token-list.d.ts +0 -11
- package/dist/components/token-list.js +0 -6
- package/dist/components/token-radii.d.ts +0 -11
- package/dist/components/token-radii.js +0 -6
- package/dist/components/token-radii2.js +0 -47
- package/dist/components/token-ratios.d.ts +0 -11
- package/dist/components/token-ratios.js +0 -54
- package/dist/components/token-shadows.d.ts +0 -11
- package/dist/components/token-shadows.js +0 -6
- package/dist/components/token-shadows2.js +0 -56
- package/dist/components/token-spacing.d.ts +0 -11
- package/dist/components/token-spacing.js +0 -29
- package/dist/components/token-typography.d.ts +0 -11
- package/dist/components/token-typography.js +0 -255
- package/dist/components/tutotial.js +0 -27
- package/dist/components/twitter.js +0 -14
- package/dist/components/unknown.js +0 -22
- package/dist/components/up-and-down.js +0 -12
- package/dist/components/user.js +0 -16
- package/dist/components/youtube.js +0 -14
- package/dist/esm/analytics-44b1416b.js +0 -56
- package/dist/esm/arrow-diagonal-black-8f0494c3.js +0 -3
- package/dist/esm/arrow-right-9322ba8a.js +0 -5
- package/dist/esm/bluesky-cc5edd2d.js +0 -14
- package/dist/esm/bookmark-c200037c.js +0 -16
- package/dist/esm/chevron-down-6144c823.js +0 -12
- package/dist/esm/chevron-left-ca6c66e1.js +0 -11
- package/dist/esm/chevron-right-b88ed2d4.js +0 -5
- package/dist/esm/chevron-up-c66bd477.js +0 -12
- package/dist/esm/close-87fc0d63.js +0 -5
- package/dist/esm/color-2554aad6.js +0 -132
- package/dist/esm/color-primary-palette_6.entry.js +0 -331
- package/dist/esm/components.js +0 -20
- package/dist/esm/copy-03b72cb6.js +0 -5
- package/dist/esm/eds-avatar_24.entry.js +0 -2073
- package/dist/esm/eds-card-desc_3.entry.js +0 -107
- package/dist/esm/eds-login_2.entry.js +0 -2095
- package/dist/esm/eds-pagination_2.entry.js +0 -398
- package/dist/esm/eu-9ddde93a.js +0 -30
- package/dist/esm/facebook-9cb5c17f.js +0 -14
- package/dist/esm/index-39c58238.js +0 -46
- package/dist/esm/index.js +0 -1
- package/dist/esm/linkedin-e8650abb.js +0 -28
- package/dist/esm/loader-c9628637.js +0 -30
- package/dist/esm/loader.js +0 -11
- package/dist/esm/logo-color-7f1fd803.js +0 -115
- package/dist/esm/logo-color-margins-ff8ce71b.js +0 -118
- package/dist/esm/logo-variations-horizontal_2.entry.js +0 -31
- package/dist/esm/logo-white-no-bg-f382f86f.js +0 -1029
- package/dist/esm/mastodon-3703ec61.js +0 -14
- package/dist/esm/menu-340ea948.js +0 -11
- package/dist/esm/minus-b30a7c71.js +0 -11
- package/dist/esm/mono-53f70232.js +0 -11
- package/dist/esm/more-4449d549.js +0 -13
- package/dist/esm/paper-8e74ea31.js +0 -15
- package/dist/esm/plus-89c07be2.js +0 -12
- package/dist/esm/portal-d6c8ce56.js +0 -18
- package/dist/esm/private-1c25ff8e.js +0 -25
- package/dist/esm/public-d4d8c585.js +0 -16
- package/dist/esm/search-fbcd79c2.js +0 -12
- package/dist/esm/sharedUtils-a550989c.js +0 -19
- package/dist/esm/star-0da9b5e9.js +0 -5
- package/dist/esm/success-443809da.js +0 -18
- package/dist/esm/svg-repository.entry.js +0 -333
- package/dist/esm/thumbs-down-a18fd049.js +0 -5
- package/dist/esm/thumbs-up-c19a71bc.js +0 -6
- package/dist/esm/toastManager-d9eee791.js +0 -31
- package/dist/esm/token-list_3.entry.js +0 -294
- package/dist/esm/tutotial-150ee1fd.js +0 -27
- package/dist/esm/twitter-ac21b505.js +0 -14
- package/dist/esm/unknown-ed01a24c.js +0 -22
- package/dist/esm/up-and-down-d747abee.js +0 -12
- package/dist/esm/user-71ebdc15.js +0 -16
- package/dist/esm/youtube-efbfbdc4.js +0 -14
- package/dist/hydrate/index.d.ts +0 -242
- package/dist/hydrate/index.js +0 -32710
- package/dist/hydrate/index.mjs +0 -32702
- package/dist/hydrate/package.json +0 -12
- package/dist/index.cjs.js +0 -1
- package/dist/index.js +0 -1
- package/dist/stencil.config.js +0 -60
- package/loader/cdn.js +0 -1
- package/loader/index.cjs.js +0 -1
- package/loader/index.d.ts +0 -24
- package/loader/index.es2017.js +0 -1
- package/loader/index.js +0 -2
- package/loader/package.json +0 -11
- /package/dist/{esm → components}/app-globals-0f993ce5.js +0 -0
- /package/dist/components/{index2.js → index-144c9ae8.js} +0 -0
- /package/dist/components/{sharedUtils.js → sharedUtils-6a231dd4.js} +0 -0
- /package/dist/components/{toastManager.js → toastManager-b716afd8.js} +0 -0
package/dist/components/copy.js
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
const copy = `<svg width="20" height="20" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
|
2
|
-
<path stroke-linecap="round" stroke-linejoin="round" d="M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"></path>
|
|
3
|
-
</svg>`;
|
|
4
|
-
|
|
5
|
-
export { copy as c };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface CorrectUseOfColors extends Components.CorrectUseOfColors, HTMLElement {}
|
|
4
|
-
export const CorrectUseOfColors: {
|
|
5
|
-
prototype: CorrectUseOfColors;
|
|
6
|
-
new (): CorrectUseOfColors;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$3 } from './eds-icon-wrapper2.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './eds-link2.js';
|
|
4
|
-
|
|
5
|
-
const primary = [
|
|
6
|
-
{
|
|
7
|
-
background: '#9CE142'
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
background: '#00C959'
|
|
11
|
-
},
|
|
12
|
-
{
|
|
13
|
-
background: '#00A595'
|
|
14
|
-
}
|
|
15
|
-
];
|
|
16
|
-
const support = [
|
|
17
|
-
{
|
|
18
|
-
background: '#141414'
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
background: '#383838'
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
background: '#CCCCCC'
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
background: '#E6E6E6'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
background: '#FFFFFF'
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
const blue = [
|
|
34
|
-
{
|
|
35
|
-
background: '#3FA9F5'
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
background: '#0644F4'
|
|
39
|
-
}
|
|
40
|
-
];
|
|
41
|
-
const purple = [
|
|
42
|
-
{
|
|
43
|
-
background: '#C461FF'
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
background: '#5D3DF9'
|
|
47
|
-
}
|
|
48
|
-
];
|
|
49
|
-
const red = [
|
|
50
|
-
{
|
|
51
|
-
background: '#FFA543'
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
background: '#FF4D68'
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
const CorrectUseOfColors$1 = /*@__PURE__*/ proxyCustomElement(class CorrectUseOfColors extends HTMLElement {
|
|
58
|
-
constructor() {
|
|
59
|
-
super();
|
|
60
|
-
this.__registerHost();
|
|
61
|
-
}
|
|
62
|
-
render() {
|
|
63
|
-
return (h("div", { key: '966cb542b868e89c3f2538548e8a1ca8e20ea8d8', class: "container" }, h("p", { key: '3c595ffa9a2de45b681924354486309004d4ceaf', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '1d1fded0f8cf78cec9e364e5b6844598b55f3f86', label: "primary", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'abae691bb80eca1019f97375997b1aa6a577ba8b', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '251e6d8ad16d70974b67fa044d53abd1be79ccac', class: "flex" }, h("div", { key: 'de5b9b6720aababb693421663c52db85cee1b5fc', class: "w-full" }, h("ul", { key: 'a61f669f45c2f9d3b53d87bacc222a4274f93d34', 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: 'e7787d0ae843d7767ecac3267f11325dcfecf948', class: "w-full" }, h("ul", { key: '0d740ad8178c88175939d32a4f84d518f587e43a', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '6c59b2c574f5039baafd91a2939fbbb307732500', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '03e9ca7b0831c2b1d1908001324a38147ecea835', label: "purple", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '021affd3b5db00ccb5ef0d51de4552c5d3a11f44', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'b7a5c4c10adab099c57ed70c0d2186d791aa70ec', class: "flex" }, h("div", { key: '3732c49a47158c206e1b40fc5425e555487ec757', class: "w-full" }, h("ul", { key: '54a5d35510bd77397d1418aa2638cf310534e986', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, purple.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '048de44bd69a7b6ecefe3188d76821e4d5145620', class: "w-full" }, h("ul", { key: 'e3f8cadce4b9a575e1d844958cfccf20a19db681', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '14d7f9c88ae769d6feb2a8344f8b45b40d4ae095', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '810bdfa6fd175f9d483129b70bbae469051e0e0d', label: "blue", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: 'fb8a9712f8e1ae1cffbb85c79f7e9c2657f867db', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: '1df0919bb4c75ee251d7f5c8cf95bb2e2e990242', class: "flex" }, h("div", { key: '5a898462aa680267f4ac35aefb98e60b7f486c63', class: "w-full" }, h("ul", { key: 'ad6f3e6ccde7d225be344efbc176064fc89aa796', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, blue.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '8dd6e01b989c8589be6b553c85f0512c268ac369', class: "w-full" }, h("ul", { key: 'c36937d99efd585c4e8a37b80de5bce82374186c', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }))))))), h("p", { key: '452c68d1c797de34e531d7c734d350fcc36ae2f2', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '17453c9d78c20583c989281672c0f41bbe8d036f', label: "redish", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#primary-palette", "extra-class": "inline-block ml-4" }), "and", h("eds-link", { key: '3e78eb924b6a857674d50d4a209e4843f76e5fc3', label: "support", size: "small", intent: "underline", icon: "chevron-right", url: "../color-palette/#support-palette", "extra-class": "inline-block ml-4" }), "color palettes."), h("div", { key: 'ae3e2a703633013f632df3a75f45ec932ce5e13b', class: "flex" }, h("div", { key: '4a0f256fa355dcbd6d6fc0e95e81a6c2821c917d', class: "w-full" }, h("ul", { key: '8aaf611ed9b87b86d0c1b47b1e37cb01989838b2', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, red.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[225px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))), h("div", { key: '112e50da1627a671fbca843111becf51cd02ebc5', class: "w-full" }, h("ul", { key: '14033bd08a9d16bd0b6cfe8b87acc2a841c48a29', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, support.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
64
|
-
}
|
|
65
|
-
}, [0, "correct-use-of-colors"]);
|
|
66
|
-
function defineCustomElement$1() {
|
|
67
|
-
if (typeof customElements === "undefined") {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
const components = ["correct-use-of-colors", "eds-icon-wrapper", "eds-link"];
|
|
71
|
-
components.forEach(tagName => { switch (tagName) {
|
|
72
|
-
case "correct-use-of-colors":
|
|
73
|
-
if (!customElements.get(tagName)) {
|
|
74
|
-
customElements.define(tagName, CorrectUseOfColors$1);
|
|
75
|
-
}
|
|
76
|
-
break;
|
|
77
|
-
case "eds-icon-wrapper":
|
|
78
|
-
if (!customElements.get(tagName)) {
|
|
79
|
-
defineCustomElement$3();
|
|
80
|
-
}
|
|
81
|
-
break;
|
|
82
|
-
case "eds-link":
|
|
83
|
-
if (!customElements.get(tagName)) {
|
|
84
|
-
defineCustomElement$2();
|
|
85
|
-
}
|
|
86
|
-
break;
|
|
87
|
-
} });
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
const CorrectUseOfColors = CorrectUseOfColors$1;
|
|
91
|
-
const defineCustomElement = defineCustomElement$1;
|
|
92
|
-
|
|
93
|
-
export { CorrectUseOfColors, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface DocsPalettes extends Components.DocsPalettes, HTMLElement {}
|
|
4
|
-
export const DocsPalettes: {
|
|
5
|
-
prototype: DocsPalettes;
|
|
6
|
-
new (): DocsPalettes;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$a } from './primary.js';
|
|
3
|
-
import { d as defineCustomElement$9 } from './secondary.js';
|
|
4
|
-
import { d as defineCustomElement$8 } from './support.js';
|
|
5
|
-
import { d as defineCustomElement$7 } from './eds-block-break2.js';
|
|
6
|
-
import { d as defineCustomElement$6 } from './eds-code-block2.js';
|
|
7
|
-
import { d as defineCustomElement$5 } from './eds-icon-wrapper2.js';
|
|
8
|
-
import { d as defineCustomElement$4 } from './primary2.js';
|
|
9
|
-
import { d as defineCustomElement$3 } from './secondary2.js';
|
|
10
|
-
import { d as defineCustomElement$2 } from './support2.js';
|
|
11
|
-
|
|
12
|
-
const DocsPalettes$1 = /*@__PURE__*/ proxyCustomElement(class DocsPalettes extends HTMLElement {
|
|
13
|
-
constructor() {
|
|
14
|
-
super();
|
|
15
|
-
this.__registerHost();
|
|
16
|
-
this.tabIndex = undefined;
|
|
17
|
-
}
|
|
18
|
-
renderContent() {
|
|
19
|
-
switch (this.tabIndex) {
|
|
20
|
-
case 0:
|
|
21
|
-
return (h("div", null, h("h2", null, "Primary Palette"), h("color-primary-palette", null), h("h2", null, "Secondary Palette"), h("color-secondary-palette", null), h("h2", null, "Support Palette"), h("color-support-palette", null)));
|
|
22
|
-
case 1:
|
|
23
|
-
return (h("div", null, h("h2", null, "Primary Palette"), h("gradient-primary-palette", null), h("h2", null, "Secondary Palette"), h("gradient-secondary-palette", null), h("h2", null, "Support Palette"), h("gradient-support-palette", null)));
|
|
24
|
-
default:
|
|
25
|
-
return h("p", null, "Content not available.");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
render() {
|
|
29
|
-
return h("div", { key: 'f985628b9ea3f02a511e2facbda99b54f0723acf', class: "container" }, this.renderContent());
|
|
30
|
-
}
|
|
31
|
-
}, [0, "docs-palettes", {
|
|
32
|
-
"tabIndex": [2, "tab-index"]
|
|
33
|
-
}]);
|
|
34
|
-
function defineCustomElement$1() {
|
|
35
|
-
if (typeof customElements === "undefined") {
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
const components = ["docs-palettes", "color-primary-palette", "color-secondary-palette", "color-support-palette", "eds-block-break", "eds-code-block", "eds-icon-wrapper", "gradient-primary-palette", "gradient-secondary-palette", "gradient-support-palette"];
|
|
39
|
-
components.forEach(tagName => { switch (tagName) {
|
|
40
|
-
case "docs-palettes":
|
|
41
|
-
if (!customElements.get(tagName)) {
|
|
42
|
-
customElements.define(tagName, DocsPalettes$1);
|
|
43
|
-
}
|
|
44
|
-
break;
|
|
45
|
-
case "color-primary-palette":
|
|
46
|
-
if (!customElements.get(tagName)) {
|
|
47
|
-
defineCustomElement$a();
|
|
48
|
-
}
|
|
49
|
-
break;
|
|
50
|
-
case "color-secondary-palette":
|
|
51
|
-
if (!customElements.get(tagName)) {
|
|
52
|
-
defineCustomElement$9();
|
|
53
|
-
}
|
|
54
|
-
break;
|
|
55
|
-
case "color-support-palette":
|
|
56
|
-
if (!customElements.get(tagName)) {
|
|
57
|
-
defineCustomElement$8();
|
|
58
|
-
}
|
|
59
|
-
break;
|
|
60
|
-
case "eds-block-break":
|
|
61
|
-
if (!customElements.get(tagName)) {
|
|
62
|
-
defineCustomElement$7();
|
|
63
|
-
}
|
|
64
|
-
break;
|
|
65
|
-
case "eds-code-block":
|
|
66
|
-
if (!customElements.get(tagName)) {
|
|
67
|
-
defineCustomElement$6();
|
|
68
|
-
}
|
|
69
|
-
break;
|
|
70
|
-
case "eds-icon-wrapper":
|
|
71
|
-
if (!customElements.get(tagName)) {
|
|
72
|
-
defineCustomElement$5();
|
|
73
|
-
}
|
|
74
|
-
break;
|
|
75
|
-
case "gradient-primary-palette":
|
|
76
|
-
if (!customElements.get(tagName)) {
|
|
77
|
-
defineCustomElement$4();
|
|
78
|
-
}
|
|
79
|
-
break;
|
|
80
|
-
case "gradient-secondary-palette":
|
|
81
|
-
if (!customElements.get(tagName)) {
|
|
82
|
-
defineCustomElement$3();
|
|
83
|
-
}
|
|
84
|
-
break;
|
|
85
|
-
case "gradient-support-palette":
|
|
86
|
-
if (!customElements.get(tagName)) {
|
|
87
|
-
defineCustomElement$2();
|
|
88
|
-
}
|
|
89
|
-
break;
|
|
90
|
-
} });
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
const DocsPalettes = DocsPalettes$1;
|
|
94
|
-
const defineCustomElement = defineCustomElement$1;
|
|
95
|
-
|
|
96
|
-
export { DocsPalettes, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface DocsTokens extends Components.DocsTokens, HTMLElement {}
|
|
4
|
-
export const DocsTokens: {
|
|
5
|
-
prototype: DocsTokens;
|
|
6
|
-
new (): DocsTokens;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { d as defineCustomElement$6 } from './eds-code-block2.js';
|
|
3
|
-
import { d as defineCustomElement$5 } from './eds-icon-wrapper2.js';
|
|
4
|
-
import { d as defineCustomElement$4 } from './token-list2.js';
|
|
5
|
-
import { d as defineCustomElement$3 } from './token-radii2.js';
|
|
6
|
-
import { d as defineCustomElement$2 } from './token-shadows2.js';
|
|
7
|
-
|
|
8
|
-
const DocsContent = /*@__PURE__*/ proxyCustomElement(class DocsContent extends HTMLElement {
|
|
9
|
-
constructor() {
|
|
10
|
-
super();
|
|
11
|
-
this.__registerHost();
|
|
12
|
-
this.tabIndex = undefined;
|
|
13
|
-
}
|
|
14
|
-
renderContent() {
|
|
15
|
-
switch (this.tabIndex) {
|
|
16
|
-
case 0:
|
|
17
|
-
return h("token-list", { show: "background" });
|
|
18
|
-
case 1:
|
|
19
|
-
return h("token-list", { show: "text" });
|
|
20
|
-
case 2:
|
|
21
|
-
return h("token-list", { show: "border" });
|
|
22
|
-
case 3:
|
|
23
|
-
return h("token-radii", null);
|
|
24
|
-
case 4:
|
|
25
|
-
return h("token-list", { show: "outline" });
|
|
26
|
-
case 5:
|
|
27
|
-
return h("token-shadows", null);
|
|
28
|
-
default:
|
|
29
|
-
return h("p", null, "Content not available.");
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
render() {
|
|
33
|
-
return h("div", { key: '29810a0ace60d2e5a0fc84d6715fc2fc89d6187f', class: "container" }, this.renderContent());
|
|
34
|
-
}
|
|
35
|
-
}, [0, "docs-tokens", {
|
|
36
|
-
"tabIndex": [2, "tab-index"]
|
|
37
|
-
}]);
|
|
38
|
-
function defineCustomElement$1() {
|
|
39
|
-
if (typeof customElements === "undefined") {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
const components = ["docs-tokens", "eds-code-block", "eds-icon-wrapper", "token-list", "token-radii", "token-shadows"];
|
|
43
|
-
components.forEach(tagName => { switch (tagName) {
|
|
44
|
-
case "docs-tokens":
|
|
45
|
-
if (!customElements.get(tagName)) {
|
|
46
|
-
customElements.define(tagName, DocsContent);
|
|
47
|
-
}
|
|
48
|
-
break;
|
|
49
|
-
case "eds-code-block":
|
|
50
|
-
if (!customElements.get(tagName)) {
|
|
51
|
-
defineCustomElement$6();
|
|
52
|
-
}
|
|
53
|
-
break;
|
|
54
|
-
case "eds-icon-wrapper":
|
|
55
|
-
if (!customElements.get(tagName)) {
|
|
56
|
-
defineCustomElement$5();
|
|
57
|
-
}
|
|
58
|
-
break;
|
|
59
|
-
case "token-list":
|
|
60
|
-
if (!customElements.get(tagName)) {
|
|
61
|
-
defineCustomElement$4();
|
|
62
|
-
}
|
|
63
|
-
break;
|
|
64
|
-
case "token-radii":
|
|
65
|
-
if (!customElements.get(tagName)) {
|
|
66
|
-
defineCustomElement$3();
|
|
67
|
-
}
|
|
68
|
-
break;
|
|
69
|
-
case "token-shadows":
|
|
70
|
-
if (!customElements.get(tagName)) {
|
|
71
|
-
defineCustomElement$2();
|
|
72
|
-
}
|
|
73
|
-
break;
|
|
74
|
-
} });
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
const DocsTokens = DocsContent;
|
|
78
|
-
const defineCustomElement = defineCustomElement$1;
|
|
79
|
-
|
|
80
|
-
export { DocsTokens, defineCustomElement };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface EdsAccordion extends Components.EdsAccordion, HTMLElement {}
|
|
4
|
-
export const EdsAccordion: {
|
|
5
|
-
prototype: EdsAccordion;
|
|
6
|
-
new (): EdsAccordion;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, createEvent, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { s as sendAnalytics } from './analytics.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './eds-button2.js';
|
|
4
|
-
import { d as defineCustomElement$1 } from './eds-icon-wrapper2.js';
|
|
5
|
-
|
|
6
|
-
const edsAccordionCss = "blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}.min-h-56{min-height:3.5rem}.container{width:calc(var(--container-width, 100%) - (2 * var(--breakout-container-outer-gutter, var(--container-outer-gutter, var(--outer-gutter, 0)))));margin-right:auto;margin-left:auto}.container>*{--container-outer-gutter:0;--breakout-container-outer-gutter:0}.break-words{overflow-wrap:break-word}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.effect-color{transition-property:color, background-color, border-color, text-decoration-color, fill, stroke;transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1)}.border-softer{border:2px solid rgba(0, 0, 0, .1)}.bg-default{background-color:var(--grey-200)}.bg-inverse{background-color:var(--white)}.relative{position:relative}.absolute{position:absolute}.inset-x-16{left:1rem;right:1rem}.top-16{top:1rem}.pr-32{padding-right:2rem}.pr-36{padding-right:2.25rem}.pr-40{padding-right:2.5rem}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.w-full{width:100%}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.rounded-md{border-radius:12px}.outline-none{outline:2px solid transparent;outline-offset:2px}.focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.text-light{color:var(--grey-700)}.z-1{z-index:1}.z-10{z-index:10}.effect-height{transition-duration:300ms;transition-timing-function:cubic-bezier(0, 0, 0.2, 1);transition-property:height}.h-0{height:0rem}.h-auto{height:auto}.pt-4{padding-top:0.25rem}.overflow-hidden{overflow:hidden}.grid{display:grid}.overflow-hidden{overflow:hidden}.rounded-lg{border-radius:16px}.border-2{border-width:2px}.p-16{padding:1rem}.ml-auto{margin-left:auto}.mr-auto{margin-right:auto}.f-heading-05{font-family:var(--f-heading-05-fontFamily);font-weight:var(--f-heading-05-fontWeight);font-size:var(--f-heading-05-fontSize);line-height:var(--f-heading-05-lineHeight);letter-spacing:var(--f-heading-05-letterSpacing)}.f-heading-06{font-family:var(--f-heading-06-fontFamily);font-weight:var(--f-heading-06-fontWeight);font-size:var(--f-heading-06-fontSize);line-height:var(--f-heading-06-lineHeight);letter-spacing:var(--f-heading-06-letterSpacing)}.text-left{text-align:left}.text-center{text-align:center}";
|
|
7
|
-
const EdsAccordionStyle0 = edsAccordionCss;
|
|
8
|
-
|
|
9
|
-
const EdsAccordion = /*@__PURE__*/ proxyCustomElement(class EdsAccordion extends HTMLElement {
|
|
10
|
-
constructor() {
|
|
11
|
-
super();
|
|
12
|
-
this.__registerHost();
|
|
13
|
-
this.__attachShadow();
|
|
14
|
-
this.accordion = createEvent(this, "accordion", 7);
|
|
15
|
-
/**
|
|
16
|
-
* Handles the click event on the accordion header to toggle expansion.
|
|
17
|
-
* Toggles the `isExpanded` state and emits the `accordion` event.
|
|
18
|
-
*/
|
|
19
|
-
this.handleClick = () => {
|
|
20
|
-
var _a;
|
|
21
|
-
this.isExpanded = !this.isExpanded;
|
|
22
|
-
this.accordion.emit(this.isExpanded);
|
|
23
|
-
this.setPanelHeight();
|
|
24
|
-
sendAnalytics({
|
|
25
|
-
category: 'ui-component',
|
|
26
|
-
parentContext: null,
|
|
27
|
-
tag: this.el.tagName.toLowerCase(),
|
|
28
|
-
name: ((_a = this.title) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || '',
|
|
29
|
-
action: this.isExpanded ? 'expanded' : 'collapsed'
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Calculates and sets the panel height based on the content height
|
|
34
|
-
* and adjusts based on the `shortContent` and `isExpanded` states.
|
|
35
|
-
*/
|
|
36
|
-
this.setPanelHeight = () => {
|
|
37
|
-
if (this.childContentRef) {
|
|
38
|
-
this.shortContent =
|
|
39
|
-
this.wrapperRef.scrollWidth > 830 && !this.description
|
|
40
|
-
? this.childContentRef.scrollHeight <= 80
|
|
41
|
-
: this.childContentRef.scrollHeight <= 20;
|
|
42
|
-
this.panelHeight = this.isExpanded && !this.shortContent ? this.childContentRef.scrollHeight : 0;
|
|
43
|
-
}
|
|
44
|
-
if (this.headerRef) {
|
|
45
|
-
this.headerHeight = this.headerRef.scrollHeight - 30;
|
|
46
|
-
}
|
|
47
|
-
};
|
|
48
|
-
this.title = undefined;
|
|
49
|
-
this.description = undefined;
|
|
50
|
-
this.switchBg = true;
|
|
51
|
-
this.expanded = false;
|
|
52
|
-
this.clampText = true;
|
|
53
|
-
this.isExpanded = this.expanded;
|
|
54
|
-
this.panelHeight = 0;
|
|
55
|
-
this.shortContent = false;
|
|
56
|
-
this.headerHeight = 0;
|
|
57
|
-
}
|
|
58
|
-
/**
|
|
59
|
-
* Lifecycle method that sets up the initial panel height and adds a resize event listener
|
|
60
|
-
* to recalculate height on window resize.
|
|
61
|
-
*/
|
|
62
|
-
componentDidLoad() {
|
|
63
|
-
this.setPanelHeight();
|
|
64
|
-
window.addEventListener('resize', this.setPanelHeight);
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Lifecycle method that cleans up the resize event listener when the component is removed.
|
|
68
|
-
*/
|
|
69
|
-
disconnectedCallback() {
|
|
70
|
-
window.removeEventListener('resize', this.setPanelHeight);
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
* Renders the accordion structure, including header, content, description, and any slotted content.
|
|
74
|
-
* Adjusts styles based on `switchBg`, `tiny`, `clampText`, and other props.
|
|
75
|
-
*/
|
|
76
|
-
render() {
|
|
77
|
-
return (h("div", { key: 'db04fa9db1f53e95a7ac758656b32e75281f5749', ref: (el) => (this.wrapperRef = el), class: `flex effect-color border-softer relative grid overflow-hidden rounded-lg border-2 p-16
|
|
78
|
-
${this.switchBg && this.isExpanded ? 'bg-inverse' : 'bg-default'}
|
|
79
|
-
${this.switchBg ? 'hover:bg-inverse' : ''}
|
|
80
|
-
${this.description ? 'min-h-56' : ''}` }, h("h3", { key: 'a6fc54388e0eab3ddfb81dfb5907c55a1d6d40e1', ref: (el) => (this.headerRef = el), class: "mr-auto f-heading-06 text-left absolute inset-x-16 break-words top-16 pr-40" }, this.title), h("div", { key: '96a1e4ae2849300e6cd3c737357a7e6e9a0439d5', class: "ml-auto" }, h("eds-button", { key: 'ca53eed446f9bc7a96182da9e9e3a45b1c63dba2', id: "toggleAccordion", intent: "tertiary", "aria-expanded": this.isExpanded || this.shortContent, "aria-label": "Toggle accordion", "aria-controls": "accordionSection", class: `effect-color flex w-full items-center justify-between rounded-md outline-none focus:outline-none`, onClick: this.handleClick, icon: "chevron-down" })), h("div", { key: '2e1c52759fa07ecf63fed47f79c0384a79cd81c6', class: `w-full`, style: Number.isFinite(this.headerHeight) ? { marginTop: `${this.headerHeight}px` } : {} }, this.description ? (h("span", { class: `text-light ${!this.isExpanded && this.clampText ? 'line-clamp-1' : ''}` }, this.description)) : null, h("section", { key: '6ca819b2d9cb989f0942b98f32cd7243771b6ae9', id: "accordionSection", role: "region", "aria-labelledby": "accordionHeader", "aria-hidden": !this.isExpanded, class: `z-1 effect-height relative h-0 w-full ${!this.isExpanded && this.clampText ? 'overflow-hidden' : ''}`, style: { height: this.isExpanded ? 'auto' : '0' } }, h("div", { key: 'aa33297747aca21c3b3ed33eb3eabc2998192aeb', ref: (el) => (this.childContentRef = el), class: `accordion-content effect-color pt-4`, "aria-hidden": !this.isExpanded }, h("span", { key: 'af5b6e2218419a3c95e21e7e432696b073b7752b', class: `${!this.isExpanded && this.clampText ? 'line-clamp-2' : ''}` }, h("slot", { key: '2a9d1ef2d2537c831b28fbecb02a6125a1412019' })))))));
|
|
81
|
-
}
|
|
82
|
-
get el() { return this; }
|
|
83
|
-
static get style() { return EdsAccordionStyle0; }
|
|
84
|
-
}, [1, "eds-accordion", {
|
|
85
|
-
"title": [1],
|
|
86
|
-
"description": [1],
|
|
87
|
-
"switchBg": [4, "switch-bg"],
|
|
88
|
-
"expanded": [4],
|
|
89
|
-
"clampText": [4, "clamp-text"],
|
|
90
|
-
"isExpanded": [32],
|
|
91
|
-
"panelHeight": [32],
|
|
92
|
-
"shortContent": [32],
|
|
93
|
-
"headerHeight": [32]
|
|
94
|
-
}]);
|
|
95
|
-
function defineCustomElement() {
|
|
96
|
-
if (typeof customElements === "undefined") {
|
|
97
|
-
return;
|
|
98
|
-
}
|
|
99
|
-
const components = ["eds-accordion", "eds-button", "eds-icon-wrapper"];
|
|
100
|
-
components.forEach(tagName => { switch (tagName) {
|
|
101
|
-
case "eds-accordion":
|
|
102
|
-
if (!customElements.get(tagName)) {
|
|
103
|
-
customElements.define(tagName, EdsAccordion);
|
|
104
|
-
}
|
|
105
|
-
break;
|
|
106
|
-
case "eds-button":
|
|
107
|
-
if (!customElements.get(tagName)) {
|
|
108
|
-
defineCustomElement$2();
|
|
109
|
-
}
|
|
110
|
-
break;
|
|
111
|
-
case "eds-icon-wrapper":
|
|
112
|
-
if (!customElements.get(tagName)) {
|
|
113
|
-
defineCustomElement$1();
|
|
114
|
-
}
|
|
115
|
-
break;
|
|
116
|
-
} });
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
export { EdsAccordion as E, defineCustomElement as d };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Components, JSX } from "../types/components";
|
|
2
|
-
|
|
3
|
-
interface EdsAlert extends Components.EdsAlert, HTMLElement {}
|
|
4
|
-
export const EdsAlert: {
|
|
5
|
-
prototype: EdsAlert;
|
|
6
|
-
new (): EdsAlert;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* Used to define this component and all nested components recursively.
|
|
10
|
-
*/
|
|
11
|
-
export const defineCustomElement: () => void;
|
|
@@ -1,135 +0,0 @@
|
|
|
1
|
-
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { c as cva } from './index2.js';
|
|
3
|
-
import { d as defineCustomElement$2 } from './eds-icon-wrapper2.js';
|
|
4
|
-
import { d as defineCustomElement$1 } from './eds-link2.js';
|
|
5
|
-
|
|
6
|
-
const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\n\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*,\n::before,\n::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box;\n /* 1 */\n border-width: 0;\n /* 2 */\n border-style: solid;\n /* 2 */\n border-color: currentColor;\n /* 2 */\n}\n\n::before,\n::after {}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5;\n /* 1 */\n -webkit-text-size-adjust: 100%;\n /* 2 */\n -moz-tab-size: 4;\n /* 3 */\n -o-tab-size: 4;\n tab-size: 4;\n /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\";\n /* 4 */\n font-feature-settings: normal;\n /* 5 */\n font-variation-settings: normal;\n /* 6 */\n -webkit-tap-highlight-color: transparent;\n /* 7 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0;\n /* 1 */\n line-height: inherit;\n /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0;\n /* 1 */\n color: inherit;\n /* 2 */\n border-top-width: 1px;\n /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace;\n /* 1 */\n font-feature-settings: normal;\n /* 2 */\n font-variation-settings: normal;\n /* 3 */\n font-size: 1em;\n /* 4 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0;\n /* 1 */\n border-color: inherit;\n /* 2 */\n border-collapse: collapse;\n /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit;\n /* 1 */\n font-feature-settings: inherit;\n /* 1 */\n font-variation-settings: inherit;\n /* 1 */\n font-size: 100%;\n /* 1 */\n font-weight: inherit;\n /* 1 */\n line-height: inherit;\n /* 1 */\n letter-spacing: inherit;\n /* 1 */\n color: inherit;\n /* 1 */\n margin: 0;\n /* 2 */\n padding: 0;\n /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button;\n /* 1 */\n background-color: transparent;\n /* 2 */\n background-image: none;\n /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield;\n /* 1 */\n outline-offset: -2px;\n /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button;\n /* 1 */\n font: inherit;\n /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder,\ntextarea::-moz-placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1;\n /* 1 */\n color: #9ca3af;\n /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block;\n /* 1 */\n vertical-align: middle;\n /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n\n:root {\n --inner-gutter: 8px;\n}\n\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n\n:root {}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n@media (min-width: 750px) {\n :root {}\n}\n\n@media (min-width: 900px) {\n :root {}\n}\n\n@media (min-width: 1024px) {\n :root {}\n}\n\n.f-ui-01 b,\n.f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n\n@media (min-width: 750px) {\n .md\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .md\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .md\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .md\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n@media (min-width: 900px) {\n .lg\\:grid-line-x>*::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-xfull>*::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n\n .lg\\:grid-line-x-0>*::before {\n content: none;\n }\n\n .lg\\:grid-line-y>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-yfull>*::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n\n .lg\\:grid-line-y-0>*::after {\n content: none;\n }\n}\n\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n\n.w-full {\n width: 100%;\n}\n\n.flex-row {\n flex-direction: row;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-between {\n justify-content: space-between;\n}\n\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n\n.space-y-12> :not([hidden])~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n\n.rounded-lg {\n border-radius: 16px;\n}\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-error {\n background-color: var(--red-200);\n}\n\n.bg-success {\n background-color: var(--green-200);\n}\n\n.bg-warning {\n background-color: var(--yellow-200);\n}\n\n.p-16 {\n padding: 1rem;\n}\n\n.p-20 {\n padding: 1.25rem;\n}\n\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n\n.pr-12 {\n padding-right: 0.75rem;\n}\n\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n\n[class*=underline-] {\n text-decoration-line: underline;\n}\n\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05);\n}";
|
|
7
|
-
const EdsAlertStyle0 = edsAlertCss;
|
|
8
|
-
|
|
9
|
-
const alertStyles = cva(['w-full bg-dark'], {
|
|
10
|
-
variants: {
|
|
11
|
-
intent: {
|
|
12
|
-
default: '',
|
|
13
|
-
warning: 'bg-warning',
|
|
14
|
-
error: 'bg-error',
|
|
15
|
-
success: 'bg-success'
|
|
16
|
-
},
|
|
17
|
-
brd: {
|
|
18
|
-
rounded: 'rounded-lg border-inside after:border-softest after:rounded-lg',
|
|
19
|
-
normal: ''
|
|
20
|
-
},
|
|
21
|
-
direction: {
|
|
22
|
-
vertical: 'space-y-12',
|
|
23
|
-
horizontal: 'flex flex-row items-center justify-between gap-x-12'
|
|
24
|
-
},
|
|
25
|
-
withBtn: {
|
|
26
|
-
false: '',
|
|
27
|
-
true: ''
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
compoundVariants: [
|
|
31
|
-
{
|
|
32
|
-
direction: 'horizontal',
|
|
33
|
-
withBtn: true,
|
|
34
|
-
class: 'px-20 pr-12 py-12'
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
direction: 'horizontal',
|
|
38
|
-
withBtn: false,
|
|
39
|
-
class: 'p-20'
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
direction: 'vertical',
|
|
43
|
-
withBtn: true,
|
|
44
|
-
class: 'p-16'
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
direction: 'vertical',
|
|
48
|
-
withBtn: false,
|
|
49
|
-
class: 'px-12 py-20'
|
|
50
|
-
}
|
|
51
|
-
],
|
|
52
|
-
defaultVariants: {
|
|
53
|
-
intent: 'default',
|
|
54
|
-
brd: 'rounded',
|
|
55
|
-
direction: 'horizontal'
|
|
56
|
-
}
|
|
57
|
-
});
|
|
58
|
-
const EdsAlert = /*@__PURE__*/ proxyCustomElement(class EdsAlert extends HTMLElement {
|
|
59
|
-
constructor() {
|
|
60
|
-
super();
|
|
61
|
-
this.__registerHost();
|
|
62
|
-
this.__attachShadow();
|
|
63
|
-
this.message = undefined;
|
|
64
|
-
this.pressableLabel = undefined;
|
|
65
|
-
this.pressableUrl = undefined;
|
|
66
|
-
this.direction = 'horizontal';
|
|
67
|
-
this.intent = 'default';
|
|
68
|
-
this.brd = 'rounded';
|
|
69
|
-
this.withBtn = false;
|
|
70
|
-
}
|
|
71
|
-
componentWillLoad() {
|
|
72
|
-
this.withBtn = Boolean(this.pressableLabel);
|
|
73
|
-
}
|
|
74
|
-
componentDidLoad() {
|
|
75
|
-
var _a;
|
|
76
|
-
// Query for the 'eds-link' element inside the shadow root.
|
|
77
|
-
const lnk = (_a = this.el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector('eds-link');
|
|
78
|
-
if (lnk) {
|
|
79
|
-
this.emitContext(lnk);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
emitContext(linkElement) {
|
|
83
|
-
const event = new CustomEvent('parentContext', {
|
|
84
|
-
detail: {
|
|
85
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
86
|
-
identifier: null
|
|
87
|
-
}
|
|
88
|
-
});
|
|
89
|
-
linkElement.dispatchEvent(event);
|
|
90
|
-
}
|
|
91
|
-
render() {
|
|
92
|
-
return (h("div", { key: '02e7ec45a64008c3a5e8ea99cade7da6b076259f', class: alertStyles({
|
|
93
|
-
intent: this.intent,
|
|
94
|
-
brd: this.brd,
|
|
95
|
-
direction: this.direction,
|
|
96
|
-
withBtn: this.withBtn
|
|
97
|
-
}), role: "alert" }, h("p", { key: 'ba99f147a48ed7cc19ccc18b309e1a11ca053a09', class: "f-ui-01 py-8", innerHTML: this.message }), this.withBtn &&
|
|
98
|
-
(this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary", external: true })) : null)));
|
|
99
|
-
}
|
|
100
|
-
get el() { return this; }
|
|
101
|
-
static get style() { return EdsAlertStyle0; }
|
|
102
|
-
}, [1, "eds-alert", {
|
|
103
|
-
"message": [1],
|
|
104
|
-
"pressableLabel": [1, "pressable-label"],
|
|
105
|
-
"pressableUrl": [1, "pressable-url"],
|
|
106
|
-
"direction": [1],
|
|
107
|
-
"intent": [1],
|
|
108
|
-
"brd": [1],
|
|
109
|
-
"withBtn": [32]
|
|
110
|
-
}]);
|
|
111
|
-
function defineCustomElement() {
|
|
112
|
-
if (typeof customElements === "undefined") {
|
|
113
|
-
return;
|
|
114
|
-
}
|
|
115
|
-
const components = ["eds-alert", "eds-icon-wrapper", "eds-link"];
|
|
116
|
-
components.forEach(tagName => { switch (tagName) {
|
|
117
|
-
case "eds-alert":
|
|
118
|
-
if (!customElements.get(tagName)) {
|
|
119
|
-
customElements.define(tagName, EdsAlert);
|
|
120
|
-
}
|
|
121
|
-
break;
|
|
122
|
-
case "eds-icon-wrapper":
|
|
123
|
-
if (!customElements.get(tagName)) {
|
|
124
|
-
defineCustomElement$2();
|
|
125
|
-
}
|
|
126
|
-
break;
|
|
127
|
-
case "eds-link":
|
|
128
|
-
if (!customElements.get(tagName)) {
|
|
129
|
-
defineCustomElement$1();
|
|
130
|
-
}
|
|
131
|
-
break;
|
|
132
|
-
} });
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
export { EdsAlert as E, defineCustomElement as d };
|