@trackunit/react-table-base-components 1.12.13 → 1.13.0

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
@@ -281,7 +281,7 @@ const IdentityCell = ({ link, className, "data-testid": dataTestId, title, detai
281
281
  link.href().then(setHref);
282
282
  }
283
283
  }, [link]);
284
- return (jsxRuntime.jsxs("div", { className: cvaIdentityCell({ className, hasThumbnail: !!thumbnail }), "data-testid": dataTestId, children: [thumbnail ? (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 ? (title) : (jsxRuntime.jsx(reactComponents.ExternalLink, { color: "neutral", href: href ?? "", onClick: async (e) => {
284
+ return (jsxRuntime.jsxs("div", { className: cvaIdentityCell({ className, hasThumbnail: !!thumbnail }), "data-testid": dataTestId, children: [thumbnail ? (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 ? (title) : (jsxRuntime.jsx(reactComponents.ExternalLink, { className: "truncate", color: "neutral", href: href ?? "", onClick: async (e) => {
285
285
  // Allow Cmd/Ctrl+Click, Shift+Click, or middle-click to open in new tab
286
286
  const hasModifierKey = e.ctrlKey || e.metaKey || e.shiftKey;
287
287
  const isMiddleClick = e.button === 1;
package/index.esm.js CHANGED
@@ -279,7 +279,7 @@ const IdentityCell = ({ link, className, "data-testid": dataTestId, title, detai
279
279
  link.href().then(setHref);
280
280
  }
281
281
  }, [link]);
282
- return (jsxs("div", { className: cvaIdentityCell({ className, hasThumbnail: !!thumbnail }), "data-testid": dataTestId, children: [thumbnail ? (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 ? (title) : (jsx(ExternalLink, { color: "neutral", href: href ?? "", onClick: async (e) => {
282
+ return (jsxs("div", { className: cvaIdentityCell({ className, hasThumbnail: !!thumbnail }), "data-testid": dataTestId, children: [thumbnail ? (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 ? (title) : (jsx(ExternalLink, { className: "truncate", color: "neutral", href: href ?? "", onClick: async (e) => {
283
283
  // Allow Cmd/Ctrl+Click, Shift+Click, or middle-click to open in new tab
284
284
  const hasModifierKey = e.ctrlKey || e.metaKey || e.shiftKey;
285
285
  const isMiddleClick = e.button === 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "1.12.13",
3
+ "version": "1.13.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,12 +8,12 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "react": "19.0.0",
11
- "@trackunit/react-components": "1.16.13",
12
- "@trackunit/ui-icons": "1.11.29",
13
- "@trackunit/react-form-components": "1.13.13",
14
- "@trackunit/css-class-variance-utilities": "1.11.30",
15
- "@trackunit/date-and-time-utils": "1.11.31",
16
- "@trackunit/shared-utils": "1.13.30",
11
+ "@trackunit/react-components": "1.17.0",
12
+ "@trackunit/ui-icons": "1.11.30",
13
+ "@trackunit/react-form-components": "1.14.0",
14
+ "@trackunit/css-class-variance-utilities": "1.11.31",
15
+ "@trackunit/date-and-time-utils": "1.11.32",
16
+ "@trackunit/shared-utils": "1.13.31",
17
17
  "tailwind-merge": "^2.0.0",
18
18
  "@js-temporal/polyfill": "^0.5.1"
19
19
  },