@fluentui/react-provider 9.0.0-nightly.46b9ea7036.0 → 9.0.0-rc.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.
Files changed (52) hide show
  1. package/CHANGELOG.json +321 -24
  2. package/CHANGELOG.md +73 -14
  3. package/dist/react-provider.d.ts +16 -14
  4. package/lib/components/FluentProvider/FluentProvider.js +9 -9
  5. package/lib/components/FluentProvider/FluentProvider.js.map +1 -1
  6. package/lib/components/FluentProvider/FluentProvider.types.d.ts +8 -7
  7. package/lib/components/FluentProvider/index.d.ts +1 -0
  8. package/lib/components/FluentProvider/index.js +1 -0
  9. package/lib/components/FluentProvider/index.js.map +1 -1
  10. package/lib/components/FluentProvider/renderFluentProvider.d.ts +1 -1
  11. package/lib/components/FluentProvider/renderFluentProvider.js +10 -8
  12. package/lib/components/FluentProvider/renderFluentProvider.js.map +1 -1
  13. package/lib/components/FluentProvider/useFluentProvider.d.ts +4 -5
  14. package/lib/components/FluentProvider/useFluentProvider.js +44 -21
  15. package/lib/components/FluentProvider/useFluentProvider.js.map +1 -1
  16. package/lib/components/FluentProvider/useFluentProviderContextValues.d.ts +1 -1
  17. package/lib/components/FluentProvider/useFluentProviderContextValues.js +16 -15
  18. package/lib/components/FluentProvider/useFluentProviderContextValues.js.map +1 -1
  19. package/lib/components/FluentProvider/useFluentProviderStyles.d.ts +2 -1
  20. package/lib/components/FluentProvider/useFluentProviderStyles.js +7 -5
  21. package/lib/components/FluentProvider/useFluentProviderStyles.js.map +1 -1
  22. package/lib/components/FluentProvider/useThemeStyleTag.js +19 -21
  23. package/lib/components/FluentProvider/useThemeStyleTag.js.map +1 -1
  24. package/lib-commonjs/FluentProvider.js +1 -1
  25. package/lib-commonjs/components/FluentProvider/FluentProvider.js +10 -10
  26. package/lib-commonjs/components/FluentProvider/FluentProvider.js.map +1 -1
  27. package/lib-commonjs/components/FluentProvider/FluentProvider.types.d.ts +8 -7
  28. package/lib-commonjs/components/FluentProvider/index.d.ts +1 -0
  29. package/lib-commonjs/components/FluentProvider/index.js +3 -1
  30. package/lib-commonjs/components/FluentProvider/index.js.map +1 -1
  31. package/lib-commonjs/components/FluentProvider/renderFluentProvider.d.ts +1 -1
  32. package/lib-commonjs/components/FluentProvider/renderFluentProvider.js +15 -14
  33. package/lib-commonjs/components/FluentProvider/renderFluentProvider.js.map +1 -1
  34. package/lib-commonjs/components/FluentProvider/useFluentProvider.d.ts +4 -5
  35. package/lib-commonjs/components/FluentProvider/useFluentProvider.js +51 -29
  36. package/lib-commonjs/components/FluentProvider/useFluentProvider.js.map +1 -1
  37. package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.d.ts +1 -1
  38. package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.js +20 -19
  39. package/lib-commonjs/components/FluentProvider/useFluentProviderContextValues.js.map +1 -1
  40. package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.d.ts +2 -1
  41. package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.js +11 -7
  42. package/lib-commonjs/components/FluentProvider/useFluentProviderStyles.js.map +1 -1
  43. package/lib-commonjs/components/FluentProvider/useThemeStyleTag.js +21 -23
  44. package/lib-commonjs/components/FluentProvider/useThemeStyleTag.js.map +1 -1
  45. package/lib-commonjs/index.js +1 -1
  46. package/package.json +13 -15
  47. package/lib/common/isConformant.d.ts +0 -4
  48. package/lib/common/isConformant.js +0 -12
  49. package/lib/common/isConformant.js.map +0 -1
  50. package/lib-commonjs/common/isConformant.d.ts +0 -4
  51. package/lib-commonjs/common/isConformant.js +0 -23
  52. package/lib-commonjs/common/isConformant.js.map +0 -1
package/CHANGELOG.json CHANGED
@@ -2,70 +2,367 @@
2
2
  "name": "@fluentui/react-provider",
3
3
  "entries": [
4
4
  {
5
- "date": "Mon, 25 Oct 2021 09:17:19 GMT",
6
- "tag": "@fluentui/react-provider_v9.0.0-nightly.46b9ea7036.0",
7
- "version": "9.0.0-nightly.46b9ea7036.0",
5
+ "date": "Thu, 10 Feb 2022 08:43:57 GMT",
6
+ "tag": "@fluentui/react-provider_v9.0.0-rc.1",
7
+ "version": "9.0.0-rc.1",
8
8
  "comments": {
9
+ "none": [
10
+ {
11
+ "author": "martinhochel@microsoft.com",
12
+ "package": "@fluentui/react-provider",
13
+ "commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
14
+ "comment": "chore: use storybook runner for all vNext packages"
15
+ },
16
+ {
17
+ "author": "olfedias@microsoft.com",
18
+ "package": "@fluentui/react-provider",
19
+ "commit": "d11a238f944b891c13b3bfa56a17ddace52f37d5",
20
+ "comment": "update stories to not use CSS shorthands in styles"
21
+ },
22
+ {
23
+ "author": "martinhochel@microsoft.com",
24
+ "package": "@fluentui/react-provider",
25
+ "commit": "28ceaaa83cd92a0389c466f0b15b283e3d9b08e4",
26
+ "comment": "chore: update all jest deps to v25 + apply single version policy"
27
+ },
28
+ {
29
+ "author": "olfedias@microsoft.com",
30
+ "package": "@fluentui/react-provider",
31
+ "commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
32
+ "comment": "remove inline-style-expand-shorthand from tsconfigs"
33
+ },
34
+ {
35
+ "author": "olfedias@microsoft.com",
36
+ "package": "@fluentui/react-provider",
37
+ "commit": "0fe5ae5d94918a8f8805ed3e587ed98acb17c4b2",
38
+ "comment": "add @types/react-test-renderer to devDependencies"
39
+ }
40
+ ],
9
41
  "prerelease": [
10
42
  {
11
- "author": "email not defined",
43
+ "author": "mgodbolt@microsoft.com",
44
+ "package": "@fluentui/react-provider",
45
+ "commit": "839ec14849e112b85aa321d034739ec421199141",
46
+ "comment": "remove export of commons types"
47
+ },
48
+ {
49
+ "author": "Humberto.Morimoto@microsoft.com",
50
+ "package": "@fluentui/react-provider",
51
+ "commit": "0bc161458eae5ae8d387172430496ce9829b1bb1",
52
+ "comment": "Using ComponentSlotProps instead of ObjectShorthandProps."
53
+ },
54
+ {
55
+ "author": "Humberto.Morimoto@microsoft.com",
56
+ "package": "@fluentui/react-provider",
57
+ "commit": "00a5d945904c896a0664de6ba72c145a255f0848",
58
+ "comment": "Updating use of tokens.fontWeight now that we don't need to use casting."
59
+ },
60
+ {
61
+ "author": "olfedias@microsoft.com",
62
+ "package": "@fluentui/react-provider",
63
+ "commit": "706305303fcf03a82052c0a9e74d8aecb102885e",
64
+ "comment": "use Griffel packages"
65
+ },
66
+ {
67
+ "author": "behowell@microsoft.com",
68
+ "package": "@fluentui/react-provider",
69
+ "commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
70
+ "comment": "Refactor component Slot typings"
71
+ },
72
+ {
73
+ "author": "Humberto.Morimoto@microsoft.com",
74
+ "package": "@fluentui/react-provider",
75
+ "commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
76
+ "comment": "Updating based on changes to composition types."
77
+ },
78
+ {
79
+ "author": "martinhochel@microsoft.com",
80
+ "package": "@fluentui/react-provider",
81
+ "commit": "ecfe4c4fdc306e9c484706f28457f440f55d3684",
82
+ "comment": "make the FluentProvider#theme TS API reflect runtime and add warning if there is a violation"
83
+ },
84
+ {
85
+ "author": "Humberto.Morimoto@microsoft.com",
12
86
  "package": "@fluentui/react-provider",
13
- "comment": "Release nightly v9",
14
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
87
+ "commit": "b22c4ef0eba0730286f2ed701e1b851d8a5c03b5",
88
+ "comment": "Replacing use of functions in makeStyles with direct use of tokens"
15
89
  },
90
+ {
91
+ "author": "martinhochel@microsoft.com",
92
+ "package": "@fluentui/react-provider",
93
+ "commit": "1dba2fca2365f1a748505896679ae160a6fec270",
94
+ "comment": "replace mergeThemes functionality from react-theme"
95
+ },
96
+ {
97
+ "author": "bsunderhus@microsoft.com",
98
+ "package": "@fluentui/react-provider",
99
+ "commit": "c9a03954ffd5d1a85284fb36ef4cd103ed8aa927",
100
+ "comment": "Remove `themeToCSSVariables` function"
101
+ },
102
+ {
103
+ "author": "lingfangao@hotmail.com",
104
+ "package": "@fluentui/react-provider",
105
+ "commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
106
+ "comment": "Bump Fluent UI packages to 9.0.0-rc"
107
+ },
108
+ {
109
+ "author": "behowell@microsoft.com",
110
+ "package": "@fluentui/react-provider",
111
+ "commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
112
+ "comment": "Remove component's shorthandProps array"
113
+ },
114
+ {
115
+ "author": "behowell@microsoft.com",
116
+ "package": "@fluentui/react-provider",
117
+ "commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
118
+ "comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
119
+ },
120
+ {
121
+ "author": "beachball",
122
+ "package": "@fluentui/react-provider",
123
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
124
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
125
+ },
126
+ {
127
+ "author": "beachball",
128
+ "package": "@fluentui/react-provider",
129
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
130
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
131
+ },
132
+ {
133
+ "author": "beachball",
134
+ "package": "@fluentui/react-provider",
135
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.1",
136
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
137
+ },
138
+ {
139
+ "author": "beachball",
140
+ "package": "@fluentui/react-provider",
141
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
142
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
143
+ },
144
+ {
145
+ "author": "beachball",
146
+ "package": "@fluentui/react-provider",
147
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
148
+ "commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
149
+ }
150
+ ]
151
+ }
152
+ },
153
+ {
154
+ "date": "Thu, 25 Nov 2021 08:34:16 GMT",
155
+ "tag": "@fluentui/react-provider_v9.0.0-beta.5",
156
+ "version": "9.0.0-beta.5",
157
+ "comments": {
158
+ "none": [
159
+ {
160
+ "author": "olfedias@microsoft.com",
161
+ "package": "@fluentui/react-provider",
162
+ "commit": "14b1e35b8da2f04538c2183a9be6c6b76dad3cca",
163
+ "comment": "update tooling configs"
164
+ }
165
+ ],
166
+ "prerelease": [
167
+ {
168
+ "author": "beachball",
169
+ "package": "@fluentui/react-provider",
170
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
171
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
172
+ },
173
+ {
174
+ "author": "beachball",
175
+ "package": "@fluentui/react-provider",
176
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
177
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
178
+ },
179
+ {
180
+ "author": "beachball",
181
+ "package": "@fluentui/react-provider",
182
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
183
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
184
+ },
185
+ {
186
+ "author": "beachball",
187
+ "package": "@fluentui/react-provider",
188
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.4",
189
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
190
+ },
191
+ {
192
+ "author": "beachball",
193
+ "package": "@fluentui/react-provider",
194
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
195
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
196
+ },
197
+ {
198
+ "author": "beachball",
199
+ "package": "@fluentui/react-provider",
200
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
201
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
202
+ },
203
+ {
204
+ "author": "beachball",
205
+ "package": "@fluentui/react-provider",
206
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
207
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
208
+ },
209
+ {
210
+ "author": "beachball",
211
+ "package": "@fluentui/react-provider",
212
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
213
+ "commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
214
+ }
215
+ ]
216
+ }
217
+ },
218
+ {
219
+ "date": "Fri, 12 Nov 2021 13:25:31 GMT",
220
+ "tag": "@fluentui/react-provider_v9.0.0-beta.4",
221
+ "version": "9.0.0-beta.4",
222
+ "comments": {
223
+ "prerelease": [
224
+ {
225
+ "author": "olfedias@microsoft.com",
226
+ "package": "@fluentui/react-provider",
227
+ "commit": "825ea92aae027295a94048368157c180358260f2",
228
+ "comment": "export static classes for components"
229
+ },
230
+ {
231
+ "author": "gcox@microsoft.com",
232
+ "package": "@fluentui/react-provider",
233
+ "commit": "c9bd5b5a02ae94a8239ce1b56cac2f0d0dbd3586",
234
+ "comment": "Updated beta and RC components to ES2019"
235
+ },
236
+ {
237
+ "author": "beachball",
238
+ "package": "@fluentui/react-provider",
239
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
240
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
241
+ },
242
+ {
243
+ "author": "beachball",
244
+ "package": "@fluentui/react-provider",
245
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
246
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
247
+ },
248
+ {
249
+ "author": "beachball",
250
+ "package": "@fluentui/react-provider",
251
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
252
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
253
+ },
254
+ {
255
+ "author": "beachball",
256
+ "package": "@fluentui/react-provider",
257
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.3",
258
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
259
+ },
260
+ {
261
+ "author": "beachball",
262
+ "package": "@fluentui/react-provider",
263
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
264
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
265
+ },
266
+ {
267
+ "author": "beachball",
268
+ "package": "@fluentui/react-provider",
269
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
270
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
271
+ },
272
+ {
273
+ "author": "beachball",
274
+ "package": "@fluentui/react-provider",
275
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
276
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
277
+ },
278
+ {
279
+ "author": "beachball",
280
+ "package": "@fluentui/react-provider",
281
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
282
+ "commit": "742342e52c65066f779232e4e1302fedf0dd460d"
283
+ }
284
+ ],
285
+ "none": [
286
+ {
287
+ "author": "me@levithomason.com",
288
+ "package": "@fluentui/react-provider",
289
+ "commit": "cdbe0769d2a6ee91a98a3e62c6ac9329a714355c",
290
+ "comment": "Docs update"
291
+ },
292
+ {
293
+ "author": "gcox@microsoft.com",
294
+ "package": "@fluentui/react-provider",
295
+ "commit": "f32855d6039f4049b69b005fe6dde0686eed503c",
296
+ "comment": "Refactored stories"
297
+ },
298
+ {
299
+ "author": "lingfangao@hotmail.com",
300
+ "package": "@fluentui/react-provider",
301
+ "commit": "00f70581480b536e723fb69edf0ae617beac4807",
302
+ "comment": "Remove beta release tag"
303
+ }
304
+ ]
305
+ }
306
+ },
307
+ {
308
+ "date": "Wed, 27 Oct 2021 12:14:21 GMT",
309
+ "tag": "@fluentui/react-provider_v9.0.0-beta.3",
310
+ "version": "9.0.0-beta.3",
311
+ "comments": {
312
+ "prerelease": [
16
313
  {
17
314
  "author": "peter@draxler.ml",
18
315
  "package": "@fluentui/react-provider",
19
- "comment": "added styling of documentation",
20
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
316
+ "commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
317
+ "comment": "added styling of documentation"
21
318
  },
22
319
  {
23
320
  "author": "beachball",
24
321
  "package": "@fluentui/react-provider",
25
- "comment": "Bump @fluentui/react-make-styles to v9.0.0-nightly.46b9ea7036.0",
26
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
322
+ "comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
323
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
27
324
  },
28
325
  {
29
326
  "author": "beachball",
30
327
  "package": "@fluentui/react-provider",
31
- "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-nightly.46b9ea7036.0",
32
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
328
+ "comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.2",
329
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
33
330
  },
34
331
  {
35
332
  "author": "beachball",
36
333
  "package": "@fluentui/react-provider",
37
- "comment": "Bump @fluentui/react-tabster to v9.0.0-nightly.46b9ea7036.0",
38
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
334
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-beta.3",
335
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
39
336
  },
40
337
  {
41
338
  "author": "beachball",
42
339
  "package": "@fluentui/react-provider",
43
- "comment": "Bump @fluentui/react-theme to v9.0.0-nightly.46b9ea7036.0",
44
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
340
+ "comment": "Bump @fluentui/react-theme to v9.0.0-beta.2",
341
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
45
342
  },
46
343
  {
47
344
  "author": "beachball",
48
345
  "package": "@fluentui/react-provider",
49
- "comment": "Bump @fluentui/react-utilities to v9.0.0-nightly.46b9ea7036.0",
50
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
346
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
347
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
51
348
  },
52
349
  {
53
350
  "author": "beachball",
54
351
  "package": "@fluentui/react-provider",
55
- "comment": "Bump @fluentui/babel-make-styles to v9.0.0-nightly.46b9ea7036.0",
56
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
352
+ "comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
353
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
57
354
  },
58
355
  {
59
356
  "author": "beachball",
60
357
  "package": "@fluentui/react-provider",
61
- "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.46b9ea7036.0",
62
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
358
+ "comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
359
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
63
360
  },
64
361
  {
65
362
  "author": "beachball",
66
363
  "package": "@fluentui/react-provider",
67
- "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.46b9ea7036.0",
68
- "commit": "55900273a4f023d6bb5cd8a3331f2f929d05a4ea"
364
+ "comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
365
+ "commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
69
366
  }
70
367
  ]
71
368
  }
package/CHANGELOG.md CHANGED
@@ -1,26 +1,85 @@
1
1
  # Change Log - @fluentui/react-provider
2
2
 
3
- This log was last generated on Mon, 25 Oct 2021 09:17:19 GMT and should not be manually modified.
3
+ This log was last generated on Thu, 10 Feb 2022 08:43:57 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.0.0-nightly.46b9ea7036.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-nightly.46b9ea7036.0)
7
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-rc.1)
8
8
 
9
- Mon, 25 Oct 2021 09:17:19 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.46b9ea7036.0)
9
+ Thu, 10 Feb 2022 08:43:57 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.5..@fluentui/react-provider_v9.0.0-rc.1)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by email not defined)
15
- - added styling of documentation ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by peter@draxler.ml)
16
- - Bump @fluentui/react-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
17
- - Bump @fluentui/react-shared-contexts to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
18
- - Bump @fluentui/react-tabster to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
19
- - Bump @fluentui/react-theme to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
20
- - Bump @fluentui/react-utilities to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
21
- - Bump @fluentui/babel-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
22
- - Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
23
- - Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.46b9ea7036.0 ([commit](https://github.com/microsoft/fluentui/commit/55900273a4f023d6bb5cd8a3331f2f929d05a4ea) by beachball)
14
+ - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
15
+ - Using ComponentSlotProps instead of ObjectShorthandProps. ([PR #20890](https://github.com/microsoft/fluentui/pull/20890) by Humberto.Morimoto@microsoft.com)
16
+ - 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)
17
+ - use Griffel packages ([PR #21360](https://github.com/microsoft/fluentui/pull/21360) by olfedias@microsoft.com)
18
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
19
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
20
+ - 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)
21
+ - 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)
22
+ - replace mergeThemes functionality from react-theme ([PR #21278](https://github.com/microsoft/fluentui/pull/21278) by martinhochel@microsoft.com)
23
+ - Remove `themeToCSSVariables` function ([PR #20828](https://github.com/microsoft/fluentui/pull/20828) by bsunderhus@microsoft.com)
24
+ - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
25
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
26
+ - 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)
27
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
28
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
29
+ - Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
30
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
31
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
32
+
33
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.5)
34
+
35
+ Thu, 25 Nov 2021 08:34:16 GMT
36
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.4..@fluentui/react-provider_v9.0.0-beta.5)
37
+
38
+ ### Changes
39
+
40
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
41
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
42
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
43
+ - Bump @fluentui/react-theme to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
44
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
45
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
46
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
47
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
48
+
49
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.4)
50
+
51
+ Fri, 12 Nov 2021 13:25:31 GMT
52
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.3..@fluentui/react-provider_v9.0.0-beta.4)
53
+
54
+ ### Changes
55
+
56
+ - export static classes for components ([PR #20451](https://github.com/microsoft/fluentui/pull/20451) by olfedias@microsoft.com)
57
+ - Updated beta and RC components to ES2019 ([PR #20405](https://github.com/microsoft/fluentui/pull/20405) by gcox@microsoft.com)
58
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
59
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
60
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
61
+ - Bump @fluentui/react-theme to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
62
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
63
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
64
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
65
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
66
+
67
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.3)
68
+
69
+ Wed, 27 Oct 2021 12:14:21 GMT
70
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-provider_v9.0.0-beta.2..@fluentui/react-provider_v9.0.0-beta.3)
71
+
72
+ ### Changes
73
+
74
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
75
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
76
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
77
+ - Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
78
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
79
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
80
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
81
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
82
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
24
83
 
25
84
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-provider_v9.0.0-beta.2)
26
85
 
@@ -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,13 +1,13 @@
1
1
  import * as React from 'react';
2
- import { renderFluentProvider } from './renderFluentProvider';
3
- import { useFluentProvider } from './useFluentProvider';
4
- import { useFluentProviderStyles } from './useFluentProviderStyles';
5
- import { useFluentProviderContextValues } from './useFluentProviderContextValues';
6
- export var FluentProvider = /*#__PURE__*/React.forwardRef(function (props, ref) {
7
- var state = useFluentProvider(props, ref);
8
- useFluentProviderStyles(state);
9
- var contextValues = useFluentProviderContextValues(state);
10
- return renderFluentProvider(state, contextValues);
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
+ export const FluentProvider = /*#__PURE__*/React.forwardRef((props, ref) => {
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":["../../../src/components/FluentProvider/FluentProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,oBAAT,QAAqC,wBAArC;AACA,SAAS,iBAAT,QAAkC,qBAAlC;AACA,SAAS,uBAAT,QAAwC,2BAAxC;AACA,SAAS,8BAAT,QAA+C,kCAA/C;AAGA,OAAO,IAAM,cAAc,gBAAG,KAAK,CAAC,UAAN,CAAmD,UAAC,KAAD,EAAQ,GAAR,EAAW;AAC1F,MAAM,KAAK,GAAG,iBAAiB,CAAC,KAAD,EAAQ,GAAR,CAA/B;AACA,EAAA,uBAAuB,CAAC,KAAD,CAAvB;AAEA,MAAM,aAAa,GAAG,8BAA8B,CAAC,KAAD,CAApD;AAEA,SAAO,oBAAoB,CAAC,KAAD,EAAQ,aAAR,CAA3B;AACD,CAP6B,CAAvB;AASP,cAAc,CAAC,WAAf,GAA6B,gBAA7B","sourceRoot":""}
1
+ {"version":3,"sources":["../../../src/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","sourceRoot":""}