# koiki-ui

> Unit of Koiki React Components

Latest version **0.0.79** (published 2017-12-20) · 0 weekly downloads

## Install

```sh
npm install koiki-ui
pnpm add koiki-ui
yarn add koiki-ui
bun add koiki-ui
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.79 |
| Published | 2017-12-20 |
| First published | 2017-01-14 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 12 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | sideroad |

## Links

- npm: https://www.npmjs.com/package/koiki-ui
- npm.io page: https://npm.io/package/koiki-ui

## Dependencies (12)

- [react](https://npm.io/package/react.md) ^15.4.2
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [moment](https://npm.io/package/moment.md) ^2.17.1
- [pixi.js](https://npm.io/package/pixi.js.md) ^4.6.2
- [react-dom](https://npm.io/package/react-dom.md) ^15.4.2
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.0
- [react-tether](https://npm.io/package/react-tether.md) ^0.5.5
- [react-swipeable](https://npm.io/package/react-swipeable.md) ^3.8.0
- [react-element-pan](https://npm.io/package/react-element-pan.md) ^1.0.9
- [@pixi/filter-shockwave](https://npm.io/package/@pixi/filter-shockwave.md) ^2.4.0
- [react-visibility-sensor](https://npm.io/package/react-visibility-sensor.md) ^3.6.2
- [babel-plugin-react-css-modules](https://npm.io/package/babel-plugin-react-css-modules.md) ^2.1.4

## Recent versions

- 0.0.79 (latest) — 2017-12-20
- 0.0.78 — 2017-12-20
- 0.0.77 — 2017-12-04
- 0.0.76 — 2017-12-04
- 0.0.75 — 2017-12-04
- 0.0.74 — 2017-12-04
- 0.0.73 — 2017-12-03
- 0.0.72 — 2017-12-03
- 0.0.71 — 2017-12-03
- 0.0.70 — 2017-12-03
- 0.0.69 — 2017-11-26
- 0.0.68 — 2017-11-25
- 0.0.67 — 2017-11-25
- 0.0.66 — 2017-11-25
- 0.0.65 — 2017-10-28
- … 59 more at https://npm.io/package/koiki-ui/versions

## README

# Koiki UI

Unit of Koiki React Components

## Install

```
npm i -S koiki-ui
```

## Usage

```
import { Button, Input, InputtableButton } from 'koiki-ui';

const SampleComponent = () =>
  <div>
    <Button text="Search" />
  </div>;

```

See below to know usage
https://sideroad.github.io/koiki-ui/

### Styling

#### Load CSS file
Copy CSS to put own publich directory from `node_modules/koiki-ui/build/styles.css`

#### Use css-loader
```
import 'koiki-ui/build/styles.css'
```

#### Customize CSS with append className
```
...
<Button
  className="foobar"
/>
```

#### Customize CSS with using css-loader
```
import faStyles from 'your_own_less';
import buttonStyles from 'your_own_less';
...
<Button
  styles={{
    fa: faStyles,
    button: customizedStyles
  }}
/>
```

## Change Log

#### 0.0.49
Change styles structure to be one more deeper.
This change can be handle children styles

#### 0.0.50
Move fa property to under styles object

## Contribution

### Components
Every components have `styles` props to be able to customize style of component.
Base styles should be put under `src/less` directory and load styles as `defaultProps`

### Storybook
Component storybooks are under `stories` directory.
stories will be use as snapshot testing with using storyshots

---
_Source: https://npm.io/package/koiki-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
