@dinofront/design_system 1.20.13-alpha.0 → 1.20.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +77 -76
- package/dist/index.js.map +1 -1
- package/dist/lib/useFloatingPosition.d.ts +1 -2
- package/package.json +1 -1
|
@@ -19,7 +19,6 @@ export interface UseFloatingPositionOptions {
|
|
|
19
19
|
constrainToViewport?: boolean;
|
|
20
20
|
/** Changing this re-measures the panel — for content whose size changes while open. */
|
|
21
21
|
recomputeKey?: unknown;
|
|
22
|
-
zIndex?: number;
|
|
23
22
|
}
|
|
24
23
|
export interface FloatingPosition {
|
|
25
24
|
style: CSSProperties;
|
|
@@ -34,4 +33,4 @@ export interface FloatingPosition {
|
|
|
34
33
|
* dialog) without being clipped by an
|
|
35
34
|
* `overflow: hidden` ancestor. Recomputes on open, resize, and any
|
|
36
35
|
* ancestor scroll. */
|
|
37
|
-
export declare function useFloatingPosition({ anchor, panel, open, side, align, offset, flip, shift, matchAnchorWidth, constrainToViewport, recomputeKey,
|
|
36
|
+
export declare function useFloatingPosition({ anchor, panel, open, side, align, offset, flip, shift, matchAnchorWidth, constrainToViewport, recomputeKey, }: UseFloatingPositionOptions): FloatingPosition;
|