@app-studio/web 0.8.36 → 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
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
|
|
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
|
-
|
|
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, {
|
|
@@ -3914,6 +3914,7 @@ var CheckboxView = _ref => {
|
|
|
3914
3914
|
display: 'flex',
|
|
3915
3915
|
alignItems: 'center',
|
|
3916
3916
|
height: 'fit-content',
|
|
3917
|
+
flexDirection: 'column',
|
|
3917
3918
|
width: 'fit-content',
|
|
3918
3919
|
color: error ? 'theme.error' : isDisabled ? 'theme.disabled' : 'color.blueGray.700',
|
|
3919
3920
|
cursor: isDisabled ? 'not-allowed' : isReadOnly ? 'default' : 'pointer'
|
|
@@ -3958,7 +3959,12 @@ var CheckboxView = _ref => {
|
|
|
3958
3959
|
marginLeft: labelPosition === 'left' ? 0 : 27,
|
|
3959
3960
|
color: "color.gray.400",
|
|
3960
3961
|
size: "sm"
|
|
3961
|
-
}, styles == null ? void 0 : styles.infoText), infoText)))
|
|
3962
|
+
}, styles == null ? void 0 : styles.infoText), infoText))), error && (/*#__PURE__*/React.createElement(Text, {
|
|
3963
|
+
size: "xs",
|
|
3964
|
+
marginVertical: 0,
|
|
3965
|
+
marginHorizontal: 0,
|
|
3966
|
+
color: 'theme.error'
|
|
3967
|
+
}, error)));
|
|
3962
3968
|
};
|
|
3963
3969
|
|
|
3964
3970
|
var CheckboxComponent = props => {
|