-
Notifications
You must be signed in to change notification settings - Fork 51
Extend the "Button" component to support also links as actions (02) #220
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
Merged
didoo
merged 43 commits into
spike-BUTTON-LINK-CTA-main
from
spike-button-with-link-support
May 19, 2022
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
e2cbe81
updated the button to use the new interactive generic component
didoo 393f330
fixed underline of text on links
didoo 6b8441a
improved assertion guards in `button` to work differently between but…
didoo 0c87f75
added special visual treatment to alert the developer if a `href` HTM…
didoo 011de8d
updated documentation page for “button”
didoo abd2aac
updated integration tests for “button”
didoo cf58529
Merge branch 'spike-interactive-generic-component' into spike-button-…
didoo 9e68782
skipped failing test in "ember-lts-3.24"
didoo 81d5878
entirely removed `Link/LinkTo::CTA` from the HDS components
didoo 25223ec
skipped another failing test in "ember-lts-3.24"
didoo 821a86b
Merge branch 'spike-button-with-link-support' into spike-remove-link-CTA
didoo 1cdd811
linting
didoo cf71762
Merge branch 'spike-interactive-generic-component' into spike-button-…
didoo b0bc06f
updated documentation following the introduction of the `@isHrefExter…
didoo 934a3d5
forgot default
didoo 29f79fe
Merge branch 'spike-interactive-generic-component' into spike-button-…
didoo e104fbf
added missing `isHrefExternal` to Button component
didoo c812e39
Merge branch 'spike-button-with-link-support' into spike-remove-link-CTA
didoo c8106a9
Merge branch 'spike-interactive-generic-component' into spike-button-…
didoo 8faea6c
added missing test for `Button` component
didoo dba115f
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-button-with-link…
didoo 3a86700
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-remove-link-CTA
didoo 0a963a4
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-button-with-link…
didoo 18d5662
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-remove-link-CTA
didoo 4e13bcf
added a comment
didoo 84388c5
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-remove-link-CTA
didoo f65348b
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-button-with-link…
didoo 5571f30
Merge branch 'spike-button-with-link-support' into spike-remove-link-CTA
didoo cc4dcd7
Enable interactive links to be actioned using space
alex-ju 07dd76e
Test the dispatch of a click event when pressing space key on an inte…
alex-ju e59543b
Merge pull request #291 from hashicorp/alex-ju/action-interactive-lin…
alex-ju 1969434
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-button-with-link…
didoo de89138
Merge branch 'spike-button-with-link-support' into spike-remove-link-CTA
didoo 2535a1d
re-added the underline to the text when `Hds::Button` is a link
didoo 228e891
removed the `@type` argument in favour of the native `type` attribute…
didoo 2836b6f
updated documentation after removing `@type` argument
didoo e782b79
updated tests after removing `@type` argument
didoo 00573b5
removed extra test
didoo 54ef3b7
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-button-with-link…
didoo ccf9988
Merge branch 'spike-button-with-link-support' into spike-remove-link-CTA
didoo 885e398
Merge branch 'spike-BUTTON-LINK-CTA-main' into spike-button-with-link…
didoo 237e1cb
Merge branch 'spike-button-with-link-support' into spike-remove-link-CTA
didoo dff380e
Merge pull request #221 from hashicorp/spike-remove-link-CTA
didoo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
165 changes: 0 additions & 165 deletions
165
packages/components/addon/components/hds/link-to/cta.js
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
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.
I've removed the
@typeargument from the API in favour of thetypenative attribute (this simplifies the code)Notice: by default
type="button"(seeHds::Interactivecode)