chore: migrating easy-to-migrate AntD vanilla components (#32010)

This commit is contained in:
Maxime Beauchemin 2025-02-10 10:46:28 -08:00 committed by GitHub
parent 8d1fb9c82d
commit 1c3ec21e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 8 additions and 8 deletions

1
.gitignore vendored
View File

@ -21,6 +21,7 @@
*.swp *.swp
__pycache__ __pycache__
.aider*
.local .local
.cache .cache
.bento* .bento*

View File

@ -26,24 +26,23 @@ export { default as Select } from './Select/Select';
export { default as AsyncSelect } from './Select/AsyncSelect'; export { default as AsyncSelect } from './Select/AsyncSelect';
export { default as Button } from './Button'; export { default as Button } from './Button';
export { default as Card } from './Card'; export { default as Card } from './Card';
/*
* Components that don't conflict with the ones in src/components. // Vanilla Ant Design components from v5
* As Superset progresses to support full theming, this list should
* decrease in favor of the components defined in src/components.
*/
export { export {
AutoComplete, AutoComplete,
Col, Col,
Grid, Grid,
Layout,
Row, Row,
Skeleton, Skeleton,
Tag, Tag,
Tree, Tree,
TreeSelect, TreeSelect,
Typography, Typography,
Upload, } from 'antd-v5';
} from 'antd';
export { Layout } from 'antd-v5'; // Vanilla Ant Design components from v4 that require migration
export { Upload } from 'antd';
/* /*
* Components that conflict with the ones in src/components. * Components that conflict with the ones in src/components.