Matt Triff
2099c3dc2e
Add sponsor
2022-02-13 20:46:02 -05:00
Josua Vogel
eb22895f00
Add option labelId to improve a11y ( #971 )
...
* Add option labelId to improve a11y
* Console.log entfernt
* Add test case for aria-labeledby
Co-authored-by: Josua Vogel <josua.vogel@t-systems.com>
2022-01-18 17:07:07 -05:00
Mysliwietz Florian
bb76a572c0
minor update docs/readme
...
- use `select-one` consistently (instead of `select-single` with two occurrences)
- add missing comma (,) in setup example with default options
2022-01-15 21:59:42 +01:00
Matt Triff
303d12504c
Upgrade to Fuse v6
2021-12-31 18:11:45 -05:00
Matt Triff
f12c62c4b8
Add methods to Table of Contents
2021-12-30 20:37:27 -05:00
Matt Triff
b9acfa773d
Add table of contents
2021-12-26 17:47:34 -05:00
Matt Triff
66c6864267
Update allowHTML wording, set remote examples to allowHTML false
2021-12-26 09:36:12 -05:00
viction
391c3e39cb
fix: README examples & change template type
2021-12-26 02:47:49 +00:00
viction
7f727480e8
feat: allowHTML
2021-12-23 16:59:48 +00:00
Matt Triff
59ea75ef14
Update README.md
...
De-emphasize call for maintainers.
2021-12-19 14:07:02 -05:00
Ryan B
8647f36fbe
Documentation of input type terms ( #873 )
...
* Documentation of input type terms
Add a table with documentation of HTML5 input tag correspondence to terms used in Choices documentation
* Update README.md
Clean up typos, simplify table and use MDN for reference links
Co-authored-by: Matt Triff <matt.triff@gmail.com>
2021-12-19 10:14:20 -05:00
flip111
de5307ce4d
Update README.md ( #844 )
...
* Update README.md
* Update README.md
Switch to the Choices-js organization link.
Co-authored-by: Matt Triff <matt.triff@gmail.com>
2021-12-19 09:51:45 -05:00
Matt Triff
05a41c5c7d
Merge pull request #848 from JoshuaCrewe/fix/readme-typo
...
Fix typo in README.md s/withing/within
2021-12-18 23:22:54 -05:00
André Ligné
60adc56bbf
Fix broken demo link in README.md
...
After trying to see the demo for this project I noticed that the link
leads to a 404 page.
I found the updated link in [#957 ] and this commit updates the README to
link to the proper URL.
[#957 ]: https://github.com/Choices-js/Choices/issues/957
2021-11-15 14:56:35 +01:00
Josh Johnson
ebbea8c3b0
Update README.md
2020-07-28 11:01:32 +01:00
Joshua Crewe
41f81d22ed
Fix typo in README.md
2020-04-07 14:22:00 +01:00
Alex Chan
cbaf43232c
Fix a typo in the README: s/seperates/separates ( #807 )
2020-01-14 08:50:42 +00:00
Josh Johnson
b3b7b3f14f
Update README
2019-11-28 18:52:45 +00:00
Josh Johnson
3d099d85fc
Update README
2019-11-28 18:06:33 +00:00
Josh Johnson
9676cff128
Resolve #622 and #781 ( #784 )
...
* Resolve duplicate initialise in demo
* Update README with versioned cdn links
* Update log
* Re-add env var
2019-11-27 11:46:40 +00:00
Josh Johnson
62e849d1b4
Resolve 774 ( #777 )
...
* Include customProperties in removeItem
* Add tests
* Housekeeping
* Update mac vm label
* Add .nvmrc
2019-11-24 17:32:02 +00:00
Josh Johnson
592c326442
Update polyfill list ( #765 )
...
* Update polyfill list
* Update eslintrc.json
* Add keydown methods to types
* Resolve type issue
2019-11-19 18:34:08 +00:00
agamemnus
6be462c80b
Typo. ( #759 )
2019-11-14 20:34:05 +00:00
Josh Johnson
84b952e115
Resolve bug #637 ( #754 )
...
* Add is-selected class when item is selected
* Remove console.log
* Update README
2019-11-13 14:49:23 +00:00
Josh Johnson
e6882f3e4b
Add missing type definitions + rename sortFn ( #734 )
...
* Add wrapped element getters + fix some types
* Remove comment
* Add missing config options to types
* Add types to constants
* Rename sortFn to sorter
* Update PR template
* Add refactor to PR template
* Add passed element types to constants
* Add js doc comments to actions
* Add "returns" to js doc comments
* Add missing choice prop to type
* Add types to store.js
* Add jsdoc comments to components
* Ignore strict null checks
* Move loading action into misc.js
* Further type def additions
* Rename itemCompare to valueCompare
* Update badges
* Rename scrollToChoice to scrollToChildElement
2019-11-03 13:18:16 +00:00
Josh Johnson
a0fe05f926
Fix #727 ( #731 )
...
* Housekeeping
* Resolve placeholder bug + hide from choice list
* Restructure test folder
* Update cypress test to assert one placeholder
* Fix breaking e2e test
* Remove ability to pass placeholder via config for select boxes
* Add further e2e tests covering placeholders
* Add unit tests for _generatePlaceholderValue
* Display placeholder choice for select one
* Add further e2e test to assert on placeholder ordering
* Add labels to exclude from draft releases
* Add failure case to e2e test workflow
* Resolve broken e2e test
* Update puppeteer snapshot baseline
2019-11-02 13:49:33 +00:00
Josh Johnson
0e44a916e3
Fix constructor ( #693 )
...
* breaking test
* Remove ablity to pass multiple elements + tests
* Update readme
* Update README.md
* 🔖 Version 8.0.0
* Remove type definition hack
* Update coverage command
* Add some missing list tests
* Remove .only
* Update demo page to loop over elements
* Update constructor to set initialised flag if already active
* Make templates private
* Throw type error once if element is invalid
* Fix list children bug
* Re-add generic examples to index.html
* Housekeeping
* Use typeof instead of isType where applicable
* Remove isElement
* Add test for isIE11
2019-10-29 21:19:56 +00:00
Konstantin Vyatkin
172366d6fa
[Tooling] Expand browsers target while keeping Polyfills under control ( #709 )
...
* expand browsers target
* add eslint-plugin-compat
* sort polyfils
* adjust readme
* add polyfills sync check action
* only build js
* trim
* add Element.prototype.closest
* add closest to demo links
* fix ignore
2019-10-29 18:19:19 +00:00
Konstantin Vyatkin
e3cc6eaf1b
[MAJOR] Remove .ajax
and allow async function for .setChoices
( #701 )
...
* WIP: remove ajax
* copy #700
* remove ajax, add fetchChoices
* extend setChoices
* update README
2019-10-29 18:12:32 +00:00
Konstantin Vyatkin
b080bcda7d
rename addItemFilterFn ( #699 )
2019-10-29 17:29:31 +00:00
Konstantin Vyatkin
9504cfcec5
[MAJOR] expose defaults
and original Template rendering functions ( #708 )
...
* expose original Template rendering functions
* add to types
* add moduleResolution
* use `defaults`
2019-10-29 15:13:00 +00:00
Konstantin Vyatkin
a2485392a5
don't reimplement native closest
( #696 )
2019-10-28 20:26:19 +00:00
Konstantin Vyatkin
64407174e3
closes #587 ( #704 )
2019-10-28 19:33:27 +00:00
Konstantin Vyatkin
ef2c70fb7a
use default parameters ( #698 )
...
* use default parameters
* Fix argument name in README
2019-10-25 13:21:38 +01:00
Konstantin Vyatkin
7887c05249
[MAJOR] use attribute hidden ( #691 )
...
* use attribute hidden
* commit something to re-run tests
2019-10-24 18:09:44 +01:00
Konstantin Vyatkin
6848970fd9
improve Babel and webpack configurations --> reduce JS bundle size ( #670 )
...
* simplify babel config
* fix Cypress VSCode checks
* introduce webpack base config
* fix flacky cypress test
* fix class properties definition
* fix default export
* upgrade affected deps, decrease bundlesize
* run ESLint only on changed files
2019-10-22 17:08:43 +01:00
Christophe Coevoet
8782564ddf
Add support for standard-compliant placeholder option ( #617 )
...
* Add support for standard-compliant placeholder option
* Bump version and rebuild files
2019-10-22 11:25:36 +01:00
Josh Johnson
ffc32df462
Resolve vulnerabilities + fix tests ( #668 )
...
* Remove GPR Github action (for now)
* Update test badge
* Remove stale.yml
* Upgrade cypress + fix failing tests
* Upgrade postcss-cli
* Update postcss command
* Remove space
* Add slight delay between scrolling animations
* Update test descriptions
* Remove signed commits/tagging (for now)
* chore(release): 🔖 version 7.0.5
* Update commit message
* Revert "Upgrade cypress + fix failing tests"
This reverts commit b6fbd0f51a
.
2019-10-21 21:43:38 +01:00
Benoît Rouleau
31ef5bb065
Improve callbackOnCreateTemplates
example ( #647 )
...
Shows how to add the placeholder class(es) when the item is the placeholder.
2019-10-21 10:51:53 +01:00
Jason Cooke
62ccd923ff
docs: fix typos ( #605 )
2019-06-30 20:02:52 +01:00
David Kennell
43e670d02d
fix typo ( #596 )
2019-05-28 18:52:26 +01:00
Josh Johnson
67382a3f31
Use v3 of polyfill
2019-03-29 09:12:29 +00:00
Hans Lemuet
5c17250e20
Allow passing an empty array to setChoices
2019-03-13 10:34:06 +01:00
Josh Johnson
bbbc31594c
Update README.md
2019-03-11 12:19:52 +00:00
Christophe Coevoet
56845e3897
Remove the CustomEvent polyfill from the bundle
2019-02-28 11:51:04 +01:00
Hans Lemuet
c424ae2f3b
Fix #499 documentation error about passedElement ( #517 )
2019-02-14 08:34:44 +00:00
Josh Johnson
8540d5aabd
Api changes ( #515 )
...
* Combine regexFilter and addItemFilter + minor tweaks
* Update tests to accomodate fixed dropdown notice
* Remove broken `toggleDropdown` method
* Unskip dropdown interaction tests
* Remove reference to removed method
2019-02-12 18:35:46 +00:00
Glade
ba09fb00e6
callback to filter items before adding ( #485 )
...
* Add item custom callback
* Minor unit test updates
* Test updates, Changed callback name to more clearly distinguish it's function
* Fix description wording in cypress
* Update README
* Updated filter item callback name to be addItemFilter
2019-02-11 22:56:21 +00:00
Josh Johnson
5c9dfdf2db
Upgrade old packages ( #508 )
...
* Upgrade Webpack to v4
* Upgrade Mocha
* Export unminfied and minified version
* Add browserslistrc
* Remove core.js polyfills
* Run bundle size on pre push
* Run bundlesize last
* Update readme gzip side
2019-02-09 18:13:25 +00:00
Josh Johnson
6c3bad777d
Add bundlesize ( #502 )
...
* Configure bundlesize
* Update travis script
* Remove node modules cache
* Run bundlesize as after script
* Remove duplicate coverage check
* Remove test:size from test command
2019-01-24 23:21:00 +00:00