@livepeer/design-system 1.0.17 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/components/Accordion.d.ts +4 -4
- package/dist/components/AlertDialog.d.ts +1 -2
- package/dist/components/Avatar.d.ts +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Checkbox.d.ts +1 -1
- package/dist/components/ContextMenu.d.ts +3 -3
- package/dist/components/Dialog.d.ts +1 -1
- package/dist/components/DropdownMenu.d.ts +3 -3
- package/dist/components/Heading.d.ts +1 -1
- package/dist/components/Menu.d.ts +2 -2
- package/dist/components/Paragraph.d.ts +1 -1
- package/dist/components/Popover.d.ts +1 -1
- package/dist/components/ProgressBar.d.ts +1 -1
- package/dist/components/Radio.d.ts +1 -1
- package/dist/components/RadioCard.d.ts +1 -1
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Sheet.d.ts +1 -1
- package/dist/components/Slider.d.ts +1 -1
- package/dist/components/Switch.d.ts +1 -1
- package/dist/components/Tabs.d.ts +1 -1
- package/dist/components/VerifiedBadge.d.ts +1 -1
- package/dist/index.es.js +189 -158
- package/dist/index.js +189 -158
- package/dist/stitches.config.d.ts +2 -2
- package/package.json +29 -29
- package/dist/components/Accordian.d.ts +0 -4
package/dist/index.es.js
CHANGED
@@ -39,8 +39,8 @@ var styled = (_a$8 = createStitches({
|
|
39
39
|
theme: {
|
40
40
|
colors: __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, gray), mauve), slate), sage), olive), sand), tomato), red), crimson), pink), plum), purple), violet), indigo), blue), sky), mint), cyan), teal), green), grass), lime), yellow), amber), orange), brown), bronze), gold), whiteA), blackA), {
|
41
41
|
// Semantic colors
|
42
|
-
hiContrast: "$
|
43
|
-
// loContrast: '$
|
42
|
+
hiContrast: "$slate12",
|
43
|
+
// loContrast: '$slate1',
|
44
44
|
loContrast: "white", canvas: "hsl(0 0% 93%)", panel: "white", transparentPanel: "hsl(0 0% 0% / 97%)", shadowLight: "hsl(206 22% 7% / 35%)", shadowDark: "hsl(206 22% 7% / 20%)" }),
|
45
45
|
fonts: {
|
46
46
|
untitled: "Untitled Sans, -apple-system, system-ui, sans-serif",
|
@@ -68,6 +68,28 @@ var styled = (_a$8 = createStitches({
|
|
68
68
|
8: "65px",
|
69
69
|
9: "80px",
|
70
70
|
},
|
71
|
+
// space: {
|
72
|
+
// 1: '4px',
|
73
|
+
// 2: '8px',
|
74
|
+
// 3: '16px',
|
75
|
+
// 4: '20px',
|
76
|
+
// 5: '24px',
|
77
|
+
// 6: '32px',
|
78
|
+
// 7: '48px',
|
79
|
+
// 8: '64px',
|
80
|
+
// 9: '80px',
|
81
|
+
// },
|
82
|
+
// sizes: {
|
83
|
+
// 1: '4px',
|
84
|
+
// 2: '8px',
|
85
|
+
// 3: '16px',
|
86
|
+
// 4: '20px',
|
87
|
+
// 5: '24px',
|
88
|
+
// 6: '32px',
|
89
|
+
// 7: '48px',
|
90
|
+
// 8: '64px',
|
91
|
+
// 9: '80px',
|
92
|
+
// },
|
71
93
|
fontSizes: {
|
72
94
|
1: "12px",
|
73
95
|
2: "13px",
|
@@ -79,6 +101,17 @@ var styled = (_a$8 = createStitches({
|
|
79
101
|
8: "35px",
|
80
102
|
9: "59px",
|
81
103
|
},
|
104
|
+
// fontSizes: {
|
105
|
+
// 1: '11px',
|
106
|
+
// 2: '12px',
|
107
|
+
// 3: '15px',
|
108
|
+
// 4: '17px',
|
109
|
+
// 5: '20px',
|
110
|
+
// 6: '22px',
|
111
|
+
// 7: '28px',
|
112
|
+
// 8: '36px',
|
113
|
+
// 9: '60px',
|
114
|
+
// },
|
82
115
|
radii: {
|
83
116
|
1: "4px",
|
84
117
|
2: "6px",
|
@@ -224,7 +257,7 @@ var styled = (_a$8 = createStitches({
|
|
224
257
|
createTheme("dark-theme", {
|
225
258
|
colors: __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, grayDark), mauveDark), slateDark), sageDark), oliveDark), sandDark), tomatoDark), redDark), crimsonDark), pinkDark), plumDark), purpleDark), violetDark), indigoDark), blueDark), skyDark), mintDark), cyanDark), tealDark), greenDark), grassDark), limeDark), yellowDark), amberDark), orangeDark), brownDark), bronzeDark), goldDark), {
|
226
259
|
// Semantic colors
|
227
|
-
hiContrast: "$
|
260
|
+
hiContrast: "$slate12", loContrast: "$slate1", canvas: "hsl(0 0% 15%)", panel: "$slate3", transparentPanel: "hsl(0 100% 100% / 97%)", shadowLight: "hsl(206 22% 7% / 35%)", shadowDark: "hsl(206 22% 7% / 20%)" }),
|
228
261
|
});
|
229
262
|
var lightThemeColors = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, gray), mauve), slate), sage), olive), sand), tomato), red), crimson), pink), plum), purple), violet), indigo), blue), sky), mint), cyan), teal), green), grass), lime), yellow), amber), orange), brown), bronze), gold), whiteA), blackA);
|
230
263
|
var darkThemeColors = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, grayDark), mauveDark), slateDark), sageDark), oliveDark), sandDark), tomatoDark), redDark), crimsonDark), pinkDark), plumDark), purpleDark), violetDark), indigoDark), blueDark), skyDark), mintDark), cyanDark), tealDark), greenDark), grassDark), limeDark), yellowDark), amberDark), orangeDark), brownDark), bronzeDark), goldDark), whiteA), blackA);
|
@@ -296,7 +329,7 @@ var getThemes = function () {
|
|
296
329
|
|
297
330
|
var StyledAccordion = styled(AccordionPrimitive.Root, {
|
298
331
|
boxShadow: "0 0 0 1px $colors$neutral6",
|
299
|
-
borderRadius: "$
|
332
|
+
borderRadius: "$1",
|
300
333
|
});
|
301
334
|
var Accordion = React.forwardRef(function (_a, forwardedRef) {
|
302
335
|
var children = _a.children, props = __rest(_a, ["children"]);
|
@@ -304,27 +337,9 @@ var Accordion = React.forwardRef(function (_a, forwardedRef) {
|
|
304
337
|
});
|
305
338
|
Accordion.displayName = "Accordion";
|
306
339
|
var StyledItem = styled(AccordionPrimitive.Item, {
|
307
|
-
borderTop: "1px solid $colors$
|
308
|
-
"button:focus": { boxShadow: "none" },
|
309
|
-
"&:first-of-type": {
|
310
|
-
borderTop: "none",
|
311
|
-
},
|
340
|
+
borderTop: "1px solid $colors$slate6",
|
312
341
|
"&:last-of-type": {
|
313
|
-
borderBottom: "
|
314
|
-
},
|
315
|
-
"&:hover": {
|
316
|
-
"&:first-of-type": {
|
317
|
-
button: {
|
318
|
-
borderTopLeftRadius: "$2",
|
319
|
-
borderTopRightRadius: "$2",
|
320
|
-
},
|
321
|
-
},
|
322
|
-
"&:last-of-type": {
|
323
|
-
button: {
|
324
|
-
borderBottomLeftRadius: "$2",
|
325
|
-
borderBottomRightRadius: "$2",
|
326
|
-
},
|
327
|
-
},
|
342
|
+
borderBottom: "1px solid $colors$slate6",
|
328
343
|
},
|
329
344
|
});
|
330
345
|
var StyledHeader = styled(AccordionPrimitive.Header, {
|
@@ -346,12 +361,15 @@ var StyledTrigger = styled(AccordionPrimitive.Trigger, {
|
|
346
361
|
p: "$2",
|
347
362
|
color: "$hiContrast",
|
348
363
|
width: "100%",
|
349
|
-
"
|
350
|
-
|
364
|
+
cursor: "pointer",
|
365
|
+
"@hover": {
|
366
|
+
"&:hover": {
|
367
|
+
backgroundColor: "$slate2",
|
368
|
+
},
|
351
369
|
},
|
352
370
|
"&:focus": {
|
353
371
|
outline: "none",
|
354
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
372
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
355
373
|
},
|
356
374
|
svg: {
|
357
375
|
transition: "transform 175ms cubic-bezier(0.65, 0, 0.35, 1)",
|
@@ -396,11 +414,11 @@ var Alert = styled("div", {
|
|
396
414
|
variant: {
|
397
415
|
loContrast: {
|
398
416
|
backgroundColor: "$loContrast",
|
399
|
-
borderColor: "$
|
417
|
+
borderColor: "$slate6",
|
400
418
|
},
|
401
419
|
gray: {
|
402
|
-
backgroundColor: "$
|
403
|
-
borderColor: "$
|
420
|
+
backgroundColor: "$slate2",
|
421
|
+
borderColor: "$slate6",
|
404
422
|
},
|
405
423
|
blue: {
|
406
424
|
backgroundColor: "$blue2",
|
@@ -454,7 +472,6 @@ var StyledOverlay$2 = styled(AlertDialogPrimitive.Overlay, overlayStyles, {
|
|
454
472
|
left: 0,
|
455
473
|
backgroundColor: "rgba(0,0,0,.35)",
|
456
474
|
inset: 0,
|
457
|
-
zIndex: 1000,
|
458
475
|
variants: {
|
459
476
|
animation: {
|
460
477
|
true: {
|
@@ -487,7 +504,6 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive.Content, panelStyles,
|
|
487
504
|
borderRadius: "$4",
|
488
505
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
489
506
|
color: "$black",
|
490
|
-
zIndex: 1001,
|
491
507
|
"&:focus": {
|
492
508
|
outline: "none",
|
493
509
|
},
|
@@ -512,7 +528,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive.Content, panelStyles,
|
|
512
528
|
});
|
513
529
|
var AlertDialogContent = function (_a) {
|
514
530
|
var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = __rest(_a, ["children", "animation"]);
|
515
|
-
return (React.createElement(StyledAlertDialogContent, __assign({ animation: animation }, props
|
531
|
+
return (React.createElement(StyledAlertDialogContent, __assign({ animation: animation }, props), children));
|
516
532
|
};
|
517
533
|
var AlertDialogTitle = AlertDialogPrimitive.Title;
|
518
534
|
var AlertDialogDescription = AlertDialogPrimitive.Description;
|
@@ -541,7 +557,7 @@ var Status = styled("div", {
|
|
541
557
|
},
|
542
558
|
variant: {
|
543
559
|
gray: {
|
544
|
-
backgroundColor: "$
|
560
|
+
backgroundColor: "$slate7",
|
545
561
|
},
|
546
562
|
blue: {
|
547
563
|
backgroundColor: "$blue9",
|
@@ -625,7 +641,7 @@ var StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
625
641
|
color: "$loContrast",
|
626
642
|
},
|
627
643
|
gray: {
|
628
|
-
backgroundColor: "$
|
644
|
+
backgroundColor: "$slate5",
|
629
645
|
},
|
630
646
|
tomato: {
|
631
647
|
backgroundColor: "$tomato5",
|
@@ -829,9 +845,9 @@ var Badge = styled("span", {
|
|
829
845
|
userSelect: "none",
|
830
846
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
831
847
|
"&:disabled": {
|
832
|
-
backgroundColor: "$
|
848
|
+
backgroundColor: "$slate3",
|
833
849
|
pointerEvents: "none",
|
834
|
-
color: "$
|
850
|
+
color: "$slate8",
|
835
851
|
},
|
836
852
|
"&::before": {
|
837
853
|
boxSizing: "border-box",
|
@@ -842,9 +858,9 @@ var Badge = styled("span", {
|
|
842
858
|
content: '""',
|
843
859
|
},
|
844
860
|
// Custom
|
845
|
-
backgroundColor: "$
|
861
|
+
backgroundColor: "$slate3",
|
846
862
|
borderRadius: "$pill",
|
847
|
-
color: "$
|
863
|
+
color: "$slate11",
|
848
864
|
whiteSpace: "nowrap",
|
849
865
|
variants: {
|
850
866
|
size: {
|
@@ -875,10 +891,10 @@ var Badge = styled("span", {
|
|
875
891
|
},
|
876
892
|
},
|
877
893
|
gray: {
|
878
|
-
backgroundColor: "$
|
879
|
-
color: "$
|
894
|
+
backgroundColor: "$slate3",
|
895
|
+
color: "$slate11",
|
880
896
|
"&:focus": {
|
881
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
897
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
882
898
|
},
|
883
899
|
},
|
884
900
|
red: {
|
@@ -1356,12 +1372,12 @@ var compoundVariants = [];
|
|
1356
1372
|
for (var _i$1 = 0, naturalPairingsKeys_1$1 = naturalPairingsKeys; _i$1 < naturalPairingsKeys_1$1.length; _i$1++) {
|
1357
1373
|
var color$1 = naturalPairingsKeys_1$1[_i$1];
|
1358
1374
|
colorVariants$1[color$1] = {
|
1359
|
-
bc: "$".concat(color$1, "
|
1360
|
-
color: "
|
1361
|
-
"&:hover": { bc: "$".concat(color$1, "
|
1362
|
-
"&:active": { bc: "$".concat(color$1, "
|
1375
|
+
bc: "$".concat(color$1, "4"),
|
1376
|
+
color: "$".concat(color$1, "11"),
|
1377
|
+
"&:hover": { bc: "$".concat(color$1, "5") },
|
1378
|
+
"&:active": { bc: "$".concat(color$1, "6") },
|
1363
1379
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
1364
|
-
bc: "$".concat(color$1, "
|
1380
|
+
bc: "$".concat(color$1, "4"),
|
1365
1381
|
boxShadow: "inset 0 0 0 1px $colors$".concat(color$1, "8"),
|
1366
1382
|
},
|
1367
1383
|
};
|
@@ -1369,8 +1385,6 @@ for (var _i$1 = 0, naturalPairingsKeys_1$1 = naturalPairingsKeys; _i$1 < natural
|
|
1369
1385
|
variant: color$1,
|
1370
1386
|
ghost: "true",
|
1371
1387
|
css: {
|
1372
|
-
color: "$".concat(color$1, "9"),
|
1373
|
-
fontWeight: 600,
|
1374
1388
|
bc: "transparent",
|
1375
1389
|
"&:hover": {
|
1376
1390
|
bc: "$".concat(color$1, "3"),
|
@@ -1408,8 +1422,9 @@ var Button = styled("button", {
|
|
1408
1422
|
height: "$5",
|
1409
1423
|
fontFamily: "$body",
|
1410
1424
|
fontSize: "$2",
|
1411
|
-
fontWeight:
|
1425
|
+
fontWeight: 600,
|
1412
1426
|
ai: "center",
|
1427
|
+
cursor: "pointer",
|
1413
1428
|
px: "$3",
|
1414
1429
|
bc: "$neutral4",
|
1415
1430
|
borderRadius: "$2",
|
@@ -1422,14 +1437,14 @@ var Button = styled("button", {
|
|
1422
1437
|
variants: {
|
1423
1438
|
size: {
|
1424
1439
|
"1": {
|
1425
|
-
borderRadius: "$
|
1440
|
+
borderRadius: "$2",
|
1426
1441
|
height: "$5",
|
1427
1442
|
px: "$2",
|
1428
1443
|
fontSize: "$1",
|
1429
1444
|
lineHeight: "$sizes$5",
|
1430
1445
|
},
|
1431
1446
|
"2": {
|
1432
|
-
borderRadius: "$
|
1447
|
+
borderRadius: "$3",
|
1433
1448
|
height: "$5",
|
1434
1449
|
px: "$3",
|
1435
1450
|
py: "$3",
|
@@ -1437,36 +1452,35 @@ var Button = styled("button", {
|
|
1437
1452
|
lineHeight: "$sizes$6",
|
1438
1453
|
},
|
1439
1454
|
"3": {
|
1440
|
-
borderRadius: "$
|
1455
|
+
borderRadius: "$3",
|
1441
1456
|
height: "$6",
|
1442
1457
|
px: "$3",
|
1443
|
-
fontSize: "$
|
1458
|
+
fontSize: "$3",
|
1444
1459
|
lineHeight: "$sizes$6",
|
1445
1460
|
},
|
1446
1461
|
"4": {
|
1447
|
-
borderRadius: "$
|
1462
|
+
borderRadius: "$4",
|
1448
1463
|
height: "$7",
|
1449
1464
|
px: "$4",
|
1450
|
-
fontSize: "$
|
1465
|
+
fontSize: "$4",
|
1451
1466
|
lineHeight: "$sizes$7",
|
1452
1467
|
},
|
1453
1468
|
},
|
1454
|
-
variant: __assign({ primary: {
|
1455
|
-
bc: "$
|
1456
|
-
color: "
|
1457
|
-
"&:hover": { bc: "$
|
1458
|
-
"&:active": { bc: "$
|
1469
|
+
variant: __assign(__assign({ primary: {
|
1470
|
+
bc: "$primary4",
|
1471
|
+
color: "$primary11",
|
1472
|
+
"&:hover": { bc: "$primary5" },
|
1473
|
+
"&:active": { bc: "$primary6" },
|
1459
1474
|
"&:disabled": {
|
1460
1475
|
opacity: 0.5,
|
1461
1476
|
},
|
1462
1477
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
1463
|
-
bc: "$
|
1478
|
+
bc: "$primary4",
|
1464
1479
|
boxShadow: "inset 0 0 0 1px $colors$primary8",
|
1465
1480
|
},
|
1466
1481
|
}, neutral: {
|
1467
|
-
border: "1px solid $neutral7",
|
1468
1482
|
bc: "$neutral4",
|
1469
|
-
color: "$
|
1483
|
+
color: "$neutral11",
|
1470
1484
|
"&:hover": { bc: "$neutral5" },
|
1471
1485
|
"&:active": { bc: "$neutral6" },
|
1472
1486
|
"&:disabled": {
|
@@ -1476,7 +1490,28 @@ var Button = styled("button", {
|
|
1476
1490
|
bc: "$neutral4",
|
1477
1491
|
boxShadow: "inset 0 0 0 1px $colors$primary8",
|
1478
1492
|
},
|
1479
|
-
} }, colorVariants$1),
|
1493
|
+
} }, colorVariants$1), { transparentWhite: {
|
1494
|
+
bc: "hsla(0,100%,100%,.2)",
|
1495
|
+
color: "white",
|
1496
|
+
"&:hover": {
|
1497
|
+
bc: "hsla(0,100%,100%,.25)",
|
1498
|
+
},
|
1499
|
+
"&:active": {
|
1500
|
+
bc: "hsla(0,100%,100%,.3)",
|
1501
|
+
},
|
1502
|
+
"&:disabled": {
|
1503
|
+
opacity: 0.5,
|
1504
|
+
},
|
1505
|
+
}, transparentBlack: {
|
1506
|
+
bc: "hsla(0,0%,0%,.2)",
|
1507
|
+
color: "black",
|
1508
|
+
"&:hover": {
|
1509
|
+
bc: "hsla(0,0%,0%,.25)",
|
1510
|
+
},
|
1511
|
+
"&:active": {
|
1512
|
+
bc: "hsla(0,0%,0%,.3)",
|
1513
|
+
},
|
1514
|
+
} }),
|
1480
1515
|
ghost: {
|
1481
1516
|
true: {
|
1482
1517
|
bc: "transparent",
|
@@ -1490,8 +1525,6 @@ var Button = styled("button", {
|
|
1490
1525
|
ghost: "true",
|
1491
1526
|
css: {
|
1492
1527
|
bc: "transparent",
|
1493
|
-
color: "$primary9",
|
1494
|
-
fontWeight: 600,
|
1495
1528
|
"&:hover": {
|
1496
1529
|
bc: "$primary3",
|
1497
1530
|
boxShadow: "none",
|
@@ -1509,10 +1542,8 @@ var Button = styled("button", {
|
|
1509
1542
|
variant: "neutral",
|
1510
1543
|
ghost: "true",
|
1511
1544
|
css: {
|
1512
|
-
border: "none",
|
1513
1545
|
bc: "transparent",
|
1514
|
-
color: "$
|
1515
|
-
fontWeight: 600,
|
1546
|
+
color: "$neutral11",
|
1516
1547
|
"&:hover": {
|
1517
1548
|
bc: "$neutral3",
|
1518
1549
|
boxShadow: "none",
|
@@ -1644,11 +1675,11 @@ var StyledCheckbox = styled(CheckboxPrimitive.Root, {
|
|
1644
1675
|
padding: "0",
|
1645
1676
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
1646
1677
|
color: "$hiContrast",
|
1647
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
1678
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
1648
1679
|
overflow: "hidden",
|
1649
1680
|
"@hover": {
|
1650
1681
|
"&:hover": {
|
1651
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
1682
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8",
|
1652
1683
|
},
|
1653
1684
|
},
|
1654
1685
|
"&:focus": {
|
@@ -1694,8 +1725,8 @@ var Code = styled("code", {
|
|
1694
1725
|
variants: {
|
1695
1726
|
variant: {
|
1696
1727
|
gray: {
|
1697
|
-
backgroundColor: "$
|
1698
|
-
color: "$
|
1728
|
+
backgroundColor: "$slate3",
|
1729
|
+
color: "$slate11",
|
1699
1730
|
},
|
1700
1731
|
violet: {
|
1701
1732
|
backgroundColor: "$violet3",
|
@@ -1867,11 +1898,11 @@ var itemCss = css(baseItemCss, {
|
|
1867
1898
|
color: "white",
|
1868
1899
|
},
|
1869
1900
|
"&[data-disabled]": {
|
1870
|
-
color: "$
|
1901
|
+
color: "$slate9",
|
1871
1902
|
},
|
1872
1903
|
});
|
1873
1904
|
var labelCss = css(baseItemCss, {
|
1874
|
-
color: "$
|
1905
|
+
color: "$slate11",
|
1875
1906
|
});
|
1876
1907
|
var menuCss = css({
|
1877
1908
|
boxSizing: "border-box",
|
@@ -1881,7 +1912,7 @@ var menuCss = css({
|
|
1881
1912
|
var separatorCss = css({
|
1882
1913
|
height: 1,
|
1883
1914
|
my: "$1",
|
1884
|
-
backgroundColor: "$
|
1915
|
+
backgroundColor: "$slate6",
|
1885
1916
|
});
|
1886
1917
|
var Menu = styled(MenuPrimitive.Root, menuCss);
|
1887
1918
|
styled(MenuPrimitive.Content, panelStyles);
|
@@ -2135,7 +2166,7 @@ var TextField = StyledTextField;
|
|
2135
2166
|
var SelectWrapper = styled("div", {
|
2136
2167
|
backgroundColor: "$loContrast",
|
2137
2168
|
borderRadius: "$2",
|
2138
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2169
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2139
2170
|
color: "$hiContrast",
|
2140
2171
|
fontFamily: "$untitled",
|
2141
2172
|
fontSize: "$1",
|
@@ -2192,37 +2223,37 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2192
2223
|
},
|
2193
2224
|
_a$6["& ".concat(Button)] = {
|
2194
2225
|
borderRadius: 0,
|
2195
|
-
boxShadow: "inset 0 1px $colors$
|
2226
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2196
2227
|
"&:hover": {
|
2197
|
-
boxShadow: "-1px 0 $colors$
|
2228
|
+
boxShadow: "-1px 0 $colors$slate8, inset 0 1px $colors$slate8, inset -1px 0 $colors$slate8, inset 0 -1px $colors$slate8",
|
2198
2229
|
},
|
2199
2230
|
"&:focus": {
|
2200
2231
|
zIndex: 1,
|
2201
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2232
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
2202
2233
|
},
|
2203
2234
|
"&:first-child": {
|
2204
2235
|
borderTopLeftRadius: "$1",
|
2205
2236
|
borderBottomLeftRadius: "$1",
|
2206
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2237
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2207
2238
|
"&:hover": {
|
2208
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2239
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8",
|
2209
2240
|
},
|
2210
2241
|
"&:focus": {
|
2211
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2242
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
2212
2243
|
},
|
2213
2244
|
},
|
2214
2245
|
"&:last-child": {
|
2215
2246
|
borderTopRightRadius: "$1",
|
2216
2247
|
borderBottomRightRadius: "$1",
|
2217
|
-
boxShadow: "inset 0 1px $colors$
|
2248
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2218
2249
|
"&:focus": {
|
2219
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2250
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
2220
2251
|
},
|
2221
2252
|
},
|
2222
2253
|
},
|
2223
2254
|
_a$6["& ".concat(TextField)] = {
|
2224
2255
|
borderRadius: 0,
|
2225
|
-
boxShadow: "inset 0 1px $colors$
|
2256
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2226
2257
|
"&:focus": {
|
2227
2258
|
zIndex: 1,
|
2228
2259
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
@@ -2230,7 +2261,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2230
2261
|
"&:first-child": {
|
2231
2262
|
borderTopLeftRadius: "$1",
|
2232
2263
|
borderBottomLeftRadius: "$1",
|
2233
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2264
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2234
2265
|
"&:focus": {
|
2235
2266
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2236
2267
|
},
|
@@ -2238,7 +2269,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2238
2269
|
"&:last-child": {
|
2239
2270
|
borderTopRightRadius: "$1",
|
2240
2271
|
borderBottomRightRadius: "$1",
|
2241
|
-
boxShadow: "inset 0 1px $colors$
|
2272
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2242
2273
|
"&:focus": {
|
2243
2274
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2244
2275
|
},
|
@@ -2246,14 +2277,14 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2246
2277
|
},
|
2247
2278
|
_a$6["& ".concat(Select)] = {
|
2248
2279
|
borderRadius: 0,
|
2249
|
-
boxShadow: "inset 0 1px $colors$
|
2280
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2250
2281
|
"&:focus-within": {
|
2251
2282
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2252
2283
|
},
|
2253
2284
|
"&:first-child": {
|
2254
2285
|
borderTopLeftRadius: "$1",
|
2255
2286
|
borderBottomLeftRadius: "$1",
|
2256
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2287
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2257
2288
|
"&:focus-within": {
|
2258
2289
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2259
2290
|
},
|
@@ -2261,7 +2292,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2261
2292
|
"&:last-child": {
|
2262
2293
|
borderTopRightRadius: "$1",
|
2263
2294
|
borderBottomRightRadius: "$1",
|
2264
|
-
boxShadow: "inset 0 1px $colors$
|
2295
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2265
2296
|
"&:focus-within": {
|
2266
2297
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2267
2298
|
},
|
@@ -2298,23 +2329,23 @@ var IconButton = styled("button", {
|
|
2298
2329
|
boxSizing: "border-box",
|
2299
2330
|
},
|
2300
2331
|
backgroundColor: "$loContrast",
|
2301
|
-
border: "1px solid $
|
2332
|
+
border: "1px solid $slate7",
|
2302
2333
|
"@hover": {
|
2303
2334
|
"&:hover": {
|
2304
|
-
borderColor: "$
|
2335
|
+
borderColor: "$slate8",
|
2305
2336
|
},
|
2306
2337
|
},
|
2307
2338
|
"&:active": {
|
2308
|
-
backgroundColor: "$
|
2339
|
+
backgroundColor: "$slate2",
|
2309
2340
|
},
|
2310
2341
|
"&:focus": {
|
2311
|
-
borderColor: "$
|
2312
|
-
boxShadow: "0 0 0 1px $colors$
|
2342
|
+
borderColor: "$slate8",
|
2343
|
+
boxShadow: "0 0 0 1px $colors$slate8",
|
2313
2344
|
},
|
2314
2345
|
"&:disabled": {
|
2315
2346
|
pointerEvents: "none",
|
2316
2347
|
backgroundColor: "transparent",
|
2317
|
-
color: "$
|
2348
|
+
color: "$slate6",
|
2318
2349
|
},
|
2319
2350
|
variants: {
|
2320
2351
|
size: {
|
@@ -2345,17 +2376,17 @@ var IconButton = styled("button", {
|
|
2345
2376
|
borderWidth: "0",
|
2346
2377
|
"@hover": {
|
2347
2378
|
"&:hover": {
|
2348
|
-
backgroundColor: "$
|
2379
|
+
backgroundColor: "$slateA3",
|
2349
2380
|
},
|
2350
2381
|
},
|
2351
2382
|
"&:focus": {
|
2352
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2383
|
+
boxShadow: "inset 0 0 0 1px $colors$slateA8, 0 0 0 1px $colors$slateA8",
|
2353
2384
|
},
|
2354
2385
|
"&:active": {
|
2355
|
-
backgroundColor: "$
|
2386
|
+
backgroundColor: "$slateA4",
|
2356
2387
|
},
|
2357
2388
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
2358
|
-
backgroundColor: "$
|
2389
|
+
backgroundColor: "$slateA4",
|
2359
2390
|
},
|
2360
2391
|
},
|
2361
2392
|
raised: {
|
@@ -2366,17 +2397,17 @@ var IconButton = styled("button", {
|
|
2366
2397
|
},
|
2367
2398
|
},
|
2368
2399
|
"&:focus": {
|
2369
|
-
borderColor: "$
|
2370
|
-
boxShadow: "0 0 0 1px $colors$
|
2400
|
+
borderColor: "$slate8",
|
2401
|
+
boxShadow: "0 0 0 1px $colors$slate8, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)",
|
2371
2402
|
},
|
2372
2403
|
"&:active": {
|
2373
|
-
backgroundColor: "$
|
2404
|
+
backgroundColor: "$slate4",
|
2374
2405
|
},
|
2375
2406
|
},
|
2376
2407
|
},
|
2377
2408
|
state: {
|
2378
2409
|
active: {
|
2379
|
-
backgroundColor: "$
|
2410
|
+
backgroundColor: "$slate4",
|
2380
2411
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
2381
2412
|
"@hover": {
|
2382
2413
|
"&:hover": {
|
@@ -2384,11 +2415,11 @@ var IconButton = styled("button", {
|
|
2384
2415
|
},
|
2385
2416
|
},
|
2386
2417
|
"&:active": {
|
2387
|
-
backgroundColor: "$
|
2418
|
+
backgroundColor: "$slate4",
|
2388
2419
|
},
|
2389
2420
|
},
|
2390
2421
|
waiting: {
|
2391
|
-
backgroundColor: "$
|
2422
|
+
backgroundColor: "$slate4",
|
2392
2423
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
2393
2424
|
"@hover": {
|
2394
2425
|
"&:hover": {
|
@@ -2396,7 +2427,7 @@ var IconButton = styled("button", {
|
|
2396
2427
|
},
|
2397
2428
|
},
|
2398
2429
|
"&:active": {
|
2399
|
-
backgroundColor: "$
|
2430
|
+
backgroundColor: "$slate4",
|
2400
2431
|
},
|
2401
2432
|
},
|
2402
2433
|
},
|
@@ -2426,8 +2457,8 @@ var StyledOverlay$1 = styled(DialogPrimitive.Overlay, overlayStyles, {
|
|
2426
2457
|
bottom: 0,
|
2427
2458
|
left: 0,
|
2428
2459
|
backgroundColor: "rgba(0,0,0,.35)",
|
2460
|
+
backdropFilter: "blur(5px)",
|
2429
2461
|
inset: 0,
|
2430
|
-
zIndex: 1000,
|
2431
2462
|
variants: {
|
2432
2463
|
animation: {
|
2433
2464
|
true: {
|
@@ -2459,7 +2490,6 @@ var StyledDialogContent = styled(DialogPrimitive.Content, panelStyles, {
|
|
2459
2490
|
borderRadius: "$4",
|
2460
2491
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
2461
2492
|
color: "$black",
|
2462
|
-
zIndex: 1001,
|
2463
2493
|
"&:focus": {
|
2464
2494
|
outline: "none",
|
2465
2495
|
},
|
@@ -2489,12 +2519,13 @@ var StyledCloseButton$1 = styled(DialogPrimitive.Close, {
|
|
2489
2519
|
position: "absolute",
|
2490
2520
|
top: "$2",
|
2491
2521
|
right: "$2",
|
2522
|
+
cursor: "pointer"
|
2492
2523
|
});
|
2493
2524
|
var DialogContent = React.forwardRef(function (_a, forwardedRef) {
|
2494
2525
|
var children = _a.children; _a.animation; var props = __rest(_a, ["children", "animation"]);
|
2495
2526
|
return (React.createElement(DialogPrimitive.Portal, null,
|
2496
2527
|
React.createElement(StyledOverlay$1, null),
|
2497
|
-
React.createElement(StyledDialogContent, __assign({}, props, { ref: forwardedRef
|
2528
|
+
React.createElement(StyledDialogContent, __assign({}, props, { ref: forwardedRef }),
|
2498
2529
|
children,
|
2499
2530
|
React.createElement(StyledCloseButton$1, { asChild: true },
|
2500
2531
|
React.createElement(IconButton, { variant: "ghost" },
|
@@ -2512,7 +2543,7 @@ for (var _i = 0, naturalPairingsKeys_1 = naturalPairingsKeys; _i < naturalPairin
|
|
2512
2543
|
colorVariants[color] = {
|
2513
2544
|
"&:focus": {
|
2514
2545
|
outline: "none",
|
2515
|
-
backgroundColor: "$
|
2546
|
+
backgroundColor: "$".concat(color, "4"),
|
2516
2547
|
color: "$hiContrast",
|
2517
2548
|
},
|
2518
2549
|
};
|
@@ -2560,9 +2591,6 @@ var DropdownMenuRadioItemBase = React.forwardRef(function (_a, forwardedRef) {
|
|
2560
2591
|
});
|
2561
2592
|
DropdownMenuRadioItemBase.displayName = "DropdownMenuRadioItemBase";
|
2562
2593
|
var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
2563
|
-
"&:focus": {
|
2564
|
-
backgroundColor: "$neutral4",
|
2565
|
-
},
|
2566
2594
|
variants: {
|
2567
2595
|
color: __assign({ primary: {
|
2568
2596
|
"&:focus": {
|
@@ -2572,6 +2600,9 @@ var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
2572
2600
|
},
|
2573
2601
|
} }, colorVariants),
|
2574
2602
|
},
|
2603
|
+
defaultVariants: {
|
2604
|
+
color: "primary",
|
2605
|
+
},
|
2575
2606
|
});
|
2576
2607
|
var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
2577
2608
|
variants: {
|
@@ -2588,7 +2619,6 @@ var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
2588
2619
|
},
|
2589
2620
|
});
|
2590
2621
|
var DropdownMenuCheckboxItem = styled(DropdownMenuCheckboxItemBase, {
|
2591
|
-
backgroundColor: "$neutral4",
|
2592
2622
|
variants: {
|
2593
2623
|
color: __assign({ primary: {
|
2594
2624
|
"&:focus": {
|
@@ -2850,7 +2880,7 @@ var Text = styled("span", {
|
|
2850
2880
|
color: "$bronze11",
|
2851
2881
|
},
|
2852
2882
|
gray: {
|
2853
|
-
color: "$
|
2883
|
+
color: "$slate11",
|
2854
2884
|
},
|
2855
2885
|
primary: {
|
2856
2886
|
color: "$primary11",
|
@@ -3035,7 +3065,7 @@ var Kbd = styled("kbd", {
|
|
3035
3065
|
userSelect: "none",
|
3036
3066
|
cursor: "default",
|
3037
3067
|
whiteSpace: "nowrap",
|
3038
|
-
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$
|
3068
|
+
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$slate2,\n 0px 0px 0px 0.5px $colors$slate8,\n 0px 2px 1px -1px $colors$slate8,\n 0 1px $colors$slate8",
|
3039
3069
|
textShadow: "0 0 1px rgba(255, 255, 255, 0.5)",
|
3040
3070
|
fontFamily: "inherit",
|
3041
3071
|
fontWeight: 400,
|
@@ -3196,7 +3226,7 @@ var Paragraph = React.forwardRef(function (props, forwardedRef) {
|
|
3196
3226
|
var textCss = {
|
3197
3227
|
1: { lineHeight: "25px", "@bp2": { lineHeight: "27px" } },
|
3198
3228
|
2: {
|
3199
|
-
color: "$
|
3229
|
+
color: "$slate11",
|
3200
3230
|
lineHeight: "27px",
|
3201
3231
|
"@bp2": { lineHeight: "30px" },
|
3202
3232
|
},
|
@@ -3247,13 +3277,13 @@ var StyledProgressBar = styled(ProgressPrimitive.Root, {
|
|
3247
3277
|
overflow: "hidden",
|
3248
3278
|
borderRadius: "$pill",
|
3249
3279
|
'&[data-state="indeterminate"]': {
|
3250
|
-
backgroundColor: "$
|
3280
|
+
backgroundColor: "$slate4",
|
3251
3281
|
"&::after": {
|
3252
3282
|
animationName: indeterminateProgress,
|
3253
3283
|
animationDuration: "1500ms",
|
3254
3284
|
animationIterationCount: "infinite",
|
3255
3285
|
animationTimingFunction: "cubic-bezier(0.65, 0, 0.35, 1)",
|
3256
|
-
backgroundColor: "$
|
3286
|
+
backgroundColor: "$slate7",
|
3257
3287
|
boxSizing: "border-box",
|
3258
3288
|
borderRadius: "$pill",
|
3259
3289
|
content: '""',
|
@@ -3267,7 +3297,7 @@ var StyledProgressBar = styled(ProgressPrimitive.Root, {
|
|
3267
3297
|
variants: {
|
3268
3298
|
variant: {
|
3269
3299
|
gray: {
|
3270
|
-
background: "$
|
3300
|
+
background: "$slate8",
|
3271
3301
|
},
|
3272
3302
|
blue: {
|
3273
3303
|
backgroundColor: "$blue9",
|
@@ -3289,7 +3319,7 @@ var ProgressBarIndicator = styled(ProgressPrimitive.Indicator, {
|
|
3289
3319
|
bottom: 0,
|
3290
3320
|
left: 0,
|
3291
3321
|
width: "100%",
|
3292
|
-
backgroundColor: "$
|
3322
|
+
backgroundColor: "$slate4",
|
3293
3323
|
transition: "transform 150ms cubic-bezier(0.65, 0, 0.35, 1)",
|
3294
3324
|
});
|
3295
3325
|
var ProgressBar = React.forwardRef(function (_a, forwardedRef) {
|
@@ -3453,11 +3483,11 @@ var StyledRadio$1 = styled(RadioGroupPrimitive.Item, {
|
|
3453
3483
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
3454
3484
|
borderRadius: "50%",
|
3455
3485
|
color: "$hiContrast",
|
3456
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
3486
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
3457
3487
|
overflow: "hidden",
|
3458
3488
|
"@hover": {
|
3459
3489
|
"&:hover": {
|
3460
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
3490
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8",
|
3461
3491
|
},
|
3462
3492
|
},
|
3463
3493
|
"&:focus": {
|
@@ -3582,7 +3612,7 @@ var Separator = styled(SeparatorPrimitive.Root, {
|
|
3582
3612
|
border: "none",
|
3583
3613
|
margin: 0,
|
3584
3614
|
flexShrink: 0,
|
3585
|
-
backgroundColor: "$
|
3615
|
+
backgroundColor: "$slate6",
|
3586
3616
|
cursor: "default",
|
3587
3617
|
variants: {
|
3588
3618
|
size: {
|
@@ -3741,25 +3771,25 @@ var SimpleToggle = styled(TogglePrimitive.Root, {
|
|
3741
3771
|
backgroundColor: "transparent",
|
3742
3772
|
"@hover": {
|
3743
3773
|
"&:hover": {
|
3744
|
-
backgroundColor: "$
|
3774
|
+
backgroundColor: "$slateA3",
|
3745
3775
|
},
|
3746
3776
|
},
|
3747
3777
|
"&:active": {
|
3748
|
-
backgroundColor: "$
|
3778
|
+
backgroundColor: "$slateA4",
|
3749
3779
|
},
|
3750
3780
|
"&:focus": {
|
3751
|
-
boxShadow: "inset 0 0 0 1px $
|
3781
|
+
boxShadow: "inset 0 0 0 1px $slateA8, 0 0 0 1px $slateA8",
|
3752
3782
|
zIndex: 1,
|
3753
3783
|
},
|
3754
3784
|
'&[data-state="on"]': {
|
3755
|
-
backgroundColor: "$
|
3785
|
+
backgroundColor: "$slateA5",
|
3756
3786
|
"@hover": {
|
3757
3787
|
"&:hover": {
|
3758
|
-
backgroundColor: "$
|
3788
|
+
backgroundColor: "$slateA5",
|
3759
3789
|
},
|
3760
3790
|
},
|
3761
3791
|
"&:active": {
|
3762
|
-
backgroundColor: "$
|
3792
|
+
backgroundColor: "$slateA7",
|
3763
3793
|
},
|
3764
3794
|
},
|
3765
3795
|
variants: {
|
@@ -3779,7 +3809,7 @@ var pulse = keyframes({
|
|
3779
3809
|
"100%": { opacity: "100%" },
|
3780
3810
|
});
|
3781
3811
|
var Skeleton = styled("div", {
|
3782
|
-
backgroundColor: "$
|
3812
|
+
backgroundColor: "$slate4",
|
3783
3813
|
position: "relative",
|
3784
3814
|
overflow: "hidden",
|
3785
3815
|
"&::after": {
|
@@ -3788,7 +3818,7 @@ var Skeleton = styled("div", {
|
|
3788
3818
|
animationDirection: "alternate",
|
3789
3819
|
animationIterationCount: "infinite",
|
3790
3820
|
animationTimingFunction: "ease-in-out",
|
3791
|
-
backgroundColor: "$
|
3821
|
+
backgroundColor: "$slate6",
|
3792
3822
|
borderRadius: "inherit",
|
3793
3823
|
bottom: 0,
|
3794
3824
|
content: '""',
|
@@ -3854,7 +3884,7 @@ var _a$2;
|
|
3854
3884
|
var SliderTrack = styled(SliderPrimitive.Track, {
|
3855
3885
|
position: "relative",
|
3856
3886
|
flexGrow: 1,
|
3857
|
-
backgroundColor: "$
|
3887
|
+
backgroundColor: "$slate7",
|
3858
3888
|
borderRadius: "$pill",
|
3859
3889
|
'&[data-orientation="horizontal"]': {
|
3860
3890
|
height: 2,
|
@@ -3920,7 +3950,7 @@ var StyledSlider = styled(SliderPrimitive.Root, {
|
|
3920
3950
|
"@hover": {
|
3921
3951
|
"&:hover": (_a$2 = {},
|
3922
3952
|
_a$2["& ".concat(SliderTrack)] = {
|
3923
|
-
backgroundColor: "$
|
3953
|
+
backgroundColor: "$slate8",
|
3924
3954
|
},
|
3925
3955
|
_a$2["& ".concat(SliderThumb)] = {
|
3926
3956
|
opacity: "1",
|
@@ -4123,7 +4153,7 @@ var SnackbarProvider = function (_a) {
|
|
4123
4153
|
minWidth: "334px",
|
4124
4154
|
maxWidth: "672px",
|
4125
4155
|
zIndex: 1000000,
|
4126
|
-
backgroundColor: "$
|
4156
|
+
backgroundColor: "$panel",
|
4127
4157
|
boxShadow: "0 3px 5px -1px rgba(0, 0, 0, 0.2), 0 6px 10px 0 rgba(0, 0, 0, 0.14), 0 1px 18px 0 rgba(0, 0, 0, 0.12)",
|
4128
4158
|
WebkitFontSmoothing: "antialiased",
|
4129
4159
|
MozOsxFontSmoothing: "grayscale",
|
@@ -4152,6 +4182,7 @@ var SnackbarProvider = function (_a) {
|
|
4152
4182
|
height: "36px",
|
4153
4183
|
padding: "8px",
|
4154
4184
|
margin: "0 8px 0 0",
|
4185
|
+
cursor: "pointer",
|
4155
4186
|
position: "relative",
|
4156
4187
|
pointerEvents: "auto",
|
4157
4188
|
WebkitTapHighlightColor: "transparent",
|
@@ -4249,11 +4280,11 @@ var StyledSwitch = styled(SwitchPrimitive.Root, {
|
|
4249
4280
|
margin: "0",
|
4250
4281
|
outline: "none",
|
4251
4282
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
4252
|
-
backgroundColor: "$
|
4283
|
+
backgroundColor: "$slate5",
|
4253
4284
|
borderRadius: "$pill",
|
4254
4285
|
position: "relative",
|
4255
4286
|
"&:focus": {
|
4256
|
-
boxShadow: "0 0 0 2px $colors$
|
4287
|
+
boxShadow: "0 0 0 2px $colors$slate8",
|
4257
4288
|
},
|
4258
4289
|
'&[data-state="checked"]': {
|
4259
4290
|
backgroundColor: "$blue9",
|
@@ -4415,7 +4446,7 @@ var TabLink = styled("a", {
|
|
4415
4446
|
outline: "none",
|
4416
4447
|
alignItems: "center",
|
4417
4448
|
justifyContent: "center",
|
4418
|
-
color: "$
|
4449
|
+
color: "$slate11",
|
4419
4450
|
textDecoration: "none",
|
4420
4451
|
"@hover": {
|
4421
4452
|
"&:hover": {
|
@@ -4423,7 +4454,7 @@ var TabLink = styled("a", {
|
|
4423
4454
|
},
|
4424
4455
|
},
|
4425
4456
|
"&:focus": {
|
4426
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
4457
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
4427
4458
|
},
|
4428
4459
|
variants: {
|
4429
4460
|
active: {
|
@@ -4461,7 +4492,7 @@ var TabsTriggerBase = styled(TabsPrimitive.Trigger, {
|
|
4461
4492
|
outline: "none",
|
4462
4493
|
alignItems: "center",
|
4463
4494
|
justifyContent: "center",
|
4464
|
-
color: "$
|
4495
|
+
color: "$slate11",
|
4465
4496
|
border: "1px solid transparent",
|
4466
4497
|
borderTopLeftRadius: "$2",
|
4467
4498
|
borderTopRightRadius: "$2",
|
@@ -4473,7 +4504,7 @@ var TabsTriggerBase = styled(TabsPrimitive.Trigger, {
|
|
4473
4504
|
},
|
4474
4505
|
'&[data-state="active"]': {
|
4475
4506
|
color: "$hiContrast",
|
4476
|
-
borderColor: "$
|
4507
|
+
borderColor: "$slate6",
|
4477
4508
|
borderBottomColor: "transparent",
|
4478
4509
|
},
|
4479
4510
|
'&[data-orientation="vertical"]': {
|
@@ -4482,7 +4513,7 @@ var TabsTriggerBase = styled(TabsPrimitive.Trigger, {
|
|
4482
4513
|
borderBottomLeftRadius: "$2",
|
4483
4514
|
borderBottomColor: "transparent",
|
4484
4515
|
'&[data-state="active"]': {
|
4485
|
-
borderBottomColor: "$
|
4516
|
+
borderBottomColor: "$slate6",
|
4486
4517
|
borderRightColor: "transparent",
|
4487
4518
|
},
|
4488
4519
|
},
|
@@ -4492,11 +4523,11 @@ var StyledTabsListBase = styled(TabsPrimitive.List, {
|
|
4492
4523
|
display: "flex",
|
4493
4524
|
"&:focus": {
|
4494
4525
|
outline: "none",
|
4495
|
-
boxShadow: "inset 0 0 0 1px $
|
4526
|
+
boxShadow: "inset 0 0 0 1px $slate8, 0 0 0 1px $slate8",
|
4496
4527
|
},
|
4497
4528
|
'&[data-orientation="vertical"]': {
|
4498
4529
|
flexDirection: "column",
|
4499
|
-
boxShadow: "inset -1px 0 0 $
|
4530
|
+
boxShadow: "inset -1px 0 0 $slate6",
|
4500
4531
|
},
|
4501
4532
|
});
|
4502
4533
|
var TabsListBase = React.forwardRef(function (props, forwardedRef) { return (React.createElement(React.Fragment, null,
|
@@ -4507,7 +4538,7 @@ var TabsContentBase = styled(TabsPrimitive.Content, {
|
|
4507
4538
|
flexGrow: 1,
|
4508
4539
|
"&:focus": {
|
4509
4540
|
outline: "none",
|
4510
|
-
boxShadow: "inset 0 0 0 1px $
|
4541
|
+
boxShadow: "inset 0 0 0 1px $slate8, 0 0 0 1px $slate8",
|
4511
4542
|
},
|
4512
4543
|
});
|
4513
4544
|
var TabsTrigger = styled(TabsTriggerBase, {
|
@@ -4556,7 +4587,7 @@ var TextArea = styled("textarea", {
|
|
4556
4587
|
width: "100%",
|
4557
4588
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
4558
4589
|
backgroundColor: "$loContrast",
|
4559
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
4590
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
4560
4591
|
color: "$hiContrast",
|
4561
4592
|
fontVariantNumeric: "tabular-nums",
|
4562
4593
|
position: "relative",
|
@@ -4567,22 +4598,22 @@ var TextArea = styled("textarea", {
|
|
4567
4598
|
zIndex: "1",
|
4568
4599
|
},
|
4569
4600
|
"&::placeholder": {
|
4570
|
-
color: "$
|
4601
|
+
color: "$slate9",
|
4571
4602
|
},
|
4572
4603
|
"&:disabled": {
|
4573
4604
|
pointerEvents: "none",
|
4574
|
-
backgroundColor: "$
|
4575
|
-
color: "$
|
4605
|
+
backgroundColor: "$slate2",
|
4606
|
+
color: "$slate8",
|
4576
4607
|
cursor: "not-allowed",
|
4577
4608
|
resize: "none",
|
4578
4609
|
"&::placeholder": {
|
4579
|
-
color: "$
|
4610
|
+
color: "$slate7",
|
4580
4611
|
},
|
4581
4612
|
},
|
4582
4613
|
"&:read-only": {
|
4583
|
-
backgroundColor: "$
|
4614
|
+
backgroundColor: "$slate2",
|
4584
4615
|
"&:focus": {
|
4585
|
-
boxShadow: "inset 0px 0px 0px 1px $colors$
|
4616
|
+
boxShadow: "inset 0px 0px 0px 1px $colors$slate7",
|
4586
4617
|
},
|
4587
4618
|
},
|
4588
4619
|
variants: {
|
@@ -4696,12 +4727,12 @@ var TreeItem = styled("div", {
|
|
4696
4727
|
variants: {
|
4697
4728
|
variant: {
|
4698
4729
|
gray: {
|
4699
|
-
backgroundColor: "$
|
4730
|
+
backgroundColor: "$slate3",
|
4700
4731
|
"&:hover": {
|
4701
|
-
backgroundColor: "$
|
4732
|
+
backgroundColor: "$slate4",
|
4702
4733
|
},
|
4703
4734
|
"&:active": {
|
4704
|
-
backgroundColor: "$
|
4735
|
+
backgroundColor: "$slate5",
|
4705
4736
|
},
|
4706
4737
|
},
|
4707
4738
|
red: {
|