@jiaozhiye/qm-design-react 1.10.1 → 1.10.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/lib/form/src/form.d.ts +5 -5
- package/lib/form/src/types.d.ts +5 -3
- package/lib/form/src/utils.d.ts +2 -2
- package/lib/hooks/useWindowSize.d.ts +6 -0
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/signature/src/signature.d.ts +1 -0
- package/lib/style/index.css +17 -0
- package/lib/style/index.min.css +1 -1
- package/lib/table/src/table/props.d.ts +3 -2
- package/lib/table/src/table/types.d.ts +3 -2
- package/lib/table/style/table.less +373 -360
- package/lib/upload-file/src/upload-file.d.ts +2 -0
- package/lib/upload-img/src/upload-img.d.ts +1 -8
- package/package.json +3 -3
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import ConfigContext from '../../config-provider/context';
|
|
3
|
+
import type { AjaxResponse } from '../../_utils/types';
|
|
3
4
|
import type { HttpRequestHeader } from '../../download/src/download';
|
|
4
5
|
import type { UploadProps, ButtonProps } from '../../antd';
|
|
5
6
|
export interface UploadFile {
|
|
@@ -8,6 +9,7 @@ export interface UploadFile {
|
|
|
8
9
|
fileName?: string;
|
|
9
10
|
url?: string;
|
|
10
11
|
thumbUrl?: string;
|
|
12
|
+
response?: AjaxResponse;
|
|
11
13
|
status?: 'error' | 'success' | 'done' | 'uploading' | 'removed';
|
|
12
14
|
}
|
|
13
15
|
type IProps = Omit<UploadProps, 'onPreview'> & {
|
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import ConfigContext from '../../config-provider/context';
|
|
3
|
+
import type { UploadFile } from '../../upload-file/src/upload-file';
|
|
3
4
|
import type { UploadProps } from '../../antd';
|
|
4
|
-
export interface UploadFile {
|
|
5
|
-
uid: string;
|
|
6
|
-
name: string;
|
|
7
|
-
fileName?: string;
|
|
8
|
-
url?: string;
|
|
9
|
-
thumbUrl?: string;
|
|
10
|
-
status?: 'error' | 'success' | 'done' | 'uploading' | 'removed';
|
|
11
|
-
}
|
|
12
5
|
type IProps = UploadProps & {
|
|
13
6
|
fixedSize?: [number, number] | undefined;
|
|
14
7
|
quality?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jiaozhiye/qm-design-react",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "A Component Library for React",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"React",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"core-js": "^3.32.0",
|
|
102
102
|
"cp-cli": "^2.0.0",
|
|
103
103
|
"cross-env": "^7.0.3",
|
|
104
|
-
"css-loader": "^6.
|
|
104
|
+
"css-loader": "^6.11.0",
|
|
105
105
|
"eslint": "^8.40.0",
|
|
106
106
|
"eslint-plugin-prettier": "^4.2.0",
|
|
107
107
|
"eslint-plugin-react": "^7.32.0",
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
"style-loader": "^3.3.4",
|
|
129
129
|
"ts-loader": "^9.4.4",
|
|
130
130
|
"typescript": "^4.9.5",
|
|
131
|
-
"webpack": "^5.
|
|
131
|
+
"webpack": "^5.94.0",
|
|
132
132
|
"webpack-cli": "^5.1.4",
|
|
133
133
|
"webpack-dev-server": "^4.15.2",
|
|
134
134
|
"webpack-node-externals": "^3.0.0"
|