@neatui/css 4.2.1 → 4.2.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.md +32 -6
- package/components/anim/package.json +3 -3
- package/components/badge/package.json +6 -6
- package/components/btns/README.md +1 -1
- package/components/btns/package.json +2 -2
- package/components/card/package.json +1 -1
- package/components/chat/package.json +1 -1
- package/components/form/README.md +9 -9
- package/components/form/package.json +5 -5
- package/components/grid/package.json +2 -2
- package/components/icon/package.json +1 -1
- package/components/imgs/README.md +1 -1
- package/components/imgs/package.json +2 -2
- package/components/line/package.json +2 -2
- package/components/list/package.json +3 -3
- package/components/load/README.md +1 -1
- package/components/load/package.json +2 -2
- package/components/menu/package.json +4 -4
- package/components/navs/README.md +1 -1
- package/components/navs/package.json +2 -2
- package/components/path/README.md +9 -9
- package/components/path/package.json +5 -5
- package/components/steps/package.json +1 -1
- package/components/table/package.json +5 -5
- package/components/tabs/README.md +5 -5
- package/components/tabs/package.json +5 -5
- package/components/tags/README.md +4 -4
- package/components/tags/package.json +5 -5
- package/components/tips/README.md +5 -5
- package/components/tips/package.json +5 -5
- package/components/title/package.json +1 -1
- package/core/theme.scss +35 -25
- package/dist/neatui.css +28146 -0
- package/dist/neatui.min.css +1 -0
- package/dist/neatui.preview.css +36198 -0
- package/dist/neatui.preview.min.css +1 -0
- package/package.json +56 -5
- package/preview.scss +10 -0
- package/tokens/neatui.tokens.json +489 -0
- package/components/user/mcui@user.scss +0 -0
- package/postcss.config.js +0 -20
package/README.md
CHANGED
|
@@ -2,15 +2,41 @@
|
|
|
2
2
|
|
|
3
3
|
[http://neatui.fekit.cn](http://neatui.fekit.cn)
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
NeatUI 约束型原子设计系统(SCSS)。正式项目用 SCSS 自定义 `$theme`;试用可用预编译 preview(默认 light / dark)。
|
|
6
|
+
|
|
7
|
+
## 两种用法
|
|
8
|
+
|
|
9
|
+
**试用(Preview,仅默认 light / dark)**
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<link rel="stylesheet" href="https://unpkg.com/@neatui/css/dist/neatui.preview.min.css" />
|
|
13
|
+
<html theme="light">
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
**正式项目(SCSS + 自定义色卡)**
|
|
17
|
+
|
|
18
|
+
```scss
|
|
19
|
+
$theme: ( light: (...), dark: (...) );
|
|
20
|
+
@use '@neatui/css' as *;
|
|
21
|
+
@include theme($theme);
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Token schema
|
|
25
|
+
|
|
26
|
+
机器可读真相源:[`tokens/neatui.tokens.json`](./tokens/neatui.tokens.json)
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
yarn tokens:generate # 同步 VS Code 快照 + 文档 Token 索引
|
|
30
|
+
yarn tokens:check # 校验快照未漂移
|
|
31
|
+
```
|
|
6
32
|
|
|
7
33
|
## 特性
|
|
8
34
|
|
|
9
|
-
- 🎨
|
|
10
|
-
- 📱
|
|
11
|
-
- 🎯
|
|
12
|
-
- 🔧
|
|
13
|
-
- 📦
|
|
35
|
+
- 🎨 主题系统:种子色推导,多主题切换
|
|
36
|
+
- 📱 响应式:9 档断点
|
|
37
|
+
- 🎯 原子化:属性坐标 + 短 class
|
|
38
|
+
- 🔧 可定制:SCSS 变量与主题色卡
|
|
39
|
+
- 📦 组件皮:常用 UI 组件样式
|
|
14
40
|
|
|
15
41
|
## 核心模块
|
|
16
42
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neatui/anim",
|
|
3
3
|
"version": "1.0.0",
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "
|
|
4
|
+
"description": "NeatUI 核心组件,NeatUI 全局架构性组件。官网 https://neatui.fekit.cn/",
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "@neatui/
|
|
2
|
+
"name": "@neatui/badge",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@neatui/btns",
|
|
3
3
|
"version": "1.2.15",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# @neatui/
|
|
1
|
+
# @neatui/css
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NeatUI 核心组件,NeatUI 全局架构性组件。官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
### 安装核心
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm i @neatui/
|
|
10
|
+
npm i @neatui/css
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### 安装组件
|
|
@@ -60,7 +60,7 @@ $theme: (
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
// 引用框架核心
|
|
63
|
-
@import '~@neatui/
|
|
63
|
+
@import '~@neatui/css';
|
|
64
64
|
|
|
65
65
|
// 引用业务组件
|
|
66
66
|
@import '~@neatui/btns';
|
|
@@ -72,7 +72,7 @@ $theme: (
|
|
|
72
72
|
### 颜色
|
|
73
73
|
|
|
74
74
|
```scss
|
|
75
|
-
@import '~@neatui/
|
|
75
|
+
@import '~@neatui/css';
|
|
76
76
|
|
|
77
77
|
.header {
|
|
78
78
|
position: fixed;
|
|
@@ -99,11 +99,11 @@ $theme: (
|
|
|
99
99
|
left: 0;
|
|
100
100
|
top: 0;
|
|
101
101
|
}
|
|
102
|
-
[
|
|
102
|
+
[theme~='light'] .header {
|
|
103
103
|
background-color: #ffffff;
|
|
104
104
|
color: #000000;
|
|
105
105
|
}
|
|
106
|
-
[
|
|
106
|
+
[theme~='dark'] .header {
|
|
107
107
|
background-color: #262629;
|
|
108
108
|
color: rgba(255, 255, 255, 0.9);
|
|
109
109
|
}
|
|
@@ -112,7 +112,7 @@ $theme: (
|
|
|
112
112
|
### 响应三端
|
|
113
113
|
|
|
114
114
|
```scss
|
|
115
|
-
@import '~@neatui/
|
|
115
|
+
@import '~@neatui/css';
|
|
116
116
|
|
|
117
117
|
body {
|
|
118
118
|
font-size: 14px;
|
|
@@ -139,4 +139,4 @@ body {
|
|
|
139
139
|
|
|
140
140
|
## 更多
|
|
141
141
|
|
|
142
|
-
详细文档请到
|
|
142
|
+
详细文档请到NeatUI官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"name": "@neatui/form",
|
|
3
3
|
"version": "1.3.63",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@neatui/grid",
|
|
3
3
|
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@neatui/imgs",
|
|
3
3
|
"version": "1.1.17",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@neatui/line",
|
|
3
3
|
"version": "1.0.5",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neatui/list",
|
|
3
3
|
"version": "0.1.3",
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "
|
|
4
|
+
"description": "NeatUI 核心组件,NeatUI 全局架构性组件。官网 https://neatui.fekit.cn/",
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@neatui/load",
|
|
3
3
|
"version": "1.1.0",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@neatui/navs",
|
|
3
3
|
"version": "1.0.2",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {},
|
|
12
12
|
"keywords": [
|
|
13
|
-
"
|
|
13
|
+
"neatui",
|
|
14
14
|
"ui"
|
|
15
15
|
]
|
|
16
16
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# @neatui/
|
|
1
|
+
# @neatui/css
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NeatUI 核心组件,NeatUI 全局架构性组件。官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
### 安装核心
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm i @neatui/
|
|
10
|
+
npm i @neatui/css
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### 安装组件
|
|
@@ -60,7 +60,7 @@ $theme: (
|
|
|
60
60
|
);
|
|
61
61
|
|
|
62
62
|
// 引用框架核心
|
|
63
|
-
@import '~@neatui/
|
|
63
|
+
@import '~@neatui/css';
|
|
64
64
|
|
|
65
65
|
// 引用业务组件
|
|
66
66
|
@import '~@neatui/btns';
|
|
@@ -72,7 +72,7 @@ $theme: (
|
|
|
72
72
|
### 颜色
|
|
73
73
|
|
|
74
74
|
```scss
|
|
75
|
-
@import '~@neatui/
|
|
75
|
+
@import '~@neatui/css';
|
|
76
76
|
|
|
77
77
|
.header {
|
|
78
78
|
position: fixed;
|
|
@@ -99,11 +99,11 @@ $theme: (
|
|
|
99
99
|
left: 0;
|
|
100
100
|
top: 0;
|
|
101
101
|
}
|
|
102
|
-
[
|
|
102
|
+
[theme~='light'] .header {
|
|
103
103
|
background-color: #ffffff;
|
|
104
104
|
color: #000000;
|
|
105
105
|
}
|
|
106
|
-
[
|
|
106
|
+
[theme~='dark'] .header {
|
|
107
107
|
background-color: #262629;
|
|
108
108
|
color: rgba(255, 255, 255, 0.9);
|
|
109
109
|
}
|
|
@@ -112,7 +112,7 @@ $theme: (
|
|
|
112
112
|
### 响应三端
|
|
113
113
|
|
|
114
114
|
```scss
|
|
115
|
-
@import '~@neatui/
|
|
115
|
+
@import '~@neatui/css';
|
|
116
116
|
|
|
117
117
|
body {
|
|
118
118
|
font-size: 14px;
|
|
@@ -139,4 +139,4 @@ body {
|
|
|
139
139
|
|
|
140
140
|
## 更多
|
|
141
141
|
|
|
142
|
-
详细文档请到
|
|
142
|
+
详细文档请到NeatUI官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"name": "@neatui/path",
|
|
3
3
|
"version": "1.0.0",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"name": "@neatui/table",
|
|
3
3
|
"version": "1.1.22",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
# @neatui/
|
|
1
|
+
# @neatui/css
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NeatUI 选项卡组件。本组件依赖框架核心 @neatui/css 。更多详情请访问官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
### 安装核心
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm i @neatui/
|
|
10
|
+
npm i @neatui/css
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### 安装组件
|
|
@@ -38,7 +38,7 @@ $theme: (
|
|
|
38
38
|
);
|
|
39
39
|
|
|
40
40
|
// 引用框架核心
|
|
41
|
-
@import '~@neatui/
|
|
41
|
+
@import '~@neatui/css';
|
|
42
42
|
|
|
43
43
|
// 引用业务组件
|
|
44
44
|
@import '~@neatui/tabs/tabs@a';
|
|
@@ -59,4 +59,4 @@ $theme: (
|
|
|
59
59
|
|
|
60
60
|
## 更多
|
|
61
61
|
|
|
62
|
-
详细文档请到
|
|
62
|
+
详细文档请到 NeatUI 官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"name": "@neatui/tabs",
|
|
3
3
|
"version": "1.0.8",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @neatui/tags
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NeatUI 选项卡组件。本组件依赖框架核心 @neatui/css 。更多详情请访问官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
4
4
|
|
|
5
5
|
## 安装
|
|
6
6
|
|
|
7
7
|
### 安装核心
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
npm i @neatui/
|
|
10
|
+
npm i @neatui/css
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
### 安装组件
|
|
@@ -38,7 +38,7 @@ $theme: (
|
|
|
38
38
|
);
|
|
39
39
|
|
|
40
40
|
// 引用框架核心
|
|
41
|
-
@import '~@neatui/
|
|
41
|
+
@import '~@neatui/css';
|
|
42
42
|
|
|
43
43
|
// 引用业务组件
|
|
44
44
|
@import '~@neatui/tags/tags@a';
|
|
@@ -68,4 +68,4 @@ $theme: (
|
|
|
68
68
|
|
|
69
69
|
## 更多
|
|
70
70
|
|
|
71
|
-
详细文档请到
|
|
71
|
+
详细文档请到 NeatUI 官网 [https://neatui.fekit.cn/](https://neatui.fekit.cn/)
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
"name": "@neatui/tags",
|
|
3
3
|
"version": "1.1.2",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "
|
|
5
|
+
"main": "index.scss",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
8
8
|
},
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://gitlab.com/
|
|
11
|
+
"url": "git+https://gitlab.com/neatui/neatui.git"
|
|
12
12
|
},
|
|
13
13
|
"keywords": [
|
|
14
|
-
"
|
|
14
|
+
"neatui"
|
|
15
15
|
],
|
|
16
16
|
"author": "xiaojunbo",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"bugs": {
|
|
19
|
-
"url": "https://gitlab.com/
|
|
19
|
+
"url": "https://gitlab.com/neatui/neatui/issues"
|
|
20
20
|
},
|
|
21
|
-
"homepage": "https://gitlab.com/
|
|
21
|
+
"homepage": "https://gitlab.com/neatui/neatui#readme"
|
|
22
22
|
}
|