@trackunit/react-table-base-components 1.21.24 → 1.21.26

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
@@ -424,7 +424,7 @@ const IdentityCell = ({ link, className, "data-testid": dataTestId, ref, title,
424
424
  const [href, setHref] = react.useState(undefined);
425
425
  react.useEffect(() => {
426
426
  if (link) {
427
- link.href().then(setHref);
427
+ void link.href().then(setHref);
428
428
  }
429
429
  }, [link]);
430
430
  return (jsxRuntime.jsxs("div", { className: cvaIdentityCell({ className, hasThumbnail: thumbnail !== undefined && thumbnail !== null }), "data-testid": dataTestId, ref: ref, children: [thumbnail !== undefined && thumbnail !== null ? (jsxRuntime.jsx("div", { className: "mr-1 flex h-8 w-8 items-center justify-center overflow-hidden rounded-md", children: thumbnail })) : null, jsxRuntime.jsxs("div", { className: "grid grid-rows-[min-content_auto] items-center text-sm", children: [jsxRuntime.jsx("div", { className: "gap-responsive-space-sm flex w-full min-w-0 items-center truncate text-sm", children: jsxRuntime.jsx(reactComponents.Heading, { className: "truncate text-sm", "data-testid": dataTestId ? `${dataTestId}-name` : undefined, variant: "tertiary", children: !link ? (jsxRuntime.jsx("span", { className: "truncate", children: title })) : (jsxRuntime.jsx(reactComponents.ExternalLink, { className: "truncate", color: "neutral", href: href ?? "", onClick: async (e) => {
package/index.esm.js CHANGED
@@ -422,7 +422,7 @@ const IdentityCell = ({ link, className, "data-testid": dataTestId, ref, title,
422
422
  const [href, setHref] = useState(undefined);
423
423
  useEffect(() => {
424
424
  if (link) {
425
- link.href().then(setHref);
425
+ void link.href().then(setHref);
426
426
  }
427
427
  }, [link]);
428
428
  return (jsxs("div", { className: cvaIdentityCell({ className, hasThumbnail: thumbnail !== undefined && thumbnail !== null }), "data-testid": dataTestId, ref: ref, children: [thumbnail !== undefined && thumbnail !== null ? (jsx("div", { className: "mr-1 flex h-8 w-8 items-center justify-center overflow-hidden rounded-md", children: thumbnail })) : null, jsxs("div", { className: "grid grid-rows-[min-content_auto] items-center text-sm", children: [jsx("div", { className: "gap-responsive-space-sm flex w-full min-w-0 items-center truncate text-sm", children: jsx(Heading, { className: "truncate text-sm", "data-testid": dataTestId ? `${dataTestId}-name` : undefined, variant: "tertiary", children: !link ? (jsx("span", { className: "truncate", children: title })) : (jsx(ExternalLink, { className: "truncate", color: "neutral", href: href ?? "", onClick: async (e) => {
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "1.21.24",
3
+ "version": "1.21.26",
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": "1.22.20",
11
- "@trackunit/ui-icons": "1.11.109",
12
- "@trackunit/react-form-components": "1.22.24",
13
- "@trackunit/css-class-variance-utilities": "1.11.113",
14
- "@trackunit/date-and-time-utils": "1.11.116",
15
- "@trackunit/shared-utils": "1.13.113",
16
- "@trackunit/i18n-library-translation": "1.18.20",
10
+ "@trackunit/react-components": "1.22.22",
11
+ "@trackunit/ui-icons": "1.11.111",
12
+ "@trackunit/react-form-components": "1.22.26",
13
+ "@trackunit/css-class-variance-utilities": "1.11.115",
14
+ "@trackunit/date-and-time-utils": "1.11.118",
15
+ "@trackunit/shared-utils": "1.13.115",
16
+ "@trackunit/i18n-library-translation": "1.18.22",
17
17
  "tailwind-merge": "^2.0.0"
18
18
  },
19
19
  "peerDependencies": {