import * as React from 'react'
import { cn } from '@/lib/utils'
/**
* FieldLabel / FieldHint / FieldError — typography primitives для form fields.
* Замена @nstart/ui (без логики, чистые atomic spans/divs).
*
*
Per handoff: label = text-body (13/400), hint/error = text-cell (12.5).
*/
export type FieldLabelProps = React.LabelHTMLAttributes & {
required?: boolean
}
export const FieldLabel = React.forwardRef(
function FieldLabel({ className, required, children, ...props }, ref) {
return (
)
},
)
export function FieldHint({ className, ...props }: React.HTMLAttributes) {
return
}
export function FieldError({ className, ...props }: React.HTMLAttributes) {
return (
)
}