@trackunit/react-components 1.7.5 → 1.7.6
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
|
@@ -2234,7 +2234,7 @@ const cvaHighlight = cssClassVarianceUtilities.cvaMerge([
|
|
|
2234
2234
|
], {
|
|
2235
2235
|
variants: {
|
|
2236
2236
|
color: {
|
|
2237
|
-
|
|
2237
|
+
info: ["bg-info-100", "text-info-700"],
|
|
2238
2238
|
success: ["bg-success-100", "text-success-700"],
|
|
2239
2239
|
warning: ["bg-warning-100", "text-warning-700"],
|
|
2240
2240
|
danger: ["bg-danger-100", "text-danger-700"],
|
package/index.esm.js
CHANGED
|
@@ -2232,7 +2232,7 @@ const cvaHighlight = cvaMerge([
|
|
|
2232
2232
|
], {
|
|
2233
2233
|
variants: {
|
|
2234
2234
|
color: {
|
|
2235
|
-
|
|
2235
|
+
info: ["bg-info-100", "text-info-700"],
|
|
2236
2236
|
success: ["bg-success-100", "text-success-700"],
|
|
2237
2237
|
warning: ["bg-warning-100", "text-warning-700"],
|
|
2238
2238
|
danger: ["bg-danger-100", "text-danger-700"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-components",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.6",
|
|
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.6.
|
|
22
|
-
"@trackunit/css-class-variance-utilities": "1.6.
|
|
23
|
-
"@trackunit/shared-utils": "1.8.
|
|
24
|
-
"@trackunit/ui-icons": "1.6.
|
|
25
|
-
"@trackunit/react-table-pagination": "1.6.
|
|
26
|
-
"@trackunit/react-test-setup": "1.3.
|
|
21
|
+
"@trackunit/ui-design-tokens": "1.6.6",
|
|
22
|
+
"@trackunit/css-class-variance-utilities": "1.6.5",
|
|
23
|
+
"@trackunit/shared-utils": "1.8.5",
|
|
24
|
+
"@trackunit/ui-icons": "1.6.5",
|
|
25
|
+
"@trackunit/react-table-pagination": "1.6.5",
|
|
26
|
+
"@trackunit/react-test-setup": "1.3.5"
|
|
27
27
|
},
|
|
28
28
|
"module": "./index.esm.js",
|
|
29
29
|
"main": "./index.cjs.js",
|
|
@@ -5,7 +5,7 @@ export interface HighlightProps extends CommonProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* The color of the highlight. Allowed values: "primary", "success", "warning", "danger", "unknown".
|
|
7
7
|
*/
|
|
8
|
-
color?: "
|
|
8
|
+
color?: "info" | "success" | "warning" | "danger" | "unknown";
|
|
9
9
|
/**
|
|
10
10
|
* The content of the highlight. Accepts any valid React children (text, numbers, elements).
|
|
11
11
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const cvaHighlight: (props?: ({
|
|
2
|
-
color?: "
|
|
2
|
+
color?: "info" | "success" | "warning" | "danger" | "unknown" | null | undefined;
|
|
3
3
|
} & import("class-variance-authority/dist/types").ClassProp) | undefined) => string;
|
|
4
4
|
export declare const cvaHighlightText: (props?: import("class-variance-authority/dist/types").ClassProp | undefined) => string;
|