@greypan/web-ui 1.4.0 → 1.4.2
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/README.CN.md +1 -2
- package/README.md +1 -2
- package/package.json +4 -4
package/README.CN.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @greypan/web-ui
|
|
2
2
|
|
|
3
|
-
基于 Lit 的 Web Components,支持 React、Vue 和原生 HTML
|
|
3
|
+
> 基于 Lit 的 Web Components,支持 React、Vue 和原生 HTML
|
|
4
4
|
|
|
5
5
|
[English](./README.md) | 简体中文
|
|
6
6
|
|
|
@@ -78,7 +78,6 @@ export default {
|
|
|
78
78
|
```tsx
|
|
79
79
|
// main.tsx
|
|
80
80
|
import '@greypan/web-ui'
|
|
81
|
-
// import '@greypan/web-ui/components/button'
|
|
82
81
|
```
|
|
83
82
|
|
|
84
83
|
或按需导入,只注册需要的组件:
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @greypan/web-ui
|
|
2
2
|
|
|
3
|
-
Lit-based web components for React, Vue, and vanilla JS
|
|
3
|
+
> Lit-based web components for React, Vue, and vanilla JS
|
|
4
4
|
|
|
5
5
|
English | [简体中文](./README.CN.md)
|
|
6
6
|
|
|
@@ -78,7 +78,6 @@ Import the full library to register all components (side-effect registration):
|
|
|
78
78
|
```tsx
|
|
79
79
|
// main.tsx
|
|
80
80
|
import '@greypan/web-ui'
|
|
81
|
-
// import '@greypan/web-ui/components/button'
|
|
82
81
|
```
|
|
83
82
|
|
|
84
83
|
Or import only specific components for smaller bundle:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@greypan/web-ui",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.2",
|
|
4
4
|
"description": "Lit-based web components for React, Vue, and vanilla JS",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -34,14 +34,14 @@
|
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"iconify-icon": "^3.0.2",
|
|
37
|
-
"@greypan/browser-kit": "1.7.
|
|
38
|
-
"@greypan/js-kit": "1.6.
|
|
37
|
+
"@greypan/browser-kit": "1.7.4",
|
|
38
|
+
"@greypan/js-kit": "1.6.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"lit": "^3.3.3",
|
|
42
42
|
"@types/react": "^19.2.17",
|
|
43
43
|
"vue": "^3.5.39",
|
|
44
|
-
"@greypan/tsconfig": "1.0.
|
|
44
|
+
"@greypan/tsconfig": "1.0.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"lit": "^3.3.3",
|