@forge/react 11.13.0-next.1 → 11.13.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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @forge/react
|
|
2
2
|
|
|
3
|
+
## 11.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fdb2861: Export Global Component prop types
|
|
8
|
+
- 16a4b01: Updated SDK to throw type error
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- c537777: Updated ExpandMenuItem to ExpandableMenuItem
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
- Updated dependencies [f513085]
|
|
15
|
+
- Updated dependencies [16a4b01]
|
|
16
|
+
- @forge/bridge@5.14.0
|
|
17
|
+
|
|
18
|
+
## 11.13.0-next.2
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- c537777: Updated ExpandMenuItem to ExpandableMenuItem
|
|
23
|
+
|
|
3
24
|
## 11.13.0-next.1
|
|
4
25
|
|
|
5
26
|
### Minor Changes
|
|
@@ -121,7 +121,7 @@ describe('Global component reconciliation', () => {
|
|
|
121
121
|
beforeAll(async () => {
|
|
122
122
|
bridgeCalls = (0, testUtils_1.setupBridge)();
|
|
123
123
|
const App = () => {
|
|
124
|
-
return ((0, jsx_runtime_1.jsxs)(components_1.Global, { children: [(0, jsx_runtime_1.jsxs)(components_1.Global.Sidebar, { forYouUrl: "for-you-test", children: [(0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: "Link item 1", href: "1" }), (0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: "Link item 2", href: "2" }), (0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: "Link item 3", href: "3" }), (0, jsx_runtime_1.jsxs)(components_1.Global.
|
|
124
|
+
return ((0, jsx_runtime_1.jsxs)(components_1.Global, { children: [(0, jsx_runtime_1.jsxs)(components_1.Global.Sidebar, { forYouUrl: "for-you-test", children: [(0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: "Link item 1", href: "1" }), (0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: "Link item 2", href: "2" }), (0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: "Link item 3", href: "3" }), (0, jsx_runtime_1.jsxs)(components_1.Global.ExpandableMenuItem, { label: `Campaign 49`, children: [(0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: `Campaign 49 Home`, href: `campaigns/49` }), (0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: `Feedback for Campaign 49`, href: `campaigns/49/feedback` })] }, 49), (0, jsx_runtime_1.jsxs)(components_1.Global.ExpandableMenuItem, { label: `Campaign 23`, children: [(0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: `Campaign 23 Home`, href: `campaigns/23` }), (0, jsx_runtime_1.jsx)(components_1.Global.LinkMenuItem, { label: `Feedback for Campaign 23`, href: `campaigns/23/feedback` })] }, 23)] }), (0, jsx_runtime_1.jsx)(components_1.Global.Main, { children: (0, jsx_runtime_1.jsx)(components_1.Text, { children: "hello" }) })] }));
|
|
125
125
|
};
|
|
126
126
|
resetKeyCount();
|
|
127
127
|
await reconcilerTestRenderer_1.default.create((0, jsx_runtime_1.jsx)(App, {}));
|
|
@@ -5,6 +5,6 @@ export declare const Global: {
|
|
|
5
5
|
Main: TGlobalMain<ForgeElement<Record<string, any>>>;
|
|
6
6
|
Sidebar: TGlobalSidebar<ForgeElement<Record<string, any>>>;
|
|
7
7
|
LinkMenuItem: TGlobalLinkMenuItem<ForgeElement<Record<string, any>>>;
|
|
8
|
-
|
|
8
|
+
ExpandableMenuItem: TGlobalExpandableMenuItem<ForgeElement<Record<string, any>>>;
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -10,4 +10,4 @@ exports.Global = Global;
|
|
|
10
10
|
exports.Global.Main = 'Global.Main';
|
|
11
11
|
exports.Global.Sidebar = 'Global.Sidebar';
|
|
12
12
|
exports.Global.LinkMenuItem = 'Global.LinkMenuItem';
|
|
13
|
-
exports.Global.
|
|
13
|
+
exports.Global.ExpandableMenuItem = 'Global.ExpandableMenuItem';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forge/react",
|
|
3
|
-
"version": "11.13.0
|
|
3
|
+
"version": "11.13.0",
|
|
4
4
|
"description": "Forge React reconciler",
|
|
5
5
|
"author": "Atlassian",
|
|
6
6
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@atlaskit/adf-schema": "^48.0.0",
|
|
33
33
|
"@atlaskit/adf-utils": "^19.19.0",
|
|
34
34
|
"@atlaskit/forge-react-types": "^0.62.0",
|
|
35
|
-
"@forge/bridge": "^5.14.0
|
|
35
|
+
"@forge/bridge": "^5.14.0",
|
|
36
36
|
"@forge/egress": "^2.3.1",
|
|
37
37
|
"@forge/i18n": "0.0.7",
|
|
38
38
|
"@types/react": "^18.2.64",
|