prometeo-design-system 4.7.5 → 4.7.7
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.
|
@@ -145,6 +145,9 @@ export type PyrionNavigationControls<TNotificationMetadata = unknown> = {
|
|
|
145
145
|
setNotificationsLoading?: (loading: boolean, type?: NotificationLoaderType) => void;
|
|
146
146
|
setNotificationsError?: (hasError: boolean, children?: React.ReactNode | (() => React.ReactNode)) => void;
|
|
147
147
|
subscribeToNotificationsScroll?: (callback: (data: ScrollTargetData) => void, config?: ScrollTargetConfig) => () => void;
|
|
148
|
+
userCardExpand?: () => void;
|
|
149
|
+
userCardCollapse?: () => void;
|
|
150
|
+
userCardToggle?: () => void;
|
|
148
151
|
};
|
|
149
152
|
export declare const usePyrionLayout: <TNotificationMetadata = unknown>() => PyrionNavigationControls<TNotificationMetadata>;
|
|
150
153
|
declare const PyrionLayout: <TAppMetadata = unknown, TNotificationMetadata = unknown>({ children, helpSection, state, links: navlinks, onLinkClick, onNavigate, onLogoutClick, actions, activeActionId, onActionClick, tabsProps, currentSystemId, onSessionClick, onSystemLogoClick, onProfileClick, ...props }: PyrionLayoutProps<TAppMetadata, TNotificationMetadata>) => import("react/jsx-runtime").JSX.Element;
|