@jiaozhiye/qm-design-react 1.7.19 → 1.7.20

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 (71) 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/table/index.d.ts +2 -2
  54. package/lib/table/src/pager/index.d.ts +0 -2
  55. package/lib/table/src/table/index.d.ts +1 -1
  56. package/lib/tabs/index.d.ts +2 -2
  57. package/lib/tabs/src/tab-pane.d.ts +3 -3
  58. package/lib/tabs/src/tabs.d.ts +3 -3
  59. package/lib/tinymce/index.d.ts +1 -1
  60. package/lib/tinymce/src/index.d.ts +1 -1
  61. package/lib/transition/index.d.ts +1 -1
  62. package/lib/transition/src/transition.d.ts +1 -1
  63. package/lib/tree-helper/index.d.ts +1 -1
  64. package/lib/tree-helper/src/tree-helper.d.ts +1 -1
  65. package/lib/tree-table-helper/index.d.ts +1 -1
  66. package/lib/tree-table-helper/src/tree-table-helper.d.ts +1 -1
  67. package/lib/upload-file/index.d.ts +1 -1
  68. package/lib/upload-file/src/upload-file.d.ts +1 -1
  69. package/lib/upload-img/index.d.ts +1 -1
  70. package/lib/upload-img/src/upload-img.d.ts +1 -1
  71. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
1
  import Table from './src/table';
2
- export type { QmTableProps } from './src/table';
3
- export type { TableRef as QmTableRef, IColumn as QmTableColumn } from './src/table/types';
2
+ export type { TableProps } from './src/table';
3
+ export type { TableRef, IColumn as TableColumn } from './src/table/types';
4
4
  export default Table;
@@ -1,10 +1,8 @@
1
1
  import React from 'react';
2
- import type { IPaginationConfig } from '../table/types';
3
2
  type IPagerProps = {
4
3
  current: number;
5
4
  pageSize: number;
6
5
  total: number;
7
- config?: Pick<IPaginationConfig, 'pageSizeOptions' | 'showSizeChanger' | 'showQuickJumper'>;
8
6
  onChange: (current: number, pageSize: number) => void;
9
7
  };
10
8
  declare const TablePager: React.FC<IPagerProps>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import type { ITableProps, TableRef } from './types';
3
- export type QmTableProps = ITableProps;
3
+ export type TableProps = ITableProps;
4
4
  declare const Table: React.ForwardRefExoticComponent<ITableProps & React.RefAttributes<TableRef>>;
5
5
  export default Table;
@@ -1,4 +1,4 @@
1
1
  import Tabs from './src/tabs';
2
- export type { QmTabsProps } from './src/tabs';
3
- export type { QmTabPaneProps } from './src/tab-pane';
2
+ export type { TabsProps } from './src/tabs';
3
+ export type { TabPaneProps } from './src/tab-pane';
4
4
  export default Tabs;
@@ -1,7 +1,7 @@
1
1
  import React, { Component } from 'react';
2
- import type { TabPaneProps } from '../../antd';
3
- type IProps = TabPaneProps;
4
- export type QmTabPaneProps = IProps;
2
+ import type { TabPaneProps as AntTabPaneProps } from '../../antd';
3
+ type IProps = AntTabPaneProps;
4
+ export type TabPaneProps = IProps;
5
5
  declare class QmTabPane extends Component<IProps> {
6
6
  static displayName: string;
7
7
  render(): React.JSX.Element;
@@ -1,13 +1,13 @@
1
1
  import React, { Component } from 'react';
2
2
  import type { IAuth } from '../../_utils/types';
3
- import type { TabsProps } from '../../antd';
4
- type IProps = TabsProps & {
3
+ import type { TabsProps as AntTabsProps } from '../../antd';
4
+ type IProps = AntTabsProps & {
5
5
  children?: React.ReactNode;
6
6
  authConfig?: {
7
7
  fieldList?: IAuth[];
8
8
  };
9
9
  };
10
- export type QmTabsProps = IProps;
10
+ export type TabsProps = IProps;
11
11
  declare class QmTabs extends Component<IProps> {
12
12
  static TabPane: React.ClassicComponentClass<import("rc-tabs/lib/TabPanelList/TabPane").TabPaneProps>;
13
13
  static contextType: React.Context<import("../../config-provider/context").IConfig>;
@@ -1,3 +1,3 @@
1
1
  import Tinymce from './src/index';
2
- export type { QmTinymceProps } from './src';
2
+ export type { TinymceProps } from './src';
3
3
  export default Tinymce;
@@ -18,7 +18,7 @@ type IProps = {
18
18
  style?: CSSProperties;
19
19
  onChange?: (value: string) => void;
20
20
  };
21
- export type QmTinymceProps = IProps;
21
+ export type TinymceProps = IProps;
22
22
  declare class QmTinymce extends Component<IProps> {
23
23
  static contextType: React.Context<import("../../config-provider/context").IConfig>;
24
24
  static propTypes: {
@@ -1,3 +1,3 @@
1
1
  import Transition from './src/transition';
2
- export type { QmTransitionProps } from './src/transition';
2
+ export type { TransitionProps } from './src/transition';
3
3
  export default Transition;
@@ -7,6 +7,6 @@ type IProps = {
7
7
  preExit?: boolean;
8
8
  children: React.ReactNode;
9
9
  };
10
- export type QmTransitionProps = IProps;
10
+ export type TransitionProps = IProps;
11
11
  declare const QmTransition: React.FC<IProps>;
12
12
  export default QmTransition;
@@ -1,3 +1,3 @@
1
1
  import TreeHelper from './src/tree-helper';
2
- export type { QmTreeHelperProps } from './src/tree-helper';
2
+ export type { TreeHelperProps } from './src/tree-helper';
3
3
  export default TreeHelper;
@@ -17,6 +17,6 @@ type IProps = {
17
17
  };
18
18
  onClose: (data: IRecord | null) => void;
19
19
  };
20
- export type QmTreeHelperProps = IProps;
20
+ export type TreeHelperProps = IProps;
21
21
  declare const TreeHelper: React.FC<IProps>;
22
22
  export default TreeHelper;
@@ -1,3 +1,3 @@
1
1
  import TreeTableHelper from './src/tree-table-helper';
2
- export type { QmTreeTableHelperProps } from './src/tree-table-helper';
2
+ export type { TreeTableHelperProps } from './src/tree-table-helper';
3
3
  export default TreeTableHelper;
@@ -26,6 +26,6 @@ type IProps = {
26
26
  };
27
27
  onClose: (data: IRecord | null, keys?: IRowKey[]) => void;
28
28
  };
29
- export type QmTreeTableHelperProps = IProps;
29
+ export type TreeTableHelperProps = IProps;
30
30
  declare const TreeTableHelper: React.FC<IProps>;
31
31
  export default TreeTableHelper;
@@ -1,3 +1,3 @@
1
1
  import UploadFile from './src/upload-file';
2
- export type { QmUploadFileProps } from './src/upload-file';
2
+ export type { UploadFileProps } from './src/upload-file';
3
3
  export default UploadFile;
@@ -7,7 +7,7 @@ type IProps = UploadProps & {
7
7
  text?: string;
8
8
  } & ButtonProps;
9
9
  };
10
- export type QmUploadFileProps = IProps;
10
+ export type UploadFileProps = IProps;
11
11
  declare class QmUploadFile extends Component<IProps> {
12
12
  static defaultProps: {
13
13
  name: string;
@@ -1,3 +1,3 @@
1
1
  import UploadImg from './src/upload-img';
2
- export type { QmUploadImgProps } from './src/upload-img';
2
+ export type { UploadImgProps } from './src/upload-img';
3
3
  export default UploadImg;
@@ -13,7 +13,7 @@ type IState = {
13
13
  previewImage: string;
14
14
  previewTitle: string;
15
15
  };
16
- export type QmUploadImgProps = IProps;
16
+ export type UploadImgProps = IProps;
17
17
  declare class QmUploadImg extends Component<IProps, IState> {
18
18
  static defaultProps: {
19
19
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jiaozhiye/qm-design-react",
3
- "version": "1.7.19",
3
+ "version": "1.7.20",
4
4
  "description": "A Component Library for React",
5
5
  "keywords": [
6
6
  "React",