Skip to content

Commit

Permalink
[NO JIRA]: Update popover fallback to align with floating-ui (#3700)
Browse files Browse the repository at this point in the history
  • Loading branch information
olliecurtis authored Jan 6, 2025
1 parent 4dcb150 commit 5d753df
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 112 deletions.
23 changes: 0 additions & 23 deletions packages/bpk-component-popover/index.d.ts

This file was deleted.

44 changes: 0 additions & 44 deletions packages/bpk-component-popover/src/BpkPopover.d.ts

This file was deleted.

4 changes: 2 additions & 2 deletions packages/bpk-component-popover/src/BpkPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export type Props = CloseButtonProps & {
closeButtonLabel?: string;
actionText?: string;
onAction?: () => void;
renderTarget?: () => HTMLElement | HTMLElement | null;
renderTarget?: () => HTMLElement | HTMLElement | undefined;
};

const BpkPopover = ({
Expand All @@ -130,7 +130,7 @@ const BpkPopover = ({
onClose,
padded = true,
placement = 'bottom',
renderTarget = () => null,
renderTarget = () => undefined,
showArrow = true,
target,
...rest
Expand Down
23 changes: 0 additions & 23 deletions packages/bpk-component-popover/src/constants.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions packages/bpk-component-popover/src/themeAttributes.d.ts

This file was deleted.

0 comments on commit 5d753df

Please sign in to comment.