-
Notifications
You must be signed in to change notification settings - Fork 125
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix to defecthunt issues in button (#3249)
- Loading branch information
Showing
7 changed files
with
30 additions
and
31 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
18 changes: 9 additions & 9 deletions
18
...ocs/platform-button/platform-button-examples/platform-button-icons-example.component.html
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,9 +1,9 @@ | ||
<fdp-button [glyph]="'cart'">Add to Cart</fdp-button> | ||
<fdp-button [buttonType]="'attention'" [glyph]="'cart'">Add to Cart</fdp-button> | ||
<fdp-button [buttonType]="'negative'" [glyph]="'filter'">Filter</fdp-button> | ||
<fdp-button [buttonType]="'positive'" [glyph]="'accept'">Approve</fdp-button> | ||
<fdp-button [glyph]="'cart'" title="cart"></fdp-button> | ||
<fdp-button [buttonType]="'empasized'" [glyph]="'cart'" title="cart"></fdp-button> | ||
<fdp-button [buttonType]="'negative'" [glyph]="'filter'" title="filter"></fdp-button> | ||
<fdp-button [buttonType]="'positive'" [glyph]="'accept'" title="accept"></fdp-button> | ||
<fdp-button [buttonType]="'transparent'" [glyph]="'menu2'" title="menu2"></fdp-button> | ||
<fdp-button glyph="cart">Add to Cart</fdp-button> | ||
<fdp-button buttonType="attention" glyph="cart">Add to Cart</fdp-button> | ||
<fdp-button buttonType="negative" glyph="filter">Filter</fdp-button> | ||
<fdp-button buttonType="positive" glyph="accept">Approve</fdp-button> | ||
<fdp-button glyph="cart" title="cart"></fdp-button> | ||
<fdp-button buttonType="empasized" glyph="cart" title="cart"></fdp-button> | ||
<fdp-button buttonType="negative" glyph="filter" title="filter"></fdp-button> | ||
<fdp-button buttonType="positive" glyph="accept" title="accept"></fdp-button> | ||
<fdp-button buttonType="transparent" glyph="menu2" title="menu2"></fdp-button> |
2 changes: 1 addition & 1 deletion
2
...ocs/platform-button/platform-button-examples/platform-button-sizes-example.component.html
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,2 +1,2 @@ | ||
<fdp-button>Normal Button</fdp-button> | ||
<fdp-button [contentDensity]="'compact'">Compact Button</fdp-button> | ||
<fdp-button contentDensity="compact">Compact Button</fdp-button> |
6 changes: 3 additions & 3 deletions
6
...ocs/platform-button/platform-button-examples/platform-button-state-example.component.html
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,3 +1,3 @@ | ||
<fdp-button [ariaSelected]="true">Selected State</fdp-button> | ||
<fdp-button [ariaDisabled]="true">Disabled State</fdp-button> | ||
<fdp-button [disabled]="true">Disabled State</fdp-button> | ||
<fdp-button ariaSelected="true">Selected State</fdp-button> | ||
<fdp-button ariaDisabled="true">Disabled State</fdp-button> | ||
<fdp-button disabled="true">Disabled State</fdp-button> |
12 changes: 6 additions & 6 deletions
12
...ocs/platform-button/platform-button-examples/platform-button-types-example.component.html
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,7 +1,7 @@ | ||
<fdp-button>Standard Button</fdp-button> | ||
<fdp-button [buttonType]="'emphasized'">Emphasized Button</fdp-button> | ||
<fdp-button [buttonType]="'ghost'">Ghost Button</fdp-button> | ||
<fdp-button [buttonType]="'positive'">Positive Button</fdp-button> | ||
<fdp-button [buttonType]="'attention'">Attention Button</fdp-button> | ||
<fdp-button [buttonType]="'negative'">Negative Button</fdp-button> | ||
<fdp-button [buttonType]="'transparent'">Transparent Button</fdp-button> | ||
<fdp-button buttonType="emphasized">Emphasized Button</fdp-button> | ||
<fdp-button buttonType="ghost">Ghost Button</fdp-button> | ||
<fdp-button buttonType="positive">Positive Button</fdp-button> | ||
<fdp-button buttonType="attention">Attention Button</fdp-button> | ||
<fdp-button buttonType="negative">Negative Button</fdp-button> | ||
<fdp-button buttonType="transparent">Transparent Button</fdp-button> |
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