From c6556857a73e73490ea1d60f993f0d29d26bffb6 Mon Sep 17 00:00:00 2001 From: BE-Webdesign Date: Thu, 27 Apr 2017 12:32:13 -0400 Subject: [PATCH] Fixes #515. Add keyboard navigation to the inserter. This introduces RxJS as a library, which could be very useful for other aspects of this project. Accessibility review would be awesome. --- editor/components/button/index.js | 1 + editor/components/inserter/helpers/index.js | 83 ++++++++++++++ editor/components/inserter/index.js | 13 ++- editor/components/inserter/menu.js | 116 ++++++++++++++++---- editor/components/inserter/style.scss | 7 +- package.json | 4 +- webpack.config.js | 7 +- 7 files changed, 205 insertions(+), 26 deletions(-) create mode 100644 editor/components/inserter/helpers/index.js diff --git a/editor/components/button/index.js b/editor/components/button/index.js index 4f56ecd2b7e46d..34342d0909d631 100644 --- a/editor/components/button/index.js +++ b/editor/components/button/index.js @@ -16,6 +16,7 @@ function Button( { isPrimary, isLarge, isToggled, className, ...additionalProps