@ukpc-lib/react 0.2.9 → 0.2.12

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 (33) hide show
  1. package/dist/Colors-4ad88021.js +29 -0
  2. package/dist/Colors-51ce6654.cjs +1 -0
  3. package/dist/components/Notification/NotificationList/components/CustomOpenListContext.d.ts +3 -0
  4. package/dist/components/Notification/NotificationList/components/query.d.ts +2 -0
  5. package/dist/components/Notification/models/NotiticationDto.d.ts +6 -0
  6. package/dist/components/Topbar/icons/country-flags/GermanyIcon.d.ts +4 -0
  7. package/dist/components/Topbar/icons/country-flags/UnitedKingdomIcon.d.ts +4 -0
  8. package/dist/components/index.cjs +26 -26
  9. package/dist/components/index.js +2748 -2527
  10. package/dist/index.css +1 -1
  11. package/dist/index.module-91685508.js +24670 -0
  12. package/dist/index.module-dcaddd18.cjs +1086 -0
  13. package/dist/share/TranslationProvider/index.d.ts +11 -0
  14. package/dist/share/index.cjs +1 -1
  15. package/dist/share/index.d.ts +1 -0
  16. package/dist/share/index.js +44 -42
  17. package/dist/theme/index.cjs +1 -0
  18. package/dist/theme/index.js +577 -0
  19. package/package.json +12 -2
  20. package/web-components-bundle/global-menu/index.cjs +2 -2
  21. package/web-components-bundle/global-menu/index.js +2 -2
  22. package/web-components-bundle/global-topbar/index.cjs +1 -1
  23. package/web-components-bundle/global-topbar/index.js +2 -2
  24. package/web-components-bundle/has-permission/index.cjs +1 -1
  25. package/web-components-bundle/has-permission/index.js +2 -2
  26. package/web-components-bundle/index-0c76b789.cjs +884 -0
  27. package/web-components-bundle/{index-75324537.js → index-200424a6.js} +18 -28
  28. package/web-components-bundle/{index-374bf205.cjs → index-661a7bdb.cjs} +1 -1
  29. package/web-components-bundle/index-fb164b1a.js +19854 -0
  30. package/dist/index.module-7d653d97.js +0 -22703
  31. package/dist/index.module-ff8a71df.cjs +0 -1086
  32. package/web-components-bundle/index-11fd22c1.cjs +0 -884
  33. package/web-components-bundle/index-51fef28a.js +0 -17668
@@ -0,0 +1,29 @@
1
+ const r = {
2
+ primary100: "#F0F6E1",
3
+ primary200: "#E5F5ED",
4
+ primary300: "#93D500",
5
+ primary400: "#009D4F",
6
+ primary500: "#2E7D32",
7
+ secondary: "#CC0066",
8
+ secondaryDark: "#AE1857",
9
+ textPrimary: "#292929",
10
+ white: "#FFFFFF",
11
+ grey100: "#FAFAFA",
12
+ grey200: "#EEEEEE",
13
+ grey300: "#DDDDDD",
14
+ grey400: "#C5C5C5",
15
+ grey500: "#BFBFBF",
16
+ grey600: "#85858A",
17
+ success: "#009D4F",
18
+ successLight: "#009D4F10",
19
+ warning: "#FFB600",
20
+ warningLight: "#FFB60010",
21
+ danger: "#E01B00",
22
+ dangerLight: "#E01B0010",
23
+ dangerDark: "#BE1700",
24
+ linkPrimary: "#007BFF",
25
+ linkLight: "#007BFF10"
26
+ };
27
+ export {
28
+ r as c
29
+ };
@@ -0,0 +1 @@
1
+ "use strict";const r={primary100:"#F0F6E1",primary200:"#E5F5ED",primary300:"#93D500",primary400:"#009D4F",primary500:"#2E7D32",secondary:"#CC0066",secondaryDark:"#AE1857",textPrimary:"#292929",white:"#FFFFFF",grey100:"#FAFAFA",grey200:"#EEEEEE",grey300:"#DDDDDD",grey400:"#C5C5C5",grey500:"#BFBFBF",grey600:"#85858A",success:"#009D4F",successLight:"#009D4F10",warning:"#FFB600",warningLight:"#FFB60010",danger:"#E01B00",dangerLight:"#E01B0010",dangerDark:"#BE1700",linkPrimary:"#007BFF",linkLight:"#007BFF10"};exports.color=r;
@@ -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>;
@@ -0,0 +1,2 @@
1
+ import { NotiDataType } from '../../models/NotiticationDto';
2
+ export declare const useGetNotiData: ({ baseUrl, notiPath, setNotiData, }: NotiDataType) => () => Promise<void>;
@@ -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 {};
@@ -0,0 +1,4 @@
1
+ import { SVGProps } from 'react';
2
+ type Props = {} & SVGProps<SVGSVGElement>;
3
+ declare function GermanyIcon(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default GermanyIcon;
@@ -0,0 +1,4 @@
1
+ import { SVGProps } from 'react';
2
+ type Props = {} & SVGProps<SVGSVGElement>;
3
+ declare function UnitedKingdomIcon(props: Props): import("react/jsx-runtime").JSX.Element;
4
+ export default UnitedKingdomIcon;