refactor: merge/upgrade superset-ui packages (#10790)

* refactor: merge/upgrade superset-ui packages

* Fix flaky big number test

* Fix Flaky AdhocFilters test
This commit is contained in:
Jesse Yang
2020-09-09 13:18:55 -07:00
committed by GitHub
parent 3b4a992861
commit 9a59bdda48
256 changed files with 830 additions and 1594 deletions

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import React from 'react';
import { t, tn } from '@superset-ui/translation';
import { t, tn } from '@superset-ui/core';
import { ErrorMessageComponentProps } from './types';
import IssueCode from './IssueCode';

View File

@@ -18,8 +18,7 @@
*/
import React, { useState, ReactNode } from 'react';
import { Modal } from 'react-bootstrap';
import { styled, supersetTheme } from '@superset-ui/style';
import { t } from '@superset-ui/translation';
import { styled, supersetTheme, t } from '@superset-ui/core';
import { noOp } from 'src/utils/common';
import Button from 'src/components/Button';

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import React from 'react';
import { t } from '@superset-ui/translation';
import { t } from '@superset-ui/core';
import getErrorMessageComponentRegistry from './getErrorMessageComponentRegistry';
import { SupersetError, ErrorSource } from './types';

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import React from 'react';
import { t, tn } from '@superset-ui/translation';
import { t, tn } from '@superset-ui/core';
import { ErrorMessageComponentProps } from './types';
import IssueCode from './IssueCode';