ariakit-utils
Version:
Ariakit utils
7 lines (6 loc) • 1.27 kB
JavaScript
export { addItemToArray, flatten2DArray, reverseArray, toArray } from './array.js';
export { canUseDOM, closest, contains, getActiveElement, getDocument, getPopupItemRole, getPopupRole, getScrollingElement, getTextboxSelection, getWindow, isButton, isFrame, isPartiallyHidden, isTextField, isVisible, matches, scrollIntoViewIfNeeded } from './dom.js';
export { addGlobalEventListener, fireBlurEvent, fireClickEvent, fireEvent, fireFocusEvent, fireKeyboardEvent, isDownloading, isFocusEventOutside, isOpeningInNewTab, isPortalEvent, isSelfTarget, queueBeforeEvent } from './events.js';
export { disableFocus, disableFocusIn, focusIfNeeded, focusIntoView, getAllFocusable, getAllFocusableIn, getAllTabbable, getAllTabbableIn, getClosestFocusable, getFirstFocusable, getFirstFocusableIn, getFirstTabbable, getFirstTabbableIn, getLastTabbable, getLastTabbableIn, getNextTabbable, getNextTabbableIn, getPreviousTabbable, getPreviousTabbableIn, hasFocus, hasFocusWithin, isFocusable, isTabbable, restoreFocusIn } from './focus.js';
export { applyState, chain, cx, hasOwnProperty, isEmpty, isInteger, isObject, isPromise, noop, normalizeString, queueMicrotask, shallowEqual } from './misc.js';
export { isApple, isFirefox, isMac, isSafari, isTouchDevice } from './platform.js';