@underverse-ui/underverse 0.2.108 → 0.2.109

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 CHANGED
@@ -3970,7 +3970,7 @@ var Popover = ({
3970
3970
  "div",
3971
3971
  {
3972
3972
  className: cn(
3973
- "rounded-2xl border bg-popover text-popover-foreground shadow-md",
3973
+ "rounded-2xl md:rounded-3xl border bg-popover text-popover-foreground shadow-md",
3974
3974
  "backdrop-blur-sm bg-popover/95 border-border/60 p-4",
3975
3975
  contentClassName
3976
3976
  ),
@@ -5105,98 +5105,108 @@ var Combobox = ({
5105
5105
  `${itemValue}-${index}`
5106
5106
  );
5107
5107
  };
5108
- const dropdownBody = /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { "data-combobox-dropdown": true, "data-state": open ? "open" : "closed", role: "listbox", id: `${resolvedId}-listbox`, className: "w-full", children: [
5109
- enableSearch && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "relative p-2.5 border-b border-border/30", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "relative", children: [
5110
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react12.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground/60 transition-colors peer-focus:text-primary" }),
5111
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5112
- "input",
5113
- {
5114
- ref: inputRef,
5115
- value: query,
5116
- onChange: (e) => {
5117
- setQuery(e.target.value);
5118
- setActiveIndex(null);
5119
- },
5120
- onKeyDown: (e) => {
5121
- if (e.key === "ArrowDown") {
5122
- e.preventDefault();
5123
- setActiveIndex((prev) => {
5124
- const next = prev === null ? 0 : prev + 1;
5125
- return next >= filteredOptions.length ? 0 : next;
5126
- });
5127
- } else if (e.key === "ArrowUp") {
5128
- e.preventDefault();
5129
- setActiveIndex((prev) => {
5130
- const next = prev === null ? filteredOptions.length - 1 : prev - 1;
5131
- return next < 0 ? filteredOptions.length - 1 : next;
5132
- });
5133
- } else if (e.key === "Enter") {
5134
- e.preventDefault();
5135
- if (activeIndex !== null && filteredOptions[activeIndex] && !getOptionDisabled(filteredOptions[activeIndex])) {
5136
- handleSelect(filteredOptions[activeIndex]);
5137
- }
5138
- } else if (e.key === "Escape") {
5139
- e.preventDefault();
5140
- setOpen(false);
5108
+ const dropdownBody = /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
5109
+ "div",
5110
+ {
5111
+ "data-combobox-dropdown": true,
5112
+ "data-state": open ? "open" : "closed",
5113
+ role: "listbox",
5114
+ id: `${resolvedId}-listbox`,
5115
+ className: "w-full rounded-2xl md:rounded-3xl overflow-hidden",
5116
+ children: [
5117
+ enableSearch && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "relative p-2.5 border-b border-border/30", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "relative", children: [
5118
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react12.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground/60 transition-colors peer-focus:text-primary" }),
5119
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5120
+ "input",
5121
+ {
5122
+ ref: inputRef,
5123
+ value: query,
5124
+ onChange: (e) => {
5125
+ setQuery(e.target.value);
5126
+ setActiveIndex(null);
5127
+ },
5128
+ onKeyDown: (e) => {
5129
+ if (e.key === "ArrowDown") {
5130
+ e.preventDefault();
5131
+ setActiveIndex((prev) => {
5132
+ const next = prev === null ? 0 : prev + 1;
5133
+ return next >= filteredOptions.length ? 0 : next;
5134
+ });
5135
+ } else if (e.key === "ArrowUp") {
5136
+ e.preventDefault();
5137
+ setActiveIndex((prev) => {
5138
+ const next = prev === null ? filteredOptions.length - 1 : prev - 1;
5139
+ return next < 0 ? filteredOptions.length - 1 : next;
5140
+ });
5141
+ } else if (e.key === "Enter") {
5142
+ e.preventDefault();
5143
+ if (activeIndex !== null && filteredOptions[activeIndex] && !getOptionDisabled(filteredOptions[activeIndex])) {
5144
+ handleSelect(filteredOptions[activeIndex]);
5145
+ }
5146
+ } else if (e.key === "Escape") {
5147
+ e.preventDefault();
5148
+ setOpen(false);
5149
+ }
5150
+ },
5151
+ placeholder: searchPlaceholder,
5152
+ className: cn(
5153
+ "peer w-full rounded-xl bg-muted/40 py-2.5 pl-9 pr-3 text-sm",
5154
+ "border border-transparent",
5155
+ "focus:outline-none focus:bg-background focus:border-primary/30 focus:ring-2 focus:ring-primary/10",
5156
+ "transition-all duration-200",
5157
+ "placeholder:text-muted-foreground/50"
5158
+ ),
5159
+ "aria-autocomplete": "list",
5160
+ "aria-activedescendant": activeIndex != null ? `combobox-item-${activeIndex}` : void 0
5141
5161
  }
5142
- },
5143
- placeholder: searchPlaceholder,
5144
- className: cn(
5145
- "peer w-full rounded-xl bg-muted/40 py-2.5 pl-9 pr-3 text-sm",
5146
- "border border-transparent",
5147
- "focus:outline-none focus:bg-background focus:border-primary/30 focus:ring-2 focus:ring-primary/10",
5148
- "transition-all duration-200",
5149
- "placeholder:text-muted-foreground/50"
5150
5162
  ),
5151
- "aria-autocomplete": "list",
5152
- "aria-activedescendant": activeIndex != null ? `combobox-item-${activeIndex}` : void 0
5153
- }
5154
- ),
5155
- query && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5156
- "button",
5157
- {
5158
- type: "button",
5159
- onClick: () => setQuery(""),
5160
- className: "absolute right-3 top-1/2 -translate-y-1/2 p-0.5 rounded-md hover:bg-muted text-muted-foreground hover:text-foreground transition-colors",
5161
- children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react12.X, { className: "h-3.5 w-3.5" })
5162
- }
5163
- )
5164
- ] }) }),
5165
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "overflow-y-auto overscroll-contain", style: { maxHeight }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "p-1.5", children: loading2 ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "px-3 py-10 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
5166
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-10 h-10 rounded-full border-2 border-primary/20 border-t-primary animate-spin" }) }),
5167
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-sm text-muted-foreground", children: loadingText })
5168
- ] }) }) : filteredOptions.length > 0 ? groupedOptions ? (
5169
- // Render grouped options with global index tracking
5170
- (() => {
5171
- let globalIndex = 0;
5172
- return Object.entries(groupedOptions).map(([group, items]) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: cn(globalIndex > 0 && "mt-2 pt-2 border-t border-border/30"), children: [
5173
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "px-3 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: group }),
5174
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("ul", { className: "space-y-0.5", children: items.map((item) => {
5175
- const index = globalIndex++;
5176
- return renderOptionItem(item, index);
5177
- }) })
5178
- ] }, group));
5179
- })()
5180
- ) : (
5181
- // Render flat options
5182
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("ul", { className: "space-y-0.5", children: filteredOptions.map((item, index) => renderOptionItem(item, index)) })
5183
- ) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "px-3 py-10 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
5184
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-12 h-12 rounded-full bg-muted/50 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react12.SearchX, { className: "h-6 w-6 text-muted-foreground/60" }) }),
5185
- /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "space-y-1", children: [
5186
- /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "block text-sm font-medium text-foreground", children: emptyText }),
5187
- query && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "block text-xs text-muted-foreground", children: "Try a different search term" })
5188
- ] }),
5189
- query && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5190
- "button",
5191
- {
5192
- type: "button",
5193
- onClick: () => setQuery(""),
5194
- className: "px-3 py-1.5 text-xs font-medium text-primary bg-primary/10 rounded-full hover:bg-primary/20 transition-colors",
5195
- children: "Clear search"
5196
- }
5197
- )
5198
- ] }) }) }) })
5199
- ] });
5163
+ query && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5164
+ "button",
5165
+ {
5166
+ type: "button",
5167
+ onClick: () => setQuery(""),
5168
+ className: "absolute right-3 top-1/2 -translate-y-1/2 p-0.5 rounded-md hover:bg-muted text-muted-foreground hover:text-foreground transition-colors",
5169
+ children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react12.X, { className: "h-3.5 w-3.5" })
5170
+ }
5171
+ )
5172
+ ] }) }),
5173
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "overflow-y-auto overscroll-contain", style: { maxHeight }, children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "p-1.5", children: loading2 ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "px-3 py-10 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
5174
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "relative", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-10 h-10 rounded-full border-2 border-primary/20 border-t-primary animate-spin" }) }),
5175
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "text-sm text-muted-foreground", children: loadingText })
5176
+ ] }) }) : filteredOptions.length > 0 ? groupedOptions ? (
5177
+ // Render grouped options with global index tracking
5178
+ (() => {
5179
+ let globalIndex = 0;
5180
+ return Object.entries(groupedOptions).map(([group, items]) => /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: cn(globalIndex > 0 && "mt-2 pt-2 border-t border-border/30"), children: [
5181
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "px-3 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: group }),
5182
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("ul", { className: "space-y-0.5", children: items.map((item) => {
5183
+ const index = globalIndex++;
5184
+ return renderOptionItem(item, index);
5185
+ }) })
5186
+ ] }, group));
5187
+ })()
5188
+ ) : (
5189
+ // Render flat options
5190
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("ul", { className: "space-y-0.5", children: filteredOptions.map((item, index) => renderOptionItem(item, index)) })
5191
+ ) : /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "px-3 py-10 text-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "flex flex-col items-center gap-3 animate-in fade-in-0 zoom-in-95 duration-300", children: [
5192
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "w-12 h-12 rounded-full bg-muted/50 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_lucide_react12.SearchX, { className: "h-6 w-6 text-muted-foreground/60" }) }),
5193
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "space-y-1", children: [
5194
+ /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "block text-sm font-medium text-foreground", children: emptyText }),
5195
+ query && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("span", { className: "block text-xs text-muted-foreground", children: "Try a different search term" })
5196
+ ] }),
5197
+ query && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5198
+ "button",
5199
+ {
5200
+ type: "button",
5201
+ onClick: () => setQuery(""),
5202
+ className: "px-3 py-1.5 text-xs font-medium text-primary bg-primary/10 rounded-full hover:bg-primary/20 transition-colors",
5203
+ children: "Clear search"
5204
+ }
5205
+ )
5206
+ ] }) }) }) })
5207
+ ]
5208
+ }
5209
+ );
5200
5210
  const sizeStyles8 = {
5201
5211
  sm: "h-8 py-1.5 text-sm md:h-7 md:text-xs",
5202
5212
  md: "h-10 py-2 text-sm",
@@ -5209,7 +5219,7 @@ var Combobox = ({
5209
5219
  filled: "border-0 bg-muted/50 hover:bg-muted/80"
5210
5220
  };
5211
5221
  const labelSize = size === "sm" ? "text-xs" : size === "lg" ? "text-base" : "text-sm";
5212
- const radiusClass = size === "sm" ? "rounded-lg" : "rounded-xl";
5222
+ const radiusClass = "rounded-full";
5213
5223
  const verticalGap = size === "sm" ? "space-y-1.5" : "space-y-2";
5214
5224
  const triggerButtonBaseProps = {
5215
5225
  ref: triggerRef,
@@ -5314,12 +5324,12 @@ var Combobox = ({
5314
5324
  placement: "bottom-start",
5315
5325
  matchTriggerWidth: true,
5316
5326
  className: "z-9999",
5317
- contentClassName: "p-0",
5327
+ contentClassName: "p-0 overflow-hidden rounded-2xl md:rounded-3xl",
5318
5328
  children: dropdownBody
5319
5329
  }
5320
5330
  ) : /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("div", { className: "relative", children: [
5321
5331
  triggerButtonInline,
5322
- open && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute left-0 top-full mt-1 z-50 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "rounded-2xl border text-popover-foreground shadow-md backdrop-blur-sm bg-popover/95 border-border/60", children: dropdownBody }) })
5332
+ open && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "absolute left-0 top-full mt-1 z-50 w-full", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("div", { className: "rounded-2xl md:rounded-3xl overflow-hidden border text-popover-foreground shadow-md backdrop-blur-sm bg-popover/95 border-border/60", children: dropdownBody }) })
5323
5333
  ] }),
5324
5334
  (helperText || error) && /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)("p", { className: cn("text-xs transition-colors duration-200 flex items-center gap-1.5", error ? "text-destructive" : "text-muted-foreground"), children: [
5325
5335
  error && /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor", className: "w-3.5 h-3.5 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
@@ -6154,7 +6164,7 @@ var DatePicker = ({
6154
6164
  contentClassName: cn(
6155
6165
  "p-0",
6156
6166
  "backdrop-blur-xl bg-popover/95 border-border/40 shadow-2xl",
6157
- "rounded-2xl",
6167
+ "rounded-2xl md:rounded-3xl",
6158
6168
  // Keep usable on small viewports (wheel scroll should stay within the popover if it overflows)
6159
6169
  "max-w-[calc(100vw-1rem)] max-h-[calc(100vh-6rem)] overflow-auto overscroll-contain",
6160
6170
  size === "sm" ? "p-4" : "p-5",
@@ -6457,7 +6467,7 @@ var DateRangePicker = ({ startDate, endDate, onChange, placeholder = "Select dat
6457
6467
  contentClassName: cn(
6458
6468
  "p-0",
6459
6469
  "backdrop-blur-xl bg-popover/95 border-border/40 shadow-2xl",
6460
- "rounded-2xl",
6470
+ "rounded-2xl md:rounded-3xl",
6461
6471
  "max-w-[calc(100vw-1rem)] max-h-[calc(100vh-6rem)] overflow-auto overscroll-contain",
6462
6472
  size === "sm" ? "p-3" : "p-5",
6463
6473
  "animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-300"
@@ -8104,7 +8114,13 @@ function TimePicker({
8104
8114
  label,
8105
8115
  required && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "text-destructive ml-1", children: "*" })
8106
8116
  ] }) }),
8107
- /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("div", { className: cn(panelSz.contentPadding, "rounded-2xl border border-border/60 bg-card/95 backdrop-blur-sm shadow-xl", className), children: timePickerContent })
8117
+ /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
8118
+ "div",
8119
+ {
8120
+ className: cn(panelSz.contentPadding, "rounded-2xl md:rounded-3xl border border-border/60 bg-card/95 backdrop-blur-sm shadow-xl", className),
8121
+ children: timePickerContent
8122
+ }
8123
+ )
8108
8124
  ] });
8109
8125
  }
8110
8126
  return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("div", { className: "w-full", ...rest, children: [
@@ -8135,7 +8151,7 @@ function TimePicker({
8135
8151
  contentWidth: matchTriggerWidth ? void 0 : contentWidth,
8136
8152
  contentClassName: cn(
8137
8153
  panelSz.contentPadding,
8138
- "rounded-2xl border bg-popover/98 backdrop-blur-md shadow-2xl",
8154
+ "rounded-2xl md:rounded-3xl border bg-popover/98 backdrop-blur-md shadow-2xl",
8139
8155
  error && "border-destructive/40",
8140
8156
  success && "border-success/40",
8141
8157
  !error && !success && "border-border/60",
@@ -8316,7 +8332,7 @@ var DateTimePicker = ({
8316
8332
  }
8317
8333
  ),
8318
8334
  contentClassName: cn(
8319
- "w-auto p-0 rounded-2xl",
8335
+ "w-auto p-0 rounded-2xl md:rounded-3xl",
8320
8336
  // Keep the popover usable on small viewports
8321
8337
  "max-w-[calc(100vw-1rem)] max-h-[calc(100vh-6rem)] overflow-auto"
8322
8338
  ),
@@ -10926,7 +10942,7 @@ var MultiCombobox = ({
10926
10942
  item.value
10927
10943
  );
10928
10944
  };
10929
- const dropdownBody = /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { "data-combobox-dropdown": true, "data-state": open ? "open" : "closed", className: "w-full", children: [
10945
+ const dropdownBody = /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { "data-combobox-dropdown": true, "data-state": open ? "open" : "closed", className: "w-full rounded-2xl md:rounded-3xl overflow-hidden", children: [
10930
10946
  value.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("div", { className: "px-3 py-2 border-b border-border/40 flex items-center justify-between bg-muted/30", children: [
10931
10947
  /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)("span", { className: "text-xs font-medium text-muted-foreground", children: [
10932
10948
  value.length,
@@ -11030,7 +11046,7 @@ var MultiCombobox = ({
11030
11046
  "aria-controls": listboxId,
11031
11047
  "aria-invalid": !!error,
11032
11048
  className: cn(
11033
- "group flex w-full items-center gap-2 rounded-2xl min-h-10 transition-all duration-200",
11049
+ "group flex w-full items-center gap-2 rounded-full min-h-10 transition-all duration-200",
11034
11050
  "px-3 py-2",
11035
11051
  variantStyles6[variant],
11036
11052
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/30 focus-visible:border-primary",
@@ -11164,7 +11180,7 @@ var MultiCombobox = ({
11164
11180
  placement: "bottom-start",
11165
11181
  matchTriggerWidth: true,
11166
11182
  className: "z-9999",
11167
- contentClassName: "p-0",
11183
+ contentClassName: "p-0 overflow-hidden rounded-2xl md:rounded-3xl",
11168
11184
  children: dropdownBody
11169
11185
  }
11170
11186
  ),
@@ -12408,7 +12424,7 @@ function CategoryTreeSelect(props) {
12408
12424
  // Modern trigger button styling
12409
12425
  "group flex w-full items-center justify-between px-3 py-2.5",
12410
12426
  "bg-background/80 backdrop-blur-sm border border-border/60",
12411
- "rounded-2xl h-11 text-sm",
12427
+ "rounded-full h-11 text-sm",
12412
12428
  "hover:bg-accent/10 hover:border-primary/40 hover:shadow-lg hover:shadow-primary/5 hover:-translate-y-0.5",
12413
12429
  "transition-all duration-300 ease-out",
12414
12430
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/50 focus-visible:ring-offset-2 focus-visible:ring-offset-background",
@@ -12441,7 +12457,7 @@ function CategoryTreeSelect(props) {
12441
12457
  {
12442
12458
  className: cn(
12443
12459
  "absolute z-20 mt-2 w-full max-h-80 overflow-auto",
12444
- "rounded-2xl border border-border/40 bg-popover/95 text-popover-foreground",
12460
+ "rounded-2xl md:rounded-3xl overflow-hidden border border-border/40 bg-popover/95 text-popover-foreground",
12445
12461
  "shadow-2xl backdrop-blur-xl",
12446
12462
  "p-2",
12447
12463
  "animate-in fade-in-0 zoom-in-95 slide-in-from-top-2 duration-300"
@@ -14341,7 +14357,7 @@ function ColorPicker({
14341
14357
  placement: "bottom-start",
14342
14358
  matchTriggerWidth: variant === "minimal",
14343
14359
  contentWidth: contentWidthByVariant[variant],
14344
- contentClassName: cn("p-3 rounded-xl border border-border bg-card shadow-lg", contentClassName),
14360
+ contentClassName: cn("p-3 rounded-2xl md:rounded-3xl border border-border bg-card shadow-lg", contentClassName),
14345
14361
  children: /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "space-y-3", children: [
14346
14362
  variant !== "minimal" && /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-2", children: [
14347
14363
  /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(