Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@influxdata/clockface

Package Overview
Dependencies
Maintainers
11
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

  • 0.0.14
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
26
decreased by-66.23%
Maintainers
11
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 06 May 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