@still-forest/canopy 0.65.1 → 0.65.2
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.d.ts +2 -1
- package/dist/index.js +7 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -993,10 +993,11 @@ export declare const Sheet: {
|
|
|
993
993
|
({ ...props }: Dialog_2.Root.Props): JSX.Element;
|
|
994
994
|
Trigger: ({ ...props }: Dialog_2.Trigger.Props) => JSX.Element;
|
|
995
995
|
Close: ({ ...props }: Dialog_2.Close.Props) => JSX.Element;
|
|
996
|
-
Content: ({ className, children, side, showCloseButton, showOverlay, ...props }: Dialog_2.Popup.Props & {
|
|
996
|
+
Content: ({ className, children, side, showCloseButton, showOverlay, overlayClassName, ...props }: Dialog_2.Popup.Props & {
|
|
997
997
|
side?: "top" | "right" | "bottom" | "left";
|
|
998
998
|
showCloseButton?: boolean;
|
|
999
999
|
showOverlay?: boolean;
|
|
1000
|
+
overlayClassName?: string;
|
|
1000
1001
|
}) => JSX.Element;
|
|
1001
1002
|
Overlay: ({ className, ...props }: Dialog_2.Backdrop.Props) => JSX.Element;
|
|
1002
1003
|
Header: ({ className, ...props }: ComponentProps<"div">) => JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -11216,19 +11216,20 @@ const Lt = ({ ...e }) => /* @__PURE__ */ g(Ml, { "data-slot": "sheet", ...e }),
|
|
|
11216
11216
|
children: t,
|
|
11217
11217
|
side: n,
|
|
11218
11218
|
showCloseButton: r = !0,
|
|
11219
|
-
showOverlay: o = !
|
|
11220
|
-
|
|
11219
|
+
showOverlay: o = !0,
|
|
11220
|
+
overlayClassName: s,
|
|
11221
|
+
...i
|
|
11221
11222
|
}) => {
|
|
11222
|
-
const
|
|
11223
|
+
const l = Pl() ? "bottom" : "right";
|
|
11223
11224
|
return /* @__PURE__ */ oe(O0, { children: [
|
|
11224
|
-
o && /* @__PURE__ */ g(rp, {}),
|
|
11225
|
+
o && /* @__PURE__ */ g(rp, { className: s }),
|
|
11225
11226
|
/* @__PURE__ */ oe(
|
|
11226
11227
|
Ei,
|
|
11227
11228
|
{
|
|
11228
11229
|
className: D("sheet-content", e),
|
|
11229
|
-
"data-side": n ??
|
|
11230
|
+
"data-side": n ?? l,
|
|
11230
11231
|
"data-slot": "sheet-content",
|
|
11231
|
-
...
|
|
11232
|
+
...i,
|
|
11232
11233
|
children: [
|
|
11233
11234
|
t,
|
|
11234
11235
|
r && /* @__PURE__ */ oe(np, { render: /* @__PURE__ */ g(gt, { className: "absolute top-4 right-4", size: "sm", variant: "ghost" }), children: [
|