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
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
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