From d073537727ebf12d3b4534b63296b34eacdc46c9 Mon Sep 17 00:00:00 2001 From: rikki_iki Date: Fri, 25 Nov 2016 10:52:15 +1100 Subject: [PATCH] Add search with autocomplete --- README.md | 2 +- composer.json | 2 +- index.hbs | 14 +++++ kss-assets/jquery.easy-autocomplete.min.js | 10 ++++ kss-assets/kss.scss | 62 ++++++++++++++++++++++ kss-assets/search.js | 39 ++++++++++++++ package.json | 2 +- 7 files changed, 128 insertions(+), 3 deletions(-) create mode 100755 kss-assets/jquery.easy-autocomplete.min.js create mode 100644 kss-assets/search.js diff --git a/README.md b/README.md index b7921cc..d05a4a8 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ **Requires KKS-node 3.0.x** -This is a **builder** for [kss-node](https://github.com/kss-node/kss-node) living styleguide. It feature a toggle-able sidebar menu so you can choose to see the styleguide at full browser width. +This is a **builder** for [kss-node](https://github.com/kss-node/kss-node) living styleguide. It feature a toggle-able sidebar menu so you can choose to see the styleguide at full browser width. It also has a search function to easily find your component. ## How to apply this builder diff --git a/composer.json b/composer.json index 9972234..05114e2 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,7 @@ { "name": "previousnext/kss-node-offscreen-template", "type": "library", - "description": "A kss-node handlebars builder with offscreen menu.", + "description": "A kss-node handlebars builder with offscreen menu and search.", "homepage": "https://github.com/previousnext/kss-node-offscreen-template", "support": { "issues": "https://github.com/previousnext/kss-node-offscreen-template", diff --git a/index.hbs b/index.hbs index e5a7166..45cc4ac 100644 --- a/index.hbs +++ b/index.hbs @@ -156,6 +156,17 @@ {{/each}} {{/if}} + + + + @@ -163,7 +174,9 @@ + +