carbon-react 144.9.2 → 144.9.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.
|
@@ -241,7 +241,7 @@ const StyledMenuItemWrapper = styled.a.attrs({
|
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
243
|
` : `
|
|
244
|
-
${hasSubmenu || maxWidth ? `
|
|
244
|
+
${hasSubmenu || maxWidth && !inFullscreenView ? `
|
|
245
245
|
a,
|
|
246
246
|
${StyledLink} a,
|
|
247
247
|
button,
|
|
@@ -435,7 +435,10 @@ const StyledMenuItemWrapper = styled.a.attrs({
|
|
|
435
435
|
|
|
436
436
|
${asPassiveItem && css`
|
|
437
437
|
cursor: default;
|
|
438
|
-
|
|
438
|
+
|
|
439
|
+
a {
|
|
440
|
+
padding: 0 16px;
|
|
441
|
+
}
|
|
439
442
|
|
|
440
443
|
:hover {
|
|
441
444
|
background: transparent;
|
|
@@ -250,7 +250,7 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
` : `
|
|
253
|
-
${hasSubmenu || maxWidth ? `
|
|
253
|
+
${hasSubmenu || maxWidth && !inFullscreenView ? `
|
|
254
254
|
a,
|
|
255
255
|
${_link.StyledLink} a,
|
|
256
256
|
button,
|
|
@@ -444,7 +444,10 @@ const StyledMenuItemWrapper = _styledComponents.default.a.attrs({
|
|
|
444
444
|
|
|
445
445
|
${asPassiveItem && (0, _styledComponents.css)`
|
|
446
446
|
cursor: default;
|
|
447
|
-
|
|
447
|
+
|
|
448
|
+
a {
|
|
449
|
+
padding: 0 16px;
|
|
450
|
+
}
|
|
448
451
|
|
|
449
452
|
:hover {
|
|
450
453
|
background: transparent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "carbon-react",
|
|
3
|
-
"version": "144.9.
|
|
3
|
+
"version": "144.9.3",
|
|
4
4
|
"description": "A library of reusable React components for easily building user interfaces.",
|
|
5
5
|
"files": [
|
|
6
6
|
"lib",
|
|
@@ -196,8 +196,8 @@
|
|
|
196
196
|
"polished": "^4.2.2",
|
|
197
197
|
"prop-types": "^15.8.1",
|
|
198
198
|
"react-day-picker": "~7.4.10",
|
|
199
|
-
"react-dnd": "^
|
|
200
|
-
"react-dnd-html5-backend": "^
|
|
199
|
+
"react-dnd": "^16.0.1",
|
|
200
|
+
"react-dnd-html5-backend": "^16.0.1",
|
|
201
201
|
"react-is": "^17.0.2",
|
|
202
202
|
"react-transition-group": "^4.4.5",
|
|
203
203
|
"styled-system": "^5.1.5"
|