Skip to content

Commit

Permalink
feat(card-section-offset): update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaeser committed May 24, 2024
1 parent 7a9aa6e commit e2f027a
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
```
<slot name="image-top">
</slot>
<div class="cds--card-section-offset__content">
<div
class="cds--card-section-offset__content"
part="content"
>
<slot name="heading">
</slot>
<slot name="action">
Expand All @@ -25,7 +28,10 @@
```
<slot name="image-top">
</slot>
<div class="cds--card-section-offset__content">
<div
class="cds--card-section-offset__content"
part="content"
>
<slot name="heading">
</slot>
<slot name="action">
Expand Down
30 changes: 24 additions & 6 deletions packages/web-components/tests/snapshots/c4d-card-section-simple.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,25 @@
#### `should render with minimum attributes`

```
<div class="cds--content-section cds--content-section-layout">
<div class="cds--content-section__leading">
<div
class="cds--content-section cds--content-section-layout"
part="layout"
>
<div
class="cds--content-section__leading"
part="leading"
>
<slot name="heading">
</slot>
<slot name="copy">
</slot>
<slot name="footer">
</slot>
</div>
<div class="cds--content-section__body">
<div
class="cds--content-section__body"
part="body"
>
<slot>
</slot>
</div>
Expand All @@ -25,16 +34,25 @@
#### `should render with various attributes`

```
<div class="cds--content-section cds--content-section-layout">
<div class="cds--content-section__leading">
<div
class="cds--content-section cds--content-section-layout"
part="layout"
>
<div
class="cds--content-section__leading"
part="leading"
>
<slot name="heading">
</slot>
<slot name="copy">
</slot>
<slot name="footer">
</slot>
</div>
<div class="cds--content-section__body">
<div
class="cds--content-section__body"
part="body"
>
<slot>
</slot>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#### `should render with various attributes`

```
<div
class="cds--content-layout cds--content-layout--with-footer"
part="content-layout"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand All @@ -42,6 +43,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand All @@ -68,6 +70,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand Down Expand Up @@ -95,6 +98,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand Down Expand Up @@ -126,6 +130,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand Down Expand Up @@ -155,6 +160,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand Down Expand Up @@ -184,6 +190,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand Down Expand Up @@ -211,6 +218,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand Down
18 changes: 14 additions & 4 deletions packages/web-components/tests/snapshots/c4d-content-item.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
#### `should render with minimum attributes`

```
<div>
<div part="heading">
<div
class="c4d--content-item__statitics"
hidden=""
part="statistics"
>
<slot name="statistics">
</slot>
</div>
<div
class="c4d--content-item__media"
hidden=""
part="media"
>
<slot name="media">
</slot>
Expand All @@ -28,6 +30,7 @@
<div
class="cds--content-item__cta"
hidden=""
part="cta"
>
<slot name="footer">
</slot>
Expand All @@ -40,15 +43,19 @@
#### `should render with various attributes`

```
<div>
<div part="heading">
<div
class="c4d--content-item__statitics"
hidden=""
part="statistics"
>
<slot name="statistics">
</slot>
</div>
<div class="c4d--content-item__media">
<div
class="c4d--content-item__media"
part="media"
>
<slot name="media">
</slot>
</div>
Expand All @@ -57,7 +64,10 @@
</slot>
<slot>
</slot>
<div class="cds--content-item__cta">
<div
class="cds--content-item__cta"
part="cta"
>
<slot name="footer">
</slot>
</div>
Expand Down
15 changes: 12 additions & 3 deletions packages/web-components/tests/snapshots/c4d-content-section.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,25 @@
#### `renders properly`

```
<div class="cds--content-section cds--content-section-layout">
<div class="cds--content-section__leading">
<div
class="cds--content-section cds--content-section-layout"
part="layout"
>
<div
class="cds--content-section__leading"
part="leading"
>
<slot name="heading">
</slot>
<slot name="copy">
</slot>
<slot name="footer">
</slot>
</div>
<div class="cds--content-section__body">
<div
class="cds--content-section__body"
part="body"
>
<slot>
</slot>
</div>
Expand Down

0 comments on commit e2f027a

Please sign in to comment.