@protonradio/proton-ui 0.7.5-beta16 → 0.7.5-beta3
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 +13 -13
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +8 -13
- package/dist/index.es.js +2826 -2788
- package/dist/index.es.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/{utils-Bc2wVuvD.mjs → utils-KedSkjS1.mjs} +18 -17
- package/dist/utils-KedSkjS1.mjs.map +1 -0
- package/dist/{utils-BUwoPI1e.js → utils-ZbliEUT6.js} +2 -2
- package/dist/utils-ZbliEUT6.js.map +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +1 -1
- package/package.json +1 -1
- package/dist/utils-BUwoPI1e.js.map +0 -1
- package/dist/utils-Bc2wVuvD.mjs.map +0 -1
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,26 +374,21 @@ 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({
|
|
377
|
+
export declare function ImageBackdrop({ imageUrl, onLoad, onBackgroundEvent, }: ImageBackdropProps): JSX_2.Element;
|
|
378
378
|
|
|
379
379
|
declare interface ImageBackdropProps {
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
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
|
-
|
|
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;
|
|
388
|
+
/**
|
|
389
|
+
* Callback function to handle the background event.
|
|
390
|
+
*/
|
|
391
|
+
onBackgroundEvent?: () => void;
|
|
397
392
|
}
|
|
398
393
|
|
|
399
394
|
/**
|