@team-monolith/cds 1.34.1 → 1.34.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.
@@ -229,8 +229,13 @@ const Button = React.forwardRef(function Button(props, ref) {
229
229
  font-family: ${theme.fontFamily.ui};
230
230
  text-decoration: none;
231
231
 
232
- width: ${fullWidth ? "100%" : "auto"};
233
- flex-shrink: 0;
232
+ ${fullWidth
233
+ ? css `
234
+ width: 100%;
235
+ `
236
+ : css `
237
+ flex-shrink: 0;
238
+ `};
234
239
  `,
235
240
  COLOR_TO_BUTTON_STYLE(theme, color, Boolean(disabled)),
236
241
  SIZE_TO_BUTTON_STYLE[size],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@team-monolith/cds",
3
- "version": "1.34.1",
3
+ "version": "1.34.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "sideEffects": false,