cohesive-ui
A design system implemented using TypeScript and React, used throughout our products here at [DoseMe](https://doseme-rx.com).
Last updated 7 days ago by doseme .
MIT · Original npm · Tarball · package.json
$ cnpm install cohesive-ui 
SYNC missed versions from official npm registry.

Cohesive UI

A design system implemented using TypeScript and React, used throughout our products here at DoseMe.

View it live in Storybook here.

Usage

We have some peer dependencies:

yarn add @fortawesome/fontawesome-svg-core @fortawesome/free-solid-svg-icons @fortawesome/react-fontawesome moment react react-dom classnames

You can use the library like this:

// components
import { SmartList } from 'cohesive-ui'

// styles
import 'cohesive-ui/style/colors.scss'

You need to import the stylesheet too. global.css contains useful utilities, like d-flex and p-5, m-3, w-100 helpers (taken from Bootstrap 4).

// Global stylesheet
import 'cohesive-ui/style/global.css';
import 'cohesive-ui/dist/cohesive-ui.esm.css';

// Optionally, get our colors:
@import 'cohesive-ui/style/colors.scss';

Development

With Storybook

This repository has storybook set up and can be viewed using yarn storybook.

Alongside your project

The easiest way to work on this library alongside developing and inspecting the changes in your-project is to remove the cohesive-ui/ directory from your-project/node_modules after installing, and creating a symlink to the dist folder of your locally cloned cohesive-ui project (run yarn build if the dist folder does not exist).

To see changes made to cohesive-ui reflected in your-project in this way, you will need to run yarn build after every change to the UI (although is a major improvement from releasing minor versions just to be able to inspect changes). Developing new components with Storybook primarily is best practice, however.

Current Tags

  • 2.0.4                                ...           latest (7 days ago)

97 Versions

  • 2.0.4                                ...           7 days ago
  • 2.0.3                                ...           8 days ago
  • 2.0.2                                ...           12 days ago
  • 2.0.1                                ...           12 days ago
  • 2.0.0                                ...           12 days ago
  • 1.4.0                                ...           21 days ago
  • 1.3.0                                ...           a month ago
  • 1.2.0                                ...           a month ago
  • 1.1.2                                ...           a month ago
  • 1.1.1                                ...           a month ago
  • 1.0.8                                ...           a month ago
  • 1.0.7                                ...           a month ago
  • 1.0.6                                ...           a month ago
  • 1.0.5                                ...           a month ago
  • 1.0.4                                ...           a month ago
  • 1.0.3                                ...           a month ago
  • 1.0.2                                ...           a month ago
  • 1.0.1                                ...           a month ago
  • 1.0.0                                ...           a month ago
  • 0.8.10                                ...           a month ago
  • 0.8.9                                ...           a month ago
  • 0.8.8                                ...           a month ago
  • 0.8.6                                ...           a month ago
  • 0.8.5                                ...           a month ago
  • 0.8.4                                ...           a month ago
  • 0.8.3                                ...           a month ago
  • 0.8.2                                ...           a month ago
  • 0.8.1                                ...           a month ago
  • 0.8.0                                ...           a month ago
  • 0.7.16                                ...           2 months ago
  • 0.7.15                                ...           2 months ago
  • 0.7.14                                ...           2 months ago
  • 0.7.13                                ...           2 months ago
  • 0.7.12                                ...           2 months ago
  • 0.7.11                                ...           3 months ago
  • 0.7.10                                ...           3 months ago
  • 0.7.9                                ...           3 months ago
  • 0.7.8                                ...           3 months ago
  • 0.7.7                                ...           3 months ago
  • 0.7.6                                ...           3 months ago
  • 0.7.5                                ...           3 months ago
  • 0.7.4                                ...           4 months ago
  • 0.7.3                                ...           4 months ago
  • 0.7.2                                ...           4 months ago
  • 0.7.1                                ...           4 months ago
  • 0.7.0                                ...           4 months ago
  • 0.6.4                                ...           4 months ago
  • 0.6.3                                ...           4 months ago
  • 0.6.2                                ...           4 months ago
  • 0.6.1                                ...           4 months ago
  • 0.6.0                                ...           4 months ago
  • 0.5.2                                ...           5 months ago
  • 0.5.1                                ...           5 months ago
  • 0.5.0                                ...           5 months ago
  • 0.4.24                                ...           5 months ago
  • 0.4.23                                ...           5 months ago
  • 0.4.22                                ...           5 months ago
  • 0.4.21                                ...           5 months ago
  • 0.4.20                                ...           5 months ago
  • 0.4.19                                ...           5 months ago
  • 0.4.18                                ...           5 months ago
  • 0.4.17                                ...           5 months ago
  • 0.4.16                                ...           5 months ago
  • 0.4.15                                ...           5 months ago
  • 0.4.14                                ...           5 months ago
  • 0.4.13                                ...           6 months ago
  • 0.4.12                                ...           6 months ago
  • 0.4.11                                ...           6 months ago
  • 0.4.10                                ...           6 months ago
  • 0.4.9                                ...           6 months ago
  • 0.4.8                                ...           6 months ago
  • 0.4.7                                ...           6 months ago
  • 0.4.6                                ...           6 months ago
  • 0.4.5                                ...           6 months ago
  • 0.4.4                                ...           6 months ago
  • 0.4.3                                ...           6 months ago
  • 0.4.2                                ...           6 months ago
  • 0.4.1                                ...           6 months ago
  • 0.4.0                                ...           6 months ago
  • 0.3.9                                ...           6 months ago
  • 0.3.8                                ...           6 months ago
  • 0.3.7                                ...           6 months ago
  • 0.3.6                                ...           6 months ago
  • 0.3.5                                ...           6 months ago
  • 0.3.4                                ...           6 months ago
  • 0.3.3                                ...           6 months ago
  • 0.3.2                                ...           6 months ago
  • 0.3.1                                ...           6 months ago
  • 0.3.0                                ...           6 months ago
  • 0.2.7                                ...           7 months ago
  • 0.2.6                                ...           7 months ago
  • 0.2.5                                ...           7 months ago
  • 0.2.4                                ...           7 months ago
  • 0.2.3                                ...           7 months ago
  • 0.2.1                                ...           7 months ago
  • 0.2.0                                ...           7 months ago
  • 0.1.0                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 18
Last Month 113
Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |