@backstage/core-components 0.16.1 → 0.16.2-next.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,11 +1,23 @@
|
|
|
1
1
|
# @backstage/core-components
|
|
2
2
|
|
|
3
|
-
## 0.16.1
|
|
3
|
+
## 0.16.2-next.1
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
+
- e47be38: Added data-testid to placeholder rendered by Progress component to simplify assertions in tests
|
|
7
8
|
- Updated dependencies
|
|
8
|
-
- @backstage/
|
|
9
|
+
- @backstage/config@1.3.0
|
|
10
|
+
- @backstage/core-plugin-api@1.10.1
|
|
11
|
+
- @backstage/errors@1.2.5
|
|
12
|
+
- @backstage/theme@0.6.3-next.0
|
|
13
|
+
- @backstage/version-bridge@1.0.10
|
|
14
|
+
|
|
15
|
+
## 0.16.2-next.0
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
- @backstage/theme@0.6.3-next.0
|
|
9
21
|
- @backstage/config@1.3.0
|
|
10
22
|
- @backstage/core-plugin-api@1.10.1
|
|
11
23
|
- @backstage/errors@1.2.5
|
|
@@ -13,7 +13,7 @@ function Progress(props) {
|
|
|
13
13
|
);
|
|
14
14
|
return () => clearTimeout(handle);
|
|
15
15
|
}, [theme.transitions.duration.short]);
|
|
16
|
-
return isVisible ? /* @__PURE__ */ React__default.createElement(LinearProgress, { ...props, "data-testid": "progress" }) : /* @__PURE__ */ React__default.createElement(Box, { display: "none" });
|
|
16
|
+
return isVisible ? /* @__PURE__ */ React__default.createElement(LinearProgress, { ...props, "data-testid": "progress" }) : /* @__PURE__ */ React__default.createElement(Box, { display: "none", "data-testid": "progress" });
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export { Progress };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Progress.esm.js","sources":["../../../src/components/Progress/Progress.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 Box from '@material-ui/core/Box';\nimport LinearProgress, {\n LinearProgressProps,\n} from '@material-ui/core/LinearProgress';\nimport { useTheme } from '@material-ui/core/styles';\nimport React, { PropsWithChildren, useEffect, useState } from 'react';\n\nexport function Progress(props: PropsWithChildren<LinearProgressProps>) {\n const theme = useTheme();\n const [isVisible, setIsVisible] = useState(false);\n\n useEffect(() => {\n const handle = setTimeout(\n () => setIsVisible(true),\n theme.transitions.duration.short,\n );\n return () => clearTimeout(handle);\n }, [theme.transitions.duration.short]);\n\n return isVisible ? (\n <LinearProgress {...props} data-testid=\"progress\" />\n ) : (\n <Box display=\"none\" />\n );\n}\n"],"names":["React"],"mappings":";;;;;AAuBO,SAAS,SAAS,KAA+C,EAAA;AACtE,EAAA,MAAM,QAAQ,QAAS,EAAA;AACvB,EAAA,MAAM,CAAC,SAAA,EAAW,YAAY,CAAA,GAAI,SAAS,KAAK,CAAA;AAEhD,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,MAAM,MAAS,GAAA,UAAA;AAAA,MACb,MAAM,aAAa,IAAI,CAAA;AAAA,MACvB,KAAA,CAAM,YAAY,QAAS,CAAA;AAAA,KAC7B;AACA,IAAO,OAAA,MAAM,aAAa,MAAM,CAAA;AAAA,KAC/B,CAAC,KAAA,CAAM,WAAY,CAAA,QAAA,CAAS,KAAK,CAAC,CAAA;AAErC,
|
|
1
|
+
{"version":3,"file":"Progress.esm.js","sources":["../../../src/components/Progress/Progress.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 Box from '@material-ui/core/Box';\nimport LinearProgress, {\n LinearProgressProps,\n} from '@material-ui/core/LinearProgress';\nimport { useTheme } from '@material-ui/core/styles';\nimport React, { PropsWithChildren, useEffect, useState } from 'react';\n\nexport function Progress(props: PropsWithChildren<LinearProgressProps>) {\n const theme = useTheme();\n const [isVisible, setIsVisible] = useState(false);\n\n useEffect(() => {\n const handle = setTimeout(\n () => setIsVisible(true),\n theme.transitions.duration.short,\n );\n return () => clearTimeout(handle);\n }, [theme.transitions.duration.short]);\n\n return isVisible ? (\n <LinearProgress {...props} data-testid=\"progress\" />\n ) : (\n <Box display=\"none\" data-testid=\"progress\" />\n );\n}\n"],"names":["React"],"mappings":";;;;;AAuBO,SAAS,SAAS,KAA+C,EAAA;AACtE,EAAA,MAAM,QAAQ,QAAS,EAAA;AACvB,EAAA,MAAM,CAAC,SAAA,EAAW,YAAY,CAAA,GAAI,SAAS,KAAK,CAAA;AAEhD,EAAA,SAAA,CAAU,MAAM;AACd,IAAA,MAAM,MAAS,GAAA,UAAA;AAAA,MACb,MAAM,aAAa,IAAI,CAAA;AAAA,MACvB,KAAA,CAAM,YAAY,QAAS,CAAA;AAAA,KAC7B;AACA,IAAO,OAAA,MAAM,aAAa,MAAM,CAAA;AAAA,KAC/B,CAAC,KAAA,CAAM,WAAY,CAAA,QAAA,CAAS,KAAK,CAAC,CAAA;AAErC,EAAA,OAAO,SACL,mBAAAA,cAAA,CAAA,aAAA,CAAC,cAAgB,EAAA,EAAA,GAAG,KAAO,EAAA,aAAA,EAAY,UAAW,EAAA,CAAA,mBAEjDA,cAAA,CAAA,aAAA,CAAA,GAAA,EAAA,EAAI,OAAQ,EAAA,MAAA,EAAO,eAAY,UAAW,EAAA,CAAA;AAE/C;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/core-components",
|
|
3
|
-
"version": "0.16.1",
|
|
3
|
+
"version": "0.16.2-next.1",
|
|
4
4
|
"description": "Core components used by Backstage plugins and apps",
|
|
5
5
|
"backstage": {
|
|
6
6
|
"role": "web-library"
|
|
@@ -66,11 +66,11 @@
|
|
|
66
66
|
"test": "backstage-cli package test"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@backstage/config": "
|
|
70
|
-
"@backstage/core-plugin-api": "
|
|
71
|
-
"@backstage/errors": "
|
|
72
|
-
"@backstage/theme": "
|
|
73
|
-
"@backstage/version-bridge": "
|
|
69
|
+
"@backstage/config": "1.3.0",
|
|
70
|
+
"@backstage/core-plugin-api": "1.10.1",
|
|
71
|
+
"@backstage/errors": "1.2.5",
|
|
72
|
+
"@backstage/theme": "0.6.3-next.0",
|
|
73
|
+
"@backstage/version-bridge": "1.0.10",
|
|
74
74
|
"@date-io/core": "^1.3.13",
|
|
75
75
|
"@material-table/core": "^3.1.0",
|
|
76
76
|
"@material-ui/core": "^4.12.2",
|
|
@@ -105,10 +105,10 @@
|
|
|
105
105
|
"zod": "^3.22.4"
|
|
106
106
|
},
|
|
107
107
|
"devDependencies": {
|
|
108
|
-
"@backstage/app-defaults": "
|
|
109
|
-
"@backstage/cli": "
|
|
110
|
-
"@backstage/core-app-api": "
|
|
111
|
-
"@backstage/test-utils": "
|
|
108
|
+
"@backstage/app-defaults": "1.5.15-next.1",
|
|
109
|
+
"@backstage/cli": "0.29.3-next.1",
|
|
110
|
+
"@backstage/core-app-api": "1.15.3-next.0",
|
|
111
|
+
"@backstage/test-utils": "1.7.3-next.0",
|
|
112
112
|
"@testing-library/dom": "^10.0.0",
|
|
113
113
|
"@testing-library/jest-dom": "^6.0.0",
|
|
114
114
|
"@testing-library/user-event": "^14.0.0",
|