labsense-ui-kit 1.0.2 → 1.0.4

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.
Files changed (48) hide show
  1. package/README.md +30 -32
  2. package/dist/Icons/SVGs/Back.d.ts +4 -0
  3. package/dist/Icons/SVGs/Bin.d.ts +4 -0
  4. package/dist/Icons/SVGs/Business.d.ts +4 -0
  5. package/dist/Icons/SVGs/Circle.d.ts +4 -0
  6. package/dist/Icons/SVGs/Client.d.ts +4 -0
  7. package/dist/Icons/SVGs/Close.d.ts +4 -0
  8. package/dist/Icons/SVGs/CloseCircle.d.ts +4 -0
  9. package/dist/Icons/SVGs/Copy.d.ts +4 -0
  10. package/dist/Icons/SVGs/Cyber.d.ts +4 -0
  11. package/dist/Icons/SVGs/DownArrow.d.ts +4 -0
  12. package/dist/Icons/SVGs/Download.d.ts +4 -0
  13. package/dist/Icons/SVGs/Edit.d.ts +4 -0
  14. package/dist/Icons/SVGs/Email.d.ts +4 -0
  15. package/dist/Icons/SVGs/FilesBox.d.ts +4 -0
  16. package/dist/Icons/SVGs/Filter.d.ts +4 -0
  17. package/dist/Icons/SVGs/Forward.d.ts +4 -0
  18. package/dist/Icons/SVGs/History.d.ts +4 -0
  19. package/dist/Icons/SVGs/Information.d.ts +4 -0
  20. package/dist/Icons/SVGs/LeftArrow.d.ts +4 -0
  21. package/dist/Icons/SVGs/Letter.d.ts +4 -0
  22. package/dist/Icons/SVGs/Lock.d.ts +4 -0
  23. package/dist/Icons/SVGs/Logout.d.ts +4 -0
  24. package/dist/Icons/SVGs/Mute.d.ts +4 -0
  25. package/dist/Icons/SVGs/Notifications.d.ts +4 -0
  26. package/dist/Icons/SVGs/Phone.d.ts +4 -0
  27. package/dist/Icons/SVGs/Play.d.ts +4 -0
  28. package/dist/Icons/SVGs/Profile_1.d.ts +4 -0
  29. package/dist/Icons/SVGs/Profile_2.d.ts +4 -0
  30. package/dist/Icons/SVGs/RightArrow.d.ts +4 -0
  31. package/dist/Icons/SVGs/RunAway.d.ts +4 -0
  32. package/dist/Icons/SVGs/SandTimer.d.ts +4 -0
  33. package/dist/Icons/SVGs/Search.d.ts +4 -0
  34. package/dist/Icons/SVGs/Settings.d.ts +4 -0
  35. package/dist/Icons/SVGs/Shield.d.ts +4 -0
  36. package/dist/Icons/SVGs/Team.d.ts +4 -0
  37. package/dist/Icons/SVGs/ThumbsUp.d.ts +4 -0
  38. package/dist/Icons/SVGs/Tick.d.ts +4 -0
  39. package/dist/Icons/SVGs/Wallet.d.ts +4 -0
  40. package/dist/Icons/SVGs/Zapper.d.ts +4 -0
  41. package/dist/Icons/SVGs/index.d.ts +39 -0
  42. package/dist/Icons/index.d.ts +20 -0
  43. package/dist/index.d.ts +2 -1
  44. package/dist/index.js +900 -7
  45. package/dist/index.js.map +1 -1
  46. package/dist/index.modern.js +893 -2
  47. package/dist/index.modern.js.map +1 -1
  48. package/package.json +1 -1
package/README.md CHANGED
@@ -1,53 +1,51 @@
1
- # labSense UI KIT LIBRARY
1
+ # labSense UI Kit Library
2
2
 
3
- labSense UI KIT is a UI components library created in react for faster web applications development.
3
+ LabSense UI Kit is a modern UI components library built with React, designed to streamline and accelerate web application development.
4
4
 
5
- ## Development
5
+ ---
6
6
 
7
- If you want to run the project follow the next steps
7
+ ## Getting Started
8
8
 
9
- - Clone repository
10
- ```
11
- git clone https://gitlab.com/chirag.jain5/labsense-ui-kit
12
- ```
9
+ Follow these steps to set up and run the project:
13
10
 
14
- - Install with npm version 8 node 16 or above from the root folder
15
- ```
16
- npm install
17
- ```
18
-
19
- - If you want to run the example project, run library workspace first and then the example workspace in a different terminal
11
+ ### 1. Clone the Repository
12
+ Begin by cloning the repository to your local machine:
20
13
 
14
+ ```sh
15
+ git clone https://gitlab.com/chirag.jain5/labsense-ui-kit
21
16
  ```
22
- // Terminal 1
23
17
 
24
- npm run dev --workspace=packages/ui-lib
25
- ```
18
+ ### 2. Install Dependencies
19
+ Navigate to the project root and install the required dependencies using npm v20:
26
20
 
21
+ ```sh
22
+ npm install
27
23
  ```
28
- // Terminal 2
29
24
 
30
- npm run dev --workspace=packages/example
31
- ```
25
+ ### 3. Running the Project
26
+ To explore the UI kit, you can run different parts of the project as needed:
32
27
 
33
- - If you want to run the storybook
28
+ #### a) Start the UI Library
29
+ Run the core UI library workspace:
34
30
 
31
+ ```sh
32
+ npm run dev --workspace=packages/ui-lib
35
33
  ```
36
- // Terminal 3
37
34
 
38
- npm run dev --workspace=packages/storybook
39
- ```
35
+ #### b) Run the Example Project
36
+ To see the UI components in action, start the example project in a separate terminal:
40
37
 
41
- ## Icons
38
+ ```sh
39
+ npm run dev --workspace=packages/example
40
+ ```
42
41
 
43
- The icons used in this UI Kit are licensed from [Streamline Icons](https://streamlineicons.com/). We are able to provide a limited set in this kit with as per our license agreement. If you wish to extend the icons included in this kit yourself, we highly recommend checking those out if you want to keep a consistent style.
42
+ #### c) Launch Storybook
43
+ To view and test individual UI components in isolation, run Storybook:
44
44
 
45
- We tend to use the regular weighted icons and process them first to ungroup them. Then we use the above command to process them for inclusion in the UI Kit.
45
+ ```sh
46
+ npm run dev --workspace=packages/storybook
47
+ ```
46
48
 
47
49
  ## License
48
50
 
49
- The labSense UI Kit is released under the [MIT license](../../LICENSE.md).
50
-
51
- Please note however that the icon set included in this software is included under license and remains property of Webalys LLC. These icons can be used only in the context of this open source project. For more information regarding this license, see [Streamline Icons Premium License](https://help.streamlineicons.com/license-premium).
52
-
53
-
51
+ The labSense UI Kit is released under the [MIT license](../../LICENSE.md).
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Back: React.FC<SVGProps>;
4
+ export default Back;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Bin: React.FC<SVGProps>;
4
+ export default Bin;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Business: React.FC<SVGProps>;
4
+ export default Business;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Circle: React.FC<SVGProps>;
4
+ export default Circle;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Client: React.FC<SVGProps>;
4
+ export default Client;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Close: React.FC<SVGProps>;
4
+ export default Close;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const CloseCircle: React.FC<SVGProps>;
4
+ export default CloseCircle;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Copy: React.FC<SVGProps>;
4
+ export default Copy;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Cyber: React.FC<SVGProps>;
4
+ export default Cyber;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const DownArrow: React.FC<SVGProps>;
4
+ export default DownArrow;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Download: React.FC<SVGProps>;
4
+ export default Download;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Edit: React.FC<SVGProps>;
4
+ export default Edit;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Email: React.FC<SVGProps>;
4
+ export default Email;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const FilesBox: React.FC<SVGProps>;
4
+ export default FilesBox;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Filter: React.FC<SVGProps>;
4
+ export default Filter;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Forward: React.FC<SVGProps>;
4
+ export default Forward;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const History: React.FC<SVGProps>;
4
+ export default History;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Information: React.FC<SVGProps>;
4
+ export default Information;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const LeftArrow: React.FC<SVGProps>;
4
+ export default LeftArrow;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Letter: React.FC<SVGProps>;
4
+ export default Letter;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Lock: React.FC<SVGProps>;
4
+ export default Lock;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "../";
3
+ declare const Logout: React.FC<SVGProps>;
4
+ export default Logout;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Mute: React.FC<SVGProps>;
4
+ export default Mute;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Notifications: React.FC<SVGProps>;
4
+ export default Notifications;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "../";
3
+ declare const Phone: React.FC<SVGProps>;
4
+ export default Phone;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Play: React.FC<SVGProps>;
4
+ export default Play;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Profile_1: React.FC<SVGProps>;
4
+ export default Profile_1;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Profile_2: React.FC<SVGProps>;
4
+ export default Profile_2;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const RightArrow: React.FC<SVGProps>;
4
+ export default RightArrow;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const RunAway: React.FC<SVGProps>;
4
+ export default RunAway;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const SandTimer: React.FC<SVGProps>;
4
+ export default SandTimer;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Search: React.FC<SVGProps>;
4
+ export default Search;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Settings: React.FC<SVGProps>;
4
+ export default Settings;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Shield: React.FC<SVGProps>;
4
+ export default Shield;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Team: React.FC<SVGProps>;
4
+ export default Team;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const ThumbsUp: React.FC<SVGProps>;
4
+ export default ThumbsUp;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Tick: React.FC<SVGProps>;
4
+ export default Tick;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Wallet: React.FC<SVGProps>;
4
+ export default Wallet;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Zapper: React.FC<SVGProps>;
4
+ export default Zapper;
@@ -0,0 +1,39 @@
1
+ export { default as Forward } from './Forward';
2
+ export { default as RunAway } from './RunAway';
3
+ export { default as Back } from './Back';
4
+ export { default as Download } from './Download';
5
+ export { default as Wallet } from './Wallet';
6
+ export { default as Bin } from './Bin';
7
+ export { default as Business } from './Business';
8
+ export { default as Client } from './Client';
9
+ export { default as Close } from './Close';
10
+ export { default as Copy } from './Copy';
11
+ export { default as CloseCircle } from './CloseCircle';
12
+ export { default as Cyber } from './Cyber';
13
+ export { default as Shield } from './Shield';
14
+ export { default as Lock } from './Lock';
15
+ export { default as DownArrow } from './/DownArrow';
16
+ export { default as Email } from './Email';
17
+ export { default as FilesBox } from './FilesBox';
18
+ export { default as Filter } from './Filter';
19
+ export { default as Team } from './Team';
20
+ export { default as History } from './History';
21
+ export { default as Information } from './Information';
22
+ export { default as Letter } from './Letter';
23
+ export { default as Logout } from './Logout';
24
+ export { default as Mute } from './Mute';
25
+ export { default as Notifications } from './Notifications';
26
+ export { default as Circle } from './Circle';
27
+ export { default as Phone } from './Phone';
28
+ export { default as Play } from './Play';
29
+ export { default as Settings } from './Settings';
30
+ export { default as Profile_1 } from './Profile_1';
31
+ export { default as Profile_2 } from './Profile_2';
32
+ export { default as Search } from './Search';
33
+ export { default as Edit } from './Edit';
34
+ export { default as RightArrow } from './RightArrow';
35
+ export { default as LeftArrow } from './LeftArrow';
36
+ export { default as ThumbsUp } from './ThumbsUp';
37
+ export { default as Tick } from './Tick';
38
+ export { default as SandTimer } from './SandTimer';
39
+ export { default as Zapper } from './Zapper';
@@ -0,0 +1,20 @@
1
+ import React from "react";
2
+ declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ declare const IconWrapperForSVG: import("styled-components").StyledComponent<"g", any, {}, never>;
4
+ export { IconWrapper, IconWrapperForSVG };
5
+ export interface SVGProps {
6
+ size: number;
7
+ color: string;
8
+ weight: string;
9
+ }
10
+ declare const IconSVGs: {
11
+ [key: string]: React.FC<SVGProps>;
12
+ };
13
+ export interface IconProps {
14
+ icon: keyof typeof IconSVGs;
15
+ size?: number;
16
+ color?: string;
17
+ weight?: string;
18
+ }
19
+ declare const Icon: React.FC<IconProps>;
20
+ export { Icon };
package/dist/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  import { Button } from "./Buttons";
2
2
  import { Input } from "./Inputs";
3
- export { Button, Input };
3
+ import { Icon } from './Icons';
4
+ export { Button, Input, Icon };