}
size="small"
loading={loadings[5]}
@@ -103,19 +103,19 @@ export default () => {
- } mini />
+ } mini />
} mini />
- } mini />
+ } mini />
} mini />
- } mini loading />
+ } mini loading />
} mini loading />
- } loading={loadings[5]} mini onClick={() => enterLoading(5)} />
+ } loading={loadings[5]} mini onClick={() => enterLoading(5)} />
}
diff --git a/website/src/components/basic/button/demos/other.tsx b/website/src/components/basic/button/demos/other.tsx
index b5fd91f0ef..c1d74fa4a8 100644
--- a/website/src/components/basic/button/demos/other.tsx
+++ b/website/src/components/basic/button/demos/other.tsx
@@ -17,7 +17,7 @@ export default () => (
-
diff --git a/website/src/components/basic/button/index.zh-CN.md b/website/src/components/basic/button/index.zh-CN.md
index bdb7b3c3bc..3e6bbcdc67 100644
--- a/website/src/components/basic/button/index.zh-CN.md
+++ b/website/src/components/basic/button/index.zh-CN.md
@@ -19,9 +19,9 @@ group:
-
+
-
+
@@ -31,7 +31,7 @@ group:
| 参数 | 说明 | 类型 | 默认值 |
| ------- | --------------------------------------------------------------------- | ------------------------------ | ------ |
-| type | 设置按钮类型,可选值为 `primary` `secondary` `assist` `text` 或者不设 | string | - |
+| type | 设置按钮类型,可选值为 `primary` `secondary` `link` `text` 或者不设 | string | - |
| icon | 设置按钮的图标组件 | ReactNode | - |
| size | 设置按钮大小 | `large` \| `middle` \| `small` | - |
| loading | 设置按钮载入状态 | boolean | false |
diff --git a/website/src/components/functional/dropdown/demo/filter.tsx b/website/src/components/functional/dropdown/demo/filter.tsx
index b5a15304b3..d9f05c1892 100644
--- a/website/src/components/functional/dropdown/demo/filter.tsx
+++ b/website/src/components/functional/dropdown/demo/filter.tsx
@@ -62,7 +62,7 @@ export default () => {
}
>
-
} />
+
} />
);
};
diff --git a/website/src/components/functional/dropdown/demo/icons.tsx b/website/src/components/functional/dropdown/demo/icons.tsx
index dc8d585008..ac56dac44d 100644
--- a/website/src/components/functional/dropdown/demo/icons.tsx
+++ b/website/src/components/functional/dropdown/demo/icons.tsx
@@ -11,6 +11,6 @@ const options = [
export default () => (
}>
-
} />
+
} />
);
diff --git a/website/src/components/functional/dropdown/demo/placement.tsx b/website/src/components/functional/dropdown/demo/placement.tsx
index eb933bcdb9..9f29994084 100644
--- a/website/src/components/functional/dropdown/demo/placement.tsx
+++ b/website/src/components/functional/dropdown/demo/placement.tsx
@@ -10,13 +10,13 @@ const options = [
export default () => (
<>
} placement="bottomRight">
-
} style={{ marginLeft: '64px' }} />
+
} style={{ marginLeft: '64px' }} />
} placement="bottom">
-
} style={{ margin: '0px 128px' }} />
+
} style={{ margin: '0px 128px' }} />
} placement="bottomLeft">
-
} />
+
} />
>
);
diff --git a/website/src/components/functional/form/demo/drawer.tsx b/website/src/components/functional/form/demo/drawer.tsx
index 781574abf8..3d26a74148 100644
--- a/website/src/components/functional/form/demo/drawer.tsx
+++ b/website/src/components/functional/form/demo/drawer.tsx
@@ -94,7 +94,7 @@ export default (): JSX.Element => {
label={index === 0 ? '查询条件' : ''}
afterInput={
index > 1 ? (
-
remove(field.name)}>
+ remove(field.name)}>
) : (
diff --git a/website/src/components/functional/table/demo/interaction/hover.tsx b/website/src/components/functional/table/demo/interaction/hover.tsx
index ce071d2b67..e26a06004a 100644
--- a/website/src/components/functional/table/demo/interaction/hover.tsx
+++ b/website/src/components/functional/table/demo/interaction/hover.tsx
@@ -42,7 +42,7 @@ export default () => {
title: '操作',
key: 'operate',
align: 'center',
- render: () => } />,
+ render: () => } />,
});
return (
<>
diff --git a/yarn.lock b/yarn.lock
index 56966d4584..a86219e04b 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -13,14 +13,14 @@
dependencies:
"@babel/highlight" "^7.10.4"
-"@babel/code-frame@7.12.11":
+"@babel/code-frame@7.12.11", "@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.1", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.11", "@babel/code-frame@^7.5.5":
version "7.12.11"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f"
integrity sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1RcIw==
dependencies:
"@babel/highlight" "^7.10.4"
-"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.1", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.11", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.5.5", "@babel/code-frame@^7.8.3":
+"@babel/code-frame@^7.12.13", "@babel/code-frame@^7.8.3":
version "7.12.13"
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.13.tgz#dcfc826beef65e75c50e21d3837d7d95798dd658"
integrity sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==
@@ -2517,17 +2517,17 @@
strip-json-comments "^3.1.1"
"@gio-design/icons@^21.4.0":
- version "21.4.0"
- resolved "https://registry.yarnpkg.com/@gio-design/icons/-/icons-21.4.0.tgz#033dea22cc460eb2b147bddd81974897dac8dbcd"
- integrity sha512-TdGGUQdJOJVCfTbQ7vbdEVsA6c2RdTtpKqqa8ffMOfkzh0vTRxdSCVSXcI7zzB2ErT2yIxqcv4OtH3ucdBNpeg==
+ version "21.4.1"
+ resolved "https://registry.yarnpkg.com/@gio-design/icons/-/icons-21.4.1.tgz#5a9f5192107905b905439f4b937f8e9678fb2e69"
+ integrity sha512-1bOlEYHfWPfMwYKQ6pnWir0CNtvnKFEeqqVlj7euw6TQWUR85TT/l+t+J92CG6OhZOgWkSLe76X24QpyTp2Hzg==
dependencies:
"@types/classnames" "^2.2.11"
classnames "^2.2.6"
-"@gio-design/tokens@^21.4.1":
- version "21.4.1"
- resolved "https://registry.yarnpkg.com/@gio-design/tokens/-/tokens-21.4.1.tgz#710494032c0ff0c61ae9ce3c0a7e2565d3eecade"
- integrity sha512-U2iix98dSMNURsht4KK7ezmtVHcGMup55zrxflKYsKm7AahNNadTtDyHAeo5iUE78A2ga3lHpZZuyjbgCt6/bg==
+"@gio-design/tokens@^21.4.2":
+ version "21.4.2"
+ resolved "https://registry.yarnpkg.com/@gio-design/tokens/-/tokens-21.4.2.tgz#8914f09567d042a98f144fe4f1d7f463954e3378"
+ integrity sha512-1/EhIwL9+t3zHmxRWf01vr+U4PiANwVgcZ/MK8iet7srbQGrrrnKS5aKpLVt53Mr9HCGB0dAX1S3RDyjJ559uA==
"@gulp-sourcemaps/identity-map@1.X":
version "1.0.2"
@@ -7539,9 +7539,9 @@ eslint-visitor-keys@^2.0.0:
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==
eslint@^7.8.1:
- version "7.24.0"
- resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.24.0.tgz#2e44fa62d93892bfdb100521f17345ba54b8513a"
- integrity sha512-k9gaHeHiFmGCDQ2rEfvULlSLruz6tgfA8DEn+rY9/oYPFFTlz55mM/Q/Rij1b2Y42jwZiK3lXvNTw6w6TXzcKQ==
+ version "7.22.0"
+ resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f"
+ integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg==
dependencies:
"@babel/code-frame" "7.12.11"
"@eslint/eslintrc" "^0.4.0"
@@ -14558,21 +14558,21 @@ semver@7.0.0:
version "7.0.0"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.0.0.tgz"
-semver@7.3.2:
+semver@7.3.2, semver@7.x, semver@^7.2.1, semver@^7.3.2:
version "7.3.2"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.2.tgz"
-semver@7.x, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4:
+semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0:
+ version "6.3.0"
+ resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz"
+
+semver@^7.3.4:
version "7.3.5"
resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.5.tgz#0b621c879348d8998e4b0e4be94b3f12e6018ef7"
integrity sha512-PoeGJYh8HK4BTO/a9Tf6ZG3veo/A7ZVsYrSA6J8ny9nb3B1VrpkuN+z9OE5wfE5p6H4LchYZsegiQgbJD94ZFQ==
dependencies:
lru-cache "^6.0.0"
-semver@^6.0.0, semver@^6.1.1, semver@^6.1.2, semver@^6.3.0:
- version "6.3.0"
- resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz"
-
send@0.17.1:
version "0.17.1"
resolved "https://registry.yarnpkg.com/send/-/send-0.17.1.tgz"