designertool 0.28.0 → 0.29.0

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.
Files changed (2) hide show
  1. package/README.md +8 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -25,12 +25,17 @@ npm install designertool
25
25
 
26
26
  Default config:
27
27
 
28
- ```json
28
+ ```js
29
29
  {
30
+ // TO BE ADDDED:
31
+ "initialHtml": "<html>... HTML GENERATED BY A DESIGNERTOOL INSTANCE ... </html>",
32
+
33
+ // Existing:
30
34
  "size": {
31
35
  "w": 9,
32
36
  "h": 6
33
37
  },
38
+ "template_scope": undefined,
34
39
  "flags": {
35
40
  "disable_default_templates": false
36
41
  },
@@ -121,8 +126,8 @@ Use the component in your application:
121
126
 
122
127
  ```js
123
128
  <script setup lang="ts">
124
- import { PostcardDesigner} from "designer-tool";
125
- import "designer-tool/dist/index.css";
129
+ import { register } from 'designertool'
130
+ register()
126
131
 
127
132
  </script>
128
133
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "designertool",
3
3
  "private": false,
4
- "version": "0.28.0",
4
+ "version": "0.29.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"