@pebble-software/bonsai 0.0.7 → 0.0.8
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/index.d.ts +3 -2
- package/dist/index.js +1161 -1646
- package/package.json +1 -4
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare interface BonsaiProps {
|
|
|
13
13
|
template: Config;
|
|
14
14
|
data?: any;
|
|
15
15
|
status?: "pending" | "captured" | "completed" | "error" | "revoked";
|
|
16
|
-
render?:
|
|
16
|
+
render?: RenderMode;
|
|
17
17
|
registry?: BonsaiRegistry;
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -37,7 +37,6 @@ declare enum COMPONENT {
|
|
|
37
37
|
OL = "ol",
|
|
38
38
|
UL = "ul",
|
|
39
39
|
LI = "li",
|
|
40
|
-
MAP = "map",
|
|
41
40
|
DIV = "div",
|
|
42
41
|
SPAN = "span",
|
|
43
42
|
ACCORDION = "accordion",
|
|
@@ -304,6 +303,8 @@ export declare interface RegistryValidationResult {
|
|
|
304
303
|
warnings: string[];
|
|
305
304
|
}
|
|
306
305
|
|
|
306
|
+
declare type RenderMode = "web" | "pdf" | "preview";
|
|
307
|
+
|
|
307
308
|
export declare function resolveManifest(manifest: RegistryManifest, options: ResolveManifestOptions): BonsaiRegistry;
|
|
308
309
|
|
|
309
310
|
export declare interface ResolveManifestOptions {
|