@typestyles/rollup 0.0.0-unstable.6c696fbd20ce → 0.0.0-unstable.6fa3e9bf6d93

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.cjs CHANGED
@@ -25,7 +25,6 @@ __export(index_exports, {
25
25
  });
26
26
  module.exports = __toCommonJS(index_exports);
27
27
  var import_build_runner = require("@typestyles/build-runner");
28
- var STYLES_CREATE_RE = /styles\.create\(\s*['"]([^'"]+)['"]/g;
29
28
  var STYLES_COMPONENT_RE = /styles\.component\(\s*['"]([^'"]+)['"]/g;
30
29
  var TOKENS_CREATE_RE = /tokens\.create\(\s*['"]([^'"]+)['"]/g;
31
30
  var CREATE_THEME_RE = /(?:tokens\.)?createTheme\(\s*['"]([^'"]+)['"]/g;
@@ -36,9 +35,6 @@ var TYPESTYLES_IMPORT_RE = /(?:from\s+|import\s+|require\s*\(\s*)['"]typestyles[
36
35
  function extractNamespaces(code) {
37
36
  const keys = [];
38
37
  const prefixes = [];
39
- for (const match of code.matchAll(STYLES_CREATE_RE)) {
40
- prefixes.push(`.${match[1]}-`);
41
- }
42
38
  for (const match of code.matchAll(STYLES_COMPONENT_RE)) {
43
39
  prefixes.push(`.${match[1]}-`);
44
40
  }
package/dist/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  // src/index.ts
2
2
  import { runTypestylesBuild } from "@typestyles/build-runner";
3
- var STYLES_CREATE_RE = /styles\.create\(\s*['"]([^'"]+)['"]/g;
4
3
  var STYLES_COMPONENT_RE = /styles\.component\(\s*['"]([^'"]+)['"]/g;
5
4
  var TOKENS_CREATE_RE = /tokens\.create\(\s*['"]([^'"]+)['"]/g;
6
5
  var CREATE_THEME_RE = /(?:tokens\.)?createTheme\(\s*['"]([^'"]+)['"]/g;
@@ -11,9 +10,6 @@ var TYPESTYLES_IMPORT_RE = /(?:from\s+|import\s+|require\s*\(\s*)['"]typestyles[
11
10
  function extractNamespaces(code) {
12
11
  const keys = [];
13
12
  const prefixes = [];
14
- for (const match of code.matchAll(STYLES_CREATE_RE)) {
15
- prefixes.push(`.${match[1]}-`);
16
- }
17
13
  for (const match of code.matchAll(STYLES_COMPONENT_RE)) {
18
14
  prefixes.push(`.${match[1]}-`);
19
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@typestyles/rollup",
3
- "version": "0.0.0-unstable.6c696fbd20ce",
3
+ "version": "0.0.0-unstable.6fa3e9bf6d93",
4
4
  "description": "Rollup and Rolldown plugin for typestyles",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -38,7 +38,7 @@
38
38
  "rollup": ">=4.0.0"
39
39
  },
40
40
  "dependencies": {
41
- "@typestyles/build-runner": "0.0.0-unstable.6c696fbd20ce"
41
+ "@typestyles/build-runner": "0.0.0-unstable.6fa3e9bf6d93"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@types/node": "^25.2.1",