@ukpc-lib/react 0.2.9 → 0.2.11
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/components/Notification/NotificationList/components/CustomOpenListContext.d.ts +3 -0
- package/dist/components/Notification/NotificationList/components/query.d.ts +2 -0
- package/dist/components/Notification/models/NotiticationDto.d.ts +6 -0
- package/dist/components/Topbar/icons/country-flags/GermanyIcon.d.ts +4 -0
- package/dist/components/Topbar/icons/country-flags/UnitedKingdomIcon.d.ts +4 -0
- package/dist/components/index.cjs +26 -26
- package/dist/components/index.js +2746 -2526
- package/dist/index.css +1 -1
- package/dist/index.module-1924da8e.cjs +1086 -0
- package/dist/index.module-1e1600c5.js +24705 -0
- package/dist/share/TranslationProvider/index.d.ts +11 -0
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.d.ts +1 -0
- package/dist/share/index.js +44 -42
- package/package.json +5 -1
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/index-178bf236.cjs +884 -0
- package/web-components-bundle/index-1b59168e.js +19857 -0
- package/dist/index.module-7d653d97.js +0 -22703
- package/dist/index.module-ff8a71df.cjs +0 -1086
- package/web-components-bundle/index-11fd22c1.cjs +0 -884
- package/web-components-bundle/index-51fef28a.js +0 -17668
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { FC, PropsWithChildren } from 'react';
|
|
2
|
+
import { AllNotificationType } from '../../models/NotiticationDto';
|
|
2
3
|
type CustomProps = {
|
|
3
4
|
isOpen: boolean;
|
|
4
5
|
toggleOpen: () => void;
|
|
5
6
|
setShowModalFalse: () => void;
|
|
7
|
+
notidata: AllNotificationType;
|
|
8
|
+
setNotiData: React.Dispatch<React.SetStateAction<AllNotificationType>>;
|
|
6
9
|
};
|
|
7
10
|
export declare const CustomOpenList: import("react").Context<CustomProps>;
|
|
8
11
|
export declare const CustomOpenListProvider: FC<PropsWithChildren>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
export interface NotificationItemProps {
|
|
2
3
|
notidata: NotificationItemDto[];
|
|
3
4
|
handleUpdateReadAll?: () => void;
|
|
@@ -40,4 +41,9 @@ export type AllNotificationType = {
|
|
|
40
41
|
all: NotificationType;
|
|
41
42
|
unread: NotificationType;
|
|
42
43
|
};
|
|
44
|
+
export type NotiDataType = {
|
|
45
|
+
baseUrl: string;
|
|
46
|
+
notiPath: string | undefined;
|
|
47
|
+
setNotiData: React.Dispatch<React.SetStateAction<AllNotificationType>>;
|
|
48
|
+
};
|
|
43
49
|
export {};
|