@photoroom/ui 0.1.360 → 0.1.362
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/content/ToolBanner/ToolBanner.d.ts +18 -0
- package/components/content/ToolBanner/ToolBanner.d.ts.map +1 -0
- package/components/content/ToolBanner/ToolBanner.figma.d.ts +2 -0
- package/components/content/ToolBanner/ToolBanner.figma.d.ts.map +1 -0
- package/components/content/ToolBanner/index.d.ts +2 -0
- package/components/content/ToolBanner/index.d.ts.map +1 -0
- package/index.css +1 -1
- package/index.lib.d.ts +1 -0
- package/index.lib.d.ts.map +1 -1
- package/index.mjs +7807 -7770
- package/package.json +1 -1
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export type ToolBannerProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
/** Baseline under the title, e.g. `Now supports 4K`. */
|
|
5
|
+
caption?: React.ReactNode;
|
|
6
|
+
cta?: React.ReactNode;
|
|
7
|
+
/** Full-bleed background media; child img/video is stretched to cover. Must be dark — all text renders white. */
|
|
8
|
+
background: React.ReactNode;
|
|
9
|
+
/** Side media column; hidden below 600px, progressively clipped as the container narrows. */
|
|
10
|
+
leading?: React.ReactNode;
|
|
11
|
+
trailing?: React.ReactNode;
|
|
12
|
+
className?: string;
|
|
13
|
+
} & Omit<React.HTMLAttributes<HTMLDivElement>, "title" | "children">;
|
|
14
|
+
export declare const ToolBanner: {
|
|
15
|
+
({ title, caption, cta, background, leading, trailing, className, ...rest }: ToolBannerProps): React.JSX.Element;
|
|
16
|
+
displayName: string;
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=ToolBanner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolBanner.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ToolBanner/ToolBanner.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,GAAG,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,iHAAiH;IACjH,UAAU,EAAE,KAAK,CAAC,SAAS,CAAC;IAC5B,6FAA6F;IAC7F,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,OAAO,GAAG,UAAU,CAAC,CAAC;AAOrE,eAAO,MAAM,UAAU;iFASpB,eAAe;;CA+CjB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToolBanner.figma.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ToolBanner/ToolBanner.figma.tsx"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/content/ToolBanner/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|