mirror of
https://github.com/apache/superset.git
synced 2026-04-24 18:44:53 +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
@@ -17,7 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { render, screen, userEvent } from 'spec/helpers/testing-library';
|
||||
import { Menu } from 'src/components/Menu';
|
||||
import { Menu } from '@superset-ui/core/components/Menu';
|
||||
import SaveDatasetActionButton from 'src/SqlLab/components/SaveDatasetActionButton';
|
||||
|
||||
const overlayMenu = (
|
||||
|
||||
@@ -17,9 +17,8 @@
|
||||
* under the License.
|
||||
*/
|
||||
import { t, useTheme } from '@superset-ui/core';
|
||||
import { Icons } from 'src/components/Icons';
|
||||
import { DropdownButton } from 'src/components/DropdownButton';
|
||||
import Button from 'src/components/Button';
|
||||
import { Icons } from '@superset-ui/core/components/Icons';
|
||||
import { Button, DropdownButton } from '@superset-ui/core/components';
|
||||
|
||||
interface SaveDatasetActionButtonProps {
|
||||
setShowSave: (arg0: boolean) => void;
|
||||
@@ -41,10 +40,7 @@ const SaveDatasetActionButton = ({
|
||||
onClick={() => setShowSave(true)}
|
||||
dropdownRender={() => overlayMenu}
|
||||
icon={
|
||||
<Icons.DownOutlined
|
||||
iconSize="xs"
|
||||
iconColor={theme.colors.primary.dark2}
|
||||
/>
|
||||
<Icons.DownOutlined iconSize="xs" iconColor={theme.colorPrimaryText} />
|
||||
}
|
||||
trigger={['click']}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user