mirror of
https://github.com/apache/superset.git
synced 2026-05-06 16:34:32 +00:00
refactor(core): reorganize superset-core packages into feature-based structure (#38448)
This commit is contained in:
committed by
GitHub
parent
5f0efd2be9
commit
357e35dc62
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { t } from '@apache-superset/core';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import { validateMapboxStylesUrl } from '@superset-ui/core';
|
||||
import {
|
||||
columnChoices,
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { t } from '@apache-superset/core/ui';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import { ChartMetadata, ChartPlugin } from '@superset-ui/core';
|
||||
import thumbnail from './images/thumbnail.png';
|
||||
import thumbnailDark from './images/thumbnail-dark.png';
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
/* eslint-disable no-magic-numbers */
|
||||
import { SuperChart } from '@superset-ui/core';
|
||||
import { useTheme } from '@apache-superset/core/ui';
|
||||
import { useTheme } from '@apache-superset/core/theme';
|
||||
import MapBoxChartPlugin from '@superset-ui/legacy-plugin-chart-map-box';
|
||||
import { withResizableChartDemo } from '@storybook-shared';
|
||||
import { generateData } from './data';
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
* specific language governing permissions and limitations
|
||||
* under the License.
|
||||
*/
|
||||
import { SupersetTheme } from '@apache-superset/core/ui';
|
||||
import { SupersetTheme } from '@apache-superset/core/theme';
|
||||
|
||||
/* eslint-disable sort-keys, no-magic-numbers */
|
||||
export const generateData = (theme: SupersetTheme) => ({
|
||||
|
||||
Reference in New Issue
Block a user