Skip to content

Commit eaa479c

Browse files
committed
Merge branch 'V3.0' into feat/adapt-radio
2 parents 0113d77 + ce66f75 commit eaa479c

File tree

91 files changed

+8470
-1259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+8470
-1259
lines changed

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# .env
2+
VITE_RTL=ltr

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
node_modules
33
.idea
44
.eslintcache
5+
.vite
56
/dist
67
/dist-demo
78
/libs

.vite/deps_temp_67a06ddd/package.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@nutui/nutui-react",
3-
"version": "3.0.0-beta.1",
2+
"name": "@nutui/nutui-react-taro",
3+
"version": "3.0.0-beta.2",
44
"style": "dist/style.css",
55
"main": "dist/nutui.react.umd.js",
66
"module": "dist/es/packages/nutui.react.build.js",
@@ -104,7 +104,7 @@
104104
"dependencies": {
105105
"@babel/runtime": "^7.23.9",
106106
"@nutui/icons-react": "^1.0.5",
107-
"@nutui/icons-react-taro": "2.0.0-beta.0",
107+
"@nutui/icons-react-taro": "^2.0.0-beta.2",
108108
"@nutui/jdesign-icons-react-taro": "1.0.6-beta.2",
109109
"@nutui/touch-emulator": "^1.0.0",
110110
"@react-spring/web": "~9.6.1",
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
root = true
2+
3+
[*]
4+
indent_size = 2
5+
end_of_line = lf
6+
insert_final_newline = true
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
.DS_Store
3+
dist
4+
*.log
5+
.vercel
6+
.eslintcache

packages/nutui-auto-import/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright © 2024-PRESENT 三咲智子 (https://github.com/sxzz)
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# @nutui/nutui-react-auto-import
2+
3+
按需引入组件的样式文件。
4+
5+
支持情况参考 [https://unplugin.unjs.io/guide/](https://unplugin.unjs.io/guide/)
6+
7+
## 使用方式
8+
9+
vite
10+
11+
```js
12+
import NutUIAutoImport from '@nutui/nutui-react-auto-import/vite'
13+
import { defineConfig } from 'vite'
14+
15+
export default defineConfig({
16+
plugins: [
17+
NutUIAutoImport({
18+
libraryName: '@nutui/nutui-react',
19+
style: 'css',
20+
}),
21+
],
22+
})
23+
```
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"presets": ["@babel/preset-react"]
3+
}

0 commit comments

Comments
 (0)