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

160 Commits

Author SHA1 Message Date
Jeff Sagal 321813162c refactor: don't use the sandbox in dev (#1168)
* refactor: don't use the sandbox

* refactor: update docs package.json

 https://github.com/sagalbot/vue-select/issues/1161#issuecomment-615359135
2020-04-18 14:24:57 -07:00
Jeff Sagal 2eb39087fd feat: add autoscroll boolean prop (#1160)
* feat: add autoscroll boolean prop

Fixes #449

* refactor: update autoscroll implementation

Closes #1028
Closes #910

* refactor: only call maybeAdjustScroll in the watcher

* docs: upgrade vuepress
2020-04-12 15:44:52 -07:00
Jeff Sagal 87a7b18e2a chore: add release date shield (#1125) 2020-03-20 09:50:11 -07:00
Jeff Sagal 0bad820f91 docs: add sponsors and contributors pages (#1108) 2020-03-15 12:02:01 -07:00
Jeff Sagal 5085fecd43 ci: build docs on test step (#1105)
docs(infinite-scroll): fix SSR
docs(pagination): bind a boolean not a string
ci: build docs on test workflow
ci: install docs deps in same step
2020-03-13 12:02:23 -07:00
Jeff Sagal e9ea2d99f3 docs(filtering): Add Filtering Docs (#1017)
docs(infinite-scroll): improve example (#1017)
2020-03-13 09:19:28 -07:00
Jeff Sagal e6d0da6d52 feat: add open & close events (#1101) 2020-03-12 20:46:08 -07:00
Jeff Sagal a820f06d61 docs: overhaul slot docs (#1099)
* docs: sort slots alphabetically
2020-03-11 09:16:07 -07:00
Jeff Sagal b2f388bc89 feat: header, footer, list-header, list-footer slots (#1085) 2020-03-09 21:56:37 -07:00
Rafał Gałka f2479434e4 fix: memory leak when positioning with popper (#1094)
* fix: memory leak when positioning with popper
* docs: update calculate position docs

Co-authored-by: Jeff <sagalbot@gmail.com>
2020-03-09 19:08:57 -07:00
Jérémie BORDIER fe51fec6b8 feat: calculated positioning (#1049)
Adds `appendToBody` and `calculatePosition` props.

https://vue-select.org/guide/positioning.html

Co-authored-by: Jeff <sagalbot@gmail.com>
2020-03-08 13:31:08 -07:00
Jeff Sagal be44b29ce2 feat: scope the no-options slot (#1083)
Resolves #1071, Resolves #1081

https://vue-select.org/guide/slots.html#improving-the-default-no-options-text
2020-03-05 08:35:38 -08:00
Jeff Sagal 207c6d1cb6 feat(clearsearchonblur): add clearSearchOnBlur prop (#1077)
Add docs, update tests from #1060.
2020-03-01 16:31:21 -08:00
preterer 02ea82116c Add no-options slot to docs (#1063)
Closes #1058
2020-02-15 11:23:35 -08:00
Jeff Sagal dd274be0e1 Update accessibility.md 2020-02-06 21:01:45 -08:00
andreas d6f0557449 Add push-tags prop to example snippet (#1024) 2019-12-09 21:33:08 -08:00
Jeff Sagal 3f5872c3fc docs(resetOnOptionsChange): add versioning info (#1020)
* docs(resetOnOptionsChange): update documentation

Related #1015

* docs(resetOnOptionsChange): add versioning info
2019-12-02 13:30:52 -08:00
Jeff Sagal 582a0f0fac docs(resetOnOptionsChange): update documentation (#1019)
Related #1015
2019-12-02 13:21:02 -08:00
Jeff Sagal 619771d0f0 create selectable docs (#996) 2019-11-14 12:18:40 -08:00
Jeff 38f291ab99 @search instead of on-search 2019-11-08 10:56:46 -08:00
Jeff Sagal 92658a31ad Merge pull request #971 from sagalbot/fix-956-event-delegation
WIP Event delegation for #956
2019-11-08 10:51:22 -08:00
Jeff 1e6b0e98d0 add keycodes note 2019-11-08 10:50:36 -08:00
Jeff a87cb3317e complete documentation 2019-11-08 10:43:36 -08:00
Jeff Sagal 0a589704f8 add v-for docs (#982) 2019-11-07 18:15:41 -08:00
Jeff af424159f7 update docs 2019-11-07 17:15:48 -08:00
Jeff c6c8281f6f add dropdown transition docs 2019-10-26 13:58:14 -07:00
Reed Jones 1aef52ade4 Update slots.md (#959)
remove deprecated slot="" scope-slot="" syntax
2019-10-26 11:43:57 -07:00
Jeff 4f409522de add docs 2019-10-25 18:47:33 -07:00
Markus ebcdcc5c62 Make sure selected value is an option after option changed and react to value property changes even if tracking value internally (#914)
* make sure selected tracked value is an option if possible

Before this case did not work correctly:

- Select was rendered with *no* options, but *with* a saved value
- Options were fetched by ajax and options prop was updated
- Reduce function if passed

What happens without this commit is that the selected tracked value
simply was the raw reduced value (previously saved). Which means that
displaying a label for example does not work if the label comes from the
unreduced option.

This commit makes sure that the internal tracked value is checked
against all options not only once the select is created but additionally
when options change.

* remove useless keys

- first key was always undefined
- second key was always the index which is not usefull at all since it
  changes based on the order

* add test for setting value after option changed

* correctly react to value property changes if tracking internally

fixes sagalbot#855, sagalbot#842

* add getOptionKey prop

* yarn upgrade doc

* add getOptionKey api doc and fix links

* yarn upgrade

* do not use key on slot

* fix label spec
2019-09-13 12:18:04 -07:00
Jeff Sagal 8ef15a12d3 fix code snippet paths (#879) 2019-05-15 17:59:47 -07:00
Jeff Sagal 3928b015a9 Separate documentation dependencies (#874)
* separate documentation dependencies

* bump deps

* update netlify config and package scripts

* bump netlify

* add cross-env

* fix publish path
2019-05-05 16:51:23 -07:00
Jeff Sagal 7b70b966ff add required validation doc (#868) 2019-05-03 12:12:43 -07:00
Jeff Sagal 5492ee1126 add accessibility documentation (#867) 2019-04-29 22:08:56 -07:00
Jeff Sagal ab99763981 go ahead and SSR, but don't put a button inside a button (#864) 2019-04-29 12:48:49 -07:00
Jeff Sagal 43cd6d34c3 only render functional components in the client (#863) 2019-04-29 11:31:54 -07:00
Jeff Sagal 8c68718c84 remove global component references from docs (#862) 2019-04-28 21:17:39 -07:00
Jeff Sagal 7d72db3134 add badges to components to indicate version support (#859) 2019-04-28 14:45:14 -07:00
Jeff Sagal efa64cb199 remove any existing service workers (#858) 2019-04-27 16:27:43 -07:00
Jeff Sagal efc5093207 Add API for overwriting default components (#850)
* implement API for overwriting child components

* add test coverage

* update documentation for Components & Styling

* update docs

* refactor API, update docs

* remove the service worker

* fix tests
2019-04-25 15:03:43 -07:00
Jeff d522acacfd bump meta description 2019-04-18 16:13:43 -05:00
Jeff Sagal 39fb62b181 Vuepress 1.0 (#844)
* bump vuepress

* extend default-theme, implement codefund

* explicitly install alpha plugins

* update config
2019-04-18 13:17:16 -05:00
Jeff Sagal 83e59241fe Vuepress 1.0 (#843)
* bump vuepress

* extend default-theme, implement codefund
2019-04-18 11:49:01 -05:00
Jeff Sagal 0ea951456e Update props.md (#839) 2019-04-17 11:09:54 -05:00
Jeff Sagal 7a93779ddf closes #729 #620 #571 #240 (#835) 2019-04-15 16:10:56 -05:00
Jeff Sagal 5e0ad1982f bump upgrade guide (#833) 2019-04-14 19:29:28 -07:00
Jeff Sagal 12665a594b bump readmes (#831) 2019-04-14 16:48:16 -07:00
Jeff 3056f477c2 🚀 v3.0.0 2019-04-14 16:43:07 -05:00
Jeff Sagal 19a865667c Update readme (#830)
* bump readme

* bump

* bump

* wip

* wip

* wip

* wip

* wip

* wip

* wip
2019-04-14 10:08:55 -07:00
Jeff Sagal b127675cb9 add upgrade guide (#829) 2019-04-14 10:08:37 -07:00
Jeff Sagal 5215edded7 add guide for reduce and taggable (#827) 2019-04-13 11:39:55 -07:00