hashicorp / react-components

A set of HashiCorp branded react components currently maintained and used by the marketing dev team
https://react-components.vercel.app
Mozilla Public License 2.0
60 stars 17 forks source link

feat(card): Make `date` optional on `<ResourceCard />` #1001

Closed EnMod closed 1 year ago

EnMod commented 1 year ago

🎟️ Asana Task for request prompting the change 🔢 PR on www implementing the canary release 🔍 Preview Link 🔍 Preview Link for example usage on www (see each case study library item's card)


Description

This PR updates our <ResourceCard /> component to make showing the date optional; if no date is passed in, no date (or | separator) is shown.

PR Checklist 🚀

Items in this checklist may not may not apply to your PR, but please consider each item carefully.

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: dd8b04a63f301a9cdb2a78a4f0c001e0ae784eeb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------------------------------- | ----- | | @hashicorp/react-card | Minor | | @hashicorp/react-related-content | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-components ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 26, 2023 6:39pm
github-actions[bot] commented 1 year ago

:package: Canary Packages Published

Latest commit: dd8b04a63f301a9cdb2a78a4f0c001e0ae784eeb

Published 2 packages #### @hashicorp/react-card@0.15.0-canary-20230926184001 ``` npm install @hashicorp/react-card@canary ``` #### @hashicorp/react-related-content@0.3.8-canary-20230926184001 ``` npm install @hashicorp/react-related-content@canary ```