class CustomSidebar extends HTMLElement {
connectedCallback() {
this.attachShadow({ mode: 'open' });
this.shadowRoot.innerHTML = `
`;
// Initialize feather icons
setTimeout(() => feather.replace(), 0);
}
}
customElements.define('custom-sidebar', CustomSidebar);