@photoroom/ui 0.1.648 → 0.1.649
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/index.mjs
CHANGED
|
@@ -36685,7 +36685,7 @@ var WJ = ({ "aria-label": e = "Close", ...t }) => /* @__PURE__ */ I(AJ, {
|
|
|
36685
36685
|
className: U("misc-dialog-overlay mobile:p-4 fixed inset-0 z-50 h-screen w-screen overflow-y-auto p-6 supports-[height:100dvh]:h-dvh", "radix-state-closed:animate-dialog-overlay-leave radix-state-open:animate-dialog-overlay-enter", e),
|
|
36686
36686
|
...n,
|
|
36687
36687
|
children: /* @__PURE__ */ I("div", {
|
|
36688
|
-
className: "grid h-full min-h-full place-items-center",
|
|
36688
|
+
className: "grid h-full min-h-full grid-rows-[minmax(0,1fr)] place-items-center",
|
|
36689
36689
|
children: t
|
|
36690
36690
|
})
|
|
36691
36691
|
}), qJ = /* @__PURE__ */ Zee({
|
|
@@ -36724,7 +36724,7 @@ var WJ = ({ "aria-label": e = "Close", ...t }) => /* @__PURE__ */ I(AJ, {
|
|
|
36724
36724
|
asChild: !0,
|
|
36725
36725
|
children: r
|
|
36726
36726
|
}), /* @__PURE__ */ I(hJ, { children: /* @__PURE__ */ I(KJ, { children: /* @__PURE__ */ L(GJ, {
|
|
36727
|
-
className: U("flex h-fit w-full max-w-120 flex-col gap-6 p-6", d),
|
|
36727
|
+
className: U("flex h-fit max-h-full w-full max-w-120 flex-col gap-6 p-6", d),
|
|
36728
36728
|
"data-testid": f,
|
|
36729
36729
|
onEscapeKeyDown: l,
|
|
36730
36730
|
onPointerDownOutside: u,
|
|
@@ -36739,7 +36739,10 @@ var WJ = ({ "aria-label": e = "Close", ...t }) => /* @__PURE__ */ I(AJ, {
|
|
|
36739
36739
|
children: a
|
|
36740
36740
|
})]
|
|
36741
36741
|
}),
|
|
36742
|
-
p,
|
|
36742
|
+
p && /* @__PURE__ */ I("div", {
|
|
36743
|
+
className: "-m-1 flex min-h-0 flex-col gap-6 overflow-y-auto p-1",
|
|
36744
|
+
children: p
|
|
36745
|
+
}),
|
|
36743
36746
|
o,
|
|
36744
36747
|
!s && /* @__PURE__ */ I("div", {
|
|
36745
36748
|
className: "absolute inset-e-3 top-3",
|
|
@@ -36804,9 +36807,9 @@ var XJ = ({ className: e, children: t }) => /* @__PURE__ */ I("div", {
|
|
|
36804
36807
|
});
|
|
36805
36808
|
}, tY = W("flex flex-col overflow-hidden", {
|
|
36806
36809
|
variants: { size: {
|
|
36807
|
-
small: "h-fit max-h-
|
|
36808
|
-
medium: "h-fit max-h-
|
|
36809
|
-
large: "h-fit max-h-
|
|
36810
|
+
small: "h-fit max-h-[min(720px,100%)] max-w-120",
|
|
36811
|
+
medium: "h-fit max-h-[min(640px,100%)] max-w-180",
|
|
36812
|
+
large: "h-fit max-h-[min(976px,100%)] max-w-256"
|
|
36810
36813
|
} },
|
|
36811
36814
|
defaultVariants: { size: "small" }
|
|
36812
36815
|
}), nY = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, header: i, accessory: a, footer: o, size: s, hideCloseButton: c = !1, closeButtonLabel: l, onEscapeKeyDown: u, onPointerDownOutside: d, className: f, contentClassName: p, testId: m, children: h }) => /* @__PURE__ */ L(lJ, {
|
|
@@ -37379,7 +37382,7 @@ var bY = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, visual: i, tit
|
|
|
37379
37382
|
children: r
|
|
37380
37383
|
}), /* @__PURE__ */ I(hJ, { children: /* @__PURE__ */ I(KJ, { children: /* @__PURE__ */ L(GJ, {
|
|
37381
37384
|
ref: g,
|
|
37382
|
-
className: U("flex h-fit w-full max-w-160 flex-col", m),
|
|
37385
|
+
className: U("flex h-fit max-h-full w-full max-w-160 flex-col", m),
|
|
37383
37386
|
"data-testid": h,
|
|
37384
37387
|
onEscapeKeyDown: f,
|
|
37385
37388
|
onPointerDownOutside: p,
|
|
@@ -37392,7 +37395,7 @@ var bY = ({ open: e, defaultOpen: t, onOpenChange: n, trigger: r, visual: i, tit
|
|
|
37392
37395
|
children: i
|
|
37393
37396
|
}),
|
|
37394
37397
|
/* @__PURE__ */ L("div", {
|
|
37395
|
-
className: "flex flex-col items-center gap-6 p-6",
|
|
37398
|
+
className: "flex min-h-0 flex-col items-center gap-6 overflow-y-auto p-6",
|
|
37396
37399
|
children: [/* @__PURE__ */ L("div", {
|
|
37397
37400
|
className: "flex w-full flex-col items-center gap-3 text-center",
|
|
37398
37401
|
children: [/* @__PURE__ */ I(EJ, {
|