mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: remove react-popper from AnnotationEditor and AnnotationMarker (#82090)
update AnnotationEditor and AnnotationMarker to use floating-ui/react instead of react-popper
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
/**
|
||||
* This API allows popovers to update Popper's position when e.g. popover content changes
|
||||
* update is delivered to content by react-popper.
|
||||
*/
|
||||
export interface ToggletipContentProps {
|
||||
/**
|
||||
* @deprecated
|
||||
* This prop is deprecated and no longer has any effect as popper position updates automatically.
|
||||
* It will be removed in a future release.
|
||||
*/
|
||||
update?: () => void;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Placement } from '@floating-ui/react';
|
||||
/**
|
||||
* This API allows popovers to update Popper's position when e.g. popover content changes
|
||||
* updatePopperPosition is delivered to content by react-popper.
|
||||
*/
|
||||
|
||||
export interface PopoverContentProps {
|
||||
// Is this used anywhere in plugins? Can we remove it or rename it to just update?
|
||||
/**
|
||||
* @deprecated
|
||||
* This prop is deprecated and no longer has any effect as popper position updates automatically.
|
||||
* It will be removed in a future release.
|
||||
*/
|
||||
updatePopperPosition?: () => void;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user