labsense-ui-kit 1.1.72 → 1.1.74

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,5 +1,5 @@
1
- import { IconNames } from 'labsense-ui-kit/dist/Icons';
2
1
  import React from 'react';
2
+ import { IconNames } from '../Icons';
3
3
  interface BadgeProps {
4
4
  text: string;
5
5
  height?: string;
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ export interface CircularProgressProps {
3
+ threshold?: number;
4
+ totalCapacity: number;
5
+ usedCapacity: number;
6
+ progressColor?: string;
7
+ thresholdColor?: string;
8
+ trackColor?: string;
9
+ }
10
+ declare const CircularProgress: React.FC<CircularProgressProps>;
11
+ export default CircularProgress;
@@ -1,6 +1,11 @@
1
1
  import React from 'react';
2
- interface ProgressBarProps {
3
- totalSteps?: number;
2
+ export interface ProgressBarProps {
3
+ threshold?: number;
4
+ totalCapacity: number;
5
+ usedCapacity: number;
6
+ progressColor?: string;
7
+ thresholdColor?: string;
8
+ trackColor?: string;
4
9
  }
5
10
  declare const ProgressBar: React.FC<ProgressBarProps>;
6
11
  export default ProgressBar;
@@ -1,2 +1,3 @@
1
- import ProgressBar from './ProgressBar';
2
- export { ProgressBar };
1
+ import CircularProgress, { CircularProgressProps } from './CircularProgress.tsx';
2
+ import ProgressBar, { ProgressBarProps } from './ProgressBar';
3
+ export { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps };
@@ -6,6 +6,7 @@ export interface SidebarItems {
6
6
  icon: IconNames;
7
7
  iconWeight?: string;
8
8
  url?: string;
9
+ activeUrl?: string;
9
10
  children?: SidebarItems[];
10
11
  }
11
12
  export interface logoDetails {
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ import { Icon, IconNames } from './Icons';
10
10
  import { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox } from './Inputs';
11
11
  import { CircularLoader, Loader } from './Loader';
12
12
  import { Pagination } from './Pagination';
13
- import { ProgressBar } from './ProgressBar';
13
+ import { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps } from './ProgressBar';
14
14
  import { Sidebar, logoDetails, SidebarItems } from './Sidebar';
15
15
  import { Table, TableCell, TableRow, TableProps } from './Table';
16
16
  import { InternalTabs, Tabs, TabContentProps } from './Tabs';
@@ -29,7 +29,7 @@ export { Icon, IconNames };
29
29
  export { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox };
30
30
  export { CircularLoader, Loader };
31
31
  export { Pagination };
32
- export { ProgressBar };
32
+ export { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps };
33
33
  export { Sidebar, logoDetails, SidebarItems };
34
34
  export { TableCell, Table, TableRow, TableProps };
35
35
  export { InternalTabs, Tabs, TabContentProps };