@helpwave/hightide 0.12.3 → 0.12.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/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
 
@@ -1245,9 +1245,9 @@ interface SelectButtonProps<T = string> extends ComponentPropsWithoutRef<'div'>
1245
1245
  declare const SelectButton: react.ForwardRefExoticComponent<SelectButtonProps<unknown> & react.RefAttributes<HTMLDivElement>>;
1246
1246
 
1247
1247
  type UseFocusTrapProps = {
1248
- container: RefObject<HTMLElement>;
1248
+ container: RefObject<HTMLElement | null>;
1249
1249
  active: boolean;
1250
- initialFocus?: RefObject<HTMLElement>;
1250
+ initialFocus?: RefObject<HTMLElement | null>;
1251
1251
  };
1252
1252
  declare const useFocusTrap: ({ container, active, initialFocus, }: UseFocusTrapProps) => void;
1253
1253
 
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
 
@@ -1245,9 +1245,9 @@ interface SelectButtonProps<T = string> extends ComponentPropsWithoutRef<'div'>
1245
1245
  declare const SelectButton: react.ForwardRefExoticComponent<SelectButtonProps<unknown> & react.RefAttributes<HTMLDivElement>>;
1246
1246
 
1247
1247
  type UseFocusTrapProps = {
1248
- container: RefObject<HTMLElement>;
1248
+ container: RefObject<HTMLElement | null>;
1249
1249
  active: boolean;
1250
- initialFocus?: RefObject<HTMLElement>;
1250
+ initialFocus?: RefObject<HTMLElement | null>;
1251
1251
  };
1252
1252
  declare const useFocusTrap: ({ container, active, initialFocus, }: UseFocusTrapProps) => void;
1253
1253