ui-beyable 1.0.12 → 1.0.13

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
+ import React from 'react';
2
+ import { IIconBtn } from './types';
3
+ declare const IconBtn: React.ForwardRefExoticComponent<IIconBtn & React.RefAttributes<unknown>>;
4
+ export { IconBtn };
@@ -0,0 +1,17 @@
1
+ interface IIconBtn {
2
+ icon: string;
3
+ fixedWidth?: boolean;
4
+ size?: string;
5
+ className?: string;
6
+ theme?: string;
7
+ hoverColor?: string;
8
+ tooltip?: string;
9
+ tooltipHTML?: any;
10
+ onClick?: any;
11
+ onMouseDown?: any;
12
+ href?: string;
13
+ target?: string;
14
+ disabled?: boolean;
15
+ rel?: string;
16
+ }
17
+ export type { IIconBtn };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IMask } from './types';
3
3
  declare function Mask({ children, hasDelay, hasProgress }: IMask): JSX.Element;
4
- export default Mask;
4
+ export { Mask };
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { IPicto } from './types';
3
+ declare function Picto({ icon, color, size }: IPicto): JSX.Element;
4
+ export { Picto };
@@ -0,0 +1,6 @@
1
+ interface IPicto {
2
+ icon: string;
3
+ color?: string;
4
+ size?: string;
5
+ }
6
+ export type { IPicto };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ISection } from './types';
3
3
  declare function Section({ children, width }: ISection): JSX.Element;
4
- export default Section;
4
+ export { Section };
@@ -3,4 +3,4 @@ import { ISpinner } from './types';
3
3
  declare function Spinner({ wheelSize, // xxs, xs, s, m, l
4
4
  display, // block | inline | overlay
5
5
  verticalSize, }: ISpinner): JSX.Element;
6
- export default Spinner;
6
+ export { Spinner };
@@ -1,16 +1,16 @@
1
1
  import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
2
2
  import { Article } from './components/Article/Article';
3
- import Btn from './components/Button/Btn';
3
+ import { IconBtn } from './components/Btn/IconBtn';
4
4
  import Collapse from './components/Collapse/Collapse';
5
5
  import { List, ListItem } from './components/List/List';
6
- import Mask from './components/Mask/Mask';
6
+ import { Mask } from './components/Mask/Mask';
7
7
  import Modal from './components/Modal/Modal';
8
8
  import { Panel, PanelClose, PanelHeader, PanelBody } from './components/Panel/Panel';
9
+ import { Picto } from './components/Picto/Picto';
9
10
  import Portal from './components/Portal/BYportal';
10
- import Section from './components/Section/Section';
11
- import Spinner from './components/Spinner/Spinner';
11
+ import { Section } from './components/Section/Section';
12
+ import { Spinner } from './components/Spinner/Spinner';
12
13
  declare const Theme: any;
13
- export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, // Not OK
14
- Collapse, // Not OK
15
- List, ListItem, Mask, Modal, // Not OK
16
- Panel, PanelClose, PanelHeader, PanelBody, Portal, Section, Spinner };
14
+ export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Collapse, // Not OK
15
+ IconBtn, List, ListItem, Mask, Modal, // Not OK
16
+ Panel, PanelClose, PanelHeader, PanelBody, Picto, Portal, Section, Spinner };