@trackunit/react-table-base-components 1.4.8 → 1.4.9

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
@@ -96,7 +96,10 @@ const cvaIdentityCellDetails = cssClassVarianceUtilities.cvaMerge(["flex", "w-fu
96
96
  const cvaIdentityCellDetailsItem = cssClassVarianceUtilities.cvaMerge(["last:truncate"]);
97
97
 
98
98
  /**
99
- * The IdentityCell is used for render an identity in a table cell
99
+ * The IdentityCell is used for render an identity in a table cell.
100
+ *
101
+ * When displaying asset information, always use the `type` field
102
+ * (e.g., "excavator", "boom lift") instead of `assetType` (e.g., "machine", "attachment").
100
103
  *
101
104
  * @param {IdentityCellProps} props - The props for the LinkCell component
102
105
  * @returns {ReactElement} LinkCell component
package/index.esm.js CHANGED
@@ -94,7 +94,10 @@ const cvaIdentityCellDetails = cvaMerge(["flex", "w-full", "min-w-0", "items-cen
94
94
  const cvaIdentityCellDetailsItem = cvaMerge(["last:truncate"]);
95
95
 
96
96
  /**
97
- * The IdentityCell is used for render an identity in a table cell
97
+ * The IdentityCell is used for render an identity in a table cell.
98
+ *
99
+ * When displaying asset information, always use the `type` field
100
+ * (e.g., "excavator", "boom lift") instead of `assetType` (e.g., "machine", "attachment").
98
101
  *
99
102
  * @param {IdentityCellProps} props - The props for the LinkCell component
100
103
  * @returns {ReactElement} LinkCell component
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-base-components",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
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.5.8",
13
- "@trackunit/ui-icons": "1.4.4",
14
- "@trackunit/react-form-components": "1.4.8",
15
- "@trackunit/css-class-variance-utilities": "1.4.4",
16
- "@trackunit/date-and-time-utils": "1.4.4",
17
- "@trackunit/shared-utils": "1.6.4",
18
- "@trackunit/react-test-setup": "1.1.4"
12
+ "@trackunit/react-components": "1.5.9",
13
+ "@trackunit/ui-icons": "1.4.5",
14
+ "@trackunit/react-form-components": "1.4.9",
15
+ "@trackunit/css-class-variance-utilities": "1.4.5",
16
+ "@trackunit/date-and-time-utils": "1.4.5",
17
+ "@trackunit/shared-utils": "1.6.5",
18
+ "@trackunit/react-test-setup": "1.1.5"
19
19
  },
20
20
  "module": "./index.esm.js",
21
21
  "main": "./index.cjs.js",
@@ -9,7 +9,10 @@ export interface IdentityCellProps extends CommonProps {
9
9
  thumbnail?: ReactNode;
10
10
  }
11
11
  /**
12
- * The IdentityCell is used for render an identity in a table cell
12
+ * The IdentityCell is used for render an identity in a table cell.
13
+ *
14
+ * When displaying asset information, always use the `type` field
15
+ * (e.g., "excavator", "boom lift") instead of `assetType` (e.g., "machine", "attachment").
13
16
  *
14
17
  * @param {IdentityCellProps} props - The props for the LinkCell component
15
18
  * @returns {ReactElement} LinkCell component