explorer-1

JPL's Design System

MIT License

Downloads
4.1K
Stars
51
Committers
8

Bot releases are hidden (Show)

explorer-1 - Version 3.1.3 - Pre-release Latest Release

Published by stephiescastle 3 months ago

What's Changed

Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/3.1.2...3.1.3

explorer-1 - Version 3.1.2 - Pre-release

Published by stephiescastle 3 months ago

What's Changed

Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/3.1.1...3.1.2

explorer-1 - Version 1.0.0-beta.3

Published by stephiescastle almost 3 years ago

Notable Changes

Breaking Changes

Fixing a sass deprecation warning in https://github.com/nasa-jpl/explorer-1/pull/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 [email protected] to override the version of sass bundled with Parcel.

Projects using sass-loader

  • remove node-sass and install sass

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 of BlockTable 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

Maintenance and Docs

Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/1.0.0-beta.2...1.0.0-beta.3

explorer-1 - Version 1.0.0-beta.1 – Initial public release

Published by Scotchester about 3 years ago

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 for global
  • src/scss/components/_RoboticsDetailFacts.scss
  • src/scss/components/_SearchResultCard.scss
  • all .woff files
    • This has been accounted for in explorer-1's styles, but be aware of this in case you are importing .woff files a la carte.
Package Rankings
Top 14.7% on Npmjs.org
Badges
Extracted from project README
npm pre-commit enabled View the Storybook
Related Projects