react-spectrum
react-spectrum copied to clipboard
Expose LongPressEvent and MoveEvent
Provide a general summary of the issue here
LongPressEvent and MoveEvent are not exposed in @react-aria/interactions type exports:
https://github.com/adobe/react-spectrum/blob/f61e75cea173140eb74e2f8c4b17ca9ac3fcf2de/packages/%40react-aria/interactions/src/index.ts#L43
and later on react-aria type exports:
https://github.com/adobe/react-spectrum/blob/f61e75cea173140eb74e2f8c4b17ca9ac3fcf2de/packages/react-aria/src/index.ts#L66
It seems just forgotten.
๐ค Expected Behavior?
It should be exported like other "Long*" and "Move" types.
๐ฏ Current Behavior
LongPressEvent and MoveEvent are missing.
๐ Possible Solution
Just export in both packages.
๐ฆ Context
No response
๐ฅ๏ธ Steps to Reproduce
https://codesandbox.io/p/sandbox/misty-feather-6wnsff?file=%2Fsrc%2FApp.tsx
Version
RA 3.44.0
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
macOS
๐งข Your Company/Team
No response
๐ท Tracking Issue
No response