SYMBOL INDEX (385 symbols across 101 files)
FILE: cypress.config.js
method setupNodeEvents (line 9) | setupNodeEvents(on) {
FILE: docusaurus.config.js
method configureWebpack (line 43) | configureWebpack(webpackConfig, isServer) {
FILE: docusaurus/pages/combobox.js
function ComboBox (line 6) | function ComboBox() {
FILE: docusaurus/pages/index.js
function Docs (line 3) | function Docs() {
FILE: docusaurus/pages/useCombobox.js
function DropdownCombobox (line 6) | function DropdownCombobox() {
FILE: docusaurus/pages/useMultipleCombobox.js
function getFilteredItems (line 14) | function getFilteredItems(selectedItems, inputValue) {
function DropdownMultipleCombobox (line 24) | function DropdownMultipleCombobox() {
FILE: docusaurus/pages/useMultipleSelect.js
function getFilteredItems (line 14) | function getFilteredItems(selectedItems) {
function DropdownMultipleSelect (line 18) | function DropdownMultipleSelect() {
FILE: docusaurus/pages/useSelect.js
function DropdownSelect (line 6) | function DropdownSelect() {
FILE: docusaurus/pages/useTagGroup.tsx
function TagGroup (line 8) | function TagGroup() {
FILE: docusaurus/pages/useTagGroupCombobox.tsx
function TagGroup (line 9) | function TagGroup() {
FILE: docusaurus/plugins/webpack5polyfills.js
method configureWebpack (line 7) | configureWebpack() {
FILE: other/misc-tests/__tests__/build.js
function isDownshiftComponent (line 242) | function isDownshiftComponent(thing) {
FILE: other/misc-tests/__tests__/preact.js
method children (line 68) | children({getInputProps}) {
function setup (line 97) | function setup({children = () =>
, ...props} = {}) {
FILE: src/__tests__/downshift.aria.js
function renderDownshift (line 45) | function renderDownshift({renderFn, props, menuProps, inputProps} = {}) {
FILE: src/__tests__/downshift.focus-restoration.js
function renderDownshift (line 27) | function renderDownshift(items) {
FILE: src/__tests__/downshift.get-button-props.js
function setup (line 125) | function setup({
FILE: src/__tests__/downshift.get-input-props.js
function setupDownshiftWithState (line 722) | function setupDownshiftWithState() {
function setup (line 741) | function setup({items = colors} = {}) {
function renderDownshift (line 773) | function renderDownshift({items, props} = {}) {
function setupWithDownshiftController (line 801) | function setupWithDownshiftController() {
FILE: src/__tests__/downshift.get-item-props.js
function renderDownshift (line 340) | function renderDownshift({
function setupWithDownshiftController (line 390) | function setupWithDownshiftController() {
FILE: src/__tests__/downshift.get-label-props.js
function renderDownshift (line 22) | function renderDownshift({props} = {}) {
function BasicDownshift (line 31) | function BasicDownshift({
FILE: src/__tests__/downshift.lifecycle.js
function mouseDownAndUp (line 257) | function mouseDownAndUp(node) {
function setup (line 262) | function setup({render: renderFn = () => , ...props} = {}) {
FILE: src/__tests__/downshift.misc-with-utils-mocked.js
class HighlightedIndexController (line 15) | class HighlightedIndexController extends React.Component {
method render (line 23) | render() {
FILE: src/__tests__/downshift.misc.js
function setup (line 234) | function setup({children = () => , ...props} = {}) {
FILE: src/__tests__/downshift.props.js
function mouseDownAndUp (line 218) | function mouseDownAndUp(node) {
function setup (line 223) | function setup({render: renderFn = () => , ...props} = {}) {
FILE: src/__tests__/portal-support.js
class MyMenu (line 7) | class MyMenu extends React.Component {
method componentDidMount (line 9) | componentDidMount() {
method componentWillUnmount (line 12) | componentWillUnmount() {
method render (line 15) | render() {
function MyPortalAutocomplete (line 32) | function MyPortalAutocomplete() {
FILE: src/__tests__/set-a11y-status.js
function setup (line 80) | function setup() {
FILE: src/__tests__/utils.get-highlighted-index.js
function isItemDisabled (line 7) | function isItemDisabled() {
function isItemDisabled (line 18) | function isItemDisabled() {
function isItemDisabled (line 29) | function isItemDisabled() {
function isItemDisabled (line 40) | function isItemDisabled() {
function isItemDisabled (line 54) | function isItemDisabled() {
function isItemDisabled (line 68) | function isItemDisabled() {
function isItemDisabled (line 82) | function isItemDisabled() {
function isItemDisabled (line 96) | function isItemDisabled(_item, index) {
function isItemDisabled (line 107) | function isItemDisabled(_item, index) {
function isItemDisabled (line 118) | function isItemDisabled(_item, index) {
function isItemDisabled (line 132) | function isItemDisabled(_item, index) {
function isItemDisabled (line 146) | function isItemDisabled(_item, index) {
function isItemDisabled (line 160) | function isItemDisabled(_item, index) {
function isItemDisabled (line 174) | function isItemDisabled(_item, index) {
function isItemDisabled (line 188) | function isItemDisabled(_item, index) {
function isItemDisabled (line 202) | function isItemDisabled() {
function isItemDisabled (line 216) | function isItemDisabled() {
FILE: src/__tests__/utils.reset-id-counter.js
function setup (line 55) | function setup({renderDownshift = () => , ...props} = {}) {
FILE: src/__tests__/utils.reset-id-counter.r18.js
function setup (line 39) | function setup({renderDownshift = () => , ...props} = {}) {
FILE: src/__tests__/utils.scroll-into-view.js
function getScrollableNode (line 74) | function getScrollableNode(overrides = {}) {
function getNode (line 84) | function getNode({
FILE: src/downshift.js
class Downshift (line 29) | class Downshift extends Component {
method constructor (line 116) | constructor(props) {
method internalClearTimeouts (line 177) | internalClearTimeouts() {
method getState (line 194) | getState(stateToMerge = this.state) {
method getItemCount (line 198) | getItemCount() {
method getItemNodeFromIndex (line 220) | getItemNodeFromIndex(index) {
method scrollHighlightedItemIntoView (line 240) | scrollHighlightedItemIntoView() {
method moveHighlightedIndex (line 248) | moveHighlightedIndex(amount, otherStateToSet) {
method getStateAndHelpers (line 423) | getStateAndHelpers() {
method ArrowDown (line 514) | ArrowDown(event) {
method ArrowUp (line 549) | ArrowUp(event) {
method Enter (line 584) | Enter(event) {
method Escape (line 603) | Escape(event) {
method ' ' (line 617) | ' '(event) {
method Home (line 625) | Home(event) {
method End (line 653) | End(event) {
method componentDidMount (line 1059) | componentDidMount() {
method shouldScroll (line 1151) | shouldScroll(prevState, prevProps) {
method componentDidUpdate (line 1164) | componentDidUpdate(prevProps, prevState) {
method componentWillUnmount (line 1200) | componentWillUnmount() {
method render (line 1204) | render() {
function validateGetMenuPropsCalledCorrectly (line 1262) | function validateGetMenuPropsCalledCorrectly(node, {refKey}) {
function validateGetRootPropsCalledCorrectly (line 1271) | function validateGetRootPropsCalledCorrectly(element, {refKey}) {
FILE: src/hooks/reducer.js
function downshiftCommonReducer (line 5) | function downshiftCommonReducer(
FILE: src/hooks/testUtils.js
function getLabel (line 74) | function getLabel() {
function getMenu (line 77) | function getMenu() {
function getToggleButton (line 80) | function getToggleButton() {
function getItemAtIndex (line 83) | function getItemAtIndex(index) {
function getItems (line 86) | function getItems() {
function clickOnItemAtIndex (line 89) | async function clickOnItemAtIndex(index) {
function clickOnToggleButton (line 92) | async function clickOnToggleButton() {
function mouseMoveItemAtIndex (line 95) | async function mouseMoveItemAtIndex(index) {
function mouseLeaveItemAtIndex (line 98) | async function mouseLeaveItemAtIndex(index) {
function keyDownOnToggleButton (line 101) | async function keyDownOnToggleButton(keys) {
function getA11yStatusContainer (line 108) | function getA11yStatusContainer() {
function tab (line 111) | async function tab(shiftKey = false) {
FILE: src/hooks/useCombobox/__tests__/getInputProps.test.js
method isItemDisabled (line 487) | isItemDisabled(_item, index) {
method isItemDisabled (line 624) | isItemDisabled(item) {
method isItemDisabled (line 664) | isItemDisabled(item) {
method isItemDisabled (line 811) | isItemDisabled(_item, index) {
method isItemDisabled (line 954) | isItemDisabled(item) {
method isItemDisabled (line 994) | isItemDisabled(item) {
method isItemDisabled (line 1092) | isItemDisabled(_item, index) {
method isItemDisabled (line 1146) | isItemDisabled(_item, index) {
method isItemDisabled (line 1198) | isItemDisabled(_item, index) {
method isItemDisabled (line 1578) | isItemDisabled(_item, index) {
method isItemDisabled (line 1652) | isItemDisabled(_item, index) {
method isItemDisabled (line 2031) | isItemDisabled(item) {
method isItemDisabled (line 2072) | isItemDisabled(item) {
FILE: src/hooks/useCombobox/__tests__/getItemProps.test.js
method isItemDisabled (line 64) | isItemDisabled(_item, index) {
method isItemDisabled (line 267) | isItemDisabled(_item, index) {
method isItemDisabled (line 356) | isItemDisabled(_item, idx) {
FILE: src/hooks/useCombobox/__tests__/memo.test.js
function renderItem (line 19) | function renderItem(props) {
function isItemDisabled (line 22) | function isItemDisabled(_item, index) {
FILE: src/hooks/useCombobox/__tests__/props.test.js
function itemToString (line 79) | function itemToString(item) {
function itemToString (line 150) | function itemToString(item) {
FILE: src/hooks/useCombobox/__tests__/returnProps.test.js
method isItemDisabled (line 97) | isItemDisabled(_item, index) {
method isItemDisabled (line 188) | isItemDisabled(_item, index) {
FILE: src/hooks/useCombobox/index.js
function useCombobox (line 31) | function useCombobox(userProps = {}) {
FILE: src/hooks/useCombobox/reducer.js
function downshiftUseComboboxReducer (line 13) | function downshiftUseComboboxReducer(state, props, action) {
FILE: src/hooks/useCombobox/testUtils.js
method useId (line 13) | useId() {
function getInput (line 32) | function getInput() {
function keyDownOnInput (line 36) | async function keyDownOnInput(keys) {
function changeInputValue (line 44) | async function changeInputValue(inputValue) {
function clickOnInput (line 52) | async function clickOnInput() {
function DropdownCombobox (line 70) | function DropdownCombobox({renderSpy, renderItem, ...props}) {
FILE: src/hooks/useCombobox/utils.js
function getInitialState (line 10) | function getInitialState(props) {
function useControlledReducer (line 55) | function useControlledReducer(
method isItemDisabled (line 102) | isItemDisabled() {
FILE: src/hooks/useMultipleSelection/index.js
function useMultipleSelection (line 23) | function useMultipleSelection(userProps = {}) {
FILE: src/hooks/useMultipleSelection/reducer.js
function downshiftMultipleSelectionReducer (line 5) | function downshiftMultipleSelectionReducer(
FILE: src/hooks/useMultipleSelection/testUtils.js
method useId (line 17) | useId() {
function getSelectedItemAtIndex (line 36) | function getSelectedItemAtIndex(index) {
function getSelectedItems (line 40) | function getSelectedItems() {
function clickOnSelectedItemAtIndex (line 44) | async function clickOnSelectedItemAtIndex(index) {
function keyDownOnSelectedItemAtIndex (line 47) | async function keyDownOnSelectedItemAtIndex(index, key) {
function focusSelectedItemAtIndex (line 57) | function focusSelectedItemAtIndex(index) {
function clickOnInput (line 61) | async function clickOnInput() {
FILE: src/hooks/useMultipleSelection/utils.js
function getInitialValue (line 24) | function getInitialValue(props, propKey) {
function getDefaultValue (line 36) | function getDefaultValue(props, propKey) {
function getInitialState (line 47) | function getInitialState(props) {
function isKeyDownOperationPermitted (line 66) | function isKeyDownOperationPermitted(event) {
function isStateEqual (line 93) | function isStateEqual(prevState, newState) {
FILE: src/hooks/useSelect/__tests__/getItemProps.test.js
method isItemDisabled (line 69) | isItemDisabled(_item, index) {
method isItemDisabled (line 293) | isItemDisabled(_item, index) {
method isItemDisabled (line 384) | isItemDisabled(_item, idx) {
FILE: src/hooks/useSelect/__tests__/getToggleButtonProps.test.js
method isItemDisabled (line 417) | isItemDisabled(item) {
method isItemDisabled (line 458) | isItemDisabled(item) {
method isItemDisabled (line 741) | isItemDisabled(_item, index) {
method isItemDisabled (line 892) | isItemDisabled(item) {
method isItemDisabled (line 932) | isItemDisabled(item) {
method isItemDisabled (line 1081) | isItemDisabled(_item, index) {
method isItemDisabled (line 1232) | isItemDisabled(item) {
method isItemDisabled (line 1272) | isItemDisabled(item) {
method isItemDisabled (line 1372) | isItemDisabled(_item, index) {
method isItemDisabled (line 1428) | isItemDisabled(_item, index) {
method isItemDisabled (line 1482) | isItemDisabled(_item, index) {
method isItemDisabled (line 1830) | isItemDisabled(_item, index) {
method isItemDisabled (line 1904) | isItemDisabled(_item, index) {
FILE: src/hooks/useSelect/__tests__/memo.test.js
function renderItem (line 21) | function renderItem(props) {
function isItemDisabled (line 24) | function isItemDisabled(_item, index) {
FILE: src/hooks/useSelect/__tests__/returnProps.test.js
method isItemDisabled (line 97) | isItemDisabled(_item, index) {
method isItemDisabled (line 161) | isItemDisabled(_item, index) {
FILE: src/hooks/useSelect/index.js
function useSelect (line 33) | function useSelect(userProps = {}) {
FILE: src/hooks/useSelect/reducer.js
function downshiftSelectReducer (line 14) | function downshiftSelectReducer(state, props, action) {
FILE: src/hooks/useSelect/testUtils.js
method useId (line 33) | useId() {
function renderUseSelect (line 42) | function renderUseSelect(props) {
function renderSelect (line 45) | function renderSelect(props, uiCallback) {
function DropdownSelect (line 59) | function DropdownSelect({renderSpy, renderItem, ...props}) {
function getItemIndexByCharacter (line 109) | function getItemIndexByCharacter(character, startIndex = 0) {
FILE: src/hooks/useSelect/utils/defaultProps.ts
method isItemDisabled (line 5) | isItemDisabled() {
FILE: src/hooks/useSelect/utils/getItemIndexByCharacterKey.ts
type GetItemIndexByCharacterKeyOptions (line 1) | type GetItemIndexByCharacterKeyOptions- = {
function getItemIndexByCharacterKey (line 9) | function getItemIndexByCharacterKey
- ({
FILE: src/hooks/useTagGroup/__tests__/getTagGroupProps.test.ts
method useId (line 13) | useId() {
FILE: src/hooks/useTagGroup/__tests__/getTagProps.test.ts
method useId (line 7) | useId() {
FILE: src/hooks/useTagGroup/__tests__/getTagRemoveProps.test.ts
method useId (line 14) | useId() {
FILE: src/hooks/useTagGroup/__tests__/props.test.ts
method getTagId (line 106) | getTagId(index) {
FILE: src/hooks/useTagGroup/__tests__/reducer.test.ts
method stateReducer (line 9) | stateReducer(state) {
FILE: src/hooks/useTagGroup/__tests__/utils/renderTagGroup.tsx
function renderTagGroup (line 10) | function renderTagGroup(props: Partial> = {}) {
function TagGroup (line 50) | function TagGroup(props: Partial> = {}) {
FILE: src/hooks/useTagGroup/__tests__/utils/renderUseTagGroup.ts
function renderUseTagGroup (line 7) | function renderUseTagGroup(
FILE: src/hooks/useTagGroup/index.types.ts
type UseTagGroupState (line 3) | interface UseTagGroupState
- extends State {
type Environment (line 8) | interface Environment {
type UseTagGroupStateChange (line 15) | interface UseTagGroupStateChange
- extends Partial<
type UseTagGroupActiveIndexChange (line 21) | interface UseTagGroupActiveIndexChange<
type UseTagGroupItemsChange (line 27) | interface UseTagGroupItemsChange<
type UseTagGroupProps (line 33) | interface UseTagGroupProps
- extends Partial<
type UseTagGroupMergedProps (line 54) | type UseTagGroupMergedProps
- = Required<
type UseTagGroupInterface (line 59) | interface UseTagGroupInterface {
type UseTagGroupReturnValue (line 72) | interface UseTagGroupReturnValue
- {
type GetTagPropsOptions (line 81) | interface GetTagPropsOptions extends React.HTMLProps {
type GetTagPropsReturnValue (line 87) | interface GetTagPropsReturnValue {
type GetTagRemovePropsOptions (line 96) | interface GetTagRemovePropsOptions extends React.HTMLProps {
type GetTagRemovePropsReturnValue (line 100) | interface GetTagRemovePropsReturnValue {
type GetTagGroupPropsOptions (line 108) | interface GetTagGroupPropsOptions extends React.HTMLProps {
type GetTagGroupPropsReturnValue (line 113) | interface GetTagGroupPropsReturnValue {
type GetTagGroupProps (line 121) | type GetTagGroupProps = = {}>(
type GetTagProps (line 125) | type GetTagProps = = {}>(
type GetTagRemoveProps (line 129) | type GetTagRemoveProps = = {}>(
type UseTagGroupStateChangeTypes (line 133) | enum UseTagGroupStateChangeTypes {
type UseTagGroupReducerAction (line 143) | type UseTagGroupReducerAction
- =
type UseTagGroupTagClickReducerAction (line 152) | type UseTagGroupTagClickReducerAction = {
type UseTagGroupTagKeyDownArrowLeftAction (line 157) | type UseTagGroupTagKeyDownArrowLeftAction = {
type UseTagGroupTagKeyDownArrowRightAction (line 160) | type UseTagGroupTagKeyDownArrowRightAction = {
type UseTagGroupTagKeyDownBackspaceAction (line 163) | type UseTagGroupTagKeyDownBackspaceAction = {
type UseTagGroupTagKeyDownDeleteAction (line 166) | type UseTagGroupTagKeyDownDeleteAction = {
type UseTagGroupTagRemoveClickAction (line 169) | type UseTagGroupTagRemoveClickAction = {
type UseTagGroupFunctionAddItem (line 173) | type UseTagGroupFunctionAddItem
- = {
FILE: src/hooks/useTagGroup/reducer.ts
function useTagGroupReducer (line 8) | function useTagGroupReducer
- (
FILE: src/hooks/useTagGroup/utils/__tests__/useElementIds.r18.test.ts
method useId (line 7) | useId() {
FILE: src/hooks/useTagGroup/utils/getInitialState.ts
function getInitialState (line 3) | function getInitialState(
FILE: src/hooks/useTagGroup/utils/getMergedProps.ts
function getMergedProps (line 5) | function getMergedProps
- (
FILE: src/hooks/useTagGroup/utils/isStateEqual.ts
function isStateEqual (line 3) | function isStateEqual(
FILE: src/hooks/useTagGroup/utils/useAccessibleDescription.ts
constant A11Y_DESCRIPTION_ELEMENT_ID (line 3) | const A11Y_DESCRIPTION_ELEMENT_ID = 'tag-group-a11y-description'
function useAccessibleDescription (line 5) | function useAccessibleDescription(
FILE: src/hooks/useTagGroup/utils/useElementIds.ts
type UseElementIdsProps (line 5) | type UseElementIdsProps = {
type UseElementIdsReturnValue (line 11) | type UseElementIdsReturnValue = {
function useElementIdsR18 (line 26) | function useElementIdsR18({
function useElementIdsLegacy (line 47) | function useElementIdsLegacy({
FILE: src/hooks/useTagGroup/utils/useRovingTagFocus.ts
function useRovingTagFocus (line 7) | function useRovingTagFocus(
FILE: src/hooks/utils-ts/callOnChangeProps.ts
function callOnChangeProps (line 4) | function callOnChangeProps<
function invokeOnChangeHandler (line 26) | function invokeOnChangeHandler<
FILE: src/hooks/utils-ts/capitalizeString.ts
function capitalizeString (line 1) | function capitalizeString(string: string): string {
FILE: src/hooks/utils-ts/getDefaultValue.ts
function getDefaultValue (line 4) | function getDefaultValue
>(
FILE: src/hooks/utils-ts/getInitialValue.ts
function getInitialValue (line 5) | function getInitialValue>(
FILE: src/hooks/utils-ts/getItemAndIndex.ts
function getItemAndIndex (line 10) | function getItemAndIndex- (
FILE: src/hooks/utils-ts/stateReducer.ts
function stateReducer (line 7) | function stateReducer(_s: State, a: Action) {
FILE: src/hooks/utils-ts/useA11yMessageStatus.ts
function useA11yMessageStatus (line 21) | function useA11yMessageStatus(
FILE: src/hooks/utils-ts/useControlledReducer.ts
function useControlledReducer (line 14) | function useControlledReducer<
FILE: src/hooks/utils-ts/useEnhancedReducer.ts
function useEnhancedReducer (line 23) | function useEnhancedReducer<
FILE: src/hooks/utils-ts/useIsInitialMount.ts
function useIsInitialMount (line 6) | function useIsInitialMount(): boolean {
FILE: src/hooks/utils.dropdown/__tests__/useElementIds.r18.test.ts
method useId (line 8) | useId() {
FILE: src/hooks/utils.dropdown/defaultProps.ts
method itemToString (line 7) | itemToString(item: unknown) {
method itemToKey (line 10) | itemToKey(item: unknown) {
FILE: src/hooks/utils.dropdown/useElementIds.ts
type UseElementIdsProps (line 5) | type UseElementIdsProps = {
type UseElementIdsReturnValue (line 14) | type UseElementIdsReturnValue = {
function useElementIdsR18 (line 29) | function useElementIdsR18({
function useElementIdsLegacy (line 56) | function useElementIdsLegacy({
FILE: src/hooks/utils.js
function isAcceptedCharacterKey (line 16) | function isAcceptedCharacterKey(key) {
function getInitialState (line 20) | function getInitialState(props) {
function getHighlightedIndexOnOpen (line 47) | function getHighlightedIndexOnOpen(props, state, offset) {
function useMouseAndTouchTracker (line 102) | function useMouseAndTouchTracker(
function useScrollIntoView (line 243) | function useScrollIntoView({
function getChangesOnSelection (line 302) | function getChangesOnSelection(props, highlightedIndex, inputValue = tru...
function isDropdownsStateEqual (line 331) | function isDropdownsStateEqual(prevState, newState) {
function getDefaultHighlightedIndex (line 346) | function getDefaultHighlightedIndex(props) {
function getInitialHighlightedIndex (line 368) | function getInitialHighlightedIndex(props) {
FILE: src/utils-ts/callAllEventHandlers.ts
function callAllEventHandlers (line 8) | function callAllEventHandlers(...fns: (Function | undefined)[]) {
FILE: src/utils-ts/debounce.ts
function debounce (line 6) | function debounce(
FILE: src/utils-ts/generateId.ts
function generateId (line 9) | function generateId(): string {
function setIdCounter (line 17) | function setIdCounter(num: number): void {
function resetIdCounter (line 24) | function resetIdCounter() {
FILE: src/utils-ts/getState.ts
type Action (line 1) | interface Action extends Record {
type State (line 5) | type State = Record
type Props (line 7) | interface Props
{
function getState (line 26) | function getState<
FILE: src/utils-ts/handleRefs.ts
function handleRefs (line 3) | function handleRefs(
FILE: src/utils-ts/noop.ts
function noop (line 1) | function noop() {}
FILE: src/utils-ts/scrollIntoView.ts
function scrollIntoView (line 8) | function scrollIntoView(
FILE: src/utils-ts/setA11yStatus.ts
function getStatusDiv (line 10) | function getStatusDiv(document: Document) {
function setStatus (line 39) | function setStatus(status: string, document: Document | undefined) {
function cleanupStatusDiv (line 53) | function cleanupStatusDiv(document: Document | undefined) {
FILE: src/utils-ts/useLatestRef.ts
function useLatestRef (line 3) | function useLatestRef(val: T): React.MutableRefObject {
FILE: src/utils.js
function cbToCb (line 12) | function cbToCb(cb) {
function isOrContainsNode (line 22) | function isOrContainsNode(parent, child, environment) {
function debounce (line 39) | function debounce(fn, time) {
function callAllEventHandlers (line 68) | function callAllEventHandlers(...fns) {
function handleRefs (line 82) | function handleRefs(...refs) {
function getA11yStatusMessage (line 102) | function getA11yStatusMessage({isOpen, resultCount, previousResultCount}) {
function unwrapArray (line 127) | function unwrapArray(arg, defaultValue) {
function isDOMElement (line 140) | function isDOMElement(element) {
function getElementProps (line 157) | function getElementProps(element) {
function requiredProp (line 174) | function requiredProp(fnName, propName) {
function pickState (line 190) | function pickState(state = {}) {
function isControlledProp (line 209) | function isControlledProp(props, key) {
function normalizeArrowKey (line 218) | function normalizeArrowKey(event) {
function isPlainObject (line 232) | function isPlainObject(obj) {
function getHighlightedIndex (line 246) | function getHighlightedIndex(
function getNonDisabledIndex (line 297) | function getNonDisabledIndex(
function targetWithinDownshift (line 342) | function targetWithinDownshift(
FILE: test/basic.test.tsx
type Item (line 4) | type Item = string
type Props (line 6) | interface Props {}
type State (line 8) | interface State {
class App (line 12) | class App extends React.Component {
method render (line 25) | render() {
FILE: test/custom.test.tsx
type Item (line 4) | type Item = string
type Props (line 6) | interface Props {}
type State (line 8) | interface State {
class App (line 24) | class App extends React.Component {
method render (line 33) | render() {
FILE: test/downshift.test.tsx
function ComboBox (line 21) | function ComboBox() {
FILE: test/useCombobox.test.tsx
function DropdownCombobox (line 21) | function DropdownCombobox() {
FILE: test/useMultipleSelect.test.tsx
function getFilteredItems (line 24) | function getFilteredItems(selectedItems: string[]): string[] {
function DropdownMultipleSelect (line 28) | function DropdownMultipleSelect() {
FILE: test/useSelect.test.tsx
function DropdownSelect (line 22) | function DropdownSelect() {
FILE: typings/index.legacy.d.ts
type Callback (line 7) | type Callback = () => void
type Overwrite (line 9) | type Overwrite = Pick> & U
type DownshiftState (line 11) | interface DownshiftState- {
type StateChangeTypes (line 18) | enum StateChangeTypes {
type DownshiftProps (line 36) | interface DownshiftProps
- {
type A11yStatusMessageOptions (line 87) | interface A11yStatusMessageOptions
- {
type StateChangeOptions (line 98) | interface StateChangeOptions
- extends Partial> {
type StateChangeFunction (line 102) | type StateChangeFunction
- = (
type GetRootPropsOptions (line 106) | interface GetRootPropsOptions {
type GetRootPropsReturnValue (line 111) | interface GetRootPropsReturnValue {
type GetInputPropsOptions (line 120) | interface GetInputPropsOptions extends React.HTMLProps {
type GetInputPropsReturnValue (line 124) | interface GetInputPropsReturnValue {
type GetLabelPropsOptions (line 139) | interface GetLabelPropsOptions extends React.HTMLProps {}
type GetLabelPropsReturnValue (line 141) | interface GetLabelPropsReturnValue {
type GetToggleButtonPropsOptions (line 146) | interface GetToggleButtonPropsOptions extends React.HTMLProps extends React.HTMLProps {
type GetItemPropsReturnValue (line 191) | interface GetItemPropsReturnValue {
type PropGetters (line 201) | interface PropGetters
- {
type Actions (line 224) | interface Actions
- {
type ControllerStateAndHelpers (line 265) | type ControllerStateAndHelpers
- = DownshiftState
- &
type ChildrenFunction (line 269) | type ChildrenFunction
- = (
class Downshift (line 273) | class Downshift
- extends React.Component<
type UseSelectState (line 299) | interface UseSelectState
- {
type UseSelectStateChangeTypes (line 306) | enum UseSelectStateChangeTypes {
type UseSelectProps (line 331) | interface UseSelectProps
- {
type UseSelectStateChangeOptions (line 365) | interface UseSelectStateChangeOptions<
type UseSelectDispatchAction (line 371) | interface UseSelectDispatchAction
- {
type UseSelectStateChange (line 381) | interface UseSelectStateChange
- extends Partial extends UseSelectStateChange...
type UseSelectHighlightedIndexChange (line 389) | interface UseSelectHighlightedIndexChange<
type UseSelectIsOpenChange (line 395) | interface UseSelectIsOpenChange
- extends UseSelectStateChange
- {
type UseSelectGetMenuPropsOptions (line 399) | interface UseSelectGetMenuPropsOptions
type UseSelectGetMenuReturnValue (line 402) | interface UseSelectGetMenuReturnValue extends GetMenuPropsReturnValue {
type UseSelectGetToggleButtonPropsOptions (line 406) | interface UseSelectGetToggleButtonPropsOptions
type UseSelectGetToggleButtonReturnValue (line 411) | interface UseSelectGetToggleButtonReturnValue extends Pick<
type UseSelectGetLabelPropsOptions (line 426) | interface UseSelectGetLabelPropsOptions extends GetLabelPropsOptions {}
type UseSelectGetLabelPropsReturnValue (line 428) | interface UseSelectGetLabelPropsReturnValue extends GetLabelPropsReturnV...
type UseSelectGetItemPropsOptions (line 432) | interface UseSelectGetItemPropsOptions
-
type UseSelectGetItemPropsReturnValue (line 435) | interface UseSelectGetItemPropsReturnValue extends GetItemPropsReturnVal...
type UseSelectPropGetters (line 440) | interface UseSelectPropGetters
- {
type UseSelectActions (line 460) | interface UseSelectActions
- {
type UseSelectReturnValue (line 469) | type UseSelectReturnValue
- = UseSelectState
- &
type UseSelectInterface (line 473) | interface UseSelectInterface {
type UseComboboxState (line 505) | interface UseComboboxState
- {
type UseComboboxStateChangeTypes (line 512) | enum UseComboboxStateChangeTypes {
type UseComboboxProps (line 538) | interface UseComboboxProps
- {
type UseComboboxStateChangeOptions (line 577) | interface UseComboboxStateChangeOptions<
type UseComboboxDispatchAction (line 583) | interface UseComboboxDispatchAction
- {
type UseComboboxStateChange (line 593) | interface UseComboboxStateChange
- extends Partial extends UseComboboxStateChange
type UseComboboxGetItemPropsReturnValue (line 644) | interface UseComboboxGetItemPropsReturnValue extends GetItemPropsReturnV...
type UseComboboxGetInputPropsOptions (line 649) | interface UseComboboxGetInputPropsOptions
type UseComboboxGetInputPropsReturnValue (line 652) | interface UseComboboxGetInputPropsReturnValue extends GetInputPropsRetur...
type UseComboboxPropGetters (line 660) | interface UseComboboxPropGetters
- {
type UseComboboxActions (line 683) | interface UseComboboxActions
- {
type UseComboboxReturnValue (line 693) | type UseComboboxReturnValue
- = UseComboboxState
- &
type UseComboboxInterface (line 697) | interface UseComboboxInterface {
type UseMultipleSelectionState (line 730) | interface UseMultipleSelectionState
- {
type UseMultipleSelectionStateChangeTypes (line 735) | enum UseMultipleSelectionStateChangeTypes {
type UseMultipleSelectionProps (line 751) | interface UseMultipleSelectionProps
- {
type UseMultipleSelectionStateChangeOptions (line 776) | interface UseMultipleSelectionStateChangeOptions<
type UseMultipleSelectionDispatchAction (line 782) | interface UseMultipleSelectionDispatchAction
- {
type UseMultipleSelectionStateChange (line 790) | interface UseMultipleSelectionStateChange
- extends Partial<
type UseMultipleSelectionActiveIndexChange (line 796) | interface UseMultipleSelectionActiveIndexChange<
type UseMultipleSelectionSelectedItemsChange (line 802) | interface UseMultipleSelectionSelectedItemsChange<
type A11yRemovalMessage (line 808) | interface A11yRemovalMessage
- {
type UseMultipleSelectionGetSelectedItemPropsOptions (line 816) | interface UseMultipleSelectionGetSelectedItemPropsOptions
-
type UseMultipleSelectionGetSelectedItemReturnValue (line 822) | interface UseMultipleSelectionGetSelectedItemReturnValue {
type UseMultipleSelectionGetDropdownPropsOptions (line 829) | interface UseMultipleSelectionGetDropdownPropsOptions extends React.HTML...
type UseMultipleSelectionGetDropdownReturnValue (line 833) | interface UseMultipleSelectionGetDropdownReturnValue {
type UseMultipleSelectionPropGetters (line 839) | interface UseMultipleSelectionPropGetters
- {
type UseMultipleSelectionActions (line 855) | interface UseMultipleSelectionActions
- {
type UseMultipleSelectionReturnValue (line 863) | type UseMultipleSelectionReturnValue
- = UseMultipleSelectionState