chore: 🤖 polish card and example card usage

This commit is contained in:
Randall Morey committed 2021-06-22 12:58:34 -04:00
1 parent 8934e44558
commit 4abf4e5550
3 files changed
+13 -14

No files matched your search

+1 -1
View File
@@ -24,4 +24,4 @@
{{yield to='footer'}}
</footer>
{{/if}}
</section>
</section>
@@ -30,9 +30,9 @@
</Copyable>
</p>
{{!-- <Rose::Separator />
{{! <Rose::Separator />
<h3>Credentials</h3>--}}
<h3>Credentials</h3>
<Card @heading="Credentials" @icon='app-icons/credentials'>
<:body>
@@ -56,7 +56,7 @@
</Rose::Table>
</:body>
</Card>
}}
</:body>
<:footer>
<div>
@@ -83,4 +83,4 @@
{{/each}}
{{/each}}
{{outlet}}
{{outlet}}
@@ -13,10 +13,10 @@ module('Integration | Component | card', function (hooks) {
test('it renders with content', async function (assert) {
await render(hbs`
<Card as |card|>
<card.header></card.header>
<card.body></card.body>
<card.footer></card.footer>
<Card>
<:header></:header>
<:body></:body>
<:footer></:footer>
</Card>
`);
@@ -30,11 +30,10 @@ module('Integration | Component | card', function (hooks) {
await render(hbs`
<Card
@heading='This is a heading test'
@icon='key'
as |card|>
<card.header></card.header>
<card.body></card.body>
<card.footer></card.footer>
@icon='key'>
<:header></:header>
<:body></:body>
<:footer></:footer>
</Card>
`);