@trackunit/react-components 1.5.7 → 1.5.9
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,7 +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
|
-
|
|
48
|
+
excessive_usage: "text-danger-600",
|
|
49
49
|
stopped: "text-stopped-700",
|
|
50
50
|
unknown: "text-unknown-400",
|
|
51
51
|
default: "text-current",
|
|
@@ -222,7 +222,7 @@ const cvaTag = cssClassVarianceUtilities.cvaMerge([
|
|
|
222
222
|
unknown: ["bg-unknown-100", "text-unknown-700"],
|
|
223
223
|
moving: ["bg-neutral-100", "text-neutral-700"],
|
|
224
224
|
active: ["bg-neutral-100", "text-neutral-700"],
|
|
225
|
-
|
|
225
|
+
excessive_usage: ["bg-danger-100", "text-danger-700"],
|
|
226
226
|
},
|
|
227
227
|
border: {
|
|
228
228
|
none: "border-none",
|
|
@@ -2725,7 +2725,7 @@ const cvaIndicatorPing = cssClassVarianceUtilities.cvaMerge(["animate-ping-sm",
|
|
|
2725
2725
|
stopped: "bg-stopped-700",
|
|
2726
2726
|
moving: "bg-moving-600",
|
|
2727
2727
|
active: "bg-active-600",
|
|
2728
|
-
|
|
2728
|
+
excessive_usage: "bg-danger-600",
|
|
2729
2729
|
unknown: "bg-unknown-400",
|
|
2730
2730
|
unused: "bg-unused-400",
|
|
2731
2731
|
utilized: "bg-utilized-600",
|
|
@@ -2768,7 +2768,7 @@ const cvaIndicatorIconBackground = cssClassVarianceUtilities.cvaMerge(["rounded-
|
|
|
2768
2768
|
stopped: "bg-stopped-100 text-stopped-700",
|
|
2769
2769
|
moving: "text-moving-600 bg-neutral-100",
|
|
2770
2770
|
active: "text-active-600 bg-neutral-100",
|
|
2771
|
-
|
|
2771
|
+
excessive_usage: "bg-danger-100 text-danger-600",
|
|
2772
2772
|
unknown: "bg-unknown-50 text-unknown-400",
|
|
2773
2773
|
unused: "bg-unused-300 text-unused-400",
|
|
2774
2774
|
utilized: "bg-utilized-400 text-utilized-600",
|
package/index.esm.js
CHANGED
|
@@ -43,7 +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
|
-
|
|
46
|
+
excessive_usage: "text-danger-600",
|
|
47
47
|
stopped: "text-stopped-700",
|
|
48
48
|
unknown: "text-unknown-400",
|
|
49
49
|
default: "text-current",
|
|
@@ -220,7 +220,7 @@ const cvaTag = cvaMerge([
|
|
|
220
220
|
unknown: ["bg-unknown-100", "text-unknown-700"],
|
|
221
221
|
moving: ["bg-neutral-100", "text-neutral-700"],
|
|
222
222
|
active: ["bg-neutral-100", "text-neutral-700"],
|
|
223
|
-
|
|
223
|
+
excessive_usage: ["bg-danger-100", "text-danger-700"],
|
|
224
224
|
},
|
|
225
225
|
border: {
|
|
226
226
|
none: "border-none",
|
|
@@ -2723,7 +2723,7 @@ const cvaIndicatorPing = cvaMerge(["animate-ping-sm", "absolute", "inline-flex",
|
|
|
2723
2723
|
stopped: "bg-stopped-700",
|
|
2724
2724
|
moving: "bg-moving-600",
|
|
2725
2725
|
active: "bg-active-600",
|
|
2726
|
-
|
|
2726
|
+
excessive_usage: "bg-danger-600",
|
|
2727
2727
|
unknown: "bg-unknown-400",
|
|
2728
2728
|
unused: "bg-unused-400",
|
|
2729
2729
|
utilized: "bg-utilized-600",
|
|
@@ -2766,7 +2766,7 @@ const cvaIndicatorIconBackground = cvaMerge(["rounded-full", "items-center", "ju
|
|
|
2766
2766
|
stopped: "bg-stopped-100 text-stopped-700",
|
|
2767
2767
|
moving: "text-moving-600 bg-neutral-100",
|
|
2768
2768
|
active: "text-active-600 bg-neutral-100",
|
|
2769
|
-
|
|
2769
|
+
excessive_usage: "bg-danger-100 text-danger-600",
|
|
2770
2770
|
unknown: "bg-unknown-50 text-unknown-400",
|
|
2771
2771
|
unused: "bg-unused-300 text-unused-400",
|
|
2772
2772
|
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.5.
|
|
3
|
+
"version": "1.5.9",
|
|
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.4.
|
|
22
|
-
"@trackunit/css-class-variance-utilities": "1.4.
|
|
23
|
-
"@trackunit/shared-utils": "1.6.
|
|
24
|
-
"@trackunit/ui-icons": "1.4.
|
|
25
|
-
"@trackunit/react-table-pagination": "1.4.
|
|
26
|
-
"@trackunit/react-test-setup": "1.1.
|
|
21
|
+
"@trackunit/ui-design-tokens": "1.4.7",
|
|
22
|
+
"@trackunit/css-class-variance-utilities": "1.4.5",
|
|
23
|
+
"@trackunit/shared-utils": "1.6.5",
|
|
24
|
+
"@trackunit/ui-icons": "1.4.5",
|
|
25
|
+
"@trackunit/react-table-pagination": "1.4.5",
|
|
26
|
+
"@trackunit/react-test-setup": "1.1.5"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|
|
@@ -293,17 +293,17 @@ export declare const iconPalette: {
|
|
|
293
293
|
readonly 800: "22 101 52";
|
|
294
294
|
readonly 900: "20 83 45";
|
|
295
295
|
};
|
|
296
|
-
|
|
297
|
-
readonly 50: "
|
|
298
|
-
readonly 100: "254
|
|
299
|
-
readonly 200: "
|
|
300
|
-
readonly 300: "252
|
|
301
|
-
readonly 400: "
|
|
302
|
-
readonly 500: "
|
|
303
|
-
readonly 600: "
|
|
304
|
-
readonly 700: "
|
|
305
|
-
readonly 800: "
|
|
306
|
-
readonly 900: "
|
|
296
|
+
EXCESSIVE_USAGE: {
|
|
297
|
+
readonly 50: "254 242 242";
|
|
298
|
+
readonly 100: "254 226 226";
|
|
299
|
+
readonly 200: "254 202 202";
|
|
300
|
+
readonly 300: "252 165 165";
|
|
301
|
+
readonly 400: "248 113 113";
|
|
302
|
+
readonly 500: "239 68 68";
|
|
303
|
+
readonly 600: "220 38 38";
|
|
304
|
+
readonly 700: "185 28 28";
|
|
305
|
+
readonly 800: "153 27 27";
|
|
306
|
+
readonly 900: "127 29 29";
|
|
307
307
|
};
|
|
308
308
|
GOOD: {
|
|
309
309
|
readonly 50: "240 253 244";
|
|
@@ -432,7 +432,7 @@ export declare const iconPalette: {
|
|
|
432
432
|
readonly 900: "127 29 29";
|
|
433
433
|
};
|
|
434
434
|
};
|
|
435
|
-
export declare const iconColorNames: ("info" | "success" | "warning" | "danger" | "primary" | "secondary" | "neutral" | "black" | "white" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "unknown" | "moving" | "active" | "
|
|
435
|
+
export declare const iconColorNames: ("info" | "success" | "warning" | "danger" | "primary" | "secondary" | "neutral" | "black" | "white" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "unknown" | "moving" | "active" | "excessive_usage" | "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")[];
|
|
436
436
|
type IconPropsSmall = {
|
|
437
437
|
size?: "small";
|
|
438
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" | "
|
|
2
|
+
color?: "default" | "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "moving" | "active" | "excessive_usage" | "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" | "
|
|
9
|
+
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "moving" | "active" | "excessive_usage" | "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" | "
|
|
12
|
+
color?: "primary" | "secondary" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "stopped" | "moving" | "active" | "excessive_usage" | "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" | "
|
|
4
|
+
color?: "primary" | "secondary" | "neutral" | "black" | "white" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "stopped" | "idle" | "unknown" | "moving" | "active" | "excessive_usage" | 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;
|