@fluentui/react-switch 9.0.0-rc.7 → 9.0.0

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