@trackunit/react-components 6.0.33 → 6.0.34-alpha-375f337cfb9.0
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 +4 -0
- package/index.esm.js +4 -0
- package/migrations/assets/react-router-components/package.json +6 -6
- package/package.json +6 -6
- package/src/components/Icon/Icon.d.ts +7 -1
- package/src/components/Icon/Icon.variants.d.ts +3 -0
- package/src/components/Indicator/Indicator.variants.d.ts +6 -0
- package/src/components/Tag/Tag.variants.d.ts +3 -0
package/index.cjs.js
CHANGED
|
@@ -96,6 +96,7 @@ const cvaIcon = cssClassVarianceUtilities.cva({
|
|
|
96
96
|
excessive_usage: "text-danger-500",
|
|
97
97
|
stopped: "text-stopped-700",
|
|
98
98
|
unknown: "text-unknown-400",
|
|
99
|
+
no_data: "text-no_data-300",
|
|
99
100
|
default: "text-current",
|
|
100
101
|
black: "text-black",
|
|
101
102
|
white: "text-white",
|
|
@@ -2294,6 +2295,7 @@ const cvaTag = cssClassVarianceUtilities.cva({
|
|
|
2294
2295
|
stopped: ["bg-stopped-100", "text-stopped-700"],
|
|
2295
2296
|
idle: ["bg-idle-100", "text-idle-700"],
|
|
2296
2297
|
unknown: ["bg-unknown-100", "text-unknown-500"],
|
|
2298
|
+
no_data: ["bg-no_data-100", "text-no_data-500"],
|
|
2297
2299
|
moving: ["bg-neutral-100", "text-neutral-700"],
|
|
2298
2300
|
active: ["bg-neutral-100", "text-neutral-700"],
|
|
2299
2301
|
excessive_usage: ["bg-danger-100", "text-danger-700"],
|
|
@@ -6321,6 +6323,7 @@ const cvaIndicatorPing = cssClassVarianceUtilities.cva({
|
|
|
6321
6323
|
active: "bg-active-600",
|
|
6322
6324
|
excessive_usage: "bg-excessive_usage-600",
|
|
6323
6325
|
unknown: "bg-unknown-400",
|
|
6326
|
+
no_data: "bg-no_data-300",
|
|
6324
6327
|
unused: "bg-unused-400",
|
|
6325
6328
|
utilized: "bg-utilized-600",
|
|
6326
6329
|
heavily_utilized: "bg-heavily_utilized-500",
|
|
@@ -6365,6 +6368,7 @@ const cvaIndicatorIconBackground = cssClassVarianceUtilities.cva({
|
|
|
6365
6368
|
active: "text-active-600 bg-neutral-100",
|
|
6366
6369
|
excessive_usage: "bg-excessive_usage-100 text-excessive_usage-600",
|
|
6367
6370
|
unknown: "bg-unknown-100 text-unknown-400",
|
|
6371
|
+
no_data: "bg-no_data-100 text-no_data-300",
|
|
6368
6372
|
unused: "bg-unused-100 text-unused-400",
|
|
6369
6373
|
utilized: "bg-utilized-100 text-utilized-600",
|
|
6370
6374
|
heavily_utilized: "bg-heavily_utilized-100 text-heavily_utilized-500",
|
package/index.esm.js
CHANGED
|
@@ -95,6 +95,7 @@ const cvaIcon = cva({
|
|
|
95
95
|
excessive_usage: "text-danger-500",
|
|
96
96
|
stopped: "text-stopped-700",
|
|
97
97
|
unknown: "text-unknown-400",
|
|
98
|
+
no_data: "text-no_data-300",
|
|
98
99
|
default: "text-current",
|
|
99
100
|
black: "text-black",
|
|
100
101
|
white: "text-white",
|
|
@@ -2293,6 +2294,7 @@ const cvaTag = cva({
|
|
|
2293
2294
|
stopped: ["bg-stopped-100", "text-stopped-700"],
|
|
2294
2295
|
idle: ["bg-idle-100", "text-idle-700"],
|
|
2295
2296
|
unknown: ["bg-unknown-100", "text-unknown-500"],
|
|
2297
|
+
no_data: ["bg-no_data-100", "text-no_data-500"],
|
|
2296
2298
|
moving: ["bg-neutral-100", "text-neutral-700"],
|
|
2297
2299
|
active: ["bg-neutral-100", "text-neutral-700"],
|
|
2298
2300
|
excessive_usage: ["bg-danger-100", "text-danger-700"],
|
|
@@ -6320,6 +6322,7 @@ const cvaIndicatorPing = cva({
|
|
|
6320
6322
|
active: "bg-active-600",
|
|
6321
6323
|
excessive_usage: "bg-excessive_usage-600",
|
|
6322
6324
|
unknown: "bg-unknown-400",
|
|
6325
|
+
no_data: "bg-no_data-300",
|
|
6323
6326
|
unused: "bg-unused-400",
|
|
6324
6327
|
utilized: "bg-utilized-600",
|
|
6325
6328
|
heavily_utilized: "bg-heavily_utilized-500",
|
|
@@ -6364,6 +6367,7 @@ const cvaIndicatorIconBackground = cva({
|
|
|
6364
6367
|
active: "text-active-600 bg-neutral-100",
|
|
6365
6368
|
excessive_usage: "bg-excessive_usage-100 text-excessive_usage-600",
|
|
6366
6369
|
unknown: "bg-unknown-100 text-unknown-400",
|
|
6370
|
+
no_data: "bg-no_data-100 text-no_data-300",
|
|
6367
6371
|
unused: "bg-unused-100 text-unused-400",
|
|
6368
6372
|
utilized: "bg-utilized-100 text-utilized-600",
|
|
6369
6373
|
heavily_utilized: "bg-heavily_utilized-100 text-heavily_utilized-500",
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-router-components",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.37-alpha-375f337cfb9.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24.x"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@trackunit/css-class-variance-utilities": "2.6.
|
|
11
|
-
"@trackunit/i18n-library-translation": "2.14.
|
|
12
|
-
"@trackunit/react-components": "6.0.
|
|
13
|
-
"@trackunit/react-drawer": "2.17.
|
|
14
|
-
"@trackunit/shared-utils": "1.22.
|
|
10
|
+
"@trackunit/css-class-variance-utilities": "2.6.40-alpha-375f337cfb9.0",
|
|
11
|
+
"@trackunit/i18n-library-translation": "2.14.32-alpha-375f337cfb9.0",
|
|
12
|
+
"@trackunit/react-components": "6.0.34-alpha-375f337cfb9.0",
|
|
13
|
+
"@trackunit/react-drawer": "2.17.35-alpha-375f337cfb9.0",
|
|
14
|
+
"@trackunit/shared-utils": "1.22.40-alpha-375f337cfb9.0",
|
|
15
15
|
"dequal": "^2.0.3",
|
|
16
16
|
"zod": "^3.25.76"
|
|
17
17
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.34-alpha-375f337cfb9.0",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"migrations": "./migrations.json",
|
|
@@ -14,15 +14,15 @@
|
|
|
14
14
|
"@floating-ui/react": "^0.26.25",
|
|
15
15
|
"string-ts": "^2.0.0",
|
|
16
16
|
"tailwind-merge": "^3.7.0",
|
|
17
|
-
"@trackunit/ui-design-tokens": "1.21.
|
|
18
|
-
"@trackunit/css-class-variance-utilities": "2.6.
|
|
19
|
-
"@trackunit/shared-utils": "1.22.
|
|
20
|
-
"@trackunit/ui-icons": "1.20.
|
|
17
|
+
"@trackunit/ui-design-tokens": "1.21.39-alpha-375f337cfb9.0",
|
|
18
|
+
"@trackunit/css-class-variance-utilities": "2.6.40-alpha-375f337cfb9.0",
|
|
19
|
+
"@trackunit/shared-utils": "1.22.40-alpha-375f337cfb9.0",
|
|
20
|
+
"@trackunit/ui-icons": "1.20.39-alpha-375f337cfb9.0",
|
|
21
21
|
"es-toolkit": "^1.52.0",
|
|
22
22
|
"@tanstack/react-virtual": "^3.14.13",
|
|
23
23
|
"fflate": "^0.8.3",
|
|
24
24
|
"zod": "^3.25.76",
|
|
25
|
-
"@trackunit/i18n-library-translation": "2.14.
|
|
25
|
+
"@trackunit/i18n-library-translation": "2.14.32-alpha-375f337cfb9.0"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^19.0.0",
|
|
@@ -124,6 +124,12 @@ export declare const iconPalette: {
|
|
|
124
124
|
readonly 500: "107 114 128";
|
|
125
125
|
readonly 900: "17 24 39";
|
|
126
126
|
};
|
|
127
|
+
NO_DATA: {
|
|
128
|
+
readonly 100: "243 244 246";
|
|
129
|
+
readonly 300: "209 213 219";
|
|
130
|
+
readonly 500: "107 114 128";
|
|
131
|
+
readonly 900: "17 24 39";
|
|
132
|
+
};
|
|
127
133
|
MOVING: {
|
|
128
134
|
readonly 100: "220 252 231";
|
|
129
135
|
readonly 500: "34 197 94";
|
|
@@ -245,7 +251,7 @@ export declare const iconPalette: {
|
|
|
245
251
|
readonly 900: "127 29 29";
|
|
246
252
|
};
|
|
247
253
|
};
|
|
248
|
-
export declare const iconColorNames: ("black" | "white" | "active" | "primary" | "trackunit_branding" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "moving" | "excessive_usage" | "stopped" | "unknown" | "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")[];
|
|
254
|
+
export declare const iconColorNames: ("black" | "white" | "active" | "primary" | "trackunit_branding" | "neutral" | "info" | "success" | "warning" | "danger" | "good" | "low" | "critical" | "working" | "idle" | "moving" | "excessive_usage" | "stopped" | "unknown" | "no_data" | "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")[];
|
|
249
255
|
type IconPropsSmall = {
|
|
250
256
|
size?: "small";
|
|
251
257
|
type?: "solid";
|
|
@@ -19,6 +19,7 @@ export declare const cvaIcon: import("cva").CVAComponent<Omit<{
|
|
|
19
19
|
excessive_usage: string;
|
|
20
20
|
stopped: string;
|
|
21
21
|
unknown: string;
|
|
22
|
+
no_data: string;
|
|
22
23
|
default: string;
|
|
23
24
|
black: string;
|
|
24
25
|
white: string;
|
|
@@ -88,6 +89,7 @@ export declare const cvaIcon: import("cva").CVAComponent<Omit<{
|
|
|
88
89
|
excessive_usage: string;
|
|
89
90
|
stopped: string;
|
|
90
91
|
unknown: string;
|
|
92
|
+
no_data: string;
|
|
91
93
|
default: string;
|
|
92
94
|
black: string;
|
|
93
95
|
white: string;
|
|
@@ -143,6 +145,7 @@ export declare const cvaIcon: import("cva").CVAComponent<Omit<{
|
|
|
143
145
|
excessive_usage: string;
|
|
144
146
|
stopped: string;
|
|
145
147
|
unknown: string;
|
|
148
|
+
no_data: string;
|
|
146
149
|
default: string;
|
|
147
150
|
black: string;
|
|
148
151
|
white: string;
|
|
@@ -99,6 +99,7 @@ export declare const cvaIndicatorPing: import("cva").CVAComponent<Omit<{
|
|
|
99
99
|
active: string;
|
|
100
100
|
excessive_usage: string;
|
|
101
101
|
unknown: string;
|
|
102
|
+
no_data: string;
|
|
102
103
|
unused: string;
|
|
103
104
|
utilized: string;
|
|
104
105
|
heavily_utilized: string;
|
|
@@ -141,6 +142,7 @@ export declare const cvaIndicatorPing: import("cva").CVAComponent<Omit<{
|
|
|
141
142
|
active: string;
|
|
142
143
|
excessive_usage: string;
|
|
143
144
|
unknown: string;
|
|
145
|
+
no_data: string;
|
|
144
146
|
unused: string;
|
|
145
147
|
utilized: string;
|
|
146
148
|
heavily_utilized: string;
|
|
@@ -183,6 +185,7 @@ export declare const cvaIndicatorPing: import("cva").CVAComponent<Omit<{
|
|
|
183
185
|
active: string;
|
|
184
186
|
excessive_usage: string;
|
|
185
187
|
unknown: string;
|
|
188
|
+
no_data: string;
|
|
186
189
|
unused: string;
|
|
187
190
|
utilized: string;
|
|
188
191
|
heavily_utilized: string;
|
|
@@ -226,6 +229,7 @@ export declare const cvaIndicatorIconBackground: import("cva").CVAComponent<Omit
|
|
|
226
229
|
active: string;
|
|
227
230
|
excessive_usage: string;
|
|
228
231
|
unknown: string;
|
|
232
|
+
no_data: string;
|
|
229
233
|
unused: string;
|
|
230
234
|
utilized: string;
|
|
231
235
|
heavily_utilized: string;
|
|
@@ -276,6 +280,7 @@ export declare const cvaIndicatorIconBackground: import("cva").CVAComponent<Omit
|
|
|
276
280
|
active: string;
|
|
277
281
|
excessive_usage: string;
|
|
278
282
|
unknown: string;
|
|
283
|
+
no_data: string;
|
|
279
284
|
unused: string;
|
|
280
285
|
utilized: string;
|
|
281
286
|
heavily_utilized: string;
|
|
@@ -325,6 +330,7 @@ export declare const cvaIndicatorIconBackground: import("cva").CVAComponent<Omit
|
|
|
325
330
|
active: string;
|
|
326
331
|
excessive_usage: string;
|
|
327
332
|
unknown: string;
|
|
333
|
+
no_data: string;
|
|
328
334
|
unused: string;
|
|
329
335
|
utilized: string;
|
|
330
336
|
heavily_utilized: string;
|
|
@@ -31,6 +31,7 @@ export declare const cvaTag: import("cva").CVAComponent<Omit<{
|
|
|
31
31
|
stopped: string[];
|
|
32
32
|
idle: string[];
|
|
33
33
|
unknown: string[];
|
|
34
|
+
no_data: string[];
|
|
34
35
|
moving: string[];
|
|
35
36
|
active: string[];
|
|
36
37
|
excessive_usage: string[];
|
|
@@ -72,6 +73,7 @@ export declare const cvaTag: import("cva").CVAComponent<Omit<{
|
|
|
72
73
|
stopped: string[];
|
|
73
74
|
idle: string[];
|
|
74
75
|
unknown: string[];
|
|
76
|
+
no_data: string[];
|
|
75
77
|
moving: string[];
|
|
76
78
|
active: string[];
|
|
77
79
|
excessive_usage: string[];
|
|
@@ -112,6 +114,7 @@ export declare const cvaTag: import("cva").CVAComponent<Omit<{
|
|
|
112
114
|
stopped: string[];
|
|
113
115
|
idle: string[];
|
|
114
116
|
unknown: string[];
|
|
117
|
+
no_data: string[];
|
|
115
118
|
moving: string[];
|
|
116
119
|
active: string[];
|
|
117
120
|
excessive_usage: string[];
|