labsense-ui-kit 1.1.32 → 1.1.33

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.
@@ -65,139 +65,3 @@ export declare const colorVariables: {
65
65
  lightBlue: string;
66
66
  };
67
67
  };
68
- export declare const themes: {
69
- light: {
70
- brand: {
71
- primary: string;
72
- secondary: string;
73
- light: string;
74
- };
75
- accent: {
76
- light: string;
77
- extraLight: string;
78
- softBlue: string;
79
- extraSoftBlue: string;
80
- boldTransparent: string;
81
- transparent: string;
82
- lightTransparent: string;
83
- };
84
- default: {
85
- primary: string;
86
- secondary: string;
87
- tertiary: string;
88
- error: string;
89
- success: string;
90
- warning: string;
91
- info: string;
92
- };
93
- disabled: {
94
- primary: string;
95
- secondary: string;
96
- error: string;
97
- success: string;
98
- warning: string;
99
- info: string;
100
- };
101
- hover: {
102
- primary: string;
103
- secondary: string;
104
- tertiary: string;
105
- error: string;
106
- success: string;
107
- warning: string;
108
- info: string;
109
- };
110
- border: {
111
- extraBold: string;
112
- bold: string;
113
- medium: string;
114
- light: string;
115
- extraLight: string;
116
- };
117
- text: {
118
- dark: string;
119
- medium: string;
120
- light: string;
121
- white: string;
122
- success: string;
123
- error: string;
124
- info: string;
125
- warning: string;
126
- };
127
- badge: {
128
- lavender: string;
129
- papayaWhip: string;
130
- water: string;
131
- paleBlue: string;
132
- teaGreen: string;
133
- lightBlue: string;
134
- };
135
- };
136
- dark: {
137
- brand: {
138
- primary: string;
139
- secondary: string;
140
- light: string;
141
- };
142
- accent: {
143
- light: string;
144
- extraLight: string;
145
- softBlue: string;
146
- extraSoftBlue: string;
147
- boldTransparent: string;
148
- transparent: string;
149
- lightTransparent: string;
150
- };
151
- default: {
152
- primary: string;
153
- secondary: string;
154
- tertiary: string;
155
- error: string;
156
- success: string;
157
- warning: string;
158
- info: string;
159
- };
160
- disabled: {
161
- primary: string;
162
- secondary: string;
163
- error: string;
164
- success: string;
165
- warning: string;
166
- info: string;
167
- };
168
- hover: {
169
- primary: string;
170
- secondary: string;
171
- tertiary: string;
172
- error: string;
173
- success: string;
174
- warning: string;
175
- info: string;
176
- };
177
- border: {
178
- extraBold: string;
179
- bold: string;
180
- medium: string;
181
- light: string;
182
- extraLight: string;
183
- };
184
- text: {
185
- dark: string;
186
- medium: string;
187
- light: string;
188
- white: string;
189
- success: string;
190
- error: string;
191
- info: string;
192
- warning: string;
193
- };
194
- badge: {
195
- lavender: string;
196
- papayaWhip: string;
197
- water: string;
198
- paleBlue: string;
199
- teaGreen: string;
200
- lightBlue: string;
201
- };
202
- };
203
- };
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, themes } from './Themes/Colors';
17
+ import { colorVariables } 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, themes };
35
+ export { colorVariables };
36
36
  export { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds };
package/dist/index.js CHANGED
@@ -155,22 +155,7 @@ var dark = {
155
155
  lightBlue: '#ADD8E6'
156
156
  }
157
157
  };
158
- var getCurrentTheme = function getCurrentTheme() {
159
- if (typeof document !== 'undefined') {
160
- return document.documentElement.classList.contains('dark') ? dark : light;
161
- }
162
- return light;
163
- };
164
- var colorVariables = new Proxy({}, {
165
- get: function get(_, prop) {
166
- var currentTheme = getCurrentTheme();
167
- return currentTheme[prop];
168
- }
169
- });
170
- var themes = {
171
- light: light,
172
- dark: dark
173
- };
158
+ var colorVariables = document.documentElement.classList.contains('dark') ? dark : light;
174
159
 
175
160
  var Add = function Add(_ref) {
176
161
  var size = _ref.size,
@@ -6556,7 +6541,6 @@ exports.formatDate = formatDate;
6556
6541
  exports.formatEpochToIST = formatEpochToIST;
6557
6542
  exports.formatTimestamp = formatTimestamp;
6558
6543
  exports.getSystemTimezoneAbbreviation = getSystemTimezoneAbbreviation;
6559
- exports.themes = themes;
6560
6544
  exports.timeAgo = timeAgo;
6561
6545
  exports.timeStringToSeconds = timeStringToSeconds;
6562
6546
  exports.useClickOutside = useClickOutside;