Skip to content

Releases: canonical/react-components

0.14.2

18 Nov 19:03
Compare
Choose a tag to compare

0.14.2 - 2020-11-18

Changed

  • Bug fixes for Search and Filter
  • Added instructions for developing using this lib as a local dependency750306

0.14.1

04 Nov 13:39
Compare
Choose a tag to compare

Changed

  • Replaced uuid with nanoid.
  • Decouple ContextualMenu from SearchAndFilter
  • Remove CSSTransition component/dep
  • Make Vanilla Framework a peer dependency

0.14.0

29 Oct 14:13
Compare
Choose a tag to compare

0.14.0 - 2020-10-27

Added

Changed

  • Updated expanding MainTable to use aria-hidden instead of .u-hide utility class
  • Updated Vanilla framework to version 2.19.2
  • Added positionElementClassName prop to allow class names to be passed to the position element for the Tooltip component.
  • Bug fixes to Search and Filter component

Removed

  • Removed custom styling for u-hide utility in ModularTable (as this is currently fixed upstream in Vanilla)

0.13.0

08 Oct 06:58
Compare
Choose a tag to compare

0.13.0 - 2020-10-08

Added

  • Added new SummaryButton component

Changed

  • Only pass Slider id prop to range input, not to number input

Removed

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.