@ebrains/react 2.4.1 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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_53.entry.esm.js +1966 -0
- package/eds-app-root.entry.esm.js +4 -4
- package/eds-cookies-preference.entry.esm.js +3 -3
- package/eds-feedback.entry.esm.js +5 -5
- package/eds-frame.entry.esm.js +7 -7
- package/eds-gauge.entry.esm.js +8 -9
- package/eds-gitlab-contributors.entry.esm.js +287 -0
- package/eds-icon-bluesky.entry.esm.js +1 -1
- package/eds-icon-eu.entry.esm.js +2 -2
- 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-mastodon.entry.esm.js +1 -1
- package/eds-icon-twitter.entry.esm.js +1 -1
- package/eds-icon-youtube.entry.esm.js +1 -1
- package/eds-input-search.entry.esm.js +96 -0
- package/eds-modal.entry.esm.js +88 -31
- package/eds-pie.entry.esm.js +38 -4
- package/eds-section-core_2.entry.esm.js +5 -5
- package/eds-splash-screen.entry.esm.js +4 -12
- package/eds-timeline.entry.esm.js +8 -14
- package/eds-toast-manager.entry.esm.js +1 -1
- package/eds-trl-badge.entry.esm.js +186 -0
- package/eu-8ac3e99c.esm.js +7 -0
- package/incorrect-use-of-colors.entry.esm.js +8 -8
- package/index.esm.js +1 -1
- package/index.esm2.js +22 -142
- package/logo-space.entry.esm.js +138 -17
- package/logo-variations-horizontal_2.entry.esm.js +28 -54
- package/logo-variations-tabs.entry.esm.js +1 -1
- package/logo-wrong-usage.entry.esm.js +33 -33
- package/negative-84eec72e.esm.js +104 -0
- package/package.json +1 -1
- package/positive-cc986d7c.esm.js +65 -0
- package/src/components.d.ts +11 -2
- package/src/generated/components.d.ts +0 -1
- package/svg-repository.entry.esm.js +7 -254
- package/token-list_3.entry.esm.js +79 -51
- package/token-ratios.entry.esm.js +3 -3
- package/token-spacing.entry.esm.js +26 -26
- package/token-typography.entry.esm.js +88 -79
- package/arrow-diagonal-black-8f0494c3.esm.js +0 -3
- package/arrow-right-9322ba8a.esm.js +0 -5
- package/bin-37cad2f0.esm.js +0 -3
- package/bookmark-c200037c.esm.js +0 -16
- package/chevron-down-6144c823.esm.js +0 -12
- package/chevron-left-ca6c66e1.esm.js +0 -11
- package/chevron-right-b88ed2d4.esm.js +0 -5
- package/chevron-up-c66bd477.esm.js +0 -12
- package/clone-dab56639.esm.js +0 -3
- package/close-87fc0d63.esm.js +0 -5
- package/copy-03b72cb6.esm.js +0 -5
- package/download-47746956.esm.js +0 -18
- package/draft-dd5dada2.esm.js +0 -3
- package/edit-3893a517.esm.js +0 -3
- package/eds-accordion_37.entry.esm.js +0 -1201
- package/eds-card-desc_2.entry.esm.js +0 -85
- package/eds-card-generic.entry.esm.js +0 -116
- package/eds-card-project.entry.esm.js +0 -209
- package/eds-card-section.entry.esm.js +0 -56
- package/eds-card-tags.entry.esm.js +0 -27
- package/eds-card-tool.entry.esm.js +0 -105
- package/eds-footer.entry.esm.js +0 -145
- package/eds-fullscreen-menu.entry.esm.js +0 -143
- package/eds-icon-arrow-diagonal.entry.esm.js +0 -21
- package/eds-icon-arrow-right.entry.esm.js +0 -21
- package/eds-icon-bin.entry.esm.js +0 -21
- package/eds-icon-bookmark.entry.esm.js +0 -21
- package/eds-icon-chevron-down.entry.esm.js +0 -21
- package/eds-icon-chevron-left.entry.esm.js +0 -21
- package/eds-icon-chevron-right.entry.esm.js +0 -21
- package/eds-icon-chevron-up.entry.esm.js +0 -21
- package/eds-icon-clone.entry.esm.js +0 -21
- package/eds-icon-close.entry.esm.js +0 -21
- package/eds-icon-copy.entry.esm.js +0 -21
- package/eds-icon-download.entry.esm.js +0 -21
- package/eds-icon-draft.entry.esm.js +0 -21
- package/eds-icon-edit.entry.esm.js +0 -21
- package/eds-icon-external.entry.esm.js +0 -21
- package/eds-icon-loader.entry.esm.js +0 -21
- package/eds-icon-menu.entry.esm.js +0 -21
- package/eds-icon-minus.entry.esm.js +0 -21
- package/eds-icon-more.entry.esm.js +0 -21
- package/eds-icon-paper.entry.esm.js +0 -21
- package/eds-icon-plus.entry.esm.js +0 -21
- package/eds-icon-portal.entry.esm.js +0 -21
- package/eds-icon-private.entry.esm.js +0 -21
- package/eds-icon-public.entry.esm.js +0 -21
- package/eds-icon-search.entry.esm.js +0 -21
- package/eds-icon-star.entry.esm.js +0 -21
- package/eds-icon-start.entry.esm.js +0 -21
- package/eds-icon-success.entry.esm.js +0 -21
- package/eds-icon-thumbs-down.entry.esm.js +0 -21
- package/eds-icon-thumbs-up.entry.esm.js +0 -21
- package/eds-icon-tutorial.entry.esm.js +0 -21
- package/eds-icon-unknown.entry.esm.js +0 -21
- package/eds-icon-updown.entry.esm.js +0 -21
- package/eds-icon-user.entry.esm.js +0 -21
- package/eds-icon-view.entry.esm.js +0 -21
- package/eds-progress-bar.entry.esm.js +0 -52
- package/eds-social-networks.entry.esm.js +0 -73
- package/eds-trl.entry.esm.js +0 -68
- package/eu-9ddde93a.esm.js +0 -30
- package/index-39c58238.esm.js +0 -58
- package/loader-c9628637.esm.js +0 -30
- package/logo-color-7f1fd803.esm.js +0 -115
- package/logo-color-margins-ff8ce71b.esm.js +0 -118
- package/logo-white-no-bg-f382f86f.esm.js +0 -1021
- package/menu-340ea948.esm.js +0 -11
- package/minus-b30a7c71.esm.js +0 -11
- package/more-4449d549.esm.js +0 -13
- package/paper-8e74ea31.esm.js +0 -15
- package/plus-89c07be2.esm.js +0 -12
- package/portal-d6c8ce56.esm.js +0 -18
- package/private-1c25ff8e.esm.js +0 -25
- package/public-d4d8c585.esm.js +0 -16
- package/search-fbcd79c2.esm.js +0 -12
- package/star-0da9b5e9.esm.js +0 -5
- package/start-65126a4f.esm.js +0 -3
- package/success-443809da.esm.js +0 -18
- package/thumbs-down-a18fd049.esm.js +0 -5
- package/thumbs-up-c19a71bc.esm.js +0 -6
- package/tutotial-150ee1fd.esm.js +0 -27
- package/unknown-ed01a24c.esm.js +0 -22
- package/up-and-down-8b69ca97.esm.js +0 -12
- package/user-71ebdc15.esm.js +0 -16
- package/view-e900f2d4.esm.js +0 -3
|
@@ -1,49 +1,14 @@
|
|
|
1
1
|
import { r as registerInstance, h, g as getElement } from './index.esm2.js';
|
|
2
|
-
import { e as euSvg } from './eu-
|
|
3
|
-
import { h as hLogoColor } from './logo-color-7f1fd803.esm.js';
|
|
4
|
-
import { h as hLogoBlack, a as hLogoColorWhite, b as hLogoWhite, c as hLogoWhiteNoBg, v as vLogoColor, d as vLogoBlack, e as vLogoColorWhite, f as vLogoWhite, g as vLogoWhiteNoBg } from './logo-white-no-bg-f382f86f.esm.js';
|
|
5
|
-
import { v as vLogoMargins } from './logo-color-margins-ff8ce71b.esm.js';
|
|
2
|
+
import { e as euSvg } from './eu-8ac3e99c.esm.js';
|
|
6
3
|
import { g as gitlabBlack } from './mono-53f70232.esm.js';
|
|
7
|
-
import { c as chevronUp } from './chevron-up-c66bd477.esm.js';
|
|
8
|
-
import { c as chevronDown } from './chevron-down-6144c823.esm.js';
|
|
9
|
-
import { c as chevronRight } from './chevron-right-b88ed2d4.esm.js';
|
|
10
|
-
import { c as chevronLeft } from './chevron-left-ca6c66e1.esm.js';
|
|
11
|
-
import { a as arrowDiagonal } from './arrow-diagonal-black-8f0494c3.esm.js';
|
|
12
|
-
import { a as arrowRight } from './arrow-right-9322ba8a.esm.js';
|
|
13
4
|
import { t as twitter } from './twitter-ac21b505.esm.js';
|
|
14
5
|
import { l as linkedin } from './linkedin-e8650abb.esm.js';
|
|
15
6
|
import { f as facebook } from './facebook-9cb5c17f.esm.js';
|
|
16
7
|
import { y as youtube } from './youtube-efbfbdc4.esm.js';
|
|
17
8
|
import { m as mastodon } from './mastodon-3703ec61.esm.js';
|
|
18
9
|
import { b as bluesky } from './bluesky-cc5edd2d.esm.js';
|
|
19
|
-
import {
|
|
20
|
-
import { l as
|
|
21
|
-
import { s as success } from './success-443809da.esm.js';
|
|
22
|
-
import { c as close } from './close-87fc0d63.esm.js';
|
|
23
|
-
import { d as download } from './download-47746956.esm.js';
|
|
24
|
-
import { m as menu } from './menu-340ea948.esm.js';
|
|
25
|
-
import { m as more } from './more-4449d549.esm.js';
|
|
26
|
-
import { u as user } from './user-71ebdc15.esm.js';
|
|
27
|
-
import { c as copy } from './copy-03b72cb6.esm.js';
|
|
28
|
-
import { u as unknown } from './unknown-ed01a24c.esm.js';
|
|
29
|
-
import { t as thumbsUp } from './thumbs-up-c19a71bc.esm.js';
|
|
30
|
-
import { t as thumbsDown } from './thumbs-down-a18fd049.esm.js';
|
|
31
|
-
import { s as star } from './star-0da9b5e9.esm.js';
|
|
32
|
-
import { b as bookmark } from './bookmark-c200037c.esm.js';
|
|
33
|
-
import { m as minus } from './minus-b30a7c71.esm.js';
|
|
34
|
-
import { p as paper } from './paper-8e74ea31.esm.js';
|
|
35
|
-
import { p as plus } from './plus-89c07be2.esm.js';
|
|
36
|
-
import { p as portal } from './portal-d6c8ce56.esm.js';
|
|
37
|
-
import { p as privat } from './private-1c25ff8e.esm.js';
|
|
38
|
-
import { p as pub } from './public-d4d8c585.esm.js';
|
|
39
|
-
import { t as tutorial } from './tutotial-150ee1fd.esm.js';
|
|
40
|
-
import { u as upDown } from './up-and-down-8b69ca97.esm.js';
|
|
41
|
-
import { b as bin } from './bin-37cad2f0.esm.js';
|
|
42
|
-
import { s as start } from './start-65126a4f.esm.js';
|
|
43
|
-
import { d as draft } from './draft-dd5dada2.esm.js';
|
|
44
|
-
import { e as edit } from './edit-3893a517.esm.js';
|
|
45
|
-
import { v as view } from './view-e900f2d4.esm.js';
|
|
46
|
-
import { c as clone } from './clone-dab56639.esm.js';
|
|
10
|
+
import { l as logoNegative } from './negative-84eec72e.esm.js';
|
|
11
|
+
import { l as logoPositive } from './positive-cc986d7c.esm.js';
|
|
47
12
|
import 'react';
|
|
48
13
|
import 'react/jsx-runtime';
|
|
49
14
|
import 'react-dom';
|
|
@@ -57,165 +22,6 @@ const color = ` <svg width="20" height="20" viewBox="0 0 36 36">
|
|
|
57
22
|
<path fill="#fca326" d="M2 14L.1 20.16c-.18.565 0 1.2.5 1.56l17.42 12.66z"></path>
|
|
58
23
|
<path fill="#fca326" d="M34 14l1.9 6.16c.18.565 0 1.2-.5 1.56L18 34.38z"></path>
|
|
59
24
|
</svg>`;
|
|
60
|
-
const arrowExternal = `<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M10.5858 3H17V9.41421L14.5 6.91421L8.70712 12.7071L7.29291 11.2929L13.0858 5.5L10.5858 3Z" fill="currentColor"></path><path d="M8 4H5C3.89543 4 3 4.89543 3 6V15C3 16.1046 3.89543 17 5 17H14C15.1046 17 16 16.1046 16 15V12H14V15H5V6H8V4Z" fill="currentColor"></path></svg>`;
|
|
61
|
-
const error = `<svg
|
|
62
|
-
width="20"
|
|
63
|
-
height="20"
|
|
64
|
-
viewBox="0 0 20 20"
|
|
65
|
-
fill="none"
|
|
66
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
67
|
-
>
|
|
68
|
-
<path
|
|
69
|
-
fill-rule="evenodd"
|
|
70
|
-
clip-rule="evenodd"
|
|
71
|
-
d="M10 2C5.57714 2 2 5.57714 2 10C2 14.4229 5.57714 18 10 18C14.4229 18 18 14.4229 18 10C18 5.57714 14.4229 2 10 2Z"
|
|
72
|
-
stroke="currentColor"
|
|
73
|
-
stroke-width="2"
|
|
74
|
-
/>
|
|
75
|
-
<path
|
|
76
|
-
d="M7 7L10 10M13 13L10 10M10 10L13 7M10 10L7 13"
|
|
77
|
-
stroke="currentColor"
|
|
78
|
-
stroke-width="1.5"
|
|
79
|
-
/>
|
|
80
|
-
</svg>`;
|
|
81
|
-
const completed = `<svg
|
|
82
|
-
width="20"
|
|
83
|
-
height="20"
|
|
84
|
-
viewBox="0 0 20 20"
|
|
85
|
-
fill="none"
|
|
86
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
87
|
-
>
|
|
88
|
-
<circle
|
|
89
|
-
cx="10.0001"
|
|
90
|
-
cy="10.0001"
|
|
91
|
-
r="9.00007"
|
|
92
|
-
fill="white"
|
|
93
|
-
stroke="currentColor"
|
|
94
|
-
stroke-width="2"
|
|
95
|
-
/>
|
|
96
|
-
<path
|
|
97
|
-
d="M6 9.33303L8.9474 12.6664L14.0001 7.33301"
|
|
98
|
-
stroke="currentColor"
|
|
99
|
-
stroke-width="2.00002"
|
|
100
|
-
/>
|
|
101
|
-
</svg>`;
|
|
102
|
-
const failed = `<svg
|
|
103
|
-
width="20"
|
|
104
|
-
height="20"
|
|
105
|
-
viewBox="0 0 20 20"
|
|
106
|
-
fill="none"
|
|
107
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
108
|
-
>
|
|
109
|
-
<circle
|
|
110
|
-
cx="10.0001"
|
|
111
|
-
cy="10.0001"
|
|
112
|
-
r="9.00007"
|
|
113
|
-
fill="white"
|
|
114
|
-
stroke="currentColor"
|
|
115
|
-
stroke-width="2"
|
|
116
|
-
/>
|
|
117
|
-
<path
|
|
118
|
-
d="M6.21053 14.0001L10 10M13.7895 6L10 10M10 10L6 6M10 10L14.0001 14.0001"
|
|
119
|
-
stroke="currentColor"
|
|
120
|
-
stroke-width="2.00002"
|
|
121
|
-
/>
|
|
122
|
-
</svg>`;
|
|
123
|
-
const warning = ` <svg
|
|
124
|
-
width="20"
|
|
125
|
-
height="20"
|
|
126
|
-
viewBox="0 0 20 20"
|
|
127
|
-
fill="none"
|
|
128
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
129
|
-
>
|
|
130
|
-
<path
|
|
131
|
-
fill-rule="evenodd"
|
|
132
|
-
clip-rule="evenodd"
|
|
133
|
-
d="M10 3C6.13 3 3 6.13 3 10C3 13.87 6.13 17 10 17C13.87 17 17 13.87 17 10C17 6.13 13.87 3 10 3Z"
|
|
134
|
-
stroke="currentColor"
|
|
135
|
-
stroke-width="2"
|
|
136
|
-
/>
|
|
137
|
-
<path d="M10 6V10.5" stroke="currentColor" stroke-width="2" />
|
|
138
|
-
<circle cx="10" cy="12.9209" r="1.40346" fill="currentColor" />
|
|
139
|
-
</svg>`;
|
|
140
|
-
const check = `<svg
|
|
141
|
-
width="20"
|
|
142
|
-
height="20"
|
|
143
|
-
viewBox="0 0 20 20"
|
|
144
|
-
fill="none"
|
|
145
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
146
|
-
>
|
|
147
|
-
<rect width="20" height="20" rx="4" fill="currentColor" />
|
|
148
|
-
<path d="M4 10L8 14L16 6" stroke="white" stroke-width="3" />
|
|
149
|
-
</svg>`;
|
|
150
|
-
const clear = ` <svg
|
|
151
|
-
width="20"
|
|
152
|
-
height="20"
|
|
153
|
-
viewBox="0 0 20 20"
|
|
154
|
-
fill="none"
|
|
155
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
156
|
-
>
|
|
157
|
-
<path
|
|
158
|
-
fill-rule="evenodd"
|
|
159
|
-
clip-rule="evenodd"
|
|
160
|
-
d="M2 10C2 5.57714 5.57714 2 10 2C14.4229 2 18 5.57714 18 10C18 14.4229 14.4229 18 10 18C5.57714 18 2 14.4229 2 10ZM6.50503 7.49497L9.01005 10L6.50503 12.505L7.49497 13.495L10 10.99L12.505 13.495L13.495 12.505L10.99 10L13.495 7.49497L12.505 6.50503L10 9.01005L7.49497 6.50503L6.50503 7.49497Z"
|
|
161
|
-
fill="currentColor"
|
|
162
|
-
/>
|
|
163
|
-
</svg>`;
|
|
164
|
-
const documentation = `<svg
|
|
165
|
-
width="20"
|
|
166
|
-
height="20"
|
|
167
|
-
viewBox="0 0 20 20"
|
|
168
|
-
fill="none"
|
|
169
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
170
|
-
>
|
|
171
|
-
<path
|
|
172
|
-
d="M12 5C10.8954 5 10 5.89543 10 7V17C10 15.8954 10.8954 15 12 15H18V5H12Z"
|
|
173
|
-
stroke="currentColor"
|
|
174
|
-
stroke-width="1.5"
|
|
175
|
-
/>
|
|
176
|
-
<path
|
|
177
|
-
d="M8 5C9.10457 5 10 5.89543 10 7V17C10 15.8954 9.10457 15 8 15H2V5H8Z"
|
|
178
|
-
stroke="currentColor"
|
|
179
|
-
stroke-width="1.5"
|
|
180
|
-
/>
|
|
181
|
-
</svg>`;
|
|
182
|
-
const filter = ` <svg
|
|
183
|
-
width="20"
|
|
184
|
-
height="20"
|
|
185
|
-
viewBox="0 0 20 20"
|
|
186
|
-
fill="none"
|
|
187
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
188
|
-
>
|
|
189
|
-
<path
|
|
190
|
-
d="M2 6.5H6M9 6.5H18M18 13.5H14M11 13.5H2"
|
|
191
|
-
stroke="currentColor"
|
|
192
|
-
stroke-width="2"
|
|
193
|
-
/>
|
|
194
|
-
<path
|
|
195
|
-
d="M10 6.5C10 7.88071 8.88071 9 7.5 9C6.11929 9 5 7.88071 5 6.5C5 5.11929 6.11929 4 7.5 4C8.88071 4 10 5.11929 10 6.5Z"
|
|
196
|
-
stroke="currentColor"
|
|
197
|
-
stroke-width="2"
|
|
198
|
-
/>
|
|
199
|
-
<path
|
|
200
|
-
d="M10 13.5C10 14.8807 11.1193 16 12.5 16C13.8807 16 15 14.8807 15 13.5C15 12.1193 13.8807 11 12.5 11C11.1193 11 10 12.1193 10 13.5Z"
|
|
201
|
-
stroke="currentColor"
|
|
202
|
-
stroke-width="2"
|
|
203
|
-
/>
|
|
204
|
-
</svg>`;
|
|
205
|
-
const group = `<svg
|
|
206
|
-
width="20"
|
|
207
|
-
height="20"
|
|
208
|
-
viewBox="0 0 20 20"
|
|
209
|
-
fill="none"
|
|
210
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
211
|
-
>
|
|
212
|
-
<path
|
|
213
|
-
fill-rule="evenodd"
|
|
214
|
-
clip-rule="evenodd"
|
|
215
|
-
d="M6.75 4C6.75 2.20507 8.20507 0.75 10 0.75C11.7949 0.75 13.25 2.20507 13.25 4C13.25 4.02739 13.2497 4.0547 13.249 4.08193C14.372 4.69978 15.3002 5.62799 15.9181 6.75102C15.9453 6.75034 15.9726 6.75 16 6.75C17.7949 6.75 19.25 8.20507 19.25 10C19.25 11.7949 17.7949 13.25 16 13.25C15.9726 13.25 15.9453 13.2497 15.9181 13.249C15.3002 14.372 14.372 15.3002 13.249 15.9181C13.2497 15.9453 13.25 15.9726 13.25 16C13.25 17.7949 11.7949 19.25 10 19.25C8.20507 19.25 6.75 17.7949 6.75 16C6.75 15.9726 6.75034 15.9453 6.75102 15.9181C5.62799 15.3002 4.69978 14.372 4.08193 13.249C4.0547 13.2497 4.02739 13.25 4 13.25C2.20507 13.25 0.75 11.7949 0.75 10C0.75 8.20507 2.20507 6.75 4 6.75C4.02739 6.75 4.0547 6.75034 4.08193 6.75102C4.69978 5.62799 5.62799 4.69978 6.75101 4.08193C6.75034 4.0547 6.75 4.02739 6.75 4ZM10 2.25C9.0335 2.25 8.25 3.0335 8.25 4C8.25 4.9665 9.0335 5.75 10 5.75C10.9665 5.75 11.75 4.9665 11.75 4C11.75 3.0335 10.9665 2.25 10 2.25ZM14.4169 12.839C13.4224 12.2833 12.75 11.2202 12.75 10C12.75 8.77982 13.4224 7.7167 14.4169 7.16096C14.0099 6.52904 13.471 5.99011 12.839 5.58309C12.2833 6.57758 11.2202 7.25 10 7.25C8.77982 7.25 7.7167 6.57759 7.16097 5.5831C6.52904 5.99011 5.99011 6.52904 5.58309 7.16097C6.57758 7.7167 7.25 8.77982 7.25 10C7.25 11.2202 6.57758 12.2833 5.58309 12.839C5.99011 13.471 6.52904 14.0099 7.16096 14.4169C7.7167 13.4224 8.77982 12.75 10 12.75C11.2202 12.75 12.2833 13.4224 12.839 14.4169C13.471 14.0099 14.0099 13.471 14.4169 12.839ZM8.25 16C8.25 15.0335 9.0335 14.25 10 14.25C10.9665 14.25 11.75 15.0335 11.75 16C11.75 16.9665 10.9665 17.75 10 17.75C9.0335 17.75 8.25 16.9665 8.25 16ZM2.25 10C2.25 10.9665 3.0335 11.75 4 11.75C4.9665 11.75 5.75 10.9665 5.75 10C5.75 9.0335 4.9665 8.25 4 8.25C3.0335 8.25 2.25 9.0335 2.25 10ZM16 11.75C15.0335 11.75 14.25 10.9665 14.25 10C14.25 9.0335 15.0335 8.25 16 8.25C16.9665 8.25 17.75 9.0335 17.75 10C17.75 10.9665 16.9665 11.75 16 11.75Z"
|
|
216
|
-
fill="currentColor"
|
|
217
|
-
/>
|
|
218
|
-
</svg>`;
|
|
219
25
|
const svgs = /*#__PURE__*/Object.freeze({
|
|
220
26
|
__proto__: null,
|
|
221
27
|
twitter: twitter,
|
|
@@ -225,63 +31,10 @@ const svgs = /*#__PURE__*/Object.freeze({
|
|
|
225
31
|
mastodon: mastodon,
|
|
226
32
|
bluesky: bluesky,
|
|
227
33
|
euSvg: euSvg,
|
|
228
|
-
arrowRight: arrowRight,
|
|
229
|
-
arrowDiagonal: arrowDiagonal,
|
|
230
|
-
bookmark: bookmark,
|
|
231
|
-
chevronUp: chevronUp,
|
|
232
|
-
chevronDown: chevronDown,
|
|
233
|
-
chevronRight: chevronRight,
|
|
234
|
-
chevronLeft: chevronLeft,
|
|
235
|
-
check: check,
|
|
236
|
-
clear: clear,
|
|
237
|
-
close: close,
|
|
238
|
-
completed: completed,
|
|
239
|
-
copy: copy,
|
|
240
|
-
documentation: documentation,
|
|
241
|
-
download: download,
|
|
242
|
-
error: error,
|
|
243
34
|
gitlabColor: color,
|
|
244
35
|
gitlabBlack: gitlabBlack,
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
hLogoBlack: hLogoBlack,
|
|
248
|
-
hLogoColorWhite: hLogoColorWhite,
|
|
249
|
-
hLogoWhite: hLogoWhite,
|
|
250
|
-
hLogoWhiteNoBg: hLogoWhiteNoBg,
|
|
251
|
-
vLogoColor: vLogoColor,
|
|
252
|
-
vLogoBlack: vLogoBlack,
|
|
253
|
-
vLogoColorWhite: vLogoColorWhite,
|
|
254
|
-
vLogoWhite: vLogoWhite,
|
|
255
|
-
vLogoWhiteNoBg: vLogoWhiteNoBg,
|
|
256
|
-
vLogoMargins: vLogoMargins,
|
|
257
|
-
menu: menu,
|
|
258
|
-
minus: minus,
|
|
259
|
-
more: more,
|
|
260
|
-
failed: failed,
|
|
261
|
-
filter: filter,
|
|
262
|
-
group: group,
|
|
263
|
-
plus: plus,
|
|
264
|
-
paper: paper,
|
|
265
|
-
privat: privat,
|
|
266
|
-
pub: pub,
|
|
267
|
-
portal: portal,
|
|
268
|
-
user: user,
|
|
269
|
-
upDown: upDown,
|
|
270
|
-
search: search,
|
|
271
|
-
success: success,
|
|
272
|
-
tutorial: tutorial,
|
|
273
|
-
warning: warning,
|
|
274
|
-
unknown: unknown,
|
|
275
|
-
thumbsUp: thumbsUp,
|
|
276
|
-
thumbsDown: thumbsDown,
|
|
277
|
-
star: star,
|
|
278
|
-
external: arrowExternal,
|
|
279
|
-
bin: bin,
|
|
280
|
-
start: start,
|
|
281
|
-
draft: draft,
|
|
282
|
-
edit: edit,
|
|
283
|
-
view: view,
|
|
284
|
-
clone: clone
|
|
36
|
+
logoNegative: logoNegative,
|
|
37
|
+
logoPositive: logoPositive
|
|
285
38
|
});
|
|
286
39
|
const svgRepositoryCss = ":host,.full-width{display:block;width:100%}";
|
|
287
40
|
const SvgRepositoryStyle0 = svgRepositoryCss;
|
|
@@ -314,10 +67,10 @@ const SvgRepository = class {
|
|
|
314
67
|
}
|
|
315
68
|
};
|
|
316
69
|
return h("div", {
|
|
317
|
-
key: '
|
|
70
|
+
key: 'a7aebad6b026e51c822051cabd0826b6d9740d91',
|
|
318
71
|
class: "full-width"
|
|
319
72
|
}, h("eds-table", {
|
|
320
|
-
key: '
|
|
73
|
+
key: '5b5ce183d78d0a2259c99a949967dbbf4caf4ba4',
|
|
321
74
|
"table-data": JSON.stringify(svgData),
|
|
322
75
|
config: JSON.stringify(tableConfig),
|
|
323
76
|
"rows-per-page": 10,
|
|
@@ -5,7 +5,19 @@ import 'react-dom';
|
|
|
5
5
|
|
|
6
6
|
const colors = {
|
|
7
7
|
tokens: {
|
|
8
|
-
//
|
|
8
|
+
// Brand Colors - New EBRAINS Visual System
|
|
9
|
+
'brand-black': '#07140D',
|
|
10
|
+
'brand-green': '#00FF9D',
|
|
11
|
+
'brand-green-dark': '#00C87B',
|
|
12
|
+
// Neutrals
|
|
13
|
+
'grey-light': '#ECECEC',
|
|
14
|
+
'grey-dark': '#7A7B7A',
|
|
15
|
+
// Base
|
|
16
|
+
black: '#000000',
|
|
17
|
+
white: '#FFFFFF',
|
|
18
|
+
transparent: 'transparent',
|
|
19
|
+
current: 'currentColor',
|
|
20
|
+
// Legacy grey scale (keeping for gradual migration)
|
|
9
21
|
'grey-100': '#f8f8f8',
|
|
10
22
|
'grey-200': '#f2f2f2',
|
|
11
23
|
'grey-300': '#e6e6e6',
|
|
@@ -15,7 +27,8 @@ const colors = {
|
|
|
15
27
|
'grey-700': '#666666',
|
|
16
28
|
'grey-800': '#4d4d4d',
|
|
17
29
|
'grey-900': '#242424',
|
|
18
|
-
//
|
|
30
|
+
// Secondary colors (de-emphasized but available if needed)
|
|
31
|
+
// Green variants
|
|
19
32
|
'green-100': '#eaffee',
|
|
20
33
|
'green-200': '#d3ffdc',
|
|
21
34
|
'green-300': '#9dffb4',
|
|
@@ -25,7 +38,7 @@ const colors = {
|
|
|
25
38
|
'green-700': '#009d45',
|
|
26
39
|
'green-800': '#007734',
|
|
27
40
|
'green-900': '#004f23',
|
|
28
|
-
//
|
|
41
|
+
// Yellow
|
|
29
42
|
'yellow-100': '#fefee5',
|
|
30
43
|
'yellow-200': '#ffffcb',
|
|
31
44
|
'yellow-300': '#fdfdaa',
|
|
@@ -35,7 +48,7 @@ const colors = {
|
|
|
35
48
|
'yellow-700': '#d7d72b',
|
|
36
49
|
'yellow-800': '#9a9a1e',
|
|
37
50
|
'yellow-900': '#636313',
|
|
38
|
-
//
|
|
51
|
+
// Orange
|
|
39
52
|
'orange-100': '#fff4ee',
|
|
40
53
|
'orange-200': '#ffeade',
|
|
41
54
|
'orange-300': '#ffdcc5',
|
|
@@ -45,7 +58,7 @@ const colors = {
|
|
|
45
58
|
'orange-700': '#cb7f28',
|
|
46
59
|
'orange-800': '#995f1e',
|
|
47
60
|
'orange-900': '#653f14',
|
|
48
|
-
//
|
|
61
|
+
// Red
|
|
49
62
|
'red-100': '#feefef',
|
|
50
63
|
'red-200': '#ffe0e1',
|
|
51
64
|
'red-300': '#ffc7c9',
|
|
@@ -55,7 +68,7 @@ const colors = {
|
|
|
55
68
|
'red-700': '#d01111',
|
|
56
69
|
'red-800': '#a3001a',
|
|
57
70
|
'red-900': '#6f0011',
|
|
58
|
-
//
|
|
71
|
+
// Purple
|
|
59
72
|
'purple-100': '#f9f3ff',
|
|
60
73
|
'purple-200': '#f4e8ff',
|
|
61
74
|
'purple-300': '#e9ceff',
|
|
@@ -65,7 +78,7 @@ const colors = {
|
|
|
65
78
|
'purple-700': '#af56e4',
|
|
66
79
|
'purple-800': '#8337b1',
|
|
67
80
|
'purple-900': '#3d1e4f',
|
|
68
|
-
//
|
|
81
|
+
// Blue
|
|
69
82
|
'blue-100': '#eff0ff',
|
|
70
83
|
'blue-200': '#dee0ff',
|
|
71
84
|
'blue-300': '#caceff',
|
|
@@ -75,7 +88,7 @@ const colors = {
|
|
|
75
88
|
'blue-700': '#0034cb',
|
|
76
89
|
'blue-800': '#002799',
|
|
77
90
|
'blue-900': '#001a65',
|
|
78
|
-
//
|
|
91
|
+
// Cyan
|
|
79
92
|
'cyan-100': '#E0EEFF',
|
|
80
93
|
'cyan-200': '#D3E6FF',
|
|
81
94
|
'cyan-300': '#B5D8FF',
|
|
@@ -84,56 +97,53 @@ const colors = {
|
|
|
84
97
|
'cyan-600': '#3FA9F5',
|
|
85
98
|
'cyan-700': '#267FBE',
|
|
86
99
|
'cyan-800': '#1F689B',
|
|
87
|
-
'cyan-900': '#15496D'
|
|
88
|
-
// Generics
|
|
89
|
-
black: '#000000',
|
|
90
|
-
white: '#ffffff',
|
|
91
|
-
transparent: 'transparent',
|
|
92
|
-
current: 'currentColor'
|
|
100
|
+
'cyan-900': '#15496D'
|
|
93
101
|
},
|
|
94
102
|
border: {
|
|
95
|
-
default: 'black',
|
|
103
|
+
default: 'brand-black',
|
|
96
104
|
inverse: 'white',
|
|
97
105
|
'inverse-soft': 'rgba(255, 255, 255, 0.3)',
|
|
98
106
|
'inverse-softer': 'rgba(255, 255, 255, 0.15)',
|
|
99
|
-
soft: 'rgba(0, 0, 0, .15
|
|
100
|
-
softer: 'rgba(0, 0, 0, .1
|
|
101
|
-
softest: 'rgba(0, 0, 0, .05
|
|
102
|
-
accent: 'green
|
|
107
|
+
soft: 'rgba(0, 0, 0, .15)',
|
|
108
|
+
softer: 'rgba(0, 0, 0, .1)',
|
|
109
|
+
softest: 'rgba(0, 0, 0, .05)',
|
|
110
|
+
accent: 'brand-green',
|
|
111
|
+
'accent-dark': 'brand-green-dark',
|
|
103
112
|
error: 'red-700',
|
|
104
113
|
current: 'currentColor',
|
|
105
|
-
transparent: 'transparent'
|
|
114
|
+
transparent: 'transparent',
|
|
115
|
+
grey: 'grey-light',
|
|
116
|
+
'grey-dark': 'grey-dark'
|
|
106
117
|
},
|
|
107
118
|
text: {
|
|
119
|
+
default: 'brand-black',
|
|
108
120
|
inverse: 'white',
|
|
109
|
-
default: 'black',
|
|
110
121
|
current: 'currentColor',
|
|
111
122
|
transparent: 'transparent',
|
|
112
|
-
light: 'grey-
|
|
113
|
-
lighter: 'grey-
|
|
123
|
+
light: 'grey-dark',
|
|
124
|
+
lighter: 'grey-light',
|
|
114
125
|
lightest: 'grey-500',
|
|
115
126
|
'extra-light': 'grey-300',
|
|
116
127
|
success: 'green-800',
|
|
117
128
|
warning: 'yellow-900',
|
|
118
129
|
error: 'red-700',
|
|
119
|
-
accent: 'green
|
|
120
|
-
'
|
|
130
|
+
accent: 'brand-green',
|
|
131
|
+
'accent-dark': 'brand-green-dark',
|
|
132
|
+
'on-gradient': 'rgba(0, 0, 0, 0.55)',
|
|
133
|
+
'on-dark': 'white'
|
|
121
134
|
},
|
|
122
135
|
background: {
|
|
123
|
-
default: '
|
|
136
|
+
default: 'brand-black',
|
|
124
137
|
inverse: 'white',
|
|
125
|
-
'inverse-soft': 'rgba(
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
darker: 'grey-400',
|
|
138
|
+
'inverse-soft': 'rgba(0, 0, 0, .05)',
|
|
139
|
+
dark: 'grey-light',
|
|
140
|
+
darker: 'grey-dark',
|
|
129
141
|
strong: 'grey-700',
|
|
130
142
|
'strong-dark': 'grey-800',
|
|
131
143
|
stronger: 'grey-900',
|
|
132
|
-
strongest: 'black',
|
|
133
|
-
|
|
134
|
-
accent: 'green-
|
|
135
|
-
'accent-dark': 'green-600',
|
|
136
|
-
'accent-darker': 'green-800',
|
|
144
|
+
strongest: 'brand-black',
|
|
145
|
+
accent: 'brand-green',
|
|
146
|
+
'accent-dark': 'brand-green-dark',
|
|
137
147
|
success: 'green-200',
|
|
138
148
|
warning: 'yellow-200',
|
|
139
149
|
error: 'red-200',
|
|
@@ -144,15 +154,17 @@ const colors = {
|
|
|
144
154
|
'on-dark': 'rgba(255, 255, 255, 0.2)'
|
|
145
155
|
},
|
|
146
156
|
underline: {
|
|
147
|
-
accent: 'green
|
|
148
|
-
|
|
157
|
+
accent: 'brand-green',
|
|
158
|
+
'accent-dark': 'brand-green-dark',
|
|
159
|
+
light: 'grey-dark',
|
|
149
160
|
lighter: 'grey-600',
|
|
150
161
|
lightest: 'grey-500',
|
|
151
162
|
'extra-light': 'grey-300'
|
|
152
163
|
},
|
|
153
164
|
outline: {
|
|
154
|
-
default: 'black',
|
|
155
|
-
accent: 'green
|
|
165
|
+
default: 'brand-black',
|
|
166
|
+
accent: 'brand-green',
|
|
167
|
+
'accent-dark': 'brand-green-dark'
|
|
156
168
|
},
|
|
157
169
|
/**
|
|
158
170
|
* Gradients token are created manually inside gradients.css utility file.
|
|
@@ -296,7 +308,7 @@ const TokenList = class {
|
|
|
296
308
|
[this.show]: colors[this.show]
|
|
297
309
|
} : colors;
|
|
298
310
|
return h("section", {
|
|
299
|
-
key: '
|
|
311
|
+
key: '19a7dd76a980e2815f8df3ee0cb083b2c77cafa4',
|
|
300
312
|
class: "w-full mt-28"
|
|
301
313
|
}, Object.entries(sectionsToDisplay).map(([sectionName, sectionContent]) =>
|
|
302
314
|
// Only render sections that exist in `colors`
|
|
@@ -317,10 +329,10 @@ const TokenRadii = class {
|
|
|
317
329
|
}
|
|
318
330
|
render() {
|
|
319
331
|
return h("section", {
|
|
320
|
-
key: '
|
|
332
|
+
key: '80a475b807538a7c9c1186d0f167a793858ad439',
|
|
321
333
|
class: "w-full mt-28"
|
|
322
334
|
}, h("ul", {
|
|
323
|
-
key: '
|
|
335
|
+
key: 'e3fa97c0f627f2094c7eae87eb9f7079df2b35f2',
|
|
324
336
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
325
337
|
}, Object.entries(radii).map(([key, value]) => h("li", {
|
|
326
338
|
class: "grid-col-span-12 md:grid-col-span-4 flex flex-col items-center mt-16"
|
|
@@ -338,15 +350,31 @@ const TokenRadii = class {
|
|
|
338
350
|
}
|
|
339
351
|
};
|
|
340
352
|
const shadows = {
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
353
|
+
// Subtle elevation for cards and containers
|
|
354
|
+
small: '0px 1px 3px rgba(7, 20, 13, 0.1)',
|
|
355
|
+
// Medium elevation for dropdowns, modals
|
|
356
|
+
medium: '0px 4px 12px rgba(7, 20, 13, 0.15)',
|
|
357
|
+
// Hover state for interactive elements
|
|
358
|
+
hover: '0px 8px 24px rgba(7, 20, 13, 0.2)',
|
|
359
|
+
// Accent shadow with brand green glow
|
|
360
|
+
accent: '0px 0px 16px rgba(0, 255, 157, 0.5)',
|
|
361
|
+
// Green accent for focus states
|
|
362
|
+
'accent-focus': '0 0 0 3px rgba(0, 255, 157, 0.3)',
|
|
363
|
+
// Subtle border-like shadow
|
|
364
|
+
border: '0 1px 3px rgba(7, 20, 13, 0.1)',
|
|
365
|
+
'border-top': '0 -1px 3px rgba(7, 20, 13, 0.1)',
|
|
366
|
+
// For elevated components (navigation, sticky headers)
|
|
367
|
+
elevated: '0px 2px 8px rgba(7, 20, 13, 0.12)',
|
|
368
|
+
// Strong shadow for modals/overlays
|
|
369
|
+
overlay: '0px 16px 48px rgba(7, 20, 13, 0.3)',
|
|
370
|
+
// None - for flat design elements
|
|
371
|
+
none: 'none'
|
|
347
372
|
};
|
|
348
373
|
const dropShadows = {
|
|
349
|
-
small: '0px
|
|
374
|
+
small: '0px 2px 8px rgba(7, 20, 13, 0.15)',
|
|
375
|
+
medium: '0px 4px 16px rgba(7, 20, 13, 0.2)',
|
|
376
|
+
// Green glow for images/icons
|
|
377
|
+
'accent-glow': '0px 0px 24px rgba(0, 255, 157, 0.6)'
|
|
350
378
|
};
|
|
351
379
|
const shadowTokens = {
|
|
352
380
|
shadows,
|
|
@@ -358,10 +386,10 @@ const TokenShadows = class {
|
|
|
358
386
|
}
|
|
359
387
|
render() {
|
|
360
388
|
return h("section", {
|
|
361
|
-
key: '
|
|
389
|
+
key: '0316f767a182da2f2e96c137034d84794947102a',
|
|
362
390
|
class: "w-full mt-28"
|
|
363
391
|
}, h("ul", {
|
|
364
|
-
key: '
|
|
392
|
+
key: '16586b6a4d565ee58f4ea2465d54d527390d41ca',
|
|
365
393
|
class: "not-prose gap-y-8 md:gap-y-12 lg:gap-y-16"
|
|
366
394
|
}, Object.entries(shadowTokens).map(([category, tokens]) => Object.entries(tokens).map(([key, value]) => h("li", {
|
|
367
395
|
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: 'd95a7a36fc37fb829c74e336d16de79f57ec1b83',
|
|
21
21
|
class: "w-full"
|
|
22
22
|
}, h("eds-section-core", {
|
|
23
|
-
key: '
|
|
23
|
+
key: '1e2fbe9a818a162d6acd148804a61b87f919eda5',
|
|
24
24
|
tag: "div",
|
|
25
25
|
"section-title": "Aspect Ratios",
|
|
26
26
|
"heading-level": "h3"
|
|
27
27
|
}, h("ul", {
|
|
28
|
-
key: '
|
|
28
|
+
key: 'a2429b25e2aef59bde0185115dc2ff908b075db5',
|
|
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"
|