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

608 Commits

Author SHA1 Message Date
Jeff af424159f7 update docs 2019-11-07 17:15:48 -08:00
Jeff 8cce5e0ea2 add support for composing #900 2019-11-07 15:45:12 -08:00
Jeff bc5d0d9e4a remove unused file 2019-11-07 14:10:10 -08:00
Jeff 2ca2f3094b add selectOnKeyCodes prop, add tests 2019-11-07 14:08:37 -08:00
Jeff 877e6a3c85 reset dev env 2019-11-07 12:40:43 -08:00
Jeff 8d9905c3dc whoops 2019-10-25 18:48:46 -07:00
Jeff 4f409522de add docs 2019-10-25 18:47:33 -07:00
Jeff 74917d2a5a refactor, bit cleaner API 2019-10-25 18:07:45 -07:00
Jeff 7c66f75579 WIP potential spec for #956 2019-10-25 13:59:23 -07:00
Toby Zerner ceb42b4950 Change all keyup events to keydown (#935)
For a few reasons:

- event.preventDefault() for the Enter key (to stop it from submitting
  the form when you select an item) is only effective if it's a keydown
  event.

- Using keydown for up/down navigation means you can hold them down to
  rapidly scroll through a lot of items.

- Keydown events make the UX feel more responsive, and is consistent
  with how most apps/operating systems handle key presses.
2019-10-25 13:12:59 -07:00
Markus aea81a6f5c Allow to disable options with selectable function (#921)
* allow to disable options with selectable function

* add simple spec for new selectable option

* Prevent non-selectable options from being keyboard navigatable
2019-10-25 13:11:50 -07:00
Jeff 17c1d3db97 🚀 v3.2.0 v3.2.0 2019-09-14 14:01:37 -07:00
Jeff Sagal dff8f750a7 Reduce null values (#940)
* support falsey values with reduce

* support null values with reduce
2019-09-14 13:53:16 -07:00
Toby Zerner aecbde8343 Fix dropdown-toggle not being registered correctly as a mousedown target (#934) 2019-09-13 15:31:37 -07:00
Jeff Sagal 305801e37f support falsey values with reduce (#939) 2019-09-13 15:28:33 -07:00
Jeff 79577b4bae fix typo 2019-09-13 13:13:37 -07:00
Jeff 2a0efcf5a5 bump package details 2019-09-13 13:12:56 -07:00
Jeff Sagal 1586dbb908 add tests (#938) 2019-09-13 12:53:13 -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 8293f2bfd7 update netlify redirects 2019-05-02 14:05:01 -07:00
Jeff 051f9e300a v3.1.0 🚀 v3.1.0 2019-05-01 19:37:53 -07:00
Jeff 55ac7ab752 rename open-indicator-icon to open-indicator 2019-05-01 19:34:52 -07:00
Jeff 4920e47c8e ignore netlify folder 2019-05-01 08:36:02 -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 eb2f8f835c - bind scope to open-indicator-icon slot (#860)
- explicitly set v-if on OpenIndicator
- only add searching and searchable state classes if noDrop is false
- only add OpenIndicator to toggleTargets if the $ref exists
2019-04-28 16:09:48 -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 7db24bd615 Update Netlify Config (#857)
* test branch deploys

* maybe setting the base dir will prevent npm install

* bump netlify config

* bump travis config
2019-04-27 15:40:24 -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 04b1bfa8a3 🚀 v3.0.2 v3.0.2 2019-04-17 18:08:44 -05:00
Jeff Sagal a476e9412f Fix #840 (#841) 2019-04-17 18:07:39 -05:00
Jeff 4a05978e06 🚀 v3.0.1 v3.0.1 2019-04-17 13:18:51 -05:00
Jeff Sagal 0ea951456e Update props.md (#839) 2019-04-17 11:09:54 -05:00
Jeff Sagal 90605bd1c5 refactor toggleDropdown for IE11 support (#838) 2019-04-17 10:15:19 -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 v3.0.0 2019-04-14 16:43:07 -05:00
Jeff Sagal bd3ce25db1 Update issue templates 2019-04-14 12:37:30 -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