-
Notifications
You must be signed in to change notification settings - Fork 932
/
stateChangeTypes.js
27 lines (26 loc) · 1.37 KB
/
stateChangeTypes.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import productionEnum from './productionEnum.macro'
export const unknown = productionEnum('__autocomplete_unknown__')
export const mouseUp = productionEnum('__autocomplete_mouseup__')
export const itemMouseEnter = productionEnum('__autocomplete_item_mouseenter__')
export const keyDownArrowUp = productionEnum(
'__autocomplete_keydown_arrow_up__',
)
export const keyDownArrowDown = productionEnum(
'__autocomplete_keydown_arrow_down__',
)
export const keyDownEscape = productionEnum('__autocomplete_keydown_escape__')
export const keyDownEnter = productionEnum('__autocomplete_keydown_enter__')
export const keyDownHome = productionEnum('__autocomplete_keydown_home__')
export const keyDownEnd = productionEnum('__autocomplete_keydown_end__')
export const clickItem = productionEnum('__autocomplete_click_item__')
export const blurInput = productionEnum('__autocomplete_blur_input__')
export const changeInput = productionEnum('__autocomplete_change_input__')
export const keyDownSpaceButton = productionEnum(
'__autocomplete_keydown_space_button__',
)
export const clickButton = productionEnum('__autocomplete_click_button__')
export const blurButton = productionEnum('__autocomplete_blur_button__')
export const controlledPropUpdatedSelectedItem = productionEnum(
'__autocomplete_controlled_prop_updated_selected_item__',
)
export const touchEnd = productionEnum('__autocomplete_touchend__')