2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-17 02:29:37 +03:00
Commit Graph

537 Commits

Author SHA1 Message Date
Jeff b5e239c49c doc content updates 2019-04-01 14:42:21 -07:00
Jeff db43a67801 overhaul selecting docs, updated navigation and URL structure 2019-03-31 15:10:08 -07:00
Jeff Sagal 38baaf33ad bump vue-server-renderer (#807) 2019-03-29 11:29:59 -07:00
Jeff Sagal 699d595f9a WIP: V3 - Remove index prop, add reduce prop (#800)
* remove `index` in favour of `reduce`, tests passing

* refactor findOptionFromReducedValue

* - always use getOptionLabel in comparisons

* - refactor deselect method
- add missing jsdoc blocks
- organize methods

* bump documentation
2019-03-24 19:23:30 -07:00
Jeff Sagal e4d4b27540 V3/update list items slot (#799)
* add tests for slots, add normalized function for passing options to slots

* update active class

* update active class
2019-03-23 15:58:50 -07:00
Jeff Sagal 3979f98327 update vuepress (#797) 2019-03-23 14:32:44 -07:00
Jeff 503cfb0444 Update sandbox 2019-03-23 14:24:18 -07:00
Jeff 2ecad8496a Add patch from #787 2019-03-23 14:23:55 -07:00
Jeff 5ae658c84c update package deps, remove extra dev options 2019-03-23 14:13:31 -07:00
Owen Conti f9725919a4 V3 - Remove mutable class properties plus other misc changes (#781)
* Remove the mutableValue prop in the Select component.

* Add back mutable value when Vue Select has to manage its own value.

* Remove mutableOptions, valueAsAarray. Update webpack minifer to use Terser.

* Fix tabbing

* Fix bug with showClearButton

* Fix tests.

* Call clearSelection when possible

* Update dev sandbox to have all three options for setting value.

* Update dev sandbox to display current value

* Remove unused karma test setup.

* Revert onInput name change.

* Use coveralls

* Change this.internalValue to this.$data._value.

* Remove onInput prop and replace with internal method, updateValue.

* Update tests.

* Rename optionObjectComparator to optionComparator.
2019-03-23 11:25:31 -07:00
Jeff Sagal f95b118edb refactor deselect method (#768) 2019-03-02 14:40:16 -08:00
Jeff Sagal dc91310860 Sass & Class Renames (#759)
* - add autoprefixer
- add cssnano
- add postcss-loader
- remove unused packages

* create RTL scss module

* add vs__ prefix to open-indicator, extract to module

* module for dropdown-toggle

* vs__clear module

* vs__dropdown-menu module

* rename `selected-tag` to `vs__selected`

* remove rtl class

* remove dropdown class

* search-input scss module

* move animations to global module

* refactor dropdown list items

* - spinner slot is now scoped with `loading` variable
- move spinner to scss module

* apply vs__search class directly to search input: if you're using the slot, you might not want default styles

* finish global modules

* make RTL a component state

* - update component states to use vs-- prefix
- rename dropdownClasses to stateClasses

* remove unused property

* Closes #760

* fix states

* more state fixes

* rename .close to vs__deselect

* - simplify dev.html
- start on 'sandbox' development

* update build

* - update webpack config
- move Sandbox to VuePress folder

* update external framework version links

* assign grid areas, ensure 100% height outside of docs

* limit specificity

* first pass at assigning variables

* assign 'darkest'

* remove max-height prop

* rename 'component' variables to 'state'

* update badges

* add deprecation notice to docs

* bump travis config

* add coveralls coverage reporter

* bump netlify config

* additional pass pulling up to variables

* start converting to SVG icons

* middle align action icons

* update netlify config

* netlify bump

* fix travis

* fix travis

* try lcov

* netlify attempt

* prune old packages

* bump travis config
2019-02-18 22:01:39 -08:00
Jeff Sagal 06800bfb16 fix coveralls coverage reporter (#766)
* add coveralls coverage reporter

* include lcov report

* bump config

* bump travis config

* bump netlify config
2019-02-18 11:40:56 -08:00
Jeff 4d7d576008 remove:
- express
- gitbook
- json-loader
- markdown-loader
- normalize.css
- prismjs
- vue-resource
2019-02-16 13:16:00 -08:00
Jeff a07cb4175f Merge branch 'ft/vuepress-no-cli' into release/v3.0
# Conflicts:
#	src/mixins/typeAheadPointer.js
2019-02-16 12:36:38 -08:00
Jeff 8a78de61a6 Merge remote-tracking branch 'origin/feature/input-slot' into release/v3.0
# Conflicts:
#	src/components/Select.vue
2019-02-16 12:05:17 -08:00
Jeff d09c2a7b79 Merge remote-tracking branch 'origin/ft/vuepress' into ft/vuepress-no-cli
# Conflicts:
#	.babelrc
#	.gitignore
#	README.md
#	build/webpack.base.conf.js
#	build/webpack.dev.conf.js
#	build/webpack.prod.conf.js
#	build/webpack.site.conf.js
#	dev/dev.html
#	docs/gitbook/Api/Props.md
#	package.json
#	test/unit/karma.conf.js
#	test/unit/specs/Select.spec.js
#	tests/helpers.js
#	tests/unit/.eslintrc.js
#	tests/unit/Ajax.spec.js
#	tests/unit/Deselecting.spec.js
#	tests/unit/Dropdown.spec.js
#	tests/unit/Filtering.spec.js
#	tests/unit/Labels.spec.js
#	tests/unit/Layout.spec.js
#	tests/unit/ObjectIndex.spec.js
#	tests/unit/ReactiveOptions.spec.js
#	tests/unit/Selecting.spec.js
#	tests/unit/Tagging.spec.js
#	tests/unit/TypeAhead.spec.js
#	yarn.lock
2019-02-10 20:03:45 -08:00
Jeff 03917c4d52 use test-utils beta-20 2019-02-10 17:40:24 -08:00
Jeff 8c00aa4e0e fix failing test 2019-02-10 17:40:02 -08:00
Jeff 88291d0166 fix failing test 2019-02-10 17:37:23 -08:00
Jeff f83d0db077 remove .only 2019-02-10 17:35:30 -08:00
Jeff 5bb92d8963 fix failing test 2019-02-10 17:35:16 -08:00
Jeff b17fce0ad8 test fixes 2019-02-10 16:43:19 -08:00
Jeff 317d8a30b8 update deps 2019-02-10 16:42:45 -08:00
Jeff e03c642615 add Jest suite from vue-cli-3 branch 2019-02-10 14:38:30 -08:00
Jeff 4ed24ab2e3 update Karma package deps, fix for yarn install 2019-02-10 12:30:54 -08:00
Jeff 09ed48c103 Merge branch 'master' of https://github.com/yamsellem/vue-select into yamsellem-master
# Conflicts:
#	.gitignore
2019-02-09 17:14:44 -08:00
Jeff 182e11b3ea fix failing tests 2019-02-09 16:50:34 -08:00
Jeff 2a6b5410e2 Merge branch 'master' of https://github.com/TaylorDale/vue-select into TaylorDale-master 2019-02-09 16:35:34 -08:00
Jeff 8a601c0ac3 Merge branch 'fix_for_issue_671' of https://github.com/totola-clx/vue-select into totola-clx-fix_for_issue_671
# Conflicts:
#	src/components/Select.vue
2019-02-09 15:36:26 -08:00
Jeff f5b2a32227 Merge branch 'MrStobbart-master' 2019-02-09 15:29:00 -08:00
Jeff de0f46485a Merge branch 'master' of https://github.com/MrStobbart/vue-select into MrStobbart-master
# Conflicts:
#	dist/vue-select.js
#	dist/vue-select.js.map
2019-02-09 15:16:23 -08:00
Erik Nygren 85ae9771f0 Make autocomplete value a prop (#730)
What
---
- Turn the autocomplete value on the `input` configurable by exposing it
as a prop.

Why
---
So it can be customised, which can be necessary to help developers show
or hide autocomplete forms as they wish.
2019-02-09 15:05:00 -08:00
Jeff Sagal fdd0d535e1 stop tracking dist files (#747) 2019-02-09 15:00:49 -08:00
Marco 11b7586bc8 Delete key clears vue-select even if clearable is false (#723)
* Update Select.vue

* Update vue-select.js
2019-02-09 14:55:19 -08:00
yoshihiro nomura 96ff76649b show scroll area only when necessary (#744) 2019-02-09 13:53:58 -08:00
Jeff Sagal 51e7a42f3f bump readme (#745) 2019-02-08 11:53:53 -08:00
Marek Meyer 18416ba6e2 Added fix for #732 2019-02-08 14:02:57 +01:00
Marek Meyer 4d78e7a956 Added dist to #703 2019-02-08 13:48:53 +01:00
yamsellem 09165c4a0a Bump dev dependencies (webpack 4, babel 7, etc), replace build files by webpack config, use webpack-dev-server 2019-01-15 19:26:38 +01:00
TaylorDale 435ae6e336 Only emit input on actual input events
Seperated it from the change event, which will still occur upon any change of value (programmatic, user, whathaveyou)
2018-12-10 12:10:50 +10:00
Pyro979 623df819ae Proposed fix for #648 (#664)
The components can't focus and the dropdown can't close when clicking 'Sorry, no matching options' 
https://github.com/sagalbot/vue-select/issues/648
2018-12-05 10:19:30 -08:00
bender-x 582c370ed9 import vSelected from 'vue-select' (#707) 2018-12-05 10:11:14 -08:00
Marek Meyer ba4462a514 Refactoring for pull request #703 2018-11-19 11:59:10 +01:00
Marek Meyer cacacfc5a8 Improved fix for unresponsive vue-select after clicking custom no-options to not reintroduce old IE bug (#703) 2018-11-17 11:49:00 +01:00
Marek Meyer 17c06c08b0 Fixed examples to work in internet explorer (replaces template string syntax) (#703) 2018-11-17 11:49:00 +01:00
Marek Meyer 3d6d097125 Removed useless if statement (#703) 2018-11-17 11:49:00 +01:00
Marek Meyer a039a00c4f Fixed naming of new dev.html vue select field (#703) 2018-11-17 11:49:00 +01:00
Marek Meyer 88ed8d4819 Fixed unresponsive vue-select after clicking custom no-options (#703) 2018-11-17 11:48:57 +01:00
Cristian Totola a5f6add768 Updated with Magnum5234 tip 2018-11-12 17:27:14 +01:00