fui-material 2.2.5 → 2.2.8

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.
@@ -15,6 +15,11 @@ export interface IFSelectSearchDb<T> {
15
15
  * Функция, возвращающая строковое представление элемента (для отображения).
16
16
  */
17
17
  selectItem: (item: T) => string;
18
+ /**
19
+ * Callback, вызываемый при вводе данных в поле ввода.
20
+ * @param {File[] | null} file - Массив выбранных файлов или `null`, если файлы удалены.
21
+ */
22
+ onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
18
23
  /**
19
24
  * Текст метки поля ввода.
20
25
  */
@@ -135,5 +140,5 @@ export interface IFSelectSearchDb<T> {
135
140
  *
136
141
  * @returns {JSX.Element} — Рендерит поле ввода с выпадающим списком результатов поиска.
137
142
  */
138
- declare const FSelectSearchDb: <T>({ fetchingFunc, selectedElement, selectItem, st, id, className, disabled, readOnly, fullWidth, label, onBlur, onFocus, errText, helpText, required, defaultValue, type, placeholder, }: IFSelectSearchDb<T>) => import("react/jsx-runtime").JSX.Element;
143
+ declare const FSelectSearchDb: <T>({ fetchingFunc, selectedElement, selectItem, onChange, st, id, className, disabled, readOnly, fullWidth, label, onBlur, onFocus, errText, helpText, required, defaultValue, type, placeholder, }: IFSelectSearchDb<T>) => import("react/jsx-runtime").JSX.Element;
139
144
  export default FSelectSearchDb;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fui-material",
3
- "version": "2.2.5",
3
+ "version": "2.2.8",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",