@underverse-ui/underverse 1.0.56 → 1.0.58
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/api-reference.json +1 -1
- package/dist/index.cjs +76 -67
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +76 -67
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -361,7 +361,7 @@ var variantStyles = {
|
|
|
361
361
|
danger: "bg-destructive text-destructive-foreground border-destructive/20",
|
|
362
362
|
destructive: "bg-destructive text-destructive-foreground border-destructive/20",
|
|
363
363
|
info: "bg-info text-info-foreground border-info/20",
|
|
364
|
-
outline: "bg-transparent text-foreground border-border",
|
|
364
|
+
outline: "bg-transparent text-foreground border-border/50",
|
|
365
365
|
ghost: "bg-transparent text-foreground border-transparent",
|
|
366
366
|
transparent: "bg-transparent text-foreground border-transparent",
|
|
367
367
|
gradient: "bg-linear-to-r from-primary to-secondary text-primary-foreground border-transparent"
|
|
@@ -638,7 +638,7 @@ var Card = import_react2.default.forwardRef(
|
|
|
638
638
|
ref,
|
|
639
639
|
className: cn(
|
|
640
640
|
"group rounded-2xl md:rounded-3xl bg-card text-card-foreground transition-[transform,box-shadow,border-color,background-color] duration-300 ease-soft max-md:rounded-xl",
|
|
641
|
-
"border border-border shadow-sm backdrop-blur-sm",
|
|
641
|
+
"border border-border/50 shadow-sm backdrop-blur-sm",
|
|
642
642
|
hoverable && "md:hover:-translate-y-0.5 md:hover:border-primary/15 md:hover:shadow-md",
|
|
643
643
|
clickable && "cursor-pointer active:translate-y-px active:bg-accent/5 md:hover:bg-accent/5 md:hover:shadow-md",
|
|
644
644
|
className
|
|
@@ -679,7 +679,16 @@ var Card = import_react2.default.forwardRef(
|
|
|
679
679
|
description && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: "min-w-0 text-sm md:text-base text-muted-foreground leading-relaxed break-words [overflow-wrap:anywhere]", children: description })
|
|
680
680
|
] }),
|
|
681
681
|
children && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cn("relative", defaultPaddingX, defaultPaddingY, contentClassName), children }),
|
|
682
|
-
footer && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
682
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
683
|
+
"div",
|
|
684
|
+
{
|
|
685
|
+
className: cn(
|
|
686
|
+
"relative flex items-center p-4 md:p-6 pt-0 border-t border-border/50 mt-4 max-md:mt-3 max-md:p-3 max-md:pt-0",
|
|
687
|
+
footerClassName
|
|
688
|
+
),
|
|
689
|
+
children: footer
|
|
690
|
+
}
|
|
691
|
+
)
|
|
683
692
|
] })
|
|
684
693
|
}
|
|
685
694
|
);
|
|
@@ -1814,12 +1823,12 @@ var Input = (0, import_react3.forwardRef)(
|
|
|
1814
1823
|
error: "bg-destructive/10 border-destructive focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-destructive focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent"
|
|
1815
1824
|
},
|
|
1816
1825
|
outlined: {
|
|
1817
|
-
container: "bg-transparent border border-border hover:border-accent-foreground/30",
|
|
1826
|
+
container: "bg-transparent border border-border/50 hover:border-accent-foreground/30",
|
|
1818
1827
|
focus: "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent",
|
|
1819
1828
|
error: "border-destructive focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-destructive focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent"
|
|
1820
1829
|
},
|
|
1821
1830
|
minimal: {
|
|
1822
|
-
container: "bg-transparent border-0 border-b border-border hover:border-accent-foreground/30",
|
|
1831
|
+
container: "bg-transparent border-0 border-b border-border/50 hover:border-accent-foreground/30",
|
|
1823
1832
|
focus: "focus-visible:outline-none focus-visible:border-ring focus-visible:ring-0 rounded-none",
|
|
1824
1833
|
error: "border-destructive focus-visible:outline-none focus-visible:border-destructive"
|
|
1825
1834
|
}
|
|
@@ -2172,7 +2181,7 @@ var NumberInput = (0, import_react3.forwardRef)(
|
|
|
2172
2181
|
lg: { width: "w-11", icon: { width: 12, height: 7, path: { up: "M6 1L11 6H1L6 1Z", down: "M6 6L1 1H11L6 6Z" } } }
|
|
2173
2182
|
};
|
|
2174
2183
|
const ss = stepperSizeStyles[inputSize];
|
|
2175
|
-
const stepperAddon = showSteppers ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: cn("absolute right-0 inset-y-0 flex flex-col border-l border-border rounded-r-full overflow-hidden", ss.width), children: [
|
|
2184
|
+
const stepperAddon = showSteppers ? /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("div", { className: cn("absolute right-0 inset-y-0 flex flex-col border-l border-border/50 rounded-r-full overflow-hidden", ss.width), children: [
|
|
2176
2185
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2177
2186
|
"button",
|
|
2178
2187
|
{
|
|
@@ -2271,8 +2280,8 @@ var Textarea = (0, import_react3.forwardRef)(
|
|
|
2271
2280
|
const variantStyles6 = {
|
|
2272
2281
|
default: "bg-background border border-input hover:border-accent-foreground/20 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent",
|
|
2273
2282
|
filled: "bg-muted/50 border border-transparent hover:bg-muted/70 focus-visible:outline-none focus-visible:bg-background focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent",
|
|
2274
|
-
outlined: "bg-transparent border border-border hover:border-accent-foreground/30 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent",
|
|
2275
|
-
minimal: "bg-transparent border-0 border-b border-border hover:border-accent-foreground/30 focus-visible:outline-none focus-visible:border-ring focus-visible:ring-0 rounded-none"
|
|
2283
|
+
outlined: "bg-transparent border border-border/50 hover:border-accent-foreground/30 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background focus-visible:border-transparent",
|
|
2284
|
+
minimal: "bg-transparent border-0 border-b border-border/50 hover:border-accent-foreground/30 focus-visible:outline-none focus-visible:border-ring focus-visible:ring-0 rounded-none"
|
|
2276
2285
|
};
|
|
2277
2286
|
const resizeClasses = {
|
|
2278
2287
|
none: "resize-none",
|
|
@@ -2730,7 +2739,7 @@ var Switch = ({
|
|
|
2730
2739
|
className: cn(
|
|
2731
2740
|
"absolute top-0.5 left-0.5 rounded-full transition-transform duration-200 ease-out shadow-sm",
|
|
2732
2741
|
sizeClasses2[size].handle,
|
|
2733
|
-
"bg-background border border-border",
|
|
2742
|
+
"bg-background border border-border/50",
|
|
2734
2743
|
checked ? sizeClasses2[size].translate : "translate-x-0",
|
|
2735
2744
|
!disabled && "hover:scale-[1.02]",
|
|
2736
2745
|
isPressed && "scale-95",
|
|
@@ -3823,7 +3832,7 @@ var React14 = __toESM(require("react"), 1);
|
|
|
3823
3832
|
var import_react_dom2 = require("react-dom");
|
|
3824
3833
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
3825
3834
|
var variantStyles3 = {
|
|
3826
|
-
default: "bg-popover text-popover-foreground border-border",
|
|
3835
|
+
default: "bg-popover text-popover-foreground border-border/50",
|
|
3827
3836
|
info: "bg-info text-info-foreground border-info/20",
|
|
3828
3837
|
warning: "bg-warning text-warning-foreground border-warning/20",
|
|
3829
3838
|
error: "bg-destructive text-destructive-foreground border-destructive/20",
|
|
@@ -4742,7 +4751,7 @@ var Sheet = ({
|
|
|
4742
4751
|
{
|
|
4743
4752
|
className: cn(
|
|
4744
4753
|
"fixed flex flex-col bg-background text-foreground shadow-2xl",
|
|
4745
|
-
"border-border transition-all duration-300 ease-out",
|
|
4754
|
+
"border-border/50 transition-all duration-300 ease-out",
|
|
4746
4755
|
positionStyles2[side],
|
|
4747
4756
|
sizeStyles4[size][side],
|
|
4748
4757
|
// Borders based on side
|
|
@@ -4759,7 +4768,7 @@ var Sheet = ({
|
|
|
4759
4768
|
transition: "transform 300ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
4760
4769
|
},
|
|
4761
4770
|
children: [
|
|
4762
|
-
(title || description || header || showClose) && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "shrink-0 border-b border-border", children: header || /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center justify-between p-4", children: [
|
|
4771
|
+
(title || description || header || showClose) && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "shrink-0 border-b border-border/50", children: header || /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex items-center justify-between p-4", children: [
|
|
4763
4772
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex-1", children: [
|
|
4764
4773
|
title && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h2", { className: "text-lg font-semibold text-foreground", children: title }),
|
|
4765
4774
|
description && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "text-sm text-muted-foreground mt-1", children: description })
|
|
@@ -4778,7 +4787,7 @@ var Sheet = ({
|
|
|
4778
4787
|
children
|
|
4779
4788
|
}
|
|
4780
4789
|
),
|
|
4781
|
-
footer && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "shrink-0 border-t border-border p-4", children: footer })
|
|
4790
|
+
footer && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "shrink-0 border-t border-border/50 p-4", children: footer })
|
|
4782
4791
|
]
|
|
4783
4792
|
}
|
|
4784
4793
|
)
|
|
@@ -4796,7 +4805,7 @@ var BottomSheet = ({ snapPoints = ["25%", "50%", "90%"], defaultSnap = 1, ...pro
|
|
|
4796
4805
|
};
|
|
4797
4806
|
var SidebarSheet = ({ navigation, children, ...props }) => {
|
|
4798
4807
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(Sheet, { ...props, side: "left", variant: "push", size: "md", children: [
|
|
4799
|
-
navigation && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "border-b border-border pb-4 mb-4", children: navigation }),
|
|
4808
|
+
navigation && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("div", { className: "border-b border-border/50 pb-4 mb-4", children: navigation }),
|
|
4800
4809
|
children
|
|
4801
4810
|
] });
|
|
4802
4811
|
};
|
|
@@ -4808,7 +4817,7 @@ var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
|
4808
4817
|
var variantConfig = {
|
|
4809
4818
|
default: {
|
|
4810
4819
|
icon: import_lucide_react9.Info,
|
|
4811
|
-
containerClassName: "bg-muted/50 border-border",
|
|
4820
|
+
containerClassName: "bg-muted/50 border-border/50",
|
|
4812
4821
|
iconClassName: "text-muted-foreground",
|
|
4813
4822
|
iconBgClassName: "bg-muted",
|
|
4814
4823
|
accentBarClassName: "bg-muted-foreground"
|
|
@@ -10529,7 +10538,7 @@ var DateTimePicker = ({
|
|
|
10529
10538
|
)
|
|
10530
10539
|
] })
|
|
10531
10540
|
] }),
|
|
10532
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: cn(sizeStyles8[size].padding, "border-t border-border flex justify-between items-center bg-muted/20"), children: [
|
|
10541
|
+
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("div", { className: cn(sizeStyles8[size].padding, "border-t border-border/50 flex justify-between items-center bg-muted/20"), children: [
|
|
10533
10542
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button_default, { variant: "ghost", size: sizeStyles8[size].buttonSize, onClick: handleClear, className: "text-muted-foreground hover:text-foreground", children: clearLabel || t?.("clear") || "Clear" }),
|
|
10534
10543
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button_default, { size: sizeStyles8[size].buttonSize, onClick: handleApply, children: doneLabel || t?.("done") || "Done" })
|
|
10535
10544
|
] })
|
|
@@ -11304,7 +11313,7 @@ function CalendarTimelineHeader(props) {
|
|
|
11304
11313
|
)
|
|
11305
11314
|
] })
|
|
11306
11315
|
] }),
|
|
11307
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "p-3 border-t border-border flex justify-between items-center bg-muted/20", children: [
|
|
11316
|
+
/* @__PURE__ */ (0, import_jsx_runtime37.jsxs)("div", { className: "p-3 border-t border-border/50 flex justify-between items-center bg-muted/20", children: [
|
|
11308
11317
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11309
11318
|
Button_default,
|
|
11310
11319
|
{
|
|
@@ -13072,7 +13081,7 @@ function CalendarTimeline({
|
|
|
13072
13081
|
{
|
|
13073
13082
|
className: cn(
|
|
13074
13083
|
"rounded-2xl md:rounded-3xl overflow-hidden bg-card text-card-foreground backdrop-blur-sm",
|
|
13075
|
-
"border border-border shadow-sm md:hover:shadow-md",
|
|
13084
|
+
"border border-border/50 shadow-sm md:hover:shadow-md",
|
|
13076
13085
|
"transition-[transform,box-shadow,border-color,background-color] duration-300 ease-soft",
|
|
13077
13086
|
densityClass,
|
|
13078
13087
|
className
|
|
@@ -14102,7 +14111,7 @@ var RadioGroupItem = React38.forwardRef(
|
|
|
14102
14111
|
"inline-flex items-center justify-center gap-2 rounded-lg border font-medium transition-all duration-200",
|
|
14103
14112
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
14104
14113
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
14105
|
-
isSelected ? "border-primary bg-primary text-primary-foreground shadow-sm" : "border-border bg-background hover:bg-accent hover:text-accent-foreground",
|
|
14114
|
+
isSelected ? "border-primary bg-primary text-primary-foreground shadow-sm" : "border-border/50 bg-background hover:bg-accent hover:text-accent-foreground",
|
|
14106
14115
|
sizeStyles7[size].padding,
|
|
14107
14116
|
sizeStyles7[size].text,
|
|
14108
14117
|
className
|
|
@@ -14383,7 +14392,7 @@ var Slider = React39.forwardRef(
|
|
|
14383
14392
|
{
|
|
14384
14393
|
className: cn(
|
|
14385
14394
|
"absolute pointer-events-none transition-all duration-200 ease-out",
|
|
14386
|
-
"bg-popover text-popover-foreground rounded-lg shadow-lg border border-border",
|
|
14395
|
+
"bg-popover text-popover-foreground rounded-lg shadow-lg border border-border/50",
|
|
14387
14396
|
"whitespace-nowrap font-medium -translate-x-1/2 z-50",
|
|
14388
14397
|
sizeStyles8.tooltip,
|
|
14389
14398
|
shouldShow ? "opacity-100 -translate-y-10 scale-100" : "opacity-0 -translate-y-8 scale-95",
|
|
@@ -14871,10 +14880,10 @@ function OverlayControls({
|
|
|
14871
14880
|
noFocus: true
|
|
14872
14881
|
}
|
|
14873
14882
|
),
|
|
14874
|
-
previewData && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute bottom-full mb-2 transform -translate-x-1/2 pointer-events-none z-30", style: { left: `${previewData.x}px` }, children: previewData.url ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "bg-background/95 backdrop-blur rounded-xl border border-border shadow-lg overflow-hidden", children: [
|
|
14883
|
+
previewData && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute bottom-full mb-2 transform -translate-x-1/2 pointer-events-none z-30", style: { left: `${previewData.x}px` }, children: previewData.url ? /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "bg-background/95 backdrop-blur rounded-xl border border-border/50 shadow-lg overflow-hidden", children: [
|
|
14875
14884
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("img", { src: previewData.url, alt: "Preview", className: "w-40 h-24 object-cover" }),
|
|
14876
14885
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "px-2 py-1 text-xs font-mono text-center bg-background/80", children: formatTime3(previewData.time) })
|
|
14877
|
-
] }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "px-3 py-1.5 rounded-md bg-background/90 backdrop-blur border border-border shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "text-xs font-mono text-center", children: formatTime3(previewData.time) }) }) })
|
|
14886
|
+
] }) : /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "px-3 py-1.5 rounded-md bg-background/90 backdrop-blur border border-border/50 shadow-lg", children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "text-xs font-mono text-center", children: formatTime3(previewData.time) }) }) })
|
|
14878
14887
|
] }),
|
|
14879
14888
|
showControlsBar && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "mt-2 flex items-center justify-between gap-2", children: [
|
|
14880
14889
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
@@ -14911,7 +14920,7 @@ function OverlayControls({
|
|
|
14911
14920
|
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react24.RotateCw, { className: "w-4 h-4" })
|
|
14912
14921
|
}
|
|
14913
14922
|
),
|
|
14914
|
-
(showTime ?? true) && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { className: "px-3 py-1 rounded-full text-xs font-mono bg-background/60 text-foreground shadow-sm border border-border whitespace-nowrap", children: [
|
|
14923
|
+
(showTime ?? true) && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("span", { className: "px-3 py-1 rounded-full text-xs font-mono bg-background/60 text-foreground shadow-sm border border-border/50 whitespace-nowrap", children: [
|
|
14915
14924
|
formatTime3(dragValue),
|
|
14916
14925
|
" / ",
|
|
14917
14926
|
formatTime3(max)
|
|
@@ -14973,7 +14982,7 @@ function OverlayControls({
|
|
|
14973
14982
|
]
|
|
14974
14983
|
}
|
|
14975
14984
|
),
|
|
14976
|
-
rateOpen && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute bottom-9 right-0 bg-background/90 backdrop-blur rounded-md border border-border shadow-lg p-1 z-30", children: [0.5, 0.75, 1, 1.25, 1.5].map((r) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
14985
|
+
rateOpen && /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("div", { className: "absolute bottom-9 right-0 bg-background/90 backdrop-blur rounded-md border border-border/50 shadow-lg p-1 z-30", children: [0.5, 0.75, 1, 1.25, 1.5].map((r) => /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
14977
14986
|
"button",
|
|
14978
14987
|
{
|
|
14979
14988
|
onClick: () => {
|
|
@@ -15677,7 +15686,7 @@ function ImageUpload({
|
|
|
15677
15686
|
{
|
|
15678
15687
|
className: cn(
|
|
15679
15688
|
"relative border-2 border-dashed rounded-2xl md:rounded-3xl p-8 text-center transition-all duration-200",
|
|
15680
|
-
isDragging && !disabled ? "border-primary bg-primary/5 scale-[1.02]" : "border-border hover:border-primary/50",
|
|
15689
|
+
isDragging && !disabled ? "border-primary bg-primary/5 scale-[1.02]" : "border-border/50 hover:border-primary/50",
|
|
15681
15690
|
disabled && "opacity-50 cursor-not-allowed",
|
|
15682
15691
|
uploading && "pointer-events-none"
|
|
15683
15692
|
),
|
|
@@ -15714,7 +15723,7 @@ function ImageUpload({
|
|
|
15714
15723
|
),
|
|
15715
15724
|
showPreview && uploadedImages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "space-y-3", children: [
|
|
15716
15725
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("h4", { className: "text-sm font-medium", children: "Uploaded Images" }),
|
|
15717
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: uploadedImages.map((image) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative group bg-card border border-border rounded-2xl md:rounded-3xl p-3", children: [
|
|
15726
|
+
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("div", { className: "grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 gap-4", children: uploadedImages.map((image) => /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "relative group bg-card border border-border/50 rounded-2xl md:rounded-3xl p-3", children: [
|
|
15718
15727
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
15719
15728
|
Button_default,
|
|
15720
15729
|
{
|
|
@@ -16046,7 +16055,7 @@ function FileUpload({
|
|
|
16046
16055
|
"div",
|
|
16047
16056
|
{
|
|
16048
16057
|
className: cn(
|
|
16049
|
-
"group relative flex items-center gap-3 bg-card/50 backdrop-blur-sm border border-border rounded-xl",
|
|
16058
|
+
"group relative flex items-center gap-3 bg-card/50 backdrop-blur-sm border border-border/50 rounded-xl",
|
|
16050
16059
|
"transition-all duration-200 hover:bg-card hover:shadow-md hover:border-primary/20",
|
|
16051
16060
|
file.status === "error" && "border-destructive/50 bg-destructive/5",
|
|
16052
16061
|
file.status === "uploading" && "border-primary/30",
|
|
@@ -16129,13 +16138,13 @@ function FileUpload({
|
|
|
16129
16138
|
"border-2 border-dashed rounded-2xl",
|
|
16130
16139
|
currentSize.padding,
|
|
16131
16140
|
"text-center transition-all duration-300",
|
|
16132
|
-
isDragging && !disabled ? "border-primary bg-primary/5 scale-[1.01] shadow-lg shadow-primary/10" : "border-border hover:border-primary/50 hover:bg-muted/30",
|
|
16141
|
+
isDragging && !disabled ? "border-primary bg-primary/5 scale-[1.01] shadow-lg shadow-primary/10" : "border-border/50 hover:border-primary/50 hover:bg-muted/30",
|
|
16133
16142
|
disabled && "opacity-50 cursor-not-allowed"
|
|
16134
16143
|
),
|
|
16135
16144
|
compact: cn(
|
|
16136
16145
|
"border border-dashed rounded-xl p-4",
|
|
16137
16146
|
"flex items-center gap-4 transition-all duration-200",
|
|
16138
|
-
isDragging && !disabled ? "border-primary bg-primary/5" : "border-border hover:border-primary/50",
|
|
16147
|
+
isDragging && !disabled ? "border-primary bg-primary/5" : "border-border/50 hover:border-primary/50",
|
|
16139
16148
|
disabled && "opacity-50 cursor-not-allowed"
|
|
16140
16149
|
),
|
|
16141
16150
|
minimal: cn(
|
|
@@ -16882,12 +16891,12 @@ var ListRoot = React44.forwardRef(
|
|
|
16882
16891
|
const hasChildren = childCount > 0;
|
|
16883
16892
|
const variantClasses3 = {
|
|
16884
16893
|
plain: "",
|
|
16885
|
-
outlined: "rounded-2xl md:rounded-3xl bg-card text-card-foreground border border-border shadow-sm max-md:rounded-xl",
|
|
16894
|
+
outlined: "rounded-2xl md:rounded-3xl bg-card text-card-foreground border border-border/50 shadow-sm max-md:rounded-xl",
|
|
16886
16895
|
soft: "rounded-2xl md:rounded-3xl bg-muted/40 border border-border/60 max-md:rounded-xl",
|
|
16887
|
-
bordered: "border border-border rounded-2xl md:rounded-3xl max-md:rounded-xl",
|
|
16888
|
-
card: "rounded-2xl md:rounded-3xl bg-card shadow-md border border-border max-md:rounded-xl max-md:shadow-sm",
|
|
16896
|
+
bordered: "border border-border/50 rounded-2xl md:rounded-3xl max-md:rounded-xl",
|
|
16897
|
+
card: "rounded-2xl md:rounded-3xl bg-card shadow-md border border-border/50 max-md:rounded-xl max-md:shadow-sm",
|
|
16889
16898
|
flush: "",
|
|
16890
|
-
striped: "rounded-2xl md:rounded-3xl border border-border overflow-hidden max-md:rounded-xl"
|
|
16899
|
+
striped: "rounded-2xl md:rounded-3xl border border-border/50 overflow-hidden max-md:rounded-xl"
|
|
16891
16900
|
};
|
|
16892
16901
|
if (loading2) {
|
|
16893
16902
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
@@ -17470,8 +17479,8 @@ var TimelineItem = React46.forwardRef(
|
|
|
17470
17479
|
const padding = ctx.dense ? sz.densePadY : sz.padY;
|
|
17471
17480
|
const variantClasses3 = {
|
|
17472
17481
|
default: "",
|
|
17473
|
-
outlined: "rounded-xl border border-border bg-card shadow-sm px-4 py-3",
|
|
17474
|
-
card: "rounded-2xl border border-border bg-card shadow-md px-5 py-4",
|
|
17482
|
+
outlined: "rounded-xl border border-border/50 bg-card shadow-sm px-4 py-3",
|
|
17483
|
+
card: "rounded-2xl border border-border/50 bg-card shadow-md px-5 py-4",
|
|
17475
17484
|
minimal: "border-l-2 pl-4 py-2",
|
|
17476
17485
|
modern: "rounded-xl bg-linear-to-r from-card to-muted/20 border border-border/50 px-5 py-4 backdrop-blur-sm",
|
|
17477
17486
|
gradient: "rounded-2xl bg-linear-to-br from-primary/10 via-card to-accent/10 border border-primary/20 px-5 py-4 shadow-lg"
|
|
@@ -17764,7 +17773,7 @@ var Swatch = ({
|
|
|
17764
17773
|
"button",
|
|
17765
17774
|
{
|
|
17766
17775
|
type: "button",
|
|
17767
|
-
className: cn(sizeClasses2[size], "rounded-lg border border-border shadow-sm hover:scale-110 transition-transform", onClick && "cursor-pointer"),
|
|
17776
|
+
className: cn(sizeClasses2[size], "rounded-lg border border-border/50 shadow-sm hover:scale-110 transition-transform", onClick && "cursor-pointer"),
|
|
17768
17777
|
style: { backgroundColor: color },
|
|
17769
17778
|
onClick,
|
|
17770
17779
|
"aria-label": ariaLabel
|
|
@@ -17898,7 +17907,7 @@ function ColorPicker({
|
|
|
17898
17907
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
17899
17908
|
"span",
|
|
17900
17909
|
{
|
|
17901
|
-
className: cn("rounded-md border border-border shadow-sm", size === "sm" ? "h-4 w-4" : size === "lg" ? "h-6 w-6" : "h-5 w-5"),
|
|
17910
|
+
className: cn("rounded-md border border-border/50 shadow-sm", size === "sm" ? "h-4 w-4" : size === "lg" ? "h-6 w-6" : "h-5 w-5"),
|
|
17902
17911
|
style: { backgroundColor: withAlpha ? `rgba(${rgba.r}, ${rgba.g}, ${rgba.b}, ${rgba.a})` : hexForInput }
|
|
17903
17912
|
}
|
|
17904
17913
|
),
|
|
@@ -17923,7 +17932,7 @@ function ColorPicker({
|
|
|
17923
17932
|
placement: "bottom-start",
|
|
17924
17933
|
matchTriggerWidth: variant === "minimal",
|
|
17925
17934
|
contentWidth: contentWidthByVariant[variant],
|
|
17926
|
-
contentClassName: cn("p-3 rounded-2xl md:rounded-3xl border border-border bg-card shadow-lg", contentClassName),
|
|
17935
|
+
contentClassName: cn("p-3 rounded-2xl md:rounded-3xl border border-border/50 bg-card shadow-lg", contentClassName),
|
|
17927
17936
|
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "space-y-3", children: [
|
|
17928
17937
|
variant !== "minimal" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
17929
17938
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
@@ -17932,7 +17941,7 @@ function ColorPicker({
|
|
|
17932
17941
|
type: "color",
|
|
17933
17942
|
value: hexForInput,
|
|
17934
17943
|
onChange: handleNativeChange,
|
|
17935
|
-
className: "h-9 w-9 rounded-lg cursor-pointer border border-border"
|
|
17944
|
+
className: "h-9 w-9 rounded-lg cursor-pointer border border-border/50"
|
|
17936
17945
|
}
|
|
17937
17946
|
),
|
|
17938
17947
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
@@ -17940,7 +17949,7 @@ function ColorPicker({
|
|
|
17940
17949
|
{
|
|
17941
17950
|
type: "button",
|
|
17942
17951
|
onClick: tryEyedropper,
|
|
17943
|
-
className: cn("h-9 px-3 rounded-lg border border-border text-xs hover:bg-accent/10 transition-colors flex items-center gap-1.5"),
|
|
17952
|
+
className: cn("h-9 px-3 rounded-lg border border-border/50 text-xs hover:bg-accent/10 transition-colors flex items-center gap-1.5"),
|
|
17944
17953
|
children: [
|
|
17945
17954
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react31.Pipette, { className: "w-3.5 h-3.5" }),
|
|
17946
17955
|
variant === "full" && "Pick"
|
|
@@ -17953,7 +17962,7 @@ function ColorPicker({
|
|
|
17953
17962
|
type: "button",
|
|
17954
17963
|
onClick: copyToClipboard,
|
|
17955
17964
|
className: cn(
|
|
17956
|
-
"h-9 px-3 rounded-lg border border-border text-xs hover:bg-accent/10 transition-colors flex items-center gap-1.5",
|
|
17965
|
+
"h-9 px-3 rounded-lg border border-border/50 text-xs hover:bg-accent/10 transition-colors flex items-center gap-1.5",
|
|
17957
17966
|
copied && "bg-success/10 border-success/30"
|
|
17958
17967
|
),
|
|
17959
17968
|
children: [
|
|
@@ -17967,7 +17976,7 @@ function ColorPicker({
|
|
|
17967
17976
|
{
|
|
17968
17977
|
type: "button",
|
|
17969
17978
|
onClick: clear,
|
|
17970
|
-
className: "ml-auto h-9 px-2 rounded-lg border border-border text-xs hover:bg-destructive/10 transition-colors flex items-center gap-1",
|
|
17979
|
+
className: "ml-auto h-9 px-2 rounded-lg border border-border/50 text-xs hover:bg-destructive/10 transition-colors flex items-center gap-1",
|
|
17971
17980
|
children: [
|
|
17972
17981
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react31.X, { className: "w-3.5 h-3.5" }),
|
|
17973
17982
|
variant === "full" && "Clear"
|
|
@@ -17993,7 +18002,7 @@ function ColorPicker({
|
|
|
17993
18002
|
type: "button",
|
|
17994
18003
|
onClick: copyToClipboard,
|
|
17995
18004
|
className: cn(
|
|
17996
|
-
"h-9 w-9 rounded-lg border border-border hover:bg-accent/10 transition-colors flex items-center justify-center",
|
|
18005
|
+
"h-9 w-9 rounded-lg border border-border/50 hover:bg-accent/10 transition-colors flex items-center justify-center",
|
|
17997
18006
|
copied && "bg-success/10 border-success/30"
|
|
17998
18007
|
),
|
|
17999
18008
|
children: copied ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react31.Check, { className: "w-3.5 h-3.5 text-success" }) : /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react31.Copy, { className: "w-3.5 h-3.5" })
|
|
@@ -18342,7 +18351,7 @@ var MusicPlayer = ({
|
|
|
18342
18351
|
}
|
|
18343
18352
|
}
|
|
18344
18353
|
}, [currentSongIndex, currentSong.startTime, isPlaying]);
|
|
18345
|
-
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `underverse-music-player bg-card dark:bg-card border border-border rounded-2xl shadow-2xl overflow-hidden ${className}`, children: [
|
|
18354
|
+
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: `underverse-music-player bg-card dark:bg-card border border-border/50 rounded-2xl shadow-2xl overflow-hidden ${className}`, children: [
|
|
18346
18355
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("audio", { ref: audioRef, src: currentSong.audioUrl, onTimeUpdate: handleTimeUpdate, onLoadedMetadata: handleLoadedMetadata, onEnded: playNext }),
|
|
18347
18356
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "p-6", children: [
|
|
18348
18357
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "text-center mb-6", children: [
|
|
@@ -18420,7 +18429,7 @@ var MusicPlayer = ({
|
|
|
18420
18429
|
}
|
|
18421
18430
|
) })
|
|
18422
18431
|
] }),
|
|
18423
|
-
showPlaylist && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "bg-muted/50 backdrop-blur-sm max-h-96 overflow-y-auto border-t border-border", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "p-4", children: [
|
|
18432
|
+
showPlaylist && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "bg-muted/50 backdrop-blur-sm max-h-96 overflow-y-auto border-t border-border/50", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "p-4", children: [
|
|
18424
18433
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("h3", { className: "text-lg font-semibold text-foreground mb-3", children: [
|
|
18425
18434
|
"Playlist (",
|
|
18426
18435
|
playlist.length,
|
|
@@ -18503,12 +18512,12 @@ function joinAreas(areas) {
|
|
|
18503
18512
|
}
|
|
18504
18513
|
function getVariantClasses(variant = "default", outlined) {
|
|
18505
18514
|
if (outlined) {
|
|
18506
|
-
return "rounded-2xl md:rounded-3xl bg-card text-card-foreground border border-border shadow-sm";
|
|
18515
|
+
return "rounded-2xl md:rounded-3xl bg-card text-card-foreground border border-border/50 shadow-sm";
|
|
18507
18516
|
}
|
|
18508
18517
|
const variants = {
|
|
18509
18518
|
default: "",
|
|
18510
|
-
bordered: "border border-border rounded-2xl md:rounded-3xl",
|
|
18511
|
-
card: "rounded-2xl md:rounded-3xl bg-card text-card-foreground border border-border shadow-sm",
|
|
18519
|
+
bordered: "border border-border/50 rounded-2xl md:rounded-3xl",
|
|
18520
|
+
card: "rounded-2xl md:rounded-3xl bg-card text-card-foreground border border-border/50 shadow-sm",
|
|
18512
18521
|
flat: "bg-muted/30 rounded-2xl md:rounded-3xl",
|
|
18513
18522
|
glass: "bg-background/80 backdrop-blur-sm border border-border/50 rounded-2xl md:rounded-3xl shadow-lg"
|
|
18514
18523
|
};
|
|
@@ -18722,7 +18731,7 @@ function ChartTooltip({
|
|
|
18722
18731
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
18723
18732
|
"div",
|
|
18724
18733
|
{
|
|
18725
|
-
className: cn("bg-popover text-popover-foreground border border-border", "rounded-2xl shadow-xl px-3 py-2 text-sm", "backdrop-blur-sm"),
|
|
18734
|
+
className: cn("bg-popover text-popover-foreground border border-border/50", "rounded-2xl shadow-xl px-3 py-2 text-sm", "backdrop-blur-sm"),
|
|
18726
18735
|
style: {
|
|
18727
18736
|
minWidth: "80px",
|
|
18728
18737
|
width: "max-content",
|
|
@@ -20419,7 +20428,7 @@ var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
|
20419
20428
|
var TABLE_BASE_CLASS = "w-full caption-bottom text-sm";
|
|
20420
20429
|
var TABLE_CONTAINER_BASE_CLASS = [
|
|
20421
20430
|
"relative w-full overflow-auto",
|
|
20422
|
-
"rounded-2xl md:rounded-3xl border border-border",
|
|
20431
|
+
"rounded-2xl md:rounded-3xl border border-border/50",
|
|
20423
20432
|
"bg-card text-card-foreground shadow-sm",
|
|
20424
20433
|
"backdrop-blur-sm transition-all duration-300"
|
|
20425
20434
|
].join(" ");
|
|
@@ -20457,7 +20466,7 @@ var Table = import_react35.default.forwardRef(
|
|
|
20457
20466
|
}
|
|
20458
20467
|
);
|
|
20459
20468
|
Table.displayName = "Table";
|
|
20460
|
-
var TableHeader = import_react35.default.forwardRef(({ className, children, filterRow, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("thead", { ref, className: cn("[&_tr]:border-b [&_tr]:border-border", "bg-muted", className), ...props, children: [
|
|
20469
|
+
var TableHeader = import_react35.default.forwardRef(({ className, children, filterRow, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)("thead", { ref, className: cn("[&_tr]:border-b [&_tr]:border-border/50", "bg-muted", className), ...props, children: [
|
|
20461
20470
|
children,
|
|
20462
20471
|
filterRow
|
|
20463
20472
|
] }));
|
|
@@ -20471,7 +20480,7 @@ var TableRow = import_react35.default.forwardRef(({ className, ...props }, ref)
|
|
|
20471
20480
|
{
|
|
20472
20481
|
ref,
|
|
20473
20482
|
className: cn(
|
|
20474
|
-
"border-b border-border transition-all duration-300",
|
|
20483
|
+
"border-b border-border/50 transition-all duration-300",
|
|
20475
20484
|
"hover:bg-muted/30 hover:shadow-sm",
|
|
20476
20485
|
"data-[state=selected]:bg-muted/50",
|
|
20477
20486
|
className
|
|
@@ -21058,7 +21067,7 @@ function DataTableToolbar({
|
|
|
21058
21067
|
setVisibleCols((prev) => prev.includes(c.key) ? prev.filter((k) => k !== c.key) : [...prev, c.key]);
|
|
21059
21068
|
},
|
|
21060
21069
|
children: [
|
|
21061
|
-
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("input", { type: "checkbox", className: "mr-2 rounded-md border-border", readOnly: true, checked: visibleCols.includes(c.key) }),
|
|
21070
|
+
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("input", { type: "checkbox", className: "mr-2 rounded-md border-border/50", readOnly: true, checked: visibleCols.includes(c.key) }),
|
|
21062
21071
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "truncate", children: c.title })
|
|
21063
21072
|
]
|
|
21064
21073
|
},
|
|
@@ -21834,13 +21843,13 @@ function NotificationModal({ isOpen, onClose, notification, titleText, openLinkT
|
|
|
21834
21843
|
}
|
|
21835
21844
|
};
|
|
21836
21845
|
return /* @__PURE__ */ (0, import_jsx_runtime74.jsx)(Modal_default, { isOpen, onClose, title: titleText || t("notifications"), size: "md", children: /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "space-y-4", children: [
|
|
21837
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex items-center gap-2 pb-2 border-b border-border", children: [
|
|
21846
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex items-center gap-2 pb-2 border-b border-border/50", children: [
|
|
21838
21847
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("w-2 h-2 rounded-full", !notification.is_read ? "bg-primary" : "bg-border") }),
|
|
21839
21848
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-xs text-muted-foreground", children: !notification.is_read ? t("newNotification") : t("readStatus") })
|
|
21840
21849
|
] }),
|
|
21841
21850
|
notification.title && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("h3", { className: "text-lg font-semibold text-foreground", children: notification.title }),
|
|
21842
21851
|
notification.body && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "text-sm text-muted-foreground whitespace-pre-wrap leading-relaxed", children: notification.body }),
|
|
21843
|
-
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "text-xs text-muted-foreground border-t border-border pt-2", children: formatTime3(notification.created_at) }),
|
|
21852
|
+
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "text-xs text-muted-foreground border-t border-border/50 pt-2", children: formatTime3(notification.created_at) }),
|
|
21844
21853
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex gap-2 justify-end pt-2", children: [
|
|
21845
21854
|
hasLink && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(Button_default, { variant: "primary", size: "sm", onClick: handleLinkClick, className: "gap-2", children: [
|
|
21846
21855
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_lucide_react35.ExternalLink, { className: "w-4 h-4" }),
|
|
@@ -21946,12 +21955,12 @@ function ThemeToggleHeadless({
|
|
|
21946
21955
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
21947
21956
|
"div",
|
|
21948
21957
|
{
|
|
21949
|
-
className: "z-9999 bg-card border border-border rounded-lg shadow-lg overflow-hidden",
|
|
21958
|
+
className: "z-9999 bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
|
|
21950
21959
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
21951
21960
|
onMouseDown: (e) => e.stopPropagation(),
|
|
21952
21961
|
role: "menu",
|
|
21953
21962
|
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "p-2", children: [
|
|
21954
|
-
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "px-3 py-2 text-sm font-medium text-muted-foreground border-b border-border mb-2", children: labels?.heading ?? "Theme" }),
|
|
21963
|
+
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)("div", { className: "px-3 py-2 text-sm font-medium text-muted-foreground border-b border-border/50 mb-2", children: labels?.heading ?? "Theme" }),
|
|
21955
21964
|
themes.map((opt) => {
|
|
21956
21965
|
const Icon = opt.icon;
|
|
21957
21966
|
const active = theme === opt.value;
|
|
@@ -22043,12 +22052,12 @@ function LanguageSwitcherHeadless({
|
|
|
22043
22052
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
22044
22053
|
"div",
|
|
22045
22054
|
{
|
|
22046
|
-
className: "z-9999 bg-card border border-border rounded-lg shadow-lg overflow-hidden",
|
|
22055
|
+
className: "z-9999 bg-card border border-border/50 rounded-lg shadow-lg overflow-hidden",
|
|
22047
22056
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
22048
22057
|
onMouseDown: (e) => e.stopPropagation(),
|
|
22049
22058
|
role: "menu",
|
|
22050
22059
|
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "p-2", children: [
|
|
22051
|
-
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "px-3 py-2 text-sm font-medium text-muted-foreground border-b border-border mb-2", children: labels?.heading ?? "Language" }),
|
|
22060
|
+
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)("div", { className: "px-3 py-2 text-sm font-medium text-muted-foreground border-b border-border/50 mb-2", children: labels?.heading ?? "Language" }),
|
|
22052
22061
|
locales.map((language) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
22053
22062
|
Button_default,
|
|
22054
22063
|
{
|
|
@@ -22644,7 +22653,7 @@ var CommandList = (0, import_react48.forwardRef)((props, ref) => {
|
|
|
22644
22653
|
if (props.items.length === 0) {
|
|
22645
22654
|
return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "w-72 p-4 text-center text-sm text-muted-foreground", children: props.messages.noResults });
|
|
22646
22655
|
}
|
|
22647
|
-
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { ref: listRef, className: "w-72 max-h-80 overflow-y-auto bg-card border border-border rounded-2xl shadow-lg", children: [
|
|
22656
|
+
return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { ref: listRef, className: "w-72 max-h-80 overflow-y-auto bg-card border border-border/50 rounded-2xl shadow-lg", children: [
|
|
22648
22657
|
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "px-3 py-2 border-b", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: props.messages.basicBlocks }) }),
|
|
22649
22658
|
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "p-1", children: props.items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
22650
22659
|
"button",
|
|
@@ -23747,9 +23756,9 @@ var EmojiList = (0, import_react50.forwardRef)((props, ref) => {
|
|
|
23747
23756
|
}
|
|
23748
23757
|
}));
|
|
23749
23758
|
if (props.items.length === 0) {
|
|
23750
|
-
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "w-80 p-4 text-center text-sm text-muted-foreground bg-card border border-border rounded-2xl shadow-lg", children: "No emoji found" });
|
|
23759
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "w-80 p-4 text-center text-sm text-muted-foreground bg-card border border-border/50 rounded-2xl shadow-lg", children: "No emoji found" });
|
|
23751
23760
|
}
|
|
23752
|
-
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "w-80 max-h-80 overflow-y-auto bg-card border border-border rounded-2xl shadow-lg", children: [
|
|
23761
|
+
return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "w-80 max-h-80 overflow-y-auto bg-card border border-border/50 rounded-2xl shadow-lg", children: [
|
|
23753
23762
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("div", { className: "px-3 py-2 border-b bg-muted/30", children: /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
23754
23763
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react40.Smile, { className: "w-4 h-4 text-primary" }),
|
|
23755
23764
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: "Emoji" })
|
|
@@ -24526,7 +24535,7 @@ var EmojiPicker = ({ onSelect, onClose }) => {
|
|
|
24526
24535
|
(0, import_react55.useEffect)(() => {
|
|
24527
24536
|
isUserScrolling.current = true;
|
|
24528
24537
|
}, []);
|
|
24529
|
-
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "w-96 bg-card border border-border rounded-2xl shadow-xl overflow-hidden flex flex-col max-h-128", children: [
|
|
24538
|
+
return /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "w-96 bg-card border border-border/50 rounded-2xl shadow-xl overflow-hidden flex flex-col max-h-128", children: [
|
|
24530
24539
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)("div", { className: "p-3 border-b bg-muted/30 shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime84.jsxs)("div", { className: "relative", children: [
|
|
24531
24540
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(import_lucide_react43.Search, { className: "absolute left-3 top-1/2 -translate-y-1/2 w-4 h-4 text-muted-foreground" }),
|
|
24532
24541
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
@@ -24538,7 +24547,7 @@ var EmojiPicker = ({ onSelect, onClose }) => {
|
|
|
24538
24547
|
onChange: (e) => setSearch(e.target.value),
|
|
24539
24548
|
className: cn(
|
|
24540
24549
|
"w-full pl-9 pr-9 py-2 rounded-lg",
|
|
24541
|
-
"bg-background border border-border",
|
|
24550
|
+
"bg-background border border-border/50",
|
|
24542
24551
|
"text-sm placeholder:text-muted-foreground",
|
|
24543
24552
|
"focus:outline-none focus:ring-2 focus:ring-primary/20"
|
|
24544
24553
|
)
|
|
@@ -25484,7 +25493,7 @@ var CustomBubbleMenu = ({ editor }) => {
|
|
|
25484
25493
|
"div",
|
|
25485
25494
|
{
|
|
25486
25495
|
ref: menuRef,
|
|
25487
|
-
className: "fixed z-50 flex rounded-2xl border border-border bg-card text-card-foreground shadow-lg backdrop-blur-sm overflow-hidden animate-in fade-in-0 zoom-in-95",
|
|
25496
|
+
className: "fixed z-50 flex rounded-2xl border border-border/50 bg-card text-card-foreground shadow-lg backdrop-blur-sm overflow-hidden animate-in fade-in-0 zoom-in-95",
|
|
25488
25497
|
style: {
|
|
25489
25498
|
top: `${position.top}px`,
|
|
25490
25499
|
left: `${position.left}px`,
|
|
@@ -25536,7 +25545,7 @@ var CustomFloatingMenu = ({ editor }) => {
|
|
|
25536
25545
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
25537
25546
|
"div",
|
|
25538
25547
|
{
|
|
25539
|
-
className: "fixed z-50 rounded-2xl border border-border bg-card text-card-foreground shadow-lg backdrop-blur-sm overflow-hidden animate-in fade-in-0 slide-in-from-bottom-2",
|
|
25548
|
+
className: "fixed z-50 rounded-2xl border border-border/50 bg-card text-card-foreground shadow-lg backdrop-blur-sm overflow-hidden animate-in fade-in-0 slide-in-from-bottom-2",
|
|
25540
25549
|
style: {
|
|
25541
25550
|
top: `${position.top}px`,
|
|
25542
25551
|
left: `${position.left}px`,
|
|
@@ -26010,7 +26019,7 @@ var UEditor = import_react58.default.forwardRef(({
|
|
|
26010
26019
|
"div",
|
|
26011
26020
|
{
|
|
26012
26021
|
className: cn(
|
|
26013
|
-
"group relative flex flex-col rounded-2xl md:rounded-3xl border border-border bg-card text-card-foreground overflow-hidden",
|
|
26022
|
+
"group relative flex flex-col rounded-2xl md:rounded-3xl border border-border/50 bg-card text-card-foreground overflow-hidden",
|
|
26014
26023
|
"transition-[transform,box-shadow,border-color,background-color] duration-300 ease-soft",
|
|
26015
26024
|
"shadow-sm focus-within:shadow-md focus-within:border-primary/15",
|
|
26016
26025
|
"backdrop-blur-sm",
|