vibe-design-system 2.4.1 → 2.4.3

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.4.1",
3
+ "version": "2.4.3",
4
4
  "description": "Auto-generate design systems for vibe coding projects",
5
5
  "type": "module",
6
6
  "bin": {
@@ -707,7 +707,7 @@ function writeFoundationsStories(foundations) {
707
707
  if (typo && typeof typo === "object" && Object.keys(typo).length > 0) {
708
708
  const typoRows = Object.entries(typo).map(([k, v]) => ({
709
709
  token: k,
710
- value: Array.isArray(v) ? v.join(", ") : String(v),
710
+ value: typeof v === "object" && v !== null ? (v.family || JSON.stringify(v)) : Array.isArray(v) ? v.join(", ") : String(v),
711
711
  }));
712
712
  const typoContent =
713
713
  [