fui-material 2.2.5 → 2.2.6
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/f-ui-kit.es.js
CHANGED
|
@@ -2928,20 +2928,21 @@ const FFullDateField = forwardRef(
|
|
|
2928
2928
|
);
|
|
2929
2929
|
}
|
|
2930
2930
|
);
|
|
2931
|
-
const active$2 = "
|
|
2931
|
+
const active$2 = "_active_yhck3_41";
|
|
2932
2932
|
const styles$e = {
|
|
2933
|
-
"f-select-search-db": "_f-select-search-
|
|
2934
|
-
"f-select-search-db__input": "_f-select-search-
|
|
2935
|
-
"f-select-search-db__input_field": "_f-select-search-
|
|
2936
|
-
"f-select-search-db__input_arrow": "_f-select-search-
|
|
2937
|
-
"f-select-search-db__dropdown": "_f-select-search-
|
|
2933
|
+
"f-select-search-db": "_f-select-search-db_yhck3_1",
|
|
2934
|
+
"f-select-search-db__input": "_f-select-search-db__input_yhck3_7",
|
|
2935
|
+
"f-select-search-db__input_field": "_f-select-search-db__input_field_yhck3_11",
|
|
2936
|
+
"f-select-search-db__input_arrow": "_f-select-search-db__input_arrow_yhck3_14",
|
|
2937
|
+
"f-select-search-db__dropdown": "_f-select-search-db__dropdown_yhck3_21",
|
|
2938
2938
|
active: active$2,
|
|
2939
|
-
"f-select-search-db__dropdown_content": "_f-select-search-
|
|
2939
|
+
"f-select-search-db__dropdown_content": "_f-select-search-db__dropdown_content_yhck3_45"
|
|
2940
2940
|
};
|
|
2941
2941
|
const FSelectSearchDb = ({
|
|
2942
2942
|
fetchingFunc,
|
|
2943
2943
|
selectedElement,
|
|
2944
2944
|
selectItem,
|
|
2945
|
+
onChange,
|
|
2945
2946
|
st: st2,
|
|
2946
2947
|
id,
|
|
2947
2948
|
className,
|
|
@@ -2973,8 +2974,9 @@ const FSelectSearchDb = ({
|
|
|
2973
2974
|
dropdownPortalRef.current = document.createElement("div");
|
|
2974
2975
|
document.body.appendChild(dropdownPortalRef.current);
|
|
2975
2976
|
return () => {
|
|
2976
|
-
|
|
2977
|
-
|
|
2977
|
+
const portalElement = dropdownPortalRef.current;
|
|
2978
|
+
if (portalElement && portalElement.parentNode === document.body) {
|
|
2979
|
+
document.body.removeChild(portalElement);
|
|
2978
2980
|
}
|
|
2979
2981
|
};
|
|
2980
2982
|
}, []);
|
|
@@ -3022,6 +3024,7 @@ const FSelectSearchDb = ({
|
|
|
3022
3024
|
}, [isDropdownOpen]);
|
|
3023
3025
|
const handlerOnChange = (e) => {
|
|
3024
3026
|
const text = e.target.value;
|
|
3027
|
+
onChange(e);
|
|
3025
3028
|
setValueInput(text);
|
|
3026
3029
|
setIsDropdownOpen(false);
|
|
3027
3030
|
setTextInput(true);
|
|
@@ -3756,6 +3759,7 @@ const FSearchBox = forwardRef(
|
|
|
3756
3759
|
{
|
|
3757
3760
|
className: `${styles$a["f-search-box__button_clear"]}`,
|
|
3758
3761
|
type: "button",
|
|
3762
|
+
disabled: disabled2,
|
|
3759
3763
|
onClick: clearDataFromInput,
|
|
3760
3764
|
color: "danger",
|
|
3761
3765
|
variant,
|