refactor(Popover): Upgrade Popover to Antd5 (#31973)

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
This commit is contained in:
Alexandru Soare
2025-02-10 16:38:17 +02:00
committed by GitHub
parent 06f8f8e608
commit 0030f46d2d
30 changed files with 157 additions and 228 deletions

View File

@@ -18,7 +18,7 @@
*/
import { ControlHeader } from '@superset-ui/chart-controls';
import { css, styled, t } from '@superset-ui/core';
import { Popover } from 'antd';
import Popover from 'src/components/Popover';
import { FC, useState } from 'react';
import { EditItem, LayerConf, LayerConfigsControlProps } from './types';
import LayerConfigsPopoverContent from './LayerConfigsPopoverContent';
@@ -160,7 +160,7 @@ export const LayerConfigsControl: FC<LayerConfigsControlProps> = ({
<div>
<ControlHeader {...controlHeaderProps} />
<Popover
visible={popoverVisible}
open={popoverVisible}
trigger="click"
title={popoverTitle}
placement="right"