gt-react 10.0.8 → 10.0.9

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # gt-react
2
2
 
3
+ ## 10.0.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [#537](https://github.com/generaltranslation/gt/pull/537) [`2c690df`](https://github.com/generaltranslation/gt/commit/2c690dfcd47498133c8be2235da342ae684f7663) Thanks [@SamEggert](https://github.com/SamEggert)! - Update branch prop type to accept strings, numbers, and booleans
8
+
3
9
  ## 10.0.8
4
10
 
5
11
  ### Patch Changes
@@ -24,7 +24,7 @@
24
24
  */
25
25
  declare function Branch({ children, branch, ...branches }: {
26
26
  children?: any;
27
- branch?: string;
27
+ branch?: string | number | boolean;
28
28
  [key: string]: any;
29
29
  }): React.JSX.Element;
30
30
  declare namespace Branch {
@@ -1 +1 @@
1
- {"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../src/branches/Branch.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,MAAM,EACN,GAAG,QAAQ,EACZ,EAAE;IACD,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAOpB;kBAfQ,MAAM;;;AAkBf,eAAe,MAAM,CAAC"}
1
+ {"version":3,"file":"Branch.d.ts","sourceRoot":"","sources":["../../src/branches/Branch.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAS,MAAM,CAAC,EACd,QAAQ,EACR,MAAM,EACN,GAAG,QAAQ,EACZ,EAAE;IACD,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAOpB;kBAfQ,MAAM;;;AAkBf,eAAe,MAAM,CAAC"}
package/dist/client.d.ts CHANGED
@@ -221,7 +221,7 @@ declare function ClientProvider({ children, dictionary, initialTranslations, ini
221
221
  */
222
222
  declare function Branch({ children, branch, ...branches }: {
223
223
  children?: any;
224
- branch?: string;
224
+ branch?: string | number | boolean;
225
225
  [key: string]: any;
226
226
  }): React.JSX.Element;
227
227
  declare namespace Branch {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gt-react",
3
- "version": "10.0.8",
3
+ "version": "10.0.9",
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",