@underverse-ui/underverse 1.0.17 → 1.0.19
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.
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -12355,7 +12355,7 @@ var MultiCombobox = ({
|
|
|
12355
12355
|
!!error && "border-destructive focus-visible:ring-destructive/30"
|
|
12356
12356
|
),
|
|
12357
12357
|
children: [
|
|
12358
|
-
/* @__PURE__ */ jsx40("div", { className: cn("flex items-center gap-1.5 flex-
|
|
12358
|
+
/* @__PURE__ */ jsx40("div", { className: cn("flex items-center gap-1.5 flex-1 overflow-hidden", size === "sm" ? "min-h-4" : size === "lg" ? "min-h-8" : "min-h-6"), children: value.length > 0 ? showTags ? /* @__PURE__ */ jsxs35(Fragment13, { children: [
|
|
12359
12359
|
visibleTags.map((option) => {
|
|
12360
12360
|
if (renderTag) {
|
|
12361
12361
|
return /* @__PURE__ */ jsx40(React34.Fragment, { children: renderTag(option, () => handleRemove(option.value)) }, option.value);
|
|
@@ -12364,7 +12364,7 @@ var MultiCombobox = ({
|
|
|
12364
12364
|
"span",
|
|
12365
12365
|
{
|
|
12366
12366
|
className: cn(
|
|
12367
|
-
"inline-flex items-center gap-1.5 bg-primary/10 text-primary rounded-full transition-all duration-200",
|
|
12367
|
+
"inline-flex items-center gap-1.5 bg-primary/10 text-primary rounded-full transition-all duration-200 min-w-0",
|
|
12368
12368
|
"hover:bg-primary/20",
|
|
12369
12369
|
sizeStyles8[size].tag
|
|
12370
12370
|
),
|
|
@@ -12398,7 +12398,7 @@ var MultiCombobox = ({
|
|
|
12398
12398
|
option.value
|
|
12399
12399
|
);
|
|
12400
12400
|
}),
|
|
12401
|
-
hiddenCount > 0 && /* @__PURE__ */ jsxs35("span", { className: cn("inline-flex items-center bg-muted text-muted-foreground rounded-lg", sizeStyles8[size].tag), children: [
|
|
12401
|
+
hiddenCount > 0 && /* @__PURE__ */ jsxs35("span", { className: cn("inline-flex items-center bg-muted text-muted-foreground rounded-lg shrink-0", sizeStyles8[size].tag), children: [
|
|
12402
12402
|
"+",
|
|
12403
12403
|
hiddenCount,
|
|
12404
12404
|
" more"
|