@lukekaalim/act-graphit 1.0.0 → 1.1.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.
- package/CHANGELOG.md +7 -0
- package/index.json +447 -0
- package/mod.doc.ts +4 -4
- package/package.json +4 -4
package/CHANGELOG.md
ADDED
package/index.json
ADDED
|
@@ -0,0 +1,447 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "../graphit/index",
|
|
3
|
+
"types": {
|
|
4
|
+
"undefined": {
|
|
5
|
+
"alias": 322,
|
|
6
|
+
"type": "internal-alias"
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"references": [
|
|
10
|
+
{
|
|
11
|
+
"identifier": "Set",
|
|
12
|
+
"module": "typescript/lib/lib.es2015.collection.d.ts",
|
|
13
|
+
"id": 48,
|
|
14
|
+
"type": "external"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"identifier": "Node",
|
|
18
|
+
"module": "@lukekaalim/act",
|
|
19
|
+
"id": 101,
|
|
20
|
+
"type": "external"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"identifier": "Ref",
|
|
24
|
+
"module": "@lukekaalim/act",
|
|
25
|
+
"id": 82,
|
|
26
|
+
"type": "external"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"identifier": "SVGLineElement",
|
|
30
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
31
|
+
"id": 123,
|
|
32
|
+
"type": "external"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"identifier": "SVGPatternElement",
|
|
36
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
37
|
+
"id": 132,
|
|
38
|
+
"type": "external"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"identifier": "AssertRefsExtends",
|
|
42
|
+
"module": "@lukekaalim/act-graphit/ResizingSpace.ts",
|
|
43
|
+
"id": 176,
|
|
44
|
+
"type": "external"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"identifier": "SVGElement",
|
|
48
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
49
|
+
"id": 182,
|
|
50
|
+
"type": "external"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"identifier": "SVGSVGElement",
|
|
54
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
55
|
+
"id": 185,
|
|
56
|
+
"type": "external"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"identifier": "Deps",
|
|
60
|
+
"module": "@lukekaalim/act",
|
|
61
|
+
"id": 70,
|
|
62
|
+
"type": "external"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"identifier": "Dimension",
|
|
66
|
+
"module": "@lukekaalim/act-graphit/vector.ts",
|
|
67
|
+
"id": 226,
|
|
68
|
+
"type": "external"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"identifier": "Dimension",
|
|
72
|
+
"module": "@lukekaalim/act-graphit/vector.ts",
|
|
73
|
+
"id": 241,
|
|
74
|
+
"type": "external"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"identifier": "Dimension",
|
|
78
|
+
"module": "@lukekaalim/act-graphit/vector.ts",
|
|
79
|
+
"id": 253,
|
|
80
|
+
"type": "external"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"identifier": "SVGCircleElement",
|
|
84
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
85
|
+
"id": 285,
|
|
86
|
+
"type": "external"
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"identifier": "SVGRectElement",
|
|
90
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
91
|
+
"id": 293,
|
|
92
|
+
"type": "external"
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"identifier": "SVGGElement",
|
|
96
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
97
|
+
"id": 303,
|
|
98
|
+
"type": "external"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"identifier": "PointerEvent",
|
|
102
|
+
"module": "typescript/lib/lib.dom.d.ts",
|
|
103
|
+
"id": 324,
|
|
104
|
+
"type": "external"
|
|
105
|
+
}
|
|
106
|
+
],
|
|
107
|
+
"exports": [
|
|
108
|
+
{
|
|
109
|
+
"declares": 37,
|
|
110
|
+
"parameters": [],
|
|
111
|
+
"doc": null,
|
|
112
|
+
"identifier": "EditablePointProps",
|
|
113
|
+
"id": 0,
|
|
114
|
+
"type": "type"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"identifier": "EditablePoint",
|
|
118
|
+
"doc": null,
|
|
119
|
+
"signature": 44,
|
|
120
|
+
"id": 1,
|
|
121
|
+
"type": "function"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"identifier": "globalDefs",
|
|
125
|
+
"doc": null,
|
|
126
|
+
"typeof": 47,
|
|
127
|
+
"id": 2,
|
|
128
|
+
"type": "variable"
|
|
129
|
+
},
|
|
130
|
+
{
|
|
131
|
+
"identifier": "registerSVGDef",
|
|
132
|
+
"doc": null,
|
|
133
|
+
"signature": 49,
|
|
134
|
+
"id": 3,
|
|
135
|
+
"type": "function"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"identifier": "DefProvider",
|
|
139
|
+
"doc": null,
|
|
140
|
+
"signature": 52,
|
|
141
|
+
"id": 4,
|
|
142
|
+
"type": "function"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"declares": 54,
|
|
146
|
+
"parameters": [],
|
|
147
|
+
"doc": null,
|
|
148
|
+
"identifier": "CartesianSpaceController",
|
|
149
|
+
"id": 5,
|
|
150
|
+
"type": "type"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"declares": 60,
|
|
154
|
+
"parameters": [],
|
|
155
|
+
"doc": null,
|
|
156
|
+
"identifier": "CartesianSpaceProps",
|
|
157
|
+
"id": 6,
|
|
158
|
+
"type": "type"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"identifier": "CartesianSpace",
|
|
162
|
+
"doc": null,
|
|
163
|
+
"signature": 133,
|
|
164
|
+
"id": 7,
|
|
165
|
+
"type": "function"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"identifier": "assertRefs",
|
|
169
|
+
"doc": null,
|
|
170
|
+
"signature": 136,
|
|
171
|
+
"id": 8,
|
|
172
|
+
"type": "function"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"identifier": "assertSVGParent",
|
|
176
|
+
"doc": null,
|
|
177
|
+
"signature": 179,
|
|
178
|
+
"id": 9,
|
|
179
|
+
"type": "function"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"identifier": "ResizingSpace",
|
|
183
|
+
"doc": null,
|
|
184
|
+
"signature": 186,
|
|
185
|
+
"id": 10,
|
|
186
|
+
"type": "function"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"declares": 189,
|
|
190
|
+
"parameters": [],
|
|
191
|
+
"doc": null,
|
|
192
|
+
"identifier": "PositiveAxesProps",
|
|
193
|
+
"id": 11,
|
|
194
|
+
"type": "type"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"identifier": "PositiveAxes",
|
|
198
|
+
"doc": null,
|
|
199
|
+
"signature": 197,
|
|
200
|
+
"id": 12,
|
|
201
|
+
"type": "function"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"declares": 200,
|
|
205
|
+
"parameters": [],
|
|
206
|
+
"doc": null,
|
|
207
|
+
"identifier": "ZeroBasedAxesProps",
|
|
208
|
+
"id": 13,
|
|
209
|
+
"type": "type"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"identifier": "ZeroBasedAxes",
|
|
213
|
+
"doc": null,
|
|
214
|
+
"signature": 205,
|
|
215
|
+
"id": 14,
|
|
216
|
+
"type": "function"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"declares": 208,
|
|
220
|
+
"parameters": [],
|
|
221
|
+
"doc": null,
|
|
222
|
+
"identifier": "UnitSizeProps",
|
|
223
|
+
"id": 15,
|
|
224
|
+
"type": "type"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"identifier": "UnitSize",
|
|
228
|
+
"doc": null,
|
|
229
|
+
"signature": 212,
|
|
230
|
+
"id": 16,
|
|
231
|
+
"type": "function"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"declares": 215,
|
|
235
|
+
"parameters": [],
|
|
236
|
+
"doc": null,
|
|
237
|
+
"identifier": "LinePathProps",
|
|
238
|
+
"id": 17,
|
|
239
|
+
"type": "type"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"identifier": "LinePath",
|
|
243
|
+
"doc": null,
|
|
244
|
+
"signature": 221,
|
|
245
|
+
"id": 18,
|
|
246
|
+
"type": "function"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"declares": 227,
|
|
250
|
+
"parameters": [
|
|
251
|
+
{
|
|
252
|
+
"identifier": "D",
|
|
253
|
+
"id": 224,
|
|
254
|
+
"extends": 225,
|
|
255
|
+
"default": null
|
|
256
|
+
}
|
|
257
|
+
],
|
|
258
|
+
"doc": null,
|
|
259
|
+
"identifier": "Vector",
|
|
260
|
+
"id": 22,
|
|
261
|
+
"type": "type"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"declares": 228,
|
|
265
|
+
"parameters": [],
|
|
266
|
+
"doc": null,
|
|
267
|
+
"identifier": "AnyVector",
|
|
268
|
+
"id": 20,
|
|
269
|
+
"type": "type"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"declares": 242,
|
|
273
|
+
"parameters": [
|
|
274
|
+
{
|
|
275
|
+
"identifier": "D",
|
|
276
|
+
"id": 239,
|
|
277
|
+
"extends": 240,
|
|
278
|
+
"default": null
|
|
279
|
+
}
|
|
280
|
+
],
|
|
281
|
+
"doc": null,
|
|
282
|
+
"identifier": "VectorOps",
|
|
283
|
+
"id": 21,
|
|
284
|
+
"type": "type"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"identifier": "Vector",
|
|
288
|
+
"doc": null,
|
|
289
|
+
"signature": 250,
|
|
290
|
+
"id": 22,
|
|
291
|
+
"type": "function"
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
"declares": 259,
|
|
295
|
+
"parameters": [
|
|
296
|
+
{
|
|
297
|
+
"identifier": "T",
|
|
298
|
+
"id": 256,
|
|
299
|
+
"extends": 257,
|
|
300
|
+
"default": 258
|
|
301
|
+
}
|
|
302
|
+
],
|
|
303
|
+
"doc": null,
|
|
304
|
+
"identifier": "SVGCoreProps",
|
|
305
|
+
"id": 23,
|
|
306
|
+
"type": "type"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"identifier": "remapCoreProps",
|
|
310
|
+
"doc": null,
|
|
311
|
+
"signature": 269,
|
|
312
|
+
"id": 24,
|
|
313
|
+
"type": "function"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"declares": 274,
|
|
317
|
+
"parameters": [],
|
|
318
|
+
"doc": null,
|
|
319
|
+
"identifier": "LineProps",
|
|
320
|
+
"id": 25,
|
|
321
|
+
"type": "type"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"identifier": "Line",
|
|
325
|
+
"doc": null,
|
|
326
|
+
"signature": 278,
|
|
327
|
+
"id": 26,
|
|
328
|
+
"type": "function"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"declares": 281,
|
|
332
|
+
"parameters": [],
|
|
333
|
+
"doc": null,
|
|
334
|
+
"identifier": "CircleProps",
|
|
335
|
+
"id": 27,
|
|
336
|
+
"type": "type"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"identifier": "Circle",
|
|
340
|
+
"doc": null,
|
|
341
|
+
"signature": 286,
|
|
342
|
+
"id": 28,
|
|
343
|
+
"type": "function"
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"declares": 289,
|
|
347
|
+
"parameters": [],
|
|
348
|
+
"doc": null,
|
|
349
|
+
"identifier": "RectProps",
|
|
350
|
+
"id": 29,
|
|
351
|
+
"type": "type"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"identifier": "Rect",
|
|
355
|
+
"doc": null,
|
|
356
|
+
"signature": 294,
|
|
357
|
+
"id": 30,
|
|
358
|
+
"type": "function"
|
|
359
|
+
},
|
|
360
|
+
{
|
|
361
|
+
"declares": 297,
|
|
362
|
+
"parameters": [],
|
|
363
|
+
"doc": null,
|
|
364
|
+
"identifier": "GroupProps",
|
|
365
|
+
"id": 31,
|
|
366
|
+
"type": "type"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"identifier": "Group",
|
|
370
|
+
"doc": null,
|
|
371
|
+
"signature": 304,
|
|
372
|
+
"id": 32,
|
|
373
|
+
"type": "function"
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"declares": 307,
|
|
377
|
+
"parameters": [],
|
|
378
|
+
"doc": null,
|
|
379
|
+
"identifier": "ForeignObjectProps",
|
|
380
|
+
"id": 33,
|
|
381
|
+
"type": "type"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
"identifier": "ForeignObject",
|
|
385
|
+
"doc": null,
|
|
386
|
+
"signature": 308,
|
|
387
|
+
"id": 34,
|
|
388
|
+
"type": "function"
|
|
389
|
+
},
|
|
390
|
+
{
|
|
391
|
+
"identifier": "subscribeMap",
|
|
392
|
+
"doc": null,
|
|
393
|
+
"signature": 311,
|
|
394
|
+
"id": 35,
|
|
395
|
+
"type": "function"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"identifier": "useDrag",
|
|
399
|
+
"doc": null,
|
|
400
|
+
"signature": 315,
|
|
401
|
+
"id": 36,
|
|
402
|
+
"type": "function"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"identifiers": {
|
|
406
|
+
"0": "EditablePointProps",
|
|
407
|
+
"1": "EditablePoint",
|
|
408
|
+
"2": "globalDefs",
|
|
409
|
+
"3": "registerSVGDef",
|
|
410
|
+
"4": "DefProvider",
|
|
411
|
+
"5": "CartesianSpaceController",
|
|
412
|
+
"6": "CartesianSpaceProps",
|
|
413
|
+
"7": "CartesianSpace",
|
|
414
|
+
"8": "assertRefs",
|
|
415
|
+
"9": "assertSVGParent",
|
|
416
|
+
"10": "ResizingSpace",
|
|
417
|
+
"11": "PositiveAxesProps",
|
|
418
|
+
"12": "PositiveAxes",
|
|
419
|
+
"13": "ZeroBasedAxesProps",
|
|
420
|
+
"14": "ZeroBasedAxes",
|
|
421
|
+
"15": "UnitSizeProps",
|
|
422
|
+
"16": "UnitSize",
|
|
423
|
+
"17": "LinePathProps",
|
|
424
|
+
"18": "LinePath",
|
|
425
|
+
"19": "Vector",
|
|
426
|
+
"20": "AnyVector",
|
|
427
|
+
"21": "VectorOps",
|
|
428
|
+
"22": "Vector",
|
|
429
|
+
"23": "SVGCoreProps",
|
|
430
|
+
"24": "remapCoreProps",
|
|
431
|
+
"25": "LineProps",
|
|
432
|
+
"26": "Line",
|
|
433
|
+
"27": "CircleProps",
|
|
434
|
+
"28": "Circle",
|
|
435
|
+
"29": "RectProps",
|
|
436
|
+
"30": "Rect",
|
|
437
|
+
"31": "GroupProps",
|
|
438
|
+
"32": "Group",
|
|
439
|
+
"33": "ForeignObjectProps",
|
|
440
|
+
"34": "ForeignObject",
|
|
441
|
+
"35": "subscribeMap",
|
|
442
|
+
"36": "useDrag",
|
|
443
|
+
"224": "D",
|
|
444
|
+
"239": "D",
|
|
445
|
+
"256": "T"
|
|
446
|
+
}
|
|
447
|
+
}
|
package/mod.doc.ts
CHANGED
|
@@ -4,11 +4,11 @@ import { DocApp, MarkdownArticle, RAFBeat } from "@lukekaalim/grimoire";
|
|
|
4
4
|
|
|
5
5
|
import { CartesianSpace, CartesianSpaceController } from "./CartesianSpace";
|
|
6
6
|
import { LinePath } from "./LinePath";
|
|
7
|
-
import { TypeDocPlugin } from "@lukekaalim/grimoire-ts";
|
|
7
|
+
import { EchoPlugin, TypeDocPlugin } from "@lukekaalim/grimoire-ts";
|
|
8
8
|
|
|
9
9
|
import readmeMd from './readme.md?raw';
|
|
10
10
|
import structuresMd from './structures.md?raw';
|
|
11
|
-
import
|
|
11
|
+
import reflection from 'echo:@lukekaalim/act-graphit';
|
|
12
12
|
import { Ring } from "./structures";
|
|
13
13
|
import { Vector2D } from "@lukekaalim/act-curve";
|
|
14
14
|
import { Circle } from "./elements";
|
|
@@ -85,8 +85,8 @@ export default h(MarkdownArticle, {
|
|
|
85
85
|
//}
|
|
86
86
|
})
|
|
87
87
|
|
|
88
|
-
export const buildGraphitDocs = (doc: DocApp<[
|
|
89
|
-
doc.
|
|
88
|
+
export const buildGraphitDocs = (doc: DocApp<[EchoPlugin]>) => {
|
|
89
|
+
doc.echo.modules.set('@lukekaalim/act-graphit', reflection);
|
|
90
90
|
|
|
91
91
|
doc.article.add('graphit.readme', readmeMd, '/packages/@lukekaalim/act-graphit')
|
|
92
92
|
doc.article.add('graphit.structs', structuresMd, '/packages/@lukekaalim/act-graphit/structures');
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lukekaalim/act-graphit",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "An Act-based graphing component library.",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
},
|
|
9
9
|
"author": "",
|
|
10
10
|
"license": "ISC",
|
|
11
|
-
"dependencies": {
|
|
12
|
-
|
|
13
|
-
"@lukekaalim/act
|
|
11
|
+
"dependencies": {},
|
|
12
|
+
"peerDependencies": {
|
|
13
|
+
"@lukekaalim/act": "^4.1.0"
|
|
14
14
|
}
|
|
15
15
|
}
|