@fluentui/react-provider 0.0.0-nightlyfe9829e48120211112.1 → 0.0.0-nightlyff78d1e27a20220217.1
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.json +279 -20
- package/CHANGELOG.md +68 -13
- package/dist/react-provider.d.ts +12 -15
- package/lib/FluentProvider.js.map +1 -1
- package/lib/components/FluentProvider/FluentProvider.js +8 -8
- package/lib/components/FluentProvider/FluentProvider.js.map +1 -1
- package/lib/components/FluentProvider/FluentProvider.types.d.ts +8 -7
- package/lib/components/FluentProvider/FluentProvider.types.js.map +1 -1
- package/lib/components/FluentProvider/index.js.map +1 -1
- package/lib/components/FluentProvider/renderFluentProvider.d.ts +1 -1
- package/lib/components/FluentProvider/renderFluentProvider.js +7 -4
- package/lib/components/FluentProvider/renderFluentProvider.js.map +1 -1
- package/lib/components/FluentProvider/useFluentProvider.d.ts +4 -5
- package/lib/components/FluentProvider/useFluentProvider.js +31 -6
- package/lib/components/FluentProvider/useFluentProvider.js.map +1 -1
- package/lib/components/FluentProvider/useFluentProviderContextValues.d.ts +1 -1
- package/lib/components/FluentProvider/useFluentProviderContextValues.js +2 -1
- package/lib/components/FluentProvider/useFluentProviderContextValues.js.map +1 -1
- package/lib/components/FluentProvider/useFluentProviderStyles.d.ts +1 -1
- package/lib/components/FluentProvider/useFluentProviderStyles.js +3 -2
- package/lib/components/FluentProvider/useFluentProviderStyles.js.map +1 -1
- package/lib/components/FluentProvider/useThemeStyleTag.js +4 -9
- package/lib/components/FluentProvider/useThemeStyleTag.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/FluentProvider.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/FluentProvider.js +4 -4
- package/lib-commonjs/components/FluentProvider/FluentProvider.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/FluentProvider.types.d.ts +8 -7
- package/lib-commonjs/components/FluentProvider/FluentProvider.types.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/index.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/renderFluentProvider.d.ts +1 -1
- package/lib-commonjs/components/FluentProvider/renderFluentProvider.js +10 -7
- package/lib-commonjs/components/FluentProvider/renderFluentProvider.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/useFluentProvider.d.ts +4 -5
- package/lib-commonjs/components/FluentProvider/useFluentProvider.js +36 -11
- package/lib-commonjs/components/FluentProvider/useFluentProvider.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.d.ts +1 -1
- package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.js +4 -3
- package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.d.ts +1 -1
- package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.js +8 -6
- package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.js.map +1 -1
- package/lib-commonjs/components/FluentProvider/useThemeStyleTag.js +4 -10
- package/lib-commonjs/components/FluentProvider/useThemeStyleTag.js.map +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +13 -15
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -12
- package/lib/common/isConformant.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -23
- package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,17 +2,270 @@
|
|
2
2
|
"name": "@fluentui/react-provider",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "
|
6
|
-
"tag": "@fluentui/react-provider_v0.0.0-
|
7
|
-
"version": "0.0.0-
|
5
|
+
"date": "Thu, 17 Feb 2022 11:41:21 GMT",
|
6
|
+
"tag": "@fluentui/react-provider_v0.0.0-nightlyff78d1e27a20220217.1",
|
7
|
+
"version": "0.0.0-nightlyff78d1e27a20220217.1",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
11
|
"author": "email not defined",
|
12
12
|
"package": "@fluentui/react-provider",
|
13
|
-
"commit": "
|
13
|
+
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3",
|
14
14
|
"comment": "Release nightly v9"
|
15
15
|
},
|
16
|
+
{
|
17
|
+
"author": "beachball",
|
18
|
+
"package": "@fluentui/react-provider",
|
19
|
+
"comment": "Bump @fluentui/react-shared-contexts to v0.0.0-nightlyff78d1e27a20220217.1",
|
20
|
+
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-provider",
|
25
|
+
"comment": "Bump @fluentui/react-tabster to v0.0.0-nightlyff78d1e27a20220217.1",
|
26
|
+
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-provider",
|
31
|
+
"comment": "Bump @fluentui/react-theme to v0.0.0-nightlyff78d1e27a20220217.1",
|
32
|
+
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-provider",
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v0.0.0-nightlyff78d1e27a20220217.1",
|
38
|
+
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"author": "beachball",
|
42
|
+
"package": "@fluentui/react-provider",
|
43
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyff78d1e27a20220217.1",
|
44
|
+
"commit": "966e16625ca79f990ad8ca408ba47857adc522b3"
|
45
|
+
}
|
46
|
+
]
|
47
|
+
}
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"date": "Thu, 10 Feb 2022 08:50:43 GMT",
|
51
|
+
"tag": "@fluentui/react-provider_v9.0.0-rc.1",
|
52
|
+
"version": "9.0.0-rc.1",
|
53
|
+
"comments": {
|
54
|
+
"none": [
|
55
|
+
{
|
56
|
+
"author": "martinhochel@microsoft.com",
|
57
|
+
"package": "@fluentui/react-provider",
|
58
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
59
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"author": "olfedias@microsoft.com",
|
63
|
+
"package": "@fluentui/react-provider",
|
64
|
+
"commit": "d11a238f944b891c13b3bfa56a17ddace52f37d5",
|
65
|
+
"comment": "update stories to not use CSS shorthands in styles"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"author": "martinhochel@microsoft.com",
|
69
|
+
"package": "@fluentui/react-provider",
|
70
|
+
"commit": "28ceaaa83cd92a0389c466f0b15b283e3d9b08e4",
|
71
|
+
"comment": "chore: update all jest deps to v25 + apply single version policy"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"author": "olfedias@microsoft.com",
|
75
|
+
"package": "@fluentui/react-provider",
|
76
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
77
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"author": "olfedias@microsoft.com",
|
81
|
+
"package": "@fluentui/react-provider",
|
82
|
+
"commit": "0fe5ae5d94918a8f8805ed3e587ed98acb17c4b2",
|
83
|
+
"comment": "add @types/react-test-renderer to devDependencies"
|
84
|
+
}
|
85
|
+
],
|
86
|
+
"prerelease": [
|
87
|
+
{
|
88
|
+
"author": "mgodbolt@microsoft.com",
|
89
|
+
"package": "@fluentui/react-provider",
|
90
|
+
"commit": "839ec14849e112b85aa321d034739ec421199141",
|
91
|
+
"comment": "remove export of commons types"
|
92
|
+
},
|
93
|
+
{
|
94
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
95
|
+
"package": "@fluentui/react-provider",
|
96
|
+
"commit": "0bc161458eae5ae8d387172430496ce9829b1bb1",
|
97
|
+
"comment": "Using ComponentSlotProps instead of ObjectShorthandProps."
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
101
|
+
"package": "@fluentui/react-provider",
|
102
|
+
"commit": "00a5d945904c896a0664de6ba72c145a255f0848",
|
103
|
+
"comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"author": "olfedias@microsoft.com",
|
107
|
+
"package": "@fluentui/react-provider",
|
108
|
+
"commit": "706305303fcf03a82052c0a9e74d8aecb102885e",
|
109
|
+
"comment": "use Griffel packages"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"author": "behowell@microsoft.com",
|
113
|
+
"package": "@fluentui/react-provider",
|
114
|
+
"commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
|
115
|
+
"comment": "Refactor component Slot typings"
|
116
|
+
},
|
117
|
+
{
|
118
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
119
|
+
"package": "@fluentui/react-provider",
|
120
|
+
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
|
121
|
+
"comment": "Updating based on changes to composition types."
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"author": "martinhochel@microsoft.com",
|
125
|
+
"package": "@fluentui/react-provider",
|
126
|
+
"commit": "ecfe4c4fdc306e9c484706f28457f440f55d3684",
|
127
|
+
"comment": "make the FluentProvider#theme TS API reflect runtime and add warning if there is a violation"
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
131
|
+
"package": "@fluentui/react-provider",
|
132
|
+
"commit": "b22c4ef0eba0730286f2ed701e1b851d8a5c03b5",
|
133
|
+
"comment": "Replacing use of functions in makeStyles with direct use of tokens"
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"author": "martinhochel@microsoft.com",
|
137
|
+
"package": "@fluentui/react-provider",
|
138
|
+
"commit": "1dba2fca2365f1a748505896679ae160a6fec270",
|
139
|
+
"comment": "replace mergeThemes functionality from react-theme"
|
140
|
+
},
|
141
|
+
{
|
142
|
+
"author": "bsunderhus@microsoft.com",
|
143
|
+
"package": "@fluentui/react-provider",
|
144
|
+
"commit": "c9a03954ffd5d1a85284fb36ef4cd103ed8aa927",
|
145
|
+
"comment": "Remove `themeToCSSVariables` function"
|
146
|
+
},
|
147
|
+
{
|
148
|
+
"author": "lingfangao@hotmail.com",
|
149
|
+
"package": "@fluentui/react-provider",
|
150
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
151
|
+
"comment": "Bump Fluent UI packages to 9.0.0-rc"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"author": "behowell@microsoft.com",
|
155
|
+
"package": "@fluentui/react-provider",
|
156
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
157
|
+
"comment": "Remove component's shorthandProps array"
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"author": "behowell@microsoft.com",
|
161
|
+
"package": "@fluentui/react-provider",
|
162
|
+
"commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
|
163
|
+
"comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
|
164
|
+
},
|
165
|
+
{
|
166
|
+
"author": "beachball",
|
167
|
+
"package": "@fluentui/react-provider",
|
168
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
|
169
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"author": "beachball",
|
173
|
+
"package": "@fluentui/react-provider",
|
174
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
|
175
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"author": "beachball",
|
179
|
+
"package": "@fluentui/react-provider",
|
180
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-rc.1",
|
181
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
182
|
+
},
|
183
|
+
{
|
184
|
+
"author": "beachball",
|
185
|
+
"package": "@fluentui/react-provider",
|
186
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
187
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
188
|
+
},
|
189
|
+
{
|
190
|
+
"author": "beachball",
|
191
|
+
"package": "@fluentui/react-provider",
|
192
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
|
193
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
194
|
+
}
|
195
|
+
]
|
196
|
+
}
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"date": "Thu, 25 Nov 2021 08:34:16 GMT",
|
200
|
+
"tag": "@fluentui/react-provider_v9.0.0-beta.5",
|
201
|
+
"version": "9.0.0-beta.5",
|
202
|
+
"comments": {
|
203
|
+
"none": [
|
204
|
+
{
|
205
|
+
"author": "olfedias@microsoft.com",
|
206
|
+
"package": "@fluentui/react-provider",
|
207
|
+
"commit": "14b1e35b8da2f04538c2183a9be6c6b76dad3cca",
|
208
|
+
"comment": "update tooling configs"
|
209
|
+
}
|
210
|
+
],
|
211
|
+
"prerelease": [
|
212
|
+
{
|
213
|
+
"author": "beachball",
|
214
|
+
"package": "@fluentui/react-provider",
|
215
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
216
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"author": "beachball",
|
220
|
+
"package": "@fluentui/react-provider",
|
221
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
222
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"author": "beachball",
|
226
|
+
"package": "@fluentui/react-provider",
|
227
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
228
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"author": "beachball",
|
232
|
+
"package": "@fluentui/react-provider",
|
233
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
|
234
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"author": "beachball",
|
238
|
+
"package": "@fluentui/react-provider",
|
239
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
240
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
241
|
+
},
|
242
|
+
{
|
243
|
+
"author": "beachball",
|
244
|
+
"package": "@fluentui/react-provider",
|
245
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
246
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
247
|
+
},
|
248
|
+
{
|
249
|
+
"author": "beachball",
|
250
|
+
"package": "@fluentui/react-provider",
|
251
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
252
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
253
|
+
},
|
254
|
+
{
|
255
|
+
"author": "beachball",
|
256
|
+
"package": "@fluentui/react-provider",
|
257
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
258
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
259
|
+
}
|
260
|
+
]
|
261
|
+
}
|
262
|
+
},
|
263
|
+
{
|
264
|
+
"date": "Fri, 12 Nov 2021 13:25:31 GMT",
|
265
|
+
"tag": "@fluentui/react-provider_v9.0.0-beta.4",
|
266
|
+
"version": "9.0.0-beta.4",
|
267
|
+
"comments": {
|
268
|
+
"prerelease": [
|
16
269
|
{
|
17
270
|
"author": "olfedias@microsoft.com",
|
18
271
|
"package": "@fluentui/react-provider",
|
@@ -28,50 +281,50 @@
|
|
28
281
|
{
|
29
282
|
"author": "beachball",
|
30
283
|
"package": "@fluentui/react-provider",
|
31
|
-
"comment": "Bump @fluentui/react-make-styles to
|
32
|
-
"commit": "
|
284
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
285
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
33
286
|
},
|
34
287
|
{
|
35
288
|
"author": "beachball",
|
36
289
|
"package": "@fluentui/react-provider",
|
37
|
-
"comment": "Bump @fluentui/react-shared-contexts to
|
38
|
-
"commit": "
|
290
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
291
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
39
292
|
},
|
40
293
|
{
|
41
294
|
"author": "beachball",
|
42
295
|
"package": "@fluentui/react-provider",
|
43
|
-
"comment": "Bump @fluentui/react-tabster to
|
44
|
-
"commit": "
|
296
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
297
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
45
298
|
},
|
46
299
|
{
|
47
300
|
"author": "beachball",
|
48
301
|
"package": "@fluentui/react-provider",
|
49
|
-
"comment": "Bump @fluentui/react-theme to
|
50
|
-
"commit": "
|
302
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.3",
|
303
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
51
304
|
},
|
52
305
|
{
|
53
306
|
"author": "beachball",
|
54
307
|
"package": "@fluentui/react-provider",
|
55
|
-
"comment": "Bump @fluentui/react-utilities to
|
56
|
-
"commit": "
|
308
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
309
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
57
310
|
},
|
58
311
|
{
|
59
312
|
"author": "beachball",
|
60
313
|
"package": "@fluentui/react-provider",
|
61
|
-
"comment": "Bump @fluentui/babel-make-styles to
|
62
|
-
"commit": "
|
314
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
315
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
63
316
|
},
|
64
317
|
{
|
65
318
|
"author": "beachball",
|
66
319
|
"package": "@fluentui/react-provider",
|
67
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to
|
68
|
-
"commit": "
|
320
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
321
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
69
322
|
},
|
70
323
|
{
|
71
324
|
"author": "beachball",
|
72
325
|
"package": "@fluentui/react-provider",
|
73
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to
|
74
|
-
"commit": "
|
326
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
327
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
75
328
|
}
|
76
329
|
],
|
77
330
|
"none": [
|
@@ -86,6 +339,12 @@
|
|
86
339
|
"package": "@fluentui/react-provider",
|
87
340
|
"commit": "f32855d6039f4049b69b005fe6dde0686eed503c",
|
88
341
|
"comment": "Refactored stories"
|
342
|
+
},
|
343
|
+
{
|
344
|
+
"author": "lingfangao@hotmail.com",
|
345
|
+
"package": "@fluentui/react-provider",
|
346
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
347
|
+
"comment": "Remove beta release tag"
|
89
348
|
}
|
90
349
|
]
|
91
350
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,27 +1,82 @@
|
|
1
1
|
# Change Log - @fluentui/react-provider
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Thu, 17 Feb 2022 11:41:21 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [0.0.0-
|
7
|
+
## [0.0.0-nightlyff78d1e27a20220217.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v0.0.0-nightlyff78d1e27a20220217.1)
|
8
8
|
|
9
|
-
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-
|
9
|
+
Thu, 17 Feb 2022 11:41:21 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-rc.1..@fluentui/react-provider_v0.0.0-nightlyff78d1e27a20220217.1)
|
11
|
+
|
12
|
+
### Changes
|
13
|
+
|
14
|
+
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by email not defined)
|
15
|
+
- Bump @fluentui/react-shared-contexts to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
|
16
|
+
- Bump @fluentui/react-tabster to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
|
17
|
+
- Bump @fluentui/react-theme to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
|
19
|
+
- Bump @fluentui/react-conformance-griffel to v0.0.0-nightlyff78d1e27a20220217.1 ([commit](https://github.com/microsoft/fluentui/commit/966e16625ca79f990ad8ca408ba47857adc522b3) by beachball)
|
20
|
+
|
21
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-rc.1)
|
22
|
+
|
23
|
+
Thu, 10 Feb 2022 08:50:43 GMT
|
24
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.5..@fluentui/react-provider_v9.0.0-rc.1)
|
25
|
+
|
26
|
+
### Changes
|
27
|
+
|
28
|
+
- remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
|
29
|
+
- Using ComponentSlotProps instead of ObjectShorthandProps. ([PR #20890](https://github.com/microsoft/fluentui/pull/20890) by Humberto.Morimoto@microsoft.com)
|
30
|
+
- Updating use of tokens.fontWeight now that we don't need to use casting. ([PR #21217](https://github.com/microsoft/fluentui/pull/21217) by Humberto.Morimoto@microsoft.com)
|
31
|
+
- use Griffel packages ([PR #21360](https://github.com/microsoft/fluentui/pull/21360) by olfedias@microsoft.com)
|
32
|
+
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
|
33
|
+
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
34
|
+
- make the FluentProvider#theme TS API reflect runtime and add warning if there is a violation ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
|
35
|
+
- Replacing use of functions in makeStyles with direct use of tokens ([PR #21052](https://github.com/microsoft/fluentui/pull/21052) by Humberto.Morimoto@microsoft.com)
|
36
|
+
- replace mergeThemes functionality from react-theme ([PR #21278](https://github.com/microsoft/fluentui/pull/21278) by martinhochel@microsoft.com)
|
37
|
+
- Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
|
38
|
+
- Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
39
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
40
|
+
- BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
|
41
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
42
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
43
|
+
- Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
44
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
45
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
46
|
+
|
47
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.5)
|
48
|
+
|
49
|
+
Thu, 25 Nov 2021 08:34:16 GMT
|
50
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.4..@fluentui/react-provider_v9.0.0-beta.5)
|
51
|
+
|
52
|
+
### Changes
|
53
|
+
|
54
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
55
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
56
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
57
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
58
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
59
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
60
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
61
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
62
|
+
|
63
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.4)
|
64
|
+
|
65
|
+
Fri, 12 Nov 2021 13:25:31 GMT
|
66
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.3..@fluentui/react-provider_v9.0.0-beta.4)
|
11
67
|
|
12
68
|
### Changes
|
13
69
|
|
14
|
-
- Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/142a7cc99189d401f2f98ff0ee2f1db652df8b72) by email not defined)
|
15
70
|
- export static classes for components ([PR #20451](https://github.com/microsoft/fluentui/pull/20451) by olfedias@microsoft.com)
|
16
71
|
- Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
|
17
|
-
- Bump @fluentui/react-make-styles to
|
18
|
-
- Bump @fluentui/react-shared-contexts to
|
19
|
-
- Bump @fluentui/react-tabster to
|
20
|
-
- Bump @fluentui/react-theme to
|
21
|
-
- Bump @fluentui/react-utilities to
|
22
|
-
- Bump @fluentui/babel-make-styles to
|
23
|
-
- Bump @fluentui/jest-serializer-make-styles to
|
24
|
-
- Bump @fluentui/react-conformance-make-styles to
|
72
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
73
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
74
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
75
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
76
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
77
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
78
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
79
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
25
80
|
|
26
81
|
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.3)
|
27
82
|
|
package/dist/react-provider.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
1
|
import type { ComponentProps } from '@fluentui/react-utilities';
|
2
2
|
import type { ComponentState } from '@fluentui/react-utilities';
|
3
|
-
import type { IntrinsicShorthandProps } from '@fluentui/react-utilities';
|
4
3
|
import type { PartialTheme } from '@fluentui/react-theme';
|
5
4
|
import type { ProviderContextValue } from '@fluentui/react-shared-contexts';
|
6
5
|
import * as React_2 from 'react';
|
6
|
+
import type { Slot } from '@fluentui/react-utilities';
|
7
7
|
import type { Theme } from '@fluentui/react-theme';
|
8
8
|
import type { ThemeClassNameContextValue } from '@fluentui/react-shared-contexts';
|
9
|
-
import type { ThemeContextValue } from '@fluentui/react-shared-contexts';
|
10
9
|
import type { TooltipContextType } from '@fluentui/react-shared-contexts';
|
11
10
|
import { useFluent } from '@fluentui/react-shared-contexts';
|
12
11
|
import { useTheme } from '@fluentui/react-shared-contexts';
|
@@ -15,17 +14,17 @@ export declare const FluentProvider: React_2.ForwardRefExoticComponent<FluentPro
|
|
15
14
|
|
16
15
|
export declare const fluentProviderClassName = "fui-FluentProvider";
|
17
16
|
|
18
|
-
|
17
|
+
declare interface FluentProviderCommons {
|
19
18
|
/** Sets the direction of text & generated styles. */
|
20
19
|
dir: 'ltr' | 'rtl';
|
21
20
|
/** Provides the document, can be undefined during SSR render. */
|
22
21
|
targetDocument: Document | undefined;
|
23
22
|
}
|
24
23
|
|
25
|
-
export declare interface FluentProviderContextValues {
|
24
|
+
export declare interface FluentProviderContextValues extends Pick<FluentProviderState, 'theme'> {
|
26
25
|
provider: ProviderContextValue;
|
27
|
-
theme: ThemeContextValue;
|
28
26
|
themeClassName: ThemeClassNameContextValue;
|
27
|
+
textDirection: 'ltr' | 'rtl';
|
29
28
|
tooltip: TooltipContextType;
|
30
29
|
}
|
31
30
|
|
@@ -33,39 +32,37 @@ export declare interface FluentProviderProps extends Omit<ComponentProps<FluentP
|
|
33
32
|
theme?: PartialTheme;
|
34
33
|
}
|
35
34
|
|
36
|
-
export declare const fluentProviderShorthandProps: (keyof FluentProviderSlots)[];
|
37
|
-
|
38
35
|
export declare type FluentProviderSlots = {
|
39
|
-
root:
|
36
|
+
root: Slot<'div'>;
|
40
37
|
};
|
41
38
|
|
42
39
|
export declare interface FluentProviderState extends ComponentState<FluentProviderSlots>, FluentProviderCommons {
|
43
|
-
theme: Theme;
|
40
|
+
theme: Theme | Partial<Theme> | undefined;
|
44
41
|
themeClassName: string;
|
45
42
|
}
|
46
43
|
|
47
44
|
/**
|
48
45
|
* Render the final JSX of FluentProvider
|
49
46
|
*/
|
50
|
-
export declare const
|
47
|
+
export declare const renderFluentProvider_unstable: (state: FluentProviderState, contextValues: FluentProviderContextValues) => JSX.Element;
|
51
48
|
|
52
49
|
export { useFluent }
|
53
50
|
|
54
51
|
/**
|
55
52
|
* Create the state required to render FluentProvider.
|
56
53
|
*
|
57
|
-
* The returned state can be modified with hooks such as
|
58
|
-
* before being passed to
|
54
|
+
* The returned state can be modified with hooks such as useFluentProviderStyles_unstable,
|
55
|
+
* before being passed to renderFluentProvider_unstable.
|
59
56
|
*
|
60
57
|
* @param props - props from this instance of FluentProvider
|
61
58
|
* @param ref - reference to root HTMLElement of FluentProvider
|
62
59
|
*/
|
63
|
-
export declare const
|
60
|
+
export declare const useFluentProvider_unstable: (props: FluentProviderProps, ref: React_2.Ref<HTMLElement>) => FluentProviderState;
|
64
61
|
|
65
|
-
export declare function
|
62
|
+
export declare function useFluentProviderContextValues_unstable(state: FluentProviderState): FluentProviderContextValues;
|
66
63
|
|
67
64
|
/** Applies style classnames to slots */
|
68
|
-
export declare const
|
65
|
+
export declare const useFluentProviderStyles_unstable: (state: FluentProviderState) => FluentProviderState;
|
69
66
|
|
70
67
|
export { useTheme }
|
71
68
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FluentProvider.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"FluentProvider.js","sourceRoot":"../src/","sources":["FluentProvider.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/FluentProvider/index';\n"]}
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import * as React from 'react';
|
2
|
-
import {
|
3
|
-
import {
|
4
|
-
import {
|
5
|
-
import {
|
2
|
+
import { renderFluentProvider_unstable } from './renderFluentProvider';
|
3
|
+
import { useFluentProvider_unstable } from './useFluentProvider';
|
4
|
+
import { useFluentProviderStyles_unstable } from './useFluentProviderStyles';
|
5
|
+
import { useFluentProviderContextValues_unstable } from './useFluentProviderContextValues';
|
6
6
|
export const FluentProvider = /*#__PURE__*/React.forwardRef((props, ref) => {
|
7
|
-
const state =
|
8
|
-
|
9
|
-
const contextValues =
|
10
|
-
return
|
7
|
+
const state = useFluentProvider_unstable(props, ref);
|
8
|
+
useFluentProviderStyles_unstable(state);
|
9
|
+
const contextValues = useFluentProviderContextValues_unstable(state);
|
10
|
+
return renderFluentProvider_unstable(state, contextValues);
|
11
11
|
});
|
12
12
|
FluentProvider.displayName = 'FluentProvider';
|
13
13
|
//# sourceMappingURL=FluentProvider.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["
|
1
|
+
{"version":3,"sources":["components/FluentProvider/FluentProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,6BAAT,QAA8C,wBAA9C;AACA,SAAS,0BAAT,QAA2C,qBAA3C;AACA,SAAS,gCAAT,QAAiD,2BAAjD;AACA,SAAS,uCAAT,QAAwD,kCAAxD;AAGA,OAAO,MAAM,cAAc,gBAAG,KAAK,CAAC,UAAN,CAAmD,CAAC,KAAD,EAAQ,GAAR,KAAe;AAC9F,QAAM,KAAK,GAAG,0BAA0B,CAAC,KAAD,EAAQ,GAAR,CAAxC;AACA,EAAA,gCAAgC,CAAC,KAAD,CAAhC;AAEA,QAAM,aAAa,GAAG,uCAAuC,CAAC,KAAD,CAA7D;AAEA,SAAO,6BAA6B,CAAC,KAAD,EAAQ,aAAR,CAApC;AACD,CAP6B,CAAvB;AASP,cAAc,CAAC,WAAf,GAA6B,gBAA7B","sourcesContent":["import * as React from 'react';\nimport { renderFluentProvider_unstable } from './renderFluentProvider';\nimport { useFluentProvider_unstable } from './useFluentProvider';\nimport { useFluentProviderStyles_unstable } from './useFluentProviderStyles';\nimport { useFluentProviderContextValues_unstable } from './useFluentProviderContextValues';\nimport type { FluentProviderProps } from './FluentProvider.types';\n\nexport const FluentProvider = React.forwardRef<HTMLElement, FluentProviderProps>((props, ref) => {\n const state = useFluentProvider_unstable(props, ref);\n useFluentProviderStyles_unstable(state);\n\n const contextValues = useFluentProviderContextValues_unstable(state);\n\n return renderFluentProvider_unstable(state, contextValues);\n});\n\nFluentProvider.displayName = 'FluentProvider';\n"],"sourceRoot":"../src/"}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import type {
|
1
|
+
import type { ProviderContextValue, TooltipContextType, ThemeClassNameContextValue } from '@fluentui/react-shared-contexts';
|
2
2
|
import type { PartialTheme, Theme } from '@fluentui/react-theme';
|
3
|
-
import type {
|
3
|
+
import type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';
|
4
4
|
export declare type FluentProviderSlots = {
|
5
|
-
root:
|
5
|
+
root: Slot<'div'>;
|
6
6
|
};
|
7
|
-
|
7
|
+
interface FluentProviderCommons {
|
8
8
|
/** Sets the direction of text & generated styles. */
|
9
9
|
dir: 'ltr' | 'rtl';
|
10
10
|
/** Provides the document, can be undefined during SSR render. */
|
@@ -14,12 +14,13 @@ export interface FluentProviderProps extends Omit<ComponentProps<FluentProviderS
|
|
14
14
|
theme?: PartialTheme;
|
15
15
|
}
|
16
16
|
export interface FluentProviderState extends ComponentState<FluentProviderSlots>, FluentProviderCommons {
|
17
|
-
theme: Theme;
|
17
|
+
theme: Theme | Partial<Theme> | undefined;
|
18
18
|
themeClassName: string;
|
19
19
|
}
|
20
|
-
export interface FluentProviderContextValues {
|
20
|
+
export interface FluentProviderContextValues extends Pick<FluentProviderState, 'theme'> {
|
21
21
|
provider: ProviderContextValue;
|
22
|
-
theme: ThemeContextValue;
|
23
22
|
themeClassName: ThemeClassNameContextValue;
|
23
|
+
textDirection: 'ltr' | 'rtl';
|
24
24
|
tooltip: TooltipContextType;
|
25
25
|
}
|
26
|
+
export {};
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"FluentProvider.types.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"FluentProvider.types.js","sourceRoot":"../src/","sources":["components/FluentProvider/FluentProvider.types.ts"],"names":[],"mappings":"","sourcesContent":["import type {\n ProviderContextValue,\n TooltipContextType,\n ThemeClassNameContextValue,\n} from '@fluentui/react-shared-contexts';\nimport type { PartialTheme, Theme } from '@fluentui/react-theme';\nimport type { ComponentProps, ComponentState, Slot } from '@fluentui/react-utilities';\n\nexport type FluentProviderSlots = {\n root: Slot<'div'>;\n};\n\ninterface FluentProviderCommons {\n /** Sets the direction of text & generated styles. */\n dir: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument: Document | undefined;\n}\n\nexport interface FluentProviderProps\n extends Omit<ComponentProps<FluentProviderSlots>, 'dir'>,\n Partial<FluentProviderCommons> {\n theme?: PartialTheme;\n}\n\nexport interface FluentProviderState extends ComponentState<FluentProviderSlots>, FluentProviderCommons {\n theme: Theme | Partial<Theme> | undefined;\n themeClassName: string;\n}\n\nexport interface FluentProviderContextValues extends Pick<FluentProviderState, 'theme'> {\n provider: ProviderContextValue;\n themeClassName: ThemeClassNameContextValue;\n textDirection: 'ltr' | 'rtl';\n tooltip: TooltipContextType;\n}\n"]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["components/FluentProvider/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC","sourcesContent":["export * from './FluentProvider';\nexport * from './FluentProvider.types';\nexport * from './renderFluentProvider';\nexport * from './useFluentProvider';\nexport * from './useFluentProviderStyles';\nexport * from './useFluentProviderContextValues';\n"]}
|
@@ -2,4 +2,4 @@ import type { FluentProviderContextValues, FluentProviderState } from './FluentP
|
|
2
2
|
/**
|
3
3
|
* Render the final JSX of FluentProvider
|
4
4
|
*/
|
5
|
-
export declare const
|
5
|
+
export declare const renderFluentProvider_unstable: (state: FluentProviderState, contextValues: FluentProviderContextValues) => JSX.Element;
|