@onereach/styles 2.11.3-next.927.0 → 2.11.3-next.928.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/styles",
3
- "version": "2.11.3-next.927.0",
3
+ "version": "2.11.3-next.928.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "license": "UNLICENSED",
6
6
  "main": "./main.css",
@@ -155,9 +155,17 @@ module.exports = {
155
155
  addVariant('focus-within', '&:focus-within:not(.pointer-events-none)');
156
156
  addVariant('active', '&:active:not(.pointer-events-none)');
157
157
 
158
- addVariant('checked', '&:checked:not(:indeterminate)');
159
- addVariant('unchecked', '&:not(:checked):not(:indeterminate)');
160
- addVariant('indeterminate', '&:indeterminate');
158
+ addVariant('checked', [
159
+ '&[type="checkbox"]:checked:not(:indeterminate)',
160
+ '&[type="radio"]:checked',
161
+ ]);
162
+
163
+ addVariant('unchecked', [
164
+ '&[type="checkbox"]:not(:checked):not(:indeterminate)',
165
+ '&[type="radio"]:not(:checked)',
166
+ ]);
167
+
168
+ addVariant('indeterminate', ['&:indeterminate']);
161
169
 
162
170
  addVariant('valid', ['&:valid', '&:not([invalid])']);
163
171
  addVariant('invalid', ['&:invalid', '&[invalid]']);