@lynx-js/web-elements-compat-canary 0.2.4 → 0.2.5-canary-20251223-71b9083d

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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @lynx-js/web-elements-compat
2
2
 
3
+ ## 0.2.5-canary-20251223075424-71b9083d7c117666ae815e62ced38709c3d207e6
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor: change code structure for improved readability and maintainability ([#2004](https://github.com/lynx-family/lynx-stack/pull/2004))
8
+
9
+ - enable noUnusedLocals for web-elements
10
+ - add source field for supporting @rsbuild/plugin-source-build
11
+
12
+ This is a part of #1937
13
+
14
+ - Updated dependencies [[`e51b080`](https://github.com/lynx-family/lynx-stack/commit/e51b080350101c40fbae8443a23372bd3169c717)]:
15
+ - @lynx-js/web-elements@0.9.1-canary-20251223075424-71b9083d7c117666ae815e62ced38709c3d207e6
16
+
3
17
  ## 0.2.4
4
18
 
5
19
  ### Patch Changes
@@ -119,8 +133,8 @@
119
133
  For compating usage, `@lynx-js/web-elements-compat/LinearContainer` is provided.
120
134
 
121
135
  ```javascript
122
- import '@lynx-js/web-elements-compat/LinearContainer';
123
- import '@lynx-js/web-elements/all';
136
+ import "@lynx-js/web-elements-compat/LinearContainer";
137
+ import "@lynx-js/web-elements/all";
124
138
  ```
125
139
 
126
140
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-elements-compat-canary",
3
- "version": "0.2.4",
3
+ "version": "0.2.5-canary-20251223-71b9083d",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,6 +14,10 @@
14
14
  "./LinearContainer": {
15
15
  "types": "./src/LinearContainer/LinearContainer.ts",
16
16
  "default": "./src/LinearContainer/LinearContainer.ts"
17
+ },
18
+ "./LinearContainer/*": {
19
+ "types": "./src/LinearContainer/*",
20
+ "default": "./src/LinearContainer/*"
17
21
  }
18
22
  },
19
23
  "main": "dist/index.js",
@@ -28,7 +32,7 @@
28
32
  "**/*.css"
29
33
  ],
30
34
  "devDependencies": {
31
- "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.8.10"
35
+ "@lynx-js/web-elements": "npm:@lynx-js/web-elements-canary@0.9.1-canary-20251223-71b9083d"
32
36
  },
33
37
  "peerDependencies": {
34
38
  "@lynx-js/web-elements": "*"
@@ -5,7 +5,7 @@ import './linear-compat.css';
5
5
  import {
6
6
  type AttributeReactiveClass,
7
7
  bindToAttribute,
8
- WebComponentClass,
8
+ type WebComponentClass,
9
9
  } from '@lynx-js/web-elements';
10
10
 
11
11
  /** For @container
@@ -62,10 +62,10 @@
62
62
 
63
63
  [lynx-computed-display="flex"] > *,
64
64
  [lynx-computed-display="flex"] > lynx-wrapper > * {
65
- flex-grow: var(--flex-grow);
66
- flex-shrink: var(--flex-shrink);
67
- flex-basis: var(--flex-basis);
68
- align-self: var(--align-self);
65
+ flex: var(
66
+ --flex,
67
+ var(--flex-grow) var(--flex-shrink) var(--flex-basis)
68
+ );
69
69
  }
70
70
  [lynx-computed-display="linear"] > *,
71
71
  [lynx-computed-display="linear"] > lynx-wrapper > * {