fix(imports): rewrite stale @apache-superset/core bare and api/core imports to correct subpaths

This commit is contained in:
Evan Rusackas
2026-04-17 11:35:30 -07:00
parent 1a05bdddbd
commit 5b97979be3
5 changed files with 5 additions and 6 deletions

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import { useCallback } from 'react';
import { t } from '@apache-superset/core';
import { t } from '@apache-superset/core/translation';
import { Tooltip, PublishedLabel } from '@superset-ui/core/components';
import { HeaderProps, HeaderDropdownProps } from '../Header/types';

View File

@@ -22,7 +22,7 @@ import AutoSizer from 'react-virtualized-auto-sizer';
import { FixedSizeList as List } from 'react-window';
// @ts-expect-error
import { createFilter } from 'react-search-input';
import { t } from '@apache-superset/core';
import { t } from '@apache-superset/core/translation';
import { styled, css, useTheme } from '@apache-superset/core/theme';
import {
Button,

View File

@@ -17,7 +17,7 @@
* under the License.
*/
import cx from 'classnames';
import { t } from '@apache-superset/core';
import { t } from '@apache-superset/core/translation';
import { css, styled } from '@apache-superset/core/theme';
import backgroundStyleOptions from 'src/dashboard/util/backgroundStyleOptions';
import PopoverDropdown, {

View File

@@ -16,8 +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 PopoverDropdown, {
OnChangeHandler,
} from '@superset-ui/core/components/PopoverDropdown';

View File

@@ -26,7 +26,7 @@ import {
useState,
} from 'react';
import { t } from '@apache-superset/core';
import { t } from '@apache-superset/core/translation';
import {
ChartDataResponseResult,
Behavior,