gt-react 10.0.0-alpha.33 → 10.0.0-alpha.35
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/dist/client.d.ts +4 -1
- package/dist/variables/DateTime.d.ts +1 -0
- package/dist/variables/DateTime.d.ts.map +1 -1
- package/dist/variables/Num.d.ts +1 -0
- package/dist/variables/Num.d.ts.map +1 -1
- package/dist/variables/Var.d.ts +2 -1
- package/dist/variables/Var.d.ts.map +1 -1
- package/package.json +3 -3
package/dist/client.d.ts
CHANGED
@@ -413,6 +413,7 @@ declare namespace Currency {
|
|
413
413
|
*/
|
414
414
|
declare function DateTime({ children, locales, options, }: {
|
415
415
|
children: Date | null | undefined;
|
416
|
+
name?: string;
|
416
417
|
locales?: string[];
|
417
418
|
options?: Intl.DateTimeFormatOptions;
|
418
419
|
}): React__default.JSX.Element | null;
|
@@ -441,6 +442,7 @@ declare namespace DateTime {
|
|
441
442
|
*/
|
442
443
|
declare function Num({ children, locales, options, }: {
|
443
444
|
children: number | string | null | undefined;
|
445
|
+
name?: string;
|
444
446
|
locales?: string[];
|
445
447
|
options?: Intl.NumberFormatOptions;
|
446
448
|
}): React__default.JSX.Element | null;
|
@@ -470,8 +472,9 @@ declare namespace Num {
|
|
470
472
|
* @param {any} [children] - The content to render inside the component. If provided, it will take precedence over `value`.
|
471
473
|
* @returns {JSX.Element} The rendered variable component with either `children` or `value`.
|
472
474
|
*/
|
473
|
-
declare function Var({ children }: {
|
475
|
+
declare function Var({ children, }: {
|
474
476
|
children?: any;
|
477
|
+
name?: string;
|
475
478
|
}): React__default.JSX.Element | null;
|
476
479
|
declare namespace Var {
|
477
480
|
var gtTransformation: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"DateTime.d.ts","sourceRoot":"","sources":["../../src/variables/DateTime.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAS,QAAQ,CAAC,EAChB,QAAQ,EACR,OAAO,EACP,OAAY,GACb,EAAE;IACD,QAAQ,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC;CACtC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAe3B;
|
1
|
+
{"version":3,"file":"DateTime.d.ts","sourceRoot":"","sources":["../../src/variables/DateTime.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C;;;;;;;;;;;;;;;;GAgBG;AACH,iBAAS,QAAQ,CAAC,EAChB,QAAQ,EACR,OAAO,EACP,OAAY,GACb,EAAE;IACD,QAAQ,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC,qBAAqB,CAAC;CACtC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAe3B;kBAxBQ,QAAQ;;;AA6BjB,eAAe,QAAQ,CAAC"}
|
package/dist/variables/Num.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Num.d.ts","sourceRoot":"","sources":["../../src/variables/Num.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,GAAG,CAAC,EACX,QAAQ,EACR,OAAO,EACP,OAAY,GACb,EAAE;IACD,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;CACpC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAiB3B;
|
1
|
+
{"version":3,"file":"Num.d.ts","sourceRoot":"","sources":["../../src/variables/Num.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAqB,MAAM,OAAO,CAAC;AAI1C;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,GAAG,CAAC,EACX,QAAQ,EACR,OAAO,EACP,OAAY,GACb,EAAE;IACD,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAC7C,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,CAAC;CACpC,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAiB3B;kBA1BQ,GAAG;;;AA8BZ,eAAe,GAAG,CAAC"}
|
package/dist/variables/Var.d.ts
CHANGED
@@ -21,8 +21,9 @@ import React from 'react';
|
|
21
21
|
* @param {any} [children] - The content to render inside the component. If provided, it will take precedence over `value`.
|
22
22
|
* @returns {JSX.Element} The rendered variable component with either `children` or `value`.
|
23
23
|
*/
|
24
|
-
declare function Var({ children }: {
|
24
|
+
declare function Var({ children, }: {
|
25
25
|
children?: any;
|
26
|
+
name?: string;
|
26
27
|
}): React.JSX.Element | null;
|
27
28
|
declare namespace Var {
|
28
29
|
var gtTransformation: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Var.d.ts","sourceRoot":"","sources":["../../src/variables/Var.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,GAAG,CAAC,
|
1
|
+
{"version":3,"file":"Var.d.ts","sourceRoot":"","sources":["../../src/variables/Var.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,iBAAS,GAAG,CAAC,EACX,QAAQ,GACT,EAAE;IACD,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,GAAG,IAAI,CAE3B;kBAPQ,GAAG;;;AAWZ,eAAe,GAAG,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "gt-react",
|
3
|
-
"version": "10.0.0-alpha.
|
3
|
+
"version": "10.0.0-alpha.35",
|
4
4
|
"description": "A React library for automatic internationalization.",
|
5
5
|
"main": "./dist/index.cjs.min.cjs",
|
6
6
|
"module": "./dist/index.esm.min.mjs",
|
@@ -14,8 +14,8 @@
|
|
14
14
|
"react-dom": ">=16.8.0"
|
15
15
|
},
|
16
16
|
"dependencies": {
|
17
|
-
"@generaltranslation/supported-locales": "^2.0.11-alpha.
|
18
|
-
"generaltranslation": "^7.0.0-alpha.
|
17
|
+
"@generaltranslation/supported-locales": "^2.0.11-alpha.35",
|
18
|
+
"generaltranslation": "^7.0.0-alpha.35"
|
19
19
|
},
|
20
20
|
"scripts": {
|
21
21
|
"patch": "npm version patch",
|