@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/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -1
- package/dist/web.cjs.development.js +9 -4
- 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 -4
- package/dist/web.esm.js.map +1 -1
- package/dist/web.umd.development.js +9 -4
- 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 +2 -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, {
|
|
@@ -3906,8 +3906,8 @@
|
|
|
3906
3906
|
container: Object.assign({
|
|
3907
3907
|
gap: 10,
|
|
3908
3908
|
display: 'flex',
|
|
3909
|
-
alignItems: 'center',
|
|
3910
3909
|
height: 'fit-content',
|
|
3910
|
+
flexDirection: 'column',
|
|
3911
3911
|
width: 'fit-content',
|
|
3912
3912
|
color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
|
|
3913
3913
|
cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
|
|
@@ -3952,7 +3952,12 @@
|
|
|
3952
3952
|
marginLeft: labelPosition === 'left' ? 0 : 27,
|
|
3953
3953
|
color: "color.gray.400",
|
|
3954
3954
|
size: "sm"
|
|
3955
|
-
}, styles == null ? void 0 : styles.infoText), infoText)))
|
|
3955
|
+
}, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
|
|
3956
|
+
size: "xs",
|
|
3957
|
+
marginVertical: 0,
|
|
3958
|
+
marginHorizontal: 0,
|
|
3959
|
+
color: 'theme.error'
|
|
3960
|
+
}, error)));
|
|
3956
3961
|
};
|
|
3957
3962
|
|
|
3958
3963
|
var CheckboxComponent = props => {
|