npm package: @miovision/design-system-react
Description: React Component Library for the Miovision Design System
Author: Miovision
Latest version: 1.13.3

# Miovision Design System React Component Library

[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Storybook](https://github.com/storybooks/brand/blob/master/badge/badge-storybook.svg)](link to site)

## Getting started

```bash
# Add the library to your project

# Using npm
npm i -S @miovision/design-system @miovision/design-system-react

# Using yarn
yarn add @miovision/design-system @miovision/design-system-react
```

## Usage

```jsx harmony
import ListAccordion from "@miovision/design-system-react/ListAccordion"

<ListAccordion title="Selected studies" dataset={dataset} />
```

## Contributing

The main purpose of this repository is to continue to evolve the Miovision Design System, making it faster and easier to use.

### IDE / Editor Setup

#### Prettier
We are using **[Prettier](https://prettier.io/)** for automatic code style formatting. Follow the guide below for proper IDE / Editor integration:

**[Prettier Editor Integration](https://prettier.io/docs/en/editors.html)**

P.S for intelliJ users make sure you have the **[File Watchers](https://plugins.jetbrains.com/plugin/7177-file-watchers)** plugin installed.

### Git Commit Guidelines
We have very precise rules over how our git commit messages can be formatted. This leads to more readable messages that are easy to follow when looking through the project history. But also, we use the git commit messages to generate the change log.

The commit message formatting can be added using a typical git workflow or through the use of a CLI wizard **[Commitizen](https://github.com/commitizen/cz-cli)**. To use the wizard, run ```npm run cm``` in your terminal after staging your changes in git.


### Installing Dependencies

**[Git](https://git-scm.com/)**: The **[Github Guide to Installing Git](https://help.github.com/articles/set-up-git/)** is a good source of information.

**[Node.js v8.x (LTS)](https://nodejs.org/en/)**: We use Node to generate the documentation, run a development web server, run tests, and generate distributable files.

We recommend using **[nvm](https://github.com/creationix/nvm)** (or **[nvm-windows](https://github.com/coreybutler/nvm-windows)**) to manage and install Node.js, which makes it easy to change the version of Node.js per project.

**[The commitizen command line utility](https://github.com/commitizen/cz-cli)**: ```npm install commitizen -g```

### Development Setup

```bash
# Clone your Github repository:
git clone https://github.com/Miovision/design-system.git

# Go to the Design System directory:
cd design-system

# Install JavaScript dependencies:
npm install

# Build Design System:
npm start
```