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.modern.js
CHANGED
|
@@ -7076,7 +7076,8 @@ var Badge = function Badge(_ref8) {
|
|
|
7076
7076
|
"$fontSize": fontSize,
|
|
7077
7077
|
"$fontWeight": '500',
|
|
7078
7078
|
"$color": textColor,
|
|
7079
|
-
"$lineHeight": '12px'
|
|
7079
|
+
"$lineHeight": '12px',
|
|
7080
|
+
"$textAlign": 'start'
|
|
7080
7081
|
}, text));
|
|
7081
7082
|
};
|
|
7082
7083
|
|
|
@@ -7316,7 +7317,7 @@ var StyledButton = styled.button(_templateObject5$1 || (_templateObject5$1 = _ta
|
|
|
7316
7317
|
case 'outline-error':
|
|
7317
7318
|
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 ";
|
|
7318
7319
|
case 'custom':
|
|
7319
|
-
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 ";
|
|
7320
|
+
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 ";
|
|
7320
7321
|
default:
|
|
7321
7322
|
return '';
|
|
7322
7323
|
}
|
|
@@ -8604,7 +8605,7 @@ var MultiSelectDropdown = function MultiSelectDropdown(_ref32) {
|
|
|
8604
8605
|
};
|
|
8605
8606
|
var SELECT_ALL_VALUE = '__SELECT_ALL__';
|
|
8606
8607
|
var computedOptions = React.useMemo(function () {
|
|
8607
|
-
if (!selectAllOption) return options;
|
|
8608
|
+
if (!selectAllOption || options.length === 0) return options;
|
|
8608
8609
|
return [{
|
|
8609
8610
|
value: SELECT_ALL_VALUE,
|
|
8610
8611
|
labelText: selectAllLabel
|