@taikai/rocket-kit 2.0.0-beta.7 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/atoms/button/types.d.ts +1 -1
- package/dist/atoms/file-picker/index.d.ts +17 -0
- package/dist/atoms/file-picker/stories/file-picker.stories.d.ts +23 -0
- package/dist/atoms/file-picker/styles.d.ts +7 -0
- package/dist/atoms/tag/types.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/ions/variables.d.ts +1 -0
- package/dist/rocket-kit.cjs.development.js +359 -199
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +277 -198
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +359 -200
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -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('36px') : 'min-content' : polished.rem('36px'), /*#__PURE__*/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('36px') : 'min-content' : polished.rem('36px'), /*#__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('36px'), 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('36px'), /*#__PURE__*/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('36px'), /*#__PURE__*/polished.rem('32px'), props => props.value ? `0 ${polished.rem('20px')}` : 0, device.l, props => props.value ? polished.rem('100px') : polished.rem('36px'), 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;&:not(:first-child){margin-left:", ";}", " ", " ", " ", " ", " ", ""], /*#__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, /*#__PURE__*/polished.rem('5px'), 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,7 +1252,7 @@ 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,
|
|
1236
1258
|
purple: purple$5,
|
|
@@ -1267,11 +1289,11 @@ const SelectWrapper = _styled__default.div`
|
|
|
1267
1289
|
}
|
|
1268
1290
|
|
|
1269
1291
|
&__input {
|
|
1270
|
-
color: ${normal$
|
|
1292
|
+
color: ${normal$6};
|
|
1271
1293
|
}
|
|
1272
1294
|
|
|
1273
1295
|
&__single-value {
|
|
1274
|
-
color: ${normal$
|
|
1296
|
+
color: ${normal$6};
|
|
1275
1297
|
}
|
|
1276
1298
|
|
|
1277
1299
|
&__indicator {
|
|
@@ -1310,7 +1332,7 @@ const SelectWrapper = _styled__default.div`
|
|
|
1310
1332
|
|
|
1311
1333
|
&--is-selected {
|
|
1312
1334
|
background-color: ${lightPurple};
|
|
1313
|
-
color: ${normal$
|
|
1335
|
+
color: ${normal$6};
|
|
1314
1336
|
}
|
|
1315
1337
|
}
|
|
1316
1338
|
}
|
|
@@ -1338,7 +1360,7 @@ const SelectWrapper = _styled__default.div`
|
|
|
1338
1360
|
|
|
1339
1361
|
.select__option--is-selected {
|
|
1340
1362
|
svg {
|
|
1341
|
-
fill: ${normal$
|
|
1363
|
+
fill: ${normal$6};
|
|
1342
1364
|
transition-duration: 0.3s;
|
|
1343
1365
|
}
|
|
1344
1366
|
}
|
|
@@ -1404,7 +1426,7 @@ const SelectInteractive = props => {
|
|
|
1404
1426
|
};
|
|
1405
1427
|
|
|
1406
1428
|
const {
|
|
1407
|
-
normal: normal$
|
|
1429
|
+
normal: normal$7,
|
|
1408
1430
|
grey: grey$e,
|
|
1409
1431
|
lightGrey: lightGrey$8,
|
|
1410
1432
|
red: red$8,
|
|
@@ -1421,7 +1443,7 @@ const Wrapper$2 = _styled__default.div`
|
|
|
1421
1443
|
input {
|
|
1422
1444
|
flex: 1;
|
|
1423
1445
|
border: 0;
|
|
1424
|
-
color: ${props => props.error ? red$8 : normal$
|
|
1446
|
+
color: ${props => props.error ? red$8 : normal$7};
|
|
1425
1447
|
}
|
|
1426
1448
|
|
|
1427
1449
|
& + span {
|
|
@@ -1937,7 +1959,7 @@ const {
|
|
|
1937
1959
|
green: green$6
|
|
1938
1960
|
} = colors;
|
|
1939
1961
|
const {
|
|
1940
|
-
bold: bold$
|
|
1962
|
+
bold: bold$5
|
|
1941
1963
|
} = fontWeight;
|
|
1942
1964
|
const Wrapper$5 = _styled__default.div`
|
|
1943
1965
|
display: flex;
|
|
@@ -1960,7 +1982,7 @@ const Progress = _styled__default.div`
|
|
|
1960
1982
|
const Value = _styled__default.div`
|
|
1961
1983
|
margin-left: ${/*#__PURE__*/polished.rem('5px')};
|
|
1962
1984
|
font-size: 0.75rem;
|
|
1963
|
-
font-weight: ${bold$
|
|
1985
|
+
font-weight: ${bold$5};
|
|
1964
1986
|
`;
|
|
1965
1987
|
|
|
1966
1988
|
const ProgressBar = props => {
|
|
@@ -2151,10 +2173,144 @@ const Toggle = ({
|
|
|
2151
2173
|
};
|
|
2152
2174
|
|
|
2153
2175
|
const {
|
|
2154
|
-
|
|
2155
|
-
|
|
2176
|
+
red: red$9,
|
|
2177
|
+
grey: grey$f,
|
|
2156
2178
|
lightGrey: lightGrey$b,
|
|
2157
|
-
|
|
2179
|
+
darkGrey: darkGrey$2,
|
|
2180
|
+
green: green$8,
|
|
2181
|
+
darkGreen: darkGreen$4,
|
|
2182
|
+
light: light$c,
|
|
2183
|
+
normal: normal$8
|
|
2184
|
+
} = colors;
|
|
2185
|
+
const Wrapper$6 = _styled__default.div`
|
|
2186
|
+
input {
|
|
2187
|
+
width: 0.1px;
|
|
2188
|
+
height: 0.1px;
|
|
2189
|
+
opacity: 0;
|
|
2190
|
+
overflow: hidden;
|
|
2191
|
+
position: absolute;
|
|
2192
|
+
z-index: -1;
|
|
2193
|
+
}
|
|
2194
|
+
|
|
2195
|
+
label {
|
|
2196
|
+
margin-bottom: 0 !important;
|
|
2197
|
+
border-width: ${props => props.minimal ? `0 0 ${polished.rem('1px')} 0` : polished.rem('1px')};
|
|
2198
|
+
border-style: solid;
|
|
2199
|
+
border-color: ${props => props.error ? red$9 : grey$f};
|
|
2200
|
+
border-radius: ${props => props.minimal ? 0 : polished.rem('6px')};
|
|
2201
|
+
background-color: ${props => props.disabled ? lightGrey$b : 'transparent'};
|
|
2202
|
+
display: flex;
|
|
2203
|
+
justify-content: space-between;
|
|
2204
|
+
align-items: center;
|
|
2205
|
+
width: 100%;
|
|
2206
|
+
height: ${/*#__PURE__*/polished.rem('50px')};
|
|
2207
|
+
-webkit-appearance: none;
|
|
2208
|
+
outline: none;
|
|
2209
|
+
cursor: ${props => props.disabled ? 'default' : 'pointer'};
|
|
2210
|
+
pointer-events: ${props => props.disabled ? 'none' : ''};
|
|
2211
|
+
overflow: hidden;
|
|
2212
|
+
|
|
2213
|
+
span {
|
|
2214
|
+
display: flex;
|
|
2215
|
+
align-items: center;
|
|
2216
|
+
|
|
2217
|
+
&.file-name {
|
|
2218
|
+
flex: 1;
|
|
2219
|
+
display: block;
|
|
2220
|
+
padding: ${props => props.minimal ? 0 : `0 ${polished.rem('10px')}`};
|
|
2221
|
+
color: ${props => props.disabled ? grey$f : normal$8};
|
|
2222
|
+
white-space: nowrap;
|
|
2223
|
+
overflow: hidden;
|
|
2224
|
+
text-overflow: ellipsis;
|
|
2225
|
+
}
|
|
2226
|
+
|
|
2227
|
+
&.button {
|
|
2228
|
+
border-left: ${props => props.minimal ? 0 : `${polished.rem('1px')} solid ${grey$f}`};
|
|
2229
|
+
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$b : green$8};
|
|
2230
|
+
height: 100%;
|
|
2231
|
+
padding: ${props => props.minimal ? `0 ${polished.rem('5px')} 0 ${polished.rem('20px')}` : `0 ${polished.rem('20px')}`};
|
|
2232
|
+
color: ${props => props.disabled ? grey$f : props.minimal ? darkGrey$2 : light$c};
|
|
2233
|
+
transition-duration: 0.3s;
|
|
2234
|
+
|
|
2235
|
+
svg {
|
|
2236
|
+
margin-right: ${/*#__PURE__*/polished.rem('8px')};
|
|
2237
|
+
width: auto;
|
|
2238
|
+
height: ${/*#__PURE__*/polished.rem('24px')};
|
|
2239
|
+
fill: ${props => props.disabled ? grey$f : props.minimal ? darkGrey$2 : light$c};
|
|
2240
|
+
transition-duration: 0.3s;
|
|
2241
|
+
}
|
|
2242
|
+
|
|
2243
|
+
&:hover {
|
|
2244
|
+
background-color: ${props => props.minimal ? 'transparent' : darkGreen$4};
|
|
2245
|
+
color: ${props => props.minimal ? darkGreen$4 : light$c};
|
|
2246
|
+
|
|
2247
|
+
svg {
|
|
2248
|
+
fill: ${props => props.disabled ? grey$f : props.minimal ? darkGreen$4 : light$c};
|
|
2249
|
+
}
|
|
2250
|
+
}
|
|
2251
|
+
}
|
|
2252
|
+
}
|
|
2253
|
+
}
|
|
2254
|
+
`;
|
|
2255
|
+
|
|
2256
|
+
const FilePicker = props => {
|
|
2257
|
+
const {
|
|
2258
|
+
minimal = false,
|
|
2259
|
+
name,
|
|
2260
|
+
accept,
|
|
2261
|
+
multiple = false,
|
|
2262
|
+
placeholder = 'Select file',
|
|
2263
|
+
pluralText = 'files selected',
|
|
2264
|
+
error,
|
|
2265
|
+
dataTestId,
|
|
2266
|
+
onChange = () => {},
|
|
2267
|
+
value = '',
|
|
2268
|
+
buttonText = 'Browse',
|
|
2269
|
+
disabled = false
|
|
2270
|
+
} = props;
|
|
2271
|
+
const [fileName, setFileName] = React.useState(value ? value : placeholder);
|
|
2272
|
+
|
|
2273
|
+
const getUploadedFileName = e => {
|
|
2274
|
+
let files = e.target.files,
|
|
2275
|
+
value = e.target.value,
|
|
2276
|
+
fileName;
|
|
2277
|
+
if (files && files.length > 1) fileName = `${files.length} ${pluralText}`;else fileName = value.split('\\').pop();
|
|
2278
|
+
if (fileName) setFileName(fileName);
|
|
2279
|
+
};
|
|
2280
|
+
|
|
2281
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$6, {
|
|
2282
|
+
disabled: disabled,
|
|
2283
|
+
minimal: minimal,
|
|
2284
|
+
error: !!error
|
|
2285
|
+
}, /*#__PURE__*/React__default.createElement("input", {
|
|
2286
|
+
id: name,
|
|
2287
|
+
type: "file",
|
|
2288
|
+
accept: accept,
|
|
2289
|
+
multiple: multiple,
|
|
2290
|
+
"data-multiple-caption": fileName,
|
|
2291
|
+
onChange: evt => {
|
|
2292
|
+
getUploadedFileName(evt);
|
|
2293
|
+
onChange(evt);
|
|
2294
|
+
},
|
|
2295
|
+
"data-testid": dataTestId
|
|
2296
|
+
}), /*#__PURE__*/React__default.createElement("label", {
|
|
2297
|
+
htmlFor: name
|
|
2298
|
+
}, /*#__PURE__*/React__default.createElement("span", {
|
|
2299
|
+
className: "file-name"
|
|
2300
|
+
}, fileName), /*#__PURE__*/React__default.createElement("span", {
|
|
2301
|
+
className: "button"
|
|
2302
|
+
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
2303
|
+
icon: "upload"
|
|
2304
|
+
}), buttonText)), error && /*#__PURE__*/React__default.createElement(ErrorField, {
|
|
2305
|
+
error: error
|
|
2306
|
+
}));
|
|
2307
|
+
};
|
|
2308
|
+
|
|
2309
|
+
const {
|
|
2310
|
+
normal: normal$9,
|
|
2311
|
+
light: light$d,
|
|
2312
|
+
lightGrey: lightGrey$c,
|
|
2313
|
+
red: red$a
|
|
2158
2314
|
} = colors;
|
|
2159
2315
|
const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2160
2316
|
displayName: "styles__ActionsMenuStyle",
|
|
@@ -2163,11 +2319,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2163
2319
|
const List = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
2164
2320
|
displayName: "styles__List",
|
|
2165
2321
|
componentId: "sc-1peafop-1"
|
|
2166
|
-
})(["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$
|
|
2322
|
+
})(["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$c, /*#__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`
|
|
2167
2323
|
--margin: ${`calc(${polished.rem('45px')} + ${polished.rem('50px')} * ${props.rowIndex} + ${polished.rem('42px')})`};
|
|
2168
2324
|
top: var(--margin);
|
|
2169
2325
|
right: ${polished.rem('5px')};
|
|
2170
|
-
`, /*#__PURE__*/polished.rem('45px'), lightGrey$
|
|
2326
|
+
`, /*#__PURE__*/polished.rem('45px'), lightGrey$c, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('1px'), lightGrey$c, red$a, lightGrey$c, /*#__PURE__*/polished.rem('20px'), normal$9);
|
|
2171
2327
|
|
|
2172
2328
|
const ActionMenuList = props => {
|
|
2173
2329
|
const {
|
|
@@ -2240,13 +2396,13 @@ const ActionsMenu = props => {
|
|
|
2240
2396
|
};
|
|
2241
2397
|
|
|
2242
2398
|
const {
|
|
2243
|
-
light: light$
|
|
2244
|
-
grey: grey$
|
|
2399
|
+
light: light$e,
|
|
2400
|
+
grey: grey$g
|
|
2245
2401
|
} = colors;
|
|
2246
2402
|
const CardValueStyle = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2247
2403
|
displayName: "styles__CardValueStyle",
|
|
2248
2404
|
componentId: "sc-1ki7jdk-0"
|
|
2249
|
-
})(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;@media ", "{padding:", ";}> span{display:block;margin-top:", ";font-size:2rem;font-weight:var(--bold,700);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"], /*#__PURE__*/polished.rem('1px'), grey$
|
|
2405
|
+
})(["border:", " solid ", ";border-radius:", ";background-color:", ";display:flex;flex-direction:column;padding:", ";overflow-x:auto;@media ", "{padding:", ";}> span{display:block;margin-top:", ";font-size:2rem;font-weight:var(--bold,700);line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}"], /*#__PURE__*/polished.rem('1px'), grey$g, /*#__PURE__*/polished.rem('6px'), light$e, /*#__PURE__*/polished.rem('15px'), device.l, /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('5px'));
|
|
2250
2406
|
const CardValueButtonWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2251
2407
|
displayName: "styles__CardValueButtonWrapper",
|
|
2252
2408
|
componentId: "sc-1ki7jdk-1"
|
|
@@ -2277,11 +2433,11 @@ const CardValue = props => {
|
|
|
2277
2433
|
};
|
|
2278
2434
|
|
|
2279
2435
|
const {
|
|
2280
|
-
grey: grey$
|
|
2281
|
-
light: light$
|
|
2436
|
+
grey: grey$h,
|
|
2437
|
+
light: light$f
|
|
2282
2438
|
} = colors;
|
|
2283
2439
|
const {
|
|
2284
|
-
bold: bold$
|
|
2440
|
+
bold: bold$6
|
|
2285
2441
|
} = fontWeight;
|
|
2286
2442
|
const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2287
2443
|
displayName: "styles__EmptyTableWrapper",
|
|
@@ -2290,15 +2446,15 @@ const EmptyTableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2290
2446
|
const EmptyTableHead = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2291
2447
|
displayName: "styles__EmptyTableHead",
|
|
2292
2448
|
componentId: "sc-1dgsb9l-1"
|
|
2293
|
-
})(["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$
|
|
2449
|
+
})(["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);
|
|
2294
2450
|
const EmptyTableBody = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2295
2451
|
displayName: "styles__EmptyTableBody",
|
|
2296
2452
|
componentId: "sc-1dgsb9l-2"
|
|
2297
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${polished.rem('1px')} ${polished.rem('1px')} ${polished.rem('1px')}` : 0, grey$
|
|
2453
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${polished.rem('1px')} ${polished.rem('1px')} ${polished.rem('1px')}` : 0, grey$h, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'));
|
|
2298
2454
|
const EmptyTableRow = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2299
2455
|
displayName: "styles__EmptyTableRow",
|
|
2300
2456
|
componentId: "sc-1dgsb9l-3"
|
|
2301
|
-
})(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('1px'), grey$
|
|
2457
|
+
})(["height:", ";display:flex;align-items:center;&:not(:last-child){border-bottom:", " solid ", ";}> div{display:none;flex:1;padding:0 ", ";&:first-child,&:nth-child(2){display:inherit;}@media ", "{&:nth-child(3){display:inherit;}}@media ", "{&:nth-child(4){display:inherit;}}@media ", "{display:inherit;}}"], /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('1px'), grey$h, /*#__PURE__*/polished.rem('15px'), device.s, device.m, device.l);
|
|
2302
2458
|
const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2303
2459
|
displayName: "styles__EmptyTableCellText",
|
|
2304
2460
|
componentId: "sc-1dgsb9l-4"
|
|
@@ -2306,7 +2462,7 @@ const EmptyTableCellText = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2306
2462
|
const EmptyTableOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2307
2463
|
displayName: "styles__EmptyTableOverlay",
|
|
2308
2464
|
componentId: "sc-1dgsb9l-5"
|
|
2309
|
-
})(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(light$
|
|
2465
|
+
})(["position:absolute;bottom:0;background-image:linear-gradient( to bottom,", ",", " );width:100%;height:calc(100% - ", ");display:flex;justify-content:center;align-items:flex-end;padding:0 ", " ", " ", ";text-align:center;color:", ";"], /*#__PURE__*/polished.rgba(light$f, 0), /*#__PURE__*/polished.rgba(light$f, 1), /*#__PURE__*/polished.rem('50px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), grey$h);
|
|
2310
2466
|
|
|
2311
2467
|
const EmptyTable = props => {
|
|
2312
2468
|
let rows = [];
|
|
@@ -2366,29 +2522,29 @@ const ModalFooter = props => {
|
|
|
2366
2522
|
};
|
|
2367
2523
|
|
|
2368
2524
|
const {
|
|
2369
|
-
green: green$
|
|
2525
|
+
green: green$9,
|
|
2370
2526
|
lightGreen,
|
|
2371
|
-
darkGreen: darkGreen$
|
|
2372
|
-
grey: grey$
|
|
2373
|
-
lightGrey: lightGrey$
|
|
2374
|
-
darkGrey: darkGrey$
|
|
2375
|
-
red: red$
|
|
2527
|
+
darkGreen: darkGreen$5,
|
|
2528
|
+
grey: grey$i,
|
|
2529
|
+
lightGrey: lightGrey$d,
|
|
2530
|
+
darkGrey: darkGrey$3,
|
|
2531
|
+
red: red$b,
|
|
2376
2532
|
lightRed: lightRed$1,
|
|
2377
2533
|
darkRed: darkRed$3
|
|
2378
2534
|
} = colors;
|
|
2379
|
-
const Wrapper$
|
|
2535
|
+
const Wrapper$7 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2380
2536
|
displayName: "styles__Wrapper",
|
|
2381
2537
|
componentId: "d2fn4g-0"
|
|
2382
|
-
})(["--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$
|
|
2383
|
-
--default: ${grey$
|
|
2384
|
-
--light: ${lightGrey$
|
|
2385
|
-
--dark: ${darkGrey$
|
|
2538
|
+
})(["--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$d, darkGrey$3, props => props.color === 'grey' && _styled.css`
|
|
2539
|
+
--default: ${grey$i};
|
|
2540
|
+
--light: ${lightGrey$d};
|
|
2541
|
+
--dark: ${darkGrey$3};
|
|
2386
2542
|
`, props => props.color === 'green' && _styled.css`
|
|
2387
|
-
--default: ${green$
|
|
2543
|
+
--default: ${green$9};
|
|
2388
2544
|
--light: ${lightGreen};
|
|
2389
|
-
--dark: ${darkGreen$
|
|
2545
|
+
--dark: ${darkGreen$5};
|
|
2390
2546
|
`, props => props.color === 'red' && _styled.css`
|
|
2391
|
-
--default: ${red$
|
|
2547
|
+
--default: ${red$b};
|
|
2392
2548
|
--light: ${lightRed$1};
|
|
2393
2549
|
--dark: ${darkRed$3};
|
|
2394
2550
|
`, /*#__PURE__*/polished.rem('2px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('15px'), props => props.buttonValue && _styled.css`
|
|
@@ -2434,7 +2590,7 @@ const NoteCard = props => {
|
|
|
2434
2590
|
className = 'note-card',
|
|
2435
2591
|
style
|
|
2436
2592
|
} = props;
|
|
2437
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
2593
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$7, {
|
|
2438
2594
|
className: className,
|
|
2439
2595
|
color: color,
|
|
2440
2596
|
buttonValue: buttonValue,
|
|
@@ -2449,13 +2605,13 @@ function hasValue(value) {
|
|
|
2449
2605
|
}
|
|
2450
2606
|
|
|
2451
2607
|
const {
|
|
2452
|
-
normal: normal$
|
|
2453
|
-
light: light$
|
|
2454
|
-
grey: grey$
|
|
2455
|
-
lightGrey: lightGrey$
|
|
2608
|
+
normal: normal$a,
|
|
2609
|
+
light: light$g,
|
|
2610
|
+
grey: grey$j,
|
|
2611
|
+
lightGrey: lightGrey$e
|
|
2456
2612
|
} = colors;
|
|
2457
2613
|
const {
|
|
2458
|
-
bold: bold$
|
|
2614
|
+
bold: bold$7
|
|
2459
2615
|
} = fontWeight;
|
|
2460
2616
|
const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2461
2617
|
displayName: "styles__TableWrapper",
|
|
@@ -2464,11 +2620,11 @@ const TableWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
2464
2620
|
const OverflowWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2465
2621
|
displayName: "styles__OverflowWrapper",
|
|
2466
2622
|
componentId: "vmoy3z-1"
|
|
2467
|
-
})(["@media ", "{display:block;border-radius:", ";background:linear-gradient(to right,", " 30%,rgba(255,255,255,0)),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:#fff;background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, /*#__PURE__*/polished.rem('6px'), light$
|
|
2623
|
+
})(["@media ", "{display:block;border-radius:", ";background:linear-gradient(to right,", " 30%,rgba(255,255,255,0)),linear-gradient(to right,rgba(255,255,255,0),", " 70%) 0 100%,radial-gradient( farthest-side at 0% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ),radial-gradient( farthest-side at 100% 50%,rgba(0,0,0,0.2),rgba(0,0,0,0) ) 0 100%;background-repeat:no-repeat;background-color:#fff;background-size:", " 100%,", " 100%,", " 100%,", " 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll;overflow-x:auto;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-scrollbar-width:none;-moz-scrollbar-width:none;-ms-scrollbar-width:none;scrollbar-width:none;}"], device.s, /*#__PURE__*/polished.rem('6px'), light$g, light$g, /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('40px'), /*#__PURE__*/polished.rem('14px'), /*#__PURE__*/polished.rem('14px'));
|
|
2468
2624
|
const Table = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2469
2625
|
displayName: "styles__Table",
|
|
2470
2626
|
componentId: "vmoy3z-2"
|
|
2471
|
-
})(["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$
|
|
2627
|
+
})(["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$e, 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'));
|
|
2472
2628
|
|
|
2473
2629
|
const Table$1 = props => {
|
|
2474
2630
|
const {
|
|
@@ -2560,29 +2716,32 @@ const Table$1 = props => {
|
|
|
2560
2716
|
}))))))), isVisible && /*#__PURE__*/React__default.createElement(ActionMenuList, {
|
|
2561
2717
|
actions: actions,
|
|
2562
2718
|
data: rowData,
|
|
2563
|
-
rowIndex: rowIndex
|
|
2719
|
+
rowIndex: rowIndex,
|
|
2720
|
+
handleOptionClick: () => {
|
|
2721
|
+
setIsVisible(false);
|
|
2722
|
+
}
|
|
2564
2723
|
})));
|
|
2565
2724
|
};
|
|
2566
2725
|
|
|
2567
2726
|
const {
|
|
2568
|
-
normal: normal$
|
|
2569
|
-
grey: grey$
|
|
2570
|
-
lightGrey: lightGrey$
|
|
2727
|
+
normal: normal$b,
|
|
2728
|
+
grey: grey$k,
|
|
2729
|
+
lightGrey: lightGrey$f
|
|
2571
2730
|
} = colors;
|
|
2572
2731
|
const {
|
|
2573
|
-
bold: bold$
|
|
2732
|
+
bold: bold$8
|
|
2574
2733
|
} = fontWeight;
|
|
2575
2734
|
const Table$2 = /*#__PURE__*/_styled__default.table.withConfig({
|
|
2576
2735
|
displayName: "styles__Table",
|
|
2577
2736
|
componentId: "sc-1p618q0-0"
|
|
2578
|
-
})(["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$
|
|
2737
|
+
})(["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$f, 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'));
|
|
2579
2738
|
const TableRow = /*#__PURE__*/_styled__default.tr.withConfig({
|
|
2580
2739
|
displayName: "styles__TableRow",
|
|
2581
2740
|
componentId: "sc-1p618q0-1"
|
|
2582
2741
|
})(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
|
|
2583
2742
|
|
|
2584
2743
|
const {
|
|
2585
|
-
light: light$
|
|
2744
|
+
light: light$h
|
|
2586
2745
|
} = colors;
|
|
2587
2746
|
|
|
2588
2747
|
const TableDnD = props => {
|
|
@@ -2637,12 +2796,12 @@ const TableDnD = props => {
|
|
|
2637
2796
|
|
|
2638
2797
|
const getItemStyle = (isDragging, draggableStyle) => ({
|
|
2639
2798
|
userSelect: 'none',
|
|
2640
|
-
background: isDragging ? light$
|
|
2799
|
+
background: isDragging ? light$h : 'transparent',
|
|
2641
2800
|
...draggableStyle
|
|
2642
2801
|
});
|
|
2643
2802
|
|
|
2644
2803
|
const getListStyle = isDraggingOver => ({
|
|
2645
|
-
background: isDraggingOver ? light$
|
|
2804
|
+
background: isDraggingOver ? light$h : 'transparent'
|
|
2646
2805
|
});
|
|
2647
2806
|
|
|
2648
2807
|
return (
|
|
@@ -2741,14 +2900,14 @@ const TableDnD = props => {
|
|
|
2741
2900
|
};
|
|
2742
2901
|
|
|
2743
2902
|
const {
|
|
2744
|
-
normal: normal$
|
|
2745
|
-
grey: grey$
|
|
2746
|
-
red: red$
|
|
2903
|
+
normal: normal$c,
|
|
2904
|
+
grey: grey$l,
|
|
2905
|
+
red: red$c
|
|
2747
2906
|
} = colors;
|
|
2748
|
-
const Wrapper$
|
|
2907
|
+
const Wrapper$8 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2749
2908
|
displayName: "styles__Wrapper",
|
|
2750
2909
|
componentId: "mbja2a-0"
|
|
2751
|
-
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/polished.rem('5px'), props => props.error ? red$
|
|
2910
|
+
})(["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'));
|
|
2752
2911
|
|
|
2753
2912
|
const FormGroup = props => {
|
|
2754
2913
|
const {
|
|
@@ -2757,7 +2916,7 @@ const FormGroup = props => {
|
|
|
2757
2916
|
error = false,
|
|
2758
2917
|
children
|
|
2759
2918
|
} = props;
|
|
2760
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
2919
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$8, {
|
|
2761
2920
|
error: error
|
|
2762
2921
|
}, /*#__PURE__*/React__default.createElement(Label, {
|
|
2763
2922
|
value: label,
|
|
@@ -2766,14 +2925,14 @@ const FormGroup = props => {
|
|
|
2766
2925
|
};
|
|
2767
2926
|
|
|
2768
2927
|
const {
|
|
2769
|
-
grey: grey$
|
|
2770
|
-
lightGrey: lightGrey$
|
|
2928
|
+
grey: grey$m,
|
|
2929
|
+
lightGrey: lightGrey$g,
|
|
2771
2930
|
lightRed: lightRed$2
|
|
2772
2931
|
} = colors;
|
|
2773
|
-
const Wrapper$
|
|
2932
|
+
const Wrapper$9 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
2774
2933
|
displayName: "styles__Wrapper",
|
|
2775
2934
|
componentId: "sc-124afcu-0"
|
|
2776
|
-
})(["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$
|
|
2935
|
+
})(["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$g);
|
|
2777
2936
|
const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
2778
2937
|
displayName: "styles__Input",
|
|
2779
2938
|
componentId: "sc-124afcu-1"
|
|
@@ -2781,7 +2940,7 @@ const Input = /*#__PURE__*/_styled__default.input.withConfig({
|
|
|
2781
2940
|
const Button$1 = /*#__PURE__*/_styled__default.button.withConfig({
|
|
2782
2941
|
displayName: "styles__Button",
|
|
2783
2942
|
componentId: "sc-124afcu-2"
|
|
2784
|
-
})(["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$
|
|
2943
|
+
})(["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$g, /*#__PURE__*/polished.rem('1px'), grey$m, /*#__PURE__*/polished.rem('1px'), grey$m, /*#__PURE__*/polished.rem('20px'), grey$m, lightGrey$g);
|
|
2785
2944
|
|
|
2786
2945
|
const NumberInputSpinner = props => {
|
|
2787
2946
|
const {
|
|
@@ -2813,7 +2972,7 @@ const NumberInputSpinner = props => {
|
|
|
2813
2972
|
setNumber(value);
|
|
2814
2973
|
};
|
|
2815
2974
|
|
|
2816
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
2975
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$9, null, /*#__PURE__*/React__default.createElement(Button$1, {
|
|
2817
2976
|
className: "remove-button",
|
|
2818
2977
|
"aria-label": decreaseAriaLabel,
|
|
2819
2978
|
onClick: evt => {
|
|
@@ -2847,10 +3006,10 @@ const NumberInputSpinner = props => {
|
|
|
2847
3006
|
};
|
|
2848
3007
|
|
|
2849
3008
|
const {
|
|
2850
|
-
green: green$
|
|
2851
|
-
grey: grey$
|
|
2852
|
-
lightGrey: lightGrey$
|
|
2853
|
-
light: light$
|
|
3009
|
+
green: green$a,
|
|
3010
|
+
grey: grey$n,
|
|
3011
|
+
lightGrey: lightGrey$h,
|
|
3012
|
+
light: light$i
|
|
2854
3013
|
} = colors;
|
|
2855
3014
|
const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
2856
3015
|
displayName: "styles__Steps",
|
|
@@ -2859,7 +3018,7 @@ const Steps = /*#__PURE__*/_styled__default.ul.withConfig({
|
|
|
2859
3018
|
const Step = /*#__PURE__*/_styled__default.li.withConfig({
|
|
2860
3019
|
displayName: "styles__Step",
|
|
2861
3020
|
componentId: "sc-1s2dhfy-1"
|
|
2862
|
-
})(["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$
|
|
3021
|
+
})(["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$h, /*#__PURE__*/polished.rem('22px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('-15px'), /*#__PURE__*/polished.rem('18px'), props => props.active ? green$a : lightGrey$h, /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('6px'), props => props.active ? green$a : lightGrey$h, props => props.active ? light$i : grey$n, device.s);
|
|
2863
3022
|
|
|
2864
3023
|
const WizardSteps = props => {
|
|
2865
3024
|
const {
|
|
@@ -2880,28 +3039,28 @@ const WizardSteps = props => {
|
|
|
2880
3039
|
};
|
|
2881
3040
|
|
|
2882
3041
|
const {
|
|
2883
|
-
light: light$
|
|
2884
|
-
green: green$
|
|
2885
|
-
darkGreen: darkGreen$
|
|
2886
|
-
red: red$
|
|
3042
|
+
light: light$j,
|
|
3043
|
+
green: green$b,
|
|
3044
|
+
darkGreen: darkGreen$6,
|
|
3045
|
+
red: red$d,
|
|
2887
3046
|
darkRed: darkRed$4,
|
|
2888
3047
|
orange: orange$3,
|
|
2889
3048
|
darkOrange: darkOrange$2
|
|
2890
3049
|
} = colors;
|
|
2891
|
-
const Wrapper$
|
|
3050
|
+
const Wrapper$a = _styled__default.div`
|
|
2892
3051
|
--shadow: 0 0 ${/*#__PURE__*/polished.rem('25px')} 0 rgba(40, 40, 40, 0.2);
|
|
2893
3052
|
|
|
2894
3053
|
position: fixed;
|
|
2895
3054
|
top: ${/*#__PURE__*/polished.rem('15px')};
|
|
2896
3055
|
right: 0;
|
|
2897
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${darkGreen$
|
|
3056
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${darkGreen$6};
|
|
2898
3057
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
2899
|
-
background-color: ${green$
|
|
3058
|
+
background-color: ${green$b};
|
|
2900
3059
|
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
2901
3060
|
max-height: min-content;
|
|
2902
3061
|
display: flex;
|
|
2903
3062
|
padding: ${/*#__PURE__*/polished.rem('15px')};
|
|
2904
|
-
color: ${light$
|
|
3063
|
+
color: ${light$j};
|
|
2905
3064
|
-moz-box-shadow: var(--shadow);
|
|
2906
3065
|
-webkit-box-shadow: var(--shadow);
|
|
2907
3066
|
box-shadow: var(--shadow);
|
|
@@ -2912,7 +3071,7 @@ const Wrapper$9 = _styled__default.div`
|
|
|
2912
3071
|
background-color: transparent;
|
|
2913
3072
|
|
|
2914
3073
|
svg {
|
|
2915
|
-
fill: ${darkGreen$
|
|
3074
|
+
fill: ${darkGreen$6};
|
|
2916
3075
|
}
|
|
2917
3076
|
}
|
|
2918
3077
|
|
|
@@ -2946,7 +3105,7 @@ const Wrapper$9 = _styled__default.div`
|
|
|
2946
3105
|
|
|
2947
3106
|
${props => props.variant === 'red' && _styled.css`
|
|
2948
3107
|
border: ${polished.rem('2px')} solid ${darkRed$4};
|
|
2949
|
-
background-color: ${red$
|
|
3108
|
+
background-color: ${red$d};
|
|
2950
3109
|
|
|
2951
3110
|
button {
|
|
2952
3111
|
svg {
|
|
@@ -2979,7 +3138,7 @@ const AlertNotification = props => {
|
|
|
2979
3138
|
value,
|
|
2980
3139
|
children
|
|
2981
3140
|
} = props;
|
|
2982
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
3141
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$a, {
|
|
2983
3142
|
className: className,
|
|
2984
3143
|
variant: variant
|
|
2985
3144
|
}, /*#__PURE__*/React__default.createElement("div", null, value ? /*#__PURE__*/React__default.createElement("span", null, value) : children), /*#__PURE__*/React__default.createElement(Button, {
|
|
@@ -2990,13 +3149,13 @@ const AlertNotification = props => {
|
|
|
2990
3149
|
};
|
|
2991
3150
|
|
|
2992
3151
|
const {
|
|
2993
|
-
normal: normal$
|
|
2994
|
-
light: light$
|
|
2995
|
-
blue,
|
|
2996
|
-
lightGrey: lightGrey$
|
|
3152
|
+
normal: normal$d,
|
|
3153
|
+
light: light$k,
|
|
3154
|
+
blue: blue$2,
|
|
3155
|
+
lightGrey: lightGrey$i
|
|
2997
3156
|
} = colors;
|
|
2998
3157
|
const {
|
|
2999
|
-
bold: bold$
|
|
3158
|
+
bold: bold$9
|
|
3000
3159
|
} = fontWeight;
|
|
3001
3160
|
const PaginationWrapper = _styled__default.div`
|
|
3002
3161
|
--size: ${/*#__PURE__*/polished.rem('30px')};
|
|
@@ -3038,18 +3197,18 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3038
3197
|
display: flex;
|
|
3039
3198
|
justify-content: center;
|
|
3040
3199
|
align-items: center;
|
|
3041
|
-
color: ${normal$
|
|
3042
|
-
font-weight: ${bold$
|
|
3200
|
+
color: ${normal$d};
|
|
3201
|
+
font-weight: ${bold$9};
|
|
3043
3202
|
text-decoration: none;
|
|
3044
3203
|
|
|
3045
3204
|
&:hover {
|
|
3046
|
-
color: ${blue};
|
|
3205
|
+
color: ${blue$2};
|
|
3047
3206
|
}
|
|
3048
3207
|
|
|
3049
3208
|
svg {
|
|
3050
3209
|
width: ${/*#__PURE__*/polished.rem('18px')};
|
|
3051
3210
|
height: auto;
|
|
3052
|
-
fill: ${blue};
|
|
3211
|
+
fill: ${blue$2};
|
|
3053
3212
|
}
|
|
3054
3213
|
}
|
|
3055
3214
|
|
|
@@ -3057,18 +3216,18 @@ const PaginationWrapper = _styled__default.div`
|
|
|
3057
3216
|
pointer-events: none;
|
|
3058
3217
|
|
|
3059
3218
|
a {
|
|
3060
|
-
background-color: ${blue};
|
|
3061
|
-
color: ${light$
|
|
3219
|
+
background-color: ${blue$2};
|
|
3220
|
+
color: ${light$k};
|
|
3062
3221
|
}
|
|
3063
3222
|
}
|
|
3064
3223
|
}
|
|
3065
3224
|
|
|
3066
3225
|
&.dark {
|
|
3067
3226
|
a {
|
|
3068
|
-
color: ${lightGrey$
|
|
3227
|
+
color: ${lightGrey$i};
|
|
3069
3228
|
|
|
3070
3229
|
&:hover {
|
|
3071
|
-
color: ${light$
|
|
3230
|
+
color: ${light$k};
|
|
3072
3231
|
}
|
|
3073
3232
|
}
|
|
3074
3233
|
}
|
|
@@ -3127,13 +3286,13 @@ const PaginationControl = props => {
|
|
|
3127
3286
|
};
|
|
3128
3287
|
|
|
3129
3288
|
const {
|
|
3130
|
-
normal: normal$
|
|
3131
|
-
green: green$
|
|
3289
|
+
normal: normal$e,
|
|
3290
|
+
green: green$c
|
|
3132
3291
|
} = colors;
|
|
3133
3292
|
const {
|
|
3134
|
-
bold: bold$
|
|
3293
|
+
bold: bold$a
|
|
3135
3294
|
} = fontWeight;
|
|
3136
|
-
const Wrapper$
|
|
3295
|
+
const Wrapper$b = _styled__default.div`
|
|
3137
3296
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
3138
3297
|
display: flex;
|
|
3139
3298
|
flex-direction: column;
|
|
@@ -3149,15 +3308,15 @@ const Wrapper$a = _styled__default.div`
|
|
|
3149
3308
|
|
|
3150
3309
|
> span {
|
|
3151
3310
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3152
|
-
font-weight: ${bold$
|
|
3153
|
-
color: ${normal$
|
|
3311
|
+
font-weight: ${bold$a};
|
|
3312
|
+
color: ${normal$e};
|
|
3154
3313
|
|
|
3155
3314
|
a {
|
|
3156
|
-
color: ${normal$
|
|
3315
|
+
color: ${normal$e};
|
|
3157
3316
|
transition-duration: 0.3s;
|
|
3158
3317
|
|
|
3159
3318
|
&:hover {
|
|
3160
|
-
color: ${green$
|
|
3319
|
+
color: ${green$c};
|
|
3161
3320
|
}
|
|
3162
3321
|
}
|
|
3163
3322
|
}
|
|
@@ -3168,7 +3327,7 @@ const Error = props => {
|
|
|
3168
3327
|
variant = 'default',
|
|
3169
3328
|
value
|
|
3170
3329
|
} = props;
|
|
3171
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
3330
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$b, {
|
|
3172
3331
|
variant: variant
|
|
3173
3332
|
}, variant === 'default' ? /*#__PURE__*/React__default.createElement(Icon, {
|
|
3174
3333
|
icon: "warning",
|
|
@@ -3177,13 +3336,13 @@ const Error = props => {
|
|
|
3177
3336
|
};
|
|
3178
3337
|
|
|
3179
3338
|
const {
|
|
3180
|
-
normal: normal$
|
|
3181
|
-
green: green$
|
|
3339
|
+
normal: normal$f,
|
|
3340
|
+
green: green$d
|
|
3182
3341
|
} = colors;
|
|
3183
3342
|
const {
|
|
3184
|
-
bold: bold$
|
|
3343
|
+
bold: bold$b
|
|
3185
3344
|
} = fontWeight;
|
|
3186
|
-
const Wrapper$
|
|
3345
|
+
const Wrapper$c = _styled__default.div`
|
|
3187
3346
|
min-height: 50vh;
|
|
3188
3347
|
display: flex;
|
|
3189
3348
|
flex-direction: column;
|
|
@@ -3199,15 +3358,15 @@ const Wrapper$b = _styled__default.div`
|
|
|
3199
3358
|
|
|
3200
3359
|
> div {
|
|
3201
3360
|
margin-top: ${/*#__PURE__*/polished.rem('15px')};
|
|
3202
|
-
font-weight: ${bold$
|
|
3203
|
-
color: ${normal$
|
|
3361
|
+
font-weight: ${bold$b};
|
|
3362
|
+
color: ${normal$f};
|
|
3204
3363
|
|
|
3205
3364
|
a {
|
|
3206
|
-
color: ${normal$
|
|
3365
|
+
color: ${normal$f};
|
|
3207
3366
|
transition-duration: 0.3s;
|
|
3208
3367
|
|
|
3209
3368
|
&:hover {
|
|
3210
|
-
color: ${green$
|
|
3369
|
+
color: ${green$d};
|
|
3211
3370
|
}
|
|
3212
3371
|
}
|
|
3213
3372
|
}
|
|
@@ -5169,20 +5328,20 @@ const DataWarning = props => {
|
|
|
5169
5328
|
icon = /*#__PURE__*/React__default.createElement(IconLoginOnly, null);
|
|
5170
5329
|
}
|
|
5171
5330
|
|
|
5172
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5331
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$c, {
|
|
5173
5332
|
type: type
|
|
5174
5333
|
}, icon, /*#__PURE__*/React__default.createElement("div", null, children));
|
|
5175
5334
|
};
|
|
5176
5335
|
|
|
5177
5336
|
const {
|
|
5178
|
-
normal: normal$
|
|
5179
|
-
green: green$
|
|
5180
|
-
darkGreen: darkGreen$
|
|
5181
|
-
grey: grey$
|
|
5182
|
-
lightGrey: lightGrey$
|
|
5183
|
-
red: red$
|
|
5337
|
+
normal: normal$g,
|
|
5338
|
+
green: green$e,
|
|
5339
|
+
darkGreen: darkGreen$7,
|
|
5340
|
+
grey: grey$o,
|
|
5341
|
+
lightGrey: lightGrey$j,
|
|
5342
|
+
red: red$e
|
|
5184
5343
|
} = colors;
|
|
5185
|
-
const Wrapper$
|
|
5344
|
+
const Wrapper$d = _styled__default.ul`
|
|
5186
5345
|
display: flex;
|
|
5187
5346
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5188
5347
|
position: relative;
|
|
@@ -5203,11 +5362,11 @@ const Wrapper$c = _styled__default.ul`
|
|
|
5203
5362
|
}
|
|
5204
5363
|
|
|
5205
5364
|
input[type='radio']:checked ~ .check {
|
|
5206
|
-
border-color: ${darkGreen$
|
|
5365
|
+
border-color: ${darkGreen$7};
|
|
5207
5366
|
}
|
|
5208
5367
|
|
|
5209
5368
|
input[type='radio']:checked ~ .check::before {
|
|
5210
|
-
background-color: ${green$
|
|
5369
|
+
background-color: ${green$e};
|
|
5211
5370
|
}
|
|
5212
5371
|
|
|
5213
5372
|
& + span {
|
|
@@ -5230,7 +5389,7 @@ const Item = _styled__default.li`
|
|
|
5230
5389
|
padding-left: calc(var(--size) + 5px);
|
|
5231
5390
|
line-height: var(--size);
|
|
5232
5391
|
vertical-align: middle;
|
|
5233
|
-
color: ${props => props.error ? red$
|
|
5392
|
+
color: ${props => props.error ? red$e : null};
|
|
5234
5393
|
cursor: pointer;
|
|
5235
5394
|
z-index: 1;
|
|
5236
5395
|
}
|
|
@@ -5238,7 +5397,7 @@ const Item = _styled__default.li`
|
|
|
5238
5397
|
.check {
|
|
5239
5398
|
position: absolute;
|
|
5240
5399
|
top: 0;
|
|
5241
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${props => props.error ? red$
|
|
5400
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${props => props.error ? red$e : grey$o};
|
|
5242
5401
|
border-radius: 100%;
|
|
5243
5402
|
width: var(--size);
|
|
5244
5403
|
height: var(--size);
|
|
@@ -5257,21 +5416,21 @@ const Item = _styled__default.li`
|
|
|
5257
5416
|
}
|
|
5258
5417
|
|
|
5259
5418
|
&:hover .check {
|
|
5260
|
-
border-color: ${normal$
|
|
5419
|
+
border-color: ${normal$g};
|
|
5261
5420
|
}
|
|
5262
5421
|
|
|
5263
5422
|
${props => props.disabled && _styled.css`
|
|
5264
5423
|
label {
|
|
5265
|
-
color: ${grey$
|
|
5424
|
+
color: ${grey$o};
|
|
5266
5425
|
}
|
|
5267
5426
|
|
|
5268
5427
|
input[type='radio'] ~ .check,
|
|
5269
5428
|
input[type='radio']:checked ~ .check {
|
|
5270
|
-
border-color: ${lightGrey$
|
|
5429
|
+
border-color: ${lightGrey$j};
|
|
5271
5430
|
}
|
|
5272
5431
|
|
|
5273
5432
|
input[type='radio']:checked ~ .check::before {
|
|
5274
|
-
background-color: ${lightGrey$
|
|
5433
|
+
background-color: ${lightGrey$j};
|
|
5275
5434
|
}
|
|
5276
5435
|
|
|
5277
5436
|
&:hover {
|
|
@@ -5296,7 +5455,7 @@ const RadioGroup = props => {
|
|
|
5296
5455
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
5297
5456
|
style: style,
|
|
5298
5457
|
className: className
|
|
5299
|
-
}, /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5458
|
+
}, /*#__PURE__*/React__default.createElement(Wrapper$d, {
|
|
5300
5459
|
type: type,
|
|
5301
5460
|
group: group,
|
|
5302
5461
|
error: error,
|
|
@@ -5321,7 +5480,7 @@ const RadioGroup = props => {
|
|
|
5321
5480
|
}) : null);
|
|
5322
5481
|
};
|
|
5323
5482
|
|
|
5324
|
-
const Wrapper$
|
|
5483
|
+
const Wrapper$e = _styled__default.ul`
|
|
5325
5484
|
display: flex;
|
|
5326
5485
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5327
5486
|
position: relative;
|
|
@@ -5354,7 +5513,7 @@ const CheckboxGroup = props => {
|
|
|
5354
5513
|
error,
|
|
5355
5514
|
disabled
|
|
5356
5515
|
} = props;
|
|
5357
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5516
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$e, {
|
|
5358
5517
|
type: type,
|
|
5359
5518
|
error: error
|
|
5360
5519
|
}, children ? children : options && Array.isArray(options) ? options.map((value, index) => /*#__PURE__*/React__default.createElement("li", {
|
|
@@ -5371,15 +5530,15 @@ const CheckboxGroup = props => {
|
|
|
5371
5530
|
}) : null);
|
|
5372
5531
|
};
|
|
5373
5532
|
|
|
5374
|
-
const Wrapper$
|
|
5533
|
+
const Wrapper$f = _styled__default.div`
|
|
5375
5534
|
label {
|
|
5376
5535
|
margin-bottom: ${/*#__PURE__*/polished.rem('5px')};
|
|
5377
5536
|
}
|
|
5378
5537
|
`;
|
|
5379
5538
|
const {
|
|
5380
|
-
grey: grey$
|
|
5381
|
-
darkGrey: darkGrey$
|
|
5382
|
-
light: light$
|
|
5539
|
+
grey: grey$p,
|
|
5540
|
+
darkGrey: darkGrey$4,
|
|
5541
|
+
light: light$l,
|
|
5383
5542
|
purple: purple$6
|
|
5384
5543
|
} = colors;
|
|
5385
5544
|
const Field = _styled__default.div`
|
|
@@ -5407,7 +5566,7 @@ const Field = _styled__default.div`
|
|
|
5407
5566
|
button {
|
|
5408
5567
|
border: 0;
|
|
5409
5568
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} 0;
|
|
5410
|
-
background-color: ${grey$
|
|
5569
|
+
background-color: ${grey$p};
|
|
5411
5570
|
min-width: ${/*#__PURE__*/polished.rem('50px')};
|
|
5412
5571
|
height: ${/*#__PURE__*/polished.rem('50px')};
|
|
5413
5572
|
display: flex;
|
|
@@ -5423,12 +5582,12 @@ const Field = _styled__default.div`
|
|
|
5423
5582
|
width: auto;
|
|
5424
5583
|
min-width: ${/*#__PURE__*/polished.rem('20px')};
|
|
5425
5584
|
height: ${/*#__PURE__*/polished.rem('20px')};
|
|
5426
|
-
fill: ${light$
|
|
5585
|
+
fill: ${light$l};
|
|
5427
5586
|
transition: 0.3s;
|
|
5428
5587
|
}
|
|
5429
5588
|
|
|
5430
5589
|
&:hover {
|
|
5431
|
-
background-color: ${darkGrey$
|
|
5590
|
+
background-color: ${darkGrey$4};
|
|
5432
5591
|
}
|
|
5433
5592
|
|
|
5434
5593
|
&:disabled {
|
|
@@ -5436,7 +5595,7 @@ const Field = _styled__default.div`
|
|
|
5436
5595
|
opacity: 0.5;
|
|
5437
5596
|
|
|
5438
5597
|
&:hover {
|
|
5439
|
-
background-color: ${grey$
|
|
5598
|
+
background-color: ${grey$p};
|
|
5440
5599
|
pointer-events: none;
|
|
5441
5600
|
}
|
|
5442
5601
|
}
|
|
@@ -5460,7 +5619,7 @@ const FieldWidthButton = props => {
|
|
|
5460
5619
|
buttonAction,
|
|
5461
5620
|
buttonDisabled
|
|
5462
5621
|
} = props;
|
|
5463
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5622
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$f, null, label && /*#__PURE__*/React__default.createElement(Label, {
|
|
5464
5623
|
value: label
|
|
5465
5624
|
}), /*#__PURE__*/React__default.createElement(Field, null, /*#__PURE__*/React__default.createElement(TextField, {
|
|
5466
5625
|
minimal: false,
|
|
@@ -5482,23 +5641,23 @@ const FieldWidthButton = props => {
|
|
|
5482
5641
|
};
|
|
5483
5642
|
|
|
5484
5643
|
const {
|
|
5485
|
-
normal: normal$
|
|
5644
|
+
normal: normal$h,
|
|
5486
5645
|
purple: purple$7,
|
|
5487
|
-
grey: grey$
|
|
5488
|
-
lightGrey: lightGrey$
|
|
5489
|
-
light: light$
|
|
5646
|
+
grey: grey$q,
|
|
5647
|
+
lightGrey: lightGrey$k,
|
|
5648
|
+
light: light$m
|
|
5490
5649
|
} = colors;
|
|
5491
5650
|
const {
|
|
5492
|
-
bold: bold$
|
|
5651
|
+
bold: bold$c
|
|
5493
5652
|
} = fontWeight;
|
|
5494
|
-
const Wrapper$
|
|
5653
|
+
const Wrapper$g = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5495
5654
|
displayName: "styles__Wrapper",
|
|
5496
5655
|
componentId: "znznmm-0"
|
|
5497
|
-
})(["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$
|
|
5656
|
+
})(["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);
|
|
5498
5657
|
const More = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5499
5658
|
displayName: "styles__More",
|
|
5500
5659
|
componentId: "znznmm-1"
|
|
5501
|
-
})(["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$
|
|
5660
|
+
})(["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$k, /*#__PURE__*/polished.rem('4px'), light$m, /*#__PURE__*/polished.rem('5px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), /*#__PURE__*/polished.rem('15px'), lightGrey$k, normal$h, normal$h, /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('4px'), /*#__PURE__*/polished.rem('15px'));
|
|
5502
5661
|
|
|
5503
5662
|
const HorizontalNav = props => {
|
|
5504
5663
|
const [showMore, setShowMore] = React.useState(false);
|
|
@@ -5552,7 +5711,7 @@ const HorizontalNav = props => {
|
|
|
5552
5711
|
|
|
5553
5712
|
return;
|
|
5554
5713
|
}, [ref]);
|
|
5555
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
5714
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$g, {
|
|
5556
5715
|
ref: ref,
|
|
5557
5716
|
className: className,
|
|
5558
5717
|
customColor: customColor
|
|
@@ -5575,10 +5734,10 @@ const HorizontalNav = props => {
|
|
|
5575
5734
|
};
|
|
5576
5735
|
|
|
5577
5736
|
const {
|
|
5578
|
-
light: light$
|
|
5737
|
+
light: light$n
|
|
5579
5738
|
} = colors;
|
|
5580
5739
|
const {
|
|
5581
|
-
bold: bold$
|
|
5740
|
+
bold: bold$d
|
|
5582
5741
|
} = fontWeight;
|
|
5583
5742
|
const ModalOverlay = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5584
5743
|
displayName: "styles__ModalOverlay",
|
|
@@ -5591,11 +5750,11 @@ const ModalWrapper = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5591
5750
|
const ModalContainer = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5592
5751
|
displayName: "styles__ModalContainer",
|
|
5593
5752
|
componentId: "sc-16r6vcc-2"
|
|
5594
|
-
})(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:0.3s;@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], light$
|
|
5753
|
+
})(["position:relative;background:", ";width:100%;min-height:0;padding:", ";word-wrap:break-word;transition-duration:0.3s;@media ", "{--spacing:", ";margin:var(--spacing);border-radius:", ";max-width:", ";padding:var(--spacing);&:after{content:'';position:absolute;bottom:calc(var(--spacing) * -1);width:", ";height:var(--spacing);}}"], light$n, /*#__PURE__*/polished.rem('15px'), device.s, /*#__PURE__*/polished.rem('30px'), /*#__PURE__*/polished.rem('6px'), /*#__PURE__*/polished.rem('860px'), /*#__PURE__*/polished.rem('1px'));
|
|
5595
5754
|
const ModalHeader = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5596
5755
|
displayName: "styles__ModalHeader",
|
|
5597
5756
|
componentId: "sc-16r6vcc-3"
|
|
5598
|
-
})(["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$
|
|
5757
|
+
})(["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);
|
|
5599
5758
|
|
|
5600
5759
|
const Modal = props => {
|
|
5601
5760
|
const {
|
|
@@ -5646,10 +5805,10 @@ const Modal = props => {
|
|
|
5646
5805
|
};
|
|
5647
5806
|
|
|
5648
5807
|
const {
|
|
5649
|
-
light: light$
|
|
5808
|
+
light: light$o
|
|
5650
5809
|
} = colors;
|
|
5651
5810
|
const {
|
|
5652
|
-
bold: bold$
|
|
5811
|
+
bold: bold$e
|
|
5653
5812
|
} = fontWeight;
|
|
5654
5813
|
const slideInLeft = _styled.keyframes`
|
|
5655
5814
|
from {
|
|
@@ -5671,11 +5830,11 @@ const ModalWrapper$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
|
5671
5830
|
const ModalContainer$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5672
5831
|
displayName: "styles__ModalContainer",
|
|
5673
5832
|
componentId: "sc-46huls-2"
|
|
5674
|
-
})(["position:absolute;right:0;background:", ";width:100%;min-height:100vh;display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translate3d(100%,0,0);animation-name:", ";@media ", "{max-width:", ";padding:", ";}"], light$
|
|
5833
|
+
})(["position:absolute;right:0;background:", ";width:100%;min-height:100vh;display:flex;flex-direction:column;padding:", ";word-wrap:break-word;animation-timing-function:", ";animation-duration:1s;animation-fill-mode:forwards;transform:translate3d(100%,0,0);animation-name:", ";@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'));
|
|
5675
5834
|
const ModalHeader$1 = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5676
5835
|
displayName: "styles__ModalHeader",
|
|
5677
5836
|
componentId: "sc-46huls-3"
|
|
5678
|
-
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$
|
|
5837
|
+
})(["top:0;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}"], /*#__PURE__*/polished.rem('30px'), bold$e);
|
|
5679
5838
|
const ModalContent = /*#__PURE__*/_styled__default.div.withConfig({
|
|
5680
5839
|
displayName: "styles__ModalContent",
|
|
5681
5840
|
componentId: "sc-46huls-4"
|
|
@@ -5709,9 +5868,9 @@ const ModalDrawer = props => {
|
|
|
5709
5868
|
};
|
|
5710
5869
|
|
|
5711
5870
|
const {
|
|
5712
|
-
lightGrey: lightGrey$
|
|
5871
|
+
lightGrey: lightGrey$l
|
|
5713
5872
|
} = colors;
|
|
5714
|
-
const Wrapper$
|
|
5873
|
+
const Wrapper$h = _styled__default.div`
|
|
5715
5874
|
div {
|
|
5716
5875
|
width: 100%;
|
|
5717
5876
|
height: 100%;
|
|
@@ -5772,7 +5931,7 @@ const Wrapper$g = _styled__default.div`
|
|
|
5772
5931
|
|
|
5773
5932
|
.card {
|
|
5774
5933
|
position: relative;
|
|
5775
|
-
border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$
|
|
5934
|
+
border: ${/*#__PURE__*/polished.rem('2px')} solid ${lightGrey$l};
|
|
5776
5935
|
border-radius: ${/*#__PURE__*/polished.rem('6px')};
|
|
5777
5936
|
width: ${/*#__PURE__*/polished.rem('300px')};
|
|
5778
5937
|
overflow: hidden;
|
|
@@ -5787,7 +5946,7 @@ const Wrapper$g = _styled__default.div`
|
|
|
5787
5946
|
margin: ${/*#__PURE__*/polished.rem('-45px')} 0 0 ${/*#__PURE__*/polished.rem('20px')};
|
|
5788
5947
|
width: ${/*#__PURE__*/polished.rem('90px')};
|
|
5789
5948
|
height: ${/*#__PURE__*/polished.rem('90px')};
|
|
5790
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$
|
|
5949
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${lightGrey$l};
|
|
5791
5950
|
border-radius: 999px;
|
|
5792
5951
|
}
|
|
5793
5952
|
|
|
@@ -5926,32 +6085,32 @@ const LoadingState = props => {
|
|
|
5926
6085
|
}), paragraphs));
|
|
5927
6086
|
}
|
|
5928
6087
|
|
|
5929
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
6088
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$h, {
|
|
5930
6089
|
type: type
|
|
5931
6090
|
}, loadingType);
|
|
5932
6091
|
};
|
|
5933
6092
|
|
|
5934
6093
|
const {
|
|
5935
|
-
normal: normal$
|
|
5936
|
-
grey: grey$
|
|
5937
|
-
lightGrey: lightGrey$
|
|
5938
|
-
light: light$
|
|
6094
|
+
normal: normal$i,
|
|
6095
|
+
grey: grey$r,
|
|
6096
|
+
lightGrey: lightGrey$m,
|
|
6097
|
+
light: light$p
|
|
5939
6098
|
} = colors;
|
|
5940
|
-
const Wrapper$
|
|
6099
|
+
const Wrapper$i = _styled__default.div`
|
|
5941
6100
|
.tab {
|
|
5942
|
-
border-color: ${lightGrey$
|
|
6101
|
+
border-color: ${lightGrey$m};
|
|
5943
6102
|
|
|
5944
6103
|
&[aria-selected='true'] {
|
|
5945
6104
|
border-bottom: 0;
|
|
5946
6105
|
}
|
|
5947
6106
|
|
|
5948
6107
|
&[aria-selected='false'] {
|
|
5949
|
-
background-color: ${lightGrey$
|
|
5950
|
-
color: ${grey$
|
|
6108
|
+
background-color: ${lightGrey$m};
|
|
6109
|
+
color: ${grey$r};
|
|
5951
6110
|
transition-duration: 0.3s;
|
|
5952
6111
|
|
|
5953
6112
|
&:hover {
|
|
5954
|
-
color: ${normal$
|
|
6113
|
+
color: ${normal$i};
|
|
5955
6114
|
}
|
|
5956
6115
|
}
|
|
5957
6116
|
|
|
@@ -5966,8 +6125,8 @@ const Wrapper$h = _styled__default.div`
|
|
|
5966
6125
|
|
|
5967
6126
|
.panel {
|
|
5968
6127
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')} ${/*#__PURE__*/polished.rem('6px')};
|
|
5969
|
-
border-color: ${lightGrey$
|
|
5970
|
-
background-color: ${light$
|
|
6128
|
+
border-color: ${lightGrey$m};
|
|
6129
|
+
background-color: ${light$p};
|
|
5971
6130
|
padding: ${/*#__PURE__*/polished.rem('30px')};
|
|
5972
6131
|
}
|
|
5973
6132
|
|
|
@@ -5987,7 +6146,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
5987
6146
|
.RRT__tab {
|
|
5988
6147
|
background: #eee;
|
|
5989
6148
|
border-style: solid;
|
|
5990
|
-
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6149
|
+
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$r)};
|
|
5991
6150
|
border-width: ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} ${/*#__PURE__*/polished.rem('1px')} 0;
|
|
5992
6151
|
cursor: pointer;
|
|
5993
6152
|
z-index: 1;
|
|
@@ -5997,7 +6156,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
5997
6156
|
|
|
5998
6157
|
.RRT__tab:focus {
|
|
5999
6158
|
outline: 0;
|
|
6000
|
-
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6159
|
+
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$r)};
|
|
6001
6160
|
}
|
|
6002
6161
|
|
|
6003
6162
|
.RRT__accordion .RRT__tab {
|
|
@@ -6009,12 +6168,12 @@ const Wrapper$h = _styled__default.div`
|
|
|
6009
6168
|
}
|
|
6010
6169
|
|
|
6011
6170
|
.RRT__tab--selected {
|
|
6012
|
-
background: ${light$
|
|
6013
|
-
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6171
|
+
background: ${light$p};
|
|
6172
|
+
border-color: ${/*#__PURE__*/polished.lighten(0.25, grey$r)} ${/*#__PURE__*/polished.lighten(0.25, grey$r)} ${light$p};
|
|
6014
6173
|
}
|
|
6015
6174
|
|
|
6016
6175
|
.RRT__tab--selected:focus {
|
|
6017
|
-
background-color: ${light$
|
|
6176
|
+
background-color: ${light$p};
|
|
6018
6177
|
}
|
|
6019
6178
|
|
|
6020
6179
|
.RRT__tab--disabled {
|
|
@@ -6044,7 +6203,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
6044
6203
|
.RRT__panel {
|
|
6045
6204
|
margin-top: ${/*#__PURE__*/polished.rem('-1px')};
|
|
6046
6205
|
padding: 1em;
|
|
6047
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6206
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$r)};
|
|
6048
6207
|
}
|
|
6049
6208
|
|
|
6050
6209
|
.RRT__panel--hidden {
|
|
@@ -6056,8 +6215,8 @@ const Wrapper$h = _styled__default.div`
|
|
|
6056
6215
|
}
|
|
6057
6216
|
|
|
6058
6217
|
.RRT__showmore {
|
|
6059
|
-
background: ${lightGrey$
|
|
6060
|
-
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6218
|
+
background: ${lightGrey$m};
|
|
6219
|
+
border: ${/*#__PURE__*/polished.rem('1px')} solid ${/*#__PURE__*/polished.lighten(0.25, grey$r)};
|
|
6061
6220
|
border-radius: 0 ${/*#__PURE__*/polished.rem('6px')} 0 0;
|
|
6062
6221
|
cursor: pointer;
|
|
6063
6222
|
z-index: 1;
|
|
@@ -6067,7 +6226,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
6067
6226
|
}
|
|
6068
6227
|
|
|
6069
6228
|
.RRT__showmore--selected {
|
|
6070
|
-
background: ${light$
|
|
6229
|
+
background: ${light$p};
|
|
6071
6230
|
border-bottom: none;
|
|
6072
6231
|
}
|
|
6073
6232
|
|
|
@@ -6078,7 +6237,7 @@ const Wrapper$h = _styled__default.div`
|
|
|
6078
6237
|
}
|
|
6079
6238
|
|
|
6080
6239
|
.RRT__showmore-label--selected {
|
|
6081
|
-
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$
|
|
6240
|
+
background-color: ${/*#__PURE__*/polished.lighten(0.25, grey$r)};
|
|
6082
6241
|
}
|
|
6083
6242
|
|
|
6084
6243
|
.RRT__showmore-list {
|
|
@@ -6116,7 +6275,7 @@ const TabsPanel = props => {
|
|
|
6116
6275
|
}));
|
|
6117
6276
|
};
|
|
6118
6277
|
|
|
6119
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
6278
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$i, null, /*#__PURE__*/React__default.createElement(Tabs, {
|
|
6120
6279
|
transform: false,
|
|
6121
6280
|
unmountOnExit: unmountOnExit,
|
|
6122
6281
|
selectedTabKey: selectedTabKey,
|
|
@@ -6126,7 +6285,7 @@ const TabsPanel = props => {
|
|
|
6126
6285
|
}));
|
|
6127
6286
|
};
|
|
6128
6287
|
|
|
6129
|
-
const Wrapper$
|
|
6288
|
+
const Wrapper$j = _styled__default.div`
|
|
6130
6289
|
display: flex;
|
|
6131
6290
|
flex-direction: column;
|
|
6132
6291
|
`;
|
|
@@ -6146,7 +6305,7 @@ const TabsPanel$1 = props => {
|
|
|
6146
6305
|
className = 'grid-container',
|
|
6147
6306
|
children
|
|
6148
6307
|
} = props;
|
|
6149
|
-
return /*#__PURE__*/React__default.createElement(Wrapper$
|
|
6308
|
+
return /*#__PURE__*/React__default.createElement(Wrapper$j, {
|
|
6150
6309
|
className: className
|
|
6151
6310
|
}, children);
|
|
6152
6311
|
};
|
|
@@ -6188,6 +6347,7 @@ exports.EmptyTable = EmptyTable;
|
|
|
6188
6347
|
exports.Error = Error;
|
|
6189
6348
|
exports.ErrorField = ErrorField;
|
|
6190
6349
|
exports.FieldWidthButton = FieldWidthButton;
|
|
6350
|
+
exports.FilePicker = FilePicker;
|
|
6191
6351
|
exports.FormGroup = FormGroup;
|
|
6192
6352
|
exports.GridCol = GridCol$1;
|
|
6193
6353
|
exports.GridContainer = TabsPanel$1;
|