mirror of
https://github.com/apache/superset.git
synced 2026-04-19 16:14:52 +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
@@ -20,7 +20,7 @@ import { PureComponent } from 'react';
|
||||
import cloudLayout from 'd3-cloud';
|
||||
import { scaleLinear } from 'd3-scale';
|
||||
import { seed, CategoricalColorNamespace } from '@superset-ui/core';
|
||||
import { SupersetTheme, withTheme } from '@apache-superset/core/ui';
|
||||
import { SupersetTheme, withTheme } from '@apache-superset/core/theme';
|
||||
import { isEqual } from 'lodash';
|
||||
|
||||
const seedRandom = seed('superset-ui');
|
||||
|
||||
@@ -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 { validateNonEmpty } from '@superset-ui/core';
|
||||
import {
|
||||
ControlPanelConfig,
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { css, SupersetTheme } from '@apache-superset/core/ui';
|
||||
import { css, SupersetTheme } from '@apache-superset/core/theme';
|
||||
import { useRef, useState } from 'react';
|
||||
import { Tooltip } from '@superset-ui/core/components';
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
import { useMemo, ReactNode } from 'react';
|
||||
|
||||
import { t } from '@apache-superset/core';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import {
|
||||
ColorScheme,
|
||||
ColorSchemeGroup,
|
||||
@@ -26,7 +26,7 @@ import {
|
||||
getLabelsColorMap,
|
||||
CategoricalColorNamespace,
|
||||
} from '@superset-ui/core';
|
||||
import { css, useTheme } from '@apache-superset/core/ui';
|
||||
import { css, useTheme } from '@apache-superset/core/theme';
|
||||
import { sortBy } from 'lodash';
|
||||
import { ControlHeader } from '@superset-ui/chart-controls';
|
||||
import {
|
||||
|
||||
@@ -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 { Select, SelectValue } from '@superset-ui/core/components';
|
||||
import { ControlHeader } from '@superset-ui/chart-controls';
|
||||
import { ControlComponentProps } from '@superset-ui/chart-controls';
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
|
||||
import { t } from '@apache-superset/core';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import { ChartMetadata, ChartPlugin } from '@superset-ui/core';
|
||||
import transformProps from './transformProps';
|
||||
import buildQuery from './buildQuery';
|
||||
|
||||
Reference in New Issue
Block a user