-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: lilyvc <[email protected]> Co-authored-by: Joana Moreira <[email protected]>
- Loading branch information
1 parent
fe399f9
commit 25f3010
Showing
6 changed files
with
92 additions
and
33 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,17 +1,27 @@ | ||
--- | ||
title: Button | ||
data: | ||
description: Button is an interactive component that allows the user to execute an action. There are three Button variants—CTA (call to action), primary and secondary—that you can display with or without a label or icon, and in various states. | ||
description: Button is an interactive component that allows the user to execute an action. There are three Button variants—CTA (call to action), primary (default) and secondary. You can display Button with or without a text description or icon, and in various states. | ||
|
||
# Fill in the info from the content template's "Metadata" table below. | ||
# To omit optional items, comment them out with # | ||
sourceCodeUrl: "https://github.com/jpmorganchase/salt-ds/blob/main/packages/core/src/button/Button.tsx" | ||
package: | ||
name: "@salt-ds/core" | ||
initialVersion: "1.0.0" | ||
alsoKnownAs: ["Action", "UI action"] | ||
relatedComponents: | ||
[ | ||
relatedComponents: [ | ||
# Add a { name: "...", relationship: "..." } block for each | ||
# related component here (separated by commas). | ||
# Permitted values for relationship are: "similarTo" or | ||
# "contains". | ||
{ name: "Link", relationship: "similarTo" }, | ||
{ name: "Icon", relationship: "contains" }, | ||
{ name: "StatusIndicator", relationship: "contains" }, | ||
] | ||
stickerSheet: "" | ||
# stickerSheet: "https://figma.com/..." | ||
|
||
# Leave this as is | ||
layout: DetailComponent | ||
--- | ||
|
||
{/* This area stays blank */} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export * from "./CTA"; | ||
export * from "./Disabled"; | ||
export * from "./IconAndLabel"; | ||
export * from "./IconAndText"; | ||
export * from "./IconOnly"; | ||
export * from "./Primary"; | ||
export * from "./Secondary"; |
25f3010
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.
Successfully deployed to the following URLs:
saltdesignsystem – ./
saltdesignsystem.vercel.app
www.saltdesignsystem.com
saltdesignsystem-fed-team.vercel.app
next.saltdesignsystem.com
saltdesignsystem-git-main-fed-team.vercel.app