@fluentui/react-switch 9.0.0-nightly.f81b28ceb3.1 → 9.0.0-rc.4
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.json +353 -28
- package/CHANGELOG.md +96 -16
- package/Spec.md +4 -4
- package/dist/react-switch.d.ts +60 -46
- package/lib/Switch.js.map +1 -1
- package/lib/components/Switch/Switch.d.ts +1 -1
- package/lib/components/Switch/Switch.js +8 -8
- package/lib/components/Switch/Switch.js.map +1 -1
- package/lib/components/Switch/Switch.types.d.ts +44 -37
- package/lib/components/Switch/Switch.types.js.map +1 -1
- package/lib/components/Switch/index.js.map +1 -1
- package/lib/components/Switch/renderSwitch.d.ts +2 -2
- package/lib/components/Switch/renderSwitch.js +15 -9
- package/lib/components/Switch/renderSwitch.js.map +1 -1
- package/lib/components/Switch/useSwitch.d.ts +9 -7
- package/lib/components/Switch/useSwitch.js +70 -54
- package/lib/components/Switch/useSwitch.js.map +1 -1
- package/lib/components/Switch/useSwitchStyles.d.ts +6 -2
- package/lib/components/Switch/useSwitchStyles.js +155 -267
- package/lib/components/Switch/useSwitchStyles.js.map +1 -1
- package/lib/index.js.map +1 -1
- package/lib-commonjs/Switch.js +1 -1
- package/lib-commonjs/Switch.js.map +1 -1
- package/lib-commonjs/components/Switch/Switch.d.ts +1 -1
- package/lib-commonjs/components/Switch/Switch.js +9 -9
- package/lib-commonjs/components/Switch/Switch.js.map +1 -1
- package/lib-commonjs/components/Switch/Switch.types.d.ts +44 -37
- package/lib-commonjs/components/Switch/Switch.types.js.map +1 -1
- package/lib-commonjs/components/Switch/index.js +1 -1
- package/lib-commonjs/components/Switch/index.js.map +1 -1
- package/lib-commonjs/components/Switch/renderSwitch.d.ts +2 -2
- package/lib-commonjs/components/Switch/renderSwitch.js +19 -15
- package/lib-commonjs/components/Switch/renderSwitch.js.map +1 -1
- package/lib-commonjs/components/Switch/useSwitch.d.ts +9 -7
- package/lib-commonjs/components/Switch/useSwitch.js +73 -56
- package/lib-commonjs/components/Switch/useSwitch.js.map +1 -1
- package/lib-commonjs/components/Switch/useSwitchStyles.d.ts +6 -2
- package/lib-commonjs/components/Switch/useSwitchStyles.js +159 -270
- package/lib-commonjs/components/Switch/useSwitchStyles.js.map +1 -1
- package/lib-commonjs/index.js +1 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +12 -15
- package/lib/common/isConformant.d.ts +0 -4
- package/lib/common/isConformant.js +0 -12
- package/lib/common/isConformant.js.map +0 -1
- package/lib/components/Switch/useSwitchState.d.ts +0 -2
- package/lib/components/Switch/useSwitchState.js +0 -152
- package/lib/components/Switch/useSwitchState.js.map +0 -1
- package/lib-commonjs/common/isConformant.d.ts +0 -4
- package/lib-commonjs/common/isConformant.js +0 -23
- package/lib-commonjs/common/isConformant.js.map +0 -1
- package/lib-commonjs/components/Switch/useSwitchState.d.ts +0 -2
- package/lib-commonjs/components/Switch/useSwitchState.js +0 -164
- package/lib-commonjs/components/Switch/useSwitchState.js.map +0 -1
package/CHANGELOG.json
CHANGED
@@ -2,82 +2,407 @@
|
|
2
2
|
"name": "@fluentui/react-switch",
|
3
3
|
"entries": [
|
4
4
|
{
|
5
|
-
"date": "Tue,
|
6
|
-
"tag": "@fluentui/react-switch_v9.0.0-
|
7
|
-
"version": "9.0.0-
|
5
|
+
"date": "Tue, 01 Mar 2022 02:16:12 GMT",
|
6
|
+
"tag": "@fluentui/react-switch_v9.0.0-rc.4",
|
7
|
+
"version": "9.0.0-rc.4",
|
8
8
|
"comments": {
|
9
9
|
"prerelease": [
|
10
10
|
{
|
11
|
-
"author": "
|
11
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
12
|
+
"package": "@fluentui/react-switch",
|
13
|
+
"commit": "72b08d56fa19f3b580da0497758af54a6afcf69b",
|
14
|
+
"comment": "Switch: Re-implementing component to make it simpler and making it adhere to latest patterns."
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"author": "olfedias@microsoft.com",
|
18
|
+
"package": "@fluentui/react-switch",
|
19
|
+
"commit": "084d7408855f3e52b67cbca172da1acef9dcb98f",
|
20
|
+
"comment": "fix: Add react-theme as dependency"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"author": "beachball",
|
24
|
+
"package": "@fluentui/react-switch",
|
25
|
+
"comment": "Bump @fluentui/react-label to v9.0.0-beta.8",
|
26
|
+
"commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"author": "beachball",
|
30
|
+
"package": "@fluentui/react-switch",
|
31
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.4",
|
32
|
+
"commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"author": "beachball",
|
36
|
+
"package": "@fluentui/react-switch",
|
37
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.4",
|
38
|
+
"commit": "0bc1e755543ed69443d5d03e1976c630583242f7"
|
39
|
+
}
|
40
|
+
]
|
41
|
+
}
|
42
|
+
},
|
43
|
+
{
|
44
|
+
"date": "Fri, 18 Feb 2022 13:35:34 GMT",
|
45
|
+
"tag": "@fluentui/react-switch_v9.0.0-rc.3",
|
46
|
+
"version": "9.0.0-rc.3",
|
47
|
+
"comments": {
|
48
|
+
"prerelease": [
|
49
|
+
{
|
50
|
+
"author": "mgodbolt@microsoft.com",
|
51
|
+
"package": "@fluentui/react-switch",
|
52
|
+
"commit": "2c9804dd585c1b485736c34321264dc62abe6fe1",
|
53
|
+
"comment": "fix visual display of controlled switches"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"author": "lingfangao@hotmail.com",
|
57
|
+
"package": "@fluentui/react-switch",
|
58
|
+
"commit": "1aa9e691fcccd9a64168cea7941c0f1e71fa1d14",
|
59
|
+
"comment": "fix: Source maps contain original source code"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"author": "beachball",
|
63
|
+
"package": "@fluentui/react-switch",
|
64
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.3",
|
65
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"author": "beachball",
|
69
|
+
"package": "@fluentui/react-switch",
|
70
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.3",
|
71
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"author": "beachball",
|
75
|
+
"package": "@fluentui/react-switch",
|
76
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.3",
|
77
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"author": "beachball",
|
81
|
+
"package": "@fluentui/react-switch",
|
82
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3",
|
83
|
+
"commit": "3b9c1e931c23173da3d1af0c696cdc58516ce504"
|
84
|
+
}
|
85
|
+
]
|
86
|
+
}
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"date": "Thu, 10 Feb 2022 08:50:51 GMT",
|
90
|
+
"tag": "@fluentui/react-switch_v9.0.0-rc.1",
|
91
|
+
"version": "9.0.0-rc.1",
|
92
|
+
"comments": {
|
93
|
+
"none": [
|
94
|
+
{
|
95
|
+
"author": "martinhochel@microsoft.com",
|
96
|
+
"package": "@fluentui/react-switch",
|
97
|
+
"commit": "8dfa712156b70414205b87b5b6d099367b0c297d",
|
98
|
+
"comment": "chore: use storybook runner for all vNext packages"
|
99
|
+
},
|
100
|
+
{
|
101
|
+
"author": "andredias@microsoft.com",
|
102
|
+
"package": "@fluentui/react-switch",
|
103
|
+
"commit": "bf950e951b102fd8be046993dbb604073fc4ea9e",
|
104
|
+
"comment": "Migrate package to use solution tsconfigs"
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"author": "martinhochel@microsoft.com",
|
108
|
+
"package": "@fluentui/react-switch",
|
109
|
+
"commit": "28ceaaa83cd92a0389c466f0b15b283e3d9b08e4",
|
110
|
+
"comment": "test(react-switch): update snapshots to match new JSDOM"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"author": "olfedias@microsoft.com",
|
114
|
+
"package": "@fluentui/react-switch",
|
115
|
+
"commit": "c061e98be4b4a718c72a144a1f60bb5515824612",
|
116
|
+
"comment": "remove inline-style-expand-shorthand from tsconfigs"
|
117
|
+
}
|
118
|
+
],
|
119
|
+
"prerelease": [
|
120
|
+
{
|
121
|
+
"author": "olfedias@microsoft.com",
|
122
|
+
"package": "@fluentui/react-switch",
|
123
|
+
"commit": "1df1d6e85bd3a6ab2a7b13e96a9aac324bb6d00c",
|
124
|
+
"comment": "Replace make-styles packages with griffel equivalents."
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
128
|
+
"package": "@fluentui/react-switch",
|
129
|
+
"commit": "e0b8e1fa6980077e7b311fd1c72c28d3e4305db0",
|
130
|
+
"comment": "Updating based on changes to composition types."
|
131
|
+
},
|
132
|
+
{
|
133
|
+
"author": "behowell@microsoft.com",
|
134
|
+
"package": "@fluentui/react-switch",
|
135
|
+
"commit": "7cc28ed8320b00f42d91c63882f10316db2205c5",
|
136
|
+
"comment": "Remove component's shorthandProps array"
|
137
|
+
},
|
138
|
+
{
|
139
|
+
"author": "behowell@microsoft.com",
|
140
|
+
"package": "@fluentui/react-switch",
|
141
|
+
"commit": "53b01d71e335715fda91b33e3d7bbd9d471d5ed3",
|
142
|
+
"comment": "Refactor component Slot typings"
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"author": "mgodbolt@microsoft.com",
|
146
|
+
"package": "@fluentui/react-switch",
|
147
|
+
"commit": "839ec14849e112b85aa321d034739ec421199141",
|
148
|
+
"comment": "remove export of commons types"
|
149
|
+
},
|
150
|
+
{
|
151
|
+
"author": "olfedias@microsoft.com",
|
152
|
+
"package": "@fluentui/react-switch",
|
153
|
+
"commit": "029a7f2fe40e5abe21d8992ad9d92bf2b04d0e97",
|
154
|
+
"comment": "update styles to not use CSS shorthands"
|
155
|
+
},
|
156
|
+
{
|
157
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
158
|
+
"package": "@fluentui/react-switch",
|
159
|
+
"commit": "b52ebbbf185a2ddc4de814238f9438fd04bfba02",
|
160
|
+
"comment": "Replacing use of functions in makeStyles with direct use of tokens."
|
161
|
+
},
|
162
|
+
{
|
163
|
+
"author": "Humberto.Morimoto@microsoft.com",
|
164
|
+
"package": "@fluentui/react-switch",
|
165
|
+
"commit": "38c8bed2c707014688ae2ae689033fa36ef23075",
|
166
|
+
"comment": "Updating packages based on changes to focusIndicator functions to remove functions from makeStyles in @fluentui/react-tabster."
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"author": "behowell@microsoft.com",
|
170
|
+
"package": "@fluentui/react-switch",
|
171
|
+
"commit": "317209bb5cd57c40f35bc42060acb7e3cce5ec95",
|
172
|
+
"comment": "BREAKING: Rename component hooks add the suffix _unstable, as their API has not been finalized yet"
|
173
|
+
},
|
174
|
+
{
|
175
|
+
"author": "lingfangao@hotmail.com",
|
12
176
|
"package": "@fluentui/react-switch",
|
13
|
-
"
|
14
|
-
"
|
177
|
+
"commit": "c00913d50e2dd15bbfbb0757cefe43b192ff1d7f",
|
178
|
+
"comment": "Bump Fluent UI dependencies to 9.0.0-rc"
|
15
179
|
},
|
180
|
+
{
|
181
|
+
"author": "beachball",
|
182
|
+
"package": "@fluentui/react-switch",
|
183
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-rc.1",
|
184
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
185
|
+
},
|
186
|
+
{
|
187
|
+
"author": "beachball",
|
188
|
+
"package": "@fluentui/react-switch",
|
189
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-rc.1",
|
190
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
191
|
+
},
|
192
|
+
{
|
193
|
+
"author": "beachball",
|
194
|
+
"package": "@fluentui/react-switch",
|
195
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-rc.1",
|
196
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"author": "beachball",
|
200
|
+
"package": "@fluentui/react-switch",
|
201
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1",
|
202
|
+
"commit": "e6c855f6d9019d6c73668d15fc9bc3a13291a6c8"
|
203
|
+
}
|
204
|
+
]
|
205
|
+
}
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"date": "Thu, 25 Nov 2021 08:34:17 GMT",
|
209
|
+
"tag": "@fluentui/react-switch_v9.0.0-beta.5",
|
210
|
+
"version": "9.0.0-beta.5",
|
211
|
+
"comments": {
|
212
|
+
"prerelease": [
|
213
|
+
{
|
214
|
+
"author": "beachball",
|
215
|
+
"package": "@fluentui/react-switch",
|
216
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.4",
|
217
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
218
|
+
},
|
219
|
+
{
|
220
|
+
"author": "beachball",
|
221
|
+
"package": "@fluentui/react-switch",
|
222
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.4",
|
223
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
224
|
+
},
|
225
|
+
{
|
226
|
+
"author": "beachball",
|
227
|
+
"package": "@fluentui/react-switch",
|
228
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.5",
|
229
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
230
|
+
},
|
231
|
+
{
|
232
|
+
"author": "beachball",
|
233
|
+
"package": "@fluentui/react-switch",
|
234
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.4",
|
235
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
236
|
+
},
|
237
|
+
{
|
238
|
+
"author": "beachball",
|
239
|
+
"package": "@fluentui/react-switch",
|
240
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.4",
|
241
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
242
|
+
},
|
243
|
+
{
|
244
|
+
"author": "beachball",
|
245
|
+
"package": "@fluentui/react-switch",
|
246
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4",
|
247
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
248
|
+
},
|
249
|
+
{
|
250
|
+
"author": "beachball",
|
251
|
+
"package": "@fluentui/react-switch",
|
252
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4",
|
253
|
+
"commit": "48d236ac53a4950fabc3ddd52f91dac93ca0195b"
|
254
|
+
}
|
255
|
+
]
|
256
|
+
}
|
257
|
+
},
|
258
|
+
{
|
259
|
+
"date": "Fri, 12 Nov 2021 13:25:33 GMT",
|
260
|
+
"tag": "@fluentui/react-switch_v9.0.0-beta.4",
|
261
|
+
"version": "9.0.0-beta.4",
|
262
|
+
"comments": {
|
263
|
+
"none": [
|
264
|
+
{
|
265
|
+
"author": "olfedias@microsoft.com",
|
266
|
+
"package": "@fluentui/react-switch",
|
267
|
+
"commit": "9e6977945782df1cc997c92804a1b214cc4e4f43",
|
268
|
+
"comment": "do not use other packages in devDependencies"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"author": "lingfangao@hotmail.com",
|
272
|
+
"package": "@fluentui/react-switch",
|
273
|
+
"commit": "00f70581480b536e723fb69edf0ae617beac4807",
|
274
|
+
"comment": "Remove beta release tag"
|
275
|
+
}
|
276
|
+
],
|
277
|
+
"prerelease": [
|
278
|
+
{
|
279
|
+
"author": "olfedias@microsoft.com",
|
280
|
+
"package": "@fluentui/react-switch",
|
281
|
+
"commit": "9186578324773f95f4d61be3d70e67752159d843",
|
282
|
+
"comment": "export static classes for components"
|
283
|
+
},
|
284
|
+
{
|
285
|
+
"author": "beachball",
|
286
|
+
"package": "@fluentui/react-switch",
|
287
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.3",
|
288
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"author": "beachball",
|
292
|
+
"package": "@fluentui/react-switch",
|
293
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.3",
|
294
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
295
|
+
},
|
296
|
+
{
|
297
|
+
"author": "beachball",
|
298
|
+
"package": "@fluentui/react-switch",
|
299
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.4",
|
300
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
301
|
+
},
|
302
|
+
{
|
303
|
+
"author": "beachball",
|
304
|
+
"package": "@fluentui/react-switch",
|
305
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.3",
|
306
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"author": "beachball",
|
310
|
+
"package": "@fluentui/react-switch",
|
311
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.3",
|
312
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
313
|
+
},
|
314
|
+
{
|
315
|
+
"author": "beachball",
|
316
|
+
"package": "@fluentui/react-switch",
|
317
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3",
|
318
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
319
|
+
},
|
320
|
+
{
|
321
|
+
"author": "beachball",
|
322
|
+
"package": "@fluentui/react-switch",
|
323
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3",
|
324
|
+
"commit": "742342e52c65066f779232e4e1302fedf0dd460d"
|
325
|
+
}
|
326
|
+
]
|
327
|
+
}
|
328
|
+
},
|
329
|
+
{
|
330
|
+
"date": "Wed, 27 Oct 2021 12:14:22 GMT",
|
331
|
+
"tag": "@fluentui/react-switch_v9.0.0-beta.3",
|
332
|
+
"version": "9.0.0-beta.3",
|
333
|
+
"comments": {
|
334
|
+
"prerelease": [
|
16
335
|
{
|
17
336
|
"author": "czearing@outlook.com",
|
18
337
|
"package": "@fluentui/react-switch",
|
19
|
-
"
|
20
|
-
"
|
338
|
+
"commit": "ae512f66872beea9d95a168d759406d42281d835",
|
339
|
+
"comment": "Changing the Switch's onKeyDown event to onKeyUp."
|
340
|
+
},
|
341
|
+
{
|
342
|
+
"author": "peter@draxler.ml",
|
343
|
+
"package": "@fluentui/react-switch",
|
344
|
+
"commit": "f6db7c8d6b7db0902775e7857b62b745be35b59a",
|
345
|
+
"comment": "added styling of documentation"
|
21
346
|
},
|
22
347
|
{
|
23
348
|
"author": "beachball",
|
24
349
|
"package": "@fluentui/react-switch",
|
25
|
-
"comment": "Bump @fluentui/react-make-styles to v9.0.0-
|
26
|
-
"commit": "
|
350
|
+
"comment": "Bump @fluentui/react-make-styles to v9.0.0-beta.2",
|
351
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
27
352
|
},
|
28
353
|
{
|
29
354
|
"author": "beachball",
|
30
355
|
"package": "@fluentui/react-switch",
|
31
|
-
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-
|
32
|
-
"commit": "
|
356
|
+
"comment": "Bump @fluentui/react-shared-contexts to v9.0.0-beta.2",
|
357
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
33
358
|
},
|
34
359
|
{
|
35
360
|
"author": "beachball",
|
36
361
|
"package": "@fluentui/react-switch",
|
37
|
-
"comment": "Bump @fluentui/react-tabster to v9.0.0-
|
38
|
-
"commit": "
|
362
|
+
"comment": "Bump @fluentui/react-tabster to v9.0.0-beta.3",
|
363
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
39
364
|
},
|
40
365
|
{
|
41
366
|
"author": "beachball",
|
42
367
|
"package": "@fluentui/react-switch",
|
43
|
-
"comment": "Bump @fluentui/react-utilities to v9.0.0-
|
44
|
-
"commit": "
|
368
|
+
"comment": "Bump @fluentui/react-utilities to v9.0.0-beta.2",
|
369
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
45
370
|
},
|
46
371
|
{
|
47
372
|
"author": "beachball",
|
48
373
|
"package": "@fluentui/react-switch",
|
49
|
-
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-
|
50
|
-
"commit": "
|
374
|
+
"comment": "Bump @fluentui/babel-make-styles to v9.0.0-beta.2",
|
375
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
51
376
|
},
|
52
377
|
{
|
53
378
|
"author": "beachball",
|
54
379
|
"package": "@fluentui/react-switch",
|
55
|
-
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-
|
56
|
-
"commit": "
|
380
|
+
"comment": "Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2",
|
381
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
57
382
|
},
|
58
383
|
{
|
59
384
|
"author": "beachball",
|
60
385
|
"package": "@fluentui/react-switch",
|
61
|
-
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-
|
62
|
-
"commit": "
|
386
|
+
"comment": "Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2",
|
387
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
63
388
|
},
|
64
389
|
{
|
65
390
|
"author": "beachball",
|
66
391
|
"package": "@fluentui/react-switch",
|
67
|
-
"comment": "Bump @fluentui/react-label to v9.0.0-
|
68
|
-
"commit": "
|
392
|
+
"comment": "Bump @fluentui/react-label to v9.0.0-beta.2",
|
393
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
69
394
|
},
|
70
395
|
{
|
71
396
|
"author": "beachball",
|
72
397
|
"package": "@fluentui/react-switch",
|
73
|
-
"comment": "Bump @fluentui/react-provider to v9.0.0-
|
74
|
-
"commit": "
|
398
|
+
"comment": "Bump @fluentui/react-provider to v9.0.0-beta.3",
|
399
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
75
400
|
},
|
76
401
|
{
|
77
402
|
"author": "beachball",
|
78
403
|
"package": "@fluentui/react-switch",
|
79
|
-
"comment": "Bump @fluentui/react-theme to v9.0.0-
|
80
|
-
"commit": "
|
404
|
+
"comment": "Bump @fluentui/react-theme to v9.0.0-beta.2",
|
405
|
+
"commit": "0f8f1ae7c2d908e51e29dd342d79e041f86fac08"
|
81
406
|
}
|
82
407
|
]
|
83
408
|
}
|
package/CHANGELOG.md
CHANGED
@@ -1,28 +1,108 @@
|
|
1
1
|
# Change Log - @fluentui/react-switch
|
2
2
|
|
3
|
-
This log was last generated on Tue,
|
3
|
+
This log was last generated on Tue, 01 Mar 2022 02:16:12 GMT and should not be manually modified.
|
4
4
|
|
5
5
|
<!-- Start content -->
|
6
6
|
|
7
|
-
## [9.0.0-
|
7
|
+
## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.4)
|
8
8
|
|
9
|
-
Tue,
|
10
|
-
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-
|
9
|
+
Tue, 01 Mar 2022 02:16:12 GMT
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.3..@fluentui/react-switch_v9.0.0-rc.4)
|
11
11
|
|
12
12
|
### Changes
|
13
13
|
|
14
|
-
-
|
15
|
-
-
|
16
|
-
- Bump @fluentui/react-
|
17
|
-
- Bump @fluentui/react-
|
18
|
-
- Bump @fluentui/react-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
14
|
+
- Switch: Re-implementing component to make it simpler and making it adhere to latest patterns. ([PR #21849](https://github.com/microsoft/fluentui/pull/21849) by Humberto.Morimoto@microsoft.com)
|
15
|
+
- fix: Add react-theme as dependency ([PR #21825](https://github.com/microsoft/fluentui/pull/21825) by olfedias@microsoft.com)
|
16
|
+
- Bump @fluentui/react-label to v9.0.0-beta.8 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
|
17
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
|
18
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
|
19
|
+
|
20
|
+
## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.3)
|
21
|
+
|
22
|
+
Fri, 18 Feb 2022 13:35:34 GMT
|
23
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.1..@fluentui/react-switch_v9.0.0-rc.3)
|
24
|
+
|
25
|
+
### Changes
|
26
|
+
|
27
|
+
- fix visual display of controlled switches ([PR #21704](https://github.com/microsoft/fluentui/pull/21704) by mgodbolt@microsoft.com)
|
28
|
+
- fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
|
29
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
30
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
31
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
32
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
|
33
|
+
|
34
|
+
## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.1)
|
35
|
+
|
36
|
+
Thu, 10 Feb 2022 08:50:51 GMT
|
37
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.5..@fluentui/react-switch_v9.0.0-rc.1)
|
38
|
+
|
39
|
+
### Changes
|
40
|
+
|
41
|
+
- Replace make-styles packages with griffel equivalents. ([PR #21424](https://github.com/microsoft/fluentui/pull/21424) by olfedias@microsoft.com)
|
42
|
+
- Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
|
43
|
+
- Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
|
44
|
+
- Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
|
45
|
+
- remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
|
46
|
+
- update styles to not use CSS shorthands ([PR #20844](https://github.com/microsoft/fluentui/pull/20844) by olfedias@microsoft.com)
|
47
|
+
- 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)
|
48
|
+
- 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)
|
49
|
+
- 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)
|
50
|
+
- Bump Fluent UI dependencies to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
|
51
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
52
|
+
- Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
53
|
+
- Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
54
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
|
55
|
+
|
56
|
+
## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.5)
|
57
|
+
|
58
|
+
Thu, 25 Nov 2021 08:34:17 GMT
|
59
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.4..@fluentui/react-switch_v9.0.0-beta.5)
|
60
|
+
|
61
|
+
### Changes
|
62
|
+
|
63
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
64
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
65
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
66
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
67
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
68
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
69
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
|
70
|
+
|
71
|
+
## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.4)
|
72
|
+
|
73
|
+
Fri, 12 Nov 2021 13:25:33 GMT
|
74
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.3..@fluentui/react-switch_v9.0.0-beta.4)
|
75
|
+
|
76
|
+
### Changes
|
77
|
+
|
78
|
+
- export static classes for components ([PR #20456](https://github.com/microsoft/fluentui/pull/20456) by olfedias@microsoft.com)
|
79
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
80
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
81
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
82
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
83
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
84
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
85
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
|
86
|
+
|
87
|
+
## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.3)
|
88
|
+
|
89
|
+
Wed, 27 Oct 2021 12:14:22 GMT
|
90
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.2..@fluentui/react-switch_v9.0.0-beta.3)
|
91
|
+
|
92
|
+
### Changes
|
93
|
+
|
94
|
+
- Changing the Switch's onKeyDown event to onKeyUp. ([PR #20217](https://github.com/microsoft/fluentui/pull/20217) by czearing@outlook.com)
|
95
|
+
- added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
|
96
|
+
- Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
97
|
+
- Bump @fluentui/react-shared-contexts to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
98
|
+
- Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
99
|
+
- Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
100
|
+
- Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
101
|
+
- Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
102
|
+
- Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
103
|
+
- Bump @fluentui/react-label to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
104
|
+
- Bump @fluentui/react-provider to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
105
|
+
- Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
|
26
106
|
|
27
107
|
## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.2)
|
28
108
|
|
package/Spec.md
CHANGED
@@ -86,10 +86,10 @@ Amongst other major component libraries (`Material UI`, `Ant Design`, `Evergreen
|
|
86
86
|
- _**DOM**_
|
87
87
|
|
88
88
|
```jsx=
|
89
|
-
<div className="
|
90
|
-
<div className="
|
91
|
-
<div className="
|
92
|
-
<div className="
|
89
|
+
<div className="fui-Switch">
|
90
|
+
<div className="fui-Switch-track" />
|
91
|
+
<div className="fui-Switch-thumbWrapper">
|
92
|
+
<div className="fui-Switch-thumb" />
|
93
93
|
</div>
|
94
94
|
<input type="checkbox" />
|
95
95
|
</div>;
|