diff --git a/superset-frontend/.storybook/shared/createQueryStory.tsx b/superset-frontend/.storybook/shared/createQueryStory.tsx index e047201d3f2..6a0f08c6259 100644 --- a/superset-frontend/.storybook/shared/createQueryStory.tsx +++ b/superset-frontend/.storybook/shared/createQueryStory.tsx @@ -22,7 +22,7 @@ import { ChartDataProvider, SupersetClient, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import Expandable from './Expandable'; import VerifyCORS, { renderError } from './VerifyCORS'; diff --git a/superset-frontend/packages/superset-ui-core/src/chart/stories/ChartDataProvider.stories.tsx b/superset-frontend/packages/superset-ui-core/src/chart/stories/ChartDataProvider.stories.tsx index 975c9bd0471..ff695638641 100644 --- a/superset-frontend/packages/superset-ui-core/src/chart/stories/ChartDataProvider.stories.tsx +++ b/superset-frontend/packages/superset-ui-core/src/chart/stories/ChartDataProvider.stories.tsx @@ -22,7 +22,7 @@ import { ChartDataProvider, SupersetClient, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { BigNumberChartPlugin } from '@superset-ui/plugin-chart-echarts'; import { WordCloudChartPlugin } from '@superset-ui/plugin-chart-word-cloud'; diff --git a/superset-frontend/packages/superset-ui-core/src/chart/stories/SuperChart.stories.tsx b/superset-frontend/packages/superset-ui-core/src/chart/stories/SuperChart.stories.tsx index 24da357d5b7..83ad96a8b93 100644 --- a/superset-frontend/packages/superset-ui-core/src/chart/stories/SuperChart.stories.tsx +++ b/superset-frontend/packages/superset-ui-core/src/chart/stories/SuperChart.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { DiligentChartPlugin, BuggyChartPlugin, diff --git a/superset-frontend/plugins/legacy-plugin-chart-calendar/src/stories/LegacyPluginChartCalendar.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-calendar/src/stories/LegacyPluginChartCalendar.stories.tsx index 6a8f0dd0e6d..50021474aae 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-calendar/src/stories/LegacyPluginChartCalendar.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-calendar/src/stories/LegacyPluginChartCalendar.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import CalendarChartPlugin from '@superset-ui/legacy-plugin-chart-calendar'; import data from './data'; import { dummyDatasource, withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-chord/src/stories/LegacyPluginChartChord.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-chord/src/stories/LegacyPluginChartChord.stories.tsx index e4506ff8fbb..baa8dd93b3e 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-chord/src/stories/LegacyPluginChartChord.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-chord/src/stories/LegacyPluginChartChord.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import ChordChartPlugin from '@superset-ui/legacy-plugin-chart-chord'; import data from './data'; import { withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/stories/CountryMap.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/stories/CountryMap.stories.tsx index 28d99230a82..7cc95c44e23 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-country-map/src/stories/CountryMap.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-country-map/src/stories/CountryMap.stories.tsx @@ -19,8 +19,8 @@ import { useEffect, useState } from 'react'; import { JsonObject, seed, SuperChart, SequentialD3 } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; -import { useTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; +import { useTheme } from '@apache-superset/core/theme'; import CountryMapChartPlugin, { countries, } from '@superset-ui/legacy-plugin-chart-country-map'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-horizon/src/stories/Horizon.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-horizon/src/stories/Horizon.stories.tsx index ae219c44eea..31ac714761f 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-horizon/src/stories/Horizon.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-horizon/src/stories/Horizon.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import HorizonChartPlugin from '@superset-ui/legacy-plugin-chart-horizon'; import { withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-paired-t-test/src/stories/TTest.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-paired-t-test/src/stories/TTest.stories.tsx index e0991bcad7f..785b8ee4506 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-paired-t-test/src/stories/TTest.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-paired-t-test/src/stories/TTest.stories.tsx @@ -19,7 +19,7 @@ /* eslint-disable no-magic-numbers */ import { SuperChart } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import PairedTTestChartPlugin from '@superset-ui/legacy-plugin-chart-paired-t-test'; import { withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/stories/ParallelCoordinates.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/stories/ParallelCoordinates.stories.tsx index 29da0604ea1..de9fca298b8 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/stories/ParallelCoordinates.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-parallel-coordinates/src/stories/ParallelCoordinates.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import ParallelCoordinatesChartPlugin from '@superset-ui/legacy-plugin-chart-parallel-coordinates'; import { withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-partition/src/stories/Partition.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-partition/src/stories/Partition.stories.tsx index c8bec6f3a64..40eecce2a17 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-partition/src/stories/Partition.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-partition/src/stories/Partition.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import PartitionChartPlugin from '@superset-ui/legacy-plugin-chart-partition'; import data from './data'; import { dummyDatasource, withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-rose/src/stories/Rose.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-rose/src/stories/Rose.stories.tsx index c486afddeda..ca3ed181952 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-rose/src/stories/Rose.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-rose/src/stories/Rose.stories.tsx @@ -19,7 +19,7 @@ /* eslint-disable no-magic-numbers, sort-keys */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import RoseChartPlugin from '@superset-ui/legacy-plugin-chart-rose'; import data from './data'; import { withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/legacy-plugin-chart-world-map/src/stories/WorldMap.stories.tsx b/superset-frontend/plugins/legacy-plugin-chart-world-map/src/stories/WorldMap.stories.tsx index 92e47d55147..40db758bde2 100644 --- a/superset-frontend/plugins/legacy-plugin-chart-world-map/src/stories/WorldMap.stories.tsx +++ b/superset-frontend/plugins/legacy-plugin-chart-world-map/src/stories/WorldMap.stories.tsx @@ -19,7 +19,7 @@ /* eslint-disable no-magic-numbers, sort-keys */ import { SuperChart } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import WorldMapChartPlugin from '@superset-ui/legacy-plugin-chart-world-map'; import { withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/BoxPlot/stories/NVD3BoxPlot.stories.tsx b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/BoxPlot/stories/NVD3BoxPlot.stories.tsx index fe5aace68c3..c8c8914109f 100644 --- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/BoxPlot/stories/NVD3BoxPlot.stories.tsx +++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/BoxPlot/stories/NVD3BoxPlot.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsBoxPlotChartPlugin } from '@superset-ui/plugin-chart-echarts'; import { dummyDatasource, withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bubble/stories/NVD3Bubble.stories.tsx b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bubble/stories/NVD3Bubble.stories.tsx index 2a4ed038761..9adaf8d8f09 100644 --- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bubble/stories/NVD3Bubble.stories.tsx +++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bubble/stories/NVD3Bubble.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { BubbleChartPlugin } from '@superset-ui/legacy-preset-chart-nvd3'; import { dummyDatasource, withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bullet/stories/NVD3Bullet.stories.tsx b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bullet/stories/NVD3Bullet.stories.tsx index 13d540f17c3..5de7b0afe4e 100644 --- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bullet/stories/NVD3Bullet.stories.tsx +++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bullet/stories/NVD3Bullet.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { BulletChartPlugin } from '@superset-ui/legacy-preset-chart-nvd3'; import { dummyDatasource, withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Compare/stories/NVD3Compare.stories.tsx b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Compare/stories/NVD3Compare.stories.tsx index d5d211acfb2..d3e86afb40d 100644 --- a/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Compare/stories/NVD3Compare.stories.tsx +++ b/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Compare/stories/NVD3Compare.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { CompareChartPlugin } from '@superset-ui/legacy-preset-chart-nvd3'; import { dummyDatasource, withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/plugin-chart-ag-grid-table/src/stories/AgGridTable.stories.tsx b/superset-frontend/plugins/plugin-chart-ag-grid-table/src/stories/AgGridTable.stories.tsx index f7f0886c16f..bcccbf67fb6 100644 --- a/superset-frontend/plugins/plugin-chart-ag-grid-table/src/stories/AgGridTable.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-ag-grid-table/src/stories/AgGridTable.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import AgGridTableChartPlugin from '../index'; import transformProps from '../transformProps'; import { basicFormData, basicData } from './data'; diff --git a/superset-frontend/plugins/plugin-chart-cartodiagram/src/stories/Cartodiagram.stories.tsx b/superset-frontend/plugins/plugin-chart-cartodiagram/src/stories/Cartodiagram.stories.tsx index 04a6cc924ba..aee81c6265f 100644 --- a/superset-frontend/plugins/plugin-chart-cartodiagram/src/stories/Cartodiagram.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-cartodiagram/src/stories/Cartodiagram.stories.tsx @@ -22,7 +22,7 @@ import { VizType, getChartTransformPropsRegistry, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { CartodiagramPlugin } from '@superset-ui/plugin-chart-cartodiagram'; import { EchartsPieChartPlugin, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/stories/BigNumberTotal.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/stories/BigNumberTotal.stories.tsx index 2397ac2453d..b36ee18aeb9 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/stories/BigNumberTotal.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberTotal/stories/BigNumberTotal.stories.tsx @@ -17,7 +17,7 @@ * under the License. */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { BigNumberTotalChartPlugin } from '@superset-ui/plugin-chart-echarts'; import { withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/stories/BigNumber.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/stories/BigNumber.stories.tsx index 923f002693c..a0f1ca7d8cc 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/stories/BigNumber.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberWithTrendline/stories/BigNumber.stories.tsx @@ -17,7 +17,7 @@ * under the License. */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { BigNumberChartPlugin } from '@superset-ui/plugin-chart-echarts'; import { withResizableChartDemo } from '@storybook-shared'; import testData from './data'; diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/stories/BoxPlot.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/stories/BoxPlot.stories.tsx index be61cee02d5..771182b808b 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/stories/BoxPlot.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/BoxPlot/stories/BoxPlot.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsBoxPlotChartPlugin, BoxPlotTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/stories/BubbleChart.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/stories/BubbleChart.stories.tsx index 39946d1c90e..f3754e5716a 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/stories/BubbleChart.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Bubble/stories/BubbleChart.stories.tsx @@ -25,7 +25,7 @@ import { VizType, getChartTransformPropsRegistry, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { simpleBubbleData } from './data'; import { withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Funnel/stories/Funnel.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Funnel/stories/Funnel.stories.tsx index 6bae491530e..c2403c18ef2 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Funnel/stories/Funnel.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Funnel/stories/Funnel.stories.tsx @@ -22,7 +22,7 @@ import { VizType, getChartTransformPropsRegistry, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsFunnelChartPlugin, FunnelTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/stories/Gauge.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/stories/Gauge.stories.tsx index 0bdf31971c6..34df5fa90c8 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/stories/Gauge.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Gauge/stories/Gauge.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsGaugeChartPlugin, GaugeTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Graph/stories/Graph.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Graph/stories/Graph.stories.tsx index 3832c4616db..4c2d74c90f4 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Graph/stories/Graph.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Graph/stories/Graph.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsGraphChartPlugin, GraphTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/stories/MixedSeries.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/stories/MixedSeries.stories.tsx index 3088217a350..841b461006a 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/stories/MixedSeries.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/MixedTimeseries/stories/MixedSeries.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsTimeseriesChartPlugin, MixedTimeseriesTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Pie/stories/Pie.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Pie/stories/Pie.stories.tsx index 6f81394949c..584cae0e5a7 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Pie/stories/Pie.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Pie/stories/Pie.stories.tsx @@ -22,7 +22,7 @@ import { VizType, getChartTransformPropsRegistry, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsPieChartPlugin, PieTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Radar/stories/Radar.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Radar/stories/Radar.stories.tsx index 4db905293f0..247729e6eed 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Radar/stories/Radar.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Radar/stories/Radar.stories.tsx @@ -22,7 +22,7 @@ import { VizType, getChartTransformPropsRegistry, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsRadarChartPlugin, RadarTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/stories/Sunburst.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/stories/Sunburst.stories.tsx index 135aeae6eee..55eb6acd01c 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/stories/Sunburst.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Sunburst/stories/Sunburst.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsSunburstChartPlugin, SunburstTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/AreaSeries/AreaSeries.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/AreaSeries/AreaSeries.stories.tsx index c407c113904..e2da7ee6f2e 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/AreaSeries/AreaSeries.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/AreaSeries/AreaSeries.stories.tsx @@ -22,7 +22,7 @@ import { getChartTransformPropsRegistry, VizType, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsAreaChartPlugin, TimeseriesTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/Timeseries.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/Timeseries.stories.tsx index c0fdaeaec38..5ff5e5c20f0 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/Timeseries.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Timeseries/stories/Timeseries.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsTimeseriesChartPlugin, TimeseriesTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Tree/stories/Tree.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Tree/stories/Tree.stories.tsx index 7362843d105..557c5e87ee9 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Tree/stories/Tree.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Tree/stories/Tree.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsTreeChartPlugin, TreeTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Treemap/stories/Treemap.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Treemap/stories/Treemap.stories.tsx index e247eedf9c5..c83f18d0521 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Treemap/stories/Treemap.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Treemap/stories/Treemap.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsTreemapChartPlugin, TreemapTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/Waterfall/stories/Waterfall.stories.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/Waterfall/stories/Waterfall.stories.tsx index 49b505ef4b8..7554b90ccaf 100644 --- a/superset-frontend/plugins/plugin-chart-echarts/src/Waterfall/stories/Waterfall.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-echarts/src/Waterfall/stories/Waterfall.stories.tsx @@ -21,7 +21,7 @@ import { VizType, getChartTransformPropsRegistry, } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { EchartsWaterfallChartPlugin, WaterfallTransformProps, diff --git a/superset-frontend/plugins/plugin-chart-handlebars/src/stories/Handlebars.stories.tsx b/superset-frontend/plugins/plugin-chart-handlebars/src/stories/Handlebars.stories.tsx index fddbf8c9019..2229b180c43 100644 --- a/superset-frontend/plugins/plugin-chart-handlebars/src/stories/Handlebars.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-handlebars/src/stories/Handlebars.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { HandlebarsChartPlugin } from '@superset-ui/plugin-chart-handlebars'; import { kpiData, leaderboardData, timelineData } from './data'; import { withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/plugin-chart-pivot-table/src/stories/PivotTable.stories.tsx b/superset-frontend/plugins/plugin-chart-pivot-table/src/stories/PivotTable.stories.tsx index da4ca278653..65f632ab5a9 100644 --- a/superset-frontend/plugins/plugin-chart-pivot-table/src/stories/PivotTable.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-pivot-table/src/stories/PivotTable.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { PivotTableChartPlugin } from '@superset-ui/plugin-chart-pivot-table'; import { basicFormData, basicData } from './testData'; import { withResizableChartDemo } from '@storybook-shared'; diff --git a/superset-frontend/plugins/plugin-chart-table/src/stories/Table.stories.tsx b/superset-frontend/plugins/plugin-chart-table/src/stories/Table.stories.tsx index 84828e2ce40..52ca953abfe 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/stories/Table.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/stories/Table.stories.tsx @@ -19,7 +19,7 @@ import memoizeOne from 'memoize-one'; import { DataRecord, SuperChart, VizType } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import TableChartPlugin, { TableChartProps, } from '@superset-ui/plugin-chart-table'; diff --git a/superset-frontend/plugins/plugin-chart-word-cloud/src/stories/WordCloud.stories.tsx b/superset-frontend/plugins/plugin-chart-word-cloud/src/stories/WordCloud.stories.tsx index abc4a6a8162..3bedb2fc0d8 100644 --- a/superset-frontend/plugins/plugin-chart-word-cloud/src/stories/WordCloud.stories.tsx +++ b/superset-frontend/plugins/plugin-chart-word-cloud/src/stories/WordCloud.stories.tsx @@ -18,7 +18,7 @@ */ import { SuperChart } from '@superset-ui/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import { WordCloudChartPlugin } from '@superset-ui/plugin-chart-word-cloud'; import { withResizableChartDemo } from '@storybook-shared'; import data from './data'; diff --git a/superset-frontend/src/filters/components/Range/RangeFilterPlugin.stories.tsx b/superset-frontend/src/filters/components/Range/RangeFilterPlugin.stories.tsx index 5e7208aa26c..c452438af08 100644 --- a/superset-frontend/src/filters/components/Range/RangeFilterPlugin.stories.tsx +++ b/superset-frontend/src/filters/components/Range/RangeFilterPlugin.stories.tsx @@ -19,7 +19,7 @@ import { action } from '@storybook/addon-actions'; import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; import { GenericDataType } from '@apache-superset/core/api/core'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import RangeFilterPlugin from './index'; import transformProps from './transformProps'; diff --git a/superset-frontend/src/filters/components/Select/SelectFilterPlugin.stories.tsx b/superset-frontend/src/filters/components/Select/SelectFilterPlugin.stories.tsx index a052d63fc3f..c9ac67e389b 100644 --- a/superset-frontend/src/filters/components/Select/SelectFilterPlugin.stories.tsx +++ b/superset-frontend/src/filters/components/Select/SelectFilterPlugin.stories.tsx @@ -19,7 +19,7 @@ import { action } from '@storybook/addon-actions'; import { SuperChart, getChartTransformPropsRegistry } from '@superset-ui/core'; import { mockQueryDataForCountries } from 'spec/fixtures/mockNativeFilters'; -import { supersetTheme } from '@apache-superset/core/ui'; +import { supersetTheme } from '@apache-superset/core/theme'; import SelectFilterPlugin from './index'; import transformProps from './transformProps';