@trackunit/ui-design-tokens 1.7.52 → 1.7.53

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/index.cjs.js CHANGED
@@ -546,6 +546,33 @@ const sitesPalette = {
546
546
  800: tailwindPalette.gray[800],
547
547
  },
548
548
  };
549
+ const accessManagementModePalette = {
550
+ AM_BLOCKED: {
551
+ 50: tailwindPalette.red[50],
552
+ 600: tailwindPalette.red[600],
553
+ 800: tailwindPalette.red[800],
554
+ },
555
+ AM_UNLOCKED: {
556
+ 50: tailwindPalette.cyan[50],
557
+ 600: tailwindPalette.cyan[600],
558
+ 800: tailwindPalette.cyan[800],
559
+ },
560
+ AM_UNKNOWN: {
561
+ 50: tailwindPalette.gray[50],
562
+ 300: tailwindPalette.gray[300],
563
+ 700: tailwindPalette.gray[700],
564
+ },
565
+ AM_KEYREQUIRED: {
566
+ 50: tailwindPalette.amber[50],
567
+ 500: tailwindPalette.amber[500],
568
+ 700: tailwindPalette.amber[700],
569
+ },
570
+ AM_UNSUPPORTED: {
571
+ 50: tailwindPalette.gray[50],
572
+ 500: tailwindPalette.gray[500],
573
+ 700: tailwindPalette.gray[700],
574
+ },
575
+ };
549
576
  const otherPalette = {
550
577
  CYAN: tailwindPalette.cyan,
551
578
  LIME: tailwindPalette.lime,
@@ -571,6 +598,8 @@ const groupedPalettes = {
571
598
  RENTAL: rentalStatusPalette,
572
599
  // Sites
573
600
  SITES: sitesPalette,
601
+ // Access Management
602
+ ACCESS_MANAGEMENT: accessManagementModePalette,
574
603
  TAILWIND: otherPalette,
575
604
  };
576
605
  /**
@@ -591,6 +620,8 @@ const trackunitPalette = {
591
620
  ...rentalStatusPalette,
592
621
  // Sites
593
622
  ...sitesPalette,
623
+ // Access Management
624
+ ...accessManagementModePalette,
594
625
  // Themed
595
626
  ...themedPalette,
596
627
  // Other
@@ -671,6 +702,15 @@ const themeColors = {
671
702
  ORANGE: { name: "orange", variants: tailwindPalette.orange },
672
703
  PINK: { name: "pink", variants: tailwindPalette.pink },
673
704
  VIOLET: { name: "violet", variants: tailwindPalette.violet },
705
+ AM_BLOCKED: { name: "am_blocked", variants: trackunitPalette.AM_BLOCKED, defaultVariant: 600 },
706
+ AM_UNLOCKED: { name: "am_unlocked", variants: trackunitPalette.AM_UNLOCKED, defaultVariant: 600 },
707
+ AM_UNKNOWN: {
708
+ name: "am_unknown",
709
+ variants: trackunitPalette.AM_UNKNOWN,
710
+ defaultVariant: 300,
711
+ },
712
+ AM_KEYREQUIRED: { name: "am_keyrequired", variants: trackunitPalette.AM_KEYREQUIRED, defaultVariant: 500 },
713
+ AM_UNSUPPORTED: { name: "am_unsupported", variants: trackunitPalette.AM_UNSUPPORTED, defaultVariant: 500 },
674
714
  };
675
715
 
676
716
  const outputOptions = ["HEX", "CSS"];
@@ -933,6 +973,7 @@ const zIndex = {
933
973
  exports.CHART_STATUS_COLORS = CHART_STATUS_COLORS;
934
974
  exports.DEFAULT_CHART_COLORS = DEFAULT_CHART_COLORS;
935
975
  exports.DEFAULT_CHART_OTHER = DEFAULT_CHART_OTHER;
976
+ exports.accessManagementModePalette = accessManagementModePalette;
936
977
  exports.activityPalette = activityPalette;
937
978
  exports.color = color;
938
979
  exports.criticalityPalette = criticalityPalette;
package/index.esm.js CHANGED
@@ -544,6 +544,33 @@ const sitesPalette = {
544
544
  800: tailwindPalette.gray[800],
545
545
  },
546
546
  };
547
+ const accessManagementModePalette = {
548
+ AM_BLOCKED: {
549
+ 50: tailwindPalette.red[50],
550
+ 600: tailwindPalette.red[600],
551
+ 800: tailwindPalette.red[800],
552
+ },
553
+ AM_UNLOCKED: {
554
+ 50: tailwindPalette.cyan[50],
555
+ 600: tailwindPalette.cyan[600],
556
+ 800: tailwindPalette.cyan[800],
557
+ },
558
+ AM_UNKNOWN: {
559
+ 50: tailwindPalette.gray[50],
560
+ 300: tailwindPalette.gray[300],
561
+ 700: tailwindPalette.gray[700],
562
+ },
563
+ AM_KEYREQUIRED: {
564
+ 50: tailwindPalette.amber[50],
565
+ 500: tailwindPalette.amber[500],
566
+ 700: tailwindPalette.amber[700],
567
+ },
568
+ AM_UNSUPPORTED: {
569
+ 50: tailwindPalette.gray[50],
570
+ 500: tailwindPalette.gray[500],
571
+ 700: tailwindPalette.gray[700],
572
+ },
573
+ };
547
574
  const otherPalette = {
548
575
  CYAN: tailwindPalette.cyan,
549
576
  LIME: tailwindPalette.lime,
@@ -569,6 +596,8 @@ const groupedPalettes = {
569
596
  RENTAL: rentalStatusPalette,
570
597
  // Sites
571
598
  SITES: sitesPalette,
599
+ // Access Management
600
+ ACCESS_MANAGEMENT: accessManagementModePalette,
572
601
  TAILWIND: otherPalette,
573
602
  };
574
603
  /**
@@ -589,6 +618,8 @@ const trackunitPalette = {
589
618
  ...rentalStatusPalette,
590
619
  // Sites
591
620
  ...sitesPalette,
621
+ // Access Management
622
+ ...accessManagementModePalette,
592
623
  // Themed
593
624
  ...themedPalette,
594
625
  // Other
@@ -669,6 +700,15 @@ const themeColors = {
669
700
  ORANGE: { name: "orange", variants: tailwindPalette.orange },
670
701
  PINK: { name: "pink", variants: tailwindPalette.pink },
671
702
  VIOLET: { name: "violet", variants: tailwindPalette.violet },
703
+ AM_BLOCKED: { name: "am_blocked", variants: trackunitPalette.AM_BLOCKED, defaultVariant: 600 },
704
+ AM_UNLOCKED: { name: "am_unlocked", variants: trackunitPalette.AM_UNLOCKED, defaultVariant: 600 },
705
+ AM_UNKNOWN: {
706
+ name: "am_unknown",
707
+ variants: trackunitPalette.AM_UNKNOWN,
708
+ defaultVariant: 300,
709
+ },
710
+ AM_KEYREQUIRED: { name: "am_keyrequired", variants: trackunitPalette.AM_KEYREQUIRED, defaultVariant: 500 },
711
+ AM_UNSUPPORTED: { name: "am_unsupported", variants: trackunitPalette.AM_UNSUPPORTED, defaultVariant: 500 },
672
712
  };
673
713
 
674
714
  const outputOptions = ["HEX", "CSS"];
@@ -928,4 +968,4 @@ const zIndex = {
928
968
  toast: themeZIndex.toast,
929
969
  };
930
970
 
931
- export { CHART_STATUS_COLORS, DEFAULT_CHART_COLORS, DEFAULT_CHART_OTHER, activityPalette, color, criticalityPalette, elevation, fontFamily, fontSize, fontWeight, generalPalette, groupedPalettes, intentPalette, otherPalette, rentalStatusPalette, sitesPalette, size, tailwindPalette, themeBorderRadius, themeBoxShadow, themeColors, themeFontSize, themeFontWeight, themeLineHeight, themeScreenSize, themeScreenSizeAsNumber, themeSpacing, themeZIndex, themedPalette, trackunitPalette, utilizationPalette, zIndex };
971
+ export { CHART_STATUS_COLORS, DEFAULT_CHART_COLORS, DEFAULT_CHART_OTHER, accessManagementModePalette, activityPalette, color, criticalityPalette, elevation, fontFamily, fontSize, fontWeight, generalPalette, groupedPalettes, intentPalette, otherPalette, rentalStatusPalette, sitesPalette, size, tailwindPalette, themeBorderRadius, themeBoxShadow, themeColors, themeFontSize, themeFontWeight, themeLineHeight, themeScreenSize, themeScreenSizeAsNumber, themeSpacing, themeZIndex, themedPalette, trackunitPalette, utilizationPalette, zIndex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/ui-design-tokens",
3
- "version": "1.7.52",
3
+ "version": "1.7.53",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -279,6 +279,35 @@ export declare const sitesPalette: {
279
279
  };
280
280
  export type SitesColorKeys = keyof typeof sitesPalette;
281
281
  export type SitesColors = `${Lowercase<SitesColorKeys>}`;
282
+ export declare const accessManagementModePalette: {
283
+ readonly AM_BLOCKED: {
284
+ readonly 50: "254 242 242";
285
+ readonly 600: "220 38 38";
286
+ readonly 800: "153 27 27";
287
+ };
288
+ readonly AM_UNLOCKED: {
289
+ readonly 50: "236 254 255";
290
+ readonly 600: "8 145 178";
291
+ readonly 800: "21 94 117";
292
+ };
293
+ readonly AM_UNKNOWN: {
294
+ readonly 50: "249 250 251";
295
+ readonly 300: "209 213 219";
296
+ readonly 700: "55 65 81";
297
+ };
298
+ readonly AM_KEYREQUIRED: {
299
+ readonly 50: "255 251 235";
300
+ readonly 500: "245 158 11";
301
+ readonly 700: "180 83 9";
302
+ };
303
+ readonly AM_UNSUPPORTED: {
304
+ readonly 50: "249 250 251";
305
+ readonly 500: "107 114 128";
306
+ readonly 700: "55 65 81";
307
+ };
308
+ };
309
+ export type AccessManagementModeColorKeys = keyof typeof accessManagementModePalette;
310
+ export type AccessManagementModeColors = `${Lowercase<AccessManagementModeColorKeys>}`;
282
311
  export declare const otherPalette: {
283
312
  readonly CYAN: {
284
313
  readonly 50: "236 254 255";
@@ -594,6 +623,33 @@ export declare const groupedPalettes: {
594
623
  readonly 800: "31 41 55";
595
624
  };
596
625
  };
626
+ readonly ACCESS_MANAGEMENT: {
627
+ readonly AM_BLOCKED: {
628
+ readonly 50: "254 242 242";
629
+ readonly 600: "220 38 38";
630
+ readonly 800: "153 27 27";
631
+ };
632
+ readonly AM_UNLOCKED: {
633
+ readonly 50: "236 254 255";
634
+ readonly 600: "8 145 178";
635
+ readonly 800: "21 94 117";
636
+ };
637
+ readonly AM_UNKNOWN: {
638
+ readonly 50: "249 250 251";
639
+ readonly 300: "209 213 219";
640
+ readonly 700: "55 65 81";
641
+ };
642
+ readonly AM_KEYREQUIRED: {
643
+ readonly 50: "255 251 235";
644
+ readonly 500: "245 158 11";
645
+ readonly 700: "180 83 9";
646
+ };
647
+ readonly AM_UNSUPPORTED: {
648
+ readonly 50: "249 250 251";
649
+ readonly 500: "107 114 128";
650
+ readonly 700: "55 65 81";
651
+ };
652
+ };
597
653
  readonly TAILWIND: {
598
654
  readonly CYAN: {
599
655
  readonly 50: "236 254 255";
@@ -737,6 +793,31 @@ export declare const trackunitPalette: {
737
793
  readonly NOTIFICATION_COUNTER_BACKGROUND: {
738
794
  readonly DEFAULT: "220 38 38";
739
795
  };
796
+ readonly AM_BLOCKED: {
797
+ readonly 50: "254 242 242";
798
+ readonly 600: "220 38 38";
799
+ readonly 800: "153 27 27";
800
+ };
801
+ readonly AM_UNLOCKED: {
802
+ readonly 50: "236 254 255";
803
+ readonly 600: "8 145 178";
804
+ readonly 800: "21 94 117";
805
+ };
806
+ readonly AM_UNKNOWN: {
807
+ readonly 50: "249 250 251";
808
+ readonly 300: "209 213 219";
809
+ readonly 700: "55 65 81";
810
+ };
811
+ readonly AM_KEYREQUIRED: {
812
+ readonly 50: "255 251 235";
813
+ readonly 500: "245 158 11";
814
+ readonly 700: "180 83 9";
815
+ };
816
+ readonly AM_UNSUPPORTED: {
817
+ readonly 50: "249 250 251";
818
+ readonly 500: "107 114 128";
819
+ readonly 700: "55 65 81";
820
+ };
740
821
  readonly SITE_AREA: {
741
822
  readonly 100: "219 234 254";
742
823
  readonly 600: "37 99 235";