@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.
@@ -1,6 +1,6 @@
1
1
  import React, { useState, useRef, useEffect, useMemo } from 'react';
2
2
  import Avatar from 'boring-avatars';
3
- import _styled, { css, keyframes } from 'styled-components';
3
+ import styled, { css } from 'styled-components';
4
4
  import { rem, rgba, transparentize, timingFunctions } from 'polished';
5
5
  import Select$1, { components } from 'react-select';
6
6
  import { Carousel } from 'react-responsive-carousel';
@@ -189,10 +189,24 @@ const field = {
189
189
  placeholderColor: colors.grey200
190
190
  };
191
191
 
192
- const Wrapper = /*#__PURE__*/_styled.div.withConfig({
193
- displayName: "styles__Wrapper",
194
- componentId: "sc-1oawilb-0"
195
- })(["position:relative;border:", " solid ", ";border-radius:", ";width:", "px;height:", "px;overflow:hidden;z-index:0;> *{width:100%;height:100%;}img{object-fit:cover;}"], /*#__PURE__*/rem('2px'), colors.grey200, props => props.square ? 0 : '999px', props => props.size, props => props.size);
192
+ const Wrapper = styled.div`
193
+ position: relative;
194
+ border: ${/*#__PURE__*/rem('2px')} solid ${colors.grey200};
195
+ border-radius: ${props => props.square ? 0 : '999px'};
196
+ width: ${props => props.size}px;
197
+ height: ${props => props.size}px;
198
+ overflow: hidden;
199
+ z-index: 0;
200
+
201
+ > * {
202
+ width: 100%;
203
+ height: 100%;
204
+ }
205
+
206
+ img {
207
+ object-fit: cover;
208
+ }
209
+ `;
196
210
 
197
211
  const AvatarImage = props => {
198
212
  const {
@@ -243,10 +257,82 @@ const useColor = value => {
243
257
  };
244
258
  };
245
259
 
246
- const ButtonWrapper = /*#__PURE__*/_styled.button.withConfig({
247
- displayName: "styles__ButtonWrapper",
248
- componentId: "sc-baestp-0"
249
- })(["--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 ? rem('80px') : 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__*/rem(typography.defaultSize), typography.medium, /*#__PURE__*/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);
260
+ const ButtonWrapper = styled.button`
261
+ --bg: ${props => useColor(props.color ?? 'black').color};
262
+ --txt: ${props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color};
263
+ --hover: ${props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover};
264
+
265
+ margin: 0;
266
+ border-width: ${props => props.variant === 'outline' ? button.borderWidth : 0};
267
+ border-style: solid;
268
+ border-color: var(--bg);
269
+ border-radius: ${props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius};
270
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
271
+ width: min-content;
272
+ min-width: ${props => props.value ? rem('80px') : rem('42px')};
273
+ height: ${button.height};
274
+ display: flex;
275
+ justify-content: center;
276
+ align-items: center;
277
+ padding: ${props => props.value ? `0 ${button.padding}` : 0};
278
+ white-space: nowrap;
279
+ text-decoration: none;
280
+ transition-duration: ${misc.transitionDuration};
281
+ cursor: pointer;
282
+ outline: none;
283
+
284
+ &:hover {
285
+ border-color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
286
+ background-color: ${props => props.variant === 'solid' ? 'var(--hover)' : 'transparent'};
287
+
288
+ span {
289
+ color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
290
+ }
291
+
292
+ svg {
293
+ fill: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
294
+ }
295
+ }
296
+
297
+ &:disabled {
298
+ cursor: inherit;
299
+ opacity: 0.5;
300
+
301
+ &:hover {
302
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
303
+ pointer-events: none;
304
+ }
305
+ }
306
+
307
+ > *:not(:last-child) {
308
+ margin-left: ${props => props.iconPosition === 'right' ? button.iconSpacing : 0};
309
+ margin-right: ${props => props.iconPosition === 'left' ? button.iconSpacing : 0};
310
+ }
311
+
312
+ .spinner {
313
+ order: ${props => props.iconPosition === 'left' ? 1 : 2};
314
+ border-top-color: ${props => props.variant === 'solid' ? '' : 'var(--button)'};
315
+ }
316
+
317
+ span {
318
+ position: relative;
319
+ font-size: ${/*#__PURE__*/rem(typography.defaultSize)};
320
+ font-weight: ${typography.medium};
321
+ line-height: ${/*#__PURE__*/rem(typography.defaultSize)};
322
+ color: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
323
+ pointer-events: none;
324
+ transition-duration: ${misc.transitionDuration};
325
+ order: ${props => props.iconPosition === 'left' ? 2 : 1};
326
+ }
327
+
328
+ svg {
329
+ order: ${props => props.iconPosition === 'left' ? 1 : 2};
330
+ width: ${button.iconSize};
331
+ height: ${button.iconSize};
332
+ fill: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
333
+ transition: ${misc.transitionDuration};
334
+ }
335
+ `;
250
336
 
251
337
  const Button = props => {
252
338
  const {
@@ -289,10 +375,79 @@ const Button = props => {
289
375
  }) : null, value && /*#__PURE__*/React.createElement("span", null, value));
290
376
  };
291
377
 
292
- const ActionsMenuStyle = /*#__PURE__*/_styled.div.withConfig({
293
- displayName: "styles__ActionsMenuStyle",
294
- componentId: "sc-1j5ogfi-0"
295
- })(["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__*/rem('1px'), field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/rem('200px'), /*#__PURE__*/rem('250px'), /*#__PURE__*/rem('15px'), field.boxShadow, /*#__PURE__*/rem('15px'), field.boxShadow, /*#__PURE__*/rem('15px'), field.boxShadow, misc.transitionDuration, /*#__PURE__*/rem('45px'), props => props.visibleActions, /*#__PURE__*/rem('2px'), /*#__PURE__*/rem('1280px'), /*#__PURE__*/rem('45px'), field.borderColor, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('20px'), field.color);
378
+ const ActionsMenuStyle = styled.div`
379
+ position: relative;
380
+
381
+ ul {
382
+ position: absolute;
383
+ opacity: 0;
384
+ top: 0;
385
+ margin: 0;
386
+ border: ${/*#__PURE__*/rem('1px')} solid ${field.borderColor};
387
+ border-radius: ${field.borderRadius};
388
+ background-color: ${field.backgroundColor};
389
+ min-width: ${/*#__PURE__*/rem('200px')};
390
+ max-width: ${/*#__PURE__*/rem('250px')};
391
+ height: 0;
392
+ max-height: none;
393
+ padding: 0;
394
+ -moz-box-shadow: 0 0 ${/*#__PURE__*/rem('15px')} 0 ${field.boxShadow};
395
+ -webkit-box-shadow: 0 0 ${/*#__PURE__*/rem('15px')} 0 ${field.boxShadow};
396
+ box-shadow: 0 0 ${/*#__PURE__*/rem('15px')} 0 ${field.boxShadow};
397
+ overflow-y: hidden;
398
+ z-index: 1;
399
+ -webkit-scrollbar-width: none;
400
+ -moz-scrollbar-width: none;
401
+ -ms-scrollbar-width: none;
402
+ scrollbar-width: none;
403
+ -webkit-overflow-scrolling: touch;
404
+ -ms-overflow-style: -ms-autohiding-scrollbar;
405
+ transition-duration: ${misc.transitionDuration};
406
+
407
+ &.isOpen {
408
+ opacity: 1;
409
+ // prettier-ignore
410
+ height: calc(${/*#__PURE__*/rem('45px')} * ${props => props.visibleActions} + ${/*#__PURE__*/rem('2px')});
411
+ max-height: ${/*#__PURE__*/rem('1280px')};
412
+ }
413
+
414
+ li {
415
+ list-style: none;
416
+ min-height: ${/*#__PURE__*/rem('45px')};
417
+ display: flex;
418
+ transition-duration: 0.3s;
419
+
420
+ &:hover {
421
+ background-color: ${field.borderColor};
422
+ cursor: pointer;
423
+ }
424
+
425
+ &:first-child {
426
+ border-radius: ${/*#__PURE__*/rem('4px')} ${/*#__PURE__*/rem('4px')} 0 0;
427
+ }
428
+
429
+ &:last-child {
430
+ border-radius: 0 0 ${/*#__PURE__*/rem('4px')} ${/*#__PURE__*/rem('4px')};
431
+ }
432
+
433
+ a {
434
+ width: 100%;
435
+ display: flex;
436
+ align-items: center;
437
+ padding: 0 ${/*#__PURE__*/rem('20px')};
438
+ color: ${field.color};
439
+ text-decoration: none;
440
+ white-space: nowrap;
441
+
442
+ span {
443
+ display: table-cell;
444
+ overflow: hidden;
445
+ text-overflow: ellipsis;
446
+ }
447
+ }
448
+ }
449
+ }
450
+ `;
296
451
 
297
452
  function useVisible(initialIsVisible) {
298
453
  const [isVisible, setIsVisible] = useState(initialIsVisible);
@@ -387,10 +542,65 @@ const ButtonDropdown = props => {
387
542
  }, /*#__PURE__*/React.createElement("span", null, value))))));
388
543
  };
389
544
 
390
- const ButtonLinkStyle = /*#__PURE__*/_styled.a.withConfig({
391
- displayName: "styles__ButtonLinkStyle",
392
- componentId: "sc-clge7v-0"
393
- })(["--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 ? rem('80px') : 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__*/rem(typography.defaultSize), typography.medium, /*#__PURE__*/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);
545
+ const ButtonLinkStyle = styled.a`
546
+ --bg: ${props => useColor(props.color ?? 'black').color};
547
+ --txt: ${props => props.variant === 'outline' && !props.txtColor ? useColor(props.color ?? 'black').color : useColor(props.txtColor ?? 'white').color};
548
+ --hover: ${props => props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor(props.color ?? 'black').hover};
549
+
550
+ border-width: ${props => props.variant === 'outline' ? button.borderWidth : 0};
551
+ border-style: solid;
552
+ border-color: var(--bg);
553
+ border-radius: ${props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius};
554
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
555
+ width: min-content;
556
+ min-width: ${props => props.value ? rem('80px') : rem('42px')};
557
+ height: ${button.height};
558
+ display: flex;
559
+ justify-content: center;
560
+ align-items: center;
561
+ padding: ${props => props.value ? `0 ${button.padding}` : 0};
562
+ white-space: nowrap;
563
+ text-decoration: none;
564
+ transition-duration: ${misc.transitionDuration};
565
+ cursor: pointer;
566
+
567
+ &:hover {
568
+ border-color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
569
+ background-color: ${props => props.variant === 'solid' ? 'var(--hover)' : 'transparent'};
570
+
571
+ span {
572
+ color: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
573
+ }
574
+
575
+ svg {
576
+ fill: ${props => props.variant === 'solid' ? '' : 'var(--hover)'};
577
+ }
578
+ }
579
+
580
+ > *:not(:last-child) {
581
+ margin-left: ${props => props.iconPosition === 'right' ? button.iconSpacing : 0};
582
+ margin-right: ${props => props.iconPosition === 'left' ? button.iconSpacing : 0};
583
+ }
584
+
585
+ span {
586
+ position: relative;
587
+ font-size: ${/*#__PURE__*/rem(typography.defaultSize)};
588
+ font-weight: ${typography.medium};
589
+ line-height: ${/*#__PURE__*/rem(typography.defaultSize)};
590
+ color: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
591
+ pointer-events: none;
592
+ transition-duration: ${misc.transitionDuration};
593
+ order: ${props => props.iconPosition === 'left' ? 2 : 1};
594
+ }
595
+
596
+ svg {
597
+ order: ${props => props.iconPosition === 'left' ? 1 : 2};
598
+ width: ${button.iconSize};
599
+ height: ${button.iconSize};
600
+ fill: ${props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)'};
601
+ transition: ${misc.transitionDuration};
602
+ }
603
+ `;
394
604
 
395
605
  const ButtonLink = props => {
396
606
  const {
@@ -438,22 +648,94 @@ const ButtonLink = props => {
438
648
  }), value && /*#__PURE__*/React.createElement("span", null, value));
439
649
  };
440
650
 
441
- const CheckboxWrapper = /*#__PURE__*/_styled.label.withConfig({
442
- displayName: "styles__CheckboxWrapper",
443
- componentId: "sc-w5t014-0"
444
- })(["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);
445
- const CheckboxLabel = /*#__PURE__*/_styled.span.withConfig({
446
- displayName: "styles__CheckboxLabel",
447
- componentId: "sc-w5t014-1"
448
- })(["margin-left:calc(", " + ", ");line-height:", ";"], /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('24px'));
449
- const CheckboxInput = /*#__PURE__*/_styled.input.withConfig({
450
- displayName: "styles__CheckboxInput",
451
- componentId: "sc-w5t014-2"
452
- })(["position:absolute;left:0;opacity:0;cursor:pointer;"]);
453
- const Checkmark = /*#__PURE__*/_styled.span.withConfig({
454
- displayName: "styles__Checkmark",
455
- componentId: "sc-w5t014-3"
456
- })(["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__*/rem('2px'), props => props.error ? field.errorBorderColor : field.borderColor, /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), misc.transitionDuration, /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('9px'), colors.white, /*#__PURE__*/rem('3px'), /*#__PURE__*/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);
651
+ const CheckboxWrapper = styled.label`
652
+ display: flex;
653
+ position: relative;
654
+ padding-left: 0;
655
+ cursor: ${props => props.disabled ? 'auto' : 'pointer'};
656
+ -webkit-user-select: none;
657
+ -moz-user-select: none;
658
+ -ms-user-select: none;
659
+ user-select: none;
660
+
661
+ &:hover input:not(:disabled) ~ span {
662
+ border-color: ${props => props.error ? field.errorBorderColor : field.hoverBorderColor};
663
+ }
664
+
665
+ span {
666
+ color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : null};
667
+ border-color: ${props => props.error ? field.errorBorderColor : null};
668
+ }
669
+ `;
670
+ const CheckboxLabel = styled.span`
671
+ margin-left: calc(${/*#__PURE__*/rem('24px')} + ${/*#__PURE__*/rem('5px')});
672
+ line-height: ${/*#__PURE__*/rem('24px')};
673
+ `;
674
+ const CheckboxInput = styled.input`
675
+ position: absolute;
676
+ left: 0;
677
+ opacity: 0;
678
+ cursor: pointer;
679
+ `;
680
+ const Checkmark = styled.span`
681
+ position: absolute;
682
+ top: 0;
683
+ left: 0;
684
+ border: ${/*#__PURE__*/rem('2px')} solid
685
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
686
+ border-radius: 100%;
687
+ width: ${/*#__PURE__*/rem('24px')};
688
+ height: ${/*#__PURE__*/rem('24px')};
689
+ transition-duration: ${misc.transitionDuration};
690
+
691
+ &:after {
692
+ display: block;
693
+ content: '';
694
+ position: absolute;
695
+ display: none;
696
+ top: ${/*#__PURE__*/rem('3px')};
697
+ left: ${/*#__PURE__*/rem('6px')};
698
+ width: ${/*#__PURE__*/rem('5px')};
699
+ height: ${/*#__PURE__*/rem('9px')};
700
+ border: solid ${colors.white};
701
+ border-width: 0 ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('3px')} 0;
702
+ -webkit-transform: rotate(45deg);
703
+ -ms-transform: rotate(45deg);
704
+ transform: rotate(45deg);
705
+ }
706
+
707
+ &.checked.not-disabled {
708
+ background-color: ${props => props.error ? field.errorBackgroundColor : field.successBackgroundColor};
709
+ border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
710
+
711
+ &:after {
712
+ display: block;
713
+ }
714
+ }
715
+
716
+ &.checked.disabled {
717
+ color: ${field.disabledColor};
718
+ border-color: transparent;
719
+ background-color: ${field.disabledBackgroundColor};
720
+
721
+ &:after {
722
+ display: block;
723
+ }
724
+ }
725
+
726
+ &.not-checked.disabled {
727
+ border-color: ${field.disabledBackgroundColor};
728
+ background-color: ${colors.white};
729
+ }
730
+
731
+ &.not-disabled:hover {
732
+ border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
733
+
734
+ &:checked ~ span {
735
+ border-color: ${props => props.error ? field.errorBorderColor : field.successBorderColor};
736
+ }
737
+ }
738
+ `;
457
739
 
458
740
  const Checkbox = ({
459
741
  label,
@@ -508,22 +790,101 @@ const Checkbox = ({
508
790
  }));
509
791
  };
510
792
 
511
- const CheckboxWrapper$1 = /*#__PURE__*/_styled.label.withConfig({
512
- displayName: "styles__CheckboxWrapper",
513
- componentId: "sc-itly0z-0"
514
- })(["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);
515
- const CheckboxLabel$1 = /*#__PURE__*/_styled.span.withConfig({
516
- displayName: "styles__CheckboxLabel",
517
- componentId: "sc-itly0z-1"
518
- })(["margin-left:", ";line-height:", ";"], /*#__PURE__*/rem('40px'), /*#__PURE__*/rem('24px'));
519
- const CheckboxInput$1 = /*#__PURE__*/_styled.input.withConfig({
520
- displayName: "styles__CheckboxInput",
521
- componentId: "sc-itly0z-2"
522
- })(["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);
523
- const Checkmark$1 = /*#__PURE__*/_styled.span.withConfig({
524
- displayName: "styles__Checkmark",
525
- componentId: "sc-itly0z-3"
526
- })(["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__*/rem('10px'), /*#__PURE__*/rem('2px'), field.borderColor, colors.white, /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), misc.transitionDuration, /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('9px'), props => props.disabled ? colors.white : field.successBorderColor, /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('3px'));
793
+ const CheckboxWrapper$1 = styled.label`
794
+ border: ${field.borderWidth} solid
795
+ ${props => props.disabled ? field.borderColor : props.checked ? field.successBorderColor : field.borderColor};
796
+ border-radius: ${field.borderRadius};
797
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.backgroundColor};
798
+ height: ${field.height};
799
+ display: flex;
800
+ align-items: center;
801
+ position: relative;
802
+ cursor: ${props => props.disabled ? 'auto' : 'pointer'};
803
+ -webkit-user-select: none;
804
+ -moz-user-select: none;
805
+ -ms-user-select: none;
806
+ user-select: none;
807
+ transition-duration: ${misc.transitionDuration};
808
+
809
+ &:hover input:not(:disabled) ~ span {
810
+ border-color: ${field.hoverBorderColor};
811
+ }
812
+
813
+ &:hover {
814
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.borderColor};
815
+ }
816
+
817
+ span {
818
+ color: ${props => props.disabled ? field.disabledColor : props.checked ? colors.white : null};
819
+ transition-duration: ${misc.transitionDuration};
820
+ }
821
+ `;
822
+ const CheckboxLabel$1 = styled.span`
823
+ margin-left: ${/*#__PURE__*/rem('40px')};
824
+ line-height: ${/*#__PURE__*/rem('24px')};
825
+ `;
826
+ const CheckboxInput$1 = styled.input`
827
+ position: absolute;
828
+ left: 0;
829
+ opacity: 0;
830
+ cursor: pointer;
831
+
832
+ &:checked:not(:disabled) ~ span {
833
+ background-color: ${colors.white};
834
+ border-color: ${field.successBorderColor};
835
+
836
+ &:after {
837
+ display: block;
838
+ }
839
+ }
840
+
841
+ &:checked:disabled ~ span {
842
+ background-color: ${field.disabledBackgroundColor};
843
+ color: ${field.disabledColor};
844
+
845
+ &:after {
846
+ display: block;
847
+ border-color: ${field.disabledColor};
848
+ }
849
+ }
850
+
851
+ &:not(:checked):disabled ~ span {
852
+ border-color: ${field.disabledBackgroundColor};
853
+ background-color: ${field.backgroundColor};
854
+ }
855
+
856
+ &:hover:not(:disabled) {
857
+ &:checked ~ span {
858
+ border-color: ${field.successBorderColor};
859
+ }
860
+ }
861
+ `;
862
+ const Checkmark$1 = styled.span`
863
+ position: absolute;
864
+ left: ${/*#__PURE__*/rem('10px')};
865
+ border: ${/*#__PURE__*/rem('2px')} solid ${field.borderColor};
866
+ border-radius: 999px;
867
+ background-color: ${colors.white};
868
+ width: ${/*#__PURE__*/rem('24px')};
869
+ height: ${/*#__PURE__*/rem('24px')};
870
+ transition-duration: ${misc.transitionDuration};
871
+
872
+ &:after {
873
+ content: '';
874
+ position: absolute;
875
+ display: none;
876
+ top: ${/*#__PURE__*/rem('3px')};
877
+ left: ${/*#__PURE__*/rem('6px')};
878
+ width: ${/*#__PURE__*/rem('5px')};
879
+ height: ${/*#__PURE__*/rem('9px')};
880
+ border: solid
881
+ ${props => props.disabled ? colors.white : field.successBorderColor};
882
+ border-width: 0 ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('3px')} 0;
883
+ -webkit-transform: rotate(45deg);
884
+ -ms-transform: rotate(45deg);
885
+ transform: rotate(45deg);
886
+ }
887
+ `;
527
888
 
528
889
  const CheckboxButton = props => {
529
890
  const {
@@ -738,10 +1099,56 @@ const icons = {
738
1099
  withdraw: 'M29.8 26.4a3.4 3.4 0 01-3.4 3.4H5.6a3.4 3.4 0 01-3.4-3.4V15.2a3.4 3.4 0 013.4-3.4h3.2a1 1 0 110 2H5.6a1.4 1.4 0 00-1.4 1.4v11.2a1.4 1.4 0 001.4 1.4h20.8a1.4 1.4 0 001.4-1.4V15.2a1.4 1.4 0 00-1.4-1.4h-3.2a1 1 0 110-2h3.2a3.4 3.4 0 013.4 3.4v11.2zM24 25a1 1 0 01-1-1v-5.6a1 1 0 112 0V24a1 1 0 01-1 1zm-8-2a2.2 2.2 0 100-4.4 2.2 2.2 0 000 4.4zm4.2-2.2a4.2 4.2 0 11-8.4 0 4.2 4.2 0 018.4 0zM8 25a1 1 0 01-1-1v-5.6a1 1 0 112 0V24a1 1 0 01-1 1zm8-11.543a1 1 0 01-1-1l.001-6.843-2.513 2.514a1 1 0 11-1.415-1.414l4.221-4.221a1 1 0 011.414 0l4.526 4.525a1 1 0 01-1.415 1.415l-2.818-2.819v6.843a1 1 0 01-1 1z'
739
1100
  };
740
1101
 
741
- const TextFieldInputStyle = /*#__PURE__*/_styled.input.withConfig({
742
- displayName: "styles__TextFieldInputStyle",
743
- componentId: "sc-1hxcxbo-0"
744
- })(["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__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), field.height, /*#__PURE__*/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 && css`
1102
+ const TextFieldInputStyle = styled.input`
1103
+ border-width: ${field.borderWidth};
1104
+ border-style: solid;
1105
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1106
+ border-radius: ${field.borderRadius};
1107
+ background-repeat: no-repeat;
1108
+ background-size: ${/*#__PURE__*/rem('20px')} ${/*#__PURE__*/rem('20px')};
1109
+ background-position: ${/*#__PURE__*/rem('10px')} 50%;
1110
+ height: ${field.height};
1111
+ padding: ${/*#__PURE__*/rem('10px')};
1112
+ font-family: inherit;
1113
+ font-size: ${typography.defaultSize};
1114
+ transition-property: border-color;
1115
+ transition-duration: ${misc.transitionDuration};
1116
+
1117
+ &:hover {
1118
+ border-color: ${field.hoverBorderColor};
1119
+ }
1120
+
1121
+ &:focus {
1122
+ border-color: ${field.activeBorderColor};
1123
+ outline: none;
1124
+ }
1125
+
1126
+ &:disabled {
1127
+ border-color: ${field.borderColor};
1128
+ background-color: ${field.disabledBackgroundColor};
1129
+ color: ${field.disabledColor};
1130
+ }
1131
+
1132
+ &:invalid {
1133
+ border-color: ${field.errorBorderColor};
1134
+ outline: none;
1135
+ box-shadow: none;
1136
+ -webkit-box-shadow: none;
1137
+ -moz-box-shadow: none;
1138
+ }
1139
+
1140
+ &:required {
1141
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1142
+ }
1143
+
1144
+ &::placeholder,
1145
+ &:-ms-input-placeholder,
1146
+ &::-ms-input-placeholder {
1147
+ color: ${field.placeholderColor};
1148
+ opacity: 1;
1149
+ }
1150
+
1151
+ ${props => props.icon && css`
745
1152
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32"><path style="fill:${props => props.error ? 'rgb(235,87,87)' : 'rgb(217,212,237)'}" d=${JSON.stringify(icons[props.icon])} /></svg>');
746
1153
  padding-left: ${rem('40px')};
747
1154
 
@@ -749,12 +1156,13 @@ const TextFieldInputStyle = /*#__PURE__*/_styled.input.withConfig({
749
1156
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32">
750
1157
  <path style="fill:rgb(67,41,166)" d=${JSON.stringify(icons[props.icon])} /></svg>');
751
1158
  }
752
- `);
1159
+ `}
1160
+ `;
753
1161
 
754
- const Wrapper$1 = _styled.div`
1162
+ const Wrapper$1 = styled.div`
755
1163
  position: relative;
756
1164
  `;
757
- const TextAreaStyle = _styled.textarea`
1165
+ const TextAreaStyle = styled.textarea`
758
1166
  border-width: ${field.borderWidth};
759
1167
  border-style: solid;
760
1168
  border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
@@ -810,7 +1218,7 @@ const TextAreaStyle = _styled.textarea`
810
1218
  opacity: 1;
811
1219
  }
812
1220
  `;
813
- const Count = _styled.div`
1221
+ const Count = styled.div`
814
1222
  position: absolute;
815
1223
  top: ${/*#__PURE__*/rem('5px')};
816
1224
  right: ${/*#__PURE__*/rem('10px')};
@@ -827,7 +1235,7 @@ const Count = _styled.div`
827
1235
  }
828
1236
  `;
829
1237
 
830
- const SelectStyle = _styled.select`
1238
+ const SelectStyle = styled.select`
831
1239
  border: ${field.borderWidth} solid
832
1240
  ${props => props.error ? field.errorBorderColor : field.borderColor};
833
1241
  border-radius: ${field.borderRadius};
@@ -863,13 +1271,18 @@ const SelectStyle = _styled.select`
863
1271
  }
864
1272
  `;
865
1273
 
866
- const ErrorStyle = /*#__PURE__*/_styled.span.withConfig({
867
- displayName: "styles__ErrorStyle",
868
- componentId: "sc-4e4ecc-0"
869
- })(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/rem('5px'));
1274
+ const ErrorStyle = styled.span`
1275
+ display: block;
1276
+ font-size: 0.7rem;
1277
+ color: ${props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor};
870
1278
 
871
- const ErrorField = props => {
872
- const {
1279
+ ${TextFieldInputStyle} + &, ${TextAreaStyle} + &, ${SelectStyle} + & {
1280
+ margin-top: ${/*#__PURE__*/rem('5px')};
1281
+ }
1282
+ `;
1283
+
1284
+ const ErrorField = props => {
1285
+ const {
873
1286
  color = 'red',
874
1287
  error,
875
1288
  className = 'error-field',
@@ -901,10 +1314,19 @@ const Icon = props => {
901
1314
  }));
902
1315
  };
903
1316
 
904
- const LabelStyle = /*#__PURE__*/_styled.label.withConfig({
905
- displayName: "styles__LabelStyle",
906
- componentId: "sc-pbv9we-0"
907
- })(["display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";svg{margin-left:", ";width:auto;height:", ";}"], typography.fontSizeXs, typography.semiBold, colors.grey500, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('16px'));
1317
+ const LabelStyle = styled.label`
1318
+ display: flex;
1319
+ align-items: center;
1320
+ font-size: ${typography.fontSizeXs};
1321
+ font-weight: ${typography.semiBold};
1322
+ color: ${colors.grey500};
1323
+
1324
+ svg {
1325
+ margin-left: ${/*#__PURE__*/rem('5px')};
1326
+ width: auto;
1327
+ height: ${/*#__PURE__*/rem('16px')};
1328
+ }
1329
+ `;
908
1330
 
909
1331
  const Label = props => {
910
1332
  const {
@@ -925,18 +1347,23 @@ const Label = props => {
925
1347
  }));
926
1348
  };
927
1349
 
928
- const rotation = keyframes`
929
- from {
1350
+ const Loading = styled.div`
1351
+ @keyframes rotation {
1352
+ from {
930
1353
  transform: rotate(0deg);
1354
+ }
1355
+ to {
1356
+ transform: rotate(360deg);
1357
+ }
931
1358
  }
932
- to {
933
- transform: rotate(360deg);
934
- }
1359
+
1360
+ border: ${/*#__PURE__*/rem('5px')} solid hsla(0, 0%, 48%, 0.5);
1361
+ border-top-color: ${props => props.fill || colors.white};
1362
+ border-radius: 50%;
1363
+ width: ${props => props.size || rem('20px')};
1364
+ height: ${props => props.size || rem('20px')};
1365
+ animation: rotation 0.8s ease infinite;
935
1366
  `;
936
- const Loading = /*#__PURE__*/_styled.div.withConfig({
937
- displayName: "styles__Loading",
938
- componentId: "sc-sxnx45-0"
939
- })(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/rem('5px'), props => props.fill || colors.white, props => props.size || rem('20px'), props => props.size || rem('20px'), rotation);
940
1367
 
941
1368
  const Spinner = props => {
942
1369
  const {
@@ -953,10 +1380,23 @@ const Spinner = props => {
953
1380
  });
954
1381
  };
955
1382
 
956
- const TagWrapper = /*#__PURE__*/_styled.span.withConfig({
957
- displayName: "styles__TagWrapper",
958
- componentId: "sc-1ghratr-0"
959
- })(["--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__*/rem('2px'), /*#__PURE__*/rem('4px'), props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('8px'), /*#__PURE__*/rem('12px'), typography.medium, /*#__PURE__*/rem('1px'), props => props.variant === 'solid' ? 'var(--txt)' : 'var(--bg)');
1383
+ const TagWrapper = styled.span`
1384
+ --bg: ${props => useColor(props.color ?? 'black').color};
1385
+ --txt: ${props => useColor(props.txtColor ?? 'black').color};
1386
+
1387
+ display: inline-block;
1388
+ border: ${/*#__PURE__*/rem('2px')} solid var(--bg);
1389
+ border-radius: ${/*#__PURE__*/rem('4px')};
1390
+ background-color: ${props => props.variant === 'solid' ? 'var(--bg)' : 'transparent'};
1391
+ padding: ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('8px')};
1392
+ font-size: ${/*#__PURE__*/rem('12px')};
1393
+ font-weight: ${typography.medium};
1394
+ text-transform: uppercase;
1395
+ letter-spacing: ${/*#__PURE__*/rem('1px')};
1396
+ line-height: 1;
1397
+ color: ${props => props.variant === 'solid' ? 'var(--txt)' : 'var(--bg)'};
1398
+ white-space: nowrap;
1399
+ `;
960
1400
 
961
1401
  const Tag = props => {
962
1402
  const {
@@ -977,10 +1417,44 @@ const Tag = props => {
977
1417
  }, value);
978
1418
  };
979
1419
 
980
- const TagWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
981
- displayName: "styles__TagWrapper",
982
- componentId: "sc-db57da-0"
983
- })(["--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__*/rem('2px'), /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('8px'), /*#__PURE__*/rem('12px'), typography.medium, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('5px'));
1420
+ const TagWrapper$1 = styled.div`
1421
+ --bg: ${props => useColor(props.color ?? 'black').color};
1422
+ --valueColor: ${props => useColor(props.valueColor ?? 'black').color};
1423
+
1424
+ display: flex;
1425
+ border: ${/*#__PURE__*/rem('2px')} solid var(--bg);
1426
+ border-radius: ${/*#__PURE__*/rem('3px')};
1427
+ line-height: 1;
1428
+ max-width: 100%;
1429
+ width: max-content;
1430
+ overflow: hidden;
1431
+
1432
+ span {
1433
+ display: inline-block;
1434
+ padding: ${/*#__PURE__*/rem('3px')} ${/*#__PURE__*/rem('8px')};
1435
+ font-size: ${/*#__PURE__*/rem('12px')};
1436
+ font-weight: ${typography.medium};
1437
+ letter-spacing: ${/*#__PURE__*/rem('1px')};
1438
+
1439
+ &.label {
1440
+ flex: 1;
1441
+ color: var(--bg);
1442
+ overflow: hidden;
1443
+ white-space: nowrap;
1444
+ text-overflow: ellipsis;
1445
+ text-transform: uppercase;
1446
+ }
1447
+
1448
+ &.value {
1449
+ background-color: var(--bg);
1450
+ color: var(--valueColor);
1451
+ }
1452
+ }
1453
+
1454
+ &:not(:first-child) {
1455
+ margin-left: ${/*#__PURE__*/rem('5px')};
1456
+ }
1457
+ `;
984
1458
 
985
1459
  const TagNumber = props => {
986
1460
  const {
@@ -1135,7 +1609,7 @@ function _extends() {
1135
1609
  return _extends.apply(this, arguments);
1136
1610
  }
1137
1611
 
1138
- const SelectWrapper = _styled.div`
1612
+ const SelectWrapper = styled.div`
1139
1613
  .select {
1140
1614
  &-interactive {
1141
1615
  z-index: 3;
@@ -1261,7 +1735,7 @@ const SelectWrapper = _styled.div`
1261
1735
  pointer-events: none;
1262
1736
  }
1263
1737
  `;
1264
- const SelectGroupLabel = _styled.span`
1738
+ const SelectGroupLabel = styled.span`
1265
1739
  font-size: ${typography.fontSizeXs};
1266
1740
  color: ${field.placeholderColor};
1267
1741
 
@@ -1271,7 +1745,7 @@ const SelectGroupLabel = _styled.span`
1271
1745
  color: ${field.activeBorderColor};
1272
1746
  }
1273
1747
  `;
1274
- const SingleValue = _styled.div`
1748
+ const SingleValue = styled.div`
1275
1749
  grid-area: 1 / 1 / 2 / 3;
1276
1750
  margin-left: ${/*#__PURE__*/rem('2px')};
1277
1751
  margin-right: ${/*#__PURE__*/rem('2px')};
@@ -1325,6 +1799,7 @@ const SelectInteractive = ({
1325
1799
  onChange = () => {},
1326
1800
  onInputChange = () => {},
1327
1801
  dataTestId,
1802
+ filterOption,
1328
1803
  ...rest
1329
1804
  }) => {
1330
1805
  return /*#__PURE__*/React.createElement(SelectWrapper, _extends({
@@ -1349,13 +1824,14 @@ const SelectInteractive = ({
1349
1824
  Option: CustomSelectOption,
1350
1825
  SingleValue: CustomSelectValue
1351
1826
  },
1352
- formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel(s) : undefined
1827
+ formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel(s) : undefined,
1828
+ filterOption: filterOption
1353
1829
  }), error ? /*#__PURE__*/React.createElement(ErrorField, {
1354
1830
  error: error
1355
1831
  }) : null);
1356
1832
  };
1357
1833
 
1358
- const Wrapper$2 = _styled.div`
1834
+ const Wrapper$2 = styled.div`
1359
1835
  border-width: ${field.borderWidth};
1360
1836
  border-style: solid;
1361
1837
  border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
@@ -1397,7 +1873,7 @@ const Wrapper$2 = _styled.div`
1397
1873
  margin-top: ${props => props.error ? rem('5px') : 0};
1398
1874
  }
1399
1875
  `;
1400
- const Appendix = _styled.div`
1876
+ const Appendix = styled.div`
1401
1877
  border-width: ${props => props.position === 'left' ? `0 ${field.borderWidth} 0 0` : `0 0 0 ${field.borderWidth}`};
1402
1878
  border-style: solid;
1403
1879
  border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
@@ -1457,10 +1933,18 @@ const TextFieldAppendix = props => {
1457
1933
  }) : null);
1458
1934
  };
1459
1935
 
1460
- const TruncateWrapper = /*#__PURE__*/_styled.div.withConfig({
1461
- displayName: "styles__TruncateWrapper",
1462
- componentId: "sc-1p4cmvj-0"
1463
- })(["display:table;table-layout:fixed;width:100%;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}"]);
1936
+ const TruncateWrapper = styled.div`
1937
+ display: table;
1938
+ table-layout: fixed;
1939
+ width: 100%;
1940
+ white-space: nowrap;
1941
+
1942
+ span {
1943
+ display: table-cell;
1944
+ overflow: hidden;
1945
+ text-overflow: ellipsis;
1946
+ }
1947
+ `;
1464
1948
 
1465
1949
  const TruncateLine = props => {
1466
1950
  const {
@@ -1493,7 +1977,7 @@ const device = {
1493
1977
  mouse: '(min-width: 538px) and (min-height: 720px)'
1494
1978
  };
1495
1979
 
1496
- const Wrapper$3 = _styled.div`
1980
+ const Wrapper$3 = styled.div`
1497
1981
  position: relative;
1498
1982
 
1499
1983
  .carousel .control-arrow,
@@ -1882,7 +2366,7 @@ const Slideshow = props => {
1882
2366
  }, children));
1883
2367
  };
1884
2368
 
1885
- const Wrapper$4 = _styled.div`
2369
+ const Wrapper$4 = styled.div`
1886
2370
  position: relative;
1887
2371
  padding-top: 56.25%;
1888
2372
  `;
@@ -1917,11 +2401,11 @@ const VideoPlayer = props => {
1917
2401
  }));
1918
2402
  };
1919
2403
 
1920
- const Wrapper$5 = _styled.div`
2404
+ const Wrapper$5 = styled.div`
1921
2405
  display: flex;
1922
2406
  align-items: center;
1923
2407
  `;
1924
- const Bar = _styled.div`
2408
+ const Bar = styled.div`
1925
2409
  flex: 1;
1926
2410
  border: ${/*#__PURE__*/rem('1px')} solid ${colors.purple100};
1927
2411
  border-radius: 999px;
@@ -1929,14 +2413,14 @@ const Bar = _styled.div`
1929
2413
  height: ${/*#__PURE__*/rem('10px')};
1930
2414
  overflow: hidden;
1931
2415
  `;
1932
- const Progress = _styled.div`
2416
+ const Progress = styled.div`
1933
2417
  border-radius: 999px;
1934
2418
  background-color: ${colors.purple500};
1935
2419
  height: 100%;
1936
2420
  width: ${props => props.progress ? `${props.progress}%` : 0};
1937
2421
  transition-duration: 2s;
1938
2422
  `;
1939
- const Value = _styled.div`
2423
+ const Value = styled.div`
1940
2424
  margin-left: ${/*#__PURE__*/rem('5px')};
1941
2425
  font-size: ${typography.fontSizeXs};
1942
2426
  font-weight: ${typography.regular};
@@ -1955,7 +2439,7 @@ const ProgressBar = props => {
1955
2439
  })), value && /*#__PURE__*/React.createElement(Value, null, value));
1956
2440
  };
1957
2441
 
1958
- const Switcher = _styled.fieldset`
2442
+ const Switcher = styled.fieldset`
1959
2443
  margin: 0;
1960
2444
  border: none;
1961
2445
  padding: 0;
@@ -2125,7 +2609,7 @@ const Toggle = ({
2125
2609
  }, labelRight)));
2126
2610
  };
2127
2611
 
2128
- const Wrapper$6 = _styled.div`
2612
+ const Wrapper$6 = styled.div`
2129
2613
  input {
2130
2614
  width: 0.1px;
2131
2615
  height: 0.1px;
@@ -2249,18 +2733,81 @@ const FilePicker = props => {
2249
2733
  }));
2250
2734
  };
2251
2735
 
2252
- const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
2253
- displayName: "styles__ActionsMenuStyle",
2254
- componentId: "sc-1peafop-0"
2255
- })(["height:", ";button{margin-top:", ";}"], /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('7px'));
2256
- const List = /*#__PURE__*/_styled.ul.withConfig({
2257
- displayName: "styles__List",
2258
- componentId: "sc-1peafop-1"
2259
- })(["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__*/rem('5px'), /*#__PURE__*/rem('200px'), /*#__PURE__*/rem('250px'), field.boxShadow, field.boxShadow, field.boxShadow, props => props.rowIndex != undefined && css`
2736
+ const ActionsMenuStyle$1 = styled.div`
2737
+ height: ${/*#__PURE__*/rem('50px')};
2738
+
2739
+ button {
2740
+ margin-top: ${/*#__PURE__*/rem('7px')};
2741
+ }
2742
+ `;
2743
+ const List = styled.ul`
2744
+ position: absolute;
2745
+ border: ${field.borderWidth} solid ${field.borderColor};
2746
+ border-radius: ${field.borderRadius};
2747
+ background-color: ${field.backgroundColor};
2748
+ margin-top: ${/*#__PURE__*/rem('5px')};
2749
+ min-width: ${/*#__PURE__*/rem('200px')};
2750
+ max-width: ${/*#__PURE__*/rem('250px')};
2751
+ padding: 0;
2752
+ -moz-box-shadow: ${field.boxShadow};
2753
+ -webkit-box-shadow: ${field.boxShadow};
2754
+ box-shadow: ${field.boxShadow};
2755
+ overflow: hidden;
2756
+ z-index: 1;
2757
+
2758
+ ${props => props.rowIndex != undefined && css`
2260
2759
  --margin: ${`calc(${rem('45px')} + ${rem('50px')} * ${props.rowIndex} + ${rem('42px')})`};
2261
2760
  top: var(--margin);
2262
2761
  right: ${rem('5px')};
2263
- `, /*#__PURE__*/rem('45px'), field.hoverBorderColor, field.borderWidth, field.borderColor, field.errorBorderColor, field.disabledColor, /*#__PURE__*/rem('20px'), field.color);
2762
+ `}
2763
+
2764
+ li {
2765
+ list-style: none;
2766
+ min-height: ${/*#__PURE__*/rem('45px')};
2767
+ display: flex;
2768
+ transition-duration: 0.3s;
2769
+
2770
+ &:hover {
2771
+ background-color: ${field.hoverBorderColor};
2772
+ cursor: pointer;
2773
+ }
2774
+
2775
+ &.danger {
2776
+ border-top: ${field.borderWidth} solid ${field.borderColor};
2777
+
2778
+ a {
2779
+ color: ${field.errorBorderColor};
2780
+ }
2781
+ }
2782
+
2783
+ &.disabled {
2784
+ a {
2785
+ color: ${field.disabledColor};
2786
+ pointer-events: none;
2787
+ }
2788
+
2789
+ &:hover {
2790
+ background-color: transparent;
2791
+ }
2792
+ }
2793
+
2794
+ a {
2795
+ width: 100%;
2796
+ display: flex;
2797
+ align-items: center;
2798
+ padding: 0 ${/*#__PURE__*/rem('20px')};
2799
+ color: ${field.color};
2800
+ text-decoration: none;
2801
+ white-space: nowrap;
2802
+
2803
+ span {
2804
+ display: table-cell;
2805
+ overflow: hidden;
2806
+ text-overflow: ellipsis;
2807
+ }
2808
+ }
2809
+ }
2810
+ `;
2264
2811
 
2265
2812
  const ActionMenuList = props => {
2266
2813
  const {
@@ -2331,10 +2878,31 @@ const ActionsMenu = props => {
2331
2878
  }) : null);
2332
2879
  };
2333
2880
 
2334
- const CardValueStyle = /*#__PURE__*/_styled.div.withConfig({
2335
- displayName: "styles__CardValueStyle",
2336
- componentId: "sc-1ki7jdk-0"
2337
- })(["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__*/rem('15px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('32px'), typography.semiBold, /*#__PURE__*/rem('20px'));
2881
+ const CardValueStyle = styled.div`
2882
+ border: ${field.borderWidth} solid ${field.borderColor};
2883
+ border-radius: ${field.borderRadius};
2884
+ background-color: ${colors.white};
2885
+ display: flex;
2886
+ flex-direction: column;
2887
+ padding: ${/*#__PURE__*/rem('15px')};
2888
+ overflow-x: auto;
2889
+
2890
+ > span {
2891
+ display: block;
2892
+ margin-top: ${/*#__PURE__*/rem('5px')};
2893
+ font-size: ${/*#__PURE__*/rem('32px')};
2894
+ font-weight: ${typography.semiBold};
2895
+ line-height: 1;
2896
+ white-space: nowrap;
2897
+ overflow: hidden;
2898
+ text-overflow: ellipsis;
2899
+ }
2900
+
2901
+ a,
2902
+ button {
2903
+ margin-top: ${/*#__PURE__*/rem('20px')};
2904
+ }
2905
+ `;
2338
2906
 
2339
2907
  const CardValue = props => {
2340
2908
  const {
@@ -2363,30 +2931,118 @@ const CardValue = props => {
2363
2931
  }));
2364
2932
  };
2365
2933
 
2366
- const EmptyTableWrapper = /*#__PURE__*/_styled.div.withConfig({
2367
- displayName: "styles__EmptyTableWrapper",
2368
- componentId: "sc-1dgsb9l-0"
2369
- })(["position:relative;"]);
2370
- const EmptyTableHead = /*#__PURE__*/_styled.div.withConfig({
2371
- displayName: "styles__EmptyTableHead",
2372
- componentId: "sc-1dgsb9l-1"
2373
- })(["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__*/rem('50px'), typography.fontSizeSm, typography.semiBold, colors.grey400, /*#__PURE__*/rem('15px'), typography.fontSizeSm, typography.semiBold, colors.grey400, device.s, device.m, device.l);
2374
- const EmptyTableBody = /*#__PURE__*/_styled.div.withConfig({
2375
- displayName: "styles__EmptyTableBody",
2376
- componentId: "sc-1dgsb9l-2"
2377
- })(["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);
2378
- const EmptyTableRow = /*#__PURE__*/_styled.div.withConfig({
2379
- displayName: "styles__EmptyTableRow",
2380
- componentId: "sc-1dgsb9l-3"
2381
- })(["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__*/rem('50px'), field.borderWidth, colors.grey200, /*#__PURE__*/rem('15px'), device.s, device.m, device.l);
2382
- const EmptyTableCellText = /*#__PURE__*/_styled.div.withConfig({
2383
- displayName: "styles__EmptyTableCellText",
2384
- componentId: "sc-1dgsb9l-4"
2385
- })(["background-color:", ";width:100%;height:", ";"], colors.grey200, /*#__PURE__*/rem('15px'));
2386
- const EmptyTableOverlay = /*#__PURE__*/_styled.div.withConfig({
2387
- displayName: "styles__EmptyTableOverlay",
2388
- componentId: "sc-1dgsb9l-5"
2389
- })(["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__*/rgba(colors.white, 0), /*#__PURE__*/rgba(colors.white, 1), /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), colors.grey400);
2934
+ const EmptyTableWrapper = styled.div`
2935
+ position: relative;
2936
+ `;
2937
+ const EmptyTableHead = styled.div`
2938
+ border-width: ${props => props.border ? field.borderWidth : `0 0 ${field.borderWidth} 0`};
2939
+ border-style: solid;
2940
+ border-color: ${colors.grey200};
2941
+ border-radius: ${field.borderRadius} ${field.borderRadius} 0 0;
2942
+ height: ${/*#__PURE__*/rem('50px')};
2943
+ display: flex;
2944
+ align-items: center;
2945
+ font-size: ${typography.fontSizeSm};
2946
+ font-weight: ${typography.semiBold};
2947
+ color: ${colors.grey400};
2948
+
2949
+ > div {
2950
+ white-space: nowrap;
2951
+ overflow: hidden;
2952
+ text-overflow: ellipsis;
2953
+ display: none;
2954
+ flex: 1;
2955
+ padding: 0 ${/*#__PURE__*/rem('15px')};
2956
+ font-size: ${typography.fontSizeSm};
2957
+ font-weight: ${typography.semiBold};
2958
+ color: ${colors.grey400};
2959
+
2960
+ &:first-child,
2961
+ &:nth-child(2) {
2962
+ display: initial;
2963
+ }
2964
+
2965
+ @media ${device.s} {
2966
+ &:nth-child(3) {
2967
+ display: initial;
2968
+ }
2969
+ }
2970
+
2971
+ @media ${device.m} {
2972
+ &:nth-child(4) {
2973
+ display: initial;
2974
+ }
2975
+ }
2976
+
2977
+ @media ${device.l} {
2978
+ display: initial;
2979
+ }
2980
+ }
2981
+ `;
2982
+ const EmptyTableBody = styled.div`
2983
+ border-width: ${props => props.border ? `0 ${field.borderWidth} ${field.borderWidth} ${field.borderWidth}` : 0};
2984
+ border-style: solid;
2985
+ border-color: ${colors.grey200};
2986
+ border-radius: 0 0 ${field.borderRadius} ${field.borderRadius};
2987
+ `;
2988
+ const EmptyTableRow = styled.div`
2989
+ height: ${/*#__PURE__*/rem('50px')};
2990
+ display: flex;
2991
+ align-items: center;
2992
+
2993
+ &:not(:last-child) {
2994
+ border-bottom: ${field.borderWidth} solid ${colors.grey200};
2995
+ }
2996
+
2997
+ > div {
2998
+ display: none;
2999
+ flex: 1;
3000
+ padding: 0 ${/*#__PURE__*/rem('15px')};
3001
+
3002
+ &:first-child,
3003
+ &:nth-child(2) {
3004
+ display: inherit;
3005
+ }
3006
+
3007
+ @media ${device.s} {
3008
+ &:nth-child(3) {
3009
+ display: inherit;
3010
+ }
3011
+ }
3012
+
3013
+ @media ${device.m} {
3014
+ &:nth-child(4) {
3015
+ display: inherit;
3016
+ }
3017
+ }
3018
+
3019
+ @media ${device.l} {
3020
+ display: inherit;
3021
+ }
3022
+ }
3023
+ `;
3024
+ const EmptyTableCellText = styled.div`
3025
+ background-color: ${colors.grey200};
3026
+ width: 100%;
3027
+ height: ${/*#__PURE__*/rem('15px')};
3028
+ `;
3029
+ const EmptyTableOverlay = styled.div`
3030
+ position: absolute;
3031
+ bottom: 0;
3032
+ background-image: linear-gradient(
3033
+ to bottom,
3034
+ ${/*#__PURE__*/rgba(colors.white, 0)},
3035
+ ${/*#__PURE__*/rgba(colors.white, 1)}
3036
+ );
3037
+ width: 100%;
3038
+ height: calc(100% - ${/*#__PURE__*/rem('50px')});
3039
+ display: flex;
3040
+ justify-content: center;
3041
+ align-items: flex-end;
3042
+ padding: 0 ${/*#__PURE__*/rem('15px')} ${/*#__PURE__*/rem('15px')} ${/*#__PURE__*/rem('15px')};
3043
+ text-align: center;
3044
+ color: ${colors.grey400};
3045
+ `;
2390
3046
 
2391
3047
  const EmptyTable = props => {
2392
3048
  let rows = [];
@@ -2416,10 +3072,25 @@ const EmptyTable = props => {
2416
3072
  }, rows));
2417
3073
  };
2418
3074
 
2419
- const FooterStyle = /*#__PURE__*/_styled.div.withConfig({
2420
- displayName: "styles__FooterStyle",
2421
- componentId: "sc-1xdsng6-0"
2422
- })(["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__*/rem('50px'), /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), device.s);
3075
+ const FooterStyle = styled.div`
3076
+ position: relative;
3077
+ margin-top: ${/*#__PURE__*/rem('50px')};
3078
+ max-width: 100%;
3079
+ display: flex;
3080
+ justify-content: center;
3081
+
3082
+ > button {
3083
+ min-width: ${/*#__PURE__*/rem('100px')};
3084
+
3085
+ &:not(:last-child) {
3086
+ margin-right: ${/*#__PURE__*/rem('5px')};
3087
+ }
3088
+ }
3089
+
3090
+ @media ${device.s} {
3091
+ justify-content: flex-end;
3092
+ }
3093
+ `;
2423
3094
 
2424
3095
  const ModalFooter = props => {
2425
3096
  const {
@@ -2442,22 +3113,47 @@ const ModalFooter = props => {
2442
3113
  }), children);
2443
3114
  };
2444
3115
 
2445
- const Wrapper$7 = /*#__PURE__*/_styled.div.withConfig({
2446
- displayName: "styles__Wrapper",
2447
- componentId: "sc-d2fn4g-0"
2448
- })(["--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' && css`
3116
+ const Wrapper$7 = styled.div`
3117
+ --borderColor: ${field.borderColor};
3118
+ --backgroundColor: ${colors.purple50};
3119
+ --dark: ${colors.purple400};
3120
+
3121
+ ${props => props.color === 'grey' && css`
2449
3122
  --borderColor: ${field.borderColor};
2450
3123
  --backgroundColor: ${colors.purple50};
2451
3124
  --dark: ${colors.purple400};
2452
- `, props => props.color === 'green' && css`
3125
+ `}
3126
+
3127
+ ${props => props.color === 'green' && css`
2453
3128
  --borderColor: ${field.successBorderColor};
2454
3129
  --backgroundColor: ${field.successBackgroundColor};
2455
3130
  --dark: ${colors.green900};
2456
- `, props => props.color === 'red' && css`
3131
+ `}
3132
+
3133
+ ${props => props.color === 'red' && css`
2457
3134
  --borderColor: ${field.errorBorderColor};
2458
3135
  --backgroundColor: ${field.errorBackgroundColor};
2459
3136
  --dark: ${colors.red800};
2460
- `, field.borderWidth, field.borderRadius, /*#__PURE__*/rem('15px'), props => props.buttonValue && css`
3137
+ `}
3138
+
3139
+ border-width: ${field.borderWidth};
3140
+ border-style: solid;
3141
+ border-color: var(--borderColor);
3142
+ border-radius: ${field.borderRadius};
3143
+ background-color: var(--backgroundColor);
3144
+ padding: ${/*#__PURE__*/rem('15px')};
3145
+
3146
+ div {
3147
+ &:first-child {
3148
+ flex: 1;
3149
+ }
3150
+
3151
+ p {
3152
+ margin: 0;
3153
+ }
3154
+ }
3155
+
3156
+ ${props => props.buttonValue && css`
2461
3157
  button {
2462
3158
  margin: ${rem('30px')} 0 0 0;
2463
3159
  border: 0;
@@ -2489,7 +3185,8 @@ const Wrapper$7 = /*#__PURE__*/_styled.div.withConfig({
2489
3185
  margin: 0 0 0 ${rem('30px')};
2490
3186
  }
2491
3187
  }
2492
- `);
3188
+ `}
3189
+ `;
2493
3190
 
2494
3191
  const NoteCard = props => {
2495
3192
  const {
@@ -2514,18 +3211,225 @@ function hasValue(value) {
2514
3211
  return value !== undefined && value !== null;
2515
3212
  }
2516
3213
 
2517
- const TableWrapper = /*#__PURE__*/_styled.div.withConfig({
2518
- displayName: "styles__TableWrapper",
2519
- componentId: "sc-vmoy3z-0"
2520
- })(["position:relative;"]);
2521
- const OverflowWrapper = /*#__PURE__*/_styled.div.withConfig({
2522
- displayName: "styles__OverflowWrapper",
2523
- componentId: "sc-vmoy3z-1"
2524
- })(["@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__*/rem('40px'), /*#__PURE__*/rem('40px'), /*#__PURE__*/rem('14px'), /*#__PURE__*/rem('14px'));
2525
- const Table = /*#__PURE__*/_styled.table.withConfig({
2526
- displayName: "styles__Table",
2527
- componentId: "sc-vmoy3z-2"
2528
- })(["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__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), typography.fontSizeSm, field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, props => props.loadingState ? 'transparent' : colors.grey50, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), colors.black, colors.grey400, /*#__PURE__*/rem('15px'), typography.semiBold, props => props.loadingState && css`
3214
+ const TableWrapper = styled.div`
3215
+ position: relative;
3216
+ `;
3217
+ const OverflowWrapper = styled.div`
3218
+ @media ${device.s} {
3219
+ display: block;
3220
+ border-radius: ${field.borderRadius};
3221
+ background:
3222
+ linear-gradient(to right, ${colors.white} 30%, rgba(255, 255, 255, 0)),
3223
+ linear-gradient(to right, rgba(255, 255, 255, 0), ${colors.white} 70%) 0
3224
+ 100%,
3225
+ radial-gradient(
3226
+ farthest-side at 0% 50%,
3227
+ rgba(0, 0, 0, 0.2),
3228
+ rgba(0, 0, 0, 0)
3229
+ ),
3230
+ radial-gradient(
3231
+ farthest-side at 100% 50%,
3232
+ rgba(0, 0, 0, 0.2),
3233
+ rgba(0, 0, 0, 0)
3234
+ )
3235
+ 0 100%;
3236
+ background-repeat: no-repeat;
3237
+ background-color: ${colors.white};
3238
+ background-size:
3239
+ ${/*#__PURE__*/rem('40px')} 100%,
3240
+ ${/*#__PURE__*/rem('40px')} 100%,
3241
+ ${/*#__PURE__*/rem('14px')} 100%,
3242
+ ${/*#__PURE__*/rem('14px')} 100%;
3243
+ background-position:
3244
+ 0 0,
3245
+ 100%,
3246
+ 0 0,
3247
+ 100%;
3248
+ background-attachment: local, local, scroll, scroll;
3249
+ overflow-x: auto;
3250
+ -webkit-overflow-scrolling: touch;
3251
+ -ms-overflow-style: -ms-autohiding-scrollbar;
3252
+ -webkit-scrollbar-width: none;
3253
+ -moz-scrollbar-width: none;
3254
+ -ms-scrollbar-width: none;
3255
+ scrollbar-width: none;
3256
+ }
3257
+ `;
3258
+ const Table = styled.table`
3259
+ width: 100%;
3260
+ border-width: 0;
3261
+ border-style: solid;
3262
+ border-color: ${colors.grey200};
3263
+ border-radius: ${field.borderRadius};
3264
+ border-spacing: 0;
3265
+ white-space: nowrap;
3266
+
3267
+ @media ${device.s} {
3268
+ border-width: ${props => props.border ? field.borderWidth : 0};
3269
+ }
3270
+
3271
+ th,
3272
+ td {
3273
+ height: ${/*#__PURE__*/rem('50px')};
3274
+ padding: 0 ${/*#__PURE__*/rem('15px')};
3275
+
3276
+ &.center {
3277
+ text-align: center;
3278
+
3279
+ > div {
3280
+ justify-content: center;
3281
+ }
3282
+ }
3283
+
3284
+ &.right {
3285
+ text-align: right;
3286
+
3287
+ > div {
3288
+ justify-content: flex-end;
3289
+ }
3290
+ }
3291
+
3292
+ &.thin {
3293
+ @media ${device.s} {
3294
+ max-width: min-content;
3295
+ }
3296
+ }
3297
+
3298
+ &.vkai,
3299
+ &.tkai {
3300
+ text-align: right;
3301
+
3302
+ > div {
3303
+ justify-content: flex-end;
3304
+ }
3305
+ }
3306
+
3307
+ &.avatar > div {
3308
+ display: flex;
3309
+ align-items: center;
3310
+
3311
+ .avatar-img {
3312
+ margin-right: ${/*#__PURE__*/rem('15px')};
3313
+ }
3314
+ }
3315
+ }
3316
+
3317
+ th {
3318
+ font-size: ${typography.fontSizeSm};
3319
+
3320
+ &:first-child {
3321
+ border-top-left-radius: ${field.borderRadius};
3322
+ }
3323
+
3324
+ &:last-child {
3325
+ border-top-right-radius: ${field.borderRadius};
3326
+ }
3327
+ }
3328
+
3329
+ tr {
3330
+ border: ${field.borderWidth} solid ${colors.grey200};
3331
+ border-radius: ${field.borderRadius};
3332
+ position: relative;
3333
+
3334
+ &:not(:last-child) {
3335
+ margin-bottom: ${/*#__PURE__*/rem('15px')};
3336
+ }
3337
+
3338
+ @media ${device.s} {
3339
+ border: 0;
3340
+ }
3341
+ }
3342
+
3343
+ thead {
3344
+ border: none;
3345
+ clip: rect(0 0 0 0);
3346
+ height: ${/*#__PURE__*/rem('1px')};
3347
+ margin: ${/*#__PURE__*/rem('-1px')};
3348
+ overflow: hidden;
3349
+ padding: 0;
3350
+ position: absolute;
3351
+ width: ${/*#__PURE__*/rem('1px')};
3352
+
3353
+ @media ${device.s} {
3354
+ display: contents;
3355
+ font-weight: ${typography.semiBold};
3356
+ color: ${colors.grey400};
3357
+ text-align: left;
3358
+ }
3359
+ }
3360
+
3361
+ tbody {
3362
+ tr {
3363
+ display: block;
3364
+ transition-duration: ${misc.transitionDuration};
3365
+
3366
+ &:hover {
3367
+ background-color: ${props => props.loadingState ? 'transparent' : colors.grey50};
3368
+
3369
+ td.menu {
3370
+ button {
3371
+ opacity: 1;
3372
+ }
3373
+ }
3374
+ }
3375
+
3376
+ @media ${device.s} {
3377
+ display: table-row;
3378
+ }
3379
+ }
3380
+
3381
+ td {
3382
+ border-top: ${field.borderWidth} solid ${colors.grey200};
3383
+ height: inherit;
3384
+ min-height: ${/*#__PURE__*/rem('50px')};
3385
+ padding: ${/*#__PURE__*/rem('15px')};
3386
+ display: flex;
3387
+ justify-content: flex-end;
3388
+ align-items: center;
3389
+
3390
+ > div {
3391
+ margin-left: ${/*#__PURE__*/rem('100px')};
3392
+ height: 100%;
3393
+ display: flex;
3394
+ justify-content: flex-end;
3395
+ align-items: center;
3396
+ flex-wrap: nowrap;
3397
+ text-align: right;
3398
+
3399
+ > span {
3400
+ display: none;
3401
+
3402
+ &:first-child,
3403
+ &:last-child {
3404
+ display: inherit;
3405
+ }
3406
+ }
3407
+ }
3408
+
3409
+ img {
3410
+ min-width: ${/*#__PURE__*/rem('30px')};
3411
+ min-height: ${/*#__PURE__*/rem('30px')};
3412
+ }
3413
+
3414
+ a {
3415
+ display: flex;
3416
+ align-items: center;
3417
+ color: ${colors.black};
3418
+ text-decoration-color: ${colors.grey400};
3419
+ }
3420
+
3421
+ &:first-child {
3422
+ border: 0;
3423
+ }
3424
+
3425
+ &:before {
3426
+ position: absolute;
3427
+ left: ${/*#__PURE__*/rem('15px')};
3428
+ content: attr(data-label);
3429
+ font-weight: ${typography.semiBold};
3430
+ text-transform: capitalize;
3431
+
3432
+ ${props => props.loadingState && css`
2529
3433
  width: ${rem('75px')};
2530
3434
  height: ${rem('15px')};
2531
3435
  background: #f6f7f8;
@@ -2543,11 +3447,133 @@ const Table = /*#__PURE__*/_styled.table.withConfig({
2543
3447
  animation-timing-function: linear;
2544
3448
  animation-iteration-count: infinite;
2545
3449
  animation-duration: 1.5s;
2546
- `, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('34px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), misc.transitionDuration, /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
2547
- const SkeletonCell = /*#__PURE__*/_styled.div.withConfig({
2548
- displayName: "styles__SkeletonCell",
2549
- componentId: "sc-vmoy3z-3"
2550
- })(["@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__*/rem('-800px'), /*#__PURE__*/rem('800px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('800px'));
3450
+ `}
3451
+ }
3452
+
3453
+ &.tkai,
3454
+ &.vkai {
3455
+ svg {
3456
+ float: right;
3457
+ margin-left: ${/*#__PURE__*/rem('5px')};
3458
+ width: auto;
3459
+ min-width: ${/*#__PURE__*/rem('22px')};
3460
+ max-height: ${/*#__PURE__*/rem('22px')};
3461
+ }
3462
+ }
3463
+
3464
+ .avatar-img {
3465
+ display: none;
3466
+ }
3467
+
3468
+ .tag {
3469
+ margin: 0;
3470
+
3471
+ &:not(:first-child) {
3472
+ display: none;
3473
+ }
3474
+ }
3475
+
3476
+ .button {
3477
+ height: ${/*#__PURE__*/rem('34px')};
3478
+ }
3479
+
3480
+ &.menu {
3481
+ padding: 0 ${/*#__PURE__*/rem('10px')} 0 0;
3482
+
3483
+ button {
3484
+ margin-top: ${/*#__PURE__*/rem('5px')};
3485
+ transition: ${misc.transitionDuration};
3486
+ }
3487
+
3488
+ ul {
3489
+ top: ${/*#__PURE__*/rem('36px')};
3490
+ margin-left: ${/*#__PURE__*/rem('-170px')};
3491
+ }
3492
+ }
3493
+
3494
+ @media ${device.s} {
3495
+ display: table-cell;
3496
+ height: ${/*#__PURE__*/rem('50px')};
3497
+ padding: 0 ${/*#__PURE__*/rem('15px')};
3498
+
3499
+ > div {
3500
+ position: relative;
3501
+ margin-left: 0;
3502
+ display: flex-start;
3503
+ justify-content: flex-start;
3504
+ text-align: left;
3505
+
3506
+ > span {
3507
+ display: inherit;
3508
+ }
3509
+ }
3510
+
3511
+ &:first-child {
3512
+ border-top: ${field.borderWidth} solid ${colors.grey200};
3513
+ }
3514
+
3515
+ &:before {
3516
+ content: '';
3517
+ }
3518
+
3519
+ &.tkai,
3520
+ &.vkai {
3521
+ max-width: ${/*#__PURE__*/rem('100px')};
3522
+ }
3523
+
3524
+ .avatar-img {
3525
+ display: inherit;
3526
+ }
3527
+
3528
+ .tag {
3529
+ &:not(:first-child) {
3530
+ display: inherit;
3531
+ }
3532
+
3533
+ &:not(:last-child) {
3534
+ margin-right: ${/*#__PURE__*/rem('5px')};
3535
+ }
3536
+ }
3537
+
3538
+ &.menu {
3539
+ width: ${/*#__PURE__*/rem('40px')};
3540
+
3541
+ button {
3542
+ opacity: 0;
3543
+ }
3544
+ }
3545
+ }
3546
+ }
3547
+ }
3548
+ `;
3549
+ const SkeletonCell = styled.div`
3550
+ @keyframes placeholderSkeleton {
3551
+ 0% {
3552
+ background-position: ${/*#__PURE__*/rem('-800px')} 0;
3553
+ }
3554
+ 100% {
3555
+ background-position: ${/*#__PURE__*/rem('800px')} 0;
3556
+ }
3557
+ }
3558
+
3559
+ width: 100%;
3560
+ height: ${/*#__PURE__*/rem('15px')} !important;
3561
+ background: #f6f7f8;
3562
+ background-image: -webkit-linear-gradient(
3563
+ left,
3564
+ #f6f7f8 0%,
3565
+ #edeef1 20%,
3566
+ #f6f7f8 40%,
3567
+ #f6f7f8 100%
3568
+ );
3569
+ background-repeat: no-repeat;
3570
+ background-size: ${/*#__PURE__*/rem('800px')} 100%;
3571
+ animation-fill-mode: forwards;
3572
+ animation-name: placeholderSkeleton;
3573
+ animation-timing-function: linear;
3574
+ animation-iteration-count: infinite;
3575
+ animation-duration: 1.5s;
3576
+ `;
2551
3577
 
2552
3578
  const Table$1 = props => {
2553
3579
  const {
@@ -2657,17 +3683,298 @@ const Table$1 = props => {
2657
3683
  handleOptionClick: () => {
2658
3684
  setIsVisible(false);
2659
3685
  }
2660
- })));
2661
- };
3686
+ })));
3687
+ };
3688
+
3689
+ const Table$2 = styled.table`
3690
+ position: relative;
3691
+ width: 100%;
3692
+ border-width: ${props => props.border ? field.borderWidth : 0};
3693
+ border-style: solid;
3694
+ border-color: ${colors.grey200};
3695
+ border-radius: ${field.borderRadius};
3696
+ border-spacing: 0;
3697
+ white-space: nowrap;
3698
+ table-layout: ${props => props.layout};
3699
+
3700
+ th,
3701
+ td {
3702
+ height: ${/*#__PURE__*/rem('50px')};
3703
+ padding: 0 ${/*#__PURE__*/rem('15px')};
3704
+
3705
+ &.center {
3706
+ text-align: center;
3707
+
3708
+ > div {
3709
+ justify-content: center;
3710
+ }
3711
+ }
3712
+
3713
+ &.right {
3714
+ text-align: right;
3715
+
3716
+ > div {
3717
+ justify-content: flex-end;
3718
+ }
3719
+ }
3720
+
3721
+ &.thin {
3722
+ @media ${device.s} {
3723
+ max-width: min-content;
3724
+ }
3725
+ }
3726
+
3727
+ &.kai {
3728
+ text-align: right;
3729
+
3730
+ > div {
3731
+ justify-content: flex-end;
3732
+ }
3733
+ }
3734
+
3735
+ &.avatar > div {
3736
+ display: flex;
3737
+ align-items: center;
3738
+
3739
+ .avatar-img {
3740
+ margin-right: ${/*#__PURE__*/rem('15px')};
3741
+ }
3742
+ }
3743
+ }
3744
+
3745
+ th {
3746
+ font-size: 0.85rem;
3747
+
3748
+ &:first-child {
3749
+ border-top-left-radius: ${field.borderRadius};
3750
+ }
3751
+
3752
+ &:last-child {
3753
+ border-top-right-radius: ${field.borderRadius};
3754
+ }
3755
+ }
3756
+
3757
+ tr {
3758
+ border: ${field.borderWidth} solid ${colors.grey200};
3759
+ border-radius: ${field.borderRadius};
3760
+ position: relative;
3761
+
3762
+ &:not(:last-child) {
3763
+ margin-bottom: ${/*#__PURE__*/rem('15px')};
3764
+ }
3765
+
3766
+ @media ${device.s} {
3767
+ border: 0;
3768
+ }
3769
+ }
3770
+
3771
+ thead {
3772
+ border: none;
3773
+ clip: rect(0 0 0 0);
3774
+ height: ${/*#__PURE__*/rem('1px')};
3775
+ margin: ${/*#__PURE__*/rem('-1px')};
3776
+ overflow: hidden;
3777
+ padding: 0;
3778
+ position: absolute;
3779
+ width: ${/*#__PURE__*/rem('1px')};
3780
+
3781
+ @media ${device.s} {
3782
+ display: contents;
3783
+ font-weight: ${typography.semiBold};
3784
+ color: ${colors.grey400};
3785
+ text-align: left;
3786
+ }
3787
+ }
3788
+
3789
+ tbody {
3790
+ tr {
3791
+ display: block;
3792
+ transition-duration: ${misc.transitionDuration};
3793
+
3794
+ &:hover {
3795
+ background-color: ${colors.grey50};
3796
+
3797
+ td {
3798
+ &.drag-handle {
3799
+ svg {
3800
+ fill: ${colors.grey200};
3801
+ }
3802
+ }
3803
+
3804
+ &.menu {
3805
+ button {
3806
+ opacity: 1;
3807
+ }
3808
+ }
3809
+ }
3810
+ }
3811
+
3812
+ @media ${device.s} {
3813
+ display: table-row;
3814
+ }
3815
+ }
3816
+
3817
+ td {
3818
+ border-top: ${field.borderWidth} solid ${colors.grey200};
3819
+ height: inherit;
3820
+ min-height: ${/*#__PURE__*/rem('50px')};
3821
+ padding: ${/*#__PURE__*/rem('15px')};
3822
+ display: flex;
3823
+ justify-content: flex-end;
3824
+
3825
+ &.drag-handle {
3826
+ > div {
3827
+ width: min-content;
3828
+ }
3829
+
3830
+ svg {
3831
+ width: ${/*#__PURE__*/rem('30px')};
3832
+ height: ${/*#__PURE__*/rem('30px')};
3833
+ fill: ${colors.grey200};
3834
+ transition-duration: ${misc.transitionDuration};
3835
+ }
3836
+ }
3837
+
3838
+ > div {
3839
+ margin-left: ${/*#__PURE__*/rem('100px')};
3840
+ height: 100%;
3841
+ display: flex;
3842
+ justify-content: flex-end;
3843
+ align-items: center;
3844
+ flex-wrap: nowrap;
3845
+ text-align: right;
3846
+
3847
+ > span {
3848
+ display: none;
3849
+
3850
+ &:first-child,
3851
+ &:last-child {
3852
+ display: inherit;
3853
+ }
3854
+ }
3855
+ }
3856
+
3857
+ img {
3858
+ min-width: ${/*#__PURE__*/rem('30px')};
3859
+ min-height: ${/*#__PURE__*/rem('30px')};
3860
+ }
3861
+
3862
+ a {
3863
+ display: flex;
3864
+ align-items: center;
3865
+ color: ${colors.black};
3866
+ text-decoration-color: ${colors.grey400};
3867
+ }
3868
+
3869
+ &:first-child {
3870
+ border: 0;
3871
+ }
3872
+
3873
+ &:before {
3874
+ position: absolute;
3875
+ left: ${/*#__PURE__*/rem('15px')};
3876
+ content: attr(data-label);
3877
+ font-weight: ${typography.semiBold};
3878
+ text-transform: capitalize;
3879
+ }
3880
+
3881
+ &.kai {
3882
+ svg {
3883
+ float: right;
3884
+ width: auto;
3885
+ min-width: ${/*#__PURE__*/rem('20px')};
3886
+ max-height: ${/*#__PURE__*/rem('20px')};
3887
+ }
3888
+ }
3889
+
3890
+ .avatar-img {
3891
+ display: none;
3892
+ }
3893
+
3894
+ .tag {
3895
+ margin: 0;
3896
+
3897
+ &:not(:first-child) {
3898
+ display: none;
3899
+ }
3900
+ }
3901
+
3902
+ &.menu {
3903
+ padding: 0 ${/*#__PURE__*/rem('10px')} 0 0;
3904
+
3905
+ button {
3906
+ margin-top: ${/*#__PURE__*/rem('5px')};
3907
+ transition: ${misc.transitionDuration};
3908
+ }
3909
+
3910
+ ul {
3911
+ top: ${/*#__PURE__*/rem('36px')};
3912
+ margin-left: ${/*#__PURE__*/rem('-170px')};
3913
+ }
3914
+ }
3915
+
3916
+ @media ${device.s} {
3917
+ display: table-cell;
3918
+ height: ${/*#__PURE__*/rem('50px')};
3919
+ padding: 0 ${/*#__PURE__*/rem('15px')};
3920
+ align-items: center;
3921
+
3922
+ > div {
3923
+ position: relative;
3924
+ margin-left: 0;
3925
+ display: flex-start;
3926
+ justify-content: flex-start;
3927
+ text-align: left;
2662
3928
 
2663
- const Table$2 = /*#__PURE__*/_styled.table.withConfig({
2664
- displayName: "styles__Table",
2665
- componentId: "sc-1p618q0-0"
2666
- })(["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__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, colors.grey50, colors.grey200, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), colors.grey200, misc.transitionDuration, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), colors.black, colors.grey400, /*#__PURE__*/rem('15px'), typography.semiBold, /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), misc.transitionDuration, /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
2667
- const TableRow = /*#__PURE__*/_styled.tr.withConfig({
2668
- displayName: "styles__TableRow",
2669
- componentId: "sc-1p618q0-1"
2670
- })(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
3929
+ > span {
3930
+ display: inherit;
3931
+ }
3932
+ }
3933
+
3934
+ &:first-child {
3935
+ border-top: ${field.borderWidth} solid ${colors.grey200};
3936
+ }
3937
+
3938
+ &:before {
3939
+ content: '';
3940
+ }
3941
+
3942
+ &.kai {
3943
+ max-width: ${/*#__PURE__*/rem('100px')};
3944
+ }
3945
+
3946
+ .avatar-img {
3947
+ display: inherit;
3948
+ }
3949
+
3950
+ .tag {
3951
+ &:not(:first-child) {
3952
+ display: inherit;
3953
+ }
3954
+
3955
+ &:not(:last-child) {
3956
+ margin-right: ${/*#__PURE__*/rem('5px')};
3957
+ }
3958
+ }
3959
+
3960
+ &.menu {
3961
+ width: ${/*#__PURE__*/rem('40px')};
3962
+
3963
+ button {
3964
+ opacity: 0;
3965
+ }
3966
+ }
3967
+ }
3968
+ }
3969
+ }
3970
+ `;
3971
+ const TableRow = styled.tr`
3972
+ &[data-rbd-draggable-id='${props => props.draggableId}'] {
3973
+ position: absolute;
3974
+ display: table;
3975
+ width: 100%;
3976
+ }
3977
+ `;
2671
3978
 
2672
3979
  const TableDnD = props => {
2673
3980
  const {
@@ -2818,10 +4125,22 @@ const TableDnD = props => {
2818
4125
  );
2819
4126
  };
2820
4127
 
2821
- const Wrapper$8 = /*#__PURE__*/_styled.div.withConfig({
2822
- displayName: "styles__Wrapper",
2823
- componentId: "sc-mbja2a-0"
2824
- })(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/rem('5px'), props => props.error ? field.errorBorderColor : colors.grey500, props => props.error ? field.errorBorderColor : field.color, /*#__PURE__*/rem('15px'));
4128
+ const Wrapper$8 = styled.div`
4129
+ display: inline-block;
4130
+
4131
+ > label {
4132
+ margin-bottom: ${/*#__PURE__*/rem('5px')};
4133
+ color: ${props => props.error ? field.errorBorderColor : colors.grey500};
4134
+
4135
+ span {
4136
+ color: ${props => props.error ? field.errorBorderColor : field.color};
4137
+ }
4138
+ }
4139
+
4140
+ &:not(:last-child) {
4141
+ margin-bottom: ${/*#__PURE__*/rem('15px')};
4142
+ }
4143
+ `;
2825
4144
 
2826
4145
  const FormGroup = props => {
2827
4146
  const {
@@ -2838,18 +4157,81 @@ const FormGroup = props => {
2838
4157
  }), children);
2839
4158
  };
2840
4159
 
2841
- const Wrapper$9 = /*#__PURE__*/_styled.div.withConfig({
2842
- displayName: "styles__Wrapper",
2843
- componentId: "sc-124afcu-0"
2844
- })(["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);
2845
- const Input = /*#__PURE__*/_styled.input.withConfig({
2846
- displayName: "styles__Input",
2847
- componentId: "sc-124afcu-1"
2848
- })(["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__*/rem('10px'), typography.defaultSize, field.errorBackgroundColor);
2849
- const Button$1 = /*#__PURE__*/_styled.button.withConfig({
2850
- displayName: "styles__Button",
2851
- componentId: "sc-124afcu-2"
2852
- })(["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__*/rem('20px'), colors.purple300, field.hoverBorderColor);
4160
+ const Wrapper$9 = styled.div`
4161
+ border: ${field.borderWidth} solid ${field.borderColor};
4162
+ border-radius: ${field.borderRadius};
4163
+ max-width: max-content;
4164
+ height: ${field.height};
4165
+ display: flex;
4166
+ overflow: hidden;
4167
+
4168
+ button,
4169
+ input {
4170
+ &:disabled {
4171
+ cursor: inherit;
4172
+ background-color: ${field.disabledBackgroundColor};
4173
+
4174
+ svg {
4175
+ fill: ${field.disabledColor};
4176
+ }
4177
+
4178
+ &:hover {
4179
+ pointer-events: none;
4180
+ }
4181
+ }
4182
+ }
4183
+ `;
4184
+ const Input = styled.input`
4185
+ border: 0;
4186
+ width: ${props => props.max != null && props.max.toString().length > 5 ? props.max.toString().length * 10 + 20 + 'px' : '70px'};
4187
+ height: ${field.height};
4188
+ padding: ${/*#__PURE__*/rem('10px')};
4189
+ font-family: inherit;
4190
+ font-size: ${typography.defaultSize};
4191
+ text-align: center;
4192
+ -moz-appearance: textfield;
4193
+
4194
+ &::-webkit-outer-spin-button,
4195
+ &::-webkit-inner-spin-button {
4196
+ -webkit-appearance: none;
4197
+ margin: 0;
4198
+ }
4199
+
4200
+ &:focus {
4201
+ outline: none;
4202
+ }
4203
+
4204
+ &:invalid {
4205
+ box-shadow: none;
4206
+ background-color: ${field.errorBackgroundColor};
4207
+ }
4208
+ `;
4209
+ const Button$1 = styled.button`
4210
+ width: ${field.height};
4211
+ height: ${field.height};
4212
+ border: 0;
4213
+ background-color: ${field.borderColor};
4214
+ cursor: pointer;
4215
+ transition-duration: ${misc.transitionDuration};
4216
+
4217
+ &.remove-button {
4218
+ border-right: ${field.borderWidth} solid ${field.borderColor};
4219
+ }
4220
+
4221
+ &.add-button {
4222
+ border-left: ${field.borderWidth} solid ${field.borderColor};
4223
+ }
4224
+
4225
+ svg {
4226
+ width: auto;
4227
+ height: ${/*#__PURE__*/rem('20px')};
4228
+ fill: ${colors.purple300};
4229
+ }
4230
+
4231
+ &:hover {
4232
+ background-color: ${field.hoverBorderColor};
4233
+ }
4234
+ `;
2853
4235
 
2854
4236
  const NumberInputSpinner = props => {
2855
4237
  const {
@@ -2910,14 +4292,91 @@ const NumberInputSpinner = props => {
2910
4292
  })));
2911
4293
  };
2912
4294
 
2913
- const Steps = /*#__PURE__*/_styled.ul.withConfig({
2914
- displayName: "styles__Steps",
2915
- componentId: "sc-1s2dhfy-0"
2916
- })(["margin:0;width:100%;padding:0;display:flex;"]);
2917
- const Step = /*#__PURE__*/_styled.li.withConfig({
2918
- displayName: "styles__Step",
2919
- componentId: "sc-1s2dhfy-1"
2920
- })(["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__*/rem('44px'), /*#__PURE__*/rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('-15px'), /*#__PURE__*/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);
4295
+ const Steps = styled.ul`
4296
+ margin: 0;
4297
+ width: 100%;
4298
+ padding: 0;
4299
+ display: flex;
4300
+ `;
4301
+ const Step = styled.li`
4302
+ list-style: none;
4303
+ flex: 1;
4304
+ position: relative;
4305
+ height: ${/*#__PURE__*/rem('44px')};
4306
+ display: flex;
4307
+ justify-content: center;
4308
+ align-items: center;
4309
+ padding-right: ${/*#__PURE__*/rem('18px')};
4310
+ text-align: center;
4311
+
4312
+ &:before,
4313
+ &:after {
4314
+ content: '';
4315
+ position: absolute;
4316
+ top: 0;
4317
+ border: 0 solid
4318
+ ${props => props.active ? field.successBackgroundColor : field.borderColor};
4319
+ border-width: ${/*#__PURE__*/rem('22px')} ${/*#__PURE__*/rem('15px')};
4320
+ width: 0;
4321
+ height: 0;
4322
+ }
4323
+
4324
+ &:before {
4325
+ left: ${/*#__PURE__*/rem('-15px')};
4326
+ border-left-color: transparent;
4327
+ }
4328
+
4329
+ &:after {
4330
+ left: calc(100% - ${/*#__PURE__*/rem('18px')});
4331
+ border-color: transparent;
4332
+ border-left-color: ${props => props.active ? field.successBackgroundColor : field.borderColor};
4333
+ }
4334
+
4335
+ &:first-child:before {
4336
+ border: none;
4337
+ }
4338
+
4339
+ &:last-child:after {
4340
+ border: none;
4341
+ }
4342
+
4343
+ &:first-child {
4344
+ overflow: hidden;
4345
+
4346
+ > div {
4347
+ border-radius: ${field.borderRadius} 0 0 ${field.borderRadius};
4348
+ }
4349
+ }
4350
+
4351
+ &:last-child {
4352
+ padding-right: 0;
4353
+
4354
+ > div {
4355
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} 0;
4356
+ }
4357
+ }
4358
+
4359
+ > div {
4360
+ background-color: ${props => props.active ? field.successBackgroundColor : field.borderColor};
4361
+ width: 100%;
4362
+ height: 100%;
4363
+ display: flex;
4364
+ justify-content: center;
4365
+ align-items: center;
4366
+
4367
+ span {
4368
+ width: min-content;
4369
+ font-size: ${typography.fontSizeSm};
4370
+ color: ${props => props.active ? colors.white : colors.purple300};
4371
+
4372
+ @media ${device.s} {
4373
+ width: 100%;
4374
+ font-size: ${typography.defaultSize};
4375
+ font-weight: ${typography.semiBold};
4376
+ }
4377
+ }
4378
+ }
4379
+ `;
2921
4380
 
2922
4381
  const WizardSteps = props => {
2923
4382
  const {
@@ -2937,7 +4396,7 @@ const WizardSteps = props => {
2937
4396
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, step.value))))));
2938
4397
  };
2939
4398
 
2940
- const PaginationWrapper = _styled.div`
4399
+ const PaginationWrapper = styled.div`
2941
4400
  --size: ${/*#__PURE__*/rem('30px')};
2942
4401
 
2943
4402
  ul.pagination {
@@ -3063,7 +4522,7 @@ const PaginationControl = props => {
3063
4522
  }));
3064
4523
  };
3065
4524
 
3066
- const Wrapper$a = _styled.div`
4525
+ const Wrapper$a = styled.div`
3067
4526
  min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
3068
4527
  display: flex;
3069
4528
  flex-direction: column;
@@ -3106,7 +4565,7 @@ const Error = props => {
3106
4565
  }) : /*#__PURE__*/React.createElement("span", null, "\xAF\\\\_(\u30C4)_/\xAF"), value && /*#__PURE__*/React.createElement("span", null, value));
3107
4566
  };
3108
4567
 
3109
- const Wrapper$b = _styled.div`
4568
+ const Wrapper$b = styled.div`
3110
4569
  min-height: 50vh;
3111
4570
  display: flex;
3112
4571
  flex-direction: column;
@@ -5093,7 +6552,7 @@ const DataWarning = props => {
5093
6552
  }, icon, /*#__PURE__*/React.createElement("div", null, children));
5094
6553
  };
5095
6554
 
5096
- const Wrapper$c = _styled.ul`
6555
+ const Wrapper$c = styled.ul`
5097
6556
  display: flex;
5098
6557
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5099
6558
  position: relative;
@@ -5125,7 +6584,7 @@ const Wrapper$c = _styled.ul`
5125
6584
  margin-top: ${/*#__PURE__*/rem('10px')};
5126
6585
  }
5127
6586
  `;
5128
- const Item = _styled.li`
6587
+ const Item = styled.li`
5129
6588
  --size: ${/*#__PURE__*/rem('24px')};
5130
6589
  display: flex;
5131
6590
  position: relative;
@@ -5233,7 +6692,7 @@ const RadioGroup = props => {
5233
6692
  }) : null);
5234
6693
  };
5235
6694
 
5236
- const Wrapper$d = _styled.ul`
6695
+ const Wrapper$d = styled.ul`
5237
6696
  display: flex;
5238
6697
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5239
6698
  position: relative;
@@ -5287,12 +6746,12 @@ const CheckboxGroup = props => {
5287
6746
  }) : null);
5288
6747
  };
5289
6748
 
5290
- const Wrapper$e = _styled.div`
6749
+ const Wrapper$e = styled.div`
5291
6750
  label {
5292
6751
  margin-bottom: ${/*#__PURE__*/rem('5px')};
5293
6752
  }
5294
6753
  `;
5295
- const Field = _styled.div`
6754
+ const Field = styled.div`
5296
6755
  display: flex;
5297
6756
  flex-wrap: wrap;
5298
6757
 
@@ -5503,22 +6962,88 @@ function HorizontalNav(props) {
5503
6962
  }));
5504
6963
  }
5505
6964
 
5506
- const ModalOverlay = /*#__PURE__*/_styled.div.withConfig({
5507
- displayName: "styles__ModalOverlay",
5508
- componentId: "sc-16r6vcc-0"
5509
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
5510
- const ModalWrapper = /*#__PURE__*/_styled.div.withConfig({
5511
- displayName: "styles__ModalWrapper",
5512
- componentId: "sc-16r6vcc-1"
5513
- })(["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');
5514
- const ModalContainer = /*#__PURE__*/_styled.div.withConfig({
5515
- displayName: "styles__ModalContainer",
5516
- componentId: "sc-16r6vcc-2"
5517
- })(["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__*/rem('15px'), misc.transitionDuration, device.s, /*#__PURE__*/rem('30px'), field.borderRadius, /*#__PURE__*/rem('860px'), /*#__PURE__*/rem('1px'));
5518
- const ModalHeader = /*#__PURE__*/_styled.div.withConfig({
5519
- displayName: "styles__ModalHeader",
5520
- componentId: "sc-16r6vcc-3"
5521
- })(["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__*/rem('30px'), /*#__PURE__*/rem('32px'), typography.semiBold, /*#__PURE__*/rem('-14px'), /*#__PURE__*/rem('-14px'), /*#__PURE__*/rem('2px'), colors.grey200, /*#__PURE__*/rem('28px'), /*#__PURE__*/rem('28px'), device.s);
6965
+ const ModalOverlay = styled.div`
6966
+ position: fixed;
6967
+ top: 0;
6968
+ left: 0;
6969
+ background-color: ${/*#__PURE__*/rgba(colors.black, 0.8)};
6970
+ width: 100vw;
6971
+ height: 100vh;
6972
+ z-index: ${props => props.zIndex ? props.zIndex : 10};
6973
+ `;
6974
+ const ModalWrapper = styled.div`
6975
+ position: fixed;
6976
+ top: 0;
6977
+ left: 0;
6978
+ width: 100%;
6979
+ height: 100vh;
6980
+ z-index: ${props => props.zIndex + 1};
6981
+ overflow-x: hidden;
6982
+ overflow-y: auto;
6983
+ -webkit-scrollbar-width: none;
6984
+ -moz-scrollbar-width: none;
6985
+ -ms-scrollbar-width: none;
6986
+ scrollbar-width: none;
6987
+ -webkit-overflow-scrolling: touch;
6988
+ -ms-overflow-style: -ms-autohiding-scrollbar;
6989
+
6990
+ @media ${device.s} {
6991
+ display: flex;
6992
+ justify-content: center;
6993
+ align-items: ${props => props.modalOverflow ? 'flex-start' : 'center'};
6994
+ }
6995
+ `;
6996
+ const ModalContainer = styled.div`
6997
+ position: relative;
6998
+ background: ${colors.white};
6999
+ width: 100%;
7000
+ min-height: 0;
7001
+ padding: ${/*#__PURE__*/rem('15px')};
7002
+ word-wrap: break-word;
7003
+ transition-duration: ${misc.transitionDuration};
7004
+
7005
+ @media ${device.s} {
7006
+ --spacing: ${/*#__PURE__*/rem('30px')};
7007
+ margin: var(--spacing);
7008
+ border-radius: ${field.borderRadius};
7009
+ max-width: ${/*#__PURE__*/rem('860px')};
7010
+ padding: var(--spacing);
7011
+
7012
+ &:after {
7013
+ content: '';
7014
+ position: absolute;
7015
+ bottom: calc(var(--spacing) * -1);
7016
+ width: ${/*#__PURE__*/rem('1px')};
7017
+ height: var(--spacing);
7018
+ }
7019
+ }
7020
+ `;
7021
+ const ModalHeader = styled.div`
7022
+ display: flex;
7023
+
7024
+ h2 {
7025
+ margin: 0 0 ${/*#__PURE__*/rem('30px')} 0;
7026
+ font-size: ${/*#__PURE__*/rem('32px')};
7027
+ font-weight: ${typography.semiBold};
7028
+ }
7029
+
7030
+ button {
7031
+ display: none;
7032
+ position: absolute;
7033
+ top: 0;
7034
+ right: 0;
7035
+ margin: ${/*#__PURE__*/rem('-14px')} ${/*#__PURE__*/rem('-14px')} 0 0;
7036
+ border: ${/*#__PURE__*/rem('2px')} solid ${colors.grey200};
7037
+ min-width: ${/*#__PURE__*/rem('28px')};
7038
+ height: ${/*#__PURE__*/rem('28px')};
7039
+ z-index: 1;
7040
+ outline: none;
7041
+
7042
+ @media ${device.s} {
7043
+ display: inherit;
7044
+ }
7045
+ }
7046
+ `;
5522
7047
 
5523
7048
  const Modal = props => {
5524
7049
  const {
@@ -5569,35 +7094,72 @@ const Modal = props => {
5569
7094
  })))), document.body)) : /*#__PURE__*/React.createElement(React.Fragment, null);
5570
7095
  };
5571
7096
 
5572
- const slideInLeft = keyframes`
5573
- from {
5574
- transform: translateX(100%);
7097
+ const ModalOverlay$1 = styled.div`
7098
+ position: fixed;
7099
+ top: 0;
7100
+ left: 0;
7101
+ background-color: ${/*#__PURE__*/rgba(colors.black, 0.8)};
7102
+ width: 100vw;
7103
+ height: 100vh;
7104
+ z-index: ${props => props.zIndex ? props.zIndex : 10};
7105
+ `;
7106
+ const ModalWrapper$1 = styled.div`
7107
+ position: fixed;
7108
+ top: 0;
7109
+ left: 0;
7110
+ width: 100%;
7111
+ height: 100%;
7112
+ overflow-x: hidden;
7113
+ overflow-y: auto;
7114
+ z-index: ${props => props.zIndex + 1};
7115
+ `;
7116
+ const ModalContainer$1 = styled.div`
7117
+ @keyframes slideInLeft {
7118
+ from {
7119
+ transform: translateX(100%);
7120
+ }
7121
+
7122
+ to {
7123
+ transform: translateX(0);
7124
+ }
7125
+ }
7126
+
7127
+ margin-left: auto;
7128
+ background: ${colors.white};
7129
+ width: 100%;
7130
+ min-height: 100vh;
7131
+ display: flex;
7132
+ flex-direction: column;
7133
+ padding: ${/*#__PURE__*/rem('15px')};
7134
+ word-wrap: break-word;
7135
+ animation-timing-function: ${/*#__PURE__*/timingFunctions('easeOutQuint')};
7136
+ animation-duration: 1s;
7137
+ animation-fill-mode: forwards;
7138
+ transform: translateX(100%);
7139
+ animation-name: slideInLeft;
7140
+
7141
+ @media ${device.s} {
7142
+ max-width: ${/*#__PURE__*/rem('400px')};
7143
+ padding: ${/*#__PURE__*/rem('30px')};
7144
+ }
7145
+ `;
7146
+ const ModalHeader$1 = styled.div`
7147
+ top: 0;
7148
+
7149
+ h2 {
7150
+ margin: 0 0 ${/*#__PURE__*/rem('30px')} 0;
7151
+ font-size: ${/*#__PURE__*/rem('32px')};
7152
+ font-weight: ${typography.semiBold};
5575
7153
  }
7154
+ `;
7155
+ const ModalContent = styled.div`
7156
+ display: flex;
7157
+ flex-direction: column;
5576
7158
 
5577
- to {
5578
- transform: translateX(0);
7159
+ @media ${device.s} {
7160
+ flex: 1;
5579
7161
  }
5580
7162
  `;
5581
- const ModalOverlay$1 = /*#__PURE__*/_styled.div.withConfig({
5582
- displayName: "styles__ModalOverlay",
5583
- componentId: "sc-46huls-0"
5584
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
5585
- const ModalWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
5586
- displayName: "styles__ModalWrapper",
5587
- componentId: "sc-46huls-1"
5588
- })(["position:fixed;top:0;left:0;width:100%;height:100%;overflow-x:hidden;overflow-y:auto;z-index:", ";"], props => props.zIndex + 1);
5589
- const ModalContainer$1 = /*#__PURE__*/_styled.div.withConfig({
5590
- displayName: "styles__ModalContainer",
5591
- componentId: "sc-46huls-2"
5592
- })(["margin-left:auto;background:", ";width:100%;min-height:100vh;display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translateX(100%);animation-name:", ";@media ", "{max-width:", ";padding:", ";}"], colors.white, /*#__PURE__*/rem('15px'), /*#__PURE__*/timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/rem('400px'), /*#__PURE__*/rem('30px'));
5593
- const ModalHeader$1 = /*#__PURE__*/_styled.div.withConfig({
5594
- displayName: "styles__ModalHeader",
5595
- componentId: "sc-46huls-3"
5596
- })(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('32px'), typography.semiBold);
5597
- const ModalContent = /*#__PURE__*/_styled.div.withConfig({
5598
- displayName: "styles__ModalContent",
5599
- componentId: "sc-46huls-4"
5600
- })(["display:flex;flex-direction:column;@media ", "{flex:1;}"], device.s);
5601
7163
 
5602
7164
  const ModalDrawer = props => {
5603
7165
  const {
@@ -5650,7 +7212,7 @@ const ModalDrawer = props => {
5650
7212
  }))))), document.body)) : /*#__PURE__*/React.createElement(React.Fragment, null);
5651
7213
  };
5652
7214
 
5653
- const Wrapper$f = _styled.div`
7215
+ const Wrapper$f = styled.div`
5654
7216
  div {
5655
7217
  width: 100%;
5656
7218
  height: 100%;
@@ -5745,7 +7307,7 @@ const Wrapper$f = _styled.div`
5745
7307
  }
5746
7308
  }
5747
7309
  `;
5748
- const Grid = _styled.div`
7310
+ const Grid = styled.div`
5749
7311
  display: grid;
5750
7312
  grid-template-columns: repeat(auto-fill, ${/*#__PURE__*/rem('300px')});
5751
7313
  grid-gap: ${/*#__PURE__*/rem('15px')};
@@ -5818,7 +7380,7 @@ const LoadingState = props => {
5818
7380
  }, loadingType);
5819
7381
  };
5820
7382
 
5821
- const Wrapper$g = _styled.div`
7383
+ const Wrapper$g = styled.div`
5822
7384
  .tab {
5823
7385
  border-color: ${field.borderColor};
5824
7386
 
@@ -6006,16 +7568,16 @@ const TabsPanel = props => {
6006
7568
  }));
6007
7569
  };
6008
7570
 
6009
- const Wrapper$h = _styled.div`
7571
+ const Wrapper$h = styled.div`
6010
7572
  display: flex;
6011
7573
  flex-direction: column;
6012
7574
  `;
6013
- const GridRow = _styled.div`
7575
+ const GridRow = styled.div`
6014
7576
  @media ${device.m} {
6015
7577
  display: flex;
6016
7578
  }
6017
7579
  `;
6018
- const GridCol = _styled.div`
7580
+ const GridCol = styled.div`
6019
7581
  @media ${device.m} {
6020
7582
  flex: ${props => props.size};
6021
7583
  }