@livepeer/design-system 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -3
- package/dist/components/Accordion.d.ts +4 -4
- package/dist/components/AlertDialog.d.ts +2 -1
- package/dist/components/Avatar.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/Label.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 +132 -148
- package/dist/index.js +132 -148
- package/dist/stitches.config.d.ts +2 -2
- package/package.json +1 -1
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: "$neutral12",
|
|
43
|
+
// loContrast: '$neutral1',
|
|
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,28 +68,6 @@ 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
|
-
// },
|
|
93
71
|
fontSizes: {
|
|
94
72
|
1: "12px",
|
|
95
73
|
2: "13px",
|
|
@@ -101,17 +79,6 @@ var styled = (_a$8 = createStitches({
|
|
|
101
79
|
8: "35px",
|
|
102
80
|
9: "59px",
|
|
103
81
|
},
|
|
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
|
-
// },
|
|
115
82
|
radii: {
|
|
116
83
|
1: "4px",
|
|
117
84
|
2: "6px",
|
|
@@ -257,7 +224,7 @@ var styled = (_a$8 = createStitches({
|
|
|
257
224
|
createTheme("dark-theme", {
|
|
258
225
|
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), {
|
|
259
226
|
// Semantic colors
|
|
260
|
-
hiContrast: "$
|
|
227
|
+
hiContrast: "$neutral12", loContrast: "$neutral1", canvas: "hsl(0 0% 15%)", panel: "$neutral3", transparentPanel: "hsl(0 100% 100% / 97%)", shadowLight: "hsl(206 22% 7% / 35%)", shadowDark: "hsl(206 22% 7% / 20%)" }),
|
|
261
228
|
});
|
|
262
229
|
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);
|
|
263
230
|
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);
|
|
@@ -313,12 +280,12 @@ var getThemes = function () {
|
|
|
313
280
|
var themes = naturalPairingsKeys.reduce(function (prev, primary) {
|
|
314
281
|
var _a;
|
|
315
282
|
return (__assign(__assign({}, prev), (_a = {}, _a["light-theme-".concat(primary)] = createTheme("light-theme-".concat(primary), {
|
|
316
|
-
colors: __assign(__assign({}, lightThemeColors), {
|
|
283
|
+
colors: __assign(__assign({}, lightThemeColors), { primary: "hsl(0, 0%, 0%)", background: "hsl(0, 0%, 100%)",
|
|
317
284
|
// Semantic colors
|
|
318
285
|
primary1: "$".concat(primary, "1"), primary2: "$".concat(primary, "2"), primary3: "$".concat(primary, "3"), primary4: "$".concat(primary, "4"), primary5: "$".concat(primary, "5"), primary6: "$".concat(primary, "6"), primary7: "$".concat(primary, "7"), primary8: "$".concat(primary, "8"), primary9: "$".concat(primary, "9"), primary10: "$".concat(primary, "10"), primary11: "$".concat(primary, "11"), primary12: "$".concat(primary, "12"), neutral1: "$".concat(naturalPairings[primary], "1"), neutral2: "$".concat(naturalPairings[primary], "2"), neutral3: "$".concat(naturalPairings[primary], "3"), neutral4: "$".concat(naturalPairings[primary], "4"), neutral5: "$".concat(naturalPairings[primary], "5"), neutral6: "$".concat(naturalPairings[primary], "6"), neutral7: "$".concat(naturalPairings[primary], "7"), neutral8: "$".concat(naturalPairings[primary], "8"), neutral9: "$".concat(naturalPairings[primary], "9"), neutral10: "$".concat(naturalPairings[primary], "10"), neutral11: "$".concat(naturalPairings[primary], "11"), neutral12: "$".concat(naturalPairings[primary], "12"), hiContrast: "$".concat(naturalPairings[primary], "12"), loContrast: "$whiteA12", canvas: "hsl(0 0% 93%)", panel: "$".concat(naturalPairings[primary], "2"), transparentPanel: "hsl(0 0% 0% / 97%)", shadowLight: "hsl(206 22% 7% / 35%)", shadowDark: "hsl(206 22% 7% / 20%)" }),
|
|
319
286
|
fonts: fonts,
|
|
320
287
|
}), _a["dark-theme-".concat(primary)] = createTheme("dark-theme-".concat(primary), {
|
|
321
|
-
colors: __assign(__assign({}, darkThemeColors), {
|
|
288
|
+
colors: __assign(__assign({}, darkThemeColors), { primary: "hsl(0, 0%, 100%)", background: "hsl(0, 0%, 0%)",
|
|
322
289
|
// Semantic colors
|
|
323
290
|
primary1: "$".concat(primary, "1"), primary2: "$".concat(primary, "2"), primary3: "$".concat(primary, "3"), primary4: "$".concat(primary, "4"), primary5: "$".concat(primary, "5"), primary6: "$".concat(primary, "6"), primary7: "$".concat(primary, "7"), primary8: "$".concat(primary, "8"), primary9: "$".concat(primary, "9"), primary10: "$".concat(primary, "10"), primary11: "$".concat(primary, "11"), primary12: "$".concat(primary, "12"), neutral1: "$".concat(naturalPairings[primary], "1"), neutral2: "$".concat(naturalPairings[primary], "2"), neutral3: "$".concat(naturalPairings[primary], "3"), neutral4: "$".concat(naturalPairings[primary], "4"), neutral5: "$".concat(naturalPairings[primary], "5"), neutral6: "$".concat(naturalPairings[primary], "6"), neutral7: "$".concat(naturalPairings[primary], "7"), neutral8: "$".concat(naturalPairings[primary], "8"), neutral9: "$".concat(naturalPairings[primary], "9"), neutral10: "$".concat(naturalPairings[primary], "10"), neutral11: "$".concat(naturalPairings[primary], "11"), neutral12: "$".concat(naturalPairings[primary], "12"), hiContrast: "$".concat(naturalPairings[primary], "12"), loContrast: "$".concat(naturalPairings[primary], "1"), canvas: "hsl(0 0% 15%)", panel: "$".concat(naturalPairings[primary], "2"), transparentPanel: "hsl(0 100% 100% / 97%)", shadowLight: "hsl(206 22% 7% / 35%)", shadowDark: "hsl(206 22% 7% / 20%)" }),
|
|
324
291
|
fonts: fonts,
|
|
@@ -329,7 +296,7 @@ var getThemes = function () {
|
|
|
329
296
|
|
|
330
297
|
var StyledAccordion = styled(AccordionPrimitive.Root, {
|
|
331
298
|
boxShadow: "0 0 0 1px $colors$neutral6",
|
|
332
|
-
borderRadius: "$
|
|
299
|
+
borderRadius: "$2",
|
|
333
300
|
});
|
|
334
301
|
var Accordion = React.forwardRef(function (_a, forwardedRef) {
|
|
335
302
|
var children = _a.children, props = __rest(_a, ["children"]);
|
|
@@ -337,9 +304,27 @@ var Accordion = React.forwardRef(function (_a, forwardedRef) {
|
|
|
337
304
|
});
|
|
338
305
|
Accordion.displayName = "Accordion";
|
|
339
306
|
var StyledItem = styled(AccordionPrimitive.Item, {
|
|
340
|
-
borderTop: "1px solid $colors$
|
|
307
|
+
borderTop: "1px solid $colors$neutral6",
|
|
308
|
+
"button:focus": { boxShadow: "none" },
|
|
309
|
+
"&:first-of-type": {
|
|
310
|
+
borderTop: "none",
|
|
311
|
+
},
|
|
341
312
|
"&:last-of-type": {
|
|
342
|
-
borderBottom: "
|
|
313
|
+
borderBottom: "none",
|
|
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
|
+
},
|
|
343
328
|
},
|
|
344
329
|
});
|
|
345
330
|
var StyledHeader = styled(AccordionPrimitive.Header, {
|
|
@@ -361,15 +346,12 @@ var StyledTrigger = styled(AccordionPrimitive.Trigger, {
|
|
|
361
346
|
p: "$2",
|
|
362
347
|
color: "$hiContrast",
|
|
363
348
|
width: "100%",
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
"&:hover": {
|
|
367
|
-
backgroundColor: "$slate2",
|
|
368
|
-
},
|
|
349
|
+
"&:hover": {
|
|
350
|
+
backgroundColor: "$neutral2",
|
|
369
351
|
},
|
|
370
352
|
"&:focus": {
|
|
371
353
|
outline: "none",
|
|
372
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
354
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
373
355
|
},
|
|
374
356
|
svg: {
|
|
375
357
|
transition: "transform 175ms cubic-bezier(0.65, 0, 0.35, 1)",
|
|
@@ -414,11 +396,11 @@ var Alert = styled("div", {
|
|
|
414
396
|
variant: {
|
|
415
397
|
loContrast: {
|
|
416
398
|
backgroundColor: "$loContrast",
|
|
417
|
-
borderColor: "$
|
|
399
|
+
borderColor: "$neutral6",
|
|
418
400
|
},
|
|
419
401
|
gray: {
|
|
420
|
-
backgroundColor: "$
|
|
421
|
-
borderColor: "$
|
|
402
|
+
backgroundColor: "$neutral2",
|
|
403
|
+
borderColor: "$neutral6",
|
|
422
404
|
},
|
|
423
405
|
blue: {
|
|
424
406
|
backgroundColor: "$blue2",
|
|
@@ -472,6 +454,7 @@ var StyledOverlay$2 = styled(AlertDialogPrimitive.Overlay, overlayStyles, {
|
|
|
472
454
|
left: 0,
|
|
473
455
|
backgroundColor: "rgba(0,0,0,.35)",
|
|
474
456
|
inset: 0,
|
|
457
|
+
zIndex: 1000,
|
|
475
458
|
variants: {
|
|
476
459
|
animation: {
|
|
477
460
|
true: {
|
|
@@ -504,6 +487,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive.Content, panelStyles,
|
|
|
504
487
|
borderRadius: "$4",
|
|
505
488
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
|
506
489
|
color: "$black",
|
|
490
|
+
zIndex: 1001,
|
|
507
491
|
"&:focus": {
|
|
508
492
|
outline: "none",
|
|
509
493
|
},
|
|
@@ -528,7 +512,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive.Content, panelStyles,
|
|
|
528
512
|
});
|
|
529
513
|
var AlertDialogContent = function (_a) {
|
|
530
514
|
var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = __rest(_a, ["children", "animation"]);
|
|
531
|
-
return (React.createElement(StyledAlertDialogContent, __assign({ animation: animation }, props), children));
|
|
515
|
+
return (React.createElement(StyledAlertDialogContent, __assign({ animation: animation }, props, { style: { overflow: "auto" } }), children));
|
|
532
516
|
};
|
|
533
517
|
var AlertDialogTitle = AlertDialogPrimitive.Title;
|
|
534
518
|
var AlertDialogDescription = AlertDialogPrimitive.Description;
|
|
@@ -557,7 +541,7 @@ var Status = styled("div", {
|
|
|
557
541
|
},
|
|
558
542
|
variant: {
|
|
559
543
|
gray: {
|
|
560
|
-
backgroundColor: "$
|
|
544
|
+
backgroundColor: "$neutral7",
|
|
561
545
|
},
|
|
562
546
|
blue: {
|
|
563
547
|
backgroundColor: "$blue9",
|
|
@@ -641,7 +625,7 @@ var StyledAvatar = styled(AvatarPrimitive.Root, {
|
|
|
641
625
|
color: "$loContrast",
|
|
642
626
|
},
|
|
643
627
|
gray: {
|
|
644
|
-
backgroundColor: "$
|
|
628
|
+
backgroundColor: "$neutral5",
|
|
645
629
|
},
|
|
646
630
|
tomato: {
|
|
647
631
|
backgroundColor: "$tomato5",
|
|
@@ -845,9 +829,9 @@ var Badge = styled("span", {
|
|
|
845
829
|
userSelect: "none",
|
|
846
830
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
847
831
|
"&:disabled": {
|
|
848
|
-
backgroundColor: "$
|
|
832
|
+
backgroundColor: "$neutral3",
|
|
849
833
|
pointerEvents: "none",
|
|
850
|
-
color: "$
|
|
834
|
+
color: "$neutral8",
|
|
851
835
|
},
|
|
852
836
|
"&::before": {
|
|
853
837
|
boxSizing: "border-box",
|
|
@@ -858,9 +842,9 @@ var Badge = styled("span", {
|
|
|
858
842
|
content: '""',
|
|
859
843
|
},
|
|
860
844
|
// Custom
|
|
861
|
-
backgroundColor: "$
|
|
845
|
+
backgroundColor: "$neutral3",
|
|
862
846
|
borderRadius: "$pill",
|
|
863
|
-
color: "$
|
|
847
|
+
color: "$neutral11",
|
|
864
848
|
whiteSpace: "nowrap",
|
|
865
849
|
variants: {
|
|
866
850
|
size: {
|
|
@@ -891,10 +875,10 @@ var Badge = styled("span", {
|
|
|
891
875
|
},
|
|
892
876
|
},
|
|
893
877
|
gray: {
|
|
894
|
-
backgroundColor: "$
|
|
895
|
-
color: "$
|
|
878
|
+
backgroundColor: "$neutral3",
|
|
879
|
+
color: "$neutral11",
|
|
896
880
|
"&:focus": {
|
|
897
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
881
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
898
882
|
},
|
|
899
883
|
},
|
|
900
884
|
red: {
|
|
@@ -1675,11 +1659,11 @@ var StyledCheckbox = styled(CheckboxPrimitive.Root, {
|
|
|
1675
1659
|
padding: "0",
|
|
1676
1660
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
1677
1661
|
color: "$hiContrast",
|
|
1678
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
1662
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
1679
1663
|
overflow: "hidden",
|
|
1680
1664
|
"@hover": {
|
|
1681
1665
|
"&:hover": {
|
|
1682
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
1666
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
|
1683
1667
|
},
|
|
1684
1668
|
},
|
|
1685
1669
|
"&:focus": {
|
|
@@ -1725,8 +1709,8 @@ var Code = styled("code", {
|
|
|
1725
1709
|
variants: {
|
|
1726
1710
|
variant: {
|
|
1727
1711
|
gray: {
|
|
1728
|
-
backgroundColor: "$
|
|
1729
|
-
color: "$
|
|
1712
|
+
backgroundColor: "$neutral3",
|
|
1713
|
+
color: "$neutral11",
|
|
1730
1714
|
},
|
|
1731
1715
|
violet: {
|
|
1732
1716
|
backgroundColor: "$violet3",
|
|
@@ -1898,11 +1882,11 @@ var itemCss = css(baseItemCss, {
|
|
|
1898
1882
|
color: "white",
|
|
1899
1883
|
},
|
|
1900
1884
|
"&[data-disabled]": {
|
|
1901
|
-
color: "$
|
|
1885
|
+
color: "$neutral9",
|
|
1902
1886
|
},
|
|
1903
1887
|
});
|
|
1904
1888
|
var labelCss = css(baseItemCss, {
|
|
1905
|
-
color: "$
|
|
1889
|
+
color: "$neutral11",
|
|
1906
1890
|
});
|
|
1907
1891
|
var menuCss = css({
|
|
1908
1892
|
boxSizing: "border-box",
|
|
@@ -1912,7 +1896,7 @@ var menuCss = css({
|
|
|
1912
1896
|
var separatorCss = css({
|
|
1913
1897
|
height: 1,
|
|
1914
1898
|
my: "$1",
|
|
1915
|
-
backgroundColor: "$
|
|
1899
|
+
backgroundColor: "$neutral6",
|
|
1916
1900
|
});
|
|
1917
1901
|
var Menu = styled(MenuPrimitive.Root, menuCss);
|
|
1918
1902
|
styled(MenuPrimitive.Content, panelStyles);
|
|
@@ -2166,7 +2150,7 @@ var TextField = StyledTextField;
|
|
|
2166
2150
|
var SelectWrapper = styled("div", {
|
|
2167
2151
|
backgroundColor: "$loContrast",
|
|
2168
2152
|
borderRadius: "$2",
|
|
2169
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2153
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2170
2154
|
color: "$hiContrast",
|
|
2171
2155
|
fontFamily: "$untitled",
|
|
2172
2156
|
fontSize: "$1",
|
|
@@ -2223,37 +2207,37 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2223
2207
|
},
|
|
2224
2208
|
_a$6["& ".concat(Button)] = {
|
|
2225
2209
|
borderRadius: 0,
|
|
2226
|
-
boxShadow: "inset 0 1px $colors$
|
|
2210
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2227
2211
|
"&:hover": {
|
|
2228
|
-
boxShadow: "-1px 0 $colors$
|
|
2212
|
+
boxShadow: "-1px 0 $colors$neutral8, inset 0 1px $colors$neutral8, inset -1px 0 $colors$neutral8, inset 0 -1px $colors$neutral8",
|
|
2229
2213
|
},
|
|
2230
2214
|
"&:focus": {
|
|
2231
2215
|
zIndex: 1,
|
|
2232
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2216
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
2233
2217
|
},
|
|
2234
2218
|
"&:first-child": {
|
|
2235
2219
|
borderTopLeftRadius: "$1",
|
|
2236
2220
|
borderBottomLeftRadius: "$1",
|
|
2237
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2221
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2238
2222
|
"&:hover": {
|
|
2239
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2223
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
|
2240
2224
|
},
|
|
2241
2225
|
"&:focus": {
|
|
2242
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2226
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
2243
2227
|
},
|
|
2244
2228
|
},
|
|
2245
2229
|
"&:last-child": {
|
|
2246
2230
|
borderTopRightRadius: "$1",
|
|
2247
2231
|
borderBottomRightRadius: "$1",
|
|
2248
|
-
boxShadow: "inset 0 1px $colors$
|
|
2232
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2249
2233
|
"&:focus": {
|
|
2250
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2234
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
2251
2235
|
},
|
|
2252
2236
|
},
|
|
2253
2237
|
},
|
|
2254
2238
|
_a$6["& ".concat(TextField)] = {
|
|
2255
2239
|
borderRadius: 0,
|
|
2256
|
-
boxShadow: "inset 0 1px $colors$
|
|
2240
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2257
2241
|
"&:focus": {
|
|
2258
2242
|
zIndex: 1,
|
|
2259
2243
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
@@ -2261,7 +2245,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2261
2245
|
"&:first-child": {
|
|
2262
2246
|
borderTopLeftRadius: "$1",
|
|
2263
2247
|
borderBottomLeftRadius: "$1",
|
|
2264
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2248
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2265
2249
|
"&:focus": {
|
|
2266
2250
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2267
2251
|
},
|
|
@@ -2269,7 +2253,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2269
2253
|
"&:last-child": {
|
|
2270
2254
|
borderTopRightRadius: "$1",
|
|
2271
2255
|
borderBottomRightRadius: "$1",
|
|
2272
|
-
boxShadow: "inset 0 1px $colors$
|
|
2256
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2273
2257
|
"&:focus": {
|
|
2274
2258
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2275
2259
|
},
|
|
@@ -2277,14 +2261,14 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2277
2261
|
},
|
|
2278
2262
|
_a$6["& ".concat(Select)] = {
|
|
2279
2263
|
borderRadius: 0,
|
|
2280
|
-
boxShadow: "inset 0 1px $colors$
|
|
2264
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2281
2265
|
"&:focus-within": {
|
|
2282
2266
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2283
2267
|
},
|
|
2284
2268
|
"&:first-child": {
|
|
2285
2269
|
borderTopLeftRadius: "$1",
|
|
2286
2270
|
borderBottomLeftRadius: "$1",
|
|
2287
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2271
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2288
2272
|
"&:focus-within": {
|
|
2289
2273
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2290
2274
|
},
|
|
@@ -2292,7 +2276,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2292
2276
|
"&:last-child": {
|
|
2293
2277
|
borderTopRightRadius: "$1",
|
|
2294
2278
|
borderBottomRightRadius: "$1",
|
|
2295
|
-
boxShadow: "inset 0 1px $colors$
|
|
2279
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2296
2280
|
"&:focus-within": {
|
|
2297
2281
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2298
2282
|
},
|
|
@@ -2329,23 +2313,23 @@ var IconButton = styled("button", {
|
|
|
2329
2313
|
boxSizing: "border-box",
|
|
2330
2314
|
},
|
|
2331
2315
|
backgroundColor: "$loContrast",
|
|
2332
|
-
border: "1px solid $
|
|
2316
|
+
border: "1px solid $neutral7",
|
|
2333
2317
|
"@hover": {
|
|
2334
2318
|
"&:hover": {
|
|
2335
|
-
borderColor: "$
|
|
2319
|
+
borderColor: "$neutral8",
|
|
2336
2320
|
},
|
|
2337
2321
|
},
|
|
2338
2322
|
"&:active": {
|
|
2339
|
-
backgroundColor: "$
|
|
2323
|
+
backgroundColor: "$neutral2",
|
|
2340
2324
|
},
|
|
2341
2325
|
"&:focus": {
|
|
2342
|
-
borderColor: "$
|
|
2343
|
-
boxShadow: "0 0 0 1px $colors$
|
|
2326
|
+
borderColor: "$neutral8",
|
|
2327
|
+
boxShadow: "0 0 0 1px $colors$neutral8",
|
|
2344
2328
|
},
|
|
2345
2329
|
"&:disabled": {
|
|
2346
2330
|
pointerEvents: "none",
|
|
2347
2331
|
backgroundColor: "transparent",
|
|
2348
|
-
color: "$
|
|
2332
|
+
color: "$neutral6",
|
|
2349
2333
|
},
|
|
2350
2334
|
variants: {
|
|
2351
2335
|
size: {
|
|
@@ -2376,17 +2360,17 @@ var IconButton = styled("button", {
|
|
|
2376
2360
|
borderWidth: "0",
|
|
2377
2361
|
"@hover": {
|
|
2378
2362
|
"&:hover": {
|
|
2379
|
-
backgroundColor: "$
|
|
2363
|
+
backgroundColor: "$neutralA3",
|
|
2380
2364
|
},
|
|
2381
2365
|
},
|
|
2382
2366
|
"&:focus": {
|
|
2383
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2367
|
+
boxShadow: "inset 0 0 0 1px $colors$neutralA8, 0 0 0 1px $colors$neutralA8",
|
|
2384
2368
|
},
|
|
2385
2369
|
"&:active": {
|
|
2386
|
-
backgroundColor: "$
|
|
2370
|
+
backgroundColor: "$neutralA4",
|
|
2387
2371
|
},
|
|
2388
2372
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
|
2389
|
-
backgroundColor: "$
|
|
2373
|
+
backgroundColor: "$neutralA4",
|
|
2390
2374
|
},
|
|
2391
2375
|
},
|
|
2392
2376
|
raised: {
|
|
@@ -2397,17 +2381,17 @@ var IconButton = styled("button", {
|
|
|
2397
2381
|
},
|
|
2398
2382
|
},
|
|
2399
2383
|
"&:focus": {
|
|
2400
|
-
borderColor: "$
|
|
2401
|
-
boxShadow: "0 0 0 1px $colors$
|
|
2384
|
+
borderColor: "$neutral8",
|
|
2385
|
+
boxShadow: "0 0 0 1px $colors$neutral8, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)",
|
|
2402
2386
|
},
|
|
2403
2387
|
"&:active": {
|
|
2404
|
-
backgroundColor: "$
|
|
2388
|
+
backgroundColor: "$neutral4",
|
|
2405
2389
|
},
|
|
2406
2390
|
},
|
|
2407
2391
|
},
|
|
2408
2392
|
state: {
|
|
2409
2393
|
active: {
|
|
2410
|
-
backgroundColor: "$
|
|
2394
|
+
backgroundColor: "$neutral4",
|
|
2411
2395
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
|
2412
2396
|
"@hover": {
|
|
2413
2397
|
"&:hover": {
|
|
@@ -2415,11 +2399,11 @@ var IconButton = styled("button", {
|
|
|
2415
2399
|
},
|
|
2416
2400
|
},
|
|
2417
2401
|
"&:active": {
|
|
2418
|
-
backgroundColor: "$
|
|
2402
|
+
backgroundColor: "$neutral4",
|
|
2419
2403
|
},
|
|
2420
2404
|
},
|
|
2421
2405
|
waiting: {
|
|
2422
|
-
backgroundColor: "$
|
|
2406
|
+
backgroundColor: "$neutral4",
|
|
2423
2407
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
|
2424
2408
|
"@hover": {
|
|
2425
2409
|
"&:hover": {
|
|
@@ -2427,7 +2411,7 @@ var IconButton = styled("button", {
|
|
|
2427
2411
|
},
|
|
2428
2412
|
},
|
|
2429
2413
|
"&:active": {
|
|
2430
|
-
backgroundColor: "$
|
|
2414
|
+
backgroundColor: "$neutral4",
|
|
2431
2415
|
},
|
|
2432
2416
|
},
|
|
2433
2417
|
},
|
|
@@ -2457,8 +2441,8 @@ var StyledOverlay$1 = styled(DialogPrimitive.Overlay, overlayStyles, {
|
|
|
2457
2441
|
bottom: 0,
|
|
2458
2442
|
left: 0,
|
|
2459
2443
|
backgroundColor: "rgba(0,0,0,.35)",
|
|
2460
|
-
backdropFilter: "blur(5px)",
|
|
2461
2444
|
inset: 0,
|
|
2445
|
+
zIndex: 1000,
|
|
2462
2446
|
variants: {
|
|
2463
2447
|
animation: {
|
|
2464
2448
|
true: {
|
|
@@ -2490,6 +2474,7 @@ var StyledDialogContent = styled(DialogPrimitive.Content, panelStyles, {
|
|
|
2490
2474
|
borderRadius: "$4",
|
|
2491
2475
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
|
2492
2476
|
color: "$black",
|
|
2477
|
+
zIndex: 1001,
|
|
2493
2478
|
"&:focus": {
|
|
2494
2479
|
outline: "none",
|
|
2495
2480
|
},
|
|
@@ -2519,13 +2504,12 @@ var StyledCloseButton$1 = styled(DialogPrimitive.Close, {
|
|
|
2519
2504
|
position: "absolute",
|
|
2520
2505
|
top: "$2",
|
|
2521
2506
|
right: "$2",
|
|
2522
|
-
cursor: "pointer"
|
|
2523
2507
|
});
|
|
2524
2508
|
var DialogContent = React.forwardRef(function (_a, forwardedRef) {
|
|
2525
2509
|
var children = _a.children; _a.animation; var props = __rest(_a, ["children", "animation"]);
|
|
2526
2510
|
return (React.createElement(DialogPrimitive.Portal, null,
|
|
2527
2511
|
React.createElement(StyledOverlay$1, null),
|
|
2528
|
-
React.createElement(StyledDialogContent, __assign({}, props, { ref: forwardedRef }),
|
|
2512
|
+
React.createElement(StyledDialogContent, __assign({}, props, { ref: forwardedRef, style: { overflow: "auto" } }),
|
|
2529
2513
|
children,
|
|
2530
2514
|
React.createElement(StyledCloseButton$1, { asChild: true },
|
|
2531
2515
|
React.createElement(IconButton, { variant: "ghost" },
|
|
@@ -2543,7 +2527,7 @@ for (var _i = 0, naturalPairingsKeys_1 = naturalPairingsKeys; _i < naturalPairin
|
|
|
2543
2527
|
colorVariants[color] = {
|
|
2544
2528
|
"&:focus": {
|
|
2545
2529
|
outline: "none",
|
|
2546
|
-
backgroundColor: "$"
|
|
2530
|
+
backgroundColor: "$neutral4",
|
|
2547
2531
|
color: "$hiContrast",
|
|
2548
2532
|
},
|
|
2549
2533
|
};
|
|
@@ -2591,6 +2575,9 @@ var DropdownMenuRadioItemBase = React.forwardRef(function (_a, forwardedRef) {
|
|
|
2591
2575
|
});
|
|
2592
2576
|
DropdownMenuRadioItemBase.displayName = "DropdownMenuRadioItemBase";
|
|
2593
2577
|
var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
2578
|
+
"&:focus": {
|
|
2579
|
+
backgroundColor: "$neutral4",
|
|
2580
|
+
},
|
|
2594
2581
|
variants: {
|
|
2595
2582
|
color: __assign({ primary: {
|
|
2596
2583
|
"&:focus": {
|
|
@@ -2600,9 +2587,6 @@ var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
|
2600
2587
|
},
|
|
2601
2588
|
} }, colorVariants),
|
|
2602
2589
|
},
|
|
2603
|
-
defaultVariants: {
|
|
2604
|
-
color: "primary",
|
|
2605
|
-
},
|
|
2606
2590
|
});
|
|
2607
2591
|
var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
2608
2592
|
variants: {
|
|
@@ -2619,6 +2603,7 @@ var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
|
2619
2603
|
},
|
|
2620
2604
|
});
|
|
2621
2605
|
var DropdownMenuCheckboxItem = styled(DropdownMenuCheckboxItemBase, {
|
|
2606
|
+
backgroundColor: "$neutral4",
|
|
2622
2607
|
variants: {
|
|
2623
2608
|
color: __assign({ primary: {
|
|
2624
2609
|
"&:focus": {
|
|
@@ -2880,7 +2865,7 @@ var Text = styled("span", {
|
|
|
2880
2865
|
color: "$bronze11",
|
|
2881
2866
|
},
|
|
2882
2867
|
gray: {
|
|
2883
|
-
color: "$
|
|
2868
|
+
color: "$neutral11",
|
|
2884
2869
|
},
|
|
2885
2870
|
primary: {
|
|
2886
2871
|
color: "$primary11",
|
|
@@ -3065,7 +3050,7 @@ var Kbd = styled("kbd", {
|
|
|
3065
3050
|
userSelect: "none",
|
|
3066
3051
|
cursor: "default",
|
|
3067
3052
|
whiteSpace: "nowrap",
|
|
3068
|
-
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$
|
|
3053
|
+
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$neutral2,\n 0px 0px 0px 0.5px $colors$neutral8,\n 0px 2px 1px -1px $colors$neutral8,\n 0 1px $colors$neutral8",
|
|
3069
3054
|
textShadow: "0 0 1px rgba(255, 255, 255, 0.5)",
|
|
3070
3055
|
fontFamily: "inherit",
|
|
3071
3056
|
fontWeight: 400,
|
|
@@ -3226,7 +3211,7 @@ var Paragraph = React.forwardRef(function (props, forwardedRef) {
|
|
|
3226
3211
|
var textCss = {
|
|
3227
3212
|
1: { lineHeight: "25px", "@bp2": { lineHeight: "27px" } },
|
|
3228
3213
|
2: {
|
|
3229
|
-
color: "$
|
|
3214
|
+
color: "$neutral11",
|
|
3230
3215
|
lineHeight: "27px",
|
|
3231
3216
|
"@bp2": { lineHeight: "30px" },
|
|
3232
3217
|
},
|
|
@@ -3277,13 +3262,13 @@ var StyledProgressBar = styled(ProgressPrimitive.Root, {
|
|
|
3277
3262
|
overflow: "hidden",
|
|
3278
3263
|
borderRadius: "$pill",
|
|
3279
3264
|
'&[data-state="indeterminate"]': {
|
|
3280
|
-
backgroundColor: "$
|
|
3265
|
+
backgroundColor: "$neutral4",
|
|
3281
3266
|
"&::after": {
|
|
3282
3267
|
animationName: indeterminateProgress,
|
|
3283
3268
|
animationDuration: "1500ms",
|
|
3284
3269
|
animationIterationCount: "infinite",
|
|
3285
3270
|
animationTimingFunction: "cubic-bezier(0.65, 0, 0.35, 1)",
|
|
3286
|
-
backgroundColor: "$
|
|
3271
|
+
backgroundColor: "$neutral7",
|
|
3287
3272
|
boxSizing: "border-box",
|
|
3288
3273
|
borderRadius: "$pill",
|
|
3289
3274
|
content: '""',
|
|
@@ -3297,7 +3282,7 @@ var StyledProgressBar = styled(ProgressPrimitive.Root, {
|
|
|
3297
3282
|
variants: {
|
|
3298
3283
|
variant: {
|
|
3299
3284
|
gray: {
|
|
3300
|
-
background: "$
|
|
3285
|
+
background: "$neutral8",
|
|
3301
3286
|
},
|
|
3302
3287
|
blue: {
|
|
3303
3288
|
backgroundColor: "$blue9",
|
|
@@ -3319,7 +3304,7 @@ var ProgressBarIndicator = styled(ProgressPrimitive.Indicator, {
|
|
|
3319
3304
|
bottom: 0,
|
|
3320
3305
|
left: 0,
|
|
3321
3306
|
width: "100%",
|
|
3322
|
-
backgroundColor: "$
|
|
3307
|
+
backgroundColor: "$neutral4",
|
|
3323
3308
|
transition: "transform 150ms cubic-bezier(0.65, 0, 0.35, 1)",
|
|
3324
3309
|
});
|
|
3325
3310
|
var ProgressBar = React.forwardRef(function (_a, forwardedRef) {
|
|
@@ -3483,11 +3468,11 @@ var StyledRadio$1 = styled(RadioGroupPrimitive.Item, {
|
|
|
3483
3468
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
3484
3469
|
borderRadius: "50%",
|
|
3485
3470
|
color: "$hiContrast",
|
|
3486
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
3471
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
3487
3472
|
overflow: "hidden",
|
|
3488
3473
|
"@hover": {
|
|
3489
3474
|
"&:hover": {
|
|
3490
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
3475
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
|
3491
3476
|
},
|
|
3492
3477
|
},
|
|
3493
3478
|
"&:focus": {
|
|
@@ -3612,7 +3597,7 @@ var Separator = styled(SeparatorPrimitive.Root, {
|
|
|
3612
3597
|
border: "none",
|
|
3613
3598
|
margin: 0,
|
|
3614
3599
|
flexShrink: 0,
|
|
3615
|
-
backgroundColor: "$
|
|
3600
|
+
backgroundColor: "$neutral6",
|
|
3616
3601
|
cursor: "default",
|
|
3617
3602
|
variants: {
|
|
3618
3603
|
size: {
|
|
@@ -3771,25 +3756,25 @@ var SimpleToggle = styled(TogglePrimitive.Root, {
|
|
|
3771
3756
|
backgroundColor: "transparent",
|
|
3772
3757
|
"@hover": {
|
|
3773
3758
|
"&:hover": {
|
|
3774
|
-
backgroundColor: "$
|
|
3759
|
+
backgroundColor: "$neutralA3",
|
|
3775
3760
|
},
|
|
3776
3761
|
},
|
|
3777
3762
|
"&:active": {
|
|
3778
|
-
backgroundColor: "$
|
|
3763
|
+
backgroundColor: "$neutralA4",
|
|
3779
3764
|
},
|
|
3780
3765
|
"&:focus": {
|
|
3781
|
-
boxShadow: "inset 0 0 0 1px $
|
|
3766
|
+
boxShadow: "inset 0 0 0 1px $neutralA8, 0 0 0 1px $neutralA8",
|
|
3782
3767
|
zIndex: 1,
|
|
3783
3768
|
},
|
|
3784
3769
|
'&[data-state="on"]': {
|
|
3785
|
-
backgroundColor: "$
|
|
3770
|
+
backgroundColor: "$neutralA5",
|
|
3786
3771
|
"@hover": {
|
|
3787
3772
|
"&:hover": {
|
|
3788
|
-
backgroundColor: "$
|
|
3773
|
+
backgroundColor: "$neutralA5",
|
|
3789
3774
|
},
|
|
3790
3775
|
},
|
|
3791
3776
|
"&:active": {
|
|
3792
|
-
backgroundColor: "$
|
|
3777
|
+
backgroundColor: "$neutralA7",
|
|
3793
3778
|
},
|
|
3794
3779
|
},
|
|
3795
3780
|
variants: {
|
|
@@ -3809,7 +3794,7 @@ var pulse = keyframes({
|
|
|
3809
3794
|
"100%": { opacity: "100%" },
|
|
3810
3795
|
});
|
|
3811
3796
|
var Skeleton = styled("div", {
|
|
3812
|
-
backgroundColor: "$
|
|
3797
|
+
backgroundColor: "$neutral4",
|
|
3813
3798
|
position: "relative",
|
|
3814
3799
|
overflow: "hidden",
|
|
3815
3800
|
"&::after": {
|
|
@@ -3818,7 +3803,7 @@ var Skeleton = styled("div", {
|
|
|
3818
3803
|
animationDirection: "alternate",
|
|
3819
3804
|
animationIterationCount: "infinite",
|
|
3820
3805
|
animationTimingFunction: "ease-in-out",
|
|
3821
|
-
backgroundColor: "$
|
|
3806
|
+
backgroundColor: "$neutral6",
|
|
3822
3807
|
borderRadius: "inherit",
|
|
3823
3808
|
bottom: 0,
|
|
3824
3809
|
content: '""',
|
|
@@ -3884,7 +3869,7 @@ var _a$2;
|
|
|
3884
3869
|
var SliderTrack = styled(SliderPrimitive.Track, {
|
|
3885
3870
|
position: "relative",
|
|
3886
3871
|
flexGrow: 1,
|
|
3887
|
-
backgroundColor: "$
|
|
3872
|
+
backgroundColor: "$neutral7",
|
|
3888
3873
|
borderRadius: "$pill",
|
|
3889
3874
|
'&[data-orientation="horizontal"]': {
|
|
3890
3875
|
height: 2,
|
|
@@ -3950,7 +3935,7 @@ var StyledSlider = styled(SliderPrimitive.Root, {
|
|
|
3950
3935
|
"@hover": {
|
|
3951
3936
|
"&:hover": (_a$2 = {},
|
|
3952
3937
|
_a$2["& ".concat(SliderTrack)] = {
|
|
3953
|
-
backgroundColor: "$
|
|
3938
|
+
backgroundColor: "$neutral8",
|
|
3954
3939
|
},
|
|
3955
3940
|
_a$2["& ".concat(SliderThumb)] = {
|
|
3956
3941
|
opacity: "1",
|
|
@@ -4153,7 +4138,7 @@ var SnackbarProvider = function (_a) {
|
|
|
4153
4138
|
minWidth: "334px",
|
|
4154
4139
|
maxWidth: "672px",
|
|
4155
4140
|
zIndex: 1000000,
|
|
4156
|
-
backgroundColor: "$
|
|
4141
|
+
backgroundColor: "$neutral4",
|
|
4157
4142
|
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)",
|
|
4158
4143
|
WebkitFontSmoothing: "antialiased",
|
|
4159
4144
|
MozOsxFontSmoothing: "grayscale",
|
|
@@ -4182,7 +4167,6 @@ var SnackbarProvider = function (_a) {
|
|
|
4182
4167
|
height: "36px",
|
|
4183
4168
|
padding: "8px",
|
|
4184
4169
|
margin: "0 8px 0 0",
|
|
4185
|
-
cursor: "pointer",
|
|
4186
4170
|
position: "relative",
|
|
4187
4171
|
pointerEvents: "auto",
|
|
4188
4172
|
WebkitTapHighlightColor: "transparent",
|
|
@@ -4280,11 +4264,11 @@ var StyledSwitch = styled(SwitchPrimitive.Root, {
|
|
|
4280
4264
|
margin: "0",
|
|
4281
4265
|
outline: "none",
|
|
4282
4266
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
4283
|
-
backgroundColor: "$
|
|
4267
|
+
backgroundColor: "$neutral5",
|
|
4284
4268
|
borderRadius: "$pill",
|
|
4285
4269
|
position: "relative",
|
|
4286
4270
|
"&:focus": {
|
|
4287
|
-
boxShadow: "0 0 0 2px $colors$
|
|
4271
|
+
boxShadow: "0 0 0 2px $colors$neutral8",
|
|
4288
4272
|
},
|
|
4289
4273
|
'&[data-state="checked"]': {
|
|
4290
4274
|
backgroundColor: "$blue9",
|
|
@@ -4446,7 +4430,7 @@ var TabLink = styled("a", {
|
|
|
4446
4430
|
outline: "none",
|
|
4447
4431
|
alignItems: "center",
|
|
4448
4432
|
justifyContent: "center",
|
|
4449
|
-
color: "$
|
|
4433
|
+
color: "$neutral11",
|
|
4450
4434
|
textDecoration: "none",
|
|
4451
4435
|
"@hover": {
|
|
4452
4436
|
"&:hover": {
|
|
@@ -4454,7 +4438,7 @@ var TabLink = styled("a", {
|
|
|
4454
4438
|
},
|
|
4455
4439
|
},
|
|
4456
4440
|
"&:focus": {
|
|
4457
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
4441
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
4458
4442
|
},
|
|
4459
4443
|
variants: {
|
|
4460
4444
|
active: {
|
|
@@ -4492,7 +4476,7 @@ var TabsTriggerBase = styled(TabsPrimitive.Trigger, {
|
|
|
4492
4476
|
outline: "none",
|
|
4493
4477
|
alignItems: "center",
|
|
4494
4478
|
justifyContent: "center",
|
|
4495
|
-
color: "$
|
|
4479
|
+
color: "$neutral11",
|
|
4496
4480
|
border: "1px solid transparent",
|
|
4497
4481
|
borderTopLeftRadius: "$2",
|
|
4498
4482
|
borderTopRightRadius: "$2",
|
|
@@ -4504,7 +4488,7 @@ var TabsTriggerBase = styled(TabsPrimitive.Trigger, {
|
|
|
4504
4488
|
},
|
|
4505
4489
|
'&[data-state="active"]': {
|
|
4506
4490
|
color: "$hiContrast",
|
|
4507
|
-
borderColor: "$
|
|
4491
|
+
borderColor: "$neutral6",
|
|
4508
4492
|
borderBottomColor: "transparent",
|
|
4509
4493
|
},
|
|
4510
4494
|
'&[data-orientation="vertical"]': {
|
|
@@ -4513,7 +4497,7 @@ var TabsTriggerBase = styled(TabsPrimitive.Trigger, {
|
|
|
4513
4497
|
borderBottomLeftRadius: "$2",
|
|
4514
4498
|
borderBottomColor: "transparent",
|
|
4515
4499
|
'&[data-state="active"]': {
|
|
4516
|
-
borderBottomColor: "$
|
|
4500
|
+
borderBottomColor: "$neutral6",
|
|
4517
4501
|
borderRightColor: "transparent",
|
|
4518
4502
|
},
|
|
4519
4503
|
},
|
|
@@ -4523,11 +4507,11 @@ var StyledTabsListBase = styled(TabsPrimitive.List, {
|
|
|
4523
4507
|
display: "flex",
|
|
4524
4508
|
"&:focus": {
|
|
4525
4509
|
outline: "none",
|
|
4526
|
-
boxShadow: "inset 0 0 0 1px $
|
|
4510
|
+
boxShadow: "inset 0 0 0 1px $neutral8, 0 0 0 1px $neutral8",
|
|
4527
4511
|
},
|
|
4528
4512
|
'&[data-orientation="vertical"]': {
|
|
4529
4513
|
flexDirection: "column",
|
|
4530
|
-
boxShadow: "inset -1px 0 0 $
|
|
4514
|
+
boxShadow: "inset -1px 0 0 $neutral6",
|
|
4531
4515
|
},
|
|
4532
4516
|
});
|
|
4533
4517
|
var TabsListBase = React.forwardRef(function (props, forwardedRef) { return (React.createElement(React.Fragment, null,
|
|
@@ -4538,7 +4522,7 @@ var TabsContentBase = styled(TabsPrimitive.Content, {
|
|
|
4538
4522
|
flexGrow: 1,
|
|
4539
4523
|
"&:focus": {
|
|
4540
4524
|
outline: "none",
|
|
4541
|
-
boxShadow: "inset 0 0 0 1px $
|
|
4525
|
+
boxShadow: "inset 0 0 0 1px $neutral8, 0 0 0 1px $neutral8",
|
|
4542
4526
|
},
|
|
4543
4527
|
});
|
|
4544
4528
|
var TabsTrigger = styled(TabsTriggerBase, {
|
|
@@ -4587,7 +4571,7 @@ var TextArea = styled("textarea", {
|
|
|
4587
4571
|
width: "100%",
|
|
4588
4572
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
4589
4573
|
backgroundColor: "$loContrast",
|
|
4590
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
4574
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
4591
4575
|
color: "$hiContrast",
|
|
4592
4576
|
fontVariantNumeric: "tabular-nums",
|
|
4593
4577
|
position: "relative",
|
|
@@ -4598,22 +4582,22 @@ var TextArea = styled("textarea", {
|
|
|
4598
4582
|
zIndex: "1",
|
|
4599
4583
|
},
|
|
4600
4584
|
"&::placeholder": {
|
|
4601
|
-
color: "$
|
|
4585
|
+
color: "$neutral9",
|
|
4602
4586
|
},
|
|
4603
4587
|
"&:disabled": {
|
|
4604
4588
|
pointerEvents: "none",
|
|
4605
|
-
backgroundColor: "$
|
|
4606
|
-
color: "$
|
|
4589
|
+
backgroundColor: "$neutral2",
|
|
4590
|
+
color: "$neutral8",
|
|
4607
4591
|
cursor: "not-allowed",
|
|
4608
4592
|
resize: "none",
|
|
4609
4593
|
"&::placeholder": {
|
|
4610
|
-
color: "$
|
|
4594
|
+
color: "$neutral7",
|
|
4611
4595
|
},
|
|
4612
4596
|
},
|
|
4613
4597
|
"&:read-only": {
|
|
4614
|
-
backgroundColor: "$
|
|
4598
|
+
backgroundColor: "$neutral2",
|
|
4615
4599
|
"&:focus": {
|
|
4616
|
-
boxShadow: "inset 0px 0px 0px 1px $colors$
|
|
4600
|
+
boxShadow: "inset 0px 0px 0px 1px $colors$neutral7",
|
|
4617
4601
|
},
|
|
4618
4602
|
},
|
|
4619
4603
|
variants: {
|
|
@@ -4727,12 +4711,12 @@ var TreeItem = styled("div", {
|
|
|
4727
4711
|
variants: {
|
|
4728
4712
|
variant: {
|
|
4729
4713
|
gray: {
|
|
4730
|
-
backgroundColor: "$
|
|
4714
|
+
backgroundColor: "$neutral3",
|
|
4731
4715
|
"&:hover": {
|
|
4732
|
-
backgroundColor: "$
|
|
4716
|
+
backgroundColor: "$neutral4",
|
|
4733
4717
|
},
|
|
4734
4718
|
"&:active": {
|
|
4735
|
-
backgroundColor: "$
|
|
4719
|
+
backgroundColor: "$neutral5",
|
|
4736
4720
|
},
|
|
4737
4721
|
},
|
|
4738
4722
|
red: {
|