demio-ui 2.1.68 → 2.1.69
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.
|
@@ -2,6 +2,7 @@ export { default as Alert } from './Alert';
|
|
|
2
2
|
export { default as Avatar } from './Avatar';
|
|
3
3
|
export { default as Badge } from './Badge';
|
|
4
4
|
export { default as Button } from './Button';
|
|
5
|
+
export { default as ButtonNew } from './ButtonNew';
|
|
5
6
|
export { default as Card } from './Card';
|
|
6
7
|
export { default as Checkbox } from './Checkbox';
|
|
7
8
|
export { default as Drawer } from './Drawer';
|
package/dist/types.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ import { PopoverContentTypeProps } from '@radix-ui/react-popover';
|
|
|
5
5
|
export { Content as PopoverContent, Portal as PopoverPortal, Root as PopoverRoot, Trigger as PopoverTrigger } from '@radix-ui/react-popover';
|
|
6
6
|
import * as SelectPrimitive from '@radix-ui/react-select';
|
|
7
7
|
|
|
8
|
-
type Props$
|
|
8
|
+
type Props$m = {
|
|
9
9
|
open: boolean;
|
|
10
10
|
actionText?: string;
|
|
11
11
|
onActionClick: MouseEventHandler<HTMLButtonElement>;
|
|
@@ -20,11 +20,11 @@ type Props$l = {
|
|
|
20
20
|
maxWidth?: string;
|
|
21
21
|
isCloseButtonVisible?: boolean;
|
|
22
22
|
};
|
|
23
|
-
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, }: Props$
|
|
23
|
+
declare function Alert({ open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, }: Props$m): React__default.JSX.Element;
|
|
24
24
|
|
|
25
25
|
declare const AVATAR_SIZES: readonly [16, 24, 32, 40, 48, 64, 80, 96, 128];
|
|
26
26
|
type AvatarSizeType = (typeof AVATAR_SIZES)[number];
|
|
27
|
-
interface Props$
|
|
27
|
+
interface Props$l {
|
|
28
28
|
src?: string;
|
|
29
29
|
size?: AvatarSizeType;
|
|
30
30
|
userName?: string;
|
|
@@ -32,18 +32,18 @@ interface Props$k {
|
|
|
32
32
|
className?: string;
|
|
33
33
|
fallbackDelay?: number;
|
|
34
34
|
}
|
|
35
|
-
declare const Avatar: FC<Props$
|
|
35
|
+
declare const Avatar: FC<Props$l>;
|
|
36
36
|
|
|
37
|
-
type Props$
|
|
37
|
+
type Props$k = {
|
|
38
38
|
className?: string;
|
|
39
39
|
icon?: ReactNode;
|
|
40
40
|
variant?: 'outlined' | 'contained';
|
|
41
41
|
color?: 'green' | 'orange' | 'gray' | 'purple' | 'blue';
|
|
42
42
|
children: ReactNode;
|
|
43
43
|
};
|
|
44
|
-
declare const Badge: FC<Props$
|
|
44
|
+
declare const Badge: FC<Props$k>;
|
|
45
45
|
|
|
46
|
-
type Props$
|
|
46
|
+
type Props$j = {
|
|
47
47
|
disabled?: boolean;
|
|
48
48
|
children?: string;
|
|
49
49
|
size?: 'small' | 'medium' | 'large';
|
|
@@ -59,7 +59,23 @@ type Props$i = {
|
|
|
59
59
|
/**
|
|
60
60
|
* Button component documentation.
|
|
61
61
|
**/
|
|
62
|
-
declare const Button: React__default.ForwardRefExoticComponent<Props$
|
|
62
|
+
declare const Button$1: React__default.ForwardRefExoticComponent<Props$j & React__default.RefAttributes<HTMLButtonElement>>;
|
|
63
|
+
|
|
64
|
+
type ColorVariants = 'red' | 'green' | 'dark';
|
|
65
|
+
type Props$i<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'quartery'> = {
|
|
66
|
+
disabled?: boolean;
|
|
67
|
+
children?: ReactNode;
|
|
68
|
+
variant?: Variant;
|
|
69
|
+
color?: Variant extends 'primary' | 'secondary' ? ColorVariants : never;
|
|
70
|
+
onClick: MouseEventHandler<HTMLButtonElement>;
|
|
71
|
+
type?: 'button' | 'submit' | 'reset';
|
|
72
|
+
className?: string;
|
|
73
|
+
prefix?: ReactNode;
|
|
74
|
+
suffix?: ReactNode;
|
|
75
|
+
fullWidth?: boolean;
|
|
76
|
+
showLoader?: boolean;
|
|
77
|
+
};
|
|
78
|
+
declare const Button: React__default.ForwardRefExoticComponent<Props$i<"primary" | "secondary" | "tertiary" | "quartery"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
63
79
|
|
|
64
80
|
type Props$h = {
|
|
65
81
|
children?: ReactNode;
|
|
@@ -1786,4 +1802,4 @@ declare namespace index {
|
|
|
1786
1802
|
export { SvgAdd as AddIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeft as ArrowLeftIcon, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCalendarStar as CalendarStarIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheckbox as CheckboxIcon, SvgCheckboxUncheck as CheckboxUncheckIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCopy as CopyIcon, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, SvgDots as DotsIcon, SvgEdit as EditIcon, SvgElectricBolt as ElectricBoltIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExternalLink as ExternalLinkIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, SvgItems as ItemsIcon, SvgList as ListIcon, SvgListTh as ListThIcon, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMaterials as MaterialsIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMic as MicOnfIcon, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPerson as Person, SvgPlay as PlayIcon, SvgPoll as PollIcon, SvgProgress as ProgressIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRocket as RocketIcon, SvgSearch as SearchIcon, SvgSmile as SmileIcon, SvgStackedEmail as StackedEmailIcon, SvgSync as SyncIcon, SvgTimesCircle as TimesCircleIcon, SvgToday as TodayIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, SvgVideocamOff as VideoCamOffIcon, SvgVideocamOff1 as VideoCamOffSolidIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeOff as VolumeOffSolidIcon, SvgVolumeUp1 as VolumeUpIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning1 as WarningIcon, SvgWarning as WarningSolidIcon };
|
|
1787
1803
|
}
|
|
1788
1804
|
|
|
1789
|
-
export { Alert, Avatar, Badge, Button, Card, Checkbox, Drawer, Dropdown, DropdownItem, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, MultiSelect, Popover, Progress, RadioGroup, Select, SelectItem, SelectItemText, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, index as icons };
|
|
1805
|
+
export { Alert, Avatar, Badge, Button$1 as Button, Button as ButtonNew, Card, Checkbox, Drawer, Dropdown, DropdownItem, FormGroup, InfoBanner, Input, InputHint, Label, Loader, Modal, MultiSelect, Popover, Progress, RadioGroup, Select, SelectItem, SelectItemText, Switch, Tab, TabsContent, TabsList, TabsRoot, Tag, Tooltip, Typography, index as icons };
|