@helpwave/hightide 0.12.1 → 0.12.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/dist/index.d.mts CHANGED
@@ -911,14 +911,14 @@ interface AppPageNavigationItem {
911
911
  items?: AppPageNavigationItem[];
912
912
  }
913
913
  interface AppPageSidebarProps {
914
- header: ReactNode;
915
- items: AppPageNavigationItem[];
916
- content: ReactNode;
917
- footer: ReactNode;
914
+ header?: ReactNode;
915
+ items?: AppPageNavigationItem[];
916
+ contentOverwrite?: ReactNode;
917
+ footer?: ReactNode;
918
918
  }
919
919
  interface AppPageProps extends HTMLAttributes<HTMLDivElement> {
920
920
  headerActions?: ReactNode[];
921
- sidebarProps: AppPageSidebarWithNavigationProps;
921
+ sidebarProps: AppPageSidebarProps;
922
922
  }
923
923
  declare const AppPage: ({ children, headerActions, sidebarProps, ...props }: AppPageProps) => react_jsx_runtime.JSX.Element;
924
924
 
package/dist/index.d.ts CHANGED
@@ -911,14 +911,14 @@ interface AppPageNavigationItem {
911
911
  items?: AppPageNavigationItem[];
912
912
  }
913
913
  interface AppPageSidebarProps {
914
- header: ReactNode;
915
- items: AppPageNavigationItem[];
916
- content: ReactNode;
917
- footer: ReactNode;
914
+ header?: ReactNode;
915
+ items?: AppPageNavigationItem[];
916
+ contentOverwrite?: ReactNode;
917
+ footer?: ReactNode;
918
918
  }
919
919
  interface AppPageProps extends HTMLAttributes<HTMLDivElement> {
920
920
  headerActions?: ReactNode[];
921
- sidebarProps: AppPageSidebarWithNavigationProps;
921
+ sidebarProps: AppPageSidebarProps;
922
922
  }
923
923
  declare const AppPage: ({ children, headerActions, sidebarProps, ...props }: AppPageProps) => react_jsx_runtime.JSX.Element;
924
924
 
package/dist/index.js CHANGED
@@ -15014,8 +15014,8 @@ var AppPage = ({ children, headerActions, sidebarProps, ...props }) => {
15014
15014
  })) ?? void 0;
15015
15015
  }, []);
15016
15016
  const navigationItems = (0, import_react61.useMemo)(() => toNavigationItems(
15017
- sidebarProps.navigationItems
15018
- ), [sidebarProps.navigationItems, toNavigationItems]);
15017
+ sidebarProps.items
15018
+ ), [sidebarProps.items, toNavigationItems]);
15019
15019
  return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
15020
15020
  "div",
15021
15021
  {