@ktjs/babel-plugin-ktjsx 0.2.3 → 0.3.1

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 (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -7,7 +7,8 @@ Current behavior:
7
7
  - add KT.js internal SVG / MathML flags on JSX elements in SVG / MathML context
8
8
  - validate directive combinations (`k-if` + `k-else`, and `k-for` mixed with conditional directives)
9
9
  - transform `k-for` into `source.map(...)` and remove `k-for` / `k-key` attributes
10
- - normalize sibling `k-if` / `k-else-if` / `k-else` chains into explicit `k-if` conditions
10
+ - compile adjacent `k-if` + `k-else` siblings into `KTConditional(...)`
11
+ - warn and leave `k-else-if` unchanged (currently unsupported)
11
12
 
12
13
  ## Install
13
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ktjs/babel-plugin-ktjsx",
3
- "version": "0.2.3",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",