Skip to content

Commit 569784e

Browse files
committed
0.0.2
1 parent c5d8522 commit 569784e

File tree

16 files changed

+58
-29
lines changed

16 files changed

+58
-29
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
## 0.0.2 (2023-10-10)
2+
3+
4+
### Features
5+
6+
* 处理不可继承的样式的情况,同时支持样式值为 inherit 的情况 ([13ae716](https://github.com/NervJS/parse-css-to-stylesheet/commit/13ae7167d4cbeb6fc880d764301320909530f236))
7+
* 代码解析支持装饰器 ([c5d8522](https://github.com/NervJS/parse-css-to-stylesheet/commit/c5d852215a8f98fa5137e691b9343232280a1587))
8+
* 调整代码 ([9c5f5d7](https://github.com/NervJS/parse-css-to-stylesheet/commit/9c5f5d7b2f1269b39b9a90f446f6262c16c93d6d))
9+
* 根据选择器特异性排序计算出每个节点的最终样式 ([070ce57](https://github.com/NervJS/parse-css-to-stylesheet/commit/070ce57bf24a197e614a2885913818e46ec4be50))
10+
* 基于 napi-rs 改造 ([19a6f31](https://github.com/NervJS/parse-css-to-stylesheet/commit/19a6f3168a5e9719962ab389266af27cb2192aca))
11+
* 计算出每一个节点的所有样式规则 ([0082034](https://github.com/NervJS/parse-css-to-stylesheet/commit/008203446135c8c6dbc7795bce957a8826d0bb47))
12+
* 将 ast 中的 jsx tree 转为 ego tree ([34a1be5](https://github.com/NervJS/parse-css-to-stylesheet/commit/34a1be58c9466c6f6b1a141efbd225268d10ce89))
13+
* 解析 JSX 构建 ego tree ([949a1ec](https://github.com/NervJS/parse-css-to-stylesheet/commit/949a1ecf1fc9f660e998db8e68be374786e1717a))
14+
* 实现根据选择器查找 rust 文本节点,同时梳理代码 ([e850496](https://github.com/NervJS/parse-css-to-stylesheet/commit/e8504965842280b86a9f23d3b0c6040bf6123343))
15+
* 实现样式继承 ([d508d15](https://github.com/NervJS/parse-css-to-stylesheet/commit/d508d1569878ec41abb1ca2d1567c39a8108258b))
16+
* 增加 ElementRef ([710d95c](https://github.com/NervJS/parse-css-to-stylesheet/commit/710d95c199e15641bf05e04bea0b6ca5965f4bca))
17+
* 增加 style parser ([a4e3f11](https://github.com/NervJS/parse-css-to-stylesheet/commit/a4e3f11eb9bc3e909c616cee03865304e304c9f1))
18+
* 增加对 JSX 子树的支持 ([c73bbe5](https://github.com/NervJS/parse-css-to-stylesheet/commit/c73bbe5e4f9234fed2b582de1f1883dc84cd0d3d))
19+
* 增加记录每段样式的特异性 ([7c6b9c3](https://github.com/NervJS/parse-css-to-stylesheet/commit/7c6b9c3c49109fc1dbcf6a63ce54839bec748c73))
20+
* 支持 JSX 节点没有 style 属性情况下,将节点对应的样式写入到 style 属性中 ([d9eb803](https://github.com/NervJS/parse-css-to-stylesheet/commit/d9eb803259e895c8332e379aae0209e184f37a19))
21+
* 支持 React.Fragment 用法 ([ac404c8](https://github.com/NervJS/parse-css-to-stylesheet/commit/ac404c8d69f9a0ca252fb9c12b5b0d3ba6e410a9))
22+
* 支持函数调用方式的子 JSX 拆分写法 ([73a5bcb](https://github.com/NervJS/parse-css-to-stylesheet/commit/73a5bcbf34bea9e3301ab0f3d88fa9f1de561ad2))
23+
* 支持将样式节点记录写入 ast 中 ([c35cbdf](https://github.com/NervJS/parse-css-to-stylesheet/commit/c35cbdf15e02a773cc912b1eedeaf29922225ac4))
24+
* 支持将样式文件中样式与 JSX 节点的 style 属性值合并 ([1beb45a](https://github.com/NervJS/parse-css-to-stylesheet/commit/1beb45a114c2a649bd46417afe0efb8d74b85f91))
25+
* 支持类组件 ([416e595](https://github.com/NervJS/parse-css-to-stylesheet/commit/416e59575c1ad6c58f19e2cd6f34cec3b38db436))
26+
* update ([ca39a94](https://github.com/NervJS/parse-css-to-stylesheet/commit/ca39a94e3da22b737b079cf34e9383591313519c))
27+
28+
29+
130
## 0.0.1 (2023-10-10)
231

332

npm/android-arm-eabi/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm-eabi",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"android"
66
],
@@ -16,4 +16,4 @@
1616
"node": ">= 10"
1717
},
1818
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
19-
}
19+
}

npm/android-arm64/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-android-arm64",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"android"
66
],
@@ -16,4 +16,4 @@
1616
"node": ">= 10"
1717
},
1818
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
19-
}
19+
}

npm/darwin-arm64/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-arm64",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"darwin"
66
],
@@ -16,4 +16,4 @@
1616
"node": ">= 10"
1717
},
1818
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
19-
}
19+
}

npm/darwin-universal/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-universal",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"darwin"
66
],
@@ -13,4 +13,4 @@
1313
"node": ">= 10"
1414
},
1515
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
16-
}
16+
}

npm/darwin-x64/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-darwin-x64",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"darwin"
66
],
@@ -16,4 +16,4 @@
1616
"node": ">= 10"
1717
},
1818
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
19-
}
19+
}

npm/freebsd-x64/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-freebsd-x64",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"freebsd"
66
],
@@ -16,4 +16,4 @@
1616
"node": ">= 10"
1717
},
1818
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
19-
}
19+
}

npm/linux-arm-gnueabihf/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm-gnueabihf",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"linux"
66
],
@@ -16,4 +16,4 @@
1616
"node": ">= 10"
1717
},
1818
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
19-
}
19+
}

npm/linux-arm64-gnu/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm64-gnu",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"linux"
66
],
@@ -19,4 +19,4 @@
1919
"glibc"
2020
],
2121
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
22-
}
22+
}

npm/linux-arm64-musl/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tarojs/parse-css-to-stylesheet-linux-arm64-musl",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"os": [
55
"linux"
66
],
@@ -19,4 +19,4 @@
1919
"musl"
2020
],
2121
"repository": "https://github.com/NervJS/parse-css-to-stylesheet"
22-
}
22+
}

0 commit comments

Comments
 (0)