labsense-ui-kit 1.0.5 → 1.0.7

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.
@@ -1,20 +1,26 @@
1
- import React from "react";
1
+ import React from 'react';
2
+ import { IconNames } from '../Icons';
3
+ export declare type buttonSizes = 'small' | 'medium' | 'large' | 'custom';
4
+ export declare type buttonVariant = 'primary' | 'secondary' | 'tertiary' | 'error' | 'outline-primary' | 'outline-secondary' | 'outline-error';
5
+ export declare type iconPosition = 'right' | 'left';
2
6
  interface ButtonProps {
3
7
  onClick?: () => void;
4
- svg?: React.ReactNode;
5
- text: string;
6
- size?: 'Small' | 'Regular' | 'Large' | 'CustomUsingPadding';
8
+ text?: string;
9
+ icon?: IconNames;
10
+ size?: buttonSizes;
7
11
  background?: string;
8
12
  color?: string;
9
13
  fontWeight?: string;
10
- fontStyle?: string;
11
14
  fontSize?: string;
12
15
  fontFamily?: string;
13
- lineHeight?: string;
14
16
  border?: string;
15
17
  borderRadius?: string;
16
18
  padding?: string;
17
19
  gap?: string;
20
+ iconPosition?: iconPosition;
21
+ iconWeight?: string;
22
+ disabled?: boolean;
23
+ variant?: buttonVariant;
18
24
  }
19
25
  declare const ButtonComponent: React.FC<ButtonProps>;
20
26
  export default ButtonComponent;
@@ -0,0 +1,21 @@
1
+ import React from "react";
2
+ import { colorVariables } from "../Themes/Colors";
3
+ interface ButtonProps {
4
+ onClick?: () => void;
5
+ svg?: React.ReactNode;
6
+ text: string;
7
+ size?: 'Small' | 'Regular' | 'Large' | 'CustomUsingPadding';
8
+ background?: keyof typeof colorVariables.default;
9
+ color?: string;
10
+ fontWeight?: string;
11
+ fontStyle?: string;
12
+ fontSize?: string;
13
+ fontFamily?: string;
14
+ lineHeight?: string;
15
+ border?: string;
16
+ borderRadius?: string;
17
+ padding?: string;
18
+ gap?: string;
19
+ }
20
+ declare const ButtonComponent: React.FC<ButtonProps>;
21
+ export default ButtonComponent;
@@ -0,0 +1,2 @@
1
+ declare const GlobalStyle: import("react").NamedExoticComponent<import("styled-components").ExecutionProps & object>;
2
+ export default GlobalStyle;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const CCTV: React.FC<SVGProps>;
4
+ export default CCTV;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const Live: React.FC<SVGProps>;
4
+ export default Live;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "..";
3
+ declare const DownArrow: React.FC<SVGProps>;
4
+ export default DownArrow;
@@ -14,6 +14,9 @@ export { default as Shield } from './Shield';
14
14
  export { default as Lock } from './Lock';
15
15
  export { default as DownArrow } from './/DownArrow';
16
16
  export { default as Email } from './Email';
17
+ export { default as Live } from './Live';
18
+ export { default as CCTV } from './CCTV';
19
+ export { default as Video } from './Video';
17
20
  export { default as FilesBox } from './FilesBox';
18
21
  export { default as Filter } from './Filter';
19
22
  export { default as Team } from './Team';
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  declare const IconWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
3
  declare const IconWrapperForSVG: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").SVGProps<SVGGElement>, never>> & string;
4
4
  export { IconWrapper, IconWrapperForSVG };
@@ -7,6 +7,7 @@ export interface SVGProps {
7
7
  color: string;
8
8
  weight: string;
9
9
  }
10
+ export declare type IconNames = 'Forward' | 'RunAway' | 'Back' | 'Download' | 'Wallet' | 'Bin' | 'Business' | 'Client' | 'Close' | 'Copy' | 'CloseCircle' | 'Cyber' | 'Shield' | 'Lock' | 'DownArrow' | 'Email' | 'FilesBox' | 'Filter' | 'Team' | 'History' | 'Information' | 'Letter' | 'Logout' | 'Mute' | 'Notifications' | 'Circle' | 'Phone' | 'Play' | 'Settings' | 'Profile_1' | 'Profile_2' | 'Search' | 'Edit' | 'RightArrow' | 'LeftArrow' | 'ThumbsUp' | 'Tick' | 'SandTimer' | 'Zapper' | 'Live' | 'CCTV' | 'Video';
10
11
  declare const IconSVGs: {
11
12
  [key: string]: React.FC<SVGProps>;
12
13
  };
@@ -0,0 +1,10 @@
1
+ import React from "react";
2
+ interface CircularSpinnerProps {
3
+ size?: "small" | "medium" | "large";
4
+ color?: string;
5
+ speed?: number;
6
+ dotSize?: number;
7
+ text?: React.ReactNode;
8
+ }
9
+ declare const _default: React.NamedExoticComponent<CircularSpinnerProps>;
10
+ export default _default;
@@ -0,0 +1,2 @@
1
+ import CircularLoader from "./CircularLoader";
2
+ export { CircularLoader };
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface ProgressBarProps {
3
+ totalSteps?: number;
4
+ }
5
+ declare const ProgressBar: React.FC<ProgressBarProps>;
6
+ export default ProgressBar;
@@ -0,0 +1,2 @@
1
+ import ProgressBar from "./ProgressBar";
2
+ export { ProgressBar };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface TabProps {
3
+ content: string;
4
+ }
5
+ declare const Tabs: React.FC<TabProps>;
6
+ export default Tabs;
@@ -0,0 +1,2 @@
1
+ import Tabs from "./Tabs";
2
+ export { Tabs };
@@ -0,0 +1,36 @@
1
+ export declare const colorVariables: {
2
+ brand: {
3
+ 'brand-1': string;
4
+ 'brand-2': string;
5
+ 'brand-3': string;
6
+ };
7
+ grays: {
8
+ 'gray-1': string;
9
+ 'gray-2': string;
10
+ 'gray-3': string;
11
+ 'gray-4': string;
12
+ };
13
+ accent: {
14
+ 'accent-1': string;
15
+ 'accent-2': string;
16
+ 'accent-3': string;
17
+ };
18
+ default: {
19
+ primary: string;
20
+ secondary: string;
21
+ tertiary: string;
22
+ error: string;
23
+ success: string;
24
+ warning: string;
25
+ info: string;
26
+ };
27
+ hover: {
28
+ primary: string;
29
+ secondary: string;
30
+ tertiary: string;
31
+ error: string;
32
+ success: string;
33
+ warning: string;
34
+ info: string;
35
+ };
36
+ };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,11 @@
1
1
  import { Button } from "./Buttons";
2
2
  import { Input } from "./Inputs";
3
- import { Icon } from './Icons';
4
- export { Button, Input, Icon };
3
+ import { Icon, IconNames } from './Icons';
4
+ import { Tabs } from './Tabs';
5
+ import { ProgressBar } from './ProgressBar';
6
+ import { colorVariables } from "./Themes/Colors";
7
+ import { CircularLoader } from './Loader';
8
+ import GlobalFonts from './Fonts/Font';
9
+ export { Button, Input, Icon, Tabs, ProgressBar, colorVariables, GlobalFonts };
10
+ export { CircularLoader };
11
+ export { IconNames };