Commit graph

216 commits

Author SHA1 Message Date
Josh Johnson 426b4c39fc Version 2.0.0 2016-09-04 15:26:49 +01:00
Josh Johnson 2386ffab81 Version 1.1.9 2016-09-04 14:32:02 +01:00
Josh Johnson ca86265731 Better sort handling + sort tests 2016-09-04 13:44:31 +01:00
Josh Johnson fda4814961 Version 1.1.8 2016-08-31 19:19:07 +01:00
Josh Johnson aff165e4a1 Ability to disable sorting of choices/groups 2016-08-31 19:18:46 +01:00
Josh Johnson 1ba92d81b8 Version 1.1.7 2016-08-23 07:24:55 +01:00
Josh Johnson 7207ee543f Remove unneccessary requestAnimation frame polyfill + type check before adding first predefined select option 2016-08-23 07:14:27 +01:00
Josh Johnson 81cef3090c Ensure the state of the dropdown is checked before opening/closing 2016-08-21 20:52:40 +01:00
Josh Johnson 1e27adae23 Version 1.1.6 2016-08-20 12:40:14 +01:00
Josh Johnson 66feebc1ee Ensure placeholder option is respected 2016-08-20 12:39:37 +01:00
Josh Johnson 262a375ffe Version 1.1.5 2016-08-20 11:36:56 +01:00
Josh Johnson aee1732873 Remove button styling on focus + minor tweaks 2016-08-20 11:21:31 +01:00
Josh Johnson 760fbc9f9e Working version with minor bugs 2016-08-19 13:11:15 +01:00
Josh Johnson 2c4e86ddc0 Version 1.1.4 2016-08-17 14:32:27 +01:00
Josh Johnson ad0ea44c83 Version 1.1.3 2016-08-17 14:01:13 +01:00
Josh Johnson f201b6cd09 Resolve IE11 bug with documentFragment.children 2016-08-17 14:00:30 +01:00
Josh Johnson 0220f363a7 Version 1.1.2 2016-08-14 22:16:35 +01:00
Josh Johnson 330eb73594 Use relative paths 2016-08-14 17:34:59 +01:00
Josh Johnson bfa28560ab Update versions 2016-08-14 17:33:58 +01:00
Josh Johnson f300c25465 Favicons + update read me 2016-08-14 17:32:08 +01:00
Josh Johnson 0d66ed2ea2 Housekeeping 2016-08-14 17:19:49 +01:00
Josh Johnson 84bec3804e _canAddItem private function to validate a user can add an item 2016-08-14 17:14:55 +01:00
Josh Johnson 9da6b57b66 Loading placeholder for multiple select when using ajax 2016-08-14 16:19:09 +01:00
Josh Johnson 5d2f4d067d Move item/button/choice actions into functions + focus input on highlight item 2016-08-14 16:10:53 +01:00
Josh Johnson eed9bfba73 Version 1.1.0 2016-08-08 22:04:47 +01:00
Josh Johnson 4ff68b60dc Split mousedown function into onClick & onMouseDown - maintaining default select actions 2016-08-08 21:46:17 +01:00
Josh Johnson ba659351a6 Housekeeping 2016-08-08 14:36:33 +01:00
Josh Johnson 346ae7065a Version 1.0.60 2016-08-08 14:36:12 +01:00
Josh Johnson bae54c115d Version 1.0.59 2016-08-08 13:33:29 +01:00
Josh Johnson 01c735afa7 Version 1.0.58 2016-08-08 07:41:10 +01:00
Josh Johnson 21e6e46cfa Version 1.0.57 2016-08-07 22:16:39 +01:00
Josh Johnson 998d95a0b2 Version 1.0.56 (Resolve touchstart/move/end bug) 2016-08-07 22:10:21 +01:00
Josh Johnson 4ebd30f0a5 Version 1.0.55 2016-08-07 21:12:38 +01:00
Josh Johnson 6dfeb5a76f CSS tweaks - don't rely on 'pointer-events: none' + only flip if no space in window rather than viewport 2016-08-07 21:05:43 +01:00
Josh Johnson e660b96caf Bump cache buster 2016-08-07 19:04:56 +01:00
Josh Johnson b7be0f3a06 Use discogs api for all ajax examples - speed 2016-08-05 21:17:23 +01:00
Josh Johnson 9e8974adfd Further touchstart tweaks 2016-08-05 20:54:36 +01:00
Josh Johnson e9a0f1c938 Focus input/open dropdown on touchstart for touch devices 2016-08-05 20:28:21 +01:00
Josh Johnson d1a6654623 Hide 'Press enter' dropdown if rejex test fails 2016-08-04 23:02:34 +01:00
Josh Johnson 3a01f2c346 Logo image 2016-08-04 22:25:35 +01:00
Josh Johnson ffa0e5e1ad Advanced dependency example 2016-08-04 19:55:55 +01:00
Josh Johnson 74a49cf5dd Add highlight callback examples to demo 2016-08-04 14:54:22 +01:00
Josh Johnson 322f250b7f Highlight/unhighlight callbacks 2016-08-04 13:21:24 +01:00
Josh Johnson 5f91165d4a Custom sorting in config + resolve setChoice bug when searching 2016-08-03 14:23:23 +01:00
Josh Johnson b7484612eb Configurable sorting fields 2016-08-03 07:43:35 +01:00
Josh Johnson 5817ce3a0f Enable() method 2016-08-02 21:10:53 +01:00
Josh Johnson e497999841 Set choice groups via setChoice 2016-08-02 21:02:52 +01:00
Josh Johnson c338236aed Google analytics 2016-08-02 17:26:08 +01:00
Josh Johnson 3585fdfd6a Ensure focus is consisent across single select boxes with/without search 2016-08-02 14:40:36 +01:00
Josh Johnson 79c08ceff9 Documentation for 'getValue' method + housekeeping 2016-08-02 07:45:08 +01:00
Josh Johnson 677d3a5582 Add jQuery example to documentation 2016-08-01 20:00:24 +01:00
Josh Johnson e898309fb1 Sprucing up the demo page + scroll to top of option list on search 2016-07-31 22:48:36 +01:00
Josh Johnson 4968d73ede Set value of select input based on choice 2016-07-31 21:05:17 +01:00
Josh Johnson a7f0547dbe Housekeeping 2016-07-31 20:15:17 +01:00
Josh Johnson ca39e30684 Set choices directly via public function + callback on change 2016-07-31 20:02:46 +01:00
Josh Johnson c51d57285f Use ES5 on demo page + include fetch polyfill 2016-07-30 23:26:32 +01:00
Josh Johnson c0249ffc13 Housekeeping 2016-07-30 16:13:01 +01:00
Josh Johnson 56d9f7d381 Add repo link to demo page 2016-07-30 16:07:03 +01:00
Josh Johnson 1e249295ce Ability to define choices in config + minor tweaks 2016-07-30 16:03:20 +01:00
Josh Johnson 064d12400b Ability to specify options via config 2016-07-30 15:50:29 +01:00
Josh Johnson 400a70e5cb Options array in config 2016-07-30 15:12:22 +01:00
Josh Johnson 865ba7d485 Build 2016-07-14 23:21:28 +01:00
Josh Johnson 87ca00ee66 Further single select box tests 2016-07-13 21:40:59 +01:00
Josh Johnson db5d91517a Resolve typo 2016-07-13 20:11:44 +01:00
Josh Johnson 1934c7fa50 Seperate base and choices css 2016-07-11 09:46:48 +01:00
Josh Johnson 712c8cf801 Tests 2016-07-02 13:04:38 +01:00
Josh Johnson f64a6295ad Remote source country list example 2016-06-30 22:25:00 +01:00
Josh Johnson 283324c65b Add backspace to search keycode regex 2016-06-30 22:08:40 +01:00
Josh Johnson ea2669312f Only add placeholder items for single select boxes 2016-06-30 14:11:09 +01:00
Josh Johnson b45715c5be Sort choices by label 2016-06-29 14:47:58 +01:00
Josh Johnson c1278e8f0d Further updating of terminology 2016-06-27 14:57:33 +01:00
Josh Johnson a2e45209a7 Terminology updates (options -> choices) && documentation 2016-06-27 14:46:12 +01:00
Josh Johnson 6a9f2cb354 Documentation + minor fixes 2016-06-21 23:06:23 +01:00
Josh Johnson 278a693886 Allow chaining + private/public function differentation + set/clear value methods 2016-06-08 14:45:29 +01:00
Josh Johnson 1a9622aaff Eliminate excessive searches 2016-06-07 14:20:37 +01:00
Josh Johnson 851ddea81c Psuedo fixed search box 2016-06-02 14:37:06 +01:00
Josh Johnson 7cfe84e9d1 Ability to disable search 2016-06-01 18:56:08 +01:00
Josh Johnson f361e4b34d Ability to add both attribute values and object values + housekeeping 2016-06-01 18:45:35 +01:00
Josh Johnson 110741aed3 Search within dropdown on single search boxes 2016-05-18 22:40:32 +01:00
Josh Johnson 16668b3bd1 Reference correct file 2016-05-16 14:49:18 +01:00
Josh Johnson d87a3f8171 Close button styling 2016-05-11 23:17:22 +01:00
Josh Johnson 964a8e709b Test for right click 2016-05-11 14:51:32 +01:00
Josh Johnson 7c4ec26479 Choices improvements 2016-05-08 13:22:25 +01:00
Josh Johnson 543ac2226f Option group single select box 2016-05-08 12:27:08 +01:00
Josh Johnson c76088fc8f Mousedown event instead of click for reacting before blur triggers 2016-05-08 12:22:56 +01:00
Josh Johnson ec8c324383 Populate options from ajax api 2016-05-08 00:02:52 +01:00
Josh Johnson 57ad1dc31c Destroy method tweaks 2016-05-07 14:14:05 +01:00
Josh Johnson c4ed167a02 Single select box support 2016-05-07 12:36:50 +01:00
Josh Johnson 345fe885c5 Better handling of option highlighting + Fuse search implementation 2016-05-03 21:31:05 +01:00
Josh Johnson 39fff5dd34 Highlight position function + scroll dropdown based on highlighted option 2016-05-02 21:39:33 +01:00
Josh Johnson 5aaf5ad117 Attach template functions to options 2016-05-02 15:29:05 +01:00
Josh Johnson 04ab5f6a98 Attach choices to window 2016-04-25 18:00:30 +01:00
Josh Johnson d07517fe96 Semi-working filtering of options based on input value + restore ability to remove item based on back key 2016-04-22 19:45:50 +01:00
Josh Johnson 7774e8bb0d Active state handling plus positioning of dropdown 2016-04-21 14:43:17 +01:00
Josh Johnson f63652471c Handling option groups + label/value differentation 2016-04-16 17:06:27 +01:00
Josh Johnson fc0a72d2a2 Set placeholders on select box 2016-04-15 09:19:02 +01:00
Josh Johnson 6ac55c9e37 Use const instead of let where possible + selecting options 2016-04-12 22:42:56 +01:00
Josh Johnson c821c923c9 Ability to pass multiple elements to instance 2016-04-10 21:23:42 +01:00
Josh Johnson 4b889f9e4d Toggling dropdown menu 2016-04-09 11:30:08 +01:00
Josh Johnson 0c9238b72c Better use of data attributes + dropdown styling + getter methods 2016-04-08 22:33:13 +01:00
Josh Johnson 50c53ce3ad Bit of styling 2016-04-07 19:44:16 +01:00
Josh Johnson fb38d7bf55 Ability to assign preset items through constructor 2016-04-07 13:57:57 +01:00
Josh Johnson 0676828ac3 Assign element value based on store 2016-04-04 21:44:32 +01:00
Josh Johnson d8620f433f Render items from store 2016-04-04 14:43:32 +01:00
Josh Johnson 174aa399c2 Handle click events on list items + set active status in store + set select status in store 2016-04-03 23:07:10 +01:00
Josh Johnson 526fe9fd85 Append/prepend value options + ability to filter by regex 2016-03-24 14:42:03 +00:00
Josh Johnson ff7521b090 Handle optgroups - initial foundation work 2016-03-21 22:45:49 +00:00
Josh Johnson a3bda138a9 Begun handling select element + disabled state 2016-03-21 19:27:52 +00:00
Josh Johnson 152b4283dc Don't store input values as array for text inputs + handle different input types 2016-03-18 11:05:50 +00:00
Josh Johnson 449b735461 Initial styling + ability to highlight all and remove highlighted items 2016-03-17 23:10:16 +00:00
Josh Johnson ecee8cff47 Handle on one element per instance + remove list items on back space 2016-03-17 15:00:22 +00:00
Josh Johnson 8ea38d8d6b Predefine values + limiting + updating hidden input values 2016-03-16 23:15:03 +00:00
Josh Johnson d39fcde893 Add event listeners to each element in this.elements + wrap them in div 2016-03-16 14:41:13 +00:00
Josh Johnson 41efa76a5b API structuring + webpack config 2016-03-15 22:42:10 +00:00
Josh Johnson 8651d69b42 Class structuring + event listeners 2016-03-15 14:39:22 +00:00
Josh Johnson ee252bfd5c File structuring 2016-03-15 14:04:53 +00:00