@photoroom/ui 0.1.45 → 0.1.47
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 +11 -11
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -31633,7 +31633,7 @@ var mW = /* @__PURE__ */ wt((() => {
|
|
|
31633
31633
|
}, a), e);
|
|
31634
31634
|
});
|
|
31635
31635
|
})))(), gW = ({ beforeLabel: e, beforeImage: t, afterLabel: n, afterImage: r, className: i }) => /* @__PURE__ */ E(hW.ImgComparisonSlider, {
|
|
31636
|
-
className: H(i, "relative h-full w-full overflow-hidden rounded-
|
|
31636
|
+
className: H(i, "relative h-full w-full overflow-hidden rounded-500 outline-none", "after:absolute after:left-0 after:top-0 after:h-full after:w-full after:rounded-500 after:border after:border-misc-border after:content-['']"),
|
|
31637
31637
|
style: {
|
|
31638
31638
|
"--divider-color": "var(--color-content-accent)",
|
|
31639
31639
|
"--divider-width": "2px"
|
|
@@ -31671,7 +31671,7 @@ var mW = /* @__PURE__ */ wt((() => {
|
|
|
31671
31671
|
}), vW = ({ visualLarge: e, visualSmall: t, cssBackgroundColor: n, badgeLabel: r, logo: i, authorName: a, authorJobTitle: s, content: c, cta: l, ...u }) => {
|
|
31672
31672
|
let d = b(() => l ? o(l, { variant: "primary" }) : null, [l]);
|
|
31673
31673
|
return /* @__PURE__ */ T("div", {
|
|
31674
|
-
className: H("flex flex-col", "w-full min-w-0", "overflow-hidden rounded-
|
|
31674
|
+
className: H("flex flex-col", "w-full min-w-0", "overflow-hidden rounded-500 @container", "bg-[var(--customer-story-card-background-color)]"),
|
|
31675
31675
|
style: { "--customer-story-card-background-color": n },
|
|
31676
31676
|
...u,
|
|
31677
31677
|
children: /* @__PURE__ */ T("div", {
|
|
@@ -32123,7 +32123,7 @@ var zW = ({ checkerboard: e, cover: t, imageUrl: n, loading: r, bottomRightIcon:
|
|
|
32123
32123
|
}), /* @__PURE__ */ T(O, { className: "m-1 h-6 w-6 shrink-0 text-content-tertiary" })]
|
|
32124
32124
|
});
|
|
32125
32125
|
}, HW = ({ title: e, icon: t, iconBadge: n, cta: r, children: i, className: a, isHidden: o, ...s }) => /* @__PURE__ */ E("div", {
|
|
32126
|
-
className: H("flex flex-col rounded-
|
|
32126
|
+
className: H("flex flex-col rounded-500 bg-background-subdued p-6", o && "hidden", a),
|
|
32127
32127
|
...s,
|
|
32128
32128
|
children: [
|
|
32129
32129
|
t && /* @__PURE__ */ E("div", {
|
|
@@ -32642,7 +32642,7 @@ var IG = ({ variant: e = "default", className: t, children: n }) => /* @__PURE__
|
|
|
32642
32642
|
}, t),
|
|
32643
32643
|
children: n
|
|
32644
32644
|
}), LG = ({ badgeTitle: e, title: t, children: n, className: r, ...i }) => /* @__PURE__ */ E("div", {
|
|
32645
|
-
className: H("flex flex-col items-start", "rounded-
|
|
32645
|
+
className: H("flex flex-col items-start", "rounded-500 bg-background-subdued p-6 sm:p-8", "lg:flex-1", r),
|
|
32646
32646
|
...i,
|
|
32647
32647
|
children: [
|
|
32648
32648
|
e && /* @__PURE__ */ T(IG, {
|
|
@@ -32696,7 +32696,7 @@ var IG = ({ variant: e = "default", className: t, children: n }) => /* @__PURE__
|
|
|
32696
32696
|
}, []);
|
|
32697
32697
|
let m = [].concat(r).filter(Boolean);
|
|
32698
32698
|
return /* @__PURE__ */ E("div", {
|
|
32699
|
-
className: U("relative", { "aspect-video overflow-hidden rounded-
|
|
32699
|
+
className: U("relative", { "aspect-video overflow-hidden rounded-500 bg-black shadow-800": !t }, n),
|
|
32700
32700
|
children: [/* @__PURE__ */ T("video", {
|
|
32701
32701
|
ref: f,
|
|
32702
32702
|
className: "h-full w-full outline-none",
|
|
@@ -52823,7 +52823,7 @@ var Tme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
52823
52823
|
})
|
|
52824
52824
|
}), Ame = ({ title: e, otherAppName: t, photoroomIcon: n, otherAppIcon: r, features: i, className: a, ...o }) => /* @__PURE__ */ E("div", {
|
|
52825
52825
|
...o,
|
|
52826
|
-
className: U("w-full rounded-
|
|
52826
|
+
className: U("w-full rounded-500 bg-background-subdued p-4 sm:p-6", a),
|
|
52827
52827
|
role: "table",
|
|
52828
52828
|
"aria-label": e,
|
|
52829
52829
|
children: [/* @__PURE__ */ T("div", {
|
|
@@ -52994,7 +52994,7 @@ var Tme = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
52994
52994
|
})
|
|
52995
52995
|
}), Fme = ({ titleBlock: e, className: t, children: n, ...r }) => /* @__PURE__ */ T("section", {
|
|
52996
52996
|
...r,
|
|
52997
|
-
className: U("px-4 py-e500 sm:px-6 md:px-8 xl:px-10", "bg-
|
|
52997
|
+
className: U("px-4 py-e500 sm:px-6 md:px-8 xl:px-10", "bg-neutral-50", t),
|
|
52998
52998
|
children: /* @__PURE__ */ E("div", {
|
|
52999
52999
|
className: "mx-auto flex max-w-[1200px] flex-col gap-i500 lg:flex-row",
|
|
53000
53000
|
children: [/* @__PURE__ */ T("div", {
|
|
@@ -53436,7 +53436,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
53436
53436
|
]
|
|
53437
53437
|
})
|
|
53438
53438
|
}), ehe = ({ metricTitle: e, metricDescription: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
53439
|
-
className: U("relative flex flex-col items-center overflow-hidden rounded-
|
|
53439
|
+
className: U("relative flex flex-col items-center overflow-hidden rounded-500 bg-secondary-moon-grape text-center text-white", "gap-4 px-6 py-8 sm:py-10", "lg:min-h-[344px] xl:min-h-[400px]", n),
|
|
53440
53440
|
...r,
|
|
53441
53441
|
children: [
|
|
53442
53442
|
/* @__PURE__ */ T("div", { className: "pointer-events-none absolute inset-0 bg-gradient-to-b from-[rgba(255,255,255,0.5)] to-transparent" }),
|
|
@@ -54482,7 +54482,7 @@ var Lhe = Object.assign(R9, {
|
|
|
54482
54482
|
className: H("sm:max-w-lg md:max-w-5.5xl", "lg:flex lg:items-stretch lg:justify-center", "lg:w-[calc(100%/3-16px)]"),
|
|
54483
54483
|
...a,
|
|
54484
54484
|
children: /* @__PURE__ */ E("article", {
|
|
54485
|
-
className: H("flex h-full w-full flex-col gap-6 rounded-
|
|
54485
|
+
className: H("flex h-full w-full flex-col gap-6 rounded-500 bg-neutral-100", "p-5 sm:p-8"),
|
|
54486
54486
|
children: [
|
|
54487
54487
|
/* @__PURE__ */ T("ul", {
|
|
54488
54488
|
className: "flex gap-1",
|
|
@@ -54765,7 +54765,7 @@ var qhe = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
54765
54765
|
})]
|
|
54766
54766
|
}), Zhe = "cursor-pointer rounded-200 outline-none focus-visible:ring focus-visible:ring-misc-focus-indicator text-content-accent hover:text-content-accent-hover active:text-content-accent-down focus-visible:text-content-accent-hover".split(" ").map((e) => `[&_a]:${e}`).join(" "), Qhe = ({ content: e, footer: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
54767
54767
|
...r,
|
|
54768
|
-
className: H("mx-auto w-full max-w-[512px] rounded-
|
|
54768
|
+
className: H("mx-auto w-full max-w-[512px] rounded-500 bg-background-subdued px-6 py-5 text-content-secondary [&_strong]:body-semi-strong-700 sm:px-8 sm:py-6 [&_strong]:text-content-primary", n),
|
|
54769
54769
|
children: [/* @__PURE__ */ T("div", {
|
|
54770
54770
|
className: "body-600 sm:body-700",
|
|
54771
54771
|
children: e
|
|
@@ -54898,7 +54898,7 @@ var ege = ({ titleBlock: e, selectedIndex: t, useCases: n, ...r }) => /* @__PURE
|
|
|
54898
54898
|
})]
|
|
54899
54899
|
})
|
|
54900
54900
|
}), ige = ({ icon: e, title: t, description: n, className: r, ...i }) => /* @__PURE__ */ E("div", {
|
|
54901
|
-
className: U("flex flex-col gap-4 rounded-
|
|
54901
|
+
className: U("flex flex-col gap-4 rounded-500 border border-misc-border-default", "p-6 sm:p-8", r),
|
|
54902
54902
|
...i,
|
|
54903
54903
|
children: [/* @__PURE__ */ E("div", {
|
|
54904
54904
|
className: "flex flex-col gap-4",
|