@backstage/core-components 0.14.7-next.2 → 0.14.7
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 +14 -0
- package/alpha/package.json +1 -1
- package/dist/components/OverflowTooltip/OverflowTooltip.esm.js +12 -22
- package/dist/components/OverflowTooltip/OverflowTooltip.esm.js.map +1 -1
- package/dist/index.d.ts +2 -4
- package/dist/layout/ErrorBoundary/ErrorBoundary.esm.js +1 -1
- package/dist/layout/ErrorBoundary/ErrorBoundary.esm.js.map +1 -1
- package/package.json +26 -28
- package/testUtils/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @backstage/core-components
|
|
2
2
|
|
|
3
|
+
## 0.14.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- e42779e: Properly log the `errorInfo` in `ErrorBoundary`
|
|
8
|
+
- 5223c4c: Fixed an internal circular import that broke Jest mocks.
|
|
9
|
+
- 71e4229: Added optional `initialShowDropDown` prop to `SidebarSubmenuItem` to internally manage the initial display state of the dropdown items.
|
|
10
|
+
- a2ee4df: Add `alignGauge` prop to the `GaugeCard`, and a small size version. When `alignGauge` is `'bottom'` the gauge will vertically align the gauge in the cards, even when the card titles span across multiple lines.
|
|
11
|
+
Add `alignContent` prop to the `InfoCard`, defaulting to `'normal'` with the option of `'bottom'` which vertically aligns the content to the bottom of the card.
|
|
12
|
+
- 5b7b49b: The `SignInPage` guest provider will now fall back to legacy guest auth if the backend request fails, allowing guest auth without a running backend.
|
|
13
|
+
- 359376a: Removing react-text-truncate with css styles.
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
- @backstage/theme@0.5.4
|
|
16
|
+
|
|
3
17
|
## 0.14.7-next.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/alpha/package.json
CHANGED
|
@@ -1,43 +1,33 @@
|
|
|
1
1
|
import { makeStyles } from '@material-ui/core/styles';
|
|
2
2
|
import Tooltip from '@material-ui/core/Tooltip';
|
|
3
|
-
import React
|
|
4
|
-
import
|
|
5
|
-
import { useIsMounted } from '@react-hookz/web';
|
|
3
|
+
import React from 'react';
|
|
4
|
+
import Typography from '@material-ui/core/Typography';
|
|
6
5
|
|
|
7
6
|
const useStyles = makeStyles(
|
|
8
7
|
{
|
|
9
8
|
container: {
|
|
10
9
|
overflow: "visible !important"
|
|
10
|
+
},
|
|
11
|
+
typo: {
|
|
12
|
+
overflow: "hidden",
|
|
13
|
+
textOverflow: "ellipsis",
|
|
14
|
+
display: "-webkit-box",
|
|
15
|
+
"-webkit-line-clamp": ({ line }) => line || 1,
|
|
16
|
+
"-webkit-box-orient": "vertical"
|
|
11
17
|
}
|
|
12
18
|
},
|
|
13
19
|
{ name: "BackstageOverflowTooltip" }
|
|
14
20
|
);
|
|
15
21
|
function OverflowTooltip(props) {
|
|
16
22
|
var _a;
|
|
17
|
-
const
|
|
18
|
-
const isMounted = useIsMounted();
|
|
19
|
-
const classes = useStyles();
|
|
20
|
-
const handleToggled = (truncated) => {
|
|
21
|
-
if (isMounted()) {
|
|
22
|
-
setHover(truncated);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
23
|
+
const classes = useStyles(props);
|
|
25
24
|
return /* @__PURE__ */ React.createElement(
|
|
26
25
|
Tooltip,
|
|
27
26
|
{
|
|
28
27
|
title: (_a = props.title) != null ? _a : props.text || "",
|
|
29
|
-
placement: props.placement
|
|
30
|
-
disableHoverListener: !hover
|
|
28
|
+
placement: props.placement
|
|
31
29
|
},
|
|
32
|
-
/* @__PURE__ */ React.createElement(
|
|
33
|
-
TextTruncate,
|
|
34
|
-
{
|
|
35
|
-
text: props.text,
|
|
36
|
-
line: props.line,
|
|
37
|
-
onToggled: handleToggled,
|
|
38
|
-
containerClassName: classes.container
|
|
39
|
-
}
|
|
40
|
-
)
|
|
30
|
+
/* @__PURE__ */ React.createElement(Typography, { className: classes.typo }, props.text)
|
|
41
31
|
);
|
|
42
32
|
}
|
|
43
33
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverflowTooltip.esm.js","sources":["../../../src/components/OverflowTooltip/OverflowTooltip.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { makeStyles } from '@material-ui/core/styles';\nimport Tooltip, { TooltipProps } from '@material-ui/core/Tooltip';\nimport React
|
|
1
|
+
{"version":3,"file":"OverflowTooltip.esm.js","sources":["../../../src/components/OverflowTooltip/OverflowTooltip.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 { makeStyles } from '@material-ui/core/styles';\nimport Tooltip, { TooltipProps } from '@material-ui/core/Tooltip';\nimport React from 'react';\nimport Typography from '@material-ui/core/Typography';\n\ntype Props = {\n text?: string | undefined;\n title?: TooltipProps['title'];\n line?: number | undefined;\n placement?: TooltipProps['placement'];\n};\n\nexport type OverflowTooltipClassKey = 'container';\n\nconst useStyles = makeStyles(\n {\n container: {\n overflow: 'visible !important',\n },\n typo: {\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n display: '-webkit-box',\n '-webkit-line-clamp': ({ line }: Props) => line || 1,\n '-webkit-box-orient': 'vertical',\n },\n },\n { name: 'BackstageOverflowTooltip' },\n);\n\nexport function OverflowTooltip(props: Props) {\n const classes = useStyles(props);\n\n return (\n <Tooltip\n title={props.title ?? (props.text || '')}\n placement={props.placement}\n >\n <Typography className={classes.typo}>{props.text}</Typography>\n </Tooltip>\n );\n}\n"],"names":[],"mappings":";;;;;AA8BA,MAAM,SAAY,GAAA,UAAA;AAAA,EAChB;AAAA,IACE,SAAW,EAAA;AAAA,MACT,QAAU,EAAA,oBAAA;AAAA,KACZ;AAAA,IACA,IAAM,EAAA;AAAA,MACJ,QAAU,EAAA,QAAA;AAAA,MACV,YAAc,EAAA,UAAA;AAAA,MACd,OAAS,EAAA,aAAA;AAAA,MACT,oBAAsB,EAAA,CAAC,EAAE,IAAA,OAAkB,IAAQ,IAAA,CAAA;AAAA,MACnD,oBAAsB,EAAA,UAAA;AAAA,KACxB;AAAA,GACF;AAAA,EACA,EAAE,MAAM,0BAA2B,EAAA;AACrC,CAAA,CAAA;AAEO,SAAS,gBAAgB,KAAc,EAAA;AA9C9C,EAAA,IAAA,EAAA,CAAA;AA+CE,EAAM,MAAA,OAAA,GAAU,UAAU,KAAK,CAAA,CAAA;AAE/B,EACE,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAC,OAAA;AAAA,IAAA;AAAA,MACC,KAAO,EAAA,CAAA,EAAA,GAAA,KAAA,CAAM,KAAN,KAAA,IAAA,GAAA,EAAA,GAAgB,MAAM,IAAQ,IAAA,EAAA;AAAA,MACrC,WAAW,KAAM,CAAA,SAAA;AAAA,KAAA;AAAA,wCAEhB,UAAW,EAAA,EAAA,SAAA,EAAW,OAAQ,CAAA,IAAA,EAAA,EAAO,MAAM,IAAK,CAAA;AAAA,GACnD,CAAA;AAEJ;;;;"}
|
package/dist/index.d.ts
CHANGED
|
@@ -7,7 +7,6 @@ import { LinkProps as LinkProps$2, NavLinkProps } from 'react-router-dom';
|
|
|
7
7
|
import CSS from 'csstype';
|
|
8
8
|
import { Options } from 'react-markdown';
|
|
9
9
|
import { TooltipProps } from '@material-ui/core/Tooltip';
|
|
10
|
-
import { TextTruncateProps } from 'react-text-truncate';
|
|
11
10
|
import { LinearProgressProps } from '@material-ui/core/LinearProgress';
|
|
12
11
|
import { CardHeaderProps } from '@material-ui/core/CardHeader';
|
|
13
12
|
import { BackstagePalette } from '@backstage/theme';
|
|
@@ -824,10 +823,9 @@ declare function OAuthRequestDialog(_props: {}): React__default.JSX.Element;
|
|
|
824
823
|
type LoginRequestListItemClassKey = 'root';
|
|
825
824
|
|
|
826
825
|
type Props$9 = {
|
|
827
|
-
text
|
|
828
|
-
line?: TextTruncateProps['line'];
|
|
829
|
-
element?: TextTruncateProps['element'];
|
|
826
|
+
text?: string | undefined;
|
|
830
827
|
title?: TooltipProps['title'];
|
|
828
|
+
line?: number | undefined;
|
|
831
829
|
placement?: TooltipProps['placement'];
|
|
832
830
|
};
|
|
833
831
|
type OverflowTooltipClassKey = 'container';
|
|
@@ -28,7 +28,7 @@ const ErrorBoundary = class ErrorBoundary2 extends Component {
|
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
componentDidCatch(error, errorInfo) {
|
|
31
|
-
console.error(`ErrorBoundary, error: ${error},
|
|
31
|
+
console.error(`ErrorBoundary, error: ${error}`, { error, errorInfo });
|
|
32
32
|
this.setState({ error, errorInfo });
|
|
33
33
|
}
|
|
34
34
|
render() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorBoundary.esm.js","sources":["../../../src/layout/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 Typography from '@material-ui/core/Typography';\nimport React, { ComponentClass, Component, ErrorInfo } from 'react';\nimport { LinkButton } from '../../components/LinkButton';\nimport { ErrorPanel } from '../../components/ErrorPanel';\nimport { coreComponentsTranslationRef } from '../../translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\ntype SlackChannel = {\n name: string;\n href?: string;\n};\n\n/** @public */\nexport type ErrorBoundaryProps = React.PropsWithChildren<{\n slackChannel?: string | SlackChannel;\n onError?: (error: Error, errorInfo: string) => null;\n}>;\n\ntype State = {\n error?: Error;\n errorInfo?: ErrorInfo;\n};\n\nconst SlackLink = (props: { slackChannel?: string | SlackChannel }) => {\n const { slackChannel } = props;\n const { t } = useTranslationRef(coreComponentsTranslationRef);\n\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === 'string') {\n return (\n <Typography>{t('errorBoundary.title', { slackChannel })}</Typography>\n );\n } else if (!slackChannel.href) {\n return (\n <Typography>\n {t('errorBoundary.title', {\n slackChannel: slackChannel.name,\n })}\n </Typography>\n );\n }\n\n return (\n <LinkButton to={slackChannel.href} variant=\"contained\">\n {slackChannel.name}\n </LinkButton>\n );\n};\n\n/** @public */\nexport const ErrorBoundary: ComponentClass<\n ErrorBoundaryProps,\n State\n> = class ErrorBoundary extends Component<ErrorBoundaryProps, State> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n error: undefined,\n errorInfo: undefined,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n // eslint-disable-next-line no-console\n console.error(`ErrorBoundary, error: ${error},
|
|
1
|
+
{"version":3,"file":"ErrorBoundary.esm.js","sources":["../../../src/layout/ErrorBoundary/ErrorBoundary.tsx"],"sourcesContent":["/*\n * Copyright 2020 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 Typography from '@material-ui/core/Typography';\nimport React, { ComponentClass, Component, ErrorInfo } from 'react';\nimport { LinkButton } from '../../components/LinkButton';\nimport { ErrorPanel } from '../../components/ErrorPanel';\nimport { coreComponentsTranslationRef } from '../../translation';\nimport { useTranslationRef } from '@backstage/core-plugin-api/alpha';\n\ntype SlackChannel = {\n name: string;\n href?: string;\n};\n\n/** @public */\nexport type ErrorBoundaryProps = React.PropsWithChildren<{\n slackChannel?: string | SlackChannel;\n onError?: (error: Error, errorInfo: string) => null;\n}>;\n\ntype State = {\n error?: Error;\n errorInfo?: ErrorInfo;\n};\n\nconst SlackLink = (props: { slackChannel?: string | SlackChannel }) => {\n const { slackChannel } = props;\n const { t } = useTranslationRef(coreComponentsTranslationRef);\n\n if (!slackChannel) {\n return null;\n } else if (typeof slackChannel === 'string') {\n return (\n <Typography>{t('errorBoundary.title', { slackChannel })}</Typography>\n );\n } else if (!slackChannel.href) {\n return (\n <Typography>\n {t('errorBoundary.title', {\n slackChannel: slackChannel.name,\n })}\n </Typography>\n );\n }\n\n return (\n <LinkButton to={slackChannel.href} variant=\"contained\">\n {slackChannel.name}\n </LinkButton>\n );\n};\n\n/** @public */\nexport const ErrorBoundary: ComponentClass<\n ErrorBoundaryProps,\n State\n> = class ErrorBoundary extends Component<ErrorBoundaryProps, State> {\n constructor(props: ErrorBoundaryProps) {\n super(props);\n this.state = {\n error: undefined,\n errorInfo: undefined,\n };\n }\n\n componentDidCatch(error: Error, errorInfo: ErrorInfo) {\n // eslint-disable-next-line no-console\n console.error(`ErrorBoundary, error: ${error}`, { error, errorInfo });\n this.setState({ error, errorInfo });\n }\n\n render() {\n const { slackChannel, children } = this.props;\n const { error } = this.state;\n\n if (!error) {\n return children;\n }\n\n return (\n <ErrorPanel title=\"Something Went Wrong\" error={error}>\n <SlackLink slackChannel={slackChannel} />\n </ErrorPanel>\n );\n }\n};\n"],"names":["ErrorBoundary"],"mappings":";;;;;;;AAuCA,MAAM,SAAA,GAAY,CAAC,KAAoD,KAAA;AACrE,EAAM,MAAA,EAAE,cAAiB,GAAA,KAAA,CAAA;AACzB,EAAA,MAAM,EAAE,CAAA,EAAM,GAAA,iBAAA,CAAkB,4BAA4B,CAAA,CAAA;AAE5D,EAAA,IAAI,CAAC,YAAc,EAAA;AACjB,IAAO,OAAA,IAAA,CAAA;AAAA,GACT,MAAA,IAAW,OAAO,YAAA,KAAiB,QAAU,EAAA;AAC3C,IAAA,2CACG,UAAY,EAAA,IAAA,EAAA,CAAA,CAAE,uBAAuB,EAAE,YAAA,EAAc,CAAE,CAAA,CAAA;AAAA,GAE5D,MAAA,IAAW,CAAC,YAAA,CAAa,IAAM,EAAA;AAC7B,IACE,uBAAA,KAAA,CAAA,aAAA,CAAC,UACE,EAAA,IAAA,EAAA,CAAA,CAAE,qBAAuB,EAAA;AAAA,MACxB,cAAc,YAAa,CAAA,IAAA;AAAA,KAC5B,CACH,CAAA,CAAA;AAAA,GAEJ;AAEA,EACE,uBAAA,KAAA,CAAA,aAAA,CAAC,cAAW,EAAI,EAAA,YAAA,CAAa,MAAM,OAAQ,EAAA,WAAA,EAAA,EACxC,aAAa,IAChB,CAAA,CAAA;AAEJ,CAAA,CAAA;AAGa,MAAA,aAAA,GAGT,MAAMA,cAAAA,SAAsB,SAAqC,CAAA;AAAA,EACnE,YAAY,KAA2B,EAAA;AACrC,IAAA,KAAA,CAAM,KAAK,CAAA,CAAA;AACX,IAAA,IAAA,CAAK,KAAQ,GAAA;AAAA,MACX,KAAO,EAAA,KAAA,CAAA;AAAA,MACP,SAAW,EAAA,KAAA,CAAA;AAAA,KACb,CAAA;AAAA,GACF;AAAA,EAEA,iBAAA,CAAkB,OAAc,SAAsB,EAAA;AAEpD,IAAA,OAAA,CAAQ,MAAM,CAAyB,sBAAA,EAAA,KAAK,IAAI,EAAE,KAAA,EAAO,WAAW,CAAA,CAAA;AACpE,IAAA,IAAA,CAAK,QAAS,CAAA,EAAE,KAAO,EAAA,SAAA,EAAW,CAAA,CAAA;AAAA,GACpC;AAAA,EAEA,MAAS,GAAA;AACP,IAAA,MAAM,EAAE,YAAA,EAAc,QAAS,EAAA,GAAI,IAAK,CAAA,KAAA,CAAA;AACxC,IAAM,MAAA,EAAE,KAAM,EAAA,GAAI,IAAK,CAAA,KAAA,CAAA;AAEvB,IAAA,IAAI,CAAC,KAAO,EAAA;AACV,MAAO,OAAA,QAAA,CAAA;AAAA,KACT;AAEA,IACE,uBAAA,KAAA,CAAA,aAAA,CAAC,cAAW,KAAM,EAAA,sBAAA,EAAuB,yBACtC,KAAA,CAAA,aAAA,CAAA,SAAA,EAAA,EAAU,cAA4B,CACzC,CAAA,CAAA;AAAA,GAEJ;AACF;;;;"}
|
package/package.json
CHANGED
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/core-components",
|
|
3
3
|
"description": "Core components used by Backstage plugins and apps",
|
|
4
|
-
"version": "0.14.7
|
|
4
|
+
"version": "0.14.7",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"backstage": {
|
|
9
9
|
"role": "web-library"
|
|
10
10
|
},
|
|
11
|
+
"keywords": [
|
|
12
|
+
"backstage"
|
|
13
|
+
],
|
|
11
14
|
"homepage": "https://backstage.io",
|
|
12
15
|
"repository": {
|
|
13
16
|
"type": "git",
|
|
14
17
|
"url": "https://github.com/backstage/backstage",
|
|
15
18
|
"directory": "packages/core-components"
|
|
16
19
|
},
|
|
17
|
-
"keywords": [
|
|
18
|
-
"backstage"
|
|
19
|
-
],
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
|
-
"
|
|
22
|
-
"types": "./dist/index.d.ts",
|
|
21
|
+
"sideEffects": false,
|
|
23
22
|
"exports": {
|
|
24
23
|
".": {
|
|
25
24
|
"import": "./dist/index.esm.js",
|
|
@@ -38,21 +37,28 @@
|
|
|
38
37
|
},
|
|
39
38
|
"./package.json": "./package.json"
|
|
40
39
|
},
|
|
41
|
-
"
|
|
40
|
+
"main": "./dist/index.esm.js",
|
|
41
|
+
"types": "./dist/index.d.ts",
|
|
42
|
+
"files": [
|
|
43
|
+
"dist",
|
|
44
|
+
"config.d.ts",
|
|
45
|
+
"alpha",
|
|
46
|
+
"testUtils"
|
|
47
|
+
],
|
|
42
48
|
"scripts": {
|
|
43
49
|
"build": "backstage-cli package build",
|
|
50
|
+
"clean": "backstage-cli package clean",
|
|
44
51
|
"lint": "backstage-cli package lint",
|
|
45
|
-
"test": "backstage-cli package test",
|
|
46
52
|
"prepack": "backstage-cli package prepack",
|
|
47
53
|
"postpack": "backstage-cli package postpack",
|
|
48
|
-
"
|
|
49
|
-
"
|
|
54
|
+
"start": "backstage-cli package start",
|
|
55
|
+
"test": "backstage-cli package test"
|
|
50
56
|
},
|
|
51
57
|
"dependencies": {
|
|
52
58
|
"@backstage/config": "^1.2.0",
|
|
53
59
|
"@backstage/core-plugin-api": "^1.9.2",
|
|
54
60
|
"@backstage/errors": "^1.2.4",
|
|
55
|
-
"@backstage/theme": "^0.5.4
|
|
61
|
+
"@backstage/theme": "^0.5.4",
|
|
56
62
|
"@backstage/version-bridge": "^1.0.8",
|
|
57
63
|
"@date-io/core": "^1.3.13",
|
|
58
64
|
"@material-table/core": "^3.1.0",
|
|
@@ -62,7 +68,6 @@
|
|
|
62
68
|
"@react-hookz/web": "^24.0.0",
|
|
63
69
|
"@types/react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
64
70
|
"@types/react-sparklines": "^1.7.0",
|
|
65
|
-
"@types/react-text-truncate": "^0.14.0",
|
|
66
71
|
"ansi-regex": "^6.0.1",
|
|
67
72
|
"classnames": "^2.2.6",
|
|
68
73
|
"d3-selection": "^3.0.0",
|
|
@@ -81,7 +86,6 @@
|
|
|
81
86
|
"react-markdown": "^8.0.0",
|
|
82
87
|
"react-sparklines": "^1.7.0",
|
|
83
88
|
"react-syntax-highlighter": "^15.4.5",
|
|
84
|
-
"react-text-truncate": "^0.19.0",
|
|
85
89
|
"react-use": "^17.3.2",
|
|
86
90
|
"react-virtualized-auto-sizer": "^1.0.11",
|
|
87
91
|
"react-window": "^1.8.6",
|
|
@@ -89,16 +93,11 @@
|
|
|
89
93
|
"zen-observable": "^0.10.0",
|
|
90
94
|
"zod": "^3.22.4"
|
|
91
95
|
},
|
|
92
|
-
"peerDependencies": {
|
|
93
|
-
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
94
|
-
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
95
|
-
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
96
|
-
},
|
|
97
96
|
"devDependencies": {
|
|
98
|
-
"@backstage/app-defaults": "^1.5.5
|
|
99
|
-
"@backstage/cli": "^0.26.5
|
|
100
|
-
"@backstage/core-app-api": "^1.12.
|
|
101
|
-
"@backstage/test-utils": "^1.5.5
|
|
97
|
+
"@backstage/app-defaults": "^1.5.5",
|
|
98
|
+
"@backstage/cli": "^0.26.5",
|
|
99
|
+
"@backstage/core-app-api": "^1.12.5",
|
|
100
|
+
"@backstage/test-utils": "^1.5.5",
|
|
102
101
|
"@testing-library/dom": "^10.0.0",
|
|
103
102
|
"@testing-library/jest-dom": "^6.0.0",
|
|
104
103
|
"@testing-library/react": "^15.0.0",
|
|
@@ -119,12 +118,11 @@
|
|
|
119
118
|
"history": "^5.0.0",
|
|
120
119
|
"msw": "^1.0.0"
|
|
121
120
|
},
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
],
|
|
121
|
+
"peerDependencies": {
|
|
122
|
+
"react": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
123
|
+
"react-dom": "^16.13.1 || ^17.0.0 || ^18.0.0",
|
|
124
|
+
"react-router-dom": "6.0.0-beta.0 || ^6.3.0"
|
|
125
|
+
},
|
|
128
126
|
"configSchema": "config.d.ts",
|
|
129
127
|
"module": "./dist/index.esm.js"
|
|
130
128
|
}
|