@jiaozhiye/qm-design-react 1.7.19 → 1.7.21
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/anchor/index.d.ts +2 -2
- package/lib/anchor/src/anchor-item.d.ts +1 -1
- package/lib/anchor/src/anchor.d.ts +1 -1
- package/lib/button/index.d.ts +1 -1
- package/lib/button/src/button.d.ts +3 -3
- package/lib/collapse/index.d.ts +1 -1
- package/lib/collapse/src/collapse.d.ts +1 -1
- package/lib/config-provider/index.d.ts +1 -1
- package/lib/config-provider/src/config-provider.d.ts +1 -1
- package/lib/copy-to-clipboard/index.d.ts +1 -1
- package/lib/copy-to-clipboard/src/copy-to-clipboard.d.ts +1 -1
- package/lib/countup/index.d.ts +1 -1
- package/lib/countup/src/countup.d.ts +1 -1
- package/lib/cropper/index.d.ts +1 -1
- package/lib/cropper/src/cropper.d.ts +1 -1
- package/lib/divider/index.d.ts +1 -1
- package/lib/divider/src/divider.d.ts +1 -1
- package/lib/download/index.d.ts +1 -1
- package/lib/download/src/download.d.ts +1 -1
- package/lib/drawer/index.d.ts +1 -1
- package/lib/drawer/src/drawer.d.ts +3 -3
- package/lib/drawer/style/index.less +2 -2
- package/lib/empty/index.d.ts +1 -1
- package/lib/empty/src/empty.d.ts +3 -3
- package/lib/form/index.d.ts +2 -2
- package/lib/form/src/form.d.ts +3 -3
- package/lib/index.d.ts +29 -29
- package/lib/index.esm.js +1 -1
- package/lib/index.full.js +1 -1
- package/lib/index.js +1 -1
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/src/modal.d.ts +3 -3
- package/lib/modal/style/index.less +2 -2
- package/lib/print/index.d.ts +1 -1
- package/lib/print/src/print.d.ts +1 -1
- package/lib/range-table-helper/index.d.ts +1 -1
- package/lib/range-table-helper/src/range-table-helper.d.ts +1 -1
- package/lib/scrollbar/index.d.ts +1 -1
- package/lib/scrollbar/src/scrollbar.d.ts +1 -1
- package/lib/search-helper/index.d.ts +1 -1
- package/lib/search-helper/src/search-helper.d.ts +1 -1
- package/lib/search-tree/index.d.ts +1 -1
- package/lib/search-tree/src/search-tree.d.ts +1 -1
- package/lib/space/index.d.ts +1 -1
- package/lib/space/src/space.d.ts +3 -3
- package/lib/spin/index.d.ts +1 -1
- package/lib/spin/src/spin.d.ts +3 -3
- package/lib/split/index.d.ts +2 -2
- package/lib/split/src/split-pane.d.ts +1 -1
- package/lib/split/src/split.d.ts +3 -3
- package/lib/style/index.css +4 -4
- package/lib/style/index.min.css +1 -1
- package/lib/style/themes/default.less +1 -1
- package/lib/table/index.d.ts +2 -2
- package/lib/table/src/pager/index.d.ts +0 -2
- package/lib/table/src/table/index.d.ts +1 -1
- package/lib/table/src/table/types.d.ts +0 -4
- package/lib/tabs/index.d.ts +2 -2
- package/lib/tabs/src/tab-pane.d.ts +3 -3
- package/lib/tabs/src/tabs.d.ts +3 -3
- package/lib/tinymce/index.d.ts +1 -1
- package/lib/tinymce/src/index.d.ts +1 -1
- package/lib/transition/index.d.ts +1 -1
- package/lib/transition/src/transition.d.ts +1 -1
- package/lib/tree-helper/index.d.ts +1 -1
- package/lib/tree-helper/src/tree-helper.d.ts +1 -1
- package/lib/tree-table-helper/index.d.ts +1 -1
- package/lib/tree-table-helper/src/tree-table-helper.d.ts +1 -1
- package/lib/upload-file/index.d.ts +1 -1
- package/lib/upload-file/src/upload-file.d.ts +1 -1
- package/lib/upload-img/index.d.ts +1 -1
- package/lib/upload-img/src/upload-img.d.ts +1 -1
- package/package.json +1 -1
package/lib/modal/index.d.ts
CHANGED
package/lib/modal/src/modal.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import PropTypes from 'prop-types';
|
|
3
3
|
import type { ComponentSize } from '../../_utils/types';
|
|
4
|
-
import type { ModalProps } from '../../antd';
|
|
4
|
+
import type { ModalProps as AntModalProps } from '../../antd';
|
|
5
5
|
type EventType = React.MouseEvent<HTMLElement>;
|
|
6
|
-
type IProps =
|
|
6
|
+
type IProps = AntModalProps & {
|
|
7
7
|
visible?: boolean;
|
|
8
8
|
size?: ComponentSize;
|
|
9
9
|
height?: number | string;
|
|
@@ -31,7 +31,7 @@ type IState = {
|
|
|
31
31
|
y: number;
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
|
-
export type
|
|
34
|
+
export type ModalProps = IProps;
|
|
35
35
|
declare class QmModal extends Component<IProps, IState> {
|
|
36
36
|
static contextType: React.Context<import("../../config-provider/context").IConfig>;
|
|
37
37
|
static propTypes: {
|
package/lib/print/index.d.ts
CHANGED
package/lib/print/src/print.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ type IState = {
|
|
|
15
15
|
visible: boolean;
|
|
16
16
|
loading: boolean;
|
|
17
17
|
};
|
|
18
|
-
export type
|
|
18
|
+
export type PrintProps = IProps;
|
|
19
19
|
declare class QmPrint extends Component<IProps, IState> {
|
|
20
20
|
static propTypes: {
|
|
21
21
|
size: (props: any, propName: any, componentName: any) => void;
|
|
@@ -17,6 +17,6 @@ type IProps = {
|
|
|
17
17
|
table?: ITableConfig;
|
|
18
18
|
onClose: (data: IRecord[] | null) => void;
|
|
19
19
|
};
|
|
20
|
-
export type
|
|
20
|
+
export type RangeTableHelperProps = IProps;
|
|
21
21
|
declare const RangeTableHelper: React.FC<IProps>;
|
|
22
22
|
export default RangeTableHelper;
|
package/lib/scrollbar/index.d.ts
CHANGED
|
@@ -20,6 +20,6 @@ type ScrollbarRef = {
|
|
|
20
20
|
SET_SCROLL_TOP: (value: number) => void;
|
|
21
21
|
SET_SCROLL_LEFT: (value: number) => void;
|
|
22
22
|
};
|
|
23
|
-
export type
|
|
23
|
+
export type ScrollbarProps = IProps;
|
|
24
24
|
declare const QmScrollbar: React.ForwardRefExoticComponent<IProps & React.RefAttributes<ScrollbarRef>>;
|
|
25
25
|
export default QmScrollbar;
|
|
@@ -19,6 +19,6 @@ type IProps = {
|
|
|
19
19
|
table?: ITableConfig;
|
|
20
20
|
onClose: (data: IRecord | null, keys?: IRowKey[]) => void;
|
|
21
21
|
};
|
|
22
|
-
export type
|
|
22
|
+
export type SearchHelperProps = IProps;
|
|
23
23
|
declare const SearchHelper: React.FC<IProps>;
|
|
24
24
|
export default SearchHelper;
|
|
@@ -30,7 +30,7 @@ type SearchTreeRef = {
|
|
|
30
30
|
REMOVE_RECORD: (key: React.Key) => void;
|
|
31
31
|
UPDATE_RECORD: (key: React.Key, record: IRecord) => void;
|
|
32
32
|
};
|
|
33
|
-
export type
|
|
33
|
+
export type SearchTreeProps = IProps;
|
|
34
34
|
declare const SearchTree: React.ForwardRefExoticComponent<TreeProps<import("rc-tree/lib/interface").DataNode> & {
|
|
35
35
|
size?: ComponentSize | undefined;
|
|
36
36
|
filterable?: boolean | undefined;
|
package/lib/space/index.d.ts
CHANGED
package/lib/space/src/space.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
2
|
import type { ComponentSize } from '../../_utils/types';
|
|
3
|
-
import type { SpaceProps } from '../../antd';
|
|
4
|
-
type IProps = Omit<
|
|
3
|
+
import type { SpaceProps as AntSpaceProps } from '../../antd';
|
|
4
|
+
type IProps = Omit<AntSpaceProps, 'size'> & {
|
|
5
5
|
size?: ComponentSize | number;
|
|
6
6
|
};
|
|
7
|
-
export type
|
|
7
|
+
export type SpaceProps = IProps;
|
|
8
8
|
declare class QmSpace extends Component<IProps> {
|
|
9
9
|
static contextType: React.Context<import("../../config-provider/context").IConfig>;
|
|
10
10
|
render(): React.JSX.Element;
|
package/lib/spin/index.d.ts
CHANGED
package/lib/spin/src/spin.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React, { Component } from 'react';
|
|
2
|
-
import type { SpinProps } from '../../antd';
|
|
3
|
-
type IProps =
|
|
2
|
+
import type { SpinProps as AntSpinProps } from '../../antd';
|
|
3
|
+
type IProps = AntSpinProps & {
|
|
4
4
|
fullHeight?: boolean;
|
|
5
5
|
};
|
|
6
|
-
export type
|
|
6
|
+
export type SpinProps = IProps;
|
|
7
7
|
declare class QmSpin extends Component<IProps> {
|
|
8
8
|
static defaultProps: {
|
|
9
9
|
tip: string;
|
package/lib/split/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import Split from './src/split';
|
|
2
|
-
export type {
|
|
3
|
-
export type {
|
|
2
|
+
export type { SplitProps } from './src/split';
|
|
3
|
+
export type { SplitPaneProps } from './src/split-pane';
|
|
4
4
|
export default Split;
|
|
@@ -4,7 +4,7 @@ type IProps = {
|
|
|
4
4
|
className?: string;
|
|
5
5
|
style?: React.CSSProperties;
|
|
6
6
|
};
|
|
7
|
-
export type
|
|
7
|
+
export type SplitPaneProps = IProps;
|
|
8
8
|
declare const QmSplitPane: React.ForwardRefExoticComponent<IProps & {
|
|
9
9
|
offset?: string | undefined;
|
|
10
10
|
} & React.RefAttributes<any>>;
|
package/lib/split/src/split.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { SplitPaneProps } from './split-pane';
|
|
3
3
|
type IProps = {
|
|
4
4
|
direction?: 'horizontal' | 'vertical';
|
|
5
5
|
defaultValue?: number | string;
|
|
@@ -11,8 +11,8 @@ type IProps = {
|
|
|
11
11
|
onDragEnd?: (offset: number) => void;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
};
|
|
14
|
-
export type
|
|
14
|
+
export type SplitProps = IProps;
|
|
15
15
|
declare const QmSplit: React.FC<IProps> & {
|
|
16
|
-
Pane: React.FunctionComponent<
|
|
16
|
+
Pane: React.FunctionComponent<SplitPaneProps>;
|
|
17
17
|
};
|
|
18
18
|
export default QmSplit;
|
package/lib/style/index.css
CHANGED
|
@@ -27702,13 +27702,13 @@ table {
|
|
|
27702
27702
|
.qm-drawer--lg .ant-drawer-header {
|
|
27703
27703
|
height: 48px;
|
|
27704
27704
|
}
|
|
27705
|
-
.qm-drawer--lg .
|
|
27705
|
+
.qm-drawer--lg .spinning {
|
|
27706
27706
|
top: 48px;
|
|
27707
27707
|
}
|
|
27708
27708
|
.qm-drawer--sm .ant-drawer-header {
|
|
27709
27709
|
height: 40px;
|
|
27710
27710
|
}
|
|
27711
|
-
.qm-drawer--sm .
|
|
27711
|
+
.qm-drawer--sm .spinning {
|
|
27712
27712
|
top: 40px;
|
|
27713
27713
|
}
|
|
27714
27714
|
/*
|
|
@@ -27782,7 +27782,7 @@ table {
|
|
|
27782
27782
|
.qm-modal--lg .ant-modal-close {
|
|
27783
27783
|
top: 5px;
|
|
27784
27784
|
}
|
|
27785
|
-
.qm-modal--lg .
|
|
27785
|
+
.qm-modal--lg .spinning {
|
|
27786
27786
|
top: 48px;
|
|
27787
27787
|
}
|
|
27788
27788
|
.qm-modal--sm .ant-modal-header {
|
|
@@ -27791,7 +27791,7 @@ table {
|
|
|
27791
27791
|
.qm-modal--sm .ant-modal-close {
|
|
27792
27792
|
top: 1px;
|
|
27793
27793
|
}
|
|
27794
|
-
.qm-modal--sm .
|
|
27794
|
+
.qm-modal--sm .spinning {
|
|
27795
27795
|
top: 40px;
|
|
27796
27796
|
}
|
|
27797
27797
|
/*
|