@pdg/react-admin-layout 1.0.52 → 1.0.53

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.
@@ -1 +1 @@
1
- export declare const useChange: (value: any, callback: () => void, skipFirst?: boolean) => void;
1
+ export declare var useChange: (value: any, callback: any, t0: any) => void;
@@ -1,4 +1,2 @@
1
- import React from 'react';
2
- import { CardLayoutProps } from './CardLayout.types';
3
- declare const CardLayout: ({ children, backgroundColor }: CardLayoutProps) => React.JSX.Element;
1
+ declare var CardLayout: (t0: any) => any;
4
2
  export default CardLayout;
@@ -1,4 +1,2 @@
1
- import React from 'react';
2
- import { DefaultLayoutProps as Props } from './DefaultLayout.types';
3
- declare const DefaultLayout: ({ children, logo, badgeVariant, menu, menuHideScreen, appBarControl }: Props) => React.JSX.Element;
1
+ declare var DefaultLayout: (t0: any) => any;
4
2
  export default DefaultLayout;
@@ -1,33 +1 @@
1
- import { CSSProperties, ReactNode } from 'react';
2
- import { BadgeProps } from '@mui/material';
3
- import { SxProps } from '@mui/system';
4
- import { Theme } from '@mui/material/styles';
5
- export interface SubMenuItem {
6
- id: string;
7
- name: string;
8
- depth: number;
9
- uri: string;
10
- badge?: number;
11
- badgeVariant?: BadgeProps['variant'];
12
- }
13
- export interface MenuItem {
14
- id: string;
15
- name: string;
16
- depth: number;
17
- uri?: string;
18
- icon?: string;
19
- badge?: number;
20
- badgeVariant?: BadgeProps['variant'];
21
- items?: SubMenuItem[];
22
- }
23
- export interface DefaultLayoutProps {
24
- children?: ReactNode;
25
- className?: string;
26
- style?: CSSProperties;
27
- sx?: SxProps<Theme>;
28
- logo: ReactNode;
29
- badgeVariant?: BadgeProps['variant'];
30
- menu?: MenuItem[];
31
- appBarControl?: ReactNode;
32
- menuHideScreen?: 'xs' | 'sm' | 'md' | 'lg';
33
- }
1
+ export {};