labsense-ui-kit 1.1.76 → 1.1.78
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/dist/Themes/Colors.d.ts +1 -0
- package/dist/Themes/ThemeProviderWrapper.d.ts +7 -0
- package/dist/Themes/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +2 -1
- package/dist/hooks/useTheme.d.ts +3 -0
- package/dist/index.d.ts +4 -4
- package/dist/index.js +261 -215
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +262 -217
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/Themes/Colors.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ThemeColorsInterface } from '.';
|
|
2
2
|
export declare const light: ThemeColorsInterface;
|
|
3
3
|
export declare const dark: ThemeColorsInterface;
|
|
4
|
+
export declare const getCurrentTheme: () => "dark" | "light";
|
|
4
5
|
export declare const colorVariables: ThemeColorsInterface;
|
|
5
6
|
export declare const themes: {
|
|
6
7
|
light: ThemeColorsInterface;
|
package/dist/Themes/index.d.ts
CHANGED
package/dist/hooks/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import useClickOutside from './useClickOutside';
|
|
2
2
|
import useCustomModal from './useCustomModal';
|
|
3
3
|
import useNotification from './useNotification';
|
|
4
|
-
|
|
4
|
+
import useTheme from './useTheme';
|
|
5
|
+
export { useClickOutside, useCustomModal, useNotification, 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';
|
|
@@ -14,7 +14,7 @@ import { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps
|
|
|
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';
|
|
17
|
-
import { ThemeColorsInterface } from './Themes';
|
|
17
|
+
import { ThemeColorsInterface, ThemeMode } from './Themes';
|
|
18
18
|
import { colorVariables, themes } from './Themes/Colors';
|
|
19
19
|
import { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds } from './Utils/Date&Time';
|
|
20
20
|
export { Badge, IconTooltip };
|
|
@@ -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 };
|
|
@@ -33,5 +33,5 @@ export { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps
|
|
|
33
33
|
export { Sidebar, logoDetails, SidebarItems };
|
|
34
34
|
export { TableCell, Table, TableRow, TableProps };
|
|
35
35
|
export { InternalTabs, Tabs, TabContentProps };
|
|
36
|
-
export { ThemeColorsInterface, colorVariables, themes };
|
|
36
|
+
export { ThemeColorsInterface, ThemeMode, colorVariables, themes };
|
|
37
37
|
export { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds };
|