@ehfuse/mui-form-controls 1.3.12 → 1.3.14

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/types.d.ts CHANGED
@@ -128,11 +128,11 @@ export type AutocompleteProps = Omit<MuiAutocompleteProps<AutocompleteOption, fa
128
128
  textFieldProps?: Omit<TextFieldProps, "label" | "value" | "onChange">;
129
129
  };
130
130
  export type LabelSelectOption = {
131
- value: string | number;
131
+ value: string | number | boolean;
132
132
  label: string;
133
133
  };
134
134
  export type SelectOption = {
135
- value: string | number;
135
+ value: string | number | boolean;
136
136
  label: string;
137
137
  };
138
138
  export type LabelSelectProps = Omit<MuiSelectProps, "value" | "onChange" | "defaultValue" | "form"> & BaseTextFieldProps & {
@@ -184,6 +184,8 @@ export type SearchTextFieldProps = TextFieldProps & BaseTextFieldProps & {
184
184
  clearIcon?: boolean;
185
185
  clearIconColor?: string;
186
186
  spellCheck?: boolean;
187
+ minLength?: number;
188
+ onSearch?: (value: string) => void;
187
189
  onClear?: () => void;
188
190
  };
189
191
  export type ClearTextFieldProps = TextFieldProps & BaseTextFieldProps & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ehfuse/mui-form-controls",
3
- "version": "1.3.12",
3
+ "version": "1.3.14",
4
4
  "description": "Material-UI form controls and text fields for complex forms",
5
5
  "private": false,
6
6
  "publishConfig": {