FEATURE: new API to add panels to sidebar (#22534)

Define new concept of panels in sidebar. Panels are wrappers around sidebar sections. In the future, it allows creating full focus mode by switching between panels.

A new API method called addSidebarPanel was added. Default main panel is already registered and by default all API sections are mounted to main.
This commit is contained in:
Krzysztof Kotlarek
2023-07-19 11:31:45 +10:00
committed by GitHub
parent 9ef2a2ac9b
commit 20ec7ac174
17 changed files with 414 additions and 78 deletions

View File

@@ -281,3 +281,10 @@
}
}
}
.sidebar__panel-switch-button {
margin: 1em 1.3em 0 1.3em;
&:last-of-type {
margin-bottom: 1em;
}
}