ingeniuscliq-core 0.1.32 → 0.1.33

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.
@@ -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
@@ -20550,7 +20550,8 @@ function Yv({
20550
20550
  className: e,
20551
20551
  children: t,
20552
20552
  side: n = "right",
20553
- ...r
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
- ...r,
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
  ] })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",