@wizeworks/silicaui-mcp 0.25.0 → 0.26.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.
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"name": "render",
|
|
75
75
|
"optional": true,
|
|
76
76
|
"type": "React.ReactElement",
|
|
77
|
-
"doc": "Render as a different element (e.g. an anchor or router link) while keeping Silica's classes and behavior. Mirrors Base UI's `render` composition model. <Button render={<a href=\"/docs\" />}>Docs</Button>"
|
|
77
|
+
"doc": "Render as a different element (e.g. an anchor or router link) while keeping Silica's classes and behavior. Mirrors Base UI's `render` composition model. <Button render={<a href=\"/docs\" />}>Docs</Button> CLIENT COMPONENTS ONLY. This package is a `\"use client\"` module, so an element passed from a React Server Component is serialized across the boundary and arrives without its props — the link renders styled but without its `href`, or throws outright. From a Server Component, style the element directly instead of composing it: import { buttonClasses } from \"@wizeworks/silicaui-react/server\"; <a href=\"/docs\" className={buttonClasses({ color: \"brand\" })}>Docs</a>"
|
|
78
78
|
}
|
|
79
79
|
]
|
|
80
80
|
}
|
|
@@ -296,7 +296,7 @@
|
|
|
296
296
|
"name": "render",
|
|
297
297
|
"optional": true,
|
|
298
298
|
"type": "React.ReactElement",
|
|
299
|
-
"doc": "Render as a different element while keeping Silica's classes."
|
|
299
|
+
"doc": "Render as a different element while keeping Silica's classes. CLIENT COMPONENTS ONLY — from a React Server Component the element loses its props crossing the `\"use client\"` boundary. Style the element directly instead: `badgeClasses()` from `@wizeworks/silicaui-react/server`."
|
|
300
300
|
}
|
|
301
301
|
]
|
|
302
302
|
}
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
"name": "render",
|
|
323
323
|
"optional": true,
|
|
324
324
|
"type": "React.ReactElement",
|
|
325
|
-
"doc": "Render as a different element (e.g. an anchor) while keeping Card's classes and interaction styles. Mirrors Base UI's `render` composition. <ClickableCard render={<a href=\"/projects/silica\" />}>…</ClickableCard>"
|
|
325
|
+
"doc": "Render as a different element (e.g. an anchor) while keeping Card's classes and interaction styles. Mirrors Base UI's `render` composition. <ClickableCard render={<a href=\"/projects/silica\" />}>…</ClickableCard> CLIENT COMPONENTS ONLY — from a React Server Component the element loses its props crossing the `\"use client\"` boundary. Style the element directly instead: `clickableCardClasses()` from `@wizeworks/silicaui-react/server`."
|
|
326
326
|
}
|
|
327
327
|
]
|
|
328
328
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wizeworks/silicaui-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.0",
|
|
4
4
|
"description": "A local MCP server that lets AI coding assistants query the Silica UI design system — real class names, component props, blocks, and behaviors — instead of guessing.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|