@fluentui/react-shared-contexts 9.0.0-rc.5 → 9.0.0-rc.8

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 (45) hide show
  1. package/CHANGELOG.json +67 -2
  2. package/CHANGELOG.md +74 -45
  3. package/dist/{react-shared-contexts.d.ts → index.d.ts} +0 -0
  4. package/{lib → dist}/tsdoc-metadata.json +0 -0
  5. package/lib/index.js +5 -5
  6. package/lib/index.js.map +1 -1
  7. package/lib-commonjs/index.js +64 -6
  8. package/lib-commonjs/index.js.map +1 -1
  9. package/package.json +4 -4
  10. package/lib/MenuContext/MenuContext.d.ts +0 -4
  11. package/lib/MenuContext/index.d.ts +0 -2
  12. package/lib/MenuContext/types.d.ts +0 -6
  13. package/lib/MenuContext.d.ts +0 -1
  14. package/lib/ProviderContext/ProviderContext.d.ts +0 -4
  15. package/lib/ProviderContext/ProviderContext.types.d.ts +0 -6
  16. package/lib/ProviderContext/index.d.ts +0 -2
  17. package/lib/ProviderContext.d.ts +0 -1
  18. package/lib/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  19. package/lib/ThemeClassNameContext/index.d.ts +0 -1
  20. package/lib/ThemeClassNameContext.d.ts +0 -1
  21. package/lib/ThemeContext/ThemeContext.d.ts +0 -4
  22. package/lib/ThemeContext/index.d.ts +0 -1
  23. package/lib/ThemeContext.d.ts +0 -1
  24. package/lib/TooltipContext/TooltipContext.d.ts +0 -17
  25. package/lib/TooltipContext/index.d.ts +0 -1
  26. package/lib/TooltipContext.d.ts +0 -1
  27. package/lib/index.d.ts +0 -5
  28. package/lib-commonjs/MenuContext/MenuContext.d.ts +0 -4
  29. package/lib-commonjs/MenuContext/index.d.ts +0 -2
  30. package/lib-commonjs/MenuContext/types.d.ts +0 -6
  31. package/lib-commonjs/MenuContext.d.ts +0 -1
  32. package/lib-commonjs/ProviderContext/ProviderContext.d.ts +0 -4
  33. package/lib-commonjs/ProviderContext/ProviderContext.types.d.ts +0 -6
  34. package/lib-commonjs/ProviderContext/index.d.ts +0 -2
  35. package/lib-commonjs/ProviderContext.d.ts +0 -1
  36. package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.d.ts +0 -12
  37. package/lib-commonjs/ThemeClassNameContext/index.d.ts +0 -1
  38. package/lib-commonjs/ThemeClassNameContext.d.ts +0 -1
  39. package/lib-commonjs/ThemeContext/ThemeContext.d.ts +0 -4
  40. package/lib-commonjs/ThemeContext/index.d.ts +0 -1
  41. package/lib-commonjs/ThemeContext.d.ts +0 -1
  42. package/lib-commonjs/TooltipContext/TooltipContext.d.ts +0 -17
  43. package/lib-commonjs/TooltipContext/index.d.ts +0 -1
  44. package/lib-commonjs/TooltipContext.d.ts +0 -1
  45. 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": "Tue, 19 Apr 2022 19:14:02 GMT",
5
+ "date": "Mon, 23 May 2022 12:10:03 GMT",
6
+ "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.8",
7
+ "version": "9.0.0-rc.8",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "martinhochel@microsoft.com",
12
+ "package": "@fluentui/react-shared-contexts",
13
+ "commit": "8afe4d15242d6220f202ca1d0d1522f4f9d151bb",
14
+ "comment": "feat: ship rolluped only dts"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-shared-contexts",
19
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
20
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
21
+ }
22
+ ],
23
+ "none": [
24
+ {
25
+ "author": "martinhochel@microsoft.com",
26
+ "package": "@fluentui/react-shared-contexts",
27
+ "commit": "7ac7eacca1f20d34cc5de7cc84c20938b4d5489d",
28
+ "comment": "refactor: move package under react-components folder"
29
+ }
30
+ ]
31
+ }
32
+ },
33
+ {
34
+ "date": "Thu, 05 May 2022 18:26:26 GMT",
35
+ "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.7",
36
+ "version": "9.0.0-rc.7",
37
+ "comments": {
38
+ "prerelease": [
39
+ {
40
+ "author": "humberto_makoto@hotmail.com",
41
+ "package": "@fluentui/react-shared-contexts",
42
+ "commit": "9bdbc24ef90d53679a8a65574146b1528054a04e",
43
+ "comment": "Removing star exports."
44
+ },
45
+ {
46
+ "author": "beachball",
47
+ "package": "@fluentui/react-shared-contexts",
48
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
49
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
50
+ }
51
+ ]
52
+ }
53
+ },
54
+ {
55
+ "date": "Wed, 04 May 2022 13:26:54 GMT",
56
+ "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.6",
57
+ "version": "9.0.0-rc.6",
58
+ "comments": {
59
+ "prerelease": [
60
+ {
61
+ "author": "beachball",
62
+ "package": "@fluentui/react-shared-contexts",
63
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.6",
64
+ "commit": "65f94192ed3b2cde7e52b9c7e12d6f38b81965dd"
65
+ }
66
+ ]
67
+ }
68
+ },
69
+ {
70
+ "date": "Tue, 19 Apr 2022 19:16:52 GMT",
6
71
  "tag": "@fluentui/react-shared-contexts_v9.0.0-rc.5",
7
72
  "version": "9.0.0-rc.5",
8
73
  "comments": {
@@ -25,7 +90,7 @@
25
90
  "author": "beachball",
26
91
  "package": "@fluentui/react-shared-contexts",
27
92
  "comment": "Bump @fluentui/react-theme to v9.0.0-rc.5",
28
- "commit": "9c8592decacb9f7b1dc608a03c9f991918806008"
93
+ "commit": "f94b48c825ca8c8b2e3b6755bdd29fe15c7d435d"
29
94
  }
30
95
  ]
31
96
  }
package/CHANGELOG.md CHANGED
@@ -1,21 +1,50 @@
1
1
  # Change Log - @fluentui/react-shared-contexts
2
2
 
3
- This log was last generated on Tue, 19 Apr 2022 19:14:02 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 23 May 2022 12:10:03 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.8)
8
+
9
+ Mon, 23 May 2022 12:10:03 GMT
10
+ [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)
11
+
12
+ ### Changes
13
+
14
+ - feat: ship rolluped only dts ([PR #22965](https://github.com/microsoft/fluentui/pull/22965) by martinhochel@microsoft.com)
15
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
16
+
17
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.7)
18
+
19
+ Thu, 05 May 2022 18:26:26 GMT
20
+ [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)
21
+
22
+ ### Changes
23
+
24
+ - Removing star exports. ([PR #22808](https://github.com/microsoft/fluentui/pull/22808) by humberto_makoto@hotmail.com)
25
+ - Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
26
+
27
+ ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.6)
28
+
29
+ Wed, 04 May 2022 13:26:54 GMT
30
+ [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)
31
+
32
+ ### Changes
33
+
34
+ - Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
35
+
7
36
  ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.5)
8
37
 
9
- Tue, 19 Apr 2022 19:14:02 GMT
38
+ Tue, 19 Apr 2022 19:16:52 GMT
10
39
  [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)
11
40
 
12
41
  ### Changes
13
42
 
14
- - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #22367](https://github.com/microsoft/fluentui/pull/22367) by beachball)
43
+ - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
15
44
 
16
45
  ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.4)
17
46
 
18
- Fri, 04 Mar 2022 05:17:29 GMT
47
+ Fri, 04 Mar 2022 05:17:29 GMT
19
48
  [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)
20
49
 
21
50
  ### Changes
@@ -25,7 +54,7 @@ Fri, 04 Mar 2022 05:17:29 GMT
25
54
 
26
55
  ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.3)
27
56
 
28
- Fri, 18 Feb 2022 13:35:34 GMT
57
+ Fri, 18 Feb 2022 13:35:34 GMT
29
58
  [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)
30
59
 
31
60
  ### Changes
@@ -35,19 +64,19 @@ Fri, 18 Feb 2022 13:35:34 GMT
35
64
 
36
65
  ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.1)
37
66
 
38
- Thu, 10 Feb 2022 08:50:48 GMT
67
+ Thu, 10 Feb 2022 08:50:48 GMT
39
68
  [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)
40
69
 
41
70
  ### Changes
42
71
 
43
72
  - make the ThemeContext TS API reflect runtime and remove redundant ThemeContextValue ([PR #21286](https://github.com/microsoft/fluentui/pull/21286) by martinhochel@microsoft.com)
44
- - 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)
73
+ - 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)
45
74
  - Bump Fluent UI packages to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
46
75
  - Bump @fluentui/react-theme to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
47
76
 
48
77
  ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.4)
49
78
 
50
- Thu, 25 Nov 2021 08:34:16 GMT
79
+ Thu, 25 Nov 2021 08:34:16 GMT
51
80
  [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)
52
81
 
53
82
  ### Changes
@@ -56,7 +85,7 @@ Thu, 25 Nov 2021 08:34:16 GMT
56
85
 
57
86
  ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.3)
58
87
 
59
- Fri, 12 Nov 2021 13:25:32 GMT
88
+ Fri, 12 Nov 2021 13:25:32 GMT
60
89
  [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)
61
90
 
62
91
  ### Changes
@@ -66,7 +95,7 @@ Fri, 12 Nov 2021 13:25:32 GMT
66
95
 
67
96
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.2)
68
97
 
69
- Wed, 27 Oct 2021 12:14:24 GMT
98
+ Wed, 27 Oct 2021 12:14:24 GMT
70
99
  [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)
71
100
 
72
101
  ### Changes
@@ -75,7 +104,7 @@ Wed, 27 Oct 2021 12:14:24 GMT
75
104
 
76
105
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-beta.1)
77
106
 
78
- Wed, 06 Oct 2021 10:37:22 GMT
107
+ Wed, 06 Oct 2021 10:37:22 GMT
79
108
  [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)
80
109
 
81
110
  ### Changes
@@ -85,7 +114,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
85
114
 
86
115
  ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.28)
87
116
 
88
- Fri, 01 Oct 2021 14:13:08 GMT
117
+ Fri, 01 Oct 2021 14:13:08 GMT
89
118
  [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)
90
119
 
91
120
  ### Changes
@@ -95,7 +124,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
95
124
 
96
125
  ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.26)
97
126
 
98
- Wed, 29 Sep 2021 08:06:11 GMT
127
+ Wed, 29 Sep 2021 08:06:11 GMT
99
128
  [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)
100
129
 
101
130
  ### Changes
@@ -104,7 +133,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
104
133
 
105
134
  ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.25)
106
135
 
107
- Tue, 21 Sep 2021 07:42:34 GMT
136
+ Tue, 21 Sep 2021 07:42:34 GMT
108
137
  [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)
109
138
 
110
139
  ### Changes
@@ -113,7 +142,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
113
142
 
114
143
  ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.24)
115
144
 
116
- Fri, 10 Sep 2021 16:31:53 GMT
145
+ Fri, 10 Sep 2021 16:31:53 GMT
117
146
  [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)
118
147
 
119
148
  ### Changes
@@ -122,7 +151,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
122
151
 
123
152
  ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.23)
124
153
 
125
- Tue, 24 Aug 2021 07:34:48 GMT
154
+ Tue, 24 Aug 2021 07:34:48 GMT
126
155
  [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)
127
156
 
128
157
  ### Changes
@@ -131,7 +160,7 @@ Tue, 24 Aug 2021 07:34:48 GMT
131
160
 
132
161
  ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.22)
133
162
 
134
- Fri, 20 Aug 2021 07:37:28 GMT
163
+ Fri, 20 Aug 2021 07:37:28 GMT
135
164
  [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)
136
165
 
137
166
  ### Changes
@@ -140,7 +169,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
140
169
 
141
170
  ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.21)
142
171
 
143
- Fri, 13 Aug 2021 07:36:34 GMT
172
+ Fri, 13 Aug 2021 07:36:34 GMT
144
173
  [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)
145
174
 
146
175
  ### Changes
@@ -149,7 +178,7 @@ Fri, 13 Aug 2021 07:36:34 GMT
149
178
 
150
179
  ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.20)
151
180
 
152
- Tue, 03 Aug 2021 07:39:30 GMT
181
+ Tue, 03 Aug 2021 07:39:30 GMT
153
182
  [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)
154
183
 
155
184
  ### Patches
@@ -160,7 +189,7 @@ Tue, 03 Aug 2021 07:39:30 GMT
160
189
 
161
190
  ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.19)
162
191
 
163
- Mon, 26 Jul 2021 07:37:30 GMT
192
+ Mon, 26 Jul 2021 07:37:30 GMT
164
193
  [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)
165
194
 
166
195
  ### Changes
@@ -169,7 +198,7 @@ Mon, 26 Jul 2021 07:37:30 GMT
169
198
 
170
199
  ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.18)
171
200
 
172
- Fri, 23 Jul 2021 07:38:19 GMT
201
+ Fri, 23 Jul 2021 07:38:19 GMT
173
202
  [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)
174
203
 
175
204
  ### Changes
@@ -178,7 +207,7 @@ Fri, 23 Jul 2021 07:38:19 GMT
178
207
 
179
208
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.17)
180
209
 
181
- Fri, 09 Jul 2021 07:39:31 GMT
210
+ Fri, 09 Jul 2021 07:39:31 GMT
182
211
  [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)
183
212
 
184
213
  ### Patches
@@ -189,7 +218,7 @@ Fri, 09 Jul 2021 07:39:31 GMT
189
218
 
190
219
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.16)
191
220
 
192
- Fri, 02 Jul 2021 07:37:06 GMT
221
+ Fri, 02 Jul 2021 07:37:06 GMT
193
222
  [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)
194
223
 
195
224
  ### Changes
@@ -198,7 +227,7 @@ Fri, 02 Jul 2021 07:37:06 GMT
198
227
 
199
228
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.15)
200
229
 
201
- Mon, 07 Jun 2021 07:38:15 GMT
230
+ Mon, 07 Jun 2021 07:38:15 GMT
202
231
  [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)
203
232
 
204
233
  ### Patches
@@ -209,7 +238,7 @@ Mon, 07 Jun 2021 07:38:15 GMT
209
238
 
210
239
  ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.14)
211
240
 
212
- Fri, 04 Jun 2021 07:37:23 GMT
241
+ Fri, 04 Jun 2021 07:37:23 GMT
213
242
  [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)
214
243
 
215
244
  ### Changes
@@ -218,7 +247,7 @@ Fri, 04 Jun 2021 07:37:23 GMT
218
247
 
219
248
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.13)
220
249
 
221
- Thu, 03 Jun 2021 07:36:03 GMT
250
+ Thu, 03 Jun 2021 07:36:03 GMT
222
251
  [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)
223
252
 
224
253
  ### Changes
@@ -227,7 +256,7 @@ Thu, 03 Jun 2021 07:36:03 GMT
227
256
 
228
257
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.12)
229
258
 
230
- Thu, 20 May 2021 07:41:54 GMT
259
+ Thu, 20 May 2021 07:41:54 GMT
231
260
  [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)
232
261
 
233
262
  ### Patches
@@ -238,7 +267,7 @@ Thu, 20 May 2021 07:41:54 GMT
238
267
 
239
268
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.11)
240
269
 
241
- Wed, 19 May 2021 07:34:20 GMT
270
+ Wed, 19 May 2021 07:34:20 GMT
242
271
  [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)
243
272
 
244
273
  ### Changes
@@ -247,7 +276,7 @@ Wed, 19 May 2021 07:34:20 GMT
247
276
 
248
277
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.10)
249
278
 
250
- Thu, 13 May 2021 07:36:55 GMT
279
+ Thu, 13 May 2021 07:36:55 GMT
251
280
  [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)
252
281
 
253
282
  ### Changes
@@ -256,7 +285,7 @@ Thu, 13 May 2021 07:36:55 GMT
256
285
 
257
286
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.9)
258
287
 
259
- Wed, 12 May 2021 07:36:20 GMT
288
+ Wed, 12 May 2021 07:36:20 GMT
260
289
  [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)
261
290
 
262
291
  ### Changes
@@ -265,7 +294,7 @@ Wed, 12 May 2021 07:36:20 GMT
265
294
 
266
295
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.8)
267
296
 
268
- Fri, 30 Apr 2021 07:42:23 GMT
297
+ Fri, 30 Apr 2021 07:42:23 GMT
269
298
  [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)
270
299
 
271
300
  ### Patches
@@ -280,7 +309,7 @@ Fri, 30 Apr 2021 07:42:23 GMT
280
309
 
281
310
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.7)
282
311
 
283
- Fri, 23 Apr 2021 07:37:10 GMT
312
+ Fri, 23 Apr 2021 07:37:10 GMT
284
313
  [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)
285
314
 
286
315
  ### Patches
@@ -291,7 +320,7 @@ Fri, 23 Apr 2021 07:37:10 GMT
291
320
 
292
321
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.6)
293
322
 
294
- Tue, 20 Apr 2021 07:31:35 GMT
323
+ Tue, 20 Apr 2021 07:31:35 GMT
295
324
  [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)
296
325
 
297
326
  ### Changes
@@ -300,7 +329,7 @@ Tue, 20 Apr 2021 07:31:35 GMT
300
329
 
301
330
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.5)
302
331
 
303
- Fri, 16 Apr 2021 18:08:21 GMT
332
+ Fri, 16 Apr 2021 18:08:21 GMT
304
333
  [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)
305
334
 
306
335
  ### Changes
@@ -309,7 +338,7 @@ Fri, 16 Apr 2021 18:08:21 GMT
309
338
 
310
339
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.4)
311
340
 
312
- Thu, 08 Apr 2021 07:33:06 GMT
341
+ Thu, 08 Apr 2021 07:33:06 GMT
313
342
  [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)
314
343
 
315
344
  ### Changes
@@ -318,7 +347,7 @@ Thu, 08 Apr 2021 07:33:06 GMT
318
347
 
319
348
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.3)
320
349
 
321
- Wed, 31 Mar 2021 00:53:43 GMT
350
+ Wed, 31 Mar 2021 00:53:43 GMT
322
351
  [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)
323
352
 
324
353
  ### Patches
@@ -329,7 +358,7 @@ Wed, 31 Mar 2021 00:53:43 GMT
329
358
 
330
359
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-alpha.2)
331
360
 
332
- Tue, 30 Mar 2021 07:34:45 GMT
361
+ Tue, 30 Mar 2021 07:34:45 GMT
333
362
  [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)
334
363
 
335
364
  ### Changes
@@ -339,7 +368,7 @@ Tue, 30 Mar 2021 07:34:45 GMT
339
368
 
340
369
  ## [1.0.0-beta.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.11)
341
370
 
342
- Mon, 15 Mar 2021 07:36:20 GMT
371
+ Mon, 15 Mar 2021 07:36:20 GMT
343
372
  [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)
344
373
 
345
374
  ### Changes
@@ -348,7 +377,7 @@ Mon, 15 Mar 2021 07:36:20 GMT
348
377
 
349
378
  ## [1.0.0-beta.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.10)
350
379
 
351
- Fri, 26 Feb 2021 01:16:27 GMT
380
+ Fri, 26 Feb 2021 01:16:27 GMT
352
381
  [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)
353
382
 
354
383
  ### Patches
@@ -364,7 +393,7 @@ Fri, 26 Feb 2021 01:16:27 GMT
364
393
 
365
394
  ## [1.0.0-beta.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.9)
366
395
 
367
- Mon, 22 Feb 2021 12:26:22 GMT
396
+ Mon, 22 Feb 2021 12:26:22 GMT
368
397
  [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)
369
398
 
370
399
  ### Changes
@@ -373,7 +402,7 @@ Mon, 22 Feb 2021 12:26:22 GMT
373
402
 
374
403
  ## [1.0.0-beta.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.8)
375
404
 
376
- Thu, 18 Feb 2021 19:38:50 GMT
405
+ Thu, 18 Feb 2021 19:38:50 GMT
377
406
  [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)
378
407
 
379
408
  ### Changes
@@ -382,7 +411,7 @@ Thu, 18 Feb 2021 19:38:50 GMT
382
411
 
383
412
  ## [1.0.0-beta.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.7)
384
413
 
385
- Thu, 18 Feb 2021 12:27:34 GMT
414
+ Thu, 18 Feb 2021 12:27:34 GMT
386
415
  [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)
387
416
 
388
417
  ### Changes
@@ -391,7 +420,7 @@ Thu, 18 Feb 2021 12:27:34 GMT
391
420
 
392
421
  ## [1.0.0-beta.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.6)
393
422
 
394
- Mon, 15 Feb 2021 12:22:00 GMT
423
+ Mon, 15 Feb 2021 12:22:00 GMT
395
424
  [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)
396
425
 
397
426
  ### Changes
@@ -400,12 +429,12 @@ Mon, 15 Feb 2021 12:22:00 GMT
400
429
 
401
430
  ## [1.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.4)
402
431
 
403
- Thu, 21 Jan 2021 12:36:12 GMT
432
+ Thu, 21 Jan 2021 12:36:12 GMT
404
433
  [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)
405
434
 
406
435
  ### Changes
407
436
 
408
- - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
437
+ - Updating dev dependencies. ([PR #16548](https://github.com/microsoft/fluentui/pull/16548) by dzearing@microsoft.com)
409
438
 
410
439
  ## [1.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v1.0.0-beta.1)
411
440
 
File without changes
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.5",
3
+ "version": "9.0.0-rc.8",
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.5",
30
+ "@fluentui/react-theme": "9.0.0-rc.8",
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';