@taikai/rocket-kit 3.0.10-beta.2 → 3.0.11
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/atoms/label/index.d.ts +1 -1
- package/dist/atoms/select-interactive/index.d.ts +1 -1
- package/dist/atoms/select-interactive/types.d.ts +2 -0
- package/dist/molecules/card-value/index.d.ts +1 -1
- package/dist/molecules/form-group/index.d.ts +1 -1
- package/dist/rocket-kit.cjs.development.js +1845 -274
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +2048 -329
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +1841 -270
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +15 -11
package/dist/rocket-kit.esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect, useMemo } from 'react';
|
|
2
2
|
import Avatar from 'boring-avatars';
|
|
3
|
-
import
|
|
3
|
+
import styled, { css } from 'styled-components';
|
|
4
4
|
import { rem, rgba, transparentize, timingFunctions } from 'polished';
|
|
5
5
|
import Select$1, { components } from 'react-select';
|
|
6
6
|
import { Carousel } from 'react-responsive-carousel';
|
|
@@ -189,10 +189,24 @@ const field = {
|
|
|
189
189
|
placeholderColor: colors.grey200
|
|
190
190
|
};
|
|
191
191
|
|
|
192
|
-
const Wrapper =
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
192
|
+
const Wrapper = styled.div`
|
|
193
|
+
position: relative;
|
|
194
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${colors.grey200};
|
|
195
|
+
border-radius: ${props => props.square ? 0 : '999px'};
|
|
196
|
+
width: ${props => props.size}px;
|
|
197
|
+
height: ${props => props.size}px;
|
|
198
|
+
overflow: hidden;
|
|
199
|
+
z-index: 0;
|
|
200
|
+
|
|
201
|
+
> * {
|
|
202
|
+
width: 100%;
|
|
203
|
+
height: 100%;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
img {
|
|
207
|
+
object-fit: cover;
|
|
208
|
+
}
|
|
209
|
+
`;
|
|
196
210
|
|
|
197
211
|
const AvatarImage = props => {
|
|
198
212
|
const {
|
|
@@ -243,10 +257,82 @@ const useColor = value => {
|
|
|
243
257
|
};
|
|
244
258
|
};
|
|
245
259
|
|
|
246
|
-
const ButtonWrapper =
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
260
|
+
const ButtonWrapper = styled.button`
|
|
261
|
+
--bg: ${props => useColor(props.color ?? 'black').color};
|
|
262
|
+
--txt: ${props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color};
|
|
263
|
+
--hover: ${props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover};
|
|
264
|
+
|
|
265
|
+
margin: 0;
|
|
266
|
+
border-width: ${props => props.variant === 'outline' ? button.borderWidth : 0};
|
|
267
|
+
border-style: solid;
|
|
268
|
+
border-color: var(--bg);
|
|
269
|
+
border-radius: ${props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius};
|
|
270
|
+
background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
|
|
271
|
+
width: min-content;
|
|
272
|
+
min-width: ${props => props.value ? rem('80px') : rem('42px')};
|
|
273
|
+
height: ${button.height};
|
|
274
|
+
display: flex;
|
|
275
|
+
justify-content: center;
|
|
276
|
+
align-items: center;
|
|
277
|
+
padding: ${props => props.value ? `0 ${button.padding}` : 0};
|
|
278
|
+
white-space: nowrap;
|
|
279
|
+
text-decoration: none;
|
|
280
|
+
transition-duration: ${misc.transitionDuration};
|
|
281
|
+
cursor: pointer;
|
|
282
|
+
outline: none;
|
|
283
|
+
|
|
284
|
+
&:hover {
|
|
285
|
+
border-color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
|
|
286
|
+
background-color: ${props => props.variant === 'solid' ? 'var(--hover)' : 'transparent'};
|
|
287
|
+
|
|
288
|
+
span {
|
|
289
|
+
color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
svg {
|
|
293
|
+
fill: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
|
|
294
|
+
}
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
&:disabled {
|
|
298
|
+
cursor: inherit;
|
|
299
|
+
opacity: 0.5;
|
|
300
|
+
|
|
301
|
+
&:hover {
|
|
302
|
+
background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
|
|
303
|
+
pointer-events: none;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
> *:not(:last-child) {
|
|
308
|
+
margin-left: ${props => props.iconPosition === 'right' ? button.iconSpacing : 0};
|
|
309
|
+
margin-right: ${props => props.iconPosition === 'left' ? button.iconSpacing : 0};
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.spinner {
|
|
313
|
+
order: ${props => props.iconPosition === 'left' ? 1 : 2};
|
|
314
|
+
border-top-color: ${props => props.variant === 'solid' ? '' : 'var(--button)'};
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
span {
|
|
318
|
+
position: relative;
|
|
319
|
+
font-size: ${/*#__PURE__*/rem(typography.defaultSize)};
|
|
320
|
+
font-weight: ${typography.medium};
|
|
321
|
+
line-height: ${/*#__PURE__*/rem(typography.defaultSize)};
|
|
322
|
+
color: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
|
|
323
|
+
pointer-events: none;
|
|
324
|
+
transition-duration: ${misc.transitionDuration};
|
|
325
|
+
order: ${props => props.iconPosition === 'left' ? 2 : 1};
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
svg {
|
|
329
|
+
order: ${props => props.iconPosition === 'left' ? 1 : 2};
|
|
330
|
+
width: ${button.iconSize};
|
|
331
|
+
height: ${button.iconSize};
|
|
332
|
+
fill: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
|
|
333
|
+
transition: ${misc.transitionDuration};
|
|
334
|
+
}
|
|
335
|
+
`;
|
|
250
336
|
|
|
251
337
|
const Button = props => {
|
|
252
338
|
const {
|
|
@@ -289,10 +375,79 @@ const Button = props => {
|
|
|
289
375
|
}) : null, value && /*#__PURE__*/React.createElement("span", null, value));
|
|
290
376
|
};
|
|
291
377
|
|
|
292
|
-
const ActionsMenuStyle =
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
378
|
+
const ActionsMenuStyle = styled.div`
|
|
379
|
+
position: relative;
|
|
380
|
+
|
|
381
|
+
ul {
|
|
382
|
+
position: absolute;
|
|
383
|
+
opacity: 0;
|
|
384
|
+
top: 0;
|
|
385
|
+
margin: 0;
|
|
386
|
+
border: ${/*#__PURE__*/rem('1px')} solid ${field.borderColor};
|
|
387
|
+
border-radius: ${field.borderRadius};
|
|
388
|
+
background-color: ${field.backgroundColor};
|
|
389
|
+
min-width: ${/*#__PURE__*/rem('200px')};
|
|
390
|
+
max-width: ${/*#__PURE__*/rem('250px')};
|
|
391
|
+
height: 0;
|
|
392
|
+
max-height: none;
|
|
393
|
+
padding: 0;
|
|
394
|
+
-moz-box-shadow: 0 0 ${/*#__PURE__*/rem('15px')} 0 ${field.boxShadow};
|
|
395
|
+
-webkit-box-shadow: 0 0 ${/*#__PURE__*/rem('15px')} 0 ${field.boxShadow};
|
|
396
|
+
box-shadow: 0 0 ${/*#__PURE__*/rem('15px')} 0 ${field.boxShadow};
|
|
397
|
+
overflow-y: hidden;
|
|
398
|
+
z-index: 1;
|
|
399
|
+
-webkit-scrollbar-width: none;
|
|
400
|
+
-moz-scrollbar-width: none;
|
|
401
|
+
-ms-scrollbar-width: none;
|
|
402
|
+
scrollbar-width: none;
|
|
403
|
+
-webkit-overflow-scrolling: touch;
|
|
404
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
405
|
+
transition-duration: ${misc.transitionDuration};
|
|
406
|
+
|
|
407
|
+
&.isOpen {
|
|
408
|
+
opacity: 1;
|
|
409
|
+
// prettier-ignore
|
|
410
|
+
height: calc(${/*#__PURE__*/rem('45px')} * ${props => props.visibleActions} + ${/*#__PURE__*/rem('2px')});
|
|
411
|
+
max-height: ${/*#__PURE__*/rem('1280px')};
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
li {
|
|
415
|
+
list-style: none;
|
|
416
|
+
min-height: ${/*#__PURE__*/rem('45px')};
|
|
417
|
+
display: flex;
|
|
418
|
+
transition-duration: 0.3s;
|
|
419
|
+
|
|
420
|
+
&:hover {
|
|
421
|
+
background-color: ${field.borderColor};
|
|
422
|
+
cursor: pointer;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
&:first-child {
|
|
426
|
+
border-radius: ${/*#__PURE__*/rem('4px')} ${/*#__PURE__*/rem('4px')} 0 0;
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
&:last-child {
|
|
430
|
+
border-radius: 0 0 ${/*#__PURE__*/rem('4px')} ${/*#__PURE__*/rem('4px')};
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
a {
|
|
434
|
+
width: 100%;
|
|
435
|
+
display: flex;
|
|
436
|
+
align-items: center;
|
|
437
|
+
padding: 0 ${/*#__PURE__*/rem('20px')};
|
|
438
|
+
color: ${field.color};
|
|
439
|
+
text-decoration: none;
|
|
440
|
+
white-space: nowrap;
|
|
441
|
+
|
|
442
|
+
span {
|
|
443
|
+
display: table-cell;
|
|
444
|
+
overflow: hidden;
|
|
445
|
+
text-overflow: ellipsis;
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
}
|
|
450
|
+
`;
|
|
296
451
|
|
|
297
452
|
function useVisible(initialIsVisible) {
|
|
298
453
|
const [isVisible, setIsVisible] = useState(initialIsVisible);
|
|
@@ -387,10 +542,65 @@ const ButtonDropdown = props => {
|
|
|
387
542
|
}, /*#__PURE__*/React.createElement("span", null, value))))));
|
|
388
543
|
};
|
|
389
544
|
|
|
390
|
-
const ButtonLinkStyle =
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
545
|
+
const ButtonLinkStyle = styled.a`
|
|
546
|
+
--bg: ${props => useColor(props.color ?? 'black').color};
|
|
547
|
+
--txt: ${props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color};
|
|
548
|
+
--hover: ${props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover};
|
|
549
|
+
|
|
550
|
+
border-width: ${props => props.variant === 'outline' ? button.borderWidth : 0};
|
|
551
|
+
border-style: solid;
|
|
552
|
+
border-color: var(--bg);
|
|
553
|
+
border-radius: ${props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius};
|
|
554
|
+
background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
|
|
555
|
+
width: min-content;
|
|
556
|
+
min-width: ${props => props.value ? rem('80px') : rem('42px')};
|
|
557
|
+
height: ${button.height};
|
|
558
|
+
display: flex;
|
|
559
|
+
justify-content: center;
|
|
560
|
+
align-items: center;
|
|
561
|
+
padding: ${props => props.value ? `0 ${button.padding}` : 0};
|
|
562
|
+
white-space: nowrap;
|
|
563
|
+
text-decoration: none;
|
|
564
|
+
transition-duration: ${misc.transitionDuration};
|
|
565
|
+
cursor: pointer;
|
|
566
|
+
|
|
567
|
+
&:hover {
|
|
568
|
+
border-color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
|
|
569
|
+
background-color: ${props => props.variant === 'solid' ? 'var(--hover)' : 'transparent'};
|
|
570
|
+
|
|
571
|
+
span {
|
|
572
|
+
color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
svg {
|
|
576
|
+
fill: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
> *:not(:last-child) {
|
|
581
|
+
margin-left: ${props => props.iconPosition === 'right' ? button.iconSpacing : 0};
|
|
582
|
+
margin-right: ${props => props.iconPosition === 'left' ? button.iconSpacing : 0};
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
span {
|
|
586
|
+
position: relative;
|
|
587
|
+
font-size: ${/*#__PURE__*/rem(typography.defaultSize)};
|
|
588
|
+
font-weight: ${typography.medium};
|
|
589
|
+
line-height: ${/*#__PURE__*/rem(typography.defaultSize)};
|
|
590
|
+
color: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
|
|
591
|
+
pointer-events: none;
|
|
592
|
+
transition-duration: ${misc.transitionDuration};
|
|
593
|
+
order: ${props => props.iconPosition === 'left' ? 2 : 1};
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
svg {
|
|
597
|
+
order: ${props => props.iconPosition === 'left' ? 1 : 2};
|
|
598
|
+
width: ${button.iconSize};
|
|
599
|
+
height: ${button.iconSize};
|
|
600
|
+
fill: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
|
|
601
|
+
transition: ${misc.transitionDuration};
|
|
602
|
+
}
|
|
603
|
+
`;
|
|
394
604
|
|
|
395
605
|
const ButtonLink = props => {
|
|
396
606
|
const {
|
|
@@ -438,22 +648,94 @@ const ButtonLink = props => {
|
|
|
438
648
|
}), value && /*#__PURE__*/React.createElement("span", null, value));
|
|
439
649
|
};
|
|
440
650
|
|
|
441
|
-
const CheckboxWrapper =
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
651
|
+
const CheckboxWrapper = styled.label`
|
|
652
|
+
display: flex;
|
|
653
|
+
position: relative;
|
|
654
|
+
padding-left: 0;
|
|
655
|
+
cursor: ${props => props.disabled ? 'auto' : 'pointer'};
|
|
656
|
+
-webkit-user-select: none;
|
|
657
|
+
-moz-user-select: none;
|
|
658
|
+
-ms-user-select: none;
|
|
659
|
+
user-select: none;
|
|
660
|
+
|
|
661
|
+
&:hover input:not(:disabled) ~ span {
|
|
662
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.hoverBorderColor};
|
|
663
|
+
}
|
|
664
|
+
|
|
665
|
+
span {
|
|
666
|
+
color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : null};
|
|
667
|
+
border-color: ${props => props.error ? field.errorBorderColor : null};
|
|
668
|
+
}
|
|
669
|
+
`;
|
|
670
|
+
const CheckboxLabel = styled.span`
|
|
671
|
+
margin-left: calc(${/*#__PURE__*/rem('24px')} + ${/*#__PURE__*/rem('5px')});
|
|
672
|
+
line-height: ${/*#__PURE__*/rem('24px')};
|
|
673
|
+
`;
|
|
674
|
+
const CheckboxInput = styled.input`
|
|
675
|
+
position: absolute;
|
|
676
|
+
left: 0;
|
|
677
|
+
opacity: 0;
|
|
678
|
+
cursor: pointer;
|
|
679
|
+
`;
|
|
680
|
+
const Checkmark = styled.span`
|
|
681
|
+
position: absolute;
|
|
682
|
+
top: 0;
|
|
683
|
+
left: 0;
|
|
684
|
+
border: ${/*#__PURE__*/rem('2px')} solid
|
|
685
|
+
${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
686
|
+
border-radius: 100%;
|
|
687
|
+
width: ${/*#__PURE__*/rem('24px')};
|
|
688
|
+
height: ${/*#__PURE__*/rem('24px')};
|
|
689
|
+
transition-duration: ${misc.transitionDuration};
|
|
690
|
+
|
|
691
|
+
&:after {
|
|
692
|
+
display: block;
|
|
693
|
+
content: '';
|
|
694
|
+
position: absolute;
|
|
695
|
+
display: none;
|
|
696
|
+
top: ${/*#__PURE__*/rem('3px')};
|
|
697
|
+
left: ${/*#__PURE__*/rem('6px')};
|
|
698
|
+
width: ${/*#__PURE__*/rem('5px')};
|
|
699
|
+
height: ${/*#__PURE__*/rem('9px')};
|
|
700
|
+
border: solid ${colors.white};
|
|
701
|
+
border-width: 0 ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('3px')} 0;
|
|
702
|
+
-webkit-transform: rotate(45deg);
|
|
703
|
+
-ms-transform: rotate(45deg);
|
|
704
|
+
transform: rotate(45deg);
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
&.checked.not-disabled {
|
|
708
|
+
background-color: ${props => props.error ? field.errorBackgroundColor : field.successBackgroundColor};
|
|
709
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
|
|
710
|
+
|
|
711
|
+
&:after {
|
|
712
|
+
display: block;
|
|
713
|
+
}
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
&.checked.disabled {
|
|
717
|
+
color: ${field.disabledColor};
|
|
718
|
+
border-color: transparent;
|
|
719
|
+
background-color: ${field.disabledBackgroundColor};
|
|
720
|
+
|
|
721
|
+
&:after {
|
|
722
|
+
display: block;
|
|
723
|
+
}
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
&.not-checked.disabled {
|
|
727
|
+
border-color: ${field.disabledBackgroundColor};
|
|
728
|
+
background-color: ${colors.white};
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
&.not-disabled:hover {
|
|
732
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
|
|
733
|
+
|
|
734
|
+
&:checked ~ span {
|
|
735
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
`;
|
|
457
739
|
|
|
458
740
|
const Checkbox = ({
|
|
459
741
|
label,
|
|
@@ -508,22 +790,101 @@ const Checkbox = ({
|
|
|
508
790
|
}));
|
|
509
791
|
};
|
|
510
792
|
|
|
511
|
-
const CheckboxWrapper$1 =
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
793
|
+
const CheckboxWrapper$1 = styled.label`
|
|
794
|
+
border: ${field.borderWidth} solid
|
|
795
|
+
${props => props.disabled ? field.borderColor : props.checked ? field.successBorderColor : field.borderColor};
|
|
796
|
+
border-radius: ${field.borderRadius};
|
|
797
|
+
background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.backgroundColor};
|
|
798
|
+
height: ${field.height};
|
|
799
|
+
display: flex;
|
|
800
|
+
align-items: center;
|
|
801
|
+
position: relative;
|
|
802
|
+
cursor: ${props => props.disabled ? 'auto' : 'pointer'};
|
|
803
|
+
-webkit-user-select: none;
|
|
804
|
+
-moz-user-select: none;
|
|
805
|
+
-ms-user-select: none;
|
|
806
|
+
user-select: none;
|
|
807
|
+
transition-duration: ${misc.transitionDuration};
|
|
808
|
+
|
|
809
|
+
&:hover input:not(:disabled) ~ span {
|
|
810
|
+
border-color: ${field.hoverBorderColor};
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
&:hover {
|
|
814
|
+
background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.borderColor};
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
span {
|
|
818
|
+
color: ${props => props.disabled ? field.disabledColor : props.checked ? colors.white : null};
|
|
819
|
+
transition-duration: ${misc.transitionDuration};
|
|
820
|
+
}
|
|
821
|
+
`;
|
|
822
|
+
const CheckboxLabel$1 = styled.span`
|
|
823
|
+
margin-left: ${/*#__PURE__*/rem('40px')};
|
|
824
|
+
line-height: ${/*#__PURE__*/rem('24px')};
|
|
825
|
+
`;
|
|
826
|
+
const CheckboxInput$1 = styled.input`
|
|
827
|
+
position: absolute;
|
|
828
|
+
left: 0;
|
|
829
|
+
opacity: 0;
|
|
830
|
+
cursor: pointer;
|
|
831
|
+
|
|
832
|
+
&:checked:not(:disabled) ~ span {
|
|
833
|
+
background-color: ${colors.white};
|
|
834
|
+
border-color: ${field.successBorderColor};
|
|
835
|
+
|
|
836
|
+
&:after {
|
|
837
|
+
display: block;
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
&:checked:disabled ~ span {
|
|
842
|
+
background-color: ${field.disabledBackgroundColor};
|
|
843
|
+
color: ${field.disabledColor};
|
|
844
|
+
|
|
845
|
+
&:after {
|
|
846
|
+
display: block;
|
|
847
|
+
border-color: ${field.disabledColor};
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
|
|
851
|
+
&:not(:checked):disabled ~ span {
|
|
852
|
+
border-color: ${field.disabledBackgroundColor};
|
|
853
|
+
background-color: ${field.backgroundColor};
|
|
854
|
+
}
|
|
855
|
+
|
|
856
|
+
&:hover:not(:disabled) {
|
|
857
|
+
&:checked ~ span {
|
|
858
|
+
border-color: ${field.successBorderColor};
|
|
859
|
+
}
|
|
860
|
+
}
|
|
861
|
+
`;
|
|
862
|
+
const Checkmark$1 = styled.span`
|
|
863
|
+
position: absolute;
|
|
864
|
+
left: ${/*#__PURE__*/rem('10px')};
|
|
865
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${field.borderColor};
|
|
866
|
+
border-radius: 999px;
|
|
867
|
+
background-color: ${colors.white};
|
|
868
|
+
width: ${/*#__PURE__*/rem('24px')};
|
|
869
|
+
height: ${/*#__PURE__*/rem('24px')};
|
|
870
|
+
transition-duration: ${misc.transitionDuration};
|
|
871
|
+
|
|
872
|
+
&:after {
|
|
873
|
+
content: '';
|
|
874
|
+
position: absolute;
|
|
875
|
+
display: none;
|
|
876
|
+
top: ${/*#__PURE__*/rem('3px')};
|
|
877
|
+
left: ${/*#__PURE__*/rem('6px')};
|
|
878
|
+
width: ${/*#__PURE__*/rem('5px')};
|
|
879
|
+
height: ${/*#__PURE__*/rem('9px')};
|
|
880
|
+
border: solid
|
|
881
|
+
${props => props.disabled ? colors.white : field.successBorderColor};
|
|
882
|
+
border-width: 0 ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('3px')} 0;
|
|
883
|
+
-webkit-transform: rotate(45deg);
|
|
884
|
+
-ms-transform: rotate(45deg);
|
|
885
|
+
transform: rotate(45deg);
|
|
886
|
+
}
|
|
887
|
+
`;
|
|
527
888
|
|
|
528
889
|
const CheckboxButton = props => {
|
|
529
890
|
const {
|
|
@@ -571,11 +932,11 @@ const icons = {
|
|
|
571
932
|
warning: 'M5.466 27.792h21.067c1.544-0.001 2.796-1.253 2.796-2.797 0-0.515-0.139-0.998-0.383-1.413l0.007 0.013-10.533-18.199c-0.493-0.84-1.392-1.395-2.42-1.395s-1.927 0.555-2.413 1.382l-0.007 0.013-10.534 18.2c-0.236 0.401-0.375 0.884-0.375 1.4 0 1.544 1.251 2.796 2.795 2.797h0zM16 18c-0.772-0.002-1.397-0.627-1.399-1.399v-2.798c-0-0.006-0-0.014-0-0.021 0-0.773 0.626-1.399 1.399-1.399s1.399 0.626 1.399 1.399c0 0.007-0 0.015-0 0.022v-0.001 2.798c-0.002 0.772-0.627 1.397-1.399 1.399h-0zM17.399 23.595h-2.798v-2.798h2.798z',
|
|
572
933
|
challenge: 'M9.92 4.853v12c0.002 0.736 0.598 1.331 1.333 1.333h2.667v9.533c0 0 0 0 0 0.001 0 0.367 0.298 0.665 0.665 0.665 0.245 0 0.458-0.132 0.574-0.329l0.002-0.003 6.92-11.867c0.115-0.193 0.184-0.425 0.184-0.673 0-0.733-0.594-1.327-1.327-1.327-0.001 0-0.002 0-0.004 0h-3.013l3.32-8.867c0.056-0.141 0.088-0.304 0.088-0.475 0-0.732-0.593-1.325-1.325-1.325-0.001 0-0.002 0-0.003 0h-8.746c-0.736 0.002-1.331 0.598-1.333 1.333v0z',
|
|
573
934
|
flag: 'M19.2 8l-0.32-1.6c-0.127-0.613-0.663-1.067-1.304-1.067-0.001 0-0.002 0-0.003 0h-9.573c-0.736 0.002-1.331 0.598-1.333 1.333v20c-0 0.006-0 0.013-0 0.021 0 0.736 0.597 1.333 1.333 1.333s1.333-0.597 1.333-1.333c0-0.007-0-0.015-0-0.022v0.001-8h7.467l0.32 1.6c0.122 0.612 0.654 1.067 1.293 1.067 0.005 0 0.009-0 0.014-0h6.906c0.736-0.002 1.331-0.598 1.333-1.333v-10.667c-0.002-0.736-0.598-1.331-1.333-1.333h-0z',
|
|
574
|
-
transferReceived: 'M20
|
|
935
|
+
transferReceived: 'M20.023 5.336c1.492 0 2.912.308 4.2.864l-.069-.026a10.7 10.7 0 0 1 3.39 2.285c.95.947 1.72 2.073 2.259 3.323l.026.069c.53 1.219.838 2.64.838 4.131v.044c0 1.492-.308 2.912-.864 4.2l.026-.069a10.7 10.7 0 0 1-2.285 3.392 10.7 10.7 0 0 1-3.321 2.259l-.069.026a10.4 10.4 0 0 1-4.124.835h-.029L20 26.667h-.021c-1.492 0-2.912-.308-4.2-.864l.069.026a10.7 10.7 0 0 1-3.39-2.285 10.6 10.6 0 0 1-2.259-3.323l-.026-.069a10.4 10.4 0 0 1-.838-4.132v-.04c0-1.492.308-2.912.864-4.2l-.026.069a10.7 10.7 0 0 1 2.285-3.392 10.7 10.7 0 0 1 3.321-2.259l.069-.026a10.4 10.4 0 0 1 4.128-.836zM8.111 6.18c.674 0 1.22.546 1.223 1.218v.255a1.25 1.25 0 0 1-.76 1.118l-.048.022A7.99 7.99 0 0 0 4 15.997V16c0 3.172 1.848 5.912 4.574 7.224l.008.003c.435.193.741.624.752 1.13v.24a1.228 1.228 0 0 1-1.76 1.094l-.066-.027a10.65 10.65 0 0 1-6.174-9.666c0-4.15 2.373-7.744 5.895-9.526l.345-.167c.162-.08.345-.124.537-.124M14 12.4h1.8V14.8h2.1v2.4h-1.8v2.4H14V22h3.9v-2.4h4.2V22H26v-2.4h-2.1v-2.4h-1.8v-2.4h2.1v-2.4H26V10h-3.9v2.4h-4.2V10H14z',
|
|
575
936
|
transferSent: 'M20 26.667c-0.006 0-0.014 0-0.021 0-1.492 0-2.912-0.308-4.2-0.864l0.069 0.026c-1.318-0.565-2.443-1.336-3.39-2.285l-0-0c-0.95-0.947-1.721-2.073-2.259-3.323l-0.026-0.069c-0.53-1.219-0.838-2.64-0.838-4.132 0-0.007 0-0.013 0-0.020v0.001c0-0.006-0-0.014-0-0.021 0-1.492 0.308-2.912 0.864-4.2l-0.026 0.069c0.565-1.319 1.336-2.445 2.285-3.392l0-0c0.947-0.949 2.072-1.721 3.321-2.259l0.069-0.026c1.218-0.529 2.637-0.836 4.128-0.836 0.009 0 0.018 0 0.027 0h-0.001c0.006 0 0.014-0 0.021-0 1.492 0 2.912 0.308 4.2 0.864l-0.069-0.026c1.318 0.565 2.443 1.336 3.39 2.285l0 0c0.95 0.947 1.721 2.073 2.259 3.323l0.026 0.069c0.53 1.219 0.838 2.639 0.838 4.131 0 0.008 0 0.015-0 0.023v-0.001c0 0.006 0 0.014 0 0.022 0 1.492-0.308 2.912-0.864 4.2l0.026-0.069c-0.565 1.319-1.336 2.445-2.285 3.392l-0 0c-0.947 0.949-2.072 1.721-3.321 2.259l-0.069 0.026c-1.217 0.528-2.635 0.835-4.124 0.835-0.010 0-0.020 0-0.031-0h0.002zM18.737 10.703c-0.736 0.001-1.333 0.597-1.333 1.333v0c0.001 0.736 0.597 1.332 1.333 1.333h2.12l-5.747 5.747c-0.24 0.241-0.388 0.573-0.388 0.94s0.148 0.699 0.389 0.94l-0-0c0.239 0.241 0.571 0.39 0.937 0.39 0.001 0 0.002 0 0.003 0h-0c0.001 0 0.002 0 0.003 0 0.366 0 0.698-0.149 0.937-0.39l5.747-5.747v2.12c0.001 0.736 0.597 1.333 1.333 1.333h0c0.736-0.001 1.333-0.597 1.333-1.333v-5.333c-0.001-0.736-0.597-1.333-1.333-1.333h-0z M4 16c0-0.001 0-0.002 0-0.003 0-3.172 1.848-5.912 4.526-7.203l0.048-0.021c0.442-0.191 0.748-0.618 0.76-1.119l0-0.002v-0.253c-0.003-0.673-0.549-1.218-1.223-1.218-0.195 0-0.38 0.046-0.544 0.127l0.007-0.003c-3.711 1.718-6.24 5.41-6.24 9.693s2.528 7.975 6.174 9.666l0.066 0.027c0.156 0.077 0.339 0.121 0.532 0.121 0.673 0 1.22-0.542 1.228-1.214v-0.241c-0.011-0.506-0.317-0.937-0.752-1.13l-0.008-0.003c-2.726-1.312-4.573-4.052-4.573-7.224 0-0.001 0-0.002 0-0.003v0z',
|
|
576
937
|
transferFailed: 'M20 26.667c-0.006 0-0.014 0-0.021 0-1.492 0-2.912-0.308-4.2-0.864l0.069 0.026c-1.318-0.565-2.443-1.336-3.39-2.285l-0-0c-0.95-0.947-1.721-2.073-2.259-3.323l-0.026-0.069c-0.53-1.219-0.838-2.639-0.838-4.132 0-0.007 0-0.014 0-0.021v0.001c0-0.006-0-0.014-0-0.021 0-1.492 0.308-2.912 0.864-4.2l-0.026 0.069c0.565-1.319 1.336-2.445 2.285-3.392l0-0c0.947-0.949 2.072-1.721 3.321-2.259l0.069-0.026c1.218-0.529 2.637-0.836 4.128-0.836 0.009 0 0.018 0 0.027 0h-0.001c0.006 0 0.014-0 0.021-0 1.492 0 2.912 0.308 4.2 0.864l-0.069-0.026c1.318 0.565 2.443 1.336 3.39 2.285l0 0c0.95 0.947 1.721 2.073 2.259 3.323l0.026 0.069c0.53 1.219 0.838 2.639 0.838 4.132 0 0.008 0 0.015-0 0.023v-0.001c0 0.006 0 0.014 0 0.021 0 1.492-0.308 2.912-0.864 4.2l0.026-0.069c-0.565 1.319-1.336 2.445-2.285 3.392l-0 0c-0.947 0.949-2.072 1.721-3.321 2.259l-0.069 0.026c-1.217 0.528-2.635 0.835-4.124 0.835-0.010 0-0.020 0-0.030-0h0.002zM20.16 17.886v0l2.828 2.828c0.24 0.24 0.571 0.389 0.937 0.389 0.002 0 0.004 0 0.006 0h-0c0.002 0 0.004 0 0.006 0 0.366 0 0.698-0.149 0.937-0.389l0-0c0.24-0.24 0.389-0.571 0.389-0.937 0-0.002 0-0.004 0-0.006v0c0-0.002 0-0.003 0-0.005 0-0.366-0.149-0.698-0.389-0.937l-2.828-2.828 2.828-2.828c0.24-0.24 0.389-0.571 0.389-0.937 0-0.002 0-0.004 0-0.006v0c0-0.002 0-0.004 0-0.006 0-0.366-0.149-0.698-0.389-0.937l-0-0c-0.24-0.24-0.571-0.389-0.937-0.389-0.002 0-0.004 0-0.006 0h0c-0.002 0-0.004 0-0.006 0-0.366 0-0.698 0.149-0.937 0.389l-2.828 2.828-2.828-2.828c-0.24-0.24-0.571-0.389-0.937-0.389-0.002 0-0.004 0-0.006 0h0c-0.002 0-0.004 0-0.006 0-0.366 0-0.698 0.149-0.937 0.389l-0 0c-0.241 0.242-0.39 0.575-0.39 0.943s0.149 0.701 0.39 0.943l2.828 2.828-2.828 2.828c-0.241 0.241-0.39 0.575-0.39 0.943s0.149 0.701 0.39 0.943l-0-0c0.24 0.24 0.571 0.389 0.937 0.389 0.002 0 0.004 0 0.006 0h-0c0.002 0 0.004 0 0.006 0 0.366 0 0.698-0.149 0.937-0.389l2.828-2.828z M4 16c0-0.001 0-0.002 0-0.003 0-3.172 1.848-5.912 4.526-7.203l0.048-0.021c0.442-0.191 0.748-0.618 0.76-1.119l0-0.002v-0.253c-0.003-0.673-0.549-1.218-1.223-1.218-0.195 0-0.38 0.046-0.544 0.127l0.007-0.003c-3.711 1.718-6.24 5.41-6.24 9.693s2.528 7.975 6.174 9.666l0.066 0.027c0.156 0.077 0.339 0.121 0.532 0.121 0.673 0 1.22-0.542 1.228-1.214v-0.241c-0.011-0.506-0.317-0.937-0.752-1.13l-0.008-0.003c-2.726-1.312-4.573-4.052-4.573-7.224 0-0.001 0-0.002 0-0.003v0z',
|
|
577
|
-
backer: '
|
|
578
|
-
jury: '
|
|
938
|
+
backer: 'M16.006 2.664c7.36 0 13.327 5.967 13.327 13.327v.007c0 7.363-5.97 13.333-13.333 13.333S2.667 23.362 2.667 15.998c0-7.359 5.962-13.326 13.32-13.333zM16 5.331c-5.891 0-10.667 4.776-10.667 10.667S10.109 26.665 16 26.665h.003c5.89 0 10.664-4.775 10.664-10.664v-.003c0-5.89-4.776-10.667-10.667-10.667m5.746 13.333a.672.672 0 0 1 .587 1l-.018.035A7.31 7.31 0 0 1 16 23.331l-.001.001c-2.61-.004-4.898-1.373-6.209-3.463l-.122-.201a.675.675 0 0 1 .585-1.004zM10.95 11.2h2.1V10H15v1.2h-.9v1.2h-1.05v1.2h.9v1.2H15V16h-1.95v-1.2h-2.1V16H9v-1.2h1.05v-1.2h.9v-1.2H9.9v-1.2H9V10h1.95zm8-1.2v1.2h2.1V10H23v1.2h-.9v1.2h-1.05v1.2h.9v1.2H23V16h-1.95v-1.2h-2.1V16H17v-1.2h1.05v-1.2h.9v-1.2H17.9v-1.2H17V10z',
|
|
939
|
+
jury: 'M16.006 2.664c7.36 0 13.327 5.967 13.327 13.327v.007c0 7.363-5.97 13.333-13.333 13.333S2.667 23.362 2.667 15.998c0-7.359 5.962-13.326 13.32-13.333zM16 5.331c-5.891 0-10.667 4.776-10.667 10.667S10.109 26.665 16 26.665h.003c5.89 0 10.664-4.775 10.664-10.664v-.003c0-5.89-4.776-10.667-10.667-10.667m5.746 13.333a.672.672 0 0 1 .587 1l-.018.035A7.31 7.31 0 0 1 16 23.331l-.001.001c-2.61-.004-4.898-1.373-6.209-3.463l-.122-.201a.675.675 0 0 1 .585-1.004zM10.95 11.2h2.1V10H15v1.2h-.9v1.2h-1.05v1.2h.9v1.2H15V16h-1.95v-1.2h-2.1V16H9v-1.2h1.05v-1.2h.9v-1.2H9.9v-1.2H9V10h1.95zm8-1.2v1.2h2.1V10H23v1.2h-.9v1.2h-1.05v1.2h.9v1.2H23V16h-1.95v-1.2h-2.1V16H17v-1.2h1.05v-1.2h.9v-1.2H17.9v-1.2H17V10z',
|
|
579
940
|
addMember: 'M16 26.667l-1.147-1.147c-0.724-0.723-1.172-1.723-1.172-2.827 0-1.117 0.459-2.128 1.198-2.853l0.001-0.001 1.12-1.093c-0.397-0.048-0.86-0.077-1.329-0.080l-0.004-0c-3.56 0-10.667 1.787-10.667 5.333v2.667h12zM14.667 16c0 0 0 0 0 0 2.946 0 5.333-2.388 5.333-5.333s-2.388-5.333-5.333-5.333c-2.946 0-5.333 2.388-5.333 5.333 0 0 0 0 0 0v-0c0 0 0 0.001 0 0.001 0 2.945 2.387 5.332 5.332 5.332 0 0 0.001 0 0.001 0h-0z M21.573 26.373c-0.243 0.241-0.577 0.39-0.947 0.39s-0.704-0.149-0.947-0.39l0 0-2.76-2.787c-0.235-0.238-0.38-0.566-0.38-0.927s0.145-0.689 0.38-0.927l-0 0 0.013-0.014c0.238-0.241 0.568-0.39 0.933-0.39s0.695 0.149 0.933 0.39l1.827 1.827 5.907-5.946c0.24-0.241 0.573-0.39 0.94-0.39s0.7 0.149 0.94 0.39l0.013 0.013c0.235 0.238 0.38 0.566 0.38 0.927s-0.145 0.689-0.38 0.927l0-0-6.853 6.907z',
|
|
580
941
|
github: 'M15.999 0c-8.839 0-15.999 7.341-15.999 16.404 0 7.26 4.58 13.39 10.94 15.565 0.8 0.143 1.1-0.349 1.1-0.779 0-0.39-0.021-1.681-0.021-3.055-4.019 0.759-5.059-1.005-5.38-1.927-0.18-0.471-0.96-1.927-1.639-2.317-0.561-0.308-1.36-1.067-0.021-1.087 1.26-0.020 2.16 1.189 2.461 1.681 1.44 2.482 3.74 1.785 4.659 1.354 0.14-1.067 0.56-1.785 1.020-2.195-3.559-0.41-7.279-1.825-7.279-8.1 0-1.784 0.62-3.261 1.639-4.409-0.16-0.41-0.72-2.091 0.16-4.346 0 0 1.341-0.431 4.401 1.68 1.301-0.37 2.648-0.556 4-0.553 1.36 0 2.72 0.185 4 0.553 3.059-2.133 4.399-1.681 4.399-1.681 0.88 2.255 0.32 3.937 0.16 4.347 1.021 1.148 1.64 2.604 1.64 4.409 0 6.294-3.74 7.689-7.3 8.099 0.58 0.514 1.080 1.497 1.080 3.035 0 2.195-0.020 3.957-0.020 4.512 0 0.43 0.3 0.943 1.1 0.779 6.513-2.256 10.898-8.518 10.899-15.566 0-9.063-7.16-16.404-15.999-16.404z',
|
|
581
942
|
bitbucket: 'M1.387 2c-0.004-0-0.008-0-0.013-0-0.548 0-0.993 0.441-1 0.987v0.001c0.001 0.063 0.006 0.124 0.013 0.183l-0.001-0.008 4.244 25.756c0.11 0.646 0.663 1.132 1.331 1.137h20.357c0.004 0 0.009 0 0.013 0 0.495 0 0.906-0.36 0.986-0.832l0.001-0.006 4.244-26.050c0.008-0.047 0.012-0.102 0.012-0.157 0-0.495-0.359-0.906-0.831-0.986l-0.006-0.001c-0.052-0.007-0.112-0.012-0.174-0.013l-29.176-0.012zM19.256 20.613h-6.5l-1.756-9.188h9.831l-1.575 9.188z',
|
|
@@ -701,9 +1062,9 @@ const icons = {
|
|
|
701
1062
|
stream: 'M16 12.969c-1.432 0-2.592 1.16-2.592 2.592s1.16 2.592 2.592 2.592c1.432 0 2.592-1.16 2.592-2.592v0c0-1.432-1.16-2.592-2.592-2.592v0zM5.629 15.557c0-0.003 0-0.006 0-0.009 0-2.566 0.974-4.904 2.573-6.666l-0.007 0.008c0.11-0.126 0.177-0.292 0.177-0.474 0-0.207-0.087-0.394-0.227-0.526l-0-0-1.035-1.011c-0.136-0.129-0.32-0.208-0.523-0.208-0.226 0-0.428 0.098-0.567 0.254l-0.001 0.001c-2.079 2.267-3.354 5.302-3.354 8.634s1.274 6.367 3.362 8.643l-0.009-0.009c0.14 0.157 0.342 0.255 0.568 0.255 0.203 0 0.387-0.079 0.523-0.209l-0 0 1.035-1.011c0.14-0.132 0.227-0.319 0.227-0.526 0-0.182-0.067-0.348-0.178-0.475l0.001 0.001c-1.591-1.753-2.565-4.092-2.565-6.657 0-0.003 0-0.006 0-0.010v0.001zM11.845 11.503l-1.053-1.029c-0.137-0.131-0.322-0.212-0.527-0.212-0.234 0-0.443 0.105-0.582 0.271l-0.001 0.001c-1.139 1.348-1.83 3.106-1.83 5.025s0.692 3.677 1.84 5.037l-0.010-0.012c0.141 0.167 0.35 0.272 0.583 0.272 0.205 0 0.391-0.081 0.528-0.212l-0 0 1.053-1.029c0.134-0.128 0.218-0.308 0.218-0.507 0-0.165-0.057-0.316-0.152-0.436l0.001 0.001c-0.684-0.845-1.098-1.932-1.098-3.117s0.414-2.272 1.105-3.126l-0.007 0.009c0.093-0.118 0.149-0.268 0.149-0.432 0-0.199-0.083-0.378-0.216-0.505l-0-0zM25.979 6.924c-0.14-0.157-0.342-0.255-0.568-0.255-0.203 0-0.387 0.079-0.523 0.209l0-0-1.035 1.012c-0.14 0.132-0.227 0.319-0.227 0.526 0 0.182 0.067 0.348 0.178 0.475l-0.001-0.001c1.59 1.757 2.563 4.098 2.563 6.667s-0.973 4.91-2.571 6.675l0.008-0.009c-0.11 0.126-0.177 0.292-0.177 0.474 0 0.207 0.087 0.394 0.226 0.525l0 0 1.035 1.011c0.136 0.129 0.32 0.208 0.523 0.208 0.226 0 0.428-0.098 0.567-0.254l0.001-0.001c2.079-2.267 3.354-5.302 3.354-8.634s-1.274-6.367-3.362-8.643l0.009 0.009zM22.316 10.535c-0.141-0.167-0.35-0.272-0.583-0.272-0.205 0-0.391 0.081-0.528 0.212l0-0-1.053 1.029c-0.134 0.128-0.217 0.307-0.217 0.507 0 0.164 0.057 0.315 0.151 0.435l-0.001-0.001c0.684 0.845 1.098 1.932 1.098 3.117s-0.414 2.272-1.105 3.126l0.007-0.009c-0.094 0.118-0.151 0.27-0.151 0.434 0 0.199 0.083 0.379 0.217 0.507l0 0 1.053 1.029c0.137 0.131 0.323 0.212 0.527 0.212 0.234 0 0.443-0.105 0.582-0.271l0.001-0.001c1.139-1.348 1.831-3.106 1.831-5.025s-0.692-3.677-1.84-5.037l0.010 0.012z',
|
|
702
1063
|
innovators: 'M21.333 14.667c2.213 0 3.987-1.787 3.987-4s-1.773-4-3.987-4-4 1.787-4 4 1.787 4 4 4zM10.667 14.667c2.213 0 3.987-1.787 3.987-4s-1.773-4-3.987-4-4 1.787-4 4 1.787 4 4 4zM10.667 17.333c-3.107 0-9.333 1.56-9.333 4.667v2c0 0.733 0.6 1.333 1.333 1.333h16c0.733 0 1.333-0.6 1.333-1.333v-2c0-3.107-6.227-4.667-9.333-4.667zM21.333 17.333c-0.387 0-0.827 0.027-1.293 0.067 0.027 0.013 0.040 0.040 0.053 0.053 1.52 1.107 2.573 2.587 2.573 4.547v2c0 0.467-0.093 0.92-0.24 1.333h6.907c0.733 0 1.333-0.6 1.333-1.333v-2c0-3.107-6.227-4.667-9.333-4.667z',
|
|
703
1064
|
participants: 'M21.333 14.667c2.213 0 3.987-1.787 3.987-4s-1.773-4-3.987-4-4 1.787-4 4 1.787 4 4 4zM10.667 14.667c2.213 0 3.987-1.787 3.987-4s-1.773-4-3.987-4-4 1.787-4 4 1.787 4 4 4zM10.667 17.333c-3.107 0-9.333 1.56-9.333 4.667v2c0 0.733 0.6 1.333 1.333 1.333h16c0.733 0 1.333-0.6 1.333-1.333v-2c0-3.107-6.227-4.667-9.333-4.667zM21.333 17.333c-0.387 0-0.827 0.027-1.293 0.067 0.027 0.013 0.040 0.040 0.053 0.053 1.52 1.107 2.573 2.587 2.573 4.547v2c0 0.467-0.093 0.92-0.24 1.333h6.907c0.733 0 1.333-0.6 1.333-1.333v-2c0-3.107-6.227-4.667-9.333-4.667z',
|
|
704
|
-
backers: '
|
|
705
|
-
juries: '
|
|
706
|
-
transactions: '
|
|
1065
|
+
backers: 'M16.006 2.664c7.36 0 13.327 5.967 13.327 13.327v.007c0 7.363-5.97 13.333-13.333 13.333S2.667 23.362 2.667 15.998c0-7.359 5.962-13.326 13.32-13.333zM16 5.331c-5.891 0-10.667 4.776-10.667 10.667S10.109 26.665 16 26.665h.003c5.89 0 10.664-4.775 10.664-10.664v-.003c0-5.89-4.776-10.667-10.667-10.667m5.746 13.333a.672.672 0 0 1 .587 1l-.018.035A7.31 7.31 0 0 1 16 23.331l-.001.001c-2.61-.004-4.898-1.373-6.209-3.463l-.122-.201a.675.675 0 0 1 .585-1.004zM10.95 11.2h2.1V10H15v1.2h-.9v1.2h-1.05v1.2h.9v1.2H15V16h-1.95v-1.2h-2.1V16H9v-1.2h1.05v-1.2h.9v-1.2H9.9v-1.2H9V10h1.95zm8-1.2v1.2h2.1V10H23v1.2h-.9v1.2h-1.05v1.2h.9v1.2H23V16h-1.95v-1.2h-2.1V16H17v-1.2h1.05v-1.2h.9v-1.2H17.9v-1.2H17V10z',
|
|
1066
|
+
juries: 'M16.006 2.664c7.36 0 13.327 5.967 13.327 13.327v.007c0 7.363-5.97 13.333-13.333 13.333S2.667 23.362 2.667 15.998c0-7.359 5.962-13.326 13.32-13.333zM16 5.331c-5.891 0-10.667 4.776-10.667 10.667S10.109 26.665 16 26.665h.003c5.89 0 10.664-4.775 10.664-10.664v-.003c0-5.89-4.776-10.667-10.667-10.667m5.746 13.333a.672.672 0 0 1 .587 1l-.018.035A7.31 7.31 0 0 1 16 23.331l-.001.001c-2.61-.004-4.898-1.373-6.209-3.463l-.122-.201a.675.675 0 0 1 .585-1.004zM10.95 11.2h2.1V10H15v1.2h-.9v1.2h-1.05v1.2h.9v1.2H15V16h-1.95v-1.2h-2.1V16H9v-1.2h1.05v-1.2h.9v-1.2H9.9v-1.2H9V10h1.95zm8-1.2v1.2h2.1V10H23v1.2h-.9v1.2h-1.05v1.2h.9v1.2H23V16h-1.95v-1.2h-2.1V16H17v-1.2h1.05v-1.2h.9v-1.2H17.9v-1.2H17V10z',
|
|
1067
|
+
transactions: 'M27 9.4V5h-7.15v4.4h-7.7V5H5v4.4h3.3v4.4h3.85v4.4h-3.3v4.4H5V27h7.15v-4.4h7.7V27H27v-4.4h-3.85v-4.4h-3.3v-4.4h3.85V9.4z',
|
|
707
1068
|
updates: 'M16 29.333c1.471-0.005 2.662-1.196 2.667-2.666v-0h-5.333c0 0 0 0 0 0.001 0 1.472 1.194 2.666 2.666 2.666 0 0 0 0 0.001 0h-0zM24 21.333v-6.667c0-4.093-2.187-7.52-6-8.427v-0.907c0-1.105-0.895-2-2-2s-2 0.895-2 2v0 0.907c-3.827 0.907-6 4.32-6 8.427v6.667l-1.72 1.72c-0.244 0.242-0.394 0.577-0.394 0.947 0 0.734 0.594 1.33 1.327 1.333h17.56c0.738-0.001 1.336-0.599 1.336-1.337 0-0.368-0.149-0.701-0.389-0.943l0 0z',
|
|
708
1069
|
matchmaking: 'M28.449 11.94l-1.98-1.98c-0.216-0.218-0.516-0.353-0.847-0.353s-0.631 0.135-0.847 0.353l-11.973 11.973-5.569-5.574c-0.216-0.218-0.516-0.353-0.847-0.353s-0.631 0.135-0.847 0.353l-1.985 1.985c-0.218 0.217-0.353 0.518-0.353 0.85s0.135 0.633 0.353 0.85l8.399 8.404c0.216 0.218 0.516 0.353 0.847 0.353s0.631-0.135 0.847-0.353l14.798-14.81c0.217-0.218 0.351-0.518 0.351-0.85s-0.134-0.632-0.351-0.85l0 0zM12.236 17.239c0.144 0.146 0.344 0.236 0.565 0.236s0.421-0.090 0.565-0.236l10.399-10.409c0.144-0.145 0.233-0.345 0.233-0.565s-0.089-0.42-0.233-0.565l-2.259-2.261c-0.144-0.146-0.344-0.236-0.565-0.236s-0.421 0.090-0.565 0.236l-7.573 7.573-2.773-2.773c-0.144-0.144-0.342-0.232-0.561-0.232s-0.417 0.089-0.561 0.232v0l-2.27 2.26c-0.144 0.145-0.233 0.345-0.233 0.565s0.089 0.42 0.233 0.565l-0-0 5.599 5.61z',
|
|
709
1070
|
results: 'M27.185 5.789c-0.516-0.724-1.344-1.197-2.283-1.224l-0.004-0h-1.139c-0.031-0.112-0.061-0.224-0.096-0.335-0.098-0.321-0.346-0.568-0.66-0.665l-0.007-0.002c-2.109-0.641-4.534-1.009-7.044-1.009s-4.935 0.369-7.222 1.055l0.178-0.046c-0.321 0.098-0.569 0.346-0.665 0.66l-0.002 0.007c-0.033 0.111-0.064 0.223-0.096 0.335h-1.139c-0.943 0.027-1.77 0.5-2.281 1.215l-0.006 0.009c-0.549 0.778-0.877 1.746-0.877 2.79 0 0.506 0.077 0.994 0.22 1.452l-0.009-0.035 0.021 0.071c0.838 3.063 3.117 5.458 6.045 6.441l0.386 0.113c0.8 0.938 1.792 1.687 2.917 2.192l0.052 0.021c-0.175 1.834-0.697 3.511-1.501 5.015l0.035-0.071-0.479 0.62h-2.332c-0 0-0.001 0-0.001 0-0.548 0-0.992 0.444-0.992 0.992 0 0 0 0 0 0v0 3.375c0 0 0 0.001 0 0.001 0 0.548 0.444 0.992 0.992 0.992 0 0 0.001 0 0.001 0h13.5c0 0 0 0 0 0 0.548 0 0.992-0.444 0.992-0.992 0-0 0-0.001 0-0.001v0-3.375c-0.001-0.548-0.444-0.991-0.992-0.992h-2.133l-0.479-0.62c-0.778-1.458-1.303-3.165-1.469-4.975l-0.004-0.053c1.098-0.528 2.025-1.246 2.773-2.122l0.010-0.011 0.321-0.093c2.992-1.001 5.27-3.394 6.094-6.389l0.015-0.066 0.023-0.076c0.134-0.424 0.211-0.912 0.211-1.418 0-1.043-0.327-2.009-0.885-2.802l0.010 0.016zM5.965 9.492l-0.019-0.060c-0.080-0.254-0.126-0.546-0.126-0.848 0-0.594 0.178-1.146 0.482-1.606l-0.007 0.011c0.152-0.242 0.406-0.407 0.7-0.436l0.004-0h0.737c-0.079 0.578-0.125 1.245-0.125 1.923v0.001c0 0.007-0 0.016-0 0.025 0 1.801 0.36 3.518 1.011 5.083l-0.032-0.088c-1.234-1.022-2.152-2.386-2.611-3.947l-0.014-0.057zM13.959 24.4c0.699-1.477 1.207-3.191 1.434-4.993l0.009-0.084c0.181 0.016 0.365 0.028 0.549 0.028 0.263-0.001 0.522-0.018 0.775-0.051l-0.031 0.003c0.236 1.893 0.744 3.614 1.49 5.202l-0.044-0.105zM25.952 9.431l-0.019 0.063c-0.474 1.616-1.391 2.979-2.611 3.989l-0.013 0.011c0.619-1.477 0.979-3.194 0.979-4.995 0-0.009 0-0.017-0-0.026v0.001c-0-0.679-0.046-1.347-0.134-2.001l0.008 0.077h0.737c0.298 0.029 0.552 0.194 0.702 0.432l0.002 0.004c0.295 0.448 0.471 0.997 0.471 1.587 0 0.306-0.047 0.601-0.135 0.879l0.006-0.021z',
|
|
@@ -735,13 +1096,61 @@ const icons = {
|
|
|
735
1096
|
'arrow-external': 'M6 6v5.663h9.542L6.666 21.796v4.183h4.628l9.222-10.917V26H26V6H6z',
|
|
736
1097
|
mint: 'M21.102 2a1 1 0 011 1v2h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V7h-2a1 1 0 110-2h2V3a1 1 0 011-1zM16.44 22.938l-2.4 6.512a1 1 0 01-1.874 0l-2.4-6.512a1.012 1.012 0 00-.6-.6l-6.513-2.4a1 1 0 010-1.875l6.513-2.4a1.013 1.013 0 00.6-.6l2.4-6.513a1 1 0 011.875 0l2.4 6.512a1.012 1.012 0 00.6.6l6.512 2.4a1 1 0 010 1.875l-6.512 2.4a1.012 1.012 0 00-.6.6zM27.102 9a1 1 0 011 1v1h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 110-2h1v-1a1 1 0 011-1z',
|
|
737
1098
|
deposit: 'M2.216 5.6A3.384 3.384 0 015.6 2.216h20.8A3.384 3.384 0 0129.785 5.6v11.2a3.384 3.384 0 01-3.385 3.385h-3.2a.984.984 0 110-1.97h3.2c.782 0 1.416-.633 1.416-1.415V5.6c0-.782-.634-1.415-1.416-1.415H5.6c-.782 0-1.415.633-1.415 1.415v11.2c0 .782.633 1.416 1.415 1.416h3.2a.984.984 0 110 1.969H5.6A3.384 3.384 0 012.216 16.8V5.6zM8 7.016c.544 0 .985.44.985.984v5.6a.984.984 0 11-1.97 0V8c0-.543.442-.984.985-.984zm8 1.969a2.216 2.216 0 100 4.43 2.216 2.216 0 000-4.43zM11.816 11.2a4.184 4.184 0 118.369 0 4.184 4.184 0 01-8.37 0zM24 7.016c.544 0 .985.44.985.984v5.6a.984.984 0 01-1.97 0V8c0-.543.441-.984.985-.984zm-8 11.543c.543 0 .983.44.983.985v6.88l2.54-2.54a.984.984 0 111.393 1.391l-4.221 4.221a.984.984 0 01-1.392 0l-4.526-4.525a.984.984 0 011.393-1.393l2.845 2.846v-6.88c0-.544.44-.985.984-.985z',
|
|
738
|
-
withdraw: 'M29.8 26.4a3.4 3.4 0 01-3.4 3.4H5.6a3.4 3.4 0 01-3.4-3.4V15.2a3.4 3.4 0 013.4-3.4h3.2a1 1 0 110 2H5.6a1.4 1.4 0 00-1.4 1.4v11.2a1.4 1.4 0 001.4 1.4h20.8a1.4 1.4 0 001.4-1.4V15.2a1.4 1.4 0 00-1.4-1.4h-3.2a1 1 0 110-2h3.2a3.4 3.4 0 013.4 3.4v11.2zM24 25a1 1 0 01-1-1v-5.6a1 1 0 112 0V24a1 1 0 01-1 1zm-8-2a2.2 2.2 0 100-4.4 2.2 2.2 0 000 4.4zm4.2-2.2a4.2 4.2 0 11-8.4 0 4.2 4.2 0 018.4 0zM8 25a1 1 0 01-1-1v-5.6a1 1 0 112 0V24a1 1 0 01-1 1zm8-11.543a1 1 0 01-1-1l.001-6.843-2.513 2.514a1 1 0 11-1.415-1.414l4.221-4.221a1 1 0 011.414 0l4.526 4.525a1 1 0 01-1.415 1.415l-2.818-2.819v6.843a1 1 0 01-1 1z'
|
|
1099
|
+
withdraw: 'M29.8 26.4a3.4 3.4 0 01-3.4 3.4H5.6a3.4 3.4 0 01-3.4-3.4V15.2a3.4 3.4 0 013.4-3.4h3.2a1 1 0 110 2H5.6a1.4 1.4 0 00-1.4 1.4v11.2a1.4 1.4 0 001.4 1.4h20.8a1.4 1.4 0 001.4-1.4V15.2a1.4 1.4 0 00-1.4-1.4h-3.2a1 1 0 110-2h3.2a3.4 3.4 0 013.4 3.4v11.2zM24 25a1 1 0 01-1-1v-5.6a1 1 0 112 0V24a1 1 0 01-1 1zm-8-2a2.2 2.2 0 100-4.4 2.2 2.2 0 000 4.4zm4.2-2.2a4.2 4.2 0 11-8.4 0 4.2 4.2 0 018.4 0zM8 25a1 1 0 01-1-1v-5.6a1 1 0 112 0V24a1 1 0 01-1 1zm8-11.543a1 1 0 01-1-1l.001-6.843-2.513 2.514a1 1 0 11-1.415-1.414l4.221-4.221a1 1 0 011.414 0l4.526 4.525a1 1 0 01-1.415 1.415l-2.818-2.819v6.843a1 1 0 01-1 1z',
|
|
1100
|
+
lx: 'M27 9.4V5h-7.15v4.4h-7.7V5H5v4.4h3.3v4.4h3.85v4.4h-3.3v4.4H5V27h7.15v-4.4h7.7V27H27v-4.4h-3.85v-4.4h-3.3v-4.4h3.85V9.4z',
|
|
1101
|
+
vote: 'M5.21704 23L0 8H3.3417L5.74573 15.2987C5.97183 16.0168 6.20459 16.7819 6.444 17.594C6.6834 18.3993 6.93611 19.2617 7.20211 20.1812C7.46147 19.2617 7.7042 18.3993 7.9303 17.594C8.16306 16.7819 8.38917 16.0168 8.60862 15.2987L10.9328 8H14.2346L9.12733 23H5.21704Z M32 11V8H27.1695V11H21.9674V8H17.1369V11H19.3664V14H21.9674V17H19.7379V20H17.1369V23H21.9674V20H27.1695V23H32V20H29.399V17H27.1695V14H29.7705V11H32Z'
|
|
739
1102
|
};
|
|
740
1103
|
|
|
741
|
-
const TextFieldInputStyle =
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
1104
|
+
const TextFieldInputStyle = styled.input`
|
|
1105
|
+
border-width: ${field.borderWidth};
|
|
1106
|
+
border-style: solid;
|
|
1107
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
1108
|
+
border-radius: ${field.borderRadius};
|
|
1109
|
+
background-repeat: no-repeat;
|
|
1110
|
+
background-size: ${/*#__PURE__*/rem('20px')} ${/*#__PURE__*/rem('20px')};
|
|
1111
|
+
background-position: ${/*#__PURE__*/rem('10px')} 50%;
|
|
1112
|
+
height: ${field.height};
|
|
1113
|
+
padding: ${/*#__PURE__*/rem('10px')};
|
|
1114
|
+
font-family: inherit;
|
|
1115
|
+
font-size: ${typography.defaultSize};
|
|
1116
|
+
transition-property: border-color;
|
|
1117
|
+
transition-duration: ${misc.transitionDuration};
|
|
1118
|
+
|
|
1119
|
+
&:hover {
|
|
1120
|
+
border-color: ${field.hoverBorderColor};
|
|
1121
|
+
}
|
|
1122
|
+
|
|
1123
|
+
&:focus {
|
|
1124
|
+
border-color: ${field.activeBorderColor};
|
|
1125
|
+
outline: none;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
&:disabled {
|
|
1129
|
+
border-color: ${field.borderColor};
|
|
1130
|
+
background-color: ${field.disabledBackgroundColor};
|
|
1131
|
+
color: ${field.disabledColor};
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
&:invalid {
|
|
1135
|
+
border-color: ${field.errorBorderColor};
|
|
1136
|
+
outline: none;
|
|
1137
|
+
box-shadow: none;
|
|
1138
|
+
-webkit-box-shadow: none;
|
|
1139
|
+
-moz-box-shadow: none;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
&:required {
|
|
1143
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
&::placeholder,
|
|
1147
|
+
&:-ms-input-placeholder,
|
|
1148
|
+
&::-ms-input-placeholder {
|
|
1149
|
+
color: ${field.placeholderColor};
|
|
1150
|
+
opacity: 1;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
${props => props.icon && css`
|
|
745
1154
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32"><path style="fill:${props => props.error ? 'rgb(235,87,87)' : 'rgb(217,212,237)'}" d=${JSON.stringify(icons[props.icon])} /></svg>');
|
|
746
1155
|
padding-left: ${rem('40px')};
|
|
747
1156
|
|
|
@@ -749,12 +1158,13 @@ const TextFieldInputStyle = /*#__PURE__*/_styled.input.withConfig({
|
|
|
749
1158
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32">
|
|
750
1159
|
<path style="fill:rgb(67,41,166)" d=${JSON.stringify(icons[props.icon])} /></svg>');
|
|
751
1160
|
}
|
|
752
|
-
`
|
|
1161
|
+
`}
|
|
1162
|
+
`;
|
|
753
1163
|
|
|
754
|
-
const Wrapper$1 =
|
|
1164
|
+
const Wrapper$1 = styled.div`
|
|
755
1165
|
position: relative;
|
|
756
1166
|
`;
|
|
757
|
-
const TextAreaStyle =
|
|
1167
|
+
const TextAreaStyle = styled.textarea`
|
|
758
1168
|
border-width: ${field.borderWidth};
|
|
759
1169
|
border-style: solid;
|
|
760
1170
|
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
@@ -810,7 +1220,7 @@ const TextAreaStyle = _styled.textarea`
|
|
|
810
1220
|
opacity: 1;
|
|
811
1221
|
}
|
|
812
1222
|
`;
|
|
813
|
-
const Count =
|
|
1223
|
+
const Count = styled.div`
|
|
814
1224
|
position: absolute;
|
|
815
1225
|
top: ${/*#__PURE__*/rem('5px')};
|
|
816
1226
|
right: ${/*#__PURE__*/rem('10px')};
|
|
@@ -827,7 +1237,7 @@ const Count = _styled.div`
|
|
|
827
1237
|
}
|
|
828
1238
|
`;
|
|
829
1239
|
|
|
830
|
-
const SelectStyle =
|
|
1240
|
+
const SelectStyle = styled.select`
|
|
831
1241
|
border: ${field.borderWidth} solid
|
|
832
1242
|
${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
833
1243
|
border-radius: ${field.borderRadius};
|
|
@@ -863,13 +1273,18 @@ const SelectStyle = _styled.select`
|
|
|
863
1273
|
}
|
|
864
1274
|
`;
|
|
865
1275
|
|
|
866
|
-
const ErrorStyle =
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
1276
|
+
const ErrorStyle = styled.span`
|
|
1277
|
+
display: block;
|
|
1278
|
+
font-size: 0.7rem;
|
|
1279
|
+
color: ${props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor};
|
|
870
1280
|
|
|
871
|
-
|
|
872
|
-
|
|
1281
|
+
${TextFieldInputStyle} + &, ${TextAreaStyle} + &, ${SelectStyle} + & {
|
|
1282
|
+
margin-top: ${/*#__PURE__*/rem('5px')};
|
|
1283
|
+
}
|
|
1284
|
+
`;
|
|
1285
|
+
|
|
1286
|
+
const ErrorField = props => {
|
|
1287
|
+
const {
|
|
873
1288
|
color = 'red',
|
|
874
1289
|
error,
|
|
875
1290
|
className = 'error-field',
|
|
@@ -901,10 +1316,19 @@ const Icon = props => {
|
|
|
901
1316
|
}));
|
|
902
1317
|
};
|
|
903
1318
|
|
|
904
|
-
const LabelStyle =
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
1319
|
+
const LabelStyle = styled.label`
|
|
1320
|
+
display: flex;
|
|
1321
|
+
align-items: center;
|
|
1322
|
+
font-size: ${typography.fontSizeXs};
|
|
1323
|
+
font-weight: ${typography.semiBold};
|
|
1324
|
+
color: ${colors.grey500};
|
|
1325
|
+
|
|
1326
|
+
svg {
|
|
1327
|
+
margin-left: ${/*#__PURE__*/rem('5px')};
|
|
1328
|
+
width: auto;
|
|
1329
|
+
height: ${/*#__PURE__*/rem('16px')};
|
|
1330
|
+
}
|
|
1331
|
+
`;
|
|
908
1332
|
|
|
909
1333
|
const Label = props => {
|
|
910
1334
|
const {
|
|
@@ -916,27 +1340,29 @@ const Label = props => {
|
|
|
916
1340
|
return /*#__PURE__*/React.createElement(LabelStyle, {
|
|
917
1341
|
className: className,
|
|
918
1342
|
style: style
|
|
919
|
-
}, value, currency
|
|
920
|
-
icon:
|
|
921
|
-
fill: colors.grey200
|
|
922
|
-
}), currency === 'vkai' && /*#__PURE__*/React.createElement(Icon, {
|
|
923
|
-
icon: "vkai",
|
|
1343
|
+
}, value, currency && /*#__PURE__*/React.createElement(Icon, {
|
|
1344
|
+
icon: currency,
|
|
924
1345
|
fill: colors.grey200
|
|
925
1346
|
}));
|
|
926
1347
|
};
|
|
927
1348
|
|
|
928
|
-
const
|
|
929
|
-
|
|
1349
|
+
const Loading = styled.div`
|
|
1350
|
+
@keyframes rotation {
|
|
1351
|
+
from {
|
|
930
1352
|
transform: rotate(0deg);
|
|
1353
|
+
}
|
|
1354
|
+
to {
|
|
1355
|
+
transform: rotate(360deg);
|
|
1356
|
+
}
|
|
931
1357
|
}
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
}
|
|
1358
|
+
|
|
1359
|
+
border: ${/*#__PURE__*/rem('5px')} solid hsla(0, 0%, 48%, 0.5);
|
|
1360
|
+
border-top-color: ${props => props.fill || colors.white};
|
|
1361
|
+
border-radius: 50%;
|
|
1362
|
+
width: ${props => props.size || rem('20px')};
|
|
1363
|
+
height: ${props => props.size || rem('20px')};
|
|
1364
|
+
animation: rotation 0.8s ease infinite;
|
|
935
1365
|
`;
|
|
936
|
-
const Loading = /*#__PURE__*/_styled.div.withConfig({
|
|
937
|
-
displayName: "styles__Loading",
|
|
938
|
-
componentId: "sc-sxnx45-0"
|
|
939
|
-
})(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/rem('5px'), props => props.fill || colors.white, props => props.size || rem('20px'), props => props.size || rem('20px'), rotation);
|
|
940
1366
|
|
|
941
1367
|
const Spinner = props => {
|
|
942
1368
|
const {
|
|
@@ -953,10 +1379,23 @@ const Spinner = props => {
|
|
|
953
1379
|
});
|
|
954
1380
|
};
|
|
955
1381
|
|
|
956
|
-
const TagWrapper =
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
1382
|
+
const TagWrapper = styled.span`
|
|
1383
|
+
--bg: ${props => useColor(props.color ?? 'black').color};
|
|
1384
|
+
--txt: ${props => useColor(props.txtColor ?? 'black').color};
|
|
1385
|
+
|
|
1386
|
+
display: inline-block;
|
|
1387
|
+
border: ${/*#__PURE__*/rem('2px')} solid var(--bg);
|
|
1388
|
+
border-radius: ${/*#__PURE__*/rem('4px')};
|
|
1389
|
+
background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
|
|
1390
|
+
padding: ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('8px')};
|
|
1391
|
+
font-size: ${/*#__PURE__*/rem('12px')};
|
|
1392
|
+
font-weight: ${typography.medium};
|
|
1393
|
+
text-transform: uppercase;
|
|
1394
|
+
letter-spacing: ${/*#__PURE__*/rem('1px')};
|
|
1395
|
+
line-height: 1;
|
|
1396
|
+
color: ${props => props.variant === 'solid' ? 'var(--txt)' : 'var(--bg)'};
|
|
1397
|
+
white-space: nowrap;
|
|
1398
|
+
`;
|
|
960
1399
|
|
|
961
1400
|
const Tag = props => {
|
|
962
1401
|
const {
|
|
@@ -977,10 +1416,44 @@ const Tag = props => {
|
|
|
977
1416
|
}, value);
|
|
978
1417
|
};
|
|
979
1418
|
|
|
980
|
-
const TagWrapper$1 =
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1419
|
+
const TagWrapper$1 = styled.div`
|
|
1420
|
+
--bg: ${props => useColor(props.color ?? 'black').color};
|
|
1421
|
+
--valueColor: ${props => useColor(props.valueColor ?? 'black').color};
|
|
1422
|
+
|
|
1423
|
+
display: flex;
|
|
1424
|
+
border: ${/*#__PURE__*/rem('2px')} solid var(--bg);
|
|
1425
|
+
border-radius: ${/*#__PURE__*/rem('3px')};
|
|
1426
|
+
line-height: 1;
|
|
1427
|
+
max-width: 100%;
|
|
1428
|
+
width: max-content;
|
|
1429
|
+
overflow: hidden;
|
|
1430
|
+
|
|
1431
|
+
span {
|
|
1432
|
+
display: inline-block;
|
|
1433
|
+
padding: ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('8px')};
|
|
1434
|
+
font-size: ${/*#__PURE__*/rem('12px')};
|
|
1435
|
+
font-weight: ${typography.medium};
|
|
1436
|
+
letter-spacing: ${/*#__PURE__*/rem('1px')};
|
|
1437
|
+
|
|
1438
|
+
&.label {
|
|
1439
|
+
flex: 1;
|
|
1440
|
+
color: var(--bg);
|
|
1441
|
+
overflow: hidden;
|
|
1442
|
+
white-space: nowrap;
|
|
1443
|
+
text-overflow: ellipsis;
|
|
1444
|
+
text-transform: uppercase;
|
|
1445
|
+
}
|
|
1446
|
+
|
|
1447
|
+
&.value {
|
|
1448
|
+
background-color: var(--bg);
|
|
1449
|
+
color: var(--valueColor);
|
|
1450
|
+
}
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
&:not(:first-child) {
|
|
1454
|
+
margin-left: ${/*#__PURE__*/rem('5px')};
|
|
1455
|
+
}
|
|
1456
|
+
`;
|
|
984
1457
|
|
|
985
1458
|
const TagNumber = props => {
|
|
986
1459
|
const {
|
|
@@ -1135,7 +1608,7 @@ function _extends() {
|
|
|
1135
1608
|
return _extends.apply(this, arguments);
|
|
1136
1609
|
}
|
|
1137
1610
|
|
|
1138
|
-
const SelectWrapper =
|
|
1611
|
+
const SelectWrapper = styled.div`
|
|
1139
1612
|
.select {
|
|
1140
1613
|
&-interactive {
|
|
1141
1614
|
z-index: 3;
|
|
@@ -1261,7 +1734,7 @@ const SelectWrapper = _styled.div`
|
|
|
1261
1734
|
pointer-events: none;
|
|
1262
1735
|
}
|
|
1263
1736
|
`;
|
|
1264
|
-
const SelectGroupLabel =
|
|
1737
|
+
const SelectGroupLabel = styled.span`
|
|
1265
1738
|
font-size: ${typography.fontSizeXs};
|
|
1266
1739
|
color: ${field.placeholderColor};
|
|
1267
1740
|
|
|
@@ -1271,7 +1744,7 @@ const SelectGroupLabel = _styled.span`
|
|
|
1271
1744
|
color: ${field.activeBorderColor};
|
|
1272
1745
|
}
|
|
1273
1746
|
`;
|
|
1274
|
-
const SingleValue =
|
|
1747
|
+
const SingleValue = styled.div`
|
|
1275
1748
|
grid-area: 1 / 1 / 2 / 3;
|
|
1276
1749
|
margin-left: ${/*#__PURE__*/rem('2px')};
|
|
1277
1750
|
margin-right: ${/*#__PURE__*/rem('2px')};
|
|
@@ -1325,6 +1798,7 @@ const SelectInteractive = ({
|
|
|
1325
1798
|
onChange = () => {},
|
|
1326
1799
|
onInputChange = () => {},
|
|
1327
1800
|
dataTestId,
|
|
1801
|
+
filterOption,
|
|
1328
1802
|
...rest
|
|
1329
1803
|
}) => {
|
|
1330
1804
|
return /*#__PURE__*/React.createElement(SelectWrapper, _extends({
|
|
@@ -1349,13 +1823,14 @@ const SelectInteractive = ({
|
|
|
1349
1823
|
Option: CustomSelectOption,
|
|
1350
1824
|
SingleValue: CustomSelectValue
|
|
1351
1825
|
},
|
|
1352
|
-
formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel(s) : undefined
|
|
1826
|
+
formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel(s) : undefined,
|
|
1827
|
+
filterOption: filterOption
|
|
1353
1828
|
}), error ? /*#__PURE__*/React.createElement(ErrorField, {
|
|
1354
1829
|
error: error
|
|
1355
1830
|
}) : null);
|
|
1356
1831
|
};
|
|
1357
1832
|
|
|
1358
|
-
const Wrapper$2 =
|
|
1833
|
+
const Wrapper$2 = styled.div`
|
|
1359
1834
|
border-width: ${field.borderWidth};
|
|
1360
1835
|
border-style: solid;
|
|
1361
1836
|
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
@@ -1397,7 +1872,7 @@ const Wrapper$2 = _styled.div`
|
|
|
1397
1872
|
margin-top: ${props => props.error ? rem('5px') : 0};
|
|
1398
1873
|
}
|
|
1399
1874
|
`;
|
|
1400
|
-
const Appendix =
|
|
1875
|
+
const Appendix = styled.div`
|
|
1401
1876
|
border-width: ${props => props.position === 'left' ? `0 ${field.borderWidth} 0 0` : `0 0 0 ${field.borderWidth}`};
|
|
1402
1877
|
border-style: solid;
|
|
1403
1878
|
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
@@ -1457,10 +1932,18 @@ const TextFieldAppendix = props => {
|
|
|
1457
1932
|
}) : null);
|
|
1458
1933
|
};
|
|
1459
1934
|
|
|
1460
|
-
const TruncateWrapper =
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1935
|
+
const TruncateWrapper = styled.div`
|
|
1936
|
+
display: table;
|
|
1937
|
+
table-layout: fixed;
|
|
1938
|
+
width: 100%;
|
|
1939
|
+
white-space: nowrap;
|
|
1940
|
+
|
|
1941
|
+
span {
|
|
1942
|
+
display: table-cell;
|
|
1943
|
+
overflow: hidden;
|
|
1944
|
+
text-overflow: ellipsis;
|
|
1945
|
+
}
|
|
1946
|
+
`;
|
|
1464
1947
|
|
|
1465
1948
|
const TruncateLine = props => {
|
|
1466
1949
|
const {
|
|
@@ -1493,7 +1976,7 @@ const device = {
|
|
|
1493
1976
|
mouse: '(min-width: 538px) and (min-height: 720px)'
|
|
1494
1977
|
};
|
|
1495
1978
|
|
|
1496
|
-
const Wrapper$3 =
|
|
1979
|
+
const Wrapper$3 = styled.div`
|
|
1497
1980
|
position: relative;
|
|
1498
1981
|
|
|
1499
1982
|
.carousel .control-arrow,
|
|
@@ -1882,7 +2365,7 @@ const Slideshow = props => {
|
|
|
1882
2365
|
}, children));
|
|
1883
2366
|
};
|
|
1884
2367
|
|
|
1885
|
-
const Wrapper$4 =
|
|
2368
|
+
const Wrapper$4 = styled.div`
|
|
1886
2369
|
position: relative;
|
|
1887
2370
|
padding-top: 56.25%;
|
|
1888
2371
|
`;
|
|
@@ -1917,11 +2400,11 @@ const VideoPlayer = props => {
|
|
|
1917
2400
|
}));
|
|
1918
2401
|
};
|
|
1919
2402
|
|
|
1920
|
-
const Wrapper$5 =
|
|
2403
|
+
const Wrapper$5 = styled.div`
|
|
1921
2404
|
display: flex;
|
|
1922
2405
|
align-items: center;
|
|
1923
2406
|
`;
|
|
1924
|
-
const Bar =
|
|
2407
|
+
const Bar = styled.div`
|
|
1925
2408
|
flex: 1;
|
|
1926
2409
|
border: ${/*#__PURE__*/rem('1px')} solid ${colors.purple100};
|
|
1927
2410
|
border-radius: 999px;
|
|
@@ -1929,14 +2412,14 @@ const Bar = _styled.div`
|
|
|
1929
2412
|
height: ${/*#__PURE__*/rem('10px')};
|
|
1930
2413
|
overflow: hidden;
|
|
1931
2414
|
`;
|
|
1932
|
-
const Progress =
|
|
2415
|
+
const Progress = styled.div`
|
|
1933
2416
|
border-radius: 999px;
|
|
1934
2417
|
background-color: ${colors.purple500};
|
|
1935
2418
|
height: 100%;
|
|
1936
2419
|
width: ${props => props.progress ? `${props.progress}%` : 0};
|
|
1937
2420
|
transition-duration: 2s;
|
|
1938
2421
|
`;
|
|
1939
|
-
const Value =
|
|
2422
|
+
const Value = styled.div`
|
|
1940
2423
|
margin-left: ${/*#__PURE__*/rem('5px')};
|
|
1941
2424
|
font-size: ${typography.fontSizeXs};
|
|
1942
2425
|
font-weight: ${typography.regular};
|
|
@@ -1955,7 +2438,7 @@ const ProgressBar = props => {
|
|
|
1955
2438
|
})), value && /*#__PURE__*/React.createElement(Value, null, value));
|
|
1956
2439
|
};
|
|
1957
2440
|
|
|
1958
|
-
const Switcher =
|
|
2441
|
+
const Switcher = styled.fieldset`
|
|
1959
2442
|
margin: 0;
|
|
1960
2443
|
border: none;
|
|
1961
2444
|
padding: 0;
|
|
@@ -2125,7 +2608,7 @@ const Toggle = ({
|
|
|
2125
2608
|
}, labelRight)));
|
|
2126
2609
|
};
|
|
2127
2610
|
|
|
2128
|
-
const Wrapper$6 =
|
|
2611
|
+
const Wrapper$6 = styled.div`
|
|
2129
2612
|
input {
|
|
2130
2613
|
width: 0.1px;
|
|
2131
2614
|
height: 0.1px;
|
|
@@ -2249,18 +2732,81 @@ const FilePicker = props => {
|
|
|
2249
2732
|
}));
|
|
2250
2733
|
};
|
|
2251
2734
|
|
|
2252
|
-
const ActionsMenuStyle$1 =
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2735
|
+
const ActionsMenuStyle$1 = styled.div`
|
|
2736
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
2737
|
+
|
|
2738
|
+
button {
|
|
2739
|
+
margin-top: ${/*#__PURE__*/rem('7px')};
|
|
2740
|
+
}
|
|
2741
|
+
`;
|
|
2742
|
+
const List = styled.ul`
|
|
2743
|
+
position: absolute;
|
|
2744
|
+
border: ${field.borderWidth} solid ${field.borderColor};
|
|
2745
|
+
border-radius: ${field.borderRadius};
|
|
2746
|
+
background-color: ${field.backgroundColor};
|
|
2747
|
+
margin-top: ${/*#__PURE__*/rem('5px')};
|
|
2748
|
+
min-width: ${/*#__PURE__*/rem('200px')};
|
|
2749
|
+
max-width: ${/*#__PURE__*/rem('250px')};
|
|
2750
|
+
padding: 0;
|
|
2751
|
+
-moz-box-shadow: ${field.boxShadow};
|
|
2752
|
+
-webkit-box-shadow: ${field.boxShadow};
|
|
2753
|
+
box-shadow: ${field.boxShadow};
|
|
2754
|
+
overflow: hidden;
|
|
2755
|
+
z-index: 1;
|
|
2756
|
+
|
|
2757
|
+
${props => props.rowIndex != undefined && css`
|
|
2260
2758
|
--margin: ${`calc(${rem('45px')} + ${rem('50px')} * ${props.rowIndex} + ${rem('42px')})`};
|
|
2261
2759
|
top: var(--margin);
|
|
2262
2760
|
right: ${rem('5px')};
|
|
2263
|
-
|
|
2761
|
+
`}
|
|
2762
|
+
|
|
2763
|
+
li {
|
|
2764
|
+
list-style: none;
|
|
2765
|
+
min-height: ${/*#__PURE__*/rem('45px')};
|
|
2766
|
+
display: flex;
|
|
2767
|
+
transition-duration: 0.3s;
|
|
2768
|
+
|
|
2769
|
+
&:hover {
|
|
2770
|
+
background-color: ${field.hoverBorderColor};
|
|
2771
|
+
cursor: pointer;
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
&.danger {
|
|
2775
|
+
border-top: ${field.borderWidth} solid ${field.borderColor};
|
|
2776
|
+
|
|
2777
|
+
a {
|
|
2778
|
+
color: ${field.errorBorderColor};
|
|
2779
|
+
}
|
|
2780
|
+
}
|
|
2781
|
+
|
|
2782
|
+
&.disabled {
|
|
2783
|
+
a {
|
|
2784
|
+
color: ${field.disabledColor};
|
|
2785
|
+
pointer-events: none;
|
|
2786
|
+
}
|
|
2787
|
+
|
|
2788
|
+
&:hover {
|
|
2789
|
+
background-color: transparent;
|
|
2790
|
+
}
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
a {
|
|
2794
|
+
width: 100%;
|
|
2795
|
+
display: flex;
|
|
2796
|
+
align-items: center;
|
|
2797
|
+
padding: 0 ${/*#__PURE__*/rem('20px')};
|
|
2798
|
+
color: ${field.color};
|
|
2799
|
+
text-decoration: none;
|
|
2800
|
+
white-space: nowrap;
|
|
2801
|
+
|
|
2802
|
+
span {
|
|
2803
|
+
display: table-cell;
|
|
2804
|
+
overflow: hidden;
|
|
2805
|
+
text-overflow: ellipsis;
|
|
2806
|
+
}
|
|
2807
|
+
}
|
|
2808
|
+
}
|
|
2809
|
+
`;
|
|
2264
2810
|
|
|
2265
2811
|
const ActionMenuList = props => {
|
|
2266
2812
|
const {
|
|
@@ -2331,10 +2877,31 @@ const ActionsMenu = props => {
|
|
|
2331
2877
|
}) : null);
|
|
2332
2878
|
};
|
|
2333
2879
|
|
|
2334
|
-
const CardValueStyle =
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2880
|
+
const CardValueStyle = styled.div`
|
|
2881
|
+
border: ${field.borderWidth} solid ${field.borderColor};
|
|
2882
|
+
border-radius: ${field.borderRadius};
|
|
2883
|
+
background-color: ${colors.white};
|
|
2884
|
+
display: flex;
|
|
2885
|
+
flex-direction: column;
|
|
2886
|
+
padding: ${/*#__PURE__*/rem('15px')};
|
|
2887
|
+
overflow-x: auto;
|
|
2888
|
+
|
|
2889
|
+
> span {
|
|
2890
|
+
display: block;
|
|
2891
|
+
margin-top: ${/*#__PURE__*/rem('5px')};
|
|
2892
|
+
font-size: ${/*#__PURE__*/rem('32px')};
|
|
2893
|
+
font-weight: ${typography.semiBold};
|
|
2894
|
+
line-height: 1;
|
|
2895
|
+
white-space: nowrap;
|
|
2896
|
+
overflow: hidden;
|
|
2897
|
+
text-overflow: ellipsis;
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
a,
|
|
2901
|
+
button {
|
|
2902
|
+
margin-top: ${/*#__PURE__*/rem('20px')};
|
|
2903
|
+
}
|
|
2904
|
+
`;
|
|
2338
2905
|
|
|
2339
2906
|
const CardValue = props => {
|
|
2340
2907
|
const {
|
|
@@ -2363,30 +2930,118 @@ const CardValue = props => {
|
|
|
2363
2930
|
}));
|
|
2364
2931
|
};
|
|
2365
2932
|
|
|
2366
|
-
const EmptyTableWrapper =
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2933
|
+
const EmptyTableWrapper = styled.div`
|
|
2934
|
+
position: relative;
|
|
2935
|
+
`;
|
|
2936
|
+
const EmptyTableHead = styled.div`
|
|
2937
|
+
border-width: ${props => props.border ? field.borderWidth : `0 0 ${field.borderWidth} 0`};
|
|
2938
|
+
border-style: solid;
|
|
2939
|
+
border-color: ${colors.grey200};
|
|
2940
|
+
border-radius: ${field.borderRadius} ${field.borderRadius} 0 0;
|
|
2941
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
2942
|
+
display: flex;
|
|
2943
|
+
align-items: center;
|
|
2944
|
+
font-size: ${typography.fontSizeSm};
|
|
2945
|
+
font-weight: ${typography.semiBold};
|
|
2946
|
+
color: ${colors.grey400};
|
|
2947
|
+
|
|
2948
|
+
> div {
|
|
2949
|
+
white-space: nowrap;
|
|
2950
|
+
overflow: hidden;
|
|
2951
|
+
text-overflow: ellipsis;
|
|
2952
|
+
display: none;
|
|
2953
|
+
flex: 1;
|
|
2954
|
+
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
2955
|
+
font-size: ${typography.fontSizeSm};
|
|
2956
|
+
font-weight: ${typography.semiBold};
|
|
2957
|
+
color: ${colors.grey400};
|
|
2958
|
+
|
|
2959
|
+
&:first-child,
|
|
2960
|
+
&:nth-child(2) {
|
|
2961
|
+
display: initial;
|
|
2962
|
+
}
|
|
2963
|
+
|
|
2964
|
+
@media ${device.s} {
|
|
2965
|
+
&:nth-child(3) {
|
|
2966
|
+
display: initial;
|
|
2967
|
+
}
|
|
2968
|
+
}
|
|
2969
|
+
|
|
2970
|
+
@media ${device.m} {
|
|
2971
|
+
&:nth-child(4) {
|
|
2972
|
+
display: initial;
|
|
2973
|
+
}
|
|
2974
|
+
}
|
|
2975
|
+
|
|
2976
|
+
@media ${device.l} {
|
|
2977
|
+
display: initial;
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
`;
|
|
2981
|
+
const EmptyTableBody = styled.div`
|
|
2982
|
+
border-width: ${props => props.border ? `0 ${field.borderWidth} ${field.borderWidth} ${field.borderWidth}` : 0};
|
|
2983
|
+
border-style: solid;
|
|
2984
|
+
border-color: ${colors.grey200};
|
|
2985
|
+
border-radius: 0 0 ${field.borderRadius} ${field.borderRadius};
|
|
2986
|
+
`;
|
|
2987
|
+
const EmptyTableRow = styled.div`
|
|
2988
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
2989
|
+
display: flex;
|
|
2990
|
+
align-items: center;
|
|
2991
|
+
|
|
2992
|
+
&:not(:last-child) {
|
|
2993
|
+
border-bottom: ${field.borderWidth} solid ${colors.grey200};
|
|
2994
|
+
}
|
|
2995
|
+
|
|
2996
|
+
> div {
|
|
2997
|
+
display: none;
|
|
2998
|
+
flex: 1;
|
|
2999
|
+
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
3000
|
+
|
|
3001
|
+
&:first-child,
|
|
3002
|
+
&:nth-child(2) {
|
|
3003
|
+
display: inherit;
|
|
3004
|
+
}
|
|
3005
|
+
|
|
3006
|
+
@media ${device.s} {
|
|
3007
|
+
&:nth-child(3) {
|
|
3008
|
+
display: inherit;
|
|
3009
|
+
}
|
|
3010
|
+
}
|
|
3011
|
+
|
|
3012
|
+
@media ${device.m} {
|
|
3013
|
+
&:nth-child(4) {
|
|
3014
|
+
display: inherit;
|
|
3015
|
+
}
|
|
3016
|
+
}
|
|
3017
|
+
|
|
3018
|
+
@media ${device.l} {
|
|
3019
|
+
display: inherit;
|
|
3020
|
+
}
|
|
3021
|
+
}
|
|
3022
|
+
`;
|
|
3023
|
+
const EmptyTableCellText = styled.div`
|
|
3024
|
+
background-color: ${colors.grey200};
|
|
3025
|
+
width: 100%;
|
|
3026
|
+
height: ${/*#__PURE__*/rem('15px')};
|
|
3027
|
+
`;
|
|
3028
|
+
const EmptyTableOverlay = styled.div`
|
|
3029
|
+
position: absolute;
|
|
3030
|
+
bottom: 0;
|
|
3031
|
+
background-image: linear-gradient(
|
|
3032
|
+
to bottom,
|
|
3033
|
+
${/*#__PURE__*/rgba(colors.white, 0)},
|
|
3034
|
+
${/*#__PURE__*/rgba(colors.white, 1)}
|
|
3035
|
+
);
|
|
3036
|
+
width: 100%;
|
|
3037
|
+
height: calc(100% - ${/*#__PURE__*/rem('50px')});
|
|
3038
|
+
display: flex;
|
|
3039
|
+
justify-content: center;
|
|
3040
|
+
align-items: flex-end;
|
|
3041
|
+
padding: 0 ${/*#__PURE__*/rem('15px')} ${/*#__PURE__*/rem('15px')} ${/*#__PURE__*/rem('15px')};
|
|
3042
|
+
text-align: center;
|
|
3043
|
+
color: ${colors.grey400};
|
|
3044
|
+
`;
|
|
2390
3045
|
|
|
2391
3046
|
const EmptyTable = props => {
|
|
2392
3047
|
let rows = [];
|
|
@@ -2416,10 +3071,25 @@ const EmptyTable = props => {
|
|
|
2416
3071
|
}, rows));
|
|
2417
3072
|
};
|
|
2418
3073
|
|
|
2419
|
-
const FooterStyle =
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
3074
|
+
const FooterStyle = styled.div`
|
|
3075
|
+
position: relative;
|
|
3076
|
+
margin-top: ${/*#__PURE__*/rem('50px')};
|
|
3077
|
+
max-width: 100%;
|
|
3078
|
+
display: flex;
|
|
3079
|
+
justify-content: center;
|
|
3080
|
+
|
|
3081
|
+
> button {
|
|
3082
|
+
min-width: ${/*#__PURE__*/rem('100px')};
|
|
3083
|
+
|
|
3084
|
+
&:not(:last-child) {
|
|
3085
|
+
margin-right: ${/*#__PURE__*/rem('5px')};
|
|
3086
|
+
}
|
|
3087
|
+
}
|
|
3088
|
+
|
|
3089
|
+
@media ${device.s} {
|
|
3090
|
+
justify-content: flex-end;
|
|
3091
|
+
}
|
|
3092
|
+
`;
|
|
2423
3093
|
|
|
2424
3094
|
const ModalFooter = props => {
|
|
2425
3095
|
const {
|
|
@@ -2442,22 +3112,47 @@ const ModalFooter = props => {
|
|
|
2442
3112
|
}), children);
|
|
2443
3113
|
};
|
|
2444
3114
|
|
|
2445
|
-
const Wrapper$7 =
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
3115
|
+
const Wrapper$7 = styled.div`
|
|
3116
|
+
--borderColor: ${field.borderColor};
|
|
3117
|
+
--backgroundColor: ${colors.purple50};
|
|
3118
|
+
--dark: ${colors.purple400};
|
|
3119
|
+
|
|
3120
|
+
${props => props.color === 'grey' && css`
|
|
2449
3121
|
--borderColor: ${field.borderColor};
|
|
2450
3122
|
--backgroundColor: ${colors.purple50};
|
|
2451
3123
|
--dark: ${colors.purple400};
|
|
2452
|
-
|
|
3124
|
+
`}
|
|
3125
|
+
|
|
3126
|
+
${props => props.color === 'green' && css`
|
|
2453
3127
|
--borderColor: ${field.successBorderColor};
|
|
2454
3128
|
--backgroundColor: ${field.successBackgroundColor};
|
|
2455
3129
|
--dark: ${colors.green900};
|
|
2456
|
-
|
|
3130
|
+
`}
|
|
3131
|
+
|
|
3132
|
+
${props => props.color === 'red' && css`
|
|
2457
3133
|
--borderColor: ${field.errorBorderColor};
|
|
2458
3134
|
--backgroundColor: ${field.errorBackgroundColor};
|
|
2459
3135
|
--dark: ${colors.red800};
|
|
2460
|
-
|
|
3136
|
+
`}
|
|
3137
|
+
|
|
3138
|
+
border-width: ${field.borderWidth};
|
|
3139
|
+
border-style: solid;
|
|
3140
|
+
border-color: var(--borderColor);
|
|
3141
|
+
border-radius: ${field.borderRadius};
|
|
3142
|
+
background-color: var(--backgroundColor);
|
|
3143
|
+
padding: ${/*#__PURE__*/rem('15px')};
|
|
3144
|
+
|
|
3145
|
+
div {
|
|
3146
|
+
&:first-child {
|
|
3147
|
+
flex: 1;
|
|
3148
|
+
}
|
|
3149
|
+
|
|
3150
|
+
p {
|
|
3151
|
+
margin: 0;
|
|
3152
|
+
}
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
${props => props.buttonValue && css`
|
|
2461
3156
|
button {
|
|
2462
3157
|
margin: ${rem('30px')} 0 0 0;
|
|
2463
3158
|
border: 0;
|
|
@@ -2489,7 +3184,8 @@ const Wrapper$7 = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2489
3184
|
margin: 0 0 0 ${rem('30px')};
|
|
2490
3185
|
}
|
|
2491
3186
|
}
|
|
2492
|
-
`
|
|
3187
|
+
`}
|
|
3188
|
+
`;
|
|
2493
3189
|
|
|
2494
3190
|
const NoteCard = props => {
|
|
2495
3191
|
const {
|
|
@@ -2514,18 +3210,227 @@ function hasValue(value) {
|
|
|
2514
3210
|
return value !== undefined && value !== null;
|
|
2515
3211
|
}
|
|
2516
3212
|
|
|
2517
|
-
const TableWrapper =
|
|
2518
|
-
|
|
2519
|
-
|
|
2520
|
-
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2524
|
-
|
|
2525
|
-
|
|
2526
|
-
|
|
2527
|
-
|
|
2528
|
-
|
|
3213
|
+
const TableWrapper = styled.div`
|
|
3214
|
+
position: relative;
|
|
3215
|
+
`;
|
|
3216
|
+
const OverflowWrapper = styled.div`
|
|
3217
|
+
@media ${device.s} {
|
|
3218
|
+
display: block;
|
|
3219
|
+
border-radius: ${field.borderRadius};
|
|
3220
|
+
background:
|
|
3221
|
+
linear-gradient(to right, ${colors.white} 30%, rgba(255, 255, 255, 0)),
|
|
3222
|
+
linear-gradient(to right, rgba(255, 255, 255, 0), ${colors.white} 70%) 0
|
|
3223
|
+
100%,
|
|
3224
|
+
radial-gradient(
|
|
3225
|
+
farthest-side at 0% 50%,
|
|
3226
|
+
rgba(0, 0, 0, 0.2),
|
|
3227
|
+
rgba(0, 0, 0, 0)
|
|
3228
|
+
),
|
|
3229
|
+
radial-gradient(
|
|
3230
|
+
farthest-side at 100% 50%,
|
|
3231
|
+
rgba(0, 0, 0, 0.2),
|
|
3232
|
+
rgba(0, 0, 0, 0)
|
|
3233
|
+
)
|
|
3234
|
+
0 100%;
|
|
3235
|
+
background-repeat: no-repeat;
|
|
3236
|
+
background-color: ${colors.white};
|
|
3237
|
+
background-size:
|
|
3238
|
+
${/*#__PURE__*/rem('40px')} 100%,
|
|
3239
|
+
${/*#__PURE__*/rem('40px')} 100%,
|
|
3240
|
+
${/*#__PURE__*/rem('14px')} 100%,
|
|
3241
|
+
${/*#__PURE__*/rem('14px')} 100%;
|
|
3242
|
+
background-position:
|
|
3243
|
+
0 0,
|
|
3244
|
+
100%,
|
|
3245
|
+
0 0,
|
|
3246
|
+
100%;
|
|
3247
|
+
background-attachment: local, local, scroll, scroll;
|
|
3248
|
+
overflow-x: auto;
|
|
3249
|
+
-webkit-overflow-scrolling: touch;
|
|
3250
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
3251
|
+
-webkit-scrollbar-width: none;
|
|
3252
|
+
-moz-scrollbar-width: none;
|
|
3253
|
+
-ms-scrollbar-width: none;
|
|
3254
|
+
scrollbar-width: none;
|
|
3255
|
+
}
|
|
3256
|
+
`;
|
|
3257
|
+
const Table = styled.table`
|
|
3258
|
+
width: 100%;
|
|
3259
|
+
border-width: 0;
|
|
3260
|
+
border-style: solid;
|
|
3261
|
+
border-color: ${colors.grey200};
|
|
3262
|
+
border-radius: ${field.borderRadius};
|
|
3263
|
+
border-spacing: 0;
|
|
3264
|
+
white-space: nowrap;
|
|
3265
|
+
|
|
3266
|
+
@media ${device.s} {
|
|
3267
|
+
border-width: ${props => props.border ? field.borderWidth : 0};
|
|
3268
|
+
}
|
|
3269
|
+
|
|
3270
|
+
th,
|
|
3271
|
+
td {
|
|
3272
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
3273
|
+
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
3274
|
+
|
|
3275
|
+
&.center {
|
|
3276
|
+
text-align: center;
|
|
3277
|
+
|
|
3278
|
+
> div {
|
|
3279
|
+
justify-content: center;
|
|
3280
|
+
}
|
|
3281
|
+
}
|
|
3282
|
+
|
|
3283
|
+
&.right {
|
|
3284
|
+
text-align: right;
|
|
3285
|
+
|
|
3286
|
+
> div {
|
|
3287
|
+
justify-content: flex-end;
|
|
3288
|
+
}
|
|
3289
|
+
}
|
|
3290
|
+
|
|
3291
|
+
&.thin {
|
|
3292
|
+
@media ${device.s} {
|
|
3293
|
+
max-width: min-content;
|
|
3294
|
+
}
|
|
3295
|
+
}
|
|
3296
|
+
|
|
3297
|
+
&.vkai,
|
|
3298
|
+
&.tkai,
|
|
3299
|
+
&.lx,
|
|
3300
|
+
&.vote {
|
|
3301
|
+
text-align: right;
|
|
3302
|
+
|
|
3303
|
+
> div {
|
|
3304
|
+
justify-content: flex-end;
|
|
3305
|
+
}
|
|
3306
|
+
}
|
|
3307
|
+
|
|
3308
|
+
&.avatar > div {
|
|
3309
|
+
display: flex;
|
|
3310
|
+
align-items: center;
|
|
3311
|
+
|
|
3312
|
+
.avatar-img {
|
|
3313
|
+
margin-right: ${/*#__PURE__*/rem('15px')};
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
}
|
|
3317
|
+
|
|
3318
|
+
th {
|
|
3319
|
+
font-size: ${typography.fontSizeSm};
|
|
3320
|
+
|
|
3321
|
+
&:first-child {
|
|
3322
|
+
border-top-left-radius: ${field.borderRadius};
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
&:last-child {
|
|
3326
|
+
border-top-right-radius: ${field.borderRadius};
|
|
3327
|
+
}
|
|
3328
|
+
}
|
|
3329
|
+
|
|
3330
|
+
tr {
|
|
3331
|
+
border: ${field.borderWidth} solid ${colors.grey200};
|
|
3332
|
+
border-radius: ${field.borderRadius};
|
|
3333
|
+
position: relative;
|
|
3334
|
+
|
|
3335
|
+
&:not(:last-child) {
|
|
3336
|
+
margin-bottom: ${/*#__PURE__*/rem('15px')};
|
|
3337
|
+
}
|
|
3338
|
+
|
|
3339
|
+
@media ${device.s} {
|
|
3340
|
+
border: 0;
|
|
3341
|
+
}
|
|
3342
|
+
}
|
|
3343
|
+
|
|
3344
|
+
thead {
|
|
3345
|
+
border: none;
|
|
3346
|
+
clip: rect(0 0 0 0);
|
|
3347
|
+
height: ${/*#__PURE__*/rem('1px')};
|
|
3348
|
+
margin: ${/*#__PURE__*/rem('-1px')};
|
|
3349
|
+
overflow: hidden;
|
|
3350
|
+
padding: 0;
|
|
3351
|
+
position: absolute;
|
|
3352
|
+
width: ${/*#__PURE__*/rem('1px')};
|
|
3353
|
+
|
|
3354
|
+
@media ${device.s} {
|
|
3355
|
+
display: contents;
|
|
3356
|
+
font-weight: ${typography.semiBold};
|
|
3357
|
+
color: ${colors.grey400};
|
|
3358
|
+
text-align: left;
|
|
3359
|
+
}
|
|
3360
|
+
}
|
|
3361
|
+
|
|
3362
|
+
tbody {
|
|
3363
|
+
tr {
|
|
3364
|
+
display: block;
|
|
3365
|
+
transition-duration: ${misc.transitionDuration};
|
|
3366
|
+
|
|
3367
|
+
&:hover {
|
|
3368
|
+
background-color: ${props => props.loadingState ? 'transparent' : colors.grey50};
|
|
3369
|
+
|
|
3370
|
+
td.menu {
|
|
3371
|
+
button {
|
|
3372
|
+
opacity: 1;
|
|
3373
|
+
}
|
|
3374
|
+
}
|
|
3375
|
+
}
|
|
3376
|
+
|
|
3377
|
+
@media ${device.s} {
|
|
3378
|
+
display: table-row;
|
|
3379
|
+
}
|
|
3380
|
+
}
|
|
3381
|
+
|
|
3382
|
+
td {
|
|
3383
|
+
border-top: ${field.borderWidth} solid ${colors.grey200};
|
|
3384
|
+
height: inherit;
|
|
3385
|
+
min-height: ${/*#__PURE__*/rem('50px')};
|
|
3386
|
+
padding: ${/*#__PURE__*/rem('15px')};
|
|
3387
|
+
display: flex;
|
|
3388
|
+
justify-content: flex-end;
|
|
3389
|
+
align-items: center;
|
|
3390
|
+
|
|
3391
|
+
> div {
|
|
3392
|
+
margin-left: ${/*#__PURE__*/rem('100px')};
|
|
3393
|
+
height: 100%;
|
|
3394
|
+
display: flex;
|
|
3395
|
+
justify-content: flex-end;
|
|
3396
|
+
align-items: center;
|
|
3397
|
+
flex-wrap: nowrap;
|
|
3398
|
+
text-align: right;
|
|
3399
|
+
|
|
3400
|
+
> span {
|
|
3401
|
+
display: none;
|
|
3402
|
+
|
|
3403
|
+
&:first-child,
|
|
3404
|
+
&:last-child {
|
|
3405
|
+
display: inherit;
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
}
|
|
3409
|
+
|
|
3410
|
+
img {
|
|
3411
|
+
min-width: ${/*#__PURE__*/rem('30px')};
|
|
3412
|
+
min-height: ${/*#__PURE__*/rem('30px')};
|
|
3413
|
+
}
|
|
3414
|
+
|
|
3415
|
+
a {
|
|
3416
|
+
display: flex;
|
|
3417
|
+
align-items: center;
|
|
3418
|
+
color: ${colors.black};
|
|
3419
|
+
text-decoration-color: ${colors.grey400};
|
|
3420
|
+
}
|
|
3421
|
+
|
|
3422
|
+
&:first-child {
|
|
3423
|
+
border: 0;
|
|
3424
|
+
}
|
|
3425
|
+
|
|
3426
|
+
&:before {
|
|
3427
|
+
position: absolute;
|
|
3428
|
+
left: ${/*#__PURE__*/rem('15px')};
|
|
3429
|
+
content: attr(data-label);
|
|
3430
|
+
font-weight: ${typography.semiBold};
|
|
3431
|
+
text-transform: capitalize;
|
|
3432
|
+
|
|
3433
|
+
${props => props.loadingState && css`
|
|
2529
3434
|
width: ${rem('75px')};
|
|
2530
3435
|
height: ${rem('15px')};
|
|
2531
3436
|
background: #f6f7f8;
|
|
@@ -2543,11 +3448,135 @@ const Table = /*#__PURE__*/_styled.table.withConfig({
|
|
|
2543
3448
|
animation-timing-function: linear;
|
|
2544
3449
|
animation-iteration-count: infinite;
|
|
2545
3450
|
animation-duration: 1.5s;
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
3451
|
+
`}
|
|
3452
|
+
}
|
|
3453
|
+
|
|
3454
|
+
&.tkai,
|
|
3455
|
+
&.vkai,
|
|
3456
|
+
&.lx,
|
|
3457
|
+
&.vote {
|
|
3458
|
+
svg {
|
|
3459
|
+
float: right;
|
|
3460
|
+
margin-left: ${/*#__PURE__*/rem('5px')};
|
|
3461
|
+
width: auto;
|
|
3462
|
+
min-width: ${/*#__PURE__*/rem('22px')};
|
|
3463
|
+
max-height: ${/*#__PURE__*/rem('22px')};
|
|
3464
|
+
}
|
|
3465
|
+
}
|
|
3466
|
+
|
|
3467
|
+
.avatar-img {
|
|
3468
|
+
display: none;
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
.tag {
|
|
3472
|
+
margin: 0;
|
|
3473
|
+
|
|
3474
|
+
&:not(:first-child) {
|
|
3475
|
+
display: none;
|
|
3476
|
+
}
|
|
3477
|
+
}
|
|
3478
|
+
|
|
3479
|
+
.button {
|
|
3480
|
+
height: ${/*#__PURE__*/rem('34px')};
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
&.menu {
|
|
3484
|
+
padding: 0 ${/*#__PURE__*/rem('10px')} 0 0;
|
|
3485
|
+
|
|
3486
|
+
button {
|
|
3487
|
+
margin-top: ${/*#__PURE__*/rem('5px')};
|
|
3488
|
+
transition: ${misc.transitionDuration};
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
ul {
|
|
3492
|
+
top: ${/*#__PURE__*/rem('36px')};
|
|
3493
|
+
margin-left: ${/*#__PURE__*/rem('-170px')};
|
|
3494
|
+
}
|
|
3495
|
+
}
|
|
3496
|
+
|
|
3497
|
+
@media ${device.s} {
|
|
3498
|
+
display: table-cell;
|
|
3499
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
3500
|
+
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
3501
|
+
|
|
3502
|
+
> div {
|
|
3503
|
+
position: relative;
|
|
3504
|
+
margin-left: 0;
|
|
3505
|
+
display: flex-start;
|
|
3506
|
+
justify-content: flex-start;
|
|
3507
|
+
text-align: left;
|
|
3508
|
+
|
|
3509
|
+
> span {
|
|
3510
|
+
display: inherit;
|
|
3511
|
+
}
|
|
3512
|
+
}
|
|
3513
|
+
|
|
3514
|
+
&:first-child {
|
|
3515
|
+
border-top: ${field.borderWidth} solid ${colors.grey200};
|
|
3516
|
+
}
|
|
3517
|
+
|
|
3518
|
+
&:before {
|
|
3519
|
+
content: '';
|
|
3520
|
+
}
|
|
3521
|
+
|
|
3522
|
+
&.tkai,
|
|
3523
|
+
&.vkai {
|
|
3524
|
+
max-width: ${/*#__PURE__*/rem('100px')};
|
|
3525
|
+
}
|
|
3526
|
+
|
|
3527
|
+
.avatar-img {
|
|
3528
|
+
display: inherit;
|
|
3529
|
+
}
|
|
3530
|
+
|
|
3531
|
+
.tag {
|
|
3532
|
+
&:not(:first-child) {
|
|
3533
|
+
display: inherit;
|
|
3534
|
+
}
|
|
3535
|
+
|
|
3536
|
+
&:not(:last-child) {
|
|
3537
|
+
margin-right: ${/*#__PURE__*/rem('5px')};
|
|
3538
|
+
}
|
|
3539
|
+
}
|
|
3540
|
+
|
|
3541
|
+
&.menu {
|
|
3542
|
+
width: ${/*#__PURE__*/rem('40px')};
|
|
3543
|
+
|
|
3544
|
+
button {
|
|
3545
|
+
opacity: 0;
|
|
3546
|
+
}
|
|
3547
|
+
}
|
|
3548
|
+
}
|
|
3549
|
+
}
|
|
3550
|
+
}
|
|
3551
|
+
`;
|
|
3552
|
+
const SkeletonCell = styled.div`
|
|
3553
|
+
@keyframes placeholderSkeleton {
|
|
3554
|
+
0% {
|
|
3555
|
+
background-position: ${/*#__PURE__*/rem('-800px')} 0;
|
|
3556
|
+
}
|
|
3557
|
+
100% {
|
|
3558
|
+
background-position: ${/*#__PURE__*/rem('800px')} 0;
|
|
3559
|
+
}
|
|
3560
|
+
}
|
|
3561
|
+
|
|
3562
|
+
width: 100%;
|
|
3563
|
+
height: ${/*#__PURE__*/rem('15px')} !important;
|
|
3564
|
+
background: #f6f7f8;
|
|
3565
|
+
background-image: -webkit-linear-gradient(
|
|
3566
|
+
left,
|
|
3567
|
+
#f6f7f8 0%,
|
|
3568
|
+
#edeef1 20%,
|
|
3569
|
+
#f6f7f8 40%,
|
|
3570
|
+
#f6f7f8 100%
|
|
3571
|
+
);
|
|
3572
|
+
background-repeat: no-repeat;
|
|
3573
|
+
background-size: ${/*#__PURE__*/rem('800px')} 100%;
|
|
3574
|
+
animation-fill-mode: forwards;
|
|
3575
|
+
animation-name: placeholderSkeleton;
|
|
3576
|
+
animation-timing-function: linear;
|
|
3577
|
+
animation-iteration-count: infinite;
|
|
3578
|
+
animation-duration: 1.5s;
|
|
3579
|
+
`;
|
|
2551
3580
|
|
|
2552
3581
|
const Table$1 = props => {
|
|
2553
3582
|
const {
|
|
@@ -2633,6 +3662,12 @@ const Table$1 = props => {
|
|
|
2633
3662
|
}) : className === 'vkai' ? /*#__PURE__*/React.createElement(Icon, {
|
|
2634
3663
|
icon: "vkai",
|
|
2635
3664
|
fill: "hsl(0, 0%, 16%)"
|
|
3665
|
+
}) : className === 'lx' ? /*#__PURE__*/React.createElement(Icon, {
|
|
3666
|
+
icon: "lx",
|
|
3667
|
+
fill: "hsl(0, 0%, 16%)"
|
|
3668
|
+
}) : className === 'vote' ? /*#__PURE__*/React.createElement(Icon, {
|
|
3669
|
+
icon: "vote",
|
|
3670
|
+
fill: "hsl(0, 0%, 16%)"
|
|
2636
3671
|
}) : null))), hasActionMenu && /*#__PURE__*/React.createElement("td", {
|
|
2637
3672
|
className: "menu",
|
|
2638
3673
|
"data-testid": menuDataTestId
|
|
@@ -2657,17 +3692,298 @@ const Table$1 = props => {
|
|
|
2657
3692
|
handleOptionClick: () => {
|
|
2658
3693
|
setIsVisible(false);
|
|
2659
3694
|
}
|
|
2660
|
-
})));
|
|
2661
|
-
};
|
|
3695
|
+
})));
|
|
3696
|
+
};
|
|
3697
|
+
|
|
3698
|
+
const Table$2 = styled.table`
|
|
3699
|
+
position: relative;
|
|
3700
|
+
width: 100%;
|
|
3701
|
+
border-width: ${props => props.border ? field.borderWidth : 0};
|
|
3702
|
+
border-style: solid;
|
|
3703
|
+
border-color: ${colors.grey200};
|
|
3704
|
+
border-radius: ${field.borderRadius};
|
|
3705
|
+
border-spacing: 0;
|
|
3706
|
+
white-space: nowrap;
|
|
3707
|
+
table-layout: ${props => props.layout};
|
|
3708
|
+
|
|
3709
|
+
th,
|
|
3710
|
+
td {
|
|
3711
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
3712
|
+
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
3713
|
+
|
|
3714
|
+
&.center {
|
|
3715
|
+
text-align: center;
|
|
3716
|
+
|
|
3717
|
+
> div {
|
|
3718
|
+
justify-content: center;
|
|
3719
|
+
}
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
&.right {
|
|
3723
|
+
text-align: right;
|
|
3724
|
+
|
|
3725
|
+
> div {
|
|
3726
|
+
justify-content: flex-end;
|
|
3727
|
+
}
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
&.thin {
|
|
3731
|
+
@media ${device.s} {
|
|
3732
|
+
max-width: min-content;
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3736
|
+
&.kai {
|
|
3737
|
+
text-align: right;
|
|
3738
|
+
|
|
3739
|
+
> div {
|
|
3740
|
+
justify-content: flex-end;
|
|
3741
|
+
}
|
|
3742
|
+
}
|
|
3743
|
+
|
|
3744
|
+
&.avatar > div {
|
|
3745
|
+
display: flex;
|
|
3746
|
+
align-items: center;
|
|
3747
|
+
|
|
3748
|
+
.avatar-img {
|
|
3749
|
+
margin-right: ${/*#__PURE__*/rem('15px')};
|
|
3750
|
+
}
|
|
3751
|
+
}
|
|
3752
|
+
}
|
|
3753
|
+
|
|
3754
|
+
th {
|
|
3755
|
+
font-size: 0.85rem;
|
|
3756
|
+
|
|
3757
|
+
&:first-child {
|
|
3758
|
+
border-top-left-radius: ${field.borderRadius};
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
&:last-child {
|
|
3762
|
+
border-top-right-radius: ${field.borderRadius};
|
|
3763
|
+
}
|
|
3764
|
+
}
|
|
3765
|
+
|
|
3766
|
+
tr {
|
|
3767
|
+
border: ${field.borderWidth} solid ${colors.grey200};
|
|
3768
|
+
border-radius: ${field.borderRadius};
|
|
3769
|
+
position: relative;
|
|
3770
|
+
|
|
3771
|
+
&:not(:last-child) {
|
|
3772
|
+
margin-bottom: ${/*#__PURE__*/rem('15px')};
|
|
3773
|
+
}
|
|
3774
|
+
|
|
3775
|
+
@media ${device.s} {
|
|
3776
|
+
border: 0;
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
thead {
|
|
3781
|
+
border: none;
|
|
3782
|
+
clip: rect(0 0 0 0);
|
|
3783
|
+
height: ${/*#__PURE__*/rem('1px')};
|
|
3784
|
+
margin: ${/*#__PURE__*/rem('-1px')};
|
|
3785
|
+
overflow: hidden;
|
|
3786
|
+
padding: 0;
|
|
3787
|
+
position: absolute;
|
|
3788
|
+
width: ${/*#__PURE__*/rem('1px')};
|
|
3789
|
+
|
|
3790
|
+
@media ${device.s} {
|
|
3791
|
+
display: contents;
|
|
3792
|
+
font-weight: ${typography.semiBold};
|
|
3793
|
+
color: ${colors.grey400};
|
|
3794
|
+
text-align: left;
|
|
3795
|
+
}
|
|
3796
|
+
}
|
|
3797
|
+
|
|
3798
|
+
tbody {
|
|
3799
|
+
tr {
|
|
3800
|
+
display: block;
|
|
3801
|
+
transition-duration: ${misc.transitionDuration};
|
|
3802
|
+
|
|
3803
|
+
&:hover {
|
|
3804
|
+
background-color: ${colors.grey50};
|
|
3805
|
+
|
|
3806
|
+
td {
|
|
3807
|
+
&.drag-handle {
|
|
3808
|
+
svg {
|
|
3809
|
+
fill: ${colors.grey200};
|
|
3810
|
+
}
|
|
3811
|
+
}
|
|
3812
|
+
|
|
3813
|
+
&.menu {
|
|
3814
|
+
button {
|
|
3815
|
+
opacity: 1;
|
|
3816
|
+
}
|
|
3817
|
+
}
|
|
3818
|
+
}
|
|
3819
|
+
}
|
|
3820
|
+
|
|
3821
|
+
@media ${device.s} {
|
|
3822
|
+
display: table-row;
|
|
3823
|
+
}
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
td {
|
|
3827
|
+
border-top: ${field.borderWidth} solid ${colors.grey200};
|
|
3828
|
+
height: inherit;
|
|
3829
|
+
min-height: ${/*#__PURE__*/rem('50px')};
|
|
3830
|
+
padding: ${/*#__PURE__*/rem('15px')};
|
|
3831
|
+
display: flex;
|
|
3832
|
+
justify-content: flex-end;
|
|
3833
|
+
|
|
3834
|
+
&.drag-handle {
|
|
3835
|
+
> div {
|
|
3836
|
+
width: min-content;
|
|
3837
|
+
}
|
|
3838
|
+
|
|
3839
|
+
svg {
|
|
3840
|
+
width: ${/*#__PURE__*/rem('30px')};
|
|
3841
|
+
height: ${/*#__PURE__*/rem('30px')};
|
|
3842
|
+
fill: ${colors.grey200};
|
|
3843
|
+
transition-duration: ${misc.transitionDuration};
|
|
3844
|
+
}
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
> div {
|
|
3848
|
+
margin-left: ${/*#__PURE__*/rem('100px')};
|
|
3849
|
+
height: 100%;
|
|
3850
|
+
display: flex;
|
|
3851
|
+
justify-content: flex-end;
|
|
3852
|
+
align-items: center;
|
|
3853
|
+
flex-wrap: nowrap;
|
|
3854
|
+
text-align: right;
|
|
3855
|
+
|
|
3856
|
+
> span {
|
|
3857
|
+
display: none;
|
|
3858
|
+
|
|
3859
|
+
&:first-child,
|
|
3860
|
+
&:last-child {
|
|
3861
|
+
display: inherit;
|
|
3862
|
+
}
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
|
|
3866
|
+
img {
|
|
3867
|
+
min-width: ${/*#__PURE__*/rem('30px')};
|
|
3868
|
+
min-height: ${/*#__PURE__*/rem('30px')};
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
a {
|
|
3872
|
+
display: flex;
|
|
3873
|
+
align-items: center;
|
|
3874
|
+
color: ${colors.black};
|
|
3875
|
+
text-decoration-color: ${colors.grey400};
|
|
3876
|
+
}
|
|
3877
|
+
|
|
3878
|
+
&:first-child {
|
|
3879
|
+
border: 0;
|
|
3880
|
+
}
|
|
3881
|
+
|
|
3882
|
+
&:before {
|
|
3883
|
+
position: absolute;
|
|
3884
|
+
left: ${/*#__PURE__*/rem('15px')};
|
|
3885
|
+
content: attr(data-label);
|
|
3886
|
+
font-weight: ${typography.semiBold};
|
|
3887
|
+
text-transform: capitalize;
|
|
3888
|
+
}
|
|
3889
|
+
|
|
3890
|
+
&.kai {
|
|
3891
|
+
svg {
|
|
3892
|
+
float: right;
|
|
3893
|
+
width: auto;
|
|
3894
|
+
min-width: ${/*#__PURE__*/rem('20px')};
|
|
3895
|
+
max-height: ${/*#__PURE__*/rem('20px')};
|
|
3896
|
+
}
|
|
3897
|
+
}
|
|
3898
|
+
|
|
3899
|
+
.avatar-img {
|
|
3900
|
+
display: none;
|
|
3901
|
+
}
|
|
3902
|
+
|
|
3903
|
+
.tag {
|
|
3904
|
+
margin: 0;
|
|
3905
|
+
|
|
3906
|
+
&:not(:first-child) {
|
|
3907
|
+
display: none;
|
|
3908
|
+
}
|
|
3909
|
+
}
|
|
3910
|
+
|
|
3911
|
+
&.menu {
|
|
3912
|
+
padding: 0 ${/*#__PURE__*/rem('10px')} 0 0;
|
|
3913
|
+
|
|
3914
|
+
button {
|
|
3915
|
+
margin-top: ${/*#__PURE__*/rem('5px')};
|
|
3916
|
+
transition: ${misc.transitionDuration};
|
|
3917
|
+
}
|
|
3918
|
+
|
|
3919
|
+
ul {
|
|
3920
|
+
top: ${/*#__PURE__*/rem('36px')};
|
|
3921
|
+
margin-left: ${/*#__PURE__*/rem('-170px')};
|
|
3922
|
+
}
|
|
3923
|
+
}
|
|
3924
|
+
|
|
3925
|
+
@media ${device.s} {
|
|
3926
|
+
display: table-cell;
|
|
3927
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
3928
|
+
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
3929
|
+
align-items: center;
|
|
3930
|
+
|
|
3931
|
+
> div {
|
|
3932
|
+
position: relative;
|
|
3933
|
+
margin-left: 0;
|
|
3934
|
+
display: flex-start;
|
|
3935
|
+
justify-content: flex-start;
|
|
3936
|
+
text-align: left;
|
|
2662
3937
|
|
|
2663
|
-
|
|
2664
|
-
|
|
2665
|
-
|
|
2666
|
-
}
|
|
2667
|
-
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
}
|
|
3938
|
+
> span {
|
|
3939
|
+
display: inherit;
|
|
3940
|
+
}
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
&:first-child {
|
|
3944
|
+
border-top: ${field.borderWidth} solid ${colors.grey200};
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3947
|
+
&:before {
|
|
3948
|
+
content: '';
|
|
3949
|
+
}
|
|
3950
|
+
|
|
3951
|
+
&.kai {
|
|
3952
|
+
max-width: ${/*#__PURE__*/rem('100px')};
|
|
3953
|
+
}
|
|
3954
|
+
|
|
3955
|
+
.avatar-img {
|
|
3956
|
+
display: inherit;
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
.tag {
|
|
3960
|
+
&:not(:first-child) {
|
|
3961
|
+
display: inherit;
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
&:not(:last-child) {
|
|
3965
|
+
margin-right: ${/*#__PURE__*/rem('5px')};
|
|
3966
|
+
}
|
|
3967
|
+
}
|
|
3968
|
+
|
|
3969
|
+
&.menu {
|
|
3970
|
+
width: ${/*#__PURE__*/rem('40px')};
|
|
3971
|
+
|
|
3972
|
+
button {
|
|
3973
|
+
opacity: 0;
|
|
3974
|
+
}
|
|
3975
|
+
}
|
|
3976
|
+
}
|
|
3977
|
+
}
|
|
3978
|
+
}
|
|
3979
|
+
`;
|
|
3980
|
+
const TableRow = styled.tr`
|
|
3981
|
+
&[data-rbd-draggable-id='${props => props.draggableId}'] {
|
|
3982
|
+
position: absolute;
|
|
3983
|
+
display: table;
|
|
3984
|
+
width: 100%;
|
|
3985
|
+
}
|
|
3986
|
+
`;
|
|
2671
3987
|
|
|
2672
3988
|
const TableDnD = props => {
|
|
2673
3989
|
const {
|
|
@@ -2818,10 +4134,22 @@ const TableDnD = props => {
|
|
|
2818
4134
|
);
|
|
2819
4135
|
};
|
|
2820
4136
|
|
|
2821
|
-
const Wrapper$8 =
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
4137
|
+
const Wrapper$8 = styled.div`
|
|
4138
|
+
display: inline-block;
|
|
4139
|
+
|
|
4140
|
+
> label {
|
|
4141
|
+
margin-bottom: ${/*#__PURE__*/rem('5px')};
|
|
4142
|
+
color: ${props => props.error ? field.errorBorderColor : colors.grey500};
|
|
4143
|
+
|
|
4144
|
+
span {
|
|
4145
|
+
color: ${props => props.error ? field.errorBorderColor : field.color};
|
|
4146
|
+
}
|
|
4147
|
+
}
|
|
4148
|
+
|
|
4149
|
+
&:not(:last-child) {
|
|
4150
|
+
margin-bottom: ${/*#__PURE__*/rem('15px')};
|
|
4151
|
+
}
|
|
4152
|
+
`;
|
|
2825
4153
|
|
|
2826
4154
|
const FormGroup = props => {
|
|
2827
4155
|
const {
|
|
@@ -2838,18 +4166,81 @@ const FormGroup = props => {
|
|
|
2838
4166
|
}), children);
|
|
2839
4167
|
};
|
|
2840
4168
|
|
|
2841
|
-
const Wrapper$9 =
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
4169
|
+
const Wrapper$9 = styled.div`
|
|
4170
|
+
border: ${field.borderWidth} solid ${field.borderColor};
|
|
4171
|
+
border-radius: ${field.borderRadius};
|
|
4172
|
+
max-width: max-content;
|
|
4173
|
+
height: ${field.height};
|
|
4174
|
+
display: flex;
|
|
4175
|
+
overflow: hidden;
|
|
4176
|
+
|
|
4177
|
+
button,
|
|
4178
|
+
input {
|
|
4179
|
+
&:disabled {
|
|
4180
|
+
cursor: inherit;
|
|
4181
|
+
background-color: ${field.disabledBackgroundColor};
|
|
4182
|
+
|
|
4183
|
+
svg {
|
|
4184
|
+
fill: ${field.disabledColor};
|
|
4185
|
+
}
|
|
4186
|
+
|
|
4187
|
+
&:hover {
|
|
4188
|
+
pointer-events: none;
|
|
4189
|
+
}
|
|
4190
|
+
}
|
|
4191
|
+
}
|
|
4192
|
+
`;
|
|
4193
|
+
const Input = styled.input`
|
|
4194
|
+
border: 0;
|
|
4195
|
+
width: ${props => props.max != null && props.max.toString().length > 5 ? props.max.toString().length * 10 + 20 + 'px' : '70px'};
|
|
4196
|
+
height: ${field.height};
|
|
4197
|
+
padding: ${/*#__PURE__*/rem('10px')};
|
|
4198
|
+
font-family: inherit;
|
|
4199
|
+
font-size: ${typography.defaultSize};
|
|
4200
|
+
text-align: center;
|
|
4201
|
+
-moz-appearance: textfield;
|
|
4202
|
+
|
|
4203
|
+
&::-webkit-outer-spin-button,
|
|
4204
|
+
&::-webkit-inner-spin-button {
|
|
4205
|
+
-webkit-appearance: none;
|
|
4206
|
+
margin: 0;
|
|
4207
|
+
}
|
|
4208
|
+
|
|
4209
|
+
&:focus {
|
|
4210
|
+
outline: none;
|
|
4211
|
+
}
|
|
4212
|
+
|
|
4213
|
+
&:invalid {
|
|
4214
|
+
box-shadow: none;
|
|
4215
|
+
background-color: ${field.errorBackgroundColor};
|
|
4216
|
+
}
|
|
4217
|
+
`;
|
|
4218
|
+
const Button$1 = styled.button`
|
|
4219
|
+
width: ${field.height};
|
|
4220
|
+
height: ${field.height};
|
|
4221
|
+
border: 0;
|
|
4222
|
+
background-color: ${field.borderColor};
|
|
4223
|
+
cursor: pointer;
|
|
4224
|
+
transition-duration: ${misc.transitionDuration};
|
|
4225
|
+
|
|
4226
|
+
&.remove-button {
|
|
4227
|
+
border-right: ${field.borderWidth} solid ${field.borderColor};
|
|
4228
|
+
}
|
|
4229
|
+
|
|
4230
|
+
&.add-button {
|
|
4231
|
+
border-left: ${field.borderWidth} solid ${field.borderColor};
|
|
4232
|
+
}
|
|
4233
|
+
|
|
4234
|
+
svg {
|
|
4235
|
+
width: auto;
|
|
4236
|
+
height: ${/*#__PURE__*/rem('20px')};
|
|
4237
|
+
fill: ${colors.purple300};
|
|
4238
|
+
}
|
|
4239
|
+
|
|
4240
|
+
&:hover {
|
|
4241
|
+
background-color: ${field.hoverBorderColor};
|
|
4242
|
+
}
|
|
4243
|
+
`;
|
|
2853
4244
|
|
|
2854
4245
|
const NumberInputSpinner = props => {
|
|
2855
4246
|
const {
|
|
@@ -2910,14 +4301,91 @@ const NumberInputSpinner = props => {
|
|
|
2910
4301
|
})));
|
|
2911
4302
|
};
|
|
2912
4303
|
|
|
2913
|
-
const Steps =
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2920
|
-
|
|
4304
|
+
const Steps = styled.ul`
|
|
4305
|
+
margin: 0;
|
|
4306
|
+
width: 100%;
|
|
4307
|
+
padding: 0;
|
|
4308
|
+
display: flex;
|
|
4309
|
+
`;
|
|
4310
|
+
const Step = styled.li`
|
|
4311
|
+
list-style: none;
|
|
4312
|
+
flex: 1;
|
|
4313
|
+
position: relative;
|
|
4314
|
+
height: ${/*#__PURE__*/rem('44px')};
|
|
4315
|
+
display: flex;
|
|
4316
|
+
justify-content: center;
|
|
4317
|
+
align-items: center;
|
|
4318
|
+
padding-right: ${/*#__PURE__*/rem('18px')};
|
|
4319
|
+
text-align: center;
|
|
4320
|
+
|
|
4321
|
+
&:before,
|
|
4322
|
+
&:after {
|
|
4323
|
+
content: '';
|
|
4324
|
+
position: absolute;
|
|
4325
|
+
top: 0;
|
|
4326
|
+
border: 0 solid
|
|
4327
|
+
${props => props.active ? field.successBackgroundColor : field.borderColor};
|
|
4328
|
+
border-width: ${/*#__PURE__*/rem('22px')} ${/*#__PURE__*/rem('15px')};
|
|
4329
|
+
width: 0;
|
|
4330
|
+
height: 0;
|
|
4331
|
+
}
|
|
4332
|
+
|
|
4333
|
+
&:before {
|
|
4334
|
+
left: ${/*#__PURE__*/rem('-15px')};
|
|
4335
|
+
border-left-color: transparent;
|
|
4336
|
+
}
|
|
4337
|
+
|
|
4338
|
+
&:after {
|
|
4339
|
+
left: calc(100% - ${/*#__PURE__*/rem('18px')});
|
|
4340
|
+
border-color: transparent;
|
|
4341
|
+
border-left-color: ${props => props.active ? field.successBackgroundColor : field.borderColor};
|
|
4342
|
+
}
|
|
4343
|
+
|
|
4344
|
+
&:first-child:before {
|
|
4345
|
+
border: none;
|
|
4346
|
+
}
|
|
4347
|
+
|
|
4348
|
+
&:last-child:after {
|
|
4349
|
+
border: none;
|
|
4350
|
+
}
|
|
4351
|
+
|
|
4352
|
+
&:first-child {
|
|
4353
|
+
overflow: hidden;
|
|
4354
|
+
|
|
4355
|
+
> div {
|
|
4356
|
+
border-radius: ${field.borderRadius} 0 0 ${field.borderRadius};
|
|
4357
|
+
}
|
|
4358
|
+
}
|
|
4359
|
+
|
|
4360
|
+
&:last-child {
|
|
4361
|
+
padding-right: 0;
|
|
4362
|
+
|
|
4363
|
+
> div {
|
|
4364
|
+
border-radius: 0 ${field.borderRadius} ${field.borderRadius} 0;
|
|
4365
|
+
}
|
|
4366
|
+
}
|
|
4367
|
+
|
|
4368
|
+
> div {
|
|
4369
|
+
background-color: ${props => props.active ? field.successBackgroundColor : field.borderColor};
|
|
4370
|
+
width: 100%;
|
|
4371
|
+
height: 100%;
|
|
4372
|
+
display: flex;
|
|
4373
|
+
justify-content: center;
|
|
4374
|
+
align-items: center;
|
|
4375
|
+
|
|
4376
|
+
span {
|
|
4377
|
+
width: min-content;
|
|
4378
|
+
font-size: ${typography.fontSizeSm};
|
|
4379
|
+
color: ${props => props.active ? colors.white : colors.purple300};
|
|
4380
|
+
|
|
4381
|
+
@media ${device.s} {
|
|
4382
|
+
width: 100%;
|
|
4383
|
+
font-size: ${typography.defaultSize};
|
|
4384
|
+
font-weight: ${typography.semiBold};
|
|
4385
|
+
}
|
|
4386
|
+
}
|
|
4387
|
+
}
|
|
4388
|
+
`;
|
|
2921
4389
|
|
|
2922
4390
|
const WizardSteps = props => {
|
|
2923
4391
|
const {
|
|
@@ -2937,7 +4405,7 @@ const WizardSteps = props => {
|
|
|
2937
4405
|
}, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, step.value))))));
|
|
2938
4406
|
};
|
|
2939
4407
|
|
|
2940
|
-
const PaginationWrapper =
|
|
4408
|
+
const PaginationWrapper = styled.div`
|
|
2941
4409
|
--size: ${/*#__PURE__*/rem('30px')};
|
|
2942
4410
|
|
|
2943
4411
|
ul.pagination {
|
|
@@ -3063,7 +4531,7 @@ const PaginationControl = props => {
|
|
|
3063
4531
|
}));
|
|
3064
4532
|
};
|
|
3065
4533
|
|
|
3066
|
-
const Wrapper$a =
|
|
4534
|
+
const Wrapper$a = styled.div`
|
|
3067
4535
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
3068
4536
|
display: flex;
|
|
3069
4537
|
flex-direction: column;
|
|
@@ -3106,7 +4574,7 @@ const Error = props => {
|
|
|
3106
4574
|
}) : /*#__PURE__*/React.createElement("span", null, "\xAF\\\\_(\u30C4)_/\xAF"), value && /*#__PURE__*/React.createElement("span", null, value));
|
|
3107
4575
|
};
|
|
3108
4576
|
|
|
3109
|
-
const Wrapper$b =
|
|
4577
|
+
const Wrapper$b = styled.div`
|
|
3110
4578
|
min-height: 50vh;
|
|
3111
4579
|
display: flex;
|
|
3112
4580
|
flex-direction: column;
|
|
@@ -5093,7 +6561,7 @@ const DataWarning = props => {
|
|
|
5093
6561
|
}, icon, /*#__PURE__*/React.createElement("div", null, children));
|
|
5094
6562
|
};
|
|
5095
6563
|
|
|
5096
|
-
const Wrapper$c =
|
|
6564
|
+
const Wrapper$c = styled.ul`
|
|
5097
6565
|
display: flex;
|
|
5098
6566
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5099
6567
|
position: relative;
|
|
@@ -5125,7 +6593,7 @@ const Wrapper$c = _styled.ul`
|
|
|
5125
6593
|
margin-top: ${/*#__PURE__*/rem('10px')};
|
|
5126
6594
|
}
|
|
5127
6595
|
`;
|
|
5128
|
-
const Item =
|
|
6596
|
+
const Item = styled.li`
|
|
5129
6597
|
--size: ${/*#__PURE__*/rem('24px')};
|
|
5130
6598
|
display: flex;
|
|
5131
6599
|
position: relative;
|
|
@@ -5233,7 +6701,7 @@ const RadioGroup = props => {
|
|
|
5233
6701
|
}) : null);
|
|
5234
6702
|
};
|
|
5235
6703
|
|
|
5236
|
-
const Wrapper$d =
|
|
6704
|
+
const Wrapper$d = styled.ul`
|
|
5237
6705
|
display: flex;
|
|
5238
6706
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5239
6707
|
position: relative;
|
|
@@ -5287,12 +6755,12 @@ const CheckboxGroup = props => {
|
|
|
5287
6755
|
}) : null);
|
|
5288
6756
|
};
|
|
5289
6757
|
|
|
5290
|
-
const Wrapper$e =
|
|
6758
|
+
const Wrapper$e = styled.div`
|
|
5291
6759
|
label {
|
|
5292
6760
|
margin-bottom: ${/*#__PURE__*/rem('5px')};
|
|
5293
6761
|
}
|
|
5294
6762
|
`;
|
|
5295
|
-
const Field =
|
|
6763
|
+
const Field = styled.div`
|
|
5296
6764
|
display: flex;
|
|
5297
6765
|
flex-wrap: wrap;
|
|
5298
6766
|
|
|
@@ -5503,22 +6971,88 @@ function HorizontalNav(props) {
|
|
|
5503
6971
|
}));
|
|
5504
6972
|
}
|
|
5505
6973
|
|
|
5506
|
-
const ModalOverlay =
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5512
|
-
|
|
5513
|
-
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
6974
|
+
const ModalOverlay = styled.div`
|
|
6975
|
+
position: fixed;
|
|
6976
|
+
top: 0;
|
|
6977
|
+
left: 0;
|
|
6978
|
+
background-color: ${/*#__PURE__*/rgba(colors.black, 0.8)};
|
|
6979
|
+
width: 100vw;
|
|
6980
|
+
height: 100vh;
|
|
6981
|
+
z-index: ${props => props.zIndex ? props.zIndex : 10};
|
|
6982
|
+
`;
|
|
6983
|
+
const ModalWrapper = styled.div`
|
|
6984
|
+
position: fixed;
|
|
6985
|
+
top: 0;
|
|
6986
|
+
left: 0;
|
|
6987
|
+
width: 100%;
|
|
6988
|
+
height: 100vh;
|
|
6989
|
+
z-index: ${props => props.zIndex + 1};
|
|
6990
|
+
overflow-x: hidden;
|
|
6991
|
+
overflow-y: auto;
|
|
6992
|
+
-webkit-scrollbar-width: none;
|
|
6993
|
+
-moz-scrollbar-width: none;
|
|
6994
|
+
-ms-scrollbar-width: none;
|
|
6995
|
+
scrollbar-width: none;
|
|
6996
|
+
-webkit-overflow-scrolling: touch;
|
|
6997
|
+
-ms-overflow-style: -ms-autohiding-scrollbar;
|
|
6998
|
+
|
|
6999
|
+
@media ${device.s} {
|
|
7000
|
+
display: flex;
|
|
7001
|
+
justify-content: center;
|
|
7002
|
+
align-items: ${props => props.modalOverflow ? 'flex-start' : 'center'};
|
|
7003
|
+
}
|
|
7004
|
+
`;
|
|
7005
|
+
const ModalContainer = styled.div`
|
|
7006
|
+
position: relative;
|
|
7007
|
+
background: ${colors.white};
|
|
7008
|
+
width: 100%;
|
|
7009
|
+
min-height: 0;
|
|
7010
|
+
padding: ${/*#__PURE__*/rem('15px')};
|
|
7011
|
+
word-wrap: break-word;
|
|
7012
|
+
transition-duration: ${misc.transitionDuration};
|
|
7013
|
+
|
|
7014
|
+
@media ${device.s} {
|
|
7015
|
+
--spacing: ${/*#__PURE__*/rem('30px')};
|
|
7016
|
+
margin: var(--spacing);
|
|
7017
|
+
border-radius: ${field.borderRadius};
|
|
7018
|
+
max-width: ${/*#__PURE__*/rem('860px')};
|
|
7019
|
+
padding: var(--spacing);
|
|
7020
|
+
|
|
7021
|
+
&:after {
|
|
7022
|
+
content: '';
|
|
7023
|
+
position: absolute;
|
|
7024
|
+
bottom: calc(var(--spacing) * -1);
|
|
7025
|
+
width: ${/*#__PURE__*/rem('1px')};
|
|
7026
|
+
height: var(--spacing);
|
|
7027
|
+
}
|
|
7028
|
+
}
|
|
7029
|
+
`;
|
|
7030
|
+
const ModalHeader = styled.div`
|
|
7031
|
+
display: flex;
|
|
7032
|
+
|
|
7033
|
+
h2 {
|
|
7034
|
+
margin: 0 0 ${/*#__PURE__*/rem('30px')} 0;
|
|
7035
|
+
font-size: ${/*#__PURE__*/rem('32px')};
|
|
7036
|
+
font-weight: ${typography.semiBold};
|
|
7037
|
+
}
|
|
7038
|
+
|
|
7039
|
+
button {
|
|
7040
|
+
display: none;
|
|
7041
|
+
position: absolute;
|
|
7042
|
+
top: 0;
|
|
7043
|
+
right: 0;
|
|
7044
|
+
margin: ${/*#__PURE__*/rem('-14px')} ${/*#__PURE__*/rem('-14px')} 0 0;
|
|
7045
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${colors.grey200};
|
|
7046
|
+
min-width: ${/*#__PURE__*/rem('28px')};
|
|
7047
|
+
height: ${/*#__PURE__*/rem('28px')};
|
|
7048
|
+
z-index: 1;
|
|
7049
|
+
outline: none;
|
|
7050
|
+
|
|
7051
|
+
@media ${device.s} {
|
|
7052
|
+
display: inherit;
|
|
7053
|
+
}
|
|
7054
|
+
}
|
|
7055
|
+
`;
|
|
5522
7056
|
|
|
5523
7057
|
const Modal = props => {
|
|
5524
7058
|
const {
|
|
@@ -5569,35 +7103,72 @@ const Modal = props => {
|
|
|
5569
7103
|
})))), document.body)) : /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
5570
7104
|
};
|
|
5571
7105
|
|
|
5572
|
-
const
|
|
5573
|
-
|
|
5574
|
-
|
|
7106
|
+
const ModalOverlay$1 = styled.div`
|
|
7107
|
+
position: fixed;
|
|
7108
|
+
top: 0;
|
|
7109
|
+
left: 0;
|
|
7110
|
+
background-color: ${/*#__PURE__*/rgba(colors.black, 0.8)};
|
|
7111
|
+
width: 100vw;
|
|
7112
|
+
height: 100vh;
|
|
7113
|
+
z-index: ${props => props.zIndex ? props.zIndex : 10};
|
|
7114
|
+
`;
|
|
7115
|
+
const ModalWrapper$1 = styled.div`
|
|
7116
|
+
position: fixed;
|
|
7117
|
+
top: 0;
|
|
7118
|
+
left: 0;
|
|
7119
|
+
width: 100%;
|
|
7120
|
+
height: 100%;
|
|
7121
|
+
overflow-x: hidden;
|
|
7122
|
+
overflow-y: auto;
|
|
7123
|
+
z-index: ${props => props.zIndex + 1};
|
|
7124
|
+
`;
|
|
7125
|
+
const ModalContainer$1 = styled.div`
|
|
7126
|
+
@keyframes slideInLeft {
|
|
7127
|
+
from {
|
|
7128
|
+
transform: translateX(100%);
|
|
7129
|
+
}
|
|
7130
|
+
|
|
7131
|
+
to {
|
|
7132
|
+
transform: translateX(0);
|
|
7133
|
+
}
|
|
7134
|
+
}
|
|
7135
|
+
|
|
7136
|
+
margin-left: auto;
|
|
7137
|
+
background: ${colors.white};
|
|
7138
|
+
width: 100%;
|
|
7139
|
+
min-height: 100vh;
|
|
7140
|
+
display: flex;
|
|
7141
|
+
flex-direction: column;
|
|
7142
|
+
padding: ${/*#__PURE__*/rem('15px')};
|
|
7143
|
+
word-wrap: break-word;
|
|
7144
|
+
animation-timing-function: ${/*#__PURE__*/timingFunctions('easeOutQuint')};
|
|
7145
|
+
animation-duration: 1s;
|
|
7146
|
+
animation-fill-mode: forwards;
|
|
7147
|
+
transform: translateX(100%);
|
|
7148
|
+
animation-name: slideInLeft;
|
|
7149
|
+
|
|
7150
|
+
@media ${device.s} {
|
|
7151
|
+
max-width: ${/*#__PURE__*/rem('400px')};
|
|
7152
|
+
padding: ${/*#__PURE__*/rem('30px')};
|
|
7153
|
+
}
|
|
7154
|
+
`;
|
|
7155
|
+
const ModalHeader$1 = styled.div`
|
|
7156
|
+
top: 0;
|
|
7157
|
+
|
|
7158
|
+
h2 {
|
|
7159
|
+
margin: 0 0 ${/*#__PURE__*/rem('30px')} 0;
|
|
7160
|
+
font-size: ${/*#__PURE__*/rem('32px')};
|
|
7161
|
+
font-weight: ${typography.semiBold};
|
|
5575
7162
|
}
|
|
7163
|
+
`;
|
|
7164
|
+
const ModalContent = styled.div`
|
|
7165
|
+
display: flex;
|
|
7166
|
+
flex-direction: column;
|
|
5576
7167
|
|
|
5577
|
-
|
|
5578
|
-
|
|
7168
|
+
@media ${device.s} {
|
|
7169
|
+
flex: 1;
|
|
5579
7170
|
}
|
|
5580
7171
|
`;
|
|
5581
|
-
const ModalOverlay$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5582
|
-
displayName: "styles__ModalOverlay",
|
|
5583
|
-
componentId: "sc-46huls-0"
|
|
5584
|
-
})(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
|
|
5585
|
-
const ModalWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5586
|
-
displayName: "styles__ModalWrapper",
|
|
5587
|
-
componentId: "sc-46huls-1"
|
|
5588
|
-
})(["position:fixed;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;z-index:", ";"], props => props.zIndex + 1);
|
|
5589
|
-
const ModalContainer$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5590
|
-
displayName: "styles__ModalContainer",
|
|
5591
|
-
componentId: "sc-46huls-2"
|
|
5592
|
-
})(["margin-left:auto;background:", ";width:100%;min-height:100vh;display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translateX(100%);animation-name:", ";@media ", "{max-width:", ";padding:", ";}"], colors.white, /*#__PURE__*/rem('15px'), /*#__PURE__*/timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/rem('400px'), /*#__PURE__*/rem('30px'));
|
|
5593
|
-
const ModalHeader$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5594
|
-
displayName: "styles__ModalHeader",
|
|
5595
|
-
componentId: "sc-46huls-3"
|
|
5596
|
-
})(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('32px'), typography.semiBold);
|
|
5597
|
-
const ModalContent = /*#__PURE__*/_styled.div.withConfig({
|
|
5598
|
-
displayName: "styles__ModalContent",
|
|
5599
|
-
componentId: "sc-46huls-4"
|
|
5600
|
-
})(["display:flex;flex-direction:column;@media ", "{flex:1;}"], device.s);
|
|
5601
7172
|
|
|
5602
7173
|
const ModalDrawer = props => {
|
|
5603
7174
|
const {
|
|
@@ -5650,7 +7221,7 @@ const ModalDrawer = props => {
|
|
|
5650
7221
|
}))))), document.body)) : /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
5651
7222
|
};
|
|
5652
7223
|
|
|
5653
|
-
const Wrapper$f =
|
|
7224
|
+
const Wrapper$f = styled.div`
|
|
5654
7225
|
div {
|
|
5655
7226
|
width: 100%;
|
|
5656
7227
|
height: 100%;
|
|
@@ -5745,7 +7316,7 @@ const Wrapper$f = _styled.div`
|
|
|
5745
7316
|
}
|
|
5746
7317
|
}
|
|
5747
7318
|
`;
|
|
5748
|
-
const Grid =
|
|
7319
|
+
const Grid = styled.div`
|
|
5749
7320
|
display: grid;
|
|
5750
7321
|
grid-template-columns: repeat(auto-fill, ${/*#__PURE__*/rem('300px')});
|
|
5751
7322
|
grid-gap: ${/*#__PURE__*/rem('15px')};
|
|
@@ -5818,7 +7389,7 @@ const LoadingState = props => {
|
|
|
5818
7389
|
}, loadingType);
|
|
5819
7390
|
};
|
|
5820
7391
|
|
|
5821
|
-
const Wrapper$g =
|
|
7392
|
+
const Wrapper$g = styled.div`
|
|
5822
7393
|
.tab {
|
|
5823
7394
|
border-color: ${field.borderColor};
|
|
5824
7395
|
|
|
@@ -6006,16 +7577,16 @@ const TabsPanel = props => {
|
|
|
6006
7577
|
}));
|
|
6007
7578
|
};
|
|
6008
7579
|
|
|
6009
|
-
const Wrapper$h =
|
|
7580
|
+
const Wrapper$h = styled.div`
|
|
6010
7581
|
display: flex;
|
|
6011
7582
|
flex-direction: column;
|
|
6012
7583
|
`;
|
|
6013
|
-
const GridRow =
|
|
7584
|
+
const GridRow = styled.div`
|
|
6014
7585
|
@media ${device.m} {
|
|
6015
7586
|
display: flex;
|
|
6016
7587
|
}
|
|
6017
7588
|
`;
|
|
6018
|
-
const GridCol =
|
|
7589
|
+
const GridCol = styled.div`
|
|
6019
7590
|
@media ${device.m} {
|
|
6020
7591
|
flex: ${props => props.size};
|
|
6021
7592
|
}
|