| 129 | } |
| 130 | |
| 131 | function FieldDescription({ className, ...props }: React.ComponentProps<"p">) { |
| 132 | return ( |
| 133 | <p |
| 134 | data-slot="field-description" |
| 135 | className={cn( |
| 136 | "text-muted-foreground text-left text-xs/relaxed [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance", |
| 137 | "last:mt-0 nth-last-2:-mt-1", |
| 138 | "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", |
| 139 | className |
| 140 | )} |
| 141 | {...props} |
| 142 | /> |
| 143 | ); |
| 144 | } |
| 145 | |
| 146 | function FieldSeparator({ |
| 147 | children, |