@ebrains/components 1.1.0 → 1.3.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-primary-palette_6.cjs.entry.js +14 -14
- package/dist/cjs/components-section.cjs.entry.js +1 -1
- package/dist/cjs/components.cjs.js +1 -1
- package/dist/cjs/correct-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/docs-palettes.cjs.entry.js +1 -1
- package/dist/cjs/docs-tokens.cjs.entry.js +1 -1
- package/dist/cjs/eds-app-root.cjs.entry.js +1 -1
- package/dist/cjs/eds-avatar_28.cjs.entry.js +40 -41
- package/dist/cjs/eds-cookies-preference.cjs.entry.js +1 -1
- package/dist/cjs/eds-feedback.cjs.entry.js +1 -1
- package/dist/cjs/eds-frame.cjs.entry.js +1 -1
- package/dist/cjs/eds-progress-bar.cjs.entry.js +1 -1
- package/dist/cjs/eds-rating.cjs.entry.js +1 -1
- package/dist/cjs/eds-section-core_2.cjs.entry.js +3 -3
- package/dist/cjs/eds-spinner.cjs.entry.js +1 -1
- package/dist/cjs/eds-switch.cjs.entry.js +2 -2
- package/dist/cjs/eds-timeline.cjs.entry.js +1 -1
- package/dist/cjs/eds-toast-manager.cjs.entry.js +1 -1
- package/dist/cjs/eds-tooltip.cjs.entry.js +1 -1
- package/dist/cjs/eds-trl.cjs.entry.js +1 -1
- package/dist/cjs/incorrect-use-of-colors.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/logo-space.cjs.entry.js +1 -1
- package/dist/cjs/logo-variations-horizontal_2.cjs.entry.js +2 -2
- package/dist/cjs/logo-variations-tabs.cjs.entry.js +1 -1
- package/dist/cjs/logo-wrong-usage.cjs.entry.js +1 -1
- package/dist/cjs/svg-repository.cjs.entry.js +1 -1
- package/dist/cjs/token-list_3.cjs.entry.js +3 -3
- package/dist/cjs/token-ratios.cjs.entry.js +1 -1
- package/dist/cjs/token-spacing.cjs.entry.js +1 -1
- package/dist/cjs/token-typography.cjs.entry.js +1 -1
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.css +48 -0
- package/dist/collection/components/eds-input-elements/eds-input-footer/eds-input-footer.js +28 -11
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.css +24 -0
- package/dist/collection/components/eds-input-elements/eds-input-label/eds-input-label.js +12 -4
- package/dist/collection/components/eds-input-field/eds-input-field.js +121 -109
- package/dist/collection/components/eds-link/eds-link.js +1 -1
- package/dist/collection/components/eds-logo/eds-logo.js +1 -1
- package/dist/collection/components/eds-modal/eds-modal.js +2 -2
- package/dist/collection/components/eds-pagination/eds-pagination.js +1 -1
- package/dist/collection/components/eds-progress-bar/eds-progress-bar.js +1 -1
- package/dist/collection/components/eds-rating/eds-rating.js +1 -1
- package/dist/collection/components/eds-section/eds-section-core/eds-section-core.js +1 -1
- package/dist/collection/components/eds-section/eds-section-heading/eds-section-heading.js +2 -2
- package/dist/collection/components/eds-spinner/eds-spinner.js +1 -1
- package/dist/collection/components/eds-switch/eds-switch.js +2 -2
- package/dist/collection/components/eds-tag/eds-tag.js +1 -1
- package/dist/collection/components/eds-timeline/eds-timeline.js +1 -1
- package/dist/collection/components/eds-tooltip/eds-tooltip.js +1 -1
- package/dist/collection/components/eds-trl/eds-trl.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/secondary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/color-palette/support.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/primary.js +1 -1
- package/dist/collection/eds-docs-ui/colors/gradient-palette/secondary.js +7 -7
- package/dist/collection/eds-docs-ui/colors/gradient-palette/support.js +3 -3
- package/dist/collection/eds-docs-ui/colors/use-of-colors/correct-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/colors/use-of-colors/incorrect-use-of-colors.js +1 -1
- package/dist/collection/eds-docs-ui/components-section/components-section.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/docs-tokens/docs-tokens.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-list/token-list.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-radii/token-radii.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-ratios/token-ratios.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-shadows/token-shadows.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-spacing/token-spacing.js +1 -1
- package/dist/collection/eds-docs-ui/design-tokens/token-typography/token-typography.js +1 -1
- package/dist/collection/eds-docs-ui/docs-palettes/docs-palettes.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-space/logo-space.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-variations-tabs/logo-variations.js +1 -1
- package/dist/collection/eds-docs-ui/logo/logo-wrong-usage/logo-wrong-usage.js +1 -1
- package/dist/collection/eds-docs-ui/svg-repository/svg-repository.js +1 -1
- package/dist/collection/shared-ui/eds-cookies-preference/eds-cookies-preference.js +1 -1
- package/dist/collection/shared-ui/eds-feedback/eds-feedback.js +1 -1
- package/dist/collection/shared-ui/eds-footer/eds-footer.js +2 -2
- package/dist/collection/shared-ui/eds-form/eds-form.js +3 -3
- package/dist/collection/shared-ui/eds-frame/eds-frame.js +1 -1
- package/dist/collection/shared-ui/eds-header/eds-header.js +1 -1
- package/dist/collection/shared-ui/eds-social-networks/eds-social-networks.js +1 -1
- package/dist/collection/shared-ui/eds-tabs/eds-tabs.js +2 -2
- package/dist/collection/shared-ui/eds-toast-manager/eds-toast-manager.js +1 -1
- package/dist/collection/shared-ui/eds-user/eds-user.js +1 -1
- package/dist/collection/shared-ui/examples/eds-app-root/eds-app-root.js +1 -1
- package/dist/components/components-section.js +1 -1
- package/dist/components/components.css +4 -5
- package/dist/components/components.esm.js +1 -1
- package/dist/components/correct-use-of-colors.js +1 -1
- package/dist/components/docs-palettes.js +1 -1
- package/dist/components/docs-tokens.js +1 -1
- package/dist/components/eds-app-root.js +1 -1
- package/dist/components/eds-cookies-preference.js +1 -1
- package/dist/components/eds-feedback.js +1 -1
- package/dist/components/eds-footer2.js +2 -2
- package/dist/components/eds-form.js +3 -3
- package/dist/components/eds-frame.js +1 -1
- package/dist/components/eds-header.js +1 -1
- package/dist/components/eds-input-field2.js +18 -27
- package/dist/components/eds-input-footer2.js +7 -2
- package/dist/components/eds-input-label2.js +7 -2
- package/dist/components/eds-link2.js +1 -1
- package/dist/components/eds-logo2.js +1 -1
- package/dist/components/eds-modal.js +2 -2
- package/dist/components/eds-pagination2.js +1 -1
- package/dist/components/eds-progress-bar2.js +1 -1
- package/dist/components/eds-rating2.js +1 -1
- package/dist/components/eds-section-core2.js +1 -1
- package/dist/components/eds-section-heading2.js +2 -2
- package/dist/components/eds-social-networks2.js +1 -1
- package/dist/components/eds-spinner2.js +1 -1
- package/dist/components/eds-switch.js +2 -2
- package/dist/components/eds-tabs.js +2 -2
- package/dist/components/eds-tag2.js +1 -1
- package/dist/components/eds-timeline.js +1 -1
- package/dist/components/eds-toast-manager.js +1 -1
- package/dist/components/eds-tooltip.js +1 -1
- package/dist/components/eds-trl.js +1 -1
- package/dist/components/eds-user.js +1 -1
- package/dist/components/incorrect-use-of-colors.js +1 -1
- package/dist/components/logo-space.js +1 -1
- package/dist/components/logo-variations-horizontal2.js +1 -1
- package/dist/components/logo-variations-tabs.js +1 -1
- package/dist/components/logo-variations-vertical2.js +1 -1
- package/dist/components/logo-wrong-usage.js +1 -1
- package/dist/components/{p-6dc6f729.entry.js → p-0c465a1e.entry.js} +1 -1
- package/dist/components/{p-590fb0e7.entry.js → p-1c3f1440.entry.js} +1 -1
- package/dist/components/p-21cb7ef6.entry.js +1 -0
- package/dist/components/{p-10db551c.entry.js → p-3024b7cf.entry.js} +1 -1
- package/dist/components/{p-b50fc0d7.entry.js → p-33a5fa80.entry.js} +1 -1
- package/dist/components/p-41316de1.entry.js +1 -0
- package/dist/components/p-4185659c.entry.js +1 -0
- package/dist/components/{p-f7716080.entry.js → p-4188643f.entry.js} +1 -1
- package/dist/components/{p-46a6ab04.entry.js → p-463abb12.entry.js} +1 -1
- package/dist/components/p-4ffdf8ac.entry.js +1 -0
- package/dist/components/{p-cde3d7a4.entry.js → p-5873fcd0.entry.js} +1 -1
- package/dist/components/p-598f203e.entry.js +1 -0
- package/dist/components/{p-a4f552b2.entry.js → p-5ba5708a.entry.js} +1 -1
- package/dist/components/{p-1661f33c.entry.js → p-5f64fbb0.entry.js} +1 -1
- package/dist/components/{p-24dab785.entry.js → p-71f0c1ec.entry.js} +1 -1
- package/dist/components/p-77527268.entry.js +1 -0
- package/dist/components/{p-7f31622d.entry.js → p-776b21cf.entry.js} +1 -1
- package/dist/components/{p-2c571550.entry.js → p-835b48f4.entry.js} +1 -1
- package/dist/components/{p-d05a09df.entry.js → p-8ba5feea.entry.js} +1 -1
- package/dist/components/{p-17d39d66.entry.js → p-940c1a08.entry.js} +1 -1
- package/dist/components/{p-36d6134f.entry.js → p-94de9aaf.entry.js} +1 -1
- package/dist/components/{p-eac593ee.entry.js → p-9f35fe5f.entry.js} +1 -1
- package/dist/components/p-a6cdf11b.entry.js +1 -0
- package/dist/components/{p-df772a35.entry.js → p-b7a29cf7.entry.js} +1 -1
- package/dist/components/{p-fc4edb18.entry.js → p-bf1552ed.entry.js} +1 -1
- package/dist/components/{p-f2c23162.entry.js → p-c0900e8c.entry.js} +1 -1
- package/dist/components/{p-d0b1e963.entry.js → p-c3c61a32.entry.js} +1 -1
- package/dist/components/p-cd0fb6c7.entry.js +1 -0
- package/dist/components/{p-6907a47c.entry.js → p-fd4aed5a.entry.js} +1 -1
- package/dist/components/primary.js +1 -1
- package/dist/components/primary2.js +1 -1
- package/dist/components/secondary.js +1 -1
- package/dist/components/secondary2.js +7 -7
- package/dist/components/support.js +1 -1
- package/dist/components/support2.js +3 -3
- package/dist/components/svg-repository.js +1 -1
- package/dist/components/token-list2.js +1 -1
- package/dist/components/token-radii2.js +1 -1
- package/dist/components/token-ratios.js +1 -1
- package/dist/components/token-shadows2.js +1 -1
- package/dist/components/token-spacing.js +1 -1
- package/dist/components/token-typography.js +1 -1
- package/dist/esm/color-primary-palette_6.entry.js +14 -14
- package/dist/esm/components-section.entry.js +1 -1
- package/dist/esm/components.js +1 -1
- package/dist/esm/correct-use-of-colors.entry.js +1 -1
- package/dist/esm/docs-palettes.entry.js +1 -1
- package/dist/esm/docs-tokens.entry.js +1 -1
- package/dist/esm/eds-app-root.entry.js +1 -1
- package/dist/esm/eds-avatar_28.entry.js +40 -41
- package/dist/esm/eds-cookies-preference.entry.js +1 -1
- package/dist/esm/eds-feedback.entry.js +1 -1
- package/dist/esm/eds-frame.entry.js +1 -1
- package/dist/esm/eds-progress-bar.entry.js +1 -1
- package/dist/esm/eds-rating.entry.js +1 -1
- package/dist/esm/eds-section-core_2.entry.js +3 -3
- package/dist/esm/eds-spinner.entry.js +1 -1
- package/dist/esm/eds-switch.entry.js +2 -2
- package/dist/esm/eds-timeline.entry.js +1 -1
- package/dist/esm/eds-toast-manager.entry.js +1 -1
- package/dist/esm/eds-tooltip.entry.js +1 -1
- package/dist/esm/eds-trl.entry.js +1 -1
- package/dist/esm/incorrect-use-of-colors.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/logo-space.entry.js +1 -1
- package/dist/esm/logo-variations-horizontal_2.entry.js +2 -2
- package/dist/esm/logo-variations-tabs.entry.js +1 -1
- package/dist/esm/logo-wrong-usage.entry.js +1 -1
- package/dist/esm/svg-repository.entry.js +1 -1
- package/dist/esm/token-list_3.entry.js +3 -3
- package/dist/esm/token-ratios.entry.js +1 -1
- package/dist/esm/token-spacing.entry.js +1 -1
- package/dist/esm/token-typography.entry.js +1 -1
- package/dist/hydrate/index.js +92 -110
- package/dist/hydrate/index.mjs +92 -110
- package/dist/types/components/eds-input-elements/eds-input-footer/eds-input-footer.d.ts +23 -3
- package/dist/types/components/eds-input-elements/eds-input-label/eds-input-label.d.ts +0 -3
- package/dist/types/components/eds-input-field/eds-input-field.d.ts +47 -72
- package/dist/types/components.d.ts +104 -80
- package/package.json +1 -1
- package/dist/components/p-019555e2.entry.js +0 -1
- package/dist/components/p-0ed92872.entry.js +0 -1
- package/dist/components/p-223ba66e.entry.js +0 -1
- package/dist/components/p-2810d568.entry.js +0 -1
- package/dist/components/p-682f7376.entry.js +0 -1
- package/dist/components/p-b4abff90.entry.js +0 -1
- package/dist/components/p-d25364db.entry.js +0 -1
- package/dist/components/p-e6a0b8c2.entry.js +0 -1
|
@@ -58,7 +58,7 @@ export class ColorSupportPalette {
|
|
|
58
58
|
return 'text-default';
|
|
59
59
|
}
|
|
60
60
|
render() {
|
|
61
|
-
return (h("ul", { key: '
|
|
61
|
+
return (h("ul", { key: '869a21a9a286ba36e5df1cef926e1c119ce35645', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, this.colors.map((color) => {
|
|
62
62
|
// compute once
|
|
63
63
|
const textClass = this.getTextColor(color.background);
|
|
64
64
|
return (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } }, h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' }, class: textClass })), h("div", { class: "grid" }, h("span", { class: `f-body-02 ${textClass}` }, color.pantoneC), h("span", { class: `f-body-02 ${textClass}` }, color.pantoneU)))));
|
|
@@ -33,7 +33,7 @@ export class GradientPrimaryPalette {
|
|
|
33
33
|
];
|
|
34
34
|
}
|
|
35
35
|
render() {
|
|
36
|
-
return (h("ul", { key: '
|
|
36
|
+
return (h("ul", { key: 'a527107bb4bab3981790adacf1b354da1fa41602', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16", style: {
|
|
37
37
|
background: 'linear-gradient(to bottom, #9CE142 0%, #00C959 50%, #00A595 100%)'
|
|
38
38
|
} }, this.colors.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "effect-height flex items-center justify-between p-16" }, h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.rgb), h("span", { class: "f-body-02 w-full" }, color.cmyk), h("eds-code-block", { code: color.hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { class: "grid" }, h("span", { class: "f-body-02" }, color.pantoneC), h("span", { class: "f-body-02" }, color.pantoneU))))))));
|
|
39
39
|
}
|
|
@@ -57,19 +57,19 @@ export class GradientSecondaryPalette {
|
|
|
57
57
|
];
|
|
58
58
|
}
|
|
59
59
|
render() {
|
|
60
|
-
return (h("div", { key: '
|
|
60
|
+
return (h("div", { key: '74f7edbba10e5d4db5a2f661b73b0fb918e46b68' }, h("ul", { key: 'b9045ef69060083d97bd3eb3a3c6b717f4fe1f34', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'a72a7d04c335ab12eeb9cafaa2e6f2faf54b8b96', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '34c60280372817adbd8f5f516a5825f5a21438e4', class: "effect-height flex items-center justify-between p-16", style: {
|
|
61
61
|
background: this.colors[0].background
|
|
62
|
-
} }, h("div", { key: '
|
|
62
|
+
} }, h("div", { key: '46e9b34908507069d975d766a5e696a6ab47b990', class: "grid" }, h("span", { key: 'ebeb484c14c82b35811bb66111dcdd67549d1a46', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: 'b7fa5ce2837e11ff98f470f5907d4a7a47ed288a', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '6e65b43c564a308f6b183e463f6b2ca28cbac2a7', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '03b3bf61023ea3314dfa1a8bedfa5f72f47a21d2', class: "grid" }, h("span", { key: '4d1a77980d823f96a6b47abd9496062802532fb7', class: "f-body-02" }, this.colors[0].pantoneC), h("span", { key: '60c0d9436d3210518dd931e5b46e0687992611f2', class: "f-body-02" }, this.colors[0].pantoneU))), h("div", { key: '9ac430429109809eb270b58d07423fbb4f12f06d', class: "effect-height flex items-center justify-between p-16", style: {
|
|
63
63
|
background: this.colors[1].background
|
|
64
|
-
} }, h("div", { key: '
|
|
64
|
+
} }, h("div", { key: '6e12590eb03638ff0a05cb1fc21c793b202be508', class: "grid" }, h("span", { key: 'ca3267c62171da901fa7397ab755913d8244fa05', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: 'd3e34e06994849c667d2ce4aed6660d0052b51bc', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '10090042d6f423dc0ba69bbebbbc261a8f83177b', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'e51f480cfbce6505657be18f64e206f17292b75b', class: "grid" }, h("span", { key: 'e52d1565df7f85edf31815330139542ad685d5bb', class: "f-body-02" }, this.colors[1].pantoneC), h("span", { key: 'c82c6476a00d3d86f175d84a991799e4b8be0339', class: "f-body-02" }, this.colors[1].pantoneU))))), h("eds-block-break", { key: '9f9454dd27f53c76e055b75bd35718170934161c' }), h("ul", { key: 'f0cd0c2956b005dff53e840780ec883e79e54d29', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '0051eca25a27a4617642ee62495b5070b39303e1', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e635251200247329d546f6832b45c15f68e16ada', class: "effect-height flex items-center justify-between p-16", style: {
|
|
65
65
|
background: this.colors[2].background
|
|
66
|
-
} }, h("div", { key: '
|
|
66
|
+
} }, h("div", { key: 'ae1fbc5eab2f291f01a67ea2c175e916994a23cc', class: "grid" }, h("span", { key: '89b9565bb0eaceb4306cc2fb8112005e1ecac2ec', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: '789381481f744ceeb4db49ffdcae1992e24411e7', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '17ef5171b93ddae1a653e4e24931a4dd8133e327', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '683d59c2d9ef6c7be6cddce3e861b88362c9d92b', class: "grid" }, h("span", { key: '049567ea731c85be8ee92a1e367d8bed0d53a948', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'e9abe0895de0438db939a081f84dd4a95de56b33', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'e2d6d0aaf225da7a4b92a539106a4995e0a97e90', class: "effect-height flex items-center justify-between p-16", style: {
|
|
67
67
|
background: this.colors[3].background
|
|
68
|
-
} }, h("div", { key: '
|
|
68
|
+
} }, h("div", { key: '5327980f01b127a695ebc19f2ea9edf99b674078', class: "grid" }, h("span", { key: 'c44c7dfd09520b00a4faa2723a797e2e6e893816', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '50ed833cf9d0b281d0ee2c06ca6e9074b82de399', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: 'd8545dfbeec83ce4e04695b52c85e1e4ea8d125e', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '3a88aa95a18ff30a5694c73dfce9b27cdbfb22cc', class: "grid" }, h("span", { key: '72245f6f7992657f4801571258c0b474a0b00f26', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '1d24a4ce4f9456268030f45fb5320f71de235483', class: "f-body-02" }, this.colors[3].pantoneU))))), h("eds-block-break", { key: '911c0de727c6dfbe9e0d83b572ea2637a54481f6' }), h("ul", { key: 'a09572c51f87e28b3b90b5ac9936d1c0c109a780', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '0228ebc07d1402fd16def4e3596d80f971b3d437', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '6041ecff1c8ec57284ea167a39573a572c266c19', class: "effect-height flex items-center justify-between p-16", style: {
|
|
69
69
|
background: this.colors[4].background
|
|
70
|
-
} }, h("div", { key: '
|
|
70
|
+
} }, h("div", { key: 'eb2a7c48b057c022302c9a2d4101bbf3c062afb9', class: "grid" }, h("span", { key: 'e4de44d68f477e93a9fe992cd4e8008c71db775c', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: '4e5c3774c71fe464173005df581f867a683b8f32', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: 'aa9462ae6d2feb2f1caddff60b0e36593a2363ac', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'ef2cbd394e055499a1b8050d61618d4469cfe12f', class: "grid" }, h("span", { key: '15e103271c649e90d5f9e8891bd94da5c91855c2', class: "f-body-02" }, this.colors[4].pantoneC), h("span", { key: '6a19b5ba5340ff0fe4eb91869f502ed0d33dc423', class: "f-body-02" }, this.colors[4].pantoneU))), h("div", { key: 'fd71cdb93d40856025ff743330a1849829f13ea1', class: "effect-height flex items-center justify-between p-16", style: {
|
|
71
71
|
background: this.colors[5].background
|
|
72
|
-
} }, h("div", { key: '
|
|
72
|
+
} }, h("div", { key: 'fb0aa74276a6210ea690892ac4cb295975c1631c', class: "grid" }, h("span", { key: '25292c9f2f2417f7fd8e6db1d3419663ef5bf831', class: "f-body-02" }, this.colors[5].rgb), h("span", { key: '1bca86d8036ac0923e6014b36177974e135799a0', class: "f-body-02 w-full" }, this.colors[5].cmyk), h("eds-code-block", { key: '142843c1ac15d4fdda1d5c2a96d11503ac99c2c9', code: this.colors[5].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '6c05bf3278967860f4c36a6c4711be70ba9989c4', class: "grid" }, h("span", { key: '32459a9b07699f3291ce29dcffaa12faffe6006a', class: "f-body-02" }, this.colors[5].pantoneC), h("span", { key: 'b9cd8ea5b74262c3268981137639c953cbfa512f', class: "f-body-02" }, this.colors[5].pantoneU)))))));
|
|
73
73
|
}
|
|
74
74
|
static get is() { return "gradient-secondary-palette"; }
|
|
75
75
|
}
|
|
@@ -49,11 +49,11 @@ export class GradientSupportPalette {
|
|
|
49
49
|
];
|
|
50
50
|
}
|
|
51
51
|
render() {
|
|
52
|
-
return (h("ul", { key: '
|
|
52
|
+
return (h("ul", { key: '7df69f04c7056874f1adc148bc558eebb3ad5ce0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '6022b06412004891f8878ef083f8b720561b21c4', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'baa50bd7d36783a3c906bf34cf4782883d07fd15', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[0].background } }, h("div", { key: '8676a93e699a766cf14c933f782e255945cd6b33', class: "grid" }, h("span", { key: '812287677e887e635f2256afcc747008b3b67e87', class: "f-body-02" }, this.colors[0].rgb), h("span", { key: '4818cfaa20c82c2ea7fe2058159aab5d4a7585d2', class: "f-body-02 w-full" }, this.colors[0].cmyk), h("eds-code-block", { key: '3366a3a92d136f057350048698ea552d2abb528f', code: this.colors[0].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '7d65d5e2f1e283fbbda8542fdb1238bc01419176', class: "grid" }, h("span", { key: '97f249218107af11869a10c80c29a32ecf37fed4', class: "f-body-02" }, this.colors[0].pantoneC || 'N/A'), h("span", { key: 'ef213856451374a9709ac600360a92b07596fbb6', class: "f-body-02" }, this.colors[0].pantoneU || 'N/A')))), h("li", { key: '6e7b366c0b441e4738d1ec1c148ded1fb4e32750', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: 'e1c6c78fb4bc1aa509abd179bbca4eb9cc92d927', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[1].background } }, h("div", { key: '8596e8b03c79c16fe7fcbcbde6d66618cd9eb31c', class: "grid" }, h("span", { key: 'daf3bbd648cc5b23c24ea04e4f63bf5224100637', class: "f-body-02" }, this.colors[1].rgb), h("span", { key: '36279d0a36a908d94bf69cd4626f697ddcf8a4a5', class: "f-body-02 w-full" }, this.colors[1].cmyk), h("eds-code-block", { key: '968dd60e01ed0ca4c12859883f39eae13bc241d2', code: this.colors[1].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '8adc5a48de6c7662d5bfd7f580b539cdb2724966', class: "grid" }, h("span", { key: 'aba8dc8c327f186cd71251c5d759a8d2bab22d76', class: "f-body-02" }, this.colors[1].pantoneC || 'N/A'), h("span", { key: '4f00ac84c957f17f640fdf99fe7bc0f8d5a4729d', class: "f-body-02" }, this.colors[1].pantoneU || 'N/A')))), h("li", { key: 'f60cc305104ff06e7e3138122605719fdf44211a', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '16055cb2c78f2cab4c2a8ee5abf0ff180ce1818c', class: "effect-height flex items-center justify-between p-16", style: {
|
|
53
53
|
background: this.colors[2].background
|
|
54
|
-
} }, h("div", { key: '
|
|
54
|
+
} }, h("div", { key: 'cb9015c5139a9e4bc4d83c81e4c624418ba91e57', class: "grid" }, h("span", { key: 'e6071179b0d5ee6a327bae62e8cb797be4613a48', class: "f-body-02" }, this.colors[2].rgb), h("span", { key: 'f82c6c24daedeed9976b40e15e68b0f8cf0e0237', class: "f-body-02 w-full" }, this.colors[2].cmyk), h("eds-code-block", { key: '38c572026fb438735393f080475ce007f1d6d87a', code: this.colors[2].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'a348ef327a39997ef3b76d5c98dd0e485e71ceec', class: "grid" }, h("span", { key: 'f8d5156c502542206b83b8f402085b3e8f0cbbaf', class: "f-body-02" }, this.colors[2].pantoneC), h("span", { key: 'd1ce2dc56c8f256a1e139a6a22ddfe922f374617', class: "f-body-02" }, this.colors[2].pantoneU))), h("div", { key: 'c37b60531e00b73b27a9d687f256906aa702fc33', class: "effect-height flex items-center justify-between p-16", style: {
|
|
55
55
|
background: this.colors[3].background
|
|
56
|
-
} }, h("div", { key: '
|
|
56
|
+
} }, h("div", { key: '5664705a651d08bbc912dc2c54a5836b7b110756', class: "grid" }, h("span", { key: '983856d8e4b220111545618290fc646d9441255d', class: "f-body-02" }, this.colors[3].rgb), h("span", { key: '4889da92a9135b03cf4a3261bf56dbb5f0676732', class: "f-body-02 w-full" }, this.colors[3].cmyk), h("eds-code-block", { key: '7a05d96a8850a939aae04055d6687c4f0b099627', code: this.colors[3].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: '6d2a643019c9157caa657022ffd186cbce545051', class: "grid" }, h("span", { key: 'd6d4e56c980b989317059c5564d6734d882cb340', class: "f-body-02" }, this.colors[3].pantoneC), h("span", { key: '27d832aebcf959f279b31479011ad580eca1738e', class: "f-body-02" }, this.colors[3].pantoneU)))), h("li", { key: '4883a16496f89bb91be092dd30c396b5da80b022', class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { key: '0961b636d4700899d85a96559163a22cea529a3c', class: "effect-height flex items-center justify-between p-16", style: { backgroundColor: this.colors[4].background } }, h("div", { key: '7dfe7f6f7ce9a0ef94f2e4fb5a238efbf4d79000', class: "grid" }, h("span", { key: 'de249cb619dc0b304e02137d3acca2372542d894', class: "f-body-02" }, this.colors[4].rgb), h("span", { key: 'e61f26f9cb320b5c89a869cc136b77e188883271', class: "f-body-02 w-full" }, this.colors[4].cmyk), h("eds-code-block", { key: '6f42200391ca34de7059bb58487072e142a1e426', code: this.colors[4].hex, style: { minWidth: '150px', marginRight: '5px' } })), h("div", { key: 'cc46304bf53b13ff4895589d728e8db931a4410d', class: "grid" }, h("span", { key: '1e7f7cef5a61e4644b2ffd4853a764e3d5894fa9', class: "f-body-02" }, this.colors[4].pantoneC || 'N/A'), h("span", { key: '30eb901e47311d9bce77ec1a05f29d43fb41dd70', class: "f-body-02" }, this.colors[4].pantoneU || 'N/A'))))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "gradient-support-palette"; }
|
|
59
59
|
}
|
|
@@ -60,7 +60,7 @@ const red = [
|
|
|
60
60
|
*/
|
|
61
61
|
export class CorrectUseOfColors {
|
|
62
62
|
render() {
|
|
63
|
-
return (h("div", { key: '
|
|
63
|
+
return (h("div", { key: '28d23c1c4938faeda8dcb1dee2781f2699fec1e4', class: "container" }, h("p", { key: 'aa95599c281f69ddf8d701a3aea0023ad2896f7b', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '9dd65e4f8c1bb626245146437038ac8994590014', 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: 'e7cb83cd12a9227e63680793da991f74801824ac', 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: 'a5a562f406f498a56d1558085d8c9ced9aa03950', class: "flex" }, h("div", { key: '5b9d8055ef5a2bda94046296312ba33bf8e6c5f6', class: "w-full" }, h("ul", { key: '2cb3969aa88ba595611bccaba6f5727245be1e9a', 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: 'a5aa66122430d9bb7c1e602c9f9caa3206539ebc', class: "w-full" }, h("ul", { key: '6fc4319d823fcd503e51c30f51ac4e641a3e26cb', 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: 'c6300f7ce011a590b7d2cd669bc723b57db95cfb', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '435c9b84ed36852025dc6cc5145e4e7f16a27b85', 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: 'bce35bdd3f967da492756c32a60e4d5a6d955ae5', 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: '9a125394479b45c3bf6e3b0ee84aeeaa810979df', class: "flex" }, h("div", { key: '85b337713bdb2a8df04802708483c451c47c3bfb', class: "w-full" }, h("ul", { key: '7ecaa983023ace254ce45821d25d7ad31c33a03a', 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: 'ebd9dd35d96f26e710f4ba8d73bb137f380bc4f7', class: "w-full" }, h("ul", { key: '6a55067d2de6661a60ddc72d01ca689d3310fa9e', 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: '982fec24d95cdb1975b34f1fb212f088dd9778d4', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '064a8ce0228f618a81136fdf9db083ac0147c189', 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: '9a71a6928fc842f41a531d56c3d07b663c5b97a5', 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: '687304a89d420fd90e2af3998a4c9c9e8d65589b', class: "flex" }, h("div", { key: '3a85f4c1a31c7d53d5530de7dcaab462e5469d22', class: "w-full" }, h("ul", { key: 'eed3d8bc0cfff01f076d49c8329ec15284cc186f', 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: '0107d348aef7cf518f85ab4b6da2279ff88cc164', class: "w-full" }, h("ul", { key: '6e0bea6067919913beeb22b9f21e1e4159aadc17', 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: 'ed1fc0df515ab765a5fc0150e6de20be7e17f529', class: "f-body-01" }, "This guide demonstrates the correct usage of the", h("eds-link", { key: '6528243a7c1f3670bbc26a0dfb9082b664684ce0', 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: '41edce302c91862655dfc88c53b007c79de65dbd', 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: 'ff5f2d3300515caeef697e53427f93743332330f', class: "flex" }, h("div", { key: '4dbedd35ca5c3e0c9cfcb4b64cb57b50f95dc5fb', class: "w-full" }, h("ul", { key: '0fb5f50e2d8864b444cbbbee040fb7202d63edf2', 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: '42ef75b3373aaf6440930a5acdbb06ce2f879b16', class: "w-full" }, h("ul", { key: 'f0d9e29b7aa325a9df35e2cbb0efbcec838d8bd3', 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
64
|
}
|
|
65
65
|
static get is() { return "correct-use-of-colors"; }
|
|
66
66
|
}
|
|
@@ -38,7 +38,7 @@ const incorrect = [
|
|
|
38
38
|
*/
|
|
39
39
|
export class IncorrectUseOfColors {
|
|
40
40
|
render() {
|
|
41
|
-
return (h("div", { key: '
|
|
41
|
+
return (h("div", { key: 'ed003f432493176392848de9448512f655ebfa9f', class: "container" }, h("div", { key: '231dcfa8b0be673efb56dce00f499839d6877301', class: "mb-8" }, h("eds-alert", { key: '5bbd8f9e057d9f9d48813b962c952aeba6e4e1aa', message: "Note that, each of the four colour tones cannot be mixed in the same composition.", intent: "error" })), h("div", { key: 'fb6ef214a96b60d1277c1326027f49b88fe2cab9', class: "flex" }, h("div", { key: '46a8671c782e8b7bd51947cce8d0c42ab7ca46af', class: "w-full" }, h("ul", { key: 'dd84eaf26634432c50f41fc1dc0479ba52a9a6b1', 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: '3db312eb1ac27957f44497a729d6b8e5fa631d2f', class: "w-full" }, h("ul", { key: '05ac3bf1478c21a5291bc8c492c59cb6240be4f9', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, incorrect.map((color) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col" }, h("div", { class: "w-full min-h-[90px] effect-height flex items-center justify-between p-16", style: { backgroundColor: color.background } })))))))));
|
|
42
42
|
}
|
|
43
43
|
static get is() { return "incorrect-use-of-colors"; }
|
|
44
44
|
}
|
|
@@ -28,7 +28,7 @@ export class ComponentsSection {
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
render() {
|
|
31
|
-
return h("div", { key: '
|
|
31
|
+
return h("div", { key: '493e3acd6d92f206d931af6406c9e1f42404c91d', class: "container" }, this.renderContent());
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "components-section"; }
|
|
34
34
|
static get properties() {
|
|
@@ -25,7 +25,7 @@ export class DocsContent {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return h("div", { key: '
|
|
28
|
+
return h("div", { key: 'abc5bf722ee15d7c9b2a1ca0b34644a0d628d578', class: "container" }, this.renderContent());
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "docs-tokens"; }
|
|
31
31
|
static get properties() {
|
|
@@ -69,7 +69,7 @@ export class TokenList {
|
|
|
69
69
|
render() {
|
|
70
70
|
// Check if `show` prop is provided; if not, display all sections
|
|
71
71
|
const sectionsToDisplay = this.show ? { [this.show]: colors[this.show] } : colors;
|
|
72
|
-
return (h("section", { key: '
|
|
72
|
+
return (h("section", { key: '0ba9dbb1b98cb398c2eb989391f6e978f9dc21ef', class: "w-full mt-28" }, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
73
73
|
// Only render sections that exist in `colors`
|
|
74
74
|
sectionContent ? this.renderSection(sectionName, sectionContent) : null)));
|
|
75
75
|
}
|
|
@@ -5,7 +5,7 @@ import radii from "../../../../../../../../packages/assets/tokens/radii"; // Adj
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenRadii {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: '0b0ccb9adcfa77ea898828ddbb244e959f93e2e4', class: "w-full mt-28" }, h("ul", { key: '94f17ad36ec9fcc47b645e323c7e5a8f3e040dda', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(radii).map(([key, value]) => (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-16 block lg:flex items-center justify-center text-center border-3 border-soft rounded-${key}` }, h("eds-code-block", { language: "Utility Class", code: `rounded-${key}`, class: "mx-auto min-w-[200px] sm:mb-4 sm:max-w-[200px] mr-auto" }), h("eds-code-block", { code: `border-radius:${value}`, language: "css", class: "mx-auto min-w-[200px] sm:max-w-[200px] ml-auto" }))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "token-radii"; }
|
|
11
11
|
}
|
|
@@ -5,7 +5,7 @@ import ratios from "../../../../../../../../packages/assets/tokens/ratios"; // A
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenRatios {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: '0fb029d34cba573e04e15030b3fdd1497ac9974e', class: "w-full" }, h("eds-section-core", { key: 'd6914b95ef74d590d58b0c90600fc44f5d9d6678', tag: "div", "section-title": "Aspect Ratios", "heading-level": "h3" }, h("ul", { key: 'f08511f07380707795b810fd0f34c1acdc47d37d', class: "gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(ratios).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { class: "container ratio-box flex items-center justify-center text-center border-2 border-soft", style: {
|
|
9
9
|
aspectRatio: value.replace('/', ':'), // Cast to string to resolve TypeScript error
|
|
10
10
|
width: '100%', // Full width to show the aspect ratio correctly
|
|
11
11
|
maxWidth: '300px'
|
|
@@ -5,7 +5,7 @@ import shadowTokens from "../../../../../../../../packages/assets/tokens/shadows
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenShadows {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: '18d2b4cdcc3b6d6ce8864a9c36e869be9b9e5cb4', class: "w-full mt-28" }, h("ul", { key: '63e646788009d3315d2f4e03f1a780811486d9a0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => (h("li", { class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16" }, h("div", { class: "w-full p-16 block lg:flex items-center justify-center text-center border-2 border-soft", style: { boxShadow: value } }, h("eds-code-block", { code: `${category}-${key}`, language: "Utility Class", class: "mr-auto sm:mb-4 min-w-[200px]" }), h("eds-code-block", { code: `${value}`, language: "css", class: "ml-auto min-w-[200px]" })))))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "token-shadows"; }
|
|
11
11
|
}
|
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class TokenSpacing {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: '144e643ff3f26d09b932b3bfa2086164134728c0', class: "w-full" }, h("ul", { key: 'fabddc807bcd5cefbfced6391117e9eb065ffff0', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'cc0fba19927a1c3ad33008dc1087ee75e0c9fe2d', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '328054d7cfe6a0678e9e592b91dba6a8524c2039', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'e50e3533e36feb7021cac8ac10cc9a05e7f24c0a', class: "spacing-sample m-16 bg-strong" }, h("span", { key: '87165037495881426a3c9848953e049ec7e96b7a', class: "f-body-01 text-inverse" }, "Margin: 1rem / m-16")))), h("li", { key: 'a6a98204655e53b6ef9ce9f2fd90b561c79c185d', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '385ae898ce1f1f96cbb236ded619a05d8326c304', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '4e6c11ae90e22efa73fb6c9481ee2c1511365394', class: "spacing-sample ml-64 bg-strong" }, h("span", { key: 'a13a1886b5019ca48a19d24ba03b3caa1c51bc3f', class: "f-body-01 text-inverse" }, "Margin Left: 4rem / ml-64")))), h("li", { key: '7b2f325ced5281668e6ece98d56caf864b34c7e8', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '3e1a69b9983bc993686426ec84dd70b4803538a6', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '66804ce21771e53210bc385ac8cefce4c554d188', class: "spacing-sample mt-32 bg-strong" }, h("span", { key: '91cee3a9cf00777f1d2b4cde4ce484fcddef52f5', class: "f-body-01 text-inverse" }, "Margin Top: 2rem / mt-32")))), h("li", { key: '9d9074db464e7ecc36977c69b0fdd053e8025dec', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: 'e6a2d7d1ded9c92ca41d211dca3dcca9f03ad707', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'c87e88d711ec5298525f1d901958a035837b3db0', class: "spacing-sample p-32 bg-strong" }, h("span", { key: '6276cb3c19a8fd1262c5002e682099f13d38b512', class: "f-body-01 text-inverse" }, "Padding: 2rem / p-32")))), h("li", { key: 'c8614add23a4802ccbb3086c74ac2871ad0a0340', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '68b73e788596e32a696e012d08ec11cf479a5d45', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: 'b057f25cdeda7c6cc3f0ce21e199d84d90bb0bfa', class: "spacing-sample pt-32 bg-strong" }, h("span", { key: 'a72e385bdaed3c6c8a06fb7951f6b326eb8f2e4f', class: "f-body-01 text-inverse" }, "Padding Top: 2rem / pt-32")))), h("li", { key: '11be77901177c2372b29076072dd7544f7371aa4', class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16" }, h("div", { key: '5606d88389c6aaa16a9941fefe2bc34e881b22a3', class: "container p-8 item-center border-2 border-soft" }, h("div", { key: '1341d44c62567c8b5078046644cda8ddcec59809', class: "spacing-sample pl-32 bg-strong" }, h("span", { key: 'b9208571277fced609ea55a113a30dc7a424c2a8', class: "f-body-01 text-inverse" }, "Padding Left: 2rem / pl-32")))))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "token-spacing"; }
|
|
10
10
|
}
|
|
@@ -5,7 +5,7 @@ import typography from "../../../../../../../../packages/assets/tokens/typograph
|
|
|
5
5
|
*/
|
|
6
6
|
export class TokenTypography {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("section", { key: '
|
|
8
|
+
return (h("section", { key: 'b831c9707b00d17768f585e2015de8a7289b11d2', class: "w-full" }, h("ul", { key: '472e46f2c903597d24e8f24cf28b6f475c7d7a82', class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16" }, Object.entries(typography.typesets)
|
|
9
9
|
.filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
10
10
|
.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: {
|
|
11
11
|
fontFamily: typography.families.sans,
|
|
@@ -17,7 +17,7 @@ export class DocsPalettes {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: 'dd41d9bbba79fd09d2ca5b0db7bd9427f2ef3f05', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "docs-palettes"; }
|
|
23
23
|
static get properties() {
|
|
@@ -5,7 +5,7 @@ import { vLogoMargins } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoSpace {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: '3b8bd597cdf444eee5bf07fb627c4538e5d679cc', class: "container" }, h("ul", { key: 'cba7e1a29b54f81a18c168b4b00568d40f2d4371', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'ecc9fbea2532bed8b33987dc50ab32bf63150834', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'b75492b9024929b8f210ceb3e3300c4fb1791994', class: "logo-container mx-auto w-[300px]", innerHTML: vLogoMargins })), h("li", { key: '7de22236a86b8e6f10e5bd32922fab53c1ba12a8', class: "grid-col-span-6 xxl:grid-col-span-3 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'e8c9f50e17751a17674d20c418d544f90a7ba35b', class: "text-center mt-16" }, h("p", { key: 'da441199660dc0601ccea107fbc8722f9b5a381f', class: "f-body-01" }, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", { key: '01501a72a8bec05c19de3fdc3d0d101441db25b5', data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]', config: '{\n "Media": { "format": "bold" }\n }' }))), h("li", { key: 'ded8166e2ff4c9d0836e78b9bb48e291f9008a6c', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-space"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/horizontal/logo-variations-horizontal.js
CHANGED
|
@@ -4,7 +4,7 @@ import { h } from "@stencil/core";
|
|
|
4
4
|
*/
|
|
5
5
|
export class LogoVariationsHorizontal {
|
|
6
6
|
render() {
|
|
7
|
-
return (h("div", { key: '
|
|
7
|
+
return (h("div", { key: 'b8329902e5b54186ff70883b7629ce713f9916e3', class: "container" }, h("ul", { key: 'bef5503199fa5390fe3690bf8398702b39f6ce43', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'd5d87badeb69da37aa05c0265079cdadfa7b06ec', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '6e263eca9ee6d917b73314a9fed6843e90ab9ad1', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: 'dca876e83d4a3196f937204d1f36a22e5e554edb', class: "coloured" }, h("eds-logo", { key: '6fadb6eb40b3771e808718ab19e1dcbdb838af14', type: "no-bg", href: "#" }))), h("li", { key: '913d4163183e8df4978e5030e2049b9627f355ac', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '94b74970ae70cd4a97ce07c8f2435995b6224e7b', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '7a10955ff26e151c467e55ce839fa5377509cbca', class: "bg-default" }, h("eds-logo", { key: '5bf7bc14877a77acf069e1067d67aebfb993c148', type: "black", href: "#" }))), h("li", { key: '7b1d286ae816ce932c51bf944e606ce0a0dd692f', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '1385573e0cba33124c068536a6df0cc809d2e872', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: '0d0febe112256ef7372f86886da3d25b2cb8c7d9' }, h("eds-logo", { key: '104ee7af8e721feaf91f6e96909181afea93ebc6', type: "color-white", href: "#" }))))));
|
|
8
8
|
}
|
|
9
9
|
static get is() { return "logo-variations-horizontal"; }
|
|
10
10
|
static get encapsulation() { return "shadow"; }
|
package/dist/collection/eds-docs-ui/logo/logo-variations/vertical/logo-variations-vertical.js
CHANGED
|
@@ -8,7 +8,7 @@ export class LogoVariationsVertical {
|
|
|
8
8
|
this.type = undefined;
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
|
-
return (h("div", { key: '
|
|
11
|
+
return (h("div", { key: 'c5edd87842f2f02818087806b4e2f582da663277', class: "container" }, h("ul", { key: 'e2d3e77fbcc9f6cbbe8c293e3548ab5b5b9be53c', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: '87864a42ddab2c0816e9ff46c8122ea645f077aa', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '8187e615b2701e6496cd567882ea338d3e50150d', class: "f-body-01 text-center my-4" }, "#1 Coloured"), h("div", { key: '2368fe2ad41d8e325d4a54dac24786bc5a05ab56', class: "mx-auto coloured w-[300px]" }, h("eds-logo", { key: '8efcfe38b1dc0498fa5f132bf01feb3fbfdf05fe', orientation: "vertical", type: "no-bg", href: "#" }))), h("li", { key: '780ca8af41665e5bc92c6c25efd1e9a3552eacbe', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: 'ea00627b69008f8438a74d84cd00ac76bcbc36f3', class: "f-body-01 text-center my-4" }, "#2 Black & White"), h("div", { key: '5d91c7b29a539118254bfbca8d553794f96e00e5', class: "mx-auto bg-default w-[300px]" }, h("eds-logo", { key: '5f9a4fc71340ab9c45fabdacaea00eb01771d8b3', orientation: "vertical", type: "black", href: "#" }))), h("li", { key: '5c9306edbd30774b35431b5af16956545e7bc973', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("p", { key: '8dbc48fd5256198bb0b50ce11267ac408c6e286c', class: "f-body-01 text-center my-4" }, "#3 Dark"), h("div", { key: '495a4c78848efe16898a7e37a802ca33ebe78989', class: "mx-auto w-[300px]" }, h("eds-logo", { key: 'ed7793faeff06e70d05b829d7b361c8e52372232', orientation: "vertical", type: "color-white", href: "#" }))))));
|
|
12
12
|
}
|
|
13
13
|
static get is() { return "logo-variations-vertical"; }
|
|
14
14
|
static get encapsulation() { return "shadow"; }
|
|
@@ -17,7 +17,7 @@ export class LogoVariationsTabs {
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
render() {
|
|
20
|
-
return h("div", { key: '
|
|
20
|
+
return h("div", { key: '978803ba74596825489ce19690036162c5d2d6fb', class: "container" }, this.renderContent());
|
|
21
21
|
}
|
|
22
22
|
static get is() { return "logo-variations-tabs"; }
|
|
23
23
|
static get properties() {
|
|
@@ -5,7 +5,7 @@ import { hLogoColor } from "../../../../../../../../packages/svgs/src/index";
|
|
|
5
5
|
*/
|
|
6
6
|
export class LogoWrongUsage {
|
|
7
7
|
render() {
|
|
8
|
-
return (h("div", { key: '
|
|
8
|
+
return (h("div", { key: 'ca22a0f8284bd418c0307e9b18443cf93dbd5ef7', class: "container" }, h("ul", { key: 'dae3e5fdf852e1684effe028fcb12f3a4a765c92', class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16" }, h("li", { key: 'f938ed546e420f7f3c9629b3029623d8b0b3cb33', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'eecaba67c1506aa8192bdeb07dfe92417c200520', class: "mx-auto no-other-bg-color logo", innerHTML: hLogoColor }), h("p", { key: '1057f9c302bc7e4b9ccdc5db8bdc5c92066b9efd', class: "f-ui-02 text-center" }, "Do not use with backgrounds that make legibility difficult")), h("li", { key: '2b4ea9b064c01b08daa1a236f9f427aab55155df', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '9d42d01d4c2cacf71ab151bcd136a9b427ae2f61', class: "mx-auto no-other-color logo non-brand-color", innerHTML: hLogoColor }), h("p", { key: 'abc8b7da35ff02d255c7101b963216a6176876be', class: "f-ui-02 text-center" }, "Do not apply other colors")), h("li", { key: '180f04ec0804841dff6aa1aadb4abcf39cd9795b', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'b28e00dd5e87f8dfa0115c2a617755d0ad3615bf', class: "mx-auto distorted logo", innerHTML: hLogoColor }), h("p", { key: '93724268eeedcc799ec3c90087ce2e7ac61dc07e', class: "f-ui-02 text-center" }, "Do not deform the logo")), h("li", { key: '5063815d8df9ed7eb13d83734f23978916ade66a', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: '8f8624744ed71aebc2d42815f8012ed5c18c1cb7', class: "mx-auto effects logo", innerHTML: hLogoColor }), h("p", { key: '14040538adcea3c5650ddb3e94a3a5186d009a2a', class: "f-ui-02 text-center" }, "Do not apply effects")), h("li", { key: 'a80a2e6f66d27bd28a52d9ea45aa3352519f8973', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'ab16f170fde233d8e05c8b93babc83f6a54fe4df', class: "mx-auto rotated logo", innerHTML: hLogoColor }), h("p", { key: '12eb2d4f8c48b51397295e84fd13f9cdb7fe1291', class: "f-ui-02 text-center" }, "Do not rotate the logo")), h("li", { key: 'e93cc98bcb8594ea9cc715c3593bbbb05ef0a584', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'e06d8c08690e542a9906526f31083cd19d36377c', class: "mx-auto outlined logo", innerHTML: hLogoColor }), h("p", { key: '28ffd7eb8d963d8fbaca70bdacb408d1ad2b5628', class: "f-ui-02 text-center" }, "Do not apply outlines")), h("li", { key: '762de4272afb3425d05854efcebdbac901e3434e', class: "grid-col-span-6 xxl:grid-col-span-2 xl:grid-col-span-3 lg:grid-col-span-3 md:grid-col-span-3 flex flex-col" }, h("div", { key: 'b886b389d207ffdb8b135fdc0fd26e5e72f40a42', class: "mx-auto" }, h("div", { key: '2b03b5762338e7af827635e16f5a8da8a0322174', class: "bg-accent p-16" }, h("div", { key: 'c6db8ce985ce69f68973d59acabd846ec3b296ed', class: "text-inverse", innerHTML: hLogoColor })), h("p", { key: '3c2424662345ce48f2db344a5efd0aa2dc5ef002', class: "f-ui-02 text-center" }, "Do not use the green background for the logo version of the logo with backgrounds with the same tones"))))));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "logo-wrong-usage"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class SvgRepository {
|
|
|
25
25
|
icon: { format: 'svg' },
|
|
26
26
|
name: { format: 'bold' }
|
|
27
27
|
};
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: 'c8c6a714522ff3e122b58c4bb931af7f95d281fa', class: "full-width" }, h("eds-table", { key: 'f3251327f43c5b18f7677738f37b60ff0e604c3f', "table-data": JSON.stringify(svgData), config: JSON.stringify(tableConfig), "rows-per-page": 10, "search-enabled": true, "pagination-enabled": true })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "svg-repository"; }
|
|
31
31
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ export class EdsCookiesPreference {
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return (h("div", { key: '
|
|
28
|
+
return (h("div", { key: '4563e11542b6cab4f509ec25646a0e1f8380af6c' }, h("eds-link", { key: '24185ecd7818920490c1ca5c742e0f1a884f27da', size: "small", intent: this.intent, label: this.buttonText, onClick: () => this.toggleCookiesPopup() }), this.showMatomoNotice && h("eds-matomo-notice", { "force-show": true, key: this.noticeKey })));
|
|
29
29
|
}
|
|
30
30
|
static get is() { return "eds-cookies-preference"; }
|
|
31
31
|
static get originalStyleUrls() {
|
|
@@ -52,7 +52,7 @@ export class EdsFeedback {
|
|
|
52
52
|
const HeadingTag = this.headingLevel;
|
|
53
53
|
const levelNum = this.headingLevel.replace('h', '');
|
|
54
54
|
const headingClass = `f-heading-${levelNum.padStart(2, '0')} my-4`;
|
|
55
|
-
return (h("div", { key: '
|
|
55
|
+
return (h("div", { key: 'b51bb78eea70babd1b1ca98ed5e657184d8e459f', class: "grid inline" }, h(HeadingTag, { key: 'eb84cce3a03aec99d0980ecd3c4aa4338f8d14e2', class: headingClass }, this.label), h("p", { key: '5923739b4a7e73dc1c83710fe1535d51d6289b02', class: "f-body-01 text-light" }, this.description), h("eds-rating", { key: '08d4b80838bc758cfdcf6f909f4bb41ae00d4c40', "rating-type": this.type, "rating-count": this.count }), this.selectedRating > 0 && this.parsedMappings[this.selectedRating - 1] && (h("span", { key: '849014d7a3c2ebf78b1de434d7ad92549c0ae2de', class: "f-ui-04 text-lighter" }, this.parsedMappings[this.selectedRating - 1]))));
|
|
56
56
|
}
|
|
57
57
|
static get is() { return "eds-feedback"; }
|
|
58
58
|
static get encapsulation() { return "shadow"; }
|
|
@@ -43,9 +43,9 @@ export class EdsFooter {
|
|
|
43
43
|
* @returns {JSX.Element} The rendered JSX for the footer component.
|
|
44
44
|
*/
|
|
45
45
|
render() {
|
|
46
|
-
return (h("footer", { key: '
|
|
46
|
+
return (h("footer", { key: '97eecea73acf5ee3d125a446939010055c24e3f3' }, this.social ? (h("div", { class: "border-softest border-t-2 pt-20 md:pt-28" }, h("div", { class: "container pb-20" }, h("div", { class: "grid-layout" }, h("div", { class: "grid-col-span-12 lg:grid-col-span-5" }, h("eds-social-networks", { class: "mt-28" })))))) : null, h("div", { key: 'b7592d90406aa7b5e4d71e2947335a85dbbf70ae', class: `border-softest ${this.social ? 'border-t-2' : ''} pb-28 pt-20 md:pt-28` }, h("div", { key: '054190192082a4fdd2435ef62e5e7765386149f5', class: "container flex items-center gap-20 lg:flex-nowrap" }, h("div", { key: 'baa874cda99a882f33643609ffd2b99f09db3646', class: "flex items-center gap-x-12" }, h("a", { key: 'f47a0e02c7db660ab2c5b9894fd6ef1f820239cf', target: "_blank", rel: "noopener noreferrer", class: "effect-focus focus-visible:rounded-xs flex w-[54px] ml-0", href: "https://research-and-innovation.ec.europa.eu/funding/funding-opportunities/funding-programmes-and-open-calls/horizon-europe_en", "aria-label": "Learn about Horizon Europe funding" }, h("eds-img", { key: '470f3ccae44a83383ad7f5bfcab880365b203a50', width: 54, height: 41, src: "https://www.ebrains.eu/flags/4x3/eu.svg", alt: "European Union Flag" }))), h("div", { key: 'a02153ae5b772b105272eac575911826747ea246' }, h("div", { key: 'a274e52402142dce7df575b29ce8802d1d662368', class: "f-ui-04 text-light" }, h("p", { key: 'ae2c393b8585aecd25d08ad20fe8bd712f9c12b5' }, this.fundedBy), h("div", { key: '9ef102155624ef47071d4285ea00c65d66d8606e', class: "mt-4 flex flex-wrap gap-12 lg:flex-nowrap inline-block" }, h("span", { key: '86f5992c7570fcd88c80f7877f08cd4b357ca291', class: "effect-focus !no-underline decoration-2 underline-offset-4 hover:!underline mr-4" }, "\u00A9 ", this.rightsReserved), this.enableCookiesSettings ? (h("eds-link", { label: this.cookiesPreferences, intent: "underline", "extra-class": "f-ui-04", onClick: () => {
|
|
47
47
|
this.toggleCookiesConsent();
|
|
48
|
-
} })) : null))), h("div", { key: '
|
|
48
|
+
} })) : null))), h("div", { key: '3ffce63f46352acd80eff48fb121b5ee165c1ad5', class: "ml-auto pl-12" }, this.enableScrollTop ? (h("eds-button", { id: "backToTop", "aria-hidden": "true", "aria-label": this.backToTopAriaLabel, intent: "ghostInverse", icon: "chevron-up", onClick: this.backToTop, class: "transition-all transition duration-75 opacity-0 " })) : null)))));
|
|
49
49
|
}
|
|
50
50
|
static get is() { return "eds-footer"; }
|
|
51
51
|
static get encapsulation() { return "shadow"; }
|
|
@@ -274,13 +274,13 @@ export class EdsForm {
|
|
|
274
274
|
render() {
|
|
275
275
|
const hiddenFields = this.parsedFields.filter((field) => field.type === 'hidden');
|
|
276
276
|
const otherFields = this.parsedFields.filter((field) => field.type !== 'hidden');
|
|
277
|
-
return (h("form", { key: '
|
|
277
|
+
return (h("form", { key: '1a53a4f0d2b8420a14db6fe35548a86cfeb8b698', ref: (el) => (this.formEl = el), autocomplete: "on", onSubmit: this.handleSubmit }, h("div", { key: '8fdd2fa6b73f24c025b43d6f0b34cdbb22e0ec82' }, h("slot", { key: '385f8c71b86b7ab9a74c1b7a0204331d0022467f' }), hiddenFields.map((field, index) => (h("eds-input", { key: index, type: "hidden", name: field.name, value: field.value }))), otherFields.map((field, index) => {
|
|
278
278
|
var _a, _b;
|
|
279
279
|
if (!this.isFieldVisible(field)) {
|
|
280
280
|
return null;
|
|
281
281
|
}
|
|
282
|
-
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, placeholder: field.placeholder, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, disabled: field.disabled, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field),
|
|
283
|
-
})), this.formBtn && (h("div", { key: '
|
|
282
|
+
return (h("eds-input-field", { key: index, name: field.name, id: `${this.name}_${field.name}`, label: field.label, placeholder: field.placeholder, value: this.values[field.name] || null, type: field.type, icon: field.icon || null, disabled: field.disabled, required: field.required, maxLength: field.maxlength, hint: field.hint, link: field.link, message: field.message, error: ((_a = this.errors[field.name]) === null || _a === void 0 ? void 0 : _a.length) > 0, errorMessage: (_b = this.errors[field.name]) === null || _b === void 0 ? void 0 : _b.join('<br />'), onInput: (e) => this.handleInput(e, field), onChangeNative: (e) => this.handleChange(e, field), class: index > 0 ? 'mt-20' : '', options: field.options }));
|
|
283
|
+
})), this.formBtn && (h("div", { key: '0a120557c574112a8686087cfe2dbf3aae3feaa5', class: "mt-20" }, h("eds-button", { key: '277a39f0d82e01f549966aa0c91347e090a82bc7', intent: "primary", label: this.formBtnLabel, disabled: this.isSubmitting, loading: this.isSubmitting, onClick: () => this.handleSubmit() })))));
|
|
284
284
|
}
|
|
285
285
|
static get is() { return "eds-form"; }
|
|
286
286
|
static get encapsulation() { return "shadow"; }
|
|
@@ -84,7 +84,7 @@ export class EdsFrame {
|
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
render() {
|
|
87
|
-
return (h("div", { key: '
|
|
87
|
+
return (h("div", { key: 'acfa57c701b5c683b3ff48ac2ff6a7c782977cd4', class: this.articleClasses() }, h("div", { key: 'd62b6f7f67e41a6c8f0948c9d94e991d83dbe273', class: "effect-height flex items-center justify-between py-8 px-12" }, h("span", { key: '40618b0353599888578e08a5422da754f97455d0', class: "f-ui-02" }, this.frameLabel), !this.iframeError && this.url && this.urlLabel ? (h("eds-link", { label: this.urlLabel, url: this.url, intent: this.intent, class: "ml-auto", external: true, disabled: false, icon: "arrow-diagonal" })) : null), h("div", { key: '96656482b2732aa766d1bcb45f28189991adb493', class: "border-softer" }, this.iframeError ? (h("div", { class: "container ml-8 mr-8 mt-16" }, this.errorMessage)) : (h("iframe", { src: this.frameSrc, width: "100%", height: this.getFrameHeight(), title: this.frameLabel, frameBorder: "0", allowFullScreen: true })))));
|
|
88
88
|
}
|
|
89
89
|
static get is() { return "eds-frame"; }
|
|
90
90
|
static get encapsulation() { return "shadow"; }
|
|
@@ -56,7 +56,7 @@ export class EdsHeader {
|
|
|
56
56
|
const classes = variantClasses[this.headerVariant] || variantClasses.default;
|
|
57
57
|
// Logo color variant: default and inverse use 'color', strong uses 'color-white'
|
|
58
58
|
const logoType = this.headerVariant === 'strong' ? 'color-white' : 'color';
|
|
59
|
-
return (h("header", { key: '
|
|
59
|
+
return (h("header", { key: '635e25577674250c4ce8cdc91e29fa0c93b7e821', class: `flex items-center justify-between relative z-10 ${classes}` }, h("div", { key: '41275c9aedeff533f00348dfa85b49fdb1a3f25e', class: "mr-auto w-[200px] h-[85px]" }, h("eds-logo", { key: 'fa8949ebbeab567b3770c6795a890f9187b66cf2', type: logoType, href: this.homeUrl })), this.parsedLinks && (h("nav", { key: '64428c01fee019a77b15b2ad43fbdb18cf5cc1e9', class: "absolute left-1/2 top-1/2 grow -translate-x-1/2 -translate-y-1/2 justify-center hidden md:flex" }, h("ul", { key: '8b6e7e82f077409987e0271f1d1c57d3473a0921', class: "flex gap-x-2" }, this.parsedLinks.map((link) => (h("eds-link", { label: link.label, "aria-label": link.label, url: link.url, intent: "ghost", size: "large", icon: link.icon, external: link.external, "extra-class": "after:effect-opacity aria-current-page:bg-darker whitespace-nowrap !text-current after:!border-transparent after:opacity-0 hover:after:!border-transparent hover:after:opacity-100" })))))), h("slot", { key: '7ba569eafe18d902e78978840520d708b665a91b' }), this.menuEnabled && (h("div", { key: '54c21f2e71a44049c56e4b31ba241996a1e658c3', class: "md:hidden flex overflow-hidden px-16" }, h("eds-button", { key: 'e0bcc14abcad7151cacf19a4c50f238e39538754', "aria-label": "Menu", intent: this.headerVariant === 'default' ? 'ghost' : 'ghostInverse', icon: "menu", size: "small", onClick: () => this.handleToggleMenu() })))));
|
|
60
60
|
}
|
|
61
61
|
static get is() { return "eds-header"; }
|
|
62
62
|
static get encapsulation() { return "shadow"; }
|
|
@@ -53,7 +53,7 @@ export class EdsSocialNetworks {
|
|
|
53
53
|
* @returns {JSX.Element} The rendered JSX for the component.
|
|
54
54
|
*/
|
|
55
55
|
render() {
|
|
56
|
-
return (h("div", { key: '
|
|
56
|
+
return (h("div", { key: '6d52d64b09170108d1b61157d0ab126cefa794be' }, h("p", { key: '97e929fdaff0bcd4360140428007da0294567ea9', class: "f-ui-02" }, this.heading), h("ul", { key: '3264e9e0ac366c4a502b69f6aa8545935b8536e7', class: "mt-12 flex gap-4" }, this.socialNetworks.map((network, index) => (h("li", { key: index }, h("eds-link", { "extra-class": "effect-color effect-focus text-lighter hover:text-default flex items-center justify-center rounded-sm", external: true, "aria-label": network.label, url: network.url, icon: network.icon, intent: "strong" })))))));
|
|
57
57
|
}
|
|
58
58
|
static get is() { return "eds-social-networks"; }
|
|
59
59
|
static get encapsulation() { return "shadow"; }
|
|
@@ -113,11 +113,11 @@ export class EdsTabs {
|
|
|
113
113
|
});
|
|
114
114
|
}
|
|
115
115
|
render() {
|
|
116
|
-
return (h("div", { key: '
|
|
116
|
+
return (h("div", { key: 'dd41d2d7ccbe03e08d3c20a2e9a370e69dfd1459', id: `${this.identifier}` }, h("div", { key: '14c95711c8e7df2b7f6f0557ce233bc1a68ad31b', class: "scroller-x overflow-x-auto max-w-xxxl xxxl:px-0 relative z-[1] mx-auto px-16 pt-8 lg:px-28" }, h("nav", { key: '3ed1c5cc5d0aa1e7cb4bebe337885c7e5687aa68', ref: (el) => (this.tabContainer = el), class: "inline-flex", "aria-label": this.navAriaLabel }, this.parsedTabs.map((tab, index) => {
|
|
117
117
|
const TabComponent = tab.active ? 'span' : 'a';
|
|
118
118
|
const tabProps = this.getTabOptions(tab.active, index);
|
|
119
119
|
return (h(TabComponent, Object.assign({}, tabProps, { "aria-label": tab.label, "aria-current": index === this.activeIndex, onClick: () => this.handleTabClick(index, tab.label) }), tab.label || tab.ariaLabel));
|
|
120
|
-
}))), h("div", { key: '
|
|
120
|
+
}))), h("div", { key: '63399c53b2e5d642676d7f884bdecec0f8c515de', class: "tab-panels" }, this.parsedTabs.map((_, index) => (h("div", { hidden: index !== this.activeIndex }, h("slot", { name: `panel-${index}` })))))));
|
|
121
121
|
}
|
|
122
122
|
static get is() { return "eds-tabs"; }
|
|
123
123
|
static get encapsulation() { return "shadow"; }
|
|
@@ -31,7 +31,7 @@ export class EdsToastManager {
|
|
|
31
31
|
this.toasts = this.toasts.filter((t) => t.id !== id);
|
|
32
32
|
}
|
|
33
33
|
render() {
|
|
34
|
-
return (h("div", { key: '
|
|
34
|
+
return (h("div", { key: '62a106f36d1693163c25aee615570967573bbbc9', class: "toast-container" }, this.toasts.map((t) => (h("div", { key: t.id }, h("eds-toast", { message: t.message, intent: t.intent, onClick: () => this.removeToast(t.id) }))))));
|
|
35
35
|
}
|
|
36
36
|
static get is() { return "eds-toast-manager"; }
|
|
37
37
|
static get encapsulation() { return "shadow"; }
|