@chlp-tech/rpa-ui 0.0.23 → 0.0.24

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.
@@ -24,6 +24,7 @@ export interface ICoverModalV2Props {
24
24
  handleUpload: (file: File) => Promise<string>;
25
25
  onClose?: () => void;
26
26
  zIndex?: number;
27
+ description?: string;
27
28
  onSubmit?: (key: 'selectCover' | 'uploadCover' | string, data: string | number) => void;
28
29
  }
29
30
  declare const CoverModal: FC<CoverModalProps>;
@@ -470,7 +470,8 @@ export var CoverModalV2 = function CoverModalV2(props) {
470
470
  },
471
471
  handleSubmit: handleSubmit,
472
472
  handleUpload: props.handleUpload,
473
- defaultData: props.defaultData
473
+ defaultData: props.defaultData,
474
+ description: props.description
474
475
  })));
475
476
  };
476
477
  export default CoverModal;
package/package.json CHANGED
@@ -1,9 +1,23 @@
1
1
  {
2
2
  "name": "@chlp-tech/rpa-ui",
3
- "version": "0.0.23",
3
+ "version": "0.0.24",
4
4
  "description": "rpa-ui",
5
5
  "module": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
+ "scripts": {
8
+ "start": "npm run dev",
9
+ "dev": "dumi dev",
10
+ "build": "father build",
11
+ "build:watch": "father dev",
12
+ "docs:build": "dumi build",
13
+ "docs:preview": "dumi preview",
14
+ "prepare": "husky install && dumi setup",
15
+ "doctor": "father doctor",
16
+ "lint": "npm run lint:es && npm run lint:css",
17
+ "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
18
+ "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\"",
19
+ "prepublishOnly": "father doctor && npm run build"
20
+ },
7
21
  "authors": [],
8
22
  "license": "MIT",
9
23
  "files": [
@@ -36,15 +50,11 @@
36
50
  },
37
51
  "buildConfig": {
38
52
  "esm": {
39
- "output": {
40
- "mode": "esm"
41
- },
53
+ "output": { "mode": "esm" },
42
54
  "platform": "browser"
43
55
  },
44
56
  "cjs": {
45
- "output": {
46
- "mode": "cjs"
47
- }
57
+ "output": { "mode": "cjs" }
48
58
  },
49
59
  "external": [
50
60
  "react",
@@ -94,17 +104,5 @@
94
104
  "dayjs": "^1.11.13",
95
105
  "js-md5": "^0.8.3",
96
106
  "styled-components": "^6.1.12"
97
- },
98
- "scripts": {
99
- "start": "npm run dev",
100
- "dev": "dumi dev",
101
- "build": "father build",
102
- "build:watch": "father dev",
103
- "docs:build": "dumi build",
104
- "docs:preview": "dumi preview",
105
- "doctor": "father doctor",
106
- "lint": "npm run lint:es && npm run lint:css",
107
- "lint:css": "stylelint \"{src,test}/**/*.{css,less}\"",
108
- "lint:es": "eslint \"{src,test}/**/*.{js,jsx,ts,tsx}\""
109
107
  }
110
- }
108
+ }