-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: code installation tabs (#1366)
* docs: code installation tabs Fixes #1361 * docs: hack a fix for install tabs * docs: fix another careless error * docs: doh
- Loading branch information
1 parent
422d627
commit 4b194d8
Showing
5 changed files
with
51 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
"@rhds/elements": patch | ||
--- | ||
`<rh-navigation-secondary>`: moves the deprecated `<rh-secondary-nav>` tag to a separate module |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
/** @deprecated */ | ||
|
||
import { customElement } from 'lit/decorators/custom-element.js'; | ||
import { RhNavigationSecondary } from './rh-navigation-secondary.js'; | ||
import { Logger } from '@patternfly/pfe-core/controllers/logger.js'; | ||
|
||
@customElement('rh-secondary-nav') | ||
class RhSecondaryNav extends RhNavigationSecondary { | ||
constructor() { | ||
super(); | ||
new Logger(this).warn('rh-secondary-nav is deprecated. Use rh-navigation-secondary instead.'); | ||
} | ||
} | ||
|
||
|
||
declare global { | ||
interface HTMLElementTagNameMap { | ||
'rh-secondary-nav': RhSecondaryNav; | ||
} | ||
} |