@lynx-js/web-elements-canary 0.10.0-canary-20251226-f8b5be81 → 0.10.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 +12 -12
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @lynx-js/web-elements
|
|
2
2
|
|
|
3
|
-
## 0.10.0
|
|
3
|
+
## 0.10.0
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
### Before
|
|
10
10
|
|
|
11
11
|
```js
|
|
12
|
-
import
|
|
13
|
-
import
|
|
12
|
+
import '@lynx-js/web-elements-template';
|
|
13
|
+
import '@lynx-js/web-elements-compat/LinearContainer';
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
### After
|
|
17
17
|
|
|
18
18
|
```js
|
|
19
|
-
import
|
|
20
|
-
import
|
|
19
|
+
import '@lynx-js/web-elements/html-templates';
|
|
20
|
+
import '@lynx-js/web-elements/compat/LinearContainer';
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
### Patch Changes
|
|
@@ -702,8 +702,8 @@
|
|
|
702
702
|
For compating usage, `@lynx-js/web-elements-compat/LinearContainer` is provided.
|
|
703
703
|
|
|
704
704
|
```javascript
|
|
705
|
-
import
|
|
706
|
-
import
|
|
705
|
+
import '@lynx-js/web-elements-compat/LinearContainer';
|
|
706
|
+
import '@lynx-js/web-elements/all';
|
|
707
707
|
```
|
|
708
708
|
|
|
709
709
|
- f8d1d98: break: rename the `blur` and `focus` event to `lynxblur` and `lynxfocus` for x-input element
|
|
@@ -725,11 +725,11 @@
|
|
|
725
725
|
There is also a simple way to use this feature
|
|
726
726
|
|
|
727
727
|
```javascript
|
|
728
|
-
import { LynxCard } from
|
|
729
|
-
import { loadElement } from
|
|
730
|
-
import
|
|
731
|
-
import
|
|
732
|
-
import
|
|
728
|
+
import { LynxCard } from '@lynx-js/web-core';
|
|
729
|
+
import { loadElement } from '@lynx-js/web-elements/lazy';
|
|
730
|
+
import '@lynx-js/web-elements/index.css';
|
|
731
|
+
import '@lynx-js/web-core/index.css';
|
|
732
|
+
import './index.css';
|
|
733
733
|
|
|
734
734
|
const lynxcard = new LynxCard({
|
|
735
735
|
...beforeConfigs,
|