@trackunit/react-components 1.4.162 → 1.4.164
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
|
@@ -45,6 +45,7 @@ const cvaIcon = cssClassVarianceUtilities.cvaMerge(["aspect-square", "inline-gri
|
|
|
45
45
|
idle: "text-idle-600",
|
|
46
46
|
moving: "text-moving-600",
|
|
47
47
|
active: "text-active-600",
|
|
48
|
+
out_of_contract: "text-amber-600",
|
|
48
49
|
stopped: "text-stopped-700",
|
|
49
50
|
unknown: "text-unknown-400",
|
|
50
51
|
default: "text-current",
|
|
@@ -221,6 +222,7 @@ const cvaTag = cssClassVarianceUtilities.cvaMerge([
|
|
|
221
222
|
unknown: ["bg-unknown-100", "text-unknown-700"],
|
|
222
223
|
moving: ["bg-neutral-100", "text-neutral-700"],
|
|
223
224
|
active: ["bg-neutral-100", "text-neutral-700"],
|
|
225
|
+
out_of_contract: ["bg-amber-100", "text-amber-700"],
|
|
224
226
|
},
|
|
225
227
|
border: {
|
|
226
228
|
none: "border-none",
|
|
@@ -2673,6 +2675,7 @@ const cvaIndicatorPing = cssClassVarianceUtilities.cvaMerge(["animate-ping-sm",
|
|
|
2673
2675
|
stopped: "bg-stopped-700",
|
|
2674
2676
|
moving: "bg-moving-600",
|
|
2675
2677
|
active: "bg-active-600",
|
|
2678
|
+
out_of_contract: "bg-amber-600",
|
|
2676
2679
|
unknown: "bg-unknown-400",
|
|
2677
2680
|
unused: "bg-unused-400",
|
|
2678
2681
|
utilized: "bg-utilized-600",
|
|
@@ -2715,6 +2718,7 @@ const cvaIndicatorIconBackground = cssClassVarianceUtilities.cvaMerge(["rounded-
|
|
|
2715
2718
|
stopped: "bg-stopped-100 text-stopped-700",
|
|
2716
2719
|
moving: "text-moving-600 bg-neutral-100",
|
|
2717
2720
|
active: "text-active-600 bg-neutral-100",
|
|
2721
|
+
out_of_contract: "bg-amber-100 text-amber-600",
|
|
2718
2722
|
unknown: "bg-unknown-50 text-unknown-400",
|
|
2719
2723
|
unused: "bg-unused-300 text-unused-400",
|
|
2720
2724
|
utilized: "bg-utilized-400 text-utilized-600",
|
package/index.esm.js
CHANGED
|
@@ -43,6 +43,7 @@ const cvaIcon = cvaMerge(["aspect-square", "inline-grid", "relative"], {
|
|
|
43
43
|
idle: "text-idle-600",
|
|
44
44
|
moving: "text-moving-600",
|
|
45
45
|
active: "text-active-600",
|
|
46
|
+
out_of_contract: "text-amber-600",
|
|
46
47
|
stopped: "text-stopped-700",
|
|
47
48
|
unknown: "text-unknown-400",
|
|
48
49
|
default: "text-current",
|
|
@@ -219,6 +220,7 @@ const cvaTag = cvaMerge([
|
|
|
219
220
|
unknown: ["bg-unknown-100", "text-unknown-700"],
|
|
220
221
|
moving: ["bg-neutral-100", "text-neutral-700"],
|
|
221
222
|
active: ["bg-neutral-100", "text-neutral-700"],
|
|
223
|
+
out_of_contract: ["bg-amber-100", "text-amber-700"],
|
|
222
224
|
},
|
|
223
225
|
border: {
|
|
224
226
|
none: "border-none",
|
|
@@ -2671,6 +2673,7 @@ const cvaIndicatorPing = cvaMerge(["animate-ping-sm", "absolute", "inline-flex",
|
|
|
2671
2673
|
stopped: "bg-stopped-700",
|
|
2672
2674
|
moving: "bg-moving-600",
|
|
2673
2675
|
active: "bg-active-600",
|
|
2676
|
+
out_of_contract: "bg-amber-600",
|
|
2674
2677
|
unknown: "bg-unknown-400",
|
|
2675
2678
|
unused: "bg-unused-400",
|
|
2676
2679
|
utilized: "bg-utilized-600",
|
|
@@ -2713,6 +2716,7 @@ const cvaIndicatorIconBackground = cvaMerge(["rounded-full", "items-center", "ju
|
|
|
2713
2716
|
stopped: "bg-stopped-100 text-stopped-700",
|
|
2714
2717
|
moving: "text-moving-600 bg-neutral-100",
|
|
2715
2718
|
active: "text-active-600 bg-neutral-100",
|
|
2719
|
+
out_of_contract: "bg-amber-100 text-amber-600",
|
|
2716
2720
|
unknown: "bg-unknown-50 text-unknown-400",
|
|
2717
2721
|
unused: "bg-unused-300 text-unused-400",
|
|
2718
2722
|
utilized: "bg-utilized-400 text-utilized-600",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.164",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"@tanstack/react-router": "1.114.29",
|
|
19
19
|
"string-ts": "^2.0.0",
|
|
20
20
|
"tailwind-merge": "^2.0.0",
|
|
21
|
-
"@trackunit/ui-design-tokens": "1.3.
|
|
22
|
-
"@trackunit/css-class-variance-utilities": "1.3.
|
|
23
|
-
"@trackunit/shared-utils": "1.5.
|
|
24
|
-
"@trackunit/ui-icons": "1.3.
|
|
25
|
-
"@trackunit/react-table-pagination": "1.3.
|
|
26
|
-
"@trackunit/react-test-setup": "1.0.
|
|
21
|
+
"@trackunit/ui-design-tokens": "1.3.133",
|
|
22
|
+
"@trackunit/css-class-variance-utilities": "1.3.133",
|
|
23
|
+
"@trackunit/shared-utils": "1.5.133",
|
|
24
|
+
"@trackunit/ui-icons": "1.3.135",
|
|
25
|
+
"@trackunit/react-table-pagination": "1.3.135",
|
|
26
|
+
"@trackunit/react-test-setup": "1.0.23"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|
|
@@ -293,6 +293,18 @@ export declare const iconPalette: {
|
|
|
293
293
|
readonly 800: "22 101 52";
|
|
294
294
|
readonly 900: "20 83 45";
|
|
295
295
|
};
|
|
296
|
+
OUT_OF_CONTRACT: {
|
|
297
|
+
readonly 50: "255 251 235";
|
|
298
|
+
readonly 100: "254 243 199";
|
|
299
|
+
readonly 200: "253 230 138";
|
|
300
|
+
readonly 300: "252 211 77";
|
|
301
|
+
readonly 400: "251 191 36";
|
|
302
|
+
readonly 500: "245 158 11";
|
|
303
|
+
readonly 600: "217 119 6";
|
|
304
|
+
readonly 700: "180 83 9";
|
|
305
|
+
readonly 800: "146 64 14";
|
|
306
|
+
readonly 900: "120 53 15";
|
|
307
|
+
};
|
|
296
308
|
GOOD: {
|
|
297
309
|
readonly 50: "240 253 244";
|
|
298
310
|
readonly 100: "220 252 231";
|
|
@@ -420,7 +432,7 @@ export declare const iconPalette: {
|
|
|
420
432
|
readonly 900: "127 29 29";
|
|
421
433
|
};
|
|
422
434
|
};
|
|
423
|
-
export declare const iconColorNames: ("info" | "success" | "warning" | "danger" | "primary" | "secondary" | "neutral" | "black" | "white" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "unknown" | "moving" | "active" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "on_rent" | "returned" | "available" | "pickup_ready" | "transfer" | "in_repair" | "other_rental_status")[];
|
|
435
|
+
export declare const iconColorNames: ("info" | "success" | "warning" | "danger" | "primary" | "secondary" | "neutral" | "black" | "white" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "unknown" | "moving" | "active" | "out_of_contract" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "on_rent" | "returned" | "available" | "pickup_ready" | "transfer" | "in_repair" | "other_rental_status")[];
|
|
424
436
|
type IconPropsSmall = {
|
|
425
437
|
size?: "small";
|
|
426
438
|
type?: "solid";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const cvaIcon: (props?: ({
|
|
2
|
-
color?: "default" | "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "moving" | "active" | "stopped" | "unknown" | "black" | "white" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "on_rent" | "returned" | "available" | "pickup_ready" | "transfer" | "in_repair" | "other_rental_status" | null | undefined;
|
|
2
|
+
color?: "default" | "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "moving" | "active" | "out_of_contract" | "stopped" | "unknown" | "black" | "white" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "on_rent" | "returned" | "available" | "pickup_ready" | "transfer" | "in_repair" | "other_rental_status" | null | undefined;
|
|
3
3
|
size?: "small" | "medium" | "large" | null | undefined;
|
|
4
4
|
fontSize?: boolean | null | undefined;
|
|
5
5
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -6,9 +6,9 @@ export declare const cvaIndicatorLabel: (props?: ({
|
|
|
6
6
|
background?: "visible" | "hidden" | null | undefined;
|
|
7
7
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
8
8
|
export declare const cvaIndicatorPing: (props?: ({
|
|
9
|
-
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "moving" | "active" | "unknown" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "available" | "on_rent" | "pickup_ready" | "transfer" | "in_repair" | "returned" | "other_rental_status" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "white" | "black" | null | undefined;
|
|
9
|
+
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "moving" | "active" | "out_of_contract" | "unknown" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "available" | "on_rent" | "pickup_ready" | "transfer" | "in_repair" | "returned" | "other_rental_status" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "white" | "black" | null | undefined;
|
|
10
10
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
11
11
|
export declare const cvaIndicatorIconBackground: (props?: ({
|
|
12
|
-
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "moving" | "active" | "unknown" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "available" | "on_rent" | "pickup_ready" | "transfer" | "in_repair" | "returned" | "other_rental_status" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "white" | "black" | null | undefined;
|
|
12
|
+
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "moving" | "active" | "out_of_contract" | "unknown" | "unused" | "utilized" | "heavily_utilized" | "unknown_utilization" | "available" | "on_rent" | "pickup_ready" | "transfer" | "in_repair" | "returned" | "other_rental_status" | "site_area" | "site_classic_poi" | "site_classic_zone" | "site_depot" | "site_work_place" | "site_construction_site" | "site_unknown" | "white" | "black" | null | undefined;
|
|
13
13
|
background?: "visible" | "hidden" | null | undefined;
|
|
14
14
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const cvaTag: (props?: ({
|
|
2
2
|
size?: "small" | "medium" | null | undefined;
|
|
3
3
|
layout?: "default" | "containsDismiss" | "containsIcon" | null | undefined;
|
|
4
|
-
color?: "primary" | "secondary" | "neutral" | "black" | "white" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "stopped" | "idle" | "unknown" | "moving" | "active" | null | undefined;
|
|
4
|
+
color?: "primary" | "secondary" | "neutral" | "black" | "white" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "stopped" | "idle" | "unknown" | "moving" | "active" | "out_of_contract" | null | undefined;
|
|
5
5
|
border?: "default" | "none" | null | undefined;
|
|
6
6
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
7
7
|
export declare const cvaTagText: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|