labsense-ui-kit 1.1.76 → 1.1.77

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.
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface Props {
3
+ children: React.ReactNode;
4
+ mode?: 'light' | 'dark';
5
+ }
6
+ export declare const ThemeProviderWrapper: ({ children, mode }: Props) => React.JSX.Element;
7
+ export {};
@@ -1,4 +1,5 @@
1
1
  import useClickOutside from './useClickOutside';
2
2
  import useCustomModal from './useCustomModal';
3
3
  import useNotification from './useNotification';
4
- export { useClickOutside, useCustomModal, useNotification };
4
+ import useTheme from './useTheme';
5
+ export { useClickOutside, useCustomModal, useNotification, useTheme };
@@ -0,0 +1,3 @@
1
+ import { ThemeColorsInterface } from '../Themes';
2
+ declare const useTheme: () => ThemeColorsInterface;
3
+ export default useTheme;
package/dist/index.d.ts CHANGED
@@ -5,7 +5,7 @@ import { ButtonCarousel } from './Carousel';
5
5
  import { Container, Span } from './Container&Span/StyledComponents';
6
6
  import { DatePicker } from './Date-Time';
7
7
  import { MultiSelectDropdown, OptionComponent, SelectedOption, SelectOption, DropdownMenu, Options } from './Dropdown';
8
- import { useClickOutside, useCustomModal, useNotification } from './hooks';
8
+ import { useClickOutside, useCustomModal, useNotification, useTheme } from './hooks';
9
9
  import { Icon, IconNames } from './Icons';
10
10
  import { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox } from './Inputs';
11
11
  import { CircularLoader, Loader } from './Loader';
@@ -24,7 +24,7 @@ export { ButtonCarousel };
24
24
  export { Container, Span };
25
25
  export { DatePicker };
26
26
  export { MultiSelectDropdown, OptionComponent, SelectedOption, SelectOption, DropdownMenu, Options };
27
- export { useClickOutside, useCustomModal, useNotification };
27
+ export { useClickOutside, useCustomModal, useNotification, useTheme };
28
28
  export { Icon, IconNames };
29
29
  export { SearchBox, TextArea, TextField, TextFieldWithDropdown, CheckBox };
30
30
  export { CircularLoader, Loader };