@taikai/rocket-kit 3.0.0-beta.5 → 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 +3 -3
- package/dist/atoms/label/stories/label.stories.d.ts +30 -0
- 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 -4
- 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/select-interactive/types.d.ts +1 -1
- 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 +22 -17
- package/dist/molecules/actions-menu/index.d.ts +3 -2
- package/dist/molecules/card-value/index.d.ts +3 -3
- package/dist/molecules/card-value/stories/card-value.stories.d.ts +45 -0
- 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 +2 -2
- package/dist/molecules/form-group/stories/form-group.stories.d.ts +6 -5
- 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 +391 -739
- 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 +393 -740
- 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
|
@@ -22,10 +22,8 @@ var ReactDOM = _interopDefault(require('react-dom'));
|
|
|
22
22
|
var Tabs = _interopDefault(require('react-responsive-tabs'));
|
|
23
23
|
|
|
24
24
|
const colors = {
|
|
25
|
-
// NEUTRALS
|
|
26
25
|
black: '#000000',
|
|
27
26
|
white: '#ffffff',
|
|
28
|
-
// GREY
|
|
29
27
|
grey50: '#F1F1F3',
|
|
30
28
|
grey100: '#E3E3E8',
|
|
31
29
|
grey150: '#D5D6DC',
|
|
@@ -39,7 +37,6 @@ const colors = {
|
|
|
39
37
|
grey850: '#23232A',
|
|
40
38
|
grey900: '#17171C',
|
|
41
39
|
grey950: '#0C0C0E',
|
|
42
|
-
// BLUE
|
|
43
40
|
blue50: '#ECEDFC',
|
|
44
41
|
blue100: '#D9DCFA',
|
|
45
42
|
blue150: '#C6CAF7',
|
|
@@ -53,7 +50,6 @@ const colors = {
|
|
|
53
50
|
blue850: '#141844',
|
|
54
51
|
blue900: '#0D102E',
|
|
55
52
|
blue950: '#070817',
|
|
56
|
-
// PURPLE
|
|
57
53
|
purple50: '#ECEAF6',
|
|
58
54
|
purple100: '#D9D4ED',
|
|
59
55
|
purple150: '#C7BFE4',
|
|
@@ -67,7 +63,6 @@ const colors = {
|
|
|
67
63
|
purple850: '#140C32',
|
|
68
64
|
purple900: '#0D0821',
|
|
69
65
|
purple950: '#070411',
|
|
70
|
-
// RED
|
|
71
66
|
red50: '#FDEEEE',
|
|
72
67
|
red100: '#FBDDDD',
|
|
73
68
|
red150: '#F9CDCD',
|
|
@@ -81,7 +76,6 @@ const colors = {
|
|
|
81
76
|
red850: '#471A1A',
|
|
82
77
|
red900: '#2F1111',
|
|
83
78
|
red950: '#180909',
|
|
84
|
-
// ORACLE
|
|
85
79
|
oracle50: '#F4F0FD',
|
|
86
80
|
oracle100: '#EAE1FB',
|
|
87
81
|
oracle150: '#DFD2FA',
|
|
@@ -95,7 +89,6 @@ const colors = {
|
|
|
95
89
|
oracle850: '#2D2047',
|
|
96
90
|
oracle900: '#1E152F',
|
|
97
91
|
oracle950: '#0F0B18',
|
|
98
|
-
// GREEN
|
|
99
92
|
green50: '#EBFCF7',
|
|
100
93
|
green100: '#D7F9EF',
|
|
101
94
|
green150: '#C2F6E6',
|
|
@@ -109,7 +102,6 @@ const colors = {
|
|
|
109
102
|
green850: '#104334',
|
|
110
103
|
green900: '#0B2D23',
|
|
111
104
|
green950: '#051611',
|
|
112
|
-
// ORANGE
|
|
113
105
|
orange50: '#FFF0EA',
|
|
114
106
|
orange100: '#FFE1D5',
|
|
115
107
|
orange150: '#FFD2C0',
|
|
@@ -123,7 +115,6 @@ const colors = {
|
|
|
123
115
|
orange850: '#4D200D',
|
|
124
116
|
orange900: '#331509',
|
|
125
117
|
orange950: '#1A0B04',
|
|
126
|
-
// YELLOW
|
|
127
118
|
yellow50: '#FFFBEC',
|
|
128
119
|
yellow100: '#FFF7DA',
|
|
129
120
|
yellow150: '#FFF3C7',
|
|
@@ -137,7 +128,6 @@ const colors = {
|
|
|
137
128
|
yellow850: '#4D4015',
|
|
138
129
|
yellow900: '#332B0E',
|
|
139
130
|
yellow950: '#1A1507',
|
|
140
|
-
// PALE BLUE
|
|
141
131
|
paleBlue50: '#F3F9FD',
|
|
142
132
|
paleBlue100: '#E7F4FB',
|
|
143
133
|
paleBlue150: '#DBEEF9',
|
|
@@ -151,7 +141,6 @@ const colors = {
|
|
|
151
141
|
paleBlue850: '#293C47',
|
|
152
142
|
paleBlue900: '#1B282F',
|
|
153
143
|
paleBlue950: '#0E1418',
|
|
154
|
-
// PALE ORANGE
|
|
155
144
|
paleOrange50: '#FDF4EC',
|
|
156
145
|
paleOrange100: '#FCE9D9',
|
|
157
146
|
paleOrange150: '#FADEC6',
|
|
@@ -164,32 +153,17 @@ const colors = {
|
|
|
164
153
|
paleOrange800: '#5F3A1A',
|
|
165
154
|
paleOrange850: '#472C13',
|
|
166
155
|
paleOrange900: '#301D0D',
|
|
167
|
-
paleOrange950: '#180F06'
|
|
168
|
-
// OLD
|
|
169
|
-
normal: '#000000',
|
|
170
|
-
light: '#ffffff',
|
|
171
|
-
blue: '#4250e4',
|
|
172
|
-
darkBlue: '#1825AD',
|
|
173
|
-
orange: '#ff6a2c',
|
|
174
|
-
darkOrange: /*#__PURE__*/polished.darken(0.2, '#ff6a2c'),
|
|
175
|
-
red: '#ef5766',
|
|
176
|
-
lightRed: /*#__PURE__*/polished.lighten(0.25, '#ef5766'),
|
|
177
|
-
darkRed: /*#__PURE__*/polished.darken(0.19, '#ef5766'),
|
|
178
|
-
lightPurple: /*#__PURE__*/polished.lighten(0.4, '#4329a6'),
|
|
179
|
-
darkPurple: /*#__PURE__*/polished.darken(0.15, '#4329a6'),
|
|
180
|
-
green: '#56cad7',
|
|
181
|
-
lightGreen: /*#__PURE__*/polished.lighten(0.3, '#56cad7'),
|
|
182
|
-
darkGreen: /*#__PURE__*/polished.darken(0.15, '#56cad7'),
|
|
183
|
-
grey: '#939393',
|
|
184
|
-
lightGrey: '#c4c7d3',
|
|
185
|
-
darkGrey: /*#__PURE__*/polished.darken(0.1, '#939393')
|
|
156
|
+
paleOrange950: '#180F06'
|
|
186
157
|
};
|
|
187
158
|
const colorHues = [50, 100, 150, 200, 300, 400, 500, 600, 700, 800, 850, 900, 950];
|
|
188
159
|
const typography = {
|
|
189
160
|
defaultFont: `"Space Grotesk", Verdana, Arial, Helvetica, sans-serif`,
|
|
190
161
|
defaultSize: '16px',
|
|
162
|
+
fontSizeSm: /*#__PURE__*/polished.rem('14px'),
|
|
163
|
+
fontSizeXs: /*#__PURE__*/polished.rem('12px'),
|
|
191
164
|
regular: 400,
|
|
192
165
|
medium: 500,
|
|
166
|
+
semiBold: 600,
|
|
193
167
|
bold: 700
|
|
194
168
|
};
|
|
195
169
|
const button = {
|
|
@@ -203,14 +177,30 @@ const button = {
|
|
|
203
177
|
const misc = {
|
|
204
178
|
transitionDuration: '0.3s'
|
|
205
179
|
};
|
|
180
|
+
const field = {
|
|
181
|
+
borderWidth: /*#__PURE__*/polished.rem('1px'),
|
|
182
|
+
borderRadius: /*#__PURE__*/polished.rem('8px'),
|
|
183
|
+
borderColor: colors.purple100,
|
|
184
|
+
hoverBorderColor: colors.purple150,
|
|
185
|
+
backgroundColor: colors.white,
|
|
186
|
+
boxShadow: /*#__PURE__*/polished.rgba(colors.black, 0.15),
|
|
187
|
+
color: colors.black,
|
|
188
|
+
activeBorderColor: colors.purple500,
|
|
189
|
+
activeColor: colors.purple500,
|
|
190
|
+
successBackgroundColor: colors.green500,
|
|
191
|
+
successBorderColor: colors.green600,
|
|
192
|
+
errorBorderColor: colors.red500,
|
|
193
|
+
errorBackgroundColor: colors.red300,
|
|
194
|
+
disabledBackgroundColor: colors.grey100,
|
|
195
|
+
disabledColor: colors.grey300,
|
|
196
|
+
height: /*#__PURE__*/polished.rem('50px'),
|
|
197
|
+
placeholderColor: colors.grey200
|
|
198
|
+
};
|
|
206
199
|
|
|
207
|
-
const {
|
|
208
|
-
grey
|
|
209
|
-
} = colors;
|
|
210
200
|
const Wrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
211
201
|
displayName: "styles__Wrapper",
|
|
212
202
|
componentId: "sc-1oawilb-0"
|
|
213
|
-
})(["position:relative;border:", " solid ", ";border-radius:", ";width:", "px;height:", "px;overflow:hidden;z-index:0;> *{width:100%;height:100%;}img{object-fit:cover;}"], /*#__PURE__*/polished.rem('2px'),
|
|
203
|
+
})(["position:relative;border:", " solid ", ";border-radius:", ";width:", "px;height:", "px;overflow:hidden;z-index:0;> *{width:100%;height:100%;}img{object-fit:cover;}"], /*#__PURE__*/polished.rem('2px'), colors.grey200, props => props.square ? 0 : '999px', props => props.size, props => props.size);
|
|
214
204
|
|
|
215
205
|
const AvatarImage = props => {
|
|
216
206
|
const {
|
|
@@ -264,7 +254,7 @@ const useColor = value => {
|
|
|
264
254
|
const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
|
|
265
255
|
displayName: "styles__ButtonWrapper",
|
|
266
256
|
componentId: "sc-baestp-0"
|
|
267
|
-
})(["--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{border-top-color:", ";}span{position:relative;font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;transition-duration:", ";order:", ";}svg{order:", ";width:", ";height:", ";fill:", ";transition:", ";}"], props => {
|
|
257
|
+
})(["--bg:", ";--txt:", ";--hover:", ";margin:0;border-width:", ";border-style:solid;border-color:var(--bg);border-radius:", ";background-color:", ";width:min-content;min-width:", ";height:", ";display:flex;justify-content:center;align-items:center;padding:", ";white-space:nowrap;text-decoration:none;transition-duration:", ";cursor:pointer;outline:none;&:hover{border-color:", ";background-color:", ";span{color:", ";}svg{fill:", ";}}&:disabled{cursor:inherit;opacity:0.5;&:hover{background-color:", ";pointer-events:none;}}> *:not(:last-child){margin-left:", ";margin-right:", ";}.spinner{order:", ";border-top-color:", ";}span{position:relative;font-size:", ";font-weight:", ";line-height:", ";color:", ";pointer-events:none;transition-duration:", ";order:", ";}svg{order:", ";width:", ";height:", ";fill:", ";transition:", ";}"], props => {
|
|
268
258
|
var _props$color;
|
|
269
259
|
return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
|
|
270
260
|
}, props => {
|
|
@@ -273,7 +263,7 @@ const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
|
|
|
273
263
|
}, props => {
|
|
274
264
|
var _props$color3;
|
|
275
265
|
return props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor((_props$color3 = props.color) != null ? _props$color3 : 'black').hover;
|
|
276
|
-
}, props => props.variant === 'outline' ? button.borderWidth : 0, props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius, props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.value ? polished.rem('80px') : polished.rem('42px'), button.height, props => props.value ? `0 ${button.padding}` : 0, misc.transitionDuration, props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--hover)' : 'transparent', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.iconPosition === 'right' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? button.iconSpacing : 0, props => props.variant === 'solid' ? '' : 'var(--button)', /*#__PURE__*/polished.rem(typography.defaultSize), typography.medium, /*#__PURE__*/polished.rem(typography.defaultSize), props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration, props => props.iconPosition === 'left' ? 2 : 1, props => props.iconPosition === 'left' ? 1 : 2, button.iconSize, button.iconSize, props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration);
|
|
266
|
+
}, props => props.variant === 'outline' ? button.borderWidth : 0, props => props.variant === 'text' ? 0 : props.rounded ? '999px' : button.borderRadius, props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.value ? polished.rem('80px') : polished.rem('42px'), button.height, props => props.value ? `0 ${button.padding}` : 0, misc.transitionDuration, props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--hover)' : 'transparent', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? '' : 'var(--hover)', props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', props => props.iconPosition === 'right' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? 1 : 2, props => props.variant === 'solid' ? '' : 'var(--button)', /*#__PURE__*/polished.rem(typography.defaultSize), typography.medium, /*#__PURE__*/polished.rem(typography.defaultSize), props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration, props => props.iconPosition === 'left' ? 2 : 1, props => props.iconPosition === 'left' ? 1 : 2, button.iconSize, button.iconSize, props => props.variant === 'solid' || props.variant === 'outline' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration);
|
|
277
267
|
|
|
278
268
|
const Button = props => {
|
|
279
269
|
const {
|
|
@@ -316,15 +306,10 @@ const Button = props => {
|
|
|
316
306
|
}) : null, value && /*#__PURE__*/React__default.createElement("span", null, value));
|
|
317
307
|
};
|
|
318
308
|
|
|
319
|
-
const {
|
|
320
|
-
normal,
|
|
321
|
-
light,
|
|
322
|
-
lightGrey
|
|
323
|
-
} = colors;
|
|
324
309
|
const ActionsMenuStyle = /*#__PURE__*/_styled__default.div.withConfig({
|
|
325
310
|
displayName: "styles__ActionsMenuStyle",
|
|
326
311
|
componentId: "sc-1j5ogfi-0"
|
|
327
|
-
})(["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:
|
|
312
|
+
})(["position:relative;ul{position:absolute;opacity:0;top:0;margin:0;border:", " solid ", ";border-radius:", ";background-color:", ";min-width:", ";max-width:", ";height:0;max-height:none;padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";overflow-y:hidden;z-index:1;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;transition-duration:", ";&.isOpen{opacity:1;height:calc(", " * ", " + ", ");max-height:", ";}li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}}"], /*#__PURE__*/polished.rem('1px'), field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), field.boxShadow, /*#__PURE__*/polished.rem('15px'), field.boxShadow, /*#__PURE__*/polished.rem('15px'), field.boxShadow, misc.transitionDuration, /*#__PURE__*/polished.rem('45px'), props => props.visibleActions, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('1280px'), /*#__PURE__*/polished.rem('45px'), field.borderColor, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('20px'), field.color);
|
|
328
313
|
|
|
329
314
|
function useVisible(initialIsVisible) {
|
|
330
315
|
const [isVisible, setIsVisible] = React.useState(initialIsVisible);
|
|
@@ -479,20 +464,10 @@ const ButtonLink = props => {
|
|
|
479
464
|
}), value && /*#__PURE__*/React__default.createElement("span", null, value));
|
|
480
465
|
};
|
|
481
466
|
|
|
482
|
-
const {
|
|
483
|
-
normal: normal$1,
|
|
484
|
-
light: light$1,
|
|
485
|
-
green,
|
|
486
|
-
darkGreen,
|
|
487
|
-
red,
|
|
488
|
-
darkRed,
|
|
489
|
-
grey: grey$1,
|
|
490
|
-
lightGrey: lightGrey$1
|
|
491
|
-
} = colors;
|
|
492
467
|
const CheckboxWrapper = /*#__PURE__*/_styled__default.label.withConfig({
|
|
493
468
|
displayName: "styles__CheckboxWrapper",
|
|
494
469
|
componentId: "sc-w5t014-0"
|
|
495
|
-
})(["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 ?
|
|
470
|
+
})(["display:flex;position:relative;padding-left:0;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;&:hover input:not(:disabled) ~ span{border-color:", ";}span{color:", ";border-color:", ";}"], props => props.disabled ? 'auto' : 'pointer', props => props.error ? field.errorBorderColor : field.hoverBorderColor, props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : null, props => props.error ? field.errorBorderColor : null);
|
|
496
471
|
const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
|
|
497
472
|
displayName: "styles__CheckboxLabel",
|
|
498
473
|
componentId: "sc-w5t014-1"
|
|
@@ -500,11 +475,11 @@ const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
|
|
|
500
475
|
const CheckboxInput = /*#__PURE__*/_styled__default.input.withConfig({
|
|
501
476
|
displayName: "styles__CheckboxInput",
|
|
502
477
|
componentId: "sc-w5t014-2"
|
|
503
|
-
})(["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 ?
|
|
478
|
+
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled)[aria-checked='true'] ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled[aria-checked='true'] ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){border-color:", ";&:checked ~ span{border-color:", ";}}"], props => props.error ? field.errorBackgroundColor : field.successBackgroundColor, props => props.error ? field.errorBorderColor : field.successBorderColor, field.disabledBackgroundColor, field.disabledColor, field.disabledBackgroundColor, field.backgroundColor, props => props.error ? field.errorBorderColor : field.activeBorderColor, props => props.error ? field.errorBorderColor : field.successBorderColor);
|
|
504
479
|
const Checkmark = /*#__PURE__*/_styled__default.span.withConfig({
|
|
505
480
|
displayName: "styles__Checkmark",
|
|
506
481
|
componentId: "sc-w5t014-3"
|
|
507
|
-
})(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:
|
|
482
|
+
})(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:", ";&:after{display:block;content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}&.checked.not-disabled{background-color:", ";border-color:", ";&:after{display:block;}}&.checked.disabled{color:", ";border-color:transparent;background-color:", ";&:after{display:block;}}&.not-checked.disabled{border-color:", ";background-color:", ";}&.not-disabled:hover{border-color:", ";&:checked ~ span{border-color:", ";}}"], /*#__PURE__*/polished.rem('2px'), props => props.error ? field.errorBorderColor : field.borderColor, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), misc.transitionDuration, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), colors.white, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'), props => props.error ? field.errorBackgroundColor : field.successBackgroundColor, props => props.error ? field.errorBorderColor : field.successBorderColor, field.disabledColor, field.disabledBackgroundColor, field.disabledBackgroundColor, colors.white, props => props.error ? field.errorBorderColor : field.successBorderColor, props => props.error ? field.errorBorderColor : field.successBorderColor);
|
|
508
483
|
|
|
509
484
|
const Checkbox = ({
|
|
510
485
|
label,
|
|
@@ -559,17 +534,10 @@ const Checkbox = ({
|
|
|
559
534
|
}));
|
|
560
535
|
};
|
|
561
536
|
|
|
562
|
-
const {
|
|
563
|
-
light: light$2,
|
|
564
|
-
green: green$1,
|
|
565
|
-
darkGreen: darkGreen$1,
|
|
566
|
-
grey: grey$2,
|
|
567
|
-
lightGrey: lightGrey$2
|
|
568
|
-
} = colors;
|
|
569
537
|
const CheckboxWrapper$1 = /*#__PURE__*/_styled__default.label.withConfig({
|
|
570
538
|
displayName: "styles__CheckboxWrapper",
|
|
571
539
|
componentId: "sc-itly0z-0"
|
|
572
|
-
})(["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:
|
|
540
|
+
})(["border:", " solid ", ";border-radius:", ";background-color:", ";height:", ";display:flex;align-items:center;position:relative;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition-duration:", ";&:hover input:not(:disabled) ~ span{border-color:", ";}&:hover{background-color:", ";}span{color:", ";transition-duration:", ";}"], field.borderWidth, props => props.disabled ? field.borderColor : props.checked ? field.successBorderColor : field.borderColor, field.borderRadius, props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.backgroundColor, field.height, props => props.disabled ? 'auto' : 'pointer', misc.transitionDuration, field.hoverBorderColor, props => props.disabled ? field.disabledBackgroundColor : props.checked ? field.successBackgroundColor : field.borderColor, props => props.disabled ? field.disabledColor : props.checked ? colors.white : null, misc.transitionDuration);
|
|
573
541
|
const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
|
|
574
542
|
displayName: "styles__CheckboxLabel",
|
|
575
543
|
componentId: "sc-itly0z-1"
|
|
@@ -577,11 +545,11 @@ const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
|
|
|
577
545
|
const CheckboxInput$1 = /*#__PURE__*/_styled__default.input.withConfig({
|
|
578
546
|
displayName: "styles__CheckboxInput",
|
|
579
547
|
componentId: "sc-itly0z-2"
|
|
580
|
-
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{
|
|
548
|
+
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{background-color:", ";color:", ";&:after{display:block;border-color:", ";}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){&:checked ~ span{border-color:", ";}}"], colors.white, field.successBorderColor, field.disabledBackgroundColor, field.disabledColor, field.disabledColor, field.disabledBackgroundColor, field.backgroundColor, field.successBorderColor);
|
|
581
549
|
const Checkmark$1 = /*#__PURE__*/_styled__default.span.withConfig({
|
|
582
550
|
displayName: "styles__Checkmark",
|
|
583
551
|
componentId: "sc-itly0z-3"
|
|
584
|
-
})(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:
|
|
552
|
+
})(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:", ";&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('2px'), field.borderColor, colors.white, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), misc.transitionDuration, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), props => props.disabled ? colors.white : field.successBorderColor, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'));
|
|
585
553
|
|
|
586
554
|
const CheckboxButton = props => {
|
|
587
555
|
const {
|
|
@@ -640,12 +608,12 @@ const icons = {
|
|
|
640
608
|
google: 'M16 0c8.837 0 16 7.163 16 16s-7.163 16-16 16c-8.836 0-16-7.163-16-16s7.163-16 16-16zM16 6.095c-5.471-0.001-9.906 4.434-9.905 9.905-0.002 1.639 0.404 3.252 1.181 4.694 1.673 3.103 4.952 5.212 8.724 5.212 2.256 0.003 4.444-0.767 6.2-2.181h0c1.779-1.427 3.011-3.425 3.488-5.656 0.142-0.667 0.216-1.36 0.216-2.068 0-0.633-0.059-1.251-0.173-1.851h-9.514v3.918h5.296c-0.477 1.266-1.373 2.33-2.541 3.014-1.821 1.064-4.072 1.073-5.902 0.024s-2.959-2.997-2.96-5.107c-0.001-0.651 0.107-1.297 0.318-1.913 0.584-1.696 1.909-3.034 3.599-3.634s3.562-0.398 5.085 0.55l3.209-2.627c-1.716-1.424-3.919-2.28-6.322-2.28z',
|
|
641
609
|
dribbble: 'M16 32c-8.835-0.006-15.994-7.169-15.994-16.004 0-6.586 3.978-12.243 9.663-14.699l0.104-0.040c1.838-0.798 3.979-1.262 6.228-1.262 8.839 0 16.004 7.165 16.004 16.004 0 6.59-3.983 12.249-9.672 14.703l-0.104 0.040c-1.829 0.795-3.959 1.257-6.197 1.257-0.011 0-0.022 0-0.033-0h0.002zM16 7.467c-0.608 0-1.202 0.063-1.774 0.183l0.056-0.010c-0.611 0.126-1.148 0.297-1.658 0.517l0.055-0.021c-0.557 0.238-1.033 0.501-1.48 0.806l0.029-0.019c-0.915 0.622-1.681 1.386-2.285 2.271l-0.019 0.029c-0.596 0.869-1.042 1.892-1.275 2.993l-0.010 0.056c-0.11 0.516-0.173 1.108-0.173 1.715s0.063 1.2 0.183 1.771l-0.010-0.056c0.243 1.157 0.689 2.179 1.304 3.078l-0.019-0.029c0.928 1.36 2.202 2.421 3.698 3.067l0.055 0.021c0.981 0.423 2.122 0.67 3.322 0.67s2.341-0.246 3.377-0.691l-0.056 0.021c0.557-0.238 1.033-0.501 1.479-0.805l-0.030 0.019c0.472-0.322 0.885-0.664 1.264-1.040l-0 0c0.377-0.378 0.719-0.79 1.022-1.232l0.019-0.030c0.287-0.416 0.55-0.892 0.766-1.393l0.021-0.054c0.425-0.979 0.672-2.119 0.672-3.317s-0.247-2.338-0.694-3.372l0.021 0.055c-0.236-0.555-0.5-1.031-0.805-1.476l0.018 0.028c-0.321-0.471-0.664-0.884-1.041-1.261l0 0c-0.378-0.376-0.791-0.717-1.232-1.019l-0.030-0.019c-0.87-0.597-1.895-1.043-2.998-1.274l-0.055-0.010c-0.517-0.11-1.11-0.174-1.718-0.174h-0z M16 23.265c-0.004 0-0.009 0-0.014 0-1.692 0-3.248-0.58-4.481-1.552l0.015 0.012c0.36-0.678 0.792-1.26 1.297-1.769l-0.001 0.001c1.201-1.234 2.684-2.187 4.346-2.754l0.078-0.023c0.016-0.006 0.032-0.011 0.048-0.016 0.63 1.567 1.169 3.421 1.528 5.338l0.029 0.187c-0.835 0.365-1.809 0.577-2.832 0.577-0.005 0-0.010 0-0.015 0h0.001zM20.072 22.024v0c-0.373-1.997-0.864-3.741-1.491-5.418l0.073 0.221c0.448-0.075 0.965-0.118 1.491-0.118 0.009 0 0.019 0 0.028 0h-0.001c0.009-0 0.019-0 0.029-0 1.067 0 2.098 0.159 3.069 0.453l-0.075-0.020c-0.341 2.042-1.488 3.766-3.097 4.864l-0.025 0.016zM10.58 20.851v0c-1.158-1.281-1.867-2.987-1.867-4.859 0-0.001 0-0.003 0-0.004v0c0-0.051 0-0.106 0.004-0.172l0.002-0.060c0.026 0 0.12 0.003 0.263 0.003 2.578-0.019 5.061-0.397 7.409-1.087l-0.19 0.048c0.219 0.428 0.416 0.844 0.591 1.236l-0.027 0.008c-0.076 0.022-0.17 0.049-0.26 0.079-1.753 0.607-3.243 1.591-4.43 2.862l-0.006 0.006c-0.554 0.569-1.046 1.204-1.461 1.891l-0.026 0.047zM23.284 15.914v0l-0.007-0.002c-1.017-0.209-2.187-0.331-3.385-0.334h-0.003c-0.011-0-0.024-0-0.037-0-0.579 0-1.149 0.036-1.709 0.106l0.067-0.007c-0.049-0.12-0.096-0.228-0.158-0.377-0.143-0.334-0.301-0.68-0.484-1.056 2.853-1.164 4.012-2.81 4.060-2.88 1.016 1.228 1.638 2.813 1.657 4.543l0 0.004zM8.991 14.489h-0.122c0.495-2.263 1.986-4.102 3.979-5.064l0.044-0.019 0.005 0.006c0.879 1.19 1.772 2.557 2.588 3.974l0.113 0.213c-1.975 0.539-4.247 0.862-6.59 0.889l-0.016 0zM17.007 13.16v0c-0.904-1.631-1.802-3.013-2.784-4.328l0.071 0.099-0.011-0.014c0.516-0.129 1.108-0.204 1.717-0.204h0c0.001 0 0.003 0 0.004 0 1.847 0 3.533 0.688 4.816 1.822l-0.008-0.007c-0.112 0.166-1.168 1.646-3.805 2.634z',
|
|
642
610
|
microsoft: 'M4.8 4.8h10.73v10.73h-10.73zM16.47 4.8h10.73v10.73h-10.73zM4.8 16.47h10.73v10.73h-10.73zM16.47 16.47h10.73v10.73h-10.73z',
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
611
|
+
'twitter-n': 'M26.169 10.782c0.016 0.227 0.016 0.455 0.016 0.682 0 6.936-5.28 14.928-14.928 14.928-0.011 0-0.025 0-0.039 0-2.979 0-5.752-0.878-8.076-2.39l0.057 0.035c0.356 0.041 0.769 0.065 1.187 0.065 0.028 0 0.056-0 0.085-0l-0.004 0c0.008 0 0.018 0 0.028 0 2.457 0 4.718-0.844 6.507-2.257l-0.022 0.017c-2.286-0.043-4.212-1.539-4.895-3.601l-0.011-0.037c0.297 0.049 0.64 0.078 0.989 0.080h0.002c0.491-0.001 0.967-0.066 1.42-0.187l-0.039 0.009c-2.417-0.502-4.207-2.613-4.207-5.143 0-0.003 0-0.005 0-0.008v0-0.065c0.683 0.388 1.495 0.631 2.361 0.665l0.010 0c-1.418-0.956-2.339-2.556-2.339-4.371 0-0.975 0.266-1.888 0.728-2.671l-0.013 0.024c2.6 3.182 6.445 5.262 10.782 5.489l0.037 0.002c-0.080-0.36-0.127-0.774-0.13-1.198v-0.002c0.004-2.898 2.354-5.246 5.252-5.246 1.508 0 2.868 0.636 3.826 1.654l0.003 0.003c1.255-0.247 2.371-0.687 3.376-1.293l-0.046 0.026c-0.406 1.233-1.222 2.239-2.283 2.878l-0.024 0.013c1.12-0.131 2.141-0.418 3.088-0.84l-0.067 0.027c-0.732 1.057-1.603 1.954-2.6 2.691l-0.031 0.022z',
|
|
612
|
+
'facebook-n': 'M21.613 17.6l0.711-4.633h-4.446v-3.006c0-1.267 0.621-2.503 2.612-2.503h2.021v-3.945c-1.066-0.181-2.306-0.295-3.569-0.313l-0.018-0c-3.661 0-6.054 2.219-6.054 6.236v3.531h-4.070v4.633h4.070v11.2h5.009v-11.2z',
|
|
613
|
+
'instagram-n': 'M16.003 9.437c-3.623 0-6.56 2.937-6.56 6.56s2.937 6.56 6.56 6.56c3.623 0 6.56-2.937 6.56-6.56v0c0-0.002 0-0.005 0-0.008 0-3.619-2.933-6.552-6.552-6.552-0.003 0-0.006 0-0.008 0h0zM16.003 20.267c-0 0-0.001 0-0.001 0-2.357 0-4.267-1.91-4.267-4.267s1.911-4.267 4.267-4.267c2.357 0 4.267 1.911 4.267 4.267v0c-0.004 2.355-1.912 4.263-4.266 4.267h-0zM24.364 9.168c-0 0.845-0.685 1.53-1.53 1.53s-1.53-0.685-1.53-1.53 0.685-1.53 1.53-1.53v0c0.001 0 0.002 0 0.003 0 0.843 0 1.527 0.684 1.527 1.527 0 0.001 0 0.003 0 0.004v-0zM28.71 10.722c0.001-0.047 0.002-0.102 0.002-0.157 0-2.016-0.788-3.849-2.072-5.206l0.003 0.004c-1.361-1.282-3.199-2.069-5.222-2.069-0.049 0-0.097 0-0.145 0.001l0.007-0c-2.113-0.12-8.446-0.12-10.56 0-0.044-0.001-0.096-0.001-0.148-0.001-2.018 0-3.853 0.785-5.215 2.067l0.004-0.004c-1.281 1.357-2.069 3.193-2.069 5.212 0 0.052 0.001 0.104 0.002 0.156l-0-0.008c-0.12 2.114-0.12 8.449 0 10.56-0.001 0.047-0.002 0.102-0.002 0.157 0 2.016 0.788 3.849 2.072 5.206l-0.003-0.004c1.362 1.282 3.202 2.069 5.226 2.069 0.047 0 0.095-0 0.142-0.001l-0.007 0c2.113 0.12 8.446 0.12 10.56 0 0.047 0.001 0.102 0.002 0.158 0.002 2.016 0 3.849-0.788 5.206-2.073l-0.003 0.003c1.281-1.361 2.068-3.2 2.068-5.223 0-0.048-0-0.097-0.001-0.145l0 0.007c0.119-2.111 0.119-8.441 0-10.554zM25.98 23.546c-0.449 1.116-1.316 1.985-2.404 2.423l-0.029 0.010c-1.685 0.668-5.68 0.514-7.544 0.514s-5.863 0.148-7.543-0.514c-1.116-0.449-1.984-1.317-2.422-2.405l-0.010-0.029c-0.668-1.685-0.514-5.68-0.514-7.546s-0.149-5.866 0.514-7.546c0.449-1.116 1.317-1.984 2.404-2.422l0.029-0.010c1.685-0.668 5.68-0.514 7.544-0.514s5.866-0.149 7.544 0.514c1.116 0.449 1.983 1.317 2.422 2.404l0.010 0.029c0.668 1.685 0.514 5.68 0.514 7.546s0.154 5.866-0.514 7.546z',
|
|
614
|
+
'linkedin-n': 'M8.93 25.599h-5.307v-17.091h5.307zM6.274 6.177c-0.004 0-0.009 0-0.014 0-1.705 0-3.088-1.383-3.088-3.088s1.383-3.088 3.088-3.088c1.7 0 3.079 1.374 3.088 3.072v0.001c0 0.001 0 0.002 0 0.003 0 1.703-1.373 3.085-3.072 3.1h-0.001zM28.794 25.599h-5.296v-8.32c0-1.983-0.040-4.526-2.759-4.526-2.759 0-3.182 2.154-3.182 4.383v8.462h-5.302v-17.091h5.090v2.331h0.074c0.985-1.665 2.772-2.764 4.815-2.764 0.073 0 0.145 0.001 0.217 0.004l-0.010-0c5.371 0 6.359 3.537 6.359 8.131v9.389z',
|
|
615
|
+
'medium-n': 'M6.233 9.744c0.003-0.030 0.005-0.064 0.005-0.099 0-0.292-0.125-0.554-0.324-0.737l-0.001-0.001-2.387-2.88v-0.428h7.42l5.734 12.58 5.044-12.58h7.076v0.429l-2.043 1.958c-0.143 0.11-0.235 0.281-0.235 0.474 0 0.034 0.003 0.068 0.008 0.1l-0-0.004v14.396c-0.005 0.029-0.008 0.063-0.008 0.097 0 0.193 0.092 0.364 0.234 0.473l0.001 0.001 1.995 1.958v0.429h-10.039v-0.429l2.070-2.006c0.201-0.201 0.201-0.265 0.201-0.571v-11.634l-5.754 14.602h-0.778l-6.692-14.602v9.786c-0.008 0.055-0.013 0.12-0.013 0.185 0 0.364 0.146 0.695 0.383 0.935l-0-0 2.691 3.261v0.429h-7.622v-0.423l2.689-3.266c0.225-0.232 0.363-0.548 0.363-0.897 0-0.079-0.007-0.156-0.021-0.231l0.001 0.008z',
|
|
616
|
+
'reddit-n': 'M25.945 13.259c-0.8 0.001-1.524 0.329-2.044 0.857l-0 0c-2.085-1.39-4.638-2.236-7.386-2.282l-0.012-0 1.494-6.734 4.761 1.068c0.002 1.167 0.948 2.113 2.115 2.115h0c0.004 0 0.009 0 0.013 0 1.183 0 2.142-0.959 2.142-2.142s-0.959-2.142-2.142-2.142c-0.835 0-1.559 0.478-1.912 1.176l-0.006 0.012-5.255-1.166c-0.031-0.007-0.066-0.011-0.102-0.011-0.239 0-0.439 0.167-0.491 0.39l-0.001 0.003-1.642 7.424c-2.747 0.074-5.28 0.926-7.406 2.342l0.051-0.032c-0.519-0.543-1.249-0.881-2.059-0.881-1.572 0-2.846 1.274-2.846 2.846 0 1.117 0.644 2.084 1.58 2.55l0.017 0.007c-0.089 0.389-0.14 0.835-0.14 1.294 0 0.014 0 0.028 0 0.041v-0.002c0 4.522 5.094 8.186 11.347 8.186 6.28 0 11.374-3.664 11.374-8.186 0-0.014 0-0.031 0-0.048 0-0.464-0.061-0.914-0.176-1.341l0.008 0.036c0.938-0.477 1.569-1.435 1.569-2.54 0-1.569-1.272-2.841-2.841-2.841-0.004 0-0.009 0-0.013 0h0.001zM9.17 18.946c-0-0.004-0-0.009-0-0.014 0-1.176 0.953-2.129 2.129-2.129s2.129 0.953 2.129 2.129c0 1.171-0.945 2.121-2.114 2.129h-0.001c-0.003 0-0.006 0-0.009 0-1.172 0-2.123-0.945-2.133-2.114v-0.001zM20.734 23.991c-1.964 1.964-7.506 1.964-9.47 0-0.1-0.092-0.162-0.224-0.162-0.37s0.062-0.277 0.162-0.369l0-0c0.093-0.088 0.218-0.142 0.356-0.142s0.263 0.054 0.356 0.142l-0-0c1.5 1.538 6.475 1.565 8.039 0 0.093-0.088 0.218-0.142 0.356-0.142s0.263 0.054 0.356 0.142l-0-0c0.103 0.092 0.167 0.224 0.167 0.372 0 0.145-0.062 0.276-0.161 0.367l-0 0zM20.69 21.066c-1.17-0.008-2.115-0.958-2.115-2.129 0-1.176 0.953-2.129 2.129-2.129s2.129 0.953 2.129 2.129c0 0.005-0 0.010-0 0.014v-0.001c-0.002 1.169-0.95 2.115-2.118 2.115-0.009 0-0.017-0-0.026-0h0.001z',
|
|
649
617
|
link: 'M15.999 6.572l-2.828 2.828c-0.521 0.521-0.521 1.365 0 1.886s1.365 0.521 1.886 0v0l2.828-2.828c1.562-1.562 4.095-1.562 5.657 0s1.562 4.095 0 5.657v0l-2.828 2.828c-0.521 0.521-0.521 1.365 0 1.886s1.365 0.521 1.886 0v0l2.828-2.828c2.604-2.604 2.604-6.825 0-9.428s-6.825-2.603-9.428 0v0zM12.228 19.771c0.521 0.521 1.365 0.521 1.886 0v0l5.657-5.657c0.521-0.521 0.521-1.365 0-1.886s-1.365-0.521-1.886 0v0l-5.657 5.657c-0.521 0.521-0.521 1.365 0 1.886v0zM16.942 20.714l-2.828 2.828c-1.562 1.562-4.095 1.562-5.657 0s-1.562-4.095 0-5.657v0l2.828-2.828c0.521-0.521 0.521-1.365 0-1.886s-1.365-0.521-1.886 0v0l-2.828 2.828c-2.603 2.604-2.603 6.825 0 9.428s6.825 2.604 9.428 0v0l2.828-2.828c0.521-0.521 0.521-1.365 0-1.886s-1.365-0.521-1.886 0v0z',
|
|
650
618
|
'link-o': 'M16 32c-0.013 0-0.028 0-0.043 0-4.405 0-8.391-1.792-11.27-4.686l-0.001-0.001c-2.895-2.879-4.686-6.865-4.686-11.27 0-0.015 0-0.031 0-0.046v0.002c-0-0.013-0-0.028-0-0.043 0-4.405 1.792-8.391 4.686-11.269l0.001-0.001c2.88-2.895 6.866-4.687 11.271-4.687 0.015 0 0.030 0 0.045 0h-0.002c0.013-0 0.028-0 0.043-0 4.405 0 8.391 1.792 11.27 4.686l0.001 0.001c2.895 2.879 4.686 6.866 4.686 11.27 0 0.015-0 0.030-0 0.045v-0.002c0 0.013 0 0.028 0 0.044 0 4.404-1.792 8.39-4.686 11.269l-0.001 0.001c-2.879 2.895-6.865 4.687-11.27 4.687-0.015 0-0.031-0-0.046-0h0.002zM12.371 14.144c-0.001 0-0.002 0-0.004 0-0.267 0-0.508 0.108-0.682 0.283l-2.057 2.057c-0.877 0.872-1.42 2.080-1.42 3.414 0 0.005 0 0.010 0 0.015v-0.001c0 0.004-0 0.009-0 0.014 0 1.335 0.543 2.543 1.42 3.415l0 0c0.873 0.877 2.080 1.419 3.415 1.419 0.005 0 0.009 0 0.014-0h-0.001c0.004 0 0.008 0 0.013 0 1.335 0 2.543-0.543 3.416-1.419l2.057-2.058c0.175-0.176 0.283-0.418 0.283-0.685s-0.108-0.51-0.283-0.685l0 0c-0.174-0.175-0.415-0.284-0.681-0.284-0.001 0-0.003 0-0.004 0h0c-0.001 0-0.003 0-0.004 0-0.266 0-0.508 0.109-0.681 0.284l-2.057 2.056c-0.523 0.524-1.246 0.848-2.045 0.848-0.004 0-0.009 0-0.013-0h0.001c-0.004 0-0.008 0-0.012 0-0.799 0-1.522-0.324-2.044-0.848l-0-0c-0.524-0.523-0.849-1.246-0.849-2.045 0-0.004 0-0.009 0-0.013v0.001c-0-0.004-0-0.008-0-0.012 0-0.799 0.324-1.522 0.849-2.045l2.057-2.058c0.175-0.174 0.283-0.415 0.283-0.681 0-0.002 0-0.003 0-0.005v0c0-0.001 0-0.003 0-0.005 0-0.266-0.108-0.506-0.283-0.68l-0-0c-0.175-0.175-0.416-0.283-0.682-0.283-0.001 0-0.003 0-0.004 0h0zM18.542 13.458c-0.001 0-0.002 0-0.003 0-0.267 0-0.508 0.109-0.682 0.284l-4.114 4.114c-0.175 0.174-0.283 0.415-0.283 0.681 0 0.001 0 0.003 0 0.004v-0c0 0.001 0 0.003 0 0.005 0 0.266 0.108 0.508 0.283 0.682l0 0c0.174 0.175 0.415 0.284 0.682 0.284 0.001 0 0.002 0 0.004 0h-0c0.001 0 0.002 0 0.003 0 0.267 0 0.508-0.108 0.682-0.284l4.114-4.114c0.175-0.174 0.283-0.415 0.283-0.681 0-0.001 0-0.003 0-0.004v0c0-0.001 0-0.003 0-0.005 0-0.266-0.108-0.508-0.283-0.682l-0-0c-0.174-0.175-0.414-0.283-0.68-0.283-0.002 0-0.004 0-0.006 0h0zM19.913 10.15c0.004-0 0.008-0 0.013-0 0.799 0 1.521 0.324 2.044 0.848l0 0c0.524 0.523 0.848 1.246 0.848 2.044 0 0.004 0 0.009-0 0.013v-0.001c0 0.004 0 0.008 0 0.013 0 0.799-0.324 1.521-0.848 2.044l-2.058 2.058c-0.175 0.174-0.283 0.415-0.283 0.682 0 0.001 0 0.003 0 0.004v-0c0 0.002 0 0.003 0 0.005 0 0.266 0.108 0.506 0.283 0.68l0 0c0.175 0.175 0.416 0.283 0.682 0.283 0.001 0 0.003 0 0.004 0h-0c0.001 0 0.003 0 0.004 0 0.266 0 0.508-0.108 0.682-0.283l2.057-2.057c0.876-0.878 1.418-2.090 1.418-3.429s-0.542-2.551-1.418-3.429l0 0c-0.873-0.877-2.080-1.419-3.415-1.419-0.005 0-0.009 0-0.014 0h0.001c-0.004 0-0.009-0-0.013-0-1.334 0-2.542 0.543-3.415 1.419l-2.057 2.057c-0.175 0.176-0.283 0.418-0.283 0.686s0.108 0.51 0.283 0.686l-0-0c0.174 0.175 0.415 0.284 0.681 0.284 0.001 0 0.003 0 0.004 0h-0c0.001 0 0.003 0 0.004 0 0.266 0 0.508-0.109 0.681-0.284l2.058-2.056c0.522-0.524 1.245-0.847 2.043-0.847 0.005 0 0.010 0 0.015 0h-0.001z',
|
|
651
619
|
instagram: 'M16 32c-8.835-0.006-15.994-7.169-15.994-16.004 0-6.586 3.978-12.243 9.663-14.699l0.104-0.040c1.838-0.798 3.979-1.262 6.228-1.262 8.839 0 16.004 7.165 16.004 16.004 0 6.59-3.983 12.249-9.672 14.703l-0.104 0.040c-1.829 0.795-3.959 1.257-6.197 1.257-0.011 0-0.022 0-0.033-0h0.002zM16 7.467h-0.37c-1.959 0-2.269 0.011-3.148 0.050-0.748 0.016-1.458 0.16-2.115 0.411l0.043-0.014c-1.15 0.453-2.043 1.346-2.486 2.466l-0.010 0.030c-0.237 0.613-0.381 1.323-0.397 2.064l-0 0.007c-0.042 0.931-0.052 1.238-0.052 3.52s0.010 2.587 0.052 3.518c0.017 0.748 0.161 1.458 0.411 2.115l-0.015-0.043c0.454 1.15 1.346 2.042 2.466 2.486l0.030 0.010c0.613 0.236 1.322 0.38 2.062 0.397l0.007 0c0.918 0.042 1.223 0.052 3.52 0.052s2.6-0.010 3.518-0.052c0.748-0.016 1.458-0.16 2.116-0.411l-0.043 0.015c1.149-0.454 2.042-1.347 2.486-2.466l0.010-0.030c0.235-0.614 0.379-1.323 0.396-2.064l0-0.007c0.042-0.931 0.052-1.238 0.052-3.518s-0.010-2.587-0.052-3.52c-0.017-0.748-0.161-1.457-0.411-2.114l0.015 0.044c-0.453-1.15-1.346-2.043-2.466-2.486l-0.030-0.010c-0.614-0.236-1.324-0.38-2.066-0.396l-0.007-0c-0.918-0.041-1.222-0.051-3.517-0.051z M16.001 22.992c-2.263 0-2.535-0.009-3.448-0.050-0.571-0.008-1.114-0.115-1.617-0.306l0.033 0.011c-0.385-0.145-0.713-0.363-0.98-0.639l-0.001-0.001c-0.277-0.268-0.495-0.596-0.634-0.962l-0.006-0.018c-0.18-0.47-0.287-1.013-0.294-1.581l-0-0.003c-0.039-0.89-0.047-1.158-0.047-3.447s0.009-2.556 0.049-3.447c0.007-0.571 0.114-1.114 0.305-1.617l-0.011 0.032c0.144-0.385 0.363-0.713 0.639-0.98l0.001-0.001c0.269-0.277 0.597-0.495 0.963-0.634l0.018-0.006c0.47-0.179 1.013-0.285 1.58-0.293l0.003-0c0.792-0.036 1.091-0.046 2.683-0.048 0.073 0.003 0.152 0.003 0.222 0.003h0.544c2.299 0 2.566 0.009 3.448 0.049 0.571 0.007 1.114 0.115 1.617 0.305l-0.033-0.011c0.385 0.145 0.712 0.363 0.98 0.639l0.001 0.001c0.277 0.269 0.495 0.597 0.634 0.963l0.006 0.018c0.179 0.47 0.287 1.013 0.294 1.581l0 0.003c0.041 0.892 0.049 1.16 0.049 3.448s-0.009 2.556-0.049 3.447c-0.008 0.571-0.115 1.114-0.305 1.617l0.011-0.033c-0.294 0.746-0.874 1.325-1.6 1.612l-0.019 0.007c-0.47 0.181-1.014 0.288-1.582 0.295l-0.003 0c-0.915 0.039-1.187 0.048-3.45 0.048zM16.001 11.618c-2.42 0-4.382 1.962-4.382 4.382s1.962 4.382 4.382 4.382c2.419 0 4.38-1.96 4.382-4.379v-0c-0.002-2.42-1.962-4.381-4.381-4.384h-0zM20.557 10.421h-0.002c-0.416 0.001-0.753 0.338-0.753 0.754s0.338 0.754 0.754 0.754 0.754-0.338 0.754-0.754c0-0.416-0.337-0.753-0.753-0.754h-0z M16.001 13.156c1.571 0 2.844 1.274 2.844 2.844s-1.274 2.844-2.844 2.844c-1.571 0-2.844-1.274-2.844-2.844v0c0-1.571 1.274-2.844 2.844-2.844v0z',
|
|
@@ -669,7 +637,8 @@ const icons = {
|
|
|
669
637
|
arrowBack: 'M25.333 14.667h-14.893l6.507-6.507c0.52-0.52 0.52-1.373 0-1.893s-1.36-0.52-1.88 0l-8.787 8.787c-0.52 0.52-0.52 1.36 0 1.88l8.787 8.787c0.52 0.52 1.36 0.52 1.88 0s0.52-1.36 0-1.88l-6.507-6.507h14.893c0.733 0 1.333-0.6 1.333-1.333s-0.6-1.333-1.333-1.333z',
|
|
670
638
|
arrowForward: 'M6.667 17.333h14.893l-6.507 6.507c-0.52 0.52-0.52 1.373 0 1.893s1.36 0.52 1.88 0l8.787-8.787c0.52-0.52 0.52-1.36 0-1.88l-8.773-8.8c-0.52-0.52-1.36-0.52-1.88 0s-0.52 1.36 0 1.88l6.493 6.52h-14.893c-0.733 0-1.333 0.6-1.333 1.333s0.6 1.333 1.333 1.333z',
|
|
671
639
|
keyboardDown: 'M10.827 12.387l5.173 5.173 5.173-5.173c0.52-0.52 1.36-0.52 1.88 0s0.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.88 0.52-0.507 1.373-0.52 1.893 0z',
|
|
672
|
-
|
|
640
|
+
tkai: 'M10.47 7c.807.01 1.46.663 1.469 1.469v6.43l8.328-7.533c.106-.085.226-.159.355-.217l.01-.004a1.42 1.42 0 01.616-.138h.002c.408.01.775.178 1.044.445l.001-.002c.03.028.059.056.085.085h.001c.212.254.34.582.34.941 0 .287-.082.555-.224.781l.003-.005a1.437 1.437 0 01-.138.17l.001-.001a1.33 1.33 0 01-.183.178l-.003.002-6.349 5.734 1.627 1.615 1.477-1.331a1.484 1.484 0 012.073.108h.001a1.377 1.377 0 01.36 1.064v-.005c-.024.398-.206.75-.484.996l-.002.001-1.355 1.22 2.722 2.704.057.083.03.03a1.385 1.385 0 01.372 1.012v-.003c-.01.391-.174.742-.435.996a1.402 1.402 0 01-.914.42h-.004a1.47 1.47 0 01-.941-.249l.005.004-.05-.04-.024-.021-.055-.039a1.107 1.107 0 01-.084-.076l-2.864-2.856-1.478 1.331a1.437 1.437 0 01-1.045.379h.003a1.382 1.382 0 01-1.014-.466l-.001-.002a1.482 1.482 0 01.108-2.073v-.001l1.36-1.225-1.618-1.614-1.717 1.556v3.931a1.462 1.462 0 01-2.503 1.027A1.422 1.422 0 019 22.785v-.009.001V8.47c.01-.807.662-1.46 1.468-1.469h.002z',
|
|
641
|
+
vkai: 'M19.755 7a1.49 1.49 0 011.47 1.468v6.428l8.322-7.534c.111-.09.234-.163.364-.22.194-.092.405-.139.618-.138.392.009.765.168 1.043.444.032.027.06.056.088.087a1.472 1.472 0 01.12 1.717c-.094.129-.202.246-.322.35l-6.35 5.733 1.626 1.614 1.478-1.33a1.49 1.49 0 012.074.108 1.39 1.39 0 01.359 1.059 1.44 1.44 0 01-.485.996l-1.355 1.222 2.725 2.702.06.084.028.029a1.401 1.401 0 01.372 1.008c-.01.376-.167.734-.438.996-.243.25-.57.399-.917.42-.33.026-.66-.06-.936-.244l-.051-.04-.024-.021a1.043 1.043 0 01-.141-.115L26.62 20.97l-1.478 1.33a1.448 1.448 0 01-1.038.37 1.388 1.388 0 01-1.015-.467 1.49 1.49 0 01.108-2.074l1.36-1.227-1.619-1.613-1.713 1.561v3.923a1.47 1.47 0 01-2.938 0V8.468A1.49 1.49 0 0119.755 7zM.165 9.493A1.752 1.752 0 013.34 8.012l6.4 13.722a1.752 1.752 0 01-3.177 1.481L.165 9.493z M12.987 8.012a1.752 1.752 0 113.176 1.481L9.764 23.215a1.752 1.752 0 01-3.175-1.48l6.398-13.723z',
|
|
673
642
|
trophy: 'M27.185 5.789c-0.516-0.724-1.344-1.197-2.283-1.224l-0.004-0h-1.139c-0.031-0.112-0.061-0.224-0.096-0.335-0.098-0.321-0.346-0.568-0.66-0.665l-0.007-0.002c-2.109-0.641-4.534-1.009-7.044-1.009s-4.935 0.369-7.222 1.055l0.178-0.046c-0.321 0.098-0.569 0.346-0.665 0.66l-0.002 0.007c-0.033 0.111-0.064 0.223-0.096 0.335h-1.139c-0.943 0.027-1.77 0.5-2.281 1.215l-0.006 0.009c-0.549 0.778-0.877 1.746-0.877 2.79 0 0.506 0.077 0.994 0.22 1.452l-0.009-0.035 0.021 0.071c0.838 3.063 3.117 5.458 6.045 6.441l0.386 0.113c0.8 0.938 1.792 1.687 2.917 2.192l0.052 0.021c-0.175 1.834-0.697 3.511-1.501 5.015l0.035-0.071-0.479 0.62h-2.332c-0 0-0.001 0-0.001 0-0.548 0-0.992 0.444-0.992 0.992 0 0 0 0 0 0v0 3.375c0 0 0 0.001 0 0.001 0 0.548 0.444 0.992 0.992 0.992 0 0 0.001 0 0.001 0h13.5c0 0 0 0 0 0 0.548 0 0.992-0.444 0.992-0.992 0-0 0-0.001 0-0.001v0-3.375c-0.001-0.548-0.444-0.991-0.992-0.992h-2.133l-0.479-0.62c-0.778-1.458-1.303-3.165-1.469-4.975l-0.004-0.053c1.098-0.528 2.025-1.246 2.773-2.122l0.010-0.011 0.321-0.093c2.992-1.001 5.27-3.394 6.094-6.389l0.015-0.066 0.023-0.076c0.134-0.424 0.211-0.912 0.211-1.418 0-1.043-0.327-2.009-0.885-2.802l0.010 0.016zM5.965 9.492l-0.019-0.060c-0.080-0.254-0.126-0.546-0.126-0.848 0-0.594 0.178-1.146 0.482-1.606l-0.007 0.011c0.152-0.242 0.406-0.407 0.7-0.436l0.004-0h0.737c-0.079 0.578-0.125 1.245-0.125 1.923v0.001c0 0.007-0 0.016-0 0.025 0 1.801 0.36 3.518 1.011 5.083l-0.032-0.088c-1.234-1.022-2.152-2.386-2.611-3.947l-0.014-0.057zM13.959 24.4c0.699-1.477 1.207-3.191 1.434-4.993l0.009-0.084c0.181 0.016 0.365 0.028 0.549 0.028 0.263-0.001 0.522-0.018 0.775-0.051l-0.031 0.003c0.236 1.893 0.744 3.614 1.49 5.202l-0.044-0.105zM25.952 9.431l-0.019 0.063c-0.474 1.616-1.391 2.979-2.611 3.989l-0.013 0.011c0.619-1.477 0.979-3.194 0.979-4.995 0-0.009 0-0.017-0-0.026v0.001c-0-0.679-0.046-1.347-0.134-2.001l0.008 0.077h0.737c0.298 0.029 0.552 0.194 0.702 0.432l0.002 0.004c0.295 0.448 0.471 0.997 0.471 1.587 0 0.306-0.047 0.601-0.135 0.879l0.006-0.021z',
|
|
674
643
|
edit: 'M4 23.28v4.053c0 0.373 0.293 0.667 0.667 0.667h4.053c0.173 0 0.347-0.067 0.467-0.2l14.56-14.547-5-5-14.547 14.547c-0.133 0.133-0.2 0.293-0.2 0.48zM27.613 9.387c0.52-0.52 0.52-1.36 0-1.88l-3.12-3.12c-0.52-0.52-1.36-0.52-1.88 0l-2.44 2.44 5 5 2.44-2.44z',
|
|
675
644
|
projects: 'M26.333 5.613c-0.241-0.24-0.573-0.388-0.94-0.388s-0.699 0.148-0.94 0.388l-0.52 0.52c-0.238 0.239-0.385 0.569-0.385 0.933s0.147 0.694 0.385 0.933l0.013 0.013c0.241 0.24 0.573 0.388 0.94 0.388s0.699-0.148 0.94-0.388l0.52-0.52c0.236-0.24 0.381-0.57 0.381-0.933 0-0.37-0.151-0.705-0.394-0.947l-0-0zM16.013 1.333h-0.013c-0.002 0-0.003 0-0.005 0-0.726 0-1.315 0.589-1.315 1.315 0 0.002 0 0.004 0 0.006v-0 1.28c0 0.002 0 0.003 0 0.005 0 0.726 0.589 1.315 1.315 1.315 0.002 0 0.004 0 0.006 0h0.013c0.002 0 0.003 0 0.005 0 0.726 0 1.315-0.589 1.315-1.315 0-0.002 0-0.004 0-0.006v0-1.28c0-0.002 0-0.003 0-0.005 0-0.726-0.589-1.315-1.315-1.315-0.002 0-0.004 0-0.006 0h0zM27.987 17.267h1.36c0.002 0 0.003 0 0.005 0 0.726 0 1.315-0.589 1.315-1.315 0-0.002 0-0.004 0-0.006v0-0.013c0-0.002 0-0.003 0-0.005 0-0.726-0.589-1.315-1.315-1.315-0.002 0-0.004 0-0.006 0h-1.346c-0.002 0-0.003 0-0.005 0-0.726 0-1.315 0.589-1.315 1.315 0 0.002 0 0.004 0 0.006v-0 0.013c-0 0.008-0 0.016-0 0.025 0 0.715 0.58 1.295 1.295 1.295 0.004 0 0.009-0 0.013-0h-0.001zM12 22.853v5.080c0 0.736 0.597 1.333 1.333 1.333v0h5.333c0.736 0 1.333-0.597 1.333-1.333v0-5.080c2.408-1.409 4-3.983 4-6.928 0-4.418-3.582-8-8-8s-8 3.582-8 8c0 2.946 1.592 5.519 3.962 6.908l0.038 0.020zM5.333 15.947v-0.013c0-0.002 0-0.003 0-0.005 0-0.726-0.589-1.315-1.315-1.315-0.002 0-0.004 0-0.006 0h-1.346c-0.002 0-0.003 0-0.005 0-0.726 0-1.315 0.589-1.315 1.315 0 0.002 0 0.004 0 0.006v-0 0.013c0 0.002 0 0.003 0 0.005 0 0.726 0.589 1.315 1.315 1.315 0.002 0 0.004 0 0.006 0h1.346c0.002 0 0.003 0 0.005 0 0.726 0 1.315-0.589 1.315-1.315 0-0.002 0-0.004 0-0.006v0zM8.080 6.12l-0.52-0.52c-0.232-0.199-0.535-0.321-0.867-0.321-0.736 0-1.333 0.597-1.333 1.333 0 0.332 0.121 0.636 0.322 0.869l-0.001-0.002 0.52 0.52c0.232 0.199 0.535 0.321 0.867 0.321 0.736 0 1.333-0.597 1.333-1.333 0-0.332-0.121-0.636-0.322-0.869l0.001 0.002z',
|
|
@@ -771,85 +740,74 @@ const icons = {
|
|
|
771
740
|
visibility: 'M16 5.333c-6.667 0-12.36 4.147-14.667 10 2.307 5.853 8 10 14.667 10s12.36-4.147 14.667-10c-2.307-5.853-8-10-14.667-10zM16 22c-3.68 0-6.667-2.987-6.667-6.667s2.987-6.667 6.667-6.667 6.667 2.987 6.667 6.667-2.987 6.667-6.667 6.667zM16 11.333c-2.213 0-4 1.787-4 4s1.787 4 4 4 4-1.787 4-4-1.787-4-4-4z',
|
|
772
741
|
event: 'M21.333 17.333h-4c-0.733 0-1.333 0.6-1.333 1.333v4c0 0.733 0.6 1.333 1.333 1.333h4c0.733 0 1.333-0.6 1.333-1.333v-4c0-0.733-0.6-1.333-1.333-1.333zM21.333 4v1.333h-10.667v-1.333c0-0.733-0.6-1.333-1.333-1.333s-1.333 0.6-1.333 1.333v1.333h-1.333c-1.48 0-2.653 1.2-2.653 2.667l-0.013 18.667c0 1.467 1.187 2.667 2.667 2.667h18.667c1.467 0 2.667-1.2 2.667-2.667v-18.667c0-1.467-1.2-2.667-2.667-2.667h-1.333v-1.333c0-0.733-0.6-1.333-1.333-1.333s-1.333 0.6-1.333 1.333zM24 26.667h-16c-0.733 0-1.333-0.6-1.333-1.333v-13.333h18.667v13.333c0 0.733-0.6 1.333-1.333 1.333z',
|
|
773
742
|
info: 'M16 2.667c-7.36 0-13.333 5.973-13.333 13.333s5.973 13.333 13.333 13.333 13.333-5.973 13.333-13.333-5.973-13.333-13.333-13.333zM16 22.667c-0.733 0-1.333-0.6-1.333-1.333v-5.333c0-0.733 0.6-1.333 1.333-1.333s1.333 0.6 1.333 1.333v5.333c0 0.733-0.6 1.333-1.333 1.333zM17.333 12h-2.667v-2.667h2.667v2.667z',
|
|
774
|
-
|
|
743
|
+
'drag-handle': 'M25.333 12h-18.667c-0.733 0-1.333 0.6-1.333 1.333s0.6 1.333 1.333 1.333h18.667c0.733 0 1.333-0.6 1.333-1.333s-0.6-1.333-1.333-1.333zM6.667 20h18.667c0.733 0 1.333-0.6 1.333-1.333s-0.6-1.333-1.333-1.333h-18.667c-0.733 0-1.333 0.6-1.333 1.333s0.6 1.333 1.333 1.333z',
|
|
775
744
|
'thumb-up': 'M17.493 2.747l-7.387 7.387c-0.493 0.493-0.773 1.173-0.773 1.88v13.32c0 1.467 1.2 2.667 2.667 2.667h12c1.067 0 2.027-0.64 2.453-1.613l4.347-10.147c1.12-2.64-0.813-5.573-3.68-5.573h-7.533l1.267-6.107c0.133-0.667-0.067-1.347-0.547-1.827-0.787-0.773-2.040-0.773-2.813 0.013zM4 28c1.467 0 2.667-1.2 2.667-2.667v-10.667c0-1.467-1.2-2.667-2.667-2.667s-2.667 1.2-2.667 2.667v10.667c0 1.467 1.2 2.667 2.667 2.667z',
|
|
776
745
|
'thumb-down': 'M14.507 29.253l7.373-7.387c0.493-0.493 0.773-1.173 0.773-1.88v-13.32c0-1.467-1.2-2.667-2.667-2.667h-11.987c-1.067 0-2.027 0.64-2.44 1.613l-4.347 10.147c-1.133 2.64 0.8 5.573 3.667 5.573h7.533l-1.267 6.107c-0.133 0.667 0.067 1.347 0.547 1.827 0.787 0.773 2.040 0.773 2.813-0.013zM28 4c-1.467 0-2.667 1.2-2.667 2.667v10.667c0 1.467 1.2 2.667 2.667 2.667s2.667-1.2 2.667-2.667v-10.667c0-1.467-1.2-2.667-2.667-2.667z',
|
|
777
746
|
send: 'M4.533 27.2l23.267-9.973c1.080-0.467 1.080-1.987 0-2.453l-23.267-9.973c-0.88-0.387-1.853 0.267-1.853 1.213l-0.013 6.147c0 0.667 0.493 1.24 1.16 1.32l18.84 2.52-18.84 2.507c-0.667 0.093-1.16 0.667-1.16 1.333l0.013 6.147c0 0.947 0.973 1.6 1.853 1.213z',
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
747
|
+
'caret-left': 'M22.6986 26.027C22.0701 26.7812 20.9491 26.8832 20.1948 26.2546L9.52814 17.3657C9.12282 17.0279 8.88847 16.5276 8.88847 16C8.88847 15.4724 9.12282 14.972 9.52814 14.6342L20.1948 5.74536C20.9491 5.1168 22.0701 5.21871 22.6986 5.97298C23.3272 6.72725 23.2253 7.84826 22.471 8.47682L13.4432 16L22.471 23.5231C23.2253 24.1517 23.3272 25.2727 22.6986 26.027Z',
|
|
748
|
+
'caret-right': 'M9.30048 5.97303C9.92904 5.21876 11.05 5.11685 11.8043 5.74541L22.471 14.6343C22.8763 14.9721 23.1106 15.4724 23.1106 16C23.1106 16.5276 22.8763 17.028 22.471 17.3658L11.8043 26.2546C11.05 26.8832 9.92904 26.7813 9.30048 26.027C8.67192 25.2727 8.77383 24.1517 9.5281 23.5232L18.5559 16L9.5281 8.47686C8.77383 7.8483 8.67192 6.7273 9.30048 5.97303Z',
|
|
749
|
+
'wallet-connect': 'M8.32274 11.1135C12.5628 6.96216 19.4372 6.96216 23.6773 11.1135L24.1876 11.6131C24.3996 11.8207 24.3996 12.1572 24.1876 12.3648L22.442 14.0739C22.336 14.1777 22.1641 14.1777 22.0581 14.0739L21.3559 13.3864C18.3979 10.4903 13.6021 10.4903 10.6442 13.3864L9.89213 14.1227C9.78613 14.2265 9.61426 14.2265 9.50826 14.1227L7.76264 12.4136C7.55064 12.206 7.55064 11.8695 7.76264 11.6619L8.32274 11.1135ZM27.2874 14.6481L28.841 16.1692C29.053 16.3768 29.053 16.7133 28.841 16.9209L21.8357 23.7798C21.6237 23.9874 21.28 23.9874 21.068 23.7798C21.068 23.7798 21.068 23.7798 21.068 23.7798L16.096 18.9119C16.043 18.86 15.9571 18.86 15.9041 18.9119C15.9041 18.9118 15.9041 18.9119 15.9041 18.9119L10.9322 23.7798C10.7202 23.9874 10.3765 23.9874 10.1645 23.7798C10.1645 23.7798 10.1645 23.7798 10.1645 23.7798L3.159 16.9208C2.947 16.7133 2.947 16.3767 3.159 16.1692L4.71261 14.648C4.92461 14.4405 5.26833 14.4405 5.48034 14.648L10.4524 19.5161C10.5054 19.568 10.5913 19.568 10.6443 19.5161C10.6443 19.5161 10.6443 19.5161 10.6443 19.5161L15.6161 14.648C15.8281 14.4405 16.1718 14.4405 16.3838 14.648C16.3838 14.648 16.3838 14.648 16.3838 14.648L21.3558 19.5161C21.4088 19.568 21.4947 19.568 21.5477 19.5161L26.5197 14.6481C26.7317 14.4406 27.0754 14.4406 27.2874 14.6481Z',
|
|
750
|
+
'bepro-mark': 'M16.0801 5C22.205 5 27.1603 9.91944 27.1603 16C27.1603 22.0806 22.205 27 16.0801 27C9.95528 27 5 22.0806 5 16C5 14.3347 5.36934 12.7458 6.04646 11.3403C6.10801 11.7069 6.20035 12.0736 6.35424 12.4097C6.60046 12.9903 6.93902 13.4944 7.38531 13.9375C7.8162 14.3653 8.33943 14.7167 8.92422 14.9611C9.47822 15.1903 10.0938 15.3125 10.7247 15.3125H11.6789H11.9251V15.0681V13.2194V12.975H11.6789H10.7247C10.4016 12.975 10.0938 12.9139 9.83217 12.7917C9.53978 12.6694 9.27816 12.5014 9.06272 12.2875C8.84727 12.0736 8.6626 11.8139 8.53949 11.5236C8.43177 11.2486 8.35482 10.9583 8.35482 10.6528V10.6375V10.6222C8.35482 10.3167 8.41638 10.0111 8.53949 9.75139C8.6626 9.46111 8.83188 9.20139 9.04733 8.9875C9.26278 8.77361 9.52439 8.59028 9.81678 8.48333C10.0938 8.37639 10.4016 8.3 10.7093 8.3C11.0325 8.3 11.3249 8.36111 11.6019 8.48333C11.8943 8.60556 12.1559 8.77361 12.3714 8.9875C12.5868 9.20139 12.7715 9.46111 12.8792 9.75139C12.9869 10.0264 13.0639 10.3319 13.0639 10.6375V14.1514V17.6653C13.0639 18.2917 13.187 18.9028 13.4178 19.4528C13.6641 20.0333 14.0026 20.5375 14.4489 20.9806C14.8798 21.4083 15.403 21.7597 15.9878 22.0042C16.5418 22.2333 17.1574 22.3556 17.7883 22.3556C18.4193 22.3556 19.0348 22.2333 19.5889 22.0042C20.1582 21.7597 20.6815 21.4236 21.1278 20.9806C21.5587 20.5528 21.9126 20.0333 22.1588 19.4528C22.3589 18.9792 22.482 18.4597 22.5128 17.9097H22.5282V17.6653V17.5736V17.5125C22.5128 16.9319 22.3897 16.3972 22.1742 15.8778C21.928 15.3125 21.5894 14.7931 21.1431 14.35C20.7123 13.9222 20.189 13.5708 19.6042 13.3264C19.0502 13.0972 18.4347 12.975 17.8037 12.975H16.8496H16.6034V13.2194V15.0681V15.3125H16.8496H17.8037C18.1269 15.3125 18.4347 15.3736 18.6963 15.4958C18.9887 15.6181 19.2503 15.7861 19.4657 16.0153C19.6812 16.2292 19.8659 16.4889 19.989 16.7792C20.0967 17.0542 20.1736 17.3444 20.1736 17.65V17.6653V17.6806C20.1736 17.9861 20.1121 18.2917 19.989 18.5514C19.8659 18.8417 19.6966 19.1014 19.4811 19.3153C19.2657 19.5292 19.0041 19.7125 18.7117 19.8194C18.4347 19.9264 18.1269 20.0028 17.8191 20.0028C17.5113 20.0028 17.2035 19.9417 16.9265 19.8194C16.6341 19.6972 16.3725 19.5292 16.1571 19.3153C15.9416 19.1014 15.757 18.8417 15.6492 18.5514C15.5415 18.2764 15.4646 17.9708 15.4646 17.6653V14.1514V10.6375C15.4646 10.0111 15.3415 9.4 15.1106 8.85C14.8644 8.26944 14.5258 7.76528 14.0796 7.32222C13.6487 6.89444 13.1254 6.54306 12.5407 6.29861C12.2175 6.16111 11.8635 6.06944 11.5096 6.00833C12.8792 5.35139 14.4335 5 16.0801 5Z',
|
|
751
|
+
kucoin: 'M12.3502 16.0022L18.8661 22.5192L22.979 18.4063C23.7144 17.7441 24.8396 17.7735 25.5393 18.4733C26.2391 19.1731 26.2686 20.2982 25.6064 21.0337L20.1788 26.4623C19.4497 27.1792 18.2805 27.1792 17.5514 26.4623L9.72078 18.6296V23.2851C9.72078 24.3126 8.88786 25.1455 7.86039 25.1455C6.83293 25.1455 6 24.3126 6 23.2851V8.71325C6 7.68578 6.83293 6.85286 7.86039 6.85286C8.88786 6.85286 9.72078 7.68578 9.72078 8.71325V13.3688L17.5504 5.53815C18.2792 4.82062 19.449 4.82062 20.1778 5.53815L25.6094 10.9657C26.2716 11.7012 26.2421 12.8263 25.5424 13.5261C24.8426 14.2259 23.7174 14.2553 22.982 13.5931L18.8691 9.48024L12.3502 16.0022ZM18.8691 14.1398C18.1158 14.1394 17.4364 14.5929 17.1478 15.2888C16.8592 15.9847 17.0183 16.7859 17.5508 17.3188C18.0834 17.8516 18.8846 18.0112 19.5806 17.723C20.2767 17.4348 20.7305 16.7556 20.7305 16.0022C20.7308 15.5083 20.5349 15.0345 20.1858 14.685C19.8367 14.3355 19.3631 14.1391 18.8691 14.1388V14.1398Z',
|
|
752
|
+
bitmark: 'M21.566 7.608c-1.387-1.142-3.295-1.714-5.724-1.714-3.248 0-4.688 0-6.052 0v0.846c0 0 3.285 0 5.941 0 2.065 0 3.935 0.426 5.077 1.412 1.142 0.987 2.007 2.455 2.007 4.268 0 1.749-0.749 3.046-1.936 4.027s-3.305 1.413-5.424 1.413c-2.53 0-6.825 0-6.825 0v0.846c0 0 5.811-0.001 6.872-0.001 2.557 0 4.554-0.556 5.992-1.665 1.438-1.111 2.156-2.672 2.156-4.686 0-2.020-0.693-3.601-2.081-4.743z M21.053 8.833c-0.863-0.655-1.855-1.182-4.661-1.182-3.026 0.001-3.396 0-4.668 0v0.825c0 0 2.089-0.027 4.564 0 2.392 0.025 3.27 0.295 4.075 0.89 1.030 0.761 1.669 1.701 1.669 3.016 0 1.268-0.649 2.166-1.684 2.927-1.059 0.78-2.677 0.789-3.336 0.804-0.249 0.006-3.466 0-3.466 0v0.825c0 0 1.601 0.022 2.59-0.001 2.271-0.051 3.618-0.186 4.872-1.118 1.177-0.873 1.8-2.026 1.8-3.486 0-1.925-0.963-2.896-1.757-3.499z M20.636 9.922c-0.648-0.406-1.216-0.68-3.897-0.68-2.724 0-2.21 0-3.355 0v0.542c0 0 1.035 0 3.263 0 2.375 0 3.275 0.422 3.547 0.589 0.534 0.327 1.237 0.859 1.237 1.944 0 0.693-0.41 1.564-1.015 1.906-0.552 0.311-1.561 0.589-3.339 0.589-0.224 0-10.96 0-10.96 0v0.542c0 0 10.11 0 11.001 0 2.143 0 2.879-0.238 3.634-0.655 0.758-0.417 1.263-1.275 1.263-2.377 0-1.231-0.687-1.969-1.378-2.401z M22.77 15.905c-1.387-1.143-3.296-1.714-5.724-1.714-3.249 0-2.683-0.001-4.049-0.001v0.846c0 0 1.28 0 3.936 0 2.065 0 3.936 0.426 5.078 1.412 1.142 0.987 2.006 2.455 2.006 4.269 0 1.748-0.748 3.045-1.935 4.025s-3.306 1.413-5.426 1.413c-2.528 0-6.824 0-6.824 0v0.846c0 0 5.81-0.001 6.872-0.001 2.557 0 4.553-0.555 5.99-1.665 1.438-1.109 2.157-2.672 2.157-4.685 0-2.021-0.693-3.602-2.081-4.744z M22.257 17.129c-0.863-0.654-1.855-1.182-4.661-1.182-3.027 0.001-5.074 0-6.346 0v0.825c0 0 3.765-0.027 6.242 0 2.392 0.025 3.269 0.295 4.074 0.89 1.031 0.763 1.67 1.701 1.67 3.016 0 1.268-0.649 2.166-1.684 2.928-1.059 0.779-2.677 0.789-3.337 0.803-0.249 0.005-3.466 0-3.466 0v0.823c0 0 1.601 0.022 2.591 0 2.27-0.052 3.618-0.187 4.872-1.118 1.176-0.874 1.799-2.027 1.799-3.487 0-1.924-0.962-2.896-1.756-3.499z M12.609 19.927h5.947v-0.461h-5.947v0.461z M15.062 21.538h3.46v-0.396h-3.46v0.396z M9.832 19.927h1.762v-0.461h-1.762v0.461z M8.733 21.571h5.351v-0.461h-5.351v0.461z M10.052 9.748h2.085v-0.38h-2.085v0.38z M8.6 12.832h4.776v-0.442h-4.776v0.442z M8.733 25.176h5.036v-0.552h-5.036v0.552z M7.478 26.967h1.259v-0.8h-1.259v0.8z M10.625 11.482h7.907v-0.442h-7.907v0.442z M14.579 12.832h3.804v-0.442h-3.804v0.442z M21.84 18.3c-0.649-0.392-1.217-0.656-3.896-0.656-2.724 0-3.131 0-4.276 0v0.524c0 0 1.954 0 4.181 0 2.375 0 3.276 0.407 3.549 0.57 0.532 0.316 1.237 0.828 1.237 1.876 0 0.67-0.41 1.509-1.017 1.839-0.552 0.301-1.561 0.57-3.339 0.57-0.224 0-10.959 0-10.959 0v0.524c0 0 10.11-0.001 11-0.001 2.145 0 2.88-0.229 3.635-0.631 0.756-0.404 1.262-1.232 1.262-2.296 0-1.188-0.686-1.899-1.377-2.317z',
|
|
753
|
+
coinbase: 'M16.0031 21.5C12.9658 21.5 10.5031 19.0403 10.5031 16C10.5031 12.9597 12.9658 10.5 16.0031 10.5C18.7256 10.5 20.9867 12.4861 21.4206 15.0833H26.9603C26.4928 9.43667 21.7658 5 16 5C9.92556 5 5 9.92556 5 16C5 22.0744 9.92556 27 16 27C21.7658 27 26.4928 22.5633 26.9603 16.9167H21.4175C20.9806 19.5139 18.7256 21.5 16.0031 21.5Z',
|
|
754
|
+
moonpay: 'M23.6174 11.7653C24.2864 11.7653 24.9404 11.5669 25.4967 11.1953C26.0529 10.8236 26.4865 10.2953 26.7425 9.67716C26.9986 9.05906 27.0656 8.37891 26.935 7.72274C26.8045 7.06657 26.4823 6.46384 26.0093 5.99076C25.5362 5.51769 24.9335 5.19552 24.2773 5.065C23.6211 4.93448 22.941 5.00147 22.3229 5.25749C21.7048 5.51352 21.1765 5.94708 20.8048 6.50336C20.4331 7.05964 20.2347 7.71364 20.2347 8.38267C20.2347 8.82689 20.3221 9.26677 20.4921 9.67719C20.6621 10.0876 20.9113 10.4605 21.2254 10.7746C21.5395 11.0887 21.9124 11.3379 22.3228 11.5079C22.7333 11.6779 23.1731 11.7654 23.6174 11.7653ZM13.2453 27C11.6145 27 10.0204 26.5164 8.66444 25.6104C7.30852 24.7044 6.2517 23.4167 5.62764 21.9101C5.00357 20.4034 4.84029 18.7456 5.15844 17.1462C5.47658 15.5467 6.26187 14.0776 7.41499 12.9245C8.56811 11.7713 10.0373 10.9861 11.6367 10.6679C13.2361 10.3498 14.894 10.5131 16.4006 11.1371C17.9072 11.7612 19.1949 12.818 20.1009 14.1739C21.0069 15.5299 21.4905 17.124 21.4905 18.7548C21.4905 19.8376 21.2773 20.9098 20.8629 21.9101C20.4486 22.9105 19.8412 23.8195 19.0756 24.5851C18.3099 25.3507 17.401 25.9581 16.4006 26.3724C15.4002 26.7868 14.3281 27 13.2453 27Z',
|
|
755
|
+
ledger: 'M3 21.0526V27.4139H12.6806V26.0048H4.4172V21.0526H3ZM3 5.00808V11.3532H4.4172V6.40912H12.6887V5L3 5.00808Z M29 21.0526V27.4139H19.3167V26.0048H27.5882V21.0526H29ZM29 5.00808V11.3532H27.5882V6.40912H19.3167V5L29 5.00808Z M14.1841 11.3612H12.7749V21.0445H19.1362V19.7728H14.1841V11.3612Z',
|
|
756
|
+
moonbeam: 'M21.142 5.645c2.964 1.257 4.94 4.356 4.715 7.499-5.299 0-10.598 0.045-15.896-0.045 0-2.111 0.718-4.266 2.245-5.748 2.245-2.29 5.972-3.009 8.936-1.706z M20.917 25.852c0.314 0 0.584 0.18 0.584 0.404s-0.27 0.404-0.584 0.404h-8.532c-0.314 0-0.584-0.18-0.584-0.404s0.269-0.404 0.584-0.404h8.532z M10.544 26.661c0.322 0 0.584-0.261 0.584-0.584s-0.261-0.584-0.584-0.584c-0.322 0-0.584 0.261-0.584 0.584s0.261 0.584 0.584 0.584z M15.663 24.505c0.322 0 0.584-0.261 0.584-0.584s-0.261-0.584-0.584-0.584c-0.322 0-0.584 0.261-0.584 0.584s0.261 0.584 0.584 0.584z M25.677 23.338c0.314 0 0.584 0.269 0.584 0.584s-0.269 0.584-0.584 0.584h-8.352c-0.314 0-0.584-0.269-0.584-0.584s0.27-0.584 0.584-0.584h8.352z M4.706 22.35c0.322 0 0.584-0.261 0.584-0.584s-0.261-0.584-0.584-0.584c-0.322 0-0.584 0.261-0.584 0.584s0.261 0.584 0.584 0.584z M13.014 21.182c0.314 0 0.584 0.27 0.584 0.584s-0.27 0.584-0.584 0.584h-6.87c-0.314 0-0.584-0.27-0.584-0.584s0.269-0.584 0.584-0.584h6.87z M28.416 21.182c0.314 0 0.584 0.27 0.584 0.584s-0.269 0.584-0.584 0.584h-13.651c-0.314 0-0.584-0.27-0.584-0.584s0.269-0.584 0.584-0.584h13.651z M25.857 19.027c0.314 0 0.584 0.27 0.584 0.584s-0.269 0.584-0.584 0.584h-16.75c-0.314 0-0.584-0.27-0.584-0.584s0.269-0.584 0.584-0.584h16.75z M7.266 20.195c0.322 0 0.584-0.261 0.584-0.584s-0.261-0.584-0.584-0.584c-0.322 0-0.584 0.261-0.584 0.584s0.261 0.584 0.584 0.584z M22.354 16.916c0.314 0 0.584 0.269 0.584 0.584s-0.269 0.584-0.584 0.584h-16.75c-0.314 0-0.584-0.269-0.584-0.584s0.269-0.584 0.584-0.584h16.75z M3.584 18.084c0.322 0 0.584-0.261 0.584-0.584s-0.261-0.584-0.584-0.584c-0.322 0-0.584 0.261-0.584 0.584s0.261 0.584 0.584 0.584z M7.266 15.929c0.322 0 0.584-0.261 0.584-0.584s-0.261-0.584-0.584-0.584c-0.322 0-0.584 0.261-0.584 0.584s0.261 0.584 0.584 0.584z M27.473 14.761c0.314 0 0.584 0.27 0.584 0.584s-0.269 0.584-0.584 0.584h-18.231c-0.314 0-0.584-0.27-0.584-0.584s0.269-0.584 0.584-0.584h18.231z',
|
|
757
|
+
solidity: 'M20.535 3l4.177 7.429h-8.357l-4.177 7.427-4.177-7.427 4.177-7.429h8.357zM16.398 21.571l4.177-7.427 4.18 7.427-4.18 7.429h-8.357l-4.177-7.429h8.357z',
|
|
758
|
+
metamask: 'M27.043 16.037l1.128-1.32c0.006-0.012 0.008-0.025 0.008-0.038s-0.003-0.026-0.008-0.038c-0.001-0.013-0.005-0.025-0.012-0.036s-0.016-0.020-0.027-0.026l-0.415-0.299 0.722-0.66c0.005-0.012 0.008-0.025 0.008-0.038s-0.003-0.026-0.008-0.038c-0.001-0.014-0.005-0.027-0.012-0.039s-0.016-0.022-0.027-0.030l-0.514-0.399 0.706-0.537c0.011-0.009 0.021-0.021 0.027-0.034s0.010-0.028 0.011-0.042c0.002-0.015-0.001-0.031-0.008-0.044s-0.018-0.025-0.031-0.033l-0.484-0.376 0.837-4.053v-0.046l-1.274-3.838c-0.011-0.020-0.029-0.035-0.050-0.043s-0.044-0.009-0.066-0.003v0l-8.183 3.071h-6.778l-8.168-3.071h-0.077c-0.022 0.015-0.038 0.037-0.046 0.061l-1.274 3.838c-0.004 0.015-0.004 0.031 0 0.046l0.852 4.053-0.507 0.376c-0.012 0.009-0.022 0.020-0.029 0.034s-0.010 0.028-0.010 0.043c0.001 0.015 0.005 0.029 0.011 0.043s0.016 0.025 0.027 0.034l0.722 0.537-0.514 0.407c-0.011 0.008-0.020 0.018-0.027 0.030s-0.011 0.025-0.011 0.039c-0.007 0.025-0.007 0.052 0 0.077l0.714 0.66-0.415 0.299c-0.017 0.018-0.030 0.038-0.038 0.062-0.008 0.025-0.008 0.052 0 0.077l1.136 1.32-1.75 5.42c-0.004 0.009-0.005 0.018-0.005 0.027s0.002 0.018 0.005 0.027l1.635 5.588c0.003 0.012 0.008 0.024 0.015 0.034s0.017 0.019 0.027 0.025c0.011 0.006 0.023 0.011 0.035 0.012s0.025 0.001 0.037-0.003l5.688-1.535 1.090 0.89 2.303 1.535h4l2.303-1.574 1.067-0.875 5.696 1.535c0.025 0.007 0.053 0.004 0.076-0.009s0.040-0.035 0.047-0.060l1.643-5.588v-0.054l-1.812-5.42zM11.060 19.314c-0.018-0.008-0.034-0.020-0.045-0.037s-0.017-0.036-0.017-0.055c0-0.020 0.006-0.039 0.017-0.055s0.027-0.029 0.045-0.037l2.011-0.921c0.023-0.009 0.047-0.009 0.070 0s0.041 0.025 0.053 0.046l0.837 1.75c0.010 0.013 0.015 0.029 0.015 0.046s-0.005 0.033-0.015 0.046c-0.007 0.014-0.018 0.026-0.032 0.034s-0.029 0.012-0.045 0.012l-2.894-0.829zM18.222 26.146c-0.016 0.009-0.035 0.015-0.054 0.015s-0.037-0.005-0.054-0.015l-0.238-0.192h-3.746l-0.223 0.192c-0.020 0.008-0.042 0.008-0.061 0h-0.046c-0.017-0.011-0.031-0.025-0.040-0.043s-0.014-0.037-0.014-0.057l0.276-2.226c0.008-0.025 0.025-0.046 0.046-0.061l0.476-0.338c0.008-0.004 0.018-0.005 0.027-0.005s0.018 0.002 0.027 0.005h2.863l0.484 0.33c0.010 0.027 0.010 0.057 0 0.084v0l0.276 2.211c0.007 0.016 0.010 0.034 0.008 0.051s-0.007 0.034-0.016 0.049h0.008zM20.971 19.307l-2.863 0.844h-0.061c-0.009-0.025-0.009-0.052 0-0.077-0.003-0.018-0.003-0.036 0-0.054l0.837-1.758c0.014-0.021 0.034-0.037 0.058-0.045s0.049-0.009 0.073-0.001l2.019 0.921c0.019 0.008 0.034 0.023 0.044 0.041s0.013 0.039 0.010 0.059c-0.007 0.025-0.024 0.047-0.047 0.060s-0.050 0.016-0.076 0.009h0.008z',
|
|
759
|
+
launch: 'M19.1153 6C18.4467 6 17.9048 6.54196 17.9048 7.2105C17.9048 7.87905 18.4467 8.42101 19.1153 8.42101H21.8671L13.4974 16.7907C13.0247 17.2634 13.0247 18.0299 13.4974 18.5026C13.9701 18.9753 14.7366 18.9753 15.2093 18.5026L23.579 10.1329V12.8847C23.579 13.5533 24.121 14.0952 24.7895 14.0952C25.458 14.0952 26 13.5533 26 12.8847V7.2105C26 6.54196 25.458 6 24.7895 6H19.1153Z M9.14146 8.16167C8.8816 8.16167 8.63239 8.26489 8.44864 8.44864C8.26489 8.63239 8.16167 8.8816 8.16167 9.14146V22.8585C8.16167 23.1184 8.26489 23.3676 8.44864 23.5514C8.63239 23.7351 8.8816 23.8383 9.14146 23.8383H22.8585C23.1184 23.8383 23.3676 23.7351 23.5514 23.5514C23.7351 23.3676 23.8383 23.1184 23.8383 22.8585V19.055C23.8383 18.5139 24.277 18.0752 24.8181 18.0752C25.3592 18.0752 25.7979 18.5139 25.7979 19.055V22.8585C25.7979 23.6381 25.4882 24.3858 24.937 24.937C24.3858 25.4882 23.6381 25.7979 22.8585 25.7979H9.14146C8.36189 25.7979 7.61424 25.4882 7.06301 24.937C6.51177 24.3858 6.20208 23.6381 6.20208 22.8585V9.14146C6.20208 8.36189 6.51177 7.61425 7.06301 7.06301C7.61425 6.51177 8.36189 6.20208 9.14146 6.20208H12.945C13.4861 6.20208 13.9248 6.64075 13.9248 7.18187C13.9248 7.723 13.4861 8.16167 12.945 8.16167H9.14146Z M6.92011 6.92011C7.50925 6.33097 8.30829 6 9.14146 6H12.945C13.5977 6 14.1268 6.52914 14.1268 7.18187C14.1268 7.83461 13.5977 8.36375 12.945 8.36375H9.14146C8.9352 8.36375 8.73738 8.44569 8.59153 8.59153C8.44568 8.73738 8.36375 8.9352 8.36375 9.14146V22.8585C8.36375 23.0648 8.44568 23.2626 8.59153 23.4085C8.73738 23.5543 8.9352 23.6363 9.14146 23.6363H22.8585C23.0648 23.6363 23.2626 23.5543 23.4085 23.4085C23.5543 23.2626 23.6363 23.0648 23.6363 22.8585V19.055C23.6363 18.4023 24.1654 17.8732 24.8181 17.8732C25.4709 17.8732 26 18.4023 26 19.055V22.8585C26 23.6917 25.669 24.4908 25.0799 25.0799C24.4908 25.669 23.6917 26 22.8585 26H9.14146C8.30829 26 7.50925 25.669 6.92011 25.0799C6.33097 24.4907 6 23.6917 6 22.8585V9.14146C6 8.30829 6.33097 7.50925 6.92011 6.92011ZM9.14146 6.40416C8.41548 6.40416 7.71924 6.69256 7.2059 7.2059C6.69256 7.71924 6.40416 8.41548 6.40416 9.14146V22.8585C6.40416 23.5845 6.69256 24.2808 7.2059 24.7941C7.71924 25.3074 8.41548 25.5958 9.14146 25.5958H22.8585C23.5845 25.5958 24.2808 25.3074 24.7941 24.7941C25.3074 24.2808 25.5958 23.5845 25.5958 22.8585V19.055C25.5958 18.6255 25.2476 18.2773 24.8181 18.2773C24.3886 18.2773 24.0404 18.6255 24.0404 19.055V22.8585C24.0404 23.172 23.9159 23.4726 23.6943 23.6943C23.4726 23.9159 23.172 24.0404 22.8585 24.0404H9.14146C8.82801 24.0404 8.52739 23.9159 8.30575 23.6943C8.0841 23.4726 7.95958 23.172 7.95958 22.8585V9.14146C7.95958 8.828 8.0841 8.52739 8.30575 8.30575C8.52739 8.0841 8.828 7.95958 9.14146 7.95958H12.945C13.3745 7.95958 13.7227 7.61139 13.7227 7.18187C13.7227 6.75236 13.3745 6.40416 12.945 6.40416H9.14146Z',
|
|
760
|
+
'arrow-external': 'M6 6v5.663h9.542L6.666 21.796v4.183h4.628l9.222-10.917V26H26V6H6z',
|
|
761
|
+
mint: 'M21.102 2a1 1 0 011 1v2h2a1 1 0 010 2h-2v2a1 1 0 01-2 0V7h-2a1 1 0 110-2h2V3a1 1 0 011-1zM16.44 22.938l-2.4 6.512a1 1 0 01-1.874 0l-2.4-6.512a1.012 1.012 0 00-.6-.6l-6.513-2.4a1 1 0 010-1.875l6.513-2.4a1.013 1.013 0 00.6-.6l2.4-6.513a1 1 0 011.875 0l2.4 6.512a1.012 1.012 0 00.6.6l6.512 2.4a1 1 0 010 1.875l-6.512 2.4a1.012 1.012 0 00-.6.6zM27.102 9a1 1 0 011 1v1h1a1 1 0 010 2h-1v1a1 1 0 01-2 0v-1h-1a1 1 0 110-2h1v-1a1 1 0 011-1z'
|
|
792
762
|
};
|
|
793
763
|
|
|
794
|
-
const {
|
|
795
|
-
grey: grey$3,
|
|
796
|
-
lightGrey: lightGrey$3,
|
|
797
|
-
red: red$1,
|
|
798
|
-
purple500
|
|
799
|
-
} = colors;
|
|
800
764
|
const TextFieldInputStyle = /*#__PURE__*/_styled__default.input.withConfig({
|
|
801
765
|
displayName: "styles__TextFieldInputStyle",
|
|
802
766
|
componentId: "sc-1hxcxbo-0"
|
|
803
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";height:", ";padding:", ";font-family:inherit;font-size:
|
|
804
|
-
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32"><path style="fill
|
|
805
|
-
padding-left: ${
|
|
806
|
-
background-repeat: no-repeat;
|
|
807
|
-
background-size: ${polished.rem('30px')} ${polished.rem('30px')};
|
|
808
|
-
background-position: ${props.minimal ? 0 : '10px'} 50%;
|
|
767
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";background-repeat:no-repeat;background-size:", " ", ";background-position:", " 50%;height:", ";padding:", ";font-family:inherit;font-size:", ";transition-property:border-color;transition-duration:", ";&:hover{border-color:", ";}&:focus{border-color:", ";outline:none;}&:disabled{border-color:", ";background-color:", ";color:", ";}&:invalid{border-color:", ";outline:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;}&:required{border-color:", ";}&::placeholder,&:-ms-input-placeholder,&::-ms-input-placeholder{color:", ";opacity:1;}", ""], field.borderWidth, props => props.error ? field.errorBorderColor : field.borderColor, field.borderRadius, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), field.height, /*#__PURE__*/polished.rem('10px'), typography.defaultSize, misc.transitionDuration, field.hoverBorderColor, field.activeBorderColor, field.borderColor, field.disabledBackgroundColor, field.disabledColor, field.errorBorderColor, props => props.error ? field.errorBorderColor : field.borderColor, field.placeholderColor, props => props.icon && _styled.css`
|
|
768
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32"><path style="fill:${props => props.error ? 'rgb(235,87,87)' : 'rgb(217,212,237)'}" d=${JSON.stringify(icons[props.icon])} /></svg>');
|
|
769
|
+
padding-left: ${polished.rem('40px')};
|
|
809
770
|
|
|
810
771
|
&:focus {
|
|
811
|
-
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32">
|
|
812
|
-
<path style="fill:
|
|
772
|
+
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewbox="0 0 32 32">
|
|
773
|
+
<path style="fill:rgb(67,41,166)" d=${JSON.stringify(icons[props.icon])} /></svg>');
|
|
813
774
|
}
|
|
814
775
|
`);
|
|
815
776
|
|
|
816
|
-
const {
|
|
817
|
-
light: light$3,
|
|
818
|
-
grey: grey$4,
|
|
819
|
-
lightGrey: lightGrey$4,
|
|
820
|
-
red: red$2,
|
|
821
|
-
purple500: purple500$1
|
|
822
|
-
} = colors;
|
|
823
777
|
const Wrapper$1 = _styled__default.div`
|
|
824
778
|
position: relative;
|
|
825
779
|
`;
|
|
826
780
|
const TextAreaStyle = _styled__default.textarea`
|
|
827
|
-
border-width: ${
|
|
781
|
+
border-width: ${field.borderWidth};
|
|
828
782
|
border-style: solid;
|
|
829
|
-
border-color: ${props => props.error ?
|
|
830
|
-
border-radius: ${
|
|
783
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
784
|
+
border-radius: ${field.borderRadius};
|
|
831
785
|
width: 100%;
|
|
832
786
|
height: ${props => props.height || polished.rem('100px')};
|
|
833
|
-
min-height:
|
|
834
|
-
padding: ${
|
|
787
|
+
min-height: ${field.height};
|
|
788
|
+
padding: ${/*#__PURE__*/polished.rem('10px')};
|
|
835
789
|
font-family: inherit;
|
|
836
|
-
font-size:
|
|
790
|
+
font-size: ${/*#__PURE__*/polished.rem('16px')};
|
|
837
791
|
word-break: break-word;
|
|
838
|
-
transition-duration:
|
|
792
|
+
transition-duration: ${misc.transitionDuration};
|
|
839
793
|
resize: none;
|
|
840
794
|
|
|
795
|
+
&:hover {
|
|
796
|
+
border-color: ${field.hoverBorderColor};
|
|
797
|
+
}
|
|
798
|
+
|
|
841
799
|
&:focus {
|
|
842
|
-
border-color: ${
|
|
800
|
+
border-color: ${field.activeColor};
|
|
843
801
|
outline: none;
|
|
844
802
|
}
|
|
845
803
|
|
|
846
804
|
&:disabled {
|
|
847
|
-
background-color: ${
|
|
848
|
-
color: ${
|
|
805
|
+
background-color: ${field.disabledBackgroundColor};
|
|
806
|
+
color: ${field.disabledColor};
|
|
849
807
|
}
|
|
850
808
|
|
|
851
809
|
&:invalid {
|
|
852
|
-
border-color: ${
|
|
810
|
+
border-color: ${field.errorBorderColor};
|
|
853
811
|
outline: none;
|
|
854
812
|
box-shadow: none;
|
|
855
813
|
-webkit-box-shadow: none;
|
|
@@ -857,102 +815,81 @@ const TextAreaStyle = _styled__default.textarea`
|
|
|
857
815
|
}
|
|
858
816
|
|
|
859
817
|
&:required {
|
|
860
|
-
border-color: ${props => props.error ?
|
|
818
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
861
819
|
}
|
|
862
820
|
|
|
863
821
|
&::placeholder {
|
|
864
|
-
color: ${
|
|
822
|
+
color: ${field.placeholderColor};
|
|
865
823
|
opacity: 1;
|
|
866
824
|
}
|
|
867
825
|
|
|
868
826
|
&:-ms-input-placeholder {
|
|
869
|
-
color: ${
|
|
827
|
+
color: ${field.placeholderColor};
|
|
870
828
|
opacity: 1;
|
|
871
829
|
}
|
|
872
830
|
|
|
873
831
|
&::-ms-input-placeholder {
|
|
874
|
-
color: ${
|
|
832
|
+
color: ${field.placeholderColor};
|
|
875
833
|
opacity: 1;
|
|
876
834
|
}
|
|
877
835
|
`;
|
|
878
836
|
const Count = _styled__default.div`
|
|
879
837
|
position: absolute;
|
|
880
|
-
top: ${
|
|
881
|
-
right: ${
|
|
882
|
-
background-color: ${/*#__PURE__*/polished.transparentize(0.15,
|
|
838
|
+
top: ${/*#__PURE__*/polished.rem('5px')};
|
|
839
|
+
right: ${/*#__PURE__*/polished.rem('10px')};
|
|
840
|
+
background-color: ${/*#__PURE__*/polished.transparentize(0.15, colors.white)};
|
|
883
841
|
padding: 0 ${/*#__PURE__*/polished.rem('5px')};
|
|
884
842
|
|
|
885
843
|
span {
|
|
886
|
-
font-size:
|
|
887
|
-
color: ${
|
|
844
|
+
font-size: ${typography.fontSizeXs};
|
|
845
|
+
color: ${field.borderColor};
|
|
888
846
|
|
|
889
847
|
&.negative {
|
|
890
|
-
color: ${
|
|
848
|
+
color: ${field.errorBorderColor};
|
|
891
849
|
}
|
|
892
850
|
}
|
|
893
851
|
`;
|
|
894
852
|
|
|
895
|
-
const {
|
|
896
|
-
normal: normal$2,
|
|
897
|
-
grey: grey$5,
|
|
898
|
-
lightGrey: lightGrey$5,
|
|
899
|
-
red: red$3,
|
|
900
|
-
purple500: purple500$2
|
|
901
|
-
} = colors;
|
|
902
853
|
const SelectStyle = _styled__default.select`
|
|
903
|
-
border: ${
|
|
904
|
-
|
|
905
|
-
|
|
854
|
+
border: ${field.borderWidth} solid
|
|
855
|
+
${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
856
|
+
border-radius: ${field.borderRadius};
|
|
857
|
+
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path fill='rgb(217,212,237)' d='M10.827 12.387l5.173 5.173 5.173-5.173c0.52-0.52 1.36-0.52 1.88 0v0c0.52 0.52 0.52 1.36 0 1.88l-6.12 6.12c-0.52 0.52-1.36 0.52-1.88 0l-6.12-6.12c-0.52-0.52-0.52-1.36 0-1.88v0c0.52-0.507 1.373-0.52 1.893 0z'></path></svg>");
|
|
906
858
|
background-position: calc(100% - 15px) center;
|
|
907
859
|
background-repeat: no-repeat;
|
|
908
860
|
background-size: ${/*#__PURE__*/polished.rem('30px')};
|
|
909
861
|
background-color: transparent;
|
|
910
|
-
height: ${
|
|
862
|
+
height: ${field.height};
|
|
911
863
|
padding: 0 ${/*#__PURE__*/polished.rem('65px')} 0 ${/*#__PURE__*/polished.rem('15px')};
|
|
912
|
-
font-size:
|
|
864
|
+
font-size: ${typography.defaultSize};
|
|
913
865
|
appearance: none;
|
|
914
866
|
cursor: pointer;
|
|
915
|
-
transition-duration:
|
|
867
|
+
transition-duration: ${misc.transitionDuration};
|
|
916
868
|
|
|
917
869
|
&:hover {
|
|
918
|
-
border-color: ${
|
|
870
|
+
border-color: ${field.hoverBorderColor};
|
|
919
871
|
}
|
|
920
872
|
|
|
921
873
|
&:-moz-focusring {
|
|
922
874
|
color: transparent;
|
|
923
|
-
text-shadow: 0 0 0 ${
|
|
875
|
+
text-shadow: 0 0 0 ${colors.black};
|
|
876
|
+
}
|
|
877
|
+
|
|
878
|
+
&:focus {
|
|
879
|
+
outline: none;
|
|
924
880
|
}
|
|
925
881
|
|
|
926
882
|
&:disabled {
|
|
927
|
-
background-color: ${
|
|
928
|
-
color: ${
|
|
883
|
+
background-color: ${field.disabledBackgroundColor};
|
|
884
|
+
color: ${field.disabledColor};
|
|
929
885
|
pointer-events: none;
|
|
930
886
|
}
|
|
931
|
-
|
|
932
|
-
${props => props.minimal && _styled.css`
|
|
933
|
-
border: 0;
|
|
934
|
-
border-bottom: ${polished.rem('1px')} solid
|
|
935
|
-
${props => props.error ? red$3 : grey$5};
|
|
936
|
-
border-radius: 0;
|
|
937
|
-
background-position: 100% center;
|
|
938
|
-
height: ${polished.rem('40px')};
|
|
939
|
-
padding: 0 ${polished.rem('35px')} 0 0;
|
|
940
|
-
|
|
941
|
-
&:disabled {
|
|
942
|
-
background-color: transparent;
|
|
943
|
-
color: ${grey$5};
|
|
944
|
-
}
|
|
945
|
-
`}
|
|
946
887
|
`;
|
|
947
888
|
|
|
948
|
-
const {
|
|
949
|
-
green: green$2,
|
|
950
|
-
red: red$4
|
|
951
|
-
} = colors;
|
|
952
889
|
const ErrorStyle = /*#__PURE__*/_styled__default.span.withConfig({
|
|
953
890
|
displayName: "styles__ErrorStyle",
|
|
954
891
|
componentId: "sc-4e4ecc-0"
|
|
955
|
-
})(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ?
|
|
892
|
+
})(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? field.successBorderColor : field.errorBorderColor, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/polished.rem('5px'));
|
|
956
893
|
|
|
957
894
|
const ErrorField = props => {
|
|
958
895
|
const {
|
|
@@ -987,39 +924,30 @@ const Icon = props => {
|
|
|
987
924
|
}));
|
|
988
925
|
};
|
|
989
926
|
|
|
990
|
-
const {
|
|
991
|
-
grey: grey$6
|
|
992
|
-
} = colors;
|
|
993
|
-
const {
|
|
994
|
-
bold
|
|
995
|
-
} = typography;
|
|
996
927
|
const LabelStyle = /*#__PURE__*/_styled__default.label.withConfig({
|
|
997
928
|
displayName: "styles__LabelStyle",
|
|
998
929
|
componentId: "sc-pbv9we-0"
|
|
999
|
-
})(["display:flex;align-items:center;font-size:
|
|
930
|
+
})(["display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";svg{margin-left:", ";width:auto;height:", ";}"], typography.fontSizeXs, typography.semiBold, colors.grey200, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('16px'));
|
|
1000
931
|
|
|
1001
|
-
const {
|
|
1002
|
-
grey: grey$7
|
|
1003
|
-
} = colors;
|
|
1004
932
|
const Label = props => {
|
|
1005
933
|
const {
|
|
1006
934
|
value,
|
|
1007
|
-
|
|
935
|
+
currency,
|
|
1008
936
|
className = 'label',
|
|
1009
937
|
style
|
|
1010
938
|
} = props;
|
|
1011
939
|
return /*#__PURE__*/React__default.createElement(LabelStyle, {
|
|
1012
940
|
className: className,
|
|
1013
941
|
style: style
|
|
1014
|
-
}, value,
|
|
1015
|
-
icon: "
|
|
1016
|
-
fill:
|
|
1017
|
-
})
|
|
942
|
+
}, value, currency === 'tkai' && /*#__PURE__*/React__default.createElement(Icon, {
|
|
943
|
+
icon: "tkai",
|
|
944
|
+
fill: colors.grey200
|
|
945
|
+
}), currency === 'vkai' && /*#__PURE__*/React__default.createElement(Icon, {
|
|
946
|
+
icon: "vkai",
|
|
947
|
+
fill: colors.grey200
|
|
948
|
+
}));
|
|
1018
949
|
};
|
|
1019
950
|
|
|
1020
|
-
const {
|
|
1021
|
-
light: light$4
|
|
1022
|
-
} = colors;
|
|
1023
951
|
const rotation = _styled.keyframes`
|
|
1024
952
|
from {
|
|
1025
953
|
transform: rotate(0deg);
|
|
@@ -1031,14 +959,11 @@ const rotation = _styled.keyframes`
|
|
|
1031
959
|
const Loading = /*#__PURE__*/_styled__default.div.withConfig({
|
|
1032
960
|
displayName: "styles__Loading",
|
|
1033
961
|
componentId: "sc-sxnx45-0"
|
|
1034
|
-
})(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill ||
|
|
962
|
+
})(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill || colors.white, props => props.size || polished.rem('20px'), props => props.size || polished.rem('20px'), rotation);
|
|
1035
963
|
|
|
1036
|
-
const {
|
|
1037
|
-
grey: grey$8
|
|
1038
|
-
} = colors;
|
|
1039
964
|
const Spinner = props => {
|
|
1040
965
|
const {
|
|
1041
|
-
fill =
|
|
966
|
+
fill = colors.grey200,
|
|
1042
967
|
size = '20px',
|
|
1043
968
|
className = 'spinner',
|
|
1044
969
|
style
|
|
@@ -1116,7 +1041,6 @@ const TagNumber = props => {
|
|
|
1116
1041
|
const TextField = props => {
|
|
1117
1042
|
const {
|
|
1118
1043
|
type = 'text',
|
|
1119
|
-
minimal = true,
|
|
1120
1044
|
icon,
|
|
1121
1045
|
name,
|
|
1122
1046
|
value,
|
|
@@ -1134,7 +1058,6 @@ const TextField = props => {
|
|
|
1134
1058
|
required = false
|
|
1135
1059
|
} = props;
|
|
1136
1060
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(TextFieldInputStyle, {
|
|
1137
|
-
minimal: minimal,
|
|
1138
1061
|
icon: icon,
|
|
1139
1062
|
type: type,
|
|
1140
1063
|
name: name,
|
|
@@ -1158,7 +1081,6 @@ const TextField = props => {
|
|
|
1158
1081
|
|
|
1159
1082
|
const TextArea = props => {
|
|
1160
1083
|
const {
|
|
1161
|
-
minimal = true,
|
|
1162
1084
|
className = 'text-area',
|
|
1163
1085
|
style,
|
|
1164
1086
|
height,
|
|
@@ -1178,7 +1100,6 @@ const TextArea = props => {
|
|
|
1178
1100
|
return /*#__PURE__*/React__default.createElement(Wrapper$1, {
|
|
1179
1101
|
className: "text-field"
|
|
1180
1102
|
}, /*#__PURE__*/React__default.createElement(TextAreaStyle, {
|
|
1181
|
-
minimal: minimal,
|
|
1182
1103
|
className: className,
|
|
1183
1104
|
style: style,
|
|
1184
1105
|
height: height,
|
|
@@ -1193,9 +1114,7 @@ const TextArea = props => {
|
|
|
1193
1114
|
error: error,
|
|
1194
1115
|
required: required,
|
|
1195
1116
|
"data-testid": dataTestId
|
|
1196
|
-
}), charactersCount != undefined && /*#__PURE__*/React__default.createElement(Count, {
|
|
1197
|
-
minimal: minimal
|
|
1198
|
-
}, /*#__PURE__*/React__default.createElement("span", {
|
|
1117
|
+
}), charactersCount != undefined && /*#__PURE__*/React__default.createElement(Count, null, /*#__PURE__*/React__default.createElement("span", {
|
|
1199
1118
|
className: charactersCount < 0 ? 'negative' : ''
|
|
1200
1119
|
}, charactersCount)), error ? /*#__PURE__*/React__default.createElement(ErrorField, {
|
|
1201
1120
|
error: error
|
|
@@ -1204,7 +1123,6 @@ const TextArea = props => {
|
|
|
1204
1123
|
|
|
1205
1124
|
const Select = props => {
|
|
1206
1125
|
const {
|
|
1207
|
-
minimal = false,
|
|
1208
1126
|
placeholder,
|
|
1209
1127
|
options,
|
|
1210
1128
|
defaultValue,
|
|
@@ -1220,7 +1138,6 @@ const Select = props => {
|
|
|
1220
1138
|
value: value.value
|
|
1221
1139
|
}, value.name));
|
|
1222
1140
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(SelectStyle, {
|
|
1223
|
-
minimal: minimal,
|
|
1224
1141
|
name: name,
|
|
1225
1142
|
defaultValue: defaultValue,
|
|
1226
1143
|
value: value,
|
|
@@ -1238,14 +1155,6 @@ const Select = props => {
|
|
|
1238
1155
|
}) : null);
|
|
1239
1156
|
};
|
|
1240
1157
|
|
|
1241
|
-
const {
|
|
1242
|
-
normal: normal$3,
|
|
1243
|
-
light: light$5,
|
|
1244
|
-
grey: grey$9,
|
|
1245
|
-
lightGrey: lightGrey$6,
|
|
1246
|
-
purple500: purple500$3,
|
|
1247
|
-
lightPurple
|
|
1248
|
-
} = colors;
|
|
1249
1158
|
const SelectWrapper = _styled__default.div`
|
|
1250
1159
|
.select {
|
|
1251
1160
|
&-interactive {
|
|
@@ -1253,36 +1162,35 @@ const SelectWrapper = _styled__default.div`
|
|
|
1253
1162
|
}
|
|
1254
1163
|
|
|
1255
1164
|
&__control {
|
|
1256
|
-
border-color: ${
|
|
1257
|
-
|
|
1258
|
-
|
|
1165
|
+
border-color: ${field.borderColor};
|
|
1166
|
+
border-radius: ${field.borderRadius};
|
|
1167
|
+
min-height: ${field.height};
|
|
1168
|
+
transition-duration: ${misc.transitionDuration};
|
|
1259
1169
|
|
|
1260
1170
|
&:hover {
|
|
1261
|
-
border-color: ${
|
|
1171
|
+
border-color: ${field.hoverBorderColor};
|
|
1262
1172
|
}
|
|
1263
1173
|
|
|
1264
1174
|
&--is-focused {
|
|
1265
|
-
border-color: ${
|
|
1175
|
+
border-color: ${field.activeBorderColor};
|
|
1266
1176
|
box-shadow: none;
|
|
1267
1177
|
}
|
|
1268
1178
|
}
|
|
1269
1179
|
|
|
1270
1180
|
&__value-container {
|
|
1271
|
-
display: flex;
|
|
1272
|
-
align-items: center;
|
|
1273
1181
|
padding: 0 ${/*#__PURE__*/polished.rem('15px')};
|
|
1274
1182
|
}
|
|
1275
1183
|
|
|
1276
1184
|
&__placeholder {
|
|
1277
|
-
color: ${
|
|
1185
|
+
color: ${field.placeholderColor};
|
|
1278
1186
|
}
|
|
1279
1187
|
|
|
1280
1188
|
&__input {
|
|
1281
|
-
color: ${
|
|
1189
|
+
color: ${field.color};
|
|
1282
1190
|
}
|
|
1283
1191
|
|
|
1284
1192
|
&__single-value {
|
|
1285
|
-
color: ${
|
|
1193
|
+
color: ${field.color};
|
|
1286
1194
|
}
|
|
1287
1195
|
|
|
1288
1196
|
&__indicator {
|
|
@@ -1297,31 +1205,35 @@ const SelectWrapper = _styled__default.div`
|
|
|
1297
1205
|
height: ${/*#__PURE__*/polished.rem('22px')};
|
|
1298
1206
|
|
|
1299
1207
|
path {
|
|
1300
|
-
fill:
|
|
1208
|
+
fill: ${field.borderColor};
|
|
1301
1209
|
}
|
|
1302
1210
|
}
|
|
1303
1211
|
|
|
1304
1212
|
&-separator {
|
|
1305
|
-
background-color: ${
|
|
1213
|
+
background-color: ${field.borderColor};
|
|
1306
1214
|
}
|
|
1307
1215
|
}
|
|
1308
1216
|
|
|
1309
1217
|
&__option {
|
|
1310
|
-
transition-duration:
|
|
1218
|
+
transition-duration: ${misc.transitionDuration};
|
|
1311
1219
|
|
|
1312
1220
|
&:hover {
|
|
1313
|
-
background-color: ${
|
|
1314
|
-
color: ${
|
|
1221
|
+
background-color: ${field.hoverBorderColor};
|
|
1222
|
+
color: ${field.color};
|
|
1223
|
+
|
|
1224
|
+
svg {
|
|
1225
|
+
fill: ${field.color};
|
|
1226
|
+
}
|
|
1315
1227
|
}
|
|
1316
1228
|
|
|
1317
1229
|
&--is-focused {
|
|
1318
|
-
background-color: ${
|
|
1319
|
-
color: ${
|
|
1230
|
+
background-color: ${field.activeBorderColor};
|
|
1231
|
+
color: ${colors.white};
|
|
1320
1232
|
}
|
|
1321
1233
|
|
|
1322
1234
|
&--is-selected {
|
|
1323
|
-
background-color: ${
|
|
1324
|
-
color: ${
|
|
1235
|
+
background-color: ${field.activeBorderColor} !important;
|
|
1236
|
+
color: ${colors.white} !important;
|
|
1325
1237
|
}
|
|
1326
1238
|
}
|
|
1327
1239
|
}
|
|
@@ -1347,21 +1259,21 @@ const SelectWrapper = _styled__default.div`
|
|
|
1347
1259
|
margin: 0 ${/*#__PURE__*/polished.rem('5px')} 0 0;
|
|
1348
1260
|
width: ${/*#__PURE__*/polished.rem('20px')};
|
|
1349
1261
|
height: auto;
|
|
1350
|
-
transition-duration:
|
|
1262
|
+
transition-duration: ${misc.transitionDuration};
|
|
1351
1263
|
}
|
|
1352
1264
|
}
|
|
1353
1265
|
|
|
1354
1266
|
.select__option--is-selected {
|
|
1355
1267
|
svg {
|
|
1356
|
-
fill: ${
|
|
1357
|
-
transition-duration:
|
|
1268
|
+
fill: ${colors.white} !important;
|
|
1269
|
+
transition-duration: ${misc.transitionDuration};
|
|
1358
1270
|
}
|
|
1359
1271
|
}
|
|
1360
1272
|
|
|
1361
1273
|
.select__option--is-focused {
|
|
1362
1274
|
svg {
|
|
1363
|
-
fill: ${
|
|
1364
|
-
transition-duration:
|
|
1275
|
+
fill: ${colors.white};
|
|
1276
|
+
transition-duration: ${misc.transitionDuration};
|
|
1365
1277
|
}
|
|
1366
1278
|
}
|
|
1367
1279
|
|
|
@@ -1370,15 +1282,25 @@ const SelectWrapper = _styled__default.div`
|
|
|
1370
1282
|
}
|
|
1371
1283
|
`;
|
|
1372
1284
|
const SelectGroupLabel = _styled__default.span`
|
|
1373
|
-
font-size: ${
|
|
1374
|
-
color: ${
|
|
1285
|
+
font-size: ${typography.fontSizeXs};
|
|
1286
|
+
color: ${field.placeholderColor};
|
|
1375
1287
|
|
|
1376
1288
|
+ .tag {
|
|
1377
|
-
border-color: ${
|
|
1378
|
-
background-color: ${
|
|
1379
|
-
color: ${
|
|
1289
|
+
border-color: ${field.borderColor};
|
|
1290
|
+
background-color: ${field.borderColor};
|
|
1291
|
+
color: ${field.activeBorderColor};
|
|
1380
1292
|
}
|
|
1381
1293
|
`;
|
|
1294
|
+
const SingleValue = _styled__default.div`
|
|
1295
|
+
grid-area: 1 / 1 / 2 / 3;
|
|
1296
|
+
margin-left: ${/*#__PURE__*/polished.rem('2px')};
|
|
1297
|
+
margin-right: ${/*#__PURE__*/polished.rem('2px')};
|
|
1298
|
+
max-width: 100%;
|
|
1299
|
+
text-overflow: ellipsis;
|
|
1300
|
+
white-space: nowrap;
|
|
1301
|
+
overflow: hidden;
|
|
1302
|
+
box-sizing: border-box;
|
|
1303
|
+
`;
|
|
1382
1304
|
|
|
1383
1305
|
const {
|
|
1384
1306
|
Option
|
|
@@ -1403,7 +1325,7 @@ const CustomSelectOption = (props, commonProps) => /*#__PURE__*/React__default.c
|
|
|
1403
1325
|
src: props.data.customImage,
|
|
1404
1326
|
alt: props.data.label
|
|
1405
1327
|
}) : null, props.data.label);
|
|
1406
|
-
const CustomSelectValue = props => /*#__PURE__*/React__default.createElement(
|
|
1328
|
+
const CustomSelectValue = props => /*#__PURE__*/React__default.createElement(SingleValue, null, props.data.icon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
1407
1329
|
icon: props.data.icon
|
|
1408
1330
|
}) : props.data.customImage ? /*#__PURE__*/React__default.createElement("img", {
|
|
1409
1331
|
src: props.data.customImage,
|
|
@@ -1450,25 +1372,37 @@ const SelectInteractive = ({
|
|
|
1450
1372
|
}) : null);
|
|
1451
1373
|
};
|
|
1452
1374
|
|
|
1453
|
-
const {
|
|
1454
|
-
normal: normal$4,
|
|
1455
|
-
grey: grey$a,
|
|
1456
|
-
lightGrey: lightGrey$7,
|
|
1457
|
-
red: red$5,
|
|
1458
|
-
lightRed
|
|
1459
|
-
} = colors;
|
|
1460
1375
|
const Wrapper$2 = _styled__default.div`
|
|
1461
|
-
border-width: ${
|
|
1376
|
+
border-width: ${field.borderWidth};
|
|
1462
1377
|
border-style: solid;
|
|
1463
|
-
border-color: ${props => props.error ?
|
|
1464
|
-
border-radius: ${
|
|
1378
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
1379
|
+
border-radius: ${field.borderRadius};
|
|
1465
1380
|
display: flex;
|
|
1381
|
+
transition-duration: ${misc.transitionDuration};
|
|
1466
1382
|
overflow: hidden;
|
|
1467
1383
|
|
|
1384
|
+
&:hover {
|
|
1385
|
+
border-color: ${field.hoverBorderColor};
|
|
1386
|
+
}
|
|
1387
|
+
|
|
1388
|
+
&:has(input:focus) {
|
|
1389
|
+
border-color: ${field.activeBorderColor};
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
&:has(input:disabled) {
|
|
1393
|
+
background-color: ${field.disabledBackgroundColor};
|
|
1394
|
+
color: ${field.disabledColor};
|
|
1395
|
+
|
|
1396
|
+
> div {
|
|
1397
|
+
background-color: ${field.disabledBackgroundColor};
|
|
1398
|
+
color: ${field.disabledColor};
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1468
1402
|
input {
|
|
1469
1403
|
flex: 1;
|
|
1470
1404
|
border: 0;
|
|
1471
|
-
color: ${props => props.error ?
|
|
1405
|
+
color: ${props => props.error ? field.errorBorderColor : field.color};
|
|
1472
1406
|
|
|
1473
1407
|
&:disabled {
|
|
1474
1408
|
margin: 0;
|
|
@@ -1481,12 +1415,12 @@ const Wrapper$2 = _styled__default.div`
|
|
|
1481
1415
|
}
|
|
1482
1416
|
`;
|
|
1483
1417
|
const Appendix = _styled__default.div`
|
|
1484
|
-
border-width: ${props => props.position === 'left' ? `0 ${
|
|
1418
|
+
border-width: ${props => props.position === 'left' ? `0 ${field.borderWidth} 0 0` : `0 0 0 ${field.borderWidth}`};
|
|
1485
1419
|
border-style: solid;
|
|
1486
|
-
border-color: ${props => props.error ?
|
|
1487
|
-
background-color: ${props => props.error ?
|
|
1420
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
1421
|
+
background-color: ${props => props.error ? field.errorBackgroundColor : field.borderColor};
|
|
1488
1422
|
padding: 0 ${/*#__PURE__*/polished.rem('15px')};
|
|
1489
|
-
color: ${props => props.error ?
|
|
1423
|
+
color: ${props => props.error ? field.errorBorderColor : field.color};
|
|
1490
1424
|
line-height: ${/*#__PURE__*/polished.rem('48px')};
|
|
1491
1425
|
vertical-align: center;
|
|
1492
1426
|
overflow: hidden;
|
|
@@ -1520,7 +1454,6 @@ const TextFieldAppendix = props => {
|
|
|
1520
1454
|
error: error,
|
|
1521
1455
|
position: "left"
|
|
1522
1456
|
}, /*#__PURE__*/React__default.createElement("span", null, prepend)), /*#__PURE__*/React__default.createElement(TextField, {
|
|
1523
|
-
minimal: false,
|
|
1524
1457
|
type: type,
|
|
1525
1458
|
name: name,
|
|
1526
1459
|
value: value,
|
|
@@ -1577,9 +1510,6 @@ const device = {
|
|
|
1577
1510
|
mouse: '(min-width: 538px) and (min-height: 720px)'
|
|
1578
1511
|
};
|
|
1579
1512
|
|
|
1580
|
-
const {
|
|
1581
|
-
light: light$6
|
|
1582
|
-
} = colors;
|
|
1583
1513
|
const Wrapper$3 = _styled__default.div`
|
|
1584
1514
|
position: relative;
|
|
1585
1515
|
|
|
@@ -1627,7 +1557,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1627
1557
|
}
|
|
1628
1558
|
|
|
1629
1559
|
.carousel .control-prev.control-arrow:before {
|
|
1630
|
-
border-right: ${/*#__PURE__*/polished.rem('8px')} solid
|
|
1560
|
+
border-right: ${/*#__PURE__*/polished.rem('8px')} solid ${colors.white};
|
|
1631
1561
|
}
|
|
1632
1562
|
|
|
1633
1563
|
.carousel .control-next.control-arrow {
|
|
@@ -1635,7 +1565,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1635
1565
|
}
|
|
1636
1566
|
|
|
1637
1567
|
.carousel .control-next.control-arrow:before {
|
|
1638
|
-
border-left: ${/*#__PURE__*/polished.rem('8px')} solid
|
|
1568
|
+
border-left: ${/*#__PURE__*/polished.rem('8px')} solid ${colors.white};
|
|
1639
1569
|
}
|
|
1640
1570
|
|
|
1641
1571
|
.carousel-root {
|
|
@@ -1703,7 +1633,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1703
1633
|
margin-right: ${/*#__PURE__*/polished.rem('6px')};
|
|
1704
1634
|
white-space: nowrap;
|
|
1705
1635
|
overflow: hidden;
|
|
1706
|
-
border: ${/*#__PURE__*/polished.rem('3px')} solid
|
|
1636
|
+
border: ${/*#__PURE__*/polished.rem('3px')} solid ${colors.white};
|
|
1707
1637
|
padding: ${/*#__PURE__*/polished.rem('2px')};
|
|
1708
1638
|
}
|
|
1709
1639
|
|
|
@@ -1729,7 +1659,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1729
1659
|
|
|
1730
1660
|
.carousel.carousel-slider .control-arrow {
|
|
1731
1661
|
top: 0;
|
|
1732
|
-
color:
|
|
1662
|
+
color: ${colors.white};
|
|
1733
1663
|
font-size: ${/*#__PURE__*/polished.rem('26px')};
|
|
1734
1664
|
bottom: 0;
|
|
1735
1665
|
margin-top: 0;
|
|
@@ -1818,7 +1748,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1818
1748
|
padding: ${/*#__PURE__*/polished.rem('5px')};
|
|
1819
1749
|
font-size: ${/*#__PURE__*/polished.rem('10px')};
|
|
1820
1750
|
text-shadow: ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} rgba(0, 0, 0, 0.9);
|
|
1821
|
-
color:
|
|
1751
|
+
color: ${colors.white};
|
|
1822
1752
|
}
|
|
1823
1753
|
|
|
1824
1754
|
> div > div > button {
|
|
@@ -1832,7 +1762,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1832
1762
|
svg {
|
|
1833
1763
|
width: ${/*#__PURE__*/polished.rem('36px')};
|
|
1834
1764
|
height: ${/*#__PURE__*/polished.rem('36px')};
|
|
1835
|
-
fill: ${
|
|
1765
|
+
fill: ${colors.white};
|
|
1836
1766
|
}
|
|
1837
1767
|
|
|
1838
1768
|
&.next {
|
|
@@ -1843,7 +1773,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1843
1773
|
opacity: 1;
|
|
1844
1774
|
|
|
1845
1775
|
svg {
|
|
1846
|
-
fill: ${
|
|
1776
|
+
fill: ${colors.white};
|
|
1847
1777
|
}
|
|
1848
1778
|
}
|
|
1849
1779
|
|
|
@@ -1868,7 +1798,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1868
1798
|
position: relative;
|
|
1869
1799
|
display: inline-block;
|
|
1870
1800
|
border-radius: 999px;
|
|
1871
|
-
background-color: ${
|
|
1801
|
+
background-color: ${colors.white};
|
|
1872
1802
|
width: ${/*#__PURE__*/polished.rem('15px')};
|
|
1873
1803
|
height: ${/*#__PURE__*/polished.rem('15px')};
|
|
1874
1804
|
opacity: 0.25;
|
|
@@ -2000,35 +1930,32 @@ const VideoPlayer = props => {
|
|
|
2000
1930
|
}));
|
|
2001
1931
|
};
|
|
2002
1932
|
|
|
2003
|
-
const {
|
|
2004
|
-
lightGrey: lightGrey$8,
|
|
2005
|
-
green: green$3
|
|
2006
|
-
} = colors;
|
|
2007
|
-
const {
|
|
2008
|
-
bold: bold$1
|
|
2009
|
-
} = typography;
|
|
2010
1933
|
const Wrapper$5 = _styled__default.div`
|
|
2011
1934
|
display: flex;
|
|
2012
1935
|
align-items: center;
|
|
2013
1936
|
`;
|
|
2014
1937
|
const Bar = _styled__default.div`
|
|
2015
1938
|
flex: 1;
|
|
1939
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.purple100};
|
|
2016
1940
|
border-radius: 999px;
|
|
2017
|
-
background-color: ${
|
|
1941
|
+
background-color: ${colors.grey50};
|
|
2018
1942
|
height: ${/*#__PURE__*/polished.rem('10px')};
|
|
2019
1943
|
overflow: hidden;
|
|
2020
1944
|
`;
|
|
2021
1945
|
const Progress = _styled__default.div`
|
|
2022
1946
|
border-radius: 999px;
|
|
2023
|
-
background-color: ${
|
|
1947
|
+
background-color: ${colors.purple500};
|
|
2024
1948
|
height: 100%;
|
|
2025
1949
|
width: ${props => props.progress ? `${props.progress}%` : 0};
|
|
2026
1950
|
transition-duration: 2s;
|
|
2027
1951
|
`;
|
|
2028
1952
|
const Value = _styled__default.div`
|
|
2029
1953
|
margin-left: ${/*#__PURE__*/polished.rem('5px')};
|
|
2030
|
-
font-size:
|
|
2031
|
-
font-weight: ${
|
|
1954
|
+
font-size: ${typography.fontSizeXs};
|
|
1955
|
+
font-weight: ${typography.regular};
|
|
1956
|
+
color: ${colors.purple400};
|
|
1957
|
+
letter-spacing: ${/*#__PURE__*/polished.rem('1px')};
|
|
1958
|
+
text-transform: uppercase;
|
|
2032
1959
|
`;
|
|
2033
1960
|
|
|
2034
1961
|
const ProgressBar = props => {
|
|
@@ -2041,11 +1968,6 @@ const ProgressBar = props => {
|
|
|
2041
1968
|
})), value && /*#__PURE__*/React__default.createElement(Value, null, value));
|
|
2042
1969
|
};
|
|
2043
1970
|
|
|
2044
|
-
const {
|
|
2045
|
-
light: light$7,
|
|
2046
|
-
green: green$4,
|
|
2047
|
-
lightGrey: lightGrey$9
|
|
2048
|
-
} = colors;
|
|
2049
1971
|
const Switcher = _styled__default.fieldset`
|
|
2050
1972
|
margin: 0;
|
|
2051
1973
|
border: none;
|
|
@@ -2068,9 +1990,9 @@ const Switcher = _styled__default.fieldset`
|
|
|
2068
1990
|
display: inline-block;
|
|
2069
1991
|
vertical-align: middle;
|
|
2070
1992
|
width: ${/*#__PURE__*/polished.rem('40px')};
|
|
2071
|
-
height: ${/*#__PURE__*/polished.rem('
|
|
1993
|
+
height: ${/*#__PURE__*/polished.rem('25px')};
|
|
2072
1994
|
border-radius: 999px;
|
|
2073
|
-
border:
|
|
1995
|
+
border: ${field.borderWidth} solid ${field.borderColor};
|
|
2074
1996
|
position: relative;
|
|
2075
1997
|
opacity: ${props => props.disabled ? '0.5' : '1'};
|
|
2076
1998
|
|
|
@@ -2082,7 +2004,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2082
2004
|
|
|
2083
2005
|
input[type='radio'] {
|
|
2084
2006
|
display: inline-block;
|
|
2085
|
-
margin: 0 ${/*#__PURE__*/polished.rem('-
|
|
2007
|
+
margin: 0 ${/*#__PURE__*/polished.rem('-3px')} 0 0;
|
|
2086
2008
|
width: 50%;
|
|
2087
2009
|
height: 100%;
|
|
2088
2010
|
opacity: 0;
|
|
@@ -2095,7 +2017,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2095
2017
|
}
|
|
2096
2018
|
|
|
2097
2019
|
&.switch-on:checked ~ .bg {
|
|
2098
|
-
background-color: ${
|
|
2020
|
+
background-color: ${colors.green500};
|
|
2099
2021
|
}
|
|
2100
2022
|
|
|
2101
2023
|
&.switch-off:checked ~ .switcher {
|
|
@@ -2103,21 +2025,21 @@ const Switcher = _styled__default.fieldset`
|
|
|
2103
2025
|
}
|
|
2104
2026
|
|
|
2105
2027
|
&.switch-off:checked ~ .bg {
|
|
2106
|
-
background-color: ${
|
|
2028
|
+
background-color: ${colors.grey100};
|
|
2107
2029
|
}
|
|
2108
2030
|
}
|
|
2109
2031
|
|
|
2110
2032
|
.switcher {
|
|
2111
2033
|
display: block;
|
|
2112
2034
|
position: absolute;
|
|
2113
|
-
top: ${/*#__PURE__*/polished.rem('
|
|
2114
|
-
left: ${/*#__PURE__*/polished.rem('
|
|
2035
|
+
top: ${/*#__PURE__*/polished.rem('3px')};
|
|
2036
|
+
left: ${/*#__PURE__*/polished.rem('3px')};
|
|
2115
2037
|
right: 100%;
|
|
2116
2038
|
width: ${/*#__PURE__*/polished.rem('16px')};
|
|
2117
2039
|
height: ${/*#__PURE__*/polished.rem('16px')};
|
|
2118
2040
|
border-radius: 50%;
|
|
2119
|
-
background-color: ${
|
|
2120
|
-
transition: all
|
|
2041
|
+
background-color: ${colors.white};
|
|
2042
|
+
transition: all ${misc.transitionDuration} ease-out;
|
|
2121
2043
|
z-index: 2;
|
|
2122
2044
|
}
|
|
2123
2045
|
|
|
@@ -2130,8 +2052,8 @@ const Switcher = _styled__default.fieldset`
|
|
|
2130
2052
|
z-index: 0;
|
|
2131
2053
|
border-radius: 999px;
|
|
2132
2054
|
background-color: transparent;
|
|
2133
|
-
transition: all
|
|
2134
|
-
background-color: ${
|
|
2055
|
+
transition: all ${misc.transitionDuration} ease-out;
|
|
2056
|
+
background-color: ${colors.grey200};
|
|
2135
2057
|
}
|
|
2136
2058
|
}
|
|
2137
2059
|
}
|
|
@@ -2216,16 +2138,6 @@ const Toggle = ({
|
|
|
2216
2138
|
}, labelRight)));
|
|
2217
2139
|
};
|
|
2218
2140
|
|
|
2219
|
-
const {
|
|
2220
|
-
red: red$6,
|
|
2221
|
-
grey: grey$b,
|
|
2222
|
-
lightGrey: lightGrey$a,
|
|
2223
|
-
darkGrey,
|
|
2224
|
-
green: green$5,
|
|
2225
|
-
darkGreen: darkGreen$2,
|
|
2226
|
-
light: light$8,
|
|
2227
|
-
normal: normal$5
|
|
2228
|
-
} = colors;
|
|
2229
2141
|
const Wrapper$6 = _styled__default.div`
|
|
2230
2142
|
input {
|
|
2231
2143
|
width: 0.1px;
|
|
@@ -2238,20 +2150,21 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2238
2150
|
|
|
2239
2151
|
label {
|
|
2240
2152
|
margin-bottom: 0 !important;
|
|
2241
|
-
border-width: ${
|
|
2153
|
+
border-width: ${field.borderWidth};
|
|
2242
2154
|
border-style: solid;
|
|
2243
|
-
border-color: ${props => props.error ?
|
|
2244
|
-
border-radius: ${
|
|
2245
|
-
background-color: ${props => props.disabled ?
|
|
2155
|
+
border-color: ${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
2156
|
+
border-radius: ${field.borderRadius};
|
|
2157
|
+
background-color: ${props => props.disabled ? field.disabledBackgroundColor : 'transparent'};
|
|
2246
2158
|
display: flex;
|
|
2247
2159
|
justify-content: space-between;
|
|
2248
2160
|
align-items: center;
|
|
2249
2161
|
width: 100%;
|
|
2250
|
-
height: ${
|
|
2162
|
+
height: ${field.height};
|
|
2251
2163
|
-webkit-appearance: none;
|
|
2252
2164
|
outline: none;
|
|
2253
2165
|
cursor: ${props => props.disabled ? 'default' : 'pointer'};
|
|
2254
2166
|
pointer-events: ${props => props.disabled ? 'none' : ''};
|
|
2167
|
+
transition-duration: ${misc.transitionDuration};
|
|
2255
2168
|
overflow: hidden;
|
|
2256
2169
|
|
|
2257
2170
|
span {
|
|
@@ -2261,45 +2174,47 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2261
2174
|
&.file-name {
|
|
2262
2175
|
flex: 1;
|
|
2263
2176
|
display: block;
|
|
2264
|
-
padding: ${
|
|
2265
|
-
color: ${props => props.disabled ?
|
|
2177
|
+
padding: ${`0 ${/*#__PURE__*/polished.rem('10px')}`};
|
|
2178
|
+
color: ${props => props.disabled ? field.disabledColor : field.color};
|
|
2266
2179
|
white-space: nowrap;
|
|
2267
2180
|
overflow: hidden;
|
|
2268
2181
|
text-overflow: ellipsis;
|
|
2269
2182
|
}
|
|
2270
2183
|
|
|
2271
2184
|
&.button {
|
|
2272
|
-
border-left: ${props => props.
|
|
2273
|
-
background-color: ${props => props.
|
|
2185
|
+
border-left: ${props => `${field.borderWidth} solid ${props.error ? field.errorBorderColor : field.borderColor}`};
|
|
2186
|
+
background-color: ${props => props.disabled ? field.disabledBackgroundColor : props.error ? field.errorBackgroundColor : field.borderColor};
|
|
2274
2187
|
height: 100%;
|
|
2275
|
-
padding: ${
|
|
2276
|
-
color: ${props => props.disabled ?
|
|
2277
|
-
transition-duration:
|
|
2188
|
+
padding: ${`0 ${/*#__PURE__*/polished.rem('20px')}`};
|
|
2189
|
+
color: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
|
|
2190
|
+
transition-duration: ${misc.transitionDuration};
|
|
2278
2191
|
|
|
2279
2192
|
svg {
|
|
2280
2193
|
margin-right: ${/*#__PURE__*/polished.rem('8px')};
|
|
2281
2194
|
width: auto;
|
|
2282
2195
|
height: ${/*#__PURE__*/polished.rem('24px')};
|
|
2283
|
-
fill: ${props => props.disabled ?
|
|
2284
|
-
transition-duration:
|
|
2196
|
+
fill: ${props => props.disabled ? field.disabledColor : props.error ? field.errorBorderColor : field.activeColor};
|
|
2197
|
+
transition-duration: ${misc.transitionDuration};
|
|
2285
2198
|
}
|
|
2286
2199
|
|
|
2287
2200
|
&:hover {
|
|
2288
|
-
background-color: ${
|
|
2289
|
-
color: ${props => props.minimal ? darkGreen$2 : light$8};
|
|
2290
|
-
|
|
2291
|
-
svg {
|
|
2292
|
-
fill: ${props => props.disabled ? grey$b : props.minimal ? darkGreen$2 : light$8};
|
|
2293
|
-
}
|
|
2201
|
+
background-color: ${field.hoverBorderColor};
|
|
2294
2202
|
}
|
|
2295
2203
|
}
|
|
2296
2204
|
}
|
|
2205
|
+
|
|
2206
|
+
&:hover {
|
|
2207
|
+
border-color: ${field.hoverBorderColor};
|
|
2208
|
+
|
|
2209
|
+
span.button {
|
|
2210
|
+
background-color: ${field.hoverBorderColor};
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2297
2213
|
}
|
|
2298
2214
|
`;
|
|
2299
2215
|
|
|
2300
2216
|
const FilePicker = props => {
|
|
2301
2217
|
const {
|
|
2302
|
-
minimal = false,
|
|
2303
2218
|
name,
|
|
2304
2219
|
accept,
|
|
2305
2220
|
multiple = false,
|
|
@@ -2322,7 +2237,6 @@ const FilePicker = props => {
|
|
|
2322
2237
|
};
|
|
2323
2238
|
return /*#__PURE__*/React__default.createElement(Wrapper$6, {
|
|
2324
2239
|
disabled: disabled,
|
|
2325
|
-
minimal: minimal,
|
|
2326
2240
|
error: !!error
|
|
2327
2241
|
}, /*#__PURE__*/React__default.createElement("input", {
|
|
2328
2242
|
id: name,
|
|
@@ -2348,12 +2262,6 @@ const FilePicker = props => {
|
|
|
2348
2262
|
}));
|
|
2349
2263
|
};
|
|
2350
2264
|
|
|
2351
|
-
const {
|
|
2352
|
-
normal: normal$6,
|
|
2353
|
-
light: light$9,
|
|
2354
|
-
lightGrey: lightGrey$b,
|
|
2355
|
-
red: red$7
|
|
2356
|
-
} = colors;
|
|
2357
2265
|
const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2358
2266
|
displayName: "styles__ActionsMenuStyle",
|
|
2359
2267
|
componentId: "sc-1peafop-0"
|
|
@@ -2361,11 +2269,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2361
2269
|
const List = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
2362
2270
|
displayName: "styles__List",
|
|
2363
2271
|
componentId: "sc-1peafop-1"
|
|
2364
|
-
})(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:
|
|
2272
|
+
})(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:", ";-webkit-box-shadow:", ";box-shadow:", ";overflow:hidden;z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), field.boxShadow, field.boxShadow, field.boxShadow, props => props.rowIndex != undefined && _styled.css`
|
|
2365
2273
|
--margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
|
|
2366
2274
|
top: var(--margin);
|
|
2367
2275
|
right: ${polished.rem('5px')};
|
|
2368
|
-
`, /*#__PURE__*/polished.rem('45px'),
|
|
2276
|
+
`, /*#__PURE__*/polished.rem('45px'), field.hoverBorderColor, field.borderWidth, field.borderColor, field.errorBorderColor, field.disabledColor, /*#__PURE__*/polished.rem('20px'), field.color);
|
|
2369
2277
|
|
|
2370
2278
|
const ActionMenuList = props => {
|
|
2371
2279
|
const {
|
|
@@ -2436,23 +2344,15 @@ const ActionsMenu = props => {
|
|
|
2436
2344
|
}) : null);
|
|
2437
2345
|
};
|
|
2438
2346
|
|
|
2439
|
-
const {
|
|
2440
|
-
light: light$a,
|
|
2441
|
-
grey: grey$c
|
|
2442
|
-
} = colors;
|
|
2443
2347
|
const CardValueStyle = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2444
2348
|
displayName: "styles__CardValueStyle",
|
|
2445
2349
|
componentId: "sc-1ki7jdk-0"
|
|
2446
|
-
})(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto
|
|
2447
|
-
const CardValueButtonWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2448
|
-
displayName: "styles__CardValueButtonWrapper",
|
|
2449
|
-
componentId: "sc-1ki7jdk-1"
|
|
2450
|
-
})(["right:0;margin-top:", ";display:flex;flex-direction:column-reverse;flex-grow:2;align-self:flex-end;"], /*#__PURE__*/polished.rem('20px'));
|
|
2350
|
+
})(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;> span{display:block;margin-top:", ";font-size:", ";font-weight:", ";line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}a,button{margin-top:", ";}"], field.borderWidth, field.borderColor, field.borderRadius, colors.white, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold, /*#__PURE__*/polished.rem('20px'));
|
|
2451
2351
|
|
|
2452
2352
|
const CardValue = props => {
|
|
2453
2353
|
const {
|
|
2454
2354
|
label,
|
|
2455
|
-
|
|
2355
|
+
currency,
|
|
2456
2356
|
value,
|
|
2457
2357
|
description,
|
|
2458
2358
|
buttonValue,
|
|
@@ -2465,21 +2365,15 @@ const CardValue = props => {
|
|
|
2465
2365
|
style: style
|
|
2466
2366
|
}, /*#__PURE__*/React__default.createElement(Label, {
|
|
2467
2367
|
value: label,
|
|
2468
|
-
|
|
2469
|
-
}), /*#__PURE__*/React__default.createElement("span", null, value), description && /*#__PURE__*/React__default.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React__default.createElement(
|
|
2470
|
-
color: "
|
|
2368
|
+
currency: currency
|
|
2369
|
+
}), /*#__PURE__*/React__default.createElement("span", null, value), description && /*#__PURE__*/React__default.createElement("p", null, description), buttonValue && onClick && /*#__PURE__*/React__default.createElement(Button, {
|
|
2370
|
+
color: "grey150",
|
|
2371
|
+
txtColor: "grey500",
|
|
2471
2372
|
value: buttonValue,
|
|
2472
2373
|
action: onClick
|
|
2473
|
-
}))
|
|
2374
|
+
}));
|
|
2474
2375
|
};
|
|
2475
2376
|
|
|
2476
|
-
const {
|
|
2477
|
-
grey: grey$d,
|
|
2478
|
-
light: light$b
|
|
2479
|
-
} = colors;
|
|
2480
|
-
const {
|
|
2481
|
-
bold: bold$2
|
|
2482
|
-
} = typography;
|
|
2483
2377
|
const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2484
2378
|
displayName: "styles__EmptyTableWrapper",
|
|
2485
2379
|
componentId: "sc-1dgsb9l-0"
|
|
@@ -2487,23 +2381,23 @@ const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2487
2381
|
const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2488
2382
|
displayName: "styles__EmptyTableHead",
|
|
2489
2383
|
componentId: "sc-1dgsb9l-1"
|
|
2490
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:
|
|
2384
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:", ";font-weight:", ";color:", ";> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:", ";font-weight:", ";color:", ";&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? field.borderWidth : `0 0 ${field.borderWidth} 0`, colors.grey200, field.borderRadius, field.borderRadius, /*#__PURE__*/polished.rem('50px'), typography.fontSizeSm, typography.semiBold, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.fontSizeSm, typography.semiBold, colors.grey400, device.s, device.m, device.l);
|
|
2491
2385
|
const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2492
2386
|
displayName: "styles__EmptyTableBody",
|
|
2493
2387
|
componentId: "sc-1dgsb9l-2"
|
|
2494
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${
|
|
2388
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${field.borderWidth} ${field.borderWidth} ${field.borderWidth}` : 0, colors.grey200, field.borderRadius, field.borderRadius);
|
|
2495
2389
|
const EmptyTableRow = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2496
2390
|
displayName: "styles__EmptyTableRow",
|
|
2497
2391
|
componentId: "sc-1dgsb9l-3"
|
|
2498
|
-
})(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'),
|
|
2392
|
+
})(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('15px'), device.s, device.m, device.l);
|
|
2499
2393
|
const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2500
2394
|
displayName: "styles__EmptyTableCellText",
|
|
2501
2395
|
componentId: "sc-1dgsb9l-4"
|
|
2502
|
-
})(["background-color
|
|
2396
|
+
})(["background-color:", ";width:100%;height:", ";"], colors.grey200, /*#__PURE__*/polished.rem('15px'));
|
|
2503
2397
|
const EmptyTableOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2504
2398
|
displayName: "styles__EmptyTableOverlay",
|
|
2505
2399
|
componentId: "sc-1dgsb9l-5"
|
|
2506
|
-
})(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(
|
|
2400
|
+
})(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(colors.white, 0), /*#__PURE__*/polished.rgba(colors.white, 1), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), colors.grey400);
|
|
2507
2401
|
|
|
2508
2402
|
const EmptyTable = props => {
|
|
2509
2403
|
let rows = [];
|
|
@@ -2559,53 +2453,42 @@ const ModalFooter = props => {
|
|
|
2559
2453
|
}), children);
|
|
2560
2454
|
};
|
|
2561
2455
|
|
|
2562
|
-
const {
|
|
2563
|
-
green: green$6,
|
|
2564
|
-
lightGreen,
|
|
2565
|
-
darkGreen: darkGreen$3,
|
|
2566
|
-
grey: grey$e,
|
|
2567
|
-
lightGrey: lightGrey$c,
|
|
2568
|
-
darkGrey: darkGrey$1,
|
|
2569
|
-
red: red$8,
|
|
2570
|
-
lightRed: lightRed$1,
|
|
2571
|
-
darkRed: darkRed$1
|
|
2572
|
-
} = colors;
|
|
2573
2456
|
const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2574
2457
|
displayName: "styles__Wrapper",
|
|
2575
2458
|
componentId: "sc-d2fn4g-0"
|
|
2576
|
-
})(["--
|
|
2577
|
-
--
|
|
2578
|
-
--
|
|
2579
|
-
--dark: ${
|
|
2459
|
+
})(["--borderColor:", ";--backgroundColor:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--borderColor);border-radius:", ";background-color:var(--backgroundColor);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], field.borderColor, colors.purple50, colors.purple400, props => props.color === 'grey' && _styled.css`
|
|
2460
|
+
--borderColor: ${field.borderColor};
|
|
2461
|
+
--backgroundColor: ${colors.purple50};
|
|
2462
|
+
--dark: ${colors.purple400};
|
|
2580
2463
|
`, props => props.color === 'green' && _styled.css`
|
|
2581
|
-
--
|
|
2582
|
-
--
|
|
2583
|
-
--dark: ${
|
|
2464
|
+
--borderColor: ${field.successBorderColor};
|
|
2465
|
+
--backgroundColor: ${field.successBackgroundColor};
|
|
2466
|
+
--dark: ${colors.green900};
|
|
2584
2467
|
`, props => props.color === 'red' && _styled.css`
|
|
2585
|
-
--
|
|
2586
|
-
--
|
|
2587
|
-
--dark: ${
|
|
2588
|
-
`,
|
|
2468
|
+
--borderColor: ${field.errorBorderColor};
|
|
2469
|
+
--backgroundColor: ${field.errorBackgroundColor};
|
|
2470
|
+
--dark: ${colors.red800};
|
|
2471
|
+
`, field.borderWidth, field.borderRadius, /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
|
|
2589
2472
|
button {
|
|
2590
2473
|
margin: ${polished.rem('30px')} 0 0 0;
|
|
2591
2474
|
border: 0;
|
|
2592
|
-
border-radius: ${
|
|
2593
|
-
background-color: var(--
|
|
2475
|
+
border-radius: ${field.borderRadius};
|
|
2476
|
+
background-color: var(--borderColor);
|
|
2594
2477
|
height: ${polished.rem('36px')};
|
|
2595
2478
|
display: flex;
|
|
2596
2479
|
justify-content: center;
|
|
2597
2480
|
align-items: center;
|
|
2598
2481
|
padding: ${polished.rem('20px')};
|
|
2599
|
-
font-size:
|
|
2600
|
-
font-weight:
|
|
2601
|
-
|
|
2602
|
-
color: hsl(0, 0%, 100%);
|
|
2482
|
+
font-size: ${typography.fontSizeSm};
|
|
2483
|
+
font-weight: ${typography.medium};
|
|
2484
|
+
color: var(--dark);
|
|
2603
2485
|
white-space: nowrap;
|
|
2604
|
-
transition-duration:
|
|
2486
|
+
transition-duration: ${misc.transitionDuration};
|
|
2605
2487
|
cursor: pointer;
|
|
2606
2488
|
|
|
2607
2489
|
&:hover {
|
|
2608
2490
|
background-color: var(--dark);
|
|
2491
|
+
color: ${colors.white};
|
|
2609
2492
|
}
|
|
2610
2493
|
}
|
|
2611
2494
|
|
|
@@ -2642,15 +2525,6 @@ function hasValue(value) {
|
|
|
2642
2525
|
return value !== undefined && value !== null;
|
|
2643
2526
|
}
|
|
2644
2527
|
|
|
2645
|
-
const {
|
|
2646
|
-
normal: normal$7,
|
|
2647
|
-
light: light$c,
|
|
2648
|
-
grey: grey$f,
|
|
2649
|
-
lightGrey: lightGrey$d
|
|
2650
|
-
} = colors;
|
|
2651
|
-
const {
|
|
2652
|
-
bold: bold$3
|
|
2653
|
-
} = typography;
|
|
2654
2528
|
const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2655
2529
|
displayName: "styles__TableWrapper",
|
|
2656
2530
|
componentId: "sc-vmoy3z-0"
|
|
@@ -2658,11 +2532,11 @@ const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2658
2532
|
const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2659
2533
|
displayName: "styles__OverflowWrapper",
|
|
2660
2534
|
componentId: "sc-vmoy3z-1"
|
|
2661
|
-
})(["@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
|
|
2535
|
+
})(["@media ", "{display:block;border-radius:", ";background:linear-gradient( to right,", " 30%,rgba(255,255,255,0) ),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:", ";background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, field.borderRadius, colors.white, colors.white, colors.white, /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('14px'), /*#__PURE__*/polished.rem('14px'));
|
|
2662
2536
|
const Table = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2663
2537
|
displayName: "styles__Table",
|
|
2664
2538
|
componentId: "sc-vmoy3z-2"
|
|
2665
|
-
})(["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;}}&.
|
|
2539
|
+
})(["width:100%;border-width:0;border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;@media ", "{border-width:", ";}th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.vkai,&.tkai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:", ";&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-align:left;}}tbody{tr{display:block;transition-duration:", ";&:hover{background-color:", ";td.menu{button{opacity:1;}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;align-items:center;> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;", "}&.tkai,&.vkai{svg{float:right;margin-left:", ";width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}.button{height:", ";}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:", ";}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.tkai,&.vkai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], colors.grey200, field.borderRadius, device.s, props => props.border ? field.borderWidth : 0, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), typography.fontSizeSm, field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, props => props.loadingState ? 'transparent' : colors.grey50, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.black, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.semiBold, props => props.loadingState && _styled.css`
|
|
2666
2540
|
width: ${polished.rem('75px')};
|
|
2667
2541
|
height: ${polished.rem('15px')};
|
|
2668
2542
|
background: #f6f7f8;
|
|
@@ -2680,7 +2554,7 @@ const Table = /*#__PURE__*/_styled__default.table.withConfig({
|
|
|
2680
2554
|
animation-timing-function: linear;
|
|
2681
2555
|
animation-iteration-count: infinite;
|
|
2682
2556
|
animation-duration: 1.5s;
|
|
2683
|
-
`, /*#__PURE__*/polished.rem('
|
|
2557
|
+
`, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('34px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), misc.transitionDuration, /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
|
|
2684
2558
|
const SkeletonCell = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2685
2559
|
displayName: "styles__SkeletonCell",
|
|
2686
2560
|
componentId: "sc-vmoy3z-3"
|
|
@@ -2697,7 +2571,7 @@ const Table$1 = props => {
|
|
|
2697
2571
|
actionMenuTestId = 'icon-button',
|
|
2698
2572
|
loading = false,
|
|
2699
2573
|
loadingColumns = 4,
|
|
2700
|
-
loadingRows =
|
|
2574
|
+
loadingRows = 5,
|
|
2701
2575
|
showEmpty = false,
|
|
2702
2576
|
emptyValue = 'No Data',
|
|
2703
2577
|
className = 'table',
|
|
@@ -2764,8 +2638,11 @@ const Table$1 = props => {
|
|
|
2764
2638
|
className: className,
|
|
2765
2639
|
"data-label": value,
|
|
2766
2640
|
"data-testid": `td-${dataTestId}`
|
|
2767
|
-
}, /*#__PURE__*/React__default.createElement("div", null, renderer ? renderer(row[dataKey], row) : row[dataKey], className === '
|
|
2768
|
-
icon: "
|
|
2641
|
+
}, /*#__PURE__*/React__default.createElement("div", null, renderer ? renderer(row[dataKey], row) : row[dataKey], className === 'tkai' ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
2642
|
+
icon: "tkai",
|
|
2643
|
+
fill: "hsl(0, 0%, 16%)"
|
|
2644
|
+
}) : className === 'vkai' ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
2645
|
+
icon: "vkai",
|
|
2769
2646
|
fill: "hsl(0, 0%, 16%)"
|
|
2770
2647
|
}) : null))), hasActionMenu && /*#__PURE__*/React__default.createElement("td", {
|
|
2771
2648
|
className: "menu",
|
|
@@ -2774,7 +2651,7 @@ const Table$1 = props => {
|
|
|
2774
2651
|
ref: ref
|
|
2775
2652
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
2776
2653
|
variant: "text",
|
|
2777
|
-
color: "
|
|
2654
|
+
color: "grey500",
|
|
2778
2655
|
icon: "menuVert",
|
|
2779
2656
|
action: evt => {
|
|
2780
2657
|
evt.preventDefault();
|
|
@@ -2794,26 +2671,15 @@ const Table$1 = props => {
|
|
|
2794
2671
|
})));
|
|
2795
2672
|
};
|
|
2796
2673
|
|
|
2797
|
-
const {
|
|
2798
|
-
normal: normal$8,
|
|
2799
|
-
grey: grey$g,
|
|
2800
|
-
lightGrey: lightGrey$e
|
|
2801
|
-
} = colors;
|
|
2802
|
-
const {
|
|
2803
|
-
bold: bold$4
|
|
2804
|
-
} = typography;
|
|
2805
2674
|
const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2806
2675
|
displayName: "styles__Table",
|
|
2807
2676
|
componentId: "sc-1p618q0-0"
|
|
2808
|
-
})(["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-
|
|
2677
|
+
})(["position:relative;width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;table-layout:", ";th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-align:left;}}tbody{tr{display:block;transition-duration:", ";&:hover{background-color:", ";td{&.drag-handle{svg{fill:", ";}}&.menu{button{opacity:1;}}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;&.drag-handle{> div{width:min-content;}svg{width:", ";height:", ";fill:", ";transition-duration:", ";}}> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:", ";}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? field.borderWidth : 0, colors.grey200, field.borderRadius, props => props.layout, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), field.borderRadius, field.borderRadius, field.borderWidth, colors.grey200, field.borderRadius, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, typography.semiBold, colors.grey400, misc.transitionDuration, colors.grey50, colors.grey200, device.s, field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.grey200, misc.transitionDuration, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), colors.black, colors.grey400, /*#__PURE__*/polished.rem('15px'), typography.semiBold, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), misc.transitionDuration, /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), field.borderWidth, colors.grey200, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
|
|
2809
2678
|
const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
|
|
2810
2679
|
displayName: "styles__TableRow",
|
|
2811
2680
|
componentId: "sc-1p618q0-1"
|
|
2812
2681
|
})(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
|
|
2813
2682
|
|
|
2814
|
-
const {
|
|
2815
|
-
light: light$d
|
|
2816
|
-
} = colors;
|
|
2817
2683
|
const TableDnD = props => {
|
|
2818
2684
|
const {
|
|
2819
2685
|
border = false,
|
|
@@ -2863,11 +2729,11 @@ const TableDnD = props => {
|
|
|
2863
2729
|
};
|
|
2864
2730
|
const getItemStyle = (isDragging, draggableStyle) => ({
|
|
2865
2731
|
userSelect: 'none',
|
|
2866
|
-
background: isDragging ?
|
|
2732
|
+
background: isDragging ? colors.white : 'transparent',
|
|
2867
2733
|
...draggableStyle
|
|
2868
2734
|
});
|
|
2869
2735
|
const getListStyle = isDraggingOver => ({
|
|
2870
|
-
background: isDraggingOver ?
|
|
2736
|
+
background: isDraggingOver ? colors.white : 'transparent'
|
|
2871
2737
|
});
|
|
2872
2738
|
return (
|
|
2873
2739
|
/*#__PURE__*/
|
|
@@ -2945,7 +2811,7 @@ const TableDnD = props => {
|
|
|
2945
2811
|
ref: ref
|
|
2946
2812
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
2947
2813
|
variant: "text",
|
|
2948
|
-
color: "
|
|
2814
|
+
color: "grey500",
|
|
2949
2815
|
icon: "menuVert",
|
|
2950
2816
|
action: evt => {
|
|
2951
2817
|
evt.preventDefault();
|
|
@@ -2963,20 +2829,15 @@ const TableDnD = props => {
|
|
|
2963
2829
|
);
|
|
2964
2830
|
};
|
|
2965
2831
|
|
|
2966
|
-
const {
|
|
2967
|
-
normal: normal$9,
|
|
2968
|
-
grey: grey$h,
|
|
2969
|
-
red: red$9
|
|
2970
|
-
} = colors;
|
|
2971
2832
|
const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2972
2833
|
displayName: "styles__Wrapper",
|
|
2973
2834
|
componentId: "sc-mbja2a-0"
|
|
2974
|
-
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ?
|
|
2835
|
+
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? field.errorBorderColor : colors.grey200, props => props.error ? field.errorBorderColor : field.color, /*#__PURE__*/polished.rem('15px'));
|
|
2975
2836
|
|
|
2976
2837
|
const FormGroup = props => {
|
|
2977
2838
|
const {
|
|
2978
2839
|
label,
|
|
2979
|
-
|
|
2840
|
+
currency,
|
|
2980
2841
|
error = false,
|
|
2981
2842
|
children
|
|
2982
2843
|
} = props;
|
|
@@ -2984,27 +2845,22 @@ const FormGroup = props => {
|
|
|
2984
2845
|
error: error
|
|
2985
2846
|
}, /*#__PURE__*/React__default.createElement(Label, {
|
|
2986
2847
|
value: label,
|
|
2987
|
-
|
|
2848
|
+
currency: currency
|
|
2988
2849
|
}), children);
|
|
2989
2850
|
};
|
|
2990
2851
|
|
|
2991
|
-
const {
|
|
2992
|
-
grey: grey$i,
|
|
2993
|
-
lightGrey: lightGrey$f,
|
|
2994
|
-
lightRed: lightRed$2
|
|
2995
|
-
} = colors;
|
|
2996
2852
|
const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2997
2853
|
displayName: "styles__Wrapper",
|
|
2998
2854
|
componentId: "sc-124afcu-0"
|
|
2999
|
-
})(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{
|
|
2855
|
+
})(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{fill:", ";}&:hover{pointer-events:none;}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.height, field.disabledBackgroundColor, field.disabledColor);
|
|
3000
2856
|
const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
3001
2857
|
displayName: "styles__Input",
|
|
3002
2858
|
componentId: "sc-124afcu-1"
|
|
3003
|
-
})(["border:0;width:", ";height:", ";padding:", ";font-family:inherit;font-size:
|
|
2859
|
+
})(["border:0;width:", ";height:", ";padding:", ";font-family:inherit;font-size:", ";text-align:center;-moz-appearance:textfield;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}&:focus{outline:none;}&:invalid{box-shadow:none;background-color:", ";}"], props => props.max != null && props.max.toString().length > 5 ? props.max.toString().length * 10 + 20 + 'px' : '70px', field.height, /*#__PURE__*/polished.rem('10px'), typography.defaultSize, field.errorBackgroundColor);
|
|
3004
2860
|
const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
|
|
3005
2861
|
displayName: "styles__Button",
|
|
3006
2862
|
componentId: "sc-124afcu-2"
|
|
3007
|
-
})(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:
|
|
2863
|
+
})(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:", ";&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], field.height, field.height, field.borderColor, misc.transitionDuration, field.borderWidth, field.borderColor, field.borderWidth, field.borderColor, /*#__PURE__*/polished.rem('20px'), colors.purple300, field.hoverBorderColor);
|
|
3008
2864
|
|
|
3009
2865
|
const NumberInputSpinner = props => {
|
|
3010
2866
|
const {
|
|
@@ -3065,12 +2921,6 @@ const NumberInputSpinner = props => {
|
|
|
3065
2921
|
})));
|
|
3066
2922
|
};
|
|
3067
2923
|
|
|
3068
|
-
const {
|
|
3069
|
-
green: green$7,
|
|
3070
|
-
grey: grey$j,
|
|
3071
|
-
lightGrey: lightGrey$g,
|
|
3072
|
-
light: light$e
|
|
3073
|
-
} = colors;
|
|
3074
2924
|
const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
3075
2925
|
displayName: "styles__Steps",
|
|
3076
2926
|
componentId: "sc-1s2dhfy-0"
|
|
@@ -3078,7 +2928,7 @@ const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
|
3078
2928
|
const Step = /*#__PURE__*/_styled__default.li.withConfig({
|
|
3079
2929
|
displayName: "styles__Step",
|
|
3080
2930
|
componentId: "sc-1s2dhfy-1"
|
|
3081
|
-
})(["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:
|
|
2931
|
+
})(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:", ";color:", ";@media ", "{width:100%;font-size:", ";font-weight:", ";}}}"], /*#__PURE__*/polished.rem('44px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? field.successBackgroundColor : field.borderColor, field.borderRadius, field.borderRadius, field.borderRadius, field.borderRadius, props => props.active ? field.successBackgroundColor : field.borderColor, typography.fontSizeSm, props => props.active ? colors.white : colors.purple300, device.s, typography.defaultSize, typography.semiBold);
|
|
3082
2932
|
|
|
3083
2933
|
const WizardSteps = props => {
|
|
3084
2934
|
const {
|
|
@@ -3098,125 +2948,6 @@ const WizardSteps = props => {
|
|
|
3098
2948
|
}, /*#__PURE__*/React__default.createElement("div", null, /*#__PURE__*/React__default.createElement("span", null, step.value))))));
|
|
3099
2949
|
};
|
|
3100
2950
|
|
|
3101
|
-
const {
|
|
3102
|
-
light: light$f,
|
|
3103
|
-
green: green$8,
|
|
3104
|
-
darkGreen: darkGreen$4,
|
|
3105
|
-
red: red$a,
|
|
3106
|
-
darkRed: darkRed$2,
|
|
3107
|
-
orange,
|
|
3108
|
-
darkOrange
|
|
3109
|
-
} = colors;
|
|
3110
|
-
const Wrapper$a = _styled__default.div`
|
|
3111
|
-
--shadow: 0 0 ${/*#__PURE__*/polished.rem('25px')} 0 rgba(40, 40, 40, 0.2);
|
|
3112
|
-
|
|
3113
|
-
position: fixed;
|
|
3114
|
-
top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3115
|
-
right: 0;
|
|
3116
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${darkGreen$4};
|
|
3117
|
-
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
3118
|
-
background-color: ${green$8};
|
|
3119
|
-
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
3120
|
-
max-height: min-content;
|
|
3121
|
-
display: flex;
|
|
3122
|
-
padding: ${/*#__PURE__*/polished.rem('15px')};
|
|
3123
|
-
color: ${light$f};
|
|
3124
|
-
-moz-box-shadow: var(--shadow);
|
|
3125
|
-
-webkit-box-shadow: var(--shadow);
|
|
3126
|
-
box-shadow: var(--shadow);
|
|
3127
|
-
z-index: 999;
|
|
3128
|
-
opacity: 0;
|
|
3129
|
-
|
|
3130
|
-
button {
|
|
3131
|
-
background-color: transparent;
|
|
3132
|
-
|
|
3133
|
-
svg {
|
|
3134
|
-
fill: ${darkGreen$4};
|
|
3135
|
-
}
|
|
3136
|
-
}
|
|
3137
|
-
|
|
3138
|
-
&.open {
|
|
3139
|
-
animation-name: slide-in;
|
|
3140
|
-
animation-duration: 0.5s;
|
|
3141
|
-
animation-fill-mode: forwards;
|
|
3142
|
-
}
|
|
3143
|
-
|
|
3144
|
-
@keyframes slide-in {
|
|
3145
|
-
0% {
|
|
3146
|
-
right: 0;
|
|
3147
|
-
opacity: 0;
|
|
3148
|
-
}
|
|
3149
|
-
100% {
|
|
3150
|
-
right: ${/*#__PURE__*/polished.rem('15px')};
|
|
3151
|
-
opacity: 1;
|
|
3152
|
-
}
|
|
3153
|
-
}
|
|
3154
|
-
|
|
3155
|
-
${props => props.variant === 'orange' && _styled.css`
|
|
3156
|
-
border: ${polished.rem('2px')} solid ${darkOrange};
|
|
3157
|
-
background-color: ${orange};
|
|
3158
|
-
|
|
3159
|
-
button {
|
|
3160
|
-
svg {
|
|
3161
|
-
fill: ${darkOrange};
|
|
3162
|
-
}
|
|
3163
|
-
}
|
|
3164
|
-
`}
|
|
3165
|
-
|
|
3166
|
-
${props => props.variant === 'red' && _styled.css`
|
|
3167
|
-
border: ${polished.rem('2px')} solid ${darkRed$2};
|
|
3168
|
-
background-color: ${red$a};
|
|
3169
|
-
|
|
3170
|
-
button {
|
|
3171
|
-
svg {
|
|
3172
|
-
fill: ${darkRed$2};
|
|
3173
|
-
}
|
|
3174
|
-
}
|
|
3175
|
-
`}
|
|
3176
|
-
|
|
3177
|
-
span {
|
|
3178
|
-
flex: 1;
|
|
3179
|
-
margin-right: ${/*#__PURE__*/polished.rem('5px')};
|
|
3180
|
-
font-size: 0.85rem;
|
|
3181
|
-
}
|
|
3182
|
-
|
|
3183
|
-
button {
|
|
3184
|
-
position: absolute;
|
|
3185
|
-
top: ${/*#__PURE__*/polished.rem('4px')};
|
|
3186
|
-
right: ${/*#__PURE__*/polished.rem('4px')};
|
|
3187
|
-
margin: 0 !important;
|
|
3188
|
-
width: ${/*#__PURE__*/polished.rem('20px')};
|
|
3189
|
-
height: ${/*#__PURE__*/polished.rem('20px')};
|
|
3190
|
-
}
|
|
3191
|
-
`;
|
|
3192
|
-
|
|
3193
|
-
const AlertNotification = props => {
|
|
3194
|
-
const {
|
|
3195
|
-
className = 'alert-notification',
|
|
3196
|
-
variant = 'success',
|
|
3197
|
-
closeAction = () => {},
|
|
3198
|
-
value,
|
|
3199
|
-
children
|
|
3200
|
-
} = props;
|
|
3201
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$a, {
|
|
3202
|
-
className: className,
|
|
3203
|
-
variant: variant
|
|
3204
|
-
}, /*#__PURE__*/React__default.createElement("div", null, value ? /*#__PURE__*/React__default.createElement("span", null, value) : children), /*#__PURE__*/React__default.createElement(Button, {
|
|
3205
|
-
variant: "text",
|
|
3206
|
-
icon: "cross",
|
|
3207
|
-
action: closeAction
|
|
3208
|
-
}));
|
|
3209
|
-
};
|
|
3210
|
-
|
|
3211
|
-
const {
|
|
3212
|
-
normal: normal$a,
|
|
3213
|
-
light: light$g,
|
|
3214
|
-
blue,
|
|
3215
|
-
lightGrey: lightGrey$h
|
|
3216
|
-
} = colors;
|
|
3217
|
-
const {
|
|
3218
|
-
bold: bold$5
|
|
3219
|
-
} = typography;
|
|
3220
2951
|
const PaginationWrapper = _styled__default.div`
|
|
3221
2952
|
--size: ${/*#__PURE__*/polished.rem('30px')};
|
|
3222
2953
|
|
|
@@ -3235,10 +2966,10 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3235
2966
|
|
|
3236
2967
|
&.previous,
|
|
3237
2968
|
&.next {
|
|
3238
|
-
transition-duration:
|
|
2969
|
+
transition-duration: ${misc.transitionDuration};
|
|
3239
2970
|
|
|
3240
2971
|
a svg {
|
|
3241
|
-
transition-duration:
|
|
2972
|
+
transition-duration: ${misc.transitionDuration};
|
|
3242
2973
|
}
|
|
3243
2974
|
}
|
|
3244
2975
|
|
|
@@ -3246,29 +2977,29 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3246
2977
|
.break {
|
|
3247
2978
|
min-width: var(--size);
|
|
3248
2979
|
height: var(--size);
|
|
3249
|
-
transition-duration:
|
|
2980
|
+
transition-duration: ${misc.transitionDuration};
|
|
3250
2981
|
}
|
|
3251
2982
|
|
|
3252
2983
|
a {
|
|
3253
|
-
border-radius: ${
|
|
2984
|
+
border-radius: ${field.borderRadius};
|
|
3254
2985
|
min-width: var(--size);
|
|
3255
2986
|
height: var(--size);
|
|
3256
2987
|
padding: 0 ${/*#__PURE__*/polished.rem('5px')};
|
|
3257
2988
|
display: flex;
|
|
3258
2989
|
justify-content: center;
|
|
3259
2990
|
align-items: center;
|
|
3260
|
-
color: ${
|
|
3261
|
-
font-weight: ${
|
|
2991
|
+
color: ${colors.black};
|
|
2992
|
+
font-weight: ${typography.semiBold};
|
|
3262
2993
|
text-decoration: none;
|
|
3263
2994
|
|
|
3264
2995
|
&:hover {
|
|
3265
|
-
color: ${
|
|
2996
|
+
color: ${colors.blue500};
|
|
3266
2997
|
}
|
|
3267
2998
|
|
|
3268
2999
|
svg {
|
|
3269
3000
|
width: ${/*#__PURE__*/polished.rem('18px')};
|
|
3270
3001
|
height: auto;
|
|
3271
|
-
fill: ${
|
|
3002
|
+
fill: ${colors.blue500};
|
|
3272
3003
|
}
|
|
3273
3004
|
}
|
|
3274
3005
|
|
|
@@ -3276,18 +3007,18 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3276
3007
|
pointer-events: none;
|
|
3277
3008
|
|
|
3278
3009
|
a {
|
|
3279
|
-
background-color: ${
|
|
3280
|
-
color: ${
|
|
3010
|
+
background-color: ${colors.blue500};
|
|
3011
|
+
color: ${colors.white};
|
|
3281
3012
|
}
|
|
3282
3013
|
}
|
|
3283
3014
|
}
|
|
3284
3015
|
|
|
3285
3016
|
&.dark {
|
|
3286
3017
|
a {
|
|
3287
|
-
color: ${
|
|
3018
|
+
color: ${colors.white};
|
|
3288
3019
|
|
|
3289
3020
|
&:hover {
|
|
3290
|
-
color: ${
|
|
3021
|
+
color: ${colors.white};
|
|
3291
3022
|
}
|
|
3292
3023
|
}
|
|
3293
3024
|
}
|
|
@@ -3343,14 +3074,7 @@ const PaginationControl = props => {
|
|
|
3343
3074
|
}));
|
|
3344
3075
|
};
|
|
3345
3076
|
|
|
3346
|
-
const
|
|
3347
|
-
normal: normal$b,
|
|
3348
|
-
green: green$9
|
|
3349
|
-
} = colors;
|
|
3350
|
-
const {
|
|
3351
|
-
bold: bold$6
|
|
3352
|
-
} = typography;
|
|
3353
|
-
const Wrapper$b = _styled__default.div`
|
|
3077
|
+
const Wrapper$a = _styled__default.div`
|
|
3354
3078
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
3355
3079
|
display: flex;
|
|
3356
3080
|
flex-direction: column;
|
|
@@ -3366,16 +3090,16 @@ const Wrapper$b = _styled__default.div`
|
|
|
3366
3090
|
|
|
3367
3091
|
> span {
|
|
3368
3092
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3369
|
-
font-weight: ${
|
|
3370
|
-
color: ${
|
|
3093
|
+
font-weight: ${typography.semiBold};
|
|
3094
|
+
color: ${colors.black};
|
|
3371
3095
|
|
|
3372
3096
|
a {
|
|
3373
|
-
color: ${
|
|
3374
|
-
transition-duration:
|
|
3097
|
+
color: ${colors.black};
|
|
3098
|
+
transition-duration: ${misc.transitionDuration};
|
|
3099
|
+
}
|
|
3375
3100
|
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
}
|
|
3101
|
+
&:hover {
|
|
3102
|
+
color: ${colors.purple500};
|
|
3379
3103
|
}
|
|
3380
3104
|
}
|
|
3381
3105
|
`;
|
|
@@ -3385,7 +3109,7 @@ const Error = props => {
|
|
|
3385
3109
|
variant = 'default',
|
|
3386
3110
|
value
|
|
3387
3111
|
} = props;
|
|
3388
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
3112
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$a, {
|
|
3389
3113
|
variant: variant
|
|
3390
3114
|
}, variant === 'default' ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
3391
3115
|
icon: "warning",
|
|
@@ -3393,14 +3117,7 @@ const Error = props => {
|
|
|
3393
3117
|
}) : /*#__PURE__*/React__default.createElement("span", null, "\u00AF\\\\_(\u30C4)_/\u00AF"), value && /*#__PURE__*/React__default.createElement("span", null, value));
|
|
3394
3118
|
};
|
|
3395
3119
|
|
|
3396
|
-
const
|
|
3397
|
-
normal: normal$c,
|
|
3398
|
-
green: green$a
|
|
3399
|
-
} = colors;
|
|
3400
|
-
const {
|
|
3401
|
-
bold: bold$7
|
|
3402
|
-
} = typography;
|
|
3403
|
-
const Wrapper$c = _styled__default.div`
|
|
3120
|
+
const Wrapper$b = _styled__default.div`
|
|
3404
3121
|
min-height: 50vh;
|
|
3405
3122
|
display: flex;
|
|
3406
3123
|
flex-direction: column;
|
|
@@ -3416,15 +3133,15 @@ const Wrapper$c = _styled__default.div`
|
|
|
3416
3133
|
|
|
3417
3134
|
> div {
|
|
3418
3135
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3419
|
-
font-weight: ${
|
|
3420
|
-
color: ${
|
|
3136
|
+
font-weight: ${typography.semiBold};
|
|
3137
|
+
color: ${colors.black};
|
|
3421
3138
|
|
|
3422
3139
|
a {
|
|
3423
|
-
color: ${
|
|
3424
|
-
transition-duration:
|
|
3140
|
+
color: ${colors.black};
|
|
3141
|
+
transition-duration: ${misc.transitionDuration};
|
|
3425
3142
|
|
|
3426
3143
|
&:hover {
|
|
3427
|
-
color: ${
|
|
3144
|
+
color: ${colors.purple500};
|
|
3428
3145
|
}
|
|
3429
3146
|
}
|
|
3430
3147
|
}
|
|
@@ -5382,20 +5099,12 @@ const DataWarning = props => {
|
|
|
5382
5099
|
default:
|
|
5383
5100
|
icon = /*#__PURE__*/React__default.createElement(IconLoginOnly, null);
|
|
5384
5101
|
}
|
|
5385
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5102
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$b, {
|
|
5386
5103
|
type: type
|
|
5387
5104
|
}, icon, /*#__PURE__*/React__default.createElement("div", null, children));
|
|
5388
5105
|
};
|
|
5389
5106
|
|
|
5390
|
-
const
|
|
5391
|
-
normal: normal$d,
|
|
5392
|
-
green: green$b,
|
|
5393
|
-
darkGreen: darkGreen$5,
|
|
5394
|
-
grey: grey$k,
|
|
5395
|
-
lightGrey: lightGrey$i,
|
|
5396
|
-
red: red$b
|
|
5397
|
-
} = colors;
|
|
5398
|
-
const Wrapper$d = _styled__default.ul`
|
|
5107
|
+
const Wrapper$c = _styled__default.ul`
|
|
5399
5108
|
display: flex;
|
|
5400
5109
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5401
5110
|
position: relative;
|
|
@@ -5416,11 +5125,11 @@ const Wrapper$d = _styled__default.ul`
|
|
|
5416
5125
|
}
|
|
5417
5126
|
|
|
5418
5127
|
input[type='radio']:checked ~ .check {
|
|
5419
|
-
border-color: ${
|
|
5128
|
+
border-color: ${field.successBorderColor};
|
|
5420
5129
|
}
|
|
5421
5130
|
|
|
5422
5131
|
input[type='radio']:checked ~ .check::before {
|
|
5423
|
-
background-color: ${
|
|
5132
|
+
background-color: ${field.successBackgroundColor};
|
|
5424
5133
|
}
|
|
5425
5134
|
|
|
5426
5135
|
& + span {
|
|
@@ -5443,7 +5152,7 @@ const Item = _styled__default.li`
|
|
|
5443
5152
|
padding-left: calc(var(--size) + 5px);
|
|
5444
5153
|
line-height: var(--size);
|
|
5445
5154
|
vertical-align: middle;
|
|
5446
|
-
color: ${props => props.error ?
|
|
5155
|
+
color: ${props => props.error ? field.errorBorderColor : null};
|
|
5447
5156
|
cursor: pointer;
|
|
5448
5157
|
z-index: 1;
|
|
5449
5158
|
}
|
|
@@ -5451,11 +5160,12 @@ const Item = _styled__default.li`
|
|
|
5451
5160
|
.check {
|
|
5452
5161
|
position: absolute;
|
|
5453
5162
|
top: 0;
|
|
5454
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid
|
|
5163
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid
|
|
5164
|
+
${props => props.error ? field.errorBorderColor : field.borderColor};
|
|
5455
5165
|
border-radius: 100%;
|
|
5456
5166
|
width: var(--size);
|
|
5457
5167
|
height: var(--size);
|
|
5458
|
-
transition-duration:
|
|
5168
|
+
transition-duration: ${misc.transitionDuration};
|
|
5459
5169
|
display: flex;
|
|
5460
5170
|
justify-content: center;
|
|
5461
5171
|
align-items: center;
|
|
@@ -5470,21 +5180,21 @@ const Item = _styled__default.li`
|
|
|
5470
5180
|
}
|
|
5471
5181
|
|
|
5472
5182
|
&:hover .check {
|
|
5473
|
-
border-color: ${
|
|
5183
|
+
border-color: ${field.hoverBorderColor};
|
|
5474
5184
|
}
|
|
5475
5185
|
|
|
5476
5186
|
${props => props.disabled && _styled.css`
|
|
5477
5187
|
label {
|
|
5478
|
-
color: ${
|
|
5188
|
+
color: ${field.disabledColor};
|
|
5479
5189
|
}
|
|
5480
5190
|
|
|
5481
5191
|
input[type='radio'] ~ .check,
|
|
5482
5192
|
input[type='radio']:checked ~ .check {
|
|
5483
|
-
border-color: ${
|
|
5193
|
+
border-color: ${field.disabledColor};
|
|
5484
5194
|
}
|
|
5485
5195
|
|
|
5486
5196
|
input[type='radio']:checked ~ .check::before {
|
|
5487
|
-
background-color: ${
|
|
5197
|
+
background-color: ${field.disabledBackgroundColor};
|
|
5488
5198
|
}
|
|
5489
5199
|
|
|
5490
5200
|
&:hover {
|
|
@@ -5509,7 +5219,7 @@ const RadioGroup = props => {
|
|
|
5509
5219
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
5510
5220
|
style: style,
|
|
5511
5221
|
className: className
|
|
5512
|
-
}, /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5222
|
+
}, /*#__PURE__*/React__default.createElement(Wrapper$c, {
|
|
5513
5223
|
type: type,
|
|
5514
5224
|
group: group,
|
|
5515
5225
|
error: error,
|
|
@@ -5534,7 +5244,7 @@ const RadioGroup = props => {
|
|
|
5534
5244
|
}) : null);
|
|
5535
5245
|
};
|
|
5536
5246
|
|
|
5537
|
-
const Wrapper$
|
|
5247
|
+
const Wrapper$d = _styled__default.ul`
|
|
5538
5248
|
display: flex;
|
|
5539
5249
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5540
5250
|
position: relative;
|
|
@@ -5567,7 +5277,7 @@ const CheckboxGroup = props => {
|
|
|
5567
5277
|
error,
|
|
5568
5278
|
disabled
|
|
5569
5279
|
} = props;
|
|
5570
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5280
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$d, {
|
|
5571
5281
|
type: type,
|
|
5572
5282
|
error: error
|
|
5573
5283
|
}, children ? children : options && Array.isArray(options) ? options.map((value, index) => /*#__PURE__*/React__default.createElement("li", {
|
|
@@ -5584,32 +5294,23 @@ const CheckboxGroup = props => {
|
|
|
5584
5294
|
}) : null);
|
|
5585
5295
|
};
|
|
5586
5296
|
|
|
5587
|
-
const Wrapper$
|
|
5297
|
+
const Wrapper$e = _styled__default.div`
|
|
5588
5298
|
label {
|
|
5589
5299
|
margin-bottom: ${/*#__PURE__*/polished.rem('5px')};
|
|
5590
5300
|
}
|
|
5591
5301
|
`;
|
|
5592
|
-
const {
|
|
5593
|
-
grey: grey$l,
|
|
5594
|
-
darkGrey: darkGrey$2,
|
|
5595
|
-
light: light$h,
|
|
5596
|
-
purple500: purple500$4
|
|
5597
|
-
} = colors;
|
|
5598
5302
|
const Field = _styled__default.div`
|
|
5599
5303
|
display: flex;
|
|
5600
5304
|
flex-wrap: wrap;
|
|
5601
5305
|
|
|
5602
5306
|
input {
|
|
5603
5307
|
flex: 1;
|
|
5604
|
-
margin-right:
|
|
5605
|
-
border-radius: ${
|
|
5308
|
+
margin-right: ${/*#__PURE__*/polished.rem('-1px')};
|
|
5309
|
+
border-radius: ${field.borderRadius} 0 0 ${field.borderRadius};
|
|
5606
5310
|
|
|
5607
|
-
&:
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
+ button {
|
|
5611
|
-
background-color: ${purple500$4};
|
|
5612
|
-
}
|
|
5311
|
+
&:disabled {
|
|
5312
|
+
background-color: ${field.backgroundColor};
|
|
5313
|
+
color: ${field.color};
|
|
5613
5314
|
}
|
|
5614
5315
|
}
|
|
5615
5316
|
|
|
@@ -5620,38 +5321,27 @@ const Field = _styled__default.div`
|
|
|
5620
5321
|
|
|
5621
5322
|
button {
|
|
5622
5323
|
border: 0;
|
|
5623
|
-
border-radius: 0 ${
|
|
5624
|
-
background-color: ${grey$l};
|
|
5324
|
+
border-radius: 0 ${field.borderRadius} ${field.borderRadius} 0;
|
|
5625
5325
|
min-width: ${/*#__PURE__*/polished.rem('50px')};
|
|
5626
|
-
height: ${
|
|
5326
|
+
height: ${field.height};
|
|
5627
5327
|
display: flex;
|
|
5628
5328
|
justify-content: center;
|
|
5629
5329
|
align-items: center;
|
|
5630
5330
|
padding: 0 ${/*#__PURE__*/polished.rem('20px')};
|
|
5631
5331
|
white-space: nowrap;
|
|
5632
|
-
transition-duration:
|
|
5332
|
+
transition-duration: ${misc.transitionDuration};
|
|
5633
5333
|
cursor: pointer;
|
|
5634
5334
|
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
min-width: ${/*#__PURE__*/polished.rem('20px')};
|
|
5638
|
-
height: ${/*#__PURE__*/polished.rem('20px')};
|
|
5639
|
-
fill: ${light$h};
|
|
5640
|
-
transition: 0.3s;
|
|
5335
|
+
span {
|
|
5336
|
+
color: ${field.activeColor};
|
|
5641
5337
|
}
|
|
5642
5338
|
|
|
5643
|
-
|
|
5644
|
-
|
|
5339
|
+
svg {
|
|
5340
|
+
fill: ${field.activeColor};
|
|
5645
5341
|
}
|
|
5646
5342
|
|
|
5647
5343
|
&:disabled {
|
|
5648
|
-
|
|
5649
|
-
opacity: 0.5;
|
|
5650
|
-
|
|
5651
|
-
&:hover {
|
|
5652
|
-
background-color: ${grey$l};
|
|
5653
|
-
pointer-events: none;
|
|
5654
|
-
}
|
|
5344
|
+
border: ${field.borderWidth} solid ${field.borderColor} !important;
|
|
5655
5345
|
}
|
|
5656
5346
|
}
|
|
5657
5347
|
`;
|
|
@@ -5663,30 +5353,23 @@ const FieldWidthButton = props => {
|
|
|
5663
5353
|
name,
|
|
5664
5354
|
placeholder,
|
|
5665
5355
|
value,
|
|
5666
|
-
onChange,
|
|
5667
|
-
disabled = false,
|
|
5668
|
-
error = '',
|
|
5669
5356
|
dataTestId,
|
|
5670
|
-
required = false,
|
|
5671
5357
|
buttonIcon,
|
|
5672
5358
|
buttonValue,
|
|
5673
5359
|
buttonAction,
|
|
5674
5360
|
buttonDisabled
|
|
5675
5361
|
} = props;
|
|
5676
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5362
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$e, null, label && /*#__PURE__*/React__default.createElement(Label, {
|
|
5677
5363
|
value: label
|
|
5678
5364
|
}), /*#__PURE__*/React__default.createElement(Field, null, /*#__PURE__*/React__default.createElement(TextField, {
|
|
5679
|
-
minimal: false,
|
|
5680
5365
|
type: type,
|
|
5681
5366
|
name: name,
|
|
5682
5367
|
value: value,
|
|
5683
|
-
onChange: onChange,
|
|
5684
5368
|
placeholder: placeholder,
|
|
5685
|
-
disabled: disabled,
|
|
5686
|
-
error: error,
|
|
5687
5369
|
dataTestId: dataTestId,
|
|
5688
|
-
|
|
5370
|
+
disabled: true
|
|
5689
5371
|
}), /*#__PURE__*/React__default.createElement(Button, {
|
|
5372
|
+
color: "purple100",
|
|
5690
5373
|
icon: buttonIcon,
|
|
5691
5374
|
value: buttonValue,
|
|
5692
5375
|
action: buttonAction,
|
|
@@ -5694,24 +5377,14 @@ const FieldWidthButton = props => {
|
|
|
5694
5377
|
})));
|
|
5695
5378
|
};
|
|
5696
5379
|
|
|
5697
|
-
const {
|
|
5698
|
-
normal: normal$e,
|
|
5699
|
-
purple500: purple500$5,
|
|
5700
|
-
grey: grey$m,
|
|
5701
|
-
lightGrey: lightGrey$j,
|
|
5702
|
-
light: light$i
|
|
5703
|
-
} = colors;
|
|
5704
|
-
const {
|
|
5705
|
-
bold: bold$8
|
|
5706
|
-
} = typography;
|
|
5707
|
-
const Wrapper$g = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5380
|
+
const Wrapper$f = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5708
5381
|
displayName: "styles__Wrapper",
|
|
5709
5382
|
componentId: "sc-znznmm-0"
|
|
5710
|
-
})(["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:
|
|
5383
|
+
})(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:", ";svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:", ";}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{color:", ";pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('10px'), colors.black, misc.transitionDuration, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), colors.grey200, misc.transitionDuration, props => props.customColor ? props.customColor : colors.purple500, props => props.customColor ? props.customColor : colors.purple500, typography.medium, props => props.customColor ? props.customColor : colors.purple500, props => props.customColor ? props.customColor : colors.purple500);
|
|
5711
5384
|
const More = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5712
5385
|
displayName: "styles__More",
|
|
5713
5386
|
componentId: "sc-znznmm-1"
|
|
5714
|
-
})(["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:
|
|
5387
|
+
})(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:", ";-webkit-box-shadow:", ";box-shadow:", ";z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:", ";&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], field.borderWidth, field.borderColor, field.borderRadius, field.backgroundColor, /*#__PURE__*/polished.rem('5px'), field.boxShadow, field.boxShadow, field.boxShadow, misc.transitionDuration, field.borderColor, colors.black, colors.black, field.borderRadius, field.borderRadius, field.borderRadius, field.borderRadius, /*#__PURE__*/polished.rem('15px'));
|
|
5715
5388
|
|
|
5716
5389
|
const HorizontalNav = props => {
|
|
5717
5390
|
const [showMore, setShowMore] = React.useState(false);
|
|
@@ -5757,7 +5430,7 @@ const HorizontalNav = props => {
|
|
|
5757
5430
|
}
|
|
5758
5431
|
return;
|
|
5759
5432
|
}, [ref]);
|
|
5760
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5433
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$f, {
|
|
5761
5434
|
ref: ref,
|
|
5762
5435
|
className: className,
|
|
5763
5436
|
customColor: customColor
|
|
@@ -5779,16 +5452,10 @@ const HorizontalNav = props => {
|
|
|
5779
5452
|
})));
|
|
5780
5453
|
};
|
|
5781
5454
|
|
|
5782
|
-
const {
|
|
5783
|
-
light: light$j
|
|
5784
|
-
} = colors;
|
|
5785
|
-
const {
|
|
5786
|
-
bold: bold$9
|
|
5787
|
-
} = typography;
|
|
5788
5455
|
const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5789
5456
|
displayName: "styles__ModalOverlay",
|
|
5790
5457
|
componentId: "sc-16r6vcc-0"
|
|
5791
|
-
})(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(
|
|
5458
|
+
})(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
|
|
5792
5459
|
const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5793
5460
|
displayName: "styles__ModalWrapper",
|
|
5794
5461
|
componentId: "sc-16r6vcc-1"
|
|
@@ -5796,11 +5463,11 @@ const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5796
5463
|
const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5797
5464
|
displayName: "styles__ModalContainer",
|
|
5798
5465
|
componentId: "sc-16r6vcc-2"
|
|
5799
|
-
})(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:
|
|
5466
|
+
})(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:", ";@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], colors.white, /*#__PURE__*/polished.rem('15px'), misc.transitionDuration, device.s, /*#__PURE__*/polished.rem('30px'), field.borderRadius, /*#__PURE__*/polished.rem('860px'), /*#__PURE__*/polished.rem('1px'));
|
|
5800
5467
|
const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5801
5468
|
displayName: "styles__ModalHeader",
|
|
5802
5469
|
componentId: "sc-16r6vcc-3"
|
|
5803
|
-
})(["display:flex;h2{margin:0 0 ", " 0;font-size:
|
|
5470
|
+
})(["display:flex;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;border:", " solid ", ";min-width:", ";height:", ";z-index:1;outline:none;@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold, /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('-14px'), /*#__PURE__*/polished.rem('2px'), colors.grey200, /*#__PURE__*/polished.rem('28px'), /*#__PURE__*/polished.rem('28px'), device.s);
|
|
5804
5471
|
|
|
5805
5472
|
const Modal = props => {
|
|
5806
5473
|
const {
|
|
@@ -5851,12 +5518,6 @@ const Modal = props => {
|
|
|
5851
5518
|
})))), document.body) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
5852
5519
|
};
|
|
5853
5520
|
|
|
5854
|
-
const {
|
|
5855
|
-
light: light$k
|
|
5856
|
-
} = colors;
|
|
5857
|
-
const {
|
|
5858
|
-
bold: bold$a
|
|
5859
|
-
} = typography;
|
|
5860
5521
|
const slideInLeft = _styled.keyframes`
|
|
5861
5522
|
from {
|
|
5862
5523
|
transform: translateX(100%);
|
|
@@ -5869,7 +5530,7 @@ const slideInLeft = _styled.keyframes`
|
|
|
5869
5530
|
const ModalOverlay$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5870
5531
|
displayName: "styles__ModalOverlay",
|
|
5871
5532
|
componentId: "sc-46huls-0"
|
|
5872
|
-
})(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(
|
|
5533
|
+
})(["position:fixed;top:0;left:0;background-color:", ";width:100vw;height:100vh;z-index:", ";"], /*#__PURE__*/polished.rgba(colors.black, 0.8), props => props.zIndex ? props.zIndex : 10);
|
|
5873
5534
|
const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5874
5535
|
displayName: "styles__ModalWrapper",
|
|
5875
5536
|
componentId: "sc-46huls-1"
|
|
@@ -5877,11 +5538,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5877
5538
|
const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5878
5539
|
displayName: "styles__ModalContainer",
|
|
5879
5540
|
componentId: "sc-46huls-2"
|
|
5880
|
-
})(["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:", ";}"],
|
|
5541
|
+
})(["position:fixed;right:0;background:", ";width:100%;height:100vh;height:calc(var(--vh,1vh) * 100);display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translateX(100%);animation-name:", ";overflow-y:auto;@media ", "{max-width:", ";padding:", ";}"], colors.white, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/polished.rem('400px'), /*#__PURE__*/polished.rem('30px'));
|
|
5881
5542
|
const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5882
5543
|
displayName: "styles__ModalHeader",
|
|
5883
5544
|
componentId: "sc-46huls-3"
|
|
5884
|
-
})(["top:0;h2{margin:0 0 ", " 0;font-size:
|
|
5545
|
+
})(["top:0;h2{margin:0 0 ", " 0;font-size:", ";font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('32px'), typography.semiBold);
|
|
5885
5546
|
const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5886
5547
|
displayName: "styles__ModalContent",
|
|
5887
5548
|
componentId: "sc-46huls-4"
|
|
@@ -5938,10 +5599,7 @@ const ModalDrawer = props => {
|
|
|
5938
5599
|
}))))), document.body) : /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
5939
5600
|
};
|
|
5940
5601
|
|
|
5941
|
-
const
|
|
5942
|
-
lightGrey: lightGrey$k
|
|
5943
|
-
} = colors;
|
|
5944
|
-
const Wrapper$h = _styled__default.div`
|
|
5602
|
+
const Wrapper$g = _styled__default.div`
|
|
5945
5603
|
div {
|
|
5946
5604
|
width: 100%;
|
|
5947
5605
|
height: 100%;
|
|
@@ -6002,7 +5660,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
6002
5660
|
|
|
6003
5661
|
.card {
|
|
6004
5662
|
position: relative;
|
|
6005
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${
|
|
5663
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${colors.grey50};
|
|
6006
5664
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
6007
5665
|
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
6008
5666
|
overflow: hidden;
|
|
@@ -6017,7 +5675,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
6017
5675
|
margin: ${/*#__PURE__*/polished.rem('-45px')} 0 0 ${/*#__PURE__*/polished.rem('20px')};
|
|
6018
5676
|
width: ${/*#__PURE__*/polished.rem('90px')};
|
|
6019
5677
|
height: ${/*#__PURE__*/polished.rem('90px')};
|
|
6020
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${
|
|
5678
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${colors.grey50};
|
|
6021
5679
|
border-radius: 999px;
|
|
6022
5680
|
}
|
|
6023
5681
|
|
|
@@ -6104,48 +5762,43 @@ const LoadingState = props => {
|
|
|
6104
5762
|
className: "subtitle"
|
|
6105
5763
|
}), paragraphs));
|
|
6106
5764
|
}
|
|
6107
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5765
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$g, {
|
|
6108
5766
|
type: type
|
|
6109
5767
|
}, loadingType);
|
|
6110
5768
|
};
|
|
6111
5769
|
|
|
6112
|
-
const
|
|
6113
|
-
normal: normal$f,
|
|
6114
|
-
grey: grey$n,
|
|
6115
|
-
lightGrey: lightGrey$l,
|
|
6116
|
-
light: light$l
|
|
6117
|
-
} = colors;
|
|
6118
|
-
const Wrapper$i = _styled__default.div`
|
|
5770
|
+
const Wrapper$h = _styled__default.div`
|
|
6119
5771
|
.tab {
|
|
6120
|
-
border-color: ${
|
|
5772
|
+
border-color: ${field.borderColor};
|
|
6121
5773
|
|
|
6122
5774
|
&[aria-selected='true'] {
|
|
6123
5775
|
border-bottom: 0;
|
|
6124
5776
|
}
|
|
6125
5777
|
|
|
6126
5778
|
&[aria-selected='false'] {
|
|
6127
|
-
background-color: ${
|
|
6128
|
-
color: ${
|
|
6129
|
-
transition-duration:
|
|
5779
|
+
background-color: ${field.borderColor};
|
|
5780
|
+
color: ${colors.black};
|
|
5781
|
+
transition-duration: ${misc.transitionDuration};
|
|
6130
5782
|
|
|
6131
5783
|
&:hover {
|
|
6132
|
-
color: ${
|
|
5784
|
+
color: ${colors.black};
|
|
6133
5785
|
}
|
|
6134
5786
|
}
|
|
6135
5787
|
|
|
6136
5788
|
&:first-child {
|
|
6137
|
-
border-top-left-radius: ${
|
|
5789
|
+
border-top-left-radius: ${field.borderRadius};
|
|
6138
5790
|
}
|
|
6139
5791
|
|
|
6140
5792
|
&:last-child {
|
|
6141
|
-
border-top-right-radius: ${
|
|
5793
|
+
border-top-right-radius: ${field.borderRadius};
|
|
6142
5794
|
}
|
|
6143
5795
|
}
|
|
6144
5796
|
|
|
6145
5797
|
.panel {
|
|
6146
|
-
|
|
6147
|
-
border-
|
|
6148
|
-
|
|
5798
|
+
// prettier-ignore
|
|
5799
|
+
border-radius: 0 ${field.borderRadius} ${field.borderRadius} ${field.borderRadius};
|
|
5800
|
+
border-color: ${field.borderColor};
|
|
5801
|
+
background-color: ${colors.white};
|
|
6149
5802
|
padding: ${/*#__PURE__*/polished.rem('30px')};
|
|
6150
5803
|
}
|
|
6151
5804
|
|
|
@@ -6165,8 +5818,8 @@ const Wrapper$i = _styled__default.div`
|
|
|
6165
5818
|
.RRT__tab {
|
|
6166
5819
|
background: #eee;
|
|
6167
5820
|
border-style: solid;
|
|
6168
|
-
border-color: ${
|
|
6169
|
-
border-width: ${
|
|
5821
|
+
border-color: ${field.borderColor};
|
|
5822
|
+
border-width: ${field.borderWidth} ${field.borderWidth} ${field.borderWidth} 0;
|
|
6170
5823
|
cursor: pointer;
|
|
6171
5824
|
z-index: 1;
|
|
6172
5825
|
white-space: nowrap;
|
|
@@ -6175,24 +5828,24 @@ const Wrapper$i = _styled__default.div`
|
|
|
6175
5828
|
|
|
6176
5829
|
.RRT__tab:focus {
|
|
6177
5830
|
outline: 0;
|
|
6178
|
-
background-color: ${
|
|
5831
|
+
background-color: ${field.borderColor};
|
|
6179
5832
|
}
|
|
6180
5833
|
|
|
6181
5834
|
.RRT__accordion .RRT__tab {
|
|
6182
|
-
border-left-width: ${
|
|
5835
|
+
border-left-width: ${field.borderWidth};
|
|
6183
5836
|
}
|
|
6184
5837
|
|
|
6185
5838
|
.RRT__tab--first {
|
|
6186
|
-
border-left-width: ${
|
|
5839
|
+
border-left-width: ${field.borderWidth};
|
|
6187
5840
|
}
|
|
6188
5841
|
|
|
6189
5842
|
.RRT__tab--selected {
|
|
6190
|
-
background: ${
|
|
6191
|
-
border-color: ${
|
|
5843
|
+
background: ${colors.white};
|
|
5844
|
+
border-color: ${field.borderColor} ${field.borderColor} ${colors.white};
|
|
6192
5845
|
}
|
|
6193
5846
|
|
|
6194
5847
|
.RRT__tab--selected:focus {
|
|
6195
|
-
background-color: ${
|
|
5848
|
+
background-color: ${colors.white};
|
|
6196
5849
|
}
|
|
6197
5850
|
|
|
6198
5851
|
.RRT__tab--disabled {
|
|
@@ -6222,7 +5875,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6222
5875
|
.RRT__panel {
|
|
6223
5876
|
margin-top: ${/*#__PURE__*/polished.rem('-1px')};
|
|
6224
5877
|
padding: 1em;
|
|
6225
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${
|
|
5878
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
|
|
6226
5879
|
}
|
|
6227
5880
|
|
|
6228
5881
|
.RRT__panel--hidden {
|
|
@@ -6234,9 +5887,9 @@ const Wrapper$i = _styled__default.div`
|
|
|
6234
5887
|
}
|
|
6235
5888
|
|
|
6236
5889
|
.RRT__showmore {
|
|
6237
|
-
background: ${
|
|
6238
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${
|
|
6239
|
-
border-radius: 0 ${
|
|
5890
|
+
background: ${field.borderColor};
|
|
5891
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${field.borderColor};
|
|
5892
|
+
border-radius: 0 ${field.borderRadius} 0 0;
|
|
6240
5893
|
cursor: pointer;
|
|
6241
5894
|
z-index: 1;
|
|
6242
5895
|
white-space: nowrap;
|
|
@@ -6245,7 +5898,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6245
5898
|
}
|
|
6246
5899
|
|
|
6247
5900
|
.RRT__showmore--selected {
|
|
6248
|
-
background: ${
|
|
5901
|
+
background: ${colors.white};
|
|
6249
5902
|
border-bottom: none;
|
|
6250
5903
|
}
|
|
6251
5904
|
|
|
@@ -6256,7 +5909,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6256
5909
|
}
|
|
6257
5910
|
|
|
6258
5911
|
.RRT__showmore-label--selected {
|
|
6259
|
-
background-color: ${
|
|
5912
|
+
background-color: ${field.borderColor};
|
|
6260
5913
|
}
|
|
6261
5914
|
|
|
6262
5915
|
.RRT__showmore-list {
|
|
@@ -6292,7 +5945,7 @@ const TabsPanel = props => {
|
|
|
6292
5945
|
getContent: () => tab.renderer
|
|
6293
5946
|
}));
|
|
6294
5947
|
};
|
|
6295
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5948
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$h, null, /*#__PURE__*/React__default.createElement(Tabs, {
|
|
6296
5949
|
transform: false,
|
|
6297
5950
|
unmountOnExit: unmountOnExit,
|
|
6298
5951
|
selectedTabKey: selectedTabKey,
|
|
@@ -6302,7 +5955,7 @@ const TabsPanel = props => {
|
|
|
6302
5955
|
}));
|
|
6303
5956
|
};
|
|
6304
5957
|
|
|
6305
|
-
const Wrapper$
|
|
5958
|
+
const Wrapper$i = _styled__default.div`
|
|
6306
5959
|
display: flex;
|
|
6307
5960
|
flex-direction: column;
|
|
6308
5961
|
`;
|
|
@@ -6322,7 +5975,7 @@ const TabsPanel$1 = props => {
|
|
|
6322
5975
|
className = 'grid-container',
|
|
6323
5976
|
children
|
|
6324
5977
|
} = props;
|
|
6325
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5978
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$i, {
|
|
6326
5979
|
className: className
|
|
6327
5980
|
}, children);
|
|
6328
5981
|
};
|
|
@@ -6350,7 +6003,6 @@ const GridCol$1 = props => {
|
|
|
6350
6003
|
};
|
|
6351
6004
|
|
|
6352
6005
|
exports.ActionsMenu = ActionsMenu;
|
|
6353
|
-
exports.AlertNotification = AlertNotification;
|
|
6354
6006
|
exports.AvatarImage = AvatarImage;
|
|
6355
6007
|
exports.Button = Button;
|
|
6356
6008
|
exports.ButtonDropdown = ButtonDropdown;
|