ui-beyable 1.0.8 → 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,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 };
@@ -1,19 +1,14 @@
1
1
  import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
2
2
  import Btn from './components/Button/Btn';
3
+ import Collapse from './components/Collapse/Collapse';
4
+ import Mask from './components/Mask/Mask';
3
5
  import Modal from './components/Modal/Modal';
4
6
  import { Panel, PanelClose, PanelHeader, PanelBody } from './components/Panel/Panel';
5
7
  import Portal from './components/Portal/BYportal';
6
- import Collapse from './components/Collapse/Collapse';
7
- declare const Theme: {
8
- typo: {
9
- readonly h1: string;
10
- readonly h2: string;
11
- readonly h3: string;
12
- };
13
- colors: {
14
- readonly red: string;
15
- readonly blue: string;
16
- readonly green: string;
17
- };
18
- };
19
- export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Btn, Modal, Panel, PanelClose, PanelHeader, PanelBody, Portal, Collapse };
8
+ import Section from './components/Section/Section';
9
+ import Spinner from './components/Spinner/Spinner';
10
+ declare const Theme: any;
11
+ export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Btn, // Not OK
12
+ Collapse, // Not OK
13
+ Mask, Modal, // Not OK
14
+ Panel, PanelClose, PanelHeader, PanelBody, Portal, Section, Spinner };