v1.3.0
New features
馃啎 Checkbox, Radio and Select components
The collection of form components was expanded with a new checkbox, radio and select component. These components use the native input
and select
elements under the hood and their API should be fairly familiar.
馃啎 Alert component
馃啎 Form label component
馃啎 Form message component
Icon and clearable support for input
The input component now supports a prop for an icon and for a "clear button", making it possible to create a search input:
Textarea support for input
New Storybook URL
The URL for Storybook was updated to design-library.developer.bcc.no signify that it's not just usable for Vue components. Because we took the opportunity to update our infrastructure and move the server, the old URL will no longer be updated and will be taken down soon.
The Button, Input and Toggle stories were also placed in a new "Forms" category, to better distinguish them from other components.
Additionally, there is now design-library-dev.developer.bcc.no site to view the latest from the main
branch - this corresponds to the dev
tag in npm that makes it possible to install the latest unreleased components.
What's Changed
- Update npm dependencies by @laurensgroeneveld in #135
- Add icon to input by @laurensgroeneveld in #137
- Add custom checkbox and radio input by @laurensgroeneveld in #139
- Make input clearable by @laurensgroeneveld in #138
- Import Tailwind Forms plugin in our plugin by @laurensgroeneveld in #141
- Create dev Storybook site by @laurensgroeneveld in #142
- Consolidate infrastructure by @adelinn in #143
- Update focus style for checkbox and radio by @laurensgroeneveld in #144
- Create alert component by @laurensgroeneveld in #145
- Create select component mirroring/using input styles by @laurensgroeneveld in #147
- Update production Storybook deploy to new app by @laurensgroeneveld in #148
New Contributors
Full Changelog: v1.2.1...v1.3.0