@pagerduty/backstage-plugin 0.13.0-next.50 → 0.13.0-next.51

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.
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 120.6 175" style="enable-background:new 0 0 120.6 175;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#B5B5B5;}
7
+ </style>
8
+ <g>
9
+ <rect y="128.4" class="st0" width="25.7" height="46.6"/>
10
+ <path class="st0" d="M96.5,8.6C82.8,1.2,73.2,0,50.7,0H0v106.1h25.7H29h21.5c20,0,35-1.2,48.2-10c14.4-9.5,21.9-25.4,21.9-43.8
11
+ C120.6,32.5,111.4,16.6,96.5,8.6z M56.4,83.9H25.7V22.7l29-0.2c26.4-0.2,39.6,9,39.6,30.1C94.3,75.3,77.9,83.9,56.4,83.9z"/>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="utf-8"?>
2
+ <!-- Generator: Adobe Illustrator 23.0.4, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 120.6 175" style="enable-background:new 0 0 120.6 175;" xml:space="preserve">
5
+ <style type="text/css">
6
+ .st0{fill:#B5B5B5;}
7
+ </style>
8
+ <g>
9
+ <rect y="128.4" class="st0" width="25.7" height="46.6"/>
10
+ <path class="st0" d="M96.5,8.6C82.8,1.2,73.2,0,50.7,0H0v106.1h25.7H29h21.5c20,0,35-1.2,48.2-10c14.4-9.5,21.9-25.4,21.9-43.8
11
+ C120.6,32.5,111.4,16.6,96.5,8.6z M56.4,83.9H25.7V22.7l29-0.2c26.4-0.2,39.6,9,39.6,30.1C94.3,75.3,77.9,83.9,56.4,83.9z"/>
12
+ </g>
13
+ </svg>
@@ -1,11 +1,8 @@
1
1
  import React from 'react';
2
- import { useTheme } from '@material-ui/core';
3
- import PDGreenImage from '../../assets/PD-Green.svg';
4
- import PDWhiteImage from '../../assets/PD-White.svg';
2
+ import PDIcon from '../../assets/PD-Icon.svg';
5
3
 
6
4
  const PagerDutyLogo = () => {
7
- const theme = useTheme();
8
- return theme.palette.type === "dark" ? /* @__PURE__ */ React.createElement("img", { src: PDWhiteImage, alt: "PagerDuty", height: "35" }) : /* @__PURE__ */ React.createElement("img", { src: PDGreenImage, alt: "PagerDuty", height: "35" });
5
+ return /* @__PURE__ */ React.createElement("img", { src: PDIcon, alt: "PagerDuty" });
9
6
  };
10
7
 
11
8
  export { PagerDutyLogo };
@@ -1 +1 @@
1
- {"version":3,"file":"PagerDutyLogo.esm.js","sources":["../../../src/components/Logo/PagerDutyLogo.tsx"],"sourcesContent":["import React from \"react\";\nimport { useTheme } from \"@material-ui/core\";\nimport PDGreenImage from \"../../assets/PD-Green.svg\";\nimport PDWhiteImage from \"../../assets/PD-White.svg\";\n\n/** @public */\nexport const PagerDutyLogo = () => {\n\n const theme = useTheme();\n\n return theme.palette.type === \"dark\" ? (\n <img src={PDWhiteImage} alt=\"PagerDuty\" height=\"35\" />\n ) : (\n <img src={PDGreenImage} alt=\"PagerDuty\" height=\"35\" />\n );\n};\n"],"names":[],"mappings":";;;;;AAMO,MAAM,gBAAgB,MAAM;AAE/B,EAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEzB,EAAO,OAAA,KAAA,CAAM,QAAQ,IAAS,KAAA,MAAA,uCAC3B,KAAI,EAAA,EAAA,GAAA,EAAK,cAAc,GAAI,EAAA,WAAA,EAAY,QAAO,IAAK,EAAA,CAAA,uCAEnD,KAAI,EAAA,EAAA,GAAA,EAAK,cAAc,GAAI,EAAA,WAAA,EAAY,QAAO,IAAK,EAAA,CAAA,CAAA;AAExD;;;;"}
1
+ {"version":3,"file":"PagerDutyLogo.esm.js","sources":["../../../src/components/Logo/PagerDutyLogo.tsx"],"sourcesContent":["import React from \"react\";\nimport PDIcon from \"../../assets/PD-Icon.svg\";\n\n/** @public */\nexport const PagerDutyLogo = () => {\n\n return <img src={PDIcon} alt=\"PagerDuty\" />;\n};\n"],"names":[],"mappings":";;;AAIO,MAAM,gBAAgB,MAAM;AAEjC,EAAA,uBAAQ,KAAA,CAAA,aAAA,CAAA,KAAA,EAAA,EAAI,GAAK,EAAA,MAAA,EAAQ,KAAI,WAAY,EAAA,CAAA,CAAA;AAC3C;;;;"}
@@ -2,9 +2,7 @@ import { EntityPagerDutyCard } from './components/EntityPagerDutyCard/index.esm.
2
2
  import 'react';
3
3
  import '@backstage/plugin-catalog-react';
4
4
  import './components/PagerDutySmallCard/index.esm.js';
5
- import '@material-ui/core';
6
- import './assets/PD-Green.svg';
7
- import './assets/PD-White.svg';
5
+ import './assets/PD-Icon.svg';
8
6
  import './components/TriggerButton/index.esm.js';
9
7
 
10
8
  const PagerDutyCard = EntityPagerDutyCard;
@@ -1 +1 @@
1
- {"version":3,"file":"deprecated.esm.js","sources":["../src/deprecated.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { EntityPagerDutyCardProps, EntityPagerDutyCard } from './components';\n\n/**\n * @public\n * @deprecated Please use EntityPagerDutyCard\n */\nexport const PagerDutyCard = EntityPagerDutyCard;\n\n/**\n * @public\n * @deprecated Please use EntityPagerDutyCardProps\n */\nexport type PagerDutyCardProps = EntityPagerDutyCardProps;\n"],"names":[],"mappings":";;;;;;;;;AAsBO,MAAM,aAAgB,GAAA;;;;"}
1
+ {"version":3,"file":"deprecated.esm.js","sources":["../src/deprecated.ts"],"sourcesContent":["/*\n * Copyright 2023 The Backstage Authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { EntityPagerDutyCardProps, EntityPagerDutyCard } from './components';\n\n/**\n * @public\n * @deprecated Please use EntityPagerDutyCard\n */\nexport const PagerDutyCard = EntityPagerDutyCard;\n\n/**\n * @public\n * @deprecated Please use EntityPagerDutyCardProps\n */\nexport type PagerDutyCardProps = EntityPagerDutyCardProps;\n"],"names":[],"mappings":";;;;;;;AAsBO,MAAM,aAAgB,GAAA;;;;"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pagerduty/backstage-plugin",
3
3
  "description": "A Backstage plugin that integrates towards PagerDuty",
4
- "version": "0.13.0-next.50",
4
+ "version": "0.13.0-next.51",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",