Skip to content

Releases: bcc-code/bcc-design

design-library v1.5.2

Choose a tag to compare

@github-actions github-actions released this 17 Aug 14:04
0fdf499

What's Changed

  • Updated alert box design. Now text content is inline with icon
  • Slight update on tabs

Full Changelog: v1.5.1...v1.5.2

design-library v1.5.1

Choose a tag to compare

@github-actions github-actions released this 16 Aug 21:28

What's Changed

Full Changelog: v1.5.0...v1.5.1

design-library v1.5.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 09:44

New Features

🆕 Tabs component

A versatile tabs component is now available in the library, with a lot of different options on how to render both the tabs themselves and their content. A great contribution by @u12206050!

image

View on Storybook

Text support for pin

The BccPin component now supports any arbitrary text.

image

View on Storybook

Color tokens documentation

In case you missed it, a page is now included in the Storybook documentation with all the color tokens that are available. Together with the typography tokens that were already documented it's now that much easier to use the right tokens from the design system in your project. All the color tokens are available in the library as both a CSS variable and a Tailwind utility.

image

View on Storybook

What's Changed

Full Changelog: v1.4.3...v1.5.0

design-library v1.4.3

Choose a tag to compare

@github-actions github-actions released this 31 Jul 14:00

Maintenance release to update several links to the new monorepo setup we have created for all BCC design system packages.

What's Changed

Full Changelog: v1.4.2...v1.4.3

v1.4.2

Choose a tag to compare

@github-actions github-actions released this 31 Jul 11:26

What's Changed

Full Changelog: v1.4.1...v1.4.2

icons v1.0.1

Choose a tag to compare

@github-actions github-actions released this 31 Jul 14:06

Maintenance release to update several links to the new monorepo setup we have created for all BCC design system packages.

v1.4.1

Choose a tag to compare

@github-actions github-actions released this 29 Jul 14:49

New Features

Render nested objects in the table

It's now possible to render content from a nested object in the table, by passing a column key with a dot notation. For example, if your data looks like this:

{
  // ...
  progress: {
      amount: 42
  }
}

You can render the contents of this column by setting progress.amount as the column key:

const columns = [
    // ...
    {
      text: "Progress",
      key: "progress.amount",
    },
]

Bug Fixes

A reactivity issue was fixed in the table, leading to it not always correctly rendering an updated items list.

What's Changed

Full Changelog: v1.4.0...v1.4.1

v1.4.0

Choose a tag to compare

@github-actions github-actions released this 27 Jul 11:57

New Features

🆕 Table component

The library now features a BccTable component which can be used to render data. The component provides automatic sorting of columns and easy customization of table cells.

image

View on Storybook

Icon only button is now square

In accordance with the rest of the button, the icon only button is now square by default, instead of always rounded like previously. Add the rounded prop to get the previous look:

image

View on Storybook

Bug Fixes

  • Fixed v-model not working on the radio component
  • All form elements are now wrapped in an inline-flex container instead of flex so the components only take as much space as they need by default

What's Changed

Full Changelog: v1.3.2...v1.4.0

v1.3.2

Choose a tag to compare

@github-actions github-actions released this 21 Jul 09:56

New Features

🆕 FormMessage component

This component was extracted from the input and select components to be standalone so it can be used for other form elements as well, for example to show inline validation messages.

image

View on Storybook

CSS changes

The CSS classes for this component were updated from .bcc-input-message to .bcc-form-message. For now the old class names are supported but it's recommend to change this if you were using these classes.

What's Changed

Full Changelog: v1.3.1...v1.3.2

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