@douyinfe/semi-ui 2.1.0-next.2 → 2.1.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/dist/css/semi.css +8 -6
- package/dist/css/semi.min.css +1 -1
- package/dist/umd/semi-ui.js +964 -907
- 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/lib/cjs/form/baseForm.d.ts +1 -1
- package/lib/cjs/form/field.d.ts +1 -1
- package/lib/cjs/inputNumber/index.d.ts +1 -2
- package/lib/cjs/tabs/interface.d.ts +1 -1
- package/lib/es/form/baseForm.d.ts +1 -1
- package/lib/es/form/field.d.ts +1 -1
- package/lib/es/inputNumber/index.d.ts +1 -2
- package/lib/es/tabs/interface.d.ts +1 -1
- package/package.json +8 -8
|
@@ -51,7 +51,7 @@ declare class Form extends BaseComponent<BaseFormProps, BaseFormState> {
|
|
|
51
51
|
};
|
|
52
52
|
static Input: React.ComponentType<import("utility-types").Subtract<Omit<import("../input").InputProps, "forwardRef"> & React.RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
53
53
|
static TextArea: React.ComponentType<import("utility-types").Subtract<Omit<import("../input").TextAreaProps, "forwardRef"> & React.RefAttributes<HTMLTextAreaElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
54
|
-
static InputNumber: React.ComponentType<import("utility-types").Subtract<
|
|
54
|
+
static InputNumber: React.ComponentType<import("utility-types").Subtract<import("../inputNumber").InputNumberProps & React.RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
55
55
|
static Select: React.ComponentType<import("utility-types").Subtract<{
|
|
56
56
|
autoFocus?: boolean;
|
|
57
57
|
arrowIcon?: React.ReactNode;
|
package/lib/cjs/form/field.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const FormInput: import("react").ComponentType<import("utility-types").Subtract<Omit<import("../input/index").InputProps, "forwardRef"> & import("react").RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
3
|
-
declare const FormInputNumber: import("react").ComponentType<import("utility-types").Subtract<
|
|
3
|
+
declare const FormInputNumber: import("react").ComponentType<import("utility-types").Subtract<import("../inputNumber/index").InputNumberProps & import("react").RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
4
4
|
declare const FormTextArea: import("react").ComponentType<import("utility-types").Subtract<Omit<import("../input/textarea").TextAreaProps, "forwardRef"> & import("react").RefAttributes<HTMLTextAreaElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
5
5
|
declare const FormSelect: import("react").ComponentType<import("utility-types").Subtract<{
|
|
6
6
|
autoFocus?: boolean;
|
|
@@ -7,7 +7,6 @@ import { strings } from '@douyinfe/semi-foundation/lib/cjs/inputNumber/constants
|
|
|
7
7
|
import '@douyinfe/semi-foundation/lib/cjs/inputNumber/inputNumber.css';
|
|
8
8
|
import { ArrayElement } from '../_base/base';
|
|
9
9
|
export interface InputNumberProps extends InputProps {
|
|
10
|
-
[x: string]: any;
|
|
11
10
|
autofocus?: boolean;
|
|
12
11
|
className?: string;
|
|
13
12
|
defaultValue?: number | string;
|
|
@@ -104,6 +103,6 @@ declare class InputNumber extends BaseComponent<InputNumberProps, InputNumberSta
|
|
|
104
103
|
renderSuffix: () => React.ReactNode;
|
|
105
104
|
render(): JSX.Element;
|
|
106
105
|
}
|
|
107
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
106
|
+
declare const _default: React.ForwardRefExoticComponent<InputNumberProps & React.RefAttributes<HTMLInputElement>>;
|
|
108
107
|
export default _default;
|
|
109
108
|
export { InputNumber };
|
|
@@ -51,7 +51,7 @@ declare class Form extends BaseComponent<BaseFormProps, BaseFormState> {
|
|
|
51
51
|
};
|
|
52
52
|
static Input: React.ComponentType<import("utility-types").Subtract<Omit<import("../input").InputProps, "forwardRef"> & React.RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
53
53
|
static TextArea: React.ComponentType<import("utility-types").Subtract<Omit<import("../input").TextAreaProps, "forwardRef"> & React.RefAttributes<HTMLTextAreaElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
54
|
-
static InputNumber: React.ComponentType<import("utility-types").Subtract<
|
|
54
|
+
static InputNumber: React.ComponentType<import("utility-types").Subtract<import("../inputNumber").InputNumberProps & React.RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
55
55
|
static Select: React.ComponentType<import("utility-types").Subtract<{
|
|
56
56
|
autoFocus?: boolean;
|
|
57
57
|
arrowIcon?: React.ReactNode;
|
package/lib/es/form/field.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
declare const FormInput: import("react").ComponentType<import("utility-types").Subtract<Omit<import("../input/index").InputProps, "forwardRef"> & import("react").RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
3
|
-
declare const FormInputNumber: import("react").ComponentType<import("utility-types").Subtract<
|
|
3
|
+
declare const FormInputNumber: import("react").ComponentType<import("utility-types").Subtract<import("../inputNumber/index").InputNumberProps & import("react").RefAttributes<HTMLInputElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
4
4
|
declare const FormTextArea: import("react").ComponentType<import("utility-types").Subtract<Omit<import("../input/textarea").TextAreaProps, "forwardRef"> & import("react").RefAttributes<HTMLTextAreaElement>, import("./interface").CommonexcludeType> & import("./interface").CommonFieldProps>;
|
|
5
5
|
declare const FormSelect: import("react").ComponentType<import("utility-types").Subtract<{
|
|
6
6
|
autoFocus?: boolean;
|
|
@@ -7,7 +7,6 @@ import { strings } from '@douyinfe/semi-foundation/lib/es/inputNumber/constants'
|
|
|
7
7
|
import '@douyinfe/semi-foundation/lib/es/inputNumber/inputNumber.css';
|
|
8
8
|
import { ArrayElement } from '../_base/base';
|
|
9
9
|
export interface InputNumberProps extends InputProps {
|
|
10
|
-
[x: string]: any;
|
|
11
10
|
autofocus?: boolean;
|
|
12
11
|
className?: string;
|
|
13
12
|
defaultValue?: number | string;
|
|
@@ -104,6 +103,6 @@ declare class InputNumber extends BaseComponent<InputNumberProps, InputNumberSta
|
|
|
104
103
|
renderSuffix: () => React.ReactNode;
|
|
105
104
|
render(): JSX.Element;
|
|
106
105
|
}
|
|
107
|
-
declare const _default: React.ForwardRefExoticComponent<
|
|
106
|
+
declare const _default: React.ForwardRefExoticComponent<InputNumberProps & React.RefAttributes<HTMLInputElement>>;
|
|
108
107
|
export default _default;
|
|
109
108
|
export { InputNumber };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@douyinfe/semi-ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es/index.js",
|
|
@@ -19,11 +19,11 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/runtime-corejs3": "^7.15.4",
|
|
22
|
-
"@douyinfe/semi-animation-react": "2.1.
|
|
23
|
-
"@douyinfe/semi-foundation": "2.1.
|
|
24
|
-
"@douyinfe/semi-icons": "2.1.
|
|
25
|
-
"@douyinfe/semi-illustrations": "2.1.
|
|
26
|
-
"@douyinfe/semi-theme-default": "2.1.
|
|
22
|
+
"@douyinfe/semi-animation-react": "2.1.2",
|
|
23
|
+
"@douyinfe/semi-foundation": "2.1.2",
|
|
24
|
+
"@douyinfe/semi-icons": "2.1.2",
|
|
25
|
+
"@douyinfe/semi-illustrations": "2.1.2",
|
|
26
|
+
"@douyinfe/semi-theme-default": "2.1.2",
|
|
27
27
|
"@types/react-window": "^1.8.2",
|
|
28
28
|
"async-validator": "^3.5.0",
|
|
29
29
|
"classnames": "^2.2.6",
|
|
@@ -65,13 +65,13 @@
|
|
|
65
65
|
],
|
|
66
66
|
"author": "",
|
|
67
67
|
"license": "MIT",
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "49e7bdabe06525ab4990e5b12b5541e668aa6b11",
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@babel/plugin-proposal-decorators": "^7.15.8",
|
|
71
71
|
"@babel/plugin-transform-runtime": "^7.15.8",
|
|
72
72
|
"@babel/preset-env": "^7.15.8",
|
|
73
73
|
"@babel/preset-react": "^7.14.5",
|
|
74
|
-
"@douyinfe/semi-scss-compile": "2.1.
|
|
74
|
+
"@douyinfe/semi-scss-compile": "2.1.2",
|
|
75
75
|
"@storybook/addon-knobs": "^6.3.1",
|
|
76
76
|
"@types/lodash": "^4.14.176",
|
|
77
77
|
"babel-loader": "^8.2.2",
|