@trackunit/ui-design-tokens 1.6.16 → 1.6.18

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
@@ -362,17 +362,6 @@ const generalPalette = {
362
362
  BLACK: { DEFAULT: "26 27 28" },
363
363
  WHITE: { DEFAULT: "255 255 255" },
364
364
  };
365
- /**
366
- * The contrasted primary color palette
367
- * Should be available for components using the primary color palette, such as "Button", "RadioButton", "Checkbox", "Tag"
368
- */
369
- const contrastedPalette = {
370
- PRIMARY_CONTRASTED: { DEFAULT: "26 27 28" },
371
- };
372
- /**
373
- * The intent color palette
374
- * Should be available for most colored components such as "Button", "Alert", "Indicator", "Badge"
375
- */
376
365
  const intentPalette = {
377
366
  INFO: tailwindPalette.blue,
378
367
  SUCCESS: tailwindPalette.green,
@@ -591,8 +580,6 @@ const groupedPalettes = {
591
580
  const trackunitPalette = {
592
581
  // General
593
582
  ...generalPalette,
594
- // Primary colors contrasted
595
- ...contrastedPalette,
596
583
  // UI Intent
597
584
  ...intentPalette,
598
585
  // Asset Criticality
@@ -681,11 +668,6 @@ const themeColors = {
681
668
  name: "notification_counter_background",
682
669
  variants: trackunitPalette.NOTIFICATION_COUNTER_BACKGROUND,
683
670
  },
684
- PRIMARY_CONTRASTED: {
685
- name: "primary_contrasted",
686
- variants: { ...trackunitPalette.BLACK, ...trackunitPalette.WHITE },
687
- defaultVariant: "DEFAULT",
688
- },
689
671
  CYAN: { name: "cyan", variants: tailwindPalette.cyan },
690
672
  LIME: { name: "lime", variants: tailwindPalette.lime },
691
673
  ORANGE: { name: "orange", variants: tailwindPalette.orange },
@@ -955,7 +937,6 @@ exports.DEFAULT_CHART_COLORS = DEFAULT_CHART_COLORS;
955
937
  exports.DEFAULT_CHART_OTHER = DEFAULT_CHART_OTHER;
956
938
  exports.activityPalette = activityPalette;
957
939
  exports.color = color;
958
- exports.contrastedPalette = contrastedPalette;
959
940
  exports.criticalityPalette = criticalityPalette;
960
941
  exports.elevation = elevation;
961
942
  exports.fontFamily = fontFamily;
package/index.esm.js CHANGED
@@ -360,17 +360,6 @@ const generalPalette = {
360
360
  BLACK: { DEFAULT: "26 27 28" },
361
361
  WHITE: { DEFAULT: "255 255 255" },
362
362
  };
363
- /**
364
- * The contrasted primary color palette
365
- * Should be available for components using the primary color palette, such as "Button", "RadioButton", "Checkbox", "Tag"
366
- */
367
- const contrastedPalette = {
368
- PRIMARY_CONTRASTED: { DEFAULT: "26 27 28" },
369
- };
370
- /**
371
- * The intent color palette
372
- * Should be available for most colored components such as "Button", "Alert", "Indicator", "Badge"
373
- */
374
363
  const intentPalette = {
375
364
  INFO: tailwindPalette.blue,
376
365
  SUCCESS: tailwindPalette.green,
@@ -589,8 +578,6 @@ const groupedPalettes = {
589
578
  const trackunitPalette = {
590
579
  // General
591
580
  ...generalPalette,
592
- // Primary colors contrasted
593
- ...contrastedPalette,
594
581
  // UI Intent
595
582
  ...intentPalette,
596
583
  // Asset Criticality
@@ -679,11 +666,6 @@ const themeColors = {
679
666
  name: "notification_counter_background",
680
667
  variants: trackunitPalette.NOTIFICATION_COUNTER_BACKGROUND,
681
668
  },
682
- PRIMARY_CONTRASTED: {
683
- name: "primary_contrasted",
684
- variants: { ...trackunitPalette.BLACK, ...trackunitPalette.WHITE },
685
- defaultVariant: "DEFAULT",
686
- },
687
669
  CYAN: { name: "cyan", variants: tailwindPalette.cyan },
688
670
  LIME: { name: "lime", variants: tailwindPalette.lime },
689
671
  ORANGE: { name: "orange", variants: tailwindPalette.orange },
@@ -948,4 +930,4 @@ const zIndex = {
948
930
  toast: themeZIndex.toast,
949
931
  };
950
932
 
951
- export { CHART_STATUS_COLORS, DEFAULT_CHART_COLORS, DEFAULT_CHART_OTHER, activityPalette, color, contrastedPalette, 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 };
933
+ 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/ui-design-tokens",
3
- "version": "1.6.16",
3
+ "version": "1.6.18",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -44,21 +44,6 @@ export declare const generalPalette: {
44
44
  };
45
45
  export type GeneralColorKeys = keyof typeof generalPalette;
46
46
  export type GeneralColors = `${Lowercase<GeneralColorKeys>}`;
47
- /**
48
- * The contrasted primary color palette
49
- * Should be available for components using the primary color palette, such as "Button", "RadioButton", "Checkbox", "Tag"
50
- */
51
- export declare const contrastedPalette: {
52
- PRIMARY_CONTRASTED: {
53
- DEFAULT: string;
54
- };
55
- };
56
- export type ContrastedPaletteColorKeys = keyof typeof contrastedPalette;
57
- export type ContrastedPaletteColors = `${Lowercase<ContrastedPaletteColorKeys>}`;
58
- /**
59
- * The intent color palette
60
- * Should be available for most colored components such as "Button", "Alert", "Indicator", "Badge"
61
- */
62
47
  export declare const intentPalette: {
63
48
  readonly INFO: {
64
49
  readonly 50: "239 246 255";
@@ -979,9 +964,6 @@ export declare const trackunitPalette: {
979
964
  readonly 800: "153 27 27";
980
965
  readonly 900: "127 29 29";
981
966
  };
982
- readonly PRIMARY_CONTRASTED: {
983
- DEFAULT: string;
984
- };
985
967
  readonly PRIMARY: {
986
968
  readonly 50: "239 246 255";
987
969
  readonly 100: "219 234 254";