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:
1 parent
d39d9f92f9
commit
fcc4f4db2d
88 files changed
+21248
-2213
No files matched your search
@@ -1,12 +1,12 @@
|
||||
import React from 'react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import React from 'react';
|
||||
|
||||
export const Form: React.FC<React.FormHTMLAttributes<HTMLFormElement>> = ({
|
||||
className,
|
||||
children,
|
||||
...props
|
||||
}) => (
|
||||
<form className={cn('flex flex-col gap-3', className)} {...props}>
|
||||
<form className={cn('flex flex-col gap-5', className)} {...props}>
|
||||
{children}
|
||||
</form>
|
||||
);
|
||||
@@ -16,7 +16,7 @@ export const FormField: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({
|
||||
children,
|
||||
...props
|
||||
}) => (
|
||||
<div className={cn('flex flex-col gap-1 w-full', className)} {...props}>
|
||||
<div className={cn('flex flex-col gap-2 w-full', className)} {...props}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
@@ -26,7 +26,7 @@ export const FormRow: React.FC<React.HTMLAttributes<HTMLDivElement>> = ({
|
||||
children,
|
||||
...props
|
||||
}) => (
|
||||
<div className={cn('grid grid-cols-1 sm:grid-cols-2 gap-3 w-full', className)} {...props}>
|
||||
<div className={cn('grid grid-cols-1 sm:grid-cols-2 gap-4 w-full', className)} {...props}>
|
||||
{children}
|
||||
</div>
|
||||
);
|
||||
@@ -40,20 +40,20 @@ export const FormSwitch: React.FC<{
|
||||
}> = ({ label, checked, onChange, description, disabled = false }) => (
|
||||
<label
|
||||
className={cn(
|
||||
'flex items-center justify-between p-2.5 border border-[var(--border)] bg-[var(--bg-main)] cursor-pointer select-none transition-colors hover:bg-[var(--bg-hover)]',
|
||||
'flex items-center justify-between gap-4 p-4 border border-[var(--border)] bg-[var(--bg-main)] cursor-pointer select-none transition-colors hover:bg-[var(--bg-hover)]',
|
||||
disabled && 'opacity-50 cursor-not-allowed'
|
||||
)}
|
||||
>
|
||||
<div className="flex flex-col">
|
||||
<span className="text-[12px] font-medium text-[var(--text)]">{label}</span>
|
||||
{description && <span className="text-[10.5px] text-[var(--text-dim)]">{description}</span>}
|
||||
<span className="text-[14px] font-medium text-[var(--text)]">{label}</span>
|
||||
{description && <span className="text-[12px] text-[var(--text-muted)]">{description}</span>}
|
||||
</div>
|
||||
<input
|
||||
type="checkbox"
|
||||
checked={checked}
|
||||
disabled={disabled}
|
||||
onChange={(e) => onChange(e.target.checked)}
|
||||
className="w-4 h-4 accent-[var(--accent)] cursor-pointer"
|
||||
className="w-5 h-5 accent-[var(--accent)] cursor-pointer shrink-0"
|
||||
/>
|
||||
</label>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user