@ukpc-lib/react 0.15.9-sandbox.saas-8608.patch-2 → 0.15.9-sandbox.saas-9249.patch-1

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 (26) hide show
  1. package/dist/components/FavoriteMenu/components/MenuItem.d.ts +2 -1
  2. package/dist/components/GlobalMenu/components/MenuItem.d.ts +1 -0
  3. package/dist/components/WrapPermission/index.d.ts +8 -0
  4. package/dist/components/index.cjs +8 -8
  5. package/dist/components/index.js +595 -598
  6. package/dist/components/main.d.ts +1 -1
  7. package/dist/{index.esm2017-DVYUt3O5.cjs → index.esm2017-Cub-8n-S.cjs} +73 -73
  8. package/dist/{index.esm2017-DPS6NsTJ.js → index.esm2017-DdvYAMyv.js} +1838 -1813
  9. package/dist/share/index.cjs +1 -1
  10. package/dist/share/index.js +1 -1
  11. package/dist/translations/config.d.ts +4 -1
  12. package/package.json +1 -1
  13. package/web-components-bundle/access-denied/index.js +1 -1
  14. package/web-components-bundle/base-breadcrumbs/index.js +0 -1
  15. package/web-components-bundle/favorite-menu/index.js +2 -2
  16. package/web-components-bundle/global-menu/index.js +2 -2
  17. package/web-components-bundle/global-topbar/index.js +5 -7
  18. package/web-components-bundle/has-permission/index.js +1 -1
  19. package/web-components-bundle/{index-BMcWYdph.js → index-Ch-015PG.js} +59 -58
  20. package/web-components-bundle/{index-DUUTro2H.js → index-D8Cgcd8a.js} +9013 -8989
  21. package/web-components-bundle/index-DqxmsDJs.js +48 -0
  22. package/web-components-bundle/page-not-found/index.js +4 -39
  23. package/web-components-bundle/toast-config/index.js +1 -1
  24. package/dist/components/FileNotFound/index.d.ts +0 -1
  25. package/web-components-bundle/file-not-found/index.js +0 -21
  26. package/web-components-bundle/index-LHlpISKg.js +0 -11
@@ -7,6 +7,7 @@ export type OwnMenuItemProps = {
7
7
  replacePath?(path: string): string;
8
8
  ssr?: boolean;
9
9
  brandColors?: ColorsType;
10
+ onClickItem(path: string): void;
10
11
  };
11
12
  type MenuItemProps = {
12
13
  baseUrl: string;
@@ -19,7 +20,7 @@ type MenuItemProps = {
19
20
  nodes?: NodeModel<MenuItemDto>[];
20
21
  isDrop?: boolean;
21
22
  } & OwnMenuItemProps;
22
- export default function MenuItem({ ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
23
+ export default function FavMenuItem({ ...props }: MenuItemProps): import("react/jsx-runtime").JSX.Element;
23
24
  export type FavoriteIconProps = {
24
25
  onClick?(_isFavorite: boolean): void;
25
26
  menuLevel?: number;
@@ -8,6 +8,7 @@ export type OwnMenuItemProps = {
8
8
  ssr?: boolean;
9
9
  brandColors?: ColorsType;
10
10
  isInternalApp?: boolean;
11
+ onClickItem(path: string): void;
11
12
  };
12
13
  type MenuItemProps = {
13
14
  baseUrl: string;
@@ -0,0 +1,8 @@
1
+ import { PropsWithChildren } from 'react';
2
+
3
+ type WrapPermissionProps = PropsWithChildren<{
4
+ accessKeys: string[];
5
+ requireAll?: boolean;
6
+ }>;
7
+ export declare function WrapPermission({ children, accessKeys, requireAll, }: WrapPermissionProps): import('react').ReactNode;
8
+ export {};