superdesk-ui-framework 3.0.1-beta.24 → 3.0.1-beta.25
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/app-typescript/components/Label.tsx +13 -1
- package/app-typescript/components/Lists/ContentList.tsx +31 -26
- package/dist/examples.bundle.js +18 -4
- package/dist/superdesk-ui.bundle.js +17 -3
- package/package.json +1 -1
- package/react/components/Label.d.ts +1 -0
- package/react/components/Label.js +12 -2
- package/react/components/Lists/ContentList.d.ts +1 -0
- package/react/components/Lists/ContentList.js +5 -1
- package/.vscode/settings.json +0 -5
- package/app-typescript/dist/components/Alert.d.ts +0 -16
- package/app-typescript/dist/components/Autocomplete.d.ts +0 -48
- package/app-typescript/dist/components/Avatar.d.ts +0 -33
- package/app-typescript/dist/components/Badge.d.ts +0 -13
- package/app-typescript/dist/components/Button.d.ts +0 -23
- package/app-typescript/dist/components/ButtonGroup.d.ts +0 -12
- package/app-typescript/dist/components/CheckButtonGroup.d.ts +0 -11
- package/app-typescript/dist/components/CheckGroup.d.ts +0 -9
- package/app-typescript/dist/components/Checkbox.d.ts +0 -19
- package/app-typescript/dist/components/CheckboxButton.d.ts +0 -19
- package/app-typescript/dist/components/DatePicker.d.ts +0 -37
- package/app-typescript/dist/components/Divider.d.ts +0 -9
- package/app-typescript/dist/components/DonutChart.d.ts +0 -12
- package/app-typescript/dist/components/Dropdown.d.ts +0 -28
- package/app-typescript/dist/components/DropdownFirst.d.ts +0 -42
- package/app-typescript/dist/components/EmptyState.d.ts +0 -11
- package/app-typescript/dist/components/FormLabel.d.ts +0 -9
- package/app-typescript/dist/components/Genie.d.ts +0 -13
- package/app-typescript/dist/components/GridItem.d.ts +0 -69
- package/app-typescript/dist/components/GridList.d.ts +0 -14
- package/app-typescript/dist/components/HeadingText.d.ts +0 -10
- package/app-typescript/dist/components/HelloWorld.d.ts +0 -8
- package/app-typescript/dist/components/Icon.d.ts +0 -12
- package/app-typescript/dist/components/IconButton.d.ts +0 -12
- package/app-typescript/dist/components/IconLabel.d.ts +0 -11
- package/app-typescript/dist/components/Input.d.ts +0 -24
- package/app-typescript/dist/components/Label.d.ts +0 -15
- package/app-typescript/dist/components/LeftMenu.d.ts +0 -26
- package/app-typescript/dist/components/Loader.d.ts +0 -8
- package/app-typescript/dist/components/NavButton.d.ts +0 -15
- package/app-typescript/dist/components/Popover.d.ts +0 -13
- package/app-typescript/dist/components/PropsList.d.ts +0 -15
- package/app-typescript/dist/components/Radio.d.ts +0 -19
- package/app-typescript/dist/components/RadioButton.d.ts +0 -20
- package/app-typescript/dist/components/Select.d.ts +0 -29
- package/app-typescript/dist/components/SelectWithTemplate.d.ts +0 -32
- package/app-typescript/dist/components/SlidingToolbar.d.ts +0 -8
- package/app-typescript/dist/components/StrechBar.d.ts +0 -4
- package/app-typescript/dist/components/SubNav.d.ts +0 -10
- package/app-typescript/dist/components/Switch.d.ts +0 -12
- package/app-typescript/dist/components/TabCustom.d.ts +0 -25
- package/app-typescript/dist/components/TabList.d.ts +0 -22
- package/app-typescript/dist/components/Tag.d.ts +0 -9
- package/app-typescript/dist/components/TagInput.d.ts +0 -7
- package/app-typescript/dist/components/TagInputTest.d.ts +0 -18
- package/app-typescript/dist/components/TimePicker.d.ts +0 -11
- package/app-typescript/dist/components/Tooltip.d.ts +0 -11
- package/app-typescript/dist/components/_Positioner.d.ts +0 -27
- package/app-typescript/dist/index.d.ts +0 -56
- package/yarn-error.log +0 -111
@@ -1,42 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
name: string;
|
4
|
-
align?: 'left' | 'right';
|
5
|
-
side?: 'left' | 'right';
|
6
|
-
icon?: string;
|
7
|
-
navDropdown?: boolean;
|
8
|
-
level?: boolean;
|
9
|
-
headerFooter?: boolean;
|
10
|
-
children: React.ReactNode;
|
11
|
-
}
|
12
|
-
interface IPropsItem {
|
13
|
-
text: string;
|
14
|
-
noLink?: boolean;
|
15
|
-
icon?: string;
|
16
|
-
onSelect(): void;
|
17
|
-
children?: never;
|
18
|
-
}
|
19
|
-
interface IPropsLabel {
|
20
|
-
text: string;
|
21
|
-
children?: never;
|
22
|
-
}
|
23
|
-
interface IPropsMenu {
|
24
|
-
title: string;
|
25
|
-
children: React.ReactNode;
|
26
|
-
}
|
27
|
-
export declare const DropdownFirst: {
|
28
|
-
({ name, align, side, level, icon, headerFooter, navDropdown, children, }: IProps): JSX.Element;
|
29
|
-
Item: ({ text, icon, noLink, onSelect, }: IPropsItem) => JSX.Element;
|
30
|
-
Divider: ({}: {}) => JSX.Element;
|
31
|
-
Label: ({ text, }: IPropsLabel) => JSX.Element;
|
32
|
-
Header: ({ title, children, }: IPropsMenu) => JSX.Element;
|
33
|
-
Body: ({ title, children, }: IPropsMenu) => JSX.Element;
|
34
|
-
Footer: ({ title, children, }: IPropsMenu) => JSX.Element;
|
35
|
-
};
|
36
|
-
export declare const DropdownItem: ({ text, icon, noLink, onSelect, }: IPropsItem) => JSX.Element;
|
37
|
-
export declare const DropdownDivider: ({}: {}) => JSX.Element;
|
38
|
-
export declare const DropdownLabel: ({ text, }: IPropsLabel) => JSX.Element;
|
39
|
-
export declare const DropdownHeader: ({ title, children, }: IPropsMenu) => JSX.Element;
|
40
|
-
export declare const DropdownBody: ({ title, children, }: IPropsMenu) => JSX.Element;
|
41
|
-
export declare const DropdownFooter: ({ title, children, }: IPropsMenu) => JSX.Element;
|
42
|
-
export {};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
illustration?: string;
|
4
|
-
size?: 'small' | 'large';
|
5
|
-
title: string;
|
6
|
-
description?: string;
|
7
|
-
}
|
8
|
-
export declare class EmptyState extends React.PureComponent<IProps> {
|
9
|
-
render(): JSX.Element;
|
10
|
-
}
|
11
|
-
export {};
|
@@ -1,69 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
declare class GridItemMedia extends React.PureComponent {
|
3
|
-
render(): JSX.Element;
|
4
|
-
}
|
5
|
-
declare class GridItemContent extends React.PureComponent {
|
6
|
-
render(): JSX.Element;
|
7
|
-
}
|
8
|
-
declare class GridItemContentBlock extends React.PureComponent {
|
9
|
-
render(): JSX.Element;
|
10
|
-
}
|
11
|
-
declare class GridItemFooter extends React.PureComponent {
|
12
|
-
render(): JSX.Element;
|
13
|
-
}
|
14
|
-
interface IPropsFooterBlock {
|
15
|
-
align?: 'left' | 'right';
|
16
|
-
}
|
17
|
-
declare class GridItemFooterBlock extends React.PureComponent<IPropsFooterBlock> {
|
18
|
-
static defaultProps: {
|
19
|
-
align: string;
|
20
|
-
};
|
21
|
-
render(): JSX.Element;
|
22
|
-
}
|
23
|
-
interface IPropsFooterActions {
|
24
|
-
autohide?: boolean;
|
25
|
-
}
|
26
|
-
declare class GridItemFooterActions extends React.PureComponent<IPropsFooterActions> {
|
27
|
-
static defaultProps: {
|
28
|
-
autohide: boolean;
|
29
|
-
};
|
30
|
-
render(): JSX.Element;
|
31
|
-
}
|
32
|
-
interface IPropsTime {
|
33
|
-
time: string;
|
34
|
-
}
|
35
|
-
declare class GridItemTime extends React.PureComponent<IPropsTime> {
|
36
|
-
render(): JSX.Element;
|
37
|
-
}
|
38
|
-
declare class GridItemTitle extends React.PureComponent {
|
39
|
-
render(): JSX.Element;
|
40
|
-
}
|
41
|
-
declare class GridItemSlug extends React.PureComponent {
|
42
|
-
render(): JSX.Element;
|
43
|
-
}
|
44
|
-
declare class GridItemText extends React.PureComponent {
|
45
|
-
render(): JSX.Element;
|
46
|
-
}
|
47
|
-
declare class GridItemTopActions extends React.PureComponent {
|
48
|
-
render(): JSX.Element;
|
49
|
-
}
|
50
|
-
declare class GridItemCheckWrapper extends React.PureComponent {
|
51
|
-
render(): JSX.Element;
|
52
|
-
}
|
53
|
-
interface IProps {
|
54
|
-
locked?: boolean;
|
55
|
-
fetched?: boolean;
|
56
|
-
onClick?(): void;
|
57
|
-
itemtype?: 'audio' | 'composite' | 'file' | 'graphic' | 'photo' | 'slideshow' | 'text' | 'video' | string;
|
58
|
-
status?: Array<'actioning' | 'selected' | 'activated' | string>;
|
59
|
-
}
|
60
|
-
export default class GridItem extends React.PureComponent<IProps> {
|
61
|
-
static defaultProps: {
|
62
|
-
locked: boolean;
|
63
|
-
fetched: boolean;
|
64
|
-
itemtype: string;
|
65
|
-
status: never[];
|
66
|
-
};
|
67
|
-
render(): JSX.Element;
|
68
|
-
}
|
69
|
-
export { GridItem, GridItemContent, GridItemMedia, GridItemFooter, GridItemContentBlock, GridItemTime, GridItemTitle, GridItemText, GridItemSlug, GridItemFooterBlock, GridItemFooterActions, GridItemTopActions, GridItemCheckWrapper };
|
@@ -1,14 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
size?: 'x-small' | 'small' | 'medium' | 'large';
|
4
|
-
margin?: '0' | '1' | '2' | '3';
|
5
|
-
gap?: 'small' | 'medium' | 'large' | 'x-large';
|
6
|
-
}
|
7
|
-
export declare class GridList extends React.PureComponent<IProps> {
|
8
|
-
static defaultProps: {
|
9
|
-
size: string;
|
10
|
-
gap: string;
|
11
|
-
};
|
12
|
-
render(): JSX.Element;
|
13
|
-
}
|
14
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
name?: string;
|
4
|
-
size?: 'small' | 'big';
|
5
|
-
type?: 'default' | 'primary' | 'success' | 'warning' | 'alert' | 'highlight' | 'light';
|
6
|
-
className?: string;
|
7
|
-
ariaHidden?: boolean;
|
8
|
-
}
|
9
|
-
export declare class Icon extends React.PureComponent<IProps> {
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
12
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
id?: string;
|
4
|
-
icon?: string;
|
5
|
-
ariaValue: string;
|
6
|
-
size?: 'small';
|
7
|
-
onClick(event: React.MouseEvent): void;
|
8
|
-
}
|
9
|
-
export declare class IconButton extends React.PureComponent<IProps> {
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
12
|
-
export {};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
text: string;
|
4
|
-
type?: 'default' | 'primary' | 'success' | 'warning' | 'alert' | 'highlight' | 'sd-green';
|
5
|
-
icon?: string;
|
6
|
-
style?: 'basic' | 'translucent';
|
7
|
-
}
|
8
|
-
export declare class IconLabel extends React.PureComponent<IProps> {
|
9
|
-
render(): JSX.Element;
|
10
|
-
}
|
11
|
-
export {};
|
@@ -1,24 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
value?: string;
|
4
|
-
label?: string;
|
5
|
-
maxLength?: number;
|
6
|
-
info?: string;
|
7
|
-
error?: string;
|
8
|
-
required?: boolean;
|
9
|
-
disabled?: boolean;
|
10
|
-
invalid?: boolean;
|
11
|
-
inlineLabel?: boolean;
|
12
|
-
onChange(newValue: string): void;
|
13
|
-
}
|
14
|
-
interface IState {
|
15
|
-
value: string;
|
16
|
-
invalid: boolean;
|
17
|
-
}
|
18
|
-
export declare class Input extends React.Component<IProps, IState> {
|
19
|
-
constructor(props: IProps);
|
20
|
-
htmlId: string;
|
21
|
-
handleChange(event: React.ChangeEvent<HTMLInputElement>): void;
|
22
|
-
render(): JSX.Element;
|
23
|
-
}
|
24
|
-
export {};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
text: string;
|
4
|
-
link?: string;
|
5
|
-
type?: 'default' | 'primary' | 'success' | 'warning' | 'alert' | 'highlight' | 'sd-green';
|
6
|
-
color?: string;
|
7
|
-
size?: 'small' | 'normal' | 'large';
|
8
|
-
onClick?(): void;
|
9
|
-
noTransform?: boolean;
|
10
|
-
style?: 'filled' | 'hollow' | 'translucent';
|
11
|
-
}
|
12
|
-
export declare class Label extends React.PureComponent<IProps> {
|
13
|
-
render(): JSX.Element;
|
14
|
-
}
|
15
|
-
export {};
|
@@ -1,26 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IMenuItem {
|
3
|
-
id: string;
|
4
|
-
label: string;
|
5
|
-
route?: string;
|
6
|
-
}
|
7
|
-
interface IMenuGroup {
|
8
|
-
label: string;
|
9
|
-
items: Array<IMenuItem>;
|
10
|
-
}
|
11
|
-
interface IMenu {
|
12
|
-
navClass?: string;
|
13
|
-
groups: Array<IMenuGroup>;
|
14
|
-
activeItemId: string;
|
15
|
-
ariaLabel?: string;
|
16
|
-
onSelect(id: string, route: string): void;
|
17
|
-
}
|
18
|
-
interface IState {
|
19
|
-
active: string;
|
20
|
-
}
|
21
|
-
export declare class LeftMenu extends React.PureComponent<IMenu, IState> {
|
22
|
-
constructor(props: IMenu);
|
23
|
-
handleClick(id: string, route: string): void;
|
24
|
-
render(): JSX.Element;
|
25
|
-
}
|
26
|
-
export {};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
id?: string;
|
4
|
-
icon?: string;
|
5
|
-
text?: string;
|
6
|
-
iconSize?: 'small' | 'big';
|
7
|
-
theme?: 'light' | 'dark';
|
8
|
-
type?: 'default' | 'primary' | 'highlight' | 'darker';
|
9
|
-
value?: 'button' | 'submit' | 'reset';
|
10
|
-
onClick(): void;
|
11
|
-
}
|
12
|
-
export declare class NavButton extends React.PureComponent<IProps> {
|
13
|
-
render(): JSX.Element;
|
14
|
-
}
|
15
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { PopperOptions } from 'popper.js';
|
2
|
-
import * as React from 'react';
|
3
|
-
interface IProps {
|
4
|
-
title: string;
|
5
|
-
triggerSelector: string;
|
6
|
-
displayCloseButton?: boolean;
|
7
|
-
placement?: PopperOptions['placement'];
|
8
|
-
zIndex?: number;
|
9
|
-
}
|
10
|
-
export declare class Popover extends React.Component<IProps> {
|
11
|
-
render(): JSX.Element;
|
12
|
-
}
|
13
|
-
export {};
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
name: string;
|
4
|
-
isRequered: boolean;
|
5
|
-
type: string;
|
6
|
-
default: string;
|
7
|
-
description: string;
|
8
|
-
}
|
9
|
-
declare class Prop extends React.PureComponent<IProps> {
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
12
|
-
declare class PropsList extends React.PureComponent {
|
13
|
-
render(): JSX.Element;
|
14
|
-
}
|
15
|
-
export { Prop, PropsList };
|
@@ -1,19 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
value?: string;
|
4
|
-
options: Array<{
|
5
|
-
label: string;
|
6
|
-
value: string;
|
7
|
-
disabled?: boolean;
|
8
|
-
}>;
|
9
|
-
labelSide?: 'left' | 'right';
|
10
|
-
required?: boolean;
|
11
|
-
onChange(nextValue: string): void;
|
12
|
-
}
|
13
|
-
export declare class Radio extends React.Component<IProps> {
|
14
|
-
htmlId: string;
|
15
|
-
constructor(props: IProps);
|
16
|
-
handleChange(item: any): void;
|
17
|
-
render(): JSX.Element[];
|
18
|
-
}
|
19
|
-
export {};
|
@@ -1,20 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
value?: string;
|
4
|
-
options: Array<{
|
5
|
-
label: string;
|
6
|
-
value: string;
|
7
|
-
icon?: string;
|
8
|
-
labelHidden?: boolean;
|
9
|
-
disabled?: boolean;
|
10
|
-
}>;
|
11
|
-
required?: boolean;
|
12
|
-
onChange(nextValue: string): void;
|
13
|
-
}
|
14
|
-
export declare class RadioButton extends React.Component<IProps> {
|
15
|
-
htmlId: string;
|
16
|
-
constructor(props: IProps);
|
17
|
-
handleChange(item: any): void;
|
18
|
-
render(): JSX.Element;
|
19
|
-
}
|
20
|
-
export {};
|
@@ -1,29 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface ISelect {
|
3
|
-
value?: string;
|
4
|
-
label?: string;
|
5
|
-
info?: string;
|
6
|
-
error?: string;
|
7
|
-
required?: boolean;
|
8
|
-
disabled?: boolean;
|
9
|
-
invalid?: boolean;
|
10
|
-
inlineLabel?: boolean;
|
11
|
-
onChange(newValue: string): void;
|
12
|
-
}
|
13
|
-
interface IState {
|
14
|
-
value: string;
|
15
|
-
invalid: boolean;
|
16
|
-
}
|
17
|
-
declare class Select extends React.Component<ISelect, IState> {
|
18
|
-
constructor(props: ISelect);
|
19
|
-
htmlId: string;
|
20
|
-
handleChange(event: React.ChangeEvent<HTMLSelectElement>): void;
|
21
|
-
render(): JSX.Element;
|
22
|
-
}
|
23
|
-
interface IOption {
|
24
|
-
value?: string;
|
25
|
-
}
|
26
|
-
declare class Option extends React.PureComponent<IOption> {
|
27
|
-
render(): JSX.Element;
|
28
|
-
}
|
29
|
-
export { Select, Option };
|
@@ -1,32 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { Dropdown } from '@superdesk/primereact/dropdown';
|
3
|
-
interface IProps<T> {
|
4
|
-
getItems(searchString: string | null): Promise<Array<T>>;
|
5
|
-
value: T;
|
6
|
-
getLabel(option: T): string;
|
7
|
-
onChange(value: T): void;
|
8
|
-
areEqual(a: T, b: T): boolean;
|
9
|
-
itemTemplate: React.ComponentType<{
|
10
|
-
option: T | null;
|
11
|
-
}>;
|
12
|
-
noResultsFoundMessage: string;
|
13
|
-
filterPlaceholder?: string;
|
14
|
-
disabled?: boolean;
|
15
|
-
required?: boolean;
|
16
|
-
autoFocus?: boolean;
|
17
|
-
autoOpen?: boolean;
|
18
|
-
width?: 'min' | '100%';
|
19
|
-
zIndex?: number;
|
20
|
-
'data-test-id'?: string;
|
21
|
-
}
|
22
|
-
interface IState<T> {
|
23
|
-
options: Array<T>;
|
24
|
-
loading: boolean;
|
25
|
-
}
|
26
|
-
export declare class SelectWithTemplate<T> extends React.Component<IProps<T>, IState<T>> {
|
27
|
-
componentRef: Dropdown | null;
|
28
|
-
constructor(props: IProps<T>);
|
29
|
-
componentDidMount(): void;
|
30
|
-
render(): JSX.Element;
|
31
|
-
}
|
32
|
-
export {};
|
@@ -1,10 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
color?: 'light' | 'darker' | 'blueGrey' | 'blueGreyDarker' | 'darkUi';
|
4
|
-
zIndex?: number;
|
5
|
-
theme?: 'light' | 'dark';
|
6
|
-
}
|
7
|
-
export declare class SubNav extends React.PureComponent<IProps> {
|
8
|
-
render(): JSX.Element;
|
9
|
-
}
|
10
|
-
export {};
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
value: boolean;
|
4
|
-
disabled?: boolean;
|
5
|
-
onChange(nextValue: boolean): void;
|
6
|
-
}
|
7
|
-
export declare class Switch extends React.PureComponent<IProps> {
|
8
|
-
constructor(props: IProps);
|
9
|
-
onClick(): void;
|
10
|
-
render(): JSX.Element;
|
11
|
-
}
|
12
|
-
export {};
|
@@ -1,25 +0,0 @@
|
|
1
|
-
interface ITabs {
|
2
|
-
size?: 'normal' | 'large' | 'small';
|
3
|
-
theme?: 'light' | 'dark';
|
4
|
-
ariaLabel?: string;
|
5
|
-
children: Array<any>;
|
6
|
-
onClick(i: number): void;
|
7
|
-
}
|
8
|
-
interface ITabLabel {
|
9
|
-
label: string;
|
10
|
-
indexValue: number;
|
11
|
-
}
|
12
|
-
interface ITabContent {
|
13
|
-
theme?: 'light' | 'dark';
|
14
|
-
children: any;
|
15
|
-
activePanel: number;
|
16
|
-
}
|
17
|
-
interface ITabPanel {
|
18
|
-
indexValue: number;
|
19
|
-
children: any;
|
20
|
-
}
|
21
|
-
export declare const TabLabel: ({ label }: ITabLabel) => JSX.Element;
|
22
|
-
export declare const Tabs: ({ size, theme, ariaLabel, children, onClick }: ITabs) => JSX.Element;
|
23
|
-
export declare const TabContent: ({ theme, children, activePanel }: ITabContent) => JSX.Element;
|
24
|
-
export declare const TabPanel: ({ children, indexValue }: ITabPanel) => JSX.Element;
|
25
|
-
export {};
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface ITabList {
|
3
|
-
size?: 'normal' | 'large' | 'small';
|
4
|
-
theme?: 'light' | 'dark';
|
5
|
-
children: Array<any>;
|
6
|
-
}
|
7
|
-
interface IState {
|
8
|
-
index: number;
|
9
|
-
}
|
10
|
-
interface ITab {
|
11
|
-
label: string;
|
12
|
-
}
|
13
|
-
declare class Tab extends React.PureComponent<ITab> {
|
14
|
-
render(): JSX.Element;
|
15
|
-
}
|
16
|
-
declare class TabList extends React.PureComponent<ITabList, IState> {
|
17
|
-
constructor(props: ITabList);
|
18
|
-
private handleChange;
|
19
|
-
goTo(label: string): void;
|
20
|
-
render(): JSX.Element;
|
21
|
-
}
|
22
|
-
export { Tab, TabList };
|
@@ -1,9 +0,0 @@
|
|
1
|
-
interface IProps {
|
2
|
-
text: string;
|
3
|
-
keyValue?: number;
|
4
|
-
shade?: 'light' | 'darker' | 'highlight1' | 'highlight2';
|
5
|
-
shape?: 'round' | 'square';
|
6
|
-
onClick(): void;
|
7
|
-
}
|
8
|
-
export declare const Tag: ({ text, keyValue, shade, shape, onClick }: IProps) => JSX.Element;
|
9
|
-
export {};
|
@@ -1,18 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
items: Array<any>;
|
4
|
-
keyValue: string;
|
5
|
-
minLength?: number;
|
6
|
-
}
|
7
|
-
interface IState {
|
8
|
-
selectedItem: any;
|
9
|
-
filteredItems: any;
|
10
|
-
}
|
11
|
-
export declare class TagInputTest extends React.Component<IProps, IState> {
|
12
|
-
constructor(props: IProps);
|
13
|
-
searchItem(event: any): void;
|
14
|
-
itemTemplate(item: any): JSX.Element;
|
15
|
-
handleItem(e: any): void;
|
16
|
-
render(): JSX.Element;
|
17
|
-
}
|
18
|
-
export {};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
value: string;
|
4
|
-
onChange(valueNext: string): void;
|
5
|
-
required?: boolean;
|
6
|
-
disabled?: boolean;
|
7
|
-
}
|
8
|
-
export declare class TimePicker extends React.PureComponent<IProps> {
|
9
|
-
render(): JSX.Element;
|
10
|
-
}
|
11
|
-
export {};
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
interface IProps {
|
3
|
-
text: string;
|
4
|
-
flow?: 'top' | 'left' | 'right' | 'down';
|
5
|
-
}
|
6
|
-
export declare class Tooltip extends React.PureComponent<IProps> {
|
7
|
-
htmlId: string;
|
8
|
-
componentDidMount(): void;
|
9
|
-
render(): JSX.Element;
|
10
|
-
}
|
11
|
-
export {};
|
@@ -1,27 +0,0 @@
|
|
1
|
-
import * as React from 'react';
|
2
|
-
import { PopperOptions } from 'popper.js';
|
3
|
-
declare type ICloseOthersEvent = CustomEvent<{
|
4
|
-
triggerElement: HTMLElement;
|
5
|
-
}>;
|
6
|
-
interface IPropsPositioner {
|
7
|
-
triggerSelector: string;
|
8
|
-
placement: PopperOptions['placement'];
|
9
|
-
zIndex?: number;
|
10
|
-
className?: string;
|
11
|
-
}
|
12
|
-
interface IStatePositioner {
|
13
|
-
open: boolean;
|
14
|
-
}
|
15
|
-
export declare class Positioner extends React.Component<IPropsPositioner, IStatePositioner> {
|
16
|
-
elementForPositioner: HTMLDivElement;
|
17
|
-
triggerElement: HTMLElement;
|
18
|
-
constructor(props: IPropsPositioner);
|
19
|
-
handleCloseOthers(event: ICloseOthersEvent): void;
|
20
|
-
componentDidMount(): void;
|
21
|
-
componentWillUnmount(): void;
|
22
|
-
toggleDropdown(e: MouseEvent): void;
|
23
|
-
closeDropdownOnOutsideClick(wrapper: HTMLElement, event: MouseEvent): void;
|
24
|
-
componentDidUpdate(): void;
|
25
|
-
render(): null;
|
26
|
-
}
|
27
|
-
export {};
|