-
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.
Fix(web-twig): Blank spaces in class props
- Loading branch information
Showing
19 changed files
with
49 additions
and
32 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
8 changes: 4 additions & 4 deletions
8
...s/__snapshots__/ComponentsSnapshotTest__test with data set breadcrumbsCustom.twig__1.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,10 +1,10 @@ | ||
<html><body> | ||
<nav class="Breadcrumbs" aria-label="Breadcrumb"> | ||
<ol> | ||
<li class="d-none d-tablet-flex"><a aria-current="false" href="#rootUrl" class="link-primary link-underlined">Root</a></li> | ||
<li class="d-none d-tablet-flex"><a aria-current="false" href="#categoryUrl" class="link-primary link-underlined">Category</a></li> | ||
<li class="d-tablet-none"><a href="#subcategoryUrl" class="link-primary link-underlined"></a></li> | ||
<li class="d-none d-tablet-flex"><a aria-current="false" href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a></li> | ||
<li class="d-none d-tablet-flex"><a aria-current="false" href="#rootUrl" class="link-primary link-underlined">Root</a></li> | ||
<li class="d-none d-tablet-flex"><a aria-current="false" href="#categoryUrl" class="link-primary link-underlined">Category</a></li> | ||
<li class="d-tablet-none"><a href="#subcategoryUrl" class="link-primary link-underlined"></a></li> | ||
<li class="d-none d-tablet-flex"><a aria-current="false" href="#subcategoryUrl" class="link-primary link-underlined">Subcategory</a></li> | ||
<li class="d-none d-tablet-flex"><a aria-current="page" href="#currentUrl" class="link-secondary">Current page</a></li> | ||
</ol></nav> | ||
</body></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
3 changes: 3 additions & 0 deletions
3
...shots__/ComponentsSnapshotTest__test with data set buttonLinkDisabledDefault.twig__1.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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<html><body> | ||
<a class="Button Button--primary Button--disabled Button--medium" href="#" disabled>Disabled button link</a> | ||
</body></html> |
4 changes: 2 additions & 2 deletions
4
..._snapshots__/ComponentsSnapshotTest__test with data set checkboxFieldDefault.twig__1.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,8 +1,8 @@ | ||
<html><body> | ||
<label for="example" class="CheckboxField CheckboxField--error"> | ||
<label for="example" class="CheckboxField CheckboxField--error"> | ||
<input type="checkbox" id="example" name="example" class="CheckboxField__input" checked required> | ||
<span class="CheckboxField__text"> | ||
<span class="CheckboxField__label CheckboxField__label--required"></span> | ||
<span class="CheckboxField__label CheckboxField__label--required"></span> | ||
</span> | ||
</label> | ||
</body></html> |
4 changes: 2 additions & 2 deletions
4
...pshots__/ComponentsSnapshotTest__test with data set checkboxFieldDefaultPure.twig__1.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,8 +1,8 @@ | ||
<html><body> | ||
<label for="example" class="CheckboxField CheckboxField--error"> | ||
<label for="example" class="CheckboxField CheckboxField--error"> | ||
<input type="checkbox" id="example" name="example" class="CheckboxField__input" required> | ||
<span class="CheckboxField__text"> | ||
<span class="CheckboxField__label CheckboxField__label--required">some label</span> | ||
<span class="CheckboxField__label CheckboxField__label--required">some label</span> | ||
<span class="CheckboxField__message">validation failed</span> </span> | ||
</label> | ||
</body></html> |
2 changes: 1 addition & 1 deletion
2
...g/tests/__snapshots__/ComponentsSnapshotTest__test with data set gridDefault.twig__1.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
2 changes: 1 addition & 1 deletion
2
...sts/__snapshots__/ComponentsSnapshotTest__test with data set gridDefaultPure.twig__1.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
2 changes: 1 addition & 1 deletion
2
...__/ComponentsSnapshotTest__test with data set gridLayoutWithResetPropDefault.twig__1.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
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
..._snapshots__/ComponentsSnapshotTest__test with data set headerSimpleInverted.twig__1.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
2 changes: 1 addition & 1 deletion
2
...g/tests/__snapshots__/ComponentsSnapshotTest__test with data set linkDefault.twig__1.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
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
4 changes: 2 additions & 2 deletions
4
..._snapshots__/ComponentsSnapshotTest__test with data set passwordFieldDefault.twig__1.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
4 changes: 2 additions & 2 deletions
4
...ts/__snapshots__/ComponentsSnapshotTest__test with data set textFieldDefault.twig__1.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
4 changes: 2 additions & 2 deletions
4
..._snapshots__/ComponentsSnapshotTest__test with data set textFieldDefaultPure.twig__1.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
1 change: 1 addition & 0 deletions
1
packages/web-twig/tests/components-fixtures/buttonLinkDisabledDefault.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<ButtonLink href="#" color="primary" isDisabled>Disabled button link</ButtonLink> |