@ebrains/components 0.0.1-alpha.0 → 0.2.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{color-ac51ccf7.js → color-3ffe3072.js} +6 -6
- package/dist/cjs/color-primary-palette_6.cjs.entry.js +15 -15
- package/dist/cjs/components.cjs.js +3 -30
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/eds-accordion.cjs.entry.js +5 -4
- package/dist/cjs/{eds-accordion_23.cjs.entry.js → eds-alert_28.cjs.entry.js} +394 -221
- package/dist/cjs/eds-block-break.cjs.entry.js +3 -2
- package/dist/cjs/eds-breadcrumb.cjs.entry.js +3 -2
- package/dist/cjs/eds-card-project.cjs.entry.js +5 -5
- package/dist/cjs/eds-card-section.cjs.entry.js +4 -3
- package/dist/cjs/eds-card-tags.cjs.entry.js +3 -2
- package/dist/cjs/eds-card-tool.cjs.entry.js +6 -5
- package/dist/cjs/eds-card-wrapper.cjs.entry.js +1 -1
- package/dist/cjs/eds-code-block.cjs.entry.js +4 -34
- package/dist/cjs/eds-components-section.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-palettes.cjs.entry.js +2 -2
- package/dist/cjs/eds-docs-tokens.cjs.entry.js +2 -2
- package/dist/cjs/eds-footer.cjs.entry.js +4 -3
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-fullscreen-menu.cjs.entry.js +3 -2
- package/dist/cjs/eds-icon-arrow-diagonal.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-arrow-right.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-bluesky.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-down.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-left.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-right.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-chevron-up.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-close.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-copy.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-eu.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-facebook.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-gitlab.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-linkedin.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-loader.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-mastodon.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-menu.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-more.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-search.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-success.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-twitter.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-user.cjs.entry.js +3 -3
- package/dist/cjs/eds-icon-youtube.cjs.entry.js +3 -3
- package/dist/cjs/eds-login.cjs.entry.js +3 -3
- package/dist/cjs/eds-matomo-notice.cjs.entry.js +7 -6
- package/dist/cjs/eds-modal.cjs.entry.js +45 -5
- package/dist/cjs/eds-navigator.cjs.entry.js +1 -1
- package/dist/cjs/eds-pagination.cjs.entry.js +3 -2
- package/dist/cjs/eds-rating.cjs.entry.js +3 -2
- package/dist/cjs/eds-section-core_2.cjs.entry.js +1 -1
- package/dist/cjs/eds-social-networks.cjs.entry.js +4 -3
- package/dist/cjs/eds-svg-repository.cjs.entry.js +292 -4
- package/dist/cjs/eds-tab.cjs.entry.js +2 -2
- package/dist/cjs/eds-table.cjs.entry.js +3 -2
- package/dist/cjs/eds-tabs-content.cjs.entry.js +6 -6
- package/dist/cjs/eds-tabs.cjs.entry.js +7 -6
- package/dist/cjs/eds-tooltip.cjs.entry.js +4 -3
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +2 -2
- package/dist/cjs/{index-2cc3495f.js → index-f08e4f5c.js} +22 -13
- package/dist/cjs/{loader-5efe2c21.js → loader-72f9d178.js} +2 -5
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/logo-space.cjs.entry.js +5 -4
- package/dist/cjs/logo-variations-horizontal.cjs.entry.js +3 -2
- package/dist/cjs/logo-variations-vertical.cjs.entry.js +3 -2
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +5 -4
- package/dist/cjs/token-list_3.cjs.entry.js +4 -4
- package/dist/cjs/token-ratios.cjs.entry.js +2 -2
- package/dist/cjs/token-spacing.cjs.entry.js +2 -2
- package/dist/cjs/token-typography.cjs.entry.js +2 -2
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/eds-accordion/eds-accordion.js +2 -2
- package/dist/collection/components/eds-cards/eds-card-generic/eds-card-generic.js +21 -1
- package/dist/collection/components/eds-form/eds-form.css +10 -0
- package/dist/collection/components/eds-form/eds-form.js +111 -20
- package/dist/collection/components/eds-input-field/eds-input-field.css +16 -6
- package/dist/collection/components/eds-input-field/eds-input-field.js +2 -2
- package/dist/collection/components/eds-modal/eds-modal.css +8 -0
- package/dist/collection/components/eds-modal/eds-modal.js +42 -2
- package/dist/collection/components/eds-timeline/eds-timeline.js +89 -0
- package/dist/collection/components/eds-timeline/eds-timeline.stories.js +35 -0
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.css +0 -0
- package/dist/collection/components/eds-trl/eds-trl.js +61 -0
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/eds-components-section/eds-components-section.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-palettes/eds-docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/eds-docs-tokens/eds-docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/eds-svg-repository/eds-svg-repository.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/shared-ui/eds-card-section/eds-card-section.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +3 -3
- package/dist/collection/shared-ui/eds-login/eds-login.js +1 -1
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +1 -1
- package/dist/collection/shared-ui/eds-tabs-content/eds-tabs-content.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user-modal/eds-user-modal.js +1 -1
- package/dist/components/analytics.js +6 -6
- package/dist/components/components.css +31 -0
- package/dist/components/components.esm.js +1 -47
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/eds-accordion2.js +4 -3
- package/dist/components/eds-alert2.js +3 -2
- package/dist/components/eds-avatar2.js +3 -2
- package/dist/components/eds-block-break2.js +2 -1
- package/dist/components/eds-breadcrumb.js +2 -1
- package/dist/components/eds-button2.js +5 -3
- package/dist/components/eds-card-desc2.js +2 -1
- package/dist/components/eds-card-generic2.js +17 -4
- package/dist/components/eds-card-project.js +2 -1
- package/dist/components/eds-card-section.js +3 -2
- package/dist/components/eds-card-tags.js +2 -1
- package/dist/components/eds-card-title2.js +2 -1
- package/dist/components/eds-card-tool.js +4 -2
- package/dist/components/eds-code-block2.js +3 -33
- package/dist/components/eds-components-section.js +1 -1
- package/dist/components/eds-docs-palettes.js +1 -1
- package/dist/components/eds-docs-tokens.js +1 -1
- package/dist/components/eds-dropdown2.js +2 -1
- package/dist/components/eds-footer2.js +3 -2
- package/dist/components/eds-form.js +97 -22
- package/dist/components/eds-fullscreen-menu.js +2 -1
- package/dist/components/eds-header.js +5 -4
- package/dist/components/eds-icon-arrow-diagonal.js +1 -1
- package/dist/components/eds-icon-arrow-right.js +1 -1
- package/dist/components/eds-icon-bluesky.js +1 -1
- package/dist/components/eds-icon-chevron-down.js +1 -1
- package/dist/components/eds-icon-chevron-left.js +1 -1
- package/dist/components/eds-icon-chevron-right.js +1 -1
- package/dist/components/eds-icon-chevron-up.js +1 -1
- package/dist/components/eds-icon-close.js +1 -1
- package/dist/components/eds-icon-copy.js +1 -1
- package/dist/components/eds-icon-eu.js +1 -1
- package/dist/components/eds-icon-facebook.js +1 -1
- package/dist/components/eds-icon-gitlab.js +1 -1
- package/dist/components/eds-icon-linkedin.js +1 -1
- package/dist/components/eds-icon-loader.js +1 -1
- package/dist/components/eds-icon-mastodon.js +1 -1
- package/dist/components/eds-icon-menu.js +1 -1
- package/dist/components/eds-icon-more.js +1 -1
- package/dist/components/eds-icon-search.js +1 -1
- package/dist/components/eds-icon-success.js +1 -1
- package/dist/components/eds-icon-twitter.js +1 -1
- package/dist/components/eds-icon-user.js +1 -1
- package/dist/components/eds-icon-youtube.js +1 -1
- package/dist/components/eds-img2.js +2 -1
- package/dist/components/eds-input-field2.js +5 -4
- package/dist/components/eds-link2.js +5 -3
- package/dist/components/eds-login.js +1 -1
- package/dist/components/eds-logo2.js +6 -3
- package/dist/components/eds-matomo-notice.js +4 -2
- package/dist/components/eds-modal.js +44 -4
- package/dist/components/eds-pagination2.js +2 -1
- package/dist/components/eds-progress-bar.js +1 -40
- package/dist/{esm/eds-progress-bar.entry.js → components/eds-progress-bar2.js} +26 -7
- package/dist/components/eds-rating.js +2 -1
- package/dist/components/eds-section-core2.js +2 -1
- package/dist/components/eds-social-networks2.js +3 -2
- package/dist/components/eds-svg-repository.js +290 -2
- package/dist/components/eds-tab2.js +1 -1
- package/dist/components/eds-table2.js +2 -1
- package/dist/components/eds-tabs-content.js +5 -4
- package/dist/components/eds-tabs.js +6 -4
- package/dist/components/eds-tag2.js +3 -2
- package/dist/components/eds-timeline.d.ts +11 -0
- package/dist/components/eds-timeline.js +118 -0
- package/dist/components/eds-toast-manager.js +3 -2
- package/dist/components/eds-toast2.js +1 -1
- package/dist/components/eds-tooltip.js +3 -2
- package/dist/components/eds-trl.d.ts +11 -0
- package/dist/components/eds-trl.js +59 -0
- package/dist/components/eds-user-modal2.js +3 -2
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/index.esm.js +0 -1
- package/dist/components/index2.js +44 -399
- package/dist/components/keycloak.js +0 -10
- package/dist/components/loader.js +2 -5
- package/dist/components/logo-space.js +4 -3
- package/dist/components/logo-variations-horizontal.js +2 -1
- package/dist/components/logo-variations-vertical.js +2 -1
- package/dist/components/logo-wrong-usage.js +4 -3
- package/dist/components/{p-877403df.entry.js → p-02e2a62f.entry.js} +1 -1
- package/dist/components/{p-e2e715a2.entry.js → p-04e47e04.entry.js} +1 -1
- package/dist/components/{p-e639818b.entry.js → p-0a3b2576.entry.js} +1 -1
- package/dist/components/{p-6bc00fad.entry.js → p-0c2e844e.entry.js} +1 -1
- package/dist/components/{p-1d94d663.entry.js → p-0c99ef81.entry.js} +1 -1
- package/dist/components/{p-378d371f.entry.js → p-145f13ad.entry.js} +1 -1
- package/dist/components/{p-0a195bfe.entry.js → p-16458a81.entry.js} +1 -1
- package/dist/components/{p-e69ff916.entry.js → p-1bcfbaf1.entry.js} +1 -1
- package/dist/components/p-2117611b.js +1 -0
- package/dist/components/{p-513bf756.entry.js → p-22762818.entry.js} +1 -1
- package/dist/components/p-22f9e720.js +1 -0
- package/dist/components/{p-e04097a2.entry.js → p-272d249f.entry.js} +1 -1
- package/dist/components/p-297b2bc3.entry.js +1 -0
- package/dist/components/p-2d8508cd.entry.js +1 -0
- package/dist/components/p-32cddd94.entry.js +1 -0
- package/dist/components/{p-0611bbac.entry.js → p-32f282a9.entry.js} +1 -1
- package/dist/components/p-373673ca.js +1 -0
- package/dist/components/{p-677f60bc.entry.js → p-388b4966.entry.js} +1 -1
- package/dist/components/p-3a2e8ef3.entry.js +1 -0
- package/dist/components/p-3afafa59.entry.js +1 -0
- package/dist/components/p-3b40559e.entry.js +1 -0
- package/dist/components/{p-ff6b25a1.entry.js → p-4037ad48.entry.js} +1 -1
- package/dist/components/{p-c16b3c0c.entry.js → p-42b4ecff.entry.js} +1 -1
- package/dist/components/p-490ba155.entry.js +1 -0
- package/dist/components/p-4932aab2.entry.js +1 -0
- package/dist/components/p-49958f77.entry.js +1 -0
- package/dist/components/p-4a24c2ce.entry.js +1 -0
- package/dist/components/{p-b544f216.entry.js → p-54c75346.entry.js} +1 -1
- package/dist/components/{p-42dfb426.entry.js → p-551c0b58.entry.js} +1 -1
- package/dist/components/{p-6f601454.entry.js → p-559b6ec9.entry.js} +1 -1
- package/dist/components/p-5aad9d3f.entry.js +1 -0
- package/dist/components/{p-9c74a5dd.entry.js → p-5ae9722b.entry.js} +1 -1
- package/dist/components/{p-3dbf2ac9.entry.js → p-5eb32f03.entry.js} +1 -1
- package/dist/components/{p-2728a189.entry.js → p-5fc68438.entry.js} +1 -1
- package/dist/components/p-673dce11.entry.js +1 -0
- package/dist/components/{p-c0afe524.entry.js → p-6fc62452.entry.js} +1 -1
- package/dist/components/{p-36c0f3ee.entry.js → p-73bd0c97.entry.js} +1 -1
- package/dist/components/p-79887c2c.entry.js +1 -0
- package/dist/components/{p-e9a1fb1e.js → p-7a8b9de5.js} +2 -2
- package/dist/components/p-846fc91c.entry.js +1 -0
- package/dist/components/p-8c56e39a.entry.js +1 -0
- package/dist/components/{p-caf2af08.entry.js → p-9000b245.entry.js} +1 -1
- package/dist/components/p-96c4deda.entry.js +1 -0
- package/dist/components/{p-4541cb5f.entry.js → p-9722811d.entry.js} +1 -1
- package/dist/components/p-a44a1abe.entry.js +1 -0
- package/dist/components/p-a4e9b68b.entry.js +1 -0
- package/dist/components/{p-55444767.entry.js → p-b14ef448.entry.js} +1 -1
- package/dist/components/{p-25eb1801.entry.js → p-b203eb1b.entry.js} +1 -1
- package/dist/components/{p-49a5eef5.entry.js → p-b33941a0.entry.js} +1 -1
- package/dist/components/{p-c11d93cf.entry.js → p-b717f95a.entry.js} +1 -1
- package/dist/components/{p-fa1276cc.entry.js → p-bb60412b.entry.js} +1 -1
- package/dist/components/{p-7a2b35b4.entry.js → p-bca40434.entry.js} +1 -1
- package/dist/components/{p-6cb8c52d.entry.js → p-bdd86a3c.entry.js} +1 -1
- package/dist/components/p-bf0f851d.entry.js +1 -0
- package/dist/components/{p-82453a66.entry.js → p-c2d369bc.entry.js} +1 -1
- package/dist/components/{p-94b74ae8.entry.js → p-c9c3cc49.entry.js} +1 -1
- package/dist/components/p-d1670eec.entry.js +1 -0
- package/dist/components/{p-bad2a33a.entry.js → p-d6d86366.entry.js} +1 -1
- package/dist/components/p-d9788b54.entry.js +1 -0
- package/dist/components/{p-64d4a6e0.entry.js → p-df93db96.entry.js} +1 -1
- package/dist/components/{p-606d8f86.entry.js → p-e20ed2c7.entry.js} +1 -1
- package/dist/components/{p-200ad980.entry.js → p-e6bfbf51.entry.js} +1 -1
- package/dist/components/{p-ddd005a3.entry.js → p-e74834bc.entry.js} +1 -1
- package/dist/components/p-ebed87b8.entry.js +1 -0
- package/dist/components/{p-b94318f2.entry.js → p-f7a6ce69.entry.js} +1 -1
- package/dist/components/{p-1a1b8e28.entry.js → p-ff5de62c.entry.js} +1 -1
- package/dist/components/p-ffec8755.entry.js +1 -0
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/{color-49aa977d.js → color-0ba8ed56.js} +6 -6
- package/dist/esm/color-primary-palette_6.entry.js +15 -15
- package/dist/esm/components.js +4 -31
- package/dist/esm/correct-use-of-colors.entry.js +2 -2
- package/dist/esm/eds-accordion.entry.js +5 -4
- package/dist/esm/{eds-accordion_23.entry.js → eds-alert_28.entry.js} +385 -217
- package/dist/esm/eds-block-break.entry.js +3 -2
- package/dist/esm/eds-breadcrumb.entry.js +3 -2
- package/dist/esm/eds-card-project.entry.js +3 -3
- package/dist/esm/eds-card-section.entry.js +4 -3
- package/dist/esm/eds-card-tags.entry.js +3 -2
- package/dist/esm/eds-card-tool.entry.js +5 -4
- package/dist/esm/eds-card-wrapper.entry.js +1 -1
- package/dist/esm/eds-code-block.entry.js +4 -34
- package/dist/esm/eds-components-section.entry.js +2 -2
- package/dist/esm/eds-docs-palettes.entry.js +2 -2
- package/dist/esm/eds-docs-tokens.entry.js +2 -2
- package/dist/esm/eds-footer.entry.js +4 -3
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-fullscreen-menu.entry.js +3 -2
- package/dist/esm/eds-icon-arrow-diagonal.entry.js +2 -2
- package/dist/esm/eds-icon-arrow-right.entry.js +2 -2
- package/dist/esm/eds-icon-bluesky.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-down.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-left.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-right.entry.js +2 -2
- package/dist/esm/eds-icon-chevron-up.entry.js +2 -2
- package/dist/esm/eds-icon-close.entry.js +2 -2
- package/dist/esm/eds-icon-copy.entry.js +2 -2
- package/dist/esm/eds-icon-eu.entry.js +2 -2
- package/dist/esm/eds-icon-facebook.entry.js +2 -2
- package/dist/esm/eds-icon-gitlab.entry.js +2 -2
- package/dist/esm/eds-icon-linkedin.entry.js +2 -2
- package/dist/esm/eds-icon-loader.entry.js +2 -2
- package/dist/esm/eds-icon-mastodon.entry.js +2 -2
- package/dist/esm/eds-icon-menu.entry.js +2 -2
- package/dist/esm/eds-icon-more.entry.js +2 -2
- package/dist/esm/eds-icon-search.entry.js +2 -2
- package/dist/esm/eds-icon-success.entry.js +2 -2
- package/dist/esm/eds-icon-twitter.entry.js +2 -2
- package/dist/esm/eds-icon-user.entry.js +2 -2
- package/dist/esm/eds-icon-youtube.entry.js +2 -2
- package/dist/esm/eds-login.entry.js +3 -3
- package/dist/esm/eds-matomo-notice.entry.js +6 -5
- package/dist/esm/eds-modal.entry.js +45 -5
- package/dist/esm/eds-navigator.entry.js +1 -1
- package/dist/esm/eds-pagination.entry.js +3 -2
- package/dist/esm/eds-rating.entry.js +3 -2
- package/dist/esm/eds-section-core_2.entry.js +1 -1
- package/dist/esm/eds-social-networks.entry.js +4 -3
- package/dist/esm/eds-svg-repository.entry.js +291 -3
- package/dist/esm/eds-tab.entry.js +2 -2
- package/dist/esm/eds-table.entry.js +3 -2
- package/dist/esm/eds-tabs-content.entry.js +5 -5
- package/dist/esm/eds-tabs.entry.js +6 -5
- package/dist/esm/eds-tooltip.entry.js +4 -3
- package/dist/esm/incorrect-use-of-colors.entry.js +2 -2
- package/dist/esm/{index-f1426055.js → index-e96badea.js} +22 -13
- package/dist/esm/{loader-66341740.js → loader-c9628637.js} +2 -5
- package/dist/esm/loader.js +3 -3
- package/dist/esm/logo-space.entry.js +5 -4
- package/dist/esm/logo-variations-horizontal.entry.js +3 -2
- package/dist/esm/logo-variations-vertical.entry.js +3 -2
- package/dist/esm/logo-wrong-usage.entry.js +5 -4
- package/dist/esm/token-list_3.entry.js +4 -4
- package/dist/esm/token-ratios.entry.js +2 -2
- package/dist/esm/token-spacing.entry.js +2 -2
- package/dist/esm/token-typography.entry.js +2 -2
- package/dist/hydrate/index.js +363 -115
- package/dist/hydrate/index.mjs +363 -115
- package/dist/stencil.config.js +4 -3
- package/dist/types/components/eds-accordion/eds-accordion.d.ts +2 -2
- package/dist/types/components/eds-cards/eds-card-generic/eds-card-generic.d.ts +2 -0
- package/dist/types/components/eds-form/eds-form.d.ts +8 -0
- package/dist/types/components/eds-modal/eds-modal.d.ts +16 -0
- package/dist/types/components/eds-timeline/eds-timeline.d.ts +29 -0
- package/dist/types/components/eds-timeline/eds-timeline.stories.d.ts +24 -0
- package/dist/types/components/eds-trl/eds-trl.d.ts +9 -0
- package/dist/types/components.d.ts +44 -0
- package/package.json +3 -3
- package/dist/cjs/color-primary-palette.cjs.entry.js +0 -43
- package/dist/cjs/color-secondary-palette.cjs.entry.js +0 -68
- package/dist/cjs/color-support-palette.cjs.entry.js +0 -59
- package/dist/cjs/eds-alert.cjs.entry.js +0 -95
- package/dist/cjs/eds-avatar.cjs.entry.js +0 -73
- package/dist/cjs/eds-button.cjs.entry.js +0 -233
- package/dist/cjs/eds-card-desc.cjs.entry.js +0 -26
- package/dist/cjs/eds-card-desc_3.cjs.entry.js +0 -117
- package/dist/cjs/eds-card-generic.cjs.entry.js +0 -93
- package/dist/cjs/eds-card-title.cjs.entry.js +0 -56
- package/dist/cjs/eds-dropdown.cjs.entry.js +0 -129
- package/dist/cjs/eds-form.cjs.entry.js +0 -249
- package/dist/cjs/eds-header.cjs.entry.js +0 -96
- package/dist/cjs/eds-icon-wrapper.cjs.entry.js +0 -40
- package/dist/cjs/eds-img.cjs.entry.js +0 -57
- package/dist/cjs/eds-input-field.cjs.entry.js +0 -72
- package/dist/cjs/eds-input-footer.cjs.entry.js +0 -21
- package/dist/cjs/eds-input-label.cjs.entry.js +0 -20
- package/dist/cjs/eds-input-range.cjs.entry.js +0 -39
- package/dist/cjs/eds-input-search.cjs.entry.js +0 -41
- package/dist/cjs/eds-input-select.cjs.entry.js +0 -30
- package/dist/cjs/eds-input.cjs.entry.js +0 -68
- package/dist/cjs/eds-link.cjs.entry.js +0 -211
- package/dist/cjs/eds-logo.cjs.entry.js +0 -76
- package/dist/cjs/eds-progress-bar.cjs.entry.js +0 -28
- package/dist/cjs/eds-section-core.cjs.entry.js +0 -23
- package/dist/cjs/eds-section-heading.cjs.entry.js +0 -41
- package/dist/cjs/eds-tag.cjs.entry.js +0 -44
- package/dist/cjs/eds-toast-manager.cjs.entry.js +0 -45
- package/dist/cjs/eds-toast.cjs.entry.js +0 -53
- package/dist/cjs/eds-user-modal.cjs.entry.js +0 -47
- package/dist/cjs/eds-user.cjs.entry.js +0 -90
- package/dist/cjs/gradient-primary-palette.cjs.entry.js +0 -45
- package/dist/cjs/gradient-secondary-palette.cjs.entry.js +0 -79
- package/dist/cjs/gradient-support-palette.cjs.entry.js +0 -63
- package/dist/cjs/index-1ff5f25c.js +0 -48
- package/dist/cjs/index-383d2951.js +0 -3449
- package/dist/cjs/index-96a4261e.js +0 -405
- package/dist/cjs/index-f62478aa.js +0 -1837
- package/dist/cjs/keycloak-940b83c1.js +0 -1910
- package/dist/cjs/shadow-css-988e4292.js +0 -334
- package/dist/cjs/token-list.cjs.entry.js +0 -253
- package/dist/cjs/token-radii.cjs.entry.js +0 -25
- package/dist/cjs/token-shadows.cjs.entry.js +0 -34
- package/dist/components/app-globals-0f993ce5.js +0 -3
- package/dist/components/color-primary-palette.entry.js +0 -39
- package/dist/components/color-secondary-palette.entry.js +0 -64
- package/dist/components/color-support-palette.entry.js +0 -55
- package/dist/components/correct-use-of-colors.entry.js +0 -64
- package/dist/components/eds-accordion.entry.js +0 -88
- package/dist/components/eds-alert.entry.js +0 -91
- package/dist/components/eds-avatar.entry.js +0 -69
- package/dist/components/eds-block-break.entry.js +0 -16
- package/dist/components/eds-breadcrumb.entry.js +0 -148
- package/dist/components/eds-button.entry.js +0 -229
- package/dist/components/eds-card-desc.entry.js +0 -22
- package/dist/components/eds-card-generic.entry.js +0 -89
- package/dist/components/eds-card-project.entry.js +0 -63
- package/dist/components/eds-card-section.entry.js +0 -39
- package/dist/components/eds-card-tags.entry.js +0 -17
- package/dist/components/eds-card-title.entry.js +0 -52
- package/dist/components/eds-card-tool.entry.js +0 -75
- package/dist/components/eds-card-wrapper.entry.js +0 -28
- package/dist/components/eds-code-block.entry.js +0 -2468
- package/dist/components/eds-components-section.entry.js +0 -92
- package/dist/components/eds-docs-palettes.entry.js +0 -23
- package/dist/components/eds-docs-tokens.entry.js +0 -31
- package/dist/components/eds-dropdown.entry.js +0 -125
- package/dist/components/eds-footer.entry.js +0 -45
- package/dist/components/eds-form.entry.js +0 -245
- package/dist/components/eds-frame.entry.js +0 -87
- package/dist/components/eds-fullscreen-menu.entry.js +0 -95
- package/dist/components/eds-header.entry.js +0 -92
- package/dist/components/eds-icon-arrow-diagonal.entry.js +0 -14
- package/dist/components/eds-icon-arrow-right.entry.js +0 -14
- package/dist/components/eds-icon-bluesky.entry.js +0 -14
- package/dist/components/eds-icon-chevron-down.entry.js +0 -14
- package/dist/components/eds-icon-chevron-left.entry.js +0 -14
- package/dist/components/eds-icon-chevron-right.entry.js +0 -14
- package/dist/components/eds-icon-chevron-up.entry.js +0 -14
- package/dist/components/eds-icon-close.entry.js +0 -14
- package/dist/components/eds-icon-copy.entry.js +0 -14
- package/dist/components/eds-icon-eu.entry.js +0 -14
- package/dist/components/eds-icon-facebook.entry.js +0 -14
- package/dist/components/eds-icon-gitlab.entry.js +0 -14
- package/dist/components/eds-icon-linkedin.entry.js +0 -14
- package/dist/components/eds-icon-loader.entry.js +0 -14
- package/dist/components/eds-icon-mastodon.entry.js +0 -14
- package/dist/components/eds-icon-menu.entry.js +0 -14
- package/dist/components/eds-icon-more.entry.js +0 -14
- package/dist/components/eds-icon-search.entry.js +0 -14
- package/dist/components/eds-icon-success.entry.js +0 -14
- package/dist/components/eds-icon-twitter.entry.js +0 -14
- package/dist/components/eds-icon-user.entry.js +0 -14
- package/dist/components/eds-icon-wrapper.entry.js +0 -36
- package/dist/components/eds-icon-youtube.entry.js +0 -14
- package/dist/components/eds-img.entry.js +0 -53
- package/dist/components/eds-input-field.entry.js +0 -68
- package/dist/components/eds-input-footer.entry.js +0 -17
- package/dist/components/eds-input-label.entry.js +0 -16
- package/dist/components/eds-input-range.entry.js +0 -35
- package/dist/components/eds-input-search.entry.js +0 -37
- package/dist/components/eds-input-select.entry.js +0 -26
- package/dist/components/eds-input.entry.js +0 -64
- package/dist/components/eds-link.entry.js +0 -207
- package/dist/components/eds-login.entry.js +0 -68
- package/dist/components/eds-logo.entry.js +0 -72
- package/dist/components/eds-matomo-notice.entry.js +0 -105
- package/dist/components/eds-modal.entry.js +0 -42
- package/dist/components/eds-navigator.entry.js +0 -39
- package/dist/components/eds-pagination.entry.js +0 -207
- package/dist/components/eds-progress-bar.entry.js +0 -24
- package/dist/components/eds-rating.entry.js +0 -53
- package/dist/components/eds-section-core.entry.js +0 -19
- package/dist/components/eds-section-heading.entry.js +0 -37
- package/dist/components/eds-social-networks.entry.js +0 -61
- package/dist/components/eds-svg-repository.entry.js +0 -28
- package/dist/components/eds-tab.entry.js +0 -36
- package/dist/components/eds-table.entry.js +0 -138
- package/dist/components/eds-tabs-content.entry.js +0 -129
- package/dist/components/eds-tabs.entry.js +0 -118
- package/dist/components/eds-tag.entry.js +0 -40
- package/dist/components/eds-toast-manager.entry.js +0 -41
- package/dist/components/eds-toast.entry.js +0 -49
- package/dist/components/eds-tooltip.entry.js +0 -95
- package/dist/components/eds-user-modal.entry.js +0 -43
- package/dist/components/eds-user.entry.js +0 -86
- package/dist/components/gradient-primary-palette.entry.js +0 -41
- package/dist/components/gradient-secondary-palette.entry.js +0 -75
- package/dist/components/gradient-support-palette.entry.js +0 -59
- package/dist/components/incorrect-use-of-colors.entry.js +0 -46
- package/dist/components/index-144c9ae8.js +0 -46
- package/dist/components/index-360dc790.js +0 -401
- package/dist/components/index-a9afa43f.js +0 -1802
- package/dist/components/index-b384416e.js +0 -3023
- package/dist/components/index3.js +0 -46
- package/dist/components/index4.js +0 -1802
- package/dist/components/keycloak-b647d452.js +0 -1903
- package/dist/components/logo-space.entry.js +0 -16
- package/dist/components/logo-variations-horizontal.entry.js +0 -26
- package/dist/components/logo-variations-vertical.entry.js +0 -26
- package/dist/components/logo-wrong-usage.entry.js +0 -16
- package/dist/components/p-0a6262b7.entry.js +0 -1
- package/dist/components/p-11a4ef34.entry.js +0 -1
- package/dist/components/p-145d8e4d.entry.js +0 -1
- package/dist/components/p-219d9f68.entry.js +0 -1
- package/dist/components/p-22ee5374.entry.js +0 -1
- package/dist/components/p-2b14f03a.entry.js +0 -1
- package/dist/components/p-3048bdec.entry.js +0 -1
- package/dist/components/p-52a487ee.entry.js +0 -1
- package/dist/components/p-5b900a2c.entry.js +0 -1
- package/dist/components/p-5edc806a.entry.js +0 -1
- package/dist/components/p-763cbe2f.entry.js +0 -1
- package/dist/components/p-77a81dfa.entry.js +0 -1
- package/dist/components/p-81d2a9be.entry.js +0 -1
- package/dist/components/p-8c1be2b6.entry.js +0 -1
- package/dist/components/p-923e4d23.entry.js +0 -1
- package/dist/components/p-9c05e349.entry.js +0 -1
- package/dist/components/p-abcdf35f.js +0 -1
- package/dist/components/p-ac083317.entry.js +0 -1
- package/dist/components/p-ad79cc3c.entry.js +0 -1
- package/dist/components/p-b4055691.entry.js +0 -1
- package/dist/components/p-bfd2fdf1.entry.js +0 -1
- package/dist/components/p-c3c61db1.entry.js +0 -1
- package/dist/components/p-d80de13e.entry.js +0 -1
- package/dist/components/p-e80f4f24.js +0 -1
- package/dist/components/p-ec95188c.entry.js +0 -1
- package/dist/components/p-f04946a5.entry.js +0 -1
- package/dist/components/shadow-css-423dab2c.js +0 -332
- package/dist/components/token-list.entry.js +0 -249
- package/dist/components/token-radii.entry.js +0 -21
- package/dist/components/token-ratios.entry.js +0 -25
- package/dist/components/token-shadows.entry.js +0 -30
- package/dist/components/token-spacing.entry.js +0 -12
- package/dist/components/token-typography.entry.js +0 -226
- package/dist/esm/color-primary-palette.entry.js +0 -39
- package/dist/esm/color-secondary-palette.entry.js +0 -64
- package/dist/esm/color-support-palette.entry.js +0 -55
- package/dist/esm/eds-alert.entry.js +0 -91
- package/dist/esm/eds-avatar.entry.js +0 -69
- package/dist/esm/eds-button.entry.js +0 -229
- package/dist/esm/eds-card-desc.entry.js +0 -22
- package/dist/esm/eds-card-desc_3.entry.js +0 -111
- package/dist/esm/eds-card-generic.entry.js +0 -89
- package/dist/esm/eds-card-title.entry.js +0 -52
- package/dist/esm/eds-dropdown.entry.js +0 -125
- package/dist/esm/eds-form.entry.js +0 -245
- package/dist/esm/eds-header.entry.js +0 -92
- package/dist/esm/eds-icon-wrapper.entry.js +0 -36
- package/dist/esm/eds-img.entry.js +0 -53
- package/dist/esm/eds-input-field.entry.js +0 -68
- package/dist/esm/eds-input-footer.entry.js +0 -17
- package/dist/esm/eds-input-label.entry.js +0 -16
- package/dist/esm/eds-input-range.entry.js +0 -35
- package/dist/esm/eds-input-search.entry.js +0 -37
- package/dist/esm/eds-input-select.entry.js +0 -26
- package/dist/esm/eds-input.entry.js +0 -64
- package/dist/esm/eds-link.entry.js +0 -207
- package/dist/esm/eds-logo.entry.js +0 -72
- package/dist/esm/eds-section-core.entry.js +0 -19
- package/dist/esm/eds-section-heading.entry.js +0 -37
- package/dist/esm/eds-tag.entry.js +0 -40
- package/dist/esm/eds-toast-manager.entry.js +0 -41
- package/dist/esm/eds-toast.entry.js +0 -49
- package/dist/esm/eds-user-modal.entry.js +0 -43
- package/dist/esm/eds-user.entry.js +0 -86
- package/dist/esm/gradient-primary-palette.entry.js +0 -41
- package/dist/esm/gradient-secondary-palette.entry.js +0 -75
- package/dist/esm/gradient-support-palette.entry.js +0 -59
- package/dist/esm/index-144c9ae8.js +0 -46
- package/dist/esm/index-360dc790.js +0 -401
- package/dist/esm/index-a9afa43f.js +0 -1802
- package/dist/esm/index-b384416e.js +0 -3416
- package/dist/esm/keycloak-b647d452.js +0 -1903
- package/dist/esm/shadow-css-423dab2c.js +0 -332
- package/dist/esm/toastManager-b716afd8.js +0 -31
- package/dist/esm/token-list.entry.js +0 -249
- package/dist/esm/token-radii.entry.js +0 -21
- package/dist/esm/token-shadows.entry.js +0 -30
- /package/dist/cjs/{toastManager-1fb1a402.js → toastManager-4e9535f3.js} +0 -0
- /package/dist/{components/toastManager-b716afd8.js → esm/toastManager-d9eee791.js} +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const TokenSpacing = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
}
|
|
7
|
-
render() {
|
|
8
|
-
return (h("div", { key: 'a5ba01206487d07014bfd41fbed4f2f80f7d067e', class: "w-full" }, h("ul", { key: 'be6eb0bbe85f40b123ea04e02d839412401e0e0d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '1617719d10e11cc1e36df8cdc368fb3f55536d9a', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '3510583e1adc5029a2562b96f33e9f6453240da5', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'b01170621405035c36efe8e5858201b6d12b23e9', class: "spacing-sample m-32 bg-darker" }, h("span", { key: 'ce9639400a99d478a5e31f95c9482cec914e90af', class: "text-white" }, "Margin: 2rem / m-32")))), h("li", { key: '96dd43d6786acdcb5cf9c911ce39efce00b09a77', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'd8d9178f9f700eb5e752c87333d894a2392d72e9', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'f357493cdad00a69ec48dc3fb7854ba4b25579ab', class: "spacing-sample ml-64 bg-darker" }, h("span", { key: '6e5e8b20be76970dead72ca485fb5cc9a6e7c1f1', class: "text-white" }, "Margin Left: 4rem / ml-64")))), h("li", { key: '22fec87f6102e0577bf912508128c12716b48cb4', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'dee21a637d965b41cbdd9b4131ae7e6fc241d39a', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '43b150abac42ee2e189ec5fe8de64f5b43fba2c8', class: "spacing-sample mt-32 bg-darker" }, h("span", { key: '3789c91cd7db3332af5df28308c4d69ccda4623d', class: "text-white" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '07e7c1b44d09a873df7f4488381b561bd952b65f', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '898be718773fee0d091424178ff4302f2fbc137b', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '60ce8427ee0c6deeda95b385c6342ca1b6215bba', class: "spacing-sample p-32 bg-darker" }, h("span", { key: '97913f64a9c0b15b200811e59214e0d0b3d8837d', class: "text-white" }, "Padding: 2rem / p-32")))), h("li", { key: '01ba17c02dc6fb806a23ce4429091e0417d094c5', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '559de3d223e040d0e1edbff121b99e6218773917', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'a857560b3ad4d7a5a670d5db5baae3fcfbf18d21', class: "spacing-sample pt-32 bg-darker" }, h("span", { key: '5fff31ad7de22d84df6741c0f9a611164bbe5cc9', class: "text-white" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '6ac602257cb50ac1a05d78b477bc84fb25e89b4c', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'a087fa3b78537b2c0e35b7e9c2693e972092d407', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '76265dd76d79f8eb33f20ae85794c70cf41dd38b', class: "spacing-sample pl-32 bg-darker" }, h("span", { key: 'fe6a57a3977218cb6f9ea10560650634080d0931', class: "text-white" }, "Padding Left: 2rem / pl-32")))))));
|
|
9
|
-
}
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export { TokenSpacing as token_spacing };
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const headings = {
|
|
4
|
-
'heading-01': {
|
|
5
|
-
sm: {
|
|
6
|
-
fontFamily: 'var(--sans)',
|
|
7
|
-
fontWeight: 800,
|
|
8
|
-
fontSize: '42px',
|
|
9
|
-
lineHeight: '100%',
|
|
10
|
-
letterSpacing: '-0.01em'
|
|
11
|
-
},
|
|
12
|
-
md: {
|
|
13
|
-
fontSize: '48px'
|
|
14
|
-
},
|
|
15
|
-
lg: {
|
|
16
|
-
fontSize: '72px'
|
|
17
|
-
},
|
|
18
|
-
xl: {
|
|
19
|
-
fontSize: '83px'
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
'heading-02': {
|
|
23
|
-
sm: {
|
|
24
|
-
fontFamily: 'var(--sans)',
|
|
25
|
-
fontWeight: 800,
|
|
26
|
-
fontSize: '36px',
|
|
27
|
-
lineHeight: '100%',
|
|
28
|
-
letterSpacing: '-0.01em'
|
|
29
|
-
},
|
|
30
|
-
lg: {
|
|
31
|
-
fontSize: '48px'
|
|
32
|
-
},
|
|
33
|
-
xl: {
|
|
34
|
-
fontSize: '60px'
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
'heading-03': {
|
|
38
|
-
sm: {
|
|
39
|
-
fontFamily: 'var(--sans)',
|
|
40
|
-
fontWeight: 800,
|
|
41
|
-
fontSize: '36px',
|
|
42
|
-
lineHeight: '100%',
|
|
43
|
-
letterSpacing: '-0.01em'
|
|
44
|
-
},
|
|
45
|
-
xl: {
|
|
46
|
-
fontSize: '42px'
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
'heading-04': {
|
|
50
|
-
sm: {
|
|
51
|
-
fontFamily: 'var(--sans)',
|
|
52
|
-
fontWeight: 800,
|
|
53
|
-
fontSize: '28px',
|
|
54
|
-
lineHeight: '100%',
|
|
55
|
-
letterSpacing: '-0.01em'
|
|
56
|
-
},
|
|
57
|
-
xl: {
|
|
58
|
-
fontSize: '36px'
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
'heading-05': {
|
|
62
|
-
sm: {
|
|
63
|
-
fontFamily: 'var(--sans)',
|
|
64
|
-
fontWeight: 800,
|
|
65
|
-
fontSize: '28px',
|
|
66
|
-
lineHeight: '110%',
|
|
67
|
-
letterSpacing: '-0.01em'
|
|
68
|
-
}
|
|
69
|
-
},
|
|
70
|
-
'heading-06': {
|
|
71
|
-
sm: {
|
|
72
|
-
fontFamily: 'var(--sans)',
|
|
73
|
-
fontWeight: 800,
|
|
74
|
-
fontSize: '22px',
|
|
75
|
-
lineHeight: '120%'
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const bodies = {
|
|
81
|
-
'body-01': {
|
|
82
|
-
sm: {
|
|
83
|
-
fontFamily: 'var(--sans)',
|
|
84
|
-
fontWeight: 600,
|
|
85
|
-
fontSize: '20px',
|
|
86
|
-
lineHeight: '140%',
|
|
87
|
-
letterSpacing: '-0.01em'
|
|
88
|
-
}
|
|
89
|
-
},
|
|
90
|
-
'body-02': {
|
|
91
|
-
sm: {
|
|
92
|
-
fontFamily: 'var(--sans)',
|
|
93
|
-
fontWeight: 600,
|
|
94
|
-
fontSize: '17px',
|
|
95
|
-
lineHeight: '150%'
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
};
|
|
99
|
-
|
|
100
|
-
const uis = {
|
|
101
|
-
'ui-01': {
|
|
102
|
-
sm: {
|
|
103
|
-
fontFamily: 'var(--sans)',
|
|
104
|
-
fontWeight: 800,
|
|
105
|
-
fontSize: '18px',
|
|
106
|
-
lineHeight: '110%',
|
|
107
|
-
letterSpacing: '-0.01em'
|
|
108
|
-
}
|
|
109
|
-
},
|
|
110
|
-
'ui-02': {
|
|
111
|
-
sm: {
|
|
112
|
-
fontFamily: 'var(--sans)',
|
|
113
|
-
fontWeight: 800,
|
|
114
|
-
fontSize: '16px',
|
|
115
|
-
lineHeight: '110%',
|
|
116
|
-
letterSpacing: '-0.01em'
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
'ui-02-light': {
|
|
120
|
-
sm: {
|
|
121
|
-
fontFamily: 'var(--sans)',
|
|
122
|
-
fontWeight: 600,
|
|
123
|
-
fontSize: '16px',
|
|
124
|
-
lineHeight: '110%',
|
|
125
|
-
letterSpacing: '-0.01em'
|
|
126
|
-
}
|
|
127
|
-
},
|
|
128
|
-
'ui-03': {
|
|
129
|
-
sm: {
|
|
130
|
-
fontFamily: 'var(--sans)',
|
|
131
|
-
fontWeight: 800,
|
|
132
|
-
fontSize: '14px',
|
|
133
|
-
lineHeight: '110%',
|
|
134
|
-
letterSpacing: '-0.01em'
|
|
135
|
-
}
|
|
136
|
-
},
|
|
137
|
-
'ui-03-light': {
|
|
138
|
-
sm: {
|
|
139
|
-
fontFamily: 'var(--sans)',
|
|
140
|
-
fontWeight: 600,
|
|
141
|
-
fontSize: '14px',
|
|
142
|
-
lineHeight: '130%',
|
|
143
|
-
letterSpacing: '-0.01em'
|
|
144
|
-
}
|
|
145
|
-
},
|
|
146
|
-
'ui-04': {
|
|
147
|
-
sm: {
|
|
148
|
-
fontFamily: 'var(--sans)',
|
|
149
|
-
fontWeight: 800,
|
|
150
|
-
fontSize: '12px',
|
|
151
|
-
lineHeight: '100%',
|
|
152
|
-
letterSpacing: '-0.01em'
|
|
153
|
-
}
|
|
154
|
-
},
|
|
155
|
-
'ui-05': {
|
|
156
|
-
sm: {
|
|
157
|
-
fontFamily: 'var(--sans)',
|
|
158
|
-
fontWeight: 800,
|
|
159
|
-
fontSize: '10px',
|
|
160
|
-
lineHeight: '110%',
|
|
161
|
-
letterSpacing: '-0.01em'
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
|
-
caption: {
|
|
165
|
-
sm: {
|
|
166
|
-
fontFamily: 'var(--sans)',
|
|
167
|
-
fontWeight: 800,
|
|
168
|
-
fontSize: '12px',
|
|
169
|
-
lineHeight: '120%'
|
|
170
|
-
}
|
|
171
|
-
}
|
|
172
|
-
};
|
|
173
|
-
|
|
174
|
-
const displays = {
|
|
175
|
-
'display-01': {
|
|
176
|
-
sm: {
|
|
177
|
-
fontFamily: 'var(--sans)',
|
|
178
|
-
fontWeight: 800,
|
|
179
|
-
fontSize: '120px',
|
|
180
|
-
lineHeight: '100%',
|
|
181
|
-
letterSpacing: '-0.01em'
|
|
182
|
-
},
|
|
183
|
-
lg: {
|
|
184
|
-
fontSize: '150px'
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
};
|
|
188
|
-
|
|
189
|
-
const typography = {
|
|
190
|
-
families: {
|
|
191
|
-
sans: 'Inter, Helvetica, Arial, sans-serif'
|
|
192
|
-
},
|
|
193
|
-
typesets: {
|
|
194
|
-
...headings,
|
|
195
|
-
...bodies,
|
|
196
|
-
...uis,
|
|
197
|
-
...displays
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
|
|
201
|
-
const TokenTypography = class {
|
|
202
|
-
constructor(hostRef) {
|
|
203
|
-
registerInstance(this, hostRef);
|
|
204
|
-
}
|
|
205
|
-
render() {
|
|
206
|
-
return (h("section", { key: '8a5867f30800adcc1e5ef9438f01b3a031110402', class: "w-full" }, h("ul", { key: 'd1fc83712676e6524bddc2e5d1bc50f0266b05eb', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
207
|
-
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
208
|
-
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-4 block lg:flex items-center border border-soft rounded" }, h("div", { class: "mr-auto hidden lg:block", style: {
|
|
209
|
-
fontFamily: typography.families.sans,
|
|
210
|
-
fontWeight: style.fontWeight,
|
|
211
|
-
fontSize: style.fontSize,
|
|
212
|
-
lineHeight: style.lineHeight,
|
|
213
|
-
letterSpacing: style.letterSpacing
|
|
214
|
-
} }, h("span", { class: "text-default font-bold" }, `${typeKey} (${size})`)), h("div", { class: "mr-auto block lg:hidden p-4" }, h("span", { class: "text-default f-heading-05" }, `${typeKey} (${size})`)), h("div", { class: "ml-auto" }, h("eds-code-block", { code: `f-${typeKey}`, language: "Utility Class", class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: `${size}:f-${typeKey}`, language: "Screen", class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: [
|
|
215
|
-
style.fontSize && `font-size: ${style.fontSize};`,
|
|
216
|
-
style.lineHeight && `line-height: ${style.lineHeight};`,
|
|
217
|
-
style.letterSpacing && `letter-spacing: ${style.letterSpacing};`,
|
|
218
|
-
style.fontWeight && `font-weight: ${style.fontWeight};`,
|
|
219
|
-
style.fontFamily && `font-family: ${style.fontFamily};`
|
|
220
|
-
]
|
|
221
|
-
.filter(Boolean) // Remove any falsy values (e.g., undefined, null)
|
|
222
|
-
.join('\n'), language: "css", class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: `--var(--f-${typeKey}-fontFamily)`, class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: `--var(--f-${typeKey}-fontWeight)`, class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: `--var(--f-${typeKey}-fontSize)`, class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: `--var(--f-${typeKey}-lineHeight)`, class: "min-w-[250px] mb-4" }), h("eds-code-block", { code: `--var(--f-${typeKey}-letterSpacing)`, class: "min-w-[250px] mb-4" }))))))))));
|
|
223
|
-
}
|
|
224
|
-
};
|
|
225
|
-
|
|
226
|
-
export { TokenTypography as token_typography };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const ColorPrimaryPalette = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
// Primary palette data
|
|
7
|
-
this.colors = [
|
|
8
|
-
{
|
|
9
|
-
rgb: 'R156 G225 B66',
|
|
10
|
-
cmyk: 'C52 M0 Y98 K0',
|
|
11
|
-
hex: '#9CE142',
|
|
12
|
-
pantoneC: 'PANTONE 367 C',
|
|
13
|
-
pantoneU: 'PANTONE 374 U',
|
|
14
|
-
background: '#9CE142'
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
rgb: 'R0 G201 B89',
|
|
18
|
-
cmyk: 'C75 M0 Y80 K0',
|
|
19
|
-
hex: '#00C959',
|
|
20
|
-
pantoneC: 'PANTONE 7480 C',
|
|
21
|
-
pantoneU: 'PANTONE 7481 U',
|
|
22
|
-
background: '#00C959'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
rgb: 'R0 G165 B149',
|
|
26
|
-
cmyk: 'C78 M8 Y49 K0',
|
|
27
|
-
hex: '#00A595',
|
|
28
|
-
pantoneC: 'PANTONE 3272 C',
|
|
29
|
-
pantoneU: 'PANTONE 3275 U',
|
|
30
|
-
background: '#00A595'
|
|
31
|
-
}
|
|
32
|
-
];
|
|
33
|
-
}
|
|
34
|
-
render() {
|
|
35
|
-
return (h("ul", { key: '153e3c0f00db6f824cb0f43b420645bcbd66632f', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
36
|
-
}
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
export { ColorPrimaryPalette as color_primary_palette };
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const ColorSecondaryPalette = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
// Secondary palette data
|
|
7
|
-
this.colors = [
|
|
8
|
-
{
|
|
9
|
-
rgb: 'R63 G169 B245',
|
|
10
|
-
cmyk: 'C68 M13 Y0 K0',
|
|
11
|
-
hex: '#3FA9F5',
|
|
12
|
-
pantoneC: 'PANTONE 298 C',
|
|
13
|
-
pantoneU: 'PANTONE 298 U',
|
|
14
|
-
background: '#3FA9F5'
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
rgb: 'R6 G68 B244',
|
|
18
|
-
cmyk: 'C92 M60 Y0 K0',
|
|
19
|
-
hex: '#0644F4',
|
|
20
|
-
pantoneC: 'PANTONE 2728 C',
|
|
21
|
-
pantoneU: 'PANTONE 2935 U',
|
|
22
|
-
background: '#0644F4'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
rgb: 'R196 G97 B255',
|
|
26
|
-
cmyk: 'C52 M67 Y0 K0',
|
|
27
|
-
hex: '#C461FF',
|
|
28
|
-
pantoneC: 'PANTONE 252 C',
|
|
29
|
-
pantoneU: 'PANTONE 252 U',
|
|
30
|
-
background: '#C461FF'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
rgb: 'R93 G61 B249',
|
|
34
|
-
cmyk: 'C83 M78 Y0 K0',
|
|
35
|
-
hex: '#5D3DF9',
|
|
36
|
-
pantoneC: 'PANTONE 266 C',
|
|
37
|
-
pantoneU: 'PANTONE 2735 U',
|
|
38
|
-
background: '#5D3DF9'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
rgb: 'R255 G165 B67',
|
|
42
|
-
cmyk: 'C0 M43 Y76 K0',
|
|
43
|
-
hex: '#FFA543',
|
|
44
|
-
pantoneC: 'PANTONE 804 C',
|
|
45
|
-
pantoneU: 'PANTONE 136 U',
|
|
46
|
-
background: '#FFA543'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
rgb: 'R255 G77 B104',
|
|
50
|
-
cmyk: 'C0 M81 Y42 K0',
|
|
51
|
-
hex: '#FF4D68',
|
|
52
|
-
pantoneC: 'PANTONE 1785 C',
|
|
53
|
-
pantoneU: 'PANTONE 185 U',
|
|
54
|
-
background: '#FF4D68'
|
|
55
|
-
}
|
|
56
|
-
];
|
|
57
|
-
this.show = undefined;
|
|
58
|
-
}
|
|
59
|
-
render() {
|
|
60
|
-
return (h("ul", { key: 'b0af2cdf6524cf79ef8d28f37533d1f84812f174', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
61
|
-
}
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
export { ColorSecondaryPalette as color_secondary_palette };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
|
|
3
|
-
const ColorSupportPalette = class {
|
|
4
|
-
constructor(hostRef) {
|
|
5
|
-
registerInstance(this, hostRef);
|
|
6
|
-
// Support palette data
|
|
7
|
-
this.colors = [
|
|
8
|
-
{
|
|
9
|
-
rgb: 'R20 G20 B20',
|
|
10
|
-
cmyk: 'C78 M69 Y61 K87',
|
|
11
|
-
hex: '#141414',
|
|
12
|
-
pantoneC: '',
|
|
13
|
-
pantoneU: '',
|
|
14
|
-
background: '#141414'
|
|
15
|
-
},
|
|
16
|
-
{
|
|
17
|
-
rgb: 'R56 G56 B56',
|
|
18
|
-
cmyk: 'C68 M58 Y55 K63',
|
|
19
|
-
hex: '#383838',
|
|
20
|
-
pantoneC: 'PANTONE 447 C',
|
|
21
|
-
pantoneU: 'PANTONE Neutral Black U',
|
|
22
|
-
background: '#383838'
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
rgb: 'R204 G204 B204',
|
|
26
|
-
cmyk: 'C23 M17 Y18 K0',
|
|
27
|
-
hex: '#CCCCCC',
|
|
28
|
-
pantoneC: 'PANTONE Cool Gray 2 C',
|
|
29
|
-
pantoneU: 'PANTONE Cool Gray 2 U',
|
|
30
|
-
background: '#CCCCCC'
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
rgb: 'R230 G230 B230',
|
|
34
|
-
cmyk: 'C12 M8 Y9 K0',
|
|
35
|
-
hex: '#E6E6E6',
|
|
36
|
-
pantoneC: 'PANTONE 663 C',
|
|
37
|
-
pantoneU: 'PANTONE 649 U',
|
|
38
|
-
background: '#E6E6E6'
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
rgb: 'R255 G255 B255',
|
|
42
|
-
cmyk: 'C0 M0 Y0 K0',
|
|
43
|
-
hex: '#FFFFFF',
|
|
44
|
-
pantoneC: '',
|
|
45
|
-
pantoneU: '',
|
|
46
|
-
background: '#FFFFFF'
|
|
47
|
-
}
|
|
48
|
-
];
|
|
49
|
-
}
|
|
50
|
-
render() {
|
|
51
|
-
return (h("ul", { key: 'c58041047c7d7993ac4e936051d40e1e8dda5263', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC || 'N/A'), h("span", { class: "f-body-02" }, color.pantoneU || 'N/A'))))))));
|
|
52
|
-
}
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export { ColorSupportPalette as color_support_palette };
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, g as getElement } from './index-b384416e.js';
|
|
2
|
-
import { c as cva } from './index-144c9ae8.js';
|
|
3
|
-
|
|
4
|
-
const edsAlertCss = ":root {\n font-optical-sizing: auto;\n}\nhtml,\nbody {\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n/*\n:focus[data-focus-method=\"mouse\"],\n:focus[data-focus-method=\"touch\"] {\n outline: none !important;\n}\n*/\n/*FADE*/\n/*FADE TRANSLATE Y*/\n/*SLIDE LEFT*/\n/*SLIDE BOTTOM*/\n/*COLLAPSE Y*/\n*, ::before, ::after {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n::backdrop {\n --tw-ring-offset-shadow: 0 0 #0000;\n --tw-ring-shadow: 0 0 #0000;\n --tw-shadow: 0 0 #0000;\n}\n/*\n! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com\n*/\n/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: currentColor; /* 2 */\n}\n::before,\n::after {\n}\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n5. Use the user's configured `sans` font-feature-settings by default.\n6. Use the user's configured `sans` font-variation-settings by default.\n7. Disable tap highlights on iOS\n*/\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n -o-tab-size: 4;\n tab-size: 4; /* 3 */\n font-family: ui-sans-serif, system-ui, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"; /* 4 */\n font-feature-settings: normal; /* 5 */\n font-variation-settings: normal; /* 6 */\n -webkit-tap-highlight-color: transparent; /* 7 */\n}\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\nabbr:where([title]) {\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n}\n/*\nRemove the default font size and weight for headings.\n*/\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\na {\n color: inherit;\n text-decoration: inherit;\n}\n/*\nAdd the correct font weight in Edge and Safari.\n*/\nb,\nstrong {\n font-weight: bolder;\n}\n/*\n1. Use the user's configured `mono` font-family by default.\n2. Use the user's configured `mono` font-feature-settings by default.\n3. Use the user's configured `mono` font-variation-settings by default.\n4. Correct the odd `em` font sizing in all browsers.\n*/\ncode,\npre {\n font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace; /* 1 */\n font-feature-settings: normal; /* 2 */\n font-variation-settings: normal; /* 3 */\n font-size: 1em; /* 4 */\n}\n/*\nAdd the correct font size in all browsers.\n*/\nsmall {\n font-size: 80%;\n}\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\nsub {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\nsub {\n bottom: -0.25em;\n}\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\nbutton,\ninput,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-feature-settings: inherit; /* 1 */\n font-variation-settings: inherit; /* 1 */\n font-size: 100%; /* 1 */\n font-weight: inherit; /* 1 */\n line-height: inherit; /* 1 */\n letter-spacing: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\nbutton,\nselect {\n text-transform: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\nbutton,\ninput:where([type='button']),\ninput:where([type='submit']) {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n/*\nAdd the correct display in Chrome and Safari.\n*/\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\np,\npre {\n margin: 0;\n}\nfieldset {\n margin: 0;\n padding: 0;\n}\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n/*\nReset default styling for dialogs.\n*/\ndialog {\n padding: 0;\n}\n/*\nPrevent resizing textareas horizontally by default.\n*/\ntextarea {\n resize: vertical;\n}\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\ninput::-moz-placeholder, textarea::-moz-placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: #9ca3af; /* 2 */\n}\n/*\nSet the default cursor for buttons.\n*/\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\nimg,\niframe,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\nimg {\n max-width: 100%;\n height: auto;\n}\n/* Make elements with the HTML hidden attribute stay hidden by default */\n[hidden] {\n display: none;\n}\n:root {\n --inner-gutter: 8px;\n}\n@media (min-width: 750px) {\n :root {\n --inner-gutter: 12px;\n }\n}\n@media (min-width: 900px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1024px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 1280px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n@media (min-width: 2200px) {\n :root {\n --inner-gutter: 16px;\n }\n}\n:root {\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n:root {\n --sans: Inter, Helvetica, Arial, sans-serif;\n --f-ui-01-fontFamily: var(--sans);\n --f-ui-01-fontWeight: 800;\n --f-ui-01-fontSize: 18px;\n --f-ui-01-lineHeight: 110%;\n --f-ui-01-letterSpacing: -0.01em;\n}\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n@media (min-width: 750px) {\n :root {\n}\n}\n@media (min-width: 900px) {\n :root {\n}\n}\n@media (min-width: 1024px) {\n :root {\n}\n}\n.f-ui-01 b, .f-ui-01 strong {\n font-weight: var(--f-ui-01---bold-weight, bold);\n}\n:root {\n --grey-300: #e6e6e6;\n --green-200: #d3ffdc;\n --yellow-200: #ffffcb;\n --red-200: #ffe0e1;\n}\n@media (min-width: 750px) {\n .md\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .md\\:grid-line-x-0 > *::before {\n content: none;\n }\n .md\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .md\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n@media (min-width: 900px) {\n .lg\\:grid-line-x > *::before {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: 0;\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-xfull > *::before {\n content: attr(👻);\n inset-inline-start: calc(var(--inner-gutter) / -2);\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: calc(var(--inner-gutter) / -2);\n border-top: 0 solid transparent;\n border-bottom: 0 solid transparent;\n }\n .lg\\:grid-line-x-0 > *::before {\n content: none;\n }\n .lg\\:grid-line-y > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: 0;\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-yfull > *::after {\n content: attr(👻);\n inset-inline-start: 0;\n inset-inline-end: calc(var(--inner-gutter) / -2);\n top: calc(var(--inner-gutter) / -1);\n bottom: 0;\n border-inline-start: 0 solid transparent;\n border-inline-end: 0 solid transparent;\n }\n .lg\\:grid-line-y-0 > *::after {\n content: none;\n }\n}\n.border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border-color: rgba(0, 0, 0, .1 );\n }\n\n &::after {\n content: '';\n }\n}\n/** region TRANSITIONS */\n/** endregion */\n/* region FOCUS */\n/* endregion */\n/* region BG */\n/* endregion */\n/*region shadow*/\n/*endregion*/\n.flex {\n display: flex;\n}\n.w-full {\n width: 100%;\n}\n.flex-row {\n flex-direction: row;\n}\n.items-center {\n align-items: center;\n}\n.justify-between {\n justify-content: space-between;\n}\n.gap-x-12 {\n -moz-column-gap: 0.75rem;\n column-gap: 0.75rem;\n}\n.space-y-12 > :not([hidden]) ~ :not([hidden]) {\n --tw-space-y-reverse: 0;\n margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));\n margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));\n}\n.rounded-lg {\n border-radius: 16px;\n}\n.bg-dark {\n background-color: var(--grey-300);\n}\n.bg-error {\n background-color: var(--red-200);\n}\n.bg-success {\n background-color: var(--green-200);\n}\n.bg-warning {\n background-color: var(--yellow-200);\n}\n.p-16 {\n padding: 1rem;\n}\n.p-20 {\n padding: 1.25rem;\n}\n.px-12 {\n padding-left: 0.75rem;\n padding-right: 0.75rem;\n}\n.px-20 {\n padding-left: 1.25rem;\n padding-right: 1.25rem;\n}\n.py-12 {\n padding-top: 0.75rem;\n padding-bottom: 0.75rem;\n}\n.py-20 {\n padding-top: 1.25rem;\n padding-bottom: 1.25rem;\n}\n.py-8 {\n padding-top: 0.5rem;\n padding-bottom: 0.5rem;\n}\n.pr-12 {\n padding-right: 0.75rem;\n}\n.shadow {\n --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);\n}\n[class*=underline-] {\n text-decoration-line: underline;\n}\n.after\\:rounded-lg::after {\n border-radius: 16px;\n}\n.after\\:border-softest::after {\n border-color: rgba(0, 0, 0, .05 );\n}\n";
|
|
5
|
-
|
|
6
|
-
const alertStyles = cva(['w-full bg-dark rounded-lg border-inside after:border-softest after:rounded-lg'], {
|
|
7
|
-
variants: {
|
|
8
|
-
intent: {
|
|
9
|
-
default: '',
|
|
10
|
-
warning: 'bg-warning',
|
|
11
|
-
error: 'bg-error',
|
|
12
|
-
success: 'bg-success'
|
|
13
|
-
},
|
|
14
|
-
direction: {
|
|
15
|
-
vertical: 'space-y-12',
|
|
16
|
-
horizontal: 'flex flex-row items-center justify-between gap-x-12'
|
|
17
|
-
},
|
|
18
|
-
withBtn: {
|
|
19
|
-
false: '',
|
|
20
|
-
true: ''
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
compoundVariants: [
|
|
24
|
-
{
|
|
25
|
-
direction: 'horizontal',
|
|
26
|
-
withBtn: true,
|
|
27
|
-
class: 'px-20 pr-12 py-12'
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
direction: 'horizontal',
|
|
31
|
-
withBtn: false,
|
|
32
|
-
class: 'p-20'
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
direction: 'vertical',
|
|
36
|
-
withBtn: true,
|
|
37
|
-
class: 'p-16'
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
direction: 'vertical',
|
|
41
|
-
withBtn: false,
|
|
42
|
-
class: 'px-12 py-20'
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
defaultVariants: {
|
|
46
|
-
intent: 'default',
|
|
47
|
-
direction: 'horizontal'
|
|
48
|
-
}
|
|
49
|
-
});
|
|
50
|
-
const EdsAlert = class {
|
|
51
|
-
constructor(hostRef) {
|
|
52
|
-
registerInstance(this, hostRef);
|
|
53
|
-
this.message = undefined;
|
|
54
|
-
this.pressableLabel = undefined;
|
|
55
|
-
this.pressableUrl = undefined;
|
|
56
|
-
this.direction = 'horizontal';
|
|
57
|
-
this.intent = 'default';
|
|
58
|
-
this.withBtn = false;
|
|
59
|
-
}
|
|
60
|
-
componentWillLoad() {
|
|
61
|
-
this.withBtn = Boolean(this.pressableLabel);
|
|
62
|
-
}
|
|
63
|
-
componentDidLoad() {
|
|
64
|
-
// Query all 'eds-link' elements, including those inside shadow DOM
|
|
65
|
-
const links = this.el.shadowRoot.querySelectorAll('eds-link');
|
|
66
|
-
links.forEach((link) => {
|
|
67
|
-
this.emitContext(link);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
emitContext(linkElement) {
|
|
71
|
-
const event = new CustomEvent('parentContext', {
|
|
72
|
-
detail: {
|
|
73
|
-
componentName: this.el.tagName.toLowerCase(),
|
|
74
|
-
identifier: null
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
linkElement.dispatchEvent(event);
|
|
78
|
-
}
|
|
79
|
-
render() {
|
|
80
|
-
return (h("div", { key: '99518cd34cbfc04691f2f827b53105ef88c03af8', class: alertStyles({
|
|
81
|
-
intent: this.intent,
|
|
82
|
-
direction: this.direction,
|
|
83
|
-
withBtn: this.withBtn
|
|
84
|
-
}), role: "alert" }, h("p", { key: '7eca97c849473bb4c8472d11243dc5eb9dded61f', class: "f-ui-01 py-8" }, this.message), this.withBtn &&
|
|
85
|
-
(this.pressableUrl ? (h("eds-link", { class: "eds-alert-link", label: this.pressableLabel, url: this.pressableUrl, intent: "secondary" })) : null)));
|
|
86
|
-
}
|
|
87
|
-
get el() { return getElement(this); }
|
|
88
|
-
};
|
|
89
|
-
EdsAlert.style = edsAlertCss;
|
|
90
|
-
|
|
91
|
-
export { EdsAlert as eds_alert };
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h } from './index-b384416e.js';
|
|
2
|
-
import { g as gradientBGColorVariants } from './index-360dc790.js';
|
|
3
|
-
import './index-144c9ae8.js';
|
|
4
|
-
|
|
5
|
-
const edsAvatarCss = ".border-inside {\n position: relative;\n\n &::after {\n pointer-events: none;\n }\n\n &::after {\n position: absolute;\n }\n\n &::after {\n inset: 0rem;\n }\n\n &::after {\n z-index: 1;\n }\n\n &::after {\n border-radius: 8px;\n }\n\n &::after {\n border-width: 1px;\n }\n\n &::after {\n border-width: 2px;\n }\n\n &::after {\n border: 2px solid rgba(0, 0, 0, .1);\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-pill {\n &::after {\n border-radius: 100px;\n }\n\n &::after {\n content: '';\n }\n}\n\n.border-inside-inverse {\n &::after {\n border: 2px solid rgba(255, 255, 255, 0.3);\n }\n\n &::after {\n content: '';\n }\n}\n\n.aspect-1x1 {\n aspect-ratio: 1/1;\n}\n\n.flex {\n display: flex;\n}\n\n.inline-flex {\n display: inline-flex;\n}\n\n.items-center {\n align-items: center;\n}\n\n.justify-center {\n justify-content: center;\n}\n\n.overflow-hidden {\n overflow: hidden;\n}\n\n.px-4 {\n padding-left: 0.25rem;\n padding-right: 0.25rem;\n}\n\n.rounded-pill {\n border-radius: 100px;\n}\n\n.rounded-sm {\n border-radius: 8px;\n}\n\n.rounded-xs {\n border-radius: 4px;\n}\n\n\n.bg-dark {\n background-color: var(--grey-300);\n}\n\n.bg-darker {\n background-color: var(--grey-400);\n}\n\n.bg-stronger {\n background-color: var(--grey-900);\n}\n\n.bg-strongest {\n background-color: var(--black);\n}\n\n.text-accent {\n color: var(--green-500);\n}\n\n.text-default {\n color: var(--black);\n}\n\n.\\!no-underline {\n text-decoration-line: none !important;\n}\n\n.f-ui-01 {\n font-family: var(--f-ui-01-fontFamily);\n font-weight: var(--f-ui-01-fontWeight);\n font-size: var(--f-ui-01-fontSize);\n line-height: var(--f-ui-01-lineHeight);\n letter-spacing: var(--f-ui-01-letterSpacing);\n}\n\n.w-32 {\n width: 2rem;\n}\n\n.w-44 {\n width: 2.75rem;\n}\n\n.w-\\[54px\\] {\n width: 54px;\n}";
|
|
6
|
-
|
|
7
|
-
const EdsAvatar = class {
|
|
8
|
-
constructor(hostRef) {
|
|
9
|
-
registerInstance(this, hostRef);
|
|
10
|
-
this.firstName = undefined;
|
|
11
|
-
this.lastName = undefined;
|
|
12
|
-
this.picture = undefined;
|
|
13
|
-
this.initials = undefined;
|
|
14
|
-
this.color = undefined;
|
|
15
|
-
this.rounded = false;
|
|
16
|
-
this.initialsStrong = false;
|
|
17
|
-
}
|
|
18
|
-
/**
|
|
19
|
-
* Computed initials based on the provided `initials` prop or derived from `firstName` and `lastName`.
|
|
20
|
-
* @returns {string | undefined} Initials for display in the avatar.
|
|
21
|
-
*/
|
|
22
|
-
get computedInitials() {
|
|
23
|
-
if (this.initials) {
|
|
24
|
-
return (this.initials.match(/.{1,3}/g) || [])[0] || '';
|
|
25
|
-
}
|
|
26
|
-
else if (this.firstName && this.lastName) {
|
|
27
|
-
return `${this.firstName.charAt(0)}${this.lastName.charAt(0)}`.toUpperCase();
|
|
28
|
-
}
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Computes the CSS classes for the avatar container based on provided props like `rounded`, `color`, and `picture`.
|
|
33
|
-
* @returns {string} List of CSS classes to apply to the avatar container.
|
|
34
|
-
*/
|
|
35
|
-
get containerClasses() {
|
|
36
|
-
return [
|
|
37
|
-
'border-inside',
|
|
38
|
-
'aspect-1x1',
|
|
39
|
-
'flex',
|
|
40
|
-
'items-center',
|
|
41
|
-
'justify-center',
|
|
42
|
-
'overflow-hidden',
|
|
43
|
-
this.picture ? '' : 'px-4',
|
|
44
|
-
this.rounded ? 'rounded-pill border-inside-pill w-32' : 'w-[54px] rounded-sm',
|
|
45
|
-
this.color ? 'border-inside-inverse' : '',
|
|
46
|
-
this.color === 'grey'
|
|
47
|
-
? 'bg-dark'
|
|
48
|
-
: this.color && !this.picture
|
|
49
|
-
? gradientBGColorVariants({
|
|
50
|
-
color: this.color,
|
|
51
|
-
direction: 'top',
|
|
52
|
-
pseudo: false
|
|
53
|
-
})
|
|
54
|
-
: !this.picture
|
|
55
|
-
? 'bg-strongest text-accent'
|
|
56
|
-
: ''
|
|
57
|
-
].join(' ');
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Renders the avatar component. Displays either an image using `eds-img` or initials depending on whether `picture` or `computedInitials` is set.
|
|
61
|
-
* @returns {JSX.Element} The rendered avatar component.
|
|
62
|
-
*/
|
|
63
|
-
render() {
|
|
64
|
-
return (h("div", { key: '716279a35cc9235da991563d5f84d2dedbdae001', class: this.containerClasses }, this.picture ? (h("eds-img", { src: this.picture, width: 54, height: 54, sizes: "120px", alt: `${this.firstName} ${this.lastName}`, lazyload: true, withBg: true })) : (h("abbr", { title: this.computedInitials || `${this.firstName} ${this.lastName}`, class: "!no-underline f-ui-01" }, this.computedInitials))));
|
|
65
|
-
}
|
|
66
|
-
};
|
|
67
|
-
EdsAvatar.style = edsAvatarCss;
|
|
68
|
-
|
|
69
|
-
export { EdsAvatar as eds_avatar };
|