@trackunit/react-form-components 0.0.289 → 0.0.291
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -954,7 +954,7 @@ const ActionButton = ({ type, value, dataTestId, iconSize, disabled, className,
|
|
|
954
954
|
return window.open(`tel:${value}`);
|
|
955
955
|
}
|
|
956
956
|
};
|
|
957
|
-
return (jsxRuntime.jsx("div", { className: cvaActionContainer({ className }), children: jsxRuntime.jsx(reactComponents.IconButton, { disabled: disabled, dataTestId: dataTestId || "testIconButtonId", size: "small",
|
|
957
|
+
return (jsxRuntime.jsx("div", { className: cvaActionContainer({ className }), children: jsxRuntime.jsx(reactComponents.IconButton, { disabled: disabled, dataTestId: dataTestId || "testIconButtonId", size: "small", variant: "secondary", icon: jsxRuntime.jsx(reactComponents.Icon, { size: "small", name: getIconName() }), onClick: ButtonAction, className: cvaActionButton({ size: iconSize }) }) }));
|
|
958
958
|
};
|
|
959
959
|
|
|
960
960
|
const cvaInputBase = cssClassVarianceUtilities.cvaMerge([
|
package/index.esm.js
CHANGED
|
@@ -924,7 +924,7 @@ const ActionButton = ({ type, value, dataTestId, iconSize, disabled, className,
|
|
|
924
924
|
return window.open(`tel:${value}`);
|
|
925
925
|
}
|
|
926
926
|
};
|
|
927
|
-
return (jsx("div", { className: cvaActionContainer({ className }), children: jsx(IconButton, { disabled: disabled, dataTestId: dataTestId || "testIconButtonId", size: "small",
|
|
927
|
+
return (jsx("div", { className: cvaActionContainer({ className }), children: jsx(IconButton, { disabled: disabled, dataTestId: dataTestId || "testIconButtonId", size: "small", variant: "secondary", icon: jsx(Icon, { size: "small", name: getIconName() }), onClick: ButtonAction, className: cvaActionButton({ size: iconSize }) }) }));
|
|
928
928
|
};
|
|
929
929
|
|
|
930
930
|
const cvaInputBase = cvaMerge([
|