karsten-design-system 1.2.24 → 1.2.26
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.ts +1 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/stories/components/rightSidebar.d.ts +11 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stories/components/rightSidebar.d.ts +11 -0
- package/package.json +1 -1
- package/dist/stories/components/sideBarRight.d.ts +0 -12
- package/dist/types/stories/components/sideBarRight.d.ts +0 -12
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type RightSidebarProps = {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
footer?: ReactNode;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function RightSidebar({ isOpen, onClose, children, footer, title, description, }: RightSidebarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export {};
|
package/dist/types/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './stories/components/multiselect';
|
|
|
27
27
|
export * from './stories/components/notificationsSidebar';
|
|
28
28
|
export * from './stories/components/paginator';
|
|
29
29
|
export * from './stories/components/radioButton';
|
|
30
|
+
export * from './stories/components/rightSidebar';
|
|
30
31
|
export * from './stories/components/select';
|
|
31
32
|
export * from './stories/components/sidebar';
|
|
32
33
|
export * from './stories/components/skeleton';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
type RightSidebarProps = {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose?: () => void;
|
|
5
|
+
children?: ReactNode;
|
|
6
|
+
footer?: ReactNode;
|
|
7
|
+
title?: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function RightSidebar({ isOpen, onClose, children, footer, title, description, }: RightSidebarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type SidebarRightProps = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
footer?: ReactNode;
|
|
9
|
-
width?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function SidebarRight({ isOpen, onClose, title, description, children, footer, width, }: SidebarRightProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
type SidebarRightProps = {
|
|
3
|
-
isOpen: boolean;
|
|
4
|
-
onClose?: () => void;
|
|
5
|
-
title?: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
footer?: ReactNode;
|
|
9
|
-
width?: string;
|
|
10
|
-
};
|
|
11
|
-
export declare function SidebarRight({ isOpen, onClose, title, description, children, footer, width, }: SidebarRightProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
-
export {};
|