@fluentui/react-switch 9.1.85 → 9.1.87
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 +148 -123
- package/lib/components/Switch/useSwitchStyles.styles.js +2 -0
- package/lib/components/Switch/useSwitchStyles.styles.js.map +1 -1
- package/lib-commonjs/components/Switch/useSwitchStyles.styles.js +1 -0
- package/lib-commonjs/components/Switch/useSwitchStyles.styles.js.map +1 -1
- package/package.json +10 -11
package/CHANGELOG.md
CHANGED
@@ -1,12 +1,37 @@
|
|
1
1
|
# Change Log - @fluentui/react-switch
|
2
2
|
|
3
|
-
This log was last generated on
|
3
|
+
This log was last generated on Mon, 01 Jul 2024 20:25:45 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
+
## [9.1.87](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.87)
|
8
|
+
|
9
|
+
Mon, 01 Jul 2024 20:25:45 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.86..@fluentui/react-switch_v9.1.87)
|
11
|
+
|
12
|
+
### Patches
|
13
|
+
|
14
|
+
- chore: Update react-icons package to ^2.0.245 ([PR #31802](https://github.com/microsoft/fluentui/pull/31802) by ololubek@microsoft.com)
|
15
|
+
- chore: add eslint react-compiler ([PR #31457](https://github.com/microsoft/fluentui/pull/31457) by seanmonahan@microsoft.com)
|
16
|
+
- Bump @fluentui/react-field to v9.1.69 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
17
|
+
- Bump @fluentui/react-jsx-runtime to v9.0.40 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
18
|
+
- Bump @fluentui/react-label to v9.1.72 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
19
|
+
- Bump @fluentui/react-tabster to v9.22.1 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
20
|
+
- Bump @fluentui/react-utilities to v9.18.11 ([PR #31861](https://github.com/microsoft/fluentui/pull/31861) by beachball)
|
21
|
+
|
22
|
+
## [9.1.86](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.86)
|
23
|
+
|
24
|
+
Mon, 17 Jun 2024 07:34:17 GMT
|
25
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.85..@fluentui/react-switch_v9.1.86)
|
26
|
+
|
27
|
+
### Patches
|
28
|
+
|
29
|
+
- Bump @fluentui/react-field to v9.1.68 ([commit](https://github.com/microsoft/fluentui/commit/9ae683c22f2e65d94422a571ad5d3f97d0a77234) by beachball)
|
30
|
+
- Bump @fluentui/react-tabster to v9.22.0 ([commit](https://github.com/microsoft/fluentui/commit/9ae683c22f2e65d94422a571ad5d3f97d0a77234) by beachball)
|
31
|
+
|
7
32
|
## [9.1.85](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.85)
|
8
33
|
|
9
|
-
Thu, 06 Jun 2024 15:
|
34
|
+
Thu, 06 Jun 2024 15:26:45 GMT
|
10
35
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.84..@fluentui/react-switch_v9.1.85)
|
11
36
|
|
12
37
|
### Patches
|
@@ -19,7 +44,7 @@ Thu, 06 Jun 2024 15:22:27 GMT
|
|
19
44
|
|
20
45
|
## [9.1.84](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.84)
|
21
46
|
|
22
|
-
Thu, 23 May 2024 08:02:48 GMT
|
47
|
+
Thu, 23 May 2024 08:02:48 GMT
|
23
48
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.83..@fluentui/react-switch_v9.1.84)
|
24
49
|
|
25
50
|
### Patches
|
@@ -29,7 +54,7 @@ Thu, 23 May 2024 08:02:48 GMT
|
|
29
54
|
|
30
55
|
## [9.1.83](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.83)
|
31
56
|
|
32
|
-
Mon, 20 May 2024 12:45:05 GMT
|
57
|
+
Mon, 20 May 2024 12:45:05 GMT
|
33
58
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.82..@fluentui/react-switch_v9.1.83)
|
34
59
|
|
35
60
|
### Patches
|
@@ -44,17 +69,17 @@ Mon, 20 May 2024 12:45:05 GMT
|
|
44
69
|
|
45
70
|
## [9.1.82](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.82)
|
46
71
|
|
47
|
-
Thu, 16 May 2024 09:25:18 GMT
|
72
|
+
Thu, 16 May 2024 09:25:18 GMT
|
48
73
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.81..@fluentui/react-switch_v9.1.82)
|
49
74
|
|
50
75
|
### Patches
|
51
76
|
|
52
|
-
-
|
77
|
+
- chore: Upgrade react-icons version to 2.0.239 to pick up provider export map fix. ([PR #31287](https://github.com/microsoft/fluentui/pull/31287) by ololubek@microsoft.com)
|
53
78
|
- Bump @fluentui/react-field to v9.1.65 ([PR #31390](https://github.com/microsoft/fluentui/pull/31390) by beachball)
|
54
79
|
|
55
80
|
## [9.1.81](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.81)
|
56
81
|
|
57
|
-
Thu, 09 May 2024 19:35:11 GMT
|
82
|
+
Thu, 09 May 2024 19:35:11 GMT
|
58
83
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.80..@fluentui/react-switch_v9.1.81)
|
59
84
|
|
60
85
|
### Patches
|
@@ -64,7 +89,7 @@ Thu, 09 May 2024 19:35:11 GMT
|
|
64
89
|
|
65
90
|
## [9.1.80](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.80)
|
66
91
|
|
67
|
-
Mon, 06 May 2024 12:55:01 GMT
|
92
|
+
Mon, 06 May 2024 12:55:01 GMT
|
68
93
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.79..@fluentui/react-switch_v9.1.80)
|
69
94
|
|
70
95
|
### Patches
|
@@ -79,18 +104,18 @@ Mon, 06 May 2024 12:55:01 GMT
|
|
79
104
|
|
80
105
|
## [9.1.79](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.79)
|
81
106
|
|
82
|
-
Thu, 02 May 2024 11:36:38 GMT
|
107
|
+
Thu, 02 May 2024 11:36:38 GMT
|
83
108
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.78..@fluentui/react-switch_v9.1.79)
|
84
109
|
|
85
110
|
### Patches
|
86
111
|
|
87
|
-
-
|
112
|
+
- chore: upgrade @fluentui/react-icons to 2.0.237. ([PR #31139](https://github.com/microsoft/fluentui/pull/31139) by ololubek@microsoft.com)
|
88
113
|
- Bump @fluentui/react-field to v9.1.63 ([PR #31231](https://github.com/microsoft/fluentui/pull/31231) by beachball)
|
89
114
|
- Bump @fluentui/react-tabster to v9.21.0 ([PR #31231](https://github.com/microsoft/fluentui/pull/31231) by beachball)
|
90
115
|
|
91
116
|
## [9.1.78](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.78)
|
92
117
|
|
93
|
-
Tue, 23 Apr 2024 08:17:49 GMT
|
118
|
+
Tue, 23 Apr 2024 08:17:49 GMT
|
94
119
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.77..@fluentui/react-switch_v9.1.78)
|
95
120
|
|
96
121
|
### Patches
|
@@ -104,7 +129,7 @@ Tue, 23 Apr 2024 08:17:49 GMT
|
|
104
129
|
|
105
130
|
## [9.1.77](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.77)
|
106
131
|
|
107
|
-
Wed, 17 Apr 2024 21:53:59 GMT
|
132
|
+
Wed, 17 Apr 2024 21:53:59 GMT
|
108
133
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.76..@fluentui/react-switch_v9.1.77)
|
109
134
|
|
110
135
|
### Patches
|
@@ -115,7 +140,7 @@ Wed, 17 Apr 2024 21:53:59 GMT
|
|
115
140
|
|
116
141
|
## [9.1.76](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.76)
|
117
142
|
|
118
|
-
Tue, 02 Apr 2024 09:48:01 GMT
|
143
|
+
Tue, 02 Apr 2024 09:48:01 GMT
|
119
144
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.75..@fluentui/react-switch_v9.1.76)
|
120
145
|
|
121
146
|
### Patches
|
@@ -129,7 +154,7 @@ Tue, 02 Apr 2024 09:48:01 GMT
|
|
129
154
|
|
130
155
|
## [9.1.75](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.75)
|
131
156
|
|
132
|
-
Mon, 25 Mar 2024 11:12:15 GMT
|
157
|
+
Mon, 25 Mar 2024 11:12:15 GMT
|
133
158
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.74..@fluentui/react-switch_v9.1.75)
|
134
159
|
|
135
160
|
### Patches
|
@@ -138,7 +163,7 @@ Mon, 25 Mar 2024 11:12:15 GMT
|
|
138
163
|
|
139
164
|
## [9.1.74](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.74)
|
140
165
|
|
141
|
-
Mon, 18 Mar 2024 19:50:46 GMT
|
166
|
+
Mon, 18 Mar 2024 19:50:46 GMT
|
142
167
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.73..@fluentui/react-switch_v9.1.74)
|
143
168
|
|
144
169
|
### Patches
|
@@ -153,7 +178,7 @@ Mon, 18 Mar 2024 19:50:46 GMT
|
|
153
178
|
|
154
179
|
## [9.1.73](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.73)
|
155
180
|
|
156
|
-
Fri, 15 Mar 2024 21:43:49 GMT
|
181
|
+
Fri, 15 Mar 2024 21:43:49 GMT
|
157
182
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.72..@fluentui/react-switch_v9.1.73)
|
158
183
|
|
159
184
|
### Patches
|
@@ -168,7 +193,7 @@ Fri, 15 Mar 2024 21:43:49 GMT
|
|
168
193
|
|
169
194
|
## [9.1.72](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.72)
|
170
195
|
|
171
|
-
Thu, 07 Mar 2024 19:33:27 GMT
|
196
|
+
Thu, 07 Mar 2024 19:33:27 GMT
|
172
197
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.71..@fluentui/react-switch_v9.1.72)
|
173
198
|
|
174
199
|
### Patches
|
@@ -183,7 +208,7 @@ Thu, 07 Mar 2024 19:33:27 GMT
|
|
183
208
|
|
184
209
|
## [9.1.71](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.71)
|
185
210
|
|
186
|
-
Wed, 28 Feb 2024 02:34:19 GMT
|
211
|
+
Wed, 28 Feb 2024 02:34:19 GMT
|
187
212
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.70..@fluentui/react-switch_v9.1.71)
|
188
213
|
|
189
214
|
### Patches
|
@@ -197,7 +222,7 @@ Wed, 28 Feb 2024 02:34:19 GMT
|
|
197
222
|
|
198
223
|
## [9.1.70](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.70)
|
199
224
|
|
200
|
-
Tue, 20 Feb 2024 14:22:25 GMT
|
225
|
+
Tue, 20 Feb 2024 14:22:25 GMT
|
201
226
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.69..@fluentui/react-switch_v9.1.70)
|
202
227
|
|
203
228
|
### Patches
|
@@ -210,7 +235,7 @@ Tue, 20 Feb 2024 14:22:25 GMT
|
|
210
235
|
|
211
236
|
## [9.1.69](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.69)
|
212
237
|
|
213
|
-
Tue, 06 Feb 2024 17:55:21 GMT
|
238
|
+
Tue, 06 Feb 2024 17:55:21 GMT
|
214
239
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.68..@fluentui/react-switch_v9.1.69)
|
215
240
|
|
216
241
|
### Patches
|
@@ -219,7 +244,7 @@ Tue, 06 Feb 2024 17:55:21 GMT
|
|
219
244
|
|
220
245
|
## [9.1.68](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.68)
|
221
246
|
|
222
|
-
Tue, 30 Jan 2024 23:16:54 GMT
|
247
|
+
Tue, 30 Jan 2024 23:16:54 GMT
|
223
248
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.67..@fluentui/react-switch_v9.1.68)
|
224
249
|
|
225
250
|
### Patches
|
@@ -232,7 +257,7 @@ Tue, 30 Jan 2024 23:16:54 GMT
|
|
232
257
|
|
233
258
|
## [9.1.67](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.67)
|
234
259
|
|
235
|
-
Mon, 29 Jan 2024 13:56:06 GMT
|
260
|
+
Mon, 29 Jan 2024 13:56:06 GMT
|
236
261
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.66..@fluentui/react-switch_v9.1.67)
|
237
262
|
|
238
263
|
### Patches
|
@@ -242,7 +267,7 @@ Mon, 29 Jan 2024 13:56:06 GMT
|
|
242
267
|
|
243
268
|
## [9.1.66](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.66)
|
244
269
|
|
245
|
-
Tue, 23 Jan 2024 15:11:00 GMT
|
270
|
+
Tue, 23 Jan 2024 15:11:00 GMT
|
246
271
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.65..@fluentui/react-switch_v9.1.66)
|
247
272
|
|
248
273
|
### Patches
|
@@ -255,7 +280,7 @@ Tue, 23 Jan 2024 15:11:00 GMT
|
|
255
280
|
|
256
281
|
## [9.1.65](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.65)
|
257
282
|
|
258
|
-
Thu, 18 Jan 2024 14:25:03 GMT
|
283
|
+
Thu, 18 Jan 2024 14:25:03 GMT
|
259
284
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.64..@fluentui/react-switch_v9.1.65)
|
260
285
|
|
261
286
|
### Patches
|
@@ -269,7 +294,7 @@ Thu, 18 Jan 2024 14:25:03 GMT
|
|
269
294
|
|
270
295
|
## [9.1.64](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.64)
|
271
296
|
|
272
|
-
Wed, 17 Jan 2024 16:18:50 GMT
|
297
|
+
Wed, 17 Jan 2024 16:18:50 GMT
|
273
298
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.63..@fluentui/react-switch_v9.1.64)
|
274
299
|
|
275
300
|
### Patches
|
@@ -282,7 +307,7 @@ Wed, 17 Jan 2024 16:18:50 GMT
|
|
282
307
|
|
283
308
|
## [9.1.63](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.63)
|
284
309
|
|
285
|
-
Tue, 16 Jan 2024 13:14:08 GMT
|
310
|
+
Tue, 16 Jan 2024 13:14:08 GMT
|
286
311
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.62..@fluentui/react-switch_v9.1.63)
|
287
312
|
|
288
313
|
### Patches
|
@@ -295,7 +320,7 @@ Tue, 16 Jan 2024 13:14:08 GMT
|
|
295
320
|
|
296
321
|
## [9.1.62](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.62)
|
297
322
|
|
298
|
-
Mon, 08 Jan 2024 16:24:25 GMT
|
323
|
+
Mon, 08 Jan 2024 16:24:25 GMT
|
299
324
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.61..@fluentui/react-switch_v9.1.62)
|
300
325
|
|
301
326
|
### Patches
|
@@ -309,7 +334,7 @@ Mon, 08 Jan 2024 16:24:25 GMT
|
|
309
334
|
|
310
335
|
## [9.1.61](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.61)
|
311
336
|
|
312
|
-
Wed, 03 Jan 2024 09:26:44 GMT
|
337
|
+
Wed, 03 Jan 2024 09:26:44 GMT
|
313
338
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.60..@fluentui/react-switch_v9.1.61)
|
314
339
|
|
315
340
|
### Patches
|
@@ -322,7 +347,7 @@ Wed, 03 Jan 2024 09:26:44 GMT
|
|
322
347
|
|
323
348
|
## [9.1.60](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.60)
|
324
349
|
|
325
|
-
Mon, 18 Dec 2023 14:40:46 GMT
|
350
|
+
Mon, 18 Dec 2023 14:40:46 GMT
|
326
351
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.59..@fluentui/react-switch_v9.1.60)
|
327
352
|
|
328
353
|
### Patches
|
@@ -336,7 +361,7 @@ Mon, 18 Dec 2023 14:40:46 GMT
|
|
336
361
|
|
337
362
|
## [9.1.59](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.59)
|
338
363
|
|
339
|
-
Thu, 14 Dec 2023 09:58:46 GMT
|
364
|
+
Thu, 14 Dec 2023 09:58:46 GMT
|
340
365
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.58..@fluentui/react-switch_v9.1.59)
|
341
366
|
|
342
367
|
### Patches
|
@@ -350,7 +375,7 @@ Thu, 14 Dec 2023 09:58:46 GMT
|
|
350
375
|
|
351
376
|
## [9.1.58](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.58)
|
352
377
|
|
353
|
-
Thu, 30 Nov 2023 13:42:08 GMT
|
378
|
+
Thu, 30 Nov 2023 13:42:08 GMT
|
354
379
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.57..@fluentui/react-switch_v9.1.58)
|
355
380
|
|
356
381
|
### Patches
|
@@ -362,7 +387,7 @@ Thu, 30 Nov 2023 13:42:08 GMT
|
|
362
387
|
|
363
388
|
## [9.1.57](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.57)
|
364
389
|
|
365
|
-
Mon, 20 Nov 2023 09:55:10 GMT
|
390
|
+
Mon, 20 Nov 2023 09:55:10 GMT
|
366
391
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.56..@fluentui/react-switch_v9.1.57)
|
367
392
|
|
368
393
|
### Patches
|
@@ -374,7 +399,7 @@ Mon, 20 Nov 2023 09:55:10 GMT
|
|
374
399
|
|
375
400
|
## [9.1.56](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.56)
|
376
401
|
|
377
|
-
Tue, 14 Nov 2023 17:51:27 GMT
|
402
|
+
Tue, 14 Nov 2023 17:51:27 GMT
|
378
403
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.55..@fluentui/react-switch_v9.1.56)
|
379
404
|
|
380
405
|
### Patches
|
@@ -383,7 +408,7 @@ Tue, 14 Nov 2023 17:51:27 GMT
|
|
383
408
|
|
384
409
|
## [9.1.55](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.55)
|
385
410
|
|
386
|
-
Thu, 09 Nov 2023 17:29:44 GMT
|
411
|
+
Thu, 09 Nov 2023 17:29:44 GMT
|
387
412
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.54..@fluentui/react-switch_v9.1.55)
|
388
413
|
|
389
414
|
### Patches
|
@@ -399,7 +424,7 @@ Thu, 09 Nov 2023 17:29:44 GMT
|
|
399
424
|
|
400
425
|
## [9.1.54](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.54)
|
401
426
|
|
402
|
-
Wed, 01 Nov 2023 12:55:59 GMT
|
427
|
+
Wed, 01 Nov 2023 12:55:59 GMT
|
403
428
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.53..@fluentui/react-switch_v9.1.54)
|
404
429
|
|
405
430
|
### Patches
|
@@ -412,7 +437,7 @@ Wed, 01 Nov 2023 12:55:59 GMT
|
|
412
437
|
|
413
438
|
## [9.1.53](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.53)
|
414
439
|
|
415
|
-
Sat, 28 Oct 2023 23:35:59 GMT
|
440
|
+
Sat, 28 Oct 2023 23:35:59 GMT
|
416
441
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.52..@fluentui/react-switch_v9.1.53)
|
417
442
|
|
418
443
|
### Patches
|
@@ -424,7 +449,7 @@ Sat, 28 Oct 2023 23:35:59 GMT
|
|
424
449
|
|
425
450
|
## [9.1.52](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.52)
|
426
451
|
|
427
|
-
Mon, 23 Oct 2023 09:51:57 GMT
|
452
|
+
Mon, 23 Oct 2023 09:51:57 GMT
|
428
453
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.51..@fluentui/react-switch_v9.1.52)
|
429
454
|
|
430
455
|
### Patches
|
@@ -433,7 +458,7 @@ Mon, 23 Oct 2023 09:51:57 GMT
|
|
433
458
|
|
434
459
|
## [9.1.51](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.51)
|
435
460
|
|
436
|
-
Wed, 18 Oct 2023 17:54:08 GMT
|
461
|
+
Wed, 18 Oct 2023 17:54:08 GMT
|
437
462
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.50..@fluentui/react-switch_v9.1.51)
|
438
463
|
|
439
464
|
### Patches
|
@@ -446,7 +471,7 @@ Wed, 18 Oct 2023 17:54:08 GMT
|
|
446
471
|
|
447
472
|
## [9.1.50](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.50)
|
448
473
|
|
449
|
-
Thu, 12 Oct 2023 14:55:44 GMT
|
474
|
+
Thu, 12 Oct 2023 14:55:44 GMT
|
450
475
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.49..@fluentui/react-switch_v9.1.50)
|
451
476
|
|
452
477
|
### Patches
|
@@ -457,7 +482,7 @@ Thu, 12 Oct 2023 14:55:44 GMT
|
|
457
482
|
|
458
483
|
## [9.1.49](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.49)
|
459
484
|
|
460
|
-
Wed, 11 Oct 2023 13:54:26 GMT
|
485
|
+
Wed, 11 Oct 2023 13:54:26 GMT
|
461
486
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.48..@fluentui/react-switch_v9.1.49)
|
462
487
|
|
463
488
|
### Patches
|
@@ -470,7 +495,7 @@ Wed, 11 Oct 2023 13:54:26 GMT
|
|
470
495
|
|
471
496
|
## [9.1.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.48)
|
472
497
|
|
473
|
-
Mon, 09 Oct 2023 20:45:44 GMT
|
498
|
+
Mon, 09 Oct 2023 20:45:44 GMT
|
474
499
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.47..@fluentui/react-switch_v9.1.48)
|
475
500
|
|
476
501
|
### Patches
|
@@ -484,7 +509,7 @@ Mon, 09 Oct 2023 20:45:44 GMT
|
|
484
509
|
|
485
510
|
## [9.1.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.47)
|
486
511
|
|
487
|
-
Thu, 05 Oct 2023 15:25:35 GMT
|
512
|
+
Thu, 05 Oct 2023 15:25:35 GMT
|
488
513
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.46..@fluentui/react-switch_v9.1.47)
|
489
514
|
|
490
515
|
### Patches
|
@@ -497,7 +522,7 @@ Thu, 05 Oct 2023 15:25:35 GMT
|
|
497
522
|
|
498
523
|
## [9.1.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.46)
|
499
524
|
|
500
|
-
Wed, 04 Oct 2023 08:45:47 GMT
|
525
|
+
Wed, 04 Oct 2023 08:45:47 GMT
|
501
526
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.45..@fluentui/react-switch_v9.1.46)
|
502
527
|
|
503
528
|
### Patches
|
@@ -510,7 +535,7 @@ Wed, 04 Oct 2023 08:45:47 GMT
|
|
510
535
|
|
511
536
|
## [9.1.45](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.45)
|
512
537
|
|
513
|
-
Mon, 02 Oct 2023 08:56:05 GMT
|
538
|
+
Mon, 02 Oct 2023 08:56:05 GMT
|
514
539
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.44..@fluentui/react-switch_v9.1.45)
|
515
540
|
|
516
541
|
### Patches
|
@@ -522,7 +547,7 @@ Mon, 02 Oct 2023 08:56:05 GMT
|
|
522
547
|
|
523
548
|
## [9.1.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.44)
|
524
549
|
|
525
|
-
Tue, 26 Sep 2023 17:49:12 GMT
|
550
|
+
Tue, 26 Sep 2023 17:49:12 GMT
|
526
551
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.43..@fluentui/react-switch_v9.1.44)
|
527
552
|
|
528
553
|
### Patches
|
@@ -538,7 +563,7 @@ Tue, 26 Sep 2023 17:49:12 GMT
|
|
538
563
|
|
539
564
|
## [9.1.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.43)
|
540
565
|
|
541
|
-
Tue, 26 Sep 2023 15:31:48 GMT
|
566
|
+
Tue, 26 Sep 2023 15:31:48 GMT
|
542
567
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.42..@fluentui/react-switch_v9.1.43)
|
543
568
|
|
544
569
|
### Patches
|
@@ -555,7 +580,7 @@ Tue, 26 Sep 2023 15:31:48 GMT
|
|
555
580
|
|
556
581
|
## [9.1.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.42)
|
557
582
|
|
558
|
-
Wed, 20 Sep 2023 17:47:43 GMT
|
583
|
+
Wed, 20 Sep 2023 17:47:43 GMT
|
559
584
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.41..@fluentui/react-switch_v9.1.42)
|
560
585
|
|
561
586
|
### Patches
|
@@ -569,7 +594,7 @@ Wed, 20 Sep 2023 17:47:43 GMT
|
|
569
594
|
|
570
595
|
## [9.1.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.41)
|
571
596
|
|
572
|
-
Wed, 20 Sep 2023 14:59:53 GMT
|
597
|
+
Wed, 20 Sep 2023 14:59:53 GMT
|
573
598
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.40..@fluentui/react-switch_v9.1.41)
|
574
599
|
|
575
600
|
### Patches
|
@@ -582,7 +607,7 @@ Wed, 20 Sep 2023 14:59:53 GMT
|
|
582
607
|
|
583
608
|
## [9.1.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.40)
|
584
609
|
|
585
|
-
Thu, 14 Sep 2023 16:44:47 GMT
|
610
|
+
Thu, 14 Sep 2023 16:44:47 GMT
|
586
611
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.39..@fluentui/react-switch_v9.1.40)
|
587
612
|
|
588
613
|
### Patches
|
@@ -593,7 +618,7 @@ Thu, 14 Sep 2023 16:44:47 GMT
|
|
593
618
|
|
594
619
|
## [9.1.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.39)
|
595
620
|
|
596
|
-
Tue, 12 Sep 2023 08:51:34 GMT
|
621
|
+
Tue, 12 Sep 2023 08:51:34 GMT
|
597
622
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.38..@fluentui/react-switch_v9.1.39)
|
598
623
|
|
599
624
|
### Patches
|
@@ -605,7 +630,7 @@ Tue, 12 Sep 2023 08:51:34 GMT
|
|
605
630
|
|
606
631
|
## [9.1.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.38)
|
607
632
|
|
608
|
-
Wed, 06 Sep 2023 13:31:31 GMT
|
633
|
+
Wed, 06 Sep 2023 13:31:31 GMT
|
609
634
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.37..@fluentui/react-switch_v9.1.38)
|
610
635
|
|
611
636
|
### Patches
|
@@ -618,7 +643,7 @@ Wed, 06 Sep 2023 13:31:31 GMT
|
|
618
643
|
|
619
644
|
## [9.1.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.37)
|
620
645
|
|
621
|
-
Tue, 05 Sep 2023 15:39:04 GMT
|
646
|
+
Tue, 05 Sep 2023 15:39:04 GMT
|
622
647
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.36..@fluentui/react-switch_v9.1.37)
|
623
648
|
|
624
649
|
### Patches
|
@@ -631,7 +656,7 @@ Tue, 05 Sep 2023 15:39:04 GMT
|
|
631
656
|
|
632
657
|
## [9.1.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.36)
|
633
658
|
|
634
|
-
Tue, 05 Sep 2023 13:29:05 GMT
|
659
|
+
Tue, 05 Sep 2023 13:29:05 GMT
|
635
660
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.35..@fluentui/react-switch_v9.1.36)
|
636
661
|
|
637
662
|
### Patches
|
@@ -648,7 +673,7 @@ Tue, 05 Sep 2023 13:29:05 GMT
|
|
648
673
|
|
649
674
|
## [9.1.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.35)
|
650
675
|
|
651
|
-
Tue, 29 Aug 2023 12:57:36 GMT
|
676
|
+
Tue, 29 Aug 2023 12:57:36 GMT
|
652
677
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.34..@fluentui/react-switch_v9.1.35)
|
653
678
|
|
654
679
|
### Patches
|
@@ -661,7 +686,7 @@ Tue, 29 Aug 2023 12:57:36 GMT
|
|
661
686
|
|
662
687
|
## [9.1.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.34)
|
663
688
|
|
664
|
-
Thu, 24 Aug 2023 10:26:35 GMT
|
689
|
+
Thu, 24 Aug 2023 10:26:35 GMT
|
665
690
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.33..@fluentui/react-switch_v9.1.34)
|
666
691
|
|
667
692
|
### Patches
|
@@ -674,7 +699,7 @@ Thu, 24 Aug 2023 10:26:35 GMT
|
|
674
699
|
|
675
700
|
## [9.1.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.33)
|
676
701
|
|
677
|
-
Wed, 23 Aug 2023 12:01:49 GMT
|
702
|
+
Wed, 23 Aug 2023 12:01:49 GMT
|
678
703
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.32..@fluentui/react-switch_v9.1.33)
|
679
704
|
|
680
705
|
### Patches
|
@@ -687,7 +712,7 @@ Wed, 23 Aug 2023 12:01:49 GMT
|
|
687
712
|
|
688
713
|
## [9.1.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.32)
|
689
714
|
|
690
|
-
Wed, 16 Aug 2023 17:41:08 GMT
|
715
|
+
Wed, 16 Aug 2023 17:41:08 GMT
|
691
716
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.31..@fluentui/react-switch_v9.1.32)
|
692
717
|
|
693
718
|
### Patches
|
@@ -698,7 +723,7 @@ Wed, 16 Aug 2023 17:41:08 GMT
|
|
698
723
|
|
699
724
|
## [9.1.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.31)
|
700
725
|
|
701
|
-
Wed, 16 Aug 2023 11:38:33 GMT
|
726
|
+
Wed, 16 Aug 2023 11:38:33 GMT
|
702
727
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.30..@fluentui/react-switch_v9.1.31)
|
703
728
|
|
704
729
|
### Patches
|
@@ -709,7 +734,7 @@ Wed, 16 Aug 2023 11:38:33 GMT
|
|
709
734
|
|
710
735
|
## [9.1.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.30)
|
711
736
|
|
712
|
-
Fri, 11 Aug 2023 12:14:26 GMT
|
737
|
+
Fri, 11 Aug 2023 12:14:26 GMT
|
713
738
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.29..@fluentui/react-switch_v9.1.30)
|
714
739
|
|
715
740
|
### Patches
|
@@ -722,7 +747,7 @@ Fri, 11 Aug 2023 12:14:26 GMT
|
|
722
747
|
|
723
748
|
## [9.1.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.29)
|
724
749
|
|
725
|
-
Wed, 09 Aug 2023 13:17:05 GMT
|
750
|
+
Wed, 09 Aug 2023 13:17:05 GMT
|
726
751
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.28..@fluentui/react-switch_v9.1.29)
|
727
752
|
|
728
753
|
### Patches
|
@@ -738,7 +763,7 @@ Wed, 09 Aug 2023 13:17:05 GMT
|
|
738
763
|
|
739
764
|
## [9.1.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.28)
|
740
765
|
|
741
|
-
Fri, 04 Aug 2023 08:52:58 GMT
|
766
|
+
Fri, 04 Aug 2023 08:52:58 GMT
|
742
767
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.27..@fluentui/react-switch_v9.1.28)
|
743
768
|
|
744
769
|
### Patches
|
@@ -753,7 +778,7 @@ Fri, 04 Aug 2023 08:52:58 GMT
|
|
753
778
|
|
754
779
|
## [9.1.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.27)
|
755
780
|
|
756
|
-
Tue, 01 Aug 2023 10:17:21 GMT
|
781
|
+
Tue, 01 Aug 2023 10:17:21 GMT
|
757
782
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.26..@fluentui/react-switch_v9.1.27)
|
758
783
|
|
759
784
|
### Patches
|
@@ -765,7 +790,7 @@ Tue, 01 Aug 2023 10:17:21 GMT
|
|
765
790
|
|
766
791
|
## [9.1.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.26)
|
767
792
|
|
768
|
-
Tue, 25 Jul 2023 13:29:21 GMT
|
793
|
+
Tue, 25 Jul 2023 13:29:21 GMT
|
769
794
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.25..@fluentui/react-switch_v9.1.26)
|
770
795
|
|
771
796
|
### Patches
|
@@ -776,7 +801,7 @@ Tue, 25 Jul 2023 13:29:21 GMT
|
|
776
801
|
|
777
802
|
## [9.1.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.25)
|
778
803
|
|
779
|
-
Thu, 20 Jul 2023 18:27:34 GMT
|
804
|
+
Thu, 20 Jul 2023 18:27:34 GMT
|
780
805
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.24..@fluentui/react-switch_v9.1.25)
|
781
806
|
|
782
807
|
### Patches
|
@@ -787,7 +812,7 @@ Thu, 20 Jul 2023 18:27:34 GMT
|
|
787
812
|
|
788
813
|
## [9.1.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.24)
|
789
814
|
|
790
|
-
Tue, 11 Jul 2023 18:46:36 GMT
|
815
|
+
Tue, 11 Jul 2023 18:46:36 GMT
|
791
816
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.23..@fluentui/react-switch_v9.1.24)
|
792
817
|
|
793
818
|
### Patches
|
@@ -799,7 +824,7 @@ Tue, 11 Jul 2023 18:46:36 GMT
|
|
799
824
|
|
800
825
|
## [9.1.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.23)
|
801
826
|
|
802
|
-
Mon, 03 Jul 2023 13:34:28 GMT
|
827
|
+
Mon, 03 Jul 2023 13:34:28 GMT
|
803
828
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.22..@fluentui/react-switch_v9.1.23)
|
804
829
|
|
805
830
|
### Patches
|
@@ -808,7 +833,7 @@ Mon, 03 Jul 2023 13:34:28 GMT
|
|
808
833
|
|
809
834
|
## [9.1.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.22)
|
810
835
|
|
811
|
-
Mon, 03 Jul 2023 11:57:14 GMT
|
836
|
+
Mon, 03 Jul 2023 11:57:14 GMT
|
812
837
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.21..@fluentui/react-switch_v9.1.22)
|
813
838
|
|
814
839
|
### Patches
|
@@ -822,7 +847,7 @@ Mon, 03 Jul 2023 11:57:14 GMT
|
|
822
847
|
|
823
848
|
## [9.1.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.21)
|
824
849
|
|
825
|
-
Wed, 28 Jun 2023 11:12:32 GMT
|
850
|
+
Wed, 28 Jun 2023 11:12:32 GMT
|
826
851
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.20..@fluentui/react-switch_v9.1.21)
|
827
852
|
|
828
853
|
### Patches
|
@@ -835,7 +860,7 @@ Wed, 28 Jun 2023 11:12:32 GMT
|
|
835
860
|
|
836
861
|
## [9.1.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.20)
|
837
862
|
|
838
|
-
Tue, 27 Jun 2023 11:21:23 GMT
|
863
|
+
Tue, 27 Jun 2023 11:21:23 GMT
|
839
864
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.19..@fluentui/react-switch_v9.1.20)
|
840
865
|
|
841
866
|
### Patches
|
@@ -844,7 +869,7 @@ Tue, 27 Jun 2023 11:21:23 GMT
|
|
844
869
|
|
845
870
|
## [9.1.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.19)
|
846
871
|
|
847
|
-
Mon, 26 Jun 2023 09:53:55 GMT
|
872
|
+
Mon, 26 Jun 2023 09:53:55 GMT
|
848
873
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.18..@fluentui/react-switch_v9.1.19)
|
849
874
|
|
850
875
|
### Patches
|
@@ -857,7 +882,7 @@ Mon, 26 Jun 2023 09:53:55 GMT
|
|
857
882
|
|
858
883
|
## [9.1.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.18)
|
859
884
|
|
860
|
-
Tue, 20 Jun 2023 12:39:03 GMT
|
885
|
+
Tue, 20 Jun 2023 12:39:03 GMT
|
861
886
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.17..@fluentui/react-switch_v9.1.18)
|
862
887
|
|
863
888
|
### Patches
|
@@ -874,7 +899,7 @@ Tue, 20 Jun 2023 12:39:03 GMT
|
|
874
899
|
|
875
900
|
## [9.1.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.17)
|
876
901
|
|
877
|
-
Wed, 31 May 2023 06:46:19 GMT
|
902
|
+
Wed, 31 May 2023 06:46:19 GMT
|
878
903
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.16..@fluentui/react-switch_v9.1.17)
|
879
904
|
|
880
905
|
### Patches
|
@@ -889,7 +914,7 @@ Wed, 31 May 2023 06:46:19 GMT
|
|
889
914
|
|
890
915
|
## [9.1.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.16)
|
891
916
|
|
892
|
-
Thu, 25 May 2023 10:00:48 GMT
|
917
|
+
Thu, 25 May 2023 10:00:48 GMT
|
893
918
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.15..@fluentui/react-switch_v9.1.16)
|
894
919
|
|
895
920
|
### Patches
|
@@ -902,7 +927,7 @@ Thu, 25 May 2023 10:00:48 GMT
|
|
902
927
|
|
903
928
|
## [9.1.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.15)
|
904
929
|
|
905
|
-
Wed, 24 May 2023 20:45:34 GMT
|
930
|
+
Wed, 24 May 2023 20:45:34 GMT
|
906
931
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.14..@fluentui/react-switch_v9.1.15)
|
907
932
|
|
908
933
|
### Patches
|
@@ -914,7 +939,7 @@ Wed, 24 May 2023 20:45:34 GMT
|
|
914
939
|
|
915
940
|
## [9.1.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.14)
|
916
941
|
|
917
|
-
Thu, 18 May 2023 13:11:08 GMT
|
942
|
+
Thu, 18 May 2023 13:11:08 GMT
|
918
943
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.13..@fluentui/react-switch_v9.1.14)
|
919
944
|
|
920
945
|
### Patches
|
@@ -923,7 +948,7 @@ Thu, 18 May 2023 13:11:08 GMT
|
|
923
948
|
|
924
949
|
## [9.1.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.13)
|
925
950
|
|
926
|
-
Thu, 18 May 2023 00:39:15 GMT
|
951
|
+
Thu, 18 May 2023 00:39:15 GMT
|
927
952
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.12..@fluentui/react-switch_v9.1.13)
|
928
953
|
|
929
954
|
### Patches
|
@@ -936,7 +961,7 @@ Thu, 18 May 2023 00:39:15 GMT
|
|
936
961
|
|
937
962
|
## [9.1.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.12)
|
938
963
|
|
939
|
-
Fri, 12 May 2023 20:27:48 GMT
|
964
|
+
Fri, 12 May 2023 20:27:48 GMT
|
940
965
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.11..@fluentui/react-switch_v9.1.12)
|
941
966
|
|
942
967
|
### Patches
|
@@ -955,7 +980,7 @@ Fri, 12 May 2023 20:27:48 GMT
|
|
955
980
|
|
956
981
|
## [9.1.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.11)
|
957
982
|
|
958
|
-
Mon, 24 Apr 2023 08:12:42 GMT
|
983
|
+
Mon, 24 Apr 2023 08:12:42 GMT
|
959
984
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.10..@fluentui/react-switch_v9.1.11)
|
960
985
|
|
961
986
|
### Patches
|
@@ -967,7 +992,7 @@ Mon, 24 Apr 2023 08:12:42 GMT
|
|
967
992
|
|
968
993
|
## [9.1.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.10)
|
969
994
|
|
970
|
-
Mon, 17 Apr 2023 17:53:58 GMT
|
995
|
+
Mon, 17 Apr 2023 17:53:58 GMT
|
971
996
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.9..@fluentui/react-switch_v9.1.10)
|
972
997
|
|
973
998
|
### Patches
|
@@ -981,7 +1006,7 @@ Mon, 17 Apr 2023 17:53:58 GMT
|
|
981
1006
|
|
982
1007
|
## [9.1.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.9)
|
983
1008
|
|
984
|
-
Wed, 12 Apr 2023 09:31:45 GMT
|
1009
|
+
Wed, 12 Apr 2023 09:31:45 GMT
|
985
1010
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.8..@fluentui/react-switch_v9.1.9)
|
986
1011
|
|
987
1012
|
### Patches
|
@@ -993,7 +1018,7 @@ Wed, 12 Apr 2023 09:31:45 GMT
|
|
993
1018
|
|
994
1019
|
## [9.1.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.8)
|
995
1020
|
|
996
|
-
Fri, 07 Apr 2023 00:01:44 GMT
|
1021
|
+
Fri, 07 Apr 2023 00:01:44 GMT
|
997
1022
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.7..@fluentui/react-switch_v9.1.8)
|
998
1023
|
|
999
1024
|
### Patches
|
@@ -1004,7 +1029,7 @@ Fri, 07 Apr 2023 00:01:44 GMT
|
|
1004
1029
|
|
1005
1030
|
## [9.1.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.7)
|
1006
1031
|
|
1007
|
-
Tue, 04 Apr 2023 18:44:50 GMT
|
1032
|
+
Tue, 04 Apr 2023 18:44:50 GMT
|
1008
1033
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.5..@fluentui/react-switch_v9.1.7)
|
1009
1034
|
|
1010
1035
|
### Patches
|
@@ -1016,7 +1041,7 @@ Tue, 04 Apr 2023 18:44:50 GMT
|
|
1016
1041
|
|
1017
1042
|
## [9.1.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.5)
|
1018
1043
|
|
1019
|
-
Tue, 21 Mar 2023 21:23:05 GMT
|
1044
|
+
Tue, 21 Mar 2023 21:23:05 GMT
|
1020
1045
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.4..@fluentui/react-switch_v9.1.5)
|
1021
1046
|
|
1022
1047
|
### Patches
|
@@ -1035,7 +1060,7 @@ Tue, 21 Mar 2023 21:23:05 GMT
|
|
1035
1060
|
|
1036
1061
|
## [9.1.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.4)
|
1037
1062
|
|
1038
|
-
Thu, 16 Mar 2023 14:36:59 GMT
|
1063
|
+
Thu, 16 Mar 2023 14:36:59 GMT
|
1039
1064
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.3..@fluentui/react-switch_v9.1.4)
|
1040
1065
|
|
1041
1066
|
### Patches
|
@@ -1047,7 +1072,7 @@ Thu, 16 Mar 2023 14:36:59 GMT
|
|
1047
1072
|
|
1048
1073
|
## [9.1.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.3)
|
1049
1074
|
|
1050
|
-
Wed, 15 Mar 2023 10:19:53 GMT
|
1075
|
+
Wed, 15 Mar 2023 10:19:53 GMT
|
1051
1076
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.2..@fluentui/react-switch_v9.1.3)
|
1052
1077
|
|
1053
1078
|
### Patches
|
@@ -1060,7 +1085,7 @@ Wed, 15 Mar 2023 10:19:53 GMT
|
|
1060
1085
|
|
1061
1086
|
## [9.1.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.2)
|
1062
1087
|
|
1063
|
-
Mon, 13 Mar 2023 08:58:26 GMT
|
1088
|
+
Mon, 13 Mar 2023 08:58:26 GMT
|
1064
1089
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.1..@fluentui/react-switch_v9.1.2)
|
1065
1090
|
|
1066
1091
|
### Patches
|
@@ -1072,7 +1097,7 @@ Mon, 13 Mar 2023 08:58:26 GMT
|
|
1072
1097
|
|
1073
1098
|
## [9.1.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.1)
|
1074
1099
|
|
1075
|
-
Fri, 10 Mar 2023 07:14:01 GMT
|
1100
|
+
Fri, 10 Mar 2023 07:14:01 GMT
|
1076
1101
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.1.0..@fluentui/react-switch_v9.1.1)
|
1077
1102
|
|
1078
1103
|
### Patches
|
@@ -1084,7 +1109,7 @@ Fri, 10 Mar 2023 07:14:01 GMT
|
|
1084
1109
|
|
1085
1110
|
## [9.1.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.1.0)
|
1086
1111
|
|
1087
|
-
Wed, 08 Mar 2023 17:42:44 GMT
|
1112
|
+
Wed, 08 Mar 2023 17:42:44 GMT
|
1088
1113
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.26..@fluentui/react-switch_v9.1.0)
|
1089
1114
|
|
1090
1115
|
### Minor changes
|
@@ -1098,7 +1123,7 @@ Wed, 08 Mar 2023 17:42:44 GMT
|
|
1098
1123
|
|
1099
1124
|
## [9.0.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.26)
|
1100
1125
|
|
1101
|
-
Wed, 15 Feb 2023 11:44:52 GMT
|
1126
|
+
Wed, 15 Feb 2023 11:44:52 GMT
|
1102
1127
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.25..@fluentui/react-switch_v9.0.26)
|
1103
1128
|
|
1104
1129
|
### Patches
|
@@ -1110,7 +1135,7 @@ Wed, 15 Feb 2023 11:44:52 GMT
|
|
1110
1135
|
|
1111
1136
|
## [9.0.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.25)
|
1112
1137
|
|
1113
|
-
Mon, 13 Feb 2023 23:43:14 GMT
|
1138
|
+
Mon, 13 Feb 2023 23:43:14 GMT
|
1114
1139
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.24..@fluentui/react-switch_v9.0.25)
|
1115
1140
|
|
1116
1141
|
### Patches
|
@@ -1122,7 +1147,7 @@ Mon, 13 Feb 2023 23:43:14 GMT
|
|
1122
1147
|
|
1123
1148
|
## [9.0.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.24)
|
1124
1149
|
|
1125
|
-
Fri, 10 Feb 2023 08:50:02 GMT
|
1150
|
+
Fri, 10 Feb 2023 08:50:02 GMT
|
1126
1151
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.23..@fluentui/react-switch_v9.0.24)
|
1127
1152
|
|
1128
1153
|
### Patches
|
@@ -1134,7 +1159,7 @@ Fri, 10 Feb 2023 08:50:02 GMT
|
|
1134
1159
|
|
1135
1160
|
## [9.0.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.23)
|
1136
1161
|
|
1137
|
-
Tue, 07 Feb 2023 14:13:10 GMT
|
1162
|
+
Tue, 07 Feb 2023 14:13:10 GMT
|
1138
1163
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.22..@fluentui/react-switch_v9.0.23)
|
1139
1164
|
|
1140
1165
|
### Patches
|
@@ -1143,7 +1168,7 @@ Tue, 07 Feb 2023 14:13:10 GMT
|
|
1143
1168
|
|
1144
1169
|
## [9.0.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.22)
|
1145
1170
|
|
1146
|
-
Tue, 31 Jan 2023 19:53:58 GMT
|
1171
|
+
Tue, 31 Jan 2023 19:53:58 GMT
|
1147
1172
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.21..@fluentui/react-switch_v9.0.22)
|
1148
1173
|
|
1149
1174
|
### Patches
|
@@ -1155,7 +1180,7 @@ Tue, 31 Jan 2023 19:53:58 GMT
|
|
1155
1180
|
|
1156
1181
|
## [9.0.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.21)
|
1157
1182
|
|
1158
|
-
Thu, 26 Jan 2023 13:31:01 GMT
|
1183
|
+
Thu, 26 Jan 2023 13:31:01 GMT
|
1159
1184
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.20..@fluentui/react-switch_v9.0.21)
|
1160
1185
|
|
1161
1186
|
### Patches
|
@@ -1168,7 +1193,7 @@ Thu, 26 Jan 2023 13:31:01 GMT
|
|
1168
1193
|
|
1169
1194
|
## [9.0.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.20)
|
1170
1195
|
|
1171
|
-
Mon, 23 Jan 2023 16:43:12 GMT
|
1196
|
+
Mon, 23 Jan 2023 16:43:12 GMT
|
1172
1197
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.19..@fluentui/react-switch_v9.0.20)
|
1173
1198
|
|
1174
1199
|
### Patches
|
@@ -1177,7 +1202,7 @@ Mon, 23 Jan 2023 16:43:12 GMT
|
|
1177
1202
|
|
1178
1203
|
## [9.0.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.19)
|
1179
1204
|
|
1180
|
-
Wed, 18 Jan 2023 16:32:57 GMT
|
1205
|
+
Wed, 18 Jan 2023 16:32:57 GMT
|
1181
1206
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.18..@fluentui/react-switch_v9.0.19)
|
1182
1207
|
|
1183
1208
|
### Patches
|
@@ -1186,7 +1211,7 @@ Wed, 18 Jan 2023 16:32:57 GMT
|
|
1186
1211
|
|
1187
1212
|
## [9.0.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.18)
|
1188
1213
|
|
1189
|
-
Mon, 16 Jan 2023 08:38:47 GMT
|
1214
|
+
Mon, 16 Jan 2023 08:38:47 GMT
|
1190
1215
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.17..@fluentui/react-switch_v9.0.18)
|
1191
1216
|
|
1192
1217
|
### Patches
|
@@ -1198,7 +1223,7 @@ Mon, 16 Jan 2023 08:38:47 GMT
|
|
1198
1223
|
|
1199
1224
|
## [9.0.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.17)
|
1200
1225
|
|
1201
|
-
Mon, 09 Jan 2023 14:35:02 GMT
|
1226
|
+
Mon, 09 Jan 2023 14:35:02 GMT
|
1202
1227
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.16..@fluentui/react-switch_v9.0.17)
|
1203
1228
|
|
1204
1229
|
### Patches
|
@@ -1210,7 +1235,7 @@ Mon, 09 Jan 2023 14:35:02 GMT
|
|
1210
1235
|
|
1211
1236
|
## [9.0.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.16)
|
1212
1237
|
|
1213
|
-
Wed, 04 Jan 2023 01:40:31 GMT
|
1238
|
+
Wed, 04 Jan 2023 01:40:31 GMT
|
1214
1239
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.15..@fluentui/react-switch_v9.0.16)
|
1215
1240
|
|
1216
1241
|
### Patches
|
@@ -1224,7 +1249,7 @@ Wed, 04 Jan 2023 01:40:31 GMT
|
|
1224
1249
|
|
1225
1250
|
## [9.0.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.15)
|
1226
1251
|
|
1227
|
-
Wed, 21 Dec 2022 10:20:32 GMT
|
1252
|
+
Wed, 21 Dec 2022 10:20:32 GMT
|
1228
1253
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.14..@fluentui/react-switch_v9.0.15)
|
1229
1254
|
|
1230
1255
|
### Patches
|
@@ -1236,7 +1261,7 @@ Wed, 21 Dec 2022 10:20:32 GMT
|
|
1236
1261
|
|
1237
1262
|
## [9.0.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.14)
|
1238
1263
|
|
1239
|
-
Tue, 20 Dec 2022 14:59:34 GMT
|
1264
|
+
Tue, 20 Dec 2022 14:59:34 GMT
|
1240
1265
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.13..@fluentui/react-switch_v9.0.14)
|
1241
1266
|
|
1242
1267
|
### Patches
|
@@ -1249,7 +1274,7 @@ Tue, 20 Dec 2022 14:59:34 GMT
|
|
1249
1274
|
|
1250
1275
|
## [9.0.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.13)
|
1251
1276
|
|
1252
|
-
Mon, 05 Dec 2022 18:29:30 GMT
|
1277
|
+
Mon, 05 Dec 2022 18:29:30 GMT
|
1253
1278
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.12..@fluentui/react-switch_v9.0.13)
|
1254
1279
|
|
1255
1280
|
### Patches
|
@@ -1262,7 +1287,7 @@ Mon, 05 Dec 2022 18:29:30 GMT
|
|
1262
1287
|
|
1263
1288
|
## [9.0.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.12)
|
1264
1289
|
|
1265
|
-
Thu, 17 Nov 2022 23:05:47 GMT
|
1290
|
+
Thu, 17 Nov 2022 23:05:47 GMT
|
1266
1291
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.11..@fluentui/react-switch_v9.0.12)
|
1267
1292
|
|
1268
1293
|
### Patches
|
@@ -1274,14 +1299,14 @@ Thu, 17 Nov 2022 23:05:47 GMT
|
|
1274
1299
|
|
1275
1300
|
## [9.0.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.11)
|
1276
1301
|
|
1277
|
-
Fri, 11 Nov 2022 14:57:40 GMT
|
1302
|
+
Fri, 11 Nov 2022 14:57:40 GMT
|
1278
1303
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.10..@fluentui/react-switch_v9.0.11)
|
1279
1304
|
|
1280
1305
|
### Patches
|
1281
1306
|
|
1282
1307
|
- fix: create valid export maps ([PR #25558](https://github.com/microsoft/fluentui/pull/25558) by martinhochel@microsoft.com)
|
1283
1308
|
- bugfix: adds line-height=0 to switch indicator slot ([PR #25507](https://github.com/microsoft/fluentui/pull/25507) by bernardo.sunderhus@gmail.com)
|
1284
|
-
- chore: Move SwitchField into the @fluentui/react-switch package and export as _unstable ([PR #25593](https://github.com/microsoft/fluentui/pull/25593) by behowell@microsoft.com)
|
1309
|
+
- chore: Move SwitchField into the @fluentui/react-switch package and export as \_unstable ([PR #25593](https://github.com/microsoft/fluentui/pull/25593) by behowell@microsoft.com)
|
1285
1310
|
- chore: Replacing use of hard-coded constants with curve and duration tokens from theme. ([PR #25522](https://github.com/microsoft/fluentui/pull/25522) by humberto_makoto@hotmail.com)
|
1286
1311
|
- Bump @fluentui/react-field to v9.0.0-alpha.8 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
|
1287
1312
|
- Bump @fluentui/react-label to v9.0.10 ([PR #25615](https://github.com/microsoft/fluentui/pull/25615) by beachball)
|
@@ -1292,7 +1317,7 @@ Fri, 11 Nov 2022 14:57:40 GMT
|
|
1292
1317
|
|
1293
1318
|
## [9.0.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.10)
|
1294
1319
|
|
1295
|
-
Wed, 02 Nov 2022 11:58:02 GMT
|
1320
|
+
Wed, 02 Nov 2022 11:58:02 GMT
|
1296
1321
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.9..@fluentui/react-switch_v9.0.10)
|
1297
1322
|
|
1298
1323
|
### Patches
|
@@ -1305,7 +1330,7 @@ Wed, 02 Nov 2022 11:58:02 GMT
|
|
1305
1330
|
|
1306
1331
|
## [9.0.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.9)
|
1307
1332
|
|
1308
|
-
Thu, 20 Oct 2022 08:39:48 GMT
|
1333
|
+
Thu, 20 Oct 2022 08:39:48 GMT
|
1309
1334
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.8..@fluentui/react-switch_v9.0.9)
|
1310
1335
|
|
1311
1336
|
### Patches
|
@@ -1320,7 +1345,7 @@ Thu, 20 Oct 2022 08:39:48 GMT
|
|
1320
1345
|
|
1321
1346
|
## [9.0.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.8)
|
1322
1347
|
|
1323
|
-
Thu, 13 Oct 2022 11:03:01 GMT
|
1348
|
+
Thu, 13 Oct 2022 11:03:01 GMT
|
1324
1349
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.7..@fluentui/react-switch_v9.0.8)
|
1325
1350
|
|
1326
1351
|
### Patches
|
@@ -1333,7 +1358,7 @@ Thu, 13 Oct 2022 11:03:01 GMT
|
|
1333
1358
|
|
1334
1359
|
## [9.0.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.7)
|
1335
1360
|
|
1336
|
-
Mon, 03 Oct 2022 22:24:40 GMT
|
1361
|
+
Mon, 03 Oct 2022 22:24:40 GMT
|
1337
1362
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.6..@fluentui/react-switch_v9.0.7)
|
1338
1363
|
|
1339
1364
|
### Patches
|
@@ -1344,7 +1369,7 @@ Mon, 03 Oct 2022 22:24:40 GMT
|
|
1344
1369
|
|
1345
1370
|
## [9.0.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.6)
|
1346
1371
|
|
1347
|
-
Tue, 20 Sep 2022 20:55:45 GMT
|
1372
|
+
Tue, 20 Sep 2022 20:55:45 GMT
|
1348
1373
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.5..@fluentui/react-switch_v9.0.6)
|
1349
1374
|
|
1350
1375
|
### Patches
|
@@ -1354,7 +1379,7 @@ Tue, 20 Sep 2022 20:55:45 GMT
|
|
1354
1379
|
|
1355
1380
|
## [9.0.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.5)
|
1356
1381
|
|
1357
|
-
Thu, 15 Sep 2022 09:49:25 GMT
|
1382
|
+
Thu, 15 Sep 2022 09:49:25 GMT
|
1358
1383
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.4..@fluentui/react-switch_v9.0.5)
|
1359
1384
|
|
1360
1385
|
### Patches
|
@@ -1370,7 +1395,7 @@ Thu, 15 Sep 2022 09:49:25 GMT
|
|
1370
1395
|
|
1371
1396
|
## [9.0.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.4)
|
1372
1397
|
|
1373
|
-
Wed, 03 Aug 2022 16:04:02 GMT
|
1398
|
+
Wed, 03 Aug 2022 16:04:02 GMT
|
1374
1399
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.3..@fluentui/react-switch_v9.0.4)
|
1375
1400
|
|
1376
1401
|
### Patches
|
@@ -1384,7 +1409,7 @@ Wed, 03 Aug 2022 16:04:02 GMT
|
|
1384
1409
|
|
1385
1410
|
## [9.0.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.3)
|
1386
1411
|
|
1387
|
-
Thu, 14 Jul 2022 21:21:05 GMT
|
1412
|
+
Thu, 14 Jul 2022 21:21:05 GMT
|
1388
1413
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.2..@fluentui/react-switch_v9.0.3)
|
1389
1414
|
|
1390
1415
|
### Patches
|
@@ -1396,7 +1421,7 @@ Thu, 14 Jul 2022 21:21:05 GMT
|
|
1396
1421
|
|
1397
1422
|
## [9.0.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.2)
|
1398
1423
|
|
1399
|
-
Thu, 14 Jul 2022 17:06:23 GMT
|
1424
|
+
Thu, 14 Jul 2022 17:06:23 GMT
|
1400
1425
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.1..@fluentui/react-switch_v9.0.2)
|
1401
1426
|
|
1402
1427
|
### Patches
|
@@ -1409,7 +1434,7 @@ Thu, 14 Jul 2022 17:06:23 GMT
|
|
1409
1434
|
|
1410
1435
|
## [9.0.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.1)
|
1411
1436
|
|
1412
|
-
Tue, 28 Jun 2022 17:39:52 GMT
|
1437
|
+
Tue, 28 Jun 2022 17:39:52 GMT
|
1413
1438
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0..@fluentui/react-switch_v9.0.1)
|
1414
1439
|
|
1415
1440
|
### Patches
|
@@ -1421,7 +1446,7 @@ Tue, 28 Jun 2022 17:39:52 GMT
|
|
1421
1446
|
|
1422
1447
|
## [9.0.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0)
|
1423
1448
|
|
1424
|
-
Tue, 28 Jun 2022 15:14:04 GMT
|
1449
|
+
Tue, 28 Jun 2022 15:14:04 GMT
|
1425
1450
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.14..@fluentui/react-switch_v9.0.0)
|
1426
1451
|
|
1427
1452
|
### Patches
|
@@ -1445,7 +1470,7 @@ Tue, 28 Jun 2022 15:14:04 GMT
|
|
1445
1470
|
|
1446
1471
|
## [9.0.0-rc.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.14)
|
1447
1472
|
|
1448
|
-
Thu, 23 Jun 2022 14:25:31 GMT
|
1473
|
+
Thu, 23 Jun 2022 14:25:31 GMT
|
1449
1474
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.13..@fluentui/react-switch_v9.0.0-rc.14)
|
1450
1475
|
|
1451
1476
|
### Changes
|
@@ -1456,7 +1481,7 @@ Thu, 23 Jun 2022 14:25:31 GMT
|
|
1456
1481
|
|
1457
1482
|
## [9.0.0-rc.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.13)
|
1458
1483
|
|
1459
|
-
Tue, 31 May 2022 21:28:47 GMT
|
1484
|
+
Tue, 31 May 2022 21:28:47 GMT
|
1460
1485
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.12..@fluentui/react-switch_v9.0.0-rc.13)
|
1461
1486
|
|
1462
1487
|
### Changes
|
@@ -1469,7 +1494,7 @@ Tue, 31 May 2022 21:28:47 GMT
|
|
1469
1494
|
|
1470
1495
|
## [9.0.0-rc.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.12)
|
1471
1496
|
|
1472
|
-
Thu, 26 May 2022 21:01:30 GMT
|
1497
|
+
Thu, 26 May 2022 21:01:30 GMT
|
1473
1498
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.11..@fluentui/react-switch_v9.0.0-rc.12)
|
1474
1499
|
|
1475
1500
|
### Changes
|
@@ -1479,7 +1504,7 @@ Thu, 26 May 2022 21:01:30 GMT
|
|
1479
1504
|
|
1480
1505
|
## [9.0.0-rc.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.11)
|
1481
1506
|
|
1482
|
-
Mon, 23 May 2022 18:56:51 GMT
|
1507
|
+
Mon, 23 May 2022 18:56:51 GMT
|
1483
1508
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.10..@fluentui/react-switch_v9.0.0-rc.11)
|
1484
1509
|
|
1485
1510
|
### Changes
|
@@ -1491,7 +1516,7 @@ Mon, 23 May 2022 18:56:51 GMT
|
|
1491
1516
|
|
1492
1517
|
## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.10)
|
1493
1518
|
|
1494
|
-
Mon, 23 May 2022 12:13:46 GMT
|
1519
|
+
Mon, 23 May 2022 12:13:46 GMT
|
1495
1520
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.9..@fluentui/react-switch_v9.0.0-rc.10)
|
1496
1521
|
|
1497
1522
|
### Changes
|
@@ -1511,7 +1536,7 @@ Mon, 23 May 2022 12:13:46 GMT
|
|
1511
1536
|
|
1512
1537
|
## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.9)
|
1513
1538
|
|
1514
|
-
Thu, 05 May 2022 18:26:26 GMT
|
1539
|
+
Thu, 05 May 2022 18:26:26 GMT
|
1515
1540
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.8..@fluentui/react-switch_v9.0.0-rc.9)
|
1516
1541
|
|
1517
1542
|
### Changes
|
@@ -1618,7 +1643,7 @@ Thu, 10 Feb 2022 08:50:51 GMT
|
|
1618
1643
|
- update styles to not use CSS shorthands ([PR #20844](https://github.com/microsoft/fluentui/pull/20844) by olfedias@microsoft.com)
|
1619
1644
|
- Replacing use of functions in makeStyles with direct use of tokens. ([PR #21056](https://github.com/microsoft/fluentui/pull/21056) by Humberto.Morimoto@microsoft.com)
|
1620
1645
|
- Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster. ([PR #21035](https://github.com/microsoft/fluentui/pull/21035) by Humberto.Morimoto@microsoft.com)
|
1621
|
-
- BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
|
1646
|
+
- BREAKING: Rename component hooks add the suffix \_unstable, as their API has not been finalized yet ([PR #21365](https://github.com/microsoft/fluentui/pull/21365) by behowell@microsoft.com)
|
1622
1647
|
- Bump Fluent UI dependencies to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
1623
1648
|
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
1624
1649
|
- Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
@@ -91,6 +91,8 @@ const useLabelStyles = /*#__PURE__*/__styles({
|
|
91
91
|
* Apply styling to the Switch slots based on the state
|
92
92
|
*/
|
93
93
|
export const useSwitchStyles_unstable = state => {
|
94
|
+
'use no memo';
|
95
|
+
|
94
96
|
const rootBaseClassName = useRootBaseClassName();
|
95
97
|
const rootStyles = useRootStyles();
|
96
98
|
const indicatorBaseClassName = useIndicatorBaseClassName();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["createFocusOutlineStyle","tokens","__resetStyles","__styles","mergeClasses","switchClassNames","root","indicator","input","label","switchClassName","spaceBetweenThumbAndTrack","trackHeight","trackWidth","thumbSize","useRootBaseClassName","r","s","useRootStyles","vertical","Beiy3e4","d","useIndicatorBaseClassName","useIndicatorStyles","labelAbove","B6of3ja","useInputBaseClassName","useInputStyles","before","j35jbq","Bhzewxz","after","oyh7mz","above","B5kzvoi","Bqenvij","a9b677","useLabelStyles","base","Bceei9c","jrapky","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","p","useSwitchStyles_unstable","state","rootBaseClassName","rootStyles","indicatorBaseClassName","indicatorStyles","inputBaseClassName","inputStyles","labelStyles","labelPosition","className"],"sources":["useSwitchStyles.styles.js"],"sourcesContent":["import { createFocusOutlineStyle } from '@fluentui/react-tabster';\nimport { tokens } from '@fluentui/react-theme';\nimport { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nexport const switchClassNames = {\n root: 'fui-Switch',\n indicator: 'fui-Switch__indicator',\n input: 'fui-Switch__input',\n label: 'fui-Switch__label'\n};\n/**\n * @deprecated Use `switchClassNames.root` instead.\n */ export const switchClassName = switchClassNames.root;\n// Thumb and track sizes used by the component.\nconst spaceBetweenThumbAndTrack = 2;\nconst trackHeight = 20;\nconst trackWidth = 40;\nconst thumbSize = trackHeight - spaceBetweenThumbAndTrack;\nconst useRootBaseClassName = makeResetStyles({\n alignItems: 'flex-start',\n boxSizing: 'border-box',\n display: 'inline-flex',\n position: 'relative',\n ...createFocusOutlineStyle({\n style: {},\n selector: 'focus-within'\n })\n});\nconst useRootStyles = makeStyles({\n vertical: {\n flexDirection: 'column'\n }\n});\nconst useIndicatorBaseClassName = makeResetStyles({\n borderRadius: tokens.borderRadiusCircular,\n border: '1px solid',\n lineHeight: 0,\n boxSizing: 'border-box',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: `${thumbSize}px`,\n height: `${trackHeight}px`,\n margin: tokens.spacingVerticalS + ' ' + tokens.spacingHorizontalS,\n pointerEvents: 'none',\n transitionDuration: tokens.durationNormal,\n transitionTimingFunction: tokens.curveEasyEase,\n transitionProperty: 'background, border, color',\n width: `${trackWidth}px`,\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms'\n },\n '@media (forced-colors: active)': {\n color: 'CanvasText',\n '> i': {\n forcedColorAdjust: 'none'\n }\n },\n '> *': {\n transitionDuration: tokens.durationNormal,\n transitionTimingFunction: tokens.curveEasyEase,\n transitionProperty: 'transform',\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms'\n }\n }\n});\nconst useIndicatorStyles = makeStyles({\n labelAbove: {\n marginTop: 0\n }\n});\nconst useInputBaseClassName = makeResetStyles({\n boxSizing: 'border-box',\n cursor: 'pointer',\n height: '100%',\n margin: 0,\n opacity: 0,\n position: 'absolute',\n // Calculate the width of the hidden input by taking into account the size of the indicator + the padding around it.\n // This is done so that clicking on that \"empty space\" still toggles the switch.\n width: `calc(${trackWidth}px + 2 * ${tokens.spacingHorizontalS})`,\n // Checked (both enabled and disabled)\n ':checked': {\n [`& ~ .${switchClassNames.indicator}`]: {\n '> *': {\n transform: `translateX(${trackWidth - thumbSize - spaceBetweenThumbAndTrack}px)`\n }\n }\n },\n // Disabled (both checked and unchecked)\n ':disabled': {\n cursor: 'default',\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralForegroundDisabled\n },\n [`& ~ .${switchClassNames.label}`]: {\n cursor: 'default',\n color: tokens.colorNeutralForegroundDisabled\n }\n },\n // Enabled and unchecked\n ':enabled:not(:checked)': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralStrokeAccessible,\n borderColor: tokens.colorNeutralStrokeAccessible\n },\n [`& ~ .${switchClassNames.label}`]: {\n color: tokens.colorNeutralForeground1\n },\n ':hover': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralStrokeAccessibleHover,\n borderColor: tokens.colorNeutralStrokeAccessibleHover\n }\n },\n ':hover:active': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralStrokeAccessiblePressed,\n borderColor: tokens.colorNeutralStrokeAccessiblePressed\n }\n }\n },\n // Enabled and checked\n ':enabled:checked': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorCompoundBrandBackground,\n color: tokens.colorNeutralForegroundInverted,\n borderColor: tokens.colorTransparentStroke\n },\n ':hover': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorCompoundBrandBackgroundHover,\n borderColor: tokens.colorTransparentStrokeInteractive\n }\n },\n ':hover:active': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorCompoundBrandBackgroundPressed,\n borderColor: tokens.colorTransparentStrokeInteractive\n }\n }\n },\n // Disabled and unchecked\n ':disabled:not(:checked)': {\n [`& ~ .${switchClassNames.indicator}`]: {\n borderColor: tokens.colorNeutralStrokeDisabled\n }\n },\n // Disabled and checked\n ':disabled:checked': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorNeutralBackgroundDisabled,\n borderColor: tokens.colorTransparentStrokeDisabled\n }\n },\n '@media (forced-colors: active)': {\n ':disabled': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: 'GrayText',\n borderColor: 'GrayText'\n },\n [`& ~ .${switchClassNames.label}`]: {\n color: 'GrayText'\n }\n },\n ':hover': {\n color: 'CanvasText'\n },\n ':hover:active': {\n color: 'CanvasText'\n },\n ':enabled:checked': {\n ':hover': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: 'Highlight',\n color: 'Canvas'\n }\n },\n ':hover:active': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: 'Highlight',\n color: 'Canvas'\n }\n },\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: 'Highlight',\n color: 'Canvas'\n }\n }\n }\n});\nconst useInputStyles = makeStyles({\n before: {\n right: 0,\n top: 0\n },\n after: {\n left: 0,\n top: 0\n },\n above: {\n bottom: 0,\n height: `calc(${trackHeight}px + ${tokens.spacingVerticalS})`,\n width: '100%'\n }\n});\n// Can't use makeResetStyles here because Label is a component that may itself use makeResetStyles.\nconst useLabelStyles = makeStyles({\n base: {\n cursor: 'pointer',\n // Use a (negative) margin to account for the difference between the track's height and the label's line height.\n // This prevents the label from expanding the height of the switch, but preserves line height if the label wraps.\n marginBottom: `calc((${trackHeight}px - ${tokens.lineHeightBase300}) / 2)`,\n marginTop: `calc((${trackHeight}px - ${tokens.lineHeightBase300}) / 2)`,\n padding: `${tokens.spacingVerticalS} ${tokens.spacingHorizontalS}`\n },\n above: {\n paddingTop: tokens.spacingVerticalXS,\n paddingBottom: tokens.spacingVerticalXS,\n width: '100%'\n },\n after: {\n paddingLeft: tokens.spacingHorizontalXS\n },\n before: {\n paddingRight: tokens.spacingHorizontalXS\n }\n});\n/**\n * Apply styling to the Switch slots based on the state\n */ export const useSwitchStyles_unstable = (state)=>{\n const rootBaseClassName = useRootBaseClassName();\n const rootStyles = useRootStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const labelStyles = useLabelStyles();\n const { label, labelPosition } = state;\n state.root.className = mergeClasses(switchClassNames.root, rootBaseClassName, labelPosition === 'above' && rootStyles.vertical, state.root.className);\n state.indicator.className = mergeClasses(switchClassNames.indicator, indicatorBaseClassName, label && labelPosition === 'above' && indicatorStyles.labelAbove, state.indicator.className);\n state.input.className = mergeClasses(switchClassNames.input, inputBaseClassName, label && inputStyles[labelPosition], state.input.className);\n if (state.label) {\n state.label.className = mergeClasses(switchClassNames.label, labelStyles.base, labelStyles[labelPosition], state.label.className);\n }\n return state;\n};\n"],"mappings":"AAAA,SAASA,uBAAuB,QAAQ,yBAAyB;AACjE,SAASC,MAAM,QAAQ,uBAAuB;AAC9C,SAAAC,aAAA,EAAAC,QAAA,EAAsCC,YAAY,QAAQ,gBAAgB;AAC1E,OAAO,MAAMC,gBAAgB,GAAG;EAC5BC,IAAI,EAAE,YAAY;EAClBC,SAAS,EAAE,uBAAuB;EAClCC,KAAK,EAAE,mBAAmB;EAC1BC,KAAK,EAAE;AACX,CAAC;AACD;AACA;AACA;AAAI,OAAO,MAAMC,eAAe,GAAGL,gBAAgB,CAACC,IAAI;AACxD;AACA,MAAMK,yBAAyB,GAAG,CAAC;AACnC,MAAMC,WAAW,GAAG,EAAE;AACtB,MAAMC,UAAU,GAAG,EAAE;AACrB,MAAMC,SAAS,GAAGF,WAAW,GAAGD,yBAAyB;AACzD,MAAMI,oBAAoB,gBAAGb,aAAA;EAAAc,CAAA;EAAAC,CAAA;AAAA,CAS5B,CAAC;AACF,MAAMC,aAAa,gBAAGf,QAAA;EAAAgB,QAAA;IAAAC,OAAA;EAAA;AAAA;EAAAC,CAAA;AAAA,CAIrB,CAAC;AACF,MAAMC,yBAAyB,gBAAGpB,aAAA;EAAAc,CAAA;EAAAC,CAAA;AAAA,CAgCjC,CAAC;AACF,MAAMM,kBAAkB,gBAAGpB,QAAA;EAAAqB,UAAA;IAAAC,OAAA;EAAA;AAAA;EAAAJ,CAAA;AAAA,CAI1B,CAAC;AACF,MAAMK,qBAAqB,gBAAGxB,aAAA;EAAAc,CAAA;EAAAC,CAAA;AAAA,CAuH7B,CAAC;AACF,MAAMU,cAAc,gBAAGxB,QAAA;EAAAyB,MAAA;IAAAC,MAAA;IAAAC,OAAA;EAAA;EAAAC,KAAA;IAAAC,MAAA;IAAAF,OAAA;EAAA;EAAAG,KAAA;IAAAC,OAAA;IAAAC,OAAA;IAAAC,MAAA;EAAA;AAAA;EAAAf,CAAA;AAAA,CActB,CAAC;AACF;AACA,MAAMgB,cAAc,gBAAGlC,QAAA;EAAAmC,IAAA;IAAAC,OAAA;IAAAC,MAAA;IAAAf,OAAA;IAAAgB,OAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,MAAA;IAAAC,OAAA;EAAA;EAAAZ,KAAA;IAAAW,MAAA;IAAAH,OAAA;IAAAL,MAAA;EAAA;EAAAL,KAAA;IAAAW,MAAA;EAAA;EAAAd,MAAA;IAAAe,MAAA;EAAA;AAAA;EAAAtB,CAAA;IAAAyB,CAAA;EAAA;AAAA,CAoBtB,CAAC;AACF;AACA;AACA;AAAI,OAAO,MAAMC,wBAAwB,GAAIC,KAAK,IAAG;EACjD,MAAMC,iBAAiB,GAAGlC,oBAAoB,CAAC,CAAC;EAChD,MAAMmC,UAAU,GAAGhC,aAAa,CAAC,CAAC;EAClC,MAAMiC,sBAAsB,GAAG7B,yBAAyB,CAAC,CAAC;EAC1D,MAAM8B,eAAe,GAAG7B,kBAAkB,CAAC,CAAC;EAC5C,MAAM8B,kBAAkB,GAAG3B,qBAAqB,CAAC,CAAC;EAClD,MAAM4B,WAAW,GAAG3B,cAAc,CAAC,CAAC;EACpC,MAAM4B,WAAW,GAAGlB,cAAc,CAAC,CAAC;EACpC,MAAM;IAAE5B,KAAK;IAAE+C;EAAc,CAAC,GAAGR,KAAK;EACtCA,KAAK,CAAC1C,IAAI,CAACmD,SAAS,GAAGrD,YAAY,CAACC,gBAAgB,CAACC,IAAI,EAAE2C,iBAAiB,EAAEO,aAAa,KAAK,OAAO,IAAIN,UAAU,CAAC/B,QAAQ,EAAE6B,KAAK,CAAC1C,IAAI,CAACmD,SAAS,CAAC;EACrJT,KAAK,CAACzC,SAAS,CAACkD,SAAS,GAAGrD,YAAY,CAACC,gBAAgB,CAACE,SAAS,EAAE4C,sBAAsB,EAAE1C,KAAK,IAAI+C,aAAa,KAAK,OAAO,IAAIJ,eAAe,CAAC5B,UAAU,EAAEwB,KAAK,CAACzC,SAAS,CAACkD,SAAS,CAAC;EACzLT,KAAK,CAACxC,KAAK,CAACiD,SAAS,GAAGrD,YAAY,CAACC,gBAAgB,CAACG,KAAK,EAAE6C,kBAAkB,EAAE5C,KAAK,IAAI6C,WAAW,CAACE,aAAa,CAAC,EAAER,KAAK,CAACxC,KAAK,CAACiD,SAAS,CAAC;EAC5I,IAAIT,KAAK,CAACvC,KAAK,EAAE;IACbuC,KAAK,CAACvC,KAAK,CAACgD,SAAS,GAAGrD,YAAY,CAACC,gBAAgB,CAACI,KAAK,EAAE8C,WAAW,CAACjB,IAAI,EAAEiB,WAAW,CAACC,aAAa,CAAC,EAAER,KAAK,CAACvC,KAAK,CAACgD,SAAS,CAAC;EACrI;EACA,OAAOT,KAAK;AAChB,CAAC","ignoreList":[]}
|
1
|
+
{"version":3,"names":["createFocusOutlineStyle","tokens","__resetStyles","__styles","mergeClasses","switchClassNames","root","indicator","input","label","switchClassName","spaceBetweenThumbAndTrack","trackHeight","trackWidth","thumbSize","useRootBaseClassName","r","s","useRootStyles","vertical","Beiy3e4","d","useIndicatorBaseClassName","useIndicatorStyles","labelAbove","B6of3ja","useInputBaseClassName","useInputStyles","before","j35jbq","Bhzewxz","after","oyh7mz","above","B5kzvoi","Bqenvij","a9b677","useLabelStyles","base","Bceei9c","jrapky","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","p","useSwitchStyles_unstable","state","rootBaseClassName","rootStyles","indicatorBaseClassName","indicatorStyles","inputBaseClassName","inputStyles","labelStyles","labelPosition","className"],"sources":["useSwitchStyles.styles.js"],"sourcesContent":["import { createFocusOutlineStyle } from '@fluentui/react-tabster';\nimport { tokens } from '@fluentui/react-theme';\nimport { makeResetStyles, makeStyles, mergeClasses } from '@griffel/react';\nexport const switchClassNames = {\n root: 'fui-Switch',\n indicator: 'fui-Switch__indicator',\n input: 'fui-Switch__input',\n label: 'fui-Switch__label'\n};\n/**\n * @deprecated Use `switchClassNames.root` instead.\n */ export const switchClassName = switchClassNames.root;\n// Thumb and track sizes used by the component.\nconst spaceBetweenThumbAndTrack = 2;\nconst trackHeight = 20;\nconst trackWidth = 40;\nconst thumbSize = trackHeight - spaceBetweenThumbAndTrack;\nconst useRootBaseClassName = makeResetStyles({\n alignItems: 'flex-start',\n boxSizing: 'border-box',\n display: 'inline-flex',\n position: 'relative',\n ...createFocusOutlineStyle({\n style: {},\n selector: 'focus-within'\n })\n});\nconst useRootStyles = makeStyles({\n vertical: {\n flexDirection: 'column'\n }\n});\nconst useIndicatorBaseClassName = makeResetStyles({\n borderRadius: tokens.borderRadiusCircular,\n border: '1px solid',\n lineHeight: 0,\n boxSizing: 'border-box',\n fill: 'currentColor',\n flexShrink: 0,\n fontSize: `${thumbSize}px`,\n height: `${trackHeight}px`,\n margin: tokens.spacingVerticalS + ' ' + tokens.spacingHorizontalS,\n pointerEvents: 'none',\n transitionDuration: tokens.durationNormal,\n transitionTimingFunction: tokens.curveEasyEase,\n transitionProperty: 'background, border, color',\n width: `${trackWidth}px`,\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms'\n },\n '@media (forced-colors: active)': {\n color: 'CanvasText',\n '> i': {\n forcedColorAdjust: 'none'\n }\n },\n '> *': {\n transitionDuration: tokens.durationNormal,\n transitionTimingFunction: tokens.curveEasyEase,\n transitionProperty: 'transform',\n '@media screen and (prefers-reduced-motion: reduce)': {\n transitionDuration: '0.01ms'\n }\n }\n});\nconst useIndicatorStyles = makeStyles({\n labelAbove: {\n marginTop: 0\n }\n});\nconst useInputBaseClassName = makeResetStyles({\n boxSizing: 'border-box',\n cursor: 'pointer',\n height: '100%',\n margin: 0,\n opacity: 0,\n position: 'absolute',\n // Calculate the width of the hidden input by taking into account the size of the indicator + the padding around it.\n // This is done so that clicking on that \"empty space\" still toggles the switch.\n width: `calc(${trackWidth}px + 2 * ${tokens.spacingHorizontalS})`,\n // Checked (both enabled and disabled)\n ':checked': {\n [`& ~ .${switchClassNames.indicator}`]: {\n '> *': {\n transform: `translateX(${trackWidth - thumbSize - spaceBetweenThumbAndTrack}px)`\n }\n }\n },\n // Disabled (both checked and unchecked)\n ':disabled': {\n cursor: 'default',\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralForegroundDisabled\n },\n [`& ~ .${switchClassNames.label}`]: {\n cursor: 'default',\n color: tokens.colorNeutralForegroundDisabled\n }\n },\n // Enabled and unchecked\n ':enabled:not(:checked)': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralStrokeAccessible,\n borderColor: tokens.colorNeutralStrokeAccessible\n },\n [`& ~ .${switchClassNames.label}`]: {\n color: tokens.colorNeutralForeground1\n },\n ':hover': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralStrokeAccessibleHover,\n borderColor: tokens.colorNeutralStrokeAccessibleHover\n }\n },\n ':hover:active': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: tokens.colorNeutralStrokeAccessiblePressed,\n borderColor: tokens.colorNeutralStrokeAccessiblePressed\n }\n }\n },\n // Enabled and checked\n ':enabled:checked': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorCompoundBrandBackground,\n color: tokens.colorNeutralForegroundInverted,\n borderColor: tokens.colorTransparentStroke\n },\n ':hover': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorCompoundBrandBackgroundHover,\n borderColor: tokens.colorTransparentStrokeInteractive\n }\n },\n ':hover:active': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorCompoundBrandBackgroundPressed,\n borderColor: tokens.colorTransparentStrokeInteractive\n }\n }\n },\n // Disabled and unchecked\n ':disabled:not(:checked)': {\n [`& ~ .${switchClassNames.indicator}`]: {\n borderColor: tokens.colorNeutralStrokeDisabled\n }\n },\n // Disabled and checked\n ':disabled:checked': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: tokens.colorNeutralBackgroundDisabled,\n borderColor: tokens.colorTransparentStrokeDisabled\n }\n },\n '@media (forced-colors: active)': {\n ':disabled': {\n [`& ~ .${switchClassNames.indicator}`]: {\n color: 'GrayText',\n borderColor: 'GrayText'\n },\n [`& ~ .${switchClassNames.label}`]: {\n color: 'GrayText'\n }\n },\n ':hover': {\n color: 'CanvasText'\n },\n ':hover:active': {\n color: 'CanvasText'\n },\n ':enabled:checked': {\n ':hover': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: 'Highlight',\n color: 'Canvas'\n }\n },\n ':hover:active': {\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: 'Highlight',\n color: 'Canvas'\n }\n },\n [`& ~ .${switchClassNames.indicator}`]: {\n backgroundColor: 'Highlight',\n color: 'Canvas'\n }\n }\n }\n});\nconst useInputStyles = makeStyles({\n before: {\n right: 0,\n top: 0\n },\n after: {\n left: 0,\n top: 0\n },\n above: {\n bottom: 0,\n height: `calc(${trackHeight}px + ${tokens.spacingVerticalS})`,\n width: '100%'\n }\n});\n// Can't use makeResetStyles here because Label is a component that may itself use makeResetStyles.\nconst useLabelStyles = makeStyles({\n base: {\n cursor: 'pointer',\n // Use a (negative) margin to account for the difference between the track's height and the label's line height.\n // This prevents the label from expanding the height of the switch, but preserves line height if the label wraps.\n marginBottom: `calc((${trackHeight}px - ${tokens.lineHeightBase300}) / 2)`,\n marginTop: `calc((${trackHeight}px - ${tokens.lineHeightBase300}) / 2)`,\n padding: `${tokens.spacingVerticalS} ${tokens.spacingHorizontalS}`\n },\n above: {\n paddingTop: tokens.spacingVerticalXS,\n paddingBottom: tokens.spacingVerticalXS,\n width: '100%'\n },\n after: {\n paddingLeft: tokens.spacingHorizontalXS\n },\n before: {\n paddingRight: tokens.spacingHorizontalXS\n }\n});\n/**\n * Apply styling to the Switch slots based on the state\n */ export const useSwitchStyles_unstable = (state)=>{\n 'use no memo';\n const rootBaseClassName = useRootBaseClassName();\n const rootStyles = useRootStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const labelStyles = useLabelStyles();\n const { label, labelPosition } = state;\n state.root.className = mergeClasses(switchClassNames.root, rootBaseClassName, labelPosition === 'above' && rootStyles.vertical, state.root.className);\n state.indicator.className = mergeClasses(switchClassNames.indicator, indicatorBaseClassName, label && labelPosition === 'above' && indicatorStyles.labelAbove, state.indicator.className);\n state.input.className = mergeClasses(switchClassNames.input, inputBaseClassName, label && inputStyles[labelPosition], state.input.className);\n if (state.label) {\n state.label.className = mergeClasses(switchClassNames.label, labelStyles.base, labelStyles[labelPosition], state.label.className);\n }\n return state;\n};\n"],"mappings":"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","ignoreList":[]}
|
@@ -193,6 +193,7 @@ const useLabelStyles = /*#__PURE__*/ (0, _react.__styles)({
|
|
193
193
|
]
|
194
194
|
});
|
195
195
|
const useSwitchStyles_unstable = (state)=>{
|
196
|
+
'use no memo';
|
196
197
|
const rootBaseClassName = useRootBaseClassName();
|
197
198
|
const rootStyles = useRootStyles();
|
198
199
|
const indicatorBaseClassName = useIndicatorBaseClassName();
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"sources":["useSwitchStyles.styles.js"],"sourcesContent":["import { createFocusOutlineStyle } from '@fluentui/react-tabster';\nimport { tokens } from '@fluentui/react-theme';\nimport { __resetStyles, __styles, mergeClasses } from '@griffel/react';\nexport const switchClassNames = {\n root: 'fui-Switch',\n indicator: 'fui-Switch__indicator',\n input: 'fui-Switch__input',\n label: 'fui-Switch__label'\n};\n/**\n * @deprecated Use `switchClassNames.root` instead.\n */\nexport const switchClassName = switchClassNames.root;\n// Thumb and track sizes used by the component.\nconst spaceBetweenThumbAndTrack = 2;\nconst trackHeight = 20;\nconst trackWidth = 40;\nconst thumbSize = trackHeight - spaceBetweenThumbAndTrack;\nconst useRootBaseClassName = /*#__PURE__*/__resetStyles(\"r2i81i2\", \"rofhmb8\", {\n r: [\".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}\", \".r2i81i2:focus{outline-style:none;}\", \".r2i81i2:focus-visible{outline-style:none;}\", \".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}\", \".r2i81i2[data-fui-focus-within]:focus-within::after{content:\\\"\\\";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}\", \".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}\", \".rofhmb8:focus{outline-style:none;}\", \".rofhmb8:focus-visible{outline-style:none;}\", \".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}\", \".rofhmb8[data-fui-focus-within]:focus-within::after{content:\\\"\\\";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}\"],\n s: [\"@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}\", \"@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}\"]\n});\nconst useRootStyles = /*#__PURE__*/__styles({\n vertical: {\n Beiy3e4: \"f1vx9l62\"\n }\n}, {\n d: [\".f1vx9l62{flex-direction:column;}\"]\n});\nconst useIndicatorBaseClassName = /*#__PURE__*/__resetStyles(\"r1c3hft5\", null, {\n r: [\".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}\", \".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}\"],\n s: [\"@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}\", \"@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}\", \"@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}\"]\n});\nconst useIndicatorStyles = /*#__PURE__*/__styles({\n labelAbove: {\n B6of3ja: \"f1hu3pq6\"\n }\n}, {\n d: [\".f1hu3pq6{margin-top:0;}\"]\n});\nconst useInputBaseClassName = /*#__PURE__*/__resetStyles(\"rsji9ng\", \"r15xih98\", {\n r: [\".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}\", \".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}\", \".rsji9ng:disabled{cursor:default;}\", \".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}\", \".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}\", \".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}\", \".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}\", \".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}\", \".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}\", \".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}\", \".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}\", \".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}\", \".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}\", \".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}\", \".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}\", \".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}\", \".r15xih98:disabled{cursor:default;}\", \".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}\", \".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}\", \".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}\", \".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}\", \".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}\", \".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}\", \".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}\", \".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}\", \".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}\", \".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}\", \".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}\"],\n s: [\"@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}\", \"@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}\"]\n});\nconst useInputStyles = /*#__PURE__*/__styles({\n before: {\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n Bhzewxz: \"f15twtuk\"\n },\n after: {\n oyh7mz: [\"f1vgc2s3\", \"f1e31b4d\"],\n Bhzewxz: \"f15twtuk\"\n },\n above: {\n B5kzvoi: \"f1yab3r1\",\n Bqenvij: \"f1aar7gd\",\n a9b677: \"fly5x3f\"\n }\n}, {\n d: [\".f1e31b4d{right:0;}\", \".f1vgc2s3{left:0;}\", \".f15twtuk{top:0;}\", \".f1yab3r1{bottom:0;}\", \".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}\", \".fly5x3f{width:100%;}\"]\n});\n// Can't use makeResetStyles here because Label is a component that may itself use makeResetStyles.\nconst useLabelStyles = /*#__PURE__*/__styles({\n base: {\n Bceei9c: \"f1k6fduh\",\n jrapky: \"f49ad5g\",\n B6of3ja: \"f1xlvstr\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f1f5q0n8\"\n },\n above: {\n z8tnut: \"f1ywm7hm\",\n Byoj8tv: \"f14wxoun\",\n a9b677: \"fly5x3f\"\n },\n after: {\n uwmqm3: [\"fruq291\", \"f7x41pl\"]\n },\n before: {\n z189sj: [\"f7x41pl\", \"fruq291\"]\n }\n}, {\n d: [\".f1k6fduh{cursor:pointer;}\", \".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}\", \".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}\", [\".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}\", {\n p: -1\n }], \".f1ywm7hm{padding-top:var(--spacingVerticalXS);}\", \".f14wxoun{padding-bottom:var(--spacingVerticalXS);}\", \".fly5x3f{width:100%;}\", \".fruq291{padding-left:var(--spacingHorizontalXS);}\", \".f7x41pl{padding-right:var(--spacingHorizontalXS);}\"]\n});\n/**\n * Apply styling to the Switch slots based on the state\n */\nexport const useSwitchStyles_unstable = state => {\n const rootBaseClassName = useRootBaseClassName();\n const rootStyles = useRootStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const labelStyles = useLabelStyles();\n const {\n label,\n labelPosition\n } = state;\n state.root.className = mergeClasses(switchClassNames.root, rootBaseClassName, labelPosition === 'above' && rootStyles.vertical, state.root.className);\n state.indicator.className = mergeClasses(switchClassNames.indicator, indicatorBaseClassName, label && labelPosition === 'above' && indicatorStyles.labelAbove, state.indicator.className);\n state.input.className = mergeClasses(switchClassNames.input, inputBaseClassName, label && inputStyles[labelPosition], state.input.className);\n if (state.label) {\n state.label.className = mergeClasses(switchClassNames.label, labelStyles.base, labelStyles[labelPosition], state.label.className);\n }\n return state;\n};\n//# sourceMappingURL=useSwitchStyles.styles.js.map"],"names":["switchClassNames","switchClassName","useSwitchStyles_unstable","root","indicator","input","label","spaceBetweenThumbAndTrack","trackHeight","trackWidth","thumbSize","useRootBaseClassName","__resetStyles","r","s","useRootStyles","__styles","vertical","Beiy3e4","d","useIndicatorBaseClassName","useIndicatorStyles","labelAbove","B6of3ja","useInputBaseClassName","useInputStyles","before","j35jbq","Bhzewxz","after","oyh7mz","above","B5kzvoi","Bqenvij","a9b677","useLabelStyles","base","Bceei9c","jrapky","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","p","state","rootBaseClassName","rootStyles","indicatorBaseClassName","indicatorStyles","inputBaseClassName","inputStyles","labelStyles","labelPosition","className","mergeClasses"],"mappings":"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"}
|
1
|
+
{"version":3,"sources":["useSwitchStyles.styles.js"],"sourcesContent":["import { createFocusOutlineStyle } from '@fluentui/react-tabster';\nimport { tokens } from '@fluentui/react-theme';\nimport { __resetStyles, __styles, mergeClasses } from '@griffel/react';\nexport const switchClassNames = {\n root: 'fui-Switch',\n indicator: 'fui-Switch__indicator',\n input: 'fui-Switch__input',\n label: 'fui-Switch__label'\n};\n/**\n * @deprecated Use `switchClassNames.root` instead.\n */\nexport const switchClassName = switchClassNames.root;\n// Thumb and track sizes used by the component.\nconst spaceBetweenThumbAndTrack = 2;\nconst trackHeight = 20;\nconst trackWidth = 40;\nconst thumbSize = trackHeight - spaceBetweenThumbAndTrack;\nconst useRootBaseClassName = /*#__PURE__*/__resetStyles(\"r2i81i2\", \"rofhmb8\", {\n r: [\".r2i81i2{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}\", \".r2i81i2:focus{outline-style:none;}\", \".r2i81i2:focus-visible{outline-style:none;}\", \".r2i81i2[data-fui-focus-within]:focus-within{border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent;}\", \".r2i81i2[data-fui-focus-within]:focus-within::after{content:\\\"\\\";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);right:calc(2px * -1);bottom:calc(2px * -1);left:calc(2px * -1);}\", \".rofhmb8{align-items:flex-start;box-sizing:border-box;display:inline-flex;position:relative;}\", \".rofhmb8:focus{outline-style:none;}\", \".rofhmb8:focus-visible{outline-style:none;}\", \".rofhmb8[data-fui-focus-within]:focus-within{border-top-color:transparent;border-left-color:transparent;border-bottom-color:transparent;border-right-color:transparent;}\", \".rofhmb8[data-fui-focus-within]:focus-within::after{content:\\\"\\\";position:absolute;pointer-events:none;z-index:1;border:2px solid var(--colorStrokeFocus2);border-radius:var(--borderRadiusMedium);top:calc(2px * -1);left:calc(2px * -1);bottom:calc(2px * -1);right:calc(2px * -1);}\"],\n s: [\"@media (forced-colors: active){.r2i81i2[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-right-color:Highlight;border-bottom-color:Highlight;border-left-color:Highlight;}}\", \"@media (forced-colors: active){.rofhmb8[data-fui-focus-within]:focus-within::after{border-top-color:Highlight;border-left-color:Highlight;border-bottom-color:Highlight;border-right-color:Highlight;}}\"]\n});\nconst useRootStyles = /*#__PURE__*/__styles({\n vertical: {\n Beiy3e4: \"f1vx9l62\"\n }\n}, {\n d: [\".f1vx9l62{flex-direction:column;}\"]\n});\nconst useIndicatorBaseClassName = /*#__PURE__*/__resetStyles(\"r1c3hft5\", null, {\n r: [\".r1c3hft5{border-radius:var(--borderRadiusCircular);border:1px solid;line-height:0;box-sizing:border-box;fill:currentColor;flex-shrink:0;font-size:18px;height:20px;margin:var(--spacingVerticalS) var(--spacingHorizontalS);pointer-events:none;transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:background,border,color;width:40px;}\", \".r1c3hft5>*{transition-duration:var(--durationNormal);transition-timing-function:var(--curveEasyEase);transition-property:transform;}\"],\n s: [\"@media screen and (prefers-reduced-motion: reduce){.r1c3hft5{transition-duration:0.01ms;}}\", \"@media (forced-colors: active){.r1c3hft5{color:CanvasText;}.r1c3hft5>i{forced-color-adjust:none;}}\", \"@media screen and (prefers-reduced-motion: reduce){.r1c3hft5>*{transition-duration:0.01ms;}}\"]\n});\nconst useIndicatorStyles = /*#__PURE__*/__styles({\n labelAbove: {\n B6of3ja: \"f1hu3pq6\"\n }\n}, {\n d: [\".f1hu3pq6{margin-top:0;}\"]\n});\nconst useInputBaseClassName = /*#__PURE__*/__resetStyles(\"rsji9ng\", \"r15xih98\", {\n r: [\".rsji9ng{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}\", \".rsji9ng:checked~.fui-Switch__indicator>*{transform:translateX(20px);}\", \".rsji9ng:disabled{cursor:default;}\", \".rsji9ng:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}\", \".rsji9ng:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}\", \".rsji9ng:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}\", \".rsji9ng:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}\", \".rsji9ng:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}\", \".rsji9ng:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}\", \".rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}\", \".rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}\", \".rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}\", \".rsji9ng:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}\", \".rsji9ng:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}\", \".r15xih98{box-sizing:border-box;cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:calc(40px + 2 * var(--spacingHorizontalS));}\", \".r15xih98:checked~.fui-Switch__indicator>*{transform:translateX(-20px);}\", \".r15xih98:disabled{cursor:default;}\", \".r15xih98:disabled~.fui-Switch__indicator{color:var(--colorNeutralForegroundDisabled);}\", \".r15xih98:disabled~.fui-Switch__label{cursor:default;color:var(--colorNeutralForegroundDisabled);}\", \".r15xih98:enabled:not(:checked)~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessible);border-color:var(--colorNeutralStrokeAccessible);}\", \".r15xih98:enabled:not(:checked)~.fui-Switch__label{color:var(--colorNeutralForeground1);}\", \".r15xih98:enabled:not(:checked):hover~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessibleHover);border-color:var(--colorNeutralStrokeAccessibleHover);}\", \".r15xih98:enabled:not(:checked):hover:active~.fui-Switch__indicator{color:var(--colorNeutralStrokeAccessiblePressed);border-color:var(--colorNeutralStrokeAccessiblePressed);}\", \".r15xih98:enabled:checked~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackground);color:var(--colorNeutralForegroundInverted);border-color:var(--colorTransparentStroke);}\", \".r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundHover);border-color:var(--colorTransparentStrokeInteractive);}\", \".r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:var(--colorCompoundBrandBackgroundPressed);border-color:var(--colorTransparentStrokeInteractive);}\", \".r15xih98:disabled:not(:checked)~.fui-Switch__indicator{border-color:var(--colorNeutralStrokeDisabled);}\", \".r15xih98:disabled:checked~.fui-Switch__indicator{background-color:var(--colorNeutralBackgroundDisabled);border-color:var(--colorTransparentStrokeDisabled);}\"],\n s: [\"@media (forced-colors: active){.rsji9ng:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.rsji9ng:disabled~.fui-Switch__label{color:GrayText;}.rsji9ng:hover{color:CanvasText;}.rsji9ng:hover:active{color:CanvasText;}.rsji9ng:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.rsji9ng:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}\", \"@media (forced-colors: active){.r15xih98:disabled~.fui-Switch__indicator{color:GrayText;border-color:GrayText;}.r15xih98:disabled~.fui-Switch__label{color:GrayText;}.r15xih98:hover{color:CanvasText;}.r15xih98:hover:active{color:CanvasText;}.r15xih98:enabled:checked:hover~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked:hover:active~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}.r15xih98:enabled:checked~.fui-Switch__indicator{background-color:Highlight;color:Canvas;}}\"]\n});\nconst useInputStyles = /*#__PURE__*/__styles({\n before: {\n j35jbq: [\"f1e31b4d\", \"f1vgc2s3\"],\n Bhzewxz: \"f15twtuk\"\n },\n after: {\n oyh7mz: [\"f1vgc2s3\", \"f1e31b4d\"],\n Bhzewxz: \"f15twtuk\"\n },\n above: {\n B5kzvoi: \"f1yab3r1\",\n Bqenvij: \"f1aar7gd\",\n a9b677: \"fly5x3f\"\n }\n}, {\n d: [\".f1e31b4d{right:0;}\", \".f1vgc2s3{left:0;}\", \".f15twtuk{top:0;}\", \".f1yab3r1{bottom:0;}\", \".f1aar7gd{height:calc(20px + var(--spacingVerticalS));}\", \".fly5x3f{width:100%;}\"]\n});\n// Can't use makeResetStyles here because Label is a component that may itself use makeResetStyles.\nconst useLabelStyles = /*#__PURE__*/__styles({\n base: {\n Bceei9c: \"f1k6fduh\",\n jrapky: \"f49ad5g\",\n B6of3ja: \"f1xlvstr\",\n Byoj8tv: 0,\n uwmqm3: 0,\n z189sj: 0,\n z8tnut: 0,\n B0ocmuz: \"f1f5q0n8\"\n },\n above: {\n z8tnut: \"f1ywm7hm\",\n Byoj8tv: \"f14wxoun\",\n a9b677: \"fly5x3f\"\n },\n after: {\n uwmqm3: [\"fruq291\", \"f7x41pl\"]\n },\n before: {\n z189sj: [\"f7x41pl\", \"fruq291\"]\n }\n}, {\n d: [\".f1k6fduh{cursor:pointer;}\", \".f49ad5g{margin-bottom:calc((20px - var(--lineHeightBase300)) / 2);}\", \".f1xlvstr{margin-top:calc((20px - var(--lineHeightBase300)) / 2);}\", [\".f1f5q0n8{padding:var(--spacingVerticalS) var(--spacingHorizontalS);}\", {\n p: -1\n }], \".f1ywm7hm{padding-top:var(--spacingVerticalXS);}\", \".f14wxoun{padding-bottom:var(--spacingVerticalXS);}\", \".fly5x3f{width:100%;}\", \".fruq291{padding-left:var(--spacingHorizontalXS);}\", \".f7x41pl{padding-right:var(--spacingHorizontalXS);}\"]\n});\n/**\n * Apply styling to the Switch slots based on the state\n */\nexport const useSwitchStyles_unstable = state => {\n 'use no memo';\n\n const rootBaseClassName = useRootBaseClassName();\n const rootStyles = useRootStyles();\n const indicatorBaseClassName = useIndicatorBaseClassName();\n const indicatorStyles = useIndicatorStyles();\n const inputBaseClassName = useInputBaseClassName();\n const inputStyles = useInputStyles();\n const labelStyles = useLabelStyles();\n const {\n label,\n labelPosition\n } = state;\n state.root.className = mergeClasses(switchClassNames.root, rootBaseClassName, labelPosition === 'above' && rootStyles.vertical, state.root.className);\n state.indicator.className = mergeClasses(switchClassNames.indicator, indicatorBaseClassName, label && labelPosition === 'above' && indicatorStyles.labelAbove, state.indicator.className);\n state.input.className = mergeClasses(switchClassNames.input, inputBaseClassName, label && inputStyles[labelPosition], state.input.className);\n if (state.label) {\n state.label.className = mergeClasses(switchClassNames.label, labelStyles.base, labelStyles[labelPosition], state.label.className);\n }\n return state;\n};\n//# sourceMappingURL=useSwitchStyles.styles.js.map"],"names":["switchClassNames","switchClassName","useSwitchStyles_unstable","root","indicator","input","label","spaceBetweenThumbAndTrack","trackHeight","trackWidth","thumbSize","useRootBaseClassName","__resetStyles","r","s","useRootStyles","__styles","vertical","Beiy3e4","d","useIndicatorBaseClassName","useIndicatorStyles","labelAbove","B6of3ja","useInputBaseClassName","useInputStyles","before","j35jbq","Bhzewxz","after","oyh7mz","above","B5kzvoi","Bqenvij","a9b677","useLabelStyles","base","Bceei9c","jrapky","Byoj8tv","uwmqm3","z189sj","z8tnut","B0ocmuz","p","state","rootBaseClassName","rootStyles","indicatorBaseClassName","indicatorStyles","inputBaseClassName","inputStyles","labelStyles","labelPosition","className","mergeClasses"],"mappings":";;;;;;;;;;;IAGaA,gBAAgB;eAAhBA;;IASAC,eAAe;eAAfA;;IAgFAC,wBAAwB;eAAxBA;;;uBA1FyC;AAC/C,MAAMF,mBAAmB;IAC9BG,MAAM;IACNC,WAAW;IACXC,OAAO;IACPC,OAAO;AACT;AAIO,MAAML,kBAAkBD,iBAAiBG,IAAI;AACpD,+CAA+C;AAC/C,MAAMI,4BAA4B;AAClC,MAAMC,cAAc;AACpB,MAAMC,aAAa;AACnB,MAAMC,YAAYF,cAAcD;AAChC,MAAMI,uBAAuB,WAAW,GAAEC,IAAAA,oBAAa,EAAC,WAAW,WAAW;IAC5EC,GAAG;QAAC;QAAiG;QAAuC;QAA+C;QAA4K;QAA0R;QAAiG;QAAuC;QAA+C;QAA4K;KAAyR;IAC7vCC,GAAG;QAAC;QAA2M;KAA0M;AAC3Z;AACA,MAAMC,gBAAgB,WAAW,GAAEC,IAAAA,eAAQ,EAAC;IAC1CC,UAAU;QACRC,SAAS;IACX;AACF,GAAG;IACDC,GAAG;QAAC;KAAoC;AAC1C;AACA,MAAMC,4BAA4B,WAAW,GAAER,IAAAA,oBAAa,EAAC,YAAY,MAAM;IAC7EC,GAAG;QAAC;QAAuY;KAAwI;IACnhBC,GAAG;QAAC;QAA8F;QAAsG;KAA+F;AACzS;AACA,MAAMO,qBAAqB,WAAW,GAAEL,IAAAA,eAAQ,EAAC;IAC/CM,YAAY;QACVC,SAAS;IACX;AACF,GAAG;IACDJ,GAAG;QAAC;KAA2B;AACjC;AACA,MAAMK,wBAAwB,WAAW,GAAEZ,IAAAA,oBAAa,EAAC,WAAW,YAAY;IAC9EC,GAAG;QAAC;QAAqJ;QAA0E;QAAsC;QAA0F;QAAqG;QAAsJ;QAA4F;QAAsK;QAAiL;QAAiM;QAA2K;QAAoL;QAA2G;QAAgK;QAAsJ;QAA4E;QAAuC;QAA2F;QAAsG;QAAuJ;QAA6F;QAAuK;QAAkL;QAAkM;QAA4K;QAAqL;QAA4G;KAAgK;IACloHC,GAAG;QAAC;QAA+gB;KAAqhB;AAC1iC;AACA,MAAMW,iBAAiB,WAAW,GAAET,IAAAA,eAAQ,EAAC;IAC3CU,QAAQ;QACNC,QAAQ;YAAC;YAAY;SAAW;QAChCC,SAAS;IACX;IACAC,OAAO;QACLC,QAAQ;YAAC;YAAY;SAAW;QAChCF,SAAS;IACX;IACAG,OAAO;QACLC,SAAS;QACTC,SAAS;QACTC,QAAQ;IACV;AACF,GAAG;IACDf,GAAG;QAAC;QAAuB;QAAsB;QAAqB;QAAwB;QAA2D;KAAwB;AACnL;AACA,mGAAmG;AACnG,MAAMgB,iBAAiB,WAAW,GAAEnB,IAAAA,eAAQ,EAAC;IAC3CoB,MAAM;QACJC,SAAS;QACTC,QAAQ;QACRf,SAAS;QACTgB,SAAS;QACTC,QAAQ;QACRC,QAAQ;QACRC,QAAQ;QACRC,SAAS;IACX;IACAZ,OAAO;QACLW,QAAQ;QACRH,SAAS;QACTL,QAAQ;IACV;IACAL,OAAO;QACLW,QAAQ;YAAC;YAAW;SAAU;IAChC;IACAd,QAAQ;QACNe,QAAQ;YAAC;YAAW;SAAU;IAChC;AACF,GAAG;IACDtB,GAAG;QAAC;QAA8B;QAAwE;QAAsE;YAAC;YAAyE;gBACxPyB,GAAG,CAAC;YACN;SAAE;QAAE;QAAoD;QAAuD;QAAyB;QAAsD;KAAsD;AACtP;AAIO,MAAM1C,2BAA2B2C,CAAAA;IACtC;IAEA,MAAMC,oBAAoBnC;IAC1B,MAAMoC,aAAahC;IACnB,MAAMiC,yBAAyB5B;IAC/B,MAAM6B,kBAAkB5B;IACxB,MAAM6B,qBAAqB1B;IAC3B,MAAM2B,cAAc1B;IACpB,MAAM2B,cAAcjB;IACpB,MAAM,EACJ7B,KAAK,EACL+C,aAAa,EACd,GAAGR;IACJA,MAAM1C,IAAI,CAACmD,SAAS,GAAGC,IAAAA,mBAAY,EAACvD,iBAAiBG,IAAI,EAAE2C,mBAAmBO,kBAAkB,WAAWN,WAAW9B,QAAQ,EAAE4B,MAAM1C,IAAI,CAACmD,SAAS;IACpJT,MAAMzC,SAAS,CAACkD,SAAS,GAAGC,IAAAA,mBAAY,EAACvD,iBAAiBI,SAAS,EAAE4C,wBAAwB1C,SAAS+C,kBAAkB,WAAWJ,gBAAgB3B,UAAU,EAAEuB,MAAMzC,SAAS,CAACkD,SAAS;IACxLT,MAAMxC,KAAK,CAACiD,SAAS,GAAGC,IAAAA,mBAAY,EAACvD,iBAAiBK,KAAK,EAAE6C,oBAAoB5C,SAAS6C,WAAW,CAACE,cAAc,EAAER,MAAMxC,KAAK,CAACiD,SAAS;IAC3I,IAAIT,MAAMvC,KAAK,EAAE;QACfuC,MAAMvC,KAAK,CAACgD,SAAS,GAAGC,IAAAA,mBAAY,EAACvD,iBAAiBM,KAAK,EAAE8C,YAAYhB,IAAI,EAAEgB,WAAW,CAACC,cAAc,EAAER,MAAMvC,KAAK,CAACgD,SAAS;IAClI;IACA,OAAOT;AACT,GACA,kDAAkD"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fluentui/react-switch",
|
3
|
-
"version": "9.1.
|
3
|
+
"version": "9.1.87",
|
4
4
|
"description": "Fluent UI React Switch component.",
|
5
5
|
"main": "lib-commonjs/index.js",
|
6
6
|
"module": "lib/index.js",
|
@@ -20,10 +20,9 @@
|
|
20
20
|
"lint": "just-scripts lint",
|
21
21
|
"start": "yarn storybook",
|
22
22
|
"test": "jest --passWithNoTests",
|
23
|
-
"storybook": "
|
24
|
-
"type-check": "
|
25
|
-
"generate-api": "just-scripts generate-api"
|
26
|
-
"test-ssr": "test-ssr \"./stories/**/*.stories.tsx\""
|
23
|
+
"storybook": "yarn --cwd ../stories storybook",
|
24
|
+
"type-check": "just-scripts type-check",
|
25
|
+
"generate-api": "just-scripts generate-api"
|
27
26
|
},
|
28
27
|
"devDependencies": {
|
29
28
|
"@fluentui/eslint-plugin": "*",
|
@@ -33,14 +32,14 @@
|
|
33
32
|
"@fluentui/scripts-tasks": "*"
|
34
33
|
},
|
35
34
|
"dependencies": {
|
36
|
-
"@fluentui/react-field": "^9.1.
|
37
|
-
"@fluentui/react-icons": "^2.0.
|
38
|
-
"@fluentui/react-jsx-runtime": "^9.0.
|
39
|
-
"@fluentui/react-label": "^9.1.
|
35
|
+
"@fluentui/react-field": "^9.1.69",
|
36
|
+
"@fluentui/react-icons": "^2.0.245",
|
37
|
+
"@fluentui/react-jsx-runtime": "^9.0.40",
|
38
|
+
"@fluentui/react-label": "^9.1.72",
|
40
39
|
"@fluentui/react-shared-contexts": "^9.19.0",
|
41
|
-
"@fluentui/react-tabster": "^9.
|
40
|
+
"@fluentui/react-tabster": "^9.22.1",
|
42
41
|
"@fluentui/react-theme": "^9.1.19",
|
43
|
-
"@fluentui/react-utilities": "^9.18.
|
42
|
+
"@fluentui/react-utilities": "^9.18.11",
|
44
43
|
"@griffel/react": "^1.5.22",
|
45
44
|
"@swc/helpers": "^0.5.1"
|
46
45
|
},
|