labsense-ui-kit 1.1.85 → 1.1.86

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/index.d.ts CHANGED
@@ -15,6 +15,7 @@ import { Sidebar, logoDetails, SidebarItems } 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';
18
+ import { themes } from './Themes/Colors';
18
19
  import { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds } from './Utils/Date&Time';
19
20
  export { Badge, IconTooltip };
20
21
  export { Breadcrumbs, BreadcrumbDetail };
@@ -32,5 +33,5 @@ export { ProgressBar, ProgressBarProps, CircularProgress, CircularProgressProps
32
33
  export { Sidebar, logoDetails, SidebarItems };
33
34
  export { TableCell, Table, TableRow, TableProps };
34
35
  export { InternalTabs, Tabs, TabContentProps };
35
- export { ThemeColorsInterface, ThemeMode };
36
+ export { ThemeColorsInterface, ThemeMode, themes };
36
37
  export { convertToEpoch, formatDate, formatTimestamp, formatCalendarDateTime, timeAgo, formatEpochToIST, convertEpochToDateString, convertEpochToOnlyDate, getSystemTimezoneAbbreviation, timeStringToSeconds };
package/dist/index.js CHANGED
@@ -7355,6 +7355,165 @@ var InternalTabs = function InternalTabs(_ref) {
7355
7355
  }));
7356
7356
  };
7357
7357
 
7358
+ var light = {
7359
+ brand: {
7360
+ primary: '#4C9EEB',
7361
+ secondary: '#14171A',
7362
+ light: '#FFFFFF'
7363
+ },
7364
+ accent: {
7365
+ light_1: '#E1E8ED',
7366
+ light_2: '#F5F8FA',
7367
+ light_3: '#F0F3F5',
7368
+ light_4: '#ECF0F4',
7369
+ light_5: '#F0F0F3',
7370
+ softBlue: '#D4EEFF',
7371
+ extraSoftBlue: '#E4F4FF',
7372
+ boldTransparent: '#5E5E5E80',
7373
+ transparent: '#5E5E5E4D',
7374
+ lightTransparent: '#5E5E5E23'
7375
+ },
7376
+ "default": {
7377
+ primary: '#78B6F0',
7378
+ secondary: '#C2C2C2',
7379
+ tertiary: 'transparent',
7380
+ error: '#F44336',
7381
+ success: '#4CAF50',
7382
+ warning: '#FF9800',
7383
+ info: '#2159F3'
7384
+ },
7385
+ disabled: {
7386
+ primary: '#B9DCF7',
7387
+ secondary: '#DADADA',
7388
+ error: '#FFEBEE',
7389
+ success: '#E8F5E9',
7390
+ warning: '#FFF3E0',
7391
+ info: '#E3F2FD'
7392
+ },
7393
+ hover: {
7394
+ primary: '#4C9EEB',
7395
+ secondary: '#A3A3A3',
7396
+ tertiary: 'transparent',
7397
+ error: '#D32F2F',
7398
+ success: '#388E3C',
7399
+ warning: '#F57C00',
7400
+ info: '#193ED2'
7401
+ },
7402
+ border: {
7403
+ extraBold: '#657786',
7404
+ bold: '#BFBFBF',
7405
+ medium: '#CBCED0',
7406
+ light: '#DCDCDC',
7407
+ extraLight: '#E6E3E3'
7408
+ },
7409
+ text: {
7410
+ dark: '#14171A',
7411
+ medium: '#657786',
7412
+ light: '#98A2AA',
7413
+ white: '#FFFFFF',
7414
+ success: '#1B5E20',
7415
+ error: '#B71C1C',
7416
+ info: '#0D30A1',
7417
+ warning: '#E65100'
7418
+ },
7419
+ badge: {
7420
+ lavender: '#E8DAFF',
7421
+ papayaWhip: '#FFEDD5',
7422
+ water: '#C7E3FF',
7423
+ paleBlue: '#B0F0E4',
7424
+ teaGreen: '#D5F7C2',
7425
+ lightBlue: '#ADD8E6'
7426
+ }
7427
+ };
7428
+ var dark = {
7429
+ brand: {
7430
+ primary: '#4C9EEB',
7431
+ secondary: '#E1E8ED',
7432
+ light: '#1A1A1A'
7433
+ },
7434
+ accent: {
7435
+ light_1: '#2A2E33',
7436
+ light_2: '#1F2327',
7437
+ light_3: '#F0F3F5',
7438
+ light_4: '#ECF0F4',
7439
+ light_5: '#F0F0F3',
7440
+ softBlue: '#2C3E50',
7441
+ extraSoftBlue: '#34495E',
7442
+ boldTransparent: '#D3D3D380',
7443
+ transparent: '#D3D3D34D',
7444
+ lightTransparent: '#D3D3D323'
7445
+ },
7446
+ "default": {
7447
+ primary: '#78B6F0',
7448
+ secondary: '#4F4F4F',
7449
+ tertiary: 'transparent',
7450
+ error: '#EF5350',
7451
+ success: '#66BB6A',
7452
+ warning: '#FFB74D',
7453
+ info: '#42A5F5'
7454
+ },
7455
+ disabled: {
7456
+ primary: '#3B4A58',
7457
+ secondary: '#3E3E3E',
7458
+ error: '#5B1B1B',
7459
+ success: '#1B3C1B',
7460
+ warning: '#5A3C1B',
7461
+ info: '#1A3C5A'
7462
+ },
7463
+ hover: {
7464
+ primary: '#5CA6F0',
7465
+ secondary: '#7A7A7A',
7466
+ tertiary: 'transparent',
7467
+ error: '#D32F2F',
7468
+ success: '#388E3C',
7469
+ warning: '#F57C00',
7470
+ info: '#1976D2'
7471
+ },
7472
+ border: {
7473
+ extraBold: '#8899A6',
7474
+ bold: '#5E5E5E',
7475
+ medium: '#4A4A4A',
7476
+ light: '#3A3A3A',
7477
+ extraLight: '#2B2B2B'
7478
+ },
7479
+ text: {
7480
+ dark: '#FFFFFF',
7481
+ medium: '#AAB8C2',
7482
+ light: '#8899A6',
7483
+ white: '#FFFFFF',
7484
+ success: '#81C784',
7485
+ error: '#E57373',
7486
+ info: '#64B5F6',
7487
+ warning: '#FFB74D'
7488
+ },
7489
+ badge: {
7490
+ lavender: '#7B5FA1',
7491
+ papayaWhip: '#A46A3E',
7492
+ water: '#5CA6F0',
7493
+ paleBlue: '#4BC9BC',
7494
+ teaGreen: '#7FBF7F',
7495
+ lightBlue: '#5DADE2'
7496
+ }
7497
+ };
7498
+ var getCurrentTheme = function getCurrentTheme() {
7499
+ if (typeof document !== 'undefined') {
7500
+ var isDarkClass = document.documentElement.classList.contains('dark');
7501
+ return isDarkClass ? 'dark' : 'light';
7502
+ }
7503
+ return 'light';
7504
+ };
7505
+ var colorVariables = new Proxy({}, {
7506
+ get: function get(_, prop) {
7507
+ var currentThemeName = getCurrentTheme();
7508
+ var currentTheme = themes[currentThemeName];
7509
+ return currentTheme[prop];
7510
+ }
7511
+ });
7512
+ var themes = {
7513
+ light: light,
7514
+ dark: dark
7515
+ };
7516
+
7358
7517
  exports.Badge = Badge;
7359
7518
  exports.Breadcrumbs = Breadcrumbs;
7360
7519
  exports.Button = ButtonComponent;
@@ -7394,6 +7553,7 @@ exports.formatDate = formatDate;
7394
7553
  exports.formatEpochToIST = formatEpochToIST;
7395
7554
  exports.formatTimestamp = formatTimestamp;
7396
7555
  exports.getSystemTimezoneAbbreviation = getSystemTimezoneAbbreviation;
7556
+ exports.themes = themes;
7397
7557
  exports.timeAgo = timeAgo;
7398
7558
  exports.timeStringToSeconds = timeStringToSeconds;
7399
7559
  exports.useClickOutside = useClickOutside;