@clarlabs/ui 0.1.19 → 0.1.28
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 +24 -1
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2828 -2744
- package/dist/index.mjs.map +1 -1
- package/dist/ui.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -984,6 +984,29 @@ export declare interface NavItem {
|
|
|
984
984
|
|
|
985
985
|
export declare type NavOrientation = 'vertical' | 'horizontal';
|
|
986
986
|
|
|
987
|
+
declare interface Notification_2 {
|
|
988
|
+
id: string;
|
|
989
|
+
type: NotificationType;
|
|
990
|
+
title: string;
|
|
991
|
+
message: string;
|
|
992
|
+
timestamp?: Date;
|
|
993
|
+
read?: boolean;
|
|
994
|
+
}
|
|
995
|
+
export { Notification_2 as Notification }
|
|
996
|
+
|
|
997
|
+
export declare function NotificationCenter({ notifications, onNotificationClick, onNotificationDismiss, onClearAll, maxHeight, className }: NotificationCenterProps): default_2.JSX.Element;
|
|
998
|
+
|
|
999
|
+
export declare interface NotificationCenterProps {
|
|
1000
|
+
notifications: Notification_2[];
|
|
1001
|
+
onNotificationClick?: (id: string) => void;
|
|
1002
|
+
onNotificationDismiss?: (id: string) => void;
|
|
1003
|
+
onClearAll?: () => void;
|
|
1004
|
+
maxHeight?: string;
|
|
1005
|
+
className?: string;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
export declare type NotificationType = 'info' | 'success' | 'warning' | 'error';
|
|
1009
|
+
|
|
987
1010
|
export declare function Pagination({ currentPage, totalPages, onPageChange, showFirstLast, siblingCount, className }: PaginationProps): default_2.JSX.Element;
|
|
988
1011
|
|
|
989
1012
|
export declare interface PaginationProps {
|
|
@@ -1166,7 +1189,7 @@ export declare type SelectSize = 'sm' | 'md' | 'lg';
|
|
|
1166
1189
|
|
|
1167
1190
|
export declare type SelectVariant = 'default' | 'error' | 'success';
|
|
1168
1191
|
|
|
1169
|
-
export declare function SidePanel({ isOpen, onClose, title, children, footer, position, size, closeOnOverlayClick, showCloseButton, className }: SidePanelProps): default_2.
|
|
1192
|
+
export declare function SidePanel({ isOpen, onClose, title, children, footer, position, size, closeOnOverlayClick, showCloseButton, className }: SidePanelProps): default_2.ReactPortal | null;
|
|
1170
1193
|
|
|
1171
1194
|
export declare type SidePanelPosition = 'left' | 'right';
|
|
1172
1195
|
|