@trackunit/react-table-base-components 2.7.17 → 2.7.18
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,20 +1,20 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/react-table-base-components",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.18",
|
|
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/react-components": "2.13.
|
|
11
|
-
"@trackunit/ui-icons": "1.14.
|
|
12
|
-
"@trackunit/react-form-components": "2.6.
|
|
10
|
+
"@trackunit/react-components": "2.13.24",
|
|
11
|
+
"@trackunit/ui-icons": "1.14.43",
|
|
12
|
+
"@trackunit/react-form-components": "2.6.72",
|
|
13
13
|
"@trackunit/css-class-variance-utilities": "2.0.14",
|
|
14
14
|
"@trackunit/date-and-time-utils": "1.14.45",
|
|
15
|
-
"@trackunit/react-date-and-time-hooks": "2.6.
|
|
15
|
+
"@trackunit/react-date-and-time-hooks": "2.6.70",
|
|
16
16
|
"@trackunit/shared-utils": "1.16.49",
|
|
17
|
-
"@trackunit/i18n-library-translation": "2.4.
|
|
17
|
+
"@trackunit/i18n-library-translation": "2.4.63",
|
|
18
18
|
"tailwind-merge": "^2.0.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommonProps, Refable } from "@trackunit/react-components";
|
|
1
|
+
import { CommonProps, HighlightProps, Refable } from "@trackunit/react-components";
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
export interface HighlightCellProps extends CommonProps, HTMLAttributes<HTMLTableSectionElement>, Refable<HTMLDivElement> {
|
|
4
4
|
/**
|
|
@@ -13,10 +13,7 @@ export interface HighlightCellProps extends CommonProps, HTMLAttributes<HTMLTabl
|
|
|
13
13
|
* Array of highlights that the component should show.
|
|
14
14
|
* Can be strings (which will use default warning color) or objects with Highlight props.
|
|
15
15
|
*/
|
|
16
|
-
highlights: Array<string> | Array<
|
|
17
|
-
color?: "info" | "success" | "warning" | "danger" | "unknown" | "clear";
|
|
18
|
-
children: string;
|
|
19
|
-
}>;
|
|
16
|
+
highlights: Array<string> | Array<Pick<HighlightProps, "color" | "children" | "iconName">>;
|
|
20
17
|
}
|
|
21
18
|
/**
|
|
22
19
|
* HighlightCell renders one or more colored highlight badges inside a table cell. Each highlight
|