@protonradio/proton-ui 0.7.5-beta12 → 0.7.5-beta14
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 +6 -2
- package/dist/index.es.js +2319 -2353
- 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
|
@@ -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: ({
|
|
29
|
+
export declare const ActionMenu: ({ 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,7 +374,7 @@ 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, children, }: ImageBackdropProps): JSX_2.Element;
|
|
378
378
|
|
|
379
379
|
declare interface ImageBackdropProps {
|
|
380
380
|
/**
|
|
@@ -395,6 +395,10 @@ declare interface ImageBackdropProps {
|
|
|
395
395
|
* Callback function to handle the background event.
|
|
396
396
|
*/
|
|
397
397
|
onBackgroundEvent?: () => void;
|
|
398
|
+
/**
|
|
399
|
+
* The children to display in the backdrop.
|
|
400
|
+
*/
|
|
401
|
+
children?: React.ReactNode;
|
|
398
402
|
}
|
|
399
403
|
|
|
400
404
|
/**
|