33minver: 1.1.0
44also:
55 components/topnav/test.html: Full Page Demo - Top Navigation
6- elements/hx-navigation-control: < hx-navigation-control >
76---
87 {% extends 'component.njk' %}
98
109 {% block page_header %}
1110 < p >
12- The {{page.title}} is the top navigation menu bar across all breakpoints within the application frame of a HelixUI interface.
13- Use the {{page.title}} to provide access to globally available features, such as account settings, billing, tickets,
14- user management and so on.
11+ {{page.title}} is the top navigation menu bar across all breakpoints
12+ within the application frame of a HelixUI interface. Use {{page.title}} to
13+ provide access to globally available features, such as account settings,
14+ billing, tickets, user management and so on.
1515 </ p >
1616 {% endblock %}
1717
1818 {% block content %}
1919
2020 < section >
2121 < header >
22- < h2 id ="icon-badge "> Nav Menu</ h2 >
22+ < h2 id ="top-navigation "> Top Navigation</ h2 >
23+ < h3 >
24+ See the snippet below in isolation with the
25+ < a href ="components/topnav/test.html "> full-page</ a > demo.
26+ </ h3 >
27+ < br />
2328 </ header >
2429
2530 < div id ="vue-topNavDemo ">
26- < div id ="hxTopNav ">
27- < a class ="img-left brand-logo " href ="# "> < img src ="images/helix-logo.svg " alt ="Logo " /> </ a >
28- < div class ="productMenu ">
29- < hx-disclosure id ="topnav-productMenu " aria-controls ="topnavProductDropdown " role ="button "
30- aria-expanded ="true " class ="disabled ">
31- < span > Select a Product</ span >
31+ < nav id ="hxTopNav ">
32+ < a class ="hxTopNavLogo " href ="# ">
33+ < img src ="images/helix-logo.svg " alt ="Brand Logo " />
34+ </ a >
35+ < div class ="hxTopNavMenu hxTopNavOptionMenu ">
36+ < hx-disclosure
37+ aria-controls ="topnav-menu-options "
38+ role ="button "
39+ aria-expanded ="true "
40+ >
41+ < span > Select an option</ span >
3242 < hx-icon class ="hxPrimary " type ="angle-down "> </ hx-icon >
3343 </ hx-disclosure >
34- < hx-menu id ="topnavProductDropdown ">
35- < div class =" sectionHeader " >
36- < hx-menuitem role ="menuitem "> Product Alpha</ hx-menuitem >
37- < hx-menuitem role ="menuitem "> Product Beta Services</ hx-menuitem >
38- < hx-menuitem role ="menuitem "> Product Charlie Service Offering </ hx-menuitem >
39- </ div >
44+ < hx-menu id ="topnav-menu-options ">
45+ < section >
46+ < hx-menuitem role ="menuitem "> Option Alpha</ hx-menuitem >
47+ < hx-menuitem role ="menuitem "> Option Beta Services</ hx-menuitem >
48+ < hx-menuitem role ="menuitem "> Option Gamma </ hx-menuitem >
49+ </ section >
4050 </ hx-menu >
4151 </ div >
42- < div id =" right-menu ">
43- < a >
44- < a href ="# " @click ="selectedTag(tab) " :current-tab =" currentTab ">
52+ < div class =" hxTopNavIconMenu ">
53+ < div >
54+ < a href ="# " @click ="notify() ">
4555 < hx-icon type ="bell "> </ hx-icon >
4656 < p > Notifications</ p >
4757 </ a >
@@ -56,48 +66,51 @@ <h2 id="icon-badge">Nav Menu</h2>
5666 < p > Support</ p >
5767 </ a >
5868
59- < a href ="# " class ="disabled " id ="billing ">
69+ < a href ="# " class ="hxDisabled " id ="billing ">
6070 < hx-icon type ="billing "> </ hx-icon >
6171 < p > Billing</ p >
6272 < hx-tooltip for ="billing " position ="bottom-center ">
63- You do not have access to this area. Contact an account admin in your organization to request access to
64- this item.
73+ You do not have access to this area. Contact an account admin
74+ in your organization to request access to this item.
6575 </ hx-tooltip >
6676 </ a >
6777
6878 < a href ="# ">
6979 < hx-icon type ="account "> </ hx-icon >
7080 < p > Account</ p >
7181 </ a >
72- </ a >
73- < div class ="straightLine "> </ div >
74- < div >
75- < hx-disclosure id ="topnav-menu " aria-controls ="topnavMenuId " role ="button " aria-expanded ="true "
76- class ="disabled ">
82+ </ div >
83+ < div class ="hxSpacer "> </ div >
84+ < div class ="hxTopNavMenu ">
85+ < hx-disclosure
86+ aria-controls ="demo-user-menu "
87+ role ="button "
88+ aria-expanded ="true "
89+ >
7790 < span > Jane User</ span >
7891 < hx-icon class ="hxPrimary " type ="angle-down "> </ hx-icon >
7992 </ hx-disclosure >
80- < hx-menu id ="topnavMenuId " position ="bottom-end ">
81- < div class =" sectionHeader " >
82- < hx-menuitem role =" menuitem " class =" menuKey " > Account Number : </ hx-menuitem >
83- < hx-menuitem role ="menuitem " class ="menuValue " > 12345678 </ hx-menuitem >
84- </ div >
85- < hr class =" divider " >
86- < div class ="sectionBody ">
87- < hx-menuitem role ="menuitem " class ="menuValue "> My Profile & Settings</ hx-menuitem >
88- </ div >
89- < hr class =" divider " >
90- < div class ="sectionFooter " >
91- < button class =" hxBtn " > Log Out </ button >
92- </ div >
93+ < hx-menu id ="demo-user-menu " position ="bottom-end ">
94+ < section >
95+ < header >
96+ < hx-menuitem role ="menuitem " class ="hxMenuKey " > Account Number: </ hx-menuitem >
97+ < hx-menuitem role =" menuitem " class =" hxMenuValue " > 12345678 </ hx-menuitem >
98+ </ header >
99+ < hr class ="hxDivider ">
100+ < hx-menuitem role ="menuitem " class ="hxMenuValue "> My Profile & Settings</ hx-menuitem >
101+ < hr class =" hxDivider " >
102+ < footer >
103+ < button class ="hxBtn " > Log Out </ button >
104+ </ footer >
105+ </ section >
93106 </ hx-menu >
94107 </ div >
95108 </ div >
96- </ div >
109+ </ nav >
97110
98111 < footer >
99112 < pre > < code v-text ="snippet "> </ code > </ pre >
100113 </ footer >
101114 </ div >
102115 </ section >
103- {% endblock %}
116+ {% endblock %}
0 commit comments