vibe-design-system 2.5.21 → 2.5.22

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vibe-design-system",
3
- "version": "2.5.21",
3
+ "version": "2.5.22",
4
4
  "description": "Auto-generate design systems for vibe coding projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -597,8 +597,7 @@ function buildDefaultArgsForRequiredProps(props, usageFromPages = null, componen
597
597
  const required = p.required === true;
598
598
  if (/ReactNode|React\.ReactNode/.test(type)) {
599
599
  const text = REACTNODE_PLACEHOLDER_TEXT[name] || componentPlaceholders[name] || "Content";
600
- argLines.push(` ${name}: React.createElement('p', null, ${JSON.stringify(text)}),`);
601
- needReact = true;
600
+ argLines.push(` ${name}: ${JSON.stringify(text)},`);
602
601
  added.add(name);
603
602
  continue;
604
603
  }