@cakemail-org/ui-components-v2 2.2.67 → 2.2.68

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.
@@ -35,5 +35,5 @@ export type TDilaogActions = {
35
35
  primaryBtnOnClick?: TButtonClick;
36
36
  primaryBtnDisabled?: boolean;
37
37
  secondaryBtnText?: string | any;
38
- secondaryBtnOnClick?: Function;
38
+ secondaryBtnOnClick?: TButtonClick;
39
39
  };
package/dist/cjs/index.js CHANGED
@@ -8108,9 +8108,9 @@ function DialogActions(_a) {
8108
8108
  DialogHandler.hide();
8109
8109
  }
8110
8110
  }
8111
- function handleOnSecondaryClick() {
8111
+ function handleOnSecondaryClick(e, btnRef) {
8112
8112
  if (secondaryBtnOnClick) {
8113
- secondaryBtnOnClick();
8113
+ secondaryBtnOnClick(e, btnRef);
8114
8114
  }
8115
8115
  else {
8116
8116
  DialogHandler.hide();
@@ -35,5 +35,5 @@ export type TDilaogActions = {
35
35
  primaryBtnOnClick?: TButtonClick;
36
36
  primaryBtnDisabled?: boolean;
37
37
  secondaryBtnText?: string | any;
38
- secondaryBtnOnClick?: Function;
38
+ secondaryBtnOnClick?: TButtonClick;
39
39
  };
package/dist/esm/index.js CHANGED
@@ -8088,9 +8088,9 @@ function DialogActions(_a) {
8088
8088
  DialogHandler.hide();
8089
8089
  }
8090
8090
  }
8091
- function handleOnSecondaryClick() {
8091
+ function handleOnSecondaryClick(e, btnRef) {
8092
8092
  if (secondaryBtnOnClick) {
8093
- secondaryBtnOnClick();
8093
+ secondaryBtnOnClick(e, btnRef);
8094
8094
  }
8095
8095
  else {
8096
8096
  DialogHandler.hide();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cakemail-org/ui-components-v2",
3
- "version": "2.2.67",
3
+ "version": "2.2.68",
4
4
  "description": "ui library kit made with material UI",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",