@middag-io/react 0.15.3 → 0.15.5

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.
@@ -1 +1 @@
1
- {"version":3,"file":"SidebarNav.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/SidebarNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAqD,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6sB7F,wBAAgB,UAAU,IAAI,YAAY,CAWzC"}
1
+ {"version":3,"file":"SidebarNav.d.ts","sourceRoot":"","sources":["../../../../src/base/shell/partials/SidebarNav.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAIH,OAAO,EAAqD,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AA6sB7F,wBAAgB,UAAU,IAAI,YAAY,CAoBzC"}
@@ -7911,8 +7911,13 @@ function up({ payload: e }) {
7911
7911
  });
7912
7912
  }
7913
7913
  function dp() {
7914
- let { props: e } = Bn(), { state: t } = Df(), n = e.navigation;
7915
- return W(t === "collapsed" ? up : lp, { payload: n });
7914
+ let { props: e } = Bn(), { state: t } = Df(), n = e.navigation, r = t === "collapsed", i = {
7915
+ tree: n?.tree ?? [],
7916
+ footer: n?.footer ?? [],
7917
+ activeKey: n?.activeKey ?? "",
7918
+ drilldownStack: n?.drilldownStack
7919
+ };
7920
+ return W(r ? up : lp, { payload: i });
7916
7921
  }
7917
7922
  //#endregion
7918
7923
  //#region src/base/shell/ProductShell.tsx
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@middag-io/react",
3
- "version": "0.15.3",
3
+ "version": "0.15.5",
4
4
  "type": "module",
5
5
  "description": "MIDDAG shared React UI library for Moodle, WordPress and other Inertia hosts",
6
6
  "repository": {