@iclips/ui 1.0.29 → 1.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1008,7 +1008,7 @@ function $A({
|
|
|
1008
1008
|
"div",
|
|
1009
1009
|
{
|
|
1010
1010
|
className: M(
|
|
1011
|
-
"relative flex h-screen flex-col
|
|
1011
|
+
"relative flex h-screen flex-col transition-all duration-200",
|
|
1012
1012
|
m ? "w-56" : "w-16",
|
|
1013
1013
|
s
|
|
1014
1014
|
),
|
|
@@ -1123,11 +1123,14 @@ function ZA({
|
|
|
1123
1123
|
{
|
|
1124
1124
|
onClick: y.onClick,
|
|
1125
1125
|
className: M(
|
|
1126
|
-
"flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm transition-
|
|
1127
|
-
N ? "bg-
|
|
1126
|
+
"flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm transition-all relative",
|
|
1127
|
+
N ? "bg-accent text-foreground font-semibold border-l-2 border-l-primary" : y.highlighted ? "bg-primary/10 text-primary font-medium" : "text-muted-foreground hover:bg-accent/50 hover:text-foreground"
|
|
1128
1128
|
),
|
|
1129
1129
|
children: [
|
|
1130
|
-
/* @__PURE__ */ l(C, { className:
|
|
1130
|
+
/* @__PURE__ */ l(C, { className: M(
|
|
1131
|
+
"h-4 w-4 shrink-0 transition-colors",
|
|
1132
|
+
N && "text-primary"
|
|
1133
|
+
) }),
|
|
1131
1134
|
/* @__PURE__ */ l("span", { className: M("flex-1 text-left"), children: y.label }),
|
|
1132
1135
|
y.badge && /* @__PURE__ */ l(
|
|
1133
1136
|
ge,
|
|
@@ -1135,7 +1138,7 @@ function ZA({
|
|
|
1135
1138
|
variant: "secondary",
|
|
1136
1139
|
className: M(
|
|
1137
1140
|
"min-w-5 px-1.5 text-xs",
|
|
1138
|
-
N && "bg-primary
|
|
1141
|
+
N && "bg-primary/10 text-primary font-medium"
|
|
1139
1142
|
),
|
|
1140
1143
|
children: y.badge
|
|
1141
1144
|
}
|