ui-beyable 1.0.19 → 1.0.21
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/Btn/Btn.d.ts +3 -2
- package/lib/cjs/components/Btn/types.d.ts +5 -1
- package/lib/cjs/components/EmptyState/EmptyState.d.ts +4 -0
- package/lib/cjs/components/EmptyState/types.d.ts +16 -0
- package/lib/cjs/components/Fieldset/Fieldset.d.ts +1 -1
- package/lib/cjs/components/Fieldset/types.d.ts +1 -0
- package/lib/cjs/components/Message/Message.d.ts +4 -0
- package/lib/cjs/components/Message/types.d.ts +16 -0
- package/lib/cjs/index.d.ts +5 -3
- package/lib/cjs/index.js +570 -408
- package/lib/cjs/index.js.map +1 -1
- package/lib/esm/components/Btn/Btn.d.ts +3 -2
- package/lib/esm/components/Btn/types.d.ts +5 -1
- package/lib/esm/components/EmptyState/EmptyState.d.ts +4 -0
- package/lib/esm/components/EmptyState/types.d.ts +16 -0
- package/lib/esm/components/Fieldset/Fieldset.d.ts +1 -1
- package/lib/esm/components/Fieldset/types.d.ts +1 -0
- package/lib/esm/components/Message/Message.d.ts +4 -0
- package/lib/esm/components/Message/types.d.ts +16 -0
- package/lib/esm/index.d.ts +5 -3
- package/lib/esm/index.js +568 -409
- package/lib/esm/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { IBtn } from './types';
|
|
2
|
+
import { IBtn, IBtnGroup } from './types';
|
|
3
|
+
declare function BtnGroup({ children, gap }: IBtnGroup): JSX.Element;
|
|
3
4
|
declare const Btn: React.MemoExoticComponent<React.ForwardRefExoticComponent<IBtn & React.RefAttributes<unknown>>>;
|
|
4
|
-
export { Btn };
|
|
5
|
+
export { Btn, BtnGroup };
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { IEmptyState } from './types';
|
|
3
|
+
declare function EmptyState({ title, text, primaryAction, secondaryAction, imageUrl, icon, verticalSize, verticalAlign, textSize, titleIsBold, hasSpinner, hasBorder }: IEmptyState): JSX.Element;
|
|
4
|
+
export { EmptyState };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface IEmptyState {
|
|
3
|
+
title?: React.ReactNode | string;
|
|
4
|
+
text?: React.ReactNode | string;
|
|
5
|
+
primaryAction?: React.ReactNode;
|
|
6
|
+
secondaryAction?: React.ReactNode;
|
|
7
|
+
imageUrl?: string;
|
|
8
|
+
icon?: string;
|
|
9
|
+
textSize?: 's' | 'm' | 'l' | 'xl';
|
|
10
|
+
verticalSize?: 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
11
|
+
verticalAlign?: boolean;
|
|
12
|
+
titleIsBold?: boolean;
|
|
13
|
+
hasSpinner?: boolean;
|
|
14
|
+
hasBorder?: boolean;
|
|
15
|
+
}
|
|
16
|
+
export { IEmptyState };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IFieldset } from './types';
|
|
3
|
-
declare function Fieldset({ children, label, description, labelClassName, blockClassName, tooltip, tooltipHTML, inputID, append }: IFieldset): JSX.Element;
|
|
3
|
+
declare function Fieldset({ children, label, description, labelClassName, blockClassName, marginSize, tooltip, tooltipHTML, inputID, append }: IFieldset): JSX.Element;
|
|
4
4
|
export { Fieldset };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface IMessage {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
links?: React.ReactNode;
|
|
5
|
+
type?: 'information' | 'success' | 'warning' | 'alert';
|
|
6
|
+
title?: React.ReactNode | string;
|
|
7
|
+
text?: React.ReactNode | string;
|
|
8
|
+
appearance?: 'background' | 'outline' | 'ghost';
|
|
9
|
+
icon?: 'default' | 'information' | 'success' | 'warning' | 'alert';
|
|
10
|
+
showIcon?: boolean;
|
|
11
|
+
marginSize?: 's' | 'm' | 'l' | 'none';
|
|
12
|
+
verticalSize?: 's' | 'm';
|
|
13
|
+
noMargin?: boolean;
|
|
14
|
+
color?: 'default' | 'purple';
|
|
15
|
+
}
|
|
16
|
+
export { IMessage };
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { AppRoot, AppHeader, AppLinkWrapper, AppLogo } from './components/App/App';
|
|
2
2
|
import { Article } from './components/Article/Article';
|
|
3
|
-
import { Btn } from './components/Btn/Btn';
|
|
3
|
+
import { Btn, BtnGroup } from './components/Btn/Btn';
|
|
4
4
|
import { Checkbox, Radio, Switch, CheckboxList } from './components/Checkbox/Checkbox';
|
|
5
5
|
import Collapse from './components/Collapse/Collapse';
|
|
6
6
|
import { Confirm } from './components/Confirm/Confirm';
|
|
7
7
|
import { Dropdown } from './components/Dropdown/Dropdown';
|
|
8
|
+
import { EmptyState } from './components/EmptyState/EmptyState';
|
|
8
9
|
import { Fieldset } from './components/Fieldset/Fieldset';
|
|
9
10
|
import { IconBtn } from './components/IconBtn/IconBtn';
|
|
10
11
|
import { List, ListItem } from './components/List/List';
|
|
11
12
|
import { Listbox, ListboxItem, ListboxSep } from './components/Listbox/Listbox';
|
|
12
13
|
import { Mask } from './components/Mask/Mask';
|
|
14
|
+
import { Message } from './components/Message/Message';
|
|
13
15
|
import { Modal, ModalHeader, ModalBody, ModalFooter } from './components/Modal/Modal';
|
|
14
16
|
import { Panel, PanelClose, PanelHeader, PanelBody } from './components/Panel/Panel';
|
|
15
17
|
import { Picto } from './components/Picto/Picto';
|
|
@@ -18,5 +20,5 @@ import { Section } from './components/Section/Section';
|
|
|
18
20
|
import { Spinner } from './components/Spinner/Spinner';
|
|
19
21
|
import { Textfield, TextfieldIcon, SearchBar } from './components/Textfield/Textfield';
|
|
20
22
|
declare const Theme: any;
|
|
21
|
-
export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, Checkbox, CheckboxList, Collapse, // Not OK
|
|
22
|
-
Confirm, Dropdown, Fieldset, IconBtn, List, ListItem, Listbox, ListboxItem, ListboxSep, Mask, Modal, ModalHeader, ModalBody, ModalFooter, Panel, PanelClose, PanelHeader, PanelBody, Picto, Portal, Radio, Section, SearchBar, Spinner, Switch, Textfield, TextfieldIcon };
|
|
23
|
+
export { Theme, AppRoot, AppHeader, AppLinkWrapper, AppLogo, Article, Btn, BtnGroup, Checkbox, CheckboxList, Collapse, // Not OK
|
|
24
|
+
Confirm, Dropdown, EmptyState, Fieldset, IconBtn, List, ListItem, Listbox, ListboxItem, ListboxSep, Mask, Message, Modal, ModalHeader, ModalBody, ModalFooter, Panel, PanelClose, PanelHeader, PanelBody, Picto, Portal, Radio, Section, SearchBar, Spinner, Switch, Textfield, TextfieldIcon };
|