Navigation: allow adding extra content (#44048)

* Add PRO badge

* Allow adding extra content

* Add extra content for the new navbar

* Use highlight text instead of extra content

* Trigger extra events

* Remove ExtraContent

* Update public/app/core/components/NavBar/NavFeatureHighlight.tsx

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>

* Remove redundant i

* Add UpgradeBox

* Move highlight to menu trigger

* Clear navbar next

* Cleanup

* Fix UpgradeBox styles

* Add arrow icon

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
Alex Khomenko
2022-01-25 10:04:44 +02:00
committed by GitHub
co-authored by Ashley Harrison
parent c0fc60dfef
commit aead2e9157
12 changed files with 161 additions and 32 deletions
@@ -17,6 +17,7 @@ export interface NavModelItem {
showOrgSwitcher?: boolean;
onClick?: () => void;
menuItemType?: NavMenuItemType;
highlightText?: string;
}
export enum NavSection {