8 Commits

Author SHA1 Message Date
Rami Bitar
4b363b00ed Fix all TypeScript errors; remove unused element/magicui components
- Add missing deps: @base-ui/react, react-hook-form, next-themes, react-is
- Bump recharts to 3.9.1 and update chart.tsx to the recharts v3-compatible
  shadcn version
- Pin react-resizable-panels to v3 (v4 renamed the PanelGroup exports)
- Add showCloseButton prop to DialogContent (used by CommandDialog)
- Replace custom cn with standard clsx + twMerge (fixes Base UI className
  types and object-syntax classes being dropped at runtime)
- Clean up tsconfig (drop dead Vite project references; Next.js updated
  moduleResolution/jsx during build)
- Remove unused components/elements and components/magicui, drop bun.lock
  in favor of yarn.lock, simplify app/page.tsx

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019bE5ox6WnAPgqRgkx3pLCu
2026-07-02 15:08:11 -04:00
Rami Bitar
95ad3c9d02 Mount-gate SheetPortal for SSR safety
Defensive guard so the portal only mounts client-side. Radix's Portal is
already SSR-safe, so this is belt-and-suspenders.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019RCfQKfr64YJbFRs3Ai9v2
2026-06-30 17:26:45 -04:00
Rami Bitar
5b0dbb5e6e Fix dialog SSR crash by gating DialogPortal to client
DialogPortal aliased Radix's Portal directly, which calls
createPortal(children, document.body) during render. Static
prerendering (e.g. /about via InquiryDialog) has no document
global and threw "document is not defined". Wrap it so the
portal only mounts client-side.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Exmd6Wn13TGp1sArgK7y4
2026-06-30 16:11:22 -04:00
Rami Bitar
98dd7741a0 update 2026-06-09 17:06:15 -04:00
Rami Bitar
1ebe68efeb Wrap delegated Button/Image in DOM element, remove data-slot attributes
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 16:06:15 -04:00
Rami Bitar
791a257294 Remove elements barrel file and next/image, add image/number field types
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-09 15:59:47 -04:00
Rami Bitar
3ed7e027c2 add elements components 2026-06-09 14:43:25 -04:00
Rami Bitar
3a59a208f9 Initial commit 2026-04-17 12:09:22 -04:00