labsense-ui-kit 1.1.33 → 1.1.34
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 +69 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/Themes/Colors.d.ts
CHANGED
|
@@ -1,3 +1,71 @@
|
|
|
1
|
+
declare const light: {
|
|
2
|
+
brand: {
|
|
3
|
+
primary: string;
|
|
4
|
+
secondary: string;
|
|
5
|
+
light: string;
|
|
6
|
+
};
|
|
7
|
+
accent: {
|
|
8
|
+
light: string;
|
|
9
|
+
extraLight: string;
|
|
10
|
+
softBlue: string;
|
|
11
|
+
extraSoftBlue: string;
|
|
12
|
+
boldTransparent: string;
|
|
13
|
+
transparent: string;
|
|
14
|
+
lightTransparent: string;
|
|
15
|
+
};
|
|
16
|
+
default: {
|
|
17
|
+
primary: string;
|
|
18
|
+
secondary: string;
|
|
19
|
+
tertiary: string;
|
|
20
|
+
error: string;
|
|
21
|
+
success: string;
|
|
22
|
+
warning: string;
|
|
23
|
+
info: string;
|
|
24
|
+
};
|
|
25
|
+
disabled: {
|
|
26
|
+
primary: string;
|
|
27
|
+
secondary: string;
|
|
28
|
+
error: string;
|
|
29
|
+
success: string;
|
|
30
|
+
warning: string;
|
|
31
|
+
info: string;
|
|
32
|
+
};
|
|
33
|
+
hover: {
|
|
34
|
+
primary: string;
|
|
35
|
+
secondary: string;
|
|
36
|
+
tertiary: string;
|
|
37
|
+
error: string;
|
|
38
|
+
success: string;
|
|
39
|
+
warning: string;
|
|
40
|
+
info: string;
|
|
41
|
+
};
|
|
42
|
+
border: {
|
|
43
|
+
extraBold: string;
|
|
44
|
+
bold: string;
|
|
45
|
+
medium: string;
|
|
46
|
+
light: string;
|
|
47
|
+
extraLight: string;
|
|
48
|
+
};
|
|
49
|
+
text: {
|
|
50
|
+
dark: string;
|
|
51
|
+
medium: string;
|
|
52
|
+
light: string;
|
|
53
|
+
white: string;
|
|
54
|
+
success: string;
|
|
55
|
+
error: string;
|
|
56
|
+
info: string;
|
|
57
|
+
warning: string;
|
|
58
|
+
};
|
|
59
|
+
badge: {
|
|
60
|
+
lavender: string;
|
|
61
|
+
papayaWhip: string;
|
|
62
|
+
water: string;
|
|
63
|
+
paleBlue: string;
|
|
64
|
+
teaGreen: string;
|
|
65
|
+
lightBlue: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export declare const getColorVariables: () => typeof light;
|
|
1
69
|
export declare const colorVariables: {
|
|
2
70
|
brand: {
|
|
3
71
|
primary: string;
|
|
@@ -65,3 +133,4 @@ export declare const colorVariables: {
|
|
|
65
133
|
lightBlue: string;
|
|
66
134
|
};
|
|
67
135
|
};
|
|
136
|
+
export {};
|
package/dist/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ import { ProgressBar } 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';
|
|
17
|
-
import { colorVariables } from './Themes/Colors';
|
|
17
|
+
import { colorVariables, getColorVariables } from './Themes/Colors';
|
|
18
18
|
import { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds } from './Utils/Date&Time';
|
|
19
19
|
export { Badge };
|
|
20
20
|
export { Breadcrumbs, BreadcrumbDetail };
|
|
@@ -32,5 +32,5 @@ export { ProgressBar };
|
|
|
32
32
|
export { Sidebar, logoDetails, SidebarItems };
|
|
33
33
|
export { TableCell, Table, TableRow, TableProps };
|
|
34
34
|
export { InternalTabs, Tabs, TabContentProps };
|
|
35
|
-
export { colorVariables };
|
|
35
|
+
export { colorVariables, getColorVariables };
|
|
36
36
|
export { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds };
|
package/dist/index.js
CHANGED
|
@@ -155,6 +155,9 @@ var dark = {
|
|
|
155
155
|
lightBlue: '#ADD8E6'
|
|
156
156
|
}
|
|
157
157
|
};
|
|
158
|
+
var getColorVariables = function getColorVariables() {
|
|
159
|
+
return document.documentElement.classList.contains('dark') ? dark : light;
|
|
160
|
+
};
|
|
158
161
|
var colorVariables = document.documentElement.classList.contains('dark') ? dark : light;
|
|
159
162
|
|
|
160
163
|
var Add = function Add(_ref) {
|
|
@@ -6540,6 +6543,7 @@ exports.formatCalendarDateTime = formatCalendarDateTime;
|
|
|
6540
6543
|
exports.formatDate = formatDate;
|
|
6541
6544
|
exports.formatEpochToIST = formatEpochToIST;
|
|
6542
6545
|
exports.formatTimestamp = formatTimestamp;
|
|
6546
|
+
exports.getColorVariables = getColorVariables;
|
|
6543
6547
|
exports.getSystemTimezoneAbbreviation = getSystemTimezoneAbbreviation;
|
|
6544
6548
|
exports.timeAgo = timeAgo;
|
|
6545
6549
|
exports.timeStringToSeconds = timeStringToSeconds;
|