kui-vue 5.3.1 → 5.4.1

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.md CHANGED
@@ -85,33 +85,40 @@ Using a script tag for global use:
85
85
  </script>
86
86
  ```
87
87
 
88
- # 👌 Platform Support
88
+ ## Local Development
89
89
 
90
- Kui supports all major modern browsers.
91
-
92
- | [<img alt="chrome" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/chrome/chrome.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/chrome/chrome.png)<br>chrome | [<img alt="firefox" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/firefox/firefox.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/firefox/firefox.png)<br>firefox | [<img alt="safari" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/safari/safari.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/safari/safari.png)<br>safari | [<img alt="IE/Edge" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/edge/edge.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/edge/edge.png)<br> IE/Edge | [<img alt="electron" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/electron/electron.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/electron/electron.png)<br>Electron |
93
- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
94
- | latest 2 versions | latest 2 versions | latest 2 versions | Edge | latest 2 versions |
90
+ ```bash
91
+ git clone git@github.com:smallerqiu/kui-vue.git
92
+ cd kui-vue
93
+ pnpm install
94
+ pnpm dev
95
+ ```
95
96
 
96
- # Local Development
97
+ The documentation development server runs at [http://localhost:7005](http://localhost:7005) by default.
97
98
 
98
- Clone the repository locally:
99
+ Common commands:
99
100
 
100
101
  ```bash
101
- $ git clone git@github.com:smallerqiu/kui-vue.git
102
- $ cd kui-vue
103
- $ npm install
104
- $ npm start
102
+ pnpm dev # Start the documentation development server
103
+ pnpm typecheck # Run TypeScript checks
104
+ pnpm build:docs # Build the documentation site
105
+ pnpm build # Build the component library and styles
105
106
  ```
106
107
 
107
- Open the browser to visit http://127.0.0.1:7005
108
+ ## Browser Support
109
+
110
+ KUI Vue supports the latest two versions of major modern browsers, including Chrome, Edge, Firefox, and Safari. Internet Explorer is not supported.
111
+
112
+ ## Contributing
108
113
 
109
- # Ecosystem Links
114
+ Issues and pull requests are welcome. Before submitting code, please ensure that the type checks and relevant builds pass.
110
115
 
111
- [Kui for react](https://react.k-ui.cn)
116
+ - [GitHub repository](https://github.com/smallerqiu/kui-vue)
117
+ - [Gitee repository](https://gitee.com/chuchur/kui-vue)
118
+ - [Issue tracker](https://gitee.com/chuchur/kui-vue/issues)
112
119
 
113
- # License
120
+ ## License
114
121
 
115
- [MIT](http://opensource.org/licenses/MIT)
122
+ [MIT](./LICENSE)
116
123
 
117
- Copyright (c) 2017-present, Qiu
124
+ Copyright © 2017-present Qiu
package/README.zh-CN.md CHANGED
@@ -19,19 +19,10 @@
19
19
 
20
20
  ![theme](demo.png)
21
21
 
22
- [English](README.md) | 简体中文
22
+ [English](README.md) · 简体中文
23
23
 
24
24
  </div>
25
25
 
26
- # 文档
27
-
28
- - [快速开始](https://k-ui.cn/guide/quick-started)
29
- - [组件总览](https://k-ui.cn/guide/components)
30
- - [暗色模式](https://k-ui.cn/guide/dark-mode)
31
- - [Icons](https://k-ui.cn/components/icons)
32
- - [国际化](https://k-ui.cn/guide/language)
33
- - [更新日志](https://k-ui.cn/guide/change-log)
34
-
35
26
  # 特性
36
27
 
37
28
  - 50+高质量组件
@@ -42,21 +33,28 @@
42
33
  - 支持 [Nuxt.js](https://nuxtjs.org/)
43
34
  - 支持 Electron
44
35
 
36
+ # 文档
37
+
38
+ - [快速开始](https://k-ui.cn/guide/quick-started)
39
+ - [组件总览](https://k-ui.cn/guide/components)
40
+ - [暗色模式](https://k-ui.cn/guide/dark-mode)
41
+ - [Icons](https://k-ui.cn/components/icons)
42
+ - [国际化](https://k-ui.cn/guide/language)
43
+ - [更新日志](https://k-ui.cn/guide/change-log)
44
+
45
45
  # 安装
46
46
 
47
- ```bash
48
- npm install kui-vue --save
49
- ```
47
+ 使用 pnpm:
50
48
 
51
49
  ```bash
52
- npm add kui-vue
50
+ pnpm add kui-vue
53
51
  ```
54
52
 
55
- ```bash
56
- yarn add kui-vue
57
- ```
53
+ 也可以使用 npm、Yarn 或 Bun:
58
54
 
59
55
  ```bash
56
+ npm install kui-vue
57
+ yarn add kui-vue
60
58
  bun add kui-vue
61
59
  ```
62
60
 
@@ -85,33 +83,40 @@ bun add kui-vue
85
83
  </script>
86
84
  ```
87
85
 
88
- # 平台支持
86
+ ## 本地开发
89
87
 
90
- Kui 支持所有主要的现代浏览器。
91
-
92
- | [<img alt="chrome" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/chrome/chrome.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/chrome/chrome.png)<br>chrome | [<img alt="firefox" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/firefox/firefox.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/firefox/firefox.png)<br>firefox | [<img alt="safari" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/safari/safari.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/safari/safari.png)<br>safari | [<img alt="IE/Edge" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/edge/edge.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/edge/edge.png)<br> IE/Edge | [<img alt="electron" height="24px" src="https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/electron/electron.png" />](https://cdnjs.cloudflare.com/ajax/libs/browser-logos/70.4.0/electron/electron.png)<br>Electron |
93
- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
94
- | latest 2 versions | latest 2 versions | latest 2 versions | Edge | latest 2 versions |
88
+ ```bash
89
+ git clone git@github.com:smallerqiu/kui-vue.git
90
+ cd kui-vue
91
+ pnpm install
92
+ pnpm dev
93
+ ```
95
94
 
96
- # 本地开发
95
+ 文档开发服务器默认运行在 [http://localhost:7005](http://localhost:7005)。
97
96
 
98
- 克隆仓库到本地:
97
+ 常用命令:
99
98
 
100
99
  ```bash
101
- $ git clone git@github.com:smallerqiu/kui-vue.git
102
- $ cd kui-vue
103
- $ npm install
104
- $ npm start
100
+ pnpm dev # 启动文档开发服务器
101
+ pnpm typecheck # TypeScript 类型检查
102
+ pnpm build:docs # 构建文档站
103
+ pnpm build # 构建组件库及样式
105
104
  ```
106
105
 
107
- 打开浏览器访问 http://127.0.0.1:7005
106
+ ## 浏览器支持
107
+
108
+ 支持主流现代浏览器的最近两个版本,包括 Chrome、Edge、Firefox 和 Safari;不支持 Internet Explorer。
109
+
110
+ ## 参与贡献
108
111
 
109
- # 生态
112
+ 欢迎提交 Issue 和 Pull Request。在提交代码前,请确保类型检查和相关构建能够通过。
110
113
 
111
- [Kui for react](https://react.k-ui.cn)
114
+ - [GitHub 仓库](https://github.com/smallerqiu/kui-vue)
115
+ - [Gitee 仓库](https://gitee.com/chuchur/kui-vue)
116
+ - [问题反馈](https://gitee.com/chuchur/kui-vue/issues)
112
117
 
113
- # 协议
118
+ ## 开源协议
114
119
 
115
- [MIT](http://opensource.org/licenses/MIT)
120
+ [MIT](./LICENSE)
116
121
 
117
- Copyright (c) 2017-present, Chuchur
122
+ Copyright © 2017-present Qiu