+
{renderFields(col.fields)}
));
diff --git a/web/libs/datamanager/src/components/Common/Icon/Icon.jsx b/web/libs/datamanager/src/components/Common/Icon/Icon.jsx
index 28e599454201..f7123f2aafe8 100644
--- a/web/libs/datamanager/src/components/Common/Icon/Icon.jsx
+++ b/web/libs/datamanager/src/components/Common/Icon/Icon.jsx
@@ -1,11 +1,11 @@
import React from "react";
-import { Block } from "../../../utils/bem";
+import { cn } from "../../../utils/bem";
import "./Icon.scss";
export const Icon = React.forwardRef(({ icon, ...props }, ref) => {
return (
-
+
{React.createElement(icon, props)}
-
+
);
});
diff --git a/web/libs/datamanager/src/components/Common/Menu/Menu.jsx b/web/libs/datamanager/src/components/Common/Menu/Menu.jsx
index eaca6b3991fa..2e7daa478017 100644
--- a/web/libs/datamanager/src/components/Common/Menu/Menu.jsx
+++ b/web/libs/datamanager/src/components/Common/Menu/Menu.jsx
@@ -1,10 +1,13 @@
import React, { useCallback, useMemo } from "react";
-import { Block, cn } from "../../../utils/bem";
+import clsx from "clsx";
+import { cn } from "../../../utils/bem";
import { useDropdown } from "../Dropdown/DropdownTrigger";
import "./Menu.scss";
import { MenuContext } from "./MenuContext";
import { MenuItem } from "./MenuItem";
+const menuCN = cn("menu-dm");
+
export const Menu = React.forwardRef(
({ children, className, style, size, selectedKeys, closeDropdownOnItemClick }, ref) => {
const dropdown = useDropdown();
@@ -15,7 +18,7 @@ export const Menu = React.forwardRef(
const clickHandler = useCallback(
(e) => {
- const elem = cn("menu-dm").elem("item").closest(e.target);
+ const elem = menuCN.elem("item").closest(e.target);
if (dropdown && elem && closeDropdownOnItemClick !== false) {
dropdown.close();
@@ -30,17 +33,14 @@ export const Menu = React.forwardRef(
return (
-
{children}
-
+
);
},
diff --git a/web/libs/datamanager/src/components/Common/Table/Table.jsx b/web/libs/datamanager/src/components/Common/Table/Table.jsx
index 1e51f19f1cf6..4a0a62cd186b 100644
--- a/web/libs/datamanager/src/components/Common/Table/Table.jsx
+++ b/web/libs/datamanager/src/components/Common/Table/Table.jsx
@@ -13,11 +13,11 @@ import { modal } from "../Modal/Modal";
import { Tooltip } from "../Tooltip/Tooltip";
import "./Table.scss";
import { TableCheckboxCell } from "./TableCheckbox";
-import { TableBlock, TableContext, TableElem } from "./TableContext";
+import { tableCN, TableContext } from "./TableContext";
import { TableHead } from "./TableHead/TableHead";
import { TableRow } from "./TableRow/TableRow";
import { prepareColumns } from "./utils";
-import { Block } from "../../../utils/bem";
+import { cn } from "../../../utils/bem";
import { FieldsButton } from "../FieldsButton";
import { LsGear, LsGearNewUI } from "../../../assets/icons";
import { FF_DEV_3873, FF_LOPS_E_10, FF_LOPS_E_3, isFF } from "../../../utils/feature-flags";
@@ -285,18 +285,19 @@ export const Table = observer(
tableWrapper.current?.firstChild?.firstChild.offsetWidth -
tableWrapper.current?.firstChild?.firstChild?.firstChild.offsetWidth || 0;
+ const columnsSelectorCN = cn("columns__selector");
return (
<>
{view.root.isLabeling && (
-
{isFF(FF_DEV_3873) ? (
}
style={{ padding: "0" }}
@@ -316,9 +317,9 @@ export const Table = observer(
}}
/>
)}
-
+
)}
-