labsense-ui-kit 1.2.4 → 1.2.5

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.
@@ -9,10 +9,17 @@ export interface SidebarItems {
9
9
  activeUrl?: string;
10
10
  children?: SidebarItems[];
11
11
  }
12
+ export interface ImageDetails {
13
+ url: string;
14
+ height?: string;
15
+ width?: string;
16
+ altText: string;
17
+ }
12
18
  export interface logoDetails {
13
- icon: IconNames;
19
+ icon?: IconNames;
14
20
  name?: string;
15
21
  iconColor?: string;
22
+ imageDetails?: ImageDetails | null;
16
23
  }
17
24
  export interface SidebarProps {
18
25
  logo?: logoDetails;
@@ -1,2 +1,2 @@
1
- import Sidebar, { logoDetails, SidebarItems } from './Sidebar';
2
- export { Sidebar, logoDetails, SidebarItems };
1
+ import Sidebar, { logoDetails, SidebarItems, ImageDetails } from './Sidebar';
2
+ export { Sidebar, logoDetails, SidebarItems, ImageDetails };
package/dist/index.d.ts CHANGED
@@ -11,7 +11,7 @@ import { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox } from
11
11
  import { CircularLoader, Loader } from './Loader';
12
12
  import { Pagination } from './Pagination';
13
13
  import { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps } from './ProgressBar';
14
- import { Sidebar, logoDetails, SidebarItems } from './Sidebar';
14
+ import { Sidebar, logoDetails, SidebarItems, ImageDetails } from './Sidebar';
15
15
  import { Table, TableCell, TableRow, TableProps } from './Table';
16
16
  import { InternalTabs, Tabs, TabContentProps } from './Tabs';
17
17
  import { ThemeColorsInterface, ThemeMode } from './Themes';
@@ -30,7 +30,7 @@ export { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox };
30
30
  export { CircularLoader, Loader };
31
31
  export { Pagination };
32
32
  export { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps };
33
- export { Sidebar, logoDetails, SidebarItems };
33
+ export { Sidebar, logoDetails, SidebarItems, ImageDetails };
34
34
  export { TableCell, Table, TableRow, TableProps };
35
35
  export { InternalTabs, Tabs, TabContentProps };
36
36
  export { ThemeColorsInterface, ThemeMode, themes };