fui-material 2.7.7 → 2.7.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.
- package/dist/f-ui-kit.es.js +16 -13
- 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/index.css +1 -1
- package/package.json +1 -1
package/dist/f-ui-kit.es.js
CHANGED
|
@@ -3125,16 +3125,16 @@ const FNavigateBarItem = ({
|
|
|
3125
3125
|
}
|
|
3126
3126
|
);
|
|
3127
3127
|
};
|
|
3128
|
-
const reportsPageContainer = "
|
|
3129
|
-
const searchBar = "
|
|
3130
|
-
const reportsGrid = "
|
|
3131
|
-
const card$1 = "
|
|
3132
|
-
const cardHeader = "
|
|
3133
|
-
const countBadge = "
|
|
3134
|
-
const linksList = "
|
|
3135
|
-
const linkItem = "
|
|
3136
|
-
const badge = "
|
|
3137
|
-
const disabled = "
|
|
3128
|
+
const reportsPageContainer = "_reportsPageContainer_1pif5_3";
|
|
3129
|
+
const searchBar = "_searchBar_1pif5_11";
|
|
3130
|
+
const reportsGrid = "_reportsGrid_1pif5_47";
|
|
3131
|
+
const card$1 = "_card_1pif5_55";
|
|
3132
|
+
const cardHeader = "_cardHeader_1pif5_94";
|
|
3133
|
+
const countBadge = "_countBadge_1pif5_111";
|
|
3134
|
+
const linksList = "_linksList_1pif5_121";
|
|
3135
|
+
const linkItem = "_linkItem_1pif5_128";
|
|
3136
|
+
const badge = "_badge_1pif5_169";
|
|
3137
|
+
const disabled = "_disabled_1pif5_194";
|
|
3138
3138
|
const styles$8 = {
|
|
3139
3139
|
reportsPageContainer,
|
|
3140
3140
|
searchBar,
|
|
@@ -3156,7 +3156,10 @@ const FMenuBlockLinks = ({
|
|
|
3156
3156
|
withSearch = false
|
|
3157
3157
|
}) => {
|
|
3158
3158
|
const [searchValue, setSearchValue] = useState("");
|
|
3159
|
-
const
|
|
3159
|
+
const layoutStyle = {
|
|
3160
|
+
...columns ? { "--cols": columns } : {},
|
|
3161
|
+
...st
|
|
3162
|
+
};
|
|
3160
3163
|
const enhancedChildren = Children.map(children, (child) => {
|
|
3161
3164
|
if (isValidElement(child)) {
|
|
3162
3165
|
return cloneElement(child, {
|
|
@@ -3170,12 +3173,12 @@ const FMenuBlockLinks = ({
|
|
|
3170
3173
|
"input",
|
|
3171
3174
|
{
|
|
3172
3175
|
type: "text",
|
|
3173
|
-
placeholder: "Быстрый поиск",
|
|
3176
|
+
placeholder: "Быстрый поиск отчета",
|
|
3174
3177
|
value: searchValue,
|
|
3175
3178
|
onChange: (e) => setSearchValue(e.target.value)
|
|
3176
3179
|
}
|
|
3177
3180
|
) }),
|
|
3178
|
-
/* @__PURE__ */ jsx("div", { className: styles$8.reportsGrid, style:
|
|
3181
|
+
/* @__PURE__ */ jsx("div", { className: styles$8.reportsGrid, style: layoutStyle, children: enhancedChildren })
|
|
3179
3182
|
] });
|
|
3180
3183
|
};
|
|
3181
3184
|
const getElementText = (node) => {
|