demio-ui 2.5.4 → 2.5.7
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.
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { MouseEventHandler } from 'react';
|
|
2
2
|
type Props = {
|
|
3
|
+
className?: string;
|
|
3
4
|
open: boolean;
|
|
4
5
|
actionText?: string;
|
|
5
6
|
onActionClick: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -15,5 +16,5 @@ type Props = {
|
|
|
15
16
|
isCloseButtonVisible?: boolean;
|
|
16
17
|
onOpenChange?: (open: boolean) => void;
|
|
17
18
|
};
|
|
18
|
-
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props): React.JSX.Element;
|
|
19
|
+
declare function Alert({ className, open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props): React.JSX.Element;
|
|
19
20
|
export default Alert;
|
package/dist/types.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as SelectPrimitive from '@radix-ui/react-select';
|
|
|
10
10
|
import { RcFile, UploadProgressEvent } from 'rc-upload/es/interface';
|
|
11
11
|
|
|
12
12
|
type Props$l = {
|
|
13
|
+
className?: string;
|
|
13
14
|
open: boolean;
|
|
14
15
|
actionText?: string;
|
|
15
16
|
onActionClick: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -25,7 +26,7 @@ type Props$l = {
|
|
|
25
26
|
isCloseButtonVisible?: boolean;
|
|
26
27
|
onOpenChange?: (open: boolean) => void;
|
|
27
28
|
};
|
|
28
|
-
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props$l): React__default.JSX.Element;
|
|
29
|
+
declare function Alert({ className, open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props$l): React__default.JSX.Element;
|
|
29
30
|
|
|
30
31
|
declare const AVATAR_SIZES: readonly [16, 24, 32, 40, 48, 64, 80, 96, 128];
|
|
31
32
|
type AvatarSizeType = (typeof AVATAR_SIZES)[number];
|