@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.js
CHANGED
@@ -83,8 +83,8 @@ var styled = (_a$8 = react.createStitches({
|
|
83
83
|
theme: {
|
84
84
|
colors: tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign({}, colors.gray), colors.mauve), colors.slate), colors.sage), colors.olive), colors.sand), colors.tomato), colors.red), colors.crimson), colors.pink), colors.plum), colors.purple), colors.violet), colors.indigo), colors.blue), colors.sky), colors.mint), colors.cyan), colors.teal), colors.green), colors.grass), colors.lime), colors.yellow), colors.amber), colors.orange), colors.brown), colors.bronze), colors.gold), colors.whiteA), colors.blackA), {
|
85
85
|
// Semantic colors
|
86
|
-
hiContrast: "$
|
87
|
-
// loContrast: '$
|
86
|
+
hiContrast: "$slate12",
|
87
|
+
// loContrast: '$slate1',
|
88
88
|
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%)" }),
|
89
89
|
fonts: {
|
90
90
|
untitled: "Untitled Sans, -apple-system, system-ui, sans-serif",
|
@@ -112,6 +112,28 @@ var styled = (_a$8 = react.createStitches({
|
|
112
112
|
8: "65px",
|
113
113
|
9: "80px",
|
114
114
|
},
|
115
|
+
// space: {
|
116
|
+
// 1: '4px',
|
117
|
+
// 2: '8px',
|
118
|
+
// 3: '16px',
|
119
|
+
// 4: '20px',
|
120
|
+
// 5: '24px',
|
121
|
+
// 6: '32px',
|
122
|
+
// 7: '48px',
|
123
|
+
// 8: '64px',
|
124
|
+
// 9: '80px',
|
125
|
+
// },
|
126
|
+
// sizes: {
|
127
|
+
// 1: '4px',
|
128
|
+
// 2: '8px',
|
129
|
+
// 3: '16px',
|
130
|
+
// 4: '20px',
|
131
|
+
// 5: '24px',
|
132
|
+
// 6: '32px',
|
133
|
+
// 7: '48px',
|
134
|
+
// 8: '64px',
|
135
|
+
// 9: '80px',
|
136
|
+
// },
|
115
137
|
fontSizes: {
|
116
138
|
1: "12px",
|
117
139
|
2: "13px",
|
@@ -123,6 +145,17 @@ var styled = (_a$8 = react.createStitches({
|
|
123
145
|
8: "35px",
|
124
146
|
9: "59px",
|
125
147
|
},
|
148
|
+
// fontSizes: {
|
149
|
+
// 1: '11px',
|
150
|
+
// 2: '12px',
|
151
|
+
// 3: '15px',
|
152
|
+
// 4: '17px',
|
153
|
+
// 5: '20px',
|
154
|
+
// 6: '22px',
|
155
|
+
// 7: '28px',
|
156
|
+
// 8: '36px',
|
157
|
+
// 9: '60px',
|
158
|
+
// },
|
126
159
|
radii: {
|
127
160
|
1: "4px",
|
128
161
|
2: "6px",
|
@@ -268,7 +301,7 @@ var styled = (_a$8 = react.createStitches({
|
|
268
301
|
createTheme("dark-theme", {
|
269
302
|
colors: tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign({}, colors.grayDark), colors.mauveDark), colors.slateDark), colors.sageDark), colors.oliveDark), colors.sandDark), colors.tomatoDark), colors.redDark), colors.crimsonDark), colors.pinkDark), colors.plumDark), colors.purpleDark), colors.violetDark), colors.indigoDark), colors.blueDark), colors.skyDark), colors.mintDark), colors.cyanDark), colors.tealDark), colors.greenDark), colors.grassDark), colors.limeDark), colors.yellowDark), colors.amberDark), colors.orangeDark), colors.brownDark), colors.bronzeDark), colors.goldDark), {
|
270
303
|
// Semantic colors
|
271
|
-
hiContrast: "$
|
304
|
+
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%)" }),
|
272
305
|
});
|
273
306
|
var lightThemeColors = tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign({}, colors.gray), colors.mauve), colors.slate), colors.sage), colors.olive), colors.sand), colors.tomato), colors.red), colors.crimson), colors.pink), colors.plum), colors.purple), colors.violet), colors.indigo), colors.blue), colors.sky), colors.mint), colors.cyan), colors.teal), colors.green), colors.grass), colors.lime), colors.yellow), colors.amber), colors.orange), colors.brown), colors.bronze), colors.gold), colors.whiteA), colors.blackA);
|
274
307
|
var darkThemeColors = tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign(tslib.__assign({}, colors.grayDark), colors.mauveDark), colors.slateDark), colors.sageDark), colors.oliveDark), colors.sandDark), colors.tomatoDark), colors.redDark), colors.crimsonDark), colors.pinkDark), colors.plumDark), colors.purpleDark), colors.violetDark), colors.indigoDark), colors.blueDark), colors.skyDark), colors.mintDark), colors.cyanDark), colors.tealDark), colors.greenDark), colors.grassDark), colors.limeDark), colors.yellowDark), colors.amberDark), colors.orangeDark), colors.brownDark), colors.bronzeDark), colors.goldDark), colors.whiteA), colors.blackA);
|
@@ -340,7 +373,7 @@ var getThemes = function () {
|
|
340
373
|
|
341
374
|
var StyledAccordion = styled(AccordionPrimitive__namespace.Root, {
|
342
375
|
boxShadow: "0 0 0 1px $colors$neutral6",
|
343
|
-
borderRadius: "$
|
376
|
+
borderRadius: "$1",
|
344
377
|
});
|
345
378
|
var Accordion = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
346
379
|
var children = _a.children, props = tslib.__rest(_a, ["children"]);
|
@@ -348,27 +381,9 @@ var Accordion = React__default["default"].forwardRef(function (_a, forwardedRef)
|
|
348
381
|
});
|
349
382
|
Accordion.displayName = "Accordion";
|
350
383
|
var StyledItem = styled(AccordionPrimitive__namespace.Item, {
|
351
|
-
borderTop: "1px solid $colors$
|
352
|
-
"button:focus": { boxShadow: "none" },
|
353
|
-
"&:first-of-type": {
|
354
|
-
borderTop: "none",
|
355
|
-
},
|
384
|
+
borderTop: "1px solid $colors$slate6",
|
356
385
|
"&:last-of-type": {
|
357
|
-
borderBottom: "
|
358
|
-
},
|
359
|
-
"&:hover": {
|
360
|
-
"&:first-of-type": {
|
361
|
-
button: {
|
362
|
-
borderTopLeftRadius: "$2",
|
363
|
-
borderTopRightRadius: "$2",
|
364
|
-
},
|
365
|
-
},
|
366
|
-
"&:last-of-type": {
|
367
|
-
button: {
|
368
|
-
borderBottomLeftRadius: "$2",
|
369
|
-
borderBottomRightRadius: "$2",
|
370
|
-
},
|
371
|
-
},
|
386
|
+
borderBottom: "1px solid $colors$slate6",
|
372
387
|
},
|
373
388
|
});
|
374
389
|
var StyledHeader = styled(AccordionPrimitive__namespace.Header, {
|
@@ -390,12 +405,15 @@ var StyledTrigger = styled(AccordionPrimitive__namespace.Trigger, {
|
|
390
405
|
p: "$2",
|
391
406
|
color: "$hiContrast",
|
392
407
|
width: "100%",
|
393
|
-
"
|
394
|
-
|
408
|
+
cursor: "pointer",
|
409
|
+
"@hover": {
|
410
|
+
"&:hover": {
|
411
|
+
backgroundColor: "$slate2",
|
412
|
+
},
|
395
413
|
},
|
396
414
|
"&:focus": {
|
397
415
|
outline: "none",
|
398
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
416
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
399
417
|
},
|
400
418
|
svg: {
|
401
419
|
transition: "transform 175ms cubic-bezier(0.65, 0, 0.35, 1)",
|
@@ -440,11 +458,11 @@ var Alert = styled("div", {
|
|
440
458
|
variant: {
|
441
459
|
loContrast: {
|
442
460
|
backgroundColor: "$loContrast",
|
443
|
-
borderColor: "$
|
461
|
+
borderColor: "$slate6",
|
444
462
|
},
|
445
463
|
gray: {
|
446
|
-
backgroundColor: "$
|
447
|
-
borderColor: "$
|
464
|
+
backgroundColor: "$slate2",
|
465
|
+
borderColor: "$slate6",
|
448
466
|
},
|
449
467
|
blue: {
|
450
468
|
backgroundColor: "$blue2",
|
@@ -498,7 +516,6 @@ var StyledOverlay$2 = styled(AlertDialogPrimitive__namespace.Overlay, overlaySty
|
|
498
516
|
left: 0,
|
499
517
|
backgroundColor: "rgba(0,0,0,.35)",
|
500
518
|
inset: 0,
|
501
|
-
zIndex: 1000,
|
502
519
|
variants: {
|
503
520
|
animation: {
|
504
521
|
true: {
|
@@ -531,7 +548,6 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
|
|
531
548
|
borderRadius: "$4",
|
532
549
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
533
550
|
color: "$black",
|
534
|
-
zIndex: 1001,
|
535
551
|
"&:focus": {
|
536
552
|
outline: "none",
|
537
553
|
},
|
@@ -556,7 +572,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
|
|
556
572
|
});
|
557
573
|
var AlertDialogContent = function (_a) {
|
558
574
|
var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = tslib.__rest(_a, ["children", "animation"]);
|
559
|
-
return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props
|
575
|
+
return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props), children));
|
560
576
|
};
|
561
577
|
var AlertDialogTitle = AlertDialogPrimitive__namespace.Title;
|
562
578
|
var AlertDialogDescription = AlertDialogPrimitive__namespace.Description;
|
@@ -585,7 +601,7 @@ var Status = styled("div", {
|
|
585
601
|
},
|
586
602
|
variant: {
|
587
603
|
gray: {
|
588
|
-
backgroundColor: "$
|
604
|
+
backgroundColor: "$slate7",
|
589
605
|
},
|
590
606
|
blue: {
|
591
607
|
backgroundColor: "$blue9",
|
@@ -669,7 +685,7 @@ var StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
|
|
669
685
|
color: "$loContrast",
|
670
686
|
},
|
671
687
|
gray: {
|
672
|
-
backgroundColor: "$
|
688
|
+
backgroundColor: "$slate5",
|
673
689
|
},
|
674
690
|
tomato: {
|
675
691
|
backgroundColor: "$tomato5",
|
@@ -873,9 +889,9 @@ var Badge = styled("span", {
|
|
873
889
|
userSelect: "none",
|
874
890
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
875
891
|
"&:disabled": {
|
876
|
-
backgroundColor: "$
|
892
|
+
backgroundColor: "$slate3",
|
877
893
|
pointerEvents: "none",
|
878
|
-
color: "$
|
894
|
+
color: "$slate8",
|
879
895
|
},
|
880
896
|
"&::before": {
|
881
897
|
boxSizing: "border-box",
|
@@ -886,9 +902,9 @@ var Badge = styled("span", {
|
|
886
902
|
content: '""',
|
887
903
|
},
|
888
904
|
// Custom
|
889
|
-
backgroundColor: "$
|
905
|
+
backgroundColor: "$slate3",
|
890
906
|
borderRadius: "$pill",
|
891
|
-
color: "$
|
907
|
+
color: "$slate11",
|
892
908
|
whiteSpace: "nowrap",
|
893
909
|
variants: {
|
894
910
|
size: {
|
@@ -919,10 +935,10 @@ var Badge = styled("span", {
|
|
919
935
|
},
|
920
936
|
},
|
921
937
|
gray: {
|
922
|
-
backgroundColor: "$
|
923
|
-
color: "$
|
938
|
+
backgroundColor: "$slate3",
|
939
|
+
color: "$slate11",
|
924
940
|
"&:focus": {
|
925
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
941
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
926
942
|
},
|
927
943
|
},
|
928
944
|
red: {
|
@@ -1400,12 +1416,12 @@ var compoundVariants = [];
|
|
1400
1416
|
for (var _i$1 = 0, naturalPairingsKeys_1$1 = naturalPairingsKeys; _i$1 < naturalPairingsKeys_1$1.length; _i$1++) {
|
1401
1417
|
var color$1 = naturalPairingsKeys_1$1[_i$1];
|
1402
1418
|
colorVariants$1[color$1] = {
|
1403
|
-
bc: "$".concat(color$1, "
|
1404
|
-
color: "
|
1405
|
-
"&:hover": { bc: "$".concat(color$1, "
|
1406
|
-
"&:active": { bc: "$".concat(color$1, "
|
1419
|
+
bc: "$".concat(color$1, "4"),
|
1420
|
+
color: "$".concat(color$1, "11"),
|
1421
|
+
"&:hover": { bc: "$".concat(color$1, "5") },
|
1422
|
+
"&:active": { bc: "$".concat(color$1, "6") },
|
1407
1423
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
1408
|
-
bc: "$".concat(color$1, "
|
1424
|
+
bc: "$".concat(color$1, "4"),
|
1409
1425
|
boxShadow: "inset 0 0 0 1px $colors$".concat(color$1, "8"),
|
1410
1426
|
},
|
1411
1427
|
};
|
@@ -1413,8 +1429,6 @@ for (var _i$1 = 0, naturalPairingsKeys_1$1 = naturalPairingsKeys; _i$1 < natural
|
|
1413
1429
|
variant: color$1,
|
1414
1430
|
ghost: "true",
|
1415
1431
|
css: {
|
1416
|
-
color: "$".concat(color$1, "9"),
|
1417
|
-
fontWeight: 600,
|
1418
1432
|
bc: "transparent",
|
1419
1433
|
"&:hover": {
|
1420
1434
|
bc: "$".concat(color$1, "3"),
|
@@ -1452,8 +1466,9 @@ var Button = styled("button", {
|
|
1452
1466
|
height: "$5",
|
1453
1467
|
fontFamily: "$body",
|
1454
1468
|
fontSize: "$2",
|
1455
|
-
fontWeight:
|
1469
|
+
fontWeight: 600,
|
1456
1470
|
ai: "center",
|
1471
|
+
cursor: "pointer",
|
1457
1472
|
px: "$3",
|
1458
1473
|
bc: "$neutral4",
|
1459
1474
|
borderRadius: "$2",
|
@@ -1466,14 +1481,14 @@ var Button = styled("button", {
|
|
1466
1481
|
variants: {
|
1467
1482
|
size: {
|
1468
1483
|
"1": {
|
1469
|
-
borderRadius: "$
|
1484
|
+
borderRadius: "$2",
|
1470
1485
|
height: "$5",
|
1471
1486
|
px: "$2",
|
1472
1487
|
fontSize: "$1",
|
1473
1488
|
lineHeight: "$sizes$5",
|
1474
1489
|
},
|
1475
1490
|
"2": {
|
1476
|
-
borderRadius: "$
|
1491
|
+
borderRadius: "$3",
|
1477
1492
|
height: "$5",
|
1478
1493
|
px: "$3",
|
1479
1494
|
py: "$3",
|
@@ -1481,36 +1496,35 @@ var Button = styled("button", {
|
|
1481
1496
|
lineHeight: "$sizes$6",
|
1482
1497
|
},
|
1483
1498
|
"3": {
|
1484
|
-
borderRadius: "$
|
1499
|
+
borderRadius: "$3",
|
1485
1500
|
height: "$6",
|
1486
1501
|
px: "$3",
|
1487
|
-
fontSize: "$
|
1502
|
+
fontSize: "$3",
|
1488
1503
|
lineHeight: "$sizes$6",
|
1489
1504
|
},
|
1490
1505
|
"4": {
|
1491
|
-
borderRadius: "$
|
1506
|
+
borderRadius: "$4",
|
1492
1507
|
height: "$7",
|
1493
1508
|
px: "$4",
|
1494
|
-
fontSize: "$
|
1509
|
+
fontSize: "$4",
|
1495
1510
|
lineHeight: "$sizes$7",
|
1496
1511
|
},
|
1497
1512
|
},
|
1498
|
-
variant: tslib.__assign({ primary: {
|
1499
|
-
bc: "$
|
1500
|
-
color: "
|
1501
|
-
"&:hover": { bc: "$
|
1502
|
-
"&:active": { bc: "$
|
1513
|
+
variant: tslib.__assign(tslib.__assign({ primary: {
|
1514
|
+
bc: "$primary4",
|
1515
|
+
color: "$primary11",
|
1516
|
+
"&:hover": { bc: "$primary5" },
|
1517
|
+
"&:active": { bc: "$primary6" },
|
1503
1518
|
"&:disabled": {
|
1504
1519
|
opacity: 0.5,
|
1505
1520
|
},
|
1506
1521
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
1507
|
-
bc: "$
|
1522
|
+
bc: "$primary4",
|
1508
1523
|
boxShadow: "inset 0 0 0 1px $colors$primary8",
|
1509
1524
|
},
|
1510
1525
|
}, neutral: {
|
1511
|
-
border: "1px solid $neutral7",
|
1512
1526
|
bc: "$neutral4",
|
1513
|
-
color: "$
|
1527
|
+
color: "$neutral11",
|
1514
1528
|
"&:hover": { bc: "$neutral5" },
|
1515
1529
|
"&:active": { bc: "$neutral6" },
|
1516
1530
|
"&:disabled": {
|
@@ -1520,7 +1534,28 @@ var Button = styled("button", {
|
|
1520
1534
|
bc: "$neutral4",
|
1521
1535
|
boxShadow: "inset 0 0 0 1px $colors$primary8",
|
1522
1536
|
},
|
1523
|
-
} }, colorVariants$1),
|
1537
|
+
} }, colorVariants$1), { transparentWhite: {
|
1538
|
+
bc: "hsla(0,100%,100%,.2)",
|
1539
|
+
color: "white",
|
1540
|
+
"&:hover": {
|
1541
|
+
bc: "hsla(0,100%,100%,.25)",
|
1542
|
+
},
|
1543
|
+
"&:active": {
|
1544
|
+
bc: "hsla(0,100%,100%,.3)",
|
1545
|
+
},
|
1546
|
+
"&:disabled": {
|
1547
|
+
opacity: 0.5,
|
1548
|
+
},
|
1549
|
+
}, transparentBlack: {
|
1550
|
+
bc: "hsla(0,0%,0%,.2)",
|
1551
|
+
color: "black",
|
1552
|
+
"&:hover": {
|
1553
|
+
bc: "hsla(0,0%,0%,.25)",
|
1554
|
+
},
|
1555
|
+
"&:active": {
|
1556
|
+
bc: "hsla(0,0%,0%,.3)",
|
1557
|
+
},
|
1558
|
+
} }),
|
1524
1559
|
ghost: {
|
1525
1560
|
true: {
|
1526
1561
|
bc: "transparent",
|
@@ -1534,8 +1569,6 @@ var Button = styled("button", {
|
|
1534
1569
|
ghost: "true",
|
1535
1570
|
css: {
|
1536
1571
|
bc: "transparent",
|
1537
|
-
color: "$primary9",
|
1538
|
-
fontWeight: 600,
|
1539
1572
|
"&:hover": {
|
1540
1573
|
bc: "$primary3",
|
1541
1574
|
boxShadow: "none",
|
@@ -1553,10 +1586,8 @@ var Button = styled("button", {
|
|
1553
1586
|
variant: "neutral",
|
1554
1587
|
ghost: "true",
|
1555
1588
|
css: {
|
1556
|
-
border: "none",
|
1557
1589
|
bc: "transparent",
|
1558
|
-
color: "$
|
1559
|
-
fontWeight: 600,
|
1590
|
+
color: "$neutral11",
|
1560
1591
|
"&:hover": {
|
1561
1592
|
bc: "$neutral3",
|
1562
1593
|
boxShadow: "none",
|
@@ -1688,11 +1719,11 @@ var StyledCheckbox = styled(CheckboxPrimitive__namespace.Root, {
|
|
1688
1719
|
padding: "0",
|
1689
1720
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
1690
1721
|
color: "$hiContrast",
|
1691
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
1722
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
1692
1723
|
overflow: "hidden",
|
1693
1724
|
"@hover": {
|
1694
1725
|
"&:hover": {
|
1695
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
1726
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8",
|
1696
1727
|
},
|
1697
1728
|
},
|
1698
1729
|
"&:focus": {
|
@@ -1738,8 +1769,8 @@ var Code = styled("code", {
|
|
1738
1769
|
variants: {
|
1739
1770
|
variant: {
|
1740
1771
|
gray: {
|
1741
|
-
backgroundColor: "$
|
1742
|
-
color: "$
|
1772
|
+
backgroundColor: "$slate3",
|
1773
|
+
color: "$slate11",
|
1743
1774
|
},
|
1744
1775
|
violet: {
|
1745
1776
|
backgroundColor: "$violet3",
|
@@ -1911,11 +1942,11 @@ var itemCss = css(baseItemCss, {
|
|
1911
1942
|
color: "white",
|
1912
1943
|
},
|
1913
1944
|
"&[data-disabled]": {
|
1914
|
-
color: "$
|
1945
|
+
color: "$slate9",
|
1915
1946
|
},
|
1916
1947
|
});
|
1917
1948
|
var labelCss = css(baseItemCss, {
|
1918
|
-
color: "$
|
1949
|
+
color: "$slate11",
|
1919
1950
|
});
|
1920
1951
|
var menuCss = css({
|
1921
1952
|
boxSizing: "border-box",
|
@@ -1925,7 +1956,7 @@ var menuCss = css({
|
|
1925
1956
|
var separatorCss = css({
|
1926
1957
|
height: 1,
|
1927
1958
|
my: "$1",
|
1928
|
-
backgroundColor: "$
|
1959
|
+
backgroundColor: "$slate6",
|
1929
1960
|
});
|
1930
1961
|
var Menu = styled(MenuPrimitive__namespace.Root, menuCss);
|
1931
1962
|
styled(MenuPrimitive__namespace.Content, panelStyles);
|
@@ -2179,7 +2210,7 @@ var TextField = StyledTextField;
|
|
2179
2210
|
var SelectWrapper = styled("div", {
|
2180
2211
|
backgroundColor: "$loContrast",
|
2181
2212
|
borderRadius: "$2",
|
2182
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2213
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2183
2214
|
color: "$hiContrast",
|
2184
2215
|
fontFamily: "$untitled",
|
2185
2216
|
fontSize: "$1",
|
@@ -2236,37 +2267,37 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2236
2267
|
},
|
2237
2268
|
_a$6["& ".concat(Button)] = {
|
2238
2269
|
borderRadius: 0,
|
2239
|
-
boxShadow: "inset 0 1px $colors$
|
2270
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2240
2271
|
"&:hover": {
|
2241
|
-
boxShadow: "-1px 0 $colors$
|
2272
|
+
boxShadow: "-1px 0 $colors$slate8, inset 0 1px $colors$slate8, inset -1px 0 $colors$slate8, inset 0 -1px $colors$slate8",
|
2242
2273
|
},
|
2243
2274
|
"&:focus": {
|
2244
2275
|
zIndex: 1,
|
2245
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2276
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
2246
2277
|
},
|
2247
2278
|
"&:first-child": {
|
2248
2279
|
borderTopLeftRadius: "$1",
|
2249
2280
|
borderBottomLeftRadius: "$1",
|
2250
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2281
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2251
2282
|
"&:hover": {
|
2252
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2283
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8",
|
2253
2284
|
},
|
2254
2285
|
"&:focus": {
|
2255
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2286
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
2256
2287
|
},
|
2257
2288
|
},
|
2258
2289
|
"&:last-child": {
|
2259
2290
|
borderTopRightRadius: "$1",
|
2260
2291
|
borderBottomRightRadius: "$1",
|
2261
|
-
boxShadow: "inset 0 1px $colors$
|
2292
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2262
2293
|
"&:focus": {
|
2263
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2294
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
2264
2295
|
},
|
2265
2296
|
},
|
2266
2297
|
},
|
2267
2298
|
_a$6["& ".concat(TextField)] = {
|
2268
2299
|
borderRadius: 0,
|
2269
|
-
boxShadow: "inset 0 1px $colors$
|
2300
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2270
2301
|
"&:focus": {
|
2271
2302
|
zIndex: 1,
|
2272
2303
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
@@ -2274,7 +2305,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2274
2305
|
"&:first-child": {
|
2275
2306
|
borderTopLeftRadius: "$1",
|
2276
2307
|
borderBottomLeftRadius: "$1",
|
2277
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2308
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2278
2309
|
"&:focus": {
|
2279
2310
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2280
2311
|
},
|
@@ -2282,7 +2313,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2282
2313
|
"&:last-child": {
|
2283
2314
|
borderTopRightRadius: "$1",
|
2284
2315
|
borderBottomRightRadius: "$1",
|
2285
|
-
boxShadow: "inset 0 1px $colors$
|
2316
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2286
2317
|
"&:focus": {
|
2287
2318
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2288
2319
|
},
|
@@ -2290,14 +2321,14 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2290
2321
|
},
|
2291
2322
|
_a$6["& ".concat(Select)] = {
|
2292
2323
|
borderRadius: 0,
|
2293
|
-
boxShadow: "inset 0 1px $colors$
|
2324
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2294
2325
|
"&:focus-within": {
|
2295
2326
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2296
2327
|
},
|
2297
2328
|
"&:first-child": {
|
2298
2329
|
borderTopLeftRadius: "$1",
|
2299
2330
|
borderBottomLeftRadius: "$1",
|
2300
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2331
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
2301
2332
|
"&:focus-within": {
|
2302
2333
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2303
2334
|
},
|
@@ -2305,7 +2336,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2305
2336
|
"&:last-child": {
|
2306
2337
|
borderTopRightRadius: "$1",
|
2307
2338
|
borderBottomRightRadius: "$1",
|
2308
|
-
boxShadow: "inset 0 1px $colors$
|
2339
|
+
boxShadow: "inset 0 1px $colors$slate7, inset -1px 0 $colors$slate7, inset 0 -1px $colors$slate7",
|
2309
2340
|
"&:focus-within": {
|
2310
2341
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2311
2342
|
},
|
@@ -2342,23 +2373,23 @@ var IconButton = styled("button", {
|
|
2342
2373
|
boxSizing: "border-box",
|
2343
2374
|
},
|
2344
2375
|
backgroundColor: "$loContrast",
|
2345
|
-
border: "1px solid $
|
2376
|
+
border: "1px solid $slate7",
|
2346
2377
|
"@hover": {
|
2347
2378
|
"&:hover": {
|
2348
|
-
borderColor: "$
|
2379
|
+
borderColor: "$slate8",
|
2349
2380
|
},
|
2350
2381
|
},
|
2351
2382
|
"&:active": {
|
2352
|
-
backgroundColor: "$
|
2383
|
+
backgroundColor: "$slate2",
|
2353
2384
|
},
|
2354
2385
|
"&:focus": {
|
2355
|
-
borderColor: "$
|
2356
|
-
boxShadow: "0 0 0 1px $colors$
|
2386
|
+
borderColor: "$slate8",
|
2387
|
+
boxShadow: "0 0 0 1px $colors$slate8",
|
2357
2388
|
},
|
2358
2389
|
"&:disabled": {
|
2359
2390
|
pointerEvents: "none",
|
2360
2391
|
backgroundColor: "transparent",
|
2361
|
-
color: "$
|
2392
|
+
color: "$slate6",
|
2362
2393
|
},
|
2363
2394
|
variants: {
|
2364
2395
|
size: {
|
@@ -2389,17 +2420,17 @@ var IconButton = styled("button", {
|
|
2389
2420
|
borderWidth: "0",
|
2390
2421
|
"@hover": {
|
2391
2422
|
"&:hover": {
|
2392
|
-
backgroundColor: "$
|
2423
|
+
backgroundColor: "$slateA3",
|
2393
2424
|
},
|
2394
2425
|
},
|
2395
2426
|
"&:focus": {
|
2396
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2427
|
+
boxShadow: "inset 0 0 0 1px $colors$slateA8, 0 0 0 1px $colors$slateA8",
|
2397
2428
|
},
|
2398
2429
|
"&:active": {
|
2399
|
-
backgroundColor: "$
|
2430
|
+
backgroundColor: "$slateA4",
|
2400
2431
|
},
|
2401
2432
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
2402
|
-
backgroundColor: "$
|
2433
|
+
backgroundColor: "$slateA4",
|
2403
2434
|
},
|
2404
2435
|
},
|
2405
2436
|
raised: {
|
@@ -2410,17 +2441,17 @@ var IconButton = styled("button", {
|
|
2410
2441
|
},
|
2411
2442
|
},
|
2412
2443
|
"&:focus": {
|
2413
|
-
borderColor: "$
|
2414
|
-
boxShadow: "0 0 0 1px $colors$
|
2444
|
+
borderColor: "$slate8",
|
2445
|
+
boxShadow: "0 0 0 1px $colors$slate8, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)",
|
2415
2446
|
},
|
2416
2447
|
"&:active": {
|
2417
|
-
backgroundColor: "$
|
2448
|
+
backgroundColor: "$slate4",
|
2418
2449
|
},
|
2419
2450
|
},
|
2420
2451
|
},
|
2421
2452
|
state: {
|
2422
2453
|
active: {
|
2423
|
-
backgroundColor: "$
|
2454
|
+
backgroundColor: "$slate4",
|
2424
2455
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
2425
2456
|
"@hover": {
|
2426
2457
|
"&:hover": {
|
@@ -2428,11 +2459,11 @@ var IconButton = styled("button", {
|
|
2428
2459
|
},
|
2429
2460
|
},
|
2430
2461
|
"&:active": {
|
2431
|
-
backgroundColor: "$
|
2462
|
+
backgroundColor: "$slate4",
|
2432
2463
|
},
|
2433
2464
|
},
|
2434
2465
|
waiting: {
|
2435
|
-
backgroundColor: "$
|
2466
|
+
backgroundColor: "$slate4",
|
2436
2467
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
2437
2468
|
"@hover": {
|
2438
2469
|
"&:hover": {
|
@@ -2440,7 +2471,7 @@ var IconButton = styled("button", {
|
|
2440
2471
|
},
|
2441
2472
|
},
|
2442
2473
|
"&:active": {
|
2443
|
-
backgroundColor: "$
|
2474
|
+
backgroundColor: "$slate4",
|
2444
2475
|
},
|
2445
2476
|
},
|
2446
2477
|
},
|
@@ -2470,8 +2501,8 @@ var StyledOverlay$1 = styled(DialogPrimitive__namespace.Overlay, overlayStyles,
|
|
2470
2501
|
bottom: 0,
|
2471
2502
|
left: 0,
|
2472
2503
|
backgroundColor: "rgba(0,0,0,.35)",
|
2504
|
+
backdropFilter: "blur(5px)",
|
2473
2505
|
inset: 0,
|
2474
|
-
zIndex: 1000,
|
2475
2506
|
variants: {
|
2476
2507
|
animation: {
|
2477
2508
|
true: {
|
@@ -2503,7 +2534,6 @@ var StyledDialogContent = styled(DialogPrimitive__namespace.Content, panelStyles
|
|
2503
2534
|
borderRadius: "$4",
|
2504
2535
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
2505
2536
|
color: "$black",
|
2506
|
-
zIndex: 1001,
|
2507
2537
|
"&:focus": {
|
2508
2538
|
outline: "none",
|
2509
2539
|
},
|
@@ -2533,12 +2563,13 @@ var StyledCloseButton$1 = styled(DialogPrimitive__namespace.Close, {
|
|
2533
2563
|
position: "absolute",
|
2534
2564
|
top: "$2",
|
2535
2565
|
right: "$2",
|
2566
|
+
cursor: "pointer"
|
2536
2567
|
});
|
2537
2568
|
var DialogContent = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
2538
2569
|
var children = _a.children; _a.animation; var props = tslib.__rest(_a, ["children", "animation"]);
|
2539
2570
|
return (React__default["default"].createElement(DialogPrimitive__namespace.Portal, null,
|
2540
2571
|
React__default["default"].createElement(StyledOverlay$1, null),
|
2541
|
-
React__default["default"].createElement(StyledDialogContent, tslib.__assign({}, props, { ref: forwardedRef
|
2572
|
+
React__default["default"].createElement(StyledDialogContent, tslib.__assign({}, props, { ref: forwardedRef }),
|
2542
2573
|
children,
|
2543
2574
|
React__default["default"].createElement(StyledCloseButton$1, { asChild: true },
|
2544
2575
|
React__default["default"].createElement(IconButton, { variant: "ghost" },
|
@@ -2556,7 +2587,7 @@ for (var _i = 0, naturalPairingsKeys_1 = naturalPairingsKeys; _i < naturalPairin
|
|
2556
2587
|
colorVariants[color] = {
|
2557
2588
|
"&:focus": {
|
2558
2589
|
outline: "none",
|
2559
|
-
backgroundColor: "$
|
2590
|
+
backgroundColor: "$".concat(color, "4"),
|
2560
2591
|
color: "$hiContrast",
|
2561
2592
|
},
|
2562
2593
|
};
|
@@ -2604,9 +2635,6 @@ var DropdownMenuRadioItemBase = React__default["default"].forwardRef(function (_
|
|
2604
2635
|
});
|
2605
2636
|
DropdownMenuRadioItemBase.displayName = "DropdownMenuRadioItemBase";
|
2606
2637
|
var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
2607
|
-
"&:focus": {
|
2608
|
-
backgroundColor: "$neutral4",
|
2609
|
-
},
|
2610
2638
|
variants: {
|
2611
2639
|
color: tslib.__assign({ primary: {
|
2612
2640
|
"&:focus": {
|
@@ -2616,6 +2644,9 @@ var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
2616
2644
|
},
|
2617
2645
|
} }, colorVariants),
|
2618
2646
|
},
|
2647
|
+
defaultVariants: {
|
2648
|
+
color: "primary",
|
2649
|
+
},
|
2619
2650
|
});
|
2620
2651
|
var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
2621
2652
|
variants: {
|
@@ -2632,7 +2663,6 @@ var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
2632
2663
|
},
|
2633
2664
|
});
|
2634
2665
|
var DropdownMenuCheckboxItem = styled(DropdownMenuCheckboxItemBase, {
|
2635
|
-
backgroundColor: "$neutral4",
|
2636
2666
|
variants: {
|
2637
2667
|
color: tslib.__assign({ primary: {
|
2638
2668
|
"&:focus": {
|
@@ -2894,7 +2924,7 @@ var Text = styled("span", {
|
|
2894
2924
|
color: "$bronze11",
|
2895
2925
|
},
|
2896
2926
|
gray: {
|
2897
|
-
color: "$
|
2927
|
+
color: "$slate11",
|
2898
2928
|
},
|
2899
2929
|
primary: {
|
2900
2930
|
color: "$primary11",
|
@@ -3079,7 +3109,7 @@ var Kbd = styled("kbd", {
|
|
3079
3109
|
userSelect: "none",
|
3080
3110
|
cursor: "default",
|
3081
3111
|
whiteSpace: "nowrap",
|
3082
|
-
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$
|
3112
|
+
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",
|
3083
3113
|
textShadow: "0 0 1px rgba(255, 255, 255, 0.5)",
|
3084
3114
|
fontFamily: "inherit",
|
3085
3115
|
fontWeight: 400,
|
@@ -3240,7 +3270,7 @@ var Paragraph = React__default["default"].forwardRef(function (props, forwardedR
|
|
3240
3270
|
var textCss = {
|
3241
3271
|
1: { lineHeight: "25px", "@bp2": { lineHeight: "27px" } },
|
3242
3272
|
2: {
|
3243
|
-
color: "$
|
3273
|
+
color: "$slate11",
|
3244
3274
|
lineHeight: "27px",
|
3245
3275
|
"@bp2": { lineHeight: "30px" },
|
3246
3276
|
},
|
@@ -3291,13 +3321,13 @@ var StyledProgressBar = styled(ProgressPrimitive__namespace.Root, {
|
|
3291
3321
|
overflow: "hidden",
|
3292
3322
|
borderRadius: "$pill",
|
3293
3323
|
'&[data-state="indeterminate"]': {
|
3294
|
-
backgroundColor: "$
|
3324
|
+
backgroundColor: "$slate4",
|
3295
3325
|
"&::after": {
|
3296
3326
|
animationName: indeterminateProgress,
|
3297
3327
|
animationDuration: "1500ms",
|
3298
3328
|
animationIterationCount: "infinite",
|
3299
3329
|
animationTimingFunction: "cubic-bezier(0.65, 0, 0.35, 1)",
|
3300
|
-
backgroundColor: "$
|
3330
|
+
backgroundColor: "$slate7",
|
3301
3331
|
boxSizing: "border-box",
|
3302
3332
|
borderRadius: "$pill",
|
3303
3333
|
content: '""',
|
@@ -3311,7 +3341,7 @@ var StyledProgressBar = styled(ProgressPrimitive__namespace.Root, {
|
|
3311
3341
|
variants: {
|
3312
3342
|
variant: {
|
3313
3343
|
gray: {
|
3314
|
-
background: "$
|
3344
|
+
background: "$slate8",
|
3315
3345
|
},
|
3316
3346
|
blue: {
|
3317
3347
|
backgroundColor: "$blue9",
|
@@ -3333,7 +3363,7 @@ var ProgressBarIndicator = styled(ProgressPrimitive__namespace.Indicator, {
|
|
3333
3363
|
bottom: 0,
|
3334
3364
|
left: 0,
|
3335
3365
|
width: "100%",
|
3336
|
-
backgroundColor: "$
|
3366
|
+
backgroundColor: "$slate4",
|
3337
3367
|
transition: "transform 150ms cubic-bezier(0.65, 0, 0.35, 1)",
|
3338
3368
|
});
|
3339
3369
|
var ProgressBar = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
@@ -3497,11 +3527,11 @@ var StyledRadio$1 = styled(RadioGroupPrimitive__namespace.Item, {
|
|
3497
3527
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
3498
3528
|
borderRadius: "50%",
|
3499
3529
|
color: "$hiContrast",
|
3500
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
3530
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
3501
3531
|
overflow: "hidden",
|
3502
3532
|
"@hover": {
|
3503
3533
|
"&:hover": {
|
3504
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
3534
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8",
|
3505
3535
|
},
|
3506
3536
|
},
|
3507
3537
|
"&:focus": {
|
@@ -3626,7 +3656,7 @@ var Separator = styled(SeparatorPrimitive__namespace.Root, {
|
|
3626
3656
|
border: "none",
|
3627
3657
|
margin: 0,
|
3628
3658
|
flexShrink: 0,
|
3629
|
-
backgroundColor: "$
|
3659
|
+
backgroundColor: "$slate6",
|
3630
3660
|
cursor: "default",
|
3631
3661
|
variants: {
|
3632
3662
|
size: {
|
@@ -3785,25 +3815,25 @@ var SimpleToggle = styled(TogglePrimitive__namespace.Root, {
|
|
3785
3815
|
backgroundColor: "transparent",
|
3786
3816
|
"@hover": {
|
3787
3817
|
"&:hover": {
|
3788
|
-
backgroundColor: "$
|
3818
|
+
backgroundColor: "$slateA3",
|
3789
3819
|
},
|
3790
3820
|
},
|
3791
3821
|
"&:active": {
|
3792
|
-
backgroundColor: "$
|
3822
|
+
backgroundColor: "$slateA4",
|
3793
3823
|
},
|
3794
3824
|
"&:focus": {
|
3795
|
-
boxShadow: "inset 0 0 0 1px $
|
3825
|
+
boxShadow: "inset 0 0 0 1px $slateA8, 0 0 0 1px $slateA8",
|
3796
3826
|
zIndex: 1,
|
3797
3827
|
},
|
3798
3828
|
'&[data-state="on"]': {
|
3799
|
-
backgroundColor: "$
|
3829
|
+
backgroundColor: "$slateA5",
|
3800
3830
|
"@hover": {
|
3801
3831
|
"&:hover": {
|
3802
|
-
backgroundColor: "$
|
3832
|
+
backgroundColor: "$slateA5",
|
3803
3833
|
},
|
3804
3834
|
},
|
3805
3835
|
"&:active": {
|
3806
|
-
backgroundColor: "$
|
3836
|
+
backgroundColor: "$slateA7",
|
3807
3837
|
},
|
3808
3838
|
},
|
3809
3839
|
variants: {
|
@@ -3823,7 +3853,7 @@ var pulse = keyframes({
|
|
3823
3853
|
"100%": { opacity: "100%" },
|
3824
3854
|
});
|
3825
3855
|
var Skeleton = styled("div", {
|
3826
|
-
backgroundColor: "$
|
3856
|
+
backgroundColor: "$slate4",
|
3827
3857
|
position: "relative",
|
3828
3858
|
overflow: "hidden",
|
3829
3859
|
"&::after": {
|
@@ -3832,7 +3862,7 @@ var Skeleton = styled("div", {
|
|
3832
3862
|
animationDirection: "alternate",
|
3833
3863
|
animationIterationCount: "infinite",
|
3834
3864
|
animationTimingFunction: "ease-in-out",
|
3835
|
-
backgroundColor: "$
|
3865
|
+
backgroundColor: "$slate6",
|
3836
3866
|
borderRadius: "inherit",
|
3837
3867
|
bottom: 0,
|
3838
3868
|
content: '""',
|
@@ -3898,7 +3928,7 @@ var _a$2;
|
|
3898
3928
|
var SliderTrack = styled(SliderPrimitive__namespace.Track, {
|
3899
3929
|
position: "relative",
|
3900
3930
|
flexGrow: 1,
|
3901
|
-
backgroundColor: "$
|
3931
|
+
backgroundColor: "$slate7",
|
3902
3932
|
borderRadius: "$pill",
|
3903
3933
|
'&[data-orientation="horizontal"]': {
|
3904
3934
|
height: 2,
|
@@ -3964,7 +3994,7 @@ var StyledSlider = styled(SliderPrimitive__namespace.Root, {
|
|
3964
3994
|
"@hover": {
|
3965
3995
|
"&:hover": (_a$2 = {},
|
3966
3996
|
_a$2["& ".concat(SliderTrack)] = {
|
3967
|
-
backgroundColor: "$
|
3997
|
+
backgroundColor: "$slate8",
|
3968
3998
|
},
|
3969
3999
|
_a$2["& ".concat(SliderThumb)] = {
|
3970
4000
|
opacity: "1",
|
@@ -4167,7 +4197,7 @@ var SnackbarProvider = function (_a) {
|
|
4167
4197
|
minWidth: "334px",
|
4168
4198
|
maxWidth: "672px",
|
4169
4199
|
zIndex: 1000000,
|
4170
|
-
backgroundColor: "$
|
4200
|
+
backgroundColor: "$panel",
|
4171
4201
|
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)",
|
4172
4202
|
WebkitFontSmoothing: "antialiased",
|
4173
4203
|
MozOsxFontSmoothing: "grayscale",
|
@@ -4196,6 +4226,7 @@ var SnackbarProvider = function (_a) {
|
|
4196
4226
|
height: "36px",
|
4197
4227
|
padding: "8px",
|
4198
4228
|
margin: "0 8px 0 0",
|
4229
|
+
cursor: "pointer",
|
4199
4230
|
position: "relative",
|
4200
4231
|
pointerEvents: "auto",
|
4201
4232
|
WebkitTapHighlightColor: "transparent",
|
@@ -4293,11 +4324,11 @@ var StyledSwitch = styled(SwitchPrimitive__namespace.Root, {
|
|
4293
4324
|
margin: "0",
|
4294
4325
|
outline: "none",
|
4295
4326
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
4296
|
-
backgroundColor: "$
|
4327
|
+
backgroundColor: "$slate5",
|
4297
4328
|
borderRadius: "$pill",
|
4298
4329
|
position: "relative",
|
4299
4330
|
"&:focus": {
|
4300
|
-
boxShadow: "0 0 0 2px $colors$
|
4331
|
+
boxShadow: "0 0 0 2px $colors$slate8",
|
4301
4332
|
},
|
4302
4333
|
'&[data-state="checked"]': {
|
4303
4334
|
backgroundColor: "$blue9",
|
@@ -4459,7 +4490,7 @@ var TabLink = styled("a", {
|
|
4459
4490
|
outline: "none",
|
4460
4491
|
alignItems: "center",
|
4461
4492
|
justifyContent: "center",
|
4462
|
-
color: "$
|
4493
|
+
color: "$slate11",
|
4463
4494
|
textDecoration: "none",
|
4464
4495
|
"@hover": {
|
4465
4496
|
"&:hover": {
|
@@ -4467,7 +4498,7 @@ var TabLink = styled("a", {
|
|
4467
4498
|
},
|
4468
4499
|
},
|
4469
4500
|
"&:focus": {
|
4470
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
4501
|
+
boxShadow: "inset 0 0 0 1px $colors$slate8, 0 0 0 1px $colors$slate8",
|
4471
4502
|
},
|
4472
4503
|
variants: {
|
4473
4504
|
active: {
|
@@ -4505,7 +4536,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
4505
4536
|
outline: "none",
|
4506
4537
|
alignItems: "center",
|
4507
4538
|
justifyContent: "center",
|
4508
|
-
color: "$
|
4539
|
+
color: "$slate11",
|
4509
4540
|
border: "1px solid transparent",
|
4510
4541
|
borderTopLeftRadius: "$2",
|
4511
4542
|
borderTopRightRadius: "$2",
|
@@ -4517,7 +4548,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
4517
4548
|
},
|
4518
4549
|
'&[data-state="active"]': {
|
4519
4550
|
color: "$hiContrast",
|
4520
|
-
borderColor: "$
|
4551
|
+
borderColor: "$slate6",
|
4521
4552
|
borderBottomColor: "transparent",
|
4522
4553
|
},
|
4523
4554
|
'&[data-orientation="vertical"]': {
|
@@ -4526,7 +4557,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
4526
4557
|
borderBottomLeftRadius: "$2",
|
4527
4558
|
borderBottomColor: "transparent",
|
4528
4559
|
'&[data-state="active"]': {
|
4529
|
-
borderBottomColor: "$
|
4560
|
+
borderBottomColor: "$slate6",
|
4530
4561
|
borderRightColor: "transparent",
|
4531
4562
|
},
|
4532
4563
|
},
|
@@ -4536,11 +4567,11 @@ var StyledTabsListBase = styled(TabsPrimitive__namespace.List, {
|
|
4536
4567
|
display: "flex",
|
4537
4568
|
"&:focus": {
|
4538
4569
|
outline: "none",
|
4539
|
-
boxShadow: "inset 0 0 0 1px $
|
4570
|
+
boxShadow: "inset 0 0 0 1px $slate8, 0 0 0 1px $slate8",
|
4540
4571
|
},
|
4541
4572
|
'&[data-orientation="vertical"]': {
|
4542
4573
|
flexDirection: "column",
|
4543
|
-
boxShadow: "inset -1px 0 0 $
|
4574
|
+
boxShadow: "inset -1px 0 0 $slate6",
|
4544
4575
|
},
|
4545
4576
|
});
|
4546
4577
|
var TabsListBase = React__default["default"].forwardRef(function (props, forwardedRef) { return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
@@ -4551,7 +4582,7 @@ var TabsContentBase = styled(TabsPrimitive__namespace.Content, {
|
|
4551
4582
|
flexGrow: 1,
|
4552
4583
|
"&:focus": {
|
4553
4584
|
outline: "none",
|
4554
|
-
boxShadow: "inset 0 0 0 1px $
|
4585
|
+
boxShadow: "inset 0 0 0 1px $slate8, 0 0 0 1px $slate8",
|
4555
4586
|
},
|
4556
4587
|
});
|
4557
4588
|
var TabsTrigger = styled(TabsTriggerBase, {
|
@@ -4600,7 +4631,7 @@ var TextArea = styled("textarea", {
|
|
4600
4631
|
width: "100%",
|
4601
4632
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
4602
4633
|
backgroundColor: "$loContrast",
|
4603
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
4634
|
+
boxShadow: "inset 0 0 0 1px $colors$slate7",
|
4604
4635
|
color: "$hiContrast",
|
4605
4636
|
fontVariantNumeric: "tabular-nums",
|
4606
4637
|
position: "relative",
|
@@ -4611,22 +4642,22 @@ var TextArea = styled("textarea", {
|
|
4611
4642
|
zIndex: "1",
|
4612
4643
|
},
|
4613
4644
|
"&::placeholder": {
|
4614
|
-
color: "$
|
4645
|
+
color: "$slate9",
|
4615
4646
|
},
|
4616
4647
|
"&:disabled": {
|
4617
4648
|
pointerEvents: "none",
|
4618
|
-
backgroundColor: "$
|
4619
|
-
color: "$
|
4649
|
+
backgroundColor: "$slate2",
|
4650
|
+
color: "$slate8",
|
4620
4651
|
cursor: "not-allowed",
|
4621
4652
|
resize: "none",
|
4622
4653
|
"&::placeholder": {
|
4623
|
-
color: "$
|
4654
|
+
color: "$slate7",
|
4624
4655
|
},
|
4625
4656
|
},
|
4626
4657
|
"&:read-only": {
|
4627
|
-
backgroundColor: "$
|
4658
|
+
backgroundColor: "$slate2",
|
4628
4659
|
"&:focus": {
|
4629
|
-
boxShadow: "inset 0px 0px 0px 1px $colors$
|
4660
|
+
boxShadow: "inset 0px 0px 0px 1px $colors$slate7",
|
4630
4661
|
},
|
4631
4662
|
},
|
4632
4663
|
variants: {
|
@@ -4740,12 +4771,12 @@ var TreeItem = styled("div", {
|
|
4740
4771
|
variants: {
|
4741
4772
|
variant: {
|
4742
4773
|
gray: {
|
4743
|
-
backgroundColor: "$
|
4774
|
+
backgroundColor: "$slate3",
|
4744
4775
|
"&:hover": {
|
4745
|
-
backgroundColor: "$
|
4776
|
+
backgroundColor: "$slate4",
|
4746
4777
|
},
|
4747
4778
|
"&:active": {
|
4748
|
-
backgroundColor: "$
|
4779
|
+
backgroundColor: "$slate5",
|
4749
4780
|
},
|
4750
4781
|
},
|
4751
4782
|
red: {
|