@lynx-js/web-constants-canary 0.16.1-canary-20250915-88622967 → 0.17.0-canary-20250918-b17b7cb2
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/CHANGELOG.md +13 -2
- package/dist/types/StyleInfo.d.ts +6 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,24 @@
|
|
|
1
1
|
# @lynx-js/web-constants
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.17.0-canary-20250918080343-b17b7cb2bb92d1539e76276f136806eefa788258
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: avoid duplicate style transformation ([#1748](https://github.com/lynx-family/lynx-stack/pull/1748))
|
|
8
|
+
|
|
9
|
+
After this commit, we use DAG methods to handle the styleInfos
|
|
10
|
+
|
|
11
|
+
- Updated dependencies []:
|
|
12
|
+
- @lynx-js/web-worker-rpc@0.17.0-canary-20250918080343-b17b7cb2bb92d1539e76276f136806eefa788258
|
|
13
|
+
|
|
14
|
+
## 0.16.1
|
|
4
15
|
|
|
5
16
|
### Patch Changes
|
|
6
17
|
|
|
7
18
|
- feat: supports lazy bundle. (This feature requires `@lynx-js/lynx-core >= 0.1.3`) ([#1235](https://github.com/lynx-family/lynx-stack/pull/1235))
|
|
8
19
|
|
|
9
20
|
- Updated dependencies []:
|
|
10
|
-
- @lynx-js/web-worker-rpc@0.16.1
|
|
21
|
+
- @lynx-js/web-worker-rpc@0.16.1
|
|
11
22
|
|
|
12
23
|
## 0.16.0
|
|
13
24
|
|
|
@@ -16,6 +16,12 @@ export interface OneInfo {
|
|
|
16
16
|
export interface StyleInfo {
|
|
17
17
|
[cssId: string]: OneInfo;
|
|
18
18
|
}
|
|
19
|
+
export interface FlattenedOneInfo {
|
|
20
|
+
content: string[];
|
|
21
|
+
rules: CSSRule[];
|
|
22
|
+
importBy: string[];
|
|
23
|
+
}
|
|
24
|
+
export type FlattenedStyleInfo = FlattenedOneInfo[];
|
|
19
25
|
/**
|
|
20
26
|
* CSS Info for Old Generation CSS System
|
|
21
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-constants-canary",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0-canary-20250918-b17b7cb2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "",
|
|
6
6
|
"keywords": [],
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"**/*.css"
|
|
24
24
|
],
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.
|
|
26
|
+
"@lynx-js/web-worker-rpc": "npm:@lynx-js/web-worker-rpc-canary@0.17.0-canary-20250918-b17b7cb2"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@lynx-js/offscreen-document": "npm:@lynx-js/offscreen-document-canary@0.1.4"
|