@generaltranslation/react-core 1.5.2-alpha.1 → 1.5.3
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/CHANGELOG.md +12 -0
- package/dist/branches/Branch.d.ts.map +1 -1
- package/dist/index.cjs.min.cjs +3 -3
- package/dist/index.cjs.min.cjs.map +1 -1
- package/dist/index.esm.min.mjs +3 -3
- package/dist/index.esm.min.mjs.map +1 -1
- package/dist/internal/addGTIdentifier.d.ts.map +1 -1
- package/dist/internal.cjs.min.cjs +1 -1
- package/dist/internal.cjs.min.cjs.map +1 -1
- package/dist/internal.esm.min.mjs +3 -3
- package/dist/internal.esm.min.mjs.map +1 -1
- package/dist/translation/inline/T.d.ts +1 -3
- package/dist/translation/inline/T.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -28,13 +28,11 @@ import React from 'react';
|
|
|
28
28
|
*
|
|
29
29
|
* @throws {Error} If a plural translation is requested but the `n` option is not provided.
|
|
30
30
|
*/
|
|
31
|
-
declare function T({ children, id, context, _hash,
|
|
31
|
+
declare function T({ children, id, context, _hash, ...options }: {
|
|
32
32
|
children: any;
|
|
33
33
|
id?: string;
|
|
34
34
|
context?: string;
|
|
35
35
|
_hash?: string;
|
|
36
|
-
_debug?: boolean;
|
|
37
|
-
_debugIncludeChildren?: boolean;
|
|
38
36
|
[key: string]: any;
|
|
39
37
|
}): React.JSX.Element | undefined;
|
|
40
38
|
declare namespace T {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"T.d.ts","sourceRoot":"","sources":["../../../src/translation/inline/T.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,iBAAS,CAAC,CAAC,EACT,QAAQ,EACR,EAAE,EACF,OAAO,EACP,KAAK,EACL,
|
|
1
|
+
{"version":3,"file":"T.d.ts","sourceRoot":"","sources":["../../../src/translation/inline/T.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAaxC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,iBAAS,CAAC,CAAC,EACT,QAAQ,EACR,EAAE,EACF,OAAO,EACP,KAAK,EACL,GAAG,OAAO,EACX,EAAE;IACD,QAAQ,EAAE,GAAG,CAAC;IACd,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,SAAS,CA2KhC;kBAvLQ,CAAC;;;AA2LV,eAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@generaltranslation/react-core",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "A pure React library for internationalization",
|
|
5
5
|
"main": "./dist/index.cjs.min.cjs",
|
|
6
6
|
"module": "./dist/index.esm.min.mjs",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@generaltranslation/supported-locales": "2.0.46",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"generaltranslation": "8.1.13",
|
|
18
|
+
"gt-i18n": "0.4.1"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|