@ccs-ui/rc-pro 1.1.7 → 1.1.9

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.
@@ -3,19 +3,19 @@ import React, { ReactNode } from 'react';
3
3
  import CCS from '..';
4
4
  export type CcsDialogModal = {
5
5
  destroy: () => void;
6
- update: (config: ModalFuncProps) => void;
6
+ update: (config: CcsDialogModalProps) => void;
7
7
  };
8
8
  export type CcsDialogDrawer = {
9
9
  destroy: () => void;
10
- update: (config: DrawerProps) => void;
10
+ update: (config: CcsDialogDrawerProps) => void;
11
11
  };
12
- type ModalFunc = (props: ModalFuncProps) => {
12
+ type ModalFunc = (props: CcsDialogModalProps) => {
13
13
  destroy: () => void;
14
- update: (configUpdate: ModalFuncProps) => void;
14
+ update: (configUpdate: CcsDialogModalProps) => void;
15
15
  };
16
- type DrawerFunc = (props: DrawerProps) => {
16
+ type DrawerFunc = (props: CcsDialogDrawerProps) => {
17
17
  destroy: () => void;
18
- update: (configUpdate: DrawerProps) => void;
18
+ update: (configUpdate: CcsDialogDrawerProps) => void;
19
19
  };
20
20
  export type CcsDialogModalProps = ModalFuncProps & {
21
21
  /** antd form */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "A react pro components",
5
5
  "license": "MIT",
6
6
  "module": "es/index.js",
@@ -49,7 +49,6 @@
49
49
  "dependencies": {
50
50
  "@ant-design/compatible": "^5.1.2",
51
51
  "@ant-design/icons": "^5.1.4",
52
- "@ccs-ui/rc-pro": "1.1.1-rc34",
53
52
  "ahooks": "^3.7.7",
54
53
  "antd": "^5.11.0",
55
54
  "antd-img-crop": "^4.12.2",