@fluentui/react-shared-contexts 9.19.0 → 9.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +64 -46
- package/dist/index.d.ts +3 -0
- package/lib/AnnounceContext/AnnounceContext.js.map +1 -1
- package/lib/AnnounceContext/index.js.map +1 -1
- package/lib/BackgroundAppearanceContext/BackgroundAppearanceContext.js.map +1 -1
- package/lib/BackgroundAppearanceContext/index.js.map +1 -1
- package/lib/CustomStyleHooksContext/CustomStyleHooksContext.js.map +1 -1
- package/lib/CustomStyleHooksContext/index.js.map +1 -1
- package/lib/CustomStyleHooksContext.js.map +1 -1
- package/lib/OverridesContext/OverridesContext.js.map +1 -1
- package/lib/OverridesContext/index.js.map +1 -1
- package/lib/PortalMountNodeContext.js.map +1 -1
- package/lib/ProviderContext/ProviderContext.js.map +1 -1
- package/lib/ProviderContext/index.js.map +1 -1
- package/lib/ProviderContext.js.map +1 -1
- package/lib/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
- package/lib/ThemeClassNameContext/index.js.map +1 -1
- package/lib/ThemeClassNameContext.js.map +1 -1
- package/lib/ThemeContext/ThemeContext.js.map +1 -1
- package/lib/ThemeContext/index.js.map +1 -1
- package/lib/ThemeContext.js.map +1 -1
- package/lib/TooltipVisibilityContext/TooltipContext.js.map +1 -1
- package/lib/TooltipVisibilityContext/index.js.map +1 -1
- package/lib/TooltipVisibilityContext.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/AnnounceContext/AnnounceContext.js.map +1 -1
- package/lib-commonjs/AnnounceContext/index.js.map +1 -1
- package/lib-commonjs/BackgroundAppearanceContext/BackgroundAppearanceContext.js.map +1 -1
- package/lib-commonjs/BackgroundAppearanceContext/index.js.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext/CustomStyleHooksContext.js.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext/index.js.map +1 -1
- package/lib-commonjs/CustomStyleHooksContext.js.map +1 -1
- package/lib-commonjs/OverridesContext/OverridesContext.js.map +1 -1
- package/lib-commonjs/OverridesContext/index.js.map +1 -1
- package/lib-commonjs/PortalMountNodeContext.js.map +1 -1
- package/lib-commonjs/ProviderContext/ProviderContext.js.map +1 -1
- package/lib-commonjs/ProviderContext/index.js.map +1 -1
- package/lib-commonjs/ProviderContext.js.map +1 -1
- package/lib-commonjs/ThemeClassNameContext/ThemeClassNameContext.js.map +1 -1
- package/lib-commonjs/ThemeClassNameContext/index.js.map +1 -1
- package/lib-commonjs/ThemeClassNameContext.js.map +1 -1
- package/lib-commonjs/ThemeContext/ThemeContext.js.map +1 -1
- package/lib-commonjs/ThemeContext/index.js.map +1 -1
- package/lib-commonjs/ThemeContext.js.map +1 -1
- package/lib-commonjs/TooltipVisibilityContext/TooltipContext.js.map +1 -1
- package/lib-commonjs/TooltipVisibilityContext/index.js.map +1 -1
- package/lib-commonjs/TooltipVisibilityContext.js.map +1 -1
- package/lib-commonjs/index.js +39 -39
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,30 @@
|
|
1
1
|
# Change Log - @fluentui/react-shared-contexts
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Tue, 23 Jul 2024 20:09:19 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.20.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.20.0)
|
8
|
+
|
9
|
+
Tue, 23 Jul 2024 20:09:19 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.19.1..@fluentui/react-shared-contexts_v9.20.0)
|
11
|
+
|
12
|
+
### Minor changes
|
13
|
+
|
14
|
+
- chore: adds custom style hook for MenuItemLink ([PR #32045](https://github.com/microsoft/fluentui/pull/32045) by bernardo.sunderhus@gmail.com)
|
15
|
+
|
16
|
+
## [9.19.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.19.1)
|
17
|
+
|
18
|
+
Mon, 15 Jul 2024 17:25:45 GMT
|
19
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.19.0..@fluentui/react-shared-contexts_v9.19.1)
|
20
|
+
|
21
|
+
### Patches
|
22
|
+
|
23
|
+
- fix: revert incorectly set npm versions in all packages ([PR #31937](https://github.com/microsoft/fluentui/pull/31937) by martinhochel@microsoft.com)
|
24
|
+
|
7
25
|
## [9.19.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.19.0)
|
8
26
|
|
9
|
-
Mon, 20 May 2024 12:
|
27
|
+
Mon, 20 May 2024 12:45:03 GMT
|
10
28
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.18.0..@fluentui/react-shared-contexts_v9.19.0)
|
11
29
|
|
12
30
|
### Minor changes
|
@@ -15,7 +33,7 @@ Mon, 20 May 2024 12:36:39 GMT
|
|
15
33
|
|
16
34
|
## [9.18.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.18.0)
|
17
35
|
|
18
|
-
Mon, 06 May 2024 12:55:00 GMT
|
36
|
+
Mon, 06 May 2024 12:55:00 GMT
|
19
37
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.17.0..@fluentui/react-shared-contexts_v9.18.0)
|
20
38
|
|
21
39
|
### Minor changes
|
@@ -24,7 +42,7 @@ Mon, 06 May 2024 12:55:00 GMT
|
|
24
42
|
|
25
43
|
## [9.17.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.17.0)
|
26
44
|
|
27
|
-
Tue, 23 Apr 2024 08:17:48 GMT
|
45
|
+
Tue, 23 Apr 2024 08:17:48 GMT
|
28
46
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.16.0..@fluentui/react-shared-contexts_v9.17.0)
|
29
47
|
|
30
48
|
### Minor changes
|
@@ -33,7 +51,7 @@ Tue, 23 Apr 2024 08:17:48 GMT
|
|
33
51
|
|
34
52
|
## [9.16.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.16.0)
|
35
53
|
|
36
|
-
Tue, 02 Apr 2024 09:48:00 GMT
|
54
|
+
Tue, 02 Apr 2024 09:48:00 GMT
|
37
55
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.15.2..@fluentui/react-shared-contexts_v9.16.0)
|
38
56
|
|
39
57
|
### Minor changes
|
@@ -42,7 +60,7 @@ Tue, 02 Apr 2024 09:48:00 GMT
|
|
42
60
|
|
43
61
|
## [9.15.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.15.2)
|
44
62
|
|
45
|
-
Mon, 18 Mar 2024 19:50:46 GMT
|
63
|
+
Mon, 18 Mar 2024 19:50:46 GMT
|
46
64
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.15.1..@fluentui/react-shared-contexts_v9.15.2)
|
47
65
|
|
48
66
|
### Patches
|
@@ -51,7 +69,7 @@ Mon, 18 Mar 2024 19:50:46 GMT
|
|
51
69
|
|
52
70
|
## [9.15.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.15.1)
|
53
71
|
|
54
|
-
Fri, 15 Mar 2024 21:43:49 GMT
|
72
|
+
Fri, 15 Mar 2024 21:43:49 GMT
|
55
73
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.15.0..@fluentui/react-shared-contexts_v9.15.1)
|
56
74
|
|
57
75
|
### Patches
|
@@ -60,7 +78,7 @@ Fri, 15 Mar 2024 21:43:49 GMT
|
|
60
78
|
|
61
79
|
## [9.15.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.15.0)
|
62
80
|
|
63
|
-
Thu, 07 Mar 2024 19:33:25 GMT
|
81
|
+
Thu, 07 Mar 2024 19:33:25 GMT
|
64
82
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.14.1..@fluentui/react-shared-contexts_v9.15.0)
|
65
83
|
|
66
84
|
### Minor changes
|
@@ -70,7 +88,7 @@ Thu, 07 Mar 2024 19:33:25 GMT
|
|
70
88
|
|
71
89
|
## [9.14.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.14.1)
|
72
90
|
|
73
|
-
Wed, 28 Feb 2024 02:34:18 GMT
|
91
|
+
Wed, 28 Feb 2024 02:34:18 GMT
|
74
92
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.14.0..@fluentui/react-shared-contexts_v9.14.1)
|
75
93
|
|
76
94
|
### Patches
|
@@ -79,7 +97,7 @@ Wed, 28 Feb 2024 02:34:18 GMT
|
|
79
97
|
|
80
98
|
## [9.14.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.14.0)
|
81
99
|
|
82
|
-
Thu, 18 Jan 2024 14:25:02 GMT
|
100
|
+
Thu, 18 Jan 2024 14:25:02 GMT
|
83
101
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.13.2..@fluentui/react-shared-contexts_v9.14.0)
|
84
102
|
|
85
103
|
### Minor changes
|
@@ -88,7 +106,7 @@ Thu, 18 Jan 2024 14:25:02 GMT
|
|
88
106
|
|
89
107
|
## [9.13.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.13.2)
|
90
108
|
|
91
|
-
Mon, 18 Dec 2023 14:40:46 GMT
|
109
|
+
Mon, 18 Dec 2023 14:40:46 GMT
|
92
110
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.13.1..@fluentui/react-shared-contexts_v9.13.2)
|
93
111
|
|
94
112
|
### Patches
|
@@ -97,7 +115,7 @@ Mon, 18 Dec 2023 14:40:46 GMT
|
|
97
115
|
|
98
116
|
## [9.13.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.13.1)
|
99
117
|
|
100
|
-
Thu, 14 Dec 2023 09:58:45 GMT
|
118
|
+
Thu, 14 Dec 2023 09:58:45 GMT
|
101
119
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.13.0..@fluentui/react-shared-contexts_v9.13.1)
|
102
120
|
|
103
121
|
### Patches
|
@@ -106,7 +124,7 @@ Thu, 14 Dec 2023 09:58:45 GMT
|
|
106
124
|
|
107
125
|
## [9.13.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.13.0)
|
108
126
|
|
109
|
-
Mon, 20 Nov 2023 09:55:09 GMT
|
127
|
+
Mon, 20 Nov 2023 09:55:09 GMT
|
110
128
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.12.0..@fluentui/react-shared-contexts_v9.13.0)
|
111
129
|
|
112
130
|
### Minor changes
|
@@ -115,7 +133,7 @@ Mon, 20 Nov 2023 09:55:09 GMT
|
|
115
133
|
|
116
134
|
## [9.12.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.12.0)
|
117
135
|
|
118
|
-
Thu, 09 Nov 2023 17:29:42 GMT
|
136
|
+
Thu, 09 Nov 2023 17:29:42 GMT
|
119
137
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.11.1..@fluentui/react-shared-contexts_v9.12.0)
|
120
138
|
|
121
139
|
### Minor changes
|
@@ -129,7 +147,7 @@ Thu, 09 Nov 2023 17:29:42 GMT
|
|
129
147
|
|
130
148
|
## [9.11.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.11.1)
|
131
149
|
|
132
|
-
Wed, 01 Nov 2023 12:55:59 GMT
|
150
|
+
Wed, 01 Nov 2023 12:55:59 GMT
|
133
151
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.11.0..@fluentui/react-shared-contexts_v9.11.1)
|
134
152
|
|
135
153
|
### Patches
|
@@ -138,7 +156,7 @@ Wed, 01 Nov 2023 12:55:59 GMT
|
|
138
156
|
|
139
157
|
## [9.11.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.11.0)
|
140
158
|
|
141
|
-
Sat, 28 Oct 2023 23:35:58 GMT
|
159
|
+
Sat, 28 Oct 2023 23:35:58 GMT
|
142
160
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.10.0..@fluentui/react-shared-contexts_v9.11.0)
|
143
161
|
|
144
162
|
### Minor changes
|
@@ -151,7 +169,7 @@ Sat, 28 Oct 2023 23:35:58 GMT
|
|
151
169
|
|
152
170
|
## [9.10.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.10.0)
|
153
171
|
|
154
|
-
Mon, 09 Oct 2023 20:45:43 GMT
|
172
|
+
Mon, 09 Oct 2023 20:45:43 GMT
|
155
173
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.9.2..@fluentui/react-shared-contexts_v9.10.0)
|
156
174
|
|
157
175
|
### Minor changes
|
@@ -160,7 +178,7 @@ Mon, 09 Oct 2023 20:45:43 GMT
|
|
160
178
|
|
161
179
|
## [9.9.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.9.2)
|
162
180
|
|
163
|
-
Mon, 02 Oct 2023 08:56:04 GMT
|
181
|
+
Mon, 02 Oct 2023 08:56:04 GMT
|
164
182
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.9.1..@fluentui/react-shared-contexts_v9.9.2)
|
165
183
|
|
166
184
|
### Patches
|
@@ -169,7 +187,7 @@ Mon, 02 Oct 2023 08:56:04 GMT
|
|
169
187
|
|
170
188
|
## [9.9.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.9.1)
|
171
189
|
|
172
|
-
Tue, 26 Sep 2023 17:49:11 GMT
|
190
|
+
Tue, 26 Sep 2023 17:49:11 GMT
|
173
191
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.9.0..@fluentui/react-shared-contexts_v9.9.1)
|
174
192
|
|
175
193
|
### Patches
|
@@ -179,7 +197,7 @@ Tue, 26 Sep 2023 17:49:11 GMT
|
|
179
197
|
|
180
198
|
## [9.9.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.9.0)
|
181
199
|
|
182
|
-
Tue, 26 Sep 2023 15:31:49 GMT
|
200
|
+
Tue, 26 Sep 2023 15:31:49 GMT
|
183
201
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.8.1..@fluentui/react-shared-contexts_v9.9.0)
|
184
202
|
|
185
203
|
### Minor changes
|
@@ -193,7 +211,7 @@ Tue, 26 Sep 2023 15:31:49 GMT
|
|
193
211
|
|
194
212
|
## [9.8.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.8.1)
|
195
213
|
|
196
|
-
Wed, 20 Sep 2023 17:47:42 GMT
|
214
|
+
Wed, 20 Sep 2023 17:47:42 GMT
|
197
215
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.8.0..@fluentui/react-shared-contexts_v9.8.1)
|
198
216
|
|
199
217
|
### Patches
|
@@ -202,7 +220,7 @@ Wed, 20 Sep 2023 17:47:42 GMT
|
|
202
220
|
|
203
221
|
## [9.8.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.8.0)
|
204
222
|
|
205
|
-
Wed, 20 Sep 2023 14:59:52 GMT
|
223
|
+
Wed, 20 Sep 2023 14:59:52 GMT
|
206
224
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.3..@fluentui/react-shared-contexts_v9.8.0)
|
207
225
|
|
208
226
|
### Minor changes
|
@@ -211,7 +229,7 @@ Wed, 20 Sep 2023 14:59:52 GMT
|
|
211
229
|
|
212
230
|
## [9.7.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.3)
|
213
231
|
|
214
|
-
Tue, 05 Sep 2023 13:29:02 GMT
|
232
|
+
Tue, 05 Sep 2023 13:29:02 GMT
|
215
233
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.2..@fluentui/react-shared-contexts_v9.7.3)
|
216
234
|
|
217
235
|
### Patches
|
@@ -222,7 +240,7 @@ Tue, 05 Sep 2023 13:29:02 GMT
|
|
222
240
|
|
223
241
|
## [9.7.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.2)
|
224
242
|
|
225
|
-
Wed, 09 Aug 2023 13:17:11 GMT
|
243
|
+
Wed, 09 Aug 2023 13:17:11 GMT
|
226
244
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.1..@fluentui/react-shared-contexts_v9.7.2)
|
227
245
|
|
228
246
|
### Patches
|
@@ -231,7 +249,7 @@ Wed, 09 Aug 2023 13:17:11 GMT
|
|
231
249
|
|
232
250
|
## [9.7.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.1)
|
233
251
|
|
234
|
-
Fri, 04 Aug 2023 08:52:58 GMT
|
252
|
+
Fri, 04 Aug 2023 08:52:58 GMT
|
235
253
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.7.0..@fluentui/react-shared-contexts_v9.7.1)
|
236
254
|
|
237
255
|
### Patches
|
@@ -240,7 +258,7 @@ Fri, 04 Aug 2023 08:52:58 GMT
|
|
240
258
|
|
241
259
|
## [9.7.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.7.0)
|
242
260
|
|
243
|
-
Tue, 01 Aug 2023 10:17:20 GMT
|
261
|
+
Tue, 01 Aug 2023 10:17:20 GMT
|
244
262
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.6.0..@fluentui/react-shared-contexts_v9.7.0)
|
245
263
|
|
246
264
|
### Minor changes
|
@@ -249,7 +267,7 @@ Tue, 01 Aug 2023 10:17:20 GMT
|
|
249
267
|
|
250
268
|
## [9.6.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.6.0)
|
251
269
|
|
252
|
-
Mon, 03 Jul 2023 11:57:13 GMT
|
270
|
+
Mon, 03 Jul 2023 11:57:13 GMT
|
253
271
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.5.1..@fluentui/react-shared-contexts_v9.6.0)
|
254
272
|
|
255
273
|
### Minor changes
|
@@ -259,7 +277,7 @@ Mon, 03 Jul 2023 11:57:13 GMT
|
|
259
277
|
|
260
278
|
## [9.5.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.5.1)
|
261
279
|
|
262
|
-
Tue, 20 Jun 2023 12:39:03 GMT
|
280
|
+
Tue, 20 Jun 2023 12:39:03 GMT
|
263
281
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.5.0..@fluentui/react-shared-contexts_v9.5.1)
|
264
282
|
|
265
283
|
### Patches
|
@@ -268,7 +286,7 @@ Tue, 20 Jun 2023 12:39:03 GMT
|
|
268
286
|
|
269
287
|
## [9.5.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.5.0)
|
270
288
|
|
271
|
-
Wed, 24 May 2023 20:45:32 GMT
|
289
|
+
Wed, 24 May 2023 20:45:32 GMT
|
272
290
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.4.0..@fluentui/react-shared-contexts_v9.5.0)
|
273
291
|
|
274
292
|
### Minor changes
|
@@ -277,7 +295,7 @@ Wed, 24 May 2023 20:45:32 GMT
|
|
277
295
|
|
278
296
|
## [9.4.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.4.0)
|
279
297
|
|
280
|
-
Fri, 12 May 2023 20:27:41 GMT
|
298
|
+
Fri, 12 May 2023 20:27:41 GMT
|
281
299
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.3.2..@fluentui/react-shared-contexts_v9.4.0)
|
282
300
|
|
283
301
|
### Minor changes
|
@@ -292,7 +310,7 @@ Fri, 12 May 2023 20:27:41 GMT
|
|
292
310
|
|
293
311
|
## [9.3.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.3.2)
|
294
312
|
|
295
|
-
Tue, 21 Mar 2023 21:23:01 GMT
|
313
|
+
Tue, 21 Mar 2023 21:23:01 GMT
|
296
314
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.3.1..@fluentui/react-shared-contexts_v9.3.2)
|
297
315
|
|
298
316
|
### Patches
|
@@ -303,7 +321,7 @@ Tue, 21 Mar 2023 21:23:01 GMT
|
|
303
321
|
|
304
322
|
## [9.3.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.3.1)
|
305
323
|
|
306
|
-
Wed, 15 Mar 2023 10:19:53 GMT
|
324
|
+
Wed, 15 Mar 2023 10:19:53 GMT
|
307
325
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.3.0..@fluentui/react-shared-contexts_v9.3.1)
|
308
326
|
|
309
327
|
### Patches
|
@@ -312,7 +330,7 @@ Wed, 15 Mar 2023 10:19:53 GMT
|
|
312
330
|
|
313
331
|
## [9.3.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.3.0)
|
314
332
|
|
315
|
-
Wed, 08 Mar 2023 17:42:42 GMT
|
333
|
+
Wed, 08 Mar 2023 17:42:42 GMT
|
316
334
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.2.0..@fluentui/react-shared-contexts_v9.3.0)
|
317
335
|
|
318
336
|
### Minor changes
|
@@ -322,7 +340,7 @@ Wed, 08 Mar 2023 17:42:42 GMT
|
|
322
340
|
|
323
341
|
## [9.2.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.2.0)
|
324
342
|
|
325
|
-
Thu, 26 Jan 2023 13:31:00 GMT
|
343
|
+
Thu, 26 Jan 2023 13:31:00 GMT
|
326
344
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.5..@fluentui/react-shared-contexts_v9.2.0)
|
327
345
|
|
328
346
|
### Minor changes
|
@@ -331,7 +349,7 @@ Thu, 26 Jan 2023 13:31:00 GMT
|
|
331
349
|
|
332
350
|
## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.4)
|
333
351
|
|
334
|
-
Wed, 21 Dec 2022 10:20:33 GMT
|
352
|
+
Wed, 21 Dec 2022 10:20:33 GMT
|
335
353
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.3..@fluentui/react-shared-contexts_v9.1.4)
|
336
354
|
|
337
355
|
### Patches
|
@@ -340,7 +358,7 @@ Wed, 21 Dec 2022 10:20:33 GMT
|
|
340
358
|
|
341
359
|
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.3)
|
342
360
|
|
343
|
-
Tue, 20 Dec 2022 14:59:34 GMT
|
361
|
+
Tue, 20 Dec 2022 14:59:34 GMT
|
344
362
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.2..@fluentui/react-shared-contexts_v9.1.3)
|
345
363
|
|
346
364
|
### Patches
|
@@ -349,7 +367,7 @@ Tue, 20 Dec 2022 14:59:34 GMT
|
|
349
367
|
|
350
368
|
## [9.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.2)
|
351
369
|
|
352
|
-
Mon, 05 Dec 2022 18:29:29 GMT
|
370
|
+
Mon, 05 Dec 2022 18:29:29 GMT
|
353
371
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.1..@fluentui/react-shared-contexts_v9.1.2)
|
354
372
|
|
355
373
|
### Patches
|
@@ -358,7 +376,7 @@ Mon, 05 Dec 2022 18:29:29 GMT
|
|
358
376
|
|
359
377
|
## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.1)
|
360
378
|
|
361
|
-
Fri, 11 Nov 2022 14:57:36 GMT
|
379
|
+
Fri, 11 Nov 2022 14:57:36 GMT
|
362
380
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.1.0..@fluentui/react-shared-contexts_v9.1.1)
|
363
381
|
|
364
382
|
### Patches
|
@@ -368,7 +386,7 @@ Fri, 11 Nov 2022 14:57:36 GMT
|
|
368
386
|
|
369
387
|
## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.1.0)
|
370
388
|
|
371
|
-
Wed, 02 Nov 2022 11:58:00 GMT
|
389
|
+
Wed, 02 Nov 2022 11:58:00 GMT
|
372
390
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.2..@fluentui/react-shared-contexts_v9.1.0)
|
373
391
|
|
374
392
|
### Minor changes
|
@@ -377,7 +395,7 @@ Wed, 02 Nov 2022 11:58:00 GMT
|
|
377
395
|
|
378
396
|
## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.2)
|
379
397
|
|
380
|
-
Thu, 20 Oct 2022 08:39:45 GMT
|
398
|
+
Thu, 20 Oct 2022 08:39:45 GMT
|
381
399
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.1..@fluentui/react-shared-contexts_v9.0.2)
|
382
400
|
|
383
401
|
### Patches
|
@@ -387,7 +405,7 @@ Thu, 20 Oct 2022 08:39:45 GMT
|
|
387
405
|
|
388
406
|
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.1)
|
389
407
|
|
390
|
-
Thu, 15 Sep 2022 09:49:20 GMT
|
408
|
+
Thu, 15 Sep 2022 09:49:20 GMT
|
391
409
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0..@fluentui/react-shared-contexts_v9.0.1)
|
392
410
|
|
393
411
|
### Patches
|
@@ -397,7 +415,7 @@ Thu, 15 Sep 2022 09:49:20 GMT
|
|
397
415
|
|
398
416
|
## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0)
|
399
417
|
|
400
|
-
Tue, 28 Jun 2022 15:13:58 GMT
|
418
|
+
Tue, 28 Jun 2022 15:13:58 GMT
|
401
419
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.11..@fluentui/react-shared-contexts_v9.0.0)
|
402
420
|
|
403
421
|
### Patches
|
@@ -412,7 +430,7 @@ Tue, 28 Jun 2022 15:13:58 GMT
|
|
412
430
|
|
413
431
|
## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.11)
|
414
432
|
|
415
|
-
Thu, 23 Jun 2022 14:25:31 GMT
|
433
|
+
Thu, 23 Jun 2022 14:25:31 GMT
|
416
434
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.10..@fluentui/react-shared-contexts_v9.0.0-rc.11)
|
417
435
|
|
418
436
|
### Changes
|
@@ -421,7 +439,7 @@ Thu, 23 Jun 2022 14:25:31 GMT
|
|
421
439
|
|
422
440
|
## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.10)
|
423
441
|
|
424
|
-
Tue, 31 May 2022 21:28:45 GMT
|
442
|
+
Tue, 31 May 2022 21:28:45 GMT
|
425
443
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-shared-contexts_v9.0.0-rc.9..@fluentui/react-shared-contexts_v9.0.0-rc.10)
|
426
444
|
|
427
445
|
### Changes
|
@@ -432,7 +450,7 @@ Tue, 31 May 2022 21:28:45 GMT
|
|
432
450
|
|
433
451
|
## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.9)
|
434
452
|
|
435
|
-
Mon, 23 May 2022 18:56:51 GMT
|
453
|
+
Mon, 23 May 2022 18:56:51 GMT
|
436
454
|
[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)
|
437
455
|
|
438
456
|
### Changes
|
@@ -441,7 +459,7 @@ Mon, 23 May 2022 18:56:51 GMT
|
|
441
459
|
|
442
460
|
## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-shared-contexts_v9.0.0-rc.8)
|
443
461
|
|
444
|
-
Mon, 23 May 2022 12:13:38 GMT
|
462
|
+
Mon, 23 May 2022 12:13:38 GMT
|
445
463
|
[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)
|
446
464
|
|
447
465
|
### Changes
|
package/dist/index.d.ts
CHANGED
@@ -86,6 +86,7 @@ export declare const CustomStyleHooksContext_unstable: React_2.Context<Partial<{
|
|
86
86
|
useMenuItemSwitchStyles_unstable: CustomStyleHook;
|
87
87
|
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
88
88
|
useMenuItemStyles_unstable: CustomStyleHook;
|
89
|
+
useMenuItemLinkStyles_unstable: CustomStyleHook;
|
89
90
|
useMenuListStyles_unstable: CustomStyleHook;
|
90
91
|
useMenuPopoverStyles_unstable: CustomStyleHook;
|
91
92
|
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
@@ -229,6 +230,7 @@ export declare type CustomStyleHooksContextValue_unstable = Partial<{
|
|
229
230
|
useMenuItemSwitchStyles_unstable: CustomStyleHook;
|
230
231
|
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
231
232
|
useMenuItemStyles_unstable: CustomStyleHook;
|
233
|
+
useMenuItemLinkStyles_unstable: CustomStyleHook;
|
232
234
|
useMenuListStyles_unstable: CustomStyleHook;
|
233
235
|
useMenuPopoverStyles_unstable: CustomStyleHook;
|
234
236
|
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
@@ -375,6 +377,7 @@ export declare const CustomStyleHooksProvider_unstable: React_2.Provider<Partial
|
|
375
377
|
useMenuItemSwitchStyles_unstable: CustomStyleHook;
|
376
378
|
useMenuItemRadioStyles_unstable: CustomStyleHook;
|
377
379
|
useMenuItemStyles_unstable: CustomStyleHook;
|
380
|
+
useMenuItemLinkStyles_unstable: CustomStyleHook;
|
378
381
|
useMenuListStyles_unstable: CustomStyleHook;
|
379
382
|
useMenuPopoverStyles_unstable: CustomStyleHook;
|
380
383
|
useMenuSplitGroupStyles_unstable: CustomStyleHook;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["AnnounceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Defines options for a message to be announced.\n */\nexport type AnnounceOptions = {\n alert?: boolean;\n\n /**\n * A unique identifier for the message. If a message with the same id is already announced, it will be replaced.\n */\n batchId?: string;\n\n /**\n * Indicates that the message announcement can be interrupted by another message and will be announced only\n * user is idle.\n */\n polite?: boolean;\n\n /** Defines the priority of the message. Higher priority messages will be announced first. */\n priority?: number;\n};\n\nexport type AnnounceContextValue = {\n announce: (message: string, options?: AnnounceOptions) => void;\n};\n\n/**\n * @internal\n */\nconst AnnounceContext = React.createContext<AnnounceContextValue | undefined>(undefined);\n\nexport const AnnounceProvider = AnnounceContext.Provider;\n\n/**\n * Returns a function that can be used to announce messages to screen readers.\n */\nexport function useAnnounce(): AnnounceContextValue {\n return React.useContext(AnnounceContext) ?? { announce: () => undefined };\n}\n"],"names":["React","AnnounceContext","createContext","undefined","AnnounceProvider","Provider","useAnnounce","useContext","announce"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AA2B/B;;CAEC,GACD,MAAMC,kBAAkBD,MAAME,aAAa,CAAmCC;AAE9E,OAAO,MAAMC,mBAAmBH,gBAAgBI,QAAQ,CAAC;AAEzD;;CAEC,GACD,OAAO,SAASC;QACPN;IAAP,OAAOA,CAAAA,oBAAAA,MAAMO,UAAU,CAACN,8BAAjBD,+BAAAA,oBAAqC;QAAEQ,UAAU,IAAML;IAAU;AAC1E"}
|
1
|
+
{"version":3,"sources":["AnnounceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Defines options for a message to be announced.\n */\nexport type AnnounceOptions = {\n alert?: boolean;\n\n /**\n * A unique identifier for the message. If a message with the same id is already announced, it will be replaced.\n */\n batchId?: string;\n\n /**\n * Indicates that the message announcement can be interrupted by another message and will be announced only\n * user is idle.\n */\n polite?: boolean;\n\n /** Defines the priority of the message. Higher priority messages will be announced first. */\n priority?: number;\n};\n\nexport type AnnounceContextValue = {\n announce: (message: string, options?: AnnounceOptions) => void;\n};\n\n/**\n * @internal\n */\nconst AnnounceContext = React.createContext<AnnounceContextValue | undefined>(undefined);\n\nexport const AnnounceProvider = AnnounceContext.Provider;\n\n/**\n * Returns a function that can be used to announce messages to screen readers.\n */\nexport function useAnnounce(): AnnounceContextValue {\n return React.useContext(AnnounceContext) ?? { announce: () => undefined };\n}\n"],"names":["React","AnnounceContext","createContext","undefined","AnnounceProvider","Provider","useAnnounce","useContext","announce"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AA2B/B;;CAEC,GACD,MAAMC,kBAAkBD,MAAME,aAAa,CAAmCC;AAE9E,OAAO,MAAMC,mBAAmBH,gBAAgBI,QAAQ,CAAC;AAEzD;;CAEC,GACD,OAAO,SAASC;QACPN;IAAP,OAAOA,CAAAA,oBAAAA,MAAMO,UAAU,CAACN,8BAAjBD,+BAAAA,oBAAqC;QAAEQ,UAAU,IAAML;IAAU;AAC1E"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AnnounceContext';\n"],"names":[],"mappings":"AAAA,cAAc,oBAAoB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AnnounceContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oBAAoB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["BackgroundAppearanceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["React","BackgroundAppearanceContext","createContext","undefined","BackgroundAppearanceProvider","Provider","useBackgroundAppearance","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAO/B;;CAEC,GACD,OAAO,MAAMC,8BAA8BD,MAAME,aAAa,CAA+CC,WAAW;AAExH;;CAEC,GACD,OAAO,MAAMC,+BAA+BH,4BAA4BI,QAAQ,CAAC;AAEjF,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
|
1
|
+
{"version":3,"sources":["BackgroundAppearanceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["React","BackgroundAppearanceContext","createContext","undefined","BackgroundAppearanceProvider","Provider","useBackgroundAppearance","useContext"],"rangeMappings":";;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAO/B;;CAEC,GACD,OAAO,MAAMC,8BAA8BD,MAAME,aAAa,CAA+CC,WAAW;AAExH;;CAEC,GACD,OAAO,MAAMC,+BAA+BH,4BAA4BI,QAAQ,CAAC;AAEjF,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './BackgroundAppearanceContext';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './BackgroundAppearanceContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,gCAAgC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["CustomStyleHooksContext.ts"],"sourcesContent":["/* eslint-disable */\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n /* @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n}>;\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["React","CustomStyleHooksContext","createContext","undefined","noop","CustomStyleHooksProvider","Provider","useCustomStyleHook","hook","useContext"],"mappings":"AAAA,kBAAkB,GAElB,YAAYA,WAAW,QAAQ;
|
1
|
+
{"version":3,"sources":["CustomStyleHooksContext.ts"],"sourcesContent":["/* eslint-disable */\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n /* @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuItemLinkStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n}>;\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["React","CustomStyleHooksContext","createContext","undefined","noop","CustomStyleHooksProvider","Provider","useCustomStyleHook","hook","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;","mappings":"AAAA,kBAAkB,GAElB,YAAYA,WAAW,QAAQ;AAsJ/B;;CAEC,GACD,OAAO,MAAMC,0BAA0BD,MAAME,aAAa,CAA2CC,WAAW;AAEhH,MAAMC,OAAO,KAAO;AAEpB;;CAEC,GACD,OAAO,MAAMC,2BAA2BJ,wBAAwBK,QAAQ,CAAC;AAEzE;;;;CAIC,GACD,OAAO,MAAMC,qBAAqB,CAACC;QAC1BR;QAAAA;IAAP,OAAOA,CAAAA,0BAAAA,oBAAAA,MAAMS,UAAU,CAACR,sCAAjBD,wCAAAA,iBAA2C,CAACQ,KAAK,cAAjDR,oCAAAA,yBAAqDI;AAC9D,EAAE"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './CustomStyleHooksContext';\n"],"names":[],"mappings":"AAAA,cAAc,4BAA4B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './CustomStyleHooksContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,4BAA4B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["CustomStyleHooksContext.ts"],"sourcesContent":["export * from './CustomStyleHooksContext/index';\n"],"names":[],"mappings":"AAAA,cAAc,kCAAkC"}
|
1
|
+
{"version":3,"sources":["CustomStyleHooksContext.ts"],"sourcesContent":["export * from './CustomStyleHooksContext/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,kCAAkC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["OverridesContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type OverridesContextValue = {\n // No 'underline' as it is not supported by TextArea\n inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';\n};\n\n/**\n * @internal\n */\nexport const OverridesContext = React.createContext<OverridesContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const OverridesProvider = OverridesContext.Provider;\n\nexport function useOverrides(): OverridesContextValue {\n return React.useContext(OverridesContext) ?? {};\n}\n"],"names":["React","OverridesContext","createContext","undefined","OverridesProvider","Provider","useOverrides","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAU/B;;CAEC,GACD,OAAO,MAAMC,mBAAmBD,MAAME,aAAa,CAAoCC,WAAW;AAElG;;CAEC,GACD,OAAO,MAAMC,oBAAoBH,iBAAiBI,QAAQ,CAAC;AAE3D,OAAO,SAASC;QACPN;IAAP,OAAOA,CAAAA,oBAAAA,MAAMO,UAAU,CAACN,+BAAjBD,+BAAAA,oBAAsC,CAAC;AAChD"}
|
1
|
+
{"version":3,"sources":["OverridesContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type OverridesContextValue = {\n // No 'underline' as it is not supported by TextArea\n inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';\n};\n\n/**\n * @internal\n */\nexport const OverridesContext = React.createContext<OverridesContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const OverridesProvider = OverridesContext.Provider;\n\nexport function useOverrides(): OverridesContextValue {\n return React.useContext(OverridesContext) ?? {};\n}\n"],"names":["React","OverridesContext","createContext","undefined","OverridesProvider","Provider","useOverrides","useContext"],"rangeMappings":";;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAU/B;;CAEC,GACD,OAAO,MAAMC,mBAAmBD,MAAME,aAAa,CAAoCC,WAAW;AAElG;;CAEC,GACD,OAAO,MAAMC,oBAAoBH,iBAAiBI,QAAQ,CAAC;AAE3D,OAAO,SAASC;QACPN;IAAP,OAAOA,CAAAA,oBAAAA,MAAMO,UAAU,CAACN,+BAAjBD,+BAAAA,oBAAsC,CAAC;AAChD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './OverridesContext';\n"],"names":[],"mappings":"AAAA,cAAc,qBAAqB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './OverridesContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,qBAAqB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["PortalMountNodeContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;\n\n/**\n * Provides a mount node for portals to render into.\n *\n * @internal\n */\nconst PortalMountNodeContext = React.createContext<PortalMountNodeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const PortalMountNodeProvider = PortalMountNodeContext.Provider;\n\nexport function usePortalMountNode(): PortalMountNodeContextValue {\n return React.useContext(PortalMountNodeContext);\n}\n"],"names":["React","PortalMountNodeContext","createContext","undefined","PortalMountNodeProvider","Provider","usePortalMountNode","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B;;;;CAIC,GACD,MAAMC,yBAAyBD,MAAME,aAAa,CAA8BC;AAEhF;;CAEC,GACD,OAAO,MAAMC,0BAA0BH,uBAAuBI,QAAQ,CAAC;AAEvE,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
|
1
|
+
{"version":3,"sources":["PortalMountNodeContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;\n\n/**\n * Provides a mount node for portals to render into.\n *\n * @internal\n */\nconst PortalMountNodeContext = React.createContext<PortalMountNodeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const PortalMountNodeProvider = PortalMountNodeContext.Provider;\n\nexport function usePortalMountNode(): PortalMountNodeContextValue {\n return React.useContext(PortalMountNodeContext);\n}\n"],"names":["React","PortalMountNodeContext","createContext","undefined","PortalMountNodeProvider","Provider","usePortalMountNode","useContext"],"rangeMappings":";;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B;;;;CAIC,GACD,MAAMC,yBAAyBD,MAAME,aAAa,CAA8BC;AAEhF;;CAEC,GACD,OAAO,MAAMC,0BAA0BH,uBAAuBI,QAAQ,CAAC;AAEvE,OAAO,SAASC;IACd,OAAON,MAAMO,UAAU,CAACN;AAC1B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ProviderContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ProviderContextValue = {\n /** Sets the direction of text & generated styles. */\n dir: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument?: Document;\n};\n\n/**\n * @internal\n */\nconst ProviderContext = React.createContext<ProviderContextValue | undefined>(\n undefined,\n) as React.Context<ProviderContextValue>;\n\nconst providerContextDefaultValue: ProviderContextValue = {\n // eslint-disable-next-line no-restricted-globals\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr' as const,\n};\n\n/**\n * @internal\n */\nexport const Provider = ProviderContext.Provider;\n\nexport function useFluent(): ProviderContextValue {\n return React.useContext(ProviderContext) ?? providerContextDefaultValue;\n}\n"],"names":["React","ProviderContext","createContext","undefined","providerContextDefaultValue","targetDocument","document","dir","Provider","useFluent","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAU/B;;CAEC,GACD,MAAMC,kBAAkBD,MAAME,aAAa,CACzCC;AAGF,MAAMC,8BAAoD;IACxD,iDAAiD;IACjDC,gBAAgB,OAAOC,aAAa,WAAWA,WAAWH;IAC1DI,KAAK;AACP;AAEA;;CAEC,GACD,OAAO,MAAMC,WAAWP,gBAAgBO,QAAQ,CAAC;AAEjD,OAAO,SAASC;QACPT;IAAP,OAAOA,CAAAA,oBAAAA,MAAMU,UAAU,CAACT,8BAAjBD,+BAAAA,oBAAqCI;AAC9C"}
|
1
|
+
{"version":3,"sources":["ProviderContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ProviderContextValue = {\n /** Sets the direction of text & generated styles. */\n dir: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument?: Document;\n};\n\n/**\n * @internal\n */\nconst ProviderContext = React.createContext<ProviderContextValue | undefined>(\n undefined,\n) as React.Context<ProviderContextValue>;\n\nconst providerContextDefaultValue: ProviderContextValue = {\n // eslint-disable-next-line no-restricted-globals\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr' as const,\n};\n\n/**\n * @internal\n */\nexport const Provider = ProviderContext.Provider;\n\nexport function useFluent(): ProviderContextValue {\n return React.useContext(ProviderContext) ?? providerContextDefaultValue;\n}\n"],"names":["React","ProviderContext","createContext","undefined","providerContextDefaultValue","targetDocument","document","dir","Provider","useFluent","useContext"],"rangeMappings":";;;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAU/B;;CAEC,GACD,MAAMC,kBAAkBD,MAAME,aAAa,CACzCC;AAGF,MAAMC,8BAAoD;IACxD,iDAAiD;IACjDC,gBAAgB,OAAOC,aAAa,WAAWA,WAAWH;IAC1DI,KAAK;AACP;AAEA;;CAEC,GACD,OAAO,MAAMC,WAAWP,gBAAgBO,QAAQ,CAAC;AAEjD,OAAO,SAASC;QACPT;IAAP,OAAOA,CAAAA,oBAAAA,MAAMU,UAAU,CAACT,8BAAjBD,+BAAAA,oBAAqCI;AAC9C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ProviderContext';\n"],"names":[],"mappings":"AAAA,cAAc,oBAAoB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ProviderContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,oBAAoB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ProviderContext.ts"],"sourcesContent":["export * from './ProviderContext/index';\n"],"names":[],"mappings":"AAAA,cAAc,0BAA0B"}
|
1
|
+
{"version":3,"sources":["ProviderContext.ts"],"sourcesContent":["export * from './ProviderContext/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,0BAA0B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeClassNameContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * @internal\n * Used to provide a CSS class that applies theme css variables\n *\n * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals\n */\nconst ThemeClassNameContext = React.createContext<ThemeClassNameContextValue | undefined>(\n undefined,\n) as React.Context<ThemeClassNameContextValue>;\n\nconst themeClassNameContextDefaultVaue = '';\n\nexport const ThemeClassNameProvider = ThemeClassNameContext.Provider;\n\n/**\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): ThemeClassNameContextValue {\n return React.useContext(ThemeClassNameContext) ?? themeClassNameContextDefaultVaue;\n}\n"],"names":["React","ThemeClassNameContext","createContext","undefined","themeClassNameContextDefaultVaue","ThemeClassNameProvider","Provider","useThemeClassName","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B;;;;;CAKC,GACD,MAAMC,wBAAwBD,MAAME,aAAa,CAC/CC;AAGF,MAAMC,mCAAmC;AAEzC,OAAO,MAAMC,yBAAyBJ,sBAAsBK,QAAQ,CAAC;AAErE;;CAEC,GACD,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,oCAAjBD,+BAAAA,oBAA2CI;AACpD"}
|
1
|
+
{"version":3,"sources":["ThemeClassNameContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * @internal\n * Used to provide a CSS class that applies theme css variables\n *\n * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals\n */\nconst ThemeClassNameContext = React.createContext<ThemeClassNameContextValue | undefined>(\n undefined,\n) as React.Context<ThemeClassNameContextValue>;\n\nconst themeClassNameContextDefaultVaue = '';\n\nexport const ThemeClassNameProvider = ThemeClassNameContext.Provider;\n\n/**\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): ThemeClassNameContextValue {\n return React.useContext(ThemeClassNameContext) ?? themeClassNameContextDefaultVaue;\n}\n"],"names":["React","ThemeClassNameContext","createContext","undefined","themeClassNameContextDefaultVaue","ThemeClassNameProvider","Provider","useThemeClassName","useContext"],"rangeMappings":";;;;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAI/B;;;;;CAKC,GACD,MAAMC,wBAAwBD,MAAME,aAAa,CAC/CC;AAGF,MAAMC,mCAAmC;AAEzC,OAAO,MAAMC,yBAAyBJ,sBAAsBK,QAAQ,CAAC;AAErE;;CAEC,GACD,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,oCAAjBD,+BAAAA,oBAA2CI;AACpD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ThemeClassNameContext';\n"],"names":[],"mappings":"AAAA,cAAc,0BAA0B"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ThemeClassNameContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,0BAA0B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeClassNameContext.ts"],"sourcesContent":["export * from './ThemeClassNameContext/index';\n"],"names":[],"mappings":"AAAA,cAAc,gCAAgC"}
|
1
|
+
{"version":3,"sources":["ThemeClassNameContext.ts"],"sourcesContent":["export * from './ThemeClassNameContext/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,gCAAgC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeContext.ts"],"sourcesContent":["import * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\nexport type ThemeContextValue = Theme | Partial<Theme> | undefined;\n\n/**\n * @internal\n */\nexport const ThemeContext = React.createContext<ThemeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const ThemeProvider = ThemeContext.Provider;\n"],"names":["React","ThemeContext","createContext","undefined","ThemeProvider","Provider"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAK/B;;CAEC,GACD,OAAO,MAAMC,eAAeD,MAAME,aAAa,CAAoBC,WAAW;AAE9E;;CAEC,GACD,OAAO,MAAMC,gBAAgBH,aAAaI,QAAQ,CAAC"}
|
1
|
+
{"version":3,"sources":["ThemeContext.ts"],"sourcesContent":["import * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\nexport type ThemeContextValue = Theme | Partial<Theme> | undefined;\n\n/**\n * @internal\n */\nexport const ThemeContext = React.createContext<ThemeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const ThemeProvider = ThemeContext.Provider;\n"],"names":["React","ThemeContext","createContext","undefined","ThemeProvider","Provider"],"rangeMappings":";;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAK/B;;CAEC,GACD,OAAO,MAAMC,eAAeD,MAAME,aAAa,CAAoBC,WAAW;AAE9E;;CAEC,GACD,OAAO,MAAMC,gBAAgBH,aAAaI,QAAQ,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ThemeContext';\n"],"names":[],"mappings":"AAAA,cAAc,iBAAiB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ThemeContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,iBAAiB"}
|
package/lib/ThemeContext.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeContext.ts"],"sourcesContent":["export * from './ThemeContext/index';\n"],"names":[],"mappings":"AAAA,cAAc,uBAAuB"}
|
1
|
+
{"version":3,"sources":["ThemeContext.ts"],"sourcesContent":["export * from './ThemeContext/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,uBAAuB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["TooltipContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * The context provided by TooltipProvider\n */\nexport type TooltipVisibilityContextValue = {\n /**\n * When a tooltip is shown, it sets itself as the visibleTooltip.\n * The next tooltip to become visible can use it to hide the previous tooltip immediately.\n */\n visibleTooltip?: {\n hide: () => void;\n };\n};\n\n/**\n * @internal\n * Context shared by all of the tooltips in the app\n */\nconst TooltipVisibilityContext = React.createContext<TooltipVisibilityContextValue | undefined>(\n undefined,\n) as React.Context<TooltipVisibilityContextValue>;\n\nconst tooltipVisibilityContextDefaultValue: TooltipVisibilityContextValue = {};\n\n/**\n * @internal\n */\nexport const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;\n\nexport function useTooltipVisibility(): TooltipVisibilityContextValue {\n return React.useContext(TooltipVisibilityContext) ?? tooltipVisibilityContextDefaultValue;\n}\n"],"names":["React","TooltipVisibilityContext","createContext","undefined","tooltipVisibilityContextDefaultValue","TooltipVisibilityProvider","Provider","useTooltipVisibility","useContext"],"mappings":"AAAA,YAAYA,WAAW,QAAQ;AAe/B;;;CAGC,GACD,MAAMC,2BAA2BD,MAAME,aAAa,CAClDC;AAGF,MAAMC,uCAAsE,CAAC;AAE7E;;CAEC,GACD,OAAO,MAAMC,4BAA4BJ,yBAAyBK,QAAQ,CAAC;AAE3E,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,uCAAjBD,+BAAAA,oBAA8CI;AACvD"}
|
1
|
+
{"version":3,"sources":["TooltipContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * The context provided by TooltipProvider\n */\nexport type TooltipVisibilityContextValue = {\n /**\n * When a tooltip is shown, it sets itself as the visibleTooltip.\n * The next tooltip to become visible can use it to hide the previous tooltip immediately.\n */\n visibleTooltip?: {\n hide: () => void;\n };\n};\n\n/**\n * @internal\n * Context shared by all of the tooltips in the app\n */\nconst TooltipVisibilityContext = React.createContext<TooltipVisibilityContextValue | undefined>(\n undefined,\n) as React.Context<TooltipVisibilityContextValue>;\n\nconst tooltipVisibilityContextDefaultValue: TooltipVisibilityContextValue = {};\n\n/**\n * @internal\n */\nexport const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;\n\nexport function useTooltipVisibility(): TooltipVisibilityContextValue {\n return React.useContext(TooltipVisibilityContext) ?? tooltipVisibilityContextDefaultValue;\n}\n"],"names":["React","TooltipVisibilityContext","createContext","undefined","tooltipVisibilityContextDefaultValue","TooltipVisibilityProvider","Provider","useTooltipVisibility","useContext"],"rangeMappings":";;;;;;;;;;;;","mappings":"AAAA,YAAYA,WAAW,QAAQ;AAe/B;;;CAGC,GACD,MAAMC,2BAA2BD,MAAME,aAAa,CAClDC;AAGF,MAAMC,uCAAsE,CAAC;AAE7E;;CAEC,GACD,OAAO,MAAMC,4BAA4BJ,yBAAyBK,QAAQ,CAAC;AAE3E,OAAO,SAASC;QACPP;IAAP,OAAOA,CAAAA,oBAAAA,MAAMQ,UAAU,CAACP,uCAAjBD,+BAAAA,oBAA8CI;AACvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './TooltipContext';\n"],"names":[],"mappings":"AAAA,cAAc,mBAAmB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './TooltipContext';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mBAAmB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["TooltipVisibilityContext.ts"],"sourcesContent":["export * from './TooltipVisibilityContext/index';\n"],"names":[],"mappings":"AAAA,cAAc,mCAAmC"}
|
1
|
+
{"version":3,"sources":["TooltipVisibilityContext.ts"],"sourcesContent":["export * from './TooltipVisibilityContext/index';\n"],"names":[],"rangeMappings":"","mappings":"AAAA,cAAc,mCAAmC"}
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.ts"],"sourcesContent":["export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';\nexport type { ThemeContextValue as ThemeContextValue_unstable } from './ThemeContext';\n\nexport {\n ThemeClassNameProvider as ThemeClassNameProvider_unstable,\n useThemeClassName as useThemeClassName_unstable,\n} from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue as ThemeClassNameContextValue_unstable } from './ThemeClassNameContext';\n\nexport {\n TooltipVisibilityProvider as TooltipVisibilityProvider_unstable,\n useTooltipVisibility as useTooltipVisibility_unstable,\n} from './TooltipVisibilityContext';\nexport type { TooltipVisibilityContextValue as TooltipVisibilityContextValue_unstable } from './TooltipVisibilityContext';\n\nexport { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';\nexport type { ProviderContextValue as ProviderContextValue_unstable } from './ProviderContext';\n\nexport {\n OverridesProvider as OverridesProvider_unstable,\n useOverrides as useOverrides_unstable,\n} from './OverridesContext';\nexport type { OverridesContextValue as OverridesContextValue_unstable } from './OverridesContext';\n\nexport {\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHook as useCustomStyleHook_unstable,\n} from './CustomStyleHooksContext';\nexport type { CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable } from './CustomStyleHooksContext';\n\nexport { BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';\nexport type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\n\nexport { PortalMountNodeProvider, usePortalMountNode } from './PortalMountNodeContext';\n\nexport {\n AnnounceProvider,\n /** @deprecated Use AnnounceProvider instead. */\n AnnounceProvider as AnnounceProvider_unstable,\n useAnnounce,\n /** @deprecated Use useAnnounce instead. */\n useAnnounce as useAnnounce_unstable,\n} from './AnnounceContext';\nexport type {\n AnnounceContextValue,\n /** @deprecated Use AnnounceContextValue instead. */\n AnnounceContextValue as AnnounceContextValue_unstable,\n AnnounceOptions,\n} from './AnnounceContext';\n"],"names":["ThemeContext","ThemeContext_unstable","ThemeProvider","ThemeProvider_unstable","ThemeClassNameProvider","ThemeClassNameProvider_unstable","useThemeClassName","useThemeClassName_unstable","TooltipVisibilityProvider","TooltipVisibilityProvider_unstable","useTooltipVisibility","useTooltipVisibility_unstable","Provider","Provider_unstable","useFluent","useFluent_unstable","OverridesProvider","OverridesProvider_unstable","useOverrides","useOverrides_unstable","CustomStyleHooksContext","CustomStyleHooksContext_unstable","CustomStyleHooksProvider","CustomStyleHooksProvider_unstable","useCustomStyleHook","useCustomStyleHook_unstable","BackgroundAppearanceProvider","useBackgroundAppearance","PortalMountNodeProvider","usePortalMountNode","AnnounceProvider","AnnounceProvider_unstable","useAnnounce","useAnnounce_unstable"],"mappings":"AAAA,SAASA,gBAAgBC,qBAAqB,EAAEC,iBAAiBC,sBAAsB,QAAQ,iBAAiB;AAGhH,SACEC,0BAA0BC,+BAA+B,EACzDC,qBAAqBC,0BAA0B,QAC1C,0BAA0B;AAGjC,SACEC,6BAA6BC,kCAAkC,EAC/DC,wBAAwBC,6BAA6B,QAChD,6BAA6B;AAGpC,SAASC,YAAYC,iBAAiB,EAAEC,aAAaC,kBAAkB,QAAQ,oBAAoB;AAGnG,SACEC,qBAAqBC,0BAA0B,EAC/CC,gBAAgBC,qBAAqB,QAChC,qBAAqB;AAG5B,SACEC,2BAA2BC,gCAAgC,EAC3DC,4BAA4BC,iCAAiC,EAC7DC,sBAAsBC,2BAA2B,QAC5C,4BAA4B;AAGnC,SAASC,4BAA4B,EAAEC,uBAAuB,QAAQ,gCAAgC;AAGtG,SAASC,uBAAuB,EAAEC,kBAAkB,QAAQ,2BAA2B;AAEvF,SACEC,gBAAgB,EAChB,8CAA8C,GAC9CA,oBAAoBC,yBAAyB,EAC7CC,WAAW,EACX,yCAAyC,GACzCA,eAAeC,oBAAoB,QAC9B,oBAAoB"}
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';\nexport type { ThemeContextValue as ThemeContextValue_unstable } from './ThemeContext';\n\nexport {\n ThemeClassNameProvider as ThemeClassNameProvider_unstable,\n useThemeClassName as useThemeClassName_unstable,\n} from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue as ThemeClassNameContextValue_unstable } from './ThemeClassNameContext';\n\nexport {\n TooltipVisibilityProvider as TooltipVisibilityProvider_unstable,\n useTooltipVisibility as useTooltipVisibility_unstable,\n} from './TooltipVisibilityContext';\nexport type { TooltipVisibilityContextValue as TooltipVisibilityContextValue_unstable } from './TooltipVisibilityContext';\n\nexport { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';\nexport type { ProviderContextValue as ProviderContextValue_unstable } from './ProviderContext';\n\nexport {\n OverridesProvider as OverridesProvider_unstable,\n useOverrides as useOverrides_unstable,\n} from './OverridesContext';\nexport type { OverridesContextValue as OverridesContextValue_unstable } from './OverridesContext';\n\nexport {\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHook as useCustomStyleHook_unstable,\n} from './CustomStyleHooksContext';\nexport type { CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable } from './CustomStyleHooksContext';\n\nexport { BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';\nexport type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\n\nexport { PortalMountNodeProvider, usePortalMountNode } from './PortalMountNodeContext';\n\nexport {\n AnnounceProvider,\n /** @deprecated Use AnnounceProvider instead. */\n AnnounceProvider as AnnounceProvider_unstable,\n useAnnounce,\n /** @deprecated Use useAnnounce instead. */\n useAnnounce as useAnnounce_unstable,\n} from './AnnounceContext';\nexport type {\n AnnounceContextValue,\n /** @deprecated Use AnnounceContextValue instead. */\n AnnounceContextValue as AnnounceContextValue_unstable,\n AnnounceOptions,\n} from './AnnounceContext';\n"],"names":["ThemeContext","ThemeContext_unstable","ThemeProvider","ThemeProvider_unstable","ThemeClassNameProvider","ThemeClassNameProvider_unstable","useThemeClassName","useThemeClassName_unstable","TooltipVisibilityProvider","TooltipVisibilityProvider_unstable","useTooltipVisibility","useTooltipVisibility_unstable","Provider","Provider_unstable","useFluent","useFluent_unstable","OverridesProvider","OverridesProvider_unstable","useOverrides","useOverrides_unstable","CustomStyleHooksContext","CustomStyleHooksContext_unstable","CustomStyleHooksProvider","CustomStyleHooksProvider_unstable","useCustomStyleHook","useCustomStyleHook_unstable","BackgroundAppearanceProvider","useBackgroundAppearance","PortalMountNodeProvider","usePortalMountNode","AnnounceProvider","AnnounceProvider_unstable","useAnnounce","useAnnounce_unstable"],"rangeMappings":";;;;;;;;","mappings":"AAAA,SAASA,gBAAgBC,qBAAqB,EAAEC,iBAAiBC,sBAAsB,QAAQ,iBAAiB;AAGhH,SACEC,0BAA0BC,+BAA+B,EACzDC,qBAAqBC,0BAA0B,QAC1C,0BAA0B;AAGjC,SACEC,6BAA6BC,kCAAkC,EAC/DC,wBAAwBC,6BAA6B,QAChD,6BAA6B;AAGpC,SAASC,YAAYC,iBAAiB,EAAEC,aAAaC,kBAAkB,QAAQ,oBAAoB;AAGnG,SACEC,qBAAqBC,0BAA0B,EAC/CC,gBAAgBC,qBAAqB,QAChC,qBAAqB;AAG5B,SACEC,2BAA2BC,gCAAgC,EAC3DC,4BAA4BC,iCAAiC,EAC7DC,sBAAsBC,2BAA2B,QAC5C,4BAA4B;AAGnC,SAASC,4BAA4B,EAAEC,uBAAuB,QAAQ,gCAAgC;AAGtG,SAASC,uBAAuB,EAAEC,kBAAkB,QAAQ,2BAA2B;AAEvF,SACEC,gBAAgB,EAChB,8CAA8C,GAC9CA,oBAAoBC,yBAAyB,EAC7CC,WAAW,EACX,yCAAyC,GACzCA,eAAeC,oBAAoB,QAC9B,oBAAoB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["AnnounceContext.
|
1
|
+
{"version":3,"sources":["AnnounceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * Defines options for a message to be announced.\n */\nexport type AnnounceOptions = {\n alert?: boolean;\n\n /**\n * A unique identifier for the message. If a message with the same id is already announced, it will be replaced.\n */\n batchId?: string;\n\n /**\n * Indicates that the message announcement can be interrupted by another message and will be announced only\n * user is idle.\n */\n polite?: boolean;\n\n /** Defines the priority of the message. Higher priority messages will be announced first. */\n priority?: number;\n};\n\nexport type AnnounceContextValue = {\n announce: (message: string, options?: AnnounceOptions) => void;\n};\n\n/**\n * @internal\n */\nconst AnnounceContext = React.createContext<AnnounceContextValue | undefined>(undefined);\n\nexport const AnnounceProvider = AnnounceContext.Provider;\n\n/**\n * Returns a function that can be used to announce messages to screen readers.\n */\nexport function useAnnounce(): AnnounceContextValue {\n return React.useContext(AnnounceContext) ?? { announce: () => undefined };\n}\n"],"names":["AnnounceProvider","useAnnounce","AnnounceContext","React","createContext","undefined","Provider","useContext","announce"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAgCaA,gBAAAA;eAAAA;;IAKGC,WAAAA;eAAAA;;;;iEArCO;AA2BvB;;CAEC,GACD,MAAMC,gCAAkBC,OAAMC,aAAa,CAAmCC;AAEvE,MAAML,mBAAmBE,gBAAgBI,QAAQ;AAKjD,SAASL;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMI,UAAU,CAACL,gBAAAA,MAAAA,QAAjBC,sBAAAA,KAAAA,IAAAA,oBAAqC;QAAEK,UAAU,IAAMH;IAAU;AAC1E"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './AnnounceContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["BackgroundAppearanceContext.
|
1
|
+
{"version":3,"sources":["BackgroundAppearanceContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type BackgroundAppearanceContextValue = 'inverted' | undefined;\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceContext = React.createContext<BackgroundAppearanceContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const BackgroundAppearanceProvider = BackgroundAppearanceContext.Provider;\n\nexport function useBackgroundAppearance(): BackgroundAppearanceContextValue {\n return React.useContext(BackgroundAppearanceContext);\n}\n"],"names":["BackgroundAppearanceContext","BackgroundAppearanceProvider","useBackgroundAppearance","React","createContext","undefined","Provider","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAUaA,2BAAAA;eAAAA;;IAKAC,4BAAAA;eAAAA;;IAEGC,uBAAAA;eAAAA;;;;iEAjBO;AAUhB,MAAMF,4CAA8BG,OAAMC,aAAa,CAA+CC;AAKtG,MAAMJ,+BAA+BD,4BAA4BM,QAAQ;AAEzE,SAASJ;IACd,OAAOC,OAAMI,UAAU,CAACP;AAC1B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './BackgroundAppearanceContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["CustomStyleHooksContext.
|
1
|
+
{"version":3,"sources":["CustomStyleHooksContext.ts"],"sourcesContent":["/* eslint-disable */\n\nimport * as React from 'react';\n\ntype CustomStyleHook = (state: unknown) => void;\n\n// The list of hooks is built from the exports from react-components/src/index\nexport type CustomStyleHooksContextValue = Partial<{\n useAccordionHeaderStyles_unstable: CustomStyleHook;\n useAccordionItemStyles_unstable: CustomStyleHook;\n useAccordionPanelStyles_unstable: CustomStyleHook;\n useAccordionStyles_unstable: CustomStyleHook;\n useAvatarStyles_unstable: CustomStyleHook;\n useAvatarGroupStyles_unstable: CustomStyleHook;\n useAvatarGroupItemStyles_unstable: CustomStyleHook;\n useAvatarGroupPopoverStyles_unstable: CustomStyleHook;\n useBadgeStyles_unstable: CustomStyleHook;\n useCounterBadgeStyles_unstable: CustomStyleHook;\n useCardHeaderStyles_unstable: CustomStyleHook;\n useCardStyles_unstable: CustomStyleHook;\n useCardFooterStyles_unstable: CustomStyleHook;\n useCardPreviewStyles_unstable: CustomStyleHook;\n usePresenceBadgeStyles_unstable: CustomStyleHook;\n useButtonStyles_unstable: CustomStyleHook;\n useCompoundButtonStyles_unstable: CustomStyleHook;\n useMenuButtonStyles_unstable: CustomStyleHook;\n useSplitButtonStyles_unstable: CustomStyleHook;\n useToggleButtonStyles_unstable: CustomStyleHook;\n useCheckboxStyles_unstable: CustomStyleHook;\n useComboboxStyles_unstable: CustomStyleHook;\n useDropdownStyles_unstable: CustomStyleHook;\n useListboxStyles_unstable: CustomStyleHook;\n useListStyles_unstable: CustomStyleHook;\n useListItemStyles_unstable: CustomStyleHook;\n /* @deprecated Use onClick handler on the ListItem itself instead. */\n useListItemButtonStyles_unstable: CustomStyleHook;\n useOptionStyles_unstable: CustomStyleHook;\n useOptionGroupStyles_unstable: CustomStyleHook;\n useDividerStyles_unstable: CustomStyleHook;\n useInputStyles_unstable: CustomStyleHook;\n useImageStyles_unstable: CustomStyleHook;\n useLabelStyles_unstable: CustomStyleHook;\n useLinkStyles_unstable: CustomStyleHook;\n useMenuDividerStyles_unstable: CustomStyleHook;\n useMenuGroupHeaderStyles_unstable: CustomStyleHook;\n useMenuGroupStyles_unstable: CustomStyleHook;\n useMenuItemCheckboxStyles_unstable: CustomStyleHook;\n useMenuItemSwitchStyles_unstable: CustomStyleHook;\n useMenuItemRadioStyles_unstable: CustomStyleHook;\n useMenuItemStyles_unstable: CustomStyleHook;\n useMenuItemLinkStyles_unstable: CustomStyleHook;\n useMenuListStyles_unstable: CustomStyleHook;\n useMenuPopoverStyles_unstable: CustomStyleHook;\n useMenuSplitGroupStyles_unstable: CustomStyleHook;\n usePersonaStyles_unstable: CustomStyleHook;\n usePopoverSurfaceStyles_unstable: CustomStyleHook;\n useRadioGroupStyles_unstable: CustomStyleHook;\n useRadioStyles_unstable: CustomStyleHook;\n useSelectStyles_unstable: CustomStyleHook;\n useSliderStyles_unstable: CustomStyleHook;\n useSpinButtonStyles_unstable: CustomStyleHook;\n useSpinnerStyles_unstable: CustomStyleHook;\n useSwitchStyles_unstable: CustomStyleHook;\n useTabStyles_unstable: CustomStyleHook;\n useTabListStyles_unstable: CustomStyleHook;\n useTextStyles_unstable: CustomStyleHook;\n useTextareaStyles_unstable: CustomStyleHook;\n useTooltipStyles_unstable: CustomStyleHook;\n useDialogTitleStyles_unstable: CustomStyleHook;\n useDialogBodyStyles_unstable: CustomStyleHook;\n useDialogActionsStyles_unstable: CustomStyleHook;\n useDialogSurfaceStyles_unstable: CustomStyleHook;\n useDialogContentStyles_unstable: CustomStyleHook;\n useProgressBarStyles_unstable: CustomStyleHook;\n useToolbarButtonStyles_unstable: CustomStyleHook;\n useToolbarRadioButtonStyles_unstable: CustomStyleHook;\n useToolbarGroupStyles_unstable: CustomStyleHook;\n useToolbarToggleButtonStyles_unstable: CustomStyleHook;\n useToolbarDividerStyles_unstable: CustomStyleHook;\n useToolbarStyles_unstable: CustomStyleHook;\n useTableCellStyles_unstable: CustomStyleHook;\n useTableRowStyles_unstable: CustomStyleHook;\n useTableBodyStyles_unstable: CustomStyleHook;\n useTableStyles_unstable: CustomStyleHook;\n useTableHeaderStyles_unstable: CustomStyleHook;\n useTableHeaderCellStyles_unstable: CustomStyleHook;\n useTableResizeHandleStyles_unstable: CustomStyleHook;\n useTableSelectionCellStyles_unstable: CustomStyleHook;\n useTableCellActionsStyles_unstable: CustomStyleHook;\n useTableCellLayoutStyles_unstable: CustomStyleHook;\n useDataGridCellStyles_unstable: CustomStyleHook;\n useDataGridRowStyles_unstable: CustomStyleHook;\n useDataGridBodyStyles_unstable: CustomStyleHook;\n useDataGridStyles_unstable: CustomStyleHook;\n useDataGridHeaderStyles_unstable: CustomStyleHook;\n useDataGridHeaderCellStyles_unstable: CustomStyleHook;\n useDataGridSelectionCellStyles_unstable: CustomStyleHook;\n useDrawerStyles_unstable: CustomStyleHook;\n /** @deprecated Use useInlineDrawerStyles_unstable instead. */\n useDrawerInlineStyles_unstable: CustomStyleHook;\n /** @deprecated Use useOverlayDrawerStyles_unstable instead. */\n useDrawerOverlayStyles_unstable: CustomStyleHook;\n useInlineDrawerStyles_unstable: CustomStyleHook;\n useOverlayDrawerStyles_unstable: CustomStyleHook;\n useDrawerHeaderStyles_unstable: CustomStyleHook;\n useDrawerHeaderNavigationStyles_unstable: CustomStyleHook;\n useDrawerHeaderTitleStyles_unstable: CustomStyleHook;\n useDrawerBodyStyles_unstable: CustomStyleHook;\n useDrawerFooterStyles_unstable: CustomStyleHook;\n useInteractionTagStyles_unstable: CustomStyleHook;\n useInteractionTagPrimaryStyles_unstable: CustomStyleHook;\n useInteractionTagSecondaryStyles_unstable: CustomStyleHook;\n useTagStyles_unstable: CustomStyleHook;\n useTagGroupStyles_unstable: CustomStyleHook;\n useBreadcrumbStyles_unstable: CustomStyleHook;\n useBreadcrumbButtonStyles_unstable: CustomStyleHook;\n useBreadcrumbItemStyles_unstable: CustomStyleHook;\n useBreadcrumbDividerStyles_unstable: CustomStyleHook;\n useMessageBarStyles_unstable: CustomStyleHook;\n useMessageBarBodyStyles_unstable: CustomStyleHook;\n useMessageBarTitleStyles_unstable: CustomStyleHook;\n useMessageBarActionsStyles_unstable: CustomStyleHook;\n useMessageBarGroupStyles_unstable: CustomStyleHook;\n useToasterStyles_unstable: CustomStyleHook;\n /** @deprecated TeachingPopover wrapper has no styles (non-UI hooks only). */\n useTeachingPopoverStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel internal functionality. */\n useTeachingPopoverActionsStyles_unstable: CustomStyleHook;\n useTeachingPopoverBodyStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverFooter / TeachingPopoverCarousel styling hooks */\n useTeachingPopoverButtonStyles_unstable: CustomStyleHook;\n useTeachingPopoverCarouselStyles_unstable: CustomStyleHook;\n useTeachingPopoverHeaderStyles_unstable: CustomStyleHook;\n /** @deprecated Replaced by TeachingPopoverCarouselNav styling hooks */\n useTeachingPopoverPageCountStyles_unstable: CustomStyleHook;\n useTeachingPopoverSurfaceStyles_unstable: CustomStyleHook;\n useTeachingPopoverTitleStyles_unstable: CustomStyleHook;\n useTimePickerCompatStyles_unstable: CustomStyleHook;\n useTagPickerInputStyles_unstable: CustomStyleHook;\n useTagPickerButtonStyles_unstable: CustomStyleHook;\n useTagPickerControlStyles_unstable: CustomStyleHook;\n useTagPickerGroupStyles_unstable: CustomStyleHook;\n useTagPickerListStyles_unstable: CustomStyleHook;\n useTagPickerOptionStyles_unstable: CustomStyleHook;\n useTagPickerOptionGroupStyles_unstable: CustomStyleHook;\n useColorSwatchStyles_unstable: CustomStyleHook;\n useImageSwatchStyles_unstable: CustomStyleHook;\n useEmptySwatchStyles_unstable: CustomStyleHook;\n useSwatchPickerRowStyles_unstable: CustomStyleHook;\n useSwatchPickerStyles_unstable: CustomStyleHook;\n}>;\n\n/**\n * @internal\n */\nexport const CustomStyleHooksContext = React.createContext<CustomStyleHooksContextValue | undefined>(undefined);\n\nconst noop = () => {};\n\n/**\n * @internal\n */\nexport const CustomStyleHooksProvider = CustomStyleHooksContext.Provider;\n\n/**\n * Gets a custom style hook\n * @param hook - One of the hook properties in CustomStyleHooksContextValue\n * @returns The corresponding hook when defined, otherwise a no-op function.\n */\nexport const useCustomStyleHook = (hook: keyof CustomStyleHooksContextValue): CustomStyleHook => {\n return React.useContext(CustomStyleHooksContext)?.[hook] ?? noop;\n};\n"],"names":["CustomStyleHooksContext","CustomStyleHooksProvider","useCustomStyleHook","React","createContext","undefined","noop","Provider","hook","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":"AAAA,kBAAkB;;;;;;;;;;;IA2JLA,uBAAAA;eAAAA;;IAOAC,wBAAAA;eAAAA;;IAOAC,kBAAAA;eAAAA;;;;iEAvKU;AAyJhB,MAAMF,wCAA0BG,OAAMC,aAAa,CAA2CC;AAErG,MAAMC,OAAO,KAAO;AAKb,MAAML,2BAA2BD,wBAAwBO,QAAQ;AAOjE,MAAML,qBAAqB,CAACM;QAC1BL;QAAAA;IAAP,OAAOA,CAAAA,yBAAAA,CAAAA,oBAAAA,OAAMM,UAAU,CAACT,wBAAAA,MAAAA,QAAjBG,sBAAAA,KAAAA,IAAAA,KAAAA,IAAAA,iBAA2C,CAACK,KAAK,AAALA,MAAK,QAAjDL,2BAAAA,KAAAA,IAAAA,yBAAqDG;AAC9D"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './CustomStyleHooksContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["CustomStyleHooksContext.
|
1
|
+
{"version":3,"sources":["CustomStyleHooksContext.ts"],"sourcesContent":["export * from './CustomStyleHooksContext/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["OverridesContext.
|
1
|
+
{"version":3,"sources":["OverridesContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * @internal\n */\nexport type OverridesContextValue = {\n // No 'underline' as it is not supported by TextArea\n inputDefaultAppearance?: 'outline' | 'filled-darker' | 'filled-lighter';\n};\n\n/**\n * @internal\n */\nexport const OverridesContext = React.createContext<OverridesContextValue | undefined>(undefined);\n\n/**\n * @internal\n */\nexport const OverridesProvider = OverridesContext.Provider;\n\nexport function useOverrides(): OverridesContextValue {\n return React.useContext(OverridesContext) ?? {};\n}\n"],"names":["OverridesContext","OverridesProvider","useOverrides","React","createContext","undefined","Provider","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAaaA,gBAAAA;eAAAA;;IAKAC,iBAAAA;eAAAA;;IAEGC,YAAAA;eAAAA;;;;iEApBO;AAahB,MAAMF,iCAAmBG,OAAMC,aAAa,CAAoCC;AAKhF,MAAMJ,oBAAoBD,iBAAiBM,QAAQ;AAEnD,SAASJ;QACPC;IAAP,OAAOA,CAAAA,oBAAAA,OAAMI,UAAU,CAACP,iBAAAA,MAAAA,QAAjBG,sBAAAA,KAAAA,IAAAA,oBAAsC,CAAC;AAChD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './OverridesContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["PortalMountNodeContext.
|
1
|
+
{"version":3,"sources":["PortalMountNodeContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type PortalMountNodeContextValue = HTMLElement | ShadowRoot | undefined;\n\n/**\n * Provides a mount node for portals to render into.\n *\n * @internal\n */\nconst PortalMountNodeContext = React.createContext<PortalMountNodeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const PortalMountNodeProvider = PortalMountNodeContext.Provider;\n\nexport function usePortalMountNode(): PortalMountNodeContextValue {\n return React.useContext(PortalMountNodeContext);\n}\n"],"names":["PortalMountNodeProvider","usePortalMountNode","PortalMountNodeContext","React","createContext","undefined","Provider","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAcaA,uBAAAA;eAAAA;;IAEGC,kBAAAA;eAAAA;;;;iEAhBO;AAIvB;;;;CAIC,GACD,MAAMC,uCAAyBC,OAAMC,aAAa,CAA8BC;AAKzE,MAAML,0BAA0BE,uBAAuBI,QAAQ;AAE/D,SAASL;IACd,OAAOE,OAAMI,UAAU,CAACL;AAC1B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ProviderContext.
|
1
|
+
{"version":3,"sources":["ProviderContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ProviderContextValue = {\n /** Sets the direction of text & generated styles. */\n dir: 'ltr' | 'rtl';\n\n /** Provides the document, can be undefined during SSR render. */\n targetDocument?: Document;\n};\n\n/**\n * @internal\n */\nconst ProviderContext = React.createContext<ProviderContextValue | undefined>(\n undefined,\n) as React.Context<ProviderContextValue>;\n\nconst providerContextDefaultValue: ProviderContextValue = {\n // eslint-disable-next-line no-restricted-globals\n targetDocument: typeof document === 'object' ? document : undefined,\n dir: 'ltr' as const,\n};\n\n/**\n * @internal\n */\nexport const Provider = ProviderContext.Provider;\n\nexport function useFluent(): ProviderContextValue {\n return React.useContext(ProviderContext) ?? providerContextDefaultValue;\n}\n"],"names":["Provider","useFluent","ProviderContext","React","createContext","undefined","providerContextDefaultValue","targetDocument","document","dir","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA0BaA,QAAAA;eAAAA;;IAEGC,SAAAA;eAAAA;;;;iEA5BO;AAUvB;;CAEC,GACD,MAAMC,gCAAkBC,OAAMC,aAAa,CACzCC;AAGF,MAAMC,8BAAoD;IACxD,iDAAiD;IACjDC,gBAAgB,OAAOC,aAAa,WAAWA,WAAWH;IAC1DI,KAAK;AACP;AAKO,MAAMT,WAAWE,gBAAgBF,QAAQ;AAEzC,SAASC;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMO,UAAU,CAACR,gBAAAA,MAAAA,QAAjBC,sBAAAA,KAAAA,IAAAA,oBAAqCG;AAC9C"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ProviderContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ProviderContext.
|
1
|
+
{"version":3,"sources":["ProviderContext.ts"],"sourcesContent":["export * from './ProviderContext/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeClassNameContext.
|
1
|
+
{"version":3,"sources":["ThemeClassNameContext.ts"],"sourcesContent":["import * as React from 'react';\n\nexport type ThemeClassNameContextValue = string;\n\n/**\n * @internal\n * Used to provide a CSS class that applies theme css variables\n *\n * Useful for elements in the React tree (can read context) but not in the DOM Tree. E.g. Portals\n */\nconst ThemeClassNameContext = React.createContext<ThemeClassNameContextValue | undefined>(\n undefined,\n) as React.Context<ThemeClassNameContextValue>;\n\nconst themeClassNameContextDefaultVaue = '';\n\nexport const ThemeClassNameProvider = ThemeClassNameContext.Provider;\n\n/**\n * @returns CSS class that applies css variables\n */\nexport function useThemeClassName(): ThemeClassNameContextValue {\n return React.useContext(ThemeClassNameContext) ?? themeClassNameContextDefaultVaue;\n}\n"],"names":["ThemeClassNameProvider","useThemeClassName","ThemeClassNameContext","React","createContext","undefined","themeClassNameContextDefaultVaue","Provider","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAgBaA,sBAAAA;eAAAA;;IAKGC,iBAAAA;eAAAA;;;;iEArBO;AAIvB;;;;;CAKC,GACD,MAAMC,sCAAwBC,OAAMC,aAAa,CAC/CC;AAGF,MAAMC,mCAAmC;AAElC,MAAMN,yBAAyBE,sBAAsBK,QAAQ;AAK7D,SAASN;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,sBAAAA,MAAAA,QAAjBC,sBAAAA,KAAAA,IAAAA,oBAA2CG;AACpD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ThemeClassNameContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeClassNameContext.
|
1
|
+
{"version":3,"sources":["ThemeClassNameContext.ts"],"sourcesContent":["export * from './ThemeClassNameContext/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeContext.
|
1
|
+
{"version":3,"sources":["ThemeContext.ts"],"sourcesContent":["import * as React from 'react';\nimport type { Theme } from '@fluentui/react-theme';\n\nexport type ThemeContextValue = Theme | Partial<Theme> | undefined;\n\n/**\n * @internal\n */\nexport const ThemeContext = React.createContext<ThemeContextValue>(undefined);\n\n/**\n * @internal\n */\nexport const ThemeProvider = ThemeContext.Provider;\n"],"names":["ThemeContext","ThemeProvider","React","createContext","undefined","Provider"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAQaA,YAAAA;eAAAA;;IAKAC,aAAAA;eAAAA;;;;iEAbU;AAQhB,MAAMD,6BAAeE,OAAMC,aAAa,CAAoBC;AAK5D,MAAMH,gBAAgBD,aAAaK,QAAQ"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './ThemeContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["ThemeContext.
|
1
|
+
{"version":3,"sources":["ThemeContext.ts"],"sourcesContent":["export * from './ThemeContext/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["TooltipContext.
|
1
|
+
{"version":3,"sources":["TooltipContext.ts"],"sourcesContent":["import * as React from 'react';\n\n/**\n * The context provided by TooltipProvider\n */\nexport type TooltipVisibilityContextValue = {\n /**\n * When a tooltip is shown, it sets itself as the visibleTooltip.\n * The next tooltip to become visible can use it to hide the previous tooltip immediately.\n */\n visibleTooltip?: {\n hide: () => void;\n };\n};\n\n/**\n * @internal\n * Context shared by all of the tooltips in the app\n */\nconst TooltipVisibilityContext = React.createContext<TooltipVisibilityContextValue | undefined>(\n undefined,\n) as React.Context<TooltipVisibilityContextValue>;\n\nconst tooltipVisibilityContextDefaultValue: TooltipVisibilityContextValue = {};\n\n/**\n * @internal\n */\nexport const TooltipVisibilityProvider = TooltipVisibilityContext.Provider;\n\nexport function useTooltipVisibility(): TooltipVisibilityContextValue {\n return React.useContext(TooltipVisibilityContext) ?? tooltipVisibilityContextDefaultValue;\n}\n"],"names":["TooltipVisibilityProvider","useTooltipVisibility","TooltipVisibilityContext","React","createContext","undefined","tooltipVisibilityContextDefaultValue","Provider","useContext"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IA4BaA,yBAAAA;eAAAA;;IAEGC,oBAAAA;eAAAA;;;;iEA9BO;AAevB;;;CAGC,GACD,MAAMC,yCAA2BC,OAAMC,aAAa,CAClDC;AAGF,MAAMC,uCAAsE,CAAC;AAKtE,MAAMN,4BAA4BE,yBAAyBK,QAAQ;AAEnE,SAASN;QACPE;IAAP,OAAOA,CAAAA,oBAAAA,OAAMK,UAAU,CAACN,yBAAAA,MAAAA,QAAjBC,sBAAAA,KAAAA,IAAAA,oBAA8CG;AACvD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export * from './TooltipContext';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["TooltipVisibilityContext.
|
1
|
+
{"version":3,"sources":["TooltipVisibilityContext.ts"],"sourcesContent":["export * from './TooltipVisibilityContext/index';\n"],"names":[],"rangeMappings":";;;;;","mappings":";;;;;uBAAc"}
|
package/lib-commonjs/index.js
CHANGED
@@ -9,68 +9,68 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
-
|
13
|
-
return
|
12
|
+
AnnounceProvider: function() {
|
13
|
+
return _AnnounceContext.AnnounceProvider;
|
14
14
|
},
|
15
|
-
|
16
|
-
return
|
15
|
+
AnnounceProvider_unstable: function() {
|
16
|
+
return /** @deprecated Use AnnounceProvider instead. */ _AnnounceContext.AnnounceProvider;
|
17
17
|
},
|
18
|
-
|
19
|
-
return
|
18
|
+
BackgroundAppearanceProvider: function() {
|
19
|
+
return _BackgroundAppearanceContext.BackgroundAppearanceProvider;
|
20
20
|
},
|
21
|
-
|
22
|
-
return
|
21
|
+
CustomStyleHooksContext_unstable: function() {
|
22
|
+
return _CustomStyleHooksContext.CustomStyleHooksContext;
|
23
23
|
},
|
24
|
-
|
25
|
-
return
|
24
|
+
CustomStyleHooksProvider_unstable: function() {
|
25
|
+
return _CustomStyleHooksContext.CustomStyleHooksProvider;
|
26
26
|
},
|
27
|
-
|
28
|
-
return
|
27
|
+
OverridesProvider_unstable: function() {
|
28
|
+
return _OverridesContext.OverridesProvider;
|
29
|
+
},
|
30
|
+
PortalMountNodeProvider: function() {
|
31
|
+
return _PortalMountNodeContext.PortalMountNodeProvider;
|
29
32
|
},
|
30
33
|
Provider_unstable: function() {
|
31
34
|
return _ProviderContext.Provider;
|
32
35
|
},
|
33
|
-
|
34
|
-
return
|
35
|
-
},
|
36
|
-
OverridesProvider_unstable: function() {
|
37
|
-
return _OverridesContext.OverridesProvider;
|
36
|
+
ThemeClassNameProvider_unstable: function() {
|
37
|
+
return _ThemeClassNameContext.ThemeClassNameProvider;
|
38
38
|
},
|
39
|
-
|
40
|
-
return
|
39
|
+
ThemeContext_unstable: function() {
|
40
|
+
return _ThemeContext.ThemeContext;
|
41
41
|
},
|
42
|
-
|
43
|
-
return
|
42
|
+
ThemeProvider_unstable: function() {
|
43
|
+
return _ThemeContext.ThemeProvider;
|
44
44
|
},
|
45
|
-
|
46
|
-
return
|
45
|
+
TooltipVisibilityProvider_unstable: function() {
|
46
|
+
return _TooltipVisibilityContext.TooltipVisibilityProvider;
|
47
47
|
},
|
48
|
-
|
49
|
-
return
|
48
|
+
useAnnounce: function() {
|
49
|
+
return _AnnounceContext.useAnnounce;
|
50
50
|
},
|
51
|
-
|
52
|
-
return
|
51
|
+
useAnnounce_unstable: function() {
|
52
|
+
return /** @deprecated Use useAnnounce instead. */ _AnnounceContext.useAnnounce;
|
53
53
|
},
|
54
54
|
useBackgroundAppearance: function() {
|
55
55
|
return _BackgroundAppearanceContext.useBackgroundAppearance;
|
56
56
|
},
|
57
|
-
|
58
|
-
return
|
57
|
+
useCustomStyleHook_unstable: function() {
|
58
|
+
return _CustomStyleHooksContext.useCustomStyleHook;
|
59
59
|
},
|
60
|
-
|
61
|
-
return
|
60
|
+
useFluent_unstable: function() {
|
61
|
+
return _ProviderContext.useFluent;
|
62
62
|
},
|
63
|
-
|
64
|
-
return
|
63
|
+
useOverrides_unstable: function() {
|
64
|
+
return _OverridesContext.useOverrides;
|
65
65
|
},
|
66
|
-
|
67
|
-
return
|
66
|
+
usePortalMountNode: function() {
|
67
|
+
return _PortalMountNodeContext.usePortalMountNode;
|
68
68
|
},
|
69
|
-
|
70
|
-
return
|
69
|
+
useThemeClassName_unstable: function() {
|
70
|
+
return _ThemeClassNameContext.useThemeClassName;
|
71
71
|
},
|
72
|
-
|
73
|
-
return
|
72
|
+
useTooltipVisibility_unstable: function() {
|
73
|
+
return _TooltipVisibilityContext.useTooltipVisibility;
|
74
74
|
}
|
75
75
|
});
|
76
76
|
const _ThemeContext = require("./ThemeContext");
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["index.
|
1
|
+
{"version":3,"sources":["index.ts"],"sourcesContent":["export { ThemeContext as ThemeContext_unstable, ThemeProvider as ThemeProvider_unstable } from './ThemeContext';\nexport type { ThemeContextValue as ThemeContextValue_unstable } from './ThemeContext';\n\nexport {\n ThemeClassNameProvider as ThemeClassNameProvider_unstable,\n useThemeClassName as useThemeClassName_unstable,\n} from './ThemeClassNameContext';\nexport type { ThemeClassNameContextValue as ThemeClassNameContextValue_unstable } from './ThemeClassNameContext';\n\nexport {\n TooltipVisibilityProvider as TooltipVisibilityProvider_unstable,\n useTooltipVisibility as useTooltipVisibility_unstable,\n} from './TooltipVisibilityContext';\nexport type { TooltipVisibilityContextValue as TooltipVisibilityContextValue_unstable } from './TooltipVisibilityContext';\n\nexport { Provider as Provider_unstable, useFluent as useFluent_unstable } from './ProviderContext';\nexport type { ProviderContextValue as ProviderContextValue_unstable } from './ProviderContext';\n\nexport {\n OverridesProvider as OverridesProvider_unstable,\n useOverrides as useOverrides_unstable,\n} from './OverridesContext';\nexport type { OverridesContextValue as OverridesContextValue_unstable } from './OverridesContext';\n\nexport {\n CustomStyleHooksContext as CustomStyleHooksContext_unstable,\n CustomStyleHooksProvider as CustomStyleHooksProvider_unstable,\n useCustomStyleHook as useCustomStyleHook_unstable,\n} from './CustomStyleHooksContext';\nexport type { CustomStyleHooksContextValue as CustomStyleHooksContextValue_unstable } from './CustomStyleHooksContext';\n\nexport { BackgroundAppearanceProvider, useBackgroundAppearance } from './BackgroundAppearanceContext';\nexport type { BackgroundAppearanceContextValue } from './BackgroundAppearanceContext';\n\nexport { PortalMountNodeProvider, usePortalMountNode } from './PortalMountNodeContext';\n\nexport {\n AnnounceProvider,\n /** @deprecated Use AnnounceProvider instead. */\n AnnounceProvider as AnnounceProvider_unstable,\n useAnnounce,\n /** @deprecated Use useAnnounce instead. */\n useAnnounce as useAnnounce_unstable,\n} from './AnnounceContext';\nexport type {\n AnnounceContextValue,\n /** @deprecated Use AnnounceContextValue instead. */\n AnnounceContextValue as AnnounceContextValue_unstable,\n AnnounceOptions,\n} from './AnnounceContext';\n"],"names":["AnnounceProvider","AnnounceProvider_unstable","BackgroundAppearanceProvider","CustomStyleHooksContext_unstable","CustomStyleHooksContext","CustomStyleHooksProvider_unstable","CustomStyleHooksProvider","OverridesProvider_unstable","OverridesProvider","PortalMountNodeProvider","Provider_unstable","Provider","ThemeClassNameProvider_unstable","ThemeClassNameProvider","ThemeContext_unstable","ThemeContext","ThemeProvider_unstable","ThemeProvider","TooltipVisibilityProvider_unstable","TooltipVisibilityProvider","useAnnounce","useAnnounce_unstable","useBackgroundAppearance","useCustomStyleHook_unstable","useCustomStyleHook","useFluent_unstable","useFluent","useOverrides_unstable","useOverrides","usePortalMountNode","useThemeClassName_unstable","useThemeClassName","useTooltipVisibility_unstable","useTooltipVisibility"],"rangeMappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","mappings":";;;;;;;;;;;IAqCEA,gBAAgB;eAAhBA,iCAAgB;;IAEIC,yBAAyB;eAD7C,8CAA8C,GAC9CD,iCAAAA;;IAROE,4BAA4B;eAA5BA,yDAA4B;;IANRC,gCAAgC;eAA3DC,gDAAAA;;IAC4BC,iCAAiC;eAA7DC,iDAAAA;;IAPqBC,0BAA0B;eAA/CC,mCAAAA;;IAeOC,uBAAuB;eAAvBA,+CAAuB;;IAnBXC,iBAAiB;eAA7BC,yBAAAA;;IAXmBC,+BAA+B;eAAzDC,6CAAAA;;IAJuBC,qBAAqB;eAArCC,0BAAAA;;IAAwDC,sBAAsB;eAAvCC,2BAAAA;;IAUjBC,kCAAkC;eAA/DC,mDAAAA;;IA8BAC,WAAW;eAAXA,4BAAW;;IAEIC,oBAAoB;eADnC,yCAAyC,GACzCD,4BAAAA;;IAXqCE,uBAAuB;eAAvBA,oDAAuB;;IAJtCC,2BAA2B;eAAjDC,2CAAAA;;IAZmDC,kBAAkB;eAA/BC,0BAAAA;;IAKtBC,qBAAqB;eAArCC,8BAAAA;;IAcgCC,kBAAkB;eAAlBA,0CAAkB;;IA7B7BC,0BAA0B;eAA/CC,wCAAAA;;IAMwBC,6BAA6B;eAArDC,8CAAAA;;;8BAX6F;uCAMxF;0CAMA;iCAGwE;kCAMxE;yCAOA;6CAG+D;wCAGV;iCASrD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-shared-contexts",
|
3
|
-
"version": "9.
|
3
|
+
"version": "9.20.0",
|
4
4
|
"description": "Fluent UI React Contexts shared by multiple components.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -18,10 +18,9 @@
|
|
18
18
|
"just": "just-scripts",
|
19
19
|
"lint": "just-scripts lint",
|
20
20
|
"test": "jest --passWithNoTests",
|
21
|
-
"type-check": "
|
21
|
+
"type-check": "just-scripts type-check",
|
22
22
|
"generate-api": "just-scripts generate-api",
|
23
|
-
"
|
24
|
-
"storybook": "start-storybook",
|
23
|
+
"storybook": "yarn --cwd ../stories storybook",
|
25
24
|
"start": "yarn storybook"
|
26
25
|
},
|
27
26
|
"devDependencies": {
|