Enhancement: customize sidebar items (#14052)

This commit is contained in:
shamoon authored and GitHub committed 2026-09-09 22:00:37 -07:00
1 parent 60709b8319
commit 2d64684043
12 files changed
+339 -22

No files matched your search

@@ -48,4 +48,14 @@ describe('SwitchComponent', () => {
component.value = undefined
expect(component.isUnset).toBeTruthy()
})
it('should support a compact layout', () => {
component.compact = true
component.title = 'Test switch'
fixture.detectChanges()
expect(fixture.nativeElement.querySelector('.mb-3')).toBeNull()
expect(fixture.nativeElement.querySelector('.row')).toBeNull()
expect(input.getAttribute('aria-label')).toEqual('Test switch')
})
})