@trackunit/ui-design-tokens 1.15.35 → 1.15.36

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
@@ -388,8 +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" },
391
+ /** Trackunit brand red. This identifies the brand, not a general AI action or UI intent. */
392
+ const trackunitBrandingPalette = {
393
+ TRACKUNIT_BRANDING: { DEFAULT: "249 66 58" },
393
394
  };
394
395
  const intentPalette = {
395
396
  INFO: tailwindPalette.blue,
@@ -616,7 +617,7 @@ const otherPalette = {
616
617
  const groupedPalettes = {
617
618
  // General
618
619
  GENERAL: generalPalette,
619
- AI: aiPalette,
620
+ TRACKUNIT_BRANDING: trackunitBrandingPalette,
620
621
  // UI Intent
621
622
  INTENT: intentPalette,
622
623
  // Asset Criticality
@@ -639,7 +640,7 @@ const groupedPalettes = {
639
640
  const trackunitPalette = {
640
641
  // General
641
642
  ...generalPalette,
642
- ...aiPalette,
643
+ ...trackunitBrandingPalette,
643
644
  // UI Intent
644
645
  ...intentPalette,
645
646
  // Asset Criticality
@@ -670,7 +671,11 @@ const trackunitPalette = {
670
671
  const themeColors = {
671
672
  NEUTRAL: { name: "neutral", variants: trackunitPalette.NEUTRAL },
672
673
  PRIMARY: { name: "primary", variants: trackunitPalette.PRIMARY },
673
- AI: { name: "ai", variants: trackunitPalette.AI, defaultVariant: "DEFAULT" },
674
+ TRACKUNIT_BRANDING: {
675
+ name: "trackunit_branding",
676
+ variants: trackunitPalette.TRACKUNIT_BRANDING,
677
+ defaultVariant: "DEFAULT",
678
+ },
674
679
  BLACK: { name: "black", variants: trackunitPalette.BLACK, defaultVariant: "DEFAULT" },
675
680
  WHITE: { name: "white", variants: trackunitPalette.WHITE, defaultVariant: "DEFAULT" },
676
681
  INFO: { name: "info", variants: trackunitPalette.INFO, defaultVariant: 600 },
@@ -1094,7 +1099,6 @@ exports.DEFAULT_CHART_COLORS = DEFAULT_CHART_COLORS;
1094
1099
  exports.DEFAULT_CHART_OTHER = DEFAULT_CHART_OTHER;
1095
1100
  exports.accessManagementModePalette = accessManagementModePalette;
1096
1101
  exports.activityPalette = activityPalette;
1097
- exports.aiPalette = aiPalette;
1098
1102
  exports.color = color;
1099
1103
  exports.criticalityPalette = criticalityPalette;
1100
1104
  exports.elevation = elevation;
@@ -1126,6 +1130,7 @@ exports.themeScreenSizeAsNumber = themeScreenSizeAsNumber;
1126
1130
  exports.themeSpacing = themeSpacing;
1127
1131
  exports.themeZIndex = themeZIndex;
1128
1132
  exports.themedPalette = themedPalette;
1133
+ exports.trackunitBrandingPalette = trackunitBrandingPalette;
1129
1134
  exports.trackunitPalette = trackunitPalette;
1130
1135
  exports.utilizationPalette = utilizationPalette;
1131
1136
  exports.zIndex = zIndex;
package/index.esm.js CHANGED
@@ -386,8 +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" },
389
+ /** Trackunit brand red. This identifies the brand, not a general AI action or UI intent. */
390
+ const trackunitBrandingPalette = {
391
+ TRACKUNIT_BRANDING: { DEFAULT: "249 66 58" },
391
392
  };
392
393
  const intentPalette = {
393
394
  INFO: tailwindPalette.blue,
@@ -614,7 +615,7 @@ const otherPalette = {
614
615
  const groupedPalettes = {
615
616
  // General
616
617
  GENERAL: generalPalette,
617
- AI: aiPalette,
618
+ TRACKUNIT_BRANDING: trackunitBrandingPalette,
618
619
  // UI Intent
619
620
  INTENT: intentPalette,
620
621
  // Asset Criticality
@@ -637,7 +638,7 @@ const groupedPalettes = {
637
638
  const trackunitPalette = {
638
639
  // General
639
640
  ...generalPalette,
640
- ...aiPalette,
641
+ ...trackunitBrandingPalette,
641
642
  // UI Intent
642
643
  ...intentPalette,
643
644
  // Asset Criticality
@@ -668,7 +669,11 @@ const trackunitPalette = {
668
669
  const themeColors = {
669
670
  NEUTRAL: { name: "neutral", variants: trackunitPalette.NEUTRAL },
670
671
  PRIMARY: { name: "primary", variants: trackunitPalette.PRIMARY },
671
- AI: { name: "ai", variants: trackunitPalette.AI, defaultVariant: "DEFAULT" },
672
+ TRACKUNIT_BRANDING: {
673
+ name: "trackunit_branding",
674
+ variants: trackunitPalette.TRACKUNIT_BRANDING,
675
+ defaultVariant: "DEFAULT",
676
+ },
672
677
  BLACK: { name: "black", variants: trackunitPalette.BLACK, defaultVariant: "DEFAULT" },
673
678
  WHITE: { name: "white", variants: trackunitPalette.WHITE, defaultVariant: "DEFAULT" },
674
679
  INFO: { name: "info", variants: trackunitPalette.INFO, defaultVariant: 600 },
@@ -1087,4 +1092,4 @@ const zIndex = {
1087
1092
  toast: themeZIndex.toast,
1088
1093
  };
1089
1094
 
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 };
1095
+ 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, trackunitBrandingPalette, trackunitPalette, utilizationPalette, zIndex };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/ui-design-tokens",
3
- "version": "1.15.35",
3
+ "version": "1.15.36",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -32,13 +32,14 @@ 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: {
35
+ /** Trackunit brand red. This identifies the brand, not a general AI action or UI intent. */
36
+ export declare const trackunitBrandingPalette: {
37
+ readonly TRACKUNIT_BRANDING: {
37
38
  readonly DEFAULT: "249 66 58";
38
39
  };
39
40
  };
40
- export type AiColorKeys = keyof typeof aiPalette;
41
- export type AiColors = `${Lowercase<AiColorKeys>}`;
41
+ export type TrackunitBrandingColorKeys = keyof typeof trackunitBrandingPalette;
42
+ export type TrackunitBrandingColors = `${Lowercase<TrackunitBrandingColorKeys>}`;
42
43
  export declare const intentPalette: {
43
44
  readonly INFO: {
44
45
  readonly 50: "239 246 255";
@@ -415,8 +416,8 @@ export declare const groupedPalettes: {
415
416
  readonly DEFAULT: "255 255 255";
416
417
  };
417
418
  };
418
- readonly AI: {
419
- readonly AI: {
419
+ readonly TRACKUNIT_BRANDING: {
420
+ readonly TRACKUNIT_BRANDING: {
420
421
  readonly DEFAULT: "249 66 58";
421
422
  };
422
423
  };
@@ -1033,7 +1034,7 @@ export declare const trackunitPalette: {
1033
1034
  readonly 800: "153 27 27";
1034
1035
  readonly 900: "127 29 29";
1035
1036
  };
1036
- readonly AI: {
1037
+ readonly TRACKUNIT_BRANDING: {
1037
1038
  readonly DEFAULT: "249 66 58";
1038
1039
  };
1039
1040
  readonly PRIMARY: {