@forge/react 10.2.0 → 10.2.1-next.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.
Files changed (45) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/out/__test__/hostConfig.test.js +6 -1
  3. package/out/__test__/reconciler.test.js +3 -2
  4. package/out/__test__/reconcilerTestRenderer.js +2 -0
  5. package/out/__test__/testUtils.js +6 -0
  6. package/out/components/index.d.ts +8 -0
  7. package/out/components/index.d.ts.map +1 -1
  8. package/out/components/index.js +8 -0
  9. package/out/components/uikit2-components.js +1 -0
  10. package/out/hooks/__test__/confluenceEntity.test.js +3 -1
  11. package/out/hooks/__test__/jiraEntity.test.js +2 -1
  12. package/out/hooks/__test__/mockPropertyHook.d.ts +3 -0
  13. package/out/hooks/__test__/mockPropertyHook.d.ts.map +1 -1
  14. package/out/hooks/__test__/mockPropertyHook.js +5 -0
  15. package/out/hooks/__test__/useConfig.test.js +4 -1
  16. package/out/hooks/__test__/useEntityProperty.test.js +3 -3
  17. package/out/hooks/__test__/useProductContext.test.js +3 -1
  18. package/out/hooks/confluenceEntity.d.ts +4 -0
  19. package/out/hooks/confluenceEntity.d.ts.map +1 -1
  20. package/out/hooks/confluenceEntity.js +9 -0
  21. package/out/hooks/jiraEntity.d.ts +4 -0
  22. package/out/hooks/jiraEntity.d.ts.map +1 -1
  23. package/out/hooks/jiraEntity.js +9 -0
  24. package/out/hooks/useContentProperty.d.ts +9 -0
  25. package/out/hooks/useContentProperty.d.ts.map +1 -1
  26. package/out/hooks/useContentProperty.js +9 -0
  27. package/out/hooks/useEntityProperty.js +7 -1
  28. package/out/hooks/useForm.js +23 -1
  29. package/out/hooks/useIssueProperty.d.ts +9 -0
  30. package/out/hooks/useIssueProperty.d.ts.map +1 -1
  31. package/out/hooks/useIssueProperty.js +10 -1
  32. package/out/hooks/useSpaceProperty.d.ts +9 -0
  33. package/out/hooks/useSpaceProperty.d.ts.map +1 -1
  34. package/out/hooks/useSpaceProperty.js +9 -0
  35. package/out/hooks/utils/apiRequestUtils.js +2 -0
  36. package/out/hooks/utils/valueUtils.js +2 -0
  37. package/out/reconciler.d.ts +13 -0
  38. package/out/reconciler.d.ts.map +1 -1
  39. package/out/reconciler.js +35 -0
  40. package/out/types/effect.d.ts +3 -0
  41. package/out/types/effect.d.ts.map +1 -1
  42. package/out/types/extension.d.ts +4 -0
  43. package/out/types/extension.d.ts.map +1 -1
  44. package/package.json +1 -1
  45. package/tsconfig.tsbuildinfo +1 -1
@@ -4,6 +4,15 @@ exports.useSpaceProperty = void 0;
4
4
  const react_1 = require("react");
5
5
  const confluenceEntity_1 = require("./confluenceEntity");
6
6
  const useEntityProperty_1 = require("./useEntityProperty");
7
+ /**
8
+ * This function manages the space properties of a Confluence space where the app is installed.
9
+ * @param propertyKey Name (key) of the property
10
+ * @param initValue Default value if it did not exist previously
11
+ * @returns An array with 3 items:
12
+ * 1. Current value of the property.
13
+ * 2. A function to update the property value (with another value or an updater function). If an initial update fails, it automatically tries to update for another <retryCount> times (default 2).
14
+ * 3. A function to delete the property.
15
+ */
7
16
  const useSpaceProperty = (propertyKey, initValue) => {
8
17
  const entityManager = (0, react_1.useMemo)(() => (0, confluenceEntity_1.confluenceEntity)({
9
18
  entityType: 'Space',
@@ -7,6 +7,7 @@ exports.FETCH_HEADERS = {
7
7
  Accept: 'application/json',
8
8
  'Content-Type': 'application/json'
9
9
  };
10
+ // loads productContext and passes data to support API calls for GET, UPDATE, DELETE operations
10
11
  const withContext = ({ originalOperation, apiEndpoints, entityType, origPropertyKey }) => async (...args) => {
11
12
  const context = await bridge_1.view.getContext();
12
13
  const propertyKey = entityType === 'Content' ? `forge-${context.localId}-${origPropertyKey}` : `forge-${origPropertyKey}`;
@@ -43,6 +44,7 @@ const getJSONData = async (response) => {
43
44
  }
44
45
  };
45
46
  exports.getJSONData = getJSONData;
47
+ // checks if a response from the API is successful and throw error if not
46
48
  const assertSuccessfulResponse = ({ entityType, propertyKey, operation, response }) => {
47
49
  if (!response.ok) {
48
50
  throw new types_1.EntityPropertyRequestFailedError({ entityType, propertyKey, operation, status: response.status });
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveValue = void 0;
4
+ // copied over from @forge/ui
5
+ // helper function that resolves a value from a promise or returns the original value
4
6
  const resolveValue = async (defaultValue) => {
5
7
  const value = defaultValue instanceof Function ? defaultValue() : defaultValue;
6
8
  return await value;
@@ -21,6 +21,19 @@ declare type CreateElement = (args: {
21
21
  export declare const createElement: CreateElement;
22
22
  export declare const appendChild: (parent: ForgeDoc, child: ForgeDoc) => void;
23
23
  export declare const insertBefore: (parent: ForgeDoc, child: ForgeDoc, beforeChild: ForgeDoc) => void;
24
+ /**
25
+ * Performs a shallow comparison of the old and new props for a component, but doesn't
26
+ * compare the "children" prop. This works because the custom reconciler extracts the
27
+ * "children" prop from the ForgeDoc and includes it separately.
28
+ *
29
+ * This function is used in prepareUpdate to determine whether or not to increment the
30
+ * reconciliationCount for the component - the reconciliationCount should only be incremented
31
+ * if the props have changed.
32
+ *
33
+ * @param newProps The new props being passed to the component
34
+ * @param oldProps The old props the component previously had
35
+ * @returns True if the props are equal and false otherwise
36
+ */
24
37
  export declare const nonChildPropsAreEqual: (oldProps: InstanceProps, newProps: InstanceProps) => boolean;
25
38
  declare type HostConfigType = string;
26
39
  declare type InstanceProps = Record<string, any>;
@@ -1 +1 @@
1
- {"version":3,"file":"reconciler.d.ts","sourceRoot":"","sources":["../src/reconciler.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AACrC,OAAmB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAI1D,aAAK,WAAW,GAAG,MAAM,CAAC;AAC1B,aAAK,YAAY,GAAG,aAAa,CAAC;AAElC,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,WAAW,CAAC;IAClB,KAAK,EAAE,YAAY,CA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Y,QAAQ,SAAS,QAAQ,eAAe,QAAQ,SAOpF,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,aAAc,aAAa,YAAY,aAAa,YAerF,CAAC;AAEF,aAAK,cAAc,GAAG,MAAM,CAAC;AAE7B,aAAK,aAAa,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AACzC,aAAK,SAAS,GAAG,QAAQ,CAAC;AAC1B,aAAK,QAAQ,GAAG,QAAQ,CAAC;AACzB,aAAK,YAAY,GAAG,QAAQ,CAAC;AAC7B,aAAK,gBAAgB,GAAG,QAAQ,CAAC;AACjC,aAAK,kBAAkB,GAAG,QAAQ,CAAC;AACnC,aAAK,cAAc,GAAG,QAAQ,CAAC;AAE/B,aAAK,WAAW,GAAG,GAAG,CAAC;AAEvB,aAAK,aAAa,GAAG,GAAG,CAAC;AAEzB,aAAK,QAAQ,GAAG,GAAG,CAAC;AACpB,aAAK,aAAa,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,CAAC;AACnD,aAAK,SAAS,GAAG,CAAC,CAAC,CAAC;AAEpB,eAAO,MAAM,UAAU,EAAE,UAAU,CACjC,cAAc,EACd,aAAa,EACb,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,WAAW,EACX,aAAa,EACb,QAAQ,EACR,aAAa,EACb,SAAS,CA+IV,CAAC;AAIF,eAAO,MAAM,eAAe;sBACR,YAAY;yBAiBT,YAAY;CAiBlC,CAAC;AAEF,eAAe,eAAe,CAAC"}
package/out/reconciler.js CHANGED
@@ -5,8 +5,12 @@ const tslib_1 = require("tslib");
5
5
  const react_reconciler_1 = tslib_1.__importDefault(require("react-reconciler"));
6
6
  const constants_1 = require("react-reconciler/constants");
7
7
  const uuid_1 = require("uuid");
8
+ // Only taking the first 5 characters of the uuid to keep the id shorter in the DOM to readability.
9
+ // The chances of clashing with 5 characters is still 1 in 1 million.
8
10
  const idPropsPrefixAppUUID = (0, uuid_1.v4)().slice(0, 5);
9
11
  const idPropsPrefix = `forge-app-${idPropsPrefixAppUUID}`;
12
+ // Checks the props of the component to see if it has an id prop. If so prefixes the value with the idPropsPrefix\
13
+ // This is done to avoid id conflicts with components in host product and other forge apps in the same page
10
14
  const newPropsWithIdPrefix = (props) => {
11
15
  const idProps = ['id', 'labelFor', 'inputId'];
12
16
  const newProps = idProps.reduce((acc, idProp) => {
@@ -30,10 +34,13 @@ const attachFunctionPropId = (props) => {
30
34
  return props;
31
35
  };
32
36
  const callBridge = function (cmd, data) {
37
+ // @ts-ignore
38
+ // eslint-disable-next-line @typescript-eslint/no-floating-promises
33
39
  self?.__bridge?.callBridge(cmd, data);
34
40
  };
35
41
  exports.callBridge = callBridge;
36
42
  const createElement = ({ type, props = {}, forgeReactMajorVersion }) => {
43
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
37
44
  const { children, ...restProps } = props;
38
45
  const newProps = newPropsWithIdPrefix(attachFunctionPropId(restProps));
39
46
  const element = {
@@ -65,6 +72,19 @@ const insertBefore = (parent, child, beforeChild) => {
65
72
  parent.children.splice(insertIndex, 0, child);
66
73
  };
67
74
  exports.insertBefore = insertBefore;
75
+ /**
76
+ * Performs a shallow comparison of the old and new props for a component, but doesn't
77
+ * compare the "children" prop. This works because the custom reconciler extracts the
78
+ * "children" prop from the ForgeDoc and includes it separately.
79
+ *
80
+ * This function is used in prepareUpdate to determine whether or not to increment the
81
+ * reconciliationCount for the component - the reconciliationCount should only be incremented
82
+ * if the props have changed.
83
+ *
84
+ * @param newProps The new props being passed to the component
85
+ * @param oldProps The old props the component previously had
86
+ * @returns True if the props are equal and false otherwise
87
+ */
68
88
  const nonChildPropsAreEqual = (oldProps, newProps) => {
69
89
  const newPropsKey = Object.keys(newProps).filter((key) => key !== 'children');
70
90
  const oldPropsKey = Object.keys(oldProps).filter((key) => key !== 'children');
@@ -127,6 +147,7 @@ exports.hostConfig = {
127
147
  prepareForCommit() {
128
148
  return null;
129
149
  },
150
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
130
151
  preparePortalMount() { },
131
152
  scheduleTimeout(fn, delay) {
132
153
  return setTimeout(fn, delay);
@@ -148,17 +169,26 @@ exports.hostConfig = {
148
169
  const removeIndex = container.children.indexOf(child);
149
170
  container.children.splice(removeIndex, 1);
150
171
  },
172
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
151
173
  resetTextContent() { },
152
174
  commitTextUpdate(textInstance, oldText, newText) {
153
175
  textInstance.props.text = newText;
154
176
  },
177
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
155
178
  commitMount() { },
179
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
156
180
  commitUpdate() { },
181
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
157
182
  hideInstance() { },
183
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
158
184
  hideTextInstance() { },
185
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
159
186
  unhideInstance() { },
187
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
160
188
  unhideTextInstance() { },
189
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
161
190
  clearContainer() { },
191
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
162
192
  detachDeletedInstance() { },
163
193
  getCurrentEventPriority() {
164
194
  return constants_1.DefaultEventPriority;
@@ -166,8 +196,11 @@ exports.hostConfig = {
166
196
  getInstanceFromNode() {
167
197
  return null;
168
198
  },
199
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
169
200
  beforeActiveInstanceBlur() { },
201
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
170
202
  afterActiveInstanceBlur() { },
203
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
171
204
  prepareScopeUpdate() { },
172
205
  getInstanceFromScope() {
173
206
  return null;
@@ -178,6 +211,7 @@ exports.ForgeReconciler = {
178
211
  render: (element) => {
179
212
  const rootElement = (0, exports.createElement)({ type: 'Root', props: {}, forgeReactMajorVersion: 10 });
180
213
  const container = reconciler.createContainer(rootElement, 0, null, false, null, 'root', (err) => {
214
+ // eslint-disable-next-line no-console
181
215
  console.log(err);
182
216
  }, null);
183
217
  reconciler.updateContainer(element, container, null, null);
@@ -185,6 +219,7 @@ exports.ForgeReconciler = {
185
219
  addConfig: (element) => {
186
220
  const macroConfigElement = (0, exports.createElement)({ type: 'MacroConfig', props: {}, forgeReactMajorVersion: 10 });
187
221
  const container = reconciler.createContainer(macroConfigElement, 0, null, false, null, 'macroConfig', (err) => {
222
+ // eslint-disable-next-line no-console
188
223
  console.log(err);
189
224
  }, null);
190
225
  reconciler.updateContainer(element, container, null, null);
@@ -9,6 +9,9 @@ export declare type ExtensionPayload = {
9
9
  [k: string]: any;
10
10
  };
11
11
  export interface CoreData {
12
+ /**
13
+ * Optional due to products with workspace install
14
+ */
12
15
  cloudId?: string;
13
16
  workspaceId?: string;
14
17
  localId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"effect.d.ts","sourceRoot":"","sources":["../../src/types/effect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IAEpC,OAAO,EAAE,aAAa,EAAE,CAAC;CAC1B;AAED,oBAAY,aAAa,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEjD,oBAAY,gBAAgB,GAAG;IAAE,CAAC,CAAC,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE,CAAC;AAEpD,MAAM,WAAW,QAAQ;IAIvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,OAAO,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,aAAc,SAAQ,QAAQ;IAC7C,SAAS,EAAE,MA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EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,QAAQ,CAAC;IACnB,aAAa,EAAE,aAAa,CAAC;CAC9B;AAED,MAAM,WAAW,YAAY;IAC3B,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,QAAQ,CAAC;IACnB,KAAK,EAAE,WAAW,CAAC;CACpB;AAED,oBAAY,aAAa,GAAG,YAAY,GAAG,YAAY,GAAG,WAAW,CAAC;AACtE,oBAAY,YAAY,GAAG,YAAY,CAAC;AACxC,oBAAY,MAAM,GAAG,aAAa,GAAG,YAAY,CAAC;AAElD,eAAO,MAAM,aAAa,WAAY,MAAM,0BAE3C,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,2BAE5C,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,2BAE5C,CAAC;AAEF,eAAO,MAAM,cAAc,WAAY,MAAM,2BAE5C,CAAC;AAEF,wBAAgB,eAAe,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,IAAI,aAAa,CAIvE"}
@@ -6,6 +6,10 @@ export interface BackendRuntimeContext {
6
6
  installContext?: string;
7
7
  workspaceId?: string;
8
8
  license?: {
9
+ /**
10
+ * @private
11
+ * @deprecated isActive does not exist
12
+ */
9
13
  isActive?: boolean;
10
14
  } & LicenseDetails;
11
15
  }
@@ -1 +1 @@
1
- {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../src/types/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE;QACV,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QAKR,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,GAAG,cAAc,CAAC;CACpB"}
1
+ {"version":3,"file":"extension.d.ts","sourceRoot":"","sources":["../../src/types/extension.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,WAAW,qBAAqB;IACpC,SAAS,CAAC,EAAE;QACV,SAAS,CAAC,EAAE,MAAM,CAAC;KACpB,CAAC;IAEF,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,QAAQ,CAAC,EAAE,OAAO,CAAC;KACpB,GAAG,cAAc,CAAC;CACpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/react",
3
- "version": "10.2.0",
3
+ "version": "10.2.1-next.0",
4
4
  "description": "Forge React reconciler",
5
5
  "author": "Atlassian",
6
6
  "license": "UNLICENSED",