@trackunit/i18n-library-translation 2.8.0 → 2.8.2

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
@@ -16,8 +16,6 @@ var reactCoreHooks = require('@trackunit/react-core-hooks');
16
16
  * @returns { ReactElement } The translated text - with safe interpolation of simple html (<strong><em><b><i> etc.)
17
17
  */
18
18
  function NamespaceTrans(props) {
19
- // The as string | string[] is in order for TS to not choke on the size of the intersection
20
- // "Expression produces a union type that is too complex to represent.ts(2590)"
21
19
  return (jsxRuntime.jsx(reactI18next.Trans, { components: props.components, i18nKey: props.i18nKey, ns: props.namespace, values: props.values, children: react.Children }));
22
20
  }
23
21
 
package/index.esm.js CHANGED
@@ -14,8 +14,6 @@ import { useErrorHandlerOrNull } from '@trackunit/react-core-hooks';
14
14
  * @returns { ReactElement } The translated text - with safe interpolation of simple html (<strong><em><b><i> etc.)
15
15
  */
16
16
  function NamespaceTrans(props) {
17
- // The as string | string[] is in order for TS to not choke on the size of the intersection
18
- // "Expression produces a union type that is too complex to represent.ts(2590)"
19
17
  return (jsx(Trans, { components: props.components, i18nKey: props.i18nKey, ns: props.namespace, values: props.values, children: Children }));
20
18
  }
21
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/i18n-library-translation",
3
- "version": "2.8.0",
3
+ "version": "2.8.2",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,8 +11,8 @@
11
11
  "i18next": "25.1.2",
12
12
  "i18next-browser-languagedetector": "8.1.0",
13
13
  "i18next-resources-to-backend": "^1.2.1",
14
- "@trackunit/iris-app-api": "2.9.0",
15
- "@trackunit/react-core-hooks": "1.25.0"
14
+ "@trackunit/iris-app-api": "2.9.2",
15
+ "@trackunit/react-core-hooks": "1.25.2"
16
16
  },
17
17
  "peerDependencies": {
18
18
  "react": "^19.0.0"