@abdellatifui/react 3.2.142 → 3.2.144

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.
Files changed (2) hide show
  1. package/dist/nextgen.js +6 -4
  2. package/package.json +1 -1
package/dist/nextgen.js CHANGED
@@ -10349,10 +10349,12 @@ const lv = (e) => {
10349
10349
  "min-w-[80px]"
10350
10350
  ),
10351
10351
  ...a,
10352
- onClick: ($) => {
10353
- $.preventDefault(), r({ ...e, event: $ }).then((F) => {
10354
- F !== !1 && E();
10355
- });
10352
+ onClick: async ($) => {
10353
+ if ($.preventDefault(), await r({ ...e, event: $ }) !== !1) {
10354
+ E();
10355
+ return;
10356
+ }
10357
+ E();
10356
10358
  },
10357
10359
  children: n ? `${p}(${x}) ` : p
10358
10360
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@abdellatifui/react",
3
3
  "private": false,
4
- "version": "3.2.142",
4
+ "version": "3.2.144",
5
5
  "type": "module",
6
6
  "types": "dist/nextgen.d.ts",
7
7
  "files": [