@backstage-community/plugin-ilert 0.3.2 → 0.3.3

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
  # @backstage-community/plugin-ilert
2
2
 
3
+ ## 0.3.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 3ef985a: Updated the declaration of the `ILertIcon` to pass through all `SvgIcon` props.
8
+
3
9
  ## 0.3.2
4
10
 
5
11
  ### Patch Changes
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import SvgIcon from '@material-ui/core/SvgIcon';
3
3
 
4
- const ILertIcon = () => /* @__PURE__ */ React.createElement(SvgIcon, null, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement(
4
+ const ILertIcon = (props) => /* @__PURE__ */ React.createElement(SvgIcon, { ...props }, /* @__PURE__ */ React.createElement("g", null, /* @__PURE__ */ React.createElement(
5
5
  "path",
6
6
  {
7
7
  stroke: "none",
@@ -1 +1 @@
1
- {"version":3,"file":"ILertIcon.esm.js","sources":["../src/ILertIcon.tsx"],"sourcesContent":["/*\n * Copyright 2022 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 React from 'react';\nimport SvgIcon from '@material-ui/core/SvgIcon';\nimport { IconComponent } from '@backstage/core-plugin-api';\n\n/**\n * @public\n */\nexport const ILertIcon: IconComponent = () => (\n <SvgIcon>\n <g>\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 0 9.277344 L 0 18.574219 C 0 20.832031 1.847656 22.679688 4.105469 22.679688 L 12.582031 22.679688 C 6.21875 21.007812 1.277344 15.792969 0 9.277344 Z M 0 9.277344\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 19.527344 22.5625 C 21.328125 22.128906 22.679688 20.503906 22.679688 18.574219 L 22.679688 16.273438 C 21.691406 16.820312 20.632812 17.222656 19.527344 17.46875 Z M 19.527344 22.5625\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 14.417969 17.46875 C 9.136719 16.296875 5.171875 11.578125 5.171875 5.945312 C 5.167969 3.855469 5.726562 1.804688 6.785156 0 L 4.105469 0 C 1.847656 0 0 1.847656 0 4.105469 L 0 6.882812 C 0.433594 14.816406 6.335938 21.316406 13.992188 22.679688 L 14.421875 22.679688 Z M 14.417969 17.46875\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 19.527344 12.375 L 19.527344 17.160156 C 20.632812 16.910156 21.695312 16.496094 22.679688 15.929688 L 22.679688 9.855469 C 21.902344 10.988281 20.804688 11.863281 19.527344 12.375 Z M 19.527344 12.375\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 14.417969 17.160156 L 14.417969 12.375 C 11.863281 11.355469 10.054688 8.859375 10.054688 5.945312 C 10.054688 3.503906 11.34375 1.246094 13.441406 0 L 7.128906 0 C 6.039062 1.792969 5.464844 3.847656 5.46875 5.945312 C 5.46875 11.410156 9.300781 15.996094 14.417969 17.160156 Z M 14.417969 17.160156\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 10.355469 5.945312 C 10.355469 8.613281 11.957031 11.019531 14.417969 12.050781 L 14.417969 9.917969 C 15.972656 10.925781 17.972656 10.925781 19.527344 9.917969 L 19.527344 12.050781 C 20.847656 11.496094 21.953125 10.53125 22.679688 9.300781 L 22.679688 4.105469 C 22.679688 1.847656 20.832031 0 18.574219 0 L 14.066406 0 C 11.796875 1.113281 10.355469 3.417969 10.355469 5.945312 Z M 16.972656 2.5625 C 18.84375 2.5625 20.355469 4.078125 20.355469 5.945312 C 20.355469 7.8125 18.84375 9.328125 16.972656 9.328125 C 15.105469 9.328125 13.589844 7.8125 13.589844 5.945312 C 13.59375 4.078125 15.105469 2.566406 16.972656 2.5625 Z M 16.972656 2.5625\"\n />\n </g>\n </SvgIcon>\n);\n"],"names":[],"mappings":";;;AAuBO,MAAM,SAA2B,GAAA,sBACrC,KAAA,CAAA,aAAA,CAAA,OAAA,EAAA,IAAA,sCACE,GACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,uKAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,4LAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,uSAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,6MAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,gTAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,6oBAAA;AAAA,GAAA;AACJ,CACF,CACF;;;;"}
1
+ {"version":3,"file":"ILertIcon.esm.js","sources":["../src/ILertIcon.tsx"],"sourcesContent":["/*\n * Copyright 2022 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 React from 'react';\nimport SvgIcon, { SvgIconProps } from '@material-ui/core/SvgIcon';\n\n/**\n * @public\n */\nexport const ILertIcon = (props: SvgIconProps) => (\n <SvgIcon {...props}>\n <g>\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 0 9.277344 L 0 18.574219 C 0 20.832031 1.847656 22.679688 4.105469 22.679688 L 12.582031 22.679688 C 6.21875 21.007812 1.277344 15.792969 0 9.277344 Z M 0 9.277344\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 19.527344 22.5625 C 21.328125 22.128906 22.679688 20.503906 22.679688 18.574219 L 22.679688 16.273438 C 21.691406 16.820312 20.632812 17.222656 19.527344 17.46875 Z M 19.527344 22.5625\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 14.417969 17.46875 C 9.136719 16.296875 5.171875 11.578125 5.171875 5.945312 C 5.167969 3.855469 5.726562 1.804688 6.785156 0 L 4.105469 0 C 1.847656 0 0 1.847656 0 4.105469 L 0 6.882812 C 0.433594 14.816406 6.335938 21.316406 13.992188 22.679688 L 14.421875 22.679688 Z M 14.417969 17.46875\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 19.527344 12.375 L 19.527344 17.160156 C 20.632812 16.910156 21.695312 16.496094 22.679688 15.929688 L 22.679688 9.855469 C 21.902344 10.988281 20.804688 11.863281 19.527344 12.375 Z M 19.527344 12.375\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 14.417969 17.160156 L 14.417969 12.375 C 11.863281 11.355469 10.054688 8.859375 10.054688 5.945312 C 10.054688 3.503906 11.34375 1.246094 13.441406 0 L 7.128906 0 C 6.039062 1.792969 5.464844 3.847656 5.46875 5.945312 C 5.46875 11.410156 9.300781 15.996094 14.417969 17.160156 Z M 14.417969 17.160156\"\n />\n <path\n stroke=\"none\"\n fillRule=\"nonzero\"\n fill=\"#fff\"\n fillOpacity=\"1\"\n d=\"M 10.355469 5.945312 C 10.355469 8.613281 11.957031 11.019531 14.417969 12.050781 L 14.417969 9.917969 C 15.972656 10.925781 17.972656 10.925781 19.527344 9.917969 L 19.527344 12.050781 C 20.847656 11.496094 21.953125 10.53125 22.679688 9.300781 L 22.679688 4.105469 C 22.679688 1.847656 20.832031 0 18.574219 0 L 14.066406 0 C 11.796875 1.113281 10.355469 3.417969 10.355469 5.945312 Z M 16.972656 2.5625 C 18.84375 2.5625 20.355469 4.078125 20.355469 5.945312 C 20.355469 7.8125 18.84375 9.328125 16.972656 9.328125 C 15.105469 9.328125 13.589844 7.8125 13.589844 5.945312 C 13.59375 4.078125 15.105469 2.566406 16.972656 2.5625 Z M 16.972656 2.5625\"\n />\n </g>\n </SvgIcon>\n);\n"],"names":[],"mappings":";;;AAsBa,MAAA,SAAA,GAAY,CAAC,KACxB,qBAAA,KAAA,CAAA,aAAA,CAAC,WAAS,GAAG,KAAA,EAAA,sCACV,GACC,EAAA,IAAA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,uKAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,4LAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,uSAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,6MAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,gTAAA;AAAA,GAAA;AACJ,CACA,kBAAA,KAAA,CAAA,aAAA;AAAA,EAAC,MAAA;AAAA,EAAA;AAAA,IACC,MAAO,EAAA,MAAA;AAAA,IACP,QAAS,EAAA,SAAA;AAAA,IACT,IAAK,EAAA,MAAA;AAAA,IACL,WAAY,EAAA,GAAA;AAAA,IACZ,CAAE,EAAA,6oBAAA;AAAA,GAAA;AACJ,CACF,CACF;;;;"}
package/dist/index.d.ts CHANGED
@@ -1,31 +1,32 @@
1
1
  /// <reference types="react" />
2
- import * as react from 'react';
3
- import react__default from 'react';
2
+ import * as React from 'react';
3
+ import React__default from 'react';
4
4
  import * as _backstage_core_plugin_api from '@backstage/core-plugin-api';
5
- import { IconComponent, ConfigApi, DiscoveryApi, FetchApi } from '@backstage/core-plugin-api';
5
+ import { ConfigApi, DiscoveryApi, FetchApi } from '@backstage/core-plugin-api';
6
6
  import { Entity } from '@backstage/catalog-model';
7
+ import { SvgIconProps } from '@material-ui/core/SvgIcon';
7
8
 
8
9
  /** @public */
9
10
  declare const ilertPlugin: _backstage_core_plugin_api.BackstagePlugin<{
10
11
  root: _backstage_core_plugin_api.RouteRef<undefined>;
11
12
  }, {}, {}>;
12
13
  /** @public */
13
- declare const ILertPage$1: () => react.JSX.Element;
14
+ declare const ILertPage$1: () => React.JSX.Element;
14
15
  /** @public */
15
- declare const EntityILertCard: () => react.JSX.Element;
16
+ declare const EntityILertCard: () => React.JSX.Element;
16
17
 
17
18
  /** @public */
18
- declare const ILertPage: () => react__default.JSX.Element;
19
+ declare const ILertPage: () => React__default.JSX.Element;
19
20
 
20
21
  /** @public */
21
22
  declare const isPluginApplicableToEntity: (entity: Entity) => boolean;
22
23
  /** @public */
23
- declare const ILertCard: () => react__default.JSX.Element;
24
+ declare const ILertCard: () => React__default.JSX.Element;
24
25
 
25
26
  /**
26
27
  * @public
27
28
  */
28
- declare const ILertIcon: IconComponent;
29
+ declare const ILertIcon: (props: SvgIconProps) => React__default.JSX.Element;
29
30
 
30
31
  /** @public */
31
32
  interface Alert {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@backstage-community/plugin-ilert",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "A Backstage plugin that integrates towards iLert",
5
5
  "backstage": {
6
6
  "role": "frontend-plugin",