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.
- package/lib/cjs/components/Article/Article.d.ts +4 -0
- package/lib/cjs/components/Article/types.d.ts +11 -0
- package/lib/cjs/components/Btn/IconBtn.d.ts +4 -0
- package/lib/cjs/components/Btn/types.d.ts +17 -0
- package/lib/cjs/components/List/List.d.ts +5 -0
- package/lib/cjs/components/List/types.d.ts +25 -0
- package/lib/cjs/components/Mask/Mask.d.ts +1 -1
- package/lib/cjs/components/Picto/Picto.d.ts +4 -0
- package/lib/cjs/components/Picto/types.d.ts +6 -0
- package/lib/cjs/components/Section/Section.d.ts +1 -1
- package/lib/cjs/components/Spinner/Spinner.d.ts +1 -1
- package/lib/cjs/index.d.ts +10 -8
- package/lib/cjs/index.js +1812 -144
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/Article/Article.d.ts +4 -0
- package/lib/esm/components/Article/types.d.ts +11 -0
- package/lib/esm/components/Btn/IconBtn.d.ts +4 -0
- package/lib/esm/components/Btn/types.d.ts +17 -0
- package/lib/esm/components/List/List.d.ts +5 -0
- package/lib/esm/components/List/types.d.ts +25 -0
- package/lib/esm/components/Mask/Mask.d.ts +1 -1
- package/lib/esm/components/Picto/Picto.d.ts +4 -0
- package/lib/esm/components/Picto/types.d.ts +6 -0
- package/lib/esm/components/Section/Section.d.ts +1 -1
- package/lib/esm/components/Spinner/Spinner.d.ts +1 -1
- package/lib/esm/index.d.ts +10 -8
- package/lib/esm/index.js +1809 -145
- package/lib/esm/index.js.map +1 -1
- package/package.json +5 -2
|
@@ -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 };
|
package/lib/cjs/index.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
|
|
2
|
-
import
|
|
2
|
+
import { Article } from './components/Article/Article';
|
|
3
|
+
import { IconBtn } from './components/Btn/IconBtn';
|
|
3
4
|
import Collapse from './components/Collapse/Collapse';
|
|
4
|
-
import
|
|
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,
|
|
12
|
-
|
|
13
|
-
|
|
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 };
|