ui-beyable 1.0.7 → 1.0.8
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/lib/cjs/components/App/App.d.ts +7 -0
- package/lib/cjs/components/App/types.d.ts +20 -0
- package/lib/cjs/components/AppHeader/AppHeader.d.ts +4 -0
- package/lib/cjs/components/AppHeader/types.d.ts +14 -0
- package/lib/cjs/index.css +1448 -2
- package/lib/cjs/index.d.ts +14 -2
- package/lib/cjs/index.js +67 -11
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/App/App.d.ts +7 -0
- package/lib/esm/components/App/types.d.ts +20 -0
- package/lib/esm/components/AppHeader/AppHeader.d.ts +4 -0
- package/lib/esm/components/AppHeader/types.d.ts +14 -0
- package/lib/esm/index.d.ts +14 -2
- package/lib/esm/index.js +63 -12
- package/lib/esm/index.js.map +1 -1
- package/package.json +2 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IAppRoot, IAppHeader, IAppLinkWrapper, IAppLogo } from './types';
|
|
3
|
+
declare function AppRoot({ children }: IAppRoot): JSX.Element;
|
|
4
|
+
declare function AppHeader({ logo, primaryLinks, secondaryLinks }: IAppHeader): JSX.Element;
|
|
5
|
+
declare function AppLinkWrapper({ children, isActive }: IAppLinkWrapper): JSX.Element;
|
|
6
|
+
declare function AppLogo({ name, overlayLink }: IAppLogo): JSX.Element;
|
|
7
|
+
export { AppRoot, AppHeader, AppLinkWrapper, AppLogo };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IAppRoot {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
}
|
|
5
|
+
interface IAppHeader {
|
|
6
|
+
logo: React.ReactNode;
|
|
7
|
+
primaryLinks?: React.ReactNode;
|
|
8
|
+
secondaryLinks?: React.ReactNode;
|
|
9
|
+
}
|
|
10
|
+
interface IAppLinkWrapper {
|
|
11
|
+
children: React.ReactNode;
|
|
12
|
+
isActive?: boolean;
|
|
13
|
+
}
|
|
14
|
+
interface IAppLogo {
|
|
15
|
+
name: string;
|
|
16
|
+
href?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
overlayLink?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export type { IAppRoot, IAppHeader, IAppLinkWrapper, IAppLogo };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IAppHeader {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
isOpen: boolean;
|
|
5
|
+
onClose?: (e: any) => any;
|
|
6
|
+
hasClose?: boolean;
|
|
7
|
+
side?: string;
|
|
8
|
+
width?: number;
|
|
9
|
+
overlay?: boolean;
|
|
10
|
+
closeOnOverlay?: boolean;
|
|
11
|
+
hasOffset?: boolean;
|
|
12
|
+
offsetWidth?: number;
|
|
13
|
+
}
|
|
14
|
+
export type { IAppHeader };
|