@tsrx/mcp 0.0.37 → 0.0.39
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/package.json +3 -3
- package/src/generated/docs.js +2 -2
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "MCP server for TSRX documentation and project context",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"author": "Dominic Gannaway",
|
|
6
|
-
"version": "0.0.
|
|
6
|
+
"version": "0.0.39",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
38
38
|
"prettier": "^3.8.3",
|
|
39
39
|
"zod": "^4.3.6",
|
|
40
|
-
"@tsrx/core": "0.1.
|
|
41
|
-
"@tsrx/prettier-plugin": "0.3.
|
|
40
|
+
"@tsrx/core": "0.1.26",
|
|
41
|
+
"@tsrx/prettier-plugin": "0.3.78"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@types/node": "^24.3.0",
|
package/src/generated/docs.js
CHANGED
|
@@ -64,9 +64,9 @@ export const documentation_sections = [
|
|
|
64
64
|
slug: 'dynamic-elements-and-components',
|
|
65
65
|
title: 'Dynamic Elements and Components',
|
|
66
66
|
use_cases:
|
|
67
|
-
'dynamic elements, dynamic components,
|
|
67
|
+
'dynamic elements, dynamic components, dynamic tag syntax, runtime tag, runtime component, removed <@tag syntax, removed Dynamic component',
|
|
68
68
|
content:
|
|
69
|
-
"# Dynamic Elements and Components\n\nUse the
|
|
69
|
+
"# Dynamic Elements and Components\n\nUse the dynamic tag syntax `<{expression}>` when the element tag or component constructor is chosen at runtime. The expression can evaluate to a string tag name or a component value, and a non-self-closing element repeats the same expression in its closing tag: `</{expression}>`. No import is required; each target compiler lowers the form to its own runtime helper.\n\n```tsx\ntype Tag = 'section' | 'article';\n\nexport function Panel({ as = 'section', title }: { as?: Tag; title: string }) @{\n <{as} className=\"panel\">\n <h2>{title}</h2>\n </{as}>\n}\n```\n\nThe tag expression can be a string tag name or a component value:\n\n```tsx\nconst Body = expanded ? ExpandedBody : CompactBody;\n\n<{Body} item={item} />\n```\n\nThe tag expression must resolve to an element name: an identifier, member access, static string, or a runtime expression composed of those. Calls, spreads, string concatenation, string interpolation, and static non-string literals are not valid dynamic tag expressions.\n\nFor React host classes, use `className`. For Preact, Solid, Vue, and Ripple host classes, use `class`.\n\nDo not use removed dynamic tag syntax such as `<@tag />` or `<@Component />`, and do not import a runtime `Dynamic` component with an `is` prop. Use `<{tag}>` instead.\n\nSource: website-tsrx/src/pages/features.tsrx#dynamic",
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
slug: 'target-integration',
|