intelicoreact 1.0.53 → 1.0.54
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.
|
@@ -395,6 +395,7 @@ function InputMask() {
|
|
|
395
395
|
|
|
396
396
|
var charCenterX = charX + charWidth / 2; // If Char X-Coord Out Of Range
|
|
397
397
|
|
|
398
|
+
// If Char X-Coord Out Of Range
|
|
398
399
|
if (!charX || minX > charCenterX || maxX < charCenterX) return resObj;
|
|
399
400
|
if (resObj.index === null || minX <= charCenterX && charCenterX >= maxX && charCenterX < resObj.charX) return {
|
|
400
401
|
index: index,
|
|
@@ -40,7 +40,7 @@ var Button = function Button(_ref) {
|
|
|
40
40
|
"data-testid": "button".concat(testId && "--".concat(testId), "--").concat((label === null || label === void 0 ? void 0 : label.replace(/\s/g, '-')) || variant),
|
|
41
41
|
tabIndex: tabIndex,
|
|
42
42
|
style: style,
|
|
43
|
-
className: (0, _classnames.default)(
|
|
43
|
+
className: (0, _classnames.default)(RC, (_cn = {}, (0, _defineProperty2.default)(_cn, "".concat(RC, "_").concat(variant), variant), (0, _defineProperty2.default)(_cn, 'button_icon-left', icon && !isIconRight), (0, _defineProperty2.default)(_cn, 'button_icon-right', icon && isIconRight), _cn), className),
|
|
44
44
|
onClick: onClick,
|
|
45
45
|
disabled: disabled
|
|
46
46
|
}, !noRenderIcon && icon, label && /*#__PURE__*/_react.default.createElement("div", {
|