@luscii-healthtech/web-ui 2.64.0 → 2.64.1
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.
|
@@ -3068,7 +3068,7 @@ var Spinner = function Spinner(props) {
|
|
|
3068
3068
|
|
|
3069
3069
|
var _excluded$b = ["onClick", "text", "textColor", "textHoverColor", "icon", "isDisabled", "isPending", "className", "title", "dataTestId"];
|
|
3070
3070
|
var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
3071
|
-
var _otherAttributes$id;
|
|
3071
|
+
var _otherAttributes$id, _ref2;
|
|
3072
3072
|
|
|
3073
3073
|
var onClick = _ref.onClick,
|
|
3074
3074
|
text = _ref.text,
|
|
@@ -3114,7 +3114,7 @@ var ButtonV2 = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef)
|
|
|
3114
3114
|
onClick: handleClick,
|
|
3115
3115
|
disabled: isDisabled,
|
|
3116
3116
|
"aria-disabled": isDisabled,
|
|
3117
|
-
"data-test-id": dataTestId != null ? dataTestId :
|
|
3117
|
+
"data-test-id": (_ref2 = dataTestId != null ? dataTestId : otherAttributes["data-test-id"]) != null ? _ref2 : otherAttributes.id
|
|
3118
3118
|
}), /*#__PURE__*/React__default.createElement("span", _extends({}, tooltipAttrs, {
|
|
3119
3119
|
className: classNames("relative flex flex-row items-center justify-center w-full h-full", // ensuring the buttons are 44px high including content
|
|
3120
3120
|
{
|