mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(superset-core): move ui to new core (#35308)
This commit is contained in:
committed by
GitHub
parent
728bc2c632
commit
9546ee37e5
@@ -18,14 +18,12 @@
|
||||
*/
|
||||
import { useEffect, useMemo, useState } from 'react';
|
||||
import {
|
||||
css,
|
||||
ensureIsArray,
|
||||
fetchTimeRange,
|
||||
getTimeOffset,
|
||||
styled,
|
||||
t,
|
||||
useTheme,
|
||||
} from '@superset-ui/core';
|
||||
import { css, styled, useTheme } from '@apache-superset/core/ui';
|
||||
import { Tooltip } from '@superset-ui/core/components';
|
||||
import { DEFAULT_DATE_PATTERN } from '@superset-ui/chart-controls';
|
||||
import { isEmpty } from 'lodash';
|
||||
|
||||
@@ -24,10 +24,9 @@ import {
|
||||
SMART_DATE_VERBOSE_ID,
|
||||
computeMaxFontSize,
|
||||
BRAND_COLOR,
|
||||
styled,
|
||||
BinaryQueryObjectFilterClause,
|
||||
useTheme,
|
||||
} from '@superset-ui/core';
|
||||
import { styled, useTheme } from '@apache-superset/core/ui';
|
||||
import Echart from '../components/Echart';
|
||||
import { BigNumberVizProps } from './types';
|
||||
import { EventHandlers } from '../types';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { SupersetTheme } from '@superset-ui/core';
|
||||
import { SupersetTheme } from '@apache-superset/core/ui';
|
||||
import type { GaugeSeriesOption } from 'echarts/charts';
|
||||
|
||||
export const defaultGaugeSeriesOption = (
|
||||
|
||||
@@ -25,13 +25,12 @@ import {
|
||||
FilterState,
|
||||
FormulaAnnotationLayer,
|
||||
IntervalAnnotationLayer,
|
||||
isThemeDark,
|
||||
LegendState,
|
||||
SupersetTheme,
|
||||
TimeseriesAnnotationLayer,
|
||||
TimeseriesDataRecord,
|
||||
ValueFormatter,
|
||||
} from '@superset-ui/core';
|
||||
import { SupersetTheme, isThemeDark } from '@apache-superset/core/ui';
|
||||
import type {
|
||||
CallbackDataParams,
|
||||
DefaultStatesMixin,
|
||||
|
||||
@@ -29,7 +29,8 @@ import {
|
||||
} from 'react';
|
||||
import { useSelector } from 'react-redux';
|
||||
|
||||
import { styled, useTheme, mergeReplaceArrays } from '@superset-ui/core';
|
||||
import { mergeReplaceArrays } from '@superset-ui/core';
|
||||
import { styled, useTheme } from '@apache-superset/core/ui';
|
||||
import { use, init, EChartsType, registerLocale } from 'echarts/core';
|
||||
import {
|
||||
SankeyChart,
|
||||
|
||||
@@ -17,7 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { useState, useEffect, useMemo, useCallback } from 'react';
|
||||
import { HandlerFunction, JsonValue, styled } from '@superset-ui/core';
|
||||
import { HandlerFunction, JsonValue } from '@superset-ui/core';
|
||||
import { styled } from '@apache-superset/core/ui';
|
||||
import {
|
||||
RadioButtonOption,
|
||||
sharedControlComponents,
|
||||
|
||||
@@ -28,10 +28,10 @@ import {
|
||||
normalizeTimestamp,
|
||||
NumberFormats,
|
||||
NumberFormatter,
|
||||
SupersetTheme,
|
||||
TimeFormatter,
|
||||
ValueFormatter,
|
||||
} from '@superset-ui/core';
|
||||
import { SupersetTheme } from '@apache-superset/core/ui';
|
||||
import { GenericDataType } from '@apache-superset/core/api/core';
|
||||
import { SortSeriesType, LegendPaddingType } from '@superset-ui/chart-controls';
|
||||
import { format } from 'echarts/core';
|
||||
|
||||
Reference in New Issue
Block a user