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 CHANGED
@@ -6,51 +6,7 @@ export {ToggleBoxNext} from './scripts/toggleBoxNext';
6
6
  export {Positioner} from './scripts/positioner';
7
7
 
8
8
  // TypeScript exports
9
- // Must contain the same exports as in '../app-typescript/index'
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`).default;
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} style={style}>
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">