@htmlbricks/hb-stylus-notebook 0.71.36 → 0.71.37

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/manifest.json CHANGED
@@ -6,23 +6,6 @@
6
6
  "definitions": {
7
7
  "Events": {
8
8
  "additionalProperties": false,
9
- "properties": {
10
- "event": {
11
- "additionalProperties": false,
12
- "properties": {
13
- "test": {
14
- "type": "boolean"
15
- }
16
- },
17
- "required": [
18
- "test"
19
- ],
20
- "type": "object"
21
- }
22
- },
23
- "required": [
24
- "event"
25
- ],
26
9
  "type": "object"
27
10
  }
28
11
  }
@@ -34,42 +17,12 @@
34
17
  "Component": {
35
18
  "additionalProperties": false,
36
19
  "properties": {
37
- "debug": {
38
- "enum": [
39
- "yes",
40
- "no"
41
- ],
42
- "type": "string"
43
- },
44
20
  "id": {
45
21
  "type": "string"
46
22
  },
47
23
  "load_draw": {
48
24
  "$ref": "#/definitions/TSave"
49
25
  },
50
- "save": {
51
- "additionalProperties": false,
52
- "properties": {
53
- "name": {
54
- "type": "string"
55
- },
56
- "type": {
57
- "enum": [
58
- "pdf",
59
- "json",
60
- "png",
61
- "svg",
62
- "jpg"
63
- ],
64
- "type": "string"
65
- }
66
- },
67
- "required": [
68
- "name",
69
- "type"
70
- ],
71
- "type": "object"
72
- },
73
26
  "style": {
74
27
  "type": "string"
75
28
  }
@@ -205,29 +158,12 @@
205
158
  }
206
159
  }
207
160
  },
208
- "description": "Notebook layout around `hb-stylus-paper`: toolbar (`part=\"controller\"`) for modes, undo/redo, save, and file pickers; optional `load_draw` JSON restore; `save` / `debug` props per typings. Emits `event` for integrations.",
161
+ "description": "Notebook layout around `hb-stylus-paper`: toolbar (`part=\"controller\"`) for modes, undo/redo, save, and file pickers; optional `load_draw` JSON restore.",
209
162
  "storybookArgs": {
210
163
  "load_draw": {
211
164
  "control": {
212
165
  "type": "object"
213
166
  }
214
- },
215
- "save": {
216
- "control": {
217
- "type": "object"
218
- }
219
- },
220
- "debug": {
221
- "options": [
222
- "yes",
223
- "no"
224
- ],
225
- "control": {
226
- "type": "select"
227
- }
228
- },
229
- "event": {
230
- "action": "eventEvent"
231
167
  }
232
168
  },
233
169
  "styleSetup": {
@@ -315,27 +251,9 @@
315
251
  "version": 0
316
252
  }
317
253
  }
318
- },
319
- {
320
- "name": "debugOn",
321
- "description": "Verbose canvas diagnostics.",
322
- "data": {
323
- "debug": "yes"
324
- }
325
- },
326
- {
327
- "name": "saveJson",
328
- "description": "Save target preset for export.",
329
- "data": {
330
- "save": {
331
- "name": "notebook-sketch",
332
- "type": "json"
333
- },
334
- "debug": "no"
335
- }
336
254
  }
337
255
  ],
338
- "iifeIntegrity": "sha384-UnNEGPwy6VfwY9X07tkK2EVAr8OgiDOs4ucfpq3C4woqddHEoV2K8sYqS5EJ/HLK",
256
+ "iifeIntegrity": "sha384-TqMKxS0GP9Mj/V5T4lk0CboBiLXjGKVBtxq2pcwDFlBn4lDlVOFzstFFqQ8UJjE2",
339
257
  "dependencies": [
340
258
  {
341
259
  "name": "hb-stylus-paper",
@@ -367,5 +285,5 @@
367
285
  },
368
286
  "iifePath": "main.iife.js",
369
287
  "repoName": "@htmlbricks/hb-stylus-notebook",
370
- "version": "0.71.36"
288
+ "version": "0.71.37"
371
289
  }
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@htmlbricks/hb-stylus-notebook",
3
- "version": "0.71.36",
3
+ "version": "0.71.37",
4
4
  "contributors": [],
5
- "description": "Notebook layout around `hb-stylus-paper`: toolbar (`part=\"controller\"`) for modes, undo/redo, save, and file pickers; optional `load_draw` JSON restore; `save` / `debug` props per typings. Emits `event` for integrations.",
5
+ "description": "Notebook layout around `hb-stylus-paper`: toolbar (`part=\"controller\"`) for modes, undo/redo, save, and file pickers; optional `load_draw` JSON restore.",
6
6
  "licenses": [
7
7
  {
8
8
  "type": "Apache-2.0",
@@ -5,42 +5,12 @@
5
5
  "Component": {
6
6
  "additionalProperties": false,
7
7
  "properties": {
8
- "debug": {
9
- "enum": [
10
- "yes",
11
- "no"
12
- ],
13
- "type": "string"
14
- },
15
8
  "id": {
16
9
  "type": "string"
17
10
  },
18
11
  "load_draw": {
19
12
  "$ref": "#/definitions/TSave"
20
13
  },
21
- "save": {
22
- "additionalProperties": false,
23
- "properties": {
24
- "name": {
25
- "type": "string"
26
- },
27
- "type": {
28
- "enum": [
29
- "pdf",
30
- "json",
31
- "png",
32
- "svg",
33
- "jpg"
34
- ],
35
- "type": "string"
36
- }
37
- },
38
- "required": [
39
- "name",
40
- "type"
41
- ],
42
- "type": "object"
43
- },
44
14
  "style": {
45
15
  "type": "string"
46
16
  }
@@ -23,10 +23,6 @@ export type Component = {
23
23
  id?: string;
24
24
  style?: string;
25
25
  load_draw?: TSave;
26
- save?: { name: string; type: "pdf" | "json" | "png" | "svg" | "jpg" };
27
- debug?: "yes" | "no";
28
26
  };
29
27
 
30
- export type Events = {
31
- event: { test: boolean };
32
- };
28
+ export type Events = {};
@@ -4,23 +4,6 @@
4
4
  "definitions": {
5
5
  "Events": {
6
6
  "additionalProperties": false,
7
- "properties": {
8
- "event": {
9
- "additionalProperties": false,
10
- "properties": {
11
- "test": {
12
- "type": "boolean"
13
- }
14
- },
15
- "required": [
16
- "test"
17
- ],
18
- "type": "object"
19
- }
20
- },
21
- "required": [
22
- "event"
23
- ],
24
7
  "type": "object"
25
8
  }
26
9
  }