@codecademy/gamut

72.5.372.5.4-alpha.aec7dd.0
dist/PopoverContainer/utils.d.ts
~dist/PopoverContainer/utils.d.tsModified
+3−3
Index: package/dist/PopoverContainer/utils.d.ts
===================================================================
--- package/dist/PopoverContainer/utils.d.ts
+++ package/dist/PopoverContainer/utils.d.ts
@@ -1,6 +1,6 @@
 import { CSSObject } from '@codecademy/variance';
-import { Alignments, PopoverPositionConfig, TargetRef } from './types';
+import { PopoverContainerAlignment, PopoverPositionConfig } from './types';
 export interface PopoverPositionResult {
     /** Edge insets pinning the popover to the container (`left` / `right` / `top` / `bottom`). */
     styles: CSSObject;
     /**
@@ -12,9 +12,9 @@
 /**
  * Mirrors placement on the inline axis when the target is RTL so e.g. `bottom-left`
  * uses the same geometry as `bottom-right` in LTR.
  */
-export declare const mirrorAlignment: (alignment: Alignments, isRtl: boolean) => Alignments;
+export declare const mirrorAlignment: (alignment: PopoverContainerAlignment, isRtl: boolean) => PopoverContainerAlignment;
 export declare const findResizingParent: (element: HTMLElement) => HTMLElement | null;
 /**
  * Finds all scrolling parents of an element.
  * This is useful for detecting scroll events on parents that may not be the direct parent.
@@ -53,9 +53,9 @@
  */
 export declare const getPosition: ({ alignment, container, offset, x, y, invertAxis, isRtl, }: PopoverPositionConfig & {
     isRtl?: boolean;
 }) => PopoverPositionResult;
-export declare const getContainers: (target: TargetRef, inline: boolean | undefined, scroll: {
+export declare const getContainers: (target: HTMLElement, inline: boolean | undefined, scroll: {
     x: number;
     y: number;
 }) => {
     viewport: DOMRect;