@alloy-js/core 0.7.0 → 0.8.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 +26 -0
- package/babel.config.cjs +1 -4
- package/dist/src/binder.d.ts +13 -12
- package/dist/src/binder.d.ts.map +1 -1
- package/dist/src/binder.js +11 -23
- package/dist/src/binder.js.map +1 -1
- package/dist/src/code.d.ts +11 -2
- package/dist/src/code.d.ts.map +1 -1
- package/dist/src/code.js +27 -2
- package/dist/src/code.js.map +1 -1
- package/dist/src/components/Block.d.ts +2 -2
- package/dist/src/components/Block.d.ts.map +1 -1
- package/dist/src/components/Block.js +6 -5
- package/dist/src/components/Block.js.map +1 -1
- package/dist/src/components/Declaration.d.ts +31 -7
- package/dist/src/components/Declaration.d.ts.map +1 -1
- package/dist/src/components/Declaration.js +15 -7
- package/dist/src/components/Declaration.js.map +1 -1
- package/dist/src/components/For.d.ts +6 -0
- package/dist/src/components/For.d.ts.map +1 -1
- package/dist/src/components/For.js +2 -3
- package/dist/src/components/For.js.map +1 -1
- package/dist/src/components/Indent.d.ts +29 -1
- package/dist/src/components/Indent.d.ts.map +1 -1
- package/dist/src/components/Indent.js +7 -2
- package/dist/src/components/Indent.js.map +1 -1
- package/dist/src/components/List.d.ts +7 -3
- package/dist/src/components/List.d.ts.map +1 -1
- package/dist/src/components/List.js +1 -16
- package/dist/src/components/List.js.map +1 -1
- package/dist/src/components/MemberDeclaration.d.ts +35 -5
- package/dist/src/components/MemberDeclaration.d.ts.map +1 -1
- package/dist/src/components/MemberDeclaration.js +18 -7
- package/dist/src/components/MemberDeclaration.js.map +1 -1
- package/dist/src/components/MemberScope.d.ts +2 -0
- package/dist/src/components/MemberScope.d.ts.map +1 -1
- package/dist/src/components/MemberScope.js +2 -0
- package/dist/src/components/MemberScope.js.map +1 -1
- package/dist/src/components/Prose.d.ts +10 -0
- package/dist/src/components/Prose.d.ts.map +1 -0
- package/dist/src/components/Prose.js +23 -0
- package/dist/src/components/Prose.js.map +1 -0
- package/dist/src/components/Scope.d.ts +33 -2
- package/dist/src/components/Scope.d.ts.map +1 -1
- package/dist/src/components/Scope.js +20 -4
- package/dist/src/components/Scope.js.map +1 -1
- package/dist/src/components/SourceFile.d.ts +5 -0
- package/dist/src/components/SourceFile.d.ts.map +1 -1
- package/dist/src/components/SourceFile.js +10 -1
- package/dist/src/components/SourceFile.js.map +1 -1
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/components/index.d.ts.map +1 -1
- package/dist/src/components/index.js +1 -0
- package/dist/src/components/index.js.map +1 -1
- package/dist/src/components/stc/index.d.ts +19 -95
- package/dist/src/components/stc/index.d.ts.map +1 -1
- package/dist/src/components/stc/index.js +3 -6
- package/dist/src/components/stc/index.js.map +1 -1
- package/dist/src/components/stc/sti.d.ts +9 -0
- package/dist/src/components/stc/sti.d.ts.map +1 -0
- package/dist/src/components/stc/sti.js +10 -0
- package/dist/src/components/stc/sti.js.map +1 -0
- package/dist/src/context/assignment.d.ts +6 -0
- package/dist/src/context/assignment.d.ts.map +1 -1
- package/dist/src/context/assignment.js +7 -0
- package/dist/src/context/assignment.js.map +1 -1
- package/dist/src/context.d.ts +2 -0
- package/dist/src/context.d.ts.map +1 -1
- package/dist/src/context.js +12 -9
- package/dist/src/context.js.map +1 -1
- package/dist/src/index.d.ts +1 -0
- package/dist/src/index.d.ts.map +1 -1
- package/dist/src/index.js +1 -0
- package/dist/src/index.js.map +1 -1
- package/dist/src/jsx-runtime.d.ts +91 -0
- package/dist/src/jsx-runtime.d.ts.map +1 -1
- package/dist/src/jsx-runtime.js +46 -1
- package/dist/src/jsx-runtime.js.map +1 -1
- package/dist/src/stc.d.ts +5 -7
- package/dist/src/stc.d.ts.map +1 -1
- package/dist/src/stc.js +11 -23
- package/dist/src/stc.js.map +1 -1
- package/dist/src/sti.d.ts +11 -0
- package/dist/src/sti.d.ts.map +1 -0
- package/dist/src/sti.js +31 -0
- package/dist/src/sti.js.map +1 -0
- package/dist/src/tap.d.ts +69 -6
- package/dist/src/tap.d.ts.map +1 -1
- package/dist/src/tap.js +70 -0
- package/dist/src/tap.js.map +1 -1
- package/dist/src/utils.d.ts +5 -0
- package/dist/src/utils.d.ts.map +1 -1
- package/dist/src/utils.js +20 -0
- package/dist/src/utils.js.map +1 -1
- package/dist/test/components/prose.test.d.ts +2 -0
- package/dist/test/components/prose.test.d.ts.map +1 -0
- package/dist/test/props-with-defaults.test.d.ts +2 -0
- package/dist/test/props-with-defaults.test.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/binder.ts +20 -29
- package/src/code.ts +37 -3
- package/src/components/Block.tsx +3 -6
- package/src/components/Declaration.tsx +43 -11
- package/src/components/For.tsx +10 -3
- package/src/components/Indent.tsx +38 -5
- package/src/components/List.tsx +14 -40
- package/src/components/MemberDeclaration.tsx +51 -12
- package/src/components/MemberScope.tsx +2 -0
- package/src/components/Prose.tsx +35 -0
- package/src/components/Scope.tsx +45 -5
- package/src/components/SourceFile.tsx +10 -0
- package/src/components/index.tsx +1 -0
- package/src/components/stc/index.ts +3 -6
- package/src/components/stc/sti.ts +10 -0
- package/src/context/assignment.ts +7 -1
- package/src/context.ts +15 -11
- package/src/index.ts +1 -0
- package/src/jsx-runtime.ts +158 -0
- package/src/stc.ts +35 -56
- package/src/sti.ts +63 -0
- package/src/tap.ts +69 -6
- package/src/{utils.ts → utils.tsx} +45 -0
- package/temp/api.json +1509 -428
- package/test/components/declaration.test.tsx +1 -1
- package/test/components/prose.test.tsx +36 -0
- package/test/components/source-file.test.tsx +17 -0
- package/test/props-with-defaults.test.ts +97 -0
- package/test/symbols.test.ts +0 -25
- package/vitest.config.ts +2 -10
package/temp/api.json
CHANGED
|
@@ -221,7 +221,7 @@
|
|
|
221
221
|
{
|
|
222
222
|
"kind": "PropertySignature",
|
|
223
223
|
"canonicalReference": "@alloy-js/core!AssignmentContext#isAssigned:member",
|
|
224
|
-
"docComment": "/**\n * Whether the symbol has had a value assigned to it. Once the symbol has been assigned, subsequent assignments will have no effect.\n */\n",
|
|
224
|
+
"docComment": "/**\n * Whether the symbol has had a value assigned to it. Once the symbol has been\n * assigned, subsequent assignments will have no effect.\n */\n",
|
|
225
225
|
"excerptTokens": [
|
|
226
226
|
{
|
|
227
227
|
"kind": "Content",
|
|
@@ -279,7 +279,7 @@
|
|
|
279
279
|
{
|
|
280
280
|
"kind": "Variable",
|
|
281
281
|
"canonicalReference": "@alloy-js/core!AssignmentContext:var",
|
|
282
|
-
"docComment": "/**\n * AssignmentContext provides the symbol that is the target of the current assignment.\n *\n * @remarks\n *\n * When a variable is declared, the symbol for the variable doesn't yet know what value it will hold, because that depends on the assignment to the variable in the variable declaration's initializer. This context provides the symbol that is the target of the current assignment, so that children of an assignment or initializer can provide additional symbol information.\n *\n * For example, when assigning an object value expression to a variable, the object value expression should use assignment context to provide the member symbols for the object value's properties.\n */\n",
|
|
282
|
+
"docComment": "/**\n * AssignmentContext provides the symbol that is the target of the current\n * assignment.\n *\n * @remarks\n *\n *\n *\n * When a variable is declared, the symbol for the variable doesn't yet know\n * what value it will hold, because that depends on the assignment to the\n * variable in the variable declaration's initializer. This context provides the\n * symbol that is the target of the current assignment, so that children of an\n * assignment or initializer can provide additional symbol information.\n *\n * For example, when assigning an object value expression to a variable, the\n * object value expression should use assignment context to provide the member\n * symbols for the object value's properties.\n */\n",
|
|
283
283
|
"excerptTokens": [
|
|
284
284
|
{
|
|
285
285
|
"kind": "Content",
|
|
@@ -355,10 +355,37 @@
|
|
|
355
355
|
"endIndex": 2
|
|
356
356
|
}
|
|
357
357
|
},
|
|
358
|
+
{
|
|
359
|
+
"kind": "PropertySignature",
|
|
360
|
+
"canonicalReference": "@alloy-js/core!BaseListProps#doubleHardline:member",
|
|
361
|
+
"docComment": "/**\n * Place two hardlines between each element\n */\n",
|
|
362
|
+
"excerptTokens": [
|
|
363
|
+
{
|
|
364
|
+
"kind": "Content",
|
|
365
|
+
"text": "doubleHardline?: "
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "Content",
|
|
369
|
+
"text": "boolean"
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"kind": "Content",
|
|
373
|
+
"text": ";"
|
|
374
|
+
}
|
|
375
|
+
],
|
|
376
|
+
"isReadonly": false,
|
|
377
|
+
"isOptional": true,
|
|
378
|
+
"releaseTag": "Public",
|
|
379
|
+
"name": "doubleHardline",
|
|
380
|
+
"propertyTypeTokenRange": {
|
|
381
|
+
"startIndex": 1,
|
|
382
|
+
"endIndex": 2
|
|
383
|
+
}
|
|
384
|
+
},
|
|
358
385
|
{
|
|
359
386
|
"kind": "PropertySignature",
|
|
360
387
|
"canonicalReference": "@alloy-js/core!BaseListProps#ender:member",
|
|
361
|
-
"docComment": "/**\n * Text to place at the end of the list when there is at least one item. If set to true, the joiner is used.\n */\n",
|
|
388
|
+
"docComment": "/**\n * Text to place at the end of the list when there is at least one item. If\n * set to true, the joiner is used.\n */\n",
|
|
362
389
|
"excerptTokens": [
|
|
363
390
|
{
|
|
364
391
|
"kind": "Content",
|
|
@@ -413,7 +440,7 @@
|
|
|
413
440
|
{
|
|
414
441
|
"kind": "PropertySignature",
|
|
415
442
|
"canonicalReference": "@alloy-js/core!BaseListProps#hardline:member",
|
|
416
|
-
"docComment": "",
|
|
443
|
+
"docComment": "/**\n * Place a hardline (`<hbr />`) between each element\n */\n",
|
|
417
444
|
"excerptTokens": [
|
|
418
445
|
{
|
|
419
446
|
"kind": "Content",
|
|
@@ -468,7 +495,7 @@
|
|
|
468
495
|
{
|
|
469
496
|
"kind": "PropertySignature",
|
|
470
497
|
"canonicalReference": "@alloy-js/core!BaseListProps#line:member",
|
|
471
|
-
"docComment": "",
|
|
498
|
+
"docComment": "/**\n * Place a regular line (`<br />`) between each element\n */\n",
|
|
472
499
|
"excerptTokens": [
|
|
473
500
|
{
|
|
474
501
|
"kind": "Content",
|
|
@@ -495,7 +522,7 @@
|
|
|
495
522
|
{
|
|
496
523
|
"kind": "PropertySignature",
|
|
497
524
|
"canonicalReference": "@alloy-js/core!BaseListProps#literalline:member",
|
|
498
|
-
"docComment": "",
|
|
525
|
+
"docComment": "/**\n * Place a literal line (`<lbr />`) between each element\n */\n",
|
|
499
526
|
"excerptTokens": [
|
|
500
527
|
{
|
|
501
528
|
"kind": "Content",
|
|
@@ -549,7 +576,7 @@
|
|
|
549
576
|
{
|
|
550
577
|
"kind": "PropertySignature",
|
|
551
578
|
"canonicalReference": "@alloy-js/core!BaseListProps#softline:member",
|
|
552
|
-
"docComment": "",
|
|
579
|
+
"docComment": "/**\n * Place a softline (`<sbr />`) between each element\n */\n",
|
|
553
580
|
"excerptTokens": [
|
|
554
581
|
{
|
|
555
582
|
"kind": "Content",
|
|
@@ -576,7 +603,7 @@
|
|
|
576
603
|
{
|
|
577
604
|
"kind": "PropertySignature",
|
|
578
605
|
"canonicalReference": "@alloy-js/core!BaseListProps#space:member",
|
|
579
|
-
"docComment": "",
|
|
606
|
+
"docComment": "/**\n * Place a space between each element\n */\n",
|
|
580
607
|
"excerptTokens": [
|
|
581
608
|
{
|
|
582
609
|
"kind": "Content",
|
|
@@ -606,7 +633,7 @@
|
|
|
606
633
|
{
|
|
607
634
|
"kind": "Function",
|
|
608
635
|
"canonicalReference": "@alloy-js/core!baseListPropsToMapJoinArgs:function(1)",
|
|
609
|
-
"docComment": "",
|
|
636
|
+
"docComment": "/**\n * Convert a list of props to a joiner and ender for use in {@link (mapJoin:1)}.\n */\n",
|
|
610
637
|
"excerptTokens": [
|
|
611
638
|
{
|
|
612
639
|
"kind": "Content",
|
|
@@ -631,7 +658,7 @@
|
|
|
631
658
|
"text": ";"
|
|
632
659
|
}
|
|
633
660
|
],
|
|
634
|
-
"fileUrlPath": "src/
|
|
661
|
+
"fileUrlPath": "src/utils.tsx",
|
|
635
662
|
"returnTypeTokenRange": {
|
|
636
663
|
"startIndex": 3,
|
|
637
664
|
"endIndex": 4
|
|
@@ -653,7 +680,7 @@
|
|
|
653
680
|
{
|
|
654
681
|
"kind": "Interface",
|
|
655
682
|
"canonicalReference": "@alloy-js/core!Binder:interface",
|
|
656
|
-
"docComment": "/**\n * The binder tracks all output scopes and symbols. Scopes are nested containers for symbols.\n *\n * @remarks\n *\n * Symbol information is reactive because in certain situations this data may change. For example, when a symbol becomes conflicted with another symbol
|
|
683
|
+
"docComment": "/**\n * The binder tracks all output scopes and symbols. Scopes are nested containers\n * for symbols.\n *\n * @remarks\n *\n *\n *\n * Symbol information is reactive because in certain situations this data may\n * change. For example, when a symbol becomes conflicted with another symbol,\n * one of the symbol names may change. Ensure that you interact with binder\n * values in a reactive context (i.e. within JSX/code template, or within\n * memo/computed/etc).\n *\n */\n",
|
|
657
684
|
"excerptTokens": [
|
|
658
685
|
{
|
|
659
686
|
"kind": "Content",
|
|
@@ -760,7 +787,7 @@
|
|
|
760
787
|
{
|
|
761
788
|
"kind": "MethodSignature",
|
|
762
789
|
"canonicalReference": "@alloy-js/core!Binder#createScope:member(1)",
|
|
763
|
-
"docComment": "/**\n * Create a new scope. The scope will be added to the parent scope's children
|
|
790
|
+
"docComment": "/**\n * Create a new scope. The scope will be added to the parent scope's children.\n * The returned scope object is reactive.\n */\n",
|
|
764
791
|
"excerptTokens": [
|
|
765
792
|
{
|
|
766
793
|
"kind": "Content",
|
|
@@ -832,7 +859,7 @@
|
|
|
832
859
|
{
|
|
833
860
|
"kind": "MethodSignature",
|
|
834
861
|
"canonicalReference": "@alloy-js/core!Binder#createSymbol:member(1)",
|
|
835
|
-
"docComment": "/**\n * Create a new symbol. The symbol will be added to the parent scope's symbols
|
|
862
|
+
"docComment": "/**\n * Create a new symbol. The symbol will be added to the parent scope's symbols.\n * The returned symbol object is reactive.\n */\n",
|
|
836
863
|
"excerptTokens": [
|
|
837
864
|
{
|
|
838
865
|
"kind": "Content",
|
|
@@ -904,7 +931,7 @@
|
|
|
904
931
|
{
|
|
905
932
|
"kind": "MethodSignature",
|
|
906
933
|
"canonicalReference": "@alloy-js/core!Binder#deleteSymbol:member(1)",
|
|
907
|
-
"docComment": "/**\n * Delete the given symbol. The symbol will be removed from its parent's scope. Any resolutions to this symbol will become undefined.\n */\n",
|
|
934
|
+
"docComment": "/**\n * Delete the given symbol. The symbol will be removed from its parent's\n * scope. Any resolutions to this symbol will become undefined.\n */\n",
|
|
908
935
|
"excerptTokens": [
|
|
909
936
|
{
|
|
910
937
|
"kind": "Content",
|
|
@@ -1047,7 +1074,7 @@
|
|
|
1047
1074
|
{
|
|
1048
1075
|
"kind": "MethodSignature",
|
|
1049
1076
|
"canonicalReference": "@alloy-js/core!Binder#findSymbolName:member(1)",
|
|
1050
|
-
"docComment": "/**\n * Find a symbol with a given name in the given scope. Returns a ref for the symbol, such that when the symbol is available, the ref value will update.\n */\n",
|
|
1077
|
+
"docComment": "/**\n * Find a symbol with a given name in the given scope. Returns a ref\n * for the symbol, such that when the symbol is available, the ref value\n * will update.\n */\n",
|
|
1051
1078
|
"excerptTokens": [
|
|
1052
1079
|
{
|
|
1053
1080
|
"kind": "Content",
|
|
@@ -1201,7 +1228,7 @@
|
|
|
1201
1228
|
{
|
|
1202
1229
|
"kind": "MethodSignature",
|
|
1203
1230
|
"canonicalReference": "@alloy-js/core!Binder#instantiateSymbolInto:member(1)",
|
|
1204
|
-
"docComment": "/**\n * Instantiate the static members of a symbol into the instance members of another symbol.\n *\n * @param sourceSym - The symbol to add instance members to.\n *\n * @param targetSym - The symbol with the static members to instantiate.\n */\n",
|
|
1231
|
+
"docComment": "/**\n * Instantiate the static members of a symbol into the instance members of\n * another symbol.\n *\n * @param sourceSym - The symbol to add instance members to.\n *\n * @param targetSym - The symbol with the static members to instantiate.\n */\n",
|
|
1205
1232
|
"excerptTokens": [
|
|
1206
1233
|
{
|
|
1207
1234
|
"kind": "Content",
|
|
@@ -1264,7 +1291,7 @@
|
|
|
1264
1291
|
{
|
|
1265
1292
|
"kind": "MethodSignature",
|
|
1266
1293
|
"canonicalReference": "@alloy-js/core!Binder#resolveDeclarationByKey:member(1)",
|
|
1267
|
-
"docComment": "/**\n * Resolve the given refkey in the current scope.\n *\n * @returns
|
|
1294
|
+
"docComment": "/**\n * Resolve the given refkey in the current scope.\n *\n * @returns a ref for the resolution result.\n *\n * @see\n *\n * {@link resolve} a convenience function that uses the current scope and\n * binder.\n */\n",
|
|
1268
1295
|
"excerptTokens": [
|
|
1269
1296
|
{
|
|
1270
1297
|
"kind": "Content",
|
|
@@ -1416,7 +1443,7 @@
|
|
|
1416
1443
|
{
|
|
1417
1444
|
"kind": "MethodSignature",
|
|
1418
1445
|
"canonicalReference": "@alloy-js/core!Binder#resolveFQN:member(1)",
|
|
1419
|
-
"docComment": "/**\n * Resolve a fully qualified name to a symbol. Access a nested scope by name with `::`, a nested static member with `.` and a nested instance member with `#`.\n *\n * Per-language packages may provide their own resolveFQN function that uses syntax more natural to that
|
|
1446
|
+
"docComment": "/**\n * Resolve a fully qualified name to a symbol. Access a nested scope by name\n * with `::`, a nested static member with `.` and a nested instance member\n * with `#`.\n *\n * Per-language packages may provide their own resolveFQN function that uses\n * syntax more natural to that language.\n */\n",
|
|
1420
1447
|
"excerptTokens": [
|
|
1421
1448
|
{
|
|
1422
1449
|
"kind": "Content",
|
|
@@ -1529,7 +1556,7 @@
|
|
|
1529
1556
|
{
|
|
1530
1557
|
"kind": "Variable",
|
|
1531
1558
|
"canonicalReference": "@alloy-js/core!BinderContext:var",
|
|
1532
|
-
"docComment": "/**\n * The binder context provides the binder instance to all components. This context is provided by the {@link Output | output component}.\n */\n",
|
|
1559
|
+
"docComment": "/**\n * The binder context provides the binder instance to all components. This\n * context is provided by the {@link Output | output component}.\n */\n",
|
|
1533
1560
|
"excerptTokens": [
|
|
1534
1561
|
{
|
|
1535
1562
|
"kind": "Content",
|
|
@@ -1612,7 +1639,7 @@
|
|
|
1612
1639
|
{
|
|
1613
1640
|
"kind": "Function",
|
|
1614
1641
|
"canonicalReference": "@alloy-js/core!Block:function(1)",
|
|
1615
|
-
"docComment": "/**\n * Create an indented block of source text. The block has `opener` text which is added prior to the block, which defaults to
|
|
1642
|
+
"docComment": "/**\n * Create an indented block of source text. The block has `opener` text which is\n * added prior to the block, which defaults to `\"{\"`, and `closer` text which is\n * added after the block, which defaults to `\"}\"`.\n */\n",
|
|
1616
1643
|
"excerptTokens": [
|
|
1617
1644
|
{
|
|
1618
1645
|
"kind": "Content",
|
|
@@ -1729,7 +1756,7 @@
|
|
|
1729
1756
|
{
|
|
1730
1757
|
"kind": "PropertySignature",
|
|
1731
1758
|
"canonicalReference": "@alloy-js/core!BlockProps#newline:member",
|
|
1732
|
-
"docComment": "/**\n * Whether the block starts on a new line. When true, a hardline is added prior to the block.\n */\n",
|
|
1759
|
+
"docComment": "/**\n * Whether the block starts on a new line. When true, a hardline is added\n * prior to the block.\n */\n",
|
|
1733
1760
|
"excerptTokens": [
|
|
1734
1761
|
{
|
|
1735
1762
|
"kind": "Content",
|
|
@@ -1783,32 +1810,6 @@
|
|
|
1783
1810
|
],
|
|
1784
1811
|
"extendsTokenRanges": []
|
|
1785
1812
|
},
|
|
1786
|
-
{
|
|
1787
|
-
"kind": "TypeAlias",
|
|
1788
|
-
"canonicalReference": "@alloy-js/core!BreakKind:type",
|
|
1789
|
-
"docComment": "",
|
|
1790
|
-
"excerptTokens": [
|
|
1791
|
-
{
|
|
1792
|
-
"kind": "Content",
|
|
1793
|
-
"text": "export type BreakKind = "
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
"kind": "Content",
|
|
1797
|
-
"text": "\"none\" | \"space\" | \"soft\" | \"hard\" | \"literal\""
|
|
1798
|
-
},
|
|
1799
|
-
{
|
|
1800
|
-
"kind": "Content",
|
|
1801
|
-
"text": ";"
|
|
1802
|
-
}
|
|
1803
|
-
],
|
|
1804
|
-
"fileUrlPath": "src/components/List.tsx",
|
|
1805
|
-
"releaseTag": "Public",
|
|
1806
|
-
"name": "BreakKind",
|
|
1807
|
-
"typeTokenRange": {
|
|
1808
|
-
"startIndex": 1,
|
|
1809
|
-
"endIndex": 2
|
|
1810
|
-
}
|
|
1811
|
-
},
|
|
1812
1813
|
{
|
|
1813
1814
|
"kind": "TypeAlias",
|
|
1814
1815
|
"canonicalReference": "@alloy-js/core!BreakParentIntrinsicElement:type",
|
|
@@ -1941,7 +1942,7 @@
|
|
|
1941
1942
|
{
|
|
1942
1943
|
"kind": "Function",
|
|
1943
1944
|
"canonicalReference": "@alloy-js/core!children:function(1)",
|
|
1944
|
-
"docComment": "/**\n * Returns a memo which is a list of all the provided children
|
|
1945
|
+
"docComment": "/**\n * Returns a memo which is a list of all the provided children.\n * If you want this as an array, see {@link childrenArray}.\n */\n",
|
|
1945
1946
|
"excerptTokens": [
|
|
1946
1947
|
{
|
|
1947
1948
|
"kind": "Content",
|
|
@@ -1983,7 +1984,7 @@
|
|
|
1983
1984
|
"text": ";"
|
|
1984
1985
|
}
|
|
1985
1986
|
],
|
|
1986
|
-
"fileUrlPath": "src/utils.
|
|
1987
|
+
"fileUrlPath": "src/utils.tsx",
|
|
1987
1988
|
"returnTypeTokenRange": {
|
|
1988
1989
|
"startIndex": 6,
|
|
1989
1990
|
"endIndex": 8
|
|
@@ -2095,7 +2096,7 @@
|
|
|
2095
2096
|
"text": ";"
|
|
2096
2097
|
}
|
|
2097
2098
|
],
|
|
2098
|
-
"fileUrlPath": "src/utils.
|
|
2099
|
+
"fileUrlPath": "src/utils.tsx",
|
|
2099
2100
|
"returnTypeTokenRange": {
|
|
2100
2101
|
"startIndex": 6,
|
|
2101
2102
|
"endIndex": 8
|
|
@@ -2132,7 +2133,7 @@
|
|
|
2132
2133
|
"text": "export interface ChildrenOptions "
|
|
2133
2134
|
}
|
|
2134
2135
|
],
|
|
2135
|
-
"fileUrlPath": "src/utils.
|
|
2136
|
+
"fileUrlPath": "src/utils.tsx",
|
|
2136
2137
|
"releaseTag": "Public",
|
|
2137
2138
|
"name": "ChildrenOptions",
|
|
2138
2139
|
"preserveMemberOrder": false,
|
|
@@ -2170,7 +2171,7 @@
|
|
|
2170
2171
|
{
|
|
2171
2172
|
"kind": "Function",
|
|
2172
2173
|
"canonicalReference": "@alloy-js/core!code:function(1)",
|
|
2173
|
-
"docComment": "",
|
|
2174
|
+
"docComment": "/**\n * Turn the provided string template into Children by replacing literal line\n * breaks with hardlines and automatically indenting indented content. Similar\n * in spirit to the `<code>` element in HTML.\n *\n * @see\n *\n * {@link text} for a similar function which treats whitespace similar to\n * JSX template bodies.\n */\n",
|
|
2174
2175
|
"excerptTokens": [
|
|
2175
2176
|
{
|
|
2176
2177
|
"kind": "Content",
|
|
@@ -2200,12 +2201,8 @@
|
|
|
2200
2201
|
},
|
|
2201
2202
|
{
|
|
2202
2203
|
"kind": "Reference",
|
|
2203
|
-
"text": "
|
|
2204
|
-
"canonicalReference": "@alloy-js/core!
|
|
2205
|
-
},
|
|
2206
|
-
{
|
|
2207
|
-
"kind": "Content",
|
|
2208
|
-
"text": "[]"
|
|
2204
|
+
"text": "Children",
|
|
2205
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
2209
2206
|
},
|
|
2210
2207
|
{
|
|
2211
2208
|
"kind": "Content",
|
|
@@ -2215,7 +2212,7 @@
|
|
|
2215
2212
|
"fileUrlPath": "src/code.ts",
|
|
2216
2213
|
"returnTypeTokenRange": {
|
|
2217
2214
|
"startIndex": 6,
|
|
2218
|
-
"endIndex":
|
|
2215
|
+
"endIndex": 7
|
|
2219
2216
|
},
|
|
2220
2217
|
"releaseTag": "Public",
|
|
2221
2218
|
"overloadIndex": 1,
|
|
@@ -2499,6 +2496,47 @@
|
|
|
2499
2496
|
"startIndex": 1,
|
|
2500
2497
|
"endIndex": 5
|
|
2501
2498
|
}
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"kind": "PropertySignature",
|
|
2502
|
+
"canonicalReference": "@alloy-js/core!ComponentContext#ProviderStc:member",
|
|
2503
|
+
"docComment": "",
|
|
2504
|
+
"excerptTokens": [
|
|
2505
|
+
{
|
|
2506
|
+
"kind": "Content",
|
|
2507
|
+
"text": "ProviderStc: "
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"kind": "Reference",
|
|
2511
|
+
"text": "StcSignature",
|
|
2512
|
+
"canonicalReference": "@alloy-js/core!StcSignature:type"
|
|
2513
|
+
},
|
|
2514
|
+
{
|
|
2515
|
+
"kind": "Content",
|
|
2516
|
+
"text": "<"
|
|
2517
|
+
},
|
|
2518
|
+
{
|
|
2519
|
+
"kind": "Reference",
|
|
2520
|
+
"text": "ContextProviderProps",
|
|
2521
|
+
"canonicalReference": "@alloy-js/core!ContextProviderProps:interface"
|
|
2522
|
+
},
|
|
2523
|
+
{
|
|
2524
|
+
"kind": "Content",
|
|
2525
|
+
"text": "<T>>"
|
|
2526
|
+
},
|
|
2527
|
+
{
|
|
2528
|
+
"kind": "Content",
|
|
2529
|
+
"text": ";"
|
|
2530
|
+
}
|
|
2531
|
+
],
|
|
2532
|
+
"isReadonly": false,
|
|
2533
|
+
"isOptional": false,
|
|
2534
|
+
"releaseTag": "Public",
|
|
2535
|
+
"name": "ProviderStc",
|
|
2536
|
+
"propertyTypeTokenRange": {
|
|
2537
|
+
"startIndex": 1,
|
|
2538
|
+
"endIndex": 5
|
|
2539
|
+
}
|
|
2502
2540
|
}
|
|
2503
2541
|
],
|
|
2504
2542
|
"extendsTokenRanges": []
|
|
@@ -2759,7 +2797,7 @@
|
|
|
2759
2797
|
{
|
|
2760
2798
|
"kind": "PropertySignature",
|
|
2761
2799
|
"canonicalReference": "@alloy-js/core!Context#componentOwner:member",
|
|
2762
|
-
"docComment": "/**\n * When this context was created by a component, this will be the component that created it.\n */\n",
|
|
2800
|
+
"docComment": "/**\n * When this context was created by a component, this will\n * be the component that created it.\n */\n",
|
|
2763
2801
|
"excerptTokens": [
|
|
2764
2802
|
{
|
|
2765
2803
|
"kind": "Content",
|
|
@@ -2855,7 +2893,7 @@
|
|
|
2855
2893
|
{
|
|
2856
2894
|
"kind": "PropertySignature",
|
|
2857
2895
|
"canonicalReference": "@alloy-js/core!Context#elementCache:member",
|
|
2858
|
-
"docComment": "/**\n * A cache of RenderTextTree nodes created within this context
|
|
2896
|
+
"docComment": "/**\n * A cache of RenderTextTree nodes created within this context,\n * indexed by the component or function which created them.\n */\n",
|
|
2859
2897
|
"excerptTokens": [
|
|
2860
2898
|
{
|
|
2861
2899
|
"kind": "Content",
|
|
@@ -3081,7 +3119,7 @@
|
|
|
3081
3119
|
{
|
|
3082
3120
|
"kind": "Function",
|
|
3083
3121
|
"canonicalReference": "@alloy-js/core!createAssignmentContext:function(1)",
|
|
3084
|
-
"docComment": "/**\n * Creates a new {@link (AssignmentContext:interface)}.\n *\n * @param target - The symbol that is the target of the current assignment.\n *\n * @returns
|
|
3122
|
+
"docComment": "/**\n * Creates a new {@link (AssignmentContext:interface)}.\n *\n * @param target - The symbol that is the target of the current assignment.\n *\n * @returns A new {@link (AssignmentContext:interface)}.\n */\n",
|
|
3085
3123
|
"excerptTokens": [
|
|
3086
3124
|
{
|
|
3087
3125
|
"kind": "Content",
|
|
@@ -3372,7 +3410,7 @@
|
|
|
3372
3410
|
{
|
|
3373
3411
|
"kind": "Function",
|
|
3374
3412
|
"canonicalReference": "@alloy-js/core!createDeclarationTap:function(1)",
|
|
3375
|
-
"docComment": "",
|
|
3413
|
+
"docComment": "/**\n * Create a tap for {@link DeclarationContext}.\n */\n",
|
|
3376
3414
|
"excerptTokens": [
|
|
3377
3415
|
{
|
|
3378
3416
|
"kind": "Content",
|
|
@@ -3398,8 +3436,8 @@
|
|
|
3398
3436
|
},
|
|
3399
3437
|
{
|
|
3400
3438
|
"kind": "Reference",
|
|
3401
|
-
"text": "
|
|
3402
|
-
"canonicalReference": "@alloy-js/core!
|
|
3439
|
+
"text": "TapHandler",
|
|
3440
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
3403
3441
|
},
|
|
3404
3442
|
{
|
|
3405
3443
|
"kind": "Content",
|
|
@@ -3555,7 +3593,7 @@
|
|
|
3555
3593
|
{
|
|
3556
3594
|
"kind": "Function",
|
|
3557
3595
|
"canonicalReference": "@alloy-js/core!createMemberTap:function(1)",
|
|
3558
|
-
"docComment": "",
|
|
3596
|
+
"docComment": "/**\n * Create a tap for {@link MemberDeclarationContext}.\n */\n",
|
|
3559
3597
|
"excerptTokens": [
|
|
3560
3598
|
{
|
|
3561
3599
|
"kind": "Content",
|
|
@@ -3581,8 +3619,8 @@
|
|
|
3581
3619
|
},
|
|
3582
3620
|
{
|
|
3583
3621
|
"kind": "Reference",
|
|
3584
|
-
"text": "
|
|
3585
|
-
"canonicalReference": "@alloy-js/core!
|
|
3622
|
+
"text": "TapHandler",
|
|
3623
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
3586
3624
|
},
|
|
3587
3625
|
{
|
|
3588
3626
|
"kind": "Content",
|
|
@@ -3977,7 +4015,16 @@
|
|
|
3977
4015
|
},
|
|
3978
4016
|
{
|
|
3979
4017
|
"kind": "Content",
|
|
3980
|
-
"text": ";\n
|
|
4018
|
+
"text": ";\n metadata?: "
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
"kind": "Reference",
|
|
4022
|
+
"text": "Record",
|
|
4023
|
+
"canonicalReference": "!Record:type"
|
|
4024
|
+
},
|
|
4025
|
+
{
|
|
4026
|
+
"kind": "Content",
|
|
4027
|
+
"text": "<string, unknown>;\n} & "
|
|
3981
4028
|
},
|
|
3982
4029
|
{
|
|
3983
4030
|
"kind": "Reference",
|
|
@@ -4020,13 +4067,13 @@
|
|
|
4020
4067
|
],
|
|
4021
4068
|
"typeTokenRange": {
|
|
4022
4069
|
"startIndex": 5,
|
|
4023
|
-
"endIndex":
|
|
4070
|
+
"endIndex": 18
|
|
4024
4071
|
}
|
|
4025
4072
|
},
|
|
4026
4073
|
{
|
|
4027
4074
|
"kind": "Function",
|
|
4028
4075
|
"canonicalReference": "@alloy-js/core!createScopeTap:function(1)",
|
|
4029
|
-
"docComment": "",
|
|
4076
|
+
"docComment": "/**\n * Create a tap for {@link OutputScope}.\n */\n",
|
|
4030
4077
|
"excerptTokens": [
|
|
4031
4078
|
{
|
|
4032
4079
|
"kind": "Content",
|
|
@@ -4052,8 +4099,8 @@
|
|
|
4052
4099
|
},
|
|
4053
4100
|
{
|
|
4054
4101
|
"kind": "Reference",
|
|
4055
|
-
"text": "
|
|
4056
|
-
"canonicalReference": "@alloy-js/core!
|
|
4102
|
+
"text": "TapHandler",
|
|
4103
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
4057
4104
|
},
|
|
4058
4105
|
{
|
|
4059
4106
|
"kind": "Content",
|
|
@@ -4112,7 +4159,7 @@
|
|
|
4112
4159
|
{
|
|
4113
4160
|
"kind": "Function",
|
|
4114
4161
|
"canonicalReference": "@alloy-js/core!createSourceFileTap:function(1)",
|
|
4115
|
-
"docComment": "",
|
|
4162
|
+
"docComment": "/**\n * Create a tap for {@link (SourceFileContext:interface)}.\n */\n",
|
|
4116
4163
|
"excerptTokens": [
|
|
4117
4164
|
{
|
|
4118
4165
|
"kind": "Content",
|
|
@@ -4120,8 +4167,8 @@
|
|
|
4120
4167
|
},
|
|
4121
4168
|
{
|
|
4122
4169
|
"kind": "Reference",
|
|
4123
|
-
"text": "
|
|
4124
|
-
"canonicalReference": "@alloy-js/core!
|
|
4170
|
+
"text": "TapHandler",
|
|
4171
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
4125
4172
|
},
|
|
4126
4173
|
{
|
|
4127
4174
|
"kind": "Content",
|
|
@@ -4229,7 +4276,7 @@
|
|
|
4229
4276
|
},
|
|
4230
4277
|
{
|
|
4231
4278
|
"kind": "Content",
|
|
4232
|
-
"text": "
|
|
4279
|
+
"text": " | "
|
|
4233
4280
|
},
|
|
4234
4281
|
{
|
|
4235
4282
|
"kind": "Reference",
|
|
@@ -4247,7 +4294,16 @@
|
|
|
4247
4294
|
},
|
|
4248
4295
|
{
|
|
4249
4296
|
"kind": "Content",
|
|
4250
|
-
"text": ";\n
|
|
4297
|
+
"text": ";\n metadata?: "
|
|
4298
|
+
},
|
|
4299
|
+
{
|
|
4300
|
+
"kind": "Reference",
|
|
4301
|
+
"text": "Record",
|
|
4302
|
+
"canonicalReference": "!Record:type"
|
|
4303
|
+
},
|
|
4304
|
+
{
|
|
4305
|
+
"kind": "Content",
|
|
4306
|
+
"text": "<string, unknown>;\n} & "
|
|
4251
4307
|
},
|
|
4252
4308
|
{
|
|
4253
4309
|
"kind": "Reference",
|
|
@@ -4290,13 +4346,13 @@
|
|
|
4290
4346
|
],
|
|
4291
4347
|
"typeTokenRange": {
|
|
4292
4348
|
"startIndex": 5,
|
|
4293
|
-
"endIndex":
|
|
4349
|
+
"endIndex": 20
|
|
4294
4350
|
}
|
|
4295
4351
|
},
|
|
4296
4352
|
{
|
|
4297
4353
|
"kind": "Function",
|
|
4298
4354
|
"canonicalReference": "@alloy-js/core!createTap:function(1)",
|
|
4299
|
-
"docComment": "",
|
|
4355
|
+
"docComment": "/**\n * Create a component that when rendered, initializes the tapped value\n * with the provided callback. This is useful for accessing context\n * provided by child components inside a parent component.\n *\n * @example\n * ```tsx\n * import { type Children, computed, createTap } from \"@alloy-js/core\";\n *\n * // context we will tap into\n * const SomeContext = createContext<string>();\n *\n * // a component which provides some specific context\n * function MyDeclaration(props: { children: Children }) {\n * return <SomeContext.Provider value=\"Hello World\">\n * {props.children}\n * </SomeContext.Provider>;\n * }\n *\n * // a parent component which wants to know about the context set\n * // by its children\n * function MySpecialDeclaration() {\n * const SomeContextTap = createTap(() => useContext(SomeContext));\n *\n * return <>\n * The declaration context is: {SomeContextTap.ref}\n * <MyDeclaration>\n * <SomeContextTap />\n * </MyDeclaration>\n * </>\n * }\n *\n * @see {@link createDeclarationTap} for tapping {@link DeclarationContext}.\n * @see {@link createMemberTap} for tapping {@link MemberDeclarationContext}.\n * @see {@link createScopeTap} for tapping {@link OutputScope}.\n * @see {@link createSourceFileTap} for tapping {@link SourceFileContext}.\n * ```\n *\n */\n",
|
|
4300
4356
|
"excerptTokens": [
|
|
4301
4357
|
{
|
|
4302
4358
|
"kind": "Content",
|
|
@@ -4325,8 +4381,8 @@
|
|
|
4325
4381
|
},
|
|
4326
4382
|
{
|
|
4327
4383
|
"kind": "Reference",
|
|
4328
|
-
"text": "
|
|
4329
|
-
"canonicalReference": "@alloy-js/core!
|
|
4384
|
+
"text": "TapHandler",
|
|
4385
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface"
|
|
4330
4386
|
},
|
|
4331
4387
|
{
|
|
4332
4388
|
"kind": "Content",
|
|
@@ -4393,7 +4449,7 @@
|
|
|
4393
4449
|
{
|
|
4394
4450
|
"kind": "Interface",
|
|
4395
4451
|
"canonicalReference": "@alloy-js/core!CustomContext:interface",
|
|
4396
|
-
"docComment": "/**\n * Create a custom reactive context for the children returned by the provided context.\n */\n",
|
|
4452
|
+
"docComment": "/**\n * Create a custom reactive context for the children returned by\n * the provided context.\n */\n",
|
|
4397
4453
|
"excerptTokens": [
|
|
4398
4454
|
{
|
|
4399
4455
|
"kind": "Content",
|
|
@@ -4518,7 +4574,7 @@
|
|
|
4518
4574
|
{
|
|
4519
4575
|
"kind": "Function",
|
|
4520
4576
|
"canonicalReference": "@alloy-js/core!Declaration:function(1)",
|
|
4521
|
-
"docComment": "/**\n * Declares a symbol in the current scope for this component's children.\n *\n * @remarks\n *\n * This component must be called in one of two ways: with a name and an optional refkey, or else passing in the symbol. When called with a name and refkey, a symbol will be created in the current scope (provided by {@link ScopeContext}) with that name and refkey
|
|
4577
|
+
"docComment": "/**\n * Declares a symbol in the current scope for this component's children.\n *\n * @remarks\n *\n *\n *\n * This component must be called in one of two ways: with a name and an optional\n * refkey, or else passing in the symbol. When called with a name and refkey, a\n * symbol will be created in the current scope (provided by\n * {@link ScopeContext}) with that name and refkey.\n *\n * When called with a symbol, that symbol is merely exposed via\n * {@link DeclarationContext}. It is assumed that the caller of this component\n * has created the symbol with the `createSymbol` API on the\n * {@link BinderContext}.\n *\n * @see\n *\n * {@link BinderContext}\n */\n",
|
|
4522
4578
|
"excerptTokens": [
|
|
4523
4579
|
{
|
|
4524
4580
|
"kind": "Content",
|
|
@@ -4527,7 +4583,7 @@
|
|
|
4527
4583
|
{
|
|
4528
4584
|
"kind": "Reference",
|
|
4529
4585
|
"text": "DeclarationProps",
|
|
4530
|
-
"canonicalReference": "@alloy-js/core!DeclarationProps:
|
|
4586
|
+
"canonicalReference": "@alloy-js/core!DeclarationProps:type"
|
|
4531
4587
|
},
|
|
4532
4588
|
{
|
|
4533
4589
|
"kind": "Content",
|
|
@@ -4600,23 +4656,59 @@
|
|
|
4600
4656
|
}
|
|
4601
4657
|
},
|
|
4602
4658
|
{
|
|
4603
|
-
"kind": "
|
|
4604
|
-
"canonicalReference": "@alloy-js/core!DeclarationProps:
|
|
4659
|
+
"kind": "TypeAlias",
|
|
4660
|
+
"canonicalReference": "@alloy-js/core!DeclarationProps:type",
|
|
4605
4661
|
"docComment": "",
|
|
4606
4662
|
"excerptTokens": [
|
|
4607
4663
|
{
|
|
4608
4664
|
"kind": "Content",
|
|
4609
|
-
"text": "export
|
|
4665
|
+
"text": "export type DeclarationProps = "
|
|
4666
|
+
},
|
|
4667
|
+
{
|
|
4668
|
+
"kind": "Reference",
|
|
4669
|
+
"text": "DeclarationPropsWithSymbol",
|
|
4670
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol:interface"
|
|
4671
|
+
},
|
|
4672
|
+
{
|
|
4673
|
+
"kind": "Content",
|
|
4674
|
+
"text": " | "
|
|
4675
|
+
},
|
|
4676
|
+
{
|
|
4677
|
+
"kind": "Reference",
|
|
4678
|
+
"text": "DeclarationPropsWithInfo",
|
|
4679
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo:interface"
|
|
4680
|
+
},
|
|
4681
|
+
{
|
|
4682
|
+
"kind": "Content",
|
|
4683
|
+
"text": ";"
|
|
4610
4684
|
}
|
|
4611
4685
|
],
|
|
4612
4686
|
"fileUrlPath": "src/components/Declaration.tsx",
|
|
4613
4687
|
"releaseTag": "Public",
|
|
4614
4688
|
"name": "DeclarationProps",
|
|
4689
|
+
"typeTokenRange": {
|
|
4690
|
+
"startIndex": 1,
|
|
4691
|
+
"endIndex": 4
|
|
4692
|
+
}
|
|
4693
|
+
},
|
|
4694
|
+
{
|
|
4695
|
+
"kind": "Interface",
|
|
4696
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo:interface",
|
|
4697
|
+
"docComment": "/**\n * Create a declaration by providing a symbol name and optional symbol metadata.\n */\n",
|
|
4698
|
+
"excerptTokens": [
|
|
4699
|
+
{
|
|
4700
|
+
"kind": "Content",
|
|
4701
|
+
"text": "export interface DeclarationPropsWithInfo "
|
|
4702
|
+
}
|
|
4703
|
+
],
|
|
4704
|
+
"fileUrlPath": "src/components/Declaration.tsx",
|
|
4705
|
+
"releaseTag": "Public",
|
|
4706
|
+
"name": "DeclarationPropsWithInfo",
|
|
4615
4707
|
"preserveMemberOrder": false,
|
|
4616
4708
|
"members": [
|
|
4617
4709
|
{
|
|
4618
4710
|
"kind": "PropertySignature",
|
|
4619
|
-
"canonicalReference": "@alloy-js/core!
|
|
4711
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#children:member",
|
|
4620
4712
|
"docComment": "",
|
|
4621
4713
|
"excerptTokens": [
|
|
4622
4714
|
{
|
|
@@ -4644,16 +4736,21 @@
|
|
|
4644
4736
|
},
|
|
4645
4737
|
{
|
|
4646
4738
|
"kind": "PropertySignature",
|
|
4647
|
-
"canonicalReference": "@alloy-js/core!
|
|
4648
|
-
"docComment": "",
|
|
4739
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#metadata:member",
|
|
4740
|
+
"docComment": "/**\n * Additional metadata for the declared symbol.\n */\n",
|
|
4649
4741
|
"excerptTokens": [
|
|
4650
4742
|
{
|
|
4651
4743
|
"kind": "Content",
|
|
4652
|
-
"text": "
|
|
4744
|
+
"text": "metadata?: "
|
|
4745
|
+
},
|
|
4746
|
+
{
|
|
4747
|
+
"kind": "Reference",
|
|
4748
|
+
"text": "Record",
|
|
4749
|
+
"canonicalReference": "!Record:type"
|
|
4653
4750
|
},
|
|
4654
4751
|
{
|
|
4655
4752
|
"kind": "Content",
|
|
4656
|
-
"text": "string"
|
|
4753
|
+
"text": "<string, unknown>"
|
|
4657
4754
|
},
|
|
4658
4755
|
{
|
|
4659
4756
|
"kind": "Content",
|
|
@@ -4663,6 +4760,33 @@
|
|
|
4663
4760
|
"isReadonly": false,
|
|
4664
4761
|
"isOptional": true,
|
|
4665
4762
|
"releaseTag": "Public",
|
|
4763
|
+
"name": "metadata",
|
|
4764
|
+
"propertyTypeTokenRange": {
|
|
4765
|
+
"startIndex": 1,
|
|
4766
|
+
"endIndex": 3
|
|
4767
|
+
}
|
|
4768
|
+
},
|
|
4769
|
+
{
|
|
4770
|
+
"kind": "PropertySignature",
|
|
4771
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#name:member",
|
|
4772
|
+
"docComment": "/**\n * The name of this declaration.\n */\n",
|
|
4773
|
+
"excerptTokens": [
|
|
4774
|
+
{
|
|
4775
|
+
"kind": "Content",
|
|
4776
|
+
"text": "name: "
|
|
4777
|
+
},
|
|
4778
|
+
{
|
|
4779
|
+
"kind": "Content",
|
|
4780
|
+
"text": "string"
|
|
4781
|
+
},
|
|
4782
|
+
{
|
|
4783
|
+
"kind": "Content",
|
|
4784
|
+
"text": ";"
|
|
4785
|
+
}
|
|
4786
|
+
],
|
|
4787
|
+
"isReadonly": false,
|
|
4788
|
+
"isOptional": false,
|
|
4789
|
+
"releaseTag": "Public",
|
|
4666
4790
|
"name": "name",
|
|
4667
4791
|
"propertyTypeTokenRange": {
|
|
4668
4792
|
"startIndex": 1,
|
|
@@ -4671,8 +4795,8 @@
|
|
|
4671
4795
|
},
|
|
4672
4796
|
{
|
|
4673
4797
|
"kind": "PropertySignature",
|
|
4674
|
-
"canonicalReference": "@alloy-js/core!
|
|
4675
|
-
"docComment": "",
|
|
4798
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithInfo#refkey:member",
|
|
4799
|
+
"docComment": "/**\n * The unique key or array of unique keys for this declaration.\n */\n",
|
|
4676
4800
|
"excerptTokens": [
|
|
4677
4801
|
{
|
|
4678
4802
|
"kind": "Content",
|
|
@@ -4683,6 +4807,19 @@
|
|
|
4683
4807
|
"text": "Refkey",
|
|
4684
4808
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
4685
4809
|
},
|
|
4810
|
+
{
|
|
4811
|
+
"kind": "Content",
|
|
4812
|
+
"text": " | "
|
|
4813
|
+
},
|
|
4814
|
+
{
|
|
4815
|
+
"kind": "Reference",
|
|
4816
|
+
"text": "Refkey",
|
|
4817
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
4818
|
+
},
|
|
4819
|
+
{
|
|
4820
|
+
"kind": "Content",
|
|
4821
|
+
"text": "[]"
|
|
4822
|
+
},
|
|
4686
4823
|
{
|
|
4687
4824
|
"kind": "Content",
|
|
4688
4825
|
"text": ";"
|
|
@@ -4692,6 +4829,52 @@
|
|
|
4692
4829
|
"isOptional": true,
|
|
4693
4830
|
"releaseTag": "Public",
|
|
4694
4831
|
"name": "refkey",
|
|
4832
|
+
"propertyTypeTokenRange": {
|
|
4833
|
+
"startIndex": 1,
|
|
4834
|
+
"endIndex": 5
|
|
4835
|
+
}
|
|
4836
|
+
}
|
|
4837
|
+
],
|
|
4838
|
+
"extendsTokenRanges": []
|
|
4839
|
+
},
|
|
4840
|
+
{
|
|
4841
|
+
"kind": "Interface",
|
|
4842
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol:interface",
|
|
4843
|
+
"docComment": "/**\n * Create a declaration by providing an already created symbol. The symbol is\n * merely exposed via {@link DeclarationContext}.\n */\n",
|
|
4844
|
+
"excerptTokens": [
|
|
4845
|
+
{
|
|
4846
|
+
"kind": "Content",
|
|
4847
|
+
"text": "export interface DeclarationPropsWithSymbol "
|
|
4848
|
+
}
|
|
4849
|
+
],
|
|
4850
|
+
"fileUrlPath": "src/components/Declaration.tsx",
|
|
4851
|
+
"releaseTag": "Public",
|
|
4852
|
+
"name": "DeclarationPropsWithSymbol",
|
|
4853
|
+
"preserveMemberOrder": false,
|
|
4854
|
+
"members": [
|
|
4855
|
+
{
|
|
4856
|
+
"kind": "PropertySignature",
|
|
4857
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol#children:member",
|
|
4858
|
+
"docComment": "",
|
|
4859
|
+
"excerptTokens": [
|
|
4860
|
+
{
|
|
4861
|
+
"kind": "Content",
|
|
4862
|
+
"text": "children?: "
|
|
4863
|
+
},
|
|
4864
|
+
{
|
|
4865
|
+
"kind": "Reference",
|
|
4866
|
+
"text": "Children",
|
|
4867
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
4868
|
+
},
|
|
4869
|
+
{
|
|
4870
|
+
"kind": "Content",
|
|
4871
|
+
"text": ";"
|
|
4872
|
+
}
|
|
4873
|
+
],
|
|
4874
|
+
"isReadonly": false,
|
|
4875
|
+
"isOptional": true,
|
|
4876
|
+
"releaseTag": "Public",
|
|
4877
|
+
"name": "children",
|
|
4695
4878
|
"propertyTypeTokenRange": {
|
|
4696
4879
|
"startIndex": 1,
|
|
4697
4880
|
"endIndex": 2
|
|
@@ -4699,12 +4882,12 @@
|
|
|
4699
4882
|
},
|
|
4700
4883
|
{
|
|
4701
4884
|
"kind": "PropertySignature",
|
|
4702
|
-
"canonicalReference": "@alloy-js/core!
|
|
4703
|
-
"docComment": "",
|
|
4885
|
+
"canonicalReference": "@alloy-js/core!DeclarationPropsWithSymbol#symbol:member",
|
|
4886
|
+
"docComment": "/**\n * The symbol being declared. When provided, the name, refkey, and metadata\n * props are ignored.\n */\n",
|
|
4704
4887
|
"excerptTokens": [
|
|
4705
4888
|
{
|
|
4706
4889
|
"kind": "Content",
|
|
4707
|
-
"text": "symbol
|
|
4890
|
+
"text": "symbol: "
|
|
4708
4891
|
},
|
|
4709
4892
|
{
|
|
4710
4893
|
"kind": "Reference",
|
|
@@ -4717,7 +4900,7 @@
|
|
|
4717
4900
|
}
|
|
4718
4901
|
],
|
|
4719
4902
|
"isReadonly": false,
|
|
4720
|
-
"isOptional":
|
|
4903
|
+
"isOptional": false,
|
|
4721
4904
|
"releaseTag": "Public",
|
|
4722
4905
|
"name": "symbol",
|
|
4723
4906
|
"propertyTypeTokenRange": {
|
|
@@ -4791,20 +4974,107 @@
|
|
|
4791
4974
|
}
|
|
4792
4975
|
},
|
|
4793
4976
|
{
|
|
4794
|
-
"kind": "
|
|
4795
|
-
"canonicalReference": "@alloy-js/core!
|
|
4796
|
-
"docComment": "",
|
|
4977
|
+
"kind": "Function",
|
|
4978
|
+
"canonicalReference": "@alloy-js/core!defaultProps:function(1)",
|
|
4979
|
+
"docComment": "/**\n * Applies default values to a props object. Reactive props are handled properly\n * by ensuring that their value is not accessed by `defaultProps`, avoiding any\n * unintended side effects.\n */\n",
|
|
4797
4980
|
"excerptTokens": [
|
|
4798
4981
|
{
|
|
4799
4982
|
"kind": "Content",
|
|
4800
|
-
"text": "export
|
|
4801
|
-
}
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4983
|
+
"text": "export declare function defaultProps<T extends "
|
|
4984
|
+
},
|
|
4985
|
+
{
|
|
4986
|
+
"kind": "Content",
|
|
4987
|
+
"text": "{}"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"kind": "Content",
|
|
4991
|
+
"text": ">(props: "
|
|
4992
|
+
},
|
|
4993
|
+
{
|
|
4994
|
+
"kind": "Content",
|
|
4995
|
+
"text": "T"
|
|
4996
|
+
},
|
|
4997
|
+
{
|
|
4998
|
+
"kind": "Content",
|
|
4999
|
+
"text": ", defaults: "
|
|
5000
|
+
},
|
|
5001
|
+
{
|
|
5002
|
+
"kind": "Reference",
|
|
5003
|
+
"text": "Partial",
|
|
5004
|
+
"canonicalReference": "!Partial:type"
|
|
5005
|
+
},
|
|
5006
|
+
{
|
|
5007
|
+
"kind": "Content",
|
|
5008
|
+
"text": "<T>"
|
|
5009
|
+
},
|
|
5010
|
+
{
|
|
5011
|
+
"kind": "Content",
|
|
5012
|
+
"text": "): "
|
|
5013
|
+
},
|
|
5014
|
+
{
|
|
5015
|
+
"kind": "Content",
|
|
5016
|
+
"text": "T"
|
|
5017
|
+
},
|
|
5018
|
+
{
|
|
5019
|
+
"kind": "Content",
|
|
5020
|
+
"text": ";"
|
|
5021
|
+
}
|
|
5022
|
+
],
|
|
5023
|
+
"fileUrlPath": "src/jsx-runtime.ts",
|
|
5024
|
+
"returnTypeTokenRange": {
|
|
5025
|
+
"startIndex": 8,
|
|
5026
|
+
"endIndex": 9
|
|
5027
|
+
},
|
|
5028
|
+
"releaseTag": "Public",
|
|
5029
|
+
"overloadIndex": 1,
|
|
5030
|
+
"parameters": [
|
|
5031
|
+
{
|
|
5032
|
+
"parameterName": "props",
|
|
5033
|
+
"parameterTypeTokenRange": {
|
|
5034
|
+
"startIndex": 3,
|
|
5035
|
+
"endIndex": 4
|
|
5036
|
+
},
|
|
5037
|
+
"isOptional": false
|
|
5038
|
+
},
|
|
5039
|
+
{
|
|
5040
|
+
"parameterName": "defaults",
|
|
5041
|
+
"parameterTypeTokenRange": {
|
|
5042
|
+
"startIndex": 5,
|
|
5043
|
+
"endIndex": 7
|
|
5044
|
+
},
|
|
5045
|
+
"isOptional": false
|
|
5046
|
+
}
|
|
5047
|
+
],
|
|
5048
|
+
"typeParameters": [
|
|
5049
|
+
{
|
|
5050
|
+
"typeParameterName": "T",
|
|
5051
|
+
"constraintTokenRange": {
|
|
5052
|
+
"startIndex": 1,
|
|
5053
|
+
"endIndex": 2
|
|
5054
|
+
},
|
|
5055
|
+
"defaultTypeTokenRange": {
|
|
5056
|
+
"startIndex": 0,
|
|
5057
|
+
"endIndex": 0
|
|
5058
|
+
}
|
|
5059
|
+
}
|
|
5060
|
+
],
|
|
5061
|
+
"name": "defaultProps"
|
|
5062
|
+
},
|
|
5063
|
+
{
|
|
5064
|
+
"kind": "Interface",
|
|
5065
|
+
"canonicalReference": "@alloy-js/core!Disposable_2:interface",
|
|
5066
|
+
"docComment": "",
|
|
5067
|
+
"excerptTokens": [
|
|
5068
|
+
{
|
|
5069
|
+
"kind": "Content",
|
|
5070
|
+
"text": "export interface Disposable "
|
|
5071
|
+
}
|
|
5072
|
+
],
|
|
5073
|
+
"fileUrlPath": "src/jsx-runtime.ts",
|
|
5074
|
+
"releaseTag": "Public",
|
|
5075
|
+
"name": "Disposable_2",
|
|
5076
|
+
"preserveMemberOrder": false,
|
|
5077
|
+
"members": [
|
|
4808
5078
|
{
|
|
4809
5079
|
"kind": "CallSignature",
|
|
4810
5080
|
"canonicalReference": "@alloy-js/core!Disposable_2:call(1)",
|
|
@@ -5077,7 +5347,7 @@
|
|
|
5077
5347
|
"text": ";"
|
|
5078
5348
|
}
|
|
5079
5349
|
],
|
|
5080
|
-
"fileUrlPath": "src/utils.
|
|
5350
|
+
"fileUrlPath": "src/utils.tsx",
|
|
5081
5351
|
"returnTypeTokenRange": {
|
|
5082
5352
|
"startIndex": 6,
|
|
5083
5353
|
"endIndex": 10
|
|
@@ -5157,7 +5427,7 @@
|
|
|
5157
5427
|
"text": ";"
|
|
5158
5428
|
}
|
|
5159
5429
|
],
|
|
5160
|
-
"fileUrlPath": "src/utils.
|
|
5430
|
+
"fileUrlPath": "src/utils.tsx",
|
|
5161
5431
|
"returnTypeTokenRange": {
|
|
5162
5432
|
"startIndex": 6,
|
|
5163
5433
|
"endIndex": 10
|
|
@@ -5220,7 +5490,7 @@
|
|
|
5220
5490
|
"text": ";"
|
|
5221
5491
|
}
|
|
5222
5492
|
],
|
|
5223
|
-
"fileUrlPath": "src/utils.
|
|
5493
|
+
"fileUrlPath": "src/utils.tsx",
|
|
5224
5494
|
"returnTypeTokenRange": {
|
|
5225
5495
|
"startIndex": 4,
|
|
5226
5496
|
"endIndex": 6
|
|
@@ -5242,7 +5512,7 @@
|
|
|
5242
5512
|
{
|
|
5243
5513
|
"kind": "Function",
|
|
5244
5514
|
"canonicalReference": "@alloy-js/core!For:function(1)",
|
|
5245
|
-
"docComment": "/**\n * The For component iterates over the provided array and invokes the child callback for each item. It can optionally be provided with a `joiner` which is placed between each item, and an `ender` which is placed after the last item when there is at least one item.\n *\n * @remarks\n *\n * When the `each` prop is a reactive (e.g. a reactive array, or ref to an array), `For` will automatically update when the array changes. When doing so, it will attempt to avoid re-rendering items which have not changed. For example, when appending an item to a reactive array, existing items will not be re-rendered. Note that presently the implementation is fairly simple
|
|
5515
|
+
"docComment": "/**\n * The For component iterates over the provided array and invokes the child\n * callback for each item. It can optionally be provided with a `joiner` which\n * is placed between each item, and an `ender` which is placed after the last\n * item when there is at least one item.\n *\n * @remarks\n *\n *\n *\n * When the `each` prop is a reactive (e.g. a reactive array, or ref to an\n * array), `For` will automatically update when the array changes. When doing\n * so, it will attempt to avoid re-rendering items which have not changed. For\n * example, when appending an item to a reactive array, existing items will not\n * be re-rendered. Note that presently the implementation is fairly simple -\n * when making modifications to the middle of an array it likely that every\n * element after the modification will be rerendered.\n *\n * @example\n *\n *\n *\n * ```tsx\n * const items = [\"apple\", \"pear\", \"plum\"];\n * return <For each={items}>\n * {(item) => <>Fruit: {item}</>}\n * </For>\n * ```\n *\n * @see\n *\n * {@link (mapJoin:1)} for mapping arrays to elements outside of JSX templates.\n */\n",
|
|
5246
5516
|
"excerptTokens": [
|
|
5247
5517
|
{
|
|
5248
5518
|
"kind": "Content",
|
|
@@ -5605,6 +5875,33 @@
|
|
|
5605
5875
|
"startIndex": 1,
|
|
5606
5876
|
"endIndex": 2
|
|
5607
5877
|
}
|
|
5878
|
+
},
|
|
5879
|
+
{
|
|
5880
|
+
"kind": "PropertySignature",
|
|
5881
|
+
"canonicalReference": "@alloy-js/core!ForProps#skipFalsy:member",
|
|
5882
|
+
"docComment": "/**\n * Whether to skip falsy values. By default, falsy values are mapped. However,\n * when mapping children, it is useful to skip falsy values, as it enables\n * omitting list elements via patterns like `{condition && <ListItem />}`.\n */\n",
|
|
5883
|
+
"excerptTokens": [
|
|
5884
|
+
{
|
|
5885
|
+
"kind": "Content",
|
|
5886
|
+
"text": "skipFalsy?: "
|
|
5887
|
+
},
|
|
5888
|
+
{
|
|
5889
|
+
"kind": "Content",
|
|
5890
|
+
"text": "boolean"
|
|
5891
|
+
},
|
|
5892
|
+
{
|
|
5893
|
+
"kind": "Content",
|
|
5894
|
+
"text": ";"
|
|
5895
|
+
}
|
|
5896
|
+
],
|
|
5897
|
+
"isReadonly": false,
|
|
5898
|
+
"isOptional": true,
|
|
5899
|
+
"releaseTag": "Public",
|
|
5900
|
+
"name": "skipFalsy",
|
|
5901
|
+
"propertyTypeTokenRange": {
|
|
5902
|
+
"startIndex": 1,
|
|
5903
|
+
"endIndex": 2
|
|
5904
|
+
}
|
|
5608
5905
|
}
|
|
5609
5906
|
],
|
|
5610
5907
|
"extendsTokenRanges": [
|
|
@@ -5661,7 +5958,7 @@
|
|
|
5661
5958
|
{
|
|
5662
5959
|
"kind": "Function",
|
|
5663
5960
|
"canonicalReference": "@alloy-js/core!getAssignmentSymbol:function(1)",
|
|
5664
|
-
"docComment": "",
|
|
5961
|
+
"docComment": "/**\n * Get the symbol being defined.\n *\n * @returns The symbol currently being defined, or `undefined` if no symbol is\n * being defined.\n */\n",
|
|
5665
5962
|
"excerptTokens": [
|
|
5666
5963
|
{
|
|
5667
5964
|
"kind": "Content",
|
|
@@ -5928,80 +6225,6 @@
|
|
|
5928
6225
|
"endIndex": 3
|
|
5929
6226
|
}
|
|
5930
6227
|
},
|
|
5931
|
-
{
|
|
5932
|
-
"kind": "Interface",
|
|
5933
|
-
"canonicalReference": "@alloy-js/core!Handler:interface",
|
|
5934
|
-
"docComment": "",
|
|
5935
|
-
"excerptTokens": [
|
|
5936
|
-
{
|
|
5937
|
-
"kind": "Content",
|
|
5938
|
-
"text": "export interface Handler<T> "
|
|
5939
|
-
}
|
|
5940
|
-
],
|
|
5941
|
-
"fileUrlPath": "src/tap.ts",
|
|
5942
|
-
"releaseTag": "Public",
|
|
5943
|
-
"typeParameters": [
|
|
5944
|
-
{
|
|
5945
|
-
"typeParameterName": "T",
|
|
5946
|
-
"constraintTokenRange": {
|
|
5947
|
-
"startIndex": 0,
|
|
5948
|
-
"endIndex": 0
|
|
5949
|
-
},
|
|
5950
|
-
"defaultTypeTokenRange": {
|
|
5951
|
-
"startIndex": 0,
|
|
5952
|
-
"endIndex": 0
|
|
5953
|
-
}
|
|
5954
|
-
}
|
|
5955
|
-
],
|
|
5956
|
-
"name": "Handler",
|
|
5957
|
-
"preserveMemberOrder": false,
|
|
5958
|
-
"members": [
|
|
5959
|
-
{
|
|
5960
|
-
"kind": "CallSignature",
|
|
5961
|
-
"canonicalReference": "@alloy-js/core!Handler:call(1)",
|
|
5962
|
-
"docComment": "",
|
|
5963
|
-
"excerptTokens": [
|
|
5964
|
-
{
|
|
5965
|
-
"kind": "Content",
|
|
5966
|
-
"text": "(value: "
|
|
5967
|
-
},
|
|
5968
|
-
{
|
|
5969
|
-
"kind": "Content",
|
|
5970
|
-
"text": "T"
|
|
5971
|
-
},
|
|
5972
|
-
{
|
|
5973
|
-
"kind": "Content",
|
|
5974
|
-
"text": "): "
|
|
5975
|
-
},
|
|
5976
|
-
{
|
|
5977
|
-
"kind": "Content",
|
|
5978
|
-
"text": "void"
|
|
5979
|
-
},
|
|
5980
|
-
{
|
|
5981
|
-
"kind": "Content",
|
|
5982
|
-
"text": ";"
|
|
5983
|
-
}
|
|
5984
|
-
],
|
|
5985
|
-
"returnTypeTokenRange": {
|
|
5986
|
-
"startIndex": 3,
|
|
5987
|
-
"endIndex": 4
|
|
5988
|
-
},
|
|
5989
|
-
"releaseTag": "Public",
|
|
5990
|
-
"overloadIndex": 1,
|
|
5991
|
-
"parameters": [
|
|
5992
|
-
{
|
|
5993
|
-
"parameterName": "value",
|
|
5994
|
-
"parameterTypeTokenRange": {
|
|
5995
|
-
"startIndex": 1,
|
|
5996
|
-
"endIndex": 2
|
|
5997
|
-
},
|
|
5998
|
-
"isOptional": false
|
|
5999
|
-
}
|
|
6000
|
-
]
|
|
6001
|
-
}
|
|
6002
|
-
],
|
|
6003
|
-
"extendsTokenRanges": []
|
|
6004
|
-
},
|
|
6005
6228
|
{
|
|
6006
6229
|
"kind": "TypeAlias",
|
|
6007
6230
|
"canonicalReference": "@alloy-js/core!HardlineIntrinsicElement:type",
|
|
@@ -6098,7 +6321,7 @@
|
|
|
6098
6321
|
{
|
|
6099
6322
|
"kind": "Function",
|
|
6100
6323
|
"canonicalReference": "@alloy-js/core!Indent:function(1)",
|
|
6101
|
-
"docComment": "",
|
|
6324
|
+
"docComment": "/**\n * Create an indented block of source text. The indented block starts a new line\n * at the new indentation level and, with `trailingBreak`, ends with a new line\n * after restoring the indentation level. The default line break is a hard line\n * break suitable for typical blocks of statements but can be configured.\n */\n",
|
|
6102
6325
|
"excerptTokens": [
|
|
6103
6326
|
{
|
|
6104
6327
|
"kind": "Content",
|
|
@@ -6221,16 +6444,44 @@
|
|
|
6221
6444
|
"members": [
|
|
6222
6445
|
{
|
|
6223
6446
|
"kind": "PropertySignature",
|
|
6224
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6447
|
+
"canonicalReference": "@alloy-js/core!IndentProps#children:member",
|
|
6225
6448
|
"docComment": "",
|
|
6226
6449
|
"excerptTokens": [
|
|
6227
6450
|
{
|
|
6228
6451
|
"kind": "Content",
|
|
6229
|
-
"text": "
|
|
6452
|
+
"text": "children: "
|
|
6453
|
+
},
|
|
6454
|
+
{
|
|
6455
|
+
"kind": "Reference",
|
|
6456
|
+
"text": "Children",
|
|
6457
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6458
|
+
},
|
|
6459
|
+
{
|
|
6460
|
+
"kind": "Content",
|
|
6461
|
+
"text": ";"
|
|
6462
|
+
}
|
|
6463
|
+
],
|
|
6464
|
+
"isReadonly": false,
|
|
6465
|
+
"isOptional": false,
|
|
6466
|
+
"releaseTag": "Public",
|
|
6467
|
+
"name": "children",
|
|
6468
|
+
"propertyTypeTokenRange": {
|
|
6469
|
+
"startIndex": 1,
|
|
6470
|
+
"endIndex": 2
|
|
6471
|
+
}
|
|
6472
|
+
},
|
|
6473
|
+
{
|
|
6474
|
+
"kind": "PropertySignature",
|
|
6475
|
+
"canonicalReference": "@alloy-js/core!IndentProps#hardline:member",
|
|
6476
|
+
"docComment": "/**\n * Use a hard line (`<hbr />`) to start (and optionally end with\n * `trailingBreak`) the new indentation level.\n */\n",
|
|
6477
|
+
"excerptTokens": [
|
|
6478
|
+
{
|
|
6479
|
+
"kind": "Content",
|
|
6480
|
+
"text": "hardline?: "
|
|
6230
6481
|
},
|
|
6231
6482
|
{
|
|
6232
6483
|
"kind": "Content",
|
|
6233
|
-
"text": "
|
|
6484
|
+
"text": "boolean"
|
|
6234
6485
|
},
|
|
6235
6486
|
{
|
|
6236
6487
|
"kind": "Content",
|
|
@@ -6240,7 +6491,7 @@
|
|
|
6240
6491
|
"isReadonly": false,
|
|
6241
6492
|
"isOptional": true,
|
|
6242
6493
|
"releaseTag": "Public",
|
|
6243
|
-
"name": "
|
|
6494
|
+
"name": "hardline",
|
|
6244
6495
|
"propertyTypeTokenRange": {
|
|
6245
6496
|
"startIndex": 1,
|
|
6246
6497
|
"endIndex": 2
|
|
@@ -6248,17 +6499,16 @@
|
|
|
6248
6499
|
},
|
|
6249
6500
|
{
|
|
6250
6501
|
"kind": "PropertySignature",
|
|
6251
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6252
|
-
"docComment": "",
|
|
6502
|
+
"canonicalReference": "@alloy-js/core!IndentProps#line:member",
|
|
6503
|
+
"docComment": "/**\n * Use a regular line (`<br />`) to start (and optionally end with\n * `trailingBreak`) the new indentation level.\n */\n",
|
|
6253
6504
|
"excerptTokens": [
|
|
6254
6505
|
{
|
|
6255
6506
|
"kind": "Content",
|
|
6256
|
-
"text": "
|
|
6507
|
+
"text": "line?: "
|
|
6257
6508
|
},
|
|
6258
6509
|
{
|
|
6259
|
-
"kind": "
|
|
6260
|
-
"text": "
|
|
6261
|
-
"canonicalReference": "@alloy-js/core!Children:type"
|
|
6510
|
+
"kind": "Content",
|
|
6511
|
+
"text": "boolean"
|
|
6262
6512
|
},
|
|
6263
6513
|
{
|
|
6264
6514
|
"kind": "Content",
|
|
@@ -6266,9 +6516,9 @@
|
|
|
6266
6516
|
}
|
|
6267
6517
|
],
|
|
6268
6518
|
"isReadonly": false,
|
|
6269
|
-
"isOptional":
|
|
6519
|
+
"isOptional": true,
|
|
6270
6520
|
"releaseTag": "Public",
|
|
6271
|
-
"name": "
|
|
6521
|
+
"name": "line",
|
|
6272
6522
|
"propertyTypeTokenRange": {
|
|
6273
6523
|
"startIndex": 1,
|
|
6274
6524
|
"endIndex": 2
|
|
@@ -6277,7 +6527,7 @@
|
|
|
6277
6527
|
{
|
|
6278
6528
|
"kind": "PropertySignature",
|
|
6279
6529
|
"canonicalReference": "@alloy-js/core!IndentProps#nobreak:member",
|
|
6280
|
-
"docComment": "",
|
|
6530
|
+
"docComment": "/**\n * Don't include a line break. The new indentation level will start after the\n * first linebreak within the children.\n */\n",
|
|
6281
6531
|
"excerptTokens": [
|
|
6282
6532
|
{
|
|
6283
6533
|
"kind": "Content",
|
|
@@ -6303,12 +6553,12 @@
|
|
|
6303
6553
|
},
|
|
6304
6554
|
{
|
|
6305
6555
|
"kind": "PropertySignature",
|
|
6306
|
-
"canonicalReference": "@alloy-js/core!IndentProps#
|
|
6307
|
-
"docComment": "",
|
|
6556
|
+
"canonicalReference": "@alloy-js/core!IndentProps#softline:member",
|
|
6557
|
+
"docComment": "/**\n * Use a soft line (`<sbr />`) to start (and optionally end with\n * `trailingBreak`) the new indentation level.\n */\n",
|
|
6308
6558
|
"excerptTokens": [
|
|
6309
6559
|
{
|
|
6310
6560
|
"kind": "Content",
|
|
6311
|
-
"text": "
|
|
6561
|
+
"text": "softline?: "
|
|
6312
6562
|
},
|
|
6313
6563
|
{
|
|
6314
6564
|
"kind": "Content",
|
|
@@ -6322,31 +6572,58 @@
|
|
|
6322
6572
|
"isReadonly": false,
|
|
6323
6573
|
"isOptional": true,
|
|
6324
6574
|
"releaseTag": "Public",
|
|
6325
|
-
"name": "
|
|
6575
|
+
"name": "softline",
|
|
6326
6576
|
"propertyTypeTokenRange": {
|
|
6327
6577
|
"startIndex": 1,
|
|
6328
6578
|
"endIndex": 2
|
|
6329
6579
|
}
|
|
6330
|
-
}
|
|
6331
|
-
],
|
|
6332
|
-
"extendsTokenRanges": []
|
|
6333
|
-
},
|
|
6334
|
-
{
|
|
6335
|
-
"kind": "TypeAlias",
|
|
6336
|
-
"canonicalReference": "@alloy-js/core!IntrinsicElement:type",
|
|
6337
|
-
"docComment": "",
|
|
6338
|
-
"excerptTokens": [
|
|
6339
|
-
{
|
|
6340
|
-
"kind": "Content",
|
|
6341
|
-
"text": "export type IntrinsicElement = "
|
|
6342
|
-
},
|
|
6343
|
-
{
|
|
6344
|
-
"kind": "Reference",
|
|
6345
|
-
"text": "IndentIntrinsicElement",
|
|
6346
|
-
"canonicalReference": "@alloy-js/core!IndentIntrinsicElement:type"
|
|
6347
6580
|
},
|
|
6348
6581
|
{
|
|
6349
|
-
"kind": "
|
|
6582
|
+
"kind": "PropertySignature",
|
|
6583
|
+
"canonicalReference": "@alloy-js/core!IndentProps#trailingBreak:member",
|
|
6584
|
+
"docComment": "/**\n * Place the configured line break at the end of the block after restoring the\n * indentation level.\n */\n",
|
|
6585
|
+
"excerptTokens": [
|
|
6586
|
+
{
|
|
6587
|
+
"kind": "Content",
|
|
6588
|
+
"text": "trailingBreak?: "
|
|
6589
|
+
},
|
|
6590
|
+
{
|
|
6591
|
+
"kind": "Content",
|
|
6592
|
+
"text": "boolean"
|
|
6593
|
+
},
|
|
6594
|
+
{
|
|
6595
|
+
"kind": "Content",
|
|
6596
|
+
"text": ";"
|
|
6597
|
+
}
|
|
6598
|
+
],
|
|
6599
|
+
"isReadonly": false,
|
|
6600
|
+
"isOptional": true,
|
|
6601
|
+
"releaseTag": "Public",
|
|
6602
|
+
"name": "trailingBreak",
|
|
6603
|
+
"propertyTypeTokenRange": {
|
|
6604
|
+
"startIndex": 1,
|
|
6605
|
+
"endIndex": 2
|
|
6606
|
+
}
|
|
6607
|
+
}
|
|
6608
|
+
],
|
|
6609
|
+
"extendsTokenRanges": []
|
|
6610
|
+
},
|
|
6611
|
+
{
|
|
6612
|
+
"kind": "TypeAlias",
|
|
6613
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElement:type",
|
|
6614
|
+
"docComment": "",
|
|
6615
|
+
"excerptTokens": [
|
|
6616
|
+
{
|
|
6617
|
+
"kind": "Content",
|
|
6618
|
+
"text": "export type IntrinsicElement = "
|
|
6619
|
+
},
|
|
6620
|
+
{
|
|
6621
|
+
"kind": "Reference",
|
|
6622
|
+
"text": "IndentIntrinsicElement",
|
|
6623
|
+
"canonicalReference": "@alloy-js/core!IndentIntrinsicElement:type"
|
|
6624
|
+
},
|
|
6625
|
+
{
|
|
6626
|
+
"kind": "Content",
|
|
6350
6627
|
"text": " | "
|
|
6351
6628
|
},
|
|
6352
6629
|
{
|
|
@@ -6907,7 +7184,7 @@
|
|
|
6907
7184
|
"text": ";"
|
|
6908
7185
|
}
|
|
6909
7186
|
],
|
|
6910
|
-
"fileUrlPath": "src/utils.
|
|
7187
|
+
"fileUrlPath": "src/utils.tsx",
|
|
6911
7188
|
"returnTypeTokenRange": {
|
|
6912
7189
|
"startIndex": 3,
|
|
6913
7190
|
"endIndex": 6
|
|
@@ -7039,7 +7316,7 @@
|
|
|
7039
7316
|
{
|
|
7040
7317
|
"kind": "Function",
|
|
7041
7318
|
"canonicalReference": "@alloy-js/core!join:function(1)",
|
|
7042
|
-
"docComment": "/**\n * Place a joiner between each element of an array or iterator. Defaults to joining with a newline.\n *\n * @returns
|
|
7319
|
+
"docComment": "/**\n * Place a joiner between each element of an array or iterator. Defaults to\n * joining with a newline.\n *\n * @returns The joined array\n *\n * @see\n *\n * mapJoin for mapping before joining.\n */\n",
|
|
7043
7320
|
"excerptTokens": [
|
|
7044
7321
|
{
|
|
7045
7322
|
"kind": "Content",
|
|
@@ -7090,7 +7367,7 @@
|
|
|
7090
7367
|
"text": ";"
|
|
7091
7368
|
}
|
|
7092
7369
|
],
|
|
7093
|
-
"fileUrlPath": "src/utils.
|
|
7370
|
+
"fileUrlPath": "src/utils.tsx",
|
|
7094
7371
|
"returnTypeTokenRange": {
|
|
7095
7372
|
"startIndex": 9,
|
|
7096
7373
|
"endIndex": 10
|
|
@@ -7140,7 +7417,7 @@
|
|
|
7140
7417
|
"text": "export interface JoinOptions "
|
|
7141
7418
|
}
|
|
7142
7419
|
],
|
|
7143
|
-
"fileUrlPath": "src/utils.
|
|
7420
|
+
"fileUrlPath": "src/utils.tsx",
|
|
7144
7421
|
"releaseTag": "Public",
|
|
7145
7422
|
"name": "JoinOptions",
|
|
7146
7423
|
"preserveMemberOrder": false,
|
|
@@ -7148,7 +7425,7 @@
|
|
|
7148
7425
|
{
|
|
7149
7426
|
"kind": "PropertySignature",
|
|
7150
7427
|
"canonicalReference": "@alloy-js/core!JoinOptions#ender:member",
|
|
7151
|
-
"docComment": "/**\n * When true, the joiner is placed at the end of the array. When a string
|
|
7428
|
+
"docComment": "/**\n * When true, the joiner is placed at the end of the array. When a string,\n * that string is placed at the end of the array. The ender is only emitted\n * when the array has at least one element.\n */\n",
|
|
7152
7429
|
"excerptTokens": [
|
|
7153
7430
|
{
|
|
7154
7431
|
"kind": "Content",
|
|
@@ -7319,7 +7596,7 @@
|
|
|
7319
7596
|
{
|
|
7320
7597
|
"kind": "Namespace",
|
|
7321
7598
|
"canonicalReference": "@alloy-js/core!JSX:namespace",
|
|
7322
|
-
"docComment": "/**\n * This namespace is predominantly for interop with React tooling in VSCode and controls the type of JSX elements, components, and the like.\n */\n",
|
|
7599
|
+
"docComment": "/**\n * This namespace is predominantly for interop with React tooling in VSCode\n * and controls the type of JSX elements, components, and the like.\n */\n",
|
|
7323
7600
|
"excerptTokens": [
|
|
7324
7601
|
{
|
|
7325
7602
|
"kind": "Content",
|
|
@@ -7496,7 +7773,7 @@
|
|
|
7496
7773
|
{
|
|
7497
7774
|
"kind": "PropertySignature",
|
|
7498
7775
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#align:member",
|
|
7499
|
-
"docComment": "",
|
|
7776
|
+
"docComment": "/**\n * Indent the children of this component by either the number of characters\n * indicated by the `width` prop, or by the provided string indicated by the\n * `string` prop.\n */\n",
|
|
7500
7777
|
"excerptTokens": [
|
|
7501
7778
|
{
|
|
7502
7779
|
"kind": "Content",
|
|
@@ -7541,7 +7818,7 @@
|
|
|
7541
7818
|
{
|
|
7542
7819
|
"kind": "PropertySignature",
|
|
7543
7820
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#br:member",
|
|
7544
|
-
"docComment": "",
|
|
7821
|
+
"docComment": "/**\n * A regular line break. This will break if the line exceeds the print\n * width, otherwise it will be a space.\n */\n",
|
|
7545
7822
|
"excerptTokens": [
|
|
7546
7823
|
{
|
|
7547
7824
|
"kind": "Content",
|
|
@@ -7568,7 +7845,7 @@
|
|
|
7568
7845
|
{
|
|
7569
7846
|
"kind": "PropertySignature",
|
|
7570
7847
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#breakParent:member",
|
|
7571
|
-
"docComment": "",
|
|
7848
|
+
"docComment": "/**\n * Force the parent group to break.\n */\n",
|
|
7572
7849
|
"excerptTokens": [
|
|
7573
7850
|
{
|
|
7574
7851
|
"kind": "Content",
|
|
@@ -7595,7 +7872,7 @@
|
|
|
7595
7872
|
{
|
|
7596
7873
|
"kind": "PropertySignature",
|
|
7597
7874
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#dedent:member",
|
|
7598
|
-
"docComment": "",
|
|
7875
|
+
"docComment": "/**\n * Decrease the indentation level of the children of this component.\n * Indentation is determined by the print options provided to the Output\n * component or source file.\n */\n",
|
|
7599
7876
|
"excerptTokens": [
|
|
7600
7877
|
{
|
|
7601
7878
|
"kind": "Content",
|
|
@@ -7631,7 +7908,7 @@
|
|
|
7631
7908
|
{
|
|
7632
7909
|
"kind": "PropertySignature",
|
|
7633
7910
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#dedentToRoot:member",
|
|
7634
|
-
"docComment": "",
|
|
7911
|
+
"docComment": "/**\n * Decrease the indentation level to the root level specified by\n * `<markAsRoot />`, or else to no indentation.\n */\n",
|
|
7635
7912
|
"excerptTokens": [
|
|
7636
7913
|
{
|
|
7637
7914
|
"kind": "Content",
|
|
@@ -7667,7 +7944,7 @@
|
|
|
7667
7944
|
{
|
|
7668
7945
|
"kind": "PropertySignature",
|
|
7669
7946
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#fill:member",
|
|
7670
|
-
"docComment": "",
|
|
7947
|
+
"docComment": "/**\n * Similar to `group`, but will only place a line break before the last\n * segment to exceed the print width. This is useful for formatting\n * paragraphs of text where breaks are inserted prior to words which would\n * otherwise exceed the print width.\n */\n",
|
|
7671
7948
|
"excerptTokens": [
|
|
7672
7949
|
{
|
|
7673
7950
|
"kind": "Content",
|
|
@@ -7703,7 +7980,7 @@
|
|
|
7703
7980
|
{
|
|
7704
7981
|
"kind": "PropertySignature",
|
|
7705
7982
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#group:member",
|
|
7706
|
-
"docComment": "",
|
|
7983
|
+
"docComment": "/**\n * Attempt to render the children on a single line if possible. If a group\n * contains `<breakParent />` or a hard line, or if the group exceeds the\n * print width, all linebreaks in the group will be broken.\n */\n",
|
|
7707
7984
|
"excerptTokens": [
|
|
7708
7985
|
{
|
|
7709
7986
|
"kind": "Content",
|
|
@@ -7739,7 +8016,7 @@
|
|
|
7739
8016
|
{
|
|
7740
8017
|
"kind": "PropertySignature",
|
|
7741
8018
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#hardline:member",
|
|
7742
|
-
"docComment": "",
|
|
8019
|
+
"docComment": "/**\n * A hard line break. This is a line that will always break, even if the\n * group does not exceed print width.\n */\n",
|
|
7743
8020
|
"excerptTokens": [
|
|
7744
8021
|
{
|
|
7745
8022
|
"kind": "Content",
|
|
@@ -7766,7 +8043,7 @@
|
|
|
7766
8043
|
{
|
|
7767
8044
|
"kind": "PropertySignature",
|
|
7768
8045
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#hbr:member",
|
|
7769
|
-
"docComment": "",
|
|
8046
|
+
"docComment": "/**\n * A hard line break. This is a line that will always break, even if the\n * group does not exceed print width.\n */\n",
|
|
7770
8047
|
"excerptTokens": [
|
|
7771
8048
|
{
|
|
7772
8049
|
"kind": "Content",
|
|
@@ -7793,7 +8070,7 @@
|
|
|
7793
8070
|
{
|
|
7794
8071
|
"kind": "PropertySignature",
|
|
7795
8072
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#ifBreak:member",
|
|
7796
|
-
"docComment": "",
|
|
8073
|
+
"docComment": "/**\n * Print children if the current group or already printed group specified by\n * `groupId` is broken. Otherwise, `flatContents` is printed instead.\n */\n",
|
|
7797
8074
|
"excerptTokens": [
|
|
7798
8075
|
{
|
|
7799
8076
|
"kind": "Content",
|
|
@@ -7838,7 +8115,7 @@
|
|
|
7838
8115
|
{
|
|
7839
8116
|
"kind": "PropertySignature",
|
|
7840
8117
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#indent:member",
|
|
7841
|
-
"docComment": "",
|
|
8118
|
+
"docComment": "/**\n * Increase the indentation level of the children of this component.\n * Indentation is determined by the print options provided to the Output\n * component or source file.\n */\n",
|
|
7842
8119
|
"excerptTokens": [
|
|
7843
8120
|
{
|
|
7844
8121
|
"kind": "Content",
|
|
@@ -7874,7 +8151,7 @@
|
|
|
7874
8151
|
{
|
|
7875
8152
|
"kind": "PropertySignature",
|
|
7876
8153
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#indentIfBreak:member",
|
|
7877
|
-
"docComment": "",
|
|
8154
|
+
"docComment": "/**\n * Indent the children of this component if the group specified by `groupId`\n * is broken (or not broken if `negate` is passed). The specified group must\n * already be printed.\n */\n",
|
|
7878
8155
|
"excerptTokens": [
|
|
7879
8156
|
{
|
|
7880
8157
|
"kind": "Content",
|
|
@@ -7910,7 +8187,7 @@
|
|
|
7910
8187
|
{
|
|
7911
8188
|
"kind": "PropertySignature",
|
|
7912
8189
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#lbr:member",
|
|
7913
|
-
"docComment": "",
|
|
8190
|
+
"docComment": "/**\n * A literal line break. This will always break, even if the group does not\n * exceed print width. The new line will ignore indentation.\n */\n",
|
|
7914
8191
|
"excerptTokens": [
|
|
7915
8192
|
{
|
|
7916
8193
|
"kind": "Content",
|
|
@@ -7937,7 +8214,7 @@
|
|
|
7937
8214
|
{
|
|
7938
8215
|
"kind": "PropertySignature",
|
|
7939
8216
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#line:member",
|
|
7940
|
-
"docComment": "",
|
|
8217
|
+
"docComment": "/**\n * A regular line break. This will break if the line exceeds the print\n * width, otherwise it will be a space.\n */\n",
|
|
7941
8218
|
"excerptTokens": [
|
|
7942
8219
|
{
|
|
7943
8220
|
"kind": "Content",
|
|
@@ -7964,7 +8241,7 @@
|
|
|
7964
8241
|
{
|
|
7965
8242
|
"kind": "PropertySignature",
|
|
7966
8243
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#lineSuffix:member",
|
|
7967
|
-
"docComment": "",
|
|
8244
|
+
"docComment": "/**\n * Print this content at the end of the line. Useful for things like line\n * comments.\n */\n",
|
|
7968
8245
|
"excerptTokens": [
|
|
7969
8246
|
{
|
|
7970
8247
|
"kind": "Content",
|
|
@@ -8000,7 +8277,7 @@
|
|
|
8000
8277
|
{
|
|
8001
8278
|
"kind": "PropertySignature",
|
|
8002
8279
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#lineSuffixBoundary:member",
|
|
8003
|
-
"docComment": "",
|
|
8280
|
+
"docComment": "/**\n * Force any line suffixes to print at this point.\n */\n",
|
|
8004
8281
|
"excerptTokens": [
|
|
8005
8282
|
{
|
|
8006
8283
|
"kind": "Content",
|
|
@@ -8027,7 +8304,7 @@
|
|
|
8027
8304
|
{
|
|
8028
8305
|
"kind": "PropertySignature",
|
|
8029
8306
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#literalline:member",
|
|
8030
|
-
"docComment": "",
|
|
8307
|
+
"docComment": "/**\n * A literal line break. This will always break, even if the group does not\n * exceed print width. The new line will ignore indentation.\n */\n",
|
|
8031
8308
|
"excerptTokens": [
|
|
8032
8309
|
{
|
|
8033
8310
|
"kind": "Content",
|
|
@@ -8054,7 +8331,7 @@
|
|
|
8054
8331
|
{
|
|
8055
8332
|
"kind": "PropertySignature",
|
|
8056
8333
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#markAsRoot:member",
|
|
8057
|
-
"docComment": "",
|
|
8334
|
+
"docComment": "/**\n * Mark the current indentation level as \"root\" for the purposes of literal\n * line breaks and `dedentToRoot`.\n */\n",
|
|
8058
8335
|
"excerptTokens": [
|
|
8059
8336
|
{
|
|
8060
8337
|
"kind": "Content",
|
|
@@ -8090,7 +8367,7 @@
|
|
|
8090
8367
|
{
|
|
8091
8368
|
"kind": "PropertySignature",
|
|
8092
8369
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#sbr:member",
|
|
8093
|
-
"docComment": "",
|
|
8370
|
+
"docComment": "/**\n * A soft line break. This will break if the line exceeds the print width,\n * otherwise it will be be nothing.\n */\n",
|
|
8094
8371
|
"excerptTokens": [
|
|
8095
8372
|
{
|
|
8096
8373
|
"kind": "Content",
|
|
@@ -8117,7 +8394,7 @@
|
|
|
8117
8394
|
{
|
|
8118
8395
|
"kind": "PropertySignature",
|
|
8119
8396
|
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements#softline:member",
|
|
8120
|
-
"docComment": "",
|
|
8397
|
+
"docComment": "/**\n * A soft line break. This will break if the line exceeds the print width,\n * otherwise it will be be nothing.\n */\n",
|
|
8121
8398
|
"excerptTokens": [
|
|
8122
8399
|
{
|
|
8123
8400
|
"kind": "Content",
|
|
@@ -8301,7 +8578,7 @@
|
|
|
8301
8578
|
{
|
|
8302
8579
|
"kind": "Function",
|
|
8303
8580
|
"canonicalReference": "@alloy-js/core!List:function(1)",
|
|
8304
|
-
"docComment": "/**\n * Create a list of children with text between each child. The text to join with is specified by providing either `joiner` children, or providing boolean props for the punctuation and line breaks. The default joiner is no punctuation and a hard break. The `ender` prop can provide text to place at the end of the list when there is at least one child.\n */\n",
|
|
8581
|
+
"docComment": "/**\n * Create a list of children with text between each child. The text to join with\n * is specified by providing either `joiner` children, or providing boolean\n * props for the punctuation and line breaks. The default joiner is no\n * punctuation and a hard break. The `ender` prop can provide text to place at\n * the end of the list when there is at least one child.\n */\n",
|
|
8305
8582
|
"excerptTokens": [
|
|
8306
8583
|
{
|
|
8307
8584
|
"kind": "Content",
|
|
@@ -8513,7 +8790,7 @@
|
|
|
8513
8790
|
{
|
|
8514
8791
|
"kind": "Function",
|
|
8515
8792
|
"canonicalReference": "@alloy-js/core!mapJoin:function(1)",
|
|
8516
|
-
"docComment": "/**\n * Map a Map to an array using a mapper and place a joiner between each element
|
|
8793
|
+
"docComment": "/**\n * Map a Map to an array using a mapper and place a joiner between each element.\n * Defaults to joining with a newline.\n *\n * @param src - Source map.\n *\n * @param cb - Mapper function.\n *\n * @param options - Join options.\n *\n * @returns The mapped and joined array.\n *\n * @see\n *\n * {@link join} for joining without mapping.\n */\n",
|
|
8517
8794
|
"excerptTokens": [
|
|
8518
8795
|
{
|
|
8519
8796
|
"kind": "Content",
|
|
@@ -8571,7 +8848,7 @@
|
|
|
8571
8848
|
"text": ";"
|
|
8572
8849
|
}
|
|
8573
8850
|
],
|
|
8574
|
-
"fileUrlPath": "src/utils.
|
|
8851
|
+
"fileUrlPath": "src/utils.tsx",
|
|
8575
8852
|
"returnTypeTokenRange": {
|
|
8576
8853
|
"startIndex": 9,
|
|
8577
8854
|
"endIndex": 12
|
|
@@ -8644,7 +8921,7 @@
|
|
|
8644
8921
|
{
|
|
8645
8922
|
"kind": "Function",
|
|
8646
8923
|
"canonicalReference": "@alloy-js/core!mapJoin:function(2)",
|
|
8647
|
-
"docComment": "/**\n * Map a array or iterator to another array using a mapper and place a joiner between each element. Defaults to joining with a newline.\n *\n * @param src - Source array.\n *\n * @param cb - Mapper function.\n *\n * @param options - Join options.\n *\n * @returns
|
|
8924
|
+
"docComment": "/**\n * Map a array or iterator to another array using a mapper and place a joiner\n * between each element. Defaults to joining with a newline.\n *\n * @param src - Source array.\n *\n * @param cb - Mapper function.\n *\n * @param options - Join options.\n *\n * @returns The mapped and joined array.\n *\n * @see\n *\n * {@link join} for joining without mapping.\n */\n",
|
|
8648
8925
|
"excerptTokens": [
|
|
8649
8926
|
{
|
|
8650
8927
|
"kind": "Content",
|
|
@@ -8702,7 +8979,7 @@
|
|
|
8702
8979
|
"text": ";"
|
|
8703
8980
|
}
|
|
8704
8981
|
],
|
|
8705
|
-
"fileUrlPath": "src/utils.
|
|
8982
|
+
"fileUrlPath": "src/utils.tsx",
|
|
8706
8983
|
"returnTypeTokenRange": {
|
|
8707
8984
|
"startIndex": 9,
|
|
8708
8985
|
"endIndex": 12
|
|
@@ -8795,7 +9072,7 @@
|
|
|
8795
9072
|
{
|
|
8796
9073
|
"kind": "Variable",
|
|
8797
9074
|
"canonicalReference": "@alloy-js/core!Match:var",
|
|
8798
|
-
"docComment": "/**\n * The Match component is used inside of a {@link Switch} component to define conditionally rendered blocks of content.\n */\n",
|
|
9075
|
+
"docComment": "/**\n * The Match component is used inside of a {@link Switch} component to\n * define conditionally rendered blocks of content.\n */\n",
|
|
8799
9076
|
"excerptTokens": [
|
|
8800
9077
|
{
|
|
8801
9078
|
"kind": "Content",
|
|
@@ -8879,7 +9156,7 @@
|
|
|
8879
9156
|
{
|
|
8880
9157
|
"kind": "PropertySignature",
|
|
8881
9158
|
"canonicalReference": "@alloy-js/core!MatchProps#else:member",
|
|
8882
|
-
"docComment": "/**\n * If no `when` is matched, the children of this element will be rendered
|
|
9159
|
+
"docComment": "/**\n * If no `when` is matched, the children of this element will be rendered.\n * The `else` match must be placed last.\n */\n",
|
|
8883
9160
|
"excerptTokens": [
|
|
8884
9161
|
{
|
|
8885
9162
|
"kind": "Content",
|
|
@@ -8959,7 +9236,7 @@
|
|
|
8959
9236
|
{
|
|
8960
9237
|
"kind": "Function",
|
|
8961
9238
|
"canonicalReference": "@alloy-js/core!MemberDeclaration:function(1)",
|
|
8962
|
-
"docComment": "/**\n * Declares a symbol in the current member scope for this component's children.\n *\n * @remarks\n *\n * This component must be called in one of two ways: with a name and an optional refkey, or else passing in the symbol. When called with a name and refkey, a symbol will be created in the current scope (provided by {@link MemberDeclarationContext}) with that name and refkey. If a refkey is not provided, `refkey(props.name)` is used.\n *\n * When called with a symbol, that symbol is merely exposed via {@link MemberDeclarationContext}. It is assumed that the caller of this component has created the symbol with the `createSymbol` API on the {@link BinderContext}.\n *\n * @see\n *\n *
|
|
9239
|
+
"docComment": "/**\n * Declares a symbol in the current member scope for this component's children.\n *\n * @remarks\n *\n *\n *\n * This component must be called in one of two ways: with a name and an optional\n * refkey, or else passing in the symbol. When called with a name and refkey, a\n * symbol will be created in the current scope (provided by\n * {@link MemberDeclarationContext}) with that name and refkey. If a refkey is not\n * provided, `refkey(props.name)` is used.\n *\n * When called with a symbol, that symbol is merely exposed via\n * {@link MemberDeclarationContext}. It is assumed that the caller of this component\n * has created the symbol with the `createSymbol` API on the\n * {@link BinderContext}.\n *\n * @see\n *\n * {@link BinderContext}\n */\n",
|
|
8963
9240
|
"excerptTokens": [
|
|
8964
9241
|
{
|
|
8965
9242
|
"kind": "Content",
|
|
@@ -8968,7 +9245,7 @@
|
|
|
8968
9245
|
{
|
|
8969
9246
|
"kind": "Reference",
|
|
8970
9247
|
"text": "MemberDeclarationProps",
|
|
8971
|
-
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:
|
|
9248
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:type"
|
|
8972
9249
|
},
|
|
8973
9250
|
{
|
|
8974
9251
|
"kind": "Content",
|
|
@@ -9006,7 +9283,7 @@
|
|
|
9006
9283
|
{
|
|
9007
9284
|
"kind": "Variable",
|
|
9008
9285
|
"canonicalReference": "@alloy-js/core!MemberDeclarationContext:var",
|
|
9009
|
-
"docComment": "/**\n * Provides the symbol for the member currently being declared.\n *\n * @see\n *\n *
|
|
9286
|
+
"docComment": "/**\n * Provides the symbol for the member currently being declared.\n *\n * @see\n *\n * {@link DeclarationContext} for getting the symbol for the current non-member declaration.\n */\n",
|
|
9010
9287
|
"excerptTokens": [
|
|
9011
9288
|
{
|
|
9012
9289
|
"kind": "Content",
|
|
@@ -9041,23 +9318,59 @@
|
|
|
9041
9318
|
}
|
|
9042
9319
|
},
|
|
9043
9320
|
{
|
|
9044
|
-
"kind": "
|
|
9045
|
-
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:
|
|
9321
|
+
"kind": "TypeAlias",
|
|
9322
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationProps:type",
|
|
9046
9323
|
"docComment": "",
|
|
9047
9324
|
"excerptTokens": [
|
|
9048
9325
|
{
|
|
9049
9326
|
"kind": "Content",
|
|
9050
|
-
"text": "export
|
|
9327
|
+
"text": "export type MemberDeclarationProps = "
|
|
9328
|
+
},
|
|
9329
|
+
{
|
|
9330
|
+
"kind": "Reference",
|
|
9331
|
+
"text": "MemberDeclarationPropsWithInfo",
|
|
9332
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo:interface"
|
|
9333
|
+
},
|
|
9334
|
+
{
|
|
9335
|
+
"kind": "Content",
|
|
9336
|
+
"text": " | "
|
|
9337
|
+
},
|
|
9338
|
+
{
|
|
9339
|
+
"kind": "Reference",
|
|
9340
|
+
"text": "MemberDeclarationPropsWithSymbol",
|
|
9341
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol:interface"
|
|
9342
|
+
},
|
|
9343
|
+
{
|
|
9344
|
+
"kind": "Content",
|
|
9345
|
+
"text": ";"
|
|
9051
9346
|
}
|
|
9052
9347
|
],
|
|
9053
9348
|
"fileUrlPath": "src/components/MemberDeclaration.tsx",
|
|
9054
9349
|
"releaseTag": "Public",
|
|
9055
9350
|
"name": "MemberDeclarationProps",
|
|
9351
|
+
"typeTokenRange": {
|
|
9352
|
+
"startIndex": 1,
|
|
9353
|
+
"endIndex": 4
|
|
9354
|
+
}
|
|
9355
|
+
},
|
|
9356
|
+
{
|
|
9357
|
+
"kind": "Interface",
|
|
9358
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo:interface",
|
|
9359
|
+
"docComment": "/**\n * Create a member declaration by providing a symbol name and optional symbol\n * metadata.\n */\n",
|
|
9360
|
+
"excerptTokens": [
|
|
9361
|
+
{
|
|
9362
|
+
"kind": "Content",
|
|
9363
|
+
"text": "export interface MemberDeclarationPropsWithInfo "
|
|
9364
|
+
}
|
|
9365
|
+
],
|
|
9366
|
+
"fileUrlPath": "src/components/MemberDeclaration.tsx",
|
|
9367
|
+
"releaseTag": "Public",
|
|
9368
|
+
"name": "MemberDeclarationPropsWithInfo",
|
|
9056
9369
|
"preserveMemberOrder": false,
|
|
9057
9370
|
"members": [
|
|
9058
9371
|
{
|
|
9059
9372
|
"kind": "PropertySignature",
|
|
9060
|
-
"canonicalReference": "@alloy-js/core!
|
|
9373
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#children:member",
|
|
9061
9374
|
"docComment": "",
|
|
9062
9375
|
"excerptTokens": [
|
|
9063
9376
|
{
|
|
@@ -9085,16 +9398,21 @@
|
|
|
9085
9398
|
},
|
|
9086
9399
|
{
|
|
9087
9400
|
"kind": "PropertySignature",
|
|
9088
|
-
"canonicalReference": "@alloy-js/core!
|
|
9089
|
-
"docComment": "",
|
|
9401
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#metadata:member",
|
|
9402
|
+
"docComment": "/**\n * Additional metadata for the declared symbol.\n */\n",
|
|
9090
9403
|
"excerptTokens": [
|
|
9091
9404
|
{
|
|
9092
9405
|
"kind": "Content",
|
|
9093
|
-
"text": "
|
|
9406
|
+
"text": "metadata?: "
|
|
9407
|
+
},
|
|
9408
|
+
{
|
|
9409
|
+
"kind": "Reference",
|
|
9410
|
+
"text": "Record",
|
|
9411
|
+
"canonicalReference": "!Record:type"
|
|
9094
9412
|
},
|
|
9095
9413
|
{
|
|
9096
9414
|
"kind": "Content",
|
|
9097
|
-
"text": "string"
|
|
9415
|
+
"text": "<string, unknown>"
|
|
9098
9416
|
},
|
|
9099
9417
|
{
|
|
9100
9418
|
"kind": "Content",
|
|
@@ -9104,6 +9422,33 @@
|
|
|
9104
9422
|
"isReadonly": false,
|
|
9105
9423
|
"isOptional": true,
|
|
9106
9424
|
"releaseTag": "Public",
|
|
9425
|
+
"name": "metadata",
|
|
9426
|
+
"propertyTypeTokenRange": {
|
|
9427
|
+
"startIndex": 1,
|
|
9428
|
+
"endIndex": 3
|
|
9429
|
+
}
|
|
9430
|
+
},
|
|
9431
|
+
{
|
|
9432
|
+
"kind": "PropertySignature",
|
|
9433
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#name:member",
|
|
9434
|
+
"docComment": "/**\n * The name of this declaration.\n */\n",
|
|
9435
|
+
"excerptTokens": [
|
|
9436
|
+
{
|
|
9437
|
+
"kind": "Content",
|
|
9438
|
+
"text": "name: "
|
|
9439
|
+
},
|
|
9440
|
+
{
|
|
9441
|
+
"kind": "Content",
|
|
9442
|
+
"text": "string"
|
|
9443
|
+
},
|
|
9444
|
+
{
|
|
9445
|
+
"kind": "Content",
|
|
9446
|
+
"text": ";"
|
|
9447
|
+
}
|
|
9448
|
+
],
|
|
9449
|
+
"isReadonly": false,
|
|
9450
|
+
"isOptional": false,
|
|
9451
|
+
"releaseTag": "Public",
|
|
9107
9452
|
"name": "name",
|
|
9108
9453
|
"propertyTypeTokenRange": {
|
|
9109
9454
|
"startIndex": 1,
|
|
@@ -9112,8 +9457,8 @@
|
|
|
9112
9457
|
},
|
|
9113
9458
|
{
|
|
9114
9459
|
"kind": "PropertySignature",
|
|
9115
|
-
"canonicalReference": "@alloy-js/core!
|
|
9116
|
-
"docComment": "",
|
|
9460
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#refkey:member",
|
|
9461
|
+
"docComment": "/**\n * The refkey or array refkeys for this declaration.\n */\n",
|
|
9117
9462
|
"excerptTokens": [
|
|
9118
9463
|
{
|
|
9119
9464
|
"kind": "Content",
|
|
@@ -9124,6 +9469,19 @@
|
|
|
9124
9469
|
"text": "Refkey",
|
|
9125
9470
|
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
9126
9471
|
},
|
|
9472
|
+
{
|
|
9473
|
+
"kind": "Content",
|
|
9474
|
+
"text": " | "
|
|
9475
|
+
},
|
|
9476
|
+
{
|
|
9477
|
+
"kind": "Reference",
|
|
9478
|
+
"text": "Refkey",
|
|
9479
|
+
"canonicalReference": "@alloy-js/core!Refkey:type"
|
|
9480
|
+
},
|
|
9481
|
+
{
|
|
9482
|
+
"kind": "Content",
|
|
9483
|
+
"text": "[]"
|
|
9484
|
+
},
|
|
9127
9485
|
{
|
|
9128
9486
|
"kind": "Content",
|
|
9129
9487
|
"text": ";"
|
|
@@ -9135,13 +9493,13 @@
|
|
|
9135
9493
|
"name": "refkey",
|
|
9136
9494
|
"propertyTypeTokenRange": {
|
|
9137
9495
|
"startIndex": 1,
|
|
9138
|
-
"endIndex":
|
|
9496
|
+
"endIndex": 5
|
|
9139
9497
|
}
|
|
9140
9498
|
},
|
|
9141
9499
|
{
|
|
9142
9500
|
"kind": "PropertySignature",
|
|
9143
|
-
"canonicalReference": "@alloy-js/core!
|
|
9144
|
-
"docComment": "",
|
|
9501
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithInfo#static:member",
|
|
9502
|
+
"docComment": "/**\n * Whether this is a static member. If not provided, the member is an instance\n * member.\n */\n",
|
|
9145
9503
|
"excerptTokens": [
|
|
9146
9504
|
{
|
|
9147
9505
|
"kind": "Content",
|
|
@@ -9164,15 +9522,61 @@
|
|
|
9164
9522
|
"startIndex": 1,
|
|
9165
9523
|
"endIndex": 2
|
|
9166
9524
|
}
|
|
9167
|
-
}
|
|
9525
|
+
}
|
|
9526
|
+
],
|
|
9527
|
+
"extendsTokenRanges": []
|
|
9528
|
+
},
|
|
9529
|
+
{
|
|
9530
|
+
"kind": "Interface",
|
|
9531
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol:interface",
|
|
9532
|
+
"docComment": "/**\n * Create a declaration by providing an already created symbol. The symbol is\n * merely exposed via {@link DeclarationContext}.\n */\n",
|
|
9533
|
+
"excerptTokens": [
|
|
9534
|
+
{
|
|
9535
|
+
"kind": "Content",
|
|
9536
|
+
"text": "export interface MemberDeclarationPropsWithSymbol "
|
|
9537
|
+
}
|
|
9538
|
+
],
|
|
9539
|
+
"fileUrlPath": "src/components/MemberDeclaration.tsx",
|
|
9540
|
+
"releaseTag": "Public",
|
|
9541
|
+
"name": "MemberDeclarationPropsWithSymbol",
|
|
9542
|
+
"preserveMemberOrder": false,
|
|
9543
|
+
"members": [
|
|
9168
9544
|
{
|
|
9169
9545
|
"kind": "PropertySignature",
|
|
9170
|
-
"canonicalReference": "@alloy-js/core!
|
|
9546
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol#children:member",
|
|
9171
9547
|
"docComment": "",
|
|
9172
9548
|
"excerptTokens": [
|
|
9173
9549
|
{
|
|
9174
9550
|
"kind": "Content",
|
|
9175
|
-
"text": "
|
|
9551
|
+
"text": "children?: "
|
|
9552
|
+
},
|
|
9553
|
+
{
|
|
9554
|
+
"kind": "Reference",
|
|
9555
|
+
"text": "Children",
|
|
9556
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
9557
|
+
},
|
|
9558
|
+
{
|
|
9559
|
+
"kind": "Content",
|
|
9560
|
+
"text": ";"
|
|
9561
|
+
}
|
|
9562
|
+
],
|
|
9563
|
+
"isReadonly": false,
|
|
9564
|
+
"isOptional": true,
|
|
9565
|
+
"releaseTag": "Public",
|
|
9566
|
+
"name": "children",
|
|
9567
|
+
"propertyTypeTokenRange": {
|
|
9568
|
+
"startIndex": 1,
|
|
9569
|
+
"endIndex": 2
|
|
9570
|
+
}
|
|
9571
|
+
},
|
|
9572
|
+
{
|
|
9573
|
+
"kind": "PropertySignature",
|
|
9574
|
+
"canonicalReference": "@alloy-js/core!MemberDeclarationPropsWithSymbol#symbol:member",
|
|
9575
|
+
"docComment": "/**\n * The symbol being declared. When provided, the name, refkey, and metadata\n * props are ignored.\n */\n",
|
|
9576
|
+
"excerptTokens": [
|
|
9577
|
+
{
|
|
9578
|
+
"kind": "Content",
|
|
9579
|
+
"text": "symbol: "
|
|
9176
9580
|
},
|
|
9177
9581
|
{
|
|
9178
9582
|
"kind": "Reference",
|
|
@@ -9185,7 +9589,7 @@
|
|
|
9185
9589
|
}
|
|
9186
9590
|
],
|
|
9187
9591
|
"isReadonly": false,
|
|
9188
|
-
"isOptional":
|
|
9592
|
+
"isOptional": false,
|
|
9189
9593
|
"releaseTag": "Public",
|
|
9190
9594
|
"name": "symbol",
|
|
9191
9595
|
"propertyTypeTokenRange": {
|
|
@@ -9232,7 +9636,7 @@
|
|
|
9232
9636
|
{
|
|
9233
9637
|
"kind": "Function",
|
|
9234
9638
|
"canonicalReference": "@alloy-js/core!MemberScope:function(1)",
|
|
9235
|
-
"docComment": "/**\n * Declare a member scope, which is a scope that holds instance and static members. This scope is then used for nested instance or static member declarations and resolution of instance members.\n *\n * @remarks\n *\n * The member scope contains scopes for both instance and static members
|
|
9639
|
+
"docComment": "/**\n * Declare a member scope, which is a scope that holds instance and static\n * members. This scope is then used for nested instance or static member\n * declarations and resolution of instance members.\n *\n * @remarks\n *\n *\n *\n * The member scope contains scopes for both instance and static members.\n * However, it does not affect the resolution of static members.\n *\n * @see\n *\n * {@link (MemberScopeContext:variable)}\n */\n",
|
|
9236
9640
|
"excerptTokens": [
|
|
9237
9641
|
{
|
|
9238
9642
|
"kind": "Content",
|
|
@@ -9279,7 +9683,7 @@
|
|
|
9279
9683
|
{
|
|
9280
9684
|
"kind": "Interface",
|
|
9281
9685
|
"canonicalReference": "@alloy-js/core!MemberScopeContext:interface",
|
|
9282
|
-
"docComment": "/**\n * The member scope context provides the instance and static member scopes that are used for member declarations and instance member resolution.\n */\n",
|
|
9686
|
+
"docComment": "/**\n * The member scope context provides the instance and static member scopes that\n * are used for member declarations and instance member resolution.\n */\n",
|
|
9283
9687
|
"excerptTokens": [
|
|
9284
9688
|
{
|
|
9285
9689
|
"kind": "Content",
|
|
@@ -9460,7 +9864,7 @@
|
|
|
9460
9864
|
{
|
|
9461
9865
|
"kind": "PropertySignature",
|
|
9462
9866
|
"canonicalReference": "@alloy-js/core!MemberScopeProps#owner:member",
|
|
9463
|
-
"docComment": "/**\n * The symbol that owns these members. This symbol must have either {@link OutputSymbolFlags.InstanceMemberContainer} or {@link OutputSymbolFlags.StaticMemberContainer}.\n */\n",
|
|
9867
|
+
"docComment": "/**\n * The symbol that owns these members. This symbol must have either\n * {@link OutputSymbolFlags.InstanceMemberContainer} or\n * {@link OutputSymbolFlags.StaticMemberContainer}.\n */\n",
|
|
9464
9868
|
"excerptTokens": [
|
|
9465
9869
|
{
|
|
9466
9870
|
"kind": "Content",
|
|
@@ -10179,7 +10583,7 @@
|
|
|
10179
10583
|
{
|
|
10180
10584
|
"kind": "Function",
|
|
10181
10585
|
"canonicalReference": "@alloy-js/core!onCleanup:function(1)",
|
|
10182
|
-
"docComment": "/**\n * Register a cleanup function which is called when the current reactive scope is recalculated or disposed. This is useful to clean up any side effects created in the reactive scope.\n *\n * @remarks\n *\n * When onCleanup is called inside a component definition, the provided function is called when the component is removed from the tree. This can be useful to clean up any side effects created as a result of rendering the component. For example, if rendering a component creates a symbol, `onCleanup` can be used to remove the symbol when the component is removed from the tree.\n *\n * When onCleanup is called inside a memo or effect, the function is called when the effect is refreshed (e.g. when a memo or computed recalculates) or disposed (e.g. it is no longer needed because it is attached to a component which was removed).\n */\n",
|
|
10586
|
+
"docComment": "/**\n * Register a cleanup function which is called when the current reactive scope\n * is recalculated or disposed. This is useful to clean up any side effects\n * created in the reactive scope.\n *\n * @remarks\n *\n *\n *\n * When onCleanup is called inside a component definition, the provided function\n * is called when the component is removed from the tree. This can be useful to\n * clean up any side effects created as a result of rendering the component. For\n * example, if rendering a component creates a symbol, `onCleanup` can be used\n * to remove the symbol when the component is removed from the tree.\n *\n * When onCleanup is called inside a memo or effect, the function is called when\n * the effect is refreshed (e.g. when a memo or computed recalculates) or\n * disposed (e.g. it is no longer needed because it is attached to a component\n * which was removed).\n */\n",
|
|
10183
10587
|
"excerptTokens": [
|
|
10184
10588
|
{
|
|
10185
10589
|
"kind": "Content",
|
|
@@ -10225,7 +10629,7 @@
|
|
|
10225
10629
|
{
|
|
10226
10630
|
"kind": "Function",
|
|
10227
10631
|
"canonicalReference": "@alloy-js/core!Output:function(1)",
|
|
10228
|
-
"docComment": "/**\n * This component is the root component for all your emitted output. Place your various {@link SourceDirectory} and {@link SourceFile} components inside `Output` to create directories and files in your output directory.\n *\n * @see\n *\n *
|
|
10632
|
+
"docComment": "/**\n * This component is the root component for all your emitted output. Place your\n * various {@link SourceDirectory} and {@link SourceFile} components inside\n * `Output` to create directories and files in your output directory.\n *\n * @see\n *\n * {@link NamePolicyContext}\n */\n",
|
|
10229
10633
|
"excerptTokens": [
|
|
10230
10634
|
{
|
|
10231
10635
|
"kind": "Content",
|
|
@@ -10272,7 +10676,7 @@
|
|
|
10272
10676
|
{
|
|
10273
10677
|
"kind": "Interface",
|
|
10274
10678
|
"canonicalReference": "@alloy-js/core!OutputDirectory:interface",
|
|
10275
|
-
"docComment": "/**\n * Turning components into source text involves three different trees produced sequentially:\n *\n * 1. Component tree, built by the nesting of components 2. Rendered text tree, produced by *rendering* the component tree 3. Document tree, produced by *printing* the rendered text tree\n *\n * Finally, the document tree is converted to text via `prettier`. Let's look at each of these trees and the conversions in detail.\n *\n * # Component tree\n *\n * The component tree is built by JSX or STC templates. The nodes in this tree are defined by the type `Child` and are one of the following\n *\n * ## Primitive values\n *\n * Strings in the tree are placed into the rendered text tree as-is. Numbers are converted to strings. Falsy primitive values and booleans are converted to empty strings (and may cause a line break to be ignored, see below).\n *\n * ## Nullary functions\n *\n * Nullary functions represent computed or reactive values in the component tree, such as expressions placed into a JSX template with curly brackets
|
|
10679
|
+
"docComment": "/**\n * Turning components into source text involves three different trees produced\n * sequentially:\n *\n * 1. Component tree, built by the nesting of components\n * 2. Rendered text tree, produced by *rendering* the component tree\n * 3. Document tree, produced by *printing* the rendered text tree\n *\n * Finally, the document tree is converted to text via `prettier`. Let's look at\n * each of these trees and the conversions in detail.\n *\n * # Component tree\n *\n * The component tree is built by JSX or STC templates. The nodes in this tree\n * are defined by the type `Child` and are one of the following\n *\n * ## Primitive values\n *\n * Strings in the tree are placed into the rendered text tree as-is. Numbers are\n * converted to strings. Falsy primitive values and booleans are converted to\n * empty strings (and may cause a line break to be ignored, see below).\n *\n * ## Nullary functions\n *\n * Nullary functions represent computed or reactive values in the component\n * tree, such as expressions placed into a JSX template with curly brackets.\n * Nullary functions return `Children` which are then recursively rendered.\n * Nullary functions are invoked in an effect which will update the rendered\n * text tree when any reactive dependencies change.\n *\n * ## Component creators\n *\n * Component creators are a special kind of nullary function which instantiate\n * components in order to get their children which are then recursively\n * rendered. Component creators have some special rendering behavior, such as\n * tracking the stack of rendered components. Like other nullary functions,\n * component creators are invoked in an effect which will update the rendered\n * text tree when any reactive dependencies change.\n *\n * ## Refs\n *\n * Refs are wrapped in a nullary function and rendered in an effect which will\n * update the rendered text tree when the ref's value changes. This is\n * essentially a syntactic convenience, allowing JSX templates to contain\n * `\\{ someRef \\}` instead of `\\{ someRef.value \\}`.\n *\n * ## Refkey\n *\n * Refkeys are replaced with a component creator for the Reference component\n * associated with the current source file. This allows creating references by\n * placing them directly in the component tree e.g. `{ someRefkey }`.\n *\n * ## CustomContext\n *\n * CustomContext is a special kind of component which allows rendering children\n * within a custom reactive context. This enables components to manually manage\n * the lifetime of their reactive contexts.\n *\n * ## IntrinsicElement\n *\n * Various intrinsic elements exist to control formatting. These elements\n * provide Print Hooks that are called during Printing.\n *\n * # Rendered Text Tree\n *\n * This tree is a nested array structure containing the rendered output of all\n * the components in the component tree. This structure is updated reactively\n * when reactive dependencies change. The nodes in this tree are predominantly\n * strings, but can also be Print Hooks.\n *\n * This tree is built by the `renderTree` function.\n *\n * # Document Tree\n *\n * This tree is constructed by calling `printTree` on the rendered text tree.\n * The rendered text tree is walked and the appropriate Prettier builders are\n * called to produce a document tree. The result is then passed to Prettier's\n * `printDocToString` function to produce the final source text.\n */\n",
|
|
10276
10680
|
"excerptTokens": [
|
|
10277
10681
|
{
|
|
10278
10682
|
"kind": "Content",
|
|
@@ -10693,7 +11097,7 @@
|
|
|
10693
11097
|
{
|
|
10694
11098
|
"kind": "Interface",
|
|
10695
11099
|
"canonicalReference": "@alloy-js/core!OutputScope:interface",
|
|
10696
|
-
"docComment": "/**\n * A container of symbols accessible within some scope in your output code.\n *\n * @remarks\n *\n * Scopes form a tree. All scopes except the global scope have a parent scope identified by `parent`. Scopes can have nested scopes which can be accessed using the `children` property. Whether a child scope can be accessed from the parent scope is determined by each language's scoping rules.\n *\n * This interface is the base implementation of scope. Generally, most languages will have subtypes of this interface that provide additional metadata about the scope. For example, TypeScript scopes need to track whether the scope represents a package, module, class, function, etc.\n *\n * Scopes are reactive values, which allows you to observe changes to the scope within a reactive context.\n */\n",
|
|
11100
|
+
"docComment": "/**\n * A container of symbols accessible within some scope in your output code.\n *\n * @remarks\n *\n *\n *\n * Scopes form a tree. All scopes except the global scope have a parent scope\n * identified by `parent`. Scopes can have nested scopes which can be accessed\n * using the `children` property. Whether a child scope can be accessed from\n * the parent scope is determined by each language's scoping rules.\n *\n * This interface is the base implementation of scope. Generally, most languages\n * will have subtypes of this interface that provide additional metadata about\n * the scope. For example, TypeScript scopes need to track whether the scope\n * represents a package, module, class, function, etc.\n *\n * Scopes are reactive values, which allows you to observe changes to the scope\n * within a reactive context.\n */\n",
|
|
10697
11101
|
"excerptTokens": [
|
|
10698
11102
|
{
|
|
10699
11103
|
"kind": "Content",
|
|
@@ -10838,11 +11242,11 @@
|
|
|
10838
11242
|
{
|
|
10839
11243
|
"kind": "PropertySignature",
|
|
10840
11244
|
"canonicalReference": "@alloy-js/core!OutputScope#kind:member",
|
|
10841
|
-
"docComment": "/**\n * The kind of scope. Subtypes will likely provide a set of known scope kinds
|
|
11245
|
+
"docComment": "/**\n * The kind of scope. Subtypes will likely provide a set of known scope kinds.\n * The kind is not used by the binder itself.\n */\n",
|
|
10842
11246
|
"excerptTokens": [
|
|
10843
11247
|
{
|
|
10844
11248
|
"kind": "Content",
|
|
10845
|
-
"text": "kind
|
|
11249
|
+
"text": "kind?: "
|
|
10846
11250
|
},
|
|
10847
11251
|
{
|
|
10848
11252
|
"kind": "Content",
|
|
@@ -10854,7 +11258,7 @@
|
|
|
10854
11258
|
}
|
|
10855
11259
|
],
|
|
10856
11260
|
"isReadonly": false,
|
|
10857
|
-
"isOptional":
|
|
11261
|
+
"isOptional": true,
|
|
10858
11262
|
"releaseTag": "Public",
|
|
10859
11263
|
"name": "kind",
|
|
10860
11264
|
"propertyTypeTokenRange": {
|
|
@@ -10892,7 +11296,7 @@
|
|
|
10892
11296
|
{
|
|
10893
11297
|
"kind": "PropertySignature",
|
|
10894
11298
|
"canonicalReference": "@alloy-js/core!OutputScope#owner:member",
|
|
10895
|
-
"docComment": "/**\n * The symbol that owns this scope. This is only defined for scopes that have the {@link OutputScopeFlags.StaticMemberScope} flag.\n */\n",
|
|
11299
|
+
"docComment": "/**\n * The symbol that owns this scope. This is only defined for scopes that have\n * the {@link OutputScopeFlags.StaticMemberScope} flag.\n */\n",
|
|
10896
11300
|
"excerptTokens": [
|
|
10897
11301
|
{
|
|
10898
11302
|
"kind": "Content",
|
|
@@ -11082,7 +11486,7 @@
|
|
|
11082
11486
|
{
|
|
11083
11487
|
"kind": "EnumMember",
|
|
11084
11488
|
"canonicalReference": "@alloy-js/core!OutputScopeFlags.MemberScope:member",
|
|
11085
|
-
"docComment": "/**\n * This scope is a member scope. Scopes with this flag will have an `owner
|
|
11489
|
+
"docComment": "/**\n * This scope is a member scope. Scopes with this flag will have an `owner`\n * property that points to the symbol whose member this scope holds.\n */\n",
|
|
11086
11490
|
"excerptTokens": [
|
|
11087
11491
|
{
|
|
11088
11492
|
"kind": "Content",
|
|
@@ -11147,7 +11551,7 @@
|
|
|
11147
11551
|
{
|
|
11148
11552
|
"kind": "Interface",
|
|
11149
11553
|
"canonicalReference": "@alloy-js/core!OutputSymbol:interface",
|
|
11150
|
-
"docComment": "/**\n * An output symbol is a named entity that can be referenced in your output code. Referencing symbols is generally accomplished by using a {@link Refkey}.\n *\n * @remarks\n *\n * This interface is the base implementation of symbol. Generally, most languages will have subtypes of this interface that provide additional
|
|
11554
|
+
"docComment": "/**\n * An output symbol is a named entity that can be referenced in your output\n * code. Referencing symbols is generally accomplished by using a\n * {@link Refkey}.\n *\n * @remarks\n *\n *\n *\n * This interface is the base implementation of symbol. Generally, most\n * languages will have subtypes of this interface that provide additional,\n * language-specific metadata about declared symbols. For example, symbols in\n * TypeScript need to track whether they are exported or what kind of symbol\n * they are (e.g. type, value, parameter, etc.)\n *\n * Symbols are reactive values, which allows you to observe changes to the symbol\n * information. For example, a symbol's name may change if it becomes conflicted\n * with a symbol that is added later.\n */\n",
|
|
11151
11555
|
"excerptTokens": [
|
|
11152
11556
|
{
|
|
11153
11557
|
"kind": "Content",
|
|
@@ -11218,7 +11622,7 @@
|
|
|
11218
11622
|
{
|
|
11219
11623
|
"kind": "PropertySignature",
|
|
11220
11624
|
"canonicalReference": "@alloy-js/core!OutputSymbol#instanceMemberScope:member",
|
|
11221
|
-
"docComment": "/**\n * The instance members available on this symbol.\n *\n * @remarks\n *\n * Instance members are members that are available when this symbol is instantiated. Instantiation is language-specific. For example, in TypeScript, instance members of symbols for classes are available when the class is instantiated with a new expression.\n *\n * When a symbol cannot have instance members, this is undefined.\n */\n",
|
|
11625
|
+
"docComment": "/**\n * The instance members available on this symbol.\n *\n * @remarks\n *\n *\n *\n * Instance members are members that are available when this symbol is\n * instantiated. Instantiation is language-specific. For example, in\n * TypeScript, instance members of symbols for classes are available when the\n * class is instantiated with a new expression.\n *\n * When a symbol cannot have instance members, this is undefined.\n */\n",
|
|
11222
11626
|
"excerptTokens": [
|
|
11223
11627
|
{
|
|
11224
11628
|
"kind": "Content",
|
|
@@ -11243,6 +11647,38 @@
|
|
|
11243
11647
|
"endIndex": 2
|
|
11244
11648
|
}
|
|
11245
11649
|
},
|
|
11650
|
+
{
|
|
11651
|
+
"kind": "PropertySignature",
|
|
11652
|
+
"canonicalReference": "@alloy-js/core!OutputSymbol#metadata:member",
|
|
11653
|
+
"docComment": "/**\n * Additional custom metadata about this symbol.\n */\n",
|
|
11654
|
+
"excerptTokens": [
|
|
11655
|
+
{
|
|
11656
|
+
"kind": "Content",
|
|
11657
|
+
"text": "metadata: "
|
|
11658
|
+
},
|
|
11659
|
+
{
|
|
11660
|
+
"kind": "Reference",
|
|
11661
|
+
"text": "Record",
|
|
11662
|
+
"canonicalReference": "!Record:type"
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
"kind": "Content",
|
|
11666
|
+
"text": "<string, unknown>"
|
|
11667
|
+
},
|
|
11668
|
+
{
|
|
11669
|
+
"kind": "Content",
|
|
11670
|
+
"text": ";"
|
|
11671
|
+
}
|
|
11672
|
+
],
|
|
11673
|
+
"isReadonly": false,
|
|
11674
|
+
"isOptional": false,
|
|
11675
|
+
"releaseTag": "Public",
|
|
11676
|
+
"name": "metadata",
|
|
11677
|
+
"propertyTypeTokenRange": {
|
|
11678
|
+
"startIndex": 1,
|
|
11679
|
+
"endIndex": 3
|
|
11680
|
+
}
|
|
11681
|
+
},
|
|
11246
11682
|
{
|
|
11247
11683
|
"kind": "PropertySignature",
|
|
11248
11684
|
"canonicalReference": "@alloy-js/core!OutputSymbol#name:member",
|
|
@@ -11360,7 +11796,7 @@
|
|
|
11360
11796
|
{
|
|
11361
11797
|
"kind": "PropertySignature",
|
|
11362
11798
|
"canonicalReference": "@alloy-js/core!OutputSymbol#staticMemberScope:member",
|
|
11363
|
-
"docComment": "/**\n * The static members available on this symbol.\n *\n * @remarks\n *\n * Static members are members that are available on the symbol itself. These symbols can be accessed off the parent symbol directly with a refkey. There is only ever one static member symbol in the output (i.e., the symbol is unique).\n */\n",
|
|
11799
|
+
"docComment": "/**\n * The static members available on this symbol.\n *\n * @remarks\n *\n *\n *\n * Static members are members that are available on the symbol itself. These symbols\n * can be accessed off the parent symbol directly with a refkey. There is only ever\n * one static member symbol in the output (i.e., the symbol is unique).\n */\n",
|
|
11364
11800
|
"excerptTokens": [
|
|
11365
11801
|
{
|
|
11366
11802
|
"kind": "Content",
|
|
@@ -11406,7 +11842,7 @@
|
|
|
11406
11842
|
{
|
|
11407
11843
|
"kind": "EnumMember",
|
|
11408
11844
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.InstanceMember:member",
|
|
11409
|
-
"docComment": "/**\n * Whether this symbol is an instance member of another symbol (i.e that it is stored in an instance member scope).\n */\n",
|
|
11845
|
+
"docComment": "/**\n * Whether this symbol is an instance member of another symbol (i.e that it is\n * stored in an instance member scope).\n */\n",
|
|
11410
11846
|
"excerptTokens": [
|
|
11411
11847
|
{
|
|
11412
11848
|
"kind": "Content",
|
|
@@ -11427,7 +11863,7 @@
|
|
|
11427
11863
|
{
|
|
11428
11864
|
"kind": "EnumMember",
|
|
11429
11865
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.InstanceMemberContainer:member",
|
|
11430
|
-
"docComment": "/**\n * The symbol is an instance member container. Symbols with this flag will have a instanceMemberScope property that contains symbols for instance members.\n */\n",
|
|
11866
|
+
"docComment": "/**\n * The symbol is an instance member container. Symbols with this flag will have a\n * instanceMemberScope property that contains symbols for instance members.\n */\n",
|
|
11431
11867
|
"excerptTokens": [
|
|
11432
11868
|
{
|
|
11433
11869
|
"kind": "Content",
|
|
@@ -11511,7 +11947,7 @@
|
|
|
11511
11947
|
{
|
|
11512
11948
|
"kind": "EnumMember",
|
|
11513
11949
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.StaticMember:member",
|
|
11514
|
-
"docComment": "/**\n * Whether this symbol is a static member of another symbol (i.e that it is stored in a static member scope).\n */\n",
|
|
11950
|
+
"docComment": "/**\n * Whether this symbol is a static member of another symbol (i.e that it is\n * stored in a static member scope).\n */\n",
|
|
11515
11951
|
"excerptTokens": [
|
|
11516
11952
|
{
|
|
11517
11953
|
"kind": "Content",
|
|
@@ -11532,7 +11968,7 @@
|
|
|
11532
11968
|
{
|
|
11533
11969
|
"kind": "EnumMember",
|
|
11534
11970
|
"canonicalReference": "@alloy-js/core!OutputSymbolFlags.StaticMemberContainer:member",
|
|
11535
|
-
"docComment": "/**\n * The symbol is a static member container. Symbols with this flag will have a staticMemberScope property that contains symbols for static members.\n */\n",
|
|
11971
|
+
"docComment": "/**\n * The symbol is a static member container. Symbols with this flag will have a\n * staticMemberScope property that contains symbols for static members.\n */\n",
|
|
11536
11972
|
"excerptTokens": [
|
|
11537
11973
|
{
|
|
11538
11974
|
"kind": "Content",
|
|
@@ -11555,14 +11991,14 @@
|
|
|
11555
11991
|
{
|
|
11556
11992
|
"kind": "Interface",
|
|
11557
11993
|
"canonicalReference": "@alloy-js/core!OutputVisitor:interface",
|
|
11558
|
-
"docComment": "/**\n * A visitor to collect the output from {@link render}. Used by {@link traverseOutput}.\n */\n",
|
|
11994
|
+
"docComment": "/**\n * A visitor to collect the output from {@link render}. Used by\n * {@link traverseOutput}.\n */\n",
|
|
11559
11995
|
"excerptTokens": [
|
|
11560
11996
|
{
|
|
11561
11997
|
"kind": "Content",
|
|
11562
11998
|
"text": "export interface OutputVisitor "
|
|
11563
11999
|
}
|
|
11564
12000
|
],
|
|
11565
|
-
"fileUrlPath": "src/utils.
|
|
12001
|
+
"fileUrlPath": "src/utils.tsx",
|
|
11566
12002
|
"releaseTag": "Public",
|
|
11567
12003
|
"name": "OutputVisitor",
|
|
11568
12004
|
"preserveMemberOrder": false,
|
|
@@ -12028,7 +12464,7 @@
|
|
|
12028
12464
|
{
|
|
12029
12465
|
"kind": "PropertySignature",
|
|
12030
12466
|
"canonicalReference": "@alloy-js/core!PrintTreeOptions#printWidth:member",
|
|
12031
|
-
"docComment": "/**\n * The number of characters the printer will wrap on. Defaults to 100 characters.\n */\n",
|
|
12467
|
+
"docComment": "/**\n * The number of characters the printer will wrap on. Defaults to 100\n * characters.\n */\n",
|
|
12032
12468
|
"excerptTokens": [
|
|
12033
12469
|
{
|
|
12034
12470
|
"kind": "Content",
|
|
@@ -12142,65 +12578,158 @@
|
|
|
12142
12578
|
},
|
|
12143
12579
|
{
|
|
12144
12580
|
"kind": "Function",
|
|
12145
|
-
"canonicalReference": "@alloy-js/core!
|
|
12146
|
-
"docComment": "",
|
|
12581
|
+
"canonicalReference": "@alloy-js/core!Prose:function(1)",
|
|
12582
|
+
"docComment": "/**\n * Create a block of text which will break once a word exceeds the configured line width.\n * The children are expected to be strings, and a <br /> is added between each word.\n */\n",
|
|
12147
12583
|
"excerptTokens": [
|
|
12148
12584
|
{
|
|
12149
12585
|
"kind": "Content",
|
|
12150
|
-
"text": "export declare function
|
|
12151
|
-
},
|
|
12152
|
-
{
|
|
12153
|
-
"kind": "Reference",
|
|
12154
|
-
"text": "Component",
|
|
12155
|
-
"canonicalReference": "@alloy-js/core!Component:interface"
|
|
12156
|
-
},
|
|
12157
|
-
{
|
|
12158
|
-
"kind": "Content",
|
|
12159
|
-
"text": "<any>"
|
|
12160
|
-
},
|
|
12161
|
-
{
|
|
12162
|
-
"kind": "Content",
|
|
12163
|
-
"text": ", props: "
|
|
12586
|
+
"text": "export declare function Prose(props: "
|
|
12164
12587
|
},
|
|
12165
12588
|
{
|
|
12166
12589
|
"kind": "Reference",
|
|
12167
|
-
"text": "
|
|
12168
|
-
"canonicalReference": "@alloy-js/core!
|
|
12590
|
+
"text": "Prose",
|
|
12591
|
+
"canonicalReference": "@alloy-js/core!Prose:interface"
|
|
12169
12592
|
},
|
|
12170
12593
|
{
|
|
12171
12594
|
"kind": "Content",
|
|
12172
12595
|
"text": "): "
|
|
12173
12596
|
},
|
|
12174
12597
|
{
|
|
12175
|
-
"kind": "
|
|
12176
|
-
"text": "
|
|
12598
|
+
"kind": "Reference",
|
|
12599
|
+
"text": "Children",
|
|
12600
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
12177
12601
|
},
|
|
12178
12602
|
{
|
|
12179
12603
|
"kind": "Content",
|
|
12180
12604
|
"text": ";"
|
|
12181
12605
|
}
|
|
12182
12606
|
],
|
|
12183
|
-
"fileUrlPath": "src/
|
|
12607
|
+
"fileUrlPath": "src/components/Prose.tsx",
|
|
12184
12608
|
"returnTypeTokenRange": {
|
|
12185
|
-
"startIndex":
|
|
12186
|
-
"endIndex":
|
|
12609
|
+
"startIndex": 3,
|
|
12610
|
+
"endIndex": 4
|
|
12187
12611
|
},
|
|
12188
12612
|
"releaseTag": "Public",
|
|
12189
12613
|
"overloadIndex": 1,
|
|
12190
12614
|
"parameters": [
|
|
12191
12615
|
{
|
|
12192
|
-
"parameterName": "
|
|
12616
|
+
"parameterName": "props",
|
|
12193
12617
|
"parameterTypeTokenRange": {
|
|
12194
12618
|
"startIndex": 1,
|
|
12195
|
-
"endIndex":
|
|
12619
|
+
"endIndex": 2
|
|
12196
12620
|
},
|
|
12197
12621
|
"isOptional": false
|
|
12198
|
-
}
|
|
12199
|
-
|
|
12200
|
-
|
|
12201
|
-
|
|
12202
|
-
|
|
12203
|
-
|
|
12622
|
+
}
|
|
12623
|
+
],
|
|
12624
|
+
"name": "Prose"
|
|
12625
|
+
},
|
|
12626
|
+
{
|
|
12627
|
+
"kind": "Interface",
|
|
12628
|
+
"canonicalReference": "@alloy-js/core!Prose:interface",
|
|
12629
|
+
"docComment": "",
|
|
12630
|
+
"excerptTokens": [
|
|
12631
|
+
{
|
|
12632
|
+
"kind": "Content",
|
|
12633
|
+
"text": "export interface Prose "
|
|
12634
|
+
}
|
|
12635
|
+
],
|
|
12636
|
+
"fileUrlPath": "src/components/Prose.tsx",
|
|
12637
|
+
"releaseTag": "Public",
|
|
12638
|
+
"name": "Prose",
|
|
12639
|
+
"preserveMemberOrder": false,
|
|
12640
|
+
"members": [
|
|
12641
|
+
{
|
|
12642
|
+
"kind": "PropertySignature",
|
|
12643
|
+
"canonicalReference": "@alloy-js/core!Prose#children:member",
|
|
12644
|
+
"docComment": "",
|
|
12645
|
+
"excerptTokens": [
|
|
12646
|
+
{
|
|
12647
|
+
"kind": "Content",
|
|
12648
|
+
"text": "children: "
|
|
12649
|
+
},
|
|
12650
|
+
{
|
|
12651
|
+
"kind": "Reference",
|
|
12652
|
+
"text": "Children",
|
|
12653
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
12654
|
+
},
|
|
12655
|
+
{
|
|
12656
|
+
"kind": "Content",
|
|
12657
|
+
"text": ";"
|
|
12658
|
+
}
|
|
12659
|
+
],
|
|
12660
|
+
"isReadonly": false,
|
|
12661
|
+
"isOptional": false,
|
|
12662
|
+
"releaseTag": "Public",
|
|
12663
|
+
"name": "children",
|
|
12664
|
+
"propertyTypeTokenRange": {
|
|
12665
|
+
"startIndex": 1,
|
|
12666
|
+
"endIndex": 2
|
|
12667
|
+
}
|
|
12668
|
+
}
|
|
12669
|
+
],
|
|
12670
|
+
"extendsTokenRanges": []
|
|
12671
|
+
},
|
|
12672
|
+
{
|
|
12673
|
+
"kind": "Function",
|
|
12674
|
+
"canonicalReference": "@alloy-js/core!pushStack:function(1)",
|
|
12675
|
+
"docComment": "",
|
|
12676
|
+
"excerptTokens": [
|
|
12677
|
+
{
|
|
12678
|
+
"kind": "Content",
|
|
12679
|
+
"text": "export declare function pushStack(component: "
|
|
12680
|
+
},
|
|
12681
|
+
{
|
|
12682
|
+
"kind": "Reference",
|
|
12683
|
+
"text": "Component",
|
|
12684
|
+
"canonicalReference": "@alloy-js/core!Component:interface"
|
|
12685
|
+
},
|
|
12686
|
+
{
|
|
12687
|
+
"kind": "Content",
|
|
12688
|
+
"text": "<any>"
|
|
12689
|
+
},
|
|
12690
|
+
{
|
|
12691
|
+
"kind": "Content",
|
|
12692
|
+
"text": ", props: "
|
|
12693
|
+
},
|
|
12694
|
+
{
|
|
12695
|
+
"kind": "Reference",
|
|
12696
|
+
"text": "Props",
|
|
12697
|
+
"canonicalReference": "@alloy-js/core!Props:type"
|
|
12698
|
+
},
|
|
12699
|
+
{
|
|
12700
|
+
"kind": "Content",
|
|
12701
|
+
"text": "): "
|
|
12702
|
+
},
|
|
12703
|
+
{
|
|
12704
|
+
"kind": "Content",
|
|
12705
|
+
"text": "void"
|
|
12706
|
+
},
|
|
12707
|
+
{
|
|
12708
|
+
"kind": "Content",
|
|
12709
|
+
"text": ";"
|
|
12710
|
+
}
|
|
12711
|
+
],
|
|
12712
|
+
"fileUrlPath": "src/jsx-runtime.ts",
|
|
12713
|
+
"returnTypeTokenRange": {
|
|
12714
|
+
"startIndex": 6,
|
|
12715
|
+
"endIndex": 7
|
|
12716
|
+
},
|
|
12717
|
+
"releaseTag": "Public",
|
|
12718
|
+
"overloadIndex": 1,
|
|
12719
|
+
"parameters": [
|
|
12720
|
+
{
|
|
12721
|
+
"parameterName": "component",
|
|
12722
|
+
"parameterTypeTokenRange": {
|
|
12723
|
+
"startIndex": 1,
|
|
12724
|
+
"endIndex": 3
|
|
12725
|
+
},
|
|
12726
|
+
"isOptional": false
|
|
12727
|
+
},
|
|
12728
|
+
{
|
|
12729
|
+
"parameterName": "props",
|
|
12730
|
+
"parameterTypeTokenRange": {
|
|
12731
|
+
"startIndex": 4,
|
|
12732
|
+
"endIndex": 5
|
|
12204
12733
|
},
|
|
12205
12734
|
"isOptional": false
|
|
12206
12735
|
}
|
|
@@ -12446,7 +12975,7 @@
|
|
|
12446
12975
|
{
|
|
12447
12976
|
"kind": "Interface",
|
|
12448
12977
|
"canonicalReference": "@alloy-js/core!ResolutionResult:interface",
|
|
12449
|
-
"docComment": "/**\n * A successful resolution of a refkey.\n *\n * @example\n *\n * Let's say we have the following scopes and symbols:\n * ```\n * scope: global scope\n * ├── scope: namespace scope 1\n * │ └── symbol: foo\n * │ └── static member scope\n * │ └── symbol: bar\n * └── scope: namespace scope 2\n * └── (resolve bar from here)\n * ```\n *\n * When we resolve the refkey for `bar` from within `namespace scope 2`, we will get the following resolution result:\n *\n * **targetDeclaration**: symbol bar, the symbol we resolved.\n
|
|
12978
|
+
"docComment": "/**\n * A successful resolution of a refkey.\n *\n * @example\n *\n *\n *\n * Let's say we have the following scopes and symbols:\n *\n * ```\n * scope: global scope\n * ├── scope: namespace scope 1\n * │ └── symbol: foo\n * │ └── static member scope\n * │ └── symbol: bar\n * └── scope: namespace scope 2\n * └── (resolve bar from here)\n * ```\n *\n *\n * When we resolve the refkey for `bar` from within `namespace scope 2`, we will get the following\n * resolution result:\n *\n * * **targetDeclaration**: symbol bar, the symbol we resolved.\n * * **commonScope**: global scope, because this is the most specific scope that contains both the declaration and the reference.\n * * **pathUp**: [namespace scope 2], because this is the scope between the reference and the common scope.\n * * **pathDown**: [namespace scope 1], because this is the scope between the common scope and the declaration\n * * **memberPath**: [foo, bar], because we resolved a member symbol and these are the symbols that lead from the base declaration to the member symbol.\n */\n",
|
|
12450
12979
|
"excerptTokens": [
|
|
12451
12980
|
{
|
|
12452
12981
|
"kind": "Content",
|
|
@@ -12530,7 +13059,7 @@
|
|
|
12530
13059
|
{
|
|
12531
13060
|
"kind": "PropertySignature",
|
|
12532
13061
|
"canonicalReference": "@alloy-js/core!ResolutionResult#memberPath:member",
|
|
12533
|
-
"docComment": "/**\n * When resolving a member symbol, this is the path of symbols that lead from the base declaration to the member symbol.\n */\n",
|
|
13062
|
+
"docComment": "/**\n * When resolving a member symbol, this is the path of symbols that lead from\n * the base declaration to the member symbol.\n */\n",
|
|
12534
13063
|
"excerptTokens": [
|
|
12535
13064
|
{
|
|
12536
13065
|
"kind": "Content",
|
|
@@ -12641,7 +13170,7 @@
|
|
|
12641
13170
|
{
|
|
12642
13171
|
"kind": "Function",
|
|
12643
13172
|
"canonicalReference": "@alloy-js/core!resolve:function(1)",
|
|
12644
|
-
"docComment": "/**\n * Resolve a refkey in the current scope. Returns a Ref for the resolution result
|
|
13173
|
+
"docComment": "/**\n * Resolve a refkey in the current scope. Returns a Ref for the resolution result.\n * The value of the ref will be undefined if the identifier hasn't been resolved yet.\n *\n * @remarks\n *\n *\n *\n * This API may return a ref for undefined, but that does not mean that the symbol is\n * not found. The symbol you're looking for may not have been declared yet. When the symbol\n * is declared, the ref will be updated with the resolution result.\n */\n",
|
|
12645
13174
|
"excerptTokens": [
|
|
12646
13175
|
{
|
|
12647
13176
|
"kind": "Content",
|
|
@@ -12908,7 +13437,7 @@
|
|
|
12908
13437
|
{
|
|
12909
13438
|
"kind": "Function",
|
|
12910
13439
|
"canonicalReference": "@alloy-js/core!Scope:function(1)",
|
|
12911
|
-
"docComment": "",
|
|
13440
|
+
"docComment": "/**\n * Declare a scope for this component's children. Any symbols and scopes\n * declared in the children of this component will be in this scope.\n *\n * @see\n *\n * {@link ScopeContext}\n */\n",
|
|
12912
13441
|
"excerptTokens": [
|
|
12913
13442
|
{
|
|
12914
13443
|
"kind": "Content",
|
|
@@ -12917,7 +13446,7 @@
|
|
|
12917
13446
|
{
|
|
12918
13447
|
"kind": "Reference",
|
|
12919
13448
|
"text": "ScopeProps",
|
|
12920
|
-
"canonicalReference": "@alloy-js/core!ScopeProps:
|
|
13449
|
+
"canonicalReference": "@alloy-js/core!ScopeProps:type"
|
|
12921
13450
|
},
|
|
12922
13451
|
{
|
|
12923
13452
|
"kind": "Content",
|
|
@@ -12990,23 +13519,59 @@
|
|
|
12990
13519
|
}
|
|
12991
13520
|
},
|
|
12992
13521
|
{
|
|
12993
|
-
"kind": "
|
|
12994
|
-
"canonicalReference": "@alloy-js/core!ScopeProps:
|
|
13522
|
+
"kind": "TypeAlias",
|
|
13523
|
+
"canonicalReference": "@alloy-js/core!ScopeProps:type",
|
|
12995
13524
|
"docComment": "",
|
|
12996
13525
|
"excerptTokens": [
|
|
12997
13526
|
{
|
|
12998
13527
|
"kind": "Content",
|
|
12999
|
-
"text": "export
|
|
13528
|
+
"text": "export type ScopeProps = "
|
|
13529
|
+
},
|
|
13530
|
+
{
|
|
13531
|
+
"kind": "Reference",
|
|
13532
|
+
"text": "ScopePropsWithValue",
|
|
13533
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue:interface"
|
|
13534
|
+
},
|
|
13535
|
+
{
|
|
13536
|
+
"kind": "Content",
|
|
13537
|
+
"text": " | "
|
|
13538
|
+
},
|
|
13539
|
+
{
|
|
13540
|
+
"kind": "Reference",
|
|
13541
|
+
"text": "ScopePropsWithInfo",
|
|
13542
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface"
|
|
13543
|
+
},
|
|
13544
|
+
{
|
|
13545
|
+
"kind": "Content",
|
|
13546
|
+
"text": ";"
|
|
13000
13547
|
}
|
|
13001
13548
|
],
|
|
13002
13549
|
"fileUrlPath": "src/components/Scope.tsx",
|
|
13003
13550
|
"releaseTag": "Public",
|
|
13004
13551
|
"name": "ScopeProps",
|
|
13552
|
+
"typeTokenRange": {
|
|
13553
|
+
"startIndex": 1,
|
|
13554
|
+
"endIndex": 4
|
|
13555
|
+
}
|
|
13556
|
+
},
|
|
13557
|
+
{
|
|
13558
|
+
"kind": "Interface",
|
|
13559
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo:interface",
|
|
13560
|
+
"docComment": "/**\n * Create a scope by providing a name and optional metadata.\n */\n",
|
|
13561
|
+
"excerptTokens": [
|
|
13562
|
+
{
|
|
13563
|
+
"kind": "Content",
|
|
13564
|
+
"text": "export interface ScopePropsWithInfo "
|
|
13565
|
+
}
|
|
13566
|
+
],
|
|
13567
|
+
"fileUrlPath": "src/components/Scope.tsx",
|
|
13568
|
+
"releaseTag": "Public",
|
|
13569
|
+
"name": "ScopePropsWithInfo",
|
|
13005
13570
|
"preserveMemberOrder": false,
|
|
13006
13571
|
"members": [
|
|
13007
13572
|
{
|
|
13008
13573
|
"kind": "PropertySignature",
|
|
13009
|
-
"canonicalReference": "@alloy-js/core!
|
|
13574
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#children:member",
|
|
13010
13575
|
"docComment": "",
|
|
13011
13576
|
"excerptTokens": [
|
|
13012
13577
|
{
|
|
@@ -13034,8 +13599,8 @@
|
|
|
13034
13599
|
},
|
|
13035
13600
|
{
|
|
13036
13601
|
"kind": "PropertySignature",
|
|
13037
|
-
"canonicalReference": "@alloy-js/core!
|
|
13038
|
-
"docComment": "",
|
|
13602
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#kind:member",
|
|
13603
|
+
"docComment": "/**\n * The kind of scope. This may be used by application code to determine how\n * to handle symbols in this scope. It is not used by the core framework.\n */\n",
|
|
13039
13604
|
"excerptTokens": [
|
|
13040
13605
|
{
|
|
13041
13606
|
"kind": "Content",
|
|
@@ -13061,8 +13626,40 @@
|
|
|
13061
13626
|
},
|
|
13062
13627
|
{
|
|
13063
13628
|
"kind": "PropertySignature",
|
|
13064
|
-
"canonicalReference": "@alloy-js/core!
|
|
13065
|
-
"docComment": "",
|
|
13629
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#metadata:member",
|
|
13630
|
+
"docComment": "/**\n * Additional metadata for the scope.\n */\n",
|
|
13631
|
+
"excerptTokens": [
|
|
13632
|
+
{
|
|
13633
|
+
"kind": "Content",
|
|
13634
|
+
"text": "metadata?: "
|
|
13635
|
+
},
|
|
13636
|
+
{
|
|
13637
|
+
"kind": "Reference",
|
|
13638
|
+
"text": "Record",
|
|
13639
|
+
"canonicalReference": "!Record:type"
|
|
13640
|
+
},
|
|
13641
|
+
{
|
|
13642
|
+
"kind": "Content",
|
|
13643
|
+
"text": "<string, unknown>"
|
|
13644
|
+
},
|
|
13645
|
+
{
|
|
13646
|
+
"kind": "Content",
|
|
13647
|
+
"text": ";"
|
|
13648
|
+
}
|
|
13649
|
+
],
|
|
13650
|
+
"isReadonly": false,
|
|
13651
|
+
"isOptional": true,
|
|
13652
|
+
"releaseTag": "Public",
|
|
13653
|
+
"name": "metadata",
|
|
13654
|
+
"propertyTypeTokenRange": {
|
|
13655
|
+
"startIndex": 1,
|
|
13656
|
+
"endIndex": 3
|
|
13657
|
+
}
|
|
13658
|
+
},
|
|
13659
|
+
{
|
|
13660
|
+
"kind": "PropertySignature",
|
|
13661
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithInfo#name:member",
|
|
13662
|
+
"docComment": "/**\n * The name of this scope.\n */\n",
|
|
13066
13663
|
"excerptTokens": [
|
|
13067
13664
|
{
|
|
13068
13665
|
"kind": "Content",
|
|
@@ -13085,15 +13682,61 @@
|
|
|
13085
13682
|
"startIndex": 1,
|
|
13086
13683
|
"endIndex": 2
|
|
13087
13684
|
}
|
|
13088
|
-
}
|
|
13685
|
+
}
|
|
13686
|
+
],
|
|
13687
|
+
"extendsTokenRanges": []
|
|
13688
|
+
},
|
|
13689
|
+
{
|
|
13690
|
+
"kind": "Interface",
|
|
13691
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue:interface",
|
|
13692
|
+
"docComment": "/**\n * Declare a scope by providing an already created scope. The scope is merely\n * exposed via {@link ScopeContext}.\n */\n",
|
|
13693
|
+
"excerptTokens": [
|
|
13694
|
+
{
|
|
13695
|
+
"kind": "Content",
|
|
13696
|
+
"text": "export interface ScopePropsWithValue "
|
|
13697
|
+
}
|
|
13698
|
+
],
|
|
13699
|
+
"fileUrlPath": "src/components/Scope.tsx",
|
|
13700
|
+
"releaseTag": "Public",
|
|
13701
|
+
"name": "ScopePropsWithValue",
|
|
13702
|
+
"preserveMemberOrder": false,
|
|
13703
|
+
"members": [
|
|
13089
13704
|
{
|
|
13090
13705
|
"kind": "PropertySignature",
|
|
13091
|
-
"canonicalReference": "@alloy-js/core!
|
|
13706
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue#children:member",
|
|
13092
13707
|
"docComment": "",
|
|
13093
13708
|
"excerptTokens": [
|
|
13094
13709
|
{
|
|
13095
13710
|
"kind": "Content",
|
|
13096
|
-
"text": "
|
|
13711
|
+
"text": "children?: "
|
|
13712
|
+
},
|
|
13713
|
+
{
|
|
13714
|
+
"kind": "Reference",
|
|
13715
|
+
"text": "Children",
|
|
13716
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
13717
|
+
},
|
|
13718
|
+
{
|
|
13719
|
+
"kind": "Content",
|
|
13720
|
+
"text": ";"
|
|
13721
|
+
}
|
|
13722
|
+
],
|
|
13723
|
+
"isReadonly": false,
|
|
13724
|
+
"isOptional": true,
|
|
13725
|
+
"releaseTag": "Public",
|
|
13726
|
+
"name": "children",
|
|
13727
|
+
"propertyTypeTokenRange": {
|
|
13728
|
+
"startIndex": 1,
|
|
13729
|
+
"endIndex": 2
|
|
13730
|
+
}
|
|
13731
|
+
},
|
|
13732
|
+
{
|
|
13733
|
+
"kind": "PropertySignature",
|
|
13734
|
+
"canonicalReference": "@alloy-js/core!ScopePropsWithValue#value:member",
|
|
13735
|
+
"docComment": "/**\n * The scope to use. If not provided, a new scope will be created.\n */\n",
|
|
13736
|
+
"excerptTokens": [
|
|
13737
|
+
{
|
|
13738
|
+
"kind": "Content",
|
|
13739
|
+
"text": "value: "
|
|
13097
13740
|
},
|
|
13098
13741
|
{
|
|
13099
13742
|
"kind": "Reference",
|
|
@@ -13106,7 +13749,7 @@
|
|
|
13106
13749
|
}
|
|
13107
13750
|
],
|
|
13108
13751
|
"isReadonly": false,
|
|
13109
|
-
"isOptional":
|
|
13752
|
+
"isOptional": false,
|
|
13110
13753
|
"releaseTag": "Public",
|
|
13111
13754
|
"name": "value",
|
|
13112
13755
|
"propertyTypeTokenRange": {
|
|
@@ -13878,6 +14521,34 @@
|
|
|
13878
14521
|
"endIndex": 2
|
|
13879
14522
|
}
|
|
13880
14523
|
},
|
|
14524
|
+
{
|
|
14525
|
+
"kind": "PropertySignature",
|
|
14526
|
+
"canonicalReference": "@alloy-js/core!SourceFileProps#header:member",
|
|
14527
|
+
"docComment": "/**\n * The header of the file. This is rendered before the contents of the file.\n * This is useful for adding license headers or other metadata to the file.\n */\n",
|
|
14528
|
+
"excerptTokens": [
|
|
14529
|
+
{
|
|
14530
|
+
"kind": "Content",
|
|
14531
|
+
"text": "header?: "
|
|
14532
|
+
},
|
|
14533
|
+
{
|
|
14534
|
+
"kind": "Reference",
|
|
14535
|
+
"text": "Children",
|
|
14536
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
14537
|
+
},
|
|
14538
|
+
{
|
|
14539
|
+
"kind": "Content",
|
|
14540
|
+
"text": ";"
|
|
14541
|
+
}
|
|
14542
|
+
],
|
|
14543
|
+
"isReadonly": false,
|
|
14544
|
+
"isOptional": true,
|
|
14545
|
+
"releaseTag": "Public",
|
|
14546
|
+
"name": "header",
|
|
14547
|
+
"propertyTypeTokenRange": {
|
|
14548
|
+
"startIndex": 1,
|
|
14549
|
+
"endIndex": 2
|
|
14550
|
+
}
|
|
14551
|
+
},
|
|
13881
14552
|
{
|
|
13882
14553
|
"kind": "PropertySignature",
|
|
13883
14554
|
"canonicalReference": "@alloy-js/core!SourceFileProps#path:member",
|
|
@@ -13908,7 +14579,7 @@
|
|
|
13908
14579
|
{
|
|
13909
14580
|
"kind": "PropertySignature",
|
|
13910
14581
|
"canonicalReference": "@alloy-js/core!SourceFileProps#reference:member",
|
|
13911
|
-
"docComment": "/**\n * The component to use to render refkeys references within the file's contents.\n */\n",
|
|
14582
|
+
"docComment": "/**\n * The component to use to render refkeys references within the file's\n * contents.\n */\n",
|
|
13912
14583
|
"excerptTokens": [
|
|
13913
14584
|
{
|
|
13914
14585
|
"kind": "Content",
|
|
@@ -14273,36 +14944,60 @@
|
|
|
14273
14944
|
"kind": "Content",
|
|
14274
14945
|
"text": "): "
|
|
14275
14946
|
},
|
|
14276
|
-
{
|
|
14277
|
-
"kind": "Content",
|
|
14278
|
-
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
14279
|
-
},
|
|
14280
|
-
{
|
|
14281
|
-
"kind": "Reference",
|
|
14282
|
-
"text": "Omit",
|
|
14283
|
-
"canonicalReference": "!Omit:type"
|
|
14284
|
-
},
|
|
14285
|
-
{
|
|
14286
|
-
"kind": "Content",
|
|
14287
|
-
"text": "<T, \"children\"> ? [props?: "
|
|
14288
|
-
},
|
|
14289
14947
|
{
|
|
14290
14948
|
"kind": "Reference",
|
|
14291
|
-
"text": "
|
|
14292
|
-
"canonicalReference": "@alloy-js/core!
|
|
14949
|
+
"text": "StcSignature",
|
|
14950
|
+
"canonicalReference": "@alloy-js/core!StcSignature:type"
|
|
14293
14951
|
},
|
|
14294
14952
|
{
|
|
14295
14953
|
"kind": "Content",
|
|
14296
|
-
"text": "<T>
|
|
14297
|
-
},
|
|
14298
|
-
{
|
|
14299
|
-
"kind": "Reference",
|
|
14300
|
-
"text": "MakeChildrenOptional",
|
|
14301
|
-
"canonicalReference": "@alloy-js/core!MakeChildrenOptional:type"
|
|
14954
|
+
"text": "<T>"
|
|
14302
14955
|
},
|
|
14303
14956
|
{
|
|
14304
14957
|
"kind": "Content",
|
|
14305
|
-
"text": "
|
|
14958
|
+
"text": ";"
|
|
14959
|
+
}
|
|
14960
|
+
],
|
|
14961
|
+
"fileUrlPath": "src/stc.ts",
|
|
14962
|
+
"returnTypeTokenRange": {
|
|
14963
|
+
"startIndex": 6,
|
|
14964
|
+
"endIndex": 8
|
|
14965
|
+
},
|
|
14966
|
+
"releaseTag": "Public",
|
|
14967
|
+
"overloadIndex": 1,
|
|
14968
|
+
"parameters": [
|
|
14969
|
+
{
|
|
14970
|
+
"parameterName": "Component",
|
|
14971
|
+
"parameterTypeTokenRange": {
|
|
14972
|
+
"startIndex": 3,
|
|
14973
|
+
"endIndex": 5
|
|
14974
|
+
},
|
|
14975
|
+
"isOptional": false
|
|
14976
|
+
}
|
|
14977
|
+
],
|
|
14978
|
+
"typeParameters": [
|
|
14979
|
+
{
|
|
14980
|
+
"typeParameterName": "T",
|
|
14981
|
+
"constraintTokenRange": {
|
|
14982
|
+
"startIndex": 1,
|
|
14983
|
+
"endIndex": 2
|
|
14984
|
+
},
|
|
14985
|
+
"defaultTypeTokenRange": {
|
|
14986
|
+
"startIndex": 0,
|
|
14987
|
+
"endIndex": 0
|
|
14988
|
+
}
|
|
14989
|
+
}
|
|
14990
|
+
],
|
|
14991
|
+
"name": "stc"
|
|
14992
|
+
},
|
|
14993
|
+
{
|
|
14994
|
+
"kind": "TypeAlias",
|
|
14995
|
+
"canonicalReference": "@alloy-js/core!StcComponentCreator:type",
|
|
14996
|
+
"docComment": "",
|
|
14997
|
+
"excerptTokens": [
|
|
14998
|
+
{
|
|
14999
|
+
"kind": "Content",
|
|
15000
|
+
"text": "export type StcComponentCreator<T> = "
|
|
14306
15001
|
},
|
|
14307
15002
|
{
|
|
14308
15003
|
"kind": "Reference",
|
|
@@ -14336,6 +15031,33 @@
|
|
|
14336
15031
|
"text": "ComponentCreator",
|
|
14337
15032
|
"canonicalReference": "@alloy-js/core!ComponentCreator:interface"
|
|
14338
15033
|
},
|
|
15034
|
+
{
|
|
15035
|
+
"kind": "Content",
|
|
15036
|
+
"text": "<T>;\n text(template: "
|
|
15037
|
+
},
|
|
15038
|
+
{
|
|
15039
|
+
"kind": "Reference",
|
|
15040
|
+
"text": "TemplateStringsArray",
|
|
15041
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
15042
|
+
},
|
|
15043
|
+
{
|
|
15044
|
+
"kind": "Content",
|
|
15045
|
+
"text": ", ...substitutions: "
|
|
15046
|
+
},
|
|
15047
|
+
{
|
|
15048
|
+
"kind": "Reference",
|
|
15049
|
+
"text": "Children",
|
|
15050
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15051
|
+
},
|
|
15052
|
+
{
|
|
15053
|
+
"kind": "Content",
|
|
15054
|
+
"text": "[]): "
|
|
15055
|
+
},
|
|
15056
|
+
{
|
|
15057
|
+
"kind": "Reference",
|
|
15058
|
+
"text": "ComponentCreator",
|
|
15059
|
+
"canonicalReference": "@alloy-js/core!ComponentCreator:interface"
|
|
15060
|
+
},
|
|
14339
15061
|
{
|
|
14340
15062
|
"kind": "Content",
|
|
14341
15063
|
"text": "<T>;\n children(...children: "
|
|
@@ -14364,22 +15086,91 @@
|
|
|
14364
15086
|
}
|
|
14365
15087
|
],
|
|
14366
15088
|
"fileUrlPath": "src/stc.ts",
|
|
14367
|
-
"returnTypeTokenRange": {
|
|
14368
|
-
"startIndex": 6,
|
|
14369
|
-
"endIndex": 25
|
|
14370
|
-
},
|
|
14371
15089
|
"releaseTag": "Public",
|
|
14372
|
-
"
|
|
14373
|
-
"
|
|
15090
|
+
"name": "StcComponentCreator",
|
|
15091
|
+
"typeParameters": [
|
|
14374
15092
|
{
|
|
14375
|
-
"
|
|
14376
|
-
"
|
|
14377
|
-
"startIndex":
|
|
14378
|
-
"endIndex":
|
|
15093
|
+
"typeParameterName": "T",
|
|
15094
|
+
"constraintTokenRange": {
|
|
15095
|
+
"startIndex": 0,
|
|
15096
|
+
"endIndex": 0
|
|
14379
15097
|
},
|
|
14380
|
-
"
|
|
15098
|
+
"defaultTypeTokenRange": {
|
|
15099
|
+
"startIndex": 0,
|
|
15100
|
+
"endIndex": 0
|
|
15101
|
+
}
|
|
15102
|
+
}
|
|
15103
|
+
],
|
|
15104
|
+
"typeTokenRange": {
|
|
15105
|
+
"startIndex": 1,
|
|
15106
|
+
"endIndex": 19
|
|
15107
|
+
}
|
|
15108
|
+
},
|
|
15109
|
+
{
|
|
15110
|
+
"kind": "TypeAlias",
|
|
15111
|
+
"canonicalReference": "@alloy-js/core!StcSignature:type",
|
|
15112
|
+
"docComment": "",
|
|
15113
|
+
"excerptTokens": [
|
|
15114
|
+
{
|
|
15115
|
+
"kind": "Content",
|
|
15116
|
+
"text": "export type StcSignature<T extends "
|
|
15117
|
+
},
|
|
15118
|
+
{
|
|
15119
|
+
"kind": "Content",
|
|
15120
|
+
"text": "{}"
|
|
15121
|
+
},
|
|
15122
|
+
{
|
|
15123
|
+
"kind": "Content",
|
|
15124
|
+
"text": "> = "
|
|
15125
|
+
},
|
|
15126
|
+
{
|
|
15127
|
+
"kind": "Content",
|
|
15128
|
+
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
15129
|
+
},
|
|
15130
|
+
{
|
|
15131
|
+
"kind": "Reference",
|
|
15132
|
+
"text": "Omit",
|
|
15133
|
+
"canonicalReference": "!Omit:type"
|
|
15134
|
+
},
|
|
15135
|
+
{
|
|
15136
|
+
"kind": "Content",
|
|
15137
|
+
"text": "<T, \"children\"> ? [props?: "
|
|
15138
|
+
},
|
|
15139
|
+
{
|
|
15140
|
+
"kind": "Reference",
|
|
15141
|
+
"text": "MakeChildrenOptional",
|
|
15142
|
+
"canonicalReference": "@alloy-js/core!MakeChildrenOptional:type"
|
|
15143
|
+
},
|
|
15144
|
+
{
|
|
15145
|
+
"kind": "Content",
|
|
15146
|
+
"text": "<T>] : [props: "
|
|
15147
|
+
},
|
|
15148
|
+
{
|
|
15149
|
+
"kind": "Reference",
|
|
15150
|
+
"text": "MakeChildrenOptional",
|
|
15151
|
+
"canonicalReference": "@alloy-js/core!MakeChildrenOptional:type"
|
|
15152
|
+
},
|
|
15153
|
+
{
|
|
15154
|
+
"kind": "Content",
|
|
15155
|
+
"text": "<T>]) => "
|
|
15156
|
+
},
|
|
15157
|
+
{
|
|
15158
|
+
"kind": "Reference",
|
|
15159
|
+
"text": "StcComponentCreator",
|
|
15160
|
+
"canonicalReference": "@alloy-js/core!StcComponentCreator:type"
|
|
15161
|
+
},
|
|
15162
|
+
{
|
|
15163
|
+
"kind": "Content",
|
|
15164
|
+
"text": "<T>"
|
|
15165
|
+
},
|
|
15166
|
+
{
|
|
15167
|
+
"kind": "Content",
|
|
15168
|
+
"text": ";"
|
|
14381
15169
|
}
|
|
14382
15170
|
],
|
|
15171
|
+
"fileUrlPath": "src/stc.ts",
|
|
15172
|
+
"releaseTag": "Public",
|
|
15173
|
+
"name": "StcSignature",
|
|
14383
15174
|
"typeParameters": [
|
|
14384
15175
|
{
|
|
14385
15176
|
"typeParameterName": "T",
|
|
@@ -14393,7 +15184,10 @@
|
|
|
14393
15184
|
}
|
|
14394
15185
|
}
|
|
14395
15186
|
],
|
|
14396
|
-
"
|
|
15187
|
+
"typeTokenRange": {
|
|
15188
|
+
"startIndex": 3,
|
|
15189
|
+
"endIndex": 12
|
|
15190
|
+
}
|
|
14397
15191
|
},
|
|
14398
15192
|
{
|
|
14399
15193
|
"kind": "Function",
|
|
@@ -14425,27 +15219,64 @@
|
|
|
14425
15219
|
"kind": "Content",
|
|
14426
15220
|
"text": "): "
|
|
14427
15221
|
},
|
|
14428
|
-
{
|
|
14429
|
-
"kind": "Content",
|
|
14430
|
-
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
14431
|
-
},
|
|
14432
15222
|
{
|
|
14433
15223
|
"kind": "Reference",
|
|
14434
|
-
"text": "
|
|
14435
|
-
"canonicalReference": "!
|
|
15224
|
+
"text": "StiSignature",
|
|
15225
|
+
"canonicalReference": "@alloy-js/core!StiSignature:type"
|
|
14436
15226
|
},
|
|
14437
15227
|
{
|
|
14438
15228
|
"kind": "Content",
|
|
14439
|
-
"text": "<"
|
|
15229
|
+
"text": "<T>"
|
|
14440
15230
|
},
|
|
14441
15231
|
{
|
|
14442
|
-
"kind": "
|
|
14443
|
-
"text": "
|
|
14444
|
-
|
|
15232
|
+
"kind": "Content",
|
|
15233
|
+
"text": ";"
|
|
15234
|
+
}
|
|
15235
|
+
],
|
|
15236
|
+
"fileUrlPath": "src/sti.ts",
|
|
15237
|
+
"returnTypeTokenRange": {
|
|
15238
|
+
"startIndex": 6,
|
|
15239
|
+
"endIndex": 8
|
|
15240
|
+
},
|
|
15241
|
+
"releaseTag": "Public",
|
|
15242
|
+
"overloadIndex": 1,
|
|
15243
|
+
"parameters": [
|
|
15244
|
+
{
|
|
15245
|
+
"parameterName": "name",
|
|
15246
|
+
"parameterTypeTokenRange": {
|
|
15247
|
+
"startIndex": 4,
|
|
15248
|
+
"endIndex": 5
|
|
15249
|
+
},
|
|
15250
|
+
"isOptional": false
|
|
15251
|
+
}
|
|
15252
|
+
],
|
|
15253
|
+
"typeParameters": [
|
|
15254
|
+
{
|
|
15255
|
+
"typeParameterName": "T",
|
|
15256
|
+
"constraintTokenRange": {
|
|
15257
|
+
"startIndex": 1,
|
|
15258
|
+
"endIndex": 3
|
|
15259
|
+
},
|
|
15260
|
+
"defaultTypeTokenRange": {
|
|
15261
|
+
"startIndex": 0,
|
|
15262
|
+
"endIndex": 0
|
|
15263
|
+
}
|
|
15264
|
+
}
|
|
15265
|
+
],
|
|
15266
|
+
"name": "sti"
|
|
15267
|
+
},
|
|
15268
|
+
{
|
|
15269
|
+
"kind": "TypeAlias",
|
|
15270
|
+
"canonicalReference": "@alloy-js/core!StiComponentCreator:type",
|
|
15271
|
+
"docComment": "",
|
|
15272
|
+
"excerptTokens": [
|
|
15273
|
+
{
|
|
15274
|
+
"kind": "Content",
|
|
15275
|
+
"text": "export type StiComponentCreator<T extends "
|
|
14445
15276
|
},
|
|
14446
15277
|
{
|
|
14447
15278
|
"kind": "Content",
|
|
14448
|
-
"text": "
|
|
15279
|
+
"text": "keyof "
|
|
14449
15280
|
},
|
|
14450
15281
|
{
|
|
14451
15282
|
"kind": "Reference",
|
|
@@ -14454,25 +15285,29 @@
|
|
|
14454
15285
|
},
|
|
14455
15286
|
{
|
|
14456
15287
|
"kind": "Content",
|
|
14457
|
-
"text": "
|
|
15288
|
+
"text": "> = "
|
|
15289
|
+
},
|
|
15290
|
+
{
|
|
15291
|
+
"kind": "Content",
|
|
15292
|
+
"text": "(() => "
|
|
14458
15293
|
},
|
|
14459
15294
|
{
|
|
14460
15295
|
"kind": "Reference",
|
|
14461
|
-
"text": "
|
|
14462
|
-
"canonicalReference": "@alloy-js/core!
|
|
15296
|
+
"text": "IntrinsicElementBase",
|
|
15297
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
|
|
14463
15298
|
},
|
|
14464
15299
|
{
|
|
14465
15300
|
"kind": "Content",
|
|
14466
|
-
"text": "
|
|
15301
|
+
"text": "<T>) & {\n code(template: "
|
|
14467
15302
|
},
|
|
14468
15303
|
{
|
|
14469
15304
|
"kind": "Reference",
|
|
14470
|
-
"text": "
|
|
14471
|
-
"canonicalReference": "
|
|
15305
|
+
"text": "TemplateStringsArray",
|
|
15306
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
14472
15307
|
},
|
|
14473
15308
|
{
|
|
14474
15309
|
"kind": "Content",
|
|
14475
|
-
"text": "
|
|
15310
|
+
"text": ", ...substitutions: "
|
|
14476
15311
|
},
|
|
14477
15312
|
{
|
|
14478
15313
|
"kind": "Reference",
|
|
@@ -14481,7 +15316,7 @@
|
|
|
14481
15316
|
},
|
|
14482
15317
|
{
|
|
14483
15318
|
"kind": "Content",
|
|
14484
|
-
"text": "[]): (
|
|
15319
|
+
"text": "[]): () => "
|
|
14485
15320
|
},
|
|
14486
15321
|
{
|
|
14487
15322
|
"kind": "Reference",
|
|
@@ -14490,7 +15325,7 @@
|
|
|
14490
15325
|
},
|
|
14491
15326
|
{
|
|
14492
15327
|
"kind": "Content",
|
|
14493
|
-
"text": "<T
|
|
15328
|
+
"text": "<T>;\n text(template: "
|
|
14494
15329
|
},
|
|
14495
15330
|
{
|
|
14496
15331
|
"kind": "Reference",
|
|
@@ -14508,7 +15343,25 @@
|
|
|
14508
15343
|
},
|
|
14509
15344
|
{
|
|
14510
15345
|
"kind": "Content",
|
|
14511
|
-
"text": "[]): (
|
|
15346
|
+
"text": "[]): () => "
|
|
15347
|
+
},
|
|
15348
|
+
{
|
|
15349
|
+
"kind": "Reference",
|
|
15350
|
+
"text": "IntrinsicElementBase",
|
|
15351
|
+
"canonicalReference": "@alloy-js/core!IntrinsicElementBase:interface"
|
|
15352
|
+
},
|
|
15353
|
+
{
|
|
15354
|
+
"kind": "Content",
|
|
15355
|
+
"text": "<T>;\n children(...children: "
|
|
15356
|
+
},
|
|
15357
|
+
{
|
|
15358
|
+
"kind": "Reference",
|
|
15359
|
+
"text": "Children",
|
|
15360
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15361
|
+
},
|
|
15362
|
+
{
|
|
15363
|
+
"kind": "Content",
|
|
15364
|
+
"text": "[]): () => "
|
|
14512
15365
|
},
|
|
14513
15366
|
{
|
|
14514
15367
|
"kind": "Reference",
|
|
@@ -14517,30 +15370,113 @@
|
|
|
14517
15370
|
},
|
|
14518
15371
|
{
|
|
14519
15372
|
"kind": "Content",
|
|
14520
|
-
"text": "<T
|
|
15373
|
+
"text": "<T>;\n}"
|
|
14521
15374
|
},
|
|
14522
15375
|
{
|
|
14523
15376
|
"kind": "Content",
|
|
14524
15377
|
"text": ";"
|
|
14525
15378
|
}
|
|
14526
15379
|
],
|
|
14527
|
-
"fileUrlPath": "src/
|
|
14528
|
-
"returnTypeTokenRange": {
|
|
14529
|
-
"startIndex": 6,
|
|
14530
|
-
"endIndex": 27
|
|
14531
|
-
},
|
|
15380
|
+
"fileUrlPath": "src/sti.ts",
|
|
14532
15381
|
"releaseTag": "Public",
|
|
14533
|
-
"
|
|
14534
|
-
"
|
|
15382
|
+
"name": "StiComponentCreator",
|
|
15383
|
+
"typeParameters": [
|
|
14535
15384
|
{
|
|
14536
|
-
"
|
|
14537
|
-
"
|
|
14538
|
-
"startIndex":
|
|
14539
|
-
"endIndex":
|
|
15385
|
+
"typeParameterName": "T",
|
|
15386
|
+
"constraintTokenRange": {
|
|
15387
|
+
"startIndex": 1,
|
|
15388
|
+
"endIndex": 3
|
|
14540
15389
|
},
|
|
14541
|
-
"
|
|
15390
|
+
"defaultTypeTokenRange": {
|
|
15391
|
+
"startIndex": 0,
|
|
15392
|
+
"endIndex": 0
|
|
15393
|
+
}
|
|
14542
15394
|
}
|
|
14543
15395
|
],
|
|
15396
|
+
"typeTokenRange": {
|
|
15397
|
+
"startIndex": 4,
|
|
15398
|
+
"endIndex": 23
|
|
15399
|
+
}
|
|
15400
|
+
},
|
|
15401
|
+
{
|
|
15402
|
+
"kind": "TypeAlias",
|
|
15403
|
+
"canonicalReference": "@alloy-js/core!StiSignature:type",
|
|
15404
|
+
"docComment": "",
|
|
15405
|
+
"excerptTokens": [
|
|
15406
|
+
{
|
|
15407
|
+
"kind": "Content",
|
|
15408
|
+
"text": "export type StiSignature<T extends "
|
|
15409
|
+
},
|
|
15410
|
+
{
|
|
15411
|
+
"kind": "Content",
|
|
15412
|
+
"text": "keyof "
|
|
15413
|
+
},
|
|
15414
|
+
{
|
|
15415
|
+
"kind": "Reference",
|
|
15416
|
+
"text": "JSX.IntrinsicElements",
|
|
15417
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15418
|
+
},
|
|
15419
|
+
{
|
|
15420
|
+
"kind": "Content",
|
|
15421
|
+
"text": "> = "
|
|
15422
|
+
},
|
|
15423
|
+
{
|
|
15424
|
+
"kind": "Content",
|
|
15425
|
+
"text": "(...args: unknown extends T ? [] : {} extends "
|
|
15426
|
+
},
|
|
15427
|
+
{
|
|
15428
|
+
"kind": "Reference",
|
|
15429
|
+
"text": "Omit",
|
|
15430
|
+
"canonicalReference": "!Omit:type"
|
|
15431
|
+
},
|
|
15432
|
+
{
|
|
15433
|
+
"kind": "Content",
|
|
15434
|
+
"text": "<"
|
|
15435
|
+
},
|
|
15436
|
+
{
|
|
15437
|
+
"kind": "Reference",
|
|
15438
|
+
"text": "JSX.IntrinsicElements",
|
|
15439
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15440
|
+
},
|
|
15441
|
+
{
|
|
15442
|
+
"kind": "Content",
|
|
15443
|
+
"text": "[T], \"children\"> ? [\n props?: "
|
|
15444
|
+
},
|
|
15445
|
+
{
|
|
15446
|
+
"kind": "Reference",
|
|
15447
|
+
"text": "JSX.IntrinsicElements",
|
|
15448
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15449
|
+
},
|
|
15450
|
+
{
|
|
15451
|
+
"kind": "Content",
|
|
15452
|
+
"text": "[T]\n] : [props: "
|
|
15453
|
+
},
|
|
15454
|
+
{
|
|
15455
|
+
"kind": "Reference",
|
|
15456
|
+
"text": "JSX.IntrinsicElements",
|
|
15457
|
+
"canonicalReference": "@alloy-js/core!JSX.IntrinsicElements:interface"
|
|
15458
|
+
},
|
|
15459
|
+
{
|
|
15460
|
+
"kind": "Content",
|
|
15461
|
+
"text": "[T]]) => "
|
|
15462
|
+
},
|
|
15463
|
+
{
|
|
15464
|
+
"kind": "Reference",
|
|
15465
|
+
"text": "StiComponentCreator",
|
|
15466
|
+
"canonicalReference": "@alloy-js/core!StiComponentCreator:type"
|
|
15467
|
+
},
|
|
15468
|
+
{
|
|
15469
|
+
"kind": "Content",
|
|
15470
|
+
"text": "<T>"
|
|
15471
|
+
},
|
|
15472
|
+
{
|
|
15473
|
+
"kind": "Content",
|
|
15474
|
+
"text": ";"
|
|
15475
|
+
}
|
|
15476
|
+
],
|
|
15477
|
+
"fileUrlPath": "src/sti.ts",
|
|
15478
|
+
"releaseTag": "Public",
|
|
15479
|
+
"name": "StiSignature",
|
|
14544
15480
|
"typeParameters": [
|
|
14545
15481
|
{
|
|
14546
15482
|
"typeParameterName": "T",
|
|
@@ -14554,12 +15490,15 @@
|
|
|
14554
15490
|
}
|
|
14555
15491
|
}
|
|
14556
15492
|
],
|
|
14557
|
-
"
|
|
15493
|
+
"typeTokenRange": {
|
|
15494
|
+
"startIndex": 4,
|
|
15495
|
+
"endIndex": 15
|
|
15496
|
+
}
|
|
14558
15497
|
},
|
|
14559
15498
|
{
|
|
14560
15499
|
"kind": "Function",
|
|
14561
15500
|
"canonicalReference": "@alloy-js/core!Switch:function(1)",
|
|
14562
|
-
"docComment": "/**\n * Conditionally render blocks of content based on the `when` prop of nested {@link Match} components.\n *\n * @example\n * ```tsx\n * <Switch>\n * <Match when={someCondition}>\n * <div>Condition met!</div>\n * </Match>\n * <Match else>\n * <div>Condition not met!</div>\n * </Match>\n * </Switch>\n * ```\n *\n */\n",
|
|
15501
|
+
"docComment": "/**\n * Conditionally render blocks of content based on the `when` prop of nested\n * {@link Match} components.\n *\n * @example\n *\n *\n *\n * ```tsx\n * <Switch>\n * <Match when={someCondition}>\n * <div>Condition met!</div>\n * </Match>\n * <Match else>\n * <div>Condition not met!</div>\n * </Match>\n * </Switch>\n * ```\n *\n */\n",
|
|
14563
15502
|
"excerptTokens": [
|
|
14564
15503
|
{
|
|
14565
15504
|
"kind": "Content",
|
|
@@ -14817,7 +15756,7 @@
|
|
|
14817
15756
|
{
|
|
14818
15757
|
"kind": "Interface",
|
|
14819
15758
|
"canonicalReference": "@alloy-js/core!Tap:interface",
|
|
14820
|
-
"docComment": "",
|
|
15759
|
+
"docComment": "/**\n * The return value of {@link createTap}, this holds a reference to the tapped\n * value. It will be undefined until the tapped value is initialized.\n */\n",
|
|
14821
15760
|
"excerptTokens": [
|
|
14822
15761
|
{
|
|
14823
15762
|
"kind": "Content",
|
|
@@ -14854,7 +15793,7 @@
|
|
|
14854
15793
|
{
|
|
14855
15794
|
"kind": "PropertySignature",
|
|
14856
15795
|
"canonicalReference": "@alloy-js/core!Tap#ref:member",
|
|
14857
|
-
"docComment": "",
|
|
15796
|
+
"docComment": "/**\n * Ref for the tapped value\n */\n",
|
|
14858
15797
|
"excerptTokens": [
|
|
14859
15798
|
{
|
|
14860
15799
|
"kind": "Content",
|
|
@@ -14891,10 +15830,84 @@
|
|
|
14891
15830
|
}
|
|
14892
15831
|
]
|
|
14893
15832
|
},
|
|
15833
|
+
{
|
|
15834
|
+
"kind": "Interface",
|
|
15835
|
+
"canonicalReference": "@alloy-js/core!TapHandler:interface",
|
|
15836
|
+
"docComment": "/**\n * A function that is called when the tapped value is available.\n */\n",
|
|
15837
|
+
"excerptTokens": [
|
|
15838
|
+
{
|
|
15839
|
+
"kind": "Content",
|
|
15840
|
+
"text": "export interface TapHandler<T> "
|
|
15841
|
+
}
|
|
15842
|
+
],
|
|
15843
|
+
"fileUrlPath": "src/tap.ts",
|
|
15844
|
+
"releaseTag": "Public",
|
|
15845
|
+
"typeParameters": [
|
|
15846
|
+
{
|
|
15847
|
+
"typeParameterName": "T",
|
|
15848
|
+
"constraintTokenRange": {
|
|
15849
|
+
"startIndex": 0,
|
|
15850
|
+
"endIndex": 0
|
|
15851
|
+
},
|
|
15852
|
+
"defaultTypeTokenRange": {
|
|
15853
|
+
"startIndex": 0,
|
|
15854
|
+
"endIndex": 0
|
|
15855
|
+
}
|
|
15856
|
+
}
|
|
15857
|
+
],
|
|
15858
|
+
"name": "TapHandler",
|
|
15859
|
+
"preserveMemberOrder": false,
|
|
15860
|
+
"members": [
|
|
15861
|
+
{
|
|
15862
|
+
"kind": "CallSignature",
|
|
15863
|
+
"canonicalReference": "@alloy-js/core!TapHandler:call(1)",
|
|
15864
|
+
"docComment": "",
|
|
15865
|
+
"excerptTokens": [
|
|
15866
|
+
{
|
|
15867
|
+
"kind": "Content",
|
|
15868
|
+
"text": "(value: "
|
|
15869
|
+
},
|
|
15870
|
+
{
|
|
15871
|
+
"kind": "Content",
|
|
15872
|
+
"text": "T"
|
|
15873
|
+
},
|
|
15874
|
+
{
|
|
15875
|
+
"kind": "Content",
|
|
15876
|
+
"text": "): "
|
|
15877
|
+
},
|
|
15878
|
+
{
|
|
15879
|
+
"kind": "Content",
|
|
15880
|
+
"text": "void"
|
|
15881
|
+
},
|
|
15882
|
+
{
|
|
15883
|
+
"kind": "Content",
|
|
15884
|
+
"text": ";"
|
|
15885
|
+
}
|
|
15886
|
+
],
|
|
15887
|
+
"returnTypeTokenRange": {
|
|
15888
|
+
"startIndex": 3,
|
|
15889
|
+
"endIndex": 4
|
|
15890
|
+
},
|
|
15891
|
+
"releaseTag": "Public",
|
|
15892
|
+
"overloadIndex": 1,
|
|
15893
|
+
"parameters": [
|
|
15894
|
+
{
|
|
15895
|
+
"parameterName": "value",
|
|
15896
|
+
"parameterTypeTokenRange": {
|
|
15897
|
+
"startIndex": 1,
|
|
15898
|
+
"endIndex": 2
|
|
15899
|
+
},
|
|
15900
|
+
"isOptional": false
|
|
15901
|
+
}
|
|
15902
|
+
]
|
|
15903
|
+
}
|
|
15904
|
+
],
|
|
15905
|
+
"extendsTokenRanges": []
|
|
15906
|
+
},
|
|
14894
15907
|
{
|
|
14895
15908
|
"kind": "Interface",
|
|
14896
15909
|
"canonicalReference": "@alloy-js/core!Tapper:interface",
|
|
14897
|
-
"docComment": "",
|
|
15910
|
+
"docComment": "/**\n * A function called when the Tap is rendered.\n *\n * @returns The tapped value.\n */\n",
|
|
14898
15911
|
"excerptTokens": [
|
|
14899
15912
|
{
|
|
14900
15913
|
"kind": "Content",
|
|
@@ -14948,10 +15961,78 @@
|
|
|
14948
15961
|
],
|
|
14949
15962
|
"extendsTokenRanges": []
|
|
14950
15963
|
},
|
|
15964
|
+
{
|
|
15965
|
+
"kind": "Function",
|
|
15966
|
+
"canonicalReference": "@alloy-js/core!text:function(1)",
|
|
15967
|
+
"docComment": "",
|
|
15968
|
+
"excerptTokens": [
|
|
15969
|
+
{
|
|
15970
|
+
"kind": "Content",
|
|
15971
|
+
"text": "export declare function text(template: "
|
|
15972
|
+
},
|
|
15973
|
+
{
|
|
15974
|
+
"kind": "Reference",
|
|
15975
|
+
"text": "TemplateStringsArray",
|
|
15976
|
+
"canonicalReference": "!TemplateStringsArray:interface"
|
|
15977
|
+
},
|
|
15978
|
+
{
|
|
15979
|
+
"kind": "Content",
|
|
15980
|
+
"text": ", ...substitutions: "
|
|
15981
|
+
},
|
|
15982
|
+
{
|
|
15983
|
+
"kind": "Reference",
|
|
15984
|
+
"text": "Children",
|
|
15985
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15986
|
+
},
|
|
15987
|
+
{
|
|
15988
|
+
"kind": "Content",
|
|
15989
|
+
"text": "[]"
|
|
15990
|
+
},
|
|
15991
|
+
{
|
|
15992
|
+
"kind": "Content",
|
|
15993
|
+
"text": "): "
|
|
15994
|
+
},
|
|
15995
|
+
{
|
|
15996
|
+
"kind": "Reference",
|
|
15997
|
+
"text": "Children",
|
|
15998
|
+
"canonicalReference": "@alloy-js/core!Children:type"
|
|
15999
|
+
},
|
|
16000
|
+
{
|
|
16001
|
+
"kind": "Content",
|
|
16002
|
+
"text": ";"
|
|
16003
|
+
}
|
|
16004
|
+
],
|
|
16005
|
+
"fileUrlPath": "src/code.ts",
|
|
16006
|
+
"returnTypeTokenRange": {
|
|
16007
|
+
"startIndex": 6,
|
|
16008
|
+
"endIndex": 7
|
|
16009
|
+
},
|
|
16010
|
+
"releaseTag": "Public",
|
|
16011
|
+
"overloadIndex": 1,
|
|
16012
|
+
"parameters": [
|
|
16013
|
+
{
|
|
16014
|
+
"parameterName": "template",
|
|
16015
|
+
"parameterTypeTokenRange": {
|
|
16016
|
+
"startIndex": 1,
|
|
16017
|
+
"endIndex": 2
|
|
16018
|
+
},
|
|
16019
|
+
"isOptional": false
|
|
16020
|
+
},
|
|
16021
|
+
{
|
|
16022
|
+
"parameterName": "substitutions",
|
|
16023
|
+
"parameterTypeTokenRange": {
|
|
16024
|
+
"startIndex": 3,
|
|
16025
|
+
"endIndex": 5
|
|
16026
|
+
},
|
|
16027
|
+
"isOptional": false
|
|
16028
|
+
}
|
|
16029
|
+
],
|
|
16030
|
+
"name": "text"
|
|
16031
|
+
},
|
|
14951
16032
|
{
|
|
14952
16033
|
"kind": "Function",
|
|
14953
16034
|
"canonicalReference": "@alloy-js/core!traverseOutput:function(1)",
|
|
14954
|
-
"docComment": "/**\n * Traverse the output from {@link render} and call the visitor for each file and directory within it.\n *\n * @param sourceDirectory - The root directory to traverse.\n *\n * @param visitor - The visitor to call for each file and directory.\n */\n",
|
|
16035
|
+
"docComment": "/**\n * Traverse the output from {@link render} and call the visitor for each\n * file and directory within it.\n *\n * @param sourceDirectory - The root directory to traverse.\n *\n * @param visitor - The visitor to call for each file and directory.\n */\n",
|
|
14955
16036
|
"excerptTokens": [
|
|
14956
16037
|
{
|
|
14957
16038
|
"kind": "Content",
|
|
@@ -14984,7 +16065,7 @@
|
|
|
14984
16065
|
"text": ";"
|
|
14985
16066
|
}
|
|
14986
16067
|
],
|
|
14987
|
-
"fileUrlPath": "src/utils.
|
|
16068
|
+
"fileUrlPath": "src/utils.tsx",
|
|
14988
16069
|
"returnTypeTokenRange": {
|
|
14989
16070
|
"startIndex": 5,
|
|
14990
16071
|
"endIndex": 6
|
|
@@ -15164,7 +16245,7 @@
|
|
|
15164
16245
|
{
|
|
15165
16246
|
"kind": "Function",
|
|
15166
16247
|
"canonicalReference": "@alloy-js/core!useDefaultScope:function(1)",
|
|
15167
|
-
"docComment": "/**\n * Use symbol flags to determine the scope in which a symbol with those flags should be declared given the current context.\n *\n * @param flags - The symbol flags to use to determine the default scope.\n *\n * @returns
|
|
16248
|
+
"docComment": "/**\n * Use symbol flags to determine the scope in which a symbol with those flags\n * should be declared given the current context.\n *\n * @param flags - The symbol flags to use to determine the default scope.\n *\n * @returns an {@link OutputScope} that is the default scope for the given\n * flags.\n */\n",
|
|
15168
16249
|
"excerptTokens": [
|
|
15169
16250
|
{
|
|
15170
16251
|
"kind": "Content",
|
|
@@ -15339,7 +16420,7 @@
|
|
|
15339
16420
|
{
|
|
15340
16421
|
"kind": "Function",
|
|
15341
16422
|
"canonicalReference": "@alloy-js/core!Wrap:function(1)",
|
|
15342
|
-
"docComment": "/**\n * Conditionally wrap the children of this component with the component given to `with` and passing `props` to it.\n */\n",
|
|
16423
|
+
"docComment": "/**\n * Conditionally wrap the children of this component with the component given to\n * `with` and passing `props` to it.\n */\n",
|
|
15343
16424
|
"excerptTokens": [
|
|
15344
16425
|
{
|
|
15345
16426
|
"kind": "Content",
|
|
@@ -15491,7 +16572,7 @@
|
|
|
15491
16572
|
{
|
|
15492
16573
|
"kind": "PropertySignature",
|
|
15493
16574
|
"canonicalReference": "@alloy-js/core!WrapProps#when:member",
|
|
15494
|
-
"docComment": "/**\n * When true, the children will be wrapped with the provided component
|
|
16575
|
+
"docComment": "/**\n * When true, the children will be wrapped with the provided component.\n * Otherwise, the children will be rendered as is.\n */\n",
|
|
15495
16576
|
"excerptTokens": [
|
|
15496
16577
|
{
|
|
15497
16578
|
"kind": "Content",
|
|
@@ -15553,7 +16634,7 @@
|
|
|
15553
16634
|
{
|
|
15554
16635
|
"kind": "Function",
|
|
15555
16636
|
"canonicalReference": "@alloy-js/core!writeOutput:function(1)",
|
|
15556
|
-
"docComment": "/**\n * Write the output from {@link render} to the file system.\n */\n",
|
|
16637
|
+
"docComment": "/**\n * Write the output from {@link render} to the file system.\n *\n */\n",
|
|
15557
16638
|
"excerptTokens": [
|
|
15558
16639
|
{
|
|
15559
16640
|
"kind": "Content",
|