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.
- package/README.md +30 -32
- package/dist/Icons/SVGs/Back.d.ts +4 -0
- package/dist/Icons/SVGs/Bin.d.ts +4 -0
- package/dist/Icons/SVGs/Business.d.ts +4 -0
- package/dist/Icons/SVGs/Circle.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/Copy.d.ts +4 -0
- package/dist/Icons/SVGs/Cyber.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/Edit.d.ts +4 -0
- package/dist/Icons/SVGs/Email.d.ts +4 -0
- package/dist/Icons/SVGs/FilesBox.d.ts +4 -0
- package/dist/Icons/SVGs/Filter.d.ts +4 -0
- package/dist/Icons/SVGs/Forward.d.ts +4 -0
- package/dist/Icons/SVGs/History.d.ts +4 -0
- package/dist/Icons/SVGs/Information.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/Lock.d.ts +4 -0
- package/dist/Icons/SVGs/Logout.d.ts +4 -0
- package/dist/Icons/SVGs/Mute.d.ts +4 -0
- package/dist/Icons/SVGs/Notifications.d.ts +4 -0
- package/dist/Icons/SVGs/Phone.d.ts +4 -0
- package/dist/Icons/SVGs/Play.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/RightArrow.d.ts +4 -0
- package/dist/Icons/SVGs/RunAway.d.ts +4 -0
- package/dist/Icons/SVGs/SandTimer.d.ts +4 -0
- package/dist/Icons/SVGs/Search.d.ts +4 -0
- package/dist/Icons/SVGs/Settings.d.ts +4 -0
- package/dist/Icons/SVGs/Shield.d.ts +4 -0
- package/dist/Icons/SVGs/Team.d.ts +4 -0
- package/dist/Icons/SVGs/ThumbsUp.d.ts +4 -0
- package/dist/Icons/SVGs/Tick.d.ts +4 -0
- package/dist/Icons/SVGs/Wallet.d.ts +4 -0
- package/dist/Icons/SVGs/Zapper.d.ts +4 -0
- package/dist/Icons/SVGs/index.d.ts +39 -0
- package/dist/Icons/index.d.ts +20 -0
- package/dist/index.d.ts +2 -1
- package/dist/index.js +900 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +893 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,53 +1,51 @@
|
|
|
1
|
-
# labSense UI
|
|
1
|
+
# labSense UI Kit Library
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
LabSense UI Kit is a modern UI components library built with React, designed to streamline and accelerate web application development.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
---
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
## Getting Started
|
|
8
8
|
|
|
9
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
38
|
+
```sh
|
|
39
|
+
npm run dev --workspace=packages/example
|
|
40
|
+
```
|
|
42
41
|
|
|
43
|
-
|
|
42
|
+
#### c) Launch Storybook
|
|
43
|
+
To view and test individual UI components in isolation, run Storybook:
|
|
44
44
|
|
|
45
|
-
|
|
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,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