@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.
package/dist/web.esm.js CHANGED
@@ -2396,7 +2396,7 @@ var ButtonView = _ref => {
2396
2396
  ariaLabel,
2397
2397
  // Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
2398
2398
  externalHref,
2399
- isAuto,
2399
+ isAuto = false,
2400
2400
  // Determines if button should be active based on isDisabled and isLoading properties.
2401
2401
  isFilled = false,
2402
2402
  // Prepares default properties for the native button element based on isActive state.
@@ -2474,7 +2474,8 @@ var ButtonView = _ref => {
2474
2474
  var buttonSizeStyles = ButtonSizes[size];
2475
2475
  var buttonVariant = ButtonVariants[variant];
2476
2476
  var scaleWidth = {
2477
- minWidth: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2477
+ width: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width,
2478
+ minWidth: isAuto === true ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2478
2479
  };
2479
2480
  var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
2480
2481
  var content = /*#__PURE__*/React.createElement(Horizontal, {