@trackunit/ui-design-tokens 1.3.132 → 1.3.137
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
|
@@ -396,6 +396,7 @@ const activityPalette = {
|
|
|
396
396
|
UNKNOWN: tailwindPalette.gray,
|
|
397
397
|
MOVING: tailwindPalette.green,
|
|
398
398
|
ACTIVE: tailwindPalette.green,
|
|
399
|
+
OUT_OF_CONTRACT: tailwindPalette.amber,
|
|
399
400
|
};
|
|
400
401
|
/**
|
|
401
402
|
* The Themed color palette
|
|
@@ -571,6 +572,7 @@ const themeColors = {
|
|
|
571
572
|
LIME: { name: "lime", variants: tailwindPalette.lime },
|
|
572
573
|
ORANGE: { name: "orange", variants: tailwindPalette.orange },
|
|
573
574
|
PINK: { name: "pink", variants: tailwindPalette.pink },
|
|
575
|
+
OUT_OF_CONTRACT: { name: "out_of_contract", variants: tailwindPalette.amber, defaultVariant: 300 },
|
|
574
576
|
};
|
|
575
577
|
|
|
576
578
|
const outputOptions = ["HEX", "CSS"];
|
|
@@ -625,8 +627,9 @@ const DEFAULT_CHART_COLORS = [
|
|
|
625
627
|
rgbStringToHex(tailwindPalette.violet[400]),
|
|
626
628
|
rgbStringToHex(tailwindPalette.orange[500]),
|
|
627
629
|
rgbStringToHex(tailwindPalette.lime[400]),
|
|
630
|
+
rgbStringToHex(tailwindPalette.amber[300]),
|
|
628
631
|
];
|
|
629
|
-
const { CRITICAL, LOW, GOOD, WORKING, IDLE, STOPPED } = themeColors;
|
|
632
|
+
const { CRITICAL, LOW, GOOD, WORKING, IDLE, STOPPED, OUT_OF_CONTRACT } = themeColors;
|
|
630
633
|
const CHART_STATUS_COLORS = {
|
|
631
634
|
CRITICAL: rgbStringToHex(CRITICAL.variants[500]),
|
|
632
635
|
LOW: rgbStringToHex(LOW.variants[500]),
|
|
@@ -634,6 +637,7 @@ const CHART_STATUS_COLORS = {
|
|
|
634
637
|
WORKING: rgbStringToHex(WORKING.variants[500]),
|
|
635
638
|
IDLE: rgbStringToHex(IDLE.variants[500]),
|
|
636
639
|
STOPPED: rgbStringToHex(STOPPED.variants[500]),
|
|
640
|
+
OUT_OF_CONTRACT: rgbStringToHex(OUT_OF_CONTRACT.variants[300]),
|
|
637
641
|
};
|
|
638
642
|
|
|
639
643
|
/**
|
package/index.esm.js
CHANGED
|
@@ -394,6 +394,7 @@ const activityPalette = {
|
|
|
394
394
|
UNKNOWN: tailwindPalette.gray,
|
|
395
395
|
MOVING: tailwindPalette.green,
|
|
396
396
|
ACTIVE: tailwindPalette.green,
|
|
397
|
+
OUT_OF_CONTRACT: tailwindPalette.amber,
|
|
397
398
|
};
|
|
398
399
|
/**
|
|
399
400
|
* The Themed color palette
|
|
@@ -569,6 +570,7 @@ const themeColors = {
|
|
|
569
570
|
LIME: { name: "lime", variants: tailwindPalette.lime },
|
|
570
571
|
ORANGE: { name: "orange", variants: tailwindPalette.orange },
|
|
571
572
|
PINK: { name: "pink", variants: tailwindPalette.pink },
|
|
573
|
+
OUT_OF_CONTRACT: { name: "out_of_contract", variants: tailwindPalette.amber, defaultVariant: 300 },
|
|
572
574
|
};
|
|
573
575
|
|
|
574
576
|
const outputOptions = ["HEX", "CSS"];
|
|
@@ -623,8 +625,9 @@ const DEFAULT_CHART_COLORS = [
|
|
|
623
625
|
rgbStringToHex(tailwindPalette.violet[400]),
|
|
624
626
|
rgbStringToHex(tailwindPalette.orange[500]),
|
|
625
627
|
rgbStringToHex(tailwindPalette.lime[400]),
|
|
628
|
+
rgbStringToHex(tailwindPalette.amber[300]),
|
|
626
629
|
];
|
|
627
|
-
const { CRITICAL, LOW, GOOD, WORKING, IDLE, STOPPED } = themeColors;
|
|
630
|
+
const { CRITICAL, LOW, GOOD, WORKING, IDLE, STOPPED, OUT_OF_CONTRACT } = themeColors;
|
|
628
631
|
const CHART_STATUS_COLORS = {
|
|
629
632
|
CRITICAL: rgbStringToHex(CRITICAL.variants[500]),
|
|
630
633
|
LOW: rgbStringToHex(LOW.variants[500]),
|
|
@@ -632,6 +635,7 @@ const CHART_STATUS_COLORS = {
|
|
|
632
635
|
WORKING: rgbStringToHex(WORKING.variants[500]),
|
|
633
636
|
IDLE: rgbStringToHex(IDLE.variants[500]),
|
|
634
637
|
STOPPED: rgbStringToHex(STOPPED.variants[500]),
|
|
638
|
+
OUT_OF_CONTRACT: rgbStringToHex(OUT_OF_CONTRACT.variants[300]),
|
|
635
639
|
};
|
|
636
640
|
|
|
637
641
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare type ColorString = string;
|
|
2
2
|
export declare const DEFAULT_CHART_OTHER: ColorString;
|
|
3
|
-
export declare const DEFAULT_CHART_COLORS: [string, string, string, string, string, string];
|
|
4
|
-
export type ChartStatus = "CRITICAL" | "LOW" | "GOOD" | "WORKING" | "IDLE" | "STOPPED";
|
|
3
|
+
export declare const DEFAULT_CHART_COLORS: [string, string, string, string, string, string, string];
|
|
4
|
+
export type ChartStatus = "CRITICAL" | "LOW" | "GOOD" | "WORKING" | "IDLE" | "STOPPED" | "OUT_OF_CONTRACT";
|
|
5
5
|
export declare const CHART_STATUS_COLORS: {
|
|
6
6
|
readonly CRITICAL: string;
|
|
7
7
|
readonly LOW: string;
|
|
@@ -9,5 +9,6 @@ export declare const CHART_STATUS_COLORS: {
|
|
|
9
9
|
readonly WORKING: string;
|
|
10
10
|
readonly IDLE: string;
|
|
11
11
|
readonly STOPPED: string;
|
|
12
|
+
readonly OUT_OF_CONTRACT: string;
|
|
12
13
|
};
|
|
13
14
|
export {};
|
|
@@ -237,6 +237,18 @@ export declare const activityPalette: {
|
|
|
237
237
|
readonly 800: "22 101 52";
|
|
238
238
|
readonly 900: "20 83 45";
|
|
239
239
|
};
|
|
240
|
+
readonly OUT_OF_CONTRACT: {
|
|
241
|
+
readonly 50: "255 251 235";
|
|
242
|
+
readonly 100: "254 243 199";
|
|
243
|
+
readonly 200: "253 230 138";
|
|
244
|
+
readonly 300: "252 211 77";
|
|
245
|
+
readonly 400: "251 191 36";
|
|
246
|
+
readonly 500: "245 158 11";
|
|
247
|
+
readonly 600: "217 119 6";
|
|
248
|
+
readonly 700: "180 83 9";
|
|
249
|
+
readonly 800: "146 64 14";
|
|
250
|
+
readonly 900: "120 53 15";
|
|
251
|
+
};
|
|
240
252
|
};
|
|
241
253
|
/**
|
|
242
254
|
* The Activity color palette
|
|
@@ -782,6 +794,18 @@ export declare const groupedPalettes: {
|
|
|
782
794
|
readonly 800: "22 101 52";
|
|
783
795
|
readonly 900: "20 83 45";
|
|
784
796
|
};
|
|
797
|
+
readonly OUT_OF_CONTRACT: {
|
|
798
|
+
readonly 50: "255 251 235";
|
|
799
|
+
readonly 100: "254 243 199";
|
|
800
|
+
readonly 200: "253 230 138";
|
|
801
|
+
readonly 300: "252 211 77";
|
|
802
|
+
readonly 400: "251 191 36";
|
|
803
|
+
readonly 500: "245 158 11";
|
|
804
|
+
readonly 600: "217 119 6";
|
|
805
|
+
readonly 700: "180 83 9";
|
|
806
|
+
readonly 800: "146 64 14";
|
|
807
|
+
readonly 900: "120 53 15";
|
|
808
|
+
};
|
|
785
809
|
};
|
|
786
810
|
readonly UTILIZATION: {
|
|
787
811
|
readonly UNUSED: {
|
|
@@ -1412,6 +1436,18 @@ export declare const trackunitPalette: {
|
|
|
1412
1436
|
readonly 800: "22 101 52";
|
|
1413
1437
|
readonly 900: "20 83 45";
|
|
1414
1438
|
};
|
|
1439
|
+
readonly OUT_OF_CONTRACT: {
|
|
1440
|
+
readonly 50: "255 251 235";
|
|
1441
|
+
readonly 100: "254 243 199";
|
|
1442
|
+
readonly 200: "253 230 138";
|
|
1443
|
+
readonly 300: "252 211 77";
|
|
1444
|
+
readonly 400: "251 191 36";
|
|
1445
|
+
readonly 500: "245 158 11";
|
|
1446
|
+
readonly 600: "217 119 6";
|
|
1447
|
+
readonly 700: "180 83 9";
|
|
1448
|
+
readonly 800: "146 64 14";
|
|
1449
|
+
readonly 900: "120 53 15";
|
|
1450
|
+
};
|
|
1415
1451
|
readonly GOOD: {
|
|
1416
1452
|
readonly 50: "240 253 244";
|
|
1417
1453
|
readonly 100: "220 252 231";
|