@trackunit/ui-design-tokens 1.15.33 → 1.15.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/index.cjs.js +7 -0
- package/index.esm.js +7 -1
- package/package.json +1 -1
- package/src/tokens/colors/trackunitPalette.d.ts +15 -0
package/index.cjs.js
CHANGED
|
@@ -388,6 +388,9 @@ const generalPalette = {
|
|
|
388
388
|
BLACK: { DEFAULT: "26 27 28" },
|
|
389
389
|
WHITE: { DEFAULT: "255 255 255" },
|
|
390
390
|
};
|
|
391
|
+
const aiPalette = {
|
|
392
|
+
AI: { DEFAULT: "249 66 58" },
|
|
393
|
+
};
|
|
391
394
|
const intentPalette = {
|
|
392
395
|
INFO: tailwindPalette.blue,
|
|
393
396
|
SUCCESS: tailwindPalette.green,
|
|
@@ -613,6 +616,7 @@ const otherPalette = {
|
|
|
613
616
|
const groupedPalettes = {
|
|
614
617
|
// General
|
|
615
618
|
GENERAL: generalPalette,
|
|
619
|
+
AI: aiPalette,
|
|
616
620
|
// UI Intent
|
|
617
621
|
INTENT: intentPalette,
|
|
618
622
|
// Asset Criticality
|
|
@@ -635,6 +639,7 @@ const groupedPalettes = {
|
|
|
635
639
|
const trackunitPalette = {
|
|
636
640
|
// General
|
|
637
641
|
...generalPalette,
|
|
642
|
+
...aiPalette,
|
|
638
643
|
// UI Intent
|
|
639
644
|
...intentPalette,
|
|
640
645
|
// Asset Criticality
|
|
@@ -665,6 +670,7 @@ const trackunitPalette = {
|
|
|
665
670
|
const themeColors = {
|
|
666
671
|
NEUTRAL: { name: "neutral", variants: trackunitPalette.NEUTRAL },
|
|
667
672
|
PRIMARY: { name: "primary", variants: trackunitPalette.PRIMARY },
|
|
673
|
+
AI: { name: "ai", variants: trackunitPalette.AI, defaultVariant: "DEFAULT" },
|
|
668
674
|
BLACK: { name: "black", variants: trackunitPalette.BLACK, defaultVariant: "DEFAULT" },
|
|
669
675
|
WHITE: { name: "white", variants: trackunitPalette.WHITE, defaultVariant: "DEFAULT" },
|
|
670
676
|
INFO: { name: "info", variants: trackunitPalette.INFO, defaultVariant: 600 },
|
|
@@ -1088,6 +1094,7 @@ exports.DEFAULT_CHART_COLORS = DEFAULT_CHART_COLORS;
|
|
|
1088
1094
|
exports.DEFAULT_CHART_OTHER = DEFAULT_CHART_OTHER;
|
|
1089
1095
|
exports.accessManagementModePalette = accessManagementModePalette;
|
|
1090
1096
|
exports.activityPalette = activityPalette;
|
|
1097
|
+
exports.aiPalette = aiPalette;
|
|
1091
1098
|
exports.color = color;
|
|
1092
1099
|
exports.criticalityPalette = criticalityPalette;
|
|
1093
1100
|
exports.elevation = elevation;
|
package/index.esm.js
CHANGED
|
@@ -386,6 +386,9 @@ const generalPalette = {
|
|
|
386
386
|
BLACK: { DEFAULT: "26 27 28" },
|
|
387
387
|
WHITE: { DEFAULT: "255 255 255" },
|
|
388
388
|
};
|
|
389
|
+
const aiPalette = {
|
|
390
|
+
AI: { DEFAULT: "249 66 58" },
|
|
391
|
+
};
|
|
389
392
|
const intentPalette = {
|
|
390
393
|
INFO: tailwindPalette.blue,
|
|
391
394
|
SUCCESS: tailwindPalette.green,
|
|
@@ -611,6 +614,7 @@ const otherPalette = {
|
|
|
611
614
|
const groupedPalettes = {
|
|
612
615
|
// General
|
|
613
616
|
GENERAL: generalPalette,
|
|
617
|
+
AI: aiPalette,
|
|
614
618
|
// UI Intent
|
|
615
619
|
INTENT: intentPalette,
|
|
616
620
|
// Asset Criticality
|
|
@@ -633,6 +637,7 @@ const groupedPalettes = {
|
|
|
633
637
|
const trackunitPalette = {
|
|
634
638
|
// General
|
|
635
639
|
...generalPalette,
|
|
640
|
+
...aiPalette,
|
|
636
641
|
// UI Intent
|
|
637
642
|
...intentPalette,
|
|
638
643
|
// Asset Criticality
|
|
@@ -663,6 +668,7 @@ const trackunitPalette = {
|
|
|
663
668
|
const themeColors = {
|
|
664
669
|
NEUTRAL: { name: "neutral", variants: trackunitPalette.NEUTRAL },
|
|
665
670
|
PRIMARY: { name: "primary", variants: trackunitPalette.PRIMARY },
|
|
671
|
+
AI: { name: "ai", variants: trackunitPalette.AI, defaultVariant: "DEFAULT" },
|
|
666
672
|
BLACK: { name: "black", variants: trackunitPalette.BLACK, defaultVariant: "DEFAULT" },
|
|
667
673
|
WHITE: { name: "white", variants: trackunitPalette.WHITE, defaultVariant: "DEFAULT" },
|
|
668
674
|
INFO: { name: "info", variants: trackunitPalette.INFO, defaultVariant: 600 },
|
|
@@ -1081,4 +1087,4 @@ const zIndex = {
|
|
|
1081
1087
|
toast: themeZIndex.toast,
|
|
1082
1088
|
};
|
|
1083
1089
|
|
|
1084
|
-
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, themeAnimations, themeBorderRadius, themeBoxShadow, themeColors, themeContainerSize, themeContainerSizeCustom, themeFontSize, themeFontWeight, themeGridTemplateColumns, themeGridTemplateRows, themeKeyframes, themeLineHeight, themeScreenSize, themeScreenSizeAsNumber, themeSpacing, themeZIndex, themedPalette, trackunitPalette, utilizationPalette, zIndex };
|
|
1090
|
+
export { CHART_STATUS_COLORS, DEFAULT_CHART_COLORS, DEFAULT_CHART_OTHER, accessManagementModePalette, activityPalette, aiPalette, color, criticalityPalette, elevation, fontFamily, fontSize, fontWeight, generalPalette, groupedPalettes, intentPalette, otherPalette, rentalStatusPalette, sitesPalette, size, tailwindPalette, themeAnimations, themeBorderRadius, themeBoxShadow, themeColors, themeContainerSize, themeContainerSizeCustom, themeFontSize, themeFontWeight, themeGridTemplateColumns, themeGridTemplateRows, themeKeyframes, themeLineHeight, themeScreenSize, themeScreenSizeAsNumber, themeSpacing, themeZIndex, themedPalette, trackunitPalette, utilizationPalette, zIndex };
|
package/package.json
CHANGED
|
@@ -32,6 +32,13 @@ export declare const generalPalette: {
|
|
|
32
32
|
};
|
|
33
33
|
export type GeneralColorKeys = keyof typeof generalPalette;
|
|
34
34
|
export type GeneralColors = `${Lowercase<GeneralColorKeys>}`;
|
|
35
|
+
export declare const aiPalette: {
|
|
36
|
+
readonly AI: {
|
|
37
|
+
readonly DEFAULT: "249 66 58";
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type AiColorKeys = keyof typeof aiPalette;
|
|
41
|
+
export type AiColors = `${Lowercase<AiColorKeys>}`;
|
|
35
42
|
export declare const intentPalette: {
|
|
36
43
|
readonly INFO: {
|
|
37
44
|
readonly 50: "239 246 255";
|
|
@@ -408,6 +415,11 @@ export declare const groupedPalettes: {
|
|
|
408
415
|
readonly DEFAULT: "255 255 255";
|
|
409
416
|
};
|
|
410
417
|
};
|
|
418
|
+
readonly AI: {
|
|
419
|
+
readonly AI: {
|
|
420
|
+
readonly DEFAULT: "249 66 58";
|
|
421
|
+
};
|
|
422
|
+
};
|
|
411
423
|
readonly INTENT: {
|
|
412
424
|
readonly INFO: {
|
|
413
425
|
readonly 50: "239 246 255";
|
|
@@ -1021,6 +1033,9 @@ export declare const trackunitPalette: {
|
|
|
1021
1033
|
readonly 800: "153 27 27";
|
|
1022
1034
|
readonly 900: "127 29 29";
|
|
1023
1035
|
};
|
|
1036
|
+
readonly AI: {
|
|
1037
|
+
readonly DEFAULT: "249 66 58";
|
|
1038
|
+
};
|
|
1024
1039
|
readonly PRIMARY: {
|
|
1025
1040
|
readonly 50: "239 246 255";
|
|
1026
1041
|
readonly 100: "219 234 254";
|