kelt-ui-kit-react 0.4.1 → 0.4.2

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/index.js CHANGED
@@ -1874,7 +1874,9 @@ const Bo = Yt.div`
1874
1874
  {
1875
1875
  ref: r,
1876
1876
  className: "card-action",
1877
- onClick: () => a(!n),
1877
+ onClick: (c) => {
1878
+ c.stopPropagation(), a(!n);
1879
+ },
1878
1880
  children: [
1879
1881
  /* @__PURE__ */ s.jsx(
1880
1882
  F,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "kelt-ui-kit-react",
3
3
  "type": "module",
4
- "version": "0.4.1",
4
+ "version": "0.4.2",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -45,7 +45,10 @@ export const CardAction = ({ actions, item }: CardActionProps) => {
45
45
  <div
46
46
  ref={refButton}
47
47
  className="card-action"
48
- onClick={() => setOpenOverlay(!openOverlay)}
48
+ onClick={(e) => {
49
+ e.stopPropagation();
50
+ setOpenOverlay(!openOverlay);
51
+ }}
49
52
  >
50
53
  <Icon
51
54
  size={IconSizeEnum.MEDIUM}