@kbach/react 0.5.44 → 0.5.45

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.
@@ -2991,7 +2991,7 @@ function extractClassStrings(code) {
2991
2991
  const innerStrings = block.match(/["'`]([^"'`]{1,300})["'`]/g) ?? [];
2992
2992
  for (const s of innerStrings) pushTokens(s.slice(1, -1), found);
2993
2993
  }
2994
- const clsxRe = /(?:clsx|cn|classnames)\(([^)]{1,1000})\)/g;
2994
+ const clsxRe = /(?:clsx|cn|classnames|cx)\(([^)]{1,1000})\)/g;
2995
2995
  while ((m = clsxRe.exec(code)) !== null) {
2996
2996
  const block = m[1];
2997
2997
  const innerStrings = block.match(/["'`]([^"'`]{1,300})["'`]/g) ?? [];
@@ -185,7 +185,7 @@ function extractClassStrings(code) {
185
185
  const innerStrings = block.match(/["'`]([^"'`]{1,300})["'`]/g) ?? [];
186
186
  for (const s of innerStrings) pushTokens(s.slice(1, -1), found);
187
187
  }
188
- const clsxRe = /(?:clsx|cn|classnames)\(([^)]{1,1000})\)/g;
188
+ const clsxRe = /(?:clsx|cn|classnames|cx)\(([^)]{1,1000})\)/g;
189
189
  while ((m = clsxRe.exec(code)) !== null) {
190
190
  const block = m[1];
191
191
  const innerStrings = block.match(/["'`]([^"'`]{1,300})["'`]/g) ?? [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kbach/react",
3
- "version": "0.5.44",
3
+ "version": "0.5.45",
4
4
  "description": "React / React Native components and hooks for the Kbach framework",
5
5
  "source": "./src/index.ts",
6
6
  "main": "./dist/index.js",