Version Packages (next)
This commit is contained in:
@@ -1,5 +1,26 @@
|
||||
# @backstage/frontend-plugin-api
|
||||
|
||||
## 0.12.2-next.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- 7c6a66d: Added support for plugin-relative `attachTo` declarations for extension definitions. This allows for the creation of extension and extension blueprints that attach to other extensions of a particular `kind` in the same plugin, rather than needing to provide the exact extension ID. This is particularly useful when wanting to provide extension blueprints with a built-in hierarchy where the extensions created from one blueprint attach to extensions created from the other blueprint, for example:
|
||||
|
||||
```ts
|
||||
// kind: 'tabbed-page'
|
||||
const parentPage = TabbedPageBlueprint.make({
|
||||
params: {....}
|
||||
})
|
||||
// attachTo: { kind: 'tabbed-page', input: 'tabs' }
|
||||
const child1 = TabContentBlueprint.make({
|
||||
name: 'tab1',
|
||||
params: {....}
|
||||
})
|
||||
```
|
||||
|
||||
- Updated dependencies
|
||||
- @backstage/core-components@0.18.3-next.2
|
||||
|
||||
## 0.12.2-next.1
|
||||
|
||||
### Patch Changes
|
||||
|
||||
Reference in New Issue
Block a user