@helpwave/hightide 0.12.3 → 0.12.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.
- package/dist/index.d.mts +11 -9
- package/dist/index.d.ts +11 -9
- package/dist/index.js +721 -689
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +91 -59
- package/dist/index.mjs.map +1 -1
- package/dist/style/globals.css +20 -3
- package/dist/style/uncompiled/theme/components/app-page.css +2 -2
- package/dist/style/uncompiled/theme/components/vertical-navigation.css +5 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -899,26 +899,28 @@ interface AppPageSidebarWithNavigationProps extends AppSidebarProps {
|
|
|
899
899
|
footer?: ReactNode;
|
|
900
900
|
navigationItems?: NavigationItemData[];
|
|
901
901
|
contentOverwrite?: ReactNode;
|
|
902
|
+
initialActiveId?: string;
|
|
902
903
|
}
|
|
903
|
-
declare const AppPageSidebarWithNavigation: ({ header, footer, navigationItems, contentOverwrite, ...props }: AppPageSidebarWithNavigationProps) => react_jsx_runtime.JSX.Element;
|
|
904
|
+
declare const AppPageSidebarWithNavigation: ({ header, footer, navigationItems, contentOverwrite, initialActiveId, ...props }: AppPageSidebarWithNavigationProps) => react_jsx_runtime.JSX.Element;
|
|
904
905
|
interface AppPageNavigationItem {
|
|
905
906
|
id: string;
|
|
906
907
|
label: ReactNode;
|
|
907
908
|
icon?: ReactNode;
|
|
908
|
-
isActive?: boolean;
|
|
909
909
|
url?: string;
|
|
910
910
|
external?: boolean;
|
|
911
911
|
items?: AppPageNavigationItem[];
|
|
912
912
|
}
|
|
913
913
|
interface AppPageSidebarProps {
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
914
|
+
activeUrl?: string;
|
|
915
|
+
initialActiveId?: string;
|
|
916
|
+
header?: ReactNode;
|
|
917
|
+
items?: AppPageNavigationItem[];
|
|
918
|
+
contentOverwrite?: ReactNode;
|
|
919
|
+
footer?: ReactNode;
|
|
918
920
|
}
|
|
919
921
|
interface AppPageProps extends HTMLAttributes<HTMLDivElement> {
|
|
920
922
|
headerActions?: ReactNode[];
|
|
921
|
-
sidebarProps:
|
|
923
|
+
sidebarProps: AppPageSidebarProps;
|
|
922
924
|
}
|
|
923
925
|
declare const AppPage: ({ children, headerActions, sidebarProps, ...props }: AppPageProps) => react_jsx_runtime.JSX.Element;
|
|
924
926
|
|
|
@@ -1245,9 +1247,9 @@ interface SelectButtonProps<T = string> extends ComponentPropsWithoutRef<'div'>
|
|
|
1245
1247
|
declare const SelectButton: react.ForwardRefExoticComponent<SelectButtonProps<unknown> & react.RefAttributes<HTMLDivElement>>;
|
|
1246
1248
|
|
|
1247
1249
|
type UseFocusTrapProps = {
|
|
1248
|
-
container: RefObject<HTMLElement>;
|
|
1250
|
+
container: RefObject<HTMLElement | null>;
|
|
1249
1251
|
active: boolean;
|
|
1250
|
-
initialFocus?: RefObject<HTMLElement>;
|
|
1252
|
+
initialFocus?: RefObject<HTMLElement | null>;
|
|
1251
1253
|
};
|
|
1252
1254
|
declare const useFocusTrap: ({ container, active, initialFocus, }: UseFocusTrapProps) => void;
|
|
1253
1255
|
|
package/dist/index.d.ts
CHANGED
|
@@ -899,26 +899,28 @@ interface AppPageSidebarWithNavigationProps extends AppSidebarProps {
|
|
|
899
899
|
footer?: ReactNode;
|
|
900
900
|
navigationItems?: NavigationItemData[];
|
|
901
901
|
contentOverwrite?: ReactNode;
|
|
902
|
+
initialActiveId?: string;
|
|
902
903
|
}
|
|
903
|
-
declare const AppPageSidebarWithNavigation: ({ header, footer, navigationItems, contentOverwrite, ...props }: AppPageSidebarWithNavigationProps) => react_jsx_runtime.JSX.Element;
|
|
904
|
+
declare const AppPageSidebarWithNavigation: ({ header, footer, navigationItems, contentOverwrite, initialActiveId, ...props }: AppPageSidebarWithNavigationProps) => react_jsx_runtime.JSX.Element;
|
|
904
905
|
interface AppPageNavigationItem {
|
|
905
906
|
id: string;
|
|
906
907
|
label: ReactNode;
|
|
907
908
|
icon?: ReactNode;
|
|
908
|
-
isActive?: boolean;
|
|
909
909
|
url?: string;
|
|
910
910
|
external?: boolean;
|
|
911
911
|
items?: AppPageNavigationItem[];
|
|
912
912
|
}
|
|
913
913
|
interface AppPageSidebarProps {
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
914
|
+
activeUrl?: string;
|
|
915
|
+
initialActiveId?: string;
|
|
916
|
+
header?: ReactNode;
|
|
917
|
+
items?: AppPageNavigationItem[];
|
|
918
|
+
contentOverwrite?: ReactNode;
|
|
919
|
+
footer?: ReactNode;
|
|
918
920
|
}
|
|
919
921
|
interface AppPageProps extends HTMLAttributes<HTMLDivElement> {
|
|
920
922
|
headerActions?: ReactNode[];
|
|
921
|
-
sidebarProps:
|
|
923
|
+
sidebarProps: AppPageSidebarProps;
|
|
922
924
|
}
|
|
923
925
|
declare const AppPage: ({ children, headerActions, sidebarProps, ...props }: AppPageProps) => react_jsx_runtime.JSX.Element;
|
|
924
926
|
|
|
@@ -1245,9 +1247,9 @@ interface SelectButtonProps<T = string> extends ComponentPropsWithoutRef<'div'>
|
|
|
1245
1247
|
declare const SelectButton: react.ForwardRefExoticComponent<SelectButtonProps<unknown> & react.RefAttributes<HTMLDivElement>>;
|
|
1246
1248
|
|
|
1247
1249
|
type UseFocusTrapProps = {
|
|
1248
|
-
container: RefObject<HTMLElement>;
|
|
1250
|
+
container: RefObject<HTMLElement | null>;
|
|
1249
1251
|
active: boolean;
|
|
1250
|
-
initialFocus?: RefObject<HTMLElement>;
|
|
1252
|
+
initialFocus?: RefObject<HTMLElement | null>;
|
|
1251
1253
|
};
|
|
1252
1254
|
declare const useFocusTrap: ({ container, active, initialFocus, }: UseFocusTrapProps) => void;
|
|
1253
1255
|
|