Commit Graph

68 Commits

Author SHA1 Message Date
Tom Nunn
90fcefdc82 Bump version 2022-10-25 09:41:35 +01:00
Tom Nunn
da1e069f8c Tidy up examples 2022-10-25 09:38:21 +01:00
Tom Nunn
8c15d68e3e Scroll menu to top when menu opens 2022-10-25 09:35:27 +01:00
Tom Nunn
e49bbc6c1a Change readme example 2022-10-25 09:34:06 +01:00
Tom Nunn
822447435c Add Select.isFocused 2022-10-24 20:45:22 +01:00
Tom Nunn
ac945d0d92 Fix docs and remove UpdateConfig 2022-07-21 21:44:20 +02:00
Tom Nunn
e7f90fb21c Rename license 2022-07-21 20:33:21 +02:00
Tom Nunn
9208913bfa Add ci scripts to package.json 2022-07-20 10:29:55 +02:00
Tom Nunn
121ca36b56 Simplify input simulation 2022-07-20 10:29:39 +02:00
Tom Nunn
3324f6b752 Rename clearInputValue and selectExactMatch 2022-07-17 21:47:38 +02:00
Tom Nunn
f6b9a52ccc Move blur options into view config 2022-07-17 21:29:07 +02:00
Tom Nunn
d04c817447 Change position fixed element width 2022-07-14 22:20:22 +02:00
Tom Nunn
b47a40d9c4 Change width of menu container if position fixed 2022-07-14 22:16:59 +02:00
Tom Nunn
f5c90275eb Stop propagation on Escape key if menu is open 2022-07-14 20:18:01 +02:00
Tom Nunn
7892c94b31 Prevent default on Escape key if menu is open 2022-07-14 19:59:28 +02:00
Tom Nunn
e21bfc3e50 Fix simulateClickOption not working when mutliple options contain the same substring 2022-07-13 12:24:55 +02:00
Tom Nunn
0671e3c3ce Simplify input simulation 2022-07-13 12:10:05 +02:00
Tom Nunn
b72fc3d71e Remove request from UpdateConfig and remove exposed UpdateConfig module 2022-07-13 09:19:15 +02:00
Tom Nunn
9d8ce7f3d5 Add Effect.mapEffect 2022-07-13 08:19:11 +02:00
Tom Nunn
acba4ea11e Add Effect.map 2022-07-13 08:14:36 +02:00
Tom Nunn
03838bd980 Add msg parameter to Effect 2022-07-12 17:12:49 +02:00
Tom Nunn
69dc3418c3 Add simulate effects and input 2022-07-12 10:48:59 +02:00
Tom Nunn
d8cea06f84 Add UpdateConfig 2022-07-11 09:58:56 +02:00
Tom Nunn
672ddbae22 Use viewport instead of element for menu 2022-07-07 16:27:58 +02:00
Tom Nunn
84ebb3051c Attach menu to container instead of input 2022-07-07 16:00:31 +02:00
Tom Nunn
932844fcb7 Use ViewConfig menuMaxHeight in placement calculation and use placement in withMenuAttributes 2022-07-07 15:51:22 +02:00
Tom Nunn
988eccc373 Remove msg from effects 2022-07-05 20:58:38 +02:00
Tom Nunn
a936c6be10 Clear selected if input changes 2022-07-01 15:50:40 +02:00
Tom Nunn
6819870bb8 Add isMenuPlacementAbove 2022-07-01 15:44:28 +02:00
Tom Nunn
d41d32094f Put menu in container when position fixed 2022-07-01 11:22:36 +02:00
Tom Nunn
2a5a80eb39 Fix position fixed positioning 2022-07-01 11:00:57 +02:00
Tom Nunn
916cdb1997 Fix position fixed top and bottom 2022-07-01 09:52:46 +02:00
Tom Nunn
cda9089d43 Tag request responses to avoid race conditions 2022-06-30 13:48:35 +02:00
Tom Nunn
43ee7ff1ba Add withMenuPositionFixed and improve documentation 2022-06-30 12:22:02 +02:00
Tom Nunn
f5b8e7d736 Fix examples 2022-06-29 21:20:56 +02:00
Tom Nunn
1484e45390 Fix readme example 2022-06-29 21:19:49 +02:00
Tom Nunn
3593924019 Fix aria attributes overriding config attributes 2022-06-29 20:57:34 +02:00
Tom Nunn
1f710d3790 Fix menu forced placement 2022-06-29 20:33:01 +02:00
Tom Nunn
c54a0e5641 Expose ViewConfig 2022-06-29 20:14:40 +02:00
Tom Nunn
8db1152107 Refactor and add aria attributes 2022-06-29 20:08:55 +02:00
Tom Nunn
fb17451e21 Tidy up internals 2022-06-29 14:43:41 +02:00
Tom Nunn
e6efa22e0a Tidy examples 2022-06-29 14:40:26 +02:00
Tom Nunn
51f365ccdb Refactor and add documentation 2022-06-29 14:34:48 +02:00
Tom Nunn
31e3f45cac Fix clear button opening menu and improve styles 2022-06-28 21:58:41 +02:00
Tom Nunn
695aa67b35 Fix menu opening before request returns 2022-06-28 17:33:19 +02:00
Tom Nunn
63a3cee6fc Fix no match element showing when not focused 2022-06-28 17:20:19 +02:00
Tom Nunn
a40d971b63 Fix menu showing when request not made again 2022-06-28 17:16:14 +02:00
Tom Nunn
e22c65a4a8 Fix menu showing when request not made 2022-06-28 16:56:15 +02:00
Tom Nunn
1af3d6a49d Fix no menu element when no items 2022-06-28 16:52:35 +02:00
Tom Nunn
4a04e4c2ee Rework positioning and placement logic 2022-06-28 15:54:08 +02:00