chore: publish current DataStack updates

Publish the current application, design, and Phase 1 deployment updates. Excludes ignored personal notes, local MCP config, and generated TypeScript build info.
This commit is contained in:
i vib committed 2026-10-23 19:56:38 -07:00
1 parent d39d9f92f9
commit fcc4f4db2d
88 files changed
+21248 -2213

No files matched your search

+15 -14
View File
@@ -1,7 +1,7 @@
import React, { useEffect } from 'react';
import { cn } from '@/lib/utils';
import { Icon } from './Icon';
import React, { useEffect } from 'react';
import { Button } from './Button';
import { Icon } from './Icon';
export interface ModalProps {
isOpen: boolean;
@@ -10,7 +10,7 @@ export interface ModalProps {
description?: string;
children: React.ReactNode;
footer?: React.ReactNode;
maxWidth?: 'sm' | 'md' | 'lg';
maxWidth?: 'xs' | 'sm' | 'md' | 'lg';
}
export const Modal: React.FC<ModalProps> = ({
@@ -41,24 +41,25 @@ export const Modal: React.FC<ModalProps> = ({
if (!isOpen) return null;
const maxWidthStyles = {
sm: 'max-w-[440px]',
md: 'max-w-[520px]',
lg: 'max-w-[640px]',
xs: 'max-w-[440px]',
sm: 'max-w-[480px]',
md: 'max-w-[640px]',
lg: 'max-w-[800px]',
};
return (
<div className="fixed inset-0 z-50 flex items-center justify-center p-3.5 bg-black/60 backdrop-blur-[1px]">
<div className="fixed inset-0 z-50 flex items-center justify-center p-3 sm:p-6 bg-black/60">
<div
className={cn(
'w-full bg-[var(--bg-elevated)] border border-[var(--border-strong)] text-[var(--text)] flex flex-col max-h-[min(84dvh,680px)] overflow-hidden animate-in fade-in zoom-in-95 duration-100',
'w-full bg-[var(--bg-elevated)] border border-[var(--border-strong)] text-[var(--text)] flex flex-col max-h-[calc(100dvh-1.5rem)] sm:max-h-[min(88dvh,800px)] overflow-hidden animate-in fade-in zoom-in-95 duration-150',
maxWidthStyles[maxWidth]
)}
>
<div className="flex items-start justify-between gap-3 p-3.5 sm:px-4 sm:py-3.5 border-b border-[var(--border)] shrink-0">
<div className="flex items-start justify-between gap-4 p-4 sm:px-6 sm:py-5 border-b border-[var(--border)] shrink-0">
<div className="min-w-0">
<h2 className="text-[14px] font-semibold text-[var(--text)] leading-tight">{title}</h2>
<h2 className="text-[18px] font-semibold text-[var(--text)] leading-snug">{title}</h2>
{description && (
<p className="text-[11px] text-[var(--text-muted)] mt-1">{description}</p>
<p className="text-[13px] text-[var(--text-muted)] mt-1.5">{description}</p>
)}
</div>
<Button
@@ -66,18 +67,18 @@ export const Modal: React.FC<ModalProps> = ({
variant="ghost"
onClick={onClose}
aria-label="Close dialog"
className="w-7 h-7 text-[var(--text-dim)] hover:text-[var(--text)]"
className="w-9 h-9 text-[var(--text-dim)] hover:text-[var(--text)]"
>
<Icon name="X" size={14} />
</Button>
</div>
<div className="p-3.5 sm:p-4 overflow-y-auto flex-1 text-[12px] flex flex-col gap-3">
<div className="p-4 sm:p-6 overflow-y-auto flex-1 text-[14px] flex flex-col gap-4">
{children}
</div>
{footer && (
<div className="flex items-center justify-end gap-2 p-3 sm:px-4 border-t border-[var(--border)] bg-[var(--bg-sidebar)] shrink-0">
<div className="flex flex-wrap items-center justify-end gap-2 p-4 sm:px-6 border-t border-[var(--border)] bg-[var(--bg-sidebar)] shrink-0">
{footer}
</div>
)}