@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", title: n, subtitle: r, overline: i, cta: a, className: o, ...s }) {
60954
- let c = e === "side" || !!a, l = t === "on-dark", u = Te(r) ? !!r.props?.children : !!r;
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": !c,
60958
- "items-start text-start": c,
60959
- "text-content-white-primary": l
60960
- }, o),
60961
- ...s,
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": !c,
60965
- "items-start": c
60964
+ "items-center": !l,
60965
+ "items-start": l
60966
60966
  }),
60967
- children: [!!i && /* @__PURE__ */ I("div", {
60967
+ children: [!!a && /* @__PURE__ */ I("div", {
60968
60968
  className: H("component-700 max-w-[760px]", {
60969
- "text-content-accent": !l,
60970
- "text-accent-300": l
60969
+ "text-content-accent": !u,
60970
+ "text-accent-300": u
60971
60971
  }),
60972
- children: i
60972
+ children: a
60973
60973
  }), /* @__PURE__ */ L("div", {
60974
- className: H("flex w-full items-start gap-4", "heading-thin-800 sm:heading-extra-thin-900", {
60975
- "justify-center": !c,
60976
- "justify-between": c
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: n
60981
- }), !!a && /* @__PURE__ */ I("div", {
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: a
60985
+ children: o
60984
60986
  })]
60985
60987
  })]
60986
- }), u && /* @__PURE__ */ I("div", {
60987
- className: H("w-full max-w-[760px]", { "mx-auto flex justify-center": !c }),
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", l ? "text-content-white-secondary" : "text-content-secondary"),
60990
- children: r
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
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.689",
3
+ "version": "0.1.690",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [