import { ComponentPropsWithoutRef } from 'react'; /** * Props for the FieldLabelButton component. * @extends ComponentPropsWithoutRef<"button"> */ export type FieldLabelButtonProps = ComponentPropsWithoutRef<"button">; /** * Internal icon-button for use within FieldLabel. * * Features: * - Default 28×28px hit area with no visible border or background at rest * - Optional `field-label-button-scaled` + CSS vars for larger icons (e.g. AiMark xlarge) * - Hover and focus states show the secondary button hover background color on * an inner 24×24px area (or scaled inner), keeping 2px transparent on each side * - Focus ring matches the secondary button focus ring style * - Fully accessible as a native `