@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
|
-
|
|
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,
|
|
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":"
|
|
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,
|
|
55830
|
-
className: U("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
55831
|
-
...
|
|
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(
|
|
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
|
]
|