mirror of
https://github.com/apache/superset.git
synced 2026-05-09 18:05: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
@@ -29,7 +29,7 @@ import {
|
||||
useMemo,
|
||||
} from 'react';
|
||||
import { typedMemo, usePrevious } from '@superset-ui/core';
|
||||
import { t } from '@apache-superset/core';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import {
|
||||
useTable,
|
||||
usePagination,
|
||||
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
Ref,
|
||||
} from 'react';
|
||||
import { Row, FilterValue } from 'react-table';
|
||||
import { t, tn } from '@apache-superset/core';
|
||||
import { t, tn } from '@apache-superset/core/translation';
|
||||
import { Input, type InputRef, Space } from '@superset-ui/core/components';
|
||||
import useAsyncState from '../utils/useAsyncState';
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { styled } from '@apache-superset/core/ui';
|
||||
import { styled } from '@apache-superset/core/theme';
|
||||
import { RawAntdSelect } from '@superset-ui/core/components';
|
||||
import { SearchOption } from '../../types';
|
||||
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { memo } from 'react';
|
||||
import { t } from '@apache-superset/core';
|
||||
import { css } from '@apache-superset/core/ui';
|
||||
import { t } from '@apache-superset/core/translation';
|
||||
import { css } from '@apache-superset/core/theme';
|
||||
import { formatSelectOptions } from '@superset-ui/chart-controls';
|
||||
import { RawAntdSelect } from '@superset-ui/core/components';
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ import {
|
||||
UIEventHandler,
|
||||
} from 'react';
|
||||
import { TableInstance, Hooks } from 'react-table';
|
||||
import { useTheme, css } from '@apache-superset/core/ui';
|
||||
import { useTheme, css } from '@apache-superset/core/theme';
|
||||
import getScrollBarSize from '../utils/getScrollBarSize';
|
||||
import needScrollBar from '../utils/needScrollBar';
|
||||
import useMountedMemo from '../utils/useMountedMemo';
|
||||
|
||||
Reference in New Issue
Block a user