@photoroom/ui 0.1.689 → 0.1.690
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
|
@@ -60950,44 +60950,46 @@ var fDe = Object.assign(Q7, {
|
|
|
60950
60950
|
})
|
|
60951
60951
|
]
|
|
60952
60952
|
})
|
|
60953
|
-
}), TDe = function({ placement: e = "default", variant: t = "default",
|
|
60954
|
-
let
|
|
60953
|
+
}), TDe = function({ placement: e = "default", variant: t = "default", emphasis: n = "regular", title: r, subtitle: i, overline: a, cta: o, className: s, ...c }) {
|
|
60954
|
+
let l = e === "side" || !!o, u = t === "on-dark", d = Te(i) ? !!i.props?.children : !!i;
|
|
60955
60955
|
return /* @__PURE__ */ L("div", {
|
|
60956
60956
|
className: U("mx-auto w-full max-w-[1200px]", "flex flex-col gap-4", {
|
|
60957
|
-
"items-center text-center": !
|
|
60958
|
-
"items-start text-start":
|
|
60959
|
-
"text-content-white-primary":
|
|
60960
|
-
},
|
|
60961
|
-
...
|
|
60957
|
+
"items-center text-center": !l,
|
|
60958
|
+
"items-start text-start": l,
|
|
60959
|
+
"text-content-white-primary": u
|
|
60960
|
+
}, s),
|
|
60961
|
+
...c,
|
|
60962
60962
|
children: [/* @__PURE__ */ L("div", {
|
|
60963
60963
|
className: H("flex w-full flex-col gap-1", {
|
|
60964
|
-
"items-center": !
|
|
60965
|
-
"items-start":
|
|
60964
|
+
"items-center": !l,
|
|
60965
|
+
"items-start": l
|
|
60966
60966
|
}),
|
|
60967
|
-
children: [!!
|
|
60967
|
+
children: [!!a && /* @__PURE__ */ I("div", {
|
|
60968
60968
|
className: H("component-700 max-w-[760px]", {
|
|
60969
|
-
"text-content-accent": !
|
|
60970
|
-
"text-accent-300":
|
|
60969
|
+
"text-content-accent": !u,
|
|
60970
|
+
"text-accent-300": u
|
|
60971
60971
|
}),
|
|
60972
|
-
children:
|
|
60972
|
+
children: a
|
|
60973
60973
|
}), /* @__PURE__ */ L("div", {
|
|
60974
|
-
className: H("flex w-full items-start gap-4", "heading-thin-800
|
|
60975
|
-
"
|
|
60976
|
-
"
|
|
60974
|
+
className: H("flex w-full items-start gap-4", "heading-thin-800", {
|
|
60975
|
+
"sm:heading-extra-thin-900": n === "regular",
|
|
60976
|
+
"sm:heading-extra-thin-1100 lg:text-1500 lg:leading-none lg:-tracking-[0.0414em]": n === "high",
|
|
60977
|
+
"justify-center": !l,
|
|
60978
|
+
"justify-between": l
|
|
60977
60979
|
}),
|
|
60978
60980
|
children: [/* @__PURE__ */ I("h2", {
|
|
60979
|
-
className: "w-full max-w-[760px] text-balance",
|
|
60980
|
-
children:
|
|
60981
|
-
}), !!
|
|
60981
|
+
className: "w-full max-w-[760px] text-balance wrap-break-word",
|
|
60982
|
+
children: r
|
|
60983
|
+
}), !!o && /* @__PURE__ */ I("div", {
|
|
60982
60984
|
className: "hidden h-lh items-center lg:inline-flex",
|
|
60983
|
-
children:
|
|
60985
|
+
children: o
|
|
60984
60986
|
})]
|
|
60985
60987
|
})]
|
|
60986
|
-
}),
|
|
60987
|
-
className: H("w-full max-w-[760px]", { "mx-auto flex justify-center": !
|
|
60988
|
+
}), d && /* @__PURE__ */ I("div", {
|
|
60989
|
+
className: H("w-full max-w-[760px]", { "mx-auto flex justify-center": !l }),
|
|
60988
60990
|
children: /* @__PURE__ */ I("div", {
|
|
60989
|
-
className: H("body-light-600 sm:body-light-700 w-[clamp(80%,512px,100%)] text-pretty",
|
|
60990
|
-
children:
|
|
60991
|
+
className: H("body-light-600 sm:body-light-700 w-[clamp(80%,512px,100%)] text-pretty", u ? "text-content-white-secondary" : "text-content-secondary"),
|
|
60992
|
+
children: i
|
|
60991
60993
|
})
|
|
60992
60994
|
})]
|
|
60993
60995
|
});
|