@ukpc-lib/react 0.2.22 → 0.2.26

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 (39) hide show
  1. package/dist/application.d.ts +1 -0
  2. package/dist/components/MultiProvider.d.ts +6 -0
  3. package/dist/components/Toast/ToastConfigNotification.d.ts +2 -0
  4. package/dist/components/Toast/index.d.ts +3 -1
  5. package/dist/components/Topbar/index.d.ts +3 -1
  6. package/dist/components/index.cjs +28 -26
  7. package/dist/components/index.js +1446 -1422
  8. package/dist/components/main.d.ts +5 -4
  9. package/dist/index.module-160774a9.cjs +1087 -0
  10. package/dist/index.module-4e7900e2.js +25562 -0
  11. package/dist/main.d.ts +1 -0
  12. package/dist/share/index.cjs +1 -1
  13. package/dist/share/index.js +7 -7
  14. package/dist/theme/Colors.d.ts +33 -0
  15. package/dist/theme/SaasThemeProvider.d.ts +2 -0
  16. package/dist/theme/Theme.d.ts +21 -0
  17. package/dist/theme/index.cjs +1 -1
  18. package/dist/theme/index.d.ts +3 -0
  19. package/dist/theme/index.js +7 -6
  20. package/dist/translations/config.d.ts +7 -0
  21. package/dist/web-components/global-menu.d.ts +1 -0
  22. package/dist/web-components/global-topbar.d.ts +1 -0
  23. package/dist/web-components/has-permission.d.ts +1 -0
  24. package/dist/web-components/index.d.ts +2 -0
  25. package/package.json +5 -3
  26. package/web-components-bundle/global-menu/index.cjs +1 -1
  27. package/web-components-bundle/global-menu/index.js +1 -1
  28. package/web-components-bundle/global-topbar/index.cjs +1 -1
  29. package/web-components-bundle/global-topbar/index.js +2 -2
  30. package/web-components-bundle/has-permission/index.cjs +1 -1
  31. package/web-components-bundle/has-permission/index.js +2 -2
  32. package/web-components-bundle/index-04dc6603.cjs +1067 -0
  33. package/web-components-bundle/{index-200424a6.js → index-a16031d2.js} +1367 -1327
  34. package/web-components-bundle/index-aff1e7a4.js +21431 -0
  35. package/web-components-bundle/{index-661a7bdb.cjs → index-ea3fddce.cjs} +26 -26
  36. package/dist/index.module-a18bd948.js +0 -25158
  37. package/dist/index.module-eaf7a821.cjs +0 -1086
  38. package/web-components-bundle/index-2c1ba689.cjs +0 -884
  39. package/web-components-bundle/index-8d8b181c.js +0 -20303
@@ -0,0 +1 @@
1
+ export default function Application(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export type TMultiProviderProps = React.PropsWithChildren<{
3
+ providers: React.ReactElement[];
4
+ }>;
5
+ declare const MultiProvider: React.FC<TMultiProviderProps>;
6
+ export default MultiProvider;
@@ -0,0 +1,2 @@
1
+ import { ToastContainerProps } from 'react-toastify';
2
+ export declare const ToastConfigNotification: (props: ToastContainerProps) => import("react/jsx-runtime").JSX.Element;
@@ -1,5 +1,7 @@
1
1
  declare const pushSuccess: (message: string) => void;
2
2
  declare const pushError: (message: string) => void;
3
3
  declare const pushWarning: (message: string) => void;
4
+ declare const notify: (message: any) => void;
4
5
  export * from './ToastConfig';
5
- export { pushError, pushSuccess, pushWarning };
6
+ export * from './ToastConfigNotification';
7
+ export { pushError, pushSuccess, pushWarning, notify };
@@ -1,4 +1,5 @@
1
1
  import { CSSProperties } from 'react';
2
+ import { firebaseProps } from '..';
2
3
  type CustomColors = {
3
4
  primaryColor?: string;
4
5
  bgColor?: string;
@@ -18,7 +19,7 @@ type User = {
18
19
  isEnable?: boolean;
19
20
  lastLogin?: Date;
20
21
  };
21
- export declare function TopBar({ logo, user, baseUrl, notiPath, style, classNames, customColors, }: {
22
+ export declare function TopBar({ logo, user, baseUrl, notiPath, style, classNames, customColors, notiprops, }: {
22
23
  logo: string;
23
24
  user: User;
24
25
  baseUrl: string;
@@ -26,5 +27,6 @@ export declare function TopBar({ logo, user, baseUrl, notiPath, style, className
26
27
  style?: CSSProperties;
27
28
  classNames?: string;
28
29
  customColors?: CustomColors;
30
+ notiprops: firebaseProps;
29
31
  }): import("react/jsx-runtime").JSX.Element;
30
32
  export {};