[ADF-3053] breadcrumb fixes (#3406)

* translate breadcrumb root in demo shell

* optional "max items" feature and style fixes

* should not be restricted by default

* style updates

* toolbar and breadcrumb layout fixes

* breadcrumb demo and testing page

* full toolbar scenario

* fix translation issue with the dropdown and custom root

* a11y fixes

* fix issue with duplicate id, remove unused attribute
This commit is contained in:
Denys Vuika
2018-05-25 20:42:24 +01:00
committed by Eugenio Romano
parent 11bac7e796
commit fd729e76c0
18 changed files with 182 additions and 50 deletions

View File

@@ -166,7 +166,7 @@ describe('DropdownBreadcrumb', () => {
it('should open the selectbox when clicking on the folder icon', (done) => {
triggerComponentChange(fakeNodeWithCreatePermission);
spyOn(component.selectbox, 'open');
spyOn(component.dropdown, 'open');
fixture.whenStable().then(() => {
@@ -174,7 +174,7 @@ describe('DropdownBreadcrumb', () => {
fixture.whenStable().then(() => {
expect(component.selectbox.open).toHaveBeenCalled();
expect(component.dropdown.open).toHaveBeenCalled();
done();
});
});