@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.cjs
CHANGED
|
@@ -12535,7 +12535,7 @@ var MultiCombobox = ({
|
|
|
12535
12535
|
!!error && "border-destructive focus-visible:ring-destructive/30"
|
|
12536
12536
|
),
|
|
12537
12537
|
children: [
|
|
12538
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("div", { className: cn("flex items-center gap-1.5 flex-
|
|
12538
|
+
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)("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__ */ (0, import_jsx_runtime40.jsxs)(import_jsx_runtime40.Fragment, { children: [
|
|
12539
12539
|
visibleTags.map((option) => {
|
|
12540
12540
|
if (renderTag) {
|
|
12541
12541
|
return /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(React34.Fragment, { children: renderTag(option, () => handleRemove(option.value)) }, option.value);
|
|
@@ -12544,7 +12544,7 @@ var MultiCombobox = ({
|
|
|
12544
12544
|
"span",
|
|
12545
12545
|
{
|
|
12546
12546
|
className: cn(
|
|
12547
|
-
"inline-flex items-center gap-1.5 bg-primary/10 text-primary rounded-full transition-all duration-200",
|
|
12547
|
+
"inline-flex items-center gap-1.5 bg-primary/10 text-primary rounded-full transition-all duration-200 min-w-0",
|
|
12548
12548
|
"hover:bg-primary/20",
|
|
12549
12549
|
sizeStyles8[size].tag
|
|
12550
12550
|
),
|
|
@@ -12578,7 +12578,7 @@ var MultiCombobox = ({
|
|
|
12578
12578
|
option.value
|
|
12579
12579
|
);
|
|
12580
12580
|
}),
|
|
12581
|
-
hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: cn("inline-flex items-center bg-muted text-muted-foreground rounded-lg", sizeStyles8[size].tag), children: [
|
|
12581
|
+
hiddenCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)("span", { className: cn("inline-flex items-center bg-muted text-muted-foreground rounded-lg shrink-0", sizeStyles8[size].tag), children: [
|
|
12582
12582
|
"+",
|
|
12583
12583
|
hiddenCount,
|
|
12584
12584
|
" more"
|