labsense-ui-kit 1.0.36 → 1.0.37
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/Buttons/Button.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/Buttons/Button.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -2839,6 +2839,7 @@ var ButtonComponent = function ButtonComponent(_ref20) {
|
|
|
2839
2839
|
text = _ref20.text,
|
|
2840
2840
|
size = _ref20.size,
|
|
2841
2841
|
background = _ref20.background,
|
|
2842
|
+
hoverColor = _ref20.hoverColor,
|
|
2842
2843
|
color = _ref20.color,
|
|
2843
2844
|
borderDefault = _ref20.borderDefault,
|
|
2844
2845
|
borderHover = _ref20.borderHover,
|
|
@@ -2901,7 +2902,7 @@ var ButtonComponent = function ButtonComponent(_ref20) {
|
|
|
2901
2902
|
iconClick();
|
|
2902
2903
|
}
|
|
2903
2904
|
},
|
|
2904
|
-
color: variant === 'tertiary' && isHovered ? colorVariables.hover.primary : variant === 'tertiary' && disabled ? colorVariables.disabled.primary : variant === 'tertiary' ? colorVariables["default"].primary : variant === 'outline-primary' && isHovered ? colorVariables.text.white : variant === 'outline-primary' && disabled ? colorVariables.disabled.primary : variant === 'outline-primary' ? colorVariables["default"].primary : variant === 'outline-secondary' && isHovered ? colorVariables.text.white : variant === 'outline-secondary' && disabled ? colorVariables.disabled.secondary : variant === 'outline-secondary' ? colorVariables["default"].secondary : variant === 'outline-error' && isHovered ? colorVariables.text.white : variant === 'outline-error' && disabled ? colorVariables.disabled.error : variant === 'outline-error' ? colorVariables["default"].error : color ? color : colorVariables.text.white
|
|
2905
|
+
color: variant === 'tertiary' && isHovered ? colorVariables.hover.primary : variant === 'tertiary' && disabled ? colorVariables.disabled.primary : variant === 'tertiary' ? colorVariables["default"].primary : variant === 'outline-primary' && isHovered ? colorVariables.text.white : variant === 'outline-primary' && disabled ? colorVariables.disabled.primary : variant === 'outline-primary' ? colorVariables["default"].primary : variant === 'outline-secondary' && isHovered ? colorVariables.text.white : variant === 'outline-secondary' && disabled ? colorVariables.disabled.secondary : variant === 'outline-secondary' ? colorVariables["default"].secondary : variant === 'outline-error' && isHovered ? colorVariables.text.white : variant === 'outline-error' && disabled ? colorVariables.disabled.error : variant === 'outline-error' ? colorVariables["default"].error : isHovered ? hoverColor : color ? color : colorVariables.text.white
|
|
2905
2906
|
}), text && React__default.createElement(ButtonText, {
|
|
2906
2907
|
size: size,
|
|
2907
2908
|
fontFamily: fontFamily,
|