Commit Graph

104 Commits

Author SHA1 Message Date
Tom Nunn
4ce729dcfb Fix wrong default for filter and select on tab 2023-03-26 21:22:47 +01:00
Tom Nunn
e6775a2b74 Abstract views to prepare for implementation of elm-css version 2023-03-26 21:10:01 +01:00
Tom Nunn
0c543a77a4 Merge branch 'master' into v4.0.0 2023-03-20 12:02:54 +00:00
Tom Nunn
3f4f7f921f Add function to initialise the select with a request 2023-03-20 11:58:46 +00:00
Tom Nunn
8316653486 Bump version 3.1.3 2023-03-13 09:19:53 +00:00
Tom Nunn
dd2bcf584b Rename a function 2023-03-13 09:14:21 +00:00
Tom Nunn
970f4a99a5 Focus input after clear button pressed 2023-03-12 20:59:01 +00:00
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
5f4437d2c0 Prevent more unnecessary filtering 2023-03-11 21:24:47 +00:00
Tom Nunn
0fda282e79 Merge branch 'master' into v4.0.0 2023-03-10 21:44:24 +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
02e9fa2051 Optimise filtering. Only filter when input/items change. 2023-03-10 21:30:53 +00:00
Tom Nunn
12b5512d58 Focus input after clear button pressed 2023-03-08 16:18:00 +00:00
Tom Nunn
7f322a5e22 Accept any error type in request 2023-03-07 20:39:24 +00:00
Tom Nunn
75ba802b6b Refactor requests 2023-03-07 20:12:56 +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