labsense-ui-kit 1.3.68 → 1.3.70
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/index.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +8 -7
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7275,12 +7275,13 @@ var ButtonComponent = function ButtonComponent(_ref21) {
|
|
|
7275
7275
|
icon: icon,
|
|
7276
7276
|
weight: iconWeight,
|
|
7277
7277
|
size: iconSize ? iconSize : size === 'small' ? 6 : size === 'medium' ? 8 : 10,
|
|
7278
|
-
onClick: function
|
|
7278
|
+
onClick: !disabled ? undefined : function (e) {
|
|
7279
7279
|
if (iconClick) {
|
|
7280
7280
|
e.stopPropagation();
|
|
7281
7281
|
iconClick === null || iconClick === void 0 ? void 0 : iconClick();
|
|
7282
7282
|
}
|
|
7283
7283
|
},
|
|
7284
|
+
cursor: disabled ? 'not-allowed' : iconClick ? 'pointer' : 'default',
|
|
7284
7285
|
color: getIconColor()
|
|
7285
7286
|
}), text && React.createElement(ButtonText, {
|
|
7286
7287
|
"$size": size,
|
|
@@ -8644,11 +8645,11 @@ var DropdownButton$1 = styled.div(_templateObject3$6 || (_templateObject3$6 = _t
|
|
|
8644
8645
|
var $size = _ref10.$size;
|
|
8645
8646
|
switch ($size) {
|
|
8646
8647
|
case 'small':
|
|
8647
|
-
return '
|
|
8648
|
+
return '5.5px 12px';
|
|
8648
8649
|
case 'large':
|
|
8649
|
-
return '
|
|
8650
|
+
return '20.5px 12px';
|
|
8650
8651
|
default:
|
|
8651
|
-
return '
|
|
8652
|
+
return '9.5px 12px';
|
|
8652
8653
|
}
|
|
8653
8654
|
}, function (_ref11) {
|
|
8654
8655
|
var $background = _ref11.$background,
|
|
@@ -8715,11 +8716,11 @@ var LabelText$1 = styled.div(_templateObject5$5 || (_templateObject5$5 = _tagged
|
|
|
8715
8716
|
var $size = _ref21.$size;
|
|
8716
8717
|
switch ($size) {
|
|
8717
8718
|
case 'small':
|
|
8718
|
-
return '
|
|
8719
|
+
return 'normal';
|
|
8719
8720
|
case 'large':
|
|
8720
|
-
return '
|
|
8721
|
+
return 'normal';
|
|
8721
8722
|
default:
|
|
8722
|
-
return '
|
|
8723
|
+
return 'normal';
|
|
8723
8724
|
}
|
|
8724
8725
|
}, function (_ref22) {
|
|
8725
8726
|
var $fontStyle = _ref22.$fontStyle;
|