mirror of
https://github.com/apache/superset.git
synced 2026-05-10 02:15:50 +00:00
chore: rip antd-v4 from the app! (#33411)
This commit is contained in:
committed by
GitHub
parent
fcea7e4af9
commit
33f2ffd2a9
@@ -33,11 +33,11 @@
|
||||
"memoize-one": "^5.2.1",
|
||||
"react-table": "^7.8.0",
|
||||
"regenerator-runtime": "^0.14.1",
|
||||
"xss": "^1.0.15",
|
||||
"antd-v5": "npm:antd@^5.24.6"
|
||||
"xss": "^1.0.15"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@ant-design/icons": "^5.2.6",
|
||||
"antd": "^5.24.6",
|
||||
"@superset-ui/chart-controls": "*",
|
||||
"@superset-ui/core": "*",
|
||||
"@testing-library/dom": "^8.20.1",
|
||||
|
||||
@@ -25,7 +25,7 @@ import {
|
||||
Ref,
|
||||
} from 'react';
|
||||
import { Row, FilterValue } from 'react-table';
|
||||
import { Input, type InputRef, Space } from 'antd-v5';
|
||||
import { Input, type InputRef, Space } from 'antd';
|
||||
import useAsyncState from '../utils/useAsyncState';
|
||||
|
||||
export interface SearchInputProps {
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
*/
|
||||
/* eslint-disable import/no-extraneous-dependencies */
|
||||
import { styled } from '@superset-ui/core';
|
||||
import { Select } from 'antd-v5';
|
||||
import { Select } from 'antd';
|
||||
import { SearchOption } from '../../types';
|
||||
|
||||
const StyledSelect = styled(Select)`
|
||||
@@ -29,7 +29,7 @@ const StyledSelect = styled(Select)`
|
||||
interface SearchSelectDropdownProps {
|
||||
/** The currently selected search column value */
|
||||
value?: string;
|
||||
/** Callback triggered when a new search column is selected */
|
||||
/** Function triggered when a new search column is selected */
|
||||
onChange: (searchCol: string) => void;
|
||||
/** Available search column options to populate the dropdown */
|
||||
searchOptions: SearchOption[];
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
import { memo } from 'react';
|
||||
import { css, t } from '@superset-ui/core';
|
||||
import { formatSelectOptions } from '@superset-ui/chart-controls';
|
||||
import { Select } from 'antd-v5';
|
||||
import { Select } from 'antd';
|
||||
|
||||
export type SizeOption = [number, string];
|
||||
|
||||
|
||||
@@ -64,7 +64,7 @@ import {
|
||||
TableOutlined,
|
||||
} from '@ant-design/icons';
|
||||
import { isEmpty, debounce, isEqual } from 'lodash';
|
||||
import { Input, Space, Select } from 'antd-v5';
|
||||
import { Input, Space, Select } from 'antd';
|
||||
import {
|
||||
ColorSchemeEnum,
|
||||
DataColumnMeta,
|
||||
|
||||
Reference in New Issue
Block a user