mirror of
https://github.com/hashicorp/vault.git
synced 2025-08-17 12:07:02 +02:00
* adds ember-flight-icons dependecy * adds inline-json-import babel plugin * adds flight icon styling * updates Icon component to support flight icons * updates Icon component usages to new api and updates name values to flight icon set when available * fixes tests * updates icon story with flight mappings and fixes issue with flight icons not rendering in storybook * adds changelog * fixes typo in sign action glyph name in transit-key model * adds comments to icon-map * updates Icon component to use only supported flight icon sizes * adds icon transform codemod * updates icon transform formatting to handle edge case * runs icon transform on templates * updates Icon usage in toolbar-filter md and story * updates tests
43 lines
1.3 KiB
Handlebars
43 lines
1.3 KiB
Handlebars
<nav class="navbar">
|
|
<div class="navbar-brand" data-test-navheader-home>
|
|
{{yield (hash home=(component 'nav-header/home'))}}
|
|
</div>
|
|
|
|
{{#unless navDrawerOpen}}
|
|
<button type="button" class="navbar-drawer-toggle is-hidden-tablet" {{action "toggleNavDrawer"}}>
|
|
<Icon @name="more-vertical" />
|
|
Menu
|
|
</button>
|
|
{{/unless}}
|
|
|
|
{{#unless hideLinks}}
|
|
<div class="navbar-drawer{{if navDrawerOpen ' is-active'}}">
|
|
<div class="navbar-drawer-scroll">
|
|
<div data-test-navheader-main>
|
|
{{yield (hash
|
|
main=(component 'nav-header/main')
|
|
closeDrawer=(action "toggleNavDrawer" false)
|
|
)
|
|
}}
|
|
</div>
|
|
<div class="navbar-end" data-test-navheader-items>
|
|
{{yield (hash
|
|
items=(component 'nav-header/items')
|
|
closeDrawer=(action "toggleNavDrawer" false)
|
|
)
|
|
}}
|
|
</div>
|
|
</div>
|
|
|
|
{{#if navDrawerOpen}}
|
|
<button class=" navbar-drawer-toggle is-hidden-tablet" type="button" {{action "toggleNavDrawer" false}}>
|
|
<Icon @name="x" />
|
|
</button>
|
|
{{/if}}
|
|
</div>
|
|
{{/unless}}
|
|
|
|
<div class="navbar-drawer-overlay{{if navDrawerOpen ' is-active'}}" onclick={{action "toggleNavDrawer" (not navDrawerOpen)}}></div>
|
|
</nav>
|
|
<Console::UiPanel @isFullscreen={{consoleFullscreen}} />
|