ztxkui 3.3.4 → 3.3.5
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.
|
Binary file
|
|
@@ -54,7 +54,7 @@ import { Button, Spin, message } from '../../index';
|
|
|
54
54
|
import { printCurrentDom, htmlToPdfNoCanvas, htmlToPdf, } from 'ztxkutils/dist/print';
|
|
55
55
|
import { createDownloadUrlNoBase } from 'ztxkutils/dist/fileOperation';
|
|
56
56
|
import { dataURLtoFile, image2Base64 } from './handle';
|
|
57
|
-
import bgWater from '
|
|
57
|
+
import bgWater from '../../assets/img/water.png';
|
|
58
58
|
var fontTTF = {
|
|
59
59
|
data: '',
|
|
60
60
|
};
|
package/dist/index.css
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ztxkui",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React components library",
|
|
6
6
|
"author": "zt-front-end",
|
|
@@ -31,11 +31,12 @@
|
|
|
31
31
|
"clean": "rimraf ./dist",
|
|
32
32
|
"start": "react-scripts start",
|
|
33
33
|
"build": "react-scripts build",
|
|
34
|
-
"build-lib": "npm run clean & npm run build-ts & npm run build-css",
|
|
34
|
+
"build-lib": "npm run clean & npm run build-ts & npm run build-css & npm run copy-files",
|
|
35
35
|
"test": "react-scripts test",
|
|
36
36
|
"eject": "react-scripts eject",
|
|
37
37
|
"build-ts": "tsc -p tsconfig.build.json",
|
|
38
38
|
"build-css": "sass ./src/styles/index.scss ./dist/index.css",
|
|
39
|
+
"copy-files": "copyfiles -u 1 src/assets/**/* dist/",
|
|
39
40
|
"storybook": "start-storybook -p 6006 -s public",
|
|
40
41
|
"build-storybook": "build-storybook -s public",
|
|
41
42
|
"prepublish": "npm run build-lib"
|
|
@@ -69,6 +70,7 @@
|
|
|
69
70
|
"@types/react": "^17.0.0",
|
|
70
71
|
"@types/react-dom": "^17.0.0",
|
|
71
72
|
"@types/react-router-dom": "^5.1.8",
|
|
73
|
+
"copyfiles": "^2.4.1",
|
|
72
74
|
"cross-env": "^7.0.3",
|
|
73
75
|
"eslint-config-prettier": "^8.0.0",
|
|
74
76
|
"eslint-plugin-prettier": "^3.3.1",
|