@trackunit/react-table-helpers 0.0.43 → 0.0.44

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
@@ -55,9 +55,7 @@ const setupLibraryTranslations = () => {
55
55
  /**
56
56
  * Takes a custom fields data object and returns a react node that can be used as a cell in a table.
57
57
  */
58
- const customFieldToCell = (customField, unitPreference, language
59
- // eslint-disable-next-line sonarjs/cognitive-complexity
60
- ) => {
58
+ const customFieldToCell = (customField, unitPreference, language) => {
61
59
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
62
60
  const type = customField.type;
63
61
  switch (type) {
package/index.esm.js CHANGED
@@ -51,9 +51,7 @@ const setupLibraryTranslations = () => {
51
51
  /**
52
52
  * Takes a custom fields data object and returns a react node that can be used as a cell in a table.
53
53
  */
54
- const customFieldToCell = (customField, unitPreference, language
55
- // eslint-disable-next-line sonarjs/cognitive-complexity
56
- ) => {
54
+ const customFieldToCell = (customField, unitPreference, language) => {
57
55
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
58
56
  const type = customField.type;
59
57
  switch (type) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-table-helpers",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -12,7 +12,7 @@
12
12
  "@trackunit/iris-app-runtime-core-api": "0.3.74",
13
13
  "@trackunit/react-core-contexts-api": "0.2.61",
14
14
  "@trackunit/react-core-contexts-test": "0.1.116",
15
- "@trackunit/react-table": "0.0.49",
15
+ "@trackunit/react-table": "0.0.50",
16
16
  "@trackunit/react-table-base-components": "0.0.35",
17
17
  "react": "18.2.0"
18
18
  },