@taikai/rocket-kit 3.0.0 → 3.0.2

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.
Files changed (107) hide show
  1. package/dist/atoms/avatar-image/index.d.ts +2 -2
  2. package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +5 -5
  3. package/dist/atoms/button/index.d.ts +1 -1
  4. package/dist/atoms/button/stories/button.stories.d.ts +3 -3
  5. package/dist/atoms/button-dropdown/index.d.ts +2 -2
  6. package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +3 -3
  7. package/dist/atoms/button-link/index.d.ts +1 -1
  8. package/dist/atoms/button-link/stories/button-link.stories.d.ts +3 -3
  9. package/dist/atoms/checkbox/index.d.ts +1 -1
  10. package/dist/atoms/checkbox-button/index.d.ts +1 -1
  11. package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +3 -3
  12. package/dist/atoms/error-field/index.d.ts +2 -2
  13. package/dist/atoms/file-picker/index.d.ts +1 -2
  14. package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +3 -4
  15. package/dist/atoms/file-picker/styles.d.ts +0 -1
  16. package/dist/atoms/icon/index.d.ts +2 -2
  17. package/dist/atoms/icon/stories/icon.stories.d.ts +5 -5
  18. package/dist/atoms/label/index.d.ts +1 -1
  19. package/dist/atoms/label/stories/label.stories.d.ts +4 -4
  20. package/dist/atoms/progress-bar/index.d.ts +2 -1
  21. package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +3 -3
  22. package/dist/atoms/select/index.d.ts +1 -2
  23. package/dist/atoms/select/stories/select.stories.d.ts +3 -9
  24. package/dist/atoms/select/styles.d.ts +0 -1
  25. package/dist/atoms/select-interactive/components/index.d.ts +4 -3
  26. package/dist/atoms/select-interactive/index.d.ts +2 -1
  27. package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +6 -6
  28. package/dist/atoms/select-interactive/styles.d.ts +1 -0
  29. package/dist/atoms/slideshow/index.d.ts +2 -1
  30. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +3 -3
  31. package/dist/atoms/spinner/index.d.ts +2 -2
  32. package/dist/atoms/tag/index.d.ts +2 -2
  33. package/dist/atoms/tag/stories/tag.stories.d.ts +3 -3
  34. package/dist/atoms/tag-number/index.d.ts +2 -2
  35. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +3 -3
  36. package/dist/atoms/text-area/index.d.ts +1 -2
  37. package/dist/atoms/text-area/stories/text-area.stories.d.ts +8 -21
  38. package/dist/atoms/text-area/styles.d.ts +0 -1
  39. package/dist/atoms/text-field/index.d.ts +1 -2
  40. package/dist/atoms/text-field/styles.d.ts +0 -1
  41. package/dist/atoms/text-field-appendix/index.d.ts +1 -1
  42. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +4 -4
  43. package/dist/atoms/toggle/index.d.ts +2 -1
  44. package/dist/atoms/toggle/stories/toogle.stories.d.ts +3 -3
  45. package/dist/atoms/truncate-line/index.d.ts +2 -2
  46. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +3 -3
  47. package/dist/atoms/video-player/index.d.ts +4 -1
  48. package/dist/atoms/video-player/stories/video-player.stories.d.ts +3 -3
  49. package/dist/index.d.ts +0 -1
  50. package/dist/ions/icon-empty-data.d.ts +2 -1
  51. package/dist/ions/icon-login-only.d.ts +2 -1
  52. package/dist/ions/variables.d.ts +19 -17
  53. package/dist/molecules/actions-menu/index.d.ts +3 -2
  54. package/dist/molecules/card-value/index.d.ts +1 -1
  55. package/dist/molecules/card-value/stories/card-value.stories.d.ts +5 -5
  56. package/dist/molecules/card-value/styles.d.ts +0 -1
  57. package/dist/molecules/checkbox-group/index.d.ts +1 -1
  58. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +3 -3
  59. package/dist/molecules/data-warning/index.d.ts +1 -1
  60. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +3 -3
  61. package/dist/molecules/empty-table/index.d.ts +2 -1
  62. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +3 -3
  63. package/dist/molecules/error/index.d.ts +2 -1
  64. package/dist/molecules/error/stories/error.stories.d.ts +3 -3
  65. package/dist/molecules/field-with-button/index.d.ts +1 -5
  66. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +3 -4
  67. package/dist/molecules/form-group/index.d.ts +1 -1
  68. package/dist/molecules/form-group/stories/form-group.stories.d.ts +3 -3
  69. package/dist/molecules/modal-footer/index.d.ts +1 -1
  70. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +4 -4
  71. package/dist/molecules/note-card/index.d.ts +1 -1
  72. package/dist/molecules/number-input-spinner/index.d.ts +2 -1
  73. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +4 -4
  74. package/dist/molecules/pagination-control/index.d.ts +1 -1
  75. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +4 -4
  76. package/dist/molecules/radio-group/index.d.ts +1 -1
  77. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +3 -3
  78. package/dist/molecules/table/index.d.ts +1 -1
  79. package/dist/molecules/table/stories/table.stories.d.ts +4 -4
  80. package/dist/molecules/table-dnd/index.d.ts +1 -1
  81. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +3 -3
  82. package/dist/molecules/wizard-steps/index.d.ts +2 -2
  83. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +4 -4
  84. package/dist/organisms/grid-container/grid-col.d.ts +1 -1
  85. package/dist/organisms/grid-container/grid-row.d.ts +2 -1
  86. package/dist/organisms/grid-container/index.d.ts +1 -1
  87. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +3 -3
  88. package/dist/organisms/horizontal-nav/index.d.ts +2 -1
  89. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +4 -4
  90. package/dist/organisms/loading-state/index.d.ts +2 -1
  91. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +3 -3
  92. package/dist/organisms/modal/index.d.ts +1 -1
  93. package/dist/organisms/modal/stories/modal.stories.d.ts +4 -4
  94. package/dist/organisms/modal-drawer/index.d.ts +1 -1
  95. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +4 -4
  96. package/dist/organisms/tabs-panel/index.d.ts +1 -1
  97. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +4 -4
  98. package/dist/rocket-kit.cjs.development.js +353 -705
  99. package/dist/rocket-kit.cjs.development.js.map +1 -1
  100. package/dist/rocket-kit.cjs.production.min.js +413 -476
  101. package/dist/rocket-kit.cjs.production.min.js.map +1 -1
  102. package/dist/rocket-kit.esm.js +355 -706
  103. package/dist/rocket-kit.esm.js.map +1 -1
  104. package/package.json +3 -3
  105. package/dist/molecules/alert-notification/index.d.ts +0 -11
  106. package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +0 -25
  107. package/dist/molecules/alert-notification/styles.d.ts +0 -5
@@ -1,7 +1,7 @@
1
1
  import React, { useState, useRef, useEffect, useMemo } from 'react';
2
2
  import Avatar from 'boring-avatars';
3
3
  import _styled, { css, keyframes } from 'styled-components';
4
- import { darken, lighten, rem, transparentize, rgba, timingFunctions } from 'polished';
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';
7
7
  import ReactPlayer from 'react-player';
@@ -13,10 +13,8 @@ import ReactDOM from 'react-dom';
13
13
  import Tabs from 'react-responsive-tabs';
14
14
 
15
15
  const colors = {
16
- // NEUTRALS
17
16
  black: '#000000',
18
17
  white: '#ffffff',
19
- // GREY
20
18
  grey50: '#F1F1F3',
21
19
  grey100: '#E3E3E8',
22
20
  grey150: '#D5D6DC',
@@ -30,7 +28,6 @@ const colors = {
30
28
  grey850: '#23232A',
31
29
  grey900: '#17171C',
32
30
  grey950: '#0C0C0E',
33
- // BLUE
34
31
  blue50: '#ECEDFC',
35
32
  blue100: '#D9DCFA',
36
33
  blue150: '#C6CAF7',
@@ -44,7 +41,6 @@ const colors = {
44
41
  blue850: '#141844',
45
42
  blue900: '#0D102E',
46
43
  blue950: '#070817',
47
- // PURPLE
48
44
  purple50: '#ECEAF6',
49
45
  purple100: '#D9D4ED',
50
46
  purple150: '#C7BFE4',
@@ -58,7 +54,6 @@ const colors = {
58
54
  purple850: '#140C32',
59
55
  purple900: '#0D0821',
60
56
  purple950: '#070411',
61
- // RED
62
57
  red50: '#FDEEEE',
63
58
  red100: '#FBDDDD',
64
59
  red150: '#F9CDCD',
@@ -72,7 +67,6 @@ const colors = {
72
67
  red850: '#471A1A',
73
68
  red900: '#2F1111',
74
69
  red950: '#180909',
75
- // ORACLE
76
70
  oracle50: '#F4F0FD',
77
71
  oracle100: '#EAE1FB',
78
72
  oracle150: '#DFD2FA',
@@ -86,7 +80,6 @@ const colors = {
86
80
  oracle850: '#2D2047',
87
81
  oracle900: '#1E152F',
88
82
  oracle950: '#0F0B18',
89
- // GREEN
90
83
  green50: '#EBFCF7',
91
84
  green100: '#D7F9EF',
92
85
  green150: '#C2F6E6',
@@ -100,7 +93,6 @@ const colors = {
100
93
  green850: '#104334',
101
94
  green900: '#0B2D23',
102
95
  green950: '#051611',
103
- // ORANGE
104
96
  orange50: '#FFF0EA',
105
97
  orange100: '#FFE1D5',
106
98
  orange150: '#FFD2C0',
@@ -114,7 +106,6 @@ const colors = {
114
106
  orange850: '#4D200D',
115
107
  orange900: '#331509',
116
108
  orange950: '#1A0B04',
117
- // YELLOW
118
109
  yellow50: '#FFFBEC',
119
110
  yellow100: '#FFF7DA',
120
111
  yellow150: '#FFF3C7',
@@ -128,7 +119,6 @@ const colors = {
128
119
  yellow850: '#4D4015',
129
120
  yellow900: '#332B0E',
130
121
  yellow950: '#1A1507',
131
- // PALE BLUE
132
122
  paleBlue50: '#F3F9FD',
133
123
  paleBlue100: '#E7F4FB',
134
124
  paleBlue150: '#DBEEF9',
@@ -142,7 +132,6 @@ const colors = {
142
132
  paleBlue850: '#293C47',
143
133
  paleBlue900: '#1B282F',
144
134
  paleBlue950: '#0E1418',
145
- // PALE ORANGE
146
135
  paleOrange50: '#FDF4EC',
147
136
  paleOrange100: '#FCE9D9',
148
137
  paleOrange150: '#FADEC6',
@@ -155,25 +144,7 @@ const colors = {
155
144
  paleOrange800: '#5F3A1A',
156
145
  paleOrange850: '#472C13',
157
146
  paleOrange900: '#301D0D',
158
- paleOrange950: '#180F06',
159
- // OLD
160
- normal: '#000000',
161
- light: '#ffffff',
162
- blue: '#4250e4',
163
- darkBlue: '#1825AD',
164
- orange: '#ff6a2c',
165
- darkOrange: /*#__PURE__*/darken(0.2, '#ff6a2c'),
166
- red: '#ef5766',
167
- lightRed: /*#__PURE__*/lighten(0.25, '#ef5766'),
168
- darkRed: /*#__PURE__*/darken(0.19, '#ef5766'),
169
- lightPurple: /*#__PURE__*/lighten(0.4, '#4329a6'),
170
- darkPurple: /*#__PURE__*/darken(0.15, '#4329a6'),
171
- green: '#56cad7',
172
- lightGreen: /*#__PURE__*/lighten(0.3, '#56cad7'),
173
- darkGreen: /*#__PURE__*/darken(0.15, '#56cad7'),
174
- grey: '#939393',
175
- lightGrey: '#c4c7d3',
176
- darkGrey: /*#__PURE__*/darken(0.1, '#939393')
147
+ paleOrange950: '#180F06'
177
148
  };
178
149
  const colorHues = [50, 100, 150, 200, 300, 400, 500, 600, 700, 800, 850, 900, 950];
179
150
  const typography = {
@@ -197,14 +168,30 @@ const button = {
197
168
  const misc = {
198
169
  transitionDuration: '0.3s'
199
170
  };
171
+ const field = {
172
+ borderWidth: /*#__PURE__*/rem('1px'),
173
+ borderRadius: /*#__PURE__*/rem('8px'),
174
+ borderColor: colors.purple100,
175
+ hoverBorderColor: colors.purple150,
176
+ backgroundColor: colors.white,
177
+ boxShadow: /*#__PURE__*/rgba(colors.black, 0.15),
178
+ color: colors.black,
179
+ activeBorderColor: colors.purple500,
180
+ activeColor: colors.purple500,
181
+ successBackgroundColor: colors.green500,
182
+ successBorderColor: colors.green600,
183
+ errorBorderColor: colors.red500,
184
+ errorBackgroundColor: colors.red300,
185
+ disabledBackgroundColor: colors.grey100,
186
+ disabledColor: colors.grey300,
187
+ height: /*#__PURE__*/rem('50px'),
188
+ placeholderColor: colors.grey200
189
+ };
200
190
 
201
- const {
202
- grey
203
- } = colors;
204
191
  const Wrapper = /*#__PURE__*/_styled.div.withConfig({
205
192
  displayName: "styles__Wrapper",
206
193
  componentId: "sc-1oawilb-0"
207
- })(["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'), grey, props => props.square ? 0 : '999px', props => props.size, props => props.size);
194
+ })(["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);
208
195
 
209
196
  const AvatarImage = props => {
210
197
  const {
@@ -258,7 +245,7 @@ const useColor = value => {
258
245
  const ButtonWrapper = /*#__PURE__*/_styled.button.withConfig({
259
246
  displayName: "styles__ButtonWrapper",
260
247
  componentId: "sc-baestp-0"
261
- })(["--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;&: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 => {
248
+ })(["--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 => {
262
249
  var _props$color;
263
250
  return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
264
251
  }, props => {
@@ -310,15 +297,10 @@ const Button = props => {
310
297
  }) : null, value && /*#__PURE__*/React.createElement("span", null, value));
311
298
  };
312
299
 
313
- const {
314
- normal,
315
- light,
316
- lightGrey
317
- } = colors;
318
300
  const ActionsMenuStyle = /*#__PURE__*/_styled.div.withConfig({
319
301
  displayName: "styles__ActionsMenuStyle",
320
302
  componentId: "sc-1j5ogfi-0"
321
- })(["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:0.25s;&.isOpen{opacity:1;height:calc(", " * ", " + 2px);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'), lightGrey, /*#__PURE__*/rem('4px'), light, /*#__PURE__*/rem('200px'), /*#__PURE__*/rem('250px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal), /*#__PURE__*/rem('45px'), props => props.visibleActions, /*#__PURE__*/rem('1280px'), /*#__PURE__*/rem('45px'), lightGrey, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('20px'), normal);
303
+ })(["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);
322
304
 
323
305
  function useVisible(initialIsVisible) {
324
306
  const [isVisible, setIsVisible] = useState(initialIsVisible);
@@ -473,20 +455,10 @@ const ButtonLink = props => {
473
455
  }), value && /*#__PURE__*/React.createElement("span", null, value));
474
456
  };
475
457
 
476
- const {
477
- normal: normal$1,
478
- light: light$1,
479
- green,
480
- darkGreen,
481
- red,
482
- darkRed,
483
- grey: grey$1,
484
- lightGrey: lightGrey$1
485
- } = colors;
486
458
  const CheckboxWrapper = /*#__PURE__*/_styled.label.withConfig({
487
459
  displayName: "styles__CheckboxWrapper",
488
460
  componentId: "sc-w5t014-0"
489
- })(["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 ? darkRed : normal$1, props => props.disabled ? grey$1 : props.error ? red : null, props => props.error ? red : null);
461
+ })(["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);
490
462
  const CheckboxLabel = /*#__PURE__*/_styled.span.withConfig({
491
463
  displayName: "styles__CheckboxLabel",
492
464
  componentId: "sc-w5t014-1"
@@ -494,11 +466,11 @@ const CheckboxLabel = /*#__PURE__*/_styled.span.withConfig({
494
466
  const CheckboxInput = /*#__PURE__*/_styled.input.withConfig({
495
467
  displayName: "styles__CheckboxInput",
496
468
  componentId: "sc-w5t014-2"
497
- })(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled)[aria-checked='true'] ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled[aria-checked='true'] ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){border-color:", ";&:checked ~ span{border-color:", ";}}"], props => props.error ? red : green, props => props.error ? darkRed : darkGreen, lightGrey$1, grey$1, lightGrey$1, light$1, props => props.error ? darkRed : darkGreen, props => props.error ? darkRed : darkGreen);
469
+ })(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled)[aria-checked='true'] ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled[aria-checked='true'] ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){border-color:", ";&:checked ~ span{border-color:", ";}}"], props => props.error ? field.errorBackgroundColor : field.successBackgroundColor, props => props.error ? field.errorBorderColor : field.successBorderColor, field.disabledBackgroundColor, field.disabledColor, field.disabledBackgroundColor, field.backgroundColor, props => props.error ? field.errorBorderColor : field.activeBorderColor, props => props.error ? field.errorBorderColor : field.successBorderColor);
498
470
  const Checkmark = /*#__PURE__*/_styled.span.withConfig({
499
471
  displayName: "styles__Checkmark",
500
472
  componentId: "sc-w5t014-3"
501
- })(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:0.3s;&: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 ? red : grey$1, /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('9px'), light$1, /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('3px'), props => props.error ? red : green, props => props.error ? darkRed : darkGreen, grey$1, lightGrey$1, lightGrey$1, light$1, props => props.error ? darkRed : darkGreen, props => props.error ? darkRed : darkGreen);
473
+ })(["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);
502
474
 
503
475
  const Checkbox = ({
504
476
  label,
@@ -553,17 +525,10 @@ const Checkbox = ({
553
525
  }));
554
526
  };
555
527
 
556
- const {
557
- light: light$2,
558
- green: green$1,
559
- darkGreen: darkGreen$1,
560
- grey: grey$2,
561
- lightGrey: lightGrey$2
562
- } = colors;
563
528
  const CheckboxWrapper$1 = /*#__PURE__*/_styled.label.withConfig({
564
529
  displayName: "styles__CheckboxWrapper",
565
530
  componentId: "sc-itly0z-0"
566
- })(["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:0.3s;&:hover input:not(:disabled) ~ span{border-color:", ";}&:hover{background-color:", ";}span{color:", ";transition-duration:0.3s;}"], /*#__PURE__*/rem('3px'), props => props.disabled ? grey$2 : props.checked ? darkGreen$1 : grey$2, /*#__PURE__*/rem('6px'), props => props.disabled ? lightGrey$2 : props.checked ? green$1 : light$2, /*#__PURE__*/rem('50px'), props => props.disabled ? 'auto' : 'pointer', grey$2, props => props.disabled ? lightGrey$2 : props.checked ? green$1 : lightGrey$2, props => props.disabled ? grey$2 : props.checked ? light$2 : null);
531
+ })(["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);
567
532
  const CheckboxLabel$1 = /*#__PURE__*/_styled.span.withConfig({
568
533
  displayName: "styles__CheckboxLabel",
569
534
  componentId: "sc-itly0z-1"
@@ -571,11 +536,11 @@ const CheckboxLabel$1 = /*#__PURE__*/_styled.span.withConfig({
571
536
  const CheckboxInput$1 = /*#__PURE__*/_styled.input.withConfig({
572
537
  displayName: "styles__CheckboxInput",
573
538
  componentId: "sc-itly0z-2"
574
- })(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){&:checked ~ span{border-color:", ";}}"], light$2, light$2, grey$2, grey$2, grey$2, lightGrey$2, light$2);
539
+ })(["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);
575
540
  const Checkmark$1 = /*#__PURE__*/_styled.span.withConfig({
576
541
  displayName: "styles__Checkmark",
577
542
  componentId: "sc-itly0z-3"
578
- })(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:0.3s;&: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'), grey$2, light$2, /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('9px'), props => props.disabled ? light$2 : green$1, /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('3px'));
543
+ })(["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'));
579
544
 
580
545
  const CheckboxButton = props => {
581
546
  const {
@@ -787,65 +752,53 @@ const icons = {
787
752
  mint: 'M21.102 2a1 1 0 011 1v2h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V7h-2a1 1 0 110-2h2V3a1 1 0 011-1zM16.44 22.938l-2.4 6.512a1 1 0 01-1.874 0l-2.4-6.512a1.012 1.012 0 00-.6-.6l-6.513-2.4a1 1 0 010-1.875l6.513-2.4a1.013 1.013 0 00.6-.6l2.4-6.513a1 1 0 011.875 0l2.4 6.512a1.012 1.012 0 00.6.6l6.512 2.4a1 1 0 010 1.875l-6.512 2.4a1.012 1.012 0 00-.6.6zM27.102 9a1 1 0 011 1v1h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 110-2h1v-1a1 1 0 011-1z'
788
753
  };
789
754
 
790
- const {
791
- grey: grey$3,
792
- lightGrey: lightGrey$3,
793
- red: red$1,
794
- purple500
795
- } = colors;
796
755
  const TextFieldInputStyle = /*#__PURE__*/_styled.input.withConfig({
797
756
  displayName: "styles__TextFieldInputStyle",
798
757
  componentId: "sc-1hxcxbo-0"
799
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";height:", ";padding:", ";font-family:inherit;font-size:1rem;transition-duration:0.3s;&:focus{border-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";}&:invalid{border-color:", ";outline:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;}&:required{border-color:", ";}&::placeholder{color:", ";opacity:1;}&:-ms-input-placeholder{color:", ";opacity:1;}&::-ms-input-placeholder{color:", ";opacity:1;}", ""], props => props.minimal ? `0 0 ${rem('1px')} 0` : rem('1px'), props => props.error ? red$1 : grey$3, props => props.minimal ? 0 : '6px', props => props.minimal ? rem('40px') : rem('50px'), props => props.minimal ? 0 : rem('10px'), purple500, lightGrey$3, grey$3, red$1, props => props.error ? red$1 : grey$3, grey$3, grey$3, grey$3, props => props.icon && css`
800
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32"><path style="fill:hsl(0, 0%, 58%)" d=${JSON.stringify(icons[props.icon])} /></svg>');
801
- padding-left: ${props.minimal ? '40px' : '50px'};
802
- background-repeat: no-repeat;
803
- background-size: ${rem('30px')} ${rem('30px')};
804
- background-position: ${props.minimal ? 0 : '10px'} 50%;
758
+ })(["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`
759
+ 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>');
760
+ padding-left: ${rem('40px')};
805
761
 
806
762
  &:focus {
807
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32">
808
- <path style="fill:hsl(252, 60%, 41%)" d=${JSON.stringify(icons[props.icon])} /></svg>');
763
+ 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">
764
+ <path style="fill:rgb(67,41,166)" d=${JSON.stringify(icons[props.icon])} /></svg>');
809
765
  }
810
766
  `);
811
767
 
812
- const {
813
- light: light$3,
814
- grey: grey$4,
815
- lightGrey: lightGrey$4,
816
- red: red$2,
817
- purple500: purple500$1
818
- } = colors;
819
768
  const Wrapper$1 = _styled.div`
820
769
  position: relative;
821
770
  `;
822
771
  const TextAreaStyle = _styled.textarea`
823
- border-width: ${props => props.minimal ? `0 0 ${rem('1px')} 0` : rem('1px')};
772
+ border-width: ${field.borderWidth};
824
773
  border-style: solid;
825
- border-color: ${props => props.error ? red$2 : grey$4};
826
- border-radius: ${props => props.minimal ? 0 : '6px'};
774
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
775
+ border-radius: ${field.borderRadius};
827
776
  width: 100%;
828
777
  height: ${props => props.height || rem('100px')};
829
- min-height: rem('40px');
830
- padding: ${props => props.minimal ? 0 : rem('10px')};
778
+ min-height: ${field.height};
779
+ padding: ${/*#__PURE__*/rem('10px')};
831
780
  font-family: inherit;
832
- font-size: 1rem;
781
+ font-size: ${/*#__PURE__*/rem('16px')};
833
782
  word-break: break-word;
834
- transition-duration: 0.3s;
783
+ transition-duration: ${misc.transitionDuration};
835
784
  resize: none;
836
785
 
786
+ &:hover {
787
+ border-color: ${field.hoverBorderColor};
788
+ }
789
+
837
790
  &:focus {
838
- border-color: ${purple500$1};
791
+ border-color: ${field.activeColor};
839
792
  outline: none;
840
793
  }
841
794
 
842
795
  &:disabled {
843
- background-color: ${lightGrey$4};
844
- color: ${grey$4};
796
+ background-color: ${field.disabledBackgroundColor};
797
+ color: ${field.disabledColor};
845
798
  }
846
799
 
847
800
  &:invalid {
848
- border-color: ${red$2};
801
+ border-color: ${field.errorBorderColor};
849
802
  outline: none;
850
803
  box-shadow: none;
851
804
  -webkit-box-shadow: none;
@@ -853,102 +806,81 @@ const TextAreaStyle = _styled.textarea`
853
806
  }
854
807
 
855
808
  &:required {
856
- border-color: ${props => props.error ? red$2 : grey$4};
809
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
857
810
  }
858
811
 
859
812
  &::placeholder {
860
- color: ${grey$4};
813
+ color: ${field.placeholderColor};
861
814
  opacity: 1;
862
815
  }
863
816
 
864
817
  &:-ms-input-placeholder {
865
- color: ${grey$4};
818
+ color: ${field.placeholderColor};
866
819
  opacity: 1;
867
820
  }
868
821
 
869
822
  &::-ms-input-placeholder {
870
- color: ${grey$4};
823
+ color: ${field.placeholderColor};
871
824
  opacity: 1;
872
825
  }
873
826
  `;
874
827
  const Count = _styled.div`
875
828
  position: absolute;
876
- top: ${props => props.minimal ? 0 : rem('5px')};
877
- right: ${props => props.minimal ? 0 : rem('10px')};
878
- background-color: ${/*#__PURE__*/transparentize(0.15, light$3)};
829
+ top: ${/*#__PURE__*/rem('5px')};
830
+ right: ${/*#__PURE__*/rem('10px')};
831
+ background-color: ${/*#__PURE__*/transparentize(0.15, colors.white)};
879
832
  padding: 0 ${/*#__PURE__*/rem('5px')};
880
833
 
881
834
  span {
882
- font-size: 0.75rem;
883
- color: ${grey$4};
835
+ font-size: ${typography.fontSizeXs};
836
+ color: ${field.borderColor};
884
837
 
885
838
  &.negative {
886
- color: ${red$2};
839
+ color: ${field.errorBorderColor};
887
840
  }
888
841
  }
889
842
  `;
890
843
 
891
- const {
892
- normal: normal$2,
893
- grey: grey$5,
894
- lightGrey: lightGrey$5,
895
- red: red$3,
896
- purple500: purple500$2
897
- } = colors;
898
844
  const SelectStyle = _styled.select`
899
- border: ${/*#__PURE__*/rem('1px')} solid ${props => props.error ? red$3 : grey$5};
900
- border-radius: ${/*#__PURE__*/rem('6px')};
901
- 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 fill='hsl(0, 0%, 85%)' d='M10.827 12.387l5.173 5.173 5.173-5.173c0.52-0.52 1.36-0.52 1.88 0v0c0.52 0.52 0.52 1.36 0 1.88l-6.12 6.12c-0.52 0.52-1.36 0.52-1.88 0l-6.12-6.12c-0.52-0.52-0.52-1.36 0-1.88v0c0.52-0.507 1.373-0.52 1.893 0z'></path></svg>");
845
+ border: ${field.borderWidth} solid
846
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
847
+ border-radius: ${field.borderRadius};
848
+ 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 fill='rgb(217,212,237)' d='M10.827 12.387l5.173 5.173 5.173-5.173c0.52-0.52 1.36-0.52 1.88 0v0c0.52 0.52 0.52 1.36 0 1.88l-6.12 6.12c-0.52 0.52-1.36 0.52-1.88 0l-6.12-6.12c-0.52-0.52-0.52-1.36 0-1.88v0c0.52-0.507 1.373-0.52 1.893 0z'></path></svg>");
902
849
  background-position: calc(100% - 15px) center;
903
850
  background-repeat: no-repeat;
904
851
  background-size: ${/*#__PURE__*/rem('30px')};
905
852
  background-color: transparent;
906
- height: ${/*#__PURE__*/rem('50px')};
853
+ height: ${field.height};
907
854
  padding: 0 ${/*#__PURE__*/rem('65px')} 0 ${/*#__PURE__*/rem('15px')};
908
- font-size: 1rem;
855
+ font-size: ${typography.defaultSize};
909
856
  appearance: none;
910
857
  cursor: pointer;
911
- transition-duration: 0.3s;
858
+ transition-duration: ${misc.transitionDuration};
912
859
 
913
860
  &:hover {
914
- border-color: ${purple500$2};
861
+ border-color: ${field.hoverBorderColor};
915
862
  }
916
863
 
917
864
  &:-moz-focusring {
918
865
  color: transparent;
919
- text-shadow: 0 0 0 ${normal$2};
866
+ text-shadow: 0 0 0 ${colors.black};
867
+ }
868
+
869
+ &:focus {
870
+ outline: none;
920
871
  }
921
872
 
922
873
  &:disabled {
923
- background-color: ${lightGrey$5};
924
- color: ${grey$5};
874
+ background-color: ${field.disabledBackgroundColor};
875
+ color: ${field.disabledColor};
925
876
  pointer-events: none;
926
877
  }
927
-
928
- ${props => props.minimal && css`
929
- border: 0;
930
- border-bottom: ${rem('1px')} solid
931
- ${props => props.error ? red$3 : grey$5};
932
- border-radius: 0;
933
- background-position: 100% center;
934
- height: ${rem('40px')};
935
- padding: 0 ${rem('35px')} 0 0;
936
-
937
- &:disabled {
938
- background-color: transparent;
939
- color: ${grey$5};
940
- }
941
- `}
942
878
  `;
943
879
 
944
- const {
945
- green: green$2,
946
- red: red$4
947
- } = colors;
948
880
  const ErrorStyle = /*#__PURE__*/_styled.span.withConfig({
949
881
  displayName: "styles__ErrorStyle",
950
882
  componentId: "sc-4e4ecc-0"
951
- })(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? green$2 : red$4, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/rem('5px'));
883
+ })(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/rem('5px'));
952
884
 
953
885
  const ErrorField = props => {
954
886
  const {
@@ -983,17 +915,11 @@ const Icon = props => {
983
915
  }));
984
916
  };
985
917
 
986
- const {
987
- grey: grey$6
988
- } = colors;
989
918
  const LabelStyle = /*#__PURE__*/_styled.label.withConfig({
990
919
  displayName: "styles__LabelStyle",
991
920
  componentId: "sc-pbv9we-0"
992
- })(["display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";text-transform:uppercase;svg{margin-left:", ";width:auto;height:", ";}"], typography.fontSizeXs, typography.semiBold, grey$6, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('16px'));
921
+ })(["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'));
993
922
 
994
- const {
995
- grey: grey$7
996
- } = colors;
997
923
  const Label = props => {
998
924
  const {
999
925
  value,
@@ -1006,16 +932,13 @@ const Label = props => {
1006
932
  style: style
1007
933
  }, value, currency === 'tkai' && /*#__PURE__*/React.createElement(Icon, {
1008
934
  icon: "tkai",
1009
- fill: grey$7
935
+ fill: colors.grey200
1010
936
  }), currency === 'vkai' && /*#__PURE__*/React.createElement(Icon, {
1011
937
  icon: "vkai",
1012
- fill: grey$7
938
+ fill: colors.grey200
1013
939
  }));
1014
940
  };
1015
941
 
1016
- const {
1017
- light: light$4
1018
- } = colors;
1019
942
  const rotation = keyframes`
1020
943
  from {
1021
944
  transform: rotate(0deg);
@@ -1027,14 +950,11 @@ const rotation = keyframes`
1027
950
  const Loading = /*#__PURE__*/_styled.div.withConfig({
1028
951
  displayName: "styles__Loading",
1029
952
  componentId: "sc-sxnx45-0"
1030
- })(["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 || light$4, props => props.size || rem('20px'), props => props.size || rem('20px'), rotation);
953
+ })(["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);
1031
954
 
1032
- const {
1033
- grey: grey$8
1034
- } = colors;
1035
955
  const Spinner = props => {
1036
956
  const {
1037
- fill = grey$8,
957
+ fill = colors.grey200,
1038
958
  size = '20px',
1039
959
  className = 'spinner',
1040
960
  style
@@ -1112,7 +1032,6 @@ const TagNumber = props => {
1112
1032
  const TextField = props => {
1113
1033
  const {
1114
1034
  type = 'text',
1115
- minimal = true,
1116
1035
  icon,
1117
1036
  name,
1118
1037
  value,
@@ -1130,7 +1049,6 @@ const TextField = props => {
1130
1049
  required = false
1131
1050
  } = props;
1132
1051
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TextFieldInputStyle, {
1133
- minimal: minimal,
1134
1052
  icon: icon,
1135
1053
  type: type,
1136
1054
  name: name,
@@ -1154,7 +1072,6 @@ const TextField = props => {
1154
1072
 
1155
1073
  const TextArea = props => {
1156
1074
  const {
1157
- minimal = true,
1158
1075
  className = 'text-area',
1159
1076
  style,
1160
1077
  height,
@@ -1174,7 +1091,6 @@ const TextArea = props => {
1174
1091
  return /*#__PURE__*/React.createElement(Wrapper$1, {
1175
1092
  className: "text-field"
1176
1093
  }, /*#__PURE__*/React.createElement(TextAreaStyle, {
1177
- minimal: minimal,
1178
1094
  className: className,
1179
1095
  style: style,
1180
1096
  height: height,
@@ -1189,9 +1105,7 @@ const TextArea = props => {
1189
1105
  error: error,
1190
1106
  required: required,
1191
1107
  "data-testid": dataTestId
1192
- }), charactersCount != undefined && /*#__PURE__*/React.createElement(Count, {
1193
- minimal: minimal
1194
- }, /*#__PURE__*/React.createElement("span", {
1108
+ }), charactersCount != undefined && /*#__PURE__*/React.createElement(Count, null, /*#__PURE__*/React.createElement("span", {
1195
1109
  className: charactersCount < 0 ? 'negative' : ''
1196
1110
  }, charactersCount)), error ? /*#__PURE__*/React.createElement(ErrorField, {
1197
1111
  error: error
@@ -1200,7 +1114,6 @@ const TextArea = props => {
1200
1114
 
1201
1115
  const Select = props => {
1202
1116
  const {
1203
- minimal = false,
1204
1117
  placeholder,
1205
1118
  options,
1206
1119
  defaultValue,
@@ -1216,7 +1129,6 @@ const Select = props => {
1216
1129
  value: value.value
1217
1130
  }, value.name));
1218
1131
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(SelectStyle, {
1219
- minimal: minimal,
1220
1132
  name: name,
1221
1133
  defaultValue: defaultValue,
1222
1134
  value: value,
@@ -1234,14 +1146,6 @@ const Select = props => {
1234
1146
  }) : null);
1235
1147
  };
1236
1148
 
1237
- const {
1238
- normal: normal$3,
1239
- light: light$5,
1240
- grey: grey$9,
1241
- lightGrey: lightGrey$6,
1242
- purple500: purple500$3,
1243
- lightPurple
1244
- } = colors;
1245
1149
  const SelectWrapper = _styled.div`
1246
1150
  .select {
1247
1151
  &-interactive {
@@ -1249,36 +1153,35 @@ const SelectWrapper = _styled.div`
1249
1153
  }
1250
1154
 
1251
1155
  &__control {
1252
- border-color: ${grey$9};
1253
- min-height: ${/*#__PURE__*/rem('50px')};
1254
- transition-duration: 0.3s;
1156
+ border-color: ${field.borderColor};
1157
+ border-radius: ${field.borderRadius};
1158
+ min-height: ${field.height};
1159
+ transition-duration: ${misc.transitionDuration};
1255
1160
 
1256
1161
  &:hover {
1257
- border-color: ${purple500$3};
1162
+ border-color: ${field.hoverBorderColor};
1258
1163
  }
1259
1164
 
1260
1165
  &--is-focused {
1261
- border-color: ${purple500$3};
1166
+ border-color: ${field.activeBorderColor};
1262
1167
  box-shadow: none;
1263
1168
  }
1264
1169
  }
1265
1170
 
1266
1171
  &__value-container {
1267
- display: flex;
1268
- align-items: center;
1269
1172
  padding: 0 ${/*#__PURE__*/rem('15px')};
1270
1173
  }
1271
1174
 
1272
1175
  &__placeholder {
1273
- color: ${grey$9};
1176
+ color: ${field.placeholderColor};
1274
1177
  }
1275
1178
 
1276
1179
  &__input {
1277
- color: ${normal$3};
1180
+ color: ${field.color};
1278
1181
  }
1279
1182
 
1280
1183
  &__single-value {
1281
- color: ${normal$3};
1184
+ color: ${field.color};
1282
1185
  }
1283
1186
 
1284
1187
  &__indicator {
@@ -1293,31 +1196,35 @@ const SelectWrapper = _styled.div`
1293
1196
  height: ${/*#__PURE__*/rem('22px')};
1294
1197
 
1295
1198
  path {
1296
- fill: hsl(0, 0%, 85%);
1199
+ fill: ${field.borderColor};
1297
1200
  }
1298
1201
  }
1299
1202
 
1300
1203
  &-separator {
1301
- background-color: ${grey$9};
1204
+ background-color: ${field.borderColor};
1302
1205
  }
1303
1206
  }
1304
1207
 
1305
1208
  &__option {
1306
- transition-duration: 0.3s;
1209
+ transition-duration: ${misc.transitionDuration};
1307
1210
 
1308
1211
  &:hover {
1309
- background-color: ${purple500$3};
1310
- color: ${light$5};
1212
+ background-color: ${field.hoverBorderColor};
1213
+ color: ${field.color};
1214
+
1215
+ svg {
1216
+ fill: ${field.color};
1217
+ }
1311
1218
  }
1312
1219
 
1313
1220
  &--is-focused {
1314
- background-color: ${purple500$3};
1315
- color: ${light$5};
1221
+ background-color: ${field.activeBorderColor};
1222
+ color: ${colors.white};
1316
1223
  }
1317
1224
 
1318
1225
  &--is-selected {
1319
- background-color: ${lightPurple};
1320
- color: ${normal$3};
1226
+ background-color: ${field.activeBorderColor} !important;
1227
+ color: ${colors.white} !important;
1321
1228
  }
1322
1229
  }
1323
1230
  }
@@ -1343,21 +1250,21 @@ const SelectWrapper = _styled.div`
1343
1250
  margin: 0 ${/*#__PURE__*/rem('5px')} 0 0;
1344
1251
  width: ${/*#__PURE__*/rem('20px')};
1345
1252
  height: auto;
1346
- transition-duration: 0.3s;
1253
+ transition-duration: ${misc.transitionDuration};
1347
1254
  }
1348
1255
  }
1349
1256
 
1350
1257
  .select__option--is-selected {
1351
1258
  svg {
1352
- fill: ${normal$3};
1353
- transition-duration: 0.3s;
1259
+ fill: ${colors.white} !important;
1260
+ transition-duration: ${misc.transitionDuration};
1354
1261
  }
1355
1262
  }
1356
1263
 
1357
1264
  .select__option--is-focused {
1358
1265
  svg {
1359
- fill: ${light$5};
1360
- transition-duration: 0.3s;
1266
+ fill: ${colors.white};
1267
+ transition-duration: ${misc.transitionDuration};
1361
1268
  }
1362
1269
  }
1363
1270
 
@@ -1366,15 +1273,25 @@ const SelectWrapper = _styled.div`
1366
1273
  }
1367
1274
  `;
1368
1275
  const SelectGroupLabel = _styled.span`
1369
- font-size: ${/*#__PURE__*/rem('12px')};
1370
- color: ${lightGrey$6};
1276
+ font-size: ${typography.fontSizeXs};
1277
+ color: ${field.placeholderColor};
1371
1278
 
1372
1279
  + .tag {
1373
- border-color: ${lightGrey$6};
1374
- background-color: ${lightGrey$6};
1375
- color: ${grey$9};
1280
+ border-color: ${field.borderColor};
1281
+ background-color: ${field.borderColor};
1282
+ color: ${field.activeBorderColor};
1376
1283
  }
1377
1284
  `;
1285
+ const SingleValue = _styled.div`
1286
+ grid-area: 1 / 1 / 2 / 3;
1287
+ margin-left: ${/*#__PURE__*/rem('2px')};
1288
+ margin-right: ${/*#__PURE__*/rem('2px')};
1289
+ max-width: 100%;
1290
+ text-overflow: ellipsis;
1291
+ white-space: nowrap;
1292
+ overflow: hidden;
1293
+ box-sizing: border-box;
1294
+ `;
1378
1295
 
1379
1296
  const {
1380
1297
  Option
@@ -1399,7 +1316,7 @@ const CustomSelectOption = (props, commonProps) => /*#__PURE__*/React.createElem
1399
1316
  src: props.data.customImage,
1400
1317
  alt: props.data.label
1401
1318
  }) : null, props.data.label);
1402
- const CustomSelectValue = props => /*#__PURE__*/React.createElement("div", null, props.data.icon ? /*#__PURE__*/React.createElement(Icon, {
1319
+ const CustomSelectValue = props => /*#__PURE__*/React.createElement(SingleValue, null, props.data.icon ? /*#__PURE__*/React.createElement(Icon, {
1403
1320
  icon: props.data.icon
1404
1321
  }) : props.data.customImage ? /*#__PURE__*/React.createElement("img", {
1405
1322
  src: props.data.customImage,
@@ -1446,25 +1363,37 @@ const SelectInteractive = ({
1446
1363
  }) : null);
1447
1364
  };
1448
1365
 
1449
- const {
1450
- normal: normal$4,
1451
- grey: grey$a,
1452
- lightGrey: lightGrey$7,
1453
- red: red$5,
1454
- lightRed
1455
- } = colors;
1456
1366
  const Wrapper$2 = _styled.div`
1457
- border-width: ${/*#__PURE__*/rem('1px')};
1367
+ border-width: ${field.borderWidth};
1458
1368
  border-style: solid;
1459
- border-color: ${props => props.error ? red$5 : grey$a};
1460
- border-radius: ${/*#__PURE__*/rem('6px')};
1369
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1370
+ border-radius: ${field.borderRadius};
1461
1371
  display: flex;
1372
+ transition-duration: ${misc.transitionDuration};
1462
1373
  overflow: hidden;
1463
1374
 
1375
+ &:hover {
1376
+ border-color: ${field.hoverBorderColor};
1377
+ }
1378
+
1379
+ &:has(input:focus) {
1380
+ border-color: ${field.activeBorderColor};
1381
+ }
1382
+
1383
+ &:has(input:disabled) {
1384
+ background-color: ${field.disabledBackgroundColor};
1385
+ color: ${field.disabledColor};
1386
+
1387
+ > div {
1388
+ background-color: ${field.disabledBackgroundColor};
1389
+ color: ${field.disabledColor};
1390
+ }
1391
+ }
1392
+
1464
1393
  input {
1465
1394
  flex: 1;
1466
1395
  border: 0;
1467
- color: ${props => props.error ? red$5 : normal$4};
1396
+ color: ${props => props.error ? field.errorBorderColor : field.color};
1468
1397
 
1469
1398
  &:disabled {
1470
1399
  margin: 0;
@@ -1477,12 +1406,12 @@ const Wrapper$2 = _styled.div`
1477
1406
  }
1478
1407
  `;
1479
1408
  const Appendix = _styled.div`
1480
- border-width: ${props => props.position === 'left' ? `0 ${rem('1px')} 0 0` : `0 0 0 ${rem('1px')}`};
1409
+ border-width: ${props => props.position === 'left' ? `0 ${field.borderWidth} 0 0` : `0 0 0 ${field.borderWidth}`};
1481
1410
  border-style: solid;
1482
- border-color: ${props => props.error ? red$5 : grey$a};
1483
- background-color: ${props => props.error ? lightRed : lightGrey$7};
1411
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1412
+ background-color: ${props => props.error ? field.errorBackgroundColor : field.borderColor};
1484
1413
  padding: 0 ${/*#__PURE__*/rem('15px')};
1485
- color: ${props => props.error ? red$5 : grey$a};
1414
+ color: ${props => props.error ? field.errorBorderColor : field.color};
1486
1415
  line-height: ${/*#__PURE__*/rem('48px')};
1487
1416
  vertical-align: center;
1488
1417
  overflow: hidden;
@@ -1516,7 +1445,6 @@ const TextFieldAppendix = props => {
1516
1445
  error: error,
1517
1446
  position: "left"
1518
1447
  }, /*#__PURE__*/React.createElement("span", null, prepend)), /*#__PURE__*/React.createElement(TextField, {
1519
- minimal: false,
1520
1448
  type: type,
1521
1449
  name: name,
1522
1450
  value: value,
@@ -1573,9 +1501,6 @@ const device = {
1573
1501
  mouse: '(min-width: 538px) and (min-height: 720px)'
1574
1502
  };
1575
1503
 
1576
- const {
1577
- light: light$6
1578
- } = colors;
1579
1504
  const Wrapper$3 = _styled.div`
1580
1505
  position: relative;
1581
1506
 
@@ -1623,7 +1548,7 @@ const Wrapper$3 = _styled.div`
1623
1548
  }
1624
1549
 
1625
1550
  .carousel .control-prev.control-arrow:before {
1626
- border-right: ${/*#__PURE__*/rem('8px')} solid #fff;
1551
+ border-right: ${/*#__PURE__*/rem('8px')} solid ${colors.white};
1627
1552
  }
1628
1553
 
1629
1554
  .carousel .control-next.control-arrow {
@@ -1631,7 +1556,7 @@ const Wrapper$3 = _styled.div`
1631
1556
  }
1632
1557
 
1633
1558
  .carousel .control-next.control-arrow:before {
1634
- border-left: ${/*#__PURE__*/rem('8px')} solid #fff;
1559
+ border-left: ${/*#__PURE__*/rem('8px')} solid ${colors.white};
1635
1560
  }
1636
1561
 
1637
1562
  .carousel-root {
@@ -1699,7 +1624,7 @@ const Wrapper$3 = _styled.div`
1699
1624
  margin-right: ${/*#__PURE__*/rem('6px')};
1700
1625
  white-space: nowrap;
1701
1626
  overflow: hidden;
1702
- border: ${/*#__PURE__*/rem('3px')} solid #fff;
1627
+ border: ${/*#__PURE__*/rem('3px')} solid ${colors.white};
1703
1628
  padding: ${/*#__PURE__*/rem('2px')};
1704
1629
  }
1705
1630
 
@@ -1725,7 +1650,7 @@ const Wrapper$3 = _styled.div`
1725
1650
 
1726
1651
  .carousel.carousel-slider .control-arrow {
1727
1652
  top: 0;
1728
- color: #fff;
1653
+ color: ${colors.white};
1729
1654
  font-size: ${/*#__PURE__*/rem('26px')};
1730
1655
  bottom: 0;
1731
1656
  margin-top: 0;
@@ -1814,7 +1739,7 @@ const Wrapper$3 = _styled.div`
1814
1739
  padding: ${/*#__PURE__*/rem('5px')};
1815
1740
  font-size: ${/*#__PURE__*/rem('10px')};
1816
1741
  text-shadow: ${/*#__PURE__*/rem('1px')} ${/*#__PURE__*/rem('1px')} ${/*#__PURE__*/rem('1px')} rgba(0, 0, 0, 0.9);
1817
- color: #fff;
1742
+ color: ${colors.white};
1818
1743
  }
1819
1744
 
1820
1745
  > div > div > button {
@@ -1828,7 +1753,7 @@ const Wrapper$3 = _styled.div`
1828
1753
  svg {
1829
1754
  width: ${/*#__PURE__*/rem('36px')};
1830
1755
  height: ${/*#__PURE__*/rem('36px')};
1831
- fill: ${light$6};
1756
+ fill: ${colors.white};
1832
1757
  }
1833
1758
 
1834
1759
  &.next {
@@ -1839,7 +1764,7 @@ const Wrapper$3 = _styled.div`
1839
1764
  opacity: 1;
1840
1765
 
1841
1766
  svg {
1842
- fill: ${light$6};
1767
+ fill: ${colors.white};
1843
1768
  }
1844
1769
  }
1845
1770
 
@@ -1864,7 +1789,7 @@ const Wrapper$3 = _styled.div`
1864
1789
  position: relative;
1865
1790
  display: inline-block;
1866
1791
  border-radius: 999px;
1867
- background-color: ${light$6};
1792
+ background-color: ${colors.white};
1868
1793
  width: ${/*#__PURE__*/rem('15px')};
1869
1794
  height: ${/*#__PURE__*/rem('15px')};
1870
1795
  opacity: 0.25;
@@ -1978,7 +1903,9 @@ const VideoPlayer = props => {
1978
1903
  controls = false,
1979
1904
  width = '100%',
1980
1905
  height = '100%',
1981
- onEnded
1906
+ onEnded,
1907
+ onReady,
1908
+ onError
1982
1909
  } = props;
1983
1910
  return /*#__PURE__*/React.createElement(Wrapper$4, null, /*#__PURE__*/React.createElement(ReactPlayer, {
1984
1911
  style: {
@@ -1992,39 +1919,38 @@ const VideoPlayer = props => {
1992
1919
  controls: controls,
1993
1920
  width: width,
1994
1921
  height: height,
1995
- onEnded: onEnded
1922
+ onEnded: onEnded,
1923
+ onReady: onReady,
1924
+ onError: onError
1996
1925
  }));
1997
1926
  };
1998
1927
 
1999
- const {
2000
- lightGrey: lightGrey$8,
2001
- green: green$3
2002
- } = colors;
2003
- const {
2004
- bold
2005
- } = typography;
2006
1928
  const Wrapper$5 = _styled.div`
2007
1929
  display: flex;
2008
1930
  align-items: center;
2009
1931
  `;
2010
1932
  const Bar = _styled.div`
2011
1933
  flex: 1;
1934
+ border: ${/*#__PURE__*/rem('1px')} solid ${colors.purple100};
2012
1935
  border-radius: 999px;
2013
- background-color: ${lightGrey$8};
1936
+ background-color: ${colors.grey50};
2014
1937
  height: ${/*#__PURE__*/rem('10px')};
2015
1938
  overflow: hidden;
2016
1939
  `;
2017
1940
  const Progress = _styled.div`
2018
1941
  border-radius: 999px;
2019
- background-color: ${green$3};
1942
+ background-color: ${colors.purple500};
2020
1943
  height: 100%;
2021
1944
  width: ${props => props.progress ? `${props.progress}%` : 0};
2022
1945
  transition-duration: 2s;
2023
1946
  `;
2024
1947
  const Value = _styled.div`
2025
1948
  margin-left: ${/*#__PURE__*/rem('5px')};
2026
- font-size: 0.75rem;
2027
- font-weight: ${bold};
1949
+ font-size: ${typography.fontSizeXs};
1950
+ font-weight: ${typography.regular};
1951
+ color: ${colors.purple400};
1952
+ letter-spacing: ${/*#__PURE__*/rem('1px')};
1953
+ text-transform: uppercase;
2028
1954
  `;
2029
1955
 
2030
1956
  const ProgressBar = props => {
@@ -2037,11 +1963,6 @@ const ProgressBar = props => {
2037
1963
  })), value && /*#__PURE__*/React.createElement(Value, null, value));
2038
1964
  };
2039
1965
 
2040
- const {
2041
- light: light$7,
2042
- green: green$4,
2043
- lightGrey: lightGrey$9
2044
- } = colors;
2045
1966
  const Switcher = _styled.fieldset`
2046
1967
  margin: 0;
2047
1968
  border: none;
@@ -2064,9 +1985,9 @@ const Switcher = _styled.fieldset`
2064
1985
  display: inline-block;
2065
1986
  vertical-align: middle;
2066
1987
  width: ${/*#__PURE__*/rem('40px')};
2067
- height: ${/*#__PURE__*/rem('24px')};
1988
+ height: ${/*#__PURE__*/rem('25px')};
2068
1989
  border-radius: 999px;
2069
- border: 2px solid ${light$7};
1990
+ border: ${field.borderWidth} solid ${field.borderColor};
2070
1991
  position: relative;
2071
1992
  opacity: ${props => props.disabled ? '0.5' : '1'};
2072
1993
 
@@ -2078,7 +1999,7 @@ const Switcher = _styled.fieldset`
2078
1999
 
2079
2000
  input[type='radio'] {
2080
2001
  display: inline-block;
2081
- margin: 0 ${/*#__PURE__*/rem('-2px')} 0 0;
2002
+ margin: 0 ${/*#__PURE__*/rem('-3px')} 0 0;
2082
2003
  width: 50%;
2083
2004
  height: 100%;
2084
2005
  opacity: 0;
@@ -2091,7 +2012,7 @@ const Switcher = _styled.fieldset`
2091
2012
  }
2092
2013
 
2093
2014
  &.switch-on:checked ~ .bg {
2094
- background-color: ${green$4};
2015
+ background-color: ${colors.green500};
2095
2016
  }
2096
2017
 
2097
2018
  &.switch-off:checked ~ .switcher {
@@ -2099,21 +2020,21 @@ const Switcher = _styled.fieldset`
2099
2020
  }
2100
2021
 
2101
2022
  &.switch-off:checked ~ .bg {
2102
- background-color: ${lightGrey$9};
2023
+ background-color: ${colors.grey100};
2103
2024
  }
2104
2025
  }
2105
2026
 
2106
2027
  .switcher {
2107
2028
  display: block;
2108
2029
  position: absolute;
2109
- top: ${/*#__PURE__*/rem('2px')};
2110
- left: ${/*#__PURE__*/rem('2px')};
2030
+ top: ${/*#__PURE__*/rem('3px')};
2031
+ left: ${/*#__PURE__*/rem('3px')};
2111
2032
  right: 100%;
2112
2033
  width: ${/*#__PURE__*/rem('16px')};
2113
2034
  height: ${/*#__PURE__*/rem('16px')};
2114
2035
  border-radius: 50%;
2115
- background-color: ${light$7};
2116
- transition: all 0.3s ease-out;
2036
+ background-color: ${colors.white};
2037
+ transition: all ${misc.transitionDuration} ease-out;
2117
2038
  z-index: 2;
2118
2039
  }
2119
2040
 
@@ -2126,8 +2047,8 @@ const Switcher = _styled.fieldset`
2126
2047
  z-index: 0;
2127
2048
  border-radius: 999px;
2128
2049
  background-color: transparent;
2129
- transition: all 0.3s ease-out;
2130
- background-color: ${lightGrey$9};
2050
+ transition: all ${misc.transitionDuration} ease-out;
2051
+ background-color: ${colors.grey200};
2131
2052
  }
2132
2053
  }
2133
2054
  }
@@ -2212,16 +2133,6 @@ const Toggle = ({
2212
2133
  }, labelRight)));
2213
2134
  };
2214
2135
 
2215
- const {
2216
- red: red$6,
2217
- grey: grey$b,
2218
- lightGrey: lightGrey$a,
2219
- darkGrey,
2220
- green: green$5,
2221
- darkGreen: darkGreen$2,
2222
- light: light$8,
2223
- normal: normal$5
2224
- } = colors;
2225
2136
  const Wrapper$6 = _styled.div`
2226
2137
  input {
2227
2138
  width: 0.1px;
@@ -2234,20 +2145,21 @@ const Wrapper$6 = _styled.div`
2234
2145
 
2235
2146
  label {
2236
2147
  margin-bottom: 0 !important;
2237
- border-width: ${props => props.minimal ? `0 0 ${rem('1px')} 0` : rem('1px')};
2148
+ border-width: ${field.borderWidth};
2238
2149
  border-style: solid;
2239
- border-color: ${props => props.error ? red$6 : grey$b};
2240
- border-radius: ${props => props.minimal ? 0 : rem('6px')};
2241
- background-color: ${props => props.disabled ? lightGrey$a : 'transparent'};
2150
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
2151
+ border-radius: ${field.borderRadius};
2152
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : 'transparent'};
2242
2153
  display: flex;
2243
2154
  justify-content: space-between;
2244
2155
  align-items: center;
2245
2156
  width: 100%;
2246
- height: ${/*#__PURE__*/rem('50px')};
2157
+ height: ${field.height};
2247
2158
  -webkit-appearance: none;
2248
2159
  outline: none;
2249
2160
  cursor: ${props => props.disabled ? 'default' : 'pointer'};
2250
2161
  pointer-events: ${props => props.disabled ? 'none' : ''};
2162
+ transition-duration: ${misc.transitionDuration};
2251
2163
  overflow: hidden;
2252
2164
 
2253
2165
  span {
@@ -2257,45 +2169,47 @@ const Wrapper$6 = _styled.div`
2257
2169
  &.file-name {
2258
2170
  flex: 1;
2259
2171
  display: block;
2260
- padding: ${props => props.minimal ? 0 : `0 ${rem('10px')}`};
2261
- color: ${props => props.disabled ? grey$b : normal$5};
2172
+ padding: ${`0 ${/*#__PURE__*/rem('10px')}`};
2173
+ color: ${props => props.disabled ? field.disabledColor : field.color};
2262
2174
  white-space: nowrap;
2263
2175
  overflow: hidden;
2264
2176
  text-overflow: ellipsis;
2265
2177
  }
2266
2178
 
2267
2179
  &.button {
2268
- border-left: ${props => props.minimal ? 0 : `${rem('1px')} solid ${grey$b}`};
2269
- background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$a : green$5};
2180
+ border-left: ${props => `${field.borderWidth} solid ${props.error ? field.errorBorderColor : field.borderColor}`};
2181
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.error ? field.errorBackgroundColor : field.borderColor};
2270
2182
  height: 100%;
2271
- padding: ${props => props.minimal ? `0 ${rem('5px')} 0 ${rem('20px')}` : `0 ${rem('20px')}`};
2272
- color: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
2273
- transition-duration: 0.3s;
2183
+ padding: ${`0 ${/*#__PURE__*/rem('20px')}`};
2184
+ color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
2185
+ transition-duration: ${misc.transitionDuration};
2274
2186
 
2275
2187
  svg {
2276
2188
  margin-right: ${/*#__PURE__*/rem('8px')};
2277
2189
  width: auto;
2278
2190
  height: ${/*#__PURE__*/rem('24px')};
2279
- fill: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
2280
- transition-duration: 0.3s;
2191
+ fill: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
2192
+ transition-duration: ${misc.transitionDuration};
2281
2193
  }
2282
2194
 
2283
2195
  &:hover {
2284
- background-color: ${props => props.minimal ? 'transparent' : darkGreen$2};
2285
- color: ${props => props.minimal ? darkGreen$2 : light$8};
2286
-
2287
- svg {
2288
- fill: ${props => props.disabled ? grey$b : props.minimal ? darkGreen$2 : light$8};
2289
- }
2196
+ background-color: ${field.hoverBorderColor};
2290
2197
  }
2291
2198
  }
2292
2199
  }
2200
+
2201
+ &:hover {
2202
+ border-color: ${field.hoverBorderColor};
2203
+
2204
+ span.button {
2205
+ background-color: ${field.hoverBorderColor};
2206
+ }
2207
+ }
2293
2208
  }
2294
2209
  `;
2295
2210
 
2296
2211
  const FilePicker = props => {
2297
2212
  const {
2298
- minimal = false,
2299
2213
  name,
2300
2214
  accept,
2301
2215
  multiple = false,
@@ -2318,7 +2232,6 @@ const FilePicker = props => {
2318
2232
  };
2319
2233
  return /*#__PURE__*/React.createElement(Wrapper$6, {
2320
2234
  disabled: disabled,
2321
- minimal: minimal,
2322
2235
  error: !!error
2323
2236
  }, /*#__PURE__*/React.createElement("input", {
2324
2237
  id: name,
@@ -2344,12 +2257,6 @@ const FilePicker = props => {
2344
2257
  }));
2345
2258
  };
2346
2259
 
2347
- const {
2348
- normal: normal$6,
2349
- light: light$9,
2350
- lightGrey: lightGrey$b,
2351
- red: red$7
2352
- } = colors;
2353
2260
  const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
2354
2261
  displayName: "styles__ActionsMenuStyle",
2355
2262
  componentId: "sc-1peafop-0"
@@ -2357,11 +2264,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
2357
2264
  const List = /*#__PURE__*/_styled.ul.withConfig({
2358
2265
  displayName: "styles__List",
2359
2266
  componentId: "sc-1peafop-1"
2360
- })(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";z-index:1;", " 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 ", " ", ";}&.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;}}}"], /*#__PURE__*/rem('1px'), lightGrey$b, /*#__PURE__*/rem('4px'), light$9, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('200px'), /*#__PURE__*/rem('250px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$6), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$6), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$6), props => props.rowIndex != undefined && css`
2267
+ })(["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`
2361
2268
  --margin: ${`calc(${rem('45px')} + ${rem('50px')} * ${props.rowIndex} + ${rem('42px')})`};
2362
2269
  top: var(--margin);
2363
2270
  right: ${rem('5px')};
2364
- `, /*#__PURE__*/rem('45px'), lightGrey$b, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('1px'), lightGrey$b, red$7, lightGrey$b, /*#__PURE__*/rem('20px'), normal$6);
2271
+ `, /*#__PURE__*/rem('45px'), field.hoverBorderColor, field.borderWidth, field.borderColor, field.errorBorderColor, field.disabledColor, /*#__PURE__*/rem('20px'), field.color);
2365
2272
 
2366
2273
  const ActionMenuList = props => {
2367
2274
  const {
@@ -2432,18 +2339,10 @@ const ActionsMenu = props => {
2432
2339
  }) : null);
2433
2340
  };
2434
2341
 
2435
- const {
2436
- light: light$a,
2437
- grey: grey$c
2438
- } = colors;
2439
2342
  const CardValueStyle = /*#__PURE__*/_styled.div.withConfig({
2440
2343
  displayName: "styles__CardValueStyle",
2441
2344
  componentId: "sc-1ki7jdk-0"
2442
- })(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;@media ", "{padding:", ";}> span{display:block;margin-top:", ";font-size:2rem;font-weight:var(--bold,700);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"], /*#__PURE__*/rem('1px'), grey$c, /*#__PURE__*/rem('6px'), light$a, /*#__PURE__*/rem('15px'), device.l, /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('5px'));
2443
- const CardValueButtonWrapper = /*#__PURE__*/_styled.div.withConfig({
2444
- displayName: "styles__CardValueButtonWrapper",
2445
- componentId: "sc-1ki7jdk-1"
2446
- })(["right:0;margin-top:", ";display:flex;flex-direction:column-reverse;flex-grow:2;align-self:flex-end;"], /*#__PURE__*/rem('20px'));
2345
+ })(["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'));
2447
2346
 
2448
2347
  const CardValue = props => {
2449
2348
  const {
@@ -2462,20 +2361,14 @@ const CardValue = props => {
2462
2361
  }, /*#__PURE__*/React.createElement(Label, {
2463
2362
  value: label,
2464
2363
  currency: currency
2465
- }), /*#__PURE__*/React.createElement("span", null, value), description && /*#__PURE__*/React.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React.createElement(CardValueButtonWrapper, null, /*#__PURE__*/React.createElement(Button, {
2466
- color: "grey",
2364
+ }), /*#__PURE__*/React.createElement("span", null, value), description && /*#__PURE__*/React.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React.createElement(Button, {
2365
+ color: "grey150",
2366
+ txtColor: "grey500",
2467
2367
  value: buttonValue,
2468
2368
  action: onClick
2469
- })));
2369
+ }));
2470
2370
  };
2471
2371
 
2472
- const {
2473
- grey: grey$d,
2474
- light: light$b
2475
- } = colors;
2476
- const {
2477
- bold: bold$1
2478
- } = typography;
2479
2372
  const EmptyTableWrapper = /*#__PURE__*/_styled.div.withConfig({
2480
2373
  displayName: "styles__EmptyTableWrapper",
2481
2374
  componentId: "sc-1dgsb9l-0"
@@ -2483,23 +2376,23 @@ const EmptyTableWrapper = /*#__PURE__*/_styled.div.withConfig({
2483
2376
  const EmptyTableHead = /*#__PURE__*/_styled.div.withConfig({
2484
2377
  displayName: "styles__EmptyTableHead",
2485
2378
  componentId: "sc-1dgsb9l-1"
2486
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;&: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 ? rem('1px') : `0 0 ${rem('1px')} 0`, grey$d, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), bold$1, grey$d, /*#__PURE__*/rem('15px'), bold$1, grey$d, device.s, device.m, device.l);
2379
+ })(["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);
2487
2380
  const EmptyTableBody = /*#__PURE__*/_styled.div.withConfig({
2488
2381
  displayName: "styles__EmptyTableBody",
2489
2382
  componentId: "sc-1dgsb9l-2"
2490
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${rem('1px')} ${rem('1px')} ${rem('1px')}` : 0, grey$d, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'));
2383
+ })(["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);
2491
2384
  const EmptyTableRow = /*#__PURE__*/_styled.div.withConfig({
2492
2385
  displayName: "styles__EmptyTableRow",
2493
2386
  componentId: "sc-1dgsb9l-3"
2494
- })(["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'), /*#__PURE__*/rem('1px'), grey$d, /*#__PURE__*/rem('15px'), device.s, device.m, device.l);
2387
+ })(["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);
2495
2388
  const EmptyTableCellText = /*#__PURE__*/_styled.div.withConfig({
2496
2389
  displayName: "styles__EmptyTableCellText",
2497
2390
  componentId: "sc-1dgsb9l-4"
2498
- })(["background-color:#edeef1;width:100%;height:", ";"], /*#__PURE__*/rem('15px'));
2391
+ })(["background-color:", ";width:100%;height:", ";"], colors.grey200, /*#__PURE__*/rem('15px'));
2499
2392
  const EmptyTableOverlay = /*#__PURE__*/_styled.div.withConfig({
2500
2393
  displayName: "styles__EmptyTableOverlay",
2501
2394
  componentId: "sc-1dgsb9l-5"
2502
- })(["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(light$b, 0), /*#__PURE__*/rgba(light$b, 1), /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), grey$d);
2395
+ })(["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);
2503
2396
 
2504
2397
  const EmptyTable = props => {
2505
2398
  let rows = [];
@@ -2555,53 +2448,42 @@ const ModalFooter = props => {
2555
2448
  }), children);
2556
2449
  };
2557
2450
 
2558
- const {
2559
- green: green$6,
2560
- lightGreen,
2561
- darkGreen: darkGreen$3,
2562
- grey: grey$e,
2563
- lightGrey: lightGrey$c,
2564
- darkGrey: darkGrey$1,
2565
- red: red$8,
2566
- lightRed: lightRed$1,
2567
- darkRed: darkRed$1
2568
- } = colors;
2569
2451
  const Wrapper$7 = /*#__PURE__*/_styled.div.withConfig({
2570
2452
  displayName: "styles__Wrapper",
2571
2453
  componentId: "sc-d2fn4g-0"
2572
- })(["--default:", ";--light:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--default);border-radius:", ";background-color:var(--light);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], grey$e, lightGrey$c, darkGrey$1, props => props.color === 'grey' && css`
2573
- --default: ${grey$e};
2574
- --light: ${lightGrey$c};
2575
- --dark: ${darkGrey$1};
2454
+ })(["--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`
2455
+ --borderColor: ${field.borderColor};
2456
+ --backgroundColor: ${colors.purple50};
2457
+ --dark: ${colors.purple400};
2576
2458
  `, props => props.color === 'green' && css`
2577
- --default: ${green$6};
2578
- --light: ${lightGreen};
2579
- --dark: ${darkGreen$3};
2459
+ --borderColor: ${field.successBorderColor};
2460
+ --backgroundColor: ${field.successBackgroundColor};
2461
+ --dark: ${colors.green900};
2580
2462
  `, props => props.color === 'red' && css`
2581
- --default: ${red$8};
2582
- --light: ${lightRed$1};
2583
- --dark: ${darkRed$1};
2584
- `, /*#__PURE__*/rem('2px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), props => props.buttonValue && css`
2463
+ --borderColor: ${field.errorBorderColor};
2464
+ --backgroundColor: ${field.errorBackgroundColor};
2465
+ --dark: ${colors.red800};
2466
+ `, field.borderWidth, field.borderRadius, /*#__PURE__*/rem('15px'), props => props.buttonValue && css`
2585
2467
  button {
2586
2468
  margin: ${rem('30px')} 0 0 0;
2587
2469
  border: 0;
2588
- border-radius: ${rem('6px')};
2589
- background-color: var(--default);
2470
+ border-radius: ${field.borderRadius};
2471
+ background-color: var(--borderColor);
2590
2472
  height: ${rem('36px')};
2591
2473
  display: flex;
2592
2474
  justify-content: center;
2593
2475
  align-items: center;
2594
2476
  padding: ${rem('20px')};
2595
- font-size: 0.75rem;
2596
- font-weight: bold;
2597
- text-transform: uppercase;
2598
- color: hsl(0, 0%, 100%);
2477
+ font-size: ${typography.fontSizeSm};
2478
+ font-weight: ${typography.medium};
2479
+ color: var(--dark);
2599
2480
  white-space: nowrap;
2600
- transition-duration: 0.3s;
2481
+ transition-duration: ${misc.transitionDuration};
2601
2482
  cursor: pointer;
2602
2483
 
2603
2484
  &:hover {
2604
2485
  background-color: var(--dark);
2486
+ color: ${colors.white};
2605
2487
  }
2606
2488
  }
2607
2489
 
@@ -2638,15 +2520,6 @@ function hasValue(value) {
2638
2520
  return value !== undefined && value !== null;
2639
2521
  }
2640
2522
 
2641
- const {
2642
- normal: normal$7,
2643
- light: light$c,
2644
- grey: grey$f,
2645
- lightGrey: lightGrey$d
2646
- } = colors;
2647
- const {
2648
- bold: bold$2
2649
- } = typography;
2650
2523
  const TableWrapper = /*#__PURE__*/_styled.div.withConfig({
2651
2524
  displayName: "styles__TableWrapper",
2652
2525
  componentId: "sc-vmoy3z-0"
@@ -2654,11 +2527,11 @@ const TableWrapper = /*#__PURE__*/_styled.div.withConfig({
2654
2527
  const OverflowWrapper = /*#__PURE__*/_styled.div.withConfig({
2655
2528
  displayName: "styles__OverflowWrapper",
2656
2529
  componentId: "sc-vmoy3z-1"
2657
- })(["@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:#fff;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, /*#__PURE__*/rem('6px'), light$c, light$c, /*#__PURE__*/rem('40px'), /*#__PURE__*/rem('40px'), /*#__PURE__*/rem('14px'), /*#__PURE__*/rem('14px'));
2530
+ })(["@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'));
2658
2531
  const Table = /*#__PURE__*/_styled.table.withConfig({
2659
2532
  displayName: "styles__Table",
2660
2533
  componentId: "sc-vmoy3z-2"
2661
- })(["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: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-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&: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:0.3s;}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;}}}}}"], grey$f, /*#__PURE__*/rem('6px'), device.s, props => props.border ? rem('1px') : '0', /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$f, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$2, grey$f, props => props.loadingState ? 'transparent' : lightGrey$d, device.s, /*#__PURE__*/rem('1px'), grey$f, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), normal$7, grey$f, /*#__PURE__*/rem('15px'), bold$2, props => props.loadingState && css`
2534
+ })(["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`
2662
2535
  width: ${rem('75px')};
2663
2536
  height: ${rem('15px')};
2664
2537
  background: #f6f7f8;
@@ -2676,7 +2549,7 @@ const Table = /*#__PURE__*/_styled.table.withConfig({
2676
2549
  animation-timing-function: linear;
2677
2550
  animation-iteration-count: infinite;
2678
2551
  animation-duration: 1.5s;
2679
- `, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('34px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('1px'), grey$f, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
2552
+ `, /*#__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'));
2680
2553
  const SkeletonCell = /*#__PURE__*/_styled.div.withConfig({
2681
2554
  displayName: "styles__SkeletonCell",
2682
2555
  componentId: "sc-vmoy3z-3"
@@ -2773,7 +2646,7 @@ const Table$1 = props => {
2773
2646
  ref: ref
2774
2647
  }, /*#__PURE__*/React.createElement(Button, {
2775
2648
  variant: "text",
2776
- color: "grey",
2649
+ color: "grey500",
2777
2650
  icon: "menuVert",
2778
2651
  action: evt => {
2779
2652
  evt.preventDefault();
@@ -2793,26 +2666,15 @@ const Table$1 = props => {
2793
2666
  })));
2794
2667
  };
2795
2668
 
2796
- const {
2797
- normal: normal$8,
2798
- grey: grey$g,
2799
- lightGrey: lightGrey$e
2800
- } = colors;
2801
- const {
2802
- bold: bold$3
2803
- } = typography;
2804
2669
  const Table$2 = /*#__PURE__*/_styled.table.withConfig({
2805
2670
  displayName: "styles__Table",
2806
2671
  componentId: "sc-1p618q0-0"
2807
- })(["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-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&: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:0.3s;}}> 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:0.3s;}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 ? '1px' : '0', grey$g, /*#__PURE__*/rem('6px'), props => props.layout, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$g, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$3, grey$g, lightGrey$e, grey$g, device.s, /*#__PURE__*/rem('1px'), grey$g, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), grey$g, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), normal$8, grey$g, /*#__PURE__*/rem('15px'), bold$3, /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('1px'), grey$g, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
2672
+ })(["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'));
2808
2673
  const TableRow = /*#__PURE__*/_styled.tr.withConfig({
2809
2674
  displayName: "styles__TableRow",
2810
2675
  componentId: "sc-1p618q0-1"
2811
2676
  })(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
2812
2677
 
2813
- const {
2814
- light: light$d
2815
- } = colors;
2816
2678
  const TableDnD = props => {
2817
2679
  const {
2818
2680
  border = false,
@@ -2862,11 +2724,11 @@ const TableDnD = props => {
2862
2724
  };
2863
2725
  const getItemStyle = (isDragging, draggableStyle) => ({
2864
2726
  userSelect: 'none',
2865
- background: isDragging ? light$d : 'transparent',
2727
+ background: isDragging ? colors.white : 'transparent',
2866
2728
  ...draggableStyle
2867
2729
  });
2868
2730
  const getListStyle = isDraggingOver => ({
2869
- background: isDraggingOver ? light$d : 'transparent'
2731
+ background: isDraggingOver ? colors.white : 'transparent'
2870
2732
  });
2871
2733
  return (
2872
2734
  /*#__PURE__*/
@@ -2944,7 +2806,7 @@ const TableDnD = props => {
2944
2806
  ref: ref
2945
2807
  }, /*#__PURE__*/React.createElement(Button, {
2946
2808
  variant: "text",
2947
- color: "grey",
2809
+ color: "grey500",
2948
2810
  icon: "menuVert",
2949
2811
  action: evt => {
2950
2812
  evt.preventDefault();
@@ -2962,15 +2824,10 @@ const TableDnD = props => {
2962
2824
  );
2963
2825
  };
2964
2826
 
2965
- const {
2966
- normal: normal$9,
2967
- grey: grey$h,
2968
- red: red$9
2969
- } = colors;
2970
2827
  const Wrapper$8 = /*#__PURE__*/_styled.div.withConfig({
2971
2828
  displayName: "styles__Wrapper",
2972
2829
  componentId: "sc-mbja2a-0"
2973
- })(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/rem('5px'), props => props.error ? red$9 : grey$h, props => props.error ? red$9 : normal$9, /*#__PURE__*/rem('15px'));
2830
+ })(["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'));
2974
2831
 
2975
2832
  const FormGroup = props => {
2976
2833
  const {
@@ -2987,23 +2844,18 @@ const FormGroup = props => {
2987
2844
  }), children);
2988
2845
  };
2989
2846
 
2990
- const {
2991
- grey: grey$i,
2992
- lightGrey: lightGrey$f,
2993
- lightRed: lightRed$2
2994
- } = colors;
2995
2847
  const Wrapper$9 = /*#__PURE__*/_styled.div.withConfig({
2996
2848
  displayName: "styles__Wrapper",
2997
2849
  componentId: "sc-124afcu-0"
2998
- })(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{opacity:0.25;}&:hover{pointer-events:none;}}}"], /*#__PURE__*/rem('1px'), grey$i, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), lightGrey$f);
2850
+ })(["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);
2999
2851
  const Input = /*#__PURE__*/_styled.input.withConfig({
3000
2852
  displayName: "styles__Input",
3001
2853
  componentId: "sc-124afcu-1"
3002
- })(["border:0;width:", ";height:", ";padding:", ";font-family:inherit;font-size:1rem;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', /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('10px'), lightRed$2);
2854
+ })(["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);
3003
2855
  const Button$1 = /*#__PURE__*/_styled.button.withConfig({
3004
2856
  displayName: "styles__Button",
3005
2857
  componentId: "sc-124afcu-2"
3006
- })(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:0.3s;&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('50px'), lightGrey$f, /*#__PURE__*/rem('1px'), grey$i, /*#__PURE__*/rem('1px'), grey$i, /*#__PURE__*/rem('20px'), grey$i, lightGrey$f);
2858
+ })(["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);
3007
2859
 
3008
2860
  const NumberInputSpinner = props => {
3009
2861
  const {
@@ -3064,12 +2916,6 @@ const NumberInputSpinner = props => {
3064
2916
  })));
3065
2917
  };
3066
2918
 
3067
- const {
3068
- green: green$7,
3069
- grey: grey$j,
3070
- lightGrey: lightGrey$g,
3071
- light: light$e
3072
- } = colors;
3073
2919
  const Steps = /*#__PURE__*/_styled.ul.withConfig({
3074
2920
  displayName: "styles__Steps",
3075
2921
  componentId: "sc-1s2dhfy-0"
@@ -3077,7 +2923,7 @@ const Steps = /*#__PURE__*/_styled.ul.withConfig({
3077
2923
  const Step = /*#__PURE__*/_styled.li.withConfig({
3078
2924
  displayName: "styles__Step",
3079
2925
  componentId: "sc-1s2dhfy-1"
3080
- })(["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:0.75rem;color:", ";@media ", "{width:100%;font-size:1rem;font-weight:700;}}}"], /*#__PURE__*/rem('44px'), /*#__PURE__*/rem('18px'), props => props.active ? green$7 : lightGrey$g, /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('-15px'), /*#__PURE__*/rem('18px'), props => props.active ? green$7 : lightGrey$g, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), props => props.active ? green$7 : lightGrey$g, props => props.active ? light$e : grey$j, device.s);
2926
+ })(["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);
3081
2927
 
3082
2928
  const WizardSteps = props => {
3083
2929
  const {
@@ -3097,125 +2943,6 @@ const WizardSteps = props => {
3097
2943
  }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("span", null, step.value))))));
3098
2944
  };
3099
2945
 
3100
- const {
3101
- light: light$f,
3102
- green: green$8,
3103
- darkGreen: darkGreen$4,
3104
- red: red$a,
3105
- darkRed: darkRed$2,
3106
- orange,
3107
- darkOrange
3108
- } = colors;
3109
- const Wrapper$a = _styled.div`
3110
- --shadow: 0 0 ${/*#__PURE__*/rem('25px')} 0 rgba(40, 40, 40, 0.2);
3111
-
3112
- position: fixed;
3113
- top: ${/*#__PURE__*/rem('15px')};
3114
- right: 0;
3115
- border: ${/*#__PURE__*/rem('2px')} solid ${darkGreen$4};
3116
- border-radius: ${/*#__PURE__*/rem('6px')};
3117
- background-color: ${green$8};
3118
- width: ${/*#__PURE__*/rem('300px')};
3119
- max-height: min-content;
3120
- display: flex;
3121
- padding: ${/*#__PURE__*/rem('15px')};
3122
- color: ${light$f};
3123
- -moz-box-shadow: var(--shadow);
3124
- -webkit-box-shadow: var(--shadow);
3125
- box-shadow: var(--shadow);
3126
- z-index: 999;
3127
- opacity: 0;
3128
-
3129
- button {
3130
- background-color: transparent;
3131
-
3132
- svg {
3133
- fill: ${darkGreen$4};
3134
- }
3135
- }
3136
-
3137
- &.open {
3138
- animation-name: slide-in;
3139
- animation-duration: 0.5s;
3140
- animation-fill-mode: forwards;
3141
- }
3142
-
3143
- @keyframes slide-in {
3144
- 0% {
3145
- right: 0;
3146
- opacity: 0;
3147
- }
3148
- 100% {
3149
- right: ${/*#__PURE__*/rem('15px')};
3150
- opacity: 1;
3151
- }
3152
- }
3153
-
3154
- ${props => props.variant === 'orange' && css`
3155
- border: ${rem('2px')} solid ${darkOrange};
3156
- background-color: ${orange};
3157
-
3158
- button {
3159
- svg {
3160
- fill: ${darkOrange};
3161
- }
3162
- }
3163
- `}
3164
-
3165
- ${props => props.variant === 'red' && css`
3166
- border: ${rem('2px')} solid ${darkRed$2};
3167
- background-color: ${red$a};
3168
-
3169
- button {
3170
- svg {
3171
- fill: ${darkRed$2};
3172
- }
3173
- }
3174
- `}
3175
-
3176
- span {
3177
- flex: 1;
3178
- margin-right: ${/*#__PURE__*/rem('5px')};
3179
- font-size: 0.85rem;
3180
- }
3181
-
3182
- button {
3183
- position: absolute;
3184
- top: ${/*#__PURE__*/rem('4px')};
3185
- right: ${/*#__PURE__*/rem('4px')};
3186
- margin: 0 !important;
3187
- width: ${/*#__PURE__*/rem('20px')};
3188
- height: ${/*#__PURE__*/rem('20px')};
3189
- }
3190
- `;
3191
-
3192
- const AlertNotification = props => {
3193
- const {
3194
- className = 'alert-notification',
3195
- variant = 'success',
3196
- closeAction = () => {},
3197
- value,
3198
- children
3199
- } = props;
3200
- return /*#__PURE__*/React.createElement(Wrapper$a, {
3201
- className: className,
3202
- variant: variant
3203
- }, /*#__PURE__*/React.createElement("div", null, value ? /*#__PURE__*/React.createElement("span", null, value) : children), /*#__PURE__*/React.createElement(Button, {
3204
- variant: "text",
3205
- icon: "cross",
3206
- action: closeAction
3207
- }));
3208
- };
3209
-
3210
- const {
3211
- normal: normal$a,
3212
- light: light$g,
3213
- blue,
3214
- lightGrey: lightGrey$h
3215
- } = colors;
3216
- const {
3217
- bold: bold$4
3218
- } = typography;
3219
2946
  const PaginationWrapper = _styled.div`
3220
2947
  --size: ${/*#__PURE__*/rem('30px')};
3221
2948
 
@@ -3234,10 +2961,10 @@ const PaginationWrapper = _styled.div`
3234
2961
 
3235
2962
  &.previous,
3236
2963
  &.next {
3237
- transition-duration: 0.3s;
2964
+ transition-duration: ${misc.transitionDuration};
3238
2965
 
3239
2966
  a svg {
3240
- transition-duration: 0.3s;
2967
+ transition-duration: ${misc.transitionDuration};
3241
2968
  }
3242
2969
  }
3243
2970
 
@@ -3245,29 +2972,29 @@ const PaginationWrapper = _styled.div`
3245
2972
  .break {
3246
2973
  min-width: var(--size);
3247
2974
  height: var(--size);
3248
- transition-duration: 0.3s;
2975
+ transition-duration: ${misc.transitionDuration};
3249
2976
  }
3250
2977
 
3251
2978
  a {
3252
- border-radius: ${/*#__PURE__*/rem('8px')};
2979
+ border-radius: ${field.borderRadius};
3253
2980
  min-width: var(--size);
3254
2981
  height: var(--size);
3255
2982
  padding: 0 ${/*#__PURE__*/rem('5px')};
3256
2983
  display: flex;
3257
2984
  justify-content: center;
3258
2985
  align-items: center;
3259
- color: ${normal$a};
3260
- font-weight: ${bold$4};
2986
+ color: ${colors.black};
2987
+ font-weight: ${typography.semiBold};
3261
2988
  text-decoration: none;
3262
2989
 
3263
2990
  &:hover {
3264
- color: ${blue};
2991
+ color: ${colors.blue500};
3265
2992
  }
3266
2993
 
3267
2994
  svg {
3268
2995
  width: ${/*#__PURE__*/rem('18px')};
3269
2996
  height: auto;
3270
- fill: ${blue};
2997
+ fill: ${colors.blue500};
3271
2998
  }
3272
2999
  }
3273
3000
 
@@ -3275,18 +3002,18 @@ const PaginationWrapper = _styled.div`
3275
3002
  pointer-events: none;
3276
3003
 
3277
3004
  a {
3278
- background-color: ${blue};
3279
- color: ${light$g};
3005
+ background-color: ${colors.blue500};
3006
+ color: ${colors.white};
3280
3007
  }
3281
3008
  }
3282
3009
  }
3283
3010
 
3284
3011
  &.dark {
3285
3012
  a {
3286
- color: ${lightGrey$h};
3013
+ color: ${colors.white};
3287
3014
 
3288
3015
  &:hover {
3289
- color: ${light$g};
3016
+ color: ${colors.white};
3290
3017
  }
3291
3018
  }
3292
3019
  }
@@ -3342,14 +3069,7 @@ const PaginationControl = props => {
3342
3069
  }));
3343
3070
  };
3344
3071
 
3345
- const {
3346
- normal: normal$b,
3347
- green: green$9
3348
- } = colors;
3349
- const {
3350
- bold: bold$5
3351
- } = typography;
3352
- const Wrapper$b = _styled.div`
3072
+ const Wrapper$a = _styled.div`
3353
3073
  min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
3354
3074
  display: flex;
3355
3075
  flex-direction: column;
@@ -3365,16 +3085,16 @@ const Wrapper$b = _styled.div`
3365
3085
 
3366
3086
  > span {
3367
3087
  margin-top: ${/*#__PURE__*/rem('15px')};
3368
- font-weight: ${bold$5};
3369
- color: ${normal$b};
3088
+ font-weight: ${typography.semiBold};
3089
+ color: ${colors.black};
3370
3090
 
3371
3091
  a {
3372
- color: ${normal$b};
3373
- transition-duration: 0.3s;
3092
+ color: ${colors.black};
3093
+ transition-duration: ${misc.transitionDuration};
3094
+ }
3374
3095
 
3375
- &:hover {
3376
- color: ${green$9};
3377
- }
3096
+ &:hover {
3097
+ color: ${colors.purple500};
3378
3098
  }
3379
3099
  }
3380
3100
  `;
@@ -3384,7 +3104,7 @@ const Error = props => {
3384
3104
  variant = 'default',
3385
3105
  value
3386
3106
  } = props;
3387
- return /*#__PURE__*/React.createElement(Wrapper$b, {
3107
+ return /*#__PURE__*/React.createElement(Wrapper$a, {
3388
3108
  variant: variant
3389
3109
  }, variant === 'default' ? /*#__PURE__*/React.createElement(Icon, {
3390
3110
  icon: "warning",
@@ -3392,14 +3112,7 @@ const Error = props => {
3392
3112
  }) : /*#__PURE__*/React.createElement("span", null, "\u00AF\\\\_(\u30C4)_/\u00AF"), value && /*#__PURE__*/React.createElement("span", null, value));
3393
3113
  };
3394
3114
 
3395
- const {
3396
- normal: normal$c,
3397
- green: green$a
3398
- } = colors;
3399
- const {
3400
- bold: bold$6
3401
- } = typography;
3402
- const Wrapper$c = _styled.div`
3115
+ const Wrapper$b = _styled.div`
3403
3116
  min-height: 50vh;
3404
3117
  display: flex;
3405
3118
  flex-direction: column;
@@ -3415,15 +3128,15 @@ const Wrapper$c = _styled.div`
3415
3128
 
3416
3129
  > div {
3417
3130
  margin-top: ${/*#__PURE__*/rem('15px')};
3418
- font-weight: ${bold$6};
3419
- color: ${normal$c};
3131
+ font-weight: ${typography.semiBold};
3132
+ color: ${colors.black};
3420
3133
 
3421
3134
  a {
3422
- color: ${normal$c};
3423
- transition-duration: 0.3s;
3135
+ color: ${colors.black};
3136
+ transition-duration: ${misc.transitionDuration};
3424
3137
 
3425
3138
  &:hover {
3426
- color: ${green$a};
3139
+ color: ${colors.purple500};
3427
3140
  }
3428
3141
  }
3429
3142
  }
@@ -5381,20 +5094,12 @@ const DataWarning = props => {
5381
5094
  default:
5382
5095
  icon = /*#__PURE__*/React.createElement(IconLoginOnly, null);
5383
5096
  }
5384
- return /*#__PURE__*/React.createElement(Wrapper$c, {
5097
+ return /*#__PURE__*/React.createElement(Wrapper$b, {
5385
5098
  type: type
5386
5099
  }, icon, /*#__PURE__*/React.createElement("div", null, children));
5387
5100
  };
5388
5101
 
5389
- const {
5390
- normal: normal$d,
5391
- green: green$b,
5392
- darkGreen: darkGreen$5,
5393
- grey: grey$k,
5394
- lightGrey: lightGrey$i,
5395
- red: red$b
5396
- } = colors;
5397
- const Wrapper$d = _styled.ul`
5102
+ const Wrapper$c = _styled.ul`
5398
5103
  display: flex;
5399
5104
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5400
5105
  position: relative;
@@ -5415,11 +5120,11 @@ const Wrapper$d = _styled.ul`
5415
5120
  }
5416
5121
 
5417
5122
  input[type='radio']:checked ~ .check {
5418
- border-color: ${darkGreen$5};
5123
+ border-color: ${field.successBorderColor};
5419
5124
  }
5420
5125
 
5421
5126
  input[type='radio']:checked ~ .check::before {
5422
- background-color: ${green$b};
5127
+ background-color: ${field.successBackgroundColor};
5423
5128
  }
5424
5129
 
5425
5130
  & + span {
@@ -5442,7 +5147,7 @@ const Item = _styled.li`
5442
5147
  padding-left: calc(var(--size) + 5px);
5443
5148
  line-height: var(--size);
5444
5149
  vertical-align: middle;
5445
- color: ${props => props.error ? red$b : null};
5150
+ color: ${props => props.error ? field.errorBorderColor : null};
5446
5151
  cursor: pointer;
5447
5152
  z-index: 1;
5448
5153
  }
@@ -5450,11 +5155,12 @@ const Item = _styled.li`
5450
5155
  .check {
5451
5156
  position: absolute;
5452
5157
  top: 0;
5453
- border: ${/*#__PURE__*/rem('2px')} solid ${props => props.error ? red$b : grey$k};
5158
+ border: ${/*#__PURE__*/rem('2px')} solid
5159
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
5454
5160
  border-radius: 100%;
5455
5161
  width: var(--size);
5456
5162
  height: var(--size);
5457
- transition-duration: 0.3s;
5163
+ transition-duration: ${misc.transitionDuration};
5458
5164
  display: flex;
5459
5165
  justify-content: center;
5460
5166
  align-items: center;
@@ -5469,21 +5175,21 @@ const Item = _styled.li`
5469
5175
  }
5470
5176
 
5471
5177
  &:hover .check {
5472
- border-color: ${normal$d};
5178
+ border-color: ${field.hoverBorderColor};
5473
5179
  }
5474
5180
 
5475
5181
  ${props => props.disabled && css`
5476
5182
  label {
5477
- color: ${grey$k};
5183
+ color: ${field.disabledColor};
5478
5184
  }
5479
5185
 
5480
5186
  input[type='radio'] ~ .check,
5481
5187
  input[type='radio']:checked ~ .check {
5482
- border-color: ${lightGrey$i};
5188
+ border-color: ${field.disabledColor};
5483
5189
  }
5484
5190
 
5485
5191
  input[type='radio']:checked ~ .check::before {
5486
- background-color: ${lightGrey$i};
5192
+ background-color: ${field.disabledBackgroundColor};
5487
5193
  }
5488
5194
 
5489
5195
  &:hover {
@@ -5508,7 +5214,7 @@ const RadioGroup = props => {
5508
5214
  return /*#__PURE__*/React.createElement("div", {
5509
5215
  style: style,
5510
5216
  className: className
5511
- }, /*#__PURE__*/React.createElement(Wrapper$d, {
5217
+ }, /*#__PURE__*/React.createElement(Wrapper$c, {
5512
5218
  type: type,
5513
5219
  group: group,
5514
5220
  error: error,
@@ -5533,7 +5239,7 @@ const RadioGroup = props => {
5533
5239
  }) : null);
5534
5240
  };
5535
5241
 
5536
- const Wrapper$e = _styled.ul`
5242
+ const Wrapper$d = _styled.ul`
5537
5243
  display: flex;
5538
5244
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5539
5245
  position: relative;
@@ -5566,7 +5272,7 @@ const CheckboxGroup = props => {
5566
5272
  error,
5567
5273
  disabled
5568
5274
  } = props;
5569
- return /*#__PURE__*/React.createElement(Wrapper$e, {
5275
+ return /*#__PURE__*/React.createElement(Wrapper$d, {
5570
5276
  type: type,
5571
5277
  error: error
5572
5278
  }, children ? children : options && Array.isArray(options) ? options.map((value, index) => /*#__PURE__*/React.createElement("li", {
@@ -5583,32 +5289,23 @@ const CheckboxGroup = props => {
5583
5289
  }) : null);
5584
5290
  };
5585
5291
 
5586
- const Wrapper$f = _styled.div`
5292
+ const Wrapper$e = _styled.div`
5587
5293
  label {
5588
5294
  margin-bottom: ${/*#__PURE__*/rem('5px')};
5589
5295
  }
5590
5296
  `;
5591
- const {
5592
- grey: grey$l,
5593
- darkGrey: darkGrey$2,
5594
- light: light$h,
5595
- purple500: purple500$4
5596
- } = colors;
5597
5297
  const Field = _styled.div`
5598
5298
  display: flex;
5599
5299
  flex-wrap: wrap;
5600
5300
 
5601
5301
  input {
5602
5302
  flex: 1;
5603
- margin-right: 0;
5604
- border-radius: ${/*#__PURE__*/rem('6px')} 0 0 ${/*#__PURE__*/rem('6px')};
5303
+ margin-right: ${/*#__PURE__*/rem('-1px')};
5304
+ border-radius: ${field.borderRadius} 0 0 ${field.borderRadius};
5605
5305
 
5606
- &:focus {
5607
- outline: none;
5608
-
5609
- + button {
5610
- background-color: ${purple500$4};
5611
- }
5306
+ &:disabled {
5307
+ background-color: ${field.backgroundColor};
5308
+ color: ${field.color};
5612
5309
  }
5613
5310
  }
5614
5311
 
@@ -5619,38 +5316,27 @@ const Field = _styled.div`
5619
5316
 
5620
5317
  button {
5621
5318
  border: 0;
5622
- border-radius: 0 ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')} 0;
5623
- background-color: ${grey$l};
5319
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} 0;
5624
5320
  min-width: ${/*#__PURE__*/rem('50px')};
5625
- height: ${/*#__PURE__*/rem('50px')};
5321
+ height: ${field.height};
5626
5322
  display: flex;
5627
5323
  justify-content: center;
5628
5324
  align-items: center;
5629
5325
  padding: 0 ${/*#__PURE__*/rem('20px')};
5630
5326
  white-space: nowrap;
5631
- transition-duration: 0.3s;
5327
+ transition-duration: ${misc.transitionDuration};
5632
5328
  cursor: pointer;
5633
5329
 
5634
- svg {
5635
- width: auto;
5636
- min-width: ${/*#__PURE__*/rem('20px')};
5637
- height: ${/*#__PURE__*/rem('20px')};
5638
- fill: ${light$h};
5639
- transition: 0.3s;
5330
+ span {
5331
+ color: ${field.activeColor};
5640
5332
  }
5641
5333
 
5642
- &:hover {
5643
- background-color: ${darkGrey$2};
5334
+ svg {
5335
+ fill: ${field.activeColor};
5644
5336
  }
5645
5337
 
5646
5338
  &:disabled {
5647
- cursor: inherit;
5648
- opacity: 0.5;
5649
-
5650
- &:hover {
5651
- background-color: ${grey$l};
5652
- pointer-events: none;
5653
- }
5339
+ border: ${field.borderWidth} solid ${field.borderColor} !important;
5654
5340
  }
5655
5341
  }
5656
5342
  `;
@@ -5662,30 +5348,23 @@ const FieldWidthButton = props => {
5662
5348
  name,
5663
5349
  placeholder,
5664
5350
  value,
5665
- onChange,
5666
- disabled = false,
5667
- error = '',
5668
5351
  dataTestId,
5669
- required = false,
5670
5352
  buttonIcon,
5671
5353
  buttonValue,
5672
5354
  buttonAction,
5673
5355
  buttonDisabled
5674
5356
  } = props;
5675
- return /*#__PURE__*/React.createElement(Wrapper$f, null, label && /*#__PURE__*/React.createElement(Label, {
5357
+ return /*#__PURE__*/React.createElement(Wrapper$e, null, label && /*#__PURE__*/React.createElement(Label, {
5676
5358
  value: label
5677
5359
  }), /*#__PURE__*/React.createElement(Field, null, /*#__PURE__*/React.createElement(TextField, {
5678
- minimal: false,
5679
5360
  type: type,
5680
5361
  name: name,
5681
5362
  value: value,
5682
- onChange: onChange,
5683
5363
  placeholder: placeholder,
5684
- disabled: disabled,
5685
- error: error,
5686
5364
  dataTestId: dataTestId,
5687
- required: required
5365
+ disabled: true
5688
5366
  }), /*#__PURE__*/React.createElement(Button, {
5367
+ color: "purple100",
5689
5368
  icon: buttonIcon,
5690
5369
  value: buttonValue,
5691
5370
  action: buttonAction,
@@ -5693,24 +5372,14 @@ const FieldWidthButton = props => {
5693
5372
  })));
5694
5373
  };
5695
5374
 
5696
- const {
5697
- normal: normal$e,
5698
- purple500: purple500$5,
5699
- grey: grey$m,
5700
- lightGrey: lightGrey$j,
5701
- light: light$i
5702
- } = colors;
5703
- const {
5704
- bold: bold$7
5705
- } = typography;
5706
- const Wrapper$g = /*#__PURE__*/_styled.div.withConfig({
5375
+ const Wrapper$f = /*#__PURE__*/_styled.div.withConfig({
5707
5376
  displayName: "styles__Wrapper",
5708
5377
  componentId: "sc-znznmm-0"
5709
- })(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:0.3s;svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:0.3s;}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('10px'), normal$e, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), grey$m, props => props.customColor ? props.customColor : purple500$5, props => props.customColor ? props.customColor : purple500$5, bold$7, props => props.customColor ? props.customColor : purple500$5);
5378
+ })(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:", ";svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:", ";}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{color:", ";pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('10px'), colors.black, misc.transitionDuration, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), colors.grey200, misc.transitionDuration, props => props.customColor ? props.customColor : colors.purple500, props => props.customColor ? props.customColor : colors.purple500, typography.medium, props => props.customColor ? props.customColor : colors.purple500, props => props.customColor ? props.customColor : colors.purple500);
5710
5379
  const More = /*#__PURE__*/_styled.div.withConfig({
5711
5380
  displayName: "styles__More",
5712
5381
  componentId: "sc-znznmm-1"
5713
- })(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);-webkit-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], /*#__PURE__*/rem('1px'), lightGrey$j, /*#__PURE__*/rem('4px'), light$i, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), lightGrey$j, normal$e, normal$e, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('15px'));
5382
+ })(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:", ";-webkit-box-shadow:", ";box-shadow:", ";z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:", ";&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/rem('5px'), field.boxShadow, field.boxShadow, field.boxShadow, misc.transitionDuration, field.borderColor, colors.black, colors.black, field.borderRadius, field.borderRadius, field.borderRadius, field.borderRadius, /*#__PURE__*/rem('15px'));
5714
5383
 
5715
5384
  const HorizontalNav = props => {
5716
5385
  const [showMore, setShowMore] = useState(false);
@@ -5756,7 +5425,7 @@ const HorizontalNav = props => {
5756
5425
  }
5757
5426
  return;
5758
5427
  }, [ref]);
5759
- return /*#__PURE__*/React.createElement(Wrapper$g, {
5428
+ return /*#__PURE__*/React.createElement(Wrapper$f, {
5760
5429
  ref: ref,
5761
5430
  className: className,
5762
5431
  customColor: customColor
@@ -5778,16 +5447,10 @@ const HorizontalNav = props => {
5778
5447
  })));
5779
5448
  };
5780
5449
 
5781
- const {
5782
- light: light$j
5783
- } = colors;
5784
- const {
5785
- bold: bold$8
5786
- } = typography;
5787
5450
  const ModalOverlay = /*#__PURE__*/_styled.div.withConfig({
5788
5451
  displayName: "styles__ModalOverlay",
5789
5452
  componentId: "sc-16r6vcc-0"
5790
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/rgba(0, 0, 0, 0.8), props => props.zIndex ? props.zIndex : 10);
5453
+ })(["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);
5791
5454
  const ModalWrapper = /*#__PURE__*/_styled.div.withConfig({
5792
5455
  displayName: "styles__ModalWrapper",
5793
5456
  componentId: "sc-16r6vcc-1"
@@ -5795,11 +5458,11 @@ const ModalWrapper = /*#__PURE__*/_styled.div.withConfig({
5795
5458
  const ModalContainer = /*#__PURE__*/_styled.div.withConfig({
5796
5459
  displayName: "styles__ModalContainer",
5797
5460
  componentId: "sc-16r6vcc-2"
5798
- })(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:0.3s;@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);}}"], light$j, /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('860px'), /*#__PURE__*/rem('1px'));
5461
+ })(["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'));
5799
5462
  const ModalHeader = /*#__PURE__*/_styled.div.withConfig({
5800
5463
  displayName: "styles__ModalHeader",
5801
5464
  componentId: "sc-16r6vcc-3"
5802
- })(["display:flex;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;border:", " solid ", ";min-width:", ";height:", ";z-index:1;@media ", "{display:inherit;}}"], /*#__PURE__*/rem('30px'), bold$8, /*#__PURE__*/rem('-14px'), /*#__PURE__*/rem('-14px'), /*#__PURE__*/rem('2px'), colors.grey200, /*#__PURE__*/rem('28px'), /*#__PURE__*/rem('28px'), device.s);
5465
+ })(["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);
5803
5466
 
5804
5467
  const Modal = props => {
5805
5468
  const {
@@ -5850,12 +5513,6 @@ const Modal = props => {
5850
5513
  })))), document.body) : /*#__PURE__*/React.createElement(React.Fragment, null);
5851
5514
  };
5852
5515
 
5853
- const {
5854
- light: light$k
5855
- } = colors;
5856
- const {
5857
- bold: bold$9
5858
- } = typography;
5859
5516
  const slideInLeft = keyframes`
5860
5517
  from {
5861
5518
  transform: translateX(100%);
@@ -5868,7 +5525,7 @@ const slideInLeft = keyframes`
5868
5525
  const ModalOverlay$1 = /*#__PURE__*/_styled.div.withConfig({
5869
5526
  displayName: "styles__ModalOverlay",
5870
5527
  componentId: "sc-46huls-0"
5871
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/rgba(0, 0, 0, 0.8), props => props.zIndex ? props.zIndex : 10);
5528
+ })(["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);
5872
5529
  const ModalWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
5873
5530
  displayName: "styles__ModalWrapper",
5874
5531
  componentId: "sc-46huls-1"
@@ -5876,11 +5533,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
5876
5533
  const ModalContainer$1 = /*#__PURE__*/_styled.div.withConfig({
5877
5534
  displayName: "styles__ModalContainer",
5878
5535
  componentId: "sc-46huls-2"
5879
- })(["position:fixed;right:0;background:", ";width:100%;height:100vh;height:calc(var(--vh,1vh) * 100);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:", ";overflow-y:auto;@media ", "{max-width:", ";padding:", ";}"], light$k, /*#__PURE__*/rem('15px'), /*#__PURE__*/timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/rem('400px'), /*#__PURE__*/rem('30px'));
5536
+ })(["position:fixed;right:0;background:", ";width:100%;height:100vh;height:calc(var(--vh,1vh) * 100);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:", ";overflow-y:auto;@media ", "{max-width:", ";padding:", ";}"], colors.white, /*#__PURE__*/rem('15px'), /*#__PURE__*/timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/rem('400px'), /*#__PURE__*/rem('30px'));
5880
5537
  const ModalHeader$1 = /*#__PURE__*/_styled.div.withConfig({
5881
5538
  displayName: "styles__ModalHeader",
5882
5539
  componentId: "sc-46huls-3"
5883
- })(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/rem('30px'), bold$9);
5540
+ })(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('32px'), typography.semiBold);
5884
5541
  const ModalContent = /*#__PURE__*/_styled.div.withConfig({
5885
5542
  displayName: "styles__ModalContent",
5886
5543
  componentId: "sc-46huls-4"
@@ -5937,10 +5594,7 @@ const ModalDrawer = props => {
5937
5594
  }))))), document.body) : /*#__PURE__*/React.createElement(React.Fragment, null);
5938
5595
  };
5939
5596
 
5940
- const {
5941
- lightGrey: lightGrey$k
5942
- } = colors;
5943
- const Wrapper$h = _styled.div`
5597
+ const Wrapper$g = _styled.div`
5944
5598
  div {
5945
5599
  width: 100%;
5946
5600
  height: 100%;
@@ -6001,7 +5655,7 @@ const Wrapper$h = _styled.div`
6001
5655
 
6002
5656
  .card {
6003
5657
  position: relative;
6004
- border: ${/*#__PURE__*/rem('2px')} solid ${lightGrey$k};
5658
+ border: ${/*#__PURE__*/rem('2px')} solid ${colors.grey50};
6005
5659
  border-radius: ${/*#__PURE__*/rem('6px')};
6006
5660
  width: ${/*#__PURE__*/rem('300px')};
6007
5661
  overflow: hidden;
@@ -6016,7 +5670,7 @@ const Wrapper$h = _styled.div`
6016
5670
  margin: ${/*#__PURE__*/rem('-45px')} 0 0 ${/*#__PURE__*/rem('20px')};
6017
5671
  width: ${/*#__PURE__*/rem('90px')};
6018
5672
  height: ${/*#__PURE__*/rem('90px')};
6019
- border: ${/*#__PURE__*/rem('1px')} solid ${lightGrey$k};
5673
+ border: ${/*#__PURE__*/rem('1px')} solid ${colors.grey50};
6020
5674
  border-radius: 999px;
6021
5675
  }
6022
5676
 
@@ -6103,48 +5757,43 @@ const LoadingState = props => {
6103
5757
  className: "subtitle"
6104
5758
  }), paragraphs));
6105
5759
  }
6106
- return /*#__PURE__*/React.createElement(Wrapper$h, {
5760
+ return /*#__PURE__*/React.createElement(Wrapper$g, {
6107
5761
  type: type
6108
5762
  }, loadingType);
6109
5763
  };
6110
5764
 
6111
- const {
6112
- normal: normal$f,
6113
- grey: grey$n,
6114
- lightGrey: lightGrey$l,
6115
- light: light$l
6116
- } = colors;
6117
- const Wrapper$i = _styled.div`
5765
+ const Wrapper$h = _styled.div`
6118
5766
  .tab {
6119
- border-color: ${lightGrey$l};
5767
+ border-color: ${field.borderColor};
6120
5768
 
6121
5769
  &[aria-selected='true'] {
6122
5770
  border-bottom: 0;
6123
5771
  }
6124
5772
 
6125
5773
  &[aria-selected='false'] {
6126
- background-color: ${lightGrey$l};
6127
- color: ${grey$n};
6128
- transition-duration: 0.3s;
5774
+ background-color: ${field.borderColor};
5775
+ color: ${colors.black};
5776
+ transition-duration: ${misc.transitionDuration};
6129
5777
 
6130
5778
  &:hover {
6131
- color: ${normal$f};
5779
+ color: ${colors.black};
6132
5780
  }
6133
5781
  }
6134
5782
 
6135
5783
  &:first-child {
6136
- border-top-left-radius: ${/*#__PURE__*/rem('6px')};
5784
+ border-top-left-radius: ${field.borderRadius};
6137
5785
  }
6138
5786
 
6139
5787
  &:last-child {
6140
- border-top-right-radius: ${/*#__PURE__*/rem('6px')};
5788
+ border-top-right-radius: ${field.borderRadius};
6141
5789
  }
6142
5790
  }
6143
5791
 
6144
5792
  .panel {
6145
- border-radius: 0 ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')};
6146
- border-color: ${lightGrey$l};
6147
- background-color: ${light$l};
5793
+ // prettier-ignore
5794
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} ${field.borderRadius};
5795
+ border-color: ${field.borderColor};
5796
+ background-color: ${colors.white};
6148
5797
  padding: ${/*#__PURE__*/rem('30px')};
6149
5798
  }
6150
5799
 
@@ -6164,8 +5813,8 @@ const Wrapper$i = _styled.div`
6164
5813
  .RRT__tab {
6165
5814
  background: #eee;
6166
5815
  border-style: solid;
6167
- border-color: ${/*#__PURE__*/lighten(0.25, grey$n)};
6168
- border-width: ${/*#__PURE__*/rem('1px')} ${/*#__PURE__*/rem('1px')} ${/*#__PURE__*/rem('1px')} 0;
5816
+ border-color: ${field.borderColor};
5817
+ border-width: ${field.borderWidth} ${field.borderWidth} ${field.borderWidth} 0;
6169
5818
  cursor: pointer;
6170
5819
  z-index: 1;
6171
5820
  white-space: nowrap;
@@ -6174,24 +5823,24 @@ const Wrapper$i = _styled.div`
6174
5823
 
6175
5824
  .RRT__tab:focus {
6176
5825
  outline: 0;
6177
- background-color: ${/*#__PURE__*/lighten(0.25, grey$n)};
5826
+ background-color: ${field.borderColor};
6178
5827
  }
6179
5828
 
6180
5829
  .RRT__accordion .RRT__tab {
6181
- border-left-width: ${/*#__PURE__*/rem('1px')};
5830
+ border-left-width: ${field.borderWidth};
6182
5831
  }
6183
5832
 
6184
5833
  .RRT__tab--first {
6185
- border-left-width: ${/*#__PURE__*/rem('1px')};
5834
+ border-left-width: ${field.borderWidth};
6186
5835
  }
6187
5836
 
6188
5837
  .RRT__tab--selected {
6189
- background: ${light$l};
6190
- border-color: ${/*#__PURE__*/lighten(0.25, grey$n)} ${/*#__PURE__*/lighten(0.25, grey$n)} ${light$l};
5838
+ background: ${colors.white};
5839
+ border-color: ${field.borderColor} ${field.borderColor} ${colors.white};
6191
5840
  }
6192
5841
 
6193
5842
  .RRT__tab--selected:focus {
6194
- background-color: ${light$l};
5843
+ background-color: ${colors.white};
6195
5844
  }
6196
5845
 
6197
5846
  .RRT__tab--disabled {
@@ -6221,7 +5870,7 @@ const Wrapper$i = _styled.div`
6221
5870
  .RRT__panel {
6222
5871
  margin-top: ${/*#__PURE__*/rem('-1px')};
6223
5872
  padding: 1em;
6224
- border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$n)};
5873
+ border: ${/*#__PURE__*/rem('1px')} solid ${field.borderColor};
6225
5874
  }
6226
5875
 
6227
5876
  .RRT__panel--hidden {
@@ -6233,9 +5882,9 @@ const Wrapper$i = _styled.div`
6233
5882
  }
6234
5883
 
6235
5884
  .RRT__showmore {
6236
- background: ${lightGrey$l};
6237
- border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$n)};
6238
- border-radius: 0 ${/*#__PURE__*/rem('6px')} 0 0;
5885
+ background: ${field.borderColor};
5886
+ border: ${/*#__PURE__*/rem('1px')} solid ${field.borderColor};
5887
+ border-radius: 0 ${field.borderRadius} 0 0;
6239
5888
  cursor: pointer;
6240
5889
  z-index: 1;
6241
5890
  white-space: nowrap;
@@ -6244,7 +5893,7 @@ const Wrapper$i = _styled.div`
6244
5893
  }
6245
5894
 
6246
5895
  .RRT__showmore--selected {
6247
- background: ${light$l};
5896
+ background: ${colors.white};
6248
5897
  border-bottom: none;
6249
5898
  }
6250
5899
 
@@ -6255,7 +5904,7 @@ const Wrapper$i = _styled.div`
6255
5904
  }
6256
5905
 
6257
5906
  .RRT__showmore-label--selected {
6258
- background-color: ${/*#__PURE__*/lighten(0.25, grey$n)};
5907
+ background-color: ${field.borderColor};
6259
5908
  }
6260
5909
 
6261
5910
  .RRT__showmore-list {
@@ -6291,7 +5940,7 @@ const TabsPanel = props => {
6291
5940
  getContent: () => tab.renderer
6292
5941
  }));
6293
5942
  };
6294
- return /*#__PURE__*/React.createElement(Wrapper$i, null, /*#__PURE__*/React.createElement(Tabs, {
5943
+ return /*#__PURE__*/React.createElement(Wrapper$h, null, /*#__PURE__*/React.createElement(Tabs, {
6295
5944
  transform: false,
6296
5945
  unmountOnExit: unmountOnExit,
6297
5946
  selectedTabKey: selectedTabKey,
@@ -6301,7 +5950,7 @@ const TabsPanel = props => {
6301
5950
  }));
6302
5951
  };
6303
5952
 
6304
- const Wrapper$j = _styled.div`
5953
+ const Wrapper$i = _styled.div`
6305
5954
  display: flex;
6306
5955
  flex-direction: column;
6307
5956
  `;
@@ -6321,7 +5970,7 @@ const TabsPanel$1 = props => {
6321
5970
  className = 'grid-container',
6322
5971
  children
6323
5972
  } = props;
6324
- return /*#__PURE__*/React.createElement(Wrapper$j, {
5973
+ return /*#__PURE__*/React.createElement(Wrapper$i, {
6325
5974
  className: className
6326
5975
  }, children);
6327
5976
  };
@@ -6348,5 +5997,5 @@ const GridCol$1 = props => {
6348
5997
  }, children);
6349
5998
  };
6350
5999
 
6351
- export { ActionsMenu, AlertNotification, AvatarImage, Button, ButtonDropdown, ButtonLink, CardValue, Checkbox, CheckboxButton, CheckboxGroup, DataWarning, EmptyTable, Error, ErrorField, FieldWidthButton, FilePicker, FormGroup, GridCol$1 as GridCol, TabsPanel$1 as GridContainer, GridRow$1 as GridRow, HorizontalNav, Icon, Label, LoadingState, Modal, ModalDrawer, ModalFooter, NoteCard, NumberInputSpinner, PaginationControl, ProgressBar, RadioGroup, Select, SelectInteractive, Slideshow, Spinner, Table$1 as Table, TableDnD, TabsPanel, Tag, TagNumber, TextArea, TextField, TextFieldAppendix, Toggle, TruncateLine, VideoPlayer, WizardSteps };
6000
+ export { ActionsMenu, AvatarImage, Button, ButtonDropdown, ButtonLink, CardValue, Checkbox, CheckboxButton, CheckboxGroup, DataWarning, EmptyTable, Error, ErrorField, FieldWidthButton, FilePicker, FormGroup, GridCol$1 as GridCol, TabsPanel$1 as GridContainer, GridRow$1 as GridRow, HorizontalNav, Icon, Label, LoadingState, Modal, ModalDrawer, ModalFooter, NoteCard, NumberInputSpinner, PaginationControl, ProgressBar, RadioGroup, Select, SelectInteractive, Slideshow, Spinner, Table$1 as Table, TableDnD, TabsPanel, Tag, TagNumber, TextArea, TextField, TextFieldAppendix, Toggle, TruncateLine, VideoPlayer, WizardSteps };
6352
6001
  //# sourceMappingURL=rocket-kit.esm.js.map