@spotify/backstage-plugin-rbac 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @spotify/backstage-plugin-rbac
2
2
 
3
+ ## 0.8.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed an issue where the plugin header icon was misaligned.
8
+
3
9
  ## 0.8.0
4
10
 
5
11
  ### Minor Changes
@@ -1,2 +1,2 @@
1
- import{jsxs as c,Fragment as l,jsx as e}from"react/jsx-runtime";import{useRouteRef as m}from"@backstage/core-plugin-api";import{HeaderPage as s,Grid as o}from"@backstage/ui";import p from"@material-ui/icons/Lock";import{SpotifyLicenseBanner as u}from"@spotify/backstage-plugin-core";import{rootRouteRef as d}from"../../routes.esm.js";import{Header as f}from"./Header.esm.js";function g({children:r,pageTitle:i,primaryAction:t,pages:n}){const a=m(d)();return c(l,{children:[e(u,{backend:"rbac",invalidLicenseMessage:"Your existing policy will continue to apply, but you will be unable to make any changes until you enter a valid license."}),e(f,{title:"Role Based Access Control",titleLink:a,icon:e(p,{})}),e(s,{title:i,customActions:t,breadcrumbs:n}),e(o.Root,{columns:"1",mx:"5",children:e(o.Item,{children:r})})]})}export{g as PageWrapper};
1
+ import{jsxs as a,Fragment as c,jsx as e}from"react/jsx-runtime";import{useRouteRef as m}from"@backstage/core-plugin-api";import{HeaderPage as s,Grid as o}from"@backstage/ui";import{RiLock2Fill as p}from"@remixicon/react";import{SpotifyLicenseBanner as u}from"@spotify/backstage-plugin-core";import{rootRouteRef as d}from"../../routes.esm.js";import{Header as f}from"./Header.esm.js";function g({children:i,pageTitle:r,primaryAction:t,pages:n}){const l=m(d)();return a(c,{children:[e(u,{backend:"rbac",invalidLicenseMessage:"Your existing policy will continue to apply, but you will be unable to make any changes until you enter a valid license."}),e(f,{title:"Role Based Access Control",titleLink:l,icon:e(p,{size:"1rem"})}),e(s,{title:r,customActions:t,breadcrumbs:n}),e(o.Root,{columns:"1",mx:"5",children:e(o.Item,{children:i})})]})}export{g as PageWrapper};
2
2
  //# sourceMappingURL=PageWrapper.esm.js.map
@@ -1,2 +1,2 @@
1
- import{jsx as r}from"react/jsx-runtime";import{SidebarItem as e}from"@backstage/core-components";import i from"@material-ui/icons/Lock";import{Authorized as m}from"./Auth/Authorized.esm.js";function c({text:t="RBAC",...o}){return r(m,{children:r(e,{icon:i,to:"rbac",text:t,...o})})}export{c as RBACSidebarItem};
1
+ import{jsx as r}from"react/jsx-runtime";import{SidebarItem as i}from"@backstage/core-components";import{RiLock2Fill as e}from"@remixicon/react";import{Authorized as m}from"./Auth/Authorized.esm.js";function c({text:t="RBAC",...o}){return r(m,{children:r(i,{icon:()=>r(e,{size:"1.2rem"}),to:"rbac",text:t,...o})})}export{c as RBACSidebarItem};
2
2
  //# sourceMappingURL=RBACSidebarItem.esm.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spotify/backstage-plugin-rbac",
3
3
  "description": "Control access to actions and data in Backstage with ease.",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "homepage": "https://backstage.spotify.com",
7
7
  "main": "./dist/index.esm.js",
@@ -71,6 +71,7 @@
71
71
  "@material-ui/core": "^4.12.2",
72
72
  "@material-ui/icons": "^4.9.1",
73
73
  "@material-ui/lab": "4.0.0-alpha.61",
74
+ "@remixicon/react": "^4.6.0",
74
75
  "@spotify/backstage-plugin-core": "^0.8.11",
75
76
  "@spotify/backstage-plugin-rbac-common": "^0.6.10",
76
77
  "ajv": "^8.11.2",