@ebrains/react 2.2.0 → 2.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/color-primary-palette_6.entry.esm.js +106 -106
- package/components-section.entry.esm.js +1 -1
- package/correct-use-of-colors.entry.esm.js +33 -33
- package/docs-palettes.entry.esm.js +1 -1
- package/docs-tokens.entry.esm.js +1 -1
- package/{eds-accordion_34.entry.esm.js → eds-accordion_36.entry.esm.js} +65 -43
- package/eds-app-root.entry.esm.js +4 -4
- package/eds-card-desc_2.entry.esm.js +4 -4
- package/eds-card-generic.entry.esm.js +12 -9
- package/eds-card-project.entry.esm.js +10 -10
- package/eds-card-section.entry.esm.js +2 -2
- package/eds-card-tags.entry.esm.js +1 -1
- package/eds-card-tool.entry.esm.js +4 -4
- package/eds-cookies-preference.entry.esm.js +2 -2
- package/eds-feedback.entry.esm.js +5 -5
- package/eds-footer.entry.esm.js +12 -12
- package/eds-frame.entry.esm.js +4 -4
- package/eds-gauge.entry.esm.js +4 -4
- package/eds-icon-arrow-diagonal.entry.esm.js +1 -1
- package/eds-icon-arrow-right.entry.esm.js +1 -1
- package/eds-icon-bin.entry.esm.js +1 -1
- package/eds-icon-bluesky.entry.esm.js +1 -1
- package/eds-icon-bookmark.entry.esm.js +1 -1
- package/eds-icon-chevron-down.entry.esm.js +1 -1
- package/eds-icon-chevron-left.entry.esm.js +1 -1
- package/eds-icon-chevron-right.entry.esm.js +1 -1
- package/eds-icon-chevron-up.entry.esm.js +1 -1
- package/eds-icon-clone.entry.esm.js +1 -1
- package/eds-icon-close.entry.esm.js +1 -1
- package/eds-icon-copy.entry.esm.js +1 -1
- package/eds-icon-download.entry.esm.js +1 -1
- package/eds-icon-draft.entry.esm.js +1 -1
- package/eds-icon-edit.entry.esm.js +1 -1
- package/eds-icon-eu.entry.esm.js +1 -1
- package/eds-icon-external.entry.esm.js +1 -1
- package/eds-icon-facebook.entry.esm.js +1 -1
- package/eds-icon-gitlab.entry.esm.js +1 -1
- package/eds-icon-linkedin.entry.esm.js +1 -1
- package/eds-icon-loader.entry.esm.js +1 -1
- package/eds-icon-mastodon.entry.esm.js +1 -1
- package/eds-icon-menu.entry.esm.js +1 -1
- package/eds-icon-minus.entry.esm.js +1 -1
- package/eds-icon-more.entry.esm.js +1 -1
- package/eds-icon-paper.entry.esm.js +1 -1
- package/eds-icon-plus.entry.esm.js +1 -1
- package/eds-icon-portal.entry.esm.js +1 -1
- package/eds-icon-private.entry.esm.js +1 -1
- package/eds-icon-public.entry.esm.js +1 -1
- package/eds-icon-search.entry.esm.js +1 -1
- package/eds-icon-star.entry.esm.js +1 -1
- package/eds-icon-start.entry.esm.js +1 -1
- package/eds-icon-success.entry.esm.js +1 -1
- package/eds-icon-thumbs-down.entry.esm.js +1 -1
- package/eds-icon-thumbs-up.entry.esm.js +1 -1
- package/eds-icon-tutorial.entry.esm.js +1 -1
- package/eds-icon-twitter.entry.esm.js +1 -1
- package/eds-icon-unknown.entry.esm.js +1 -1
- package/eds-icon-updown.entry.esm.js +1 -1
- package/eds-icon-user.entry.esm.js +1 -1
- package/eds-icon-view.entry.esm.js +1 -1
- package/eds-icon-youtube.entry.esm.js +1 -1
- package/eds-modal.entry.esm.js +10 -10
- package/eds-progress-bar.entry.esm.js +4 -4
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-social-networks.entry.esm.js +3 -3
- package/eds-timeline.entry.esm.js +4 -4
- package/eds-toast-manager.entry.esm.js +1 -1
- package/eds-trl.entry.esm.js +2 -2
- package/incorrect-use-of-colors.entry.esm.js +8 -8
- package/index.esm.js +1 -1
- package/index.esm2.js +7 -8
- package/logo-space.entry.esm.js +9 -9
- package/logo-variations-horizontal_2.entry.esm.js +28 -28
- package/logo-variations-tabs.entry.esm.js +1 -1
- package/logo-wrong-usage.entry.esm.js +25 -25
- package/package.json +1 -1
- package/src/components.d.ts +1 -0
- package/src/generated/components.d.ts +0 -1
- package/svg-repository.entry.esm.js +2 -2
- package/token-list_3.entry.esm.js +5 -5
- package/token-ratios.entry.esm.js +3 -3
- package/token-spacing.entry.esm.js +26 -26
- package/token-typography.entry.esm.js +2 -2
- package/eds-spinner.entry.esm.js +0 -104
package/logo-space.entry.esm.js
CHANGED
|
@@ -12,33 +12,33 @@ const LogoSpace = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
return h("div", {
|
|
15
|
-
key: '
|
|
15
|
+
key: 'b07b6c2b9e042c3c330de470cf2e792285362a0f',
|
|
16
16
|
class: "container"
|
|
17
17
|
}, h("ul", {
|
|
18
|
-
key: '
|
|
18
|
+
key: '40cb4cca1a4b42026becc95a46a380e23ed77723',
|
|
19
19
|
class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
20
20
|
}, h("li", {
|
|
21
|
-
key: '
|
|
21
|
+
key: 'aabdf6b8bf59cd755976ae99b79dca074e904c71',
|
|
22
22
|
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"
|
|
23
23
|
}, h("div", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '4f3b6da2c7f238b814c8a8537d6246215e935a26',
|
|
25
25
|
class: "logo-container mx-auto w-[300px]",
|
|
26
26
|
innerHTML: vLogoMargins
|
|
27
27
|
})), h("li", {
|
|
28
|
-
key: '
|
|
28
|
+
key: 'b8ee9f87dc5140b964f20600cad7ec65dc6c9837',
|
|
29
29
|
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"
|
|
30
30
|
}, h("div", {
|
|
31
|
-
key: '
|
|
31
|
+
key: 'ac4e8c0cdd8f2f206f9ead55806b32425279c8ee',
|
|
32
32
|
class: "text-center mt-16"
|
|
33
33
|
}, h("p", {
|
|
34
|
-
key: '
|
|
34
|
+
key: '0db3cdd9c348fa3855f995363fc3cd872b6da2c4',
|
|
35
35
|
class: "f-body-01"
|
|
36
36
|
}, "To ensure legibility, follow these minimum size guidelines:"), h("eds-table", {
|
|
37
|
-
key: '
|
|
37
|
+
key: '9bd39257f807324aa45013009ebbe08c1a8b2ee7',
|
|
38
38
|
data: '[\n { "Media": "Print", "Landscape": "0.75 cm", "Portrait": "1.75 cm" },\n { "Media": "Web", "Landscape": "29 px", "Portrait": "50 px" }\n ]',
|
|
39
39
|
config: '{\n "Media": { "format": "bold" }\n }'
|
|
40
40
|
}))), h("li", {
|
|
41
|
-
key: '
|
|
41
|
+
key: '27789915053632c4fa664363b4e2fbdd5524569c',
|
|
42
42
|
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"
|
|
43
43
|
})));
|
|
44
44
|
}
|
|
@@ -11,47 +11,47 @@ const LogoVariationsHorizontal = class {
|
|
|
11
11
|
}
|
|
12
12
|
render() {
|
|
13
13
|
return h("div", {
|
|
14
|
-
key: '
|
|
14
|
+
key: '148d0694cc666c2048a65f035e3b423f14721a24',
|
|
15
15
|
class: "container"
|
|
16
16
|
}, h("ul", {
|
|
17
|
-
key: '
|
|
17
|
+
key: '577efdbf7af11206706768435afcf949e704c16a',
|
|
18
18
|
class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
19
19
|
}, h("li", {
|
|
20
|
-
key: '
|
|
20
|
+
key: 'e280ee9020e2750a2f3637a01cf623ccc0b94bfe',
|
|
21
21
|
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"
|
|
22
22
|
}, h("p", {
|
|
23
|
-
key: '
|
|
23
|
+
key: 'a5be5fc2dae4b966722d0ad69510f6622882aa99',
|
|
24
24
|
class: "f-body-01 text-center my-4"
|
|
25
25
|
}, "#1 Coloured"), h("div", {
|
|
26
|
-
key: '
|
|
26
|
+
key: 'e20d0633cc5c1c6f61c8147d55b7dd228c774f99',
|
|
27
27
|
class: "coloured"
|
|
28
28
|
}, h("eds-logo", {
|
|
29
|
-
key: '
|
|
29
|
+
key: '2a5a4eea4c70fadfcaef15c5b2c498b833231603',
|
|
30
30
|
type: "no-bg",
|
|
31
31
|
href: "#"
|
|
32
32
|
}))), h("li", {
|
|
33
|
-
key: '
|
|
33
|
+
key: '6da7cc2329e7abcccfe3d2a0f095320d33b6272e',
|
|
34
34
|
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"
|
|
35
35
|
}, h("p", {
|
|
36
|
-
key: '
|
|
36
|
+
key: '5dcb436091288a40213ad53fff116c0a18fd8626',
|
|
37
37
|
class: "f-body-01 text-center my-4"
|
|
38
38
|
}, "#2 Black & White"), h("div", {
|
|
39
|
-
key: '
|
|
39
|
+
key: 'e0f165856fb0a693ca2a655b5f6beb8f37810905',
|
|
40
40
|
class: "bg-default"
|
|
41
41
|
}, h("eds-logo", {
|
|
42
|
-
key: '
|
|
42
|
+
key: 'ca1d9b99e93b458c9a4c59389ade43db1aedd473',
|
|
43
43
|
type: "black",
|
|
44
44
|
href: "#"
|
|
45
45
|
}))), h("li", {
|
|
46
|
-
key: '
|
|
46
|
+
key: '8ae1f94da858d44f7efa0d7c2c4d83b8e1780bf6',
|
|
47
47
|
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"
|
|
48
48
|
}, h("p", {
|
|
49
|
-
key: '
|
|
49
|
+
key: 'dcd75bb1f4717a6d8b34f522c25b04a976bcbdea',
|
|
50
50
|
class: "f-body-01 text-center my-4"
|
|
51
51
|
}, "#3 Dark"), h("div", {
|
|
52
|
-
key: '
|
|
52
|
+
key: '11f500da753124767502a09824007bef6586b445'
|
|
53
53
|
}, h("eds-logo", {
|
|
54
|
-
key: '
|
|
54
|
+
key: '95ed147e3a5284960d5c740841620d622537cc3c',
|
|
55
55
|
type: "color-white",
|
|
56
56
|
href: "#"
|
|
57
57
|
})))));
|
|
@@ -68,50 +68,50 @@ const LogoVariationsVertical = class {
|
|
|
68
68
|
}
|
|
69
69
|
render() {
|
|
70
70
|
return h("div", {
|
|
71
|
-
key: '
|
|
71
|
+
key: '33670ab1d0922b7ce5d561ae1bcb25d85cdf3ecb',
|
|
72
72
|
class: "container"
|
|
73
73
|
}, h("ul", {
|
|
74
|
-
key: '
|
|
74
|
+
key: '7b05bb7f6e1699766f6d0321762f0ef66ab3b306',
|
|
75
75
|
class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
76
76
|
}, h("li", {
|
|
77
|
-
key: '
|
|
77
|
+
key: 'f64a1ad98d1c126581283ed16b665dea3fa1d03e',
|
|
78
78
|
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"
|
|
79
79
|
}, h("p", {
|
|
80
|
-
key: '
|
|
80
|
+
key: '41c416c593cacad33a826c76e6617bc6c6b5b9e3',
|
|
81
81
|
class: "f-body-01 text-center my-4"
|
|
82
82
|
}, "#1 Coloured"), h("div", {
|
|
83
|
-
key: '
|
|
83
|
+
key: '9bf761058eb7581b949af689a0341dc2a8b85b24',
|
|
84
84
|
class: "mx-auto coloured w-[300px]"
|
|
85
85
|
}, h("eds-logo", {
|
|
86
|
-
key: '
|
|
86
|
+
key: 'eb04b74cf4feb3054ba5b769fd7690281dbf768b',
|
|
87
87
|
orientation: "vertical",
|
|
88
88
|
type: "no-bg",
|
|
89
89
|
href: "#"
|
|
90
90
|
}))), h("li", {
|
|
91
|
-
key: '
|
|
91
|
+
key: '15eede1e668a9012de6ab03dde25b5e4c51605c6',
|
|
92
92
|
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"
|
|
93
93
|
}, h("p", {
|
|
94
|
-
key: '
|
|
94
|
+
key: '8d99d4f4caf4ef224fb691fdebfd3048075db0c0',
|
|
95
95
|
class: "f-body-01 text-center my-4"
|
|
96
96
|
}, "#2 Black & White"), h("div", {
|
|
97
|
-
key: '
|
|
97
|
+
key: 'f4b55a2fc4305075270e9e4a6149be5278fe3618',
|
|
98
98
|
class: "mx-auto bg-default w-[300px]"
|
|
99
99
|
}, h("eds-logo", {
|
|
100
|
-
key: '
|
|
100
|
+
key: '38ca84d79e788b92ce2489e19f35b8ba989313f2',
|
|
101
101
|
orientation: "vertical",
|
|
102
102
|
type: "black",
|
|
103
103
|
href: "#"
|
|
104
104
|
}))), h("li", {
|
|
105
|
-
key: '
|
|
105
|
+
key: 'e6193b54d8b8cda2dc44bce2b983af7e7f3db0b3',
|
|
106
106
|
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"
|
|
107
107
|
}, h("p", {
|
|
108
|
-
key: '
|
|
108
|
+
key: '2564444f18acf01edd3caa3e4df06a0a54cad60a',
|
|
109
109
|
class: "f-body-01 text-center my-4"
|
|
110
110
|
}, "#3 Dark"), h("div", {
|
|
111
|
-
key: '
|
|
111
|
+
key: '70db409bd6dfd47bb66cef38059a52a9b0556e14',
|
|
112
112
|
class: "mx-auto w-[300px]"
|
|
113
113
|
}, h("eds-logo", {
|
|
114
|
-
key: '
|
|
114
|
+
key: '567844257939403cee8d4ce76b84dfdc12df97d1',
|
|
115
115
|
orientation: "vertical",
|
|
116
116
|
type: "color-white",
|
|
117
117
|
href: "#"
|
|
@@ -12,86 +12,86 @@ const LogoWrongUsage = class {
|
|
|
12
12
|
}
|
|
13
13
|
render() {
|
|
14
14
|
return h("div", {
|
|
15
|
-
key: '
|
|
15
|
+
key: 'a5d22b7db9bf43fa54d7e0fe611b819e374b6f6b',
|
|
16
16
|
class: "container"
|
|
17
17
|
}, h("ul", {
|
|
18
|
-
key: '
|
|
18
|
+
key: 'a2d9ebad864822e00db5bb207caf599de80be433',
|
|
19
19
|
class: "not-prose grid-layout grid-cols-6 gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
20
20
|
}, h("li", {
|
|
21
|
-
key: '
|
|
21
|
+
key: 'ad449a11eb8e1404a47266adb9072efa0c182752',
|
|
22
22
|
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"
|
|
23
23
|
}, h("div", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '3f9ab867a20bc72e15c5403683d50b0f86c18727',
|
|
25
25
|
class: "mx-auto no-other-bg-color logo",
|
|
26
26
|
innerHTML: hLogoColor
|
|
27
27
|
}), h("p", {
|
|
28
|
-
key: '
|
|
28
|
+
key: '8a9ebdfd97d048e046adc85f182657c065d7c5e2',
|
|
29
29
|
class: "f-ui-02 text-center"
|
|
30
30
|
}, "Do not use with backgrounds that make legibility difficult")), h("li", {
|
|
31
|
-
key: '
|
|
31
|
+
key: '621dc6459bd6934ada8cbbcb99e848464c6d7719',
|
|
32
32
|
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"
|
|
33
33
|
}, h("div", {
|
|
34
|
-
key: '
|
|
34
|
+
key: 'be8c7b7fc30111d6bd7e7803d4a47b58ab8275f9',
|
|
35
35
|
class: "mx-auto no-other-color logo non-brand-color",
|
|
36
36
|
innerHTML: hLogoColor
|
|
37
37
|
}), h("p", {
|
|
38
|
-
key: '
|
|
38
|
+
key: '1e458e14065bc2f064c29f03e7047578837e8dbf',
|
|
39
39
|
class: "f-ui-02 text-center"
|
|
40
40
|
}, "Do not apply other colors")), h("li", {
|
|
41
|
-
key: '
|
|
41
|
+
key: '92f588b1b08e74ae6de62037c611cd2c07c2d0f6',
|
|
42
42
|
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"
|
|
43
43
|
}, h("div", {
|
|
44
|
-
key: '
|
|
44
|
+
key: '1a8b871c1887b96183efc5a884085cd627a5dd03',
|
|
45
45
|
class: "mx-auto distorted logo",
|
|
46
46
|
innerHTML: hLogoColor
|
|
47
47
|
}), h("p", {
|
|
48
|
-
key: '
|
|
48
|
+
key: '2ca68cc09eac491203fec3d84b19623dfc1c0433',
|
|
49
49
|
class: "f-ui-02 text-center"
|
|
50
50
|
}, "Do not deform the logo")), h("li", {
|
|
51
|
-
key: '
|
|
51
|
+
key: 'ee43635fa2d0dff9b9a5ea76127f5a35d1863c2a',
|
|
52
52
|
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"
|
|
53
53
|
}, h("div", {
|
|
54
|
-
key: '
|
|
54
|
+
key: '3176d2dbec423d743b8d05c64d7a21088bf830a1',
|
|
55
55
|
class: "mx-auto effects logo",
|
|
56
56
|
innerHTML: hLogoColor
|
|
57
57
|
}), h("p", {
|
|
58
|
-
key: '
|
|
58
|
+
key: '1148d744012e92f34ac48a2b69c3fb6451e4f844',
|
|
59
59
|
class: "f-ui-02 text-center"
|
|
60
60
|
}, "Do not apply effects")), h("li", {
|
|
61
|
-
key: '
|
|
61
|
+
key: 'acde874cf0fd644ec0edc7350fc038e0ae13719d',
|
|
62
62
|
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"
|
|
63
63
|
}, h("div", {
|
|
64
|
-
key: '
|
|
64
|
+
key: '27b2b50f017142b1e9638baf1865fd804ba9121d',
|
|
65
65
|
class: "mx-auto rotated logo",
|
|
66
66
|
innerHTML: hLogoColor
|
|
67
67
|
}), h("p", {
|
|
68
|
-
key: '
|
|
68
|
+
key: '28dfe52d02bdb82f29947227a9a9a699aabf82ef',
|
|
69
69
|
class: "f-ui-02 text-center"
|
|
70
70
|
}, "Do not rotate the logo")), h("li", {
|
|
71
|
-
key: '
|
|
71
|
+
key: 'e754250d250603022bb031e66e7fd8e8e0f04155',
|
|
72
72
|
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"
|
|
73
73
|
}, h("div", {
|
|
74
|
-
key: '
|
|
74
|
+
key: '042817f8f946a10372439398e4f6dd3c0fc182f6',
|
|
75
75
|
class: "mx-auto outlined logo",
|
|
76
76
|
innerHTML: hLogoColor
|
|
77
77
|
}), h("p", {
|
|
78
|
-
key: '
|
|
78
|
+
key: 'f5136df73757f3ebd3c954f3aa5f9e47d7907c64',
|
|
79
79
|
class: "f-ui-02 text-center"
|
|
80
80
|
}, "Do not apply outlines")), h("li", {
|
|
81
|
-
key: '
|
|
81
|
+
key: '6e30b4684ebe21136ddecef9e879024ce93206ad',
|
|
82
82
|
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"
|
|
83
83
|
}, h("div", {
|
|
84
|
-
key: '
|
|
84
|
+
key: '29ceba568f002cf04a810546ac76ed4d4a0c63fd',
|
|
85
85
|
class: "mx-auto"
|
|
86
86
|
}, h("div", {
|
|
87
|
-
key: '
|
|
87
|
+
key: '53976603b457baf9d28f4216b2ef54284467ffd7',
|
|
88
88
|
class: "bg-accent p-16"
|
|
89
89
|
}, h("div", {
|
|
90
|
-
key: '
|
|
90
|
+
key: 'bdce208801ad76f3f8fd1639ca08b3a341ccf014',
|
|
91
91
|
class: "text-inverse",
|
|
92
92
|
innerHTML: hLogoColor
|
|
93
93
|
})), h("p", {
|
|
94
|
-
key: '
|
|
94
|
+
key: '97e656465d81823f22593dd8ec936dde966560e0',
|
|
95
95
|
class: "f-ui-02 text-center"
|
|
96
96
|
}, "Do not use the green background for the logo version of the logo with backgrounds with the same tones")))));
|
|
97
97
|
}
|
package/package.json
CHANGED
package/src/components.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export declare const EdsFooter: import("react").ForwardRefExoticComponent<JSX.Ed
|
|
|
14
14
|
export declare const EdsForm: import("react").ForwardRefExoticComponent<JSX.EdsForm & Omit<import("react").HTMLAttributes<HTMLEdsFormElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFormElement>>;
|
|
15
15
|
export declare const EdsFullscreenMenu: import("react").ForwardRefExoticComponent<JSX.EdsFullscreenMenu & Omit<import("react").HTMLAttributes<HTMLEdsFullscreenMenuElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsFullscreenMenuElement>>;
|
|
16
16
|
export declare const EdsGauge: import("react").ForwardRefExoticComponent<JSX.EdsGauge & Omit<import("react").HTMLAttributes<HTMLEdsGaugeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsGaugeElement>>;
|
|
17
|
+
export declare const EdsGlobalSearch: import("react").ForwardRefExoticComponent<JSX.EdsGlobalSearch & Omit<import("react").HTMLAttributes<HTMLEdsGlobalSearchElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsGlobalSearchElement>>;
|
|
17
18
|
export declare const EdsHeader: import("react").ForwardRefExoticComponent<JSX.EdsHeader & Omit<import("react").HTMLAttributes<HTMLEdsHeaderElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsHeaderElement>>;
|
|
18
19
|
export declare const EdsIconWrapper: import("react").ForwardRefExoticComponent<JSX.EdsIconWrapper & Omit<import("react").HTMLAttributes<HTMLEdsIconWrapperElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsIconWrapperElement>>;
|
|
19
20
|
export declare const EdsImg: import("react").ForwardRefExoticComponent<JSX.EdsImg & Omit<import("react").HTMLAttributes<HTMLEdsImgElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsImgElement>>;
|
|
@@ -19,7 +19,6 @@ export declare const EdsIconWrapper: import("react").ForwardRefExoticComponent<J
|
|
|
19
19
|
export declare const EdsImg: import("react").ForwardRefExoticComponent<JSX.EdsImg & Omit<import("react").HTMLAttributes<HTMLEdsImgElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsImgElement>>;
|
|
20
20
|
export declare const EdsInputField: import("react").ForwardRefExoticComponent<JSX.EdsInputField & Omit<import("react").HTMLAttributes<HTMLEdsInputFieldElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsInputFieldElement>>;
|
|
21
21
|
export declare const EdsLink: import("react").ForwardRefExoticComponent<JSX.EdsLink & Omit<import("react").HTMLAttributes<HTMLEdsLinkElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsLinkElement>>;
|
|
22
|
-
export declare const EdsLogin: import("react").ForwardRefExoticComponent<any>;
|
|
23
22
|
export declare const EdsLogo: import("react").ForwardRefExoticComponent<JSX.EdsLogo & Omit<import("react").HTMLAttributes<HTMLEdsLogoElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsLogoElement>>;
|
|
24
23
|
export declare const EdsMatomoNotice: import("react").ForwardRefExoticComponent<JSX.EdsMatomoNotice & Omit<import("react").HTMLAttributes<HTMLEdsMatomoNoticeElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsMatomoNoticeElement>>;
|
|
25
24
|
export declare const EdsModal: import("react").ForwardRefExoticComponent<JSX.EdsModal & Omit<import("react").HTMLAttributes<HTMLEdsModalElement>, "style"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLEdsModalElement>>;
|
|
@@ -314,10 +314,10 @@ const SvgRepository = class {
|
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
316
|
return h("div", {
|
|
317
|
-
key: '
|
|
317
|
+
key: '9e4eb1306b8d43f5879b2e7c0ef0019f83c0b3b5',
|
|
318
318
|
class: "full-width"
|
|
319
319
|
}, h("eds-table", {
|
|
320
|
-
key: '
|
|
320
|
+
key: '3b6349562155ffed788587d39a82d0a2fb9798bb',
|
|
321
321
|
"table-data": JSON.stringify(svgData),
|
|
322
322
|
config: JSON.stringify(tableConfig),
|
|
323
323
|
"rows-per-page": 10,
|
|
@@ -296,7 +296,7 @@ const TokenList = class {
|
|
|
296
296
|
[this.show]: colors[this.show]
|
|
297
297
|
} : colors;
|
|
298
298
|
return h("section", {
|
|
299
|
-
key: '
|
|
299
|
+
key: 'db196307702df28bf9e2f7fb0b87298bf84baabb',
|
|
300
300
|
class: "w-full mt-28"
|
|
301
301
|
}, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
302
302
|
// Only render sections that exist in `colors`
|
|
@@ -317,10 +317,10 @@ const TokenRadii = class {
|
|
|
317
317
|
}
|
|
318
318
|
render() {
|
|
319
319
|
return h("section", {
|
|
320
|
-
key: '
|
|
320
|
+
key: 'bdd584d53625299e4faa9a28f6f259bc5587b125',
|
|
321
321
|
class: "w-full mt-28"
|
|
322
322
|
}, h("ul", {
|
|
323
|
-
key: '
|
|
323
|
+
key: '3076e4efcca5749cc07e69df70ce2658d6186ec6',
|
|
324
324
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
325
325
|
}, Object.entries(radii).map(([key, value]) => h("li", {
|
|
326
326
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
@@ -358,10 +358,10 @@ const TokenShadows = class {
|
|
|
358
358
|
}
|
|
359
359
|
render() {
|
|
360
360
|
return h("section", {
|
|
361
|
-
key: '
|
|
361
|
+
key: 'a2fbc57c2153391bc53b47a263488118ca3aa01a',
|
|
362
362
|
class: "w-full mt-28"
|
|
363
363
|
}, h("ul", {
|
|
364
|
-
key: '
|
|
364
|
+
key: 'e4e2d6cbc8d1510ede2b678b24ce8b34b838888f',
|
|
365
365
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
366
366
|
}, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => h("li", {
|
|
367
367
|
class: "grid-col-span-12 md:grid-col-span-6 flex flex-col items-center mt-16"
|
|
@@ -17,15 +17,15 @@ const TokenRatios = class {
|
|
|
17
17
|
}
|
|
18
18
|
render() {
|
|
19
19
|
return h("section", {
|
|
20
|
-
key: '
|
|
20
|
+
key: '83fc87fd64531611114fe47d977dc54b6af1d327',
|
|
21
21
|
class: "w-full"
|
|
22
22
|
}, h("eds-section-core", {
|
|
23
|
-
key: '
|
|
23
|
+
key: 'b0b72d4f387cd48f4905c68b9f05ac3058d359c1',
|
|
24
24
|
tag: "div",
|
|
25
25
|
"section-title": "Aspect Ratios",
|
|
26
26
|
"heading-level": "h3"
|
|
27
27
|
}, h("ul", {
|
|
28
|
-
key: '
|
|
28
|
+
key: 'af5677bb15a4ffb008fd90bdfdfb1b757a36e138',
|
|
29
29
|
class: "gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
30
30
|
}, Object.entries(ratios).map(([key, value]) => h("li", {
|
|
31
31
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
@@ -9,82 +9,82 @@ const TokenSpacing = class {
|
|
|
9
9
|
}
|
|
10
10
|
render() {
|
|
11
11
|
return h("div", {
|
|
12
|
-
key: '
|
|
12
|
+
key: '46cb6fe655e9f8b8688f44e2351f3992e8011b2a',
|
|
13
13
|
class: "w-full"
|
|
14
14
|
}, h("ul", {
|
|
15
|
-
key: '
|
|
15
|
+
key: '9d7205ee2e0b3b0386284dc282fcc5375c43ec26',
|
|
16
16
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
17
17
|
}, h("li", {
|
|
18
|
-
key: '
|
|
18
|
+
key: 'b3e9d62bb934c1b413712b182cfdf015484db525',
|
|
19
19
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
20
20
|
}, h("div", {
|
|
21
|
-
key: '
|
|
21
|
+
key: '78c8a23dcacfd216a6159da8af3809607ef29702',
|
|
22
22
|
class: "container p-8 item-center border-2 border-soft"
|
|
23
23
|
}, h("div", {
|
|
24
|
-
key: '
|
|
24
|
+
key: '92a2938c5bdcb38456d96077f78993c711bc789f',
|
|
25
25
|
class: "spacing-sample m-16 bg-strong"
|
|
26
26
|
}, h("span", {
|
|
27
|
-
key: '
|
|
27
|
+
key: '7738363bee7cc25863bec922f55224044af61b6e',
|
|
28
28
|
class: "f-body-01 text-inverse"
|
|
29
29
|
}, "Margin: 1rem / m-16")))), h("li", {
|
|
30
|
-
key: '
|
|
30
|
+
key: '96c1f622b7e4136cebd53862b79bbc17ad484a25',
|
|
31
31
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
32
32
|
}, h("div", {
|
|
33
|
-
key: '
|
|
33
|
+
key: 'ff4357650e10f9e7a61903c3c9f6a4f4d60d8c73',
|
|
34
34
|
class: "container p-8 item-center border-2 border-soft"
|
|
35
35
|
}, h("div", {
|
|
36
|
-
key: '
|
|
36
|
+
key: 'cd07be06a51604f81f2868786028066f834cd87d',
|
|
37
37
|
class: "spacing-sample ml-64 bg-strong"
|
|
38
38
|
}, h("span", {
|
|
39
|
-
key: '
|
|
39
|
+
key: 'ded579013d8765c7802862b57cf2bf7ae03f1b99',
|
|
40
40
|
class: "f-body-01 text-inverse"
|
|
41
41
|
}, "Margin Left: 4rem / ml-64")))), h("li", {
|
|
42
|
-
key: '
|
|
42
|
+
key: 'a8e244c95f027993755fa567d900ff88ed08669b',
|
|
43
43
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
44
44
|
}, h("div", {
|
|
45
|
-
key: '
|
|
45
|
+
key: 'e3662c064d089089ebb796aadede38bbd7ebe69d',
|
|
46
46
|
class: "container p-8 item-center border-2 border-soft"
|
|
47
47
|
}, h("div", {
|
|
48
|
-
key: '
|
|
48
|
+
key: 'f168cbeaec417b0eccd66ed60f2776bdffdb7bfb',
|
|
49
49
|
class: "spacing-sample mt-32 bg-strong"
|
|
50
50
|
}, h("span", {
|
|
51
|
-
key: '
|
|
51
|
+
key: '696ec848f217896ae3fc06bf07546fe735d6ccd8',
|
|
52
52
|
class: "f-body-01 text-inverse"
|
|
53
53
|
}, "Margin Top: 2rem / mt-32")))), h("li", {
|
|
54
|
-
key: '
|
|
54
|
+
key: '5e5d4a63fd7e28114a87dfa5789f5213b6c057f3',
|
|
55
55
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
56
56
|
}, h("div", {
|
|
57
|
-
key: '
|
|
57
|
+
key: '14cb262cc18f340e72a922dc793244c17fa9fb05',
|
|
58
58
|
class: "container p-8 item-center border-2 border-soft"
|
|
59
59
|
}, h("div", {
|
|
60
|
-
key: '
|
|
60
|
+
key: '791781717dc851f2e174277c557212e7e5c15b7a',
|
|
61
61
|
class: "spacing-sample p-32 bg-strong"
|
|
62
62
|
}, h("span", {
|
|
63
|
-
key: '
|
|
63
|
+
key: 'd1df2d8f2520746e49ec9c85d8e17cf5569c4bc5',
|
|
64
64
|
class: "f-body-01 text-inverse"
|
|
65
65
|
}, "Padding: 2rem / p-32")))), h("li", {
|
|
66
|
-
key: '
|
|
66
|
+
key: '312e2c71672a05cc54cd492297a1cdcb2b11a395',
|
|
67
67
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
68
68
|
}, h("div", {
|
|
69
|
-
key: '
|
|
69
|
+
key: '8cd16bfafd2345b68e50a46c08c7a8f2430ee6ef',
|
|
70
70
|
class: "container p-8 item-center border-2 border-soft"
|
|
71
71
|
}, h("div", {
|
|
72
|
-
key: '
|
|
72
|
+
key: '8f7e910d8fc43b596b35f3e72a48646e9550e8ba',
|
|
73
73
|
class: "spacing-sample pt-32 bg-strong"
|
|
74
74
|
}, h("span", {
|
|
75
|
-
key: '
|
|
75
|
+
key: '509c712085a239a435fc11f8ea7a6c9c788be60c',
|
|
76
76
|
class: "f-body-01 text-inverse"
|
|
77
77
|
}, "Padding Top: 2rem / pt-32")))), h("li", {
|
|
78
|
-
key: '
|
|
78
|
+
key: 'b99c86cd7dd23e7c091dd2c70ec42133d9d2e2ef',
|
|
79
79
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
80
80
|
}, h("div", {
|
|
81
|
-
key: '
|
|
81
|
+
key: '0e61fb5d7bf779eddc16c9627d6ca0ff6cf702e1',
|
|
82
82
|
class: "container p-8 item-center border-2 border-soft"
|
|
83
83
|
}, h("div", {
|
|
84
|
-
key: '
|
|
84
|
+
key: 'e65eb20ca88e563ae43eb0c208feacf7e310870f',
|
|
85
85
|
class: "spacing-sample pl-32 bg-strong"
|
|
86
86
|
}, h("span", {
|
|
87
|
-
key: '
|
|
87
|
+
key: '2a40e6977caccb37173f60de613c1a72b02f6d3e',
|
|
88
88
|
class: "f-body-01 text-inverse"
|
|
89
89
|
}, "Padding Left: 2rem / pl-32"))))));
|
|
90
90
|
}
|
|
@@ -202,10 +202,10 @@ const TokenTypography = class {
|
|
|
202
202
|
}
|
|
203
203
|
render() {
|
|
204
204
|
return h("section", {
|
|
205
|
-
key: '
|
|
205
|
+
key: 'ff15f73114d16107a766fe6fe8342315cf2fa542',
|
|
206
206
|
class: "w-full"
|
|
207
207
|
}, h("ul", {
|
|
208
|
-
key: '
|
|
208
|
+
key: '22e8e89e792fee03f1957e5705fca1938771b9ac',
|
|
209
209
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
210
210
|
}, Object.entries(typography.typesets).filter(([typeKey]) => typeKey !== 'displays') // Exclude "displays"
|
|
211
211
|
.flatMap(([typeKey, typeValues]) => Object.entries(typeValues).map(([size, style]) => h("li", {
|
package/eds-spinner.entry.esm.js
DELETED
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
import { r as registerInstance, h, H as Host } from './index.esm2.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
|
-
import 'react-dom';
|
|
5
|
-
|
|
6
|
-
const edsSpinnerCss = ":host{display:block}.spinner{box-sizing:border-box;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.f-body-01{font-family:var(--f-body-01-fontFamily);font-weight:var(--f-body-01-fontWeight);font-size:var(--f-body-01-fontSize);line-height:var(--f-body-01-lineHeight);letter-spacing:var(--f-body-01-letterSpacing)}";
|
|
7
|
-
const EdsSpinnerStyle0 = edsSpinnerCss;
|
|
8
|
-
const EdsSpinner = class {
|
|
9
|
-
constructor(hostRef) {
|
|
10
|
-
registerInstance(this, hostRef);
|
|
11
|
-
this.size = 'md';
|
|
12
|
-
this.variant = 'secondary';
|
|
13
|
-
this.message = undefined;
|
|
14
|
-
this.background = 'var(--grey-200)';
|
|
15
|
-
this.fullscreen = false;
|
|
16
|
-
}
|
|
17
|
-
get spinnerSize() {
|
|
18
|
-
switch (this.size) {
|
|
19
|
-
case 'xs':
|
|
20
|
-
return '1rem';
|
|
21
|
-
case 'sm':
|
|
22
|
-
return '4rem';
|
|
23
|
-
case 'lg':
|
|
24
|
-
return '8rem';
|
|
25
|
-
case 'xl':
|
|
26
|
-
return '10rem';
|
|
27
|
-
case 'md':
|
|
28
|
-
default:
|
|
29
|
-
return '6rem';
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
get spinnerThickness() {
|
|
33
|
-
switch (this.size) {
|
|
34
|
-
case 'xs':
|
|
35
|
-
return '4px';
|
|
36
|
-
case 'sm':
|
|
37
|
-
return '8px';
|
|
38
|
-
case 'lg':
|
|
39
|
-
return '16px';
|
|
40
|
-
case 'xl':
|
|
41
|
-
return '20px';
|
|
42
|
-
case 'md':
|
|
43
|
-
default:
|
|
44
|
-
return '12px';
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
render() {
|
|
48
|
-
// derive colors from variant
|
|
49
|
-
const borderColor = this.variant === 'primary' ? 'var(--grey-900)' : 'var(--grey-400)';
|
|
50
|
-
const bottomColor = this.variant === 'primary' ? 'var(--green-400)' : 'var(--grey-900)';
|
|
51
|
-
const spinnerStyle = Object.assign({
|
|
52
|
-
width: this.spinnerSize,
|
|
53
|
-
height: this.spinnerSize,
|
|
54
|
-
border: `${this.spinnerThickness} solid ${borderColor}`,
|
|
55
|
-
borderBottomColor: bottomColor
|
|
56
|
-
}, !this.fullscreen && {
|
|
57
|
-
display: 'inline-block'
|
|
58
|
-
});
|
|
59
|
-
// Overlay style: use fixed positioning for fullscreen,
|
|
60
|
-
// and absolute positioning for inline mode.
|
|
61
|
-
const overlayStyle = this.fullscreen ? {
|
|
62
|
-
position: 'fixed',
|
|
63
|
-
top: '0',
|
|
64
|
-
left: '0',
|
|
65
|
-
width: '100vw',
|
|
66
|
-
height: '100vh',
|
|
67
|
-
zIndex: '9999999',
|
|
68
|
-
backgroundColor: this.background,
|
|
69
|
-
display: 'flex',
|
|
70
|
-
flexDirection: 'column',
|
|
71
|
-
alignItems: 'center',
|
|
72
|
-
justifyContent: 'center'
|
|
73
|
-
} : {
|
|
74
|
-
position: 'absolute',
|
|
75
|
-
top: '0',
|
|
76
|
-
left: '0',
|
|
77
|
-
width: '100%',
|
|
78
|
-
height: '100%',
|
|
79
|
-
//zIndex: '1000',
|
|
80
|
-
backgroundColor: this.background,
|
|
81
|
-
display: 'flex',
|
|
82
|
-
flexDirection: 'column',
|
|
83
|
-
alignItems: 'center',
|
|
84
|
-
justifyContent: 'center'
|
|
85
|
-
};
|
|
86
|
-
return h(Host, {
|
|
87
|
-
key: 'b10a5d28d0b06e7b36276fb814e3b8b57b767094'
|
|
88
|
-
}, h("div", {
|
|
89
|
-
key: '8f2205bb74775c16660d35f80bf880ac9c39d725',
|
|
90
|
-
class: "spinner-overlay",
|
|
91
|
-
style: overlayStyle
|
|
92
|
-
}, h("span", {
|
|
93
|
-
key: 'f681700791c6c10ea63473f34719a873757bcf5e',
|
|
94
|
-
class: "spinner",
|
|
95
|
-
style: spinnerStyle
|
|
96
|
-
}), this.message && h("p", {
|
|
97
|
-
key: 'b0afdd60a6c74fd740626cb7da3402a9a5075e34',
|
|
98
|
-
class: "f-body-01"
|
|
99
|
-
}, this.message)));
|
|
100
|
-
}
|
|
101
|
-
};
|
|
102
|
-
EdsSpinner.style = EdsSpinnerStyle0;
|
|
103
|
-
|
|
104
|
-
export { EdsSpinner as eds_spinner };
|