@backstage/core-components 0.12.5-next.1 → 0.12.5-next.2
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 +12 -0
- package/dist/index.esm.js +11 -11
- package/dist/index.esm.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @backstage/core-components
|
|
2
2
|
|
|
3
|
+
## 0.12.5-next.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8bbf95b5507: Button labels in the sidebar (previously displayed in uppercase) will be displayed in the case that is provided without any transformations.
|
|
8
|
+
For example, a sidebar button with the label "Search" will appear as Search, "search" will appear as search, "SEARCH" will appear as SEARCH etc.
|
|
9
|
+
This can potentially affect any overriding styles previously applied to change the appearance of Button labels in the Sidebar.
|
|
10
|
+
- fa004f66871: Use media queries to change layout instead of `isMobile` prop in `BackstagePage` component
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
- @backstage/core-plugin-api@1.5.0-next.2
|
|
13
|
+
- @backstage/config@1.0.7-next.0
|
|
14
|
+
|
|
3
15
|
## 0.12.5-next.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/dist/index.esm.js
CHANGED
|
@@ -3816,9 +3816,6 @@ const useStyles$k = makeStyles(
|
|
|
3816
3816
|
},
|
|
3817
3817
|
"&::-webkit-scrollbar": {
|
|
3818
3818
|
display: "none"
|
|
3819
|
-
},
|
|
3820
|
-
"& .MuiButtonBase-root": {
|
|
3821
|
-
textTransform: "none"
|
|
3822
3819
|
}
|
|
3823
3820
|
}),
|
|
3824
3821
|
drawerOpen: (props) => ({
|
|
@@ -4252,7 +4249,8 @@ const makeSidebarStyles = (sidebarConfig) => makeStyles(
|
|
|
4252
4249
|
margin: 0,
|
|
4253
4250
|
padding: 0,
|
|
4254
4251
|
textAlign: "inherit",
|
|
4255
|
-
font: "inherit"
|
|
4252
|
+
font: "inherit",
|
|
4253
|
+
textTransform: "none"
|
|
4256
4254
|
},
|
|
4257
4255
|
closed: {
|
|
4258
4256
|
width: sidebarConfig.drawerWidthClosed,
|
|
@@ -6099,22 +6097,24 @@ function ItemCardGrid(props) {
|
|
|
6099
6097
|
}
|
|
6100
6098
|
|
|
6101
6099
|
const useStyles$1 = makeStyles(
|
|
6102
|
-
() => ({
|
|
6103
|
-
root:
|
|
6100
|
+
(theme) => ({
|
|
6101
|
+
root: {
|
|
6104
6102
|
display: "grid",
|
|
6105
6103
|
gridTemplateAreas: "'pageHeader pageHeader pageHeader' 'pageSubheader pageSubheader pageSubheader' 'pageNav pageContent pageSidebar'",
|
|
6106
6104
|
gridTemplateRows: "max-content auto 1fr",
|
|
6107
6105
|
gridTemplateColumns: "auto 1fr auto",
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
|
|
6106
|
+
overflowY: "auto",
|
|
6107
|
+
height: "100vh",
|
|
6108
|
+
[theme.breakpoints.down("xs")]: {
|
|
6109
|
+
height: "100%"
|
|
6110
|
+
}
|
|
6111
|
+
}
|
|
6111
6112
|
}),
|
|
6112
6113
|
{ name: "BackstagePage" }
|
|
6113
6114
|
);
|
|
6114
6115
|
function Page(props) {
|
|
6115
6116
|
const { themeId, children } = props;
|
|
6116
|
-
const
|
|
6117
|
-
const classes = useStyles$1({ isMobile });
|
|
6117
|
+
const classes = useStyles$1();
|
|
6118
6118
|
return /* @__PURE__ */ React.createElement(
|
|
6119
6119
|
ThemeProvider,
|
|
6120
6120
|
{
|