2
0
mirror of https://github.com/tenrok/vue-select.git synced 2026-05-23 03:54:04 +03:00
Commit Graph

102 Commits

Author SHA1 Message Date
Jeff Sagal 546418da1f - fix variable reference (showLoading should have been mutableLoading) in ajax mixin and specs
- add `search` event fired at same time as callback
2017-03-16 15:38:40 -07:00
Jeff Sagal 5470adbbd6 - switch back to transparent border on open dropdown toggle
- pull font-family up to .v-select
- add default box-shadow and background to dropdown menu
2017-03-13 12:46:14 -07:00
Jeff Sagal 69476deec9 - fixes Safari search input appearance
- numerous fixes for consistent browser styling
- fixes/adds default transition for dropdown
- removes debounce as a prop
- removes unused transitions on list items
- removes unnecessary styles
2017-03-12 20:07:35 -07:00
Jeff Sagal 61c6fa2c1c add webkit prefix to appearance 2017-03-11 23:19:06 -08:00
Jeff c151fadae6 Merge pull request #156 from sagalbot/simple-css
Simple css
2017-03-11 16:34:03 -08:00
Jeff Sagal ffbd2238b8 #124
- organize css
- switched 'selected' class back to 'active'
- remove specificity where possible
- add unsearchable and loading example to dev template
2017-03-11 16:27:36 -08:00
Jeff Sagal f67a352481 throw console warning if option[label] does not exist, prevents TypeError from breaking page
closes #155
2017-03-09 12:55:44 -08:00
Jeff Sagal e202474905 WIP
remove clearfix class
clean up spacing in css
add unsearchable class to dropdown
2017-03-09 11:29:08 -08:00
Jeff Sagal ea11bc26d5 WIP #141 #124
- add necessary styles to work without bootstrap
- update bootstrap 4 compatibility
2017-02-21 23:08:37 -08:00
Jeff Sagal c57957c09e - closes #95
- $emit focus and blur when opening and closing the dropdown
- make createOption default syntax consistent
2017-02-02 22:52:56 -08:00
Jeff Sagal 35e1631f35 fix highlighting bg inconsistencies 2017-02-02 22:22:37 -08:00
Jeff Sagal e81582c093 more tweaks to highlighted background color 2017-02-02 22:16:34 -08:00
Jeff Sagal cbeffafb17 - better background color for 'active' dropdown option
- simplify conditional logic in select()
	- less nested conditionals
	- tagging logic moved to createOption method
	- add option:created event
	- pull up push tags logic to it's own method
- improve isOptionSelected so that functionality is exactly the same as v1
	- hitting enter on an already added tag will remove it from the value instead of doing nothing
2017-02-02 16:40:11 -08:00
Jeff Sagal 201e135964 - new dedicated development template
- separate environment for developing docs
- clear out discarded couscous files
- start converting docs markdown
2017-02-01 22:32:06 -08:00
Jeff Sagal b096555b68 component
- switch to `v-if` (#98)
- update array string filter to be case-insensitve

testing
- update karma to hide output from skipped tests
- skip scroll down test until http://github.com/vuejs/vue-loader/issues/434 is resolved

build
- add dev.html to be used as entry point for development
2017-01-24 22:23:15 -08:00
Jeff Sagal f5e3e25dc0 fixes:
- change currentSelection to mutableValue
- change currentOptions to mutableOptions
- change showLoading to mutableLoading
- add default onChange function that emits an input event
	- allows the use of v-model syntax on the component
- since spies on props throw warnings because they are now immutable, refactor tests so spies aren't required

todo:
- update docs
- 1 failing test from inject-loader issue
2016-12-20 10:53:49 -08:00
Rajesh Akkineni 23355ea246 Some more changes.
changed from actualValue to currentSelection
2016-10-22 17:55:17 +05:30
Rajesh Akkineni 52e555e02f Fixed more issues for vue2.0 & updated tests 2016-10-20 11:48:56 +05:30
Rajesh Akkineni ee423394e3 Fixed more issues reported by vue-migration-helper 2016-10-20 09:08:26 +05:30
Rajesh Akkineni d1f3a57fff Upgraded versions to support template compilation rendering 2016-10-19 19:50:15 +05:30
Rajesh Akkineni 2ea337e1dc Mograted to Vue2.0 2016-10-19 18:15:14 +05:30
Dean Tedesco a7d3d8f1bc Changed implementation of non searchable option.
This now uses the same input field but makes it readonly instead of trying to swap it out for a non focusable element in turn causing the following issues:
* styling is different
* element is not focusable
* keyboard support - navigating options is disabled
* cannot tab to component
2016-09-29 11:46:27 +10:00
Jeff Sagal b538fb43f2 don't require onSearch to be true to display spinner 2016-08-15 16:51:40 -07:00
Jeff Sagal afdc4da785 manually track down options when deselecting instead of relying on array.$remove, fixes #74 2016-07-11 22:13:43 -07:00
Jeff Sagal 6eead7a702 resetOnOptionsChange true by default, remove redundant test 2016-07-11 16:29:18 -07:00
Jeff Sagal 7c96fb5813 remove stray coverage file 2016-07-11 16:21:35 -07:00
Jeff Sagal 005f941834 - create transpiled umd module
- breaking changes for requireJS
	- /umd/vue-select moved to /dist/vue-select
2016-07-04 13:00:35 -07:00
Blaine Ehrhart 361aba64d9 Added resetOnOptionsChange parameter to allow changing the options of the select without resetting the value. This is extra useful for ajax request, especially slow ajax requests 2016-06-20 16:17:00 -07:00
Blaine Ehrhart 46119f84a9 Fixing a scrollbar bug when the list is loading
The negative text indent will cause the scrollbars to go berserk as the loading text gets rotated around the view port. Overflow hidden insures the text outside the spinner is not displayed.
2016-06-17 10:31:57 -07:00
Jeff Sagal 0a15c00b0c fix #54 and add regression test, use 2 space indents 2016-06-16 15:00:08 -07:00
Jeff Sagal fe5372fb10 Merge branch 'master' into umd
# Conflicts:
#	src/components/Select.vue
2016-06-15 21:33:16 -07:00
Jeff Sagal bfae6b3068 add ajax to docs 2016-06-15 20:34:38 -07:00
Jeff Sagal 480bfc1c5f ajax mixin 100% coverage, ready for production 2016-06-15 20:34:24 -07:00
Jeff Sagal 2653e5ee0a move demo related files to /docs/ add gh-pages module 2016-06-10 14:35:14 -07:00
Jeff Sagal 43aa13c5d9 fine tune build, add bower.json 2016-06-10 11:24:05 -07:00
Sven Luijten 89396709ad change install snippet on GitHub pages 2016-06-05 19:30:16 +02:00
Jeff Sagal 699e5de0d7 Merge branch 'master' into mixins
# Conflicts:
#	src/components/Select.vue
#	src/mixins/pointerScroll.js
2016-06-03 11:00:25 -07:00
Jeff Sagal 49be0a1694 use module.exports for mixins 2016-06-02 10:55:49 -07:00
Jeff Sagal 6f8e28dfe0 fix function comment 2016-06-01 19:10:16 -07:00
Jeff Sagal 3344c19e3c initial idea 2016-06-01 10:28:31 -07:00
Jeff Sagal f8e549306a use keydown for moving pointer, resolves #45 2016-05-31 18:35:01 -07:00
Jeff Sagal 3c668fd45e separate typeahead pointer logic into mixin 2016-05-31 17:11:13 -07:00
Jeff Sagal 737ab8d1fc separate logic into mixin, complete test coverage with mocks and spies 2016-05-31 13:54:36 -07:00
Jeff Sagal cf87f838fd remove wrapper, start add tests 2016-05-31 10:18:55 -07:00
Jeff Sagal eb003ef987 working concept 2016-05-30 14:51:05 -07:00
Jeff Sagal 7ba45e9d10 minimal progress 2016-05-30 09:56:42 -07:00
Jeff Sagal 1607c6eddb remove getOptionValue() 2016-05-29 20:25:04 -07:00
Jeff Sagal 2888ab2b3f refactor static assets, css to scss 2016-05-29 19:05:25 -07:00
Jeff Sagal 560a42bb67 Update deps, organize static assets, ignore /dist 2016-05-29 13:11:38 -07:00
Jeff Sagal 75c9032d70 add badges, update verbiage, run build for demo 2016-05-28 14:34:50 -07:00