@douyinfe/semi-ui 2.14.0-beta.0 → 2.14.0
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/dist/umd/semi-ui.js +1 -1
- package/dist/umd/semi-ui.js.map +1 -1
- package/dist/umd/semi-ui.min.js +1 -1
- package/dist/umd/semi-ui.min.js.map +1 -1
- package/form/_story/form.stories.tsx +9 -2
- package/lib/cjs/spin/icon.js +1 -1
- package/lib/es/spin/icon.js +1 -1
- package/package.json +8 -8
- package/spin/icon.tsx +1 -1
|
@@ -138,14 +138,21 @@ interface IProps {
|
|
|
138
138
|
interface IState {
|
|
139
139
|
visible: boolean;
|
|
140
140
|
}
|
|
141
|
+
|
|
142
|
+
interface FData {
|
|
143
|
+
test: boolean;
|
|
144
|
+
test2: boolean;
|
|
145
|
+
test3: string;
|
|
146
|
+
// [x: string]: unknown;
|
|
147
|
+
}
|
|
141
148
|
class Demo extends React.Component<IProps, IState> {
|
|
142
149
|
constructor(props:any) {
|
|
143
150
|
super(props);
|
|
144
151
|
this.state = { visible: false};
|
|
145
152
|
}
|
|
146
153
|
|
|
147
|
-
getFormApi(formApi: FormApi) {
|
|
148
|
-
|
|
154
|
+
getFormApi(formApi: FormApi<FData>) {
|
|
155
|
+
formApi.getValue()
|
|
149
156
|
}
|
|
150
157
|
|
|
151
158
|
render() {
|
package/lib/cjs/spin/icon.js
CHANGED
package/lib/es/spin/icon.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.14.0
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
17
17
|
"@douyinfe/semi-animation": "2.12.0",
|
|
18
|
-
"@douyinfe/semi-animation-react": "2.14.0
|
|
19
|
-
"@douyinfe/semi-foundation": "2.14.0
|
|
20
|
-
"@douyinfe/semi-icons": "2.14.0
|
|
21
|
-
"@douyinfe/semi-illustrations": "2.14.0
|
|
22
|
-
"@douyinfe/semi-theme-default": "2.14.0
|
|
18
|
+
"@douyinfe/semi-animation-react": "2.14.0",
|
|
19
|
+
"@douyinfe/semi-foundation": "2.14.0",
|
|
20
|
+
"@douyinfe/semi-icons": "2.14.0",
|
|
21
|
+
"@douyinfe/semi-illustrations": "2.14.0",
|
|
22
|
+
"@douyinfe/semi-theme-default": "2.14.0",
|
|
23
23
|
"@types/react-window": "^1.8.2",
|
|
24
24
|
"async-validator": "^3.5.0",
|
|
25
25
|
"classnames": "^2.2.6",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
],
|
|
70
70
|
"author": "",
|
|
71
71
|
"license": "MIT",
|
|
72
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "d55010c5e2747bf74efdb061700d3aea9335ba25",
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
75
75
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
76
76
|
"@babel/preset-env": "^7.15.8",
|
|
77
77
|
"@babel/preset-react": "^7.14.5",
|
|
78
|
-
"@douyinfe/semi-scss-compile": "2.14.0
|
|
78
|
+
"@douyinfe/semi-scss-compile": "2.14.0",
|
|
79
79
|
"@storybook/addon-knobs": "^6.3.1",
|
|
80
80
|
"@types/lodash": "^4.14.176",
|
|
81
81
|
"babel-loader": "^8.2.2",
|
package/spin/icon.tsx
CHANGED
|
@@ -40,7 +40,7 @@ function Icon(props: IconProps = {}) {
|
|
|
40
40
|
</linearGradient>
|
|
41
41
|
</defs>
|
|
42
42
|
<g stroke="none" strokeWidth="1" fill="none" fillRule="evenodd">
|
|
43
|
-
<rect fillOpacity="0.01" fill="
|
|
43
|
+
<rect fillOpacity="0.01" fill="none" x="0" y="0" width="36" height="36" />
|
|
44
44
|
<path
|
|
45
45
|
d="M34,18 C34,9.163444 26.836556,2 18,2 C11.6597233,2 6.18078805,5.68784135 3.59122325,11.0354951"
|
|
46
46
|
stroke={`url(#${id})`}
|