npm package diff
Package: @forge/react
Versions: 10.5.3-next.0-experimental-c7a7d36 - 10.6.0-next.1
Added:package/out/hooks/useTranslation.js
Added:package/out/hooks/__test__/useTranslation.test.js
Added:package/out/hooks/useTranslation.d.ts.map
Added:package/out/hooks/__test__/useTranslation.test.d.ts.map
Added:package/out/hooks/useTranslation.d.ts
Added:package/out/hooks/__test__/useTranslation.test.d.ts
Modified:package/out/index.js
Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -1,7 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.useForm = exports.useIssueProperty = exports.useSpaceProperty = exports.useContentProperty = exports.default = exports.useConfig = exports.useProductContext = void 0;
+exports.useForm = exports.I18nProvider = exports.useTranslation = exports.useIssueProperty = exports.useSpaceProperty = exports.useContentProperty = exports.default = exports.useConfig = exports.useProductContext = void 0;
const tslib_1 = require("tslib");
var useProductContext_1 = require("./hooks/useProductContext");
Object.defineProperty(exports, "useProductContext", { enumerable: true, get: function () { return useProductContext_1.useProductContext; } });
var useConfig_1 = require("./hooks/useConfig");
@@ -14,7 +14,10 @@
var useSpaceProperty_1 = require("./hooks/useSpaceProperty");
Object.defineProperty(exports, "useSpaceProperty", { enumerable: true, get: function () { return useSpaceProperty_1.useSpaceProperty; } });
var useIssueProperty_1 = require("./hooks/useIssueProperty");
Object.defineProperty(exports, "useIssueProperty", { enumerable: true, get: function () { return useIssueProperty_1.useIssueProperty; } });
+var useTranslation_1 = require("./hooks/useTranslation");
+Object.defineProperty(exports, "useTranslation", { enumerable: true, get: function () { return useTranslation_1.useTranslation; } });
+Object.defineProperty(exports, "I18nProvider", { enumerable: true, get: function () { return useTranslation_1.I18nProvider; } });
var useForm_1 = require("./hooks/useForm");
Object.defineProperty(exports, "useForm", { enumerable: true, get: function () { return useForm_1.useForm; } });
tslib_1.__exportStar(require("./package-types"), exports);
Modified:package/package.json
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@forge/react",
- "version": "10.5.3-next.0-experimental-c7a7d36",
+ "version": "10.6.0-next.1",
"description": "Forge React reconciler",
"author": "Atlassian",
"license": "UNLICENSED",
"main": "out/index.js",
@@ -13,9 +13,10 @@
"pack": "./build/bundle-types.sh"
},
"dependencies": {
"@atlaskit/forge-react-types": "^0.27.10",
- "@forge/bridge": "^3.5.1-next.3-experimental-c7a7d36",
+ "@forge/bridge": "^4.0.0-next.6",
+ "@forge/i18n": "0.0.1-next.10",
"@types/react-reconciler": "^0.28.8",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-hook-form": "^7.50.1",
Modified:package/out/index.d.ts.map
Index: package/out/index.d.ts.map
===================================================================
--- package/out/index.d.ts.map
+++ package/out/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAE1D,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAE5D,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,cAAc,iBAAiB,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAE9C,OAAO,EAAE,eAAe,IAAI,OAAO,EAAE,MAAM,cAAc,CAAC;AAE1D,cAAc,cAAc,CAAC;AAE7B,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAChE,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAEtE,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE1C,cAAc,iBAAiB,CAAC"}
\ No newline at end of file
Modified:package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,12 +1,18 @@
# @forge/react
-## 10.5.3-next.0-experimental-c7a7d36
+## 10.6.0-next.1
+### Minor Changes
+
+- c56ce5b: Add useTranslation hook and I18nProvider to provide basic i18n support for UI Kit apps
+
### Patch Changes
-- Updated dependencies [7e506ec]
- - @forge/[email protected]
+- Updated dependencies [a27f856]
+- Updated dependencies [c81fa57]
+ - @forge/[email protected]
+ - @forge/[email protected]
## 10.5.3-next.0
### Patch Changes
Modified:package/out/index.d.ts
Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -4,7 +4,8 @@
export * from './components';
export { useContentProperty } from './hooks/useContentProperty';
export { useSpaceProperty } from './hooks/useSpaceProperty';
export { useIssueProperty } from './hooks/useIssueProperty';
+export { useTranslation, I18nProvider } from './hooks/useTranslation';
export { useForm } from './hooks/useForm';
export * from './package-types';
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file
Modified:package/tsconfig.tsbuildinfo
too-big