Bot releases are visible (Hide)
Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/3.1.2...3.1.3
Published by stephiescastle 3 months ago
text-subtitle
with @apply
in _BlockTable.scss
by @stephiescastle in https://github.com/nasa-jpl/explorer-1/pull/502
Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/3.1.1...3.1.2
Published by github-actions[bot] 3 months ago
Published by github-actions[bot] 3 months ago
Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/3.0.0...3.1.0
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 4 months ago
Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 5 months ago
Published by github-actions[bot] 6 months ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] about 1 year ago
Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] almost 2 years ago
.text-stats-xl
and .text-stats-lg
to bring it back in line with what it was before (#318)Published by github-actions[bot] almost 2 years ago
Published by github-actions[bot] about 2 years ago
You can find documentation on how to use the internal theme in our Storybook. If you plan to use this theme a la carte, be sure to also include the newly added SCSS partial:
// your main.scss
// Tailwind CSS
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';
// Vendors
@import '@nasa-jpl/explorer-1/src/scss/vendors';
// Main elements: Explorer 1 base styles
@import '@nasa-jpl/explorer-1/src/scss/forms';
@import '@nasa-jpl/explorer-1/src/scss/hover';
@import '@nasa-jpl/explorer-1/src/scss/fonts';
@import '@nasa-jpl/explorer-1/src/scss/aspect-ratios';
@import '@nasa-jpl/explorer-1/src/scss/grid';
@import '@nasa-jpl/explorer-1/src/scss/typography';
@import '@nasa-jpl/explorer-1/src/scss/polyfills';
@import '@nasa-jpl/explorer-1/src/scss/animations';
// Themes: include this if you want to use the internal theme colors
@import '@nasa-jpl/explorer-1/src/scss/themes/internal'; // β¬
οΈ include new partial here
// Components: include all components
@import '@nasa-jpl/explorer-1/src/scss/components';
You can learn how to use the internal header and footer in our new Global Layout section.
By default, .container
now has a default padding of 1rem
. For the most part, this should not affect your projects, unless you have built in your own paddings, or used any of the named grid lines for MixedBleed layouts. If so, you can easily override this globally in your tailwind config, or, to address specific use-cases, add .px-0
to the .container
in question.
To override the container padding globally, add this to your Tailwind config:
// your-project/tailwind.config.js
// import Explorer 1's Tailwind config
const explorer1Config = require('@nasa-jpl/explorer-1/tailwind.config.js')
module.exports = {
...explorer1Config,
theme: {
...explorer1Config.theme,
container: {
...explorer1Config.theme.container,
padding: '0', // β¬
οΈ override padding here
},
},
purge: ['../**/*.html'], // your project's purge settings
}
Internal WCP developers: the class names for internal navigation templates have changed to match the naming style of Explorer 1.
Published by github-actions[bot] over 2 years ago
tracking-normal
explicitly on H4 and H5 styles (#257)Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
<mark>
element (#232)Published by github-actions[bot] over 2 years ago
Published by github-actions[bot] over 2 years ago
@storybook
(6.4.20) and eslint-plugin-storybook (0.5.7) (#179, #198)@fancyapps/ui
from 4.0.23 to 4.0.26 (#163)Various components have been renamed, including their corresponding SCSS and JavaScript includes. You should check your projects for any of the following and update accordingly. Note that all new names are documented in the table below, but not all new names require action. Deprecated component names will be supported until the next major release.
Old name | New name | All users | A la carte: SCSS updates | A la carte: JS updates |
---|---|---|---|---|
BaseCarouselCards | MixinCarousel | Update CSS class name in html template | Renamed to _MixinCarousel.scss
|
Update /src/js/vendors/_swiper.js and /src/js/vendors/_swiperOptions.js . If importing exports directly from _swiperOptions , note that the export name has changed to MixinCarousel
|
AnimationCaret | MixinAnimationCaret | Update CSS class name in html template | Renamed to _MixinAnimationCaret.scss
|
N/A |
BaseVideoBg | MixinVideoBg | N/A | N/A | N/A |
HeroFeature | HeroMedium | Update CSS class name in html template | Renamed to _HeroMedium.scss
|
N/A |
HeroFocalPoint | HeroLarge | Update CSS class name in html template | Renamed to _HeroLarge.scss
|
N/A |
BlockArticleCarousel | BlockLinkCarousel | Update CSS class name in html template | N/A | N/A |
BlockArticleCarouselItem | BlockLinkCard | N/A | N/A | N/A |
BlockFactCards | BlockCardGroup | Update CSS class name in html template | N/A | N/A |
BlockFactCardsItem | BlockCard | N/A | N/A | N/A |
If you are using Explorer 1 with a custom frontend framework, you may want to consider renaming your components, and/or creating a table documenting how your project's components map to the Explorer 1 design system.
BlockLinkCarousel
BlockLinkCarousel
has a new "item type" argument. BlockLinkCard
, the default selection, replicates what was formerly known as BlockArticleCarousel
. A new option, BlockLinkTile
, is now available as well.
BlockLinkCard
and BlockLinkTile
Improvements have been made to BlockLinkCard
and BlockLinkTile
, including compact styles, and styles for a secondary label. Update your HTML templates as needed. If you were previously using BlockArticleCarouselItem
, you will want to update to use the latest BlockLinkCard
in its place.
MixinCarousel
improvementThe -tile
variant of MixinCarousel
now includes pb-5
by default. When used in projects, the -tile
variant required adding the pb-5
inline class to work properly with tiles. If this applies to your project, you can now remove the pb-5
inline class from the following selectors: .BaseCarouselCards.-tile
or .MixinCarousel.-tile
BlockIframeEmbed
is now responsive for 16:9 embeds! To use this feature, you will need to make the following changes to your project:
BlockIframeEmbed
has changed and you will need to update the markup in your projects.BlockIframeEmbed
has been renamed to _BaseIframe.scss
, so you will need to update your scss imports if you are using Explorer 1 a la carte.Full Changelog: https://github.com/nasa-jpl/explorer-1/compare/1.0.0...1.1.0