@base-ui-components/react
Version:
Base UI is a library of headless ('unstyled') React components and low-level hooks. You gain complete control over your app's CSS and accessibility features.
30 lines • 1.16 kB
TypeScript
export declare const TYPEAHEAD_RESET_MS = 500;
export declare const PATIENT_CLICK_THRESHOLD = 500;
export declare const DISABLED_TRANSITIONS_STYLE: {
style: {
transition: string;
};
};
export { EMPTY_OBJECT, EMPTY_ARRAY } from '@base-ui-components/utils/empty';
export declare const CLICK_TRIGGER_IDENTIFIER = "data-base-ui-click-trigger";
/**
* Used for dropdowns that usually strictly prefer top/bottom placements and
* use `var(--available-height)` to limit their height.
*/
export declare const DROPDOWN_COLLISION_AVOIDANCE: {
readonly fallbackAxisSide: "none";
};
/**
* Used by regular popups that usually aren't scrollable and are allowed to
* freely flip to any axis of placement.
*/
export declare const POPUP_COLLISION_AVOIDANCE: {
readonly fallbackAxisSide: "end";
};
/**
* Special visually hidden styles for the aria-owns owner element to ensure owned element
* accessibility in iOS/Safari/VoiceControl.
* The owner element is an empty span, so most of the common visually hidden styles are not needed.
* @see https://github.com/floating-ui/floating-ui/issues/3403
*/
export declare const ownerVisuallyHidden: React.CSSProperties;