@htmlbricks/hb-stylus-notebook 0.71.35 → 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/README.md +93 -19
- package/main.iife.js +1 -1
- package/main.iife.js.map +1 -1
- package/manifest.json +17 -88
- package/package.json +2 -2
- package/types/webcomponent.type.d.json +0 -30
- package/types/webcomponent.type.d.ts +1 -5
- package/types/webcomponent_events.type.d.json +0 -17
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,37 +158,31 @@
|
|
|
205
158
|
}
|
|
206
159
|
}
|
|
207
160
|
},
|
|
208
|
-
"description": "Notebook
|
|
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": {
|
|
234
|
-
"vars": [
|
|
170
|
+
"vars": [
|
|
171
|
+
{
|
|
172
|
+
"name": "--bulma-scheme-main-bis",
|
|
173
|
+
"valueType": "color",
|
|
174
|
+
"defaultValue": "",
|
|
175
|
+
"description": "Notebook paper area background behind `hb-stylus-paper`."
|
|
176
|
+
}
|
|
177
|
+
],
|
|
235
178
|
"parts": [
|
|
236
179
|
{
|
|
237
|
-
"name": "
|
|
238
|
-
"description": "
|
|
180
|
+
"name": "controller",
|
|
181
|
+
"description": "Toolbar row (mode, undo/redo, save, file inputs) above the drawing surface."
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "paper-container",
|
|
185
|
+
"description": "Host region for the nested `hb-stylus-paper` canvas."
|
|
239
186
|
}
|
|
240
187
|
]
|
|
241
188
|
},
|
|
@@ -304,27 +251,9 @@
|
|
|
304
251
|
"version": 0
|
|
305
252
|
}
|
|
306
253
|
}
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"name": "debugOn",
|
|
310
|
-
"description": "Verbose canvas diagnostics.",
|
|
311
|
-
"data": {
|
|
312
|
-
"debug": "yes"
|
|
313
|
-
}
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"name": "saveJson",
|
|
317
|
-
"description": "Save target preset for export.",
|
|
318
|
-
"data": {
|
|
319
|
-
"save": {
|
|
320
|
-
"name": "notebook-sketch",
|
|
321
|
-
"type": "json"
|
|
322
|
-
},
|
|
323
|
-
"debug": "no"
|
|
324
|
-
}
|
|
325
254
|
}
|
|
326
255
|
],
|
|
327
|
-
"iifeIntegrity": "sha384-
|
|
256
|
+
"iifeIntegrity": "sha384-TqMKxS0GP9Mj/V5T4lk0CboBiLXjGKVBtxq2pcwDFlBn4lDlVOFzstFFqQ8UJjE2",
|
|
328
257
|
"dependencies": [
|
|
329
258
|
{
|
|
330
259
|
"name": "hb-stylus-paper",
|
|
@@ -356,5 +285,5 @@
|
|
|
356
285
|
},
|
|
357
286
|
"iifePath": "main.iife.js",
|
|
358
287
|
"repoName": "@htmlbricks/hb-stylus-notebook",
|
|
359
|
-
"version": "0.71.
|
|
288
|
+
"version": "0.71.37"
|
|
360
289
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@htmlbricks/hb-stylus-notebook",
|
|
3
|
-
"version": "0.71.
|
|
3
|
+
"version": "0.71.37",
|
|
4
4
|
"contributors": [],
|
|
5
|
-
"description": "Notebook
|
|
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
|
}
|