@cube-dev/ui-kit 0.8.3 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/components/overlays/Modal/Modal.d.ts +1 -1
- package/dist/cjs/components/overlays/Modal/Tray.d.ts +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/mjs/components/overlays/Modal/Modal.d.ts +1 -1
- package/dist/mjs/components/overlays/Modal/Tray.d.ts +1 -1
- package/dist/mjs/index.js +3 -3
- package/dist/mjs/index.js.map +1 -1
- package/package.json +6 -2
@@ -5,7 +5,7 @@ import { ModalProps } from '@react-types/overlays';
|
|
5
5
|
export declare const OVERLAY_WRAPPER_STYLES: Styles;
|
6
6
|
export interface CubeModalProps extends ModalProps {
|
7
7
|
qa?: BaseProps['qa'];
|
8
|
-
onClose?: () => void;
|
8
|
+
onClose?: (action?: string) => void;
|
9
9
|
type?: 'modal' | 'fullscreen' | 'fullscreenTakeover';
|
10
10
|
styles?: Styles;
|
11
11
|
}
|
@@ -4,7 +4,7 @@ import { BaseProps } from '../../types';
|
|
4
4
|
import { TrayProps } from '@react-types/overlays';
|
5
5
|
export interface CubeTrayProps extends TrayProps {
|
6
6
|
qa?: BaseProps['qa'];
|
7
|
-
onClose?: () => void;
|
7
|
+
onClose?: (action?: string) => void;
|
8
8
|
isFixedHeight?: boolean;
|
9
9
|
isNonModal?: boolean;
|
10
10
|
styles?: Styles;
|