synapse-react-client 3.3.3 → 3.3.5
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/assets/homepage/research-credit-feature.svg +3 -3
- package/dist/index.cjs +21 -21
- package/dist/index.d.ts +49 -38
- package/dist/index.js +5519 -5706
- package/dist/style/components/_all.scss +10 -11
- package/dist/umd/synapse-react-client.development.css +1 -358
- package/dist/umd/synapse-react-client.development.js +3308 -6744
- package/dist/umd/synapse-react-client.production.min.css +2 -2
- package/dist/umd/synapse-react-client.production.min.js +201 -233
- package/package.json +2 -4
- package/dist/style/components/_carousel.scss +0 -45
- package/dist/style/components/_synapse-homepage.scss +0 -360
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "synapse-react-client",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -29,7 +29,6 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@apidevtools/json-schema-ref-parser": "^9.1.2",
|
|
32
|
-
"@brainhubeu/react-carousel": "1.19.26",
|
|
33
32
|
"@emotion/react": "^11.11.4",
|
|
34
33
|
"@emotion/styled": "^11.11.0",
|
|
35
34
|
"@mui/icons-material": "^5.15.13",
|
|
@@ -117,8 +116,8 @@
|
|
|
117
116
|
"use-deep-compare-effect": "^1.8.1",
|
|
118
117
|
"xss": "^1.0.15",
|
|
119
118
|
"zod": "^3.22.4",
|
|
120
|
-
"@sage-bionetworks/synapse-types": "0.0.3",
|
|
121
119
|
"@sage-bionetworks/markdown-it-container": "4.0.1",
|
|
120
|
+
"@sage-bionetworks/synapse-types": "0.0.3",
|
|
122
121
|
"markdown-it-synapse": "1.1.16"
|
|
123
122
|
},
|
|
124
123
|
"peerDependencies": {
|
|
@@ -159,7 +158,6 @@
|
|
|
159
158
|
"@testing-library/jest-dom": "^6.4.6",
|
|
160
159
|
"@testing-library/react": "^16.0.0",
|
|
161
160
|
"@testing-library/user-event": "^14.5.2",
|
|
162
|
-
"@types/brainhubeu__react-carousel": "1.15.0",
|
|
163
161
|
"@types/dagre": "^0.7.52",
|
|
164
162
|
"@types/google.maps": "^3.55.4",
|
|
165
163
|
"@types/history": "^4.7.11",
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
@use '../abstracts/variables' as SRC;
|
|
2
|
-
@use 'sass:map';
|
|
3
|
-
|
|
4
|
-
.SRC-Carousel {
|
|
5
|
-
padding-top: 10px;
|
|
6
|
-
padding-bottom: 10px;
|
|
7
|
-
background: none;
|
|
8
|
-
|
|
9
|
-
.BrainhubCarouselItem--active {
|
|
10
|
-
flex: 0;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__SelectedCard {
|
|
14
|
-
opacity: 1;
|
|
15
|
-
transform: scale(1);
|
|
16
|
-
transition-duration: 0.75s;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__UnselectedCard {
|
|
20
|
-
opacity: 0.5;
|
|
21
|
-
transform: scale(0.65);
|
|
22
|
-
transition-duration: 0.75s;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&__Arrow {
|
|
26
|
-
cursor: pointer;
|
|
27
|
-
margin: 10px;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.BrainhubCarousel__dots {
|
|
31
|
-
.BrainhubCarousel__dot::before {
|
|
32
|
-
width: 16px;
|
|
33
|
-
height: 16px;
|
|
34
|
-
background: none;
|
|
35
|
-
border: 1px solid map.get(SRC.$primary-color-palette, 500);
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.BrainhubCarousel__dot--selected::before {
|
|
39
|
-
width: 16px;
|
|
40
|
-
height: 16px;
|
|
41
|
-
background-color: map.get(SRC.$primary-color-palette, 500);
|
|
42
|
-
border: 1px solid map.get(SRC.$primary-color-palette, 500);
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
@@ -1,360 +0,0 @@
|
|
|
1
|
-
@use '../abstracts/variables' as SRC;
|
|
2
|
-
|
|
3
|
-
.SynapseHomepage {
|
|
4
|
-
color: #515359;
|
|
5
|
-
h2 {
|
|
6
|
-
margin-top: 0;
|
|
7
|
-
}
|
|
8
|
-
p {
|
|
9
|
-
margin-top: 0;
|
|
10
|
-
margin-bottom: 1rem;
|
|
11
|
-
}
|
|
12
|
-
p.no-margin {
|
|
13
|
-
margin: 0;
|
|
14
|
-
}
|
|
15
|
-
&__Section {
|
|
16
|
-
&__Centered {
|
|
17
|
-
text-align: center;
|
|
18
|
-
margin: auto;
|
|
19
|
-
max-width: 1400px;
|
|
20
|
-
|
|
21
|
-
p {
|
|
22
|
-
text-align: center;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.BrainhubCarouselItem p,
|
|
26
|
-
p.text-align-left {
|
|
27
|
-
text-align: left;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
.SynapseLogoContainer {
|
|
32
|
-
margin-bottom: 35px;
|
|
33
|
-
}
|
|
34
|
-
.WhiteText {
|
|
35
|
-
color: #ffffff;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.PrimaryBackground {
|
|
39
|
-
background: #2b688f;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.WhiteBackground {
|
|
43
|
-
background: #ffffff;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.OffWhiteBackground {
|
|
47
|
-
background: rgba(22, 75, 110, 0.05);
|
|
48
|
-
}
|
|
49
|
-
.SearchLinkBar {
|
|
50
|
-
background: rgb(64, 118, 154);
|
|
51
|
-
padding-top: 15px;
|
|
52
|
-
padding-bottom: 15px;
|
|
53
|
-
a {
|
|
54
|
-
> .styled-svg-wrapper {
|
|
55
|
-
margin-right: 10px;
|
|
56
|
-
}
|
|
57
|
-
&:not(.MuiButton-root):link:hover {
|
|
58
|
-
border-bottom: none;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.SignUpButtonContainer {
|
|
63
|
-
display: flex;
|
|
64
|
-
flex-direction: column;
|
|
65
|
-
|
|
66
|
-
.MuiButton-root {
|
|
67
|
-
width: 333px;
|
|
68
|
-
font-weight: bold;
|
|
69
|
-
margin-top: 13px;
|
|
70
|
-
min-width: fit-content;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
73
|
-
.HeroContainer {
|
|
74
|
-
margin: auto;
|
|
75
|
-
max-width: 1400px;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.SectionGraphic {
|
|
79
|
-
flex-shrink: 1;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
@media (max-width: map-get(SRC.$breakpoints, 'medium')) {
|
|
83
|
-
&__Section {
|
|
84
|
-
padding: 30px 40px;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.MuiButton-root {
|
|
88
|
-
padding-top: 0.75rem;
|
|
89
|
-
padding-bottom: 0.75rem;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&__Section > .FlexContainer,
|
|
93
|
-
.FlexContainerReverse,
|
|
94
|
-
.SignUpButtonContainer {
|
|
95
|
-
flex-direction: column;
|
|
96
|
-
.MuiButton-root {
|
|
97
|
-
margin-top: 15px;
|
|
98
|
-
display: block;
|
|
99
|
-
width: unset;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
h2 {
|
|
103
|
-
margin-top: 25px;
|
|
104
|
-
}
|
|
105
|
-
.HeroContainer {
|
|
106
|
-
.HeroImage {
|
|
107
|
-
max-height: 250px;
|
|
108
|
-
max-width: 100%;
|
|
109
|
-
}
|
|
110
|
-
.HeadlineSentence {
|
|
111
|
-
margin-top: 10px;
|
|
112
|
-
margin-bottom: 10px;
|
|
113
|
-
}
|
|
114
|
-
.Headline-Strong {
|
|
115
|
-
font-size: 21px;
|
|
116
|
-
line-height: 34px;
|
|
117
|
-
}
|
|
118
|
-
.Headline-Light {
|
|
119
|
-
font-size: 21px;
|
|
120
|
-
line-height: 21px;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
.SectionGraphic {
|
|
124
|
-
display: block;
|
|
125
|
-
margin: auto;
|
|
126
|
-
max-height: 150px;
|
|
127
|
-
max-width: 100%;
|
|
128
|
-
margin-bottom: 11px;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
&__MarginAutoDesktop {
|
|
132
|
-
margin: unset;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@media (min-width: map-get(SRC.$breakpoints, 'medium') + 1) {
|
|
137
|
-
&__Section {
|
|
138
|
-
padding: 50px 60px;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
&__Section > .FlexContainer,
|
|
142
|
-
.FlexContainerReverse {
|
|
143
|
-
.MuiButton-root {
|
|
144
|
-
min-width: fit-content;
|
|
145
|
-
width: fit-content;
|
|
146
|
-
padding-left: 20px;
|
|
147
|
-
padding-right: 20px;
|
|
148
|
-
margin-top: 35px;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
.SectionGraphic {
|
|
152
|
-
max-height: 270px;
|
|
153
|
-
max-width: 450px;
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
&__Section > .FlexContainer {
|
|
158
|
-
display: flex;
|
|
159
|
-
flex-direction: row;
|
|
160
|
-
justify-content: space-between;
|
|
161
|
-
margin: auto;
|
|
162
|
-
max-width: 1400px;
|
|
163
|
-
|
|
164
|
-
.SectionGraphic {
|
|
165
|
-
margin-right: 30px;
|
|
166
|
-
align-self: center;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
&__Section > .FlexContainerReverse {
|
|
171
|
-
display: flex;
|
|
172
|
-
flex-direction: row-reverse;
|
|
173
|
-
justify-content: space-between;
|
|
174
|
-
margin: auto;
|
|
175
|
-
max-width: 1400px;
|
|
176
|
-
.SectionGraphic {
|
|
177
|
-
margin-left: 30px;
|
|
178
|
-
align-self: center;
|
|
179
|
-
}
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
&__MarginAutoDesktop {
|
|
183
|
-
margin: auto;
|
|
184
|
-
}
|
|
185
|
-
}
|
|
186
|
-
@media (min-width: 1101px) {
|
|
187
|
-
.HeroContainer {
|
|
188
|
-
display: grid;
|
|
189
|
-
grid-template-columns: auto auto;
|
|
190
|
-
grid-template-rows: 1fr;
|
|
191
|
-
align-items: center;
|
|
192
|
-
|
|
193
|
-
.HeroImage {
|
|
194
|
-
width: 700px;
|
|
195
|
-
margin-left: 30px;
|
|
196
|
-
grid-column-start: 2;
|
|
197
|
-
grid-column-end: 3;
|
|
198
|
-
grid-row-start: 1;
|
|
199
|
-
grid-row-end: 3;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
.Headline {
|
|
203
|
-
grid-column-start: 1;
|
|
204
|
-
grid-column-end: 2;
|
|
205
|
-
grid-row-start: 1;
|
|
206
|
-
grid-row-end: 2;
|
|
207
|
-
|
|
208
|
-
display: flex;
|
|
209
|
-
flex-direction: column;
|
|
210
|
-
margin-bottom: 30px;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
.SignUpButtonContainer {
|
|
214
|
-
grid-column-start: 1;
|
|
215
|
-
grid-column-end: 2;
|
|
216
|
-
grid-row-start: 2;
|
|
217
|
-
grid-row-end: 3;
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
@media (max-width: 1100px) {
|
|
223
|
-
// No grid for the HeroContainer at <= 1100px
|
|
224
|
-
.HeroImage {
|
|
225
|
-
max-height: 250px;
|
|
226
|
-
max-width: 100%;
|
|
227
|
-
margin-top: 15px;
|
|
228
|
-
margin-bottom: 15px;
|
|
229
|
-
}
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
.Headline-Strong {
|
|
233
|
-
font-family: 'DM Sans';
|
|
234
|
-
font-weight: 700;
|
|
235
|
-
font-size: 24px;
|
|
236
|
-
line-height: 34px;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
.Headline-Light {
|
|
240
|
-
font-family: 'DM Sans';
|
|
241
|
-
font-weight: 300;
|
|
242
|
-
font-size: 24px;
|
|
243
|
-
line-height: 34px;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
.SectionTextFlexContainer {
|
|
247
|
-
display: flex;
|
|
248
|
-
flex-direction: column;
|
|
249
|
-
max-width: 700px;
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
h2 {
|
|
253
|
-
line-height: 28.8px;
|
|
254
|
-
font-weight: 700;
|
|
255
|
-
font-size: 24px;
|
|
256
|
-
margin-bottom: 15px;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
h3 {
|
|
260
|
-
line-height: 21px;
|
|
261
|
-
font-weight: 700;
|
|
262
|
-
font-size: 16px;
|
|
263
|
-
margin-bottom: 3px;
|
|
264
|
-
margin-top: 10px;
|
|
265
|
-
}
|
|
266
|
-
|
|
267
|
-
.SectionBody {
|
|
268
|
-
line-height: 21px;
|
|
269
|
-
font-weight: 400;
|
|
270
|
-
font-size: 14px;
|
|
271
|
-
margin-bottom: 3px;
|
|
272
|
-
margin-top: 10px;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.ClientFlexContainer {
|
|
276
|
-
display: flex;
|
|
277
|
-
justify-content: space-around;
|
|
278
|
-
align-items: center;
|
|
279
|
-
flex-grow: 1;
|
|
280
|
-
flex-shrink: 0;
|
|
281
|
-
max-width: 550px;
|
|
282
|
-
height: unset;
|
|
283
|
-
|
|
284
|
-
.ClientFlexItem {
|
|
285
|
-
display: flex;
|
|
286
|
-
flex-direction: column;
|
|
287
|
-
align-items: center;
|
|
288
|
-
margin: 10px;
|
|
289
|
-
color: unset;
|
|
290
|
-
text-align: center;
|
|
291
|
-
|
|
292
|
-
img,
|
|
293
|
-
svg {
|
|
294
|
-
height: 54px;
|
|
295
|
-
margin-bottom: 8px;
|
|
296
|
-
}
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&__FlexColumn {
|
|
301
|
-
display: flex;
|
|
302
|
-
flex-direction: column;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.PartnerFlexContainer {
|
|
306
|
-
display: inline-flex;
|
|
307
|
-
flex-wrap: wrap;
|
|
308
|
-
align-content: center;
|
|
309
|
-
.PartnerFlexItem {
|
|
310
|
-
margin: 0 auto;
|
|
311
|
-
justify-content: space-around;
|
|
312
|
-
align-self: center;
|
|
313
|
-
a {
|
|
314
|
-
// respect height of content
|
|
315
|
-
display: inline-block;
|
|
316
|
-
}
|
|
317
|
-
img {
|
|
318
|
-
max-height: 100px;
|
|
319
|
-
max-width: 200px;
|
|
320
|
-
margin: 15px;
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
.PoweredBySynapseFlexContainer {
|
|
326
|
-
display: inline-flex;
|
|
327
|
-
flex-wrap: wrap;
|
|
328
|
-
align-content: center;
|
|
329
|
-
max-width: 1300px;
|
|
330
|
-
.PoweredBySynapseItem {
|
|
331
|
-
margin: 0 auto;
|
|
332
|
-
justify-content: space-around;
|
|
333
|
-
align-self: center;
|
|
334
|
-
max-width: 350px;
|
|
335
|
-
.PoweredBySynapseItemGrid {
|
|
336
|
-
display: grid;
|
|
337
|
-
margin: 20px 10px;
|
|
338
|
-
grid-template-columns: 70px auto;
|
|
339
|
-
.logo {
|
|
340
|
-
grid-column: 1 / span 1;
|
|
341
|
-
justify-self: center;
|
|
342
|
-
}
|
|
343
|
-
.body {
|
|
344
|
-
grid-column: 2 / span 1;
|
|
345
|
-
margin: 0px 9px 0px 15px;
|
|
346
|
-
}
|
|
347
|
-
.title {
|
|
348
|
-
margin: 0px 0px 10px 0px;
|
|
349
|
-
}
|
|
350
|
-
.title,
|
|
351
|
-
.description {
|
|
352
|
-
text-align: left;
|
|
353
|
-
}
|
|
354
|
-
.link {
|
|
355
|
-
float: left;
|
|
356
|
-
}
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
}
|
|
360
|
-
}
|