ingeniuscliq-core 0.1.32 → 0.1.34
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.
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BaseStyleProps } from '../../../types/ui/main';
|
|
2
2
|
interface LogoProps extends BaseStyleProps {
|
|
3
3
|
to?: string;
|
|
4
|
+
icon?: string;
|
|
4
5
|
}
|
|
5
|
-
export declare function Logo({ className, to }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
export declare function Logo({ className, to, icon }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
6
7
|
export {};
|
|
@@ -3,8 +3,9 @@ import * as SheetPrimitive from "@radix-ui/react-dialog";
|
|
|
3
3
|
declare function Sheet({ ...props }: React.ComponentProps<typeof SheetPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare function SheetTrigger({ ...props }: React.ComponentProps<typeof SheetPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
5
5
|
declare function SheetClose({ ...props }: React.ComponentProps<typeof SheetPrimitive.Close>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function SheetContent({ className, children, side, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
6
|
+
declare function SheetContent({ className, children, side, withoutCloseIcon, ...props }: React.ComponentProps<typeof SheetPrimitive.Content> & {
|
|
7
7
|
side?: "top" | "right" | "bottom" | "left";
|
|
8
|
+
withoutCloseIcon?: boolean;
|
|
8
9
|
}): import("react/jsx-runtime").JSX.Element;
|
|
9
10
|
declare function SheetHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
|
10
11
|
declare function SheetFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -8447,8 +8447,8 @@ function Pc({ children: e, className: t = "", noValidate: n = !1, onSubmit: r =
|
|
|
8447
8447
|
} }) {
|
|
8448
8448
|
return /* @__PURE__ */ d("form", { className: t, noValidate: n, onSubmit: r, children: e });
|
|
8449
8449
|
}
|
|
8450
|
-
function iz({ className: e = "", to: t = "/store" }) {
|
|
8451
|
-
return /* @__PURE__ */ d(Ud, { className: "flex items-center gap-2", to: t, children: /* @__PURE__ */ d("img", { src:
|
|
8450
|
+
function iz({ className: e = "", to: t = "/store", icon: n = "/core/assets/logo.svg" }) {
|
|
8451
|
+
return /* @__PURE__ */ d(Ud, { className: "flex items-center gap-2", to: t, children: /* @__PURE__ */ d("img", { src: n, alt: "Logo", className: `w-48 h-20 ${e}` }) });
|
|
8452
8452
|
}
|
|
8453
8453
|
function IS({ className: e, ...t }) {
|
|
8454
8454
|
return /* @__PURE__ */ d(
|
|
@@ -20550,7 +20550,8 @@ function Yv({
|
|
|
20550
20550
|
className: e,
|
|
20551
20551
|
children: t,
|
|
20552
20552
|
side: n = "right",
|
|
20553
|
-
|
|
20553
|
+
withoutCloseIcon: r = !1,
|
|
20554
|
+
...o
|
|
20554
20555
|
}) {
|
|
20555
20556
|
return /* @__PURE__ */ L(YO, { children: [
|
|
20556
20557
|
/* @__PURE__ */ d(ZO, {}),
|
|
@@ -20566,10 +20567,10 @@ function Yv({
|
|
|
20566
20567
|
n === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
|
|
20567
20568
|
e
|
|
20568
20569
|
),
|
|
20569
|
-
...
|
|
20570
|
+
...o,
|
|
20570
20571
|
children: [
|
|
20571
20572
|
t,
|
|
20572
|
-
/* @__PURE__ */ L(lr, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
20573
|
+
!r && /* @__PURE__ */ L(lr, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
|
|
20573
20574
|
/* @__PURE__ */ d(Ef, { className: "size-4" }),
|
|
20574
20575
|
/* @__PURE__ */ d("span", { className: "sr-only", children: "Close" })
|
|
20575
20576
|
] })
|