- Fix Table.Row detection in Table.
- Add a missing
forwardRef
on Dialog. - Improve test setup and snapshots.
- Update to
styled-components@^4.2.0
, peer React version is changed to16.3.0
.
- Remove margin on Text so that it doesn't override Box's margin.
- Fix Checkbox icon color (should be transparent when disabled).
- Text component
- 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
andheight
props in CSS instead ofsvg
attributes. - Show Modal in it's own DOM node via React Portals.
- Fix Dialog height on tablet screens.
- Added a space for error messages below
Field
s
- Update components exports.
- Make the padding of the
Input
component consistent withButton
s andDropdown
s. - 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.
RadioButton
component.
- Update React to 16.3.0.
- Smaller labels in Column & Bar Charts.
- Add
width
prop for Column & Bar Charts.
- More prominent OverflowMenu looks.
xsmall
font size.- New icons: cart, image, PDF, CSV.
- Added a
small
size to Badge. - Pass other props on Badge component.
map-marker
,pencil
,shop
, andtruck
icons.
- 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.
- Default OverflowMenu appearance is now
secondary
. - Update Badge to have
radius
,size
andinverse
props. Don't rely on parent font-size anymore.
- Add max value of 100% to Bar chart
- Update table header font weight to 500
- Add optional 'height' prop to Charts.
- Fix title and subtitle props type validation errors in Charts.
- Unify appearance of tooltip in PieChart
- A
ruler
colour. - Clean-up
theme/colors
from old comments.
- Update default colours. Old
grey05
is nowgrey06
. A newgrey05
added.backgroundPrimary
andbackgroundSecondary
are deprecated and will be removed.
- Add
SkeletonLoading
component.
- New background colours: danger, success, warning.
- Document and chart icons.
- Update ColumnChart UI.
- Updated status colours: danger, success, warning.
- Add
fill
andstroke
props on Icon. - Display all icons in the Wardrobe Styleguide UI.
- Allow Charts updates.
- Button with
appearance=link
background is transparent by default.
- Update components exports.
- New
info
color in theme. - ProgressBar component.
- 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.
- export chart components from index
- A minor change to a
backgroundSecondary
colour:#f7f8fa
->#f5f7fa
. - Modify padding values from
10px
->8px
to be aligned with the grid.
- Don't pass
ellipsis
prop to an HTML element in WithLabel component.
- 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.
- PieChart component.
- BarChart component.
- 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.
- Make sure TabBarItem's border covers TabBar's border.
- ColumnChart component.
- TabBar component.
displayTime
prop to the Tooltip component to hide after x milliseconds.
- IconButton component.
- Cross icon.
- Check and check-circle icons.
- Error icon.
- Stack layout component.
- Icon sets
strokeWidth
to1
by default. - Border radius for Button.
- Border radius for Dialog.
- Close button option for Dialog.
- A second axis for
slideIn
animation. - Use
500
instead ofbold
everywhere. - Include iconsprite in
dist
.
- ToolTip component.
- IE11 support in styleguide.
- Background and text color of the light table header.
onClose
is required in Modal.- Add a
data-component-name
attribute on Modal Backdrop (to use in tests and/or custom logic). - Add
closeOnBackdropClick
andcloseOnEscape
properties to Modal (true
by default).
- max height of dropdown panel
- Update Sketch settings screenshot.
- Square checkbox instead of cricles.
- Improvements for Dropdown in controlled mode.
- Fix issues in Dropdown.
- Fix issues in Dropdown.
- Bundle analyzer.
- Limit Dropdown max height to 320px by default.
- Dropdown keyboard navigation support. To support keyboard navigation when using Dropdown please use
onOpen
instead ofonClick
. - Dropdown to support searching.
- Fix
light
appearance in LoadingSpinner.
- Fix usage of styled-components'
css
in Dialog component.
label
prop in the Dropdown component can now be a node (previously string only).- Dropdown is one-line only now.
- Rename
props
top
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.
- Typography description in the styleguide.
- Unify theme dictionaries (export values, not styles).
- Container component (in layout section).
- Grid component (in layout section).
- 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.
- 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.
- Refactor
Button
component. - Change base color on
Input
component.
- Rename colors.
- Unify prop names (
something
instead ofisSomething
). - Pass not used props to the underlying component (potential use cases: data-attributes, form elements' attributes, additional styling).
- Input component
- Accordion component
- Add
IS_STYLEGUIDE
flag to work around some issues when static components' stories broke styleguide.
- Checkbox component
- Get rid of
react-modal2
dependency. - Use
yarn
. - Add
isFluid
prop toDropdown
andToggleMenu
components.
- Split Modal component to Modal and Dialog components.
- Add
min-width
andtext-align
for Dropdown's button. - Dropdown component to call
onOpen
andonClose
even in controlled state.
- Fix classnames in Modal component
- Allow ColorSelector component to set the background using the given string.
- Color selector component to support empty state.
- Dropdown icon not reacting when
isOpen
istrue
.
- Dropdown component now allows
isOpen
prop to have it controlled. - Renamed
disabled
prop toisDisabled
.
- Loading state to the dropdown component.
- preventOutOfBounds prop for the dropdown component.
- The path of the iconSprite in Icon component to be absolute.
- JS error when the toggleMenu component is unmounted while the menu is open.
- Modal component
- 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.
- value prop not being passed to the searchbar input field.
- Fix bug causing searchbar placeholder not to show.
- Searchbar component
- Loading spinner component
- Table component
- Overflow menu component
- ToggleMenu component
- Refactor Dropdown component to use ToggleMenu
- Moved react, react-dom and styled-components to peerDependencies
- Dropdown component
- Component generation script.
- generateTests script to account from other component imports within the main component.
- ColorSelector component.
- Snapshots tests and test generation.
- Button component
- Badge component