@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
package/dist/rocket-kit.esm.js
CHANGED
|
@@ -16,6 +16,7 @@ const colors = {
|
|
|
16
16
|
normal: '#000000',
|
|
17
17
|
light: '#ffffff',
|
|
18
18
|
blue: '#4250e4',
|
|
19
|
+
darkBlue: '#1825AD',
|
|
19
20
|
orange: '#ff6a2c',
|
|
20
21
|
darkOrange: /*#__PURE__*/darken(0.2, '#ff6a2c'),
|
|
21
22
|
red: '#ef5766',
|
|
@@ -123,10 +124,13 @@ const {
|
|
|
123
124
|
red,
|
|
124
125
|
darkRed,
|
|
125
126
|
purple,
|
|
126
|
-
darkPurple
|
|
127
|
+
darkPurple,
|
|
128
|
+
blue,
|
|
129
|
+
darkBlue
|
|
127
130
|
} = colors;
|
|
128
131
|
const {
|
|
129
|
-
bold
|
|
132
|
+
bold,
|
|
133
|
+
medium
|
|
130
134
|
} = fontWeight;
|
|
131
135
|
const pulseKeyframes = keyframes`
|
|
132
136
|
0% {
|
|
@@ -142,7 +146,7 @@ const pulseKeyframes = keyframes`
|
|
|
142
146
|
const ButtonWrapper = /*#__PURE__*/_styled.button.withConfig({
|
|
143
147
|
displayName: "styles__ButtonWrapper",
|
|
144
148
|
componentId: "baestp-0"
|
|
145
|
-
})(["--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' && css`
|
|
149
|
+
})(["--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' && css`
|
|
146
150
|
--button: ${green};
|
|
147
151
|
--hover: ${darkGreen};
|
|
148
152
|
`, props => props.color === 'orange' && css`
|
|
@@ -154,6 +158,9 @@ const ButtonWrapper = /*#__PURE__*/_styled.button.withConfig({
|
|
|
154
158
|
`, props => props.color === 'grey' && css`
|
|
155
159
|
--button: ${grey$1};
|
|
156
160
|
--hover: ${darkGrey};
|
|
161
|
+
`, props => props.color === 'blue' && css`
|
|
162
|
+
--button: ${blue};
|
|
163
|
+
--hover: ${darkBlue};
|
|
157
164
|
`, props => props.color === 'purple' && css`
|
|
158
165
|
--button: ${purple};
|
|
159
166
|
--hover: ${darkPurple};
|
|
@@ -171,7 +178,7 @@ const ButtonWrapper = /*#__PURE__*/_styled.button.withConfig({
|
|
|
171
178
|
`, props => props.color === 'magic' && css`
|
|
172
179
|
--button: ${light};
|
|
173
180
|
--hover: ${lightGrey};
|
|
174
|
-
`, props => props.variant === 'outline' ? '3px' : 0, props => props.variant === 'text' ? 0 : '999px', props => props.variant === 'solid' ? 'var(--button)' : 'transparent', props => props.value ? props.circle ? rem('
|
|
181
|
+
`, props => props.variant === 'outline' ? '3px' : 0, props => props.variant === 'text' ? 0 : '999px', props => props.variant === 'solid' ? 'var(--button)' : 'transparent', props => props.value ? props.circle ? rem('32px') : 'min-content' : rem('32px'), /*#__PURE__*/rem('32px'), props => props.value ? props.circle ? 0 : `0 ${rem('20px')}` : 0, device.l, props => props.value ? rem('100px') : 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__*/rem('20px'), /*#__PURE__*/rem('20px'), props => props.variant === 'solid' ? 'var(--txt)' : 'var(--button)', props => props.color === 'magic' && css`
|
|
175
182
|
position: relative;
|
|
176
183
|
background-image: linear-gradient(to bottom right, #ef5867, #5031a8);
|
|
177
184
|
height: ${rem('60px')};
|
|
@@ -354,15 +361,18 @@ const {
|
|
|
354
361
|
red: red$1,
|
|
355
362
|
darkRed: darkRed$1,
|
|
356
363
|
purple: purple$1,
|
|
357
|
-
darkPurple: darkPurple$1
|
|
364
|
+
darkPurple: darkPurple$1,
|
|
365
|
+
blue: blue$1,
|
|
366
|
+
darkBlue: darkBlue$1
|
|
358
367
|
} = colors;
|
|
359
368
|
const {
|
|
360
|
-
bold: bold$1
|
|
369
|
+
bold: bold$1,
|
|
370
|
+
medium: medium$1
|
|
361
371
|
} = fontWeight;
|
|
362
372
|
const ButtonLinkStyle = /*#__PURE__*/_styled.a.withConfig({
|
|
363
373
|
displayName: "styles__ButtonLinkStyle",
|
|
364
374
|
componentId: "clge7v-0"
|
|
365
|
-
})(["--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' && css`
|
|
375
|
+
})(["--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' && css`
|
|
366
376
|
--button: ${green$1};
|
|
367
377
|
--hover: ${darkGreen$1};
|
|
368
378
|
`, props => props.color === 'orange' && css`
|
|
@@ -384,6 +394,9 @@ const ButtonLinkStyle = /*#__PURE__*/_styled.a.withConfig({
|
|
|
384
394
|
`, props => props.color === 'dark' && css`
|
|
385
395
|
--button: ${normal$2};
|
|
386
396
|
--hover: ${darkGrey$1};
|
|
397
|
+
`, props => props.color === 'blue' && css`
|
|
398
|
+
--button: ${blue$1};
|
|
399
|
+
--hover: ${darkBlue$1};
|
|
387
400
|
`, props => props.color === 'pulse' && css`
|
|
388
401
|
--button: ${red$1};
|
|
389
402
|
--hover: ${darkRed$1};
|
|
@@ -391,7 +404,7 @@ const ButtonLinkStyle = /*#__PURE__*/_styled.a.withConfig({
|
|
|
391
404
|
`, props => props.color === 'magic' && css`
|
|
392
405
|
--button: ${light$2};
|
|
393
406
|
--hover: ${lightGrey$2};
|
|
394
|
-
`, props => props.variant === 'outline' ? '3px' : 0, props => props.variant === 'text' ? 0 : '999px', props => props.variant === 'solid' ? 'var(--button)' : 'transparent', props => props.value ? rem('80px') : rem('
|
|
407
|
+
`, props => props.variant === 'outline' ? '3px' : 0, props => props.variant === 'text' ? 0 : '999px', props => props.variant === 'solid' ? 'var(--button)' : 'transparent', props => props.value ? rem('80px') : rem('32px'), /*#__PURE__*/rem('32px'), props => props.value ? `0 ${rem('20px')}` : 0, device.l, props => props.value ? rem('100px') : 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__*/rem('20px'), /*#__PURE__*/rem('20px'), props => props.variant === 'solid' ? 'var(--txt)' : 'var(--button)', props => props.color === 'magic' && css`
|
|
395
408
|
position: relative;
|
|
396
409
|
background-image: linear-gradient(to bottom right, #ef5867, #5031a8);
|
|
397
410
|
height: ${rem('60px')};
|
|
@@ -753,7 +766,8 @@ const icons = {
|
|
|
753
766
|
"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',
|
|
754
767
|
"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',
|
|
755
768
|
"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',
|
|
756
|
-
"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'
|
|
769
|
+
"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',
|
|
770
|
+
"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'
|
|
757
771
|
};
|
|
758
772
|
|
|
759
773
|
const {
|
|
@@ -1019,16 +1033,20 @@ const Spinner = props => {
|
|
|
1019
1033
|
};
|
|
1020
1034
|
|
|
1021
1035
|
const {
|
|
1036
|
+
normal: normal$5,
|
|
1022
1037
|
light: light$7,
|
|
1023
1038
|
grey: grey$b,
|
|
1024
1039
|
green: green$5,
|
|
1025
1040
|
orange: orange$2,
|
|
1026
1041
|
red: red$7
|
|
1027
1042
|
} = colors;
|
|
1043
|
+
const {
|
|
1044
|
+
bold: bold$3
|
|
1045
|
+
} = fontWeight;
|
|
1028
1046
|
const TagWrapper = /*#__PURE__*/_styled.span.withConfig({
|
|
1029
1047
|
displayName: "styles__TagWrapper",
|
|
1030
1048
|
componentId: "sc-1ghratr-0"
|
|
1031
|
-
})(["display:inline-block;border:", " solid ", ";border-radius:
|
|
1049
|
+
})(["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__*/rem('2px'), grey$b, /*#__PURE__*/rem('3px'), grey$b, /*#__PURE__*/rem('150px'), /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('8px'), /*#__PURE__*/rem('12px'), bold$3, light$7, props => props.color === 'green' && css`
|
|
1032
1050
|
border-color: ${green$5};
|
|
1033
1051
|
background-color: ${green$5};
|
|
1034
1052
|
color: ${props.variant === 'solid' ? light$7 : green$5};
|
|
@@ -1044,6 +1062,10 @@ const TagWrapper = /*#__PURE__*/_styled.span.withConfig({
|
|
|
1044
1062
|
border-color: ${grey$b};
|
|
1045
1063
|
background-color: ${grey$b};
|
|
1046
1064
|
color: ${props.variant === 'solid' ? light$7 : grey$b};
|
|
1065
|
+
`, props => props.color === 'light' && css`
|
|
1066
|
+
border-color: ${light$7};
|
|
1067
|
+
background-color: ${light$7};
|
|
1068
|
+
color: ${props.variant === 'solid' ? normal$5 : light$7};
|
|
1047
1069
|
`, props => props.variant === 'outline' && css`
|
|
1048
1070
|
background-color: transparent;
|
|
1049
1071
|
`);
|
|
@@ -1070,12 +1092,12 @@ const {
|
|
|
1070
1092
|
light: light$8
|
|
1071
1093
|
} = colors;
|
|
1072
1094
|
const {
|
|
1073
|
-
bold: bold$
|
|
1095
|
+
bold: bold$4
|
|
1074
1096
|
} = fontWeight;
|
|
1075
1097
|
const TagWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
1076
1098
|
displayName: "styles__TagWrapper",
|
|
1077
1099
|
componentId: "db57da-0"
|
|
1078
|
-
})(["display:flex;border:", " solid ", ";border-radius:", ";
|
|
1100
|
+
})(["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__*/rem('2px'), grey$c, /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('3px'), /*#__PURE__*/rem('8px'), /*#__PURE__*/rem('12px'), bold$4, grey$c, bold$4, light$8, /*#__PURE__*/rem('5px'));
|
|
1079
1101
|
|
|
1080
1102
|
const TagNumber = props => {
|
|
1081
1103
|
const {
|
|
@@ -1221,9 +1243,10 @@ const Select = props => {
|
|
|
1221
1243
|
};
|
|
1222
1244
|
|
|
1223
1245
|
const {
|
|
1224
|
-
normal: normal$
|
|
1246
|
+
normal: normal$6,
|
|
1225
1247
|
light: light$9,
|
|
1226
1248
|
grey: grey$d,
|
|
1249
|
+
lightGrey: lightGrey$8,
|
|
1227
1250
|
purple: purple$5,
|
|
1228
1251
|
lightPurple
|
|
1229
1252
|
} = colors;
|
|
@@ -1258,11 +1281,11 @@ const SelectWrapper = _styled.div`
|
|
|
1258
1281
|
}
|
|
1259
1282
|
|
|
1260
1283
|
&__input {
|
|
1261
|
-
color: ${normal$
|
|
1284
|
+
color: ${normal$6};
|
|
1262
1285
|
}
|
|
1263
1286
|
|
|
1264
1287
|
&__single-value {
|
|
1265
|
-
color: ${normal$
|
|
1288
|
+
color: ${normal$6};
|
|
1266
1289
|
}
|
|
1267
1290
|
|
|
1268
1291
|
&__indicator {
|
|
@@ -1301,7 +1324,7 @@ const SelectWrapper = _styled.div`
|
|
|
1301
1324
|
|
|
1302
1325
|
&--is-selected {
|
|
1303
1326
|
background-color: ${lightPurple};
|
|
1304
|
-
color: ${normal$
|
|
1327
|
+
color: ${normal$6};
|
|
1305
1328
|
}
|
|
1306
1329
|
}
|
|
1307
1330
|
}
|
|
@@ -1329,7 +1352,7 @@ const SelectWrapper = _styled.div`
|
|
|
1329
1352
|
|
|
1330
1353
|
.select__option--is-selected {
|
|
1331
1354
|
svg {
|
|
1332
|
-
fill: ${normal$
|
|
1355
|
+
fill: ${normal$6};
|
|
1333
1356
|
transition-duration: 0.3s;
|
|
1334
1357
|
}
|
|
1335
1358
|
}
|
|
@@ -1340,64 +1363,92 @@ const SelectWrapper = _styled.div`
|
|
|
1340
1363
|
transition-duration: 0.3s;
|
|
1341
1364
|
}
|
|
1342
1365
|
}
|
|
1343
|
-
`;
|
|
1344
|
-
|
|
1345
|
-
const SelectInteractive = props => {
|
|
1346
|
-
const {
|
|
1347
|
-
name,
|
|
1348
|
-
multi = false,
|
|
1349
|
-
search = true,
|
|
1350
|
-
placeholder,
|
|
1351
|
-
options,
|
|
1352
|
-
value,
|
|
1353
|
-
clear = true,
|
|
1354
|
-
onChange = () => {},
|
|
1355
|
-
onInputChange = () => {},
|
|
1356
|
-
error,
|
|
1357
|
-
disabled = false,
|
|
1358
|
-
dataTestId
|
|
1359
|
-
} = props;
|
|
1360
|
-
const {
|
|
1361
|
-
Option
|
|
1362
|
-
} = components;
|
|
1363
1366
|
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
}
|
|
1367
|
+
.select__option--is-disabled {
|
|
1368
|
+
pointer-events: none;
|
|
1369
|
+
}
|
|
1370
|
+
`;
|
|
1371
|
+
const SelectGroupLabel = _styled.span`
|
|
1372
|
+
font-size: ${/*#__PURE__*/rem('12px')};
|
|
1373
|
+
color: ${lightGrey$8};
|
|
1367
1374
|
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1375
|
+
+ .tag {
|
|
1376
|
+
border-color: ${lightGrey$8};
|
|
1377
|
+
background-color: ${lightGrey$8};
|
|
1378
|
+
color: ${grey$d};
|
|
1379
|
+
}
|
|
1380
|
+
`;
|
|
1371
1381
|
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1382
|
+
const {
|
|
1383
|
+
Option
|
|
1384
|
+
} = components;
|
|
1385
|
+
const FormatGroupLabel = ({
|
|
1386
|
+
label,
|
|
1387
|
+
options
|
|
1388
|
+
}) => {
|
|
1389
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
1390
|
+
style: {
|
|
1391
|
+
display: 'flex',
|
|
1392
|
+
alignItems: 'center',
|
|
1393
|
+
justifyContent: 'space-between'
|
|
1394
|
+
}
|
|
1395
|
+
}, /*#__PURE__*/React.createElement(SelectGroupLabel, {
|
|
1396
|
+
className: "selective-options-group-label"
|
|
1397
|
+
}, label), /*#__PURE__*/React.createElement(Tag, {
|
|
1398
|
+
value: `${options == null ? void 0 : options.length}`
|
|
1399
|
+
}));
|
|
1400
|
+
};
|
|
1401
|
+
const CustomSelectOption = (props, commonProps) => /*#__PURE__*/React.createElement(Option, Object.assign({}, props, commonProps), props.data.icon ? /*#__PURE__*/React.createElement(Icon, {
|
|
1402
|
+
icon: props.data.icon
|
|
1403
|
+
}) : props.data.customImage ? props.data.customImage : null, props.data.label);
|
|
1404
|
+
const CustomSelectValue = props => /*#__PURE__*/React.createElement("div", null, props.data.icon ? /*#__PURE__*/React.createElement(Icon, {
|
|
1405
|
+
icon: props.data.icon
|
|
1406
|
+
}) : props.data.customImage ? props.data.customImage : null, props.data.label);
|
|
1407
|
+
|
|
1408
|
+
const SelectInteractive = ({
|
|
1409
|
+
name,
|
|
1410
|
+
multi = false,
|
|
1411
|
+
search = true,
|
|
1412
|
+
placeholder,
|
|
1413
|
+
options,
|
|
1414
|
+
value,
|
|
1415
|
+
clear = true,
|
|
1416
|
+
error,
|
|
1417
|
+
disabled = false,
|
|
1418
|
+
formatGroupLabel = true,
|
|
1419
|
+
onChange = () => {},
|
|
1420
|
+
onInputChange = () => {},
|
|
1421
|
+
...rest
|
|
1422
|
+
}) => {
|
|
1423
|
+
return /*#__PURE__*/React.createElement(SelectWrapper, Object.assign({}, rest), /*#__PURE__*/React.createElement(Select$1, {
|
|
1377
1424
|
name: name,
|
|
1425
|
+
value: value,
|
|
1378
1426
|
isMulti: multi,
|
|
1379
|
-
isSearchable: search,
|
|
1380
|
-
isDisabled: disabled,
|
|
1381
|
-
placeholder: placeholder,
|
|
1382
1427
|
options: options,
|
|
1383
|
-
value: value,
|
|
1384
1428
|
isClearable: clear,
|
|
1385
|
-
|
|
1429
|
+
isDisabled: disabled,
|
|
1430
|
+
isSearchable: search,
|
|
1431
|
+
classNamePrefix: "select",
|
|
1432
|
+
placeholder: placeholder,
|
|
1433
|
+
className: "select-interactive",
|
|
1434
|
+
// @ts-ignore
|
|
1435
|
+
onChange: e => onChange(e != null ? e : []),
|
|
1386
1436
|
defaultMenuIsOpen: false,
|
|
1387
1437
|
onInputChange: onInputChange,
|
|
1388
1438
|
components: {
|
|
1389
1439
|
Option: CustomSelectOption,
|
|
1390
1440
|
SingleValue: CustomSelectValue
|
|
1391
|
-
}
|
|
1441
|
+
},
|
|
1442
|
+
formatGroupLabel: s => formatGroupLabel ? FormatGroupLabel == null ? void 0 : FormatGroupLabel(s) : undefined
|
|
1392
1443
|
}), error ? /*#__PURE__*/React.createElement(ErrorField, {
|
|
1393
1444
|
error: error
|
|
1394
1445
|
}) : null);
|
|
1395
1446
|
};
|
|
1396
1447
|
|
|
1397
1448
|
const {
|
|
1398
|
-
normal: normal$
|
|
1449
|
+
normal: normal$7,
|
|
1399
1450
|
grey: grey$e,
|
|
1400
|
-
lightGrey: lightGrey$
|
|
1451
|
+
lightGrey: lightGrey$9,
|
|
1401
1452
|
red: red$8,
|
|
1402
1453
|
lightRed
|
|
1403
1454
|
} = colors;
|
|
@@ -1412,7 +1463,12 @@ const Wrapper$2 = _styled.div`
|
|
|
1412
1463
|
input {
|
|
1413
1464
|
flex: 1;
|
|
1414
1465
|
border: 0;
|
|
1415
|
-
color: ${props => props.error ? red$8 : normal$
|
|
1466
|
+
color: ${props => props.error ? red$8 : normal$7};
|
|
1467
|
+
|
|
1468
|
+
&:disabled {
|
|
1469
|
+
margin: 0;
|
|
1470
|
+
border-radius: 0;
|
|
1471
|
+
}
|
|
1416
1472
|
}
|
|
1417
1473
|
|
|
1418
1474
|
& + span {
|
|
@@ -1423,7 +1479,7 @@ const Appendix = _styled.div`
|
|
|
1423
1479
|
border-width: ${props => props.position === 'left' ? `0 ${rem('1px')} 0 0` : `0 0 0 ${rem('1px')}`};
|
|
1424
1480
|
border-style: solid;
|
|
1425
1481
|
border-color: ${props => props.error ? red$8 : grey$e};
|
|
1426
|
-
background-color: ${props => props.error ? lightRed : lightGrey$
|
|
1482
|
+
background-color: ${props => props.error ? lightRed : lightGrey$9};
|
|
1427
1483
|
padding: 0 ${/*#__PURE__*/rem('15px')};
|
|
1428
1484
|
color: ${props => props.error ? red$8 : grey$e};
|
|
1429
1485
|
line-height: ${/*#__PURE__*/rem('48px')};
|
|
@@ -1924,11 +1980,11 @@ const VideoPlayer = props => {
|
|
|
1924
1980
|
};
|
|
1925
1981
|
|
|
1926
1982
|
const {
|
|
1927
|
-
lightGrey: lightGrey$
|
|
1983
|
+
lightGrey: lightGrey$a,
|
|
1928
1984
|
green: green$6
|
|
1929
1985
|
} = colors;
|
|
1930
1986
|
const {
|
|
1931
|
-
bold: bold$
|
|
1987
|
+
bold: bold$5
|
|
1932
1988
|
} = fontWeight;
|
|
1933
1989
|
const Wrapper$5 = _styled.div`
|
|
1934
1990
|
display: flex;
|
|
@@ -1937,7 +1993,7 @@ const Wrapper$5 = _styled.div`
|
|
|
1937
1993
|
const Bar = _styled.div`
|
|
1938
1994
|
flex: 1;
|
|
1939
1995
|
border-radius: 999px;
|
|
1940
|
-
background-color: ${lightGrey$
|
|
1996
|
+
background-color: ${lightGrey$a};
|
|
1941
1997
|
height: ${/*#__PURE__*/rem('10px')};
|
|
1942
1998
|
overflow: hidden;
|
|
1943
1999
|
`;
|
|
@@ -1951,7 +2007,7 @@ const Progress = _styled.div`
|
|
|
1951
2007
|
const Value = _styled.div`
|
|
1952
2008
|
margin-left: ${/*#__PURE__*/rem('5px')};
|
|
1953
2009
|
font-size: 0.75rem;
|
|
1954
|
-
font-weight: ${bold$
|
|
2010
|
+
font-weight: ${bold$5};
|
|
1955
2011
|
`;
|
|
1956
2012
|
|
|
1957
2013
|
const ProgressBar = props => {
|
|
@@ -1967,7 +2023,7 @@ const ProgressBar = props => {
|
|
|
1967
2023
|
const {
|
|
1968
2024
|
light: light$b,
|
|
1969
2025
|
green: green$7,
|
|
1970
|
-
lightGrey: lightGrey$
|
|
2026
|
+
lightGrey: lightGrey$b
|
|
1971
2027
|
} = colors;
|
|
1972
2028
|
const Switcher = _styled.fieldset`
|
|
1973
2029
|
margin: 0;
|
|
@@ -2026,7 +2082,7 @@ const Switcher = _styled.fieldset`
|
|
|
2026
2082
|
}
|
|
2027
2083
|
|
|
2028
2084
|
&.switch-off:checked ~ .bg {
|
|
2029
|
-
background-color: ${lightGrey$
|
|
2085
|
+
background-color: ${lightGrey$b};
|
|
2030
2086
|
}
|
|
2031
2087
|
}
|
|
2032
2088
|
|
|
@@ -2054,7 +2110,7 @@ const Switcher = _styled.fieldset`
|
|
|
2054
2110
|
border-radius: 999px;
|
|
2055
2111
|
background-color: transparent;
|
|
2056
2112
|
transition: all 0.3s ease-out;
|
|
2057
|
-
background-color: ${lightGrey$
|
|
2113
|
+
background-color: ${lightGrey$b};
|
|
2058
2114
|
}
|
|
2059
2115
|
}
|
|
2060
2116
|
}
|
|
@@ -2144,12 +2200,12 @@ const Toggle = ({
|
|
|
2144
2200
|
const {
|
|
2145
2201
|
red: red$9,
|
|
2146
2202
|
grey: grey$f,
|
|
2147
|
-
lightGrey: lightGrey$
|
|
2203
|
+
lightGrey: lightGrey$c,
|
|
2148
2204
|
darkGrey: darkGrey$2,
|
|
2149
2205
|
green: green$8,
|
|
2150
2206
|
darkGreen: darkGreen$4,
|
|
2151
2207
|
light: light$c,
|
|
2152
|
-
normal: normal$
|
|
2208
|
+
normal: normal$8
|
|
2153
2209
|
} = colors;
|
|
2154
2210
|
const Wrapper$6 = _styled.div`
|
|
2155
2211
|
input {
|
|
@@ -2167,7 +2223,7 @@ const Wrapper$6 = _styled.div`
|
|
|
2167
2223
|
border-style: solid;
|
|
2168
2224
|
border-color: ${props => props.error ? red$9 : grey$f};
|
|
2169
2225
|
border-radius: ${props => props.minimal ? 0 : rem('6px')};
|
|
2170
|
-
background-color: ${props => props.disabled ? lightGrey$
|
|
2226
|
+
background-color: ${props => props.disabled ? lightGrey$c : 'transparent'};
|
|
2171
2227
|
display: flex;
|
|
2172
2228
|
justify-content: space-between;
|
|
2173
2229
|
align-items: center;
|
|
@@ -2187,7 +2243,7 @@ const Wrapper$6 = _styled.div`
|
|
|
2187
2243
|
flex: 1;
|
|
2188
2244
|
display: block;
|
|
2189
2245
|
padding: ${props => props.minimal ? 0 : `0 ${rem('10px')}`};
|
|
2190
|
-
color: ${props => props.disabled ? grey$f : normal$
|
|
2246
|
+
color: ${props => props.disabled ? grey$f : normal$8};
|
|
2191
2247
|
white-space: nowrap;
|
|
2192
2248
|
overflow: hidden;
|
|
2193
2249
|
text-overflow: ellipsis;
|
|
@@ -2195,7 +2251,7 @@ const Wrapper$6 = _styled.div`
|
|
|
2195
2251
|
|
|
2196
2252
|
&.button {
|
|
2197
2253
|
border-left: ${props => props.minimal ? 0 : `${rem('1px')} solid ${grey$f}`};
|
|
2198
|
-
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$
|
|
2254
|
+
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$c : green$8};
|
|
2199
2255
|
height: 100%;
|
|
2200
2256
|
padding: ${props => props.minimal ? `0 ${rem('5px')} 0 ${rem('20px')}` : `0 ${rem('20px')}`};
|
|
2201
2257
|
color: ${props => props.disabled ? grey$f : props.minimal ? darkGrey$2 : light$c};
|
|
@@ -2276,9 +2332,9 @@ const FilePicker = props => {
|
|
|
2276
2332
|
};
|
|
2277
2333
|
|
|
2278
2334
|
const {
|
|
2279
|
-
normal: normal$
|
|
2335
|
+
normal: normal$9,
|
|
2280
2336
|
light: light$d,
|
|
2281
|
-
lightGrey: lightGrey$
|
|
2337
|
+
lightGrey: lightGrey$d,
|
|
2282
2338
|
red: red$a
|
|
2283
2339
|
} = colors;
|
|
2284
2340
|
const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
@@ -2288,11 +2344,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2288
2344
|
const List = /*#__PURE__*/_styled.ul.withConfig({
|
|
2289
2345
|
displayName: "styles__List",
|
|
2290
2346
|
componentId: "sc-1peafop-1"
|
|
2291
|
-
})(["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__*/rem('1px'), lightGrey$
|
|
2347
|
+
})(["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__*/rem('1px'), lightGrey$d, /*#__PURE__*/rem('4px'), light$d, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('200px'), /*#__PURE__*/rem('250px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$9), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$9), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$9), props => props.rowIndex != undefined && css`
|
|
2292
2348
|
--margin: ${`calc(${rem('45px')} + ${rem('50px')} * ${props.rowIndex} + ${rem('42px')})`};
|
|
2293
2349
|
top: var(--margin);
|
|
2294
2350
|
right: ${rem('5px')};
|
|
2295
|
-
`, /*#__PURE__*/rem('45px'), lightGrey$
|
|
2351
|
+
`, /*#__PURE__*/rem('45px'), lightGrey$d, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('1px'), lightGrey$d, red$a, lightGrey$d, /*#__PURE__*/rem('20px'), normal$9);
|
|
2296
2352
|
|
|
2297
2353
|
const ActionMenuList = props => {
|
|
2298
2354
|
const {
|
|
@@ -2406,7 +2462,7 @@ const {
|
|
|
2406
2462
|
light: light$f
|
|
2407
2463
|
} = colors;
|
|
2408
2464
|
const {
|
|
2409
|
-
bold: bold$
|
|
2465
|
+
bold: bold$6
|
|
2410
2466
|
} = fontWeight;
|
|
2411
2467
|
const EmptyTableWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
2412
2468
|
displayName: "styles__EmptyTableWrapper",
|
|
@@ -2415,7 +2471,7 @@ const EmptyTableWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2415
2471
|
const EmptyTableHead = /*#__PURE__*/_styled.div.withConfig({
|
|
2416
2472
|
displayName: "styles__EmptyTableHead",
|
|
2417
2473
|
componentId: "sc-1dgsb9l-1"
|
|
2418
|
-
})(["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 ? rem('1px') : `0 0 ${rem('1px')} 0`, grey$h, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), bold$
|
|
2474
|
+
})(["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 ? rem('1px') : `0 0 ${rem('1px')} 0`, grey$h, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), bold$6, grey$h, /*#__PURE__*/rem('15px'), bold$6, grey$h, device.s, device.m, device.l);
|
|
2419
2475
|
const EmptyTableBody = /*#__PURE__*/_styled.div.withConfig({
|
|
2420
2476
|
displayName: "styles__EmptyTableBody",
|
|
2421
2477
|
componentId: "sc-1dgsb9l-2"
|
|
@@ -2495,7 +2551,7 @@ const {
|
|
|
2495
2551
|
lightGreen,
|
|
2496
2552
|
darkGreen: darkGreen$5,
|
|
2497
2553
|
grey: grey$i,
|
|
2498
|
-
lightGrey: lightGrey$
|
|
2554
|
+
lightGrey: lightGrey$e,
|
|
2499
2555
|
darkGrey: darkGrey$3,
|
|
2500
2556
|
red: red$b,
|
|
2501
2557
|
lightRed: lightRed$1,
|
|
@@ -2504,9 +2560,9 @@ const {
|
|
|
2504
2560
|
const Wrapper$7 = /*#__PURE__*/_styled.div.withConfig({
|
|
2505
2561
|
displayName: "styles__Wrapper",
|
|
2506
2562
|
componentId: "d2fn4g-0"
|
|
2507
|
-
})(["--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$
|
|
2563
|
+
})(["--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' && css`
|
|
2508
2564
|
--default: ${grey$i};
|
|
2509
|
-
--light: ${lightGrey$
|
|
2565
|
+
--light: ${lightGrey$e};
|
|
2510
2566
|
--dark: ${darkGrey$3};
|
|
2511
2567
|
`, props => props.color === 'green' && css`
|
|
2512
2568
|
--default: ${green$9};
|
|
@@ -2574,13 +2630,13 @@ function hasValue(value) {
|
|
|
2574
2630
|
}
|
|
2575
2631
|
|
|
2576
2632
|
const {
|
|
2577
|
-
normal: normal$
|
|
2633
|
+
normal: normal$a,
|
|
2578
2634
|
light: light$g,
|
|
2579
2635
|
grey: grey$j,
|
|
2580
|
-
lightGrey: lightGrey$
|
|
2636
|
+
lightGrey: lightGrey$f
|
|
2581
2637
|
} = colors;
|
|
2582
2638
|
const {
|
|
2583
|
-
bold: bold$
|
|
2639
|
+
bold: bold$7
|
|
2584
2640
|
} = fontWeight;
|
|
2585
2641
|
const TableWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
2586
2642
|
displayName: "styles__TableWrapper",
|
|
@@ -2593,7 +2649,7 @@ const OverflowWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2593
2649
|
const Table = /*#__PURE__*/_styled.table.withConfig({
|
|
2594
2650
|
displayName: "styles__Table",
|
|
2595
2651
|
componentId: "vmoy3z-2"
|
|
2596
|
-
})(["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__*/rem('6px'), /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$
|
|
2652
|
+
})(["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__*/rem('6px'), /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$7, grey$j, lightGrey$f, device.s, /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), normal$a, grey$j, /*#__PURE__*/rem('15px'), bold$7, /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
|
|
2597
2653
|
|
|
2598
2654
|
const Table$1 = props => {
|
|
2599
2655
|
const {
|
|
@@ -2693,17 +2749,17 @@ const Table$1 = props => {
|
|
|
2693
2749
|
};
|
|
2694
2750
|
|
|
2695
2751
|
const {
|
|
2696
|
-
normal: normal$
|
|
2752
|
+
normal: normal$b,
|
|
2697
2753
|
grey: grey$k,
|
|
2698
|
-
lightGrey: lightGrey$
|
|
2754
|
+
lightGrey: lightGrey$g
|
|
2699
2755
|
} = colors;
|
|
2700
2756
|
const {
|
|
2701
|
-
bold: bold$
|
|
2757
|
+
bold: bold$8
|
|
2702
2758
|
} = fontWeight;
|
|
2703
2759
|
const Table$2 = /*#__PURE__*/_styled.table.withConfig({
|
|
2704
2760
|
displayName: "styles__Table",
|
|
2705
2761
|
componentId: "sc-1p618q0-0"
|
|
2706
|
-
})(["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__*/rem('6px'), props => props.layout, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$
|
|
2762
|
+
})(["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__*/rem('6px'), props => props.layout, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$8, grey$k, lightGrey$g, grey$k, device.s, /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), grey$k, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), normal$b, grey$k, /*#__PURE__*/rem('15px'), bold$8, /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
|
|
2707
2763
|
const TableRow = /*#__PURE__*/_styled.tr.withConfig({
|
|
2708
2764
|
displayName: "styles__TableRow",
|
|
2709
2765
|
componentId: "sc-1p618q0-1"
|
|
@@ -2869,14 +2925,14 @@ const TableDnD = props => {
|
|
|
2869
2925
|
};
|
|
2870
2926
|
|
|
2871
2927
|
const {
|
|
2872
|
-
normal: normal$
|
|
2928
|
+
normal: normal$c,
|
|
2873
2929
|
grey: grey$l,
|
|
2874
2930
|
red: red$c
|
|
2875
2931
|
} = colors;
|
|
2876
2932
|
const Wrapper$8 = /*#__PURE__*/_styled.div.withConfig({
|
|
2877
2933
|
displayName: "styles__Wrapper",
|
|
2878
2934
|
componentId: "mbja2a-0"
|
|
2879
|
-
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/rem('5px'), props => props.error ? red$c : grey$l, props => props.error ? red$c : normal$
|
|
2935
|
+
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/rem('5px'), props => props.error ? red$c : grey$l, props => props.error ? red$c : normal$c, /*#__PURE__*/rem('15px'));
|
|
2880
2936
|
|
|
2881
2937
|
const FormGroup = props => {
|
|
2882
2938
|
const {
|
|
@@ -2895,13 +2951,13 @@ const FormGroup = props => {
|
|
|
2895
2951
|
|
|
2896
2952
|
const {
|
|
2897
2953
|
grey: grey$m,
|
|
2898
|
-
lightGrey: lightGrey$
|
|
2954
|
+
lightGrey: lightGrey$h,
|
|
2899
2955
|
lightRed: lightRed$2
|
|
2900
2956
|
} = colors;
|
|
2901
2957
|
const Wrapper$9 = /*#__PURE__*/_styled.div.withConfig({
|
|
2902
2958
|
displayName: "styles__Wrapper",
|
|
2903
2959
|
componentId: "sc-124afcu-0"
|
|
2904
|
-
})(["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__*/rem('1px'), grey$m, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), lightGrey$
|
|
2960
|
+
})(["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__*/rem('1px'), grey$m, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), lightGrey$h);
|
|
2905
2961
|
const Input = /*#__PURE__*/_styled.input.withConfig({
|
|
2906
2962
|
displayName: "styles__Input",
|
|
2907
2963
|
componentId: "sc-124afcu-1"
|
|
@@ -2909,7 +2965,7 @@ const Input = /*#__PURE__*/_styled.input.withConfig({
|
|
|
2909
2965
|
const Button$1 = /*#__PURE__*/_styled.button.withConfig({
|
|
2910
2966
|
displayName: "styles__Button",
|
|
2911
2967
|
componentId: "sc-124afcu-2"
|
|
2912
|
-
})(["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__*/rem('50px'), /*#__PURE__*/rem('50px'), lightGrey$
|
|
2968
|
+
})(["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__*/rem('50px'), /*#__PURE__*/rem('50px'), lightGrey$h, /*#__PURE__*/rem('1px'), grey$m, /*#__PURE__*/rem('1px'), grey$m, /*#__PURE__*/rem('20px'), grey$m, lightGrey$h);
|
|
2913
2969
|
|
|
2914
2970
|
const NumberInputSpinner = props => {
|
|
2915
2971
|
const {
|
|
@@ -2977,7 +3033,7 @@ const NumberInputSpinner = props => {
|
|
|
2977
3033
|
const {
|
|
2978
3034
|
green: green$a,
|
|
2979
3035
|
grey: grey$n,
|
|
2980
|
-
lightGrey: lightGrey$
|
|
3036
|
+
lightGrey: lightGrey$i,
|
|
2981
3037
|
light: light$i
|
|
2982
3038
|
} = colors;
|
|
2983
3039
|
const Steps = /*#__PURE__*/_styled.ul.withConfig({
|
|
@@ -2987,7 +3043,7 @@ const Steps = /*#__PURE__*/_styled.ul.withConfig({
|
|
|
2987
3043
|
const Step = /*#__PURE__*/_styled.li.withConfig({
|
|
2988
3044
|
displayName: "styles__Step",
|
|
2989
3045
|
componentId: "sc-1s2dhfy-1"
|
|
2990
|
-
})(["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__*/rem('44px'), /*#__PURE__*/rem('18px'), props => props.active ? green$a : lightGrey$
|
|
3046
|
+
})(["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__*/rem('44px'), /*#__PURE__*/rem('18px'), props => props.active ? green$a : lightGrey$i, /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('-15px'), /*#__PURE__*/rem('18px'), props => props.active ? green$a : lightGrey$i, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), props => props.active ? green$a : lightGrey$i, props => props.active ? light$i : grey$n, device.s);
|
|
2991
3047
|
|
|
2992
3048
|
const WizardSteps = props => {
|
|
2993
3049
|
const {
|
|
@@ -3118,13 +3174,13 @@ const AlertNotification = props => {
|
|
|
3118
3174
|
};
|
|
3119
3175
|
|
|
3120
3176
|
const {
|
|
3121
|
-
normal: normal$
|
|
3177
|
+
normal: normal$d,
|
|
3122
3178
|
light: light$k,
|
|
3123
|
-
blue,
|
|
3124
|
-
lightGrey: lightGrey$
|
|
3179
|
+
blue: blue$2,
|
|
3180
|
+
lightGrey: lightGrey$j
|
|
3125
3181
|
} = colors;
|
|
3126
3182
|
const {
|
|
3127
|
-
bold: bold$
|
|
3183
|
+
bold: bold$9
|
|
3128
3184
|
} = fontWeight;
|
|
3129
3185
|
const PaginationWrapper = _styled.div`
|
|
3130
3186
|
--size: ${/*#__PURE__*/rem('30px')};
|
|
@@ -3166,18 +3222,18 @@ const PaginationWrapper = _styled.div`
|
|
|
3166
3222
|
display: flex;
|
|
3167
3223
|
justify-content: center;
|
|
3168
3224
|
align-items: center;
|
|
3169
|
-
color: ${normal$
|
|
3170
|
-
font-weight: ${bold$
|
|
3225
|
+
color: ${normal$d};
|
|
3226
|
+
font-weight: ${bold$9};
|
|
3171
3227
|
text-decoration: none;
|
|
3172
3228
|
|
|
3173
3229
|
&:hover {
|
|
3174
|
-
color: ${blue};
|
|
3230
|
+
color: ${blue$2};
|
|
3175
3231
|
}
|
|
3176
3232
|
|
|
3177
3233
|
svg {
|
|
3178
3234
|
width: ${/*#__PURE__*/rem('18px')};
|
|
3179
3235
|
height: auto;
|
|
3180
|
-
fill: ${blue};
|
|
3236
|
+
fill: ${blue$2};
|
|
3181
3237
|
}
|
|
3182
3238
|
}
|
|
3183
3239
|
|
|
@@ -3185,7 +3241,7 @@ const PaginationWrapper = _styled.div`
|
|
|
3185
3241
|
pointer-events: none;
|
|
3186
3242
|
|
|
3187
3243
|
a {
|
|
3188
|
-
background-color: ${blue};
|
|
3244
|
+
background-color: ${blue$2};
|
|
3189
3245
|
color: ${light$k};
|
|
3190
3246
|
}
|
|
3191
3247
|
}
|
|
@@ -3193,7 +3249,7 @@ const PaginationWrapper = _styled.div`
|
|
|
3193
3249
|
|
|
3194
3250
|
&.dark {
|
|
3195
3251
|
a {
|
|
3196
|
-
color: ${lightGrey$
|
|
3252
|
+
color: ${lightGrey$j};
|
|
3197
3253
|
|
|
3198
3254
|
&:hover {
|
|
3199
3255
|
color: ${light$k};
|
|
@@ -3255,11 +3311,11 @@ const PaginationControl = props => {
|
|
|
3255
3311
|
};
|
|
3256
3312
|
|
|
3257
3313
|
const {
|
|
3258
|
-
normal: normal$
|
|
3314
|
+
normal: normal$e,
|
|
3259
3315
|
green: green$c
|
|
3260
3316
|
} = colors;
|
|
3261
3317
|
const {
|
|
3262
|
-
bold: bold$
|
|
3318
|
+
bold: bold$a
|
|
3263
3319
|
} = fontWeight;
|
|
3264
3320
|
const Wrapper$b = _styled.div`
|
|
3265
3321
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
@@ -3277,11 +3333,11 @@ const Wrapper$b = _styled.div`
|
|
|
3277
3333
|
|
|
3278
3334
|
> span {
|
|
3279
3335
|
margin-top: ${/*#__PURE__*/rem('15px')};
|
|
3280
|
-
font-weight: ${bold$
|
|
3281
|
-
color: ${normal$
|
|
3336
|
+
font-weight: ${bold$a};
|
|
3337
|
+
color: ${normal$e};
|
|
3282
3338
|
|
|
3283
3339
|
a {
|
|
3284
|
-
color: ${normal$
|
|
3340
|
+
color: ${normal$e};
|
|
3285
3341
|
transition-duration: 0.3s;
|
|
3286
3342
|
|
|
3287
3343
|
&:hover {
|
|
@@ -3305,11 +3361,11 @@ const Error = props => {
|
|
|
3305
3361
|
};
|
|
3306
3362
|
|
|
3307
3363
|
const {
|
|
3308
|
-
normal: normal$
|
|
3364
|
+
normal: normal$f,
|
|
3309
3365
|
green: green$d
|
|
3310
3366
|
} = colors;
|
|
3311
3367
|
const {
|
|
3312
|
-
bold: bold$
|
|
3368
|
+
bold: bold$b
|
|
3313
3369
|
} = fontWeight;
|
|
3314
3370
|
const Wrapper$c = _styled.div`
|
|
3315
3371
|
min-height: 50vh;
|
|
@@ -3327,11 +3383,11 @@ const Wrapper$c = _styled.div`
|
|
|
3327
3383
|
|
|
3328
3384
|
> div {
|
|
3329
3385
|
margin-top: ${/*#__PURE__*/rem('15px')};
|
|
3330
|
-
font-weight: ${bold$
|
|
3331
|
-
color: ${normal$
|
|
3386
|
+
font-weight: ${bold$b};
|
|
3387
|
+
color: ${normal$f};
|
|
3332
3388
|
|
|
3333
3389
|
a {
|
|
3334
|
-
color: ${normal$
|
|
3390
|
+
color: ${normal$f};
|
|
3335
3391
|
transition-duration: 0.3s;
|
|
3336
3392
|
|
|
3337
3393
|
&:hover {
|
|
@@ -5303,11 +5359,11 @@ const DataWarning = props => {
|
|
|
5303
5359
|
};
|
|
5304
5360
|
|
|
5305
5361
|
const {
|
|
5306
|
-
normal: normal$
|
|
5362
|
+
normal: normal$g,
|
|
5307
5363
|
green: green$e,
|
|
5308
5364
|
darkGreen: darkGreen$7,
|
|
5309
5365
|
grey: grey$o,
|
|
5310
|
-
lightGrey: lightGrey$
|
|
5366
|
+
lightGrey: lightGrey$k,
|
|
5311
5367
|
red: red$e
|
|
5312
5368
|
} = colors;
|
|
5313
5369
|
const Wrapper$d = _styled.ul`
|
|
@@ -5385,7 +5441,7 @@ const Item = _styled.li`
|
|
|
5385
5441
|
}
|
|
5386
5442
|
|
|
5387
5443
|
&:hover .check {
|
|
5388
|
-
border-color: ${normal$
|
|
5444
|
+
border-color: ${normal$g};
|
|
5389
5445
|
}
|
|
5390
5446
|
|
|
5391
5447
|
${props => props.disabled && css`
|
|
@@ -5395,11 +5451,11 @@ const Item = _styled.li`
|
|
|
5395
5451
|
|
|
5396
5452
|
input[type='radio'] ~ .check,
|
|
5397
5453
|
input[type='radio']:checked ~ .check {
|
|
5398
|
-
border-color: ${lightGrey$
|
|
5454
|
+
border-color: ${lightGrey$k};
|
|
5399
5455
|
}
|
|
5400
5456
|
|
|
5401
5457
|
input[type='radio']:checked ~ .check::before {
|
|
5402
|
-
background-color: ${lightGrey$
|
|
5458
|
+
background-color: ${lightGrey$k};
|
|
5403
5459
|
}
|
|
5404
5460
|
|
|
5405
5461
|
&:hover {
|
|
@@ -5610,23 +5666,23 @@ const FieldWidthButton = props => {
|
|
|
5610
5666
|
};
|
|
5611
5667
|
|
|
5612
5668
|
const {
|
|
5613
|
-
normal: normal$
|
|
5669
|
+
normal: normal$h,
|
|
5614
5670
|
purple: purple$7,
|
|
5615
5671
|
grey: grey$q,
|
|
5616
|
-
lightGrey: lightGrey$
|
|
5672
|
+
lightGrey: lightGrey$l,
|
|
5617
5673
|
light: light$m
|
|
5618
5674
|
} = colors;
|
|
5619
5675
|
const {
|
|
5620
|
-
bold: bold$
|
|
5676
|
+
bold: bold$c
|
|
5621
5677
|
} = fontWeight;
|
|
5622
5678
|
const Wrapper$g = /*#__PURE__*/_styled.div.withConfig({
|
|
5623
5679
|
displayName: "styles__Wrapper",
|
|
5624
5680
|
componentId: "znznmm-0"
|
|
5625
|
-
})(["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__*/rem('10px'), /*#__PURE__*/rem('10px'), normal$
|
|
5681
|
+
})(["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__*/rem('10px'), /*#__PURE__*/rem('10px'), normal$h, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('24px'), /*#__PURE__*/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);
|
|
5626
5682
|
const More = /*#__PURE__*/_styled.div.withConfig({
|
|
5627
5683
|
displayName: "styles__More",
|
|
5628
5684
|
componentId: "znznmm-1"
|
|
5629
|
-
})(["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__*/rem('1px'), lightGrey$
|
|
5685
|
+
})(["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__*/rem('1px'), lightGrey$l, /*#__PURE__*/rem('4px'), light$m, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), lightGrey$l, normal$h, normal$h, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('15px'));
|
|
5630
5686
|
|
|
5631
5687
|
const HorizontalNav = props => {
|
|
5632
5688
|
const [showMore, setShowMore] = useState(false);
|
|
@@ -5706,7 +5762,7 @@ const {
|
|
|
5706
5762
|
light: light$n
|
|
5707
5763
|
} = colors;
|
|
5708
5764
|
const {
|
|
5709
|
-
bold: bold$
|
|
5765
|
+
bold: bold$d
|
|
5710
5766
|
} = fontWeight;
|
|
5711
5767
|
const ModalOverlay = /*#__PURE__*/_styled.div.withConfig({
|
|
5712
5768
|
displayName: "styles__ModalOverlay",
|
|
@@ -5723,7 +5779,7 @@ const ModalContainer = /*#__PURE__*/_styled.div.withConfig({
|
|
|
5723
5779
|
const ModalHeader = /*#__PURE__*/_styled.div.withConfig({
|
|
5724
5780
|
displayName: "styles__ModalHeader",
|
|
5725
5781
|
componentId: "sc-16r6vcc-3"
|
|
5726
|
-
})(["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__*/rem('30px'), bold$
|
|
5782
|
+
})(["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__*/rem('30px'), bold$d, /*#__PURE__*/rem('-18px'), /*#__PURE__*/rem('-18px'), light$n, light$n, device.s);
|
|
5727
5783
|
|
|
5728
5784
|
const Modal = props => {
|
|
5729
5785
|
const {
|
|
@@ -5777,15 +5833,15 @@ const {
|
|
|
5777
5833
|
light: light$o
|
|
5778
5834
|
} = colors;
|
|
5779
5835
|
const {
|
|
5780
|
-
bold: bold$
|
|
5836
|
+
bold: bold$e
|
|
5781
5837
|
} = fontWeight;
|
|
5782
5838
|
const slideInLeft = keyframes`
|
|
5783
5839
|
from {
|
|
5784
|
-
transform:
|
|
5840
|
+
transform: translateX(100%);
|
|
5785
5841
|
}
|
|
5786
5842
|
|
|
5787
5843
|
to {
|
|
5788
|
-
transform:
|
|
5844
|
+
transform: translateX(0);
|
|
5789
5845
|
}
|
|
5790
5846
|
`;
|
|
5791
5847
|
const ModalOverlay$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
@@ -5799,11 +5855,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
|
5799
5855
|
const ModalContainer$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5800
5856
|
displayName: "styles__ModalContainer",
|
|
5801
5857
|
componentId: "sc-46huls-2"
|
|
5802
|
-
})(["position:
|
|
5858
|
+
})(["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__*/rem('15px'), /*#__PURE__*/timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/rem('400px'), /*#__PURE__*/rem('30px'));
|
|
5803
5859
|
const ModalHeader$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5804
5860
|
displayName: "styles__ModalHeader",
|
|
5805
5861
|
componentId: "sc-46huls-3"
|
|
5806
|
-
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/rem('30px'), bold$
|
|
5862
|
+
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/rem('30px'), bold$e);
|
|
5807
5863
|
const ModalContent = /*#__PURE__*/_styled.div.withConfig({
|
|
5808
5864
|
displayName: "styles__ModalContent",
|
|
5809
5865
|
componentId: "sc-46huls-4"
|
|
@@ -5820,6 +5876,23 @@ const ModalDrawer = props => {
|
|
|
5820
5876
|
footerHidden = false,
|
|
5821
5877
|
zIndex = 10
|
|
5822
5878
|
} = props;
|
|
5879
|
+
useEffect(() => {
|
|
5880
|
+
const fixViewport = () => {
|
|
5881
|
+
let vh = window.innerHeight * 0.01;
|
|
5882
|
+
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
5883
|
+
};
|
|
5884
|
+
|
|
5885
|
+
fixViewport();
|
|
5886
|
+
|
|
5887
|
+
if (typeof window !== 'undefined') {
|
|
5888
|
+
let vh = window.innerHeight * 0.01;
|
|
5889
|
+
document.documentElement.style.setProperty('--vh', `${vh}px`);
|
|
5890
|
+
window.addEventListener('resize', fixViewport);
|
|
5891
|
+
return () => window.removeEventListener('resize', fixViewport);
|
|
5892
|
+
}
|
|
5893
|
+
|
|
5894
|
+
return;
|
|
5895
|
+
}, []);
|
|
5823
5896
|
return isShowing ? /*#__PURE__*/ReactDOM.createPortal( /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(ModalOverlay$1, {
|
|
5824
5897
|
zIndex: zIndex
|
|
5825
5898
|
}), /*#__PURE__*/React.createElement(ModalWrapper$1, {
|
|
@@ -5837,7 +5910,7 @@ const ModalDrawer = props => {
|
|
|
5837
5910
|
};
|
|
5838
5911
|
|
|
5839
5912
|
const {
|
|
5840
|
-
lightGrey: lightGrey$
|
|
5913
|
+
lightGrey: lightGrey$m
|
|
5841
5914
|
} = colors;
|
|
5842
5915
|
const Wrapper$h = _styled.div`
|
|
5843
5916
|
div {
|
|
@@ -5900,7 +5973,7 @@ const Wrapper$h = _styled.div`
|
|
|
5900
5973
|
|
|
5901
5974
|
.card {
|
|
5902
5975
|
position: relative;
|
|
5903
|
-
border: ${/*#__PURE__*/rem('2px')} solid ${lightGrey$
|
|
5976
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${lightGrey$m};
|
|
5904
5977
|
border-radius: ${/*#__PURE__*/rem('6px')};
|
|
5905
5978
|
width: ${/*#__PURE__*/rem('300px')};
|
|
5906
5979
|
overflow: hidden;
|
|
@@ -5915,7 +5988,7 @@ const Wrapper$h = _styled.div`
|
|
|
5915
5988
|
margin: ${/*#__PURE__*/rem('-45px')} 0 0 ${/*#__PURE__*/rem('20px')};
|
|
5916
5989
|
width: ${/*#__PURE__*/rem('90px')};
|
|
5917
5990
|
height: ${/*#__PURE__*/rem('90px')};
|
|
5918
|
-
border: ${/*#__PURE__*/rem('1px')} solid ${lightGrey$
|
|
5991
|
+
border: ${/*#__PURE__*/rem('1px')} solid ${lightGrey$m};
|
|
5919
5992
|
border-radius: 999px;
|
|
5920
5993
|
}
|
|
5921
5994
|
|
|
@@ -6060,26 +6133,26 @@ const LoadingState = props => {
|
|
|
6060
6133
|
};
|
|
6061
6134
|
|
|
6062
6135
|
const {
|
|
6063
|
-
normal: normal$
|
|
6136
|
+
normal: normal$i,
|
|
6064
6137
|
grey: grey$r,
|
|
6065
|
-
lightGrey: lightGrey$
|
|
6138
|
+
lightGrey: lightGrey$n,
|
|
6066
6139
|
light: light$p
|
|
6067
6140
|
} = colors;
|
|
6068
6141
|
const Wrapper$i = _styled.div`
|
|
6069
6142
|
.tab {
|
|
6070
|
-
border-color: ${lightGrey$
|
|
6143
|
+
border-color: ${lightGrey$n};
|
|
6071
6144
|
|
|
6072
6145
|
&[aria-selected='true'] {
|
|
6073
6146
|
border-bottom: 0;
|
|
6074
6147
|
}
|
|
6075
6148
|
|
|
6076
6149
|
&[aria-selected='false'] {
|
|
6077
|
-
background-color: ${lightGrey$
|
|
6150
|
+
background-color: ${lightGrey$n};
|
|
6078
6151
|
color: ${grey$r};
|
|
6079
6152
|
transition-duration: 0.3s;
|
|
6080
6153
|
|
|
6081
6154
|
&:hover {
|
|
6082
|
-
color: ${normal$
|
|
6155
|
+
color: ${normal$i};
|
|
6083
6156
|
}
|
|
6084
6157
|
}
|
|
6085
6158
|
|
|
@@ -6094,7 +6167,7 @@ const Wrapper$i = _styled.div`
|
|
|
6094
6167
|
|
|
6095
6168
|
.panel {
|
|
6096
6169
|
border-radius: 0 ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')};
|
|
6097
|
-
border-color: ${lightGrey$
|
|
6170
|
+
border-color: ${lightGrey$n};
|
|
6098
6171
|
background-color: ${light$p};
|
|
6099
6172
|
padding: ${/*#__PURE__*/rem('30px')};
|
|
6100
6173
|
}
|
|
@@ -6184,7 +6257,7 @@ const Wrapper$i = _styled.div`
|
|
|
6184
6257
|
}
|
|
6185
6258
|
|
|
6186
6259
|
.RRT__showmore {
|
|
6187
|
-
background: ${lightGrey$
|
|
6260
|
+
background: ${lightGrey$n};
|
|
6188
6261
|
border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$r)};
|
|
6189
6262
|
border-radius: 0 ${/*#__PURE__*/rem('6px')} 0 0;
|
|
6190
6263
|
cursor: pointer;
|