synapse-react-client 3.3.5 → 3.3.7
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/index.cjs +24 -21
- package/dist/index.d.ts +79 -2
- package/dist/index.js +10865 -9985
- package/dist/style/components/_all.scss +11 -10
- package/dist/style/components/_carousel.scss +45 -0
- package/dist/style/components/_synapse-homepage.scss +360 -0
- package/dist/umd/synapse-react-client.development.css +358 -1
- package/dist/umd/synapse-react-client.development.js +4991 -943
- package/dist/umd/synapse-react-client.production.min.css +2 -2
- package/dist/umd/synapse-react-client.production.min.js +235 -201
- package/package.json +5 -4
|
@@ -8,13 +8,14 @@
|
|
|
8
8
|
'./error', './goals', './feed-cards', './upset-plot', './resources',
|
|
9
9
|
'cards-rotate', './expandable_content', './bar-loader', './featured-data-tabs',
|
|
10
10
|
'./programs', './user-card-list-groups', './evaluation_queue/all',
|
|
11
|
-
'./terms-and-conditions', './project-view-card', './
|
|
12
|
-
'./entity_finder/all', './entity-badge',
|
|
13
|
-
'./
|
|
14
|
-
'./global-alert', './annotations', 'plotlywrapper',
|
|
15
|
-
'./
|
|
16
|
-
'./
|
|
17
|
-
'./
|
|
18
|
-
'./
|
|
19
|
-
'./
|
|
20
|
-
'./
|
|
11
|
+
'./terms-and-conditions', './project-view-card', './carousel',
|
|
12
|
+
'./synapse-homepage', './login', './entity_finder/all', './entity-badge',
|
|
13
|
+
'./download-list-v2', './user-search-box', './entity-metadata',
|
|
14
|
+
'./download-cart-page', './global-alert', './annotations', 'plotlywrapper',
|
|
15
|
+
'./synapse-nav-drawer', './favorites-page', './skeletons', './toasts',
|
|
16
|
+
'./user-profile-links', './transition', './featured-tool-card',
|
|
17
|
+
'./row_renderers/observation-card', './subsection-row-renderer',
|
|
18
|
+
'./dataset-editor', './markdown-collapse', './discussion-search',
|
|
19
|
+
'./submission-page', './governance-dashboard', './provenance',
|
|
20
|
+
'./certification-quiz', './discussion-forum', './expandable_table_data',
|
|
21
|
+
'./markdown-editor', './spinner';
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,360 @@
|
|
|
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
|
+
}
|