@clarlabs/ui 0.1.19 → 0.1.20
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 +23 -0
- package/dist/index.js +19 -19
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2909 -2828
- 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 {
|