npm package diff
Package: @forge/react
Versions: 11.6.1-next.1-experimental-003d118 - 11.7.0-next.2
Added: package/out/hooks/types/objectStoreProps.js
Added: package/out/hooks/useObjectStore.js
Added: package/out/hooks/__test__/useObjectStore.test.js
Added: package/out/hooks/types/objectStoreProps.d.ts.map
Added: package/out/hooks/useObjectStore.d.ts.map
Added: package/out/hooks/__test__/useObjectStore.test.d.ts.map
Added: package/out/hooks/types/objectStoreProps.d.ts
Added: package/out/hooks/useObjectStore.d.ts
Added: package/out/hooks/__test__/useObjectStore.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.replaceUnsupportedDocumentNodes = exports.I18nProvider = exports.useTranslation = exports.useIssueProperty = exports.useSpaceProperty = exports.useContentProperty = exports.default = exports.usePermissions = exports.useConfig = exports.useProductContext = void 0;
+exports.useObjectStore = exports.useForm = exports.replaceUnsupportedDocumentNodes = exports.I18nProvider = exports.useTranslation = exports.useIssueProperty = exports.useSpaceProperty = exports.useContentProperty = exports.default = exports.usePermissions = 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");
@@ -23,5 +23,7 @@
var replaceUnsupportedDocumentNodes_1 = require("./components/utils/replaceUnsupportedDocumentNodes");
Object.defineProperty(exports, "replaceUnsupportedDocumentNodes", { enumerable: true, get: function () { return replaceUnsupportedDocumentNodes_1.replaceUnsupportedDocumentNodes; } });
var useForm_1 = require("./hooks/useForm");
Object.defineProperty(exports, "useForm", { enumerable: true, get: function () { return useForm_1.useForm; } });
+var useObjectStore_1 = require("./hooks/useObjectStore");
+Object.defineProperty(exports, "useObjectStore", { enumerable: true, get: function () { return useObjectStore_1.useObjectStore; } });
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": "11.6.1-next.1-experimental-003d118",
+ "version": "11.7.0-next.2",
"description": "Forge React reconciler",
"author": "Atlassian",
"license": "SEE LICENSE IN LICENSE.txt",
"main": "out/index.js",
@@ -27,9 +27,9 @@
"dependencies": {
"@atlaskit/adf-schema": "^48.0.0",
"@atlaskit/adf-utils": "^19.19.0",
"@atlaskit/forge-react-types": "^0.44.0",
- "@forge/bridge": "^5.8.0-next.12-experimental-003d118",
+ "@forge/bridge": "^5.8.0-next.13",
"@forge/i18n": "0.0.7",
"@types/react": "^18.2.64",
"@types/react-reconciler": "^0.28.8",
"lodash": "^4.17.21",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;AAC9C,OAAO,EACL,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC3B,MAAM,wBAAwB,CAAC;AAEhC,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;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AACrG,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;AAC9C,OAAO,EACL,cAAc,EACd,KAAK,WAAW,EAChB,KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC3B,MAAM,wBAAwB,CAAC;AAEhC,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;AACtE,OAAO,EAAE,+BAA+B,EAAE,MAAM,oDAAoD,CAAC;AACrG,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAExD,cAAc,iBAAiB,CAAC"}
\ No newline at end of fileModified: package/CHANGELOG.md
Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,16 +1,16 @@
# @forge/react
-## 11.6.1-next.1-experimental-003d118
+## 11.7.0-next.2
+### Minor Changes
+
+- f23a84e: Add useObjectStore hook
+
### Patch Changes
-- Updated dependencies [1d129f0]
-- Updated dependencies [fe20eb0]
-- Updated dependencies [08fbb0a]
-- Updated dependencies [617c3d9]
-- Updated dependencies [a4bccb7]
- - @forge/[email protected]
+- Updated dependencies [f23a84e]
+ - @forge/[email protected]
## 11.6.1-next.1
### Patch ChangesModified: package/out/index.d.ts
Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -8,6 +8,7 @@
export { useIssueProperty } from './hooks/useIssueProperty';
export { useTranslation, I18nProvider } from './hooks/useTranslation';
export { replaceUnsupportedDocumentNodes } from './components/utils/replaceUnsupportedDocumentNodes';
export { useForm } from './hooks/useForm';
+export { useObjectStore } from './hooks/useObjectStore';
export * from './package-types';
//# sourceMappingURL=index.d.ts.map
\ No newline at end of fileModified: package/tsconfig.tsbuildinfo
Large diffs are not rendered by default.