Commit graph

1279 commits

Author SHA1 Message Date
Josh Johnson 5cf4368ad4 Test next state to previous state to avoid needless rendering 2016-05-04 14:31:29 +01:00
Josh Johnson b34db1920a Abstract store getters into own class 2016-05-04 09:02:22 +01:00
Josh Johnson 345fe885c5 Better handling of option highlighting + Fuse search implementation 2016-05-03 21:31:05 +01:00
Josh Johnson c359ed3e47 Test Fuse for fuzzy searching 2016-05-03 14:55:38 +01:00
Josh Johnson d4cf42c33e Minor tweaks 2016-05-02 22:21:34 +01:00
Josh Johnson 1bc55520e7 Reduce re-rendering 2016-05-02 21:53:21 +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 56cd08d81c Highlighting options + traversing through option els 2016-05-02 13:22:53 +01:00
Josh Johnson 336ffc9e87 Setup template function + remove unused utils 2016-05-02 12:23:12 +01:00
Josh Johnson 2ccac3083d Open dropdown if typing 2016-04-29 18:23:06 +01:00
Josh Johnson 17e00f10fb Documentation + refactoring 2016-04-29 18:06:46 +01:00
Josh Johnson f661661565 Use single generate input function 2016-04-29 17:11:20 +01:00
Josh Johnson 1f547bb065 Build 2016-04-29 15:18:53 +01:00
Josh Johnson 93f69eb3da Empty dropdown handling + highlighting item improvments 2016-04-28 20:49:49 +01:00
Josh Johnson cbfe38e937 Use DOM querying for highlighting options - less rendering 2016-04-28 15:30:43 +01:00
Josh Johnson 9dc23e86bf More higlighting option tweaks 2016-04-27 16:41:30 +01:00
Josh Johnson 35b9670ac5 Foundation work for highlighting options 2016-04-26 14:36:02 +01:00
Josh Johnson 04ab5f6a98 Attach choices to window 2016-04-25 18:00:30 +01:00
Josh Johnson eb80a373df Reinstate option updating on item removal 2016-04-25 14:59:58 +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 c10ac458ec Use active/flipped classes + store input type 2016-04-22 09:02:42 +01:00
Josh Johnson 7774e8bb0d Active state handling plus positioning of dropdown 2016-04-21 14:43:17 +01:00
Josh Johnson 5ab0075908 Shift key support 2016-04-17 12:09:46 +01:00
Josh Johnson e1d138ba42 Reinstate method to remove item by value + general refactoring 2016-04-17 12:02:28 +01:00
Josh Johnson ed66199c35 Move event handling functions outside key events 2016-04-17 11:23:38 +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 818450dfa5 Observe store function - to be implemented 2016-04-14 14:54:47 +01:00
Josh Johnson 9679a42966 Associate options and items 2016-04-14 14:43:36 +01:00
Josh Johnson c7ff02146a Update to do list 2016-04-13 14:43:27 +01:00
Josh Johnson ec5ca95d0d Build 2016-04-13 14:42:23 +01:00
Josh Johnson 3d2e998f34 Use document fragments for generating lists 2016-04-13 14:40:41 +01:00
Josh Johnson 94475e8e1a Correct value when pressing backspace + getter methods 2016-04-13 14:20:08 +01:00
Josh Johnson 6ac55c9e37 Use const instead of let where possible + selecting options 2016-04-12 22:42:56 +01:00
Josh Johnson cd43799258 Less querying of the DOM - use state instead + deselect all items if click outside 2016-04-12 20:16:36 +01:00
Josh Johnson 4947da2b43 Only remove items by object - focus input if click registered within container 2016-04-12 19:45:41 +01:00
Josh Johnson 1f0b0e467f Remove all items refactoring 2016-04-12 14:54:07 +01:00
Josh Johnson 673e937327 Render dropdown from store 2016-04-12 14:31:07 +01:00
Josh Johnson 6d51b5c164 Seperate reducers for dropdown choices and items + callbacks 2016-04-12 14:10:07 +01:00
Josh Johnson 9cbe882c41 Allow for deep merging of objects 2016-04-11 14:51:20 +01:00
Josh Johnson 7dc30abff7 Configurable class names 2016-04-11 14:13:50 +01:00
Josh Johnson f05b49578a Add dropdown items 2016-04-10 22:54:56 +01:00
Josh Johnson c821c923c9 Ability to pass multiple elements to instance 2016-04-10 21:23:42 +01:00
Josh Johnson 210744a301 Test for removeItems options to enable/disable selecting items 2016-04-09 11:55:33 +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 b9bae53e53 Remove item based on value 2016-04-08 09:07:41 +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