-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
UI: HDS adoption replace <CopyButton> part 5: Cleanup #22884
Merged
hellobontempo
merged 17 commits into
ui/VAULT-18829/hds-adoption-replace-CopyButton
from
ui/VAULT-19017/replace-CopyButton-part-5
Sep 13, 2023
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
9093b2b
remove unecessary code-snippet.scssn class
malinac02 30a6f7d
remove copy classes from masked-input.scss
malinac02 1881983
remove copy button class from text-file.scss
malinac02 dba8f5e
Merge branch 'ui/VAULT-18829/hds-adoption-replace-CopyButton' into ui…
malinac02 576ebc6
uninstall ember-cli-clipboard 0.16.0 since there is no longer structu…
malinac02 07893ff
remove copyright message from code-snippet.scss to avoid merge confli…
malinac02 10d9896
replace 2 classes with one
malinac02 ba39e73
remove unecessary class from copy button
malinac02 fd73aa9
cleanup classes
malinac02 4563973
revert changes to avoid merge conflicts
hellobontempo 5c776ab
remove is-block class
hellobontempo af592ad
conditionally render private key
hellobontempo 75b8a20
add more info to comment
hellobontempo dec1736
remove HoverCopyButton
hellobontempo 4abd1b7
add missing selector
hellobontempo 9386f90
fix control group padding
hellobontempo d37d5d0
Merge branch 'ui/VAULT-18829/hds-adoption-replace-CopyButton' into ui…
hellobontempo 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 was deleted.
Oops, something went wrong.
This file contains 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 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 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.
This file contains 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -333,7 +333,8 @@ a.button.disabled { | |
} | ||
} | ||
|
||
// Modification to HDS copy button component to match current UI | ||
// Styling to <Hds::Copy::Button> component to match existing UI Structure buttons | ||
// Will likely be removed/modified when all buttons are audited and replaced with HDS | ||
.hds-copy-button { | ||
&.icon-only { | ||
background: none; | ||
|
@@ -347,27 +348,6 @@ a.button.disabled { | |
color: $white; | ||
} | ||
|
||
&.hidden-icon svg { | ||
color: transparent; | ||
} | ||
|
||
&.size-7 div { | ||
font-size: $size-7; | ||
} | ||
|
||
&.code-snippet { | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
min-width: auto; | ||
padding: $size-11 $size-8; | ||
color: $ui-gray-300; | ||
|
||
svg { | ||
color: $ui-gray-300; | ||
} | ||
} | ||
|
||
&.is-primary { | ||
background-color: $blue; | ||
box-shadow: $box-shadow-low; | ||
|
@@ -395,9 +375,25 @@ a.button.disabled { | |
min-width: 6rem; | ||
} | ||
|
||
&.hover-button { | ||
min-width: $spacing-xl; | ||
border-radius: 0; | ||
box-shadow: 0 3px 1px 0px rgba(10, 10, 10, 0.12); | ||
&.code-snippet { | ||
background: none; | ||
border: none; | ||
box-shadow: none; | ||
min-width: auto; | ||
padding: $size-11 $size-8; | ||
color: $ui-gray-300; | ||
|
||
svg { | ||
color: $ui-gray-300; | ||
} | ||
} | ||
|
||
&.in-dropdown { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nice job combining the classes! |
||
div { | ||
font-size: $size-7; | ||
} | ||
svg { | ||
color: transparent; | ||
} | ||
} | ||
} |
This file contains 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 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 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 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 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 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 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.
This file contains 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
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.
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.
Combined 2 classes into one, this is applied to copy buttons which are in dropdowns