@exegia/corpora-ui 0.16.0 → 0.17.0
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-lib/components/blocks/shell/shell-layout.d.ts +1 -1
- package/dist-lib/components/blocks/shell/type.d.ts +1 -0
- package/dist-lib/components/motion/animated-sidebar.d.ts +0 -3
- package/dist-lib/index.js +869 -877
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/blocks/shell/__tests__/shell-layout.test.tsx +3 -3
- package/src/components/blocks/shell/shell-layout.tsx +27 -39
- package/src/components/blocks/shell/type.ts +1 -0
- package/src/components/motion/animated-sidebar.tsx +21 -46
- package/src/components/ui/button.tsx +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ShellLayoutProps } from './type';
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
export declare function ShellLayout({ children, variant, panels, className, defaultOpen, ...panelControlProps }: ShellLayoutProps): React.ReactElement;
|
|
3
|
+
export declare function ShellLayout({ children, variant, panels, className, header, defaultOpen, ...panelControlProps }: ShellLayoutProps): React.ReactElement;
|
|
@@ -68,6 +68,7 @@ export interface ShellLayoutProps extends ShellPanelControlProps {
|
|
|
68
68
|
/** Content for the shell's panels, keyed by the side. The shell renders
|
|
69
69
|
* the `left` rail and the `right` drawer; other sides are reserved. */
|
|
70
70
|
panels?: TPanelMap;
|
|
71
|
+
header?: ReactNode;
|
|
71
72
|
className?: string;
|
|
72
73
|
variant?: "web" | "desktop";
|
|
73
74
|
}
|
|
@@ -58,9 +58,6 @@ export interface AnimatedSidebarCloseProps extends ButtonHTMLAttributes<HTMLButt
|
|
|
58
58
|
side?: SidebarSide;
|
|
59
59
|
}
|
|
60
60
|
export declare const AnimatedSidebarClose: import('react').ForwardRefExoticComponent<AnimatedSidebarCloseProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
61
|
-
export interface AnimatedSidebarRailProps extends ButtonHTMLAttributes<HTMLButtonElement> {
|
|
62
|
-
}
|
|
63
|
-
export declare const AnimatedSidebarRail: import('react').ForwardRefExoticComponent<AnimatedSidebarRailProps & import('react').RefAttributes<HTMLButtonElement>>;
|
|
64
61
|
export interface AnimatedSidebarInsetProps extends HTMLMotionProps<"main"> {
|
|
65
62
|
}
|
|
66
63
|
export declare const AnimatedSidebarInset: import('react').ForwardRefExoticComponent<Omit<AnimatedSidebarInsetProps, "ref"> & import('react').RefAttributes<HTMLElement>>;
|