0.1.8 • Published 5 years ago

bilo-ui v0.1.8

Weekly downloads
25
License
ISC
Repository
github
Last release
5 years ago

bilo-ui

A React component library for frontend web dev.

Live Demo

Get started

  • Installation
npm install bilo-ui --save-dev
  • Example Usage:
import { Button, Card, If } from 'bilo-ui'

export const MyComponent = (props) => (
    <Card className='padded'>
        <If truthy={true}>
            <Button className='primary' onClick={
                    () => alert('bilo-ui button clicked')
            }>
                Show dialog
            </Button>
        </If>
        <If truthy={false}>
            <Button className='warning' onClick={
                () => alert('bilo-ui button clicked')
            }>
                Button should be invisible
            </Button>
        </If>
    </Card>
)

Setting up

  • git clone http://github.com/bilo-io/bilo-ui
  • cd ./bilo-ui
  • yarn
  • yarn dev
  • yarn dev:docs

dev:docs recompiles the preview of the package, run on http://localhost:3030 dev recompiles the package bilo-ui after each edit, useful when linking this package as a dependency locally

Symlinking

  • yarn link in this repository
  • yarn dev

NOTE: To link to your the local copy of bilo-ui, run yarn link bilo-ui in your project

Building & Releasing

  • yarn build
  • yarn build:docs
  • yarn bump
  • yarn deploy

yarn build:all builds both the preview (docs) and the npm package

TODO: semver bumping for release process

0.1.8

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.3

6 years ago

0.1.1

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.1

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago