@fluentui/react-shared-contexts 9.0.0-rc.6 → 9.0.0-rc.9

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 (44) hide show
  1. package/CHANGELOG.json +66 -1
  2. package/CHANGELOG.md +74 -45
  3. package/{lib → dist}/tsdoc-metadata.json +0 -0
  4. package/lib/index.js +5 -5
  5. package/lib/index.js.map +1 -1
  6. package/lib-commonjs/index.js +64 -6
  7. package/lib-commonjs/index.js.map +1 -1
  8. package/package.json +4 -4
  9. package/lib/MenuContext/MenuContext.d.ts +0 -4
  10. package/lib/MenuContext/index.d.ts +0 -2
  11. package/lib/MenuContext/types.d.ts +0 -6
  12. package/lib/MenuContext.d.ts +0 -1
  13. package/lib/ProviderContext/ProviderContext.d.ts +0 -4
  14. package/lib/ProviderContext/ProviderContext.types.d.ts +0 -6
  15. package/lib/ProviderContext/index.d.ts +0 -2
  16. package/lib/ProviderContext.d.ts +0 -1
  17. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  18. package/lib/ThemeClassNameContext/index.d.ts +0 -1
  19. package/lib/ThemeClassNameContext.d.ts +0 -1
  20. package/lib/ThemeContext/ThemeContext.d.ts +0 -4
  21. package/lib/ThemeContext/index.d.ts +0 -1
  22. package/lib/ThemeContext.d.ts +0 -1
  23. package/lib/TooltipContext/TooltipContext.d.ts +0 -17
  24. package/lib/TooltipContext/index.d.ts +0 -1
  25. package/lib/TooltipContext.d.ts +0 -1
  26. package/lib/index.d.ts +0 -5
  27. package/lib-commonjs/MenuContext/MenuContext.d.ts +0 -4
  28. package/lib-commonjs/MenuContext/index.d.ts +0 -2
  29. package/lib-commonjs/MenuContext/types.d.ts +0 -6
  30. package/lib-commonjs/MenuContext.d.ts +0 -1
  31. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +0 -4
  32. package/lib-commonjs/ProviderContext/ProviderContext.types.d.ts +0 -6
  33. package/lib-commonjs/ProviderContext/index.d.ts +0 -2
  34. package/lib-commonjs/ProviderContext.d.ts +0 -1
  35. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  36. package/lib-commonjs/ThemeClassNameContext/index.d.ts +0 -1
  37. package/lib-commonjs/ThemeClassNameContext.d.ts +0 -1
  38. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +0 -4
  39. package/lib-commonjs/ThemeContext/index.d.ts +0 -1
  40. package/lib-commonjs/ThemeContext.d.ts +0 -1
  41. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -17
  42. package/lib-commonjs/TooltipContext/index.d.ts +0 -1
  43. package/lib-commonjs/TooltipContext.d.ts +0 -1
  44. package/lib-commonjs/index.d.ts +0 -5
package/CHANGELOG.json CHANGED
@@ -2,7 +2,72 @@
2
2
  "name": "@fluentui/react-shared-contexts",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 04 May 2022 13:24:22 GMT",
5
+ "date": "Mon, 23 May 2022 18:54:56 GMT",
6
+ "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.9",
7
+ "version": "9.0.0-rc.9",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "beachball",
12
+ "package": "@fluentui/react-shared-contexts",
13
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
14
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
15
+ }
16
+ ]
17
+ }
18
+ },
19
+ {
20
+ "date": "Mon, 23 May 2022 12:13:38 GMT",
21
+ "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.8",
22
+ "version": "9.0.0-rc.8",
23
+ "comments": {
24
+ "prerelease": [
25
+ {
26
+ "author": "martinhochel@microsoft.com",
27
+ "package": "@fluentui/react-shared-contexts",
28
+ "commit": "8afe4d15242d6220f202ca1d0d1522f4f9d151bb",
29
+ "comment": "feat: ship rolluped only dts"
30
+ },
31
+ {
32
+ "author": "beachball",
33
+ "package": "@fluentui/react-shared-contexts",
34
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
35
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
36
+ }
37
+ ],
38
+ "none": [
39
+ {
40
+ "author": "martinhochel@microsoft.com",
41
+ "package": "@fluentui/react-shared-contexts",
42
+ "commit": "7ac7eacca1f20d34cc5de7cc84c20938b4d5489d",
43
+ "comment": "refactor: move package under react-components folder"
44
+ }
45
+ ]
46
+ }
47
+ },
48
+ {
49
+ "date": "Thu, 05 May 2022 18:26:26 GMT",
50
+ "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.7",
51
+ "version": "9.0.0-rc.7",
52
+ "comments": {
53
+ "prerelease": [
54
+ {
55
+ "author": "humberto_makoto@hotmail.com",
56
+ "package": "@fluentui/react-shared-contexts",
57
+ "commit": "9bdbc24ef90d53679a8a65574146b1528054a04e",
58
+ "comment": "Removing star exports."
59
+ },
60
+ {
61
+ "author": "beachball",
62
+ "package": "@fluentui/react-shared-contexts",
63
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
64
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ {
70
+ "date": "Wed, 04 May 2022 13:26:54 GMT",
6
71
  "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.6",
7
72
  "version": "9.0.0-rc.6",
8
73
  "comments": {
package/CHANGELOG.md CHANGED
@@ -1,12 +1,41 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Wed, 04 May 2022 13:24:22 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 23 May 2022 18:54:56 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.9)
8
+
9
+ Mon, 23 May 2022 18:54:56 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.8..@fluentui/react-shared-contexts_v9.0.0-rc.9)
11
+
12
+ ### Changes
13
+
14
+ - Bump @fluentui/react-theme to v9.0.0-rc.9 ([PR #23146](https://github.com/microsoft/fluentui/pull/23146) by beachball)
15
+
16
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.8)
17
+
18
+ Mon, 23 May 2022 12:13:38 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.7..@fluentui/react-shared-contexts_v9.0.0-rc.8)
20
+
21
+ ### Changes
22
+
23
+ - feat: ship rolluped only dts ([PR #22965](https://github.com/microsoft/fluentui/pull/22965) by martinhochel@microsoft.com)
24
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
25
+
26
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.7)
27
+
28
+ Thu, 05 May 2022 18:26:26 GMT
29
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.6..@fluentui/react-shared-contexts_v9.0.0-rc.7)
30
+
31
+ ### Changes
32
+
33
+ - Removing star exports. ([PR #22808](https://github.com/microsoft/fluentui/pull/22808) by humberto_makoto@hotmail.com)
34
+ - Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
35
+
7
36
  ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.6)
8
37
 
9
- Wed, 04 May 2022 13:24:22 GMT
38
+ Wed, 04 May 2022 13:26:54 GMT
10
39
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.5..@fluentui/react-shared-contexts_v9.0.0-rc.6)
11
40
 
12
41
  ### Changes
@@ -15,7 +44,7 @@ Wed, 04 May 2022 13:24:22 GMT
15
44
 
16
45
  ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.5)
17
46
 
18
- Tue, 19 Apr 2022 19:16:52 GMT
47
+ Tue, 19 Apr 2022 19:16:52 GMT
19
48
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.4..@fluentui/react-shared-contexts_v9.0.0-rc.5)
20
49
 
21
50
  ### Changes
@@ -24,7 +53,7 @@ Tue, 19 Apr 2022 19:16:52 GMT
24
53
 
25
54
  ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.4)
26
55
 
27
- Fri, 04 Mar 2022 05:17:29 GMT
56
+ Fri, 04 Mar 2022 05:17:29 GMT
28
57
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.3..@fluentui/react-shared-contexts_v9.0.0-rc.4)
29
58
 
30
59
  ### Changes
@@ -34,7 +63,7 @@ Fri, 04 Mar 2022 05:17:29 GMT
34
63
 
35
64
  ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.3)
36
65
 
37
- Fri, 18 Feb 2022 13:35:34 GMT
66
+ Fri, 18 Feb 2022 13:35:34 GMT
38
67
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.1..@fluentui/react-shared-contexts_v9.0.0-rc.3)
39
68
 
40
69
  ### Changes
@@ -44,19 +73,19 @@ Fri, 18 Feb 2022 13:35:34 GMT
44
73
 
45
74
  ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1)
46
75
 
47
- Thu, 10 Feb 2022 08:50:48 GMT
76
+ Thu, 10 Feb 2022 08:50:48 GMT
48
77
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.4..@fluentui/react-shared-contexts_v9.0.0-rc.1)
49
78
 
50
79
  ### Changes
51
80
 
52
81
  - make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
53
- - 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)
82
+ - 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)
54
83
  - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
55
84
  - Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
56
85
 
57
86
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
58
87
 
59
- Thu, 25 Nov 2021 08:34:16 GMT
88
+ Thu, 25 Nov 2021 08:34:16 GMT
60
89
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.3..@fluentui/react-shared-contexts_v9.0.0-beta.4)
61
90
 
62
91
  ### Changes
@@ -65,7 +94,7 @@ Thu, 25 Nov 2021 08:34:16 GMT
65
94
 
66
95
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
67
96
 
68
- Fri, 12 Nov 2021 13:25:32 GMT
97
+ Fri, 12 Nov 2021 13:25:32 GMT
69
98
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.2..@fluentui/react-shared-contexts_v9.0.0-beta.3)
70
99
 
71
100
  ### Changes
@@ -75,7 +104,7 @@ Fri, 12 Nov 2021 13:25:32 GMT
75
104
 
76
105
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
77
106
 
78
- Wed, 27 Oct 2021 12:14:24 GMT
107
+ Wed, 27 Oct 2021 12:14:24 GMT
79
108
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-beta.1..@fluentui/react-shared-contexts_v9.0.0-beta.2)
80
109
 
81
110
  ### Changes
@@ -84,7 +113,7 @@ Wed, 27 Oct 2021 12:14:24 GMT
84
113
 
85
114
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
86
115
 
87
- Wed, 06 Oct 2021 10:37:22 GMT
116
+ Wed, 06 Oct 2021 10:37:22 GMT
88
117
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.28..@fluentui/react-shared-contexts_v9.0.0-beta.1)
89
118
 
90
119
  ### Changes
@@ -94,7 +123,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
94
123
 
95
124
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
96
125
 
97
- Fri, 01 Oct 2021 14:13:08 GMT
126
+ Fri, 01 Oct 2021 14:13:08 GMT
98
127
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.26..@fluentui/react-shared-contexts_v9.0.0-alpha.28)
99
128
 
100
129
  ### Changes
@@ -104,7 +133,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
104
133
 
105
134
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
106
135
 
107
- Wed, 29 Sep 2021 08:06:11 GMT
136
+ Wed, 29 Sep 2021 08:06:11 GMT
108
137
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.25..@fluentui/react-shared-contexts_v9.0.0-alpha.26)
109
138
 
110
139
  ### Changes
@@ -113,7 +142,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
113
142
 
114
143
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
115
144
 
116
- Tue, 21 Sep 2021 07:42:34 GMT
145
+ Tue, 21 Sep 2021 07:42:34 GMT
117
146
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.24..@fluentui/react-shared-contexts_v9.0.0-alpha.25)
118
147
 
119
148
  ### Changes
@@ -122,7 +151,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
122
151
 
123
152
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
124
153
 
125
- Fri, 10 Sep 2021 16:31:53 GMT
154
+ Fri, 10 Sep 2021 16:31:53 GMT
126
155
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.23..@fluentui/react-shared-contexts_v9.0.0-alpha.24)
127
156
 
128
157
  ### Changes
@@ -131,7 +160,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
131
160
 
132
161
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
133
162
 
134
- Tue, 24 Aug 2021 07:34:48 GMT
163
+ Tue, 24 Aug 2021 07:34:48 GMT
135
164
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.22..@fluentui/react-shared-contexts_v9.0.0-alpha.23)
136
165
 
137
166
  ### Changes
@@ -140,7 +169,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
140
169
 
141
170
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
142
171
 
143
- Fri, 20 Aug 2021 07:37:28 GMT
172
+ Fri, 20 Aug 2021 07:37:28 GMT
144
173
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.21..@fluentui/react-shared-contexts_v9.0.0-alpha.22)
145
174
 
146
175
  ### Changes
@@ -149,7 +178,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
149
178
 
150
179
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
151
180
 
152
- Fri, 13 Aug 2021 07:36:34 GMT
181
+ Fri, 13 Aug 2021 07:36:34 GMT
153
182
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.20..@fluentui/react-shared-contexts_v9.0.0-alpha.21)
154
183
 
155
184
  ### Changes
@@ -158,7 +187,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
158
187
 
159
188
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
160
189
 
161
- Tue, 03 Aug 2021 07:39:30 GMT
190
+ Tue, 03 Aug 2021 07:39:30 GMT
162
191
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.19..@fluentui/react-shared-contexts_v9.0.0-alpha.20)
163
192
 
164
193
  ### Patches
@@ -169,7 +198,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
169
198
 
170
199
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
171
200
 
172
- Mon, 26 Jul 2021 07:37:30 GMT
201
+ Mon, 26 Jul 2021 07:37:30 GMT
173
202
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.18..@fluentui/react-shared-contexts_v9.0.0-alpha.19)
174
203
 
175
204
  ### Changes
@@ -178,7 +207,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
178
207
 
179
208
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
180
209
 
181
- Fri, 23 Jul 2021 07:38:19 GMT
210
+ Fri, 23 Jul 2021 07:38:19 GMT
182
211
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.17..@fluentui/react-shared-contexts_v9.0.0-alpha.18)
183
212
 
184
213
  ### Changes
@@ -187,7 +216,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
187
216
 
188
217
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
189
218
 
190
- Fri, 09 Jul 2021 07:39:31 GMT
219
+ Fri, 09 Jul 2021 07:39:31 GMT
191
220
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.16..@fluentui/react-shared-contexts_v9.0.0-alpha.17)
192
221
 
193
222
  ### Patches
@@ -198,7 +227,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
198
227
 
199
228
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
200
229
 
201
- Fri, 02 Jul 2021 07:37:06 GMT
230
+ Fri, 02 Jul 2021 07:37:06 GMT
202
231
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.15..@fluentui/react-shared-contexts_v9.0.0-alpha.16)
203
232
 
204
233
  ### Changes
@@ -207,7 +236,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
207
236
 
208
237
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
209
238
 
210
- Mon, 07 Jun 2021 07:38:15 GMT
239
+ Mon, 07 Jun 2021 07:38:15 GMT
211
240
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.14..@fluentui/react-shared-contexts_v9.0.0-alpha.15)
212
241
 
213
242
  ### Patches
@@ -218,7 +247,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
218
247
 
219
248
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
220
249
 
221
- Fri, 04 Jun 2021 07:37:23 GMT
250
+ Fri, 04 Jun 2021 07:37:23 GMT
222
251
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.13..@fluentui/react-shared-contexts_v9.0.0-alpha.14)
223
252
 
224
253
  ### Changes
@@ -227,7 +256,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
227
256
 
228
257
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
229
258
 
230
- Thu, 03 Jun 2021 07:36:03 GMT
259
+ Thu, 03 Jun 2021 07:36:03 GMT
231
260
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.12..@fluentui/react-shared-contexts_v9.0.0-alpha.13)
232
261
 
233
262
  ### Changes
@@ -236,7 +265,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
236
265
 
237
266
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
238
267
 
239
- Thu, 20 May 2021 07:41:54 GMT
268
+ Thu, 20 May 2021 07:41:54 GMT
240
269
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.11..@fluentui/react-shared-contexts_v9.0.0-alpha.12)
241
270
 
242
271
  ### Patches
@@ -247,7 +276,7 @@ Thu, 20 May 2021 07:41:54 GMT
247
276
 
248
277
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
249
278
 
250
- Wed, 19 May 2021 07:34:20 GMT
279
+ Wed, 19 May 2021 07:34:20 GMT
251
280
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.10..@fluentui/react-shared-contexts_v9.0.0-alpha.11)
252
281
 
253
282
  ### Changes
@@ -256,7 +285,7 @@ Wed, 19 May 2021 07:34:20 GMT
256
285
 
257
286
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
258
287
 
259
- Thu, 13 May 2021 07:36:55 GMT
288
+ Thu, 13 May 2021 07:36:55 GMT
260
289
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.9..@fluentui/react-shared-contexts_v9.0.0-alpha.10)
261
290
 
262
291
  ### Changes
@@ -265,7 +294,7 @@ Thu, 13 May 2021 07:36:55 GMT
265
294
 
266
295
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
267
296
 
268
- Wed, 12 May 2021 07:36:20 GMT
297
+ Wed, 12 May 2021 07:36:20 GMT
269
298
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.8..@fluentui/react-shared-contexts_v9.0.0-alpha.9)
270
299
 
271
300
  ### Changes
@@ -274,7 +303,7 @@ Wed, 12 May 2021 07:36:20 GMT
274
303
 
275
304
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
276
305
 
277
- Fri, 30 Apr 2021 07:42:23 GMT
306
+ Fri, 30 Apr 2021 07:42:23 GMT
278
307
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.7..@fluentui/react-shared-contexts_v9.0.0-alpha.8)
279
308
 
280
309
  ### Patches
@@ -289,7 +318,7 @@ Fri, 30 Apr 2021 07:42:23 GMT
289
318
 
290
319
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
291
320
 
292
- Fri, 23 Apr 2021 07:37:10 GMT
321
+ Fri, 23 Apr 2021 07:37:10 GMT
293
322
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.6..@fluentui/react-shared-contexts_v9.0.0-alpha.7)
294
323
 
295
324
  ### Patches
@@ -300,7 +329,7 @@ Fri, 23 Apr 2021 07:37:10 GMT
300
329
 
301
330
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6)
302
331
 
303
- Tue, 20 Apr 2021 07:31:35 GMT
332
+ Tue, 20 Apr 2021 07:31:35 GMT
304
333
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.5..@fluentui/react-shared-contexts_v9.0.0-alpha.6)
305
334
 
306
335
  ### Changes
@@ -309,7 +338,7 @@ Tue, 20 Apr 2021 07:31:35 GMT
309
338
 
310
339
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5)
311
340
 
312
- Fri, 16 Apr 2021 18:08:21 GMT
341
+ Fri, 16 Apr 2021 18:08:21 GMT
313
342
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.4..@fluentui/react-shared-contexts_v9.0.0-alpha.5)
314
343
 
315
344
  ### Changes
@@ -318,7 +347,7 @@ Fri, 16 Apr 2021 18:08:21 GMT
318
347
 
319
348
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
320
349
 
321
- Thu, 08 Apr 2021 07:33:06 GMT
350
+ Thu, 08 Apr 2021 07:33:06 GMT
322
351
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.3..@fluentui/react-shared-contexts_v9.0.0-alpha.4)
323
352
 
324
353
  ### Changes
@@ -327,7 +356,7 @@ Thu, 08 Apr 2021 07:33:06 GMT
327
356
 
328
357
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.3)
329
358
 
330
- Wed, 31 Mar 2021 00:53:43 GMT
359
+ Wed, 31 Mar 2021 00:53:43 GMT
331
360
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-alpha.2..@fluentui/react-shared-contexts_v9.0.0-alpha.3)
332
361
 
333
362
  ### Patches
@@ -338,7 +367,7 @@ Wed, 31 Mar 2021 00:53:43 GMT
338
367
 
339
368
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.2)
340
369
 
341
- Tue, 30 Mar 2021 07:34:45 GMT
370
+ Tue, 30 Mar 2021 07:34:45 GMT
342
371
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.11..@fluentui/react-shared-contexts_v9.0.0-alpha.2)
343
372
 
344
373
  ### Changes
@@ -348,7 +377,7 @@ Tue, 30 Mar 2021 07:34:45 GMT
348
377
 
349
378
  ## [1.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.11)
350
379
 
351
- Mon, 15 Mar 2021 07:36:20 GMT
380
+ Mon, 15 Mar 2021 07:36:20 GMT
352
381
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.10..@fluentui/react-shared-contexts_v1.0.0-beta.11)
353
382
 
354
383
  ### Changes
@@ -357,7 +386,7 @@ Mon, 15 Mar 2021 07:36:20 GMT
357
386
 
358
387
  ## [1.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.10)
359
388
 
360
- Fri, 26 Feb 2021 01:16:27 GMT
389
+ Fri, 26 Feb 2021 01:16:27 GMT
361
390
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.9..@fluentui/react-shared-contexts_v1.0.0-beta.10)
362
391
 
363
392
  ### Patches
@@ -373,7 +402,7 @@ Fri, 26 Feb 2021 01:16:27 GMT
373
402
 
374
403
  ## [1.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.9)
375
404
 
376
- Mon, 22 Feb 2021 12:26:22 GMT
405
+ Mon, 22 Feb 2021 12:26:22 GMT
377
406
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.8..@fluentui/react-shared-contexts_v1.0.0-beta.9)
378
407
 
379
408
  ### Changes
@@ -382,7 +411,7 @@ Mon, 22 Feb 2021 12:26:22 GMT
382
411
 
383
412
  ## [1.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.8)
384
413
 
385
- Thu, 18 Feb 2021 19:38:50 GMT
414
+ Thu, 18 Feb 2021 19:38:50 GMT
386
415
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.7..@fluentui/react-shared-contexts_v1.0.0-beta.8)
387
416
 
388
417
  ### Changes
@@ -391,7 +420,7 @@ Thu, 18 Feb 2021 19:38:50 GMT
391
420
 
392
421
  ## [1.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.7)
393
422
 
394
- Thu, 18 Feb 2021 12:27:34 GMT
423
+ Thu, 18 Feb 2021 12:27:34 GMT
395
424
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.6..@fluentui/react-shared-contexts_v1.0.0-beta.7)
396
425
 
397
426
  ### Changes
@@ -400,7 +429,7 @@ Thu, 18 Feb 2021 12:27:34 GMT
400
429
 
401
430
  ## [1.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.6)
402
431
 
403
- Mon, 15 Feb 2021 12:22:00 GMT
432
+ Mon, 15 Feb 2021 12:22:00 GMT
404
433
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.5..@fluentui/react-shared-contexts_v1.0.0-beta.6)
405
434
 
406
435
  ### Changes
@@ -409,12 +438,12 @@ Mon, 15 Feb 2021 12:22:00 GMT
409
438
 
410
439
  ## [1.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.4)
411
440
 
412
- Thu, 21 Jan 2021 12:36:12 GMT
441
+ Thu, 21 Jan 2021 12:36:12 GMT
413
442
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v1.0.0-beta.1..@fluentui/react-shared-contexts_v1.0.0-beta.4)
414
443
 
415
444
  ### Changes
416
445
 
417
- - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
446
+ - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
418
447
 
419
448
  ## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.1)
420
449
 
File without changes
package/lib/index.js CHANGED
@@ -1,6 +1,6 @@
1
- export * from './MenuContext';
2
- export * from './ThemeContext';
3
- export * from './ThemeClassNameContext';
4
- export * from './TooltipContext';
5
- export * from './ProviderContext';
1
+ export { MenuContext, useMenuContext } from './MenuContext';
2
+ export { ThemeContext, useTheme } from './ThemeContext';
3
+ export { ThemeClassNameContext, useThemeClassName } from './ThemeClassNameContext';
4
+ export { TooltipContext } from './TooltipContext';
5
+ export { ProviderContext, useFluent } from './ProviderContext';
6
6
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,yBAAyB,CAAC;AACxC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC","sourcesContent":["export * from './MenuContext';\nexport * from './ThemeContext';\nexport * from './ThemeClassNameContext';\nexport * from './TooltipContext';\nexport * from './ProviderContext';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"../src/","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACxD,OAAO,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEnF,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAElD,OAAO,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC","sourcesContent":["export { MenuContext, useMenuContext } from './MenuContext';\nexport type { MinimalMenuProps } from './MenuContext';\nexport { ThemeContext, useTheme } from './ThemeContext';\nexport { ThemeClassNameContext, useThemeClassName } from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { TooltipContext } from './TooltipContext';\nexport type { TooltipContextType } from './TooltipContext';\nexport { ProviderContext, useFluent } from './ProviderContext';\nexport type { ProviderContextValue } from './ProviderContext';\n"]}
@@ -3,16 +3,74 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
+ exports.useFluent = exports.ProviderContext = exports.TooltipContext = exports.useThemeClassName = exports.ThemeClassNameContext = exports.useTheme = exports.ThemeContext = exports.useMenuContext = exports.MenuContext = void 0;
6
7
 
7
- const tslib_1 = /*#__PURE__*/require("tslib");
8
+ var MenuContext_1 = /*#__PURE__*/require("./MenuContext");
8
9
 
9
- tslib_1.__exportStar(require("./MenuContext"), exports);
10
+ Object.defineProperty(exports, "MenuContext", {
11
+ enumerable: true,
12
+ get: function () {
13
+ return MenuContext_1.MenuContext;
14
+ }
15
+ });
16
+ Object.defineProperty(exports, "useMenuContext", {
17
+ enumerable: true,
18
+ get: function () {
19
+ return MenuContext_1.useMenuContext;
20
+ }
21
+ });
10
22
 
11
- tslib_1.__exportStar(require("./ThemeContext"), exports);
23
+ var ThemeContext_1 = /*#__PURE__*/require("./ThemeContext");
12
24
 
13
- tslib_1.__exportStar(require("./ThemeClassNameContext"), exports);
25
+ Object.defineProperty(exports, "ThemeContext", {
26
+ enumerable: true,
27
+ get: function () {
28
+ return ThemeContext_1.ThemeContext;
29
+ }
30
+ });
31
+ Object.defineProperty(exports, "useTheme", {
32
+ enumerable: true,
33
+ get: function () {
34
+ return ThemeContext_1.useTheme;
35
+ }
36
+ });
14
37
 
15
- tslib_1.__exportStar(require("./TooltipContext"), exports);
38
+ var ThemeClassNameContext_1 = /*#__PURE__*/require("./ThemeClassNameContext");
39
+
40
+ Object.defineProperty(exports, "ThemeClassNameContext", {
41
+ enumerable: true,
42
+ get: function () {
43
+ return ThemeClassNameContext_1.ThemeClassNameContext;
44
+ }
45
+ });
46
+ Object.defineProperty(exports, "useThemeClassName", {
47
+ enumerable: true,
48
+ get: function () {
49
+ return ThemeClassNameContext_1.useThemeClassName;
50
+ }
51
+ });
16
52
 
17
- tslib_1.__exportStar(require("./ProviderContext"), exports);
53
+ var TooltipContext_1 = /*#__PURE__*/require("./TooltipContext");
54
+
55
+ Object.defineProperty(exports, "TooltipContext", {
56
+ enumerable: true,
57
+ get: function () {
58
+ return TooltipContext_1.TooltipContext;
59
+ }
60
+ });
61
+
62
+ var ProviderContext_1 = /*#__PURE__*/require("./ProviderContext");
63
+
64
+ Object.defineProperty(exports, "ProviderContext", {
65
+ enumerable: true,
66
+ get: function () {
67
+ return ProviderContext_1.ProviderContext;
68
+ }
69
+ });
70
+ Object.defineProperty(exports, "useFluent", {
71
+ enumerable: true,
72
+ get: function () {
73
+ return ProviderContext_1.useFluent;
74
+ }
75
+ });
18
76
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;AAAA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,eAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,gBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,yBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,kBAAA,CAAA,EAAA,OAAA;;AACA,OAAA,CAAA,YAAA,CAAA,OAAA,CAAA,mBAAA,CAAA,EAAA,OAAA","sourcesContent":["export * from './MenuContext';\nexport * from './ThemeContext';\nexport * from './ThemeClassNameContext';\nexport * from './TooltipContext';\nexport * from './ProviderContext';\n"],"sourceRoot":"../src/"}
1
+ {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;AAAA,IAAA,aAAA,gBAAA,OAAA,CAAA,eAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,aAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,aAAA,CAAA,WAAA;AAAW;AAAX,CAAA;AAAa,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,gBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,aAAA,CAAA,cAAA;AAAc;AAAd,CAAA;;AAEtB,IAAA,cAAA,gBAAA,OAAA,CAAA,gBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,cAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,cAAA,CAAA,YAAA;AAAY;AAAZ,CAAA;AAAc,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,UAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,cAAA,CAAA,QAAA;AAAQ;AAAR,CAAA;;AACvB,IAAA,uBAAA,gBAAA,OAAA,CAAA,yBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,uBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,uBAAA,CAAA,qBAAA;AAAqB;AAArB,CAAA;AAAuB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,mBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,uBAAA,CAAA,iBAAA;AAAiB;AAAjB,CAAA;;AAEhC,IAAA,gBAAA,gBAAA,OAAA,CAAA,kBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,gBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,gBAAA,CAAA,cAAA;AAAc;AAAd,CAAA;;AAET,IAAA,iBAAA,gBAAA,OAAA,CAAA,mBAAA,CAAA;;AAAS,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,iBAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,iBAAA,CAAA,eAAA;AAAe;AAAf,CAAA;AAAiB,MAAA,CAAA,cAAA,CAAA,OAAA,EAAA,WAAA,EAAA;AAAA,EAAA,UAAA,EAAA,IAAA;AAAA,EAAA,GAAA,EAAA,YAAA;AAAA,WAAA,iBAAA,CAAA,SAAA;AAAS;AAAT,CAAA","sourcesContent":["export { MenuContext, useMenuContext } from './MenuContext';\nexport type { MinimalMenuProps } from './MenuContext';\nexport { ThemeContext, useTheme } from './ThemeContext';\nexport { ThemeClassNameContext, useThemeClassName } from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue } from './ThemeClassNameContext';\nexport { TooltipContext } from './TooltipContext';\nexport type { TooltipContextType } from './TooltipContext';\nexport { ProviderContext, useFluent } from './ProviderContext';\nexport type { ProviderContextValue } from './ProviderContext';\n"],"sourceRoot":"../src/"}
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@fluentui/react-shared-contexts",
3
- "version": "9.0.0-rc.6",
3
+ "version": "9.0.0-rc.9",
4
4
  "description": "Fluent UI React Contexts shared by multiple components.",
5
5
  "main": "lib-commonjs/index.js",
6
6
  "module": "lib/index.js",
7
- "typings": "lib/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "sideEffects": false,
9
9
  "repository": {
10
10
  "type": "git",
@@ -18,7 +18,7 @@
18
18
  "just": "just-scripts",
19
19
  "lint": "just-scripts lint",
20
20
  "docs": "api-extractor run --config=config/api-extractor.local.json --local",
21
- "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../scripts/typescript/normalize-import --output ./dist/packages/react-shared-contexts/src && yarn docs",
21
+ "build:local": "tsc -p ./tsconfig.lib.json --module esnext --emitDeclarationOnly && node ../../../scripts/typescript/normalize-import --output ./dist/types/packages/react-components/react-shared-contexts/src && yarn docs",
22
22
  "test": "jest --passWithNoTests",
23
23
  "type-check": "tsc -b tsconfig.json"
24
24
  },
@@ -27,7 +27,7 @@
27
27
  "@fluentui/scripts": "^1.0.0"
28
28
  },
29
29
  "dependencies": {
30
- "@fluentui/react-theme": "9.0.0-rc.6",
30
+ "@fluentui/react-theme": "9.0.0-rc.9",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
33
  "peerDependencies": {
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { MinimalMenuProps } from './types';
3
- export declare const MenuContext: React.Context<MinimalMenuProps>;
4
- export declare const useMenuContext: () => MinimalMenuProps;
@@ -1,2 +0,0 @@
1
- export * from './MenuContext';
2
- export * from './types';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export declare type MinimalMenuProps = {
3
- hidden?: boolean;
4
- onDismiss?: () => void;
5
- target?: React.Ref<HTMLElement>;
6
- };
@@ -1 +0,0 @@
1
- export * from './MenuContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { ProviderContextValue } from './ProviderContext.types';
3
- export declare const ProviderContext: React.Context<ProviderContextValue>;
4
- export declare function useFluent(): ProviderContextValue;
@@ -1,6 +0,0 @@
1
- export interface ProviderContextValue {
2
- /** Sets the direction of text & generated styles. */
3
- dir: 'ltr' | 'rtl';
4
- /** Provides the document, can be undefined during SSR render. */
5
- targetDocument?: Document;
6
- }
@@ -1,2 +0,0 @@
1
- export * from './ProviderContext';
2
- export * from './ProviderContext.types';
@@ -1 +0,0 @@
1
- export * from './ProviderContext/index';
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- export declare type ThemeClassNameContextValue = string;
3
- /**
4
- * Used to provide a CSS class that applies theme css variables
5
- *
6
- * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
7
- */
8
- export declare const ThemeClassNameContext: React.Context<string>;
9
- /**
10
- * @returns CSS class that applies css variables
11
- */
12
- export declare function useThemeClassName(): ThemeClassNameContextValue;
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext';
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { Theme } from '@fluentui/react-theme';
3
- export declare const ThemeContext: React.Context<Theme | Partial<Theme> | undefined>;
4
- export declare function useTheme(): Theme | Partial<Theme> | undefined;
@@ -1 +0,0 @@
1
- export * from './ThemeContext';
@@ -1 +0,0 @@
1
- export * from './ThemeContext/index';
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * The context provided by TooltipProvider
4
- */
5
- export declare type TooltipContextType = {
6
- /**
7
- * When a tooltip is shown, it sets itself as the visibleTooltip.
8
- * The next tooltip to become visible can use it to hide the previous tooltip immediately.
9
- */
10
- visibleTooltip?: {
11
- hide: () => void;
12
- };
13
- };
14
- /**
15
- * Context shared by all of the tooltips in the app
16
- */
17
- export declare const TooltipContext: React.Context<TooltipContextType>;
@@ -1 +0,0 @@
1
- export * from './TooltipContext';
@@ -1 +0,0 @@
1
- export * from './TooltipContext/index';
package/lib/index.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export * from './MenuContext';
2
- export * from './ThemeContext';
3
- export * from './ThemeClassNameContext';
4
- export * from './TooltipContext';
5
- export * from './ProviderContext';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { MinimalMenuProps } from './types';
3
- export declare const MenuContext: React.Context<MinimalMenuProps>;
4
- export declare const useMenuContext: () => MinimalMenuProps;
@@ -1,2 +0,0 @@
1
- export * from './MenuContext';
2
- export * from './types';
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- export declare type MinimalMenuProps = {
3
- hidden?: boolean;
4
- onDismiss?: () => void;
5
- target?: React.Ref<HTMLElement>;
6
- };
@@ -1 +0,0 @@
1
- export * from './MenuContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { ProviderContextValue } from './ProviderContext.types';
3
- export declare const ProviderContext: React.Context<ProviderContextValue>;
4
- export declare function useFluent(): ProviderContextValue;
@@ -1,6 +0,0 @@
1
- export interface ProviderContextValue {
2
- /** Sets the direction of text & generated styles. */
3
- dir: 'ltr' | 'rtl';
4
- /** Provides the document, can be undefined during SSR render. */
5
- targetDocument?: Document;
6
- }
@@ -1,2 +0,0 @@
1
- export * from './ProviderContext';
2
- export * from './ProviderContext.types';
@@ -1 +0,0 @@
1
- export * from './ProviderContext/index';
@@ -1,12 +0,0 @@
1
- import * as React from 'react';
2
- export declare type ThemeClassNameContextValue = string;
3
- /**
4
- * Used to provide a CSS class that applies theme css variables
5
- *
6
- * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals
7
- */
8
- export declare const ThemeClassNameContext: React.Context<string>;
9
- /**
10
- * @returns CSS class that applies css variables
11
- */
12
- export declare function useThemeClassName(): ThemeClassNameContextValue;
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext';
@@ -1 +0,0 @@
1
- export * from './ThemeClassNameContext/index';
@@ -1,4 +0,0 @@
1
- import * as React from 'react';
2
- import type { Theme } from '@fluentui/react-theme';
3
- export declare const ThemeContext: React.Context<Theme | Partial<Theme> | undefined>;
4
- export declare function useTheme(): Theme | Partial<Theme> | undefined;
@@ -1 +0,0 @@
1
- export * from './ThemeContext';
@@ -1 +0,0 @@
1
- export * from './ThemeContext/index';
@@ -1,17 +0,0 @@
1
- import * as React from 'react';
2
- /**
3
- * The context provided by TooltipProvider
4
- */
5
- export declare type TooltipContextType = {
6
- /**
7
- * When a tooltip is shown, it sets itself as the visibleTooltip.
8
- * The next tooltip to become visible can use it to hide the previous tooltip immediately.
9
- */
10
- visibleTooltip?: {
11
- hide: () => void;
12
- };
13
- };
14
- /**
15
- * Context shared by all of the tooltips in the app
16
- */
17
- export declare const TooltipContext: React.Context<TooltipContextType>;
@@ -1 +0,0 @@
1
- export * from './TooltipContext';
@@ -1 +0,0 @@
1
- export * from './TooltipContext/index';
@@ -1,5 +0,0 @@
1
- export * from './MenuContext';
2
- export * from './ThemeContext';
3
- export * from './ThemeClassNameContext';
4
- export * from './TooltipContext';
5
- export * from './ProviderContext';