mirror of
https://github.com/apache/superset.git
synced 2026-04-20 00:24:38 +00:00
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:
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
import { formatNumber } from '@superset-ui/number-format';
|
||||
import { formatNumber } from '@superset-ui/core';
|
||||
|
||||
const propTypes = {
|
||||
num: PropTypes.number,
|
||||
|
||||
@@ -26,8 +26,7 @@ import {
|
||||
VerticalReferenceLine,
|
||||
WithTooltip,
|
||||
} from '@data-ui/sparkline';
|
||||
import { formatNumber } from '@superset-ui/number-format';
|
||||
import { getTextDimension } from '@superset-ui/dimension';
|
||||
import { getTextDimension, formatNumber } from '@superset-ui/core';
|
||||
|
||||
const propTypes = {
|
||||
className: PropTypes.string,
|
||||
|
||||
@@ -21,13 +21,12 @@ import PropTypes from 'prop-types';
|
||||
import Mustache from 'mustache';
|
||||
import { scaleLinear } from 'd3-scale';
|
||||
import { Table, Thead, Th, Tr, Td } from 'reactable-arc';
|
||||
import { formatNumber } from '@superset-ui/number-format';
|
||||
import { formatTime } from '@superset-ui/time-format';
|
||||
import moment from 'moment';
|
||||
import { formatNumber, formatTime } from '@superset-ui/core';
|
||||
import {
|
||||
InfoTooltipWithTrigger,
|
||||
MetricOption,
|
||||
} from '@superset-ui/chart-controls';
|
||||
import moment from 'moment';
|
||||
|
||||
import FormattedNumber from './FormattedNumber';
|
||||
import SparklineCell from './SparklineCell';
|
||||
|
||||
@@ -16,8 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { t } from '@superset-ui/translation';
|
||||
import { ChartMetadata, ChartPlugin } from '@superset-ui/chart';
|
||||
import { t, ChartMetadata, ChartPlugin } from '@superset-ui/core';
|
||||
import transformProps from './transformProps';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user