@protonradio/proton-ui 0.7.5-beta15 → 0.7.5-beta2

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.d.ts CHANGED
@@ -26,7 +26,7 @@ import { TooltipTriggerComponentProps } from 'react-aria-components';
26
26
  * Renders a list of actions as a focusable menu, or non-focusable children.
27
27
  * @interface ActionMenuProps
28
28
  */
29
- export declare const ActionMenu: ({ isOpen, selectionMode, selectedKeys, disabledKeys, children, showCancel, actions, closeOnNavigation, onSelectionChange, onClose, "data-testid": testId, }: ActionMenuProps) => JSX_2.Element;
29
+ export declare const ActionMenu: ({ id, isOpen, selectionMode, selectedKeys, disabledKeys, children, showCancel, actions, closeOnNavigation, onSelectionChange, onClose, "data-testid": testId, }: ActionMenuProps) => JSX_2.Element;
30
30
 
31
31
  declare interface ActionMenuAction {
32
32
  key: string;
@@ -374,24 +374,15 @@ 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 }: ImageBackdropProps): JSX_2.Element;
377
+ export declare function ImageBackdrop({ imageUrl, onLoad, onBackgroundEvent, }: ImageBackdropProps): JSX_2.Element;
378
378
 
379
379
  declare interface ImageBackdropProps {
380
380
  /**
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.
381
+ * The URL of the image to display in the overlay.
384
382
  */
385
- image?: React.ReactNode;
386
- /**
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.
390
- */
391
- imageUrl?: string;
383
+ imageUrl: string;
392
384
  /**
393
385
  * Callback function to handle the image load event.
394
- * @important Client-side only. Cannot be used in Server Components.
395
386
  */
396
387
  onLoad?: (image: HTMLImageElement) => void;
397
388
  /**