@trackunit/css-tailwind 0.0.107 → 0.0.109

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/css-tailwind",
3
- "version": "0.0.107",
3
+ "version": "0.0.109",
4
4
  "main": "./index.cjs.js",
5
5
  "repository": "https://github.com/Trackunit/manager",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -24,6 +24,83 @@ export declare function themeColorsToVariableObjectDefinition(themeColors: Theme
24
24
  readonly WORK_PLACE: string;
25
25
  readonly CONSTRUCTION_SITE: string;
26
26
  readonly UNKNOWN: string;
27
+ } | {
28
+ readonly 50: string;
29
+ readonly 100: string;
30
+ readonly 200: string;
31
+ readonly 300: string;
32
+ readonly 400: string;
33
+ readonly 500: string;
34
+ readonly 600: string;
35
+ readonly 700: string;
36
+ readonly 800: string;
37
+ readonly 900: string;
38
+ } | {
39
+ readonly 50: string;
40
+ readonly 100: string;
41
+ readonly 200: string;
42
+ readonly 300: string;
43
+ readonly 400: string;
44
+ readonly 500: string;
45
+ readonly 600: string;
46
+ readonly 700: string;
47
+ readonly 800: string;
48
+ readonly 900: string;
49
+ } | {
50
+ readonly 50: string;
51
+ readonly 100: string;
52
+ readonly 200: string;
53
+ readonly 300: string;
54
+ readonly 400: string;
55
+ readonly 500: string;
56
+ readonly 600: string;
57
+ readonly 700: string;
58
+ readonly 800: string;
59
+ readonly 900: string;
60
+ } | {
61
+ readonly 50: string;
62
+ readonly 100: string;
63
+ readonly 200: string;
64
+ readonly 300: string;
65
+ readonly 400: string;
66
+ readonly 500: string;
67
+ readonly 600: string;
68
+ readonly 700: string;
69
+ readonly 800: string;
70
+ readonly 900: string;
71
+ } | {
72
+ readonly 50: string;
73
+ readonly 100: string;
74
+ readonly 200: string;
75
+ readonly 300: string;
76
+ readonly 400: string;
77
+ readonly 500: string;
78
+ readonly 600: string;
79
+ readonly 700: string;
80
+ readonly 800: string;
81
+ readonly 900: string;
82
+ } | {
83
+ readonly 50: string;
84
+ readonly 100: string;
85
+ readonly 200: string;
86
+ readonly 300: string;
87
+ readonly 400: string;
88
+ readonly 500: string;
89
+ readonly 600: string;
90
+ readonly 700: string;
91
+ readonly 800: string;
92
+ readonly 900: string;
93
+ } | {
94
+ readonly 50: string;
95
+ readonly 100: string;
96
+ readonly 200: string;
97
+ readonly 300: string;
98
+ readonly 400: string;
99
+ readonly 500: string;
100
+ readonly 600: string;
101
+ readonly 700: string;
102
+ readonly 800: string;
103
+ readonly 900: string;
27
104
  } | {
28
105
  readonly 100: string;
29
106
  readonly 600: string;
@@ -692,6 +692,15 @@ var rentalStatusPalette = {
692
692
  IN_REPAIR: { 100: "255 233 233", 600: "255 90 90" },
693
693
  OTHER_RENTAL_STATUS: { 100: "238 239 239", 600: "151 154 154" },
694
694
  };
695
+ var customerTypePalette = {
696
+ CONTRACTOR: tailwindPalette.purple,
697
+ DEALER: tailwindPalette.gray,
698
+ RENTAL: tailwindPalette.orange,
699
+ OEM: tailwindPalette.blue,
700
+ SERVICE: tailwindPalette.emerald,
701
+ DISTRIBUTOR: tailwindPalette.cyan,
702
+ OTHER_CUSTOMER_TYPE: tailwindPalette.red,
703
+ };
695
704
  var sitesPalette = {
696
705
  SITE: {
697
706
  AREA: tailwindPalette.blue["600"],
@@ -716,6 +725,8 @@ var trackunitPalette = {
716
725
  ...utilizationPalette,
717
726
  // Rental
718
727
  ...rentalStatusPalette,
728
+ // Customer Type
729
+ ...customerTypePalette,
719
730
  // Sites
720
731
  ...sitesPalette,
721
732
  };
@@ -753,6 +764,13 @@ var themeColors = {
753
764
  RETURNED: { name: "returned", variants: trackunitPalette.RETURNED },
754
765
  TRANSFER: { name: "transfer", variants: trackunitPalette.TRANSFER },
755
766
  SITE: { name: "site", variants: trackunitPalette.SITE },
767
+ CONTRACTOR: { name: "contractor", variants: trackunitPalette.CONTRACTOR },
768
+ DEALER: { name: "dealer", variants: trackunitPalette.DEALER },
769
+ DISTRIBUTOR: { name: "distributor", variants: trackunitPalette.DISTRIBUTOR },
770
+ OEM: { name: "oem", variants: trackunitPalette.OEM },
771
+ RENTAL: { name: "rental", variants: trackunitPalette.RENTAL },
772
+ SERVICE: { name: "service", variants: trackunitPalette.SERVICE },
773
+ OTHER_CUSTOMER_TYPE: { name: "other_customer_type", variants: trackunitPalette.OTHER_CUSTOMER_TYPE },
756
774
  };
757
775
 
758
776
  // libs/ui/design-tokens/src/tokens/elevation.ts