Socket
Socket
Sign inDemoInstall

@influxdata/clockface

Package Overview
Dependencies
Maintainers
10
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@influxdata/clockface

UI Kit for building Chronograf and other Time Series visualization applications


Version published
Weekly downloads
165
decreased by-59.26%
Maintainers
10
Weekly downloads
 
Created
Source

Clockface

Travis npm package Coveralls

A React + Typescript UI Kit for building Chronograf and other Time Series visualization applications.

Documentation: https://influxdata.github.io/clockface

Patterns

Component Families

Components with sub-components are sub-classed to improve readablity of code and ease of use. Family parent is the only component in the family to import a stylesheet and all styles are namespaced accordingly. Style namespacing is largely based on BEM.

Example:

import {Garden} from '@influxdata/clockface'

<Garden> // Family Parent
  <Garden.Fence />
  <Garden.PlanterBox />
</Garden>

You can tell these are all related because of the Garden family namespace

.garden {
  display: flex;
}

.garden--fence {
  color: white;
}

.garden--planter-box {
  flex: 1 0 50%;
}
Common Prop Types

Clockface offers a variety of Types to make customizing the UI kit simple. For example, any component that can be rendered in different colors takes the ComponentColor type. Use of these common prop types throughout the UI kit ensures consistency.

FAQs

Package last updated on 09 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc