kui-crm 0.0.283 → 0.0.285

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/cjs/index.js CHANGED
@@ -3797,7 +3797,9 @@ var ImageCard = React.forwardRef(function (_a) {
3797
3797
  var handleClick = function () {
3798
3798
  onClick(index);
3799
3799
  };
3800
- var handleDelete = function () {
3800
+ var handleDelete = function (e) {
3801
+ e.preventDefault();
3802
+ e.stopPropagation();
3801
3803
  if (onDelete)
3802
3804
  onDelete(index);
3803
3805
  };
@@ -3818,7 +3820,7 @@ var Wrapper$2 = styled__default["default"].div(templateObject_1$q || (templateOb
3818
3820
  });
3819
3821
  var StyledImage$3 = styled__default["default"].img(templateObject_2$h || (templateObject_2$h = __makeTemplateObject(["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 8px;\n"], ["\n width: 100%;\n height: 100%;\n object-fit: cover;\n border-radius: 8px;\n"])));
3820
3822
  var Backdrop = styled__default["default"].div(templateObject_3$b || (templateObject_3$b = __makeTemplateObject(["\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 8px;\n width: 100%;\n height: 100%;\n background-color: rgba(25, 25, 25, 0.4);\n transition: all ease-out 0.3s;\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n &:hover {\n opacity: 1;\n }\n"], ["\n position: absolute;\n top: 0;\n left: 0;\n border-radius: 8px;\n width: 100%;\n height: 100%;\n background-color: rgba(25, 25, 25, 0.4);\n transition: all ease-out 0.3s;\n opacity: 0;\n display: flex;\n justify-content: center;\n align-items: center;\n &:hover {\n opacity: 1;\n }\n"])));
3821
- var CloseButton = styled__default["default"](kuiBasic.Button)(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n width: 24px;\n height: 24px;\n opacity: 0;\n transition: all ease-out 0.3s;\n position: absolute;\n top: -6px;\n right: -6px;\n @media (max-width: ", "px) {\n opacity: 1;\n top: -12px;\n right: -12px;\n }\n"], ["\n width: 24px;\n height: 24px;\n opacity: 0;\n transition: all ease-out 0.3s;\n position: absolute;\n top: -6px;\n right: -6px;\n @media (max-width: ", "px) {\n opacity: 1;\n top: -12px;\n right: -12px;\n }\n"])), kuiBasic.theme.breakpoints.xs);
3823
+ var CloseButton = styled__default["default"](kuiBasic.Button)(templateObject_4$6 || (templateObject_4$6 = __makeTemplateObject(["\n width: 24px;\n height: 24px;\n opacity: 0;\n transition: all ease-out 0.3s;\n position: absolute;\n top: -6px;\n right: -6px;\n @media (max-width: ", "px) {\n opacity: 1;\n }\n"], ["\n width: 24px;\n height: 24px;\n opacity: 0;\n transition: all ease-out 0.3s;\n position: absolute;\n top: -6px;\n right: -6px;\n @media (max-width: ", "px) {\n opacity: 1;\n }\n"])), kuiBasic.theme.breakpoints.xs);
3822
3824
  var templateObject_1$q, templateObject_2$h, templateObject_3$b, templateObject_4$6;
3823
3825
 
3824
3826
  var ImageCardWithBackdrop = function (props) {