@topconsultnpm/sdkui-react 6.19.0-dev1.13 → 6.19.0-dev1.14

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.
@@ -228,14 +228,21 @@ const TMBlogCommentForm = (props) => {
228
228
  }, children: currentDraftAttachments.length > 0 ? (currentDraftAttachments.map(draft => {
229
229
  const tooltipContent = (_jsxs("div", { style: { textAlign: 'left' }, children: [_jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Name, ":"] }), " ", draft.name ?? '-'] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Author, ":"] }), " ", draft.updaterName ?? '-'] }), _jsx("hr", {}), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Version, ":"] }), " ", draft.version] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.Size, ":"] }), " ", formatBytes(draft.size ?? 0)] }), _jsx("hr", {}), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.CreationTime, ":"] }), " ", Globalization.getDateTimeDisplayValue(draft.creationTime)] }), _jsxs("div", { children: [_jsxs("span", { style: { fontWeight: 'bold' }, children: [SDKUI_Localizator.LastUpdateTime, ":"] }), " ", Globalization.getDateTimeDisplayValue(draft.lastUpdateTime)] })] }));
230
230
  return _jsxs("div", { style: {
231
+ backgroundColor: '#f09c0a',
232
+ color: '#fff',
233
+ borderRadius: '12px',
234
+ padding: '2px 8px',
235
+ boxShadow: '0 2px 5px rgba(0,0,0,0.15)',
236
+ userSelect: 'none',
237
+ whiteSpace: 'nowrap',
231
238
  display: 'inline-flex',
232
239
  alignItems: 'center',
233
- padding: '8px 12px',
234
- marginRight: '8px',
235
- border: '1px solid #ddd',
236
- borderRadius: '8px',
237
- backgroundColor: '#fff',
238
- boxShadow: '0 2px 4px rgba(0,0,0,0.1)',
240
+ justifyContent: 'center',
241
+ fontSize: '0.9rem',
242
+ minWidth: "50px",
243
+ maxWidth: "65px",
244
+ overflow: 'hidden',
245
+ textOverflow: 'ellipsis',
239
246
  }, children: [draft.ext ? (_jsx("span", { style: { marginRight: '10px' }, children: getFileIcon(draft.ext, undefined, tooltipContent) })) : (_jsx(IconAttachment, { style: { marginRight: '5px' } })), _jsx("span", { style: { marginRight: '8px' }, children: draft.name }), draft.version && _jsx("span", { style: {
240
247
  display: 'inline-flex',
241
248
  width: '20px',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react",
3
- "version": "6.19.0-dev1.13",
3
+ "version": "6.19.0-dev1.14",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",