@photoroom/ui 0.1.161 → 0.1.163
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.
- package/components/website/SectionTitle/SectionTitle.d.ts +2 -2
- package/components/website/SectionTitle/SectionTitle.d.ts.map +1 -1
- package/components/website/SmallSectionTitle/SmallSectionTitle.d.ts +2 -2
- package/components/website/SmallSectionTitle/SmallSectionTitle.d.ts.map +1 -1
- package/index.mjs +2 -2
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export type SectionTitleProps = Omit<React.ComponentProps<"div">, "children"> & Readonly<{
|
|
2
|
-
|
|
2
|
+
placement?: "default" | "side";
|
|
3
3
|
title?: string;
|
|
4
4
|
subtitle?: React.ReactNode;
|
|
5
5
|
overline?: string;
|
|
6
6
|
cta?: React.ReactNode;
|
|
7
7
|
}>;
|
|
8
|
-
export declare const SectionTitle: ({
|
|
8
|
+
export declare const SectionTitle: ({ placement, title, subtitle, overline, cta, className, ...rest }: SectionTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
9
|
//# sourceMappingURL=SectionTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/website/SectionTitle/SectionTitle.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAC3E,QAAQ,CAAC;IACP,
|
|
1
|
+
{"version":3,"file":"SectionTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/website/SectionTitle/SectionTitle.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAC3E,QAAQ,CAAC;IACP,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvB,CAAC,CAAC;AAEL,eAAO,MAAM,YAAY,GAAyB,mEAQ/C,iBAAiB,4CA4CnB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type SmallSectionTitleProps = Readonly<{
|
|
2
2
|
title: string;
|
|
3
3
|
overline?: string;
|
|
4
|
-
|
|
4
|
+
placement?: "default" | "side";
|
|
5
5
|
}>;
|
|
6
|
-
export declare const SmallSectionTitle: ({ title, overline,
|
|
6
|
+
export declare const SmallSectionTitle: ({ title, overline, placement, }: SmallSectionTitleProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
//# sourceMappingURL=SmallSectionTitle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SmallSectionTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/website/SmallSectionTitle/SmallSectionTitle.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"SmallSectionTitle.d.ts","sourceRoot":"","sources":["../../../../src/components/website/SmallSectionTitle/SmallSectionTitle.tsx"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,QAAQ,CAAC;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;CAChC,CAAC,CAAC;AAEH,eAAO,MAAM,iBAAiB,GAAI,iCAI/B,sBAAsB,4CAYxB,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -56405,7 +56405,7 @@ var X_e = Object.assign(R9, {
|
|
|
56405
56405
|
})
|
|
56406
56406
|
]
|
|
56407
56407
|
})
|
|
56408
|
-
}), nve = function({
|
|
56408
|
+
}), nve = function({ placement: e = "default", title: t, subtitle: n, overline: r, cta: i, className: a, ...o }) {
|
|
56409
56409
|
let s = e === "side" || !!i, c = u(n) ? !!n.props?.children : !!n;
|
|
56410
56410
|
return /* @__PURE__ */ E("div", {
|
|
56411
56411
|
className: H("mx-auto w-full max-w-[1200px]", "flex flex-col gap-4", {
|
|
@@ -56469,7 +56469,7 @@ var X_e = Object.assign(R9, {
|
|
|
56469
56469
|
})
|
|
56470
56470
|
]
|
|
56471
56471
|
});
|
|
56472
|
-
}, ive = ({ title: e, overline: t,
|
|
56472
|
+
}, ive = ({ title: e, overline: t, placement: n = "default" }) => /* @__PURE__ */ E("div", {
|
|
56473
56473
|
className: V("mx-auto flex w-full max-w-[1200px] flex-col gap-1", {
|
|
56474
56474
|
"items-center text-center": n === "default",
|
|
56475
56475
|
"items-start text-left": n === "side"
|