Releases: couds/react-bulma-components
Releases · couds/react-bulma-components
v4.1.0
v4.0.7
v4.0.6
v4.0.5
v4.0.4
v4.0.3
Fix some TS definition errors
- Component:
Progress
mademax
andvalue
optional props - Component:
Button
use default onClick function TS definition
Bugfix
V4.0.0
We Finally release the V4. There are a lot of changes, so dont rush to update. We will try to setup a migration guide (but no promises here sorry u.u)
- [Breaking Change] Move Bulma as a Peer Dependency
- [Breaking Change]
<List />
component is completely removed. - Bump Bulma version to
0.9.2
- Improves TS support
- New Storybook, with more details (and hopefully more helpful)
- Enable Tree shaking by default
All Components
- New spacing modifiers. They have the same names as their equivalent Bulma class names.
Refer to the official documentation for more information.- Usage:
pt-0
in Bulma is equivalent topt={0}
in props. Applies to all spacing modifiers.
- Usage:
- Added srOnly prop to all components to display only on screen readers
- Add Support to textSize
7
- [Breaking Change] Improve responsive helper props (
mobile
,tablet
,desktop
,widescreen
,fullhd
,touch
,untilWidescreen
,untilFullhd
) - Added
invisible
to responsive props hidden
is now insidedisplay
prop,{ hidden: true }
become{ display: 'hidden' }
- Added
invisible
prop on all Components - [Breaking Change] Renamed the prop value
centered
tocenter
on all components to use the same everywhere - Added display prop with same values as responsive display (bulma currently only support flex, hidden and relative at this level)
- Added
colorVariation
prop to hanclelight/dark
color helpers - Added
clickable
prop - Added
fontFamily
prop
Breadcrumb
- [Breaking Change] Removed
items
props in favor of composition withBreadcrumb.Item
Breadcrumb.Item
- New Component
Botton.Group
- Deprecated
gapless
tohasAddons
inButton.Group
- [Breaking Change] Renamed
position
prop toalign
Columns
- [Breaking Change] Remove
gapless
prop - [Breaking Change] Add variable
gap
prop - Add gap to responsive option
Columns.Column
- Merge common responsive props with
Column
responsive props
Container
- [Breaking Change] Removed
fluid
prop in favor to add it as an option of thebreakpoint
prop - Added
max
prop to allow useis-max-desktop
andis-max-widescreen
from bulma
Dropdown
- [Breaking Change] Dropdown component now accept an
icon
prop that will accept the the component to render the icon - [Breaking Change] Removed deprecated
align
prop in favor of booleanright
prop
Form.Control
- [Breaking Change] Removed size props (did nothing)
- Automatically add has-icon-left/right if an
Icon
with align is on the children
Footer
- Update default
renderAs
tofooter
Form.Field
- Added
size
prop that will be also used on childrens that accept size as a propInput
,InputFile
,Label
,Icon
,Button
...
Form.Input
- [Breaking Change] Removed
hovered
andfocused
prop in favor to astate
props that accepthover
orfocus
as value
Form.InputFile
- Removed
centered
andright
prop in favor to aalign
props that acceptcenter
orright
as value
Form.Label
- Added
size
prop that will be used on components inside theField
, likeInput
,Select
,Label
...
Form.Select
- Added
state
props that accepthover
orfocus
as value - Added
rounded
prop
Form.Textarea
- Removed
hovered
andfocused
prop in favor to astate
props that accepthover
orfocus
as value
Hero
size
prop its ignored ifhasNavbar
prop is set
Hero.Head
- Renamed to
Hero.Header
Icon
- Removed the
icon
prop from theIcon
component. - Add
text
prop to enableicon-text
Level
- Update default
renderAs
fromdiv
tonav
Media.Content
- Removed the whole component, use
Content
component insted
Media.Item
- Renamed
position
prop toalign
Modal
- Renamed
Modal.Card.Head
toModal.Card.Header
- Renamed
Modal.Card.Foot
toModal.Card.Footer
- Close button on the top-right corner will be displayed always if the showClose prop is passed, (Before if the children was a card was not displayed)
- Only need to pass
onClose
prop toModal
component, no need to pass if to anyModal.*
any more
Navbar.Item
- Removed dropdown prop, it will be added automatically if a Navbar.Dropdown is detected on the childrens.
Navbar.Container
- Renamed
position
prop toalign
- Change
align
values fromstart,end
toleft/right
Pagination
- Renamed
position
prop toalign
Table
- Add
hoverable
prop
Table.Container
- New Component
Tile
- Remove
notification
prop. You can userenderAs={Notification}
if need it - Remove
color
prop.