feat: enhance NodeConfigPanel and VariableSelector with improved styling and description handling

This commit is contained in:
mlogclub
2026-06-28 19:25:58 +08:00
parent e38c19f8d8
commit f99a58f9df
4 changed files with 191 additions and 99 deletions
+3 -1
View File
@@ -33,6 +33,7 @@ type OptionComboboxProps = {
searchPlaceholder?: string
emptyText?: string
disabled?: boolean
triggerClassName?: string
onChange: (value: string) => void
renderOptionAction?: (option: ComboboxOption) => ReactNode
}
@@ -44,6 +45,7 @@ export function OptionCombobox({
searchPlaceholder,
emptyText,
disabled = false,
triggerClassName,
onChange,
renderOptionAction,
}: OptionComboboxProps) {
@@ -59,7 +61,7 @@ export function OptionCombobox({
<Button
variant="outline"
role="combobox"
className="m-0 w-full justify-between font-normal"
className={cn("m-0 w-full justify-between font-normal", triggerClassName)}
disabled={disabled}
/>
}