-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3000 from jd239/feat/slot-changes-after-inital-re…
…nder [ic-footer]: Slot updates after initial render
- Loading branch information
Showing
22 changed files
with
521 additions
and
157 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
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
33 changes: 33 additions & 0 deletions
33
...ges/web-components/src/components/ic-alert/test/basic/__snapshots__/ic-alert.spec.ts.snap
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,33 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`ic-alert component should test rendering an action after initial render 1`] = ` | ||
<ic-alert class="dark" heading="Test heading" role="alert"> | ||
<mock:shadow-root> | ||
<div class="container container-neutral"> | ||
<div class="alert-icon-container"> | ||
<div class="divider divider-neutral"></div> | ||
<span class="alert-icon icon-neutral svg-container"> | ||
svg | ||
</span> | ||
</div> | ||
<div class="alert-content"> | ||
<div class="alert-message"> | ||
<ic-typography class="alert-title" variant="subtitle-large"> | ||
<p> | ||
Test heading | ||
</p> | ||
</ic-typography> | ||
<slot name="message"> | ||
<ic-typography variant="body"></ic-typography> | ||
</slot> | ||
</div> | ||
<div class="alert-action-container"> | ||
<slot name="action"></slot> | ||
</div> | ||
</div> | ||
<div class="dismiss-icon-container"></div> | ||
</div> | ||
</mock:shadow-root> | ||
<button slot="action"></button> | ||
</ic-alert> | ||
`; |
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
Oops, something went wrong.