@topconsultnpm/sdkui-react-beta 6.13.69 → 6.13.71

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.
@@ -176,8 +176,7 @@ const TMBlogs = (props) => {
176
176
  if (blog === undefined)
177
177
  return;
178
178
  const { id, ownerName, creationTime, description } = blog;
179
- const cleanDescription = description ? description.replace(/<[^>]*>/g, ' ') : '';
180
- const formattedText = `${ownerName} (${Globalization.getDateTimeDisplayValue(creationTime)}):\n${cleanDescription}`;
179
+ const formattedText = `${ownerName} (${Globalization.getDateTimeDisplayValue(creationTime)}):\n${description}`;
181
180
  let result = [];
182
181
  window.navigator.clipboard.writeText(formattedText)
183
182
  .then(() => {
@@ -473,6 +472,7 @@ const TMBlogs = (props) => {
473
472
  const onContextMenu = (e) => {
474
473
  e.preventDefault();
475
474
  setAnchorEl(e.currentTarget);
475
+ handleFocusedBlog(blogPost);
476
476
  handleFocusedAttachment(undefined);
477
477
  };
478
478
  return (_jsxs(BlogPostContainer, { id: id + "-" + blogPost.id.toString(), ref: containerRef, "$color": textColor, "$textDecoration": blogPost.isDel ? 'line-through' : 'none', "$backgroundColor": bgColor, "$isNew": Boolean(blogPost.newPosts ?? 0) || isNew, "$canNavigate": canNavigate(), onClick: onClickCallback, onDoubleClick: headerClickCallback, tabIndex: 0, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, onContextMenu: onContextMenu, children: [_jsxs("div", { style: { display: "flex", alignItems: "center" }, children: [OwnerInitialsBadge(blogPost), _jsx("div", { style: { flex: "1 1 auto", minWidth: "0" }, children: _jsxs("div", { style: { display: 'flex', justifyContent: 'space-between', alignItems: 'center', flexWrap: "wrap", overflow: "hidden" }, children: [_jsxs("div", { children: [_jsxs("div", { style: { fontWeight: "bold", fontSize: '1rem', display: "flex", alignItems: "center" }, children: [(showIconHeader && (blogPost.header && blogPost.classID))
@@ -37,6 +37,12 @@ export const BlogPostContainer = styled.div `
37
37
  word-wrap: break-word;
38
38
  white-space: pre-wrap;
39
39
  font-weight: ${(props) => (props.$isNew ? 'bold' : 'normal')};
40
+ &:hover {
41
+ box-shadow: 0 4px 12px rgba(19, 85, 150, 0.6);
42
+ transition:
43
+ box-shadow 0.3s ease,
44
+ transform 0.3s ease;
45
+ };
40
46
  &:focus {
41
47
  outline: none;
42
48
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.13.69",
3
+ "version": "6.13.71",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",