@photoroom/ui 0.1.141 → 0.1.143

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,11 +1,7 @@
1
1
  export type ReviewsBlockProps = {
2
2
  titleBlock?: React.ReactNode;
3
- ctaLabel?: string;
4
- ctaLink?: {
5
- href?: string;
6
- extraAttrs?: Record<string, string>;
7
- };
3
+ cta?: React.ReactNode;
8
4
  reviews?: React.JSX.Element[];
9
5
  } & React.ComponentProps<"section">;
10
- export declare const ReviewsBlock: ({ titleBlock, reviews, ctaLabel, ctaLink, className, ...rest }: ReviewsBlockProps) => import("react/jsx-runtime").JSX.Element;
6
+ export declare const ReviewsBlock: ({ titleBlock, reviews, cta, className, ...rest }: ReviewsBlockProps) => import("react/jsx-runtime").JSX.Element;
11
7
  //# sourceMappingURL=ReviewsBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ReviewsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ReviewsBlock/ReviewsBlock.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE;QACR,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;CAC/B,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,gEAO1B,iBAAiB,4CAuBnB,CAAC"}
1
+ {"version":3,"file":"ReviewsBlock.d.ts","sourceRoot":"","sources":["../../../../src/components/website/ReviewsBlock/ReviewsBlock.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC7B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,OAAO,EAAE,CAAC;CAC/B,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,CAAC;AAEpC,eAAO,MAAM,YAAY,GAAI,kDAM1B,iBAAiB,4CAUnB,CAAC"}
package/index.mjs CHANGED
@@ -55826,9 +55826,9 @@ var t_e = Object.assign(R9, {
55826
55826
  })]
55827
55827
  })]
55828
55828
  })
55829
- }), a_e = ({ titleBlock: e, reviews: t, ctaLabel: n, ctaLink: r, className: i, ...a }) => /* @__PURE__ */ T("section", {
55830
- className: U("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", i),
55831
- ...a,
55829
+ }), a_e = ({ titleBlock: e, reviews: t, cta: n, className: r, ...i }) => /* @__PURE__ */ T("section", {
55830
+ className: U("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", r),
55831
+ ...i,
55832
55832
  children: /* @__PURE__ */ E("div", {
55833
55833
  className: "gap-i600 mx-auto flex w-full max-w-[1200px] flex-col",
55834
55834
  children: [
@@ -55837,15 +55837,8 @@ var t_e = Object.assign(R9, {
55837
55837
  className: "grid gap-6 lg:grid-cols-3",
55838
55838
  children: t
55839
55839
  }),
55840
- n && /* @__PURE__ */ T(Or, {
55840
+ !!n && /* @__PURE__ */ T("div", {
55841
55841
  className: "mx-auto lg:hidden",
55842
- variant: "primary",
55843
- size: "medium",
55844
- density: "spacious",
55845
- as: "a",
55846
- href: r?.href,
55847
- rel: "noreferrer noopener",
55848
- ...r?.extraAttrs,
55849
55842
  children: n
55850
55843
  })
55851
55844
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@photoroom/ui",
3
- "version": "0.1.141",
3
+ "version": "0.1.143",
4
4
  "private": false,
5
5
  "description": "Photoroom design system components",
6
6
  "sideEffects": [