56 lines
3.1 KiB
TypeScript
56 lines
3.1 KiB
TypeScript
/*
|
|
* Copyright 2020 Adobe. All rights reserved.
|
|
* This file is licensed to you 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 REPRESENTATIONS
|
|
* OF ANY KIND, either express or implied. See the License for the specific language
|
|
* governing permissions and limitations under the License.
|
|
*/
|
|
export {useId, mergeIds, useSlotId} from './useId';
|
|
export {chain} from './chain';
|
|
export {createShadowTreeWalker, ShadowTreeWalker} from './shadowdom/ShadowTreeWalker';
|
|
export {getActiveElement, getEventTarget, nodeContains} from './shadowdom/DOMFunctions';
|
|
export {getOwnerDocument, getOwnerWindow, isShadowRoot} from './domHelpers';
|
|
export {mergeProps} from './mergeProps';
|
|
export {mergeRefs} from './mergeRefs';
|
|
export {filterDOMProps} from './filterDOMProps';
|
|
export {focusWithoutScrolling} from './focusWithoutScrolling';
|
|
export {getOffset} from './getOffset';
|
|
export {openLink, getSyntheticLinkProps, useSyntheticLinkProps, RouterProvider, shouldClientNavigate, useRouter, useLinkProps, handleLinkClick} from './openLink';
|
|
export {runAfterTransition} from './runAfterTransition';
|
|
export {useDrag1D} from './useDrag1D';
|
|
export {useGlobalListeners} from './useGlobalListeners';
|
|
export {useLabels} from './useLabels';
|
|
export {useObjectRef} from './useObjectRef';
|
|
export {useUpdateEffect} from './useUpdateEffect';
|
|
export {useUpdateLayoutEffect} from './useUpdateLayoutEffect';
|
|
export {useLayoutEffect} from './useLayoutEffect';
|
|
export {useResizeObserver} from './useResizeObserver';
|
|
export {useSyncRef} from './useSyncRef';
|
|
export {getScrollParent} from './getScrollParent';
|
|
export {getScrollParents} from './getScrollParents';
|
|
export {isScrollable} from './isScrollable';
|
|
export {useViewportSize} from './useViewportSize';
|
|
export {useDescription} from './useDescription';
|
|
export {isMac, isIPhone, isIPad, isIOS, isAppleDevice, isWebKit, isChrome, isAndroid, isFirefox} from './platform';
|
|
export {useEvent} from './useEvent';
|
|
export {useValueEffect} from './useValueEffect';
|
|
export {scrollIntoView, scrollIntoViewport} from './scrollIntoView';
|
|
export {clamp, snapValueToStep} from '@react-stately/utils';
|
|
export {isVirtualClick, isVirtualPointerEvent} from './isVirtualEvent';
|
|
export {useEffectEvent} from './useEffectEvent';
|
|
export {useDeepMemo} from './useDeepMemo';
|
|
export {useFormReset} from './useFormReset';
|
|
export {useLoadMore} from './useLoadMore';
|
|
export {useLoadMoreSentinel, useLoadMoreSentinel as UNSTABLE_useLoadMoreSentinel} from './useLoadMoreSentinel';
|
|
export {inertValue} from './inertValue';
|
|
export {CLEAR_FOCUS_EVENT, FOCUS_EVENT} from './constants';
|
|
export {isCtrlKeyPressed, willOpenKeyboard} from './keyboard';
|
|
export {useEnterAnimation, useExitAnimation} from './animation';
|
|
export {isFocusable, isTabbable} from './isFocusable';
|
|
|
|
export type {LoadMoreSentinelProps} from './useLoadMoreSentinel';
|