labsense-ui-kit 1.0.39 → 1.1.0
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/Badge/Badge.d.ts +14 -0
- package/dist/Badge/index.d.ts +2 -0
- package/dist/Breadcrums/Breadcrums.d.ts +13 -0
- package/dist/Breadcrums/index.d.ts +2 -0
- package/dist/Buttons/index.d.ts +1 -1
- package/dist/Carousel/ButtonCarousel.d.ts +7 -0
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Container&Span/StyledComponents.d.ts +50 -0
- package/dist/Date-Time/DatePicker.d.ts +15 -0
- package/dist/Date-Time/index.d.ts +2 -0
- package/dist/Dropdown/MultiSelectDropdown.d.ts +60 -0
- package/dist/Dropdown/OptionComponent.d.ts +28 -0
- package/dist/Dropdown/SelectOption.d.ts +74 -0
- package/dist/Dropdown/SelectedOption.d.ts +17 -0
- package/dist/Dropdown/index.d.ts +5 -0
- package/dist/Icons/SVGs/Add.d.ts +2 -2
- package/dist/Icons/SVGs/AddProfile.d.ts +2 -2
- package/dist/Icons/SVGs/Back.d.ts +2 -2
- package/dist/Icons/SVGs/Bin.d.ts +2 -2
- package/dist/Icons/SVGs/Bulb.d.ts +2 -2
- package/dist/Icons/SVGs/Business.d.ts +2 -2
- package/dist/Icons/SVGs/CCTV_1.d.ts +2 -2
- package/dist/Icons/SVGs/CCTV_2.d.ts +2 -2
- package/dist/Icons/SVGs/CPU.d.ts +2 -2
- package/dist/Icons/SVGs/Calendar.d.ts +2 -2
- package/dist/Icons/SVGs/Circle.d.ts +2 -2
- package/dist/Icons/SVGs/CircularEdit.d.ts +2 -2
- package/dist/Icons/SVGs/CircularPause.d.ts +2 -2
- package/dist/Icons/SVGs/CircularPlay.d.ts +2 -2
- package/dist/Icons/SVGs/CircularWarning.d.ts +2 -2
- package/dist/Icons/SVGs/Client.d.ts +2 -2
- package/dist/Icons/SVGs/Close.d.ts +2 -2
- package/dist/Icons/SVGs/CloseCircle.d.ts +2 -2
- package/dist/Icons/SVGs/CloseEye.d.ts +2 -2
- package/dist/Icons/SVGs/Copy.d.ts +2 -2
- package/dist/Icons/SVGs/Cyber.d.ts +2 -2
- package/dist/Icons/SVGs/DocumentBadge.d.ts +2 -2
- package/dist/Icons/SVGs/DownArrow.d.ts +2 -2
- package/dist/Icons/SVGs/Download.d.ts +2 -2
- package/dist/Icons/SVGs/Email.d.ts +2 -2
- package/dist/Icons/SVGs/ExitFullScreen.d.ts +2 -2
- package/dist/Icons/SVGs/FPS.d.ts +2 -2
- package/dist/Icons/SVGs/FaceRecognition.d.ts +2 -2
- package/dist/Icons/SVGs/FilesBox.d.ts +2 -2
- package/dist/Icons/SVGs/FilledCircle.d.ts +2 -2
- package/dist/Icons/SVGs/FilledPin.d.ts +2 -2
- package/dist/Icons/SVGs/Filter_1.d.ts +2 -2
- package/dist/Icons/SVGs/Filter_2.d.ts +2 -2
- package/dist/Icons/SVGs/Forward.d.ts +2 -2
- package/dist/Icons/SVGs/Forward_10_Sec.d.ts +2 -2
- package/dist/Icons/SVGs/Free.d.ts +2 -2
- package/dist/Icons/SVGs/FullScreen.d.ts +2 -2
- package/dist/Icons/SVGs/FullVolume.d.ts +2 -2
- package/dist/Icons/SVGs/Grid_2x2.d.ts +2 -2
- package/dist/Icons/SVGs/Grid_2x2_Hollow.d.ts +2 -2
- package/dist/Icons/SVGs/Grid_3x3.d.ts +2 -2
- package/dist/Icons/SVGs/Grid_4x4.d.ts +2 -2
- package/dist/Icons/SVGs/Grid_5x5.d.ts +2 -2
- package/dist/Icons/SVGs/Hazard.d.ts +2 -2
- package/dist/Icons/SVGs/Hexagon.d.ts +2 -2
- package/dist/Icons/SVGs/History.d.ts +2 -2
- package/dist/Icons/SVGs/Information.d.ts +2 -2
- package/dist/Icons/SVGs/Key.d.ts +2 -2
- package/dist/Icons/SVGs/KeyDown.d.ts +2 -2
- package/dist/Icons/SVGs/LeftArrow.d.ts +2 -2
- package/dist/Icons/SVGs/Letter.d.ts +2 -2
- package/dist/Icons/SVGs/Live.d.ts +2 -2
- package/dist/Icons/SVGs/Lock.d.ts +2 -2
- package/dist/Icons/SVGs/Logout.d.ts +2 -2
- package/dist/Icons/SVGs/Maps.d.ts +2 -2
- package/dist/Icons/SVGs/MediumVolume.d.ts +2 -2
- package/dist/Icons/SVGs/Menu.d.ts +2 -2
- package/dist/Icons/SVGs/Mute.d.ts +2 -2
- package/dist/Icons/SVGs/MuteVolume.d.ts +2 -2
- package/dist/Icons/SVGs/NetworkStorage.d.ts +2 -2
- package/dist/Icons/SVGs/NoCam.d.ts +2 -2
- package/dist/Icons/SVGs/NoStorage.d.ts +2 -2
- package/dist/Icons/SVGs/Notifications.d.ts +2 -2
- package/dist/Icons/SVGs/OpenBin.d.ts +2 -2
- package/dist/Icons/SVGs/OpenEye.d.ts +2 -2
- package/dist/Icons/SVGs/PasswordLock.d.ts +2 -2
- package/dist/Icons/SVGs/Phone.d.ts +2 -2
- package/dist/Icons/SVGs/Pin.d.ts +2 -2
- package/dist/Icons/SVGs/Pin_2.d.ts +2 -2
- package/dist/Icons/SVGs/Play.d.ts +2 -2
- package/dist/Icons/SVGs/Playback.d.ts +2 -2
- package/dist/Icons/SVGs/PremiumBadge.d.ts +2 -2
- package/dist/Icons/SVGs/ProcessingBulb.d.ts +2 -2
- package/dist/Icons/SVGs/Profile_1.d.ts +2 -2
- package/dist/Icons/SVGs/Profile_2.d.ts +2 -2
- package/dist/Icons/SVGs/Profile_3.d.ts +2 -2
- package/dist/Icons/SVGs/ROI.d.ts +2 -2
- package/dist/Icons/SVGs/Recording.d.ts +2 -2
- package/dist/Icons/SVGs/Rectangle.d.ts +2 -2
- package/dist/Icons/SVGs/Return.d.ts +2 -2
- package/dist/Icons/SVGs/Rewind_10_Sec.d.ts +2 -2
- package/dist/Icons/SVGs/RightArrow.d.ts +2 -2
- package/dist/Icons/SVGs/RunAway.d.ts +2 -2
- package/dist/Icons/SVGs/SandTimer.d.ts +2 -2
- package/dist/Icons/SVGs/Search.d.ts +2 -2
- package/dist/Icons/SVGs/Settings.d.ts +2 -2
- package/dist/Icons/SVGs/Shield.d.ts +2 -2
- package/dist/Icons/SVGs/SlantLine.d.ts +2 -2
- package/dist/Icons/SVGs/SquareEdit.d.ts +2 -2
- package/dist/Icons/SVGs/SquareTick.d.ts +2 -2
- package/dist/Icons/SVGs/StorageDisks.d.ts +2 -2
- package/dist/Icons/SVGs/Tag.d.ts +2 -2
- package/dist/Icons/SVGs/Team.d.ts +2 -2
- package/dist/Icons/SVGs/ThreeDots.d.ts +2 -2
- package/dist/Icons/SVGs/ThumbsUp.d.ts +2 -2
- package/dist/Icons/SVGs/Tick.d.ts +2 -2
- package/dist/Icons/SVGs/UnPinned.d.ts +2 -2
- package/dist/Icons/SVGs/UpArrow.d.ts +2 -2
- package/dist/Icons/SVGs/Video.d.ts +2 -2
- package/dist/Icons/SVGs/Wallet.d.ts +2 -2
- package/dist/Icons/SVGs/WiFiCam.d.ts +2 -2
- package/dist/Icons/SVGs/Zapper.d.ts +2 -2
- package/dist/Icons/SVGs/index.d.ts +1 -1
- package/dist/Icons/index.d.ts +2 -2
- package/dist/Inputs/SearchBox.d.ts +15 -0
- package/dist/Inputs/TextArea.d.ts +16 -0
- package/dist/Inputs/TextField.d.ts +25 -0
- package/dist/Inputs/TextFieldWithDropdown.d.ts +30 -0
- package/dist/Inputs/index.d.ts +5 -2
- package/dist/Loader/CircularLoader.d.ts +2 -2
- package/dist/Loader/Loader.d.ts +10 -0
- package/dist/Loader/index.d.ts +3 -2
- package/dist/Pagination/Pagination.d.ts +10 -0
- package/dist/Pagination/index.d.ts +2 -0
- package/dist/ProgressBar/ProgressBar.d.ts +1 -1
- package/dist/ProgressBar/index.d.ts +1 -1
- package/dist/Sidebar/Sidebar.d.ts +23 -0
- package/dist/Sidebar/index.d.ts +2 -0
- package/dist/Table/Table.d.ts +9 -0
- package/dist/Table/TableCell.d.ts +4 -0
- package/dist/Table/TableRow.d.ts +8 -0
- package/dist/Table/index.d.ts +46 -0
- package/dist/Tabs/InternalTabs.d.ts +16 -0
- package/dist/Tabs/Tabs.d.ts +18 -3
- package/dist/Tabs/index.d.ts +3 -2
- package/dist/Utils/Date&Time.d.ts +10 -0
- package/dist/hooks/index.d.ts +4 -3
- package/dist/hooks/useNotification.d.ts +31 -0
- package/dist/index.d.ts +33 -9
- package/dist/index.js +3337 -404
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3307 -404
- package/dist/index.modern.js.map +1 -1
- package/package.json +11 -5
- package/dist/Inputs/Input.d.ts +0 -16
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconProps } from '../Icons';
|
|
3
|
+
interface BadgeProps {
|
|
4
|
+
text: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
fontSize?: string;
|
|
7
|
+
padding?: string;
|
|
8
|
+
background?: string;
|
|
9
|
+
textColor?: string;
|
|
10
|
+
icon?: IconProps;
|
|
11
|
+
tooltipText?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const Badge: React.FC<BadgeProps>;
|
|
14
|
+
export default Badge;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface Breadcrumb {
|
|
3
|
+
navigateLink?: string;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
interface BreadcrumbsProps {
|
|
7
|
+
backLink?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
breadcrumbs: Breadcrumb[];
|
|
10
|
+
onBackClick?: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
|
|
13
|
+
export default Breadcrumbs;
|
package/dist/Buttons/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import Button, { ButtonProps, ButtonLoaderProps } from
|
|
1
|
+
import Button, { ButtonProps, ButtonLoaderProps } from './Button';
|
|
2
2
|
export { Button, ButtonProps, ButtonLoaderProps };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export declare const Container: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
2
|
+
$width?: string | undefined;
|
|
3
|
+
$minWidth?: string | undefined;
|
|
4
|
+
$maxWidth?: string | undefined;
|
|
5
|
+
$height?: string | undefined;
|
|
6
|
+
$minHeight?: string | undefined;
|
|
7
|
+
$maxHeight?: string | undefined;
|
|
8
|
+
$flex?: string | undefined;
|
|
9
|
+
$flexDirection?: string | undefined;
|
|
10
|
+
$justifyContent?: string | undefined;
|
|
11
|
+
$alignItems?: string | undefined;
|
|
12
|
+
$gap?: string | undefined;
|
|
13
|
+
$padding?: string | undefined;
|
|
14
|
+
$background?: string | undefined;
|
|
15
|
+
$fontSize?: string | undefined;
|
|
16
|
+
$borderRadius?: string | undefined;
|
|
17
|
+
$objectfit?: string | undefined;
|
|
18
|
+
$margin?: string | undefined;
|
|
19
|
+
$cursor?: string | undefined;
|
|
20
|
+
$opacity?: number | undefined;
|
|
21
|
+
$pointerEvents?: string | undefined;
|
|
22
|
+
$position?: string | undefined;
|
|
23
|
+
$top?: string | undefined;
|
|
24
|
+
$bottom?: string | undefined;
|
|
25
|
+
$left?: string | undefined;
|
|
26
|
+
$right?: string | undefined;
|
|
27
|
+
$flexWrap?: string | undefined;
|
|
28
|
+
$textAlign?: string | undefined;
|
|
29
|
+
$overflow?: string | undefined;
|
|
30
|
+
$overflowY?: string | undefined;
|
|
31
|
+
$color?: string | undefined;
|
|
32
|
+
$zIndex?: number | undefined;
|
|
33
|
+
$scrollbarWidth?: string | undefined;
|
|
34
|
+
$border?: string | undefined;
|
|
35
|
+
$bottomborder?: string | undefined;
|
|
36
|
+
$fontWeight?: string | undefined;
|
|
37
|
+
$hoverBackground?: string | undefined;
|
|
38
|
+
$hoverColor?: string | undefined;
|
|
39
|
+
}>> & string;
|
|
40
|
+
export declare const Span: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {
|
|
41
|
+
$fontFamily?: string | undefined;
|
|
42
|
+
$fontWeight?: string | undefined;
|
|
43
|
+
$fontSize?: string | undefined;
|
|
44
|
+
$color?: string | undefined;
|
|
45
|
+
$lineHeight?: string | undefined;
|
|
46
|
+
$textAlign?: string | undefined;
|
|
47
|
+
$width?: string | undefined;
|
|
48
|
+
$minWidth?: string | undefined;
|
|
49
|
+
$overflowWrap?: string | undefined;
|
|
50
|
+
}>> & string;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DatePickerProps {
|
|
3
|
+
dateSize?: number;
|
|
4
|
+
futureDateTime?: boolean;
|
|
5
|
+
dateTime: {
|
|
6
|
+
startDate: Date | null;
|
|
7
|
+
endDate: Date | null;
|
|
8
|
+
};
|
|
9
|
+
setDateTime: React.Dispatch<React.SetStateAction<{
|
|
10
|
+
startDate: Date | null;
|
|
11
|
+
endDate: Date | null;
|
|
12
|
+
}>>;
|
|
13
|
+
}
|
|
14
|
+
declare const DatePicker: React.FC<DatePickerProps>;
|
|
15
|
+
export default DatePicker;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon, IconNames } from '../Icons';
|
|
3
|
+
export declare const Asterisk: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, never>> & string;
|
|
4
|
+
interface IconProps {
|
|
5
|
+
size?: number;
|
|
6
|
+
weight?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
}
|
|
9
|
+
interface Icon {
|
|
10
|
+
name?: IconNames;
|
|
11
|
+
size?: number;
|
|
12
|
+
weight?: string;
|
|
13
|
+
color?: string;
|
|
14
|
+
}
|
|
15
|
+
interface Option {
|
|
16
|
+
value: string;
|
|
17
|
+
labelText: string;
|
|
18
|
+
}
|
|
19
|
+
interface MultiSelectDropdownProps {
|
|
20
|
+
options: Option[];
|
|
21
|
+
title?: string;
|
|
22
|
+
titleSize?: number;
|
|
23
|
+
titleColor?: string;
|
|
24
|
+
labelText?: string;
|
|
25
|
+
handleSelectChange: (selectedValues: string[]) => void;
|
|
26
|
+
placeholder?: string;
|
|
27
|
+
width?: string;
|
|
28
|
+
height?: string;
|
|
29
|
+
background?: string;
|
|
30
|
+
border?: string;
|
|
31
|
+
borderRadius?: string;
|
|
32
|
+
menuBackground?: string;
|
|
33
|
+
optionBorder?: string;
|
|
34
|
+
optionColor?: string;
|
|
35
|
+
searchIcon?: IconProps;
|
|
36
|
+
searchbarTextColor?: string;
|
|
37
|
+
optionsBorderRadius?: string;
|
|
38
|
+
selectedOptionBackground?: string;
|
|
39
|
+
selectedOptionColor?: string;
|
|
40
|
+
selectedOptions: string[];
|
|
41
|
+
placeholderColor?: string;
|
|
42
|
+
removeIconBackground?: string;
|
|
43
|
+
removeIcon?: IconProps;
|
|
44
|
+
searchBoxBackground?: string;
|
|
45
|
+
searchBoxBorder?: string;
|
|
46
|
+
searchBoxBorderRadius?: string;
|
|
47
|
+
type?: 'add' | 'remove';
|
|
48
|
+
size?: 'small' | 'medium' | 'large';
|
|
49
|
+
replaceLabel?: boolean;
|
|
50
|
+
icon?: Icon;
|
|
51
|
+
optionWidth?: string;
|
|
52
|
+
labelStyle?: string;
|
|
53
|
+
labelColor?: string;
|
|
54
|
+
disabled?: boolean;
|
|
55
|
+
required?: boolean;
|
|
56
|
+
searchBox?: boolean;
|
|
57
|
+
NoOptionsText?: string;
|
|
58
|
+
}
|
|
59
|
+
declare const MultiSelectDropdown: React.FC<MultiSelectDropdownProps>;
|
|
60
|
+
export default MultiSelectDropdown;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Option {
|
|
3
|
+
value: string;
|
|
4
|
+
labelText: string;
|
|
5
|
+
}
|
|
6
|
+
interface IconProps {
|
|
7
|
+
size?: number;
|
|
8
|
+
weight?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
}
|
|
11
|
+
interface OptionProps {
|
|
12
|
+
options: Option[];
|
|
13
|
+
selectedOptions: string[];
|
|
14
|
+
onChange: (selectedValues: string[]) => void;
|
|
15
|
+
placeholder?: string;
|
|
16
|
+
placeholderColor?: string;
|
|
17
|
+
optionBorder?: string;
|
|
18
|
+
optionColor?: string;
|
|
19
|
+
searchIcon?: IconProps;
|
|
20
|
+
searchbarTextColor?: string;
|
|
21
|
+
searchBoxBorder?: string;
|
|
22
|
+
searchBoxBorderRadius?: string;
|
|
23
|
+
searchBoxBackground?: string;
|
|
24
|
+
searchBox?: boolean;
|
|
25
|
+
NoOptionsText?: string;
|
|
26
|
+
}
|
|
27
|
+
declare const OptionComponent: React.FC<OptionProps>;
|
|
28
|
+
export default OptionComponent;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Icon, IconNames } from '../Icons';
|
|
3
|
+
export declare const Options: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
4
|
+
$optionColor?: string | undefined;
|
|
5
|
+
$optionFontSize?: string | undefined;
|
|
6
|
+
$optionFontWeight?: string | undefined;
|
|
7
|
+
$optionBackgroundColor?: string | undefined;
|
|
8
|
+
$optionSelected?: boolean | undefined;
|
|
9
|
+
}>> & string;
|
|
10
|
+
export declare const DropdownMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components/dist/types").Substitute<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {
|
|
11
|
+
$menuBackground?: string | undefined;
|
|
12
|
+
$optionsBorderRadius?: string | undefined;
|
|
13
|
+
$width?: string | undefined;
|
|
14
|
+
$top?: string | undefined;
|
|
15
|
+
$bottom?: string | undefined;
|
|
16
|
+
$optionsAvailable: boolean;
|
|
17
|
+
}>> & string;
|
|
18
|
+
interface Option {
|
|
19
|
+
label: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
interface Icon {
|
|
23
|
+
name: IconNames;
|
|
24
|
+
size?: number;
|
|
25
|
+
weight?: string;
|
|
26
|
+
color?: string;
|
|
27
|
+
}
|
|
28
|
+
interface SearchIconProps {
|
|
29
|
+
size?: number;
|
|
30
|
+
weight?: string;
|
|
31
|
+
color?: string;
|
|
32
|
+
}
|
|
33
|
+
interface SelectOption {
|
|
34
|
+
title?: string;
|
|
35
|
+
titlecolor?: string;
|
|
36
|
+
titleWeight?: string;
|
|
37
|
+
options: Option[];
|
|
38
|
+
value: string;
|
|
39
|
+
onChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
size?: 'small' | 'medium' | 'large';
|
|
42
|
+
labelText?: string;
|
|
43
|
+
width?: string;
|
|
44
|
+
color?: string;
|
|
45
|
+
padding?: string;
|
|
46
|
+
optionColor?: string;
|
|
47
|
+
optionFontSize?: string;
|
|
48
|
+
optionFontWeight?: string;
|
|
49
|
+
optionBackgroundColor?: string;
|
|
50
|
+
border?: string;
|
|
51
|
+
background?: string;
|
|
52
|
+
borderRadius?: string;
|
|
53
|
+
menuBackground?: string;
|
|
54
|
+
optionsBorderRadius?: string;
|
|
55
|
+
required?: boolean;
|
|
56
|
+
NoOptionsText?: string;
|
|
57
|
+
positionRef?: React.RefObject<HTMLElement>;
|
|
58
|
+
fontStyle?: string;
|
|
59
|
+
icon?: Icon;
|
|
60
|
+
searchBox?: boolean;
|
|
61
|
+
searchBoxBackground?: string;
|
|
62
|
+
searchBoxBorder?: string;
|
|
63
|
+
searchBoxBorderRadius?: string;
|
|
64
|
+
searchIcon?: SearchIconProps;
|
|
65
|
+
searchbarTextColor?: string;
|
|
66
|
+
placeholderText?: string;
|
|
67
|
+
iconColor?: string;
|
|
68
|
+
placeholderColor?: string;
|
|
69
|
+
inputColor?: string;
|
|
70
|
+
iconSize?: number;
|
|
71
|
+
allowDeselect?: boolean;
|
|
72
|
+
}
|
|
73
|
+
declare const SelectOption: React.FC<SelectOption>;
|
|
74
|
+
export default SelectOption;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface Option {
|
|
3
|
+
value: string;
|
|
4
|
+
labelText: string;
|
|
5
|
+
}
|
|
6
|
+
interface SelectedOptionProps {
|
|
7
|
+
selectedOptions: string[];
|
|
8
|
+
allOptions: Option[];
|
|
9
|
+
selectedOptionBackground?: string;
|
|
10
|
+
selectedOptionColor?: string;
|
|
11
|
+
removeIconBackground?: string;
|
|
12
|
+
removeIconColor?: string;
|
|
13
|
+
onChange?: (selectedValues: string[]) => void;
|
|
14
|
+
type?: 'add' | 'remove';
|
|
15
|
+
}
|
|
16
|
+
declare const SelectedOption: React.FC<SelectedOptionProps>;
|
|
17
|
+
export default SelectedOption;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import MultiSelectDropdown from './MultiSelectDropdown';
|
|
2
|
+
import OptionComponent from './OptionComponent';
|
|
3
|
+
import SelectedOption from './SelectedOption';
|
|
4
|
+
import SelectOption from './SelectOption';
|
|
5
|
+
export { MultiSelectDropdown, OptionComponent, SelectedOption, SelectOption };
|
package/dist/Icons/SVGs/Add.d.ts
CHANGED
package/dist/Icons/SVGs/Bin.d.ts
CHANGED
package/dist/Icons/SVGs/CPU.d.ts
CHANGED
package/dist/Icons/SVGs/FPS.d.ts
CHANGED