@fluentui/react-checkbox 9.0.0-alpha.6 → 9.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (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 07:35:03 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 06 Oct 2021 10:36:00 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.0.0-beta.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-beta.1)
8
+
9
+ Wed, 06 Oct 2021 10:36:00 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.48..@fluentui/react-checkbox_v9.0.0-beta.1)
11
+
12
+ ### Changes
13
+
14
+ - Bump all v9 components to beta prerelease tag ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by lingfangao@hotmail.com)
15
+ - Bump @fluentui/react-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
16
+ - Bump @fluentui/react-utilities to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
17
+ - Bump @fluentui/react-label to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
18
+ - Bump @fluentui/react-tabster to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
19
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
20
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-beta.1 ([PR #20106](https://github.com/microsoft/fluentui/pull/20106) by beachball)
21
+
22
+ ## [9.0.0-alpha.48](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.48)
23
+
24
+ Tue, 05 Oct 2021 12:47:58 GMT
25
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.47..@fluentui/react-checkbox_v9.0.0-alpha.48)
26
+
27
+ ### Changes
28
+
29
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.78 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
30
+ - Bump @fluentui/react-label to v9.0.0-alpha.51 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
31
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.73 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
32
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.53 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
33
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.22 ([PR #20108](https://github.com/microsoft/fluentui/pull/20108) by beachball)
34
+
35
+ ## [9.0.0-alpha.47](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.47)
36
+
37
+ Tue, 05 Oct 2021 09:28:07 GMT
38
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.46..@fluentui/react-checkbox_v9.0.0-alpha.47)
39
+
40
+ ### Changes
41
+
42
+ - Adds ForwardRefComponent to react-label components declaration ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by bsunderhus@microsoft.com)
43
+ - Adds ForwardRefComponent to react-checkbox components declaration ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by bsunderhus@microsoft.com)
44
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.77 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
45
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.56 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
46
+ - Bump @fluentui/react-label to v9.0.0-alpha.50 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
47
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.72 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
48
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.52 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
49
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.21 ([PR #20081](https://github.com/microsoft/fluentui/pull/20081) by beachball)
50
+
51
+ ## [9.0.0-alpha.46](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.46)
52
+
53
+ Fri, 01 Oct 2021 14:13:08 GMT
54
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.44..@fluentui/react-checkbox_v9.0.0-alpha.46)
55
+
56
+ ### Changes
57
+
58
+ - Bump v9 prerelease versions to rerelease ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by lingfangao@hotmail.com)
59
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.76 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
60
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.55 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
61
+ - Bump @fluentui/react-label to v9.0.0-alpha.49 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
62
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.71 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
63
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.51 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
64
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.20 ([PR #20069](https://github.com/microsoft/fluentui/pull/20069) by beachball)
65
+
66
+ ## [9.0.0-alpha.44](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.44)
67
+
68
+ Fri, 01 Oct 2021 09:44:56 GMT
69
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.43..@fluentui/react-checkbox_v9.0.0-alpha.44)
70
+
71
+ ### Changes
72
+
73
+ - Use new default pseudo element focus outline style ([PR #19990](https://github.com/microsoft/fluentui/pull/19990) by lingfangao@hotmail.com)
74
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.69 ([PR #19990](https://github.com/microsoft/fluentui/pull/19990) by beachball)
75
+
76
+ ## [9.0.0-alpha.43](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.43)
77
+
78
+ Wed, 29 Sep 2021 08:06:11 GMT
79
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.42..@fluentui/react-checkbox_v9.0.0-alpha.43)
80
+
81
+ ### Changes
82
+
83
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.74 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
84
+ - Bump @fluentui/react-label to v9.0.0-alpha.47 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
85
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.68 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
86
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.49 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
87
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.18 ([PR #19660](https://github.com/microsoft/fluentui/pull/19660) by beachball)
88
+
89
+ ## [9.0.0-alpha.42](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.42)
90
+
91
+ Mon, 27 Sep 2021 08:06:00 GMT
92
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.41..@fluentui/react-checkbox_v9.0.0-alpha.42)
93
+
94
+ ### Changes
95
+
96
+ - Updates Checkbox to use LabelProps on root ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by bsunderhus@microsoft.com)
97
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.73 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
98
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.53 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
99
+ - Bump @fluentui/react-label to v9.0.0-alpha.46 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
100
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.67 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
101
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.48 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
102
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.17 ([PR #19981](https://github.com/microsoft/fluentui/pull/19981) by beachball)
103
+
104
+ ## [9.0.0-alpha.41](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.41)
105
+
106
+ Fri, 24 Sep 2021 09:17:17 GMT
107
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.40..@fluentui/react-checkbox_v9.0.0-alpha.41)
108
+
109
+ ### Changes
110
+
111
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.72 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
112
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.52 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
113
+ - Bump @fluentui/react-label to v9.0.0-alpha.45 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
114
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.66 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
115
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.47 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
116
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.16 ([PR #19950](https://github.com/microsoft/fluentui/pull/19950) by beachball)
117
+
118
+ ## [9.0.0-alpha.40](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.40)
119
+
120
+ Thu, 23 Sep 2021 08:21:34 GMT
121
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.39..@fluentui/react-checkbox_v9.0.0-alpha.40)
122
+
123
+ ### Changes
124
+
125
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.71 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
126
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.51 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
127
+ - Bump @fluentui/react-label to v9.0.0-alpha.44 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
128
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.65 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
129
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.46 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
130
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.15 ([commit](https://github.com/microsoft/fluentui/commit/95682da34c48813f7658032ae490d21d2f363b90) by beachball)
131
+
132
+ ## [9.0.0-alpha.39](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.39)
133
+
134
+ Wed, 22 Sep 2021 10:10:07 GMT
135
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.38..@fluentui/react-checkbox_v9.0.0-alpha.39)
136
+
137
+ ### Changes
138
+
139
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.70 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
140
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.50 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
141
+ - Bump @fluentui/react-label to v9.0.0-alpha.43 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
142
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.64 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
143
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.45 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
144
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.14 ([commit](https://github.com/microsoft/fluentui/commit/bc3f1ec72fc7784a558b0dd6598ee0662f4649c1) by beachball)
145
+
146
+ ## [9.0.0-alpha.38](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.38)
147
+
148
+ Tue, 21 Sep 2021 07:42:34 GMT
149
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.37..@fluentui/react-checkbox_v9.0.0-alpha.38)
150
+
151
+ ### Changes
152
+
153
+ - Bump @fluentui/react-make-styles to v9.0.0-alpha.69 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
154
+ - Bump @fluentui/react-label to v9.0.0-alpha.42 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
155
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.63 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
156
+ - Bump @fluentui/jest-serializer-make-styles to v9.0.0-alpha.44 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
157
+ - Bump @fluentui/react-conformance-make-styles to v9.0.0-alpha.13 ([PR #19865](https://github.com/microsoft/fluentui/pull/19865) by beachball)
158
+
159
+ ## [9.0.0-alpha.37](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.37)
160
+
161
+ Mon, 20 Sep 2021 07:36:26 GMT
162
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.36..@fluentui/react-checkbox_v9.0.0-alpha.37)
163
+
164
+ ### Changes
165
+
166
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.37 ([PR #19844](https://github.com/microsoft/fluentui/pull/19844) by lingfangao@hotmail.com)
167
+
168
+ ## [9.0.0-alpha.36](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.36)
169
+
170
+ Fri, 17 Sep 2021 07:35:26 GMT
171
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.35..@fluentui/react-checkbox_v9.0.0-alpha.36)
172
+
173
+ ### Changes
174
+
175
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.36 ([PR #19840](https://github.com/microsoft/fluentui/pull/19840) by Humberto.Morimoto@microsoft.com)
176
+
177
+ ## [9.0.0-alpha.35](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.35)
178
+
179
+ Thu, 16 Sep 2021 07:38:39 GMT
180
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.34..@fluentui/react-checkbox_v9.0.0-alpha.35)
181
+
182
+ ### Changes
183
+
184
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.35 ([PR #19815](https://github.com/microsoft/fluentui/pull/19815) by behowell@microsoft.com)
185
+
186
+ ## [9.0.0-alpha.34](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.34)
187
+
188
+ Tue, 14 Sep 2021 20:09:02 GMT
189
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.33..@fluentui/react-checkbox_v9.0.0-alpha.34)
190
+
191
+ ### Changes
192
+
193
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.34 ([PR #19155](https://github.com/microsoft/fluentui/pull/19155) by bsunderhus@microsoft.com)
194
+
195
+ ## [9.0.0-alpha.33](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.33)
196
+
197
+ Fri, 10 Sep 2021 16:31:53 GMT
198
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.32..@fluentui/react-checkbox_v9.0.0-alpha.33)
199
+
200
+ ### Changes
201
+
202
+ - 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)
203
+ - Bump @fluentui/react-checkbox to v9.0.0-alpha.33 ([PR #19748](https://github.com/microsoft/fluentui/pull/19748) by lingfangao@hotmail.com)
204
+
205
+ ## [9.0.0-alpha.32](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.32)
206
+
207
+ Fri, 10 Sep 2021 07:39:51 GMT
208
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.31..@fluentui/react-checkbox_v9.0.0-alpha.32)
209
+
210
+ ### Changes
211
+
212
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.45 ([PR #19642](https://github.com/microsoft/fluentui/pull/19642) by behowell@microsoft.com)
213
+
214
+ ## [9.0.0-alpha.31](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.31)
215
+
216
+ Mon, 06 Sep 2021 07:34:53 GMT
217
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.30..@fluentui/react-checkbox_v9.0.0-alpha.31)
218
+
219
+ ### Changes
220
+
221
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.44 ([PR #19640](https://github.com/microsoft/fluentui/pull/19640) by lingfangao@hotmail.com)
222
+
223
+ ## [9.0.0-alpha.30](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.30)
224
+
225
+ Thu, 02 Sep 2021 07:36:46 GMT
226
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.29..@fluentui/react-checkbox_v9.0.0-alpha.30)
227
+
228
+ ### Patches
229
+
230
+ - Bump @fluentui/react-conformance to v0.4.5 ([PR #19590](https://github.com/microsoft/fluentui/pull/19590) by olfedias@microsoft.com)
231
+
232
+ ### Changes
233
+
234
+ - Bump @fluentui/react-label to v9.0.0-alpha.34 ([PR #19065](https://github.com/microsoft/fluentui/pull/19065) by olfedias@microsoft.com)
235
+
236
+ ## [9.0.0-alpha.29](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.29)
237
+
238
+ Wed, 01 Sep 2021 07:39:56 GMT
239
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.28..@fluentui/react-checkbox_v9.0.0-alpha.29)
240
+
241
+ ### Changes
242
+
243
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.43 ([PR #19483](https://github.com/microsoft/fluentui/pull/19483) by bsunderhus@microsoft.com)
244
+
245
+ ## [9.0.0-alpha.28](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.28)
246
+
247
+ Tue, 31 Aug 2021 07:37:47 GMT
248
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.27..@fluentui/react-checkbox_v9.0.0-alpha.28)
249
+
250
+ ### Changes
251
+
252
+ - Bump @fluentui/react-tabster to v9.0.0-alpha.54 ([PR #19534](https://github.com/microsoft/fluentui/pull/19534) by marata@microsoft.com)
253
+
254
+ ## [9.0.0-alpha.27](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.27)
255
+
256
+ Fri, 27 Aug 2021 07:33:32 GMT
257
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.26..@fluentui/react-checkbox_v9.0.0-alpha.27)
258
+
259
+ ### Changes
260
+
261
+ - Bump @fluentui/react-label to v9.0.0-alpha.31 ([PR #19462](https://github.com/microsoft/fluentui/pull/19462) by olfedias@microsoft.com)
262
+
263
+ ## [9.0.0-alpha.26](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.26)
264
+
265
+ Thu, 26 Aug 2021 07:35:43 GMT
266
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.25..@fluentui/react-checkbox_v9.0.0-alpha.26)
267
+
268
+ ### Changes
269
+
270
+ - Bump @fluentui/react-label to v9.0.0-alpha.30 ([PR #19486](https://github.com/microsoft/fluentui/pull/19486) by martinhochel@microsoft.com)
271
+
272
+ ## [9.0.0-alpha.25](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.25)
273
+
274
+ Wed, 25 Aug 2021 07:35:19 GMT
275
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.24..@fluentui/react-checkbox_v9.0.0-alpha.25)
276
+
277
+ ### Changes
278
+
279
+ - Reverting to compat ([PR #19495](https://github.com/microsoft/fluentui/pull/19495) by bsunderhus@microsoft.com)
280
+
281
+ ## [9.0.0-alpha.24](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.24)
282
+
283
+ Fri, 20 Aug 2021 07:37:28 GMT
284
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.23..@fluentui/react-checkbox_v9.0.0-alpha.24)
285
+
286
+ ### Changes
287
+
288
+ - Update .npmignore ([PR #19441](https://github.com/microsoft/fluentui/pull/19441) by elcraig@microsoft.com)
289
+
290
+ ## [9.0.0-alpha.23](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.23)
291
+
292
+ Thu, 19 Aug 2021 07:41:35 GMT
293
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.22..@fluentui/react-checkbox_v9.0.0-alpha.23)
294
+
295
+ ### Changes
296
+
297
+ - Updates react-checkbox on slot null rendering ([PR #19273](https://github.com/microsoft/fluentui/pull/19273) by bsunderhus@microsoft.com)
298
+
299
+ ## [9.0.0-alpha.22](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.22)
300
+
301
+ Tue, 17 Aug 2021 07:34:07 GMT
302
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.21..@fluentui/react-checkbox_v9.0.0-alpha.22)
303
+
304
+ ### Changes
305
+
306
+ - Refactoring Checkbox, removing mergeProps, and fixing indicator styles. ([PR #19225](https://github.com/microsoft/fluentui/pull/19225) by esteban.230@hotmail.com)
307
+
308
+ ## [9.0.0-alpha.21](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.21)
309
+
310
+ Fri, 13 Aug 2021 07:36:34 GMT
311
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.20..@fluentui/react-checkbox_v9.0.0-alpha.21)
312
+
313
+ ### Changes
314
+
315
+ - 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)
316
+
317
+ ## [9.0.0-alpha.20](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.20)
318
+
319
+ Wed, 11 Aug 2021 07:34:54 GMT
320
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.19..@fluentui/react-checkbox_v9.0.0-alpha.20)
321
+
322
+ ### Changes
323
+
324
+ - Bump @fluentui/react-label to v9.0.0-alpha.25 ([PR #19256](https://github.com/microsoft/fluentui/pull/19256) by olfedias@microsoft.com)
325
+
326
+ ## [9.0.0-alpha.19](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.19)
327
+
328
+ Fri, 06 Aug 2021 07:35:14 GMT
329
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.18..@fluentui/react-checkbox_v9.0.0-alpha.19)
330
+
331
+ ### Changes
332
+
333
+ - Bump @fluentui/react-label to v9.0.0-alpha.24 ([PR #19281](https://github.com/microsoft/fluentui/pull/19281) by jspurlin@microsoft.com)
334
+
335
+ ## [9.0.0-alpha.18](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.18)
336
+
337
+ Tue, 03 Aug 2021 07:39:30 GMT
338
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.17..@fluentui/react-checkbox_v9.0.0-alpha.18)
339
+
340
+ ### Patches
341
+
342
+ - Bump @fluentui/eslint-plugin to v1.3.3 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
343
+ - Bump @fluentui/react-conformance to v0.4.4 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
344
+ - Bump @fluentui/scripts to v1.0.0 ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
345
+
346
+ ### Changes
347
+
348
+ - Fix issues flagged by the exhaustive-deps rule in useCheckbox ([PR #19169](https://github.com/microsoft/fluentui/pull/19169) by behowell@microsoft.com)
349
+
350
+ ## [9.0.0-alpha.17](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.17)
351
+
352
+ Mon, 02 Aug 2021 07:36:20 GMT
353
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.16..@fluentui/react-checkbox_v9.0.0-alpha.17)
354
+
355
+ ### Changes
356
+
357
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.36 ([PR #19204](https://github.com/microsoft/fluentui/pull/19204) by lingfan.gao@microsoft.com)
358
+
359
+ ## [9.0.0-alpha.16](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.16)
360
+
361
+ Wed, 28 Jul 2021 07:34:11 GMT
362
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.15..@fluentui/react-checkbox_v9.0.0-alpha.16)
363
+
364
+ ### Changes
365
+
366
+ - Adding Checkbox implementation. ([PR #18907](https://github.com/microsoft/fluentui/pull/18907) by esteban.230@hotmail.com)
367
+
368
+ ## [9.0.0-alpha.15](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.15)
369
+
370
+ Mon, 26 Jul 2021 07:37:30 GMT
371
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.14..@fluentui/react-checkbox_v9.0.0-alpha.15)
372
+
373
+ ### Changes
374
+
375
+ - 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)
376
+
377
+ ## [9.0.0-alpha.14](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.14)
378
+
379
+ Fri, 23 Jul 2021 07:38:19 GMT
380
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.13..@fluentui/react-checkbox_v9.0.0-alpha.14)
381
+
382
+ ### Changes
383
+
384
+ - 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)
385
+
386
+ ## [9.0.0-alpha.13](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.13)
387
+
388
+ Thu, 22 Jul 2021 07:36:55 GMT
389
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.12..@fluentui/react-checkbox_v9.0.0-alpha.13)
390
+
391
+ ### Changes
392
+
393
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.34 ([PR #19023](https://github.com/microsoft/fluentui/pull/19023) by behowell@microsoft.com)
394
+
395
+ ## [9.0.0-alpha.12](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.12)
396
+
397
+ Tue, 20 Jul 2021 22:23:17 GMT
398
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.11..@fluentui/react-checkbox_v9.0.0-alpha.12)
399
+
400
+ ### Changes
401
+
402
+ - Updating spec to reflect Checkbox implementation ([PR #19026](https://github.com/microsoft/fluentui/pull/19026) by esteban.230@hotmail.com)
403
+
404
+ ## [9.0.0-alpha.11](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.11)
405
+
406
+ Thu, 15 Jul 2021 07:36:18 GMT
407
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.10..@fluentui/react-checkbox_v9.0.0-alpha.11)
408
+
409
+ ### Changes
410
+
411
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.33 ([PR #18861](https://github.com/microsoft/fluentui/pull/18861) by bsunderhus@microsoft.com)
412
+
413
+ ## [9.0.0-alpha.10](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.10)
414
+
415
+ Tue, 13 Jul 2021 22:32:58 GMT
416
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.9..@fluentui/react-checkbox_v9.0.0-alpha.10)
417
+
418
+ ### Patches
419
+
420
+ - Bump @fluentui/react-conformance to v0.4.3 ([PR #18925](https://github.com/microsoft/fluentui/pull/18925) by elcraig@microsoft.com)
421
+
422
+ ## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.9)
423
+
424
+ Tue, 13 Jul 2021 07:35:36 GMT
425
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.8..@fluentui/react-checkbox_v9.0.0-alpha.9)
426
+
427
+ ### Changes
428
+
429
+ - 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)
430
+
431
+ ## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.8)
432
+
433
+ Fri, 09 Jul 2021 07:39:31 GMT
434
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.7..@fluentui/react-checkbox_v9.0.0-alpha.8)
435
+
436
+ ### Patches
437
+
438
+ - Bump @fluentui/eslint-plugin to v1.3.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
439
+ - Bump @fluentui/react-conformance to v0.4.2 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
440
+ - Bump @fluentui/scripts to v1.0.0 ([PR #18808](https://github.com/microsoft/fluentui/pull/18808) by martinhochel@microsoft.com)
441
+
442
+ ### Changes
443
+
444
+ - 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)
445
+
446
+ ## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.7)
447
+
448
+ Fri, 02 Jul 2021 23:15:55 GMT
449
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.6..@fluentui/react-checkbox_v9.0.0-alpha.7)
450
+
451
+ ### Changes
452
+
453
+ - Bump @fluentui/react-utilities to v9.0.0-alpha.31 ([PR #18721](https://github.com/microsoft/fluentui/pull/18721) by bsunderhus@microsoft.com)
454
+
7
455
  ## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-checkbox_v9.0.0-alpha.6)
8
456
 
9
- Fri, 02 Jul 2021 07:35:03 GMT
457
+ Fri, 02 Jul 2021 07:37:06 GMT
10
458
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-checkbox_v9.0.0-alpha.5..@fluentui/react-checkbox_v9.0.0-alpha.6)
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>