@verbaly/react 0.86.2 → 0.87.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/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://raw.githubusercontent.com/verbaly-i18n/verbaly/develop/assets/logo.png" alt="Verbaly" width="300" />
2
+ <img src="https://raw.githubusercontent.com/verbaly-i18n/verbaly/develop/assets/lockup-light.svg" alt="Verbaly" height="64" />
3
3
  </p>
4
4
 
5
5
  <p align="center"><em>React bindings for Verbaly: hooks over the reactive core.</em></p>
package/dist/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_render = require("./render-4doKDlxH.cjs");
3
2
  let react = require("react");
4
3
  let verbaly = require("verbaly");
4
+ const require_render = require("./render-4doKDlxH.cjs");
5
5
  // src/index.ts
6
6
  const VerbalyContext = (0, react.createContext)(null);
7
7
  const APP_INSTANCE = Symbol.for("verbaly.app");
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { n as TransProps, t as TransOptions } from "./render-CKhXoteq.cjs";
2
1
  import { ReactElement, ReactNode } from "react";
3
2
  import { DictionaryInput, Params, TFunction, Verbaly } from "verbaly";
3
+ import { n as TransProps, t as TransOptions } from "./render-CKhXoteq.cjs";
4
4
  export interface VerbalyProviderProps<D extends DictionaryInput> {
5
5
  instance: Verbaly<D>;
6
6
  children?: ReactNode;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { n as TransProps, t as TransOptions } from "./render-CKhXoteq.js";
2
1
  import { ReactElement, ReactNode } from "react";
3
2
  import { DictionaryInput, Params, TFunction, Verbaly } from "verbaly";
3
+ import { n as TransProps, t as TransOptions } from "./render-CKhXoteq.js";
4
4
  export interface VerbalyProviderProps<D extends DictionaryInput> {
5
5
  instance: Verbaly<D>;
6
6
  children?: ReactNode;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { t as renderTrans } from "./render-DitbbbzJ.js";
2
1
  import { createContext, createElement, useContext, useMemo, useSyncExternalStore } from "react";
3
2
  import { persistLocale } from "verbaly";
3
+ import { t as renderTrans } from "./render-DitbbbzJ.js";
4
4
  // src/index.ts
5
5
  const VerbalyContext = createContext(null);
6
6
  const APP_INSTANCE = Symbol.for("verbaly.app");
package/dist/server.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import { n as TransProps, r as renderTrans, t as TransOptions } from "./render-CKhXoteq.cjs";
2
1
  import { ReactElement } from "react";
3
2
  import { Verbaly } from "verbaly";
3
+ import { n as TransProps, r as renderTrans, t as TransOptions } from "./render-CKhXoteq.cjs";
4
4
  export declare function Trans(props: TransProps & {
5
5
  instance: Verbaly;
6
6
  }): ReactElement;
package/dist/server.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { n as TransProps, r as renderTrans, t as TransOptions } from "./render-CKhXoteq.js";
2
1
  import { ReactElement } from "react";
3
2
  import { Verbaly } from "verbaly";
3
+ import { n as TransProps, r as renderTrans, t as TransOptions } from "./render-CKhXoteq.js";
4
4
  export declare function Trans(props: TransProps & {
5
5
  instance: Verbaly;
6
6
  }): ReactElement;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verbaly/react",
3
- "version": "0.86.2",
3
+ "version": "0.87.0",
4
4
  "description": "React bindings for Verbaly: hooks over the reactive core.",
5
5
  "keywords": [
6
6
  "i18n",
@@ -62,17 +62,17 @@
62
62
  },
63
63
  "peerDependencies": {
64
64
  "react": "^18.0.0 || ^19.0.0",
65
- "verbaly": "^0.86.2"
65
+ "verbaly": "^0.87.0"
66
66
  },
67
67
  "devDependencies": {
68
- "@types/react": "^19.3.0",
68
+ "@types/react": "^19.3.3",
69
69
  "@types/react-dom": "^19.3.0",
70
70
  "happy-dom": "^21.0.4",
71
71
  "preact": "^11.2.0",
72
72
  "preact-render-to-string": "^6.8.3",
73
73
  "react": "^19.3.1",
74
74
  "react-dom": "^19.3.1",
75
- "verbaly": "^0.86.2"
75
+ "verbaly": "^0.87.0"
76
76
  },
77
77
  "scripts": {
78
78
  "build": "tsdown",