@forge/react 11.2.0-next.3 → 11.2.0-next.4

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,13 @@
1
1
  # @forge/react
2
2
 
3
+ ## 11.2.0-next.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 4c38eba: Update README to include link to changelog
8
+ - Updated dependencies [4c38eba]
9
+ - @forge/bridge@4.5.1-next.2
10
+
3
11
  ## 11.2.0-next.3
4
12
 
5
13
  ### Minor Changes
package/README.md ADDED
@@ -0,0 +1,4 @@
1
+ # Forge React
2
+
3
+ ## Changes
4
+ See [CHANGELOG.md](CHANGELOG.md)
@@ -1,5 +1,5 @@
1
1
  import type { AdfRendererProps as PlatformAdfRendererProps } from '@atlaskit/forge-react-types';
2
- import type { Visitor } from '@atlaskit/adf-utils/types/index';
2
+ import type { Visitor } from '@atlaskit/adf-utils';
3
3
  declare type AdfRendererProps = Omit<PlatformAdfRendererProps, 'documentWithoutMedia'> & {
4
4
  replaceUnsupportedNode?: Visitor;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"adf-renderer.d.ts","sourceRoot":"","sources":["../../src/components/adf-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAI/D,aAAK,gBAAgB,GAAG,IAAI,CAAC,wBAAwB,EAAE,sBAAsB,CAAC,GAAG;IAC/E,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAIF,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAiBlD,CAAC"}
1
+ {"version":3,"file":"adf-renderer.d.ts","sourceRoot":"","sources":["../../src/components/adf-renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,IAAI,wBAAwB,EAAE,MAAM,6BAA6B,CAAC;AAChG,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAInD,aAAK,gBAAgB,GAAG,IAAI,CAAC,wBAAwB,EAAE,sBAAsB,CAAC,GAAG;IAC/E,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAIF,eAAO,MAAM,WAAW,UAAW,gBAAgB,4CAiBlD,CAAC"}
@@ -0,0 +1,8 @@
1
+ import { CommentProps } from '@atlaskit/forge-react-types';
2
+ /**
3
+ * A comment displays discussions and user feedback.
4
+ *
5
+ * @see [Comment](https://developer.atlassian.com/platform/forge/ui-kit/components/comment/) in UI Kit documentation for more information
6
+ */
7
+ export declare const Comment: ({ avatar, content, ...rest }: CommentProps) => import("react/jsx-runtime").JSX.Element;
8
+ //# sourceMappingURL=comment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"comment.d.ts","sourceRoot":"","sources":["../../src/components/comment.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAQ3D;;;;GAIG;AACH,eAAO,MAAM,OAAO,iCAAkC,YAAY,4CAOjE,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Comment = void 0;
4
+ const jsx_runtime_1 = require("react/jsx-runtime");
5
+ const content_wrapper_1 = require("./utils/content-wrapper");
6
+ const CommentPrimitive = 'Comment';
7
+ /**
8
+ * A comment displays discussions and user feedback.
9
+ *
10
+ * @see [Comment](https://developer.atlassian.com/platform/forge/ui-kit/components/comment/) in UI Kit documentation for more information
11
+ */
12
+ const Comment = ({ avatar, content, ...rest }) => {
13
+ return ((0, jsx_runtime_1.jsxs)(CommentPrimitive, { ...rest, children: [(0, jsx_runtime_1.jsx)(content_wrapper_1.ContentWrapper, { name: "avatar", children: avatar }), (0, jsx_runtime_1.jsx)(content_wrapper_1.ContentWrapper, { name: "content", children: content })] }));
14
+ };
15
+ exports.Comment = Comment;
@@ -1,14 +1,24 @@
1
- import { ForgeElement, MarkupProps, NativeImageProps as ImageProps, NativeLinkProps as LinkProps, NativeUserPickerProps as UserPickerProps, UserGroupProps, UserProps, FrameProps } from '../types/index';
1
+ import { ForgeElement, MarkupProps, NativeImageProps as ImageProps, NativeLinkProps as LinkProps, NativeUserPickerProps as UserPickerProps, UserGroupProps, FrameProps } from '../types/index';
2
2
  import { CheckboxGroupProps as UIKitCheckboxGroupProps } from '@atlaskit/forge-react-types';
3
3
  export { DynamicTable } from './dynamic-table';
4
4
  export { InlineEdit } from './inline-edit';
5
5
  export { Popup } from './popup';
6
+ export { Comment } from './comment';
6
7
  export { AdfRenderer } from './adf-renderer';
7
8
  export { UserPickerValue } from '../types/index';
9
+ declare type UserProps = {
10
+ accountId: string;
11
+ hideDisplayName?: boolean;
12
+ };
13
+ /**
14
+ * A component that represents a user, displaying details such as name and profile picture.
15
+ *
16
+ * @see [User](https://developer.atlassian.com/platform/forge/ui-kit/components/user/) in UI Kit documentation for more information
17
+ */
18
+ export declare const User: (props: UserProps) => ForgeElement;
8
19
  export declare const Image: (props: ImageProps) => ForgeElement;
9
20
  export declare const Link: (props: LinkProps) => ForgeElement;
10
21
  export declare const UserPicker: (props: UserPickerProps) => ForgeElement;
11
- export declare const User: (props: UserProps) => ForgeElement;
12
22
  export declare const UserGroup: (props: UserGroupProps) => ForgeElement;
13
23
  export declare const Em: (props: MarkupProps) => ForgeElement;
14
24
  export declare const Strike: (props: MarkupProps) => ForgeElement;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,YAAY,EACZ,WAAW,EACX,gBAAgB,IAAI,UAAU,EAC9B,eAAe,IAAI,SAAS,EAC5B,qBAAqB,IAAI,eAAe,EACxC,cAAc,EACd,SAAS,EACT,UAAU,EACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,kBAAkB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ACH,eAAO,MAAM,KAAK,UAAiC,UAAU,KAAK,YAAY,CAAC;AAE/E;;GAEG;AACH,cAAc,qBAAqB,CAAC;AAIpC,UAAU,uBAAuB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;IAC3C,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AACD,aAAK,kBAAkB,GAAG,uBAAuB,GAAG,uBAAuB,CAAC;AAC5E,eAAO,MAAM,aAAa,UAAyC,kBAAkB,KAAK,YAAY,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CheckboxGroup = exports.Frame = exports.Strong = exports.Strike = exports.Em = exports.UserGroup = exports.User = exports.UserPicker = exports.Link = exports.Image = exports.AdfRenderer = exports.Popup = exports.InlineEdit = exports.DynamicTable = void 0;
3
+ exports.CheckboxGroup = exports.Frame = exports.Strong = exports.Strike = exports.Em = exports.UserGroup = exports.UserPicker = exports.Link = exports.Image = exports.User = exports.AdfRenderer = exports.Comment = exports.Popup = exports.InlineEdit = exports.DynamicTable = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  var dynamic_table_1 = require("./dynamic-table");
6
6
  Object.defineProperty(exports, "DynamicTable", { enumerable: true, get: function () { return dynamic_table_1.DynamicTable; } });
@@ -8,12 +8,19 @@ var inline_edit_1 = require("./inline-edit");
8
8
  Object.defineProperty(exports, "InlineEdit", { enumerable: true, get: function () { return inline_edit_1.InlineEdit; } });
9
9
  var popup_1 = require("./popup");
10
10
  Object.defineProperty(exports, "Popup", { enumerable: true, get: function () { return popup_1.Popup; } });
11
+ var comment_1 = require("./comment");
12
+ Object.defineProperty(exports, "Comment", { enumerable: true, get: function () { return comment_1.Comment; } });
11
13
  var adf_renderer_1 = require("./adf-renderer");
12
14
  Object.defineProperty(exports, "AdfRenderer", { enumerable: true, get: function () { return adf_renderer_1.AdfRenderer; } });
15
+ /**
16
+ * A component that represents a user, displaying details such as name and profile picture.
17
+ *
18
+ * @see [User](https://developer.atlassian.com/platform/forge/ui-kit/components/user/) in UI Kit documentation for more information
19
+ */
20
+ exports.User = 'User';
13
21
  exports.Image = 'Image';
14
22
  exports.Link = 'Link';
15
23
  exports.UserPicker = 'UserPicker';
16
- exports.User = 'User';
17
24
  exports.UserGroup = 'UserGroup';
18
25
  exports.Em = 'Em';
19
26
  exports.Strike = 'Strike';
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ForgeElement } from '../types/index';
3
- import type { TBadge, TBarChart, TBox, TButton, TButtonGroup, TCalendar, TCheckbox, TCode, TCodeBlock, TDatePicker, TDonutChart, TErrorMessage, THeading, THelperMessage, THorizontalBarChart, THorizontalStackBarChart, TInline, TLabel, TList, TListItem, TLozenge, TLineChart, TLinkButton, TModal, TModalHeader, TModalBody, TModalFooter, TModalTitle, TModalTransition, TPieChart, TProgressBar, TProgressTracker, TRadio, TRadioGroup, TRange, TSectionMessage, TSectionMessageAction, TSpinner, TStack, TStackBarChart, TTabs, TTab, TTabList, TTabPanel, TTag, TTagGroup, TTimePicker, TForm, TFormHeader, TFormFooter, TFormSection, TTooltip, TTextArea, TTextfield, TText, TToggle, TValidMessage, TLoadingButton, TSelect, TIcon, TEmptyState } from '@atlaskit/forge-react-types';
3
+ import type { TBadge, TBarChart, TBox, TButton, TButtonGroup, TCalendar, TCheckbox, TCode, TCodeBlock, TDatePicker, TDonutChart, TErrorMessage, THeading, THelperMessage, THorizontalBarChart, THorizontalStackBarChart, TInline, TLabel, TList, TListItem, TLozenge, TLineChart, TLinkButton, TModal, TModalHeader, TModalBody, TModalFooter, TModalTitle, TModalTransition, TPieChart, TProgressBar, TProgressTracker, TRadio, TRadioGroup, TRange, TSectionMessage, TSectionMessageAction, TSpinner, TStack, TStackBarChart, TTabs, TTab, TTabList, TTabPanel, TTag, TTagGroup, TTimePicker, TForm, TFormHeader, TFormFooter, TFormSection, TTooltip, TTextArea, TTextfield, TText, TToggle, TValidMessage, TLoadingButton, TSelect, TIcon, TEmptyState, TCommentEditor, TChromelessEditor, TPressable } from '@atlaskit/forge-react-types';
4
4
  /**
5
5
  * A badge is a visual indicator for numeric values such as tallies and scores.
6
6
  *
@@ -368,4 +368,22 @@ export declare const Text: TText<ForgeElement<Record<string, any>>>;
368
368
  */
369
369
  export declare const ValidMessage: TValidMessage<ForgeElement<Record<string, any>>>;
370
370
  export declare const RequiredAsterisk: () => JSX.Element;
371
+ /**
372
+ * The comment editor provides a contained editor UI with a simple toolbar.
373
+ *
374
+ * @see [CommentEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/comment-editor/) in UI Kit documentation for more information
375
+ */
376
+ export declare const CommentEditor: TCommentEditor<ForgeElement<Record<string, any>>>;
377
+ /**
378
+ * The chromeless editor provides the Editor without any of the standard UI features. It's ideal for cases where the integrator wants complete control and responsibility over the editor UI.
379
+ *
380
+ * @see [ChromelessEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/chromeless-editor/) in UI Kit documentation for more information
381
+ */
382
+ export declare const ChromelessEditor: TChromelessEditor<ForgeElement<Record<string, any>>>;
383
+ /**
384
+ * A pressable is a primitive for building custom buttons.
385
+ *
386
+ * @see [Pressable](https://developer.atlassian.com/platform/forge/ui-kit/components/pressable/) in UI Kit documentation for more information
387
+ */
388
+ export declare const Pressable: TPressable<ForgeElement<Record<string, any>>>;
371
389
  //# sourceMappingURL=ui-kit-components.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ui-kit-components.d.ts","sourceRoot":"","sources":["../../src/components/ui-kit-components.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,K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AAS,+CAAqD,CAAC;AAC5E;;;;GAIG;AACH,eAAO,MAAM,UAAU,gDAAuD,CAAC;AAC/E;;;;GAIG;AACH,eAAO,MAAM,MAAM,4CAA+C,CAAC;AACnE;;;;GAIG;AACH,eAAO,MAAM,OAAO,6CAAiD,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,IAAI,0CAA2C,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,YAAY,kDAA2D,CAAC;AAErF,eAAO,MAAM,gBAAgB,QAA0C,WAAW,CAAC"}
1
+ {"version":3,"file":"ui-kit-components.d.ts","sourceRoot":"","sources":["../../src/components/ui-kit-components.ts"],"names":[],"mappings":";AAQA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,KAAK,EACV,MAAM,EACN,SAAS,EACT,IAAI,EACJ,OAAO,EACP,YAAY,EACZ,SAAS,EACT,SAAS,EACT,KAAK,EACL,UAAU,EACV,WAAW,EACX,WAAW,EACX,aAAa,EACb,QAAQ,EACR,cAAc,EACd,mBAAmB,EACnB,wBAAwB,EACxB,OAAO,EACP,MAAM,EACN,KAAK,EACL,SAAS,EACT,QAAQ,EACR,UAAU,EACV,WAAW,EACX,MAAM,EACN,YAAY,EACZ,UAAU,EACV,YAAY,EACZ,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,YAAY,EACZ,gBAAgB,EAChB,MAAM,EACN,WAAW,EACX,MAAM,EACN,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,MAAM,EACN,cAAc,EACd,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,IAAI,EACJ,SAAS,EACT,WAAW,EACX,KAAK,EACL,WAAW,EACX,WAAW,EACX,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,KAAK,EACL,OAAO,EACP,aAAa,EACb,cAAc,EACd,OAAO,EACP,KAAK,EACL,WAAW,EACX,cAAc,EACd,iBAAiB,EACjB,UAAU,EACX,MAAM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AAO,6CAAiD,CAAC;AACtE;;;;GAIG;AACH,eAAO,MAAM,KAAK,2CAA6C,CAAC;AAChE;;;;GAIG;AACH,eAAO,MAAM,aAAa,mDAA6D,CAAC;AACxF;;;;GAIG;AACH,eAAO,MAAM,GAAG,yCAAyC,CAAC;AAC1D;;;;GAIG;AACH,eAAO,MAAM,OAAO,6CAAiD,CAAC;AACtE;;;;GAIG;AACH,eAAO,MAAM,QAAQ,8CAAmD,CAAC;AACzE;;;;GAIG;AACH,eAAO,MAAM,IAAI,0CAA2C,CAAC;AAC7D,eAAO,MAAM,GAAG,yCAAyC,CAAC;AAC1D;;;;GAIG;AACH,eAAO,MAAM,QAAQ,8CAAmD,CAAC;AACzE;;;;GAIG;AACH,eAAO,MAAM,QAAQ,8CAAmD,CAAC;AACzE;;;;GAIG;AACH,eAAO,MAAM,SAAS,+CAAqD,CAAC;AAC5E;;;;GAIG;AACH,eAAO,MAAM,UAAU,gDAAuD,CAAC;AAC/E;;;;GAIG;AACH,eAAO,MAAM,MAAM,4CAA+C,CAAC;AACnE;;;;GAIG;AACH,eAAO,MAAM,OAAO,6CAAiD,CAAC;AAEtE;;;;;GAKG;AACH,eAAO,MAAM,IAAI,0CAA2C,CAAC;AAE7D;;;;;GAKG;AACH,eAAO,MAAM,YAAY,kDAA2D,CAAC;AAErF,eAAO,MAAM,gBAAgB,QAA0C,WAAW,CAAC;AAEnF;;;;GAIG;AACH,eAAO,MAAM,aAAa,mDAA6D,CAAC;AAExF;;;;GAIG;AACH,eAAO,MAAM,gBAAgB,sDAAmE,CAAC;AAEjG;;;;GAIG;AACH,eAAO,MAAM,SAAS,+CAAqD,CAAC"}
@@ -8,7 +8,7 @@
8
8
  // For more information, please see: https://hello.atlassian.net/wiki/x/SI2n0w?atlOrigin=eyJpIjoiYjJhOTliZmZmYWE1NDE5ZjgzOWU1Y2ViZWI3Yjk3NTMiLCJwIjoiYyJ9
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
10
  exports.TabList = exports.Tab = exports.StackBarChart = exports.Stack = exports.Spinner = exports.SectionMessageAction = exports.SectionMessage = exports.Select = exports.Range = exports.RadioGroup = exports.Radio = exports.ProgressTracker = exports.ProgressBar = exports.PieChart = exports.ModalTransition = exports.ModalTitle = exports.ModalHeader = exports.ModalFooter = exports.ModalBody = exports.Modal = exports.Lozenge = exports.LoadingButton = exports.ListItem = exports.List = exports.LinkButton = exports.LineChart = exports.Label = exports.Inline = exports.Icon = exports.HorizontalStackBarChart = exports.HorizontalBarChart = exports.HelperMessage = exports.Heading = exports.FormSection = exports.FormHeader = exports.FormFooter = exports.Form = exports.ErrorMessage = exports.EmptyState = exports.DonutChart = exports.DatePicker = exports.CodeBlock = exports.Code = exports.Checkbox = exports.Calendar = exports.ButtonGroup = exports.Button = exports.Box = exports.BarChart = exports.Badge = void 0;
11
- exports.RequiredAsterisk = exports.ValidMessage = exports.Text = exports.Tooltip = exports.Toggle = exports.TimePicker = exports.Textfield = exports.TextArea = exports.TagGroup = exports.Tag = exports.Tabs = exports.TabPanel = void 0;
11
+ exports.Pressable = exports.ChromelessEditor = exports.CommentEditor = exports.RequiredAsterisk = exports.ValidMessage = exports.Text = exports.Tooltip = exports.Toggle = exports.TimePicker = exports.Textfield = exports.TextArea = exports.TagGroup = exports.Tag = exports.Tabs = exports.TabPanel = void 0;
12
12
  /**
13
13
  * A badge is a visual indicator for numeric values such as tallies and scores.
14
14
  *
@@ -377,3 +377,21 @@ exports.Text = 'Text';
377
377
  exports.ValidMessage = 'ValidMessage';
378
378
  // Additional components without props
379
379
  exports.RequiredAsterisk = 'RequiredAsterisk';
380
+ /**
381
+ * The comment editor provides a contained editor UI with a simple toolbar.
382
+ *
383
+ * @see [CommentEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/comment-editor/) in UI Kit documentation for more information
384
+ */
385
+ exports.CommentEditor = 'CommentEditor';
386
+ /**
387
+ * The chromeless editor provides the Editor without any of the standard UI features. It's ideal for cases where the integrator wants complete control and responsibility over the editor UI.
388
+ *
389
+ * @see [ChromelessEditor](https://developer.atlassian.com/platform/forge/ui-kit/components/chromeless-editor/) in UI Kit documentation for more information
390
+ */
391
+ exports.ChromelessEditor = 'ChromelessEditor';
392
+ /**
393
+ * A pressable is a primitive for building custom buttons.
394
+ *
395
+ * @see [Pressable](https://developer.atlassian.com/platform/forge/ui-kit/components/pressable/) in UI Kit documentation for more information
396
+ */
397
+ exports.Pressable = 'Pressable';
@@ -1,5 +1,5 @@
1
1
  import { type DocNode } from '@atlaskit/adf-schema';
2
- import { type Visitor } from '@atlaskit/adf-utils/types/index';
2
+ import { type Visitor } from '@atlaskit/adf-utils';
3
3
  export declare const replaceUnsupportedDocumentNodes: (document: DocNode, replaceUnsupportedNode: Visitor) => DocNode;
4
4
  export declare const replaceUnsupportedMediaNodes: (document: DocNode, replaceUnsupportedNode: Visitor) => DocNode;
5
5
  //# sourceMappingURL=replaceUnsupportedDocumentNodes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"replaceUnsupportedDocumentNodes.d.ts","sourceRoot":"","sources":["../../../src/components/utils/replaceUnsupportedDocumentNodes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAA0B,KAAK,OAAO,EAAE,MAAM,iCAAiC,CAAC;AAEvF,eAAO,MAAM,+BAA+B,aAAc,OAAO,0BAA0B,OAAO,KAAG,OAiCpG,CAAC;AAEF,eAAO,MAAM,4BAA4B,aAAc,OAAO,0BAA0B,OAAO,KAAG,OAYjG,CAAC"}
1
+ {"version":3,"file":"replaceUnsupportedDocumentNodes.d.ts","sourceRoot":"","sources":["../../../src/components/utils/replaceUnsupportedDocumentNodes.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,sBAAsB,CAAC;AACpD,OAAO,EAA0B,KAAK,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE3E,eAAO,MAAM,+BAA+B,aAAc,OAAO,0BAA0B,OAAO,KAAG,OAiCpG,CAAC;AAEF,eAAO,MAAM,4BAA4B,aAAc,OAAO,0BAA0B,OAAO,KAAG,OAYjG,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forge/react",
3
- "version": "11.2.0-next.3",
3
+ "version": "11.2.0-next.4",
4
4
  "description": "Forge React reconciler",
5
5
  "author": "Atlassian",
6
6
  "license": "SEE LICENSE IN LICENSE.txt",
@@ -22,7 +22,7 @@
22
22
  "@atlaskit/adf-schema": "^48.0.0",
23
23
  "@atlaskit/adf-utils": "^19.19.0",
24
24
  "@atlaskit/forge-react-types": "^0.41.14",
25
- "@forge/bridge": "^4.5.1-next.1",
25
+ "@forge/bridge": "^4.5.1-next.2",
26
26
  "@forge/i18n": "0.0.5-next.1",
27
27
  "@types/react-reconciler": "^0.28.8",
28
28
  "lodash": "^4.17.21",