Skip to content

Latest commit

 

History

History
550 lines (324 loc) · 12 KB

CHANGELOG.md

File metadata and controls

550 lines (324 loc) · 12 KB

[Unreleased]

[6.0.1] - 2019-05-07

Changed

  • Fix Table.Row detection in Table.

[6.0.0] - 2019-05-07

Changed

  • Add a missing forwardRef on Dialog.
  • Improve test setup and snapshots.

Breaking changes

  • Update to styled-components@^4.2.0, peer React version is changed to 16.3.0.

[5.7.2] - 2019-05-07

Changed

  • Remove margin on Text so that it doesn't override Box's margin.

[5.7.1] - 2019-05-06

Changed

  • Fix Checkbox icon color (should be transparent when disabled).

[5.7.0] - 2019-05-02

Added

Changed

  • Add a shrink option to Dropdown to not have a min-width.
  • Fix heights of different Badge component variants.
  • Made Field error messages smaller
  • Remove Field error messages altogether when reserveSpaceForError is false and there's no error.
  • Make Icon render it's width and height props in CSS instead of svg attributes.
  • Show Modal in it's own DOM node via React Portals.
  • Fix Dialog height on tablet screens.

[5.6.0] - 2019-05-01

Changed

  • Added a space for error messages below Fields

[5.5.1] - 2019-04-30

Changed

  • Update components exports.

[5.5.0] - 2019-04-30

Added

[5.4.0] - 2019-04-26

Changed

  • Make the padding of the Input component consistent with Buttons and Dropdowns.
  • Add an invalid state for Dropdown (e.g. for when you must select an option, but you haven't yet).
  • Fix an issue in [Dropdown])(/#/Components?id=dropdown) which led it to grow in height in search mode.

[5.3.0] - 2019-04-25

Added

  • RadioButton component.

Changed

  • Update React to 16.3.0.
  • Smaller labels in Column & Bar Charts.
  • Add width prop for Column & Bar Charts.

[5.2.0] - 2019-04-17

Changed

[5.1.0] - 2019-04-16

Added

  • xsmall font size.
  • New icons: cart, image, PDF, CSV.

Changed

  • Added a small size to Badge.
  • Pass other props on Badge component.

[5.0.0] - 2019-04-12

Added

  • map-marker, pencil, shop, and truck icons.

Changed

  • Update OverflowMenu looks.
  • Update sizes in all components, use small font size for controls.
  • Increase Table.Cell vertical padding.
  • Use fashionTrade eslint config.
  • Update ToolTip font-size.
  • Update Button looks, add status appearances.
  • Update Input, Dropdown, and Checkbox looks.

Breaking changes

  • Default OverflowMenu appearance is now secondary.
  • Update Badge to have radius, size and inverse props. Don't rely on parent font-size anymore.

[4.0.3] - 2019-04-11

Changed

  • Add max value of 100% to Bar chart
  • Update table header font weight to 500

[4.0.2] - 2019-04-09

Added

  • Add optional 'height' prop to Charts.
  • Fix title and subtitle props type validation errors in Charts.
  • Unify appearance of tooltip in PieChart

[4.0.1] - 2019-04-04

Add

  • A ruler colour.
  • Clean-up theme/colors from old comments.

[4.0.0] - 2019-04-04

Breaking changes

  • Update default colours. Old grey05 is now grey06. A new grey05 added. backgroundPrimary and backgroundSecondary are deprecated and will be removed.

[3.12.0] - 2019-04-03

Added

  • Add SkeletonLoading component.

[3.11.0] - 2019-03-27

Added

Changed

[3.10.2] - 2019-03-26

Changed

  • Button with appearance=link background is transparent by default.

[3.10.1] - 2019-03-25

Changed

  • Update components exports.

[3.10.0] - 2019-03-21

Added

Changed

  • Bring back a lost Animations section.
  • Update CheckBox design.
  • Prevent default behaviour and stop event propagation for OverflowMenu Toggle.
  • "Explicitly undefined" ("not sure") state for CheckBox.

[3.9.3] - 2019-03-15

Changed

  • export chart components from index

[3.9.2] - 2019-03-13

Changed

  • A minor change to a backgroundSecondary colour: #f7f8fa -> #f5f7fa.
  • Modify padding values from 10px -> 8px to be aligned with the grid.

[3.9.1] - 2019-03-07

Changed

  • Don't pass ellipsis prop to an HTML element in WithLabel component.

[3.9.0] - 2019-03-06

Added

Changed

  • Button now has a link appearance.
  • Button now has an option to be rendered as any given HTML tag.
  • Refactor scss to styled components in ColorSelector.
  • Make generate-component script also generate an example snapshot test.
  • Stack component now supports horizontal direction.

[3.8.0] - 2019-02-26

Added

  • PieChart component.
  • BarChart component.

Changed

  • Update some dependencies to fix security warnings.
  • Use styled-components instead of scss for the badge component.
  • Display Changelog in Styleguide UI.
  • generateTests script now supports multiple components directories.

[3.7.1] - 2019-02-25

Changed

  • Make sure TabBarItem's border covers TabBar's border.

[3.7.0] - 2019-02-25

Added

  • ColumnChart component.
  • TabBar component.

[3.6.0] - 2019-02-18

Added

  • displayTime prop to the Tooltip component to hide after x milliseconds.

[3.5.0] - 2019-02-18

Added

  • IconButton component.
  • Cross icon.
  • Check and check-circle icons.
  • Error icon.
  • Stack layout component.

Changed

  • Icon sets strokeWidth to 1 by default.
  • Border radius for Button.
  • Border radius for Dialog.
  • Close button option for Dialog.
  • A second axis for slideIn animation.
  • Use 500 instead of bold everywhere.
  • Include iconsprite in dist.

[3.4.0] - 2019-01-02

Added

  • ToolTip component.

[3.3.0] - 2018-12-24

Changed

  • IE11 support in styleguide.

[3.2.1] - 2018-12-24

Changed

  • Background and text color of the light table header.

[3.2.0] - 2018-12-13

Changed

  • onClose is required in Modal.
  • Add a data-component-name attribute on Modal Backdrop (to use in tests and/or custom logic).
  • Add closeOnBackdropClick and closeOnEscape properties to Modal (true by default).

[3.1.5] - 2018-12-12

Changed

  • max height of dropdown panel

[3.1.4] - 2018-12-12

Changed

  • Update Sketch settings screenshot.
  • Square checkbox instead of cricles.

[3.1.3] - 2018-12-03

Changed

  • Improvements for Dropdown in controlled mode.

[3.1.2] - 2018-12-03

Changed

  • Fix issues in Dropdown.

[3.1.1] - 2018-12-03

Changed

  • Fix issues in Dropdown.

[3.1.0] - 2018-12-03

Added

  • Bundle analyzer.

Changed

  • Limit Dropdown max height to 320px by default.
  • Dropdown keyboard navigation support. To support keyboard navigation when using Dropdown please use onOpen instead of onClick.
  • Dropdown to support searching.

[3.0.2] - 2018-11-26

Fixed

  • Fix light appearance in LoadingSpinner.

[3.0.1] - 2018-11-19

Changed

  • Fix usage of styled-components' css in Dialog component.

[3.0.0] - 2018-11-19

Changed

  • label prop in the Dropdown component can now be a node (previously string only).
  • Dropdown is one-line only now.
  • Rename props to p in styled components.
  • Fix Animations export.
  • ToggleMenu (so also OverflowMenu and Dropdown) support for click outside and out-of-bounds in controlled behaviour.
  • ToggleMenu (so also OverflowMenu and Dropdown) support for bi-dimensional out-of-bounds handling.

Added

  • Typography description in the styleguide.
  • Unify theme dictionaries (export values, not styles).
  • Container component (in layout section).
  • Grid component (in layout section).

Breaking changes

  • Dropdown and OverflowMenu components now require a persist prop to be set to avoid closing dropdown panel after a click inside.
  • New colour names.
  • ToggleMenu (so also OverflowMenu and Dropdown) now have preventOutOfBounds=true by default.

[2.0.0] - 2018-10-24

Added

  • Exported Theme object.
  • Sizes in theme and styleguide.
  • Describe Grid Layout.
  • Exported Normalize style.
  • Exportable styled-components-based animation.
  • Invalid state on an Input component.
  • Input component snapshots.

Changed

  • Refactor Button component.
  • Change base color on Input component.

Breaking changes

  • Rename colors.
  • Unify prop names (something instead of isSomething).
  • Pass not used props to the underlying component (potential use cases: data-attributes, form elements' attributes, additional styling).

[1.1.0] - 2018-10-09

Added

  • Input component
  • Accordion component

Changed

  • Add IS_STYLEGUIDE flag to work around some issues when static components' stories broke styleguide.

[1.0.0] - 2018-10-04

Added

  • Checkbox component

Changed

  • Get rid of react-modal2 dependency.
  • Use yarn.
  • Add isFluid prop to Dropdown and ToggleMenu components.

Breaking changes

  • Split Modal component to Modal and Dialog components.
  • Add min-width and text-align for Dropdown's button.
  • Dropdown component to call onOpen and onClose even in controlled state.

[0.8.2] - 2018-09-27

Changed

  • Fix classnames in Modal component

[0.8.1] - 2018-09-22

Changed

  • Allow ColorSelector component to set the background using the given string.
  • Color selector component to support empty state.

Fixed

  • Dropdown icon not reacting when isOpen is true.

[0.8.0] - 2018-09-21

Changed

  • Dropdown component now allows isOpen prop to have it controlled.
  • Renamed disabled prop to isDisabled.

[0.7.0] - 2018-09-18

Added

  • Loading state to the dropdown component.
  • preventOutOfBounds prop for the dropdown component.

Changed

  • The path of the iconSprite in Icon component to be absolute.

Fixed

  • JS error when the toggleMenu component is unmounted while the menu is open.

[0.6.0] - 2018-09-13

Added

  • Modal component

Changed

  • ToggleMenu component now uses display instead of visibility.
  • Dropdown component now allows onClose prop to be passed.
  • Dropdown component layout now uses flex to align the icon to the right.

Fixed

  • value prop not being passed to the searchbar input field.

[0.5.1] - 2018-09-05

Fixed

  • Fix bug causing searchbar placeholder not to show.

[0.5.0] - 2018-09-05

Added

  • Searchbar component
  • Loading spinner component
  • Table component
  • Overflow menu component
  • ToggleMenu component

Changed

  • Refactor Dropdown component to use ToggleMenu

[0.4.0] - 2018-08-22

Changed

  • Moved react, react-dom and styled-components to peerDependencies

[0.3.0] - 2018-08-21

Added

  • Dropdown component
  • Component generation script.

Changed

  • generateTests script to account from other component imports within the main component.

[0.2.0] - 2018-08-6

Added

  • ColorSelector component.
  • Snapshots tests and test generation.

[0.1.0] - 2018-07-31

Added

  • Button component
  • Badge component