labsense-ui-kit 1.0.36 → 1.0.38
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 +3 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +3 -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,8 @@ var ButtonComponent = function ButtonComponent(_ref20) {
|
|
|
2839
2839
|
text = _ref20.text,
|
|
2840
2840
|
size = _ref20.size,
|
|
2841
2841
|
background = _ref20.background,
|
|
2842
|
+
_ref20$hoverColor = _ref20.hoverColor,
|
|
2843
|
+
hoverColor = _ref20$hoverColor === void 0 ? colorVariables.text.white : _ref20$hoverColor,
|
|
2842
2844
|
color = _ref20.color,
|
|
2843
2845
|
borderDefault = _ref20.borderDefault,
|
|
2844
2846
|
borderHover = _ref20.borderHover,
|
|
@@ -2901,7 +2903,7 @@ var ButtonComponent = function ButtonComponent(_ref20) {
|
|
|
2901
2903
|
iconClick();
|
|
2902
2904
|
}
|
|
2903
2905
|
},
|
|
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
|
|
2906
|
+
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
2907
|
}), text && React__default.createElement(ButtonText, {
|
|
2906
2908
|
size: size,
|
|
2907
2909
|
fontFamily: fontFamily,
|