Commit Graph

125 Commits

Author SHA1 Message Date
Tom Nunn
0150f7096a Remove elm-css parts 2023-04-13 16:21:40 +01:00
Tom Nunn
8fb28f2c01 Merge branch 'elm-css' into v4.0.0 2023-04-13 16:16:31 +01:00
Tom Nunn
ccca5e01b0 Expose constructors for OptionState 2023-04-12 20:58:41 +01:00
Tom Nunn
64054ab6ca Add onKeyDown update option 2023-04-12 20:41:45 +01:00
Tom Nunn
4aaa691f29 Add option to disable opening menu on focus 2023-04-12 20:19:50 +01:00
Tom Nunn
3288004a71 Add hidden element to guage relative parent height 2023-04-12 19:51:21 +01:00
Tom Nunn
5e363a174f Reduce number of containers for elm-css menu 2023-04-12 16:27:48 +01:00
Tom Nunn
a89ff160d0 Prevent default on Enter and add type=button to clear button element 2023-04-10 21:17:12 +01:00
Tom Nunn
7f024743db Run elm-review 2023-03-31 11:34:34 +01:00
Tom Nunn
ece80633d6 Keep input value on focus when item is programatically selected 2023-03-31 11:31:09 +01:00
Tom Nunn
5dd545f911 Elevate z-index when open 2023-03-30 19:54:54 +01:00
Tom Nunn
c539955edd Revert "Pass attributes instead of css"
This reverts commit aa37aa1aea.
2023-03-30 19:48:26 +01:00
Tom Nunn
aa37aa1aea Pass attributes instead of css 2023-03-30 14:46:35 +01:00
Tom Nunn
b65fe6bdc9 Prevent keyboard focus on clear button 2023-03-30 13:54:01 +01:00
Tom Nunn
cf70841a85 Add test for programatically setting selected item 2023-03-30 13:06:07 +01:00
Tom Nunn
aba6fa8f50 Remove unused function 2023-03-30 13:05:25 +01:00
Tom Nunn
f5230a6629 Fix no input value if item is pre-selected or selected programatically 2023-03-30 11:51:02 +01:00
Tom Nunn
7206bdd46a Fix no input value if item is pre-selected or selected programatically 2023-03-30 11:48:25 +01:00
Tom Nunn
cec3bf8d39 Prevent browser autocomplete 2023-03-30 10:21:52 +01:00
Tom Nunn
c6008157ce Move List.Extra into Internal 2023-03-28 12:25:59 +01:00
Tom Nunn
4916da5c17 Finish elm-css implementation 2023-03-27 20:40:34 +01:00
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