ui-beyable 1.0.10 → 1.0.12

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,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,6 +1,8 @@
1
1
  import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
2
+ import { Article } from './components/Article/Article';
2
3
  import Btn from './components/Button/Btn';
3
4
  import Collapse from './components/Collapse/Collapse';
5
+ import { List, ListItem } from './components/List/List';
4
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';
@@ -8,7 +10,7 @@ import Portal from './components/Portal/BYportal';
8
10
  import Section from './components/Section/Section';
9
11
  import Spinner from './components/Spinner/Spinner';
10
12
  declare const Theme: any;
11
- export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Btn, // Not OK
13
+ export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, // Not OK
12
14
  Collapse, // Not OK
13
- Mask, Modal, // Not OK
15
+ List, ListItem, Mask, Modal, // Not OK
14
16
  Panel, PanelClose, PanelHeader, PanelBody, Portal, Section, Spinner };