Skip to content

Releases: nasa-jpl/explorer-1

Version 2.0.1

15 May 18:26
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

  • fix: links to stories within storybook (#430)

🧰 Maintenance

  • chore: upgrade to Storybook 8.1.1, fixing some docs display issues (#431)

Version 2.0.0

15 May 00:37
Compare
Choose a tag to compare

Changes

🧰 Maintenance

  • chore: Upgrade to Storybook 8, Tailwind 3, and npm v20+ (#428)

Version 1.10.0

07 May 19:32
4293f13
Compare
Choose a tag to compare

Changes

✨ Features

  • Add examples of headings with icons (#420)

🧰 Maintenance

  • Adds support for npm ^16.20.2 (#427)
  • Removes support for npm 14

Version 1.9.0

17 Aug 20:40
Compare
Choose a tag to compare

Changes

✨ Features

  • Add Reddit icon and update X icon (#418)

🧰 Maintenance

  • Add Node.js and npm version requirements (#415)

Version 1.8.0

15 Aug 13:09
Compare
Choose a tag to compare

Changes

✨ Features

  • Add circleimage / milestone card component (#409)
  • Add back to top component (#408)

Version 1.7.2

28 Dec 18:40
Compare
Choose a tag to compare

Changes

🐛 Bug Fixes

  • Fix two minor issues with headings (#327)

Version 1.7.1

10 Nov 20:22
Compare
Choose a tag to compare

Changes

✨ Enhancement

  • Adjust H1 sizes to be less of a dramatic jump from H2 (#318)
  • Reduce line-height of .text-stats-xl and .text-stats-lg to bring it back in line with what it was before (#318)

Version 1.7.0

08 Nov 15:43
Compare
Choose a tag to compare

Changes

✨ Features

  • Update type hierarchy (#313)

🐛 Bug Fixes

  • fix: adding icon-only flag to image carousel buttons (#303)

Version 1.6.0

12 Aug 00:39
Compare
Choose a tag to compare

Changes

✨ Features

  • Adding an Internal Theme (#253)
  • Adding Internal Header and Internal Footer (#277)

📘 Documentation

  • Documentation for using the new internal theme, internal header, and internal footer (#253, #277)

🧰 Maintenance

  • Bump Storybook to v6.5.10 and add workaround for heading anchors (#270, #285)

Migration Notes

Using the internal theme and components

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';

Internal header and footer

You can learn how to use the internal header and footer in our new Global Layout section.

Container Padding

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 navigation class names

Internal WCP developers: the class names for internal navigation templates have changed to match the naming style of Explorer 1.

Version 1.5.0

29 Jun 15:25
Compare
Choose a tag to compare

Changes

✨ Features

  • Adding BlockAccordion component (#250)

🐛 Bug Fixes

  • Set tracking-normal explicitly on H4 and H5 styles (#257)