@lynx-js/web-elements-canary 0.8.6 → 0.8.7-canary-20250918-b69a986a

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,14 @@
1
1
  # @lynx-js/web-elements
2
2
 
3
+ ## 0.8.7-canary-20250918085607-b69a986acd19ecbcb6246a7c9dccd99544415131
4
+
5
+ ### Patch Changes
6
+
7
+ - The img within svg does not inherit the position ([#1769](https://github.com/lynx-family/lynx-stack/pull/1769))
8
+
9
+ - Updated dependencies []:
10
+ - @lynx-js/web-elements-template@0.8.7-canary-20250918085607-b69a986acd19ecbcb6246a7c9dccd99544415131
11
+
3
12
  ## 0.8.6
4
13
 
5
14
  ### Patch Changes
@@ -595,8 +604,8 @@
595
604
  For compating usage, `@lynx-js/web-elements-compat/LinearContainer` is provided.
596
605
 
597
606
  ```javascript
598
- import '@lynx-js/web-elements-compat/LinearContainer';
599
- import '@lynx-js/web-elements/all';
607
+ import "@lynx-js/web-elements-compat/LinearContainer";
608
+ import "@lynx-js/web-elements/all";
600
609
  ```
601
610
 
602
611
  - f8d1d98: break: rename the `blur` and `focus` event to `lynxblur` and `lynxfocus` for x-input element
@@ -618,11 +627,11 @@
618
627
  There is also a simple way to use this feature
619
628
 
620
629
  ```javascript
621
- import { LynxCard } from '@lynx-js/web-core';
622
- import { loadElement } from '@lynx-js/web-elements/lazy';
623
- import '@lynx-js/web-elements/index.css';
624
- import '@lynx-js/web-core/index.css';
625
- import './index.css';
630
+ import { LynxCard } from "@lynx-js/web-core";
631
+ import { loadElement } from "@lynx-js/web-elements/lazy";
632
+ import "@lynx-js/web-elements/index.css";
633
+ import "@lynx-js/web-core/index.css";
634
+ import "./index.css";
626
635
 
627
636
  const lynxcard = new LynxCard({
628
637
  ...beforeConfigs,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lynx-js/web-elements-canary",
3
- "version": "0.8.6",
3
+ "version": "0.8.7-canary-20250918-b69a986a",
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.6"
104
+ "@lynx-js/web-elements-template": "npm:@lynx-js/web-elements-template-canary@0.8.7-canary-20250918-b69a986a"
105
105
  },
106
106
  "devDependencies": {
107
107
  "tslib": "^2.8.1"
@@ -56,7 +56,7 @@ x-image[auto-size] {
56
56
  display: contents;
57
57
  }
58
58
 
59
- x-image[auto-size]::part(img), x-svg::part(img) {
59
+ x-image[auto-size]::part(img) {
60
60
  margin: inherit;
61
61
  padding: inherit;
62
62
  width: inherit;
@@ -9,7 +9,14 @@ x-svg {
9
9
  }
10
10
 
11
11
  x-svg::part(img) {
12
- width: 100%;
13
- height: 100%;
14
- flex: 0 0 100%;
12
+ width: inherit;
13
+ height: inherit;
14
+ flex: inherit;
15
+ min-width: inherit;
16
+ min-height: inherit;
17
+ border: inherit;
18
+ border-radius: inherit;
19
+ max-width: 100%;
20
+ max-height: 100%;
21
+ filter: inherit;
15
22
  }