@app-studio/web 0.8.37 → 0.8.39

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
@@ -2392,7 +2392,7 @@ var ButtonView = _ref => {
2392
2392
  ariaLabel,
2393
2393
  // Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
2394
2394
  externalHref,
2395
- isAuto = false,
2395
+ isAuto,
2396
2396
  // Determines if button should be active based on isDisabled and isLoading properties.
2397
2397
  isFilled = false,
2398
2398
  // Prepares default properties for the native button element based on isActive state.
@@ -2470,7 +2470,7 @@ var ButtonView = _ref => {
2470
2470
  var buttonSizeStyles = ButtonSizes[size];
2471
2471
  var buttonVariant = ButtonVariants[variant];
2472
2472
  var scaleWidth = {
2473
- width: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2473
+ minWidth: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
2474
2474
  };
2475
2475
  var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
2476
2476
  var content = /*#__PURE__*/React.createElement(Horizontal, {
@@ -3912,8 +3912,8 @@ var CheckboxView = _ref => {
3912
3912
  container: Object.assign({
3913
3913
  gap: 10,
3914
3914
  display: 'flex',
3915
- alignItems: 'center',
3916
3915
  height: 'fit-content',
3916
+ flexDirection: 'column',
3917
3917
  width: 'fit-content',
3918
3918
  color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
3919
3919
  cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
@@ -3958,7 +3958,12 @@ var CheckboxView = _ref => {
3958
3958
  marginLeft: labelPosition === 'left' ? 0 : 27,
3959
3959
  color: "color.gray.400",
3960
3960
  size: "sm"
3961
- }, styles == null ? void 0 : styles.infoText), infoText))));
3961
+ }, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React.createElement(Text, {
3962
+ size: "xs",
3963
+ marginVertical: 0,
3964
+ marginHorizontal: 0,
3965
+ color: 'theme.error'
3966
+ }, error)));
3962
3967
  };
3963
3968
 
3964
3969
  var CheckboxComponent = props => {