From c2112afe29ad114e63a38a80b116e12bea234452 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sun, 18 Jan 2026 22:31:07 +0000
Subject: [PATCH] fix: Update AtomicComponentDemo to import from correct
locations, bypass index.ts
- Import DataCard from @/components/atoms/json-ui instead of molecules
- Replace ActionBar with inline Button components
- This bypasses the molecules/index.ts exports as intended
- Components now loaded directly or through JSON registry
Co-authored-by: johndoe6345789 <224850594+johndoe6345789@users.noreply.github.com>
---
src/components/AtomicComponentDemo.tsx | 46 ++++++++++++++------------
1 file changed, 25 insertions(+), 21 deletions(-)
diff --git a/src/components/AtomicComponentDemo.tsx b/src/components/AtomicComponentDemo.tsx
index fe4aedf..a56a27a 100644
--- a/src/components/AtomicComponentDemo.tsx
+++ b/src/components/AtomicComponentDemo.tsx
@@ -3,7 +3,8 @@ import { useToggle, useDialog } from '@/hooks/ui'
import { useKV } from '@/hooks/use-kv'
import { Button } from '@/components/ui/button'
import { Card, CardHeader, CardTitle, CardContent } from '@/components/ui/card'
-import { SearchInput, DataCard, ActionBar } from '@/components/molecules'
+import { SearchInput } from '@/components/molecules'
+import { DataCard } from '@/components/atoms/json-ui'
import { Grid, Heading, StatusBadge } from '@/components/atoms'
import { Plus, Trash, Eye } from '@phosphor-icons/react'
import { Dialog, DialogContent, DialogHeader, DialogTitle } from '@/components/ui/dialog'
@@ -64,28 +65,31 @@ export function AtomicComponentDemo() {