labsense-ui-kit 1.3.94 → 1.3.96
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 +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7080,7 +7080,8 @@ var Badge = function Badge(_ref8) {
|
|
|
7080
7080
|
"$fontSize": fontSize,
|
|
7081
7081
|
"$fontWeight": '500',
|
|
7082
7082
|
"$color": textColor,
|
|
7083
|
-
"$lineHeight": '12px'
|
|
7083
|
+
"$lineHeight": '12px',
|
|
7084
|
+
"$textAlign": 'start'
|
|
7084
7085
|
}, text));
|
|
7085
7086
|
};
|
|
7086
7087
|
|
|
@@ -7320,7 +7321,7 @@ var StyledButton = styled__default.button(_templateObject5$1 || (_templateObject
|
|
|
7320
7321
|
case 'outline-error':
|
|
7321
7322
|
return "\n background: " + theme.vms["default"].tertiary + ";\n color: " + ($disabled ? theme.vms.disabled.error : theme.vms["default"].error) + ";\n border: " + ($disabled ? "1px solid " + theme.vms.disabled.error : "1px solid " + theme.vms["default"].error) + ";\n &:hover{\n " + (!$disabled && "\n border: 1px solid " + theme.vms.hover.error + ";\n color: " + theme.vms.text.white + ";\n background: " + theme.vms.hover.error + ";\n ") + "\n }\n ";
|
|
7322
7323
|
case 'custom':
|
|
7323
|
-
return "\n background: " + $background + ";\n color: " + $color + ";\n border: " + ("1px solid " + $borderDefault) + ";\n &:hover{\n " + (!$disabled && "\n border: 1px solid " + $borderHover + ";\n color: " + $colorHover + ";\n background: " + $borderHover + ";\n ") + "\n }\n ";
|
|
7324
|
+
return "\n background: " + $background + ";\n color: " + $color + ";\n border: " + ("1px solid " + $borderDefault) + ";\n &:hover{\n " + (!$disabled && "\n border: 1px solid " + $borderHover + ";\n color: " + $colorHover + ";\n // background: " + $borderHover + ";\n ") + "\n }\n ";
|
|
7324
7325
|
default:
|
|
7325
7326
|
return '';
|
|
7326
7327
|
}
|
|
@@ -8608,7 +8609,7 @@ var MultiSelectDropdown = function MultiSelectDropdown(_ref32) {
|
|
|
8608
8609
|
};
|
|
8609
8610
|
var SELECT_ALL_VALUE = '__SELECT_ALL__';
|
|
8610
8611
|
var computedOptions = React__default.useMemo(function () {
|
|
8611
|
-
if (!selectAllOption) return options;
|
|
8612
|
+
if (!selectAllOption || options.length === 0) return options;
|
|
8612
8613
|
return [{
|
|
8613
8614
|
value: SELECT_ALL_VALUE,
|
|
8614
8615
|
labelText: selectAllLabel
|