@trackunit/react-table-base-components 1.21.24 → 1.21.25
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 +1 -1
- package/index.esm.js +1 -1
- package/package.json +8 -8
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.
|
|
3
|
+
"version": "1.21.25",
|
|
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.
|
|
11
|
-
"@trackunit/ui-icons": "1.11.
|
|
12
|
-
"@trackunit/react-form-components": "1.22.
|
|
13
|
-
"@trackunit/css-class-variance-utilities": "1.11.
|
|
14
|
-
"@trackunit/date-and-time-utils": "1.11.
|
|
15
|
-
"@trackunit/shared-utils": "1.13.
|
|
16
|
-
"@trackunit/i18n-library-translation": "1.18.
|
|
10
|
+
"@trackunit/react-components": "1.22.21",
|
|
11
|
+
"@trackunit/ui-icons": "1.11.110",
|
|
12
|
+
"@trackunit/react-form-components": "1.22.25",
|
|
13
|
+
"@trackunit/css-class-variance-utilities": "1.11.114",
|
|
14
|
+
"@trackunit/date-and-time-utils": "1.11.117",
|
|
15
|
+
"@trackunit/shared-utils": "1.13.114",
|
|
16
|
+
"@trackunit/i18n-library-translation": "1.18.21",
|
|
17
17
|
"tailwind-merge": "^2.0.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|