superdesk-ui-framework 3.0.1-beta.12 → 3.0.1-beta.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/app-typescript/components/Dropdown.tsx +58 -30
- package/dist/examples.bundle.js +1755 -1665
- package/dist/react/Dropdowns.tsx +227 -47
- package/dist/superdesk-ui.bundle.css +1 -1
- package/dist/superdesk-ui.bundle.js +1234 -1297
- package/dist/vendor.bundle.js +14 -14
- package/examples/pages/react/Dropdowns.tsx +227 -47
- package/package.json +1 -1
- package/react/components/Dropdown.js +30 -16
- 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,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 {};
|
@@ -1,56 +0,0 @@
|
|
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/yarn-error.log
DELETED
@@ -1,111 +0,0 @@
|
|
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
|