UNPKG

@visa/nova-angular

Version:

Visa Product Design System Nova Angular library

38 lines (37 loc) 1.51 kB
/** * Copyright (c) 2025 Visa, Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * **/ export declare const FloatingUIPlacements: { readonly TOP: "top"; readonly TOP_START: "top-start"; readonly TOP_END: "top-end"; readonly RIGHT: "right"; readonly RIGHT_START: "right-start"; readonly RIGHT_END: "right-end"; readonly BOTTOM: "bottom"; readonly BOTTOM_START: "bottom-start"; readonly BOTTOM_END: "bottom-end"; readonly LEFT: "left"; readonly LEFT_START: "left-start"; readonly LEFT_END: "left-end"; }; export type FloatingUIPlacements = (typeof FloatingUIPlacements)[keyof typeof FloatingUIPlacements]; export declare const FloatingUIVisibility: { readonly SHOW: "show"; readonly HIDE: "hide"; }; export type FloatingUIVisibility = (typeof FloatingUIVisibility)[keyof typeof FloatingUIVisibility]; export type UIEventVisibilityPair = [UIEvent, FloatingUIVisibility?][] | ((UIEvent | 'show')[] | (UIEvent | 'hide')[])[];