react-vant-nova 1.0.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/README.md +104 -0
- package/README.zh-CN.md +190 -0
- package/package.json +117 -0
package/README.md
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
English | [简体中文](https://github.com/3lang3/react-vant/blob/main/packages/react-vant/README.zh-CN.md)
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img alt="logo" src="https://cdn.jsdelivr.net/gh/3lang3/react-vant@main/public/logo.svg" width="200" style="margin-bottom: 10px;">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h1 align="center">React Vant(此版本兼容recat 19)</h1>
|
|
8
|
+
|
|
9
|
+
<p align="center">📱 A mobile component library based on the <strong>React</strong> framework according to <a href="https://github.com/youzan/vant">Vant</a>.</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://npmjs.org/package/react-vant-nova" target="_blank" referrerpolicy="no-referrer">
|
|
13
|
+
<img src="https://img.shields.io/npm/v/react-vant/latest?style=flat-square" alt="npm version" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://npmjs.org/package/react-vant-nova" target="_blank" referrerpolicy="no-referrer">
|
|
16
|
+
<img src="https://img.shields.io/npm/dm/react-vant.svg?style=flat-square" alt="npm download" />
|
|
17
|
+
</a>
|
|
18
|
+
<img src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square" alt="renovate" />
|
|
19
|
+
</p>
|
|
20
|
+
|
|
21
|
+
<p align="center">
|
|
22
|
+
🔥 <a href="https://react-vant-gitee.3lang.dev">Documentation (Domestic)</a>
|
|
23
|
+
|
|
24
|
+
🌈 <a href="https://react-vant.3lang.dev">Documentation(GitHub)</a>
|
|
25
|
+
</p>
|
|
26
|
+
|
|
27
|
+
## 🧑💻 Project Status
|
|
28
|
+
|
|
29
|
+
Due to personal reasons and limited energy, the project entered maintenance mode and no longer accepted new functions, only accepted PRs that fixed bugs.
|
|
30
|
+
|
|
31
|
+
## ✨ Feature
|
|
32
|
+
|
|
33
|
+
- 🚀 The average component size is less than 1KB(min+gzip).
|
|
34
|
+
- 💎 70+ high-quality components, covering mainstream mobile scenes.
|
|
35
|
+
- 💪 Written in TypeScript, providing a complete type definition.
|
|
36
|
+
- 📝 Provide complete documentation and component examples.
|
|
37
|
+
- 🎨 Support theme customization, built-in 700+ theme designers.
|
|
38
|
+
- 😎 Support on-demand import and Tree Shaking.
|
|
39
|
+
- ⚡️ Support [Vite](https://github.com/3lang3/react-vant-template/tree/main/template/vite) and Parcel@2.
|
|
40
|
+
- 🌵 Modern browsers
|
|
41
|
+
- 🌝 Support SSR([nextjs](https://github.com/3lang3/react-vant-template/tree/main/next/nextjs), [remix](https://github.com/3lang3/react-vant-template/tree/main/next/remix)).
|
|
42
|
+
|
|
43
|
+
## 🖥 Environment Support
|
|
44
|
+
|
|
45
|
+
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br> Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/a94987f29719142668cdf960b3f624ce1a3c6aa8/src/safari-ios/safari-ios.svg" alt="Safari for iOS" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari |
|
|
46
|
+
| --- | --- | --- | --- |
|
|
47
|
+
|
|
48
|
+
Support modern browsers and Chrome >= 51, iOS >= 10.0.
|
|
49
|
+
|
|
50
|
+
## 📱 Preview
|
|
51
|
+
|
|
52
|
+
Scan the QR code on your mobile phone to access the demo:
|
|
53
|
+
|
|
54
|
+
<img src="https://github.com/3lang3/react-vant/blob/main/public/preview_qrcode.png?raw=true" width="200" />
|
|
55
|
+
|
|
56
|
+
## 📦 Install
|
|
57
|
+
|
|
58
|
+
Recommended **pin** version:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
# npm
|
|
62
|
+
npm i react-vant-nova --save
|
|
63
|
+
|
|
64
|
+
# pnpm
|
|
65
|
+
pnpm add react-vant-nova
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## 🚀 Quick start
|
|
69
|
+
|
|
70
|
+
The following are some code examples of react-vant:
|
|
71
|
+
|
|
72
|
+
#### Code Snippet:
|
|
73
|
+
|
|
74
|
+
```jsx
|
|
75
|
+
import ReactDOM from 'react-dom';
|
|
76
|
+
import { Button } from 'react-vant-nova';
|
|
77
|
+
|
|
78
|
+
function App() {
|
|
79
|
+
return <Button>Default Button</Button>;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
ReactDOM.render(<App />, mountNode);
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
#### Code Examples:
|
|
86
|
+
|
|
87
|
+
- [Create React App](https://github.com/3lang3/react-vant-template/tree/main/next/cra)
|
|
88
|
+
- [Umi](https://github.com/3lang3/react-vant-template/tree/main/next/umijs)
|
|
89
|
+
- [Next.js](https://github.com/3lang3/react-vant-template/tree/main/next/nextjs)
|
|
90
|
+
- [Remix](https://github.com/3lang3/react-vant-template/tree/main/next/remix)
|
|
91
|
+
- [Astro](https://github.com/3lang3/react-vant-template/tree/main/next/astro)
|
|
92
|
+
- [Vite](https://github.com/3lang3/react-vant-template/tree/main/next/vite)
|
|
93
|
+
|
|
94
|
+
For more information, please refer to [QuickStart](https://react-vant.3lang.dev/guide/quickstart).
|
|
95
|
+
|
|
96
|
+
## 🤝 Contributing
|
|
97
|
+
|
|
98
|
+
Read our contributing guide and let's build a better react-vant together.
|
|
99
|
+
|
|
100
|
+
We welcome all contributions. Please read our [CONTRIBUTING.md](https://react-vant.3lang.dev/guide/contribution) first. You can submit any ideas as pull requests or as GitHub issues. :)
|
|
101
|
+
|
|
102
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
103
|
+
|
|
104
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
package/README.zh-CN.md
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
[English](https://github.com/3lang3/react-vant) | 简体中文
|
|
2
|
+
|
|
3
|
+
<p align="center">
|
|
4
|
+
<img alt="logo" src="https://cdn.jsdelivr.net/gh/3lang3/react-vant@main/public/logo.svg" width="200" style="margin-bottom: 10px;">
|
|
5
|
+
</p>
|
|
6
|
+
|
|
7
|
+
<h1 align="center">React Vant</h1>
|
|
8
|
+
|
|
9
|
+
<p align="center">📱 一个参照<a href="https://github.com/youzan/vant">Vant</a>打造的 React 框架移动端组件库。</p>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<a href="https://npmjs.org/package/react-vant" target="_blank" referrerpolicy="no-referrer">
|
|
13
|
+
<img src="https://img.shields.io/npm/v/react-vant/latest?style=flat-square" alt="npm version" />
|
|
14
|
+
</a>
|
|
15
|
+
<a href="https://npmjs.org/package/react-vant" target="_blank" referrerpolicy="no-referrer">
|
|
16
|
+
<img src="https://img.shields.io/npm/dm/react-vant.svg?style=flat-square" alt="npm download" />
|
|
17
|
+
</a>
|
|
18
|
+
<img src="https://img.shields.io/badge/renovate-enabled-brightgreen.svg?style=flat-square" alt="renovate" />
|
|
19
|
+
<a href="https://github.com/3lang3/react-vant/discussions" target="_blank" referrerpolicy="no-referrer">
|
|
20
|
+
<img src="https://img.shields.io/badge/discussions-on%20github-blue?style=flat-square" alt="discussions" />
|
|
21
|
+
</a>
|
|
22
|
+
<a href="https://github.com/3lang3/rcdoc" target="_blank" referrerpolicy="no-referrer">
|
|
23
|
+
<img src="https://img.shields.io/badge/docs%20by-rcdoc-blue?style=flat-square" alt="rcdoc" />
|
|
24
|
+
</a>
|
|
25
|
+
<a href="https://github.com/3lang3/react-vant/discussions" target="_blank" referrerpolicy="no-referrer">
|
|
26
|
+
<img src="https://img.shields.io/npm/l/react-vant?style=flat-square" alt="license" />
|
|
27
|
+
</a>
|
|
28
|
+
</p>
|
|
29
|
+
|
|
30
|
+
<p align="center">
|
|
31
|
+
🔥 <a href="https://react-vant-gitee.3lang.dev">文档网站 (国内站点)</a>
|
|
32
|
+
|
|
33
|
+
🌈 <a href="https://react-vant.3lang.dev">文档网站(GitHub)</a>
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
## 🧑💻 项目状态
|
|
37
|
+
|
|
38
|
+
由于个人原因和精力有限,项目进入维护模式,不再接受新功能,只接受修复错误的 PR。
|
|
39
|
+
|
|
40
|
+
## ✨ 特性
|
|
41
|
+
|
|
42
|
+
- 🚀 组件平均体积小于 1KB(min+gzip).
|
|
43
|
+
- 💎 70+ 个高质量组件,覆盖移动端主流场景.
|
|
44
|
+
- 💪 使用 TypeScript 编写,提供完整的类型定义.
|
|
45
|
+
- 📝 提供完善的文档和组件示例.
|
|
46
|
+
- 🎨 支持主题定制,内置 700+ 个主题变量.
|
|
47
|
+
- 😎 支持按需引入和 Tree Shaking.
|
|
48
|
+
- ⚡️ 支持 [Vite](https://github.com/3lang3/react-vant-template/tree/main/template/vite)和 Parcel@2.
|
|
49
|
+
- 🌵 现代浏览器
|
|
50
|
+
- 🌝 支持 SSR([nextjs](https://github.com/3lang3/react-vant-template/tree/main/next/nextjs), [remix](https://github.com/3lang3/react-vant-template/tree/main/next/remix)).
|
|
51
|
+
|
|
52
|
+
## 🖥 环境支持
|
|
53
|
+
|
|
54
|
+
| [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/edge/edge_48x48.png" alt="IE / Edge" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br> Edge | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/firefox/firefox_48x48.png" alt="Firefox" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Firefox | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/master/src/chrome/chrome_48x48.png" alt="Chrome" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Chrome | [<img src="https://raw.githubusercontent.com/alrra/browser-logos/a94987f29719142668cdf960b3f624ce1a3c6aa8/src/safari-ios/safari-ios.svg" alt="Safari for iOS" width="24px" height="24px" />](http://godban.github.io/browsers-support-badges/)<br>Safari |
|
|
55
|
+
| --- | --- | --- | --- |
|
|
56
|
+
|
|
57
|
+
支持现代浏览器和 Chrome >= 51,iOS >= 10.0。
|
|
58
|
+
|
|
59
|
+
## 📱 预览
|
|
60
|
+
|
|
61
|
+
手机扫描上的二维码访问演示:
|
|
62
|
+
|
|
63
|
+
<img src="https://github.com/3lang3/react-vant/blob/main/public/preview_qrcode.png?raw=true" width="200" />
|
|
64
|
+
|
|
65
|
+
<details>
|
|
66
|
+
<summary>查看部分截图</summary>
|
|
67
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/c6034f01-b534-4e01-9b43-d28259ea77ea.png" width="200" />
|
|
68
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/b8c56952-943b-4e8e-b4cb-274d5ac62f7b.png" width="200" />
|
|
69
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/20a5ea40-6470-4156-b244-a4cbd8cef9d2.png" width="200" />
|
|
70
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/9cd23768-e2d5-45c7-b80b-be6367c157b9.png" width="200" />
|
|
71
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/87f8d07c-bdeb-46de-b64a-eaf78f062c6a.png" width="200" />
|
|
72
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/e8cf6bdd-96b3-4d89-84af-606ab443a6fd.png" width="200" />
|
|
73
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/02abb81a-4c80-4468-815f-b11076b16524.png" width="200" />
|
|
74
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/ecf39bd8-f933-4f62-89b2-574845696bc0.png" width="200" />
|
|
75
|
+
<img src="https://pic.stackoverflow.wiki/uploadImages/222/66/151/135/2021/11/17/17/17/6e2800b6-1675-467d-be48-f5e876c19e0f.png" width="200" />
|
|
76
|
+
</details>
|
|
77
|
+
|
|
78
|
+
## 📦 安装
|
|
79
|
+
|
|
80
|
+
推荐 **锁定** 版本:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
# npm
|
|
84
|
+
npm i react-vant -S -E
|
|
85
|
+
|
|
86
|
+
# pnpm
|
|
87
|
+
pnpm i react-vant -S -E
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
## 🚀 快速开始
|
|
91
|
+
|
|
92
|
+
以下是 react-vant 的一些代码示例:
|
|
93
|
+
|
|
94
|
+
#### 代码片段:
|
|
95
|
+
|
|
96
|
+
```jsx
|
|
97
|
+
import ReactDOM from 'react-dom';
|
|
98
|
+
import { Button } from 'react-vant';
|
|
99
|
+
|
|
100
|
+
function App() {
|
|
101
|
+
return <Button>Default Button</Button>;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
ReactDOM.render(<App />, mountNode);
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
#### 代码示例:
|
|
108
|
+
|
|
109
|
+
- [Create React App](https://github.com/3lang3/react-vant-template/tree/main/next/cra)
|
|
110
|
+
- [Umi](https://github.com/3lang3/react-vant-template/tree/main/next/umijs)
|
|
111
|
+
- [Next.js](https://github.com/3lang3/react-vant-template/tree/main/next/nextjs)
|
|
112
|
+
- [Remix](https://github.com/3lang3/react-vant-template/tree/main/next/remix)
|
|
113
|
+
- [Astro](https://github.com/3lang3/react-vant-template/tree/main/next/astro)
|
|
114
|
+
- [Vite](https://github.com/3lang3/react-vant-template/tree/main/next/vite)
|
|
115
|
+
|
|
116
|
+
更多信息请参考[快速开始](https://react-vant.3lang.dev/guide/quickstart).
|
|
117
|
+
|
|
118
|
+
## 🤝 贡献
|
|
119
|
+
|
|
120
|
+
阅读我们的贡献指南,让我们一起构建更好的 `react-vant`。
|
|
121
|
+
|
|
122
|
+
我们欢迎所有贡献。 请先阅读我们的 [CONTRIBUTING.md](https://react-vant.3lang.dev/guide/contribution)。 您可以将任何想法作为拉取请求或作为 GitHub 问题提交 😃。
|
|
123
|
+
|
|
124
|
+
## 👥 贡献者
|
|
125
|
+
|
|
126
|
+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
|
|
127
|
+
|
|
128
|
+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
|
|
129
|
+
<!-- prettier-ignore-start -->
|
|
130
|
+
<!-- markdownlint-disable -->
|
|
131
|
+
<table>
|
|
132
|
+
<tr>
|
|
133
|
+
<td align="center"><a href="https://github.com/0x219"><img src="https://avatars.githubusercontent.com/u/50414099?v=4?s=100" width="100px;" alt=""/><br /><sub><b>0x219</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=0x219" title="Code">💻</a> <a href="https://github.com/3lang3/react-vant/commits?author=0x219" title="Documentation">📖</a> <a href="#maintenance-0x219" title="Maintenance">🚧</a></td>
|
|
134
|
+
<td align="center"><a href="https://github.com/TinsFox"><img src="https://avatars.githubusercontent.com/u/33956589?v=4?s=100" width="100px;" alt=""/><br /><sub><b>TinsFox</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=TinsFox" title="Code">💻</a> <a href="https://github.com/3lang3/react-vant/commits?author=TinsFox" title="Documentation">📖</a> <a href="#maintenance-TinsFox" title="Maintenance">🚧</a></td>
|
|
135
|
+
<td align="center"><a href="https://github.com/sethyuan"><img src="https://avatars.githubusercontent.com/u/3410293?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Seth Yuan</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=sethyuan" title="Code">💻</a></td>
|
|
136
|
+
<td align="center"><a href="https://github.com/union-mall"><img src="https://avatars.githubusercontent.com/u/82643376?v=4?s=100" width="100px;" alt=""/><br /><sub><b>union-mall</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=union-mall" title="Code">💻</a></td>
|
|
137
|
+
<td align="center"><a href="https://github.com/tgioer"><img src="https://avatars.githubusercontent.com/u/18252854?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tang Zhi</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=tgioer" title="Code">💻</a></td>
|
|
138
|
+
<td align="center"><a href="https://github.com/yuegongzi"><img src="https://avatars.githubusercontent.com/u/13476544?v=4?s=100" width="100px;" alt=""/><br /><sub><b>yuegongzi</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=yuegongzi" title="Code">💻</a> <a href="https://github.com/3lang3/react-vant/commits?author=yuegongzi" title="Documentation">📖</a></td>
|
|
139
|
+
<td align="center"><a href="https://github.com/ovensi"><img src="https://avatars.githubusercontent.com/u/24306930?v=4?s=100" width="100px;" alt=""/><br /><sub><b>周神</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=ovensi" title="Code">💻</a></td>
|
|
140
|
+
</tr>
|
|
141
|
+
<tr>
|
|
142
|
+
<td align="center"><a href="https://github.com/BiscuitCoder"><img src="https://avatars.githubusercontent.com/u/17230944?v=4?s=100" width="100px;" alt=""/><br /><sub><b>BiscuitCoder</b></sub></a><br /><a href="#design-BiscuitCoder" title="Design">🎨</a></td>
|
|
143
|
+
<td align="center"><a href="https://renovate.whitesourcesoftware.com/"><img src="https://avatars.githubusercontent.com/u/25180681?v=4?s=100" width="100px;" alt=""/><br /><sub><b>WhiteSource Renovate</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=renovate-bot" title="Documentation">📖</a> <a href="#security-renovate-bot" title="Security">🛡️</a> <a href="#tool-renovate-bot" title="Tools">🔧</a></td>
|
|
144
|
+
<td align="center"><a href="https://github.com/apps/allcontributors"><img src="https://avatars.githubusercontent.com/in/23186?v=4?s=100" width="100px;" alt=""/><br /><sub><b>allcontributors[bot]</b></sub></a><br /><a href="#tool-allcontributors[bot]" title="Tools">🔧</a></td>
|
|
145
|
+
<td align="center"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4?s=100" width="100px;" alt=""/><br /><sub><b>dependabot[bot]</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=dependabot[bot]" title="Documentation">📖</a> <a href="#security-dependabot[bot]" title="Security">🛡️</a></td>
|
|
146
|
+
<td align="center"><a href="https://github.com/AdonLee"><img src="https://avatars.githubusercontent.com/u/5396468?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Cedong.Lee</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3AAdonLee" title="Bug reports">🐛</a> <a href="#ideas-AdonLee" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
147
|
+
<td align="center"><a href="https://github.com/hongmaoxiao/myblog/issues"><img src="https://avatars.githubusercontent.com/u/3943494?v=4?s=100" width="100px;" alt=""/><br /><sub><b>xiaomao Feng</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Ahongmaoxiao" title="Bug reports">🐛</a></td>
|
|
148
|
+
<td align="center"><a href="https://github.com/xiaojingyuaner"><img src="https://avatars.githubusercontent.com/u/24470322?v=4?s=100" width="100px;" alt=""/><br /><sub><b>xiaojingyuaner</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Axiaojingyuaner" title="Bug reports">🐛</a></td>
|
|
149
|
+
</tr>
|
|
150
|
+
<tr>
|
|
151
|
+
<td align="center"><a href="https://www.keep-wan.me"><img src="https://avatars.githubusercontent.com/u/19300142?v=4?s=100" width="100px;" alt=""/><br /><sub><b>keep_wan</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Awhevether" title="Bug reports">🐛</a></td>
|
|
152
|
+
<td align="center"><a href="https://blog.csdn.net/weixin_42755677"><img src="https://avatars.githubusercontent.com/u/42933010?v=4?s=100" width="100px;" alt=""/><br /><sub><b>zhangYin</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Amytheart" title="Bug reports">🐛</a> <a href="#ideas-mytheart" title="Ideas, Planning, & Feedback">🤔</a></td>
|
|
153
|
+
<td align="center"><a href="https://www.itworker.cn"><img src="https://avatars.githubusercontent.com/u/12168991?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Yann</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Afeifanshijie" title="Bug reports">🐛</a></td>
|
|
154
|
+
<td align="center"><a href="https://github.com/feifaneric"><img src="https://avatars.githubusercontent.com/u/52685056?v=4?s=100" width="100px;" alt=""/><br /><sub><b>feifaneric</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Afeifaneric" title="Bug reports">🐛</a></td>
|
|
155
|
+
<td align="center"><a href="https://github.com/FJHou"><img src="https://avatars.githubusercontent.com/u/22517598?v=4?s=100" width="100px;" alt=""/><br /><sub><b>FJHou</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3AFJHou" title="Bug reports">🐛</a></td>
|
|
156
|
+
<td align="center"><a href="https://wangbaoqi.gitbook.io/front/"><img src="https://avatars.githubusercontent.com/u/11024545?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nate Wang</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3AWangbaoqi" title="Bug reports">🐛</a></td>
|
|
157
|
+
<td align="center"><a href="https://github.com/Wal1e"><img src="https://avatars.githubusercontent.com/u/20591468?v=4?s=100" width="100px;" alt=""/><br /><sub><b>rook1e</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3AWal1e" title="Bug reports">🐛</a></td>
|
|
158
|
+
</tr>
|
|
159
|
+
<tr>
|
|
160
|
+
<td align="center"><a href="https://github.com/chinieer"><img src="https://avatars.githubusercontent.com/u/5187043?v=4?s=100" width="100px;" alt=""/><br /><sub><b>chinieer</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=chinieer" title="Documentation">📖</a></td>
|
|
161
|
+
<td align="center"><a href="https://github.com/GangYHu"><img src="https://avatars.githubusercontent.com/u/26001209?v=4?s=100" width="100px;" alt=""/><br /><sub><b>GangYHu</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3AGangYHu" title="Bug reports">🐛</a></td>
|
|
162
|
+
<td align="center"><a href="https://github.com/Jungzl"><img src="https://avatars.githubusercontent.com/u/35426360?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Jungzl</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=Jungzl" title="Code">💻</a></td>
|
|
163
|
+
<td align="center"><a href="https://github.com/ZhaoTim"><img src="https://avatars.githubusercontent.com/u/30540533?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Tim Zhao</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/commits?author=ZhaoTim" title="Documentation">📖</a></td>
|
|
164
|
+
<td align="center"><a href="https://github.com/class-undefined"><img src="https://avatars.githubusercontent.com/u/58300575?v=4?s=100" width="100px;" alt=""/><br /><sub><b>野漫横江</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Aclass-undefined" title="Bug reports">🐛</a></td>
|
|
165
|
+
<td align="center"><a href="https://blog.ndc.work"><img src="https://avatars.githubusercontent.com/u/20502666?v=4?s=100" width="100px;" alt=""/><br /><sub><b>NoDocCat</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3ANoDocCat" title="Bug reports">🐛</a></td>
|
|
166
|
+
<td align="center"><a href="https://github.com/xni220"><img src="https://avatars.githubusercontent.com/u/2124073?v=4?s=100" width="100px;" alt=""/><br /><sub><b>zhong yiqun</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Axni220" title="Bug reports">🐛</a></td>
|
|
167
|
+
</tr>
|
|
168
|
+
<tr>
|
|
169
|
+
<td align="center"><a href="http://koofrank.com/"><img src="https://avatars.githubusercontent.com/u/3366943?v=4?s=100" width="100px;" alt=""/><br /><sub><b>KooFrank</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Aphpmaple" title="Bug reports">🐛</a></td>
|
|
170
|
+
<td align="center"><a href="http://songhn.com"><img src="https://avatars.githubusercontent.com/u/47357585?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Songhn</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3Asonghn233" title="Bug reports">🐛</a></td>
|
|
171
|
+
<td align="center"><a href="https://github.com/JR0613"><img src="https://avatars.githubusercontent.com/u/58196913?v=4?s=100" width="100px;" alt=""/><br /><sub><b>晚枫</b></sub></a><br /><a href="https://github.com/3lang3/react-vant/issues?q=author%3AJR0613" title="Bug reports">🐛</a></td>
|
|
172
|
+
</tr>
|
|
173
|
+
</table>
|
|
174
|
+
|
|
175
|
+
<!-- markdownlint-restore -->
|
|
176
|
+
<!-- prettier-ignore-end -->
|
|
177
|
+
|
|
178
|
+
<!-- ALL-CONTRIBUTORS-LIST:END -->
|
|
179
|
+
|
|
180
|
+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
|
|
181
|
+
|
|
182
|
+
## 🙏 鸣谢
|
|
183
|
+
|
|
184
|
+
[Vant](https://github.com/youzan/vant) - Thanks to the Vant team for years of continuous maintenance, allowing me to stand on the shoulders of giants.
|
|
185
|
+
|
|
186
|
+
[Zan Design](https://design.youzan.com/) - Thanks for the careful production of YouZan Design Experience Center.
|
|
187
|
+
|
|
188
|
+
## 📜 许可证
|
|
189
|
+
|
|
190
|
+
[MIT](./LICENSE) ⓒ 3lang3
|
package/package.json
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "react-vant-nova",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "React Mobile UI Components base on Vant UI (此版本兼容 React 19)",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ui",
|
|
7
|
+
"react",
|
|
8
|
+
"mobile",
|
|
9
|
+
"components",
|
|
10
|
+
"component",
|
|
11
|
+
"design",
|
|
12
|
+
"framework",
|
|
13
|
+
"frontend",
|
|
14
|
+
"react-component"
|
|
15
|
+
],
|
|
16
|
+
"homepage": "https://react-vant.3lang.dev",
|
|
17
|
+
"repository": {
|
|
18
|
+
"type": "git",
|
|
19
|
+
"url": "暂无git地址,如有问题请联系作者ping97274@gmail.com",
|
|
20
|
+
"branch": "main",
|
|
21
|
+
"package": "./packages/react-vant"
|
|
22
|
+
},
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"author": "ping97274@gmail.com",
|
|
25
|
+
"sideEffects": [
|
|
26
|
+
"**/*.css",
|
|
27
|
+
"**/*.less",
|
|
28
|
+
"./es/index.js",
|
|
29
|
+
"./src/components/index.ts",
|
|
30
|
+
"./es/styles/index.js",
|
|
31
|
+
"./src/components/styles/index.ts"
|
|
32
|
+
],
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"node": {
|
|
36
|
+
"import": "./bundle/wpp-react-vant.es.js",
|
|
37
|
+
"require": "./bundle/wpp-react-vant.js"
|
|
38
|
+
},
|
|
39
|
+
"require": "./lib/index.js",
|
|
40
|
+
"import": "./es/index.js",
|
|
41
|
+
"types": "./es/index.d.ts"
|
|
42
|
+
},
|
|
43
|
+
"./es": "./es/index.js",
|
|
44
|
+
"./lib": "./lib/index.js",
|
|
45
|
+
"./es/": "./es/",
|
|
46
|
+
"./lib/": "./lib/",
|
|
47
|
+
"./bundle/": "./bundle/",
|
|
48
|
+
"./2x": "./2x/es/index.js",
|
|
49
|
+
"./2x/": "./2x/",
|
|
50
|
+
"./package.json": "./package.json",
|
|
51
|
+
"./*": "./*",
|
|
52
|
+
"./es/locale": "./es/locale/index.js"
|
|
53
|
+
},
|
|
54
|
+
"main": "./lib/index.js",
|
|
55
|
+
"jsdelivr": "./bundle/wpp-react-vant.min.js",
|
|
56
|
+
"unpkg": "./bundle/wpp-react-vant.min.js",
|
|
57
|
+
"module": "./es/index.js",
|
|
58
|
+
"typings": "./es/index.d.ts",
|
|
59
|
+
"style": "./bundle/index.css",
|
|
60
|
+
"files": [
|
|
61
|
+
"./bundle",
|
|
62
|
+
"./es",
|
|
63
|
+
"./lib",
|
|
64
|
+
"./2x",
|
|
65
|
+
"./package.json"
|
|
66
|
+
],
|
|
67
|
+
"scripts": {
|
|
68
|
+
"build": "rcdoc build && pnpm build:gulp",
|
|
69
|
+
"build:gulp": "gulp",
|
|
70
|
+
"deploy:gh-pages": "gh-pages -d docs-dist",
|
|
71
|
+
"dev": "rcdoc dev",
|
|
72
|
+
"docs:build": "rcdoc docs-build",
|
|
73
|
+
"lint": "eslint src --ext ts,tsx --fix",
|
|
74
|
+
"lint:tsx": "eslint src --ext ts,tsx",
|
|
75
|
+
"prettier": "npx prettier --write src",
|
|
76
|
+
"preview": "rcdoc preview",
|
|
77
|
+
"pub": "pnpm publish ./dist",
|
|
78
|
+
"pub:dev": "pnpm publish ./dist --tag dev"
|
|
79
|
+
},
|
|
80
|
+
"browserslist": [
|
|
81
|
+
"Android >= 4.0",
|
|
82
|
+
"iOS >= 8"
|
|
83
|
+
],
|
|
84
|
+
"dependencies": {
|
|
85
|
+
"@react-spring/web": "^9.4.5",
|
|
86
|
+
"@react-vant/icons": "workspace:*",
|
|
87
|
+
"@use-gesture/react": "10.2.17",
|
|
88
|
+
"@vant/popperjs": "^1.1.0",
|
|
89
|
+
"clsx": "1.2.1",
|
|
90
|
+
"rc-field-form": "^1.26.4",
|
|
91
|
+
"react-is": "^18.2.0",
|
|
92
|
+
"react-transition-group": "4.4.2",
|
|
93
|
+
"tslib": "^2.4.0"
|
|
94
|
+
},
|
|
95
|
+
"devDependencies": {
|
|
96
|
+
"@rcdoc/cli": "0.1.29",
|
|
97
|
+
"@rcdoc/theme": "0.1.8",
|
|
98
|
+
"@types/node": "17.0.45",
|
|
99
|
+
"@types/react": "18.0.17",
|
|
100
|
+
"@types/react-dom": "18.0.7",
|
|
101
|
+
"@vant/area-data": "1.3.1",
|
|
102
|
+
"gulp": "4.0.2",
|
|
103
|
+
"gulp-postcss": "9.0.1",
|
|
104
|
+
"postcss-px-multiple": "0.1.5",
|
|
105
|
+
"react": "18.2.0",
|
|
106
|
+
"react-dom": "18.2.0",
|
|
107
|
+
"through2": "4.0.2"
|
|
108
|
+
},
|
|
109
|
+
"peerDependencies": {
|
|
110
|
+
"react": ">=16.14.0",
|
|
111
|
+
"react-dom": ">=16.14.0"
|
|
112
|
+
},
|
|
113
|
+
"publishConfig": {
|
|
114
|
+
"access": "public",
|
|
115
|
+
"registry": "https://registry.npmjs.org/"
|
|
116
|
+
}
|
|
117
|
+
}
|