@photoroom/ui 0.1.185 → 0.1.186

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,5 +1,5 @@
1
- export type BentoBlockProps = React.ComponentProps<"section"> & Readonly<{
2
- titleBlock?: React.ReactNode;
1
+ export type BentoBlockProps = Omit<React.ComponentProps<"section">, "title"> & Readonly<{
2
+ title?: React.ReactNode;
3
3
  }>;
4
- export declare const BentoBlock: ({ titleBlock, children, className, ...rest }: BentoBlockProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const BentoBlock: ({ title, children, className, ...rest }: BentoBlockProps) => import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=BentoBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BentoBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/BentoBlock/BentoBlock.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAC3D,QAAQ,CAAC;IACP,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC,CAAC;AAEL,eAAO,MAAM,UAAU,GAAI,8CAA8C,eAAe,4CAsBvF,CAAC"}
1
+ {"version":3,"file":"BentoBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/BentoBlock/BentoBlock.tsx"],"names":[],"mappings":"AAIA,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GAC1E,QAAQ,CAAC;IACP,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC,CAAC;AAEL,eAAO,MAAM,UAAU,GAAI,yCAAyC,eAAe,4CAsBlF,CAAC"}
@@ -1,8 +1,8 @@
1
1
  export type EnterpriseGradeBlockProps = Readonly<{
2
2
  className?: string;
3
- titleBlock?: React.ReactNode;
3
+ title?: React.ReactNode;
4
4
  children?: React.ReactNode;
5
5
  cta?: React.ReactNode;
6
6
  }>;
7
- export declare const EnterpriseGradeBlock: ({ className, titleBlock, children, cta, ...rest }: EnterpriseGradeBlockProps) => import("react/jsx-runtime").JSX.Element;
7
+ export declare const EnterpriseGradeBlock: ({ className, title, children, cta, ...rest }: EnterpriseGradeBlockProps) => import("react/jsx-runtime").JSX.Element;
8
8
  //# sourceMappingURL=EnterpriseGradeBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnterpriseGradeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/EnterpriseGradeBlock/EnterpriseGradeBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,mDAMlC,yBAAyB,4CAe3B,CAAC"}
1
+ {"version":3,"file":"EnterpriseGradeBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/EnterpriseGradeBlock/EnterpriseGradeBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,yBAAyB,GAAG,QAAQ,CAAC;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEH,eAAO,MAAM,oBAAoB,GAAI,8CAMlC,yBAAyB,4CAe3B,CAAC"}
@@ -1,5 +1,5 @@
1
- export type FeaturesSpotlightBlockProps = React.ComponentProps<"section"> & Readonly<{
2
- titleBlock?: React.ReactNode;
1
+ export type FeaturesSpotlightBlockProps = Omit<React.ComponentProps<"section">, "title"> & Readonly<{
2
+ title?: React.ReactNode;
3
3
  }>;
4
- export declare const FeaturesSpotlightBlock: ({ titleBlock, children, className, ...rest }: FeaturesSpotlightBlockProps) => import("react/jsx-runtime").JSX.Element;
4
+ export declare const FeaturesSpotlightBlock: ({ title, children, className, ...rest }: FeaturesSpotlightBlockProps) => import("react/jsx-runtime").JSX.Element;
5
5
  //# sourceMappingURL=FeaturesSpotlightBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"FeaturesSpotlightBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FeaturesSpotlightBlock/FeaturesSpotlightBlock.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,2BAA2B,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GACvE,QAAQ,CAAC;IACP,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC,CAAC;AAEL,eAAO,MAAM,sBAAsB,GAAI,8CAKpC,2BAA2B,4CAoB7B,CAAC"}
1
+ {"version":3,"file":"FeaturesSpotlightBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/FeaturesSpotlightBlock/FeaturesSpotlightBlock.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GACtF,QAAQ,CAAC;IACP,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACzB,CAAC,CAAC;AAEL,eAAO,MAAM,sBAAsB,GAAI,yCAKpC,2BAA2B,4CAoB7B,CAAC"}
@@ -7,11 +7,11 @@ export declare const useTestimonialSpotlightContext: () => Readonly<{
7
7
  onPrev: () => void;
8
8
  onNext: () => void;
9
9
  }> | null;
10
- export type TestimonialSpotlightBlockProps = React.ComponentProps<"section"> & Readonly<{
11
- titleBlock?: React.ReactNode;
10
+ export type TestimonialSpotlightBlockProps = Omit<React.ComponentProps<"section">, "title"> & Readonly<{
11
+ title?: React.ReactNode;
12
12
  cards: React.ReactNode[];
13
13
  logos?: TestimonialSpotlightLogo[];
14
14
  cta?: React.ReactNode;
15
15
  }>;
16
- export declare const TestimonialSpotlightBlock: ({ titleBlock, cards, logos, cta, className, ...rest }: TestimonialSpotlightBlockProps) => import("react/jsx-runtime").JSX.Element;
16
+ export declare const TestimonialSpotlightBlock: ({ title, cards, logos, cta, className, ...rest }: TestimonialSpotlightBlockProps) => import("react/jsx-runtime").JSX.Element;
17
17
  //# sourceMappingURL=TestimonialSpotlightBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TestimonialSpotlightBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialSpotlightBlock/TestimonialSpotlightBlock.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAUH,eAAO,MAAM,8BAA8B;WAPlC,MAAM;YACL,MAAM,IAAI;YACV,MAAM,IAAI;SAKuE,CAAC;AAE5F,MAAM,MAAM,8BAA8B,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAC1E,QAAQ,CAAC;IACP,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACnC,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEL,eAAO,MAAM,yBAAyB,GAAI,uDAOvC,8BAA8B,4CA4DhC,CAAC"}
1
+ {"version":3,"file":"TestimonialSpotlightBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/TestimonialSpotlightBlock/TestimonialSpotlightBlock.tsx"],"names":[],"mappings":"AAMA,MAAM,MAAM,wBAAwB,GAAG,QAAQ,CAAC;IAC9C,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;CACf,CAAC,CAAC;AAUH,eAAO,MAAM,8BAA8B;WAPlC,MAAM;YACL,MAAM,IAAI;YACV,MAAM,IAAI;SAKuE,CAAC;AAE5F,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,EAAE,OAAO,CAAC,GACzF,QAAQ,CAAC;IACP,KAAK,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACxB,KAAK,EAAE,KAAK,CAAC,SAAS,EAAE,CAAC;IACzB,KAAK,CAAC,EAAE,wBAAwB,EAAE,CAAC;IACnC,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEL,eAAO,MAAM,yBAAyB,GAAI,kDAOvC,8BAA8B,4CA4DhC,CAAC"}
package/index.mjs CHANGED
@@ -54580,7 +54580,7 @@ var Fge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ D("div", {
54580
54580
  ]
54581
54581
  })
54582
54582
  })
54583
- }), Vge = ({ titleBlock: e, children: t, className: r, ...i }) => {
54583
+ }), Vge = ({ title: e, children: t, className: r, ...i }) => {
54584
54584
  let a = n.toArray(t);
54585
54585
  return /* @__PURE__ */ E("section", {
54586
54586
  className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", r),
@@ -54903,7 +54903,7 @@ var Gge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ D("div", {
54903
54903
  })]
54904
54904
  })]
54905
54905
  });
54906
- }, t_e = ({ className: e, titleBlock: t, children: n, cta: r, ...i }) => /* @__PURE__ */ E("section", {
54906
+ }, t_e = ({ className: e, title: t, children: n, cta: r, ...i }) => /* @__PURE__ */ E("section", {
54907
54907
  className: H("pt-e700 pb-e1000 bg-black px-4 sm:px-6 md:px-8 xl:px-10", e),
54908
54908
  ...i,
54909
54909
  children: /* @__PURE__ */ D("div", {
@@ -55117,7 +55117,7 @@ var Gge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ D("div", {
55117
55117
  className: "body-light-500 text-content-secondary",
55118
55118
  children: n
55119
55119
  })]
55120
- }), g_e = ({ titleBlock: e, children: t, className: r, ...i }) => {
55120
+ }), g_e = ({ title: e, children: t, className: r, ...i }) => {
55121
55121
  let a = n.toArray(t);
55122
55122
  return /* @__PURE__ */ E("section", {
55123
55123
  className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", r),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.185",
3
+ "version": "0.1.186",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [