react-ag-psd-psdtool 1.0.1 → 1.1.1
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.
- package/dist/src/PsdTool.d.ts +10 -0
- package/dist/src/index.d.ts +2 -9
- package/package.json +45 -17
- package/dist/src/index.js +0 -13
- package/dist/src/submodule/index.d.ts +0 -4
- package/dist/src/submodule/index.js +0 -8
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import 'bootstrap';
|
|
2
|
+
import 'bootstrap/dist/css/bootstrap.min.css';
|
|
3
|
+
import 'bootstrap/dist/css/bootstrap.css';
|
|
4
|
+
interface PsdToolProps {
|
|
5
|
+
url?: string;
|
|
6
|
+
onLoad?: (schema: Record<string, unknown>) => void;
|
|
7
|
+
onChange?: (data: Record<string, unknown>) => void;
|
|
8
|
+
}
|
|
9
|
+
declare function PsdTool({ url, onLoad, onChange }: PsdToolProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default PsdTool;
|
package/dist/src/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-ag-psd-psdtool",
|
|
3
3
|
"type": "commonjs",
|
|
4
|
-
"version": "1.
|
|
5
|
-
"description": "
|
|
4
|
+
"version": "1.1.1",
|
|
5
|
+
"description": "PSDTool-like React component using ag-psd-psdtool",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "34j"
|
|
8
8
|
},
|
|
@@ -34,36 +34,64 @@
|
|
|
34
34
|
"preinstall": "npx only-allow pnpm",
|
|
35
35
|
"build": "tsc --project tsconfig.json",
|
|
36
36
|
"lint": "eslint --fix",
|
|
37
|
-
"typedoc": "typedoc",
|
|
37
|
+
"typedoc": "vite build && typedoc",
|
|
38
38
|
"typedoc:watch": "typedoc --watch",
|
|
39
39
|
"test:watch": "vitest --watch --coverage --coverage.include=src",
|
|
40
40
|
"test": "vitest --coverage --coverage.include=src",
|
|
41
41
|
"watch": "npm-run-all --race --parallel *:watch",
|
|
42
|
-
"update": "npm-check-updates -u"
|
|
42
|
+
"update": "npm-check-updates -u",
|
|
43
|
+
"dev": "vite"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@rjsf/core": "6.0.0-beta.22",
|
|
47
|
+
"@rjsf/react-bootstrap": "6.0.0-beta.10",
|
|
48
|
+
"@rjsf/utils": "6.0.0-beta.22",
|
|
49
|
+
"@rjsf/validator-ajv8": "6.0.0-beta.22",
|
|
50
|
+
"ag-psd": "^28.4.1",
|
|
51
|
+
"ag-psd-psdtool": "^1.1.4",
|
|
52
|
+
"bootstrap": "^5.3.8",
|
|
53
|
+
"react": "^19.2.0",
|
|
54
|
+
"react-bootstrap": "^2.10.10",
|
|
55
|
+
"react-code-blocks": "^0.1.6",
|
|
56
|
+
"react-dom": "^19.2.0",
|
|
57
|
+
"react-dropzone": "^14.3.8",
|
|
58
|
+
"react-icons": "^5.5.0"
|
|
43
59
|
},
|
|
44
60
|
"devDependencies": {
|
|
45
|
-
"@antfu/eslint-config": "
|
|
61
|
+
"@antfu/eslint-config": "6.1.0",
|
|
46
62
|
"@semantic-release/changelog": "6.0.3",
|
|
47
63
|
"@semantic-release/git": "10.0.1",
|
|
48
|
-
"@tsconfig/strictest": "2.0.
|
|
49
|
-
"@types/node": "
|
|
50
|
-
"@
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"
|
|
64
|
+
"@tsconfig/strictest": "2.0.6",
|
|
65
|
+
"@types/node": "24.9.1",
|
|
66
|
+
"@types/react": "19.2.2",
|
|
67
|
+
"@types/react-dom": "19.2.2",
|
|
68
|
+
"@typescript-eslint/eslint-plugin": "8.46.2",
|
|
69
|
+
"@vitejs/plugin-react": "5.1.0",
|
|
70
|
+
"@vitest/browser": "4.0.3",
|
|
71
|
+
"@vitest/browser-playwright": "4.0.3",
|
|
72
|
+
"@vitest/coverage-v8": "4.0.3",
|
|
73
|
+
"eslint": "9.38.0",
|
|
54
74
|
"npm-run-all2": "8.0.4",
|
|
55
|
-
"playwright": "1.
|
|
56
|
-
"semantic-release": "
|
|
57
|
-
"typedoc": "0.28.
|
|
58
|
-
"typescript": "5.9.
|
|
59
|
-
"
|
|
75
|
+
"playwright": "1.56.1",
|
|
76
|
+
"semantic-release": "25.0.1",
|
|
77
|
+
"typedoc": "0.28.14",
|
|
78
|
+
"typescript": "5.9.3",
|
|
79
|
+
"vite": "7.1.12",
|
|
80
|
+
"vitest": "4.0.3"
|
|
60
81
|
},
|
|
61
82
|
"typedocOptions": {
|
|
62
83
|
"entryPoints": [
|
|
63
84
|
"src"
|
|
64
85
|
],
|
|
65
86
|
"tsconfig": "tsconfig.json",
|
|
66
|
-
"headings": false
|
|
87
|
+
"headings": false,
|
|
88
|
+
"basePath": "./docs",
|
|
89
|
+
"outputs": [
|
|
90
|
+
{
|
|
91
|
+
"name": "html",
|
|
92
|
+
"path": "./docs/docs"
|
|
93
|
+
}
|
|
94
|
+
]
|
|
67
95
|
},
|
|
68
96
|
"release": {
|
|
69
97
|
"plugins": [
|
package/dist/src/index.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
@module
|
|
4
|
-
*/
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.mySubmodule = exports.myPackage = void 0;
|
|
7
|
-
const submodule_1 = require("./submodule");
|
|
8
|
-
Object.defineProperty(exports, "mySubmodule", { enumerable: true, get: function () { return submodule_1.mySubmodule; } });
|
|
9
|
-
/**
|
|
10
|
-
* Lorem ipsum.
|
|
11
|
-
*/
|
|
12
|
-
const myPackage = (taco = '') => `${taco} from my package`;
|
|
13
|
-
exports.myPackage = myPackage;
|