Skip to content

Commit f40f50d

Browse files
authored
Adjust 'full app' examples to be conformant (#2355)
1 parent 7ec8e16 commit f40f50d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

showcase/app/templates/layouts/app-frame/frameless/demo-full-app-frame-with-app-header.hbs

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@
5353
<Frame.Sidebar>
5454
<Hds::SideNav @isResponsive={{true}} @hasA11yRefocus={{false}} @isCollapsible={{true}}>
5555
<:body>
56-
<Hds::SideNav::List aria-label="Dashboard" as |SNL|>
56+
<Hds::SideNav::List class="hds-side-nav-hide-when-minimized" aria-label="Dashboard" as |SNL|>
5757
<SNL.Link @icon="dashboard" @text="Dashboard" @isActive={{true}} />
5858
</Hds::SideNav::List>
59-
<Hds::SideNav::List aria-label="Services" as |SNL|>
59+
<Hds::SideNav::List class="hds-side-nav-hide-when-minimized" aria-label="Services" as |SNL|>
6060
<SNL.Title>Services</SNL.Title>
6161
<SNL.Link @text="Boundary" @icon="boundary" @href="#" />
6262
<SNL.Link @text="Consul" @icon="consul" @href="#" />
@@ -67,7 +67,7 @@
6767
<SNL.Link @text="Vagrant" @icon="vagrant" @badge="Alpha" @href="#" />
6868
<SNL.Link @text="Waypoint" @icon="waypoint" @badge="Alpha" @hasSubItems={{true}} />
6969
</Hds::SideNav::List>
70-
<Hds::SideNav::List aria-label="Organization" as |SNL|>
70+
<Hds::SideNav::List class="hds-side-nav-hide-when-minimized" aria-label="Organization" as |SNL|>
7171
<SNL.Title>Default Org</SNL.Title>
7272
<SNL.Link @text="HashiCorp Virtual Networks" @icon="network" @href="#" />
7373
<SNL.Link @text="Access control (IAM)" @icon="users" @href="#" @hasSubItems={{true}} />

showcase/app/templates/layouts/app-frame/frameless/demo-full-app-frame-with-side-nav.hbs

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
</Hds::SideNav::Header>
4444
</:header>
4545
<:body>
46-
<Hds::SideNav::List aria-label="Dashboard" as |SNL|>
46+
<Hds::SideNav::List class="hds-side-nav-hide-when-minimized" aria-label="Dashboard" as |SNL|>
4747
<SNL.Link @icon="dashboard" @text="Dashboard" @isActive={{true}} />
4848
</Hds::SideNav::List>
49-
<Hds::SideNav::List aria-label="Services" as |SNL|>
49+
<Hds::SideNav::List class="hds-side-nav-hide-when-minimized" aria-label="Services" as |SNL|>
5050
<SNL.Title>Services</SNL.Title>
5151
<SNL.Link @text="Boundary" @icon="boundary" @href="#" />
5252
<SNL.Link @text="Consul" @icon="consul" @href="#" />
@@ -57,7 +57,7 @@
5757
<SNL.Link @text="Vagrant" @icon="vagrant" @badge="Alpha" @href="#" />
5858
<SNL.Link @text="Waypoint" @icon="waypoint" @badge="Alpha" @hasSubItems={{true}} />
5959
</Hds::SideNav::List>
60-
<Hds::SideNav::List aria-label="Organization" as |SNL|>
60+
<Hds::SideNav::List class="hds-side-nav-hide-when-minimized" aria-label="Organization" as |SNL|>
6161
<SNL.Title>Default Org</SNL.Title>
6262
<SNL.Link @text="HashiCorp Virtual Networks" @icon="network" @href="#" />
6363
<SNL.Link @text="Access control (IAM)" @icon="users" @href="#" @hasSubItems={{true}} />
@@ -67,7 +67,7 @@
6767
</Hds::SideNav::List>
6868
</:body>
6969
<:footer>
70-
<Hds::Dropdown class="shw-layout-app-frame-full-width-elem" as |dd|>
70+
<Hds::Dropdown class="hds-side-nav-hide-when-minimized shw-layout-app-frame-full-width-elem" as |dd|>
7171
<dd.ToggleButton @text="Choose an organization" @icon="org" />
7272
<dd.Checkmark>
7373
organizationName

0 commit comments

Comments
 (0)