Releases: nasa-jpl/explorer-1
Version 1.0.0-beta.3
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-sassand 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 ofBlockTablefor any unexpected visual changes- Pagination in
.BlockImageCarouseland.BlockImageGalleryhas 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:
HeroMediastyles 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
HeroMediais now provided by Explorer-1._HeroMedia.jscan 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
BlockRelatedLinkscomponent by @laespinoza in #45 - Storybook: Add
BlockTeasercomponent by @laespinoza in #47 - Storybook: Add
BlockTablecomponent by @laespinoza in #46 - Storybook: Add
BlockVideoEmbedcomponent by @laespinoza in #48 - Storybook: Add
HeroFeaturecomponent by @laespinoza in #49 - Storybook: Add
HeroFocalPointcomponent by @laespinoza in #50 - Storybook: adding descriptions to BaseLink and HeroFocalPoint by @stephiescastle in #51
- Storybook: Add
RoboticsDetailFactsItemcomponent by @laespinoza in #53 - Storybook: Add
HeroMediacomponent by @laespinoza in #52 - Storybook: Add
SearchResultCardcomponent by @laespinoza in #54 - Storybook: Add
BlockImageCarouselcomponent by @laespinoza in #56 - Storybook: Add
BlockImageGallerycomponent 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, andRoboticsDetailFactscomponents by @stephiescastle in #70 - Adding dependabot config by @stephiescastle in #61
Full Changelog: 1.0.0-beta.2...1.0.0-beta.3
Version 1.0.0-beta.2
Changes
✨ Features
- Adds semantic colors and base styles for form elements (#43)
- Adds @fancyapps/ui for modals and lightboxes (#38)
📘 Documentation
- Storybook: Add
BlockQuotecomponent (#44) - Storybook: Add
BlockImagecomponent (#38) - Storybook: Add
BlockInlineImagecomponent (#35) - Storybook: Add
BlockImagecomponent (as well as Fancybox) (#38) - Storybook: Add
BlockKeyPointscomponent (#39) - Storybook: Add
BlockTextcomponent (#31) - Storybook: Add
BlockIframeEmbedcomponent (#29) - Storybook: Add
BasePlaceholdercomponent (#26) - Storybook: Add
BaseImageCaptioncomponent (#25) - Storybook: Add
ArticleCarouselItemcomponent (#22)
🧰 Maintenance
- Re-ordering Tailwind imports and adding ignore files for linters (#36)
- Set up linters and GitHub Actions workflow to run them on PRs (#30)
- Set up Release Drafter workflow in GitHub Actions (#24)
Migration guide
- Input fields will now default to having a
gray-light-midborder. For input fields that should not have a border, add classborder-0to them. - Projects applying a border-color to their inputs should remove those styles in order to inherit those from Explorer-1.
- Projects importing SCSS partials a la carte will need to import the new
_forms.scsspartial as one of the first imports in the main SCSS file. - Projects that have defined their own semantic colors should remove those color definitions from their TailwindCSS config and use those provided by Explorer-1 instead.
Version 1.0.0-beta.1 – Initial public release
This marks the first public release of the Explorer 1 Design System! 🎉
For users of the internal alpha releases, please note that this release contains breaking changes with regard to support for Internet Explorer:
The following resources were deleted and need to be removed from your project's JS and SCSS imports:
src/js/_detect-ie.js, including the node polyfill forglobalsrc/scss/components/_RoboticsDetailFacts.scsssrc/scss/components/_SearchResultCard.scss- all
.wofffiles- This has been accounted for in explorer-1's styles, but be aware of this in case you are importing
.wofffiles a la carte.
- This has been accounted for in explorer-1's styles, but be aware of this in case you are importing