demio-ui 2.1.64 → 2.1.66
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/cjs/index.css +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/types/src/components/Checkbox/Checkbox.d.ts +6 -12
- package/dist/cjs/types/src/icons/index.d.ts +2 -1
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/types/src/components/Checkbox/Checkbox.d.ts +6 -12
- package/dist/esm/types/src/icons/index.d.ts +2 -1
- package/dist/types.d.ts +134 -127
- package/package.json +1 -1
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { CheckedState } from '@radix-ui/react-checkbox';
|
|
2
3
|
type Props = {
|
|
3
|
-
|
|
4
|
+
checked?: boolean;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
defaultChecked?: boolean;
|
|
4
7
|
disabled?: boolean;
|
|
5
8
|
id: string;
|
|
6
|
-
defaultChecked?: boolean;
|
|
7
|
-
checked?: boolean;
|
|
8
|
-
onChange?: (event: {
|
|
9
|
-
checked: boolean;
|
|
10
|
-
name: string;
|
|
11
|
-
value: string;
|
|
12
|
-
}) => void;
|
|
13
9
|
name?: string;
|
|
10
|
+
onCheckedChange?: (checked: CheckedState) => void;
|
|
14
11
|
value?: string;
|
|
15
12
|
};
|
|
16
|
-
|
|
17
|
-
* Checkbox component documentation.
|
|
18
|
-
**/
|
|
19
|
-
declare function Checkbox({ children, id, checked, onChange, disabled, defaultChecked, name, value, ...props }: Props): React.JSX.Element;
|
|
13
|
+
declare const Checkbox: React.MemoExoticComponent<({ children, disabled, id, ...props }: Props) => React.JSX.Element>;
|
|
20
14
|
export default Checkbox;
|
|
@@ -27,6 +27,7 @@ import FilterListIcon from './filter_list.svg';
|
|
|
27
27
|
import InfoIcon from './info.svg';
|
|
28
28
|
import InfoSolidIcon from './info-1.svg';
|
|
29
29
|
import InfoCircleIcon from './info-circle.svg';
|
|
30
|
+
import InfoCircleSolidIcon from './info-circle-solid.svg';
|
|
30
31
|
import ItemsIcon from './items.svg';
|
|
31
32
|
import ArrowDownIcon from './keyboard_arrow_down.svg';
|
|
32
33
|
import ListIcon from './list.svg';
|
|
@@ -66,4 +67,4 @@ import VolumeUpSolidIcon from './volume_up.svg';
|
|
|
66
67
|
import VolumeUpIcon from './volume_up-1.svg';
|
|
67
68
|
import WarningSolidIcon from './warning.svg';
|
|
68
69
|
import WarningIcon from './warning-1.svg';
|
|
69
|
-
export { AddIcon, ArrowDownIcon, ArrowLeftIcon, BarChartIcon, BlockIcon, BlurOnIcon, CachedIcon, CalendarIcon, CalendarStarIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CheckCircleSolidIcon, ClockIcon, CloseIcon, CopyIcon, CustomizeIcon, DeleteIcon, DotsIcon, EditIcon, ElectricBoltIcon, EventDetailsIcon, EventRepeatIcon, ExclamationIcon, ExternalLinkIcon, FileIcon, FilterListIcon, InfoCircleIcon, InfoIcon, InfoSolidIcon, ItemsIcon, ListIcon, ListThIcon, LocationIcon, LockIcon, MagicIcon, MailIcon, MaterialsIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, PasswordEyeCrossedIcon, PasswordEyeIcon, Person, PlayIcon, PollIcon, ProgressIcon, ReplayDisabledIcon, RocketIcon, SearchIcon, SmileIcon, StackedEmailIcon, SyncIcon, TimesCircleIcon, TodayIcon, TrendingDownIcon, TrendingUpIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
|
|
70
|
+
export { AddIcon, ArrowDownIcon, ArrowLeftIcon, BarChartIcon, BlockIcon, BlurOnIcon, CachedIcon, CalendarIcon, CalendarStarIcon, CheckboxIcon, CheckboxUncheckIcon, CheckCircleIcon, CheckCircleSolidIcon, ClockIcon, CloseIcon, CopyIcon, CustomizeIcon, DeleteIcon, DotsIcon, EditIcon, ElectricBoltIcon, EventDetailsIcon, EventRepeatIcon, ExclamationIcon, ExternalLinkIcon, FileIcon, FilterListIcon, InfoCircleIcon, InfoCircleSolidIcon, InfoIcon, InfoSolidIcon, ItemsIcon, ListIcon, ListThIcon, LocationIcon, LockIcon, MagicIcon, MailIcon, MaterialsIcon, MicOffIcon, MicOffSolidIcon, MicOnfIcon, MicOnSolidIcon, PasswordEyeCrossedIcon, PasswordEyeIcon, Person, PlayIcon, PollIcon, ProgressIcon, ReplayDisabledIcon, RocketIcon, SearchIcon, SmileIcon, StackedEmailIcon, SyncIcon, TimesCircleIcon, TodayIcon, TrendingDownIcon, TrendingUpIcon, VideoCamOffIcon, VideoCamOffSolidIcon, VideoCamOnIcon, VideoCamOnSolidIcon, VolumeOffIcon, VolumeOffSolidIcon, VolumeUpIcon, VolumeUpSolidIcon, WarningIcon, WarningSolidIcon, };
|