Releases: conedevelopment/sprucecss
Releases · conedevelopment/sprucecss
v2.3.4
v2.3.3
v2.3.2
v2.3.1
v2.3.0
What's Changed
- NEW
$form-fieldset: addlegend-font-familyproperty. - NEW
$typography: addletter-spacing-headingproperty. - NEW
$colors: add'strongoption underbaseto customize the<strong>element's color. - FIX
layout-center()mixin: addinline-size: 100%;. - IMPROVEMENT
layout-grid(),layout-flex(),layout-sidebar()mixins: enable multiple$gapvalue like'm:l'to control both block and inline values. - IMPROVEMENT
spacer()function: enable multiple value shorthand like'm:l'to control both block and inline values. - BREAKING CHANGE Remove the
transition()function (you can migrate overtconfig()function ortransition()mixin.). - IMPROVEMENT
transition()mixin: enable multiple values forpropertywith quotes. - NEW
short-ring()mixin: add a new mixin as a shorthand to access the two basic ring styling on focus quickly (input, button). - Modify the defaults for
config('border-radius-sm', $display)andconfig('border-radius-lg', $display).
v2.2.2
v2.2.1
v2.2.0
In this release we have a lot of small changes and fixes with some improvement.
What's Changed
.form-group--row: now uses container query..form-group--row: add vertical alignment option.- Add disabled state range input.
- Add
color-valuefunction to get only the color value. form-check: add font-weight option.- Add drop-shadow button variants.
- Change outline button generator, make it more customizable.
- Add global font
scaleroption. - Add pointer-events: none; to the
.btn__icon.
Bugfix
form-label: font-family not worked.form-description: make it explicit.- And many more...
v2.1.0
v2.0.0
What's Changed
- Reverse
prefers-reduced-motionbehavior. - Add CSS custom property mode through css-custom-properties setting.
- Fix
selectionmixin - Use
margin-block-startatlayout-stack. - Rework utility handling.
- Fix
::-webkit-slider-thumbbug. - Reorganize generators.
Breaking changes
Because it is a major release, there are some breaking changes. In general, the changes are more of an optimization and reorganization.
- The most significant change is the reorganization of variables. Now, almost all are in a Sass map and accessible with the config() function. You must use the
config()function if you plan to use CSS custom properties; otherwise, themap.getalso works. - We modified the generators. Now we have one main generator,
generate-styles, and we can control its values through the $generators map.
Others
- Clean up the complete documentation.
- Update all of the Spruce UI components to v2.
- Comment code.
- Start with Sass tests.
- Remove JS code from the package.
- Update coding guides: use quotes when asking for a string value.
- Remove namespaced imports to simplify the use of members (variables, functions, mixins).