labsense-ui-kit 1.0.28 → 1.0.29

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 CHANGED
@@ -2328,6 +2328,7 @@ var StyledButton = styled__default.button(_templateObject5 || (_templateObject5
2328
2328
  padding = _ref13.padding;
2329
2329
  return size === 'small' ? '8px 12.2px' : size === 'medium' ? '10px 19px' : size === 'large' ? '12px 24.5px' : size === 'custom' ? padding : '10px 16px';
2330
2330
  }, function (_ref14) {
2331
+ var _borderHover$match;
2331
2332
  var variant = _ref14.variant,
2332
2333
  disabled = _ref14.disabled,
2333
2334
  borderHover = _ref14.borderHover,
@@ -2338,7 +2339,7 @@ var StyledButton = styled__default.button(_templateObject5 || (_templateObject5
2338
2339
  case 'secondary':
2339
2340
  return "\n background: " + (disabled ? colorVariables.disabled.secondary : colorVariables["default"].secondary) + "; \n color: " + colorVariables.text.white + ";\n border: " + (disabled ? "1px solid " + colorVariables.disabled.secondary : "1px solid " + colorVariables["default"].secondary) + ";\n &:hover{\n background: " + colorVariables.hover.secondary + ";\n border: 1px solid " + colorVariables.hover.secondary + ";\n }\n ";
2340
2341
  case 'tertiary':
2341
- return "\n background: " + colorVariables["default"].tertiary + ";\n color: " + (!disabled && borderHover ? borderHover : disabled ? colorVariables.disabled.primary : colorVariables["default"].primary) + ";\n border: " + (borderDefault ? "" + borderDefault : "1px solid " + colorVariables["default"].tertiary) + ";\n &:hover {\n color: " + colorVariables.hover.primary + ";\n border: " + (borderHover ? borderHover : "1px solid " + colorVariables.hover.primary) + ";\n }\n ";
2342
+ return "\n background: " + colorVariables["default"].tertiary + ";\n color: " + (disabled ? colorVariables.disabled.primary : colorVariables["default"].primary) + ";\n border: " + (borderDefault ? "" + borderDefault : "1px solid " + colorVariables["default"].tertiary) + ";\n &:hover {\n color: " + (!disabled && borderHover ? (_borderHover$match = borderHover.match(/#\w+/)) === null || _borderHover$match === void 0 ? void 0 : _borderHover$match[0] : colorVariables.hover.primary) + ";\n border: " + (borderHover ? borderHover : "1px solid " + colorVariables.hover.primary) + ";\n }\n ";
2342
2343
  case 'error':
2343
2344
  return "\n background: " + (disabled ? colorVariables.disabled.error : colorVariables["default"].error) + "; \n color: " + colorVariables.text.white + ";\n border: " + (disabled ? "1px solid " + colorVariables.disabled.error : "1px solid " + colorVariables["default"].error) + ";\n &:hover{\n background: " + colorVariables.hover.error + ";\n border: 1px solid " + colorVariables.hover.error + ";\n }\n ";
2344
2345
  case 'outline-primary':