@mystaline/mysta-lib 1.0.0-alpha.21 → 1.0.0-alpha.23

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.
@@ -94,10 +94,7 @@ export interface FormProps<T extends Record<string, any>> {
94
94
  */
95
95
  onError?: SubmitErrorHandler<T>;
96
96
 
97
- fieldWrapperClassName?: string;
98
- footerWrapperClassName?: string;
99
-
100
- pt?: FormPresetOptions;
97
+ pt?: FormPassThroughOptions;
101
98
  }
102
99
 
103
100
  export interface FormSlots {
@@ -117,11 +114,14 @@ export interface FormHandle<T extends Record<string, any>> {
117
114
  dirtyFields: Partial<Readonly<DeepMap<DeepPartial<T>, boolean>>>;
118
115
  }
119
116
 
117
+ export interface FormPassThroughOptions extends FormPresetOptions {
118
+ button?: ButtonPresetOptions;
119
+ }
120
+
120
121
  export interface FormPresetOptions {
121
122
  root?: PresetAttributes;
122
123
  wrapper?: PresetMethodAttributes<PresetOptions<'Form'>>;
123
124
  footer?: PresetAttributes;
124
- button?: ButtonPresetOptions;
125
125
  }
126
126
 
127
127
  export declare const Form: <T extends Record<string, any> = any>(