labsense-ui-kit 1.0.38 → 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 +4 -0
- 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 +4 -0
- 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 +3 -1
- package/dist/Icons/index.d.ts +3 -3
- 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 +3369 -397
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3339 -397
- package/dist/index.modern.js.map +1 -1
- package/package.json +11 -5
- package/dist/Inputs/Input.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "labsense-ui-kit",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
|
+
"type": "module",
|
|
4
5
|
"description": "labSense UI Components",
|
|
5
6
|
"author": "SNet Labs Pvt. Ltd.",
|
|
6
7
|
"license": "MIT",
|
|
@@ -15,7 +16,8 @@
|
|
|
15
16
|
"node": ">=20"
|
|
16
17
|
},
|
|
17
18
|
"scripts": {
|
|
18
|
-
"
|
|
19
|
+
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx}' --fix",
|
|
20
|
+
"build": "npm run lint && microbundle-crl --no-compress --format modern,cjs",
|
|
19
21
|
"dev": "microbundle-crl watch --no-compress --format modern,cjs",
|
|
20
22
|
"prepublishOnly": "run-s build",
|
|
21
23
|
"test": "run-s test:unit test:lint test:build",
|
|
@@ -57,12 +59,13 @@
|
|
|
57
59
|
"@typescript-eslint/parser": "^5.62.0",
|
|
58
60
|
"babel-eslint": "^10.1.0",
|
|
59
61
|
"cross-env": "^7.0.3",
|
|
60
|
-
"eslint": "^7.
|
|
62
|
+
"eslint-config-react-app": "^7.0.1",
|
|
61
63
|
"eslint-config-standard-react": "^11.0.1",
|
|
62
64
|
"eslint-plugin-import": "^2.31.0",
|
|
65
|
+
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
63
66
|
"eslint-plugin-node": "^11.1.0",
|
|
64
67
|
"eslint-plugin-promise": "^7.2.1",
|
|
65
|
-
"eslint-plugin-react": "^7.37.
|
|
68
|
+
"eslint-plugin-react": "^7.37.5",
|
|
66
69
|
"eslint-plugin-react-hooks": "^5.1.0",
|
|
67
70
|
"eslint-plugin-standard": "^5.0.0",
|
|
68
71
|
"gh-pages": "^5.0.0",
|
|
@@ -79,7 +82,10 @@
|
|
|
79
82
|
"glob": "^9.3.5",
|
|
80
83
|
"immutability-helper": "^3.1.1",
|
|
81
84
|
"lodash.debounce": "^4.0.8",
|
|
82
|
-
"lodash.defaultsdeep": "^4.6.1"
|
|
85
|
+
"lodash.defaultsdeep": "^4.6.1",
|
|
86
|
+
"react-hot-toast": "^2.5.2",
|
|
87
|
+
"react-i18next": "^15.5.1",
|
|
88
|
+
"typescript": "^5.8.3"
|
|
83
89
|
},
|
|
84
90
|
"files": [
|
|
85
91
|
"dist",
|
package/dist/Inputs/Input.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface InputProps {
|
|
3
|
-
type?: string;
|
|
4
|
-
placeholder?: string;
|
|
5
|
-
width?: string;
|
|
6
|
-
height?: string;
|
|
7
|
-
borderColor?: string;
|
|
8
|
-
backgroundColor?: string;
|
|
9
|
-
fontColor?: string;
|
|
10
|
-
fontSize?: string;
|
|
11
|
-
value?: string;
|
|
12
|
-
onChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
13
|
-
label: string;
|
|
14
|
-
}
|
|
15
|
-
declare const MultiFunctionInputComponent: ({ label, type, placeholder, width, height, borderColor, backgroundColor, fontColor, fontSize, value, onChange, }: InputProps) => React.JSX.Element;
|
|
16
|
-
export default MultiFunctionInputComponent;
|