ui-beyable 1.0.11 → 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
+ /// <reference types="react" />
2
+ import { IArticle } from './types';
3
+ declare function Article({ children, title, hasMask, hasMargin, size, innerSize, titleSize, }: IArticle): JSX.Element;
4
+ export { Article };
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ interface IArticle {
3
+ children: React.ReactNode;
4
+ title?: any;
5
+ hasMask?: boolean;
6
+ hasMargin?: boolean;
7
+ size?: string;
8
+ innerSize?: string;
9
+ titleSize?: string;
10
+ }
11
+ export type { IArticle };
@@ -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 };
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ import { IList, IListItem } from './types';
3
+ declare function List({ children, className, size, hasLastBorder, hasBorder, borderPosition, removeVerticalMargin }: IList): JSX.Element;
4
+ declare function ListItem({ children, className, picto, pictoHasMargin, text, description, actions, onClick, value, hasArrow, textIsBold, textIsItalic }: IListItem): JSX.Element;
5
+ export { List, ListItem };
@@ -0,0 +1,25 @@
1
+ import React from 'react';
2
+ interface IList {
3
+ children: React.ReactNode;
4
+ className?: string;
5
+ size?: string;
6
+ hasLastBorder?: boolean;
7
+ hasBorder?: boolean;
8
+ borderPosition?: string;
9
+ removeVerticalMargin?: boolean;
10
+ }
11
+ interface IListItem {
12
+ children: React.ReactNode;
13
+ className?: string;
14
+ picto?: React.ReactNode;
15
+ pictoHasMargin?: boolean;
16
+ text?: any;
17
+ description?: any;
18
+ actions?: React.ReactNode;
19
+ onClick?: any;
20
+ value?: any;
21
+ hasArrow?: boolean;
22
+ textIsBold?: boolean;
23
+ textIsItalic?: boolean;
24
+ }
25
+ export type { IList, IListItem };
@@ -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,14 +1,16 @@
1
1
  import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
2
- import Btn from './components/Button/Btn';
2
+ import { Article } from './components/Article/Article';
3
+ import { IconBtn } from './components/Btn/IconBtn';
3
4
  import Collapse from './components/Collapse/Collapse';
4
- import Mask from './components/Mask/Mask';
5
+ import { List, ListItem } from './components/List/List';
6
+ import { Mask } from './components/Mask/Mask';
5
7
  import Modal from './components/Modal/Modal';
6
8
  import { Panel, PanelClose, PanelHeader, PanelBody } from './components/Panel/Panel';
9
+ import { Picto } from './components/Picto/Picto';
7
10
  import Portal from './components/Portal/BYportal';
8
- import Section from './components/Section/Section';
9
- import Spinner from './components/Spinner/Spinner';
11
+ import { Section } from './components/Section/Section';
12
+ import { Spinner } from './components/Spinner/Spinner';
10
13
  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 };
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 };