@livepeer/design-system 1.0.13 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/AlertDialog.d.ts +2 -1
- package/dist/index.es.js +123 -140
- package/dist/index.js +123 -140
- 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);
|
@@ -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,26 @@ 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
|
+
"&:first-of-type": {
|
353
|
+
borderTop: "none",
|
354
|
+
},
|
385
355
|
"&:last-of-type": {
|
386
|
-
borderBottom: "
|
356
|
+
borderBottom: "none",
|
357
|
+
},
|
358
|
+
"&:hover": {
|
359
|
+
"&:first-of-type": {
|
360
|
+
button: {
|
361
|
+
borderTopLeftRadius: "$2",
|
362
|
+
borderTopRightRadius: "$2",
|
363
|
+
},
|
364
|
+
},
|
365
|
+
"&:last-of-type": {
|
366
|
+
button: {
|
367
|
+
borderBottomLeftRadius: "$2",
|
368
|
+
borderBottomRightRadius: "$2",
|
369
|
+
},
|
370
|
+
},
|
387
371
|
},
|
388
372
|
});
|
389
373
|
var StyledHeader = styled(AccordionPrimitive__namespace.Header, {
|
@@ -405,14 +389,12 @@ var StyledTrigger = styled(AccordionPrimitive__namespace.Trigger, {
|
|
405
389
|
p: "$2",
|
406
390
|
color: "$hiContrast",
|
407
391
|
width: "100%",
|
408
|
-
"
|
409
|
-
"
|
410
|
-
backgroundColor: "$slate2",
|
411
|
-
},
|
392
|
+
"&:hover": {
|
393
|
+
backgroundColor: "$neutral2",
|
412
394
|
},
|
413
395
|
"&:focus": {
|
414
396
|
outline: "none",
|
415
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
397
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
416
398
|
},
|
417
399
|
svg: {
|
418
400
|
transition: "transform 175ms cubic-bezier(0.65, 0, 0.35, 1)",
|
@@ -457,11 +439,11 @@ var Alert = styled("div", {
|
|
457
439
|
variant: {
|
458
440
|
loContrast: {
|
459
441
|
backgroundColor: "$loContrast",
|
460
|
-
borderColor: "$
|
442
|
+
borderColor: "$neutral6",
|
461
443
|
},
|
462
444
|
gray: {
|
463
|
-
backgroundColor: "$
|
464
|
-
borderColor: "$
|
445
|
+
backgroundColor: "$neutral2",
|
446
|
+
borderColor: "$neutral6",
|
465
447
|
},
|
466
448
|
blue: {
|
467
449
|
backgroundColor: "$blue2",
|
@@ -573,7 +555,7 @@ var StyledAlertDialogContent = styled(AlertDialogPrimitive__namespace.Content, p
|
|
573
555
|
});
|
574
556
|
var AlertDialogContent = function (_a) {
|
575
557
|
var children = _a.children, _b = _a.animation, animation = _b === void 0 ? "scale" : _b, props = tslib.__rest(_a, ["children", "animation"]);
|
576
|
-
return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props, { style: { overflow:
|
558
|
+
return (React__default["default"].createElement(StyledAlertDialogContent, tslib.__assign({ animation: animation }, props, { style: { overflow: "auto" } }), children));
|
577
559
|
};
|
578
560
|
var AlertDialogTitle = AlertDialogPrimitive__namespace.Title;
|
579
561
|
var AlertDialogDescription = AlertDialogPrimitive__namespace.Description;
|
@@ -602,7 +584,7 @@ var Status = styled("div", {
|
|
602
584
|
},
|
603
585
|
variant: {
|
604
586
|
gray: {
|
605
|
-
backgroundColor: "$
|
587
|
+
backgroundColor: "$neutral7",
|
606
588
|
},
|
607
589
|
blue: {
|
608
590
|
backgroundColor: "$blue9",
|
@@ -686,7 +668,7 @@ var StyledAvatar = styled(AvatarPrimitive__namespace.Root, {
|
|
686
668
|
color: "$loContrast",
|
687
669
|
},
|
688
670
|
gray: {
|
689
|
-
backgroundColor: "$
|
671
|
+
backgroundColor: "$neutral5",
|
690
672
|
},
|
691
673
|
tomato: {
|
692
674
|
backgroundColor: "$tomato5",
|
@@ -890,9 +872,9 @@ var Badge = styled("span", {
|
|
890
872
|
userSelect: "none",
|
891
873
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
892
874
|
"&:disabled": {
|
893
|
-
backgroundColor: "$
|
875
|
+
backgroundColor: "$neutral3",
|
894
876
|
pointerEvents: "none",
|
895
|
-
color: "$
|
877
|
+
color: "$neutral8",
|
896
878
|
},
|
897
879
|
"&::before": {
|
898
880
|
boxSizing: "border-box",
|
@@ -903,9 +885,9 @@ var Badge = styled("span", {
|
|
903
885
|
content: '""',
|
904
886
|
},
|
905
887
|
// Custom
|
906
|
-
backgroundColor: "$
|
888
|
+
backgroundColor: "$neutral3",
|
907
889
|
borderRadius: "$pill",
|
908
|
-
color: "$
|
890
|
+
color: "$neutral11",
|
909
891
|
whiteSpace: "nowrap",
|
910
892
|
variants: {
|
911
893
|
size: {
|
@@ -936,10 +918,10 @@ var Badge = styled("span", {
|
|
936
918
|
},
|
937
919
|
},
|
938
920
|
gray: {
|
939
|
-
backgroundColor: "$
|
940
|
-
color: "$
|
921
|
+
backgroundColor: "$neutral3",
|
922
|
+
color: "$neutral11",
|
941
923
|
"&:focus": {
|
942
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
924
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
943
925
|
},
|
944
926
|
},
|
945
927
|
red: {
|
@@ -1705,11 +1687,11 @@ var StyledCheckbox = styled(CheckboxPrimitive__namespace.Root, {
|
|
1705
1687
|
padding: "0",
|
1706
1688
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
1707
1689
|
color: "$hiContrast",
|
1708
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
1690
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
1709
1691
|
overflow: "hidden",
|
1710
1692
|
"@hover": {
|
1711
1693
|
"&:hover": {
|
1712
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
1694
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
1713
1695
|
},
|
1714
1696
|
},
|
1715
1697
|
"&:focus": {
|
@@ -1755,8 +1737,8 @@ var Code = styled("code", {
|
|
1755
1737
|
variants: {
|
1756
1738
|
variant: {
|
1757
1739
|
gray: {
|
1758
|
-
backgroundColor: "$
|
1759
|
-
color: "$
|
1740
|
+
backgroundColor: "$neutral3",
|
1741
|
+
color: "$neutral11",
|
1760
1742
|
},
|
1761
1743
|
violet: {
|
1762
1744
|
backgroundColor: "$violet3",
|
@@ -1928,11 +1910,11 @@ var itemCss = css(baseItemCss, {
|
|
1928
1910
|
color: "white",
|
1929
1911
|
},
|
1930
1912
|
"&[data-disabled]": {
|
1931
|
-
color: "$
|
1913
|
+
color: "$neutral9",
|
1932
1914
|
},
|
1933
1915
|
});
|
1934
1916
|
var labelCss = css(baseItemCss, {
|
1935
|
-
color: "$
|
1917
|
+
color: "$neutral11",
|
1936
1918
|
});
|
1937
1919
|
var menuCss = css({
|
1938
1920
|
boxSizing: "border-box",
|
@@ -1942,7 +1924,7 @@ var menuCss = css({
|
|
1942
1924
|
var separatorCss = css({
|
1943
1925
|
height: 1,
|
1944
1926
|
my: "$1",
|
1945
|
-
backgroundColor: "$
|
1927
|
+
backgroundColor: "$neutral6",
|
1946
1928
|
});
|
1947
1929
|
var Menu = styled(MenuPrimitive__namespace.Root, menuCss);
|
1948
1930
|
styled(MenuPrimitive__namespace.Content, panelStyles);
|
@@ -2196,7 +2178,7 @@ var TextField = StyledTextField;
|
|
2196
2178
|
var SelectWrapper = styled("div", {
|
2197
2179
|
backgroundColor: "$loContrast",
|
2198
2180
|
borderRadius: "$2",
|
2199
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2181
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
2200
2182
|
color: "$hiContrast",
|
2201
2183
|
fontFamily: "$untitled",
|
2202
2184
|
fontSize: "$1",
|
@@ -2253,37 +2235,37 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2253
2235
|
},
|
2254
2236
|
_a$6["& ".concat(Button)] = {
|
2255
2237
|
borderRadius: 0,
|
2256
|
-
boxShadow: "inset 0 1px $colors$
|
2238
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
2257
2239
|
"&:hover": {
|
2258
|
-
boxShadow: "-1px 0 $colors$
|
2240
|
+
boxShadow: "-1px 0 $colors$neutral8, inset 0 1px $colors$neutral8, inset -1px 0 $colors$neutral8, inset 0 -1px $colors$neutral8",
|
2259
2241
|
},
|
2260
2242
|
"&:focus": {
|
2261
2243
|
zIndex: 1,
|
2262
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2244
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
2263
2245
|
},
|
2264
2246
|
"&:first-child": {
|
2265
2247
|
borderTopLeftRadius: "$1",
|
2266
2248
|
borderBottomLeftRadius: "$1",
|
2267
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2249
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
2268
2250
|
"&:hover": {
|
2269
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2251
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
2270
2252
|
},
|
2271
2253
|
"&:focus": {
|
2272
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2254
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
2273
2255
|
},
|
2274
2256
|
},
|
2275
2257
|
"&:last-child": {
|
2276
2258
|
borderTopRightRadius: "$1",
|
2277
2259
|
borderBottomRightRadius: "$1",
|
2278
|
-
boxShadow: "inset 0 1px $colors$
|
2260
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
2279
2261
|
"&:focus": {
|
2280
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2262
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
2281
2263
|
},
|
2282
2264
|
},
|
2283
2265
|
},
|
2284
2266
|
_a$6["& ".concat(TextField)] = {
|
2285
2267
|
borderRadius: 0,
|
2286
|
-
boxShadow: "inset 0 1px $colors$
|
2268
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
2287
2269
|
"&:focus": {
|
2288
2270
|
zIndex: 1,
|
2289
2271
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
@@ -2291,7 +2273,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2291
2273
|
"&:first-child": {
|
2292
2274
|
borderTopLeftRadius: "$1",
|
2293
2275
|
borderBottomLeftRadius: "$1",
|
2294
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2276
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
2295
2277
|
"&:focus": {
|
2296
2278
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2297
2279
|
},
|
@@ -2299,7 +2281,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2299
2281
|
"&:last-child": {
|
2300
2282
|
borderTopRightRadius: "$1",
|
2301
2283
|
borderBottomRightRadius: "$1",
|
2302
|
-
boxShadow: "inset 0 1px $colors$
|
2284
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
2303
2285
|
"&:focus": {
|
2304
2286
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2305
2287
|
},
|
@@ -2307,14 +2289,14 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2307
2289
|
},
|
2308
2290
|
_a$6["& ".concat(Select)] = {
|
2309
2291
|
borderRadius: 0,
|
2310
|
-
boxShadow: "inset 0 1px $colors$
|
2292
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
2311
2293
|
"&:focus-within": {
|
2312
2294
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2313
2295
|
},
|
2314
2296
|
"&:first-child": {
|
2315
2297
|
borderTopLeftRadius: "$1",
|
2316
2298
|
borderBottomLeftRadius: "$1",
|
2317
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2299
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
2318
2300
|
"&:focus-within": {
|
2319
2301
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2320
2302
|
},
|
@@ -2322,7 +2304,7 @@ var ControlGroup = styled("div", (_a$6 = {
|
|
2322
2304
|
"&:last-child": {
|
2323
2305
|
borderTopRightRadius: "$1",
|
2324
2306
|
borderBottomRightRadius: "$1",
|
2325
|
-
boxShadow: "inset 0 1px $colors$
|
2307
|
+
boxShadow: "inset 0 1px $colors$neutral7, inset -1px 0 $colors$neutral7, inset 0 -1px $colors$neutral7",
|
2326
2308
|
"&:focus-within": {
|
2327
2309
|
boxShadow: "inset 0px 0px 0px 1px $colors$blue8, 0px 0px 0px 1px $colors$blue8",
|
2328
2310
|
},
|
@@ -2359,23 +2341,23 @@ var IconButton = styled("button", {
|
|
2359
2341
|
boxSizing: "border-box",
|
2360
2342
|
},
|
2361
2343
|
backgroundColor: "$loContrast",
|
2362
|
-
border: "1px solid $
|
2344
|
+
border: "1px solid $neutral7",
|
2363
2345
|
"@hover": {
|
2364
2346
|
"&:hover": {
|
2365
|
-
borderColor: "$
|
2347
|
+
borderColor: "$neutral8",
|
2366
2348
|
},
|
2367
2349
|
},
|
2368
2350
|
"&:active": {
|
2369
|
-
backgroundColor: "$
|
2351
|
+
backgroundColor: "$neutral2",
|
2370
2352
|
},
|
2371
2353
|
"&:focus": {
|
2372
|
-
borderColor: "$
|
2373
|
-
boxShadow: "0 0 0 1px $colors$
|
2354
|
+
borderColor: "$neutral8",
|
2355
|
+
boxShadow: "0 0 0 1px $colors$neutral8",
|
2374
2356
|
},
|
2375
2357
|
"&:disabled": {
|
2376
2358
|
pointerEvents: "none",
|
2377
2359
|
backgroundColor: "transparent",
|
2378
|
-
color: "$
|
2360
|
+
color: "$neutral6",
|
2379
2361
|
},
|
2380
2362
|
variants: {
|
2381
2363
|
size: {
|
@@ -2406,17 +2388,17 @@ var IconButton = styled("button", {
|
|
2406
2388
|
borderWidth: "0",
|
2407
2389
|
"@hover": {
|
2408
2390
|
"&:hover": {
|
2409
|
-
backgroundColor: "$
|
2391
|
+
backgroundColor: "$neutralA3",
|
2410
2392
|
},
|
2411
2393
|
},
|
2412
2394
|
"&:focus": {
|
2413
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
2395
|
+
boxShadow: "inset 0 0 0 1px $colors$neutralA8, 0 0 0 1px $colors$neutralA8",
|
2414
2396
|
},
|
2415
2397
|
"&:active": {
|
2416
|
-
backgroundColor: "$
|
2398
|
+
backgroundColor: "$neutralA4",
|
2417
2399
|
},
|
2418
2400
|
'&[data-radix-popover-trigger][data-state="open"], &[data-radix-dropdown-menu-trigger][data-state="open"]': {
|
2419
|
-
backgroundColor: "$
|
2401
|
+
backgroundColor: "$neutralA4",
|
2420
2402
|
},
|
2421
2403
|
},
|
2422
2404
|
raised: {
|
@@ -2427,17 +2409,17 @@ var IconButton = styled("button", {
|
|
2427
2409
|
},
|
2428
2410
|
},
|
2429
2411
|
"&:focus": {
|
2430
|
-
borderColor: "$
|
2431
|
-
boxShadow: "0 0 0 1px $colors$
|
2412
|
+
borderColor: "$neutral8",
|
2413
|
+
boxShadow: "0 0 0 1px $colors$neutral8, 0 16px 32px hsl(206deg 12% 5% / 25%), 0 3px 5px hsl(0deg 0% 0% / 10%)",
|
2432
2414
|
},
|
2433
2415
|
"&:active": {
|
2434
|
-
backgroundColor: "$
|
2416
|
+
backgroundColor: "$neutral4",
|
2435
2417
|
},
|
2436
2418
|
},
|
2437
2419
|
},
|
2438
2420
|
state: {
|
2439
2421
|
active: {
|
2440
|
-
backgroundColor: "$
|
2422
|
+
backgroundColor: "$neutral4",
|
2441
2423
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
2442
2424
|
"@hover": {
|
2443
2425
|
"&:hover": {
|
@@ -2445,11 +2427,11 @@ var IconButton = styled("button", {
|
|
2445
2427
|
},
|
2446
2428
|
},
|
2447
2429
|
"&:active": {
|
2448
|
-
backgroundColor: "$
|
2430
|
+
backgroundColor: "$neutral4",
|
2449
2431
|
},
|
2450
2432
|
},
|
2451
2433
|
waiting: {
|
2452
|
-
backgroundColor: "$
|
2434
|
+
backgroundColor: "$neutral4",
|
2453
2435
|
boxShadow: "inset 0 0 0 1px hsl(206,10%,76%)",
|
2454
2436
|
"@hover": {
|
2455
2437
|
"&:hover": {
|
@@ -2457,7 +2439,7 @@ var IconButton = styled("button", {
|
|
2457
2439
|
},
|
2458
2440
|
},
|
2459
2441
|
"&:active": {
|
2460
|
-
backgroundColor: "$
|
2442
|
+
backgroundColor: "$neutral4",
|
2461
2443
|
},
|
2462
2444
|
},
|
2463
2445
|
},
|
@@ -2573,7 +2555,7 @@ for (var _i = 0, naturalPairingsKeys_1 = naturalPairingsKeys; _i < naturalPairin
|
|
2573
2555
|
colorVariants[color] = {
|
2574
2556
|
"&:focus": {
|
2575
2557
|
outline: "none",
|
2576
|
-
backgroundColor: "$"
|
2558
|
+
backgroundColor: "$neutral4",
|
2577
2559
|
color: "$hiContrast",
|
2578
2560
|
},
|
2579
2561
|
};
|
@@ -2621,6 +2603,9 @@ var DropdownMenuRadioItemBase = React__default["default"].forwardRef(function (_
|
|
2621
2603
|
});
|
2622
2604
|
DropdownMenuRadioItemBase.displayName = "DropdownMenuRadioItemBase";
|
2623
2605
|
var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
2606
|
+
"&:focus": {
|
2607
|
+
backgroundColor: "$neutral4",
|
2608
|
+
},
|
2624
2609
|
variants: {
|
2625
2610
|
color: tslib.__assign({ primary: {
|
2626
2611
|
"&:focus": {
|
@@ -2630,9 +2615,6 @@ var DropdownMenuItem = styled(DropdownMenuItemBase, {
|
|
2630
2615
|
},
|
2631
2616
|
} }, colorVariants),
|
2632
2617
|
},
|
2633
|
-
defaultVariants: {
|
2634
|
-
color: "primary",
|
2635
|
-
},
|
2636
2618
|
});
|
2637
2619
|
var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
2638
2620
|
variants: {
|
@@ -2649,6 +2631,7 @@ var DropdownMenuRadioItem = styled(DropdownMenuRadioItemBase, {
|
|
2649
2631
|
},
|
2650
2632
|
});
|
2651
2633
|
var DropdownMenuCheckboxItem = styled(DropdownMenuCheckboxItemBase, {
|
2634
|
+
backgroundColor: "$neutral4",
|
2652
2635
|
variants: {
|
2653
2636
|
color: tslib.__assign({ primary: {
|
2654
2637
|
"&:focus": {
|
@@ -2910,7 +2893,7 @@ var Text = styled("span", {
|
|
2910
2893
|
color: "$bronze11",
|
2911
2894
|
},
|
2912
2895
|
gray: {
|
2913
|
-
color: "$
|
2896
|
+
color: "$neutral11",
|
2914
2897
|
},
|
2915
2898
|
primary: {
|
2916
2899
|
color: "$primary11",
|
@@ -3095,7 +3078,7 @@ var Kbd = styled("kbd", {
|
|
3095
3078
|
userSelect: "none",
|
3096
3079
|
cursor: "default",
|
3097
3080
|
whiteSpace: "nowrap",
|
3098
|
-
boxShadow: "\n inset 0 0.5px rgba(255, 255, 255, 0.1),\n inset 0 1px 5px $colors$
|
3081
|
+
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",
|
3099
3082
|
textShadow: "0 0 1px rgba(255, 255, 255, 0.5)",
|
3100
3083
|
fontFamily: "inherit",
|
3101
3084
|
fontWeight: 400,
|
@@ -3256,7 +3239,7 @@ var Paragraph = React__default["default"].forwardRef(function (props, forwardedR
|
|
3256
3239
|
var textCss = {
|
3257
3240
|
1: { lineHeight: "25px", "@bp2": { lineHeight: "27px" } },
|
3258
3241
|
2: {
|
3259
|
-
color: "$
|
3242
|
+
color: "$neutral11",
|
3260
3243
|
lineHeight: "27px",
|
3261
3244
|
"@bp2": { lineHeight: "30px" },
|
3262
3245
|
},
|
@@ -3307,13 +3290,13 @@ var StyledProgressBar = styled(ProgressPrimitive__namespace.Root, {
|
|
3307
3290
|
overflow: "hidden",
|
3308
3291
|
borderRadius: "$pill",
|
3309
3292
|
'&[data-state="indeterminate"]': {
|
3310
|
-
backgroundColor: "$
|
3293
|
+
backgroundColor: "$neutral4",
|
3311
3294
|
"&::after": {
|
3312
3295
|
animationName: indeterminateProgress,
|
3313
3296
|
animationDuration: "1500ms",
|
3314
3297
|
animationIterationCount: "infinite",
|
3315
3298
|
animationTimingFunction: "cubic-bezier(0.65, 0, 0.35, 1)",
|
3316
|
-
backgroundColor: "$
|
3299
|
+
backgroundColor: "$neutral7",
|
3317
3300
|
boxSizing: "border-box",
|
3318
3301
|
borderRadius: "$pill",
|
3319
3302
|
content: '""',
|
@@ -3327,7 +3310,7 @@ var StyledProgressBar = styled(ProgressPrimitive__namespace.Root, {
|
|
3327
3310
|
variants: {
|
3328
3311
|
variant: {
|
3329
3312
|
gray: {
|
3330
|
-
background: "$
|
3313
|
+
background: "$neutral8",
|
3331
3314
|
},
|
3332
3315
|
blue: {
|
3333
3316
|
backgroundColor: "$blue9",
|
@@ -3349,7 +3332,7 @@ var ProgressBarIndicator = styled(ProgressPrimitive__namespace.Indicator, {
|
|
3349
3332
|
bottom: 0,
|
3350
3333
|
left: 0,
|
3351
3334
|
width: "100%",
|
3352
|
-
backgroundColor: "$
|
3335
|
+
backgroundColor: "$neutral4",
|
3353
3336
|
transition: "transform 150ms cubic-bezier(0.65, 0, 0.35, 1)",
|
3354
3337
|
});
|
3355
3338
|
var ProgressBar = React__default["default"].forwardRef(function (_a, forwardedRef) {
|
@@ -3513,11 +3496,11 @@ var StyledRadio$1 = styled(RadioGroupPrimitive__namespace.Item, {
|
|
3513
3496
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
3514
3497
|
borderRadius: "50%",
|
3515
3498
|
color: "$hiContrast",
|
3516
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
3499
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
3517
3500
|
overflow: "hidden",
|
3518
3501
|
"@hover": {
|
3519
3502
|
"&:hover": {
|
3520
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
3503
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8",
|
3521
3504
|
},
|
3522
3505
|
},
|
3523
3506
|
"&:focus": {
|
@@ -3642,7 +3625,7 @@ var Separator = styled(SeparatorPrimitive__namespace.Root, {
|
|
3642
3625
|
border: "none",
|
3643
3626
|
margin: 0,
|
3644
3627
|
flexShrink: 0,
|
3645
|
-
backgroundColor: "$
|
3628
|
+
backgroundColor: "$neutral6",
|
3646
3629
|
cursor: "default",
|
3647
3630
|
variants: {
|
3648
3631
|
size: {
|
@@ -3801,25 +3784,25 @@ var SimpleToggle = styled(TogglePrimitive__namespace.Root, {
|
|
3801
3784
|
backgroundColor: "transparent",
|
3802
3785
|
"@hover": {
|
3803
3786
|
"&:hover": {
|
3804
|
-
backgroundColor: "$
|
3787
|
+
backgroundColor: "$neutralA3",
|
3805
3788
|
},
|
3806
3789
|
},
|
3807
3790
|
"&:active": {
|
3808
|
-
backgroundColor: "$
|
3791
|
+
backgroundColor: "$neutralA4",
|
3809
3792
|
},
|
3810
3793
|
"&:focus": {
|
3811
|
-
boxShadow: "inset 0 0 0 1px $
|
3794
|
+
boxShadow: "inset 0 0 0 1px $neutralA8, 0 0 0 1px $neutralA8",
|
3812
3795
|
zIndex: 1,
|
3813
3796
|
},
|
3814
3797
|
'&[data-state="on"]': {
|
3815
|
-
backgroundColor: "$
|
3798
|
+
backgroundColor: "$neutralA5",
|
3816
3799
|
"@hover": {
|
3817
3800
|
"&:hover": {
|
3818
|
-
backgroundColor: "$
|
3801
|
+
backgroundColor: "$neutralA5",
|
3819
3802
|
},
|
3820
3803
|
},
|
3821
3804
|
"&:active": {
|
3822
|
-
backgroundColor: "$
|
3805
|
+
backgroundColor: "$neutralA7",
|
3823
3806
|
},
|
3824
3807
|
},
|
3825
3808
|
variants: {
|
@@ -3839,7 +3822,7 @@ var pulse = keyframes({
|
|
3839
3822
|
"100%": { opacity: "100%" },
|
3840
3823
|
});
|
3841
3824
|
var Skeleton = styled("div", {
|
3842
|
-
backgroundColor: "$
|
3825
|
+
backgroundColor: "$neutral4",
|
3843
3826
|
position: "relative",
|
3844
3827
|
overflow: "hidden",
|
3845
3828
|
"&::after": {
|
@@ -3848,7 +3831,7 @@ var Skeleton = styled("div", {
|
|
3848
3831
|
animationDirection: "alternate",
|
3849
3832
|
animationIterationCount: "infinite",
|
3850
3833
|
animationTimingFunction: "ease-in-out",
|
3851
|
-
backgroundColor: "$
|
3834
|
+
backgroundColor: "$neutral6",
|
3852
3835
|
borderRadius: "inherit",
|
3853
3836
|
bottom: 0,
|
3854
3837
|
content: '""',
|
@@ -3914,7 +3897,7 @@ var _a$2;
|
|
3914
3897
|
var SliderTrack = styled(SliderPrimitive__namespace.Track, {
|
3915
3898
|
position: "relative",
|
3916
3899
|
flexGrow: 1,
|
3917
|
-
backgroundColor: "$
|
3900
|
+
backgroundColor: "$neutral7",
|
3918
3901
|
borderRadius: "$pill",
|
3919
3902
|
'&[data-orientation="horizontal"]': {
|
3920
3903
|
height: 2,
|
@@ -3980,7 +3963,7 @@ var StyledSlider = styled(SliderPrimitive__namespace.Root, {
|
|
3980
3963
|
"@hover": {
|
3981
3964
|
"&:hover": (_a$2 = {},
|
3982
3965
|
_a$2["& ".concat(SliderTrack)] = {
|
3983
|
-
backgroundColor: "$
|
3966
|
+
backgroundColor: "$neutral8",
|
3984
3967
|
},
|
3985
3968
|
_a$2["& ".concat(SliderThumb)] = {
|
3986
3969
|
opacity: "1",
|
@@ -4309,11 +4292,11 @@ var StyledSwitch = styled(SwitchPrimitive__namespace.Root, {
|
|
4309
4292
|
margin: "0",
|
4310
4293
|
outline: "none",
|
4311
4294
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
4312
|
-
backgroundColor: "$
|
4295
|
+
backgroundColor: "$neutral5",
|
4313
4296
|
borderRadius: "$pill",
|
4314
4297
|
position: "relative",
|
4315
4298
|
"&:focus": {
|
4316
|
-
boxShadow: "0 0 0 2px $colors$
|
4299
|
+
boxShadow: "0 0 0 2px $colors$neutral8",
|
4317
4300
|
},
|
4318
4301
|
'&[data-state="checked"]': {
|
4319
4302
|
backgroundColor: "$blue9",
|
@@ -4475,7 +4458,7 @@ var TabLink = styled("a", {
|
|
4475
4458
|
outline: "none",
|
4476
4459
|
alignItems: "center",
|
4477
4460
|
justifyContent: "center",
|
4478
|
-
color: "$
|
4461
|
+
color: "$neutral11",
|
4479
4462
|
textDecoration: "none",
|
4480
4463
|
"@hover": {
|
4481
4464
|
"&:hover": {
|
@@ -4483,7 +4466,7 @@ var TabLink = styled("a", {
|
|
4483
4466
|
},
|
4484
4467
|
},
|
4485
4468
|
"&:focus": {
|
4486
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
4469
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral8, 0 0 0 1px $colors$neutral8",
|
4487
4470
|
},
|
4488
4471
|
variants: {
|
4489
4472
|
active: {
|
@@ -4521,7 +4504,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
4521
4504
|
outline: "none",
|
4522
4505
|
alignItems: "center",
|
4523
4506
|
justifyContent: "center",
|
4524
|
-
color: "$
|
4507
|
+
color: "$neutral11",
|
4525
4508
|
border: "1px solid transparent",
|
4526
4509
|
borderTopLeftRadius: "$2",
|
4527
4510
|
borderTopRightRadius: "$2",
|
@@ -4533,7 +4516,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
4533
4516
|
},
|
4534
4517
|
'&[data-state="active"]': {
|
4535
4518
|
color: "$hiContrast",
|
4536
|
-
borderColor: "$
|
4519
|
+
borderColor: "$neutral6",
|
4537
4520
|
borderBottomColor: "transparent",
|
4538
4521
|
},
|
4539
4522
|
'&[data-orientation="vertical"]': {
|
@@ -4542,7 +4525,7 @@ var TabsTriggerBase = styled(TabsPrimitive__namespace.Trigger, {
|
|
4542
4525
|
borderBottomLeftRadius: "$2",
|
4543
4526
|
borderBottomColor: "transparent",
|
4544
4527
|
'&[data-state="active"]': {
|
4545
|
-
borderBottomColor: "$
|
4528
|
+
borderBottomColor: "$neutral6",
|
4546
4529
|
borderRightColor: "transparent",
|
4547
4530
|
},
|
4548
4531
|
},
|
@@ -4552,11 +4535,11 @@ var StyledTabsListBase = styled(TabsPrimitive__namespace.List, {
|
|
4552
4535
|
display: "flex",
|
4553
4536
|
"&:focus": {
|
4554
4537
|
outline: "none",
|
4555
|
-
boxShadow: "inset 0 0 0 1px $
|
4538
|
+
boxShadow: "inset 0 0 0 1px $neutral8, 0 0 0 1px $neutral8",
|
4556
4539
|
},
|
4557
4540
|
'&[data-orientation="vertical"]': {
|
4558
4541
|
flexDirection: "column",
|
4559
|
-
boxShadow: "inset -1px 0 0 $
|
4542
|
+
boxShadow: "inset -1px 0 0 $neutral6",
|
4560
4543
|
},
|
4561
4544
|
});
|
4562
4545
|
var TabsListBase = React__default["default"].forwardRef(function (props, forwardedRef) { return (React__default["default"].createElement(React__default["default"].Fragment, null,
|
@@ -4567,7 +4550,7 @@ var TabsContentBase = styled(TabsPrimitive__namespace.Content, {
|
|
4567
4550
|
flexGrow: 1,
|
4568
4551
|
"&:focus": {
|
4569
4552
|
outline: "none",
|
4570
|
-
boxShadow: "inset 0 0 0 1px $
|
4553
|
+
boxShadow: "inset 0 0 0 1px $neutral8, 0 0 0 1px $neutral8",
|
4571
4554
|
},
|
4572
4555
|
});
|
4573
4556
|
var TabsTrigger = styled(TabsTriggerBase, {
|
@@ -4616,7 +4599,7 @@ var TextArea = styled("textarea", {
|
|
4616
4599
|
width: "100%",
|
4617
4600
|
WebkitTapHighlightColor: "rgba(0,0,0,0)",
|
4618
4601
|
backgroundColor: "$loContrast",
|
4619
|
-
boxShadow: "inset 0 0 0 1px $colors$
|
4602
|
+
boxShadow: "inset 0 0 0 1px $colors$neutral7",
|
4620
4603
|
color: "$hiContrast",
|
4621
4604
|
fontVariantNumeric: "tabular-nums",
|
4622
4605
|
position: "relative",
|
@@ -4627,22 +4610,22 @@ var TextArea = styled("textarea", {
|
|
4627
4610
|
zIndex: "1",
|
4628
4611
|
},
|
4629
4612
|
"&::placeholder": {
|
4630
|
-
color: "$
|
4613
|
+
color: "$neutral9",
|
4631
4614
|
},
|
4632
4615
|
"&:disabled": {
|
4633
4616
|
pointerEvents: "none",
|
4634
|
-
backgroundColor: "$
|
4635
|
-
color: "$
|
4617
|
+
backgroundColor: "$neutral2",
|
4618
|
+
color: "$neutral8",
|
4636
4619
|
cursor: "not-allowed",
|
4637
4620
|
resize: "none",
|
4638
4621
|
"&::placeholder": {
|
4639
|
-
color: "$
|
4622
|
+
color: "$neutral7",
|
4640
4623
|
},
|
4641
4624
|
},
|
4642
4625
|
"&:read-only": {
|
4643
|
-
backgroundColor: "$
|
4626
|
+
backgroundColor: "$neutral2",
|
4644
4627
|
"&:focus": {
|
4645
|
-
boxShadow: "inset 0px 0px 0px 1px $colors$
|
4628
|
+
boxShadow: "inset 0px 0px 0px 1px $colors$neutral7",
|
4646
4629
|
},
|
4647
4630
|
},
|
4648
4631
|
variants: {
|
@@ -4756,12 +4739,12 @@ var TreeItem = styled("div", {
|
|
4756
4739
|
variants: {
|
4757
4740
|
variant: {
|
4758
4741
|
gray: {
|
4759
|
-
backgroundColor: "$
|
4742
|
+
backgroundColor: "$neutral3",
|
4760
4743
|
"&:hover": {
|
4761
|
-
backgroundColor: "$
|
4744
|
+
backgroundColor: "$neutral4",
|
4762
4745
|
},
|
4763
4746
|
"&:active": {
|
4764
|
-
backgroundColor: "$
|
4747
|
+
backgroundColor: "$neutral5",
|
4765
4748
|
},
|
4766
4749
|
},
|
4767
4750
|
red: {
|