@getcoherent/core 0.6.51 → 0.6.52
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/dist/index.js +1 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10336,9 +10336,7 @@ function getAllowedColorClasses(cssString) {
|
|
|
10336
10336
|
const modifierGroup = `(?:(?:[a-z][a-z0-9-]*:)*)?`;
|
|
10337
10337
|
const prefixGroup = `(?:${COLOR_PREFIXES.join("|")})`;
|
|
10338
10338
|
const colorGroup = `(?:${RAW_TAILWIND_COLORS.join("|")})`;
|
|
10339
|
-
const disallowedPattern = new RegExp(
|
|
10340
|
-
`\\b${modifierGroup}${prefixGroup}-${colorGroup}-\\d+(?:\\/\\d+)?\\b`
|
|
10341
|
-
);
|
|
10339
|
+
const disallowedPattern = new RegExp(`\\b${modifierGroup}${prefixGroup}-${colorGroup}-\\d+(?:\\/\\d+)?\\b`);
|
|
10342
10340
|
return { classes, constraintSnippet, disallowedPattern };
|
|
10343
10341
|
}
|
|
10344
10342
|
|