@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.
Files changed (73) hide show
  1. package/lib/anchor/index.d.ts +2 -2
  2. package/lib/anchor/src/anchor-item.d.ts +1 -1
  3. package/lib/anchor/src/anchor.d.ts +1 -1
  4. package/lib/button/index.d.ts +1 -1
  5. package/lib/button/src/button.d.ts +3 -3
  6. package/lib/collapse/index.d.ts +1 -1
  7. package/lib/collapse/src/collapse.d.ts +1 -1
  8. package/lib/config-provider/index.d.ts +1 -1
  9. package/lib/config-provider/src/config-provider.d.ts +1 -1
  10. package/lib/copy-to-clipboard/index.d.ts +1 -1
  11. package/lib/copy-to-clipboard/src/copy-to-clipboard.d.ts +1 -1
  12. package/lib/countup/index.d.ts +1 -1
  13. package/lib/countup/src/countup.d.ts +1 -1
  14. package/lib/cropper/index.d.ts +1 -1
  15. package/lib/cropper/src/cropper.d.ts +1 -1
  16. package/lib/divider/index.d.ts +1 -1
  17. package/lib/divider/src/divider.d.ts +1 -1
  18. package/lib/download/index.d.ts +1 -1
  19. package/lib/download/src/download.d.ts +1 -1
  20. package/lib/drawer/index.d.ts +1 -1
  21. package/lib/drawer/src/drawer.d.ts +3 -3
  22. package/lib/drawer/style/index.less +2 -2
  23. package/lib/empty/index.d.ts +1 -1
  24. package/lib/empty/src/empty.d.ts +3 -3
  25. package/lib/form/index.d.ts +2 -2
  26. package/lib/form/src/form.d.ts +3 -3
  27. package/lib/index.d.ts +29 -29
  28. package/lib/index.esm.js +1 -1
  29. package/lib/index.full.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/modal/index.d.ts +1 -1
  32. package/lib/modal/src/modal.d.ts +3 -3
  33. package/lib/modal/style/index.less +2 -2
  34. package/lib/print/index.d.ts +1 -1
  35. package/lib/print/src/print.d.ts +1 -1
  36. package/lib/range-table-helper/index.d.ts +1 -1
  37. package/lib/range-table-helper/src/range-table-helper.d.ts +1 -1
  38. package/lib/scrollbar/index.d.ts +1 -1
  39. package/lib/scrollbar/src/scrollbar.d.ts +1 -1
  40. package/lib/search-helper/index.d.ts +1 -1
  41. package/lib/search-helper/src/search-helper.d.ts +1 -1
  42. package/lib/search-tree/index.d.ts +1 -1
  43. package/lib/search-tree/src/search-tree.d.ts +1 -1
  44. package/lib/space/index.d.ts +1 -1
  45. package/lib/space/src/space.d.ts +3 -3
  46. package/lib/spin/index.d.ts +1 -1
  47. package/lib/spin/src/spin.d.ts +3 -3
  48. package/lib/split/index.d.ts +2 -2
  49. package/lib/split/src/split-pane.d.ts +1 -1
  50. package/lib/split/src/split.d.ts +3 -3
  51. package/lib/style/index.css +4 -4
  52. package/lib/style/index.min.css +1 -1
  53. package/lib/style/themes/default.less +1 -1
  54. package/lib/table/index.d.ts +2 -2
  55. package/lib/table/src/pager/index.d.ts +0 -2
  56. package/lib/table/src/table/index.d.ts +1 -1
  57. package/lib/table/src/table/types.d.ts +0 -4
  58. package/lib/tabs/index.d.ts +2 -2
  59. package/lib/tabs/src/tab-pane.d.ts +3 -3
  60. package/lib/tabs/src/tabs.d.ts +3 -3
  61. package/lib/tinymce/index.d.ts +1 -1
  62. package/lib/tinymce/src/index.d.ts +1 -1
  63. package/lib/transition/index.d.ts +1 -1
  64. package/lib/transition/src/transition.d.ts +1 -1
  65. package/lib/tree-helper/index.d.ts +1 -1
  66. package/lib/tree-helper/src/tree-helper.d.ts +1 -1
  67. package/lib/tree-table-helper/index.d.ts +1 -1
  68. package/lib/tree-table-helper/src/tree-table-helper.d.ts +1 -1
  69. package/lib/upload-file/index.d.ts +1 -1
  70. package/lib/upload-file/src/upload-file.d.ts +1 -1
  71. package/lib/upload-img/index.d.ts +1 -1
  72. package/lib/upload-img/src/upload-img.d.ts +1 -1
  73. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
1
  import Modal from './src/modal';
2
- export type { QmModalProps } from './src/modal';
2
+ export type { ModalProps } from './src/modal';
3
3
  export default Modal;
@@ -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 = ModalProps & {
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 QmModalProps = IProps;
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: {
@@ -77,7 +77,7 @@
77
77
  .ant-modal-close {
78
78
  top: 5px;
79
79
  }
80
- .@{qm-prefix}-modal-spin {
80
+ .spinning {
81
81
  top: 48px;
82
82
  }
83
83
  }
@@ -88,7 +88,7 @@
88
88
  .ant-modal-close {
89
89
  top: 1px;
90
90
  }
91
- .@{qm-prefix}-modal-spin {
91
+ .spinning {
92
92
  top: 40px;
93
93
  }
94
94
  }
@@ -1,3 +1,3 @@
1
1
  import Print from './src/print';
2
- export type { QmPrintProps } from './src/print';
2
+ export type { PrintProps } from './src/print';
3
3
  export default Print;
@@ -15,7 +15,7 @@ type IState = {
15
15
  visible: boolean;
16
16
  loading: boolean;
17
17
  };
18
- export type QmPrintProps = IProps;
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;
@@ -1,3 +1,3 @@
1
1
  import RangeTableHelper from './src/range-table-helper';
2
- export type { QmRangeTableHelperProps } from './src/range-table-helper';
2
+ export type { RangeTableHelperProps } from './src/range-table-helper';
3
3
  export default RangeTableHelper;
@@ -17,6 +17,6 @@ type IProps = {
17
17
  table?: ITableConfig;
18
18
  onClose: (data: IRecord[] | null) => void;
19
19
  };
20
- export type QmRangeTableHelperProps = IProps;
20
+ export type RangeTableHelperProps = IProps;
21
21
  declare const RangeTableHelper: React.FC<IProps>;
22
22
  export default RangeTableHelper;
@@ -1,3 +1,3 @@
1
1
  import Scrollbar from './src/scrollbar';
2
- export type { QmScrollbarProps } from './src/scrollbar';
2
+ export type { ScrollbarProps } from './src/scrollbar';
3
3
  export default Scrollbar;
@@ -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 QmScrollbarProps = IProps;
23
+ export type ScrollbarProps = IProps;
24
24
  declare const QmScrollbar: React.ForwardRefExoticComponent<IProps & React.RefAttributes<ScrollbarRef>>;
25
25
  export default QmScrollbar;
@@ -1,3 +1,3 @@
1
1
  import SearchHelper from './src/search-helper';
2
- export type { QmSearchHelperProps } from './src/search-helper';
2
+ export type { SearchHelperProps } from './src/search-helper';
3
3
  export default SearchHelper;
@@ -19,6 +19,6 @@ type IProps = {
19
19
  table?: ITableConfig;
20
20
  onClose: (data: IRecord | null, keys?: IRowKey[]) => void;
21
21
  };
22
- export type QmSearchHelperProps = IProps;
22
+ export type SearchHelperProps = IProps;
23
23
  declare const SearchHelper: React.FC<IProps>;
24
24
  export default SearchHelper;
@@ -1,3 +1,3 @@
1
1
  import SearchTree from './src/search-tree';
2
- export type { QmSearchTreeProps } from './src/search-tree';
2
+ export type { SearchTreeProps } from './src/search-tree';
3
3
  export default SearchTree;
@@ -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 QmSearchTreeProps = IProps;
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;
@@ -1,3 +1,3 @@
1
1
  import Space from './src/space';
2
- export type { QmSpaceProps } from './src/space';
2
+ export type { SpaceProps } from './src/space';
3
3
  export default Space;
@@ -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<SpaceProps, 'size'> & {
3
+ import type { SpaceProps as AntSpaceProps } from '../../antd';
4
+ type IProps = Omit<AntSpaceProps, 'size'> & {
5
5
  size?: ComponentSize | number;
6
6
  };
7
- export type QmSpaceProps = IProps;
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;
@@ -1,3 +1,3 @@
1
1
  import Spin from './src/spin';
2
- export type { QmSpinProps } from './src/spin';
2
+ export type { SpinProps } from './src/spin';
3
3
  export default Spin;
@@ -1,9 +1,9 @@
1
1
  import React, { Component } from 'react';
2
- import type { SpinProps } from '../../antd';
3
- type IProps = SpinProps & {
2
+ import type { SpinProps as AntSpinProps } from '../../antd';
3
+ type IProps = AntSpinProps & {
4
4
  fullHeight?: boolean;
5
5
  };
6
- export type QmSpinProps = IProps;
6
+ export type SpinProps = IProps;
7
7
  declare class QmSpin extends Component<IProps> {
8
8
  static defaultProps: {
9
9
  tip: string;
@@ -1,4 +1,4 @@
1
1
  import Split from './src/split';
2
- export type { QmSplitProps } from './src/split';
3
- export type { QmSplitPaneProps } from './src/split-pane';
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 QmSplitPaneProps = IProps;
7
+ export type SplitPaneProps = IProps;
8
8
  declare const QmSplitPane: React.ForwardRefExoticComponent<IProps & {
9
9
  offset?: string | undefined;
10
10
  } & React.RefAttributes<any>>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { QmSplitPaneProps } from './split-pane';
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 QmSplitProps = IProps;
14
+ export type SplitProps = IProps;
15
15
  declare const QmSplit: React.FC<IProps> & {
16
- Pane: React.FunctionComponent<QmSplitPaneProps>;
16
+ Pane: React.FunctionComponent<SplitPaneProps>;
17
17
  };
18
18
  export default QmSplit;
@@ -27702,13 +27702,13 @@ table {
27702
27702
  .qm-drawer--lg .ant-drawer-header {
27703
27703
  height: 48px;
27704
27704
  }
27705
- .qm-drawer--lg .qm-drawer-spin {
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 .qm-drawer-spin {
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 .qm-modal-spin {
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 .qm-modal-spin {
27794
+ .qm-modal--sm .spinning {
27795
27795
  top: 40px;
27796
27796
  }
27797
27797
  /*