File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " svelte-floating-ui" ,
33 "description" : " Svelte actions for working with floating ui" ,
4- "version" : " 1.5.4 " ,
4+ "version" : " 1.5.5 " ,
55 "license" : " MIT" ,
66 "main" : " ./index.js" ,
77 "types" : " ./index.d.ts" ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export type ComputeConfig = Partial<ComputePositionConfig> & {
2020export type UpdatePosition = ( contentOptions ?: Omit < ComputeConfig , 'autoUpdate' > ) => void ;
2121export type ReferenceAction = ( node : HTMLElement | Writable < VirtualElement > | VirtualElement ) => void ;
2222export type ContentAction = ( node : HTMLElement , contentOptions ?: ComputeConfig ) => void ;
23- export type ArrowOptions = { padding ?: Padding , element : Writable < HTMLElement > } ;
23+ export type ArrowOptions = { padding ?: Padding , element : Writable < HTMLElement | undefined | null > } ;
2424
2525export function createFloatingActions ( initOptions ?: ComputeConfig ) : [ ReferenceAction , ContentAction , UpdatePosition ] {
2626 let referenceElement : ReferenceElement ;
You can’t perform that action at this time.
0 commit comments