@protonradio/proton-ui 0.7.5-beta13 → 0.7.5-beta15
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/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +8 -5
- package/dist/index.es.js +810 -823
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -374,21 +374,24 @@ declare interface IconProps {
|
|
|
374
374
|
* ImageOverlay component for displaying an image with a blur effect.
|
|
375
375
|
* @interface ImageBackdropProps
|
|
376
376
|
*/
|
|
377
|
-
export declare function ImageBackdrop({ image, imageUrl, onLoad
|
|
377
|
+
export declare function ImageBackdrop({ image, imageUrl, onLoad }: ImageBackdropProps): JSX_2.Element;
|
|
378
378
|
|
|
379
379
|
declare interface ImageBackdropProps {
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* Manually display a backdrop image. Useful for server-side rendering.
|
|
382
|
+
* @important When using this prop, you must style your own image component appropriately.
|
|
383
|
+
* The component will be placed directly in the backdrop without additional styling.
|
|
382
384
|
*/
|
|
383
385
|
image?: React.ReactNode;
|
|
384
386
|
/**
|
|
385
|
-
* The URL of the image to display in the
|
|
386
|
-
* @important
|
|
387
|
+
* The URL of the image to display in the backdrop.
|
|
388
|
+
* @important Client-side only. Cannot be used in Server Components.
|
|
389
|
+
* When using this prop, the image will be automatically styled with the backdrop effect.
|
|
387
390
|
*/
|
|
388
391
|
imageUrl?: string;
|
|
389
392
|
/**
|
|
390
393
|
* Callback function to handle the image load event.
|
|
391
|
-
* @important
|
|
394
|
+
* @important Client-side only. Cannot be used in Server Components.
|
|
392
395
|
*/
|
|
393
396
|
onLoad?: (image: HTMLImageElement) => void;
|
|
394
397
|
/**
|