Version 1.0.0-beta.3
Pre-release
Pre-release
stephiescastle
released this
11 Jan 00:01
·
478 commits
to main
since this release
Notable Changes
Breaking Changes
Fixing a sass deprecation warning in #62 has led to some breaking changes for projects that use scss assets a la carte. Your project now needs to use a sass compiler that supports usage of @use
directives, and also use a version of sass that includes the sass:math
module.
Projects using Parcel as their frontend bundler with node-sass
as their sass compiler will likely encounter the following build error:
🚨 Build failed.
@parcel/transformer-sass: Undefined function.
╷
11 │ padding-bottom: math.div($height, $width) * 100%;
To fix, remove node-sass
to default to Parcel's built-in dart-sass
. If that still doesn't work, you may need to install sass@1.33.0
to override the version of sass bundled with Parcel.
Projects using sass-loader
- remove
node-sass
and installsass
Style changes:
.BlockTable
- This CSS class has been extended to include styles for various types of content within in a table, spefically for use with Wagtail's TypedTableBlock. Check your usage ofBlockTable
for any unexpected visual changes- Pagination in
.BlockImageCarousel
and.BlockImageGallery
has additional styles applied. If your project has configured swiper with different pagination rules, then these styles may conflict. Be sure to check the mobile pagination of these blocks when updating. - Additional focus styles have been applied to
BaseButton
- WCP:
HeroMedia
styles are now part of Explorer-1, specifically styles for the show/hide caption on mobile. These styles can now be removed from WCP and imported from Explorer-1.
Script changes:
- WCP: JavaScript for
HeroMedia
is now provided by Explorer-1._HeroMedia.js
can be removed and imported from Explorer-1. instead.
Summary of Changes
Features
- Extend BlockTable styles to support new content types by @Scotchester in #79
Maintenance and Docs
- Storybook: Add
BlockRelatedLinks
component by @laespinoza in #45 - Storybook: Add
BlockTeaser
component by @laespinoza in #47 - Storybook: Add
BlockTable
component by @laespinoza in #46 - Storybook: Add
BlockVideoEmbed
component by @laespinoza in #48 - Storybook: Add
HeroFeature
component by @laespinoza in #49 - Storybook: Add
HeroFocalPoint
component by @laespinoza in #50 - Storybook: adding descriptions to BaseLink and HeroFocalPoint by @stephiescastle in #51
- Storybook: Add
RoboticsDetailFactsItem
component by @laespinoza in #53 - Storybook: Add
HeroMedia
component by @laespinoza in #52 - Storybook: Add
SearchResultCard
component by @laespinoza in #54 - Storybook: Add
BlockImageCarousel
component by @laespinoza in #56 - Storybook: Add
BlockImageGallery
component by @laespinoza in #57 - Storybook: adding all icon stories by @stephiescastle in #63
- Storybook: update storybook version, add storybook linter, fix deprecation warnings by @stephiescastle in #62
- Storybook: Add
BaseCarouselCards
,ArticleCarousel
, andRoboticsDetailFacts
components by @stephiescastle in #70 - Adding dependabot config by @stephiescastle in #61
Full Changelog: 1.0.0-beta.2...1.0.0-beta.3