Commit graph

890 commits

Author SHA1 Message Date
Josh Johnson bf1eb3b8ac Seperate out element creation logic 2018-04-24 13:57:31 +01:00
Josh Johnson 54b8935aee Clearer store naming conventions 2018-04-24 13:52:13 +01:00
Josh Johnson f02abdaacf Final few store getters 2018-04-24 13:49:57 +01:00
Josh Johnson 80f4d929ac Further getters 2018-04-24 13:23:26 +01:00
Josh Johnson 152b740670 Use getters and setters appropriately 2018-04-24 12:54:45 +01:00
c5254061 c2fccdc398 Fix xss vulnerability(escape html in item label) 2018-04-18 11:05:21 +03:00
c5254061 d15ab02db8 Merge branch 'develop' of https://github.com/jshjohnson/Choices into develop 2018-04-18 10:50:44 +03:00
Andy Nutt 275295adc5 Remove inline styling (#306)
* Remove inline styling (#279)

- Remove the JS styling to prevent CSP violations.
- Add "display: none;" CSS rule for the default class "is-hidden".

* Increase the specificity of the hidden class (#279)

* Include "is-hidden" class in utils section of base style sheet (#279)

* Add top level selector for hiding Choices inputs (#279)
2018-03-27 15:02:19 +01:00
Josh Johnson 82c389bc56
Install husky (#373)
* Add prepush hook and install husky
2018-03-27 10:48:01 +01:00
c5254061 38cf04b0d8 Fix xss vulnerability(escape html in input) 2018-03-25 20:26:47 +01:00
c5254061 e46ae74209 Fix xss vulnerability(escape html in input) 2018-03-23 18:51:50 +03:00
Egon Richárd Tőrös 00ac0d879e 🔥 Typo 2018-03-19 11:48:29 +01:00
Egon Richárd Tőrös e60be87a94 🚑 Add example 2018-03-19 11:46:28 +01:00
Egon Richárd Tőrös 3019d96ad9 💄 Code formatting 2018-03-12 21:44:55 +01:00
Egon Richárd Tőrös 4f5711c7e3 💄 Build Javascript 2018-03-12 21:43:43 +01:00
Egon Richárd Tőrös 8a586fc32a Ajax - fetch properties from object 2018-03-12 21:42:13 +01:00
Waltton Morais b49980d169 Replace hardcoded color for input with $choices-bg-color variable 2018-03-09 09:07:15 +00:00
Bart Langedijk 2514cbcd51 Update README.md 2018-03-08 12:33:54 +00:00
Bart Langedijk e5a3b0e308 Update of build files 2018-03-08 12:33:54 +00:00
Bart Langedijk 3cb2a897fa ESLint fix 2018-03-08 12:33:54 +00:00
Bart Langedijk 56c4888aea Add custom properties to 'addItem' event 2018-03-08 12:33:54 +00:00
= 6276d17a2a Resolving the issue 342: we can't select an empty empty string or 0 as value. EDIT 2. 2018-03-08 09:23:25 +00:00
= a2a9953b1b Resolving the issue 342: we can't select an empty empty string or 0 as value. EDIT. 2018-03-08 09:23:25 +00:00
= 1d9fd326f0 Resolving the issue 342: we can't select an empty empty string or 0 as value 2018-03-08 09:23:25 +00:00
Travis Tidwell 1e6ae4e3f9 Add ability to configure the item comparer function. 2018-02-02 10:28:44 +00:00
Josh Johnson 5048379e68 Rename rendering methods + createGroupsFragment test 2017-12-20 15:10:01 +00:00
Josh Johnson a5277a49e7 Wrapped select tests + minor refactors 2017-12-20 12:38:16 +00:00
Josh Johnson 9c9a4c115a Add further component tests 2017-12-19 13:08:57 +00:00
Josh Johnson 905f31abf1 Merge remote-tracking branch 'origin/develop' into develop 2017-12-19 12:19:57 +00:00
Josh Johnson afd5935866 Setup rendering test 2017-12-19 12:19:54 +00:00
Josh Johnson e3aa6e723e Rename sortFilter to sortFn 2017-12-19 12:19:43 +00:00
Josh Johnson f54a81f7f4 Resolve janky scrolling 2017-12-18 12:17:35 +00:00
Josh Johnson 9777287b92 Ensure destroying instance reinstates options + tests 2017-12-18 12:06:38 +00:00
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 e9469816d5 Update example 2017-12-08 15:14:38 +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
Josh Johnson f3ab15a53c Merge remote-tracking branch 'origin' into develop 2017-12-06 15:43:56 +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 7d96ff2dcf Update README.md 2017-12-05 13:54:56 +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
Arthur Vasconcelos 4d5ab91a72 New interface for passedElement 2017-11-29 09:58:32 +00:00
Arthur Vasconcelos 06e18c528e Fix typo 2017-11-29 09:58:32 +00:00
Arthur Vasconcelos 7f713ed8e5 Updating types 2017-11-29 09:58:32 +00:00