-
-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(2.0) v-model, slots, perf, etc. (#93)
* feat(2.0) add more slots sections - adjust storybook + app demo + add tests - add back outline for focus in demos * feat(2.0) v-model - use v-model and remove internal searchInput watcher - switch to input event handler for v-model support - address outstanding TODOs for major release breaking changes * remove deprecated events onInputChange, onClick, onBlur, onFocus, onSelected * remove class, name defaults - remove initialValue as now it can be set via v-model - docs(demo) update demo to use v-model * feat(input) 'type' to be configurable via inputProps * feat(autosuggest) shouldRendersuggestions to be more sane/flexible * feat(slots) rename header/footer, add input slots * refactor(computed) move sections and size to computed props. It didn't make much sense to have the computedSections being calculated manually so now it is a computed prop. This helps with perf since computed props have memoization. This also allows to also remove computedSize so we can remove side effects and difficult to understand computations. This also completely removes the watcher, which is something that has needed to happen since I introduced it. * refactor(getSize) rename getSize to computed prop totalResults * refactor(*) Remove dead code identified by test coverage * fix(initialValue) since we removed initialValue, make v-model work. * docs(readme) update readme to have all the new stuff v-model, etc * docs(storybook) update stories to match new feats * docs(readme) beef up the readme advanced example - add demo to show flexibility / no results example
- Loading branch information
1 parent
7e59039
commit 458f3e2
Showing
15 changed files
with
14,566 additions
and
1,197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.