Skip to content

Commit

Permalink
feat: make SuperUpdateButton's button secondary (#1286) (#1287)
Browse files Browse the repository at this point in the history
* feat: make SuperUpdateButton's button secondary

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

* Update snapshot tests

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>

* Update CHANGELOG.md

Signed-off-by: Viraj Sanghvi <vsanghvi@gmail.com>

---------

Signed-off-by: Viraj Sanghvi <virajs@amazon.com>
Signed-off-by: Viraj Sanghvi <vsanghvi@gmail.com>
(cherry picked from commit e98bac2)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 2e7e3fe commit ccebda7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ exports[`OuiSuperUpdateButton is rendered 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="primary"
fill={true}
iconType="refresh"
isDisabled={false}
isLoading={false}
Expand Down Expand Up @@ -41,7 +40,6 @@ exports[`OuiSuperUpdateButton isDisabled 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="primary"
fill={true}
iconType="refresh"
isDisabled={true}
isLoading={false}
Expand All @@ -68,7 +66,6 @@ exports[`OuiSuperUpdateButton isLoading 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="success"
fill={true}
iconType="kqlFunction"
isDisabled={false}
isLoading={true}
Expand Down Expand Up @@ -101,7 +98,6 @@ exports[`OuiSuperUpdateButton needsUpdate 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="success"
fill={true}
iconType="kqlFunction"
isDisabled={false}
isLoading={false}
Expand All @@ -128,7 +124,6 @@ exports[`OuiSuperUpdateButton showTooltip 1`] = `
<OuiButton
className="ouiSuperUpdateButton"
color="primary"
fill={true}
iconType="refresh"
isDisabled={false}
isLoading={false}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ export class OuiSuperUpdateButton extends Component<OuiSuperUpdateButtonProps> {
<OuiButton
className={classes}
color={needsUpdate || isLoading ? 'success' : 'primary'}
fill
iconType={needsUpdate || isLoading ? 'kqlFunction' : 'refresh'}
textProps={{
...restTextProps,
Expand Down

0 comments on commit ccebda7

Please sign in to comment.