@taikai/rocket-kit 2.0.2 → 3.0.0-beta.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/button/index.d.ts +10 -9
- package/dist/atoms/button/stories/button.stories.d.ts +16 -9
- package/dist/atoms/button/styles.d.ts +2 -2
- package/dist/atoms/button/types.d.ts +2 -1
- package/dist/atoms/button-dropdown/index.d.ts +8 -4
- package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +11 -2
- package/dist/atoms/button-link/index.d.ts +11 -10
- package/dist/atoms/button-link/stories/button-link.stories.d.ts +17 -12
- package/dist/atoms/button-link/styles.d.ts +2 -1
- package/dist/atoms/tag/index.d.ts +1 -0
- package/dist/atoms/tag/stories/tag.stories.d.ts +7 -0
- package/dist/atoms/tag/styles.d.ts +1 -0
- package/dist/atoms/tag/types.d.ts +2 -1
- package/dist/atoms/tag-number/index.d.ts +5 -2
- package/dist/atoms/tag-number/stories/tag-number.stories.d.ts +16 -0
- package/dist/atoms/tag-number/styles.d.ts +7 -1
- package/dist/ions/variables.d.ts +148 -2
- package/dist/rocket-kit.cjs.development.js +621 -619
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +175 -333
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +623 -621
- package/dist/rocket-kit.esm.js.map +1 -1
- package/dist/utils/hooks/use-color.d.ts +4 -0
- package/package.json +1 -1
- package/dist/utils/hooks/use-mouse-move-effect.d.ts +0 -5
|
@@ -22,6 +22,150 @@ var ReactDOM = _interopDefault(require('react-dom'));
|
|
|
22
22
|
var Tabs = _interopDefault(require('react-responsive-tabs'));
|
|
23
23
|
|
|
24
24
|
const colors = {
|
|
25
|
+
// NEUTRALS
|
|
26
|
+
black: '#000000',
|
|
27
|
+
white: '#ffffff',
|
|
28
|
+
// GREY
|
|
29
|
+
grey50: '#F1F1F3',
|
|
30
|
+
grey100: '#E3E3E8',
|
|
31
|
+
grey150: '#D5D6DC',
|
|
32
|
+
grey200: '#C7C8D1',
|
|
33
|
+
grey300: '#ABACBA',
|
|
34
|
+
grey400: '#8F91A3',
|
|
35
|
+
grey500: '#73758C',
|
|
36
|
+
grey600: '#5C5E70',
|
|
37
|
+
grey700: '#454654',
|
|
38
|
+
grey800: '#2E2F38',
|
|
39
|
+
grey850: '#23232A',
|
|
40
|
+
grey900: '#17171C',
|
|
41
|
+
grey950: '#0C0C0E',
|
|
42
|
+
// BLUE
|
|
43
|
+
blue50: '#ECEDFC',
|
|
44
|
+
blue100: '#D9DCFA',
|
|
45
|
+
blue150: '#C6CAF7',
|
|
46
|
+
blue200: '#B3B9F4',
|
|
47
|
+
blue300: '#8E96EF',
|
|
48
|
+
blue400: '#6873E9',
|
|
49
|
+
blue500: '#4250E4',
|
|
50
|
+
blue600: '#3540B6',
|
|
51
|
+
blue700: '#283089',
|
|
52
|
+
blue800: '#1A205B',
|
|
53
|
+
blue850: '#141844',
|
|
54
|
+
blue900: '#0D102E',
|
|
55
|
+
blue950: '#070817',
|
|
56
|
+
// PURPLE
|
|
57
|
+
purple50: '#ECEAF6',
|
|
58
|
+
purple100: '#D9D4ED',
|
|
59
|
+
purple150: '#C7BFE4',
|
|
60
|
+
purple200: '#B4A9DB',
|
|
61
|
+
purple300: '#8E7FCA',
|
|
62
|
+
purple400: '#6954B8',
|
|
63
|
+
purple500: '#4329A6',
|
|
64
|
+
purple600: '#362185',
|
|
65
|
+
purple700: '#281964',
|
|
66
|
+
purple800: '#1B1042',
|
|
67
|
+
purple850: '#140C32',
|
|
68
|
+
purple900: '#0D0821',
|
|
69
|
+
purple950: '#070411',
|
|
70
|
+
// RED
|
|
71
|
+
red50: '#FDEEEE',
|
|
72
|
+
red100: '#FBDDDD',
|
|
73
|
+
red150: '#F9CDCD',
|
|
74
|
+
red200: '#F7BCBC',
|
|
75
|
+
red300: '#F39A9A',
|
|
76
|
+
red400: '#EF7979',
|
|
77
|
+
red500: '#EB5757',
|
|
78
|
+
red600: '#BC4646',
|
|
79
|
+
red700: '#8D3434',
|
|
80
|
+
red800: '#5E2323',
|
|
81
|
+
red850: '#471A1A',
|
|
82
|
+
red900: '#2F1111',
|
|
83
|
+
red950: '#180909',
|
|
84
|
+
// ORACLE
|
|
85
|
+
oracle50: '#F4F0FD',
|
|
86
|
+
oracle100: '#EAE1FB',
|
|
87
|
+
oracle150: '#DFD2FA',
|
|
88
|
+
oracle200: '#D5C3F8',
|
|
89
|
+
oracle300: '#C0A5F4',
|
|
90
|
+
oracle400: '#AB87F1',
|
|
91
|
+
oracle500: '#9669ED',
|
|
92
|
+
oracle600: '#7854BE',
|
|
93
|
+
oracle700: '#5A3F8E',
|
|
94
|
+
oracle800: '#3C2A5F',
|
|
95
|
+
oracle850: '#2D2047',
|
|
96
|
+
oracle900: '#1E152F',
|
|
97
|
+
oracle950: '#0F0B18',
|
|
98
|
+
// GREEN
|
|
99
|
+
green50: '#EBFCF7',
|
|
100
|
+
green100: '#D7F9EF',
|
|
101
|
+
green150: '#C2F6E6',
|
|
102
|
+
green200: '#AEF3DE',
|
|
103
|
+
green300: '#86ECCE',
|
|
104
|
+
green400: '#5DE6BD',
|
|
105
|
+
green500: '#35E0AD',
|
|
106
|
+
green600: '#2AB38A',
|
|
107
|
+
green700: '#208668',
|
|
108
|
+
green800: '#155A45',
|
|
109
|
+
green850: '#104334',
|
|
110
|
+
green900: '#0B2D23',
|
|
111
|
+
green950: '#051611',
|
|
112
|
+
// ORANGE
|
|
113
|
+
orange50: '#FFF0EA',
|
|
114
|
+
orange100: '#FFE1D5',
|
|
115
|
+
orange150: '#FFD2C0',
|
|
116
|
+
orange200: '#FFC3AB',
|
|
117
|
+
orange300: '#FFA680',
|
|
118
|
+
orange400: '#FF8856',
|
|
119
|
+
orange500: '#FF6A2C',
|
|
120
|
+
orange600: '#CC5523',
|
|
121
|
+
orange700: '#99401A',
|
|
122
|
+
orange800: '#662A12',
|
|
123
|
+
orange850: '#4D200D',
|
|
124
|
+
orange900: '#331509',
|
|
125
|
+
orange950: '#1A0B04',
|
|
126
|
+
// YELLOW
|
|
127
|
+
yellow50: '#FFFBEC',
|
|
128
|
+
yellow100: '#FFF7DA',
|
|
129
|
+
yellow150: '#FFF3C7',
|
|
130
|
+
yellow200: '#FFEFB5',
|
|
131
|
+
yellow300: '#FFE690',
|
|
132
|
+
yellow400: '#FFDE6B',
|
|
133
|
+
yellow500: '#FFD646',
|
|
134
|
+
yellow600: '#CCAB38',
|
|
135
|
+
yellow700: '#99802A',
|
|
136
|
+
yellow800: '#66561C',
|
|
137
|
+
yellow850: '#4D4015',
|
|
138
|
+
yellow900: '#332B0E',
|
|
139
|
+
yellow950: '#1A1507',
|
|
140
|
+
// PALE BLUE
|
|
141
|
+
paleBlue50: '#F3F9FD',
|
|
142
|
+
paleBlue100: '#E7F4FB',
|
|
143
|
+
paleBlue150: '#DBEEF9',
|
|
144
|
+
paleBlue200: '#CFE9F7',
|
|
145
|
+
paleBlue300: '#B7DDF4',
|
|
146
|
+
paleBlue400: '#9FD2F0',
|
|
147
|
+
paleBlue500: '#87C7EC',
|
|
148
|
+
paleBlue600: '#6C9FBD',
|
|
149
|
+
paleBlue700: '#51778E',
|
|
150
|
+
paleBlue800: '#36505E',
|
|
151
|
+
paleBlue850: '#293C47',
|
|
152
|
+
paleBlue900: '#1B282F',
|
|
153
|
+
paleBlue950: '#0E1418',
|
|
154
|
+
// PALE ORANGE
|
|
155
|
+
paleOrange50: '#FDF4EC',
|
|
156
|
+
paleOrange100: '#FCE9D9',
|
|
157
|
+
paleOrange150: '#FADEC6',
|
|
158
|
+
paleOrange200: '#F8D3B3',
|
|
159
|
+
paleOrange300: '#F5BE8C',
|
|
160
|
+
paleOrange400: '#F1A866',
|
|
161
|
+
paleOrange500: '#EE9240',
|
|
162
|
+
paleOrange600: '#BE7533',
|
|
163
|
+
paleOrange700: '#8F5826',
|
|
164
|
+
paleOrange800: '#5F3A1A',
|
|
165
|
+
paleOrange850: '#472C13',
|
|
166
|
+
paleOrange900: '#301D0D',
|
|
167
|
+
paleOrange950: '#180F06',
|
|
168
|
+
// OLD
|
|
25
169
|
normal: '#000000',
|
|
26
170
|
light: '#ffffff',
|
|
27
171
|
blue: '#4250e4',
|
|
@@ -31,7 +175,6 @@ const colors = {
|
|
|
31
175
|
red: '#ef5766',
|
|
32
176
|
lightRed: /*#__PURE__*/polished.lighten(0.25, '#ef5766'),
|
|
33
177
|
darkRed: /*#__PURE__*/polished.darken(0.19, '#ef5766'),
|
|
34
|
-
purple: '#4329a6',
|
|
35
178
|
lightPurple: /*#__PURE__*/polished.lighten(0.4, '#4329a6'),
|
|
36
179
|
darkPurple: /*#__PURE__*/polished.darken(0.15, '#4329a6'),
|
|
37
180
|
green: '#56cad7',
|
|
@@ -41,10 +184,25 @@ const colors = {
|
|
|
41
184
|
lightGrey: '#c4c7d3',
|
|
42
185
|
darkGrey: /*#__PURE__*/polished.darken(0.1, '#939393')
|
|
43
186
|
};
|
|
44
|
-
const
|
|
187
|
+
const colorHues = [50, 100, 150, 200, 300, 400, 500, 600, 700, 800, 850, 900, 950];
|
|
188
|
+
const typography = {
|
|
189
|
+
defaultFont: `"Space Grotesk", Verdana, Arial, Helvetica, sans-serif`,
|
|
190
|
+
defaultSize: '16px',
|
|
45
191
|
regular: 400,
|
|
46
192
|
medium: 500,
|
|
47
|
-
bold: 700
|
|
193
|
+
bold: 700,
|
|
194
|
+
letterSpacing: /*#__PURE__*/polished.rem('1px')
|
|
195
|
+
};
|
|
196
|
+
const button = {
|
|
197
|
+
height: /*#__PURE__*/polished.rem('42px'),
|
|
198
|
+
borderWidth: /*#__PURE__*/polished.rem('1px'),
|
|
199
|
+
borderRadius: /*#__PURE__*/polished.rem('8px'),
|
|
200
|
+
padding: /*#__PURE__*/polished.rem('28px'),
|
|
201
|
+
iconSpacing: /*#__PURE__*/polished.rem('8px'),
|
|
202
|
+
iconSize: /*#__PURE__*/polished.rem('16px')
|
|
203
|
+
};
|
|
204
|
+
const misc = {
|
|
205
|
+
transitionDuration: '0.3s'
|
|
48
206
|
};
|
|
49
207
|
|
|
50
208
|
const {
|
|
@@ -83,193 +241,96 @@ const AvatarImage = props => {
|
|
|
83
241
|
}));
|
|
84
242
|
};
|
|
85
243
|
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
const element = document.querySelector(querySelector);
|
|
93
|
-
if (!element) return;
|
|
94
|
-
element.addEventListener('mousemove', event => {
|
|
95
|
-
var _ref, _ref2;
|
|
96
|
-
|
|
97
|
-
const target = event.target;
|
|
98
|
-
const x = (_ref = event.pageX - (target == null ? void 0 : target.offsetLeft)) != null ? _ref : 0;
|
|
99
|
-
const y = (_ref2 = event.pageY - (target == null ? void 0 : target.offsetTop)) != null ? _ref2 : 0;
|
|
100
|
-
element.style.setProperty('--x', `${x}px`);
|
|
101
|
-
element.style.setProperty('--y', `${y}px`);
|
|
102
|
-
});
|
|
103
|
-
}, [querySelector]);
|
|
104
|
-
};
|
|
244
|
+
const useColor = value => {
|
|
245
|
+
// @ts-ignore
|
|
246
|
+
const color = colors == null ? void 0 : colors[value];
|
|
247
|
+
const c = value.split(/([0-9]+)/).filter(Boolean);
|
|
248
|
+
const tint = c[0];
|
|
249
|
+
const hue = parseFloat(c[1]);
|
|
105
250
|
|
|
106
|
-
const
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
mouse: '(min-width: 538px) and (min-height: 720px)'
|
|
251
|
+
const getHoverColor = (tint, hue) => {
|
|
252
|
+
const indexCurrentHue = colorHues.indexOf(hue);
|
|
253
|
+
const indexIsLast = indexCurrentHue === colorHues.length - 1;
|
|
254
|
+
const indexHoverHue = indexIsLast ? indexCurrentHue - 1 : indexCurrentHue + 1; // @ts-ignore
|
|
255
|
+
|
|
256
|
+
const hoverColor = colors == null ? void 0 : colors[indexCurrentHue > -1 ? tint + colorHues[indexHoverHue] : tint];
|
|
257
|
+
return hoverColor != null ? hoverColor : colors.black;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
const hover = getHoverColor(tint, hue);
|
|
261
|
+
return {
|
|
262
|
+
color,
|
|
263
|
+
hover
|
|
264
|
+
};
|
|
121
265
|
};
|
|
122
266
|
|
|
123
|
-
const {
|
|
124
|
-
normal,
|
|
125
|
-
light,
|
|
126
|
-
grey: grey$1,
|
|
127
|
-
lightGrey,
|
|
128
|
-
darkGrey,
|
|
129
|
-
green,
|
|
130
|
-
darkGreen,
|
|
131
|
-
orange,
|
|
132
|
-
darkOrange,
|
|
133
|
-
red,
|
|
134
|
-
darkRed,
|
|
135
|
-
purple,
|
|
136
|
-
darkPurple,
|
|
137
|
-
blue,
|
|
138
|
-
darkBlue
|
|
139
|
-
} = colors;
|
|
140
|
-
const {
|
|
141
|
-
bold,
|
|
142
|
-
medium
|
|
143
|
-
} = fontWeight;
|
|
144
|
-
const pulseKeyframes = _styled.keyframes`
|
|
145
|
-
0% {
|
|
146
|
-
box-shadow: 0 0 ${/*#__PURE__*/polished.rem('10px')} 0 rgba(40, 40, 40, 0.3);
|
|
147
|
-
}
|
|
148
|
-
50% {
|
|
149
|
-
box-shadow: 0 0 ${/*#__PURE__*/polished.rem('10px')} 0 rgba(40, 40, 40, 0);
|
|
150
|
-
}
|
|
151
|
-
100% {
|
|
152
|
-
box-shadow: 0 0 ${/*#__PURE__*/polished.rem('10px')} 0 rgba(40, 40, 40, 0.3);
|
|
153
|
-
}
|
|
154
|
-
`;
|
|
155
267
|
const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
|
|
156
268
|
displayName: "styles__ButtonWrapper",
|
|
157
269
|
componentId: "baestp-0"
|
|
158
|
-
})(["--
|
|
159
|
-
|
|
160
|
-
--hover: ${darkGreen};
|
|
161
|
-
`, props => props.color === 'orange' && _styled.css`
|
|
162
|
-
--button: ${orange};
|
|
163
|
-
--hover: ${darkOrange};
|
|
164
|
-
`, props => props.color === 'red' && _styled.css`
|
|
165
|
-
--button: ${red};
|
|
166
|
-
--hover: ${darkRed};
|
|
167
|
-
`, props => props.color === 'grey' && _styled.css`
|
|
168
|
-
--button: ${grey$1};
|
|
169
|
-
--hover: ${darkGrey};
|
|
170
|
-
`, props => props.color === 'blue' && _styled.css`
|
|
171
|
-
--button: ${blue};
|
|
172
|
-
--hover: ${darkBlue};
|
|
173
|
-
`, props => props.color === 'purple' && _styled.css`
|
|
174
|
-
--button: ${purple};
|
|
175
|
-
--hover: ${darkPurple};
|
|
176
|
-
`, props => props.color === 'white' && _styled.css`
|
|
177
|
-
--button: ${light};
|
|
178
|
-
--txt: ${normal};
|
|
179
|
-
--hover: ${lightGrey};
|
|
180
|
-
`, props => props.color === 'dark' && _styled.css`
|
|
181
|
-
--button: ${normal};
|
|
182
|
-
--hover: ${darkGrey};
|
|
183
|
-
`, props => props.color === 'pulse' && _styled.css`
|
|
184
|
-
--button: ${red};
|
|
185
|
-
--hover: ${darkRed};
|
|
186
|
-
animation: ${pulseKeyframes} 1s infinite;
|
|
187
|
-
`, props => props.color === 'magic' && _styled.css`
|
|
188
|
-
--button: ${light};
|
|
189
|
-
--hover: ${lightGrey};
|
|
190
|
-
`, props => props.variant === 'outline' ? '3px' : 0, props => props.variant === 'text' ? 0 : '999px', props => props.variant === 'solid' ? 'var(--button)' : 'transparent', props => props.value ? props.circle ? polished.rem('32px') : 'min-content' : polished.rem('32px'), /*#__PURE__*/polished.rem('32px'), props => props.value ? props.circle ? 0 : `0 ${polished.rem('20px')}` : 0, device.l, props => props.value ? polished.rem('100px') : polished.rem('32px'), 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.iconPosition === 'right' ? '5px' : 0, props => props.iconPosition === 'left' ? '5px' : 0, props => props.variant === 'solid' ? '' : 'var(--button)', medium, props => props.variant === 'solid' ? 'var(--txt)' : 'var(--button)', props => props.iconPosition === 'left' ? 2 : 1, props => props.iconPosition === 'left' ? 1 : 2, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), props => props.variant === 'solid' ? 'var(--txt)' : 'var(--button)', props => props.color === 'magic' && _styled.css`
|
|
191
|
-
position: relative;
|
|
192
|
-
background-image: linear-gradient(to bottom right, #ef5867, #5031a8);
|
|
193
|
-
height: ${polished.rem('60px')};
|
|
194
|
-
padding: 0 ${polished.rem('40px')};
|
|
195
|
-
overflow: hidden;
|
|
196
|
-
|
|
197
|
-
span {
|
|
198
|
-
font-size: 1rem;
|
|
199
|
-
font-weight: ${bold};
|
|
200
|
-
}
|
|
270
|
+
})(["--bg:", ";--txt:", ";--hover:", ";margin:0;border-width:", ";border-style:solid;border-color:var(--bg);border-radius:", ";background-color:", ";width:min-content;min-width:", ";height:", ";display:flex;justify-content:center;align-items:center;padding:", ";text-transform:uppercase;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{pointer-events:none;}}> *:not(:last-child){margin-left:", ";margin-right:", ";}.spinner{border-top-color:", ";}span{position:relative;font-size:", ";font-weight:", ";letter-spacing:", ";line-height:", ";color:", ";pointer-events:none;transition-duration:", ";order:", ";}svg{order:", ";width:", ";height:", ";fill:", ";transition:", ";}"], props => {
|
|
271
|
+
var _props$color;
|
|
201
272
|
|
|
202
|
-
|
|
203
|
-
|
|
273
|
+
return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
|
|
274
|
+
}, props => {
|
|
275
|
+
var _props$txtColor;
|
|
204
276
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
top: var(--y);
|
|
209
|
-
width: var(--size);
|
|
210
|
-
height: var(--size);
|
|
211
|
-
background: radial-gradient(circle closest-side, #5031a8, transparent);
|
|
212
|
-
-webkit-transform: translate(-50%, -50%);
|
|
213
|
-
transform: translate(-50%, -50%);
|
|
214
|
-
-webkit-transition: width 0.2s ease, height 0.2s ease;
|
|
215
|
-
transition: width 0.2s ease, height 0.2s ease;
|
|
216
|
-
}
|
|
277
|
+
return useColor((_props$txtColor = props.txtColor) != null ? _props$txtColor : 'black').color;
|
|
278
|
+
}, props => {
|
|
279
|
+
var _props$color2;
|
|
217
280
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
}
|
|
221
|
-
`);
|
|
281
|
+
return props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor((_props$color2 = props.color) != null ? _props$color2 : 'black').hover;
|
|
282
|
+
}, 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.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, typography.letterSpacing, /*#__PURE__*/polished.rem(typography.defaultSize), props => props.variant === 'solid' ? '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' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration);
|
|
222
283
|
|
|
223
284
|
const Button = props => {
|
|
224
285
|
const {
|
|
225
286
|
variant = 'solid',
|
|
226
|
-
|
|
227
|
-
color = '
|
|
228
|
-
|
|
287
|
+
rounded = false,
|
|
288
|
+
color = 'purple500',
|
|
289
|
+
txtColor = 'white',
|
|
290
|
+
type,
|
|
229
291
|
className = 'button',
|
|
230
|
-
|
|
231
|
-
ariaLabel,
|
|
292
|
+
style,
|
|
232
293
|
action = () => {},
|
|
233
|
-
|
|
234
|
-
loading = false,
|
|
235
|
-
dataTestId,
|
|
236
|
-
eventId,
|
|
237
|
-
icon = '',
|
|
294
|
+
value = '',
|
|
238
295
|
iconPosition = 'left',
|
|
239
|
-
|
|
240
|
-
|
|
296
|
+
icon = '',
|
|
297
|
+
loading = false,
|
|
298
|
+
dataTestId = '',
|
|
299
|
+
eventId = '',
|
|
300
|
+
ariaLabel,
|
|
301
|
+
ariaHidden = false,
|
|
302
|
+
disabled = false
|
|
241
303
|
} = props;
|
|
242
|
-
useMouseMoveEffect({
|
|
243
|
-
querySelector
|
|
244
|
-
});
|
|
245
304
|
return /*#__PURE__*/React__default.createElement(ButtonWrapper, {
|
|
246
305
|
variant: variant,
|
|
306
|
+
rounded: rounded,
|
|
247
307
|
color: color,
|
|
248
|
-
|
|
308
|
+
txtColor: txtColor,
|
|
309
|
+
type: type,
|
|
249
310
|
className: className,
|
|
250
|
-
|
|
251
|
-
"aria-label": ariaLabel,
|
|
311
|
+
style: style,
|
|
252
312
|
onClick: action,
|
|
253
|
-
|
|
313
|
+
value: value,
|
|
314
|
+
iconPosition: iconPosition,
|
|
254
315
|
"data-testid": dataTestId,
|
|
255
316
|
"data-event": eventId,
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
317
|
+
"aria-label": ariaLabel,
|
|
318
|
+
"aria-hidden": ariaHidden,
|
|
319
|
+
disabled: disabled || loading
|
|
259
320
|
}, loading ? /*#__PURE__*/React__default.createElement(Spinner, null) : icon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
260
321
|
icon: icon
|
|
261
322
|
}) : null, value && /*#__PURE__*/React__default.createElement("span", null, value));
|
|
262
323
|
};
|
|
263
324
|
|
|
264
325
|
const {
|
|
265
|
-
normal
|
|
266
|
-
light
|
|
267
|
-
lightGrey
|
|
326
|
+
normal,
|
|
327
|
+
light,
|
|
328
|
+
lightGrey
|
|
268
329
|
} = colors;
|
|
269
330
|
const ActionsMenuStyle = /*#__PURE__*/_styled__default.div.withConfig({
|
|
270
331
|
displayName: "styles__ActionsMenuStyle",
|
|
271
332
|
componentId: "sc-1j5ogfi-0"
|
|
272
|
-
})(["position:relative;ul{position:absolute;opacity:0;top:0;margin:0;border:", " solid ", ";border-radius:", ";background-color:", ";min-width:", ";max-width:", ";height:0;max-height:none;padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";overflow-y:hidden;z-index:1;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;transition-duration:0.25s;&.isOpen{opacity:1;height:calc(", " * ", " + 2px);max-height:", ";}li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}}"], /*#__PURE__*/polished.rem('1px'), lightGrey
|
|
333
|
+
})(["position:relative;ul{position:absolute;opacity:0;top:0;margin:0;border:", " solid ", ";border-radius:", ";background-color:", ";min-width:", ";max-width:", ";height:0;max-height:none;padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";overflow-y:hidden;z-index:1;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;transition-duration:0.25s;&.isOpen{opacity:1;height:calc(", " * ", " + 2px);max-height:", ";}li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}}"], /*#__PURE__*/polished.rem('1px'), lightGrey, /*#__PURE__*/polished.rem('4px'), light, /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal), /*#__PURE__*/polished.rem('45px'), props => props.visibleActions, /*#__PURE__*/polished.rem('1280px'), /*#__PURE__*/polished.rem('45px'), lightGrey, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('20px'), normal);
|
|
273
334
|
|
|
274
335
|
function useVisible(initialIsVisible) {
|
|
275
336
|
const [isVisible, setIsVisible] = React.useState(initialIsVisible);
|
|
@@ -298,15 +359,20 @@ function useVisible(initialIsVisible) {
|
|
|
298
359
|
|
|
299
360
|
const ButtonDropdown = props => {
|
|
300
361
|
const {
|
|
301
|
-
className = 'button-dropdown',
|
|
302
362
|
variant = 'solid',
|
|
303
|
-
|
|
363
|
+
rounded = false,
|
|
364
|
+
color = 'purple500',
|
|
365
|
+
txtColor = 'white',
|
|
366
|
+
className = 'button-dropdown',
|
|
367
|
+
style,
|
|
368
|
+
actions = [],
|
|
304
369
|
value = '',
|
|
305
|
-
icon = '
|
|
370
|
+
icon = 'add',
|
|
371
|
+
dataTestId = 'action-button-dropdown',
|
|
372
|
+
eventId = '',
|
|
306
373
|
ariaLabel = '',
|
|
307
|
-
|
|
374
|
+
ariaHidden = false,
|
|
308
375
|
data = null,
|
|
309
|
-
dataTestId = 'action-button-dropdown',
|
|
310
376
|
startsOpen = false,
|
|
311
377
|
disabled = false
|
|
312
378
|
} = props;
|
|
@@ -322,20 +388,25 @@ const ButtonDropdown = props => {
|
|
|
322
388
|
if (visibleActions.length === 0) return /*#__PURE__*/React__default.createElement(React__default.Fragment, null);
|
|
323
389
|
return /*#__PURE__*/React__default.createElement(ActionsMenuStyle, {
|
|
324
390
|
className: className,
|
|
391
|
+
style: style,
|
|
325
392
|
visibleActions: visibleActions.length,
|
|
326
393
|
ref: ref
|
|
327
394
|
}, /*#__PURE__*/React__default.createElement(Button, {
|
|
328
395
|
variant: variant,
|
|
396
|
+
rounded: rounded,
|
|
329
397
|
color: color,
|
|
330
|
-
|
|
331
|
-
icon: icon,
|
|
332
|
-
iconPosition: "right",
|
|
333
|
-
ariaLabel: ariaLabel,
|
|
398
|
+
txtColor: txtColor,
|
|
334
399
|
action: evt => {
|
|
335
400
|
evt.preventDefault();
|
|
336
401
|
setIsVisible(!isVisible);
|
|
337
402
|
},
|
|
338
|
-
|
|
403
|
+
value: value,
|
|
404
|
+
iconPosition: "right",
|
|
405
|
+
icon: icon,
|
|
406
|
+
"data-testid": dataTestId,
|
|
407
|
+
"data-event": eventId,
|
|
408
|
+
ariaLabel: ariaLabel,
|
|
409
|
+
"aria-hidden": ariaHidden,
|
|
339
410
|
disabled: disabled
|
|
340
411
|
}), /*#__PURE__*/React__default.createElement("ul", {
|
|
341
412
|
"data-testid": 'ul-action-menu',
|
|
@@ -357,111 +428,42 @@ const ButtonDropdown = props => {
|
|
|
357
428
|
}, /*#__PURE__*/React__default.createElement("span", null, value))))));
|
|
358
429
|
};
|
|
359
430
|
|
|
360
|
-
const {
|
|
361
|
-
normal: normal$2,
|
|
362
|
-
light: light$2,
|
|
363
|
-
grey: grey$2,
|
|
364
|
-
lightGrey: lightGrey$2,
|
|
365
|
-
darkGrey: darkGrey$1,
|
|
366
|
-
green: green$1,
|
|
367
|
-
darkGreen: darkGreen$1,
|
|
368
|
-
orange: orange$1,
|
|
369
|
-
darkOrange: darkOrange$1,
|
|
370
|
-
red: red$1,
|
|
371
|
-
darkRed: darkRed$1,
|
|
372
|
-
purple: purple$1,
|
|
373
|
-
darkPurple: darkPurple$1,
|
|
374
|
-
blue: blue$1,
|
|
375
|
-
darkBlue: darkBlue$1
|
|
376
|
-
} = colors;
|
|
377
|
-
const {
|
|
378
|
-
bold: bold$1,
|
|
379
|
-
medium: medium$1
|
|
380
|
-
} = fontWeight;
|
|
381
431
|
const ButtonLinkStyle = /*#__PURE__*/_styled__default.a.withConfig({
|
|
382
432
|
displayName: "styles__ButtonLinkStyle",
|
|
383
433
|
componentId: "clge7v-0"
|
|
384
|
-
})(["--
|
|
385
|
-
|
|
386
|
-
--hover: ${darkGreen$1};
|
|
387
|
-
`, props => props.color === 'orange' && _styled.css`
|
|
388
|
-
--button: ${orange$1};
|
|
389
|
-
--hover: ${darkOrange$1};
|
|
390
|
-
`, props => props.color === 'red' && _styled.css`
|
|
391
|
-
--button: ${red$1};
|
|
392
|
-
--hover: ${darkRed$1};
|
|
393
|
-
`, props => props.color === 'grey' && _styled.css`
|
|
394
|
-
--button: ${grey$2};
|
|
395
|
-
--hover: ${darkGrey$1};
|
|
396
|
-
`, props => props.color === 'purple' && _styled.css`
|
|
397
|
-
--button: ${purple$1};
|
|
398
|
-
--hover: ${darkPurple$1};
|
|
399
|
-
`, props => props.color === 'white' && _styled.css`
|
|
400
|
-
--button: ${light$2};
|
|
401
|
-
--txt: ${normal$2};
|
|
402
|
-
--hover: ${lightGrey$2};
|
|
403
|
-
`, props => props.color === 'dark' && _styled.css`
|
|
404
|
-
--button: ${normal$2};
|
|
405
|
-
--hover: ${darkGrey$1};
|
|
406
|
-
`, props => props.color === 'blue' && _styled.css`
|
|
407
|
-
--button: ${blue$1};
|
|
408
|
-
--hover: ${darkBlue$1};
|
|
409
|
-
`, props => props.color === 'pulse' && _styled.css`
|
|
410
|
-
--button: ${red$1};
|
|
411
|
-
--hover: ${darkRed$1};
|
|
412
|
-
animation: ${pulseKeyframes} 1s infinite;
|
|
413
|
-
`, props => props.color === 'magic' && _styled.css`
|
|
414
|
-
--button: ${light$2};
|
|
415
|
-
--hover: ${lightGrey$2};
|
|
416
|
-
`, props => props.variant === 'outline' ? '3px' : 0, props => props.variant === 'text' ? 0 : '999px', props => props.variant === 'solid' ? 'var(--button)' : 'transparent', props => props.value ? polished.rem('80px') : polished.rem('32px'), /*#__PURE__*/polished.rem('32px'), props => props.value ? `0 ${polished.rem('20px')}` : 0, device.l, props => props.value ? polished.rem('100px') : polished.rem('32px'), 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.iconPosition === 'right' ? '5px' : 0, props => props.iconPosition === 'left' ? '5px' : 0, medium$1, props => props.variant === 'solid' ? 'var(--txt)' : 'var(--button)', props => props.iconPosition === 'left' ? 2 : 1, props => props.iconPosition === 'left' ? 1 : 2, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), props => props.variant === 'solid' ? 'var(--txt)' : 'var(--button)', props => props.color === 'magic' && _styled.css`
|
|
417
|
-
position: relative;
|
|
418
|
-
background-image: linear-gradient(to bottom right, #ef5867, #5031a8);
|
|
419
|
-
height: ${polished.rem('60px')};
|
|
420
|
-
padding: 0 ${polished.rem('40px')};
|
|
421
|
-
overflow: hidden;
|
|
422
|
-
|
|
423
|
-
span {
|
|
424
|
-
font-size: 1rem;
|
|
425
|
-
font-weight: ${bold$1};
|
|
426
|
-
}
|
|
434
|
+
})(["--bg:", ";--txt:", ";--hover:", ";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:", ";text-transform:uppercase;white-space:nowrap;text-decoration:none;transition-duration:", ";cursor:pointer;&:hover{border-color:", ";background-color:", ";span{color:", ";}svg{fill:", ";}}> *:not(:last-child){margin-left:", ";margin-right:", ";}span{position:relative;font-size:", ";font-weight:", ";letter-spacing:", ";line-height:", ";color:", ";pointer-events:none;transition-duration:", ";order:", ";}svg{order:", ";width:", ";height:", ";fill:", ";transition:", ";}"], props => {
|
|
435
|
+
var _props$color;
|
|
427
436
|
|
|
428
|
-
|
|
429
|
-
|
|
437
|
+
return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
|
|
438
|
+
}, props => {
|
|
439
|
+
var _props$txtColor;
|
|
430
440
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
top: var(--y);
|
|
435
|
-
width: var(--size);
|
|
436
|
-
height: var(--size);
|
|
437
|
-
background: radial-gradient(circle closest-side, #5031a8, transparent);
|
|
438
|
-
-webkit-transform: translate(-50%, -50%);
|
|
439
|
-
transform: translate(-50%, -50%);
|
|
440
|
-
-webkit-transition: width 0.2s ease, height 0.2s ease;
|
|
441
|
-
transition: width 0.2s ease, height 0.2s ease;
|
|
442
|
-
}
|
|
441
|
+
return useColor((_props$txtColor = props.txtColor) != null ? _props$txtColor : 'black').color;
|
|
442
|
+
}, props => {
|
|
443
|
+
var _props$color2;
|
|
443
444
|
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
}
|
|
447
|
-
`);
|
|
445
|
+
return props.color === 'white' ? colors.grey100 : props.color === 'black' ? colors.grey900 : useColor((_props$color2 = props.color) != null ? _props$color2 : 'black').hover;
|
|
446
|
+
}, 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.iconPosition === 'right' ? button.iconSpacing : 0, props => props.iconPosition === 'left' ? button.iconSpacing : 0, /*#__PURE__*/polished.rem(typography.defaultSize), typography.medium, typography.letterSpacing, /*#__PURE__*/polished.rem(typography.defaultSize), props => props.variant === 'solid' ? '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' ? 'var(--txt)' : 'var(--bg)', misc.transitionDuration);
|
|
448
447
|
|
|
449
448
|
const ButtonLink = props => {
|
|
450
449
|
const {
|
|
451
450
|
variant = 'solid',
|
|
452
|
-
|
|
453
|
-
|
|
451
|
+
rounded = false,
|
|
452
|
+
color = 'purple500',
|
|
453
|
+
txtColor = 'white',
|
|
454
454
|
className = 'button-link',
|
|
455
|
+
style,
|
|
456
|
+
action = () => {},
|
|
455
457
|
url,
|
|
456
458
|
blank = false,
|
|
457
|
-
|
|
458
|
-
iconPosition = 'left',
|
|
459
|
+
rel = undefined,
|
|
459
460
|
value = '',
|
|
460
|
-
|
|
461
|
+
iconPosition = 'right',
|
|
462
|
+
icon = '',
|
|
461
463
|
dataTestId = '',
|
|
462
464
|
eventId = '',
|
|
463
|
-
|
|
464
|
-
|
|
465
|
+
ariaLabel = '',
|
|
466
|
+
ariaHidden = false
|
|
465
467
|
} = props;
|
|
466
468
|
|
|
467
469
|
const getRelationshipAttributes = () => {
|
|
@@ -469,41 +471,42 @@ const ButtonLink = props => {
|
|
|
469
471
|
return blank ? 'noopener noreferrer' : '';
|
|
470
472
|
};
|
|
471
473
|
|
|
472
|
-
useMouseMoveEffect({
|
|
473
|
-
querySelector
|
|
474
|
-
});
|
|
475
474
|
return /*#__PURE__*/React__default.createElement(ButtonLinkStyle, {
|
|
476
475
|
variant: variant,
|
|
476
|
+
rounded: rounded,
|
|
477
477
|
color: color,
|
|
478
|
+
txtColor: txtColor,
|
|
478
479
|
className: `button ${className}`,
|
|
480
|
+
style: style,
|
|
481
|
+
onClick: action,
|
|
479
482
|
href: url,
|
|
480
483
|
target: blank ? '_blank' : '',
|
|
484
|
+
rel: getRelationshipAttributes(),
|
|
481
485
|
value: value,
|
|
482
|
-
|
|
486
|
+
iconPosition: iconPosition,
|
|
483
487
|
"data-testid": dataTestId,
|
|
484
488
|
"data-event": eventId,
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
rel: getRelationshipAttributes()
|
|
489
|
+
"aria-label": ariaLabel,
|
|
490
|
+
"aria-hidden": ariaHidden
|
|
488
491
|
}, icon && /*#__PURE__*/React__default.createElement(Icon, {
|
|
489
492
|
icon: icon
|
|
490
493
|
}), value && /*#__PURE__*/React__default.createElement("span", null, value));
|
|
491
494
|
};
|
|
492
495
|
|
|
493
496
|
const {
|
|
494
|
-
normal: normal$
|
|
495
|
-
light: light$
|
|
496
|
-
green
|
|
497
|
-
darkGreen
|
|
498
|
-
red
|
|
499
|
-
darkRed
|
|
500
|
-
grey: grey$
|
|
501
|
-
lightGrey: lightGrey$
|
|
497
|
+
normal: normal$1,
|
|
498
|
+
light: light$1,
|
|
499
|
+
green,
|
|
500
|
+
darkGreen,
|
|
501
|
+
red,
|
|
502
|
+
darkRed,
|
|
503
|
+
grey: grey$1,
|
|
504
|
+
lightGrey: lightGrey$1
|
|
502
505
|
} = colors;
|
|
503
506
|
const CheckboxWrapper = /*#__PURE__*/_styled__default.label.withConfig({
|
|
504
507
|
displayName: "styles__CheckboxWrapper",
|
|
505
508
|
componentId: "w5t014-0"
|
|
506
|
-
})(["display:flex;position:relative;padding-left:0;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;&:hover input:not(:disabled) ~ span{border-color:", ";}span{color:", ";border-color:", ";}"], props => props.disabled ? 'auto' : 'pointer', props => props.error ? darkRed
|
|
509
|
+
})(["display:flex;position:relative;padding-left:0;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;&:hover input:not(:disabled) ~ span{border-color:", ";}span{color:", ";border-color:", ";}"], props => props.disabled ? 'auto' : 'pointer', props => props.error ? darkRed : normal$1, props => props.disabled ? grey$1 : props.error ? red : null, props => props.error ? red : null);
|
|
507
510
|
const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
|
|
508
511
|
displayName: "styles__CheckboxLabel",
|
|
509
512
|
componentId: "w5t014-1"
|
|
@@ -511,11 +514,11 @@ const CheckboxLabel = /*#__PURE__*/_styled__default.span.withConfig({
|
|
|
511
514
|
const CheckboxInput = /*#__PURE__*/_styled__default.input.withConfig({
|
|
512
515
|
displayName: "styles__CheckboxInput",
|
|
513
516
|
componentId: "w5t014-2"
|
|
514
|
-
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){border-color:", ";&:checked ~ span{border-color:", ";}}"], props => props.error ? red
|
|
517
|
+
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){border-color:", ";&:checked ~ span{border-color:", ";}}"], props => props.error ? red : green, props => props.error ? darkRed : darkGreen, lightGrey$1, grey$1, lightGrey$1, light$1, props => props.error ? darkRed : darkGreen, props => props.error ? darkRed : darkGreen);
|
|
515
518
|
const Checkmark = /*#__PURE__*/_styled__default.span.withConfig({
|
|
516
519
|
displayName: "styles__Checkmark",
|
|
517
520
|
componentId: "w5t014-3"
|
|
518
|
-
})(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:0.3s;&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('2px'), props => props.error ? red
|
|
521
|
+
})(["position:absolute;top:0;left:0;border:", " solid ", ";border-radius:100%;width:", ";height:", ";transition-duration:0.3s;&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('2px'), props => props.error ? red : grey$1, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), light$1, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'));
|
|
519
522
|
|
|
520
523
|
const Checkbox = props => {
|
|
521
524
|
const {
|
|
@@ -549,16 +552,16 @@ const Checkbox = props => {
|
|
|
549
552
|
};
|
|
550
553
|
|
|
551
554
|
const {
|
|
552
|
-
light: light$
|
|
553
|
-
green: green$
|
|
554
|
-
darkGreen: darkGreen$
|
|
555
|
-
grey: grey$
|
|
556
|
-
lightGrey: lightGrey$
|
|
555
|
+
light: light$2,
|
|
556
|
+
green: green$1,
|
|
557
|
+
darkGreen: darkGreen$1,
|
|
558
|
+
grey: grey$2,
|
|
559
|
+
lightGrey: lightGrey$2
|
|
557
560
|
} = colors;
|
|
558
561
|
const CheckboxWrapper$1 = /*#__PURE__*/_styled__default.label.withConfig({
|
|
559
562
|
displayName: "styles__CheckboxWrapper",
|
|
560
563
|
componentId: "itly0z-0"
|
|
561
|
-
})(["border:", " solid ", ";border-radius:", ";background-color:", ";height:", ";display:flex;align-items:center;position:relative;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition-duration:0.3s;&:hover input:not(:disabled) ~ span{border-color:", ";}&:hover{background-color:", ";}span{color:", ";transition-duration:0.3s;}"], /*#__PURE__*/polished.rem('3px'), props => props.disabled ? grey$
|
|
564
|
+
})(["border:", " solid ", ";border-radius:", ";background-color:", ";height:", ";display:flex;align-items:center;position:relative;cursor:", ";-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;transition-duration:0.3s;&:hover input:not(:disabled) ~ span{border-color:", ";}&:hover{background-color:", ";}span{color:", ";transition-duration:0.3s;}"], /*#__PURE__*/polished.rem('3px'), props => props.disabled ? grey$2 : props.checked ? darkGreen$1 : grey$2, /*#__PURE__*/polished.rem('6px'), props => props.disabled ? lightGrey$2 : props.checked ? green$1 : light$2, /*#__PURE__*/polished.rem('50px'), props => props.disabled ? 'auto' : 'pointer', grey$2, props => props.disabled ? lightGrey$2 : props.checked ? green$1 : lightGrey$2, props => props.disabled ? grey$2 : props.checked ? light$2 : null);
|
|
562
565
|
const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
|
|
563
566
|
displayName: "styles__CheckboxLabel",
|
|
564
567
|
componentId: "itly0z-1"
|
|
@@ -566,11 +569,11 @@ const CheckboxLabel$1 = /*#__PURE__*/_styled__default.span.withConfig({
|
|
|
566
569
|
const CheckboxInput$1 = /*#__PURE__*/_styled__default.input.withConfig({
|
|
567
570
|
displayName: "styles__CheckboxInput",
|
|
568
571
|
componentId: "itly0z-2"
|
|
569
|
-
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){&:checked ~ span{border-color:", ";}}"], light$
|
|
572
|
+
})(["position:absolute;left:0;opacity:0;cursor:pointer;&:checked:not(:disabled) ~ span{background-color:", ";border-color:", ";&:after{display:block;}}&:checked:disabled ~ span{border-color:transparent;background-color:", ";color:", ";&:after{display:block;}}&:not(:checked):disabled ~ span{border-color:", ";background-color:", ";}&:hover:not(:disabled){&:checked ~ span{border-color:", ";}}"], light$2, light$2, grey$2, grey$2, grey$2, lightGrey$2, light$2);
|
|
570
573
|
const Checkmark$1 = /*#__PURE__*/_styled__default.span.withConfig({
|
|
571
574
|
displayName: "styles__Checkmark",
|
|
572
575
|
componentId: "itly0z-3"
|
|
573
|
-
})(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:0.3s;&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('2px'), grey$
|
|
576
|
+
})(["position:absolute;left:", ";border:", " solid ", ";border-radius:999px;background-color:", ";width:", ";height:", ";transition-duration:0.3s;&:after{content:'';position:absolute;display:none;top:", ";left:", ";width:", ";height:", ";border:solid ", ";border-width:0 ", " ", " 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('2px'), grey$2, light$2, /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('9px'), props => props.disabled ? light$2 : green$1, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'));
|
|
574
577
|
|
|
575
578
|
const CheckboxButton = props => {
|
|
576
579
|
const {
|
|
@@ -776,19 +779,20 @@ const icons = {
|
|
|
776
779
|
"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',
|
|
777
780
|
"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',
|
|
778
781
|
"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',
|
|
779
|
-
"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'
|
|
782
|
+
"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',
|
|
783
|
+
"arrow-external": "M6 6v5.663h9.542L6.666 21.796v4.183h4.628l9.222-10.917V26H26V6H6z"
|
|
780
784
|
};
|
|
781
785
|
|
|
782
786
|
const {
|
|
783
|
-
grey: grey$
|
|
784
|
-
lightGrey: lightGrey$
|
|
785
|
-
red: red$
|
|
786
|
-
|
|
787
|
+
grey: grey$3,
|
|
788
|
+
lightGrey: lightGrey$3,
|
|
789
|
+
red: red$1,
|
|
790
|
+
purple500
|
|
787
791
|
} = colors;
|
|
788
792
|
const TextFieldInputStyle = /*#__PURE__*/_styled__default.input.withConfig({
|
|
789
793
|
displayName: "styles__TextFieldInputStyle",
|
|
790
794
|
componentId: "sc-1hxcxbo-0"
|
|
791
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";height:", ";padding:", ";font-family:inherit;font-size:1rem;transition-duration:0.3s;&:focus{border-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";}&:invalid{border-color:", ";outline:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;}&:required{border-color:", ";}&::placeholder{color:", ";opacity:1;}&:-ms-input-placeholder{color:", ";opacity:1;}&::-ms-input-placeholder{color:", ";opacity:1;}", ""], props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px'), props => props.error ? red$
|
|
795
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", ";height:", ";padding:", ";font-family:inherit;font-size:1rem;transition-duration:0.3s;&:focus{border-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";}&:invalid{border-color:", ";outline:none;box-shadow:none;-webkit-box-shadow:none;-moz-box-shadow:none;}&:required{border-color:", ";}&::placeholder{color:", ";opacity:1;}&:-ms-input-placeholder{color:", ";opacity:1;}&::-ms-input-placeholder{color:", ";opacity:1;}", ""], props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px'), props => props.error ? red$1 : grey$3, props => props.minimal ? 0 : '6px', props => props.minimal ? polished.rem('40px') : polished.rem('50px'), props => props.minimal ? 0 : polished.rem('10px'), purple500, lightGrey$3, grey$3, red$1, props => props.error ? red$1 : grey$3, grey$3, grey$3, grey$3, props => props.icon && _styled.css`
|
|
792
796
|
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 32 32"><path style="fill:hsl(0, 0%, 58%)" d=${JSON.stringify(icons[props.icon])} /></svg>');
|
|
793
797
|
padding-left: ${props.minimal ? '40px' : '50px'};
|
|
794
798
|
background-repeat: no-repeat;
|
|
@@ -802,11 +806,11 @@ const TextFieldInputStyle = /*#__PURE__*/_styled__default.input.withConfig({
|
|
|
802
806
|
`);
|
|
803
807
|
|
|
804
808
|
const {
|
|
805
|
-
light: light$
|
|
806
|
-
grey: grey$
|
|
807
|
-
lightGrey: lightGrey$
|
|
808
|
-
red: red$
|
|
809
|
-
|
|
809
|
+
light: light$3,
|
|
810
|
+
grey: grey$4,
|
|
811
|
+
lightGrey: lightGrey$4,
|
|
812
|
+
red: red$2,
|
|
813
|
+
purple500: purple500$1
|
|
810
814
|
} = colors;
|
|
811
815
|
const Wrapper$1 = _styled__default.div`
|
|
812
816
|
position: relative;
|
|
@@ -814,7 +818,7 @@ const Wrapper$1 = _styled__default.div`
|
|
|
814
818
|
const TextAreaStyle = _styled__default.textarea`
|
|
815
819
|
border-width: ${props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px')};
|
|
816
820
|
border-style: solid;
|
|
817
|
-
border-color: ${props => props.error ? red$
|
|
821
|
+
border-color: ${props => props.error ? red$2 : grey$4};
|
|
818
822
|
border-radius: ${props => props.minimal ? 0 : '6px'};
|
|
819
823
|
width: 100%;
|
|
820
824
|
height: ${props => props.height || polished.rem('100px')};
|
|
@@ -827,17 +831,17 @@ const TextAreaStyle = _styled__default.textarea`
|
|
|
827
831
|
resize: none;
|
|
828
832
|
|
|
829
833
|
&:focus {
|
|
830
|
-
border-color: ${
|
|
834
|
+
border-color: ${purple500$1};
|
|
831
835
|
outline: none;
|
|
832
836
|
}
|
|
833
837
|
|
|
834
838
|
&:disabled {
|
|
835
|
-
background-color: ${lightGrey$
|
|
836
|
-
color: ${grey$
|
|
839
|
+
background-color: ${lightGrey$4};
|
|
840
|
+
color: ${grey$4};
|
|
837
841
|
}
|
|
838
842
|
|
|
839
843
|
&:invalid {
|
|
840
|
-
border-color: ${red$
|
|
844
|
+
border-color: ${red$2};
|
|
841
845
|
outline: none;
|
|
842
846
|
box-shadow: none;
|
|
843
847
|
-webkit-box-shadow: none;
|
|
@@ -845,21 +849,21 @@ const TextAreaStyle = _styled__default.textarea`
|
|
|
845
849
|
}
|
|
846
850
|
|
|
847
851
|
&:required {
|
|
848
|
-
border-color: ${props => props.error ? red$
|
|
852
|
+
border-color: ${props => props.error ? red$2 : grey$4};
|
|
849
853
|
}
|
|
850
854
|
|
|
851
855
|
&::placeholder {
|
|
852
|
-
color: ${grey$
|
|
856
|
+
color: ${grey$4};
|
|
853
857
|
opacity: 1;
|
|
854
858
|
}
|
|
855
859
|
|
|
856
860
|
&:-ms-input-placeholder {
|
|
857
|
-
color: ${grey$
|
|
861
|
+
color: ${grey$4};
|
|
858
862
|
opacity: 1;
|
|
859
863
|
}
|
|
860
864
|
|
|
861
865
|
&::-ms-input-placeholder {
|
|
862
|
-
color: ${grey$
|
|
866
|
+
color: ${grey$4};
|
|
863
867
|
opacity: 1;
|
|
864
868
|
}
|
|
865
869
|
`;
|
|
@@ -867,28 +871,28 @@ const Count = _styled__default.div`
|
|
|
867
871
|
position: absolute;
|
|
868
872
|
top: ${props => props.minimal ? 0 : polished.rem('5px')};
|
|
869
873
|
right: ${props => props.minimal ? 0 : polished.rem('10px')};
|
|
870
|
-
background-color: ${/*#__PURE__*/polished.transparentize(0.15, light$
|
|
874
|
+
background-color: ${/*#__PURE__*/polished.transparentize(0.15, light$3)};
|
|
871
875
|
padding: 0 ${/*#__PURE__*/polished.rem('5px')};
|
|
872
876
|
|
|
873
877
|
span {
|
|
874
878
|
font-size: 0.75rem;
|
|
875
|
-
color: ${grey$
|
|
879
|
+
color: ${grey$4};
|
|
876
880
|
|
|
877
881
|
&.negative {
|
|
878
|
-
color: ${red$
|
|
882
|
+
color: ${red$2};
|
|
879
883
|
}
|
|
880
884
|
}
|
|
881
885
|
`;
|
|
882
886
|
|
|
883
887
|
const {
|
|
884
|
-
normal: normal$
|
|
885
|
-
grey: grey$
|
|
886
|
-
lightGrey: lightGrey$
|
|
887
|
-
red: red$
|
|
888
|
-
|
|
888
|
+
normal: normal$2,
|
|
889
|
+
grey: grey$5,
|
|
890
|
+
lightGrey: lightGrey$5,
|
|
891
|
+
red: red$3,
|
|
892
|
+
purple500: purple500$2
|
|
889
893
|
} = colors;
|
|
890
894
|
const SelectStyle = _styled__default.select`
|
|
891
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${props => props.error ? red$
|
|
895
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${props => props.error ? red$3 : grey$5};
|
|
892
896
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
893
897
|
background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><path fill='hsl(0, 0%, 85%)' d='M10.827 12.387l5.173 5.173 5.173-5.173c0.52-0.52 1.36-0.52 1.88 0v0c0.52 0.52 0.52 1.36 0 1.88l-6.12 6.12c-0.52 0.52-1.36 0.52-1.88 0l-6.12-6.12c-0.52-0.52-0.52-1.36 0-1.88v0c0.52-0.507 1.373-0.52 1.893 0z'></path></svg>");
|
|
894
898
|
background-position: calc(100% - 15px) center;
|
|
@@ -903,24 +907,24 @@ const SelectStyle = _styled__default.select`
|
|
|
903
907
|
transition-duration: 0.3s;
|
|
904
908
|
|
|
905
909
|
&:hover {
|
|
906
|
-
border-color: ${
|
|
910
|
+
border-color: ${purple500$2};
|
|
907
911
|
}
|
|
908
912
|
|
|
909
913
|
&:-moz-focusring {
|
|
910
914
|
color: transparent;
|
|
911
|
-
text-shadow: 0 0 0 ${normal$
|
|
915
|
+
text-shadow: 0 0 0 ${normal$2};
|
|
912
916
|
}
|
|
913
917
|
|
|
914
918
|
&:disabled {
|
|
915
|
-
background-color: ${lightGrey$
|
|
916
|
-
color: ${grey$
|
|
919
|
+
background-color: ${lightGrey$5};
|
|
920
|
+
color: ${grey$5};
|
|
917
921
|
pointer-events: none;
|
|
918
922
|
}
|
|
919
923
|
|
|
920
924
|
${props => props.minimal && _styled.css`
|
|
921
925
|
border: 0;
|
|
922
926
|
border-bottom: ${polished.rem('1px')} solid
|
|
923
|
-
${props => props.error ? red$
|
|
927
|
+
${props => props.error ? red$3 : grey$5};
|
|
924
928
|
border-radius: 0;
|
|
925
929
|
background-position: 100% center;
|
|
926
930
|
height: ${polished.rem('40px')};
|
|
@@ -928,19 +932,19 @@ const SelectStyle = _styled__default.select`
|
|
|
928
932
|
|
|
929
933
|
&:disabled {
|
|
930
934
|
background-color: transparent;
|
|
931
|
-
color: ${grey$
|
|
935
|
+
color: ${grey$5};
|
|
932
936
|
}
|
|
933
937
|
`}
|
|
934
938
|
`;
|
|
935
939
|
|
|
936
940
|
const {
|
|
937
|
-
green: green$
|
|
938
|
-
red: red$
|
|
941
|
+
green: green$2,
|
|
942
|
+
red: red$4
|
|
939
943
|
} = colors;
|
|
940
944
|
const ErrorStyle = /*#__PURE__*/_styled__default.span.withConfig({
|
|
941
945
|
displayName: "styles__ErrorStyle",
|
|
942
946
|
componentId: "sc-4e4ecc-0"
|
|
943
|
-
})(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? green$
|
|
947
|
+
})(["display:block;font-size:0.7rem;color:", ";", " + &,", " + &,", " + &{margin-top:", ";}"], props => props.color === 'success' ? green$2 : red$4, TextFieldInputStyle, TextAreaStyle, SelectStyle, /*#__PURE__*/polished.rem('5px'));
|
|
944
948
|
|
|
945
949
|
const ErrorField = props => {
|
|
946
950
|
const {
|
|
@@ -976,18 +980,18 @@ const Icon = props => {
|
|
|
976
980
|
};
|
|
977
981
|
|
|
978
982
|
const {
|
|
979
|
-
grey: grey$
|
|
983
|
+
grey: grey$6
|
|
980
984
|
} = colors;
|
|
981
985
|
const {
|
|
982
|
-
bold
|
|
983
|
-
} =
|
|
986
|
+
bold
|
|
987
|
+
} = typography;
|
|
984
988
|
const LabelStyle = /*#__PURE__*/_styled__default.label.withConfig({
|
|
985
989
|
displayName: "styles__LabelStyle",
|
|
986
990
|
componentId: "pbv9we-0"
|
|
987
|
-
})(["display:flex;align-items:center;font-size:0.75rem;font-weight:", ";color:", ";text-transform:uppercase;svg{width:auto;height:", ";}"], bold
|
|
991
|
+
})(["display:flex;align-items:center;font-size:0.75rem;font-weight:", ";color:", ";text-transform:uppercase;svg{width:auto;height:", ";}"], bold, grey$6, /*#__PURE__*/polished.rem('15px'));
|
|
988
992
|
|
|
989
993
|
const {
|
|
990
|
-
grey: grey$
|
|
994
|
+
grey: grey$7
|
|
991
995
|
} = colors;
|
|
992
996
|
|
|
993
997
|
const Label = props => {
|
|
@@ -1002,12 +1006,12 @@ const Label = props => {
|
|
|
1002
1006
|
style: style
|
|
1003
1007
|
}, value, kai ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
1004
1008
|
icon: "kai",
|
|
1005
|
-
fill: grey$
|
|
1009
|
+
fill: grey$7
|
|
1006
1010
|
}) : null);
|
|
1007
1011
|
};
|
|
1008
1012
|
|
|
1009
1013
|
const {
|
|
1010
|
-
light: light$
|
|
1014
|
+
light: light$4
|
|
1011
1015
|
} = colors;
|
|
1012
1016
|
const rotation = _styled.keyframes`
|
|
1013
1017
|
from {
|
|
@@ -1020,15 +1024,15 @@ const rotation = _styled.keyframes`
|
|
|
1020
1024
|
const Loading = /*#__PURE__*/_styled__default.div.withConfig({
|
|
1021
1025
|
displayName: "styles__Loading",
|
|
1022
1026
|
componentId: "sxnx45-0"
|
|
1023
|
-
})(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill || light$
|
|
1027
|
+
})(["border:", " solid hsla(0,0%,48%,0.5);border-top-color:", ";border-radius:50%;width:", ";height:", ";animation:", " 0.8s ease infinite;"], /*#__PURE__*/polished.rem('5px'), props => props.fill || light$4, props => props.size || polished.rem('20px'), props => props.size || polished.rem('20px'), rotation);
|
|
1024
1028
|
|
|
1025
1029
|
const {
|
|
1026
|
-
grey: grey$
|
|
1030
|
+
grey: grey$8
|
|
1027
1031
|
} = colors;
|
|
1028
1032
|
|
|
1029
1033
|
const Spinner = props => {
|
|
1030
1034
|
const {
|
|
1031
|
-
fill = grey$
|
|
1035
|
+
fill = grey$8,
|
|
1032
1036
|
size = '20px',
|
|
1033
1037
|
className = 'spinner',
|
|
1034
1038
|
style
|
|
@@ -1041,48 +1045,24 @@ const Spinner = props => {
|
|
|
1041
1045
|
});
|
|
1042
1046
|
};
|
|
1043
1047
|
|
|
1044
|
-
const {
|
|
1045
|
-
normal: normal$5,
|
|
1046
|
-
light: light$7,
|
|
1047
|
-
grey: grey$b,
|
|
1048
|
-
green: green$5,
|
|
1049
|
-
orange: orange$2,
|
|
1050
|
-
red: red$7
|
|
1051
|
-
} = colors;
|
|
1052
|
-
const {
|
|
1053
|
-
bold: bold$3
|
|
1054
|
-
} = fontWeight;
|
|
1055
1048
|
const TagWrapper = /*#__PURE__*/_styled__default.span.withConfig({
|
|
1056
1049
|
displayName: "styles__TagWrapper",
|
|
1057
1050
|
componentId: "sc-1ghratr-0"
|
|
1058
|
-
})(["display:inline-block;border:", " solid
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
border-color: ${red$7};
|
|
1068
|
-
background-color: ${red$7};
|
|
1069
|
-
color: ${props.variant === 'solid' ? light$7 : red$7};
|
|
1070
|
-
`, props => props.color === 'grey' && _styled.css`
|
|
1071
|
-
border-color: ${grey$b};
|
|
1072
|
-
background-color: ${grey$b};
|
|
1073
|
-
color: ${props.variant === 'solid' ? light$7 : grey$b};
|
|
1074
|
-
`, props => props.color === 'light' && _styled.css`
|
|
1075
|
-
border-color: ${light$7};
|
|
1076
|
-
background-color: ${light$7};
|
|
1077
|
-
color: ${props.variant === 'solid' ? normal$5 : light$7};
|
|
1078
|
-
`, props => props.variant === 'outline' && _styled.css`
|
|
1079
|
-
background-color: transparent;
|
|
1080
|
-
`);
|
|
1051
|
+
})(["--bg:", ";--txt:", ";display:inline-block;border:", " solid var(--bg);border-radius:", ";background-color:", ";max-width:", ";padding:", " ", ";font-size:", ";font-weight:", ";letter-spacing:", ";line-height:1;color:var(--txt);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;"], props => {
|
|
1052
|
+
var _props$color;
|
|
1053
|
+
|
|
1054
|
+
return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
|
|
1055
|
+
}, props => {
|
|
1056
|
+
var _props$txtColor;
|
|
1057
|
+
|
|
1058
|
+
return useColor((_props$txtColor = props.txtColor) != null ? _props$txtColor : 'black').color;
|
|
1059
|
+
}, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('4px'), props => props.variant === 'solid' ? 'var(--bg)' : 'transparent', /*#__PURE__*/polished.rem('150px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('8px'), /*#__PURE__*/polished.rem('12px'), typography.medium, /*#__PURE__*/polished.rem('1px'));
|
|
1081
1060
|
|
|
1082
1061
|
const Tag = props => {
|
|
1083
1062
|
const {
|
|
1084
1063
|
variant = 'solid',
|
|
1085
|
-
color = '
|
|
1064
|
+
color = 'purple500',
|
|
1065
|
+
txtColor = 'white',
|
|
1086
1066
|
value,
|
|
1087
1067
|
className = 'tag',
|
|
1088
1068
|
style
|
|
@@ -1091,34 +1071,39 @@ const Tag = props => {
|
|
|
1091
1071
|
className: className,
|
|
1092
1072
|
variant: variant,
|
|
1093
1073
|
color: color,
|
|
1074
|
+
txtColor: txtColor,
|
|
1094
1075
|
style: style,
|
|
1095
1076
|
title: value
|
|
1096
1077
|
}, value);
|
|
1097
1078
|
};
|
|
1098
1079
|
|
|
1099
|
-
const {
|
|
1100
|
-
grey: grey$c,
|
|
1101
|
-
light: light$8
|
|
1102
|
-
} = colors;
|
|
1103
|
-
const {
|
|
1104
|
-
bold: bold$4
|
|
1105
|
-
} = fontWeight;
|
|
1106
1080
|
const TagWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
1107
1081
|
displayName: "styles__TagWrapper",
|
|
1108
1082
|
componentId: "db57da-0"
|
|
1109
|
-
})(["display:flex;border:", " solid
|
|
1083
|
+
})(["--bg:", ";--valueColor:", ";display:flex;border:", " solid var(--bg);border-radius:", ";line-height:1;max-width:100%;width:max-content;overflow:hidden;span{display:inline-block;padding:", " ", ";font-size:", ";font-weight:", ";letter-spacing:", ";&.label{flex:1;color:var(--bg);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;}&.value{background-color:var(--bg);color:var(--valueColor);}}&:not(:first-child){margin-left:", ";}"], props => {
|
|
1084
|
+
var _props$color;
|
|
1085
|
+
|
|
1086
|
+
return useColor((_props$color = props.color) != null ? _props$color : 'black').color;
|
|
1087
|
+
}, props => {
|
|
1088
|
+
var _props$valueColor;
|
|
1089
|
+
|
|
1090
|
+
return useColor((_props$valueColor = props.valueColor) != null ? _props$valueColor : 'black').color;
|
|
1091
|
+
}, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('8px'), /*#__PURE__*/polished.rem('12px'), typography.medium, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('5px'));
|
|
1110
1092
|
|
|
1111
1093
|
const TagNumber = props => {
|
|
1112
1094
|
const {
|
|
1113
|
-
label,
|
|
1114
|
-
value,
|
|
1115
1095
|
className = 'tag-number',
|
|
1116
|
-
style
|
|
1096
|
+
style,
|
|
1097
|
+
color = 'purple500',
|
|
1098
|
+
valueColor = 'white',
|
|
1099
|
+
label,
|
|
1100
|
+
value
|
|
1117
1101
|
} = props;
|
|
1118
1102
|
return /*#__PURE__*/React__default.createElement(TagWrapper$1, {
|
|
1119
1103
|
className: className,
|
|
1120
1104
|
style: style,
|
|
1121
|
-
|
|
1105
|
+
color: color,
|
|
1106
|
+
valueColor: valueColor
|
|
1122
1107
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
1123
1108
|
className: "label"
|
|
1124
1109
|
}, label), /*#__PURE__*/React__default.createElement("span", {
|
|
@@ -1252,11 +1237,11 @@ const Select = props => {
|
|
|
1252
1237
|
};
|
|
1253
1238
|
|
|
1254
1239
|
const {
|
|
1255
|
-
normal: normal$
|
|
1256
|
-
light: light$
|
|
1257
|
-
grey: grey$
|
|
1258
|
-
lightGrey: lightGrey$
|
|
1259
|
-
|
|
1240
|
+
normal: normal$3,
|
|
1241
|
+
light: light$5,
|
|
1242
|
+
grey: grey$9,
|
|
1243
|
+
lightGrey: lightGrey$6,
|
|
1244
|
+
purple500: purple500$3,
|
|
1260
1245
|
lightPurple
|
|
1261
1246
|
} = colors;
|
|
1262
1247
|
const SelectWrapper = _styled__default.div`
|
|
@@ -1266,16 +1251,16 @@ const SelectWrapper = _styled__default.div`
|
|
|
1266
1251
|
}
|
|
1267
1252
|
|
|
1268
1253
|
&__control {
|
|
1269
|
-
border-color: ${grey$
|
|
1254
|
+
border-color: ${grey$9};
|
|
1270
1255
|
min-height: ${/*#__PURE__*/polished.rem('50px')};
|
|
1271
1256
|
transition-duration: 0.3s;
|
|
1272
1257
|
|
|
1273
1258
|
&:hover {
|
|
1274
|
-
border-color: ${
|
|
1259
|
+
border-color: ${purple500$3};
|
|
1275
1260
|
}
|
|
1276
1261
|
|
|
1277
1262
|
&--is-focused {
|
|
1278
|
-
border-color: ${
|
|
1263
|
+
border-color: ${purple500$3};
|
|
1279
1264
|
box-shadow: none;
|
|
1280
1265
|
}
|
|
1281
1266
|
}
|
|
@@ -1286,15 +1271,15 @@ const SelectWrapper = _styled__default.div`
|
|
|
1286
1271
|
}
|
|
1287
1272
|
|
|
1288
1273
|
&__placeholder {
|
|
1289
|
-
color: ${grey$
|
|
1274
|
+
color: ${grey$9};
|
|
1290
1275
|
}
|
|
1291
1276
|
|
|
1292
1277
|
&__input {
|
|
1293
|
-
color: ${normal$
|
|
1278
|
+
color: ${normal$3};
|
|
1294
1279
|
}
|
|
1295
1280
|
|
|
1296
1281
|
&__single-value {
|
|
1297
|
-
color: ${normal$
|
|
1282
|
+
color: ${normal$3};
|
|
1298
1283
|
}
|
|
1299
1284
|
|
|
1300
1285
|
&__indicator {
|
|
@@ -1314,7 +1299,7 @@ const SelectWrapper = _styled__default.div`
|
|
|
1314
1299
|
}
|
|
1315
1300
|
|
|
1316
1301
|
&-separator {
|
|
1317
|
-
background-color: ${grey$
|
|
1302
|
+
background-color: ${grey$9};
|
|
1318
1303
|
}
|
|
1319
1304
|
}
|
|
1320
1305
|
|
|
@@ -1322,18 +1307,18 @@ const SelectWrapper = _styled__default.div`
|
|
|
1322
1307
|
transition-duration: 0.3s;
|
|
1323
1308
|
|
|
1324
1309
|
&:hover {
|
|
1325
|
-
background-color: ${
|
|
1326
|
-
color: ${light$
|
|
1310
|
+
background-color: ${purple500$3};
|
|
1311
|
+
color: ${light$5};
|
|
1327
1312
|
}
|
|
1328
1313
|
|
|
1329
1314
|
&--is-focused {
|
|
1330
|
-
background-color: ${
|
|
1331
|
-
color: ${light$
|
|
1315
|
+
background-color: ${purple500$3};
|
|
1316
|
+
color: ${light$5};
|
|
1332
1317
|
}
|
|
1333
1318
|
|
|
1334
1319
|
&--is-selected {
|
|
1335
1320
|
background-color: ${lightPurple};
|
|
1336
|
-
color: ${normal$
|
|
1321
|
+
color: ${normal$3};
|
|
1337
1322
|
}
|
|
1338
1323
|
}
|
|
1339
1324
|
}
|
|
@@ -1361,14 +1346,14 @@ const SelectWrapper = _styled__default.div`
|
|
|
1361
1346
|
|
|
1362
1347
|
.select__option--is-selected {
|
|
1363
1348
|
svg {
|
|
1364
|
-
fill: ${normal$
|
|
1349
|
+
fill: ${normal$3};
|
|
1365
1350
|
transition-duration: 0.3s;
|
|
1366
1351
|
}
|
|
1367
1352
|
}
|
|
1368
1353
|
|
|
1369
1354
|
.select__option--is-focused {
|
|
1370
1355
|
svg {
|
|
1371
|
-
fill: ${light$
|
|
1356
|
+
fill: ${light$5};
|
|
1372
1357
|
transition-duration: 0.3s;
|
|
1373
1358
|
}
|
|
1374
1359
|
}
|
|
@@ -1379,12 +1364,12 @@ const SelectWrapper = _styled__default.div`
|
|
|
1379
1364
|
`;
|
|
1380
1365
|
const SelectGroupLabel = _styled__default.span`
|
|
1381
1366
|
font-size: ${/*#__PURE__*/polished.rem('12px')};
|
|
1382
|
-
color: ${lightGrey$
|
|
1367
|
+
color: ${lightGrey$6};
|
|
1383
1368
|
|
|
1384
1369
|
+ .tag {
|
|
1385
|
-
border-color: ${lightGrey$
|
|
1386
|
-
background-color: ${lightGrey$
|
|
1387
|
-
color: ${grey$
|
|
1370
|
+
border-color: ${lightGrey$6};
|
|
1371
|
+
background-color: ${lightGrey$6};
|
|
1372
|
+
color: ${grey$9};
|
|
1388
1373
|
}
|
|
1389
1374
|
`;
|
|
1390
1375
|
|
|
@@ -1455,16 +1440,16 @@ const SelectInteractive = ({
|
|
|
1455
1440
|
};
|
|
1456
1441
|
|
|
1457
1442
|
const {
|
|
1458
|
-
normal: normal$
|
|
1459
|
-
grey: grey$
|
|
1460
|
-
lightGrey: lightGrey$
|
|
1461
|
-
red: red$
|
|
1443
|
+
normal: normal$4,
|
|
1444
|
+
grey: grey$a,
|
|
1445
|
+
lightGrey: lightGrey$7,
|
|
1446
|
+
red: red$5,
|
|
1462
1447
|
lightRed
|
|
1463
1448
|
} = colors;
|
|
1464
1449
|
const Wrapper$2 = _styled__default.div`
|
|
1465
1450
|
border-width: ${/*#__PURE__*/polished.rem('1px')};
|
|
1466
1451
|
border-style: solid;
|
|
1467
|
-
border-color: ${props => props.error ? red$
|
|
1452
|
+
border-color: ${props => props.error ? red$5 : grey$a};
|
|
1468
1453
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
1469
1454
|
display: flex;
|
|
1470
1455
|
overflow: hidden;
|
|
@@ -1472,7 +1457,7 @@ const Wrapper$2 = _styled__default.div`
|
|
|
1472
1457
|
input {
|
|
1473
1458
|
flex: 1;
|
|
1474
1459
|
border: 0;
|
|
1475
|
-
color: ${props => props.error ? red$
|
|
1460
|
+
color: ${props => props.error ? red$5 : normal$4};
|
|
1476
1461
|
|
|
1477
1462
|
&:disabled {
|
|
1478
1463
|
margin: 0;
|
|
@@ -1487,10 +1472,10 @@ const Wrapper$2 = _styled__default.div`
|
|
|
1487
1472
|
const Appendix = _styled__default.div`
|
|
1488
1473
|
border-width: ${props => props.position === 'left' ? `0 ${polished.rem('1px')} 0 0` : `0 0 0 ${polished.rem('1px')}`};
|
|
1489
1474
|
border-style: solid;
|
|
1490
|
-
border-color: ${props => props.error ? red$
|
|
1491
|
-
background-color: ${props => props.error ? lightRed : lightGrey$
|
|
1475
|
+
border-color: ${props => props.error ? red$5 : grey$a};
|
|
1476
|
+
background-color: ${props => props.error ? lightRed : lightGrey$7};
|
|
1492
1477
|
padding: 0 ${/*#__PURE__*/polished.rem('15px')};
|
|
1493
|
-
color: ${props => props.error ? red$
|
|
1478
|
+
color: ${props => props.error ? red$5 : grey$a};
|
|
1494
1479
|
line-height: ${/*#__PURE__*/polished.rem('48px')};
|
|
1495
1480
|
vertical-align: center;
|
|
1496
1481
|
overflow: hidden;
|
|
@@ -1564,8 +1549,25 @@ const TruncateLine = props => {
|
|
|
1564
1549
|
}, /*#__PURE__*/React__default.createElement("span", null, value));
|
|
1565
1550
|
};
|
|
1566
1551
|
|
|
1552
|
+
const size = {
|
|
1553
|
+
xs: '360px',
|
|
1554
|
+
s: '700px',
|
|
1555
|
+
m: '900px',
|
|
1556
|
+
l: '1280px',
|
|
1557
|
+
xl: '1600px'
|
|
1558
|
+
};
|
|
1559
|
+
const device = {
|
|
1560
|
+
xs: `(min-width: ${size.xs})`,
|
|
1561
|
+
s: `(min-width: ${size.s})`,
|
|
1562
|
+
m: `(min-width: ${size.m})`,
|
|
1563
|
+
l: `(min-width: ${size.l})`,
|
|
1564
|
+
xl: `(min-width: ${size.xl})`,
|
|
1565
|
+
touch: `(hover: none) and (pointer: coarse)`,
|
|
1566
|
+
mouse: '(min-width: 538px) and (min-height: 720px)'
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1567
1569
|
const {
|
|
1568
|
-
light: light$
|
|
1570
|
+
light: light$6
|
|
1569
1571
|
} = colors;
|
|
1570
1572
|
const Wrapper$3 = _styled__default.div`
|
|
1571
1573
|
position: relative;
|
|
@@ -1819,7 +1821,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1819
1821
|
svg {
|
|
1820
1822
|
width: ${/*#__PURE__*/polished.rem('36px')};
|
|
1821
1823
|
height: ${/*#__PURE__*/polished.rem('36px')};
|
|
1822
|
-
fill: ${light$
|
|
1824
|
+
fill: ${light$6};
|
|
1823
1825
|
}
|
|
1824
1826
|
|
|
1825
1827
|
&.next {
|
|
@@ -1830,7 +1832,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1830
1832
|
opacity: 1;
|
|
1831
1833
|
|
|
1832
1834
|
svg {
|
|
1833
|
-
fill: ${light$
|
|
1835
|
+
fill: ${light$6};
|
|
1834
1836
|
}
|
|
1835
1837
|
}
|
|
1836
1838
|
|
|
@@ -1855,7 +1857,7 @@ const Wrapper$3 = _styled__default.div`
|
|
|
1855
1857
|
position: relative;
|
|
1856
1858
|
display: inline-block;
|
|
1857
1859
|
border-radius: 999px;
|
|
1858
|
-
background-color: ${light$
|
|
1860
|
+
background-color: ${light$6};
|
|
1859
1861
|
width: ${/*#__PURE__*/polished.rem('15px')};
|
|
1860
1862
|
height: ${/*#__PURE__*/polished.rem('15px')};
|
|
1861
1863
|
opacity: 0.25;
|
|
@@ -1989,12 +1991,12 @@ const VideoPlayer = props => {
|
|
|
1989
1991
|
};
|
|
1990
1992
|
|
|
1991
1993
|
const {
|
|
1992
|
-
lightGrey: lightGrey$
|
|
1993
|
-
green: green$
|
|
1994
|
+
lightGrey: lightGrey$8,
|
|
1995
|
+
green: green$3
|
|
1994
1996
|
} = colors;
|
|
1995
1997
|
const {
|
|
1996
|
-
bold: bold$
|
|
1997
|
-
} =
|
|
1998
|
+
bold: bold$1
|
|
1999
|
+
} = typography;
|
|
1998
2000
|
const Wrapper$5 = _styled__default.div`
|
|
1999
2001
|
display: flex;
|
|
2000
2002
|
align-items: center;
|
|
@@ -2002,13 +2004,13 @@ const Wrapper$5 = _styled__default.div`
|
|
|
2002
2004
|
const Bar = _styled__default.div`
|
|
2003
2005
|
flex: 1;
|
|
2004
2006
|
border-radius: 999px;
|
|
2005
|
-
background-color: ${lightGrey$
|
|
2007
|
+
background-color: ${lightGrey$8};
|
|
2006
2008
|
height: ${/*#__PURE__*/polished.rem('10px')};
|
|
2007
2009
|
overflow: hidden;
|
|
2008
2010
|
`;
|
|
2009
2011
|
const Progress = _styled__default.div`
|
|
2010
2012
|
border-radius: 999px;
|
|
2011
|
-
background-color: ${green$
|
|
2013
|
+
background-color: ${green$3};
|
|
2012
2014
|
height: 100%;
|
|
2013
2015
|
width: ${props => props.progress ? `${props.progress}%` : 0};
|
|
2014
2016
|
transition-duration: 2s;
|
|
@@ -2016,7 +2018,7 @@ const Progress = _styled__default.div`
|
|
|
2016
2018
|
const Value = _styled__default.div`
|
|
2017
2019
|
margin-left: ${/*#__PURE__*/polished.rem('5px')};
|
|
2018
2020
|
font-size: 0.75rem;
|
|
2019
|
-
font-weight: ${bold$
|
|
2021
|
+
font-weight: ${bold$1};
|
|
2020
2022
|
`;
|
|
2021
2023
|
|
|
2022
2024
|
const ProgressBar = props => {
|
|
@@ -2030,9 +2032,9 @@ const ProgressBar = props => {
|
|
|
2030
2032
|
};
|
|
2031
2033
|
|
|
2032
2034
|
const {
|
|
2033
|
-
light: light$
|
|
2034
|
-
green: green$
|
|
2035
|
-
lightGrey: lightGrey$
|
|
2035
|
+
light: light$7,
|
|
2036
|
+
green: green$4,
|
|
2037
|
+
lightGrey: lightGrey$9
|
|
2036
2038
|
} = colors;
|
|
2037
2039
|
const Switcher = _styled__default.fieldset`
|
|
2038
2040
|
margin: 0;
|
|
@@ -2058,7 +2060,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2058
2060
|
width: ${/*#__PURE__*/polished.rem('40px')};
|
|
2059
2061
|
height: ${/*#__PURE__*/polished.rem('24px')};
|
|
2060
2062
|
border-radius: 999px;
|
|
2061
|
-
border: 2px solid ${light$
|
|
2063
|
+
border: 2px solid ${light$7};
|
|
2062
2064
|
position: relative;
|
|
2063
2065
|
opacity: ${props => props.disabled ? '0.5' : '1'};
|
|
2064
2066
|
|
|
@@ -2083,7 +2085,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2083
2085
|
}
|
|
2084
2086
|
|
|
2085
2087
|
&.switch-on:checked ~ .bg {
|
|
2086
|
-
background-color: ${green$
|
|
2088
|
+
background-color: ${green$4};
|
|
2087
2089
|
}
|
|
2088
2090
|
|
|
2089
2091
|
&.switch-off:checked ~ .switcher {
|
|
@@ -2091,7 +2093,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2091
2093
|
}
|
|
2092
2094
|
|
|
2093
2095
|
&.switch-off:checked ~ .bg {
|
|
2094
|
-
background-color: ${lightGrey$
|
|
2096
|
+
background-color: ${lightGrey$9};
|
|
2095
2097
|
}
|
|
2096
2098
|
}
|
|
2097
2099
|
|
|
@@ -2104,7 +2106,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2104
2106
|
width: ${/*#__PURE__*/polished.rem('16px')};
|
|
2105
2107
|
height: ${/*#__PURE__*/polished.rem('16px')};
|
|
2106
2108
|
border-radius: 50%;
|
|
2107
|
-
background-color: ${light$
|
|
2109
|
+
background-color: ${light$7};
|
|
2108
2110
|
transition: all 0.3s ease-out;
|
|
2109
2111
|
z-index: 2;
|
|
2110
2112
|
}
|
|
@@ -2119,7 +2121,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2119
2121
|
border-radius: 999px;
|
|
2120
2122
|
background-color: transparent;
|
|
2121
2123
|
transition: all 0.3s ease-out;
|
|
2122
|
-
background-color: ${lightGrey$
|
|
2124
|
+
background-color: ${lightGrey$9};
|
|
2123
2125
|
}
|
|
2124
2126
|
}
|
|
2125
2127
|
}
|
|
@@ -2207,14 +2209,14 @@ const Toggle = ({
|
|
|
2207
2209
|
};
|
|
2208
2210
|
|
|
2209
2211
|
const {
|
|
2210
|
-
red: red$
|
|
2211
|
-
grey: grey$
|
|
2212
|
-
lightGrey: lightGrey$
|
|
2213
|
-
darkGrey
|
|
2214
|
-
green: green$
|
|
2215
|
-
darkGreen: darkGreen$
|
|
2216
|
-
light: light$
|
|
2217
|
-
normal: normal$
|
|
2212
|
+
red: red$6,
|
|
2213
|
+
grey: grey$b,
|
|
2214
|
+
lightGrey: lightGrey$a,
|
|
2215
|
+
darkGrey,
|
|
2216
|
+
green: green$5,
|
|
2217
|
+
darkGreen: darkGreen$2,
|
|
2218
|
+
light: light$8,
|
|
2219
|
+
normal: normal$5
|
|
2218
2220
|
} = colors;
|
|
2219
2221
|
const Wrapper$6 = _styled__default.div`
|
|
2220
2222
|
input {
|
|
@@ -2230,9 +2232,9 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2230
2232
|
margin-bottom: 0 !important;
|
|
2231
2233
|
border-width: ${props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px')};
|
|
2232
2234
|
border-style: solid;
|
|
2233
|
-
border-color: ${props => props.error ? red$
|
|
2235
|
+
border-color: ${props => props.error ? red$6 : grey$b};
|
|
2234
2236
|
border-radius: ${props => props.minimal ? 0 : polished.rem('6px')};
|
|
2235
|
-
background-color: ${props => props.disabled ? lightGrey$
|
|
2237
|
+
background-color: ${props => props.disabled ? lightGrey$a : 'transparent'};
|
|
2236
2238
|
display: flex;
|
|
2237
2239
|
justify-content: space-between;
|
|
2238
2240
|
align-items: center;
|
|
@@ -2252,34 +2254,34 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2252
2254
|
flex: 1;
|
|
2253
2255
|
display: block;
|
|
2254
2256
|
padding: ${props => props.minimal ? 0 : `0 ${polished.rem('10px')}`};
|
|
2255
|
-
color: ${props => props.disabled ? grey$
|
|
2257
|
+
color: ${props => props.disabled ? grey$b : normal$5};
|
|
2256
2258
|
white-space: nowrap;
|
|
2257
2259
|
overflow: hidden;
|
|
2258
2260
|
text-overflow: ellipsis;
|
|
2259
2261
|
}
|
|
2260
2262
|
|
|
2261
2263
|
&.button {
|
|
2262
|
-
border-left: ${props => props.minimal ? 0 : `${polished.rem('1px')} solid ${grey$
|
|
2263
|
-
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$
|
|
2264
|
+
border-left: ${props => props.minimal ? 0 : `${polished.rem('1px')} solid ${grey$b}`};
|
|
2265
|
+
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$a : green$5};
|
|
2264
2266
|
height: 100%;
|
|
2265
2267
|
padding: ${props => props.minimal ? `0 ${polished.rem('5px')} 0 ${polished.rem('20px')}` : `0 ${polished.rem('20px')}`};
|
|
2266
|
-
color: ${props => props.disabled ? grey$
|
|
2268
|
+
color: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
|
|
2267
2269
|
transition-duration: 0.3s;
|
|
2268
2270
|
|
|
2269
2271
|
svg {
|
|
2270
2272
|
margin-right: ${/*#__PURE__*/polished.rem('8px')};
|
|
2271
2273
|
width: auto;
|
|
2272
2274
|
height: ${/*#__PURE__*/polished.rem('24px')};
|
|
2273
|
-
fill: ${props => props.disabled ? grey$
|
|
2275
|
+
fill: ${props => props.disabled ? grey$b : props.minimal ? darkGrey : light$8};
|
|
2274
2276
|
transition-duration: 0.3s;
|
|
2275
2277
|
}
|
|
2276
2278
|
|
|
2277
2279
|
&:hover {
|
|
2278
|
-
background-color: ${props => props.minimal ? 'transparent' : darkGreen$
|
|
2279
|
-
color: ${props => props.minimal ? darkGreen$
|
|
2280
|
+
background-color: ${props => props.minimal ? 'transparent' : darkGreen$2};
|
|
2281
|
+
color: ${props => props.minimal ? darkGreen$2 : light$8};
|
|
2280
2282
|
|
|
2281
2283
|
svg {
|
|
2282
|
-
fill: ${props => props.disabled ? grey$
|
|
2284
|
+
fill: ${props => props.disabled ? grey$b : props.minimal ? darkGreen$2 : light$8};
|
|
2283
2285
|
}
|
|
2284
2286
|
}
|
|
2285
2287
|
}
|
|
@@ -2341,10 +2343,10 @@ const FilePicker = props => {
|
|
|
2341
2343
|
};
|
|
2342
2344
|
|
|
2343
2345
|
const {
|
|
2344
|
-
normal: normal$
|
|
2345
|
-
light: light$
|
|
2346
|
-
lightGrey: lightGrey$
|
|
2347
|
-
red: red$
|
|
2346
|
+
normal: normal$6,
|
|
2347
|
+
light: light$9,
|
|
2348
|
+
lightGrey: lightGrey$b,
|
|
2349
|
+
red: red$7
|
|
2348
2350
|
} = colors;
|
|
2349
2351
|
const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2350
2352
|
displayName: "styles__ActionsMenuStyle",
|
|
@@ -2353,11 +2355,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2353
2355
|
const List = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
2354
2356
|
displayName: "styles__List",
|
|
2355
2357
|
componentId: "sc-1peafop-1"
|
|
2356
|
-
})(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], /*#__PURE__*/polished.rem('1px'), lightGrey$
|
|
2358
|
+
})(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], /*#__PURE__*/polished.rem('1px'), lightGrey$b, /*#__PURE__*/polished.rem('4px'), light$9, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$6), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$6), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$6), props => props.rowIndex != undefined && _styled.css`
|
|
2357
2359
|
--margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
|
|
2358
2360
|
top: var(--margin);
|
|
2359
2361
|
right: ${polished.rem('5px')};
|
|
2360
|
-
`, /*#__PURE__*/polished.rem('45px'), lightGrey$
|
|
2362
|
+
`, /*#__PURE__*/polished.rem('45px'), lightGrey$b, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('1px'), lightGrey$b, red$7, lightGrey$b, /*#__PURE__*/polished.rem('20px'), normal$6);
|
|
2361
2363
|
|
|
2362
2364
|
const ActionMenuList = props => {
|
|
2363
2365
|
const {
|
|
@@ -2430,13 +2432,13 @@ const ActionsMenu = props => {
|
|
|
2430
2432
|
};
|
|
2431
2433
|
|
|
2432
2434
|
const {
|
|
2433
|
-
light: light$
|
|
2434
|
-
grey: grey$
|
|
2435
|
+
light: light$a,
|
|
2436
|
+
grey: grey$c
|
|
2435
2437
|
} = colors;
|
|
2436
2438
|
const CardValueStyle = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2437
2439
|
displayName: "styles__CardValueStyle",
|
|
2438
2440
|
componentId: "sc-1ki7jdk-0"
|
|
2439
|
-
})(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;@media ", "{padding:", ";}> span{display:block;margin-top:", ";font-size:2rem;font-weight:var(--bold,700);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"], /*#__PURE__*/polished.rem('1px'), grey$
|
|
2441
|
+
})(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;@media ", "{padding:", ";}> span{display:block;margin-top:", ";font-size:2rem;font-weight:var(--bold,700);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"], /*#__PURE__*/polished.rem('1px'), grey$c, /*#__PURE__*/polished.rem('6px'), light$a, /*#__PURE__*/polished.rem('15px'), device.l, /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('5px'));
|
|
2440
2442
|
const CardValueButtonWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2441
2443
|
displayName: "styles__CardValueButtonWrapper",
|
|
2442
2444
|
componentId: "sc-1ki7jdk-1"
|
|
@@ -2467,12 +2469,12 @@ const CardValue = props => {
|
|
|
2467
2469
|
};
|
|
2468
2470
|
|
|
2469
2471
|
const {
|
|
2470
|
-
grey: grey$
|
|
2471
|
-
light: light$
|
|
2472
|
+
grey: grey$d,
|
|
2473
|
+
light: light$b
|
|
2472
2474
|
} = colors;
|
|
2473
2475
|
const {
|
|
2474
|
-
bold: bold$
|
|
2475
|
-
} =
|
|
2476
|
+
bold: bold$2
|
|
2477
|
+
} = typography;
|
|
2476
2478
|
const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2477
2479
|
displayName: "styles__EmptyTableWrapper",
|
|
2478
2480
|
componentId: "sc-1dgsb9l-0"
|
|
@@ -2480,15 +2482,15 @@ const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2480
2482
|
const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2481
2483
|
displayName: "styles__EmptyTableHead",
|
|
2482
2484
|
componentId: "sc-1dgsb9l-1"
|
|
2483
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? polished.rem('1px') : `0 0 ${polished.rem('1px')} 0`, grey$
|
|
2485
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? polished.rem('1px') : `0 0 ${polished.rem('1px')} 0`, grey$d, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), bold$2, grey$d, /*#__PURE__*/polished.rem('15px'), bold$2, grey$d, device.s, device.m, device.l);
|
|
2484
2486
|
const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2485
2487
|
displayName: "styles__EmptyTableBody",
|
|
2486
2488
|
componentId: "sc-1dgsb9l-2"
|
|
2487
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${polished.rem('1px')} ${polished.rem('1px')} ${polished.rem('1px')}` : 0, grey$
|
|
2489
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${polished.rem('1px')} ${polished.rem('1px')} ${polished.rem('1px')}` : 0, grey$d, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'));
|
|
2488
2490
|
const EmptyTableRow = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2489
2491
|
displayName: "styles__EmptyTableRow",
|
|
2490
2492
|
componentId: "sc-1dgsb9l-3"
|
|
2491
|
-
})(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('1px'), grey$
|
|
2493
|
+
})(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('1px'), grey$d, /*#__PURE__*/polished.rem('15px'), device.s, device.m, device.l);
|
|
2492
2494
|
const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2493
2495
|
displayName: "styles__EmptyTableCellText",
|
|
2494
2496
|
componentId: "sc-1dgsb9l-4"
|
|
@@ -2496,7 +2498,7 @@ const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2496
2498
|
const EmptyTableOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2497
2499
|
displayName: "styles__EmptyTableOverlay",
|
|
2498
2500
|
componentId: "sc-1dgsb9l-5"
|
|
2499
|
-
})(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(light$
|
|
2501
|
+
})(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(light$b, 0), /*#__PURE__*/polished.rgba(light$b, 1), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), grey$d);
|
|
2500
2502
|
|
|
2501
2503
|
const EmptyTable = props => {
|
|
2502
2504
|
let rows = [];
|
|
@@ -2556,31 +2558,31 @@ const ModalFooter = props => {
|
|
|
2556
2558
|
};
|
|
2557
2559
|
|
|
2558
2560
|
const {
|
|
2559
|
-
green: green$
|
|
2561
|
+
green: green$6,
|
|
2560
2562
|
lightGreen,
|
|
2561
|
-
darkGreen: darkGreen$
|
|
2562
|
-
grey: grey$
|
|
2563
|
-
lightGrey: lightGrey$
|
|
2564
|
-
darkGrey: darkGrey$
|
|
2565
|
-
red: red$
|
|
2563
|
+
darkGreen: darkGreen$3,
|
|
2564
|
+
grey: grey$e,
|
|
2565
|
+
lightGrey: lightGrey$c,
|
|
2566
|
+
darkGrey: darkGrey$1,
|
|
2567
|
+
red: red$8,
|
|
2566
2568
|
lightRed: lightRed$1,
|
|
2567
|
-
darkRed: darkRed$
|
|
2569
|
+
darkRed: darkRed$1
|
|
2568
2570
|
} = colors;
|
|
2569
2571
|
const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2570
2572
|
displayName: "styles__Wrapper",
|
|
2571
2573
|
componentId: "d2fn4g-0"
|
|
2572
|
-
})(["--default:", ";--light:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--default);border-radius:", ";background-color:var(--light);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], grey$
|
|
2573
|
-
--default: ${grey$
|
|
2574
|
-
--light: ${lightGrey$
|
|
2575
|
-
--dark: ${darkGrey$
|
|
2574
|
+
})(["--default:", ";--light:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--default);border-radius:", ";background-color:var(--light);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], grey$e, lightGrey$c, darkGrey$1, props => props.color === 'grey' && _styled.css`
|
|
2575
|
+
--default: ${grey$e};
|
|
2576
|
+
--light: ${lightGrey$c};
|
|
2577
|
+
--dark: ${darkGrey$1};
|
|
2576
2578
|
`, props => props.color === 'green' && _styled.css`
|
|
2577
|
-
--default: ${green$
|
|
2579
|
+
--default: ${green$6};
|
|
2578
2580
|
--light: ${lightGreen};
|
|
2579
|
-
--dark: ${darkGreen$
|
|
2581
|
+
--dark: ${darkGreen$3};
|
|
2580
2582
|
`, props => props.color === 'red' && _styled.css`
|
|
2581
|
-
--default: ${red$
|
|
2583
|
+
--default: ${red$8};
|
|
2582
2584
|
--light: ${lightRed$1};
|
|
2583
|
-
--dark: ${darkRed$
|
|
2585
|
+
--dark: ${darkRed$1};
|
|
2584
2586
|
`, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
|
|
2585
2587
|
button {
|
|
2586
2588
|
margin: ${polished.rem('30px')} 0 0 0;
|
|
@@ -2639,14 +2641,14 @@ function hasValue(value) {
|
|
|
2639
2641
|
}
|
|
2640
2642
|
|
|
2641
2643
|
const {
|
|
2642
|
-
normal: normal$
|
|
2643
|
-
light: light$
|
|
2644
|
-
grey: grey$
|
|
2645
|
-
lightGrey: lightGrey$
|
|
2644
|
+
normal: normal$7,
|
|
2645
|
+
light: light$c,
|
|
2646
|
+
grey: grey$f,
|
|
2647
|
+
lightGrey: lightGrey$d
|
|
2646
2648
|
} = colors;
|
|
2647
2649
|
const {
|
|
2648
|
-
bold: bold$
|
|
2649
|
-
} =
|
|
2650
|
+
bold: bold$3
|
|
2651
|
+
} = typography;
|
|
2650
2652
|
const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2651
2653
|
displayName: "styles__TableWrapper",
|
|
2652
2654
|
componentId: "vmoy3z-0"
|
|
@@ -2654,11 +2656,11 @@ const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2654
2656
|
const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2655
2657
|
displayName: "styles__OverflowWrapper",
|
|
2656
2658
|
componentId: "vmoy3z-1"
|
|
2657
|
-
})(["@media ", "{display:block;border-radius:", ";background:linear-gradient(to right,", " 30%,rgba(255,255,255,0)),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:#fff;background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, /*#__PURE__*/polished.rem('6px'), light$
|
|
2659
|
+
})(["@media ", "{display:block;border-radius:", ";background:linear-gradient(to right,", " 30%,rgba(255,255,255,0)),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:#fff;background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, /*#__PURE__*/polished.rem('6px'), light$c, light$c, /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('14px'), /*#__PURE__*/polished.rem('14px'));
|
|
2658
2660
|
const Table = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2659
2661
|
displayName: "styles__Table",
|
|
2660
2662
|
componentId: "vmoy3z-2"
|
|
2661
|
-
})(["width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&:hover{background-color:", ";td.menu{button{opacity:1;}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:0.3s;}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? '1px' : '0', grey$
|
|
2663
|
+
})(["width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&:hover{background-color:", ";td.menu{button{opacity:1;}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:0.3s;}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? '1px' : '0', grey$f, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('1px'), grey$f, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, bold$3, grey$f, lightGrey$d, device.s, /*#__PURE__*/polished.rem('1px'), grey$f, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), normal$7, grey$f, /*#__PURE__*/polished.rem('15px'), bold$3, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('1px'), grey$f, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
|
|
2662
2664
|
|
|
2663
2665
|
const Table$1 = props => {
|
|
2664
2666
|
const {
|
|
@@ -2758,24 +2760,24 @@ const Table$1 = props => {
|
|
|
2758
2760
|
};
|
|
2759
2761
|
|
|
2760
2762
|
const {
|
|
2761
|
-
normal: normal$
|
|
2762
|
-
grey: grey$
|
|
2763
|
-
lightGrey: lightGrey$
|
|
2763
|
+
normal: normal$8,
|
|
2764
|
+
grey: grey$g,
|
|
2765
|
+
lightGrey: lightGrey$e
|
|
2764
2766
|
} = colors;
|
|
2765
2767
|
const {
|
|
2766
|
-
bold: bold$
|
|
2767
|
-
} =
|
|
2768
|
+
bold: bold$4
|
|
2769
|
+
} = typography;
|
|
2768
2770
|
const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2769
2771
|
displayName: "styles__Table",
|
|
2770
2772
|
componentId: "sc-1p618q0-0"
|
|
2771
|
-
})(["position:relative;width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;table-layout:", ";th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&:hover{background-color:", ";td{&.drag-handle{svg{fill:", ";}}&.menu{button{opacity:1;}}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;&.drag-handle{> div{width:min-content;}svg{width:", ";height:", ";fill:", ";transition-duration:0.3s;}}> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:0.3s;}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? '1px' : '0', grey$
|
|
2773
|
+
})(["position:relative;width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;table-layout:", ";th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&:hover{background-color:", ";td{&.drag-handle{svg{fill:", ";}}&.menu{button{opacity:1;}}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;&.drag-handle{> div{width:min-content;}svg{width:", ";height:", ";fill:", ";transition-duration:0.3s;}}> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:0.3s;}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? '1px' : '0', grey$g, /*#__PURE__*/polished.rem('6px'), props => props.layout, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('1px'), /*#__PURE__*/polished.rem('-1px'), /*#__PURE__*/polished.rem('1px'), device.s, bold$4, grey$g, lightGrey$e, grey$g, device.s, /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), grey$g, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), normal$8, grey$g, /*#__PURE__*/polished.rem('15px'), bold$4, /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('20px'), /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('36px'), /*#__PURE__*/polished.rem('-170px'), device.s, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
|
|
2772
2774
|
const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
|
|
2773
2775
|
displayName: "styles__TableRow",
|
|
2774
2776
|
componentId: "sc-1p618q0-1"
|
|
2775
2777
|
})(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
|
|
2776
2778
|
|
|
2777
2779
|
const {
|
|
2778
|
-
light: light$
|
|
2780
|
+
light: light$d
|
|
2779
2781
|
} = colors;
|
|
2780
2782
|
|
|
2781
2783
|
const TableDnD = props => {
|
|
@@ -2830,12 +2832,12 @@ const TableDnD = props => {
|
|
|
2830
2832
|
|
|
2831
2833
|
const getItemStyle = (isDragging, draggableStyle) => ({
|
|
2832
2834
|
userSelect: 'none',
|
|
2833
|
-
background: isDragging ? light$
|
|
2835
|
+
background: isDragging ? light$d : 'transparent',
|
|
2834
2836
|
...draggableStyle
|
|
2835
2837
|
});
|
|
2836
2838
|
|
|
2837
2839
|
const getListStyle = isDraggingOver => ({
|
|
2838
|
-
background: isDraggingOver ? light$
|
|
2840
|
+
background: isDraggingOver ? light$d : 'transparent'
|
|
2839
2841
|
});
|
|
2840
2842
|
|
|
2841
2843
|
return (
|
|
@@ -2934,14 +2936,14 @@ const TableDnD = props => {
|
|
|
2934
2936
|
};
|
|
2935
2937
|
|
|
2936
2938
|
const {
|
|
2937
|
-
normal: normal$
|
|
2938
|
-
grey: grey$
|
|
2939
|
-
red: red$
|
|
2939
|
+
normal: normal$9,
|
|
2940
|
+
grey: grey$h,
|
|
2941
|
+
red: red$9
|
|
2940
2942
|
} = colors;
|
|
2941
2943
|
const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2942
2944
|
displayName: "styles__Wrapper",
|
|
2943
2945
|
componentId: "mbja2a-0"
|
|
2944
|
-
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? red$
|
|
2946
|
+
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? red$9 : grey$h, props => props.error ? red$9 : normal$9, /*#__PURE__*/polished.rem('15px'));
|
|
2945
2947
|
|
|
2946
2948
|
const FormGroup = props => {
|
|
2947
2949
|
const {
|
|
@@ -2959,14 +2961,14 @@ const FormGroup = props => {
|
|
|
2959
2961
|
};
|
|
2960
2962
|
|
|
2961
2963
|
const {
|
|
2962
|
-
grey: grey$
|
|
2963
|
-
lightGrey: lightGrey$
|
|
2964
|
+
grey: grey$i,
|
|
2965
|
+
lightGrey: lightGrey$f,
|
|
2964
2966
|
lightRed: lightRed$2
|
|
2965
2967
|
} = colors;
|
|
2966
2968
|
const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2967
2969
|
displayName: "styles__Wrapper",
|
|
2968
2970
|
componentId: "sc-124afcu-0"
|
|
2969
|
-
})(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{opacity:0.25;}&:hover{pointer-events:none;}}}"], /*#__PURE__*/polished.rem('1px'), grey$
|
|
2971
|
+
})(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{opacity:0.25;}&:hover{pointer-events:none;}}}"], /*#__PURE__*/polished.rem('1px'), grey$i, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), lightGrey$f);
|
|
2970
2972
|
const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
2971
2973
|
displayName: "styles__Input",
|
|
2972
2974
|
componentId: "sc-124afcu-1"
|
|
@@ -2974,7 +2976,7 @@ const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
|
2974
2976
|
const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
|
|
2975
2977
|
displayName: "styles__Button",
|
|
2976
2978
|
componentId: "sc-124afcu-2"
|
|
2977
|
-
})(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:0.3s;&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('50px'), lightGrey$
|
|
2979
|
+
})(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:0.3s;&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('50px'), lightGrey$f, /*#__PURE__*/polished.rem('1px'), grey$i, /*#__PURE__*/polished.rem('1px'), grey$i, /*#__PURE__*/polished.rem('20px'), grey$i, lightGrey$f);
|
|
2978
2980
|
|
|
2979
2981
|
const NumberInputSpinner = props => {
|
|
2980
2982
|
const {
|
|
@@ -3040,10 +3042,10 @@ const NumberInputSpinner = props => {
|
|
|
3040
3042
|
};
|
|
3041
3043
|
|
|
3042
3044
|
const {
|
|
3043
|
-
green: green$
|
|
3044
|
-
grey: grey$
|
|
3045
|
-
lightGrey: lightGrey$
|
|
3046
|
-
light: light$
|
|
3045
|
+
green: green$7,
|
|
3046
|
+
grey: grey$j,
|
|
3047
|
+
lightGrey: lightGrey$g,
|
|
3048
|
+
light: light$e
|
|
3047
3049
|
} = colors;
|
|
3048
3050
|
const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
3049
3051
|
displayName: "styles__Steps",
|
|
@@ -3052,7 +3054,7 @@ const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
|
3052
3054
|
const Step = /*#__PURE__*/_styled__default.li.withConfig({
|
|
3053
3055
|
displayName: "styles__Step",
|
|
3054
3056
|
componentId: "sc-1s2dhfy-1"
|
|
3055
|
-
})(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:0.75rem;color:", ";@media ", "{width:100%;font-size:1rem;font-weight:700;}}}"], /*#__PURE__*/polished.rem('44px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$
|
|
3057
|
+
})(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:0.75rem;color:", ";@media ", "{width:100%;font-size:1rem;font-weight:700;}}}"], /*#__PURE__*/polished.rem('44px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$7 : lightGrey$g, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$7 : lightGrey$g, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), props => props.active ? green$7 : lightGrey$g, props => props.active ? light$e : grey$j, device.s);
|
|
3056
3058
|
|
|
3057
3059
|
const WizardSteps = props => {
|
|
3058
3060
|
const {
|
|
@@ -3073,13 +3075,13 @@ const WizardSteps = props => {
|
|
|
3073
3075
|
};
|
|
3074
3076
|
|
|
3075
3077
|
const {
|
|
3076
|
-
light: light$
|
|
3077
|
-
green: green$
|
|
3078
|
-
darkGreen: darkGreen$
|
|
3079
|
-
red: red$
|
|
3080
|
-
darkRed: darkRed$
|
|
3081
|
-
orange
|
|
3082
|
-
darkOrange
|
|
3078
|
+
light: light$f,
|
|
3079
|
+
green: green$8,
|
|
3080
|
+
darkGreen: darkGreen$4,
|
|
3081
|
+
red: red$a,
|
|
3082
|
+
darkRed: darkRed$2,
|
|
3083
|
+
orange,
|
|
3084
|
+
darkOrange
|
|
3083
3085
|
} = colors;
|
|
3084
3086
|
const Wrapper$a = _styled__default.div`
|
|
3085
3087
|
--shadow: 0 0 ${/*#__PURE__*/polished.rem('25px')} 0 rgba(40, 40, 40, 0.2);
|
|
@@ -3087,14 +3089,14 @@ const Wrapper$a = _styled__default.div`
|
|
|
3087
3089
|
position: fixed;
|
|
3088
3090
|
top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3089
3091
|
right: 0;
|
|
3090
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${darkGreen$
|
|
3092
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${darkGreen$4};
|
|
3091
3093
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
3092
|
-
background-color: ${green$
|
|
3094
|
+
background-color: ${green$8};
|
|
3093
3095
|
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
3094
3096
|
max-height: min-content;
|
|
3095
3097
|
display: flex;
|
|
3096
3098
|
padding: ${/*#__PURE__*/polished.rem('15px')};
|
|
3097
|
-
color: ${light$
|
|
3099
|
+
color: ${light$f};
|
|
3098
3100
|
-moz-box-shadow: var(--shadow);
|
|
3099
3101
|
-webkit-box-shadow: var(--shadow);
|
|
3100
3102
|
box-shadow: var(--shadow);
|
|
@@ -3105,7 +3107,7 @@ const Wrapper$a = _styled__default.div`
|
|
|
3105
3107
|
background-color: transparent;
|
|
3106
3108
|
|
|
3107
3109
|
svg {
|
|
3108
|
-
fill: ${darkGreen$
|
|
3110
|
+
fill: ${darkGreen$4};
|
|
3109
3111
|
}
|
|
3110
3112
|
}
|
|
3111
3113
|
|
|
@@ -3127,23 +3129,23 @@ const Wrapper$a = _styled__default.div`
|
|
|
3127
3129
|
}
|
|
3128
3130
|
|
|
3129
3131
|
${props => props.variant === 'orange' && _styled.css`
|
|
3130
|
-
border: ${polished.rem('2px')} solid ${darkOrange
|
|
3131
|
-
background-color: ${orange
|
|
3132
|
+
border: ${polished.rem('2px')} solid ${darkOrange};
|
|
3133
|
+
background-color: ${orange};
|
|
3132
3134
|
|
|
3133
3135
|
button {
|
|
3134
3136
|
svg {
|
|
3135
|
-
fill: ${darkOrange
|
|
3137
|
+
fill: ${darkOrange};
|
|
3136
3138
|
}
|
|
3137
3139
|
}
|
|
3138
3140
|
`}
|
|
3139
3141
|
|
|
3140
3142
|
${props => props.variant === 'red' && _styled.css`
|
|
3141
|
-
border: ${polished.rem('2px')} solid ${darkRed$
|
|
3142
|
-
background-color: ${red$
|
|
3143
|
+
border: ${polished.rem('2px')} solid ${darkRed$2};
|
|
3144
|
+
background-color: ${red$a};
|
|
3143
3145
|
|
|
3144
3146
|
button {
|
|
3145
3147
|
svg {
|
|
3146
|
-
fill: ${darkRed$
|
|
3148
|
+
fill: ${darkRed$2};
|
|
3147
3149
|
}
|
|
3148
3150
|
}
|
|
3149
3151
|
`}
|
|
@@ -3183,14 +3185,14 @@ const AlertNotification = props => {
|
|
|
3183
3185
|
};
|
|
3184
3186
|
|
|
3185
3187
|
const {
|
|
3186
|
-
normal: normal$
|
|
3187
|
-
light: light$
|
|
3188
|
-
blue
|
|
3189
|
-
lightGrey: lightGrey$
|
|
3188
|
+
normal: normal$a,
|
|
3189
|
+
light: light$g,
|
|
3190
|
+
blue,
|
|
3191
|
+
lightGrey: lightGrey$h
|
|
3190
3192
|
} = colors;
|
|
3191
3193
|
const {
|
|
3192
|
-
bold: bold$
|
|
3193
|
-
} =
|
|
3194
|
+
bold: bold$5
|
|
3195
|
+
} = typography;
|
|
3194
3196
|
const PaginationWrapper = _styled__default.div`
|
|
3195
3197
|
--size: ${/*#__PURE__*/polished.rem('30px')};
|
|
3196
3198
|
|
|
@@ -3231,18 +3233,18 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3231
3233
|
display: flex;
|
|
3232
3234
|
justify-content: center;
|
|
3233
3235
|
align-items: center;
|
|
3234
|
-
color: ${normal$
|
|
3235
|
-
font-weight: ${bold$
|
|
3236
|
+
color: ${normal$a};
|
|
3237
|
+
font-weight: ${bold$5};
|
|
3236
3238
|
text-decoration: none;
|
|
3237
3239
|
|
|
3238
3240
|
&:hover {
|
|
3239
|
-
color: ${blue
|
|
3241
|
+
color: ${blue};
|
|
3240
3242
|
}
|
|
3241
3243
|
|
|
3242
3244
|
svg {
|
|
3243
3245
|
width: ${/*#__PURE__*/polished.rem('18px')};
|
|
3244
3246
|
height: auto;
|
|
3245
|
-
fill: ${blue
|
|
3247
|
+
fill: ${blue};
|
|
3246
3248
|
}
|
|
3247
3249
|
}
|
|
3248
3250
|
|
|
@@ -3250,18 +3252,18 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3250
3252
|
pointer-events: none;
|
|
3251
3253
|
|
|
3252
3254
|
a {
|
|
3253
|
-
background-color: ${blue
|
|
3254
|
-
color: ${light$
|
|
3255
|
+
background-color: ${blue};
|
|
3256
|
+
color: ${light$g};
|
|
3255
3257
|
}
|
|
3256
3258
|
}
|
|
3257
3259
|
}
|
|
3258
3260
|
|
|
3259
3261
|
&.dark {
|
|
3260
3262
|
a {
|
|
3261
|
-
color: ${lightGrey$
|
|
3263
|
+
color: ${lightGrey$h};
|
|
3262
3264
|
|
|
3263
3265
|
&:hover {
|
|
3264
|
-
color: ${light$
|
|
3266
|
+
color: ${light$g};
|
|
3265
3267
|
}
|
|
3266
3268
|
}
|
|
3267
3269
|
}
|
|
@@ -3320,12 +3322,12 @@ const PaginationControl = props => {
|
|
|
3320
3322
|
};
|
|
3321
3323
|
|
|
3322
3324
|
const {
|
|
3323
|
-
normal: normal$
|
|
3324
|
-
green: green$
|
|
3325
|
+
normal: normal$b,
|
|
3326
|
+
green: green$9
|
|
3325
3327
|
} = colors;
|
|
3326
3328
|
const {
|
|
3327
|
-
bold: bold$
|
|
3328
|
-
} =
|
|
3329
|
+
bold: bold$6
|
|
3330
|
+
} = typography;
|
|
3329
3331
|
const Wrapper$b = _styled__default.div`
|
|
3330
3332
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
3331
3333
|
display: flex;
|
|
@@ -3342,15 +3344,15 @@ const Wrapper$b = _styled__default.div`
|
|
|
3342
3344
|
|
|
3343
3345
|
> span {
|
|
3344
3346
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3345
|
-
font-weight: ${bold$
|
|
3346
|
-
color: ${normal$
|
|
3347
|
+
font-weight: ${bold$6};
|
|
3348
|
+
color: ${normal$b};
|
|
3347
3349
|
|
|
3348
3350
|
a {
|
|
3349
|
-
color: ${normal$
|
|
3351
|
+
color: ${normal$b};
|
|
3350
3352
|
transition-duration: 0.3s;
|
|
3351
3353
|
|
|
3352
3354
|
&:hover {
|
|
3353
|
-
color: ${green$
|
|
3355
|
+
color: ${green$9};
|
|
3354
3356
|
}
|
|
3355
3357
|
}
|
|
3356
3358
|
}
|
|
@@ -3370,12 +3372,12 @@ const Error = props => {
|
|
|
3370
3372
|
};
|
|
3371
3373
|
|
|
3372
3374
|
const {
|
|
3373
|
-
normal: normal$
|
|
3374
|
-
green: green$
|
|
3375
|
+
normal: normal$c,
|
|
3376
|
+
green: green$a
|
|
3375
3377
|
} = colors;
|
|
3376
3378
|
const {
|
|
3377
|
-
bold: bold$
|
|
3378
|
-
} =
|
|
3379
|
+
bold: bold$7
|
|
3380
|
+
} = typography;
|
|
3379
3381
|
const Wrapper$c = _styled__default.div`
|
|
3380
3382
|
min-height: 50vh;
|
|
3381
3383
|
display: flex;
|
|
@@ -3392,15 +3394,15 @@ const Wrapper$c = _styled__default.div`
|
|
|
3392
3394
|
|
|
3393
3395
|
> div {
|
|
3394
3396
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3395
|
-
font-weight: ${bold$
|
|
3396
|
-
color: ${normal$
|
|
3397
|
+
font-weight: ${bold$7};
|
|
3398
|
+
color: ${normal$c};
|
|
3397
3399
|
|
|
3398
3400
|
a {
|
|
3399
|
-
color: ${normal$
|
|
3401
|
+
color: ${normal$c};
|
|
3400
3402
|
transition-duration: 0.3s;
|
|
3401
3403
|
|
|
3402
3404
|
&:hover {
|
|
3403
|
-
color: ${green$
|
|
3405
|
+
color: ${green$a};
|
|
3404
3406
|
}
|
|
3405
3407
|
}
|
|
3406
3408
|
}
|
|
@@ -5368,12 +5370,12 @@ const DataWarning = props => {
|
|
|
5368
5370
|
};
|
|
5369
5371
|
|
|
5370
5372
|
const {
|
|
5371
|
-
normal: normal$
|
|
5372
|
-
green: green$
|
|
5373
|
-
darkGreen: darkGreen$
|
|
5374
|
-
grey: grey$
|
|
5375
|
-
lightGrey: lightGrey$
|
|
5376
|
-
red: red$
|
|
5373
|
+
normal: normal$d,
|
|
5374
|
+
green: green$b,
|
|
5375
|
+
darkGreen: darkGreen$5,
|
|
5376
|
+
grey: grey$k,
|
|
5377
|
+
lightGrey: lightGrey$i,
|
|
5378
|
+
red: red$b
|
|
5377
5379
|
} = colors;
|
|
5378
5380
|
const Wrapper$d = _styled__default.ul`
|
|
5379
5381
|
display: flex;
|
|
@@ -5396,11 +5398,11 @@ const Wrapper$d = _styled__default.ul`
|
|
|
5396
5398
|
}
|
|
5397
5399
|
|
|
5398
5400
|
input[type='radio']:checked ~ .check {
|
|
5399
|
-
border-color: ${darkGreen$
|
|
5401
|
+
border-color: ${darkGreen$5};
|
|
5400
5402
|
}
|
|
5401
5403
|
|
|
5402
5404
|
input[type='radio']:checked ~ .check::before {
|
|
5403
|
-
background-color: ${green$
|
|
5405
|
+
background-color: ${green$b};
|
|
5404
5406
|
}
|
|
5405
5407
|
|
|
5406
5408
|
& + span {
|
|
@@ -5423,7 +5425,7 @@ const Item = _styled__default.li`
|
|
|
5423
5425
|
padding-left: calc(var(--size) + 5px);
|
|
5424
5426
|
line-height: var(--size);
|
|
5425
5427
|
vertical-align: middle;
|
|
5426
|
-
color: ${props => props.error ? red$
|
|
5428
|
+
color: ${props => props.error ? red$b : null};
|
|
5427
5429
|
cursor: pointer;
|
|
5428
5430
|
z-index: 1;
|
|
5429
5431
|
}
|
|
@@ -5431,7 +5433,7 @@ const Item = _styled__default.li`
|
|
|
5431
5433
|
.check {
|
|
5432
5434
|
position: absolute;
|
|
5433
5435
|
top: 0;
|
|
5434
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${props => props.error ? red$
|
|
5436
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${props => props.error ? red$b : grey$k};
|
|
5435
5437
|
border-radius: 100%;
|
|
5436
5438
|
width: var(--size);
|
|
5437
5439
|
height: var(--size);
|
|
@@ -5450,21 +5452,21 @@ const Item = _styled__default.li`
|
|
|
5450
5452
|
}
|
|
5451
5453
|
|
|
5452
5454
|
&:hover .check {
|
|
5453
|
-
border-color: ${normal$
|
|
5455
|
+
border-color: ${normal$d};
|
|
5454
5456
|
}
|
|
5455
5457
|
|
|
5456
5458
|
${props => props.disabled && _styled.css`
|
|
5457
5459
|
label {
|
|
5458
|
-
color: ${grey$
|
|
5460
|
+
color: ${grey$k};
|
|
5459
5461
|
}
|
|
5460
5462
|
|
|
5461
5463
|
input[type='radio'] ~ .check,
|
|
5462
5464
|
input[type='radio']:checked ~ .check {
|
|
5463
|
-
border-color: ${lightGrey$
|
|
5465
|
+
border-color: ${lightGrey$i};
|
|
5464
5466
|
}
|
|
5465
5467
|
|
|
5466
5468
|
input[type='radio']:checked ~ .check::before {
|
|
5467
|
-
background-color: ${lightGrey$
|
|
5469
|
+
background-color: ${lightGrey$i};
|
|
5468
5470
|
}
|
|
5469
5471
|
|
|
5470
5472
|
&:hover {
|
|
@@ -5570,10 +5572,10 @@ const Wrapper$f = _styled__default.div`
|
|
|
5570
5572
|
}
|
|
5571
5573
|
`;
|
|
5572
5574
|
const {
|
|
5573
|
-
grey: grey$
|
|
5574
|
-
darkGrey: darkGrey$
|
|
5575
|
-
light: light$
|
|
5576
|
-
|
|
5575
|
+
grey: grey$l,
|
|
5576
|
+
darkGrey: darkGrey$2,
|
|
5577
|
+
light: light$h,
|
|
5578
|
+
purple500: purple500$4
|
|
5577
5579
|
} = colors;
|
|
5578
5580
|
const Field = _styled__default.div`
|
|
5579
5581
|
display: flex;
|
|
@@ -5587,7 +5589,7 @@ const Field = _styled__default.div`
|
|
|
5587
5589
|
outline: none;
|
|
5588
5590
|
|
|
5589
5591
|
+ button {
|
|
5590
|
-
background-color: ${
|
|
5592
|
+
background-color: ${purple500$4};
|
|
5591
5593
|
}
|
|
5592
5594
|
}
|
|
5593
5595
|
}
|
|
@@ -5600,7 +5602,7 @@ const Field = _styled__default.div`
|
|
|
5600
5602
|
button {
|
|
5601
5603
|
border: 0;
|
|
5602
5604
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} 0;
|
|
5603
|
-
background-color: ${grey$
|
|
5605
|
+
background-color: ${grey$l};
|
|
5604
5606
|
min-width: ${/*#__PURE__*/polished.rem('50px')};
|
|
5605
5607
|
height: ${/*#__PURE__*/polished.rem('50px')};
|
|
5606
5608
|
display: flex;
|
|
@@ -5616,12 +5618,12 @@ const Field = _styled__default.div`
|
|
|
5616
5618
|
width: auto;
|
|
5617
5619
|
min-width: ${/*#__PURE__*/polished.rem('20px')};
|
|
5618
5620
|
height: ${/*#__PURE__*/polished.rem('20px')};
|
|
5619
|
-
fill: ${light$
|
|
5621
|
+
fill: ${light$h};
|
|
5620
5622
|
transition: 0.3s;
|
|
5621
5623
|
}
|
|
5622
5624
|
|
|
5623
5625
|
&:hover {
|
|
5624
|
-
background-color: ${darkGrey$
|
|
5626
|
+
background-color: ${darkGrey$2};
|
|
5625
5627
|
}
|
|
5626
5628
|
|
|
5627
5629
|
&:disabled {
|
|
@@ -5629,7 +5631,7 @@ const Field = _styled__default.div`
|
|
|
5629
5631
|
opacity: 0.5;
|
|
5630
5632
|
|
|
5631
5633
|
&:hover {
|
|
5632
|
-
background-color: ${grey$
|
|
5634
|
+
background-color: ${grey$l};
|
|
5633
5635
|
pointer-events: none;
|
|
5634
5636
|
}
|
|
5635
5637
|
}
|
|
@@ -5675,23 +5677,23 @@ const FieldWidthButton = props => {
|
|
|
5675
5677
|
};
|
|
5676
5678
|
|
|
5677
5679
|
const {
|
|
5678
|
-
normal: normal$
|
|
5679
|
-
|
|
5680
|
-
grey: grey$
|
|
5681
|
-
lightGrey: lightGrey$
|
|
5682
|
-
light: light$
|
|
5680
|
+
normal: normal$e,
|
|
5681
|
+
purple500: purple500$5,
|
|
5682
|
+
grey: grey$m,
|
|
5683
|
+
lightGrey: lightGrey$j,
|
|
5684
|
+
light: light$i
|
|
5683
5685
|
} = colors;
|
|
5684
5686
|
const {
|
|
5685
|
-
bold: bold$
|
|
5686
|
-
} =
|
|
5687
|
+
bold: bold$8
|
|
5688
|
+
} = typography;
|
|
5687
5689
|
const Wrapper$g = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5688
5690
|
displayName: "styles__Wrapper",
|
|
5689
5691
|
componentId: "znznmm-0"
|
|
5690
|
-
})(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:0.3s;svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:0.3s;}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('10px'), normal$
|
|
5692
|
+
})(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:0.3s;svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:0.3s;}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/polished.rem('10px'), /*#__PURE__*/polished.rem('10px'), normal$e, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), grey$m, props => props.customColor ? props.customColor : purple500$5, props => props.customColor ? props.customColor : purple500$5, bold$8, props => props.customColor ? props.customColor : purple500$5);
|
|
5691
5693
|
const More = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5692
5694
|
displayName: "styles__More",
|
|
5693
5695
|
componentId: "znznmm-1"
|
|
5694
|
-
})(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);-webkit-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], /*#__PURE__*/polished.rem('1px'), lightGrey$
|
|
5696
|
+
})(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);-webkit-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], /*#__PURE__*/polished.rem('1px'), lightGrey$j, /*#__PURE__*/polished.rem('4px'), light$i, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), lightGrey$j, normal$e, normal$e, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('15px'));
|
|
5695
5697
|
|
|
5696
5698
|
const HorizontalNav = props => {
|
|
5697
5699
|
const [showMore, setShowMore] = React.useState(false);
|
|
@@ -5768,11 +5770,11 @@ const HorizontalNav = props => {
|
|
|
5768
5770
|
};
|
|
5769
5771
|
|
|
5770
5772
|
const {
|
|
5771
|
-
light: light$
|
|
5773
|
+
light: light$j
|
|
5772
5774
|
} = colors;
|
|
5773
5775
|
const {
|
|
5774
|
-
bold: bold$
|
|
5775
|
-
} =
|
|
5776
|
+
bold: bold$9
|
|
5777
|
+
} = typography;
|
|
5776
5778
|
const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5777
5779
|
displayName: "styles__ModalOverlay",
|
|
5778
5780
|
componentId: "sc-16r6vcc-0"
|
|
@@ -5784,11 +5786,11 @@ const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5784
5786
|
const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5785
5787
|
displayName: "styles__ModalContainer",
|
|
5786
5788
|
componentId: "sc-16r6vcc-2"
|
|
5787
|
-
})(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:0.3s;@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], light$
|
|
5789
|
+
})(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:0.3s;@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], light$j, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('860px'), /*#__PURE__*/polished.rem('1px'));
|
|
5788
5790
|
const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5789
5791
|
displayName: "styles__ModalHeader",
|
|
5790
5792
|
componentId: "sc-16r6vcc-3"
|
|
5791
|
-
})(["display:flex;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;background-color:", ";z-index:1;&:hover{background-color:", ";}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('30px'), bold$
|
|
5793
|
+
})(["display:flex;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;background-color:", ";z-index:1;&:hover{background-color:", ";}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('30px'), bold$9, /*#__PURE__*/polished.rem('-18px'), /*#__PURE__*/polished.rem('-18px'), light$j, light$j, device.s);
|
|
5792
5794
|
|
|
5793
5795
|
const Modal = props => {
|
|
5794
5796
|
const {
|
|
@@ -5839,11 +5841,11 @@ const Modal = props => {
|
|
|
5839
5841
|
};
|
|
5840
5842
|
|
|
5841
5843
|
const {
|
|
5842
|
-
light: light$
|
|
5844
|
+
light: light$k
|
|
5843
5845
|
} = colors;
|
|
5844
5846
|
const {
|
|
5845
|
-
bold: bold$
|
|
5846
|
-
} =
|
|
5847
|
+
bold: bold$a
|
|
5848
|
+
} = typography;
|
|
5847
5849
|
const slideInLeft = _styled.keyframes`
|
|
5848
5850
|
from {
|
|
5849
5851
|
transform: translateX(100%);
|
|
@@ -5864,11 +5866,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5864
5866
|
const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5865
5867
|
displayName: "styles__ModalContainer",
|
|
5866
5868
|
componentId: "sc-46huls-2"
|
|
5867
|
-
})(["position:fixed;right:0;background:", ";width:100%;height:100vh;height:calc(var(--vh,1vh) * 100);display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translateX(100%);animation-name:", ";overflow-y:auto;@media ", "{max-width:", ";padding:", ";}"], light$
|
|
5869
|
+
})(["position:fixed;right:0;background:", ";width:100%;height:100vh;height:calc(var(--vh,1vh) * 100);display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translateX(100%);animation-name:", ";overflow-y:auto;@media ", "{max-width:", ";padding:", ";}"], light$k, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/polished.rem('400px'), /*#__PURE__*/polished.rem('30px'));
|
|
5868
5870
|
const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5869
5871
|
displayName: "styles__ModalHeader",
|
|
5870
5872
|
componentId: "sc-46huls-3"
|
|
5871
|
-
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$
|
|
5873
|
+
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$a);
|
|
5872
5874
|
const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5873
5875
|
displayName: "styles__ModalContent",
|
|
5874
5876
|
componentId: "sc-46huls-4"
|
|
@@ -5919,7 +5921,7 @@ const ModalDrawer = props => {
|
|
|
5919
5921
|
};
|
|
5920
5922
|
|
|
5921
5923
|
const {
|
|
5922
|
-
lightGrey: lightGrey$
|
|
5924
|
+
lightGrey: lightGrey$k
|
|
5923
5925
|
} = colors;
|
|
5924
5926
|
const Wrapper$h = _styled__default.div`
|
|
5925
5927
|
div {
|
|
@@ -5982,7 +5984,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
5982
5984
|
|
|
5983
5985
|
.card {
|
|
5984
5986
|
position: relative;
|
|
5985
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$
|
|
5987
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$k};
|
|
5986
5988
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
5987
5989
|
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
5988
5990
|
overflow: hidden;
|
|
@@ -5997,7 +5999,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
5997
5999
|
margin: ${/*#__PURE__*/polished.rem('-45px')} 0 0 ${/*#__PURE__*/polished.rem('20px')};
|
|
5998
6000
|
width: ${/*#__PURE__*/polished.rem('90px')};
|
|
5999
6001
|
height: ${/*#__PURE__*/polished.rem('90px')};
|
|
6000
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$
|
|
6002
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$k};
|
|
6001
6003
|
border-radius: 999px;
|
|
6002
6004
|
}
|
|
6003
6005
|
|
|
@@ -6142,26 +6144,26 @@ const LoadingState = props => {
|
|
|
6142
6144
|
};
|
|
6143
6145
|
|
|
6144
6146
|
const {
|
|
6145
|
-
normal: normal$
|
|
6146
|
-
grey: grey$
|
|
6147
|
-
lightGrey: lightGrey$
|
|
6148
|
-
light: light$
|
|
6147
|
+
normal: normal$f,
|
|
6148
|
+
grey: grey$n,
|
|
6149
|
+
lightGrey: lightGrey$l,
|
|
6150
|
+
light: light$l
|
|
6149
6151
|
} = colors;
|
|
6150
6152
|
const Wrapper$i = _styled__default.div`
|
|
6151
6153
|
.tab {
|
|
6152
|
-
border-color: ${lightGrey$
|
|
6154
|
+
border-color: ${lightGrey$l};
|
|
6153
6155
|
|
|
6154
6156
|
&[aria-selected='true'] {
|
|
6155
6157
|
border-bottom: 0;
|
|
6156
6158
|
}
|
|
6157
6159
|
|
|
6158
6160
|
&[aria-selected='false'] {
|
|
6159
|
-
background-color: ${lightGrey$
|
|
6160
|
-
color: ${grey$
|
|
6161
|
+
background-color: ${lightGrey$l};
|
|
6162
|
+
color: ${grey$n};
|
|
6161
6163
|
transition-duration: 0.3s;
|
|
6162
6164
|
|
|
6163
6165
|
&:hover {
|
|
6164
|
-
color: ${normal$
|
|
6166
|
+
color: ${normal$f};
|
|
6165
6167
|
}
|
|
6166
6168
|
}
|
|
6167
6169
|
|
|
@@ -6176,8 +6178,8 @@ const Wrapper$i = _styled__default.div`
|
|
|
6176
6178
|
|
|
6177
6179
|
.panel {
|
|
6178
6180
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')};
|
|
6179
|
-
border-color: ${lightGrey$
|
|
6180
|
-
background-color: ${light$
|
|
6181
|
+
border-color: ${lightGrey$l};
|
|
6182
|
+
background-color: ${light$l};
|
|
6181
6183
|
padding: ${/*#__PURE__*/polished.rem('30px')};
|
|
6182
6184
|
}
|
|
6183
6185
|
|
|
@@ -6197,7 +6199,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6197
6199
|
.RRT__tab {
|
|
6198
6200
|
background: #eee;
|
|
6199
6201
|
border-style: solid;
|
|
6200
|
-
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6202
|
+
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
|
|
6201
6203
|
border-width: ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} 0;
|
|
6202
6204
|
cursor: pointer;
|
|
6203
6205
|
z-index: 1;
|
|
@@ -6207,7 +6209,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6207
6209
|
|
|
6208
6210
|
.RRT__tab:focus {
|
|
6209
6211
|
outline: 0;
|
|
6210
|
-
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6212
|
+
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
|
|
6211
6213
|
}
|
|
6212
6214
|
|
|
6213
6215
|
.RRT__accordion .RRT__tab {
|
|
@@ -6219,12 +6221,12 @@ const Wrapper$i = _styled__default.div`
|
|
|
6219
6221
|
}
|
|
6220
6222
|
|
|
6221
6223
|
.RRT__tab--selected {
|
|
6222
|
-
background: ${light$
|
|
6223
|
-
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6224
|
+
background: ${light$l};
|
|
6225
|
+
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)} ${/*#__PURE__*/polished.lighten(0.25, grey$n)} ${light$l};
|
|
6224
6226
|
}
|
|
6225
6227
|
|
|
6226
6228
|
.RRT__tab--selected:focus {
|
|
6227
|
-
background-color: ${light$
|
|
6229
|
+
background-color: ${light$l};
|
|
6228
6230
|
}
|
|
6229
6231
|
|
|
6230
6232
|
.RRT__tab--disabled {
|
|
@@ -6254,7 +6256,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6254
6256
|
.RRT__panel {
|
|
6255
6257
|
margin-top: ${/*#__PURE__*/polished.rem('-1px')};
|
|
6256
6258
|
padding: 1em;
|
|
6257
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6259
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
|
|
6258
6260
|
}
|
|
6259
6261
|
|
|
6260
6262
|
.RRT__panel--hidden {
|
|
@@ -6266,8 +6268,8 @@ const Wrapper$i = _styled__default.div`
|
|
|
6266
6268
|
}
|
|
6267
6269
|
|
|
6268
6270
|
.RRT__showmore {
|
|
6269
|
-
background: ${lightGrey$
|
|
6270
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6271
|
+
background: ${lightGrey$l};
|
|
6272
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
|
|
6271
6273
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} 0 0;
|
|
6272
6274
|
cursor: pointer;
|
|
6273
6275
|
z-index: 1;
|
|
@@ -6277,7 +6279,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6277
6279
|
}
|
|
6278
6280
|
|
|
6279
6281
|
.RRT__showmore--selected {
|
|
6280
|
-
background: ${light$
|
|
6282
|
+
background: ${light$l};
|
|
6281
6283
|
border-bottom: none;
|
|
6282
6284
|
}
|
|
6283
6285
|
|
|
@@ -6288,7 +6290,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6288
6290
|
}
|
|
6289
6291
|
|
|
6290
6292
|
.RRT__showmore-label--selected {
|
|
6291
|
-
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6293
|
+
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$n)};
|
|
6292
6294
|
}
|
|
6293
6295
|
|
|
6294
6296
|
.RRT__showmore-list {
|