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() { - - - + +
{stats.total}
+
+ +
{stats.active}
+
+ +
{stats.completed}
+
- , - onClick: addDialog.open, - variant: 'default', - }, - { - label: showCompleted.value ? 'Hide Completed' : 'Show Completed', - icon: , - onClick: showCompleted.toggle, - variant: 'outline', - }, - ]} - /> + {/* ActionBar replaced with inline buttons */} +
+ Tasks +
+ + +
+