ui-beyable 1.0.7 → 1.0.9

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.
@@ -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,4 @@
1
+ /// <reference types="react" />
2
+ import { IAppHeader } from './types';
3
+ declare function AppHeader({}: IAppHeader): JSX.Element;
4
+ export default AppHeader;
@@ -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 };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IMask } from './types';
3
+ declare function Mask({ children, hasDelay, hasProgress }: IMask): JSX.Element;
4
+ export default Mask;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ interface IMask {
3
+ children?: React.ReactNode;
4
+ hasDelay?: boolean;
5
+ hasProgress?: boolean;
6
+ }
7
+ export type { IMask };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { ISection } from './types';
3
+ declare function Section({ children, width }: ISection): JSX.Element;
4
+ export default Section;
@@ -0,0 +1,6 @@
1
+ import React from "react";
2
+ interface ISection {
3
+ children: React.ReactNode;
4
+ width?: string;
5
+ }
6
+ export type { ISection };
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { ISpinner } from './types';
3
+ declare function Spinner({ wheelSize, // xxs, xs, s, m, l
4
+ display, // block | inline | overlay
5
+ verticalSize, }: ISpinner): JSX.Element;
6
+ export default Spinner;
@@ -0,0 +1,6 @@
1
+ interface ISpinner {
2
+ wheelSize?: string;
3
+ display?: string;
4
+ verticalSize?: string;
5
+ }
6
+ export type { ISpinner };