@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.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: "$neutral12",
|
|
87
|
+
// loContrast: '$neutral1',
|
|
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,28 +112,6 @@ 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
|
-
// },
|
|
137
115
|
fontSizes: {
|
|
138
116
|
1: "12px",
|
|
139
117
|
2: "13px",
|
|
@@ -145,17 +123,6 @@ var styled = (_a$8 = react.createStitches({
|
|
|
145
123
|
8: "35px",
|
|
146
124
|
9: "59px",
|
|
147
125
|
},
|
|
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
|
-
// },
|
|
159
126
|
radii: {
|
|
160
127
|
1: "4px",
|
|
161
128
|
2: "6px",
|
|
@@ -301,7 +268,7 @@ var styled = (_a$8 = react.createStitches({
|
|
|
301
268
|
createTheme("dark-theme", {
|
|
302
269
|
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), {
|
|
303
270
|
// Semantic colors
|
|
304
|
-
hiContrast: "$
|
|
271
|
+
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%)" }),
|
|
305
272
|
});
|
|
306
273
|
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);
|
|
307
274
|
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);
|
|
@@ -357,12 +324,12 @@ var getThemes = function () {
|
|
|
357
324
|
var themes = naturalPairingsKeys.reduce(function (prev, primary) {
|
|
358
325
|
var _a;
|
|
359
326
|
return (tslib.__assign(tslib.__assign({}, prev), (_a = {}, _a["light-theme-".concat(primary)] = createTheme("light-theme-".concat(primary), {
|
|
360
|
-
colors: tslib.__assign(tslib.__assign({}, lightThemeColors), {
|
|
327
|
+
colors: tslib.__assign(tslib.__assign({}, lightThemeColors), { primary: "hsl(0, 0%, 0%)", background: "hsl(0, 0%, 100%)",
|
|
361
328
|
// Semantic colors
|
|
362
329
|
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%)" }),
|
|
363
330
|
fonts: fonts,
|
|
364
331
|
}), _a["dark-theme-".concat(primary)] = createTheme("dark-theme-".concat(primary), {
|
|
365
|
-
colors: tslib.__assign(tslib.__assign({}, darkThemeColors), {
|
|
332
|
+
colors: tslib.__assign(tslib.__assign({}, darkThemeColors), { primary: "hsl(0, 0%, 100%)", background: "hsl(0, 0%, 0%)",
|
|
366
333
|
// Semantic colors
|
|
367
334
|
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%)" }),
|
|
368
335
|
fonts: fonts,
|
|
@@ -373,7 +340,7 @@ var getThemes = function () {
|
|
|
373
340
|
|
|
374
341
|
var StyledAccordion = styled(AccordionPrimitive__namespace.Root, {
|
|
375
342
|
boxShadow: "0 0 0 1px $colors$neutral6",
|
|
376
|
-
borderRadius: "$
|
|
343
|
+
borderRadius: "$2",
|
|
377
344
|
});
|
|
378
345
|
var Accordion = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
|
379
346
|
var children = _a.children, props = tslib.__rest(_a, ["children"]);
|
|
@@ -381,9 +348,27 @@ var Accordion = React__default["default"].forwardRef(function (_a, forwardedRef)
|
|
|
381
348
|
});
|
|
382
349
|
Accordion.displayName = "Accordion";
|
|
383
350
|
var StyledItem = styled(AccordionPrimitive__namespace.Item, {
|
|
384
|
-
borderTop: "1px solid $colors$
|
|
351
|
+
borderTop: "1px solid $colors$neutral6",
|
|
352
|
+
"button:focus": { boxShadow: "none" },
|
|
353
|
+
"&:first-of-type": {
|
|
354
|
+
borderTop: "none",
|
|
355
|
+
},
|
|
385
356
|
"&:last-of-type": {
|
|
386
|
-
borderBottom: "
|
|
357
|
+
borderBottom: "none",
|
|
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
|
+
},
|
|
387
372
|
},
|
|
388
373
|
});
|
|
389
374
|
var StyledHeader = styled(AccordionPrimitive__namespace.Header, {
|
|
@@ -405,15 +390,12 @@ var StyledTrigger = styled(AccordionPrimitive__namespace.Trigger, {
|
|
|
405
390
|
p: "$2",
|
|
406
391
|
color: "$hiContrast",
|
|
407
392
|
width: "100%",
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
"&:hover": {
|
|
411
|
-
backgroundColor: "$slate2",
|
|
412
|
-
},
|
|
393
|
+
"&:hover": {
|
|
394
|
+
backgroundColor: "$neutral2",
|
|
413
395
|
},
|
|
414
396
|
"&:focus": {
|
|
415
397
|
outline: "none",
|
|
416
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
398
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
417
399
|
},
|
|
418
400
|
svg: {
|
|
419
401
|
transition: "transform 175ms cubic-bezier(0.65, 0, 0.35, 1)",
|
|
@@ -458,11 +440,11 @@ var Alert = styled("div", {
|
|
|
458
440
|
variant: {
|
|
459
441
|
loContrast: {
|
|
460
442
|
backgroundColor: "$loContrast",
|
|
461
|
-
borderColor: "$
|
|
443
|
+
borderColor: "$neutral6",
|
|
462
444
|
},
|
|
463
445
|
gray: {
|
|
464
|
-
backgroundColor: "$
|
|
465
|
-
borderColor: "$
|
|
446
|
+
backgroundColor: "$neutral2",
|
|
447
|
+
borderColor: "$neutral6",
|
|
466
448
|
},
|
|
467
449
|
blue: {
|
|
468
450
|
backgroundColor: "$blue2",
|
|
@@ -516,6 +498,7 @@ var StyledOverlay$2 = styled(AlertDialogPrimitive__namespace.Overlay, overlaySty
|
|
|
516
498
|
left: 0,
|
|
517
499
|
backgroundColor: "rgba(0,0,0,.35)",
|
|
518
500
|
inset: 0,
|
|
501
|
+
zIndex: 1000,
|
|
519
502
|
variants: {
|
|
520
503
|
animation: {
|
|
521
504
|
true: {
|
|
@@ -548,6 +531,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
|
|
|
548
531
|
borderRadius: "$4",
|
|
549
532
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
|
550
533
|
color: "$black",
|
|
534
|
+
zIndex: 1001,
|
|
551
535
|
"&:focus": {
|
|
552
536
|
outline: "none",
|
|
553
537
|
},
|
|
@@ -572,7 +556,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
|
|
|
572
556
|
});
|
|
573
557
|
var AlertDialogContent = function (_a) {
|
|
574
558
|
var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = tslib.__rest(_a, ["children", "animation"]);
|
|
575
|
-
return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props), children));
|
|
559
|
+
return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props, { style: { overflow: "auto" } }), children));
|
|
576
560
|
};
|
|
577
561
|
var AlertDialogTitle = AlertDialogPrimitive__namespace.Title;
|
|
578
562
|
var AlertDialogDescription = AlertDialogPrimitive__namespace.Description;
|
|
@@ -601,7 +585,7 @@ var Status = styled("div", {
|
|
|
601
585
|
},
|
|
602
586
|
variant: {
|
|
603
587
|
gray: {
|
|
604
|
-
backgroundColor: "$
|
|
588
|
+
backgroundColor: "$neutral7",
|
|
605
589
|
},
|
|
606
590
|
blue: {
|
|
607
591
|
backgroundColor: "$blue9",
|
|
@@ -685,7 +669,7 @@ var StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
|
|
|
685
669
|
color: "$loContrast",
|
|
686
670
|
},
|
|
687
671
|
gray: {
|
|
688
|
-
backgroundColor: "$
|
|
672
|
+
backgroundColor: "$neutral5",
|
|
689
673
|
},
|
|
690
674
|
tomato: {
|
|
691
675
|
backgroundColor: "$tomato5",
|
|
@@ -889,9 +873,9 @@ var Badge = styled("span", {
|
|
|
889
873
|
userSelect: "none",
|
|
890
874
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
891
875
|
"&:disabled": {
|
|
892
|
-
backgroundColor: "$
|
|
876
|
+
backgroundColor: "$neutral3",
|
|
893
877
|
pointerEvents: "none",
|
|
894
|
-
color: "$
|
|
878
|
+
color: "$neutral8",
|
|
895
879
|
},
|
|
896
880
|
"&::before": {
|
|
897
881
|
boxSizing: "border-box",
|
|
@@ -902,9 +886,9 @@ var Badge = styled("span", {
|
|
|
902
886
|
content: '""',
|
|
903
887
|
},
|
|
904
888
|
// Custom
|
|
905
|
-
backgroundColor: "$
|
|
889
|
+
backgroundColor: "$neutral3",
|
|
906
890
|
borderRadius: "$pill",
|
|
907
|
-
color: "$
|
|
891
|
+
color: "$neutral11",
|
|
908
892
|
whiteSpace: "nowrap",
|
|
909
893
|
variants: {
|
|
910
894
|
size: {
|
|
@@ -935,10 +919,10 @@ var Badge = styled("span", {
|
|
|
935
919
|
},
|
|
936
920
|
},
|
|
937
921
|
gray: {
|
|
938
|
-
backgroundColor: "$
|
|
939
|
-
color: "$
|
|
922
|
+
backgroundColor: "$neutral3",
|
|
923
|
+
color: "$neutral11",
|
|
940
924
|
"&:focus": {
|
|
941
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
925
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
942
926
|
},
|
|
943
927
|
},
|
|
944
928
|
red: {
|
|
@@ -1719,11 +1703,11 @@ var StyledCheckbox = styled(CheckboxPrimitive__namespace.Root, {
|
|
|
1719
1703
|
padding: "0",
|
|
1720
1704
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
1721
1705
|
color: "$hiContrast",
|
|
1722
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
1706
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
1723
1707
|
overflow: "hidden",
|
|
1724
1708
|
"@hover": {
|
|
1725
1709
|
"&:hover": {
|
|
1726
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
1710
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
|
1727
1711
|
},
|
|
1728
1712
|
},
|
|
1729
1713
|
"&:focus": {
|
|
@@ -1769,8 +1753,8 @@ var Code = styled("code", {
|
|
|
1769
1753
|
variants: {
|
|
1770
1754
|
variant: {
|
|
1771
1755
|
gray: {
|
|
1772
|
-
backgroundColor: "$
|
|
1773
|
-
color: "$
|
|
1756
|
+
backgroundColor: "$neutral3",
|
|
1757
|
+
color: "$neutral11",
|
|
1774
1758
|
},
|
|
1775
1759
|
violet: {
|
|
1776
1760
|
backgroundColor: "$violet3",
|
|
@@ -1942,11 +1926,11 @@ var itemCss = css(baseItemCss, {
|
|
|
1942
1926
|
color: "white",
|
|
1943
1927
|
},
|
|
1944
1928
|
"&[data-disabled]": {
|
|
1945
|
-
color: "$
|
|
1929
|
+
color: "$neutral9",
|
|
1946
1930
|
},
|
|
1947
1931
|
});
|
|
1948
1932
|
var labelCss = css(baseItemCss, {
|
|
1949
|
-
color: "$
|
|
1933
|
+
color: "$neutral11",
|
|
1950
1934
|
});
|
|
1951
1935
|
var menuCss = css({
|
|
1952
1936
|
boxSizing: "border-box",
|
|
@@ -1956,7 +1940,7 @@ var menuCss = css({
|
|
|
1956
1940
|
var separatorCss = css({
|
|
1957
1941
|
height: 1,
|
|
1958
1942
|
my: "$1",
|
|
1959
|
-
backgroundColor: "$
|
|
1943
|
+
backgroundColor: "$neutral6",
|
|
1960
1944
|
});
|
|
1961
1945
|
var Menu = styled(MenuPrimitive__namespace.Root, menuCss);
|
|
1962
1946
|
styled(MenuPrimitive__namespace.Content, panelStyles);
|
|
@@ -2210,7 +2194,7 @@ var TextField = StyledTextField;
|
|
|
2210
2194
|
var SelectWrapper = styled("div", {
|
|
2211
2195
|
backgroundColor: "$loContrast",
|
|
2212
2196
|
borderRadius: "$2",
|
|
2213
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2197
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2214
2198
|
color: "$hiContrast",
|
|
2215
2199
|
fontFamily: "$untitled",
|
|
2216
2200
|
fontSize: "$1",
|
|
@@ -2267,37 +2251,37 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2267
2251
|
},
|
|
2268
2252
|
_a$6["& ".concat(Button)] = {
|
|
2269
2253
|
borderRadius: 0,
|
|
2270
|
-
boxShadow: "inset 0 1px $colors$
|
|
2254
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2271
2255
|
"&:hover": {
|
|
2272
|
-
boxShadow: "-1px 0 $colors$
|
|
2256
|
+
boxShadow: "-1px 0 $colors$neutral8, inset 0 1px $colors$neutral8, inset -1px 0 $colors$neutral8, inset 0 -1px $colors$neutral8",
|
|
2273
2257
|
},
|
|
2274
2258
|
"&:focus": {
|
|
2275
2259
|
zIndex: 1,
|
|
2276
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2260
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
2277
2261
|
},
|
|
2278
2262
|
"&:first-child": {
|
|
2279
2263
|
borderTopLeftRadius: "$1",
|
|
2280
2264
|
borderBottomLeftRadius: "$1",
|
|
2281
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2265
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2282
2266
|
"&:hover": {
|
|
2283
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2267
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
|
2284
2268
|
},
|
|
2285
2269
|
"&:focus": {
|
|
2286
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2270
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
2287
2271
|
},
|
|
2288
2272
|
},
|
|
2289
2273
|
"&:last-child": {
|
|
2290
2274
|
borderTopRightRadius: "$1",
|
|
2291
2275
|
borderBottomRightRadius: "$1",
|
|
2292
|
-
boxShadow: "inset 0 1px $colors$
|
|
2276
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2293
2277
|
"&:focus": {
|
|
2294
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2278
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
2295
2279
|
},
|
|
2296
2280
|
},
|
|
2297
2281
|
},
|
|
2298
2282
|
_a$6["& ".concat(TextField)] = {
|
|
2299
2283
|
borderRadius: 0,
|
|
2300
|
-
boxShadow: "inset 0 1px $colors$
|
|
2284
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2301
2285
|
"&:focus": {
|
|
2302
2286
|
zIndex: 1,
|
|
2303
2287
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
@@ -2305,7 +2289,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2305
2289
|
"&:first-child": {
|
|
2306
2290
|
borderTopLeftRadius: "$1",
|
|
2307
2291
|
borderBottomLeftRadius: "$1",
|
|
2308
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2292
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2309
2293
|
"&:focus": {
|
|
2310
2294
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2311
2295
|
},
|
|
@@ -2313,7 +2297,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2313
2297
|
"&:last-child": {
|
|
2314
2298
|
borderTopRightRadius: "$1",
|
|
2315
2299
|
borderBottomRightRadius: "$1",
|
|
2316
|
-
boxShadow: "inset 0 1px $colors$
|
|
2300
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2317
2301
|
"&:focus": {
|
|
2318
2302
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2319
2303
|
},
|
|
@@ -2321,14 +2305,14 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2321
2305
|
},
|
|
2322
2306
|
_a$6["& ".concat(Select)] = {
|
|
2323
2307
|
borderRadius: 0,
|
|
2324
|
-
boxShadow: "inset 0 1px $colors$
|
|
2308
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2325
2309
|
"&:focus-within": {
|
|
2326
2310
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2327
2311
|
},
|
|
2328
2312
|
"&:first-child": {
|
|
2329
2313
|
borderTopLeftRadius: "$1",
|
|
2330
2314
|
borderBottomLeftRadius: "$1",
|
|
2331
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2315
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
2332
2316
|
"&:focus-within": {
|
|
2333
2317
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2334
2318
|
},
|
|
@@ -2336,7 +2320,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
|
2336
2320
|
"&:last-child": {
|
|
2337
2321
|
borderTopRightRadius: "$1",
|
|
2338
2322
|
borderBottomRightRadius: "$1",
|
|
2339
|
-
boxShadow: "inset 0 1px $colors$
|
|
2323
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
|
2340
2324
|
"&:focus-within": {
|
|
2341
2325
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
|
2342
2326
|
},
|
|
@@ -2373,23 +2357,23 @@ var IconButton = styled("button", {
|
|
|
2373
2357
|
boxSizing: "border-box",
|
|
2374
2358
|
},
|
|
2375
2359
|
backgroundColor: "$loContrast",
|
|
2376
|
-
border: "1px solid $
|
|
2360
|
+
border: "1px solid $neutral7",
|
|
2377
2361
|
"@hover": {
|
|
2378
2362
|
"&:hover": {
|
|
2379
|
-
borderColor: "$
|
|
2363
|
+
borderColor: "$neutral8",
|
|
2380
2364
|
},
|
|
2381
2365
|
},
|
|
2382
2366
|
"&:active": {
|
|
2383
|
-
backgroundColor: "$
|
|
2367
|
+
backgroundColor: "$neutral2",
|
|
2384
2368
|
},
|
|
2385
2369
|
"&:focus": {
|
|
2386
|
-
borderColor: "$
|
|
2387
|
-
boxShadow: "0 0 0 1px $colors$
|
|
2370
|
+
borderColor: "$neutral8",
|
|
2371
|
+
boxShadow: "0 0 0 1px $colors$neutral8",
|
|
2388
2372
|
},
|
|
2389
2373
|
"&:disabled": {
|
|
2390
2374
|
pointerEvents: "none",
|
|
2391
2375
|
backgroundColor: "transparent",
|
|
2392
|
-
color: "$
|
|
2376
|
+
color: "$neutral6",
|
|
2393
2377
|
},
|
|
2394
2378
|
variants: {
|
|
2395
2379
|
size: {
|
|
@@ -2420,17 +2404,17 @@ var IconButton = styled("button", {
|
|
|
2420
2404
|
borderWidth: "0",
|
|
2421
2405
|
"@hover": {
|
|
2422
2406
|
"&:hover": {
|
|
2423
|
-
backgroundColor: "$
|
|
2407
|
+
backgroundColor: "$neutralA3",
|
|
2424
2408
|
},
|
|
2425
2409
|
},
|
|
2426
2410
|
"&:focus": {
|
|
2427
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
2411
|
+
boxShadow: "inset 0 0 0 1px $colors$neutralA8, 0 0 0 1px $colors$neutralA8",
|
|
2428
2412
|
},
|
|
2429
2413
|
"&:active": {
|
|
2430
|
-
backgroundColor: "$
|
|
2414
|
+
backgroundColor: "$neutralA4",
|
|
2431
2415
|
},
|
|
2432
2416
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
|
2433
|
-
backgroundColor: "$
|
|
2417
|
+
backgroundColor: "$neutralA4",
|
|
2434
2418
|
},
|
|
2435
2419
|
},
|
|
2436
2420
|
raised: {
|
|
@@ -2441,17 +2425,17 @@ var IconButton = styled("button", {
|
|
|
2441
2425
|
},
|
|
2442
2426
|
},
|
|
2443
2427
|
"&:focus": {
|
|
2444
|
-
borderColor: "$
|
|
2445
|
-
boxShadow: "0 0 0 1px $colors$
|
|
2428
|
+
borderColor: "$neutral8",
|
|
2429
|
+
boxShadow: "0 0 0 1px $colors$neutral8, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)",
|
|
2446
2430
|
},
|
|
2447
2431
|
"&:active": {
|
|
2448
|
-
backgroundColor: "$
|
|
2432
|
+
backgroundColor: "$neutral4",
|
|
2449
2433
|
},
|
|
2450
2434
|
},
|
|
2451
2435
|
},
|
|
2452
2436
|
state: {
|
|
2453
2437
|
active: {
|
|
2454
|
-
backgroundColor: "$
|
|
2438
|
+
backgroundColor: "$neutral4",
|
|
2455
2439
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
|
2456
2440
|
"@hover": {
|
|
2457
2441
|
"&:hover": {
|
|
@@ -2459,11 +2443,11 @@ var IconButton = styled("button", {
|
|
|
2459
2443
|
},
|
|
2460
2444
|
},
|
|
2461
2445
|
"&:active": {
|
|
2462
|
-
backgroundColor: "$
|
|
2446
|
+
backgroundColor: "$neutral4",
|
|
2463
2447
|
},
|
|
2464
2448
|
},
|
|
2465
2449
|
waiting: {
|
|
2466
|
-
backgroundColor: "$
|
|
2450
|
+
backgroundColor: "$neutral4",
|
|
2467
2451
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
|
2468
2452
|
"@hover": {
|
|
2469
2453
|
"&:hover": {
|
|
@@ -2471,7 +2455,7 @@ var IconButton = styled("button", {
|
|
|
2471
2455
|
},
|
|
2472
2456
|
},
|
|
2473
2457
|
"&:active": {
|
|
2474
|
-
backgroundColor: "$
|
|
2458
|
+
backgroundColor: "$neutral4",
|
|
2475
2459
|
},
|
|
2476
2460
|
},
|
|
2477
2461
|
},
|
|
@@ -2501,8 +2485,8 @@ var StyledOverlay$1 = styled(DialogPrimitive__namespace.Overlay, overlayStyles,
|
|
|
2501
2485
|
bottom: 0,
|
|
2502
2486
|
left: 0,
|
|
2503
2487
|
backgroundColor: "rgba(0,0,0,.35)",
|
|
2504
|
-
backdropFilter: "blur(5px)",
|
|
2505
2488
|
inset: 0,
|
|
2489
|
+
zIndex: 1000,
|
|
2506
2490
|
variants: {
|
|
2507
2491
|
animation: {
|
|
2508
2492
|
true: {
|
|
@@ -2534,6 +2518,7 @@ var StyledDialogContent = styled(DialogPrimitive__namespace.Content, panelStyles
|
|
|
2534
2518
|
borderRadius: "$4",
|
|
2535
2519
|
boxShadow: "$colors$shadowLight 0px 10px 38px -10px, $colors$shadowDark 0px 10px 20px -15px",
|
|
2536
2520
|
color: "$black",
|
|
2521
|
+
zIndex: 1001,
|
|
2537
2522
|
"&:focus": {
|
|
2538
2523
|
outline: "none",
|
|
2539
2524
|
},
|
|
@@ -2563,13 +2548,12 @@ var StyledCloseButton$1 = styled(DialogPrimitive__namespace.Close, {
|
|
|
2563
2548
|
position: "absolute",
|
|
2564
2549
|
top: "$2",
|
|
2565
2550
|
right: "$2",
|
|
2566
|
-
cursor: "pointer"
|
|
2567
2551
|
});
|
|
2568
2552
|
var DialogContent = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
|
2569
2553
|
var children = _a.children; _a.animation; var props = tslib.__rest(_a, ["children", "animation"]);
|
|
2570
2554
|
return (React__default["default"].createElement(DialogPrimitive__namespace.Portal, null,
|
|
2571
2555
|
React__default["default"].createElement(StyledOverlay$1, null),
|
|
2572
|
-
React__default["default"].createElement(StyledDialogContent, tslib.__assign({}, props, { ref: forwardedRef }),
|
|
2556
|
+
React__default["default"].createElement(StyledDialogContent, tslib.__assign({}, props, { ref: forwardedRef, style: { overflow: "auto" } }),
|
|
2573
2557
|
children,
|
|
2574
2558
|
React__default["default"].createElement(StyledCloseButton$1, { asChild: true },
|
|
2575
2559
|
React__default["default"].createElement(IconButton, { variant: "ghost" },
|
|
@@ -2587,7 +2571,7 @@ for (var _i = 0, naturalPairingsKeys_1 = naturalPairingsKeys; _i < naturalPairin
|
|
|
2587
2571
|
colorVariants[color] = {
|
|
2588
2572
|
"&:focus": {
|
|
2589
2573
|
outline: "none",
|
|
2590
|
-
backgroundColor: "$"
|
|
2574
|
+
backgroundColor: "$neutral4",
|
|
2591
2575
|
color: "$hiContrast",
|
|
2592
2576
|
},
|
|
2593
2577
|
};
|
|
@@ -2635,6 +2619,9 @@ var DropdownMenuRadioItemBase = React__default["default"].forwardRef(function (_
|
|
|
2635
2619
|
});
|
|
2636
2620
|
DropdownMenuRadioItemBase.displayName = "DropdownMenuRadioItemBase";
|
|
2637
2621
|
var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
2622
|
+
"&:focus": {
|
|
2623
|
+
backgroundColor: "$neutral4",
|
|
2624
|
+
},
|
|
2638
2625
|
variants: {
|
|
2639
2626
|
color: tslib.__assign({ primary: {
|
|
2640
2627
|
"&:focus": {
|
|
@@ -2644,9 +2631,6 @@ var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
|
2644
2631
|
},
|
|
2645
2632
|
} }, colorVariants),
|
|
2646
2633
|
},
|
|
2647
|
-
defaultVariants: {
|
|
2648
|
-
color: "primary",
|
|
2649
|
-
},
|
|
2650
2634
|
});
|
|
2651
2635
|
var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
2652
2636
|
variants: {
|
|
@@ -2663,6 +2647,7 @@ var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
|
2663
2647
|
},
|
|
2664
2648
|
});
|
|
2665
2649
|
var DropdownMenuCheckboxItem = styled(DropdownMenuCheckboxItemBase, {
|
|
2650
|
+
backgroundColor: "$neutral4",
|
|
2666
2651
|
variants: {
|
|
2667
2652
|
color: tslib.__assign({ primary: {
|
|
2668
2653
|
"&:focus": {
|
|
@@ -2924,7 +2909,7 @@ var Text = styled("span", {
|
|
|
2924
2909
|
color: "$bronze11",
|
|
2925
2910
|
},
|
|
2926
2911
|
gray: {
|
|
2927
|
-
color: "$
|
|
2912
|
+
color: "$neutral11",
|
|
2928
2913
|
},
|
|
2929
2914
|
primary: {
|
|
2930
2915
|
color: "$primary11",
|
|
@@ -3109,7 +3094,7 @@ var Kbd = styled("kbd", {
|
|
|
3109
3094
|
userSelect: "none",
|
|
3110
3095
|
cursor: "default",
|
|
3111
3096
|
whiteSpace: "nowrap",
|
|
3112
|
-
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$
|
|
3097
|
+
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",
|
|
3113
3098
|
textShadow: "0 0 1px rgba(255, 255, 255, 0.5)",
|
|
3114
3099
|
fontFamily: "inherit",
|
|
3115
3100
|
fontWeight: 400,
|
|
@@ -3270,7 +3255,7 @@ var Paragraph = React__default["default"].forwardRef(function (props, forwardedR
|
|
|
3270
3255
|
var textCss = {
|
|
3271
3256
|
1: { lineHeight: "25px", "@bp2": { lineHeight: "27px" } },
|
|
3272
3257
|
2: {
|
|
3273
|
-
color: "$
|
|
3258
|
+
color: "$neutral11",
|
|
3274
3259
|
lineHeight: "27px",
|
|
3275
3260
|
"@bp2": { lineHeight: "30px" },
|
|
3276
3261
|
},
|
|
@@ -3321,13 +3306,13 @@ var StyledProgressBar = styled(ProgressPrimitive__namespace.Root, {
|
|
|
3321
3306
|
overflow: "hidden",
|
|
3322
3307
|
borderRadius: "$pill",
|
|
3323
3308
|
'&[data-state="indeterminate"]': {
|
|
3324
|
-
backgroundColor: "$
|
|
3309
|
+
backgroundColor: "$neutral4",
|
|
3325
3310
|
"&::after": {
|
|
3326
3311
|
animationName: indeterminateProgress,
|
|
3327
3312
|
animationDuration: "1500ms",
|
|
3328
3313
|
animationIterationCount: "infinite",
|
|
3329
3314
|
animationTimingFunction: "cubic-bezier(0.65, 0, 0.35, 1)",
|
|
3330
|
-
backgroundColor: "$
|
|
3315
|
+
backgroundColor: "$neutral7",
|
|
3331
3316
|
boxSizing: "border-box",
|
|
3332
3317
|
borderRadius: "$pill",
|
|
3333
3318
|
content: '""',
|
|
@@ -3341,7 +3326,7 @@ var StyledProgressBar = styled(ProgressPrimitive__namespace.Root, {
|
|
|
3341
3326
|
variants: {
|
|
3342
3327
|
variant: {
|
|
3343
3328
|
gray: {
|
|
3344
|
-
background: "$
|
|
3329
|
+
background: "$neutral8",
|
|
3345
3330
|
},
|
|
3346
3331
|
blue: {
|
|
3347
3332
|
backgroundColor: "$blue9",
|
|
@@ -3363,7 +3348,7 @@ var ProgressBarIndicator = styled(ProgressPrimitive__namespace.Indicator, {
|
|
|
3363
3348
|
bottom: 0,
|
|
3364
3349
|
left: 0,
|
|
3365
3350
|
width: "100%",
|
|
3366
|
-
backgroundColor: "$
|
|
3351
|
+
backgroundColor: "$neutral4",
|
|
3367
3352
|
transition: "transform 150ms cubic-bezier(0.65, 0, 0.35, 1)",
|
|
3368
3353
|
});
|
|
3369
3354
|
var ProgressBar = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
|
@@ -3527,11 +3512,11 @@ var StyledRadio$1 = styled(RadioGroupPrimitive__namespace.Item, {
|
|
|
3527
3512
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
3528
3513
|
borderRadius: "50%",
|
|
3529
3514
|
color: "$hiContrast",
|
|
3530
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
3515
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
3531
3516
|
overflow: "hidden",
|
|
3532
3517
|
"@hover": {
|
|
3533
3518
|
"&:hover": {
|
|
3534
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
3519
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
|
3535
3520
|
},
|
|
3536
3521
|
},
|
|
3537
3522
|
"&:focus": {
|
|
@@ -3656,7 +3641,7 @@ var Separator = styled(SeparatorPrimitive__namespace.Root, {
|
|
|
3656
3641
|
border: "none",
|
|
3657
3642
|
margin: 0,
|
|
3658
3643
|
flexShrink: 0,
|
|
3659
|
-
backgroundColor: "$
|
|
3644
|
+
backgroundColor: "$neutral6",
|
|
3660
3645
|
cursor: "default",
|
|
3661
3646
|
variants: {
|
|
3662
3647
|
size: {
|
|
@@ -3815,25 +3800,25 @@ var SimpleToggle = styled(TogglePrimitive__namespace.Root, {
|
|
|
3815
3800
|
backgroundColor: "transparent",
|
|
3816
3801
|
"@hover": {
|
|
3817
3802
|
"&:hover": {
|
|
3818
|
-
backgroundColor: "$
|
|
3803
|
+
backgroundColor: "$neutralA3",
|
|
3819
3804
|
},
|
|
3820
3805
|
},
|
|
3821
3806
|
"&:active": {
|
|
3822
|
-
backgroundColor: "$
|
|
3807
|
+
backgroundColor: "$neutralA4",
|
|
3823
3808
|
},
|
|
3824
3809
|
"&:focus": {
|
|
3825
|
-
boxShadow: "inset 0 0 0 1px $
|
|
3810
|
+
boxShadow: "inset 0 0 0 1px $neutralA8, 0 0 0 1px $neutralA8",
|
|
3826
3811
|
zIndex: 1,
|
|
3827
3812
|
},
|
|
3828
3813
|
'&[data-state="on"]': {
|
|
3829
|
-
backgroundColor: "$
|
|
3814
|
+
backgroundColor: "$neutralA5",
|
|
3830
3815
|
"@hover": {
|
|
3831
3816
|
"&:hover": {
|
|
3832
|
-
backgroundColor: "$
|
|
3817
|
+
backgroundColor: "$neutralA5",
|
|
3833
3818
|
},
|
|
3834
3819
|
},
|
|
3835
3820
|
"&:active": {
|
|
3836
|
-
backgroundColor: "$
|
|
3821
|
+
backgroundColor: "$neutralA7",
|
|
3837
3822
|
},
|
|
3838
3823
|
},
|
|
3839
3824
|
variants: {
|
|
@@ -3853,7 +3838,7 @@ var pulse = keyframes({
|
|
|
3853
3838
|
"100%": { opacity: "100%" },
|
|
3854
3839
|
});
|
|
3855
3840
|
var Skeleton = styled("div", {
|
|
3856
|
-
backgroundColor: "$
|
|
3841
|
+
backgroundColor: "$neutral4",
|
|
3857
3842
|
position: "relative",
|
|
3858
3843
|
overflow: "hidden",
|
|
3859
3844
|
"&::after": {
|
|
@@ -3862,7 +3847,7 @@ var Skeleton = styled("div", {
|
|
|
3862
3847
|
animationDirection: "alternate",
|
|
3863
3848
|
animationIterationCount: "infinite",
|
|
3864
3849
|
animationTimingFunction: "ease-in-out",
|
|
3865
|
-
backgroundColor: "$
|
|
3850
|
+
backgroundColor: "$neutral6",
|
|
3866
3851
|
borderRadius: "inherit",
|
|
3867
3852
|
bottom: 0,
|
|
3868
3853
|
content: '""',
|
|
@@ -3928,7 +3913,7 @@ var _a$2;
|
|
|
3928
3913
|
var SliderTrack = styled(SliderPrimitive__namespace.Track, {
|
|
3929
3914
|
position: "relative",
|
|
3930
3915
|
flexGrow: 1,
|
|
3931
|
-
backgroundColor: "$
|
|
3916
|
+
backgroundColor: "$neutral7",
|
|
3932
3917
|
borderRadius: "$pill",
|
|
3933
3918
|
'&[data-orientation="horizontal"]': {
|
|
3934
3919
|
height: 2,
|
|
@@ -3994,7 +3979,7 @@ var StyledSlider = styled(SliderPrimitive__namespace.Root, {
|
|
|
3994
3979
|
"@hover": {
|
|
3995
3980
|
"&:hover": (_a$2 = {},
|
|
3996
3981
|
_a$2["& ".concat(SliderTrack)] = {
|
|
3997
|
-
backgroundColor: "$
|
|
3982
|
+
backgroundColor: "$neutral8",
|
|
3998
3983
|
},
|
|
3999
3984
|
_a$2["& ".concat(SliderThumb)] = {
|
|
4000
3985
|
opacity: "1",
|
|
@@ -4197,7 +4182,7 @@ var SnackbarProvider = function (_a) {
|
|
|
4197
4182
|
minWidth: "334px",
|
|
4198
4183
|
maxWidth: "672px",
|
|
4199
4184
|
zIndex: 1000000,
|
|
4200
|
-
backgroundColor: "$
|
|
4185
|
+
backgroundColor: "$neutral4",
|
|
4201
4186
|
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)",
|
|
4202
4187
|
WebkitFontSmoothing: "antialiased",
|
|
4203
4188
|
MozOsxFontSmoothing: "grayscale",
|
|
@@ -4226,7 +4211,6 @@ var SnackbarProvider = function (_a) {
|
|
|
4226
4211
|
height: "36px",
|
|
4227
4212
|
padding: "8px",
|
|
4228
4213
|
margin: "0 8px 0 0",
|
|
4229
|
-
cursor: "pointer",
|
|
4230
4214
|
position: "relative",
|
|
4231
4215
|
pointerEvents: "auto",
|
|
4232
4216
|
WebkitTapHighlightColor: "transparent",
|
|
@@ -4324,11 +4308,11 @@ var StyledSwitch = styled(SwitchPrimitive__namespace.Root, {
|
|
|
4324
4308
|
margin: "0",
|
|
4325
4309
|
outline: "none",
|
|
4326
4310
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
4327
|
-
backgroundColor: "$
|
|
4311
|
+
backgroundColor: "$neutral5",
|
|
4328
4312
|
borderRadius: "$pill",
|
|
4329
4313
|
position: "relative",
|
|
4330
4314
|
"&:focus": {
|
|
4331
|
-
boxShadow: "0 0 0 2px $colors$
|
|
4315
|
+
boxShadow: "0 0 0 2px $colors$neutral8",
|
|
4332
4316
|
},
|
|
4333
4317
|
'&[data-state="checked"]': {
|
|
4334
4318
|
backgroundColor: "$blue9",
|
|
@@ -4490,7 +4474,7 @@ var TabLink = styled("a", {
|
|
|
4490
4474
|
outline: "none",
|
|
4491
4475
|
alignItems: "center",
|
|
4492
4476
|
justifyContent: "center",
|
|
4493
|
-
color: "$
|
|
4477
|
+
color: "$neutral11",
|
|
4494
4478
|
textDecoration: "none",
|
|
4495
4479
|
"@hover": {
|
|
4496
4480
|
"&:hover": {
|
|
@@ -4498,7 +4482,7 @@ var TabLink = styled("a", {
|
|
|
4498
4482
|
},
|
|
4499
4483
|
},
|
|
4500
4484
|
"&:focus": {
|
|
4501
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
4485
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
|
4502
4486
|
},
|
|
4503
4487
|
variants: {
|
|
4504
4488
|
active: {
|
|
@@ -4536,7 +4520,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
|
4536
4520
|
outline: "none",
|
|
4537
4521
|
alignItems: "center",
|
|
4538
4522
|
justifyContent: "center",
|
|
4539
|
-
color: "$
|
|
4523
|
+
color: "$neutral11",
|
|
4540
4524
|
border: "1px solid transparent",
|
|
4541
4525
|
borderTopLeftRadius: "$2",
|
|
4542
4526
|
borderTopRightRadius: "$2",
|
|
@@ -4548,7 +4532,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
|
4548
4532
|
},
|
|
4549
4533
|
'&[data-state="active"]': {
|
|
4550
4534
|
color: "$hiContrast",
|
|
4551
|
-
borderColor: "$
|
|
4535
|
+
borderColor: "$neutral6",
|
|
4552
4536
|
borderBottomColor: "transparent",
|
|
4553
4537
|
},
|
|
4554
4538
|
'&[data-orientation="vertical"]': {
|
|
@@ -4557,7 +4541,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
|
4557
4541
|
borderBottomLeftRadius: "$2",
|
|
4558
4542
|
borderBottomColor: "transparent",
|
|
4559
4543
|
'&[data-state="active"]': {
|
|
4560
|
-
borderBottomColor: "$
|
|
4544
|
+
borderBottomColor: "$neutral6",
|
|
4561
4545
|
borderRightColor: "transparent",
|
|
4562
4546
|
},
|
|
4563
4547
|
},
|
|
@@ -4567,11 +4551,11 @@ var StyledTabsListBase = styled(TabsPrimitive__namespace.List, {
|
|
|
4567
4551
|
display: "flex",
|
|
4568
4552
|
"&:focus": {
|
|
4569
4553
|
outline: "none",
|
|
4570
|
-
boxShadow: "inset 0 0 0 1px $
|
|
4554
|
+
boxShadow: "inset 0 0 0 1px $neutral8, 0 0 0 1px $neutral8",
|
|
4571
4555
|
},
|
|
4572
4556
|
'&[data-orientation="vertical"]': {
|
|
4573
4557
|
flexDirection: "column",
|
|
4574
|
-
boxShadow: "inset -1px 0 0 $
|
|
4558
|
+
boxShadow: "inset -1px 0 0 $neutral6",
|
|
4575
4559
|
},
|
|
4576
4560
|
});
|
|
4577
4561
|
var TabsListBase = React__default["default"].forwardRef(function (props, forwardedRef) { return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
|
@@ -4582,7 +4566,7 @@ var TabsContentBase = styled(TabsPrimitive__namespace.Content, {
|
|
|
4582
4566
|
flexGrow: 1,
|
|
4583
4567
|
"&:focus": {
|
|
4584
4568
|
outline: "none",
|
|
4585
|
-
boxShadow: "inset 0 0 0 1px $
|
|
4569
|
+
boxShadow: "inset 0 0 0 1px $neutral8, 0 0 0 1px $neutral8",
|
|
4586
4570
|
},
|
|
4587
4571
|
});
|
|
4588
4572
|
var TabsTrigger = styled(TabsTriggerBase, {
|
|
@@ -4631,7 +4615,7 @@ var TextArea = styled("textarea", {
|
|
|
4631
4615
|
width: "100%",
|
|
4632
4616
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
|
4633
4617
|
backgroundColor: "$loContrast",
|
|
4634
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
|
4618
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
|
4635
4619
|
color: "$hiContrast",
|
|
4636
4620
|
fontVariantNumeric: "tabular-nums",
|
|
4637
4621
|
position: "relative",
|
|
@@ -4642,22 +4626,22 @@ var TextArea = styled("textarea", {
|
|
|
4642
4626
|
zIndex: "1",
|
|
4643
4627
|
},
|
|
4644
4628
|
"&::placeholder": {
|
|
4645
|
-
color: "$
|
|
4629
|
+
color: "$neutral9",
|
|
4646
4630
|
},
|
|
4647
4631
|
"&:disabled": {
|
|
4648
4632
|
pointerEvents: "none",
|
|
4649
|
-
backgroundColor: "$
|
|
4650
|
-
color: "$
|
|
4633
|
+
backgroundColor: "$neutral2",
|
|
4634
|
+
color: "$neutral8",
|
|
4651
4635
|
cursor: "not-allowed",
|
|
4652
4636
|
resize: "none",
|
|
4653
4637
|
"&::placeholder": {
|
|
4654
|
-
color: "$
|
|
4638
|
+
color: "$neutral7",
|
|
4655
4639
|
},
|
|
4656
4640
|
},
|
|
4657
4641
|
"&:read-only": {
|
|
4658
|
-
backgroundColor: "$
|
|
4642
|
+
backgroundColor: "$neutral2",
|
|
4659
4643
|
"&:focus": {
|
|
4660
|
-
boxShadow: "inset 0px 0px 0px 1px $colors$
|
|
4644
|
+
boxShadow: "inset 0px 0px 0px 1px $colors$neutral7",
|
|
4661
4645
|
},
|
|
4662
4646
|
},
|
|
4663
4647
|
variants: {
|
|
@@ -4771,12 +4755,12 @@ var TreeItem = styled("div", {
|
|
|
4771
4755
|
variants: {
|
|
4772
4756
|
variant: {
|
|
4773
4757
|
gray: {
|
|
4774
|
-
backgroundColor: "$
|
|
4758
|
+
backgroundColor: "$neutral3",
|
|
4775
4759
|
"&:hover": {
|
|
4776
|
-
backgroundColor: "$
|
|
4760
|
+
backgroundColor: "$neutral4",
|
|
4777
4761
|
},
|
|
4778
4762
|
"&:active": {
|
|
4779
|
-
backgroundColor: "$
|
|
4763
|
+
backgroundColor: "$neutral5",
|
|
4780
4764
|
},
|
|
4781
4765
|
},
|
|
4782
4766
|
red: {
|