@chlp-tech/rpa-ui 0.0.24 → 0.0.25

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.
@@ -15,6 +15,7 @@ interface CoverModalProps {
15
15
  videoUrl: string;
16
16
  handleUpload: (file: File) => Promise<string>;
17
17
  children: React.ReactNode;
18
+ description?: string;
18
19
  }
19
20
  export interface ICoverModalV2Props {
20
21
  open?: boolean;
@@ -403,7 +403,8 @@ var CoverModal = function CoverModal(props) {
403
403
  handleClose: handleClose,
404
404
  handleSubmit: handleSubmit,
405
405
  handleUpload: props.handleUpload,
406
- defaultData: props.defaultData
406
+ defaultData: props.defaultData,
407
+ description: props.description
407
408
  })), /*#__PURE__*/React.createElement("div", {
408
409
  onClick: handleOpen
409
410
  }, props.children));
package/package.json CHANGED
@@ -1,23 +1,9 @@
1
1
  {
2
2
  "name": "@chlp-tech/rpa-ui",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
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
- },
21
7
  "authors": [],
22
8
  "license": "MIT",
23
9
  "files": [
@@ -50,11 +36,15 @@
50
36
  },
51
37
  "buildConfig": {
52
38
  "esm": {
53
- "output": { "mode": "esm" },
39
+ "output": {
40
+ "mode": "esm"
41
+ },
54
42
  "platform": "browser"
55
43
  },
56
44
  "cjs": {
57
- "output": { "mode": "cjs" }
45
+ "output": {
46
+ "mode": "cjs"
47
+ }
58
48
  },
59
49
  "external": [
60
50
  "react",
@@ -104,5 +94,17 @@
104
94
  "dayjs": "^1.11.13",
105
95
  "js-md5": "^0.8.3",
106
96
  "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}\""
107
109
  }
108
- }
110
+ }