@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
|
@@ -2399,7 +2399,7 @@ var ButtonView = _ref => {
|
|
|
2399
2399
|
ariaLabel,
|
|
2400
2400
|
// Initializes default values for the ButtonProps object; useful for defining states like isAuto, isFilled, etc.
|
|
2401
2401
|
externalHref,
|
|
2402
|
-
isAuto
|
|
2402
|
+
isAuto,
|
|
2403
2403
|
// Determines if button should be active based on isDisabled and isLoading properties.
|
|
2404
2404
|
isFilled = false,
|
|
2405
2405
|
// Prepares default properties for the native button element based on isActive state.
|
|
@@ -2477,7 +2477,7 @@ var ButtonView = _ref => {
|
|
|
2477
2477
|
var buttonSizeStyles = ButtonSizes[size];
|
|
2478
2478
|
var buttonVariant = ButtonVariants[variant];
|
|
2479
2479
|
var scaleWidth = {
|
|
2480
|
-
|
|
2480
|
+
minWidth: isAuto ? 'fit-content' : isFilled ? '100%' : buttonSizeStyles.width
|
|
2481
2481
|
};
|
|
2482
2482
|
var changePadding = isIconRounded ? IconSizes$1[size] : ButtonSizes[size];
|
|
2483
2483
|
var content = /*#__PURE__*/React__default.createElement(Horizontal, {
|
|
@@ -3919,8 +3919,8 @@ var CheckboxView = _ref => {
|
|
|
3919
3919
|
container: Object.assign({
|
|
3920
3920
|
gap: 10,
|
|
3921
3921
|
display: 'flex',
|
|
3922
|
-
alignItems: 'center',
|
|
3923
3922
|
height: 'fit-content',
|
|
3923
|
+
flexDirection: 'column',
|
|
3924
3924
|
width: 'fit-content',
|
|
3925
3925
|
color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
|
|
3926
3926
|
cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
|
|
@@ -3965,7 +3965,12 @@ var CheckboxView = _ref => {
|
|
|
3965
3965
|
marginLeft: labelPosition === 'left' ? 0 : 27,
|
|
3966
3966
|
color: "color.gray.400",
|
|
3967
3967
|
size: "sm"
|
|
3968
|
-
}, styles == null ? void 0 : styles.infoText), infoText)))
|
|
3968
|
+
}, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React__default.createElement(Text, {
|
|
3969
|
+
size: "xs",
|
|
3970
|
+
marginVertical: 0,
|
|
3971
|
+
marginHorizontal: 0,
|
|
3972
|
+
color: 'theme.error'
|
|
3973
|
+
}, error)));
|
|
3969
3974
|
};
|
|
3970
3975
|
|
|
3971
3976
|
var CheckboxComponent = props => {
|