@app-studio/web 0.8.37 → 0.8.38
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/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -1
- package/dist/web.cjs.development.js +9 -3
- package/dist/web.cjs.development.js.map +1 -1
- package/dist/web.cjs.production.min.js +1 -1
- package/dist/web.cjs.production.min.js.map +1 -1
- package/dist/web.esm.js +9 -3
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +9 -3
- package/dist/web.umd.development.js.map +1 -1
- package/dist/web.umd.production.min.js +1 -1
- package/dist/web.umd.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -2386,7 +2386,7 @@
|
|
|
2386
2386
|
ariaLabel,
|
|
2387
2387
|
// Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
|
|
2388
2388
|
externalHref,
|
|
2389
|
-
isAuto
|
|
2389
|
+
isAuto,
|
|
2390
2390
|
// Determines if button should be active based on isDisabled and isLoading properties.
|
|
2391
2391
|
isFilled = false,
|
|
2392
2392
|
// Prepares default properties for the native button element based on isActive state.
|
|
@@ -2464,7 +2464,7 @@
|
|
|
2464
2464
|
var buttonSizeStyles = ButtonSizes[size];
|
|
2465
2465
|
var buttonVariant = ButtonVariants[variant];
|
|
2466
2466
|
var scaleWidth = {
|
|
2467
|
-
|
|
2467
|
+
minWidth: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
|
|
2468
2468
|
};
|
|
2469
2469
|
var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
|
|
2470
2470
|
var content = /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
@@ -3908,6 +3908,7 @@
|
|
|
3908
3908
|
display: 'flex',
|
|
3909
3909
|
alignItems: 'center',
|
|
3910
3910
|
height: 'fit-content',
|
|
3911
|
+
flexDirection: 'column',
|
|
3911
3912
|
width: 'fit-content',
|
|
3912
3913
|
color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
|
|
3913
3914
|
cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
|
|
@@ -3952,7 +3953,12 @@
|
|
|
3952
3953
|
marginLeft: labelPosition === 'left' ? 0 : 27,
|
|
3953
3954
|
color: "color.gray.400",
|
|
3954
3955
|
size: "sm"
|
|
3955
|
-
}, styles == null ? void 0 : styles.infoText), infoText)))
|
|
3956
|
+
}, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
|
|
3957
|
+
size: "xs",
|
|
3958
|
+
marginVertical: 0,
|
|
3959
|
+
marginHorizontal: 0,
|
|
3960
|
+
color: 'theme.error'
|
|
3961
|
+
}, error)));
|
|
3956
3962
|
};
|
|
3957
3963
|
|
|
3958
3964
|
var CheckboxComponent = props => {
|