-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: DOC-1090 PCP-2590 PE-3943 4.3 Release Notes (#2342)
* docs: DOC-1090 * save * docs: PCP-2590 * chore: branch switch * docs: save * docs: more content * chore: save * chore: added css property * chore: added TechnicalPreviewReleaseNoteBadge component * docs: ready to implement * chore: updated README * docs: new content * docs: more content * chore: added packs * docs: added reference page * docs: fixed vertex label * docs: fixed broken link * docs: update * docs: updated packs * chore: updated release notes * docs: added new links * docs: updated release notes with PCG update * chore: vale feedback * chore: fix jest * modify private external registry bullet * docs: Apply suggestions from code review Co-authored-by: Lenny Chen <[email protected]> * docs: feedback --------- Co-authored-by: Lenny Chen <[email protected]> Co-authored-by: Lenny Chen <[email protected]>
- Loading branch information
1 parent
e404008
commit 7641de5
Showing
13 changed files
with
272 additions
and
341 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
6 changes: 6 additions & 0 deletions
6
src/components/Badges/TechnicalPreviewReleaseNote/TechnicalPreviewReleaseNote.module.scss
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,6 @@ | ||
.customTpReleaseNoteBadge { | ||
display: initial; | ||
height: auto; | ||
max-width: 100%; | ||
margin-bottom: -5px; | ||
} |
13 changes: 13 additions & 0 deletions
13
src/components/Badges/TechnicalPreviewReleaseNote/TechnicalPreviewReleaseNote.test
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,13 @@ | ||
// THIS TEST IS BREAKING DUE TO JEST NOT FINDING THE @theme/ThemedImage | ||
|
||
// import React from "react"; | ||
// import { render } from "@testing-library/react"; | ||
// import TechnicalPreviewReleaseNoteBadge from "./TechnicalPreviewReleaseNote"; | ||
|
||
// describe("TechnicalPreviewReleaseNoteBadge", () => { | ||
// test("renders correctly", () => { | ||
// const { container } = render(<TechnicalPreviewReleaseNoteBadge />); | ||
// const badge = container.querySelector("img"); | ||
// expect(badge).toBeInTheDocument(); | ||
// }); | ||
// }); |
18 changes: 18 additions & 0 deletions
18
src/components/Badges/TechnicalPreviewReleaseNote/TechnicalPreviewReleaseNote.tsx
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,18 @@ | ||
import React from "react"; | ||
import ThemedImage from "@theme/ThemedImage"; | ||
import styles from "./TechnicalPreviewReleaseNote.module.scss"; | ||
|
||
// define type for TechnicalPreviewReleaseNote | ||
|
||
export default function TechnicalPreviewReleaseNote() { | ||
return ( | ||
<ThemedImage | ||
alt="Technical preview feature badge" | ||
sources={{ | ||
light: "/img/tech-preview-dark.svg", | ||
dark: "/img/tech-preview-light.svg", | ||
}} | ||
className={styles.customTpReleaseNoteBadge} | ||
/> | ||
); | ||
} |
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,3 @@ | ||
import TechnicalPreviewReleaseNote from "./TechnicalPreviewReleaseNote"; | ||
|
||
export default TechnicalPreviewReleaseNote; |
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,3 @@ | ||
import TechnicalPreviewReleaseNote from "./TechnicalPreviewReleaseNote"; | ||
|
||
export { TechnicalPreviewReleaseNote }; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.