@neatui/css 4.2.1 → 4.2.3
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 +35 -6
- package/components/anim/package.json +3 -3
- package/components/badge/package.json +6 -6
- package/components/btns/README.md +2 -1
- package/components/btns/base.scss +1 -1
- package/components/btns/btns@a.scss +3 -3
- package/components/btns/btns@b.scss +3 -3
- 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 +28248 -0
- package/dist/neatui.min.css +1 -0
- package/dist/neatui.preview.css +36300 -0
- package/dist/neatui.preview.min.css +1 -0
- package/package.json +57 -5
- package/preview.scss +10 -0
- package/tokens/grammar.cjs +310 -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,44 @@
|
|
|
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
|
+
yarn validate --class "n-mm co-risk" --attr 'ui-flex="row xm"'
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
`yarn validate` 用同一份 schema 校验 class / `ui-flex` 等托管属性,拦住 Tailwind 式漂移写法。
|
|
6
35
|
|
|
7
36
|
## 特性
|
|
8
37
|
|
|
9
|
-
- 🎨
|
|
10
|
-
- 📱
|
|
11
|
-
- 🎯
|
|
12
|
-
- 🔧
|
|
13
|
-
- 📦
|
|
38
|
+
- 🎨 主题系统:种子色推导,多主题切换
|
|
39
|
+
- 📱 响应式:9 档断点
|
|
40
|
+
- 🎯 原子化:属性坐标 + 短 class
|
|
41
|
+
- 🔧 可定制:SCSS 变量与主题色卡
|
|
42
|
+
- 📦 组件皮:常用 UI 组件样式
|
|
14
43
|
|
|
15
44
|
## 核心模块
|
|
16
45
|
|
|
@@ -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
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @neatui/btns
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
NeatUI按钮组件,依赖@neatui/css核心,文档详见官网 https://neatui.fekit.cn/
|
|
4
4
|
|
|
5
5
|
## 安装组件
|
|
6
6
|
|
|
@@ -30,6 +30,7 @@ yarn add @neatui/btns
|
|
|
30
30
|
| ---- | ---- | -------------------------------------------------------- |
|
|
31
31
|
| 主体 | main | 跟随主题风格主体色 |
|
|
32
32
|
| 主体 | vice | 跟随主题风格辅助色 |
|
|
33
|
+
| 描述 | desc | 描述文字色(text 与 fore 的 55% 混合) |
|
|
33
34
|
| 提倡 | well | 代表提倡的,安全的,推荐的,成功的,建议用户点击的 |
|
|
34
35
|
| 警告 | warn | 代表警告的,需再次确认的,并非绝对安全的,需要用户慎重的 |
|
|
35
36
|
| 风险 | risk | 代表失败的,危险的,错误的,有风险的,不建议用户操作的 |
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
@use './../../core/media.scss' as *;
|
|
3
3
|
|
|
4
4
|
$size: 'xs', 's', 'm', 'l', 'xl';
|
|
5
|
-
$type: none, main, vice, text, link, read, note, case, line, weak, back, info, well, warn, risk, w, b;
|
|
5
|
+
$type: none, main, vice, text, link, read, desc, note, case, line, weak, back, info, well, warn, risk, w, b;
|
|
6
6
|
|
|
7
7
|
[ui-btn] {
|
|
8
8
|
& {
|
|
@@ -174,11 +174,11 @@ body [ui-btn~='@a'] {
|
|
|
174
174
|
} @else {
|
|
175
175
|
color: var(--co-#{$name});
|
|
176
176
|
}
|
|
177
|
-
border: 1px solid var(--co-#{$name});
|
|
177
|
+
border: 1px solid var(--co-#{$name}-o-lm);
|
|
178
178
|
|
|
179
179
|
&:hover,
|
|
180
180
|
&.active {
|
|
181
|
-
border: 1px solid var(--co-#{$name});
|
|
181
|
+
border: 1px solid var(--co-#{$name}-o-lm);
|
|
182
182
|
box-shadow: inset 0 0 0 100em var(--co-#{$name}-xs);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
@@ -379,7 +379,7 @@ body [ui-btn~='@a'] {
|
|
|
379
379
|
} @else {
|
|
380
380
|
color: var(--co-#{$name});
|
|
381
381
|
}
|
|
382
|
-
border: 1px solid var(--co-#{$name});
|
|
382
|
+
border: 1px solid var(--co-#{$name}-o-lm);
|
|
383
383
|
|
|
384
384
|
&:hover,
|
|
385
385
|
&.active {
|
|
@@ -172,11 +172,11 @@ body [ui-btn~='@b'] {
|
|
|
172
172
|
} @else {
|
|
173
173
|
color: var(--co-#{$name});
|
|
174
174
|
}
|
|
175
|
-
border: 1px solid var(--co-#{$name});
|
|
175
|
+
border: 1px solid var(--co-#{$name}-o-lm);
|
|
176
176
|
|
|
177
177
|
&:hover,
|
|
178
178
|
&.active {
|
|
179
|
-
border: 1px solid var(--co-#{$name});
|
|
179
|
+
border: 1px solid var(--co-#{$name}-o-lm);
|
|
180
180
|
box-shadow: inset 0 0 0 100em var(--co-#{$name}-xs);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
@@ -368,7 +368,7 @@ body [ui-btn~='@b'] {
|
|
|
368
368
|
} @else {
|
|
369
369
|
color: var(--co-#{$name});
|
|
370
370
|
}
|
|
371
|
-
border: 1px solid var(--co-#{$name});
|
|
371
|
+
border: 1px solid var(--co-#{$name}-o-lm);
|
|
372
372
|
|
|
373
373
|
&:hover,
|
|
374
374
|
&.active {
|
|
@@ -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/)
|