@taikai/rocket-kit 2.0.0-beta.9 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -5
- package/dist/atoms/button/stories/button.stories.d.ts +50 -0
- package/dist/atoms/button/types.d.ts +1 -1
- package/dist/atoms/button-dropdown/index.d.ts +1 -1
- package/dist/atoms/button-dropdown/stories/button-dropdown.stories.d.ts +47 -0
- package/dist/atoms/button-link/stories/button-link.stories.d.ts +53 -0
- package/dist/atoms/select-interactive/components/index.d.ts +6 -0
- package/dist/atoms/select-interactive/index.d.ts +2 -1
- package/dist/atoms/select-interactive/stories/select-interactive.stories.d.ts +9 -9
- package/dist/atoms/select-interactive/styles.d.ts +1 -0
- package/dist/atoms/select-interactive/types.d.ts +34 -0
- package/dist/atoms/tag/index.d.ts +1 -1
- package/dist/atoms/tag/stories/tag.stories.d.ts +30 -0
- package/dist/atoms/tag/types.d.ts +1 -1
- package/dist/ions/variables.d.ts +1 -0
- package/dist/rocket-kit.cjs.development.js +214 -141
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +241 -213
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +214 -141
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +9 -9
|
@@ -25,6 +25,7 @@ const colors = {
|
|
|
25
25
|
normal: '#000000',
|
|
26
26
|
light: '#ffffff',
|
|
27
27
|
blue: '#4250e4',
|
|
28
|
+
darkBlue: '#1825AD',
|
|
28
29
|
orange: '#ff6a2c',
|
|
29
30
|
darkOrange: /*#__PURE__*/polished.darken(0.2, '#ff6a2c'),
|
|
30
31
|
red: '#ef5766',
|
|
@@ -132,10 +133,13 @@ const {
|
|
|
132
133
|
red,
|
|
133
134
|
darkRed,
|
|
134
135
|
purple,
|
|
135
|
-
darkPurple
|
|
136
|
+
darkPurple,
|
|
137
|
+
blue,
|
|
138
|
+
darkBlue
|
|
136
139
|
} = colors;
|
|
137
140
|
const {
|
|
138
|
-
bold
|
|
141
|
+
bold,
|
|
142
|
+
medium
|
|
139
143
|
} = fontWeight;
|
|
140
144
|
const pulseKeyframes = _styled.keyframes`
|
|
141
145
|
0% {
|
|
@@ -151,7 +155,7 @@ const pulseKeyframes = _styled.keyframes`
|
|
|
151
155
|
const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
|
|
152
156
|
displayName: "styles__ButtonWrapper",
|
|
153
157
|
componentId: "baestp-0"
|
|
154
|
-
})(["--button:", ";--txt:", ";--hover:", ";", " ", " ", " ", " ", " ", " ", " ", " ", " border-width:", ";border-style:solid;border-color:var(--button);border-radius:", ";background-color:", ";width:", ";height:", ";display:flex;justify-content:center;align-items:center;padding:", ";text-transform:uppercase;white-space:nowrap;transition-duration:0.3s;cursor:pointer;@media ", "{min-width:", ";}&: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:0.75rem;font-weight:", ";color:", ";pointer-events:none;transition-duration:0.3s;order:", ";}svg{order:", ";width:auto;min-width:", ";height:", ";fill:", ";transition:0.3s;}", ""], green, light, darkGreen, props => props.color === 'green' && _styled.css`
|
|
158
|
+
})(["--button:", ";--txt:", ";--hover:", ";", " ", " ", " ", " ", " ", " ", " ", " ", " ", " border-width:", ";border-style:solid;border-color:var(--button);border-radius:", ";background-color:", ";width:", ";height:", ";display:flex;justify-content:center;align-items:center;padding:", ";text-transform:uppercase;white-space:nowrap;transition-duration:0.3s;cursor:pointer;@media ", "{min-width:", ";}&: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:0.75rem;font-weight:", ";letter-spacing:1px;color:", ";pointer-events:none;transition-duration:0.3s;order:", ";}svg{order:", ";width:auto;min-width:", ";height:", ";fill:", ";transition:0.3s;}", ""], green, light, darkGreen, props => props.color === 'green' && _styled.css`
|
|
155
159
|
--button: ${green};
|
|
156
160
|
--hover: ${darkGreen};
|
|
157
161
|
`, props => props.color === 'orange' && _styled.css`
|
|
@@ -163,6 +167,9 @@ const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
|
|
|
163
167
|
`, props => props.color === 'grey' && _styled.css`
|
|
164
168
|
--button: ${grey$1};
|
|
165
169
|
--hover: ${darkGrey};
|
|
170
|
+
`, props => props.color === 'blue' && _styled.css`
|
|
171
|
+
--button: ${blue};
|
|
172
|
+
--hover: ${darkBlue};
|
|
166
173
|
`, props => props.color === 'purple' && _styled.css`
|
|
167
174
|
--button: ${purple};
|
|
168
175
|
--hover: ${darkPurple};
|
|
@@ -180,7 +187,7 @@ const ButtonWrapper = /*#__PURE__*/_styled__default.button.withConfig({
|
|
|
180
187
|
`, props => props.color === 'magic' && _styled.css`
|
|
181
188
|
--button: ${light};
|
|
182
189
|
--hover: ${lightGrey};
|
|
183
|
-
`, 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('
|
|
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`
|
|
184
191
|
position: relative;
|
|
185
192
|
background-image: linear-gradient(to bottom right, #ef5867, #5031a8);
|
|
186
193
|
height: ${polished.rem('60px')};
|
|
@@ -363,15 +370,18 @@ const {
|
|
|
363
370
|
red: red$1,
|
|
364
371
|
darkRed: darkRed$1,
|
|
365
372
|
purple: purple$1,
|
|
366
|
-
darkPurple: darkPurple$1
|
|
373
|
+
darkPurple: darkPurple$1,
|
|
374
|
+
blue: blue$1,
|
|
375
|
+
darkBlue: darkBlue$1
|
|
367
376
|
} = colors;
|
|
368
377
|
const {
|
|
369
|
-
bold: bold$1
|
|
378
|
+
bold: bold$1,
|
|
379
|
+
medium: medium$1
|
|
370
380
|
} = fontWeight;
|
|
371
381
|
const ButtonLinkStyle = /*#__PURE__*/_styled__default.a.withConfig({
|
|
372
382
|
displayName: "styles__ButtonLinkStyle",
|
|
373
383
|
componentId: "clge7v-0"
|
|
374
|
-
})(["--button:", ";--txt:", ";--hover:", ";", " ", " ", " ", " ", " ", " ", " ", " ", " border-width:", ";border-style:solid;border-color:var(--button);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:0.3s;cursor:pointer;@media ", "{min-width:", ";}&:hover{border-color:", ";background-color:", ";span{color:", ";}svg{fill:", ";}}> *:not(:last-child){margin-left:", ";margin-right:", ";}span{position:relative;font-size:0.75rem;font-weight:", ";color:", ";pointer-events:none;transition-duration:0.3s;order:", ";}svg{order:", ";width:auto;min-width:", ";height:", ";fill:", ";transition:0.3s;}", ""], green$1, light$2, darkGreen$1, props => props.color === 'green' && _styled.css`
|
|
384
|
+
})(["--button:", ";--txt:", ";--hover:", ";", " ", " ", " ", " ", " ", " ", " ", " ", " ", " border-width:", ";border-style:solid;border-color:var(--button);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:0.3s;cursor:pointer;@media ", "{min-width:", ";}&:hover{border-color:", ";background-color:", ";span{color:", ";}svg{fill:", ";}}> *:not(:last-child){margin-left:", ";margin-right:", ";}span{position:relative;font-size:0.75rem;font-weight:", ";letter-spacing:1px;color:", ";pointer-events:none;transition-duration:0.3s;order:", ";}svg{order:", ";width:auto;min-width:", ";height:", ";fill:", ";transition:0.3s;}", ""], green$1, light$2, darkGreen$1, props => props.color === 'green' && _styled.css`
|
|
375
385
|
--button: ${green$1};
|
|
376
386
|
--hover: ${darkGreen$1};
|
|
377
387
|
`, props => props.color === 'orange' && _styled.css`
|
|
@@ -393,6 +403,9 @@ const ButtonLinkStyle = /*#__PURE__*/_styled__default.a.withConfig({
|
|
|
393
403
|
`, props => props.color === 'dark' && _styled.css`
|
|
394
404
|
--button: ${normal$2};
|
|
395
405
|
--hover: ${darkGrey$1};
|
|
406
|
+
`, props => props.color === 'blue' && _styled.css`
|
|
407
|
+
--button: ${blue$1};
|
|
408
|
+
--hover: ${darkBlue$1};
|
|
396
409
|
`, props => props.color === 'pulse' && _styled.css`
|
|
397
410
|
--button: ${red$1};
|
|
398
411
|
--hover: ${darkRed$1};
|
|
@@ -400,7 +413,7 @@ const ButtonLinkStyle = /*#__PURE__*/_styled__default.a.withConfig({
|
|
|
400
413
|
`, props => props.color === 'magic' && _styled.css`
|
|
401
414
|
--button: ${light$2};
|
|
402
415
|
--hover: ${lightGrey$2};
|
|
403
|
-
`, 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('
|
|
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`
|
|
404
417
|
position: relative;
|
|
405
418
|
background-image: linear-gradient(to bottom right, #ef5867, #5031a8);
|
|
406
419
|
height: ${polished.rem('60px')};
|
|
@@ -762,7 +775,8 @@ const icons = {
|
|
|
762
775
|
"ledger": 'M3 21.0526V27.4139H12.6806V26.0048H4.4172V21.0526H3ZM3 5.00808V11.3532H4.4172V6.40912H12.6887V5L3 5.00808Z M29 21.0526V27.4139H19.3167V26.0048H27.5882V21.0526H29ZM29 5.00808V11.3532H27.5882V6.40912H19.3167V5L29 5.00808Z M14.1841 11.3612H12.7749V21.0445H19.1362V19.7728H14.1841V11.3612Z',
|
|
763
776
|
"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',
|
|
764
777
|
"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',
|
|
765
|
-
"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'
|
|
778
|
+
"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'
|
|
766
780
|
};
|
|
767
781
|
|
|
768
782
|
const {
|
|
@@ -1028,16 +1042,20 @@ const Spinner = props => {
|
|
|
1028
1042
|
};
|
|
1029
1043
|
|
|
1030
1044
|
const {
|
|
1045
|
+
normal: normal$5,
|
|
1031
1046
|
light: light$7,
|
|
1032
1047
|
grey: grey$b,
|
|
1033
1048
|
green: green$5,
|
|
1034
1049
|
orange: orange$2,
|
|
1035
1050
|
red: red$7
|
|
1036
1051
|
} = colors;
|
|
1052
|
+
const {
|
|
1053
|
+
bold: bold$3
|
|
1054
|
+
} = fontWeight;
|
|
1037
1055
|
const TagWrapper = /*#__PURE__*/_styled__default.span.withConfig({
|
|
1038
1056
|
displayName: "styles__TagWrapper",
|
|
1039
1057
|
componentId: "sc-1ghratr-0"
|
|
1040
|
-
})(["display:inline-block;border:", " solid ", ";border-radius:
|
|
1058
|
+
})(["display:inline-block;border:", " solid ", ";border-radius:", ";background-color:", ";max-width:", ";padding:", " ", ";font-size:", ";font-weight:", ";letter-spacing:0.1em;line-height:1;color:", ";white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;", " ", " ", " ", " ", " ", ""], /*#__PURE__*/polished.rem('2px'), grey$b, /*#__PURE__*/polished.rem('3px'), grey$b, /*#__PURE__*/polished.rem('150px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('8px'), /*#__PURE__*/polished.rem('12px'), bold$3, light$7, props => props.color === 'green' && _styled.css`
|
|
1041
1059
|
border-color: ${green$5};
|
|
1042
1060
|
background-color: ${green$5};
|
|
1043
1061
|
color: ${props.variant === 'solid' ? light$7 : green$5};
|
|
@@ -1053,6 +1071,10 @@ const TagWrapper = /*#__PURE__*/_styled__default.span.withConfig({
|
|
|
1053
1071
|
border-color: ${grey$b};
|
|
1054
1072
|
background-color: ${grey$b};
|
|
1055
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};
|
|
1056
1078
|
`, props => props.variant === 'outline' && _styled.css`
|
|
1057
1079
|
background-color: transparent;
|
|
1058
1080
|
`);
|
|
@@ -1079,12 +1101,12 @@ const {
|
|
|
1079
1101
|
light: light$8
|
|
1080
1102
|
} = colors;
|
|
1081
1103
|
const {
|
|
1082
|
-
bold: bold$
|
|
1104
|
+
bold: bold$4
|
|
1083
1105
|
} = fontWeight;
|
|
1084
1106
|
const TagWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
1085
1107
|
displayName: "styles__TagWrapper",
|
|
1086
1108
|
componentId: "db57da-0"
|
|
1087
|
-
})(["display:flex;border:", " solid ", ";border-radius:", ";
|
|
1109
|
+
})(["display:flex;border:", " solid ", ";border-radius:", ";line-height:1;max-width:100%;width:max-content;overflow:hidden;span{display:inline-block;padding:", " ", ";font-size:", ";font-weight:", ";letter-spacing:0.1em;&.label{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;text-transform:uppercase;}&.value{background-color:", ";font-weight:", ";color:", ";}}&:not(:first-child){margin-left:", ";}"], /*#__PURE__*/polished.rem('2px'), grey$c, /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('3px'), /*#__PURE__*/polished.rem('8px'), /*#__PURE__*/polished.rem('12px'), bold$4, grey$c, bold$4, light$8, /*#__PURE__*/polished.rem('5px'));
|
|
1088
1110
|
|
|
1089
1111
|
const TagNumber = props => {
|
|
1090
1112
|
const {
|
|
@@ -1230,9 +1252,10 @@ const Select = props => {
|
|
|
1230
1252
|
};
|
|
1231
1253
|
|
|
1232
1254
|
const {
|
|
1233
|
-
normal: normal$
|
|
1255
|
+
normal: normal$6,
|
|
1234
1256
|
light: light$9,
|
|
1235
1257
|
grey: grey$d,
|
|
1258
|
+
lightGrey: lightGrey$8,
|
|
1236
1259
|
purple: purple$5,
|
|
1237
1260
|
lightPurple
|
|
1238
1261
|
} = colors;
|
|
@@ -1267,11 +1290,11 @@ const SelectWrapper = _styled__default.div`
|
|
|
1267
1290
|
}
|
|
1268
1291
|
|
|
1269
1292
|
&__input {
|
|
1270
|
-
color: ${normal$
|
|
1293
|
+
color: ${normal$6};
|
|
1271
1294
|
}
|
|
1272
1295
|
|
|
1273
1296
|
&__single-value {
|
|
1274
|
-
color: ${normal$
|
|
1297
|
+
color: ${normal$6};
|
|
1275
1298
|
}
|
|
1276
1299
|
|
|
1277
1300
|
&__indicator {
|
|
@@ -1310,7 +1333,7 @@ const SelectWrapper = _styled__default.div`
|
|
|
1310
1333
|
|
|
1311
1334
|
&--is-selected {
|
|
1312
1335
|
background-color: ${lightPurple};
|
|
1313
|
-
color: ${normal$
|
|
1336
|
+
color: ${normal$6};
|
|
1314
1337
|
}
|
|
1315
1338
|
}
|
|
1316
1339
|
}
|
|
@@ -1338,7 +1361,7 @@ const SelectWrapper = _styled__default.div`
|
|
|
1338
1361
|
|
|
1339
1362
|
.select__option--is-selected {
|
|
1340
1363
|
svg {
|
|
1341
|
-
fill: ${normal$
|
|
1364
|
+
fill: ${normal$6};
|
|
1342
1365
|
transition-duration: 0.3s;
|
|
1343
1366
|
}
|
|
1344
1367
|
}
|
|
@@ -1349,64 +1372,92 @@ const SelectWrapper = _styled__default.div`
|
|
|
1349
1372
|
transition-duration: 0.3s;
|
|
1350
1373
|
}
|
|
1351
1374
|
}
|
|
1352
|
-
`;
|
|
1353
|
-
|
|
1354
|
-
const SelectInteractive = props => {
|
|
1355
|
-
const {
|
|
1356
|
-
name,
|
|
1357
|
-
multi = false,
|
|
1358
|
-
search = true,
|
|
1359
|
-
placeholder,
|
|
1360
|
-
options,
|
|
1361
|
-
value,
|
|
1362
|
-
clear = true,
|
|
1363
|
-
onChange = () => {},
|
|
1364
|
-
onInputChange = () => {},
|
|
1365
|
-
error,
|
|
1366
|
-
disabled = false,
|
|
1367
|
-
dataTestId
|
|
1368
|
-
} = props;
|
|
1369
|
-
const {
|
|
1370
|
-
Option
|
|
1371
|
-
} = Select$1.components;
|
|
1372
1375
|
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
}
|
|
1376
|
+
.select__option--is-disabled {
|
|
1377
|
+
pointer-events: none;
|
|
1378
|
+
}
|
|
1379
|
+
`;
|
|
1380
|
+
const SelectGroupLabel = _styled__default.span`
|
|
1381
|
+
font-size: ${/*#__PURE__*/polished.rem('12px')};
|
|
1382
|
+
color: ${lightGrey$8};
|
|
1376
1383
|
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1384
|
+
+ .tag {
|
|
1385
|
+
border-color: ${lightGrey$8};
|
|
1386
|
+
background-color: ${lightGrey$8};
|
|
1387
|
+
color: ${grey$d};
|
|
1388
|
+
}
|
|
1389
|
+
`;
|
|
1380
1390
|
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1391
|
+
const {
|
|
1392
|
+
Option
|
|
1393
|
+
} = Select$1.components;
|
|
1394
|
+
const FormatGroupLabel = ({
|
|
1395
|
+
label,
|
|
1396
|
+
options
|
|
1397
|
+
}) => {
|
|
1398
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
1399
|
+
style: {
|
|
1400
|
+
display: 'flex',
|
|
1401
|
+
alignItems: 'center',
|
|
1402
|
+
justifyContent: 'space-between'
|
|
1403
|
+
}
|
|
1404
|
+
}, /*#__PURE__*/React__default.createElement(SelectGroupLabel, {
|
|
1405
|
+
className: "selective-options-group-label"
|
|
1406
|
+
}, label), /*#__PURE__*/React__default.createElement(Tag, {
|
|
1407
|
+
value: `${options == null ? void 0 : options.length}`
|
|
1408
|
+
}));
|
|
1409
|
+
};
|
|
1410
|
+
const CustomSelectOption = (props, commonProps) => /*#__PURE__*/React__default.createElement(Option, Object.assign({}, props, commonProps), props.data.icon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
1411
|
+
icon: props.data.icon
|
|
1412
|
+
}) : props.data.customImage ? props.data.customImage : null, props.data.label);
|
|
1413
|
+
const CustomSelectValue = props => /*#__PURE__*/React__default.createElement("div", null, props.data.icon ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
1414
|
+
icon: props.data.icon
|
|
1415
|
+
}) : props.data.customImage ? props.data.customImage : null, props.data.label);
|
|
1416
|
+
|
|
1417
|
+
const SelectInteractive = ({
|
|
1418
|
+
name,
|
|
1419
|
+
multi = false,
|
|
1420
|
+
search = true,
|
|
1421
|
+
placeholder,
|
|
1422
|
+
options,
|
|
1423
|
+
value,
|
|
1424
|
+
clear = true,
|
|
1425
|
+
error,
|
|
1426
|
+
disabled = false,
|
|
1427
|
+
formatGroupLabel = true,
|
|
1428
|
+
onChange = () => {},
|
|
1429
|
+
onInputChange = () => {},
|
|
1430
|
+
...rest
|
|
1431
|
+
}) => {
|
|
1432
|
+
return /*#__PURE__*/React__default.createElement(SelectWrapper, Object.assign({}, rest), /*#__PURE__*/React__default.createElement(Select$1__default, {
|
|
1386
1433
|
name: name,
|
|
1434
|
+
value: value,
|
|
1387
1435
|
isMulti: multi,
|
|
1388
|
-
isSearchable: search,
|
|
1389
|
-
isDisabled: disabled,
|
|
1390
|
-
placeholder: placeholder,
|
|
1391
1436
|
options: options,
|
|
1392
|
-
value: value,
|
|
1393
1437
|
isClearable: clear,
|
|
1394
|
-
|
|
1438
|
+
isDisabled: disabled,
|
|
1439
|
+
isSearchable: search,
|
|
1440
|
+
classNamePrefix: "select",
|
|
1441
|
+
placeholder: placeholder,
|
|
1442
|
+
className: "select-interactive",
|
|
1443
|
+
// @ts-ignore
|
|
1444
|
+
onChange: e => onChange(e != null ? e : []),
|
|
1395
1445
|
defaultMenuIsOpen: false,
|
|
1396
1446
|
onInputChange: onInputChange,
|
|
1397
1447
|
components: {
|
|
1398
1448
|
Option: CustomSelectOption,
|
|
1399
1449
|
SingleValue: CustomSelectValue
|
|
1400
|
-
}
|
|
1450
|
+
},
|
|
1451
|
+
formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel == null ? void 0 : FormatGroupLabel(s) : undefined
|
|
1401
1452
|
}), error ? /*#__PURE__*/React__default.createElement(ErrorField, {
|
|
1402
1453
|
error: error
|
|
1403
1454
|
}) : null);
|
|
1404
1455
|
};
|
|
1405
1456
|
|
|
1406
1457
|
const {
|
|
1407
|
-
normal: normal$
|
|
1458
|
+
normal: normal$7,
|
|
1408
1459
|
grey: grey$e,
|
|
1409
|
-
lightGrey: lightGrey$
|
|
1460
|
+
lightGrey: lightGrey$9,
|
|
1410
1461
|
red: red$8,
|
|
1411
1462
|
lightRed
|
|
1412
1463
|
} = colors;
|
|
@@ -1421,7 +1472,12 @@ const Wrapper$2 = _styled__default.div`
|
|
|
1421
1472
|
input {
|
|
1422
1473
|
flex: 1;
|
|
1423
1474
|
border: 0;
|
|
1424
|
-
color: ${props => props.error ? red$8 : normal$
|
|
1475
|
+
color: ${props => props.error ? red$8 : normal$7};
|
|
1476
|
+
|
|
1477
|
+
&:disabled {
|
|
1478
|
+
margin: 0;
|
|
1479
|
+
border-radius: 0;
|
|
1480
|
+
}
|
|
1425
1481
|
}
|
|
1426
1482
|
|
|
1427
1483
|
& + span {
|
|
@@ -1432,7 +1488,7 @@ const Appendix = _styled__default.div`
|
|
|
1432
1488
|
border-width: ${props => props.position === 'left' ? `0 ${polished.rem('1px')} 0 0` : `0 0 0 ${polished.rem('1px')}`};
|
|
1433
1489
|
border-style: solid;
|
|
1434
1490
|
border-color: ${props => props.error ? red$8 : grey$e};
|
|
1435
|
-
background-color: ${props => props.error ? lightRed : lightGrey$
|
|
1491
|
+
background-color: ${props => props.error ? lightRed : lightGrey$9};
|
|
1436
1492
|
padding: 0 ${/*#__PURE__*/polished.rem('15px')};
|
|
1437
1493
|
color: ${props => props.error ? red$8 : grey$e};
|
|
1438
1494
|
line-height: ${/*#__PURE__*/polished.rem('48px')};
|
|
@@ -1933,11 +1989,11 @@ const VideoPlayer = props => {
|
|
|
1933
1989
|
};
|
|
1934
1990
|
|
|
1935
1991
|
const {
|
|
1936
|
-
lightGrey: lightGrey$
|
|
1992
|
+
lightGrey: lightGrey$a,
|
|
1937
1993
|
green: green$6
|
|
1938
1994
|
} = colors;
|
|
1939
1995
|
const {
|
|
1940
|
-
bold: bold$
|
|
1996
|
+
bold: bold$5
|
|
1941
1997
|
} = fontWeight;
|
|
1942
1998
|
const Wrapper$5 = _styled__default.div`
|
|
1943
1999
|
display: flex;
|
|
@@ -1946,7 +2002,7 @@ const Wrapper$5 = _styled__default.div`
|
|
|
1946
2002
|
const Bar = _styled__default.div`
|
|
1947
2003
|
flex: 1;
|
|
1948
2004
|
border-radius: 999px;
|
|
1949
|
-
background-color: ${lightGrey$
|
|
2005
|
+
background-color: ${lightGrey$a};
|
|
1950
2006
|
height: ${/*#__PURE__*/polished.rem('10px')};
|
|
1951
2007
|
overflow: hidden;
|
|
1952
2008
|
`;
|
|
@@ -1960,7 +2016,7 @@ const Progress = _styled__default.div`
|
|
|
1960
2016
|
const Value = _styled__default.div`
|
|
1961
2017
|
margin-left: ${/*#__PURE__*/polished.rem('5px')};
|
|
1962
2018
|
font-size: 0.75rem;
|
|
1963
|
-
font-weight: ${bold$
|
|
2019
|
+
font-weight: ${bold$5};
|
|
1964
2020
|
`;
|
|
1965
2021
|
|
|
1966
2022
|
const ProgressBar = props => {
|
|
@@ -1976,7 +2032,7 @@ const ProgressBar = props => {
|
|
|
1976
2032
|
const {
|
|
1977
2033
|
light: light$b,
|
|
1978
2034
|
green: green$7,
|
|
1979
|
-
lightGrey: lightGrey$
|
|
2035
|
+
lightGrey: lightGrey$b
|
|
1980
2036
|
} = colors;
|
|
1981
2037
|
const Switcher = _styled__default.fieldset`
|
|
1982
2038
|
margin: 0;
|
|
@@ -2035,7 +2091,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2035
2091
|
}
|
|
2036
2092
|
|
|
2037
2093
|
&.switch-off:checked ~ .bg {
|
|
2038
|
-
background-color: ${lightGrey$
|
|
2094
|
+
background-color: ${lightGrey$b};
|
|
2039
2095
|
}
|
|
2040
2096
|
}
|
|
2041
2097
|
|
|
@@ -2063,7 +2119,7 @@ const Switcher = _styled__default.fieldset`
|
|
|
2063
2119
|
border-radius: 999px;
|
|
2064
2120
|
background-color: transparent;
|
|
2065
2121
|
transition: all 0.3s ease-out;
|
|
2066
|
-
background-color: ${lightGrey$
|
|
2122
|
+
background-color: ${lightGrey$b};
|
|
2067
2123
|
}
|
|
2068
2124
|
}
|
|
2069
2125
|
}
|
|
@@ -2153,12 +2209,12 @@ const Toggle = ({
|
|
|
2153
2209
|
const {
|
|
2154
2210
|
red: red$9,
|
|
2155
2211
|
grey: grey$f,
|
|
2156
|
-
lightGrey: lightGrey$
|
|
2212
|
+
lightGrey: lightGrey$c,
|
|
2157
2213
|
darkGrey: darkGrey$2,
|
|
2158
2214
|
green: green$8,
|
|
2159
2215
|
darkGreen: darkGreen$4,
|
|
2160
2216
|
light: light$c,
|
|
2161
|
-
normal: normal$
|
|
2217
|
+
normal: normal$8
|
|
2162
2218
|
} = colors;
|
|
2163
2219
|
const Wrapper$6 = _styled__default.div`
|
|
2164
2220
|
input {
|
|
@@ -2176,7 +2232,7 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2176
2232
|
border-style: solid;
|
|
2177
2233
|
border-color: ${props => props.error ? red$9 : grey$f};
|
|
2178
2234
|
border-radius: ${props => props.minimal ? 0 : polished.rem('6px')};
|
|
2179
|
-
background-color: ${props => props.disabled ? lightGrey$
|
|
2235
|
+
background-color: ${props => props.disabled ? lightGrey$c : 'transparent'};
|
|
2180
2236
|
display: flex;
|
|
2181
2237
|
justify-content: space-between;
|
|
2182
2238
|
align-items: center;
|
|
@@ -2196,7 +2252,7 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2196
2252
|
flex: 1;
|
|
2197
2253
|
display: block;
|
|
2198
2254
|
padding: ${props => props.minimal ? 0 : `0 ${polished.rem('10px')}`};
|
|
2199
|
-
color: ${props => props.disabled ? grey$f : normal$
|
|
2255
|
+
color: ${props => props.disabled ? grey$f : normal$8};
|
|
2200
2256
|
white-space: nowrap;
|
|
2201
2257
|
overflow: hidden;
|
|
2202
2258
|
text-overflow: ellipsis;
|
|
@@ -2204,7 +2260,7 @@ const Wrapper$6 = _styled__default.div`
|
|
|
2204
2260
|
|
|
2205
2261
|
&.button {
|
|
2206
2262
|
border-left: ${props => props.minimal ? 0 : `${polished.rem('1px')} solid ${grey$f}`};
|
|
2207
|
-
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$
|
|
2263
|
+
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$c : green$8};
|
|
2208
2264
|
height: 100%;
|
|
2209
2265
|
padding: ${props => props.minimal ? `0 ${polished.rem('5px')} 0 ${polished.rem('20px')}` : `0 ${polished.rem('20px')}`};
|
|
2210
2266
|
color: ${props => props.disabled ? grey$f : props.minimal ? darkGrey$2 : light$c};
|
|
@@ -2285,9 +2341,9 @@ const FilePicker = props => {
|
|
|
2285
2341
|
};
|
|
2286
2342
|
|
|
2287
2343
|
const {
|
|
2288
|
-
normal: normal$
|
|
2344
|
+
normal: normal$9,
|
|
2289
2345
|
light: light$d,
|
|
2290
|
-
lightGrey: lightGrey$
|
|
2346
|
+
lightGrey: lightGrey$d,
|
|
2291
2347
|
red: red$a
|
|
2292
2348
|
} = colors;
|
|
2293
2349
|
const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
@@ -2297,11 +2353,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2297
2353
|
const List = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
2298
2354
|
displayName: "styles__List",
|
|
2299
2355
|
componentId: "sc-1peafop-1"
|
|
2300
|
-
})(["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$
|
|
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$d, /*#__PURE__*/polished.rem('4px'), light$d, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('200px'), /*#__PURE__*/polished.rem('250px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$9), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$9), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.lighten(0.7, normal$9), props => props.rowIndex != undefined && _styled.css`
|
|
2301
2357
|
--margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
|
|
2302
2358
|
top: var(--margin);
|
|
2303
2359
|
right: ${polished.rem('5px')};
|
|
2304
|
-
`, /*#__PURE__*/polished.rem('45px'), lightGrey$
|
|
2360
|
+
`, /*#__PURE__*/polished.rem('45px'), lightGrey$d, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('1px'), lightGrey$d, red$a, lightGrey$d, /*#__PURE__*/polished.rem('20px'), normal$9);
|
|
2305
2361
|
|
|
2306
2362
|
const ActionMenuList = props => {
|
|
2307
2363
|
const {
|
|
@@ -2415,7 +2471,7 @@ const {
|
|
|
2415
2471
|
light: light$f
|
|
2416
2472
|
} = colors;
|
|
2417
2473
|
const {
|
|
2418
|
-
bold: bold$
|
|
2474
|
+
bold: bold$6
|
|
2419
2475
|
} = fontWeight;
|
|
2420
2476
|
const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2421
2477
|
displayName: "styles__EmptyTableWrapper",
|
|
@@ -2424,7 +2480,7 @@ const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2424
2480
|
const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2425
2481
|
displayName: "styles__EmptyTableHead",
|
|
2426
2482
|
componentId: "sc-1dgsb9l-1"
|
|
2427
|
-
})(["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$h, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), bold$
|
|
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$h, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), bold$6, grey$h, /*#__PURE__*/polished.rem('15px'), bold$6, grey$h, device.s, device.m, device.l);
|
|
2428
2484
|
const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2429
2485
|
displayName: "styles__EmptyTableBody",
|
|
2430
2486
|
componentId: "sc-1dgsb9l-2"
|
|
@@ -2504,7 +2560,7 @@ const {
|
|
|
2504
2560
|
lightGreen,
|
|
2505
2561
|
darkGreen: darkGreen$5,
|
|
2506
2562
|
grey: grey$i,
|
|
2507
|
-
lightGrey: lightGrey$
|
|
2563
|
+
lightGrey: lightGrey$e,
|
|
2508
2564
|
darkGrey: darkGrey$3,
|
|
2509
2565
|
red: red$b,
|
|
2510
2566
|
lightRed: lightRed$1,
|
|
@@ -2513,9 +2569,9 @@ const {
|
|
|
2513
2569
|
const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2514
2570
|
displayName: "styles__Wrapper",
|
|
2515
2571
|
componentId: "d2fn4g-0"
|
|
2516
|
-
})(["--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$i, lightGrey$
|
|
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$i, lightGrey$e, darkGrey$3, props => props.color === 'grey' && _styled.css`
|
|
2517
2573
|
--default: ${grey$i};
|
|
2518
|
-
--light: ${lightGrey$
|
|
2574
|
+
--light: ${lightGrey$e};
|
|
2519
2575
|
--dark: ${darkGrey$3};
|
|
2520
2576
|
`, props => props.color === 'green' && _styled.css`
|
|
2521
2577
|
--default: ${green$9};
|
|
@@ -2583,13 +2639,13 @@ function hasValue(value) {
|
|
|
2583
2639
|
}
|
|
2584
2640
|
|
|
2585
2641
|
const {
|
|
2586
|
-
normal: normal$
|
|
2642
|
+
normal: normal$a,
|
|
2587
2643
|
light: light$g,
|
|
2588
2644
|
grey: grey$j,
|
|
2589
|
-
lightGrey: lightGrey$
|
|
2645
|
+
lightGrey: lightGrey$f
|
|
2590
2646
|
} = colors;
|
|
2591
2647
|
const {
|
|
2592
|
-
bold: bold$
|
|
2648
|
+
bold: bold$7
|
|
2593
2649
|
} = fontWeight;
|
|
2594
2650
|
const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2595
2651
|
displayName: "styles__TableWrapper",
|
|
@@ -2602,7 +2658,7 @@ const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2602
2658
|
const Table = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2603
2659
|
displayName: "styles__Table",
|
|
2604
2660
|
componentId: "vmoy3z-2"
|
|
2605
|
-
})(["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$j, /*#__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$j, /*#__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$
|
|
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$j, /*#__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$j, /*#__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$7, grey$j, lightGrey$f, device.s, /*#__PURE__*/polished.rem('1px'), grey$j, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), normal$a, grey$j, /*#__PURE__*/polished.rem('15px'), bold$7, /*#__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$j, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
|
|
2606
2662
|
|
|
2607
2663
|
const Table$1 = props => {
|
|
2608
2664
|
const {
|
|
@@ -2702,17 +2758,17 @@ const Table$1 = props => {
|
|
|
2702
2758
|
};
|
|
2703
2759
|
|
|
2704
2760
|
const {
|
|
2705
|
-
normal: normal$
|
|
2761
|
+
normal: normal$b,
|
|
2706
2762
|
grey: grey$k,
|
|
2707
|
-
lightGrey: lightGrey$
|
|
2763
|
+
lightGrey: lightGrey$g
|
|
2708
2764
|
} = colors;
|
|
2709
2765
|
const {
|
|
2710
|
-
bold: bold$
|
|
2766
|
+
bold: bold$8
|
|
2711
2767
|
} = fontWeight;
|
|
2712
2768
|
const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2713
2769
|
displayName: "styles__Table",
|
|
2714
2770
|
componentId: "sc-1p618q0-0"
|
|
2715
|
-
})(["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$k, /*#__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$k, /*#__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$
|
|
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$k, /*#__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$k, /*#__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$8, grey$k, lightGrey$g, grey$k, device.s, /*#__PURE__*/polished.rem('1px'), grey$k, /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), grey$k, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('30px'), normal$b, grey$k, /*#__PURE__*/polished.rem('15px'), bold$8, /*#__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$k, /*#__PURE__*/polished.rem('100px'), /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('40px'));
|
|
2716
2772
|
const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
|
|
2717
2773
|
displayName: "styles__TableRow",
|
|
2718
2774
|
componentId: "sc-1p618q0-1"
|
|
@@ -2878,14 +2934,14 @@ const TableDnD = props => {
|
|
|
2878
2934
|
};
|
|
2879
2935
|
|
|
2880
2936
|
const {
|
|
2881
|
-
normal: normal$
|
|
2937
|
+
normal: normal$c,
|
|
2882
2938
|
grey: grey$l,
|
|
2883
2939
|
red: red$c
|
|
2884
2940
|
} = colors;
|
|
2885
2941
|
const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2886
2942
|
displayName: "styles__Wrapper",
|
|
2887
2943
|
componentId: "mbja2a-0"
|
|
2888
|
-
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? red$c : grey$l, props => props.error ? red$c : normal$
|
|
2944
|
+
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? red$c : grey$l, props => props.error ? red$c : normal$c, /*#__PURE__*/polished.rem('15px'));
|
|
2889
2945
|
|
|
2890
2946
|
const FormGroup = props => {
|
|
2891
2947
|
const {
|
|
@@ -2904,13 +2960,13 @@ const FormGroup = props => {
|
|
|
2904
2960
|
|
|
2905
2961
|
const {
|
|
2906
2962
|
grey: grey$m,
|
|
2907
|
-
lightGrey: lightGrey$
|
|
2963
|
+
lightGrey: lightGrey$h,
|
|
2908
2964
|
lightRed: lightRed$2
|
|
2909
2965
|
} = colors;
|
|
2910
2966
|
const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2911
2967
|
displayName: "styles__Wrapper",
|
|
2912
2968
|
componentId: "sc-124afcu-0"
|
|
2913
|
-
})(["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$m, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), lightGrey$
|
|
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$m, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('50px'), lightGrey$h);
|
|
2914
2970
|
const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
2915
2971
|
displayName: "styles__Input",
|
|
2916
2972
|
componentId: "sc-124afcu-1"
|
|
@@ -2918,7 +2974,7 @@ const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
|
2918
2974
|
const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
|
|
2919
2975
|
displayName: "styles__Button",
|
|
2920
2976
|
componentId: "sc-124afcu-2"
|
|
2921
|
-
})(["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$
|
|
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$h, /*#__PURE__*/polished.rem('1px'), grey$m, /*#__PURE__*/polished.rem('1px'), grey$m, /*#__PURE__*/polished.rem('20px'), grey$m, lightGrey$h);
|
|
2922
2978
|
|
|
2923
2979
|
const NumberInputSpinner = props => {
|
|
2924
2980
|
const {
|
|
@@ -2986,7 +3042,7 @@ const NumberInputSpinner = props => {
|
|
|
2986
3042
|
const {
|
|
2987
3043
|
green: green$a,
|
|
2988
3044
|
grey: grey$n,
|
|
2989
|
-
lightGrey: lightGrey$
|
|
3045
|
+
lightGrey: lightGrey$i,
|
|
2990
3046
|
light: light$i
|
|
2991
3047
|
} = colors;
|
|
2992
3048
|
const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
@@ -2996,7 +3052,7 @@ const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
|
2996
3052
|
const Step = /*#__PURE__*/_styled__default.li.withConfig({
|
|
2997
3053
|
displayName: "styles__Step",
|
|
2998
3054
|
componentId: "sc-1s2dhfy-1"
|
|
2999
|
-
})(["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$a : lightGrey$
|
|
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$a : lightGrey$i, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$a : lightGrey$i, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), props => props.active ? green$a : lightGrey$i, props => props.active ? light$i : grey$n, device.s);
|
|
3000
3056
|
|
|
3001
3057
|
const WizardSteps = props => {
|
|
3002
3058
|
const {
|
|
@@ -3127,13 +3183,13 @@ const AlertNotification = props => {
|
|
|
3127
3183
|
};
|
|
3128
3184
|
|
|
3129
3185
|
const {
|
|
3130
|
-
normal: normal$
|
|
3186
|
+
normal: normal$d,
|
|
3131
3187
|
light: light$k,
|
|
3132
|
-
blue,
|
|
3133
|
-
lightGrey: lightGrey$
|
|
3188
|
+
blue: blue$2,
|
|
3189
|
+
lightGrey: lightGrey$j
|
|
3134
3190
|
} = colors;
|
|
3135
3191
|
const {
|
|
3136
|
-
bold: bold$
|
|
3192
|
+
bold: bold$9
|
|
3137
3193
|
} = fontWeight;
|
|
3138
3194
|
const PaginationWrapper = _styled__default.div`
|
|
3139
3195
|
--size: ${/*#__PURE__*/polished.rem('30px')};
|
|
@@ -3175,18 +3231,18 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3175
3231
|
display: flex;
|
|
3176
3232
|
justify-content: center;
|
|
3177
3233
|
align-items: center;
|
|
3178
|
-
color: ${normal$
|
|
3179
|
-
font-weight: ${bold$
|
|
3234
|
+
color: ${normal$d};
|
|
3235
|
+
font-weight: ${bold$9};
|
|
3180
3236
|
text-decoration: none;
|
|
3181
3237
|
|
|
3182
3238
|
&:hover {
|
|
3183
|
-
color: ${blue};
|
|
3239
|
+
color: ${blue$2};
|
|
3184
3240
|
}
|
|
3185
3241
|
|
|
3186
3242
|
svg {
|
|
3187
3243
|
width: ${/*#__PURE__*/polished.rem('18px')};
|
|
3188
3244
|
height: auto;
|
|
3189
|
-
fill: ${blue};
|
|
3245
|
+
fill: ${blue$2};
|
|
3190
3246
|
}
|
|
3191
3247
|
}
|
|
3192
3248
|
|
|
@@ -3194,7 +3250,7 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3194
3250
|
pointer-events: none;
|
|
3195
3251
|
|
|
3196
3252
|
a {
|
|
3197
|
-
background-color: ${blue};
|
|
3253
|
+
background-color: ${blue$2};
|
|
3198
3254
|
color: ${light$k};
|
|
3199
3255
|
}
|
|
3200
3256
|
}
|
|
@@ -3202,7 +3258,7 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3202
3258
|
|
|
3203
3259
|
&.dark {
|
|
3204
3260
|
a {
|
|
3205
|
-
color: ${lightGrey$
|
|
3261
|
+
color: ${lightGrey$j};
|
|
3206
3262
|
|
|
3207
3263
|
&:hover {
|
|
3208
3264
|
color: ${light$k};
|
|
@@ -3264,11 +3320,11 @@ const PaginationControl = props => {
|
|
|
3264
3320
|
};
|
|
3265
3321
|
|
|
3266
3322
|
const {
|
|
3267
|
-
normal: normal$
|
|
3323
|
+
normal: normal$e,
|
|
3268
3324
|
green: green$c
|
|
3269
3325
|
} = colors;
|
|
3270
3326
|
const {
|
|
3271
|
-
bold: bold$
|
|
3327
|
+
bold: bold$a
|
|
3272
3328
|
} = fontWeight;
|
|
3273
3329
|
const Wrapper$b = _styled__default.div`
|
|
3274
3330
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
@@ -3286,11 +3342,11 @@ const Wrapper$b = _styled__default.div`
|
|
|
3286
3342
|
|
|
3287
3343
|
> span {
|
|
3288
3344
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3289
|
-
font-weight: ${bold$
|
|
3290
|
-
color: ${normal$
|
|
3345
|
+
font-weight: ${bold$a};
|
|
3346
|
+
color: ${normal$e};
|
|
3291
3347
|
|
|
3292
3348
|
a {
|
|
3293
|
-
color: ${normal$
|
|
3349
|
+
color: ${normal$e};
|
|
3294
3350
|
transition-duration: 0.3s;
|
|
3295
3351
|
|
|
3296
3352
|
&:hover {
|
|
@@ -3314,11 +3370,11 @@ const Error = props => {
|
|
|
3314
3370
|
};
|
|
3315
3371
|
|
|
3316
3372
|
const {
|
|
3317
|
-
normal: normal$
|
|
3373
|
+
normal: normal$f,
|
|
3318
3374
|
green: green$d
|
|
3319
3375
|
} = colors;
|
|
3320
3376
|
const {
|
|
3321
|
-
bold: bold$
|
|
3377
|
+
bold: bold$b
|
|
3322
3378
|
} = fontWeight;
|
|
3323
3379
|
const Wrapper$c = _styled__default.div`
|
|
3324
3380
|
min-height: 50vh;
|
|
@@ -3336,11 +3392,11 @@ const Wrapper$c = _styled__default.div`
|
|
|
3336
3392
|
|
|
3337
3393
|
> div {
|
|
3338
3394
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3339
|
-
font-weight: ${bold$
|
|
3340
|
-
color: ${normal$
|
|
3395
|
+
font-weight: ${bold$b};
|
|
3396
|
+
color: ${normal$f};
|
|
3341
3397
|
|
|
3342
3398
|
a {
|
|
3343
|
-
color: ${normal$
|
|
3399
|
+
color: ${normal$f};
|
|
3344
3400
|
transition-duration: 0.3s;
|
|
3345
3401
|
|
|
3346
3402
|
&:hover {
|
|
@@ -5312,11 +5368,11 @@ const DataWarning = props => {
|
|
|
5312
5368
|
};
|
|
5313
5369
|
|
|
5314
5370
|
const {
|
|
5315
|
-
normal: normal$
|
|
5371
|
+
normal: normal$g,
|
|
5316
5372
|
green: green$e,
|
|
5317
5373
|
darkGreen: darkGreen$7,
|
|
5318
5374
|
grey: grey$o,
|
|
5319
|
-
lightGrey: lightGrey$
|
|
5375
|
+
lightGrey: lightGrey$k,
|
|
5320
5376
|
red: red$e
|
|
5321
5377
|
} = colors;
|
|
5322
5378
|
const Wrapper$d = _styled__default.ul`
|
|
@@ -5394,7 +5450,7 @@ const Item = _styled__default.li`
|
|
|
5394
5450
|
}
|
|
5395
5451
|
|
|
5396
5452
|
&:hover .check {
|
|
5397
|
-
border-color: ${normal$
|
|
5453
|
+
border-color: ${normal$g};
|
|
5398
5454
|
}
|
|
5399
5455
|
|
|
5400
5456
|
${props => props.disabled && _styled.css`
|
|
@@ -5404,11 +5460,11 @@ const Item = _styled__default.li`
|
|
|
5404
5460
|
|
|
5405
5461
|
input[type='radio'] ~ .check,
|
|
5406
5462
|
input[type='radio']:checked ~ .check {
|
|
5407
|
-
border-color: ${lightGrey$
|
|
5463
|
+
border-color: ${lightGrey$k};
|
|
5408
5464
|
}
|
|
5409
5465
|
|
|
5410
5466
|
input[type='radio']:checked ~ .check::before {
|
|
5411
|
-
background-color: ${lightGrey$
|
|
5467
|
+
background-color: ${lightGrey$k};
|
|
5412
5468
|
}
|
|
5413
5469
|
|
|
5414
5470
|
&:hover {
|
|
@@ -5619,23 +5675,23 @@ const FieldWidthButton = props => {
|
|
|
5619
5675
|
};
|
|
5620
5676
|
|
|
5621
5677
|
const {
|
|
5622
|
-
normal: normal$
|
|
5678
|
+
normal: normal$h,
|
|
5623
5679
|
purple: purple$7,
|
|
5624
5680
|
grey: grey$q,
|
|
5625
|
-
lightGrey: lightGrey$
|
|
5681
|
+
lightGrey: lightGrey$l,
|
|
5626
5682
|
light: light$m
|
|
5627
5683
|
} = colors;
|
|
5628
5684
|
const {
|
|
5629
|
-
bold: bold$
|
|
5685
|
+
bold: bold$c
|
|
5630
5686
|
} = fontWeight;
|
|
5631
5687
|
const Wrapper$g = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5632
5688
|
displayName: "styles__Wrapper",
|
|
5633
5689
|
componentId: "znznmm-0"
|
|
5634
|
-
})(["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$
|
|
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$h, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('24px'), /*#__PURE__*/polished.rem('24px'), grey$q, props => props.customColor ? props.customColor : purple$7, props => props.customColor ? props.customColor : purple$7, bold$c, props => props.customColor ? props.customColor : purple$7);
|
|
5635
5691
|
const More = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5636
5692
|
displayName: "styles__More",
|
|
5637
5693
|
componentId: "znznmm-1"
|
|
5638
|
-
})(["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$
|
|
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$l, /*#__PURE__*/polished.rem('4px'), light$m, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), lightGrey$l, normal$h, normal$h, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('15px'));
|
|
5639
5695
|
|
|
5640
5696
|
const HorizontalNav = props => {
|
|
5641
5697
|
const [showMore, setShowMore] = React.useState(false);
|
|
@@ -5715,7 +5771,7 @@ const {
|
|
|
5715
5771
|
light: light$n
|
|
5716
5772
|
} = colors;
|
|
5717
5773
|
const {
|
|
5718
|
-
bold: bold$
|
|
5774
|
+
bold: bold$d
|
|
5719
5775
|
} = fontWeight;
|
|
5720
5776
|
const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5721
5777
|
displayName: "styles__ModalOverlay",
|
|
@@ -5732,7 +5788,7 @@ const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5732
5788
|
const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5733
5789
|
displayName: "styles__ModalHeader",
|
|
5734
5790
|
componentId: "sc-16r6vcc-3"
|
|
5735
|
-
})(["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$
|
|
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$d, /*#__PURE__*/polished.rem('-18px'), /*#__PURE__*/polished.rem('-18px'), light$n, light$n, device.s);
|
|
5736
5792
|
|
|
5737
5793
|
const Modal = props => {
|
|
5738
5794
|
const {
|
|
@@ -5786,15 +5842,15 @@ const {
|
|
|
5786
5842
|
light: light$o
|
|
5787
5843
|
} = colors;
|
|
5788
5844
|
const {
|
|
5789
|
-
bold: bold$
|
|
5845
|
+
bold: bold$e
|
|
5790
5846
|
} = fontWeight;
|
|
5791
5847
|
const slideInLeft = _styled.keyframes`
|
|
5792
5848
|
from {
|
|
5793
|
-
transform:
|
|
5849
|
+
transform: translateX(100%);
|
|
5794
5850
|
}
|
|
5795
5851
|
|
|
5796
5852
|
to {
|
|
5797
|
-
transform:
|
|
5853
|
+
transform: translateX(0);
|
|
5798
5854
|
}
|
|
5799
5855
|
`;
|
|
5800
5856
|
const ModalOverlay$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
@@ -5808,11 +5864,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5808
5864
|
const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5809
5865
|
displayName: "styles__ModalContainer",
|
|
5810
5866
|
componentId: "sc-46huls-2"
|
|
5811
|
-
})(["position:
|
|
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$o, /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/polished.rem('400px'), /*#__PURE__*/polished.rem('30px'));
|
|
5812
5868
|
const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5813
5869
|
displayName: "styles__ModalHeader",
|
|
5814
5870
|
componentId: "sc-46huls-3"
|
|
5815
|
-
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$
|
|
5871
|
+
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$e);
|
|
5816
5872
|
const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5817
5873
|
displayName: "styles__ModalContent",
|
|
5818
5874
|
componentId: "sc-46huls-4"
|
|
@@ -5829,6 +5885,23 @@ const ModalDrawer = props => {
|
|
|
5829
5885
|
footerHidden = false,
|
|
5830
5886
|
zIndex = 10
|
|
5831
5887
|
} = props;
|
|
5888
|
+
React.useEffect(() => {
|
|
5889
|
+
const fixViewport = () => {
|
|
5890
|
+
let vh = window.innerHeight * 0.01;
|
|
5891
|
+
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
5892
|
+
};
|
|
5893
|
+
|
|
5894
|
+
fixViewport();
|
|
5895
|
+
|
|
5896
|
+
if (typeof window !== 'undefined') {
|
|
5897
|
+
let vh = window.innerHeight * 0.01;
|
|
5898
|
+
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
5899
|
+
window.addEventListener('resize', fixViewport);
|
|
5900
|
+
return () => window.removeEventListener('resize', fixViewport);
|
|
5901
|
+
}
|
|
5902
|
+
|
|
5903
|
+
return;
|
|
5904
|
+
}, []);
|
|
5832
5905
|
return isShowing ? /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement(ModalOverlay$1, {
|
|
5833
5906
|
zIndex: zIndex
|
|
5834
5907
|
}), /*#__PURE__*/React__default.createElement(ModalWrapper$1, {
|
|
@@ -5846,7 +5919,7 @@ const ModalDrawer = props => {
|
|
|
5846
5919
|
};
|
|
5847
5920
|
|
|
5848
5921
|
const {
|
|
5849
|
-
lightGrey: lightGrey$
|
|
5922
|
+
lightGrey: lightGrey$m
|
|
5850
5923
|
} = colors;
|
|
5851
5924
|
const Wrapper$h = _styled__default.div`
|
|
5852
5925
|
div {
|
|
@@ -5909,7 +5982,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
5909
5982
|
|
|
5910
5983
|
.card {
|
|
5911
5984
|
position: relative;
|
|
5912
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$
|
|
5985
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$m};
|
|
5913
5986
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
5914
5987
|
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
5915
5988
|
overflow: hidden;
|
|
@@ -5924,7 +5997,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
5924
5997
|
margin: ${/*#__PURE__*/polished.rem('-45px')} 0 0 ${/*#__PURE__*/polished.rem('20px')};
|
|
5925
5998
|
width: ${/*#__PURE__*/polished.rem('90px')};
|
|
5926
5999
|
height: ${/*#__PURE__*/polished.rem('90px')};
|
|
5927
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$
|
|
6000
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$m};
|
|
5928
6001
|
border-radius: 999px;
|
|
5929
6002
|
}
|
|
5930
6003
|
|
|
@@ -6069,26 +6142,26 @@ const LoadingState = props => {
|
|
|
6069
6142
|
};
|
|
6070
6143
|
|
|
6071
6144
|
const {
|
|
6072
|
-
normal: normal$
|
|
6145
|
+
normal: normal$i,
|
|
6073
6146
|
grey: grey$r,
|
|
6074
|
-
lightGrey: lightGrey$
|
|
6147
|
+
lightGrey: lightGrey$n,
|
|
6075
6148
|
light: light$p
|
|
6076
6149
|
} = colors;
|
|
6077
6150
|
const Wrapper$i = _styled__default.div`
|
|
6078
6151
|
.tab {
|
|
6079
|
-
border-color: ${lightGrey$
|
|
6152
|
+
border-color: ${lightGrey$n};
|
|
6080
6153
|
|
|
6081
6154
|
&[aria-selected='true'] {
|
|
6082
6155
|
border-bottom: 0;
|
|
6083
6156
|
}
|
|
6084
6157
|
|
|
6085
6158
|
&[aria-selected='false'] {
|
|
6086
|
-
background-color: ${lightGrey$
|
|
6159
|
+
background-color: ${lightGrey$n};
|
|
6087
6160
|
color: ${grey$r};
|
|
6088
6161
|
transition-duration: 0.3s;
|
|
6089
6162
|
|
|
6090
6163
|
&:hover {
|
|
6091
|
-
color: ${normal$
|
|
6164
|
+
color: ${normal$i};
|
|
6092
6165
|
}
|
|
6093
6166
|
}
|
|
6094
6167
|
|
|
@@ -6103,7 +6176,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6103
6176
|
|
|
6104
6177
|
.panel {
|
|
6105
6178
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')};
|
|
6106
|
-
border-color: ${lightGrey$
|
|
6179
|
+
border-color: ${lightGrey$n};
|
|
6107
6180
|
background-color: ${light$p};
|
|
6108
6181
|
padding: ${/*#__PURE__*/polished.rem('30px')};
|
|
6109
6182
|
}
|
|
@@ -6193,7 +6266,7 @@ const Wrapper$i = _styled__default.div`
|
|
|
6193
6266
|
}
|
|
6194
6267
|
|
|
6195
6268
|
.RRT__showmore {
|
|
6196
|
-
background: ${lightGrey$
|
|
6269
|
+
background: ${lightGrey$n};
|
|
6197
6270
|
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$r)};
|
|
6198
6271
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} 0 0;
|
|
6199
6272
|
cursor: pointer;
|