Commit Graph

178 Commits

Author SHA1 Message Date
Tom Nunn
2ff400eca8 Stop passing filtered options until items are set 2023-04-20 21:16:26 +01:00
Tom Nunn
d145a7e413 Run elm-review 2023-04-20 13:35:34 +01:00
Tom Nunn
6c81bed413 Ignore click event immediately after focus 2023-04-20 13:34:47 +01:00
Tom Nunn
596a4478c5 Make test for clicking on input while focused 2023-04-20 13:34:35 +01:00
Tom Nunn
24f33d1b68 Change debounce effect to delay 2023-04-20 13:34:23 +01:00
Tom Nunn
9388829ee0 Detect isMobile and pass filtered options with animation when element is added to DOM 2023-04-20 13:34:12 +01:00
Tom Nunn
879fb5d499 Add mobileViewAttributes to view config 2023-04-20 13:33:47 +01:00
Tom Nunn
358ac4c6c0 Add tests for mobile version 2023-04-19 20:34:18 +01:00
Tom Nunn
33c05e6f71 Add withMobileBreakpoint 2023-04-19 20:33:39 +01:00
Tom Nunn
24ac38bea5 Add meta viewport to examples 2023-04-19 20:33:07 +01:00
Tom Nunn
cbef20d67c Run elm-review 2023-04-19 20:06:50 +01:00
Tom Nunn
698399e6f2 Add ability to disable close when item is selected 2023-04-19 20:05:50 +01:00
Tom Nunn
b00076ac7d Decode view.innerWidth from focus event to determine if is mobile 2023-04-19 19:59:14 +01:00
Tom Nunn
dca698d36f Add isMobile to Model 2023-04-19 19:58:35 +01:00
Tom Nunn
4e672329d9 Add before and after to view config 2023-04-19 19:58:13 +01:00
Tom Nunn
9f67dc1cf1 Don't close menu on clear 2023-04-19 19:57:57 +01:00
Tom Nunn
85d465a7bd Add mobile version of select 2023-04-19 09:22:37 +01:00
Tom Nunn
856d92f8c1 Demo improvements 2023-04-18 12:05:22 +01:00
Tom Nunn
d52eb63305 Use paragraph for default option element so that it wraps 2023-04-18 11:35:42 +01:00
Tom Nunn
4ad4bb71ee Add a bit of space when scrolling to item 2023-04-18 11:32:54 +01:00
Tom Nunn
7c78d58931 Fix scrolling menu causing mouse to highlight options as they pass under pointer 2023-04-18 11:11:05 +01:00
Tom Nunn
83284156aa Add background to clear button on demo 2023-04-17 21:33:49 +01:00
Tom Nunn
aba74556c4 Use different char for clear button 2023-04-17 21:06:50 +01:00
Tom Nunn
8e9239fc55 Add mobile menu to demo 2023-04-17 21:00:13 +01:00
Tom Nunn
46f5ca1113 Refactor doDebounceRequest 2023-04-17 19:33:53 +01:00
Tom Nunn
a7fd270ff5 Pass failing tests for request issues 2023-04-17 16:34:32 +01:00
Tom Nunn
82fd93a743 Add failing tests for request issues 2023-04-17 15:49:10 +01:00
Tom Nunn
4ceda0f92e Make request fire only on reaching requestMinInputLength if requestDebounceDelay set to 0 2023-04-16 20:49:46 +01:00
Tom Nunn
bcdef5c1da Add select with request in demo 2023-04-15 21:54:08 +01:00
Tom Nunn
cb14b16408 Upgrade demo to 4.0.0 2023-04-14 22:02:00 +01:00
Tom Nunn
774b795eeb Deploy demo from master branch 2023-04-14 21:40:56 +01:00
Tom Nunn
9f80e5d943 Bump version 4.0.0 2023-04-14 21:38:57 +01:00
Tom Nunn
2362ca1091 Merge branch 'v4.0.0' 2023-04-14 21:37:30 +01:00
Tom Nunn
0a6e1cb7a7 Update documentation 2023-04-14 21:36:42 +01:00
Tom Nunn
0ddf3a521d Remove autocomplete attribute as it had no effect 2023-04-14 21:06:41 +01:00
Tom Nunn
1a85d8c2c1 Disable chrome autocomplete on demo 2023-04-14 21:04:29 +01:00
Tom Nunn
d2c03268ae Fix bug where selection is lost when tabbing out and back into the input 2023-04-14 20:17:40 +01:00
Tom Nunn
ca42e03716 Add some text to the demo 2023-04-14 16:40:09 +01:00
Tom Nunn
c3dfcc0cc9 Turn off browser autocomplete for elm-ui 2023-04-14 16:24:24 +01:00
Tom Nunn
f590de826d Update changelog 2023-04-14 16:18:12 +01:00
Tom Nunn
fae9929955 Update documentation 2023-04-14 16:04:47 +01:00
Tom Nunn
3bf8a9a108 Improve demo 2023-04-14 15:08:46 +01:00
Tom Nunn
bf53eeaaf3 Use relative url for assets 2023-04-14 14:28:44 +01:00
Tom Nunn
3620d5924c Add demo page 2023-04-14 14:15:51 +01:00
nunntom
7b8c093188
Merge pull request #4 from nunntom/nunntom-patch-1
Create static.yml
2023-04-14 10:40:01 +01:00
nunntom
04fa31af76
Create static.yml 2023-04-14 10:39:35 +01:00
Tom Nunn
b93137e920 Add docs folder 2023-04-14 10:33:54 +01:00
Tom Nunn
39f46d3d73 Add aria label to clear button 2023-04-14 10:03:57 +01:00
Tom Nunn
791c4e1404 Move ElmUi view module into View folder 2023-04-14 10:02:55 +01:00
Tom Nunn
0ff9373531 Add tests for clear button 2023-04-14 09:59:25 +01:00