Skip to content

Commit 7055add

Browse files
authored
fix(core): typescript import from floating-ui library (#2525)
1 parent 699a812 commit 7055add

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
"@patternfly/pfe-core": patch
3+
---
4+
`FloatingDOMController`: fixed an incorrect typescript import

core/pfe-core/controllers/floating-dom-controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { Placement } from '@floating-ui/dom';
22
import type { ReactiveController, ReactiveElement } from 'lit';
33
import type { StyleInfo } from 'lit/directives/style-map.js';
4-
import type { Options as Offset } from '@floating-ui/core/src/middleware/offset';
4+
import type { OffsetOptions as Offset } from '@floating-ui/core';
55

66
export type { Placement };
77

0 commit comments

Comments
 (0)