refactor(core): reorganize superset-core packages into feature-based structure (#38448)

This commit is contained in:
Michael S. Molina
2026-03-05 17:41:15 -03:00
committed by GitHub
parent 5f0efd2be9
commit 357e35dc62
1182 changed files with 2468 additions and 2054 deletions

View File

@@ -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');

View File

@@ -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,

View File

@@ -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';

View File

@@ -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 {

View File

@@ -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';

View File

@@ -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';