JSPM

  • Created
  • Published
  • Downloads 4712
  • Score
    100M100P100Q9916F
  • License Apache-2.0

Wraps fields and provides styles for focus/hover states

Package Exports

  • @atlaskit/field-base

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@atlaskit/field-base) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

FieldBase

This component contains all the common behaviour and styles for fields

FieldBase provides an Atlassian Design Guidelines compatible implementation for:

  • Labels: spacing, margins, accessibility.
  • Fields: sizing, borders, colors, wrapping behaviour, hover/focus states.
  • Validation: styles (built in validation coming soon!)

FieldBase components will work by themselves, but are really meant to be extended into a full field component.

Installation

yarn add @atlaskit/field-base

Usage

Detailed docs and example usage can be found here.