Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
didoo committed Mar 31, 2023
1 parent a17511c commit aabb4c8
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
{{#if this.hasModals}}
{{yield (hash Modals=(component "hds/app-frame/parts/modals"))}}
{{/if}}
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
}}
<footer class="hds-app-frame__footer" ...attributes>
{{yield}}
</footer>
</footer>
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
}}
<header class="hds-app-frame__header" ...attributes>
{{yield}}
</header>
</header>
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
}}
<main class="hds-app-frame__main" ...attributes>
{{yield}}
</main>
</main>
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
SPDX-License-Identifier: MPL-2.0
}}
{{! we use `:empty` in CSS so we have to avoid whitespaces }}
<div class="hds-app-frame__modals" ...attributes>{{~yield~}}</div>
<div class="hds-app-frame__modals" ...attributes>{{~yield~}}</div>
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
}}
<aside class="hds-app-frame__sidebar" ...attributes>
{{yield}}
</aside>
</aside>
3 changes: 1 addition & 2 deletions packages/components/tests/dummy/app/templates/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
}}

<div class="shw-landing-lists">
<div>
<Shw::Text::H2>Foundations</Shw::Text::H2>
Expand Down Expand Up @@ -220,4 +219,4 @@
</li>
</ol>
</div>
</div>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,10 @@

<Shw::Grid @columns={{2}} {{style gap="2rem"}} as |SG|>
<SG.Item>
<div class="shw-layout-app-frame-wrapper shw-layout-app-frame-wrapper--with-3d {{if this.show3DVisualization "shw-is-3d" "shw-is-flat"}}">
<div
class="shw-layout-app-frame-wrapper shw-layout-app-frame-wrapper--with-3d
{{if this.show3DVisualization 'shw-is-3d' 'shw-is-flat'}}"
>
<Hds::AppFrame as |Frame|>
<Frame.Header>
<Shw::Placeholder @height="60px" @text="header" @background="#e5ffd2" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render, pauseTest } from '@ember/test-helpers';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';

module('Integration | Component | hds/app-frame/index', function (hooks) {
Expand Down

0 comments on commit aabb4c8

Please sign in to comment.