/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ /** * The animation settings for the Popup component. */ export interface PopupAnimation { /** * Sets the type of the animation. * @default 'slide' */ type?: AnimationType; /** * Sets the animation duration in milliseconds. * @default 100 */ duration: number; /** * Sets the animation direction. Applies if the type is `slide` or `expand`. * @default 'down' */ direction: AnimationDirection; } /** * Defines the possible animation types for the Popup. */ export type AnimationType = 'slide' | 'expand' | 'zoom' | 'fade'; /** * Defines the possible animation directions for the Popup. */ export type AnimationDirection = 'down' | 'up' | 'left' | 'right';