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