labsense-ui-kit 1.2.19 → 1.2.21
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/hooks/useCustomModal.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/index.js
CHANGED
|
@@ -3767,6 +3767,7 @@ var useCustomModal = function useCustomModal(_ref4) {
|
|
|
3767
3767
|
}, content);
|
|
3768
3768
|
};
|
|
3769
3769
|
return {
|
|
3770
|
+
isOpen: isOpen,
|
|
3770
3771
|
setIsOpen: setIsOpen,
|
|
3771
3772
|
createModal: createModal
|
|
3772
3773
|
};
|
|
@@ -4808,7 +4809,7 @@ var ButtonComponent = function ButtonComponent(_ref21) {
|
|
|
4808
4809
|
var loaderPos = loaderProps.loaderPosition || 'right';
|
|
4809
4810
|
return React__default.createElement(StyledButton, {
|
|
4810
4811
|
"$disabled": disabled,
|
|
4811
|
-
onClick: onClick,
|
|
4812
|
+
onClick: !disabled ? onClick : undefined,
|
|
4812
4813
|
"$buttonWidth": buttonWidth,
|
|
4813
4814
|
"$background": background,
|
|
4814
4815
|
"$borderDefault": borderDefault,
|