v4.1.0
Added
- New Sass map
$bitstyles-shadows-shadows
for holding global shadow design tokens as a Sass list, and ashadows.get()
function for accessing them in your Sass - New helper function
shadow.generate()
to generate multi-layered “natural” shadows based on the color and distances you give - Two functions (
shadow.to-box-shadow()
andshadow.to-drop-shadow()
) for translating those shadows (which are specified in Sass' list format) into either CSSbox-shadow
format, or CSS filterdrop-shadow
format. Not necessary for the shadows accessed usingshadows.get()
- New
u-shadow
andu-drop-shadow
utility classes to set box-shadows and drop-shadows respectively - The smallscreen version of the Sidebar organism can now be positioned to the left or right side of the screen by overriding
$bitstyles-sidebar-small-location
(defaults toleft
)
Fixed
u-bg
classes will now be output with the correct breakpoint suffix$bitstyles-font-family-breakpoints
will now correctly output media-queries
Changed
- Renames
tools/_directional-properties.scss
->tools/_properties.scss
, so any imports of those files will need to be updated to reflect that - Renames
output-properties()
->output()
- Renames
output-directional-properties()
->output-directional()
PRs contained
- Bump postcss from 8.2.10 to 8.2.13 by @dependabot in #600
- [#597] Renaming directional-properties by @planktonic in #601
- Bump nanoid from 3.1.23 to 3.2.0 by @dependabot in #605
- Bump node-fetch from 2.6.1 to 2.6.7 by @dependabot in #606
- Update dependencies by @klappradla in #608
- [#595] Add utility: box-shadow by @planktonic in #607
- [#604] Update linting by @planktonic in #609
- Update workflow name and badges by @klappradla in #614
- Fix broken font-license link by @klappradla in #617
- [#622] List changed utility class in changelog by @planktonic in #623
- [#612] Update atoms/content documentation by @planktonic in #615
- [#603] Cleanup some outdated references in docs by @planktonic in #616
- hotfix/update-storybook by @planktonic in #630
- [#588] allow sidebar organism to change sides by @planktonic in #592
- [#613] Add docs: design tokens by @planktonic in #619
- [#620] Simplify sass module forwarding by @planktonic in #621
- Update dependencies 2022-02-12 by @planktonic in #631
- Bump version 4.1.0 by @planktonic in #636
Full Changelog: v4.0.0...v4.1.0