@trackunit/translations-machine-type 0.0.142 → 0.0.144

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
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  require('react/jsx-runtime');
6
4
  var i18nLibraryTranslation = require('@trackunit/i18n-library-translation');
7
5
  var react = require('react');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/translations-machine-type",
3
- "version": "0.0.142",
3
+ "version": "0.0.144",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,9 +8,10 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@trackunit/i18n-library-translation": "*",
11
- "react": "^18.2.0",
11
+ "react": "18.3.1",
12
12
  "jest-fetch-mock": "^3.0.3"
13
13
  },
14
14
  "module": "./index.esm.js",
15
- "main": "./index.cjs.js"
16
- }
15
+ "main": "./index.cjs.js",
16
+ "types": "./index.esm.d.ts"
17
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { NamespaceTransProps, TransForLibs, TranslationResource } from "@trackunit/i18n-library-translation";
3
2
  import defaultTranslations from "./locales/en/translation.json";
4
3
  /** A type for all available translation keys in this library */
@@ -27,7 +26,7 @@ export type TranslationFunction = TransForLibs<TranslationKeys>;
27
26
  /**
28
27
  * Trans for this specific library.
29
28
  */
30
- export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => JSX.Element;
29
+ export declare const Trans: (props: NamespaceTransProps<TranslationKeys>) => import("react/jsx-runtime").JSX.Element;
31
30
  /**
32
31
  * Registers the translations for this library
33
32
  */
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;
@@ -577,4 +577,4 @@ var translation = {
577
577
  "pages.machines.insights.sections.insights.units.YARD": "yds"
578
578
  };
579
579
 
580
- exports["default"] = translation;
580
+ exports.default = translation;