@alpic-ai/ui 1.168.0 → 1.168.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -113,7 +113,7 @@ function ComboboxTrigger({ className, size, placeholder, children, ...props }) {
|
|
|
113
113
|
className: cn(selectTriggerVariants({ size }), className),
|
|
114
114
|
...props,
|
|
115
115
|
children: [/* @__PURE__ */ jsx("span", {
|
|
116
|
-
className: cn("flex flex-1 items-center gap-1.5 text-left", multiple && !hasCustomMultipleValue && "flex-wrap", isEmpty && !hasCustomMultipleValue && "text-placeholder"),
|
|
116
|
+
className: cn("flex min-w-0 flex-1 items-center gap-1.5 text-left", multiple && !hasCustomMultipleValue && "flex-wrap", isEmpty && !hasCustomMultipleValue && "text-placeholder"),
|
|
117
117
|
children: hasCustomMultipleValue ? children : isEmpty ? placeholder : multiple ? /* @__PURE__ */ jsx(ComboboxTags, {
|
|
118
118
|
values,
|
|
119
119
|
onDeselect
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from "class-variance-authority";
|
|
2
2
|
//#region src/components/skeleton.d.ts
|
|
3
3
|
declare const skeletonVariants: (props?: ({
|
|
4
|
-
shape?: "
|
|
4
|
+
shape?: "rectangle" | "circle" | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6
6
|
interface SkeletonProps extends React.ComponentProps<"div">, VariantProps<typeof skeletonVariants> {}
|
|
7
7
|
declare function Skeleton({ className, shape, ...props }: SkeletonProps): import("react").JSX.Element;
|
package/package.json
CHANGED
|
@@ -221,7 +221,7 @@ function ComboboxTrigger({ className, size, placeholder, children, ...props }: C
|
|
|
221
221
|
>
|
|
222
222
|
<span
|
|
223
223
|
className={cn(
|
|
224
|
-
"flex flex-1 items-center gap-1.5 text-left",
|
|
224
|
+
"flex min-w-0 flex-1 items-center gap-1.5 text-left",
|
|
225
225
|
multiple && !hasCustomMultipleValue && "flex-wrap",
|
|
226
226
|
isEmpty && !hasCustomMultipleValue && "text-placeholder",
|
|
227
227
|
)}
|