All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.
0.14.3 (2018-08-19)
0.14.2 (2018-08-16)
0.14.1 (2018-08-15)
- Accept
theme
prop onProvider
(#184) (0327c1c) - Add TypeScript typings to
as
,Base
andArrow
(#146) (6d8830a), closes #142
0.14.0 (2018-08-09)
- Add CardFit component (#176) (63ac954)
- Add Portal component (#169) (d6c16f7)
- Use div by default when none is passed to as (b9053da)
-
Card
styles have been changed.Instead of making
img
elements fit the card's width, it now exposes aCard.Fit
component that can be used to achieve the same behavior.Before:
<Card> <img /> </Card>
After:
<Card> <Card.Fit as="img" /> </Card>
-
When using
as
enhancer without passing any tag, it will usediv
instead ofspan
. -
Overlay
andSidebar
no longer use React portals by default. Now it should be combined withPortal
component in order to achieve the same behavior.Before:
<Overlay /> <Sidebar />
After:
<Overlay as={Portal} /> <Sidebar as={Portal} />
0.13.2 (2018-08-08)
- Add Avatar component (#175) (66fb427)
- Add hideOnClickOutside prop to Hidden (#167) (39d8f6a), closes #160
- Add Toolbar component (#174) (b86cf0d)
0.13.1 (2018-08-05)
- Let theme override default styles on Table (ab74f7c)
0.13.0 (2018-08-03)
-
Hidden
styles have been changed. Now it has atransform
property by default.This affects all the other components that use
Hidden
:Backdrop
,Overlay
,Sidebar
,Popover
,Tooltip
,Step
andTabsPanel
. -
Perpendicular
has been removed.Popover
andTooltip
use popper.js instead.It affects also
PopoverArrow
andTooltipArrow
, which don't acceptPerpendicular
props anymore. -
pos
prop onPopover
andTooltip
has been replaced byplacement
prop, which accepts all thepos
values plus-start
and-end
versions.Before:
<Popover pos="top" align="start" />
After:
<Popover placement="top-start" />
-
PopoverArrow
andTooltipArrow
don't acceptpos
anymore. Their position and angle are now automatically set according toPopover
andTooltip
placement
prop.Before:
<Popover pos="top"> <Popover.Arrow pos="bottom" /> </Popover>
After:
<Popover placement="top"> <Popover.Arrow /> </Popover>
-
popoverId
state onPopoverContainer
is now set oncomponentDidMount
instead of on initial state.This means that it'll be
undefined
on the first render, but will have a consistent behavior when usingcontext
prop. -
Tooltip
styles have been changed. Now it has a slightly largerfont-size
and opaquebackground-color
. -
ListItem
andTable
children components have been removed. You can replace them by their respective html tags (likeli
,tr
,th
etc.):<List> <li>Item 1</li> <li>Item 2</li> </List>
If you were using some enhanced feature of ReaKit components, like inline styles, you can use
<Base as="li">
:<List> <Base as="li" marginTop={10}>Item</Base> </List>