fui-material 2.6.7 → 2.6.9
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 +33 -5
- package/dist/f-ui-kit.es.js.map +1 -1
- package/dist/f-ui-kit.umd.js +2 -2
- package/dist/f-ui-kit.umd.js.map +1 -1
- package/dist/types/icons/FUploadIcon/FUploadIcon.d.ts +66 -0
- package/dist/types/icons/FUploadIcon/index.d.ts +1 -0
- package/dist/types/icons/index.d.ts +1 -0
- package/dist/types/material/FSearchableSelect/FSearchableSelect.d.ts +106 -0
- package/package.json +1 -1
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -3479,7 +3479,7 @@ const FSearchableSelect = forwardRef(
|
|
|
3479
3479
|
setIsTyping(true);
|
|
3480
3480
|
const timeoutId = setTimeout(() => {
|
|
3481
3481
|
setIsTyping(false);
|
|
3482
|
-
},
|
|
3482
|
+
}, 1e3);
|
|
3483
3483
|
return () => clearTimeout(timeoutId);
|
|
3484
3484
|
}, [searchQuery, isOpen]);
|
|
3485
3485
|
const deferredQuery = useDeferredValue(searchQuery);
|
|
@@ -3647,10 +3647,7 @@ const FSearchableSelect = forwardRef(
|
|
|
3647
3647
|
/* @__PURE__ */ jsx("div", { className: `${styles$6["f-select-icon"]} ${isOpen ? styles$6["rotate"] : ""}`, children: /* @__PURE__ */ jsx(ChevronIcon, {}) })
|
|
3648
3648
|
] })
|
|
3649
3649
|
] }),
|
|
3650
|
-
isOpen && !disabled2 && !load && /* @__PURE__ */ jsx("div", { className: styles$6["f-select-dropdown"], children: /* @__PURE__ */ jsx("ul", { ref: listRef, className: styles$6["f-select-list"], children: isTyping ? (
|
|
3651
|
-
// НОВОЕ: Отображение статуса ввода
|
|
3652
|
-
/* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: "Ожидается окончание ввода..." })
|
|
3653
|
-
) : renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
|
|
3650
|
+
isOpen && !disabled2 && !load && /* @__PURE__ */ jsx("div", { className: styles$6["f-select-dropdown"], children: /* @__PURE__ */ jsx("ul", { ref: listRef, className: styles$6["f-select-list"], children: isTyping ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: "Ожидается окончание ввода..." }) : renderList.length === 0 ? /* @__PURE__ */ jsx("li", { className: styles$6["f-select-no-results"], children: allowCreate ? "Нет данных" : "Совпадений не найдено" }) : renderList.map((option, index) => /* @__PURE__ */ jsx(
|
|
3654
3651
|
"li",
|
|
3655
3652
|
{
|
|
3656
3653
|
className: `
|
|
@@ -3856,6 +3853,36 @@ const FPenIcon = React.forwardRef(({
|
|
|
3856
3853
|
);
|
|
3857
3854
|
});
|
|
3858
3855
|
FPenIcon.displayName = "FPenIcon";
|
|
3856
|
+
const FUploadIcon = React.forwardRef(({
|
|
3857
|
+
color = "primary",
|
|
3858
|
+
size = 30,
|
|
3859
|
+
st,
|
|
3860
|
+
id,
|
|
3861
|
+
className,
|
|
3862
|
+
handleClick,
|
|
3863
|
+
["data-testid"]: dataTestId,
|
|
3864
|
+
...props
|
|
3865
|
+
}, ref) => {
|
|
3866
|
+
return /* @__PURE__ */ jsxs(
|
|
3867
|
+
"svg",
|
|
3868
|
+
{
|
|
3869
|
+
ref,
|
|
3870
|
+
style: st,
|
|
3871
|
+
id,
|
|
3872
|
+
width: size,
|
|
3873
|
+
onClick: handleClick,
|
|
3874
|
+
className: `f-icon ${handleClick ? " clicking-icon" : ""} ${color} ${className || ""}`,
|
|
3875
|
+
viewBox: "0 0 16 16",
|
|
3876
|
+
"data-testid": dataTestId,
|
|
3877
|
+
...props,
|
|
3878
|
+
children: [
|
|
3879
|
+
/* @__PURE__ */ jsx("path", { d: "M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5" }),
|
|
3880
|
+
/* @__PURE__ */ jsx("path", { d: "M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708z" })
|
|
3881
|
+
]
|
|
3882
|
+
}
|
|
3883
|
+
);
|
|
3884
|
+
});
|
|
3885
|
+
FUploadIcon.displayName = "FUploadIcon";
|
|
3859
3886
|
const FDownloadIcon = React.forwardRef(({
|
|
3860
3887
|
color = "primary",
|
|
3861
3888
|
size = 30,
|
|
@@ -8068,6 +8095,7 @@ export {
|
|
|
8068
8095
|
FTooltip,
|
|
8069
8096
|
FTrashIcon,
|
|
8070
8097
|
FUnlinkIcon,
|
|
8098
|
+
FUploadIcon,
|
|
8071
8099
|
FWaterErrorBoundaryPage,
|
|
8072
8100
|
fAlert,
|
|
8073
8101
|
fBankRound,
|