anubis-ui 1.2.22 → 1.2.23

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": "anubis-ui",
3
- "version": "1.2.22",
3
+ "version": "1.2.23",
4
4
  "description": "Class-based css generator",
5
5
  "main": "index.js",
6
6
  "keywords": [
@@ -39,7 +39,7 @@ const mapClassIntoRule = (stringClass: string): IRuleInfo | null => {
39
39
 
40
40
  const needsColor = params.utility?.declaration?.includes('${color}')
41
41
  const usesVariation = params.variationName
42
- const hasDefaultVariation = Object.keys(params.utility?.variations || []).includes('default')
42
+ const hasDefaultVariation = !params.utility?.variations || Object.keys(params.utility?.variations || []).includes('default')
43
43
 
44
44
  /**
45
45
  * If need color but doesn't have one or if need a variation but doesn't have one either