@lynx-js/web-elements-canary 0.8.4 → 0.8.5-canary-20250903-f454292a
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 +16 -7
- package/dist/XCanvas/CanvasAttributes.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @lynx-js/web-elements
|
|
2
2
|
|
|
3
|
+
## 0.8.5-canary-20250903101806-f454292a4c019a753c0542b050e96adf0d4a9bba
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- fix: register attr of width is set to height incorrectly ([#1649](https://github.com/lynx-family/lynx-stack/pull/1649))
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @lynx-js/web-elements-template@0.8.5-canary-20250903101806-f454292a4c019a753c0542b050e96adf0d4a9bba
|
|
11
|
+
|
|
3
12
|
## 0.8.4
|
|
4
13
|
|
|
5
14
|
### Patch Changes
|
|
@@ -566,8 +575,8 @@
|
|
|
566
575
|
For compating usage, `@lynx-js/web-elements-compat/LinearContainer` is provided.
|
|
567
576
|
|
|
568
577
|
```javascript
|
|
569
|
-
import
|
|
570
|
-
import
|
|
578
|
+
import "@lynx-js/web-elements-compat/LinearContainer";
|
|
579
|
+
import "@lynx-js/web-elements/all";
|
|
571
580
|
```
|
|
572
581
|
|
|
573
582
|
- f8d1d98: break: rename the `blur` and `focus` event to `lynxblur` and `lynxfocus` for x-input element
|
|
@@ -589,11 +598,11 @@
|
|
|
589
598
|
There is also a simple way to use this feature
|
|
590
599
|
|
|
591
600
|
```javascript
|
|
592
|
-
import { LynxCard } from
|
|
593
|
-
import { loadElement } from
|
|
594
|
-
import
|
|
595
|
-
import
|
|
596
|
-
import
|
|
601
|
+
import { LynxCard } from "@lynx-js/web-core";
|
|
602
|
+
import { loadElement } from "@lynx-js/web-elements/lazy";
|
|
603
|
+
import "@lynx-js/web-elements/index.css";
|
|
604
|
+
import "@lynx-js/web-core/index.css";
|
|
605
|
+
import "./index.css";
|
|
597
606
|
|
|
598
607
|
const lynxcard = new LynxCard({
|
|
599
608
|
...beforeConfigs,
|
|
@@ -21,7 +21,7 @@ let CanvasAttributes = (() => {
|
|
|
21
21
|
const _metadata = typeof Symbol === "function" && Symbol.metadata ? Object.create(null) : void 0;
|
|
22
22
|
_handleName_decorators = [registerAttributeHandler('name', true)];
|
|
23
23
|
_handleHeight_decorators = [registerAttributeHandler('height', true)];
|
|
24
|
-
_handleWidth_decorators = [registerAttributeHandler('
|
|
24
|
+
_handleWidth_decorators = [registerAttributeHandler('width', true)];
|
|
25
25
|
__esDecorate(null, null, _handleName_decorators, { kind: "field", name: "handleName", static: false, private: false, access: { has: obj => "handleName" in obj, get: obj => obj.handleName, set: (obj, value) => { obj.handleName = value; } }, metadata: _metadata }, _handleName_initializers, _handleName_extraInitializers);
|
|
26
26
|
__esDecorate(null, null, _handleHeight_decorators, { kind: "field", name: "handleHeight", static: false, private: false, access: { has: obj => "handleHeight" in obj, get: obj => obj.handleHeight, set: (obj, value) => { obj.handleHeight = value; } }, metadata: _metadata }, _handleHeight_initializers, _handleHeight_extraInitializers);
|
|
27
27
|
__esDecorate(null, null, _handleWidth_decorators, { kind: "field", name: "handleWidth", static: false, private: false, access: { has: obj => "handleWidth" in obj, get: obj => obj.handleWidth, set: (obj, value) => { obj.handleWidth = value; } }, metadata: _metadata }, _handleWidth_initializers, _handleWidth_extraInitializers);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/web-elements-canary",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.5-canary-20250903-f454292a",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
],
|
|
102
102
|
"dependencies": {
|
|
103
103
|
"@lynx-js/web-elements-reactive": "npm:@lynx-js/web-elements-reactive-canary@0.2.2",
|
|
104
|
-
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.
|
|
104
|
+
"@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.5-canary-20250903-f454292a"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
107
|
"tslib": "^2.8.1"
|