@omniumretail/component-library 1.2.92 → 1.2.93

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.
@@ -16,8 +16,7 @@ export interface BellNotification {
16
16
  export interface BellNotificationsProps {
17
17
  notifications: BellNotification[];
18
18
  onFilterChange: (filter: 'all' | 'unread') => void;
19
- onNotificationClick: (id: string, url: string) => void;
20
- handleMarkAllAsRead: () => void | Promise<void>;
19
+ onNotificationClick: (id: string, url: string) => Promise<void> | void;
20
+ handleMarkAllAsRead: () => Promise<void> | void;
21
21
  }
22
22
  export declare const BellNotifications: ({ notifications, onFilterChange, onNotificationClick, handleMarkAllAsRead }: BellNotificationsProps) => import("react/jsx-runtime").JSX.Element;
23
- export default BellNotifications;
@@ -47,8 +47,8 @@ export interface Footer2Props {
47
47
  onBackClick?: () => void;
48
48
  notifications: BellNotification[];
49
49
  onFilterChange: (filter: 'all' | 'unread') => void;
50
- onNotificationClick: (id: string, url: string) => void;
51
- handleMarkAllAsRead: () => void;
50
+ onNotificationClick: (id: string, url: string) => Promise<void> | void;
51
+ handleMarkAllAsRead: () => Promise<void> | void;
52
52
  customActions?: Action[];
53
53
  actions?: ActionConfig[];
54
54
  footerName: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniumretail/component-library",
3
- "version": "1.2.92",
3
+ "version": "1.2.93",
4
4
  "private": false,
5
5
  "main": "dist/component-library.umd.js",
6
6
  "module": "dist/component-library.es.js",