@fluentui/react-theme-sass 9.0.0-alpha.1 → 9.0.0-alpha.11
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/.swcrc +30 -0
- package/CHANGELOG.json +278 -1
- package/CHANGELOG.md +92 -2
- package/README.md +4 -3
- package/lib/index.js.map +1 -1
- package/lib-commonjs/index.js +3 -2
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +20 -8
- package/sass/colorPaletteTokens.scss +3 -0
- package/sass/colorTokens.scss +8 -0
- package/sass/fontTokens.scss +1 -0
- package/dist/tsdoc-metadata.json +0 -11
package/.swcrc
ADDED
@@ -0,0 +1,30 @@
|
|
1
|
+
{
|
2
|
+
"$schema": "https://json.schemastore.org/swcrc",
|
3
|
+
"exclude": [
|
4
|
+
"/testing",
|
5
|
+
"/**/*.cy.ts",
|
6
|
+
"/**/*.cy.tsx",
|
7
|
+
"/**/*.spec.ts",
|
8
|
+
"/**/*.spec.tsx",
|
9
|
+
"/**/*.test.ts",
|
10
|
+
"/**/*.test.tsx"
|
11
|
+
],
|
12
|
+
"jsc": {
|
13
|
+
"parser": {
|
14
|
+
"syntax": "typescript",
|
15
|
+
"tsx": true,
|
16
|
+
"decorators": false,
|
17
|
+
"dynamicImport": false
|
18
|
+
},
|
19
|
+
"externalHelpers": true,
|
20
|
+
"transform": {
|
21
|
+
"react": {
|
22
|
+
"runtime": "classic",
|
23
|
+
"useSpread": true
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"target": "es2019"
|
27
|
+
},
|
28
|
+
"minify": false,
|
29
|
+
"sourceMaps": true
|
30
|
+
}
|
package/CHANGELOG.json
CHANGED
@@ -2,7 +2,284 @@
|
|
2
2
|
"name": "@fluentui/react-theme-sass",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
5
|
+
"date": "Mon, 17 Apr 2023 17:50:11 GMT",
|
6
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.11",
|
7
|
+
"version": "9.0.0-alpha.11",
|
8
|
+
"comments": {
|
9
|
+
"prerelease": [
|
10
|
+
{
|
11
|
+
"author": "olfedias@microsoft.com",
|
12
|
+
"package": "@fluentui/react-theme-sass",
|
13
|
+
"commit": "45cb6089b0f5f464ae0dd9e9cba7e199a9d67cd8",
|
14
|
+
"comment": "fix: add \"style\" to exports field"
|
15
|
+
}
|
16
|
+
]
|
17
|
+
}
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"date": "Tue, 21 Mar 2023 21:23:11 GMT",
|
21
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.10",
|
22
|
+
"version": "9.0.0-alpha.10",
|
23
|
+
"comments": {
|
24
|
+
"prerelease": [
|
25
|
+
{
|
26
|
+
"author": "tristan.watanabe@gmail.com",
|
27
|
+
"package": "@fluentui/react-theme-sass",
|
28
|
+
"commit": "ead1c6d4c2ac3f3596b62b8cbc07b0a03041f11f",
|
29
|
+
"comment": "fix: add node field to package.json exports map."
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"author": "tristan.watanabe@gmail.com",
|
33
|
+
"package": "@fluentui/react-theme-sass",
|
34
|
+
"commit": "2fac1a139149bd13b76b1306207bc988dca9c72c",
|
35
|
+
"comment": "chore: migrate to swc transpilation approach."
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"author": "beachball",
|
39
|
+
"package": "@fluentui/react-theme-sass",
|
40
|
+
"comment": "Bump @fluentui/react-theme to v9.1.7",
|
41
|
+
"commit": "b7a26f6263c80e3253c6b8338c33b73bae33e2b5"
|
42
|
+
}
|
43
|
+
]
|
44
|
+
}
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"date": "Wed, 15 Mar 2023 10:19:53 GMT",
|
48
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.9",
|
49
|
+
"version": "9.0.0-alpha.9",
|
50
|
+
"comments": {
|
51
|
+
"prerelease": [
|
52
|
+
{
|
53
|
+
"author": "miroslav.stastny@microsoft.com",
|
54
|
+
"package": "@fluentui/react-theme-sass",
|
55
|
+
"commit": "76e6598eae0c9247fb7f8834c1e24d8e864bf5df",
|
56
|
+
"comment": "feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens"
|
57
|
+
},
|
58
|
+
{
|
59
|
+
"author": "beachball",
|
60
|
+
"package": "@fluentui/react-theme-sass",
|
61
|
+
"comment": "Bump @fluentui/react-theme to v9.1.6",
|
62
|
+
"commit": "5da01b4766ae6d81befb7bcd588d9cf8d969e1e2"
|
63
|
+
}
|
64
|
+
]
|
65
|
+
}
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"date": "Mon, 16 Jan 2023 08:38:51 GMT",
|
69
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.8",
|
70
|
+
"version": "9.0.0-alpha.8",
|
71
|
+
"comments": {
|
72
|
+
"none": [
|
73
|
+
{
|
74
|
+
"author": "martinhochel@microsoft.com",
|
75
|
+
"package": "@fluentui/react-theme-sass",
|
76
|
+
"commit": "64bb45980d68de1219c6b36a7db5363f0a9cff9f",
|
77
|
+
"comment": "chore: migrate to packaged scripts"
|
78
|
+
}
|
79
|
+
]
|
80
|
+
}
|
81
|
+
},
|
82
|
+
{
|
83
|
+
"date": "Wed, 04 Jan 2023 01:40:39 GMT",
|
84
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.7",
|
85
|
+
"version": "9.0.0-alpha.7",
|
86
|
+
"comments": {
|
87
|
+
"none": [
|
88
|
+
{
|
89
|
+
"author": "martinhochel@microsoft.com",
|
90
|
+
"package": "@fluentui/react-theme-sass",
|
91
|
+
"commit": "4ec2b998b294d6d9c3196d3d82893bdd97d0c105",
|
92
|
+
"comment": "chore(scripts): move index.ts to to follow sub-folder domain packaging"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"author": "martinhochel@microsoft.com",
|
96
|
+
"package": "@fluentui/react-theme-sass",
|
97
|
+
"commit": "194b0cf0cc27c1c1233aa945f09b3ad29778d8ca",
|
98
|
+
"comment": "chore(scripts): use for @fluentui/scripts version within all package.json"
|
99
|
+
}
|
100
|
+
]
|
101
|
+
}
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"date": "Wed, 21 Dec 2022 10:20:33 GMT",
|
105
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.7",
|
106
|
+
"version": "9.0.0-alpha.7",
|
107
|
+
"comments": {
|
108
|
+
"prerelease": [
|
109
|
+
{
|
110
|
+
"author": "beachball",
|
111
|
+
"package": "@fluentui/react-theme-sass",
|
112
|
+
"comment": "Bump @fluentui/react-theme to v9.1.5",
|
113
|
+
"commit": "66bf89f634cad4a275e957d7a2214c7e73ff8c2e"
|
114
|
+
}
|
115
|
+
]
|
116
|
+
}
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"date": "Tue, 20 Dec 2022 14:59:31 GMT",
|
120
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.6",
|
121
|
+
"version": "9.0.0-alpha.6",
|
122
|
+
"comments": {
|
123
|
+
"prerelease": [
|
124
|
+
{
|
125
|
+
"author": "miroslav.stastny@microsoft.com",
|
126
|
+
"package": "@fluentui/react-theme-sass",
|
127
|
+
"commit": "43e7eb9324b43d02d8d828ff722ed3f3858f3d30",
|
128
|
+
"comment": "feat: add new tokens"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"author": "beachball",
|
132
|
+
"package": "@fluentui/react-theme-sass",
|
133
|
+
"comment": "Bump @fluentui/react-theme to v9.1.4",
|
134
|
+
"commit": "e7530bc179fd0e303448083c76a4af41a0e15322"
|
135
|
+
}
|
136
|
+
]
|
137
|
+
}
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"date": "Mon, 05 Dec 2022 18:29:37 GMT",
|
141
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.5",
|
142
|
+
"version": "9.0.0-alpha.5",
|
143
|
+
"comments": {
|
144
|
+
"none": [
|
145
|
+
{
|
146
|
+
"author": "tristan.watanabe@gmail.com",
|
147
|
+
"package": "@fluentui/react-theme-sass",
|
148
|
+
"commit": "109f6e6966ce703169c98134f1aedbaec17d6f93",
|
149
|
+
"comment": "chore: Migrate to new package structure."
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"prerelease": [
|
153
|
+
{
|
154
|
+
"author": "beachball",
|
155
|
+
"package": "@fluentui/react-theme-sass",
|
156
|
+
"comment": "Bump @fluentui/react-theme to v9.1.3",
|
157
|
+
"commit": "4c29542a51bf068e171690cc8e59c14489883912"
|
158
|
+
}
|
159
|
+
]
|
160
|
+
}
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"date": "Thu, 17 Nov 2022 23:05:50 GMT",
|
164
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.4",
|
165
|
+
"version": "9.0.0-alpha.4",
|
166
|
+
"comments": {
|
167
|
+
"none": [
|
168
|
+
{
|
169
|
+
"author": "martinhochel@microsoft.com",
|
170
|
+
"package": "@fluentui/react-theme-sass",
|
171
|
+
"commit": "ea768501802d65d63ddc63fff3816fb6b5008ae4",
|
172
|
+
"comment": "chore: update package scaffold"
|
173
|
+
}
|
174
|
+
]
|
175
|
+
}
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"date": "Fri, 11 Nov 2022 14:57:47 GMT",
|
179
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.4",
|
180
|
+
"version": "9.0.0-alpha.4",
|
181
|
+
"comments": {
|
182
|
+
"prerelease": [
|
183
|
+
{
|
184
|
+
"author": "martinhochel@microsoft.com",
|
185
|
+
"package": "@fluentui/react-theme-sass",
|
186
|
+
"commit": "b3907043bd8d7b650c55e8e7c3119b14f2606c38",
|
187
|
+
"comment": "fix: create valid export maps"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"author": "beachball",
|
191
|
+
"package": "@fluentui/react-theme-sass",
|
192
|
+
"comment": "Bump @fluentui/react-theme to v9.1.2",
|
193
|
+
"commit": "b4c9a0ae8d7444bf746f1307ab01e2dc16310720"
|
194
|
+
}
|
195
|
+
]
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"date": "Tue, 25 Oct 2022 00:35:38 GMT",
|
200
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.3",
|
201
|
+
"version": "9.0.0-alpha.3",
|
202
|
+
"comments": {
|
203
|
+
"none": [
|
204
|
+
{
|
205
|
+
"author": "miroslav.stastny@microsoft.com",
|
206
|
+
"package": "@fluentui/react-theme-sass",
|
207
|
+
"commit": "6ced976a8d0e6a0e2e207da8fe0eb810e2bd19bc",
|
208
|
+
"comment": "Update package readme"
|
209
|
+
}
|
210
|
+
]
|
211
|
+
}
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"date": "Thu, 20 Oct 2022 08:39:59 GMT",
|
215
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.3",
|
216
|
+
"version": "9.0.0-alpha.3",
|
217
|
+
"comments": {
|
218
|
+
"prerelease": [
|
219
|
+
{
|
220
|
+
"author": "beachball",
|
221
|
+
"package": "@fluentui/react-theme-sass",
|
222
|
+
"comment": "Bump @fluentui/react-theme to v9.1.1",
|
223
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
224
|
+
}
|
225
|
+
]
|
226
|
+
}
|
227
|
+
},
|
228
|
+
{
|
229
|
+
"date": "Thu, 15 Sep 2022 09:49:39 GMT",
|
230
|
+
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.2",
|
231
|
+
"version": "9.0.0-alpha.2",
|
232
|
+
"comments": {
|
233
|
+
"none": [
|
234
|
+
{
|
235
|
+
"author": "martinhochel@microsoft.com",
|
236
|
+
"package": "@fluentui/react-theme-sass",
|
237
|
+
"commit": "e6cf183695d6d67a24e038c49a876224e5ed35e5",
|
238
|
+
"comment": "chore: update package scaffold"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"author": "miroslav.stastny@microsoft.com",
|
242
|
+
"package": "@fluentui/react-theme-sass",
|
243
|
+
"commit": "9c97dc2efbfe7d22b3686cb765fd93916b303642",
|
244
|
+
"comment": "react-theme-sass dev-depends on react-theme"
|
245
|
+
}
|
246
|
+
],
|
247
|
+
"prerelease": [
|
248
|
+
{
|
249
|
+
"author": "seanmonahan@microsoft.com",
|
250
|
+
"package": "@fluentui/react-theme-sass",
|
251
|
+
"commit": "1d0a72865a151962362aa3e5054ac9bf8178f09c",
|
252
|
+
"comment": "feat: add new color tokens"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"author": "miroslav.stastny@microsoft.com",
|
256
|
+
"package": "@fluentui/react-theme-sass",
|
257
|
+
"commit": "61557d7e48a7380b2fbf2bcc5c8faa4a3ed7d89f",
|
258
|
+
"comment": "feat: Add fontWeightBold"
|
259
|
+
},
|
260
|
+
{
|
261
|
+
"author": "miroslav.stastny@microsoft.com",
|
262
|
+
"package": "@fluentui/react-theme-sass",
|
263
|
+
"commit": "0137f992b99b3b8ec927be8f7aef751d27cd5830",
|
264
|
+
"comment": "fix: Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"author": "seanmonahan@microsoft.com",
|
268
|
+
"package": "@fluentui/react-theme-sass",
|
269
|
+
"commit": "5c78472d96502d05a10016d9502eceada4edfd8a",
|
270
|
+
"comment": "feat: add color neutral foreground inverted 2 token"
|
271
|
+
},
|
272
|
+
{
|
273
|
+
"author": "beachball",
|
274
|
+
"package": "@fluentui/react-theme-sass",
|
275
|
+
"comment": "Bump @fluentui/react-theme to v9.1.0",
|
276
|
+
"commit": "a33448fe4a0f4117686c378f80b893d1406d95a8"
|
277
|
+
}
|
278
|
+
]
|
279
|
+
}
|
280
|
+
},
|
281
|
+
{
|
282
|
+
"date": "Tue, 28 Jun 2022 15:13:22 GMT",
|
6
283
|
"tag": "@fluentui/react-theme-sass_v9.0.0-alpha.1",
|
7
284
|
"version": "9.0.0-alpha.1",
|
8
285
|
"comments": {
|
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,102 @@
|
|
1
1
|
# Change Log - @fluentui/react-theme-sass
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 17 Apr 2023 17:50:11 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.11)
|
8
|
+
|
9
|
+
Mon, 17 Apr 2023 17:50:11 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.10..@fluentui/react-theme-sass_v9.0.0-alpha.11)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- fix: add "style" to exports field ([PR #27274](https://github.com/microsoft/fluentui/pull/27274) by olfedias@microsoft.com)
|
15
|
+
|
16
|
+
## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.10)
|
17
|
+
|
18
|
+
Tue, 21 Mar 2023 21:23:11 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.9..@fluentui/react-theme-sass_v9.0.0-alpha.10)
|
20
|
+
|
21
|
+
### Changes
|
22
|
+
|
23
|
+
- fix: add node field to package.json exports map. ([PR #27154](https://github.com/microsoft/fluentui/pull/27154) by tristan.watanabe@gmail.com)
|
24
|
+
- chore: migrate to swc transpilation approach. ([PR #27250](https://github.com/microsoft/fluentui/pull/27250) by tristan.watanabe@gmail.com)
|
25
|
+
- Bump @fluentui/react-theme to v9.1.7 ([PR #27271](https://github.com/microsoft/fluentui/pull/27271) by beachball)
|
26
|
+
|
27
|
+
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.9)
|
28
|
+
|
29
|
+
Wed, 15 Mar 2023 10:19:53 GMT
|
30
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.8..@fluentui/react-theme-sass_v9.0.0-alpha.9)
|
31
|
+
|
32
|
+
### Changes
|
33
|
+
|
34
|
+
- feat(tokens): Add colorNeutralBackgroundAlpha and colorNeutralStrokeAlpha tokens ([PR #27034](https://github.com/microsoft/fluentui/pull/27034) by miroslav.stastny@microsoft.com)
|
35
|
+
- Bump @fluentui/react-theme to v9.1.6 ([PR #27213](https://github.com/microsoft/fluentui/pull/27213) by beachball)
|
36
|
+
|
37
|
+
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.7)
|
38
|
+
|
39
|
+
Wed, 21 Dec 2022 10:20:33 GMT
|
40
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.6..@fluentui/react-theme-sass_v9.0.0-alpha.7)
|
41
|
+
|
42
|
+
### Changes
|
43
|
+
|
44
|
+
- Bump @fluentui/react-theme to v9.1.5 ([commit](https://github.com/microsoft/fluentui/commit/66bf89f634cad4a275e957d7a2214c7e73ff8c2e) by beachball)
|
45
|
+
|
46
|
+
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.6)
|
47
|
+
|
48
|
+
Tue, 20 Dec 2022 14:59:31 GMT
|
49
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.5..@fluentui/react-theme-sass_v9.0.0-alpha.6)
|
50
|
+
|
51
|
+
### Changes
|
52
|
+
|
53
|
+
- feat: add new tokens ([PR #25903](https://github.com/microsoft/fluentui/pull/25903) by miroslav.stastny@microsoft.com)
|
54
|
+
- Bump @fluentui/react-theme to v9.1.4 ([PR #26047](https://github.com/microsoft/fluentui/pull/26047) by beachball)
|
55
|
+
|
56
|
+
## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.5)
|
57
|
+
|
58
|
+
Mon, 05 Dec 2022 18:29:37 GMT
|
59
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.4..@fluentui/react-theme-sass_v9.0.0-alpha.5)
|
60
|
+
|
61
|
+
### Changes
|
62
|
+
|
63
|
+
- Bump @fluentui/react-theme to v9.1.3 ([PR #25798](https://github.com/microsoft/fluentui/pull/25798) by beachball)
|
64
|
+
|
65
|
+
## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.4)
|
66
|
+
|
67
|
+
Fri, 11 Nov 2022 14:57:47 GMT
|
68
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.3..@fluentui/react-theme-sass_v9.0.0-alpha.4)
|
69
|
+
|
70
|
+
### Changes
|
71
|
+
|
72
|
+
- fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
|
73
|
+
- Bump @fluentui/react-theme to v9.1.2 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
|
74
|
+
|
75
|
+
## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.3)
|
76
|
+
|
77
|
+
Thu, 20 Oct 2022 08:39:59 GMT
|
78
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.2..@fluentui/react-theme-sass_v9.0.0-alpha.3)
|
79
|
+
|
80
|
+
### Changes
|
81
|
+
|
82
|
+
- Bump @fluentui/react-theme to v9.1.1 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
83
|
+
|
84
|
+
## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.2)
|
85
|
+
|
86
|
+
Thu, 15 Sep 2022 09:49:39 GMT
|
87
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-theme-sass_v9.0.0-alpha.1..@fluentui/react-theme-sass_v9.0.0-alpha.2)
|
88
|
+
|
89
|
+
### Changes
|
90
|
+
|
91
|
+
- feat: add new color tokens ([PR #24027](https://github.com/microsoft/fluentui/pull/24027) by seanmonahan@microsoft.com)
|
92
|
+
- feat: Add fontWeightBold ([PR #24378](https://github.com/microsoft/fluentui/pull/24378) by miroslav.stastny@microsoft.com)
|
93
|
+
- fix: Rename colorNeutralForegroundInvertedStatic token to colorNeutralForegroundStaticInverted ([PR #24611](https://github.com/microsoft/fluentui/pull/24611) by miroslav.stastny@microsoft.com)
|
94
|
+
- feat: add color neutral foreground inverted 2 token ([PR #24494](https://github.com/microsoft/fluentui/pull/24494) by seanmonahan@microsoft.com)
|
95
|
+
- Bump @fluentui/react-theme to v9.1.0 ([PR #24808](https://github.com/microsoft/fluentui/pull/24808) by beachball)
|
96
|
+
|
7
97
|
## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-theme-sass_v9.0.0-alpha.1)
|
8
98
|
|
9
|
-
Tue, 28 Jun 2022 15:
|
99
|
+
Tue, 28 Jun 2022 15:13:22 GMT
|
10
100
|
|
11
101
|
### Changes
|
12
102
|
|
package/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# @fluentui/react-theme-sass
|
2
2
|
|
3
|
-
**React Theme Sass for [Fluent UI React](https://
|
3
|
+
**React Theme Sass for [Fluent UI React](https://react.fluentui.dev)**
|
4
4
|
|
5
5
|
SASS variables referencing react-theme design tokens injected to DOM by react-provider.
|
6
6
|
|
@@ -24,7 +24,8 @@ ReactDOM.render(
|
|
24
24
|
2. In SCSS styles you can import SCSS variables from `@fluentui/react-theme-sass` and use them in the styles:
|
25
25
|
|
26
26
|
```scss
|
27
|
-
@import '
|
27
|
+
@import '@fluentui/react-theme-sass';
|
28
|
+
|
28
29
|
.brandedElement {
|
29
30
|
color: $colorBrandForeground1;
|
30
31
|
background: $colorBrandBackground;
|
@@ -32,4 +33,4 @@ ReactDOM.render(
|
|
32
33
|
}
|
33
34
|
```
|
34
35
|
|
35
|
-
⚠ This package does not export any Javascript code.️
|
36
|
+
> ⚠ Note: This package does not export any Javascript code.️
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"
|
1
|
+
{"version":3,"names":["Error"],"sources":["../src/index.ts"],"sourcesContent":["throw new Error(\n '@fluentui/react-theme-sass package only contains SASS exports. It should never be imported in Javascript.',\n);\n\nexport {};\n"],"mappings":"AAAA,MAAM,IAAIA,KAAA,CACR;AADF"}
|
package/lib-commonjs/index.js
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
"use strict";
|
2
|
-
|
3
2
|
Object.defineProperty(exports, "__esModule", {
|
4
|
-
|
3
|
+
value: true
|
5
4
|
});
|
6
5
|
throw new Error('@fluentui/react-theme-sass package only contains SASS exports. It should never be imported in Javascript.');
|
6
|
+
//# sourceMappingURL=index.js.map
|
7
|
+
|
7
8
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["../lib/index.js"],"sourcesContent":["throw new Error('@fluentui/react-theme-sass package only contains SASS exports. It should never be imported in Javascript.');\nexport {};\n//# sourceMappingURL=index.js.map"],"names":["Error"],"mappings":";;;;AAAA,MAAM,IAAIA,MAAM,6GAA6G;CAE7H,iCAAiC"}
|
package/package.json
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-theme-sass",
|
3
|
-
"version": "9.0.0-alpha.
|
3
|
+
"version": "9.0.0-alpha.11",
|
4
4
|
"description": "SASS variables referencing react-theme design tokens injected to DOM by react-provider.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
7
|
-
"typings": "dist/index.d.ts",
|
7
|
+
"typings": "./dist/index.d.ts",
|
8
8
|
"style": "sass/tokens.scss",
|
9
9
|
"sideEffects": false,
|
10
10
|
"repository": {
|
@@ -18,16 +18,15 @@
|
|
18
18
|
"code-style": "just-scripts code-style",
|
19
19
|
"just": "just-scripts",
|
20
20
|
"lint": "just-scripts lint",
|
21
|
-
"start": "yarn storybook",
|
22
21
|
"test": "jest --passWithNoTests",
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"storybook": "node ../../../scripts/storybook/runner",
|
26
|
-
"type-check": "tsc -b tsconfig.json"
|
22
|
+
"type-check": "tsc -b tsconfig.json",
|
23
|
+
"generate-api": "just-scripts generate-api"
|
27
24
|
},
|
28
25
|
"devDependencies": {
|
29
26
|
"@fluentui/eslint-plugin": "*",
|
30
|
-
"@fluentui/
|
27
|
+
"@fluentui/react-theme": "^9.1.7",
|
28
|
+
"@fluentui/scripts-api-extractor": "*",
|
29
|
+
"@fluentui/scripts-tasks": "*"
|
31
30
|
},
|
32
31
|
"beachball": {
|
33
32
|
"disallowedChangeTypes": [
|
@@ -35,5 +34,18 @@
|
|
35
34
|
"minor",
|
36
35
|
"patch"
|
37
36
|
]
|
37
|
+
},
|
38
|
+
"dependencies": {
|
39
|
+
"@swc/helpers": "^0.4.14"
|
40
|
+
},
|
41
|
+
"exports": {
|
42
|
+
".": {
|
43
|
+
"style": "./sass/tokens.scss",
|
44
|
+
"types": "./dist/index.d.ts",
|
45
|
+
"node": "./lib-commonjs/index.js",
|
46
|
+
"import": "./lib/index.js",
|
47
|
+
"require": "./lib-commonjs/index.js"
|
48
|
+
},
|
49
|
+
"./package.json": "./package.json"
|
38
50
|
}
|
39
51
|
}
|
@@ -4,6 +4,7 @@ $colorPaletteRedBackground3: var(--colorPaletteRedBackground3);
|
|
4
4
|
$colorPaletteRedForeground1: var(--colorPaletteRedForeground1);
|
5
5
|
$colorPaletteRedForeground2: var(--colorPaletteRedForeground2);
|
6
6
|
$colorPaletteRedForeground3: var(--colorPaletteRedForeground3);
|
7
|
+
$colorPaletteRedForegroundInverted: var(--colorPaletteRedForegroundInverted);
|
7
8
|
$colorPaletteRedBorderActive: var(--colorPaletteRedBorderActive);
|
8
9
|
$colorPaletteRedBorder1: var(--colorPaletteRedBorder1);
|
9
10
|
$colorPaletteRedBorder2: var(--colorPaletteRedBorder2);
|
@@ -14,6 +15,7 @@ $colorPaletteGreenBackground3: var(--colorPaletteGreenBackground3);
|
|
14
15
|
$colorPaletteGreenForeground1: var(--colorPaletteGreenForeground1);
|
15
16
|
$colorPaletteGreenForeground2: var(--colorPaletteGreenForeground2);
|
16
17
|
$colorPaletteGreenForeground3: var(--colorPaletteGreenForeground3);
|
18
|
+
$colorPaletteGreenForegroundInverted: var(--colorPaletteGreenForegroundInverted);
|
17
19
|
$colorPaletteGreenBorderActive: var(--colorPaletteGreenBorderActive);
|
18
20
|
$colorPaletteGreenBorder1: var(--colorPaletteGreenBorder1);
|
19
21
|
$colorPaletteGreenBorder2: var(--colorPaletteGreenBorder2);
|
@@ -34,6 +36,7 @@ $colorPaletteYellowBackground3: var(--colorPaletteYellowBackground3);
|
|
34
36
|
$colorPaletteYellowForeground1: var(--colorPaletteYellowForeground1);
|
35
37
|
$colorPaletteYellowForeground2: var(--colorPaletteYellowForeground2);
|
36
38
|
$colorPaletteYellowForeground3: var(--colorPaletteYellowForeground3);
|
39
|
+
$colorPaletteYellowForegroundInverted: var(--colorPaletteYellowForegroundInverted);
|
37
40
|
$colorPaletteYellowBorderActive: var(--colorPaletteYellowBorderActive);
|
38
41
|
$colorPaletteYellowBorder1: var(--colorPaletteYellowBorder1);
|
39
42
|
$colorPaletteYellowBorder2: var(--colorPaletteYellowBorder2);
|
package/sass/colorTokens.scss
CHANGED
@@ -37,7 +37,9 @@ $colorNeutralForegroundInverted: var(--colorNeutralForegroundInverted);
|
|
37
37
|
$colorNeutralForegroundInvertedHover: var(--colorNeutralForegroundInvertedHover);
|
38
38
|
$colorNeutralForegroundInvertedPressed: var(--colorNeutralForegroundInvertedPressed);
|
39
39
|
$colorNeutralForegroundInvertedSelected: var(--colorNeutralForegroundInvertedSelected);
|
40
|
+
$colorNeutralForegroundInverted2: var(--colorNeutralForegroundInverted2);
|
40
41
|
$colorNeutralForegroundOnBrand: var(--colorNeutralForegroundOnBrand);
|
42
|
+
$colorNeutralForegroundStaticInverted: var(--colorNeutralForegroundStaticInverted);
|
41
43
|
$colorNeutralForegroundInvertedLink: var(--colorNeutralForegroundInvertedLink);
|
42
44
|
$colorNeutralForegroundInvertedLinkHover: var(--colorNeutralForegroundInvertedLinkHover);
|
43
45
|
$colorNeutralForegroundInvertedLinkPressed: var(--colorNeutralForegroundInvertedLinkPressed);
|
@@ -71,6 +73,9 @@ $colorNeutralBackground5Pressed: var(--colorNeutralBackground5Pressed);
|
|
71
73
|
$colorNeutralBackground5Selected: var(--colorNeutralBackground5Selected);
|
72
74
|
$colorNeutralBackground6: var(--colorNeutralBackground6);
|
73
75
|
$colorNeutralBackgroundInverted: var(--colorNeutralBackgroundInverted);
|
76
|
+
$colorNeutralBackgroundStatic: var(--colorNeutralBackgroundStatic);
|
77
|
+
$colorNeutralBackgroundAlpha: var(--colorNeutralBackgroundAlpha);
|
78
|
+
$colorNeutralBackgroundAlpha2: var(--colorNeutralBackgroundAlpha2);
|
74
79
|
$colorSubtleBackground: var(--colorSubtleBackground);
|
75
80
|
$colorSubtleBackgroundHover: var(--colorSubtleBackgroundHover);
|
76
81
|
$colorSubtleBackgroundPressed: var(--colorSubtleBackgroundPressed);
|
@@ -90,6 +95,8 @@ $colorNeutralBackgroundDisabled: var(--colorNeutralBackgroundDisabled);
|
|
90
95
|
$colorNeutralBackgroundInvertedDisabled: var(--colorNeutralBackgroundInvertedDisabled);
|
91
96
|
$colorNeutralStencil1: var(--colorNeutralStencil1);
|
92
97
|
$colorNeutralStencil2: var(--colorNeutralStencil2);
|
98
|
+
$colorNeutralStencil1Alpha: var(--colorNeutralStencil1Alpha);
|
99
|
+
$colorNeutralStencil2Alpha: var(--colorNeutralStencil2Alpha);
|
93
100
|
$colorBackgroundOverlay: var(--colorBackgroundOverlay);
|
94
101
|
$colorScrollbarOverlay: var(--colorScrollbarOverlay);
|
95
102
|
$colorBrandBackground: var(--colorBrandBackground);
|
@@ -130,6 +137,7 @@ $colorNeutralStrokeInvertedDisabled: var(--colorNeutralStrokeInvertedDisabled);
|
|
130
137
|
$colorTransparentStroke: var(--colorTransparentStroke);
|
131
138
|
$colorTransparentStrokeInteractive: var(--colorTransparentStrokeInteractive);
|
132
139
|
$colorTransparentStrokeDisabled: var(--colorTransparentStrokeDisabled);
|
140
|
+
$colorNeutralStrokeAlpha: var(--colorNeutralStrokeAlpha);
|
133
141
|
$colorStrokeFocus1: var(--colorStrokeFocus1);
|
134
142
|
$colorStrokeFocus2: var(--colorStrokeFocus2);
|
135
143
|
$colorNeutralShadowAmbient: var(--colorNeutralShadowAmbient);
|
package/sass/fontTokens.scss
CHANGED
@@ -23,6 +23,7 @@ $lineHeightHero1000: var(--lineHeightHero1000);
|
|
23
23
|
$fontWeightRegular: var(--fontWeightRegular);
|
24
24
|
$fontWeightMedium: var(--fontWeightMedium);
|
25
25
|
$fontWeightSemibold: var(--fontWeightSemibold);
|
26
|
+
$fontWeightBold: var(--fontWeightBold);
|
26
27
|
|
27
28
|
$fontFamilyBase: var(--fontFamilyBase);
|
28
29
|
$fontFamilyMonospace: var(--fontFamilyMonospace);
|
package/dist/tsdoc-metadata.json
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
3
|
-
{
|
4
|
-
"tsdocVersion": "0.12",
|
5
|
-
"toolPackages": [
|
6
|
-
{
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
8
|
-
"packageVersion": "7.18.1"
|
9
|
-
}
|
10
|
-
]
|
11
|
-
}
|