- 
                Notifications
    You must be signed in to change notification settings 
- Fork 641
          Add missing link variant to Button
          #4814
        
          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
      
      
    
  
     Merged
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            10 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      64c04fc
              
                add missing link variant
              
              
                langermank f99c9ce
              
                Create beige-schools-kneel.md
              
              
                langermank a213f91
              
                add tooltip story
              
              
                langermank aec7989
              
                Merge branch 'button-link-variant' of https://github.com/primer/react…
              
              
                langermank d699614
              
                test(vrt): update snapshots
              
              
                langermank 6e8571d
              
                fix link style
              
              
                langermank 9202eaf
              
                Merge branch 'button-link-variant' of https://github.com/primer/react…
              
              
                langermank bc790dc
              
                reset
              
              
                langermank 7ba0325
              
                test(vrt): update snapshots
              
              
                langermank 7ad25a4
              
                Update .changeset/beige-schools-kneel.md
              
              
                langermank 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
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@primer/react": minor | ||
| --- | ||
|  | ||
| Add `link` variant to Button | 
        
          
  
    
      
          Binary file added
          
            BIN
              
                +8.04 KB
              
          
        
  ...shots/components/Button.test.ts-snapshots/Button-Link-dark-colorblind-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +7.97 KB
              
          
        
  ...snapshots/components/Button.test.ts-snapshots/Button-Link-dark-dimmed-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +8.09 KB
              
          
        
  ...ts/components/Button.test.ts-snapshots/Button-Link-dark-high-contrast-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +8.04 KB
              
          
        
  ...wright/snapshots/components/Button.test.ts-snapshots/Button-Link-dark-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +8.04 KB
              
          
        
  ...shots/components/Button.test.ts-snapshots/Button-Link-dark-tritanopia-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +7.99 KB
              
          
        
  ...hots/components/Button.test.ts-snapshots/Button-Link-light-colorblind-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +8.05 KB
              
          
        
  ...s/components/Button.test.ts-snapshots/Button-Link-light-high-contrast-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +7.99 KB
              
          
        
  ...right/snapshots/components/Button.test.ts-snapshots/Button-Link-light-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file added
          
            BIN
              
                +7.99 KB
              
          
        
  ...hots/components/Button.test.ts-snapshots/Button-Link-light-tritanopia-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +41 Bytes
                  (100%)
              
          
        
  ...ents/Button.test.ts-snapshots/Button-Trailing-Counter-dark-colorblind-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                -32 Bytes
                  (100%)
              
          
        
  ...mponents/Button.test.ts-snapshots/Button-Trailing-Counter-dark-dimmed-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +54 Bytes
                  (100%)
              
          
        
  ...s/Button.test.ts-snapshots/Button-Trailing-Counter-dark-high-contrast-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +41 Bytes
                  (100%)
              
          
        
  ...hots/components/Button.test.ts-snapshots/Button-Trailing-Counter-dark-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +41 Bytes
                  (100%)
              
          
        
  ...ents/Button.test.ts-snapshots/Button-Trailing-Counter-dark-tritanopia-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +51 Bytes
                  (100%)
              
          
        
  ...nts/Button.test.ts-snapshots/Button-Trailing-Counter-light-colorblind-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +56 Bytes
                  (100%)
              
          
        
  .../Button.test.ts-snapshots/Button-Trailing-Counter-light-high-contrast-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +51 Bytes
                  (100%)
              
          
        
  ...ots/components/Button.test.ts-snapshots/Button-Trailing-Counter-light-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
        
          
  
    
      
          Binary file modified
          
            BIN
              
                +51 Bytes
                  (100%)
              
          
        
  ...nts/Button.test.ts-snapshots/Button-Trailing-Counter-light-tritanopia-linux.png
  
  
      
      
   
        
      
      
    
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.
      
    
  
    
      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 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
    
  
  
    
              
  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.
Instead of manually styling these, we could use the
inlineprop on ourLinkcomponentThere 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.
It was competing with the
Linkstory so I kind of quickly did this instead. Especially since its just for a note.. I'm going to leave it for now but we can fix it later if needed.