@app-studio/web 0.8.41 → 0.8.42

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.
@@ -2403,7 +2403,7 @@ var ButtonView = _ref => {
2403
2403
  ariaLabel,
2404
2404
  // Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
2405
2405
  externalHref,
2406
- isAuto,
2406
+ isAuto = false,
2407
2407
  // Determines if button should be active based on isDisabled and isLoading properties.
2408
2408
  isFilled = false,
2409
2409
  // Prepares default properties for the native button element based on isActive state.
@@ -2481,7 +2481,8 @@ var ButtonView = _ref => {
2481
2481
  var buttonSizeStyles = ButtonSizes[size];
2482
2482
  var buttonVariant = ButtonVariants[variant];
2483
2483
  var scaleWidth = {
2484
- minWidth: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2484
+ width: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width,
2485
+ minWidth: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2485
2486
  };
2486
2487
  var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
2487
2488
  var content = /*#__PURE__*/React__default.createElement(Horizontal, {