@alloy-js/markdown 0.26.0 → 0.27.0-dev.4
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 +45 -0
- package/dist/dev/src/components/Code.js +20 -5
- package/dist/dev/src/components/Code.js.map +1 -1
- package/dist/dev/src/components/Heading.js +66 -2
- package/dist/dev/src/components/Heading.js.map +1 -1
- package/dist/dev/src/components/Link.js +33 -1
- package/dist/dev/src/components/Link.js.map +1 -1
- package/dist/dev/src/components/SourceFile.js +27 -6
- package/dist/dev/src/components/SourceFile.js.map +1 -1
- package/dist/dev/src/components/index.js +2 -0
- package/dist/dev/src/components/index.js.map +1 -1
- package/dist/dev/src/components/inline-code.js +28 -0
- package/dist/dev/src/components/inline-code.js.map +1 -0
- package/dist/dev/src/components/table.js +98 -0
- package/dist/dev/src/components/table.js.map +1 -0
- package/dist/dev/src/context/source-file.js +50 -0
- package/dist/dev/src/context/source-file.js.map +1 -0
- package/dist/dev/src/context/table.js +8 -0
- package/dist/dev/src/context/table.js.map +1 -0
- package/dist/dev/src/symbols/heading-symbol.js +22 -0
- package/dist/dev/src/symbols/heading-symbol.js.map +1 -0
- package/dist/dev/test/Code.test.js +150 -6
- package/dist/dev/test/Code.test.js.map +1 -1
- package/dist/dev/test/heading.test.js +774 -0
- package/dist/dev/test/heading.test.js.map +1 -0
- package/dist/dev/test/inline-code.test.js +236 -0
- package/dist/dev/test/inline-code.test.js.map +1 -0
- package/dist/dev/test/table.test.js +499 -0
- package/dist/dev/test/table.test.js.map +1 -0
- package/dist/dev/test/vitest.d.js.map +1 -1
- package/dist/src/components/Code.d.ts +10 -3
- package/dist/src/components/Code.d.ts.map +1 -1
- package/dist/src/components/Code.js +19 -4
- package/dist/src/components/Code.js.map +1 -1
- package/dist/src/components/Heading.d.ts +10 -2
- package/dist/src/components/Heading.d.ts.map +1 -1
- package/dist/src/components/Heading.js +54 -2
- package/dist/src/components/Heading.js.map +1 -1
- package/dist/src/components/Link.d.ts +9 -1
- package/dist/src/components/Link.d.ts.map +1 -1
- package/dist/src/components/Link.js +33 -1
- package/dist/src/components/Link.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +17 -4
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/index.d.ts +2 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +2 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/inline-code.d.ts +16 -0
- package/dist/src/components/inline-code.d.ts.map +1 -0
- package/dist/src/components/inline-code.js +28 -0
- package/dist/src/components/inline-code.js.map +1 -0
- package/dist/src/components/table.d.ts +37 -0
- package/dist/src/components/table.d.ts.map +1 -0
- package/dist/src/components/table.js +74 -0
- package/dist/src/components/table.js.map +1 -0
- package/dist/src/context/source-file.d.ts +19 -0
- package/dist/src/context/source-file.d.ts.map +1 -0
- package/dist/src/context/source-file.js +50 -0
- package/dist/src/context/source-file.js.map +1 -0
- package/dist/src/context/table.d.ts +4 -0
- package/dist/src/context/table.d.ts.map +1 -0
- package/dist/src/context/table.js +8 -0
- package/dist/src/context/table.js.map +1 -0
- package/dist/src/symbols/heading-symbol.d.ts +14 -0
- package/dist/src/symbols/heading-symbol.d.ts.map +1 -0
- package/dist/src/symbols/heading-symbol.js +22 -0
- package/dist/src/symbols/heading-symbol.js.map +1 -0
- package/dist/test/Code.test.js +107 -3
- package/dist/test/Code.test.js.map +1 -1
- package/dist/test/heading.test.d.ts +2 -0
- package/dist/test/heading.test.d.ts.map +1 -0
- package/dist/test/heading.test.js +494 -0
- package/dist/test/heading.test.js.map +1 -0
- package/dist/test/inline-code.test.d.ts +2 -0
- package/dist/test/inline-code.test.d.ts.map +1 -0
- package/dist/test/inline-code.test.js +148 -0
- package/dist/test/inline-code.test.js.map +1 -0
- package/dist/test/table.test.d.ts +2 -0
- package/dist/test/table.test.d.ts.map +1 -0
- package/dist/test/table.test.js +303 -0
- package/dist/test/table.test.js.map +1 -0
- package/dist/test/vitest.d.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/index.md +92 -0
- package/docs/tables.md +81 -0
- package/package.json +11 -6
- package/src/components/Code.tsx +35 -8
- package/src/components/Heading.tsx +103 -4
- package/src/components/Link.tsx +61 -2
- package/src/components/SourceFile.tsx +19 -2
- package/src/components/index.ts +2 -0
- package/src/components/inline-code.tsx +51 -0
- package/src/components/table.tsx +113 -0
- package/src/context/source-file.ts +79 -0
- package/src/context/table.ts +8 -0
- package/src/symbols/heading-symbol.ts +38 -0
- package/temp/api.json +552 -9
- package/test/Code.test.tsx +102 -2
- package/test/heading.test.tsx +464 -0
- package/test/inline-code.test.tsx +166 -0
- package/test/table.test.tsx +282 -0
- package/test/vitest.d.ts +4 -1
package/temp/api.json
CHANGED
|
@@ -191,7 +191,7 @@
|
|
|
191
191
|
{
|
|
192
192
|
"kind": "Function",
|
|
193
193
|
"canonicalReference": "@alloy-js/markdown!Code:function(1)",
|
|
194
|
-
"docComment": "/**\n * Render a Markdown code block
|
|
194
|
+
"docComment": "/**\n * Render a Markdown code block. Direct string bodies use content-safe fences. JSX children render normally without being inspected for fence conflicts.\n */\n",
|
|
195
195
|
"excerptTokens": [
|
|
196
196
|
{
|
|
197
197
|
"kind": "Content",
|
|
@@ -253,7 +253,7 @@
|
|
|
253
253
|
{
|
|
254
254
|
"kind": "PropertySignature",
|
|
255
255
|
"canonicalReference": "@alloy-js/markdown!CodeProps#children:member",
|
|
256
|
-
"docComment": "/**\n * Body of the code block
|
|
256
|
+
"docComment": "/**\n * Body of the code block. Direct strings determine the fence length. JSX children render unchanged and must not contain closing fences.\n */\n",
|
|
257
257
|
"excerptTokens": [
|
|
258
258
|
{
|
|
259
259
|
"kind": "Content",
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
{
|
|
282
282
|
"kind": "PropertySignature",
|
|
283
283
|
"canonicalReference": "@alloy-js/markdown!CodeProps#lang:member",
|
|
284
|
-
"docComment": "/**\n *
|
|
284
|
+
"docComment": "/**\n * Optional Markdown info string (language followed by optional metadata). Must be a single line. Backticks are supported by using tilde fences.\n */\n",
|
|
285
285
|
"excerptTokens": [
|
|
286
286
|
{
|
|
287
287
|
"kind": "Content",
|
|
@@ -571,7 +571,7 @@
|
|
|
571
571
|
{
|
|
572
572
|
"kind": "PropertySignature",
|
|
573
573
|
"canonicalReference": "@alloy-js/markdown!HeadingProps#children:member",
|
|
574
|
-
"docComment": "",
|
|
574
|
+
"docComment": "/**\n * Heading content. Automatic IDs and default link text are derived from string children; headings with JSX children need an explicit `id` to be referenced.\n */\n",
|
|
575
575
|
"excerptTokens": [
|
|
576
576
|
{
|
|
577
577
|
"kind": "Content",
|
|
@@ -596,10 +596,37 @@
|
|
|
596
596
|
"endIndex": 2
|
|
597
597
|
}
|
|
598
598
|
},
|
|
599
|
+
{
|
|
600
|
+
"kind": "PropertySignature",
|
|
601
|
+
"canonicalReference": "@alloy-js/markdown!HeadingProps#id:member",
|
|
602
|
+
"docComment": "/**\n * Stable anchor ID independent of the display text. Must be unique in the file.\n */\n",
|
|
603
|
+
"excerptTokens": [
|
|
604
|
+
{
|
|
605
|
+
"kind": "Content",
|
|
606
|
+
"text": "id?: "
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"kind": "Content",
|
|
610
|
+
"text": "string"
|
|
611
|
+
},
|
|
612
|
+
{
|
|
613
|
+
"kind": "Content",
|
|
614
|
+
"text": ";"
|
|
615
|
+
}
|
|
616
|
+
],
|
|
617
|
+
"isReadonly": false,
|
|
618
|
+
"isOptional": true,
|
|
619
|
+
"releaseTag": "Public",
|
|
620
|
+
"name": "id",
|
|
621
|
+
"propertyTypeTokenRange": {
|
|
622
|
+
"startIndex": 1,
|
|
623
|
+
"endIndex": 2
|
|
624
|
+
}
|
|
625
|
+
},
|
|
599
626
|
{
|
|
600
627
|
"kind": "PropertySignature",
|
|
601
628
|
"canonicalReference": "@alloy-js/markdown!HeadingProps#level:member",
|
|
602
|
-
"docComment": "",
|
|
629
|
+
"docComment": "/**\n * Heading depth. Defaults to the current section depth.\n */\n",
|
|
603
630
|
"excerptTokens": [
|
|
604
631
|
{
|
|
605
632
|
"kind": "Content",
|
|
@@ -626,7 +653,7 @@
|
|
|
626
653
|
{
|
|
627
654
|
"kind": "PropertySignature",
|
|
628
655
|
"canonicalReference": "@alloy-js/markdown!HeadingProps#refkey:member",
|
|
629
|
-
"docComment": "",
|
|
656
|
+
"docComment": "/**\n * Key used to link to this heading.\n */\n",
|
|
630
657
|
"excerptTokens": [
|
|
631
658
|
{
|
|
632
659
|
"kind": "Content",
|
|
@@ -654,6 +681,103 @@
|
|
|
654
681
|
],
|
|
655
682
|
"extendsTokenRanges": []
|
|
656
683
|
},
|
|
684
|
+
{
|
|
685
|
+
"kind": "Function",
|
|
686
|
+
"canonicalReference": "@alloy-js/markdown!InlineCode:function(1)",
|
|
687
|
+
"docComment": "/**\n * Render a Markdown code span. Direct strings use adaptive delimiters and padding, with each CRLF, CR, or LF replaced by one space. Empty strings and omitted content use inline HTML. Direct string pipes are escaped inside table cells and left literal elsewhere.\n */\n",
|
|
688
|
+
"excerptTokens": [
|
|
689
|
+
{
|
|
690
|
+
"kind": "Content",
|
|
691
|
+
"text": "export declare function InlineCode(props: "
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
"kind": "Reference",
|
|
695
|
+
"text": "InlineCodeProps",
|
|
696
|
+
"canonicalReference": "@alloy-js/markdown!InlineCodeProps:interface"
|
|
697
|
+
},
|
|
698
|
+
{
|
|
699
|
+
"kind": "Content",
|
|
700
|
+
"text": "): "
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
"kind": "Content",
|
|
704
|
+
"text": "() => "
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"kind": "Reference",
|
|
708
|
+
"text": "Children",
|
|
709
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"kind": "Content",
|
|
713
|
+
"text": ";"
|
|
714
|
+
}
|
|
715
|
+
],
|
|
716
|
+
"fileUrlPath": "src/components/inline-code.tsx",
|
|
717
|
+
"returnTypeTokenRange": {
|
|
718
|
+
"startIndex": 3,
|
|
719
|
+
"endIndex": 5
|
|
720
|
+
},
|
|
721
|
+
"releaseTag": "Public",
|
|
722
|
+
"overloadIndex": 1,
|
|
723
|
+
"parameters": [
|
|
724
|
+
{
|
|
725
|
+
"parameterName": "props",
|
|
726
|
+
"parameterTypeTokenRange": {
|
|
727
|
+
"startIndex": 1,
|
|
728
|
+
"endIndex": 2
|
|
729
|
+
},
|
|
730
|
+
"isOptional": false
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"name": "InlineCode"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"kind": "Interface",
|
|
737
|
+
"canonicalReference": "@alloy-js/markdown!InlineCodeProps:interface",
|
|
738
|
+
"docComment": "",
|
|
739
|
+
"excerptTokens": [
|
|
740
|
+
{
|
|
741
|
+
"kind": "Content",
|
|
742
|
+
"text": "export interface InlineCodeProps "
|
|
743
|
+
}
|
|
744
|
+
],
|
|
745
|
+
"fileUrlPath": "src/components/inline-code.tsx",
|
|
746
|
+
"releaseTag": "Public",
|
|
747
|
+
"name": "InlineCodeProps",
|
|
748
|
+
"preserveMemberOrder": false,
|
|
749
|
+
"members": [
|
|
750
|
+
{
|
|
751
|
+
"kind": "PropertySignature",
|
|
752
|
+
"canonicalReference": "@alloy-js/markdown!InlineCodeProps#children:member",
|
|
753
|
+
"docComment": "/**\n * Direct strings are escaped automatically. JSX and other non-string children are wrapped in single backticks unchanged; callers own escaping.\n */\n",
|
|
754
|
+
"excerptTokens": [
|
|
755
|
+
{
|
|
756
|
+
"kind": "Content",
|
|
757
|
+
"text": "children?: "
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"kind": "Reference",
|
|
761
|
+
"text": "Children",
|
|
762
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
763
|
+
},
|
|
764
|
+
{
|
|
765
|
+
"kind": "Content",
|
|
766
|
+
"text": ";"
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"isReadonly": false,
|
|
770
|
+
"isOptional": true,
|
|
771
|
+
"releaseTag": "Public",
|
|
772
|
+
"name": "children",
|
|
773
|
+
"propertyTypeTokenRange": {
|
|
774
|
+
"startIndex": 1,
|
|
775
|
+
"endIndex": 2
|
|
776
|
+
}
|
|
777
|
+
}
|
|
778
|
+
],
|
|
779
|
+
"extendsTokenRanges": []
|
|
780
|
+
},
|
|
657
781
|
{
|
|
658
782
|
"kind": "Function",
|
|
659
783
|
"canonicalReference": "@alloy-js/markdown!Link:function(1)",
|
|
@@ -759,7 +883,7 @@
|
|
|
759
883
|
{
|
|
760
884
|
"kind": "PropertySignature",
|
|
761
885
|
"canonicalReference": "@alloy-js/markdown!LinkPropsWithHref#href:member",
|
|
762
|
-
"docComment": "",
|
|
886
|
+
"docComment": "/**\n * Link destination.\n */\n",
|
|
763
887
|
"excerptTokens": [
|
|
764
888
|
{
|
|
765
889
|
"kind": "Content",
|
|
@@ -786,7 +910,7 @@
|
|
|
786
910
|
{
|
|
787
911
|
"kind": "PropertySignature",
|
|
788
912
|
"canonicalReference": "@alloy-js/markdown!LinkPropsWithHref#title:member",
|
|
789
|
-
"docComment": "",
|
|
913
|
+
"docComment": "/**\n * Link text.\n */\n",
|
|
790
914
|
"excerptTokens": [
|
|
791
915
|
{
|
|
792
916
|
"kind": "Content",
|
|
@@ -831,7 +955,7 @@
|
|
|
831
955
|
{
|
|
832
956
|
"kind": "PropertySignature",
|
|
833
957
|
"canonicalReference": "@alloy-js/markdown!LinkPropsWithRefkey#refkey:member",
|
|
834
|
-
"docComment": "",
|
|
958
|
+
"docComment": "/**\n * Key of the target heading, which may be declared later or in another file.\n */\n",
|
|
835
959
|
"excerptTokens": [
|
|
836
960
|
{
|
|
837
961
|
"kind": "Content",
|
|
@@ -855,6 +979,33 @@
|
|
|
855
979
|
"startIndex": 1,
|
|
856
980
|
"endIndex": 2
|
|
857
981
|
}
|
|
982
|
+
},
|
|
983
|
+
{
|
|
984
|
+
"kind": "PropertySignature",
|
|
985
|
+
"canonicalReference": "@alloy-js/markdown!LinkPropsWithRefkey#title:member",
|
|
986
|
+
"docComment": "/**\n * Override the link text. Defaults to the target heading's text, which requires the heading to have string children.\n */\n",
|
|
987
|
+
"excerptTokens": [
|
|
988
|
+
{
|
|
989
|
+
"kind": "Content",
|
|
990
|
+
"text": "title?: "
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"kind": "Content",
|
|
994
|
+
"text": "string"
|
|
995
|
+
},
|
|
996
|
+
{
|
|
997
|
+
"kind": "Content",
|
|
998
|
+
"text": ";"
|
|
999
|
+
}
|
|
1000
|
+
],
|
|
1001
|
+
"isReadonly": false,
|
|
1002
|
+
"isOptional": true,
|
|
1003
|
+
"releaseTag": "Public",
|
|
1004
|
+
"name": "title",
|
|
1005
|
+
"propertyTypeTokenRange": {
|
|
1006
|
+
"startIndex": 1,
|
|
1007
|
+
"endIndex": 2
|
|
1008
|
+
}
|
|
858
1009
|
}
|
|
859
1010
|
],
|
|
860
1011
|
"extendsTokenRanges": []
|
|
@@ -1269,6 +1420,398 @@
|
|
|
1269
1420
|
],
|
|
1270
1421
|
"extendsTokenRanges": []
|
|
1271
1422
|
},
|
|
1423
|
+
{
|
|
1424
|
+
"kind": "Function",
|
|
1425
|
+
"canonicalReference": "@alloy-js/markdown!Table:function(1)",
|
|
1426
|
+
"docComment": "/**\n * Render a GFM table with a header and optional body rows.\n *\n * Direct string cells are escaped, with newlines converted to inline HTML breaks. JSX output is not inspected; callers own its escaping and layout.\n */\n",
|
|
1427
|
+
"excerptTokens": [
|
|
1428
|
+
{
|
|
1429
|
+
"kind": "Content",
|
|
1430
|
+
"text": "export declare function Table(props: "
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"kind": "Reference",
|
|
1434
|
+
"text": "TableProps",
|
|
1435
|
+
"canonicalReference": "@alloy-js/markdown!TableProps:interface"
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"kind": "Content",
|
|
1439
|
+
"text": "): "
|
|
1440
|
+
},
|
|
1441
|
+
{
|
|
1442
|
+
"kind": "Content",
|
|
1443
|
+
"text": "() => "
|
|
1444
|
+
},
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "Reference",
|
|
1447
|
+
"text": "Children",
|
|
1448
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"kind": "Content",
|
|
1452
|
+
"text": ";"
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1456
|
+
"returnTypeTokenRange": {
|
|
1457
|
+
"startIndex": 3,
|
|
1458
|
+
"endIndex": 5
|
|
1459
|
+
},
|
|
1460
|
+
"releaseTag": "Public",
|
|
1461
|
+
"overloadIndex": 1,
|
|
1462
|
+
"parameters": [
|
|
1463
|
+
{
|
|
1464
|
+
"parameterName": "props",
|
|
1465
|
+
"parameterTypeTokenRange": {
|
|
1466
|
+
"startIndex": 1,
|
|
1467
|
+
"endIndex": 2
|
|
1468
|
+
},
|
|
1469
|
+
"isOptional": false
|
|
1470
|
+
}
|
|
1471
|
+
],
|
|
1472
|
+
"name": "Table"
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"kind": "Function",
|
|
1476
|
+
"canonicalReference": "@alloy-js/markdown!TableCell:function(1)",
|
|
1477
|
+
"docComment": "/**\n * Escape direct string children without inspecting rendered JSX output. Context-aware Markdown components can escape their own pipes. Other JSX remains uninspected; callers own its escaping and physical line breaks.\n */\n",
|
|
1478
|
+
"excerptTokens": [
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "Content",
|
|
1481
|
+
"text": "export declare function TableCell(props: "
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"kind": "Reference",
|
|
1485
|
+
"text": "TableCellProps",
|
|
1486
|
+
"canonicalReference": "@alloy-js/markdown!TableCellProps:interface"
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"kind": "Content",
|
|
1490
|
+
"text": "): "
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"kind": "Reference",
|
|
1494
|
+
"text": "Children",
|
|
1495
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"kind": "Content",
|
|
1499
|
+
"text": ";"
|
|
1500
|
+
}
|
|
1501
|
+
],
|
|
1502
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1503
|
+
"returnTypeTokenRange": {
|
|
1504
|
+
"startIndex": 3,
|
|
1505
|
+
"endIndex": 4
|
|
1506
|
+
},
|
|
1507
|
+
"releaseTag": "Public",
|
|
1508
|
+
"overloadIndex": 1,
|
|
1509
|
+
"parameters": [
|
|
1510
|
+
{
|
|
1511
|
+
"parameterName": "props",
|
|
1512
|
+
"parameterTypeTokenRange": {
|
|
1513
|
+
"startIndex": 1,
|
|
1514
|
+
"endIndex": 2
|
|
1515
|
+
},
|
|
1516
|
+
"isOptional": false
|
|
1517
|
+
}
|
|
1518
|
+
],
|
|
1519
|
+
"name": "TableCell"
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"kind": "Interface",
|
|
1523
|
+
"canonicalReference": "@alloy-js/markdown!TableCellProps:interface",
|
|
1524
|
+
"docComment": "",
|
|
1525
|
+
"excerptTokens": [
|
|
1526
|
+
{
|
|
1527
|
+
"kind": "Content",
|
|
1528
|
+
"text": "export interface TableCellProps "
|
|
1529
|
+
}
|
|
1530
|
+
],
|
|
1531
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1532
|
+
"releaseTag": "Public",
|
|
1533
|
+
"name": "TableCellProps",
|
|
1534
|
+
"preserveMemberOrder": false,
|
|
1535
|
+
"members": [
|
|
1536
|
+
{
|
|
1537
|
+
"kind": "PropertySignature",
|
|
1538
|
+
"canonicalReference": "@alloy-js/markdown!TableCellProps#children:member",
|
|
1539
|
+
"docComment": "/**\n * Direct strings are escaped as literal text. JSX is passed through.\n */\n",
|
|
1540
|
+
"excerptTokens": [
|
|
1541
|
+
{
|
|
1542
|
+
"kind": "Content",
|
|
1543
|
+
"text": "children?: "
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"kind": "Reference",
|
|
1547
|
+
"text": "Children",
|
|
1548
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
"kind": "Content",
|
|
1552
|
+
"text": ";"
|
|
1553
|
+
}
|
|
1554
|
+
],
|
|
1555
|
+
"isReadonly": false,
|
|
1556
|
+
"isOptional": true,
|
|
1557
|
+
"releaseTag": "Public",
|
|
1558
|
+
"name": "children",
|
|
1559
|
+
"propertyTypeTokenRange": {
|
|
1560
|
+
"startIndex": 1,
|
|
1561
|
+
"endIndex": 2
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
],
|
|
1565
|
+
"extendsTokenRanges": []
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"kind": "Interface",
|
|
1569
|
+
"canonicalReference": "@alloy-js/markdown!TableColumn:interface",
|
|
1570
|
+
"docComment": "",
|
|
1571
|
+
"excerptTokens": [
|
|
1572
|
+
{
|
|
1573
|
+
"kind": "Content",
|
|
1574
|
+
"text": "export interface TableColumn "
|
|
1575
|
+
}
|
|
1576
|
+
],
|
|
1577
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1578
|
+
"releaseTag": "Public",
|
|
1579
|
+
"name": "TableColumn",
|
|
1580
|
+
"preserveMemberOrder": false,
|
|
1581
|
+
"members": [
|
|
1582
|
+
{
|
|
1583
|
+
"kind": "PropertySignature",
|
|
1584
|
+
"canonicalReference": "@alloy-js/markdown!TableColumn#align:member",
|
|
1585
|
+
"docComment": "/**\n * Alignment of the column's contents.\n */\n",
|
|
1586
|
+
"excerptTokens": [
|
|
1587
|
+
{
|
|
1588
|
+
"kind": "Content",
|
|
1589
|
+
"text": "align?: "
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"kind": "Content",
|
|
1593
|
+
"text": "\"left\" | \"center\" | \"right\""
|
|
1594
|
+
},
|
|
1595
|
+
{
|
|
1596
|
+
"kind": "Content",
|
|
1597
|
+
"text": ";"
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
"isReadonly": false,
|
|
1601
|
+
"isOptional": true,
|
|
1602
|
+
"releaseTag": "Public",
|
|
1603
|
+
"name": "align",
|
|
1604
|
+
"propertyTypeTokenRange": {
|
|
1605
|
+
"startIndex": 1,
|
|
1606
|
+
"endIndex": 2
|
|
1607
|
+
}
|
|
1608
|
+
},
|
|
1609
|
+
{
|
|
1610
|
+
"kind": "PropertySignature",
|
|
1611
|
+
"canonicalReference": "@alloy-js/markdown!TableColumn#header:member",
|
|
1612
|
+
"docComment": "/**\n * Column heading. Direct strings are escaped; JSX is passed through.\n */\n",
|
|
1613
|
+
"excerptTokens": [
|
|
1614
|
+
{
|
|
1615
|
+
"kind": "Content",
|
|
1616
|
+
"text": "header: "
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
"kind": "Reference",
|
|
1620
|
+
"text": "Children",
|
|
1621
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"kind": "Content",
|
|
1625
|
+
"text": ";"
|
|
1626
|
+
}
|
|
1627
|
+
],
|
|
1628
|
+
"isReadonly": false,
|
|
1629
|
+
"isOptional": false,
|
|
1630
|
+
"releaseTag": "Public",
|
|
1631
|
+
"name": "header",
|
|
1632
|
+
"propertyTypeTokenRange": {
|
|
1633
|
+
"startIndex": 1,
|
|
1634
|
+
"endIndex": 2
|
|
1635
|
+
}
|
|
1636
|
+
}
|
|
1637
|
+
],
|
|
1638
|
+
"extendsTokenRanges": []
|
|
1639
|
+
},
|
|
1640
|
+
{
|
|
1641
|
+
"kind": "Interface",
|
|
1642
|
+
"canonicalReference": "@alloy-js/markdown!TableProps:interface",
|
|
1643
|
+
"docComment": "",
|
|
1644
|
+
"excerptTokens": [
|
|
1645
|
+
{
|
|
1646
|
+
"kind": "Content",
|
|
1647
|
+
"text": "export interface TableProps "
|
|
1648
|
+
}
|
|
1649
|
+
],
|
|
1650
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1651
|
+
"releaseTag": "Public",
|
|
1652
|
+
"name": "TableProps",
|
|
1653
|
+
"preserveMemberOrder": false,
|
|
1654
|
+
"members": [
|
|
1655
|
+
{
|
|
1656
|
+
"kind": "PropertySignature",
|
|
1657
|
+
"canonicalReference": "@alloy-js/markdown!TableProps#children:member",
|
|
1658
|
+
"docComment": "/**\n * TableRow components, with one TableCell per column.\n */\n",
|
|
1659
|
+
"excerptTokens": [
|
|
1660
|
+
{
|
|
1661
|
+
"kind": "Content",
|
|
1662
|
+
"text": "children?: "
|
|
1663
|
+
},
|
|
1664
|
+
{
|
|
1665
|
+
"kind": "Reference",
|
|
1666
|
+
"text": "Children",
|
|
1667
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
"kind": "Content",
|
|
1671
|
+
"text": ";"
|
|
1672
|
+
}
|
|
1673
|
+
],
|
|
1674
|
+
"isReadonly": false,
|
|
1675
|
+
"isOptional": true,
|
|
1676
|
+
"releaseTag": "Public",
|
|
1677
|
+
"name": "children",
|
|
1678
|
+
"propertyTypeTokenRange": {
|
|
1679
|
+
"startIndex": 1,
|
|
1680
|
+
"endIndex": 2
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1683
|
+
{
|
|
1684
|
+
"kind": "PropertySignature",
|
|
1685
|
+
"canonicalReference": "@alloy-js/markdown!TableProps#columns:member",
|
|
1686
|
+
"docComment": "/**\n * Columns in output order. At least one column is required.\n */\n",
|
|
1687
|
+
"excerptTokens": [
|
|
1688
|
+
{
|
|
1689
|
+
"kind": "Content",
|
|
1690
|
+
"text": "columns: "
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
"kind": "Content",
|
|
1694
|
+
"text": "readonly "
|
|
1695
|
+
},
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "Reference",
|
|
1698
|
+
"text": "TableColumn",
|
|
1699
|
+
"canonicalReference": "@alloy-js/markdown!TableColumn:interface"
|
|
1700
|
+
},
|
|
1701
|
+
{
|
|
1702
|
+
"kind": "Content",
|
|
1703
|
+
"text": "[]"
|
|
1704
|
+
},
|
|
1705
|
+
{
|
|
1706
|
+
"kind": "Content",
|
|
1707
|
+
"text": ";"
|
|
1708
|
+
}
|
|
1709
|
+
],
|
|
1710
|
+
"isReadonly": false,
|
|
1711
|
+
"isOptional": false,
|
|
1712
|
+
"releaseTag": "Public",
|
|
1713
|
+
"name": "columns",
|
|
1714
|
+
"propertyTypeTokenRange": {
|
|
1715
|
+
"startIndex": 1,
|
|
1716
|
+
"endIndex": 4
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
],
|
|
1720
|
+
"extendsTokenRanges": []
|
|
1721
|
+
},
|
|
1722
|
+
{
|
|
1723
|
+
"kind": "Function",
|
|
1724
|
+
"canonicalReference": "@alloy-js/markdown!TableRow:function(1)",
|
|
1725
|
+
"docComment": "/**\n * Render a single row. Provide one TableCell per column.\n */\n",
|
|
1726
|
+
"excerptTokens": [
|
|
1727
|
+
{
|
|
1728
|
+
"kind": "Content",
|
|
1729
|
+
"text": "export declare function TableRow(props: "
|
|
1730
|
+
},
|
|
1731
|
+
{
|
|
1732
|
+
"kind": "Reference",
|
|
1733
|
+
"text": "TableRowProps",
|
|
1734
|
+
"canonicalReference": "@alloy-js/markdown!TableRowProps:interface"
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
"kind": "Content",
|
|
1738
|
+
"text": "): "
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "Reference",
|
|
1742
|
+
"text": "Children",
|
|
1743
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "Content",
|
|
1747
|
+
"text": ";"
|
|
1748
|
+
}
|
|
1749
|
+
],
|
|
1750
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1751
|
+
"returnTypeTokenRange": {
|
|
1752
|
+
"startIndex": 3,
|
|
1753
|
+
"endIndex": 4
|
|
1754
|
+
},
|
|
1755
|
+
"releaseTag": "Public",
|
|
1756
|
+
"overloadIndex": 1,
|
|
1757
|
+
"parameters": [
|
|
1758
|
+
{
|
|
1759
|
+
"parameterName": "props",
|
|
1760
|
+
"parameterTypeTokenRange": {
|
|
1761
|
+
"startIndex": 1,
|
|
1762
|
+
"endIndex": 2
|
|
1763
|
+
},
|
|
1764
|
+
"isOptional": false
|
|
1765
|
+
}
|
|
1766
|
+
],
|
|
1767
|
+
"name": "TableRow"
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"kind": "Interface",
|
|
1771
|
+
"canonicalReference": "@alloy-js/markdown!TableRowProps:interface",
|
|
1772
|
+
"docComment": "",
|
|
1773
|
+
"excerptTokens": [
|
|
1774
|
+
{
|
|
1775
|
+
"kind": "Content",
|
|
1776
|
+
"text": "export interface TableRowProps "
|
|
1777
|
+
}
|
|
1778
|
+
],
|
|
1779
|
+
"fileUrlPath": "src/components/table.tsx",
|
|
1780
|
+
"releaseTag": "Public",
|
|
1781
|
+
"name": "TableRowProps",
|
|
1782
|
+
"preserveMemberOrder": false,
|
|
1783
|
+
"members": [
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "PropertySignature",
|
|
1786
|
+
"canonicalReference": "@alloy-js/markdown!TableRowProps#children:member",
|
|
1787
|
+
"docComment": "/**\n * TableCell components. Use an empty joiner when composing cells with For.\n */\n",
|
|
1788
|
+
"excerptTokens": [
|
|
1789
|
+
{
|
|
1790
|
+
"kind": "Content",
|
|
1791
|
+
"text": "children?: "
|
|
1792
|
+
},
|
|
1793
|
+
{
|
|
1794
|
+
"kind": "Reference",
|
|
1795
|
+
"text": "Children",
|
|
1796
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
1797
|
+
},
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "Content",
|
|
1800
|
+
"text": ";"
|
|
1801
|
+
}
|
|
1802
|
+
],
|
|
1803
|
+
"isReadonly": false,
|
|
1804
|
+
"isOptional": true,
|
|
1805
|
+
"releaseTag": "Public",
|
|
1806
|
+
"name": "children",
|
|
1807
|
+
"propertyTypeTokenRange": {
|
|
1808
|
+
"startIndex": 1,
|
|
1809
|
+
"endIndex": 2
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
],
|
|
1813
|
+
"extendsTokenRanges": []
|
|
1814
|
+
},
|
|
1272
1815
|
{
|
|
1273
1816
|
"kind": "Interface",
|
|
1274
1817
|
"canonicalReference": "@alloy-js/markdown!UnorderedListProps:interface",
|