@ukpc-lib/react 0.13.1-dev.15 → 0.13.1-dev.17

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.
Files changed (23) hide show
  1. package/dist/components/Notification/NotificationList/components/NotitficationItem.d.ts +3 -2
  2. package/dist/components/index.cjs +19 -32
  3. package/dist/components/index.js +2277 -2456
  4. package/dist/{index.esm2017-BqNn5ien.cjs → index.esm2017-Bgt11KSh.cjs} +123 -123
  5. package/dist/{index.esm2017-DVCjm-2j.js → index.esm2017-BznyJPLs.js} +13322 -13145
  6. package/dist/share/index.cjs +1 -1
  7. package/dist/share/index.js +18 -18
  8. package/package.json +1 -1
  9. package/web-components-bundle/access-denied/index.js +2 -2
  10. package/web-components-bundle/base-breadcrumbs/index.js +2 -2
  11. package/web-components-bundle/favorite-menu/index.js +4 -4
  12. package/web-components-bundle/global-menu/index.js +4 -4
  13. package/web-components-bundle/global-topbar/index.js +6 -6
  14. package/web-components-bundle/has-permission/index.js +3 -3
  15. package/web-components-bundle/{index-Cx0zTfOC.js → index-BSe1av43.js} +1 -1
  16. package/web-components-bundle/{index-C4Vqyh6C.js → index-CTw-G1vO.js} +1 -1
  17. package/web-components-bundle/{index-CJLndpJy.js → index-D3z2YCf6.js} +617 -613
  18. package/web-components-bundle/{index-CNiqJEgy.js → index-DalhKpCp.js} +9565 -9539
  19. package/web-components-bundle/page-not-found/index.js +2 -2
  20. package/web-components-bundle/{react-to-web-component-D7SoYMky.js → react-to-web-component-CXwKHjZr.js} +1527 -1535
  21. package/web-components-bundle/{react-toastify.esm-Y1WvK90L.js → react-toastify.esm-CrTD7cpE.js} +1 -1
  22. package/web-components-bundle/toast-config/index.js +2 -2
  23. package/web-components-bundle/toast-config-notification/index.js +2 -2
@@ -1,13 +1,14 @@
1
1
  import { NotificationItemDto } from '../../models/NotiticationDto';
2
2
  import { ColorsType } from '../../../../theme';
3
+ import { default as React } from 'react';
3
4
 
4
5
  type ItemProps = {
5
6
  notification: NotificationItemDto;
6
7
  handleUpdateRead?: (id: number, isRead: boolean) => void;
7
- baseUrl: string;
8
8
  notiPath: string | undefined;
9
9
  markAllAsReadState?: boolean;
10
10
  brandColors?: ColorsType;
11
+ onMark?: (id: number, isRead: boolean, notiPath?: string) => void;
11
12
  };
12
- declare const NotitficationItem: ({ notification, baseUrl, notiPath, markAllAsReadState, brandColors, }: ItemProps) => import("react/jsx-runtime").JSX.Element;
13
+ declare const NotitficationItem: React.MemoExoticComponent<({ notification, notiPath, markAllAsReadState, brandColors, onMark, }: ItemProps) => import("react/jsx-runtime").JSX.Element>;
13
14
  export default NotitficationItem;