dhx-react-suite 1.1.0 → 1.1.2

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.d.ts CHANGED
@@ -181,7 +181,7 @@ declare interface FormFieldOption {
181
181
  export declare interface FormProps {
182
182
  config?: FormConfig;
183
183
  defaultValues?: Record<string, unknown>;
184
- onSubmit?: (values: Record<string, unknown>) => void;
184
+ onSubmit?: (values: Record<string, unknown>) => void | Promise<void>;
185
185
  style?: React.CSSProperties;
186
186
  }
187
187
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dhx-react-suite",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "TypeScript ui-components",
5
5
  "type": "module",
6
6
  "main": "./dist/dhx-react-suite.umd.cjs",