Commit graph

1235 commits

Author SHA1 Message Date
Matt Triff 29097d5457 Bump dev dependencies 2022-01-13 20:31:33 -05:00
Matt Triff c21b998eaa Lint on style PRs 2022-01-13 20:16:49 -05:00
Matt Triff 96e4ac53d9 Merge branch 'master' of github.com:Choices-js/Choices 2022-01-11 20:24:30 -05:00
Matt Triff 770342b7e8 Split GitHub pages action, allow manual dispatch 2022-01-11 20:24:15 -05:00
Matt Triff eef836a037
Merge pull request #996 from supermueller/resolve-887
Fix multiple select in Internet Explorer 11
2022-01-11 20:07:58 -05:00
Matt Triff 8ab8157607 Bump CSS max size 2022-01-11 20:01:38 -05:00
Karsten Müller 75caa0b1f3 Resolve #887
Fix compatibility with Internet Explorer 11
2022-01-10 10:56:10 +01:00
Matt Triff 3d42067bbd Version 10.0.0 2022-01-02 23:38:07 -05:00
Matt Triff ce3d1111d8
Merge pull request #991 from Choices-js/fuse6
Upgrade to Fuse v6
2022-01-02 13:27:09 -05:00
Matt Triff 7758226d64
Merge pull request #992 from Choices-js/searchfloor0
Trigger search when clearing the input field with search floor of 0
2021-12-31 22:06:22 -05:00
Matt Triff 25a7ed0318 Add test with searchFloor of 0 2021-12-31 21:51:00 -05:00
Daiana Cambruzzi Ávila 23f0b7cb9d Fix Issue 630: allow triggering of 'search' event when clearing the input field 2021-12-31 18:23:13 -05:00
Matt Triff 303d12504c Upgrade to Fuse v6 2021-12-31 18:11:45 -05:00
Matt Triff 3b4d7543e5 Set line endings for type definition files 2021-12-31 18:10:15 -05:00
Matt Triff 781c729e13
Merge pull request #990 from Choices-js/fix-search-sanitisation
Remove character sanitisation when searching
2021-12-30 22:12:53 -05:00
Matt Triff 9605f367f9 Search using non-sanitised input value 2021-12-30 22:05:03 -05:00
Matt Triff 1b4d3553ef
Merge pull request #989 from Choices-js/update-actions
Update GitHub Actions
2021-12-30 20:45:24 -05:00
Matt Triff f12c62c4b8
Add methods to Table of Contents 2021-12-30 20:37:27 -05:00
Matt Triff c7976b7acd Add pause after resize to fix inconsistent dropdown/dropup direction behaviour 2021-12-30 20:25:33 -05:00
Matt Triff 4df199e0b9
Add checklist items for tests 2021-12-30 20:21:45 -05:00
Matt Triff 0903934848 Update GitHub Actions 2021-12-30 20:16:52 -05:00
Matt Triff 64b5df6874
Merge pull request #987 from victiondev/fix/typings
Fix/typings
2021-12-27 11:38:02 -05:00
Mason Rogers 824eca6f81 fix: Fix non-string-valeus 2021-12-27 15:58:25 +00:00
Mason Rogers 9c9aded8b2 chore: Build 2021-12-27 14:50:45 +00:00
Mason Rogers 7e200664c4 feat: Export interfaces 2021-12-27 14:46:22 +00:00
Matt Triff 04571e36d3
Merge pull request #986 from victiondev/fix/typings
fix: Add typings to published files
2021-12-27 09:01:45 -05:00
Mason Rogers 11208fe62d fix: Add typings to published files 2021-12-27 13:27:26 +00:00
Matt Triff b9acfa773d Add table of contents 2021-12-26 17:47:34 -05:00
Matt Triff 6e4903e852
Merge pull request #985 from Choices-js/fix-typings
Fix typings
2021-12-26 16:59:28 -05:00
Matt Triff a8862e78be Add typings and declaration maps 2021-12-26 16:38:09 -05:00
Matt Triff bf94386cc5 Update configuration to output types 2021-12-26 16:37:23 -05:00
Matt Triff 0b6973b322
Merge pull request #984 from victiondev/feat/allowHTML
feat: Introduce allowHTML option to allow people to disable injecting HTML into choices.
2021-12-26 09:47:07 -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 3d402d4560 fix: Circular dep caused by requiring options 2021-12-25 21:38:19 +00:00
viction 545a442f5c fix: Custom template displaying/unit tests 2021-12-25 20:29:54 +00:00
viction c989be1491 test: select-multiple coverage 2021-12-25 20:29:31 +00:00
viction 3633c4ac0f test: select-one coverage 2021-12-25 20:29:15 +00:00
viction 859f6262eb test: Coverage for allowHTML 2021-12-24 17:33:32 +00:00
viction 6b16e93977 fix: template testing & type errors 2021-12-24 17:32:50 +00:00
viction 7f727480e8 feat: allowHTML 2021-12-23 16:59:48 +00:00
Bob Maerten 82b94228f9
Enhance inputCloned text input with type and name (#908)
* Enhance inputCloned text input with type and name

Safari will display a contact autocomplete on every text input which `name` attribute contains "*name*" or does not have any `name` attribute.
Adding a fine tuned `name`attribute to the input should prevent that.

Plus, input type="search" seems more suited to the field intent (https://developer.mozilla.org/fr/docs/Web/HTML/Element/Input/search).

* Adapt inputCloned related test
2021-12-22 16:56:04 -05:00
Matt Triff b92823b70c
Merge pull request #983 from Choices-js/patch-1
Fix Sanitization of > Characters
2021-12-21 21:50:44 -05:00
Matt Triff 22f9be0d93 Update tests for > 2021-12-21 18:07:31 -05:00
Raphaël Jorel 2222f767a9 Fix sanitise function
HTML uses `>` to encode `>` characters.
2021-12-21 11:15:44 -05:00
Matt Triff f0ec43fa20 Version 9.1.0 2021-12-19 20:54:48 -05:00
Matt Triff c4f3a81d41
Merge pull request #979 from Choices-js/npm-audit-fix
Switch to dart-sass, fix npm audit issues, add stylelint
2021-12-19 18:25:44 -05:00
Matt Triff fb379408c1 Use Chrome for cypress:ci runs (fixes flakey test in Electron) 2021-12-19 18:21:42 -05:00
Matt Triff c26596e9ec Simplify linting GitHub Action 2021-12-19 18:09:41 -05:00
Matt Triff 9835eb756a Implement stylelint 2021-12-19 17:43:03 -05:00