@peacock-ui/core 3.0.0 → 3.0.1
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/components/data-display/PeacockCarousel.d.ts +14 -0
- package/dist/components/navigation/PeacockBreadcrumb.d.ts +12 -0
- package/dist/components/overlay/PeacockDrawer.d.ts +10 -0
- package/dist/index.d.ts +3 -0
- package/dist/peacock-ui.js +8475 -8213
- package/dist/peacock-ui.umd.cjs +132 -122
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface CarouselItem {
|
|
3
|
+
id: string | number;
|
|
4
|
+
content: React.ReactNode;
|
|
5
|
+
image?: string;
|
|
6
|
+
title?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface PeacockCarouselProps {
|
|
9
|
+
items: CarouselItem[];
|
|
10
|
+
className?: string;
|
|
11
|
+
autoPlay?: boolean;
|
|
12
|
+
interval?: number;
|
|
13
|
+
}
|
|
14
|
+
export declare const PeacockCarousel: React.FC<PeacockCarouselProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface BreadcrumbItem {
|
|
3
|
+
label: string;
|
|
4
|
+
href?: string;
|
|
5
|
+
icon?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
export interface PeacockBreadcrumbProps {
|
|
8
|
+
items: BreadcrumbItem[];
|
|
9
|
+
className?: string;
|
|
10
|
+
separator?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
export declare const PeacockBreadcrumb: React.FC<PeacockBreadcrumbProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface PeacockDrawerProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
position?: 'left' | 'right';
|
|
7
|
+
className?: string;
|
|
8
|
+
title?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const PeacockDrawer: React.FC<PeacockDrawerProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -39,4 +39,7 @@ export * from './components/overlay/PeacockPopover';
|
|
|
39
39
|
export * from './components/overlay/PeacockAlertDialog';
|
|
40
40
|
export * from './components/overlay/PeacockContextMenu';
|
|
41
41
|
export * from './components/overlay/PeacockHoverCard';
|
|
42
|
+
export * from './components/navigation/PeacockBreadcrumb';
|
|
43
|
+
export * from './components/data-display/PeacockCarousel';
|
|
44
|
+
export * from './components/overlay/PeacockDrawer';
|
|
42
45
|
export * from './hooks/utils';
|