Releases: jgthms/bulma
1.0.2
1.0.2
Improvements
- Smart Grid
is-col-min
now goes up to32
(Fixes #3829) - Remove need for
is-variable
modifier for Column gaps - You can have a list of radio buttons or checkboxes with the
radios
andcheckboxes
classes respectively - Add
is-max-tablet
modifier to the Container element - Add
currentColor
andinherit
as possible values for the color and background helpers - The Section can now have a minimum height of
100vh
with theis-fullheight
modifier - Add more SCSS variables:
$input-border-style
$input-border-width
$label-spacing
$field-block-spacing
- Add more CSS variables:
--bulma-input-border-style
--bulma-input-border-width
--bulma-label-color
--bulma-label-spacing
--bulma-label-weight
--bulma-help-size
--bulma-field-block-spacing
Bug fixes
- Fix #3824: ability to override
$scheme-h
,$scheme-s
,$dark-l
and$light-l
Sass variables - Fix #3830: add remaining logical properties
- Fix #3743: make sure 12 columns system take up whole width
- Fix #3799: restore variable columns
- Fix #3846: restore
--bulma-column-gap
CSS variable - Fix #3775:
has-background
helpers should only affect element it's applied to - Fix #3856: Sass nested rule deprecation warning
- Fix #3757: restore use of
$navbar-burger-color
1.0.1
1.0.1
Bug fixes
- Fix #3755:
.select
colors - Fix #3736: include helpers in "No Dark Mode" version
- Fix #3744: build non-minified versions
- Fix #3747: ability to nest fixed grids
- Fix #3759: remove unused
.skeleton
class - Fix #3786: fix horizontal padding of rounded buttons
Documentation fixes
- Fix #3725
- Fix #3720
- Update online documentation link in README
- Update
migrating-to-v1.html
- Fix #3735
- Fix #3729: explain how to use Bulma in a modular way
- Fix #3785: make use of the
@prefers-reduced-motion
setting - Fix #3758: broken links for
0.9.4
version - Fix #3760: fix form controls typo
Improvements
- Fix #3737: Move
sass
todevDependencies
1.0.0
Bulma v1 is a full rewrite of the framework using Dart Sass, which is the the primary implementation of Sass. While this affects a few development details, everything has been done to make the transition as easy as possible.
What remains the same
All HTML snippets are the same. This means you don't need to update your markup. This is important because it means, if you're using Bulma straight "out of the box", you don't need to change anything.
You can just swap [email protected]/css/bulma.min.css
with [email protected]/css/bulma.min.css
and everything will work. Things will look slightly different, but they will still work.
What changes
- Dart Sass is used to build Bulma
- if you use the
sass
npm package, you're already using Dart Sass
- if you use the
- CSS Variables are used instead of literals:
color: var(--bulma-primary);
instead ofcolor: hsl(171deg, 100%, 41%);
, which means you can customize Bulma with CSS only (without using Sass) - Customization by setting your own value for Sass variables works differently. See how to customize Bulma with Sass.
What's new (i.e. did not exist before)
- The notion of Themes is introduced: a theme is a collection of CSS variables within a context, and is the best approach to customize Bulma
- As a result, a Theme for Dark Mode is included
- Color Palettes are created for each of the 7 primary colors
- Skeleton loaders exist as standalone components but also as variants of other components
- You can add a prefix to all your Bulma classes so that
.button
becomes.my-prefix-button
- a pre-built prefixed version exists as one of the alternative versions
0.9.4
New features
- Responsive buttons: the size of a button will change for each breakpoint (Fix #1572)
@mixin between
: takes 2 breakpoint values, outputs a media query for the range between these 2 values$breakpoints
Sass map: a map of named breakpoints and their type (from
,until
or both)@mixin breakpoint
: uses the new$breakpoints
Sass map to output a media query
Improvements
- Add missing variables for content customization
- Fix #683 Modal - example javascript toggle
- Fix #3461 Bulma logo with wordmark in SVG
- Fix #3383 'Variables' sections on docs page (#3513)
- Fixes #3510 The navbar overlaps with sidebars in "Fullheight hero with navbar" (#3516)
- Setup Cypress testing (#3436)
Bugfix
0.9.3
New features
- New
is-underlined
class for underlined text and links - New
auto
value for margin and padding helper classes
Improvements
- New
$section-padding-desktop
Sass variable - New
$hero-body-padding-tablet
Sass variable - New
$shadow
Sass variable (used for.box
,.card
,.dropdown
and.panel
) - Add
is-normal
size modifiers to.file
and.content
- New
%reset
placeholder
Bugfix
- #3362 Fix slash divide
0.9.2
Breaking change
To fix duplicate imports, all Sass placeholders have moved from the utilities/mixins
file to its own utilities/extends
file.
The Sass placeholders are:
%control
%unselectable
%arrow
%block
%delete
%loader
%overlay
If you were importing them directly from utilities/mixins
, you'll need to import utilities/extends
instead.
If you were importing utilities/_all
or even bulma.sass
directly, no change is required.
New features
- Fix #1583 New
is-ghost
button that behaves / looks like a regular link - New
icon-text
component, to combine an icon with text on its side
Bug fixes
- #3005 Fix
column
offsets in RTL - Fix #3145 Dropdown content is bounded by a parent card
- Fix #3089 Sub columns of a variable columns have weird gap
- Fix #2937 Add
width: unset
for narrow columns - #3208 Fix #3163 Do not override is-rounded with button-small
- #3216 Removed duplicate
mixins
imports, created a singleextends
file - #3216 Removed all references to the
.sass
file extension have been removed, since they're unnecessary when there's no ambiguity between a.sass
file or a.scss
file
Improvements
0.9.1
New features
- #3047 Flexbox helpers
- #3085 Add
is-clickable
helper - #3086 Allow each component to have its own colors and default to global ones
- New variables
$navbar-colors
,$button-colors
,$notification-colors
,$progress-colors
,$table-colors
,$tag-colors
,$file-colors
,$textarea-colors
,$select-colors
,$form-colors
,$label-colors
and$hero-colors
Improvements
- #2630 Fixes #2598 -> Add
$card-radius
variable - Add
$card-overflow
variable - #2540 Fixes #2539 -> Fix indeterminate progress styling in IE11
- #3057 Make the default text color of
$code
listings more accessible - #3088 Adds not allowed cursor to missing inputs
- #3101 Add
$modal-breakpoint
variable for modal breakpoint - #3107 Add
optgroup
togeneric.sass
0.9.0
Deprecation warning
The base/helpers.sass
file is deprecated. It has moved into its own /helpers
folder. If you were importing base/helpers.sass
or base/_all.sass
, please import sass/helpers/_all.sass
now.
If you were simply importing the whole of Bulma with @import "~/bulma/bulma.sass"
or similar, you won't have to change anything, and everything will work as before.
The list
component is also deprecated: the components/list.sass
file has been deleted. It was never officialy supported as it was too similar to panel
component. Use that one instead.
RTL support
Bulma now has RTL support.
By setting the Sass flag $rtl
to true
, you can create an RTL version of Bulma, thanks to 4 new Sass mixins:
=ltr
=rtl
=ltr-property($property, $spacing, $right: true)
=ltr-position($spacing, $right: true)
The Bulma package now also comes with a bulma-rtl.css
and bulma-rtl.min.css
file to be used straight away.
Spacing helpers
Bulma now has spacing helpers: https://bulma.io/documentation/helpers/spacing-helpers/
Bulma provides margin m*
and padding p*
helpers in all directions:
-
*t
for top -
*r
for right -
*b
for bottom -
*l
for left -
*x
horizontally for both left and right -
*y
vertically for both top and bottom
You need to combine a margin/padding prefix with a direciton suffix. For example:
- for a
margin-top
, usemt-*
- for a
padding-bottom
, usepb-*
- for both
margin-left
andmargin-right
, usemx-*
Each of these property-direction
combinations needs to be appended with one of 6 value suffixes
This release also includes the following helpers:
- light and dark color helpers
- light and dark background color helpers
Improvements
- #2925 Center table cell content vertically with
is-vcentered
Bug fixes
- #2955 Fix issue when there's only one
is-toggle
tag