From 624381f0350cc38f11b046afdb23666555e45d9f Mon Sep 17 00:00:00 2001 From: BE-Webdesign Date: Thu, 27 Apr 2017 12:32:13 -0400 Subject: [PATCH 1/5] 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 | 8 +- editor/components/inserter/menu.js | 115 ++++++++++++++++---- editor/components/inserter/style.scss | 4 +- package.json | 4 +- webpack.config.js | 7 +- 7 files changed, 198 insertions(+), 24 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