@nk11/core-components

contains a set of basic web components

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
01May 31, 2018Jan 30, 2018Minified + gzip package size for @nk11/core-components in KB

Readme

keyboard-interactions

Wrapper around keyboard inputs
Build Status [Project License][license-url]
Grade Badge Coverage Badge
Dependencies Dev Dependencies

Project Overview

This library contains a simple wrapper for different input methods. By introducing an 'action' to bind multiple input combos plus their handlers with it a better customisation by the user may be achieved.

Features

  • Better Usability by customizing Keyboard Inputs

TODO

  • have a production built that optimises bundle size

    • this is only for testing as the comonents should probably not be loaded statically
    • find out about redundant jquery and lodash imports for keyboard and core-components
    • what to do with the font awesome icon imports and fonts..
      • removing fonts statically might be bad for older browsers
      • loading fonts inline(one big chunk) might also be bad for mobile performance
  • loaders

    • how to define multiple loaders for *.css with separate behaviour
      • like node_modules/.css and src/.css
      • global includes and local includes for shadow dom
    • the current implementation is working but rather less fancy
  • a mapping component that defines mappings from device buttons or events to actions, compare both approaches

  • dropped the icons for now as they don't align well with shadowDom and webpack

[license-url]:

Build Status

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.