@taikai/rocket-kit 2.0.0-beta.8 → 2.0.0-beta.9
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/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/index.d.ts +1 -0
- package/dist/rocket-kit.cjs.development.js +295 -160
- package/dist/rocket-kit.cjs.development.js.map +1 -1
- package/dist/rocket-kit.cjs.production.min.js +155 -86
- package/dist/rocket-kit.cjs.production.min.js.map +1 -1
- package/dist/rocket-kit.esm.js +295 -161
- package/dist/rocket-kit.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/rocket-kit.esm.js
CHANGED
|
@@ -2142,10 +2142,144 @@ const Toggle = ({
|
|
|
2142
2142
|
};
|
|
2143
2143
|
|
|
2144
2144
|
const {
|
|
2145
|
-
|
|
2146
|
-
|
|
2145
|
+
red: red$9,
|
|
2146
|
+
grey: grey$f,
|
|
2147
2147
|
lightGrey: lightGrey$b,
|
|
2148
|
-
|
|
2148
|
+
darkGrey: darkGrey$2,
|
|
2149
|
+
green: green$8,
|
|
2150
|
+
darkGreen: darkGreen$4,
|
|
2151
|
+
light: light$c,
|
|
2152
|
+
normal: normal$7
|
|
2153
|
+
} = colors;
|
|
2154
|
+
const Wrapper$6 = _styled.div`
|
|
2155
|
+
input {
|
|
2156
|
+
width: 0.1px;
|
|
2157
|
+
height: 0.1px;
|
|
2158
|
+
opacity: 0;
|
|
2159
|
+
overflow: hidden;
|
|
2160
|
+
position: absolute;
|
|
2161
|
+
z-index: -1;
|
|
2162
|
+
}
|
|
2163
|
+
|
|
2164
|
+
label {
|
|
2165
|
+
margin-bottom: 0 !important;
|
|
2166
|
+
border-width: ${props => props.minimal ? `0 0 ${rem('1px')} 0` : rem('1px')};
|
|
2167
|
+
border-style: solid;
|
|
2168
|
+
border-color: ${props => props.error ? red$9 : grey$f};
|
|
2169
|
+
border-radius: ${props => props.minimal ? 0 : rem('6px')};
|
|
2170
|
+
background-color: ${props => props.disabled ? lightGrey$b : 'transparent'};
|
|
2171
|
+
display: flex;
|
|
2172
|
+
justify-content: space-between;
|
|
2173
|
+
align-items: center;
|
|
2174
|
+
width: 100%;
|
|
2175
|
+
height: ${/*#__PURE__*/rem('50px')};
|
|
2176
|
+
-webkit-appearance: none;
|
|
2177
|
+
outline: none;
|
|
2178
|
+
cursor: ${props => props.disabled ? 'default' : 'pointer'};
|
|
2179
|
+
pointer-events: ${props => props.disabled ? 'none' : ''};
|
|
2180
|
+
overflow: hidden;
|
|
2181
|
+
|
|
2182
|
+
span {
|
|
2183
|
+
display: flex;
|
|
2184
|
+
align-items: center;
|
|
2185
|
+
|
|
2186
|
+
&.file-name {
|
|
2187
|
+
flex: 1;
|
|
2188
|
+
display: block;
|
|
2189
|
+
padding: ${props => props.minimal ? 0 : `0 ${rem('10px')}`};
|
|
2190
|
+
color: ${props => props.disabled ? grey$f : normal$7};
|
|
2191
|
+
white-space: nowrap;
|
|
2192
|
+
overflow: hidden;
|
|
2193
|
+
text-overflow: ellipsis;
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
&.button {
|
|
2197
|
+
border-left: ${props => props.minimal ? 0 : `${rem('1px')} solid ${grey$f}`};
|
|
2198
|
+
background-color: ${props => props.minimal ? 'transparent' : props.disabled ? lightGrey$b : green$8};
|
|
2199
|
+
height: 100%;
|
|
2200
|
+
padding: ${props => props.minimal ? `0 ${rem('5px')} 0 ${rem('20px')}` : `0 ${rem('20px')}`};
|
|
2201
|
+
color: ${props => props.disabled ? grey$f : props.minimal ? darkGrey$2 : light$c};
|
|
2202
|
+
transition-duration: 0.3s;
|
|
2203
|
+
|
|
2204
|
+
svg {
|
|
2205
|
+
margin-right: ${/*#__PURE__*/rem('8px')};
|
|
2206
|
+
width: auto;
|
|
2207
|
+
height: ${/*#__PURE__*/rem('24px')};
|
|
2208
|
+
fill: ${props => props.disabled ? grey$f : props.minimal ? darkGrey$2 : light$c};
|
|
2209
|
+
transition-duration: 0.3s;
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
&:hover {
|
|
2213
|
+
background-color: ${props => props.minimal ? 'transparent' : darkGreen$4};
|
|
2214
|
+
color: ${props => props.minimal ? darkGreen$4 : light$c};
|
|
2215
|
+
|
|
2216
|
+
svg {
|
|
2217
|
+
fill: ${props => props.disabled ? grey$f : props.minimal ? darkGreen$4 : light$c};
|
|
2218
|
+
}
|
|
2219
|
+
}
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
}
|
|
2223
|
+
`;
|
|
2224
|
+
|
|
2225
|
+
const FilePicker = props => {
|
|
2226
|
+
const {
|
|
2227
|
+
minimal = false,
|
|
2228
|
+
name,
|
|
2229
|
+
accept,
|
|
2230
|
+
multiple = false,
|
|
2231
|
+
placeholder = 'Select file',
|
|
2232
|
+
pluralText = 'files selected',
|
|
2233
|
+
error,
|
|
2234
|
+
dataTestId,
|
|
2235
|
+
onChange = () => {},
|
|
2236
|
+
value = '',
|
|
2237
|
+
buttonText = 'Browse',
|
|
2238
|
+
disabled = false
|
|
2239
|
+
} = props;
|
|
2240
|
+
const [fileName, setFileName] = useState(value ? value : placeholder);
|
|
2241
|
+
|
|
2242
|
+
const getUploadedFileName = e => {
|
|
2243
|
+
let files = e.target.files,
|
|
2244
|
+
value = e.target.value,
|
|
2245
|
+
fileName;
|
|
2246
|
+
if (files && files.length > 1) fileName = `${files.length} ${pluralText}`;else fileName = value.split('\\').pop();
|
|
2247
|
+
if (fileName) setFileName(fileName);
|
|
2248
|
+
};
|
|
2249
|
+
|
|
2250
|
+
return /*#__PURE__*/React.createElement(Wrapper$6, {
|
|
2251
|
+
disabled: disabled,
|
|
2252
|
+
minimal: minimal,
|
|
2253
|
+
error: !!error
|
|
2254
|
+
}, /*#__PURE__*/React.createElement("input", {
|
|
2255
|
+
id: name,
|
|
2256
|
+
type: "file",
|
|
2257
|
+
accept: accept,
|
|
2258
|
+
multiple: multiple,
|
|
2259
|
+
"data-multiple-caption": fileName,
|
|
2260
|
+
onChange: evt => {
|
|
2261
|
+
getUploadedFileName(evt);
|
|
2262
|
+
onChange(evt);
|
|
2263
|
+
},
|
|
2264
|
+
"data-testid": dataTestId
|
|
2265
|
+
}), /*#__PURE__*/React.createElement("label", {
|
|
2266
|
+
htmlFor: name
|
|
2267
|
+
}, /*#__PURE__*/React.createElement("span", {
|
|
2268
|
+
className: "file-name"
|
|
2269
|
+
}, fileName), /*#__PURE__*/React.createElement("span", {
|
|
2270
|
+
className: "button"
|
|
2271
|
+
}, /*#__PURE__*/React.createElement(Icon, {
|
|
2272
|
+
icon: "upload"
|
|
2273
|
+
}), buttonText)), error && /*#__PURE__*/React.createElement(ErrorField, {
|
|
2274
|
+
error: error
|
|
2275
|
+
}));
|
|
2276
|
+
};
|
|
2277
|
+
|
|
2278
|
+
const {
|
|
2279
|
+
normal: normal$8,
|
|
2280
|
+
light: light$d,
|
|
2281
|
+
lightGrey: lightGrey$c,
|
|
2282
|
+
red: red$a
|
|
2149
2283
|
} = colors;
|
|
2150
2284
|
const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
2151
2285
|
displayName: "styles__ActionsMenuStyle",
|
|
@@ -2154,11 +2288,11 @@ const ActionsMenuStyle$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2154
2288
|
const List = /*#__PURE__*/_styled.ul.withConfig({
|
|
2155
2289
|
displayName: "styles__List",
|
|
2156
2290
|
componentId: "sc-1peafop-1"
|
|
2157
|
-
})(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], /*#__PURE__*/rem('1px'), lightGrey$
|
|
2291
|
+
})(["position:absolute;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";min-width:", ";max-width:", ";padding:0;-moz-box-shadow:0 0 ", " 0 ", ";-webkit-box-shadow:0 0 ", " 0 ", ";box-shadow:0 0 ", " 0 ", ";z-index:1;", " li{list-style:none;min-height:", ";display:flex;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}&.danger{border-top:", " solid ", ";a{color:", ";}}&.disabled{a{color:", ";pointer-events:none;}&:hover{background-color:transparent;}}a{width:100%;display:flex;align-items:center;padding:0 ", ";color:", ";text-decoration:none;white-space:nowrap;span{display:table-cell;overflow:hidden;text-overflow:ellipsis;}}}"], /*#__PURE__*/rem('1px'), lightGrey$c, /*#__PURE__*/rem('4px'), light$d, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('200px'), /*#__PURE__*/rem('250px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$8), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$8), /*#__PURE__*/rem('15px'), /*#__PURE__*/lighten(0.7, normal$8), props => props.rowIndex != undefined && css`
|
|
2158
2292
|
--margin: ${`calc(${rem('45px')} + ${rem('50px')} * ${props.rowIndex} + ${rem('42px')})`};
|
|
2159
2293
|
top: var(--margin);
|
|
2160
2294
|
right: ${rem('5px')};
|
|
2161
|
-
`, /*#__PURE__*/rem('45px'), lightGrey$
|
|
2295
|
+
`, /*#__PURE__*/rem('45px'), lightGrey$c, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('1px'), lightGrey$c, red$a, lightGrey$c, /*#__PURE__*/rem('20px'), normal$8);
|
|
2162
2296
|
|
|
2163
2297
|
const ActionMenuList = props => {
|
|
2164
2298
|
const {
|
|
@@ -2231,13 +2365,13 @@ const ActionsMenu = props => {
|
|
|
2231
2365
|
};
|
|
2232
2366
|
|
|
2233
2367
|
const {
|
|
2234
|
-
light: light$
|
|
2235
|
-
grey: grey$
|
|
2368
|
+
light: light$e,
|
|
2369
|
+
grey: grey$g
|
|
2236
2370
|
} = colors;
|
|
2237
2371
|
const CardValueStyle = /*#__PURE__*/_styled.div.withConfig({
|
|
2238
2372
|
displayName: "styles__CardValueStyle",
|
|
2239
2373
|
componentId: "sc-1ki7jdk-0"
|
|
2240
|
-
})(["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__*/rem('1px'), grey$
|
|
2374
|
+
})(["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__*/rem('1px'), grey$g, /*#__PURE__*/rem('6px'), light$e, /*#__PURE__*/rem('15px'), device.l, /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('5px'));
|
|
2241
2375
|
const CardValueButtonWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
2242
2376
|
displayName: "styles__CardValueButtonWrapper",
|
|
2243
2377
|
componentId: "sc-1ki7jdk-1"
|
|
@@ -2268,8 +2402,8 @@ const CardValue = props => {
|
|
|
2268
2402
|
};
|
|
2269
2403
|
|
|
2270
2404
|
const {
|
|
2271
|
-
grey: grey$
|
|
2272
|
-
light: light$
|
|
2405
|
+
grey: grey$h,
|
|
2406
|
+
light: light$f
|
|
2273
2407
|
} = colors;
|
|
2274
2408
|
const {
|
|
2275
2409
|
bold: bold$5
|
|
@@ -2281,15 +2415,15 @@ const EmptyTableWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2281
2415
|
const EmptyTableHead = /*#__PURE__*/_styled.div.withConfig({
|
|
2282
2416
|
displayName: "styles__EmptyTableHead",
|
|
2283
2417
|
componentId: "sc-1dgsb9l-1"
|
|
2284
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? rem('1px') : `0 0 ${rem('1px')} 0`, grey$
|
|
2418
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:", " ", " 0 0;height:", ";display:flex;align-items:center;font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;> div{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;display:none;flex:1;padding:0 ", ";font-size:0.85rem;font-weight:", ";color:", ";text-transform:uppercase;&:first-child,&:nth-child(2){display:initial;}@media ", "{&:nth-child(3){display:initial;}}@media ", "{&:nth-child(4){display:initial;}}@media ", "{display:initial;}}"], props => props.border ? rem('1px') : `0 0 ${rem('1px')} 0`, grey$h, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), bold$5, grey$h, /*#__PURE__*/rem('15px'), bold$5, grey$h, device.s, device.m, device.l);
|
|
2285
2419
|
const EmptyTableBody = /*#__PURE__*/_styled.div.withConfig({
|
|
2286
2420
|
displayName: "styles__EmptyTableBody",
|
|
2287
2421
|
componentId: "sc-1dgsb9l-2"
|
|
2288
|
-
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${rem('1px')} ${rem('1px')} ${rem('1px')}` : 0, grey$
|
|
2422
|
+
})(["border-width:", ";border-style:solid;border-color:", ";border-radius:0 0 ", " ", ";"], props => props.border ? `0 ${rem('1px')} ${rem('1px')} ${rem('1px')}` : 0, grey$h, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'));
|
|
2289
2423
|
const EmptyTableRow = /*#__PURE__*/_styled.div.withConfig({
|
|
2290
2424
|
displayName: "styles__EmptyTableRow",
|
|
2291
2425
|
componentId: "sc-1dgsb9l-3"
|
|
2292
|
-
})(["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__*/rem('50px'), /*#__PURE__*/rem('1px'), grey$
|
|
2426
|
+
})(["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__*/rem('50px'), /*#__PURE__*/rem('1px'), grey$h, /*#__PURE__*/rem('15px'), device.s, device.m, device.l);
|
|
2293
2427
|
const EmptyTableCellText = /*#__PURE__*/_styled.div.withConfig({
|
|
2294
2428
|
displayName: "styles__EmptyTableCellText",
|
|
2295
2429
|
componentId: "sc-1dgsb9l-4"
|
|
@@ -2297,7 +2431,7 @@ const EmptyTableCellText = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2297
2431
|
const EmptyTableOverlay = /*#__PURE__*/_styled.div.withConfig({
|
|
2298
2432
|
displayName: "styles__EmptyTableOverlay",
|
|
2299
2433
|
componentId: "sc-1dgsb9l-5"
|
|
2300
|
-
})(["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__*/rgba(light$
|
|
2434
|
+
})(["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__*/rgba(light$f, 0), /*#__PURE__*/rgba(light$f, 1), /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), grey$h);
|
|
2301
2435
|
|
|
2302
2436
|
const EmptyTable = props => {
|
|
2303
2437
|
let rows = [];
|
|
@@ -2357,29 +2491,29 @@ const ModalFooter = props => {
|
|
|
2357
2491
|
};
|
|
2358
2492
|
|
|
2359
2493
|
const {
|
|
2360
|
-
green: green$
|
|
2494
|
+
green: green$9,
|
|
2361
2495
|
lightGreen,
|
|
2362
|
-
darkGreen: darkGreen$
|
|
2363
|
-
grey: grey$
|
|
2364
|
-
lightGrey: lightGrey$
|
|
2365
|
-
darkGrey: darkGrey$
|
|
2366
|
-
red: red$
|
|
2496
|
+
darkGreen: darkGreen$5,
|
|
2497
|
+
grey: grey$i,
|
|
2498
|
+
lightGrey: lightGrey$d,
|
|
2499
|
+
darkGrey: darkGrey$3,
|
|
2500
|
+
red: red$b,
|
|
2367
2501
|
lightRed: lightRed$1,
|
|
2368
2502
|
darkRed: darkRed$3
|
|
2369
2503
|
} = colors;
|
|
2370
|
-
const Wrapper$
|
|
2504
|
+
const Wrapper$7 = /*#__PURE__*/_styled.div.withConfig({
|
|
2371
2505
|
displayName: "styles__Wrapper",
|
|
2372
2506
|
componentId: "d2fn4g-0"
|
|
2373
|
-
})(["--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$
|
|
2374
|
-
--default: ${grey$
|
|
2375
|
-
--light: ${lightGrey$
|
|
2376
|
-
--dark: ${darkGrey$
|
|
2507
|
+
})(["--default:", ";--light:", ";--dark:", ";", " ", " ", " border-width:", ";border-style:solid;border-color:var(--default);border-radius:", ";background-color:var(--light);padding:", ";div{&:first-child{flex:1;}p{margin:0;}}", ""], grey$i, lightGrey$d, darkGrey$3, props => props.color === 'grey' && css`
|
|
2508
|
+
--default: ${grey$i};
|
|
2509
|
+
--light: ${lightGrey$d};
|
|
2510
|
+
--dark: ${darkGrey$3};
|
|
2377
2511
|
`, props => props.color === 'green' && css`
|
|
2378
|
-
--default: ${green$
|
|
2512
|
+
--default: ${green$9};
|
|
2379
2513
|
--light: ${lightGreen};
|
|
2380
|
-
--dark: ${darkGreen$
|
|
2514
|
+
--dark: ${darkGreen$5};
|
|
2381
2515
|
`, props => props.color === 'red' && css`
|
|
2382
|
-
--default: ${red$
|
|
2516
|
+
--default: ${red$b};
|
|
2383
2517
|
--light: ${lightRed$1};
|
|
2384
2518
|
--dark: ${darkRed$3};
|
|
2385
2519
|
`, /*#__PURE__*/rem('2px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), props => props.buttonValue && css`
|
|
@@ -2425,7 +2559,7 @@ const NoteCard = props => {
|
|
|
2425
2559
|
className = 'note-card',
|
|
2426
2560
|
style
|
|
2427
2561
|
} = props;
|
|
2428
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
2562
|
+
return /*#__PURE__*/React.createElement(Wrapper$7, {
|
|
2429
2563
|
className: className,
|
|
2430
2564
|
color: color,
|
|
2431
2565
|
buttonValue: buttonValue,
|
|
@@ -2440,10 +2574,10 @@ function hasValue(value) {
|
|
|
2440
2574
|
}
|
|
2441
2575
|
|
|
2442
2576
|
const {
|
|
2443
|
-
normal: normal$
|
|
2444
|
-
light: light$
|
|
2445
|
-
grey: grey$
|
|
2446
|
-
lightGrey: lightGrey$
|
|
2577
|
+
normal: normal$9,
|
|
2578
|
+
light: light$g,
|
|
2579
|
+
grey: grey$j,
|
|
2580
|
+
lightGrey: lightGrey$e
|
|
2447
2581
|
} = colors;
|
|
2448
2582
|
const {
|
|
2449
2583
|
bold: bold$6
|
|
@@ -2455,11 +2589,11 @@ const TableWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
|
2455
2589
|
const OverflowWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
2456
2590
|
displayName: "styles__OverflowWrapper",
|
|
2457
2591
|
componentId: "vmoy3z-1"
|
|
2458
|
-
})(["@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__*/rem('6px'), light$
|
|
2592
|
+
})(["@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__*/rem('6px'), light$g, light$g, /*#__PURE__*/rem('40px'), /*#__PURE__*/rem('40px'), /*#__PURE__*/rem('14px'), /*#__PURE__*/rem('14px'));
|
|
2459
2593
|
const Table = /*#__PURE__*/_styled.table.withConfig({
|
|
2460
2594
|
displayName: "styles__Table",
|
|
2461
2595
|
componentId: "vmoy3z-2"
|
|
2462
|
-
})(["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$
|
|
2596
|
+
})(["width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&:hover{background-color:", ";td.menu{button{opacity:1;}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:0.3s;}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? '1px' : '0', grey$j, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$6, grey$j, lightGrey$e, device.s, /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), normal$9, grey$j, /*#__PURE__*/rem('15px'), bold$6, /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('1px'), grey$j, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
|
|
2463
2597
|
|
|
2464
2598
|
const Table$1 = props => {
|
|
2465
2599
|
const {
|
|
@@ -2559,9 +2693,9 @@ const Table$1 = props => {
|
|
|
2559
2693
|
};
|
|
2560
2694
|
|
|
2561
2695
|
const {
|
|
2562
|
-
normal: normal$
|
|
2563
|
-
grey: grey$
|
|
2564
|
-
lightGrey: lightGrey$
|
|
2696
|
+
normal: normal$a,
|
|
2697
|
+
grey: grey$k,
|
|
2698
|
+
lightGrey: lightGrey$f
|
|
2565
2699
|
} = colors;
|
|
2566
2700
|
const {
|
|
2567
2701
|
bold: bold$7
|
|
@@ -2569,14 +2703,14 @@ const {
|
|
|
2569
2703
|
const Table$2 = /*#__PURE__*/_styled.table.withConfig({
|
|
2570
2704
|
displayName: "styles__Table",
|
|
2571
2705
|
componentId: "sc-1p618q0-0"
|
|
2572
|
-
})(["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$
|
|
2706
|
+
})(["position:relative;width:100%;border-width:", ";border-style:solid;border-color:", ";border-radius:", ";border-spacing:0;white-space:nowrap;table-layout:", ";th,td{height:", ";padding:0 ", ";&.center{text-align:center;> div{justify-content:center;}}&.right{text-align:right;> div{justify-content:flex-end;}}&.thin{@media ", "{max-width:min-content;}}&.kai{text-align:right;> div{justify-content:flex-end;}}&.avatar > div{display:flex;align-items:center;.avatar-img{margin-right:", ";}}}th{font-size:0.85rem;&:first-child{border-top-left-radius:", ";}&:last-child{border-top-right-radius:", ";}}tr{border:", " solid ", ";border-radius:", ";position:relative;&:not(:last-child){margin-bottom:", ";}@media ", "{border:0;}}thead{border:none;clip:rect(0 0 0 0);height:", ";margin:", ";overflow:hidden;padding:0;position:absolute;width:", ";@media ", "{display:contents;font-weight:", ";color:", ";text-transform:uppercase;text-align:left;}}tbody{tr{display:block;transition-duration:0.3s;&:hover{background-color:", ";td{&.drag-handle{svg{fill:", ";}}&.menu{button{opacity:1;}}}}@media ", "{display:table-row;}}td{border-top:", " solid ", ";height:inherit;min-height:", ";padding:", ";display:flex;justify-content:flex-end;&.drag-handle{> div{width:min-content;}svg{width:", ";height:", ";fill:", ";transition-duration:0.3s;}}> div{margin-left:", ";height:100%;display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;text-align:right;> span{display:none;&:first-child,&:last-child{display:inherit;}}}img{min-width:", ";min-height:", ";}a{display:flex;align-items:center;color:", ";text-decoration-color:", ";}&:first-child{border:0;}&:before{position:absolute;left:", ";content:attr(data-label);font-weight:", ";text-transform:capitalize;}&.kai{svg{float:right;width:auto;min-width:", ";max-height:", ";}}.avatar-img{display:none;}.tag{margin:0;&:not(:first-child){display:none;}}&.menu{padding:0 ", " 0 0;button{margin-top:", ";transition:0.3s;}ul{top:", ";margin-left:", ";}}@media ", "{display:table-cell;height:", ";padding:0 ", ";align-items:center;> div{position:relative;margin-left:0;display:flex-start;justify-content:flex-start;text-align:left;> span{display:inherit;}}&:first-child{border-top:", " solid ", ";}&:before{content:'';}&.kai{max-width:", ";}.avatar-img{display:inherit;}.tag{&:not(:first-child){display:inherit;}&:not(:last-child){margin-right:", ";}}&.menu{width:", ";button{opacity:0;}}}}}"], props => props.border ? '1px' : '0', grey$k, /*#__PURE__*/rem('6px'), props => props.layout, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('15px'), device.s, /*#__PURE__*/rem('1px'), /*#__PURE__*/rem('-1px'), /*#__PURE__*/rem('1px'), device.s, bold$7, grey$k, lightGrey$f, grey$k, device.s, /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), grey$k, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('30px'), normal$a, grey$k, /*#__PURE__*/rem('15px'), bold$7, /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('20px'), /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('36px'), /*#__PURE__*/rem('-170px'), device.s, /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('1px'), grey$k, /*#__PURE__*/rem('100px'), /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('40px'));
|
|
2573
2707
|
const TableRow = /*#__PURE__*/_styled.tr.withConfig({
|
|
2574
2708
|
displayName: "styles__TableRow",
|
|
2575
2709
|
componentId: "sc-1p618q0-1"
|
|
2576
2710
|
})(["&[data-rbd-draggable-id='", "']{position:absolute;display:table;width:100%;}"], props => props.draggableId);
|
|
2577
2711
|
|
|
2578
2712
|
const {
|
|
2579
|
-
light: light$
|
|
2713
|
+
light: light$h
|
|
2580
2714
|
} = colors;
|
|
2581
2715
|
|
|
2582
2716
|
const TableDnD = props => {
|
|
@@ -2631,12 +2765,12 @@ const TableDnD = props => {
|
|
|
2631
2765
|
|
|
2632
2766
|
const getItemStyle = (isDragging, draggableStyle) => ({
|
|
2633
2767
|
userSelect: 'none',
|
|
2634
|
-
background: isDragging ? light$
|
|
2768
|
+
background: isDragging ? light$h : 'transparent',
|
|
2635
2769
|
...draggableStyle
|
|
2636
2770
|
});
|
|
2637
2771
|
|
|
2638
2772
|
const getListStyle = isDraggingOver => ({
|
|
2639
|
-
background: isDraggingOver ? light$
|
|
2773
|
+
background: isDraggingOver ? light$h : 'transparent'
|
|
2640
2774
|
});
|
|
2641
2775
|
|
|
2642
2776
|
return (
|
|
@@ -2735,14 +2869,14 @@ const TableDnD = props => {
|
|
|
2735
2869
|
};
|
|
2736
2870
|
|
|
2737
2871
|
const {
|
|
2738
|
-
normal: normal$
|
|
2739
|
-
grey: grey$
|
|
2740
|
-
red: red$
|
|
2872
|
+
normal: normal$b,
|
|
2873
|
+
grey: grey$l,
|
|
2874
|
+
red: red$c
|
|
2741
2875
|
} = colors;
|
|
2742
|
-
const Wrapper$
|
|
2876
|
+
const Wrapper$8 = /*#__PURE__*/_styled.div.withConfig({
|
|
2743
2877
|
displayName: "styles__Wrapper",
|
|
2744
2878
|
componentId: "mbja2a-0"
|
|
2745
|
-
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/rem('5px'), props => props.error ? red$
|
|
2879
|
+
})(["display:inline-block;> label{margin-bottom:", ";color:", ";span{color:", ";}}&:not(:last-child){margin-bottom:", ";}"], /*#__PURE__*/rem('5px'), props => props.error ? red$c : grey$l, props => props.error ? red$c : normal$b, /*#__PURE__*/rem('15px'));
|
|
2746
2880
|
|
|
2747
2881
|
const FormGroup = props => {
|
|
2748
2882
|
const {
|
|
@@ -2751,7 +2885,7 @@ const FormGroup = props => {
|
|
|
2751
2885
|
error = false,
|
|
2752
2886
|
children
|
|
2753
2887
|
} = props;
|
|
2754
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
2888
|
+
return /*#__PURE__*/React.createElement(Wrapper$8, {
|
|
2755
2889
|
error: error
|
|
2756
2890
|
}, /*#__PURE__*/React.createElement(Label, {
|
|
2757
2891
|
value: label,
|
|
@@ -2760,14 +2894,14 @@ const FormGroup = props => {
|
|
|
2760
2894
|
};
|
|
2761
2895
|
|
|
2762
2896
|
const {
|
|
2763
|
-
grey: grey$
|
|
2764
|
-
lightGrey: lightGrey$
|
|
2897
|
+
grey: grey$m,
|
|
2898
|
+
lightGrey: lightGrey$g,
|
|
2765
2899
|
lightRed: lightRed$2
|
|
2766
2900
|
} = colors;
|
|
2767
|
-
const Wrapper$
|
|
2901
|
+
const Wrapper$9 = /*#__PURE__*/_styled.div.withConfig({
|
|
2768
2902
|
displayName: "styles__Wrapper",
|
|
2769
2903
|
componentId: "sc-124afcu-0"
|
|
2770
|
-
})(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{opacity:0.25;}&:hover{pointer-events:none;}}}"], /*#__PURE__*/rem('1px'), grey$
|
|
2904
|
+
})(["border:", " solid ", ";border-radius:", ";max-width:max-content;height:", ";display:flex;overflow:hidden;button,input{&:disabled{cursor:inherit;background-color:", ";svg{opacity:0.25;}&:hover{pointer-events:none;}}}"], /*#__PURE__*/rem('1px'), grey$m, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('50px'), lightGrey$g);
|
|
2771
2905
|
const Input = /*#__PURE__*/_styled.input.withConfig({
|
|
2772
2906
|
displayName: "styles__Input",
|
|
2773
2907
|
componentId: "sc-124afcu-1"
|
|
@@ -2775,7 +2909,7 @@ const Input = /*#__PURE__*/_styled.input.withConfig({
|
|
|
2775
2909
|
const Button$1 = /*#__PURE__*/_styled.button.withConfig({
|
|
2776
2910
|
displayName: "styles__Button",
|
|
2777
2911
|
componentId: "sc-124afcu-2"
|
|
2778
|
-
})(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:0.3s;&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('50px'), lightGrey$
|
|
2912
|
+
})(["width:", ";height:", ";border:0;background-color:", ";cursor:pointer;transition-duration:0.3s;&.remove-button{border-right:", " solid ", ";}&.add-button{border-left:", " solid ", ";}svg{width:auto;height:", ";fill:", ";}&:hover{background-color:", ";}"], /*#__PURE__*/rem('50px'), /*#__PURE__*/rem('50px'), lightGrey$g, /*#__PURE__*/rem('1px'), grey$m, /*#__PURE__*/rem('1px'), grey$m, /*#__PURE__*/rem('20px'), grey$m, lightGrey$g);
|
|
2779
2913
|
|
|
2780
2914
|
const NumberInputSpinner = props => {
|
|
2781
2915
|
const {
|
|
@@ -2807,7 +2941,7 @@ const NumberInputSpinner = props => {
|
|
|
2807
2941
|
setNumber(value);
|
|
2808
2942
|
};
|
|
2809
2943
|
|
|
2810
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
2944
|
+
return /*#__PURE__*/React.createElement(Wrapper$9, null, /*#__PURE__*/React.createElement(Button$1, {
|
|
2811
2945
|
className: "remove-button",
|
|
2812
2946
|
"aria-label": decreaseAriaLabel,
|
|
2813
2947
|
onClick: evt => {
|
|
@@ -2841,10 +2975,10 @@ const NumberInputSpinner = props => {
|
|
|
2841
2975
|
};
|
|
2842
2976
|
|
|
2843
2977
|
const {
|
|
2844
|
-
green: green$
|
|
2845
|
-
grey: grey$
|
|
2846
|
-
lightGrey: lightGrey$
|
|
2847
|
-
light: light$
|
|
2978
|
+
green: green$a,
|
|
2979
|
+
grey: grey$n,
|
|
2980
|
+
lightGrey: lightGrey$h,
|
|
2981
|
+
light: light$i
|
|
2848
2982
|
} = colors;
|
|
2849
2983
|
const Steps = /*#__PURE__*/_styled.ul.withConfig({
|
|
2850
2984
|
displayName: "styles__Steps",
|
|
@@ -2853,7 +2987,7 @@ const Steps = /*#__PURE__*/_styled.ul.withConfig({
|
|
|
2853
2987
|
const Step = /*#__PURE__*/_styled.li.withConfig({
|
|
2854
2988
|
displayName: "styles__Step",
|
|
2855
2989
|
componentId: "sc-1s2dhfy-1"
|
|
2856
|
-
})(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:0.75rem;color:", ";@media ", "{width:100%;font-size:1rem;font-weight:700;}}}"], /*#__PURE__*/rem('44px'), /*#__PURE__*/rem('18px'), props => props.active ? green$
|
|
2990
|
+
})(["list-style:none;flex:1;position:relative;height:", ";display:flex;justify-content:center;align-items:center;padding-right:", ";text-align:center;&:before,&:after{content:'';position:absolute;top:0;border:0 solid ", ";border-width:", " ", ";width:0;height:0;}&:before{left:", ";border-left-color:transparent;}&:after{left:calc(100% - ", ");border-color:transparent;border-left-color:", ";}&:first-child:before{border:none;}&:last-child:after{border:none;}&:first-child{overflow:hidden;> div{border-radius:", " 0 0 ", ";}}&:last-child{padding-right:0;> div{border-radius:0 ", " ", " 0;}}> div{background-color:", ";width:100%;height:100%;display:flex;justify-content:center;align-items:center;span{width:min-content;font-size:0.75rem;color:", ";@media ", "{width:100%;font-size:1rem;font-weight:700;}}}"], /*#__PURE__*/rem('44px'), /*#__PURE__*/rem('18px'), props => props.active ? green$a : lightGrey$h, /*#__PURE__*/rem('22px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('-15px'), /*#__PURE__*/rem('18px'), props => props.active ? green$a : lightGrey$h, /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('6px'), props => props.active ? green$a : lightGrey$h, props => props.active ? light$i : grey$n, device.s);
|
|
2857
2991
|
|
|
2858
2992
|
const WizardSteps = props => {
|
|
2859
2993
|
const {
|
|
@@ -2874,28 +3008,28 @@ const WizardSteps = props => {
|
|
|
2874
3008
|
};
|
|
2875
3009
|
|
|
2876
3010
|
const {
|
|
2877
|
-
light: light$
|
|
2878
|
-
green: green$
|
|
2879
|
-
darkGreen: darkGreen$
|
|
2880
|
-
red: red$
|
|
3011
|
+
light: light$j,
|
|
3012
|
+
green: green$b,
|
|
3013
|
+
darkGreen: darkGreen$6,
|
|
3014
|
+
red: red$d,
|
|
2881
3015
|
darkRed: darkRed$4,
|
|
2882
3016
|
orange: orange$3,
|
|
2883
3017
|
darkOrange: darkOrange$2
|
|
2884
3018
|
} = colors;
|
|
2885
|
-
const Wrapper$
|
|
3019
|
+
const Wrapper$a = _styled.div`
|
|
2886
3020
|
--shadow: 0 0 ${/*#__PURE__*/rem('25px')} 0 rgba(40, 40, 40, 0.2);
|
|
2887
3021
|
|
|
2888
3022
|
position: fixed;
|
|
2889
3023
|
top: ${/*#__PURE__*/rem('15px')};
|
|
2890
3024
|
right: 0;
|
|
2891
|
-
border: ${/*#__PURE__*/rem('2px')} solid ${darkGreen$
|
|
3025
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${darkGreen$6};
|
|
2892
3026
|
border-radius: ${/*#__PURE__*/rem('6px')};
|
|
2893
|
-
background-color: ${green$
|
|
3027
|
+
background-color: ${green$b};
|
|
2894
3028
|
width: ${/*#__PURE__*/rem('300px')};
|
|
2895
3029
|
max-height: min-content;
|
|
2896
3030
|
display: flex;
|
|
2897
3031
|
padding: ${/*#__PURE__*/rem('15px')};
|
|
2898
|
-
color: ${light$
|
|
3032
|
+
color: ${light$j};
|
|
2899
3033
|
-moz-box-shadow: var(--shadow);
|
|
2900
3034
|
-webkit-box-shadow: var(--shadow);
|
|
2901
3035
|
box-shadow: var(--shadow);
|
|
@@ -2906,7 +3040,7 @@ const Wrapper$9 = _styled.div`
|
|
|
2906
3040
|
background-color: transparent;
|
|
2907
3041
|
|
|
2908
3042
|
svg {
|
|
2909
|
-
fill: ${darkGreen$
|
|
3043
|
+
fill: ${darkGreen$6};
|
|
2910
3044
|
}
|
|
2911
3045
|
}
|
|
2912
3046
|
|
|
@@ -2940,7 +3074,7 @@ const Wrapper$9 = _styled.div`
|
|
|
2940
3074
|
|
|
2941
3075
|
${props => props.variant === 'red' && css`
|
|
2942
3076
|
border: ${rem('2px')} solid ${darkRed$4};
|
|
2943
|
-
background-color: ${red$
|
|
3077
|
+
background-color: ${red$d};
|
|
2944
3078
|
|
|
2945
3079
|
button {
|
|
2946
3080
|
svg {
|
|
@@ -2973,7 +3107,7 @@ const AlertNotification = props => {
|
|
|
2973
3107
|
value,
|
|
2974
3108
|
children
|
|
2975
3109
|
} = props;
|
|
2976
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
3110
|
+
return /*#__PURE__*/React.createElement(Wrapper$a, {
|
|
2977
3111
|
className: className,
|
|
2978
3112
|
variant: variant
|
|
2979
3113
|
}, /*#__PURE__*/React.createElement("div", null, value ? /*#__PURE__*/React.createElement("span", null, value) : children), /*#__PURE__*/React.createElement(Button, {
|
|
@@ -2984,10 +3118,10 @@ const AlertNotification = props => {
|
|
|
2984
3118
|
};
|
|
2985
3119
|
|
|
2986
3120
|
const {
|
|
2987
|
-
normal: normal$
|
|
2988
|
-
light: light$
|
|
3121
|
+
normal: normal$c,
|
|
3122
|
+
light: light$k,
|
|
2989
3123
|
blue,
|
|
2990
|
-
lightGrey: lightGrey$
|
|
3124
|
+
lightGrey: lightGrey$i
|
|
2991
3125
|
} = colors;
|
|
2992
3126
|
const {
|
|
2993
3127
|
bold: bold$8
|
|
@@ -3032,7 +3166,7 @@ const PaginationWrapper = _styled.div`
|
|
|
3032
3166
|
display: flex;
|
|
3033
3167
|
justify-content: center;
|
|
3034
3168
|
align-items: center;
|
|
3035
|
-
color: ${normal$
|
|
3169
|
+
color: ${normal$c};
|
|
3036
3170
|
font-weight: ${bold$8};
|
|
3037
3171
|
text-decoration: none;
|
|
3038
3172
|
|
|
@@ -3052,17 +3186,17 @@ const PaginationWrapper = _styled.div`
|
|
|
3052
3186
|
|
|
3053
3187
|
a {
|
|
3054
3188
|
background-color: ${blue};
|
|
3055
|
-
color: ${light$
|
|
3189
|
+
color: ${light$k};
|
|
3056
3190
|
}
|
|
3057
3191
|
}
|
|
3058
3192
|
}
|
|
3059
3193
|
|
|
3060
3194
|
&.dark {
|
|
3061
3195
|
a {
|
|
3062
|
-
color: ${lightGrey$
|
|
3196
|
+
color: ${lightGrey$i};
|
|
3063
3197
|
|
|
3064
3198
|
&:hover {
|
|
3065
|
-
color: ${light$
|
|
3199
|
+
color: ${light$k};
|
|
3066
3200
|
}
|
|
3067
3201
|
}
|
|
3068
3202
|
}
|
|
@@ -3121,13 +3255,13 @@ const PaginationControl = props => {
|
|
|
3121
3255
|
};
|
|
3122
3256
|
|
|
3123
3257
|
const {
|
|
3124
|
-
normal: normal$
|
|
3125
|
-
green: green$
|
|
3258
|
+
normal: normal$d,
|
|
3259
|
+
green: green$c
|
|
3126
3260
|
} = colors;
|
|
3127
3261
|
const {
|
|
3128
3262
|
bold: bold$9
|
|
3129
3263
|
} = fontWeight;
|
|
3130
|
-
const Wrapper$
|
|
3264
|
+
const Wrapper$b = _styled.div`
|
|
3131
3265
|
min-height: ${props => props.variant === 'default' ? '50vh' : 'inherit'};
|
|
3132
3266
|
display: flex;
|
|
3133
3267
|
flex-direction: column;
|
|
@@ -3144,14 +3278,14 @@ const Wrapper$a = _styled.div`
|
|
|
3144
3278
|
> span {
|
|
3145
3279
|
margin-top: ${/*#__PURE__*/rem('15px')};
|
|
3146
3280
|
font-weight: ${bold$9};
|
|
3147
|
-
color: ${normal$
|
|
3281
|
+
color: ${normal$d};
|
|
3148
3282
|
|
|
3149
3283
|
a {
|
|
3150
|
-
color: ${normal$
|
|
3284
|
+
color: ${normal$d};
|
|
3151
3285
|
transition-duration: 0.3s;
|
|
3152
3286
|
|
|
3153
3287
|
&:hover {
|
|
3154
|
-
color: ${green$
|
|
3288
|
+
color: ${green$c};
|
|
3155
3289
|
}
|
|
3156
3290
|
}
|
|
3157
3291
|
}
|
|
@@ -3162,7 +3296,7 @@ const Error = props => {
|
|
|
3162
3296
|
variant = 'default',
|
|
3163
3297
|
value
|
|
3164
3298
|
} = props;
|
|
3165
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
3299
|
+
return /*#__PURE__*/React.createElement(Wrapper$b, {
|
|
3166
3300
|
variant: variant
|
|
3167
3301
|
}, variant === 'default' ? /*#__PURE__*/React.createElement(Icon, {
|
|
3168
3302
|
icon: "warning",
|
|
@@ -3171,13 +3305,13 @@ const Error = props => {
|
|
|
3171
3305
|
};
|
|
3172
3306
|
|
|
3173
3307
|
const {
|
|
3174
|
-
normal: normal$
|
|
3175
|
-
green: green$
|
|
3308
|
+
normal: normal$e,
|
|
3309
|
+
green: green$d
|
|
3176
3310
|
} = colors;
|
|
3177
3311
|
const {
|
|
3178
3312
|
bold: bold$a
|
|
3179
3313
|
} = fontWeight;
|
|
3180
|
-
const Wrapper$
|
|
3314
|
+
const Wrapper$c = _styled.div`
|
|
3181
3315
|
min-height: 50vh;
|
|
3182
3316
|
display: flex;
|
|
3183
3317
|
flex-direction: column;
|
|
@@ -3194,14 +3328,14 @@ const Wrapper$b = _styled.div`
|
|
|
3194
3328
|
> div {
|
|
3195
3329
|
margin-top: ${/*#__PURE__*/rem('15px')};
|
|
3196
3330
|
font-weight: ${bold$a};
|
|
3197
|
-
color: ${normal$
|
|
3331
|
+
color: ${normal$e};
|
|
3198
3332
|
|
|
3199
3333
|
a {
|
|
3200
|
-
color: ${normal$
|
|
3334
|
+
color: ${normal$e};
|
|
3201
3335
|
transition-duration: 0.3s;
|
|
3202
3336
|
|
|
3203
3337
|
&:hover {
|
|
3204
|
-
color: ${green$
|
|
3338
|
+
color: ${green$d};
|
|
3205
3339
|
}
|
|
3206
3340
|
}
|
|
3207
3341
|
}
|
|
@@ -5163,20 +5297,20 @@ const DataWarning = props => {
|
|
|
5163
5297
|
icon = /*#__PURE__*/React.createElement(IconLoginOnly, null);
|
|
5164
5298
|
}
|
|
5165
5299
|
|
|
5166
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
5300
|
+
return /*#__PURE__*/React.createElement(Wrapper$c, {
|
|
5167
5301
|
type: type
|
|
5168
5302
|
}, icon, /*#__PURE__*/React.createElement("div", null, children));
|
|
5169
5303
|
};
|
|
5170
5304
|
|
|
5171
5305
|
const {
|
|
5172
|
-
normal: normal$
|
|
5173
|
-
green: green$
|
|
5174
|
-
darkGreen: darkGreen$
|
|
5175
|
-
grey: grey$
|
|
5176
|
-
lightGrey: lightGrey$
|
|
5177
|
-
red: red$
|
|
5306
|
+
normal: normal$f,
|
|
5307
|
+
green: green$e,
|
|
5308
|
+
darkGreen: darkGreen$7,
|
|
5309
|
+
grey: grey$o,
|
|
5310
|
+
lightGrey: lightGrey$j,
|
|
5311
|
+
red: red$e
|
|
5178
5312
|
} = colors;
|
|
5179
|
-
const Wrapper$
|
|
5313
|
+
const Wrapper$d = _styled.ul`
|
|
5180
5314
|
display: flex;
|
|
5181
5315
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5182
5316
|
position: relative;
|
|
@@ -5197,11 +5331,11 @@ const Wrapper$c = _styled.ul`
|
|
|
5197
5331
|
}
|
|
5198
5332
|
|
|
5199
5333
|
input[type='radio']:checked ~ .check {
|
|
5200
|
-
border-color: ${darkGreen$
|
|
5334
|
+
border-color: ${darkGreen$7};
|
|
5201
5335
|
}
|
|
5202
5336
|
|
|
5203
5337
|
input[type='radio']:checked ~ .check::before {
|
|
5204
|
-
background-color: ${green$
|
|
5338
|
+
background-color: ${green$e};
|
|
5205
5339
|
}
|
|
5206
5340
|
|
|
5207
5341
|
& + span {
|
|
@@ -5224,7 +5358,7 @@ const Item = _styled.li`
|
|
|
5224
5358
|
padding-left: calc(var(--size) + 5px);
|
|
5225
5359
|
line-height: var(--size);
|
|
5226
5360
|
vertical-align: middle;
|
|
5227
|
-
color: ${props => props.error ? red$
|
|
5361
|
+
color: ${props => props.error ? red$e : null};
|
|
5228
5362
|
cursor: pointer;
|
|
5229
5363
|
z-index: 1;
|
|
5230
5364
|
}
|
|
@@ -5232,7 +5366,7 @@ const Item = _styled.li`
|
|
|
5232
5366
|
.check {
|
|
5233
5367
|
position: absolute;
|
|
5234
5368
|
top: 0;
|
|
5235
|
-
border: ${/*#__PURE__*/rem('2px')} solid ${props => props.error ? red$
|
|
5369
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${props => props.error ? red$e : grey$o};
|
|
5236
5370
|
border-radius: 100%;
|
|
5237
5371
|
width: var(--size);
|
|
5238
5372
|
height: var(--size);
|
|
@@ -5251,21 +5385,21 @@ const Item = _styled.li`
|
|
|
5251
5385
|
}
|
|
5252
5386
|
|
|
5253
5387
|
&:hover .check {
|
|
5254
|
-
border-color: ${normal$
|
|
5388
|
+
border-color: ${normal$f};
|
|
5255
5389
|
}
|
|
5256
5390
|
|
|
5257
5391
|
${props => props.disabled && css`
|
|
5258
5392
|
label {
|
|
5259
|
-
color: ${grey$
|
|
5393
|
+
color: ${grey$o};
|
|
5260
5394
|
}
|
|
5261
5395
|
|
|
5262
5396
|
input[type='radio'] ~ .check,
|
|
5263
5397
|
input[type='radio']:checked ~ .check {
|
|
5264
|
-
border-color: ${lightGrey$
|
|
5398
|
+
border-color: ${lightGrey$j};
|
|
5265
5399
|
}
|
|
5266
5400
|
|
|
5267
5401
|
input[type='radio']:checked ~ .check::before {
|
|
5268
|
-
background-color: ${lightGrey$
|
|
5402
|
+
background-color: ${lightGrey$j};
|
|
5269
5403
|
}
|
|
5270
5404
|
|
|
5271
5405
|
&:hover {
|
|
@@ -5290,7 +5424,7 @@ const RadioGroup = props => {
|
|
|
5290
5424
|
return /*#__PURE__*/React.createElement("div", {
|
|
5291
5425
|
style: style,
|
|
5292
5426
|
className: className
|
|
5293
|
-
}, /*#__PURE__*/React.createElement(Wrapper$
|
|
5427
|
+
}, /*#__PURE__*/React.createElement(Wrapper$d, {
|
|
5294
5428
|
type: type,
|
|
5295
5429
|
group: group,
|
|
5296
5430
|
error: error,
|
|
@@ -5315,7 +5449,7 @@ const RadioGroup = props => {
|
|
|
5315
5449
|
}) : null);
|
|
5316
5450
|
};
|
|
5317
5451
|
|
|
5318
|
-
const Wrapper$
|
|
5452
|
+
const Wrapper$e = _styled.ul`
|
|
5319
5453
|
display: flex;
|
|
5320
5454
|
flex-direction: ${props => props.type === 'column' ? 'column' : 'row'};
|
|
5321
5455
|
position: relative;
|
|
@@ -5348,7 +5482,7 @@ const CheckboxGroup = props => {
|
|
|
5348
5482
|
error,
|
|
5349
5483
|
disabled
|
|
5350
5484
|
} = props;
|
|
5351
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
5485
|
+
return /*#__PURE__*/React.createElement(Wrapper$e, {
|
|
5352
5486
|
type: type,
|
|
5353
5487
|
error: error
|
|
5354
5488
|
}, children ? children : options && Array.isArray(options) ? options.map((value, index) => /*#__PURE__*/React.createElement("li", {
|
|
@@ -5365,15 +5499,15 @@ const CheckboxGroup = props => {
|
|
|
5365
5499
|
}) : null);
|
|
5366
5500
|
};
|
|
5367
5501
|
|
|
5368
|
-
const Wrapper$
|
|
5502
|
+
const Wrapper$f = _styled.div`
|
|
5369
5503
|
label {
|
|
5370
5504
|
margin-bottom: ${/*#__PURE__*/rem('5px')};
|
|
5371
5505
|
}
|
|
5372
5506
|
`;
|
|
5373
5507
|
const {
|
|
5374
|
-
grey: grey$
|
|
5375
|
-
darkGrey: darkGrey$
|
|
5376
|
-
light: light$
|
|
5508
|
+
grey: grey$p,
|
|
5509
|
+
darkGrey: darkGrey$4,
|
|
5510
|
+
light: light$l,
|
|
5377
5511
|
purple: purple$6
|
|
5378
5512
|
} = colors;
|
|
5379
5513
|
const Field = _styled.div`
|
|
@@ -5401,7 +5535,7 @@ const Field = _styled.div`
|
|
|
5401
5535
|
button {
|
|
5402
5536
|
border: 0;
|
|
5403
5537
|
border-radius: 0 ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')} 0;
|
|
5404
|
-
background-color: ${grey$
|
|
5538
|
+
background-color: ${grey$p};
|
|
5405
5539
|
min-width: ${/*#__PURE__*/rem('50px')};
|
|
5406
5540
|
height: ${/*#__PURE__*/rem('50px')};
|
|
5407
5541
|
display: flex;
|
|
@@ -5417,12 +5551,12 @@ const Field = _styled.div`
|
|
|
5417
5551
|
width: auto;
|
|
5418
5552
|
min-width: ${/*#__PURE__*/rem('20px')};
|
|
5419
5553
|
height: ${/*#__PURE__*/rem('20px')};
|
|
5420
|
-
fill: ${light$
|
|
5554
|
+
fill: ${light$l};
|
|
5421
5555
|
transition: 0.3s;
|
|
5422
5556
|
}
|
|
5423
5557
|
|
|
5424
5558
|
&:hover {
|
|
5425
|
-
background-color: ${darkGrey$
|
|
5559
|
+
background-color: ${darkGrey$4};
|
|
5426
5560
|
}
|
|
5427
5561
|
|
|
5428
5562
|
&:disabled {
|
|
@@ -5430,7 +5564,7 @@ const Field = _styled.div`
|
|
|
5430
5564
|
opacity: 0.5;
|
|
5431
5565
|
|
|
5432
5566
|
&:hover {
|
|
5433
|
-
background-color: ${grey$
|
|
5567
|
+
background-color: ${grey$p};
|
|
5434
5568
|
pointer-events: none;
|
|
5435
5569
|
}
|
|
5436
5570
|
}
|
|
@@ -5454,7 +5588,7 @@ const FieldWidthButton = props => {
|
|
|
5454
5588
|
buttonAction,
|
|
5455
5589
|
buttonDisabled
|
|
5456
5590
|
} = props;
|
|
5457
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
5591
|
+
return /*#__PURE__*/React.createElement(Wrapper$f, null, label && /*#__PURE__*/React.createElement(Label, {
|
|
5458
5592
|
value: label
|
|
5459
5593
|
}), /*#__PURE__*/React.createElement(Field, null, /*#__PURE__*/React.createElement(TextField, {
|
|
5460
5594
|
minimal: false,
|
|
@@ -5476,23 +5610,23 @@ const FieldWidthButton = props => {
|
|
|
5476
5610
|
};
|
|
5477
5611
|
|
|
5478
5612
|
const {
|
|
5479
|
-
normal: normal$
|
|
5613
|
+
normal: normal$g,
|
|
5480
5614
|
purple: purple$7,
|
|
5481
|
-
grey: grey$
|
|
5482
|
-
lightGrey: lightGrey$
|
|
5483
|
-
light: light$
|
|
5615
|
+
grey: grey$q,
|
|
5616
|
+
lightGrey: lightGrey$k,
|
|
5617
|
+
light: light$m
|
|
5484
5618
|
} = colors;
|
|
5485
5619
|
const {
|
|
5486
5620
|
bold: bold$b
|
|
5487
5621
|
} = fontWeight;
|
|
5488
|
-
const Wrapper$
|
|
5622
|
+
const Wrapper$g = /*#__PURE__*/_styled.div.withConfig({
|
|
5489
5623
|
displayName: "styles__Wrapper",
|
|
5490
5624
|
componentId: "znznmm-0"
|
|
5491
|
-
})(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:0.3s;svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:0.3s;}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('10px'), normal$
|
|
5625
|
+
})(["display:flex;align-items:center;ul.menu{width:0;animation:showAnimation 1s forwards;animation-delay:0.5s;overflow:hidden;}@keyframes showAnimation{0%{width:0%;}100%{width:100%;}}ul{margin:0;max-width:max-content;padding:0;&.menu{display:flex;li:not(:last-child){margin-right:", ";}}li{position:relative;list-style:none;a{display:flex;align-items:center;padding:", ";color:", ";text-transform:capitalize;text-decoration:none;white-space:nowrap;transition-duration:0.3s;svg{margin-right:", ";width:auto;height:", ";min-width:", ";fill:", ";transition-duration:0.3s;}&:hover{color:", ";svg{fill:", ";}}}&.active{font-weight:", ";a{pointer-events:none;svg{fill:", ";}}}}}"], /*#__PURE__*/rem('10px'), /*#__PURE__*/rem('10px'), normal$g, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('24px'), /*#__PURE__*/rem('24px'), grey$q, props => props.customColor ? props.customColor : purple$7, props => props.customColor ? props.customColor : purple$7, bold$b, props => props.customColor ? props.customColor : purple$7);
|
|
5492
5626
|
const More = /*#__PURE__*/_styled.div.withConfig({
|
|
5493
5627
|
displayName: "styles__More",
|
|
5494
5628
|
componentId: "znznmm-1"
|
|
5495
|
-
})(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);-webkit-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], /*#__PURE__*/rem('1px'), lightGrey$
|
|
5629
|
+
})(["position:relative;display:none;&.hide{display:initial;}ul{position:absolute;right:0;border:", " solid ", ";border-radius:", ";background-color:", ";margin-top:", ";padding:0;-moz-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);-webkit-box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);box-shadow:0 0 ", " 0 rgba(40,40,40,0.2);z-index:1;overflow-x:hidden;overflow-y:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-ms-overflow-style:-ms-autohiding-scrollbar;&.more{display:none;}&.is-open{display:inherit;}li{list-style:none;transition-duration:0.3s;&:hover{background-color:", ";cursor:pointer;a{color:", ";svg{fill:", ";}}}&:first-child{border-radius:", " ", " 0 0;}&:last-child{border-radius:0 0 ", " ", ";}a{width:100%;height:100%;padding:", ";}}}"], /*#__PURE__*/rem('1px'), lightGrey$k, /*#__PURE__*/rem('4px'), light$m, /*#__PURE__*/rem('5px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), /*#__PURE__*/rem('15px'), lightGrey$k, normal$g, normal$g, /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('4px'), /*#__PURE__*/rem('15px'));
|
|
5496
5630
|
|
|
5497
5631
|
const HorizontalNav = props => {
|
|
5498
5632
|
const [showMore, setShowMore] = useState(false);
|
|
@@ -5546,7 +5680,7 @@ const HorizontalNav = props => {
|
|
|
5546
5680
|
|
|
5547
5681
|
return;
|
|
5548
5682
|
}, [ref]);
|
|
5549
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
5683
|
+
return /*#__PURE__*/React.createElement(Wrapper$g, {
|
|
5550
5684
|
ref: ref,
|
|
5551
5685
|
className: className,
|
|
5552
5686
|
customColor: customColor
|
|
@@ -5569,7 +5703,7 @@ const HorizontalNav = props => {
|
|
|
5569
5703
|
};
|
|
5570
5704
|
|
|
5571
5705
|
const {
|
|
5572
|
-
light: light$
|
|
5706
|
+
light: light$n
|
|
5573
5707
|
} = colors;
|
|
5574
5708
|
const {
|
|
5575
5709
|
bold: bold$c
|
|
@@ -5585,11 +5719,11 @@ const ModalWrapper = /*#__PURE__*/_styled.div.withConfig({
|
|
|
5585
5719
|
const ModalContainer = /*#__PURE__*/_styled.div.withConfig({
|
|
5586
5720
|
displayName: "styles__ModalContainer",
|
|
5587
5721
|
componentId: "sc-16r6vcc-2"
|
|
5588
|
-
})(["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$
|
|
5722
|
+
})(["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__*/rem('15px'), device.s, /*#__PURE__*/rem('30px'), /*#__PURE__*/rem('6px'), /*#__PURE__*/rem('860px'), /*#__PURE__*/rem('1px'));
|
|
5589
5723
|
const ModalHeader = /*#__PURE__*/_styled.div.withConfig({
|
|
5590
5724
|
displayName: "styles__ModalHeader",
|
|
5591
5725
|
componentId: "sc-16r6vcc-3"
|
|
5592
|
-
})(["display:flex;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;background-color:", ";z-index:1;&:hover{background-color:", ";}@media ", "{display:inherit;}}"], /*#__PURE__*/rem('30px'), bold$c, /*#__PURE__*/rem('-18px'), /*#__PURE__*/rem('-18px'), light$
|
|
5726
|
+
})(["display:flex;h2{margin:0 0 ", " 0;font-size:2rem;font-weight:", ";}button{display:none;position:absolute;top:0;right:0;margin:", " ", " 0 0;background-color:", ";z-index:1;&:hover{background-color:", ";}@media ", "{display:inherit;}}"], /*#__PURE__*/rem('30px'), bold$c, /*#__PURE__*/rem('-18px'), /*#__PURE__*/rem('-18px'), light$n, light$n, device.s);
|
|
5593
5727
|
|
|
5594
5728
|
const Modal = props => {
|
|
5595
5729
|
const {
|
|
@@ -5640,7 +5774,7 @@ const Modal = props => {
|
|
|
5640
5774
|
};
|
|
5641
5775
|
|
|
5642
5776
|
const {
|
|
5643
|
-
light: light$
|
|
5777
|
+
light: light$o
|
|
5644
5778
|
} = colors;
|
|
5645
5779
|
const {
|
|
5646
5780
|
bold: bold$d
|
|
@@ -5665,7 +5799,7 @@ const ModalWrapper$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
|
5665
5799
|
const ModalContainer$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5666
5800
|
displayName: "styles__ModalContainer",
|
|
5667
5801
|
componentId: "sc-46huls-2"
|
|
5668
|
-
})(["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$
|
|
5802
|
+
})(["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__*/rem('15px'), /*#__PURE__*/timingFunctions('easeOutQuint'), slideInLeft, device.s, /*#__PURE__*/rem('400px'), /*#__PURE__*/rem('30px'));
|
|
5669
5803
|
const ModalHeader$1 = /*#__PURE__*/_styled.div.withConfig({
|
|
5670
5804
|
displayName: "styles__ModalHeader",
|
|
5671
5805
|
componentId: "sc-46huls-3"
|
|
@@ -5703,9 +5837,9 @@ const ModalDrawer = props => {
|
|
|
5703
5837
|
};
|
|
5704
5838
|
|
|
5705
5839
|
const {
|
|
5706
|
-
lightGrey: lightGrey$
|
|
5840
|
+
lightGrey: lightGrey$l
|
|
5707
5841
|
} = colors;
|
|
5708
|
-
const Wrapper$
|
|
5842
|
+
const Wrapper$h = _styled.div`
|
|
5709
5843
|
div {
|
|
5710
5844
|
width: 100%;
|
|
5711
5845
|
height: 100%;
|
|
@@ -5766,7 +5900,7 @@ const Wrapper$g = _styled.div`
|
|
|
5766
5900
|
|
|
5767
5901
|
.card {
|
|
5768
5902
|
position: relative;
|
|
5769
|
-
border: ${/*#__PURE__*/rem('2px')} solid ${lightGrey$
|
|
5903
|
+
border: ${/*#__PURE__*/rem('2px')} solid ${lightGrey$l};
|
|
5770
5904
|
border-radius: ${/*#__PURE__*/rem('6px')};
|
|
5771
5905
|
width: ${/*#__PURE__*/rem('300px')};
|
|
5772
5906
|
overflow: hidden;
|
|
@@ -5781,7 +5915,7 @@ const Wrapper$g = _styled.div`
|
|
|
5781
5915
|
margin: ${/*#__PURE__*/rem('-45px')} 0 0 ${/*#__PURE__*/rem('20px')};
|
|
5782
5916
|
width: ${/*#__PURE__*/rem('90px')};
|
|
5783
5917
|
height: ${/*#__PURE__*/rem('90px')};
|
|
5784
|
-
border: ${/*#__PURE__*/rem('1px')} solid ${lightGrey$
|
|
5918
|
+
border: ${/*#__PURE__*/rem('1px')} solid ${lightGrey$l};
|
|
5785
5919
|
border-radius: 999px;
|
|
5786
5920
|
}
|
|
5787
5921
|
|
|
@@ -5920,32 +6054,32 @@ const LoadingState = props => {
|
|
|
5920
6054
|
}), paragraphs));
|
|
5921
6055
|
}
|
|
5922
6056
|
|
|
5923
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
6057
|
+
return /*#__PURE__*/React.createElement(Wrapper$h, {
|
|
5924
6058
|
type: type
|
|
5925
6059
|
}, loadingType);
|
|
5926
6060
|
};
|
|
5927
6061
|
|
|
5928
6062
|
const {
|
|
5929
|
-
normal: normal$
|
|
5930
|
-
grey: grey$
|
|
5931
|
-
lightGrey: lightGrey$
|
|
5932
|
-
light: light$
|
|
6063
|
+
normal: normal$h,
|
|
6064
|
+
grey: grey$r,
|
|
6065
|
+
lightGrey: lightGrey$m,
|
|
6066
|
+
light: light$p
|
|
5933
6067
|
} = colors;
|
|
5934
|
-
const Wrapper$
|
|
6068
|
+
const Wrapper$i = _styled.div`
|
|
5935
6069
|
.tab {
|
|
5936
|
-
border-color: ${lightGrey$
|
|
6070
|
+
border-color: ${lightGrey$m};
|
|
5937
6071
|
|
|
5938
6072
|
&[aria-selected='true'] {
|
|
5939
6073
|
border-bottom: 0;
|
|
5940
6074
|
}
|
|
5941
6075
|
|
|
5942
6076
|
&[aria-selected='false'] {
|
|
5943
|
-
background-color: ${lightGrey$
|
|
5944
|
-
color: ${grey$
|
|
6077
|
+
background-color: ${lightGrey$m};
|
|
6078
|
+
color: ${grey$r};
|
|
5945
6079
|
transition-duration: 0.3s;
|
|
5946
6080
|
|
|
5947
6081
|
&:hover {
|
|
5948
|
-
color: ${normal$
|
|
6082
|
+
color: ${normal$h};
|
|
5949
6083
|
}
|
|
5950
6084
|
}
|
|
5951
6085
|
|
|
@@ -5960,8 +6094,8 @@ const Wrapper$h = _styled.div`
|
|
|
5960
6094
|
|
|
5961
6095
|
.panel {
|
|
5962
6096
|
border-radius: 0 ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')} ${/*#__PURE__*/rem('6px')};
|
|
5963
|
-
border-color: ${lightGrey$
|
|
5964
|
-
background-color: ${light$
|
|
6097
|
+
border-color: ${lightGrey$m};
|
|
6098
|
+
background-color: ${light$p};
|
|
5965
6099
|
padding: ${/*#__PURE__*/rem('30px')};
|
|
5966
6100
|
}
|
|
5967
6101
|
|
|
@@ -5981,7 +6115,7 @@ const Wrapper$h = _styled.div`
|
|
|
5981
6115
|
.RRT__tab {
|
|
5982
6116
|
background: #eee;
|
|
5983
6117
|
border-style: solid;
|
|
5984
|
-
border-color: ${/*#__PURE__*/lighten(0.25, grey$
|
|
6118
|
+
border-color: ${/*#__PURE__*/lighten(0.25, grey$r)};
|
|
5985
6119
|
border-width: ${/*#__PURE__*/rem('1px')} ${/*#__PURE__*/rem('1px')} ${/*#__PURE__*/rem('1px')} 0;
|
|
5986
6120
|
cursor: pointer;
|
|
5987
6121
|
z-index: 1;
|
|
@@ -5991,7 +6125,7 @@ const Wrapper$h = _styled.div`
|
|
|
5991
6125
|
|
|
5992
6126
|
.RRT__tab:focus {
|
|
5993
6127
|
outline: 0;
|
|
5994
|
-
background-color: ${/*#__PURE__*/lighten(0.25, grey$
|
|
6128
|
+
background-color: ${/*#__PURE__*/lighten(0.25, grey$r)};
|
|
5995
6129
|
}
|
|
5996
6130
|
|
|
5997
6131
|
.RRT__accordion .RRT__tab {
|
|
@@ -6003,12 +6137,12 @@ const Wrapper$h = _styled.div`
|
|
|
6003
6137
|
}
|
|
6004
6138
|
|
|
6005
6139
|
.RRT__tab--selected {
|
|
6006
|
-
background: ${light$
|
|
6007
|
-
border-color: ${/*#__PURE__*/lighten(0.25, grey$
|
|
6140
|
+
background: ${light$p};
|
|
6141
|
+
border-color: ${/*#__PURE__*/lighten(0.25, grey$r)} ${/*#__PURE__*/lighten(0.25, grey$r)} ${light$p};
|
|
6008
6142
|
}
|
|
6009
6143
|
|
|
6010
6144
|
.RRT__tab--selected:focus {
|
|
6011
|
-
background-color: ${light$
|
|
6145
|
+
background-color: ${light$p};
|
|
6012
6146
|
}
|
|
6013
6147
|
|
|
6014
6148
|
.RRT__tab--disabled {
|
|
@@ -6038,7 +6172,7 @@ const Wrapper$h = _styled.div`
|
|
|
6038
6172
|
.RRT__panel {
|
|
6039
6173
|
margin-top: ${/*#__PURE__*/rem('-1px')};
|
|
6040
6174
|
padding: 1em;
|
|
6041
|
-
border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$
|
|
6175
|
+
border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$r)};
|
|
6042
6176
|
}
|
|
6043
6177
|
|
|
6044
6178
|
.RRT__panel--hidden {
|
|
@@ -6050,8 +6184,8 @@ const Wrapper$h = _styled.div`
|
|
|
6050
6184
|
}
|
|
6051
6185
|
|
|
6052
6186
|
.RRT__showmore {
|
|
6053
|
-
background: ${lightGrey$
|
|
6054
|
-
border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$
|
|
6187
|
+
background: ${lightGrey$m};
|
|
6188
|
+
border: ${/*#__PURE__*/rem('1px')} solid ${/*#__PURE__*/lighten(0.25, grey$r)};
|
|
6055
6189
|
border-radius: 0 ${/*#__PURE__*/rem('6px')} 0 0;
|
|
6056
6190
|
cursor: pointer;
|
|
6057
6191
|
z-index: 1;
|
|
@@ -6061,7 +6195,7 @@ const Wrapper$h = _styled.div`
|
|
|
6061
6195
|
}
|
|
6062
6196
|
|
|
6063
6197
|
.RRT__showmore--selected {
|
|
6064
|
-
background: ${light$
|
|
6198
|
+
background: ${light$p};
|
|
6065
6199
|
border-bottom: none;
|
|
6066
6200
|
}
|
|
6067
6201
|
|
|
@@ -6072,7 +6206,7 @@ const Wrapper$h = _styled.div`
|
|
|
6072
6206
|
}
|
|
6073
6207
|
|
|
6074
6208
|
.RRT__showmore-label--selected {
|
|
6075
|
-
background-color: ${/*#__PURE__*/lighten(0.25, grey$
|
|
6209
|
+
background-color: ${/*#__PURE__*/lighten(0.25, grey$r)};
|
|
6076
6210
|
}
|
|
6077
6211
|
|
|
6078
6212
|
.RRT__showmore-list {
|
|
@@ -6110,7 +6244,7 @@ const TabsPanel = props => {
|
|
|
6110
6244
|
}));
|
|
6111
6245
|
};
|
|
6112
6246
|
|
|
6113
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
6247
|
+
return /*#__PURE__*/React.createElement(Wrapper$i, null, /*#__PURE__*/React.createElement(Tabs, {
|
|
6114
6248
|
transform: false,
|
|
6115
6249
|
unmountOnExit: unmountOnExit,
|
|
6116
6250
|
selectedTabKey: selectedTabKey,
|
|
@@ -6120,7 +6254,7 @@ const TabsPanel = props => {
|
|
|
6120
6254
|
}));
|
|
6121
6255
|
};
|
|
6122
6256
|
|
|
6123
|
-
const Wrapper$
|
|
6257
|
+
const Wrapper$j = _styled.div`
|
|
6124
6258
|
display: flex;
|
|
6125
6259
|
flex-direction: column;
|
|
6126
6260
|
`;
|
|
@@ -6140,7 +6274,7 @@ const TabsPanel$1 = props => {
|
|
|
6140
6274
|
className = 'grid-container',
|
|
6141
6275
|
children
|
|
6142
6276
|
} = props;
|
|
6143
|
-
return /*#__PURE__*/React.createElement(Wrapper$
|
|
6277
|
+
return /*#__PURE__*/React.createElement(Wrapper$j, {
|
|
6144
6278
|
className: className
|
|
6145
6279
|
}, children);
|
|
6146
6280
|
};
|
|
@@ -6167,5 +6301,5 @@ const GridCol$1 = props => {
|
|
|
6167
6301
|
}, children);
|
|
6168
6302
|
};
|
|
6169
6303
|
|
|
6170
|
-
export { ActionsMenu, AlertNotification, AvatarImage, Button, ButtonDropdown, ButtonLink, CardValue, Checkbox, CheckboxButton, CheckboxGroup, DataWarning, EmptyTable, Error, ErrorField, FieldWidthButton, FormGroup, GridCol$1 as GridCol, TabsPanel$1 as GridContainer, GridRow$1 as GridRow, HorizontalNav, Icon, Label, LoadingState, Modal, ModalDrawer, ModalFooter, NoteCard, NumberInputSpinner, PaginationControl, ProgressBar, RadioGroup, Select, SelectInteractive, Slideshow, Spinner, Table$1 as Table, TableDnD, TabsPanel, Tag, TagNumber, TextArea, TextField, TextFieldAppendix, Toggle, TruncateLine, VideoPlayer, WizardSteps };
|
|
6304
|
+
export { ActionsMenu, AlertNotification, AvatarImage, Button, ButtonDropdown, ButtonLink, CardValue, Checkbox, CheckboxButton, CheckboxGroup, DataWarning, EmptyTable, Error, ErrorField, FieldWidthButton, FilePicker, FormGroup, GridCol$1 as GridCol, TabsPanel$1 as GridContainer, GridRow$1 as GridRow, HorizontalNav, Icon, Label, LoadingState, Modal, ModalDrawer, ModalFooter, NoteCard, NumberInputSpinner, PaginationControl, ProgressBar, RadioGroup, Select, SelectInteractive, Slideshow, Spinner, Table$1 as Table, TableDnD, TabsPanel, Tag, TagNumber, TextArea, TextField, TextFieldAppendix, Toggle, TruncateLine, VideoPlayer, WizardSteps };
|
|
6171
6305
|
//# sourceMappingURL=rocket-kit.esm.js.map
|