@fluentui/react-switch 9.0.0-rc.8 → 9.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/CHANGELOG.json +387 -1
  2. package/CHANGELOG.md +152 -37
  3. package/MIGRATION.md +1 -5
  4. package/README.md +20 -14
  5. package/Spec.md +2 -2
  6. package/dist/index.d.ts +19 -18
  7. package/{lib → dist}/tsdoc-metadata.json +0 -0
  8. package/lib/components/Switch/Switch.js.map +1 -1
  9. package/lib/components/Switch/Switch.types.js.map +1 -1
  10. package/lib/components/Switch/renderSwitch.js.map +1 -1
  11. package/lib/components/Switch/useSwitch.js.map +1 -1
  12. package/lib/components/Switch/useSwitchStyles.js +64 -61
  13. package/lib/components/Switch/useSwitchStyles.js.map +1 -1
  14. package/lib-commonjs/components/Switch/Switch.js.map +1 -1
  15. package/lib-commonjs/components/Switch/renderSwitch.js.map +1 -1
  16. package/lib-commonjs/components/Switch/useSwitch.js.map +1 -1
  17. package/lib-commonjs/components/Switch/useSwitchStyles.js +64 -61
  18. package/lib-commonjs/components/Switch/useSwitchStyles.js.map +1 -1
  19. package/lib-commonjs/index.js.map +1 -1
  20. package/package.json +12 -14
  21. package/lib/Switch.d.ts +0 -1
  22. package/lib/components/Switch/Switch.d.ts +0 -6
  23. package/lib/components/Switch/Switch.types.d.ts +0 -65
  24. package/lib/components/Switch/index.d.ts +0 -5
  25. package/lib/components/Switch/renderSwitch.d.ts +0 -5
  26. package/lib/components/Switch/useSwitch.d.ts +0 -12
  27. package/lib/components/Switch/useSwitchStyles.d.ts +0 -11
  28. package/lib/index.d.ts +0 -2
  29. package/lib-commonjs/Switch.d.ts +0 -1
  30. package/lib-commonjs/components/Switch/Switch.d.ts +0 -6
  31. package/lib-commonjs/components/Switch/Switch.types.d.ts +0 -65
  32. package/lib-commonjs/components/Switch/index.d.ts +0 -5
  33. package/lib-commonjs/components/Switch/renderSwitch.d.ts +0 -5
  34. package/lib-commonjs/components/Switch/useSwitch.d.ts +0 -12
  35. package/lib-commonjs/components/Switch/useSwitchStyles.d.ts +0 -11
  36. package/lib-commonjs/index.d.ts +0 -2
package/CHANGELOG.json CHANGED
@@ -2,7 +2,393 @@
2
2
  "name": "@fluentui/react-switch",
3
3
  "entries": [
4
4
  {
5
- "date": "Wed, 04 May 2022 13:24:19 GMT",
5
+ "date": "Tue, 28 Jun 2022 17:37:52 GMT",
6
+ "tag": "@fluentui/react-switch_v9.0.1",
7
+ "version": "9.0.1",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "author": "lingfangao@hotmail.com",
12
+ "package": "@fluentui/react-switch",
13
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b",
14
+ "comment": "fix: Use caret dependency range for Griffel"
15
+ },
16
+ {
17
+ "author": "beachball",
18
+ "package": "@fluentui/react-switch",
19
+ "comment": "Bump @fluentui/react-label to v9.0.1",
20
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
21
+ },
22
+ {
23
+ "author": "beachball",
24
+ "package": "@fluentui/react-switch",
25
+ "comment": "Bump @fluentui/react-tabster to v9.0.1",
26
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
27
+ },
28
+ {
29
+ "author": "beachball",
30
+ "package": "@fluentui/react-switch",
31
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.10",
32
+ "commit": "3deda1fbbfb6ac2b1ad150d4dc6343f1f7fda85b"
33
+ }
34
+ ]
35
+ }
36
+ },
37
+ {
38
+ "date": "Tue, 28 Jun 2022 15:14:04 GMT",
39
+ "tag": "@fluentui/react-switch_v9.0.0",
40
+ "version": "9.0.0",
41
+ "comments": {
42
+ "prerelease": [
43
+ {
44
+ "author": "lingfangao@hotmail.com",
45
+ "package": "@fluentui/react-switch",
46
+ "commit": "675acea49c97f10837ddee9b8c4350ca27750125",
47
+ "comment": "Bump Griffel dependencies"
48
+ },
49
+ {
50
+ "author": "Humberto.Morimoto@microsoft.com",
51
+ "package": "@fluentui/react-switch",
52
+ "commit": "fd4c88b3915ed3e26d4d39bcb24390343b8299ac",
53
+ "comment": "fix: Removing user-select: 'none' from label."
54
+ },
55
+ {
56
+ "author": "Humberto.Morimoto@microsoft.com",
57
+ "package": "@fluentui/react-switch",
58
+ "commit": "79a3a86436a5194f83cdaf561cd04e24a9a07d78",
59
+ "comment": "README update."
60
+ },
61
+ {
62
+ "author": "olfedias@microsoft.com",
63
+ "package": "@fluentui/react-switch",
64
+ "commit": "82bd30dd41ad58df1f325e9b721200ed15d674a2",
65
+ "comment": "chore: Update @fluentui/react-icons to latest version"
66
+ },
67
+ {
68
+ "author": "Humberto.Morimoto@microsoft.com",
69
+ "package": "@fluentui/react-switch",
70
+ "commit": "5e326ed2e7068e8eb75df4a54495c27206ec831b",
71
+ "comment": "fix: Making thumb be vertically centered in Switch."
72
+ },
73
+ {
74
+ "author": "Humberto.Morimoto@microsoft.com",
75
+ "package": "@fluentui/react-switch",
76
+ "commit": "5f06f19e57ffdc265f10ef26db086bf48dc8f610",
77
+ "comment": "README, spec and migration guide cleanup."
78
+ },
79
+ {
80
+ "author": "lingfangao@hotmail.com",
81
+ "package": "@fluentui/react-switch",
82
+ "commit": "e0aabd850b15adf9c151ebd4e332f7c50ad6cfdf",
83
+ "comment": "Update 9.0.0-rc dependencies to use caret range"
84
+ }
85
+ ],
86
+ "patch": [
87
+ {
88
+ "author": "lingfangao@hotmail.com",
89
+ "package": "@fluentui/react-switch",
90
+ "commit": "c7b1348bdad7aa883c29bfbc96ef2a32e6ebc7dd",
91
+ "comment": "feat: Initial 9.0.0 release"
92
+ },
93
+ {
94
+ "author": "beachball",
95
+ "package": "@fluentui/react-switch",
96
+ "comment": "Bump @fluentui/react-label to v9.0.0",
97
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
98
+ },
99
+ {
100
+ "author": "beachball",
101
+ "package": "@fluentui/react-switch",
102
+ "comment": "Bump @fluentui/react-tabster to v9.0.0",
103
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
104
+ },
105
+ {
106
+ "author": "beachball",
107
+ "package": "@fluentui/react-switch",
108
+ "comment": "Bump @fluentui/react-theme to v9.0.0",
109
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
110
+ },
111
+ {
112
+ "author": "beachball",
113
+ "package": "@fluentui/react-switch",
114
+ "comment": "Bump @fluentui/react-utilities to v9.0.0",
115
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
116
+ },
117
+ {
118
+ "author": "beachball",
119
+ "package": "@fluentui/react-switch",
120
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.9",
121
+ "commit": "ba6c5d651559b91c815429c9a9357c4d5a390f3e"
122
+ }
123
+ ],
124
+ "none": [
125
+ {
126
+ "author": "mgodbolt@microsoft.com",
127
+ "package": "@fluentui/react-switch",
128
+ "commit": "ef7385bdc0dc640657b18bd2c51a5f3ef91113a5",
129
+ "comment": "chore: Convert switch to index based stories"
130
+ }
131
+ ]
132
+ }
133
+ },
134
+ {
135
+ "date": "Thu, 23 Jun 2022 14:25:31 GMT",
136
+ "tag": "@fluentui/react-switch_v9.0.0-rc.14",
137
+ "version": "9.0.0-rc.14",
138
+ "comments": {
139
+ "prerelease": [
140
+ {
141
+ "author": "beachball",
142
+ "package": "@fluentui/react-switch",
143
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.6",
144
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
145
+ },
146
+ {
147
+ "author": "beachball",
148
+ "package": "@fluentui/react-switch",
149
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.14",
150
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
151
+ },
152
+ {
153
+ "author": "beachball",
154
+ "package": "@fluentui/react-switch",
155
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.10",
156
+ "commit": "b00790b7a0ea1473d8c3cc49c7ca0088002957ed"
157
+ }
158
+ ]
159
+ }
160
+ },
161
+ {
162
+ "date": "Tue, 31 May 2022 21:28:47 GMT",
163
+ "tag": "@fluentui/react-switch_v9.0.0-rc.13",
164
+ "version": "9.0.0-rc.13",
165
+ "comments": {
166
+ "prerelease": [
167
+ {
168
+ "author": "olfedias@microsoft.com",
169
+ "package": "@fluentui/react-switch",
170
+ "commit": "0a5e9fa77a72eecafdd07034ccdc0b95fd49877c",
171
+ "comment": "chore: Update Griffel to latest version"
172
+ },
173
+ {
174
+ "author": "beachball",
175
+ "package": "@fluentui/react-switch",
176
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.5",
177
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
178
+ },
179
+ {
180
+ "author": "beachball",
181
+ "package": "@fluentui/react-switch",
182
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.13",
183
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
184
+ },
185
+ {
186
+ "author": "beachball",
187
+ "package": "@fluentui/react-switch",
188
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.10",
189
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
190
+ },
191
+ {
192
+ "author": "beachball",
193
+ "package": "@fluentui/react-switch",
194
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.8",
195
+ "commit": "335ebfcfd47005003901b5e319782bfe9ccd89fd"
196
+ }
197
+ ]
198
+ }
199
+ },
200
+ {
201
+ "date": "Thu, 26 May 2022 21:01:30 GMT",
202
+ "tag": "@fluentui/react-switch_v9.0.0-rc.12",
203
+ "version": "9.0.0-rc.12",
204
+ "comments": {
205
+ "none": [
206
+ {
207
+ "author": "olfedias@microsoft.com",
208
+ "package": "@fluentui/react-switch",
209
+ "commit": "8735876a860005ac5bde07c20da265b23341682a",
210
+ "comment": "cleanup stories & docs"
211
+ }
212
+ ],
213
+ "prerelease": [
214
+ {
215
+ "author": "beachball",
216
+ "package": "@fluentui/react-switch",
217
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.4",
218
+ "commit": "3cf55ce998048554bf6a550de44403843ea8ede0"
219
+ },
220
+ {
221
+ "author": "beachball",
222
+ "package": "@fluentui/react-switch",
223
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.12",
224
+ "commit": "3cf55ce998048554bf6a550de44403843ea8ede0"
225
+ }
226
+ ]
227
+ }
228
+ },
229
+ {
230
+ "date": "Mon, 23 May 2022 18:56:51 GMT",
231
+ "tag": "@fluentui/react-switch_v9.0.0-rc.11",
232
+ "version": "9.0.0-rc.11",
233
+ "comments": {
234
+ "prerelease": [
235
+ {
236
+ "author": "beachball",
237
+ "package": "@fluentui/react-switch",
238
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.3",
239
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
240
+ },
241
+ {
242
+ "author": "beachball",
243
+ "package": "@fluentui/react-switch",
244
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.11",
245
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
246
+ },
247
+ {
248
+ "author": "beachball",
249
+ "package": "@fluentui/react-switch",
250
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.9",
251
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
252
+ },
253
+ {
254
+ "author": "beachball",
255
+ "package": "@fluentui/react-switch",
256
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.7",
257
+ "commit": "d4f80b17690e962d6a24e68959608d1ffe84aef6"
258
+ }
259
+ ]
260
+ }
261
+ },
262
+ {
263
+ "date": "Mon, 23 May 2022 12:13:46 GMT",
264
+ "tag": "@fluentui/react-switch_v9.0.0-rc.10",
265
+ "version": "9.0.0-rc.10",
266
+ "comments": {
267
+ "prerelease": [
268
+ {
269
+ "author": "olfedias@microsoft.com",
270
+ "package": "@fluentui/react-switch",
271
+ "commit": "f120fe9160ad7311a87af0cfacd8d2fb26275e34",
272
+ "comment": "chore: Update Griffel to latest version"
273
+ },
274
+ {
275
+ "author": "behowell@microsoft.com",
276
+ "package": "@fluentui/react-switch",
277
+ "commit": "c0b27cce0d29122e4488ff431689b966076a728b",
278
+ "comment": "Replace hardcoded padding with spacing tokens"
279
+ },
280
+ {
281
+ "author": "behowell@microsoft.com",
282
+ "package": "@fluentui/react-switch",
283
+ "commit": "45ec789399b65b76b80cc8023d977de7d2b8b579",
284
+ "comment": "Refactor styles to remove usage of flex gap"
285
+ },
286
+ {
287
+ "author": "esteban.230@hotmail.com",
288
+ "package": "@fluentui/react-switch",
289
+ "commit": "0fac2d7a6f35c5fcebaf30da68b9604410fe0eb9",
290
+ "comment": "Updated react-label package version to RC."
291
+ },
292
+ {
293
+ "author": "martinhochel@microsoft.com",
294
+ "package": "@fluentui/react-switch",
295
+ "commit": "eb1084fd607c0d1086f9d465168be5822daa5e40",
296
+ "comment": "feat: ship rolluped only dts"
297
+ },
298
+ {
299
+ "author": "Humberto.Morimoto@microsoft.com",
300
+ "package": "@fluentui/react-switch",
301
+ "commit": "ec6c1a33b3c4cec9422d07bcffc48b85928c22d2",
302
+ "comment": "Removing SwitchCommons type in @fluentui/react-switch."
303
+ },
304
+ {
305
+ "author": "olfedias@microsoft.com",
306
+ "package": "@fluentui/react-switch",
307
+ "commit": "60804cec07a495b8a5d1fc66338bf0443b212144",
308
+ "comment": "chore: Update Griffel to latest version"
309
+ },
310
+ {
311
+ "author": "beachball",
312
+ "package": "@fluentui/react-switch",
313
+ "comment": "Bump @fluentui/react-label to v9.0.0-rc.2",
314
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
315
+ },
316
+ {
317
+ "author": "beachball",
318
+ "package": "@fluentui/react-switch",
319
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.10",
320
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
321
+ },
322
+ {
323
+ "author": "beachball",
324
+ "package": "@fluentui/react-switch",
325
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.8",
326
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
327
+ },
328
+ {
329
+ "author": "beachball",
330
+ "package": "@fluentui/react-switch",
331
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.9",
332
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
333
+ },
334
+ {
335
+ "author": "beachball",
336
+ "package": "@fluentui/react-switch",
337
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6",
338
+ "commit": "8d58f08997acf595e3eb7f628123e7fa7830c394"
339
+ }
340
+ ]
341
+ }
342
+ },
343
+ {
344
+ "date": "Thu, 05 May 2022 18:26:26 GMT",
345
+ "tag": "@fluentui/react-switch_v9.0.0-rc.9",
346
+ "version": "9.0.0-rc.9",
347
+ "comments": {
348
+ "none": [
349
+ {
350
+ "author": "tristan.watanabe@gmail.com",
351
+ "package": "@fluentui/react-switch",
352
+ "commit": "ad3dfcc6d85a8dba3c183612fe552280cd33c20e",
353
+ "comment": "react-switch: Move to new common folder."
354
+ }
355
+ ],
356
+ "prerelease": [
357
+ {
358
+ "author": "beachball",
359
+ "package": "@fluentui/react-switch",
360
+ "comment": "Bump @fluentui/react-label to v9.0.0-beta.12",
361
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
362
+ },
363
+ {
364
+ "author": "beachball",
365
+ "package": "@fluentui/react-switch",
366
+ "comment": "Bump @fluentui/react-tabster to v9.0.0-rc.9",
367
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
368
+ },
369
+ {
370
+ "author": "beachball",
371
+ "package": "@fluentui/react-switch",
372
+ "comment": "Bump @fluentui/react-theme to v9.0.0-rc.7",
373
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
374
+ },
375
+ {
376
+ "author": "beachball",
377
+ "package": "@fluentui/react-switch",
378
+ "comment": "Bump @fluentui/react-utilities to v9.0.0-rc.8",
379
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
380
+ },
381
+ {
382
+ "author": "beachball",
383
+ "package": "@fluentui/react-switch",
384
+ "comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5",
385
+ "commit": "c5abb9c480ac94d12aa644d68d30773d77f2a159"
386
+ }
387
+ ]
388
+ }
389
+ },
390
+ {
391
+ "date": "Wed, 04 May 2022 13:26:51 GMT",
6
392
  "tag": "@fluentui/react-switch_v9.0.0-rc.8",
7
393
  "version": "9.0.0-rc.8",
8
394
  "comments": {