@onereach/styles 2.17.2 → 2.17.3-beta.1126.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.17.2",
3
+ "version": "2.17.3-beta.1126.0",
4
4
  "description": "Styles for or-ui-next",
5
5
  "main": "./main.css",
6
6
  "unpkg": "./main.css",
@@ -49,6 +49,5 @@
49
49
  "dependencies": {
50
50
  "@tailwindcss/typography": "^0.5.4",
51
51
  "tailwindcss": "^3.1.3"
52
- },
53
- "gitHead": "382270ca99c1ff1ecef5018f6e9ceec3caed97d3"
52
+ }
54
53
  }
@@ -72,7 +72,6 @@ module.exports = {
72
72
  content: {
73
73
  'label-required': '"*"',
74
74
 
75
- 'checkbox-unchecked': '""',
76
75
  'checkbox-checked': '"check_small"',
77
76
  'checkbox-indeterminate': '"check_indeterminate_small"',
78
77
  },
@@ -196,23 +195,23 @@ module.exports = {
196
195
  addVariant('focus-within', '&:focus-within:not(.pointer-events-none)');
197
196
  addVariant('active', '&:active:not(.pointer-events-none)');
198
197
 
199
- addVariant('checked', [
200
- '&[type="checkbox"]:checked:not(:indeterminate)',
201
- '&[type="radio"]:checked',
202
- ]);
203
-
204
- addVariant('unchecked', [
205
- '&[type="checkbox"]:not(:checked):not(:indeterminate)',
206
- '&[type="radio"]:not(:checked)',
207
- ]);
208
-
209
- addVariant('selected', '&[selected]');
198
+ addVariant('enabled', ['&:enabled', '&:not([disabled])']);
199
+ addVariant('disabled', ['&:disabled', '&[disabled]']);
210
200
 
211
201
  addVariant('valid', ['&:valid', '&:not([invalid])']);
212
202
  addVariant('invalid', ['&:invalid', '&[invalid]']);
213
203
 
214
- addVariant('enabled', ['&:enabled', '&:not([disabled])']);
215
- addVariant('disabled', ['&:disabled', '&[disabled]']);
204
+ addVariant('checked', [
205
+ '&[type="checkbox"]:checked:not(:indeterminate)',
206
+ '&[type="radio"]:checked',
207
+ ]);
216
208
  }),
217
209
  ],
210
+
211
+ safelist: [
212
+ {
213
+ pattern: /^text-(.+)$/,
214
+ variants: ['hover'],
215
+ },
216
+ ],
218
217
  };