@underverse-ui/underverse 1.0.57 → 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 +66 -66
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +66 -66
- 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"
|
|
@@ -683,7 +683,7 @@ var Card = import_react2.default.forwardRef(
|
|
|
683
683
|
"div",
|
|
684
684
|
{
|
|
685
685
|
className: cn(
|
|
686
|
-
"relative flex items-center p-4 md:p-6 pt-0 border-t border-border mt-4 max-md:mt-3 max-md:p-3 max-md:pt-0",
|
|
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
687
|
footerClassName
|
|
688
688
|
),
|
|
689
689
|
children: footer
|
|
@@ -1823,12 +1823,12 @@ var Input = (0, import_react3.forwardRef)(
|
|
|
1823
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"
|
|
1824
1824
|
},
|
|
1825
1825
|
outlined: {
|
|
1826
|
-
container: "bg-transparent border border-border hover:border-accent-foreground/30",
|
|
1826
|
+
container: "bg-transparent border border-border/50 hover:border-accent-foreground/30",
|
|
1827
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",
|
|
1828
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"
|
|
1829
1829
|
},
|
|
1830
1830
|
minimal: {
|
|
1831
|
-
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",
|
|
1832
1832
|
focus: "focus-visible:outline-none focus-visible:border-ring focus-visible:ring-0 rounded-none",
|
|
1833
1833
|
error: "border-destructive focus-visible:outline-none focus-visible:border-destructive"
|
|
1834
1834
|
}
|
|
@@ -2181,7 +2181,7 @@ var NumberInput = (0, import_react3.forwardRef)(
|
|
|
2181
2181
|
lg: { width: "w-11", icon: { width: 12, height: 7, path: { up: "M6 1L11 6H1L6 1Z", down: "M6 6L1 1H11L6 6Z" } } }
|
|
2182
2182
|
};
|
|
2183
2183
|
const ss = stepperSizeStyles[inputSize];
|
|
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 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: [
|
|
2185
2185
|
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
2186
2186
|
"button",
|
|
2187
2187
|
{
|
|
@@ -2280,8 +2280,8 @@ var Textarea = (0, import_react3.forwardRef)(
|
|
|
2280
2280
|
const variantStyles6 = {
|
|
2281
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",
|
|
2282
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",
|
|
2283
|
-
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",
|
|
2284
|
-
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"
|
|
2285
2285
|
};
|
|
2286
2286
|
const resizeClasses = {
|
|
2287
2287
|
none: "resize-none",
|
|
@@ -2739,7 +2739,7 @@ var Switch = ({
|
|
|
2739
2739
|
className: cn(
|
|
2740
2740
|
"absolute top-0.5 left-0.5 rounded-full transition-transform duration-200 ease-out shadow-sm",
|
|
2741
2741
|
sizeClasses2[size].handle,
|
|
2742
|
-
"bg-background border border-border",
|
|
2742
|
+
"bg-background border border-border/50",
|
|
2743
2743
|
checked ? sizeClasses2[size].translate : "translate-x-0",
|
|
2744
2744
|
!disabled && "hover:scale-[1.02]",
|
|
2745
2745
|
isPressed && "scale-95",
|
|
@@ -3832,7 +3832,7 @@ var React14 = __toESM(require("react"), 1);
|
|
|
3832
3832
|
var import_react_dom2 = require("react-dom");
|
|
3833
3833
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
3834
3834
|
var variantStyles3 = {
|
|
3835
|
-
default: "bg-popover text-popover-foreground border-border",
|
|
3835
|
+
default: "bg-popover text-popover-foreground border-border/50",
|
|
3836
3836
|
info: "bg-info text-info-foreground border-info/20",
|
|
3837
3837
|
warning: "bg-warning text-warning-foreground border-warning/20",
|
|
3838
3838
|
error: "bg-destructive text-destructive-foreground border-destructive/20",
|
|
@@ -4751,7 +4751,7 @@ var Sheet = ({
|
|
|
4751
4751
|
{
|
|
4752
4752
|
className: cn(
|
|
4753
4753
|
"fixed flex flex-col bg-background text-foreground shadow-2xl",
|
|
4754
|
-
"border-border transition-all duration-300 ease-out",
|
|
4754
|
+
"border-border/50 transition-all duration-300 ease-out",
|
|
4755
4755
|
positionStyles2[side],
|
|
4756
4756
|
sizeStyles4[size][side],
|
|
4757
4757
|
// Borders based on side
|
|
@@ -4768,7 +4768,7 @@ var Sheet = ({
|
|
|
4768
4768
|
transition: "transform 300ms cubic-bezier(0.4, 0, 0.2, 1)"
|
|
4769
4769
|
},
|
|
4770
4770
|
children: [
|
|
4771
|
-
(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: [
|
|
4772
4772
|
/* @__PURE__ */ (0, import_jsx_runtime19.jsxs)("div", { className: "flex-1", children: [
|
|
4773
4773
|
title && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("h2", { className: "text-lg font-semibold text-foreground", children: title }),
|
|
4774
4774
|
description && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("p", { className: "text-sm text-muted-foreground mt-1", children: description })
|
|
@@ -4787,7 +4787,7 @@ var Sheet = ({
|
|
|
4787
4787
|
children
|
|
4788
4788
|
}
|
|
4789
4789
|
),
|
|
4790
|
-
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 })
|
|
4791
4791
|
]
|
|
4792
4792
|
}
|
|
4793
4793
|
)
|
|
@@ -4805,7 +4805,7 @@ var BottomSheet = ({ snapPoints = ["25%", "50%", "90%"], defaultSnap = 1, ...pro
|
|
|
4805
4805
|
};
|
|
4806
4806
|
var SidebarSheet = ({ navigation, children, ...props }) => {
|
|
4807
4807
|
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(Sheet, { ...props, side: "left", variant: "push", size: "md", children: [
|
|
4808
|
-
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 }),
|
|
4809
4809
|
children
|
|
4810
4810
|
] });
|
|
4811
4811
|
};
|
|
@@ -4817,7 +4817,7 @@ var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
|
4817
4817
|
var variantConfig = {
|
|
4818
4818
|
default: {
|
|
4819
4819
|
icon: import_lucide_react9.Info,
|
|
4820
|
-
containerClassName: "bg-muted/50 border-border",
|
|
4820
|
+
containerClassName: "bg-muted/50 border-border/50",
|
|
4821
4821
|
iconClassName: "text-muted-foreground",
|
|
4822
4822
|
iconBgClassName: "bg-muted",
|
|
4823
4823
|
accentBarClassName: "bg-muted-foreground"
|
|
@@ -10538,7 +10538,7 @@ var DateTimePicker = ({
|
|
|
10538
10538
|
)
|
|
10539
10539
|
] })
|
|
10540
10540
|
] }),
|
|
10541
|
-
/* @__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: [
|
|
10542
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" }),
|
|
10543
10543
|
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(Button_default, { size: sizeStyles8[size].buttonSize, onClick: handleApply, children: doneLabel || t?.("done") || "Done" })
|
|
10544
10544
|
] })
|
|
@@ -11313,7 +11313,7 @@ function CalendarTimelineHeader(props) {
|
|
|
11313
11313
|
)
|
|
11314
11314
|
] })
|
|
11315
11315
|
] }),
|
|
11316
|
-
/* @__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: [
|
|
11317
11317
|
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
11318
11318
|
Button_default,
|
|
11319
11319
|
{
|
|
@@ -13081,7 +13081,7 @@ function CalendarTimeline({
|
|
|
13081
13081
|
{
|
|
13082
13082
|
className: cn(
|
|
13083
13083
|
"rounded-2xl md:rounded-3xl overflow-hidden bg-card text-card-foreground backdrop-blur-sm",
|
|
13084
|
-
"border border-border shadow-sm md:hover:shadow-md",
|
|
13084
|
+
"border border-border/50 shadow-sm md:hover:shadow-md",
|
|
13085
13085
|
"transition-[transform,box-shadow,border-color,background-color] duration-300 ease-soft",
|
|
13086
13086
|
densityClass,
|
|
13087
13087
|
className
|
|
@@ -14111,7 +14111,7 @@ var RadioGroupItem = React38.forwardRef(
|
|
|
14111
14111
|
"inline-flex items-center justify-center gap-2 rounded-lg border font-medium transition-all duration-200",
|
|
14112
14112
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
14113
14113
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
14114
|
-
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",
|
|
14115
14115
|
sizeStyles7[size].padding,
|
|
14116
14116
|
sizeStyles7[size].text,
|
|
14117
14117
|
className
|
|
@@ -14392,7 +14392,7 @@ var Slider = React39.forwardRef(
|
|
|
14392
14392
|
{
|
|
14393
14393
|
className: cn(
|
|
14394
14394
|
"absolute pointer-events-none transition-all duration-200 ease-out",
|
|
14395
|
-
"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",
|
|
14396
14396
|
"whitespace-nowrap font-medium -translate-x-1/2 z-50",
|
|
14397
14397
|
sizeStyles8.tooltip,
|
|
14398
14398
|
shouldShow ? "opacity-100 -translate-y-10 scale-100" : "opacity-0 -translate-y-8 scale-95",
|
|
@@ -14880,10 +14880,10 @@ function OverlayControls({
|
|
|
14880
14880
|
noFocus: true
|
|
14881
14881
|
}
|
|
14882
14882
|
),
|
|
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 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: [
|
|
14884
14884
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)("img", { src: previewData.url, alt: "Preview", className: "w-40 h-24 object-cover" }),
|
|
14885
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) })
|
|
14886
|
-
] }) : /* @__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) }) }) })
|
|
14887
14887
|
] }),
|
|
14888
14888
|
showControlsBar && /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "mt-2 flex items-center justify-between gap-2", children: [
|
|
14889
14889
|
/* @__PURE__ */ (0, import_jsx_runtime45.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
@@ -14920,7 +14920,7 @@ function OverlayControls({
|
|
|
14920
14920
|
children: /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(import_lucide_react24.RotateCw, { className: "w-4 h-4" })
|
|
14921
14921
|
}
|
|
14922
14922
|
),
|
|
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 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: [
|
|
14924
14924
|
formatTime3(dragValue),
|
|
14925
14925
|
" / ",
|
|
14926
14926
|
formatTime3(max)
|
|
@@ -14982,7 +14982,7 @@ function OverlayControls({
|
|
|
14982
14982
|
]
|
|
14983
14983
|
}
|
|
14984
14984
|
),
|
|
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 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)(
|
|
14986
14986
|
"button",
|
|
14987
14987
|
{
|
|
14988
14988
|
onClick: () => {
|
|
@@ -15686,7 +15686,7 @@ function ImageUpload({
|
|
|
15686
15686
|
{
|
|
15687
15687
|
className: cn(
|
|
15688
15688
|
"relative border-2 border-dashed rounded-2xl md:rounded-3xl p-8 text-center transition-all duration-200",
|
|
15689
|
-
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",
|
|
15690
15690
|
disabled && "opacity-50 cursor-not-allowed",
|
|
15691
15691
|
uploading && "pointer-events-none"
|
|
15692
15692
|
),
|
|
@@ -15723,7 +15723,7 @@ function ImageUpload({
|
|
|
15723
15723
|
),
|
|
15724
15724
|
showPreview && uploadedImages.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)("div", { className: "space-y-3", children: [
|
|
15725
15725
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)("h4", { className: "text-sm font-medium", children: "Uploaded Images" }),
|
|
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 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: [
|
|
15727
15727
|
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
15728
15728
|
Button_default,
|
|
15729
15729
|
{
|
|
@@ -16055,7 +16055,7 @@ function FileUpload({
|
|
|
16055
16055
|
"div",
|
|
16056
16056
|
{
|
|
16057
16057
|
className: cn(
|
|
16058
|
-
"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",
|
|
16059
16059
|
"transition-all duration-200 hover:bg-card hover:shadow-md hover:border-primary/20",
|
|
16060
16060
|
file.status === "error" && "border-destructive/50 bg-destructive/5",
|
|
16061
16061
|
file.status === "uploading" && "border-primary/30",
|
|
@@ -16138,13 +16138,13 @@ function FileUpload({
|
|
|
16138
16138
|
"border-2 border-dashed rounded-2xl",
|
|
16139
16139
|
currentSize.padding,
|
|
16140
16140
|
"text-center transition-all duration-300",
|
|
16141
|
-
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",
|
|
16142
16142
|
disabled && "opacity-50 cursor-not-allowed"
|
|
16143
16143
|
),
|
|
16144
16144
|
compact: cn(
|
|
16145
16145
|
"border border-dashed rounded-xl p-4",
|
|
16146
16146
|
"flex items-center gap-4 transition-all duration-200",
|
|
16147
|
-
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",
|
|
16148
16148
|
disabled && "opacity-50 cursor-not-allowed"
|
|
16149
16149
|
),
|
|
16150
16150
|
minimal: cn(
|
|
@@ -16891,12 +16891,12 @@ var ListRoot = React44.forwardRef(
|
|
|
16891
16891
|
const hasChildren = childCount > 0;
|
|
16892
16892
|
const variantClasses3 = {
|
|
16893
16893
|
plain: "",
|
|
16894
|
-
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",
|
|
16895
16895
|
soft: "rounded-2xl md:rounded-3xl bg-muted/40 border border-border/60 max-md:rounded-xl",
|
|
16896
|
-
bordered: "border border-border rounded-2xl md:rounded-3xl max-md:rounded-xl",
|
|
16897
|
-
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",
|
|
16898
16898
|
flush: "",
|
|
16899
|
-
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"
|
|
16900
16900
|
};
|
|
16901
16901
|
if (loading2) {
|
|
16902
16902
|
return /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
@@ -17479,8 +17479,8 @@ var TimelineItem = React46.forwardRef(
|
|
|
17479
17479
|
const padding = ctx.dense ? sz.densePadY : sz.padY;
|
|
17480
17480
|
const variantClasses3 = {
|
|
17481
17481
|
default: "",
|
|
17482
|
-
outlined: "rounded-xl border border-border bg-card shadow-sm px-4 py-3",
|
|
17483
|
-
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",
|
|
17484
17484
|
minimal: "border-l-2 pl-4 py-2",
|
|
17485
17485
|
modern: "rounded-xl bg-linear-to-r from-card to-muted/20 border border-border/50 px-5 py-4 backdrop-blur-sm",
|
|
17486
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"
|
|
@@ -17773,7 +17773,7 @@ var Swatch = ({
|
|
|
17773
17773
|
"button",
|
|
17774
17774
|
{
|
|
17775
17775
|
type: "button",
|
|
17776
|
-
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"),
|
|
17777
17777
|
style: { backgroundColor: color },
|
|
17778
17778
|
onClick,
|
|
17779
17779
|
"aria-label": ariaLabel
|
|
@@ -17907,7 +17907,7 @@ function ColorPicker({
|
|
|
17907
17907
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
17908
17908
|
"span",
|
|
17909
17909
|
{
|
|
17910
|
-
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"),
|
|
17911
17911
|
style: { backgroundColor: withAlpha ? `rgba(${rgba.r}, ${rgba.g}, ${rgba.b}, ${rgba.a})` : hexForInput }
|
|
17912
17912
|
}
|
|
17913
17913
|
),
|
|
@@ -17932,7 +17932,7 @@ function ColorPicker({
|
|
|
17932
17932
|
placement: "bottom-start",
|
|
17933
17933
|
matchTriggerWidth: variant === "minimal",
|
|
17934
17934
|
contentWidth: contentWidthByVariant[variant],
|
|
17935
|
-
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),
|
|
17936
17936
|
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "space-y-3", children: [
|
|
17937
17937
|
variant !== "minimal" && /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
17938
17938
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
@@ -17941,7 +17941,7 @@ function ColorPicker({
|
|
|
17941
17941
|
type: "color",
|
|
17942
17942
|
value: hexForInput,
|
|
17943
17943
|
onChange: handleNativeChange,
|
|
17944
|
-
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"
|
|
17945
17945
|
}
|
|
17946
17946
|
),
|
|
17947
17947
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
@@ -17949,7 +17949,7 @@ function ColorPicker({
|
|
|
17949
17949
|
{
|
|
17950
17950
|
type: "button",
|
|
17951
17951
|
onClick: tryEyedropper,
|
|
17952
|
-
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"),
|
|
17953
17953
|
children: [
|
|
17954
17954
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react31.Pipette, { className: "w-3.5 h-3.5" }),
|
|
17955
17955
|
variant === "full" && "Pick"
|
|
@@ -17962,7 +17962,7 @@ function ColorPicker({
|
|
|
17962
17962
|
type: "button",
|
|
17963
17963
|
onClick: copyToClipboard,
|
|
17964
17964
|
className: cn(
|
|
17965
|
-
"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",
|
|
17966
17966
|
copied && "bg-success/10 border-success/30"
|
|
17967
17967
|
),
|
|
17968
17968
|
children: [
|
|
@@ -17976,7 +17976,7 @@ function ColorPicker({
|
|
|
17976
17976
|
{
|
|
17977
17977
|
type: "button",
|
|
17978
17978
|
onClick: clear,
|
|
17979
|
-
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",
|
|
17980
17980
|
children: [
|
|
17981
17981
|
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(import_lucide_react31.X, { className: "w-3.5 h-3.5" }),
|
|
17982
17982
|
variant === "full" && "Clear"
|
|
@@ -18002,7 +18002,7 @@ function ColorPicker({
|
|
|
18002
18002
|
type: "button",
|
|
18003
18003
|
onClick: copyToClipboard,
|
|
18004
18004
|
className: cn(
|
|
18005
|
-
"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",
|
|
18006
18006
|
copied && "bg-success/10 border-success/30"
|
|
18007
18007
|
),
|
|
18008
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" })
|
|
@@ -18351,7 +18351,7 @@ var MusicPlayer = ({
|
|
|
18351
18351
|
}
|
|
18352
18352
|
}
|
|
18353
18353
|
}, [currentSongIndex, currentSong.startTime, isPlaying]);
|
|
18354
|
-
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: [
|
|
18355
18355
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("audio", { ref: audioRef, src: currentSong.audioUrl, onTimeUpdate: handleTimeUpdate, onLoadedMetadata: handleLoadedMetadata, onEnded: playNext }),
|
|
18356
18356
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "p-6", children: [
|
|
18357
18357
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "text-center mb-6", children: [
|
|
@@ -18429,7 +18429,7 @@ var MusicPlayer = ({
|
|
|
18429
18429
|
}
|
|
18430
18430
|
) })
|
|
18431
18431
|
] }),
|
|
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", 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: [
|
|
18433
18433
|
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("h3", { className: "text-lg font-semibold text-foreground mb-3", children: [
|
|
18434
18434
|
"Playlist (",
|
|
18435
18435
|
playlist.length,
|
|
@@ -18512,12 +18512,12 @@ function joinAreas(areas) {
|
|
|
18512
18512
|
}
|
|
18513
18513
|
function getVariantClasses(variant = "default", outlined) {
|
|
18514
18514
|
if (outlined) {
|
|
18515
|
-
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";
|
|
18516
18516
|
}
|
|
18517
18517
|
const variants = {
|
|
18518
18518
|
default: "",
|
|
18519
|
-
bordered: "border border-border rounded-2xl md:rounded-3xl",
|
|
18520
|
-
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",
|
|
18521
18521
|
flat: "bg-muted/30 rounded-2xl md:rounded-3xl",
|
|
18522
18522
|
glass: "bg-background/80 backdrop-blur-sm border border-border/50 rounded-2xl md:rounded-3xl shadow-lg"
|
|
18523
18523
|
};
|
|
@@ -18731,7 +18731,7 @@ function ChartTooltip({
|
|
|
18731
18731
|
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
18732
18732
|
"div",
|
|
18733
18733
|
{
|
|
18734
|
-
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"),
|
|
18735
18735
|
style: {
|
|
18736
18736
|
minWidth: "80px",
|
|
18737
18737
|
width: "max-content",
|
|
@@ -20428,7 +20428,7 @@ var import_jsx_runtime67 = require("react/jsx-runtime");
|
|
|
20428
20428
|
var TABLE_BASE_CLASS = "w-full caption-bottom text-sm";
|
|
20429
20429
|
var TABLE_CONTAINER_BASE_CLASS = [
|
|
20430
20430
|
"relative w-full overflow-auto",
|
|
20431
|
-
"rounded-2xl md:rounded-3xl border border-border",
|
|
20431
|
+
"rounded-2xl md:rounded-3xl border border-border/50",
|
|
20432
20432
|
"bg-card text-card-foreground shadow-sm",
|
|
20433
20433
|
"backdrop-blur-sm transition-all duration-300"
|
|
20434
20434
|
].join(" ");
|
|
@@ -20466,7 +20466,7 @@ var Table = import_react35.default.forwardRef(
|
|
|
20466
20466
|
}
|
|
20467
20467
|
);
|
|
20468
20468
|
Table.displayName = "Table";
|
|
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", "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: [
|
|
20470
20470
|
children,
|
|
20471
20471
|
filterRow
|
|
20472
20472
|
] }));
|
|
@@ -20480,7 +20480,7 @@ var TableRow = import_react35.default.forwardRef(({ className, ...props }, ref)
|
|
|
20480
20480
|
{
|
|
20481
20481
|
ref,
|
|
20482
20482
|
className: cn(
|
|
20483
|
-
"border-b border-border transition-all duration-300",
|
|
20483
|
+
"border-b border-border/50 transition-all duration-300",
|
|
20484
20484
|
"hover:bg-muted/30 hover:shadow-sm",
|
|
20485
20485
|
"data-[state=selected]:bg-muted/50",
|
|
20486
20486
|
className
|
|
@@ -21067,7 +21067,7 @@ function DataTableToolbar({
|
|
|
21067
21067
|
setVisibleCols((prev) => prev.includes(c.key) ? prev.filter((k) => k !== c.key) : [...prev, c.key]);
|
|
21068
21068
|
},
|
|
21069
21069
|
children: [
|
|
21070
|
-
/* @__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) }),
|
|
21071
21071
|
/* @__PURE__ */ (0, import_jsx_runtime71.jsx)("span", { className: "truncate", children: c.title })
|
|
21072
21072
|
]
|
|
21073
21073
|
},
|
|
@@ -21843,13 +21843,13 @@ function NotificationModal({ isOpen, onClose, notification, titleText, openLinkT
|
|
|
21843
21843
|
}
|
|
21844
21844
|
};
|
|
21845
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: [
|
|
21846
|
-
/* @__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: [
|
|
21847
21847
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: cn("w-2 h-2 rounded-full", !notification.is_read ? "bg-primary" : "bg-border") }),
|
|
21848
21848
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)("span", { className: "text-xs text-muted-foreground", children: !notification.is_read ? t("newNotification") : t("readStatus") })
|
|
21849
21849
|
] }),
|
|
21850
21850
|
notification.title && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("h3", { className: "text-lg font-semibold text-foreground", children: notification.title }),
|
|
21851
21851
|
notification.body && /* @__PURE__ */ (0, import_jsx_runtime74.jsx)("div", { className: "text-sm text-muted-foreground whitespace-pre-wrap leading-relaxed", children: notification.body }),
|
|
21852
|
-
/* @__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) }),
|
|
21853
21853
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsxs)("div", { className: "flex gap-2 justify-end pt-2", children: [
|
|
21854
21854
|
hasLink && /* @__PURE__ */ (0, import_jsx_runtime74.jsxs)(Button_default, { variant: "primary", size: "sm", onClick: handleLinkClick, className: "gap-2", children: [
|
|
21855
21855
|
/* @__PURE__ */ (0, import_jsx_runtime74.jsx)(import_lucide_react35.ExternalLink, { className: "w-4 h-4" }),
|
|
@@ -21955,12 +21955,12 @@ function ThemeToggleHeadless({
|
|
|
21955
21955
|
/* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
|
|
21956
21956
|
"div",
|
|
21957
21957
|
{
|
|
21958
|
-
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",
|
|
21959
21959
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
21960
21960
|
onMouseDown: (e) => e.stopPropagation(),
|
|
21961
21961
|
role: "menu",
|
|
21962
21962
|
children: /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)("div", { className: "p-2", children: [
|
|
21963
|
-
/* @__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" }),
|
|
21964
21964
|
themes.map((opt) => {
|
|
21965
21965
|
const Icon = opt.icon;
|
|
21966
21966
|
const active = theme === opt.value;
|
|
@@ -22052,12 +22052,12 @@ function LanguageSwitcherHeadless({
|
|
|
22052
22052
|
/* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
|
|
22053
22053
|
"div",
|
|
22054
22054
|
{
|
|
22055
|
-
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",
|
|
22056
22056
|
style: { position: "absolute", top: dropdownPosition.top, left: dropdownPosition.left, width: dropdownPosition.width },
|
|
22057
22057
|
onMouseDown: (e) => e.stopPropagation(),
|
|
22058
22058
|
role: "menu",
|
|
22059
22059
|
children: /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)("div", { className: "p-2", children: [
|
|
22060
|
-
/* @__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" }),
|
|
22061
22061
|
locales.map((language) => /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
|
|
22062
22062
|
Button_default,
|
|
22063
22063
|
{
|
|
@@ -22653,7 +22653,7 @@ var CommandList = (0, import_react48.forwardRef)((props, ref) => {
|
|
|
22653
22653
|
if (props.items.length === 0) {
|
|
22654
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 });
|
|
22655
22655
|
}
|
|
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 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: [
|
|
22657
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 }) }),
|
|
22658
22658
|
/* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "p-1", children: props.items.map((item, index) => /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
|
|
22659
22659
|
"button",
|
|
@@ -23756,9 +23756,9 @@ var EmojiList = (0, import_react50.forwardRef)((props, ref) => {
|
|
|
23756
23756
|
}
|
|
23757
23757
|
}));
|
|
23758
23758
|
if (props.items.length === 0) {
|
|
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 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" });
|
|
23760
23760
|
}
|
|
23761
|
-
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: [
|
|
23762
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: [
|
|
23763
23763
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)(import_lucide_react40.Smile, { className: "w-4 h-4 text-primary" }),
|
|
23764
23764
|
/* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wider", children: "Emoji" })
|
|
@@ -24535,7 +24535,7 @@ var EmojiPicker = ({ onSelect, onClose }) => {
|
|
|
24535
24535
|
(0, import_react55.useEffect)(() => {
|
|
24536
24536
|
isUserScrolling.current = true;
|
|
24537
24537
|
}, []);
|
|
24538
|
-
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: [
|
|
24539
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: [
|
|
24540
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" }),
|
|
24541
24541
|
/* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
|
|
@@ -24547,7 +24547,7 @@ var EmojiPicker = ({ onSelect, onClose }) => {
|
|
|
24547
24547
|
onChange: (e) => setSearch(e.target.value),
|
|
24548
24548
|
className: cn(
|
|
24549
24549
|
"w-full pl-9 pr-9 py-2 rounded-lg",
|
|
24550
|
-
"bg-background border border-border",
|
|
24550
|
+
"bg-background border border-border/50",
|
|
24551
24551
|
"text-sm placeholder:text-muted-foreground",
|
|
24552
24552
|
"focus:outline-none focus:ring-2 focus:ring-primary/20"
|
|
24553
24553
|
)
|
|
@@ -25493,7 +25493,7 @@ var CustomBubbleMenu = ({ editor }) => {
|
|
|
25493
25493
|
"div",
|
|
25494
25494
|
{
|
|
25495
25495
|
ref: menuRef,
|
|
25496
|
-
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",
|
|
25497
25497
|
style: {
|
|
25498
25498
|
top: `${position.top}px`,
|
|
25499
25499
|
left: `${position.left}px`,
|
|
@@ -25545,7 +25545,7 @@ var CustomFloatingMenu = ({ editor }) => {
|
|
|
25545
25545
|
/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
|
|
25546
25546
|
"div",
|
|
25547
25547
|
{
|
|
25548
|
-
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",
|
|
25549
25549
|
style: {
|
|
25550
25550
|
top: `${position.top}px`,
|
|
25551
25551
|
left: `${position.left}px`,
|
|
@@ -26019,7 +26019,7 @@ var UEditor = import_react58.default.forwardRef(({
|
|
|
26019
26019
|
"div",
|
|
26020
26020
|
{
|
|
26021
26021
|
className: cn(
|
|
26022
|
-
"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",
|
|
26023
26023
|
"transition-[transform,box-shadow,border-color,background-color] duration-300 ease-soft",
|
|
26024
26024
|
"shadow-sm focus-within:shadow-md focus-within:border-primary/15",
|
|
26025
26025
|
"backdrop-blur-sm",
|