@trackunit/react-table-base-components 1.6.7 → 1.6.13

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
@@ -69,6 +69,7 @@ const cvaHighlightCell = cssClassVarianceUtilities.cvaMerge(["flex", "gap-2"]);
69
69
  */
70
70
  const HighlightCell = ({ className, highlights, dataTestId }) => {
71
71
  return (jsxRuntime.jsx("div", { className: cvaHighlightCell({ className }), "data-testid": dataTestId, children: highlights.map((highlight, index) => (jsxRuntime.jsx(reactComponents.Highlight, { color: "warning",
72
+ size: "medium",
72
73
  dataTestId: `${dataTestId}-${index}`,
73
74
  ...(typeof highlight === "string" ? { children: highlight } : highlight) }, index))) }));
74
75
  };
@@ -307,7 +308,7 @@ const cvaResizeHandel = cssClassVarianceUtilities.cvaMerge([
307
308
  *
308
309
  * @param {RowActionsProps} props - The properties for the component.
309
310
  * @param {Action[]} props.actions - A list of actions to display, including their labels, icons, and handlers.
310
- * @returns {JSX.Element} A React component rendering the actions.
311
+ * @returns {Element} A React component rendering the actions.
311
312
  */
312
313
  const RowActions = ({ actions }) => {
313
314
  const selectedActions = actions.filter(action => action.isSelected);
package/index.esm.js CHANGED
@@ -67,6 +67,7 @@ const cvaHighlightCell = cvaMerge(["flex", "gap-2"]);
67
67
  */
68
68
  const HighlightCell = ({ className, highlights, dataTestId }) => {
69
69
  return (jsx("div", { className: cvaHighlightCell({ className }), "data-testid": dataTestId, children: highlights.map((highlight, index) => (jsx(Highlight, { color: "warning",
70
+ size: "medium",
70
71
  dataTestId: `${dataTestId}-${index}`,
71
72
  ...(typeof highlight === "string" ? { children: highlight } : highlight) }, index))) }));
72
73
  };
@@ -305,7 +306,7 @@ const cvaResizeHandel = cvaMerge([
305
306
  *
306
307
  * @param {RowActionsProps} props - The properties for the component.
307
308
  * @param {Action[]} props.actions - A list of actions to display, including their labels, icons, and handlers.
308
- * @returns {JSX.Element} A React component rendering the actions.
309
+ * @returns {Element} A React component rendering the actions.
309
310
  */
310
311
  const RowActions = ({ actions }) => {
311
312
  const selectedActions = actions.filter(action => action.isSelected);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "1.6.7",
3
+ "version": "1.6.13",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -9,13 +9,13 @@
9
9
  "dependencies": {
10
10
  "react": "19.0.0",
11
11
  "@js-temporal/polyfill": "^0.4.4",
12
- "@trackunit/react-components": "1.7.7",
13
- "@trackunit/ui-icons": "1.6.6",
14
- "@trackunit/react-form-components": "1.6.7",
15
- "@trackunit/css-class-variance-utilities": "1.6.6",
16
- "@trackunit/date-and-time-utils": "1.6.6",
17
- "@trackunit/shared-utils": "1.8.6",
18
- "@trackunit/react-test-setup": "1.3.6"
12
+ "@trackunit/react-components": "1.7.12",
13
+ "@trackunit/ui-icons": "1.6.9",
14
+ "@trackunit/react-form-components": "1.6.13",
15
+ "@trackunit/css-class-variance-utilities": "1.6.10",
16
+ "@trackunit/date-and-time-utils": "1.6.10",
17
+ "@trackunit/shared-utils": "1.8.10",
18
+ "@trackunit/react-test-setup": "1.3.10"
19
19
  },
20
20
  "module": "./index.esm.js",
21
21
  "main": "./index.cjs.js",
@@ -22,7 +22,7 @@ interface RowActionsProps {
22
22
  *
23
23
  * @param {RowActionsProps} props - The properties for the component.
24
24
  * @param {Action[]} props.actions - A list of actions to display, including their labels, icons, and handlers.
25
- * @returns {JSX.Element} A React component rendering the actions.
25
+ * @returns {Element} A React component rendering the actions.
26
26
  */
27
27
  export declare const RowActions: ({ actions }: RowActionsProps) => false | import("react/jsx-runtime").JSX.Element | null | undefined;
28
28
  export {};