@clarlabs/ui 0.1.18 → 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 CHANGED
@@ -979,10 +979,34 @@ export declare interface NavItem {
979
979
  disabled?: boolean;
980
980
  badge?: default_2.ReactNode;
981
981
  megaMenu?: boolean;
982
+ selected?: boolean;
982
983
  }
983
984
 
984
985
  export declare type NavOrientation = 'vertical' | 'horizontal';
985
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
+
986
1010
  export declare function Pagination({ currentPage, totalPages, onPageChange, showFirstLast, siblingCount, className }: PaginationProps): default_2.JSX.Element;
987
1011
 
988
1012
  export declare interface PaginationProps {