@codecademy/gamut-styles 13.2.0 → 13.2.1-alpha.ffc244.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/.turbo/turbo-build.log +5 -2
- package/CHANGELOG.md +8 -0
- package/dist/themes/admin.d.ts +9 -1
- package/dist/themes/core.d.ts +4 -0
- package/dist/themes/core.js +2 -0
- package/dist/themes/core.js.map +1 -1
- package/dist/themes/platform.d.ts +9 -1
- package/package.json +2 -2
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
[33m@codecademy/gamut-styles:build: [0mcache hit, replaying output [
|
|
1
|
+
[33m@codecademy/gamut-styles:build: [0mcache hit, replaying output [2mb56e8854c0685568[0m
|
|
2
2
|
[33m@codecademy/gamut-styles:build: [0m$ yarn build:clean && yarn build:compile && yarn build:transpile
|
|
3
3
|
[33m@codecademy/gamut-styles:build: [0m$ rm -rf ./dist
|
|
4
4
|
[33m@codecademy/gamut-styles:build: [0m$ tsc
|
|
5
5
|
[33m@codecademy/gamut-styles:build: [0m$ babel ./src --out-dir ./dist --copy-files --extensions ".ts,.tsx"
|
|
6
|
-
[33m@codecademy/gamut-styles:build: [
|
|
6
|
+
[33m@codecademy/gamut-styles:build: [0mBrowserslist: caniuse-lite is outdated. Please run:
|
|
7
|
+
[33m@codecademy/gamut-styles:build: [0m npx browserslist@latest --update-db
|
|
8
|
+
[33m@codecademy/gamut-styles:build: [0m Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
|
|
9
|
+
[33m@codecademy/gamut-styles:build: [0mSuccessfully compiled 45 files with Babel (1680ms).
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
### [13.2.1-alpha.ffc244.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@13.2.0...@codecademy/gamut-styles@13.2.1-alpha.ffc244.0) (2022-06-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @codecademy/gamut-styles
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [13.2.0](https://github.com/Codecademy/gamut/compare/@codecademy/gamut-styles@13.1.1...@codecademy/gamut-styles@13.2.0) (2022-05-24)
|
|
7
15
|
|
|
8
16
|
|
package/dist/themes/admin.d.ts
CHANGED
|
@@ -145,6 +145,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
145
145
|
};
|
|
146
146
|
background: {
|
|
147
147
|
_: "white";
|
|
148
|
+
contrast: "white";
|
|
148
149
|
current: "white";
|
|
149
150
|
primary: "beige";
|
|
150
151
|
selected: "navy-100";
|
|
@@ -184,6 +185,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
184
185
|
};
|
|
185
186
|
background: {
|
|
186
187
|
_: "navy-800";
|
|
188
|
+
contrast: "black";
|
|
187
189
|
current: "navy-800";
|
|
188
190
|
primary: "navy-900";
|
|
189
191
|
selected: "navy-700";
|
|
@@ -284,6 +286,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
284
286
|
};
|
|
285
287
|
background: {
|
|
286
288
|
_: "white";
|
|
289
|
+
contrast: "white";
|
|
287
290
|
current: "white";
|
|
288
291
|
primary: "beige";
|
|
289
292
|
selected: "navy-100";
|
|
@@ -324,6 +327,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
324
327
|
};
|
|
325
328
|
background: {
|
|
326
329
|
_: "navy-800";
|
|
330
|
+
contrast: "black";
|
|
327
331
|
current: "navy-800";
|
|
328
332
|
primary: "navy-900";
|
|
329
333
|
selected: "navy-700";
|
|
@@ -506,6 +510,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
506
510
|
};
|
|
507
511
|
background: {
|
|
508
512
|
_: "white";
|
|
513
|
+
contrast: "white";
|
|
509
514
|
current: "white";
|
|
510
515
|
primary: "beige";
|
|
511
516
|
selected: "navy-100";
|
|
@@ -545,6 +550,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
545
550
|
};
|
|
546
551
|
background: {
|
|
547
552
|
_: "navy-800";
|
|
553
|
+
contrast: "black";
|
|
548
554
|
current: "navy-800";
|
|
549
555
|
primary: "navy-900";
|
|
550
556
|
selected: "navy-700";
|
|
@@ -645,6 +651,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
645
651
|
};
|
|
646
652
|
background: {
|
|
647
653
|
_: "white";
|
|
654
|
+
contrast: "white";
|
|
648
655
|
current: "white";
|
|
649
656
|
primary: "beige";
|
|
650
657
|
selected: "navy-100";
|
|
@@ -685,6 +692,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
685
692
|
};
|
|
686
693
|
background: {
|
|
687
694
|
_: "navy-800";
|
|
695
|
+
contrast: "black";
|
|
688
696
|
current: "navy-800";
|
|
689
697
|
primary: "navy-900";
|
|
690
698
|
selected: "navy-700";
|
|
@@ -781,7 +789,7 @@ export declare const adminTheme: Record<"breakpoints", {
|
|
|
781
789
|
readonly "gray-200": "#EEEEEE";
|
|
782
790
|
readonly "gray-600": "#9E9E9E";
|
|
783
791
|
readonly "gray-900": "#424242";
|
|
784
|
-
}, "-"> | "text" | "background" | "primary" | "secondary" | "danger" | "interface" | "shadow-opaque" | "shadow-solid" | "text-accent" | "text-disabled" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "secondary-hover" | "danger-hover" | "interface-hover") => string;
|
|
792
|
+
}, "-"> | "text" | "background" | "primary" | "secondary" | "danger" | "interface" | "shadow-opaque" | "shadow-solid" | "text-accent" | "text-disabled" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-contrast" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "secondary-hover" | "danger-hover" | "interface-hover") => string;
|
|
785
793
|
}> & import("@codecademy/variance/dist/createTheme/types").PrivateThemeKeys;
|
|
786
794
|
export declare type AdminThemeShape = typeof adminTheme;
|
|
787
795
|
export interface AdminTheme extends AdminThemeShape {
|
package/dist/themes/core.d.ts
CHANGED
|
@@ -144,6 +144,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
144
144
|
};
|
|
145
145
|
background: {
|
|
146
146
|
_: "white";
|
|
147
|
+
contrast: "white";
|
|
147
148
|
current: "white";
|
|
148
149
|
primary: "beige";
|
|
149
150
|
selected: "navy-100";
|
|
@@ -183,6 +184,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
183
184
|
};
|
|
184
185
|
background: {
|
|
185
186
|
_: "navy-800";
|
|
187
|
+
contrast: "black";
|
|
186
188
|
current: "navy-800";
|
|
187
189
|
primary: "navy-900";
|
|
188
190
|
selected: "navy-700";
|
|
@@ -283,6 +285,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
283
285
|
};
|
|
284
286
|
background: {
|
|
285
287
|
_: "white";
|
|
288
|
+
contrast: "white";
|
|
286
289
|
current: "white";
|
|
287
290
|
primary: "beige";
|
|
288
291
|
selected: "navy-100";
|
|
@@ -323,6 +326,7 @@ export declare const coreTheme: Record<"elements", Record<"elements", import("@c
|
|
|
323
326
|
};
|
|
324
327
|
background: {
|
|
325
328
|
_: "navy-800";
|
|
329
|
+
contrast: "black";
|
|
326
330
|
current: "navy-800";
|
|
327
331
|
primary: "navy-900";
|
|
328
332
|
selected: "navy-700";
|
package/dist/themes/core.js
CHANGED
|
@@ -28,6 +28,7 @@ export var coreTheme = createTheme({
|
|
|
28
28
|
},
|
|
29
29
|
background: {
|
|
30
30
|
_: 'white',
|
|
31
|
+
contrast: 'white',
|
|
31
32
|
current: 'white',
|
|
32
33
|
primary: 'beige',
|
|
33
34
|
selected: 'navy-100',
|
|
@@ -68,6 +69,7 @@ export var coreTheme = createTheme({
|
|
|
68
69
|
},
|
|
69
70
|
background: {
|
|
70
71
|
_: 'navy-800',
|
|
72
|
+
contrast: 'black',
|
|
71
73
|
current: 'navy-800',
|
|
72
74
|
primary: 'navy-900',
|
|
73
75
|
selected: 'navy-700',
|
package/dist/themes/core.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../src/themes/core.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EACL,WAAW,EACX,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,UAAU,EACV,UAAU,EACV,YAAY,EACZ,OAAO,GACR,MAAM,cAAc,CAAC;AAEtB;;;;GAIG;AAEH,MAAM,CAAC,MAAM,SAAS,GAAG,WAAW,CAAC;IACnC,WAAW,EAAE,YAAY;IACzB,QAAQ;IACR,UAAU;IACV,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;CACT,CAAC;KACC,SAAS,CAAC,WAAW,CAAC;KACtB,aAAa,CAAC,OAAO,EAAE;IACtB,KAAK,EAAE;QACL,IAAI,EAAE,EAAE,CAAC,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,EAAE,QAAQ,EAAE,UAAU,EAAE;QACjE,QAAQ,EAAE;YACR,KAAK,EAAE,SAAS;YAChB,OAAO,EAAE,WAAW;YACpB,OAAO,EAAE,QAAQ;SAClB;QACD,UAAU,EAAE;YACV,CAAC,EAAE,OAAO;YACV,OAAO,EAAE,OAAO;YAChB,OAAO,EAAE,OAAO;YAChB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB;QACD,MAAM,EAAE;YACN,MAAM,EAAE,oBAAoB;YAC5B,KAAK,EAAE,UAAU;SAClB;QACD,OAAO,EAAE;YACP,CAAC,EAAE,WAAW;YACd,KAAK,EAAE,WAAW;SACnB;QACD,SAAS,EAAE;YACT,CAAC,EA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O,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,UAAU,EAAE;QAC3D,QAAQ,EAAE;YACR,KAAK,EAAE,OAAO;YACd,OAAO,EAAE,SAAS;YAClB,OAAO,EAAE,UAAU;SACpB;QACD,UAAU,EAAE;YACV,CAAC,EAAE,UAAU;YACb,QAAQ,EAAE,OAAO;YACjB,OAAO,EAAE,UAAU;YACnB,OAAO,EAAE,UAAU;YACnB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,KAAK,EAAE,UAAU;SAClB;QACD,MAAM,EAAE;YACN,MAAM,EAAE,oBAAoB;YAC5B,KAAK,EAAE,OAAO;SACf;QACD,OAAO,EAAE;YACP,CAAC,EAAE,YAAY;YACf,KAAK,EAAE,YAAY;SACpB;QACD,SAAS,EAAE;YACT,CAAC,EAAE,OAAO;YACV,KAAK,EAAE,UAAU;SAClB;QACD,MAAM,EAAE;YACN,CAAC,EAAE,OAAO;YACV,KAAK,EAAE,SAAS;SACjB;QACD,SAAS,EAAE;YACT,CAAC,EAAE,YAAY;YACf,KAAK,EAAE,YAAY;SACpB;KACF;CACF,CAAC;KACD,QAAQ,CAAC,SAAS,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC;IACpC,CAAC,EAAE,aAAa,MAAM,CAAC,SAAS,EAAE;IAClC,CAAC,EAAE,aAAa,MAAM,CAAC,SAAS,EAAE;CACnC,CAAC,CAAC;KACF,oBAAoB,CAAC,UAAU,CAAC;KAChC,KAAK,EAAE,CAAC"}
|
|
@@ -155,6 +155,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
155
155
|
};
|
|
156
156
|
background: {
|
|
157
157
|
_: "white";
|
|
158
|
+
contrast: "white";
|
|
158
159
|
current: "white";
|
|
159
160
|
primary: "beige";
|
|
160
161
|
selected: "navy-100";
|
|
@@ -194,6 +195,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
194
195
|
};
|
|
195
196
|
background: {
|
|
196
197
|
_: "navy-800";
|
|
198
|
+
contrast: "black";
|
|
197
199
|
current: "navy-800";
|
|
198
200
|
primary: "navy-900";
|
|
199
201
|
selected: "navy-700";
|
|
@@ -294,6 +296,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
294
296
|
};
|
|
295
297
|
background: {
|
|
296
298
|
_: "white";
|
|
299
|
+
contrast: "white";
|
|
297
300
|
current: "white";
|
|
298
301
|
primary: "beige";
|
|
299
302
|
selected: "navy-100";
|
|
@@ -334,6 +337,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
334
337
|
};
|
|
335
338
|
background: {
|
|
336
339
|
_: "navy-800";
|
|
340
|
+
contrast: "black";
|
|
337
341
|
current: "navy-800";
|
|
338
342
|
primary: "navy-900";
|
|
339
343
|
selected: "navy-700";
|
|
@@ -582,6 +586,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
582
586
|
};
|
|
583
587
|
background: {
|
|
584
588
|
_: "white";
|
|
589
|
+
contrast: "white";
|
|
585
590
|
current: "white";
|
|
586
591
|
primary: "beige";
|
|
587
592
|
selected: "navy-100";
|
|
@@ -621,6 +626,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
621
626
|
};
|
|
622
627
|
background: {
|
|
623
628
|
_: "navy-800";
|
|
629
|
+
contrast: "black";
|
|
624
630
|
current: "navy-800";
|
|
625
631
|
primary: "navy-900";
|
|
626
632
|
selected: "navy-700";
|
|
@@ -732,6 +738,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
732
738
|
};
|
|
733
739
|
background: {
|
|
734
740
|
_: "white";
|
|
741
|
+
contrast: "white";
|
|
735
742
|
current: "white";
|
|
736
743
|
primary: "beige";
|
|
737
744
|
selected: "navy-100";
|
|
@@ -772,6 +779,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
772
779
|
};
|
|
773
780
|
background: {
|
|
774
781
|
_: "navy-800";
|
|
782
|
+
contrast: "black";
|
|
775
783
|
current: "navy-800";
|
|
776
784
|
primary: "navy-900";
|
|
777
785
|
selected: "navy-700";
|
|
@@ -923,7 +931,7 @@ export declare const platformTheme: Record<"breakpoints", {
|
|
|
923
931
|
readonly "gray-200": "#EEEEEE";
|
|
924
932
|
readonly "gray-600": "#9E9E9E";
|
|
925
933
|
readonly "gray-900": "#424242";
|
|
926
|
-
}, "-"> | "text" | "background" | "primary" | "secondary" | "danger" | "interface" | "shadow-opaque" | "shadow-solid" | "text-accent" | "text-disabled" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "secondary-hover" | "danger-hover" | "interface-hover" | import("@codecademy/variance").Path<{
|
|
934
|
+
}, "-"> | "text" | "background" | "primary" | "secondary" | "danger" | "interface" | "shadow-opaque" | "shadow-solid" | "text-accent" | "text-disabled" | "feedback-error" | "feedback-success" | "feedback-warning" | "background-disabled" | "background-contrast" | "background-current" | "background-primary" | "background-selected" | "background-hover" | "primary-hover" | "secondary-hover" | "danger-hover" | "interface-hover" | import("@codecademy/variance").Path<{
|
|
927
935
|
readonly lightBeige: "#FFFBF8";
|
|
928
936
|
readonly gold: "#8A7300";
|
|
929
937
|
readonly teal: "#027E97";
|
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": "13.2.0",
|
|
4
|
+
"version": "13.2.1-alpha.ffc244.0",
|
|
5
5
|
"author": "Jake Hiller <jake@codecademy.com>",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"module": "dist/index.js",
|
|
@@ -39,5 +39,5 @@
|
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "87c150e10fbe0c28144f5fb6dc411363f0e16d0c"
|
|
43
43
|
}
|