-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Style(web-twig): Unify usage of space between compound braces of props
- Loading branch information
Showing
14 changed files
with
19 additions
and
19 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
2 changes: 1 addition & 1 deletion
2
...web-twig/src/Resources/components/Button/__tests__/__fixtures__/buttonLoadingDefault.twig
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 @@ | ||
<Button color="primary" isLoading>Loading button</Button> | ||
|
||
<Button color="primary" isLoading isDisabled={false}>Loading button should still be disabled even if isDisabled is false</Button> | ||
<Button color="primary" isLoading isDisabled={ false }>Loading button should still be disabled even if isDisabled is false</Button> |
2 changes: 1 addition & 1 deletion
2
...rc/Resources/components/Button/__tests__/__fixtures__/buttonWithDisabledFalseDefault.twig
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 +1 @@ | ||
<Button color="primary" isDisabled={false}>Not Disabled button</Button> | ||
<Button color="primary" isDisabled={ false }>Not Disabled button</Button> |
2 changes: 1 addition & 1 deletion
2
...esources/components/Button/__tests__/__fixtures__/buttonWithDisabledFalsePropDefault.twig
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 @@ | ||
<Button color="primary" isDisabled={false}>Not Disabled button with boolean false prop value</Button> | ||
<Button color="primary" isDisabled={ false }>Not Disabled button with boolean false prop value</Button> | ||
<Button color="primary" isDisabled="false">Disabled button with string false prop value, should still be disabled</Button> |
4 changes: 2 additions & 2 deletions
4
.../web-twig/src/Resources/components/Button/__tests__/__fixtures__/buttonWithMainProps.twig
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 @@ | ||
{% set onClickCallback = "alert('\" test')" %} | ||
|
||
<Button id="testId" name="testName" data-main="main" aria-label="label" not-valid-prop="unexist" color="primary" onclick={onClickCallback} formtarget="_blank">button</Button> | ||
<Button id="testId" name="testName" data-main="main" aria-label="label" not-valid-prop="unexist" color="primary" onclick={ onClickCallback } formtarget="_blank">button</Button> | ||
|
||
{% set onClickAppend = "document.body.append('<span>hello there</span>'); return false;" %} | ||
|
||
<Button id="testId" name="testName" data-main="main" aria-label="label" not-valid-prop="unexist" color="primary" onclick={onClickAppend}>button</Button> | ||
<Button id="testId" name="testName" data-main="main" aria-label="label" not-valid-prop="unexist" color="primary" onclick={ onClickAppend }>button</Button> |
2 changes: 1 addition & 1 deletion
2
.../src/Resources/components/ButtonLink/__tests__/__fixtures__/buttonLinkLoadingDefault.twig
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 @@ | ||
<ButtonLink href="#" color="primary" isLoading>Loading button link</ButtonLink> | ||
|
||
<ButtonLink href="#" color="primary" isLoading isDisabled={false}>Loading button link should still be disabled even if isDisabled is false</ButtonLink> | ||
<ButtonLink href="#" color="primary" isLoading isDisabled={ false }>Loading button link should still be disabled even if isDisabled is false</ButtonLink> |
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 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