superdesk-ui-framework 3.0.1-beta.26 → 3.0.1-beta.28
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/.vscode/settings.json +5 -0
- package/app-typescript/dist/components/Alert.d.ts +16 -0
- package/app-typescript/dist/components/Autocomplete.d.ts +48 -0
- package/app-typescript/dist/components/Avatar.d.ts +33 -0
- package/app-typescript/dist/components/Badge.d.ts +13 -0
- package/app-typescript/dist/components/Button.d.ts +23 -0
- package/app-typescript/dist/components/ButtonGroup.d.ts +12 -0
- package/app-typescript/dist/components/CheckButtonGroup.d.ts +11 -0
- package/app-typescript/dist/components/CheckGroup.d.ts +9 -0
- package/app-typescript/dist/components/Checkbox.d.ts +19 -0
- package/app-typescript/dist/components/CheckboxButton.d.ts +19 -0
- package/app-typescript/dist/components/DatePicker.d.ts +37 -0
- package/app-typescript/dist/components/Divider.d.ts +9 -0
- package/app-typescript/dist/components/DonutChart.d.ts +12 -0
- package/app-typescript/dist/components/Dropdown.d.ts +28 -0
- package/app-typescript/dist/components/DropdownFirst.d.ts +42 -0
- package/app-typescript/dist/components/EmptyState.d.ts +11 -0
- package/app-typescript/dist/components/FormLabel.d.ts +9 -0
- package/app-typescript/dist/components/Genie.d.ts +13 -0
- package/app-typescript/dist/components/GridItem.d.ts +69 -0
- package/app-typescript/dist/components/GridList.d.ts +14 -0
- package/app-typescript/dist/components/HeadingText.d.ts +10 -0
- package/app-typescript/dist/components/HelloWorld.d.ts +8 -0
- package/app-typescript/dist/components/Icon.d.ts +12 -0
- package/app-typescript/dist/components/IconButton.d.ts +12 -0
- package/app-typescript/dist/components/IconLabel.d.ts +11 -0
- package/app-typescript/dist/components/Input.d.ts +24 -0
- package/app-typescript/dist/components/Label.d.ts +15 -0
- package/app-typescript/dist/components/LeftMenu.d.ts +26 -0
- package/app-typescript/dist/components/Loader.d.ts +8 -0
- package/app-typescript/dist/components/NavButton.d.ts +15 -0
- package/app-typescript/dist/components/Popover.d.ts +13 -0
- package/app-typescript/dist/components/PropsList.d.ts +15 -0
- package/app-typescript/dist/components/Radio.d.ts +19 -0
- package/app-typescript/dist/components/RadioButton.d.ts +20 -0
- package/app-typescript/dist/components/Select.d.ts +29 -0
- package/app-typescript/dist/components/SelectWithTemplate.d.ts +32 -0
- package/app-typescript/dist/components/SlidingToolbar.d.ts +8 -0
- package/app-typescript/dist/components/StrechBar.d.ts +4 -0
- package/app-typescript/dist/components/SubNav.d.ts +10 -0
- package/app-typescript/dist/components/Switch.d.ts +12 -0
- package/app-typescript/dist/components/TabCustom.d.ts +25 -0
- package/app-typescript/dist/components/TabList.d.ts +22 -0
- package/app-typescript/dist/components/Tag.d.ts +9 -0
- package/app-typescript/dist/components/TagInput.d.ts +7 -0
- package/app-typescript/dist/components/TagInputTest.d.ts +18 -0
- package/app-typescript/dist/components/TimePicker.d.ts +11 -0
- package/app-typescript/dist/components/Tooltip.d.ts +11 -0
- package/app-typescript/dist/components/_Positioner.d.ts +27 -0
- package/app-typescript/dist/index.d.ts +56 -0
- package/dist/examples.bundle.js +1 -1
- package/package.json +1 -1
- package/yarn-error.log +111 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
type?: 'primary' | 'success' | 'warning' | 'alert' | 'highlight' | 'sd-green';
|
4
|
+
style?: 'filled' | 'hollow';
|
5
|
+
size?: 'normal' | 'small';
|
6
|
+
restoreIcon?: 'info' | 'help';
|
7
|
+
}
|
8
|
+
interface IState {
|
9
|
+
open: boolean;
|
10
|
+
}
|
11
|
+
export declare class Alert extends React.PureComponent<IProps, IState> {
|
12
|
+
constructor(props: IProps);
|
13
|
+
onToggle(): void;
|
14
|
+
render(): JSX.Element;
|
15
|
+
}
|
16
|
+
export {};
|
@@ -0,0 +1,48 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
items: Array<any>;
|
4
|
+
keyValue?: string;
|
5
|
+
minLength?: number;
|
6
|
+
value?: string | object;
|
7
|
+
label?: string;
|
8
|
+
placeholder?: string;
|
9
|
+
info?: string;
|
10
|
+
error?: string;
|
11
|
+
required?: boolean;
|
12
|
+
disabled?: boolean;
|
13
|
+
invalid?: boolean;
|
14
|
+
inlineLabel?: boolean;
|
15
|
+
isSearchField?: boolean;
|
16
|
+
listItemTemplate?(value: any): any;
|
17
|
+
search?(searhString: string, callback: (result: Array<any>) => void): {
|
18
|
+
cancel: () => void;
|
19
|
+
};
|
20
|
+
onChange(newValue: string): void;
|
21
|
+
onSelect?(suggestion: string): void;
|
22
|
+
}
|
23
|
+
interface IState {
|
24
|
+
selectedItem: any;
|
25
|
+
filteredItems: any;
|
26
|
+
invalid: boolean;
|
27
|
+
focused: boolean;
|
28
|
+
}
|
29
|
+
export declare class Autocomplete extends React.Component<IProps, IState> {
|
30
|
+
latestCall?: {
|
31
|
+
cancel: () => void;
|
32
|
+
};
|
33
|
+
constructor(props: IProps);
|
34
|
+
htmlId: string;
|
35
|
+
search(term: string): void;
|
36
|
+
searchItem(event: any): void;
|
37
|
+
handleChange(event: {
|
38
|
+
originalEvent: Event;
|
39
|
+
value: any;
|
40
|
+
}): void;
|
41
|
+
handleSelect(event: {
|
42
|
+
originalEvent: Event;
|
43
|
+
value: any;
|
44
|
+
}): void;
|
45
|
+
handleInputClear(): void;
|
46
|
+
render(): JSX.Element;
|
47
|
+
}
|
48
|
+
export {};
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IBase {
|
3
|
+
tooltipText?: string;
|
4
|
+
}
|
5
|
+
interface IImageAvatar extends IBase {
|
6
|
+
imageUrl?: string;
|
7
|
+
}
|
8
|
+
interface ITextAvatar extends IBase {
|
9
|
+
text: string;
|
10
|
+
}
|
11
|
+
export declare class AvatarContentText extends React.PureComponent<ITextAvatar> {
|
12
|
+
render(): JSX.Element;
|
13
|
+
}
|
14
|
+
export declare class AvatarContentImage extends React.PureComponent<IImageAvatar> {
|
15
|
+
render(): JSX.Element;
|
16
|
+
}
|
17
|
+
interface IPropsAvatarWrapper {
|
18
|
+
size?: 'small' | 'medium' | 'large' | 'x-large' | 'xx-large';
|
19
|
+
statusIndicator?: {
|
20
|
+
status: 'online' | 'offline';
|
21
|
+
tooltipText?: string;
|
22
|
+
};
|
23
|
+
administratorIndicator?: {
|
24
|
+
enabled: boolean;
|
25
|
+
tooltipText?: string;
|
26
|
+
};
|
27
|
+
children: React.ReactNode;
|
28
|
+
'data-test-id'?: string;
|
29
|
+
}
|
30
|
+
export declare class AvatarWrapper extends React.PureComponent<IPropsAvatarWrapper> {
|
31
|
+
render(): JSX.Element;
|
32
|
+
}
|
33
|
+
export {};
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
text?: string;
|
4
|
+
type?: 'default' | 'primary' | 'success' | 'warning' | 'alert' | 'highlight' | 'light';
|
5
|
+
color?: string;
|
6
|
+
shape?: 'round' | 'square';
|
7
|
+
children?: React.ReactNode;
|
8
|
+
'data-test-id'?: string;
|
9
|
+
}
|
10
|
+
export declare class Badge extends React.PureComponent<IProps> {
|
11
|
+
render(): JSX.Element;
|
12
|
+
}
|
13
|
+
export {};
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IButtonBase {
|
3
|
+
id?: string;
|
4
|
+
theme?: 'light' | 'dark';
|
5
|
+
type?: 'default' | 'primary' | 'success' | 'warning' | 'alert' | 'highlight' | 'sd-green';
|
6
|
+
size?: 'small' | 'normal' | 'large';
|
7
|
+
children?: never;
|
8
|
+
icon?: string;
|
9
|
+
disabled?: boolean;
|
10
|
+
iconOnly?: boolean;
|
11
|
+
onClick(): void;
|
12
|
+
'data-test-id'?: string;
|
13
|
+
}
|
14
|
+
interface IPropsButton extends IButtonBase {
|
15
|
+
text: string;
|
16
|
+
expand?: boolean;
|
17
|
+
style?: 'filled' | 'hollow' | 'text-only';
|
18
|
+
shape?: 'square' | 'round';
|
19
|
+
}
|
20
|
+
export declare class Button extends React.PureComponent<IPropsButton> {
|
21
|
+
render(): JSX.Element;
|
22
|
+
}
|
23
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
4
|
+
spaces?: 'comfort' | 'compact';
|
5
|
+
align?: 'left' | 'right' | 'center' | 'inline';
|
6
|
+
padded?: boolean;
|
7
|
+
children: React.ReactNode;
|
8
|
+
}
|
9
|
+
export declare class ButtonGroup extends React.PureComponent<IProps> {
|
10
|
+
render(): JSX.Element;
|
11
|
+
}
|
12
|
+
export {};
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
orientation?: 'horizontal' | 'vertical';
|
4
|
+
grid?: boolean;
|
5
|
+
align?: 'left' | 'right' | 'center' | 'inline';
|
6
|
+
padded?: boolean;
|
7
|
+
}
|
8
|
+
export declare class CheckButtonGroup extends React.PureComponent<IProps> {
|
9
|
+
render(): JSX.Element;
|
10
|
+
}
|
11
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
label: {
|
4
|
+
text: string;
|
5
|
+
side?: 'left' | 'right';
|
6
|
+
hidden?: boolean;
|
7
|
+
};
|
8
|
+
checked?: boolean;
|
9
|
+
disabled?: boolean;
|
10
|
+
required?: boolean;
|
11
|
+
onChange(nextValue: boolean): void;
|
12
|
+
}
|
13
|
+
export declare class Checkbox extends React.Component<IProps> {
|
14
|
+
htmlId: string;
|
15
|
+
constructor(props: IProps);
|
16
|
+
handleChange(event: React.ChangeEvent<HTMLInputElement>): void;
|
17
|
+
render(): JSX.Element;
|
18
|
+
}
|
19
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
interface IProps {
|
3
|
+
label: {
|
4
|
+
text: string;
|
5
|
+
icon?: string;
|
6
|
+
hidden?: boolean;
|
7
|
+
};
|
8
|
+
checked?: boolean;
|
9
|
+
disabled?: boolean;
|
10
|
+
required?: boolean;
|
11
|
+
onChange(nextValue: boolean): void;
|
12
|
+
}
|
13
|
+
export declare class CheckboxButton extends React.Component<IProps> {
|
14
|
+
htmlId: string;
|
15
|
+
constructor(props: IProps);
|
16
|
+
handleChange(event: React.ChangeEvent<HTMLInputElement>): void;
|
17
|
+
render(): JSX.Element;
|
18
|
+
}
|
19
|
+
export {};
|
@@ -0,0 +1,37 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
import { LocaleSettings, CalendarProps } from '@superdesk/primereact/calendar';
|
3
|
+
export declare type DatePickerLocaleSettings = Omit<LocaleSettings, 'today' | 'clear'>;
|
4
|
+
interface IDatePickerBase {
|
5
|
+
disabled?: boolean;
|
6
|
+
dateFormat: string;
|
7
|
+
shortcuts?: Array<{
|
8
|
+
days: number;
|
9
|
+
label: string;
|
10
|
+
}>;
|
11
|
+
locale?: DatePickerLocaleSettings;
|
12
|
+
}
|
13
|
+
interface IDatePicker extends IDatePickerBase {
|
14
|
+
value: Date | null;
|
15
|
+
onChange(valueNext: Date | null): void;
|
16
|
+
}
|
17
|
+
interface IState {
|
18
|
+
value: CalendarProps['value'];
|
19
|
+
valid: boolean;
|
20
|
+
}
|
21
|
+
export declare class DatePicker extends React.PureComponent<IDatePicker, IState> {
|
22
|
+
private instance;
|
23
|
+
hidePopupOnScroll: () => void;
|
24
|
+
constructor(props: IDatePicker);
|
25
|
+
componentDidMount(): void;
|
26
|
+
componentWillUnmount(): void;
|
27
|
+
componentDidUpdate(prevProps: IDatePicker): void;
|
28
|
+
render(): JSX.Element;
|
29
|
+
}
|
30
|
+
interface IDatePickerISO extends IDatePickerBase {
|
31
|
+
value: string;
|
32
|
+
onChange(value: string): void;
|
33
|
+
}
|
34
|
+
export declare class DatePickerISO extends React.PureComponent<IDatePickerISO> {
|
35
|
+
render(): JSX.Element;
|
36
|
+
}
|
37
|
+
export {};
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import React from 'react';
|
2
|
+
import { ChartData, ChartOptions } from 'chart.js';
|
3
|
+
interface IProps {
|
4
|
+
data: ChartData;
|
5
|
+
options: ChartOptions;
|
6
|
+
width: string;
|
7
|
+
height: string;
|
8
|
+
}
|
9
|
+
export declare class DonutChart extends React.Component<IProps, {}> {
|
10
|
+
render(): JSX.Element;
|
11
|
+
}
|
12
|
+
export {};
|
@@ -0,0 +1,28 @@
|
|
1
|
+
import * as React from 'react';
|
2
|
+
export interface IMenuItem {
|
3
|
+
label: string;
|
4
|
+
icon?: string;
|
5
|
+
onSelect(): void;
|
6
|
+
}
|
7
|
+
export interface ISubmenu {
|
8
|
+
type: 'submenu';
|
9
|
+
label: string;
|
10
|
+
icon?: string;
|
11
|
+
items: Array<IMenuItem | ISubmenu | IMenuGroup | 'divider'>;
|
12
|
+
}
|
13
|
+
export interface IMenuGroup {
|
14
|
+
type: 'group';
|
15
|
+
label?: string;
|
16
|
+
items: Array<IMenuItem | ISubmenu | IMenuGroup | 'divider'>;
|
17
|
+
}
|
18
|
+
interface IMenu {
|
19
|
+
label?: string;
|
20
|
+
align?: 'left' | 'right';
|
21
|
+
items: Array<IMenuItem | ISubmenu | IMenuGroup | 'divider'>;
|
22
|
+
header?: Array<IMenuItem | ISubmenu | IMenuGroup | 'divider'>;
|
23
|
+
footer?: Array<IMenuItem | ISubmenu | IMenuGroup | 'divider'>;
|
24
|
+
append?: boolean;
|
25
|
+
children: React.ReactNode;
|
26
|
+
}
|
27
|
+
export declare const Dropdown: ({ items, header, footer, children, append, align, }: IMenu) => JSX.Element;
|
28
|
+
export {};
|
@@ -0,0 +1,42 @@
|
|
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 {};
|
@@ -0,0 +1,11 @@
|
|
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 {};
|
@@ -0,0 +1,69 @@
|
|
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 };
|
@@ -0,0 +1,14 @@
|
|
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 {};
|
@@ -0,0 +1,12 @@
|
|
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 {};
|
@@ -0,0 +1,12 @@
|
|
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 {};
|
@@ -0,0 +1,11 @@
|
|
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 {};
|
@@ -0,0 +1,24 @@
|
|
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 {};
|
@@ -0,0 +1,15 @@
|
|
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 {};
|
@@ -0,0 +1,26 @@
|
|
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 {};
|
@@ -0,0 +1,15 @@
|
|
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 {};
|
@@ -0,0 +1,13 @@
|
|
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 {};
|
@@ -0,0 +1,15 @@
|
|
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 };
|
@@ -0,0 +1,19 @@
|
|
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 {};
|
@@ -0,0 +1,20 @@
|
|
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 {};
|
@@ -0,0 +1,29 @@
|
|
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 };
|
@@ -0,0 +1,32 @@
|
|
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 {};
|
@@ -0,0 +1,10 @@
|
|
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 {};
|
@@ -0,0 +1,12 @@
|
|
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 {};
|
@@ -0,0 +1,25 @@
|
|
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 {};
|
@@ -0,0 +1,22 @@
|
|
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 };
|
@@ -0,0 +1,9 @@
|
|
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 {};
|
@@ -0,0 +1,18 @@
|
|
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 {};
|
@@ -0,0 +1,11 @@
|
|
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 {};
|
@@ -0,0 +1,11 @@
|
|
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 {};
|
@@ -0,0 +1,27 @@
|
|
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 {};
|
@@ -0,0 +1,56 @@
|
|
1
|
+
export { HelloWorld } from './components/HelloWorld';
|
2
|
+
export { Button } from './components/Button';
|
3
|
+
export { Input } from './components/Input';
|
4
|
+
export { Select, Option } from './components/Select';
|
5
|
+
export { SelectWithTemplate } from './components/SelectWithTemplate';
|
6
|
+
export { Popover } from './components/Popover';
|
7
|
+
export { Label } from './components/Label';
|
8
|
+
export { Badge } from './components/Badge';
|
9
|
+
export { Alert } from './components/Alert';
|
10
|
+
export { AvatarWrapper } from './components/Avatar';
|
11
|
+
export { AvatarContentText } from './components/Avatar';
|
12
|
+
export { AvatarContentImage } from './components/Avatar';
|
13
|
+
export { IconButton } from './components/IconButton';
|
14
|
+
export { IconLabel } from './components/IconLabel';
|
15
|
+
export { Tooltip } from './components/Tooltip';
|
16
|
+
export { DatePicker } from './components/DatePicker';
|
17
|
+
export { DatePickerISO } from './components/DatePicker';
|
18
|
+
export { DatePickerLocaleSettings } from './components/DatePicker';
|
19
|
+
export { TimePicker } from './components/TimePicker';
|
20
|
+
export { FormLabel } from './components/FormLabel';
|
21
|
+
export { Switch } from './components/Switch';
|
22
|
+
export { ButtonGroup } from './components/ButtonGroup';
|
23
|
+
export { Loader } from './components/Loader';
|
24
|
+
export { Radio } from './components/Radio';
|
25
|
+
export { Checkbox } from './components/Checkbox';
|
26
|
+
export { RadioButton } from './components/RadioButton';
|
27
|
+
export { CheckboxButton } from './components/CheckboxButton';
|
28
|
+
export { CheckGroup } from './components/CheckGroup';
|
29
|
+
export { CheckButtonGroup } from './components/CheckButtonGroup';
|
30
|
+
export { NavButton } from './components/NavButton';
|
31
|
+
export { Tab, TabList } from './components/TabList';
|
32
|
+
export { LeftMenu } from './components/LeftMenu';
|
33
|
+
export { SubNav } from './components/SubNav';
|
34
|
+
export { SlidingToolbar } from './components/SlidingToolbar';
|
35
|
+
export { StrechBar } from './components/StrechBar';
|
36
|
+
export { PropsList, Prop } from './components/PropsList';
|
37
|
+
export { Icon } from './components/Icon';
|
38
|
+
export { Divider } from './components/Divider';
|
39
|
+
export { HeadingText } from './components/HeadingText';
|
40
|
+
export { DropdownFirst } from './components/DropdownFirst';
|
41
|
+
export { DropdownItem } from './components/DropdownFirst';
|
42
|
+
export { DropdownLabel } from './components/DropdownFirst';
|
43
|
+
export { DropdownDivider } from './components/DropdownFirst';
|
44
|
+
export { Dropdown } from './components/Dropdown';
|
45
|
+
export { Tag } from './components/Tag';
|
46
|
+
export { TabLabel, TabPanel, TabContent, Tabs } from './components/TabCustom';
|
47
|
+
export { EmptyState } from './components/EmptyState';
|
48
|
+
export { Autocomplete } from './components/Autocomplete';
|
49
|
+
export { DonutChart } from './components/DonutChart';
|
50
|
+
export { TagInput } from './components/TagInput';
|
51
|
+
export { TagInputTest } from './components/TagInputTest';
|
52
|
+
export { Genie } from './components/Genie';
|
53
|
+
export { GridList } from './components/GridList';
|
54
|
+
export { GridItem, GridItemContent, GridItemMedia, GridItemFooter, GridItemContentBlock, GridItemTime, GridItemTitle, GridItemText, GridItemSlug, GridItemFooterBlock, GridItemFooterActions, GridItemTopActions, GridItemCheckWrapper } from './components/GridItem';
|
55
|
+
export declare const ToggleBoxNext: any;
|
56
|
+
export declare const reactToAngular1: any;
|
package/dist/examples.bundle.js
CHANGED
@@ -138292,7 +138292,7 @@ exports.WithSizeObserverDocs = WithSizeObserverDocs;
|
|
138292
138292
|
/* 651 */
|
138293
138293
|
/***/ (function(module, exports) {
|
138294
138294
|
|
138295
|
-
module.exports = {"name":"superdesk-ui-framework","version":"3.0.1-beta.
|
138295
|
+
module.exports = {"name":"superdesk-ui-framework","version":"3.0.1-beta.28","license":"AGPL-3.0","repository":{"type":"git","url":"https://github.com/superdesk/superdesk-ui-framework.git"},"main":"dist/superdesk-ui.bundle.js","types":"react/index.d.ts","contributors":["Nemanja Pavlovic","Vladimir Stefanovic","Darko Tomic","Aleksandar Jelicic","Tomas Kikutis","Dragana Zivkovic"],"scripts":{"start":"webpack-dev-server --config tasks/webpack.dev.js","server":"webpack --watch --config tasks/webpack.prod.js && tsc-watch","build":"webpack --config tasks/webpack.prod.js && tsc","build-ui":"webpack && tsc && npm run lint","lint":"eslint --parser=@typescript-eslint/parser app && tslint -c tslint.json 'app-typescript/**/*.{ts,tsx}'","lint-fix":"tsc -p tsconfig.json --noEmit && tslint --fix -c tslint.json 'app-typescript/**/*.{ts,tsx}'","prepublishOnly":"npm run build"},"devDependencies":{"@types/chart.js":"^2.9.24","@types/classnames":"^2.2.9","@types/lodash":"^4.14.161","@types/react":"16.8.23","@types/react-beautiful-dnd":"^13.1.2","@types/react-dom":"16.8.0","@types/react-router-dom":"^5.1.2","@types/react-scrollspy":"^3.3.5","@typescript-eslint/parser":"5.14.0","angular":"^1.7.9","angular-animate":"^1.7.9","angular-route":"^1.7.9","babel-core":"^6.26.0","babel-loader":"^7.1.2","babel-plugin-transform-object-rest-spread":"^6.26.0","babel-preset-es2015":"^6.24.1","babel-preset-react":"^6.24.1","classnames":"^2.2.5","clean-webpack-plugin":"^1.0.0","code-prettify":"^0.1.0","copy-webpack-plugin":"^4.6.0","css-loader":"^2.1.1","eslint":"^4.6.1","eslint-loader":"^1.9.0","eslint-plugin-angular":"^3.1.1","eslint-plugin-react":"^7.3.0","extract-text-webpack-plugin":"^3.0.2","file-loader":"^0.11.2","html-loader":"^0.5.1","html-webpack-plugin":"^2.30.1","jquery":"^3.1.1","jquery-ui":"^1.12.1","lodash":"4.17.21","node-sass":"6.0","prismjs":"^1.28.0","prop-types":"^15.6.0","react":"16.8.6","react-bootstrap":"^0.31.2","react-dom":"16.8.6","react-redux":"^5.0.6","react-router-dom":"^5.1.2","redux":"^3.7.2","redux-form":"^7.0.4","sass-loader":"^6.0.6","style-loader":"^0.18.2","superdesk-code-style":"^1.1.2","ts-loader":"^6.0.2","tslint":"^5.18.0","typescript":"4.5.2","url-loader":"^1.1.2","webpack":"^3.5.5","webpack-cli":"3.3.10","webpack-dev-server":"2.11.1","webpack-merge":"^4.2.1"},"dependencies":{"@material-ui/lab":"^4.0.0-alpha.56","@popperjs/core":"^2.4.0","@superdesk/primereact":"^5.0.2-6","@types/node":"^14.10.2","chart.js":"^2.9.3","date-fns":"2.7.0","moment":"^2.29.3","popper.js":"1.14.4","primeicons":"2.0.0","react-beautiful-dnd":"^13.0.0","react-id-generator":"^3.0.0","react-popper":"^2.2.3","react-scrollspy":"^3.4.3"}}
|
138296
138296
|
|
138297
138297
|
/***/ }),
|
138298
138298
|
/* 652 */
|
package/package.json
CHANGED
package/yarn-error.log
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
Arguments:
|
2
|
+
/usr/local/bin/node /usr/local/bin/yarn install
|
3
|
+
|
4
|
+
PATH:
|
5
|
+
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
|
6
|
+
|
7
|
+
Yarn version:
|
8
|
+
1.21.1
|
9
|
+
|
10
|
+
Node version:
|
11
|
+
12.14.1
|
12
|
+
|
13
|
+
Platform:
|
14
|
+
linux x64
|
15
|
+
|
16
|
+
Trace:
|
17
|
+
Error: getaddrinfo EAI_AGAIN registry.yarnpkg.com
|
18
|
+
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:60:26)
|
19
|
+
|
20
|
+
npm manifest:
|
21
|
+
{
|
22
|
+
"name": "superdesk-ui-framework",
|
23
|
+
"version": "2.1.11",
|
24
|
+
"license": "AGPL-3.0",
|
25
|
+
"repository": {
|
26
|
+
"type": "git",
|
27
|
+
"url": "https://github.com/superdesk/superdesk-ui-framework.git"
|
28
|
+
},
|
29
|
+
"main": "dist/superdesk-ui.bundle.js",
|
30
|
+
"types": "app-typescript/dist/index.d.ts",
|
31
|
+
"contributors": [
|
32
|
+
"Nemanja Pavlovic",
|
33
|
+
"Vladimir Stefanovic",
|
34
|
+
"Darko Tomic",
|
35
|
+
"Aleksandar Jelicic",
|
36
|
+
"Tomas Kikutis"
|
37
|
+
],
|
38
|
+
"scripts": {
|
39
|
+
"start": "webpack-dev-server --config tasks/webpack.dev.js",
|
40
|
+
"server": "webpack --watch",
|
41
|
+
"build": "webpack && npm run lint && tsc",
|
42
|
+
"lint": "eslint app && tslint -c tslint.json 'app-typescript/**/*.{ts,tsx}'",
|
43
|
+
"prepublishOnly": "npm run build",
|
44
|
+
"prepublish": "patch-package"
|
45
|
+
},
|
46
|
+
"devDependencies": {
|
47
|
+
"@types/classnames": "^2.2.9",
|
48
|
+
"@types/lodash": "4.14.149",
|
49
|
+
"@types/react": "16.8.23",
|
50
|
+
"@types/react-dom": "16.8.0",
|
51
|
+
"@types/react-router-dom": "^5.1.2",
|
52
|
+
"angular": "^1.7.9",
|
53
|
+
"angular-animate": "^1.7.9",
|
54
|
+
"angular-route": "^1.7.9",
|
55
|
+
"babel-core": "^6.26.0",
|
56
|
+
"babel-loader": "^7.1.2",
|
57
|
+
"babel-plugin-transform-object-rest-spread": "^6.26.0",
|
58
|
+
"babel-preset-es2015": "^6.24.1",
|
59
|
+
"babel-preset-react": "^6.24.1",
|
60
|
+
"classnames": "^2.2.5",
|
61
|
+
"clean-webpack-plugin": "^1.0.0",
|
62
|
+
"code-prettify": "^0.1.0",
|
63
|
+
"copy-webpack-plugin": "^4.6.0",
|
64
|
+
"css-loader": "^2.1.1",
|
65
|
+
"eslint": "^4.6.1",
|
66
|
+
"eslint-loader": "^1.9.0",
|
67
|
+
"eslint-plugin-angular": "^3.1.1",
|
68
|
+
"eslint-plugin-react": "^7.3.0",
|
69
|
+
"extract-text-webpack-plugin": "^3.0.2",
|
70
|
+
"file-loader": "^0.11.2",
|
71
|
+
"html-loader": "^0.5.1",
|
72
|
+
"html-webpack-plugin": "^2.30.1",
|
73
|
+
"jquery": "^3.1.1",
|
74
|
+
"jquery-ui": "^1.12.1",
|
75
|
+
"lodash": "4.17.15",
|
76
|
+
"node-sass": "^4.5.3",
|
77
|
+
"patch-package": "6.2.0",
|
78
|
+
"prismjs": "^1.17.1",
|
79
|
+
"prop-types": "^15.6.0",
|
80
|
+
"react": "16.8.6",
|
81
|
+
"react-bootstrap": "^0.31.2",
|
82
|
+
"react-dom": "16.8.6",
|
83
|
+
"react-redux": "^5.0.6",
|
84
|
+
"react-router-dom": "^5.1.2",
|
85
|
+
"redux": "^3.7.2",
|
86
|
+
"redux-form": "^7.0.4",
|
87
|
+
"sass-loader": "^6.0.6",
|
88
|
+
"style-loader": "^0.18.2",
|
89
|
+
"superdesk-code-style": "^1.1.2",
|
90
|
+
"ts-loader": "^6.0.2",
|
91
|
+
"tslint": "^5.18.0",
|
92
|
+
"typescript": "^3.5.1",
|
93
|
+
"url-loader": "^1.1.2",
|
94
|
+
"webpack": "^3.5.5",
|
95
|
+
"webpack-cli": "3.3.10",
|
96
|
+
"webpack-dev-server": "2.11.1",
|
97
|
+
"webpack-merge": "^4.2.1"
|
98
|
+
},
|
99
|
+
"dependencies": {
|
100
|
+
"date-fns": "2.7.0",
|
101
|
+
"popper.js": "1.14.4",
|
102
|
+
"primeicons": "2.0.0",
|
103
|
+
"primereact": "3.3.2"
|
104
|
+
}
|
105
|
+
}
|
106
|
+
|
107
|
+
yarn manifest:
|
108
|
+
No manifest
|
109
|
+
|
110
|
+
Lockfile:
|
111
|
+
No lockfile
|