Commit graph

331 commits

Author SHA1 Message Date
Josh Johnson e16ddb404f Remove assignment within if 2017-08-14 13:33:20 +01:00
Josh Johnson bfef79d3ee Move regex filter into util 2017-08-10 11:57:17 +01:00
Josh Johnson 5eac8d4bdd Remove active descendant tag from input - causing virtual keyboard issues 2017-08-03 16:15:00 +01:00
Josh Johnson bc757a6485 Add default notice type 2017-08-03 13:17:34 +01:00
Josh Johnson 8fa852e4b8 Add appropriate classes to notices 2017-08-03 13:15:49 +01:00
Josh Johnson 75a0b2e7b5 . 2017-08-03 11:44:06 +01:00
Josh Johnson ad476c2480 Refactoring 2017-08-03 11:22:21 +01:00
Josh Johnson 565d659c0a Fix search + use choice placeholder on remove button 2017-08-03 10:56:49 +01:00
Josh Johnson 171f59cf65 Merge master 2017-08-03 10:07:45 +01:00
Josh Johnson c3a7330e5b Typo + set placeholder value to instance 2017-08-03 10:03:09 +01:00
Josh Johnson 84f149ee83 searchPlaceholderValue option 2017-08-03 09:55:31 +01:00
Josh Johnson 61dc200bab Remove unnecessary method 2017-08-02 14:14:51 +01:00
Josh Johnson 1013f32ce6 A few tests 2017-08-02 14:14:08 +01:00
Josh Johnson 94e3c97b4e Placeholder work 2017-08-02 14:05:26 +01:00
Josh Johnson 4d16787997 IE11 test 2017-08-02 09:42:12 +01:00
Josh Johnson 29ab3ca55a IE scroll fix 2017-08-02 09:30:00 +01:00
Josh Johnson cf3c2e67dd IE11 flag 2017-08-01 16:55:38 +01:00
Josh Johnson 21f67b4289 Return result count on search 2017-07-31 16:17:03 +01:00
Josh Johnson 18d5c12462 Typos 2017-07-24 14:50:40 +01:00
Josh Johnson ca3bda1f70 Ability to only render a portion of choices 2017-07-24 14:46:30 +01:00
Josh Johnson fd52de1835 Resolve keycode issue 2017-07-20 12:05:56 +01:00
Josh Johnson 73940d7d04 Set value of text element 2017-07-19 20:47:42 +01:00
Josh Johnson 40242f696e Merge pull request #211 from oWallyson/master
Added keyCode to choice objects
2017-07-19 19:33:52 +01:00
Andrew Whalley dba6093297 Added keyCode to choice objects 2017-07-19 13:48:46 -04:00
Josh Johnson d3ebae6cab Remove unnecessary bindings 2017-07-19 12:59:54 +01:00
Maxim Mig d8e8e1ab97 Backup & recover original styles: added test 2017-07-17 13:35:50 +03:00
Maxim Mig c88f00513e Persisting original styles of the passed element (we don't need to store null if there are no styles at all). 2017-07-15 00:53:43 +03:00
Maxim Mig 8e8df3e455 Persisting original styles of the passed element. 2017-07-15 00:31:45 +03:00
Maxim Mig bc1715125d Various minor corrections. 2017-07-13 17:59:33 +03:00
Josh Johnson 89289ab692 Remove errors to reduce file size 2017-07-13 09:01:24 +01:00
Maxim Mig 7b294a80b6 Fix handling 'renderSelectedChoices' config option. Added two tests. 2017-07-12 13:21:35 +03:00
Maxim Mig ef661f4615 Added two config options: shouldSortItems and renderSelectedChoices. 2017-07-11 08:36:10 +03:00
Jay Kid af9feb3e2c fix: remove extra 'undefined' argument when calling _addItem from _addChoice
+ Added integration-like test
2017-06-30 15:45:47 +02:00
Josh Johnson 4370616519 Documentation + housekeeping + ensure custom props are passed to preset items 2017-06-29 08:40:56 +01:00
Jay Kid 600f59a440 fix: add pause between "Remove item" and the value of the item by adding a colon
Helps understanding when using VoiceOver
2017-06-28 11:12:45 +02:00
Jay Kid 0b3cf1a355 feat: implement custom properties for items and choices
+ Added unit tests for both choice and item reducers
+ Had to add some visually unpleasant undefineds, sorry :P
2017-06-28 11:11:02 +02:00
Josh Johnson 8485137121 More appropriate naming 2017-06-27 16:35:46 +01:00
Josh Johnson f6ea9224e2 Introduce search render limit 2017-06-27 16:30:08 +01:00
Josh Johnson cd9797e9d0 Housekeeping 2017-06-27 15:54:22 +01:00
Josh Johnson 098e191771 Resolve isUnique test + minor fixes 2017-06-27 13:11:31 +01:00
Josh Johnson b1cfa5441c Use classnames lib for generating class lists 2017-06-27 12:42:01 +01:00
Maxim Mig 9d4102bc03 Typo correction: this.config.search -> this.config.searchEnabled. Error in action: https://www.screencast.com/t/e23Ti7eT7J 2017-06-22 18:31:36 +03:00
Josh Johnson 38761ca4ae Merge pull request #176 from adamsro/bugfix/maintain-container-focus-on-escape
Refocus outer container when dropdown is closed via escape key
2017-06-03 12:36:24 +01:00
Josh Johnson 9020740f16 Don't re-assign arg 2017-06-03 12:04:46 +01:00
Pablo Bernal 8d481b4f2c Accessiblity improvements: usage of activedescendant to read options, allow arrow keys to browse options when screen reader is on, fix for aria-selected 2017-06-02 15:34:07 -05:00
Marshall Adams c3166d6e60 Refocus outer container when dropdown is closed via escape key 2017-05-30 11:35:34 -07:00
Marshall Adams e4df3a8cb7 Merge updated master into bugfix 2017-05-30 11:11:19 -07:00
Marshall Adams 110796e25f Check value is type string before calling trim() 2017-05-30 10:43:25 -07:00
Josh Johnson 75e5801585 Revert breaking focus PR 2017-05-29 11:11:50 +01:00
Josh Johnson bc48904765 Silent config option 2017-05-18 17:56:29 +01:00