@taikai/rocket-kit 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/dist/atoms/avatar-image/index.d.ts +2 -2
  2. package/dist/atoms/avatar-image/stories/avatar-image.stories.d.ts +5 -5
  3. package/dist/atoms/button/index.d.ts +1 -1
  4. package/dist/atoms/button/stories/button.stories.d.ts +3 -3
  5. package/dist/atoms/button-dropdown/index.d.ts +2 -2
  6. package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +3 -3
  7. package/dist/atoms/button-link/index.d.ts +1 -1
  8. package/dist/atoms/button-link/stories/button-link.stories.d.ts +3 -3
  9. package/dist/atoms/checkbox/index.d.ts +1 -1
  10. package/dist/atoms/checkbox-button/index.d.ts +1 -1
  11. package/dist/atoms/checkbox-button/stories/checkbox-button.stories.d.ts +3 -3
  12. package/dist/atoms/error-field/index.d.ts +2 -2
  13. package/dist/atoms/file-picker/index.d.ts +1 -2
  14. package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +3 -4
  15. package/dist/atoms/file-picker/styles.d.ts +0 -1
  16. package/dist/atoms/icon/index.d.ts +2 -2
  17. package/dist/atoms/icon/stories/icon.stories.d.ts +5 -5
  18. package/dist/atoms/label/index.d.ts +1 -1
  19. package/dist/atoms/label/stories/label.stories.d.ts +4 -4
  20. package/dist/atoms/progress-bar/index.d.ts +2 -1
  21. package/dist/atoms/progress-bar/stories/progress-bar.stories.d.ts +3 -3
  22. package/dist/atoms/select/index.d.ts +1 -2
  23. package/dist/atoms/select/stories/select.stories.d.ts +3 -9
  24. package/dist/atoms/select/styles.d.ts +0 -1
  25. package/dist/atoms/select-interactive/components/index.d.ts +4 -3
  26. package/dist/atoms/select-interactive/index.d.ts +2 -1
  27. package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +6 -6
  28. package/dist/atoms/select-interactive/styles.d.ts +1 -0
  29. package/dist/atoms/slideshow/index.d.ts +2 -1
  30. package/dist/atoms/slideshow/stories/slideshow.stories.d.ts +3 -3
  31. package/dist/atoms/spinner/index.d.ts +2 -2
  32. package/dist/atoms/tag/index.d.ts +2 -2
  33. package/dist/atoms/tag/stories/tag.stories.d.ts +3 -3
  34. package/dist/atoms/tag-number/index.d.ts +2 -2
  35. package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +3 -3
  36. package/dist/atoms/text-area/index.d.ts +1 -2
  37. package/dist/atoms/text-area/stories/text-area.stories.d.ts +8 -21
  38. package/dist/atoms/text-area/styles.d.ts +0 -1
  39. package/dist/atoms/text-field/index.d.ts +1 -2
  40. package/dist/atoms/text-field/styles.d.ts +0 -1
  41. package/dist/atoms/text-field-appendix/index.d.ts +1 -1
  42. package/dist/atoms/text-field-appendix/stories/text-field-appendix.stories.d.ts +4 -4
  43. package/dist/atoms/toggle/index.d.ts +2 -1
  44. package/dist/atoms/toggle/stories/toogle.stories.d.ts +3 -3
  45. package/dist/atoms/truncate-line/index.d.ts +2 -2
  46. package/dist/atoms/truncate-line/stories/truncate-line.stories.d.ts +3 -3
  47. package/dist/atoms/video-player/index.d.ts +4 -1
  48. package/dist/atoms/video-player/stories/video-player.stories.d.ts +3 -3
  49. package/dist/index.d.ts +0 -1
  50. package/dist/ions/icon-empty-data.d.ts +2 -1
  51. package/dist/ions/icon-login-only.d.ts +2 -1
  52. package/dist/ions/variables.d.ts +19 -17
  53. package/dist/molecules/actions-menu/index.d.ts +3 -2
  54. package/dist/molecules/card-value/index.d.ts +1 -1
  55. package/dist/molecules/card-value/stories/card-value.stories.d.ts +5 -5
  56. package/dist/molecules/card-value/styles.d.ts +0 -1
  57. package/dist/molecules/checkbox-group/index.d.ts +1 -1
  58. package/dist/molecules/checkbox-group/stories/checkbox-group.stories.d.ts +3 -3
  59. package/dist/molecules/data-warning/index.d.ts +1 -1
  60. package/dist/molecules/data-warning/stories/data-warning.stories.d.ts +3 -3
  61. package/dist/molecules/empty-table/index.d.ts +2 -1
  62. package/dist/molecules/empty-table/stories/empty-table.stories.d.ts +3 -3
  63. package/dist/molecules/error/index.d.ts +2 -1
  64. package/dist/molecules/error/stories/error.stories.d.ts +3 -3
  65. package/dist/molecules/field-with-button/index.d.ts +1 -5
  66. package/dist/molecules/field-with-button/stories/field-with-button.stories.d.ts +3 -4
  67. package/dist/molecules/form-group/index.d.ts +1 -1
  68. package/dist/molecules/form-group/stories/form-group.stories.d.ts +3 -3
  69. package/dist/molecules/modal-footer/index.d.ts +1 -1
  70. package/dist/molecules/modal-footer/stories/modal-footer.stories.d.ts +4 -4
  71. package/dist/molecules/note-card/index.d.ts +1 -1
  72. package/dist/molecules/number-input-spinner/index.d.ts +2 -1
  73. package/dist/molecules/number-input-spinner/stories/number-input-spinner.stories.d.ts +4 -4
  74. package/dist/molecules/pagination-control/index.d.ts +1 -1
  75. package/dist/molecules/pagination-control/stories/pagination-control.stories.d.ts +4 -4
  76. package/dist/molecules/radio-group/index.d.ts +1 -1
  77. package/dist/molecules/radio-group/stories/radio-group.stories.d.ts +3 -3
  78. package/dist/molecules/table/index.d.ts +1 -1
  79. package/dist/molecules/table/stories/table.stories.d.ts +4 -4
  80. package/dist/molecules/table-dnd/index.d.ts +1 -1
  81. package/dist/molecules/table-dnd/stories/table-dnd.stories.d.ts +3 -3
  82. package/dist/molecules/wizard-steps/index.d.ts +2 -2
  83. package/dist/molecules/wizard-steps/stories/wizard-steps.stories.d.ts +4 -4
  84. package/dist/organisms/grid-container/grid-col.d.ts +1 -1
  85. package/dist/organisms/grid-container/grid-row.d.ts +2 -1
  86. package/dist/organisms/grid-container/index.d.ts +1 -1
  87. package/dist/organisms/grid-container/stories/grid-container.stories.d.ts +3 -3
  88. package/dist/organisms/horizontal-nav/index.d.ts +2 -1
  89. package/dist/organisms/horizontal-nav/stories/horizontal-nav.stories.d.ts +4 -4
  90. package/dist/organisms/loading-state/index.d.ts +2 -1
  91. package/dist/organisms/loading-state/stories/loading-state.stories.d.ts +3 -3
  92. package/dist/organisms/modal/index.d.ts +1 -1
  93. package/dist/organisms/modal/stories/modal.stories.d.ts +4 -4
  94. package/dist/organisms/modal-drawer/index.d.ts +1 -1
  95. package/dist/organisms/modal-drawer/stories/modal-drawer.stories.d.ts +4 -4
  96. package/dist/organisms/tabs-panel/index.d.ts +1 -1
  97. package/dist/organisms/tabs-panel/stories/tabs-panel.stories.d.ts +4 -4
  98. package/dist/rocket-kit.cjs.development.js +353 -705
  99. package/dist/rocket-kit.cjs.development.js.map +1 -1
  100. package/dist/rocket-kit.cjs.production.min.js +413 -476
  101. package/dist/rocket-kit.cjs.production.min.js.map +1 -1
  102. package/dist/rocket-kit.esm.js +355 -706
  103. package/dist/rocket-kit.esm.js.map +1 -1
  104. package/package.json +3 -3
  105. package/dist/molecules/alert-notification/index.d.ts +0 -11
  106. package/dist/molecules/alert-notification/stories/alert-notification.stories.d.ts +0 -25
  107. package/dist/molecules/alert-notification/styles.d.ts +0 -5
@@ -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.grey500, /*#__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;
@@ -1987,7 +1912,9 @@ const VideoPlayer = props => {
1987
1912
  controls = false,
1988
1913
  width = '100%',
1989
1914
  height = '100%',
1990
- onEnded
1915
+ onEnded,
1916
+ onReady,
1917
+ onError
1991
1918
  } = props;
1992
1919
  return /*#__PURE__*/React__default.createElement(Wrapper$4, null, /*#__PURE__*/React__default.createElement(ReactPlayer, {
1993
1920
  style: {
@@ -2001,39 +1928,38 @@ const VideoPlayer = props => {
2001
1928
  controls: controls,
2002
1929
  width: width,
2003
1930
  height: height,
2004
- onEnded: onEnded
1931
+ onEnded: onEnded,
1932
+ onReady: onReady,
1933
+ onError: onError
2005
1934
  }));
2006
1935
  };
2007
1936
 
2008
- const {
2009
- lightGrey: lightGrey$8,
2010
- green: green$3
2011
- } = colors;
2012
- const {
2013
- bold
2014
- } = typography;
2015
1937
  const Wrapper$5 = _styled__default.div`
2016
1938
  display: flex;
2017
1939
  align-items: center;
2018
1940
  `;
2019
1941
  const Bar = _styled__default.div`
2020
1942
  flex: 1;
1943
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.purple100};
2021
1944
  border-radius: 999px;
2022
- background-color: ${lightGrey$8};
1945
+ background-color: ${colors.grey50};
2023
1946
  height: ${/*#__PURE__*/polished.rem('10px')};
2024
1947
  overflow: hidden;
2025
1948
  `;
2026
1949
  const Progress = _styled__default.div`
2027
1950
  border-radius: 999px;
2028
- background-color: ${green$3};
1951
+ background-color: ${colors.purple500};
2029
1952
  height: 100%;
2030
1953
  width: ${props => props.progress ? `${props.progress}%` : 0};
2031
1954
  transition-duration: 2s;
2032
1955
  `;
2033
1956
  const Value = _styled__default.div`
2034
1957
  margin-left: ${/*#__PURE__*/polished.rem('5px')};
2035
- font-size: 0.75rem;
2036
- font-weight: ${bold};
1958
+ font-size: ${typography.fontSizeXs};
1959
+ font-weight: ${typography.regular};
1960
+ color: ${colors.purple400};
1961
+ letter-spacing: ${/*#__PURE__*/polished.rem('1px')};
1962
+ text-transform: uppercase;
2037
1963
  `;
2038
1964
 
2039
1965
  const ProgressBar = props => {
@@ -2046,11 +1972,6 @@ const ProgressBar = props => {
2046
1972
  })), value && /*#__PURE__*/React__default.createElement(Value, null, value));
2047
1973
  };
2048
1974
 
2049
- const {
2050
- light: light$7,
2051
- green: green$4,
2052
- lightGrey: lightGrey$9
2053
- } = colors;
2054
1975
  const Switcher = _styled__default.fieldset`
2055
1976
  margin: 0;
2056
1977
  border: none;
@@ -2073,9 +1994,9 @@ const Switcher = _styled__default.fieldset`
2073
1994
  display: inline-block;
2074
1995
  vertical-align: middle;
2075
1996
  width: ${/*#__PURE__*/polished.rem('40px')};
2076
- height: ${/*#__PURE__*/polished.rem('24px')};
1997
+ height: ${/*#__PURE__*/polished.rem('25px')};
2077
1998
  border-radius: 999px;
2078
- border: 2px solid ${light$7};
1999
+ border: ${field.borderWidth} solid ${field.borderColor};
2079
2000
  position: relative;
2080
2001
  opacity: ${props => props.disabled ? '0.5' : '1'};
2081
2002
 
@@ -2087,7 +2008,7 @@ const Switcher = _styled__default.fieldset`
2087
2008
 
2088
2009
  input[type='radio'] {
2089
2010
  display: inline-block;
2090
- margin: 0 ${/*#__PURE__*/polished.rem('-2px')} 0 0;
2011
+ margin: 0 ${/*#__PURE__*/polished.rem('-3px')} 0 0;
2091
2012
  width: 50%;
2092
2013
  height: 100%;
2093
2014
  opacity: 0;
@@ -2100,7 +2021,7 @@ const Switcher = _styled__default.fieldset`
2100
2021
  }
2101
2022
 
2102
2023
  &.switch-on:checked ~ .bg {
2103
- background-color: ${green$4};
2024
+ background-color: ${colors.green500};
2104
2025
  }
2105
2026
 
2106
2027
  &.switch-off:checked ~ .switcher {
@@ -2108,21 +2029,21 @@ const Switcher = _styled__default.fieldset`
2108
2029
  }
2109
2030
 
2110
2031
  &.switch-off:checked ~ .bg {
2111
- background-color: ${lightGrey$9};
2032
+ background-color: ${colors.grey100};
2112
2033
  }
2113
2034
  }
2114
2035
 
2115
2036
  .switcher {
2116
2037
  display: block;
2117
2038
  position: absolute;
2118
- top: ${/*#__PURE__*/polished.rem('2px')};
2119
- left: ${/*#__PURE__*/polished.rem('2px')};
2039
+ top: ${/*#__PURE__*/polished.rem('3px')};
2040
+ left: ${/*#__PURE__*/polished.rem('3px')};
2120
2041
  right: 100%;
2121
2042
  width: ${/*#__PURE__*/polished.rem('16px')};
2122
2043
  height: ${/*#__PURE__*/polished.rem('16px')};
2123
2044
  border-radius: 50%;
2124
- background-color: ${light$7};
2125
- transition: all 0.3s ease-out;
2045
+ background-color: ${colors.white};
2046
+ transition: all ${misc.transitionDuration} ease-out;
2126
2047
  z-index: 2;
2127
2048
  }
2128
2049
 
@@ -2135,8 +2056,8 @@ const Switcher = _styled__default.fieldset`
2135
2056
  z-index: 0;
2136
2057
  border-radius: 999px;
2137
2058
  background-color: transparent;
2138
- transition: all 0.3s ease-out;
2139
- background-color: ${lightGrey$9};
2059
+ transition: all ${misc.transitionDuration} ease-out;
2060
+ background-color: ${colors.grey200};
2140
2061
  }
2141
2062
  }
2142
2063
  }
@@ -2221,16 +2142,6 @@ const Toggle = ({
2221
2142
  }, labelRight)));
2222
2143
  };
2223
2144
 
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
2145
  const Wrapper$6 = _styled__default.div`
2235
2146
  input {
2236
2147
  width: 0.1px;
@@ -2243,20 +2154,21 @@ const Wrapper$6 = _styled__default.div`
2243
2154
 
2244
2155
  label {
2245
2156
  margin-bottom: 0 !important;
2246
- border-width: ${props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px')};
2157
+ border-width: ${field.borderWidth};
2247
2158
  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'};
2159
+ border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
2160
+ border-radius: ${field.borderRadius};
2161
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : 'transparent'};
2251
2162
  display: flex;
2252
2163
  justify-content: space-between;
2253
2164
  align-items: center;
2254
2165
  width: 100%;
2255
- height: ${/*#__PURE__*/polished.rem('50px')};
2166
+ height: ${field.height};
2256
2167
  -webkit-appearance: none;
2257
2168
  outline: none;
2258
2169
  cursor: ${props => props.disabled ? 'default' : 'pointer'};
2259
2170
  pointer-events: ${props => props.disabled ? 'none' : ''};
2171
+ transition-duration: ${misc.transitionDuration};
2260
2172
  overflow: hidden;
2261
2173
 
2262
2174
  span {
@@ -2266,45 +2178,47 @@ const Wrapper$6 = _styled__default.div`
2266
2178
  &.file-name {
2267
2179
  flex: 1;
2268
2180
  display: block;
2269
- padding: ${props => props.minimal ? 0 : `0 ${polished.rem('10px')}`};
2270
- color: ${props => props.disabled ? grey$b : normal$5};
2181
+ padding: ${`0 ${/*#__PURE__*/polished.rem('10px')}`};
2182
+ color: ${props => props.disabled ? field.disabledColor : field.color};
2271
2183
  white-space: nowrap;
2272
2184
  overflow: hidden;
2273
2185
  text-overflow: ellipsis;
2274
2186
  }
2275
2187
 
2276
2188
  &.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};
2189
+ border-left: ${props => `${field.borderWidth} solid ${props.error ? field.errorBorderColor : field.borderColor}`};
2190
+ background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.error ? field.errorBackgroundColor : field.borderColor};
2279
2191
  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;
2192
+ padding: ${`0 ${/*#__PURE__*/polished.rem('20px')}`};
2193
+ color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
2194
+ transition-duration: ${misc.transitionDuration};
2283
2195
 
2284
2196
  svg {
2285
2197
  margin-right: ${/*#__PURE__*/polished.rem('8px')};
2286
2198
  width: auto;
2287
2199
  height: ${/*#__PURE__*/polished.rem('24px')};
2288
- fill: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
2289
- transition-duration: 0.3s;
2200
+ fill: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
2201
+ transition-duration: ${misc.transitionDuration};
2290
2202
  }
2291
2203
 
2292
2204
  &: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
- }
2205
+ background-color: ${field.hoverBorderColor};
2299
2206
  }
2300
2207
  }
2301
2208
  }
2209
+
2210
+ &:hover {
2211
+ border-color: ${field.hoverBorderColor};
2212
+
2213
+ span.button {
2214
+ background-color: ${field.hoverBorderColor};
2215
+ }
2216
+ }
2302
2217
  }
2303
2218
  `;
2304
2219
 
2305
2220
  const FilePicker = props => {
2306
2221
  const {
2307
- minimal = false,
2308
2222
  name,
2309
2223
  accept,
2310
2224
  multiple = false,
@@ -2327,7 +2241,6 @@ const FilePicker = props => {
2327
2241
  };
2328
2242
  return /*#__PURE__*/React__default.createElement(Wrapper$6, {
2329
2243
  disabled: disabled,
2330
- minimal: minimal,
2331
2244
  error: !!error
2332
2245
  }, /*#__PURE__*/React__default.createElement("input", {
2333
2246
  id: name,
@@ -2353,12 +2266,6 @@ const FilePicker = props => {
2353
2266
  }));
2354
2267
  };
2355
2268
 
2356
- const {
2357
- normal: normal$6,
2358
- light: light$9,
2359
- lightGrey: lightGrey$b,
2360
- red: red$7
2361
- } = colors;
2362
2269
  const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
2363
2270
  displayName: "styles__ActionsMenuStyle",
2364
2271
  componentId: "sc-1peafop-0"
@@ -2366,11 +2273,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
2366
2273
  const List = /*#__PURE__*/_styled__default.ul.withConfig({
2367
2274
  displayName: "styles__List",
2368
2275
  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`
2276
+ })(["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
2277
  --margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
2371
2278
  top: var(--margin);
2372
2279
  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);
2280
+ `, /*#__PURE__*/polished.rem('45px'), field.hoverBorderColor, field.borderWidth, field.borderColor, field.errorBorderColor, field.disabledColor, /*#__PURE__*/polished.rem('20px'), field.color);
2374
2281
 
2375
2282
  const ActionMenuList = props => {
2376
2283
  const {
@@ -2441,18 +2348,10 @@ const ActionsMenu = props => {
2441
2348
  }) : null);
2442
2349
  };
2443
2350
 
2444
- const {
2445
- light: light$a,
2446
- grey: grey$c
2447
- } = colors;
2448
2351
  const CardValueStyle = /*#__PURE__*/_styled__default.div.withConfig({
2449
2352
  displayName: "styles__CardValueStyle",
2450
2353
  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'));
2354
+ })(["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
2355
 
2457
2356
  const CardValue = props => {
2458
2357
  const {
@@ -2471,20 +2370,14 @@ const CardValue = props => {
2471
2370
  }, /*#__PURE__*/React__default.createElement(Label, {
2472
2371
  value: label,
2473
2372
  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",
2373
+ }), /*#__PURE__*/React__default.createElement("span", null, value), description && /*#__PURE__*/React__default.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React__default.createElement(Button, {
2374
+ color: "grey150",
2375
+ txtColor: "grey500",
2476
2376
  value: buttonValue,
2477
2377
  action: onClick
2478
- })));
2378
+ }));
2479
2379
  };
2480
2380
 
2481
- const {
2482
- grey: grey$d,
2483
- light: light$b
2484
- } = colors;
2485
- const {
2486
- bold: bold$1
2487
- } = typography;
2488
2381
  const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2489
2382
  displayName: "styles__EmptyTableWrapper",
2490
2383
  componentId: "sc-1dgsb9l-0"
@@ -2492,23 +2385,23 @@ const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2492
2385
  const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
2493
2386
  displayName: "styles__EmptyTableHead",
2494
2387
  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);
2388
+ })(["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
2389
  const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
2497
2390
  displayName: "styles__EmptyTableBody",
2498
2391
  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'));
2392
+ })(["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
2393
  const EmptyTableRow = /*#__PURE__*/_styled__default.div.withConfig({
2501
2394
  displayName: "styles__EmptyTableRow",
2502
2395
  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);
2396
+ })(["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
2397
  const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
2505
2398
  displayName: "styles__EmptyTableCellText",
2506
2399
  componentId: "sc-1dgsb9l-4"
2507
- })(["background-color:#edeef1;width:100%;height:", ";"], /*#__PURE__*/polished.rem('15px'));
2400
+ })(["background-color:", ";width:100%;height:", ";"], colors.grey200, /*#__PURE__*/polished.rem('15px'));
2508
2401
  const EmptyTableOverlay = /*#__PURE__*/_styled__default.div.withConfig({
2509
2402
  displayName: "styles__EmptyTableOverlay",
2510
2403
  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);
2404
+ })(["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
2405
 
2513
2406
  const EmptyTable = props => {
2514
2407
  let rows = [];
@@ -2564,53 +2457,42 @@ const ModalFooter = props => {
2564
2457
  }), children);
2565
2458
  };
2566
2459
 
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
2460
  const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
2579
2461
  displayName: "styles__Wrapper",
2580
2462
  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};
2463
+ })(["--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`
2464
+ --borderColor: ${field.borderColor};
2465
+ --backgroundColor: ${colors.purple50};
2466
+ --dark: ${colors.purple400};
2585
2467
  `, props => props.color === 'green' && _styled.css`
2586
- --default: ${green$6};
2587
- --light: ${lightGreen};
2588
- --dark: ${darkGreen$3};
2468
+ --borderColor: ${field.successBorderColor};
2469
+ --backgroundColor: ${field.successBackgroundColor};
2470
+ --dark: ${colors.green900};
2589
2471
  `, 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`
2472
+ --borderColor: ${field.errorBorderColor};
2473
+ --backgroundColor: ${field.errorBackgroundColor};
2474
+ --dark: ${colors.red800};
2475
+ `, field.borderWidth, field.borderRadius, /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
2594
2476
  button {
2595
2477
  margin: ${polished.rem('30px')} 0 0 0;
2596
2478
  border: 0;
2597
- border-radius: ${polished.rem('6px')};
2598
- background-color: var(--default);
2479
+ border-radius: ${field.borderRadius};
2480
+ background-color: var(--borderColor);
2599
2481
  height: ${polished.rem('36px')};
2600
2482
  display: flex;
2601
2483
  justify-content: center;
2602
2484
  align-items: center;
2603
2485
  padding: ${polished.rem('20px')};
2604
- font-size: 0.75rem;
2605
- font-weight: bold;
2606
- text-transform: uppercase;
2607
- color: hsl(0, 0%, 100%);
2486
+ font-size: ${typography.fontSizeSm};
2487
+ font-weight: ${typography.medium};
2488
+ color: var(--dark);
2608
2489
  white-space: nowrap;
2609
- transition-duration: 0.3s;
2490
+ transition-duration: ${misc.transitionDuration};
2610
2491
  cursor: pointer;
2611
2492
 
2612
2493
  &:hover {
2613
2494
  background-color: var(--dark);
2495
+ color: ${colors.white};
2614
2496
  }
2615
2497
  }
2616
2498
 
@@ -2647,15 +2529,6 @@ function hasValue(value) {
2647
2529
  return value !== undefined && value !== null;
2648
2530
  }
2649
2531
 
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
2532
  const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2660
2533
  displayName: "styles__TableWrapper",
2661
2534
  componentId: "sc-vmoy3z-0"
@@ -2663,11 +2536,11 @@ const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2663
2536
  const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
2664
2537
  displayName: "styles__OverflowWrapper",
2665
2538
  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'));
2539
+ })(["@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
2540
  const Table = /*#__PURE__*/_styled__default.table.withConfig({
2668
2541
  displayName: "styles__Table",
2669
2542
  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`
2543
+ })(["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
2544
  width: ${polished.rem('75px')};
2672
2545
  height: ${polished.rem('15px')};
2673
2546
  background: #f6f7f8;
@@ -2685,7 +2558,7 @@ const Table = /*#__PURE__*/_styled__default.table.withConfig({
2685
2558
  animation-timing-function: linear;
2686
2559
  animation-iteration-count: infinite;
2687
2560
  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'));
2561
+ `, /*#__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
2562
  const SkeletonCell = /*#__PURE__*/_styled__default.div.withConfig({
2690
2563
  displayName: "styles__SkeletonCell",
2691
2564
  componentId: "sc-vmoy3z-3"
@@ -2782,7 +2655,7 @@ const Table$1 = props => {
2782
2655
  ref: ref
2783
2656
  }, /*#__PURE__*/React__default.createElement(Button, {
2784
2657
  variant: "text",
2785
- color: "grey",
2658
+ color: "grey500",
2786
2659
  icon: "menuVert",
2787
2660
  action: evt => {
2788
2661
  evt.preventDefault();
@@ -2802,26 +2675,15 @@ const Table$1 = props => {
2802
2675
  })));
2803
2676
  };
2804
2677
 
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
2678
  const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
2814
2679
  displayName: "styles__Table",
2815
2680
  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'));
2681
+ })(["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
2682
  const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
2818
2683
  displayName: "styles__TableRow",
2819
2684
  componentId: "sc-1p618q0-1"
2820
2685
  })(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
2821
2686
 
2822
- const {
2823
- light: light$d
2824
- } = colors;
2825
2687
  const TableDnD = props => {
2826
2688
  const {
2827
2689
  border = false,
@@ -2871,11 +2733,11 @@ const TableDnD = props => {
2871
2733
  };
2872
2734
  const getItemStyle = (isDragging, draggableStyle) => ({
2873
2735
  userSelect: 'none',
2874
- background: isDragging ? light$d : 'transparent',
2736
+ background: isDragging ? colors.white : 'transparent',
2875
2737
  ...draggableStyle
2876
2738
  });
2877
2739
  const getListStyle = isDraggingOver => ({
2878
- background: isDraggingOver ? light$d : 'transparent'
2740
+ background: isDraggingOver ? colors.white : 'transparent'
2879
2741
  });
2880
2742
  return (
2881
2743
  /*#__PURE__*/
@@ -2953,7 +2815,7 @@ const TableDnD = props => {
2953
2815
  ref: ref
2954
2816
  }, /*#__PURE__*/React__default.createElement(Button, {
2955
2817
  variant: "text",
2956
- color: "grey",
2818
+ color: "grey500",
2957
2819
  icon: "menuVert",
2958
2820
  action: evt => {
2959
2821
  evt.preventDefault();
@@ -2971,15 +2833,10 @@ const TableDnD = props => {
2971
2833
  );
2972
2834
  };
2973
2835
 
2974
- const {
2975
- normal: normal$9,
2976
- grey: grey$h,
2977
- red: red$9
2978
- } = colors;
2979
2836
  const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
2980
2837
  displayName: "styles__Wrapper",
2981
2838
  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'));
2839
+ })(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? field.errorBorderColor : colors.grey500, props => props.error ? field.errorBorderColor : field.color, /*#__PURE__*/polished.rem('15px'));
2983
2840
 
2984
2841
  const FormGroup = props => {
2985
2842
  const {
@@ -2996,23 +2853,18 @@ const FormGroup = props => {
2996
2853
  }), children);
2997
2854
  };
2998
2855
 
2999
- const {
3000
- grey: grey$i,
3001
- lightGrey: lightGrey$f,
3002
- lightRed: lightRed$2
3003
- } = colors;
3004
2856
  const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
3005
2857
  displayName: "styles__Wrapper",
3006
2858
  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);
2859
+ })(["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
2860
  const Input = /*#__PURE__*/_styled__default.input.withConfig({
3009
2861
  displayName: "styles__Input",
3010
2862
  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);
2863
+ })(["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
2864
  const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
3013
2865
  displayName: "styles__Button",
3014
2866
  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);
2867
+ })(["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
2868
 
3017
2869
  const NumberInputSpinner = props => {
3018
2870
  const {
@@ -3073,12 +2925,6 @@ const NumberInputSpinner = props => {
3073
2925
  })));
3074
2926
  };
3075
2927
 
3076
- const {
3077
- green: green$7,
3078
- grey: grey$j,
3079
- lightGrey: lightGrey$g,
3080
- light: light$e
3081
- } = colors;
3082
2928
  const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
3083
2929
  displayName: "styles__Steps",
3084
2930
  componentId: "sc-1s2dhfy-0"
@@ -3086,7 +2932,7 @@ const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
3086
2932
  const Step = /*#__PURE__*/_styled__default.li.withConfig({
3087
2933
  displayName: "styles__Step",
3088
2934
  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);
2935
+ })(["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
2936
 
3091
2937
  const WizardSteps = props => {
3092
2938
  const {
@@ -3106,125 +2952,6 @@ const WizardSteps = props => {
3106
2952
  }, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("span", null, step.value))))));
3107
2953
  };
3108
2954
 
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
2955
  const PaginationWrapper = _styled__default.div`
3229
2956
  --size: ${/*#__PURE__*/polished.rem('30px')};
3230
2957
 
@@ -3243,10 +2970,10 @@ const PaginationWrapper = _styled__default.div`
3243
2970
 
3244
2971
  &.previous,
3245
2972
  &.next {
3246
- transition-duration: 0.3s;
2973
+ transition-duration: ${misc.transitionDuration};
3247
2974
 
3248
2975
  a svg {
3249
- transition-duration: 0.3s;
2976
+ transition-duration: ${misc.transitionDuration};
3250
2977
  }
3251
2978
  }
3252
2979
 
@@ -3254,29 +2981,29 @@ const PaginationWrapper = _styled__default.div`
3254
2981
  .break {
3255
2982
  min-width: var(--size);
3256
2983
  height: var(--size);
3257
- transition-duration: 0.3s;
2984
+ transition-duration: ${misc.transitionDuration};
3258
2985
  }
3259
2986
 
3260
2987
  a {
3261
- border-radius: ${/*#__PURE__*/polished.rem('8px')};
2988
+ border-radius: ${field.borderRadius};
3262
2989
  min-width: var(--size);
3263
2990
  height: var(--size);
3264
2991
  padding: 0 ${/*#__PURE__*/polished.rem('5px')};
3265
2992
  display: flex;
3266
2993
  justify-content: center;
3267
2994
  align-items: center;
3268
- color: ${normal$a};
3269
- font-weight: ${bold$4};
2995
+ color: ${colors.black};
2996
+ font-weight: ${typography.semiBold};
3270
2997
  text-decoration: none;
3271
2998
 
3272
2999
  &:hover {
3273
- color: ${blue};
3000
+ color: ${colors.blue500};
3274
3001
  }
3275
3002
 
3276
3003
  svg {
3277
3004
  width: ${/*#__PURE__*/polished.rem('18px')};
3278
3005
  height: auto;
3279
- fill: ${blue};
3006
+ fill: ${colors.blue500};
3280
3007
  }
3281
3008
  }
3282
3009
 
@@ -3284,18 +3011,18 @@ const PaginationWrapper = _styled__default.div`
3284
3011
  pointer-events: none;
3285
3012
 
3286
3013
  a {
3287
- background-color: ${blue};
3288
- color: ${light$g};
3014
+ background-color: ${colors.blue500};
3015
+ color: ${colors.white};
3289
3016
  }
3290
3017
  }
3291
3018
  }
3292
3019
 
3293
3020
  &.dark {
3294
3021
  a {
3295
- color: ${lightGrey$h};
3022
+ color: ${colors.white};
3296
3023
 
3297
3024
  &:hover {
3298
- color: ${light$g};
3025
+ color: ${colors.white};
3299
3026
  }
3300
3027
  }
3301
3028
  }
@@ -3351,14 +3078,7 @@ const PaginationControl = props => {
3351
3078
  }));
3352
3079
  };
3353
3080
 
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`
3081
+ const Wrapper$a = _styled__default.div`
3362
3082
  min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
3363
3083
  display: flex;
3364
3084
  flex-direction: column;
@@ -3374,16 +3094,16 @@ const Wrapper$b = _styled__default.div`
3374
3094
 
3375
3095
  > span {
3376
3096
  margin-top: ${/*#__PURE__*/polished.rem('15px')};
3377
- font-weight: ${bold$5};
3378
- color: ${normal$b};
3097
+ font-weight: ${typography.semiBold};
3098
+ color: ${colors.black};
3379
3099
 
3380
3100
  a {
3381
- color: ${normal$b};
3382
- transition-duration: 0.3s;
3101
+ color: ${colors.black};
3102
+ transition-duration: ${misc.transitionDuration};
3103
+ }
3383
3104
 
3384
- &:hover {
3385
- color: ${green$9};
3386
- }
3105
+ &:hover {
3106
+ color: ${colors.purple500};
3387
3107
  }
3388
3108
  }
3389
3109
  `;
@@ -3393,7 +3113,7 @@ const Error = props => {
3393
3113
  variant = 'default',
3394
3114
  value
3395
3115
  } = props;
3396
- return /*#__PURE__*/React__default.createElement(Wrapper$b, {
3116
+ return /*#__PURE__*/React__default.createElement(Wrapper$a, {
3397
3117
  variant: variant
3398
3118
  }, variant === 'default' ? /*#__PURE__*/React__default.createElement(Icon, {
3399
3119
  icon: "warning",
@@ -3401,14 +3121,7 @@ const Error = props => {
3401
3121
  }) : /*#__PURE__*/React__default.createElement("span", null, "\u00AF\\\\_(\u30C4)_/\u00AF"), value && /*#__PURE__*/React__default.createElement("span", null, value));
3402
3122
  };
3403
3123
 
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`
3124
+ const Wrapper$b = _styled__default.div`
3412
3125
  min-height: 50vh;
3413
3126
  display: flex;
3414
3127
  flex-direction: column;
@@ -3424,15 +3137,15 @@ const Wrapper$c = _styled__default.div`
3424
3137
 
3425
3138
  > div {
3426
3139
  margin-top: ${/*#__PURE__*/polished.rem('15px')};
3427
- font-weight: ${bold$6};
3428
- color: ${normal$c};
3140
+ font-weight: ${typography.semiBold};
3141
+ color: ${colors.black};
3429
3142
 
3430
3143
  a {
3431
- color: ${normal$c};
3432
- transition-duration: 0.3s;
3144
+ color: ${colors.black};
3145
+ transition-duration: ${misc.transitionDuration};
3433
3146
 
3434
3147
  &:hover {
3435
- color: ${green$a};
3148
+ color: ${colors.purple500};
3436
3149
  }
3437
3150
  }
3438
3151
  }
@@ -5390,20 +5103,12 @@ const DataWarning = props => {
5390
5103
  default:
5391
5104
  icon = /*#__PURE__*/React__default.createElement(IconLoginOnly, null);
5392
5105
  }
5393
- return /*#__PURE__*/React__default.createElement(Wrapper$c, {
5106
+ return /*#__PURE__*/React__default.createElement(Wrapper$b, {
5394
5107
  type: type
5395
5108
  }, icon, /*#__PURE__*/React__default.createElement("div", null, children));
5396
5109
  };
5397
5110
 
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`
5111
+ const Wrapper$c = _styled__default.ul`
5407
5112
  display: flex;
5408
5113
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5409
5114
  position: relative;
@@ -5424,11 +5129,11 @@ const Wrapper$d = _styled__default.ul`
5424
5129
  }
5425
5130
 
5426
5131
  input[type='radio']:checked ~ .check {
5427
- border-color: ${darkGreen$5};
5132
+ border-color: ${field.successBorderColor};
5428
5133
  }
5429
5134
 
5430
5135
  input[type='radio']:checked ~ .check::before {
5431
- background-color: ${green$b};
5136
+ background-color: ${field.successBackgroundColor};
5432
5137
  }
5433
5138
 
5434
5139
  & + span {
@@ -5451,7 +5156,7 @@ const Item = _styled__default.li`
5451
5156
  padding-left: calc(var(--size) + 5px);
5452
5157
  line-height: var(--size);
5453
5158
  vertical-align: middle;
5454
- color: ${props => props.error ? red$b : null};
5159
+ color: ${props => props.error ? field.errorBorderColor : null};
5455
5160
  cursor: pointer;
5456
5161
  z-index: 1;
5457
5162
  }
@@ -5459,11 +5164,12 @@ const Item = _styled__default.li`
5459
5164
  .check {
5460
5165
  position: absolute;
5461
5166
  top: 0;
5462
- border: ${/*#__PURE__*/polished.rem('2px')} solid ${props => props.error ? red$b : grey$k};
5167
+ border: ${/*#__PURE__*/polished.rem('2px')} solid
5168
+ ${props => props.error ? field.errorBorderColor : field.borderColor};
5463
5169
  border-radius: 100%;
5464
5170
  width: var(--size);
5465
5171
  height: var(--size);
5466
- transition-duration: 0.3s;
5172
+ transition-duration: ${misc.transitionDuration};
5467
5173
  display: flex;
5468
5174
  justify-content: center;
5469
5175
  align-items: center;
@@ -5478,21 +5184,21 @@ const Item = _styled__default.li`
5478
5184
  }
5479
5185
 
5480
5186
  &:hover .check {
5481
- border-color: ${normal$d};
5187
+ border-color: ${field.hoverBorderColor};
5482
5188
  }
5483
5189
 
5484
5190
  ${props => props.disabled && _styled.css`
5485
5191
  label {
5486
- color: ${grey$k};
5192
+ color: ${field.disabledColor};
5487
5193
  }
5488
5194
 
5489
5195
  input[type='radio'] ~ .check,
5490
5196
  input[type='radio']:checked ~ .check {
5491
- border-color: ${lightGrey$i};
5197
+ border-color: ${field.disabledColor};
5492
5198
  }
5493
5199
 
5494
5200
  input[type='radio']:checked ~ .check::before {
5495
- background-color: ${lightGrey$i};
5201
+ background-color: ${field.disabledBackgroundColor};
5496
5202
  }
5497
5203
 
5498
5204
  &:hover {
@@ -5517,7 +5223,7 @@ const RadioGroup = props => {
5517
5223
  return /*#__PURE__*/React__default.createElement("div", {
5518
5224
  style: style,
5519
5225
  className: className
5520
- }, /*#__PURE__*/React__default.createElement(Wrapper$d, {
5226
+ }, /*#__PURE__*/React__default.createElement(Wrapper$c, {
5521
5227
  type: type,
5522
5228
  group: group,
5523
5229
  error: error,
@@ -5542,7 +5248,7 @@ const RadioGroup = props => {
5542
5248
  }) : null);
5543
5249
  };
5544
5250
 
5545
- const Wrapper$e = _styled__default.ul`
5251
+ const Wrapper$d = _styled__default.ul`
5546
5252
  display: flex;
5547
5253
  flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
5548
5254
  position: relative;
@@ -5575,7 +5281,7 @@ const CheckboxGroup = props => {
5575
5281
  error,
5576
5282
  disabled
5577
5283
  } = props;
5578
- return /*#__PURE__*/React__default.createElement(Wrapper$e, {
5284
+ return /*#__PURE__*/React__default.createElement(Wrapper$d, {
5579
5285
  type: type,
5580
5286
  error: error
5581
5287
  }, children ? children : options && Array.isArray(options) ? options.map((value, index) => /*#__PURE__*/React__default.createElement("li", {
@@ -5592,32 +5298,23 @@ const CheckboxGroup = props => {
5592
5298
  }) : null);
5593
5299
  };
5594
5300
 
5595
- const Wrapper$f = _styled__default.div`
5301
+ const Wrapper$e = _styled__default.div`
5596
5302
  label {
5597
5303
  margin-bottom: ${/*#__PURE__*/polished.rem('5px')};
5598
5304
  }
5599
5305
  `;
5600
- const {
5601
- grey: grey$l,
5602
- darkGrey: darkGrey$2,
5603
- light: light$h,
5604
- purple500: purple500$4
5605
- } = colors;
5606
5306
  const Field = _styled__default.div`
5607
5307
  display: flex;
5608
5308
  flex-wrap: wrap;
5609
5309
 
5610
5310
  input {
5611
5311
  flex: 1;
5612
- margin-right: 0;
5613
- border-radius: ${/*#__PURE__*/polished.rem('6px')} 0 0 ${/*#__PURE__*/polished.rem('6px')};
5312
+ margin-right: ${/*#__PURE__*/polished.rem('-1px')};
5313
+ border-radius: ${field.borderRadius} 0 0 ${field.borderRadius};
5614
5314
 
5615
- &:focus {
5616
- outline: none;
5617
-
5618
- + button {
5619
- background-color: ${purple500$4};
5620
- }
5315
+ &:disabled {
5316
+ background-color: ${field.backgroundColor};
5317
+ color: ${field.color};
5621
5318
  }
5622
5319
  }
5623
5320
 
@@ -5628,38 +5325,27 @@ const Field = _styled__default.div`
5628
5325
 
5629
5326
  button {
5630
5327
  border: 0;
5631
- border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} 0;
5632
- background-color: ${grey$l};
5328
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} 0;
5633
5329
  min-width: ${/*#__PURE__*/polished.rem('50px')};
5634
- height: ${/*#__PURE__*/polished.rem('50px')};
5330
+ height: ${field.height};
5635
5331
  display: flex;
5636
5332
  justify-content: center;
5637
5333
  align-items: center;
5638
5334
  padding: 0 ${/*#__PURE__*/polished.rem('20px')};
5639
5335
  white-space: nowrap;
5640
- transition-duration: 0.3s;
5336
+ transition-duration: ${misc.transitionDuration};
5641
5337
  cursor: pointer;
5642
5338
 
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;
5339
+ span {
5340
+ color: ${field.activeColor};
5649
5341
  }
5650
5342
 
5651
- &:hover {
5652
- background-color: ${darkGrey$2};
5343
+ svg {
5344
+ fill: ${field.activeColor};
5653
5345
  }
5654
5346
 
5655
5347
  &:disabled {
5656
- cursor: inherit;
5657
- opacity: 0.5;
5658
-
5659
- &:hover {
5660
- background-color: ${grey$l};
5661
- pointer-events: none;
5662
- }
5348
+ border: ${field.borderWidth} solid ${field.borderColor} !important;
5663
5349
  }
5664
5350
  }
5665
5351
  `;
@@ -5671,30 +5357,23 @@ const FieldWidthButton = props => {
5671
5357
  name,
5672
5358
  placeholder,
5673
5359
  value,
5674
- onChange,
5675
- disabled = false,
5676
- error = '',
5677
5360
  dataTestId,
5678
- required = false,
5679
5361
  buttonIcon,
5680
5362
  buttonValue,
5681
5363
  buttonAction,
5682
5364
  buttonDisabled
5683
5365
  } = props;
5684
- return /*#__PURE__*/React__default.createElement(Wrapper$f, null, label && /*#__PURE__*/React__default.createElement(Label, {
5366
+ return /*#__PURE__*/React__default.createElement(Wrapper$e, null, label && /*#__PURE__*/React__default.createElement(Label, {
5685
5367
  value: label
5686
5368
  }), /*#__PURE__*/React__default.createElement(Field, null, /*#__PURE__*/React__default.createElement(TextField, {
5687
- minimal: false,
5688
5369
  type: type,
5689
5370
  name: name,
5690
5371
  value: value,
5691
- onChange: onChange,
5692
5372
  placeholder: placeholder,
5693
- disabled: disabled,
5694
- error: error,
5695
5373
  dataTestId: dataTestId,
5696
- required: required
5374
+ disabled: true
5697
5375
  }), /*#__PURE__*/React__default.createElement(Button, {
5376
+ color: "purple100",
5698
5377
  icon: buttonIcon,
5699
5378
  value: buttonValue,
5700
5379
  action: buttonAction,
@@ -5702,24 +5381,14 @@ const FieldWidthButton = props => {
5702
5381
  })));
5703
5382
  };
5704
5383
 
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({
5384
+ const Wrapper$f = /*#__PURE__*/_styled__default.div.withConfig({
5716
5385
  displayName: "styles__Wrapper",
5717
5386
  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);
5387
+ })(["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
5388
  const More = /*#__PURE__*/_styled__default.div.withConfig({
5720
5389
  displayName: "styles__More",
5721
5390
  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'));
5391
+ })(["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
5392
 
5724
5393
  const HorizontalNav = props => {
5725
5394
  const [showMore, setShowMore] = React.useState(false);
@@ -5765,7 +5434,7 @@ const HorizontalNav = props => {
5765
5434
  }
5766
5435
  return;
5767
5436
  }, [ref]);
5768
- return /*#__PURE__*/React__default.createElement(Wrapper$g, {
5437
+ return /*#__PURE__*/React__default.createElement(Wrapper$f, {
5769
5438
  ref: ref,
5770
5439
  className: className,
5771
5440
  customColor: customColor
@@ -5787,16 +5456,10 @@ const HorizontalNav = props => {
5787
5456
  })));
5788
5457
  };
5789
5458
 
5790
- const {
5791
- light: light$j
5792
- } = colors;
5793
- const {
5794
- bold: bold$8
5795
- } = typography;
5796
5459
  const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
5797
5460
  displayName: "styles__ModalOverlay",
5798
5461
  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);
5462
+ })(["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
5463
  const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
5801
5464
  displayName: "styles__ModalWrapper",
5802
5465
  componentId: "sc-16r6vcc-1"
@@ -5804,11 +5467,11 @@ const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
5804
5467
  const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
5805
5468
  displayName: "styles__ModalContainer",
5806
5469
  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'));
5470
+ })(["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
5471
  const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
5809
5472
  displayName: "styles__ModalHeader",
5810
5473
  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);
5474
+ })(["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
5475
 
5813
5476
  const Modal = props => {
5814
5477
  const {
@@ -5859,12 +5522,6 @@ const Modal = props => {
5859
5522
  })))), document.body) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
5860
5523
  };
5861
5524
 
5862
- const {
5863
- light: light$k
5864
- } = colors;
5865
- const {
5866
- bold: bold$9
5867
- } = typography;
5868
5525
  const slideInLeft = _styled.keyframes`
5869
5526
  from {
5870
5527
  transform: translateX(100%);
@@ -5877,7 +5534,7 @@ const slideInLeft = _styled.keyframes`
5877
5534
  const ModalOverlay$1 = /*#__PURE__*/_styled__default.div.withConfig({
5878
5535
  displayName: "styles__ModalOverlay",
5879
5536
  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);
5537
+ })(["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
5538
  const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
5882
5539
  displayName: "styles__ModalWrapper",
5883
5540
  componentId: "sc-46huls-1"
@@ -5885,11 +5542,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
5885
5542
  const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
5886
5543
  displayName: "styles__ModalContainer",
5887
5544
  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'));
5545
+ })(["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
5546
  const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
5890
5547
  displayName: "styles__ModalHeader",
5891
5548
  componentId: "sc-46huls-3"
5892
- })(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$9);
5549
+ })(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold);
5893
5550
  const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
5894
5551
  displayName: "styles__ModalContent",
5895
5552
  componentId: "sc-46huls-4"
@@ -5946,10 +5603,7 @@ const ModalDrawer = props => {
5946
5603
  }))))), document.body) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
5947
5604
  };
5948
5605
 
5949
- const {
5950
- lightGrey: lightGrey$k
5951
- } = colors;
5952
- const Wrapper$h = _styled__default.div`
5606
+ const Wrapper$g = _styled__default.div`
5953
5607
  div {
5954
5608
  width: 100%;
5955
5609
  height: 100%;
@@ -6010,7 +5664,7 @@ const Wrapper$h = _styled__default.div`
6010
5664
 
6011
5665
  .card {
6012
5666
  position: relative;
6013
- border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$k};
5667
+ border: ${/*#__PURE__*/polished.rem('2px')} solid ${colors.grey50};
6014
5668
  border-radius: ${/*#__PURE__*/polished.rem('6px')};
6015
5669
  width: ${/*#__PURE__*/polished.rem('300px')};
6016
5670
  overflow: hidden;
@@ -6025,7 +5679,7 @@ const Wrapper$h = _styled__default.div`
6025
5679
  margin: ${/*#__PURE__*/polished.rem('-45px')} 0 0 ${/*#__PURE__*/polished.rem('20px')};
6026
5680
  width: ${/*#__PURE__*/polished.rem('90px')};
6027
5681
  height: ${/*#__PURE__*/polished.rem('90px')};
6028
- border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$k};
5682
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.grey50};
6029
5683
  border-radius: 999px;
6030
5684
  }
6031
5685
 
@@ -6112,48 +5766,43 @@ const LoadingState = props => {
6112
5766
  className: "subtitle"
6113
5767
  }), paragraphs));
6114
5768
  }
6115
- return /*#__PURE__*/React__default.createElement(Wrapper$h, {
5769
+ return /*#__PURE__*/React__default.createElement(Wrapper$g, {
6116
5770
  type: type
6117
5771
  }, loadingType);
6118
5772
  };
6119
5773
 
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`
5774
+ const Wrapper$h = _styled__default.div`
6127
5775
  .tab {
6128
- border-color: ${lightGrey$l};
5776
+ border-color: ${field.borderColor};
6129
5777
 
6130
5778
  &[aria-selected='true'] {
6131
5779
  border-bottom: 0;
6132
5780
  }
6133
5781
 
6134
5782
  &[aria-selected='false'] {
6135
- background-color: ${lightGrey$l};
6136
- color: ${grey$n};
6137
- transition-duration: 0.3s;
5783
+ background-color: ${field.borderColor};
5784
+ color: ${colors.black};
5785
+ transition-duration: ${misc.transitionDuration};
6138
5786
 
6139
5787
  &:hover {
6140
- color: ${normal$f};
5788
+ color: ${colors.black};
6141
5789
  }
6142
5790
  }
6143
5791
 
6144
5792
  &:first-child {
6145
- border-top-left-radius: ${/*#__PURE__*/polished.rem('6px')};
5793
+ border-top-left-radius: ${field.borderRadius};
6146
5794
  }
6147
5795
 
6148
5796
  &:last-child {
6149
- border-top-right-radius: ${/*#__PURE__*/polished.rem('6px')};
5797
+ border-top-right-radius: ${field.borderRadius};
6150
5798
  }
6151
5799
  }
6152
5800
 
6153
5801
  .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};
5802
+ // prettier-ignore
5803
+ border-radius: 0 ${field.borderRadius} ${field.borderRadius} ${field.borderRadius};
5804
+ border-color: ${field.borderColor};
5805
+ background-color: ${colors.white};
6157
5806
  padding: ${/*#__PURE__*/polished.rem('30px')};
6158
5807
  }
6159
5808
 
@@ -6173,8 +5822,8 @@ const Wrapper$i = _styled__default.div`
6173
5822
  .RRT__tab {
6174
5823
  background: #eee;
6175
5824
  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;
5825
+ border-color: ${field.borderColor};
5826
+ border-width: ${field.borderWidth} ${field.borderWidth} ${field.borderWidth} 0;
6178
5827
  cursor: pointer;
6179
5828
  z-index: 1;
6180
5829
  white-space: nowrap;
@@ -6183,24 +5832,24 @@ const Wrapper$i = _styled__default.div`
6183
5832
 
6184
5833
  .RRT__tab:focus {
6185
5834
  outline: 0;
6186
- background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
5835
+ background-color: ${field.borderColor};
6187
5836
  }
6188
5837
 
6189
5838
  .RRT__accordion .RRT__tab {
6190
- border-left-width: ${/*#__PURE__*/polished.rem('1px')};
5839
+ border-left-width: ${field.borderWidth};
6191
5840
  }
6192
5841
 
6193
5842
  .RRT__tab--first {
6194
- border-left-width: ${/*#__PURE__*/polished.rem('1px')};
5843
+ border-left-width: ${field.borderWidth};
6195
5844
  }
6196
5845
 
6197
5846
  .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};
5847
+ background: ${colors.white};
5848
+ border-color: ${field.borderColor} ${field.borderColor} ${colors.white};
6200
5849
  }
6201
5850
 
6202
5851
  .RRT__tab--selected:focus {
6203
- background-color: ${light$l};
5852
+ background-color: ${colors.white};
6204
5853
  }
6205
5854
 
6206
5855
  .RRT__tab--disabled {
@@ -6230,7 +5879,7 @@ const Wrapper$i = _styled__default.div`
6230
5879
  .RRT__panel {
6231
5880
  margin-top: ${/*#__PURE__*/polished.rem('-1px')};
6232
5881
  padding: 1em;
6233
- border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
5882
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
6234
5883
  }
6235
5884
 
6236
5885
  .RRT__panel--hidden {
@@ -6242,9 +5891,9 @@ const Wrapper$i = _styled__default.div`
6242
5891
  }
6243
5892
 
6244
5893
  .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;
5894
+ background: ${field.borderColor};
5895
+ border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
5896
+ border-radius: 0 ${field.borderRadius} 0 0;
6248
5897
  cursor: pointer;
6249
5898
  z-index: 1;
6250
5899
  white-space: nowrap;
@@ -6253,7 +5902,7 @@ const Wrapper$i = _styled__default.div`
6253
5902
  }
6254
5903
 
6255
5904
  .RRT__showmore--selected {
6256
- background: ${light$l};
5905
+ background: ${colors.white};
6257
5906
  border-bottom: none;
6258
5907
  }
6259
5908
 
@@ -6264,7 +5913,7 @@ const Wrapper$i = _styled__default.div`
6264
5913
  }
6265
5914
 
6266
5915
  .RRT__showmore-label--selected {
6267
- background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
5916
+ background-color: ${field.borderColor};
6268
5917
  }
6269
5918
 
6270
5919
  .RRT__showmore-list {
@@ -6300,7 +5949,7 @@ const TabsPanel = props => {
6300
5949
  getContent: () => tab.renderer
6301
5950
  }));
6302
5951
  };
6303
- return /*#__PURE__*/React__default.createElement(Wrapper$i, null, /*#__PURE__*/React__default.createElement(Tabs, {
5952
+ return /*#__PURE__*/React__default.createElement(Wrapper$h, null, /*#__PURE__*/React__default.createElement(Tabs, {
6304
5953
  transform: false,
6305
5954
  unmountOnExit: unmountOnExit,
6306
5955
  selectedTabKey: selectedTabKey,
@@ -6310,7 +5959,7 @@ const TabsPanel = props => {
6310
5959
  }));
6311
5960
  };
6312
5961
 
6313
- const Wrapper$j = _styled__default.div`
5962
+ const Wrapper$i = _styled__default.div`
6314
5963
  display: flex;
6315
5964
  flex-direction: column;
6316
5965
  `;
@@ -6330,7 +5979,7 @@ const TabsPanel$1 = props => {
6330
5979
  className = 'grid-container',
6331
5980
  children
6332
5981
  } = props;
6333
- return /*#__PURE__*/React__default.createElement(Wrapper$j, {
5982
+ return /*#__PURE__*/React__default.createElement(Wrapper$i, {
6334
5983
  className: className
6335
5984
  }, children);
6336
5985
  };
@@ -6358,7 +6007,6 @@ const GridCol$1 = props => {
6358
6007
  };
6359
6008
 
6360
6009
  exports.ActionsMenu = ActionsMenu;
6361
- exports.AlertNotification = AlertNotification;
6362
6010
  exports.AvatarImage = AvatarImage;
6363
6011
  exports.Button = Button;
6364
6012
  exports.ButtonDropdown = ButtonDropdown;