@topconsultnpm/sdkui-react 6.19.0-dev2.1 → 6.19.0-test.1

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.
Files changed (122) hide show
  1. package/lib/assets/IconsS4t/add.svg +12 -12
  2. package/lib/assets/IconsS4t/aggiorna.svg +18 -18
  3. package/lib/assets/IconsS4t/bookmark.svg +42 -42
  4. package/lib/assets/IconsS4t/cancella.svg +15 -15
  5. package/lib/assets/IconsS4t/check-box.svg +19 -19
  6. package/lib/assets/IconsS4t/down-arrow-signBook.svg +40 -40
  7. package/lib/assets/IconsS4t/down.svg +28 -28
  8. package/lib/assets/IconsS4t/edit-file.svg +19 -19
  9. package/lib/assets/IconsS4t/edita.svg +32 -32
  10. package/lib/assets/IconsS4t/firma.svg +19 -19
  11. package/lib/assets/IconsS4t/icona_download.svg +16 -16
  12. package/lib/assets/IconsS4t/info.svg +51 -51
  13. package/lib/assets/IconsS4t/left.svg +20 -20
  14. package/lib/assets/IconsS4t/line.svg +40 -40
  15. package/lib/assets/IconsS4t/more.svg +19 -19
  16. package/lib/assets/IconsS4t/plus.svg +23 -23
  17. package/lib/assets/IconsS4t/printer.svg +49 -49
  18. package/lib/assets/IconsS4t/radio-on-button.svg +25 -25
  19. package/lib/assets/IconsS4t/rectangle.svg +41 -41
  20. package/lib/assets/IconsS4t/redo.svg +19 -19
  21. package/lib/assets/IconsS4t/right-arrow-signBook-finish.svg +40 -40
  22. package/lib/assets/IconsS4t/right-arrow-signBook.svg +40 -40
  23. package/lib/assets/IconsS4t/right.svg +22 -22
  24. package/lib/assets/IconsS4t/searchbar.svg +21 -21
  25. package/lib/assets/IconsS4t/text-box.svg +36 -36
  26. package/lib/assets/IconsS4t/tick.svg +8 -8
  27. package/lib/assets/IconsS4t/trash-white.svg +10 -10
  28. package/lib/assets/IconsS4t/undo.svg +19 -19
  29. package/lib/assets/IconsS4t/up.svg +32 -32
  30. package/lib/assets/IconsS4t/video-streaming.svg +2 -2
  31. package/lib/assets/IconsS4t/zoom-in.svg +58 -58
  32. package/lib/assets/IconsS4t/zoom-out.svg +56 -56
  33. package/lib/assets/icomoon.svg +96 -96
  34. package/lib/assets/italy.svg +16 -16
  35. package/lib/assets/six.svg +3 -3
  36. package/lib/assets/thumbnails/index.ts +39 -39
  37. package/lib/assets/topmedia-six.svg +65 -65
  38. package/lib/assets/topmeida-six-bianco.svg +65 -65
  39. package/lib/components/base/Styled.js +302 -302
  40. package/lib/components/base/TMAccordion.js +43 -43
  41. package/lib/components/base/TMAreaManager.js +23 -23
  42. package/lib/components/base/TMButton.js +130 -130
  43. package/lib/components/base/TMClosableList.js +46 -46
  44. package/lib/components/base/TMConfirm.js +20 -20
  45. package/lib/components/base/TMContextMenu.js +4 -4
  46. package/lib/components/base/TMContextMenuOLD.js +25 -25
  47. package/lib/components/base/TMCounterBar.js +32 -32
  48. package/lib/components/base/TMCounterContainer.js +30 -30
  49. package/lib/components/base/TMCustomButton.js +7 -7
  50. package/lib/components/base/TMDropDownMenu.js +24 -24
  51. package/lib/components/base/TMFileManagerUtils.js +19 -19
  52. package/lib/components/base/TMFloatingToolbar.js +34 -34
  53. package/lib/components/base/TMLayout.js +44 -44
  54. package/lib/components/base/TMList.js +34 -34
  55. package/lib/components/base/TMModal.js +31 -31
  56. package/lib/components/base/TMPanel.js +57 -57
  57. package/lib/components/base/TMPopUp.js +114 -114
  58. package/lib/components/base/TMProgressBar.js +20 -20
  59. package/lib/components/base/TMResizableMenu.js +28 -28
  60. package/lib/components/base/TMRightSidebar.js +40 -40
  61. package/lib/components/base/TMSpinner.js +121 -121
  62. package/lib/components/base/TMTab.js +11 -11
  63. package/lib/components/base/TMToggleButton.js +36 -36
  64. package/lib/components/base/TMToolbarCard.js +35 -35
  65. package/lib/components/base/TMTreeView.js +16 -16
  66. package/lib/components/base/TMUserAvatar.js +7 -7
  67. package/lib/components/base/TMWaitPanel.js +22 -22
  68. package/lib/components/choosers/TMCultureIDPicker.js +35 -35
  69. package/lib/components/choosers/TMDataListItemPicker.js +54 -54
  70. package/lib/components/editors/TMCheckBox.js +24 -24
  71. package/lib/components/editors/TMDropDown.js +43 -43
  72. package/lib/components/editors/TMEditorStyled.js +71 -71
  73. package/lib/components/editors/TMHtmlContentDisplay.js +16 -16
  74. package/lib/components/editors/TMLocalizedTextBox.js +31 -31
  75. package/lib/components/editors/TMMetadataValues.js +17 -17
  76. package/lib/components/editors/TMRadioButton.js +39 -39
  77. package/lib/components/editors/TMSummary.js +39 -39
  78. package/lib/components/editors/TMTextArea.js +12 -12
  79. package/lib/components/editors/TMTextBox.js +19 -19
  80. package/lib/components/features/assistant/ToppyHelpCenter.js +114 -114
  81. package/lib/components/features/blog/TMBlogCommentForm.js +3 -3
  82. package/lib/components/features/documents/TMDcmtIcon.js +8 -8
  83. package/lib/components/features/documents/TMDcmtPreview.js +30 -30
  84. package/lib/components/features/documents/TMFileUploader.js +21 -21
  85. package/lib/components/features/search/TMSavedQuerySelector.js +51 -51
  86. package/lib/components/features/search/TMSearchQueryEditor.js +13 -13
  87. package/lib/components/features/search/TMSearchQueryPanel.js +30 -30
  88. package/lib/components/features/search/TMSearchResult.js +3 -3
  89. package/lib/components/features/search/TMTreeSelector.js +66 -66
  90. package/lib/components/features/tasks/TMTaskForm.js +31 -31
  91. package/lib/components/features/wg/TMWGsCopyMoveForm.js +9 -9
  92. package/lib/components/features/workflow/TMWorkflowPopup.js +41 -41
  93. package/lib/components/features/workflow/diagram/ConnectionComponent.js +29 -29
  94. package/lib/components/features/workflow/diagram/ConnectionForm.js +10 -10
  95. package/lib/components/features/workflow/diagram/DiagramItemComponent.js +57 -57
  96. package/lib/components/features/workflow/diagram/DiagramItemForm.js +29 -29
  97. package/lib/components/features/workflow/diagram/DiagramItemSvgContent.js +12 -12
  98. package/lib/components/features/workflow/diagram/RecipientList.js +38 -38
  99. package/lib/components/features/workflow/diagram/WFDiagram.js +278 -278
  100. package/lib/components/features/workflow/diagram/WorkitemRecipientsEditor.js +4 -4
  101. package/lib/components/forms/Login/Chooser.js +35 -35
  102. package/lib/components/forms/Login/Menu.js +22 -22
  103. package/lib/components/forms/Login/SelectBox.js +46 -46
  104. package/lib/components/forms/Login/TMLoginForm.js +14 -14
  105. package/lib/components/forms/Login/TextBox.js +57 -57
  106. package/lib/components/grids/TMBlogsPostUtils.js +5 -5
  107. package/lib/components/grids/TMRecentsManager.js +50 -50
  108. package/lib/components/grids/TMValidationItemsList.js +48 -48
  109. package/lib/components/layout/panelManager/TMPanelManagerContainer.js +12 -12
  110. package/lib/components/layout/panelManager/TMPanelManagerToolbar.js +34 -34
  111. package/lib/components/query/TMQueryEditor.js +17 -17
  112. package/lib/components/query/TMQuerySummary.js +12 -12
  113. package/lib/components/sidebar/TMCommandsPanel.js +10 -10
  114. package/lib/components/sidebar/TMHeader.js +307 -307
  115. package/lib/components/sidebar/TMSidebar.js +24 -24
  116. package/lib/components/sidebar/TMSidebarItem.js +21 -21
  117. package/lib/components/wizard/TMStepIndicator.js +102 -102
  118. package/lib/components/wizard/TMWizard.js +29 -29
  119. package/lib/helper/TMIcons.js +1 -1
  120. package/lib/helper/TMToppyMessage.js +30 -30
  121. package/lib/helper/TMUtils.js +37 -37
  122. package/package.json +54 -54
@@ -278,339 +278,339 @@ export function IconHeaderNotifications(props) {
278
278
  export function IconHeaderSettings(props) {
279
279
  return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 48 48", width: "1em", height: "1em", ...props, children: _jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "1.5px", d: "M39.23 26a17 17 0 0 0 .14-2a17 17 0 0 0-.14-2l4.33-3.39a1 1 0 0 0 .25-1.31l-4.1-7.11a1 1 0 0 0-1.25-.44l-5.11 2.06a15.7 15.7 0 0 0-3.46-2l-.77-5.43a1 1 0 0 0-1-.86H19.9a1 1 0 0 0-1 .86l-.77 5.43a15.4 15.4 0 0 0-3.46 2L9.54 9.75a1 1 0 0 0-1.25.44l-4.1 7.11a1 1 0 0 0 .25 1.31L8.76 22a17 17 0 0 0-.14 2a17 17 0 0 0 .14 2l-4.32 3.39a1 1 0 0 0-.25 1.31l4.1 7.11a1 1 0 0 0 1.25.44l5.11-2.06a15.7 15.7 0 0 0 3.46 2l.77 5.43a1 1 0 0 0 1 .86h8.2a1 1 0 0 0 1-.86l.77-5.43a15.4 15.4 0 0 0 3.46-2l5.11 2.06a1 1 0 0 0 1.25-.44l4.1-7.11a1 1 0 0 0-.25-1.31ZM24 31.18A7.18 7.18 0 1 1 31.17 24A7.17 7.17 0 0 1 24 31.18" }) }));
280
280
  }
281
- const iconPulse = keyframes `
282
- 0% { transform: scale(1); box-shadow: 0 0 0 0 ${TMColors.primary}20; }
283
- 50% { transform: scale(1.05); box-shadow: 0 0 0 8px ${TMColors.primary}10; }
284
- 100% { transform: scale(1); box-shadow: 0 0 0 0 ${TMColors.primary}00; }
281
+ const iconPulse = keyframes `
282
+ 0% { transform: scale(1); box-shadow: 0 0 0 0 ${TMColors.primary}20; }
283
+ 50% { transform: scale(1.05); box-shadow: 0 0 0 8px ${TMColors.primary}10; }
284
+ 100% { transform: scale(1); box-shadow: 0 0 0 0 ${TMColors.primary}00; }
285
285
  `;
286
- const iconBounce = keyframes `
287
- 0%, 20%, 60%, 100% { transform: translateY(0); }
288
- 40% { transform: translateY(-3px); }
289
- 80% { transform: translateY(-1px); }
286
+ const iconBounce = keyframes `
287
+ 0%, 20%, 60%, 100% { transform: translateY(0); }
288
+ 40% { transform: translateY(-3px); }
289
+ 80% { transform: translateY(-1px); }
290
290
  `;
291
- const slideInFromLeft = keyframes `
292
- from { opacity: 0; transform: translateX(-20px); }
293
- to { opacity: 1; transform: translateX(0); }
291
+ const slideInFromLeft = keyframes `
292
+ from { opacity: 0; transform: translateX(-20px); }
293
+ to { opacity: 1; transform: translateX(0); }
294
294
  `;
295
- const fadeIn = keyframes `
296
- from { opacity: 0; }
297
- to { opacity: 1; }
295
+ const fadeIn = keyframes `
296
+ from { opacity: 0; }
297
+ to { opacity: 1; }
298
298
  `;
299
- const StyledLogo = styled.img `
300
- image-rendering: auto;
301
- shape-rendering: auto;
299
+ const StyledLogo = styled.img `
300
+ image-rendering: auto;
301
+ shape-rendering: auto;
302
302
  `;
303
- const StyledHeaderContainer = styled.div `
304
- position:fixed;
305
- width: 100%;
306
- height: 60px;
307
- background-color:transparent;
308
- opacity: 1;
309
- display: flex;
310
- flex-direction: row;
311
- width: 100%;
312
- justify-content: space-between;
313
- align-items: center;
314
- padding: 0px 10px;
303
+ const StyledHeaderContainer = styled.div `
304
+ position:fixed;
305
+ width: 100%;
306
+ height: 60px;
307
+ background-color:transparent;
308
+ opacity: 1;
309
+ display: flex;
310
+ flex-direction: row;
311
+ width: 100%;
312
+ justify-content: space-between;
313
+ align-items: center;
314
+ padding: 0px 10px;
315
315
  `;
316
- const StyledHeaderIcon = styled.div `
317
- position: relative;
318
- width: 40px;
319
- height: 40px;
320
- margin-left: 10px;
321
- display: flex;
322
- align-items: center;
323
- justify-content: center;
324
- color: ${TMColors.primary};
325
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
326
- cursor: pointer;
327
- border-radius: 50%;
328
-
329
- &:before {
330
- content: '';
331
- position: absolute;
332
- top: 50%;
333
- left: 50%;
334
- width: 35px;
335
- height: 35px;
336
- transform: translate(-50%, -50%);
337
- border-radius: 50%;
338
- background: ${TMColors.primary}20;
339
- opacity: 0;
340
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
341
- z-index: -1;
342
- }
343
-
344
- &:hover {
345
- color: ${TMColors.primary};
346
- transform: translateY(-2px);
347
- &:before {
348
- opacity: 1;
349
- }
350
- svg {
351
- animation: ${iconBounce} 0.6s ease-in-out;
352
- }
353
- }
354
-
355
- &:active {
356
- transform: translateY(0);
357
- color: ${TMColors.primary};
358
- &:before {
359
- opacity: 1;
360
- background: ${TMColors.primary}40;
361
- }
362
- }
363
-
364
- ${props => props.$isSelected && `
365
- &:before {
366
- opacity: 1;
367
- background: ${TMColors.primary}25;
368
- }
369
- `}
370
-
371
- &.has-notification {
372
- animation: ${iconPulse} 2s infinite;
373
- }
374
-
375
- &:focus {
376
- outline: none;
377
- }
378
-
379
- svg {
380
- transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
381
- filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
382
- }
316
+ const StyledHeaderIcon = styled.div `
317
+ position: relative;
318
+ width: 40px;
319
+ height: 40px;
320
+ margin-left: 10px;
321
+ display: flex;
322
+ align-items: center;
323
+ justify-content: center;
324
+ color: ${TMColors.primary};
325
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
326
+ cursor: pointer;
327
+ border-radius: 50%;
328
+
329
+ &:before {
330
+ content: '';
331
+ position: absolute;
332
+ top: 50%;
333
+ left: 50%;
334
+ width: 35px;
335
+ height: 35px;
336
+ transform: translate(-50%, -50%);
337
+ border-radius: 50%;
338
+ background: ${TMColors.primary}20;
339
+ opacity: 0;
340
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
341
+ z-index: -1;
342
+ }
343
+
344
+ &:hover {
345
+ color: ${TMColors.primary};
346
+ transform: translateY(-2px);
347
+ &:before {
348
+ opacity: 1;
349
+ }
350
+ svg {
351
+ animation: ${iconBounce} 0.6s ease-in-out;
352
+ }
353
+ }
354
+
355
+ &:active {
356
+ transform: translateY(0);
357
+ color: ${TMColors.primary};
358
+ &:before {
359
+ opacity: 1;
360
+ background: ${TMColors.primary}40;
361
+ }
362
+ }
363
+
364
+ ${props => props.$isSelected && `
365
+ &:before {
366
+ opacity: 1;
367
+ background: ${TMColors.primary}25;
368
+ }
369
+ `}
370
+
371
+ &.has-notification {
372
+ animation: ${iconPulse} 2s infinite;
373
+ }
374
+
375
+ &:focus {
376
+ outline: none;
377
+ }
378
+
379
+ svg {
380
+ transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
381
+ filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
382
+ }
383
383
  `;
384
384
  const StyledSearchBarContainer = styled.div ` position: relative; height:30px; width: 100%; max-width: ${props => props.$isMobile ? '65%' : '650px'}; margin-left: ${props => props.$isMobile ? '10px' : '50px'}; `;
385
385
  const StyledSearchBar = styled.input ` background: #FFFFFF 0% 0% no-repeat padding-box; border: 1px solid #dbdbdb; border-radius: 5px; padding: 5px 30px; width:100%; transition: 100ms linear; &:focus{ outline: none; border-bottom: 2px solid ${TMColors.primary}; } `;
386
386
  const StyledHeaderAppText = styled.h2 ` text-align: left; letter-spacing: 0px; color: ${TMColors.primary}; opacity: 1; `;
387
- const AppMenuButton = styled.div `
388
- width: 90px;
389
- height: 90px;
390
- display: flex;
391
- flex-direction: column;
392
- align-items: center;
393
- justify-content: center;
394
- background: white;
395
- color: #2459A4;
396
- font-size: 0.8rem;
397
- text-transform: uppercase;
398
- border-radius: 10px;
399
- margin: 8px 0;
400
- cursor: pointer;
401
- box-shadow: 0 2px 8px #2459a41a;
402
- user-select: none;
403
- gap: 5px;
404
- transition:
405
- transform 0.18s cubic-bezier(.4,0,.2,1),
406
- box-shadow 0.18s cubic-bezier(.4,0,.2,1);
407
- &:hover {
408
- transform: translateY(-2px) scale(1.06);
409
- box-shadow: 0 6px 18px #2459a433;
410
- }
387
+ const AppMenuButton = styled.div `
388
+ width: 90px;
389
+ height: 90px;
390
+ display: flex;
391
+ flex-direction: column;
392
+ align-items: center;
393
+ justify-content: center;
394
+ background: white;
395
+ color: #2459A4;
396
+ font-size: 0.8rem;
397
+ text-transform: uppercase;
398
+ border-radius: 10px;
399
+ margin: 8px 0;
400
+ cursor: pointer;
401
+ box-shadow: 0 2px 8px #2459a41a;
402
+ user-select: none;
403
+ gap: 5px;
404
+ transition:
405
+ transform 0.18s cubic-bezier(.4,0,.2,1),
406
+ box-shadow 0.18s cubic-bezier(.4,0,.2,1);
407
+ &:hover {
408
+ transform: translateY(-2px) scale(1.06);
409
+ box-shadow: 0 6px 18px #2459a433;
410
+ }
411
411
  `;
412
- const UserAvatarContainer = styled.div `
413
- position: relative;
414
- width: 40px;
415
- height: 40px;
416
- margin-left: 10px;
417
- display: flex;
418
- align-items: center;
419
- justify-content: center;
420
- cursor: pointer;
421
- border-radius: 50%;
422
- transition: all 0.2s ease;
423
- padding: 2px;
424
-
425
- ${props => props.$isSelected && `
426
- background: ${TMColors.primary}20;
427
- transform: scale(1.05);
428
- `}
429
-
430
- &:hover {
431
- background: ${TMColors.primary}15;
432
- transform: scale(1.05);
433
- }
412
+ const UserAvatarContainer = styled.div `
413
+ position: relative;
414
+ width: 40px;
415
+ height: 40px;
416
+ margin-left: 10px;
417
+ display: flex;
418
+ align-items: center;
419
+ justify-content: center;
420
+ cursor: pointer;
421
+ border-radius: 50%;
422
+ transition: all 0.2s ease;
423
+ padding: 2px;
424
+
425
+ ${props => props.$isSelected && `
426
+ background: ${TMColors.primary}20;
427
+ transform: scale(1.05);
428
+ `}
429
+
430
+ &:hover {
431
+ background: ${TMColors.primary}15;
432
+ transform: scale(1.05);
433
+ }
434
434
  `;
435
- const UserAvatar = styled.div `
436
- width: 32px;
437
- height: 32px;
438
- border-radius: 50%;
439
- background: ${props => props.$bgColor};
440
- color: white;
441
- display: flex;
442
- align-items: center;
443
- justify-content: center;
444
- font-size: 14px;
445
- font-weight: 600;
446
- letter-spacing: 0.5px;
447
- user-select: none;
448
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
435
+ const UserAvatar = styled.div `
436
+ width: 32px;
437
+ height: 32px;
438
+ border-radius: 50%;
439
+ background: ${props => props.$bgColor};
440
+ color: white;
441
+ display: flex;
442
+ align-items: center;
443
+ justify-content: center;
444
+ font-size: 14px;
445
+ font-weight: 600;
446
+ letter-spacing: 0.5px;
447
+ user-select: none;
448
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
449
449
  `;
450
- const UserAvatarLarge = styled(UserAvatar) `
451
- width: 48px;
452
- height: 48px;
453
- font-size: 18px;
454
- flex-shrink: 0;
450
+ const UserAvatarLarge = styled(UserAvatar) `
451
+ width: 48px;
452
+ height: 48px;
453
+ font-size: 18px;
454
+ flex-shrink: 0;
455
455
  `;
456
- const MenuContainer = styled.div `
457
- display: flex;
458
- flex-direction: column;
459
- padding: 0;
460
- background: white;
461
- border-radius: 8px;
462
- overflow: hidden;
463
- height: 100%;
464
- box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
456
+ const MenuContainer = styled.div `
457
+ display: flex;
458
+ flex-direction: column;
459
+ padding: 0;
460
+ background: white;
461
+ border-radius: 8px;
462
+ overflow: hidden;
463
+ height: 100%;
464
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
465
465
  `;
466
- const UserProfileSection = styled.div `
467
- display: flex;
468
- padding: 20px;
469
- background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
470
- border-bottom: 1px solid #e1e5e9;
471
- gap: 12px;
472
- opacity: 0;
473
- animation: ${fadeIn} 0.3s ease-out forwards;
474
- flex: 1;
466
+ const UserProfileSection = styled.div `
467
+ display: flex;
468
+ padding: 20px;
469
+ background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
470
+ border-bottom: 1px solid #e1e5e9;
471
+ gap: 12px;
472
+ opacity: 0;
473
+ animation: ${fadeIn} 0.3s ease-out forwards;
474
+ flex: 1;
475
475
  `;
476
- const UserProfileSectionWithUserName = styled.div `
477
- display: flex;
478
- align-items: center;
479
- gap: 12px;
476
+ const UserProfileSectionWithUserName = styled.div `
477
+ display: flex;
478
+ align-items: center;
479
+ gap: 12px;
480
480
  `;
481
- const UserInfo = styled.div `
482
- display: flex;
483
- flex-direction: column;
484
- gap: 2px;
485
- min-width: 0;
486
- flex: 1;
481
+ const UserInfo = styled.div `
482
+ display: flex;
483
+ flex-direction: column;
484
+ gap: 2px;
485
+ min-width: 0;
486
+ flex: 1;
487
487
  `;
488
- const UserName = styled.div `
489
- font-size: 16px;
490
- font-weight: 600;
491
- color: #242424;
492
- white-space: nowrap;
493
- overflow: hidden;
494
- text-overflow: ellipsis;
495
- line-height: 1.2;
488
+ const UserName = styled.div `
489
+ font-size: 16px;
490
+ font-weight: 600;
491
+ color: #242424;
492
+ white-space: nowrap;
493
+ overflow: hidden;
494
+ text-overflow: ellipsis;
495
+ line-height: 1.2;
496
496
  `;
497
- const SessionInfo = styled.div `
498
- font-size: 11px;
499
- color: #605e5c;
500
- font-weight: 400;
501
- line-height: 1;
502
- white-space: nowrap;
503
- overflow: hidden;
504
- text-overflow: ellipsis;
497
+ const SessionInfo = styled.div `
498
+ font-size: 11px;
499
+ color: #605e5c;
500
+ font-weight: 400;
501
+ line-height: 1;
502
+ white-space: nowrap;
503
+ overflow: hidden;
504
+ text-overflow: ellipsis;
505
505
  `;
506
- const CultureFlag = styled.img `
507
- width: 14px;
508
- height: 14px;
509
- object-fit: cover;
510
- flex-shrink: 0;
506
+ const CultureFlag = styled.img `
507
+ width: 14px;
508
+ height: 14px;
509
+ object-fit: cover;
510
+ flex-shrink: 0;
511
511
  `;
512
- const LogoutButton = styled.div `
513
- position: absolute;
514
- top: 20px;
515
- right: 20px;
516
- cursor: pointer;
517
- transition: all 0.2s ease;
518
- margin-left: auto;
519
- flex-shrink: 0;
520
-
521
- &:hover {
522
- transform: translateY(-1px);
523
- color: ${TMColors.primary};
524
- }
525
-
526
- &:active {
527
- transform: translateY(0);
528
- }
512
+ const LogoutButton = styled.div `
513
+ position: absolute;
514
+ top: 20px;
515
+ right: 20px;
516
+ cursor: pointer;
517
+ transition: all 0.2s ease;
518
+ margin-left: auto;
519
+ flex-shrink: 0;
520
+
521
+ &:hover {
522
+ transform: translateY(-1px);
523
+ color: ${TMColors.primary};
524
+ }
525
+
526
+ &:active {
527
+ transform: translateY(0);
528
+ }
529
529
  `;
530
- const LogoutText = styled.span `
531
- font-size: 13px;
532
- color: #605e5c;
533
- font-weight: 500;
534
- transition: color 0.2s ease;
535
- white-space: nowrap;
536
-
537
- &:hover {
538
- color: ${TMColors.primary};
539
- }
530
+ const LogoutText = styled.span `
531
+ font-size: 13px;
532
+ color: #605e5c;
533
+ font-weight: 500;
534
+ transition: color 0.2s ease;
535
+ white-space: nowrap;
536
+
537
+ &:hover {
538
+ color: ${TMColors.primary};
539
+ }
540
540
  `;
541
- const AvatarContainer = styled.div `
542
- position: relative;
543
- flex-shrink: 0;
541
+ const AvatarContainer = styled.div `
542
+ position: relative;
543
+ flex-shrink: 0;
544
544
  `;
545
- const CopyIcon = styled.div `
546
- position: absolute;
547
- bottom: 50px;
548
- right: 15px;
549
- width: 20px;
550
- height: 20px;
551
- background: white;
552
- border: 1px solid #e1e5e9;
553
- border-radius: 50%;
554
- display: flex;
555
- align-items: center;
556
- justify-content: center;
557
- cursor: pointer;
558
- color: #605e5c;
559
- transition: all 0.2s ease;
560
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
561
- z-index: 10;
562
- opacity: 0.6;
563
-
564
- &:hover {
565
- background: #b7b7b7;
566
- color: white;
567
- opacity: 1;
568
- }
569
-
570
- &:active {
571
- transform: scale(0.95);
572
- }
573
-
574
- svg {
575
- transition: all 0.2s ease;
576
- }
545
+ const CopyIcon = styled.div `
546
+ position: absolute;
547
+ bottom: 50px;
548
+ right: 15px;
549
+ width: 20px;
550
+ height: 20px;
551
+ background: white;
552
+ border: 1px solid #e1e5e9;
553
+ border-radius: 50%;
554
+ display: flex;
555
+ align-items: center;
556
+ justify-content: center;
557
+ cursor: pointer;
558
+ color: #605e5c;
559
+ transition: all 0.2s ease;
560
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
561
+ z-index: 10;
562
+ opacity: 0.6;
563
+
564
+ &:hover {
565
+ background: #b7b7b7;
566
+ color: white;
567
+ opacity: 1;
568
+ }
569
+
570
+ &:active {
571
+ transform: scale(0.95);
572
+ }
573
+
574
+ svg {
575
+ transition: all 0.2s ease;
576
+ }
577
577
  `;
578
- const BottomActionsContainer = styled.div `
579
- display: flex;
580
- justify-content: space-between;
581
- align-items: center;
582
- padding: 12px 20px;
583
- background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
584
- border-top: 1px solid #e1e5e9;
585
- gap: 20px;
578
+ const BottomActionsContainer = styled.div `
579
+ display: flex;
580
+ justify-content: space-between;
581
+ align-items: center;
582
+ padding: 12px 20px;
583
+ background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f4 100%);
584
+ border-top: 1px solid #e1e5e9;
585
+ gap: 20px;
586
586
  `;
587
- const BottomActionButton = styled.div `
588
- cursor: pointer;
589
- transition: all 0.2s ease;
590
-
591
- &:hover {
592
- transform: translateY(-1px);
593
- color: ${TMColors.primary};
594
- }
595
-
596
- &:active {
597
- transform: translateY(0);
598
- }
587
+ const BottomActionButton = styled.div `
588
+ cursor: pointer;
589
+ transition: all 0.2s ease;
590
+
591
+ &:hover {
592
+ transform: translateY(-1px);
593
+ color: ${TMColors.primary};
594
+ }
595
+
596
+ &:active {
597
+ transform: translateY(0);
598
+ }
599
599
  `;
600
- const BottomActionText = styled.span `
601
- font-size: 13px;
602
- color: #605e5c;
603
- font-weight: 500;
604
- transition: color 0.2s ease;
605
- white-space: nowrap;
606
-
607
- &:hover {
608
- color: ${TMColors.primary};
609
- }
600
+ const BottomActionText = styled.span `
601
+ font-size: 13px;
602
+ color: #605e5c;
603
+ font-weight: 500;
604
+ transition: color 0.2s ease;
605
+ white-space: nowrap;
606
+
607
+ &:hover {
608
+ color: ${TMColors.primary};
609
+ }
610
610
  `;
611
- const UserNameContainer = styled.div `
612
- display: flex;
613
- align-items: center;
614
- gap: 3px;
615
- min-width: 0;
611
+ const UserNameContainer = styled.div `
612
+ display: flex;
613
+ align-items: center;
614
+ gap: 3px;
615
+ min-width: 0;
616
616
  `;