export default class Sidebar { /** Sidebar hamburger button that toggles the sidebar when clicked */ public readonly hamburgerButton = '.kui--top-tab-stripe-header .kui--top-tab-stripe-header--toggle-button' ; /** Sidebar content is inside of this */ public readonly contentContainer = '.kui--tab-container-sidebar' ; /** Sidebar content container, either visible or not */ public contentContainerVisible ( visible = true ) { return `${ this . contentContainer }[aria-hidden="${ ! visible }"]` ; } /** Sidebar nav item */ public item ( title ) { return `${ this . contentContainer } .kui--sidebar-nav-item[data-title="${ title }"]` ; } }