@lynx-js/web-elements-canary 0.11.0-canary-20260111-9646114b → 0.11.0
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 +14 -14
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/web-elements
|
|
2
2
|
|
|
3
|
-
## 0.11.0
|
|
3
|
+
## 0.11.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
Now we integrated the `LinearCompat` into @lynx-js/web-elements. Developers can safely remove the following imports:
|
|
12
12
|
|
|
13
13
|
```js
|
|
14
|
-
import
|
|
14
|
+
import '@lynx-js/web-elements/compat/LinearContainer';
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
```js
|
|
18
|
-
import
|
|
18
|
+
import '@lynx-js/web-elements-compat/LinearContainer';
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
### Patch Changes
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
### Before
|
|
42
42
|
|
|
43
43
|
```js
|
|
44
|
-
import
|
|
45
|
-
import
|
|
44
|
+
import '@lynx-js/web-elements-template';
|
|
45
|
+
import '@lynx-js/web-elements-compat/LinearContainer';
|
|
46
46
|
```
|
|
47
47
|
|
|
48
48
|
### After
|
|
49
49
|
|
|
50
50
|
```js
|
|
51
|
-
import
|
|
52
|
-
import
|
|
51
|
+
import '@lynx-js/web-elements/html-templates';
|
|
52
|
+
import '@lynx-js/web-elements/compat/LinearContainer';
|
|
53
53
|
```
|
|
54
54
|
|
|
55
55
|
### Patch Changes
|
|
@@ -734,8 +734,8 @@
|
|
|
734
734
|
For compating usage, `@lynx-js/web-elements-compat/LinearContainer` is provided.
|
|
735
735
|
|
|
736
736
|
```javascript
|
|
737
|
-
import
|
|
738
|
-
import
|
|
737
|
+
import '@lynx-js/web-elements-compat/LinearContainer';
|
|
738
|
+
import '@lynx-js/web-elements/all';
|
|
739
739
|
```
|
|
740
740
|
|
|
741
741
|
- f8d1d98: break: rename the `blur` and `focus` event to `lynxblur` and `lynxfocus` for x-input element
|
|
@@ -757,11 +757,11 @@
|
|
|
757
757
|
There is also a simple way to use this feature
|
|
758
758
|
|
|
759
759
|
```javascript
|
|
760
|
-
import { LynxCard } from
|
|
761
|
-
import { loadElement } from
|
|
762
|
-
import
|
|
763
|
-
import
|
|
764
|
-
import
|
|
760
|
+
import { LynxCard } from '@lynx-js/web-core';
|
|
761
|
+
import { loadElement } from '@lynx-js/web-elements/lazy';
|
|
762
|
+
import '@lynx-js/web-elements/index.css';
|
|
763
|
+
import '@lynx-js/web-core/index.css';
|
|
764
|
+
import './index.css';
|
|
765
765
|
|
|
766
766
|
const lynxcard = new LynxCard({
|
|
767
767
|
...beforeConfigs,
|