@fluentui/react-provider 9.0.0-nightly.b5b7401007.0 → 9.0.0-rc.3

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.
Files changed (58) hide show
  1. package/CHANGELOG.json +366 -24
  2. package/CHANGELOG.md +87 -14
  3. package/dist/react-provider.d.ts +16 -14
  4. package/lib/FluentProvider.js.map +1 -1
  5. package/lib/components/FluentProvider/FluentProvider.js +9 -9
  6. package/lib/components/FluentProvider/FluentProvider.js.map +1 -1
  7. package/lib/components/FluentProvider/FluentProvider.types.d.ts +8 -7
  8. package/lib/components/FluentProvider/FluentProvider.types.js.map +1 -1
  9. package/lib/components/FluentProvider/index.d.ts +1 -0
  10. package/lib/components/FluentProvider/index.js +1 -0
  11. package/lib/components/FluentProvider/index.js.map +1 -1
  12. package/lib/components/FluentProvider/renderFluentProvider.d.ts +1 -1
  13. package/lib/components/FluentProvider/renderFluentProvider.js +10 -8
  14. package/lib/components/FluentProvider/renderFluentProvider.js.map +1 -1
  15. package/lib/components/FluentProvider/useFluentProvider.d.ts +4 -5
  16. package/lib/components/FluentProvider/useFluentProvider.js +44 -21
  17. package/lib/components/FluentProvider/useFluentProvider.js.map +1 -1
  18. package/lib/components/FluentProvider/useFluentProviderContextValues.d.ts +1 -1
  19. package/lib/components/FluentProvider/useFluentProviderContextValues.js +16 -15
  20. package/lib/components/FluentProvider/useFluentProviderContextValues.js.map +1 -1
  21. package/lib/components/FluentProvider/useFluentProviderStyles.d.ts +2 -1
  22. package/lib/components/FluentProvider/useFluentProviderStyles.js +7 -5
  23. package/lib/components/FluentProvider/useFluentProviderStyles.js.map +1 -1
  24. package/lib/components/FluentProvider/useThemeStyleTag.js +19 -21
  25. package/lib/components/FluentProvider/useThemeStyleTag.js.map +1 -1
  26. package/lib/index.js.map +1 -1
  27. package/lib-commonjs/FluentProvider.js +1 -1
  28. package/lib-commonjs/FluentProvider.js.map +1 -1
  29. package/lib-commonjs/components/FluentProvider/FluentProvider.js +10 -10
  30. package/lib-commonjs/components/FluentProvider/FluentProvider.js.map +1 -1
  31. package/lib-commonjs/components/FluentProvider/FluentProvider.types.d.ts +8 -7
  32. package/lib-commonjs/components/FluentProvider/FluentProvider.types.js.map +1 -1
  33. package/lib-commonjs/components/FluentProvider/index.d.ts +1 -0
  34. package/lib-commonjs/components/FluentProvider/index.js +3 -1
  35. package/lib-commonjs/components/FluentProvider/index.js.map +1 -1
  36. package/lib-commonjs/components/FluentProvider/renderFluentProvider.d.ts +1 -1
  37. package/lib-commonjs/components/FluentProvider/renderFluentProvider.js +15 -14
  38. package/lib-commonjs/components/FluentProvider/renderFluentProvider.js.map +1 -1
  39. package/lib-commonjs/components/FluentProvider/useFluentProvider.d.ts +4 -5
  40. package/lib-commonjs/components/FluentProvider/useFluentProvider.js +51 -29
  41. package/lib-commonjs/components/FluentProvider/useFluentProvider.js.map +1 -1
  42. package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.d.ts +1 -1
  43. package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.js +20 -19
  44. package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.js.map +1 -1
  45. package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.d.ts +2 -1
  46. package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.js +11 -7
  47. package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.js.map +1 -1
  48. package/lib-commonjs/components/FluentProvider/useThemeStyleTag.js +21 -23
  49. package/lib-commonjs/components/FluentProvider/useThemeStyleTag.js.map +1 -1
  50. package/lib-commonjs/index.js +1 -1
  51. package/lib-commonjs/index.js.map +1 -1
  52. package/package.json +13 -15
  53. package/lib/common/isConformant.d.ts +0 -4
  54. package/lib/common/isConformant.js +0 -12
  55. package/lib/common/isConformant.js.map +0 -1
  56. package/lib-commonjs/common/isConformant.d.ts +0 -4
  57. package/lib-commonjs/common/isConformant.js +0 -23
  58. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,70 +2,412 @@
2
2
  "name": "@fluentui/react-provider",
3
3
  "entries": [
4
4
  {
5
- "date": "Tue, 26 Oct 2021 09:22:36 GMT",
6
- "tag": "@fluentui/react-provider_v9.0.0-nightly.b5b7401007.0",
7
- "version": "9.0.0-nightly.b5b7401007.0",
5
+ "date": "Fri, 18 Feb 2022 13:33:48 GMT",
6
+ "tag": "@fluentui/react-provider_v9.0.0-rc.3",
7
+ "version": "9.0.0-rc.3",
8
8
  "comments": {
9
9
  "prerelease": [
10
10
  {
11
- "author": "email not defined",
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-provider",
13
+ "commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
14
+ "comment": "fix: Source maps contain original source code"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-provider",
19
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
20
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-provider",
25
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.3",
26
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-provider",
31
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.3",
32
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
33
+ },
34
+ {
35
+ "author": "beachball",
36
+ "package": "@fluentui/react-provider",
37
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
38
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
39
+ },
40
+ {
41
+ "author": "beachball",
42
+ "package": "@fluentui/react-provider",
43
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
44
+ "commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
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",
12
119
  "package": "@fluentui/react-provider",
13
- "comment": "Release nightly v9",
14
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
120
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
121
+ "comment": "Updating based on changes to composition types."
15
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": [
269
+ {
270
+ "author": "olfedias@microsoft.com",
271
+ "package": "@fluentui/react-provider",
272
+ "commit": "825ea92aae027295a94048368157c180358260f2",
273
+ "comment": "export static classes for components"
274
+ },
275
+ {
276
+ "author": "gcox@microsoft.com",
277
+ "package": "@fluentui/react-provider",
278
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
279
+ "comment": "Updated beta and RC components to ES2019"
280
+ },
281
+ {
282
+ "author": "beachball",
283
+ "package": "@fluentui/react-provider",
284
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
285
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
286
+ },
287
+ {
288
+ "author": "beachball",
289
+ "package": "@fluentui/react-provider",
290
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
291
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
292
+ },
293
+ {
294
+ "author": "beachball",
295
+ "package": "@fluentui/react-provider",
296
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
297
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
298
+ },
299
+ {
300
+ "author": "beachball",
301
+ "package": "@fluentui/react-provider",
302
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.3",
303
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
304
+ },
305
+ {
306
+ "author": "beachball",
307
+ "package": "@fluentui/react-provider",
308
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
309
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
310
+ },
311
+ {
312
+ "author": "beachball",
313
+ "package": "@fluentui/react-provider",
314
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
315
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
316
+ },
317
+ {
318
+ "author": "beachball",
319
+ "package": "@fluentui/react-provider",
320
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
321
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
322
+ },
323
+ {
324
+ "author": "beachball",
325
+ "package": "@fluentui/react-provider",
326
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
327
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
328
+ }
329
+ ],
330
+ "none": [
331
+ {
332
+ "author": "me@levithomason.com",
333
+ "package": "@fluentui/react-provider",
334
+ "commit": "cdbe0769d2a6ee91a98a3e62c6ac9329a714355c",
335
+ "comment": "Docs update"
336
+ },
337
+ {
338
+ "author": "gcox@microsoft.com",
339
+ "package": "@fluentui/react-provider",
340
+ "commit": "f32855d6039f4049b69b005fe6dde0686eed503c",
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"
348
+ }
349
+ ]
350
+ }
351
+ },
352
+ {
353
+ "date": "Wed, 27 Oct 2021 12:14:21 GMT",
354
+ "tag": "@fluentui/react-provider_v9.0.0-beta.3",
355
+ "version": "9.0.0-beta.3",
356
+ "comments": {
357
+ "prerelease": [
16
358
  {
17
359
  "author": "peter@draxler.ml",
18
360
  "package": "@fluentui/react-provider",
19
- "comment": "added styling of documentation",
20
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
361
+ "commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
362
+ "comment": "added styling of documentation"
21
363
  },
22
364
  {
23
365
  "author": "beachball",
24
366
  "package": "@fluentui/react-provider",
25
- "comment": "Bump @fluentui/react-make-styles to v9.0.0-nightly.b5b7401007.0",
26
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
367
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
368
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
27
369
  },
28
370
  {
29
371
  "author": "beachball",
30
372
  "package": "@fluentui/react-provider",
31
- "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-nightly.b5b7401007.0",
32
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
373
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.2",
374
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
33
375
  },
34
376
  {
35
377
  "author": "beachball",
36
378
  "package": "@fluentui/react-provider",
37
- "comment": "Bump @fluentui/react-tabster to v9.0.0-nightly.b5b7401007.0",
38
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
379
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.3",
380
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
39
381
  },
40
382
  {
41
383
  "author": "beachball",
42
384
  "package": "@fluentui/react-provider",
43
- "comment": "Bump @fluentui/react-theme to v9.0.0-nightly.b5b7401007.0",
44
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
385
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.2",
386
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
45
387
  },
46
388
  {
47
389
  "author": "beachball",
48
390
  "package": "@fluentui/react-provider",
49
- "comment": "Bump @fluentui/react-utilities to v9.0.0-nightly.b5b7401007.0",
50
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
391
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
392
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
51
393
  },
52
394
  {
53
395
  "author": "beachball",
54
396
  "package": "@fluentui/react-provider",
55
- "comment": "Bump @fluentui/babel-make-styles to v9.0.0-nightly.b5b7401007.0",
56
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
397
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
398
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
57
399
  },
58
400
  {
59
401
  "author": "beachball",
60
402
  "package": "@fluentui/react-provider",
61
- "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.b5b7401007.0",
62
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
403
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
404
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
63
405
  },
64
406
  {
65
407
  "author": "beachball",
66
408
  "package": "@fluentui/react-provider",
67
- "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.b5b7401007.0",
68
- "commit": "0dfd7a724c42291a510e9bcfe4610aa1e268ffcc"
409
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
410
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
69
411
  }
70
412
  ]
71
413
  }
package/CHANGELOG.md CHANGED
@@ -1,26 +1,99 @@
1
1
  # Change Log - @fluentui/react-provider
2
2
 
3
- This log was last generated on Tue, 26 Oct 2021 09:22:36 GMT and should not be manually modified.
3
+ This log was last generated on Fri, 18 Feb 2022 13:33:48 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.0.0-nightly.b5b7401007.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-nightly.b5b7401007.0)
7
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-rc.3)
8
8
 
9
- Tue, 26 Oct 2021 09:22:36 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.2..@fluentui/react-provider_v9.0.0-nightly.b5b7401007.0)
9
+ Fri, 18 Feb 2022 13:33:48 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-rc.1..@fluentui/react-provider_v9.0.0-rc.3)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by email not defined)
15
- - added styling of documentation ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by peter@draxler.ml)
16
- - Bump @fluentui/react-make-styles to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
17
- - Bump @fluentui/react-shared-contexts to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
18
- - Bump @fluentui/react-tabster to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
19
- - Bump @fluentui/react-theme to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
20
- - Bump @fluentui/react-utilities to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
21
- - Bump @fluentui/babel-make-styles to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
22
- - Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
23
- - Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.b5b7401007.0 ([commit](https://github.com/microsoft/fluentui/commit/0dfd7a724c42291a510e9bcfe4610aa1e268ffcc) by beachball)
14
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
15
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
16
+ - Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
17
+ - Bump @fluentui/react-theme to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
18
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
19
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) 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)
67
+
68
+ ### Changes
69
+
70
+ - export static classes for components ([PR #20451](https://github.com/microsoft/fluentui/pull/20451) by olfedias@microsoft.com)
71
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
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)
80
+
81
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.3)
82
+
83
+ Wed, 27 Oct 2021 12:14:21 GMT
84
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.2..@fluentui/react-provider_v9.0.0-beta.3)
85
+
86
+ ### Changes
87
+
88
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
89
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
90
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
91
+ - Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
92
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
93
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
94
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
95
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
96
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
24
97
 
25
98
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.2)
26
99
 
@@ -1,29 +1,30 @@
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';
13
12
 
14
13
  export declare const FluentProvider: React_2.ForwardRefExoticComponent<FluentProviderProps & React_2.RefAttributes<HTMLElement>>;
15
14
 
16
- export declare interface FluentProviderCommons {
15
+ export declare const fluentProviderClassName = "fui-FluentProvider";
16
+
17
+ declare interface FluentProviderCommons {
17
18
  /** Sets the direction of text & generated styles. */
18
19
  dir: 'ltr' | 'rtl';
19
20
  /** Provides the document, can be undefined during SSR render. */
20
21
  targetDocument: Document | undefined;
21
22
  }
22
23
 
23
- export declare interface FluentProviderContextValues {
24
+ export declare interface FluentProviderContextValues extends Pick<FluentProviderState, 'theme'> {
24
25
  provider: ProviderContextValue;
25
- theme: ThemeContextValue;
26
26
  themeClassName: ThemeClassNameContextValue;
27
+ textDirection: 'ltr' | 'rtl';
27
28
  tooltip: TooltipContextType;
28
29
  }
29
30
 
@@ -31,36 +32,37 @@ export declare interface FluentProviderProps extends Omit<ComponentProps<FluentP
31
32
  theme?: PartialTheme;
32
33
  }
33
34
 
34
- export declare const fluentProviderShorthandProps: (keyof FluentProviderSlots)[];
35
-
36
35
  export declare type FluentProviderSlots = {
37
- root: IntrinsicShorthandProps<'div'>;
36
+ root: Slot<'div'>;
38
37
  };
39
38
 
40
39
  export declare interface FluentProviderState extends ComponentState<FluentProviderSlots>, FluentProviderCommons {
41
- theme: Theme;
40
+ theme: Theme | Partial<Theme> | undefined;
42
41
  themeClassName: string;
43
42
  }
44
43
 
45
44
  /**
46
45
  * Render the final JSX of FluentProvider
47
46
  */
48
- export declare const renderFluentProvider: (state: FluentProviderState, contextValues: FluentProviderContextValues) => JSX.Element;
47
+ export declare const renderFluentProvider_unstable: (state: FluentProviderState, contextValues: FluentProviderContextValues) => JSX.Element;
49
48
 
50
49
  export { useFluent }
51
50
 
52
51
  /**
53
52
  * Create the state required to render FluentProvider.
54
53
  *
55
- * The returned state can be modified with hooks such as useFluentProviderStyles,
56
- * before being passed to renderFluentProvider.
54
+ * The returned state can be modified with hooks such as useFluentProviderStyles_unstable,
55
+ * before being passed to renderFluentProvider_unstable.
57
56
  *
58
57
  * @param props - props from this instance of FluentProvider
59
58
  * @param ref - reference to root HTMLElement of FluentProvider
60
59
  */
61
- export declare const useFluentProvider: (props: FluentProviderProps, ref: React_2.Ref<HTMLElement>) => FluentProviderState;
60
+ export declare const useFluentProvider_unstable: (props: FluentProviderProps, ref: React_2.Ref<HTMLElement>) => FluentProviderState;
61
+
62
+ export declare function useFluentProviderContextValues_unstable(state: FluentProviderState): FluentProviderContextValues;
62
63
 
63
- export declare function useFluentProviderContextValues(state: FluentProviderState): FluentProviderContextValues;
64
+ /** Applies style classnames to slots */
65
+ export declare const useFluentProviderStyles_unstable: (state: FluentProviderState) => FluentProviderState;
64
66
 
65
67
  export { useTheme }
66
68
 
@@ -1 +1 @@
1
- {"version":3,"file":"FluentProvider.js","sourceRoot":"","sources":["../src/FluentProvider.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC"}
1
+ {"version":3,"file":"FluentProvider.js","sourceRoot":"../src/","sources":["FluentProvider.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/FluentProvider/index';\n"]}