@trackunit/react-table-base-components 2.1.69 → 2.2.1

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
@@ -1109,8 +1109,8 @@ const TagsCell = ({ className, tags, "data-testid": dataTestId, ref, style }) =>
1109
1109
  * @param {TbodyProps} props - The props for the Tbody component
1110
1110
  * @returns {ReactElement} Tbody component
1111
1111
  */
1112
- const Tbody = ({ "data-testid": dataTestId, className, children, ...rest }) => {
1113
- return (jsxRuntime.jsx("tbody", { className: className, "data-testid": dataTestId, ...rest, children: children }));
1112
+ const Tbody = ({ "data-testid": dataTestId, className, children, ref, ...rest }) => {
1113
+ return (jsxRuntime.jsx("tbody", { className: className, "data-testid": dataTestId, ref: ref, ...rest, children: children }));
1114
1114
  };
1115
1115
 
1116
1116
  /**
package/index.esm.js CHANGED
@@ -1107,8 +1107,8 @@ const TagsCell = ({ className, tags, "data-testid": dataTestId, ref, style }) =>
1107
1107
  * @param {TbodyProps} props - The props for the Tbody component
1108
1108
  * @returns {ReactElement} Tbody component
1109
1109
  */
1110
- const Tbody = ({ "data-testid": dataTestId, className, children, ...rest }) => {
1111
- return (jsx("tbody", { className: className, "data-testid": dataTestId, ...rest, children: children }));
1110
+ const Tbody = ({ "data-testid": dataTestId, className, children, ref, ...rest }) => {
1111
+ return (jsx("tbody", { className: className, "data-testid": dataTestId, ref: ref, ...rest, children: children }));
1112
1112
  };
1113
1113
 
1114
1114
  /**
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "2.1.69",
3
+ "version": "2.2.1",
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.1.65",
11
- "@trackunit/ui-icons": "1.13.59",
12
- "@trackunit/react-form-components": "2.1.68",
13
- "@trackunit/css-class-variance-utilities": "1.13.58",
14
- "@trackunit/date-and-time-utils": "1.13.61",
15
- "@trackunit/react-date-and-time-hooks": "2.1.67",
16
- "@trackunit/shared-utils": "1.15.61",
17
- "@trackunit/i18n-library-translation": "2.0.63",
10
+ "@trackunit/react-components": "2.2.0",
11
+ "@trackunit/ui-icons": "1.13.60",
12
+ "@trackunit/react-form-components": "2.2.1",
13
+ "@trackunit/css-class-variance-utilities": "1.13.59",
14
+ "@trackunit/date-and-time-utils": "1.13.62",
15
+ "@trackunit/react-date-and-time-hooks": "2.2.0",
16
+ "@trackunit/shared-utils": "1.15.62",
17
+ "@trackunit/i18n-library-translation": "2.1.0",
18
18
  "tailwind-merge": "^2.0.0"
19
19
  },
20
20
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
- import { CommonProps } from "@trackunit/react-components";
1
+ import { CommonProps, Refable } from "@trackunit/react-components";
2
2
  import { HTMLAttributes, ReactNode } from "react";
3
- export interface TbodyProps extends CommonProps, HTMLAttributes<HTMLTableSectionElement> {
3
+ export interface TbodyProps extends CommonProps, HTMLAttributes<HTMLTableSectionElement>, Refable<HTMLTableSectionElement> {
4
4
  /**
5
5
  * A id that can be used in tests to get the component
6
6
  */
@@ -24,4 +24,4 @@ export interface TbodyProps extends CommonProps, HTMLAttributes<HTMLTableSection
24
24
  * @param {TbodyProps} props - The props for the Tbody component
25
25
  * @returns {ReactElement} Tbody component
26
26
  */
27
- export declare const Tbody: ({ "data-testid": dataTestId, className, children, ...rest }: TbodyProps) => import("react/jsx-runtime").JSX.Element;
27
+ export declare const Tbody: ({ "data-testid": dataTestId, className, children, ref, ...rest }: TbodyProps) => import("react/jsx-runtime").JSX.Element;