Version Packages (next)

This commit is contained in:
github-actions[bot]
2022-04-05 07:35:01 +00:00
parent de95be6322
commit 39e446d0ff
87 changed files with 470 additions and 180 deletions
+60
View File
@@ -1,5 +1,65 @@
# @backstage/plugin-org
## 0.5.4-next.2
### Patch Changes
- cb592bfce7: Provides the ability to hide the relations toggle on the `OwnershipCard` as well as setting a default relation type.
To hide the toggle simply include the `hideRelationsToggle` prop like this:
```tsx
<EntityOwnershipCard
variant="gridItem"
entityFilterKind={customEntityFilterKind}
hideRelationsToggle
/>
```
To set the default relation type, add the `relationsType` prop with a value of direct or aggregated, the default if not provided is direct. Here is an example:
```tsx
<EntityOwnershipCard
variant="gridItem"
entityFilterKind={customEntityFilterKind}
relationsType="aggregated"
/>
```
- d014fe2cb4: Introduced a new MyGroupsSidebarItem SidebarItem that links to one or more groups based on the logged in user's membership.
To use MyGroupsSidebarItem you'll need to add it to your `Root.tsx` like this:
```diff
// app/src/components/Root/Root.tsx
+ import { MyGroupsSidebarItem } from '@backstage/plugin-org';
+ import GroupIcon from '@material-ui/icons/People';
<SidebarPage>
<Sidebar>
//...
<SidebarGroup label="Menu" icon={<MenuIcon />}>
{/* Global nav, not org-specific */}
//...
<SidebarItem icon={HomeIcon} to="catalog" text="Home" />
+ <MyGroupsSidebarItem
+ singularTitle="My Squad"
+ pluralTitle="My Squads"
+ icon={GroupIcon}
+ />
//...
</SidebarGroup>
</ Sidebar>
</SidebarPage>
```
- 0bada4fc4d: Added the `metadata.description` to the bottom of each member on the MembersListCard
- 99063c39ae: Minor API report cleanup
- Updated dependencies
- @backstage/core-components@0.9.3-next.1
- @backstage/plugin-catalog-react@1.0.1-next.2
- @backstage/catalog-model@1.0.1-next.1
## 0.5.4-next.1
### Patch Changes
+5 -5
View File
@@ -1,7 +1,7 @@
{
"name": "@backstage/plugin-org",
"description": "A Backstage plugin that helps you create entity pages for your organization",
"version": "0.5.4-next.1",
"version": "0.5.4-next.2",
"main": "src/index.ts",
"types": "src/index.ts",
"license": "Apache-2.0",
@@ -29,10 +29,10 @@
"clean": "backstage-cli package clean"
},
"dependencies": {
"@backstage/catalog-model": "^1.0.1-next.0",
"@backstage/core-components": "^0.9.3-next.0",
"@backstage/catalog-model": "^1.0.1-next.1",
"@backstage/core-components": "^0.9.3-next.1",
"@backstage/core-plugin-api": "^1.0.0",
"@backstage/plugin-catalog-react": "^1.0.1-next.1",
"@backstage/plugin-catalog-react": "^1.0.1-next.2",
"@backstage/theme": "^0.2.15",
"@material-ui/core": "^4.12.2",
"@material-ui/icons": "^4.9.1",
@@ -49,7 +49,7 @@
},
"devDependencies": {
"@backstage/catalog-client": "^1.0.1-next.0",
"@backstage/cli": "^0.17.0-next.1",
"@backstage/cli": "^0.17.0-next.2",
"@backstage/core-app-api": "^1.0.1-next.0",
"@backstage/dev-utils": "^1.0.1-next.0",
"@backstage/test-utils": "^1.0.1-next.1",