@photoroom/ui 0.1.130 → 0.1.132

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.
@@ -1,8 +1,10 @@
1
+ import { type BlockBackgroundVariant } from "../BlockBackground";
1
2
  export type QuickToolHeroBlockProps = Readonly<{
2
3
  title: React.ReactNode;
3
4
  visualElement: React.ReactNode;
4
5
  largeVisualAsset?: React.ReactNode;
6
+ background?: BlockBackgroundVariant;
5
7
  bgColor?: string;
6
8
  }>;
7
- export declare const QuickToolHeroBlock: ({ title, visualElement, largeVisualAsset, bgColor: backgroundColor, ...rest }: QuickToolHeroBlockProps) => import("react/jsx-runtime").JSX.Element;
9
+ export declare const QuickToolHeroBlock: ({ title, visualElement, largeVisualAsset, background, bgColor: backgroundColor, ...rest }: QuickToolHeroBlockProps) => import("react/jsx-runtime").JSX.Element;
8
10
  //# sourceMappingURL=QuickToolHeroBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"QuickToolHeroBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/QuickToolHeroBlock/QuickToolHeroBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,+EAMhC,uBAAuB,4CA2CzB,CAAC"}
1
+ {"version":3,"file":"QuickToolHeroBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/QuickToolHeroBlock/QuickToolHeroBlock.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAmB,KAAK,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AAElF,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC;IAC7C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,aAAa,EAAE,KAAK,CAAC,SAAS,CAAC;IAC/B,gBAAgB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACnC,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC,CAAC;AAEH,eAAO,MAAM,kBAAkB,GAAI,2FAOhC,uBAAuB,4CA0CzB,CAAC"}
package/index.mjs CHANGED
@@ -55649,10 +55649,12 @@ var t_e = Object.assign(L9, {
55649
55649
  })]
55650
55650
  })]
55651
55651
  })
55652
- }), r_e = ({ title: e, visualElement: t, largeVisualAsset: n, bgColor: r, ...i }) => /* @__PURE__ */ T("div", {
55653
- className: H("relative flex overflow-hidden", "pt-e600 pb-e500 sm:py-e500 lg:py-e800", "px-4 sm:px-6 md:px-8 xl:px-10", "xl:min-h-[720px]", { "bg-surface-alternate": !r }),
55654
- style: { backgroundColor: r },
55655
- ...i,
55652
+ }), r_e = ({ title: e, visualElement: t, largeVisualAsset: n, background: r = "neutral-50", bgColor: i, ...a }) => /* @__PURE__ */ T(f9, {
55653
+ as: "div",
55654
+ variant: i ? "surface-default" : r,
55655
+ className: H("relative flex overflow-hidden", "pt-e600 pb-e500 sm:py-e500 lg:py-e800", "px-4 sm:px-6 md:px-8 xl:px-10", "xl:min-h-[720px]"),
55656
+ style: { backgroundColor: i },
55657
+ ...a,
55656
55658
  children: /* @__PURE__ */ E("div", {
55657
55659
  className: H("mx-auto w-full max-w-[1200px]", "gap-i400 flex flex-col items-center", "lg:flex-row lg:gap-3", "xl:gap-6"),
55658
55660
  children: [/* @__PURE__ */ T("div", {
@@ -55661,7 +55663,7 @@ var t_e = Object.assign(L9, {
55661
55663
  }), /* @__PURE__ */ E("div", {
55662
55664
  className: "w-full flex-1",
55663
55665
  children: [/* @__PURE__ */ T("div", {
55664
- className: H("rounded-area-500 relative mx-auto max-w-[480px] overflow-hidden lg:max-w-none", !!n && "lg:hidden"),
55666
+ className: H("rounded-500 relative mx-auto max-w-[480px] overflow-hidden lg:max-w-none", !!n && "lg:hidden"),
55665
55667
  children: t
55666
55668
  }), !!n && /* @__PURE__ */ T("div", {
55667
55669
  className: H("hidden lg:block", "absolute top-0 bottom-0 left-1/2 w-max"),
@@ -55773,7 +55775,7 @@ var t_e = Object.assign(L9, {
55773
55775
  "items-start": s
55774
55776
  }),
55775
55777
  children: [!!r && /* @__PURE__ */ T("div", {
55776
- className: "component-700 text-content-accent max-w-[900px]",
55778
+ className: "component-700 text-content-accent max-w-[760px]",
55777
55779
  children: r
55778
55780
  }), /* @__PURE__ */ E("div", {
55779
55781
  className: H("flex w-full items-start gap-4", "heading-thin-800 sm:heading-thin-900", {
@@ -55781,7 +55783,7 @@ var t_e = Object.assign(L9, {
55781
55783
  "justify-between": s
55782
55784
  }),
55783
55785
  children: [/* @__PURE__ */ T("h2", {
55784
- className: "w-full max-w-[900px] text-balance",
55786
+ className: "w-full max-w-[760px] text-balance",
55785
55787
  children: t
55786
55788
  }), !!i && /* @__PURE__ */ T("div", {
55787
55789
  className: "hidden h-[1lh] items-center lg:inline-flex",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.130",
3
+ "version": "0.1.132",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [