@customafk/lunas-ui 0.0.2-d → 0.0.2-f
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.
|
@@ -5,7 +5,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
5
5
|
|
|
6
6
|
declare const buttonVariants: (props?: ({
|
|
7
7
|
variant?: "default" | "secondary" | "outline" | "destructive" | "destructive-secondary" | "destructive-outline" | "sort-outline" | "normal" | null | undefined;
|
|
8
|
-
size?: "
|
|
8
|
+
size?: "base" | "small" | "default" | "large" | null | undefined;
|
|
9
9
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
10
10
|
|
|
11
11
|
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
|
|
@@ -52,7 +52,7 @@ declare const CommandGroup: React.ForwardRefExoticComponent<Omit<{
|
|
|
52
52
|
ref?: React.Ref<HTMLDivElement>;
|
|
53
53
|
} & {
|
|
54
54
|
asChild?: boolean;
|
|
55
|
-
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "
|
|
55
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "value" | "heading"> & {
|
|
56
56
|
heading?: React.ReactNode;
|
|
57
57
|
value?: string;
|
|
58
58
|
forceMount?: boolean;
|
|
@@ -254,13 +254,13 @@ var ScrollBar = forwardRef(({ className, orientation = "vertical", ...props }, r
|
|
|
254
254
|
ref,
|
|
255
255
|
orientation,
|
|
256
256
|
className: cn(
|
|
257
|
-
"flex touch-none select-none transition-
|
|
257
|
+
"flex touch-none select-none bg-ui-border-100 transition-all duration-300",
|
|
258
258
|
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-px",
|
|
259
259
|
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px",
|
|
260
260
|
className
|
|
261
261
|
),
|
|
262
262
|
...props,
|
|
263
|
-
children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "
|
|
263
|
+
children: /* @__PURE__ */ jsx(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-ui-border-400" })
|
|
264
264
|
}
|
|
265
265
|
));
|
|
266
266
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
@@ -1069,13 +1069,13 @@ var ScrollBar = forwardRef4(({ className, orientation = "vertical", ...props },
|
|
|
1069
1069
|
ref,
|
|
1070
1070
|
orientation,
|
|
1071
1071
|
className: cn(
|
|
1072
|
-
"flex touch-none select-none transition-
|
|
1072
|
+
"flex touch-none select-none bg-ui-border-100 transition-all duration-300",
|
|
1073
1073
|
orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent p-px",
|
|
1074
1074
|
orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-px",
|
|
1075
1075
|
className
|
|
1076
1076
|
),
|
|
1077
1077
|
...props,
|
|
1078
|
-
children: /* @__PURE__ */ jsx9(ScrollAreaPrimitive.ScrollAreaThumb, { className: "
|
|
1078
|
+
children: /* @__PURE__ */ jsx9(ScrollAreaPrimitive.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-ui-border-400" })
|
|
1079
1079
|
}
|
|
1080
1080
|
));
|
|
1081
1081
|
ScrollBar.displayName = ScrollAreaPrimitive.ScrollAreaScrollbar.displayName;
|
|
@@ -2172,6 +2172,7 @@ var Header = memo9((props) => {
|
|
|
2172
2172
|
hasNewCart,
|
|
2173
2173
|
cartContent,
|
|
2174
2174
|
className,
|
|
2175
|
+
activeUserNav,
|
|
2175
2176
|
onSignIn,
|
|
2176
2177
|
onSignUp,
|
|
2177
2178
|
onSettingSelected,
|
|
@@ -2210,6 +2211,7 @@ var Header = memo9((props) => {
|
|
|
2210
2211
|
user ? /* @__PURE__ */ jsx29(
|
|
2211
2212
|
UserSheet_default,
|
|
2212
2213
|
{
|
|
2214
|
+
initialActiveItem: activeUserNav,
|
|
2213
2215
|
fullname: user.fullname,
|
|
2214
2216
|
email: user.email,
|
|
2215
2217
|
avatar: user.avatar,
|