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

161 Commits

Author SHA1 Message Date
Jeff Sagal 5215edded7 add guide for reduce and taggable (#827) 2019-04-13 11:39:55 -07:00
Jeff Sagal b34bf57861 Remove foo bar (#826)
* remove foo bar examples, move tagging to values

* update tagline, add headers to values

* hunting down more foos
2019-04-13 10:57:56 -07:00
Jeff Sagal 01ecee93d5 WIP: v3 – remove onSearch callback prop (#811)
* remove onSearch callback prop

* update ajax docs

* docs formatting

* remove onSearch callback prop
2019-04-08 11:58:04 -07:00
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 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 503cfb0444 Update sandbox 2019-03-23 14:24:18 -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 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 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 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
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
bender-x 582c370ed9 import vSelected from 'vue-select' (#707) 2018-12-05 10:11:14 -08:00
Myles Cowper-Coles e0584cda96 Adding the 'clearable' prop to the docs (#649)
What:

* Adding clearable to the gitbook Props.md

Why:

* Its a prop on the select component but it wasn't documented correctly
2018-09-17 09:18:13 -07:00
andonovn 8c622b6331 Changed the filterFunction prop to filterBy (#645)
The `filterFunction` prop does not exist in the source code. There is one called `filterBy` and I think it was just renamed at some point and you forgot to reflect it into the docs. That's just a blind guess tho, but I lost some time figuring out why the documented prop is not working, and that's why I decided to fix it. Hopefully others won't lost time on that, too :)
2018-09-15 17:45:32 -07:00
Jeff c948859e13 cleanup 2018-09-05 08:07:21 -07:00
Jeff fc9328d438 fix codepen heights 2018-09-05 08:07:02 -07:00
Jeff b48fd94e4f add codepen theme
fix templating pen height
2018-08-15 17:00:20 -07:00
Jeff b5cd24776f don't wrap the prop headings in code 2018-08-15 11:48:30 -07:00
Jeff 6a6b2359e8 ditch the top nav 2018-08-15 11:48:10 -07:00
Jeff 0564a9277c codepen embed hack 2018-08-15 11:47:53 -07:00
Jeff f41ebdebb2 use local component for compatibility with SSR 2018-08-15 11:47:02 -07:00
Jeff d86610098f might as well just do it all in once commit 🤷‍♂️ 2018-08-14 10:12:30 -07:00
Jeff b0f58d7793 Merge commit 'b92428101f1c6d4aa1fe864a88eb7079c245e009'
# Conflicts:
#	test/unit/specs/Select.spec.js
2018-08-07 19:47:13 -07:00
Denis Golubkov 1ba47798ee Update README.md
Added link to github page
2018-02-09 14:53:58 +03:00
rubjo 5d64b52c9f Match tags :) 2018-02-01 13:12:48 +01:00
Jeff 33b0e7e234 Merge branch 'master' into pr/423
# Conflicts:
#	docs/gitbook/Basics/Options.md
2018-01-28 13:13:39 -08:00
Jeff a861b16553 just redirect on option click 2018-01-22 19:17:38 -08:00
Jeff df0cc83e05 - add vue-select as a dev dependency so that the homepage is always using the latest release
- fix text-align:center issue on homepage
2018-01-22 19:09:43 -08:00
Jeff 9f0021572b fix homepage typo, closes #431 2018-01-22 18:06:33 -08:00
Jeff 3cb698e4c7 bump readme, fix null anchor 2018-01-18 14:23:15 -08:00
Jeff 2cde8951e4 update taggable example 2018-01-18 13:42:49 -08:00
Jeff 6b61d6aacb improve Localization docs 2018-01-18 13:27:53 -08:00
Simone Todaro d1de8da59f Update documentation 2018-01-17 21:03:12 +00:00
Jeff af9d7f7198 remove octicons 2018-01-15 16:14:07 -08:00
Jeff ce6d3ea2cd - dont destroy /dist/ when building homepage
- update public path (should work this time!)
- load octicons from CDN
2018-01-15 15:52:31 -08:00
Jeff b9a477048a update splash page 2018-01-15 15:25:36 -08:00
Jeff c5ef46f463 finalize docs, ready to merge 2018-01-14 23:43:53 -08:00
Jeff 6671b8ead2 - complete docs overhaul 2018-01-14 23:35:29 -08:00
Jeff 7e859dca18 - add include-csv plugin
- adjust default codepen theme
- update github edit base
- doc content overhaul up to localization
2018-01-14 20:12:26 -08:00
Jeff b862761cbf more homepage styling 2018-01-13 17:00:50 -08:00
Jeff 0d62251558 - move gitbook files into their own folder at docs/gitbook
- rebuild homepage at `docs/homepage`
2018-01-13 15:11:17 -08:00
Jeff 022f6e8874 Merge branch 'master' into gitbook
# Conflicts:
#	docs/md/OnChange.md
2018-01-13 11:43:00 -08:00
Sergey Kojin d29f697f4c fix on-change example doc 2017-10-06 20:22:06 +03:00
Sergey Kojin caea72ec22 fix on-change example 2017-10-06 20:20:18 +03:00
Jeff 018f3f7697 - add docs script to serve docs
- WIP updates to docs
- add vuejs theme
2017-10-01 13:22:50 -07:00
Jeff 1c37bd2fa3 start of gitbook implementation 2017-09-03 11:26:03 -07:00
Jeff 0ce4921252 Merge pull request #197 from alsotang/patch-1
Update InstallSnippet.vue
2017-05-16 12:57:06 -07:00
Jeff 916d76a3ef Merge pull request #198 from alsotang/patch-2
Update Examples.vue
2017-05-16 12:56:42 -07:00
alsotang b095dfd22f Update ReactiveOptions.md
typo
2017-04-26 17:16:18 +08:00