@fluentui/react-switch 9.0.0-nightly.d730088d7f.0 → 9.0.0-rc.10

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 (64) hide show
  1. package/CHANGELOG.json +658 -29
  2. package/CHANGELOG.md +209 -43
  3. package/MIGRATION.md +89 -22
  4. package/Spec.md +179 -84
  5. package/dist/index.d.ts +107 -0
  6. package/{lib → dist}/tsdoc-metadata.json +0 -0
  7. package/lib/Switch.js.map +1 -1
  8. package/lib/components/Switch/Switch.js +8 -8
  9. package/lib/components/Switch/Switch.js.map +1 -1
  10. package/lib/components/Switch/Switch.types.js.map +1 -1
  11. package/lib/components/Switch/index.js.map +1 -1
  12. package/lib/components/Switch/renderSwitch.js +15 -9
  13. package/lib/components/Switch/renderSwitch.js.map +1 -1
  14. package/lib/components/Switch/useSwitch.js +70 -54
  15. package/lib/components/Switch/useSwitch.js.map +1 -1
  16. package/lib/components/Switch/useSwitchStyles.js +156 -248
  17. package/lib/components/Switch/useSwitchStyles.js.map +1 -1
  18. package/lib/index.js +2 -1
  19. package/lib/index.js.map +1 -1
  20. package/lib-commonjs/Switch.js +1 -1
  21. package/lib-commonjs/Switch.js.map +1 -1
  22. package/lib-commonjs/components/Switch/Switch.js +9 -9
  23. package/lib-commonjs/components/Switch/Switch.js.map +1 -1
  24. package/lib-commonjs/components/Switch/Switch.types.js.map +1 -1
  25. package/lib-commonjs/components/Switch/index.js +1 -1
  26. package/lib-commonjs/components/Switch/index.js.map +1 -1
  27. package/lib-commonjs/components/Switch/renderSwitch.js +19 -15
  28. package/lib-commonjs/components/Switch/renderSwitch.js.map +1 -1
  29. package/lib-commonjs/components/Switch/useSwitch.js +73 -56
  30. package/lib-commonjs/components/Switch/useSwitch.js.map +1 -1
  31. package/lib-commonjs/components/Switch/useSwitchStyles.js +161 -252
  32. package/lib-commonjs/components/Switch/useSwitchStyles.js.map +1 -1
  33. package/lib-commonjs/index.js +39 -2
  34. package/lib-commonjs/index.js.map +1 -1
  35. package/package.json +21 -27
  36. package/dist/react-switch.d.ts +0 -92
  37. package/lib/Switch.d.ts +0 -1
  38. package/lib/common/isConformant.d.ts +0 -4
  39. package/lib/common/isConformant.js +0 -12
  40. package/lib/common/isConformant.js.map +0 -1
  41. package/lib/components/Switch/Switch.d.ts +0 -6
  42. package/lib/components/Switch/Switch.types.d.ts +0 -58
  43. package/lib/components/Switch/index.d.ts +0 -5
  44. package/lib/components/Switch/renderSwitch.d.ts +0 -5
  45. package/lib/components/Switch/useSwitch.d.ts +0 -10
  46. package/lib/components/Switch/useSwitchState.d.ts +0 -2
  47. package/lib/components/Switch/useSwitchState.js +0 -152
  48. package/lib/components/Switch/useSwitchState.js.map +0 -1
  49. package/lib/components/Switch/useSwitchStyles.d.ts +0 -5
  50. package/lib/index.d.ts +0 -2
  51. package/lib-commonjs/Switch.d.ts +0 -1
  52. package/lib-commonjs/common/isConformant.d.ts +0 -4
  53. package/lib-commonjs/common/isConformant.js +0 -23
  54. package/lib-commonjs/common/isConformant.js.map +0 -1
  55. package/lib-commonjs/components/Switch/Switch.d.ts +0 -6
  56. package/lib-commonjs/components/Switch/Switch.types.d.ts +0 -58
  57. package/lib-commonjs/components/Switch/index.d.ts +0 -5
  58. package/lib-commonjs/components/Switch/renderSwitch.d.ts +0 -5
  59. package/lib-commonjs/components/Switch/useSwitch.d.ts +0 -10
  60. package/lib-commonjs/components/Switch/useSwitchState.d.ts +0 -2
  61. package/lib-commonjs/components/Switch/useSwitchState.js +0 -164
  62. package/lib-commonjs/components/Switch/useSwitchState.js.map +0 -1
  63. package/lib-commonjs/components/Switch/useSwitchStyles.d.ts +0 -5
  64. package/lib-commonjs/index.d.ts +0 -2
package/CHANGELOG.md CHANGED
@@ -1,33 +1,199 @@
1
1
  # Change Log - @fluentui/react-switch
2
2
 
3
- This log was last generated on Wed, 20 Oct 2021 09:19:30 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 23 May 2022 12:10:12 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## [9.0.0-nightly.d730088d7f.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-nightly.d730088d7f.0)
7
+ ## [9.0.0-rc.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.10)
8
8
 
9
- Wed, 20 Oct 2021 09:19:30 GMT
10
- [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.2..@fluentui/react-switch_v9.0.0-nightly.d730088d7f.0)
9
+ Mon, 23 May 2022 12:10:12 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.9..@fluentui/react-switch_v9.0.0-rc.10)
11
11
 
12
12
  ### Changes
13
13
 
14
- - Release nightly v9 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by email not defined)
15
- - Changing the Switch's onKeyDown event to onKeyUp. ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by czearing@outlook.com)
16
- - added styling of documentation ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by peter@draxler.ml)
17
- - Bump @fluentui/react-make-styles to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
18
- - Bump @fluentui/react-shared-contexts to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
19
- - Bump @fluentui/react-tabster to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
20
- - Bump @fluentui/react-utilities to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
21
- - Bump @fluentui/babel-make-styles to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
22
- - Bump @fluentui/jest-serializer-make-styles to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
23
- - Bump @fluentui/react-conformance-make-styles to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
24
- - Bump @fluentui/react-label to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
25
- - Bump @fluentui/react-provider to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
26
- - Bump @fluentui/react-theme to v9.0.0-nightly.d730088d7f.0 ([commit](https://github.com/microsoft/fluentui/commit/ec40cc4bf5af48d100161d7fc692fa8624507dee) by beachball)
14
+ - chore: Update Griffel to latest version ([PR #22894](https://github.com/microsoft/fluentui/pull/22894) by olfedias@microsoft.com)
15
+ - Replace hardcoded padding with spacing tokens ([PR #22982](https://github.com/microsoft/fluentui/pull/22982) by behowell@microsoft.com)
16
+ - Refactor styles to remove usage of flex gap ([PR #22976](https://github.com/microsoft/fluentui/pull/22976) by behowell@microsoft.com)
17
+ - Updated react-label package version to RC. ([PR #22865](https://github.com/microsoft/fluentui/pull/22865) by esteban.230@hotmail.com)
18
+ - feat: ship rolluped only dts ([PR #22874](https://github.com/microsoft/fluentui/pull/22874) by martinhochel@microsoft.com)
19
+ - Removing SwitchCommons type in @fluentui/react-switch. ([PR #22943](https://github.com/microsoft/fluentui/pull/22943) by Humberto.Morimoto@microsoft.com)
20
+ - chore: Update Griffel to latest version ([PR #23029](https://github.com/microsoft/fluentui/pull/23029) by olfedias@microsoft.com)
21
+ - Bump @fluentui/react-label to v9.0.0-rc.2 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
22
+ - Bump @fluentui/react-tabster to v9.0.0-rc.10 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
23
+ - Bump @fluentui/react-theme to v9.0.0-rc.8 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
24
+ - Bump @fluentui/react-utilities to v9.0.0-rc.9 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
25
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.6 ([PR #23030](https://github.com/microsoft/fluentui/pull/23030) by beachball)
26
+
27
+ ## [9.0.0-rc.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.9)
28
+
29
+ Thu, 05 May 2022 18:26:26 GMT
30
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.8..@fluentui/react-switch_v9.0.0-rc.9)
31
+
32
+ ### Changes
33
+
34
+ - Bump @fluentui/react-label to v9.0.0-beta.12 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
35
+ - Bump @fluentui/react-tabster to v9.0.0-rc.9 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
36
+ - Bump @fluentui/react-theme to v9.0.0-rc.7 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
37
+ - Bump @fluentui/react-utilities to v9.0.0-rc.8 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
38
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.5 ([PR #22857](https://github.com/microsoft/fluentui/pull/22857) by beachball)
39
+
40
+ ## [9.0.0-rc.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.8)
41
+
42
+ Wed, 04 May 2022 13:26:51 GMT
43
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.7..@fluentui/react-switch_v9.0.0-rc.8)
44
+
45
+ ### Changes
46
+
47
+ - Switch: Fixing disabled styles in high contrast mode. ([PR #22817](https://github.com/microsoft/fluentui/pull/22817) by humberto_makoto@hotmail.com)
48
+ - Bump @fluentui/react-label to v9.0.0-beta.11 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
49
+ - Bump @fluentui/react-tabster to v9.0.0-rc.8 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
50
+ - Bump @fluentui/react-theme to v9.0.0-rc.6 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
51
+ - Bump @fluentui/react-utilities to v9.0.0-rc.7 ([PR #22786](https://github.com/microsoft/fluentui/pull/22786) by beachball)
52
+
53
+ ## [9.0.0-rc.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.7)
54
+
55
+ Mon, 25 Apr 2022 09:32:19 GMT
56
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.6..@fluentui/react-switch_v9.0.0-rc.7)
57
+
58
+ ### Changes
59
+
60
+ - Bump @fluentui/react-tabster to v9.0.0-rc.7 ([PR #22601](https://github.com/microsoft/fluentui/pull/22601) by beachball)
61
+
62
+ ## [9.0.0-rc.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.6)
63
+
64
+ Tue, 19 Apr 2022 19:16:54 GMT
65
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.5..@fluentui/react-switch_v9.0.0-rc.6)
66
+
67
+ ### Changes
68
+
69
+ - Add deprecation messages to react-switch ([PR #21960](https://github.com/microsoft/fluentui/pull/21960) by seanmonahan@microsoft.com)
70
+ - chore: Update Griffel to latest version ([PR #21976](https://github.com/microsoft/fluentui/pull/21976) by olfedias@microsoft.com)
71
+ - update react-icons version to ^2.0.166-rc.3 from ^2.0.159-beta.10 ([PR #22512](https://github.com/microsoft/fluentui/pull/22512) by seanmonahan@microsoft.com)
72
+ - Removing star exports. ([PR #22139](https://github.com/microsoft/fluentui/pull/22139) by Humberto.Morimoto@microsoft.com)
73
+ - Switch: Updating spec and migration guide to reflect latest state of the component. ([PR #22011](https://github.com/microsoft/fluentui/pull/22011) by email not defined)
74
+ - Bump @fluentui/react-label to v9.0.0-beta.10 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
75
+ - Bump @fluentui/react-tabster to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
76
+ - Bump @fluentui/react-theme to v9.0.0-rc.5 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
77
+ - Bump @fluentui/react-utilities to v9.0.0-rc.6 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
78
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.4 ([PR #21995](https://github.com/microsoft/fluentui/pull/21995) by beachball)
79
+
80
+ ## [9.0.0-rc.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.5)
81
+
82
+ Fri, 04 Mar 2022 05:17:30 GMT
83
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.4..@fluentui/react-switch_v9.0.0-rc.5)
84
+
85
+ ### Changes
86
+
87
+ - Adding explicit export maps on all consumer packages for FUIR 8 and 9. ([PR #21508](https://github.com/microsoft/fluentui/pull/21508) by dzearing@microsoft.com)
88
+ - Updating class names to use slot class names helper type. ([PR #21933](https://github.com/microsoft/fluentui/pull/21933) by email not defined)
89
+ - Bump @fluentui/react-label to v9.0.0-beta.9 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
90
+ - Bump @fluentui/react-tabster to v9.0.0-rc.5 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
91
+ - Bump @fluentui/react-theme to v9.0.0-rc.4 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
92
+ - Bump @fluentui/react-utilities to v9.0.0-rc.5 ([PR #21947](https://github.com/microsoft/fluentui/pull/21947) by beachball)
93
+
94
+ ## [9.0.0-rc.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.4)
95
+
96
+ Tue, 01 Mar 2022 02:17:38 GMT
97
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.3..@fluentui/react-switch_v9.0.0-rc.4)
98
+
99
+ ### Changes
100
+
101
+ - 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)
102
+ - fix: Add react-theme as dependency ([PR #21825](https://github.com/microsoft/fluentui/pull/21825) by olfedias@microsoft.com)
103
+ - Bump @fluentui/react-label to v9.0.0-beta.8 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
104
+ - Bump @fluentui/react-tabster to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
105
+ - Bump @fluentui/react-utilities to v9.0.0-rc.4 ([PR #21884](https://github.com/microsoft/fluentui/pull/21884) by beachball)
106
+
107
+ ## [9.0.0-rc.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.3)
108
+
109
+ Fri, 18 Feb 2022 13:35:34 GMT
110
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-rc.1..@fluentui/react-switch_v9.0.0-rc.3)
111
+
112
+ ### Changes
113
+
114
+ - fix visual display of controlled switches ([PR #21704](https://github.com/microsoft/fluentui/pull/21704) by mgodbolt@microsoft.com)
115
+ - fix: Source maps contain original source code ([PR #21690](https://github.com/microsoft/fluentui/pull/21690) by lingfangao@hotmail.com)
116
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
117
+ - Bump @fluentui/react-tabster to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
118
+ - Bump @fluentui/react-utilities to v9.0.0-rc.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
119
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.3 ([PR #21800](https://github.com/microsoft/fluentui/pull/21800) by beachball)
120
+
121
+ ## [9.0.0-rc.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-rc.1)
122
+
123
+ Thu, 10 Feb 2022 08:50:51 GMT
124
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.5..@fluentui/react-switch_v9.0.0-rc.1)
125
+
126
+ ### Changes
127
+
128
+ - Replace make-styles packages with griffel equivalents. ([PR #21424](https://github.com/microsoft/fluentui/pull/21424) by olfedias@microsoft.com)
129
+ - Updating based on changes to composition types. ([PR #20891](https://github.com/microsoft/fluentui/pull/20891) by Humberto.Morimoto@microsoft.com)
130
+ - Remove component's shorthandProps array ([PR #21134](https://github.com/microsoft/fluentui/pull/21134) by behowell@microsoft.com)
131
+ - Refactor component Slot typings ([PR #21518](https://github.com/microsoft/fluentui/pull/21518) by behowell@microsoft.com)
132
+ - remove export of commons types ([PR #21660](https://github.com/microsoft/fluentui/pull/21660) by mgodbolt@microsoft.com)
133
+ - update styles to not use CSS shorthands ([PR #20844](https://github.com/microsoft/fluentui/pull/20844) by olfedias@microsoft.com)
134
+ - 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)
135
+ - 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)
136
+ - 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)
137
+ - Bump Fluent UI dependencies to 9.0.0-rc ([PR #21623](https://github.com/microsoft/fluentui/pull/21623) by lingfangao@hotmail.com)
138
+ - Bump @fluentui/react-shared-contexts to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
139
+ - Bump @fluentui/react-tabster to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
140
+ - Bump @fluentui/react-utilities to v9.0.0-rc.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
141
+ - Bump @fluentui/react-conformance-griffel to v9.0.0-beta.1 ([commit](https://github.com/microsoft/fluentui/commit/e6c855f6d9019d6c73668d15fc9bc3a13291a6c8) by beachball)
142
+
143
+ ## [9.0.0-beta.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.5)
144
+
145
+ Thu, 25 Nov 2021 08:34:17 GMT
146
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.4..@fluentui/react-switch_v9.0.0-beta.5)
147
+
148
+ ### Changes
149
+
150
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
151
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
152
+ - Bump @fluentui/react-tabster to v9.0.0-beta.5 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
153
+ - Bump @fluentui/react-utilities to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
154
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
155
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
156
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.4 ([PR #20762](https://github.com/microsoft/fluentui/pull/20762) by beachball)
157
+
158
+ ## [9.0.0-beta.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.4)
159
+
160
+ Fri, 12 Nov 2021 13:25:33 GMT
161
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.3..@fluentui/react-switch_v9.0.0-beta.4)
162
+
163
+ ### Changes
164
+
165
+ - export static classes for components ([PR #20456](https://github.com/microsoft/fluentui/pull/20456) by olfedias@microsoft.com)
166
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
167
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
168
+ - Bump @fluentui/react-tabster to v9.0.0-beta.4 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
169
+ - Bump @fluentui/react-utilities to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
170
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
171
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
172
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.3 ([PR #20583](https://github.com/microsoft/fluentui/pull/20583) by beachball)
173
+
174
+ ## [9.0.0-beta.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.3)
175
+
176
+ Wed, 27 Oct 2021 12:14:22 GMT
177
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.2..@fluentui/react-switch_v9.0.0-beta.3)
178
+
179
+ ### Changes
180
+
181
+ - Changing the Switch's onKeyDown event to onKeyUp. ([PR #20217](https://github.com/microsoft/fluentui/pull/20217) by czearing@outlook.com)
182
+ - added styling of documentation ([PR #20193](https://github.com/microsoft/fluentui/pull/20193) by peter@draxler.ml)
183
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
184
+ - Bump @fluentui/react-shared-contexts to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
185
+ - Bump @fluentui/react-tabster to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
186
+ - Bump @fluentui/react-utilities to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
187
+ - Bump @fluentui/babel-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
188
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
189
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
190
+ - Bump @fluentui/react-label to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
191
+ - Bump @fluentui/react-provider to v9.0.0-beta.3 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
192
+ - Bump @fluentui/react-theme to v9.0.0-beta.2 ([PR #20353](https://github.com/microsoft/fluentui/pull/20353) by beachball)
27
193
 
28
194
  ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.2)
29
195
 
30
- Tue, 12 Oct 2021 19:45:58 GMT
196
+ Tue, 12 Oct 2021 19:45:58 GMT
31
197
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-beta.1..@fluentui/react-switch_v9.0.0-beta.2)
32
198
 
33
199
  ### Changes
@@ -37,7 +203,7 @@ Tue, 12 Oct 2021 19:45:58 GMT
37
203
 
38
204
  ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-beta.1)
39
205
 
40
- Wed, 06 Oct 2021 10:37:22 GMT
206
+ Wed, 06 Oct 2021 10:37:22 GMT
41
207
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.17..@fluentui/react-switch_v9.0.0-beta.1)
42
208
 
43
209
  ### Changes
@@ -56,7 +222,7 @@ Wed, 06 Oct 2021 10:37:22 GMT
56
222
 
57
223
  ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.17)
58
224
 
59
- Tue, 05 Oct 2021 12:47:58 GMT
225
+ Tue, 05 Oct 2021 12:47:58 GMT
60
226
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.16..@fluentui/react-switch_v9.0.0-alpha.17)
61
227
 
62
228
  ### Changes
@@ -71,7 +237,7 @@ Tue, 05 Oct 2021 12:47:58 GMT
71
237
 
72
238
  ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.16)
73
239
 
74
- Tue, 05 Oct 2021 09:28:07 GMT
240
+ Tue, 05 Oct 2021 09:28:07 GMT
75
241
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.15..@fluentui/react-switch_v9.0.0-alpha.16)
76
242
 
77
243
  ### Changes
@@ -88,7 +254,7 @@ Tue, 05 Oct 2021 09:28:07 GMT
88
254
 
89
255
  ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.15)
90
256
 
91
- Fri, 01 Oct 2021 14:13:08 GMT
257
+ Fri, 01 Oct 2021 14:13:08 GMT
92
258
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.13..@fluentui/react-switch_v9.0.0-alpha.15)
93
259
 
94
260
  ### Changes
@@ -107,7 +273,7 @@ Fri, 01 Oct 2021 14:13:08 GMT
107
273
 
108
274
  ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.13)
109
275
 
110
- Fri, 01 Oct 2021 09:44:56 GMT
276
+ Fri, 01 Oct 2021 09:44:56 GMT
111
277
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.12..@fluentui/react-switch_v9.0.0-alpha.13)
112
278
 
113
279
  ### Changes
@@ -118,7 +284,7 @@ Fri, 01 Oct 2021 09:44:56 GMT
118
284
 
119
285
  ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.12)
120
286
 
121
- Wed, 29 Sep 2021 08:06:11 GMT
287
+ Wed, 29 Sep 2021 08:06:11 GMT
122
288
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.11..@fluentui/react-switch_v9.0.0-alpha.12)
123
289
 
124
290
  ### Changes
@@ -135,7 +301,7 @@ Wed, 29 Sep 2021 08:06:11 GMT
135
301
 
136
302
  ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.11)
137
303
 
138
- Mon, 27 Sep 2021 08:06:00 GMT
304
+ Mon, 27 Sep 2021 08:06:00 GMT
139
305
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.10..@fluentui/react-switch_v9.0.0-alpha.11)
140
306
 
141
307
  ### Changes
@@ -151,7 +317,7 @@ Mon, 27 Sep 2021 08:06:00 GMT
151
317
 
152
318
  ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.10)
153
319
 
154
- Fri, 24 Sep 2021 09:17:17 GMT
320
+ Fri, 24 Sep 2021 09:17:17 GMT
155
321
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.9..@fluentui/react-switch_v9.0.0-alpha.10)
156
322
 
157
323
  ### Changes
@@ -167,7 +333,7 @@ Fri, 24 Sep 2021 09:17:17 GMT
167
333
 
168
334
  ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.9)
169
335
 
170
- Thu, 23 Sep 2021 08:21:34 GMT
336
+ Thu, 23 Sep 2021 08:21:34 GMT
171
337
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.8..@fluentui/react-switch_v9.0.0-alpha.9)
172
338
 
173
339
  ### Changes
@@ -184,7 +350,7 @@ Thu, 23 Sep 2021 08:21:34 GMT
184
350
 
185
351
  ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.8)
186
352
 
187
- Wed, 22 Sep 2021 10:10:07 GMT
353
+ Wed, 22 Sep 2021 10:10:07 GMT
188
354
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.7..@fluentui/react-switch_v9.0.0-alpha.8)
189
355
 
190
356
  ### Changes
@@ -201,7 +367,7 @@ Wed, 22 Sep 2021 10:10:07 GMT
201
367
 
202
368
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.7)
203
369
 
204
- Tue, 21 Sep 2021 07:42:34 GMT
370
+ Tue, 21 Sep 2021 07:42:34 GMT
205
371
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.6..@fluentui/react-switch_v9.0.0-alpha.7)
206
372
 
207
373
  ### Changes
@@ -218,7 +384,7 @@ Tue, 21 Sep 2021 07:42:34 GMT
218
384
 
219
385
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.6)
220
386
 
221
- Mon, 20 Sep 2021 07:36:26 GMT
387
+ Mon, 20 Sep 2021 07:36:26 GMT
222
388
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.5..@fluentui/react-switch_v9.0.0-alpha.6)
223
389
 
224
390
  ### Changes
@@ -227,7 +393,7 @@ Mon, 20 Sep 2021 07:36:26 GMT
227
393
 
228
394
  ## [9.0.0-alpha.5](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.5)
229
395
 
230
- Fri, 17 Sep 2021 07:35:26 GMT
396
+ Fri, 17 Sep 2021 07:35:26 GMT
231
397
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.4..@fluentui/react-switch_v9.0.0-alpha.5)
232
398
 
233
399
  ### Changes
@@ -236,7 +402,7 @@ Fri, 17 Sep 2021 07:35:26 GMT
236
402
 
237
403
  ## [9.0.0-alpha.4](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.4)
238
404
 
239
- Thu, 16 Sep 2021 07:38:39 GMT
405
+ Thu, 16 Sep 2021 07:38:39 GMT
240
406
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.3..@fluentui/react-switch_v9.0.0-alpha.4)
241
407
 
242
408
  ### Changes
@@ -246,7 +412,7 @@ Thu, 16 Sep 2021 07:38:39 GMT
246
412
 
247
413
  ## [9.0.0-alpha.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.3)
248
414
 
249
- Tue, 14 Sep 2021 20:09:02 GMT
415
+ Tue, 14 Sep 2021 20:09:02 GMT
250
416
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.2..@fluentui/react-switch_v9.0.0-alpha.3)
251
417
 
252
418
  ### Changes
@@ -255,7 +421,7 @@ Tue, 14 Sep 2021 20:09:02 GMT
255
421
 
256
422
  ## [9.0.0-alpha.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.2)
257
423
 
258
- Fri, 10 Sep 2021 16:31:53 GMT
424
+ Fri, 10 Sep 2021 16:31:53 GMT
259
425
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.1..@fluentui/react-switch_v9.0.0-alpha.2)
260
426
 
261
427
  ### Changes
@@ -265,7 +431,7 @@ Fri, 10 Sep 2021 16:31:53 GMT
265
431
 
266
432
  ## [9.0.0-alpha.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.1)
267
433
 
268
- Fri, 10 Sep 2021 07:39:51 GMT
434
+ Fri, 10 Sep 2021 07:39:51 GMT
269
435
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.1)
270
436
 
271
437
  ### Changes
@@ -274,7 +440,7 @@ Fri, 10 Sep 2021 07:39:51 GMT
274
440
 
275
441
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
276
442
 
277
- Mon, 06 Sep 2021 07:34:53 GMT
443
+ Mon, 06 Sep 2021 07:34:53 GMT
278
444
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
279
445
 
280
446
  ### Changes
@@ -283,7 +449,7 @@ Mon, 06 Sep 2021 07:34:53 GMT
283
449
 
284
450
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
285
451
 
286
- Thu, 02 Sep 2021 07:36:46 GMT
452
+ Thu, 02 Sep 2021 07:36:46 GMT
287
453
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
288
454
 
289
455
  ### Patches
@@ -296,7 +462,7 @@ Thu, 02 Sep 2021 07:36:46 GMT
296
462
 
297
463
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
298
464
 
299
- Wed, 01 Sep 2021 07:39:56 GMT
465
+ Wed, 01 Sep 2021 07:39:56 GMT
300
466
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
301
467
 
302
468
  ### Changes
@@ -305,7 +471,7 @@ Wed, 01 Sep 2021 07:39:56 GMT
305
471
 
306
472
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
307
473
 
308
- Tue, 31 Aug 2021 07:37:47 GMT
474
+ Tue, 31 Aug 2021 07:37:47 GMT
309
475
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
310
476
 
311
477
  ### Changes
@@ -314,7 +480,7 @@ Tue, 31 Aug 2021 07:37:47 GMT
314
480
 
315
481
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
316
482
 
317
- Fri, 27 Aug 2021 07:33:32 GMT
483
+ Fri, 27 Aug 2021 07:33:32 GMT
318
484
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
319
485
 
320
486
  ### Changes
@@ -323,7 +489,7 @@ Fri, 27 Aug 2021 07:33:32 GMT
323
489
 
324
490
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
325
491
 
326
- Thu, 26 Aug 2021 07:35:43 GMT
492
+ Thu, 26 Aug 2021 07:35:43 GMT
327
493
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
328
494
 
329
495
  ### Changes
@@ -332,7 +498,7 @@ Thu, 26 Aug 2021 07:35:43 GMT
332
498
 
333
499
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
334
500
 
335
- Fri, 20 Aug 2021 07:37:28 GMT
501
+ Fri, 20 Aug 2021 07:37:28 GMT
336
502
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
337
503
 
338
504
  ### Changes
@@ -341,7 +507,7 @@ Fri, 20 Aug 2021 07:37:28 GMT
341
507
 
342
508
  ## [9.0.0-alpha.0](https://github.com/microsoft/fluentui/tree/@fluentui/react-switch_v9.0.0-alpha.0)
343
509
 
344
- Thu, 19 Aug 2021 07:41:35 GMT
510
+ Thu, 19 Aug 2021 07:41:35 GMT
345
511
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-switch_v9.0.0-alpha.0..@fluentui/react-switch_v9.0.0-alpha.0)
346
512
 
347
513
  ### Changes
package/MIGRATION.md CHANGED
@@ -4,25 +4,92 @@
4
4
 
5
5
  This Migration guide is a work in progress and is not yet ready for use.
6
6
 
7
- ## Migration from v8
8
-
9
- - `componentRef` => NOT SUPPORTED - use regular `ref` instead.
10
- - `styles` => NOT SUPPORTED - use new styling system via `tokens` instead.
11
- - `theme` => NOT SUPPORTED
12
- - `label` => NOT SUPPORTED
13
- - `labelPosition` => NOT SUPPORTED
14
- - `onText` => NOT SUPPORTED
15
- - `offText` => NOT SUPPORTED
16
- - `ariaLabel` => NOT SUPPORTED
17
- - `onAriaLabel` => NOT SUPPORTED
18
- - `offAriaLabel` => NOT SUPPORTED
19
- - `inlineLabel` => NOT SUPPORTED
20
- - `onChanged` => NOT SUPPORTED
21
- - `role` => NOT SUPPORTED
22
-
23
- ## Migration from v0
24
-
25
- - `indicator` => NOT SUPPORTED
26
- - `label` => NOT SUPPORTED
27
- - `labelPosition` => NOT SUPPORTED
28
- - `toggle` => NOT SUPPORTED
7
+ ## Migration from v8's Toggle
8
+
9
+ ### Props that remain as is
10
+
11
+ - `checked`
12
+ - `defaultChecked`
13
+
14
+ ### Props that have the same name but have a different implementation
15
+
16
+ - `as` - Uses new pattern for `as` introduced in v9
17
+ - `label` - Now implemented as a v9 slot
18
+ - `onChange` - Has a slightly different API with our new event data handling pattern
19
+
20
+ ### Props removed because we can get them from HTML props
21
+
22
+ - `ariaLabel` => Getting it as `aria-label` instead
23
+ - `disabled`
24
+ - `role`
25
+
26
+ ### Props no longer supported with an equivalent funtionality in v9's Switch
27
+
28
+ - `as`
29
+ - `componentRef` => Use regular `ref` instead
30
+ - `inlineLabel` => Use `labelPosition` instead
31
+ - `styles` => Use new styling system via `tokens` instead
32
+
33
+ ### Props no longer supported without an equivalent functionality in v9's Switch
34
+
35
+ - `offText`
36
+ - `onText`
37
+ - `theme`
38
+
39
+ ## Migration from v0's Checkbox
40
+
41
+ ### Props that remain as is
42
+
43
+ - `checked`
44
+ - `defaultChecked`
45
+ - `labelPosition`
46
+
47
+ ### Props that have the same name but have a different implementation
48
+
49
+ - `as` - Uses new pattern for `as` introduced in v9
50
+ - `indicator` => Now implemented as a v9 slot
51
+ - `label` - Now implemented as a v9 slot
52
+ - `onChange` - Has a slightly different API with our new event data handling pattern
53
+
54
+ ### Props removed because we can get them from HTML props
55
+
56
+ - `className`
57
+ - `disabled`
58
+ - `onClick`
59
+
60
+ ### Props no longer supported with an equivalent functionality in v9's Switch
61
+
62
+ - `accessibility` => Override accessibility behavior by composing the `Switch` however you want
63
+ - `styles` => Use new styling system via `tokens` instead
64
+ - `toggle` => Default behavior for `Switch` in v9
65
+ - `variables` => Use new styling system via `tokens` instead
66
+
67
+ ### Props no longer supported without an equivalent functionality in v9's Switch
68
+
69
+ - `design`
70
+
71
+ ## Propery mapping
72
+
73
+ | v8 `Toggle` | v0 `Checkbox` | v9 `Switch` |
74
+ | ---------------- | --------------- | ---------------- |
75
+ | | `accessibility` | |
76
+ | `arialabel` | `aria-label` | `aria-label` |
77
+ | `as` | `as` | `as` |
78
+ | `checked` | `checked` | `checked` |
79
+ | `className` | `className` | `className` |
80
+ | `componentRef` | | `ref` |
81
+ | `defaultChecked` | | |
82
+ | | `design` | |
83
+ | `disabled` | `disabled` | `disabled` |
84
+ | | `indicator` | `indicator` |
85
+ | `inlineLabel` | `labelPosition` | `labelPosition` |
86
+ | `label` | `label` | `label` |
87
+ | `offText` | | |
88
+ | `onChange` | `onChange` | `onChange` |
89
+ | `onClick` | `onClick` | `onClick` |
90
+ | `onText` | | |
91
+ | `role` | | `role` |
92
+ | `styles` | `styles` | |
93
+ | `theme` | | |
94
+ | Default behavior | `toggle` | Default behavior |
95
+ | | `variables` | |