Skip to content

v1.3.1

Choose a tag to compare

@github-actions github-actions released this 20 Jul 15:54

New Features

🆕 Form label component

Previously the label was embedded in the input and select components. Now you can use the BccFormLabel component as a standalone component, enabling its usage with for example radio groups:

image

View on Storybook

Textarea support for input

The input component now supports an is prop to change it to an textarea:

image

View on Storybook

Changes to CSS classes

Two important CSS changes:

  • With the new form label component, the two label classes were updated from .bcc-input-label and .bcc-input-optional-label to .bcc-form-label and .bcc-form-label-optional. The old classes are still available but we recommend updating your app if you depend on these classes as they might get removed in 2.0
  • A base bcc-input-message class was added to the input message on the input and select elements. This will probably become it's own component in the future as well.

What's Changed

Full Changelog: v1.3.0...v1.3.1