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.
@@ -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
 
@@ -135,6 +135,11 @@ const StyledMenuItemWrapper = styled.a.attrs({
135
135
  height: 40px;
136
136
  margin: 0px;
137
137
  text-align: left;
138
+
139
+ ${inFullscreenView && css`
140
+ height: auto;
141
+ white-space: normal;
142
+ `}
138
143
  }
139
144
 
140
145
  &&& {
@@ -64,6 +64,8 @@ const StyledMenuItem = styled.li`
64
64
  [data-component="submenu-wrapper"] > ${StyledLink} {
65
65
  width: 100%;
66
66
  box-sizing: border-box;
67
+ height: auto;
68
+ white-space: normal;
67
69
  }
68
70
  `}
69
71
 
@@ -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
  &&& {
@@ -73,6 +73,8 @@ const StyledMenuItem = exports.StyledMenuItem = _styledComponents.default.li`
73
73
  [data-component="submenu-wrapper"] > ${_link.StyledLink} {
74
74
  width: 100%;
75
75
  box-sizing: border-box;
76
+ height: auto;
77
+ white-space: normal;
76
78
  }
77
79
  `}
78
80
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-react",
3
- "version": "138.0.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": "^26.6.3",
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",