@codecademy/gamut-styles 16.3.0 → 16.3.1-alpha.2e8e59.0
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/ColorMode.d.ts +27 -0
- package/dist/themes/admin.d.ts +8 -0
- package/dist/themes/core.d.ts +8 -0
- package/dist/themes/core.js +2 -1
- package/dist/themes/platform.d.ts +8 -0
- package/dist/variables/borderRadii.d.ts +8 -0
- package/dist/variables/borderRadii.js +8 -0
- package/dist/variables/index.d.ts +3 -2
- package/dist/variables/index.js +3 -2
- package/dist/variance/config.d.ts +18 -0
- package/dist/variance/config.js +18 -9
- package/dist/variance/props.d.ts +36 -0
- package/package.json +2 -2
package/dist/ColorMode.d.ts
CHANGED
|
@@ -398,34 +398,43 @@ export declare const providerProps: import("@codecademy/variance/dist/types/conf
|
|
|
398
398
|
};
|
|
399
399
|
readonly borderRadius: {
|
|
400
400
|
readonly property: "borderRadius";
|
|
401
|
+
readonly scale: "borderRadii";
|
|
401
402
|
};
|
|
402
403
|
readonly borderRadiusLeft: {
|
|
403
404
|
readonly property: "borderRadius";
|
|
404
405
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
406
|
+
readonly scale: "borderRadii";
|
|
405
407
|
};
|
|
406
408
|
readonly borderRadiusTop: {
|
|
407
409
|
readonly property: "borderRadius";
|
|
408
410
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
411
|
+
readonly scale: "borderRadii";
|
|
409
412
|
};
|
|
410
413
|
readonly borderRadiusBottom: {
|
|
411
414
|
readonly property: "borderRadius";
|
|
412
415
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
416
|
+
readonly scale: "borderRadii";
|
|
413
417
|
};
|
|
414
418
|
readonly borderRadiusRight: {
|
|
415
419
|
readonly property: "borderRadius";
|
|
416
420
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
421
|
+
readonly scale: "borderRadii";
|
|
417
422
|
};
|
|
418
423
|
readonly borderRadiusTopLeft: {
|
|
419
424
|
readonly property: "borderTopLeftRadius";
|
|
425
|
+
readonly scale: "borderRadii";
|
|
420
426
|
};
|
|
421
427
|
readonly borderRadiusTopRight: {
|
|
422
428
|
readonly property: "borderTopRightRadius";
|
|
429
|
+
readonly scale: "borderRadii";
|
|
423
430
|
};
|
|
424
431
|
readonly borderRadiusBottomRight: {
|
|
425
432
|
readonly property: "borderBottomRightRadius";
|
|
433
|
+
readonly scale: "borderRadii";
|
|
426
434
|
};
|
|
427
435
|
readonly borderRadiusBottomLeft: {
|
|
428
436
|
readonly property: "borderBottomLeftRadius";
|
|
437
|
+
readonly scale: "borderRadii";
|
|
429
438
|
};
|
|
430
439
|
readonly borderStyle: {
|
|
431
440
|
readonly property: "borderStyle";
|
|
@@ -663,6 +672,7 @@ export declare const VariableProvider: import("@emotion/styled").StyledComponent
|
|
|
663
672
|
}>;
|
|
664
673
|
borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
665
674
|
readonly property: "borderRadius";
|
|
675
|
+
readonly scale: "borderRadii";
|
|
666
676
|
}>;
|
|
667
677
|
borderRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
668
678
|
readonly property: "borderRight";
|
|
@@ -825,30 +835,38 @@ export declare const VariableProvider: import("@emotion/styled").StyledComponent
|
|
|
825
835
|
borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
826
836
|
readonly property: "borderRadius";
|
|
827
837
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
838
|
+
readonly scale: "borderRadii";
|
|
828
839
|
}>;
|
|
829
840
|
borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
830
841
|
readonly property: "borderRadius";
|
|
831
842
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
843
|
+
readonly scale: "borderRadii";
|
|
832
844
|
}>;
|
|
833
845
|
borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
834
846
|
readonly property: "borderRadius";
|
|
835
847
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
848
|
+
readonly scale: "borderRadii";
|
|
836
849
|
}>;
|
|
837
850
|
borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
838
851
|
readonly property: "borderRadius";
|
|
839
852
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
853
|
+
readonly scale: "borderRadii";
|
|
840
854
|
}>;
|
|
841
855
|
borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
842
856
|
readonly property: "borderTopLeftRadius";
|
|
857
|
+
readonly scale: "borderRadii";
|
|
843
858
|
}>;
|
|
844
859
|
borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
845
860
|
readonly property: "borderTopRightRadius";
|
|
861
|
+
readonly scale: "borderRadii";
|
|
846
862
|
}>;
|
|
847
863
|
borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
848
864
|
readonly property: "borderBottomRightRadius";
|
|
865
|
+
readonly scale: "borderRadii";
|
|
849
866
|
}>;
|
|
850
867
|
borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
851
868
|
readonly property: "borderBottomLeftRadius";
|
|
869
|
+
readonly scale: "borderRadii";
|
|
852
870
|
}>;
|
|
853
871
|
borderStyleX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
854
872
|
readonly property: "borderStyle";
|
|
@@ -1061,6 +1079,7 @@ export declare const ColorMode: import("react").ForwardRefExoticComponent<Pick<O
|
|
|
1061
1079
|
}>;
|
|
1062
1080
|
borderRadius?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1063
1081
|
readonly property: "borderRadius";
|
|
1082
|
+
readonly scale: "borderRadii";
|
|
1064
1083
|
}>;
|
|
1065
1084
|
borderRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1066
1085
|
readonly property: "borderRight";
|
|
@@ -1223,30 +1242,38 @@ export declare const ColorMode: import("react").ForwardRefExoticComponent<Pick<O
|
|
|
1223
1242
|
borderRadiusLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1224
1243
|
readonly property: "borderRadius";
|
|
1225
1244
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
1245
|
+
readonly scale: "borderRadii";
|
|
1226
1246
|
}>;
|
|
1227
1247
|
borderRadiusTop?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1228
1248
|
readonly property: "borderRadius";
|
|
1229
1249
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
1250
|
+
readonly scale: "borderRadii";
|
|
1230
1251
|
}>;
|
|
1231
1252
|
borderRadiusBottom?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1232
1253
|
readonly property: "borderRadius";
|
|
1233
1254
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
1255
|
+
readonly scale: "borderRadii";
|
|
1234
1256
|
}>;
|
|
1235
1257
|
borderRadiusRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1236
1258
|
readonly property: "borderRadius";
|
|
1237
1259
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
1260
|
+
readonly scale: "borderRadii";
|
|
1238
1261
|
}>;
|
|
1239
1262
|
borderRadiusTopLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1240
1263
|
readonly property: "borderTopLeftRadius";
|
|
1264
|
+
readonly scale: "borderRadii";
|
|
1241
1265
|
}>;
|
|
1242
1266
|
borderRadiusTopRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1243
1267
|
readonly property: "borderTopRightRadius";
|
|
1268
|
+
readonly scale: "borderRadii";
|
|
1244
1269
|
}>;
|
|
1245
1270
|
borderRadiusBottomRight?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1246
1271
|
readonly property: "borderBottomRightRadius";
|
|
1272
|
+
readonly scale: "borderRadii";
|
|
1247
1273
|
}>;
|
|
1248
1274
|
borderRadiusBottomLeft?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1249
1275
|
readonly property: "borderBottomLeftRadius";
|
|
1276
|
+
readonly scale: "borderRadii";
|
|
1250
1277
|
}>;
|
|
1251
1278
|
borderStyleX?: import("@codecademy/variance/dist/types/config").Scale<{
|
|
1252
1279
|
readonly property: "borderStyle";
|
package/dist/themes/admin.d.ts
CHANGED
|
@@ -24,6 +24,14 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
24
24
|
lg: string;
|
|
25
25
|
xl: string;
|
|
26
26
|
};
|
|
27
|
+
borderRadii: {
|
|
28
|
+
none: string;
|
|
29
|
+
sm: string;
|
|
30
|
+
m: string;
|
|
31
|
+
l: string;
|
|
32
|
+
xl: string;
|
|
33
|
+
full: string;
|
|
34
|
+
};
|
|
27
35
|
fontSize: {
|
|
28
36
|
readonly 64: string;
|
|
29
37
|
readonly 44: string;
|
package/dist/themes/core.d.ts
CHANGED
|
@@ -23,6 +23,14 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
23
23
|
lg: string;
|
|
24
24
|
xl: string;
|
|
25
25
|
};
|
|
26
|
+
borderRadii: {
|
|
27
|
+
none: string;
|
|
28
|
+
sm: string;
|
|
29
|
+
m: string;
|
|
30
|
+
l: string;
|
|
31
|
+
xl: string;
|
|
32
|
+
full: string;
|
|
33
|
+
};
|
|
26
34
|
fontSize: {
|
|
27
35
|
readonly 64: string;
|
|
28
36
|
readonly 44: string;
|
package/dist/themes/core.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createTheme } from '@codecademy/variance';
|
|
2
|
-
import { corePalette, elements, fontFamily, fontSize, fontWeight, lineHeight, mediaQueries, spacing } from '../variables';
|
|
2
|
+
import { borderRadii, corePalette, elements, fontFamily, fontSize, fontWeight, lineHeight, mediaQueries, spacing } from '../variables';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @description This is the core theme that all other Codecademy themes are extended from
|
|
@@ -9,6 +9,7 @@ import { corePalette, elements, fontFamily, fontSize, fontWeight, lineHeight, me
|
|
|
9
9
|
|
|
10
10
|
export var coreTheme = createTheme({
|
|
11
11
|
breakpoints: mediaQueries,
|
|
12
|
+
borderRadii: borderRadii,
|
|
12
13
|
fontSize: fontSize,
|
|
13
14
|
fontFamily: fontFamily,
|
|
14
15
|
lineHeight: lineHeight,
|
|
@@ -34,6 +34,14 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
34
34
|
lg: string;
|
|
35
35
|
xl: string;
|
|
36
36
|
};
|
|
37
|
+
borderRadii: {
|
|
38
|
+
none: string;
|
|
39
|
+
sm: string;
|
|
40
|
+
m: string;
|
|
41
|
+
l: string;
|
|
42
|
+
xl: string;
|
|
43
|
+
full: string;
|
|
44
|
+
};
|
|
37
45
|
fontSize: {
|
|
38
46
|
readonly 64: string;
|
|
39
47
|
readonly 44: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
export * from './borderRadii';
|
|
1
2
|
export * from './colors';
|
|
3
|
+
export * from './elements';
|
|
2
4
|
export * from './responsive';
|
|
3
5
|
export * from './spacing';
|
|
4
|
-
export * from './typography';
|
|
5
6
|
export * from './timing';
|
|
6
|
-
export * from './
|
|
7
|
+
export * from './typography';
|
|
7
8
|
export * from './deprecated-colors';
|
package/dist/variables/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
export * from './borderRadii';
|
|
1
2
|
export * from './colors';
|
|
3
|
+
export * from './elements';
|
|
2
4
|
export * from './responsive';
|
|
3
5
|
export * from './spacing';
|
|
4
|
-
export * from './typography';
|
|
5
6
|
export * from './timing';
|
|
6
|
-
export * from './
|
|
7
|
+
export * from './typography';
|
|
7
8
|
// Deprecated variables
|
|
8
9
|
export * from './deprecated-colors';
|
|
@@ -98,34 +98,43 @@ export declare const border: {
|
|
|
98
98
|
};
|
|
99
99
|
readonly borderRadius: {
|
|
100
100
|
readonly property: "borderRadius";
|
|
101
|
+
readonly scale: "borderRadii";
|
|
101
102
|
};
|
|
102
103
|
readonly borderRadiusLeft: {
|
|
103
104
|
readonly property: "borderRadius";
|
|
104
105
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
106
|
+
readonly scale: "borderRadii";
|
|
105
107
|
};
|
|
106
108
|
readonly borderRadiusTop: {
|
|
107
109
|
readonly property: "borderRadius";
|
|
108
110
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
111
|
+
readonly scale: "borderRadii";
|
|
109
112
|
};
|
|
110
113
|
readonly borderRadiusBottom: {
|
|
111
114
|
readonly property: "borderRadius";
|
|
112
115
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
116
|
+
readonly scale: "borderRadii";
|
|
113
117
|
};
|
|
114
118
|
readonly borderRadiusRight: {
|
|
115
119
|
readonly property: "borderRadius";
|
|
116
120
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
121
|
+
readonly scale: "borderRadii";
|
|
117
122
|
};
|
|
118
123
|
readonly borderRadiusTopLeft: {
|
|
119
124
|
readonly property: "borderTopLeftRadius";
|
|
125
|
+
readonly scale: "borderRadii";
|
|
120
126
|
};
|
|
121
127
|
readonly borderRadiusTopRight: {
|
|
122
128
|
readonly property: "borderTopRightRadius";
|
|
129
|
+
readonly scale: "borderRadii";
|
|
123
130
|
};
|
|
124
131
|
readonly borderRadiusBottomRight: {
|
|
125
132
|
readonly property: "borderBottomRightRadius";
|
|
133
|
+
readonly scale: "borderRadii";
|
|
126
134
|
};
|
|
127
135
|
readonly borderRadiusBottomLeft: {
|
|
128
136
|
readonly property: "borderBottomLeftRadius";
|
|
137
|
+
readonly scale: "borderRadii";
|
|
129
138
|
};
|
|
130
139
|
readonly borderStyle: {
|
|
131
140
|
readonly property: "borderStyle";
|
|
@@ -709,34 +718,43 @@ export declare const all: {
|
|
|
709
718
|
};
|
|
710
719
|
borderRadius: {
|
|
711
720
|
readonly property: "borderRadius";
|
|
721
|
+
readonly scale: "borderRadii";
|
|
712
722
|
};
|
|
713
723
|
borderRadiusLeft: {
|
|
714
724
|
readonly property: "borderRadius";
|
|
715
725
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
726
|
+
readonly scale: "borderRadii";
|
|
716
727
|
};
|
|
717
728
|
borderRadiusTop: {
|
|
718
729
|
readonly property: "borderRadius";
|
|
719
730
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
731
|
+
readonly scale: "borderRadii";
|
|
720
732
|
};
|
|
721
733
|
borderRadiusBottom: {
|
|
722
734
|
readonly property: "borderRadius";
|
|
723
735
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
736
|
+
readonly scale: "borderRadii";
|
|
724
737
|
};
|
|
725
738
|
borderRadiusRight: {
|
|
726
739
|
readonly property: "borderRadius";
|
|
727
740
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
741
|
+
readonly scale: "borderRadii";
|
|
728
742
|
};
|
|
729
743
|
borderRadiusTopLeft: {
|
|
730
744
|
readonly property: "borderTopLeftRadius";
|
|
745
|
+
readonly scale: "borderRadii";
|
|
731
746
|
};
|
|
732
747
|
borderRadiusTopRight: {
|
|
733
748
|
readonly property: "borderTopRightRadius";
|
|
749
|
+
readonly scale: "borderRadii";
|
|
734
750
|
};
|
|
735
751
|
borderRadiusBottomRight: {
|
|
736
752
|
readonly property: "borderBottomRightRadius";
|
|
753
|
+
readonly scale: "borderRadii";
|
|
737
754
|
};
|
|
738
755
|
borderRadiusBottomLeft: {
|
|
739
756
|
readonly property: "borderBottomLeftRadius";
|
|
757
|
+
readonly scale: "borderRadii";
|
|
740
758
|
};
|
|
741
759
|
borderStyle: {
|
|
742
760
|
readonly property: "borderStyle";
|
package/dist/variance/config.js
CHANGED
|
@@ -107,35 +107,44 @@ export var border = {
|
|
|
107
107
|
},
|
|
108
108
|
// Radius
|
|
109
109
|
borderRadius: {
|
|
110
|
-
property: 'borderRadius'
|
|
110
|
+
property: 'borderRadius',
|
|
111
|
+
scale: 'borderRadii'
|
|
111
112
|
},
|
|
112
113
|
borderRadiusLeft: {
|
|
113
114
|
property: 'borderRadius',
|
|
114
|
-
properties: ['borderTopLeftRadius', 'borderBottomLeftRadius']
|
|
115
|
+
properties: ['borderTopLeftRadius', 'borderBottomLeftRadius'],
|
|
116
|
+
scale: 'borderRadii'
|
|
115
117
|
},
|
|
116
118
|
borderRadiusTop: {
|
|
117
119
|
property: 'borderRadius',
|
|
118
|
-
properties: ['borderTopLeftRadius', 'borderTopRightRadius']
|
|
120
|
+
properties: ['borderTopLeftRadius', 'borderTopRightRadius'],
|
|
121
|
+
scale: 'borderRadii'
|
|
119
122
|
},
|
|
120
123
|
borderRadiusBottom: {
|
|
121
124
|
property: 'borderRadius',
|
|
122
|
-
properties: ['borderBottomLeftRadius', 'borderBottomRightRadius']
|
|
125
|
+
properties: ['borderBottomLeftRadius', 'borderBottomRightRadius'],
|
|
126
|
+
scale: 'borderRadii'
|
|
123
127
|
},
|
|
124
128
|
borderRadiusRight: {
|
|
125
129
|
property: 'borderRadius',
|
|
126
|
-
properties: ['borderTopRightRadius', 'borderBottomRightRadius']
|
|
130
|
+
properties: ['borderTopRightRadius', 'borderBottomRightRadius'],
|
|
131
|
+
scale: 'borderRadii'
|
|
127
132
|
},
|
|
128
133
|
borderRadiusTopLeft: {
|
|
129
|
-
property: 'borderTopLeftRadius'
|
|
134
|
+
property: 'borderTopLeftRadius',
|
|
135
|
+
scale: 'borderRadii'
|
|
130
136
|
},
|
|
131
137
|
borderRadiusTopRight: {
|
|
132
|
-
property: 'borderTopRightRadius'
|
|
138
|
+
property: 'borderTopRightRadius',
|
|
139
|
+
scale: 'borderRadii'
|
|
133
140
|
},
|
|
134
141
|
borderRadiusBottomRight: {
|
|
135
|
-
property: 'borderBottomRightRadius'
|
|
142
|
+
property: 'borderBottomRightRadius',
|
|
143
|
+
scale: 'borderRadii'
|
|
136
144
|
},
|
|
137
145
|
borderRadiusBottomLeft: {
|
|
138
|
-
property: 'borderBottomLeftRadius'
|
|
146
|
+
property: 'borderBottomLeftRadius',
|
|
147
|
+
scale: 'borderRadii'
|
|
139
148
|
},
|
|
140
149
|
// Style
|
|
141
150
|
borderStyle: {
|
package/dist/variance/props.d.ts
CHANGED
|
@@ -454,34 +454,43 @@ export declare const border: import("@codecademy/variance/dist/types/config").Pa
|
|
|
454
454
|
};
|
|
455
455
|
readonly borderRadius: {
|
|
456
456
|
readonly property: "borderRadius";
|
|
457
|
+
readonly scale: "borderRadii";
|
|
457
458
|
};
|
|
458
459
|
readonly borderRadiusLeft: {
|
|
459
460
|
readonly property: "borderRadius";
|
|
460
461
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
462
|
+
readonly scale: "borderRadii";
|
|
461
463
|
};
|
|
462
464
|
readonly borderRadiusTop: {
|
|
463
465
|
readonly property: "borderRadius";
|
|
464
466
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
467
|
+
readonly scale: "borderRadii";
|
|
465
468
|
};
|
|
466
469
|
readonly borderRadiusBottom: {
|
|
467
470
|
readonly property: "borderRadius";
|
|
468
471
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
472
|
+
readonly scale: "borderRadii";
|
|
469
473
|
};
|
|
470
474
|
readonly borderRadiusRight: {
|
|
471
475
|
readonly property: "borderRadius";
|
|
472
476
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
477
|
+
readonly scale: "borderRadii";
|
|
473
478
|
};
|
|
474
479
|
readonly borderRadiusTopLeft: {
|
|
475
480
|
readonly property: "borderTopLeftRadius";
|
|
481
|
+
readonly scale: "borderRadii";
|
|
476
482
|
};
|
|
477
483
|
readonly borderRadiusTopRight: {
|
|
478
484
|
readonly property: "borderTopRightRadius";
|
|
485
|
+
readonly scale: "borderRadii";
|
|
479
486
|
};
|
|
480
487
|
readonly borderRadiusBottomRight: {
|
|
481
488
|
readonly property: "borderBottomRightRadius";
|
|
489
|
+
readonly scale: "borderRadii";
|
|
482
490
|
};
|
|
483
491
|
readonly borderRadiusBottomLeft: {
|
|
484
492
|
readonly property: "borderBottomLeftRadius";
|
|
493
|
+
readonly scale: "borderRadii";
|
|
485
494
|
};
|
|
486
495
|
readonly borderStyle: {
|
|
487
496
|
readonly property: "borderStyle";
|
|
@@ -712,34 +721,43 @@ export declare const css: import("@codecademy/variance/dist/types/config").CSS<i
|
|
|
712
721
|
};
|
|
713
722
|
borderRadius: {
|
|
714
723
|
readonly property: "borderRadius";
|
|
724
|
+
readonly scale: "borderRadii";
|
|
715
725
|
};
|
|
716
726
|
borderRadiusLeft: {
|
|
717
727
|
readonly property: "borderRadius";
|
|
718
728
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
729
|
+
readonly scale: "borderRadii";
|
|
719
730
|
};
|
|
720
731
|
borderRadiusTop: {
|
|
721
732
|
readonly property: "borderRadius";
|
|
722
733
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
734
|
+
readonly scale: "borderRadii";
|
|
723
735
|
};
|
|
724
736
|
borderRadiusBottom: {
|
|
725
737
|
readonly property: "borderRadius";
|
|
726
738
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
739
|
+
readonly scale: "borderRadii";
|
|
727
740
|
};
|
|
728
741
|
borderRadiusRight: {
|
|
729
742
|
readonly property: "borderRadius";
|
|
730
743
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
744
|
+
readonly scale: "borderRadii";
|
|
731
745
|
};
|
|
732
746
|
borderRadiusTopLeft: {
|
|
733
747
|
readonly property: "borderTopLeftRadius";
|
|
748
|
+
readonly scale: "borderRadii";
|
|
734
749
|
};
|
|
735
750
|
borderRadiusTopRight: {
|
|
736
751
|
readonly property: "borderTopRightRadius";
|
|
752
|
+
readonly scale: "borderRadii";
|
|
737
753
|
};
|
|
738
754
|
borderRadiusBottomRight: {
|
|
739
755
|
readonly property: "borderBottomRightRadius";
|
|
756
|
+
readonly scale: "borderRadii";
|
|
740
757
|
};
|
|
741
758
|
borderRadiusBottomLeft: {
|
|
742
759
|
readonly property: "borderBottomLeftRadius";
|
|
760
|
+
readonly scale: "borderRadii";
|
|
743
761
|
};
|
|
744
762
|
borderStyle: {
|
|
745
763
|
readonly property: "borderStyle";
|
|
@@ -1154,34 +1172,43 @@ export declare const variant: import("@codecademy/variance/dist/types/config").V
|
|
|
1154
1172
|
};
|
|
1155
1173
|
borderRadius: {
|
|
1156
1174
|
readonly property: "borderRadius";
|
|
1175
|
+
readonly scale: "borderRadii";
|
|
1157
1176
|
};
|
|
1158
1177
|
borderRadiusLeft: {
|
|
1159
1178
|
readonly property: "borderRadius";
|
|
1160
1179
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
1180
|
+
readonly scale: "borderRadii";
|
|
1161
1181
|
};
|
|
1162
1182
|
borderRadiusTop: {
|
|
1163
1183
|
readonly property: "borderRadius";
|
|
1164
1184
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
1185
|
+
readonly scale: "borderRadii";
|
|
1165
1186
|
};
|
|
1166
1187
|
borderRadiusBottom: {
|
|
1167
1188
|
readonly property: "borderRadius";
|
|
1168
1189
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
1190
|
+
readonly scale: "borderRadii";
|
|
1169
1191
|
};
|
|
1170
1192
|
borderRadiusRight: {
|
|
1171
1193
|
readonly property: "borderRadius";
|
|
1172
1194
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
1195
|
+
readonly scale: "borderRadii";
|
|
1173
1196
|
};
|
|
1174
1197
|
borderRadiusTopLeft: {
|
|
1175
1198
|
readonly property: "borderTopLeftRadius";
|
|
1199
|
+
readonly scale: "borderRadii";
|
|
1176
1200
|
};
|
|
1177
1201
|
borderRadiusTopRight: {
|
|
1178
1202
|
readonly property: "borderTopRightRadius";
|
|
1203
|
+
readonly scale: "borderRadii";
|
|
1179
1204
|
};
|
|
1180
1205
|
borderRadiusBottomRight: {
|
|
1181
1206
|
readonly property: "borderBottomRightRadius";
|
|
1207
|
+
readonly scale: "borderRadii";
|
|
1182
1208
|
};
|
|
1183
1209
|
borderRadiusBottomLeft: {
|
|
1184
1210
|
readonly property: "borderBottomLeftRadius";
|
|
1211
|
+
readonly scale: "borderRadii";
|
|
1185
1212
|
};
|
|
1186
1213
|
borderStyle: {
|
|
1187
1214
|
readonly property: "borderStyle";
|
|
@@ -1596,34 +1623,43 @@ export declare const states: import("@codecademy/variance/dist/types/config").St
|
|
|
1596
1623
|
};
|
|
1597
1624
|
borderRadius: {
|
|
1598
1625
|
readonly property: "borderRadius";
|
|
1626
|
+
readonly scale: "borderRadii";
|
|
1599
1627
|
};
|
|
1600
1628
|
borderRadiusLeft: {
|
|
1601
1629
|
readonly property: "borderRadius";
|
|
1602
1630
|
readonly properties: readonly ["borderTopLeftRadius", "borderBottomLeftRadius"];
|
|
1631
|
+
readonly scale: "borderRadii";
|
|
1603
1632
|
};
|
|
1604
1633
|
borderRadiusTop: {
|
|
1605
1634
|
readonly property: "borderRadius";
|
|
1606
1635
|
readonly properties: readonly ["borderTopLeftRadius", "borderTopRightRadius"];
|
|
1636
|
+
readonly scale: "borderRadii";
|
|
1607
1637
|
};
|
|
1608
1638
|
borderRadiusBottom: {
|
|
1609
1639
|
readonly property: "borderRadius";
|
|
1610
1640
|
readonly properties: readonly ["borderBottomLeftRadius", "borderBottomRightRadius"];
|
|
1641
|
+
readonly scale: "borderRadii";
|
|
1611
1642
|
};
|
|
1612
1643
|
borderRadiusRight: {
|
|
1613
1644
|
readonly property: "borderRadius";
|
|
1614
1645
|
readonly properties: readonly ["borderTopRightRadius", "borderBottomRightRadius"];
|
|
1646
|
+
readonly scale: "borderRadii";
|
|
1615
1647
|
};
|
|
1616
1648
|
borderRadiusTopLeft: {
|
|
1617
1649
|
readonly property: "borderTopLeftRadius";
|
|
1650
|
+
readonly scale: "borderRadii";
|
|
1618
1651
|
};
|
|
1619
1652
|
borderRadiusTopRight: {
|
|
1620
1653
|
readonly property: "borderTopRightRadius";
|
|
1654
|
+
readonly scale: "borderRadii";
|
|
1621
1655
|
};
|
|
1622
1656
|
borderRadiusBottomRight: {
|
|
1623
1657
|
readonly property: "borderBottomRightRadius";
|
|
1658
|
+
readonly scale: "borderRadii";
|
|
1624
1659
|
};
|
|
1625
1660
|
borderRadiusBottomLeft: {
|
|
1626
1661
|
readonly property: "borderBottomLeftRadius";
|
|
1662
|
+
readonly scale: "borderRadii";
|
|
1627
1663
|
};
|
|
1628
1664
|
borderStyle: {
|
|
1629
1665
|
readonly property: "borderStyle";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/gamut-styles",
|
|
3
3
|
"description": "Styleguide & Component library for codecademy.com",
|
|
4
|
-
"version": "16.3.0",
|
|
4
|
+
"version": "16.3.1-alpha.2e8e59.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@codecademy/variance": "0.21.3",
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "nx build @codecademy/gamut-styles"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "2ecc1c696cfc4b1096e5b8a4eb69f4ff7e230d2f"
|
|
38
38
|
}
|