Skip to content

Releases: canonical/react-components

0.12.0

29 Sep 03:49
Compare
Choose a tag to compare

Added

  • Icon component

Changed

  • Updated ModularTable component to support showing icons in cells
  • Updated ModularTable component to support empty state message
  • The toggle button for ContextualMenu now has type="button" to prevent it from submitting forms.

0.11.1

25 Sep 03:06
Compare
Choose a tag to compare

Changed

  • Updated Button and ContextualMenu types to allow for passing a custom component.

0.11.0

23 Sep 13:06
Compare
Choose a tag to compare

0.11.0 - 2020-09-23

Changed

  • BUGFIX: The SearchBox styling has been fixed and the component no longer shows up as ForwardRef.
  • Vanilla has been updated to 2.19.0.
  • ModularTable has updated the columns.accessor prop to be either a string or getter function.
  • ContextualMenu has been rebuilt with many new features (ported from maas-ui).

0.10.0

18 Sep 05:50
Compare
Choose a tag to compare

Added

  • Added Slider component.
  • Added a takeFocus prop to Input, Select and Textarea which sets the focus to the input on first render.

Changed

  • Updated the caution, error, success and help props for Input, Select and Textarea to be of type node.
  • Update Chip to be dismissible inside a text input and make them truncatable.
  • Updated to Vanilla 2.16.0.
  • Storybook stories updated to use Controls.
  • Storybook theme updated with Vanilla colours.
  • CRA replaced with manual setup.

0.9.0

25 Aug 05:09
Compare
Choose a tag to compare

Added

  • Added Slider component.
  • Added a takeFocus prop to Input, Select and Textarea which sets the focus to the input on first render.

Changed

  • Updated the caution, error, success and help props for Input, Select and Textarea to be of type node.
  • Update Chip to be dismissible inside a text input and make them truncatable.
  • Updated to Vanilla 2.16.0.
  • Storybook stories updated to use Controls.
  • Storybook theme updated with Vanilla colours.
  • CRA replaced with manual setup.

0.8.1

16 Jul 21:12
b3858c2
Compare
Choose a tag to compare

Changed

Transpile both js and ts with @babel/plugin-typescript, but use tsc for generating declarations.

0.8.0

16 Jul 04:24
eb740fa
Compare
Choose a tag to compare

Added

  • Added titleElement prop to Accordion component to allow rendering title headings for accordion tabs.
  • Tooltip component.

Changed

  • Migrated project to TypeScript.

0.7.0

24 Apr 07:36
Compare
Choose a tag to compare

Changed

  • Renamed the Loader component to Spinner. #36
  • Update the wrapping element of Spinner to allow it to be used in paragraphs. #111

0.6.0

02 Apr 04:17
Compare
Choose a tag to compare

Added

  • Accordion now supports handling expanded sections using external state.
  • Added yarn build-watch to watch and build files when developing locally.
  • Added yarn link-package and yarn unlink-package to improve developing against another project.

0.5.0

01 Apr 01:57
Compare
Choose a tag to compare

Changed

  • Upgrade Vanilla Framework to 2.9.0.
  • Added click event props to Accordion.