@taikai/rocket-kit 3.0.0 → 3.0.1

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 +2 -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 +347 -703
  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 +349 -704
  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
@@ -22,10 +22,8 @@ var ReactDOM = _interopDefault(require('react-dom'));
22
22
  var Tabs = _interopDefault(require('react-responsive-tabs'));
23
23
 
24
24
  const colors = {
25
- // NEUTRALS
26
25
  black: '#000000',
27
26
  white: '#ffffff',
28
- // GREY
29
27
  grey50: '#F1F1F3',
30
28
  grey100: '#E3E3E8',
31
29
  grey150: '#D5D6DC',
@@ -39,7 +37,6 @@ const colors = {
39
37
  grey850: '#23232A',
40
38
  grey900: '#17171C',
41
39
  grey950: '#0C0C0E',
42
- // BLUE
43
40
  blue50: '#ECEDFC',
44
41
  blue100: '#D9DCFA',
45
42
  blue150: '#C6CAF7',
@@ -53,7 +50,6 @@ const colors = {
53
50
  blue850: '#141844',
54
51
  blue900: '#0D102E',
55
52
  blue950: '#070817',
56
- // PURPLE
57
53
  purple50: '#ECEAF6',
58
54
  purple100: '#D9D4ED',
59
55
  purple150: '#C7BFE4',
@@ -67,7 +63,6 @@ const colors = {
67
63
  purple850: '#140C32',
68
64
  purple900: '#0D0821',
69
65
  purple950: '#070411',
70
- // RED
71
66
  red50: '#FDEEEE',
72
67
  red100: '#FBDDDD',
73
68
  red150: '#F9CDCD',
@@ -81,7 +76,6 @@ const colors = {
81
76
  red850: '#471A1A',
82
77
  red900: '#2F1111',
83
78
  red950: '#180909',
84
- // ORACLE
85
79
  oracle50: '#F4F0FD',
86
80
  oracle100: '#EAE1FB',
87
81
  oracle150: '#DFD2FA',
@@ -95,7 +89,6 @@ const colors = {
95
89
  oracle850: '#2D2047',
96
90
  oracle900: '#1E152F',
97
91
  oracle950: '#0F0B18',
98
- // GREEN
99
92
  green50: '#EBFCF7',
100
93
  green100: '#D7F9EF',
101
94
  green150: '#C2F6E6',
@@ -109,7 +102,6 @@ const colors = {
109
102
  green850: '#104334',
110
103
  green900: '#0B2D23',
111
104
  green950: '#051611',
112
- // ORANGE
113
105
  orange50: '#FFF0EA',
114
106
  orange100: '#FFE1D5',
115
107
  orange150: '#FFD2C0',
@@ -123,7 +115,6 @@ const colors = {
123
115
  orange850: '#4D200D',
124
116
  orange900: '#331509',
125
117
  orange950: '#1A0B04',
126
- // YELLOW
127
118
  yellow50: '#FFFBEC',
128
119
  yellow100: '#FFF7DA',
129
120
  yellow150: '#FFF3C7',
@@ -137,7 +128,6 @@ const colors = {
137
128
  yellow850: '#4D4015',
138
129
  yellow900: '#332B0E',
139
130
  yellow950: '#1A1507',
140
- // PALE BLUE
141
131
  paleBlue50: '#F3F9FD',
142
132
  paleBlue100: '#E7F4FB',
143
133
  paleBlue150: '#DBEEF9',
@@ -151,7 +141,6 @@ const colors = {
151
141
  paleBlue850: '#293C47',
152
142
  paleBlue900: '#1B282F',
153
143
  paleBlue950: '#0E1418',
154
- // PALE ORANGE
155
144
  paleOrange50: '#FDF4EC',
156
145
  paleOrange100: '#FCE9D9',
157
146
  paleOrange150: '#FADEC6',
@@ -164,25 +153,7 @@ const colors = {
164
153
  paleOrange800: '#5F3A1A',
165
154
  paleOrange850: '#472C13',
166
155
  paleOrange900: '#301D0D',
167
- paleOrange950: '#180F06',
168
- // OLD
169
- normal: '#000000',
170
- light: '#ffffff',
171
- blue: '#4250e4',
172
- darkBlue: '#1825AD',
173
- orange: '#ff6a2c',
174
- darkOrange: /*#__PURE__*/polished.darken(0.2, '#ff6a2c'),
175
- red: '#ef5766',
176
- lightRed: /*#__PURE__*/polished.lighten(0.25, '#ef5766'),
177
- darkRed: /*#__PURE__*/polished.darken(0.19, '#ef5766'),
178
- lightPurple: /*#__PURE__*/polished.lighten(0.4, '#4329a6'),
179
- darkPurple: /*#__PURE__*/polished.darken(0.15, '#4329a6'),
180
- green: '#56cad7',
181
- lightGreen: /*#__PURE__*/polished.lighten(0.3, '#56cad7'),
182
- darkGreen: /*#__PURE__*/polished.darken(0.15, '#56cad7'),
183
- grey: '#939393',
184
- lightGrey: '#c4c7d3',
185
- darkGrey: /*#__PURE__*/polished.darken(0.1, '#939393')
156
+ paleOrange950: '#180F06'
186
157
  };
187
158
  const colorHues = [50, 100, 150, 200, 300, 400, 500, 600, 700, 800, 850, 900, 950];
188
159
  const typography = {
@@ -206,14 +177,30 @@ const button = {
206
177
  const misc = {
207
178
  transitionDuration: '0.3s'
208
179
  };
180
+ const field = {
181
+ borderWidth: /*#__PURE__*/polished.rem('1px'),
182
+ borderRadius: /*#__PURE__*/polished.rem('8px'),
183
+ borderColor: colors.purple100,
184
+ hoverBorderColor: colors.purple150,
185
+ backgroundColor: colors.white,
186
+ boxShadow: /*#__PURE__*/polished.rgba(colors.black, 0.15),
187
+ color: colors.black,
188
+ activeBorderColor: colors.purple500,
189
+ activeColor: colors.purple500,
190
+ successBackgroundColor: colors.green500,
191
+ successBorderColor: colors.green600,
192
+ errorBorderColor: colors.red500,
193
+ errorBackgroundColor: colors.red300,
194
+ disabledBackgroundColor: colors.grey100,
195
+ disabledColor: colors.grey300,
196
+ height: /*#__PURE__*/polished.rem('50px'),
197
+ placeholderColor: colors.grey200
198
+ };
209
199
 
210
- const {
211
- grey
212
- } = colors;
213
200
  const Wrapper = /*#__PURE__*/_styled__default.div.withConfig({
214
201
  displayName: "styles__Wrapper",
215
202
  componentId: "sc-1oawilb-0"
216
- })(["position:relative;border:", " solid ", ";border-radius:", ";width:", "px;height:", "px;overflow:hidden;z-index:0;> *{width:100%;height:100%;}img{object-fit:cover;}"], /*#__PURE__*/polished.rem('2px'), grey, props => props.square ? 0 : '999px', props => props.size, props => props.size);
203
+ })(["position:relative;border:", " solid ", ";border-radius:", ";width:", "px;height:", "px;overflow:hidden;z-index:0;> *{width:100%;height:100%;}img{object-fit:cover;}"], /*#__PURE__*/polished.rem('2px'), colors.grey200, props => props.square ? 0 : '999px', props => props.size, props => props.size);
217
204
 
218
205
  const AvatarImage = props => {
219
206
  const {
@@ -267,7 +254,7 @@ const useColor = value => {
267
254
  const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
268
255
  displayName: "styles__ButtonWrapper",
269
256
  componentId: "sc-baestp-0"
270
- })(["--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 => {
257
+ })(["--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 => {
271
258
  var _props$color;
272
259
  return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
273
260
  }, props => {
@@ -319,15 +306,10 @@ const Button = props => {
319
306
  }) : null, value && /*#__PURE__*/React__default.createElement("span", null, value));
320
307
  };
321
308
 
322
- const {
323
- normal,
324
- light,
325
- lightGrey
326
- } = colors;
327
309
  const ActionsMenuStyle = /*#__PURE__*/_styled__default.div.withConfig({
328
310
  displayName: "styles__ActionsMenuStyle",
329
311
  componentId: "sc-1j5ogfi-0"
330
- })(["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__*/polished.rem('1px'), lightGrey, /*#__PURE__*/polished.rem('4px'), light, /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal), /*#__PURE__*/polished.rem('45px'), props => props.visibleActions, /*#__PURE__*/polished.rem('1280px'), /*#__PURE__*/polished.rem('45px'), lightGrey, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('20px'), normal);
312
+ })(["position:relative;ul{position:absolute;opacity:0;top:0;margin:0;border:", " solid ", ";border-radius:", ";background-color:", ";min-width:", ";max-width:", ";height:0;max-height:none;padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";overflow-y:hidden;z-index:1;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;transition-duration:", ";&.isOpen{opacity:1;height:calc(", " * ", " + ", ");max-height:", ";}li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}}"], /*#__PURE__*/polished.rem('1px'), field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), field.boxShadow, /*#__PURE__*/polished.rem('15px'), field.boxShadow, /*#__PURE__*/polished.rem('15px'), field.boxShadow, misc.transitionDuration, /*#__PURE__*/polished.rem('45px'), props => props.visibleActions, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('1280px'), /*#__PURE__*/polished.rem('45px'), field.borderColor, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('20px'), field.color);
331
313
 
332
314
  function useVisible(initialIsVisible) {
333
315
  const [isVisible, setIsVisible] = React.useState(initialIsVisible);
@@ -482,20 +464,10 @@ const ButtonLink = props => {
482
464
  }), value && /*#__PURE__*/React__default.createElement("span", null, value));
483
465
  };
484
466
 
485
- const {
486
- normal: normal$1,
487
- light: light$1,
488
- green,
489
- darkGreen,
490
- red,
491
- darkRed,
492
- grey: grey$1,
493
- lightGrey: lightGrey$1
494
- } = colors;
495
467
  const CheckboxWrapper = /*#__PURE__*/_styled__default.label.withConfig({
496
468
  displayName: "styles__CheckboxWrapper",
497
469
  componentId: "sc-w5t014-0"
498
- })(["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);
470
+ })(["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);
499
471
  const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
500
472
  displayName: "styles__CheckboxLabel",
501
473
  componentId: "sc-w5t014-1"
@@ -503,11 +475,11 @@ const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
503
475
  const CheckboxInput = /*#__PURE__*/_styled__default.input.withConfig({
504
476
  displayName: "styles__CheckboxInput",
505
477
  componentId: "sc-w5t014-2"
506
- })(["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);
478
+ })(["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);
507
479
  const Checkmark = /*#__PURE__*/_styled__default.span.withConfig({
508
480
  displayName: "styles__Checkmark",
509
481
  componentId: "sc-w5t014-3"
510
- })(["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__*/polished.rem('2px'), props => props.error ? red : grey$1, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), light$1, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.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);
482
+ })(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:", ";&:after{display:block;content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}&.checked.not-disabled{background-color:", ";border-color:", ";&:after{display:block;}}&.checked.disabled{color:", ";border-color:transparent;background-color:", ";&:after{display:block;}}&.not-checked.disabled{border-color:", ";background-color:", ";}&.not-disabled:hover{border-color:", ";&:checked ~ span{border-color:", ";}}"], /*#__PURE__*/polished.rem('2px'), props => props.error ? field.errorBorderColor : field.borderColor, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), misc.transitionDuration, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), colors.white, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'), props => props.error ? field.errorBackgroundColor : field.successBackgroundColor, props => props.error ? field.errorBorderColor : field.successBorderColor, field.disabledColor, field.disabledBackgroundColor, field.disabledBackgroundColor, colors.white, props => props.error ? field.errorBorderColor : field.successBorderColor, props => props.error ? field.errorBorderColor : field.successBorderColor);
511
483
 
512
484
  const Checkbox = ({
513
485
  label,
@@ -562,17 +534,10 @@ const Checkbox = ({
562
534
  }));
563
535
  };
564
536
 
565
- const {
566
- light: light$2,
567
- green: green$1,
568
- darkGreen: darkGreen$1,
569
- grey: grey$2,
570
- lightGrey: lightGrey$2
571
- } = colors;
572
537
  const CheckboxWrapper$1 = /*#__PURE__*/_styled__default.label.withConfig({
573
538
  displayName: "styles__CheckboxWrapper",
574
539
  componentId: "sc-itly0z-0"
575
- })(["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__*/polished.rem('3px'), props => props.disabled ? grey$2 : props.checked ? darkGreen$1 : grey$2, /*#__PURE__*/polished.rem('6px'), props => props.disabled ? lightGrey$2 : props.checked ? green$1 : light$2, /*#__PURE__*/polished.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);
540
+ })(["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);
576
541
  const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
577
542
  displayName: "styles__CheckboxLabel",
578
543
  componentId: "sc-itly0z-1"
@@ -580,11 +545,11 @@ const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
580
545
  const CheckboxInput$1 = /*#__PURE__*/_styled__default.input.withConfig({
581
546
  displayName: "styles__CheckboxInput",
582
547
  componentId: "sc-itly0z-2"
583
- })(["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);
548
+ })(["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);
584
549
  const Checkmark$1 = /*#__PURE__*/_styled__default.span.withConfig({
585
550
  displayName: "styles__Checkmark",
586
551
  componentId: "sc-itly0z-3"
587
- })(["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__*/polished.rem('10px'), /*#__PURE__*/polished.rem('2px'), grey$2, light$2, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), props => props.disabled ? light$2 : green$1, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'));
552
+ })(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:", ";&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('2px'), field.borderColor, colors.white, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), misc.transitionDuration, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), props => props.disabled ? colors.white : field.successBorderColor, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'));
588
553
 
589
554
  const CheckboxButton = props => {
590
555
  const {
@@ -796,65 +761,53 @@ const icons = {
796
761
  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'
797
762
  };
798
763
 
799
- const {
800
- grey: grey$3,
801
- lightGrey: lightGrey$3,
802
- red: red$1,
803
- purple500
804
- } = colors;
805
764
  const TextFieldInputStyle = /*#__PURE__*/_styled__default.input.withConfig({
806
765
  displayName: "styles__TextFieldInputStyle",
807
766
  componentId: "sc-1hxcxbo-0"
808
- })(["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 ${polished.rem('1px')} 0` : polished.rem('1px'), props => props.error ? red$1 : grey$3, props => props.minimal ? 0 : '6px', props => props.minimal ? polished.rem('40px') : polished.rem('50px'), props => props.minimal ? 0 : polished.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 && _styled.css`
809
- 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>');
810
- padding-left: ${props.minimal ? '40px' : '50px'};
811
- background-repeat: no-repeat;
812
- background-size: ${polished.rem('30px')} ${polished.rem('30px')};
813
- background-position: ${props.minimal ? 0 : '10px'} 50%;
767
+ })(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";background-repeat:no-repeat;background-size:", " ", ";background-position:", " 50%;height:", ";padding:", ";font-family:inherit;font-size:", ";transition-property:border-color;transition-duration:", ";&:hover{border-color:", ";}&:focus{border-color:", ";outline:none;}&:disabled{border-color:", ";background-color:", ";color:", ";}&:invalid{border-color:", ";outline:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;}&:required{border-color:", ";}&::placeholder,&:-ms-input-placeholder,&::-ms-input-placeholder{color:", ";opacity:1;}", ""], field.borderWidth, props => props.error ? field.errorBorderColor : field.borderColor, field.borderRadius, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), field.height, /*#__PURE__*/polished.rem('10px'), typography.defaultSize, misc.transitionDuration, field.hoverBorderColor, field.activeBorderColor, field.borderColor, field.disabledBackgroundColor, field.disabledColor, field.errorBorderColor, props => props.error ? field.errorBorderColor : field.borderColor, field.placeholderColor, props => props.icon && _styled.css`
768
+ 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>');
769
+ padding-left: ${polished.rem('40px')};
814
770
 
815
771
  &:focus {
816
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32">
817
- <path style="fill:hsl(252, 60%, 41%)" d=${JSON.stringify(icons[props.icon])} /></svg>');
772
+ 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">
773
+ <path style="fill:rgb(67,41,166)" d=${JSON.stringify(icons[props.icon])} /></svg>');
818
774
  }
819
775
  `);
820
776
 
821
- const {
822
- light: light$3,
823
- grey: grey$4,
824
- lightGrey: lightGrey$4,
825
- red: red$2,
826
- purple500: purple500$1
827
- } = colors;
828
777
  const Wrapper$1 = _styled__default.div`
829
778
  position: relative;
830
779
  `;
831
780
  const TextAreaStyle = _styled__default.textarea`
832
- border-width: ${props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px')};
781
+ border-width: ${field.borderWidth};
833
782
  border-style: solid;
834
- border-color: ${props => props.error ? red$2 : grey$4};
835
- border-radius: ${props => props.minimal ? 0 : '6px'};
783
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
784
+ border-radius: ${field.borderRadius};
836
785
  width: 100%;
837
786
  height: ${props => props.height || polished.rem('100px')};
838
- min-height: rem('40px');
839
- padding: ${props => props.minimal ? 0 : polished.rem('10px')};
787
+ min-height: ${field.height};
788
+ padding: ${/*#__PURE__*/polished.rem('10px')};
840
789
  font-family: inherit;
841
- font-size: 1rem;
790
+ font-size: ${/*#__PURE__*/polished.rem('16px')};
842
791
  word-break: break-word;
843
- transition-duration: 0.3s;
792
+ transition-duration: ${misc.transitionDuration};
844
793
  resize: none;
845
794
 
795
+ &:hover {
796
+ border-color: ${field.hoverBorderColor};
797
+ }
798
+
846
799
  &:focus {
847
- border-color: ${purple500$1};
800
+ border-color: ${field.activeColor};
848
801
  outline: none;
849
802
  }
850
803
 
851
804
  &:disabled {
852
- background-color: ${lightGrey$4};
853
- color: ${grey$4};
805
+ background-color: ${field.disabledBackgroundColor};
806
+ color: ${field.disabledColor};
854
807
  }
855
808
 
856
809
  &:invalid {
857
- border-color: ${red$2};
810
+ border-color: ${field.errorBorderColor};
858
811
  outline: none;
859
812
  box-shadow: none;
860
813
  -webkit-box-shadow: none;
@@ -862,102 +815,81 @@ const TextAreaStyle = _styled__default.textarea`
862
815
  }
863
816
 
864
817
  &:required {
865
- border-color: ${props => props.error ? red$2 : grey$4};
818
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
866
819
  }
867
820
 
868
821
  &::placeholder {
869
- color: ${grey$4};
822
+ color: ${field.placeholderColor};
870
823
  opacity: 1;
871
824
  }
872
825
 
873
826
  &:-ms-input-placeholder {
874
- color: ${grey$4};
827
+ color: ${field.placeholderColor};
875
828
  opacity: 1;
876
829
  }
877
830
 
878
831
  &::-ms-input-placeholder {
879
- color: ${grey$4};
832
+ color: ${field.placeholderColor};
880
833
  opacity: 1;
881
834
  }
882
835
  `;
883
836
  const Count = _styled__default.div`
884
837
  position: absolute;
885
- top: ${props => props.minimal ? 0 : polished.rem('5px')};
886
- right: ${props => props.minimal ? 0 : polished.rem('10px')};
887
- background-color: ${/*#__PURE__*/polished.transparentize(0.15, light$3)};
838
+ top: ${/*#__PURE__*/polished.rem('5px')};
839
+ right: ${/*#__PURE__*/polished.rem('10px')};
840
+ background-color: ${/*#__PURE__*/polished.transparentize(0.15, colors.white)};
888
841
  padding: 0 ${/*#__PURE__*/polished.rem('5px')};
889
842
 
890
843
  span {
891
- font-size: 0.75rem;
892
- color: ${grey$4};
844
+ font-size: ${typography.fontSizeXs};
845
+ color: ${field.borderColor};
893
846
 
894
847
  &.negative {
895
- color: ${red$2};
848
+ color: ${field.errorBorderColor};
896
849
  }
897
850
  }
898
851
  `;
899
852
 
900
- const {
901
- normal: normal$2,
902
- grey: grey$5,
903
- lightGrey: lightGrey$5,
904
- red: red$3,
905
- purple500: purple500$2
906
- } = colors;
907
853
  const SelectStyle = _styled__default.select`
908
- border: ${/*#__PURE__*/polished.rem('1px')} solid ${props => props.error ? red$3 : grey$5};
909
- border-radius: ${/*#__PURE__*/polished.rem('6px')};
910
- 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>");
854
+ border: ${field.borderWidth} solid
855
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
856
+ border-radius: ${field.borderRadius};
857
+ 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>");
911
858
  background-position: calc(100% - 15px) center;
912
859
  background-repeat: no-repeat;
913
860
  background-size: ${/*#__PURE__*/polished.rem('30px')};
914
861
  background-color: transparent;
915
- height: ${/*#__PURE__*/polished.rem('50px')};
862
+ height: ${field.height};
916
863
  padding: 0 ${/*#__PURE__*/polished.rem('65px')} 0 ${/*#__PURE__*/polished.rem('15px')};
917
- font-size: 1rem;
864
+ font-size: ${typography.defaultSize};
918
865
  appearance: none;
919
866
  cursor: pointer;
920
- transition-duration: 0.3s;
867
+ transition-duration: ${misc.transitionDuration};
921
868
 
922
869
  &:hover {
923
- border-color: ${purple500$2};
870
+ border-color: ${field.hoverBorderColor};
924
871
  }
925
872
 
926
873
  &:-moz-focusring {
927
874
  color: transparent;
928
- text-shadow: 0 0 0 ${normal$2};
875
+ text-shadow: 0 0 0 ${colors.black};
876
+ }
877
+
878
+ &:focus {
879
+ outline: none;
929
880
  }
930
881
 
931
882
  &:disabled {
932
- background-color: ${lightGrey$5};
933
- color: ${grey$5};
883
+ background-color: ${field.disabledBackgroundColor};
884
+ color: ${field.disabledColor};
934
885
  pointer-events: none;
935
886
  }
936
-
937
- ${props => props.minimal && _styled.css`
938
- border: 0;
939
- border-bottom: ${polished.rem('1px')} solid
940
- ${props => props.error ? red$3 : grey$5};
941
- border-radius: 0;
942
- background-position: 100% center;
943
- height: ${polished.rem('40px')};
944
- padding: 0 ${polished.rem('35px')} 0 0;
945
-
946
- &:disabled {
947
- background-color: transparent;
948
- color: ${grey$5};
949
- }
950
- `}
951
887
  `;
952
888
 
953
- const {
954
- green: green$2,
955
- red: red$4
956
- } = colors;
957
889
  const ErrorStyle = /*#__PURE__*/_styled__default.span.withConfig({
958
890
  displayName: "styles__ErrorStyle",
959
891
  componentId: "sc-4e4ecc-0"
960
- })(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? green$2 : red$4, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/polished.rem('5px'));
892
+ })(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/polished.rem('5px'));
961
893
 
962
894
  const ErrorField = props => {
963
895
  const {
@@ -992,17 +924,11 @@ const Icon = props => {
992
924
  }));
993
925
  };
994
926
 
995
- const {
996
- grey: grey$6
997
- } = colors;
998
927
  const LabelStyle = /*#__PURE__*/_styled__default.label.withConfig({
999
928
  displayName: "styles__LabelStyle",
1000
929
  componentId: "sc-pbv9we-0"
1001
- })(["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__*/polished.rem('5px'), /*#__PURE__*/polished.rem('16px'));
930
+ })(["display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";svg{margin-left:", ";width:auto;height:", ";}"], typography.fontSizeXs, typography.semiBold, colors.grey200, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('16px'));
1002
931
 
1003
- const {
1004
- grey: grey$7
1005
- } = colors;
1006
932
  const Label = props => {
1007
933
  const {
1008
934
  value,
@@ -1015,16 +941,13 @@ const Label = props => {
1015
941
  style: style
1016
942
  }, value, currency === 'tkai' && /*#__PURE__*/React__default.createElement(Icon, {
1017
943
  icon: "tkai",
1018
- fill: grey$7
944
+ fill: colors.grey200
1019
945
  }), currency === 'vkai' && /*#__PURE__*/React__default.createElement(Icon, {
1020
946
  icon: "vkai",
1021
- fill: grey$7
947
+ fill: colors.grey200
1022
948
  }));
1023
949
  };
1024
950
 
1025
- const {
1026
- light: light$4
1027
- } = colors;
1028
951
  const rotation = _styled.keyframes`
1029
952
  from {
1030
953
  transform: rotate(0deg);
@@ -1036,14 +959,11 @@ const rotation = _styled.keyframes`
1036
959
  const Loading = /*#__PURE__*/_styled__default.div.withConfig({
1037
960
  displayName: "styles__Loading",
1038
961
  componentId: "sc-sxnx45-0"
1039
- })(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill || light$4, props => props.size || polished.rem('20px'), props => props.size || polished.rem('20px'), rotation);
962
+ })(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill || colors.white, props => props.size || polished.rem('20px'), props => props.size || polished.rem('20px'), rotation);
1040
963
 
1041
- const {
1042
- grey: grey$8
1043
- } = colors;
1044
964
  const Spinner = props => {
1045
965
  const {
1046
- fill = grey$8,
966
+ fill = colors.grey200,
1047
967
  size = '20px',
1048
968
  className = 'spinner',
1049
969
  style
@@ -1121,7 +1041,6 @@ const TagNumber = props => {
1121
1041
  const TextField = props => {
1122
1042
  const {
1123
1043
  type = 'text',
1124
- minimal = true,
1125
1044
  icon,
1126
1045
  name,
1127
1046
  value,
@@ -1139,7 +1058,6 @@ const TextField = props => {
1139
1058
  required = false
1140
1059
  } = props;
1141
1060
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TextFieldInputStyle, {
1142
- minimal: minimal,
1143
1061
  icon: icon,
1144
1062
  type: type,
1145
1063
  name: name,
@@ -1163,7 +1081,6 @@ const TextField = props => {
1163
1081
 
1164
1082
  const TextArea = props => {
1165
1083
  const {
1166
- minimal = true,
1167
1084
  className = 'text-area',
1168
1085
  style,
1169
1086
  height,
@@ -1183,7 +1100,6 @@ const TextArea = props => {
1183
1100
  return /*#__PURE__*/React__default.createElement(Wrapper$1, {
1184
1101
  className: "text-field"
1185
1102
  }, /*#__PURE__*/React__default.createElement(TextAreaStyle, {
1186
- minimal: minimal,
1187
1103
  className: className,
1188
1104
  style: style,
1189
1105
  height: height,
@@ -1198,9 +1114,7 @@ const TextArea = props => {
1198
1114
  error: error,
1199
1115
  required: required,
1200
1116
  "data-testid": dataTestId
1201
- }), charactersCount != undefined && /*#__PURE__*/React__default.createElement(Count, {
1202
- minimal: minimal
1203
- }, /*#__PURE__*/React__default.createElement("span", {
1117
+ }), charactersCount != undefined && /*#__PURE__*/React__default.createElement(Count, null, /*#__PURE__*/React__default.createElement("span", {
1204
1118
  className: charactersCount < 0 ? 'negative' : ''
1205
1119
  }, charactersCount)), error ? /*#__PURE__*/React__default.createElement(ErrorField, {
1206
1120
  error: error
@@ -1209,7 +1123,6 @@ const TextArea = props => {
1209
1123
 
1210
1124
  const Select = props => {
1211
1125
  const {
1212
- minimal = false,
1213
1126
  placeholder,
1214
1127
  options,
1215
1128
  defaultValue,
@@ -1225,7 +1138,6 @@ const Select = props => {
1225
1138
  value: value.value
1226
1139
  }, value.name));
1227
1140
  return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SelectStyle, {
1228
- minimal: minimal,
1229
1141
  name: name,
1230
1142
  defaultValue: defaultValue,
1231
1143
  value: value,
@@ -1243,14 +1155,6 @@ const Select = props => {
1243
1155
  }) : null);
1244
1156
  };
1245
1157
 
1246
- const {
1247
- normal: normal$3,
1248
- light: light$5,
1249
- grey: grey$9,
1250
- lightGrey: lightGrey$6,
1251
- purple500: purple500$3,
1252
- lightPurple
1253
- } = colors;
1254
1158
  const SelectWrapper = _styled__default.div`
1255
1159
  .select {
1256
1160
  &-interactive {
@@ -1258,36 +1162,35 @@ const SelectWrapper = _styled__default.div`
1258
1162
  }
1259
1163
 
1260
1164
  &__control {
1261
- border-color: ${grey$9};
1262
- min-height: ${/*#__PURE__*/polished.rem('50px')};
1263
- transition-duration: 0.3s;
1165
+ border-color: ${field.borderColor};
1166
+ border-radius: ${field.borderRadius};
1167
+ min-height: ${field.height};
1168
+ transition-duration: ${misc.transitionDuration};
1264
1169
 
1265
1170
  &:hover {
1266
- border-color: ${purple500$3};
1171
+ border-color: ${field.hoverBorderColor};
1267
1172
  }
1268
1173
 
1269
1174
  &--is-focused {
1270
- border-color: ${purple500$3};
1175
+ border-color: ${field.activeBorderColor};
1271
1176
  box-shadow: none;
1272
1177
  }
1273
1178
  }
1274
1179
 
1275
1180
  &__value-container {
1276
- display: flex;
1277
- align-items: center;
1278
1181
  padding: 0 ${/*#__PURE__*/polished.rem('15px')};
1279
1182
  }
1280
1183
 
1281
1184
  &__placeholder {
1282
- color: ${grey$9};
1185
+ color: ${field.placeholderColor};
1283
1186
  }
1284
1187
 
1285
1188
  &__input {
1286
- color: ${normal$3};
1189
+ color: ${field.color};
1287
1190
  }
1288
1191
 
1289
1192
  &__single-value {
1290
- color: ${normal$3};
1193
+ color: ${field.color};
1291
1194
  }
1292
1195
 
1293
1196
  &__indicator {
@@ -1302,31 +1205,35 @@ const SelectWrapper = _styled__default.div`
1302
1205
  height: ${/*#__PURE__*/polished.rem('22px')};
1303
1206
 
1304
1207
  path {
1305
- fill: hsl(0, 0%, 85%);
1208
+ fill: ${field.borderColor};
1306
1209
  }
1307
1210
  }
1308
1211
 
1309
1212
  &-separator {
1310
- background-color: ${grey$9};
1213
+ background-color: ${field.borderColor};
1311
1214
  }
1312
1215
  }
1313
1216
 
1314
1217
  &__option {
1315
- transition-duration: 0.3s;
1218
+ transition-duration: ${misc.transitionDuration};
1316
1219
 
1317
1220
  &:hover {
1318
- background-color: ${purple500$3};
1319
- color: ${light$5};
1221
+ background-color: ${field.hoverBorderColor};
1222
+ color: ${field.color};
1223
+
1224
+ svg {
1225
+ fill: ${field.color};
1226
+ }
1320
1227
  }
1321
1228
 
1322
1229
  &--is-focused {
1323
- background-color: ${purple500$3};
1324
- color: ${light$5};
1230
+ background-color: ${field.activeBorderColor};
1231
+ color: ${colors.white};
1325
1232
  }
1326
1233
 
1327
1234
  &--is-selected {
1328
- background-color: ${lightPurple};
1329
- color: ${normal$3};
1235
+ background-color: ${field.activeBorderColor} !important;
1236
+ color: ${colors.white} !important;
1330
1237
  }
1331
1238
  }
1332
1239
  }
@@ -1352,21 +1259,21 @@ const SelectWrapper = _styled__default.div`
1352
1259
  margin: 0 ${/*#__PURE__*/polished.rem('5px')} 0 0;
1353
1260
  width: ${/*#__PURE__*/polished.rem('20px')};
1354
1261
  height: auto;
1355
- transition-duration: 0.3s;
1262
+ transition-duration: ${misc.transitionDuration};
1356
1263
  }
1357
1264
  }
1358
1265
 
1359
1266
  .select__option--is-selected {
1360
1267
  svg {
1361
- fill: ${normal$3};
1362
- transition-duration: 0.3s;
1268
+ fill: ${colors.white} !important;
1269
+ transition-duration: ${misc.transitionDuration};
1363
1270
  }
1364
1271
  }
1365
1272
 
1366
1273
  .select__option--is-focused {
1367
1274
  svg {
1368
- fill: ${light$5};
1369
- transition-duration: 0.3s;
1275
+ fill: ${colors.white};
1276
+ transition-duration: ${misc.transitionDuration};
1370
1277
  }
1371
1278
  }
1372
1279
 
@@ -1375,15 +1282,25 @@ const SelectWrapper = _styled__default.div`
1375
1282
  }
1376
1283
  `;
1377
1284
  const SelectGroupLabel = _styled__default.span`
1378
- font-size: ${/*#__PURE__*/polished.rem('12px')};
1379
- color: ${lightGrey$6};
1285
+ font-size: ${typography.fontSizeXs};
1286
+ color: ${field.placeholderColor};
1380
1287
 
1381
1288
  + .tag {
1382
- border-color: ${lightGrey$6};
1383
- background-color: ${lightGrey$6};
1384
- color: ${grey$9};
1289
+ border-color: ${field.borderColor};
1290
+ background-color: ${field.borderColor};
1291
+ color: ${field.activeBorderColor};
1385
1292
  }
1386
1293
  `;
1294
+ const SingleValue = _styled__default.div`
1295
+ grid-area: 1 / 1 / 2 / 3;
1296
+ margin-left: ${/*#__PURE__*/polished.rem('2px')};
1297
+ margin-right: ${/*#__PURE__*/polished.rem('2px')};
1298
+ max-width: 100%;
1299
+ text-overflow: ellipsis;
1300
+ white-space: nowrap;
1301
+ overflow: hidden;
1302
+ box-sizing: border-box;
1303
+ `;
1387
1304
 
1388
1305
  const {
1389
1306
  Option
@@ -1408,7 +1325,7 @@ const CustomSelectOption = (props, commonProps) => /*#__PURE__*/React__default.c
1408
1325
  src: props.data.customImage,
1409
1326
  alt: props.data.label
1410
1327
  }) : null, props.data.label);
1411
- const CustomSelectValue = props => /*#__PURE__*/React__default.createElement("div", null, props.data.icon ? /*#__PURE__*/React__default.createElement(Icon, {
1328
+ const CustomSelectValue = props => /*#__PURE__*/React__default.createElement(SingleValue, null, props.data.icon ? /*#__PURE__*/React__default.createElement(Icon, {
1412
1329
  icon: props.data.icon
1413
1330
  }) : props.data.customImage ? /*#__PURE__*/React__default.createElement("img", {
1414
1331
  src: props.data.customImage,
@@ -1455,25 +1372,37 @@ const SelectInteractive = ({
1455
1372
  }) : null);
1456
1373
  };
1457
1374
 
1458
- const {
1459
- normal: normal$4,
1460
- grey: grey$a,
1461
- lightGrey: lightGrey$7,
1462
- red: red$5,
1463
- lightRed
1464
- } = colors;
1465
1375
  const Wrapper$2 = _styled__default.div`
1466
- border-width: ${/*#__PURE__*/polished.rem('1px')};
1376
+ border-width: ${field.borderWidth};
1467
1377
  border-style: solid;
1468
- border-color: ${props => props.error ? red$5 : grey$a};
1469
- border-radius: ${/*#__PURE__*/polished.rem('6px')};
1378
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1379
+ border-radius: ${field.borderRadius};
1470
1380
  display: flex;
1381
+ transition-duration: ${misc.transitionDuration};
1471
1382
  overflow: hidden;
1472
1383
 
1384
+ &:hover {
1385
+ border-color: ${field.hoverBorderColor};
1386
+ }
1387
+
1388
+ &:has(input:focus) {
1389
+ border-color: ${field.activeBorderColor};
1390
+ }
1391
+
1392
+ &:has(input:disabled) {
1393
+ background-color: ${field.disabledBackgroundColor};
1394
+ color: ${field.disabledColor};
1395
+
1396
+ > div {
1397
+ background-color: ${field.disabledBackgroundColor};
1398
+ color: ${field.disabledColor};
1399
+ }
1400
+ }
1401
+
1473
1402
  input {
1474
1403
  flex: 1;
1475
1404
  border: 0;
1476
- color: ${props => props.error ? red$5 : normal$4};
1405
+ color: ${props => props.error ? field.errorBorderColor : field.color};
1477
1406
 
1478
1407
  &:disabled {
1479
1408
  margin: 0;
@@ -1486,12 +1415,12 @@ const Wrapper$2 = _styled__default.div`
1486
1415
  }
1487
1416
  `;
1488
1417
  const Appendix = _styled__default.div`
1489
- border-width: ${props => props.position === 'left' ? `0 ${polished.rem('1px')} 0 0` : `0 0 0 ${polished.rem('1px')}`};
1418
+ border-width: ${props => props.position === 'left' ? `0 ${field.borderWidth} 0 0` : `0 0 0 ${field.borderWidth}`};
1490
1419
  border-style: solid;
1491
- border-color: ${props => props.error ? red$5 : grey$a};
1492
- background-color: ${props => props.error ? lightRed : lightGrey$7};
1420
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
1421
+ background-color: ${props => props.error ? field.errorBackgroundColor : field.borderColor};
1493
1422
  padding: 0 ${/*#__PURE__*/polished.rem('15px')};
1494
- color: ${props => props.error ? red$5 : grey$a};
1423
+ color: ${props => props.error ? field.errorBorderColor : field.color};
1495
1424
  line-height: ${/*#__PURE__*/polished.rem('48px')};
1496
1425
  vertical-align: center;
1497
1426
  overflow: hidden;
@@ -1525,7 +1454,6 @@ const TextFieldAppendix = props => {
1525
1454
  error: error,
1526
1455
  position: "left"
1527
1456
  }, /*#__PURE__*/React__default.createElement("span", null, prepend)), /*#__PURE__*/React__default.createElement(TextField, {
1528
- minimal: false,
1529
1457
  type: type,
1530
1458
  name: name,
1531
1459
  value: value,
@@ -1582,9 +1510,6 @@ const device = {
1582
1510
  mouse: '(min-width: 538px) and (min-height: 720px)'
1583
1511
  };
1584
1512
 
1585
- const {
1586
- light: light$6
1587
- } = colors;
1588
1513
  const Wrapper$3 = _styled__default.div`
1589
1514
  position: relative;
1590
1515
 
@@ -1632,7 +1557,7 @@ const Wrapper$3 = _styled__default.div`
1632
1557
  }
1633
1558
 
1634
1559
  .carousel .control-prev.control-arrow:before {
1635
- border-right: ${/*#__PURE__*/polished.rem('8px')} solid #fff;
1560
+ border-right: ${/*#__PURE__*/polished.rem('8px')} solid ${colors.white};
1636
1561
  }
1637
1562
 
1638
1563
  .carousel .control-next.control-arrow {
@@ -1640,7 +1565,7 @@ const Wrapper$3 = _styled__default.div`
1640
1565
  }
1641
1566
 
1642
1567
  .carousel .control-next.control-arrow:before {
1643
- border-left: ${/*#__PURE__*/polished.rem('8px')} solid #fff;
1568
+ border-left: ${/*#__PURE__*/polished.rem('8px')} solid ${colors.white};
1644
1569
  }
1645
1570
 
1646
1571
  .carousel-root {
@@ -1708,7 +1633,7 @@ const Wrapper$3 = _styled__default.div`
1708
1633
  margin-right: ${/*#__PURE__*/polished.rem('6px')};
1709
1634
  white-space: nowrap;
1710
1635
  overflow: hidden;
1711
- border: ${/*#__PURE__*/polished.rem('3px')} solid #fff;
1636
+ border: ${/*#__PURE__*/polished.rem('3px')} solid ${colors.white};
1712
1637
  padding: ${/*#__PURE__*/polished.rem('2px')};
1713
1638
  }
1714
1639
 
@@ -1734,7 +1659,7 @@ const Wrapper$3 = _styled__default.div`
1734
1659
 
1735
1660
  .carousel.carousel-slider .control-arrow {
1736
1661
  top: 0;
1737
- color: #fff;
1662
+ color: ${colors.white};
1738
1663
  font-size: ${/*#__PURE__*/polished.rem('26px')};
1739
1664
  bottom: 0;
1740
1665
  margin-top: 0;
@@ -1823,7 +1748,7 @@ const Wrapper$3 = _styled__default.div`
1823
1748
  padding: ${/*#__PURE__*/polished.rem('5px')};
1824
1749
  font-size: ${/*#__PURE__*/polished.rem('10px')};
1825
1750
  text-shadow: ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} rgba(0, 0, 0, 0.9);
1826
- color: #fff;
1751
+ color: ${colors.white};
1827
1752
  }
1828
1753
 
1829
1754
  > div > div > button {
@@ -1837,7 +1762,7 @@ const Wrapper$3 = _styled__default.div`
1837
1762
  svg {
1838
1763
  width: ${/*#__PURE__*/polished.rem('36px')};
1839
1764
  height: ${/*#__PURE__*/polished.rem('36px')};
1840
- fill: ${light$6};
1765
+ fill: ${colors.white};
1841
1766
  }
1842
1767
 
1843
1768
  &.next {
@@ -1848,7 +1773,7 @@ const Wrapper$3 = _styled__default.div`
1848
1773
  opacity: 1;
1849
1774
 
1850
1775
  svg {
1851
- fill: ${light$6};
1776
+ fill: ${colors.white};
1852
1777
  }
1853
1778
  }
1854
1779
 
@@ -1873,7 +1798,7 @@ const Wrapper$3 = _styled__default.div`
1873
1798
  position: relative;
1874
1799
  display: inline-block;
1875
1800
  border-radius: 999px;
1876
- background-color: ${light$6};
1801
+ background-color: ${colors.white};
1877
1802
  width: ${/*#__PURE__*/polished.rem('15px')};
1878
1803
  height: ${/*#__PURE__*/polished.rem('15px')};
1879
1804
  opacity: 0.25;
@@ -2005,35 +1930,32 @@ const VideoPlayer = props => {
2005
1930
  }));
2006
1931
  };
2007
1932
 
2008
- const {
2009
- lightGrey: lightGrey$8,
2010
- green: green$3
2011
- } = colors;
2012
- const {
2013
- bold
2014
- } = typography;
2015
1933
  const Wrapper$5 = _styled__default.div`
2016
1934
  display: flex;
2017
1935
  align-items: center;
2018
1936
  `;
2019
1937
  const Bar = _styled__default.div`
2020
1938
  flex: 1;
1939
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.purple100};
2021
1940
  border-radius: 999px;
2022
- background-color: ${lightGrey$8};
1941
+ background-color: ${colors.grey50};
2023
1942
  height: ${/*#__PURE__*/polished.rem('10px')};
2024
1943
  overflow: hidden;
2025
1944
  `;
2026
1945
  const Progress = _styled__default.div`
2027
1946
  border-radius: 999px;
2028
- background-color: ${green$3};
1947
+ background-color: ${colors.purple500};
2029
1948
  height: 100%;
2030
1949
  width: ${props => props.progress ? `${props.progress}%` : 0};
2031
1950
  transition-duration: 2s;
2032
1951
  `;
2033
1952
  const Value = _styled__default.div`
2034
1953
  margin-left: ${/*#__PURE__*/polished.rem('5px')};
2035
- font-size: 0.75rem;
2036
- font-weight: ${bold};
1954
+ font-size: ${typography.fontSizeXs};
1955
+ font-weight: ${typography.regular};
1956
+ color: ${colors.purple400};
1957
+ letter-spacing: ${/*#__PURE__*/polished.rem('1px')};
1958
+ text-transform: uppercase;
2037
1959
  `;
2038
1960
 
2039
1961
  const ProgressBar = props => {
@@ -2046,11 +1968,6 @@ const ProgressBar = props => {
2046
1968
  })), value && /*#__PURE__*/React__default.createElement(Value, null, value));
2047
1969
  };
2048
1970
 
2049
- const {
2050
- light: light$7,
2051
- green: green$4,
2052
- lightGrey: lightGrey$9
2053
- } = colors;
2054
1971
  const Switcher = _styled__default.fieldset`
2055
1972
  margin: 0;
2056
1973
  border: none;
@@ -2073,9 +1990,9 @@ const Switcher = _styled__default.fieldset`
2073
1990
  display: inline-block;
2074
1991
  vertical-align: middle;
2075
1992
  width: ${/*#__PURE__*/polished.rem('40px')};
2076
- height: ${/*#__PURE__*/polished.rem('24px')};
1993
+ height: ${/*#__PURE__*/polished.rem('25px')};
2077
1994
  border-radius: 999px;
2078
- border: 2px solid ${light$7};
1995
+ border: ${field.borderWidth} solid ${field.borderColor};
2079
1996
  position: relative;
2080
1997
  opacity: ${props => props.disabled ? '0.5' : '1'};
2081
1998
 
@@ -2087,7 +2004,7 @@ const Switcher = _styled__default.fieldset`
2087
2004
 
2088
2005
  input[type='radio'] {
2089
2006
  display: inline-block;
2090
- margin: 0 ${/*#__PURE__*/polished.rem('-2px')} 0 0;
2007
+ margin: 0 ${/*#__PURE__*/polished.rem('-3px')} 0 0;
2091
2008
  width: 50%;
2092
2009
  height: 100%;
2093
2010
  opacity: 0;
@@ -2100,7 +2017,7 @@ const Switcher = _styled__default.fieldset`
2100
2017
  }
2101
2018
 
2102
2019
  &.switch-on:checked ~ .bg {
2103
- background-color: ${green$4};
2020
+ background-color: ${colors.green500};
2104
2021
  }
2105
2022
 
2106
2023
  &.switch-off:checked ~ .switcher {
@@ -2108,21 +2025,21 @@ const Switcher = _styled__default.fieldset`
2108
2025
  }
2109
2026
 
2110
2027
  &.switch-off:checked ~ .bg {
2111
- background-color: ${lightGrey$9};
2028
+ background-color: ${colors.grey100};
2112
2029
  }
2113
2030
  }
2114
2031
 
2115
2032
  .switcher {
2116
2033
  display: block;
2117
2034
  position: absolute;
2118
- top: ${/*#__PURE__*/polished.rem('2px')};
2119
- left: ${/*#__PURE__*/polished.rem('2px')};
2035
+ top: ${/*#__PURE__*/polished.rem('3px')};
2036
+ left: ${/*#__PURE__*/polished.rem('3px')};
2120
2037
  right: 100%;
2121
2038
  width: ${/*#__PURE__*/polished.rem('16px')};
2122
2039
  height: ${/*#__PURE__*/polished.rem('16px')};
2123
2040
  border-radius: 50%;
2124
- background-color: ${light$7};
2125
- transition: all 0.3s ease-out;
2041
+ background-color: ${colors.white};
2042
+ transition: all ${misc.transitionDuration} ease-out;
2126
2043
  z-index: 2;
2127
2044
  }
2128
2045
 
@@ -2135,8 +2052,8 @@ const Switcher = _styled__default.fieldset`
2135
2052
  z-index: 0;
2136
2053
  border-radius: 999px;
2137
2054
  background-color: transparent;
2138
- transition: all 0.3s ease-out;
2139
- background-color: ${lightGrey$9};
2055
+ transition: all ${misc.transitionDuration} ease-out;
2056
+ background-color: ${colors.grey200};
2140
2057
  }
2141
2058
  }
2142
2059
  }
@@ -2221,16 +2138,6 @@ const Toggle = ({
2221
2138
  }, labelRight)));
2222
2139
  };
2223
2140
 
2224
- const {
2225
- red: red$6,
2226
- grey: grey$b,
2227
- lightGrey: lightGrey$a,
2228
- darkGrey,
2229
- green: green$5,
2230
- darkGreen: darkGreen$2,
2231
- light: light$8,
2232
- normal: normal$5
2233
- } = colors;
2234
2141
  const Wrapper$6 = _styled__default.div`
2235
2142
  input {
2236
2143
  width: 0.1px;
@@ -2243,20 +2150,21 @@ const Wrapper$6 = _styled__default.div`
2243
2150
 
2244
2151
  label {
2245
2152
  margin-bottom: 0 !important;
2246
- border-width: ${props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px')};
2153
+ border-width: ${field.borderWidth};
2247
2154
  border-style: solid;
2248
- border-color: ${props => props.error ? red$6 : grey$b};
2249
- border-radius: ${props => props.minimal ? 0 : polished.rem('6px')};
2250
- background-color: ${props => props.disabled ? lightGrey$a : 'transparent'};
2155
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
2156
+ border-radius: ${field.borderRadius};
2157
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : 'transparent'};
2251
2158
  display: flex;
2252
2159
  justify-content: space-between;
2253
2160
  align-items: center;
2254
2161
  width: 100%;
2255
- height: ${/*#__PURE__*/polished.rem('50px')};
2162
+ height: ${field.height};
2256
2163
  -webkit-appearance: none;
2257
2164
  outline: none;
2258
2165
  cursor: ${props => props.disabled ? 'default' : 'pointer'};
2259
2166
  pointer-events: ${props => props.disabled ? 'none' : ''};
2167
+ transition-duration: ${misc.transitionDuration};
2260
2168
  overflow: hidden;
2261
2169
 
2262
2170
  span {
@@ -2266,45 +2174,47 @@ const Wrapper$6 = _styled__default.div`
2266
2174
  &.file-name {
2267
2175
  flex: 1;
2268
2176
  display: block;
2269
- padding: ${props => props.minimal ? 0 : `0 ${polished.rem('10px')}`};
2270
- color: ${props => props.disabled ? grey$b : normal$5};
2177
+ padding: ${`0 ${/*#__PURE__*/polished.rem('10px')}`};
2178
+ color: ${props => props.disabled ? field.disabledColor : field.color};
2271
2179
  white-space: nowrap;
2272
2180
  overflow: hidden;
2273
2181
  text-overflow: ellipsis;
2274
2182
  }
2275
2183
 
2276
2184
  &.button {
2277
- border-left: ${props => props.minimal ? 0 : `${polished.rem('1px')} solid ${grey$b}`};
2278
- background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$a : green$5};
2185
+ border-left: ${props => `${field.borderWidth} solid ${props.error ? field.errorBorderColor : field.borderColor}`};
2186
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.error ? field.errorBackgroundColor : field.borderColor};
2279
2187
  height: 100%;
2280
- padding: ${props => props.minimal ? `0 ${polished.rem('5px')} 0 ${polished.rem('20px')}` : `0 ${polished.rem('20px')}`};
2281
- color: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
2282
- transition-duration: 0.3s;
2188
+ padding: ${`0 ${/*#__PURE__*/polished.rem('20px')}`};
2189
+ color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
2190
+ transition-duration: ${misc.transitionDuration};
2283
2191
 
2284
2192
  svg {
2285
2193
  margin-right: ${/*#__PURE__*/polished.rem('8px')};
2286
2194
  width: auto;
2287
2195
  height: ${/*#__PURE__*/polished.rem('24px')};
2288
- fill: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
2289
- transition-duration: 0.3s;
2196
+ fill: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
2197
+ transition-duration: ${misc.transitionDuration};
2290
2198
  }
2291
2199
 
2292
2200
  &:hover {
2293
- background-color: ${props => props.minimal ? 'transparent' : darkGreen$2};
2294
- color: ${props => props.minimal ? darkGreen$2 : light$8};
2295
-
2296
- svg {
2297
- fill: ${props => props.disabled ? grey$b : props.minimal ? darkGreen$2 : light$8};
2298
- }
2201
+ background-color: ${field.hoverBorderColor};
2299
2202
  }
2300
2203
  }
2301
2204
  }
2205
+
2206
+ &:hover {
2207
+ border-color: ${field.hoverBorderColor};
2208
+
2209
+ span.button {
2210
+ background-color: ${field.hoverBorderColor};
2211
+ }
2212
+ }
2302
2213
  }
2303
2214
  `;
2304
2215
 
2305
2216
  const FilePicker = props => {
2306
2217
  const {
2307
- minimal = false,
2308
2218
  name,
2309
2219
  accept,
2310
2220
  multiple = false,
@@ -2327,7 +2237,6 @@ const FilePicker = props => {
2327
2237
  };
2328
2238
  return /*#__PURE__*/React__default.createElement(Wrapper$6, {
2329
2239
  disabled: disabled,
2330
- minimal: minimal,
2331
2240
  error: !!error
2332
2241
  }, /*#__PURE__*/React__default.createElement("input", {
2333
2242
  id: name,
@@ -2353,12 +2262,6 @@ const FilePicker = props => {
2353
2262
  }));
2354
2263
  };
2355
2264
 
2356
- const {
2357
- normal: normal$6,
2358
- light: light$9,
2359
- lightGrey: lightGrey$b,
2360
- red: red$7
2361
- } = colors;
2362
2265
  const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
2363
2266
  displayName: "styles__ActionsMenuStyle",
2364
2267
  componentId: "sc-1peafop-0"
@@ -2366,11 +2269,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
2366
2269
  const List = /*#__PURE__*/_styled__default.ul.withConfig({
2367
2270
  displayName: "styles__List",
2368
2271
  componentId: "sc-1peafop-1"
2369
- })(["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__*/polished.rem('1px'), lightGrey$b, /*#__PURE__*/polished.rem('4px'), light$9, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$6), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$6), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$6), props => props.rowIndex != undefined && _styled.css`
2272
+ })(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:", ";-webkit-box-shadow:", ";box-shadow:", ";overflow:hidden;z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), field.boxShadow, field.boxShadow, field.boxShadow, props => props.rowIndex != undefined && _styled.css`
2370
2273
  --margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
2371
2274
  top: var(--margin);
2372
2275
  right: ${polished.rem('5px')};
2373
- `, /*#__PURE__*/polished.rem('45px'), lightGrey$b, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('1px'), lightGrey$b, red$7, lightGrey$b, /*#__PURE__*/polished.rem('20px'), normal$6);
2276
+ `, /*#__PURE__*/polished.rem('45px'), field.hoverBorderColor, field.borderWidth, field.borderColor, field.errorBorderColor, field.disabledColor, /*#__PURE__*/polished.rem('20px'), field.color);
2374
2277
 
2375
2278
  const ActionMenuList = props => {
2376
2279
  const {
@@ -2441,18 +2344,10 @@ const ActionsMenu = props => {
2441
2344
  }) : null);
2442
2345
  };
2443
2346
 
2444
- const {
2445
- light: light$a,
2446
- grey: grey$c
2447
- } = colors;
2448
2347
  const CardValueStyle = /*#__PURE__*/_styled__default.div.withConfig({
2449
2348
  displayName: "styles__CardValueStyle",
2450
2349
  componentId: "sc-1ki7jdk-0"
2451
- })(["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__*/polished.rem('1px'), grey$c, /*#__PURE__*/polished.rem('6px'), light$a, /*#__PURE__*/polished.rem('15px'), device.l, /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('5px'));
2452
- const CardValueButtonWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2453
- displayName: "styles__CardValueButtonWrapper",
2454
- componentId: "sc-1ki7jdk-1"
2455
- })(["right:0;margin-top:", ";display:flex;flex-direction:column-reverse;flex-grow:2;align-self:flex-end;"], /*#__PURE__*/polished.rem('20px'));
2350
+ })(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;> span{display:block;margin-top:", ";font-size:", ";font-weight:", ";line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}a,button{margin-top:", ";}"], field.borderWidth, field.borderColor, field.borderRadius, colors.white, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold, /*#__PURE__*/polished.rem('20px'));
2456
2351
 
2457
2352
  const CardValue = props => {
2458
2353
  const {
@@ -2471,20 +2366,14 @@ const CardValue = props => {
2471
2366
  }, /*#__PURE__*/React__default.createElement(Label, {
2472
2367
  value: label,
2473
2368
  currency: currency
2474
- }), /*#__PURE__*/React__default.createElement("span", null, value), description && /*#__PURE__*/React__default.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React__default.createElement(CardValueButtonWrapper, null, /*#__PURE__*/React__default.createElement(Button, {
2475
- color: "grey",
2369
+ }), /*#__PURE__*/React__default.createElement("span", null, value), description && /*#__PURE__*/React__default.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React__default.createElement(Button, {
2370
+ color: "grey150",
2371
+ txtColor: "grey500",
2476
2372
  value: buttonValue,
2477
2373
  action: onClick
2478
- })));
2374
+ }));
2479
2375
  };
2480
2376
 
2481
- const {
2482
- grey: grey$d,
2483
- light: light$b
2484
- } = colors;
2485
- const {
2486
- bold: bold$1
2487
- } = typography;
2488
2377
  const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2489
2378
  displayName: "styles__EmptyTableWrapper",
2490
2379
  componentId: "sc-1dgsb9l-0"
@@ -2492,23 +2381,23 @@ const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2492
2381
  const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
2493
2382
  displayName: "styles__EmptyTableHead",
2494
2383
  componentId: "sc-1dgsb9l-1"
2495
- })(["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 ? polished.rem('1px') : `0 0 ${polished.rem('1px')} 0`, grey$d, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), bold$1, grey$d, /*#__PURE__*/polished.rem('15px'), bold$1, grey$d, device.s, device.m, device.l);
2384
+ })(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:", ";font-weight:", ";color:", ";&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? field.borderWidth : `0 0 ${field.borderWidth} 0`, colors.grey200, field.borderRadius, field.borderRadius, /*#__PURE__*/polished.rem('50px'), typography.fontSizeSm, typography.semiBold, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.fontSizeSm, typography.semiBold, colors.grey400, device.s, device.m, device.l);
2496
2385
  const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
2497
2386
  displayName: "styles__EmptyTableBody",
2498
2387
  componentId: "sc-1dgsb9l-2"
2499
- })(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${polished.rem('1px')} ${polished.rem('1px')} ${polished.rem('1px')}` : 0, grey$d, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'));
2388
+ })(["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);
2500
2389
  const EmptyTableRow = /*#__PURE__*/_styled__default.div.withConfig({
2501
2390
  displayName: "styles__EmptyTableRow",
2502
2391
  componentId: "sc-1dgsb9l-3"
2503
- })(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('1px'), grey$d, /*#__PURE__*/polished.rem('15px'), device.s, device.m, device.l);
2392
+ })(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('15px'), device.s, device.m, device.l);
2504
2393
  const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
2505
2394
  displayName: "styles__EmptyTableCellText",
2506
2395
  componentId: "sc-1dgsb9l-4"
2507
- })(["background-color:#edeef1;width:100%;height:", ";"], /*#__PURE__*/polished.rem('15px'));
2396
+ })(["background-color:", ";width:100%;height:", ";"], colors.grey200, /*#__PURE__*/polished.rem('15px'));
2508
2397
  const EmptyTableOverlay = /*#__PURE__*/_styled__default.div.withConfig({
2509
2398
  displayName: "styles__EmptyTableOverlay",
2510
2399
  componentId: "sc-1dgsb9l-5"
2511
- })(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(light$b, 0), /*#__PURE__*/polished.rgba(light$b, 1), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), grey$d);
2400
+ })(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(colors.white, 0), /*#__PURE__*/polished.rgba(colors.white, 1), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), colors.grey400);
2512
2401
 
2513
2402
  const EmptyTable = props => {
2514
2403
  let rows = [];
@@ -2564,53 +2453,42 @@ const ModalFooter = props => {
2564
2453
  }), children);
2565
2454
  };
2566
2455
 
2567
- const {
2568
- green: green$6,
2569
- lightGreen,
2570
- darkGreen: darkGreen$3,
2571
- grey: grey$e,
2572
- lightGrey: lightGrey$c,
2573
- darkGrey: darkGrey$1,
2574
- red: red$8,
2575
- lightRed: lightRed$1,
2576
- darkRed: darkRed$1
2577
- } = colors;
2578
2456
  const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
2579
2457
  displayName: "styles__Wrapper",
2580
2458
  componentId: "sc-d2fn4g-0"
2581
- })(["--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' && _styled.css`
2582
- --default: ${grey$e};
2583
- --light: ${lightGrey$c};
2584
- --dark: ${darkGrey$1};
2459
+ })(["--borderColor:", ";--backgroundColor:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--borderColor);border-radius:", ";background-color:var(--backgroundColor);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], field.borderColor, colors.purple50, colors.purple400, props => props.color === 'grey' && _styled.css`
2460
+ --borderColor: ${field.borderColor};
2461
+ --backgroundColor: ${colors.purple50};
2462
+ --dark: ${colors.purple400};
2585
2463
  `, props => props.color === 'green' && _styled.css`
2586
- --default: ${green$6};
2587
- --light: ${lightGreen};
2588
- --dark: ${darkGreen$3};
2464
+ --borderColor: ${field.successBorderColor};
2465
+ --backgroundColor: ${field.successBackgroundColor};
2466
+ --dark: ${colors.green900};
2589
2467
  `, props => props.color === 'red' && _styled.css`
2590
- --default: ${red$8};
2591
- --light: ${lightRed$1};
2592
- --dark: ${darkRed$1};
2593
- `, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
2468
+ --borderColor: ${field.errorBorderColor};
2469
+ --backgroundColor: ${field.errorBackgroundColor};
2470
+ --dark: ${colors.red800};
2471
+ `, field.borderWidth, field.borderRadius, /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
2594
2472
  button {
2595
2473
  margin: ${polished.rem('30px')} 0 0 0;
2596
2474
  border: 0;
2597
- border-radius: ${polished.rem('6px')};
2598
- background-color: var(--default);
2475
+ border-radius: ${field.borderRadius};
2476
+ background-color: var(--borderColor);
2599
2477
  height: ${polished.rem('36px')};
2600
2478
  display: flex;
2601
2479
  justify-content: center;
2602
2480
  align-items: center;
2603
2481
  padding: ${polished.rem('20px')};
2604
- font-size: 0.75rem;
2605
- font-weight: bold;
2606
- text-transform: uppercase;
2607
- color: hsl(0, 0%, 100%);
2482
+ font-size: ${typography.fontSizeSm};
2483
+ font-weight: ${typography.medium};
2484
+ color: var(--dark);
2608
2485
  white-space: nowrap;
2609
- transition-duration: 0.3s;
2486
+ transition-duration: ${misc.transitionDuration};
2610
2487
  cursor: pointer;
2611
2488
 
2612
2489
  &:hover {
2613
2490
  background-color: var(--dark);
2491
+ color: ${colors.white};
2614
2492
  }
2615
2493
  }
2616
2494
 
@@ -2647,15 +2525,6 @@ function hasValue(value) {
2647
2525
  return value !== undefined && value !== null;
2648
2526
  }
2649
2527
 
2650
- const {
2651
- normal: normal$7,
2652
- light: light$c,
2653
- grey: grey$f,
2654
- lightGrey: lightGrey$d
2655
- } = colors;
2656
- const {
2657
- bold: bold$2
2658
- } = typography;
2659
2528
  const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2660
2529
  displayName: "styles__TableWrapper",
2661
2530
  componentId: "sc-vmoy3z-0"
@@ -2663,11 +2532,11 @@ const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2663
2532
  const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2664
2533
  displayName: "styles__OverflowWrapper",
2665
2534
  componentId: "sc-vmoy3z-1"
2666
- })(["@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__*/polished.rem('6px'), light$c, light$c, /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('14px'), /*#__PURE__*/polished.rem('14px'));
2535
+ })(["@media ", "{display:block;border-radius:", ";background:linear-gradient( to right,", " 30%,rgba(255,255,255,0) ),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:", ";background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, field.borderRadius, colors.white, colors.white, colors.white, /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('14px'), /*#__PURE__*/polished.rem('14px'));
2667
2536
  const Table = /*#__PURE__*/_styled__default.table.withConfig({
2668
2537
  displayName: "styles__Table",
2669
2538
  componentId: "sc-vmoy3z-2"
2670
- })(["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__*/polished.rem('6px'), device.s, props => props.border ? polished.rem('1px') : '0', /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('1px'), grey$f, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, bold$2, grey$f, props => props.loadingState ? 'transparent' : lightGrey$d, device.s, /*#__PURE__*/polished.rem('1px'), grey$f, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), normal$7, grey$f, /*#__PURE__*/polished.rem('15px'), bold$2, props => props.loadingState && _styled.css`
2539
+ })(["width:100%;border-width:0;border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;@media ", "{border-width:", ";}th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.vkai,&.tkai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:", ";&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-align:left;}}tbody{tr{display:block;transition-duration:", ";&:hover{background-color:", ";td.menu{button{opacity:1;}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;align-items:center;> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;", "}&.tkai,&.vkai{svg{float:right;margin-left:", ";width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}.button{height:", ";}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:", ";}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.tkai,&.vkai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], colors.grey200, field.borderRadius, device.s, props => props.border ? field.borderWidth : 0, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), typography.fontSizeSm, field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, props => props.loadingState ? 'transparent' : colors.grey50, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.black, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.semiBold, props => props.loadingState && _styled.css`
2671
2540
  width: ${polished.rem('75px')};
2672
2541
  height: ${polished.rem('15px')};
2673
2542
  background: #f6f7f8;
@@ -2685,7 +2554,7 @@ const Table = /*#__PURE__*/_styled__default.table.withConfig({
2685
2554
  animation-timing-function: linear;
2686
2555
  animation-iteration-count: infinite;
2687
2556
  animation-duration: 1.5s;
2688
- `, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('34px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('1px'), grey$f, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
2557
+ `, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('34px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), misc.transitionDuration, /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
2689
2558
  const SkeletonCell = /*#__PURE__*/_styled__default.div.withConfig({
2690
2559
  displayName: "styles__SkeletonCell",
2691
2560
  componentId: "sc-vmoy3z-3"
@@ -2782,7 +2651,7 @@ const Table$1 = props => {
2782
2651
  ref: ref
2783
2652
  }, /*#__PURE__*/React__default.createElement(Button, {
2784
2653
  variant: "text",
2785
- color: "grey",
2654
+ color: "grey500",
2786
2655
  icon: "menuVert",
2787
2656
  action: evt => {
2788
2657
  evt.preventDefault();
@@ -2802,26 +2671,15 @@ const Table$1 = props => {
2802
2671
  })));
2803
2672
  };
2804
2673
 
2805
- const {
2806
- normal: normal$8,
2807
- grey: grey$g,
2808
- lightGrey: lightGrey$e
2809
- } = colors;
2810
- const {
2811
- bold: bold$3
2812
- } = typography;
2813
2674
  const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
2814
2675
  displayName: "styles__Table",
2815
2676
  componentId: "sc-1p618q0-0"
2816
- })(["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__*/polished.rem('6px'), props => props.layout, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, bold$3, grey$g, lightGrey$e, grey$g, device.s, /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), grey$g, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), normal$8, grey$g, /*#__PURE__*/polished.rem('15px'), bold$3, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
2677
+ })(["position:relative;width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;table-layout:", ";th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-align:left;}}tbody{tr{display:block;transition-duration:", ";&:hover{background-color:", ";td{&.drag-handle{svg{fill:", ";}}&.menu{button{opacity:1;}}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;&.drag-handle{> div{width:min-content;}svg{width:", ";height:", ";fill:", ";transition-duration:", ";}}> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:", ";}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? field.borderWidth : 0, colors.grey200, field.borderRadius, props => props.layout, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, colors.grey50, colors.grey200, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.grey200, misc.transitionDuration, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.black, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.semiBold, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), misc.transitionDuration, /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
2817
2678
  const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
2818
2679
  displayName: "styles__TableRow",
2819
2680
  componentId: "sc-1p618q0-1"
2820
2681
  })(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
2821
2682
 
2822
- const {
2823
- light: light$d
2824
- } = colors;
2825
2683
  const TableDnD = props => {
2826
2684
  const {
2827
2685
  border = false,
@@ -2871,11 +2729,11 @@ const TableDnD = props => {
2871
2729
  };
2872
2730
  const getItemStyle = (isDragging, draggableStyle) => ({
2873
2731
  userSelect: 'none',
2874
- background: isDragging ? light$d : 'transparent',
2732
+ background: isDragging ? colors.white : 'transparent',
2875
2733
  ...draggableStyle
2876
2734
  });
2877
2735
  const getListStyle = isDraggingOver => ({
2878
- background: isDraggingOver ? light$d : 'transparent'
2736
+ background: isDraggingOver ? colors.white : 'transparent'
2879
2737
  });
2880
2738
  return (
2881
2739
  /*#__PURE__*/
@@ -2953,7 +2811,7 @@ const TableDnD = props => {
2953
2811
  ref: ref
2954
2812
  }, /*#__PURE__*/React__default.createElement(Button, {
2955
2813
  variant: "text",
2956
- color: "grey",
2814
+ color: "grey500",
2957
2815
  icon: "menuVert",
2958
2816
  action: evt => {
2959
2817
  evt.preventDefault();
@@ -2971,15 +2829,10 @@ const TableDnD = props => {
2971
2829
  );
2972
2830
  };
2973
2831
 
2974
- const {
2975
- normal: normal$9,
2976
- grey: grey$h,
2977
- red: red$9
2978
- } = colors;
2979
2832
  const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
2980
2833
  displayName: "styles__Wrapper",
2981
2834
  componentId: "sc-mbja2a-0"
2982
- })(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? red$9 : grey$h, props => props.error ? red$9 : normal$9, /*#__PURE__*/polished.rem('15px'));
2835
+ })(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? field.errorBorderColor : colors.grey200, props => props.error ? field.errorBorderColor : field.color, /*#__PURE__*/polished.rem('15px'));
2983
2836
 
2984
2837
  const FormGroup = props => {
2985
2838
  const {
@@ -2996,23 +2849,18 @@ const FormGroup = props => {
2996
2849
  }), children);
2997
2850
  };
2998
2851
 
2999
- const {
3000
- grey: grey$i,
3001
- lightGrey: lightGrey$f,
3002
- lightRed: lightRed$2
3003
- } = colors;
3004
2852
  const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
3005
2853
  displayName: "styles__Wrapper",
3006
2854
  componentId: "sc-124afcu-0"
3007
- })(["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__*/polished.rem('1px'), grey$i, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), lightGrey$f);
2855
+ })(["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);
3008
2856
  const Input = /*#__PURE__*/_styled__default.input.withConfig({
3009
2857
  displayName: "styles__Input",
3010
2858
  componentId: "sc-124afcu-1"
3011
- })(["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__*/polished.rem('50px'), /*#__PURE__*/polished.rem('10px'), lightRed$2);
2859
+ })(["border:0;width:", ";height:", ";padding:", ";font-family:inherit;font-size:", ";text-align:center;-moz-appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&:focus{outline:none;}&:invalid{box-shadow:none;background-color:", ";}"], props => props.max != null && props.max.toString().length > 5 ? props.max.toString().length * 10 + 20 + 'px' : '70px', field.height, /*#__PURE__*/polished.rem('10px'), typography.defaultSize, field.errorBackgroundColor);
3012
2860
  const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
3013
2861
  displayName: "styles__Button",
3014
2862
  componentId: "sc-124afcu-2"
3015
- })(["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__*/polished.rem('50px'), /*#__PURE__*/polished.rem('50px'), lightGrey$f, /*#__PURE__*/polished.rem('1px'), grey$i, /*#__PURE__*/polished.rem('1px'), grey$i, /*#__PURE__*/polished.rem('20px'), grey$i, lightGrey$f);
2863
+ })(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:", ";&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], field.height, field.height, field.borderColor, misc.transitionDuration, field.borderWidth, field.borderColor, field.borderWidth, field.borderColor, /*#__PURE__*/polished.rem('20px'), colors.purple300, field.hoverBorderColor);
3016
2864
 
3017
2865
  const NumberInputSpinner = props => {
3018
2866
  const {
@@ -3073,12 +2921,6 @@ const NumberInputSpinner = props => {
3073
2921
  })));
3074
2922
  };
3075
2923
 
3076
- const {
3077
- green: green$7,
3078
- grey: grey$j,
3079
- lightGrey: lightGrey$g,
3080
- light: light$e
3081
- } = colors;
3082
2924
  const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
3083
2925
  displayName: "styles__Steps",
3084
2926
  componentId: "sc-1s2dhfy-0"
@@ -3086,7 +2928,7 @@ const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
3086
2928
  const Step = /*#__PURE__*/_styled__default.li.withConfig({
3087
2929
  displayName: "styles__Step",
3088
2930
  componentId: "sc-1s2dhfy-1"
3089
- })(["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__*/polished.rem('44px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$7 : lightGrey$g, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$7 : lightGrey$g, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), props => props.active ? green$7 : lightGrey$g, props => props.active ? light$e : grey$j, device.s);
2931
+ })(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:", ";color:", ";@media ", "{width:100%;font-size:", ";font-weight:", ";}}}"], /*#__PURE__*/polished.rem('44px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, field.borderRadius, field.borderRadius, field.borderRadius, field.borderRadius, props => props.active ? field.successBackgroundColor : field.borderColor, typography.fontSizeSm, props => props.active ? colors.white : colors.purple300, device.s, typography.defaultSize, typography.semiBold);
3090
2932
 
3091
2933
  const WizardSteps = props => {
3092
2934
  const {
@@ -3106,125 +2948,6 @@ const WizardSteps = props => {
3106
2948
  }, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("span", null, step.value))))));
3107
2949
  };
3108
2950
 
3109
- const {
3110
- light: light$f,
3111
- green: green$8,
3112
- darkGreen: darkGreen$4,
3113
- red: red$a,
3114
- darkRed: darkRed$2,
3115
- orange,
3116
- darkOrange
3117
- } = colors;
3118
- const Wrapper$a = _styled__default.div`
3119
- --shadow: 0 0 ${/*#__PURE__*/polished.rem('25px')} 0 rgba(40, 40, 40, 0.2);
3120
-
3121
- position: fixed;
3122
- top: ${/*#__PURE__*/polished.rem('15px')};
3123
- right: 0;
3124
- border: ${/*#__PURE__*/polished.rem('2px')} solid ${darkGreen$4};
3125
- border-radius: ${/*#__PURE__*/polished.rem('6px')};
3126
- background-color: ${green$8};
3127
- width: ${/*#__PURE__*/polished.rem('300px')};
3128
- max-height: min-content;
3129
- display: flex;
3130
- padding: ${/*#__PURE__*/polished.rem('15px')};
3131
- color: ${light$f};
3132
- -moz-box-shadow: var(--shadow);
3133
- -webkit-box-shadow: var(--shadow);
3134
- box-shadow: var(--shadow);
3135
- z-index: 999;
3136
- opacity: 0;
3137
-
3138
- button {
3139
- background-color: transparent;
3140
-
3141
- svg {
3142
- fill: ${darkGreen$4};
3143
- }
3144
- }
3145
-
3146
- &.open {
3147
- animation-name: slide-in;
3148
- animation-duration: 0.5s;
3149
- animation-fill-mode: forwards;
3150
- }
3151
-
3152
- @keyframes slide-in {
3153
- 0% {
3154
- right: 0;
3155
- opacity: 0;
3156
- }
3157
- 100% {
3158
- right: ${/*#__PURE__*/polished.rem('15px')};
3159
- opacity: 1;
3160
- }
3161
- }
3162
-
3163
- ${props => props.variant === 'orange' && _styled.css`
3164
- border: ${polished.rem('2px')} solid ${darkOrange};
3165
- background-color: ${orange};
3166
-
3167
- button {
3168
- svg {
3169
- fill: ${darkOrange};
3170
- }
3171
- }
3172
- `}
3173
-
3174
- ${props => props.variant === 'red' && _styled.css`
3175
- border: ${polished.rem('2px')} solid ${darkRed$2};
3176
- background-color: ${red$a};
3177
-
3178
- button {
3179
- svg {
3180
- fill: ${darkRed$2};
3181
- }
3182
- }
3183
- `}
3184
-
3185
- span {
3186
- flex: 1;
3187
- margin-right: ${/*#__PURE__*/polished.rem('5px')};
3188
- font-size: 0.85rem;
3189
- }
3190
-
3191
- button {
3192
- position: absolute;
3193
- top: ${/*#__PURE__*/polished.rem('4px')};
3194
- right: ${/*#__PURE__*/polished.rem('4px')};
3195
- margin: 0 !important;
3196
- width: ${/*#__PURE__*/polished.rem('20px')};
3197
- height: ${/*#__PURE__*/polished.rem('20px')};
3198
- }
3199
- `;
3200
-
3201
- const AlertNotification = props => {
3202
- const {
3203
- className = 'alert-notification',
3204
- variant = 'success',
3205
- closeAction = () => {},
3206
- value,
3207
- children
3208
- } = props;
3209
- return /*#__PURE__*/React__default.createElement(Wrapper$a, {
3210
- className: className,
3211
- variant: variant
3212
- }, /*#__PURE__*/React__default.createElement("div", null, value ? /*#__PURE__*/React__default.createElement("span", null, value) : children), /*#__PURE__*/React__default.createElement(Button, {
3213
- variant: "text",
3214
- icon: "cross",
3215
- action: closeAction
3216
- }));
3217
- };
3218
-
3219
- const {
3220
- normal: normal$a,
3221
- light: light$g,
3222
- blue,
3223
- lightGrey: lightGrey$h
3224
- } = colors;
3225
- const {
3226
- bold: bold$4
3227
- } = typography;
3228
2951
  const PaginationWrapper = _styled__default.div`
3229
2952
  --size: ${/*#__PURE__*/polished.rem('30px')};
3230
2953
 
@@ -3243,10 +2966,10 @@ const PaginationWrapper = _styled__default.div`
3243
2966
 
3244
2967
  &.previous,
3245
2968
  &.next {
3246
- transition-duration: 0.3s;
2969
+ transition-duration: ${misc.transitionDuration};
3247
2970
 
3248
2971
  a svg {
3249
- transition-duration: 0.3s;
2972
+ transition-duration: ${misc.transitionDuration};
3250
2973
  }
3251
2974
  }
3252
2975
 
@@ -3254,29 +2977,29 @@ const PaginationWrapper = _styled__default.div`
3254
2977
  .break {
3255
2978
  min-width: var(--size);
3256
2979
  height: var(--size);
3257
- transition-duration: 0.3s;
2980
+ transition-duration: ${misc.transitionDuration};
3258
2981
  }
3259
2982
 
3260
2983
  a {
3261
- border-radius: ${/*#__PURE__*/polished.rem('8px')};
2984
+ border-radius: ${field.borderRadius};
3262
2985
  min-width: var(--size);
3263
2986
  height: var(--size);
3264
2987
  padding: 0 ${/*#__PURE__*/polished.rem('5px')};
3265
2988
  display: flex;
3266
2989
  justify-content: center;
3267
2990
  align-items: center;
3268
- color: ${normal$a};
3269
- font-weight: ${bold$4};
2991
+ color: ${colors.black};
2992
+ font-weight: ${typography.semiBold};
3270
2993
  text-decoration: none;
3271
2994
 
3272
2995
  &:hover {
3273
- color: ${blue};
2996
+ color: ${colors.blue500};
3274
2997
  }
3275
2998
 
3276
2999
  svg {
3277
3000
  width: ${/*#__PURE__*/polished.rem('18px')};
3278
3001
  height: auto;
3279
- fill: ${blue};
3002
+ fill: ${colors.blue500};
3280
3003
  }
3281
3004
  }
3282
3005
 
@@ -3284,18 +3007,18 @@ const PaginationWrapper = _styled__default.div`
3284
3007
  pointer-events: none;
3285
3008
 
3286
3009
  a {
3287
- background-color: ${blue};
3288
- color: ${light$g};
3010
+ background-color: ${colors.blue500};
3011
+ color: ${colors.white};
3289
3012
  }
3290
3013
  }
3291
3014
  }
3292
3015
 
3293
3016
  &.dark {
3294
3017
  a {
3295
- color: ${lightGrey$h};
3018
+ color: ${colors.white};
3296
3019
 
3297
3020
  &:hover {
3298
- color: ${light$g};
3021
+ color: ${colors.white};
3299
3022
  }
3300
3023
  }
3301
3024
  }
@@ -3351,14 +3074,7 @@ const PaginationControl = props => {
3351
3074
  }));
3352
3075
  };
3353
3076
 
3354
- const {
3355
- normal: normal$b,
3356
- green: green$9
3357
- } = colors;
3358
- const {
3359
- bold: bold$5
3360
- } = typography;
3361
- const Wrapper$b = _styled__default.div`
3077
+ const Wrapper$a = _styled__default.div`
3362
3078
  min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
3363
3079
  display: flex;
3364
3080
  flex-direction: column;
@@ -3374,16 +3090,16 @@ const Wrapper$b = _styled__default.div`
3374
3090
 
3375
3091
  > span {
3376
3092
  margin-top: ${/*#__PURE__*/polished.rem('15px')};
3377
- font-weight: ${bold$5};
3378
- color: ${normal$b};
3093
+ font-weight: ${typography.semiBold};
3094
+ color: ${colors.black};
3379
3095
 
3380
3096
  a {
3381
- color: ${normal$b};
3382
- transition-duration: 0.3s;
3097
+ color: ${colors.black};
3098
+ transition-duration: ${misc.transitionDuration};
3099
+ }
3383
3100
 
3384
- &:hover {
3385
- color: ${green$9};
3386
- }
3101
+ &:hover {
3102
+ color: ${colors.purple500};
3387
3103
  }
3388
3104
  }
3389
3105
  `;
@@ -3393,7 +3109,7 @@ const Error = props => {
3393
3109
  variant = 'default',
3394
3110
  value
3395
3111
  } = props;
3396
- return /*#__PURE__*/React__default.createElement(Wrapper$b, {
3112
+ return /*#__PURE__*/React__default.createElement(Wrapper$a, {
3397
3113
  variant: variant
3398
3114
  }, variant === 'default' ? /*#__PURE__*/React__default.createElement(Icon, {
3399
3115
  icon: "warning",
@@ -3401,14 +3117,7 @@ const Error = props => {
3401
3117
  }) : /*#__PURE__*/React__default.createElement("span", null, "\u00AF\\\\_(\u30C4)_/\u00AF"), value && /*#__PURE__*/React__default.createElement("span", null, value));
3402
3118
  };
3403
3119
 
3404
- const {
3405
- normal: normal$c,
3406
- green: green$a
3407
- } = colors;
3408
- const {
3409
- bold: bold$6
3410
- } = typography;
3411
- const Wrapper$c = _styled__default.div`
3120
+ const Wrapper$b = _styled__default.div`
3412
3121
  min-height: 50vh;
3413
3122
  display: flex;
3414
3123
  flex-direction: column;
@@ -3424,15 +3133,15 @@ const Wrapper$c = _styled__default.div`
3424
3133
 
3425
3134
  > div {
3426
3135
  margin-top: ${/*#__PURE__*/polished.rem('15px')};
3427
- font-weight: ${bold$6};
3428
- color: ${normal$c};
3136
+ font-weight: ${typography.semiBold};
3137
+ color: ${colors.black};
3429
3138
 
3430
3139
  a {
3431
- color: ${normal$c};
3432
- transition-duration: 0.3s;
3140
+ color: ${colors.black};
3141
+ transition-duration: ${misc.transitionDuration};
3433
3142
 
3434
3143
  &:hover {
3435
- color: ${green$a};
3144
+ color: ${colors.purple500};
3436
3145
  }
3437
3146
  }
3438
3147
  }
@@ -5390,20 +5099,12 @@ const DataWarning = props => {
5390
5099
  default:
5391
5100
  icon = /*#__PURE__*/React__default.createElement(IconLoginOnly, null);
5392
5101
  }
5393
- return /*#__PURE__*/React__default.createElement(Wrapper$c, {
5102
+ return /*#__PURE__*/React__default.createElement(Wrapper$b, {
5394
5103
  type: type
5395
5104
  }, icon, /*#__PURE__*/React__default.createElement("div", null, children));
5396
5105
  };
5397
5106
 
5398
- const {
5399
- normal: normal$d,
5400
- green: green$b,
5401
- darkGreen: darkGreen$5,
5402
- grey: grey$k,
5403
- lightGrey: lightGrey$i,
5404
- red: red$b
5405
- } = colors;
5406
- const Wrapper$d = _styled__default.ul`
5107
+ const Wrapper$c = _styled__default.ul`
5407
5108
  display: flex;
5408
5109
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5409
5110
  position: relative;
@@ -5424,11 +5125,11 @@ const Wrapper$d = _styled__default.ul`
5424
5125
  }
5425
5126
 
5426
5127
  input[type='radio']:checked ~ .check {
5427
- border-color: ${darkGreen$5};
5128
+ border-color: ${field.successBorderColor};
5428
5129
  }
5429
5130
 
5430
5131
  input[type='radio']:checked ~ .check::before {
5431
- background-color: ${green$b};
5132
+ background-color: ${field.successBackgroundColor};
5432
5133
  }
5433
5134
 
5434
5135
  & + span {
@@ -5451,7 +5152,7 @@ const Item = _styled__default.li`
5451
5152
  padding-left: calc(var(--size) + 5px);
5452
5153
  line-height: var(--size);
5453
5154
  vertical-align: middle;
5454
- color: ${props => props.error ? red$b : null};
5155
+ color: ${props => props.error ? field.errorBorderColor : null};
5455
5156
  cursor: pointer;
5456
5157
  z-index: 1;
5457
5158
  }
@@ -5459,11 +5160,12 @@ const Item = _styled__default.li`
5459
5160
  .check {
5460
5161
  position: absolute;
5461
5162
  top: 0;
5462
- border: ${/*#__PURE__*/polished.rem('2px')} solid ${props => props.error ? red$b : grey$k};
5163
+ border: ${/*#__PURE__*/polished.rem('2px')} solid
5164
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
5463
5165
  border-radius: 100%;
5464
5166
  width: var(--size);
5465
5167
  height: var(--size);
5466
- transition-duration: 0.3s;
5168
+ transition-duration: ${misc.transitionDuration};
5467
5169
  display: flex;
5468
5170
  justify-content: center;
5469
5171
  align-items: center;
@@ -5478,21 +5180,21 @@ const Item = _styled__default.li`
5478
5180
  }
5479
5181
 
5480
5182
  &:hover .check {
5481
- border-color: ${normal$d};
5183
+ border-color: ${field.hoverBorderColor};
5482
5184
  }
5483
5185
 
5484
5186
  ${props => props.disabled && _styled.css`
5485
5187
  label {
5486
- color: ${grey$k};
5188
+ color: ${field.disabledColor};
5487
5189
  }
5488
5190
 
5489
5191
  input[type='radio'] ~ .check,
5490
5192
  input[type='radio']:checked ~ .check {
5491
- border-color: ${lightGrey$i};
5193
+ border-color: ${field.disabledColor};
5492
5194
  }
5493
5195
 
5494
5196
  input[type='radio']:checked ~ .check::before {
5495
- background-color: ${lightGrey$i};
5197
+ background-color: ${field.disabledBackgroundColor};
5496
5198
  }
5497
5199
 
5498
5200
  &:hover {
@@ -5517,7 +5219,7 @@ const RadioGroup = props => {
5517
5219
  return /*#__PURE__*/React__default.createElement("div", {
5518
5220
  style: style,
5519
5221
  className: className
5520
- }, /*#__PURE__*/React__default.createElement(Wrapper$d, {
5222
+ }, /*#__PURE__*/React__default.createElement(Wrapper$c, {
5521
5223
  type: type,
5522
5224
  group: group,
5523
5225
  error: error,
@@ -5542,7 +5244,7 @@ const RadioGroup = props => {
5542
5244
  }) : null);
5543
5245
  };
5544
5246
 
5545
- const Wrapper$e = _styled__default.ul`
5247
+ const Wrapper$d = _styled__default.ul`
5546
5248
  display: flex;
5547
5249
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5548
5250
  position: relative;
@@ -5575,7 +5277,7 @@ const CheckboxGroup = props => {
5575
5277
  error,
5576
5278
  disabled
5577
5279
  } = props;
5578
- return /*#__PURE__*/React__default.createElement(Wrapper$e, {
5280
+ return /*#__PURE__*/React__default.createElement(Wrapper$d, {
5579
5281
  type: type,
5580
5282
  error: error
5581
5283
  }, children ? children : options && Array.isArray(options) ? options.map((value, index) => /*#__PURE__*/React__default.createElement("li", {
@@ -5592,32 +5294,23 @@ const CheckboxGroup = props => {
5592
5294
  }) : null);
5593
5295
  };
5594
5296
 
5595
- const Wrapper$f = _styled__default.div`
5297
+ const Wrapper$e = _styled__default.div`
5596
5298
  label {
5597
5299
  margin-bottom: ${/*#__PURE__*/polished.rem('5px')};
5598
5300
  }
5599
5301
  `;
5600
- const {
5601
- grey: grey$l,
5602
- darkGrey: darkGrey$2,
5603
- light: light$h,
5604
- purple500: purple500$4
5605
- } = colors;
5606
5302
  const Field = _styled__default.div`
5607
5303
  display: flex;
5608
5304
  flex-wrap: wrap;
5609
5305
 
5610
5306
  input {
5611
5307
  flex: 1;
5612
- margin-right: 0;
5613
- border-radius: ${/*#__PURE__*/polished.rem('6px')} 0 0 ${/*#__PURE__*/polished.rem('6px')};
5308
+ margin-right: ${/*#__PURE__*/polished.rem('-1px')};
5309
+ border-radius: ${field.borderRadius} 0 0 ${field.borderRadius};
5614
5310
 
5615
- &:focus {
5616
- outline: none;
5617
-
5618
- + button {
5619
- background-color: ${purple500$4};
5620
- }
5311
+ &:disabled {
5312
+ background-color: ${field.backgroundColor};
5313
+ color: ${field.color};
5621
5314
  }
5622
5315
  }
5623
5316
 
@@ -5628,38 +5321,27 @@ const Field = _styled__default.div`
5628
5321
 
5629
5322
  button {
5630
5323
  border: 0;
5631
- border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} 0;
5632
- background-color: ${grey$l};
5324
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} 0;
5633
5325
  min-width: ${/*#__PURE__*/polished.rem('50px')};
5634
- height: ${/*#__PURE__*/polished.rem('50px')};
5326
+ height: ${field.height};
5635
5327
  display: flex;
5636
5328
  justify-content: center;
5637
5329
  align-items: center;
5638
5330
  padding: 0 ${/*#__PURE__*/polished.rem('20px')};
5639
5331
  white-space: nowrap;
5640
- transition-duration: 0.3s;
5332
+ transition-duration: ${misc.transitionDuration};
5641
5333
  cursor: pointer;
5642
5334
 
5643
- svg {
5644
- width: auto;
5645
- min-width: ${/*#__PURE__*/polished.rem('20px')};
5646
- height: ${/*#__PURE__*/polished.rem('20px')};
5647
- fill: ${light$h};
5648
- transition: 0.3s;
5335
+ span {
5336
+ color: ${field.activeColor};
5649
5337
  }
5650
5338
 
5651
- &:hover {
5652
- background-color: ${darkGrey$2};
5339
+ svg {
5340
+ fill: ${field.activeColor};
5653
5341
  }
5654
5342
 
5655
5343
  &:disabled {
5656
- cursor: inherit;
5657
- opacity: 0.5;
5658
-
5659
- &:hover {
5660
- background-color: ${grey$l};
5661
- pointer-events: none;
5662
- }
5344
+ border: ${field.borderWidth} solid ${field.borderColor} !important;
5663
5345
  }
5664
5346
  }
5665
5347
  `;
@@ -5671,30 +5353,23 @@ const FieldWidthButton = props => {
5671
5353
  name,
5672
5354
  placeholder,
5673
5355
  value,
5674
- onChange,
5675
- disabled = false,
5676
- error = '',
5677
5356
  dataTestId,
5678
- required = false,
5679
5357
  buttonIcon,
5680
5358
  buttonValue,
5681
5359
  buttonAction,
5682
5360
  buttonDisabled
5683
5361
  } = props;
5684
- return /*#__PURE__*/React__default.createElement(Wrapper$f, null, label && /*#__PURE__*/React__default.createElement(Label, {
5362
+ return /*#__PURE__*/React__default.createElement(Wrapper$e, null, label && /*#__PURE__*/React__default.createElement(Label, {
5685
5363
  value: label
5686
5364
  }), /*#__PURE__*/React__default.createElement(Field, null, /*#__PURE__*/React__default.createElement(TextField, {
5687
- minimal: false,
5688
5365
  type: type,
5689
5366
  name: name,
5690
5367
  value: value,
5691
- onChange: onChange,
5692
5368
  placeholder: placeholder,
5693
- disabled: disabled,
5694
- error: error,
5695
5369
  dataTestId: dataTestId,
5696
- required: required
5370
+ disabled: true
5697
5371
  }), /*#__PURE__*/React__default.createElement(Button, {
5372
+ color: "purple100",
5698
5373
  icon: buttonIcon,
5699
5374
  value: buttonValue,
5700
5375
  action: buttonAction,
@@ -5702,24 +5377,14 @@ const FieldWidthButton = props => {
5702
5377
  })));
5703
5378
  };
5704
5379
 
5705
- const {
5706
- normal: normal$e,
5707
- purple500: purple500$5,
5708
- grey: grey$m,
5709
- lightGrey: lightGrey$j,
5710
- light: light$i
5711
- } = colors;
5712
- const {
5713
- bold: bold$7
5714
- } = typography;
5715
- const Wrapper$g = /*#__PURE__*/_styled__default.div.withConfig({
5380
+ const Wrapper$f = /*#__PURE__*/_styled__default.div.withConfig({
5716
5381
  displayName: "styles__Wrapper",
5717
5382
  componentId: "sc-znznmm-0"
5718
- })(["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__*/polished.rem('10px'), /*#__PURE__*/polished.rem('10px'), normal$e, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.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);
5383
+ })(["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__*/polished.rem('10px'), /*#__PURE__*/polished.rem('10px'), colors.black, misc.transitionDuration, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.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);
5719
5384
  const More = /*#__PURE__*/_styled__default.div.withConfig({
5720
5385
  displayName: "styles__More",
5721
5386
  componentId: "sc-znznmm-1"
5722
- })(["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__*/polished.rem('1px'), lightGrey$j, /*#__PURE__*/polished.rem('4px'), light$i, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), lightGrey$j, normal$e, normal$e, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('15px'));
5387
+ })(["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__*/polished.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__*/polished.rem('15px'));
5723
5388
 
5724
5389
  const HorizontalNav = props => {
5725
5390
  const [showMore, setShowMore] = React.useState(false);
@@ -5765,7 +5430,7 @@ const HorizontalNav = props => {
5765
5430
  }
5766
5431
  return;
5767
5432
  }, [ref]);
5768
- return /*#__PURE__*/React__default.createElement(Wrapper$g, {
5433
+ return /*#__PURE__*/React__default.createElement(Wrapper$f, {
5769
5434
  ref: ref,
5770
5435
  className: className,
5771
5436
  customColor: customColor
@@ -5787,16 +5452,10 @@ const HorizontalNav = props => {
5787
5452
  })));
5788
5453
  };
5789
5454
 
5790
- const {
5791
- light: light$j
5792
- } = colors;
5793
- const {
5794
- bold: bold$8
5795
- } = typography;
5796
5455
  const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
5797
5456
  displayName: "styles__ModalOverlay",
5798
5457
  componentId: "sc-16r6vcc-0"
5799
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(0, 0, 0, 0.8), props => props.zIndex ? props.zIndex : 10);
5458
+ })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
5800
5459
  const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
5801
5460
  displayName: "styles__ModalWrapper",
5802
5461
  componentId: "sc-16r6vcc-1"
@@ -5804,11 +5463,11 @@ const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
5804
5463
  const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
5805
5464
  displayName: "styles__ModalContainer",
5806
5465
  componentId: "sc-16r6vcc-2"
5807
- })(["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__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('860px'), /*#__PURE__*/polished.rem('1px'));
5466
+ })(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:", ";@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], colors.white, /*#__PURE__*/polished.rem('15px'), misc.transitionDuration, device.s, /*#__PURE__*/polished.rem('30px'), field.borderRadius, /*#__PURE__*/polished.rem('860px'), /*#__PURE__*/polished.rem('1px'));
5808
5467
  const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
5809
5468
  displayName: "styles__ModalHeader",
5810
5469
  componentId: "sc-16r6vcc-3"
5811
- })(["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__*/polished.rem('30px'), bold$8, /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('2px'), colors.grey200, /*#__PURE__*/polished.rem('28px'), /*#__PURE__*/polished.rem('28px'), device.s);
5470
+ })(["display:flex;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;border:", " solid ", ";min-width:", ";height:", ";z-index:1;outline:none;@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold, /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('2px'), colors.grey200, /*#__PURE__*/polished.rem('28px'), /*#__PURE__*/polished.rem('28px'), device.s);
5812
5471
 
5813
5472
  const Modal = props => {
5814
5473
  const {
@@ -5859,12 +5518,6 @@ const Modal = props => {
5859
5518
  })))), document.body) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
5860
5519
  };
5861
5520
 
5862
- const {
5863
- light: light$k
5864
- } = colors;
5865
- const {
5866
- bold: bold$9
5867
- } = typography;
5868
5521
  const slideInLeft = _styled.keyframes`
5869
5522
  from {
5870
5523
  transform: translateX(100%);
@@ -5877,7 +5530,7 @@ const slideInLeft = _styled.keyframes`
5877
5530
  const ModalOverlay$1 = /*#__PURE__*/_styled__default.div.withConfig({
5878
5531
  displayName: "styles__ModalOverlay",
5879
5532
  componentId: "sc-46huls-0"
5880
- })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(0, 0, 0, 0.8), props => props.zIndex ? props.zIndex : 10);
5533
+ })(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
5881
5534
  const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
5882
5535
  displayName: "styles__ModalWrapper",
5883
5536
  componentId: "sc-46huls-1"
@@ -5885,11 +5538,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
5885
5538
  const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
5886
5539
  displayName: "styles__ModalContainer",
5887
5540
  componentId: "sc-46huls-2"
5888
- })(["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__*/polished.rem('15px'), /*#__PURE__*/polished.timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/polished.rem('400px'), /*#__PURE__*/polished.rem('30px'));
5541
+ })(["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__*/polished.rem('15px'), /*#__PURE__*/polished.timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/polished.rem('400px'), /*#__PURE__*/polished.rem('30px'));
5889
5542
  const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
5890
5543
  displayName: "styles__ModalHeader",
5891
5544
  componentId: "sc-46huls-3"
5892
- })(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$9);
5545
+ })(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold);
5893
5546
  const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
5894
5547
  displayName: "styles__ModalContent",
5895
5548
  componentId: "sc-46huls-4"
@@ -5946,10 +5599,7 @@ const ModalDrawer = props => {
5946
5599
  }))))), document.body) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
5947
5600
  };
5948
5601
 
5949
- const {
5950
- lightGrey: lightGrey$k
5951
- } = colors;
5952
- const Wrapper$h = _styled__default.div`
5602
+ const Wrapper$g = _styled__default.div`
5953
5603
  div {
5954
5604
  width: 100%;
5955
5605
  height: 100%;
@@ -6010,7 +5660,7 @@ const Wrapper$h = _styled__default.div`
6010
5660
 
6011
5661
  .card {
6012
5662
  position: relative;
6013
- border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$k};
5663
+ border: ${/*#__PURE__*/polished.rem('2px')} solid ${colors.grey50};
6014
5664
  border-radius: ${/*#__PURE__*/polished.rem('6px')};
6015
5665
  width: ${/*#__PURE__*/polished.rem('300px')};
6016
5666
  overflow: hidden;
@@ -6025,7 +5675,7 @@ const Wrapper$h = _styled__default.div`
6025
5675
  margin: ${/*#__PURE__*/polished.rem('-45px')} 0 0 ${/*#__PURE__*/polished.rem('20px')};
6026
5676
  width: ${/*#__PURE__*/polished.rem('90px')};
6027
5677
  height: ${/*#__PURE__*/polished.rem('90px')};
6028
- border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$k};
5678
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.grey50};
6029
5679
  border-radius: 999px;
6030
5680
  }
6031
5681
 
@@ -6112,48 +5762,43 @@ const LoadingState = props => {
6112
5762
  className: "subtitle"
6113
5763
  }), paragraphs));
6114
5764
  }
6115
- return /*#__PURE__*/React__default.createElement(Wrapper$h, {
5765
+ return /*#__PURE__*/React__default.createElement(Wrapper$g, {
6116
5766
  type: type
6117
5767
  }, loadingType);
6118
5768
  };
6119
5769
 
6120
- const {
6121
- normal: normal$f,
6122
- grey: grey$n,
6123
- lightGrey: lightGrey$l,
6124
- light: light$l
6125
- } = colors;
6126
- const Wrapper$i = _styled__default.div`
5770
+ const Wrapper$h = _styled__default.div`
6127
5771
  .tab {
6128
- border-color: ${lightGrey$l};
5772
+ border-color: ${field.borderColor};
6129
5773
 
6130
5774
  &[aria-selected='true'] {
6131
5775
  border-bottom: 0;
6132
5776
  }
6133
5777
 
6134
5778
  &[aria-selected='false'] {
6135
- background-color: ${lightGrey$l};
6136
- color: ${grey$n};
6137
- transition-duration: 0.3s;
5779
+ background-color: ${field.borderColor};
5780
+ color: ${colors.black};
5781
+ transition-duration: ${misc.transitionDuration};
6138
5782
 
6139
5783
  &:hover {
6140
- color: ${normal$f};
5784
+ color: ${colors.black};
6141
5785
  }
6142
5786
  }
6143
5787
 
6144
5788
  &:first-child {
6145
- border-top-left-radius: ${/*#__PURE__*/polished.rem('6px')};
5789
+ border-top-left-radius: ${field.borderRadius};
6146
5790
  }
6147
5791
 
6148
5792
  &:last-child {
6149
- border-top-right-radius: ${/*#__PURE__*/polished.rem('6px')};
5793
+ border-top-right-radius: ${field.borderRadius};
6150
5794
  }
6151
5795
  }
6152
5796
 
6153
5797
  .panel {
6154
- border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')};
6155
- border-color: ${lightGrey$l};
6156
- background-color: ${light$l};
5798
+ // prettier-ignore
5799
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} ${field.borderRadius};
5800
+ border-color: ${field.borderColor};
5801
+ background-color: ${colors.white};
6157
5802
  padding: ${/*#__PURE__*/polished.rem('30px')};
6158
5803
  }
6159
5804
 
@@ -6173,8 +5818,8 @@ const Wrapper$i = _styled__default.div`
6173
5818
  .RRT__tab {
6174
5819
  background: #eee;
6175
5820
  border-style: solid;
6176
- border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
6177
- border-width: ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} 0;
5821
+ border-color: ${field.borderColor};
5822
+ border-width: ${field.borderWidth} ${field.borderWidth} ${field.borderWidth} 0;
6178
5823
  cursor: pointer;
6179
5824
  z-index: 1;
6180
5825
  white-space: nowrap;
@@ -6183,24 +5828,24 @@ const Wrapper$i = _styled__default.div`
6183
5828
 
6184
5829
  .RRT__tab:focus {
6185
5830
  outline: 0;
6186
- background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
5831
+ background-color: ${field.borderColor};
6187
5832
  }
6188
5833
 
6189
5834
  .RRT__accordion .RRT__tab {
6190
- border-left-width: ${/*#__PURE__*/polished.rem('1px')};
5835
+ border-left-width: ${field.borderWidth};
6191
5836
  }
6192
5837
 
6193
5838
  .RRT__tab--first {
6194
- border-left-width: ${/*#__PURE__*/polished.rem('1px')};
5839
+ border-left-width: ${field.borderWidth};
6195
5840
  }
6196
5841
 
6197
5842
  .RRT__tab--selected {
6198
- background: ${light$l};
6199
- border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)} ${/*#__PURE__*/polished.lighten(0.25, grey$n)} ${light$l};
5843
+ background: ${colors.white};
5844
+ border-color: ${field.borderColor} ${field.borderColor} ${colors.white};
6200
5845
  }
6201
5846
 
6202
5847
  .RRT__tab--selected:focus {
6203
- background-color: ${light$l};
5848
+ background-color: ${colors.white};
6204
5849
  }
6205
5850
 
6206
5851
  .RRT__tab--disabled {
@@ -6230,7 +5875,7 @@ const Wrapper$i = _styled__default.div`
6230
5875
  .RRT__panel {
6231
5876
  margin-top: ${/*#__PURE__*/polished.rem('-1px')};
6232
5877
  padding: 1em;
6233
- border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
5878
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
6234
5879
  }
6235
5880
 
6236
5881
  .RRT__panel--hidden {
@@ -6242,9 +5887,9 @@ const Wrapper$i = _styled__default.div`
6242
5887
  }
6243
5888
 
6244
5889
  .RRT__showmore {
6245
- background: ${lightGrey$l};
6246
- border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
6247
- border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} 0 0;
5890
+ background: ${field.borderColor};
5891
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
5892
+ border-radius: 0 ${field.borderRadius} 0 0;
6248
5893
  cursor: pointer;
6249
5894
  z-index: 1;
6250
5895
  white-space: nowrap;
@@ -6253,7 +5898,7 @@ const Wrapper$i = _styled__default.div`
6253
5898
  }
6254
5899
 
6255
5900
  .RRT__showmore--selected {
6256
- background: ${light$l};
5901
+ background: ${colors.white};
6257
5902
  border-bottom: none;
6258
5903
  }
6259
5904
 
@@ -6264,7 +5909,7 @@ const Wrapper$i = _styled__default.div`
6264
5909
  }
6265
5910
 
6266
5911
  .RRT__showmore-label--selected {
6267
- background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
5912
+ background-color: ${field.borderColor};
6268
5913
  }
6269
5914
 
6270
5915
  .RRT__showmore-list {
@@ -6300,7 +5945,7 @@ const TabsPanel = props => {
6300
5945
  getContent: () => tab.renderer
6301
5946
  }));
6302
5947
  };
6303
- return /*#__PURE__*/React__default.createElement(Wrapper$i, null, /*#__PURE__*/React__default.createElement(Tabs, {
5948
+ return /*#__PURE__*/React__default.createElement(Wrapper$h, null, /*#__PURE__*/React__default.createElement(Tabs, {
6304
5949
  transform: false,
6305
5950
  unmountOnExit: unmountOnExit,
6306
5951
  selectedTabKey: selectedTabKey,
@@ -6310,7 +5955,7 @@ const TabsPanel = props => {
6310
5955
  }));
6311
5956
  };
6312
5957
 
6313
- const Wrapper$j = _styled__default.div`
5958
+ const Wrapper$i = _styled__default.div`
6314
5959
  display: flex;
6315
5960
  flex-direction: column;
6316
5961
  `;
@@ -6330,7 +5975,7 @@ const TabsPanel$1 = props => {
6330
5975
  className = 'grid-container',
6331
5976
  children
6332
5977
  } = props;
6333
- return /*#__PURE__*/React__default.createElement(Wrapper$j, {
5978
+ return /*#__PURE__*/React__default.createElement(Wrapper$i, {
6334
5979
  className: className
6335
5980
  }, children);
6336
5981
  };
@@ -6358,7 +6003,6 @@ const GridCol$1 = props => {
6358
6003
  };
6359
6004
 
6360
6005
  exports.ActionsMenu = ActionsMenu;
6361
- exports.AlertNotification = AlertNotification;
6362
6006
  exports.AvatarImage = AvatarImage;
6363
6007
  exports.Button = Button;
6364
6008
  exports.ButtonDropdown = ButtonDropdown;