labsense-ui-kit 1.1.11 → 1.1.12
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/Inputs/CheckBox.d.ts +16 -0
- package/dist/Inputs/index.d.ts +2 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2046 -647
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2047 -649
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CheckBoxProps {
|
|
3
|
+
label?: string;
|
|
4
|
+
labelSide?: 'right' | 'left';
|
|
5
|
+
checkboxSize?: number;
|
|
6
|
+
checked: boolean;
|
|
7
|
+
gap?: string;
|
|
8
|
+
onChange: (checked: boolean) => void;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
fontSize?: string;
|
|
11
|
+
fontWeight?: string;
|
|
12
|
+
color?: string;
|
|
13
|
+
borderSize?: number;
|
|
14
|
+
}
|
|
15
|
+
declare const CheckBox: React.FC<CheckBoxProps>;
|
|
16
|
+
export default CheckBox;
|
package/dist/Inputs/index.d.ts
CHANGED
|
@@ -2,4 +2,5 @@ import SearchBox from './SearchBox';
|
|
|
2
2
|
import TextArea from './TextArea';
|
|
3
3
|
import TextField from './TextField';
|
|
4
4
|
import TextFieldWithDropdown from './TextFieldWithDropdown';
|
|
5
|
-
|
|
5
|
+
import CheckBox from './CheckBox';
|
|
6
|
+
export { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox };
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import { DatePicker } from './Date-Time';
|
|
|
7
7
|
import { MultiSelectDropdown, OptionComponent, SelectedOption, SelectOption, DropdownMenu, Options } from './Dropdown';
|
|
8
8
|
import { useClickOutside, useCustomModal, useNotification } from './hooks';
|
|
9
9
|
import { Icon, IconNames } from './Icons';
|
|
10
|
-
import { SearchBox, TextArea, TextField, TextFieldWithDropdown } from './Inputs';
|
|
10
|
+
import { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox } from './Inputs';
|
|
11
11
|
import { CircularLoader, Loader } from './Loader';
|
|
12
12
|
import { Pagination } from './Pagination';
|
|
13
13
|
import { ProgressBar } from './ProgressBar';
|
|
@@ -25,7 +25,7 @@ export { DatePicker };
|
|
|
25
25
|
export { MultiSelectDropdown, OptionComponent, SelectedOption, SelectOption, DropdownMenu, Options };
|
|
26
26
|
export { useClickOutside, useCustomModal, useNotification };
|
|
27
27
|
export { Icon, IconNames };
|
|
28
|
-
export { SearchBox, TextArea, TextField, TextFieldWithDropdown };
|
|
28
|
+
export { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox };
|
|
29
29
|
export { CircularLoader, Loader };
|
|
30
30
|
export { Pagination };
|
|
31
31
|
export { ProgressBar };
|