-
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.
Feat(web-twig): Collapse Twig properties update, tests, documentation
- Loading branch information
1 parent
d3c8093
commit 3bdf57d
Showing
9 changed files
with
41 additions
and
21 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
6 changes: 6 additions & 0 deletions
6
...sts/__snapshots__/ComponentsSnapshotTest__test with data set collapseDefault.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,6 @@ | ||
<html><body> | ||
<button data-toggle="collapse" data-target="CollapseExample0" class="Button Button--primary Button--medium" type="button">Toggle</button> | ||
<div id="CollapseExample0" class="Collapse"> | ||
<div class="Collapse__content">Content </div> | ||
</div> | ||
</body></html> |
6 changes: 6 additions & 0 deletions
6
...ests/__snapshots__/ComponentsSnapshotTest__test with data set collapseOpened.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,6 @@ | ||
<html><body> | ||
<button data-toggle="collapse" data-target="CollapseExample1" aria-expanded="true" class="Button Button--primary Button--medium" type="button">Toggle</button> | ||
<div id="CollapseExample1" class="Collapse"> | ||
<div class="Collapse__content">Content </div> | ||
</div> | ||
</body></html> |
6 changes: 6 additions & 0 deletions
6
...napshots__/ComponentsSnapshotTest__test with data set collapseWithParentProp.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,6 @@ | ||
<html><body> | ||
<button data-toggle="collapse" data-target="CollapseExample2" class="Button Button--primary Button--medium" type="button">Toggle</button> | ||
<div id="CollapseExample2" data-parent="#testParentPropId" class="Collapse"> | ||
<div class="Collapse__content">Content </div> | ||
</div> | ||
</body></html> |
2 changes: 2 additions & 0 deletions
2
packages/web-twig/tests/components-fixtures/collapseDefault.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,2 @@ | ||
<Button data-toggle="collapse" data-target="CollapseExample0">Toggle</Button> | ||
<Collapse id="CollapseExample0">Content</Collapse> |
2 changes: 2 additions & 0 deletions
2
packages/web-twig/tests/components-fixtures/collapseOpened.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,2 @@ | ||
<Button data-toggle="collapse" data-target="CollapseExample1" aria-expanded="true">Toggle</Button> | ||
<Collapse id="CollapseExample1">Content</Collapse> |
2 changes: 2 additions & 0 deletions
2
packages/web-twig/tests/components-fixtures/collapseWithParentProp.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,2 @@ | ||
<Button data-toggle="collapse" data-target="CollapseExample2">Toggle</Button> | ||
<Collapse id="CollapseExample2" parent="#testParentPropId">Content</Collapse> |
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