gt-next 6.0.11 → 6.1.0
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/client.d.ts +2 -2
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +4 -1
- package/dist/client.js.map +1 -1
- package/dist/index.client.d.ts +2 -2
- package/dist/index.client.d.ts.map +1 -1
- package/dist/index.client.js +2 -1
- package/dist/index.client.js.map +1 -1
- package/dist/index.server.d.ts +1 -1
- package/dist/index.server.d.ts.map +1 -1
- package/dist/index.server.js +2 -1
- package/dist/index.server.js.map +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# gt-next
|
|
2
2
|
|
|
3
|
+
## 6.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#547](https://github.com/generaltranslation/gt/pull/547) [`4806575`](https://github.com/generaltranslation/gt/commit/4806575a7b01184ea35a55fb07fe241144205e4a) Thanks [@archie-mckenzie](https://github.com/archie-mckenzie)! - Added locale selection based on region
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [[`4806575`](https://github.com/generaltranslation/gt/commit/4806575a7b01184ea35a55fb07fe241144205e4a)]:
|
|
12
|
+
- gt-react@10.1.0
|
|
13
|
+
- generaltranslation@7.2.0
|
|
14
|
+
|
|
3
15
|
## 6.0.11
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/client.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T, useGT, useLocale, useDefaultLocale, LocaleSelector, GTProvider, useLocales, useSetLocale, useLocaleSelector, Var, Currency, DateTime, Num, Plural, Branch, useLocaleProperties, useGTClass, useTranslations } from 'gt-react/client';
|
|
2
|
-
export { useGT, useTranslations, useLocale, useLocales, useSetLocale, useDefaultLocale, useLocaleSelector, useGTClass, useLocaleProperties, GTProvider as GTClientProvider, T, Var, Currency, DateTime, Num, Plural, Branch, LocaleSelector, };
|
|
1
|
+
import { T, useGT, useLocale, useDefaultLocale, LocaleSelector, RegionSelector, GTProvider, useLocales, useSetLocale, useLocaleSelector, Var, Currency, DateTime, Num, Plural, Branch, useLocaleProperties, useGTClass, useTranslations, useRegion, useRegionSelector } from 'gt-react/client';
|
|
2
|
+
export { useGT, useTranslations, useLocale, useLocales, useSetLocale, useDefaultLocale, useLocaleSelector, useRegion, useRegionSelector, useGTClass, useLocaleProperties, GTProvider as GTClientProvider, T, Var, Currency, DateTime, Num, Plural, Branch, LocaleSelector, RegionSelector, };
|
|
3
3
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA,OAAO,EACL,CAAC,EACD,KAAK,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,UAAU,EACV,eAAe,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AACA,OAAO,EACL,CAAC,EACD,KAAK,EACL,SAAS,EACT,gBAAgB,EAChB,cAAc,EACd,cAAc,EACd,UAAU,EACV,UAAU,EACV,YAAY,EACZ,iBAAiB,EACjB,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,MAAM,EACN,MAAM,EACN,mBAAmB,EACnB,UAAU,EACV,eAAe,EACf,SAAS,EACT,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAEL,KAAK,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,SAAS,EACT,iBAAiB,EACjB,UAAU,EACV,mBAAmB,EAEnB,UAAU,IAAI,gBAAgB,EAC9B,CAAC,EACD,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,GAAG,EACH,MAAM,EACN,MAAM,EACN,cAAc,EACd,cAAc,GACf,CAAC"}
|
package/dist/client.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
'use client';
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.LocaleSelector = exports.Branch = exports.Plural = exports.Num = exports.DateTime = exports.Currency = exports.Var = exports.T = exports.GTClientProvider = exports.useLocaleProperties = exports.useGTClass = exports.useLocaleSelector = exports.useDefaultLocale = exports.useSetLocale = exports.useLocales = exports.useLocale = exports.useTranslations = exports.useGT = void 0;
|
|
4
|
+
exports.RegionSelector = exports.LocaleSelector = exports.Branch = exports.Plural = exports.Num = exports.DateTime = exports.Currency = exports.Var = exports.T = exports.GTClientProvider = exports.useLocaleProperties = exports.useGTClass = exports.useRegionSelector = exports.useRegion = exports.useLocaleSelector = exports.useDefaultLocale = exports.useSetLocale = exports.useLocales = exports.useLocale = exports.useTranslations = exports.useGT = void 0;
|
|
5
5
|
var client_1 = require("gt-react/client");
|
|
6
6
|
Object.defineProperty(exports, "T", { enumerable: true, get: function () { return client_1.T; } });
|
|
7
7
|
Object.defineProperty(exports, "useGT", { enumerable: true, get: function () { return client_1.useGT; } });
|
|
8
8
|
Object.defineProperty(exports, "useLocale", { enumerable: true, get: function () { return client_1.useLocale; } });
|
|
9
9
|
Object.defineProperty(exports, "useDefaultLocale", { enumerable: true, get: function () { return client_1.useDefaultLocale; } });
|
|
10
10
|
Object.defineProperty(exports, "LocaleSelector", { enumerable: true, get: function () { return client_1.LocaleSelector; } });
|
|
11
|
+
Object.defineProperty(exports, "RegionSelector", { enumerable: true, get: function () { return client_1.RegionSelector; } });
|
|
11
12
|
Object.defineProperty(exports, "GTClientProvider", { enumerable: true, get: function () { return client_1.GTProvider; } });
|
|
12
13
|
Object.defineProperty(exports, "useLocales", { enumerable: true, get: function () { return client_1.useLocales; } });
|
|
13
14
|
Object.defineProperty(exports, "useSetLocale", { enumerable: true, get: function () { return client_1.useSetLocale; } });
|
|
@@ -21,4 +22,6 @@ Object.defineProperty(exports, "Branch", { enumerable: true, get: function () {
|
|
|
21
22
|
Object.defineProperty(exports, "useLocaleProperties", { enumerable: true, get: function () { return client_1.useLocaleProperties; } });
|
|
22
23
|
Object.defineProperty(exports, "useGTClass", { enumerable: true, get: function () { return client_1.useGTClass; } });
|
|
23
24
|
Object.defineProperty(exports, "useTranslations", { enumerable: true, get: function () { return client_1.useTranslations; } });
|
|
25
|
+
Object.defineProperty(exports, "useRegion", { enumerable: true, get: function () { return client_1.useRegion; } });
|
|
26
|
+
Object.defineProperty(exports, "useRegionSelector", { enumerable: true, get: function () { return client_1.useRegionSelector; } });
|
|
24
27
|
//# sourceMappingURL=client.js.map
|
package/dist/client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;AACb,
|
|
1
|
+
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;AACb,0CAsByB;AAiBvB,kFAtCA,UAAC,OAsCA;AAbD,sFAxBA,cAAK,OAwBA;AAEL,0FAzBA,kBAAS,OAyBA;AAGT,iGA3BA,yBAAgB,OA2BA;AAehB,+FAzCA,uBAAc,OAyCA;AACd,+FAzCA,uBAAc,OAyCA;AATA,iGA/Bd,mBAAU,OA+BoB;AAT9B,2FArBA,mBAAU,OAqBA;AACV,6FArBA,qBAAY,OAqBA;AAEZ,kGAtBA,0BAAiB,OAsBA;AAQjB,oFA7BA,YAAG,OA6BA;AACH,yFA7BA,iBAAQ,OA6BA;AACR,yFA7BA,iBAAQ,OA6BA;AACR,oFA7BA,YAAG,OA6BA;AACH,uFA7BA,eAAM,OA6BA;AACN,uFA7BA,eAAM,OA6BA;AATN,oGAnBA,4BAAmB,OAmBA;AADnB,2FAjBA,mBAAU,OAiBA;AARV,gGARA,wBAAe,OAQA;AAMf,0FAbA,kBAAS,OAaA;AACT,kGAbA,0BAAiB,OAaA"}
|
package/dist/index.client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Var, Num, Currency, DateTime, T, Branch, Plural, LocaleSelector, useGT, useTranslations, useLocale, useLocales, useDefaultLocale, useGTClass, useLocaleProperties } from 'gt-react/client';
|
|
1
|
+
import { Var, Num, Currency, DateTime, T, Branch, Plural, LocaleSelector, RegionSelector, useGT, useTranslations, useLocale, useLocales, useDefaultLocale, useGTClass, useLocaleProperties } from 'gt-react/client';
|
|
2
2
|
import { DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions } from 'gt-react';
|
|
3
3
|
export declare function GTProvider(): void;
|
|
4
4
|
export declare function Tx(): void;
|
|
5
|
-
export { T, Var, Num, Currency, DateTime, Branch, Plural, LocaleSelector, useGT, useTranslations, useLocale, useLocales, useDefaultLocale, useGTClass, useLocaleProperties, DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions, };
|
|
5
|
+
export { T, Var, Num, Currency, DateTime, Branch, Plural, LocaleSelector, RegionSelector, useGT, useTranslations, useLocale, useLocales, useDefaultLocale, useGTClass, useLocaleProperties, DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions, };
|
|
6
6
|
//# sourceMappingURL=index.client.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.client.d.ts","sourceRoot":"","sources":["../src/index.client.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,CAAC,EACD,MAAM,EACN,MAAM,EACN,cAAc,EACd,KAAK,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,UAAU,CAAC;AAGlB,wBAAgB,UAAU,SAEzB;AAGD,wBAAgB,EAAE,SAEjB;AAED,OAAO,EACL,CAAC,EACD,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,cAAc,EACd,KAAK,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACnB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,GAC1B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.client.d.ts","sourceRoot":"","sources":["../src/index.client.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,CAAC,EACD,MAAM,EACN,MAAM,EACN,cAAc,EACd,cAAc,EACd,KAAK,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACpB,MAAM,iBAAiB,CAAC;AAKzB,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,UAAU,CAAC;AAGlB,wBAAgB,UAAU,SAEzB;AAGD,wBAAgB,EAAE,SAEjB;AAED,OAAO,EACL,CAAC,EACD,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,cAAc,EACd,cAAc,EACd,KAAK,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACnB,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,GAC1B,CAAC"}
|
package/dist/index.client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
'use client';
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.useLocaleProperties = exports.useGTClass = exports.useDefaultLocale = exports.useLocales = exports.useLocale = exports.useTranslations = exports.useGT = exports.LocaleSelector = exports.Plural = exports.Branch = exports.DateTime = exports.Currency = exports.Num = exports.Var = exports.T = void 0;
|
|
4
|
+
exports.useLocaleProperties = exports.useGTClass = exports.useDefaultLocale = exports.useLocales = exports.useLocale = exports.useTranslations = exports.useGT = exports.RegionSelector = exports.LocaleSelector = exports.Plural = exports.Branch = exports.DateTime = exports.Currency = exports.Num = exports.Var = exports.T = void 0;
|
|
5
5
|
exports.GTProvider = GTProvider;
|
|
6
6
|
exports.Tx = Tx;
|
|
7
7
|
var client_1 = require("gt-react/client");
|
|
@@ -13,6 +13,7 @@ Object.defineProperty(exports, "T", { enumerable: true, get: function () { retur
|
|
|
13
13
|
Object.defineProperty(exports, "Branch", { enumerable: true, get: function () { return client_1.Branch; } });
|
|
14
14
|
Object.defineProperty(exports, "Plural", { enumerable: true, get: function () { return client_1.Plural; } });
|
|
15
15
|
Object.defineProperty(exports, "LocaleSelector", { enumerable: true, get: function () { return client_1.LocaleSelector; } });
|
|
16
|
+
Object.defineProperty(exports, "RegionSelector", { enumerable: true, get: function () { return client_1.RegionSelector; } });
|
|
16
17
|
Object.defineProperty(exports, "useGT", { enumerable: true, get: function () { return client_1.useGT; } });
|
|
17
18
|
Object.defineProperty(exports, "useTranslations", { enumerable: true, get: function () { return client_1.useTranslations; } });
|
|
18
19
|
Object.defineProperty(exports, "useLocale", { enumerable: true, get: function () { return client_1.useLocale; } });
|
package/dist/index.client.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.client.js","sourceRoot":"","sources":["../src/index.client.ts"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;
|
|
1
|
+
{"version":3,"file":"index.client.js","sourceRoot":"","sources":["../src/index.client.ts"],"names":[],"mappings":";AAAA,YAAY,CAAC;;;AA+Bb,gCAEC;AAGD,gBAEC;AApCD,0CAiByB;AAuBvB,oFAvCA,YAAG,OAuCA;AACH,oFAvCA,YAAG,OAuCA;AACH,yFAvCA,iBAAQ,OAuCA;AACR,yFAvCA,iBAAQ,OAuCA;AAJR,kFAlCA,UAAC,OAkCA;AAKD,uFAtCA,eAAM,OAsCA;AACN,uFAtCA,eAAM,OAsCA;AACN,+FAtCA,uBAAc,OAsCA;AACd,+FAtCA,uBAAc,OAsCA;AACd,sFAtCA,cAAK,OAsCA;AACL,gGAtCA,wBAAe,OAsCA;AACf,0FAtCA,kBAAS,OAsCA;AACT,2FAtCA,mBAAU,OAsCA;AACV,iGAtCA,yBAAgB,OAsCA;AAChB,2FAtCA,mBAAU,OAsCA;AACV,oGAtCA,4BAAmB,OAsCA;AApCrB,sDAG+B;AAO/B,0CAA0C;AAC1C,SAAgB,UAAU;IACxB,MAAM,IAAI,KAAK,CAAC,uCAAwB,CAAC,CAAC;AAC5C,CAAC;AAED,kCAAkC;AAClC,SAAgB,EAAE;IAChB,MAAM,IAAI,KAAK,CAAC,+BAAgB,CAAC,CAAC;AACpC,CAAC"}
|
package/dist/index.server.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { useGT } from './server-dir/buildtime/getGT';
|
|
|
11
11
|
import { useTranslations } from './server-dir/buildtime/getTranslations';
|
|
12
12
|
import { useLocale } from './request/getLocale';
|
|
13
13
|
import { DictionaryTranslationOptions, InlineTranslationOptions, RuntimeTranslationOptions } from 'gt-react';
|
|
14
|
-
export { LocaleSelector } from './index.client';
|
|
14
|
+
export { LocaleSelector, RegionSelector } from './index.client';
|
|
15
15
|
export declare function useGTClass(): import("generaltranslation").GT;
|
|
16
16
|
export declare function useLocaleProperties(locale: string): import("generaltranslation/dist/locales/getLocaleProperties").LocaleProperties;
|
|
17
17
|
export declare function useLocales(): string[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../src/index.server.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,CAAC,MAAM,0BAA0B,CAAC;AACzC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.server.d.ts","sourceRoot":"","sources":["../src/index.server.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,GAAG,MAAM,iBAAiB,CAAC;AAClC,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,QAAQ,MAAM,sBAAsB,CAAC;AAC5C,OAAO,CAAC,MAAM,0BAA0B,CAAC;AACzC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,MAAM,MAAM,mBAAmB,CAAC;AACvC,OAAO,UAAU,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,KAAK,EAAE,MAAM,8BAA8B,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,wCAAwC,CAAC;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAEhD,OAAO,EACL,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,UAAU,CAAC;AAElB,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;AAEhE,wBAAgB,UAAU,oCAEzB;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,kFAEjD;AAED,wBAAgB,UAAU,aAEzB;AAED,wBAAgB,gBAAgB,WAE/B;AAED,OAAO,EACL,UAAU,EACV,CAAC,EACD,EAAE,EACF,GAAG,EACH,GAAG,EACH,QAAQ,EACR,QAAQ,EACR,MAAM,EACN,MAAM,EACN,KAAK,EACL,eAAe,EACf,SAAS,EACT,4BAA4B,EAC5B,wBAAwB,EACxB,yBAAyB,GAC1B,CAAC"}
|
package/dist/index.server.js
CHANGED
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.useLocale = exports.useTranslations = exports.useGT = exports.Plural = exports.Branch = exports.DateTime = exports.Currency = exports.Num = exports.Var = exports.Tx = exports.T = exports.GTProvider = exports.LocaleSelector = void 0;
|
|
6
|
+
exports.useLocale = exports.useTranslations = exports.useGT = exports.Plural = exports.Branch = exports.DateTime = exports.Currency = exports.Num = exports.Var = exports.Tx = exports.T = exports.GTProvider = exports.RegionSelector = exports.LocaleSelector = void 0;
|
|
7
7
|
exports.useGTClass = useGTClass;
|
|
8
8
|
exports.useLocaleProperties = useLocaleProperties;
|
|
9
9
|
exports.useLocales = useLocales;
|
|
@@ -35,6 +35,7 @@ Object.defineProperty(exports, "useLocale", { enumerable: true, get: function ()
|
|
|
35
35
|
var getI18NConfig_1 = __importDefault(require("./config-dir/getI18NConfig"));
|
|
36
36
|
var index_client_1 = require("./index.client");
|
|
37
37
|
Object.defineProperty(exports, "LocaleSelector", { enumerable: true, get: function () { return index_client_1.LocaleSelector; } });
|
|
38
|
+
Object.defineProperty(exports, "RegionSelector", { enumerable: true, get: function () { return index_client_1.RegionSelector; } });
|
|
38
39
|
function useGTClass() {
|
|
39
40
|
return (0, getI18NConfig_1.default)().getGTClass();
|
|
40
41
|
}
|
package/dist/index.server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.server.js","sourceRoot":"","sources":["../src/index.server.ts"],"names":[],"mappings":";;;;;;AAqBA,gCAEC;AAED,kDAEC;AAED,gCAEC;AAED,4CAEC;AAnCD,wDAAkC;AAyChC,cAzCK,aAAG,CAyCL;AAxCL,wDAAkC;AAyChC,cAzCK,aAAG,CAyCL;AAxCL,kEAA4C;AAyC1C,mBAzCK,kBAAQ,CAyCL;AAxCV,kEAA4C;AAyC1C,mBAzCK,kBAAQ,CAyCL;AAxCV,+DAAyC;AAmCvC,YAnCK,WAAC,CAmCL;AAlCH,6DAAuC;AAwCrC,iBAxCK,gBAAM,CAwCL;AAvCR,6DAAuC;AAwCrC,iBAxCK,gBAAM,CAwCL;AAvCR,qEAA+C;AA+B7C,qBA/BK,oBAAU,CA+BL;AA9BZ,mCAA8B;AAgC5B,mFAhCO,WAAE,OAgCP;AA/BJ,sDAAqD;AAsCnD,sFAtCO,aAAK,OAsCP;AArCP,0EAAyE;AAsCvE,gGAtCO,iCAAe,OAsCP;AArCjB,iDAAgD;AAsC9C,0FAtCO,qBAAS,OAsCP;AArCX,6EAAuD;AAOvD,+
|
|
1
|
+
{"version":3,"file":"index.server.js","sourceRoot":"","sources":["../src/index.server.ts"],"names":[],"mappings":";;;;;;AAqBA,gCAEC;AAED,kDAEC;AAED,gCAEC;AAED,4CAEC;AAnCD,wDAAkC;AAyChC,cAzCK,aAAG,CAyCL;AAxCL,wDAAkC;AAyChC,cAzCK,aAAG,CAyCL;AAxCL,kEAA4C;AAyC1C,mBAzCK,kBAAQ,CAyCL;AAxCV,kEAA4C;AAyC1C,mBAzCK,kBAAQ,CAyCL;AAxCV,+DAAyC;AAmCvC,YAnCK,WAAC,CAmCL;AAlCH,6DAAuC;AAwCrC,iBAxCK,gBAAM,CAwCL;AAvCR,6DAAuC;AAwCrC,iBAxCK,gBAAM,CAwCL;AAvCR,qEAA+C;AA+B7C,qBA/BK,oBAAU,CA+BL;AA9BZ,mCAA8B;AAgC5B,mFAhCO,WAAE,OAgCP;AA/BJ,sDAAqD;AAsCnD,sFAtCO,aAAK,OAsCP;AArCP,0EAAyE;AAsCvE,gGAtCO,iCAAe,OAsCP;AArCjB,iDAAgD;AAsC9C,0FAtCO,qBAAS,OAsCP;AArCX,6EAAuD;AAOvD,+CAAgE;AAAvD,8GAAA,cAAc,OAAA;AAAE,8GAAA,cAAc,OAAA;AAEvC,SAAgB,UAAU;IACxB,OAAO,IAAA,uBAAa,GAAE,CAAC,UAAU,EAAE,CAAC;AACtC,CAAC;AAED,SAAgB,mBAAmB,CAAC,MAAc;IAChD,OAAO,UAAU,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC,CAAC;AAClD,CAAC;AAED,SAAgB,UAAU;IACxB,OAAO,IAAA,uBAAa,GAAE,CAAC,UAAU,EAAE,CAAC;AACtC,CAAC;AAED,SAAgB,gBAAgB;IAC9B,OAAO,IAAA,uBAAa,GAAE,CAAC,gBAAgB,EAAE,CAAC;AAC5C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gt-next",
|
|
3
|
-
"version": "6.0
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "A Next.js library for automatic internationalization.",
|
|
5
5
|
"main": "dist/index.server.js",
|
|
6
6
|
"peerDependencies": {
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
],
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@generaltranslation/supported-locales": "^2.0.13",
|
|
17
|
-
"generaltranslation": "^7.
|
|
18
|
-
"gt-react": "^10.0
|
|
17
|
+
"generaltranslation": "^7.2.0",
|
|
18
|
+
"gt-react": "^10.1.0"
|
|
19
19
|
},
|
|
20
20
|
"scripts": {
|
|
21
21
|
"patch": "npm version patch",
|