@zuzjs/ui 1.0.55 → 1.0.56
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/bin.cjs +6 -6
- package/dist/bin.js +5 -5
- package/dist/{chunk-X4I3DICK.cjs → chunk-7G4O77ED.cjs} +3 -3
- package/dist/css/styles.css +1 -1
- package/dist/index.cjs +6 -6
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +5 -5
- package/package.json +3 -3
- /package/dist/{chunk-CVBMYJVZ.js → chunk-CSYJGYVU.js} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -105,6 +105,8 @@ declare const TRANSITIONS: {
|
|
|
105
105
|
readonly SlideInTop: "SLIDE_FROM_TOP";
|
|
106
106
|
readonly SlideInRight: "SLIDE_FROM_RIGHT";
|
|
107
107
|
readonly SlideInBottom: "SLIDE_FROM_BOTTOM";
|
|
108
|
+
readonly SlideInTopScale: "SLIDE_FROM_BOTTOM_SCALE";
|
|
109
|
+
readonly SlideInBottomScale: "SLIDE_FROM_BOTTOM_SCALE";
|
|
108
110
|
readonly SlideInLeft: "SLIDE_FROM_LEFT";
|
|
109
111
|
};
|
|
110
112
|
declare const Status: {
|
|
@@ -1005,7 +1007,7 @@ type FormProps = Omit<BoxProps, `ref`> & {
|
|
|
1005
1007
|
/** Handler function called on form submission with validated form data */
|
|
1006
1008
|
onSubmit?: (data: FormData | dynamic, validationResult: ValidationResult) => void;
|
|
1007
1009
|
/** Callback triggered upon successful form submission */
|
|
1008
|
-
onSuccess?: (data: dynamic) => void;
|
|
1010
|
+
onSuccess?: (data: dynamic, payload?: dynamic) => void;
|
|
1009
1011
|
/** Callback triggered when form submission encounters an error */
|
|
1010
1012
|
onError?: (error: any, validationResult: ValidationResult) => void;
|
|
1011
1013
|
/** Cover properties to display loading or processing message */
|
package/dist/index.d.ts
CHANGED
|
@@ -105,6 +105,8 @@ declare const TRANSITIONS: {
|
|
|
105
105
|
readonly SlideInTop: "SLIDE_FROM_TOP";
|
|
106
106
|
readonly SlideInRight: "SLIDE_FROM_RIGHT";
|
|
107
107
|
readonly SlideInBottom: "SLIDE_FROM_BOTTOM";
|
|
108
|
+
readonly SlideInTopScale: "SLIDE_FROM_BOTTOM_SCALE";
|
|
109
|
+
readonly SlideInBottomScale: "SLIDE_FROM_BOTTOM_SCALE";
|
|
108
110
|
readonly SlideInLeft: "SLIDE_FROM_LEFT";
|
|
109
111
|
};
|
|
110
112
|
declare const Status: {
|
|
@@ -1005,7 +1007,7 @@ type FormProps = Omit<BoxProps, `ref`> & {
|
|
|
1005
1007
|
/** Handler function called on form submission with validated form data */
|
|
1006
1008
|
onSubmit?: (data: FormData | dynamic, validationResult: ValidationResult) => void;
|
|
1007
1009
|
/** Callback triggered upon successful form submission */
|
|
1008
|
-
onSuccess?: (data: dynamic) => void;
|
|
1010
|
+
onSuccess?: (data: dynamic, payload?: dynamic) => void;
|
|
1009
1011
|
/** Callback triggered when form submission encounters an error */
|
|
1010
1012
|
onError?: (error: any, validationResult: ValidationResult) => void;
|
|
1011
1013
|
/** Cover properties to display loading or processing message */
|