labsense-ui-kit 1.3.22 → 1.3.24
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 +34 -0
- package/dist/Badge/IconTooltip.d.ts +25 -0
- package/dist/Badge/index.d.ts +3 -0
- package/dist/Breadcrums/Breadcrums.d.ts +13 -0
- package/dist/Breadcrums/index.d.ts +2 -0
- package/dist/Buttons/Button.d.ts +38 -0
- package/dist/Buttons/index.d.ts +2 -0
- package/dist/Carousel/ButtonCarousel.d.ts +7 -0
- package/dist/Carousel/index.d.ts +2 -0
- package/dist/Container&Span/StyledComponents.d.ts +65 -0
- package/dist/Date-Time/DatePicker.d.ts +15 -0
- package/dist/Date-Time/index.d.ts +2 -0
- package/dist/Dropdown/ButtonDropdown.d.ts +16 -0
- package/dist/Dropdown/MultiSelectDropdown.d.ts +61 -0
- package/dist/Dropdown/OptionComponent.d.ts +28 -0
- package/dist/Dropdown/SelectOption.d.ts +80 -0
- package/dist/Dropdown/SelectedOption.d.ts +17 -0
- package/dist/Dropdown/index.d.ts +6 -0
- package/dist/Fonts/Font.d.ts +6 -0
- package/dist/Icons/SVGs/AI_Brain.d.ts +4 -0
- package/dist/Icons/SVGs/AI_License.d.ts +4 -0
- package/dist/Icons/SVGs/AI_Web.d.ts +4 -0
- package/dist/Icons/SVGs/Action.d.ts +4 -0
- package/dist/Icons/SVGs/AddProfile.d.ts +4 -0
- package/dist/Icons/SVGs/AddUser.d.ts +4 -0
- package/dist/Icons/SVGs/Add_1.d.ts +4 -0
- package/dist/Icons/SVGs/Add_2.d.ts +4 -0
- package/dist/Icons/SVGs/Analytics.d.ts +4 -0
- package/dist/Icons/SVGs/App.d.ts +4 -0
- package/dist/Icons/SVGs/ArrowDown.d.ts +4 -0
- package/dist/Icons/SVGs/ArrowUp.d.ts +4 -0
- package/dist/Icons/SVGs/Arrow_Up_Down_Left_Right.d.ts +4 -0
- package/dist/Icons/SVGs/Ascending.d.ts +4 -0
- package/dist/Icons/SVGs/Back.d.ts +4 -0
- package/dist/Icons/SVGs/Bag.d.ts +4 -0
- package/dist/Icons/SVGs/Bank.d.ts +4 -0
- package/dist/Icons/SVGs/Bell.d.ts +4 -0
- package/dist/Icons/SVGs/Bin.d.ts +4 -0
- package/dist/Icons/SVGs/BookmarkAdd.d.ts +4 -0
- package/dist/Icons/SVGs/BookmarkSaved.d.ts +4 -0
- package/dist/Icons/SVGs/Bookmarks.d.ts +4 -0
- package/dist/Icons/SVGs/BrainNetworking.d.ts +4 -0
- package/dist/Icons/SVGs/Building.d.ts +4 -0
- package/dist/Icons/SVGs/Bulb.d.ts +4 -0
- package/dist/Icons/SVGs/Bus.d.ts +4 -0
- package/dist/Icons/SVGs/Business.d.ts +4 -0
- package/dist/Icons/SVGs/CCTV_1.d.ts +4 -0
- package/dist/Icons/SVGs/CCTV_2.d.ts +4 -0
- package/dist/Icons/SVGs/CPU.d.ts +4 -0
- package/dist/Icons/SVGs/Calendar.d.ts +4 -0
- package/dist/Icons/SVGs/Car.d.ts +4 -0
- package/dist/Icons/SVGs/Cart_check.d.ts +4 -0
- package/dist/Icons/SVGs/Check.d.ts +4 -0
- package/dist/Icons/SVGs/Circle.d.ts +4 -0
- package/dist/Icons/SVGs/CircularEdit.d.ts +4 -0
- package/dist/Icons/SVGs/CircularPause.d.ts +4 -0
- package/dist/Icons/SVGs/CircularPlay.d.ts +4 -0
- package/dist/Icons/SVGs/CircularWarning.d.ts +4 -0
- package/dist/Icons/SVGs/City.d.ts +4 -0
- package/dist/Icons/SVGs/Client.d.ts +4 -0
- package/dist/Icons/SVGs/Close.d.ts +4 -0
- package/dist/Icons/SVGs/CloseCircle.d.ts +4 -0
- package/dist/Icons/SVGs/CloseCircle_2.d.ts +4 -0
- package/dist/Icons/SVGs/CloseEye.d.ts +4 -0
- package/dist/Icons/SVGs/CloudCross.d.ts +4 -0
- package/dist/Icons/SVGs/Copy.d.ts +4 -0
- package/dist/Icons/SVGs/Copy_2.d.ts +4 -0
- package/dist/Icons/SVGs/Copyright.d.ts +4 -0
- package/dist/Icons/SVGs/Cube3D.d.ts +4 -0
- package/dist/Icons/SVGs/Cyber.d.ts +4 -0
- package/dist/Icons/SVGs/DNS_1.d.ts +4 -0
- package/dist/Icons/SVGs/DNS_2.d.ts +4 -0
- package/dist/Icons/SVGs/DNS_3.d.ts +4 -0
- package/dist/Icons/SVGs/Dashboard.d.ts +4 -0
- package/dist/Icons/SVGs/Data_search.d.ts +4 -0
- package/dist/Icons/SVGs/Decrease.d.ts +4 -0
- package/dist/Icons/SVGs/Descending.d.ts +4 -0
- package/dist/Icons/SVGs/DiagonalArrow.d.ts +4 -0
- package/dist/Icons/SVGs/Directory.d.ts +4 -0
- package/dist/Icons/SVGs/Disk.d.ts +4 -0
- package/dist/Icons/SVGs/Document.d.ts +4 -0
- package/dist/Icons/SVGs/DocumentBadge.d.ts +4 -0
- package/dist/Icons/SVGs/DoubleQuotes.d.ts +4 -0
- package/dist/Icons/SVGs/DownArrow.d.ts +4 -0
- package/dist/Icons/SVGs/Download.d.ts +4 -0
- package/dist/Icons/SVGs/Download_2.d.ts +4 -0
- package/dist/Icons/SVGs/Drag_Indicator.d.ts +4 -0
- package/dist/Icons/SVGs/Email.d.ts +4 -0
- package/dist/Icons/SVGs/ExitFullScreen.d.ts +4 -0
- package/dist/Icons/SVGs/FPS.d.ts +4 -0
- package/dist/Icons/SVGs/FaceRecognition.d.ts +4 -0
- package/dist/Icons/SVGs/FaceRecognition_2.d.ts +4 -0
- package/dist/Icons/SVGs/FastDelivery.d.ts +4 -0
- package/dist/Icons/SVGs/File.d.ts +4 -0
- package/dist/Icons/SVGs/FilesBox.d.ts +4 -0
- package/dist/Icons/SVGs/FilledCircle.d.ts +4 -0
- package/dist/Icons/SVGs/FilledCircleTick.d.ts +4 -0
- package/dist/Icons/SVGs/FilledPin.d.ts +4 -0
- package/dist/Icons/SVGs/Filter_1.d.ts +4 -0
- package/dist/Icons/SVGs/Filter_2.d.ts +4 -0
- package/dist/Icons/SVGs/Flow.d.ts +4 -0
- package/dist/Icons/SVGs/FootStep.d.ts +4 -0
- package/dist/Icons/SVGs/Forward.d.ts +4 -0
- package/dist/Icons/SVGs/Forward_10_Sec.d.ts +4 -0
- package/dist/Icons/SVGs/Free.d.ts +4 -0
- package/dist/Icons/SVGs/FullScreen.d.ts +4 -0
- package/dist/Icons/SVGs/FullVolume.d.ts +4 -0
- package/dist/Icons/SVGs/FullVolume_2.d.ts +4 -0
- package/dist/Icons/SVGs/Globe.d.ts +4 -0
- package/dist/Icons/SVGs/GlobeIcon.d.ts +4 -0
- package/dist/Icons/SVGs/Government.d.ts +4 -0
- package/dist/Icons/SVGs/Grid_2x2.d.ts +4 -0
- package/dist/Icons/SVGs/Grid_2x2_Hollow.d.ts +4 -0
- package/dist/Icons/SVGs/Grid_3x3.d.ts +4 -0
- package/dist/Icons/SVGs/Grid_4x4.d.ts +4 -0
- package/dist/Icons/SVGs/Grid_5x5.d.ts +4 -0
- package/dist/Icons/SVGs/Hamburger.d.ts +4 -0
- package/dist/Icons/SVGs/Hammer.d.ts +4 -0
- package/dist/Icons/SVGs/Handshake.d.ts +4 -0
- package/dist/Icons/SVGs/Hazard.d.ts +4 -0
- package/dist/Icons/SVGs/Help.d.ts +4 -0
- package/dist/Icons/SVGs/Hexagon.d.ts +4 -0
- package/dist/Icons/SVGs/Highway.d.ts +4 -0
- package/dist/Icons/SVGs/History.d.ts +4 -0
- package/dist/Icons/SVGs/Home.d.ts +4 -0
- package/dist/Icons/SVGs/Home_2.d.ts +4 -0
- package/dist/Icons/SVGs/Hospital.d.ts +4 -0
- package/dist/Icons/SVGs/IP.d.ts +4 -0
- package/dist/Icons/SVGs/Increase.d.ts +4 -0
- package/dist/Icons/SVGs/Information.d.ts +4 -0
- package/dist/Icons/SVGs/InformationFilled.d.ts +4 -0
- package/dist/Icons/SVGs/Instagram.d.ts +4 -0
- package/dist/Icons/SVGs/Install.d.ts +4 -0
- package/dist/Icons/SVGs/Key.d.ts +4 -0
- package/dist/Icons/SVGs/KeyDown.d.ts +4 -0
- package/dist/Icons/SVGs/Key_2.d.ts +4 -0
- package/dist/Icons/SVGs/KnobController.d.ts +4 -0
- package/dist/Icons/SVGs/Large_building.d.ts +4 -0
- package/dist/Icons/SVGs/LedBulb.d.ts +4 -0
- package/dist/Icons/SVGs/LeftArrow.d.ts +4 -0
- package/dist/Icons/SVGs/Letter.d.ts +4 -0
- package/dist/Icons/SVGs/License.d.ts +4 -0
- package/dist/Icons/SVGs/Licenses.d.ts +4 -0
- package/dist/Icons/SVGs/Line.d.ts +4 -0
- package/dist/Icons/SVGs/Linkedin.d.ts +4 -0
- package/dist/Icons/SVGs/Live.d.ts +4 -0
- package/dist/Icons/SVGs/Loader.d.ts +4 -0
- package/dist/Icons/SVGs/Location.d.ts +4 -0
- package/dist/Icons/SVGs/Lock.d.ts +4 -0
- package/dist/Icons/SVGs/Logout.d.ts +4 -0
- package/dist/Icons/SVGs/Mail.d.ts +4 -0
- package/dist/Icons/SVGs/Management.d.ts +4 -0
- package/dist/Icons/SVGs/Manufacturing.d.ts +4 -0
- package/dist/Icons/SVGs/Maps.d.ts +4 -0
- package/dist/Icons/SVGs/Media.d.ts +4 -0
- package/dist/Icons/SVGs/MediumVolume.d.ts +4 -0
- package/dist/Icons/SVGs/Menu.d.ts +4 -0
- package/dist/Icons/SVGs/MeterUp.d.ts +4 -0
- package/dist/Icons/SVGs/Monitor.d.ts +4 -0
- package/dist/Icons/SVGs/MonitorEye.d.ts +4 -0
- package/dist/Icons/SVGs/More.d.ts +4 -0
- package/dist/Icons/SVGs/MultiMonitor.d.ts +4 -0
- package/dist/Icons/SVGs/Mute.d.ts +4 -0
- package/dist/Icons/SVGs/MuteVolume.d.ts +4 -0
- package/dist/Icons/SVGs/NFS_Directory.d.ts +4 -0
- package/dist/Icons/SVGs/Network.d.ts +4 -0
- package/dist/Icons/SVGs/NetworkStorage.d.ts +4 -0
- package/dist/Icons/SVGs/NoCam.d.ts +4 -0
- package/dist/Icons/SVGs/NoStorage.d.ts +4 -0
- package/dist/Icons/SVGs/Node.d.ts +4 -0
- package/dist/Icons/SVGs/Notifications.d.ts +4 -0
- package/dist/Icons/SVGs/OpenBin.d.ts +4 -0
- package/dist/Icons/SVGs/OpenBook.d.ts +4 -0
- package/dist/Icons/SVGs/Out.d.ts +4 -0
- package/dist/Icons/SVGs/PasswordLock.d.ts +4 -0
- package/dist/Icons/SVGs/Pause.d.ts +4 -0
- package/dist/Icons/SVGs/PeopleAnalytics.d.ts +4 -0
- package/dist/Icons/SVGs/Phone.d.ts +4 -0
- package/dist/Icons/SVGs/Pin.d.ts +4 -0
- package/dist/Icons/SVGs/Pin_2.d.ts +4 -0
- package/dist/Icons/SVGs/Play_1.d.ts +4 -0
- package/dist/Icons/SVGs/Play_2.d.ts +4 -0
- package/dist/Icons/SVGs/Playback.d.ts +4 -0
- package/dist/Icons/SVGs/PoliceBadge.d.ts +4 -0
- package/dist/Icons/SVGs/Polygon.d.ts +4 -0
- package/dist/Icons/SVGs/Power.d.ts +4 -0
- package/dist/Icons/SVGs/PremiumBadge.d.ts +4 -0
- package/dist/Icons/SVGs/ProcessingBulb.d.ts +4 -0
- package/dist/Icons/SVGs/Profile_1.d.ts +4 -0
- package/dist/Icons/SVGs/Profile_2.d.ts +4 -0
- package/dist/Icons/SVGs/Profile_3.d.ts +4 -0
- package/dist/Icons/SVGs/QR.d.ts +4 -0
- package/dist/Icons/SVGs/ROI.d.ts +4 -0
- package/dist/Icons/SVGs/Recording_1.d.ts +4 -0
- package/dist/Icons/SVGs/Recording_2.d.ts +4 -0
- package/dist/Icons/SVGs/Recording_3.d.ts +4 -0
- package/dist/Icons/SVGs/Rectangle.d.ts +4 -0
- package/dist/Icons/SVGs/Restaurant.d.ts +4 -0
- package/dist/Icons/SVGs/Retail.d.ts +4 -0
- package/dist/Icons/SVGs/Retry.d.ts +4 -0
- package/dist/Icons/SVGs/Return.d.ts +4 -0
- package/dist/Icons/SVGs/Rewind_10_Sec.d.ts +4 -0
- package/dist/Icons/SVGs/Rhombus.d.ts +4 -0
- package/dist/Icons/SVGs/RightArrow.d.ts +4 -0
- package/dist/Icons/SVGs/Ringing_Bell.d.ts +4 -0
- package/dist/Icons/SVGs/Rocket.d.ts +4 -0
- package/dist/Icons/SVGs/RunAway.d.ts +4 -0
- package/dist/Icons/SVGs/Rupee.d.ts +4 -0
- package/dist/Icons/SVGs/SandTimer.d.ts +4 -0
- package/dist/Icons/SVGs/Scalable.d.ts +4 -0
- package/dist/Icons/SVGs/School.d.ts +4 -0
- package/dist/Icons/SVGs/Search.d.ts +4 -0
- package/dist/Icons/SVGs/SecureSystem.d.ts +4 -0
- package/dist/Icons/SVGs/Security.d.ts +4 -0
- package/dist/Icons/SVGs/SelectedCircle.d.ts +4 -0
- package/dist/Icons/SVGs/Send.d.ts +4 -0
- package/dist/Icons/SVGs/Settings.d.ts +4 -0
- package/dist/Icons/SVGs/ShelfMonitoring.d.ts +4 -0
- package/dist/Icons/SVGs/Shield.d.ts +4 -0
- package/dist/Icons/SVGs/ShoppingCart.d.ts +4 -0
- package/dist/Icons/SVGs/Sink.d.ts +4 -0
- package/dist/Icons/SVGs/SlantLine.d.ts +4 -0
- package/dist/Icons/SVGs/Small_building.d.ts +4 -0
- package/dist/Icons/SVGs/Sort.d.ts +4 -0
- package/dist/Icons/SVGs/Sort_2.d.ts +4 -0
- package/dist/Icons/SVGs/Source.d.ts +4 -0
- package/dist/Icons/SVGs/SquareEdit.d.ts +4 -0
- package/dist/Icons/SVGs/SquareTick.d.ts +4 -0
- package/dist/Icons/SVGs/Star.d.ts +4 -0
- package/dist/Icons/SVGs/Star_2.d.ts +4 -0
- package/dist/Icons/SVGs/StorageDisks.d.ts +4 -0
- package/dist/Icons/SVGs/Tag.d.ts +4 -0
- package/dist/Icons/SVGs/Team.d.ts +4 -0
- package/dist/Icons/SVGs/Team_2.d.ts +4 -0
- package/dist/Icons/SVGs/Technology.d.ts +4 -0
- package/dist/Icons/SVGs/ThreeDots.d.ts +4 -0
- package/dist/Icons/SVGs/ThumbsUp.d.ts +4 -0
- package/dist/Icons/SVGs/ThumbsUp_2.d.ts +4 -0
- package/dist/Icons/SVGs/Thunder.d.ts +4 -0
- package/dist/Icons/SVGs/Tick.d.ts +4 -0
- package/dist/Icons/SVGs/Timer.d.ts +4 -0
- package/dist/Icons/SVGs/Tool.d.ts +4 -0
- package/dist/Icons/SVGs/Tools.d.ts +4 -0
- package/dist/Icons/SVGs/Tools_2.d.ts +4 -0
- package/dist/Icons/SVGs/Traffic.d.ts +4 -0
- package/dist/Icons/SVGs/Translate.d.ts +4 -0
- package/dist/Icons/SVGs/TriangularFilledWarning.d.ts +4 -0
- package/dist/Icons/SVGs/TruckSpeed.d.ts +4 -0
- package/dist/Icons/SVGs/UnPinned.d.ts +4 -0
- package/dist/Icons/SVGs/UpArrow.d.ts +4 -0
- package/dist/Icons/SVGs/UploadFile.d.ts +4 -0
- package/dist/Icons/SVGs/VehicleNumber.d.ts +4 -0
- package/dist/Icons/SVGs/Video.d.ts +4 -0
- package/dist/Icons/SVGs/Wallet.d.ts +4 -0
- package/dist/Icons/SVGs/Web.d.ts +4 -0
- package/dist/Icons/SVGs/WiFiCam.d.ts +4 -0
- package/dist/Icons/SVGs/WiFiLaptop.d.ts +4 -0
- package/dist/Icons/SVGs/Workflow.d.ts +4 -0
- package/dist/Icons/SVGs/X.d.ts +4 -0
- package/dist/Icons/SVGs/Youtube.d.ts +4 -0
- package/dist/Icons/SVGs/Zapper.d.ts +4 -0
- package/dist/Icons/SVGs/Zoom.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +244 -0
- package/dist/Icons/index.d.ts +23 -0
- package/dist/Inputs/CheckBox.d.ts +21 -0
- package/dist/Inputs/SearchBox.d.ts +15 -0
- package/dist/Inputs/TextArea.d.ts +18 -0
- package/dist/Inputs/TextField.d.ts +31 -0
- package/dist/Inputs/TextFieldWithDropdown.d.ts +30 -0
- package/dist/Inputs/index.d.ts +6 -0
- package/dist/Loader/CircularLoader.d.ts +11 -0
- package/dist/Loader/Loader.d.ts +10 -0
- package/dist/Loader/index.d.ts +3 -0
- package/dist/Pagination/Pagination.d.ts +10 -0
- package/dist/Pagination/index.d.ts +2 -0
- package/dist/ProgressBar/CircularProgress.tsx.d.ts +11 -0
- package/dist/ProgressBar/ProgressBar.d.ts +16 -0
- package/dist/ProgressBar/index.d.ts +3 -0
- package/dist/Sidebar/ChildLink.d.ts +7 -0
- package/dist/Sidebar/Sidebar.d.ts +53 -0
- package/dist/Sidebar/SidebarItems.d.ts +13 -0
- package/dist/Sidebar/index.d.ts +2 -0
- package/dist/Table/Table.d.ts +10 -0
- package/dist/Table/TableCell.d.ts +4 -0
- package/dist/Table/TableRow.d.ts +9 -0
- package/dist/Table/index.d.ts +51 -0
- package/dist/Tabs/InternalTabs.d.ts +16 -0
- package/dist/Tabs/Tabs.d.ts +28 -0
- package/dist/Tabs/index.d.ts +4 -0
- package/dist/Themes/Colors.d.ts +9 -0
- package/dist/Themes/ThemeProviderWrapper.d.ts +7 -0
- package/dist/Themes/index.d.ts +149 -0
- package/dist/Utils/Date&Time.d.ts +10 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/useClickOutside.d.ts +3 -0
- package/dist/hooks/useCopyToClipboard.d.ts +4 -0
- package/dist/hooks/useCustomModal/Modal.d.ts +9 -0
- package/dist/hooks/useCustomModal/index.d.ts +11 -0
- package/dist/hooks/useNotification.d.ts +31 -0
- package/dist/hooks/useTheme.d.ts +3 -0
- package/dist/index.d.ts +37 -0
- package/package.json +2 -2
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconNames } from '../Icons/index';
|
|
3
|
+
interface BadgeProps {
|
|
4
|
+
text: string;
|
|
5
|
+
height?: string;
|
|
6
|
+
fontSize?: string;
|
|
7
|
+
padding?: string;
|
|
8
|
+
background?: string;
|
|
9
|
+
textColor?: string;
|
|
10
|
+
icon?: {
|
|
11
|
+
icon: IconNames;
|
|
12
|
+
size?: number;
|
|
13
|
+
color?: string;
|
|
14
|
+
weight?: string;
|
|
15
|
+
onClick?: (e: React.MouseEvent<HTMLDivElement | HTMLButtonElement | SVGElement>) => void;
|
|
16
|
+
};
|
|
17
|
+
image?: {
|
|
18
|
+
src: string;
|
|
19
|
+
img_alt: string;
|
|
20
|
+
width: string;
|
|
21
|
+
height: string;
|
|
22
|
+
};
|
|
23
|
+
tooltipText?: string;
|
|
24
|
+
tooltipCSS?: {
|
|
25
|
+
background?: string;
|
|
26
|
+
color?: string;
|
|
27
|
+
border?: string;
|
|
28
|
+
fontSize?: string;
|
|
29
|
+
fontWeight?: string;
|
|
30
|
+
position?: 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
declare const Badge: React.FC<BadgeProps>;
|
|
34
|
+
export default Badge;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconProps } from '../Icons/index';
|
|
3
|
+
interface ITooltipProps {
|
|
4
|
+
icon?: IconProps;
|
|
5
|
+
image?: {
|
|
6
|
+
src: string;
|
|
7
|
+
img_alt: string;
|
|
8
|
+
width: string;
|
|
9
|
+
height: string;
|
|
10
|
+
};
|
|
11
|
+
infoIcon?: IconProps;
|
|
12
|
+
infoText: React.ReactNode;
|
|
13
|
+
tooltipCSS?: {
|
|
14
|
+
background?: string;
|
|
15
|
+
gap?: string;
|
|
16
|
+
minWidth?: string;
|
|
17
|
+
maxWidth?: string;
|
|
18
|
+
position?: 'topLeft' | 'topCenter' | 'topRight' | 'bottomLeft' | 'bottomCenter' | 'bottomRight';
|
|
19
|
+
tooltipTop?: string;
|
|
20
|
+
border?: string;
|
|
21
|
+
borderRadius?: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
declare const IconTooltip: React.FC<ITooltipProps>;
|
|
25
|
+
export default IconTooltip;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface BreadcrumbDetail {
|
|
3
|
+
navigateLink?: string;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
interface BreadcrumbsProps {
|
|
7
|
+
backLink?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
breadcrumbs: BreadcrumbDetail[];
|
|
10
|
+
onBackClick?: () => void;
|
|
11
|
+
}
|
|
12
|
+
declare const Breadcrumbs: React.FC<BreadcrumbsProps>;
|
|
13
|
+
export default Breadcrumbs;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconNames } from '../Icons/index';
|
|
3
|
+
export type buttonSizes = 'small' | 'medium' | 'large' | 'custom';
|
|
4
|
+
export type buttonVariant = 'primary' | 'secondary' | 'tertiary' | 'error' | 'outline-primary' | 'outline-secondary' | 'outline-error' | 'custom';
|
|
5
|
+
export type iconPosition = 'right' | 'left';
|
|
6
|
+
export interface ButtonLoaderProps {
|
|
7
|
+
loading?: boolean;
|
|
8
|
+
loaderPosition?: 'right' | 'left';
|
|
9
|
+
loaderColor?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ButtonProps {
|
|
12
|
+
onClick?: () => void;
|
|
13
|
+
text?: string;
|
|
14
|
+
icon?: IconNames;
|
|
15
|
+
size?: buttonSizes;
|
|
16
|
+
buttonWidth?: string;
|
|
17
|
+
background?: string;
|
|
18
|
+
hoverColor?: string;
|
|
19
|
+
color?: string;
|
|
20
|
+
colorHover?: string;
|
|
21
|
+
fontWeight?: string;
|
|
22
|
+
fontSize?: string;
|
|
23
|
+
fontFamily?: string;
|
|
24
|
+
borderDefault?: string;
|
|
25
|
+
borderHover?: string;
|
|
26
|
+
borderRadius?: string;
|
|
27
|
+
padding?: string;
|
|
28
|
+
gap?: string;
|
|
29
|
+
iconClick?: () => void;
|
|
30
|
+
iconPosition?: iconPosition;
|
|
31
|
+
iconWeight?: string;
|
|
32
|
+
iconSize?: number;
|
|
33
|
+
disabled?: boolean;
|
|
34
|
+
variant?: buttonVariant;
|
|
35
|
+
loaderProps?: ButtonLoaderProps;
|
|
36
|
+
}
|
|
37
|
+
declare const ButtonComponent: React.FC<ButtonProps>;
|
|
38
|
+
export default ButtonComponent;
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
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>, {
|
|
3
|
+
$width?: string | undefined;
|
|
4
|
+
$minWidth?: string | undefined;
|
|
5
|
+
$maxWidth?: string | undefined;
|
|
6
|
+
$height?: string | undefined;
|
|
7
|
+
$minHeight?: string | undefined;
|
|
8
|
+
$maxHeight?: string | undefined;
|
|
9
|
+
$flex?: string | undefined;
|
|
10
|
+
$flexDirection?: string | undefined;
|
|
11
|
+
$justifyContent?: string | undefined;
|
|
12
|
+
$alignItems?: string | undefined;
|
|
13
|
+
$gap?: string | undefined;
|
|
14
|
+
$padding?: string | undefined;
|
|
15
|
+
$background?: string | undefined;
|
|
16
|
+
$fontSize?: 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
|
+
$overflowWrap?: string | undefined;
|
|
31
|
+
$overflowY?: string | undefined;
|
|
32
|
+
$color?: string | undefined;
|
|
33
|
+
$zIndex?: number | undefined;
|
|
34
|
+
$scrollbarWidth?: string | undefined;
|
|
35
|
+
$border?: string | undefined;
|
|
36
|
+
$borderRadius?: string | undefined;
|
|
37
|
+
$borderTopLeftRadius?: string | undefined;
|
|
38
|
+
$borderTopRightRadius?: string | undefined;
|
|
39
|
+
$borderBottomRightRadius?: string | undefined;
|
|
40
|
+
$borderBottomLeftRadius?: string | undefined;
|
|
41
|
+
$borderTop?: string | undefined;
|
|
42
|
+
$borderBottom?: string | undefined;
|
|
43
|
+
$borderLeft?: string | undefined;
|
|
44
|
+
$fontWeight?: string | undefined;
|
|
45
|
+
$hoverBackground?: string | undefined;
|
|
46
|
+
$hoverColor?: string | undefined;
|
|
47
|
+
$transition?: string | undefined;
|
|
48
|
+
$transform?: string | undefined;
|
|
49
|
+
$boxShadow?: string | undefined;
|
|
50
|
+
$backDropFilter?: string | undefined;
|
|
51
|
+
$whiteSpace?: string | undefined;
|
|
52
|
+
}>> & string;
|
|
53
|
+
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>, {
|
|
54
|
+
$fontFamily?: string | undefined;
|
|
55
|
+
$fontWeight?: string | undefined;
|
|
56
|
+
$fontSize?: string | undefined;
|
|
57
|
+
$fontStyle?: string | undefined;
|
|
58
|
+
$color?: string | undefined;
|
|
59
|
+
$lineHeight?: string | undefined;
|
|
60
|
+
$textAlign?: string | undefined;
|
|
61
|
+
$width?: string | undefined;
|
|
62
|
+
$minWidth?: string | undefined;
|
|
63
|
+
$overflowWrap?: string | undefined;
|
|
64
|
+
$whiteSpace?: string | undefined;
|
|
65
|
+
}>> & 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,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface DropdownOption {
|
|
3
|
+
label: string;
|
|
4
|
+
value: string;
|
|
5
|
+
onClick: () => void;
|
|
6
|
+
}
|
|
7
|
+
interface ButtonDropdownProps {
|
|
8
|
+
options: DropdownOption[];
|
|
9
|
+
initialValue?: string;
|
|
10
|
+
size?: 'small' | 'medium' | 'large';
|
|
11
|
+
variant?: 'primary' | 'outline-primary' | 'secondary';
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
}
|
|
15
|
+
declare const ButtonDropdown: React.FC<ButtonDropdownProps>;
|
|
16
|
+
export default ButtonDropdown;
|
|
@@ -0,0 +1,61 @@
|
|
|
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<React.DetailedHTMLProps<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
|
+
titleWeight?: string;
|
|
23
|
+
titleSize?: number;
|
|
24
|
+
titleColor?: string;
|
|
25
|
+
labelText?: string;
|
|
26
|
+
handleSelectChange: (selectedValues: string[]) => void;
|
|
27
|
+
placeholder?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
height?: string;
|
|
30
|
+
background?: string;
|
|
31
|
+
border?: string;
|
|
32
|
+
borderRadius?: string;
|
|
33
|
+
menuBackground?: string;
|
|
34
|
+
optionBorder?: string;
|
|
35
|
+
optionColor?: string;
|
|
36
|
+
searchIcon?: IconProps;
|
|
37
|
+
searchbarTextColor?: string;
|
|
38
|
+
optionsBorderRadius?: string;
|
|
39
|
+
selectedOptionBackground?: string;
|
|
40
|
+
selectedOptionColor?: string;
|
|
41
|
+
selectedOptions: string[];
|
|
42
|
+
placeholderColor?: string;
|
|
43
|
+
removeIconBackground?: string;
|
|
44
|
+
removeIcon?: IconProps;
|
|
45
|
+
searchBoxBackground?: string;
|
|
46
|
+
searchBoxBorder?: string;
|
|
47
|
+
searchBoxBorderRadius?: string;
|
|
48
|
+
type?: 'add' | 'remove';
|
|
49
|
+
size?: 'small' | 'medium' | 'large';
|
|
50
|
+
replaceLabel?: boolean;
|
|
51
|
+
icon?: Icon;
|
|
52
|
+
optionWidth?: string;
|
|
53
|
+
labelStyle?: string;
|
|
54
|
+
labelColor?: string;
|
|
55
|
+
disabled?: boolean;
|
|
56
|
+
required?: boolean;
|
|
57
|
+
searchBox?: boolean;
|
|
58
|
+
NoOptionsText?: string;
|
|
59
|
+
}
|
|
60
|
+
declare const MultiSelectDropdown: React.FC<MultiSelectDropdownProps>;
|
|
61
|
+
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,80 @@
|
|
|
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<React.DetailedHTMLProps<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<React.DetailedHTMLProps<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
|
+
$dropDownPosition?: "center" | "left" | "right" | undefined;
|
|
18
|
+
}>> & string;
|
|
19
|
+
interface Option {
|
|
20
|
+
label: string;
|
|
21
|
+
value: string;
|
|
22
|
+
}
|
|
23
|
+
interface Icon {
|
|
24
|
+
name: IconNames;
|
|
25
|
+
size?: number;
|
|
26
|
+
weight?: string;
|
|
27
|
+
color?: string;
|
|
28
|
+
}
|
|
29
|
+
interface SearchIconProps {
|
|
30
|
+
size?: number;
|
|
31
|
+
weight?: string;
|
|
32
|
+
color?: string;
|
|
33
|
+
}
|
|
34
|
+
interface SelectOption {
|
|
35
|
+
title?: string;
|
|
36
|
+
titlecolor?: string;
|
|
37
|
+
titleWeight?: string;
|
|
38
|
+
options: Option[];
|
|
39
|
+
value: string;
|
|
40
|
+
onChange: (e: React.ChangeEvent<HTMLSelectElement>) => void;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
size?: 'small' | 'medium' | 'large';
|
|
43
|
+
labelText?: string;
|
|
44
|
+
width?: string;
|
|
45
|
+
color?: string;
|
|
46
|
+
padding?: string;
|
|
47
|
+
optionColor?: string;
|
|
48
|
+
optionFontSize?: string;
|
|
49
|
+
optionFontWeight?: string;
|
|
50
|
+
optionBackgroundColor?: string;
|
|
51
|
+
border?: string;
|
|
52
|
+
background?: string;
|
|
53
|
+
borderRadius?: string;
|
|
54
|
+
menuBackground?: string;
|
|
55
|
+
optionsBorderRadius?: string;
|
|
56
|
+
required?: boolean;
|
|
57
|
+
NoOptionsText?: string;
|
|
58
|
+
positionRef?: React.RefObject<HTMLElement>;
|
|
59
|
+
fontStyle?: string;
|
|
60
|
+
icon?: Icon;
|
|
61
|
+
searchBox?: boolean;
|
|
62
|
+
searchBoxBackground?: string;
|
|
63
|
+
searchBoxBorder?: string;
|
|
64
|
+
searchBoxBorderRadius?: string;
|
|
65
|
+
searchIcon?: SearchIconProps;
|
|
66
|
+
searchbarTextColor?: string;
|
|
67
|
+
placeholderText?: string;
|
|
68
|
+
iconColor?: string;
|
|
69
|
+
placeholderColor?: string;
|
|
70
|
+
inputColor?: string;
|
|
71
|
+
iconSize?: number;
|
|
72
|
+
allowDeselect?: boolean;
|
|
73
|
+
titleRightNode?: {
|
|
74
|
+
gap: string;
|
|
75
|
+
node: React.ReactNode;
|
|
76
|
+
};
|
|
77
|
+
dropDownPosition?: 'left' | 'center' | 'right';
|
|
78
|
+
}
|
|
79
|
+
declare const SelectOption: React.FC<SelectOption>;
|
|
80
|
+
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,6 @@
|
|
|
1
|
+
import ButtonDropdown from './ButtonDropdown';
|
|
2
|
+
import MultiSelectDropdown from './MultiSelectDropdown';
|
|
3
|
+
import OptionComponent from './OptionComponent';
|
|
4
|
+
import SelectedOption from './SelectedOption';
|
|
5
|
+
import SelectOption, { DropdownMenu, Options } from './SelectOption';
|
|
6
|
+
export { ButtonDropdown, MultiSelectDropdown, OptionComponent, SelectedOption, SelectOption, DropdownMenu, Options };
|