@topconsultnpm/sdkui-react-beta 6.13.72 → 6.13.73

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.
@@ -4,6 +4,7 @@ import { SDK_Globals } from "@topconsultnpm/sdk-ts-beta";
4
4
  import { formatBytes, getFileIcon, IconAttachment, IconUserGroup, IconWorkspace, SDKUI_Localizator } from "../../helper";
5
5
  import TMTooltip from "../base/TMTooltip";
6
6
  import { DownloadTypes } from '../../ts';
7
+ import { TMColors } from '../../utils/theme';
7
8
  export const DRAFT_TYPE_TID = 6;
8
9
  export const colors = {
9
10
  DARK_BLUE: "#1a0dab",
@@ -239,9 +240,7 @@ export const IconAndHeaderElement = (blogPost, iconColor, isSelected, headerClic
239
240
  marginLeft: "5px",
240
241
  // textDecoration: (blogPost as HomeBlogPost).classID === "WG" ? "underline" : "none",
241
242
  cursor: blogPost.classID === "WG" ? "pointer" : "default",
242
- color: isSelected
243
- ? "#fff"
244
- : (blogPost.classID === "WG" ? colors.DARK_BLUE : colors.BLACK),
243
+ color: isSelected ? "#fff" : TMColors.primary,
245
244
  display: "inline-block" // Ensure both elements are in a row
246
245
  }, onClick: headerClickCallback, children: highlightText(blogPost.header ?? '', searchText, isSelected) })] });
247
246
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.13.72",
3
+ "version": "6.13.73",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",