Граф коммитов

154 Коммитов

Автор SHA1 Сообщение Дата
Kristján Oddsson 8fdbed65eb
Merge pull request #13 from github/publish-to-gpr-as-well
Publish to GPR as a postpublish step
2019-08-30 11:40:55 +01:00
Kristján Oddsson 1f79afd57d
publish to GPR as a postpublish step 2019-08-30 11:15:53 +01:00
Kristján Oddsson 4d5b8159c6
Merge pull request #11 from github/update-deps
Update dependencies
2019-08-29 16:05:23 +01:00
Kristján Oddsson f12a2243fb
run `npm update` 2019-08-29 13:43:55 +01:00
Kristján Oddsson 62b59e8cf7
manually update npm dependencies 2019-08-23 12:26:58 +01:00
Kristján Oddsson dcf6f23e5e
run `npm update` 2019-08-23 12:24:55 +01:00
Mu-An Chiou 6ce287a0f1
Update readme to include #8 2019-07-16 11:52:44 -04:00
Mu-An Chiou 9327487465
0.3.2 2019-07-16 11:50:42 -04:00
Mu-An Chiou 1c2ad95f9d
Update deps with npm audit fix 2019-07-16 11:45:12 -04:00
Mu-An Chiou f17c37dedc
Add test for scrolling 2019-07-16 11:44:15 -04:00
Mu-An 慕安 2e992feac0
Merge pull request #10 from bnjamin/feature/auto-scroll
Feature/auto scroll
2019-07-16 11:43:27 -04:00
Benjamin French 30e406f89a Use github lint and fix the errors reported when linting 2019-06-27 13:07:40 +02:00
Benjamin French c7f4f78522 - Added rollup packages.
- Use rollup to bundle a module.
2019-06-27 12:21:28 +02:00
Benjamin French 5c0b27bfec Copied the scroll.js file from github/auto-complete-element.
Scrolls to the target list element when navigating.
2019-06-27 10:01:16 +02:00
Benjamin French f2e3546011 Moved the js files into a src directory. 2019-06-27 09:38:10 +02:00
Mu-An Chiou e48a3c0bc3
0.3.1 2019-06-07 14:45:11 -04:00
David Graham f0d1d62023
Merge pull request #9 from github/clear-all-selected
Clear all selected items
2019-06-07 12:44:49 -06:00
David Graham 3c65963f85
Clear all selected items
Fixes cases where more than one item is marked as selected. This
state shouldn't be possible inside combobox-nav but might happen in the
host application.

Co-authored-by: Mu-An Chiou <me@muanchiou.com>
2019-06-07 12:31:11 -06:00
Keith Cirkel b2933b72a0
0.3.0 2019-04-16 13:34:53 +01:00
Keith Cirkel 9b97467af3
Merge pull request #8 from github/feat-export-clearselection
feat: export clearSelection
2019-04-16 13:34:28 +01:00
Kristján Oddsson 4542c6b099 fix: clearSelection flow definition
Co-Authored-By: keithamus <keithamus@users.noreply.github.com>
2019-04-16 10:27:23 +01:00
Keith Cirkel efb8941bd9
feat: export clearSelection
Sometimes it is useful to clear a selection for various events (like if the list contents change).

This PR exports the `clearSelection` function so we can use it upstream.
2019-04-15 17:17:36 +01:00
Mu-An Chiou 239e191f1b
0.2.3 2019-03-01 13:32:59 -05:00
慕安 d8672256d5
Merge pull request #7 from github/clicky
Fix a[href] as option not navigating
2019-03-01 13:32:37 -05:00
Mu-An Chiou 0f9f915a22
Add a link option 2019-02-28 17:46:22 -05:00
Mu-An Chiou c4924b149e
Allow default behaivor onclick to go through
If there shouldn't be a native behaivor then the markup
should reflect that.
Clicking on commit triggered by keydown so the default behaivor
of an element would be triggered (link/submit).
2019-02-28 17:45:52 -05:00
Mu-An Chiou f5911ef1fd
Ensure event is cancelable like in real life
Co-authored-by: David Graham <dgraham@github.com>
2019-02-28 17:34:55 -05:00
Mu-An Chiou acb509f00e
Add test for link clicks through 2019-02-28 16:30:42 -05:00
David Graham 1f287ba4a1
Merge pull request #6 from github/babel
Update build toolchain to Babel 7.0
2019-01-15 15:24:26 -07:00
David Graham d772d6b6ea
Update build toolchain to Babel 7.0
Rollup is useful for bundling several source files together, but for
single file builds we can just use Babel directly and avoid an extra
dependency.
2019-01-15 14:13:18 -07:00
Mu-An Chiou eff18eafad
0.2.2 2019-01-14 17:35:17 -05:00
慕安 2965e6856b
Merge pull request #5 from github/fix-disable-click
Disabled option behavior fix
2019-01-14 17:30:21 -05:00
Mu-An Chiou aef3213e99
Prevent commit if item is disabled
preventDefault if selection exist but is disabled like how button[disabled] would behave
2019-01-11 16:33:41 -05:00
Mu-An Chiou bd787e00a9
Add disable item to demo 2019-01-11 16:32:48 -05:00
Mu-An Chiou c906521417
Add test for clicking on disabled item 2019-01-11 16:25:44 -05:00
Mu-An Chiou 235b3ec945
0.2.1 2019-01-07 11:14:25 -05:00
邱慕安 87e64c2cd0
Merge pull request #4 from github/disabled
Prevent disabled items from being committed
2019-01-07 11:13:40 -05:00
Mu-An Chiou daaa38ee48
Prevent disabled item from being committed 2019-01-04 17:44:53 -05:00
Mu-An Chiou 91b04e26c7
Add test to ensure disabled item does not get committed 2019-01-04 17:43:24 -05:00
Mu-An ✌️ Chiou 6306e95077
0.2.0 2018-12-20 15:08:43 -05:00
Mu-An Chiou fa64025955
Merge pull request #2 from github/composition
Fix keyboard event handling during composition
2018-12-20 15:07:37 -05:00
Mu-An ✌️ Chiou 895f19bf5a
Use boolean instead of map because composition always ends when switching inputs 2018-12-20 14:52:59 -05:00
Mu-An Chiou 17e8281b08
Merge pull request #3 from github/fix-example
Fix unpkg url in example
2018-12-19 09:21:06 -05:00
Philip Roberts 0d93550a1f Fix unpkg url in example 2018-12-19 09:54:54 +01:00
Mu-An ✌️ Chiou 3df86d68bd
Support escape to clear selection and only prevent default if committed 2018-12-18 14:53:49 -05:00
Mu-An ✌️ Chiou b4450a8a54
Add wrapping form to test default prevention 2018-12-18 14:53:29 -05:00
Mu-An ✌️ Chiou 0e93b7a02d
Clear selection and return keydown event during composition
keydown and composition events get triggered in different orders across browsers
so we can't rely on the 'mid composition' state and would need to clear
selection to prevent triggering activation unintentionally
2018-12-18 14:36:04 -05:00
Mu-An ✌️ Chiou 6128691ef5
Set env to osx to test ctrl np shortcut 2018-11-08 08:21:49 -05:00
Mu-An ✌️ Chiou 6fe70aa95e
Add travis config 2018-11-07 22:27:56 -05:00
Mu-An Chiou ea307e2287
Merge pull request #1 from github/init
Extract comobobox-nav (open source)
2018-11-07 12:25:43 -05:00