@cssxjs/babel-plugin-rn-stylename-to-style 0.2.19 → 0.2.27

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/index.js +2 -0
  3. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,3 +1,28 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [0.2.27](https://github.com/startupjs/startupjs/compare/v0.2.26...v0.2.27) (2025-12-16)
7
+
8
+ **Note:** Version bump only for package @cssxjs/babel-plugin-rn-stylename-to-style
9
+
10
+
11
+
12
+
13
+
14
+ # v0.2.20 (Tue Dec 16 2025)
15
+
16
+ #### 🐛 Bug Fix
17
+
18
+ - fix(babel-plugin-rn-stylename-to-style): update scope bindings after injecting part styles into component props ([@cray0000](https://github.com/cray0000))
19
+
20
+ #### Authors: 1
21
+
22
+ - Pavel Zhukov ([@cray0000](https://github.com/cray0000))
23
+
24
+ ---
25
+
1
26
  # v0.2.17 (Mon Nov 10 2025)
2
27
 
3
28
  #### 🐛 Bug Fix
package/index.js CHANGED
@@ -121,6 +121,8 @@ module.exports = function (babel) {
121
121
  const value = $jsxAttribute.scope.generateUidIdentifier(partStyleAttr)
122
122
  props.properties.unshift(t.objectProperty(key, value))
123
123
  styleProps.push(buildDynamicPart(value, part))
124
+ // re-crawl to update scope bindings
125
+ $jsxAttribute.scope.crawl()
124
126
  }
125
127
  } else {
126
128
  throw $jsxAttribute.buildCodeFrameError(`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cssxjs/babel-plugin-rn-stylename-to-style",
3
- "version": "0.2.19",
3
+ "version": "0.2.27",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -27,13 +27,13 @@
27
27
  "@babel/parser": "^7.0.0",
28
28
  "@babel/template": "^7.4.0",
29
29
  "@babel/types": "^7.0.0",
30
- "@cssxjs/runtime": "^0.2.19"
30
+ "@cssxjs/runtime": "^0.2.27"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@babel/plugin-syntax-jsx": "^7.0.0",
34
- "@cssxjs/babel-plugin-react-pug": "^0.2.19",
34
+ "@cssxjs/babel-plugin-react-pug": "^0.2.27",
35
35
  "babel-plugin-tester": "^9.1.0",
36
36
  "jest": "^30.0.4"
37
37
  },
38
- "gitHead": "0653d6649b3754768a82756265c0061989171c83"
38
+ "gitHead": "68a2b7e3305e225801f6e636eff421e0a34d4a6c"
39
39
  }