oolib 2.214.1 → 2.214.2
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.
|
@@ -79,10 +79,8 @@ var ButtonStyledWrapper = function (_a) {
|
|
|
79
79
|
: (M && 'M') || 'S'; // this size logic dont have design defination yet, default size is "S"
|
|
80
80
|
var calcIconSize = function () {
|
|
81
81
|
var thisSize = iconSize || size;
|
|
82
|
-
console.log({ thisSize: thisSize, variant: variant });
|
|
83
82
|
return typeof thisSize === 'number' ? thisSize : (thisSize === 'S' && responsive_) ? 18 : (thisSize === 'S' && !responsive_) ? 16 : 16;
|
|
84
83
|
};
|
|
85
|
-
console.log({ iconSize: calcIconSize() });
|
|
86
84
|
var iconColor = !disabled ? _iconColor : colors_1.colors.grey40;
|
|
87
85
|
var DisplayTextTypo = Typos[typo] || Typo2_1.UI_BODY_SEMIBOLD_SM_DF;
|
|
88
86
|
return (react_1.default.createElement(styled_1.ButtonStyled, { id: id, style: style, className: className, variant: variant, size: size, active: active, disabled: disabled, theme: theme, onMouseEnter: onMouseEnter, onMouseLeave: onMouseLeave, type: submit ? "submit" : "button", onClick: function (e) {
|