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.js
CHANGED
|
@@ -7279,12 +7279,13 @@ var ButtonComponent = function ButtonComponent(_ref21) {
|
|
|
7279
7279
|
icon: icon,
|
|
7280
7280
|
weight: iconWeight,
|
|
7281
7281
|
size: iconSize ? iconSize : size === 'small' ? 6 : size === 'medium' ? 8 : 10,
|
|
7282
|
-
onClick: function
|
|
7282
|
+
onClick: !disabled ? undefined : function (e) {
|
|
7283
7283
|
if (iconClick) {
|
|
7284
7284
|
e.stopPropagation();
|
|
7285
7285
|
iconClick === null || iconClick === void 0 ? void 0 : iconClick();
|
|
7286
7286
|
}
|
|
7287
7287
|
},
|
|
7288
|
+
cursor: disabled ? 'not-allowed' : iconClick ? 'pointer' : 'default',
|
|
7288
7289
|
color: getIconColor()
|
|
7289
7290
|
}), text && React__default.createElement(ButtonText, {
|
|
7290
7291
|
"$size": size,
|
|
@@ -8648,11 +8649,11 @@ var DropdownButton$1 = styled__default.div(_templateObject3$6 || (_templateObjec
|
|
|
8648
8649
|
var $size = _ref10.$size;
|
|
8649
8650
|
switch ($size) {
|
|
8650
8651
|
case 'small':
|
|
8651
|
-
return '
|
|
8652
|
+
return '5.5px 12px';
|
|
8652
8653
|
case 'large':
|
|
8653
|
-
return '
|
|
8654
|
+
return '20.5px 12px';
|
|
8654
8655
|
default:
|
|
8655
|
-
return '
|
|
8656
|
+
return '9.5px 12px';
|
|
8656
8657
|
}
|
|
8657
8658
|
}, function (_ref11) {
|
|
8658
8659
|
var $background = _ref11.$background,
|
|
@@ -8719,11 +8720,11 @@ var LabelText$1 = styled__default.div(_templateObject5$5 || (_templateObject5$5
|
|
|
8719
8720
|
var $size = _ref21.$size;
|
|
8720
8721
|
switch ($size) {
|
|
8721
8722
|
case 'small':
|
|
8722
|
-
return '
|
|
8723
|
+
return 'normal';
|
|
8723
8724
|
case 'large':
|
|
8724
|
-
return '
|
|
8725
|
+
return 'normal';
|
|
8725
8726
|
default:
|
|
8726
|
-
return '
|
|
8727
|
+
return 'normal';
|
|
8727
8728
|
}
|
|
8728
8729
|
}, function (_ref22) {
|
|
8729
8730
|
var $fontStyle = _ref22.$fontStyle;
|