@testing-library/user-event 14.0.0-beta.8 → 14.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/README.md +2 -2
  2. package/dist/index.cjs +1007 -1033
  3. package/dist/index.mjs +998 -1019
  4. package/dist/types/document/selection.d.ts +0 -1
  5. package/dist/types/document/value.d.ts +9 -2
  6. package/dist/types/event/behavior/click.d.ts +1 -0
  7. package/dist/types/event/behavior/cut.d.ts +1 -0
  8. package/dist/types/event/behavior/index.d.ts +8 -0
  9. package/dist/types/event/behavior/keydown.d.ts +1 -0
  10. package/dist/types/event/behavior/keypress.d.ts +1 -0
  11. package/dist/types/event/behavior/keyup.d.ts +1 -0
  12. package/dist/types/event/behavior/paste.d.ts +1 -0
  13. package/dist/types/event/behavior/registry.d.ts +9 -0
  14. package/dist/types/event/createEvent.d.ts +8 -0
  15. package/dist/types/event/dispatchEvent.d.ts +2 -0
  16. package/dist/types/event/eventMap.d.ts +361 -0
  17. package/dist/types/event/eventTypes.d.ts +2 -0
  18. package/dist/types/event/index.d.ts +6 -0
  19. package/dist/types/event/types.d.ts +13 -0
  20. package/dist/types/event/wrapEvent.d.ts +1 -0
  21. package/dist/types/keyboard/modifiers.d.ts +9 -0
  22. package/dist/types/keyboard/types.d.ts +0 -5
  23. package/dist/types/pointer/firePointerEvents.d.ts +11 -0
  24. package/dist/types/pointer/types.d.ts +2 -1
  25. package/dist/types/setup/index.d.ts +2 -0
  26. package/dist/types/setup/setup.d.ts +1 -0
  27. package/dist/types/utility/clear.d.ts +1 -1
  28. package/dist/types/utils/edit/input.d.ts +2 -0
  29. package/dist/types/utils/edit/isValidDateOrTimeValue.d.ts +3 -0
  30. package/dist/types/utils/focus/selection.d.ts +4 -0
  31. package/dist/types/utils/index.d.ts +2 -9
  32. package/dist/types/utils/keyDef/readNextDescriptor.d.ts +3 -1
  33. package/dist/types/utils/keyboard/getKeyEventProps.d.ts +2 -14
  34. package/dist/types/utils/misc/cloneEvent.d.ts +1 -0
  35. package/package.json +10 -13
  36. package/CHANGELOG.md +0 -5
  37. package/dist/types/keyboard/plugins/arrow.d.ts +0 -6
  38. package/dist/types/keyboard/plugins/character.d.ts +0 -5
  39. package/dist/types/keyboard/plugins/combination.d.ts +0 -5
  40. package/dist/types/keyboard/plugins/control.d.ts +0 -6
  41. package/dist/types/keyboard/plugins/functional.d.ts +0 -8
  42. package/dist/types/keyboard/plugins/index.d.ts +0 -7
  43. package/dist/types/keyboard/plugins/modifiers.d.ts +0 -8
  44. package/dist/types/keyboard/shared/fireChangeForInputTimeIfValid.d.ts +0 -3
  45. package/dist/types/keyboard/shared/index.d.ts +0 -1
  46. package/dist/types/utils/edit/calculateNewValue.d.ts +0 -14
  47. package/dist/types/utils/edit/editInputElement.d.ts +0 -16
  48. package/dist/types/utils/edit/isValidDateValue.d.ts +0 -3
  49. package/dist/types/utils/edit/isValidInputTimeValue.d.ts +0 -3
  50. package/dist/types/utils/edit/prepareInput.d.ts +0 -7
  51. package/dist/types/utils/misc/hasFormSubmit.d.ts +0 -1
  52. package/dist/types/utils/pointer/firePointerEvents.d.ts +0 -25
package/README.md CHANGED
@@ -104,7 +104,7 @@ possible][contributors]. Contributions of any kind are welcome! 💚
104
104
  [prs-badge]: https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square
105
105
  [prs]: http://makeapullrequest.com
106
106
  [coc-badge]: https://img.shields.io/badge/code%20of-conduct-ff69b4.svg?style=flat-square
107
- [coc]: https://github.com/testing-library/user-event/blob/main/other/CODE_OF_CONDUCT.md
107
+ [coc]: https://github.com/testing-library/.github/blob/main/CODE_OF_CONDUCT.md
108
108
  [github-watch-badge]: https://img.shields.io/github/watchers/testing-library/user-event.svg?style=social
109
109
  [github-watch]: https://github.com/testing-library/user-event/watchers
110
110
  [github-star-badge]: https://img.shields.io/github/stars/testing-library/user-event.svg?style=social
@@ -120,5 +120,5 @@ possible][contributors]. Contributions of any kind are welcome! 💚
120
120
  [discord-badge]: https://img.shields.io/discord/723559267868737556.svg?color=7389D8&labelColor=6A7EC2&logo=discord&logoColor=ffffff&style=flat-square
121
121
  [discord]: https://discord.gg/testing-library
122
122
  [stackoverflow]: https://stackoverflow.com/questions/tagged/user-event
123
- [contributors]: https://github.com/testing-library/user-event/blob/beta/CONTRIBUTORS.md
123
+ [contributors]: https://github.com/testing-library/user-event/blob/main/CONTRIBUTORS.md
124
124
  <!-- prettier-ignore-end -->