@photoroom/ui 0.1.131 → 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"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.131",
3
+ "version": "0.1.132",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [