superdesk-ui-framework 4.0.88 → 4.0.90
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/index.js +1 -45
- package/app-typescript/components/EmptyState.tsx +1 -1
- package/app-typescript/components/Layouts/Panel.tsx +1 -7
- package/dist/examples.bundle.js +95 -101
- package/dist/superdesk-ui.bundle.js +105 -140
- package/package.json +1 -1
- package/react/components/EmptyState.js +1 -1
- package/react/components/Layouts/Panel.d.ts +0 -1
- package/react/components/Layouts/Panel.js +2 -8
package/app/index.js
CHANGED
|
@@ -6,51 +6,7 @@ export {ToggleBoxNext} from './scripts/toggleBoxNext';
|
|
|
6
6
|
export {Positioner} from './scripts/positioner';
|
|
7
7
|
|
|
8
8
|
// TypeScript exports
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
HelloWorld,
|
|
12
|
-
Button,
|
|
13
|
-
ButtonGroup,
|
|
14
|
-
Label,
|
|
15
|
-
Badge,
|
|
16
|
-
Alert,
|
|
17
|
-
AvatarWrapper,
|
|
18
|
-
AvatarContentText,
|
|
19
|
-
AvatarContentImage,
|
|
20
|
-
IconButton,
|
|
21
|
-
IconLabel,
|
|
22
|
-
Tooltip,
|
|
23
|
-
DatePicker,
|
|
24
|
-
DatePickerISO,
|
|
25
|
-
TimePicker,
|
|
26
|
-
FormLabel,
|
|
27
|
-
Switch,
|
|
28
|
-
SwitchGroup,
|
|
29
|
-
Loader,
|
|
30
|
-
RadioGroup,
|
|
31
|
-
CheckBox,
|
|
32
|
-
RadioButton,
|
|
33
|
-
CheckboxButton,
|
|
34
|
-
CheckGroup,
|
|
35
|
-
CheckButtonGroup,
|
|
36
|
-
NavButton,
|
|
37
|
-
Tab,
|
|
38
|
-
TabList,
|
|
39
|
-
toasted,
|
|
40
|
-
Menu,
|
|
41
|
-
SubNav,
|
|
42
|
-
SlidingToolbar,
|
|
43
|
-
StrechBar,
|
|
44
|
-
PropsList,
|
|
45
|
-
Prop,
|
|
46
|
-
Icon,
|
|
47
|
-
NotificationToast,
|
|
48
|
-
Dropdown,
|
|
49
|
-
Popover,
|
|
50
|
-
Carousel,
|
|
51
|
-
ContentDivider,
|
|
52
|
-
CalendarWeekDayItem,
|
|
53
|
-
} from '../app-typescript/index';
|
|
9
|
+
export * from '../app-typescript/index';
|
|
54
10
|
|
|
55
11
|
export default angular.module('superdesk-ui', [
|
|
56
12
|
'superdesk-ui.helper',
|
|
@@ -18,7 +18,7 @@ export class EmptyState extends React.PureComponent<IProps> {
|
|
|
18
18
|
|
|
19
19
|
const size = this.props.size ?? 'small';
|
|
20
20
|
const illustration = this.props.illustration ?? '1';
|
|
21
|
-
const image = require(`../../app/img/empty_states/empty-state--${size}-${illustration}.svg`)
|
|
21
|
+
const image = require(`../../app/img/empty_states/empty-state--${size}-${illustration}.svg`);
|
|
22
22
|
|
|
23
23
|
return (
|
|
24
24
|
<div
|
|
@@ -3,7 +3,6 @@ import {IconButton} from '../IconButton';
|
|
|
3
3
|
import {Spinner, LoadingOverlay} from '../Spinner';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import {ButtonGroup} from '../ButtonGroup';
|
|
6
|
-
import {getNextZIndex} from '../../zIndex';
|
|
7
6
|
|
|
8
7
|
// ============= Panel ============ //
|
|
9
8
|
|
|
@@ -81,7 +80,6 @@ interface IPropsPanelHeader {
|
|
|
81
80
|
}
|
|
82
81
|
|
|
83
82
|
class PanelHeader extends React.PureComponent<IPropsPanelHeader> {
|
|
84
|
-
private zIndex: number = getNextZIndex();
|
|
85
83
|
constructor(props: IPropsPanelHeader) {
|
|
86
84
|
super(props);
|
|
87
85
|
}
|
|
@@ -98,14 +96,10 @@ class PanelHeader extends React.PureComponent<IPropsPanelHeader> {
|
|
|
98
96
|
this.props.className,
|
|
99
97
|
);
|
|
100
98
|
|
|
101
|
-
let style = {
|
|
102
|
-
zIndex: this.zIndex,
|
|
103
|
-
};
|
|
104
|
-
|
|
105
99
|
let defaultTheme = darkColors.includes(this.props.color || '') ? 'dark-ui' : null;
|
|
106
100
|
|
|
107
101
|
return (
|
|
108
|
-
<div data-theme={this.props.theme || defaultTheme} className={classes}
|
|
102
|
+
<div data-theme={this.props.theme || defaultTheme} className={classes}>
|
|
109
103
|
<div className="side-panel__header-wrapper">
|
|
110
104
|
{this.props.title != null && (
|
|
111
105
|
<div className="side-panel__header-inner">
|