-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable StandaloneLink
in Actions
#758
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
|
π¦ Changeset detectedLatest commit: 7250da9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
StandaloneLink
in Actions
StandaloneLink
in Actions
StandaloneLink
in Actions
(WIP)
@alexcarpenter - WIP PR here. Curious to get your thoughts on this. I think this hits all the requirements (see the description above), is relatively understandable, and is backwards compatible with the existing There's also a high likelihood that I'm overlooking something important here too π π |
StandaloneLink
in Actions
(WIP)StandaloneLink
in Actions
Cool - @alexcarpenter I think this is ready for re-review. |
π¦ Canary Packages PublishedLatest commit: 7250da9 Published 3 packages@hashicorp/react-actions@0.4.0-canary-20221014205736
@hashicorp/react-intro@0.5.0-canary-20221014205736
@hashicorp/react-next-steps@0.3.0-canary-20221014205736
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
f32c90b
to
7250da9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Nice work. ππΌ
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @hashicorp/react-actions@0.4.0 ### Minor Changes - [#758](#758) [`f464318c`](f464318) Thanks [@nandereck](https://github.com/nandereck)! - Enables StandaloneLink support in Actions. Updates NextSteps and Intro components to accommodate changes in Actions. ## @hashicorp/react-intro@0.5.0 ### Minor Changes - [#758](#758) [`f464318c`](f464318) Thanks [@nandereck](https://github.com/nandereck)! - Enables StandaloneLink support in Actions. Updates NextSteps and Intro components to accommodate changes in Actions. ### Patch Changes - Updated dependencies \[[`f464318c`](f464318)]: - @hashicorp/react-actions@0.4.0 ## @hashicorp/react-next-steps@0.3.0 ### Minor Changes - [#758](#758) [`f464318c`](f464318) Thanks [@nandereck](https://github.com/nandereck)! - Enables StandaloneLink support in Actions. Updates NextSteps and Intro components to accommodate changes in Actions. ### Patch Changes - Updated dependencies \[[`f464318c`](f464318)]: - @hashicorp/react-actions@0.4.0 - @hashicorp/react-intro@0.5.0
ποΈ Asana Task
π Preview Link
π¨ Figma
Description
This PR adds support for the
StandaloneLink
inActions
. The requirements are as follows:Actions
supports all of theButton
/StandaloneLink
combinations in the spec.primary
variation andsecondary
variation respectively.Button
andStandaloneLink
render, theStandaloneLink
always comes second.Addition
The changeset includes the following:
StandaloneLink
to the render method ofActions
url
prop forActions
tohref
. This was done to match the<a>
attribute name.variant
prop from CTAs inActions
Intro
andNextSteps
. This occurs due to the change of theurl
prop tohref
Validation Steps
Actions
in the previewPR Checklist π
Items in this checklist may not may not apply to your PR, but please consider each item carefully.