// Compound-component shape (matches Base UI React): // `export * as Field from './index.parts'` — the compound namespace. // `export type * from './...'` — top-level prop/state types. export type * from "./control/field-control.tsx"; // Headless API: factory + `useField()` hook for consumer-owned JSX. // Mirrors the Collapsible pattern (either surface works). export { type CreateFieldOptions, createField, type FieldApi, type FieldChangeReason, type FieldControlSlotProps, useField, } from "./create-field.tsx"; export type * from "./description/field-description.tsx"; export type * from "./error/field-error.tsx"; export type * from "./field-item-context.ts"; export type * from "./field-messages-context.ts"; export * as Field from "./index.parts.ts"; export type * from "./item/field-item.tsx"; export type * from "./label/field-label.tsx"; export type * from "./root/field-root.tsx"; export type * from "./validity/field-validity.tsx";