@fluentui/react-checkbox 9.0.0-alpha.7 → 9.0.0-beta.2

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 (78) hide show
  1. package/CHANGELOG.json +1224 -1
  2. package/CHANGELOG.md +450 -2
  3. package/Spec.md +30 -34
  4. package/dist/react-checkbox.d.ts +81 -21
  5. package/lib/Checkbox.js.map +1 -1
  6. package/lib/common/isConformant.js +3 -0
  7. package/lib/common/isConformant.js.map +1 -1
  8. package/lib/components/Checkbox/Checkbox.d.ts +3 -3
  9. package/lib/components/Checkbox/Checkbox.js.map +1 -1
  10. package/lib/components/Checkbox/Checkbox.types.d.ts +73 -13
  11. package/lib/components/Checkbox/Checkbox.types.js.map +1 -1
  12. package/lib/components/Checkbox/DefaultIcons.d.ts +4 -0
  13. package/lib/components/Checkbox/DefaultIcons.js +10 -0
  14. package/lib/components/Checkbox/DefaultIcons.js.map +1 -0
  15. package/lib/components/Checkbox/index.js.map +1 -1
  16. package/lib/components/Checkbox/renderCheckbox.d.ts +0 -3
  17. package/lib/components/Checkbox/renderCheckbox.js +8 -6
  18. package/lib/components/Checkbox/renderCheckbox.js.map +1 -1
  19. package/lib/components/Checkbox/useCheckbox.d.ts +4 -5
  20. package/lib/components/Checkbox/useCheckbox.js +66 -11
  21. package/lib/components/Checkbox/useCheckbox.js.map +1 -1
  22. package/lib/components/Checkbox/useCheckboxStyles.js +156 -4
  23. package/lib/components/Checkbox/useCheckboxStyles.js.map +1 -1
  24. package/lib/index.js.map +1 -1
  25. package/lib/tsdoc-metadata.json +1 -1
  26. package/lib-commonjs/Checkbox.js.map +1 -1
  27. package/lib-commonjs/common/isConformant.js +3 -0
  28. package/lib-commonjs/common/isConformant.js.map +1 -1
  29. package/lib-commonjs/components/Checkbox/Checkbox.d.ts +3 -3
  30. package/lib-commonjs/components/Checkbox/Checkbox.js.map +1 -1
  31. package/lib-commonjs/components/Checkbox/Checkbox.types.d.ts +73 -13
  32. package/lib-commonjs/components/Checkbox/Checkbox.types.js.map +1 -1
  33. package/lib-commonjs/components/Checkbox/DefaultIcons.d.ts +4 -0
  34. package/lib-commonjs/components/Checkbox/DefaultIcons.js +17 -0
  35. package/lib-commonjs/components/Checkbox/DefaultIcons.js.map +1 -0
  36. package/lib-commonjs/components/Checkbox/index.js.map +1 -1
  37. package/lib-commonjs/components/Checkbox/renderCheckbox.d.ts +0 -3
  38. package/lib-commonjs/components/Checkbox/renderCheckbox.js +7 -5
  39. package/lib-commonjs/components/Checkbox/renderCheckbox.js.map +1 -1
  40. package/lib-commonjs/components/Checkbox/useCheckbox.d.ts +4 -5
  41. package/lib-commonjs/components/Checkbox/useCheckbox.js +65 -10
  42. package/lib-commonjs/components/Checkbox/useCheckbox.js.map +1 -1
  43. package/lib-commonjs/components/Checkbox/useCheckboxStyles.js +156 -4
  44. package/lib-commonjs/components/Checkbox/useCheckboxStyles.js.map +1 -1
  45. package/lib-commonjs/index.js.map +1 -1
  46. package/package.json +15 -11
  47. package/config/api-extractor.json +0 -3
  48. package/config/tests.js +0 -7
  49. package/etc/react-checkbox.api.md +0 -44
  50. package/just.config.ts +0 -3
  51. package/lib-amd/Checkbox.d.ts +0 -1
  52. package/lib-amd/Checkbox.js +0 -6
  53. package/lib-amd/Checkbox.js.map +0 -1
  54. package/lib-amd/common/isConformant.d.ts +0 -4
  55. package/lib-amd/common/isConformant.js +0 -14
  56. package/lib-amd/common/isConformant.js.map +0 -1
  57. package/lib-amd/components/Checkbox/Checkbox.d.ts +0 -6
  58. package/lib-amd/components/Checkbox/Checkbox.js +0 -15
  59. package/lib-amd/components/Checkbox/Checkbox.js.map +0 -1
  60. package/lib-amd/components/Checkbox/Checkbox.types.d.ts +0 -24
  61. package/lib-amd/components/Checkbox/Checkbox.types.js +0 -5
  62. package/lib-amd/components/Checkbox/Checkbox.types.js.map +0 -1
  63. package/lib-amd/components/Checkbox/index.d.ts +0 -5
  64. package/lib-amd/components/Checkbox/index.js +0 -10
  65. package/lib-amd/components/Checkbox/index.js.map +0 -1
  66. package/lib-amd/components/Checkbox/renderCheckbox.d.ts +0 -5
  67. package/lib-amd/components/Checkbox/renderCheckbox.js +0 -14
  68. package/lib-amd/components/Checkbox/renderCheckbox.js.map +0 -1
  69. package/lib-amd/components/Checkbox/useCheckbox.d.ts +0 -17
  70. package/lib-amd/components/Checkbox/useCheckbox.js +0 -30
  71. package/lib-amd/components/Checkbox/useCheckbox.js.map +0 -1
  72. package/lib-amd/components/Checkbox/useCheckboxStyles.d.ts +0 -5
  73. package/lib-amd/components/Checkbox/useCheckboxStyles.js +0 -25
  74. package/lib-amd/components/Checkbox/useCheckboxStyles.js.map +0 -1
  75. package/lib-amd/index.d.ts +0 -1
  76. package/lib-amd/index.js +0 -6
  77. package/lib-amd/index.js.map +0 -1
  78. package/src/components/Checkbox/Checkbox.types.ts +0 -34
package/CHANGELOG.md CHANGED
@@ -1,12 +1,460 @@
1
1
  # Change Log - @fluentui/react-checkbox
2
2
 
3
- This log was last generated on Fri, 02 Jul 2021 23:12:33 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 12 Oct 2021 19:45:25 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-beta.2)
8
+
9
+ Tue, 12 Oct 2021 19:45:25 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-beta.1..@fluentui/react-checkbox_v9.0.0-beta.2)
11
+
12
+ ### Changes
13
+
14
+ - Bump @fluentui/react-tabster to v9.0.0-beta.2 ([PR #20132](https://github.com/microsoft/fluentui/pull/20132) by beachball)
15
+
16
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-beta.1)
17
+
18
+ Wed, 06 Oct 2021 10:37:22 GMT
19
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.48..@fluentui/react-checkbox_v9.0.0-beta.1)
20
+
21
+ ### Changes
22
+
23
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
24
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
25
+ - Bump @fluentui/react-utilities to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
26
+ - Bump @fluentui/react-label to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
27
+ - Bump @fluentui/react-tabster to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
28
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
29
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
30
+
31
+ ## [9.0.0-alpha.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.48)
32
+
33
+ Tue, 05 Oct 2021 12:47:58 GMT
34
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.47..@fluentui/react-checkbox_v9.0.0-alpha.48)
35
+
36
+ ### Changes
37
+
38
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.78 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
39
+ - Bump @fluentui/react-label to v9.0.0-alpha.51 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
40
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.73 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
41
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.53 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
42
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.22 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
43
+
44
+ ## [9.0.0-alpha.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.47)
45
+
46
+ Tue, 05 Oct 2021 09:28:07 GMT
47
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.46..@fluentui/react-checkbox_v9.0.0-alpha.47)
48
+
49
+ ### Changes
50
+
51
+ - Adds ForwardRefComponent to react-label components declaration ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by bsunderhus@microsoft.com)
52
+ - Adds ForwardRefComponent to react-checkbox components declaration ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by bsunderhus@microsoft.com)
53
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.77 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
54
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.56 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
55
+ - Bump @fluentui/react-label to v9.0.0-alpha.50 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
56
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.72 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
57
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.52 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
58
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.21 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
59
+
60
+ ## [9.0.0-alpha.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.46)
61
+
62
+ Fri, 01 Oct 2021 14:13:08 GMT
63
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.44..@fluentui/react-checkbox_v9.0.0-alpha.46)
64
+
65
+ ### Changes
66
+
67
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
68
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.76 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
69
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.55 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
70
+ - Bump @fluentui/react-label to v9.0.0-alpha.49 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
71
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.71 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
72
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.51 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
73
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.20 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
74
+
75
+ ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.44)
76
+
77
+ Fri, 01 Oct 2021 09:44:56 GMT
78
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.43..@fluentui/react-checkbox_v9.0.0-alpha.44)
79
+
80
+ ### Changes
81
+
82
+ - Use new default pseudo element focus outline style ([PR #19990](https://github.com/microsoft/fluentui/pull/19990) by lingfangao@hotmail.com)
83
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.69 ([PR #19990](https://github.com/microsoft/fluentui/pull/19990) by beachball)
84
+
85
+ ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.43)
86
+
87
+ Wed, 29 Sep 2021 08:06:11 GMT
88
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.42..@fluentui/react-checkbox_v9.0.0-alpha.43)
89
+
90
+ ### Changes
91
+
92
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.74 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
93
+ - Bump @fluentui/react-label to v9.0.0-alpha.47 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
94
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.68 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
95
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.49 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
96
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.18 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
97
+
98
+ ## [9.0.0-alpha.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.42)
99
+
100
+ Mon, 27 Sep 2021 08:06:00 GMT
101
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.41..@fluentui/react-checkbox_v9.0.0-alpha.42)
102
+
103
+ ### Changes
104
+
105
+ - Updates Checkbox to use LabelProps on root ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by bsunderhus@microsoft.com)
106
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.73 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
107
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.53 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
108
+ - Bump @fluentui/react-label to v9.0.0-alpha.46 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
109
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.67 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
110
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
111
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.17 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
112
+
113
+ ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.41)
114
+
115
+ Fri, 24 Sep 2021 09:17:17 GMT
116
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.40..@fluentui/react-checkbox_v9.0.0-alpha.41)
117
+
118
+ ### Changes
119
+
120
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.72 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
121
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.52 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
122
+ - Bump @fluentui/react-label to v9.0.0-alpha.45 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
123
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.66 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
124
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
125
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.16 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
126
+
127
+ ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.40)
128
+
129
+ Thu, 23 Sep 2021 08:21:34 GMT
130
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.39..@fluentui/react-checkbox_v9.0.0-alpha.40)
131
+
132
+ ### Changes
133
+
134
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.71 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
135
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.51 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
136
+ - Bump @fluentui/react-label to v9.0.0-alpha.44 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
137
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.65 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
138
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
139
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.15 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
140
+
141
+ ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.39)
142
+
143
+ Wed, 22 Sep 2021 10:10:07 GMT
144
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.38..@fluentui/react-checkbox_v9.0.0-alpha.39)
145
+
146
+ ### Changes
147
+
148
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.70 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
149
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.50 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
150
+ - Bump @fluentui/react-label to v9.0.0-alpha.43 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
151
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.64 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
152
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
153
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.14 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
154
+
155
+ ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.38)
156
+
157
+ Tue, 21 Sep 2021 07:42:34 GMT
158
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.37..@fluentui/react-checkbox_v9.0.0-alpha.38)
159
+
160
+ ### Changes
161
+
162
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
163
+ - Bump @fluentui/react-label to v9.0.0-alpha.42 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
164
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.63 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
165
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
166
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
167
+
168
+ ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.37)
169
+
170
+ Mon, 20 Sep 2021 07:36:26 GMT
171
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.36..@fluentui/react-checkbox_v9.0.0-alpha.37)
172
+
173
+ ### Changes
174
+
175
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.37 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
176
+
177
+ ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.36)
178
+
179
+ Fri, 17 Sep 2021 07:35:26 GMT
180
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.35..@fluentui/react-checkbox_v9.0.0-alpha.36)
181
+
182
+ ### Changes
183
+
184
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.36 ([PR #19840](https://github.com/microsoft/fluentui/pull/19840) by Humberto.Morimoto@microsoft.com)
185
+
186
+ ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.35)
187
+
188
+ Thu, 16 Sep 2021 07:38:39 GMT
189
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.34..@fluentui/react-checkbox_v9.0.0-alpha.35)
190
+
191
+ ### Changes
192
+
193
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.35 ([PR #19815](https://github.com/microsoft/fluentui/pull/19815) by behowell@microsoft.com)
194
+
195
+ ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.34)
196
+
197
+ Tue, 14 Sep 2021 20:09:02 GMT
198
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.33..@fluentui/react-checkbox_v9.0.0-alpha.34)
199
+
200
+ ### Changes
201
+
202
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.34 ([PR #19155](https://github.com/microsoft/fluentui/pull/19155) by bsunderhus@microsoft.com)
203
+
204
+ ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.33)
205
+
206
+ Fri, 10 Sep 2021 16:31:53 GMT
207
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.32..@fluentui/react-checkbox_v9.0.0-alpha.33)
208
+
209
+ ### Changes
210
+
211
+ - chore(v9): Move all internal v9 dependencies from caret to fixed version ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
212
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.33 ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
213
+
214
+ ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.32)
215
+
216
+ Fri, 10 Sep 2021 07:39:51 GMT
217
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.31..@fluentui/react-checkbox_v9.0.0-alpha.32)
218
+
219
+ ### Changes
220
+
221
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.45 ([PR #19642](https://github.com/microsoft/fluentui/pull/19642) by behowell@microsoft.com)
222
+
223
+ ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.31)
224
+
225
+ Mon, 06 Sep 2021 07:34:53 GMT
226
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.30..@fluentui/react-checkbox_v9.0.0-alpha.31)
227
+
228
+ ### Changes
229
+
230
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.44 ([PR #19640](https://github.com/microsoft/fluentui/pull/19640) by lingfangao@hotmail.com)
231
+
232
+ ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.30)
233
+
234
+ Thu, 02 Sep 2021 07:36:46 GMT
235
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.29..@fluentui/react-checkbox_v9.0.0-alpha.30)
236
+
237
+ ### Patches
238
+
239
+ - Bump @fluentui/react-conformance to v0.4.5 ([PR #19590](https://github.com/microsoft/fluentui/pull/19590) by olfedias@microsoft.com)
240
+
241
+ ### Changes
242
+
243
+ - Bump @fluentui/react-label to v9.0.0-alpha.34 ([PR #19065](https://github.com/microsoft/fluentui/pull/19065) by olfedias@microsoft.com)
244
+
245
+ ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.29)
246
+
247
+ Wed, 01 Sep 2021 07:39:56 GMT
248
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.28..@fluentui/react-checkbox_v9.0.0-alpha.29)
249
+
250
+ ### Changes
251
+
252
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.43 ([PR #19483](https://github.com/microsoft/fluentui/pull/19483) by bsunderhus@microsoft.com)
253
+
254
+ ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.28)
255
+
256
+ Tue, 31 Aug 2021 07:37:47 GMT
257
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.27..@fluentui/react-checkbox_v9.0.0-alpha.28)
258
+
259
+ ### Changes
260
+
261
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.54 ([PR #19534](https://github.com/microsoft/fluentui/pull/19534) by marata@microsoft.com)
262
+
263
+ ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.27)
264
+
265
+ Fri, 27 Aug 2021 07:33:32 GMT
266
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.26..@fluentui/react-checkbox_v9.0.0-alpha.27)
267
+
268
+ ### Changes
269
+
270
+ - Bump @fluentui/react-label to v9.0.0-alpha.31 ([PR #19462](https://github.com/microsoft/fluentui/pull/19462) by olfedias@microsoft.com)
271
+
272
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.26)
273
+
274
+ Thu, 26 Aug 2021 07:35:43 GMT
275
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.25..@fluentui/react-checkbox_v9.0.0-alpha.26)
276
+
277
+ ### Changes
278
+
279
+ - Bump @fluentui/react-label to v9.0.0-alpha.30 ([PR #19486](https://github.com/microsoft/fluentui/pull/19486) by martinhochel@microsoft.com)
280
+
281
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.25)
282
+
283
+ Wed, 25 Aug 2021 07:35:19 GMT
284
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.24..@fluentui/react-checkbox_v9.0.0-alpha.25)
285
+
286
+ ### Changes
287
+
288
+ - Reverting to compat ([PR #19495](https://github.com/microsoft/fluentui/pull/19495) by bsunderhus@microsoft.com)
289
+
290
+ ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.24)
291
+
292
+ Fri, 20 Aug 2021 07:37:28 GMT
293
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.23..@fluentui/react-checkbox_v9.0.0-alpha.24)
294
+
295
+ ### Changes
296
+
297
+ - Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
298
+
299
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.23)
300
+
301
+ Thu, 19 Aug 2021 07:41:35 GMT
302
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.22..@fluentui/react-checkbox_v9.0.0-alpha.23)
303
+
304
+ ### Changes
305
+
306
+ - Updates react-checkbox on slot null rendering ([PR #19273](https://github.com/microsoft/fluentui/pull/19273) by bsunderhus@microsoft.com)
307
+
308
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.22)
309
+
310
+ Tue, 17 Aug 2021 07:34:07 GMT
311
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.21..@fluentui/react-checkbox_v9.0.0-alpha.22)
312
+
313
+ ### Changes
314
+
315
+ - Refactoring Checkbox, removing mergeProps, and fixing indicator styles. ([PR #19225](https://github.com/microsoft/fluentui/pull/19225) by esteban.230@hotmail.com)
316
+
317
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.21)
318
+
319
+ Fri, 13 Aug 2021 07:36:34 GMT
320
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.20..@fluentui/react-checkbox_v9.0.0-alpha.21)
321
+
322
+ ### Changes
323
+
324
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.32 ([PR #19341](https://github.com/microsoft/fluentui/pull/19341) by olfedias@microsoft.com)
325
+
326
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.20)
327
+
328
+ Wed, 11 Aug 2021 07:34:54 GMT
329
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.19..@fluentui/react-checkbox_v9.0.0-alpha.20)
330
+
331
+ ### Changes
332
+
333
+ - Bump @fluentui/react-label to v9.0.0-alpha.25 ([PR #19256](https://github.com/microsoft/fluentui/pull/19256) by olfedias@microsoft.com)
334
+
335
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.19)
336
+
337
+ Fri, 06 Aug 2021 07:35:14 GMT
338
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.18..@fluentui/react-checkbox_v9.0.0-alpha.19)
339
+
340
+ ### Changes
341
+
342
+ - Bump @fluentui/react-label to v9.0.0-alpha.24 ([PR #19281](https://github.com/microsoft/fluentui/pull/19281) by jspurlin@microsoft.com)
343
+
344
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.18)
345
+
346
+ Tue, 03 Aug 2021 07:39:30 GMT
347
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.17..@fluentui/react-checkbox_v9.0.0-alpha.18)
348
+
349
+ ### Patches
350
+
351
+ - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
352
+ - Bump @fluentui/react-conformance to v0.4.4 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
353
+ - Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
354
+
355
+ ### Changes
356
+
357
+ - Fix issues flagged by the exhaustive-deps rule in useCheckbox ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
358
+
359
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.17)
360
+
361
+ Mon, 02 Aug 2021 07:36:20 GMT
362
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.16..@fluentui/react-checkbox_v9.0.0-alpha.17)
363
+
364
+ ### Changes
365
+
366
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.36 ([PR #19204](https://github.com/microsoft/fluentui/pull/19204) by lingfan.gao@microsoft.com)
367
+
368
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.16)
369
+
370
+ Wed, 28 Jul 2021 07:34:11 GMT
371
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.15..@fluentui/react-checkbox_v9.0.0-alpha.16)
372
+
373
+ ### Changes
374
+
375
+ - Adding Checkbox implementation. ([PR #18907](https://github.com/microsoft/fluentui/pull/18907) by esteban.230@hotmail.com)
376
+
377
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.15)
378
+
379
+ Mon, 26 Jul 2021 07:37:30 GMT
380
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.14..@fluentui/react-checkbox_v9.0.0-alpha.15)
381
+
382
+ ### Changes
383
+
384
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.28 ([PR #19060](https://github.com/microsoft/fluentui/pull/19060) by miroslav.stastny@microsoft.com)
385
+
386
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.14)
387
+
388
+ Fri, 23 Jul 2021 07:38:19 GMT
389
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.13..@fluentui/react-checkbox_v9.0.0-alpha.14)
390
+
391
+ ### Changes
392
+
393
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.27 ([PR #19041](https://github.com/microsoft/fluentui/pull/19041) by miroslav.stastny@microsoft.com)
394
+
395
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.13)
396
+
397
+ Thu, 22 Jul 2021 07:36:55 GMT
398
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.12..@fluentui/react-checkbox_v9.0.0-alpha.13)
399
+
400
+ ### Changes
401
+
402
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.34 ([PR #19023](https://github.com/microsoft/fluentui/pull/19023) by behowell@microsoft.com)
403
+
404
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.12)
405
+
406
+ Tue, 20 Jul 2021 22:23:17 GMT
407
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.11..@fluentui/react-checkbox_v9.0.0-alpha.12)
408
+
409
+ ### Changes
410
+
411
+ - Updating spec to reflect Checkbox implementation ([PR #19026](https://github.com/microsoft/fluentui/pull/19026) by esteban.230@hotmail.com)
412
+
413
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.11)
414
+
415
+ Thu, 15 Jul 2021 07:36:18 GMT
416
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.10..@fluentui/react-checkbox_v9.0.0-alpha.11)
417
+
418
+ ### Changes
419
+
420
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.33 ([PR #18861](https://github.com/microsoft/fluentui/pull/18861) by bsunderhus@microsoft.com)
421
+
422
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.10)
423
+
424
+ Tue, 13 Jul 2021 22:32:58 GMT
425
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.9..@fluentui/react-checkbox_v9.0.0-alpha.10)
426
+
427
+ ### Patches
428
+
429
+ - Bump @fluentui/react-conformance to v0.4.3 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com)
430
+
431
+ ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.9)
432
+
433
+ Tue, 13 Jul 2021 07:35:36 GMT
434
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.8..@fluentui/react-checkbox_v9.0.0-alpha.9)
435
+
436
+ ### Changes
437
+
438
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.24 ([PR #18560](https://github.com/microsoft/fluentui/pull/18560) by behowell@microsoft.com)
439
+
440
+ ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.8)
441
+
442
+ Fri, 09 Jul 2021 07:39:31 GMT
443
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.7..@fluentui/react-checkbox_v9.0.0-alpha.8)
444
+
445
+ ### Patches
446
+
447
+ - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
448
+ - Bump @fluentui/react-conformance to v0.4.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
449
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
450
+
451
+ ### Changes
452
+
453
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.23 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
454
+
7
455
  ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.7)
8
456
 
9
- Fri, 02 Jul 2021 23:12:33 GMT
457
+ Fri, 02 Jul 2021 23:15:55 GMT
10
458
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.6..@fluentui/react-checkbox_v9.0.0-alpha.7)
11
459
 
12
460
  ### Changes
package/Spec.md CHANGED
@@ -101,19 +101,17 @@ Component props:
101
101
  ## Sample Code
102
102
 
103
103
  ```tsx
104
- <Checkbox>Example Checkbox</Checkbox>
104
+ <Checkbox label="Example Checkbox" />
105
105
 
106
- <Checkbox>
107
- <>Example Checkbox with <a href="https://www.microsoft.com">link</a></>
108
- </Checkbox>
106
+ <Checkbox label={<>Example Checkbox with <a href="https://www.microsoft.com">link</a></>} />
109
107
 
110
- <Checkbox circular size="large">Circular Checkbox</Checkbox>
108
+ <Checkbox label="Circular Checkbox" circular size="large" />
111
109
 
112
- <Checkbox onChange={onChangeFunction}>Controlled Checkbox</Checkbox>
110
+ <Checkbox label="Controlled Checkbox" onChange={onChangeFunction} />
113
111
 
114
- <Checkbox checked="mixed">Mixed Checkbox</Checkbox>
112
+ <Checkbox label="Mixed Checkbox" checked="mixed" />
115
113
 
116
- <Checkbox>{{ children: 'Custom Label', style: { color: 'red' }, required: true }}</Chekbox>
114
+ <Checkbox label={{ children: 'Custom Label', style: { color: 'red' }, required: true }} />
117
115
  ```
118
116
 
119
117
  ## Variants
@@ -130,21 +128,23 @@ Component props:
130
128
  /**
131
129
  * Checkbox Props
132
130
  */
133
- export interface CheckboxProps extends ComponentProps, React.HTMLAttributes<HTMLElement> {
131
+ export interface CheckboxProps
132
+ extends Omit<ComponentPropsCompat, 'children'>,
133
+ Omit<React.HTMLAttributes<HTMLElement>, 'defaultChecked'> {
134
134
  /**
135
- * Children to be rendered as a Label.
135
+ * Label that will be rendered next to the input.
136
136
  */
137
- children?: ShorthandProps<LabelProps>;
137
+ label?: ShorthandProps<LabelProps>;
138
138
 
139
139
  /**
140
- * Icon to be displayed when the checkbox is in the checked state.
140
+ * Indicator to be rendered as the checkbox icon.
141
141
  */
142
- checkmarkIcon?: React.ReactElement;
142
+ indicator?: ShorthandProps<ComponentPropsCompat>;
143
143
 
144
144
  /**
145
- * Icon to be displayed when the checkbox is in the mixed state.
145
+ * Hidden input that handles the checkbox's functionality.
146
146
  */
147
- mixedIcon?: React.ReactElement;
147
+ input?: ShorthandProps<React.InputHTMLAttributes<HTMLInputElement> & { ref: React.RefObject<HTMLInputElement> }>;
148
148
 
149
149
  /**
150
150
  * Disabled state of the checkbox.
@@ -179,10 +179,10 @@ export interface CheckboxProps extends ComponentProps, React.HTMLAttributes<HTML
179
179
  size?: 'medium' | 'large';
180
180
 
181
181
  /**
182
- * Determines whether the label should be positioned before (start) or after (end) the checkbox.
183
- * @defaultvalue 'end'
182
+ * Determines whether the label should be positioned before or after the checkbox.
183
+ * @defaultvalue 'after'
184
184
  */
185
- labelPosition?: 'start' | 'end';
185
+ labelPosition?: 'before' | 'after';
186
186
 
187
187
  /**
188
188
  * ID of the root element that wraps the checkbox and label.
@@ -208,19 +208,15 @@ export interface CheckboxOnChangeData {
208
208
  }
209
209
  ```
210
210
 
211
- Some feedback needed for props are:
212
-
213
- - `checked` will work similar to `aria-checked` and have `true`, `false`, and `mixed` options.
214
- - A `rootId` is needed since the input and label will share an id and `rootId` will be used for the root element.
215
- - To initially make the checkbox simple, both mixed and checked icons will be a `ReactElement` instead of a slot.
216
- - Based on feedback, `Checkbox` will now use children for the `Label`.
217
-
218
211
  ## Structure
219
212
 
213
+ - The icon that will be used to represent the Checkbox's state is a slot to allow customization of the icons. This means that if a user were to customize the icons that will appear, the user will have to handle both icons based on the state.
214
+ - The input element will be a slot to allow for customization.
215
+
220
216
  ### **Public**
221
217
 
222
- ```tsx
223
- <Checkbox>Example Checkbox</Checkbox>
218
+ ```html
219
+ <Checkbox label="Example Checkbox" />
224
220
  ```
225
221
 
226
222
  ### **Internal**
@@ -229,8 +225,8 @@ Some feedback needed for props are:
229
225
  <slots.root {...slotProps.root}>
230
226
  {state.labelPosition === 'start' && <slots.label {...slotProps.label} />}
231
227
  <div className={state.checkboxClassName}>
232
- <div className={state.iconClassName}>{icon}</div>
233
- <input {...inputProps} />
228
+ <slots.indicator {...slotProps.indicator} />
229
+ <slots.input {...slotProps.input} />
234
230
  </div>
235
231
  {state.labelPosition === 'end' && <slots.label {...slotProps.label} />}
236
232
  </slots.root>
@@ -240,15 +236,15 @@ Some feedback needed for props are:
240
236
 
241
237
  In this case, the label position is set to end as per default.
242
238
 
243
- ```tsx
239
+ ```html
244
240
  <div {/* Root Element */}>
245
241
  <div {/* Checkbox */}>
246
- <div {/* Icon */}>
247
- ...Icon
242
+ <div {/* indicator */}>
243
+ ...indicator
248
244
  </div>
249
- <input id="cbox-1" type="checkbox" aria-checked="..." aria-label="..." aria-labelledby="..." aria-disabled="..." aria-posinset="..." aria-setsize="..." />
245
+ <input id="cbox-1" ...props />
250
246
  </div>
251
- <label for="cbox-1">
247
+ <label for="cbox-1" ...props>
252
248
  Example Checkbox
253
249
  </label>
254
250
  </div>