@photoroom/ui 0.1.350 → 0.1.351
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,6 +1,8 @@
|
|
|
1
1
|
type SpotlightDialogBaseProps = {
|
|
2
|
-
/** Source URL for the 16:9 image rendered at the top of the dialog */
|
|
3
|
-
visualSrc
|
|
2
|
+
/** Source URL for the 16:9 image rendered at the top of the dialog. Ignored when `visual` is set. */
|
|
3
|
+
visualSrc?: string;
|
|
4
|
+
/** Custom 16:9 visual (e.g. a looping video) rendered instead of `visualSrc`. */
|
|
5
|
+
visual?: React.ReactNode;
|
|
4
6
|
/** Small accent label above the title */
|
|
5
7
|
overline?: React.ReactNode;
|
|
6
8
|
title: React.ReactNode;
|
|
@@ -19,7 +21,7 @@ type SpotlightDialogWithoutClose = SpotlightDialogBaseProps & {
|
|
|
19
21
|
};
|
|
20
22
|
export type SpotlightDialogProps = SpotlightDialogWithClose | SpotlightDialogWithoutClose;
|
|
21
23
|
export declare const SpotlightDialog: {
|
|
22
|
-
({ visualSrc, overline, title, description, children, onClose, closeAriaLabel, }: SpotlightDialogProps): import("react").JSX.Element;
|
|
24
|
+
({ visualSrc, visual, overline, title, description, children, onClose, closeAriaLabel, }: SpotlightDialogProps): import("react").JSX.Element;
|
|
23
25
|
displayName: string;
|
|
24
26
|
};
|
|
25
27
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotlightDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/SpotlightDialog/SpotlightDialog.tsx"],"names":[],"mappings":"AAKA,KAAK,wBAAwB,GAAG;IAC9B,
|
|
1
|
+
{"version":3,"file":"SpotlightDialog.d.ts","sourceRoot":"","sources":["../../../../src/components/dialog/SpotlightDialog/SpotlightDialog.tsx"],"names":[],"mappings":"AAKA,KAAK,wBAAwB,GAAG;IAC9B,qGAAqG;IACrG,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;IACjF,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC9B,oFAAoF;IACpF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG,wBAAwB,GAAG;IAChE,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,uDAAuD;IACvD,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,KAAK,2BAA2B,GAAG,wBAAwB,GAAG;IAC5D,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG,wBAAwB,GAAG,2BAA2B,CAAC;AAE1F,eAAO,MAAM,eAAe;8FASzB,oBAAoB;;CAqCtB,CAAC"}
|