[agent-pipeline] pipe-20260306183434-ewn8 round-1

This commit is contained in:
DDD1542
2026-03-07 04:09:49 +09:00
parent e29c7163ed
commit a0d8605526
15 changed files with 1225 additions and 628 deletions
+28 -6
View File
@@ -1205,18 +1205,40 @@ export const V2Select = forwardRef<HTMLDivElement, V2SelectProps>(
<div
ref={ref}
id={id}
className={cn(isDesignMode && "pointer-events-none")}
className={cn(
"flex flex-col gap-1",
labelPos === "left" ? "sm:flex-row sm:items-center" : "sm:flex-row-reverse sm:items-center",
isDesignMode && "pointer-events-none"
)}
style={{
width: componentWidth,
height: componentHeight,
display: "flex",
flexDirection: labelPos === "left" ? "row" : "row-reverse",
alignItems: "center",
gap: labelGapValue,
}}
>
{labelElement}
{selectContent}
<Label
htmlFor={id}
style={{
fontSize: style?.labelFontSize || "14px",
color: style?.labelColor || "#64748b",
fontWeight: style?.labelFontWeight || "500",
}}
className="w-full text-sm font-medium whitespace-nowrap sm:w-[120px] sm:shrink-0"
>
{label}
{required && <span className="text-orange-500 ml-0.5">*</span>}
</Label>
<div
className={cn(
"w-full min-w-0 flex-1",
hasCustomBorder && "[&_button]:border-0! **:data-[slot=select-trigger]:border-0! [&_.border]:border-0!",
(hasCustomBorder || hasCustomRadius) && "[&_button]:rounded-none! **:data-[slot=select-trigger]:rounded-none! [&_.rounded-md]:rounded-none!",
hasCustomBackground && "[&_button]:bg-transparent! **:data-[slot=select-trigger]:bg-transparent!",
)}
style={{ ...(hasCustomText ? customTextStyle : {}) }}
>
{renderSelect()}
</div>
</div>
);
}