diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 3f5c9cf5..eeb81862 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -2,11 +2,16 @@
- [ ] 新功能 Feat
- [ ] 缺陷修复 Bug
-- [ ] 文档改进 Docs
+- [ ] 文档改进 Doc
- [ ] 重构和项目优化 Refactor or Perfs
- [ ] 添加测试用例 Test
### ❗️ 请务必确保:
- [ ] 代码经历过不少于 1 遍`书写-构建-使用`的自测流程
-- [ ] TS 类型定义完整且没有 any
+- [ ] 有全面的组件文档
+- [ ] TS 类型定义完整且没有恶意 any
+
+### ⚠️ 请尽量保证:
+
+- [ ] 有完善的组件测试,覆盖率不低于 80%
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000..fe250ebd
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,11 @@
+# To get started with Dependabot version updates, you'll need to specify which
+# package ecosystems to update and where the package manifests are located.
+# Please see the documentation for all configuration options:
+# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
+
+version: 2
+updates:
+ - package-ecosystem: "npm" # See documentation for possible values
+ directory: "/" # Location of package manifests
+ schedule:
+ interval: "monthly"
diff --git a/.gitignore b/.gitignore
index c2e363cf..78d7e3bc 100755
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,8 @@
/node_modules
/npm-debug.log*
/yarn-error.log
+package-lock.json
+yarn.lock
# production
/dist
diff --git a/docs/components/affix.md b/docs/components/affix.md
deleted file mode 100755
index 76c0b15c..00000000
--- a/docs/components/affix.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Affix
-
-> 🔥 测试用的
-
-## 1. 基本使用
-
-```tsx
-/**
- * title: 测试一下
- * desc: 测试一下
- */
-```
diff --git a/docs/components/button.md b/docs/components/button.md
index 732f193a..8d0b2269 100644
--- a/docs/components/button.md
+++ b/docs/components/button.md
@@ -160,13 +160,13 @@ const menuComponents = (
onClick={(e) => {
message.success(`哦呵?`, e);
}}>
-
}>
+ }>
毛血旺
- }>
+ }>
水煮鱼
- }>
+ }>
红烧肉
@@ -176,19 +176,19 @@ const pureMenuList = [
key: 1,
text: '毛血旺',
value: '毛血旺',
- iconType: 'i-add',
+ iconType: 'gutline_add',
},
{
key: 2,
text: '水煮鱼',
value: '水煮鱼',
- iconType: 'i-add',
+ iconType: 'gutline_add',
},
{
key: 3,
text: '红烧肉',
value: '红烧肉',
- iconType: 'i-add',
+ iconType: 'gutline_add',
},
];
const App = () => {
@@ -200,7 +200,7 @@ const App = () => {
@@ -214,7 +214,7 @@ const App = () => {
onChange={(value) => {
message.success(`来一份${value}`);
}}>
- 减脂
+ 减脂
>
@@ -241,7 +241,7 @@ const group = [
key: 1,
text: '菜单1',
value: 1,
- leftIconType: 'i-play',
+ leftIconType: 'round_left_g',
},
{
key: 2,
@@ -253,7 +253,7 @@ const group = [
key: 3,
text: '菜单3',
value: 3,
- rightIconType: 'i-danmu',
+ rightIconType: 'round_right_g',
},
];
const App = () => {
@@ -261,15 +261,16 @@ const App = () => {
<>
使用Button.Group组件的方式:
- }>
+ }>
菜单1
+
使用group属性的方式: