Coveo Styleguide is a collection of UI components used in Coveo's Administration Console. All components and their documentation is available here
Available on npm:
npm install coveo-styleguide
Also available on our cdn :
static.cloud.coveo.com/styleguide/v1.x.y/css/CoveoStyleGuide.css
The project is at its early stages, some components can still have lots of breaking changes.
Make sure you have Node JS and NPM installed.
Run npm install to get the required dependencies.
###Dependencies Coveo Styleguide uses jQuery and Underscore for the more complex components. Tested with jQuery 2.1.4 and Underscore 1.8.3
To build the dist folder and export it into the docs folder, simply run gulp docs.
- If necessary install bundler
gem install bundler(sudo may be needed) - Install needed gems
bundle install - From the project root directory, run
bundle exec jekyll servein the command line. - Open
http://localhost:4000/styleguide/in your browser, and voila!
To easily test the result locally without publishing a new package at each build:
- Create a npm link of your local repository.
- In your project (i.e. adminV8), use that link to get the new package
npm link coveo-styleguide - Rebuild your project, you will then see your changes applied.
Once you're proud of your contribution, push your changes to GitHub (in a branch or in a fork to be reviewed by the team). Once merged in master, all you need is to bump the version and re-publish the package on npm:
This requires an npm account with permission to publish to coveo-styleguide. Create an account if you don't have one and ask our team for publish access.
- Install npm-release
npm install -g npm-release npm-release patch
If you prefer simply referencing the generated styleguide in one of your project,
you can run gulp and retrieve the files in the /dist folder.
Coveo Styleguide cherry picks from these awesome UI Libraries
Coveo StyleGuide is distributed under MIT license.