@taikai/rocket-kit 3.0.10-beta.2 → 3.0.10

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.
@@ -7,8 +7,8 @@ function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'defau
7
7
  var React = require('react');
8
8
  var React__default = _interopDefault(React);
9
9
  var Avatar = _interopDefault(require('boring-avatars'));
10
- var _styled = require('styled-components');
11
- var _styled__default = _interopDefault(_styled);
10
+ var styled = require('styled-components');
11
+ var styled__default = _interopDefault(styled);
12
12
  var polished = require('polished');
13
13
  var Select$1 = require('react-select');
14
14
  var Select$1__default = _interopDefault(Select$1);
@@ -198,10 +198,24 @@ const field = {
198
198
  placeholderColor: colors.grey200
199
199
  };
200
200
 
201
- const Wrapper = /*#__PURE__*/_styled__default.div.withConfig({
202
- displayName: "styles__Wrapper",
203
- componentId: "sc-1oawilb-0"
204
- })(["position:relative;border:", " solid ", ";border-radius:", ";width:", "px;height:", "px;overflow:hidden;z-index:0;> *{width:100%;height:100%;}img{object-fit:cover;}"], /*#__PURE__*/polished.rem('2px'), colors.grey200, props => props.square ? 0 : '999px', props => props.size, props => props.size);
201
+ const Wrapper = styled__default.div`
202
+ position: relative;
203
+ border: ${/*#__PURE__*/polished.rem('2px')} solid ${colors.grey200};
204
+ border-radius: ${props => props.square ? 0 : '999px'};
205
+ width: ${props => props.size}px;
206
+ height: ${props => props.size}px;
207
+ overflow: hidden;
208
+ z-index: 0;
209
+
210
+ > * {
211
+ width: 100%;
212
+ height: 100%;
213
+ }
214
+
215
+ img {
216
+ object-fit: cover;
217
+ }
218
+ `;
205
219
 
206
220
  const AvatarImage = props => {
207
221
  const {
@@ -252,10 +266,82 @@ const useColor = value => {
252
266
  };
253
267
  };
254
268
 
255
- const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
256
- displayName: "styles__ButtonWrapper",
257
- componentId: "sc-baestp-0"
258
- })(["--bg:", ";--txt:", ";--hover:", ";margin:0;border-width:", ";border-style:solid;border-color:var(--bg);border-radius:", ";background-color:", ";width:min-content;min-width:", ";height:", ";display:flex;justify-content:center;align-items:center;padding:", ";white-space:nowrap;text-decoration:none;transition-duration:", ";cursor:pointer;outline:none;&:hover{border-color:", ";background-color:", ";span{color:", ";}svg{fill:", ";}}&:disabled{cursor:inherit;opacity:0.5;&:hover{background-color:", ";pointer-events:none;}}> *:not(:last-child){margin-left:", ";margin-right:", ";}.spinner{order:", ";border-top-color:", ";}span{position:relative;font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;transition-duration:", ";order:", ";}svg{order:", ";width:", ";height:", ";fill:", ";transition:", ";}"], props => useColor(props.color ?? 'black').color, props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color, props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover, props => props.variant === 'outline' ? button.borderWidth : 0, props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius, props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.value ? polished.rem('80px') : polished.rem('42px'), button.height, props => props.value ? `0 ${button.padding}` : 0, misc.transitionDuration, props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--hover)' : 'transparent', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.iconPosition === 'right' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? 1 : 2, props => props.variant === 'solid' ? '' : 'var(--button)', /*#__PURE__*/polished.rem(typography.defaultSize), typography.medium, /*#__PURE__*/polished.rem(typography.defaultSize), props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration, props => props.iconPosition === 'left' ? 2 : 1, props => props.iconPosition === 'left' ? 1 : 2, button.iconSize, button.iconSize, props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration);
269
+ const ButtonWrapper = styled__default.button`
270
+ --bg: ${props => useColor(props.color ?? 'black').color};
271
+ --txt: ${props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color};
272
+ --hover: ${props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover};
273
+
274
+ margin: 0;
275
+ border-width: ${props => props.variant === 'outline' ? button.borderWidth : 0};
276
+ border-style: solid;
277
+ border-color: var(--bg);
278
+ border-radius: ${props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius};
279
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
280
+ width: min-content;
281
+ min-width: ${props => props.value ? polished.rem('80px') : polished.rem('42px')};
282
+ height: ${button.height};
283
+ display: flex;
284
+ justify-content: center;
285
+ align-items: center;
286
+ padding: ${props => props.value ? `0 ${button.padding}` : 0};
287
+ white-space: nowrap;
288
+ text-decoration: none;
289
+ transition-duration: ${misc.transitionDuration};
290
+ cursor: pointer;
291
+ outline: none;
292
+
293
+ &:hover {
294
+ border-color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
295
+ background-color: ${props => props.variant === 'solid' ? 'var(--hover)' : 'transparent'};
296
+
297
+ span {
298
+ color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
299
+ }
300
+
301
+ svg {
302
+ fill: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
303
+ }
304
+ }
305
+
306
+ &:disabled {
307
+ cursor: inherit;
308
+ opacity: 0.5;
309
+
310
+ &:hover {
311
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
312
+ pointer-events: none;
313
+ }
314
+ }
315
+
316
+ > *:not(:last-child) {
317
+ margin-left: ${props => props.iconPosition === 'right' ? button.iconSpacing : 0};
318
+ margin-right: ${props => props.iconPosition === 'left' ? button.iconSpacing : 0};
319
+ }
320
+
321
+ .spinner {
322
+ order: ${props => props.iconPosition === 'left' ? 1 : 2};
323
+ border-top-color: ${props => props.variant === 'solid' ? '' : 'var(--button)'};
324
+ }
325
+
326
+ span {
327
+ position: relative;
328
+ font-size: ${/*#__PURE__*/polished.rem(typography.defaultSize)};
329
+ font-weight: ${typography.medium};
330
+ line-height: ${/*#__PURE__*/polished.rem(typography.defaultSize)};
331
+ color: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
332
+ pointer-events: none;
333
+ transition-duration: ${misc.transitionDuration};
334
+ order: ${props => props.iconPosition === 'left' ? 2 : 1};
335
+ }
336
+
337
+ svg {
338
+ order: ${props => props.iconPosition === 'left' ? 1 : 2};
339
+ width: ${button.iconSize};
340
+ height: ${button.iconSize};
341
+ fill: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
342
+ transition: ${misc.transitionDuration};
343
+ }
344
+ `;
259
345
 
260
346
  const Button = props => {
261
347
  const {
@@ -298,10 +384,79 @@ const Button = props => {
298
384
  }) : null, value && /*#__PURE__*/React__default.createElement("span", null, value));
299
385
  };
300
386
 
301
- const ActionsMenuStyle = /*#__PURE__*/_styled__default.div.withConfig({
302
- displayName: "styles__ActionsMenuStyle",
303
- componentId: "sc-1j5ogfi-0"
304
- })(["position:relative;ul{position:absolute;opacity:0;top:0;margin:0;border:", " solid ", ";border-radius:", ";background-color:", ";min-width:", ";max-width:", ";height:0;max-height:none;padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";overflow-y:hidden;z-index:1;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;transition-duration:", ";&.isOpen{opacity:1;height:calc(", " * ", " + ", ");max-height:", ";}li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}}"], /*#__PURE__*/polished.rem('1px'), field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), field.boxShadow, /*#__PURE__*/polished.rem('15px'), field.boxShadow, /*#__PURE__*/polished.rem('15px'), field.boxShadow, misc.transitionDuration, /*#__PURE__*/polished.rem('45px'), props => props.visibleActions, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('1280px'), /*#__PURE__*/polished.rem('45px'), field.borderColor, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('20px'), field.color);
387
+ const ActionsMenuStyle = styled__default.div`
388
+ position: relative;
389
+
390
+ ul {
391
+ position: absolute;
392
+ opacity: 0;
393
+ top: 0;
394
+ margin: 0;
395
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
396
+ border-radius: ${field.borderRadius};
397
+ background-color: ${field.backgroundColor};
398
+ min-width: ${/*#__PURE__*/polished.rem('200px')};
399
+ max-width: ${/*#__PURE__*/polished.rem('250px')};
400
+ height: 0;
401
+ max-height: none;
402
+ padding: 0;
403
+ -moz-box-shadow: 0 0 ${/*#__PURE__*/polished.rem('15px')} 0 ${field.boxShadow};
404
+ -webkit-box-shadow: 0 0 ${/*#__PURE__*/polished.rem('15px')} 0 ${field.boxShadow};
405
+ box-shadow: 0 0 ${/*#__PURE__*/polished.rem('15px')} 0 ${field.boxShadow};
406
+ overflow-y: hidden;
407
+ z-index: 1;
408
+ -webkit-scrollbar-width: none;
409
+ -moz-scrollbar-width: none;
410
+ -ms-scrollbar-width: none;
411
+ scrollbar-width: none;
412
+ -webkit-overflow-scrolling: touch;
413
+ -ms-overflow-style: -ms-autohiding-scrollbar;
414
+ transition-duration: ${misc.transitionDuration};
415
+
416
+ &.isOpen {
417
+ opacity: 1;
418
+ // prettier-ignore
419
+ height: calc(${/*#__PURE__*/polished.rem('45px')} * ${props => props.visibleActions} + ${/*#__PURE__*/polished.rem('2px')});
420
+ max-height: ${/*#__PURE__*/polished.rem('1280px')};
421
+ }
422
+
423
+ li {
424
+ list-style: none;
425
+ min-height: ${/*#__PURE__*/polished.rem('45px')};
426
+ display: flex;
427
+ transition-duration: 0.3s;
428
+
429
+ &:hover {
430
+ background-color: ${field.borderColor};
431
+ cursor: pointer;
432
+ }
433
+
434
+ &:first-child {
435
+ border-radius: ${/*#__PURE__*/polished.rem('4px')} ${/*#__PURE__*/polished.rem('4px')} 0 0;
436
+ }
437
+
438
+ &:last-child {
439
+ border-radius: 0 0 ${/*#__PURE__*/polished.rem('4px')} ${/*#__PURE__*/polished.rem('4px')};
440
+ }
441
+
442
+ a {
443
+ width: 100%;
444
+ display: flex;
445
+ align-items: center;
446
+ padding: 0 ${/*#__PURE__*/polished.rem('20px')};
447
+ color: ${field.color};
448
+ text-decoration: none;
449
+ white-space: nowrap;
450
+
451
+ span {
452
+ display: table-cell;
453
+ overflow: hidden;
454
+ text-overflow: ellipsis;
455
+ }
456
+ }
457
+ }
458
+ }
459
+ `;
305
460
 
306
461
  function useVisible(initialIsVisible) {
307
462
  const [isVisible, setIsVisible] = React.useState(initialIsVisible);
@@ -396,10 +551,65 @@ const ButtonDropdown = props => {
396
551
  }, /*#__PURE__*/React__default.createElement("span", null, value))))));
397
552
  };
398
553
 
399
- const ButtonLinkStyle = /*#__PURE__*/_styled__default.a.withConfig({
400
- displayName: "styles__ButtonLinkStyle",
401
- componentId: "sc-clge7v-0"
402
- })(["--bg:", ";--txt:", ";--hover:", ";border-width:", ";border-style:solid;border-color:var(--bg);border-radius:", ";background-color:", ";width:min-content;min-width:", ";height:", ";display:flex;justify-content:center;align-items:center;padding:", ";white-space:nowrap;text-decoration:none;transition-duration:", ";cursor:pointer;&:hover{border-color:", ";background-color:", ";span{color:", ";}svg{fill:", ";}}> *:not(:last-child){margin-left:", ";margin-right:", ";}span{position:relative;font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;transition-duration:", ";order:", ";}svg{order:", ";width:", ";height:", ";fill:", ";transition:", ";}"], props => useColor(props.color ?? 'black').color, props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color, props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover, props => props.variant === 'outline' ? button.borderWidth : 0, props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius, props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.value ? polished.rem('80px') : polished.rem('42px'), button.height, props => props.value ? `0 ${button.padding}` : 0, misc.transitionDuration, props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--hover)' : 'transparent', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.iconPosition === 'right' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? button.iconSpacing : 0, /*#__PURE__*/polished.rem(typography.defaultSize), typography.medium, /*#__PURE__*/polished.rem(typography.defaultSize), props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration, props => props.iconPosition === 'left' ? 2 : 1, props => props.iconPosition === 'left' ? 1 : 2, button.iconSize, button.iconSize, props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration);
554
+ const ButtonLinkStyle = styled__default.a`
555
+ --bg: ${props => useColor(props.color ?? 'black').color};
556
+ --txt: ${props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color};
557
+ --hover: ${props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover};
558
+
559
+ border-width: ${props => props.variant === 'outline' ? button.borderWidth : 0};
560
+ border-style: solid;
561
+ border-color: var(--bg);
562
+ border-radius: ${props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius};
563
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
564
+ width: min-content;
565
+ min-width: ${props => props.value ? polished.rem('80px') : polished.rem('42px')};
566
+ height: ${button.height};
567
+ display: flex;
568
+ justify-content: center;
569
+ align-items: center;
570
+ padding: ${props => props.value ? `0 ${button.padding}` : 0};
571
+ white-space: nowrap;
572
+ text-decoration: none;
573
+ transition-duration: ${misc.transitionDuration};
574
+ cursor: pointer;
575
+
576
+ &:hover {
577
+ border-color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
578
+ background-color: ${props => props.variant === 'solid' ? 'var(--hover)' : 'transparent'};
579
+
580
+ span {
581
+ color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
582
+ }
583
+
584
+ svg {
585
+ fill: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
586
+ }
587
+ }
588
+
589
+ > *:not(:last-child) {
590
+ margin-left: ${props => props.iconPosition === 'right' ? button.iconSpacing : 0};
591
+ margin-right: ${props => props.iconPosition === 'left' ? button.iconSpacing : 0};
592
+ }
593
+
594
+ span {
595
+ position: relative;
596
+ font-size: ${/*#__PURE__*/polished.rem(typography.defaultSize)};
597
+ font-weight: ${typography.medium};
598
+ line-height: ${/*#__PURE__*/polished.rem(typography.defaultSize)};
599
+ color: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
600
+ pointer-events: none;
601
+ transition-duration: ${misc.transitionDuration};
602
+ order: ${props => props.iconPosition === 'left' ? 2 : 1};
603
+ }
604
+
605
+ svg {
606
+ order: ${props => props.iconPosition === 'left' ? 1 : 2};
607
+ width: ${button.iconSize};
608
+ height: ${button.iconSize};
609
+ fill: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
610
+ transition: ${misc.transitionDuration};
611
+ }
612
+ `;
403
613
 
404
614
  const ButtonLink = props => {
405
615
  const {
@@ -447,22 +657,94 @@ const ButtonLink = props => {
447
657
  }), value && /*#__PURE__*/React__default.createElement("span", null, value));
448
658
  };
449
659
 
450
- const CheckboxWrapper = /*#__PURE__*/_styled__default.label.withConfig({
451
- displayName: "styles__CheckboxWrapper",
452
- componentId: "sc-w5t014-0"
453
- })(["display:flex;position:relative;padding-left:0;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;&:hover input:not(:disabled) ~ span{border-color:", ";}span{color:", ";border-color:", ";}"], props => props.disabled ? 'auto' : 'pointer', props => props.error ? field.errorBorderColor : field.hoverBorderColor, props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : null, props => props.error ? field.errorBorderColor : null);
454
- const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
455
- displayName: "styles__CheckboxLabel",
456
- componentId: "sc-w5t014-1"
457
- })(["margin-left:calc(", " + ", ");line-height:", ";"], /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('24px'));
458
- const CheckboxInput = /*#__PURE__*/_styled__default.input.withConfig({
459
- displayName: "styles__CheckboxInput",
460
- componentId: "sc-w5t014-2"
461
- })(["position:absolute;left:0;opacity:0;cursor:pointer;"]);
462
- const Checkmark = /*#__PURE__*/_styled__default.span.withConfig({
463
- displayName: "styles__Checkmark",
464
- componentId: "sc-w5t014-3"
465
- })(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:", ";&:after{display:block;content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}&.checked.not-disabled{background-color:", ";border-color:", ";&:after{display:block;}}&.checked.disabled{color:", ";border-color:transparent;background-color:", ";&:after{display:block;}}&.not-checked.disabled{border-color:", ";background-color:", ";}&.not-disabled:hover{border-color:", ";&:checked ~ span{border-color:", ";}}"], /*#__PURE__*/polished.rem('2px'), props => props.error ? field.errorBorderColor : field.borderColor, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), misc.transitionDuration, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), colors.white, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'), props => props.error ? field.errorBackgroundColor : field.successBackgroundColor, props => props.error ? field.errorBorderColor : field.successBorderColor, field.disabledColor, field.disabledBackgroundColor, field.disabledBackgroundColor, colors.white, props => props.error ? field.errorBorderColor : field.successBorderColor, props => props.error ? field.errorBorderColor : field.successBorderColor);
660
+ const CheckboxWrapper = styled__default.label`
661
+ display: flex;
662
+ position: relative;
663
+ padding-left: 0;
664
+ cursor: ${props => props.disabled ? 'auto' : 'pointer'};
665
+ -webkit-user-select: none;
666
+ -moz-user-select: none;
667
+ -ms-user-select: none;
668
+ user-select: none;
669
+
670
+ &:hover input:not(:disabled) ~ span {
671
+ border-color: ${props => props.error ? field.errorBorderColor : field.hoverBorderColor};
672
+ }
673
+
674
+ span {
675
+ color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : null};
676
+ border-color: ${props => props.error ? field.errorBorderColor : null};
677
+ }
678
+ `;
679
+ const CheckboxLabel = styled__default.span`
680
+ margin-left: calc(${/*#__PURE__*/polished.rem('24px')} + ${/*#__PURE__*/polished.rem('5px')});
681
+ line-height: ${/*#__PURE__*/polished.rem('24px')};
682
+ `;
683
+ const CheckboxInput = styled__default.input`
684
+ position: absolute;
685
+ left: 0;
686
+ opacity: 0;
687
+ cursor: pointer;
688
+ `;
689
+ const Checkmark = styled__default.span`
690
+ position: absolute;
691
+ top: 0;
692
+ left: 0;
693
+ border: ${/*#__PURE__*/polished.rem('2px')} solid
694
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
695
+ border-radius: 100%;
696
+ width: ${/*#__PURE__*/polished.rem('24px')};
697
+ height: ${/*#__PURE__*/polished.rem('24px')};
698
+ transition-duration: ${misc.transitionDuration};
699
+
700
+ &:after {
701
+ display: block;
702
+ content: '';
703
+ position: absolute;
704
+ display: none;
705
+ top: ${/*#__PURE__*/polished.rem('3px')};
706
+ left: ${/*#__PURE__*/polished.rem('6px')};
707
+ width: ${/*#__PURE__*/polished.rem('5px')};
708
+ height: ${/*#__PURE__*/polished.rem('9px')};
709
+ border: solid ${colors.white};
710
+ border-width: 0 ${/*#__PURE__*/polished.rem('3px')} ${/*#__PURE__*/polished.rem('3px')} 0;
711
+ -webkit-transform: rotate(45deg);
712
+ -ms-transform: rotate(45deg);
713
+ transform: rotate(45deg);
714
+ }
715
+
716
+ &.checked.not-disabled {
717
+ background-color: ${props => props.error ? field.errorBackgroundColor : field.successBackgroundColor};
718
+ border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
719
+
720
+ &:after {
721
+ display: block;
722
+ }
723
+ }
724
+
725
+ &.checked.disabled {
726
+ color: ${field.disabledColor};
727
+ border-color: transparent;
728
+ background-color: ${field.disabledBackgroundColor};
729
+
730
+ &:after {
731
+ display: block;
732
+ }
733
+ }
734
+
735
+ &.not-checked.disabled {
736
+ border-color: ${field.disabledBackgroundColor};
737
+ background-color: ${colors.white};
738
+ }
739
+
740
+ &.not-disabled:hover {
741
+ border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
742
+
743
+ &:checked ~ span {
744
+ border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
745
+ }
746
+ }
747
+ `;
466
748
 
467
749
  const Checkbox = ({
468
750
  label,
@@ -517,22 +799,101 @@ const Checkbox = ({
517
799
  }));
518
800
  };
519
801
 
520
- const CheckboxWrapper$1 = /*#__PURE__*/_styled__default.label.withConfig({
521
- displayName: "styles__CheckboxWrapper",
522
- componentId: "sc-itly0z-0"
523
- })(["border:", " solid ", ";border-radius:", ";background-color:", ";height:", ";display:flex;align-items:center;position:relative;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition-duration:", ";&:hover input:not(:disabled) ~ span{border-color:", ";}&:hover{background-color:", ";}span{color:", ";transition-duration:", ";}"], field.borderWidth, props => props.disabled ? field.borderColor : props.checked ? field.successBorderColor : field.borderColor, field.borderRadius, props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.backgroundColor, field.height, props => props.disabled ? 'auto' : 'pointer', misc.transitionDuration, field.hoverBorderColor, props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.borderColor, props => props.disabled ? field.disabledColor : props.checked ? colors.white : null, misc.transitionDuration);
524
- const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
525
- displayName: "styles__CheckboxLabel",
526
- componentId: "sc-itly0z-1"
527
- })(["margin-left:", ";line-height:", ";"], /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('24px'));
528
- const CheckboxInput$1 = /*#__PURE__*/_styled__default.input.withConfig({
529
- displayName: "styles__CheckboxInput",
530
- componentId: "sc-itly0z-2"
531
- })(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{background-color:", ";color:", ";&:after{display:block;border-color:", ";}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){&:checked ~ span{border-color:", ";}}"], colors.white, field.successBorderColor, field.disabledBackgroundColor, field.disabledColor, field.disabledColor, field.disabledBackgroundColor, field.backgroundColor, field.successBorderColor);
532
- const Checkmark$1 = /*#__PURE__*/_styled__default.span.withConfig({
533
- displayName: "styles__Checkmark",
534
- componentId: "sc-itly0z-3"
535
- })(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:", ";&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('2px'), field.borderColor, colors.white, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), misc.transitionDuration, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), props => props.disabled ? colors.white : field.successBorderColor, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'));
802
+ const CheckboxWrapper$1 = styled__default.label`
803
+ border: ${field.borderWidth} solid
804
+ ${props => props.disabled ? field.borderColor : props.checked ? field.successBorderColor : field.borderColor};
805
+ border-radius: ${field.borderRadius};
806
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.backgroundColor};
807
+ height: ${field.height};
808
+ display: flex;
809
+ align-items: center;
810
+ position: relative;
811
+ cursor: ${props => props.disabled ? 'auto' : 'pointer'};
812
+ -webkit-user-select: none;
813
+ -moz-user-select: none;
814
+ -ms-user-select: none;
815
+ user-select: none;
816
+ transition-duration: ${misc.transitionDuration};
817
+
818
+ &:hover input:not(:disabled) ~ span {
819
+ border-color: ${field.hoverBorderColor};
820
+ }
821
+
822
+ &:hover {
823
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.borderColor};
824
+ }
825
+
826
+ span {
827
+ color: ${props => props.disabled ? field.disabledColor : props.checked ? colors.white : null};
828
+ transition-duration: ${misc.transitionDuration};
829
+ }
830
+ `;
831
+ const CheckboxLabel$1 = styled__default.span`
832
+ margin-left: ${/*#__PURE__*/polished.rem('40px')};
833
+ line-height: ${/*#__PURE__*/polished.rem('24px')};
834
+ `;
835
+ const CheckboxInput$1 = styled__default.input`
836
+ position: absolute;
837
+ left: 0;
838
+ opacity: 0;
839
+ cursor: pointer;
840
+
841
+ &:checked:not(:disabled) ~ span {
842
+ background-color: ${colors.white};
843
+ border-color: ${field.successBorderColor};
844
+
845
+ &:after {
846
+ display: block;
847
+ }
848
+ }
849
+
850
+ &:checked:disabled ~ span {
851
+ background-color: ${field.disabledBackgroundColor};
852
+ color: ${field.disabledColor};
853
+
854
+ &:after {
855
+ display: block;
856
+ border-color: ${field.disabledColor};
857
+ }
858
+ }
859
+
860
+ &:not(:checked):disabled ~ span {
861
+ border-color: ${field.disabledBackgroundColor};
862
+ background-color: ${field.backgroundColor};
863
+ }
864
+
865
+ &:hover:not(:disabled) {
866
+ &:checked ~ span {
867
+ border-color: ${field.successBorderColor};
868
+ }
869
+ }
870
+ `;
871
+ const Checkmark$1 = styled__default.span`
872
+ position: absolute;
873
+ left: ${/*#__PURE__*/polished.rem('10px')};
874
+ border: ${/*#__PURE__*/polished.rem('2px')} solid ${field.borderColor};
875
+ border-radius: 999px;
876
+ background-color: ${colors.white};
877
+ width: ${/*#__PURE__*/polished.rem('24px')};
878
+ height: ${/*#__PURE__*/polished.rem('24px')};
879
+ transition-duration: ${misc.transitionDuration};
880
+
881
+ &:after {
882
+ content: '';
883
+ position: absolute;
884
+ display: none;
885
+ top: ${/*#__PURE__*/polished.rem('3px')};
886
+ left: ${/*#__PURE__*/polished.rem('6px')};
887
+ width: ${/*#__PURE__*/polished.rem('5px')};
888
+ height: ${/*#__PURE__*/polished.rem('9px')};
889
+ border: solid
890
+ ${props => props.disabled ? colors.white : field.successBorderColor};
891
+ border-width: 0 ${/*#__PURE__*/polished.rem('3px')} ${/*#__PURE__*/polished.rem('3px')} 0;
892
+ -webkit-transform: rotate(45deg);
893
+ -ms-transform: rotate(45deg);
894
+ transform: rotate(45deg);
895
+ }
896
+ `;
536
897
 
537
898
  const CheckboxButton = props => {
538
899
  const {
@@ -747,10 +1108,56 @@ const icons = {
747
1108
  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'
748
1109
  };
749
1110
 
750
- const TextFieldInputStyle = /*#__PURE__*/_styled__default.input.withConfig({
751
- displayName: "styles__TextFieldInputStyle",
752
- componentId: "sc-1hxcxbo-0"
753
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";background-repeat:no-repeat;background-size:", " ", ";background-position:", " 50%;height:", ";padding:", ";font-family:inherit;font-size:", ";transition-property:border-color;transition-duration:", ";&:hover{border-color:", ";}&:focus{border-color:", ";outline:none;}&:disabled{border-color:", ";background-color:", ";color:", ";}&:invalid{border-color:", ";outline:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;}&:required{border-color:", ";}&::placeholder,&:-ms-input-placeholder,&::-ms-input-placeholder{color:", ";opacity:1;}", ""], field.borderWidth, props => props.error ? field.errorBorderColor : field.borderColor, field.borderRadius, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), field.height, /*#__PURE__*/polished.rem('10px'), typography.defaultSize, misc.transitionDuration, field.hoverBorderColor, field.activeBorderColor, field.borderColor, field.disabledBackgroundColor, field.disabledColor, field.errorBorderColor, props => props.error ? field.errorBorderColor : field.borderColor, field.placeholderColor, props => props.icon && _styled.css`
1111
+ const TextFieldInputStyle = styled__default.input`
1112
+ border-width: ${field.borderWidth};
1113
+ border-style: solid;
1114
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1115
+ border-radius: ${field.borderRadius};
1116
+ background-repeat: no-repeat;
1117
+ background-size: ${/*#__PURE__*/polished.rem('20px')} ${/*#__PURE__*/polished.rem('20px')};
1118
+ background-position: ${/*#__PURE__*/polished.rem('10px')} 50%;
1119
+ height: ${field.height};
1120
+ padding: ${/*#__PURE__*/polished.rem('10px')};
1121
+ font-family: inherit;
1122
+ font-size: ${typography.defaultSize};
1123
+ transition-property: border-color;
1124
+ transition-duration: ${misc.transitionDuration};
1125
+
1126
+ &:hover {
1127
+ border-color: ${field.hoverBorderColor};
1128
+ }
1129
+
1130
+ &:focus {
1131
+ border-color: ${field.activeBorderColor};
1132
+ outline: none;
1133
+ }
1134
+
1135
+ &:disabled {
1136
+ border-color: ${field.borderColor};
1137
+ background-color: ${field.disabledBackgroundColor};
1138
+ color: ${field.disabledColor};
1139
+ }
1140
+
1141
+ &:invalid {
1142
+ border-color: ${field.errorBorderColor};
1143
+ outline: none;
1144
+ box-shadow: none;
1145
+ -webkit-box-shadow: none;
1146
+ -moz-box-shadow: none;
1147
+ }
1148
+
1149
+ &:required {
1150
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1151
+ }
1152
+
1153
+ &::placeholder,
1154
+ &:-ms-input-placeholder,
1155
+ &::-ms-input-placeholder {
1156
+ color: ${field.placeholderColor};
1157
+ opacity: 1;
1158
+ }
1159
+
1160
+ ${props => props.icon && styled.css`
754
1161
  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>');
755
1162
  padding-left: ${polished.rem('40px')};
756
1163
 
@@ -758,12 +1165,13 @@ const TextFieldInputStyle = /*#__PURE__*/_styled__default.input.withConfig({
758
1165
  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">
759
1166
  <path style="fill:rgb(67,41,166)" d=${JSON.stringify(icons[props.icon])} /></svg>');
760
1167
  }
761
- `);
1168
+ `}
1169
+ `;
762
1170
 
763
- const Wrapper$1 = _styled__default.div`
1171
+ const Wrapper$1 = styled__default.div`
764
1172
  position: relative;
765
1173
  `;
766
- const TextAreaStyle = _styled__default.textarea`
1174
+ const TextAreaStyle = styled__default.textarea`
767
1175
  border-width: ${field.borderWidth};
768
1176
  border-style: solid;
769
1177
  border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
@@ -819,7 +1227,7 @@ const TextAreaStyle = _styled__default.textarea`
819
1227
  opacity: 1;
820
1228
  }
821
1229
  `;
822
- const Count = _styled__default.div`
1230
+ const Count = styled__default.div`
823
1231
  position: absolute;
824
1232
  top: ${/*#__PURE__*/polished.rem('5px')};
825
1233
  right: ${/*#__PURE__*/polished.rem('10px')};
@@ -836,7 +1244,7 @@ const Count = _styled__default.div`
836
1244
  }
837
1245
  `;
838
1246
 
839
- const SelectStyle = _styled__default.select`
1247
+ const SelectStyle = styled__default.select`
840
1248
  border: ${field.borderWidth} solid
841
1249
  ${props => props.error ? field.errorBorderColor : field.borderColor};
842
1250
  border-radius: ${field.borderRadius};
@@ -872,10 +1280,15 @@ const SelectStyle = _styled__default.select`
872
1280
  }
873
1281
  `;
874
1282
 
875
- const ErrorStyle = /*#__PURE__*/_styled__default.span.withConfig({
876
- displayName: "styles__ErrorStyle",
877
- componentId: "sc-4e4ecc-0"
878
- })(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/polished.rem('5px'));
1283
+ const ErrorStyle = styled__default.span`
1284
+ display: block;
1285
+ font-size: 0.7rem;
1286
+ color: ${props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor};
1287
+
1288
+ ${TextFieldInputStyle} + &, ${TextAreaStyle} + &, ${SelectStyle} + & {
1289
+ margin-top: ${/*#__PURE__*/polished.rem('5px')};
1290
+ }
1291
+ `;
879
1292
 
880
1293
  const ErrorField = props => {
881
1294
  const {
@@ -910,10 +1323,19 @@ const Icon = props => {
910
1323
  }));
911
1324
  };
912
1325
 
913
- const LabelStyle = /*#__PURE__*/_styled__default.label.withConfig({
914
- displayName: "styles__LabelStyle",
915
- componentId: "sc-pbv9we-0"
916
- })(["display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";svg{margin-left:", ";width:auto;height:", ";}"], typography.fontSizeXs, typography.semiBold, colors.grey500, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('16px'));
1326
+ const LabelStyle = styled__default.label`
1327
+ display: flex;
1328
+ align-items: center;
1329
+ font-size: ${typography.fontSizeXs};
1330
+ font-weight: ${typography.semiBold};
1331
+ color: ${colors.grey500};
1332
+
1333
+ svg {
1334
+ margin-left: ${/*#__PURE__*/polished.rem('5px')};
1335
+ width: auto;
1336
+ height: ${/*#__PURE__*/polished.rem('16px')};
1337
+ }
1338
+ `;
917
1339
 
918
1340
  const Label = props => {
919
1341
  const {
@@ -934,18 +1356,23 @@ const Label = props => {
934
1356
  }));
935
1357
  };
936
1358
 
937
- const rotation = _styled.keyframes`
938
- from {
1359
+ const Loading = styled__default.div`
1360
+ @keyframes rotation {
1361
+ from {
939
1362
  transform: rotate(0deg);
1363
+ }
1364
+ to {
1365
+ transform: rotate(360deg);
1366
+ }
940
1367
  }
941
- to {
942
- transform: rotate(360deg);
943
- }
1368
+
1369
+ border: ${/*#__PURE__*/polished.rem('5px')} solid hsla(0, 0%, 48%, 0.5);
1370
+ border-top-color: ${props => props.fill || colors.white};
1371
+ border-radius: 50%;
1372
+ width: ${props => props.size || polished.rem('20px')};
1373
+ height: ${props => props.size || polished.rem('20px')};
1374
+ animation: rotation 0.8s ease infinite;
944
1375
  `;
945
- const Loading = /*#__PURE__*/_styled__default.div.withConfig({
946
- displayName: "styles__Loading",
947
- componentId: "sc-sxnx45-0"
948
- })(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill || colors.white, props => props.size || polished.rem('20px'), props => props.size || polished.rem('20px'), rotation);
949
1376
 
950
1377
  const Spinner = props => {
951
1378
  const {
@@ -962,10 +1389,23 @@ const Spinner = props => {
962
1389
  });
963
1390
  };
964
1391
 
965
- const TagWrapper = /*#__PURE__*/_styled__default.span.withConfig({
966
- displayName: "styles__TagWrapper",
967
- componentId: "sc-1ghratr-0"
968
- })(["--bg:", ";--txt:", ";display:inline-block;border:", " solid var(--bg);border-radius:", ";background-color:", ";padding:", " ", ";font-size:", ";font-weight:", ";text-transform:uppercase;letter-spacing:", ";line-height:1;color:", ";white-space:nowrap;"], props => useColor(props.color ?? 'black').color, props => useColor(props.txtColor ?? 'black').color, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('4px'), props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('8px'), /*#__PURE__*/polished.rem('12px'), typography.medium, /*#__PURE__*/polished.rem('1px'), props => props.variant === 'solid' ? 'var(--txt)' : 'var(--bg)');
1392
+ const TagWrapper = styled__default.span`
1393
+ --bg: ${props => useColor(props.color ?? 'black').color};
1394
+ --txt: ${props => useColor(props.txtColor ?? 'black').color};
1395
+
1396
+ display: inline-block;
1397
+ border: ${/*#__PURE__*/polished.rem('2px')} solid var(--bg);
1398
+ border-radius: ${/*#__PURE__*/polished.rem('4px')};
1399
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
1400
+ padding: ${/*#__PURE__*/polished.rem('3px')} ${/*#__PURE__*/polished.rem('8px')};
1401
+ font-size: ${/*#__PURE__*/polished.rem('12px')};
1402
+ font-weight: ${typography.medium};
1403
+ text-transform: uppercase;
1404
+ letter-spacing: ${/*#__PURE__*/polished.rem('1px')};
1405
+ line-height: 1;
1406
+ color: ${props => props.variant === 'solid' ? 'var(--txt)' : 'var(--bg)'};
1407
+ white-space: nowrap;
1408
+ `;
969
1409
 
970
1410
  const Tag = props => {
971
1411
  const {
@@ -986,10 +1426,44 @@ const Tag = props => {
986
1426
  }, value);
987
1427
  };
988
1428
 
989
- const TagWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
990
- displayName: "styles__TagWrapper",
991
- componentId: "sc-db57da-0"
992
- })(["--bg:", ";--valueColor:", ";display:flex;border:", " solid var(--bg);border-radius:", ";line-height:1;max-width:100%;width:max-content;overflow:hidden;span{display:inline-block;padding:", " ", ";font-size:", ";font-weight:", ";letter-spacing:", ";&.label{flex:1;color:var(--bg);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;}&.value{background-color:var(--bg);color:var(--valueColor);}}&:not(:first-child){margin-left:", ";}"], props => useColor(props.color ?? 'black').color, props => useColor(props.valueColor ?? 'black').color, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('8px'), /*#__PURE__*/polished.rem('12px'), typography.medium, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('5px'));
1429
+ const TagWrapper$1 = styled__default.div`
1430
+ --bg: ${props => useColor(props.color ?? 'black').color};
1431
+ --valueColor: ${props => useColor(props.valueColor ?? 'black').color};
1432
+
1433
+ display: flex;
1434
+ border: ${/*#__PURE__*/polished.rem('2px')} solid var(--bg);
1435
+ border-radius: ${/*#__PURE__*/polished.rem('3px')};
1436
+ line-height: 1;
1437
+ max-width: 100%;
1438
+ width: max-content;
1439
+ overflow: hidden;
1440
+
1441
+ span {
1442
+ display: inline-block;
1443
+ padding: ${/*#__PURE__*/polished.rem('3px')} ${/*#__PURE__*/polished.rem('8px')};
1444
+ font-size: ${/*#__PURE__*/polished.rem('12px')};
1445
+ font-weight: ${typography.medium};
1446
+ letter-spacing: ${/*#__PURE__*/polished.rem('1px')};
1447
+
1448
+ &.label {
1449
+ flex: 1;
1450
+ color: var(--bg);
1451
+ overflow: hidden;
1452
+ white-space: nowrap;
1453
+ text-overflow: ellipsis;
1454
+ text-transform: uppercase;
1455
+ }
1456
+
1457
+ &.value {
1458
+ background-color: var(--bg);
1459
+ color: var(--valueColor);
1460
+ }
1461
+ }
1462
+
1463
+ &:not(:first-child) {
1464
+ margin-left: ${/*#__PURE__*/polished.rem('5px')};
1465
+ }
1466
+ `;
993
1467
 
994
1468
  const TagNumber = props => {
995
1469
  const {
@@ -1144,7 +1618,7 @@ function _extends() {
1144
1618
  return _extends.apply(this, arguments);
1145
1619
  }
1146
1620
 
1147
- const SelectWrapper = _styled__default.div`
1621
+ const SelectWrapper = styled__default.div`
1148
1622
  .select {
1149
1623
  &-interactive {
1150
1624
  z-index: 3;
@@ -1270,7 +1744,7 @@ const SelectWrapper = _styled__default.div`
1270
1744
  pointer-events: none;
1271
1745
  }
1272
1746
  `;
1273
- const SelectGroupLabel = _styled__default.span`
1747
+ const SelectGroupLabel = styled__default.span`
1274
1748
  font-size: ${typography.fontSizeXs};
1275
1749
  color: ${field.placeholderColor};
1276
1750
 
@@ -1280,7 +1754,7 @@ const SelectGroupLabel = _styled__default.span`
1280
1754
  color: ${field.activeBorderColor};
1281
1755
  }
1282
1756
  `;
1283
- const SingleValue = _styled__default.div`
1757
+ const SingleValue = styled__default.div`
1284
1758
  grid-area: 1 / 1 / 2 / 3;
1285
1759
  margin-left: ${/*#__PURE__*/polished.rem('2px')};
1286
1760
  margin-right: ${/*#__PURE__*/polished.rem('2px')};
@@ -1334,6 +1808,7 @@ const SelectInteractive = ({
1334
1808
  onChange = () => {},
1335
1809
  onInputChange = () => {},
1336
1810
  dataTestId,
1811
+ filterOption,
1337
1812
  ...rest
1338
1813
  }) => {
1339
1814
  return /*#__PURE__*/React__default.createElement(SelectWrapper, _extends({
@@ -1358,13 +1833,14 @@ const SelectInteractive = ({
1358
1833
  Option: CustomSelectOption,
1359
1834
  SingleValue: CustomSelectValue
1360
1835
  },
1361
- formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel(s) : undefined
1836
+ formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel(s) : undefined,
1837
+ filterOption: filterOption
1362
1838
  }), error ? /*#__PURE__*/React__default.createElement(ErrorField, {
1363
1839
  error: error
1364
1840
  }) : null);
1365
1841
  };
1366
1842
 
1367
- const Wrapper$2 = _styled__default.div`
1843
+ const Wrapper$2 = styled__default.div`
1368
1844
  border-width: ${field.borderWidth};
1369
1845
  border-style: solid;
1370
1846
  border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
@@ -1406,7 +1882,7 @@ const Wrapper$2 = _styled__default.div`
1406
1882
  margin-top: ${props => props.error ? polished.rem('5px') : 0};
1407
1883
  }
1408
1884
  `;
1409
- const Appendix = _styled__default.div`
1885
+ const Appendix = styled__default.div`
1410
1886
  border-width: ${props => props.position === 'left' ? `0 ${field.borderWidth} 0 0` : `0 0 0 ${field.borderWidth}`};
1411
1887
  border-style: solid;
1412
1888
  border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
@@ -1466,10 +1942,18 @@ const TextFieldAppendix = props => {
1466
1942
  }) : null);
1467
1943
  };
1468
1944
 
1469
- const TruncateWrapper = /*#__PURE__*/_styled__default.div.withConfig({
1470
- displayName: "styles__TruncateWrapper",
1471
- componentId: "sc-1p4cmvj-0"
1472
- })(["display:table;table-layout:fixed;width:100%;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}"]);
1945
+ const TruncateWrapper = styled__default.div`
1946
+ display: table;
1947
+ table-layout: fixed;
1948
+ width: 100%;
1949
+ white-space: nowrap;
1950
+
1951
+ span {
1952
+ display: table-cell;
1953
+ overflow: hidden;
1954
+ text-overflow: ellipsis;
1955
+ }
1956
+ `;
1473
1957
 
1474
1958
  const TruncateLine = props => {
1475
1959
  const {
@@ -1502,7 +1986,7 @@ const device = {
1502
1986
  mouse: '(min-width: 538px) and (min-height: 720px)'
1503
1987
  };
1504
1988
 
1505
- const Wrapper$3 = _styled__default.div`
1989
+ const Wrapper$3 = styled__default.div`
1506
1990
  position: relative;
1507
1991
 
1508
1992
  .carousel .control-arrow,
@@ -1891,7 +2375,7 @@ const Slideshow = props => {
1891
2375
  }, children));
1892
2376
  };
1893
2377
 
1894
- const Wrapper$4 = _styled__default.div`
2378
+ const Wrapper$4 = styled__default.div`
1895
2379
  position: relative;
1896
2380
  padding-top: 56.25%;
1897
2381
  `;
@@ -1926,11 +2410,11 @@ const VideoPlayer = props => {
1926
2410
  }));
1927
2411
  };
1928
2412
 
1929
- const Wrapper$5 = _styled__default.div`
2413
+ const Wrapper$5 = styled__default.div`
1930
2414
  display: flex;
1931
2415
  align-items: center;
1932
2416
  `;
1933
- const Bar = _styled__default.div`
2417
+ const Bar = styled__default.div`
1934
2418
  flex: 1;
1935
2419
  border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.purple100};
1936
2420
  border-radius: 999px;
@@ -1938,14 +2422,14 @@ const Bar = _styled__default.div`
1938
2422
  height: ${/*#__PURE__*/polished.rem('10px')};
1939
2423
  overflow: hidden;
1940
2424
  `;
1941
- const Progress = _styled__default.div`
2425
+ const Progress = styled__default.div`
1942
2426
  border-radius: 999px;
1943
2427
  background-color: ${colors.purple500};
1944
2428
  height: 100%;
1945
2429
  width: ${props => props.progress ? `${props.progress}%` : 0};
1946
2430
  transition-duration: 2s;
1947
2431
  `;
1948
- const Value = _styled__default.div`
2432
+ const Value = styled__default.div`
1949
2433
  margin-left: ${/*#__PURE__*/polished.rem('5px')};
1950
2434
  font-size: ${typography.fontSizeXs};
1951
2435
  font-weight: ${typography.regular};
@@ -1964,7 +2448,7 @@ const ProgressBar = props => {
1964
2448
  })), value && /*#__PURE__*/React__default.createElement(Value, null, value));
1965
2449
  };
1966
2450
 
1967
- const Switcher = _styled__default.fieldset`
2451
+ const Switcher = styled__default.fieldset`
1968
2452
  margin: 0;
1969
2453
  border: none;
1970
2454
  padding: 0;
@@ -2134,7 +2618,7 @@ const Toggle = ({
2134
2618
  }, labelRight)));
2135
2619
  };
2136
2620
 
2137
- const Wrapper$6 = _styled__default.div`
2621
+ const Wrapper$6 = styled__default.div`
2138
2622
  input {
2139
2623
  width: 0.1px;
2140
2624
  height: 0.1px;
@@ -2258,18 +2742,81 @@ const FilePicker = props => {
2258
2742
  }));
2259
2743
  };
2260
2744
 
2261
- const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
2262
- displayName: "styles__ActionsMenuStyle",
2263
- componentId: "sc-1peafop-0"
2264
- })(["height:", ";button{margin-top:", ";}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('7px'));
2265
- const List = /*#__PURE__*/_styled__default.ul.withConfig({
2266
- displayName: "styles__List",
2267
- componentId: "sc-1peafop-1"
2268
- })(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:", ";-webkit-box-shadow:", ";box-shadow:", ";overflow:hidden;z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), field.boxShadow, field.boxShadow, field.boxShadow, props => props.rowIndex != undefined && _styled.css`
2745
+ const ActionsMenuStyle$1 = styled__default.div`
2746
+ height: ${/*#__PURE__*/polished.rem('50px')};
2747
+
2748
+ button {
2749
+ margin-top: ${/*#__PURE__*/polished.rem('7px')};
2750
+ }
2751
+ `;
2752
+ const List = styled__default.ul`
2753
+ position: absolute;
2754
+ border: ${field.borderWidth} solid ${field.borderColor};
2755
+ border-radius: ${field.borderRadius};
2756
+ background-color: ${field.backgroundColor};
2757
+ margin-top: ${/*#__PURE__*/polished.rem('5px')};
2758
+ min-width: ${/*#__PURE__*/polished.rem('200px')};
2759
+ max-width: ${/*#__PURE__*/polished.rem('250px')};
2760
+ padding: 0;
2761
+ -moz-box-shadow: ${field.boxShadow};
2762
+ -webkit-box-shadow: ${field.boxShadow};
2763
+ box-shadow: ${field.boxShadow};
2764
+ overflow: hidden;
2765
+ z-index: 1;
2766
+
2767
+ ${props => props.rowIndex != undefined && styled.css`
2269
2768
  --margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
2270
2769
  top: var(--margin);
2271
2770
  right: ${polished.rem('5px')};
2272
- `, /*#__PURE__*/polished.rem('45px'), field.hoverBorderColor, field.borderWidth, field.borderColor, field.errorBorderColor, field.disabledColor, /*#__PURE__*/polished.rem('20px'), field.color);
2771
+ `}
2772
+
2773
+ li {
2774
+ list-style: none;
2775
+ min-height: ${/*#__PURE__*/polished.rem('45px')};
2776
+ display: flex;
2777
+ transition-duration: 0.3s;
2778
+
2779
+ &:hover {
2780
+ background-color: ${field.hoverBorderColor};
2781
+ cursor: pointer;
2782
+ }
2783
+
2784
+ &.danger {
2785
+ border-top: ${field.borderWidth} solid ${field.borderColor};
2786
+
2787
+ a {
2788
+ color: ${field.errorBorderColor};
2789
+ }
2790
+ }
2791
+
2792
+ &.disabled {
2793
+ a {
2794
+ color: ${field.disabledColor};
2795
+ pointer-events: none;
2796
+ }
2797
+
2798
+ &:hover {
2799
+ background-color: transparent;
2800
+ }
2801
+ }
2802
+
2803
+ a {
2804
+ width: 100%;
2805
+ display: flex;
2806
+ align-items: center;
2807
+ padding: 0 ${/*#__PURE__*/polished.rem('20px')};
2808
+ color: ${field.color};
2809
+ text-decoration: none;
2810
+ white-space: nowrap;
2811
+
2812
+ span {
2813
+ display: table-cell;
2814
+ overflow: hidden;
2815
+ text-overflow: ellipsis;
2816
+ }
2817
+ }
2818
+ }
2819
+ `;
2273
2820
 
2274
2821
  const ActionMenuList = props => {
2275
2822
  const {
@@ -2340,10 +2887,31 @@ const ActionsMenu = props => {
2340
2887
  }) : null);
2341
2888
  };
2342
2889
 
2343
- const CardValueStyle = /*#__PURE__*/_styled__default.div.withConfig({
2344
- displayName: "styles__CardValueStyle",
2345
- componentId: "sc-1ki7jdk-0"
2346
- })(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;> span{display:block;margin-top:", ";font-size:", ";font-weight:", ";line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}a,button{margin-top:", ";}"], field.borderWidth, field.borderColor, field.borderRadius, colors.white, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold, /*#__PURE__*/polished.rem('20px'));
2890
+ const CardValueStyle = styled__default.div`
2891
+ border: ${field.borderWidth} solid ${field.borderColor};
2892
+ border-radius: ${field.borderRadius};
2893
+ background-color: ${colors.white};
2894
+ display: flex;
2895
+ flex-direction: column;
2896
+ padding: ${/*#__PURE__*/polished.rem('15px')};
2897
+ overflow-x: auto;
2898
+
2899
+ > span {
2900
+ display: block;
2901
+ margin-top: ${/*#__PURE__*/polished.rem('5px')};
2902
+ font-size: ${/*#__PURE__*/polished.rem('32px')};
2903
+ font-weight: ${typography.semiBold};
2904
+ line-height: 1;
2905
+ white-space: nowrap;
2906
+ overflow: hidden;
2907
+ text-overflow: ellipsis;
2908
+ }
2909
+
2910
+ a,
2911
+ button {
2912
+ margin-top: ${/*#__PURE__*/polished.rem('20px')};
2913
+ }
2914
+ `;
2347
2915
 
2348
2916
  const CardValue = props => {
2349
2917
  const {
@@ -2372,30 +2940,118 @@ const CardValue = props => {
2372
2940
  }));
2373
2941
  };
2374
2942
 
2375
- const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2376
- displayName: "styles__EmptyTableWrapper",
2377
- componentId: "sc-1dgsb9l-0"
2378
- })(["position:relative;"]);
2379
- const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
2380
- displayName: "styles__EmptyTableHead",
2381
- componentId: "sc-1dgsb9l-1"
2382
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:", ";font-weight:", ";color:", ";&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? field.borderWidth : `0 0 ${field.borderWidth} 0`, colors.grey200, field.borderRadius, field.borderRadius, /*#__PURE__*/polished.rem('50px'), typography.fontSizeSm, typography.semiBold, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.fontSizeSm, typography.semiBold, colors.grey400, device.s, device.m, device.l);
2383
- const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
2384
- displayName: "styles__EmptyTableBody",
2385
- componentId: "sc-1dgsb9l-2"
2386
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${field.borderWidth} ${field.borderWidth} ${field.borderWidth}` : 0, colors.grey200, field.borderRadius, field.borderRadius);
2387
- const EmptyTableRow = /*#__PURE__*/_styled__default.div.withConfig({
2388
- displayName: "styles__EmptyTableRow",
2389
- componentId: "sc-1dgsb9l-3"
2390
- })(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('15px'), device.s, device.m, device.l);
2391
- const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
2392
- displayName: "styles__EmptyTableCellText",
2393
- componentId: "sc-1dgsb9l-4"
2394
- })(["background-color:", ";width:100%;height:", ";"], colors.grey200, /*#__PURE__*/polished.rem('15px'));
2395
- const EmptyTableOverlay = /*#__PURE__*/_styled__default.div.withConfig({
2396
- displayName: "styles__EmptyTableOverlay",
2397
- componentId: "sc-1dgsb9l-5"
2398
- })(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(colors.white, 0), /*#__PURE__*/polished.rgba(colors.white, 1), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), colors.grey400);
2943
+ const EmptyTableWrapper = styled__default.div`
2944
+ position: relative;
2945
+ `;
2946
+ const EmptyTableHead = styled__default.div`
2947
+ border-width: ${props => props.border ? field.borderWidth : `0 0 ${field.borderWidth} 0`};
2948
+ border-style: solid;
2949
+ border-color: ${colors.grey200};
2950
+ border-radius: ${field.borderRadius} ${field.borderRadius} 0 0;
2951
+ height: ${/*#__PURE__*/polished.rem('50px')};
2952
+ display: flex;
2953
+ align-items: center;
2954
+ font-size: ${typography.fontSizeSm};
2955
+ font-weight: ${typography.semiBold};
2956
+ color: ${colors.grey400};
2957
+
2958
+ > div {
2959
+ white-space: nowrap;
2960
+ overflow: hidden;
2961
+ text-overflow: ellipsis;
2962
+ display: none;
2963
+ flex: 1;
2964
+ padding: 0 ${/*#__PURE__*/polished.rem('15px')};
2965
+ font-size: ${typography.fontSizeSm};
2966
+ font-weight: ${typography.semiBold};
2967
+ color: ${colors.grey400};
2968
+
2969
+ &:first-child,
2970
+ &:nth-child(2) {
2971
+ display: initial;
2972
+ }
2973
+
2974
+ @media ${device.s} {
2975
+ &:nth-child(3) {
2976
+ display: initial;
2977
+ }
2978
+ }
2979
+
2980
+ @media ${device.m} {
2981
+ &:nth-child(4) {
2982
+ display: initial;
2983
+ }
2984
+ }
2985
+
2986
+ @media ${device.l} {
2987
+ display: initial;
2988
+ }
2989
+ }
2990
+ `;
2991
+ const EmptyTableBody = styled__default.div`
2992
+ border-width: ${props => props.border ? `0 ${field.borderWidth} ${field.borderWidth} ${field.borderWidth}` : 0};
2993
+ border-style: solid;
2994
+ border-color: ${colors.grey200};
2995
+ border-radius: 0 0 ${field.borderRadius} ${field.borderRadius};
2996
+ `;
2997
+ const EmptyTableRow = styled__default.div`
2998
+ height: ${/*#__PURE__*/polished.rem('50px')};
2999
+ display: flex;
3000
+ align-items: center;
3001
+
3002
+ &:not(:last-child) {
3003
+ border-bottom: ${field.borderWidth} solid ${colors.grey200};
3004
+ }
3005
+
3006
+ > div {
3007
+ display: none;
3008
+ flex: 1;
3009
+ padding: 0 ${/*#__PURE__*/polished.rem('15px')};
3010
+
3011
+ &:first-child,
3012
+ &:nth-child(2) {
3013
+ display: inherit;
3014
+ }
3015
+
3016
+ @media ${device.s} {
3017
+ &:nth-child(3) {
3018
+ display: inherit;
3019
+ }
3020
+ }
3021
+
3022
+ @media ${device.m} {
3023
+ &:nth-child(4) {
3024
+ display: inherit;
3025
+ }
3026
+ }
3027
+
3028
+ @media ${device.l} {
3029
+ display: inherit;
3030
+ }
3031
+ }
3032
+ `;
3033
+ const EmptyTableCellText = styled__default.div`
3034
+ background-color: ${colors.grey200};
3035
+ width: 100%;
3036
+ height: ${/*#__PURE__*/polished.rem('15px')};
3037
+ `;
3038
+ const EmptyTableOverlay = styled__default.div`
3039
+ position: absolute;
3040
+ bottom: 0;
3041
+ background-image: linear-gradient(
3042
+ to bottom,
3043
+ ${/*#__PURE__*/polished.rgba(colors.white, 0)},
3044
+ ${/*#__PURE__*/polished.rgba(colors.white, 1)}
3045
+ );
3046
+ width: 100%;
3047
+ height: calc(100% - ${/*#__PURE__*/polished.rem('50px')});
3048
+ display: flex;
3049
+ justify-content: center;
3050
+ align-items: flex-end;
3051
+ padding: 0 ${/*#__PURE__*/polished.rem('15px')} ${/*#__PURE__*/polished.rem('15px')} ${/*#__PURE__*/polished.rem('15px')};
3052
+ text-align: center;
3053
+ color: ${colors.grey400};
3054
+ `;
2399
3055
 
2400
3056
  const EmptyTable = props => {
2401
3057
  let rows = [];
@@ -2425,10 +3081,25 @@ const EmptyTable = props => {
2425
3081
  }, rows));
2426
3082
  };
2427
3083
 
2428
- const FooterStyle = /*#__PURE__*/_styled__default.div.withConfig({
2429
- displayName: "styles__FooterStyle",
2430
- componentId: "sc-1xdsng6-0"
2431
- })(["position:relative;margin-top:", ";max-width:100%;display:flex;justify-content:center;> button{min-width:", ";&:not(:last-child){margin-right:", ";}}@media ", "{justify-content:flex-end;}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), device.s);
3084
+ const FooterStyle = styled__default.div`
3085
+ position: relative;
3086
+ margin-top: ${/*#__PURE__*/polished.rem('50px')};
3087
+ max-width: 100%;
3088
+ display: flex;
3089
+ justify-content: center;
3090
+
3091
+ > button {
3092
+ min-width: ${/*#__PURE__*/polished.rem('100px')};
3093
+
3094
+ &:not(:last-child) {
3095
+ margin-right: ${/*#__PURE__*/polished.rem('5px')};
3096
+ }
3097
+ }
3098
+
3099
+ @media ${device.s} {
3100
+ justify-content: flex-end;
3101
+ }
3102
+ `;
2432
3103
 
2433
3104
  const ModalFooter = props => {
2434
3105
  const {
@@ -2451,22 +3122,47 @@ const ModalFooter = props => {
2451
3122
  }), children);
2452
3123
  };
2453
3124
 
2454
- const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
2455
- displayName: "styles__Wrapper",
2456
- componentId: "sc-d2fn4g-0"
2457
- })(["--borderColor:", ";--backgroundColor:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--borderColor);border-radius:", ";background-color:var(--backgroundColor);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], field.borderColor, colors.purple50, colors.purple400, props => props.color === 'grey' && _styled.css`
3125
+ const Wrapper$7 = styled__default.div`
3126
+ --borderColor: ${field.borderColor};
3127
+ --backgroundColor: ${colors.purple50};
3128
+ --dark: ${colors.purple400};
3129
+
3130
+ ${props => props.color === 'grey' && styled.css`
2458
3131
  --borderColor: ${field.borderColor};
2459
3132
  --backgroundColor: ${colors.purple50};
2460
3133
  --dark: ${colors.purple400};
2461
- `, props => props.color === 'green' && _styled.css`
3134
+ `}
3135
+
3136
+ ${props => props.color === 'green' && styled.css`
2462
3137
  --borderColor: ${field.successBorderColor};
2463
3138
  --backgroundColor: ${field.successBackgroundColor};
2464
3139
  --dark: ${colors.green900};
2465
- `, props => props.color === 'red' && _styled.css`
3140
+ `}
3141
+
3142
+ ${props => props.color === 'red' && styled.css`
2466
3143
  --borderColor: ${field.errorBorderColor};
2467
3144
  --backgroundColor: ${field.errorBackgroundColor};
2468
3145
  --dark: ${colors.red800};
2469
- `, field.borderWidth, field.borderRadius, /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
3146
+ `}
3147
+
3148
+ border-width: ${field.borderWidth};
3149
+ border-style: solid;
3150
+ border-color: var(--borderColor);
3151
+ border-radius: ${field.borderRadius};
3152
+ background-color: var(--backgroundColor);
3153
+ padding: ${/*#__PURE__*/polished.rem('15px')};
3154
+
3155
+ div {
3156
+ &:first-child {
3157
+ flex: 1;
3158
+ }
3159
+
3160
+ p {
3161
+ margin: 0;
3162
+ }
3163
+ }
3164
+
3165
+ ${props => props.buttonValue && styled.css`
2470
3166
  button {
2471
3167
  margin: ${polished.rem('30px')} 0 0 0;
2472
3168
  border: 0;
@@ -2498,7 +3194,8 @@ const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
2498
3194
  margin: 0 0 0 ${polished.rem('30px')};
2499
3195
  }
2500
3196
  }
2501
- `);
3197
+ `}
3198
+ `;
2502
3199
 
2503
3200
  const NoteCard = props => {
2504
3201
  const {
@@ -2523,18 +3220,225 @@ function hasValue(value) {
2523
3220
  return value !== undefined && value !== null;
2524
3221
  }
2525
3222
 
2526
- const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2527
- displayName: "styles__TableWrapper",
2528
- componentId: "sc-vmoy3z-0"
2529
- })(["position:relative;"]);
2530
- const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2531
- displayName: "styles__OverflowWrapper",
2532
- componentId: "sc-vmoy3z-1"
2533
- })(["@media ", "{display:block;border-radius:", ";background:linear-gradient( to right,", " 30%,rgba(255,255,255,0) ),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:", ";background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, field.borderRadius, colors.white, colors.white, colors.white, /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('14px'), /*#__PURE__*/polished.rem('14px'));
2534
- const Table = /*#__PURE__*/_styled__default.table.withConfig({
2535
- displayName: "styles__Table",
2536
- componentId: "sc-vmoy3z-2"
2537
- })(["width:100%;border-width:0;border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;@media ", "{border-width:", ";}th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.vkai,&.tkai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:", ";&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-align:left;}}tbody{tr{display:block;transition-duration:", ";&:hover{background-color:", ";td.menu{button{opacity:1;}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;align-items:center;> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;", "}&.tkai,&.vkai{svg{float:right;margin-left:", ";width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}.button{height:", ";}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:", ";}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.tkai,&.vkai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], colors.grey200, field.borderRadius, device.s, props => props.border ? field.borderWidth : 0, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), typography.fontSizeSm, field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, props => props.loadingState ? 'transparent' : colors.grey50, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.black, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.semiBold, props => props.loadingState && _styled.css`
3223
+ const TableWrapper = styled__default.div`
3224
+ position: relative;
3225
+ `;
3226
+ const OverflowWrapper = styled__default.div`
3227
+ @media ${device.s} {
3228
+ display: block;
3229
+ border-radius: ${field.borderRadius};
3230
+ background:
3231
+ linear-gradient(to right, ${colors.white} 30%, rgba(255, 255, 255, 0)),
3232
+ linear-gradient(to right, rgba(255, 255, 255, 0), ${colors.white} 70%) 0
3233
+ 100%,
3234
+ radial-gradient(
3235
+ farthest-side at 0% 50%,
3236
+ rgba(0, 0, 0, 0.2),
3237
+ rgba(0, 0, 0, 0)
3238
+ ),
3239
+ radial-gradient(
3240
+ farthest-side at 100% 50%,
3241
+ rgba(0, 0, 0, 0.2),
3242
+ rgba(0, 0, 0, 0)
3243
+ )
3244
+ 0 100%;
3245
+ background-repeat: no-repeat;
3246
+ background-color: ${colors.white};
3247
+ background-size:
3248
+ ${/*#__PURE__*/polished.rem('40px')} 100%,
3249
+ ${/*#__PURE__*/polished.rem('40px')} 100%,
3250
+ ${/*#__PURE__*/polished.rem('14px')} 100%,
3251
+ ${/*#__PURE__*/polished.rem('14px')} 100%;
3252
+ background-position:
3253
+ 0 0,
3254
+ 100%,
3255
+ 0 0,
3256
+ 100%;
3257
+ background-attachment: local, local, scroll, scroll;
3258
+ overflow-x: auto;
3259
+ -webkit-overflow-scrolling: touch;
3260
+ -ms-overflow-style: -ms-autohiding-scrollbar;
3261
+ -webkit-scrollbar-width: none;
3262
+ -moz-scrollbar-width: none;
3263
+ -ms-scrollbar-width: none;
3264
+ scrollbar-width: none;
3265
+ }
3266
+ `;
3267
+ const Table = styled__default.table`
3268
+ width: 100%;
3269
+ border-width: 0;
3270
+ border-style: solid;
3271
+ border-color: ${colors.grey200};
3272
+ border-radius: ${field.borderRadius};
3273
+ border-spacing: 0;
3274
+ white-space: nowrap;
3275
+
3276
+ @media ${device.s} {
3277
+ border-width: ${props => props.border ? field.borderWidth : 0};
3278
+ }
3279
+
3280
+ th,
3281
+ td {
3282
+ height: ${/*#__PURE__*/polished.rem('50px')};
3283
+ padding: 0 ${/*#__PURE__*/polished.rem('15px')};
3284
+
3285
+ &.center {
3286
+ text-align: center;
3287
+
3288
+ > div {
3289
+ justify-content: center;
3290
+ }
3291
+ }
3292
+
3293
+ &.right {
3294
+ text-align: right;
3295
+
3296
+ > div {
3297
+ justify-content: flex-end;
3298
+ }
3299
+ }
3300
+
3301
+ &.thin {
3302
+ @media ${device.s} {
3303
+ max-width: min-content;
3304
+ }
3305
+ }
3306
+
3307
+ &.vkai,
3308
+ &.tkai {
3309
+ text-align: right;
3310
+
3311
+ > div {
3312
+ justify-content: flex-end;
3313
+ }
3314
+ }
3315
+
3316
+ &.avatar > div {
3317
+ display: flex;
3318
+ align-items: center;
3319
+
3320
+ .avatar-img {
3321
+ margin-right: ${/*#__PURE__*/polished.rem('15px')};
3322
+ }
3323
+ }
3324
+ }
3325
+
3326
+ th {
3327
+ font-size: ${typography.fontSizeSm};
3328
+
3329
+ &:first-child {
3330
+ border-top-left-radius: ${field.borderRadius};
3331
+ }
3332
+
3333
+ &:last-child {
3334
+ border-top-right-radius: ${field.borderRadius};
3335
+ }
3336
+ }
3337
+
3338
+ tr {
3339
+ border: ${field.borderWidth} solid ${colors.grey200};
3340
+ border-radius: ${field.borderRadius};
3341
+ position: relative;
3342
+
3343
+ &:not(:last-child) {
3344
+ margin-bottom: ${/*#__PURE__*/polished.rem('15px')};
3345
+ }
3346
+
3347
+ @media ${device.s} {
3348
+ border: 0;
3349
+ }
3350
+ }
3351
+
3352
+ thead {
3353
+ border: none;
3354
+ clip: rect(0 0 0 0);
3355
+ height: ${/*#__PURE__*/polished.rem('1px')};
3356
+ margin: ${/*#__PURE__*/polished.rem('-1px')};
3357
+ overflow: hidden;
3358
+ padding: 0;
3359
+ position: absolute;
3360
+ width: ${/*#__PURE__*/polished.rem('1px')};
3361
+
3362
+ @media ${device.s} {
3363
+ display: contents;
3364
+ font-weight: ${typography.semiBold};
3365
+ color: ${colors.grey400};
3366
+ text-align: left;
3367
+ }
3368
+ }
3369
+
3370
+ tbody {
3371
+ tr {
3372
+ display: block;
3373
+ transition-duration: ${misc.transitionDuration};
3374
+
3375
+ &:hover {
3376
+ background-color: ${props => props.loadingState ? 'transparent' : colors.grey50};
3377
+
3378
+ td.menu {
3379
+ button {
3380
+ opacity: 1;
3381
+ }
3382
+ }
3383
+ }
3384
+
3385
+ @media ${device.s} {
3386
+ display: table-row;
3387
+ }
3388
+ }
3389
+
3390
+ td {
3391
+ border-top: ${field.borderWidth} solid ${colors.grey200};
3392
+ height: inherit;
3393
+ min-height: ${/*#__PURE__*/polished.rem('50px')};
3394
+ padding: ${/*#__PURE__*/polished.rem('15px')};
3395
+ display: flex;
3396
+ justify-content: flex-end;
3397
+ align-items: center;
3398
+
3399
+ > div {
3400
+ margin-left: ${/*#__PURE__*/polished.rem('100px')};
3401
+ height: 100%;
3402
+ display: flex;
3403
+ justify-content: flex-end;
3404
+ align-items: center;
3405
+ flex-wrap: nowrap;
3406
+ text-align: right;
3407
+
3408
+ > span {
3409
+ display: none;
3410
+
3411
+ &:first-child,
3412
+ &:last-child {
3413
+ display: inherit;
3414
+ }
3415
+ }
3416
+ }
3417
+
3418
+ img {
3419
+ min-width: ${/*#__PURE__*/polished.rem('30px')};
3420
+ min-height: ${/*#__PURE__*/polished.rem('30px')};
3421
+ }
3422
+
3423
+ a {
3424
+ display: flex;
3425
+ align-items: center;
3426
+ color: ${colors.black};
3427
+ text-decoration-color: ${colors.grey400};
3428
+ }
3429
+
3430
+ &:first-child {
3431
+ border: 0;
3432
+ }
3433
+
3434
+ &:before {
3435
+ position: absolute;
3436
+ left: ${/*#__PURE__*/polished.rem('15px')};
3437
+ content: attr(data-label);
3438
+ font-weight: ${typography.semiBold};
3439
+ text-transform: capitalize;
3440
+
3441
+ ${props => props.loadingState && styled.css`
2538
3442
  width: ${polished.rem('75px')};
2539
3443
  height: ${polished.rem('15px')};
2540
3444
  background: #f6f7f8;
@@ -2552,11 +3456,133 @@ const Table = /*#__PURE__*/_styled__default.table.withConfig({
2552
3456
  animation-timing-function: linear;
2553
3457
  animation-iteration-count: infinite;
2554
3458
  animation-duration: 1.5s;
2555
- `, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('34px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), misc.transitionDuration, /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
2556
- const SkeletonCell = /*#__PURE__*/_styled__default.div.withConfig({
2557
- displayName: "styles__SkeletonCell",
2558
- componentId: "sc-vmoy3z-3"
2559
- })(["@keyframes placeholderSkeleton{0%{background-position:", " 0;}100%{background-position:", " 0;}}width:100%;height:", " !important;background:#f6f7f8;background-image:-webkit-linear-gradient( left,#f6f7f8 0%,#edeef1 20%,#f6f7f8 40%,#f6f7f8 100% );background-repeat:no-repeat;background-size:", " 100%;animation-fill-mode:forwards;animation-name:placeholderSkeleton;animation-timing-function:linear;animation-iteration-count:infinite;animation-duration:1.5s;"], /*#__PURE__*/polished.rem('-800px'), /*#__PURE__*/polished.rem('800px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('800px'));
3459
+ `}
3460
+ }
3461
+
3462
+ &.tkai,
3463
+ &.vkai {
3464
+ svg {
3465
+ float: right;
3466
+ margin-left: ${/*#__PURE__*/polished.rem('5px')};
3467
+ width: auto;
3468
+ min-width: ${/*#__PURE__*/polished.rem('22px')};
3469
+ max-height: ${/*#__PURE__*/polished.rem('22px')};
3470
+ }
3471
+ }
3472
+
3473
+ .avatar-img {
3474
+ display: none;
3475
+ }
3476
+
3477
+ .tag {
3478
+ margin: 0;
3479
+
3480
+ &:not(:first-child) {
3481
+ display: none;
3482
+ }
3483
+ }
3484
+
3485
+ .button {
3486
+ height: ${/*#__PURE__*/polished.rem('34px')};
3487
+ }
3488
+
3489
+ &.menu {
3490
+ padding: 0 ${/*#__PURE__*/polished.rem('10px')} 0 0;
3491
+
3492
+ button {
3493
+ margin-top: ${/*#__PURE__*/polished.rem('5px')};
3494
+ transition: ${misc.transitionDuration};
3495
+ }
3496
+
3497
+ ul {
3498
+ top: ${/*#__PURE__*/polished.rem('36px')};
3499
+ margin-left: ${/*#__PURE__*/polished.rem('-170px')};
3500
+ }
3501
+ }
3502
+
3503
+ @media ${device.s} {
3504
+ display: table-cell;
3505
+ height: ${/*#__PURE__*/polished.rem('50px')};
3506
+ padding: 0 ${/*#__PURE__*/polished.rem('15px')};
3507
+
3508
+ > div {
3509
+ position: relative;
3510
+ margin-left: 0;
3511
+ display: flex-start;
3512
+ justify-content: flex-start;
3513
+ text-align: left;
3514
+
3515
+ > span {
3516
+ display: inherit;
3517
+ }
3518
+ }
3519
+
3520
+ &:first-child {
3521
+ border-top: ${field.borderWidth} solid ${colors.grey200};
3522
+ }
3523
+
3524
+ &:before {
3525
+ content: '';
3526
+ }
3527
+
3528
+ &.tkai,
3529
+ &.vkai {
3530
+ max-width: ${/*#__PURE__*/polished.rem('100px')};
3531
+ }
3532
+
3533
+ .avatar-img {
3534
+ display: inherit;
3535
+ }
3536
+
3537
+ .tag {
3538
+ &:not(:first-child) {
3539
+ display: inherit;
3540
+ }
3541
+
3542
+ &:not(:last-child) {
3543
+ margin-right: ${/*#__PURE__*/polished.rem('5px')};
3544
+ }
3545
+ }
3546
+
3547
+ &.menu {
3548
+ width: ${/*#__PURE__*/polished.rem('40px')};
3549
+
3550
+ button {
3551
+ opacity: 0;
3552
+ }
3553
+ }
3554
+ }
3555
+ }
3556
+ }
3557
+ `;
3558
+ const SkeletonCell = styled__default.div`
3559
+ @keyframes placeholderSkeleton {
3560
+ 0% {
3561
+ background-position: ${/*#__PURE__*/polished.rem('-800px')} 0;
3562
+ }
3563
+ 100% {
3564
+ background-position: ${/*#__PURE__*/polished.rem('800px')} 0;
3565
+ }
3566
+ }
3567
+
3568
+ width: 100%;
3569
+ height: ${/*#__PURE__*/polished.rem('15px')} !important;
3570
+ background: #f6f7f8;
3571
+ background-image: -webkit-linear-gradient(
3572
+ left,
3573
+ #f6f7f8 0%,
3574
+ #edeef1 20%,
3575
+ #f6f7f8 40%,
3576
+ #f6f7f8 100%
3577
+ );
3578
+ background-repeat: no-repeat;
3579
+ background-size: ${/*#__PURE__*/polished.rem('800px')} 100%;
3580
+ animation-fill-mode: forwards;
3581
+ animation-name: placeholderSkeleton;
3582
+ animation-timing-function: linear;
3583
+ animation-iteration-count: infinite;
3584
+ animation-duration: 1.5s;
3585
+ `;
2560
3586
 
2561
3587
  const Table$1 = props => {
2562
3588
  const {
@@ -2666,17 +3692,298 @@ const Table$1 = props => {
2666
3692
  handleOptionClick: () => {
2667
3693
  setIsVisible(false);
2668
3694
  }
2669
- })));
2670
- };
3695
+ })));
3696
+ };
3697
+
3698
+ const Table$2 = styled__default.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__*/polished.rem('50px')};
3712
+ padding: 0 ${/*#__PURE__*/polished.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__*/polished.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__*/polished.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__*/polished.rem('1px')};
3784
+ margin: ${/*#__PURE__*/polished.rem('-1px')};
3785
+ overflow: hidden;
3786
+ padding: 0;
3787
+ position: absolute;
3788
+ width: ${/*#__PURE__*/polished.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__*/polished.rem('50px')};
3830
+ padding: ${/*#__PURE__*/polished.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__*/polished.rem('30px')};
3841
+ height: ${/*#__PURE__*/polished.rem('30px')};
3842
+ fill: ${colors.grey200};
3843
+ transition-duration: ${misc.transitionDuration};
3844
+ }
3845
+ }
3846
+
3847
+ > div {
3848
+ margin-left: ${/*#__PURE__*/polished.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__*/polished.rem('30px')};
3868
+ min-height: ${/*#__PURE__*/polished.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__*/polished.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__*/polished.rem('20px')};
3895
+ max-height: ${/*#__PURE__*/polished.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__*/polished.rem('10px')} 0 0;
3913
+
3914
+ button {
3915
+ margin-top: ${/*#__PURE__*/polished.rem('5px')};
3916
+ transition: ${misc.transitionDuration};
3917
+ }
3918
+
3919
+ ul {
3920
+ top: ${/*#__PURE__*/polished.rem('36px')};
3921
+ margin-left: ${/*#__PURE__*/polished.rem('-170px')};
3922
+ }
3923
+ }
3924
+
3925
+ @media ${device.s} {
3926
+ display: table-cell;
3927
+ height: ${/*#__PURE__*/polished.rem('50px')};
3928
+ padding: 0 ${/*#__PURE__*/polished.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;
2671
3937
 
2672
- const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
2673
- displayName: "styles__Table",
2674
- componentId: "sc-1p618q0-0"
2675
- })(["position:relative;width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;table-layout:", ";th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-align:left;}}tbody{tr{display:block;transition-duration:", ";&:hover{background-color:", ";td{&.drag-handle{svg{fill:", ";}}&.menu{button{opacity:1;}}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;&.drag-handle{> div{width:min-content;}svg{width:", ";height:", ";fill:", ";transition-duration:", ";}}> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:", ";}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? field.borderWidth : 0, colors.grey200, field.borderRadius, props => props.layout, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, colors.grey50, colors.grey200, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.grey200, misc.transitionDuration, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.black, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.semiBold, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), misc.transitionDuration, /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
2676
- const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
2677
- displayName: "styles__TableRow",
2678
- componentId: "sc-1p618q0-1"
2679
- })(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
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__*/polished.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__*/polished.rem('5px')};
3966
+ }
3967
+ }
3968
+
3969
+ &.menu {
3970
+ width: ${/*#__PURE__*/polished.rem('40px')};
3971
+
3972
+ button {
3973
+ opacity: 0;
3974
+ }
3975
+ }
3976
+ }
3977
+ }
3978
+ }
3979
+ `;
3980
+ const TableRow = styled__default.tr`
3981
+ &[data-rbd-draggable-id='${props => props.draggableId}'] {
3982
+ position: absolute;
3983
+ display: table;
3984
+ width: 100%;
3985
+ }
3986
+ `;
2680
3987
 
2681
3988
  const TableDnD = props => {
2682
3989
  const {
@@ -2827,10 +4134,22 @@ const TableDnD = props => {
2827
4134
  );
2828
4135
  };
2829
4136
 
2830
- const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
2831
- displayName: "styles__Wrapper",
2832
- componentId: "sc-mbja2a-0"
2833
- })(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? field.errorBorderColor : colors.grey500, props => props.error ? field.errorBorderColor : field.color, /*#__PURE__*/polished.rem('15px'));
4137
+ const Wrapper$8 = styled__default.div`
4138
+ display: inline-block;
4139
+
4140
+ > label {
4141
+ margin-bottom: ${/*#__PURE__*/polished.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__*/polished.rem('15px')};
4151
+ }
4152
+ `;
2834
4153
 
2835
4154
  const FormGroup = props => {
2836
4155
  const {
@@ -2847,18 +4166,81 @@ const FormGroup = props => {
2847
4166
  }), children);
2848
4167
  };
2849
4168
 
2850
- const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
2851
- displayName: "styles__Wrapper",
2852
- componentId: "sc-124afcu-0"
2853
- })(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{fill:", ";}&:hover{pointer-events:none;}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.height, field.disabledBackgroundColor, field.disabledColor);
2854
- const Input = /*#__PURE__*/_styled__default.input.withConfig({
2855
- displayName: "styles__Input",
2856
- componentId: "sc-124afcu-1"
2857
- })(["border:0;width:", ";height:", ";padding:", ";font-family:inherit;font-size:", ";text-align:center;-moz-appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&:focus{outline:none;}&:invalid{box-shadow:none;background-color:", ";}"], props => props.max != null && props.max.toString().length > 5 ? props.max.toString().length * 10 + 20 + 'px' : '70px', field.height, /*#__PURE__*/polished.rem('10px'), typography.defaultSize, field.errorBackgroundColor);
2858
- const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
2859
- displayName: "styles__Button",
2860
- componentId: "sc-124afcu-2"
2861
- })(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:", ";&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], field.height, field.height, field.borderColor, misc.transitionDuration, field.borderWidth, field.borderColor, field.borderWidth, field.borderColor, /*#__PURE__*/polished.rem('20px'), colors.purple300, field.hoverBorderColor);
4169
+ const Wrapper$9 = styled__default.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__default.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__*/polished.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__default.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__*/polished.rem('20px')};
4237
+ fill: ${colors.purple300};
4238
+ }
4239
+
4240
+ &:hover {
4241
+ background-color: ${field.hoverBorderColor};
4242
+ }
4243
+ `;
2862
4244
 
2863
4245
  const NumberInputSpinner = props => {
2864
4246
  const {
@@ -2919,14 +4301,91 @@ const NumberInputSpinner = props => {
2919
4301
  })));
2920
4302
  };
2921
4303
 
2922
- const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
2923
- displayName: "styles__Steps",
2924
- componentId: "sc-1s2dhfy-0"
2925
- })(["margin:0;width:100%;padding:0;display:flex;"]);
2926
- const Step = /*#__PURE__*/_styled__default.li.withConfig({
2927
- displayName: "styles__Step",
2928
- componentId: "sc-1s2dhfy-1"
2929
- })(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:", ";color:", ";@media ", "{width:100%;font-size:", ";font-weight:", ";}}}"], /*#__PURE__*/polished.rem('44px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, field.borderRadius, field.borderRadius, field.borderRadius, field.borderRadius, props => props.active ? field.successBackgroundColor : field.borderColor, typography.fontSizeSm, props => props.active ? colors.white : colors.purple300, device.s, typography.defaultSize, typography.semiBold);
4304
+ const Steps = styled__default.ul`
4305
+ margin: 0;
4306
+ width: 100%;
4307
+ padding: 0;
4308
+ display: flex;
4309
+ `;
4310
+ const Step = styled__default.li`
4311
+ list-style: none;
4312
+ flex: 1;
4313
+ position: relative;
4314
+ height: ${/*#__PURE__*/polished.rem('44px')};
4315
+ display: flex;
4316
+ justify-content: center;
4317
+ align-items: center;
4318
+ padding-right: ${/*#__PURE__*/polished.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__*/polished.rem('22px')} ${/*#__PURE__*/polished.rem('15px')};
4329
+ width: 0;
4330
+ height: 0;
4331
+ }
4332
+
4333
+ &:before {
4334
+ left: ${/*#__PURE__*/polished.rem('-15px')};
4335
+ border-left-color: transparent;
4336
+ }
4337
+
4338
+ &:after {
4339
+ left: calc(100% - ${/*#__PURE__*/polished.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
+ `;
2930
4389
 
2931
4390
  const WizardSteps = props => {
2932
4391
  const {
@@ -2946,7 +4405,7 @@ const WizardSteps = props => {
2946
4405
  }, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("span", null, step.value))))));
2947
4406
  };
2948
4407
 
2949
- const PaginationWrapper = _styled__default.div`
4408
+ const PaginationWrapper = styled__default.div`
2950
4409
  --size: ${/*#__PURE__*/polished.rem('30px')};
2951
4410
 
2952
4411
  ul.pagination {
@@ -3072,7 +4531,7 @@ const PaginationControl = props => {
3072
4531
  }));
3073
4532
  };
3074
4533
 
3075
- const Wrapper$a = _styled__default.div`
4534
+ const Wrapper$a = styled__default.div`
3076
4535
  min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
3077
4536
  display: flex;
3078
4537
  flex-direction: column;
@@ -3115,7 +4574,7 @@ const Error = props => {
3115
4574
  }) : /*#__PURE__*/React__default.createElement("span", null, "\xAF\\\\_(\u30C4)_/\xAF"), value && /*#__PURE__*/React__default.createElement("span", null, value));
3116
4575
  };
3117
4576
 
3118
- const Wrapper$b = _styled__default.div`
4577
+ const Wrapper$b = styled__default.div`
3119
4578
  min-height: 50vh;
3120
4579
  display: flex;
3121
4580
  flex-direction: column;
@@ -5102,7 +6561,7 @@ const DataWarning = props => {
5102
6561
  }, icon, /*#__PURE__*/React__default.createElement("div", null, children));
5103
6562
  };
5104
6563
 
5105
- const Wrapper$c = _styled__default.ul`
6564
+ const Wrapper$c = styled__default.ul`
5106
6565
  display: flex;
5107
6566
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5108
6567
  position: relative;
@@ -5112,11 +6571,11 @@ const Wrapper$c = _styled__default.ul`
5112
6571
 
5113
6572
  li {
5114
6573
  &:not(:last-child) {
5115
- ${props => props.type === 'row' && _styled.css`
6574
+ ${props => props.type === 'row' && styled.css`
5116
6575
  margin-right: ${polished.rem('30px')};
5117
6576
  `}
5118
6577
 
5119
- ${props => props.type === 'column' && _styled.css`
6578
+ ${props => props.type === 'column' && styled.css`
5120
6579
  margin-bottom: ${polished.rem('10px')};
5121
6580
  `}
5122
6581
  }
@@ -5134,7 +6593,7 @@ const Wrapper$c = _styled__default.ul`
5134
6593
  margin-top: ${/*#__PURE__*/polished.rem('10px')};
5135
6594
  }
5136
6595
  `;
5137
- const Item = _styled__default.li`
6596
+ const Item = styled__default.li`
5138
6597
  --size: ${/*#__PURE__*/polished.rem('24px')};
5139
6598
  display: flex;
5140
6599
  position: relative;
@@ -5181,7 +6640,7 @@ const Item = _styled__default.li`
5181
6640
  border-color: ${field.hoverBorderColor};
5182
6641
  }
5183
6642
 
5184
- ${props => props.disabled && _styled.css`
6643
+ ${props => props.disabled && styled.css`
5185
6644
  label {
5186
6645
  color: ${field.disabledColor};
5187
6646
  }
@@ -5242,7 +6701,7 @@ const RadioGroup = props => {
5242
6701
  }) : null);
5243
6702
  };
5244
6703
 
5245
- const Wrapper$d = _styled__default.ul`
6704
+ const Wrapper$d = styled__default.ul`
5246
6705
  display: flex;
5247
6706
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5248
6707
  position: relative;
@@ -5255,11 +6714,11 @@ const Wrapper$d = _styled__default.ul`
5255
6714
  min-height: ${/*#__PURE__*/polished.rem('24px')};
5256
6715
 
5257
6716
  &:not(:last-child) {
5258
- ${props => props.type === 'row' && _styled.css`
6717
+ ${props => props.type === 'row' && styled.css`
5259
6718
  margin-right: ${polished.rem('30px')};
5260
6719
  `}
5261
6720
 
5262
- ${props => props.type === 'column' && _styled.css`
6721
+ ${props => props.type === 'column' && styled.css`
5263
6722
  margin-bottom: ${polished.rem('10px')};
5264
6723
  `}
5265
6724
  }
@@ -5296,12 +6755,12 @@ const CheckboxGroup = props => {
5296
6755
  }) : null);
5297
6756
  };
5298
6757
 
5299
- const Wrapper$e = _styled__default.div`
6758
+ const Wrapper$e = styled__default.div`
5300
6759
  label {
5301
6760
  margin-bottom: ${/*#__PURE__*/polished.rem('5px')};
5302
6761
  }
5303
6762
  `;
5304
- const Field = _styled__default.div`
6763
+ const Field = styled__default.div`
5305
6764
  display: flex;
5306
6765
  flex-wrap: wrap;
5307
6766
 
@@ -5483,22 +6942,88 @@ function HorizontalNav(props) {
5483
6942
  }));
5484
6943
  }
5485
6944
 
5486
- const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
5487
- displayName: "styles__ModalOverlay",
5488
- componentId: "sc-16r6vcc-0"
5489
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
5490
- const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
5491
- displayName: "styles__ModalWrapper",
5492
- componentId: "sc-16r6vcc-1"
5493
- })(["position:fixed;top:0;left:0;width:100%;height:100vh;z-index:", ";overflow-x:hidden;overflow-y:auto;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;@media ", "{display:flex;justify-content:center;align-items:", ";}"], props => props.zIndex + 1, device.s, props => props.modalOverflow ? 'flex-start' : 'center');
5494
- const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
5495
- displayName: "styles__ModalContainer",
5496
- componentId: "sc-16r6vcc-2"
5497
- })(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:", ";@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], colors.white, /*#__PURE__*/polished.rem('15px'), misc.transitionDuration, device.s, /*#__PURE__*/polished.rem('30px'), field.borderRadius, /*#__PURE__*/polished.rem('860px'), /*#__PURE__*/polished.rem('1px'));
5498
- const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
5499
- displayName: "styles__ModalHeader",
5500
- componentId: "sc-16r6vcc-3"
5501
- })(["display:flex;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;border:", " solid ", ";min-width:", ";height:", ";z-index:1;outline:none;@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold, /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('2px'), colors.grey200, /*#__PURE__*/polished.rem('28px'), /*#__PURE__*/polished.rem('28px'), device.s);
6945
+ const ModalOverlay = styled__default.div`
6946
+ position: fixed;
6947
+ top: 0;
6948
+ left: 0;
6949
+ background-color: ${/*#__PURE__*/polished.rgba(colors.black, 0.8)};
6950
+ width: 100vw;
6951
+ height: 100vh;
6952
+ z-index: ${props => props.zIndex ? props.zIndex : 10};
6953
+ `;
6954
+ const ModalWrapper = styled__default.div`
6955
+ position: fixed;
6956
+ top: 0;
6957
+ left: 0;
6958
+ width: 100%;
6959
+ height: 100vh;
6960
+ z-index: ${props => props.zIndex + 1};
6961
+ overflow-x: hidden;
6962
+ overflow-y: auto;
6963
+ -webkit-scrollbar-width: none;
6964
+ -moz-scrollbar-width: none;
6965
+ -ms-scrollbar-width: none;
6966
+ scrollbar-width: none;
6967
+ -webkit-overflow-scrolling: touch;
6968
+ -ms-overflow-style: -ms-autohiding-scrollbar;
6969
+
6970
+ @media ${device.s} {
6971
+ display: flex;
6972
+ justify-content: center;
6973
+ align-items: ${props => props.modalOverflow ? 'flex-start' : 'center'};
6974
+ }
6975
+ `;
6976
+ const ModalContainer = styled__default.div`
6977
+ position: relative;
6978
+ background: ${colors.white};
6979
+ width: 100%;
6980
+ min-height: 0;
6981
+ padding: ${/*#__PURE__*/polished.rem('15px')};
6982
+ word-wrap: break-word;
6983
+ transition-duration: ${misc.transitionDuration};
6984
+
6985
+ @media ${device.s} {
6986
+ --spacing: ${/*#__PURE__*/polished.rem('30px')};
6987
+ margin: var(--spacing);
6988
+ border-radius: ${field.borderRadius};
6989
+ max-width: ${/*#__PURE__*/polished.rem('860px')};
6990
+ padding: var(--spacing);
6991
+
6992
+ &:after {
6993
+ content: '';
6994
+ position: absolute;
6995
+ bottom: calc(var(--spacing) * -1);
6996
+ width: ${/*#__PURE__*/polished.rem('1px')};
6997
+ height: var(--spacing);
6998
+ }
6999
+ }
7000
+ `;
7001
+ const ModalHeader = styled__default.div`
7002
+ display: flex;
7003
+
7004
+ h2 {
7005
+ margin: 0 0 ${/*#__PURE__*/polished.rem('30px')} 0;
7006
+ font-size: ${/*#__PURE__*/polished.rem('32px')};
7007
+ font-weight: ${typography.semiBold};
7008
+ }
7009
+
7010
+ button {
7011
+ display: none;
7012
+ position: absolute;
7013
+ top: 0;
7014
+ right: 0;
7015
+ margin: ${/*#__PURE__*/polished.rem('-14px')} ${/*#__PURE__*/polished.rem('-14px')} 0 0;
7016
+ border: ${/*#__PURE__*/polished.rem('2px')} solid ${colors.grey200};
7017
+ min-width: ${/*#__PURE__*/polished.rem('28px')};
7018
+ height: ${/*#__PURE__*/polished.rem('28px')};
7019
+ z-index: 1;
7020
+ outline: none;
7021
+
7022
+ @media ${device.s} {
7023
+ display: inherit;
7024
+ }
7025
+ }
7026
+ `;
5502
7027
 
5503
7028
  const Modal = props => {
5504
7029
  const {
@@ -5549,35 +7074,72 @@ const Modal = props => {
5549
7074
  })))), document.body)) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
5550
7075
  };
5551
7076
 
5552
- const slideInLeft = _styled.keyframes`
5553
- from {
5554
- transform: translateX(100%);
7077
+ const ModalOverlay$1 = styled__default.div`
7078
+ position: fixed;
7079
+ top: 0;
7080
+ left: 0;
7081
+ background-color: ${/*#__PURE__*/polished.rgba(colors.black, 0.8)};
7082
+ width: 100vw;
7083
+ height: 100vh;
7084
+ z-index: ${props => props.zIndex ? props.zIndex : 10};
7085
+ `;
7086
+ const ModalWrapper$1 = styled__default.div`
7087
+ position: fixed;
7088
+ top: 0;
7089
+ left: 0;
7090
+ width: 100%;
7091
+ height: 100%;
7092
+ overflow-x: hidden;
7093
+ overflow-y: auto;
7094
+ z-index: ${props => props.zIndex + 1};
7095
+ `;
7096
+ const ModalContainer$1 = styled__default.div`
7097
+ @keyframes slideInLeft {
7098
+ from {
7099
+ transform: translateX(100%);
7100
+ }
7101
+
7102
+ to {
7103
+ transform: translateX(0);
7104
+ }
7105
+ }
7106
+
7107
+ margin-left: auto;
7108
+ background: ${colors.white};
7109
+ width: 100%;
7110
+ min-height: 100vh;
7111
+ display: flex;
7112
+ flex-direction: column;
7113
+ padding: ${/*#__PURE__*/polished.rem('15px')};
7114
+ word-wrap: break-word;
7115
+ animation-timing-function: ${/*#__PURE__*/polished.timingFunctions('easeOutQuint')};
7116
+ animation-duration: 1s;
7117
+ animation-fill-mode: forwards;
7118
+ transform: translateX(100%);
7119
+ animation-name: slideInLeft;
7120
+
7121
+ @media ${device.s} {
7122
+ max-width: ${/*#__PURE__*/polished.rem('400px')};
7123
+ padding: ${/*#__PURE__*/polished.rem('30px')};
7124
+ }
7125
+ `;
7126
+ const ModalHeader$1 = styled__default.div`
7127
+ top: 0;
7128
+
7129
+ h2 {
7130
+ margin: 0 0 ${/*#__PURE__*/polished.rem('30px')} 0;
7131
+ font-size: ${/*#__PURE__*/polished.rem('32px')};
7132
+ font-weight: ${typography.semiBold};
5555
7133
  }
7134
+ `;
7135
+ const ModalContent = styled__default.div`
7136
+ display: flex;
7137
+ flex-direction: column;
5556
7138
 
5557
- to {
5558
- transform: translateX(0);
7139
+ @media ${device.s} {
7140
+ flex: 1;
5559
7141
  }
5560
7142
  `;
5561
- const ModalOverlay$1 = /*#__PURE__*/_styled__default.div.withConfig({
5562
- displayName: "styles__ModalOverlay",
5563
- componentId: "sc-46huls-0"
5564
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
5565
- const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
5566
- displayName: "styles__ModalWrapper",
5567
- componentId: "sc-46huls-1"
5568
- })(["position:fixed;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;z-index:", ";"], props => props.zIndex + 1);
5569
- const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
5570
- displayName: "styles__ModalContainer",
5571
- componentId: "sc-46huls-2"
5572
- })(["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__*/polished.rem('15px'), /*#__PURE__*/polished.timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/polished.rem('400px'), /*#__PURE__*/polished.rem('30px'));
5573
- const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
5574
- displayName: "styles__ModalHeader",
5575
- componentId: "sc-46huls-3"
5576
- })(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold);
5577
- const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
5578
- displayName: "styles__ModalContent",
5579
- componentId: "sc-46huls-4"
5580
- })(["display:flex;flex-direction:column;@media ", "{flex:1;}"], device.s);
5581
7143
 
5582
7144
  const ModalDrawer = props => {
5583
7145
  const {
@@ -5630,7 +7192,7 @@ const ModalDrawer = props => {
5630
7192
  }))))), document.body)) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
5631
7193
  };
5632
7194
 
5633
- const Wrapper$f = _styled__default.div`
7195
+ const Wrapper$f = styled__default.div`
5634
7196
  div {
5635
7197
  width: 100%;
5636
7198
  height: 100%;
@@ -5725,7 +7287,7 @@ const Wrapper$f = _styled__default.div`
5725
7287
  }
5726
7288
  }
5727
7289
  `;
5728
- const Grid = _styled__default.div`
7290
+ const Grid = styled__default.div`
5729
7291
  display: grid;
5730
7292
  grid-template-columns: repeat(auto-fill, ${/*#__PURE__*/polished.rem('300px')});
5731
7293
  grid-gap: ${/*#__PURE__*/polished.rem('15px')};
@@ -5798,7 +7360,7 @@ const LoadingState = props => {
5798
7360
  }, loadingType);
5799
7361
  };
5800
7362
 
5801
- const Wrapper$g = _styled__default.div`
7363
+ const Wrapper$g = styled__default.div`
5802
7364
  .tab {
5803
7365
  border-color: ${field.borderColor};
5804
7366
 
@@ -5986,16 +7548,16 @@ const TabsPanel = props => {
5986
7548
  }));
5987
7549
  };
5988
7550
 
5989
- const Wrapper$h = _styled__default.div`
7551
+ const Wrapper$h = styled__default.div`
5990
7552
  display: flex;
5991
7553
  flex-direction: column;
5992
7554
  `;
5993
- const GridRow = _styled__default.div`
7555
+ const GridRow = styled__default.div`
5994
7556
  @media ${device.m} {
5995
7557
  display: flex;
5996
7558
  }
5997
7559
  `;
5998
- const GridCol = _styled__default.div`
7560
+ const GridCol = styled__default.div`
5999
7561
  @media ${device.m} {
6000
7562
  flex: ${props => props.size};
6001
7563
  }