Commit graph

277 commits

Author SHA1 Message Date
Josh Johnson beeeeb87ad Move wrapping into container class 2017-12-11 14:40:38 +00:00
Josh Johnson 6130ee00d5 Enable/disable tests 2017-12-10 18:13:13 +00:00
Josh Johnson e79699facd More coverage 2017-12-10 18:00:57 +00:00
Josh Johnson 43417510cd Various unit test improvements + focus flipping 2017-12-10 16:41:39 +00:00
Josh Johnson 053ec770d3 Remove border-radius from button 2017-12-06 16:16:00 +00:00
Josh Johnson d97857e013 Merge remote-tracking branch 'origin/develop' into develop 2017-12-06 16:13:15 +00:00
Josh Johnson a5befca2fe Resolve item rendering bug 2017-12-06 16:12:53 +00:00
George Brook 622d658f6b Update choices.css 2017-12-05 13:55:36 +00:00
George Brook 40ed67453c Update choices.scss 2017-12-05 13:55:36 +00:00
Josh Johnson e18971fd6d Further test coverage 2017-11-29 13:48:49 +00:00
Josh Johnson 760ecde4c1 Add tests for removeHighlightedItems + setChoices 2017-11-29 13:25:20 +00:00
Josh Johnson b3486ccfbb Further public method unit tests 2017-11-21 16:17:00 +00:00
Josh Johnson 92037ba5b9 Keep icons for future usage 2017-11-21 15:53:28 +00:00
Josh Johnson 78bfa5dac4 Merge branch 'master' of https://github.com/indacloud/Choices into indacloud-master 2017-11-21 15:53:06 +00:00
Josh Johnson a46915718f Minor refactoring 2017-11-21 15:19:46 +00:00
Josh Johnson 3adccb3ce5 Prepare test descriptions 2017-11-21 14:10:29 +00:00
Josh Johnson dd0b4bc086 Build with latest deps 2017-11-20 12:59:12 +00:00
Josh Johnson e8d8f8662e Export properly 2017-11-15 06:51:53 +00:00
Josh Johnson 7c1a18895e Use export for classes 2017-11-13 19:13:37 +00:00
Josh Johnson dd0a06a946 Further unit tests 2017-11-11 13:40:18 +00:00
Tom Brehm f7e63ce35c Move icons to css with encoded data
### This is the problem:

the `$choices-button-icon-path` needed to be changed for use with Weppack and I still had some complications when building my project.

### This is my solution:

The icons can be encoded and used directly in the stylesheet. This makes it easier to customize and removes 2 dependencies.
You can then customize `$choices-icon-cross` and `$choices-icon-cross-inverse` with one of your one data or asset.
2017-11-09 11:17:13 -05:00
Josh Johnson b44c918022 Better splitting up of functions 2017-11-07 14:08:55 +00:00
Josh Johnson 97e8c04536 Further unit tests 2017-11-07 14:04:37 +00:00
Josh Johnson f20b9fc59f Clear store unit test 2017-11-07 12:56:54 +00:00
Josh Johnson fdbc2a890f Further public method unit tests 2017-11-07 12:51:43 +00:00
Josh Johnson 1dc040d7f8 Ignore test files from coverage 2017-11-07 12:19:56 +00:00
Josh Johnson 09cffecc69 Add further public method unit tests 2017-11-07 12:00:10 +00:00
Josh Johnson 487e878b88 Ensure webpack config is valid 2017-11-07 11:59:49 +00:00
Josh Johnson 8c7fc17811 init() and destroy() unit tests 2017-11-06 13:52:27 +00:00
Josh Johnson affd67e542 Merge with latest + housekeeping 2017-10-29 18:59:17 +00:00
Josh Johnson 71dcb6c140 Minor test tweaks 2017-10-29 18:56:24 +00:00
Josh Johnson a325a75a23 Early returns + refactoring 2017-10-19 12:35:26 +01:00
Josh Johnson 30c31a406c Abstract various methods 2017-10-18 13:05:07 +01:00
Josh Johnson 920d41d0f5 Remove 'shoulds' from tests 2017-10-18 13:04:52 +01:00
Josh Johnson 5304de02a7 Move event triggering to wrapped element class 2017-10-18 09:08:27 +01:00
Josh Johnson 88ccdc6917 Template functions as pure functions 2017-10-18 08:54:23 +01:00
Josh Johnson 859653ff72 Expose methods from wrapped elements 2017-10-18 08:43:56 +01:00
Josh Johnson 8b71f277ff Resolve passedElement issues 2017-10-14 11:29:08 +01:00
Josh Johnson bd77f458b3 Begin to move passedElement logic into wrapped component 2017-10-13 13:43:58 +01:00
Josh Johnson 82cb17ec2b Minor refactoring 2017-10-13 09:17:20 +01:00
Josh Johnson d48fdf4e02 Minor fixes 2017-10-13 08:51:28 +01:00
Josh Johnson e79aeaa93e Move key codes into constant 2017-10-12 16:27:23 +01:00
Josh Johnson d5167b0106 Add further container tests 2017-10-12 12:43:53 +01:00
Josh Johnson 843d1f66bb Use parentInstance + begin adding container tests 2017-10-12 12:34:47 +01:00
Josh Johnson 48e35a88da Finish input unit tests 2017-10-12 09:35:58 +01:00
Josh Johnson f9303d86b0 Add list unit tests 2017-10-11 09:39:31 +01:00
Josh Johnson d211cf9507 Add dropdown unit tests 2017-10-11 09:19:13 +01:00
Josh Johnson 806edca24f Move templates into own file 2017-10-10 16:59:49 +01:00
Josh Johnson f98e79e218 Move action types into constant file 2017-10-10 15:30:06 +01:00
Josh Johnson fb4f80b5f1 Break out actions into action files 2017-10-10 15:26:38 +01:00
Josh Johnson 865f96d0da Move event keys into constants 2017-10-10 13:03:04 +01:00
Josh Johnson ff7cadbd85 Begin component tests 2017-10-10 12:56:36 +01:00
Josh Johnson af1dc1243d Finish add store tests 2017-10-10 12:35:05 +01:00
Josh Johnson 180e0fc609 Begin adding store tests 2017-10-10 12:06:00 +01:00
Josh Johnson 2a8a8340f6 Items/groups tests 2017-10-10 11:40:59 +01:00
Josh Johnson c63b9ff439 Group reducer tests 2017-10-10 11:28:08 +01:00
Josh Johnson b9750e3c83 Don't map over state for reducer tests 2017-10-10 11:20:00 +01:00
Josh Johnson a9cdbc54c4 Rename choices main test file 2017-10-09 17:47:18 +01:00
Josh Johnson a8cbeb91bc Begun adding reducer tests 2017-10-09 17:46:47 +01:00
Josh Johnson 4666e33845 Export default state with reducer 2017-10-08 15:52:54 +01:00
Josh Johnson 6f5673a6a3 Add action unit tests 2017-10-08 15:48:51 +01:00
Josh Johnson da133747eb Revert "Begin to abstract passedElement code"
This reverts commit 55fca5d402.
2017-10-06 09:37:17 +01:00
Josh Johnson 55fca5d402 Begin to abstract passedElement code 2017-10-06 09:07:49 +01:00
Josh Johnson e96e5fdc74 Resolve final broken tests 2017-10-03 13:17:31 +01:00
Josh Johnson 498e45f6db Merge branch 'feature/modularise-code' of github.com:jshjohnson/Choices into feature/modularise-code 2017-09-29 13:27:26 +01:00
Josh Johnson 098f71172d Fix further tests 2017-09-29 13:26:47 +01:00
Jay Kid 4a68f6acf3 Merge branch 'feature/modularise-code' of github.com:jshjohnson/Choices into update-fuse 2017-09-28 12:49:10 +02:00
Josh Johnson 5937afdc48 Merge pull request #257 from maximmig/feature/modularise-code
Addressing issue #253
2017-09-20 09:04:40 +01:00
Josh Johnson 92f7263e77 Resolve breaking tests 2017-09-19 18:13:35 +01:00
Maxim Mig 955716d846 Addressing issue #253 2017-09-19 16:22:00 +03:00
Maxim Mig 020905676a Fixing NRE 2017-09-19 14:43:20 +03:00
Maxim Mig 721441f32d Addressing issue #224 2017-09-18 18:46:48 +03:00
Josh Johnson 26d4c2304e Resolve conflicts 2017-09-06 08:48:42 +01:00
Josh Johnson 31396569b7 Early returns + reduce repitition 2017-08-30 13:04:19 +01:00
Josh Johnson 971262c4a9 Port components into src folder 2017-08-29 13:08:46 +01:00
Josh Johnson e6216983f6 Pass majority of failing tests 2017-08-29 13:04:53 +01:00
Josh Johnson 241c9e5dcc Begun mocha/chai setup 2017-08-29 13:04:51 +01:00