Fix building after update to Grafana 8 components

This commit is contained in:
Alexander Zobnin
2021-08-02 18:35:34 +03:00
parent 3688174923
commit 12c4089a50
14 changed files with 82 additions and 122 deletions

View File

@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
import { cx, css } from 'emotion';
import { cx, css } from '@emotion/css';
import { ZBX_ACK_ACTION_ADD_MESSAGE, ZBX_ACK_ACTION_ACK, ZBX_ACK_ACTION_CHANGE_SEVERITY, ZBX_ACK_ACTION_CLOSE } from '../../datasource-zabbix/constants';
import { Button, VerticalGroup, Spinner, Modal, Input, Checkbox, RadioButtonGroup, stylesFactory, withTheme, Themeable, TextArea } from '@grafana/ui';
import { FAIcon } from '../../components';

View File

@@ -1,5 +1,5 @@
import React, { FC } from 'react';
import { cx, css } from 'emotion';
import { cx, css } from '@emotion/css';
import { GFHeartIcon } from '../../../components';
import { ProblemDTO } from '../../../datasource-zabbix/types';

View File

@@ -1,5 +1,5 @@
import React, { PureComponent } from 'react';
import { cx, css } from 'emotion';
import { cx, css } from '@emotion/css';
import { GrafanaTheme, SelectableValue } from '@grafana/data';
import { Button, Spinner, Modal, Select, stylesFactory, withTheme, Themeable } from '@grafana/ui';
import { ZBXScript, APIExecuteScriptResponse } from '../../datasource-zabbix/zabbix/connectors/zabbix_api/types';

View File

@@ -1,5 +1,5 @@
import React from 'react';
import { css } from 'emotion';
import { css } from '@emotion/css';
import { RTCell } from '../../types';
import { ProblemDTO } from '../../../datasource-zabbix/types';
import { FAIcon } from '../../../components';