mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
feat(theming): land Ant Design v5 overhaul — dynamic themes, real dark mode + massive styling refactor (#31590)
Co-authored-by: Enzo Martellucci <52219496+EnxDev@users.noreply.github.com> Co-authored-by: Diego Pucci <diegopucci.me@gmail.com> Co-authored-by: Mehmet Salih Yavuz <salih.yavuz@proton.me> Co-authored-by: Geido <60598000+geido@users.noreply.github.com> Co-authored-by: Alexandru Soare <37236580+alexandrusoare@users.noreply.github.com> Co-authored-by: Damian Pendrak <dpendrak@gmail.com> Co-authored-by: Pius Iniobong <67148161+payose@users.noreply.github.com> Co-authored-by: Enzo Martellucci <enzomartellucci@gmail.com> Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
This commit is contained in:
committed by
GitHub
parent
2cc1ef88c8
commit
dd129fa403
@@ -18,13 +18,15 @@
|
||||
*/
|
||||
import { t } from '@superset-ui/core';
|
||||
import { useToasts } from 'src/components/MessageToasts/withToasts';
|
||||
import FormModal from 'src/components/Modal/FormModal';
|
||||
import { FormItem } from 'src/components/Form';
|
||||
import { Input } from 'src/components/Input';
|
||||
import Checkbox from 'src/components/Checkbox';
|
||||
import Select from 'src/components/Select/Select';
|
||||
import { Group, Role, UserObject } from 'src/pages/UsersList';
|
||||
import { FormInstance } from 'src/components';
|
||||
import {
|
||||
Checkbox,
|
||||
FormModal,
|
||||
Select,
|
||||
Input,
|
||||
FormItem,
|
||||
FormInstance,
|
||||
} from '@superset-ui/core/components';
|
||||
import { Group, Role, UserObject } from 'src/pages/UsersList/types';
|
||||
import { Actions } from 'src/constants';
|
||||
import { BaseUserListModalProps, FormValues } from './types';
|
||||
import { createUser, updateUser, atLeastOneRoleOrGroup } from './utils';
|
||||
@@ -195,7 +197,7 @@ function UserListModal({
|
||||
label: role.name,
|
||||
}))}
|
||||
getPopupContainer={trigger =>
|
||||
trigger.closest('.antd5-modal-content')
|
||||
trigger.closest('.ant-modal-content')
|
||||
}
|
||||
/>
|
||||
</FormItem>
|
||||
@@ -214,7 +216,7 @@ function UserListModal({
|
||||
label: group.name,
|
||||
}))}
|
||||
getPopupContainer={trigger =>
|
||||
trigger.closest('.antd5-modal-content')
|
||||
trigger.closest('.ant-modal-content')
|
||||
}
|
||||
/>
|
||||
</FormItem>
|
||||
|
||||
Reference in New Issue
Block a user