labsense-ui-kit 1.0.23 → 1.0.24

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.
@@ -18,7 +18,7 @@ export interface ButtonProps {
18
18
  fontWeight?: string;
19
19
  fontSize?: string;
20
20
  fontFamily?: string;
21
- border?: string;
21
+ borderHover?: string;
22
22
  borderRadius?: string;
23
23
  padding?: string;
24
24
  gap?: string;
package/dist/index.js CHANGED
@@ -2326,14 +2326,15 @@ var StyledButton = styled__default.button(_templateObject5 || (_templateObject5
2326
2326
  return size === 'small' ? '8px 12.2px' : size === 'medium' ? '10px 19px' : size === 'large' ? '12px 24.5px' : size === 'custom' ? padding : '10px 16px';
2327
2327
  }, function (_ref13) {
2328
2328
  var variant = _ref13.variant,
2329
- disabled = _ref13.disabled;
2329
+ disabled = _ref13.disabled,
2330
+ borderHover = _ref13.borderHover;
2330
2331
  switch (variant) {
2331
2332
  case 'primary':
2332
2333
  return "\n background: " + (disabled ? colorVariables.disabled.primary : colorVariables["default"].primary) + ";\n color: " + colorVariables.text.white + ";\n border: " + (disabled ? "1px solid " + colorVariables.disabled.primary : "1px solid " + colorVariables["default"].primary) + ";\n &:hover {\n background: " + colorVariables.hover.primary + ";\n border: 1px solid " + colorVariables.hover.primary + ";\n }\n ";
2333
2334
  case 'secondary':
2334
2335
  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 ";
2335
2336
  case 'tertiary':
2336
- return "\n background: " + colorVariables["default"].tertiary + ";\n color: " + (disabled ? colorVariables.disabled.primary : colorVariables["default"].primary) + ";\n border: 1px solid transparent;\n &:hover {\n color: " + colorVariables.hover.primary + ";\n border: 1px solid " + colorVariables.hover.primary + ";\n }\n ";
2337
+ return "\n background: " + colorVariables["default"].tertiary + ";\n color: " + (disabled ? colorVariables.disabled.primary : colorVariables["default"].primary) + ";\n border: 1px solid transparent;\n &:hover {\n color: " + colorVariables.hover.primary + ";\n border: " + (borderHover ? "" + borderHover : "1px solid " + colorVariables.hover.primary) + ";\n }\n ";
2337
2338
  case 'error':
2338
2339
  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 ";
2339
2340
  case 'outline-primary':
@@ -2371,7 +2372,7 @@ var ButtonComponent = function ButtonComponent(_ref19) {
2371
2372
  size = _ref19.size,
2372
2373
  background = _ref19.background,
2373
2374
  color = _ref19.color,
2374
- border = _ref19.border,
2375
+ borderHover = _ref19.borderHover,
2375
2376
  borderRadius = _ref19.borderRadius,
2376
2377
  fontWeight = _ref19.fontWeight,
2377
2378
  fontSize = _ref19.fontSize,
@@ -2403,7 +2404,7 @@ var ButtonComponent = function ButtonComponent(_ref19) {
2403
2404
  disabled: disabled,
2404
2405
  onClick: onClick,
2405
2406
  background: background,
2406
- border: border,
2407
+ borderHover: borderHover,
2407
2408
  borderRadius: borderRadius,
2408
2409
  size: size,
2409
2410
  color: color,