stp-ui-kit 0.0.120 → 0.0.122

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.
@@ -12,4 +12,6 @@ export interface PageProps extends PropsWithChildren<Omit<HTMLAttributes<HTMLDiv
12
12
  isStretched?: TopBarProps["isStretched"];
13
13
  bottomBar?: ReactNode;
14
14
  }
15
- export declare const Page: ({ children, className, title, extra, message, type, onBack, sections, activeTab, onTabSelect, isStretched, bottomBar, ...rest }: PageProps) => import("react/jsx-runtime").JSX.Element;
15
+ export declare const Page: (({ children, className, title, extra, message, type, onBack, sections, activeTab, onTabSelect, isStretched, bottomBar: bottomBarProp, ...rest }: PageProps) => import("react/jsx-runtime").JSX.Element) & {
16
+ BottomBar: ({ children, className, }: PropsWithChildren<import('./PageBottomBar').PageBottomBarProps>) => import("react/jsx-runtime").JSX.Element | null;
17
+ };
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface PageBottomBarProps {
3
+ className?: string;
4
+ }
5
+ export declare const PageBottomBar: ({ children, className, }: PropsWithChildren<PageBottomBarProps>) => import("react/jsx-runtime").JSX.Element | null;
@@ -0,0 +1,7 @@
1
+ import { ReactNode } from 'react';
2
+ interface PageContextValue {
3
+ setBottomBar: (content: ReactNode, className?: string) => void;
4
+ }
5
+ export declare const PageContext: import('react').Context<PageContextValue | null>;
6
+ export declare const usePageContext: () => PageContextValue;
7
+ export {};