Commit Graph

91 Commits

Author SHA1 Message Date
Tom Nunn
4254c3eb96 Fix for filtering running unnecessarily if items set from view 2023-03-12 20:50:59 +00:00
Tom Nunn
39a3959c86 Bump version 3.1.2 2023-03-11 21:34:50 +00:00
Tom Nunn
559129d85e Prevent more unnecessary filtering 2023-03-11 21:28:17 +00:00
Tom Nunn
a75b080360 Bump version 3.1.1 2023-03-10 21:41:43 +00:00
Tom Nunn
b09648db42 Update changelog 2023-03-10 21:38:32 +00:00
Tom Nunn
4ece76902a Optimise filtering. Only filter when input/items change. 2023-03-10 21:31:21 +00:00
Tom Nunn
fe143b25b5 Refactor Filter.startsWithThenContains 2023-01-24 21:21:23 +00:00
Tom Nunn
23835516f0 Update changelog 2023-01-24 21:17:31 +00:00
Tom Nunn
e99b5820c0 v3.1.0 2023-01-19 13:35:18 +00:00
Tom Nunn
cf7e5bd948 Add tests for withMinInputLength 2023-01-19 13:27:45 +00:00
Tom Nunn
03ef5e93fd Add withMinInputLength 2023-01-19 11:15:04 +00:00
Tom Nunn
ad2b5b9167 Run elm bump 2022-12-13 17:20:20 +00:00
Tom Nunn
e64e5c527f Update changelog 2022-12-13 17:18:56 +00:00
Tom Nunn
273710758e Update examples and tests with new update options 2022-12-13 17:09:36 +00:00
Tom Nunn
ef21e2b939 Add update options for onFocus, onLoseFocus and onInput 2022-12-13 17:09:09 +00:00
Tom Nunn
a742b3c90b Update documentation 2022-12-13 16:06:25 +00:00
Tom Nunn
7c172032f3 Expose defaultOptionElement 2022-11-24 12:36:13 +00:00
Tom Nunn
a8ad87867c Only select on tab if nothing already selected 2022-11-23 21:15:44 +00:00
Tom Nunn
9c71f6626f Scroll to selected item on focus 2022-11-23 20:48:41 +00:00
Tom Nunn
34f576fb3e FEATURE: Add withSelectOnTab 2022-11-23 16:00:30 +00:00
Tom Nunn
144527ed0c Update examples 2022-11-23 15:59:46 +00:00
Tom Nunn
71d65b8886 FEATURE: Use update options to configure update 2022-11-23 13:07:16 +00:00
Tom Nunn
57e9d52677 Darken default highlighted colour 2022-11-03 12:11:02 +00:00
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