superdesk-ui-framework 3.0.1-beta.3 → 3.0.1-beta.30
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/fonts/sd_icons.eot +0 -0
- package/app/fonts/sd_icons.svg +14 -7
- package/app/fonts/sd_icons.ttf +0 -0
- package/app/fonts/sd_icons.woff +0 -0
- package/app/scripts/toggleBoxNext.js +1 -1
- package/app/styles/_big-icon-font.scss +1 -1
- package/app/styles/_buttons.scss +11 -6
- package/app/styles/_content-divider.scss +63 -8
- package/app/styles/_helpers.scss +24 -1
- package/app/styles/_icon-font.scss +17 -10
- package/app/styles/_labels.scss +0 -1
- package/app/styles/_master-desk.scss +3 -2
- package/app/styles/_modals.scss +6 -3
- package/app/styles/_normalize.scss +4 -0
- package/app/styles/_sd-tag-input.scss +256 -296
- package/app/styles/_simple-list.scss +0 -2
- package/app/styles/_table-list.scss +116 -12
- package/app/styles/app.scss +1 -0
- package/app/styles/components/_list-item.scss +36 -17
- package/app/styles/components/_sd-collapse-box.scss +6 -6
- package/app/styles/components/_sd-comment-box.scss +8 -4
- package/app/styles/components/_sd-editor-popup.scss +4 -4
- package/app/styles/components/_sd-grid-item.scss +30 -16
- package/app/styles/components/_sd-media-carousel.scss +37 -2
- package/app/styles/components/_sd-photo-preview.scss +3 -3
- package/app/styles/components/_sd-searchbar.scss +7 -0
- package/app/styles/components/_subnav.scss +470 -470
- package/app/styles/design-tokens/_design-tokens-general.scss +1 -1
- package/app/styles/design-tokens/_new-colors.scss +30 -13
- package/app/styles/dropdowns/_basic-dropdown.scss +6 -0
- package/app/styles/form-elements/_forms-general.scss +81 -7
- package/app/styles/form-elements/_input-wrap.scss +138 -0
- package/app/styles/form-elements/_inputs.scss +368 -110
- package/app/styles/grids/_grid-layout.scss +34 -1
- package/app/styles/interface-elements/_side-panel.scss +1 -1
- package/app/styles/layout/_basic-layout.scss +2 -2
- package/app/styles/layout/_editor.scss +10 -4
- package/app/styles/primereact/_pr-datepicker.scss +4 -2
- package/app/styles/primereact/_pr-dialog.scss +5 -0
- package/app/styles/primereact/_pr-dropdown.scss +17 -1
- package/app/styles/primereact/_pr-menu.scss +6 -5
- package/app/styles/variables/_colors.scss +21 -21
- package/app-typescript/components/Badge.tsx +3 -2
- package/app-typescript/components/ContentDivider.tsx +3 -0
- package/app-typescript/components/DatePicker.tsx +40 -52
- package/app-typescript/components/Dropdown.tsx +127 -82
- package/app-typescript/components/DurationInput.tsx +400 -0
- package/app-typescript/components/EmptyState.tsx +2 -1
- package/app-typescript/components/Form/FormLabel.tsx +8 -1
- package/app-typescript/components/Form/FormRowNew.tsx +41 -0
- package/app-typescript/components/Form/InputBase.tsx +95 -0
- package/app-typescript/components/Form/InputNew.tsx +107 -0
- package/app-typescript/components/Form/InputWrapper.tsx +79 -0
- package/app-typescript/components/Form/index.tsx +4 -0
- package/app-typescript/components/Input.tsx +28 -45
- package/app-typescript/components/Label.tsx +65 -10
- package/app-typescript/components/Layouts/AuthoringContainer.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrame.tsx +2 -1
- package/app-typescript/components/Layouts/AuthoringFrameRightBar.tsx +21 -2
- package/app-typescript/components/Layouts/AuthoringInnerHeader.tsx +1 -1
- package/app-typescript/components/Layouts/AuthoringMain.tsx +4 -2
- package/app-typescript/components/Layouts/CoreLayout.tsx +2 -1
- package/app-typescript/components/Layouts/CoreLayoutMain.tsx +7 -1
- package/app-typescript/components/Layouts/Layout.tsx +1 -1
- package/app-typescript/components/LeftMenu.tsx +127 -122
- package/app-typescript/components/Lists/ContentList.tsx +66 -33
- package/app-typescript/components/Lists/TableList.tsx +348 -151
- package/app-typescript/components/Menu.tsx +2 -2
- package/app-typescript/components/MultiSelect.tsx +37 -50
- package/app-typescript/components/NavButton.tsx +2 -1
- package/app-typescript/components/Navigation/BottomNav.tsx +3 -2
- package/app-typescript/components/SearchBar.tsx +39 -12
- package/app-typescript/components/Select.tsx +23 -41
- package/app-typescript/components/SelectWithTemplate.tsx +32 -7
- package/app-typescript/components/Spacer.tsx +87 -0
- package/app-typescript/components/TimePicker.tsx +38 -15
- package/app-typescript/components/TreeSelect.tsx +546 -212
- package/app-typescript/index.ts +6 -1
- package/dist/examples.bundle.css +344 -71
- package/dist/examples.bundle.js +48203 -45174
- package/dist/playgrounds/react-playgrounds/CoreLayout.tsx +65 -54
- package/dist/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/dist/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/dist/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/dist/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/dist/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/dist/playgrounds/react-playgrounds/TestGround.tsx +379 -25
- package/dist/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/dist/react/Badges.tsx +18 -0
- package/dist/react/ContentDivider.tsx +22 -18
- package/dist/react/ContentList.tsx +200 -18
- package/dist/react/DatePicker.tsx +21 -1
- package/dist/react/Dropdowns.tsx +580 -48
- package/dist/react/DurationInput.tsx +108 -0
- package/dist/react/Index.tsx +5 -0
- package/dist/react/Inputs.tsx +147 -2
- package/dist/react/Labels.tsx +51 -1
- package/dist/react/LeftNavigations.tsx +71 -44
- package/dist/react/MultiSelect.tsx +10 -7
- package/dist/react/NavButtons.tsx +31 -1
- package/dist/react/SelectWithTemplate.tsx +6 -1
- package/dist/react/TableList.tsx +79 -186
- package/dist/react/TimePicker.tsx +22 -12
- package/dist/react/Togglebox.tsx +1 -1
- package/dist/react/TreeSelect.tsx +295 -51
- package/dist/react/tree-select/TreeSelect.tsx +273 -0
- package/dist/react/tree-select/example-1.tsx +71 -0
- package/dist/react/tree-select/example-2.tsx +59 -0
- package/dist/sd_icons.eot +0 -0
- package/dist/sd_icons.svg +14 -7
- package/dist/sd_icons.ttf +0 -0
- package/dist/sd_icons.woff +0 -0
- package/dist/superdesk-ui.bundle.css +2282 -782
- package/dist/superdesk-ui.bundle.js +37312 -21800
- package/dist/vendor.bundle.js +27 -27
- package/examples/css/docs-page.css +4 -4
- package/examples/index.js +4 -0
- package/examples/pages/playgrounds/react-playgrounds/CoreLayout.tsx +65 -54
- package/examples/pages/playgrounds/react-playgrounds/Index.tsx +1 -0
- package/examples/pages/playgrounds/react-playgrounds/Multiedit.tsx +321 -0
- package/examples/pages/playgrounds/react-playgrounds/RundownEditor.tsx +26 -23
- package/examples/pages/playgrounds/react-playgrounds/Rundowns.tsx +20 -21
- package/examples/pages/playgrounds/react-playgrounds/SamsPlayground.tsx +12 -3
- package/examples/pages/playgrounds/react-playgrounds/TestGround.tsx +379 -25
- package/examples/pages/playgrounds/react-playgrounds/components/Layout.tsx +1 -1
- package/examples/pages/react/Badges.tsx +18 -0
- package/examples/pages/react/ContentDivider.tsx +22 -18
- package/examples/pages/react/ContentList.tsx +200 -18
- package/examples/pages/react/DatePicker.tsx +21 -1
- package/examples/pages/react/Dropdowns.tsx +580 -48
- package/examples/pages/react/DurationInput.tsx +108 -0
- package/examples/pages/react/Index.tsx +5 -0
- package/examples/pages/react/Inputs.tsx +147 -2
- package/examples/pages/react/Labels.tsx +51 -1
- package/examples/pages/react/LeftNavigations.tsx +71 -44
- package/examples/pages/react/MultiSelect.tsx +10 -7
- package/examples/pages/react/NavButtons.tsx +31 -1
- package/examples/pages/react/SelectWithTemplate.tsx +6 -1
- package/examples/pages/react/TableList.tsx +79 -186
- package/examples/pages/react/TimePicker.tsx +22 -12
- package/examples/pages/react/Togglebox.tsx +1 -1
- package/examples/pages/react/TreeSelect.tsx +295 -51
- package/examples/pages/react/tree-select/TreeSelect.tsx +273 -0
- package/examples/pages/react/tree-select/example-1.tsx +71 -0
- package/examples/pages/react/tree-select/example-2.tsx +59 -0
- package/package.json +5 -5
- package/react/components/Badge.d.ts +1 -0
- package/react/components/Badge.js +2 -2
- package/react/components/ContentDivider.d.ts +1 -0
- package/react/components/ContentDivider.js +2 -0
- package/react/components/DatePicker.d.ts +1 -0
- package/react/components/DatePicker.js +6 -22
- package/react/components/Dropdown.d.ts +6 -5
- package/react/components/Dropdown.js +57 -30
- package/react/components/DurationInput.d.ts +42 -0
- package/react/components/DurationInput.js +364 -0
- package/react/components/EmptyState.d.ts +1 -0
- package/react/components/EmptyState.js +1 -1
- package/react/components/Form/FormLabel.d.ts +4 -1
- package/react/components/Form/FormLabel.js +9 -3
- package/react/components/Form/FormRowNew.d.ts +12 -0
- package/react/components/Form/FormRowNew.js +67 -0
- package/react/components/Form/InputBase.d.ts +41 -0
- package/react/components/Form/InputBase.js +86 -0
- package/react/components/Form/InputNew.d.ts +45 -0
- package/react/components/Form/InputNew.js +75 -0
- package/react/components/Form/InputWrapper.d.ts +28 -0
- package/react/components/Form/InputWrapper.js +91 -0
- package/react/components/Form/index.d.ts +4 -0
- package/react/components/Form/index.js +9 -1
- package/react/components/Input.js +5 -34
- package/react/components/Label.d.ts +2 -0
- package/react/components/Label.js +34 -3
- package/react/components/Layouts/AuthoringContainer.d.ts +1 -0
- package/react/components/Layouts/AuthoringContainer.js +1 -1
- package/react/components/Layouts/AuthoringFrame.d.ts +1 -0
- package/react/components/Layouts/AuthoringFrame.js +1 -1
- package/react/components/Layouts/AuthoringFrameRightBar.d.ts +9 -2
- package/react/components/Layouts/AuthoringFrameRightBar.js +14 -3
- package/react/components/Layouts/AuthoringInnerHeader.js +1 -1
- package/react/components/Layouts/AuthoringMain.js +1 -1
- package/react/components/Layouts/CoreLayout.d.ts +1 -0
- package/react/components/Layouts/CoreLayout.js +1 -1
- package/react/components/Layouts/CoreLayoutMain.d.ts +1 -0
- package/react/components/Layouts/CoreLayoutMain.js +8 -1
- package/react/components/Layouts/Layout.js +1 -1
- package/react/components/LeftMenu.d.ts +3 -1
- package/react/components/LeftMenu.js +8 -1
- package/react/components/Lists/ContentList.d.ts +51 -0
- package/react/components/Lists/ContentList.js +110 -0
- package/react/components/Lists/TableList.d.ts +64 -0
- package/react/components/Lists/TableList.js +240 -0
- package/react/components/Menu.js +1 -1
- package/react/components/MultiSelect.d.ts +40 -0
- package/react/components/MultiSelect.js +70 -0
- package/react/components/NavButton.d.ts +1 -1
- package/react/components/Navigation/BottomNav.d.ts +1 -0
- package/react/components/Navigation/BottomNav.js +2 -2
- package/react/components/SearchBar.d.ts +3 -2
- package/react/components/SearchBar.js +28 -4
- package/react/components/Select.d.ts +1 -1
- package/react/components/Select.js +4 -26
- package/react/components/SelectWithTemplate.d.ts +11 -1
- package/react/components/SelectWithTemplate.js +19 -10
- package/react/components/TimePicker.d.ts +11 -1
- package/react/components/TimePicker.js +10 -3
- package/react/components/TreeSelect.d.ts +82 -0
- package/react/components/TreeSelect.js +521 -0
- package/react/index.d.ts +6 -0
- package/react/index.js +16 -3
- 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/patches/@superdesk+primereact+5.0.2-4.patch +0 -57
- package/yarn-error.log +0 -111
@@ -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 {};
|
@@ -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;
|
@@ -1,57 +0,0 @@
|
|
1
|
-
diff --git a/node_modules/@superdesk/primereact/components/dialog/Dialog.d.ts b/node_modules/@superdesk/primereact/components/dialog/Dialog.d.ts
|
2
|
-
index 80b0f8e..5343abf 100644
|
3
|
-
--- a/node_modules/@superdesk/primereact/components/dialog/Dialog.d.ts
|
4
|
-
+++ b/node_modules/@superdesk/primereact/components/dialog/Dialog.d.ts
|
5
|
-
@@ -18,7 +18,7 @@ interface DialogProps {
|
6
|
-
maskClassName?: string;
|
7
|
-
showHeader?: boolean;
|
8
|
-
appendTo?: HTMLElement;
|
9
|
-
- baseZIndex?: number;
|
10
|
-
+ zIndex?: number;
|
11
|
-
maximizable?: boolean;
|
12
|
-
blockScroll?: boolean;
|
13
|
-
ariaCloseIconLabel?: string;
|
14
|
-
diff --git a/node_modules/@superdesk/primereact/components/dialog/Dialog.js b/node_modules/@superdesk/primereact/components/dialog/Dialog.js
|
15
|
-
index 2e243f2..c40162e 100644
|
16
|
-
--- a/node_modules/@superdesk/primereact/components/dialog/Dialog.js
|
17
|
-
+++ b/node_modules/@superdesk/primereact/components/dialog/Dialog.js
|
18
|
-
@@ -148,7 +148,7 @@ var Dialog = /*#__PURE__*/function (_Component) {
|
19
|
-
}, {
|
20
|
-
key: "zIndex",
|
21
|
-
get: function get() {
|
22
|
-
- return this.props.baseZIndex + _DomHandler.default.generateZIndex();
|
23
|
-
+ return this.props.zIndex;
|
24
|
-
}
|
25
|
-
}, {
|
26
|
-
key: "maximized",
|
27
|
-
@@ -501,7 +501,7 @@ _defineProperty(Dialog, "defaultProps", {
|
28
|
-
maskClassName: null,
|
29
|
-
showHeader: true,
|
30
|
-
appendTo: null,
|
31
|
-
- baseZIndex: 0,
|
32
|
-
+ zIndex: 0,
|
33
|
-
maximizable: false,
|
34
|
-
blockScroll: false,
|
35
|
-
icons: null,
|
36
|
-
@@ -531,7 +531,7 @@ _defineProperty(Dialog, "propTypes", {
|
37
|
-
maskClassName: _propTypes.default.string,
|
38
|
-
showHeader: _propTypes.default.bool,
|
39
|
-
appendTo: _propTypes.default.object,
|
40
|
-
- baseZIndex: _propTypes.default.number,
|
41
|
-
+ zIndex: _propTypes.default.number,
|
42
|
-
maximizable: _propTypes.default.bool,
|
43
|
-
blockScroll: _propTypes.default.bool,
|
44
|
-
icons: _propTypes.default.any,
|
45
|
-
diff --git a/node_modules/@superdesk/primereact/components/tieredmenu/TieredMenu.d.ts b/node_modules/@superdesk/primereact/components/tieredmenu/TieredMenu.d.ts
|
46
|
-
index a91da27..3dd7822 100644
|
47
|
-
--- a/node_modules/@superdesk/primereact/components/tieredmenu/TieredMenu.d.ts
|
48
|
-
+++ b/node_modules/@superdesk/primereact/components/tieredmenu/TieredMenu.d.ts
|
49
|
-
@@ -9,7 +9,7 @@ interface TieredMenuProps {
|
50
|
-
style?: object;
|
51
|
-
className?: string;
|
52
|
-
autoZIndex?: boolean;
|
53
|
-
- bazeZIndex?: number;
|
54
|
-
+ baseZIndex?: number;
|
55
|
-
appendTo?: any;
|
56
|
-
onShow?(e: Event): void;
|
57
|
-
onHide?(e: Event): void;
|
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
|