@trackunit/custom-field-components 1.17.28 → 1.19.6

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
@@ -527,7 +527,7 @@ const useUnitTranslation = () => {
527
527
  }
528
528
  return t(`customfield.unit.${unit}`);
529
529
  }, [t]);
530
- return { unitTranslation };
530
+ return react.useMemo(() => ({ unitTranslation }), [unitTranslation]);
531
531
  };
532
532
 
533
533
  /**
package/index.esm.js CHANGED
@@ -525,7 +525,7 @@ const useUnitTranslation = () => {
525
525
  }
526
526
  return t(`customfield.unit.${unit}`);
527
527
  }, [t]);
528
- return { unitTranslation };
528
+ return useMemo(() => ({ unitTranslation }), [unitTranslation]);
529
529
  };
530
530
 
531
531
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/custom-field-components",
3
- "version": "1.17.28",
3
+ "version": "1.19.6",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,15 +8,15 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "react-select": "^5.10.2",
11
- "@trackunit/react-form-components": "1.18.27",
12
- "@trackunit/shared-utils": "1.13.89",
13
- "@trackunit/custom-field-api": "1.17.24",
14
- "@trackunit/iris-app-runtime-core": "1.14.15",
15
- "@trackunit/react-components": "1.20.20",
16
- "@trackunit/react-modal": "1.18.27",
17
- "@trackunit/react-core-hooks": "1.14.17",
18
- "@trackunit/i18n-library-translation": "1.15.20",
19
- "@trackunit/iris-app-runtime-core-api": "1.13.15"
11
+ "@trackunit/react-form-components": "1.20.6",
12
+ "@trackunit/shared-utils": "1.13.91",
13
+ "@trackunit/custom-field-api": "1.19.4",
14
+ "@trackunit/iris-app-runtime-core": "1.15.3",
15
+ "@trackunit/react-components": "1.21.4",
16
+ "@trackunit/react-modal": "1.20.6",
17
+ "@trackunit/react-core-hooks": "1.15.4",
18
+ "@trackunit/i18n-library-translation": "1.17.4",
19
+ "@trackunit/iris-app-runtime-core-api": "1.14.3"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": "^19.0.0",