@forge/react 11.13.0-next.1 → 11.13.0-next.2
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
|
@@ -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';
|