demio-ui 5.4.21 → 5.4.23

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/types.d.ts CHANGED
@@ -7,7 +7,7 @@ import { PopoverContentProps } from '@radix-ui/react-popover';
7
7
  export { Content as PopoverContent, Portal as PopoverPortal, Root as PopoverRoot, Trigger as PopoverTrigger } from '@radix-ui/react-popover';
8
8
  import * as SelectPrimitive from '@radix-ui/react-select';
9
9
 
10
- type Props$k = {
10
+ type Props$l = {
11
11
  className?: string;
12
12
  open: boolean;
13
13
  actionText?: string;
@@ -24,11 +24,11 @@ type Props$k = {
24
24
  isCloseButtonVisible?: boolean;
25
25
  onOpenChange?: (open: boolean) => void;
26
26
  };
27
- declare function Alert({ className, open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props$k): React__default.JSX.Element;
27
+ declare function Alert({ className, open, actionText, onActionClick, cancelText, onCancelClick, title, description, showLoader, isOkDisabled, actionButtonType, maxWidth, onClose, isCloseButtonVisible, ...props }: Props$l): React__default.JSX.Element;
28
28
 
29
29
  declare const AVATAR_SIZES: readonly [16, 24, 32, 40, 48, 64, 80, 96, 128];
30
30
  type AvatarSizeType = (typeof AVATAR_SIZES)[number];
31
- interface Props$j {
31
+ interface Props$k {
32
32
  src?: string;
33
33
  size?: AvatarSizeType;
34
34
  userName?: string;
@@ -36,18 +36,18 @@ interface Props$j {
36
36
  className?: string;
37
37
  fallbackDelay?: number;
38
38
  }
39
- declare const Avatar: FC<Props$j>;
39
+ declare const Avatar: FC<Props$k>;
40
40
 
41
- type Props$i = {
41
+ type Props$j = {
42
42
  className?: string;
43
43
  icon?: ReactNode;
44
44
  variant?: 'outlined' | 'contained';
45
45
  color?: 'green' | 'orange' | 'gray' | 'purple' | 'blue';
46
46
  children: ReactNode;
47
47
  };
48
- declare const Badge: FC<Props$i>;
48
+ declare const Badge: FC<Props$j>;
49
49
 
50
- type Props$h = {
50
+ type Props$i = {
51
51
  disabled?: boolean;
52
52
  children?: ReactNode;
53
53
  size?: 'small' | 'medium' | 'large';
@@ -64,10 +64,10 @@ type Props$h = {
64
64
  /**
65
65
  * Button component documentation.
66
66
  **/
67
- declare const Button$1: React__default.ForwardRefExoticComponent<Props$h & React__default.RefAttributes<HTMLButtonElement>>;
67
+ declare const Button$1: React__default.ForwardRefExoticComponent<Props$i & React__default.RefAttributes<HTMLButtonElement>>;
68
68
 
69
69
  type ColorVariants = 'red' | 'green' | 'dark';
70
- type Props$g<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'quarter'> = {
70
+ type Props$h<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'quarter'> = {
71
71
  disabled?: boolean;
72
72
  children?: ReactNode;
73
73
  variant?: Variant;
@@ -80,9 +80,9 @@ type Props$g<Variant extends string = 'primary' | 'secondary' | 'tertiary' | 'qu
80
80
  fullWidth?: boolean;
81
81
  showLoader?: boolean;
82
82
  };
83
- declare const Button: React__default.ForwardRefExoticComponent<Props$g<"primary" | "secondary" | "tertiary" | "quarter"> & React__default.RefAttributes<HTMLButtonElement>>;
83
+ declare const Button: React__default.ForwardRefExoticComponent<Props$h<"primary" | "secondary" | "tertiary" | "quarter"> & React__default.RefAttributes<HTMLButtonElement>>;
84
84
 
85
- type Props$f = {
85
+ type Props$g = {
86
86
  children?: ReactNode;
87
87
  className?: string;
88
88
  isEmptyStateAvailable?: boolean;
@@ -91,9 +91,9 @@ type Props$f = {
91
91
  emptyStateText?: ReactNode;
92
92
  shadowElevation?: number;
93
93
  };
94
- declare const Card: FC<Props$f>;
94
+ declare const Card: FC<Props$g>;
95
95
 
96
- type Props$e = {
96
+ type Props$f = {
97
97
  checked?: boolean;
98
98
  children?: React__default.ReactNode;
99
99
  defaultChecked?: boolean;
@@ -103,7 +103,7 @@ type Props$e = {
103
103
  onCheckedChange?: (checked: CheckedState) => void;
104
104
  value?: string;
105
105
  };
106
- declare const Checkbox: React__default.NamedExoticComponent<Props$e & React__default.RefAttributes<HTMLDivElement>>;
106
+ declare const Checkbox: React__default.NamedExoticComponent<Props$f & React__default.RefAttributes<HTMLDivElement>>;
107
107
 
108
108
  type InputProps = {
109
109
  autoComplete?: 'off' | 'on';
@@ -172,7 +172,7 @@ interface DnDAreaProps {
172
172
  }
173
173
  declare const DnDArea: FC<DnDAreaProps>;
174
174
 
175
- type Props$d = {
175
+ type Props$e = {
176
176
  children?: ReactNode;
177
177
  isOpen?: boolean;
178
178
  className?: string;
@@ -182,7 +182,7 @@ type Props$d = {
182
182
  align?: 'left' | 'right';
183
183
  isClosable?: boolean;
184
184
  };
185
- declare const Drawer: FC<Props$d>;
185
+ declare const Drawer: FC<Props$e>;
186
186
 
187
187
  declare const DropdownMenuContent: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuContentProps & React__default.RefAttributes<HTMLDivElement>>;
188
188
  declare const DropdownMenuSeparator: React__default.ForwardRefExoticComponent<{
@@ -195,7 +195,7 @@ declare const DropdownMenuItem: React__default.ForwardRefExoticComponent<Dropdow
195
195
  declare const DropdownMenuGroup: React__default.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React__default.RefAttributes<HTMLDivElement>>;
196
196
  declare const DropdownMenuPortal: React__default.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
197
197
 
198
- type Props$c = {
198
+ type Props$d = {
199
199
  children: ReactNode;
200
200
  className?: string;
201
201
  onSelect?: DropdownMenuPrimitive.DropdownMenuItemProps['onSelect'];
@@ -203,7 +203,16 @@ type Props$c = {
203
203
  isLabel?: boolean;
204
204
  disabled?: boolean;
205
205
  };
206
- declare const DropdownItem: FC<Props$c>;
206
+ declare const DropdownItem: FC<Props$d>;
207
+
208
+ type Props$c = {
209
+ children: ReactNode;
210
+ className?: string;
211
+ onSelect?: DropdownMenuPrimitive.DropdownMenuItemProps['onSelect'];
212
+ disabled?: boolean;
213
+ value: string;
214
+ };
215
+ declare const DropdownRadioItem: FC<Props$c>;
207
216
 
208
217
  type Props$b = {
209
218
  children: React__default.ReactNode;
@@ -3019,4 +3028,4 @@ declare class ToastManager {
3019
3028
  }
3020
3029
  declare const toast: ToastManager;
3021
3030
 
3022
- export { SvgAdd as AddIcon, Alert, SvgAlert as AlertIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeftDouble as ArrowLeftDoubleIcon, SvgArrowLeft as ArrowLeftIcon, SvgArrowLeftSingle as ArrowLeftSingleIcon, SvgAt as AtIcon, Avatar, Badge, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, Button$1 as Button, Button as ButtonNew, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCamera as CameraIcon, SvgCameraOutlined as CameraOutlinedIcon, Card, SvgChatDisabled as ChatDisabledIcon, SvgChatDisabledOld as ChatDisabledOldIcon, SvgChatIcon as ChatIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheck as CheckIcon, Checkbox, SvgCheckbox as CheckboxIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCompress as CompressIcon, SvgCopy as CopyIcon, CopyLinkInput, Crop, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, DnDArea, SvgDots as DotsIcon, SvgDownloadAll as DownloadAllIcon, SvgDownload as DownloadIcon, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, SvgEdit as EditIcon, SvgEditSection as EditSectionIcon, SvgElectricBolt as ElectricBoltIcon, SvgEmail as EmailIcon, SvgEmptyBasket as EmptyBasketIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExpand as ExpandIcon, SvgExternalLink as ExternalLinkIcon, SvgEyeSolid as EyeSolidIcon, SvgFacebook as FacebookIcon, SvgFacebookSquared as FacebookSquaredIcon, SvgFeatureAction as FeatureActionIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgFlipCamera as FlipCameraIcon, FormGroup, SvgGear as GearIcon, SvgHelp as HelpIcon, SvgHelpSolid as HelpSolidIcon, InfoBanner, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, Input, InputHint, SvgInsights as InsightsIcon, SvgItems as ItemsIcon, Label, SvgLifebuoy as LifebuoyIcon, SvgLinkedin as LinkedInIcon, SvgLinkedinSquared as LinkedInSquaredIcon, SvgList as ListIcon, Loader, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMaterial as MaterialIcon, SvgMaterials as MaterialsIcon, SvgMicBold as MicBoldIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMicOutlined as MicOutlinedIcon, SvgMobileDevice as MobileDeviceIcon, Modal, ModalScrollable, SvgMoney as MoneyIcon, MultiSelect, Note, SvgOnDemand as OnDemanIcon, SvgOutStage as OutStageIcon, Pagination, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPastSession as PastSessionIcon, SvgPeopleCommunity as PeopleCommunityIcon, SvgPeople as PeopleIcon, SvgPerson as Person, SvgPersonCard as PersonCardIcon, SvgPersonCheck as PersonCheckIcon, SvgPersonCrossed as PersonCrossedIcon, SvgPersonDelete as PersonDeleteIcon, SvgPerson as PersonIcon, SvgPersonPlus as PersonPlusIcon, SvgPlayCircle as PlayCircleIcon, SvgPlay as PlayIcon, SvgPlus as PlusIcon, SvgPoll as PollIcon, Popover, PopoverTooltip, SvgPresentation as PresentationIcon, Progress, SvgProgress as ProgressIcon, SvgProtection as ProtectionIcon, RadioGroup, SvgRadio as RadioIcon, SvgReplace as ReplaceIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRestart as RestartIcon, SvgRestreamingDisabled as RestreamingDisabledIcon, SvgRestreaming as RestreamingIcon, SvgRocket as RocketIcon, SvgScreenPerson as ScreenPersonIcon, SvgScreenSharing as ScreenShareIcon, SvgScreenScareWindows as ScreenShareWindowIcon, ModalScrollable as ScrollableModal, SvgSearch as SearchIcon, Select, SelectItem, SelectItemText, SvgSeriesType as SeriesTypeIcon, SvgSessionTime as SessionTimeIcon, SvgShield as ShieldIcon, SvgSidebar as SideBarIcon, SliderDemo as Slider, SvgSmile as SmileIcon, SvgSmileSolid as SmileSolidIcon, SvgSpotlight as SpotlightIcon, SvgStackedEmail as StackedEmailIcon, SvgStage as StageIcon, SvgStandardType as StandardTypeIcon, Switch, SvgSync as SyncIcon, Tab, TabsContent, TabsList, TabsRoot, Tag, SvgTimesCircle as TimesCircleIcon, Toast, SvgToday as TodayIcon, Tooltip, SvgTrash as TrashIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, Typography, SvgUndo as UndoIcon, SvgUnverified as UnverifiedIcon, SvgUpcomingSession as UpcomingSessionIcon, Upload, SvgUpload as UploadIcon, UploadMenu, UploadProgressPreview, SvgVerified as VerifiedIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning as WarningIcon, SvgWarning1 as WarningSolidIcon, SvgYoutube as YoutubeIcon, SvgYoutubeSquared as YoutubeSquaredIcon, createImage, getCroppedImageURL, getFileExtension, getFileMimeType, getRadianAngle, index as icons, isExtensionMatchingMimeType, isImage, isValidFileDimension, isValidFileSize, isValidFileType, isVideo, mimeTypeMap, rotateSize, toast, useCroppedImage, useFileValidation };
3031
+ export { SvgAdd as AddIcon, Alert, SvgAlert as AlertIcon, SvgKeyboardArrowDown as ArrowDownIcon, SvgArrowLeftDouble as ArrowLeftDoubleIcon, SvgArrowLeft as ArrowLeftIcon, SvgArrowLeftSingle as ArrowLeftSingleIcon, SvgAt as AtIcon, Avatar, Badge, SvgBarChart as BarChartIcon, SvgBlock as BlockIcon, SvgBlurOn as BlurOnIcon, Button$1 as Button, Button as ButtonNew, SvgCached as CachedIcon, SvgCalendar as CalendarIcon, SvgCamera as CameraIcon, SvgCameraOutlined as CameraOutlinedIcon, Card, SvgChatDisabled as ChatDisabledIcon, SvgChatDisabledOld as ChatDisabledOldIcon, SvgChatIcon as ChatIcon, SvgCheckCircle as CheckCircleIcon, SvgCheckCircleSolid as CheckCircleSolidIcon, SvgCheck as CheckIcon, Checkbox, SvgCheckbox as CheckboxIcon, SvgClock as ClockIcon, SvgClose as CloseIcon, SvgCompress as CompressIcon, SvgCopy as CopyIcon, CopyLinkInput, Crop, SvgCustomize as CustomizeIcon, SvgDelete as DeleteIcon, DnDArea, SvgDots as DotsIcon, SvgDownloadAll as DownloadAllIcon, SvgDownload as DownloadIcon, Drawer, DropdownItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger, DropdownRadioItem, SvgEdit as EditIcon, SvgEditSection as EditSectionIcon, SvgElectricBolt as ElectricBoltIcon, SvgEmail as EmailIcon, SvgEmptyBasket as EmptyBasketIcon, SvgEventDetails as EventDetailsIcon, SvgEventRepeat as EventRepeatIcon, SvgExclamation as ExclamationIcon, SvgExpand as ExpandIcon, SvgExternalLink as ExternalLinkIcon, SvgEyeSolid as EyeSolidIcon, SvgFacebook as FacebookIcon, SvgFacebookSquared as FacebookSquaredIcon, SvgFeatureAction as FeatureActionIcon, SvgFile as FileIcon, SvgFilterList as FilterListIcon, SvgFlipCamera as FlipCameraIcon, FormGroup, SvgGear as GearIcon, SvgHelp as HelpIcon, SvgHelpSolid as HelpSolidIcon, InfoBanner, SvgInfoCircle as InfoCircleIcon, SvgInfoCircleSolid as InfoCircleSolidIcon, SvgInfo as InfoIcon, SvgInfo1 as InfoSolidIcon, Input, InputHint, SvgInsights as InsightsIcon, SvgItems as ItemsIcon, Label, SvgLifebuoy as LifebuoyIcon, SvgLinkedin as LinkedInIcon, SvgLinkedinSquared as LinkedInSquaredIcon, SvgList as ListIcon, Loader, SvgLocation as LocationIcon, SvgLock as LockIcon, SvgMagic as MagicIcon, SvgMail as MailIcon, SvgMaterial as MaterialIcon, SvgMaterials as MaterialsIcon, SvgMicBold as MicBoldIcon, SvgMicOff1 as MicOffIcon, SvgMicOff as MicOffSolidIcon, SvgMic1 as MicOnSolidIcon, SvgMicOutlined as MicOutlinedIcon, SvgMobileDevice as MobileDeviceIcon, Modal, ModalScrollable, SvgMoney as MoneyIcon, MultiSelect, Note, SvgOnDemand as OnDemanIcon, SvgOutStage as OutStageIcon, Pagination, SvgPasswordEyeCrossed as PasswordEyeCrossedIcon, SvgPasswordEye as PasswordEyeIcon, SvgPastSession as PastSessionIcon, SvgPeopleCommunity as PeopleCommunityIcon, SvgPeople as PeopleIcon, SvgPerson as Person, SvgPersonCard as PersonCardIcon, SvgPersonCheck as PersonCheckIcon, SvgPersonCrossed as PersonCrossedIcon, SvgPersonDelete as PersonDeleteIcon, SvgPerson as PersonIcon, SvgPersonPlus as PersonPlusIcon, SvgPlayCircle as PlayCircleIcon, SvgPlay as PlayIcon, SvgPlus as PlusIcon, SvgPoll as PollIcon, Popover, PopoverTooltip, SvgPresentation as PresentationIcon, Progress, SvgProgress as ProgressIcon, SvgProtection as ProtectionIcon, RadioGroup, SvgRadio as RadioIcon, SvgReplace as ReplaceIcon, SvgReplayDisabled as ReplayDisabledIcon, SvgRestart as RestartIcon, SvgRestreamingDisabled as RestreamingDisabledIcon, SvgRestreaming as RestreamingIcon, SvgRocket as RocketIcon, SvgScreenPerson as ScreenPersonIcon, SvgScreenSharing as ScreenShareIcon, SvgScreenScareWindows as ScreenShareWindowIcon, ModalScrollable as ScrollableModal, SvgSearch as SearchIcon, Select, SelectItem, SelectItemText, SvgSeriesType as SeriesTypeIcon, SvgSessionTime as SessionTimeIcon, SvgShield as ShieldIcon, SvgSidebar as SideBarIcon, SliderDemo as Slider, SvgSmile as SmileIcon, SvgSmileSolid as SmileSolidIcon, SvgSpotlight as SpotlightIcon, SvgStackedEmail as StackedEmailIcon, SvgStage as StageIcon, SvgStandardType as StandardTypeIcon, Switch, SvgSync as SyncIcon, Tab, TabsContent, TabsList, TabsRoot, Tag, SvgTimesCircle as TimesCircleIcon, Toast, SvgToday as TodayIcon, Tooltip, SvgTrash as TrashIcon, SvgTrendingDown as TrendingDownIcon, SvgTrendingUp as TrendingUpIcon, Typography, SvgUndo as UndoIcon, SvgUnverified as UnverifiedIcon, SvgUpcomingSession as UpcomingSessionIcon, Upload, SvgUpload as UploadIcon, UploadMenu, UploadProgressPreview, SvgVerified as VerifiedIcon, SvgVideocam as VideoCamOnIcon, SvgVideocam1 as VideoCamOnSolidIcon, SvgVolumeOff1 as VolumeOffIcon, SvgVolumeUp as VolumeUpSolidIcon, SvgWarning as WarningIcon, SvgWarning1 as WarningSolidIcon, SvgYoutube as YoutubeIcon, SvgYoutubeSquared as YoutubeSquaredIcon, createImage, getCroppedImageURL, getFileExtension, getFileMimeType, getRadianAngle, index as icons, isExtensionMatchingMimeType, isImage, isValidFileDimension, isValidFileSize, isValidFileType, isVideo, mimeTypeMap, rotateSize, toast, useCroppedImage, useFileValidation };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "demio-ui",
3
- "version": "5.4.21",
3
+ "version": "5.4.23",
4
4
  "description": "",
5
5
  "repository": {
6
6
  "type": "git",