@moontra/moonui-pro 3.4.36 → 3.4.37

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.mjs CHANGED
@@ -16519,6 +16519,12 @@ var MoonUIAnimatedButtonProInternal = React71__default.forwardRef(
16519
16519
  const handleClick2 = async (e) => {
16520
16520
  if (currentState === "loading")
16521
16521
  return;
16522
+ if (props.type === "submit" && !onClick) {
16523
+ return;
16524
+ }
16525
+ if (onClick) {
16526
+ e.preventDefault();
16527
+ }
16522
16528
  if (ripple) {
16523
16529
  const rect = e.currentTarget.getBoundingClientRect();
16524
16530
  const x = e.clientX - rect.left;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moontra/moonui-pro",
3
- "version": "3.4.36",
3
+ "version": "3.4.37",
4
4
  "description": "Premium React components for MoonUI - Advanced UI library with 50+ pro components including performance, interactive, and gesture components",
5
5
  "type": "module",
6
6
  "main": "dist/index.mjs",