@acellera/pm-rjsf 0.0.2 → 0.0.4
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/pm-rjsf.js +472 -212
- package/dist/pm-rjsf.preview.js +28127 -0
- package/index.d.ts +2 -0
- package/package.json +8 -4
package/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export function stripSpecialDirs<T>(schema: T): T;
|
|
|
26
26
|
export const SPECIAL_DIRS: string[];
|
|
27
27
|
|
|
28
28
|
export const templates: Record<string, ComponentType<any>>;
|
|
29
|
+
export const FieldTemplate: ComponentType<any>;
|
|
30
|
+
export const FileWidget: ComponentType<any>;
|
|
29
31
|
export const GroupedObjectFieldTemplate: ComponentType<any>;
|
|
30
32
|
export const WrapIfAdditionalTemplate: ComponentType<any>;
|
|
31
33
|
export const DescriptionFieldTemplate: ComponentType<any>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acellera/pm-rjsf",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"description": "Shared RJSF renderer for PlayMolecule v2 (JSON Schema) manifests — used by pmview and the pmmanifest preview.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,11 +19,15 @@
|
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./index.d.ts",
|
|
21
21
|
"import": "./dist/pm-rjsf.js"
|
|
22
|
-
}
|
|
22
|
+
},
|
|
23
|
+
"./preview": "./dist/pm-rjsf.preview.js"
|
|
23
24
|
},
|
|
24
25
|
"scripts": {
|
|
25
|
-
"build": "vite build",
|
|
26
|
-
"dev": "vite build --watch"
|
|
26
|
+
"build": "vite build && vite build -c vite.config.preview.js",
|
|
27
|
+
"dev": "vite build --watch",
|
|
28
|
+
"build:preview": "vite build -c vite.config.preview.js",
|
|
29
|
+
"dev:preview": "vite build -c vite.config.preview.js --watch",
|
|
30
|
+
"prepublishOnly": "npm run build"
|
|
27
31
|
},
|
|
28
32
|
"dependencies": {
|
|
29
33
|
"@rjsf/core": "^5",
|