@highlight-ui/utils-hooks
Advanced tools
Comparing version 3.4.3 to 3.5.0
import React from 'react'; | ||
import { FloatingContext, ReferenceType } from '@floating-ui/react-dom-interactions'; | ||
import { FloatingContext, ReferenceType, Padding } from '@floating-ui/react-dom-interactions'; | ||
export declare const isEnabled: (value: null | undefined | false | { | ||
@@ -8,6 +8,2 @@ enabled?: boolean; | ||
export declare type Alignment = 'start' | 'end'; | ||
declare const DefaultFlipConfig: { | ||
enabled: boolean; | ||
fallbackPlacements: undefined; | ||
}; | ||
/** | ||
@@ -17,3 +13,7 @@ * Changes the placement of the floating element to the opposite one by default in order to keep it in view. Default: Enabled | ||
*/ | ||
declare type FlipConfig = Partial<typeof DefaultFlipConfig>; | ||
interface FlipConfig { | ||
enabled: boolean; | ||
fallbackPlacements?: Placement[]; | ||
padding?: Padding; | ||
} | ||
declare const DefaultOffsetConfig: { | ||
@@ -20,0 +20,0 @@ enabled: boolean; |
import React from 'react'; | ||
import { FloatingContext, ReferenceType } from '@floating-ui/react-dom-interactions'; | ||
import { FloatingContext, ReferenceType, Padding } from '@floating-ui/react-dom-interactions'; | ||
export declare const isEnabled: (value: null | undefined | false | { | ||
@@ -8,6 +8,2 @@ enabled?: boolean; | ||
export declare type Alignment = 'start' | 'end'; | ||
declare const DefaultFlipConfig: { | ||
enabled: boolean; | ||
fallbackPlacements: undefined; | ||
}; | ||
/** | ||
@@ -17,3 +13,7 @@ * Changes the placement of the floating element to the opposite one by default in order to keep it in view. Default: Enabled | ||
*/ | ||
declare type FlipConfig = Partial<typeof DefaultFlipConfig>; | ||
interface FlipConfig { | ||
enabled: boolean; | ||
fallbackPlacements?: Placement[]; | ||
padding?: Padding; | ||
} | ||
declare const DefaultOffsetConfig: { | ||
@@ -20,0 +20,0 @@ enabled: boolean; |
{ | ||
"name": "@highlight-ui/utils-hooks", | ||
"version": "3.4.3", | ||
"version": "3.5.0", | ||
"author": "Personio GmbH & Co. KG", | ||
@@ -46,3 +46,3 @@ "main": "dist/cjs/index.js", | ||
}, | ||
"gitHead": "d035783baf5fce0b23f89456b5892e46ed7cf63e" | ||
"gitHead": "687356e0ebd271d059a5ca0da84842fd128bf70f" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1124591
9273