@delightui/components 0.1.113 → 0.1.115

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.
@@ -134,5 +134,5 @@ export type ListProps<T extends ListItemType> = Omit<HTMLAttributes<HTMLUListEle
134
134
  * @param data
135
135
  * @returns
136
136
  */
137
- updateSortOrder?: (data: T[]) => void;
137
+ updateSortOrder?: (data: T[], oldIndex: number, newIndex: number) => void;
138
138
  };
@@ -0,0 +1,2 @@
1
+ declare const AutosaveFormExample: () => import("react/jsx-runtime").JSX.Element;
2
+ export default AutosaveFormExample;
@@ -133,4 +133,6 @@ export type FormProviderProps<T extends FormState = FormState> = {
133
133
  formValidator?: FormValidator<T>;
134
134
  onSubmit?: FormSubmitHandler<T>;
135
135
  validateOnChange?: boolean;
136
+ autosave?: boolean;
137
+ autosaveDelayMs?: number;
136
138
  };