@topconsultnpm/sdkui-react-beta 6.13.71 → 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",
@@ -237,11 +238,9 @@ export const OwnerInitialsBadge = (blogPost) => {
237
238
  export const IconAndHeaderElement = (blogPost, iconColor, isSelected, headerClickCallback, searchText) => {
238
239
  return _jsxs("span", { style: { marginLeft: "5px", cursor: blogPost.classID === 'WG' ? "pointer" : "default", display: "inline-flex", alignItems: "center" }, onClick: headerClickCallback, children: [_jsx(TMTooltip, { content: blogPost.classID === 'DS' ? SDKUI_Localizator.Practice : SDKUI_Localizator.WorkGroup, children: blogPost.classID === "DS" ? (_jsx(IconWorkspace, { color: iconColor })) : (_jsx(IconUserGroup, { color: iconColor })) }), _jsx("span", { style: {
239
240
  marginLeft: "5px",
240
- textDecoration: blogPost.classID === "WG" ? "underline" : "none",
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.71",
3
+ "version": "6.13.73",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",