@alloy-js/markdown 0.26.0 → 0.27.0-dev.5

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 (106) hide show
  1. package/README.md +45 -0
  2. package/dist/dev/src/components/Code.js +20 -5
  3. package/dist/dev/src/components/Code.js.map +1 -1
  4. package/dist/dev/src/components/Heading.js +66 -2
  5. package/dist/dev/src/components/Heading.js.map +1 -1
  6. package/dist/dev/src/components/Link.js +33 -1
  7. package/dist/dev/src/components/Link.js.map +1 -1
  8. package/dist/dev/src/components/SourceFile.js +27 -6
  9. package/dist/dev/src/components/SourceFile.js.map +1 -1
  10. package/dist/dev/src/components/index.js +2 -0
  11. package/dist/dev/src/components/index.js.map +1 -1
  12. package/dist/dev/src/components/inline-code.js +28 -0
  13. package/dist/dev/src/components/inline-code.js.map +1 -0
  14. package/dist/dev/src/components/table.js +98 -0
  15. package/dist/dev/src/components/table.js.map +1 -0
  16. package/dist/dev/src/context/source-file.js +50 -0
  17. package/dist/dev/src/context/source-file.js.map +1 -0
  18. package/dist/dev/src/context/table.js +8 -0
  19. package/dist/dev/src/context/table.js.map +1 -0
  20. package/dist/dev/src/symbols/heading-symbol.js +22 -0
  21. package/dist/dev/src/symbols/heading-symbol.js.map +1 -0
  22. package/dist/dev/test/Code.test.js +150 -6
  23. package/dist/dev/test/Code.test.js.map +1 -1
  24. package/dist/dev/test/heading.test.js +774 -0
  25. package/dist/dev/test/heading.test.js.map +1 -0
  26. package/dist/dev/test/inline-code.test.js +236 -0
  27. package/dist/dev/test/inline-code.test.js.map +1 -0
  28. package/dist/dev/test/table.test.js +499 -0
  29. package/dist/dev/test/table.test.js.map +1 -0
  30. package/dist/dev/test/vitest.d.js.map +1 -1
  31. package/dist/src/components/Code.d.ts +10 -3
  32. package/dist/src/components/Code.d.ts.map +1 -1
  33. package/dist/src/components/Code.js +19 -4
  34. package/dist/src/components/Code.js.map +1 -1
  35. package/dist/src/components/Heading.d.ts +10 -2
  36. package/dist/src/components/Heading.d.ts.map +1 -1
  37. package/dist/src/components/Heading.js +54 -2
  38. package/dist/src/components/Heading.js.map +1 -1
  39. package/dist/src/components/Link.d.ts +9 -1
  40. package/dist/src/components/Link.d.ts.map +1 -1
  41. package/dist/src/components/Link.js +33 -1
  42. package/dist/src/components/Link.js.map +1 -1
  43. package/dist/src/components/SourceFile.d.ts.map +1 -1
  44. package/dist/src/components/SourceFile.js +17 -4
  45. package/dist/src/components/SourceFile.js.map +1 -1
  46. package/dist/src/components/index.d.ts +2 -0
  47. package/dist/src/components/index.d.ts.map +1 -1
  48. package/dist/src/components/index.js +2 -0
  49. package/dist/src/components/index.js.map +1 -1
  50. package/dist/src/components/inline-code.d.ts +16 -0
  51. package/dist/src/components/inline-code.d.ts.map +1 -0
  52. package/dist/src/components/inline-code.js +28 -0
  53. package/dist/src/components/inline-code.js.map +1 -0
  54. package/dist/src/components/table.d.ts +37 -0
  55. package/dist/src/components/table.d.ts.map +1 -0
  56. package/dist/src/components/table.js +74 -0
  57. package/dist/src/components/table.js.map +1 -0
  58. package/dist/src/context/source-file.d.ts +19 -0
  59. package/dist/src/context/source-file.d.ts.map +1 -0
  60. package/dist/src/context/source-file.js +50 -0
  61. package/dist/src/context/source-file.js.map +1 -0
  62. package/dist/src/context/table.d.ts +4 -0
  63. package/dist/src/context/table.d.ts.map +1 -0
  64. package/dist/src/context/table.js +8 -0
  65. package/dist/src/context/table.js.map +1 -0
  66. package/dist/src/symbols/heading-symbol.d.ts +14 -0
  67. package/dist/src/symbols/heading-symbol.d.ts.map +1 -0
  68. package/dist/src/symbols/heading-symbol.js +22 -0
  69. package/dist/src/symbols/heading-symbol.js.map +1 -0
  70. package/dist/test/Code.test.js +107 -3
  71. package/dist/test/Code.test.js.map +1 -1
  72. package/dist/test/heading.test.d.ts +2 -0
  73. package/dist/test/heading.test.d.ts.map +1 -0
  74. package/dist/test/heading.test.js +494 -0
  75. package/dist/test/heading.test.js.map +1 -0
  76. package/dist/test/inline-code.test.d.ts +2 -0
  77. package/dist/test/inline-code.test.d.ts.map +1 -0
  78. package/dist/test/inline-code.test.js +148 -0
  79. package/dist/test/inline-code.test.js.map +1 -0
  80. package/dist/test/table.test.d.ts +2 -0
  81. package/dist/test/table.test.d.ts.map +1 -0
  82. package/dist/test/table.test.js +303 -0
  83. package/dist/test/table.test.js.map +1 -0
  84. package/dist/test/vitest.d.js.map +1 -1
  85. package/dist/tsconfig.tsbuildinfo +1 -1
  86. package/docs/index.md +92 -0
  87. package/docs/tables.md +81 -0
  88. package/package.json +12 -9
  89. package/src/components/Code.tsx +35 -8
  90. package/src/components/Heading.tsx +103 -4
  91. package/src/components/Link.tsx +61 -2
  92. package/src/components/SourceFile.tsx +19 -2
  93. package/src/components/index.ts +2 -0
  94. package/src/components/inline-code.tsx +51 -0
  95. package/src/components/table.tsx +113 -0
  96. package/src/context/source-file.ts +79 -0
  97. package/src/context/table.ts +8 -0
  98. package/src/symbols/heading-symbol.ts +38 -0
  99. package/test/Code.test.tsx +102 -2
  100. package/test/heading.test.tsx +464 -0
  101. package/test/inline-code.test.tsx +166 -0
  102. package/test/table.test.tsx +282 -0
  103. package/test/vitest.d.ts +4 -1
  104. package/api-extractor.json +0 -4
  105. package/temp/api.json +0 -1361
  106. package/tsdoc-metadata.json +0 -11
package/temp/api.json DELETED
@@ -1,1361 +0,0 @@
1
- {
2
- "metadata": {
3
- "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.58.11",
5
- "schemaVersion": 1011,
6
- "oldestForwardsCompatibleVersion": 1001,
7
- "tsdocConfig": {
8
- "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
- "noStandardTags": true,
10
- "tagDefinitions": [
11
- {
12
- "tagName": "@alpha",
13
- "syntaxKind": "modifier"
14
- },
15
- {
16
- "tagName": "@beta",
17
- "syntaxKind": "modifier"
18
- },
19
- {
20
- "tagName": "@defaultValue",
21
- "syntaxKind": "block"
22
- },
23
- {
24
- "tagName": "@decorator",
25
- "syntaxKind": "block",
26
- "allowMultiple": true
27
- },
28
- {
29
- "tagName": "@deprecated",
30
- "syntaxKind": "block"
31
- },
32
- {
33
- "tagName": "@eventProperty",
34
- "syntaxKind": "modifier"
35
- },
36
- {
37
- "tagName": "@example",
38
- "syntaxKind": "block",
39
- "allowMultiple": true
40
- },
41
- {
42
- "tagName": "@experimental",
43
- "syntaxKind": "modifier"
44
- },
45
- {
46
- "tagName": "@inheritDoc",
47
- "syntaxKind": "inline"
48
- },
49
- {
50
- "tagName": "@internal",
51
- "syntaxKind": "modifier"
52
- },
53
- {
54
- "tagName": "@label",
55
- "syntaxKind": "inline"
56
- },
57
- {
58
- "tagName": "@link",
59
- "syntaxKind": "inline",
60
- "allowMultiple": true
61
- },
62
- {
63
- "tagName": "@override",
64
- "syntaxKind": "modifier"
65
- },
66
- {
67
- "tagName": "@packageDocumentation",
68
- "syntaxKind": "modifier"
69
- },
70
- {
71
- "tagName": "@param",
72
- "syntaxKind": "block",
73
- "allowMultiple": true
74
- },
75
- {
76
- "tagName": "@privateRemarks",
77
- "syntaxKind": "block"
78
- },
79
- {
80
- "tagName": "@public",
81
- "syntaxKind": "modifier"
82
- },
83
- {
84
- "tagName": "@readonly",
85
- "syntaxKind": "modifier"
86
- },
87
- {
88
- "tagName": "@remarks",
89
- "syntaxKind": "block"
90
- },
91
- {
92
- "tagName": "@returns",
93
- "syntaxKind": "block"
94
- },
95
- {
96
- "tagName": "@sealed",
97
- "syntaxKind": "modifier"
98
- },
99
- {
100
- "tagName": "@see",
101
- "syntaxKind": "block"
102
- },
103
- {
104
- "tagName": "@throws",
105
- "syntaxKind": "block",
106
- "allowMultiple": true
107
- },
108
- {
109
- "tagName": "@typeParam",
110
- "syntaxKind": "block",
111
- "allowMultiple": true
112
- },
113
- {
114
- "tagName": "@virtual",
115
- "syntaxKind": "modifier"
116
- },
117
- {
118
- "tagName": "@jsx",
119
- "syntaxKind": "block"
120
- },
121
- {
122
- "tagName": "@jsxRuntime",
123
- "syntaxKind": "block"
124
- },
125
- {
126
- "tagName": "@jsxFrag",
127
- "syntaxKind": "block"
128
- },
129
- {
130
- "tagName": "@jsxImportSource",
131
- "syntaxKind": "block"
132
- },
133
- {
134
- "tagName": "@betaDocumentation",
135
- "syntaxKind": "modifier"
136
- },
137
- {
138
- "tagName": "@internalRemarks",
139
- "syntaxKind": "block"
140
- },
141
- {
142
- "tagName": "@preapproved",
143
- "syntaxKind": "modifier"
144
- }
145
- ],
146
- "supportForTags": {
147
- "@alpha": true,
148
- "@beta": true,
149
- "@defaultValue": true,
150
- "@decorator": true,
151
- "@deprecated": true,
152
- "@eventProperty": true,
153
- "@example": true,
154
- "@experimental": true,
155
- "@inheritDoc": true,
156
- "@internal": true,
157
- "@label": true,
158
- "@link": true,
159
- "@override": true,
160
- "@packageDocumentation": true,
161
- "@param": true,
162
- "@privateRemarks": true,
163
- "@public": true,
164
- "@readonly": true,
165
- "@remarks": true,
166
- "@returns": true,
167
- "@sealed": true,
168
- "@see": true,
169
- "@throws": true,
170
- "@typeParam": true,
171
- "@virtual": true,
172
- "@betaDocumentation": true,
173
- "@internalRemarks": true,
174
- "@preapproved": true
175
- },
176
- "reportUnsupportedHtmlElements": false
177
- }
178
- },
179
- "kind": "Package",
180
- "canonicalReference": "@alloy-js/markdown!",
181
- "docComment": "",
182
- "name": "@alloy-js/markdown",
183
- "preserveMemberOrder": false,
184
- "members": [
185
- {
186
- "kind": "EntryPoint",
187
- "canonicalReference": "@alloy-js/markdown!",
188
- "name": "",
189
- "preserveMemberOrder": false,
190
- "members": [
191
- {
192
- "kind": "Function",
193
- "canonicalReference": "@alloy-js/markdown!Code:function(1)",
194
- "docComment": "/**\n * Render a Markdown code block\n */\n",
195
- "excerptTokens": [
196
- {
197
- "kind": "Content",
198
- "text": "export declare function Code(props: "
199
- },
200
- {
201
- "kind": "Reference",
202
- "text": "CodeProps",
203
- "canonicalReference": "@alloy-js/markdown!CodeProps:interface"
204
- },
205
- {
206
- "kind": "Content",
207
- "text": "): "
208
- },
209
- {
210
- "kind": "Reference",
211
- "text": "Children",
212
- "canonicalReference": "@alloy-js/core!Children:type"
213
- },
214
- {
215
- "kind": "Content",
216
- "text": ";"
217
- }
218
- ],
219
- "fileUrlPath": "src/components/Code.tsx",
220
- "returnTypeTokenRange": {
221
- "startIndex": 3,
222
- "endIndex": 4
223
- },
224
- "releaseTag": "Public",
225
- "overloadIndex": 1,
226
- "parameters": [
227
- {
228
- "parameterName": "props",
229
- "parameterTypeTokenRange": {
230
- "startIndex": 1,
231
- "endIndex": 2
232
- },
233
- "isOptional": false
234
- }
235
- ],
236
- "name": "Code"
237
- },
238
- {
239
- "kind": "Interface",
240
- "canonicalReference": "@alloy-js/markdown!CodeProps:interface",
241
- "docComment": "",
242
- "excerptTokens": [
243
- {
244
- "kind": "Content",
245
- "text": "export interface CodeProps "
246
- }
247
- ],
248
- "fileUrlPath": "src/components/Code.tsx",
249
- "releaseTag": "Public",
250
- "name": "CodeProps",
251
- "preserveMemberOrder": false,
252
- "members": [
253
- {
254
- "kind": "PropertySignature",
255
- "canonicalReference": "@alloy-js/markdown!CodeProps#children:member",
256
- "docComment": "/**\n * Body of the code block\n */\n",
257
- "excerptTokens": [
258
- {
259
- "kind": "Content",
260
- "text": "children?: "
261
- },
262
- {
263
- "kind": "Reference",
264
- "text": "Children",
265
- "canonicalReference": "@alloy-js/core!Children:type"
266
- },
267
- {
268
- "kind": "Content",
269
- "text": ";"
270
- }
271
- ],
272
- "isReadonly": false,
273
- "isOptional": true,
274
- "releaseTag": "Public",
275
- "name": "children",
276
- "propertyTypeTokenRange": {
277
- "startIndex": 1,
278
- "endIndex": 2
279
- }
280
- },
281
- {
282
- "kind": "PropertySignature",
283
- "canonicalReference": "@alloy-js/markdown!CodeProps#lang:member",
284
- "docComment": "/**\n * Language of the code block\n */\n",
285
- "excerptTokens": [
286
- {
287
- "kind": "Content",
288
- "text": "lang?: "
289
- },
290
- {
291
- "kind": "Content",
292
- "text": "string"
293
- },
294
- {
295
- "kind": "Content",
296
- "text": ";"
297
- }
298
- ],
299
- "isReadonly": false,
300
- "isOptional": true,
301
- "releaseTag": "Public",
302
- "name": "lang",
303
- "propertyTypeTokenRange": {
304
- "startIndex": 1,
305
- "endIndex": 2
306
- }
307
- }
308
- ],
309
- "extendsTokenRanges": []
310
- },
311
- {
312
- "kind": "Interface",
313
- "canonicalReference": "@alloy-js/markdown!CommonListProps:interface",
314
- "docComment": "",
315
- "excerptTokens": [
316
- {
317
- "kind": "Content",
318
- "text": "export interface CommonListProps "
319
- }
320
- ],
321
- "fileUrlPath": "src/components/List.tsx",
322
- "releaseTag": "Public",
323
- "name": "CommonListProps",
324
- "preserveMemberOrder": false,
325
- "members": [
326
- {
327
- "kind": "PropertySignature",
328
- "canonicalReference": "@alloy-js/markdown!CommonListProps#children:member",
329
- "docComment": "",
330
- "excerptTokens": [
331
- {
332
- "kind": "Content",
333
- "text": "children: "
334
- },
335
- {
336
- "kind": "Reference",
337
- "text": "Children",
338
- "canonicalReference": "@alloy-js/core!Children:type"
339
- },
340
- {
341
- "kind": "Content",
342
- "text": ";"
343
- }
344
- ],
345
- "isReadonly": false,
346
- "isOptional": false,
347
- "releaseTag": "Public",
348
- "name": "children",
349
- "propertyTypeTokenRange": {
350
- "startIndex": 1,
351
- "endIndex": 2
352
- }
353
- },
354
- {
355
- "kind": "PropertySignature",
356
- "canonicalReference": "@alloy-js/markdown!CommonListProps#tasks:member",
357
- "docComment": "",
358
- "excerptTokens": [
359
- {
360
- "kind": "Content",
361
- "text": "tasks?: "
362
- },
363
- {
364
- "kind": "Content",
365
- "text": "boolean"
366
- },
367
- {
368
- "kind": "Content",
369
- "text": ";"
370
- }
371
- ],
372
- "isReadonly": false,
373
- "isOptional": true,
374
- "releaseTag": "Public",
375
- "name": "tasks",
376
- "propertyTypeTokenRange": {
377
- "startIndex": 1,
378
- "endIndex": 2
379
- }
380
- }
381
- ],
382
- "extendsTokenRanges": []
383
- },
384
- {
385
- "kind": "Function",
386
- "canonicalReference": "@alloy-js/markdown!Frontmatter:function(1)",
387
- "docComment": "/**\n * Create a frontmatter block for markdown files.\n *\n * @example\n * ```markdown\n * ---\n * title: \"My Title\"\n * ---\n * ```\n *\n */\n",
388
- "excerptTokens": [
389
- {
390
- "kind": "Content",
391
- "text": "export declare function Frontmatter(props: "
392
- },
393
- {
394
- "kind": "Reference",
395
- "text": "FrontmatterProps",
396
- "canonicalReference": "@alloy-js/markdown!FrontmatterProps:interface"
397
- },
398
- {
399
- "kind": "Content",
400
- "text": "): "
401
- },
402
- {
403
- "kind": "Reference",
404
- "text": "Children",
405
- "canonicalReference": "@alloy-js/core!Children:type"
406
- },
407
- {
408
- "kind": "Content",
409
- "text": ";"
410
- }
411
- ],
412
- "fileUrlPath": "src/components/Frontmatter.tsx",
413
- "returnTypeTokenRange": {
414
- "startIndex": 3,
415
- "endIndex": 4
416
- },
417
- "releaseTag": "Public",
418
- "overloadIndex": 1,
419
- "parameters": [
420
- {
421
- "parameterName": "props",
422
- "parameterTypeTokenRange": {
423
- "startIndex": 1,
424
- "endIndex": 2
425
- },
426
- "isOptional": false
427
- }
428
- ],
429
- "name": "Frontmatter"
430
- },
431
- {
432
- "kind": "Interface",
433
- "canonicalReference": "@alloy-js/markdown!FrontmatterProps:interface",
434
- "docComment": "",
435
- "excerptTokens": [
436
- {
437
- "kind": "Content",
438
- "text": "export interface FrontmatterProps "
439
- }
440
- ],
441
- "fileUrlPath": "src/components/Frontmatter.tsx",
442
- "releaseTag": "Public",
443
- "name": "FrontmatterProps",
444
- "preserveMemberOrder": false,
445
- "members": [
446
- {
447
- "kind": "PropertySignature",
448
- "canonicalReference": "@alloy-js/markdown!FrontmatterProps#children:member",
449
- "docComment": "",
450
- "excerptTokens": [
451
- {
452
- "kind": "Content",
453
- "text": "children?: "
454
- },
455
- {
456
- "kind": "Reference",
457
- "text": "Children",
458
- "canonicalReference": "@alloy-js/core!Children:type"
459
- },
460
- {
461
- "kind": "Content",
462
- "text": ";"
463
- }
464
- ],
465
- "isReadonly": false,
466
- "isOptional": true,
467
- "releaseTag": "Public",
468
- "name": "children",
469
- "propertyTypeTokenRange": {
470
- "startIndex": 1,
471
- "endIndex": 2
472
- }
473
- },
474
- {
475
- "kind": "PropertySignature",
476
- "canonicalReference": "@alloy-js/markdown!FrontmatterProps#jsValue:member",
477
- "docComment": "/**\n * Js value to automatically serialize as yaml\n */\n",
478
- "excerptTokens": [
479
- {
480
- "kind": "Content",
481
- "text": "jsValue?: "
482
- },
483
- {
484
- "kind": "Reference",
485
- "text": "Record",
486
- "canonicalReference": "!Record:type"
487
- },
488
- {
489
- "kind": "Content",
490
- "text": "<string, unknown>"
491
- },
492
- {
493
- "kind": "Content",
494
- "text": ";"
495
- }
496
- ],
497
- "isReadonly": false,
498
- "isOptional": true,
499
- "releaseTag": "Public",
500
- "name": "jsValue",
501
- "propertyTypeTokenRange": {
502
- "startIndex": 1,
503
- "endIndex": 3
504
- }
505
- }
506
- ],
507
- "extendsTokenRanges": []
508
- },
509
- {
510
- "kind": "Function",
511
- "canonicalReference": "@alloy-js/markdown!Heading:function(1)",
512
- "docComment": "",
513
- "excerptTokens": [
514
- {
515
- "kind": "Content",
516
- "text": "export declare function Heading(props: "
517
- },
518
- {
519
- "kind": "Reference",
520
- "text": "HeadingProps",
521
- "canonicalReference": "@alloy-js/markdown!HeadingProps:interface"
522
- },
523
- {
524
- "kind": "Content",
525
- "text": "): "
526
- },
527
- {
528
- "kind": "Reference",
529
- "text": "Children",
530
- "canonicalReference": "@alloy-js/core!Children:type"
531
- },
532
- {
533
- "kind": "Content",
534
- "text": ";"
535
- }
536
- ],
537
- "fileUrlPath": "src/components/Heading.tsx",
538
- "returnTypeTokenRange": {
539
- "startIndex": 3,
540
- "endIndex": 4
541
- },
542
- "releaseTag": "Public",
543
- "overloadIndex": 1,
544
- "parameters": [
545
- {
546
- "parameterName": "props",
547
- "parameterTypeTokenRange": {
548
- "startIndex": 1,
549
- "endIndex": 2
550
- },
551
- "isOptional": false
552
- }
553
- ],
554
- "name": "Heading"
555
- },
556
- {
557
- "kind": "Interface",
558
- "canonicalReference": "@alloy-js/markdown!HeadingProps:interface",
559
- "docComment": "",
560
- "excerptTokens": [
561
- {
562
- "kind": "Content",
563
- "text": "export interface HeadingProps "
564
- }
565
- ],
566
- "fileUrlPath": "src/components/Heading.tsx",
567
- "releaseTag": "Public",
568
- "name": "HeadingProps",
569
- "preserveMemberOrder": false,
570
- "members": [
571
- {
572
- "kind": "PropertySignature",
573
- "canonicalReference": "@alloy-js/markdown!HeadingProps#children:member",
574
- "docComment": "",
575
- "excerptTokens": [
576
- {
577
- "kind": "Content",
578
- "text": "children: "
579
- },
580
- {
581
- "kind": "Reference",
582
- "text": "Children",
583
- "canonicalReference": "@alloy-js/core!Children:type"
584
- },
585
- {
586
- "kind": "Content",
587
- "text": ";"
588
- }
589
- ],
590
- "isReadonly": false,
591
- "isOptional": false,
592
- "releaseTag": "Public",
593
- "name": "children",
594
- "propertyTypeTokenRange": {
595
- "startIndex": 1,
596
- "endIndex": 2
597
- }
598
- },
599
- {
600
- "kind": "PropertySignature",
601
- "canonicalReference": "@alloy-js/markdown!HeadingProps#level:member",
602
- "docComment": "",
603
- "excerptTokens": [
604
- {
605
- "kind": "Content",
606
- "text": "level?: "
607
- },
608
- {
609
- "kind": "Content",
610
- "text": "number"
611
- },
612
- {
613
- "kind": "Content",
614
- "text": ";"
615
- }
616
- ],
617
- "isReadonly": false,
618
- "isOptional": true,
619
- "releaseTag": "Public",
620
- "name": "level",
621
- "propertyTypeTokenRange": {
622
- "startIndex": 1,
623
- "endIndex": 2
624
- }
625
- },
626
- {
627
- "kind": "PropertySignature",
628
- "canonicalReference": "@alloy-js/markdown!HeadingProps#refkey:member",
629
- "docComment": "",
630
- "excerptTokens": [
631
- {
632
- "kind": "Content",
633
- "text": "refkey?: "
634
- },
635
- {
636
- "kind": "Reference",
637
- "text": "Refkey",
638
- "canonicalReference": "@alloy-js/core!Refkey:type"
639
- },
640
- {
641
- "kind": "Content",
642
- "text": ";"
643
- }
644
- ],
645
- "isReadonly": false,
646
- "isOptional": true,
647
- "releaseTag": "Public",
648
- "name": "refkey",
649
- "propertyTypeTokenRange": {
650
- "startIndex": 1,
651
- "endIndex": 2
652
- }
653
- }
654
- ],
655
- "extendsTokenRanges": []
656
- },
657
- {
658
- "kind": "Function",
659
- "canonicalReference": "@alloy-js/markdown!Link:function(1)",
660
- "docComment": "",
661
- "excerptTokens": [
662
- {
663
- "kind": "Content",
664
- "text": "export declare function Link(props: "
665
- },
666
- {
667
- "kind": "Reference",
668
- "text": "LinkProps",
669
- "canonicalReference": "@alloy-js/markdown!LinkProps:type"
670
- },
671
- {
672
- "kind": "Content",
673
- "text": "): "
674
- },
675
- {
676
- "kind": "Content",
677
- "text": "import(\"@alloy-js/core\")."
678
- },
679
- {
680
- "kind": "Reference",
681
- "text": "Children",
682
- "canonicalReference": "@alloy-js/core!Children:type"
683
- },
684
- {
685
- "kind": "Content",
686
- "text": ";"
687
- }
688
- ],
689
- "fileUrlPath": "src/components/Link.tsx",
690
- "returnTypeTokenRange": {
691
- "startIndex": 3,
692
- "endIndex": 5
693
- },
694
- "releaseTag": "Public",
695
- "overloadIndex": 1,
696
- "parameters": [
697
- {
698
- "parameterName": "props",
699
- "parameterTypeTokenRange": {
700
- "startIndex": 1,
701
- "endIndex": 2
702
- },
703
- "isOptional": false
704
- }
705
- ],
706
- "name": "Link"
707
- },
708
- {
709
- "kind": "TypeAlias",
710
- "canonicalReference": "@alloy-js/markdown!LinkProps:type",
711
- "docComment": "",
712
- "excerptTokens": [
713
- {
714
- "kind": "Content",
715
- "text": "export type LinkProps = "
716
- },
717
- {
718
- "kind": "Reference",
719
- "text": "LinkPropsWithRefkey",
720
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithRefkey:interface"
721
- },
722
- {
723
- "kind": "Content",
724
- "text": " | "
725
- },
726
- {
727
- "kind": "Reference",
728
- "text": "LinkPropsWithHref",
729
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithHref:interface"
730
- },
731
- {
732
- "kind": "Content",
733
- "text": ";"
734
- }
735
- ],
736
- "fileUrlPath": "src/components/Link.tsx",
737
- "releaseTag": "Public",
738
- "name": "LinkProps",
739
- "typeTokenRange": {
740
- "startIndex": 1,
741
- "endIndex": 4
742
- }
743
- },
744
- {
745
- "kind": "Interface",
746
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithHref:interface",
747
- "docComment": "",
748
- "excerptTokens": [
749
- {
750
- "kind": "Content",
751
- "text": "export interface LinkPropsWithHref "
752
- }
753
- ],
754
- "fileUrlPath": "src/components/Link.tsx",
755
- "releaseTag": "Public",
756
- "name": "LinkPropsWithHref",
757
- "preserveMemberOrder": false,
758
- "members": [
759
- {
760
- "kind": "PropertySignature",
761
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithHref#href:member",
762
- "docComment": "",
763
- "excerptTokens": [
764
- {
765
- "kind": "Content",
766
- "text": "href: "
767
- },
768
- {
769
- "kind": "Content",
770
- "text": "string"
771
- },
772
- {
773
- "kind": "Content",
774
- "text": ";"
775
- }
776
- ],
777
- "isReadonly": false,
778
- "isOptional": false,
779
- "releaseTag": "Public",
780
- "name": "href",
781
- "propertyTypeTokenRange": {
782
- "startIndex": 1,
783
- "endIndex": 2
784
- }
785
- },
786
- {
787
- "kind": "PropertySignature",
788
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithHref#title:member",
789
- "docComment": "",
790
- "excerptTokens": [
791
- {
792
- "kind": "Content",
793
- "text": "title: "
794
- },
795
- {
796
- "kind": "Content",
797
- "text": "string"
798
- },
799
- {
800
- "kind": "Content",
801
- "text": ";"
802
- }
803
- ],
804
- "isReadonly": false,
805
- "isOptional": false,
806
- "releaseTag": "Public",
807
- "name": "title",
808
- "propertyTypeTokenRange": {
809
- "startIndex": 1,
810
- "endIndex": 2
811
- }
812
- }
813
- ],
814
- "extendsTokenRanges": []
815
- },
816
- {
817
- "kind": "Interface",
818
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithRefkey:interface",
819
- "docComment": "",
820
- "excerptTokens": [
821
- {
822
- "kind": "Content",
823
- "text": "export interface LinkPropsWithRefkey "
824
- }
825
- ],
826
- "fileUrlPath": "src/components/Link.tsx",
827
- "releaseTag": "Public",
828
- "name": "LinkPropsWithRefkey",
829
- "preserveMemberOrder": false,
830
- "members": [
831
- {
832
- "kind": "PropertySignature",
833
- "canonicalReference": "@alloy-js/markdown!LinkPropsWithRefkey#refkey:member",
834
- "docComment": "",
835
- "excerptTokens": [
836
- {
837
- "kind": "Content",
838
- "text": "refkey: "
839
- },
840
- {
841
- "kind": "Reference",
842
- "text": "Refkey",
843
- "canonicalReference": "@alloy-js/core!Refkey:type"
844
- },
845
- {
846
- "kind": "Content",
847
- "text": ";"
848
- }
849
- ],
850
- "isReadonly": false,
851
- "isOptional": false,
852
- "releaseTag": "Public",
853
- "name": "refkey",
854
- "propertyTypeTokenRange": {
855
- "startIndex": 1,
856
- "endIndex": 2
857
- }
858
- }
859
- ],
860
- "extendsTokenRanges": []
861
- },
862
- {
863
- "kind": "Function",
864
- "canonicalReference": "@alloy-js/markdown!List:function(1)",
865
- "docComment": "",
866
- "excerptTokens": [
867
- {
868
- "kind": "Content",
869
- "text": "export declare function List(props: "
870
- },
871
- {
872
- "kind": "Reference",
873
- "text": "ListProps",
874
- "canonicalReference": "@alloy-js/markdown!ListProps:type"
875
- },
876
- {
877
- "kind": "Content",
878
- "text": "): "
879
- },
880
- {
881
- "kind": "Reference",
882
- "text": "Children",
883
- "canonicalReference": "@alloy-js/core!Children:type"
884
- },
885
- {
886
- "kind": "Content",
887
- "text": ";"
888
- }
889
- ],
890
- "fileUrlPath": "src/components/List.tsx",
891
- "returnTypeTokenRange": {
892
- "startIndex": 3,
893
- "endIndex": 4
894
- },
895
- "releaseTag": "Public",
896
- "overloadIndex": 1,
897
- "parameters": [
898
- {
899
- "parameterName": "props",
900
- "parameterTypeTokenRange": {
901
- "startIndex": 1,
902
- "endIndex": 2
903
- },
904
- "isOptional": false
905
- }
906
- ],
907
- "name": "List"
908
- },
909
- {
910
- "kind": "TypeAlias",
911
- "canonicalReference": "@alloy-js/markdown!ListProps:type",
912
- "docComment": "",
913
- "excerptTokens": [
914
- {
915
- "kind": "Content",
916
- "text": "export type ListProps = "
917
- },
918
- {
919
- "kind": "Reference",
920
- "text": "OrderedListProps",
921
- "canonicalReference": "@alloy-js/markdown!OrderedListProps:interface"
922
- },
923
- {
924
- "kind": "Content",
925
- "text": " | "
926
- },
927
- {
928
- "kind": "Reference",
929
- "text": "UnorderedListProps",
930
- "canonicalReference": "@alloy-js/markdown!UnorderedListProps:interface"
931
- },
932
- {
933
- "kind": "Content",
934
- "text": ";"
935
- }
936
- ],
937
- "fileUrlPath": "src/components/List.tsx",
938
- "releaseTag": "Public",
939
- "name": "ListProps",
940
- "typeTokenRange": {
941
- "startIndex": 1,
942
- "endIndex": 4
943
- }
944
- },
945
- {
946
- "kind": "Interface",
947
- "canonicalReference": "@alloy-js/markdown!OrderedListProps:interface",
948
- "docComment": "",
949
- "excerptTokens": [
950
- {
951
- "kind": "Content",
952
- "text": "export interface OrderedListProps extends "
953
- },
954
- {
955
- "kind": "Reference",
956
- "text": "CommonListProps",
957
- "canonicalReference": "@alloy-js/markdown!CommonListProps:interface"
958
- },
959
- {
960
- "kind": "Content",
961
- "text": " "
962
- }
963
- ],
964
- "fileUrlPath": "src/components/List.tsx",
965
- "releaseTag": "Public",
966
- "name": "OrderedListProps",
967
- "preserveMemberOrder": false,
968
- "members": [
969
- {
970
- "kind": "PropertySignature",
971
- "canonicalReference": "@alloy-js/markdown!OrderedListProps#ordered:member",
972
- "docComment": "",
973
- "excerptTokens": [
974
- {
975
- "kind": "Content",
976
- "text": "ordered: "
977
- },
978
- {
979
- "kind": "Content",
980
- "text": "true"
981
- },
982
- {
983
- "kind": "Content",
984
- "text": ";"
985
- }
986
- ],
987
- "isReadonly": false,
988
- "isOptional": false,
989
- "releaseTag": "Public",
990
- "name": "ordered",
991
- "propertyTypeTokenRange": {
992
- "startIndex": 1,
993
- "endIndex": 2
994
- }
995
- },
996
- {
997
- "kind": "PropertySignature",
998
- "canonicalReference": "@alloy-js/markdown!OrderedListProps#start:member",
999
- "docComment": "",
1000
- "excerptTokens": [
1001
- {
1002
- "kind": "Content",
1003
- "text": "start?: "
1004
- },
1005
- {
1006
- "kind": "Content",
1007
- "text": "number"
1008
- },
1009
- {
1010
- "kind": "Content",
1011
- "text": ";"
1012
- }
1013
- ],
1014
- "isReadonly": false,
1015
- "isOptional": true,
1016
- "releaseTag": "Public",
1017
- "name": "start",
1018
- "propertyTypeTokenRange": {
1019
- "startIndex": 1,
1020
- "endIndex": 2
1021
- }
1022
- }
1023
- ],
1024
- "extendsTokenRanges": [
1025
- {
1026
- "startIndex": 1,
1027
- "endIndex": 2
1028
- }
1029
- ]
1030
- },
1031
- {
1032
- "kind": "Function",
1033
- "canonicalReference": "@alloy-js/markdown!Section:function(1)",
1034
- "docComment": "",
1035
- "excerptTokens": [
1036
- {
1037
- "kind": "Content",
1038
- "text": "export declare function Section(props: "
1039
- },
1040
- {
1041
- "kind": "Reference",
1042
- "text": "SectionProps",
1043
- "canonicalReference": "@alloy-js/markdown!SectionProps:interface"
1044
- },
1045
- {
1046
- "kind": "Content",
1047
- "text": "): "
1048
- },
1049
- {
1050
- "kind": "Reference",
1051
- "text": "Children",
1052
- "canonicalReference": "@alloy-js/core!Children:type"
1053
- },
1054
- {
1055
- "kind": "Content",
1056
- "text": ";"
1057
- }
1058
- ],
1059
- "fileUrlPath": "src/components/Section.tsx",
1060
- "returnTypeTokenRange": {
1061
- "startIndex": 3,
1062
- "endIndex": 4
1063
- },
1064
- "releaseTag": "Public",
1065
- "overloadIndex": 1,
1066
- "parameters": [
1067
- {
1068
- "parameterName": "props",
1069
- "parameterTypeTokenRange": {
1070
- "startIndex": 1,
1071
- "endIndex": 2
1072
- },
1073
- "isOptional": false
1074
- }
1075
- ],
1076
- "name": "Section"
1077
- },
1078
- {
1079
- "kind": "Interface",
1080
- "canonicalReference": "@alloy-js/markdown!SectionProps:interface",
1081
- "docComment": "",
1082
- "excerptTokens": [
1083
- {
1084
- "kind": "Content",
1085
- "text": "export interface SectionProps "
1086
- }
1087
- ],
1088
- "fileUrlPath": "src/components/Section.tsx",
1089
- "releaseTag": "Public",
1090
- "name": "SectionProps",
1091
- "preserveMemberOrder": false,
1092
- "members": [
1093
- {
1094
- "kind": "PropertySignature",
1095
- "canonicalReference": "@alloy-js/markdown!SectionProps#children:member",
1096
- "docComment": "",
1097
- "excerptTokens": [
1098
- {
1099
- "kind": "Content",
1100
- "text": "children: "
1101
- },
1102
- {
1103
- "kind": "Reference",
1104
- "text": "Children",
1105
- "canonicalReference": "@alloy-js/core!Children:type"
1106
- },
1107
- {
1108
- "kind": "Content",
1109
- "text": ";"
1110
- }
1111
- ],
1112
- "isReadonly": false,
1113
- "isOptional": false,
1114
- "releaseTag": "Public",
1115
- "name": "children",
1116
- "propertyTypeTokenRange": {
1117
- "startIndex": 1,
1118
- "endIndex": 2
1119
- }
1120
- },
1121
- {
1122
- "kind": "PropertySignature",
1123
- "canonicalReference": "@alloy-js/markdown!SectionProps#heading:member",
1124
- "docComment": "",
1125
- "excerptTokens": [
1126
- {
1127
- "kind": "Content",
1128
- "text": "heading?: "
1129
- },
1130
- {
1131
- "kind": "Reference",
1132
- "text": "Children",
1133
- "canonicalReference": "@alloy-js/core!Children:type"
1134
- },
1135
- {
1136
- "kind": "Content",
1137
- "text": ";"
1138
- }
1139
- ],
1140
- "isReadonly": false,
1141
- "isOptional": true,
1142
- "releaseTag": "Public",
1143
- "name": "heading",
1144
- "propertyTypeTokenRange": {
1145
- "startIndex": 1,
1146
- "endIndex": 2
1147
- }
1148
- }
1149
- ],
1150
- "extendsTokenRanges": []
1151
- },
1152
- {
1153
- "kind": "Function",
1154
- "canonicalReference": "@alloy-js/markdown!SourceFile:function(1)",
1155
- "docComment": "",
1156
- "excerptTokens": [
1157
- {
1158
- "kind": "Content",
1159
- "text": "export declare function SourceFile(props: "
1160
- },
1161
- {
1162
- "kind": "Reference",
1163
- "text": "SourceFileProps",
1164
- "canonicalReference": "@alloy-js/markdown!SourceFileProps:interface"
1165
- },
1166
- {
1167
- "kind": "Content",
1168
- "text": "): "
1169
- },
1170
- {
1171
- "kind": "Reference",
1172
- "text": "Children",
1173
- "canonicalReference": "@alloy-js/core!Children:type"
1174
- },
1175
- {
1176
- "kind": "Content",
1177
- "text": ";"
1178
- }
1179
- ],
1180
- "fileUrlPath": "src/components/SourceFile.tsx",
1181
- "returnTypeTokenRange": {
1182
- "startIndex": 3,
1183
- "endIndex": 4
1184
- },
1185
- "releaseTag": "Public",
1186
- "overloadIndex": 1,
1187
- "parameters": [
1188
- {
1189
- "parameterName": "props",
1190
- "parameterTypeTokenRange": {
1191
- "startIndex": 1,
1192
- "endIndex": 2
1193
- },
1194
- "isOptional": false
1195
- }
1196
- ],
1197
- "name": "SourceFile"
1198
- },
1199
- {
1200
- "kind": "Interface",
1201
- "canonicalReference": "@alloy-js/markdown!SourceFileProps:interface",
1202
- "docComment": "",
1203
- "excerptTokens": [
1204
- {
1205
- "kind": "Content",
1206
- "text": "export interface SourceFileProps "
1207
- }
1208
- ],
1209
- "fileUrlPath": "src/components/SourceFile.tsx",
1210
- "releaseTag": "Public",
1211
- "name": "SourceFileProps",
1212
- "preserveMemberOrder": false,
1213
- "members": [
1214
- {
1215
- "kind": "PropertySignature",
1216
- "canonicalReference": "@alloy-js/markdown!SourceFileProps#children:member",
1217
- "docComment": "",
1218
- "excerptTokens": [
1219
- {
1220
- "kind": "Content",
1221
- "text": "children: "
1222
- },
1223
- {
1224
- "kind": "Reference",
1225
- "text": "Children",
1226
- "canonicalReference": "@alloy-js/core!Children:type"
1227
- },
1228
- {
1229
- "kind": "Content",
1230
- "text": ";"
1231
- }
1232
- ],
1233
- "isReadonly": false,
1234
- "isOptional": false,
1235
- "releaseTag": "Public",
1236
- "name": "children",
1237
- "propertyTypeTokenRange": {
1238
- "startIndex": 1,
1239
- "endIndex": 2
1240
- }
1241
- },
1242
- {
1243
- "kind": "PropertySignature",
1244
- "canonicalReference": "@alloy-js/markdown!SourceFileProps#path:member",
1245
- "docComment": "",
1246
- "excerptTokens": [
1247
- {
1248
- "kind": "Content",
1249
- "text": "path: "
1250
- },
1251
- {
1252
- "kind": "Content",
1253
- "text": "string"
1254
- },
1255
- {
1256
- "kind": "Content",
1257
- "text": ";"
1258
- }
1259
- ],
1260
- "isReadonly": false,
1261
- "isOptional": false,
1262
- "releaseTag": "Public",
1263
- "name": "path",
1264
- "propertyTypeTokenRange": {
1265
- "startIndex": 1,
1266
- "endIndex": 2
1267
- }
1268
- }
1269
- ],
1270
- "extendsTokenRanges": []
1271
- },
1272
- {
1273
- "kind": "Interface",
1274
- "canonicalReference": "@alloy-js/markdown!UnorderedListProps:interface",
1275
- "docComment": "",
1276
- "excerptTokens": [
1277
- {
1278
- "kind": "Content",
1279
- "text": "export interface UnorderedListProps extends "
1280
- },
1281
- {
1282
- "kind": "Reference",
1283
- "text": "CommonListProps",
1284
- "canonicalReference": "@alloy-js/markdown!CommonListProps:interface"
1285
- },
1286
- {
1287
- "kind": "Content",
1288
- "text": " "
1289
- }
1290
- ],
1291
- "fileUrlPath": "src/components/List.tsx",
1292
- "releaseTag": "Public",
1293
- "name": "UnorderedListProps",
1294
- "preserveMemberOrder": false,
1295
- "members": [
1296
- {
1297
- "kind": "PropertySignature",
1298
- "canonicalReference": "@alloy-js/markdown!UnorderedListProps#bullet:member",
1299
- "docComment": "",
1300
- "excerptTokens": [
1301
- {
1302
- "kind": "Content",
1303
- "text": "bullet?: "
1304
- },
1305
- {
1306
- "kind": "Content",
1307
- "text": "\"*\" | \"-\" | \"+\""
1308
- },
1309
- {
1310
- "kind": "Content",
1311
- "text": ";"
1312
- }
1313
- ],
1314
- "isReadonly": false,
1315
- "isOptional": true,
1316
- "releaseTag": "Public",
1317
- "name": "bullet",
1318
- "propertyTypeTokenRange": {
1319
- "startIndex": 1,
1320
- "endIndex": 2
1321
- }
1322
- },
1323
- {
1324
- "kind": "PropertySignature",
1325
- "canonicalReference": "@alloy-js/markdown!UnorderedListProps#ordered:member",
1326
- "docComment": "",
1327
- "excerptTokens": [
1328
- {
1329
- "kind": "Content",
1330
- "text": "ordered?: "
1331
- },
1332
- {
1333
- "kind": "Content",
1334
- "text": "false | undefined"
1335
- },
1336
- {
1337
- "kind": "Content",
1338
- "text": ";"
1339
- }
1340
- ],
1341
- "isReadonly": false,
1342
- "isOptional": true,
1343
- "releaseTag": "Public",
1344
- "name": "ordered",
1345
- "propertyTypeTokenRange": {
1346
- "startIndex": 1,
1347
- "endIndex": 2
1348
- }
1349
- }
1350
- ],
1351
- "extendsTokenRanges": [
1352
- {
1353
- "startIndex": 1,
1354
- "endIndex": 2
1355
- }
1356
- ]
1357
- }
1358
- ]
1359
- }
1360
- ]
1361
- }