chore: add changeset file

Signed-off-by: Camila Belo <camilaibs@gmail.com>
This commit is contained in:
Camila Belo
2022-05-13 15:30:20 +02:00
parent 95a5352746
commit 3b45ad701f
2 changed files with 17 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
---
'@backstage/plugin-techdocs': patch
---
Packages a set of tweaks to the TechDocs addons rendering process:
- Prevents displaying sidebars until page styles are loaded and the sidebar position is updated;
- Prevents new sidebar locations from being created every time the reader page is rendered if these locations already exist;
- Centers the styles loaded event to avoid having multiple locations setting the opacity style in Shadow Dom causing the screen to flash multiple times.
+8
View File
@@ -0,0 +1,8 @@
---
'@backstage/plugin-techdocs-react': patch
---
Creates a `TechDocsShadowDom` component that takes a tree of elements and an `onAppend` handler:
- Calls the `onAppend` handler when appending the element tree to the shadow root;
- Also dispatches an event when styles are loaded to let transformers know that the computed styles are ready to be consumed.