| 139 | } |
| 140 | |
| 141 | function FieldDescription({ className, ...props }: React.ComponentProps<"p">) { |
| 142 | return ( |
| 143 | <p |
| 144 | data-slot="field-description" |
| 145 | className={cn( |
| 146 | "text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance", |
| 147 | "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", |
| 148 | "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", |
| 149 | className |
| 150 | )} |
| 151 | {...props} |
| 152 | /> |
| 153 | ) |
| 154 | } |
| 155 | |
| 156 | function FieldSeparator({ |
| 157 | children, |