labsense-ui-kit 1.0.24 → 1.0.25

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,6 +18,7 @@ export interface ButtonProps {
18
18
  fontWeight?: string;
19
19
  fontSize?: string;
20
20
  fontFamily?: string;
21
+ borderDefault?: string;
21
22
  borderHover?: string;
22
23
  borderRadius?: string;
23
24
  padding?: string;
package/dist/index.js CHANGED
@@ -2327,14 +2327,15 @@ var StyledButton = styled__default.button(_templateObject5 || (_templateObject5
2327
2327
  }, function (_ref13) {
2328
2328
  var variant = _ref13.variant,
2329
2329
  disabled = _ref13.disabled,
2330
- borderHover = _ref13.borderHover;
2330
+ borderHover = _ref13.borderHover,
2331
+ borderDefault = _ref13.borderDefault;
2331
2332
  switch (variant) {
2332
2333
  case 'primary':
2333
2334
  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 ";
2334
2335
  case 'secondary':
2335
2336
  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 ";
2336
2337
  case 'tertiary':
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 ";
2338
+ 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: " + colorVariables.hover.primary + ";\n border: " + (borderHover ? "" + borderHover : "1px solid " + colorVariables.hover.primary) + ";\n }\n ";
2338
2339
  case 'error':
2339
2340
  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 ";
2340
2341
  case 'outline-primary':
@@ -2372,6 +2373,7 @@ var ButtonComponent = function ButtonComponent(_ref19) {
2372
2373
  size = _ref19.size,
2373
2374
  background = _ref19.background,
2374
2375
  color = _ref19.color,
2376
+ borderDefault = _ref19.borderDefault,
2375
2377
  borderHover = _ref19.borderHover,
2376
2378
  borderRadius = _ref19.borderRadius,
2377
2379
  fontWeight = _ref19.fontWeight,
@@ -2404,6 +2406,7 @@ var ButtonComponent = function ButtonComponent(_ref19) {
2404
2406
  disabled: disabled,
2405
2407
  onClick: onClick,
2406
2408
  background: background,
2409
+ borderDefault: borderDefault,
2407
2410
  borderHover: borderHover,
2408
2411
  borderRadius: borderRadius,
2409
2412
  size: size,