@codecademy/variance 0.18.2-alpha.ac83cf.0 → 1.0.0-alpha.618f3b.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/CHANGELOG.md +99 -57
- package/dist/utils/propNames.js +1 -1
- package/dist/utils/propNames.js.map +1 -1
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,15 +3,57 @@
|
|
|
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
|
-
|
|
6
|
+
## [1.0.0-alpha.618f3b.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.19.0...@codecademy/variance@1.0.0-alpha.618f3b.0) (2021-12-20)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### ⚠ BREAKING CHANGES
|
|
10
|
+
|
|
11
|
+
* bumped React to 17
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* bumped React to 17 ([4d0d029](https://github.com/Codecademy/gamut/commit/4d0d029ce293d3c4a8331c625bcdcdce93235f2d))
|
|
16
|
+
|
|
7
17
|
|
|
8
|
-
**Note:** Version bump only for package @codecademy/variance
|
|
9
18
|
|
|
19
|
+
## 0.19.0 (2021-10-26)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
* Add admin theme ([7090b30](https://github.com/Codecademy/gamut/commit/7090b303c5451113983e5345316a821ddfaaf1fc))
|
|
25
|
+
* bump ESLint configs to latest ([4e3cf77](https://github.com/Codecademy/gamut/commit/4e3cf77928bdd69bce3eeca8a7f07439627b4f08))
|
|
26
|
+
* **Anchor:** Variance Migration + ColorMode [GM-203] ([dd0058b](https://github.com/Codecademy/gamut/commit/dd0058b0ba96a2f8cca804884c2d2fcf66951ee4))
|
|
27
|
+
* **Buttons:** ColorModes + Props + Refactor + Refs Oh My! [GM-211] [REACH-856] [GM-192] ([998c2cc](https://github.com/Codecademy/gamut/commit/998c2cc01945e8b675a01f60a38bc2a03250ac8e))
|
|
28
|
+
* **ColorModes:** Base ColorMode support and serialization of color variables [GM-177] ([9f322b4](https://github.com/Codecademy/gamut/commit/9f322b4ed959e1245a18dbddb42f33be3e0d9356))
|
|
29
|
+
* **LayoutGrid:** LayoutGrid conversion + Initial Variance Props [GM-81] ([14a753e](https://github.com/Codecademy/gamut/commit/14a753e2850bd381aa9f6819c5bac623b39e4036))
|
|
30
|
+
* **Text:** Add more common utility variants / states as props GM-248 ([ae5d92b](https://github.com/Codecademy/gamut/commit/ae5d92b7091ba2786890eb1a5aecdf93123eb3b0))
|
|
31
|
+
* **theme:** createTheme self containment ([87a203c](https://github.com/Codecademy/gamut/commit/87a203c56df8002406552208b8b5ffc55b228262)), closes [#666666](https://github.com/Codecademy/gamut/issues/666666) [#666666](https://github.com/Codecademy/gamut/issues/666666)
|
|
32
|
+
* **variance:** Computed styles, and configurable CSSType narrowing [GM-233] ([ddb4091](https://github.com/Codecademy/gamut/commit/ddb40917fe41b0dc741d34f5c34ec6d0bf29dad1))
|
|
33
|
+
* Navy scale + color alias changes GM-237 ([3c8a772](https://github.com/Codecademy/gamut/commit/3c8a772271492e0ecc8d724f296f0bfe5ef17112)), closes [#10162](https://github.com/Codecademy/gamut/issues/10162)
|
|
34
|
+
* **ThemeBuilder:** TypeSafe theme construction + variable serialization [WEB-1401] ([e0a4c16](https://github.com/Codecademy/gamut/commit/e0a4c163e39b64c7d7290a325c900f05ae5ce4e4))
|
|
35
|
+
* **variance:** states boolean toggle styles GM-233 ([a4fa8cf](https://github.com/Codecademy/gamut/commit/a4fa8cf473a1b22648fa480025630a9d1827f84d))
|
|
36
|
+
* **Variance:** `css` - Standard CSS Property Passthrough + Selector System Props [WEB-1117] ([7dbb56d](https://github.com/Codecademy/gamut/commit/7dbb56dbc5e4feaf572ded6a27c3f63403df3e65))
|
|
37
|
+
* **Variance:** base => _ for un scoped style [WEB-1381] ([2f9e8ba](https://github.com/Codecademy/gamut/commit/2f9e8ba3c472251f6ce71aed8e15e8a669b3588a))
|
|
38
|
+
* **Variance:** Experimental MVP for internal use ([0d4d545](https://github.com/Codecademy/gamut/commit/0d4d5450d2a37a12349b632865341857969c9462))
|
|
39
|
+
* **Variance:** Initial Props and Refactor Tests [WEB-1390] ([9f29489](https://github.com/Codecademy/gamut/commit/9f294894b49915ea0504749ecdca7e62d46d475e))
|
|
40
|
+
* **Variance:** Static CSS Methods `css` and `variant` [WEB-1116] ([cbba228](https://github.com/Codecademy/gamut/commit/cbba228c89fce89026fb14e15a1ec157cf574082))
|
|
41
|
+
* **Variance:** Use only the global emotion theme type (Stage 5: Acceptance) [WEB-1382] ([dff7044](https://github.com/Codecademy/gamut/commit/dff704492cd61a762ea315d86625ce78702347b9)), closes [/github.com/Codecademy/client-modules/blob/609bc7f3ab936d856225fb9885d0ae5afeac8b58/packages/variance/src/__tests__/localTheme.ts#L28-L29](https://github.com/Codecademy//github.com/Codecademy/client-modules/blob/609bc7f3ab936d856225fb9885d0ae5afeac8b58/packages/variance/src/__tests__/localTheme.ts/issues/L28-L29)
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
### Bug Fixes
|
|
10
45
|
|
|
46
|
+
* **variance:** Ensure array scales always qualify for transformation ([64ef813](https://github.com/Codecademy/gamut/commit/64ef813d8224525c34e03ed66020753ad487cb1b))
|
|
47
|
+
* **variance:** Fix theme computations and add more tests for prop behavior ([078f9db](https://github.com/Codecademy/gamut/commit/078f9dba4f49803c374db6b93eeba878dc3dd2ac))
|
|
48
|
+
* Safe deep merge typings ([a190205](https://github.com/Codecademy/gamut/commit/a190205fff6a77cbdc7f9a2989aa824b36fac706))
|
|
49
|
+
* Theme extension merge logic ([de3cbf2](https://github.com/Codecademy/gamut/commit/de3cbf25995b6be7769cbb92bc51d13e5f6a6695))
|
|
50
|
+
* **Text:** Fontweight for body text and none scalar typings ([fe31fb2](https://github.com/Codecademy/gamut/commit/fe31fb239b9e958022585275025e976c6b559ddd))
|
|
51
|
+
* **variance:** Fix static css mutability for `css` [GM-235] ([ab5dd04](https://github.com/Codecademy/gamut/commit/ab5dd04724e120eca3069a44cb22cb92aebc714a))
|
|
52
|
+
* **Variance:** Add better prop sorting tests ([ee97906](https://github.com/Codecademy/gamut/commit/ee97906a04246629e1c0ccfd44cdf9131f9e821c))
|
|
11
53
|
|
|
12
54
|
|
|
13
55
|
|
|
14
|
-
### [0.18.1](https://github.com/Codecademy/
|
|
56
|
+
### [0.18.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.18.0...@codecademy/variance@0.18.1) (2021-09-13)
|
|
15
57
|
|
|
16
58
|
**Note:** Version bump only for package @codecademy/variance
|
|
17
59
|
|
|
@@ -19,115 +61,115 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
19
61
|
|
|
20
62
|
|
|
21
63
|
|
|
22
|
-
## [0.18.0](https://github.com/Codecademy/
|
|
64
|
+
## [0.18.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.17.4...@codecademy/variance@0.18.0) (2021-09-10)
|
|
23
65
|
|
|
24
66
|
|
|
25
67
|
### Features
|
|
26
68
|
|
|
27
|
-
* bump ESLint configs to latest ([e0a201a](https://github.com/Codecademy/
|
|
69
|
+
* bump ESLint configs to latest ([e0a201a](https://github.com/Codecademy/gamut/commit/e0a201abcc5f49718538d3d91af21cb37db4470e))
|
|
28
70
|
|
|
29
71
|
|
|
30
72
|
|
|
31
|
-
### [0.17.4](https://github.com/Codecademy/
|
|
73
|
+
### [0.17.4](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.17.3...@codecademy/variance@0.17.4) (2021-08-30)
|
|
32
74
|
|
|
33
75
|
|
|
34
76
|
### Bug Fixes
|
|
35
77
|
|
|
36
|
-
* **variance:** Fix theme computations and add more tests for prop behavior ([0cc017a](https://github.com/Codecademy/
|
|
78
|
+
* **variance:** Fix theme computations and add more tests for prop behavior ([0cc017a](https://github.com/Codecademy/gamut/commit/0cc017ac3b6a519da9ee4d4d4488a9e0da9029a2))
|
|
37
79
|
|
|
38
80
|
|
|
39
81
|
|
|
40
|
-
### [0.17.3](https://github.com/Codecademy/
|
|
82
|
+
### [0.17.3](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.17.2...@codecademy/variance@0.17.3) (2021-08-12)
|
|
41
83
|
|
|
42
84
|
|
|
43
85
|
### Bug Fixes
|
|
44
86
|
|
|
45
|
-
* **variance:** Ensure array scales always qualify for transformation ([66f1760](https://github.com/Codecademy/
|
|
87
|
+
* **variance:** Ensure array scales always qualify for transformation ([66f1760](https://github.com/Codecademy/gamut/commit/66f1760c85aa605bae89195801683faab01822e3))
|
|
46
88
|
|
|
47
89
|
|
|
48
90
|
|
|
49
|
-
### [0.17.2](https://github.com/Codecademy/
|
|
91
|
+
### [0.17.2](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.17.1...@codecademy/variance@0.17.2) (2021-07-19)
|
|
50
92
|
|
|
51
93
|
|
|
52
94
|
### Bug Fixes
|
|
53
95
|
|
|
54
|
-
* Safe deep merge typings ([541272c](https://github.com/Codecademy/
|
|
96
|
+
* Safe deep merge typings ([541272c](https://github.com/Codecademy/gamut/commit/541272c424637c8699c16ef25e3fefb9b17041ea))
|
|
55
97
|
|
|
56
98
|
|
|
57
99
|
|
|
58
|
-
### [0.17.1](https://github.com/Codecademy/
|
|
100
|
+
### [0.17.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.17.0...@codecademy/variance@0.17.1) (2021-07-16)
|
|
59
101
|
|
|
60
102
|
|
|
61
103
|
### Bug Fixes
|
|
62
104
|
|
|
63
|
-
* Theme extension merge logic ([9b32463](https://github.com/Codecademy/
|
|
105
|
+
* Theme extension merge logic ([9b32463](https://github.com/Codecademy/gamut/commit/9b32463d044ead994b2c173bc07c5ebbd5511187))
|
|
64
106
|
|
|
65
107
|
|
|
66
108
|
|
|
67
|
-
## [0.17.0](https://github.com/Codecademy/
|
|
109
|
+
## [0.17.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.16.0...@codecademy/variance@0.17.0) (2021-07-15)
|
|
68
110
|
|
|
69
111
|
|
|
70
112
|
### Features
|
|
71
113
|
|
|
72
|
-
* Add admin theme ([c5f7bf9](https://github.com/Codecademy/
|
|
114
|
+
* Add admin theme ([c5f7bf9](https://github.com/Codecademy/gamut/commit/c5f7bf9faaf86b2aca3f8dffd67480d50999be7b))
|
|
73
115
|
|
|
74
116
|
|
|
75
117
|
|
|
76
|
-
## [0.16.0](https://github.com/Codecademy/
|
|
118
|
+
## [0.16.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.15.0...@codecademy/variance@0.16.0) (2021-06-16)
|
|
77
119
|
|
|
78
120
|
|
|
79
121
|
### Features
|
|
80
122
|
|
|
81
|
-
* **variance:** Computed styles, and configurable CSSType narrowing [GM-233] ([c258c19](https://github.com/Codecademy/
|
|
123
|
+
* **variance:** Computed styles, and configurable CSSType narrowing [GM-233] ([c258c19](https://github.com/Codecademy/gamut/commit/c258c19b7970b41361b6cfafe76e2a52b7b4c828))
|
|
82
124
|
|
|
83
125
|
|
|
84
126
|
|
|
85
|
-
## [0.15.0](https://github.com/Codecademy/
|
|
127
|
+
## [0.15.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.14.0...@codecademy/variance@0.15.0) (2021-06-16)
|
|
86
128
|
|
|
87
129
|
|
|
88
130
|
### Features
|
|
89
131
|
|
|
90
|
-
* **Text:** Add more common utility variants / states as props GM-248 ([85b541c](https://github.com/Codecademy/
|
|
132
|
+
* **Text:** Add more common utility variants / states as props GM-248 ([85b541c](https://github.com/Codecademy/gamut/commit/85b541cbb85ef5c60b8012196680e1062d469ad1))
|
|
91
133
|
|
|
92
134
|
|
|
93
135
|
|
|
94
|
-
## [0.14.0](https://github.com/Codecademy/
|
|
136
|
+
## [0.14.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.13.0...@codecademy/variance@0.14.0) (2021-06-10)
|
|
95
137
|
|
|
96
138
|
|
|
97
139
|
### Features
|
|
98
140
|
|
|
99
|
-
* Navy scale + color alias changes GM-237 ([bf896dd](https://github.com/Codecademy/
|
|
141
|
+
* Navy scale + color alias changes GM-237 ([bf896dd](https://github.com/Codecademy/gamut/commit/bf896dd3fcf0435ef557694740d96df38d12173b)), closes [#10162](https://github.com/Codecademy/gamut/issues/10162)
|
|
100
142
|
|
|
101
143
|
|
|
102
144
|
|
|
103
|
-
## [0.13.0](https://github.com/Codecademy/
|
|
145
|
+
## [0.13.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.12.1...@codecademy/variance@0.13.0) (2021-06-10)
|
|
104
146
|
|
|
105
147
|
|
|
106
148
|
### Features
|
|
107
149
|
|
|
108
|
-
* **variance:** states boolean toggle styles GM-233 ([e463f0e](https://github.com/Codecademy/
|
|
150
|
+
* **variance:** states boolean toggle styles GM-233 ([e463f0e](https://github.com/Codecademy/gamut/commit/e463f0e77802a3565ddda4de2e14050372923678))
|
|
109
151
|
|
|
110
152
|
|
|
111
153
|
|
|
112
|
-
### [0.12.1](https://github.com/Codecademy/
|
|
154
|
+
### [0.12.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.12.0...@codecademy/variance@0.12.1) (2021-06-02)
|
|
113
155
|
|
|
114
156
|
|
|
115
157
|
### Bug Fixes
|
|
116
158
|
|
|
117
|
-
* **variance:** Fix static css mutability for `css` [GM-235] ([5eab7d9](https://github.com/Codecademy/
|
|
159
|
+
* **variance:** Fix static css mutability for `css` [GM-235] ([5eab7d9](https://github.com/Codecademy/gamut/commit/5eab7d99865947002a545db0ff372454b09494d3))
|
|
118
160
|
|
|
119
161
|
|
|
120
162
|
|
|
121
|
-
## [0.12.0](https://github.com/Codecademy/
|
|
163
|
+
## [0.12.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.11.2...@codecademy/variance@0.12.0) (2021-05-18)
|
|
122
164
|
|
|
123
165
|
|
|
124
166
|
### Features
|
|
125
167
|
|
|
126
|
-
* **theme:** createTheme self containment ([59ddff7](https://github.com/Codecademy/
|
|
168
|
+
* **theme:** createTheme self containment ([59ddff7](https://github.com/Codecademy/gamut/commit/59ddff7224cd8e0972212dd6ba1696f40ccac835)), closes [#666666](https://github.com/Codecademy/gamut/issues/666666) [#666666](https://github.com/Codecademy/gamut/issues/666666)
|
|
127
169
|
|
|
128
170
|
|
|
129
171
|
|
|
130
|
-
### [0.11.2](https://github.com/Codecademy/
|
|
172
|
+
### [0.11.2](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.11.1...@codecademy/variance@0.11.2) (2021-05-07)
|
|
131
173
|
|
|
132
174
|
**Note:** Version bump only for package @codecademy/variance
|
|
133
175
|
|
|
@@ -135,7 +177,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
135
177
|
|
|
136
178
|
|
|
137
179
|
|
|
138
|
-
### [0.11.1](https://github.com/Codecademy/
|
|
180
|
+
### [0.11.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.11.0...@codecademy/variance@0.11.1) (2021-05-03)
|
|
139
181
|
|
|
140
182
|
**Note:** Version bump only for package @codecademy/variance
|
|
141
183
|
|
|
@@ -143,106 +185,106 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
143
185
|
|
|
144
186
|
|
|
145
187
|
|
|
146
|
-
## [0.11.0](https://github.com/Codecademy/
|
|
188
|
+
## [0.11.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.10.1...@codecademy/variance@0.11.0) (2021-04-29)
|
|
147
189
|
|
|
148
190
|
|
|
149
191
|
### Features
|
|
150
192
|
|
|
151
|
-
* **Buttons:** ColorModes + Props + Refactor + Refs Oh My! [GM-211] [REACH-856] [GM-192] ([c4643db](https://github.com/Codecademy/
|
|
193
|
+
* **Buttons:** ColorModes + Props + Refactor + Refs Oh My! [GM-211] [REACH-856] [GM-192] ([c4643db](https://github.com/Codecademy/gamut/commit/c4643db64d3684319f8d5fc6f68d05197ec1f61e))
|
|
152
194
|
|
|
153
195
|
|
|
154
196
|
|
|
155
|
-
### [0.10.1](https://github.com/Codecademy/
|
|
197
|
+
### [0.10.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.10.0...@codecademy/variance@0.10.1) (2021-04-27)
|
|
156
198
|
|
|
157
199
|
|
|
158
200
|
### Bug Fixes
|
|
159
201
|
|
|
160
|
-
* **Text:** Fontweight for body text and none scalar typings ([aa113dc](https://github.com/Codecademy/
|
|
202
|
+
* **Text:** Fontweight for body text and none scalar typings ([aa113dc](https://github.com/Codecademy/gamut/commit/aa113dcaee4bffd7a23c9acf87308c32816f07fe))
|
|
161
203
|
|
|
162
204
|
|
|
163
205
|
|
|
164
|
-
## [0.10.0](https://github.com/Codecademy/
|
|
206
|
+
## [0.10.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.9.0...@codecademy/variance@0.10.0) (2021-04-26)
|
|
165
207
|
|
|
166
208
|
|
|
167
209
|
### Features
|
|
168
210
|
|
|
169
|
-
* **Anchor:** Variance Migration + ColorMode [GM-203] ([d5ae675](https://github.com/Codecademy/
|
|
211
|
+
* **Anchor:** Variance Migration + ColorMode [GM-203] ([d5ae675](https://github.com/Codecademy/gamut/commit/d5ae6758c65a837066562eb0ed8b964176889148))
|
|
170
212
|
|
|
171
213
|
|
|
172
214
|
|
|
173
|
-
## [0.9.0](https://github.com/Codecademy/
|
|
215
|
+
## [0.9.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.8.0...@codecademy/variance@0.9.0) (2021-04-15)
|
|
174
216
|
|
|
175
217
|
|
|
176
218
|
### Features
|
|
177
219
|
|
|
178
|
-
* **LayoutGrid:** LayoutGrid conversion + Initial Variance Props [GM-81] ([2b51494](https://github.com/Codecademy/
|
|
220
|
+
* **LayoutGrid:** LayoutGrid conversion + Initial Variance Props [GM-81] ([2b51494](https://github.com/Codecademy/gamut/commit/2b514940871759b66f91aa1f333be558e1ee517a))
|
|
179
221
|
|
|
180
222
|
|
|
181
223
|
|
|
182
|
-
## [0.8.0](https://github.com/Codecademy/
|
|
224
|
+
## [0.8.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.7.1...@codecademy/variance@0.8.0) (2021-04-15)
|
|
183
225
|
|
|
184
226
|
|
|
185
227
|
### Features
|
|
186
228
|
|
|
187
|
-
* **ThemeBuilder:** TypeSafe theme construction + variable serialization [WEB-1401] ([8ccae3d](https://github.com/Codecademy/
|
|
229
|
+
* **ThemeBuilder:** TypeSafe theme construction + variable serialization [WEB-1401] ([8ccae3d](https://github.com/Codecademy/gamut/commit/8ccae3d2081df94525269e443ac1b335953597c7))
|
|
188
230
|
|
|
189
231
|
|
|
190
232
|
|
|
191
|
-
### [0.7.1](https://github.com/Codecademy/
|
|
233
|
+
### [0.7.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.7.0...@codecademy/variance@0.7.1) (2021-04-09)
|
|
192
234
|
|
|
193
235
|
|
|
194
236
|
### Bug Fixes
|
|
195
237
|
|
|
196
|
-
* **Variance:** Add better prop sorting tests ([c5e7d49](https://github.com/Codecademy/
|
|
238
|
+
* **Variance:** Add better prop sorting tests ([c5e7d49](https://github.com/Codecademy/gamut/commit/c5e7d494930ff4cb1bd304d2d220148a0bbe2fad))
|
|
197
239
|
|
|
198
240
|
|
|
199
241
|
|
|
200
|
-
## [0.7.0](https://github.com/Codecademy/
|
|
242
|
+
## [0.7.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.6.0...@codecademy/variance@0.7.0) (2021-04-08)
|
|
201
243
|
|
|
202
244
|
|
|
203
245
|
### Features
|
|
204
246
|
|
|
205
|
-
* **ColorModes:** Base ColorMode support and serialization of color variables [GM-177] ([b588132](https://github.com/Codecademy/
|
|
247
|
+
* **ColorModes:** Base ColorMode support and serialization of color variables [GM-177] ([b588132](https://github.com/Codecademy/gamut/commit/b5881326ace09f0b1b7052f24e59ecb5b8326aef))
|
|
206
248
|
|
|
207
249
|
|
|
208
250
|
|
|
209
|
-
## [0.6.0](https://github.com/Codecademy/
|
|
251
|
+
## [0.6.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.5.0...@codecademy/variance@0.6.0) (2021-04-06)
|
|
210
252
|
|
|
211
253
|
|
|
212
254
|
### Features
|
|
213
255
|
|
|
214
|
-
* **Variance:** Initial Props and Refactor Tests [WEB-1390] ([e4b5177](https://github.com/Codecademy/
|
|
256
|
+
* **Variance:** Initial Props and Refactor Tests [WEB-1390] ([e4b5177](https://github.com/Codecademy/gamut/commit/e4b5177544643fec274d20f37be594b140a4cba3))
|
|
215
257
|
|
|
216
258
|
|
|
217
259
|
|
|
218
|
-
## [0.5.0](https://github.com/Codecademy/
|
|
260
|
+
## [0.5.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.4.0...@codecademy/variance@0.5.0) (2021-03-31)
|
|
219
261
|
|
|
220
262
|
|
|
221
263
|
### Features
|
|
222
264
|
|
|
223
|
-
* **Variance:** Use only the global emotion theme type (Stage 5: Acceptance) [WEB-1382] ([e4215e9](https://github.com/Codecademy/
|
|
265
|
+
* **Variance:** Use only the global emotion theme type (Stage 5: Acceptance) [WEB-1382] ([e4215e9](https://github.com/Codecademy/gamut/commit/e4215e9aacb2092ed77cd530822c5389c7b47123)), closes [/github.com/Codecademy/gamut/blob/609bc7f3ab936d856225fb9885d0ae5afeac8b58/packages/variance/src/__tests__/localTheme.ts#L28-L29](https://github.com/Codecademy//github.com/Codecademy/gamut/blob/609bc7f3ab936d856225fb9885d0ae5afeac8b58/packages/variance/src/__tests__/localTheme.ts/issues/L28-L29)
|
|
224
266
|
|
|
225
267
|
|
|
226
268
|
|
|
227
|
-
## [0.4.0](https://github.com/Codecademy/
|
|
269
|
+
## [0.4.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.3.0...@codecademy/variance@0.4.0) (2021-03-31)
|
|
228
270
|
|
|
229
271
|
|
|
230
272
|
### Features
|
|
231
273
|
|
|
232
|
-
* **Variance:** base => _ for un scoped style [WEB-1381] ([f3d254c](https://github.com/Codecademy/
|
|
274
|
+
* **Variance:** base => _ for un scoped style [WEB-1381] ([f3d254c](https://github.com/Codecademy/gamut/commit/f3d254cccc3dc3cd074df070a51ed8a2ca232a74))
|
|
233
275
|
|
|
234
276
|
|
|
235
277
|
|
|
236
|
-
## [0.3.0](https://github.com/Codecademy/
|
|
278
|
+
## [0.3.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.2.1...@codecademy/variance@0.3.0) (2021-03-31)
|
|
237
279
|
|
|
238
280
|
|
|
239
281
|
### Features
|
|
240
282
|
|
|
241
|
-
* **Variance:** `css` - Standard CSS Property Passthrough + Selector System Props [WEB-1117] ([6c2c48d](https://github.com/Codecademy/
|
|
283
|
+
* **Variance:** `css` - Standard CSS Property Passthrough + Selector System Props [WEB-1117] ([6c2c48d](https://github.com/Codecademy/gamut/commit/6c2c48dc96012bc685ca4ab93d189d1e39d266b1))
|
|
242
284
|
|
|
243
285
|
|
|
244
286
|
|
|
245
|
-
### [0.2.1](https://github.com/Codecademy/
|
|
287
|
+
### [0.2.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.2.0...@codecademy/variance@0.2.1) (2021-03-30)
|
|
246
288
|
|
|
247
289
|
**Note:** Version bump only for package @codecademy/variance
|
|
248
290
|
|
|
@@ -250,16 +292,16 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
250
292
|
|
|
251
293
|
|
|
252
294
|
|
|
253
|
-
## [0.2.0](https://github.com/Codecademy/
|
|
295
|
+
## [0.2.0](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.1.2...@codecademy/variance@0.2.0) (2021-03-30)
|
|
254
296
|
|
|
255
297
|
|
|
256
298
|
### Features
|
|
257
299
|
|
|
258
|
-
* **Variance:** Static CSS Methods `css` and `variant` [WEB-1116] ([b9915f5](https://github.com/Codecademy/
|
|
300
|
+
* **Variance:** Static CSS Methods `css` and `variant` [WEB-1116] ([b9915f5](https://github.com/Codecademy/gamut/commit/b9915f54bc738d81e46cb84744a44e8bfbdd29a0))
|
|
259
301
|
|
|
260
302
|
|
|
261
303
|
|
|
262
|
-
### [0.1.2](https://github.com/Codecademy/
|
|
304
|
+
### [0.1.2](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.1.1...@codecademy/variance@0.1.2) (2021-03-30)
|
|
263
305
|
|
|
264
306
|
**Note:** Version bump only for package @codecademy/variance
|
|
265
307
|
|
|
@@ -267,7 +309,7 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
267
309
|
|
|
268
310
|
|
|
269
311
|
|
|
270
|
-
### [0.1.1](https://github.com/Codecademy/
|
|
312
|
+
### [0.1.1](https://github.com/Codecademy/gamut/compare/@codecademy/variance@0.1.0...@codecademy/variance@0.1.1) (2021-03-19)
|
|
271
313
|
|
|
272
314
|
**Note:** Version bump only for package @codecademy/variance
|
|
273
315
|
|
|
@@ -280,4 +322,4 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
280
322
|
|
|
281
323
|
### Features
|
|
282
324
|
|
|
283
|
-
* **Variance:** Experimental MVP for internal use ([4422f3d](https://github.com/Codecademy/
|
|
325
|
+
* **Variance:** Experimental MVP for internal use ([4422f3d](https://github.com/Codecademy/gamut/commit/4422f3d340ce4e52f7f96f01c4dd01b88c1a677d))
|
package/dist/utils/propNames.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var SHORTHAND_PROPERTIES = ['border', 'borderTop', 'borderBottom', 'borderLeft', 'borderRight', 'borderWidth', 'borderStyle', 'borderColor', 'background', 'flex', 'margin', 'padding', 'transition', 'gap', 'grid', 'gridArea', 'gridColumn', 'gridRow', 'gridTemplate', 'overflow', 'transition'
|
|
1
|
+
var SHORTHAND_PROPERTIES = ['border', 'borderTop', 'borderBottom', 'borderLeft', 'borderRight', 'borderWidth', 'borderStyle', 'borderColor', 'background', 'flex', 'margin', 'padding', 'transition', 'gap', 'grid', 'gridArea', 'gridColumn', 'gridRow', 'gridTemplate', 'overflow', 'transition'];
|
|
2
2
|
var SORT = {
|
|
3
3
|
A_BEFORE_B: -1,
|
|
4
4
|
B_BEFORE_A: 1,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"propNames.js","sourceRoot":"","sources":["../../src/utils/propNames.ts"],"names":[],"mappings":"AAEA,MAAM,oBAAoB,GAAG;IAC3B,QAAQ;IACR,WAAW;IACX,cAAc;IACd,YAAY;IACZ,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,KAAK;IACL,MAAM;IACN,UAAU;IACV,YAAY;IACZ,SAAS;IACT,cAAc;IACd,UAAU;IACV,YAAY;
|
|
1
|
+
{"version":3,"file":"propNames.js","sourceRoot":"","sources":["../../src/utils/propNames.ts"],"names":[],"mappings":"AAEA,MAAM,oBAAoB,GAAG;IAC3B,QAAQ;IACR,WAAW;IACX,cAAc;IACd,YAAY;IACZ,aAAa;IACb,aAAa;IACb,aAAa;IACb,aAAa;IACb,YAAY;IACZ,MAAM;IACN,QAAQ;IACR,SAAS;IACT,YAAY;IACZ,KAAK;IACL,MAAM;IACN,UAAU;IACV,YAAY;IACZ,SAAS;IACT,cAAc;IACd,UAAU;IACV,YAAY;CACb,CAAC;AAEF,MAAM,IAAI,GAAG;IACX,UAAU,EAAE,CAAC,CAAC;IACd,UAAU,EAAE,CAAC;IACb,KAAK,EAAE,CAAC;CACT,CAAC;AAEF,MAAM,OAAO,GAAG,CAAC,CAAS,EAAE,CAAS,EAAE,EAAE;IACvC,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC,UAAU,CAAC;IAClC,IAAI,CAAC,GAAG,CAAC;QAAE,OAAO,IAAI,CAAC,UAAU,CAAC;IAClC,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC;AAEF;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAoC,EAAE,EAAE,CACrE,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;IAChC,MAAM,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,GAAG,MAAM,CAAC;IAE1C,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAChE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,UAAU,EAAE,WAAW,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAEhE,MAAM,YAAY,GAAG,oBAAoB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC1D,MAAM,YAAY,GAAG,oBAAoB,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAE1D,IAAI,YAAY,IAAI,YAAY,EAAE;QAChC,MAAM,IAAI,GAAG,WAAW,CAAC,MAAM,CAAC;QAChC,MAAM,IAAI,GAAG,WAAW,CAAC,MAAM,CAAC;QAEhC,IAAI,KAAK,KAAK,KAAK,EAAE;YACnB,OAAO,OAAO,CACZ,oBAAoB,CAAC,OAAO,CAAC,KAAK,CAAC,EACnC,oBAAoB,CAAC,OAAO,CAAC,KAAK,CAAC,CACpC,CAAC;SACH;QAED,IAAI,KAAK,KAAK,KAAK,EAAE;YACnB,IAAI,IAAI,KAAK,CAAC;gBAAE,OAAO,IAAI,CAAC,UAAU,CAAC;YACvC,IAAI,IAAI,KAAK,CAAC;gBAAE,OAAO,IAAI,CAAC,UAAU,CAAC;SACxC;QAED,OAAO,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;KAC5B;IAED,IAAI,YAAY;QAAE,OAAO,IAAI,CAAC,UAAU,CAAC;IACzC,IAAI,YAAY;QAAE,OAAO,IAAI,CAAC,UAAU,CAAC;IAEzC,OAAO,IAAI,CAAC,KAAK,CAAC;AACpB,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/variance",
|
|
3
3
|
"description": "Constraint based CSS in JS for building scalable design systems",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "1.0.0-alpha.618f3b.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"emotion",
|
|
7
7
|
"css",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"css-in-js"
|
|
10
10
|
],
|
|
11
11
|
"author": "codecaaron <aaron@codecademy.com>",
|
|
12
|
-
"homepage": "https://github.com/Codecademy/
|
|
12
|
+
"homepage": "https://github.com/Codecademy/gamut/variance",
|
|
13
13
|
"license": "MIT",
|
|
14
14
|
"main": "dist/index.js",
|
|
15
15
|
"module": "dist/index.js",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/Codecademy/
|
|
22
|
+
"url": "git+https://github.com/Codecademy/gamut.git"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"build:clean": "rm -rf ./dist",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"@emotion/jest": "^11.3.0",
|
|
41
41
|
"@emotion/styled": "^11.3.0",
|
|
42
42
|
"@types/react-test-renderer": "^17.0.1",
|
|
43
|
-
"react": "
|
|
44
|
-
"react-test-renderer": "
|
|
43
|
+
"react": "17.0.2",
|
|
44
|
+
"react-test-renderer": "17.0.2"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "6d2e295093371f71fe7a0946a167d220659a2c35"
|
|
47
47
|
}
|