carbon-react 138.0.0 → 138.0.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/esm/components/menu/__internal__/submenu/submenu.style.js +5 -0
- package/esm/components/menu/menu-item/menu-item.style.js +5 -0
- package/esm/components/menu/menu.style.js +2 -0
- package/lib/components/menu/__internal__/submenu/submenu.style.js +5 -0
- package/lib/components/menu/menu-item/menu-item.style.js +5 -0
- package/lib/components/menu/menu.style.js +2 -0
- package/package.json +2 -2
|
@@ -122,6 +122,11 @@ const StyledSubmenu = styled.ul`
|
|
|
122
122
|
white-space: nowrap;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
|
|
125
|
+
${inFullscreenView && css`
|
|
126
|
+
white-space: normal;
|
|
127
|
+
height: auto;
|
|
128
|
+
`}
|
|
129
|
+
|
|
125
130
|
${!inFullscreenView && menuType && css`
|
|
126
131
|
background-color: ${menuConfigVariants[menuType].submenuItemBackground};
|
|
127
132
|
|
|
@@ -131,6 +131,11 @@ const StyledSubmenu = exports.StyledSubmenu = _styledComponents.default.ul`
|
|
|
131
131
|
white-space: nowrap;
|
|
132
132
|
cursor: pointer;
|
|
133
133
|
|
|
134
|
+
${inFullscreenView && (0, _styledComponents.css)`
|
|
135
|
+
white-space: normal;
|
|
136
|
+
height: auto;
|
|
137
|
+
`}
|
|
138
|
+
|
|
134
139
|
${!inFullscreenView && menuType && (0, _styledComponents.css)`
|
|
135
140
|
background-color: ${_menu2.default[menuType].submenuItemBackground};
|
|
136
141
|
|
|
@@ -144,6 +144,11 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
|
|
|
144
144
|
height: 40px;
|
|
145
145
|
margin: 0px;
|
|
146
146
|
text-align: left;
|
|
147
|
+
|
|
148
|
+
${inFullscreenView && (0, _styledComponents.css)`
|
|
149
|
+
height: auto;
|
|
150
|
+
white-space: normal;
|
|
151
|
+
`}
|
|
147
152
|
}
|
|
148
153
|
|
|
149
154
|
&&& {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "138.0.
|
|
3
|
+
"version": "138.0.1",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"@typescript-eslint/parser": "^5.59.5",
|
|
113
113
|
"@wojtekmaj/enzyme-adapter-react-17": "^0.8.0",
|
|
114
114
|
"axe-core": "^4.8.2",
|
|
115
|
-
"babel-jest": "^
|
|
115
|
+
"babel-jest": "^29.7.0",
|
|
116
116
|
"babel-plugin-dev-expression": "^0.2.3",
|
|
117
117
|
"browserslist": "^4.22.1",
|
|
118
118
|
"chromatic": "^6.17.4",
|