react-easy-wall 1.0.0
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/README.md +1 -0
- package/dist/components/Panel.d.ts +4 -0
- package/dist/components/panel/Panel.d.ts +7 -0
- package/dist/components/panel/PanelAvatar.d.ts +7 -0
- package/dist/components/panel/PanelDivider.d.ts +5 -0
- package/dist/components/panel/PanelHeader.d.ts +7 -0
- package/dist/components/panel/PanelItem.d.ts +9 -0
- package/dist/components/panel/PanelListItems.d.ts +12 -0
- package/dist/components/panel/index.d.ts +9 -0
- package/dist/components/panel/panel.actions.d.ts +3 -0
- package/dist/components/panel/panel.store.d.ts +5 -0
- package/dist/components/panel/panel.types.d.ts +7 -0
- package/dist/components/session/SessionProvider.d.ts +8 -0
- package/dist/components/session/SessionUserContext.d.ts +3 -0
- package/dist/components/session/SessionUserProvider.d.ts +10 -0
- package/dist/components/session/index.d.ts +1 -0
- package/dist/components/session/session.constants.d.ts +3 -0
- package/dist/components/session/session.hooks.d.ts +1 -0
- package/dist/components/session/session.types.d.ts +6 -0
- package/dist/config/config.types.d.ts +4 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.esm.js +28935 -0
- package/dist/index.esm.js.map +1 -0
- package/dist/index.js +28964 -0
- package/dist/index.js.map +1 -0
- package/dist/shared/apollo/apollo.client.d.ts +7 -0
- package/dist/shared/mui/theme.d.ts +1 -0
- package/dist/shared/types/generated.d.ts +1480 -0
- package/package.json +66 -0
package/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# react-easy-wall
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BoxProps } from '@mui/material';
|
|
3
|
+
export interface PanelHeaderProps {
|
|
4
|
+
containerProps: BoxProps;
|
|
5
|
+
imageProps?: React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>;
|
|
6
|
+
}
|
|
7
|
+
export declare const PanelHeader: React.FC<PanelHeaderProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ListItemProps, ListItemTextProps } from '@mui/material';
|
|
3
|
+
export interface PanelItemProps {
|
|
4
|
+
listItemProps?: ListItemProps & {
|
|
5
|
+
href: string;
|
|
6
|
+
};
|
|
7
|
+
listItemTextProps?: ListItemTextProps;
|
|
8
|
+
}
|
|
9
|
+
export declare const PanelItem: React.FC<PanelItemProps>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ListProps, DividerProps, BoxProps, TypographyProps } from '@mui/material';
|
|
3
|
+
import { PanelListRoute } from './panel.types';
|
|
4
|
+
export interface PanelListItems {
|
|
5
|
+
dividerProps?: DividerProps;
|
|
6
|
+
containerProps?: BoxProps;
|
|
7
|
+
listProps?: ListProps;
|
|
8
|
+
routes?: PanelListRoute[];
|
|
9
|
+
titleProps?: TypographyProps;
|
|
10
|
+
title?: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const PanelListItems: React.FC<PanelListItems>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './Panel';
|
|
2
|
+
export * from './PanelAvatar';
|
|
3
|
+
export * from './PanelDivider';
|
|
4
|
+
export * from './PanelHeader';
|
|
5
|
+
export * from './PanelItem';
|
|
6
|
+
export * from './PanelListItems';
|
|
7
|
+
export * from './panel.store';
|
|
8
|
+
export * from './panel.types';
|
|
9
|
+
export * from './panel.actions';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { User } from '../../shared/types/generated';
|
|
3
|
+
import { Config } from '../../config/config.types';
|
|
4
|
+
type SessionUserProviderProps = {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
initial: User | null | undefined;
|
|
7
|
+
config: Config;
|
|
8
|
+
};
|
|
9
|
+
export declare const SessionUserProvider: React.FC<SessionUserProviderProps>;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SessionProvider';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useSession: () => import("./session.types").SessionContextDefaultValues;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
|
|
4
|
+
interface PanelProps {
|
|
5
|
+
label?: string;
|
|
6
|
+
}
|
|
7
|
+
declare const Panel: () => react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
interface Config {
|
|
10
|
+
uri?: string;
|
|
11
|
+
urlPortal?: string;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
type SessionProviderProps = {
|
|
15
|
+
children: React.ReactNode;
|
|
16
|
+
config: Config;
|
|
17
|
+
};
|
|
18
|
+
declare const SessionProvider: React.FC<SessionProviderProps>;
|
|
19
|
+
|
|
20
|
+
export { Panel, SessionProvider };
|
|
21
|
+
export type { PanelProps };
|